@sp-api-sdk/catalog-items-api-v0 1.10.2 → 1.10.5

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.
Files changed (25) hide show
  1. package/dist/cjs/src/api-model/api/catalog-api.js +3 -3
  2. package/dist/es/src/api-model/api/catalog-api.js +3 -3
  3. package/dist/types/src/api-model/api/catalog-api.d.ts +10 -10
  4. package/dist/types/src/api-model/base.d.ts +2 -2
  5. package/dist/types/src/api-model/common.d.ts +2 -2
  6. package/dist/types/src/api-model/models/asinidentifier.d.ts +2 -2
  7. package/dist/types/src/api-model/models/attribute-set-list-type.d.ts +96 -96
  8. package/dist/types/src/api-model/models/categories.d.ts +3 -3
  9. package/dist/types/src/api-model/models/creator-type.d.ts +2 -2
  10. package/dist/types/src/api-model/models/decimal-with-units.d.ts +2 -2
  11. package/dist/types/src/api-model/models/dimension-type.d.ts +4 -4
  12. package/dist/types/src/api-model/models/get-catalog-item-response.d.ts +2 -2
  13. package/dist/types/src/api-model/models/identifier-type.d.ts +2 -2
  14. package/dist/types/src/api-model/models/image.d.ts +3 -3
  15. package/dist/types/src/api-model/models/item.d.ts +4 -4
  16. package/dist/types/src/api-model/models/language-type.d.ts +3 -3
  17. package/dist/types/src/api-model/models/list-catalog-categories-response.d.ts +2 -2
  18. package/dist/types/src/api-model/models/list-catalog-items-response.d.ts +2 -2
  19. package/dist/types/src/api-model/models/list-matching-items-response.d.ts +1 -1
  20. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  21. package/dist/types/src/api-model/models/price.d.ts +2 -2
  22. package/dist/types/src/api-model/models/relationship-type.d.ts +23 -23
  23. package/dist/types/src/api-model/models/sales-rank-type.d.ts +2 -2
  24. package/dist/types/src/api-model/models/seller-skuidentifier.d.ts +3 -3
  25. package/package.json +5 -5
@@ -20,11 +20,11 @@ export interface CreatorType {
20
20
  * @type {string}
21
21
  * @memberof CreatorType
22
22
  */
23
- value?: string;
23
+ 'value'?: string;
24
24
  /**
25
25
  * The role of the value.
26
26
  * @type {string}
27
27
  * @memberof CreatorType
28
28
  */
29
- Role?: string;
29
+ 'Role'?: string;
30
30
  }
@@ -20,11 +20,11 @@ export interface DecimalWithUnits {
20
20
  * @type {number}
21
21
  * @memberof DecimalWithUnits
22
22
  */
23
- value?: number;
23
+ 'value'?: number;
24
24
  /**
25
25
  * The unit of the decimal value.
26
26
  * @type {string}
27
27
  * @memberof DecimalWithUnits
28
28
  */
29
- Units?: string;
29
+ 'Units'?: string;
30
30
  }
@@ -21,23 +21,23 @@ export interface DimensionType {
21
21
  * @type {DecimalWithUnits}
22
22
  * @memberof DimensionType
23
23
  */
24
- Height?: DecimalWithUnits;
24
+ 'Height'?: DecimalWithUnits;
25
25
  /**
26
26
  *
27
27
  * @type {DecimalWithUnits}
28
28
  * @memberof DimensionType
29
29
  */
30
- Length?: DecimalWithUnits;
30
+ 'Length'?: DecimalWithUnits;
31
31
  /**
32
32
  *
33
33
  * @type {DecimalWithUnits}
34
34
  * @memberof DimensionType
35
35
  */
36
- Width?: DecimalWithUnits;
36
+ 'Width'?: DecimalWithUnits;
37
37
  /**
38
38
  *
39
39
  * @type {DecimalWithUnits}
40
40
  * @memberof DimensionType
41
41
  */
42
- Weight?: DecimalWithUnits;
42
+ 'Weight'?: DecimalWithUnits;
43
43
  }
@@ -21,11 +21,11 @@ export interface GetCatalogItemResponse {
21
21
  * @type {Item}
22
22
  * @memberof GetCatalogItemResponse
23
23
  */
24
- payload?: Item;
24
+ 'payload'?: Item;
25
25
  /**
26
26
  * A list of error responses returned when a request is unsuccessful.
27
27
  * @type {Array<Error>}
28
28
  * @memberof GetCatalogItemResponse
29
29
  */
30
- errors?: Array<Error>;
30
+ 'errors'?: Array<Error>;
31
31
  }
