@teemill/schema 0.2.2 → 0.2.4

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/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.2
5
+ * The version of the OpenAPI document: 0.2.4
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 ApiError
19
+ * @interface Api
20
20
  */
21
- export interface ApiError {
21
+ export interface Api {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof ApiError
25
+ * @memberof Api
26
26
  */
27
- 'code'?: string;
27
+ 'id': string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof ApiError
31
+ * @memberof Api
32
32
  */
33
- 'message': string;
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 Schema
68
+ * @interface ApiEndpointsInner
39
69
  */
40
- export interface Schema {
70
+ export interface ApiEndpointsInner {
41
71
  /**
42
72
  *
43
73
  * @type {string}
44
- * @memberof Schema
74
+ * @memberof ApiEndpointsInner
45
75
  */
46
- 'id': string;
76
+ 'name': string;
47
77
  /**
48
78
  *
49
79
  * @type {string}
50
- * @memberof Schema
80
+ * @memberof ApiEndpointsInner
51
81
  */
52
- 'name': string;
82
+ 'method': string;
53
83
  /**
54
84
  *
55
85
  * @type {string}
56
- * @memberof Schema
86
+ * @memberof ApiEndpointsInner
57
87
  */
58
- 'description': string;
88
+ 'path': string;
59
89
  /**
60
90
  *
61
- * @type {string}
62
- * @memberof Schema
91
+ * @type {Array<string>}
92
+ * @memberof ApiEndpointsInner
63
93
  */
64
- 'version': string;
94
+ 'tags': Array<string>;
65
95
  /**
66
96
  *
67
- * @type {string}
68
- * @memberof Schema
97
+ * @type {boolean}
98
+ * @memberof ApiEndpointsInner
69
99
  */
70
- 'updatedAt': string;
100
+ 'internal': boolean;
101
+ }
102
+ /**
103
+ *
104
+ * @export
105
+ * @interface ApiError
106
+ */
107
+ export interface ApiError {
71
108
  /**
72
109
  *
73
- * @type {Array<string>}
74
- * @memberof Schema
110
+ * @type {string}
111
+ * @memberof ApiError
75
112
  */
76
- 'paths': Array<string>;
113
+ 'code'?: string;
77
114
  /**
78
115
  *
79
- * @type {object}
80
- * @memberof Schema
116
+ * @type {string}
117
+ * @memberof ApiError
81
118
  */
82
- 'schema'?: object;
119
+ 'message': string;
83
120
  }
84
121
  /**
85
122
  *
86
123
  * @export
87
- * @interface Schemas
124
+ * @interface Apis
88
125
  */
89
- export interface Schemas {
126
+ export interface Apis {
90
127
  /**
91
128
  *
92
- * @type {Array<Schema>}
93
- * @memberof Schemas
129
+ * @type {Array<Api>}
130
+ * @memberof Apis
94
131
  */
95
- 'schemas': Array<Schema>;
132
+ 'apis'?: Array<Api>;
96
133
  }
97
134
  /**
98
135
  *
@@ -116,136 +153,136 @@ export interface ValidationError {
116
153
  };
117
154
  }
118
155
  /**
119
- * SchemasApi - axios parameter creator
156
+ * ApisApi - axios parameter creator
120
157
  * @export
121
158
  */
122
- export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration) => {
159
+ export declare const ApisApiAxiosParamCreator: (configuration?: Configuration) => {
123
160
  /**
124
- * Get an API schema
125
- * @summary Get schema
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
- getSchema: (api: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
168
+ getApi: (api: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
132
169
  /**
133
- * List all available schemas
134
- * @summary List schemas
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
- listSchemas: (project?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
177
+ listApis: (project?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
141
178
  };
142
179
  /**
143
- * SchemasApi - functional programming interface
180
+ * ApisApi - functional programming interface
144
181
  * @export
145
182
  */
146
- export declare const SchemasApiFp: (configuration?: Configuration) => {
183
+ export declare const ApisApiFp: (configuration?: Configuration) => {
147
184
  /**
148
- * Get an API schema
149
- * @summary Get schema
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
- getSchema(api: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schema>>;
192
+ getApi(api: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Api>>;
156
193
  /**
157
- * List all available schemas
158
- * @summary List schemas
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
- listSchemas(project?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schemas>>;
201
+ listApis(project?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Apis>>;
165
202
  };
166
203
  /**
167
- * SchemasApi - factory interface
204
+ * ApisApi - factory interface
168
205
  * @export
169
206
  */
170
- export declare const SchemasApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
207
+ export declare const ApisApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
171
208
  /**
172
- * Get an API schema
173
- * @summary Get schema
174
- * @param {SchemasApiGetSchemaRequest} requestParameters Request parameters.
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
- getSchema(requestParameters: SchemasApiGetSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<Schema>;
215
+ getApi(requestParameters: ApisApiGetApiRequest, options?: RawAxiosRequestConfig): AxiosPromise<Api>;
179
216
  /**
180
- * List all available schemas
181
- * @summary List schemas
182
- * @param {SchemasApiListSchemasRequest} requestParameters Request parameters.
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
- listSchemas(requestParameters?: SchemasApiListSchemasRequest, options?: RawAxiosRequestConfig): AxiosPromise<Schemas>;
223
+ listApis(requestParameters?: ApisApiListApisRequest, options?: RawAxiosRequestConfig): AxiosPromise<Apis>;
187
224
  };
188
225
  /**
189
- * Request parameters for getSchema operation in SchemasApi.
226
+ * Request parameters for getApi operation in ApisApi.
190
227
  * @export
191
- * @interface SchemasApiGetSchemaRequest
228
+ * @interface ApisApiGetApiRequest
192
229
  */
193
- export interface SchemasApiGetSchemaRequest {
230
+ export interface ApisApiGetApiRequest {
194
231
  /**
195
232
  * API name
196
233
  * @type {string}
197
- * @memberof SchemasApiGetSchema
234
+ * @memberof ApisApiGetApi
198
235
  */
199
236
  readonly api: string;
200
237
  /**
201
238
  * Project unique identifier
202
239
  * @type {string}
203
- * @memberof SchemasApiGetSchema
240
+ * @memberof ApisApiGetApi
204
241
  */
205
242
  readonly project?: string;
206
243
  }
207
244
  /**
208
- * Request parameters for listSchemas operation in SchemasApi.
245
+ * Request parameters for listApis operation in ApisApi.
209
246
  * @export
210
- * @interface SchemasApiListSchemasRequest
247
+ * @interface ApisApiListApisRequest
211
248
  */
212
- export interface SchemasApiListSchemasRequest {
249
+ export interface ApisApiListApisRequest {
213
250
  /**
214
251
  * Project unique identifier
215
252
  * @type {string}
216
- * @memberof SchemasApiListSchemas
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 SchemasApiListSchemas
259
+ * @memberof ApisApiListApis
223
260
  */
224
261
  readonly search?: string;
225
262
  }
226
263
  /**
227
- * SchemasApi - object-oriented interface
264
+ * ApisApi - object-oriented interface
228
265
  * @export
229
- * @class SchemasApi
266
+ * @class ApisApi
230
267
  * @extends {BaseAPI}
231
268
  */
232
- export declare class SchemasApi extends BaseAPI {
269
+ export declare class ApisApi extends BaseAPI {
233
270
  /**
234
- * Get an API schema
235
- * @summary Get schema
236
- * @param {SchemasApiGetSchemaRequest} requestParameters Request parameters.
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 SchemasApi
276
+ * @memberof ApisApi
240
277
  */
241
- getSchema(requestParameters: SchemasApiGetSchemaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Schema, any>>;
278
+ getApi(requestParameters: ApisApiGetApiRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Api, any>>;
242
279
  /**
243
- * List all available schemas
244
- * @summary List schemas
245
- * @param {SchemasApiListSchemasRequest} requestParameters Request parameters.
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 SchemasApi
285
+ * @memberof ApisApi
249
286
  */
250
- listSchemas(requestParameters?: SchemasApiListSchemasRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Schemas, any>>;
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.2
7
+ * The version of the OpenAPI document: 0.2.4
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
- * SchemasApi - axios parameter creator
30
+ * ApisApi - axios parameter creator
31
31
  * @export
32
32
  */
33
- export const SchemasApiAxiosParamCreator = function (configuration) {
33
+ export const ApisApiAxiosParamCreator = function (configuration) {
34
34
  return {
35
35
  /**
36
- * Get an API schema
37
- * @summary Get schema
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
- getSchema: (api_1, project_1, ...args_1) => __awaiter(this, [api_1, project_1, ...args_1], void 0, function* (api, project, options = {}) {
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('getSchema', 'api', api);
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 schemas
75
- * @summary List schemas
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
- listSchemas: (project_1, search_1, ...args_1) => __awaiter(this, [project_1, search_1, ...args_1], void 0, function* (project, search, options = {}) {
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
- * SchemasApi - functional programming interface
114
+ * ApisApi - functional programming interface
115
115
  * @export
116
116
  */
117
- export const SchemasApiFp = function (configuration) {
118
- const localVarAxiosParamCreator = SchemasApiAxiosParamCreator(configuration);
117
+ export const ApisApiFp = function (configuration) {
118
+ const localVarAxiosParamCreator = ApisApiAxiosParamCreator(configuration);
119
119
  return {
120
120
  /**
121
- * Get an API schema
122
- * @summary Get schema
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
- getSchema(api, project, options) {
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.getSchema(api, project, options);
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['SchemasApi.getSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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 schemas
139
- * @summary List schemas
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
- listSchemas(project, search, options) {
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.listSchemas(project, search, options);
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['SchemasApi.listSchemas']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
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
- * SchemasApi - factory interface
157
+ * ApisApi - factory interface
158
158
  * @export
159
159
  */
160
- export const SchemasApiFactory = function (configuration, basePath, axios) {
161
- const localVarFp = SchemasApiFp(configuration);
160
+ export const ApisApiFactory = function (configuration, basePath, axios) {
161
+ const localVarFp = ApisApiFp(configuration);
162
162
  return {
163
163
  /**
164
- * Get an API schema
165
- * @summary Get schema
166
- * @param {SchemasApiGetSchemaRequest} requestParameters Request parameters.
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
- getSchema(requestParameters, options) {
171
- return localVarFp.getSchema(requestParameters.api, requestParameters.project, options).then((request) => request(axios, basePath));
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 schemas
175
- * @summary List schemas
176
- * @param {SchemasApiListSchemasRequest} requestParameters Request parameters.
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
- listSchemas(requestParameters = {}, options) {
181
- return localVarFp.listSchemas(requestParameters.project, requestParameters.search, options).then((request) => request(axios, basePath));
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
- * SchemasApi - object-oriented interface
186
+ * ApisApi - object-oriented interface
187
187
  * @export
188
- * @class SchemasApi
188
+ * @class ApisApi
189
189
  * @extends {BaseAPI}
190
190
  */
191
- export class SchemasApi extends BaseAPI {
191
+ export class ApisApi extends BaseAPI {
192
192
  /**
193
- * Get an API schema
194
- * @summary Get schema
195
- * @param {SchemasApiGetSchemaRequest} requestParameters Request parameters.
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 SchemasApi
198
+ * @memberof ApisApi
199
199
  */
200
- getSchema(requestParameters, options) {
201
- return SchemasApiFp(this.configuration).getSchema(requestParameters.api, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
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 schemas
205
- * @summary List schemas
206
- * @param {SchemasApiListSchemasRequest} requestParameters Request parameters.
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 SchemasApi
209
+ * @memberof ApisApi
210
210
  */
211
- listSchemas(requestParameters = {}, options) {
212
- return SchemasApiFp(this.configuration).listSchemas(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
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
  }
@@ -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.2
5
+ * The version of the OpenAPI document: 0.2.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.2
7
+ * The version of the OpenAPI document: 0.2.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.2
5
+ * The version of the OpenAPI document: 0.2.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -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.2
7
+ * The version of the OpenAPI document: 0.2.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.2
5
+ * The version of the OpenAPI document: 0.2.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.2
7
+ * The version of the OpenAPI document: 0.2.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,13 +13,14 @@
13
13
  */
14
14
  export class Configuration {
15
15
  constructor(param = {}) {
16
+ var _a;
16
17
  this.apiKey = param.apiKey;
17
18
  this.username = param.username;
18
19
  this.password = param.password;
19
20
  this.accessToken = param.accessToken;
20
21
  this.basePath = param.basePath;
21
22
  this.serverIndex = param.serverIndex;
22
- this.baseOptions = param.baseOptions;
23
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
23
24
  this.formDataCtor = param.formDataCtor;
24
25
  }
25
26
  /**
@@ -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.2
5
+ * The version of the OpenAPI document: 0.2.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.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.2
7
+ * The version of the OpenAPI document: 0.2.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.2
5
+ * The version of the OpenAPI document: 0.2.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).