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