@teemill/product-catalog 1.16.0 → 1.17.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/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.16.0
7
+ * The version of the OpenAPI document: 1.17.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -59,6 +59,443 @@ export const CreateProductVariantRetailPriceCurrencyCodeEnum = {
59
59
  export const PriceCurrencyCodeEnum = {
60
60
  Gbp: 'GBP'
61
61
  };
62
+ /**
63
+ * ApplicationSetsApi - axios parameter creator
64
+ * @export
65
+ */
66
+ export const ApplicationSetsApiAxiosParamCreator = function (configuration) {
67
+ return {
68
+ /**
69
+ * Creates a new application set.
70
+ * @summary Create application set
71
+ * @param {string} project What project it is
72
+ * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ createApplicationSet: (project_1, createApplicationSetRequest_1, ...args_1) => __awaiter(this, [project_1, createApplicationSetRequest_1, ...args_1], void 0, function* (project, createApplicationSetRequest, options = {}) {
77
+ // verify required parameter 'project' is not null or undefined
78
+ assertParamExists('createApplicationSet', 'project', project);
79
+ const localVarPath = `/v1/catalog/applications/sets`;
80
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
81
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
82
+ let baseOptions;
83
+ if (configuration) {
84
+ baseOptions = configuration.baseOptions;
85
+ }
86
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
87
+ const localVarHeaderParameter = {};
88
+ const localVarQueryParameter = {};
89
+ // authentication session-oauth required
90
+ // oauth required
91
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
92
+ // authentication api-key required
93
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
94
+ if (project !== undefined) {
95
+ localVarQueryParameter['project'] = project;
96
+ }
97
+ localVarHeaderParameter['Content-Type'] = 'application/json';
98
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
99
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
100
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
101
+ localVarRequestOptions.data = serializeDataIfNeeded(createApplicationSetRequest, localVarRequestOptions, configuration);
102
+ return {
103
+ url: toPathString(localVarUrlObj),
104
+ options: localVarRequestOptions,
105
+ };
106
+ }),
107
+ /**
108
+ * Deletes an existing application set.
109
+ * @summary Delete an application set
110
+ * @param {string} project What project it is
111
+ * @param {string} applicationSetId Application set\'s unique identifier
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ deleteApplicationSet: (project_1, applicationSetId_1, ...args_1) => __awaiter(this, [project_1, applicationSetId_1, ...args_1], void 0, function* (project, applicationSetId, options = {}) {
116
+ // verify required parameter 'project' is not null or undefined
117
+ assertParamExists('deleteApplicationSet', 'project', project);
118
+ // verify required parameter 'applicationSetId' is not null or undefined
119
+ assertParamExists('deleteApplicationSet', 'applicationSetId', applicationSetId);
120
+ const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
121
+ .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
122
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
123
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
124
+ let baseOptions;
125
+ if (configuration) {
126
+ baseOptions = configuration.baseOptions;
127
+ }
128
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
129
+ const localVarHeaderParameter = {};
130
+ const localVarQueryParameter = {};
131
+ // authentication session-oauth required
132
+ // oauth required
133
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
134
+ // authentication api-key required
135
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
136
+ if (project !== undefined) {
137
+ localVarQueryParameter['project'] = project;
138
+ }
139
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
140
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
141
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
142
+ return {
143
+ url: toPathString(localVarUrlObj),
144
+ options: localVarRequestOptions,
145
+ };
146
+ }),
147
+ /**
148
+ * Get an application by the given id.
149
+ * @summary Get an application set
150
+ * @param {string} project What project it is
151
+ * @param {string} applicationSetId Application set\'s unique identifier
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ getApplicationSet: (project_1, applicationSetId_1, ...args_1) => __awaiter(this, [project_1, applicationSetId_1, ...args_1], void 0, function* (project, applicationSetId, options = {}) {
156
+ // verify required parameter 'project' is not null or undefined
157
+ assertParamExists('getApplicationSet', 'project', project);
158
+ // verify required parameter 'applicationSetId' is not null or undefined
159
+ assertParamExists('getApplicationSet', 'applicationSetId', applicationSetId);
160
+ const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
161
+ .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
162
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
163
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
164
+ let baseOptions;
165
+ if (configuration) {
166
+ baseOptions = configuration.baseOptions;
167
+ }
168
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
169
+ const localVarHeaderParameter = {};
170
+ const localVarQueryParameter = {};
171
+ // authentication session-oauth required
172
+ // oauth required
173
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
174
+ // authentication api-key required
175
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
176
+ if (project !== undefined) {
177
+ localVarQueryParameter['project'] = project;
178
+ }
179
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
180
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
182
+ return {
183
+ url: toPathString(localVarUrlObj),
184
+ options: localVarRequestOptions,
185
+ };
186
+ }),
187
+ /**
188
+ * Lists all application sets that belong to the given project.
189
+ * @summary List application sets
190
+ * @param {string} project What project it is
191
+ * @param {number} [pageToken] Page reference token
192
+ * @param {string} [search] Search term to filter based on product tags.
193
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ listApplicationSets: (project_1, pageToken_1, search_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, pageSize_1, ...args_1], void 0, function* (project, pageToken, search, pageSize, options = {}) {
198
+ // verify required parameter 'project' is not null or undefined
199
+ assertParamExists('listApplicationSets', 'project', project);
200
+ const localVarPath = `/v1/catalog/applications/sets`;
201
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
203
+ let baseOptions;
204
+ if (configuration) {
205
+ baseOptions = configuration.baseOptions;
206
+ }
207
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
208
+ const localVarHeaderParameter = {};
209
+ const localVarQueryParameter = {};
210
+ // authentication session-oauth required
211
+ // oauth required
212
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
213
+ // authentication api-key required
214
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
215
+ if (project !== undefined) {
216
+ localVarQueryParameter['project'] = project;
217
+ }
218
+ if (pageToken !== undefined) {
219
+ localVarQueryParameter['pageToken'] = pageToken;
220
+ }
221
+ if (search !== undefined) {
222
+ localVarQueryParameter['search'] = search;
223
+ }
224
+ if (pageSize !== undefined) {
225
+ localVarQueryParameter['pageSize'] = pageSize;
226
+ }
227
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
228
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
229
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
230
+ return {
231
+ url: toPathString(localVarUrlObj),
232
+ options: localVarRequestOptions,
233
+ };
234
+ }),
235
+ /**
236
+ * Updates an existing application set.
237
+ * @summary Update application set
238
+ * @param {string} project What project it is
239
+ * @param {string} applicationSetId Application set\'s unique identifier
240
+ * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ updateApplicationSet: (project_1, applicationSetId_1, createApplicationSetRequest_1, ...args_1) => __awaiter(this, [project_1, applicationSetId_1, createApplicationSetRequest_1, ...args_1], void 0, function* (project, applicationSetId, createApplicationSetRequest, options = {}) {
245
+ // verify required parameter 'project' is not null or undefined
246
+ assertParamExists('updateApplicationSet', 'project', project);
247
+ // verify required parameter 'applicationSetId' is not null or undefined
248
+ assertParamExists('updateApplicationSet', 'applicationSetId', applicationSetId);
249
+ const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
250
+ .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
251
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
252
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
253
+ let baseOptions;
254
+ if (configuration) {
255
+ baseOptions = configuration.baseOptions;
256
+ }
257
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
258
+ const localVarHeaderParameter = {};
259
+ const localVarQueryParameter = {};
260
+ // authentication session-oauth required
261
+ // oauth required
262
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
263
+ // authentication api-key required
264
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
265
+ if (project !== undefined) {
266
+ localVarQueryParameter['project'] = project;
267
+ }
268
+ localVarHeaderParameter['Content-Type'] = 'application/json';
269
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
270
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
271
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
272
+ localVarRequestOptions.data = serializeDataIfNeeded(createApplicationSetRequest, localVarRequestOptions, configuration);
273
+ return {
274
+ url: toPathString(localVarUrlObj),
275
+ options: localVarRequestOptions,
276
+ };
277
+ }),
278
+ };
279
+ };
280
+ /**
281
+ * ApplicationSetsApi - functional programming interface
282
+ * @export
283
+ */
284
+ export const ApplicationSetsApiFp = function (configuration) {
285
+ const localVarAxiosParamCreator = ApplicationSetsApiAxiosParamCreator(configuration);
286
+ return {
287
+ /**
288
+ * Creates a new application set.
289
+ * @summary Create application set
290
+ * @param {string} project What project it is
291
+ * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
292
+ * @param {*} [options] Override http request option.
293
+ * @throws {RequiredError}
294
+ */
295
+ createApplicationSet(project, createApplicationSetRequest, options) {
296
+ return __awaiter(this, void 0, void 0, function* () {
297
+ var _a, _b, _c;
298
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createApplicationSet(project, createApplicationSetRequest, options);
299
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
300
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationSetsApi.createApplicationSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
301
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
302
+ });
303
+ },
304
+ /**
305
+ * Deletes an existing application set.
306
+ * @summary Delete an application set
307
+ * @param {string} project What project it is
308
+ * @param {string} applicationSetId Application set\'s unique identifier
309
+ * @param {*} [options] Override http request option.
310
+ * @throws {RequiredError}
311
+ */
312
+ deleteApplicationSet(project, applicationSetId, options) {
313
+ return __awaiter(this, void 0, void 0, function* () {
314
+ var _a, _b, _c;
315
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApplicationSet(project, applicationSetId, options);
316
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
317
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationSetsApi.deleteApplicationSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
318
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
319
+ });
320
+ },
321
+ /**
322
+ * Get an application by the given id.
323
+ * @summary Get an application set
324
+ * @param {string} project What project it is
325
+ * @param {string} applicationSetId Application set\'s unique identifier
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ getApplicationSet(project, applicationSetId, options) {
330
+ return __awaiter(this, void 0, void 0, function* () {
331
+ var _a, _b, _c;
332
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getApplicationSet(project, applicationSetId, options);
333
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
334
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationSetsApi.getApplicationSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
335
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
336
+ });
337
+ },
338
+ /**
339
+ * Lists all application sets that belong to the given project.
340
+ * @summary List application sets
341
+ * @param {string} project What project it is
342
+ * @param {number} [pageToken] Page reference token
343
+ * @param {string} [search] Search term to filter based on product tags.
344
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
345
+ * @param {*} [options] Override http request option.
346
+ * @throws {RequiredError}
347
+ */
348
+ listApplicationSets(project, pageToken, search, pageSize, options) {
349
+ return __awaiter(this, void 0, void 0, function* () {
350
+ var _a, _b, _c;
351
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listApplicationSets(project, pageToken, search, pageSize, options);
352
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
353
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationSetsApi.listApplicationSets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
354
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
355
+ });
356
+ },
357
+ /**
358
+ * Updates an existing application set.
359
+ * @summary Update application set
360
+ * @param {string} project What project it is
361
+ * @param {string} applicationSetId Application set\'s unique identifier
362
+ * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ updateApplicationSet(project, applicationSetId, createApplicationSetRequest, options) {
367
+ return __awaiter(this, void 0, void 0, function* () {
368
+ var _a, _b, _c;
369
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId, createApplicationSetRequest, options);
370
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
371
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationSetsApi.updateApplicationSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
372
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
373
+ });
374
+ },
375
+ };
376
+ };
377
+ /**
378
+ * ApplicationSetsApi - factory interface
379
+ * @export
380
+ */
381
+ export const ApplicationSetsApiFactory = function (configuration, basePath, axios) {
382
+ const localVarFp = ApplicationSetsApiFp(configuration);
383
+ return {
384
+ /**
385
+ * Creates a new application set.
386
+ * @summary Create application set
387
+ * @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ */
391
+ createApplicationSet(requestParameters, options) {
392
+ return localVarFp.createApplicationSet(requestParameters.project, requestParameters.createApplicationSetRequest, options).then((request) => request(axios, basePath));
393
+ },
394
+ /**
395
+ * Deletes an existing application set.
396
+ * @summary Delete an application set
397
+ * @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
398
+ * @param {*} [options] Override http request option.
399
+ * @throws {RequiredError}
400
+ */
401
+ deleteApplicationSet(requestParameters, options) {
402
+ return localVarFp.deleteApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(axios, basePath));
403
+ },
404
+ /**
405
+ * Get an application by the given id.
406
+ * @summary Get an application set
407
+ * @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
408
+ * @param {*} [options] Override http request option.
409
+ * @throws {RequiredError}
410
+ */
411
+ getApplicationSet(requestParameters, options) {
412
+ return localVarFp.getApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(axios, basePath));
413
+ },
414
+ /**
415
+ * Lists all application sets that belong to the given project.
416
+ * @summary List application sets
417
+ * @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
418
+ * @param {*} [options] Override http request option.
419
+ * @throws {RequiredError}
420
+ */
421
+ listApplicationSets(requestParameters, options) {
422
+ return localVarFp.listApplicationSets(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(axios, basePath));
423
+ },
424
+ /**
425
+ * Updates an existing application set.
426
+ * @summary Update application set
427
+ * @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
428
+ * @param {*} [options] Override http request option.
429
+ * @throws {RequiredError}
430
+ */
431
+ updateApplicationSet(requestParameters, options) {
432
+ return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.createApplicationSetRequest, options).then((request) => request(axios, basePath));
433
+ },
434
+ };
435
+ };
436
+ /**
437
+ * ApplicationSetsApi - object-oriented interface
438
+ * @export
439
+ * @class ApplicationSetsApi
440
+ * @extends {BaseAPI}
441
+ */
442
+ export class ApplicationSetsApi extends BaseAPI {
443
+ /**
444
+ * Creates a new application set.
445
+ * @summary Create application set
446
+ * @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
447
+ * @param {*} [options] Override http request option.
448
+ * @throws {RequiredError}
449
+ * @memberof ApplicationSetsApi
450
+ */
451
+ createApplicationSet(requestParameters, options) {
452
+ return ApplicationSetsApiFp(this.configuration).createApplicationSet(requestParameters.project, requestParameters.createApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
453
+ }
454
+ /**
455
+ * Deletes an existing application set.
456
+ * @summary Delete an application set
457
+ * @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
458
+ * @param {*} [options] Override http request option.
459
+ * @throws {RequiredError}
460
+ * @memberof ApplicationSetsApi
461
+ */
462
+ deleteApplicationSet(requestParameters, options) {
463
+ return ApplicationSetsApiFp(this.configuration).deleteApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
464
+ }
465
+ /**
466
+ * Get an application by the given id.
467
+ * @summary Get an application set
468
+ * @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ * @memberof ApplicationSetsApi
472
+ */
473
+ getApplicationSet(requestParameters, options) {
474
+ return ApplicationSetsApiFp(this.configuration).getApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
475
+ }
476
+ /**
477
+ * Lists all application sets that belong to the given project.
478
+ * @summary List application sets
479
+ * @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
480
+ * @param {*} [options] Override http request option.
481
+ * @throws {RequiredError}
482
+ * @memberof ApplicationSetsApi
483
+ */
484
+ listApplicationSets(requestParameters, options) {
485
+ return ApplicationSetsApiFp(this.configuration).listApplicationSets(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
486
+ }
487
+ /**
488
+ * Updates an existing application set.
489
+ * @summary Update application set
490
+ * @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
491
+ * @param {*} [options] Override http request option.
492
+ * @throws {RequiredError}
493
+ * @memberof ApplicationSetsApi
494
+ */
495
+ updateApplicationSet(requestParameters, options) {
496
+ return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.createApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
497
+ }
498
+ }
62
499
  /**
63
500
  * ProductsApi - axios parameter creator
64
501
  * @export
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.16.0
5
+ * The version of the OpenAPI document: 1.17.0
6
6
  * Contact: hello@teemill.com
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
  * Product Catalog API
5
5
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.16.0
7
+ * The version of the OpenAPI document: 1.17.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.16.0
5
+ * The version of the OpenAPI document: 1.17.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.16.0
7
+ * The version of the OpenAPI document: 1.17.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.16.0
5
+ * The version of the OpenAPI document: 1.17.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Product Catalog API
5
5
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.16.0
7
+ * The version of the OpenAPI document: 1.17.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.16.0
5
+ * The version of the OpenAPI document: 1.17.0
6
6
  * Contact: hello@teemill.com
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
  * Product Catalog API
5
5
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.16.0
7
+ * The version of the OpenAPI document: 1.17.0
8
8
  * Contact: hello@teemill.com
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
  * Product Catalog API
3
3
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.16.0
5
+ * The version of the OpenAPI document: 1.17.0
6
6
  * Contact: hello@teemill.com
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
  * Product Catalog API
6
6
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.16.0
8
+ * The version of the OpenAPI document: 1.17.0
9
9
  * Contact: hello@teemill.com
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
  * Product Catalog API
5
5
  * Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.16.0
7
+ * The version of the OpenAPI document: 1.17.0
8
8
  * Contact: hello@teemill.com
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/product-catalog",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {