7
7
/* istanbul ignore file */
8
8
/* tslint:disable */
9
9
/* eslint-disable */
10
- import type { CategoryOclVo } from '../models/CategoryOclVo' ;
11
10
import type { Link } from '../models/Link' ;
12
11
import type { UserAvailableServiceVo } from '../models/UserAvailableServiceVo' ;
13
12
@@ -17,7 +16,7 @@ import { request as __request } from '../core/request';
17
16
18
17
export class ServiceCatalogService {
19
18
/**
20
- * Returns the list of all registered services that are available for user to order.<br>Required role:<b> admin</b> or <b>user</b>
19
+ * List of all registered services which are available for user to order.<br>Required role:<b> admin</b> or <b>user</b>
21
20
* @param categoryName category of the service
22
21
* @param cspName name of the cloud service provider
23
22
* @param serviceName name of the service
@@ -43,7 +42,7 @@ export class ServiceCatalogService {
43
42
) : CancelablePromise < Array < UserAvailableServiceVo > > {
44
43
return __request ( OpenAPI , {
45
44
method : 'GET' ,
46
- url : '/xpanse/services/available ' ,
45
+ url : '/xpanse/catalog/services ' ,
47
46
query : {
48
47
categoryName : categoryName ,
49
48
cspName : cspName ,
@@ -69,7 +68,7 @@ export class ServiceCatalogService {
69
68
public static availableServiceDetails ( id : string ) : CancelablePromise < UserAvailableServiceVo > {
70
69
return __request ( OpenAPI , {
71
70
method : 'GET' ,
72
- url : '/xpanse/services/available /{id}' ,
71
+ url : '/xpanse/catalog/services /{id}' ,
73
72
path : {
74
73
id : id ,
75
74
} ,
@@ -92,7 +91,7 @@ export class ServiceCatalogService {
92
91
public static openApi ( id : string ) : CancelablePromise < Link > {
93
92
return __request ( OpenAPI , {
94
93
method : 'GET' ,
95
- url : '/xpanse/services/available /{id}/openapi' ,
94
+ url : '/xpanse/catalog/services /{id}/openapi' ,
96
95
path : {
97
96
id : id ,
98
97
} ,
@@ -105,39 +104,4 @@ export class ServiceCatalogService {
105
104
} ,
106
105
} ) ;
107
106
}
108
-
109
- /**
110
- * Get the available services by tree.<br>Required role:<b> admin</b> or <b>isv</b> or <b>user</b>
111
- * @param categoryName category of the service
112
- * @returns CategoryOclVo OK
113
- * @throws ApiError
114
- */
115
- public static getAvailableServicesTree (
116
- categoryName :
117
- | 'ai'
118
- | 'compute'
119
- | 'container'
120
- | 'storage'
121
- | 'network'
122
- | 'database'
123
- | 'mediaService'
124
- | 'security'
125
- | 'middleware'
126
- | 'others'
127
- ) : CancelablePromise < Array < CategoryOclVo > > {
128
- return __request ( OpenAPI , {
129
- method : 'GET' ,
130
- url : '/xpanse/services/available/category/{categoryName}' ,
131
- path : {
132
- categoryName : categoryName ,
133
- } ,
134
- errors : {
135
- 400 : `Bad Request` ,
136
- 403 : `Forbidden` ,
137
- 422 : `Unprocessable Entity` ,
138
- 500 : `Internal Server Error` ,
139
- 502 : `Bad Gateway` ,
140
- } ,
141
- } ) ;
142
- }
143
107
}
0 commit comments