@teemill/schema 0.1.4 → 0.2.0
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 +26 -7
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +18 -4
- package/dist/api.js +11 -6
- 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 +18 -4
- package/dist/esm/api.js +11 -6
- 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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/schema@0.
|
|
1
|
+
## @teemill/schema@0.2.0
|
|
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.
|
|
39
|
+
npm install @teemill/schema@0.2.0 --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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -53,7 +53,7 @@ export interface Schema {
|
|
|
53
53
|
* @type {string}
|
|
54
54
|
* @memberof Schema
|
|
55
55
|
*/
|
|
56
|
-
'id'
|
|
56
|
+
'id': string;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
* @type {string}
|
|
@@ -72,6 +72,12 @@ export interface Schema {
|
|
|
72
72
|
* @memberof Schema
|
|
73
73
|
*/
|
|
74
74
|
'version': string;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof Schema
|
|
79
|
+
*/
|
|
80
|
+
'updatedAt': string;
|
|
75
81
|
/**
|
|
76
82
|
*
|
|
77
83
|
* @type {Array<string>}
|
|
@@ -128,11 +134,12 @@ export const SchemasApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
128
134
|
* Get an API schema
|
|
129
135
|
* @summary Get schema
|
|
130
136
|
* @param {string} api API name
|
|
137
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
131
138
|
* @param {string} [project] Project unique identifier
|
|
132
139
|
* @param {*} [options] Override http request option.
|
|
133
140
|
* @throws {RequiredError}
|
|
134
141
|
*/
|
|
135
|
-
getSchema: async (api: string, project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
|
+
getSchema: async (api: string, search?: string, project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
136
143
|
// verify required parameter 'api' is not null or undefined
|
|
137
144
|
assertParamExists('getSchema', 'api', api)
|
|
138
145
|
const localVarPath = `/{api}`
|
|
@@ -155,6 +162,10 @@ export const SchemasApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
155
162
|
// authentication api-key required
|
|
156
163
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
157
164
|
|
|
165
|
+
if (search !== undefined) {
|
|
166
|
+
localVarQueryParameter['search'] = search;
|
|
167
|
+
}
|
|
168
|
+
|
|
158
169
|
if (project !== undefined) {
|
|
159
170
|
localVarQueryParameter['project'] = project;
|
|
160
171
|
}
|
|
@@ -226,12 +237,13 @@ export const SchemasApiFp = function(configuration?: Configuration) {
|
|
|
226
237
|
* Get an API schema
|
|
227
238
|
* @summary Get schema
|
|
228
239
|
* @param {string} api API name
|
|
240
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
229
241
|
* @param {string} [project] Project unique identifier
|
|
230
242
|
* @param {*} [options] Override http request option.
|
|
231
243
|
* @throws {RequiredError}
|
|
232
244
|
*/
|
|
233
|
-
async getSchema(api: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schema>> {
|
|
234
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchema(api, project, options);
|
|
245
|
+
async getSchema(api: string, search?: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schema>> {
|
|
246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchema(api, search, project, options);
|
|
235
247
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
236
248
|
const localVarOperationServerBasePath = operationServerMap['SchemasApi.getSchema']?.[localVarOperationServerIndex]?.url;
|
|
237
249
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -267,7 +279,7 @@ export const SchemasApiFactory = function (configuration?: Configuration, basePa
|
|
|
267
279
|
* @throws {RequiredError}
|
|
268
280
|
*/
|
|
269
281
|
getSchema(requestParameters: SchemasApiGetSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<Schema> {
|
|
270
|
-
return localVarFp.getSchema(requestParameters.api, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
282
|
+
return localVarFp.getSchema(requestParameters.api, requestParameters.search, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
271
283
|
},
|
|
272
284
|
/**
|
|
273
285
|
* List all available schemas
|
|
@@ -295,6 +307,13 @@ export interface SchemasApiGetSchemaRequest {
|
|
|
295
307
|
*/
|
|
296
308
|
readonly api: string
|
|
297
309
|
|
|
310
|
+
/**
|
|
311
|
+
* Search term used to filter results by name or identifier
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof SchemasApiGetSchema
|
|
314
|
+
*/
|
|
315
|
+
readonly search?: string
|
|
316
|
+
|
|
298
317
|
/**
|
|
299
318
|
* Project unique identifier
|
|
300
319
|
* @type {string}
|
|
@@ -333,7 +352,7 @@ export class SchemasApi extends BaseAPI {
|
|
|
333
352
|
* @memberof SchemasApi
|
|
334
353
|
*/
|
|
335
354
|
public getSchema(requestParameters: SchemasApiGetSchemaRequest, options?: RawAxiosRequestConfig) {
|
|
336
|
-
return SchemasApiFp(this.configuration).getSchema(requestParameters.api, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
355
|
+
return SchemasApiFp(this.configuration).getSchema(requestParameters.api, requestParameters.search, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
337
356
|
}
|
|
338
357
|
|
|
339
358
|
/**
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Schema API
|
|
5
5
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Schema API
|
|
5
5
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Schema API
|
|
5
5
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -43,7 +43,7 @@ export interface Schema {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof Schema
|
|
45
45
|
*/
|
|
46
|
-
'id'
|
|
46
|
+
'id': string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {string}
|
|
@@ -62,6 +62,12 @@ export interface Schema {
|
|
|
62
62
|
* @memberof Schema
|
|
63
63
|
*/
|
|
64
64
|
'version': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof Schema
|
|
69
|
+
*/
|
|
70
|
+
'updatedAt': string;
|
|
65
71
|
/**
|
|
66
72
|
*
|
|
67
73
|
* @type {Array<string>}
|
|
@@ -118,11 +124,12 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
|
|
|
118
124
|
* Get an API schema
|
|
119
125
|
* @summary Get schema
|
|
120
126
|
* @param {string} api API name
|
|
127
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
121
128
|
* @param {string} [project] Project unique identifier
|
|
122
129
|
* @param {*} [options] Override http request option.
|
|
123
130
|
* @throws {RequiredError}
|
|
124
131
|
*/
|
|
125
|
-
getSchema: (api: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
|
+
getSchema: (api: string, search?: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
126
133
|
/**
|
|
127
134
|
* List all available schemas
|
|
128
135
|
* @summary List schemas
|
|
@@ -141,11 +148,12 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
|
|
|
141
148
|
* Get an API schema
|
|
142
149
|
* @summary Get schema
|
|
143
150
|
* @param {string} api API name
|
|
151
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
144
152
|
* @param {string} [project] Project unique identifier
|
|
145
153
|
* @param {*} [options] Override http request option.
|
|
146
154
|
* @throws {RequiredError}
|
|
147
155
|
*/
|
|
148
|
-
getSchema(api: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schema>>;
|
|
156
|
+
getSchema(api: string, search?: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schema>>;
|
|
149
157
|
/**
|
|
150
158
|
* List all available schemas
|
|
151
159
|
* @summary List schemas
|
|
@@ -189,6 +197,12 @@ export interface SchemasApiGetSchemaRequest {
|
|
|
189
197
|
* @memberof SchemasApiGetSchema
|
|
190
198
|
*/
|
|
191
199
|
readonly api: string;
|
|
200
|
+
/**
|
|
201
|
+
* Search term used to filter results by name or identifier
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof SchemasApiGetSchema
|
|
204
|
+
*/
|
|
205
|
+
readonly search?: string;
|
|
192
206
|
/**
|
|
193
207
|
* Project unique identifier
|
|
194
208
|
* @type {string}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Schema API
|
|
6
6
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0
|
|
9
9
|
* Contact: hello@podos.io
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,11 +39,12 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
39
39
|
* Get an API schema
|
|
40
40
|
* @summary Get schema
|
|
41
41
|
* @param {string} api API name
|
|
42
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
42
43
|
* @param {string} [project] Project unique identifier
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
getSchema: (api_1, project_1, ...args_1) => __awaiter(this, [api_1, project_1, ...args_1], void 0, function* (api, project, options = {}) {
|
|
47
|
+
getSchema: (api_1, search_1, project_1, ...args_1) => __awaiter(this, [api_1, search_1, project_1, ...args_1], void 0, function* (api, search, project, options = {}) {
|
|
47
48
|
// verify required parameter 'api' is not null or undefined
|
|
48
49
|
(0, common_1.assertParamExists)('getSchema', 'api', api);
|
|
49
50
|
const localVarPath = `/{api}`
|
|
@@ -62,6 +63,9 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
62
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
63
64
|
// authentication api-key required
|
|
64
65
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
66
|
+
if (search !== undefined) {
|
|
67
|
+
localVarQueryParameter['search'] = search;
|
|
68
|
+
}
|
|
65
69
|
if (project !== undefined) {
|
|
66
70
|
localVarQueryParameter['project'] = project;
|
|
67
71
|
}
|
|
@@ -121,14 +125,15 @@ const SchemasApiFp = function (configuration) {
|
|
|
121
125
|
* Get an API schema
|
|
122
126
|
* @summary Get schema
|
|
123
127
|
* @param {string} api API name
|
|
128
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
124
129
|
* @param {string} [project] Project unique identifier
|
|
125
130
|
* @param {*} [options] Override http request option.
|
|
126
131
|
* @throws {RequiredError}
|
|
127
132
|
*/
|
|
128
|
-
getSchema(api, project, options) {
|
|
133
|
+
getSchema(api, search, project, options) {
|
|
129
134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
135
|
var _a, _b, _c;
|
|
131
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSchema(api, project, options);
|
|
136
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSchema(api, search, project, options);
|
|
132
137
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
133
138
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SchemasApi.getSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
134
139
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -168,7 +173,7 @@ const SchemasApiFactory = function (configuration, basePath, axios) {
|
|
|
168
173
|
* @throws {RequiredError}
|
|
169
174
|
*/
|
|
170
175
|
getSchema(requestParameters, options) {
|
|
171
|
-
return localVarFp.getSchema(requestParameters.api, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
176
|
+
return localVarFp.getSchema(requestParameters.api, requestParameters.search, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
172
177
|
},
|
|
173
178
|
/**
|
|
174
179
|
* List all available schemas
|
|
@@ -199,7 +204,7 @@ class SchemasApi extends base_1.BaseAPI {
|
|
|
199
204
|
* @memberof SchemasApi
|
|
200
205
|
*/
|
|
201
206
|
getSchema(requestParameters, options) {
|
|
202
|
-
return (0, exports.SchemasApiFp)(this.configuration).getSchema(requestParameters.api, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
207
|
+
return (0, exports.SchemasApiFp)(this.configuration).getSchema(requestParameters.api, requestParameters.search, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
203
208
|
}
|
|
204
209
|
/**
|
|
205
210
|
* List all available schemas
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Schema API
|
|
6
6
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0
|
|
9
9
|
* Contact: hello@podos.io
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Schema API
|
|
6
6
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0
|
|
9
9
|
* Contact: hello@podos.io
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Schema API
|
|
6
6
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0
|
|
9
9
|
* Contact: hello@podos.io
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -43,7 +43,7 @@ export interface Schema {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof Schema
|
|
45
45
|
*/
|
|
46
|
-
'id'
|
|
46
|
+
'id': string;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
49
|
* @type {string}
|
|
@@ -62,6 +62,12 @@ export interface Schema {
|
|
|
62
62
|
* @memberof Schema
|
|
63
63
|
*/
|
|
64
64
|
'version': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof Schema
|
|
69
|
+
*/
|
|
70
|
+
'updatedAt': string;
|
|
65
71
|
/**
|
|
66
72
|
*
|
|
67
73
|
* @type {Array<string>}
|
|
@@ -118,11 +124,12 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
|
|
|
118
124
|
* Get an API schema
|
|
119
125
|
* @summary Get schema
|
|
120
126
|
* @param {string} api API name
|
|
127
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
121
128
|
* @param {string} [project] Project unique identifier
|
|
122
129
|
* @param {*} [options] Override http request option.
|
|
123
130
|
* @throws {RequiredError}
|
|
124
131
|
*/
|
|
125
|
-
getSchema: (api: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
|
+
getSchema: (api: string, search?: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
126
133
|
/**
|
|
127
134
|
* List all available schemas
|
|
128
135
|
* @summary List schemas
|
|
@@ -141,11 +148,12 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
|
|
|
141
148
|
* Get an API schema
|
|
142
149
|
* @summary Get schema
|
|
143
150
|
* @param {string} api API name
|
|
151
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
144
152
|
* @param {string} [project] Project unique identifier
|
|
145
153
|
* @param {*} [options] Override http request option.
|
|
146
154
|
* @throws {RequiredError}
|
|
147
155
|
*/
|
|
148
|
-
getSchema(api: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schema>>;
|
|
156
|
+
getSchema(api: string, search?: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schema>>;
|
|
149
157
|
/**
|
|
150
158
|
* List all available schemas
|
|
151
159
|
* @summary List schemas
|
|
@@ -189,6 +197,12 @@ export interface SchemasApiGetSchemaRequest {
|
|
|
189
197
|
* @memberof SchemasApiGetSchema
|
|
190
198
|
*/
|
|
191
199
|
readonly api: string;
|
|
200
|
+
/**
|
|
201
|
+
* Search term used to filter results by name or identifier
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof SchemasApiGetSchema
|
|
204
|
+
*/
|
|
205
|
+
readonly search?: string;
|
|
192
206
|
/**
|
|
193
207
|
* Project unique identifier
|
|
194
208
|
* @type {string}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Schema API
|
|
5
5
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -36,11 +36,12 @@ export const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
36
36
|
* Get an API schema
|
|
37
37
|
* @summary Get schema
|
|
38
38
|
* @param {string} api API name
|
|
39
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
39
40
|
* @param {string} [project] Project unique identifier
|
|
40
41
|
* @param {*} [options] Override http request option.
|
|
41
42
|
* @throws {RequiredError}
|
|
42
43
|
*/
|
|
43
|
-
getSchema: (api_1, project_1, ...args_1) => __awaiter(this, [api_1, project_1, ...args_1], void 0, function* (api, project, options = {}) {
|
|
44
|
+
getSchema: (api_1, search_1, project_1, ...args_1) => __awaiter(this, [api_1, search_1, project_1, ...args_1], void 0, function* (api, search, project, options = {}) {
|
|
44
45
|
// verify required parameter 'api' is not null or undefined
|
|
45
46
|
assertParamExists('getSchema', 'api', api);
|
|
46
47
|
const localVarPath = `/{api}`
|
|
@@ -59,6 +60,9 @@ export const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
59
60
|
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
60
61
|
// authentication api-key required
|
|
61
62
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
63
|
+
if (search !== undefined) {
|
|
64
|
+
localVarQueryParameter['search'] = search;
|
|
65
|
+
}
|
|
62
66
|
if (project !== undefined) {
|
|
63
67
|
localVarQueryParameter['project'] = project;
|
|
64
68
|
}
|
|
@@ -117,14 +121,15 @@ export const SchemasApiFp = function (configuration) {
|
|
|
117
121
|
* Get an API schema
|
|
118
122
|
* @summary Get schema
|
|
119
123
|
* @param {string} api API name
|
|
124
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
120
125
|
* @param {string} [project] Project unique identifier
|
|
121
126
|
* @param {*} [options] Override http request option.
|
|
122
127
|
* @throws {RequiredError}
|
|
123
128
|
*/
|
|
124
|
-
getSchema(api, project, options) {
|
|
129
|
+
getSchema(api, search, project, options) {
|
|
125
130
|
return __awaiter(this, void 0, void 0, function* () {
|
|
126
131
|
var _a, _b, _c;
|
|
127
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSchema(api, project, options);
|
|
132
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSchema(api, search, project, options);
|
|
128
133
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
129
134
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SchemasApi.getSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
130
135
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -163,7 +168,7 @@ export const SchemasApiFactory = function (configuration, basePath, axios) {
|
|
|
163
168
|
* @throws {RequiredError}
|
|
164
169
|
*/
|
|
165
170
|
getSchema(requestParameters, options) {
|
|
166
|
-
return localVarFp.getSchema(requestParameters.api, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
171
|
+
return localVarFp.getSchema(requestParameters.api, requestParameters.search, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
167
172
|
},
|
|
168
173
|
/**
|
|
169
174
|
* List all available schemas
|
|
@@ -193,7 +198,7 @@ export class SchemasApi extends BaseAPI {
|
|
|
193
198
|
* @memberof SchemasApi
|
|
194
199
|
*/
|
|
195
200
|
getSchema(requestParameters, options) {
|
|
196
|
-
return SchemasApiFp(this.configuration).getSchema(requestParameters.api, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
201
|
+
return SchemasApiFp(this.configuration).getSchema(requestParameters.api, requestParameters.search, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
197
202
|
}
|
|
198
203
|
/**
|
|
199
204
|
* List all available schemas
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Schema API
|
|
5
5
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Schema API
|
|
3
3
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
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 Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@podos.io
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Schema API
|
|
6
6
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0
|
|
9
9
|
* Contact: hello@podos.io
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Schema API
|
|
5
5
|
* View PodOS API Schemas Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|