@teemill/schema 0.1.4 → 0.2.1
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
|
|
1
|
+
## @teemill/schema@0.2.1
|
|
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.1
|
|
39
|
+
npm install @teemill/schema@0.2.1 --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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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>}
|
|
@@ -174,10 +180,11 @@ export const SchemasApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
174
180
|
* List all available schemas
|
|
175
181
|
* @summary List schemas
|
|
176
182
|
* @param {string} [project] Project unique identifier
|
|
183
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
177
184
|
* @param {*} [options] Override http request option.
|
|
178
185
|
* @throws {RequiredError}
|
|
179
186
|
*/
|
|
180
|
-
listSchemas: async (project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
187
|
+
listSchemas: async (project?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
181
188
|
const localVarPath = `/`;
|
|
182
189
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
183
190
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -201,6 +208,10 @@ export const SchemasApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
201
208
|
localVarQueryParameter['project'] = project;
|
|
202
209
|
}
|
|
203
210
|
|
|
211
|
+
if (search !== undefined) {
|
|
212
|
+
localVarQueryParameter['search'] = search;
|
|
213
|
+
}
|
|
214
|
+
|
|
204
215
|
|
|
205
216
|
|
|
206
217
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -240,11 +251,12 @@ export const SchemasApiFp = function(configuration?: Configuration) {
|
|
|
240
251
|
* List all available schemas
|
|
241
252
|
* @summary List schemas
|
|
242
253
|
* @param {string} [project] Project unique identifier
|
|
254
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
243
255
|
* @param {*} [options] Override http request option.
|
|
244
256
|
* @throws {RequiredError}
|
|
245
257
|
*/
|
|
246
|
-
async listSchemas(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schemas>> {
|
|
247
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSchemas(project, options);
|
|
258
|
+
async listSchemas(project?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schemas>> {
|
|
259
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSchemas(project, search, options);
|
|
248
260
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
249
261
|
const localVarOperationServerBasePath = operationServerMap['SchemasApi.listSchemas']?.[localVarOperationServerIndex]?.url;
|
|
250
262
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -277,7 +289,7 @@ export const SchemasApiFactory = function (configuration?: Configuration, basePa
|
|
|
277
289
|
* @throws {RequiredError}
|
|
278
290
|
*/
|
|
279
291
|
listSchemas(requestParameters: SchemasApiListSchemasRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Schemas> {
|
|
280
|
-
return localVarFp.listSchemas(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
292
|
+
return localVarFp.listSchemas(requestParameters.project, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
281
293
|
},
|
|
282
294
|
};
|
|
283
295
|
};
|
|
@@ -315,6 +327,13 @@ export interface SchemasApiListSchemasRequest {
|
|
|
315
327
|
* @memberof SchemasApiListSchemas
|
|
316
328
|
*/
|
|
317
329
|
readonly project?: string
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Search term used to filter results by name or identifier
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof SchemasApiListSchemas
|
|
335
|
+
*/
|
|
336
|
+
readonly search?: string
|
|
318
337
|
}
|
|
319
338
|
|
|
320
339
|
/**
|
|
@@ -345,7 +364,7 @@ export class SchemasApi extends BaseAPI {
|
|
|
345
364
|
* @memberof SchemasApi
|
|
346
365
|
*/
|
|
347
366
|
public listSchemas(requestParameters: SchemasApiListSchemasRequest = {}, options?: RawAxiosRequestConfig) {
|
|
348
|
-
return SchemasApiFp(this.configuration).listSchemas(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
367
|
+
return SchemasApiFp(this.configuration).listSchemas(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
349
368
|
}
|
|
350
369
|
}
|
|
351
370
|
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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>}
|
|
@@ -127,10 +133,11 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
|
|
|
127
133
|
* List all available schemas
|
|
128
134
|
* @summary List schemas
|
|
129
135
|
* @param {string} [project] Project unique identifier
|
|
136
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
130
137
|
* @param {*} [options] Override http request option.
|
|
131
138
|
* @throws {RequiredError}
|
|
132
139
|
*/
|
|
133
|
-
listSchemas: (project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
140
|
+
listSchemas: (project?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
134
141
|
};
|
|
135
142
|
/**
|
|
136
143
|
* SchemasApi - functional programming interface
|
|
@@ -150,10 +157,11 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
|
|
|
150
157
|
* List all available schemas
|
|
151
158
|
* @summary List schemas
|
|
152
159
|
* @param {string} [project] Project unique identifier
|
|
160
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
153
161
|
* @param {*} [options] Override http request option.
|
|
154
162
|
* @throws {RequiredError}
|
|
155
163
|
*/
|
|
156
|
-
listSchemas(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schemas>>;
|
|
164
|
+
listSchemas(project?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schemas>>;
|
|
157
165
|
};
|
|
158
166
|
/**
|
|
159
167
|
* SchemasApi - factory interface
|
|
@@ -208,6 +216,12 @@ export interface SchemasApiListSchemasRequest {
|
|
|
208
216
|
* @memberof SchemasApiListSchemas
|
|
209
217
|
*/
|
|
210
218
|
readonly project?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Search term used to filter results by name or identifier
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof SchemasApiListSchemas
|
|
223
|
+
*/
|
|
224
|
+
readonly search?: string;
|
|
211
225
|
}
|
|
212
226
|
/**
|
|
213
227
|
* SchemasApi - object-oriented interface
|
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.1
|
|
8
|
+
* The version of the OpenAPI document: 0.2.1
|
|
9
9
|
* Contact: hello@podos.io
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -77,10 +77,11 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
77
77
|
* List all available schemas
|
|
78
78
|
* @summary List schemas
|
|
79
79
|
* @param {string} [project] Project unique identifier
|
|
80
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
80
81
|
* @param {*} [options] Override http request option.
|
|
81
82
|
* @throws {RequiredError}
|
|
82
83
|
*/
|
|
83
|
-
listSchemas: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
84
|
+
listSchemas: (project_1, search_1, ...args_1) => __awaiter(this, [project_1, search_1, ...args_1], void 0, function* (project, search, options = {}) {
|
|
84
85
|
const localVarPath = `/`;
|
|
85
86
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
87
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -99,6 +100,9 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
99
100
|
if (project !== undefined) {
|
|
100
101
|
localVarQueryParameter['project'] = project;
|
|
101
102
|
}
|
|
103
|
+
if (search !== undefined) {
|
|
104
|
+
localVarQueryParameter['search'] = search;
|
|
105
|
+
}
|
|
102
106
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
103
107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
108
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -138,13 +142,14 @@ const SchemasApiFp = function (configuration) {
|
|
|
138
142
|
* List all available schemas
|
|
139
143
|
* @summary List schemas
|
|
140
144
|
* @param {string} [project] Project unique identifier
|
|
145
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
141
146
|
* @param {*} [options] Override http request option.
|
|
142
147
|
* @throws {RequiredError}
|
|
143
148
|
*/
|
|
144
|
-
listSchemas(project, options) {
|
|
149
|
+
listSchemas(project, search, options) {
|
|
145
150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
146
151
|
var _a, _b, _c;
|
|
147
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSchemas(project, options);
|
|
152
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSchemas(project, search, options);
|
|
148
153
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
149
154
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SchemasApi.listSchemas']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
150
155
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -178,7 +183,7 @@ const SchemasApiFactory = function (configuration, basePath, axios) {
|
|
|
178
183
|
* @throws {RequiredError}
|
|
179
184
|
*/
|
|
180
185
|
listSchemas(requestParameters = {}, options) {
|
|
181
|
-
return localVarFp.listSchemas(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
186
|
+
return localVarFp.listSchemas(requestParameters.project, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
182
187
|
},
|
|
183
188
|
};
|
|
184
189
|
};
|
|
@@ -210,7 +215,7 @@ class SchemasApi extends base_1.BaseAPI {
|
|
|
210
215
|
* @memberof SchemasApi
|
|
211
216
|
*/
|
|
212
217
|
listSchemas(requestParameters = {}, options) {
|
|
213
|
-
return (0, exports.SchemasApiFp)(this.configuration).listSchemas(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
218
|
+
return (0, exports.SchemasApiFp)(this.configuration).listSchemas(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
214
219
|
}
|
|
215
220
|
}
|
|
216
221
|
exports.SchemasApi = SchemasApi;
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
8
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
8
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
8
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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>}
|
|
@@ -127,10 +133,11 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
|
|
|
127
133
|
* List all available schemas
|
|
128
134
|
* @summary List schemas
|
|
129
135
|
* @param {string} [project] Project unique identifier
|
|
136
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
130
137
|
* @param {*} [options] Override http request option.
|
|
131
138
|
* @throws {RequiredError}
|
|
132
139
|
*/
|
|
133
|
-
listSchemas: (project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
140
|
+
listSchemas: (project?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
134
141
|
};
|
|
135
142
|
/**
|
|
136
143
|
* SchemasApi - functional programming interface
|
|
@@ -150,10 +157,11 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
|
|
|
150
157
|
* List all available schemas
|
|
151
158
|
* @summary List schemas
|
|
152
159
|
* @param {string} [project] Project unique identifier
|
|
160
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
153
161
|
* @param {*} [options] Override http request option.
|
|
154
162
|
* @throws {RequiredError}
|
|
155
163
|
*/
|
|
156
|
-
listSchemas(project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schemas>>;
|
|
164
|
+
listSchemas(project?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schemas>>;
|
|
157
165
|
};
|
|
158
166
|
/**
|
|
159
167
|
* SchemasApi - factory interface
|
|
@@ -208,6 +216,12 @@ export interface SchemasApiListSchemasRequest {
|
|
|
208
216
|
* @memberof SchemasApiListSchemas
|
|
209
217
|
*/
|
|
210
218
|
readonly project?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Search term used to filter results by name or identifier
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof SchemasApiListSchemas
|
|
223
|
+
*/
|
|
224
|
+
readonly search?: string;
|
|
211
225
|
}
|
|
212
226
|
/**
|
|
213
227
|
* SchemasApi - object-oriented interface
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -74,10 +74,11 @@ export const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
74
74
|
* List all available schemas
|
|
75
75
|
* @summary List schemas
|
|
76
76
|
* @param {string} [project] Project unique identifier
|
|
77
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
77
78
|
* @param {*} [options] Override http request option.
|
|
78
79
|
* @throws {RequiredError}
|
|
79
80
|
*/
|
|
80
|
-
listSchemas: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
81
|
+
listSchemas: (project_1, search_1, ...args_1) => __awaiter(this, [project_1, search_1, ...args_1], void 0, function* (project, search, options = {}) {
|
|
81
82
|
const localVarPath = `/`;
|
|
82
83
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
84
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -96,6 +97,9 @@ export const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
96
97
|
if (project !== undefined) {
|
|
97
98
|
localVarQueryParameter['project'] = project;
|
|
98
99
|
}
|
|
100
|
+
if (search !== undefined) {
|
|
101
|
+
localVarQueryParameter['search'] = search;
|
|
102
|
+
}
|
|
99
103
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
100
104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101
105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -134,13 +138,14 @@ export const SchemasApiFp = function (configuration) {
|
|
|
134
138
|
* List all available schemas
|
|
135
139
|
* @summary List schemas
|
|
136
140
|
* @param {string} [project] Project unique identifier
|
|
141
|
+
* @param {string} [search] Search term used to filter results by name or identifier
|
|
137
142
|
* @param {*} [options] Override http request option.
|
|
138
143
|
* @throws {RequiredError}
|
|
139
144
|
*/
|
|
140
|
-
listSchemas(project, options) {
|
|
145
|
+
listSchemas(project, search, options) {
|
|
141
146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
142
147
|
var _a, _b, _c;
|
|
143
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSchemas(project, options);
|
|
148
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSchemas(project, search, options);
|
|
144
149
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
145
150
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SchemasApi.listSchemas']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
146
151
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -173,7 +178,7 @@ export const SchemasApiFactory = function (configuration, basePath, axios) {
|
|
|
173
178
|
* @throws {RequiredError}
|
|
174
179
|
*/
|
|
175
180
|
listSchemas(requestParameters = {}, options) {
|
|
176
|
-
return localVarFp.listSchemas(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
181
|
+
return localVarFp.listSchemas(requestParameters.project, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
177
182
|
},
|
|
178
183
|
};
|
|
179
184
|
};
|
|
@@ -204,6 +209,6 @@ export class SchemasApi extends BaseAPI {
|
|
|
204
209
|
* @memberof SchemasApi
|
|
205
210
|
*/
|
|
206
211
|
listSchemas(requestParameters = {}, options) {
|
|
207
|
-
return SchemasApiFp(this.configuration).listSchemas(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
212
|
+
return SchemasApiFp(this.configuration).listSchemas(requestParameters.project, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
208
213
|
}
|
|
209
214
|
}
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
5
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
8
|
+
* The version of the OpenAPI document: 0.2.1
|
|
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.1
|
|
7
|
+
* The version of the OpenAPI document: 0.2.1
|
|
8
8
|
* Contact: hello@podos.io
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|