@teemill/schema 0.2.4 → 0.2.6
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 +1 -131
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +3 -133
- package/dist/api.js +1 -9
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +3 -133
- package/dist/esm/api.js +1 -9
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -18
- 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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/schema@0.2.
|
|
1
|
+
## @teemill/schema@0.2.6
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/schema@0.2.
|
|
39
|
+
npm install @teemill/schema@0.2.6 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
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.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,147 +23,36 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @interface Api
|
|
30
|
-
*/
|
|
31
26
|
export interface Api {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof Api
|
|
36
|
-
*/
|
|
37
27
|
'id': string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof Api
|
|
42
|
-
*/
|
|
43
28
|
'name': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof Api
|
|
48
|
-
*/
|
|
49
29
|
'description': string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof Api
|
|
54
|
-
*/
|
|
55
30
|
'version': string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof Api
|
|
60
|
-
*/
|
|
61
31
|
'updatedAt': string;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {Array<ApiEndpointsInner>}
|
|
65
|
-
* @memberof Api
|
|
66
|
-
*/
|
|
67
32
|
'endpoints': Array<ApiEndpointsInner>;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {object}
|
|
71
|
-
* @memberof Api
|
|
72
|
-
*/
|
|
73
33
|
'schema'?: object;
|
|
74
34
|
}
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @export
|
|
78
|
-
* @interface ApiEndpointsInner
|
|
79
|
-
*/
|
|
80
35
|
export interface ApiEndpointsInner {
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {string}
|
|
84
|
-
* @memberof ApiEndpointsInner
|
|
85
|
-
*/
|
|
86
36
|
'name': string;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {string}
|
|
90
|
-
* @memberof ApiEndpointsInner
|
|
91
|
-
*/
|
|
92
37
|
'method': string;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {string}
|
|
96
|
-
* @memberof ApiEndpointsInner
|
|
97
|
-
*/
|
|
98
38
|
'path': string;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {Array<string>}
|
|
102
|
-
* @memberof ApiEndpointsInner
|
|
103
|
-
*/
|
|
104
39
|
'tags': Array<string>;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @type {boolean}
|
|
108
|
-
* @memberof ApiEndpointsInner
|
|
109
|
-
*/
|
|
110
40
|
'internal': boolean;
|
|
111
41
|
}
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @export
|
|
115
|
-
* @interface ApiError
|
|
116
|
-
*/
|
|
117
42
|
export interface ApiError {
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof ApiError
|
|
122
|
-
*/
|
|
123
43
|
'code'?: string;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {string}
|
|
127
|
-
* @memberof ApiError
|
|
128
|
-
*/
|
|
129
44
|
'message': string;
|
|
130
45
|
}
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
* @export
|
|
134
|
-
* @interface Apis
|
|
135
|
-
*/
|
|
136
46
|
export interface Apis {
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
139
|
-
* @type {Array<Api>}
|
|
140
|
-
* @memberof Apis
|
|
141
|
-
*/
|
|
142
47
|
'apis'?: Array<Api>;
|
|
143
48
|
}
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @export
|
|
147
|
-
* @interface ValidationError
|
|
148
|
-
*/
|
|
149
49
|
export interface ValidationError {
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof ValidationError
|
|
154
|
-
*/
|
|
155
50
|
'message': string;
|
|
156
|
-
/**
|
|
157
|
-
*
|
|
158
|
-
* @type {{ [key: string]: Array<string>; }}
|
|
159
|
-
* @memberof ValidationError
|
|
160
|
-
*/
|
|
161
51
|
'errors': { [key: string]: Array<string>; };
|
|
162
52
|
}
|
|
163
53
|
|
|
164
54
|
/**
|
|
165
55
|
* ApisApi - axios parameter creator
|
|
166
|
-
* @export
|
|
167
56
|
*/
|
|
168
57
|
export const ApisApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
169
58
|
return {
|
|
@@ -265,7 +154,6 @@ export const ApisApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
265
154
|
|
|
266
155
|
/**
|
|
267
156
|
* ApisApi - functional programming interface
|
|
268
|
-
* @export
|
|
269
157
|
*/
|
|
270
158
|
export const ApisApiFp = function(configuration?: Configuration) {
|
|
271
159
|
const localVarAxiosParamCreator = ApisApiAxiosParamCreator(configuration)
|
|
@@ -303,7 +191,6 @@ export const ApisApiFp = function(configuration?: Configuration) {
|
|
|
303
191
|
|
|
304
192
|
/**
|
|
305
193
|
* ApisApi - factory interface
|
|
306
|
-
* @export
|
|
307
194
|
*/
|
|
308
195
|
export const ApisApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
309
196
|
const localVarFp = ApisApiFp(configuration)
|
|
@@ -333,51 +220,36 @@ export const ApisApiFactory = function (configuration?: Configuration, basePath?
|
|
|
333
220
|
|
|
334
221
|
/**
|
|
335
222
|
* Request parameters for getApi operation in ApisApi.
|
|
336
|
-
* @export
|
|
337
|
-
* @interface ApisApiGetApiRequest
|
|
338
223
|
*/
|
|
339
224
|
export interface ApisApiGetApiRequest {
|
|
340
225
|
/**
|
|
341
226
|
* API name
|
|
342
|
-
* @type {string}
|
|
343
|
-
* @memberof ApisApiGetApi
|
|
344
227
|
*/
|
|
345
228
|
readonly api: string
|
|
346
229
|
|
|
347
230
|
/**
|
|
348
231
|
* Project unique identifier
|
|
349
|
-
* @type {string}
|
|
350
|
-
* @memberof ApisApiGetApi
|
|
351
232
|
*/
|
|
352
233
|
readonly project?: string
|
|
353
234
|
}
|
|
354
235
|
|
|
355
236
|
/**
|
|
356
237
|
* Request parameters for listApis operation in ApisApi.
|
|
357
|
-
* @export
|
|
358
|
-
* @interface ApisApiListApisRequest
|
|
359
238
|
*/
|
|
360
239
|
export interface ApisApiListApisRequest {
|
|
361
240
|
/**
|
|
362
241
|
* Project unique identifier
|
|
363
|
-
* @type {string}
|
|
364
|
-
* @memberof ApisApiListApis
|
|
365
242
|
*/
|
|
366
243
|
readonly project?: string
|
|
367
244
|
|
|
368
245
|
/**
|
|
369
246
|
* Search term used to filter results by name or identifier
|
|
370
|
-
* @type {string}
|
|
371
|
-
* @memberof ApisApiListApis
|
|
372
247
|
*/
|
|
373
248
|
readonly search?: string
|
|
374
249
|
}
|
|
375
250
|
|
|
376
251
|
/**
|
|
377
252
|
* ApisApi - object-oriented interface
|
|
378
|
-
* @export
|
|
379
|
-
* @class ApisApi
|
|
380
|
-
* @extends {BaseAPI}
|
|
381
253
|
*/
|
|
382
254
|
export class ApisApi extends BaseAPI {
|
|
383
255
|
/**
|
|
@@ -386,7 +258,6 @@ export class ApisApi extends BaseAPI {
|
|
|
386
258
|
* @param {ApisApiGetApiRequest} requestParameters Request parameters.
|
|
387
259
|
* @param {*} [options] Override http request option.
|
|
388
260
|
* @throws {RequiredError}
|
|
389
|
-
* @memberof ApisApi
|
|
390
261
|
*/
|
|
391
262
|
public getApi(requestParameters: ApisApiGetApiRequest, options?: RawAxiosRequestConfig) {
|
|
392
263
|
return ApisApiFp(this.configuration).getApi(requestParameters.api, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -398,7 +269,6 @@ export class ApisApi extends BaseAPI {
|
|
|
398
269
|
* @param {ApisApiListApisRequest} requestParameters Request parameters.
|
|
399
270
|
* @param {*} [options] Override http request option.
|
|
400
271
|
* @throws {RequiredError}
|
|
401
|
-
* @memberof ApisApi
|
|
402
272
|
*/
|
|
403
273
|
public listApis(requestParameters: ApisApiListApisRequest = {}, options?: RawAxiosRequestConfig) {
|
|
404
274
|
return ApisApiFp(this.configuration).listApis(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
package/base.ts
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.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,10 +21,6 @@ import globalAxios from 'axios';
|
|
|
21
21
|
|
|
22
22
|
export const BASE_PATH = "https://localhost:8080/v1/schema".replace(/\/+$/, "");
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
24
|
export const COLLECTION_FORMATS = {
|
|
29
25
|
csv: ",",
|
|
30
26
|
ssv: " ",
|
|
@@ -32,21 +28,11 @@ export const COLLECTION_FORMATS = {
|
|
|
32
28
|
pipes: "|",
|
|
33
29
|
};
|
|
34
30
|
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface RequestArgs
|
|
39
|
-
*/
|
|
40
31
|
export interface RequestArgs {
|
|
41
32
|
url: string;
|
|
42
33
|
options: RawAxiosRequestConfig;
|
|
43
34
|
}
|
|
44
35
|
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class BaseAPI
|
|
49
|
-
*/
|
|
50
36
|
export class BaseAPI {
|
|
51
37
|
protected configuration: Configuration | undefined;
|
|
52
38
|
|
|
@@ -58,12 +44,6 @@ export class BaseAPI {
|
|
|
58
44
|
}
|
|
59
45
|
};
|
|
60
46
|
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
* @class RequiredError
|
|
65
|
-
* @extends {Error}
|
|
66
|
-
*/
|
|
67
47
|
export class RequiredError extends Error {
|
|
68
48
|
constructor(public field: string, msg?: string) {
|
|
69
49
|
super(msg);
|
|
@@ -78,9 +58,5 @@ interface ServerMap {
|
|
|
78
58
|
}[];
|
|
79
59
|
}
|
|
80
60
|
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @export
|
|
84
|
-
*/
|
|
85
61
|
export const operationServerMap: ServerMap = {
|
|
86
62
|
}
|
package/common.ts
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.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import type { Configuration } from "./configuration";
|
|
17
16
|
import type { RequestArgs } from "./base";
|
|
18
17
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
package/configuration.ts
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.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,49 +28,32 @@ export class Configuration {
|
|
|
28
28
|
/**
|
|
29
29
|
* parameter for apiKey security
|
|
30
30
|
* @param name security name
|
|
31
|
-
* @memberof Configuration
|
|
32
31
|
*/
|
|
33
32
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
34
33
|
/**
|
|
35
34
|
* parameter for basic security
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof Configuration
|
|
39
35
|
*/
|
|
40
36
|
username?: string;
|
|
41
37
|
/**
|
|
42
38
|
* parameter for basic security
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof Configuration
|
|
46
39
|
*/
|
|
47
40
|
password?: string;
|
|
48
41
|
/**
|
|
49
42
|
* parameter for oauth2 security
|
|
50
43
|
* @param name security name
|
|
51
44
|
* @param scopes oauth2 scope
|
|
52
|
-
* @memberof Configuration
|
|
53
45
|
*/
|
|
54
46
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
55
47
|
/**
|
|
56
48
|
* override base path
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof Configuration
|
|
60
49
|
*/
|
|
61
50
|
basePath?: string;
|
|
62
51
|
/**
|
|
63
52
|
* override server index
|
|
64
|
-
*
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof Configuration
|
|
67
53
|
*/
|
|
68
54
|
serverIndex?: number;
|
|
69
55
|
/**
|
|
70
56
|
* base options for axios calls
|
|
71
|
-
*
|
|
72
|
-
* @type {any}
|
|
73
|
-
* @memberof Configuration
|
|
74
57
|
*/
|
|
75
58
|
baseOptions?: any;
|
|
76
59
|
/**
|
package/dist/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.6
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,148 +13,37 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface Api
|
|
20
|
-
*/
|
|
21
16
|
export interface Api {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Api
|
|
26
|
-
*/
|
|
27
17
|
'id': string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Api
|
|
32
|
-
*/
|
|
33
18
|
'name': string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Api
|
|
38
|
-
*/
|
|
39
19
|
'description': string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Api
|
|
44
|
-
*/
|
|
45
20
|
'version': string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof Api
|
|
50
|
-
*/
|
|
51
21
|
'updatedAt': string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<ApiEndpointsInner>}
|
|
55
|
-
* @memberof Api
|
|
56
|
-
*/
|
|
57
22
|
'endpoints': Array<ApiEndpointsInner>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {object}
|
|
61
|
-
* @memberof Api
|
|
62
|
-
*/
|
|
63
23
|
'schema'?: object;
|
|
64
24
|
}
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @export
|
|
68
|
-
* @interface ApiEndpointsInner
|
|
69
|
-
*/
|
|
70
25
|
export interface ApiEndpointsInner {
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof ApiEndpointsInner
|
|
75
|
-
*/
|
|
76
26
|
'name': string;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof ApiEndpointsInner
|
|
81
|
-
*/
|
|
82
27
|
'method': string;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof ApiEndpointsInner
|
|
87
|
-
*/
|
|
88
28
|
'path': string;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {Array<string>}
|
|
92
|
-
* @memberof ApiEndpointsInner
|
|
93
|
-
*/
|
|
94
29
|
'tags': Array<string>;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {boolean}
|
|
98
|
-
* @memberof ApiEndpointsInner
|
|
99
|
-
*/
|
|
100
30
|
'internal': boolean;
|
|
101
31
|
}
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @export
|
|
105
|
-
* @interface ApiError
|
|
106
|
-
*/
|
|
107
32
|
export interface ApiError {
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof ApiError
|
|
112
|
-
*/
|
|
113
33
|
'code'?: string;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof ApiError
|
|
118
|
-
*/
|
|
119
34
|
'message': string;
|
|
120
35
|
}
|
|
121
|
-
/**
|
|
122
|
-
*
|
|
123
|
-
* @export
|
|
124
|
-
* @interface Apis
|
|
125
|
-
*/
|
|
126
36
|
export interface Apis {
|
|
127
|
-
/**
|
|
128
|
-
*
|
|
129
|
-
* @type {Array<Api>}
|
|
130
|
-
* @memberof Apis
|
|
131
|
-
*/
|
|
132
37
|
'apis'?: Array<Api>;
|
|
133
38
|
}
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @export
|
|
137
|
-
* @interface ValidationError
|
|
138
|
-
*/
|
|
139
39
|
export interface ValidationError {
|
|
140
|
-
/**
|
|
141
|
-
*
|
|
142
|
-
* @type {string}
|
|
143
|
-
* @memberof ValidationError
|
|
144
|
-
*/
|
|
145
40
|
'message': string;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
* @type {{ [key: string]: Array<string>; }}
|
|
149
|
-
* @memberof ValidationError
|
|
150
|
-
*/
|
|
151
41
|
'errors': {
|
|
152
42
|
[key: string]: Array<string>;
|
|
153
43
|
};
|
|
154
44
|
}
|
|
155
45
|
/**
|
|
156
46
|
* ApisApi - axios parameter creator
|
|
157
|
-
* @export
|
|
158
47
|
*/
|
|
159
48
|
export declare const ApisApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
160
49
|
/**
|
|
@@ -178,7 +67,6 @@ export declare const ApisApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
178
67
|
};
|
|
179
68
|
/**
|
|
180
69
|
* ApisApi - functional programming interface
|
|
181
|
-
* @export
|
|
182
70
|
*/
|
|
183
71
|
export declare const ApisApiFp: (configuration?: Configuration) => {
|
|
184
72
|
/**
|
|
@@ -202,7 +90,6 @@ export declare const ApisApiFp: (configuration?: Configuration) => {
|
|
|
202
90
|
};
|
|
203
91
|
/**
|
|
204
92
|
* ApisApi - factory interface
|
|
205
|
-
* @export
|
|
206
93
|
*/
|
|
207
94
|
export declare const ApisApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
208
95
|
/**
|
|
@@ -224,47 +111,32 @@ export declare const ApisApiFactory: (configuration?: Configuration, basePath?:
|
|
|
224
111
|
};
|
|
225
112
|
/**
|
|
226
113
|
* Request parameters for getApi operation in ApisApi.
|
|
227
|
-
* @export
|
|
228
|
-
* @interface ApisApiGetApiRequest
|
|
229
114
|
*/
|
|
230
115
|
export interface ApisApiGetApiRequest {
|
|
231
116
|
/**
|
|
232
117
|
* API name
|
|
233
|
-
* @type {string}
|
|
234
|
-
* @memberof ApisApiGetApi
|
|
235
118
|
*/
|
|
236
119
|
readonly api: string;
|
|
237
120
|
/**
|
|
238
121
|
* Project unique identifier
|
|
239
|
-
* @type {string}
|
|
240
|
-
* @memberof ApisApiGetApi
|
|
241
122
|
*/
|
|
242
123
|
readonly project?: string;
|
|
243
124
|
}
|
|
244
125
|
/**
|
|
245
126
|
* Request parameters for listApis operation in ApisApi.
|
|
246
|
-
* @export
|
|
247
|
-
* @interface ApisApiListApisRequest
|
|
248
127
|
*/
|
|
249
128
|
export interface ApisApiListApisRequest {
|
|
250
129
|
/**
|
|
251
130
|
* Project unique identifier
|
|
252
|
-
* @type {string}
|
|
253
|
-
* @memberof ApisApiListApis
|
|
254
131
|
*/
|
|
255
132
|
readonly project?: string;
|
|
256
133
|
/**
|
|
257
134
|
* Search term used to filter results by name or identifier
|
|
258
|
-
* @type {string}
|
|
259
|
-
* @memberof ApisApiListApis
|
|
260
135
|
*/
|
|
261
136
|
readonly search?: string;
|
|
262
137
|
}
|
|
263
138
|
/**
|
|
264
139
|
* ApisApi - object-oriented interface
|
|
265
|
-
* @export
|
|
266
|
-
* @class ApisApi
|
|
267
|
-
* @extends {BaseAPI}
|
|
268
140
|
*/
|
|
269
141
|
export declare class ApisApi extends BaseAPI {
|
|
270
142
|
/**
|
|
@@ -273,16 +145,14 @@ export declare class ApisApi extends BaseAPI {
|
|
|
273
145
|
* @param {ApisApiGetApiRequest} requestParameters Request parameters.
|
|
274
146
|
* @param {*} [options] Override http request option.
|
|
275
147
|
* @throws {RequiredError}
|
|
276
|
-
* @memberof ApisApi
|
|
277
148
|
*/
|
|
278
|
-
getApi(requestParameters: ApisApiGetApiRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Api, any>>;
|
|
149
|
+
getApi(requestParameters: ApisApiGetApiRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Api, any, {}>>;
|
|
279
150
|
/**
|
|
280
151
|
* List all available APIs
|
|
281
152
|
* @summary List apis
|
|
282
153
|
* @param {ApisApiListApisRequest} requestParameters Request parameters.
|
|
283
154
|
* @param {*} [options] Override http request option.
|
|
284
155
|
* @throws {RequiredError}
|
|
285
|
-
* @memberof ApisApi
|
|
286
156
|
*/
|
|
287
|
-
listApis(requestParameters?: ApisApiListApisRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Apis, any>>;
|
|
157
|
+
listApis(requestParameters?: ApisApiListApisRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Apis, any, {}>>;
|
|
288
158
|
}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Schema API
|
|
6
6
|
* View PodOS API Schemas
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.2.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.6
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,6 @@ const common_1 = require("./common");
|
|
|
31
31
|
const base_1 = require("./base");
|
|
32
32
|
/**
|
|
33
33
|
* ApisApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
34
|
*/
|
|
36
35
|
const ApisApiAxiosParamCreator = function (configuration) {
|
|
37
36
|
return {
|
|
@@ -116,7 +115,6 @@ const ApisApiAxiosParamCreator = function (configuration) {
|
|
|
116
115
|
exports.ApisApiAxiosParamCreator = ApisApiAxiosParamCreator;
|
|
117
116
|
/**
|
|
118
117
|
* ApisApi - functional programming interface
|
|
119
|
-
* @export
|
|
120
118
|
*/
|
|
121
119
|
const ApisApiFp = function (configuration) {
|
|
122
120
|
const localVarAxiosParamCreator = (0, exports.ApisApiAxiosParamCreator)(configuration);
|
|
@@ -160,7 +158,6 @@ const ApisApiFp = function (configuration) {
|
|
|
160
158
|
exports.ApisApiFp = ApisApiFp;
|
|
161
159
|
/**
|
|
162
160
|
* ApisApi - factory interface
|
|
163
|
-
* @export
|
|
164
161
|
*/
|
|
165
162
|
const ApisApiFactory = function (configuration, basePath, axios) {
|
|
166
163
|
const localVarFp = (0, exports.ApisApiFp)(configuration);
|
|
@@ -190,9 +187,6 @@ const ApisApiFactory = function (configuration, basePath, axios) {
|
|
|
190
187
|
exports.ApisApiFactory = ApisApiFactory;
|
|
191
188
|
/**
|
|
192
189
|
* ApisApi - object-oriented interface
|
|
193
|
-
* @export
|
|
194
|
-
* @class ApisApi
|
|
195
|
-
* @extends {BaseAPI}
|
|
196
190
|
*/
|
|
197
191
|
class ApisApi extends base_1.BaseAPI {
|
|
198
192
|
/**
|
|
@@ -201,7 +195,6 @@ class ApisApi extends base_1.BaseAPI {
|
|
|
201
195
|
* @param {ApisApiGetApiRequest} requestParameters Request parameters.
|
|
202
196
|
* @param {*} [options] Override http request option.
|
|
203
197
|
* @throws {RequiredError}
|
|
204
|
-
* @memberof ApisApi
|
|
205
198
|
*/
|
|
206
199
|
getApi(requestParameters, options) {
|
|
207
200
|
return (0, exports.ApisApiFp)(this.configuration).getApi(requestParameters.api, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -212,7 +205,6 @@ class ApisApi extends base_1.BaseAPI {
|
|
|
212
205
|
* @param {ApisApiListApisRequest} requestParameters Request parameters.
|
|
213
206
|
* @param {*} [options] Override http request option.
|
|
214
207
|
* @throws {RequiredError}
|
|
215
|
-
* @memberof ApisApi
|
|
216
208
|
*/
|
|
217
209
|
listApis(requestParameters = {}, options) {
|
|
218
210
|
return (0, exports.ApisApiFp)(this.configuration).listApis(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|