@teemill/schema 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +129 -92
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +118 -81
- package/dist/api.js +56 -56
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +118 -81
- package/dist/esm/api.js +51 -51
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.2.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,83 +16,120 @@ import { BaseAPI } from './base';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface Api
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface Api {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof Api
|
|
26
26
|
*/
|
|
27
|
-
'
|
|
27
|
+
'id': string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof Api
|
|
32
32
|
*/
|
|
33
|
-
'
|
|
33
|
+
'name': string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Api
|
|
38
|
+
*/
|
|
39
|
+
'description': string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Api
|
|
44
|
+
*/
|
|
45
|
+
'version': string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof Api
|
|
50
|
+
*/
|
|
51
|
+
'updatedAt': string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<ApiEndpointsInner>}
|
|
55
|
+
* @memberof Api
|
|
56
|
+
*/
|
|
57
|
+
'endpoints': Array<ApiEndpointsInner>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {object}
|
|
61
|
+
* @memberof Api
|
|
62
|
+
*/
|
|
63
|
+
'schema'?: object;
|
|
34
64
|
}
|
|
35
65
|
/**
|
|
36
66
|
*
|
|
37
67
|
* @export
|
|
38
|
-
* @interface
|
|
68
|
+
* @interface ApiEndpointsInner
|
|
39
69
|
*/
|
|
40
|
-
export interface
|
|
70
|
+
export interface ApiEndpointsInner {
|
|
41
71
|
/**
|
|
42
72
|
*
|
|
43
73
|
* @type {string}
|
|
44
|
-
* @memberof
|
|
74
|
+
* @memberof ApiEndpointsInner
|
|
45
75
|
*/
|
|
46
|
-
'
|
|
76
|
+
'name': string;
|
|
47
77
|
/**
|
|
48
78
|
*
|
|
49
79
|
* @type {string}
|
|
50
|
-
* @memberof
|
|
80
|
+
* @memberof ApiEndpointsInner
|
|
51
81
|
*/
|
|
52
|
-
'
|
|
82
|
+
'method': string;
|
|
53
83
|
/**
|
|
54
84
|
*
|
|
55
85
|
* @type {string}
|
|
56
|
-
* @memberof
|
|
86
|
+
* @memberof ApiEndpointsInner
|
|
57
87
|
*/
|
|
58
|
-
'
|
|
88
|
+
'path': string;
|
|
59
89
|
/**
|
|
60
90
|
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof
|
|
91
|
+
* @type {Array<string>}
|
|
92
|
+
* @memberof ApiEndpointsInner
|
|
63
93
|
*/
|
|
64
|
-
'
|
|
94
|
+
'tags': Array<string>;
|
|
65
95
|
/**
|
|
66
96
|
*
|
|
67
|
-
* @type {
|
|
68
|
-
* @memberof
|
|
97
|
+
* @type {boolean}
|
|
98
|
+
* @memberof ApiEndpointsInner
|
|
69
99
|
*/
|
|
70
|
-
'
|
|
100
|
+
'internal': boolean;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @export
|
|
105
|
+
* @interface ApiError
|
|
106
|
+
*/
|
|
107
|
+
export interface ApiError {
|
|
71
108
|
/**
|
|
72
109
|
*
|
|
73
|
-
* @type {
|
|
74
|
-
* @memberof
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof ApiError
|
|
75
112
|
*/
|
|
76
|
-
'
|
|
113
|
+
'code'?: string;
|
|
77
114
|
/**
|
|
78
115
|
*
|
|
79
|
-
* @type {
|
|
80
|
-
* @memberof
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof ApiError
|
|
81
118
|
*/
|
|
82
|
-
'
|
|
119
|
+
'message': string;
|
|
83
120
|
}
|
|
84
121
|
/**
|
|
85
122
|
*
|
|
86
123
|
* @export
|
|
87
|
-
* @interface
|
|
124
|
+
* @interface Apis
|
|
88
125
|
*/
|
|
89
|
-
export interface
|
|
126
|
+
export interface Apis {
|
|
90
127
|
/**
|
|
91
128
|
*
|
|
92
|
-
* @type {Array<
|
|
93
|
-
* @memberof
|
|
129
|
+
* @type {Array<Api>}
|
|
130
|
+
* @memberof Apis
|
|
94
131
|
*/
|
|
95
|
-
'
|
|
132
|
+
'apis'?: Array<Api>;
|
|
96
133
|
}
|
|
97
134
|
/**
|
|
98
135
|
*
|
|
@@ -116,136 +153,136 @@ export interface ValidationError {
|
|
|
116
153
|
};
|
|
117
154
|
}
|
|
118
155
|
/**
|
|
119
|
-
*
|
|
156
|
+
* ApisApi - axios parameter creator
|
|
120
157
|
* @export
|
|
121
158
|
*/
|
|
122
|
-
export declare const
|
|
159
|
+
export declare const ApisApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
123
160
|
/**
|
|
124
|
-
* Get an API
|
|
125
|
-
* @summary Get
|
|
161
|
+
* Get an API
|
|
162
|
+
* @summary Get api
|
|
126
163
|
* @param {string} api API name
|
|
127
164
|
* @param {string} [project] Project unique identifier
|
|
128
165
|
* @param {*} [options] Override http request option.
|
|
129
166
|
* @throws {RequiredError}
|
|
130
167
|
*/
|
|
131
|
-
|
|
168
|
+
getApi: (api: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
169
|
/**
|
|
133
|
-
* List all available
|
|
134
|
-
* @summary List
|
|
170
|
+
* List all available APIs
|
|
171
|
+
* @summary List apis
|
|
135
172
|
* @param {string} [project] Project unique identifier
|
|
136
173
|
* @param {string} [search] Search term used to filter results by name or identifier
|
|
137
174
|
* @param {*} [options] Override http request option.
|
|
138
175
|
* @throws {RequiredError}
|
|
139
176
|
*/
|
|
140
|
-
|
|
177
|
+
listApis: (project?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
141
178
|
};
|
|
142
179
|
/**
|
|
143
|
-
*
|
|
180
|
+
* ApisApi - functional programming interface
|
|
144
181
|
* @export
|
|
145
182
|
*/
|
|
146
|
-
export declare const
|
|
183
|
+
export declare const ApisApiFp: (configuration?: Configuration) => {
|
|
147
184
|
/**
|
|
148
|
-
* Get an API
|
|
149
|
-
* @summary Get
|
|
185
|
+
* Get an API
|
|
186
|
+
* @summary Get api
|
|
150
187
|
* @param {string} api API name
|
|
151
188
|
* @param {string} [project] Project unique identifier
|
|
152
189
|
* @param {*} [options] Override http request option.
|
|
153
190
|
* @throws {RequiredError}
|
|
154
191
|
*/
|
|
155
|
-
|
|
192
|
+
getApi(api: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Api>>;
|
|
156
193
|
/**
|
|
157
|
-
* List all available
|
|
158
|
-
* @summary List
|
|
194
|
+
* List all available APIs
|
|
195
|
+
* @summary List apis
|
|
159
196
|
* @param {string} [project] Project unique identifier
|
|
160
197
|
* @param {string} [search] Search term used to filter results by name or identifier
|
|
161
198
|
* @param {*} [options] Override http request option.
|
|
162
199
|
* @throws {RequiredError}
|
|
163
200
|
*/
|
|
164
|
-
|
|
201
|
+
listApis(project?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Apis>>;
|
|
165
202
|
};
|
|
166
203
|
/**
|
|
167
|
-
*
|
|
204
|
+
* ApisApi - factory interface
|
|
168
205
|
* @export
|
|
169
206
|
*/
|
|
170
|
-
export declare const
|
|
207
|
+
export declare const ApisApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
171
208
|
/**
|
|
172
|
-
* Get an API
|
|
173
|
-
* @summary Get
|
|
174
|
-
* @param {
|
|
209
|
+
* Get an API
|
|
210
|
+
* @summary Get api
|
|
211
|
+
* @param {ApisApiGetApiRequest} requestParameters Request parameters.
|
|
175
212
|
* @param {*} [options] Override http request option.
|
|
176
213
|
* @throws {RequiredError}
|
|
177
214
|
*/
|
|
178
|
-
|
|
215
|
+
getApi(requestParameters: ApisApiGetApiRequest, options?: RawAxiosRequestConfig): AxiosPromise<Api>;
|
|
179
216
|
/**
|
|
180
|
-
* List all available
|
|
181
|
-
* @summary List
|
|
182
|
-
* @param {
|
|
217
|
+
* List all available APIs
|
|
218
|
+
* @summary List apis
|
|
219
|
+
* @param {ApisApiListApisRequest} requestParameters Request parameters.
|
|
183
220
|
* @param {*} [options] Override http request option.
|
|
184
221
|
* @throws {RequiredError}
|
|
185
222
|
*/
|
|
186
|
-
|
|
223
|
+
listApis(requestParameters?: ApisApiListApisRequest, options?: RawAxiosRequestConfig): AxiosPromise<Apis>;
|
|
187
224
|
};
|
|
188
225
|
/**
|
|
189
|
-
* Request parameters for
|
|
226
|
+
* Request parameters for getApi operation in ApisApi.
|
|
190
227
|
* @export
|
|
191
|
-
* @interface
|
|
228
|
+
* @interface ApisApiGetApiRequest
|
|
192
229
|
*/
|
|
193
|
-
export interface
|
|
230
|
+
export interface ApisApiGetApiRequest {
|
|
194
231
|
/**
|
|
195
232
|
* API name
|
|
196
233
|
* @type {string}
|
|
197
|
-
* @memberof
|
|
234
|
+
* @memberof ApisApiGetApi
|
|
198
235
|
*/
|
|
199
236
|
readonly api: string;
|
|
200
237
|
/**
|
|
201
238
|
* Project unique identifier
|
|
202
239
|
* @type {string}
|
|
203
|
-
* @memberof
|
|
240
|
+
* @memberof ApisApiGetApi
|
|
204
241
|
*/
|
|
205
242
|
readonly project?: string;
|
|
206
243
|
}
|
|
207
244
|
/**
|
|
208
|
-
* Request parameters for
|
|
245
|
+
* Request parameters for listApis operation in ApisApi.
|
|
209
246
|
* @export
|
|
210
|
-
* @interface
|
|
247
|
+
* @interface ApisApiListApisRequest
|
|
211
248
|
*/
|
|
212
|
-
export interface
|
|
249
|
+
export interface ApisApiListApisRequest {
|
|
213
250
|
/**
|
|
214
251
|
* Project unique identifier
|
|
215
252
|
* @type {string}
|
|
216
|
-
* @memberof
|
|
253
|
+
* @memberof ApisApiListApis
|
|
217
254
|
*/
|
|
218
255
|
readonly project?: string;
|
|
219
256
|
/**
|
|
220
257
|
* Search term used to filter results by name or identifier
|
|
221
258
|
* @type {string}
|
|
222
|
-
* @memberof
|
|
259
|
+
* @memberof ApisApiListApis
|
|
223
260
|
*/
|
|
224
261
|
readonly search?: string;
|
|
225
262
|
}
|
|
226
263
|
/**
|
|
227
|
-
*
|
|
264
|
+
* ApisApi - object-oriented interface
|
|
228
265
|
* @export
|
|
229
|
-
* @class
|
|
266
|
+
* @class ApisApi
|
|
230
267
|
* @extends {BaseAPI}
|
|
231
268
|
*/
|
|
232
|
-
export declare class
|
|
269
|
+
export declare class ApisApi extends BaseAPI {
|
|
233
270
|
/**
|
|
234
|
-
* Get an API
|
|
235
|
-
* @summary Get
|
|
236
|
-
* @param {
|
|
271
|
+
* Get an API
|
|
272
|
+
* @summary Get api
|
|
273
|
+
* @param {ApisApiGetApiRequest} requestParameters Request parameters.
|
|
237
274
|
* @param {*} [options] Override http request option.
|
|
238
275
|
* @throws {RequiredError}
|
|
239
|
-
* @memberof
|
|
276
|
+
* @memberof ApisApi
|
|
240
277
|
*/
|
|
241
|
-
|
|
278
|
+
getApi(requestParameters: ApisApiGetApiRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Api, any>>;
|
|
242
279
|
/**
|
|
243
|
-
* List all available
|
|
244
|
-
* @summary List
|
|
245
|
-
* @param {
|
|
280
|
+
* List all available APIs
|
|
281
|
+
* @summary List apis
|
|
282
|
+
* @param {ApisApiListApisRequest} requestParameters Request parameters.
|
|
246
283
|
* @param {*} [options] Override http request option.
|
|
247
284
|
* @throws {RequiredError}
|
|
248
|
-
* @memberof
|
|
285
|
+
* @memberof ApisApi
|
|
249
286
|
*/
|
|
250
|
-
|
|
287
|
+
listApis(requestParameters?: ApisApiListApisRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Apis, any>>;
|
|
251
288
|
}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Schema API
|
|
5
5
|
* View PodOS API Schemas
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.2.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,22 +27,22 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject,
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* ApisApi - axios parameter creator
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export const
|
|
33
|
+
export const ApisApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
* Get an API
|
|
37
|
-
* @summary Get
|
|
36
|
+
* Get an API
|
|
37
|
+
* @summary Get api
|
|
38
38
|
* @param {string} api API name
|
|
39
39
|
* @param {string} [project] Project unique identifier
|
|
40
40
|
* @param {*} [options] Override http request option.
|
|
41
41
|
* @throws {RequiredError}
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
getApi: (api_1, project_1, ...args_1) => __awaiter(this, [api_1, project_1, ...args_1], void 0, function* (api, project, options = {}) {
|
|
44
44
|
// verify required parameter 'api' is not null or undefined
|
|
45
|
-
assertParamExists('
|
|
45
|
+
assertParamExists('getApi', 'api', api);
|
|
46
46
|
const localVarPath = `/{api}`
|
|
47
47
|
.replace(`{${"api"}}`, encodeURIComponent(String(api)));
|
|
48
48
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -71,14 +71,14 @@ export const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
71
71
|
};
|
|
72
72
|
}),
|
|
73
73
|
/**
|
|
74
|
-
* List all available
|
|
75
|
-
* @summary List
|
|
74
|
+
* List all available APIs
|
|
75
|
+
* @summary List apis
|
|
76
76
|
* @param {string} [project] Project unique identifier
|
|
77
77
|
* @param {string} [search] Search term used to filter results by name or identifier
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
listApis: (project_1, search_1, ...args_1) => __awaiter(this, [project_1, search_1, ...args_1], void 0, function* (project, search, options = {}) {
|
|
82
82
|
const localVarPath = `/`;
|
|
83
83
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
84
84
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -111,104 +111,104 @@ export const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* ApisApi - functional programming interface
|
|
115
115
|
* @export
|
|
116
116
|
*/
|
|
117
|
-
export const
|
|
118
|
-
const localVarAxiosParamCreator =
|
|
117
|
+
export const ApisApiFp = function (configuration) {
|
|
118
|
+
const localVarAxiosParamCreator = ApisApiAxiosParamCreator(configuration);
|
|
119
119
|
return {
|
|
120
120
|
/**
|
|
121
|
-
* Get an API
|
|
122
|
-
* @summary Get
|
|
121
|
+
* Get an API
|
|
122
|
+
* @summary Get api
|
|
123
123
|
* @param {string} api API name
|
|
124
124
|
* @param {string} [project] Project unique identifier
|
|
125
125
|
* @param {*} [options] Override http request option.
|
|
126
126
|
* @throws {RequiredError}
|
|
127
127
|
*/
|
|
128
|
-
|
|
128
|
+
getApi(api, project, options) {
|
|
129
129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
130
|
var _a, _b, _c;
|
|
131
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
131
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getApi(api, project, options);
|
|
132
132
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
133
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
133
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApisApi.getApi']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
134
134
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
135
135
|
});
|
|
136
136
|
},
|
|
137
137
|
/**
|
|
138
|
-
* List all available
|
|
139
|
-
* @summary List
|
|
138
|
+
* List all available APIs
|
|
139
|
+
* @summary List apis
|
|
140
140
|
* @param {string} [project] Project unique identifier
|
|
141
141
|
* @param {string} [search] Search term used to filter results by name or identifier
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
listApis(project, search, options) {
|
|
146
146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
147
147
|
var _a, _b, _c;
|
|
148
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
148
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listApis(project, search, options);
|
|
149
149
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
150
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
150
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApisApi.listApis']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
151
151
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
152
152
|
});
|
|
153
153
|
},
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
157
|
+
* ApisApi - factory interface
|
|
158
158
|
* @export
|
|
159
159
|
*/
|
|
160
|
-
export const
|
|
161
|
-
const localVarFp =
|
|
160
|
+
export const ApisApiFactory = function (configuration, basePath, axios) {
|
|
161
|
+
const localVarFp = ApisApiFp(configuration);
|
|
162
162
|
return {
|
|
163
163
|
/**
|
|
164
|
-
* Get an API
|
|
165
|
-
* @summary Get
|
|
166
|
-
* @param {
|
|
164
|
+
* Get an API
|
|
165
|
+
* @summary Get api
|
|
166
|
+
* @param {ApisApiGetApiRequest} requestParameters Request parameters.
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
|
|
171
|
-
return localVarFp.
|
|
170
|
+
getApi(requestParameters, options) {
|
|
171
|
+
return localVarFp.getApi(requestParameters.api, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
172
172
|
},
|
|
173
173
|
/**
|
|
174
|
-
* List all available
|
|
175
|
-
* @summary List
|
|
176
|
-
* @param {
|
|
174
|
+
* List all available APIs
|
|
175
|
+
* @summary List apis
|
|
176
|
+
* @param {ApisApiListApisRequest} requestParameters Request parameters.
|
|
177
177
|
* @param {*} [options] Override http request option.
|
|
178
178
|
* @throws {RequiredError}
|
|
179
179
|
*/
|
|
180
|
-
|
|
181
|
-
return localVarFp.
|
|
180
|
+
listApis(requestParameters = {}, options) {
|
|
181
|
+
return localVarFp.listApis(requestParameters.project, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
182
182
|
},
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
185
|
/**
|
|
186
|
-
*
|
|
186
|
+
* ApisApi - object-oriented interface
|
|
187
187
|
* @export
|
|
188
|
-
* @class
|
|
188
|
+
* @class ApisApi
|
|
189
189
|
* @extends {BaseAPI}
|
|
190
190
|
*/
|
|
191
|
-
export class
|
|
191
|
+
export class ApisApi extends BaseAPI {
|
|
192
192
|
/**
|
|
193
|
-
* Get an API
|
|
194
|
-
* @summary Get
|
|
195
|
-
* @param {
|
|
193
|
+
* Get an API
|
|
194
|
+
* @summary Get api
|
|
195
|
+
* @param {ApisApiGetApiRequest} requestParameters Request parameters.
|
|
196
196
|
* @param {*} [options] Override http request option.
|
|
197
197
|
* @throws {RequiredError}
|
|
198
|
-
* @memberof
|
|
198
|
+
* @memberof ApisApi
|
|
199
199
|
*/
|
|
200
|
-
|
|
201
|
-
return
|
|
200
|
+
getApi(requestParameters, options) {
|
|
201
|
+
return ApisApiFp(this.configuration).getApi(requestParameters.api, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
|
-
* List all available
|
|
205
|
-
* @summary List
|
|
206
|
-
* @param {
|
|
204
|
+
* List all available APIs
|
|
205
|
+
* @summary List apis
|
|
206
|
+
* @param {ApisApiListApisRequest} requestParameters Request parameters.
|
|
207
207
|
* @param {*} [options] Override http request option.
|
|
208
208
|
* @throws {RequiredError}
|
|
209
|
-
* @memberof
|
|
209
|
+
* @memberof ApisApi
|
|
210
210
|
*/
|
|
211
|
-
|
|
212
|
-
return
|
|
211
|
+
listApis(requestParameters = {}, options) {
|
|
212
|
+
return ApisApiFp(this.configuration).listApis(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
213
213
|
}
|
|
214
214
|
}
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/index.ts
CHANGED