@@ -22,11 +22,11 @@ export interface IdentifierType {
22
22
  * @type {ASINIdentifier}
23
23
  * @memberof IdentifierType
24
24
  */
25
- MarketplaceASIN?: ASINIdentifier;
25
+ 'MarketplaceASIN'?: ASINIdentifier;
26
26
  /**
27
27
  *
28
28
  * @type {SellerSKUIdentifier}
29
29
  * @memberof IdentifierType
30
30
  */
31
- SKUIdentifier?: SellerSKUIdentifier;
31
+ 'SKUIdentifier'?: SellerSKUIdentifier;
32
32
  }
@@ -21,17 +21,17 @@ export interface Image {
21
21
  * @type {string}
22
22
  * @memberof Image
23
23
  */
24
- URL?: string;
24
+ 'URL'?: string;
25
25
  /**
26
26
  *
27
27
  * @type {DecimalWithUnits}
28
28
  * @memberof Image
29
29
  */
30
- Height?: DecimalWithUnits;
30
+ 'Height'?: DecimalWithUnits;
31
31
  /**
32
32
  *
33
33
  * @type {DecimalWithUnits}
34
34
  * @memberof Image
35
35
  */
36
- Width?: DecimalWithUnits;
36
+ 'Width'?: DecimalWithUnits;
37
37
  }
@@ -24,23 +24,23 @@ export interface Item {
24
24
  * @type {IdentifierType}
25
25
  * @memberof Item
26
26
  */
27
- Identifiers: IdentifierType;
27
+ 'Identifiers': IdentifierType;
28
28
  /**
29
29
  * A list of attributes for the item.
30
30
  * @type {Array<AttributeSetListType>}
31
31
  * @memberof Item
32
32
  */
33
- AttributeSets?: Array<AttributeSetListType>;
33
+ 'AttributeSets'?: Array<AttributeSetListType>;
34
34
  /**
35
35
  * A list of variation relationship information, if applicable for the item.
36
36
  * @type {Array<RelationshipType>}
37
37
  * @memberof Item
38
38
  */
39
- Relationships?: Array<RelationshipType>;
39
+ 'Relationships'?: Array<RelationshipType>;
40
40
  /**
41
41
  * A list of sales rank information for the item by category.
42
42
  * @type {Array<SalesRankType>}
43
43
  * @memberof Item
44
44
  */
45
- SalesRankings?: Array<SalesRankType>;
45
+ 'SalesRankings'?: Array<SalesRankType>;
46
46
  }
@@ -20,17 +20,17 @@ export interface LanguageType {
20
20
  * @type {string}
21
21
  * @memberof LanguageType
22
22
  */
23
- Name?: string;
23
+ 'Name'?: string;
24
24
  /**
25
25
  * The type attribute of the item.
26
26
  * @type {string}
27
27
  * @memberof LanguageType
28
28
  */
29
- Type?: string;
29
+ 'Type'?: string;
30
30
  /**
31
31
  * The audio format attribute of the item.
32
32
  * @type {string}
33
33
  * @memberof LanguageType
34
34
  */
35
- AudioFormat?: string;
35
+ 'AudioFormat'?: string;
36
36
  }
@@ -21,11 +21,11 @@ export interface ListCatalogCategoriesResponse {
21
21
  * @type {Array<Categories>}
22
22
  * @memberof ListCatalogCategoriesResponse
23
23
  */
24
- payload?: Array<Categories>;
24
+ 'payload'?: Array<Categories>;
25
25
  /**
26
26
  * A list of error responses returned when a request is unsuccessful.
27
27
  * @type {Array<Error>}
28
28
  * @memberof ListCatalogCategoriesResponse
29
29
  */
30
- errors?: Array<Error>;
30
+ 'errors'?: Array<Error>;
31
31
  }
@@ -21,11 +21,11 @@ export interface ListCatalogItemsResponse {
21
21
  * @type {ListMatchingItemsResponse}
22
22
  * @memberof ListCatalogItemsResponse
23
23
  */
24
- payload?: ListMatchingItemsResponse;
24
+ 'payload'?: ListMatchingItemsResponse;
25
25
  /**
26
26
  * A list of error responses returned when a request is unsuccessful.
27
27
  * @type {Array<Error>}
28
28
  * @memberof ListCatalogItemsResponse
29
29
  */
30
- errors?: Array<Error>;
30
+ 'errors'?: Array<Error>;
31
31
  }
@@ -21,5 +21,5 @@ export interface ListMatchingItemsResponse {
21
21
  * @type {Array<Item>}
22
22
  * @memberof ListMatchingItemsResponse
23
23
  */
24
- Items?: Array<Item>;
24
+ 'Items'?: Array<Item>;
25
25
  }
