@teemill/product-catalog 1.64.1 → 1.68.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 your 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.64.1
7
+ * The version of the OpenAPI document: 1.68.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -35,7 +35,8 @@ export const ApplicationTechnologyEnum = {
35
35
  ManualPrint: 'manual_print',
36
36
  AdditionalApplication: 'additional_application',
37
37
  NotebookSublimation: 'notebook_sublimation',
38
- DuplexPrint: 'duplex_print'
38
+ DuplexPrint: 'duplex_print',
39
+ DuplexInsert: 'duplex_insert'
39
40
  };
40
41
  export const ApplicationPlacementEnum = {
41
42
  Front: 'front',
@@ -50,6 +51,17 @@ export const ApplicationPropertiesPersonalizationRulesFitEnum = {
50
51
  Stretch: 'stretch',
51
52
  Crop: 'crop'
52
53
  };
54
+ export const ApplicationPropertiesPropertiesFontWeightEnum = {
55
+ Lighter: 'lighter',
56
+ Normal: 'normal',
57
+ Bold: 'bold',
58
+ Bolder: 'bolder'
59
+ };
60
+ export const ApplicationPropertiesPropertiesFontStyleEnum = {
61
+ Normal: 'normal',
62
+ Italic: 'italic',
63
+ Oblique: 'oblique'
64
+ };
53
65
  export const AttributeThumbnailTypeEnum = {
54
66
  Text: 'text',
55
67
  Color: 'color',
@@ -64,7 +76,8 @@ export const CreateApplicationTechnologyEnum = {
64
76
  ManualPrint: 'manual_print',
65
77
  AdditionalApplication: 'additional_application',
66
78
  NotebookSublimation: 'notebook_sublimation',
67
- DuplexPrint: 'duplex_print'
79
+ DuplexPrint: 'duplex_print',
80
+ DuplexInsert: 'duplex_insert'
68
81
  };
69
82
  export const CreateApplicationPlacementEnum = {
70
83
  Front: 'front',
@@ -73,6 +86,17 @@ export const CreateApplicationPlacementEnum = {
73
86
  Right: 'right',
74
87
  Neck: 'neck'
75
88
  };
89
+ export const CreateApplicationPropertiesFontWeightEnum = {
90
+ Lighter: 'lighter',
91
+ Normal: 'normal',
92
+ Bold: 'bold',
93
+ Bolder: 'bolder'
94
+ };
95
+ export const CreateApplicationPropertiesFontStyleEnum = {
96
+ Normal: 'normal',
97
+ Italic: 'italic',
98
+ Oblique: 'oblique'
99
+ };
76
100
  export const PriceCurrencyCodeEnum = {
77
101
  Gbp: 'GBP'
78
102
  };
@@ -104,6 +128,443 @@ export const UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyC
104
128
  export const UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = {
105
129
  Gbp: 'GBP'
106
130
  };
131
+ /**
132
+ * ApplicationGroupsApi - axios parameter creator
133
+ * @export
134
+ */
135
+ export const ApplicationGroupsApiAxiosParamCreator = function (configuration) {
136
+ return {
137
+ /**
138
+ * Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
139
+ * @summary Create application group
140
+ * @param {string} project What project it is
141
+ * @param {CreateApplicationGroupRequest} [createApplicationGroupRequest] Create a new application group.
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ createApplicationGroup: (project_1, createApplicationGroupRequest_1, ...args_1) => __awaiter(this, [project_1, createApplicationGroupRequest_1, ...args_1], void 0, function* (project, createApplicationGroupRequest, options = {}) {
146
+ // verify required parameter 'project' is not null or undefined
147
+ assertParamExists('createApplicationGroup', 'project', project);
148
+ const localVarPath = `/v1/catalog/applications/groups`;
149
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
150
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
151
+ let baseOptions;
152
+ if (configuration) {
153
+ baseOptions = configuration.baseOptions;
154
+ }
155
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
156
+ const localVarHeaderParameter = {};
157
+ const localVarQueryParameter = {};
158
+ // authentication session-oauth required
159
+ // oauth required
160
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
161
+ // authentication api-key required
162
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
163
+ if (project !== undefined) {
164
+ localVarQueryParameter['project'] = project;
165
+ }
166
+ localVarHeaderParameter['Content-Type'] = 'application/json';
167
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
168
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
169
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
170
+ localVarRequestOptions.data = serializeDataIfNeeded(createApplicationGroupRequest, localVarRequestOptions, configuration);
171
+ return {
172
+ url: toPathString(localVarUrlObj),
173
+ options: localVarRequestOptions,
174
+ };
175
+ }),
176
+ /**
177
+ * Deletes an existing application group.
178
+ * @summary Delete an application group
179
+ * @param {string} project What project it is
180
+ * @param {string} applicationGroupId Application group\'s unique identifier
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ deleteApplicationGroup: (project_1, applicationGroupId_1, ...args_1) => __awaiter(this, [project_1, applicationGroupId_1, ...args_1], void 0, function* (project, applicationGroupId, options = {}) {
185
+ // verify required parameter 'project' is not null or undefined
186
+ assertParamExists('deleteApplicationGroup', 'project', project);
187
+ // verify required parameter 'applicationGroupId' is not null or undefined
188
+ assertParamExists('deleteApplicationGroup', 'applicationGroupId', applicationGroupId);
189
+ const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
190
+ .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
191
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
192
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
193
+ let baseOptions;
194
+ if (configuration) {
195
+ baseOptions = configuration.baseOptions;
196
+ }
197
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
198
+ const localVarHeaderParameter = {};
199
+ const localVarQueryParameter = {};
200
+ // authentication session-oauth required
201
+ // oauth required
202
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
203
+ // authentication api-key required
204
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
205
+ if (project !== undefined) {
206
+ localVarQueryParameter['project'] = project;
207
+ }
208
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
209
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
210
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
211
+ return {
212
+ url: toPathString(localVarUrlObj),
213
+ options: localVarRequestOptions,
214
+ };
215
+ }),
216
+ /**
217
+ * Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
218
+ * @summary Get an application group
219
+ * @param {string} project What project it is
220
+ * @param {string} applicationGroupId Application group\'s unique identifier
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ */
224
+ getApplicationGroup: (project_1, applicationGroupId_1, ...args_1) => __awaiter(this, [project_1, applicationGroupId_1, ...args_1], void 0, function* (project, applicationGroupId, options = {}) {
225
+ // verify required parameter 'project' is not null or undefined
226
+ assertParamExists('getApplicationGroup', 'project', project);
227
+ // verify required parameter 'applicationGroupId' is not null or undefined
228
+ assertParamExists('getApplicationGroup', 'applicationGroupId', applicationGroupId);
229
+ const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
230
+ .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
231
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
232
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
233
+ let baseOptions;
234
+ if (configuration) {
235
+ baseOptions = configuration.baseOptions;
236
+ }
237
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
238
+ const localVarHeaderParameter = {};
239
+ const localVarQueryParameter = {};
240
+ // authentication session-oauth required
241
+ // oauth required
242
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
243
+ // authentication api-key required
244
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
245
+ if (project !== undefined) {
246
+ localVarQueryParameter['project'] = project;
247
+ }
248
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
249
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
250
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
251
+ return {
252
+ url: toPathString(localVarUrlObj),
253
+ options: localVarRequestOptions,
254
+ };
255
+ }),
256
+ /**
257
+ * Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
258
+ * @summary List application groups
259
+ * @param {string} project What project it is
260
+ * @param {number} [pageToken] Page reference token
261
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like \'uuid:<id>\', \'name:\"application group name\"\'. Multiple filters can be combined with spaces and commas.
262
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ listApplicationGroups: (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 = {}) {
267
+ // verify required parameter 'project' is not null or undefined
268
+ assertParamExists('listApplicationGroups', 'project', project);
269
+ const localVarPath = `/v1/catalog/applications/groups`;
270
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
271
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
272
+ let baseOptions;
273
+ if (configuration) {
274
+ baseOptions = configuration.baseOptions;
275
+ }
276
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
277
+ const localVarHeaderParameter = {};
278
+ const localVarQueryParameter = {};
279
+ // authentication session-oauth required
280
+ // oauth required
281
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
282
+ // authentication api-key required
283
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
284
+ if (project !== undefined) {
285
+ localVarQueryParameter['project'] = project;
286
+ }
287
+ if (pageToken !== undefined) {
288
+ localVarQueryParameter['pageToken'] = pageToken;
289
+ }
290
+ if (search !== undefined) {
291
+ localVarQueryParameter['search'] = search;
292
+ }
293
+ if (pageSize !== undefined) {
294
+ localVarQueryParameter['pageSize'] = pageSize;
295
+ }
296
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
297
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
298
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
299
+ return {
300
+ url: toPathString(localVarUrlObj),
301
+ options: localVarRequestOptions,
302
+ };
303
+ }),
304
+ /**
305
+ * Updates an existing application group.
306
+ * @summary Update application group
307
+ * @param {string} project What project it is
308
+ * @param {string} applicationGroupId Application group\'s unique identifier
309
+ * @param {UpdateApplicationGroupRequest} [updateApplicationGroupRequest] Update an existing application group.
310
+ * @param {*} [options] Override http request option.
311
+ * @throws {RequiredError}
312
+ */
313
+ updateApplicationGroup: (project_1, applicationGroupId_1, updateApplicationGroupRequest_1, ...args_1) => __awaiter(this, [project_1, applicationGroupId_1, updateApplicationGroupRequest_1, ...args_1], void 0, function* (project, applicationGroupId, updateApplicationGroupRequest, options = {}) {
314
+ // verify required parameter 'project' is not null or undefined
315
+ assertParamExists('updateApplicationGroup', 'project', project);
316
+ // verify required parameter 'applicationGroupId' is not null or undefined
317
+ assertParamExists('updateApplicationGroup', 'applicationGroupId', applicationGroupId);
318
+ const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
319
+ .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
320
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
321
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
322
+ let baseOptions;
323
+ if (configuration) {
324
+ baseOptions = configuration.baseOptions;
325
+ }
326
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
327
+ const localVarHeaderParameter = {};
328
+ const localVarQueryParameter = {};
329
+ // authentication session-oauth required
330
+ // oauth required
331
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
332
+ // authentication api-key required
333
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
334
+ if (project !== undefined) {
335
+ localVarQueryParameter['project'] = project;
336
+ }
337
+ localVarHeaderParameter['Content-Type'] = 'application/json';
338
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
339
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
340
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
341
+ localVarRequestOptions.data = serializeDataIfNeeded(updateApplicationGroupRequest, localVarRequestOptions, configuration);
342
+ return {
343
+ url: toPathString(localVarUrlObj),
344
+ options: localVarRequestOptions,
345
+ };
346
+ }),
347
+ };
348
+ };
349
+ /**
350
+ * ApplicationGroupsApi - functional programming interface
351
+ * @export
352
+ */
353
+ export const ApplicationGroupsApiFp = function (configuration) {
354
+ const localVarAxiosParamCreator = ApplicationGroupsApiAxiosParamCreator(configuration);
355
+ return {
356
+ /**
357
+ * Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
358
+ * @summary Create application group
359
+ * @param {string} project What project it is
360
+ * @param {CreateApplicationGroupRequest} [createApplicationGroupRequest] Create a new application group.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ createApplicationGroup(project, createApplicationGroupRequest, options) {
365
+ return __awaiter(this, void 0, void 0, function* () {
366
+ var _a, _b, _c;
367
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createApplicationGroup(project, createApplicationGroupRequest, options);
368
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
369
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationGroupsApi.createApplicationGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
370
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
371
+ });
372
+ },
373
+ /**
374
+ * Deletes an existing application group.
375
+ * @summary Delete an application group
376
+ * @param {string} project What project it is
377
+ * @param {string} applicationGroupId Application group\'s unique identifier
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ deleteApplicationGroup(project, applicationGroupId, options) {
382
+ return __awaiter(this, void 0, void 0, function* () {
383
+ var _a, _b, _c;
384
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApplicationGroup(project, applicationGroupId, options);
385
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
386
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationGroupsApi.deleteApplicationGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
387
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
388
+ });
389
+ },
390
+ /**
391
+ * Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
392
+ * @summary Get an application group
393
+ * @param {string} project What project it is
394
+ * @param {string} applicationGroupId Application group\'s unique identifier
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ getApplicationGroup(project, applicationGroupId, options) {
399
+ return __awaiter(this, void 0, void 0, function* () {
400
+ var _a, _b, _c;
401
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getApplicationGroup(project, applicationGroupId, options);
402
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
403
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationGroupsApi.getApplicationGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
404
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
405
+ });
406
+ },
407
+ /**
408
+ * Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
409
+ * @summary List application groups
410
+ * @param {string} project What project it is
411
+ * @param {number} [pageToken] Page reference token
412
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like \'uuid:<id>\', \'name:\"application group name\"\'. Multiple filters can be combined with spaces and commas.
413
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ listApplicationGroups(project, pageToken, search, pageSize, options) {
418
+ return __awaiter(this, void 0, void 0, function* () {
419
+ var _a, _b, _c;
420
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listApplicationGroups(project, pageToken, search, pageSize, options);
421
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
422
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationGroupsApi.listApplicationGroups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
423
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
424
+ });
425
+ },
426
+ /**
427
+ * Updates an existing application group.
428
+ * @summary Update application group
429
+ * @param {string} project What project it is
430
+ * @param {string} applicationGroupId Application group\'s unique identifier
431
+ * @param {UpdateApplicationGroupRequest} [updateApplicationGroupRequest] Update an existing application group.
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ updateApplicationGroup(project, applicationGroupId, updateApplicationGroupRequest, options) {
436
+ return __awaiter(this, void 0, void 0, function* () {
437
+ var _a, _b, _c;
438
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateApplicationGroup(project, applicationGroupId, updateApplicationGroupRequest, options);
439
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
440
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationGroupsApi.updateApplicationGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
441
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
442
+ });
443
+ },
444
+ };
445
+ };
446
+ /**
447
+ * ApplicationGroupsApi - factory interface
448
+ * @export
449
+ */
450
+ export const ApplicationGroupsApiFactory = function (configuration, basePath, axios) {
451
+ const localVarFp = ApplicationGroupsApiFp(configuration);
452
+ return {
453
+ /**
454
+ * Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
455
+ * @summary Create application group
456
+ * @param {ApplicationGroupsApiCreateApplicationGroupRequest} requestParameters Request parameters.
457
+ * @param {*} [options] Override http request option.
458
+ * @throws {RequiredError}
459
+ */
460
+ createApplicationGroup(requestParameters, options) {
461
+ return localVarFp.createApplicationGroup(requestParameters.project, requestParameters.createApplicationGroupRequest, options).then((request) => request(axios, basePath));
462
+ },
463
+ /**
464
+ * Deletes an existing application group.
465
+ * @summary Delete an application group
466
+ * @param {ApplicationGroupsApiDeleteApplicationGroupRequest} requestParameters Request parameters.
467
+ * @param {*} [options] Override http request option.
468
+ * @throws {RequiredError}
469
+ */
470
+ deleteApplicationGroup(requestParameters, options) {
471
+ return localVarFp.deleteApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(axios, basePath));
472
+ },
473
+ /**
474
+ * Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
475
+ * @summary Get an application group
476
+ * @param {ApplicationGroupsApiGetApplicationGroupRequest} requestParameters Request parameters.
477
+ * @param {*} [options] Override http request option.
478
+ * @throws {RequiredError}
479
+ */
480
+ getApplicationGroup(requestParameters, options) {
481
+ return localVarFp.getApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(axios, basePath));
482
+ },
483
+ /**
484
+ * Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
485
+ * @summary List application groups
486
+ * @param {ApplicationGroupsApiListApplicationGroupsRequest} requestParameters Request parameters.
487
+ * @param {*} [options] Override http request option.
488
+ * @throws {RequiredError}
489
+ */
490
+ listApplicationGroups(requestParameters, options) {
491
+ return localVarFp.listApplicationGroups(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(axios, basePath));
492
+ },
493
+ /**
494
+ * Updates an existing application group.
495
+ * @summary Update application group
496
+ * @param {ApplicationGroupsApiUpdateApplicationGroupRequest} requestParameters Request parameters.
497
+ * @param {*} [options] Override http request option.
498
+ * @throws {RequiredError}
499
+ */
500
+ updateApplicationGroup(requestParameters, options) {
501
+ return localVarFp.updateApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, requestParameters.updateApplicationGroupRequest, options).then((request) => request(axios, basePath));
502
+ },
503
+ };
504
+ };
505
+ /**
506
+ * ApplicationGroupsApi - object-oriented interface
507
+ * @export
508
+ * @class ApplicationGroupsApi
509
+ * @extends {BaseAPI}
510
+ */
511
+ export class ApplicationGroupsApi extends BaseAPI {
512
+ /**
513
+ * Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
514
+ * @summary Create application group
515
+ * @param {ApplicationGroupsApiCreateApplicationGroupRequest} requestParameters Request parameters.
516
+ * @param {*} [options] Override http request option.
517
+ * @throws {RequiredError}
518
+ * @memberof ApplicationGroupsApi
519
+ */
520
+ createApplicationGroup(requestParameters, options) {
521
+ return ApplicationGroupsApiFp(this.configuration).createApplicationGroup(requestParameters.project, requestParameters.createApplicationGroupRequest, options).then((request) => request(this.axios, this.basePath));
522
+ }
523
+ /**
524
+ * Deletes an existing application group.
525
+ * @summary Delete an application group
526
+ * @param {ApplicationGroupsApiDeleteApplicationGroupRequest} requestParameters Request parameters.
527
+ * @param {*} [options] Override http request option.
528
+ * @throws {RequiredError}
529
+ * @memberof ApplicationGroupsApi
530
+ */
531
+ deleteApplicationGroup(requestParameters, options) {
532
+ return ApplicationGroupsApiFp(this.configuration).deleteApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(this.axios, this.basePath));
533
+ }
534
+ /**
535
+ * Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
536
+ * @summary Get an application group
537
+ * @param {ApplicationGroupsApiGetApplicationGroupRequest} requestParameters Request parameters.
538
+ * @param {*} [options] Override http request option.
539
+ * @throws {RequiredError}
540
+ * @memberof ApplicationGroupsApi
541
+ */
542
+ getApplicationGroup(requestParameters, options) {
543
+ return ApplicationGroupsApiFp(this.configuration).getApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(this.axios, this.basePath));
544
+ }
545
+ /**
546
+ * Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
547
+ * @summary List application groups
548
+ * @param {ApplicationGroupsApiListApplicationGroupsRequest} requestParameters Request parameters.
549
+ * @param {*} [options] Override http request option.
550
+ * @throws {RequiredError}
551
+ * @memberof ApplicationGroupsApi
552
+ */
553
+ listApplicationGroups(requestParameters, options) {
554
+ return ApplicationGroupsApiFp(this.configuration).listApplicationGroups(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
555
+ }
556
+ /**
557
+ * Updates an existing application group.
558
+ * @summary Update application group
559
+ * @param {ApplicationGroupsApiUpdateApplicationGroupRequest} requestParameters Request parameters.
560
+ * @param {*} [options] Override http request option.
561
+ * @throws {RequiredError}
562
+ * @memberof ApplicationGroupsApi
563
+ */
564
+ updateApplicationGroup(requestParameters, options) {
565
+ return ApplicationGroupsApiFp(this.configuration).updateApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, requestParameters.updateApplicationGroupRequest, options).then((request) => request(this.axios, this.basePath));
566
+ }
567
+ }
107
568
  /**
108
569
  * ApplicationSetsApi - axios parameter creator
109
570
  * @export
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * Manage your 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.64.1
5
+ * The version of the OpenAPI document: 1.68.0
6
6
  *
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 your 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.64.1
7
+ * The version of the OpenAPI document: 1.68.0
8
8
  *
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 your 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.64.1
5
+ * The version of the OpenAPI document: 1.68.0
6
6
  *
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 your 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.64.1
7
+ * The version of the OpenAPI document: 1.68.0
8
8
  *
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 your 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.64.1
5
+ * The version of the OpenAPI document: 1.68.0
6
6
  *
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 your 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.64.1
7
+ * The version of the OpenAPI document: 1.68.0
8
8
  *
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 your 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.64.1
5
+ * The version of the OpenAPI document: 1.68.0
6
6
  *
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 your 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.64.1
7
+ * The version of the OpenAPI document: 1.68.0
8
8
  *
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 your 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.64.1
5
+ * The version of the OpenAPI document: 1.68.0
6
6
  *
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 your 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.64.1
8
+ * The version of the OpenAPI document: 1.68.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
11
11
  **additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
12
12
  **src** | **string** | Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. | [optional] [default to undefined]
13
- **group** | **string** | The group of the application. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products. | [optional] [default to undefined]
13
+ **groupRef** | **string** | A reference to the application group. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products. | [optional] [default to undefined]
14
14
  **mockup** | [**ApplicationMockup**](ApplicationMockup.md) | | [optional] [default to undefined]
15
15
  **stockedOnly** | **boolean** | If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF. | [optional] [default to undefined]
16
16
  **properties** | [**ApplicationPropertiesProperties**](ApplicationPropertiesProperties.md) | | [optional] [default to undefined]
@@ -26,7 +26,7 @@ const instance: Application = {
26
26
  placement,
27
27
  additionalInstructions,
28
28
  src,
29
- group,
29
+ groupRef,
30
30
  mockup,
31
31
  stockedOnly,
32
32
  properties,