@teemill/product-catalog 1.94.0 → 1.95.3

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.
@@ -78,6 +78,9 @@ docs/ProductAnalytics.md
78
78
  docs/ProductAnalyticsApi.md
79
79
  docs/ProductAnalyticsResponse.md
80
80
  docs/ProductApplicationSetsInner.md
81
+ docs/ProductAttribute.md
82
+ docs/ProductAttributeValue.md
83
+ docs/ProductAttributeValue1.md
81
84
  docs/ProductBundleItemsInner.md
82
85
  docs/ProductCreatorsApi.md
83
86
  docs/ProductGfnProduct.md
@@ -106,6 +109,7 @@ docs/UpdateApplicationSetRequest.md
106
109
  docs/UpdateApplicationSetRequestRecordsInner.md
107
110
  docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md
108
111
  docs/UpdateProductRequest.md
112
+ docs/UpdateProductRequestAttributesInner.md
109
113
  docs/UpdateProductRequestBundleItemsInner.md
110
114
  docs/UpdateProductRequestBundleItemsInnerConfig.md
111
115
  docs/UpdateProductRequestBundleItemsInnerConfigValidOptionsInner.md
@@ -1 +1 @@
1
- 7.21.0
1
+ 7.22.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/product-catalog@1.94.0
1
+ ## @teemill/product-catalog@1.95.3
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/product-catalog@1.94.0 --save
39
+ npm install @teemill/product-catalog@1.95.3 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -154,6 +154,9 @@ Class | Method | HTTP request | Description
154
154
  - [ProductAnalytics](docs/ProductAnalytics.md)
155
155
  - [ProductAnalyticsResponse](docs/ProductAnalyticsResponse.md)
156
156
  - [ProductApplicationSetsInner](docs/ProductApplicationSetsInner.md)
157
+ - [ProductAttribute](docs/ProductAttribute.md)
158
+ - [ProductAttributeValue](docs/ProductAttributeValue.md)
159
+ - [ProductAttributeValue1](docs/ProductAttributeValue1.md)
157
160
  - [ProductBundleItemsInner](docs/ProductBundleItemsInner.md)
158
161
  - [ProductGfnProduct](docs/ProductGfnProduct.md)
159
162
  - [ProductStaticCollectionsInner](docs/ProductStaticCollectionsInner.md)
@@ -179,6 +182,7 @@ Class | Method | HTTP request | Description
179
182
  - [UpdateApplicationSetRequestRecordsInner](docs/UpdateApplicationSetRequestRecordsInner.md)
180
183
  - [UpdateApplicationSetRequestRecordsInnerAttributesInner](docs/UpdateApplicationSetRequestRecordsInnerAttributesInner.md)
181
184
  - [UpdateProductRequest](docs/UpdateProductRequest.md)
185
+ - [UpdateProductRequestAttributesInner](docs/UpdateProductRequestAttributesInner.md)
182
186
  - [UpdateProductRequestBundleItemsInner](docs/UpdateProductRequestBundleItemsInner.md)
183
187
  - [UpdateProductRequestBundleItemsInnerConfig](docs/UpdateProductRequestBundleItemsInnerConfig.md)