@@ -20,17 +20,17 @@ export interface ModelError {
20
20
  * @type {string}
21
21
  * @memberof ModelError
22
22
  */
23
- code: string;
23
+ 'code': string;
24
24
  /**
25
25
  * A message that describes the error condition in a human-readable form.
26
26
  * @type {string}
27
27
  * @memberof ModelError
28
28
  */
29
- message: string;
29
+ 'message': string;
30
30
  /**
31
31
  * Additional information that can help the caller understand or fix the issue.
32
32
  * @type {string}
33
33
  * @memberof ModelError
34
34
  */
35
- details?: string;
35
+ 'details'?: string;
36
36
  }
@@ -20,11 +20,11 @@ export interface Price {
20
20
  * @type {number}
21
21
  * @memberof Price
22
22
  */
23
- Amount?: number;
23
+ 'Amount'?: number;
24
24
  /**
25
25
  * The currency code of the amount.
26
26
  * @type {string}
27
27
  * @memberof Price
28
28
  */
29
- CurrencyCode?: string;
29
+ 'CurrencyCode'?: string;
30
30
  }
@@ -23,137 +23,137 @@ export interface RelationshipType {
23
23
  * @type {IdentifierType}
24
24
  * @memberof RelationshipType
25
25
  */
26
- Identifiers?: IdentifierType;
26
+ 'Identifiers'?: IdentifierType;
27
27
  /**
28
28
  * The color variation of the item.
29
29
  * @type {string}
30
30
  * @memberof RelationshipType
31
31
  */
32
- Color?: string;
32
+ 'Color'?: string;
33
33
  /**
34
34
  * The edition variation of the item.
35
35
  * @type {string}
36
36
  * @memberof RelationshipType
37
37
  */
38
- Edition?: string;
38
+ 'Edition'?: string;
39
39
  /**
40
40
  * The flavor variation of the item.
41
41
  * @type {string}
42
42
  * @memberof RelationshipType
43
43
  */
44
- Flavor?: string;
44
+ 'Flavor'?: string;
45
45
  /**
46
46
  * The gem type variations of the item.
47
47
  * @type {Array<string>}
48
48
  * @memberof RelationshipType
49
49
  */
50
- GemType?: Array<string>;
50
+ 'GemType'?: Array<string>;
51
51
  /**
52
52
  * The golf club flex variation of an item.
53
53
  * @type {string}
54
54
  * @memberof RelationshipType
55
55
  */
56
- GolfClubFlex?: string;
56
+ 'GolfClubFlex'?: string;
57
57
  /**
58
58
  * The hand orientation variation of an item.
59
59
  * @type {string}
60
60
  * @memberof RelationshipType
61
61
  */
62
- HandOrientation?: string;
62
+ 'HandOrientation'?: string;
63
63
  /**
64
64
  * The hardware platform variation of an item.
65
65
  * @type {string}
66
66
  * @memberof RelationshipType
67
67
  */
68
- HardwarePlatform?: string;
68
+ 'HardwarePlatform'?: string;
69
69
  /**
70
70
  * The material type variations of an item.
71
71
  * @type {Array<string>}
72
72
  * @memberof RelationshipType
73
73
  */
74
- MaterialType?: Array<string>;
74
+ 'MaterialType'?: Array<string>;
75
75
  /**
76
76
  * The metal type variation of an item.
77
77
  * @type {string}
78
78
  * @memberof RelationshipType
79
79
  */
80
- MetalType?: string;
80
+ 'MetalType'?: string;
81
81
  /**
82
82
  * The model variation of an item.
83
83
  * @type {string}
84
84
  * @memberof RelationshipType
85
85
  */
86
- Model?: string;
86
+ 'Model'?: string;
87
87
  /**
88
88
  * The operating system variations of an item.
89
89
  * @type {Array<string>}
90
90
  * @memberof RelationshipType
91
91
  */
92
- OperatingSystem?: Array<string>;
92
+ 'OperatingSystem'?: Array<string>;
93
93
  /**
94
94
  * The product type subcategory variation of an item.
95
95
  * @type {string}
96
96
  * @memberof RelationshipType
97
97
  */
98
- ProductTypeSubcategory?: string;
98
+ 'ProductTypeSubcategory'?: string;
99
99
  /**
100
100
  * The ring size variation of an item.
101
101
  * @type {string}
102
102
  * @memberof RelationshipType
103
103
  */
104
- RingSize?: string;
104
+ 'RingSize'?: string;
105
105
  /**
106
106
  * The shaft material variation of an item.
107
107
  * @type {string}
108
108
  * @memberof RelationshipType
109
109
  */
110
- ShaftMaterial?: string;
110
+ 'ShaftMaterial'?: string;
111
111
  /**
112
112
  * The scent variation of an item.
113
113
  * @type {string}
114
114
  * @memberof RelationshipType
115
115
  */
116
- Scent?: string;
116
+ 'Scent'?: string;
117
117
  /**
118
118
  * The size variation of an item.
119
119
  * @type {string}
120
120
  * @memberof RelationshipType
121
121
  */
122
- Size?: string;
122
+ 'Size'?: string;
123
123
  /**
124
124
  * The size per pearl variation of an item.
125
125
  * @type {string}
126
126
  * @memberof RelationshipType
127
127
  */
128
- SizePerPearl?: string;
128
+ 'SizePerPearl'?: string;
129
129
  /**
130
130
  *
131
131
  * @type {DecimalWithUnits}
132
132
  * @memberof RelationshipType
133
133
  */
134
- GolfClubLoft?: DecimalWithUnits;
134
+ 'GolfClubLoft'?: DecimalWithUnits;
135
135
  /**
136
136
  *
137
137
  * @type {DecimalWithUnits}
138
138
  * @memberof RelationshipType
139
139
  */
140
- TotalDiamondWeight?: DecimalWithUnits;
140
+ 'TotalDiamondWeight'?: DecimalWithUnits;
141
141
  /**
142
142
  *
143
143
  * @type {DecimalWithUnits}
144
144
  * @memberof RelationshipType
145
145
  */
146
- TotalGemWeight?: DecimalWithUnits;
146
+ 'TotalGemWeight'?: DecimalWithUnits;
147
147
  /**
148
148
  * The package quantity variation of an item.
149
149
  * @type {number}
150
150
  * @memberof RelationshipType
151
151
  */
152
- PackageQuantity?: number;
152
+ 'PackageQuantity'?: number;
153
153
  /**
154
154
  *
155
155
  * @type {DimensionType}
156
156
  * @memberof RelationshipType
157
157
  */
158
- ItemDimensions?: DimensionType;
158
+ 'ItemDimensions'?: DimensionType;
159
159
  }
