@teemill/product-catalog 1.76.1 → 1.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/api.ts +32 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +25 -2
- package/dist/api.d.ts +32 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +25 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +32 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +25 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/CreateProduct.md +2 -0
- package/docs/CreateProductRequest.md +2 -0
- package/docs/License.md +23 -0
- package/docs/Product.md +2 -0
- package/docs/ProductBundleItemsInner.md +2 -0
- package/docs/UpdateProductRequest.md +2 -0
- package/docs/UpdateProductsRequestProductsInner.md +2 -0
- package/docs/UpdateProductsRequestProductsInnerLicense.md +23 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.78.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/product-catalog@1.
|
|
39
|
+
npm install @teemill/product-catalog@1.78.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -126,6 +126,7 @@ Class | Method | HTTP request | Description
|
|
|
126
126
|
- [ImageFile](docs/ImageFile.md)
|
|
127
127
|
- [ImageFileFocalPoint](docs/ImageFileFocalPoint.md)
|
|
128
128
|
- [ImportProducts200Response](docs/ImportProducts200Response.md)
|
|
129
|
+
- [License](docs/License.md)
|
|
129
130
|
- [Location](docs/Location.md)
|
|
130
131
|
- [MetaField](docs/MetaField.md)
|
|
131
132
|
- [NamedPrice](docs/NamedPrice.md)
|
|
@@ -160,6 +161,7 @@ Class | Method | HTTP request | Description
|
|
|
160
161
|
- [UpdateProductsRequest](docs/UpdateProductsRequest.md)
|
|
161
162
|
- [UpdateProductsRequestProductsInner](docs/UpdateProductsRequestProductsInner.md)
|
|
162
163
|
- [UpdateProductsRequestProductsInnerIntegrationConnectionsInner](docs/UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md)
|
|
164
|
+
- [UpdateProductsRequestProductsInnerLicense](docs/UpdateProductsRequestProductsInnerLicense.md)
|
|
163
165
|
- [UpdateProductsRequestProductsInnerSeoMetadata](docs/UpdateProductsRequestProductsInnerSeoMetadata.md)
|
|
164
166
|
- [UpdateProductsRequestProductsInnerVariantsInner](docs/UpdateProductsRequestProductsInnerVariantsInner.md)
|
|
165
167
|
- [UpdateProductsRequestProductsInnerVariantsInnerAttributesInner](docs/UpdateProductsRequestProductsInnerVariantsInnerAttributesInner.md)
|
package/api.ts
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -694,6 +694,7 @@ export interface CreateProduct {
|
|
|
694
694
|
* A JSON object that defines the personalization template for the product.
|
|
695
695
|
*/
|
|
696
696
|
'personalizationTemplate'?: string;
|
|
697
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
697
698
|
}
|
|
698
699
|
export interface CreateProductAdditionalFilesInner {
|
|
699
700
|
/**
|
|
@@ -847,6 +848,19 @@ export interface ImportProducts200Response {
|
|
|
847
848
|
*/
|
|
848
849
|
'importId'?: string;
|
|
849
850
|
}
|
|
851
|
+
/**
|
|
852
|
+
* This field should be used when a product requires a valid license to manufacture, sell, or distribute — for example, officially licensed characters, brands, or artwork.
|
|
853
|
+
*/
|
|
854
|
+
export interface License {
|
|
855
|
+
/**
|
|
856
|
+
* The ID of the license
|
|
857
|
+
*/
|
|
858
|
+
'id'?: string;
|
|
859
|
+
/**
|
|
860
|
+
* The date and time the license will expire
|
|
861
|
+
*/
|
|
862
|
+
'expiresAt'?: string;
|
|
863
|
+
}
|
|
850
864
|
export interface Location {
|
|
851
865
|
/**
|
|
852
866
|
* The total number of units available at the location
|
|
@@ -989,6 +1003,7 @@ export interface Product {
|
|
|
989
1003
|
* Whether to show a sale badge on the product
|
|
990
1004
|
*/
|
|
991
1005
|
'showSaleBadge'?: boolean;
|
|
1006
|
+
'license'?: License;
|
|
992
1007
|
}
|
|
993
1008
|
export interface ProductAdditionalFilesInner {
|
|
994
1009
|
/**
|
|
@@ -1099,6 +1114,7 @@ export interface ProductBundleItemsInner {
|
|
|
1099
1114
|
* Whether to show a sale badge on the product
|
|
1100
1115
|
*/
|
|
1101
1116
|
'showSaleBadge'?: boolean;
|
|
1117
|
+
'license'?: License;
|
|
1102
1118
|
'config'?: UpdateProductRequestBundleItemsInnerConfig;
|
|
1103
1119
|
}
|
|
1104
1120
|
export interface ProductWarehouseProduct {
|
|
@@ -1445,6 +1461,7 @@ export interface UpdateProductRequest {
|
|
|
1445
1461
|
* A JSON object that defines the personalization template for the product.
|
|
1446
1462
|
*/
|
|
1447
1463
|
'personalizationTemplate'?: string;
|
|
1464
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
1448
1465
|
/**
|
|
1449
1466
|
* Integration connections for the product
|
|
1450
1467
|
*/
|
|
@@ -1535,6 +1552,7 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1535
1552
|
* Whether to show a sale badge on the product
|
|
1536
1553
|
*/
|
|
1537
1554
|
'showSaleBadge'?: boolean;
|
|
1555
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
1538
1556
|
}
|
|
1539
1557
|
export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
|
|
1540
1558
|
'integrationCode': string;
|
|
@@ -1543,6 +1561,19 @@ export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
|
|
|
1543
1561
|
*/
|
|
1544
1562
|
'foreignKey': string;
|
|
1545
1563
|
}
|
|
1564
|
+
/**
|
|
1565
|
+
* This field should be used when a product requires a valid license to manufacture, sell, or distribute — for example, officially licensed characters, brands, or artwork.
|
|
1566
|
+
*/
|
|
1567
|
+
export interface UpdateProductsRequestProductsInnerLicense {
|
|
1568
|
+
/**
|
|
1569
|
+
* The ID of the license
|
|
1570
|
+
*/
|
|
1571
|
+
'id': string;
|
|
1572
|
+
/**
|
|
1573
|
+
* The date and time the license will expire
|
|
1574
|
+
*/
|
|
1575
|
+
'expiresAt': string;
|
|
1576
|
+
}
|
|
1546
1577
|
export interface UpdateProductsRequestProductsInnerSeoMetadata {
|
|
1547
1578
|
/**
|
|
1548
1579
|
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
package/base.ts
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.0
|
|
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 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Product Catalog API
|
|
5
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 warehouse product, plus listing information such as title, description and tags.
|
|
6
5
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
6
|
+
* The version of the OpenAPI document: 1.78.0
|
|
8
7
|
*
|
|
9
8
|
*
|
|
10
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,12 +11,24 @@
|
|
|
12
11
|
* Do not edit the class manually.
|
|
13
12
|
*/
|
|
14
13
|
|
|
14
|
+
interface AWSv4Configuration {
|
|
15
|
+
options?: {
|
|
16
|
+
region?: string
|
|
17
|
+
service?: string
|
|
18
|
+
}
|
|
19
|
+
credentials?: {
|
|
20
|
+
accessKeyId?: string
|
|
21
|
+
secretAccessKey?: string,
|
|
22
|
+
sessionToken?: string
|
|
23
|
+
}
|
|
24
|
+
}
|
|
15
25
|
|
|
16
26
|
export interface ConfigurationParameters {
|
|
17
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
18
28
|
username?: string;
|
|
19
29
|
password?: string;
|
|
20
30
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
31
|
+
awsv4?: AWSv4Configuration;
|
|
21
32
|
basePath?: string;
|
|
22
33
|
serverIndex?: number;
|
|
23
34
|
baseOptions?: any;
|
|
@@ -44,6 +55,17 @@ export class Configuration {
|
|
|
44
55
|
* @param scopes oauth2 scope
|
|
45
56
|
*/
|
|
46
57
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
58
|
+
/**
|
|
59
|
+
* parameter for aws4 signature security
|
|
60
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
61
|
+
* @param {string} options.region - aws region
|
|
62
|
+
* @param {string} options.service - name of the service.
|
|
63
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
64
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
65
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
66
|
+
* @memberof Configuration
|
|
67
|
+
*/
|
|
68
|
+
awsv4?: AWSv4Configuration;
|
|
47
69
|
/**
|
|
48
70
|
* override base path
|
|
49
71
|
*/
|
|
@@ -70,6 +92,7 @@ export class Configuration {
|
|
|
70
92
|
this.username = param.username;
|
|
71
93
|
this.password = param.password;
|
|
72
94
|
this.accessToken = param.accessToken;
|
|
95
|
+
this.awsv4 = param.awsv4;
|
|
73
96
|
this.basePath = param.basePath;
|
|
74
97
|
this.serverIndex = param.serverIndex;
|
|
75
98
|
this.baseOptions = {
|
package/dist/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -661,6 +661,7 @@ export interface CreateProduct {
|
|
|
661
661
|
* A JSON object that defines the personalization template for the product.
|
|
662
662
|
*/
|
|
663
663
|
'personalizationTemplate'?: string;
|
|
664
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
664
665
|
}
|
|
665
666
|
export interface CreateProductAdditionalFilesInner {
|
|
666
667
|
/**
|
|
@@ -813,6 +814,19 @@ export interface ImportProducts200Response {
|
|
|
813
814
|
*/
|
|
814
815
|
'importId'?: string;
|
|
815
816
|
}
|
|
817
|
+
/**
|
|
818
|
+
* This field should be used when a product requires a valid license to manufacture, sell, or distribute — for example, officially licensed characters, brands, or artwork.
|
|
819
|
+
*/
|
|
820
|
+
export interface License {
|
|
821
|
+
/**
|
|
822
|
+
* The ID of the license
|
|
823
|
+
*/
|
|
824
|
+
'id'?: string;
|
|
825
|
+
/**
|
|
826
|
+
* The date and time the license will expire
|
|
827
|
+
*/
|
|
828
|
+
'expiresAt'?: string;
|
|
829
|
+
}
|
|
816
830
|
export interface Location {
|
|
817
831
|
/**
|
|
818
832
|
* The total number of units available at the location
|
|
@@ -952,6 +966,7 @@ export interface Product {
|
|
|
952
966
|
* Whether to show a sale badge on the product
|
|
953
967
|
*/
|
|
954
968
|
'showSaleBadge'?: boolean;
|
|
969
|
+
'license'?: License;
|
|
955
970
|
}
|
|
956
971
|
export interface ProductAdditionalFilesInner {
|
|
957
972
|
/**
|
|
@@ -1062,6 +1077,7 @@ export interface ProductBundleItemsInner {
|
|
|
1062
1077
|
* Whether to show a sale badge on the product
|
|
1063
1078
|
*/
|
|
1064
1079
|
'showSaleBadge'?: boolean;
|
|
1080
|
+
'license'?: License;
|
|
1065
1081
|
'config'?: UpdateProductRequestBundleItemsInnerConfig;
|
|
1066
1082
|
}
|
|
1067
1083
|
export interface ProductWarehouseProduct {
|
|
@@ -1395,6 +1411,7 @@ export interface UpdateProductRequest {
|
|
|
1395
1411
|
* A JSON object that defines the personalization template for the product.
|
|
1396
1412
|
*/
|
|
1397
1413
|
'personalizationTemplate'?: string;
|
|
1414
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
1398
1415
|
/**
|
|
1399
1416
|
* Integration connections for the product
|
|
1400
1417
|
*/
|
|
@@ -1485,6 +1502,7 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1485
1502
|
* Whether to show a sale badge on the product
|
|
1486
1503
|
*/
|
|
1487
1504
|
'showSaleBadge'?: boolean;
|
|
1505
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
1488
1506
|
}
|
|
1489
1507
|
export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
|
|
1490
1508
|
'integrationCode': string;
|
|
@@ -1493,6 +1511,19 @@ export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
|
|
|
1493
1511
|
*/
|
|
1494
1512
|
'foreignKey': string;
|
|
1495
1513
|
}
|
|
1514
|
+
/**
|
|
1515
|
+
* This field should be used when a product requires a valid license to manufacture, sell, or distribute — for example, officially licensed characters, brands, or artwork.
|
|
1516
|
+
*/
|
|
1517
|
+
export interface UpdateProductsRequestProductsInnerLicense {
|
|
1518
|
+
/**
|
|
1519
|
+
* The ID of the license
|
|
1520
|
+
*/
|
|
1521
|
+
'id': string;
|
|
1522
|
+
/**
|
|
1523
|
+
* The date and time the license will expire
|
|
1524
|
+
*/
|
|
1525
|
+
'expiresAt': string;
|
|
1526
|
+
}
|
|
1496
1527
|
export interface UpdateProductsRequestProductsInnerSeoMetadata {
|
|
1497
1528
|
/**
|
|
1498
1529
|
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
package/dist/api.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.
|
|
8
|
+
* The version of the OpenAPI document: 1.78.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.0
|
|
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 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.
|
|
8
|
+
* The version of the OpenAPI document: 1.78.0
|
|
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 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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.0
|
|
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 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.
|
|
8
|
+
* The version of the OpenAPI document: 1.78.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,18 +2,30 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
interface AWSv4Configuration {
|
|
13
|
+
options?: {
|
|
14
|
+
region?: string;
|
|
15
|
+
service?: string;
|
|
16
|
+
};
|
|
17
|
+
credentials?: {
|
|
18
|
+
accessKeyId?: string;
|
|
19
|
+
secretAccessKey?: string;
|
|
20
|
+
sessionToken?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
export interface ConfigurationParameters {
|
|
13
24
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
25
|
username?: string;
|
|
15
26
|
password?: string;
|
|
16
27
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
17
29
|
basePath?: string;
|
|
18
30
|
serverIndex?: number;
|
|
19
31
|
baseOptions?: any;
|
|
@@ -39,6 +51,17 @@ export declare class Configuration {
|
|
|
39
51
|
* @param scopes oauth2 scope
|
|
40
52
|
*/
|
|
41
53
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
+
/**
|
|
55
|
+
* parameter for aws4 signature security
|
|
56
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
+
* @param {string} options.region - aws region
|
|
58
|
+
* @param {string} options.service - name of the service.
|
|
59
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
62
|
+
* @memberof Configuration
|
|
63
|
+
*/
|
|
64
|
+
awsv4?: AWSv4Configuration;
|
|
42
65
|
/**
|
|
43
66
|
* override base path
|
|
44
67
|
*/
|
|
@@ -72,3 +95,4 @@ export declare class Configuration {
|
|
|
72
95
|
*/
|
|
73
96
|
isJsonMime(mime: string): boolean;
|
|
74
97
|
}
|
|
98
|
+
export {};
|
package/dist/configuration.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
3
|
/**
|
|
5
4
|
* Product Catalog API
|
|
6
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.
|
|
7
6
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.0
|
|
9
8
|
*
|
|
10
9
|
*
|
|
11
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,6 +20,7 @@ class Configuration {
|
|
|
21
20
|
this.username = param.username;
|
|
22
21
|
this.password = param.password;
|
|
23
22
|
this.accessToken = param.accessToken;
|
|
23
|
+
this.awsv4 = param.awsv4;
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.serverIndex = param.serverIndex;
|
|
26
26
|
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
package/dist/esm/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -661,6 +661,7 @@ export interface CreateProduct {
|
|
|
661
661
|
* A JSON object that defines the personalization template for the product.
|
|
662
662
|
*/
|
|
663
663
|
'personalizationTemplate'?: string;
|
|
664
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
664
665
|
}
|
|
665
666
|
export interface CreateProductAdditionalFilesInner {
|
|
666
667
|
/**
|
|
@@ -813,6 +814,19 @@ export interface ImportProducts200Response {
|
|
|
813
814
|
*/
|
|
814
815
|
'importId'?: string;
|
|
815
816
|
}
|
|
817
|
+
/**
|
|
818
|
+
* This field should be used when a product requires a valid license to manufacture, sell, or distribute — for example, officially licensed characters, brands, or artwork.
|
|
819
|
+
*/
|
|
820
|
+
export interface License {
|
|
821
|
+
/**
|
|
822
|
+
* The ID of the license
|
|
823
|
+
*/
|
|
824
|
+
'id'?: string;
|
|
825
|
+
/**
|
|
826
|
+
* The date and time the license will expire
|
|
827
|
+
*/
|
|
828
|
+
'expiresAt'?: string;
|
|
829
|
+
}
|
|
816
830
|
export interface Location {
|
|
817
831
|
/**
|
|
818
832
|
* The total number of units available at the location
|
|
@@ -952,6 +966,7 @@ export interface Product {
|
|
|
952
966
|
* Whether to show a sale badge on the product
|
|
953
967
|
*/
|
|
954
968
|
'showSaleBadge'?: boolean;
|
|
969
|
+
'license'?: License;
|
|
955
970
|
}
|
|
956
971
|
export interface ProductAdditionalFilesInner {
|
|
957
972
|
/**
|
|
@@ -1062,6 +1077,7 @@ export interface ProductBundleItemsInner {
|
|
|
1062
1077
|
* Whether to show a sale badge on the product
|
|
1063
1078
|
*/
|
|
1064
1079
|
'showSaleBadge'?: boolean;
|
|
1080
|
+
'license'?: License;
|
|
1065
1081
|
'config'?: UpdateProductRequestBundleItemsInnerConfig;
|
|
1066
1082
|
}
|
|
1067
1083
|
export interface ProductWarehouseProduct {
|
|
@@ -1395,6 +1411,7 @@ export interface UpdateProductRequest {
|
|
|
1395
1411
|
* A JSON object that defines the personalization template for the product.
|
|
1396
1412
|
*/
|
|
1397
1413
|
'personalizationTemplate'?: string;
|
|
1414
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
1398
1415
|
/**
|
|
1399
1416
|
* Integration connections for the product
|
|
1400
1417
|
*/
|
|
@@ -1485,6 +1502,7 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1485
1502
|
* Whether to show a sale badge on the product
|
|
1486
1503
|
*/
|
|
1487
1504
|
'showSaleBadge'?: boolean;
|
|
1505
|
+
'license'?: UpdateProductsRequestProductsInnerLicense;
|
|
1488
1506
|
}
|
|
1489
1507
|
export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
|
|
1490
1508
|
'integrationCode': string;
|
|
@@ -1493,6 +1511,19 @@ export interface UpdateProductsRequestProductsInnerIntegrationConnectionsInner {
|
|
|
1493
1511
|
*/
|
|
1494
1512
|
'foreignKey': string;
|
|
1495
1513
|
}
|
|
1514
|
+
/**
|
|
1515
|
+
* This field should be used when a product requires a valid license to manufacture, sell, or distribute — for example, officially licensed characters, brands, or artwork.
|
|
1516
|
+
*/
|
|
1517
|
+
export interface UpdateProductsRequestProductsInnerLicense {
|
|
1518
|
+
/**
|
|
1519
|
+
* The ID of the license
|
|
1520
|
+
*/
|
|
1521
|
+
'id': string;
|
|
1522
|
+
/**
|
|
1523
|
+
* The date and time the license will expire
|
|
1524
|
+
*/
|
|
1525
|
+
'expiresAt': string;
|
|
1526
|
+
}
|
|
1496
1527
|
export interface UpdateProductsRequestProductsInnerSeoMetadata {
|
|
1497
1528
|
/**
|
|
1498
1529
|
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,18 +2,30 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
interface AWSv4Configuration {
|
|
13
|
+
options?: {
|
|
14
|
+
region?: string;
|
|
15
|
+
service?: string;
|
|
16
|
+
};
|
|
17
|
+
credentials?: {
|
|
18
|
+
accessKeyId?: string;
|
|
19
|
+
secretAccessKey?: string;
|
|
20
|
+
sessionToken?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
export interface ConfigurationParameters {
|
|
13
24
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
25
|
username?: string;
|
|
15
26
|
password?: string;
|
|
16
27
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
17
29
|
basePath?: string;
|
|
18
30
|
serverIndex?: number;
|
|
19
31
|
baseOptions?: any;
|
|
@@ -39,6 +51,17 @@ export declare class Configuration {
|
|
|
39
51
|
* @param scopes oauth2 scope
|
|
40
52
|
*/
|
|
41
53
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
+
/**
|
|
55
|
+
* parameter for aws4 signature security
|
|
56
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
+
* @param {string} options.region - aws region
|
|
58
|
+
* @param {string} options.service - name of the service.
|
|
59
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
62
|
+
* @memberof Configuration
|
|
63
|
+
*/
|
|
64
|
+
awsv4?: AWSv4Configuration;
|
|
42
65
|
/**
|
|
43
66
|
* override base path
|
|
44
67
|
*/
|
|
@@ -72,3 +95,4 @@ export declare class Configuration {
|
|
|
72
95
|
*/
|
|
73
96
|
isJsonMime(mime: string): boolean;
|
|
74
97
|
}
|
|
98
|
+
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Product Catalog API
|
|
5
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 warehouse product, plus listing information such as title, description and tags.
|
|
6
5
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
6
|
+
* The version of the OpenAPI document: 1.78.0
|
|
8
7
|
*
|
|
9
8
|
*
|
|
10
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,6 +17,7 @@ export class Configuration {
|
|
|
18
17
|
this.username = param.username;
|
|
19
18
|
this.password = param.password;
|
|
20
19
|
this.accessToken = param.accessToken;
|
|
20
|
+
this.awsv4 = param.awsv4;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
23
|
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.78.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.
|
|
8
|
+
* The version of the OpenAPI document: 1.78.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/CreateProduct.md
CHANGED
|
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
|
|
|
25
25
|
**shopifyId** | **number** | For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one. | [optional] [default to undefined]
|
|
26
26
|
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
|
|
27
27
|
**personalizationTemplate** | **string** | A JSON object that defines the personalization template for the product. | [optional] [default to undefined]
|
|
28
|
+
**license** | [**UpdateProductsRequestProductsInnerLicense**](UpdateProductsRequestProductsInnerLicense.md) | | [optional] [default to undefined]
|
|
28
29
|
|
|
29
30
|
## Example
|
|
30
31
|
|
|
@@ -52,6 +53,7 @@ const instance: CreateProduct = {
|
|
|
52
53
|
shopifyId,
|
|
53
54
|
metafields,
|
|
54
55
|
personalizationTemplate,
|
|
56
|
+
license,
|
|
55
57
|
};
|
|
56
58
|
```
|
|
57
59
|
|
|
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
|
|
|
25
25
|
**shopifyId** | **number** | For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one. | [optional] [default to undefined]
|
|
26
26
|
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
|
|
27
27
|
**personalizationTemplate** | **string** | A JSON object that defines the personalization template for the product. | [optional] [default to undefined]
|
|
28
|
+
**license** | [**UpdateProductsRequestProductsInnerLicense**](UpdateProductsRequestProductsInnerLicense.md) | | [optional] [default to undefined]
|
|
28
29
|
**bundleItems** | [**Array<CreateBundleProductBundleItemsInner>**](CreateBundleProductBundleItemsInner.md) | A list of product uuids to include in this bundle | [default to undefined]
|
|
29
30
|
**retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
30
31
|
**salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
|
|
@@ -56,6 +57,7 @@ const instance: CreateProductRequest = {
|
|
|
56
57
|
shopifyId,
|
|
57
58
|
metafields,
|
|
58
59
|
personalizationTemplate,
|
|
60
|
+
license,
|
|
59
61
|
bundleItems,
|
|
60
62
|
retailPrice,
|
|
61
63
|
salePrice,
|
package/docs/License.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
This field should be used when a product requires a valid license to manufacture, sell, or distribute — for example, officially licensed characters, brands, or artwork.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | The ID of the license | [optional] [default to undefined]
|
|
10
|
+
**expiresAt** | **string** | The date and time the license will expire | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { License } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: License = {
|
|
18
|
+
id,
|
|
19
|
+
expiresAt,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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/docs/Product.md
CHANGED
|
@@ -41,6 +41,7 @@ Name | Type | Description | Notes
|
|
|
41
41
|
**optimisationHistory** | [**Array<OptimisationHistoryItem>**](OptimisationHistoryItem.md) | History of AI optimisations performed on the product | [optional] [default to undefined]
|
|
42
42
|
**integrationConnections** | [**Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
43
43
|
**showSaleBadge** | **boolean** | Whether to show a sale badge on the product | [optional] [default to undefined]
|
|
44
|
+
**license** | [**License**](License.md) | | [optional] [default to undefined]
|
|
44
45
|
|
|
45
46
|
## Example
|
|
46
47
|
|
|
@@ -84,6 +85,7 @@ const instance: Product = {
|
|
|
84
85
|
optimisationHistory,
|
|
85
86
|
integrationConnections,
|
|
86
87
|
showSaleBadge,
|
|
88
|
+
license,
|
|
87
89
|
};
|
|
88
90
|
```
|
|
89
91
|
|
|
@@ -41,6 +41,7 @@ Name | Type | Description | Notes
|
|
|
41
41
|
**optimisationHistory** | [**Array<OptimisationHistoryItem>**](OptimisationHistoryItem.md) | History of AI optimisations performed on the product | [optional] [default to undefined]
|
|
42
42
|
**integrationConnections** | [**Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
43
43
|
**showSaleBadge** | **boolean** | Whether to show a sale badge on the product | [optional] [default to undefined]
|
|
44
|
+
**license** | [**License**](License.md) | | [optional] [default to undefined]
|
|
44
45
|
**config** | [**UpdateProductRequestBundleItemsInnerConfig**](UpdateProductRequestBundleItemsInnerConfig.md) | | [optional] [default to undefined]
|
|
45
46
|
|
|
46
47
|
## Example
|
|
@@ -85,6 +86,7 @@ const instance: ProductBundleItemsInner = {
|
|
|
85
86
|
optimisationHistory,
|
|
86
87
|
integrationConnections,
|
|
87
88
|
showSaleBadge,
|
|
89
|
+
license,
|
|
88
90
|
config,
|
|
89
91
|
};
|
|
90
92
|
```
|
|
@@ -28,6 +28,7 @@ Name | Type | Description | Notes
|
|
|
28
28
|
**shopifyId** | **number** | For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one. | [optional] [default to undefined]
|
|
29
29
|
**metafields** | [**Array<MetaField>**](MetaField.md) | Key/value pairs that can be used to store additional information about the product | [optional] [default to undefined]
|
|
30
30
|
**personalizationTemplate** | **string** | A JSON object that defines the personalization template for the product. | [optional] [default to undefined]
|
|
31
|
+
**license** | [**UpdateProductsRequestProductsInnerLicense**](UpdateProductsRequestProductsInnerLicense.md) | | [optional] [default to undefined]
|
|
31
32
|
**integrationConnections** | [**Array<UpdateProductRequestIntegrationConnectionsInner>**](UpdateProductRequestIntegrationConnectionsInner.md) | Integration connections for the product | [optional] [default to undefined]
|
|
32
33
|
**showSaleBadge** | **boolean** | Whether to show a sale badge on the product | [optional] [default to true]
|
|
33
34
|
|
|
@@ -60,6 +61,7 @@ const instance: UpdateProductRequest = {
|
|
|
60
61
|
shopifyId,
|
|
61
62
|
metafields,
|
|
62
63
|
personalizationTemplate,
|
|
64
|
+
license,
|
|
63
65
|
integrationConnections,
|
|
64
66
|
showSaleBadge,
|
|
65
67
|
};
|
|
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|
|
19
19
|
**shopifyId** | **number** | For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one. | [optional] [default to undefined]
|
|
20
20
|
**integrationConnections** | [**Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
21
21
|
**showSaleBadge** | **boolean** | Whether to show a sale badge on the product | [optional] [default to true]
|
|
22
|
+
**license** | [**UpdateProductsRequestProductsInnerLicense**](UpdateProductsRequestProductsInnerLicense.md) | | [optional] [default to undefined]
|
|
22
23
|
|
|
23
24
|
## Example
|
|
24
25
|
|
|
@@ -40,6 +41,7 @@ const instance: UpdateProductsRequestProductsInner = {
|
|
|
40
41
|
shopifyId,
|
|
41
42
|
integrationConnections,
|
|
42
43
|
showSaleBadge,
|
|
44
|
+
license,
|
|
43
45
|
};
|
|
44
46
|
```
|
|
45
47
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# UpdateProductsRequestProductsInnerLicense
|
|
2
|
+
|
|
3
|
+
This field should be used when a product requires a valid license to manufacture, sell, or distribute — for example, officially licensed characters, brands, or artwork.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | The ID of the license | [default to undefined]
|
|
10
|
+
**expiresAt** | **string** | The date and time the license will expire | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateProductsRequestProductsInnerLicense } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateProductsRequestProductsInnerLicense = {
|
|
18
|
+
id,
|
|
19
|
+
expiresAt,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.78.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|