184
188
  - [UpdateProductRequestBundleItemsInnerConfigValidOptionsInner](docs/UpdateProductRequestBundleItemsInnerConfigValidOptionsInner.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -128,7 +128,7 @@ export interface Application {
128
128
  */
129
129
  'id'?: string;
130
130
  /**
131
- * The application technology used for this design application. `mug_sublimation` is deprecated. Use `sublimation_small` instead.
131
+ * The application technology used for this design application. `mug_sublimation` is deprecated. Use `mini_sublimation` instead.
132
132
  */
133
133
  'technology': ApplicationTechnologyEnum;
134
134
  /**
@@ -165,7 +165,7 @@ export const ApplicationTechnologyEnum = {
165
165
  Dtf: 'dtf',
166
166
  Pretreat: 'pretreat',
167
167
  MugSublimation: 'mug_sublimation',
168
- SublimationSmall: 'sublimation_small',
168
+ MiniSublimation: 'mini_sublimation',
169
169
  ManualPrint: 'manual_print',
170
170
  AdditionalApplication: 'additional_application',
171
171
  NotebookSublimation: 'notebook_sublimation',
@@ -463,18 +463,21 @@ export interface ApplicationTechnologyIntegrationProduct {
463
463
  */
464
464
  'ref'?: string;
465
465
  }
466
+ /**
467
+ * An attribute associated to a variant such as Colour and Size.
468
+ */
466
469
  export interface Attribute {
467
470
  /**
468
- * Attribute name
471
+ * Variant attribute name
469
472
  */
470
473
  'name': string;
471
474
  /**
472
- * Attribute value
475
+ * Variant attribute value
473
476
  */
474
477
  'value': string;
475
478
  'thumbnail'?: AttributeThumbnail;
476
479
  /**
477
- * Attribute tags
480
+ * Variant attribute tags
478
481
  */
479
482
  'tags'?: Array<string>;
480
483
  }
@@ -645,7 +648,7 @@ export interface BundleProduct {
645
648
  */
646
649
  export interface CreateApplication {
647
650
  /**
648
- * The application technology used for this design application. `mug_sublimation` is deprecated. Use `sublimation_small` instead.
651
+ * The application technology used for this design application. `mug_sublimation` is deprecated. Use `mini_sublimation` instead.
649
652
  */
650
653
  'technology': CreateApplicationTechnologyEnum;
651
654
  /**
@@ -681,7 +684,7 @@ export const CreateApplicationTechnologyEnum = {
681
684
  Dtf: 'dtf',
682
685
  Pretreat: 'pretreat',
683
686
  MugSublimation: 'mug_sublimation',
684
- SublimationSmall: 'sublimation_small',
687
+ MiniSublimation: 'mini_sublimation',
685
688
  ManualPrint: 'manual_print',
686
689
  AdditionalApplication: 'additional_application',
687
690
  NotebookSublimation: 'notebook_sublimation',
@@ -1305,6 +1308,10 @@ export interface Product {
1305
1308
  'targetSearchPhraseData'?: TargetSearchPhraseData;
1306
1309
  'tags'?: Array<string>;
1307
1310
  'internalTags'?: Array<string>;
1311
+ /**
1312
+ * Attributes associated to a product such as product colours and sizes
1313
+ */
1314
+ 'attributes'?: Array<ProductAttribute>;
1308
1315
  'createdAt'?: string;
1309
1316
  'updatedAt'?: string;
1310
1317
  'publishedAt'?: string;
@@ -1458,6 +1465,36 @@ export interface ProductApplicationSetsInner {
1458
1465
  */
1459
1466
  'name'?: string;
1460
1467
  }
1468
+ export interface ProductAttribute {
1469
+ /**
1470
+ * Attribute name, this can only be \'Colour\' or \'Size\' for now
1471
+ */
1472
+ 'name': string;
1473
+ /**
1474
+ * Attribute values
1475
+ */
1476
+ 'values': Array<ProductAttributeValue1>;
1477
+ }
1478
+ export interface ProductAttributeValue {
1479
+ /**
1480
+ * Position of the value when ordered
1481
+ */
1482
+ 'sortOrder': number;
1483
+ /**
1484
+ * The specific size or colour value. This must match the GFN Catalog API exactly.
1485
+ */
1486
+ 'value': string;
1487
+ }
1488
+ export interface ProductAttributeValue1 {
1489
+ /**
1490
+ * Position of the value when ordered
1491
+ */
1492
+ 'sortOrder': number;
1493
+ /**
1494
+ * Product attribute value
1495
+ */
1496
+ 'value': string;
1497
+ }
1461
1498
  export interface ProductBundleItemsInner {
1462
1499
  /**
1463
1500
  * The unique identifier of the bundle product.
@@ -1966,6 +2003,10 @@ export interface UpdateProductRequest {
1966
2003
  * The brand of the product.
1967
2004
  */
1968
2005
  'brand'?: string | null;
2006
+ /**
2007
+ * Attributes associated to a product such as product colours and sizes. The name and values must match the GFN Catalog API exactly — use the GFN Catalog API to list the product to get the exact strings (casing and spelling must match). If present, any new variant attributes and values must be included in this list.
2008
+ */
2009
+ 'attributes'?: Array<UpdateProductRequestAttributesInner>;
1969
2010
  'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
1970
2011
  /**
1971
2012
  * The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
@@ -2045,6 +2086,16 @@ export interface UpdateProductRequest {
2045
2086
  */
2046
2087
  'collections'?: Array<UpdateProductsRequestProductsInnerCollectionsInner>;
2047
2088
  }
2089
+ export interface UpdateProductRequestAttributesInner {
2090
+ /**
2091
+ * Product attribute name, this can only be \'Colour\' or \'Size\' for now
2092
+ */
2093
+ 'name': string;
2094
+ /**
2095
+ * List of product attribute values, each including a sort order and an option value (e.g., \'Black\', \'Blue\', \'XL\', \'XXL\'). Any existing values not included here will be removed, along with any variants that use them. Any new values listed will be added to the product.
2096
+ */
2097
+ 'values': Array<ProductAttributeValue>;
2098
+ }
2048
2099
  export interface UpdateProductRequestBundleItemsInner {
2049
2100
  /**
2050
2101
  * The product UUID to include in the bundle
@@ -2509,7 +2560,7 @@ export const ApplicationGroupsApiAxiosParamCreator = function (configuration?: C
2509
2560
  // verify required parameter 'applicationGroupId' is not null or undefined
2510
2561
  assertParamExists('deleteApplicationGroup', 'applicationGroupId', applicationGroupId)
2511
2562
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
2512
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
2563
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
2513
2564
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2514
2565
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2515
2566
  let baseOptions;
@@ -2557,7 +2608,7 @@ export const ApplicationGroupsApiAxiosParamCreator = function (configuration?: C
2557
2608
  // verify required parameter 'applicationGroupId' is not null or undefined
2558
2609
  assertParamExists('getApplicationGroup', 'applicationGroupId', applicationGroupId)
2559
2610
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
2560
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
2611
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
2561
2612
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2562
2613
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2563
2614
  let baseOptions;
@@ -2665,7 +2716,7 @@ export const ApplicationGroupsApiAxiosParamCreator = function (configuration?: C
2665
2716
  // verify required parameter 'applicationGroupId' is not null or undefined
2666
2717
  assertParamExists('updateApplicationGroup', 'applicationGroupId', applicationGroupId)
2667
2718
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
2668
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
2719
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
2669
2720
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2670
2721
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2671
2722
  let baseOptions;
@@ -3063,7 +3114,7 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Con
3063
3114
  // verify required parameter 'applicationSetId' is not null or undefined
3064
3115
  assertParamExists('deleteApplicationSet', 'applicationSetId', applicationSetId)
3065
3116
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
3066
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
3117
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
3067
3118
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3068
3119
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3069
3120
  let baseOptions;
@@ -3111,7 +3162,7 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Con
3111
3162
  // verify required parameter 'applicationSetId' is not null or undefined
3112
3163
  assertParamExists('getApplicationSet', 'applicationSetId', applicationSetId)
3113
3164
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
3114
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
3165
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
3115
3166
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3116
3167
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3117
3168
  let baseOptions;
@@ -3219,7 +3270,7 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Con
3219
3270
  // verify required parameter 'applicationSetId' is not null or undefined
3220
3271
  assertParamExists('updateApplicationSet', 'applicationSetId', applicationSetId)
3221
3272
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
3222
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
3273
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
3223
3274
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3224
3275
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3225
3276
  let baseOptions;
@@ -4788,7 +4839,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
4788
4839
  // verify required parameter 'productId' is not null or undefined
4789
4840
  assertParamExists('deleteProduct', 'productId', productId)
4790
4841
  const localVarPath = `/v1/catalog/products/{productId}`
4791
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
4842
+ .replace('{productId}', encodeURIComponent(String(productId)));
4792
4843
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4793
4844
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4794
4845
  let baseOptions;
@@ -5011,7 +5062,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
5011
5062
  // verify required parameter 'productId' is not null or undefined
5012
5063
  assertParamExists('getProduct', 'productId', productId)
5013
5064
  const localVarPath = `/v1/catalog/products/{productId}`
5014
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
5065
+ .replace('{productId}', encodeURIComponent(String(productId)));
5015
5066
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5016
5067
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5017
5068
  let baseOptions;
@@ -5338,7 +5389,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
5338
5389
  // verify required parameter 'productId' is not null or undefined
5339
5390
  assertParamExists('updateProduct', 'productId', productId)
5340
5391
  const localVarPath = `/v1/catalog/products/{productId}`
5341
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
5392
+ .replace('{productId}', encodeURIComponent(String(productId)));
5342
5393
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5343
5394
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5344
5395
  let baseOptions;
@@ -6261,7 +6312,7 @@ export const VariantsApiAxiosParamCreator = function (configuration?: Configurat
6261
6312
  // verify required parameter 'variantId' is not null or undefined
6262
6313
  assertParamExists('getVariant', 'variantId', variantId)
6263
6314
  const localVarPath = `/v1/catalog/variants/{variantId}`
6264
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
6315
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
6265
6316
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6266
6317
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6267
6318
  let baseOptions;
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Product Catalog
4
4
  * 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 product from the GFN Catalog, plus listing information such as title, description and tags.
5
5
  *
6
- * The version of the OpenAPI document: 1.94.0
6
+ * The version of the OpenAPI document: 1.95.3
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -115,7 +115,7 @@ export class Configuration {
115
115
  * @return True if the given MIME is JSON, false otherwise.
116
116
  */
117
117
  public isJsonMime(mime: string): boolean {
118
- const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
119
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
118
+ const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
119
+ return mime !== null && jsonMime.test(mime);
120
120
  }
121
121
  }
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -115,7 +115,7 @@ export interface Application {
115
115
  */
116
116
  'id'?: string;
117
117
  /**
118
- * The application technology used for this design application. `mug_sublimation` is deprecated. Use `sublimation_small` instead.
118
+ * The application technology used for this design application. `mug_sublimation` is deprecated. Use `mini_sublimation` instead.
119
119
  */
120
120
  'technology': ApplicationTechnologyEnum;
121
121
  /**
@@ -151,7 +151,7 @@ export declare const ApplicationTechnologyEnum: {
151
151
  readonly Dtf: "dtf";
152
152
  readonly Pretreat: "pretreat";
153
153
  readonly MugSublimation: "mug_sublimation";
154
- readonly SublimationSmall: "sublimation_small";
154
+ readonly MiniSublimation: "mini_sublimation";
155
155
  readonly ManualPrint: "manual_print";
156
156
  readonly AdditionalApplication: "additional_application";
157
157
  readonly NotebookSublimation: "notebook_sublimation";
@@ -438,18 +438,21 @@ export interface ApplicationTechnologyIntegrationProduct {
438
438
  */
439
439
  'ref'?: string;
440
440
  }
441
+ /**
442
+ * An attribute associated to a variant such as Colour and Size.
443
+ */
441
444
  export interface Attribute {
442
445
  /**
443
- * Attribute name
446
+ * Variant attribute name
444
447
  */
445
448
  'name': string;
446
449
  /**
447
- * Attribute value
450
+ * Variant attribute value
448
451
  */
449
452
  'value': string;
450
453
  'thumbnail'?: AttributeThumbnail;
451
454
  /**
452
- * Attribute tags
455
+ * Variant attribute tags
453
456
  */
454
457
  'tags'?: Array<string>;
455
458
  }
@@ -614,7 +617,7 @@ export interface BundleProduct {
614
617
  */
615
618
  export interface CreateApplication {
616
619
  /**
617
- * The application technology used for this design application. `mug_sublimation` is deprecated. Use `sublimation_small` instead.
620
+ * The application technology used for this design application. `mug_sublimation` is deprecated. Use `mini_sublimation` instead.
618
621
  */
619
622
  'technology': CreateApplicationTechnologyEnum;
620
623
  /**
@@ -649,7 +652,7 @@ export declare const CreateApplicationTechnologyEnum: {
649
652
  readonly Dtf: "dtf";
650
653
  readonly Pretreat: "pretreat";
651
654
  readonly MugSublimation: "mug_sublimation";
652
- readonly SublimationSmall: "sublimation_small";
655
+ readonly MiniSublimation: "mini_sublimation";
653
656
  readonly ManualPrint: "manual_print";
654
657
  readonly AdditionalApplication: "additional_application";
655
658
  readonly NotebookSublimation: "notebook_sublimation";
@@ -1259,6 +1262,10 @@ export interface Product {
1259
1262
  'targetSearchPhraseData'?: TargetSearchPhraseData;
1260
1263
  'tags'?: Array<string>;
1261
1264
  'internalTags'?: Array<string>;
1265
+ /**
1266
+ * Attributes associated to a product such as product colours and sizes
1267
+ */
1268
+ 'attributes'?: Array<ProductAttribute>;
1262
1269
  'createdAt'?: string;
1263
1270
  'updatedAt'?: string;
1264
1271
  'publishedAt'?: string;
@@ -1412,6 +1419,36 @@ export interface ProductApplicationSetsInner {
1412
1419
  */
1413
1420
  'name'?: string;
1414
1421
  }
1422
+ export interface ProductAttribute {
1423
+ /**
1424
+ * Attribute name, this can only be \'Colour\' or \'Size\' for now
1425
+ */
1426
+ 'name': string;
1427
+ /**
1428
+ * Attribute values
1429
+ */
1430
+ 'values': Array<ProductAttributeValue1>;
1431
+ }
1432
+ export interface ProductAttributeValue {
1433
+ /**
1434
+ * Position of the value when ordered
1435
+ */
1436
+ 'sortOrder': number;
1437
+ /**
1438
+ * The specific size or colour value. This must match the GFN Catalog API exactly.
1439
+ */
1440
+ 'value': string;
1441
+ }
1442
+ export interface ProductAttributeValue1 {
1443
+ /**
1444
+ * Position of the value when ordered
1445
+ */
1446
+ 'sortOrder': number;
1447
+ /**
1448
+ * Product attribute value
1449
+ */
1450
+ 'value': string;
1451
+ }
1415
1452
  export interface ProductBundleItemsInner {
1416
1453
  /**
1417
1454
  * The unique identifier of the bundle product.
@@ -1904,6 +1941,10 @@ export interface UpdateProductRequest {
1904
1941
  * The brand of the product.
1905
1942
  */
1906
1943
  'brand'?: string | null;
1944
+ /**
1945
+ * Attributes associated to a product such as product colours and sizes. The name and values must match the GFN Catalog API exactly — use the GFN Catalog API to list the product to get the exact strings (casing and spelling must match). If present, any new variant attributes and values must be included in this list.
1946
+ */
1947
+ 'attributes'?: Array<UpdateProductRequestAttributesInner>;
1907
1948
  'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
1908
1949
  /**
1909
1950
  * The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
@@ -1983,6 +2024,16 @@ export interface UpdateProductRequest {
1983
2024
  */
1984
2025
  'collections'?: Array<UpdateProductsRequestProductsInnerCollectionsInner>;
1985
2026
  }
2027
+ export interface UpdateProductRequestAttributesInner {
2028
+ /**
2029
+ * Product attribute name, this can only be \'Colour\' or \'Size\' for now
2030
+ */
2031
+ 'name': string;
2032
+ /**
2033
+ * List of product attribute values, each including a sort order and an option value (e.g., \'Black\', \'Blue\', \'XL\', \'XXL\'). Any existing values not included here will be removed, along with any variants that use them. Any new values listed will be added to the product.
2034
+ */
2035
+ 'values': Array<ProductAttributeValue>;
2036
+ }
1986
2037
  export interface UpdateProductRequestBundleItemsInner {
1987
2038
  /**
1988
2039
  * The product UUID to include in the bundle
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.94.0
8
+ * The version of the OpenAPI document: 1.95.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -41,7 +41,7 @@ exports.ApplicationTechnologyEnum = {
41
41
  Dtf: 'dtf',
42
42
  Pretreat: 'pretreat',
43
43
  MugSublimation: 'mug_sublimation',
44
- SublimationSmall: 'sublimation_small',
44
+ MiniSublimation: 'mini_sublimation',
45
45
  ManualPrint: 'manual_print',
46
46
  AdditionalApplication: 'additional_application',
47
47
  NotebookSublimation: 'notebook_sublimation',
@@ -97,7 +97,7 @@ exports.CreateApplicationTechnologyEnum = {
97
97
  Dtf: 'dtf',
98
98
  Pretreat: 'pretreat',
99
99
  MugSublimation: 'mug_sublimation',
100
- SublimationSmall: 'sublimation_small',
100
+ MiniSublimation: 'mini_sublimation',
101
101
  ManualPrint: 'manual_print',
102
102
  AdditionalApplication: 'additional_application',
103
103
  NotebookSublimation: 'notebook_sublimation',
@@ -224,7 +224,7 @@ const ApplicationGroupsApiAxiosParamCreator = function (configuration) {
224
224
  // verify required parameter 'applicationGroupId' is not null or undefined
225
225
  (0, common_1.assertParamExists)('deleteApplicationGroup', 'applicationGroupId', applicationGroupId);
226
226
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
227
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
227
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
228
228
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
229
229
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
230
230
  let baseOptions;
@@ -265,7 +265,7 @@ const ApplicationGroupsApiAxiosParamCreator = function (configuration) {
265
265
  // verify required parameter 'applicationGroupId' is not null or undefined
266
266
  (0, common_1.assertParamExists)('getApplicationGroup', 'applicationGroupId', applicationGroupId);
267
267
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
268
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
268
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
269
269
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
270
270
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
271
271
  let baseOptions;
@@ -356,7 +356,7 @@ const ApplicationGroupsApiAxiosParamCreator = function (configuration) {
356
356
  // verify required parameter 'applicationGroupId' is not null or undefined
357
357
  (0, common_1.assertParamExists)('updateApplicationGroup', 'applicationGroupId', applicationGroupId);
358
358
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
359
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
359
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
360
360
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
361
361
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
362
362
  let baseOptions;
@@ -659,7 +659,7 @@ const ApplicationSetsApiAxiosParamCreator = function (configuration) {
659
659
  // verify required parameter 'applicationSetId' is not null or undefined
660
660
  (0, common_1.assertParamExists)('deleteApplicationSet', 'applicationSetId', applicationSetId);
661
661
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
662
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
662
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
663
663
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
664
664
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
665
665
  let baseOptions;
@@ -700,7 +700,7 @@ const ApplicationSetsApiAxiosParamCreator = function (configuration) {
700
700
  // verify required parameter 'applicationSetId' is not null or undefined
701
701
  (0, common_1.assertParamExists)('getApplicationSet', 'applicationSetId', applicationSetId);
702
702
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
703
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
703
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
704
704
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
705
705
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
706
706
  let baseOptions;
@@ -791,7 +791,7 @@ const ApplicationSetsApiAxiosParamCreator = function (configuration) {
791
791
  // verify required parameter 'applicationSetId' is not null or undefined
792
792
  (0, common_1.assertParamExists)('updateApplicationSet', 'applicationSetId', applicationSetId);
793
793
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
794
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
794
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
795
795
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
796
796
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
797
797
  let baseOptions;
@@ -1924,7 +1924,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
1924
1924
  // verify required parameter 'productId' is not null or undefined
1925
1925
  (0, common_1.assertParamExists)('deleteProduct', 'productId', productId);
1926
1926
  const localVarPath = `/v1/catalog/products/{productId}`
1927
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
1927
+ .replace('{productId}', encodeURIComponent(String(productId)));
1928
1928
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1929
1929
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1930
1930
  let baseOptions;
@@ -2113,7 +2113,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
2113
2113
  // verify required parameter 'productId' is not null or undefined
2114
2114
  (0, common_1.assertParamExists)('getProduct', 'productId', productId);
2115
2115
  const localVarPath = `/v1/catalog/products/{productId}`
2116
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
2116
+ .replace('{productId}', encodeURIComponent(String(productId)));
2117
2117
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2118
2118
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2119
2119
  let baseOptions;
@@ -2387,7 +2387,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
2387
2387
  // verify required parameter 'productId' is not null or undefined
2388
2388
  (0, common_1.assertParamExists)('updateProduct', 'productId', productId);
2389
2389
  const localVarPath = `/v1/catalog/products/{productId}`
2390
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
2390
+ .replace('{productId}', encodeURIComponent(String(productId)));
2391
2391
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2392
2392
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2393
2393
  let baseOptions;
@@ -2987,7 +2987,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
2987
2987
  // verify required parameter 'variantId' is not null or undefined
2988
2988
  (0, common_1.assertParamExists)('getVariant', 'variantId', variantId);
2989
2989
  const localVarPath = `/v1/catalog/variants/{variantId}`
2990
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
2990
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
2991
2991
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2992
2992
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2993
2993
  let baseOptions;
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
6
6
  *
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.94.0
8
+ * The version of the OpenAPI document: 1.95.3
9
9
  *
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
6
6
  *
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.94.0
8
+ * The version of the OpenAPI document: 1.95.3
9
9
  *
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,8 +37,8 @@ class Configuration {
37
37
  * @return True if the given MIME is JSON, false otherwise.
38
38
  */
39
39
  isJsonMime(mime) {
40
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
41
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
40
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
41
+ return mime !== null && jsonMime.test(mime);
42
42
  }
43
43
  }
44
44
  exports.Configuration = Configuration;
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -115,7 +115,7 @@ export interface Application {
115
115
  */
116
116
  'id'?: string;
117
117
  /**
118
- * The application technology used for this design application. `mug_sublimation` is deprecated. Use `sublimation_small` instead.
118
+ * The application technology used for this design application. `mug_sublimation` is deprecated. Use `mini_sublimation` instead.
119
119
  */
120
120
  'technology': ApplicationTechnologyEnum;
121
121
  /**
@@ -151,7 +151,7 @@ export declare const ApplicationTechnologyEnum: {
151
151
  readonly Dtf: "dtf";
152
152
  readonly Pretreat: "pretreat";
153
153
  readonly MugSublimation: "mug_sublimation";
154
- readonly SublimationSmall: "sublimation_small";
154
+ readonly MiniSublimation: "mini_sublimation";
155
155
  readonly ManualPrint: "manual_print";
156
156
  readonly AdditionalApplication: "additional_application";
157
157
  readonly NotebookSublimation: "notebook_sublimation";
@@ -438,18 +438,21 @@ export interface ApplicationTechnologyIntegrationProduct {
438
438
  */
439
439
  'ref'?: string;
440
440
  }
441
+ /**
442
+ * An attribute associated to a variant such as Colour and Size.
443
+ */
441
444
  export interface Attribute {
442
445
  /**
443
- * Attribute name
446
+ * Variant attribute name
444
447
  */
445
448
  'name': string;
446
449
  /**
447
- * Attribute value
450
+ * Variant attribute value
448
451
  */
449
452
  'value': string;
450
453
  'thumbnail'?: AttributeThumbnail;
451
454
  /**
452
- * Attribute tags
455
+ * Variant attribute tags
453
456
  */
454
457
  'tags'?: Array<string>;
455
458
  }
@@ -614,7 +617,7 @@ export interface BundleProduct {
614
617
  */
615
618
  export interface CreateApplication {
616
619
  /**
617
- * The application technology used for this design application. `mug_sublimation` is deprecated. Use `sublimation_small` instead.
620
+ * The application technology used for this design application. `mug_sublimation` is deprecated. Use `mini_sublimation` instead.
618
621
  */
619
622
  'technology': CreateApplicationTechnologyEnum;
620
623
  /**
@@ -649,7 +652,7 @@ export declare const CreateApplicationTechnologyEnum: {
649
652
  readonly Dtf: "dtf";
650
653
  readonly Pretreat: "pretreat";
651
654
  readonly MugSublimation: "mug_sublimation";
652
- readonly SublimationSmall: "sublimation_small";
655
+ readonly MiniSublimation: "mini_sublimation";
653
656
  readonly ManualPrint: "manual_print";
654
657
  readonly AdditionalApplication: "additional_application";
655
658
  readonly NotebookSublimation: "notebook_sublimation";
@@ -1259,6 +1262,10 @@ export interface Product {
1259
1262
  'targetSearchPhraseData'?: TargetSearchPhraseData;
1260
1263
  'tags'?: Array<string>;
1261
1264
  'internalTags'?: Array<string>;
1265
+ /**
1266
+ * Attributes associated to a product such as product colours and sizes
1267
+ */
1268
+ 'attributes'?: Array<ProductAttribute>;
1262
1269
  'createdAt'?: string;
1263
1270
  'updatedAt'?: string;
1264
1271
  'publishedAt'?: string;
@@ -1412,6 +1419,36 @@ export interface ProductApplicationSetsInner {
1412
1419
  */
1413
1420
  'name'?: string;
1414
1421
  }
1422
+ export interface ProductAttribute {
1423
+ /**
1424
+ * Attribute name, this can only be \'Colour\' or \'Size\' for now
1425
+ */
1426
+ 'name': string;
1427
+ /**
1428
+ * Attribute values
1429
+ */
1430
+ 'values': Array<ProductAttributeValue1>;
1431
+ }
1432
+ export interface ProductAttributeValue {
1433
+ /**
1434
+ * Position of the value when ordered
1435
+ */
1436
+ 'sortOrder': number;
1437
+ /**
1438
+ * The specific size or colour value. This must match the GFN Catalog API exactly.
1439
+ */
1440
+ 'value': string;
1441
+ }
1442
+ export interface ProductAttributeValue1 {
1443
+ /**
1444
+ * Position of the value when ordered
1445
+ */
1446
+ 'sortOrder': number;
1447
+ /**
1448
+ * Product attribute value
1449
+ */
1450
+ 'value': string;
1451
+ }
1415
1452
  export interface ProductBundleItemsInner {
1416
1453
  /**
1417
1454
  * The unique identifier of the bundle product.
@@ -1904,6 +1941,10 @@ export interface UpdateProductRequest {
1904
1941
  * The brand of the product.
1905
1942
  */
1906
1943
  'brand'?: string | null;
1944
+ /**
1945
+ * Attributes associated to a product such as product colours and sizes. The name and values must match the GFN Catalog API exactly — use the GFN Catalog API to list the product to get the exact strings (casing and spelling must match). If present, any new variant attributes and values must be included in this list.
1946
+ */
1947
+ 'attributes'?: Array<UpdateProductRequestAttributesInner>;
1907
1948
  'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
1908
1949
  /**
1909
1950
  * The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
@@ -1983,6 +2024,16 @@ export interface UpdateProductRequest {
1983
2024
  */
1984
2025
  'collections'?: Array<UpdateProductsRequestProductsInnerCollectionsInner>;
1985
2026
  }
2027
+ export interface UpdateProductRequestAttributesInner {
2028
+ /**
2029
+ * Product attribute name, this can only be \'Colour\' or \'Size\' for now
2030
+ */
2031
+ 'name': string;
2032
+ /**
2033
+ * List of product attribute values, each including a sort order and an option value (e.g., \'Black\', \'Blue\', \'XL\', \'XXL\'). Any existing values not included here will be removed, along with any variants that use them. Any new values listed will be added to the product.
2034
+ */
2035
+ 'values': Array<ProductAttributeValue>;
2036
+ }
1986
2037
  export interface UpdateProductRequestBundleItemsInner {
1987
2038
  /**
1988
2039
  * The product UUID to include in the bundle
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,7 +37,7 @@ export const ApplicationTechnologyEnum = {
37
37
  Dtf: 'dtf',
38
38
  Pretreat: 'pretreat',
39
39
  MugSublimation: 'mug_sublimation',
40
- SublimationSmall: 'sublimation_small',
40
+ MiniSublimation: 'mini_sublimation',
41
41
  ManualPrint: 'manual_print',
42
42
  AdditionalApplication: 'additional_application',
43
43
  NotebookSublimation: 'notebook_sublimation',
@@ -93,7 +93,7 @@ export const CreateApplicationTechnologyEnum = {
93
93
  Dtf: 'dtf',
94
94
  Pretreat: 'pretreat',
95
95
  MugSublimation: 'mug_sublimation',
96
- SublimationSmall: 'sublimation_small',
96
+ MiniSublimation: 'mini_sublimation',
97
97
  ManualPrint: 'manual_print',
98
98
  AdditionalApplication: 'additional_application',
99
99
  NotebookSublimation: 'notebook_sublimation',
@@ -220,7 +220,7 @@ export const ApplicationGroupsApiAxiosParamCreator = function (configuration) {
220
220
  // verify required parameter 'applicationGroupId' is not null or undefined
221
221
  assertParamExists('deleteApplicationGroup', 'applicationGroupId', applicationGroupId);
222
222
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
223
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
223
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
224
224
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
225
225
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
226
226
  let baseOptions;
@@ -261,7 +261,7 @@ export const ApplicationGroupsApiAxiosParamCreator = function (configuration) {
261
261
  // verify required parameter 'applicationGroupId' is not null or undefined
262
262
  assertParamExists('getApplicationGroup', 'applicationGroupId', applicationGroupId);
263
263
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
264
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
264
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
265
265
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
266
266
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
267
267
  let baseOptions;
@@ -352,7 +352,7 @@ export const ApplicationGroupsApiAxiosParamCreator = function (configuration) {
352
352
  // verify required parameter 'applicationGroupId' is not null or undefined
353
353
  assertParamExists('updateApplicationGroup', 'applicationGroupId', applicationGroupId);
354
354
  const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
355
- .replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
355
+ .replace('{applicationGroupId}', encodeURIComponent(String(applicationGroupId)));
356
356
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
357
357
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
358
358
  let baseOptions;
@@ -651,7 +651,7 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration) {
651
651
  // verify required parameter 'applicationSetId' is not null or undefined
652
652
  assertParamExists('deleteApplicationSet', 'applicationSetId', applicationSetId);
653
653
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
654
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
654
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
655
655
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
656
656
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
657
657
  let baseOptions;
@@ -692,7 +692,7 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration) {
692
692
  // verify required parameter 'applicationSetId' is not null or undefined
693
693
  assertParamExists('getApplicationSet', 'applicationSetId', applicationSetId);
694
694
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
695
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
695
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
696
696
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
697
697
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
698
698
  let baseOptions;
@@ -783,7 +783,7 @@ export const ApplicationSetsApiAxiosParamCreator = function (configuration) {
783
783
  // verify required parameter 'applicationSetId' is not null or undefined
784
784
  assertParamExists('updateApplicationSet', 'applicationSetId', applicationSetId);
785
785
  const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
786
- .replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
786
+ .replace('{applicationSetId}', encodeURIComponent(String(applicationSetId)));
787
787
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
788
788
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
789
789
  let baseOptions;
@@ -1896,7 +1896,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
1896
1896
  // verify required parameter 'productId' is not null or undefined
1897
1897
  assertParamExists('deleteProduct', 'productId', productId);
1898
1898
  const localVarPath = `/v1/catalog/products/{productId}`
1899
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
1899
+ .replace('{productId}', encodeURIComponent(String(productId)));
1900
1900
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1901
1901
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1902
1902
  let baseOptions;
@@ -2085,7 +2085,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
2085
2085
  // verify required parameter 'productId' is not null or undefined
2086
2086
  assertParamExists('getProduct', 'productId', productId);
2087
2087
  const localVarPath = `/v1/catalog/products/{productId}`
2088
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
2088
+ .replace('{productId}', encodeURIComponent(String(productId)));
2089
2089
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2090
2090
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2091
2091
  let baseOptions;
@@ -2359,7 +2359,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
2359
2359
  // verify required parameter 'productId' is not null or undefined
2360
2360
  assertParamExists('updateProduct', 'productId', productId);
2361
2361
  const localVarPath = `/v1/catalog/products/{productId}`
2362
- .replace(`{${"productId"}}`, encodeURIComponent(String(productId)));
2362
+ .replace('{productId}', encodeURIComponent(String(productId)));
2363
2363
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2364
2364
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2365
2365
  let baseOptions;
@@ -2955,7 +2955,7 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
2955
2955
  // verify required parameter 'variantId' is not null or undefined
2956
2956
  assertParamExists('getVariant', 'variantId', variantId);
2957
2957
  const localVarPath = `/v1/catalog/variants/{variantId}`
2958
- .replace(`{${"variantId"}}`, encodeURIComponent(String(variantId)));
2958
+ .replace('{variantId}', encodeURIComponent(String(variantId)));
2959
2959
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2960
2960
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2961
2961
  let baseOptions;
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Product Catalog
4
4
  * 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 product from the GFN Catalog, plus listing information such as title, description and tags.
5
5
  *
6
- * The version of the OpenAPI document: 1.94.0
6
+ * The version of the OpenAPI document: 1.95.3
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,7 +34,7 @@ export class Configuration {
34
34
  * @return True if the given MIME is JSON, false otherwise.
35
35
  */
36
36
  isJsonMime(mime) {
37
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
38
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
37
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
38
+ return mime !== null && jsonMime.test(mime);
39
39
  }
40
40
  }
@@ -2,7 +2,7 @@
2
2
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
4
4
  *
5
- * The version of the OpenAPI document: 1.94.0
5
+ * The version of the OpenAPI document: 1.95.3
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
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 product from the GFN Catalog, plus listing information such as title, description and tags.
7
7
  *
8
- * The version of the OpenAPI document: 1.94.0
8
+ * The version of the OpenAPI document: 1.95.3
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7,7 +7,7 @@ A design application on a product variant, specifying the technology, placement,
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **id** | **string** | The unique identifier of this application. | [optional] [default to undefined]
10
- **technology** | **string** | The application technology used for this design application. &#x60;mug_sublimation&#x60; is deprecated. Use &#x60;sublimation_small&#x60; instead. | [default to undefined]
10
+ **technology** | **string** | The application technology used for this design application. &#x60;mug_sublimation&#x60; is deprecated. Use &#x60;mini_sublimation&#x60; instead. | [default to undefined]
11
11
  **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
12
12
  **additionalInstructions** | **string** | Any additional instructions for the application | [optional] [default to undefined]
13
13
  **src** | **string** | Publicly available production print file URL for this application. For raster-only applications, this can also be used directly as the display image. | [optional] [default to undefined]
package/docs/Attribute.md CHANGED
@@ -1,14 +1,15 @@
1
1
  # Attribute
2
2
 
3
+ An attribute associated to a variant such as Colour and Size.
3
4
 
4
5
  ## Properties
5
6
 
6
7
  Name | Type | Description | Notes
7
8
  ------------ | ------------- | ------------- | -------------
8
- **name** | **string** | Attribute name | [default to undefined]
9
- **value** | **string** | Attribute value | [default to undefined]
9
+ **name** | **string** | Variant attribute name | [default to undefined]
10
+ **value** | **string** | Variant attribute value | [default to undefined]
10
11
  **thumbnail** | [**AttributeThumbnail**](AttributeThumbnail.md) | | [optional] [default to undefined]
11
- **tags** | **Array&lt;string&gt;** | Attribute tags | [optional] [default to undefined]
12
+ **tags** | **Array&lt;string&gt;** | Variant attribute tags | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -6,7 +6,7 @@ The payload for creating a new design application on a product variant.
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **technology** | **string** | The application technology used for this design application. &#x60;mug_sublimation&#x60; is deprecated. Use &#x60;sublimation_small&#x60; instead. | [default to undefined]
9
+ **technology** | **string** | The application technology used for this design application. &#x60;mug_sublimation&#x60; is deprecated. Use &#x60;mini_sublimation&#x60; instead. | [default to undefined]
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 production print file URL for this application. For raster-only applications, this can also be used directly as the display image. | [default to undefined]
package/docs/Product.md CHANGED
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
17
17
  **targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
18
18
  **tags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
19
19
  **internalTags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
20
+ **attributes** | [**Array&lt;ProductAttribute&gt;**](ProductAttribute.md) | Attributes associated to a product such as product colours and sizes | [optional] [default to undefined]
20
21
  **createdAt** | **string** | | [optional] [default to undefined]
21
22
  **updatedAt** | **string** | | [optional] [default to undefined]
22
23
  **publishedAt** | **string** | | [optional] [default to undefined]
@@ -66,6 +67,7 @@ const instance: Product = {
66
67
  targetSearchPhraseData,
67
68
  tags,
68
69
  internalTags,
70
+ attributes,
69
71
  createdAt,
70
72
  updatedAt,
71
73
  publishedAt,
@@ -0,0 +1,22 @@
1
+ # ProductAttribute
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Attribute name, this can only be \&#39;Colour\&#39; or \&#39;Size\&#39; for now | [default to undefined]
9
+ **values** | [**Array&lt;ProductAttributeValue1&gt;**](ProductAttributeValue1.md) | Attribute values | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ProductAttribute } from '@teemill/product-catalog';
15
+
16
+ const instance: ProductAttribute = {
17
+ name,
18
+ values,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # ProductAttributeValue
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sortOrder** | **number** | Position of the value when ordered | [default to undefined]
9
+ **value** | **string** | The specific size or colour value. This must match the GFN Catalog API exactly. | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ProductAttributeValue } from '@teemill/product-catalog';
15
+
16
+ const instance: ProductAttributeValue = {
17
+ sortOrder,
18
+ value,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # ProductAttributeValue1
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **sortOrder** | **number** | Position of the value when ordered | [default to undefined]
9
+ **value** | **string** | Product attribute value | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ProductAttributeValue1 } from '@teemill/product-catalog';
15
+
16
+ const instance: ProductAttributeValue1 = {
17
+ sortOrder,
18
+ value,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **enabled** | **boolean** | Whether the product is enabled upon creation. | [optional] [default to undefined]
12
12
  **slug** | **string** | A custom URL slug for the product. This must be unique for each product on the project. | [optional] [default to undefined]
13
13
  **brand** | **string** | The brand of the product. | [optional] [default to undefined]
14
+ **attributes** | [**Array&lt;UpdateProductRequestAttributesInner&gt;**](UpdateProductRequestAttributesInner.md) | Attributes associated to a product such as product colours and sizes. The name and values must match the GFN Catalog API exactly — use the GFN Catalog API to list the product to get the exact strings (casing and spelling must match). If present, any new variant attributes and values must be included in this list. | [optional] [default to undefined]
14
15
  **seoMetadata** | [**UpdateProductsRequestProductsInnerSeoMetadata**](UpdateProductsRequestProductsInnerSeoMetadata.md) | | [optional] [default to undefined]
15
16
  **targetSearchPhrase** | **string** | The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration | [optional] [default to undefined]
16
17
  **targetSearchPhraseSynonyms** | **Array&lt;string&gt;** | Synonyms for the target search phrase. **Note:** This field requires the website integration | [optional] [default to undefined]
@@ -45,6 +46,7 @@ const instance: UpdateProductRequest = {
45
46
  enabled,
46
47
  slug,
47
48
  brand,
49
+ attributes,
48
50
  seoMetadata,
49
51
  targetSearchPhrase,
50
52
  targetSearchPhraseSynonyms,
@@ -0,0 +1,22 @@
1
+ # UpdateProductRequestAttributesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Product attribute name, this can only be \&#39;Colour\&#39; or \&#39;Size\&#39; for now | [default to undefined]
9
+ **values** | [**Array&lt;ProductAttributeValue&gt;**](ProductAttributeValue.md) | List of product attribute values, each including a sort order and an option value (e.g., \&#39;Black\&#39;, \&#39;Blue\&#39;, \&#39;XL\&#39;, \&#39;XXL\&#39;). Any existing values not included here will be removed, along with any variants that use them. Any new values listed will be added to the product. | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdateProductRequestAttributesInner } from '@teemill/product-catalog';
15
+
16
+ const instance: UpdateProductRequestAttributesInner = {
17
+ name,
18
+ values,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Product Catalog
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 product from the GFN Catalog, plus listing information such as title, description and tags.
6
6
  *
7
- * The version of the OpenAPI document: 1.94.0
7
+ * The version of the OpenAPI document: 1.95.3
8
8
  *
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.94.0",
3
+ "version": "1.95.3",
4
4
  "description": "OpenAPI client for @teemill/product-catalog",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "1.15.0"
27
+ "axios": "^1.16.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",