@teemill/schema 0.1.3 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/schema@0.1.3
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.1.3 --save
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.1.3
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).
@@ -48,6 +48,12 @@ export interface ApiError {
48
48
  * @interface Schema
49
49
  */
50
50
  export interface Schema {
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof Schema
55
+ */
56
+ 'id': string;
51
57
  /**
52
58
  *
53
59
  * @type {string}
@@ -66,6 +72,12 @@ export interface Schema {
66
72
  * @memberof Schema
67
73
  */
68
74
  'version': string;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof Schema
79
+ */
80
+ 'updatedAt': string;
69
81
  /**
70
82
  *
71
83
  * @type {Array<string>}
@@ -122,11 +134,12 @@ export const SchemasApiAxiosParamCreator = function (configuration?: Configurati
122
134
  * Get an API schema
123
135
  * @summary Get schema
124
136
  * @param {string} api API name
137
+ * @param {string} [search] Search term used to filter results by name or identifier
125
138
  * @param {string} [project] Project unique identifier
126
139
  * @param {*} [options] Override http request option.
127
140
  * @throws {RequiredError}
128
141
  */
129
- getSchema: async (api: string, project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
142
+ getSchema: async (api: string, search?: string, project?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
130
143
  // verify required parameter 'api' is not null or undefined
131
144
  assertParamExists('getSchema', 'api', api)
132
145
  const localVarPath = `/{api}`
@@ -149,6 +162,10 @@ export const SchemasApiAxiosParamCreator = function (configuration?: Configurati
149
162
  // authentication api-key required
150
163
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
151
164
 
165
+ if (search !== undefined) {
166
+ localVarQueryParameter['search'] = search;
167
+ }
168
+
152
169
  if (project !== undefined) {
153
170
  localVarQueryParameter['project'] = project;
154
171
  }
@@ -220,12 +237,13 @@ export const SchemasApiFp = function(configuration?: Configuration) {
220
237
  * Get an API schema
221
238
  * @summary Get schema
222
239
  * @param {string} api API name
240
+ * @param {string} [search] Search term used to filter results by name or identifier
223
241
  * @param {string} [project] Project unique identifier
224
242
  * @param {*} [options] Override http request option.
225
243
  * @throws {RequiredError}
226
244
  */
227
- async getSchema(api: string, project?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Schema>> {
228
- 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);
229
247
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
230
248
  const localVarOperationServerBasePath = operationServerMap['SchemasApi.getSchema']?.[localVarOperationServerIndex]?.url;
231
249
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -261,7 +279,7 @@ export const SchemasApiFactory = function (configuration?: Configuration, basePa
261
279
  * @throws {RequiredError}
262
280
  */
263
281
  getSchema(requestParameters: SchemasApiGetSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<Schema> {
264
- 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));
265
283
  },
266
284
  /**
267
285
  * List all available schemas
@@ -289,6 +307,13 @@ export interface SchemasApiGetSchemaRequest {
289
307
  */
290
308
  readonly api: string
291
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
+
292
317
  /**
293
318
  * Project unique identifier
294
319
  * @type {string}
@@ -327,7 +352,7 @@ export class SchemasApi extends BaseAPI {
327
352
  * @memberof SchemasApi
328
353
  */
329
354
  public getSchema(requestParameters: SchemasApiGetSchemaRequest, options?: RawAxiosRequestConfig) {
330
- 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));
331
356
  }
332
357
 
333
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.1.3
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.1.3
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.1.3
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.1.3
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).
@@ -38,6 +38,12 @@ export interface ApiError {
38
38
  * @interface Schema
39
39
  */
40
40
  export interface Schema {
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof Schema
45
+ */
46
+ 'id': string;
41
47
  /**
42
48
  *
43
49
  * @type {string}
@@ -56,6 +62,12 @@ export interface Schema {
56
62
  * @memberof Schema
57
63
  */
58
64
  'version': string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof Schema
69
+ */
70
+ 'updatedAt': string;
59
71
  /**
60
72
  *
61
73
  * @type {Array<string>}
@@ -112,11 +124,12 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
112
124
  * Get an API schema
113
125
  * @summary Get schema
114
126
  * @param {string} api API name
127
+ * @param {string} [search] Search term used to filter results by name or identifier
115
128
  * @param {string} [project] Project unique identifier
116
129
  * @param {*} [options] Override http request option.
117
130
  * @throws {RequiredError}
118
131
  */
119
- getSchema: (api: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
132
+ getSchema: (api: string, search?: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
120
133
  /**
121
134
  * List all available schemas
122
135
  * @summary List schemas
@@ -135,11 +148,12 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
135
148
  * Get an API schema
136
149
  * @summary Get schema
137
150
  * @param {string} api API name
151
+ * @param {string} [search] Search term used to filter results by name or identifier
138
152
  * @param {string} [project] Project unique identifier
139
153
  * @param {*} [options] Override http request option.
140
154
  * @throws {RequiredError}
141
155
  */
142
- 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>>;
143
157
  /**
144
158
  * List all available schemas
145
159
  * @summary List schemas
@@ -183,6 +197,12 @@ export interface SchemasApiGetSchemaRequest {
183
197
  * @memberof SchemasApiGetSchema
184
198
  */
185
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;
186
206
  /**
187
207
  * Project unique identifier
188
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.1.3
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.1.3
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.1.3
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.1.3
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.1.3
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).
@@ -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.3
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).
@@ -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.3
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.1.3
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).
@@ -38,6 +38,12 @@ export interface ApiError {
38
38
  * @interface Schema
39
39
  */
40
40
  export interface Schema {
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof Schema
45
+ */
46
+ 'id': string;
41
47
  /**
42
48
  *
43
49
  * @type {string}
@@ -56,6 +62,12 @@ export interface Schema {
56
62
  * @memberof Schema
57
63
  */
58
64
  'version': string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof Schema
69
+ */
70
+ 'updatedAt': string;
59
71
  /**
60
72
  *
61
73
  * @type {Array<string>}
@@ -112,11 +124,12 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
112
124
  * Get an API schema
113
125
  * @summary Get schema
114
126
  * @param {string} api API name
127
+ * @param {string} [search] Search term used to filter results by name or identifier
115
128
  * @param {string} [project] Project unique identifier
116
129
  * @param {*} [options] Override http request option.
117
130
  * @throws {RequiredError}
118
131
  */
119
- getSchema: (api: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
132
+ getSchema: (api: string, search?: string, project?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
120
133
  /**
121
134
  * List all available schemas
122
135
  * @summary List schemas
@@ -135,11 +148,12 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
135
148
  * Get an API schema
136
149
  * @summary Get schema
137
150
  * @param {string} api API name
151
+ * @param {string} [search] Search term used to filter results by name or identifier
138
152
  * @param {string} [project] Project unique identifier
139
153
  * @param {*} [options] Override http request option.
140
154
  * @throws {RequiredError}
141
155
  */
142
- 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>>;
143
157
  /**
144
158
  * List all available schemas
145
159
  * @summary List schemas
@@ -183,6 +197,12 @@ export interface SchemasApiGetSchemaRequest {
183
197
  * @memberof SchemasApiGetSchema
184
198
  */
185
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;
186
206
  /**
187
207
  * Project unique identifier
188
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.1.3
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
@@ -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.3
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.1.3
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.1.3
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.1.3
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.1.3
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.1.3
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.1.3
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.1.3
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.1.3
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.1.3
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.1.3
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/schema",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "description": "OpenAPI client for @teemill/schema",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {