@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/dist/base.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).
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/dist/base.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).
|
|
@@ -16,21 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
17
|
const axios_1 = require("axios");
|
|
18
18
|
exports.BASE_PATH = "https://localhost:8080/v1/schema".replace(/\/+$/, "");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
19
|
exports.COLLECTION_FORMATS = {
|
|
24
20
|
csv: ",",
|
|
25
21
|
ssv: " ",
|
|
26
22
|
tsv: "\t",
|
|
27
23
|
pipes: "|",
|
|
28
24
|
};
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @export
|
|
32
|
-
* @class BaseAPI
|
|
33
|
-
*/
|
|
34
25
|
class BaseAPI {
|
|
35
26
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
36
27
|
var _a;
|
|
@@ -44,12 +35,6 @@ class BaseAPI {
|
|
|
44
35
|
}
|
|
45
36
|
exports.BaseAPI = BaseAPI;
|
|
46
37
|
;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @class RequiredError
|
|
51
|
-
* @extends {Error}
|
|
52
|
-
*/
|
|
53
38
|
class RequiredError extends Error {
|
|
54
39
|
constructor(field, msg) {
|
|
55
40
|
super(msg);
|
|
@@ -58,8 +43,4 @@ class RequiredError extends Error {
|
|
|
58
43
|
}
|
|
59
44
|
}
|
|
60
45
|
exports.RequiredError = RequiredError;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
46
|
exports.operationServerMap = {};
|
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.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).
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|
package/dist/configuration.js
CHANGED
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.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/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.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject,
|
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
29
|
/**
|
|
30
30
|
* ApisApi - axios parameter creator
|
|
31
|
-
* @export
|
|
32
31
|
*/
|
|
33
32
|
export const ApisApiAxiosParamCreator = function (configuration) {
|
|
34
33
|
return {
|
|
@@ -112,7 +111,6 @@ export const ApisApiAxiosParamCreator = function (configuration) {
|
|
|
112
111
|
};
|
|
113
112
|
/**
|
|
114
113
|
* ApisApi - functional programming interface
|
|
115
|
-
* @export
|
|
116
114
|
*/
|
|
117
115
|
export const ApisApiFp = function (configuration) {
|
|
118
116
|
const localVarAxiosParamCreator = ApisApiAxiosParamCreator(configuration);
|
|
@@ -155,7 +153,6 @@ export const ApisApiFp = function (configuration) {
|
|
|
155
153
|
};
|
|
156
154
|
/**
|
|
157
155
|
* ApisApi - factory interface
|
|
158
|
-
* @export
|
|
159
156
|
*/
|
|
160
157
|
export const ApisApiFactory = function (configuration, basePath, axios) {
|
|
161
158
|
const localVarFp = ApisApiFp(configuration);
|
|
@@ -184,9 +181,6 @@ export const ApisApiFactory = function (configuration, basePath, axios) {
|
|
|
184
181
|
};
|
|
185
182
|
/**
|
|
186
183
|
* ApisApi - object-oriented interface
|
|
187
|
-
* @export
|
|
188
|
-
* @class ApisApi
|
|
189
|
-
* @extends {BaseAPI}
|
|
190
184
|
*/
|
|
191
185
|
export class ApisApi extends BaseAPI {
|
|
192
186
|
/**
|
|
@@ -195,7 +189,6 @@ export class ApisApi extends BaseAPI {
|
|
|
195
189
|
* @param {ApisApiGetApiRequest} requestParameters Request parameters.
|
|
196
190
|
* @param {*} [options] Override http request option.
|
|
197
191
|
* @throws {RequiredError}
|
|
198
|
-
* @memberof ApisApi
|
|
199
192
|
*/
|
|
200
193
|
getApi(requestParameters, options) {
|
|
201
194
|
return ApisApiFp(this.configuration).getApi(requestParameters.api, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -206,7 +199,6 @@ export class ApisApi extends BaseAPI {
|
|
|
206
199
|
* @param {ApisApiListApisRequest} requestParameters Request parameters.
|
|
207
200
|
* @param {*} [options] Override http request option.
|
|
208
201
|
* @throws {RequiredError}
|
|
209
|
-
* @memberof ApisApi
|
|
210
202
|
*/
|
|
211
203
|
listApis(requestParameters = {}, options) {
|
|
212
204
|
return ApisApiFp(this.configuration).listApis(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
package/dist/esm/base.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).
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/dist/esm/base.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.6
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
export const BASE_PATH = "https://localhost:8080/v1/schema".replace(/\/+$/, "");
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
16
|
export const COLLECTION_FORMATS = {
|
|
21
17
|
csv: ",",
|
|
22
18
|
ssv: " ",
|
|
23
19
|
tsv: "\t",
|
|
24
20
|
pipes: "|",
|
|
25
21
|
};
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @class BaseAPI
|
|
30
|
-
*/
|
|
31
22
|
export class BaseAPI {
|
|
32
23
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
33
24
|
var _a;
|
|
@@ -40,12 +31,6 @@ export class BaseAPI {
|
|
|
40
31
|
}
|
|
41
32
|
}
|
|
42
33
|
;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
* @class RequiredError
|
|
47
|
-
* @extends {Error}
|
|
48
|
-
*/
|
|
49
34
|
export class RequiredError extends Error {
|
|
50
35
|
constructor(field, msg) {
|
|
51
36
|
super(msg);
|
|
@@ -53,8 +38,4 @@ export class RequiredError extends Error {
|
|
|
53
38
|
this.name = "RequiredError";
|
|
54
39
|
}
|
|
55
40
|
}
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
41
|
export const operationServerMap = {};
|
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
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).
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|