@@ -20,11 +20,11 @@ export interface SalesRankType {
20
20
  * @type {string}
21
21
  * @memberof SalesRankType
22
22
  */
23
- ProductCategoryId: string;
23
+ 'ProductCategoryId': string;
24
24
  /**
25
25
  * The sales rank of the item within the item category.
26
26
  * @type {number}
27
27
  * @memberof SalesRankType
28
28
  */
29
- Rank: number;
29
+ 'Rank': number;
30
30
  }
@@ -20,17 +20,17 @@ export interface SellerSKUIdentifier {
20
20
  * @type {string}
21
21
  * @memberof SellerSKUIdentifier
22
22
  */
23
- MarketplaceId: string;
23
+ 'MarketplaceId': string;
24
24
  /**
25
25
  * The seller identifier submitted for the operation.
26
26
  * @type {string}
27
27
  * @memberof SellerSKUIdentifier
28
28
  */
29
- SellerId: string;
29
+ 'SellerId': string;
30
30
  /**
31
31
  * The seller stock keeping unit (SKU) of the item.
32
32
  * @type {string}
33
33
  * @memberof SellerSKUIdentifier
34
34
  */
35
- SellerSKU: string;
35
+ 'SellerSKU': string;
36
36
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/catalog-items-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.",
5
- "version": "1.10.2",
5
+ "version": "1.10.5",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -24,11 +24,11 @@
24
24
  "build:es": "tsc -p tsconfig.es.json",
25
25
  "build": "yarn build:cjs && yarn build:es",
26
26
  "clean": "rimraf dist",
27
- "test": "NODE_ENV='test' yarn jest"
27
+ "test": "jest"
28
28
  },
29
29
  "dependencies": {
30
- "@sp-api-sdk/auth": "^1.9.15",
31
- "@sp-api-sdk/common": "^1.9.1",
30
+ "@sp-api-sdk/auth": "^1.9.17",
31
+ "@sp-api-sdk/common": "^1.9.3",
32
32
  "axios": "^0.27.2"
33
33
  },
34
34
  "repository": {
@@ -50,5 +50,5 @@
50
50
  "sp sdk",
51
51
  "catalog items api"
52
52
  ],
53
- "gitHead": "e49e4267a61beba2869d509719731bea6cc2c6d8"
53
+ "gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
54
54
  }