@sp-api-sdk/catalog-items-api-2022-04-01 1.1.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/LICENSE +21 -0
- package/README.md +108 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/src/api-model/api/catalog-api.js +263 -0
- package/dist/cjs/src/api-model/api.js +17 -0
- package/dist/cjs/src/api-model/base.js +62 -0
- package/dist/cjs/src/api-model/common.js +137 -0
- package/dist/cjs/src/api-model/configuration.js +42 -0
- package/dist/cjs/src/api-model/index.js +19 -0
- package/dist/cjs/src/api-model/models/brand-refinement.js +15 -0
- package/dist/cjs/src/api-model/models/classification-refinement.js +15 -0
- package/dist/cjs/src/api-model/models/error-list.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +29 -0
- package/dist/cjs/src/api-model/models/item-browse-classification.js +15 -0
- package/dist/cjs/src/api-model/models/item-classification-sales-rank.js +15 -0
- package/dist/cjs/src/api-model/models/item-dimension.js +15 -0
- package/dist/cjs/src/api-model/models/item-dimensions-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-dimensions.js +15 -0
- package/dist/cjs/src/api-model/models/item-display-group-sales-rank.js +15 -0
- package/dist/cjs/src/api-model/models/item-identifier.js +15 -0
- package/dist/cjs/src/api-model/models/item-identifiers-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-image.js +33 -0
- package/dist/cjs/src/api-model/models/item-images-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-product-type-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-relationship.js +25 -0
- package/dist/cjs/src/api-model/models/item-relationships-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-sales-ranks-by-marketplace.js +15 -0
- package/dist/cjs/src/api-model/models/item-search-results.js +15 -0
- package/dist/cjs/src/api-model/models/item-summary-by-marketplace.js +27 -0
- package/dist/cjs/src/api-model/models/item-variation-theme.js +15 -0
- package/dist/cjs/src/api-model/models/item-vendor-details-by-marketplace.js +33 -0
- package/dist/cjs/src/api-model/models/item-vendor-details-category.js +15 -0
- package/dist/cjs/src/api-model/models/item.js +15 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/pagination.js +15 -0
- package/dist/cjs/src/api-model/models/refinements.js +15 -0
- package/dist/cjs/src/client.js +28 -0
- package/dist/es/index.js +2 -0
- package/dist/es/src/api-model/api/catalog-api.js +255 -0
- package/dist/es/src/api-model/api.js +14 -0
- package/dist/es/src/api-model/base.js +56 -0
- package/dist/es/src/api-model/common.js +125 -0
- package/dist/es/src/api-model/configuration.js +38 -0
- package/dist/es/src/api-model/index.js +16 -0
- package/dist/es/src/api-model/models/brand-refinement.js +14 -0
- package/dist/es/src/api-model/models/classification-refinement.js +14 -0
- package/dist/es/src/api-model/models/error-list.js +14 -0
- package/dist/es/src/api-model/models/index.js +26 -0
- package/dist/es/src/api-model/models/item-browse-classification.js +14 -0
- package/dist/es/src/api-model/models/item-classification-sales-rank.js +14 -0
- package/dist/es/src/api-model/models/item-dimension.js +14 -0
- package/dist/es/src/api-model/models/item-dimensions-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-dimensions.js +14 -0
- package/dist/es/src/api-model/models/item-display-group-sales-rank.js +14 -0
- package/dist/es/src/api-model/models/item-identifier.js +14 -0
- package/dist/es/src/api-model/models/item-identifiers-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-image.js +30 -0
- package/dist/es/src/api-model/models/item-images-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-product-type-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-relationship.js +22 -0
- package/dist/es/src/api-model/models/item-relationships-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-sales-ranks-by-marketplace.js +14 -0
- package/dist/es/src/api-model/models/item-search-results.js +14 -0
- package/dist/es/src/api-model/models/item-summary-by-marketplace.js +24 -0
- package/dist/es/src/api-model/models/item-variation-theme.js +14 -0
- package/dist/es/src/api-model/models/item-vendor-details-by-marketplace.js +30 -0
- package/dist/es/src/api-model/models/item-vendor-details-category.js +14 -0
- package/dist/es/src/api-model/models/item.js +14 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/pagination.js +14 -0
- package/dist/es/src/api-model/models/refinements.js +14 -0
- package/dist/es/src/client.js +24 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/src/api-model/api/catalog-api.d.ts +252 -0
- package/dist/types/src/api-model/api.d.ts +12 -0
- package/dist/types/src/api-model/base.d.ts +55 -0
- package/dist/types/src/api-model/common.d.ts +65 -0
- package/dist/types/src/api-model/configuration.d.ts +83 -0
- package/dist/types/src/api-model/index.d.ts +14 -0
- package/dist/types/src/api-model/models/brand-refinement.d.ts +30 -0
- package/dist/types/src/api-model/models/classification-refinement.d.ts +36 -0
- package/dist/types/src/api-model/models/error-list.d.ts +24 -0
- package/dist/types/src/api-model/models/index.d.ts +26 -0
- package/dist/types/src/api-model/models/item-browse-classification.d.ts +30 -0
- package/dist/types/src/api-model/models/item-classification-sales-rank.d.ts +42 -0
- package/dist/types/src/api-model/models/item-dimension.d.ts +30 -0
- package/dist/types/src/api-model/models/item-dimensions-by-marketplace.d.ts +37 -0
- package/dist/types/src/api-model/models/item-dimensions.d.ts +43 -0
- package/dist/types/src/api-model/models/item-display-group-sales-rank.d.ts +42 -0
- package/dist/types/src/api-model/models/item-identifier.d.ts +30 -0
- package/dist/types/src/api-model/models/item-identifiers-by-marketplace.d.ts +31 -0
- package/dist/types/src/api-model/models/item-image.d.ts +58 -0
- package/dist/types/src/api-model/models/item-images-by-marketplace.d.ts +31 -0
- package/dist/types/src/api-model/models/item-product-type-by-marketplace.d.ts +30 -0
- package/dist/types/src/api-model/models/item-relationship.d.ts +51 -0
- package/dist/types/src/api-model/models/item-relationships-by-marketplace.d.ts +31 -0
- package/dist/types/src/api-model/models/item-sales-ranks-by-marketplace.d.ts +38 -0
- package/dist/types/src/api-model/models/item-search-results.d.ts +45 -0
- package/dist/types/src/api-model/models/item-summary-by-marketplace.d.ts +107 -0
- package/dist/types/src/api-model/models/item-variation-theme.d.ts +30 -0
- package/dist/types/src/api-model/models/item-vendor-details-by-marketplace.d.ts +83 -0
- package/dist/types/src/api-model/models/item-vendor-details-category.d.ts +30 -0
- package/dist/types/src/api-model/models/item.d.ts +86 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/pagination.d.ts +30 -0
- package/dist/types/src/api-model/models/refinements.d.ts +32 -0
- package/dist/types/src/client.d.ts +6 -0
- package/package.json +54 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Catalog Items
|
|
3
|
+
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Variation theme indicating the combination of Amazon item catalog attributes that define the variation family.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ItemVariationTheme
|
|
16
|
+
*/
|
|
17
|
+
export interface ItemVariationTheme {
|
|
18
|
+
/**
|
|
19
|
+
* Names of the Amazon catalog item attributes associated with the variation theme.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ItemVariationTheme
|
|
22
|
+
*/
|
|
23
|
+
attributes?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Variation theme indicating the combination of Amazon item catalog attributes that define the variation family.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ItemVariationTheme
|
|
28
|
+
*/
|
|
29
|
+
theme?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Catalog Items
|
|
3
|
+
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ItemVendorDetailsCategory } from './item-vendor-details-category';
|
|
13
|
+
/**
|
|
14
|
+
* Vendor details associated with an Amazon catalog item for the indicated Amazon marketplace.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ItemVendorDetailsByMarketplace
|
|
17
|
+
*/
|
|
18
|
+
export interface ItemVendorDetailsByMarketplace {
|
|
19
|
+
/**
|
|
20
|
+
* Amazon marketplace identifier.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ItemVendorDetailsByMarketplace
|
|
23
|
+
*/
|
|
24
|
+
marketplaceId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Brand code associated with an Amazon catalog item.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ItemVendorDetailsByMarketplace
|
|
29
|
+
*/
|
|
30
|
+
brandCode?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Manufacturer code associated with an Amazon catalog item.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ItemVendorDetailsByMarketplace
|
|
35
|
+
*/
|
|
36
|
+
manufacturerCode?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Parent vendor code of the manufacturer code.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ItemVendorDetailsByMarketplace
|
|
41
|
+
*/
|
|
42
|
+
manufacturerCodeParent?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ItemVendorDetailsCategory}
|
|
46
|
+
* @memberof ItemVendorDetailsByMarketplace
|
|
47
|
+
*/
|
|
48
|
+
productCategory?: ItemVendorDetailsCategory;
|
|
49
|
+
/**
|
|
50
|
+
* Product group associated with an Amazon catalog item.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ItemVendorDetailsByMarketplace
|
|
53
|
+
*/
|
|
54
|
+
productGroup?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ItemVendorDetailsCategory}
|
|
58
|
+
* @memberof ItemVendorDetailsByMarketplace
|
|
59
|
+
*/
|
|
60
|
+
productSubcategory?: ItemVendorDetailsCategory;
|
|
61
|
+
/**
|
|
62
|
+
* Replenishment category associated with an Amazon catalog item.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ItemVendorDetailsByMarketplace
|
|
65
|
+
*/
|
|
66
|
+
replenishmentCategory?: ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
* @enum {string}
|
|
71
|
+
*/
|
|
72
|
+
export declare enum ItemVendorDetailsByMarketplaceReplenishmentCategoryEnum {
|
|
73
|
+
Allocated = "ALLOCATED",
|
|
74
|
+
BasicReplenishment = "BASIC_REPLENISHMENT",
|
|
75
|
+
InSeason = "IN_SEASON",
|
|
76
|
+
LimitedReplenishment = "LIMITED_REPLENISHMENT",
|
|
77
|
+
ManufacturerOutOfStock = "MANUFACTURER_OUT_OF_STOCK",
|
|
78
|
+
NewProduct = "NEW_PRODUCT",
|
|
79
|
+
NonReplenishable = "NON_REPLENISHABLE",
|
|
80
|
+
NonStockupable = "NON_STOCKUPABLE",
|
|
81
|
+
Obsolete = "OBSOLETE",
|
|
82
|
+
PlannedReplenishment = "PLANNED_REPLENISHMENT"
|
|
83
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Catalog Items
|
|
3
|
+
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Product category or subcategory associated with an Amazon catalog item.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ItemVendorDetailsCategory
|
|
16
|
+
*/
|
|
17
|
+
export interface ItemVendorDetailsCategory {
|
|
18
|
+
/**
|
|
19
|
+
* Display name of the product category or subcategory
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ItemVendorDetailsCategory
|
|
22
|
+
*/
|
|
23
|
+
displayName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Value (code) of the product category or subcategory.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ItemVendorDetailsCategory
|
|
28
|
+
*/
|
|
29
|
+
value?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Catalog Items
|
|
3
|
+
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ItemDimensionsByMarketplace } from './item-dimensions-by-marketplace';
|
|
13
|
+
import { ItemIdentifiersByMarketplace } from './item-identifiers-by-marketplace';
|
|
14
|
+
import { ItemImagesByMarketplace } from './item-images-by-marketplace';
|
|
15
|
+
import { ItemProductTypeByMarketplace } from './item-product-type-by-marketplace';
|
|
16
|
+
import { ItemRelationshipsByMarketplace } from './item-relationships-by-marketplace';
|
|
17
|
+
import { ItemSalesRanksByMarketplace } from './item-sales-ranks-by-marketplace';
|
|
18
|
+
import { ItemSummaryByMarketplace } from './item-summary-by-marketplace';
|
|
19
|
+
import { ItemVendorDetailsByMarketplace } from './item-vendor-details-by-marketplace';
|
|
20
|
+
/**
|
|
21
|
+
* An item in the Amazon catalog.
|
|
22
|
+
* @export
|
|
23
|
+
* @interface Item
|
|
24
|
+
*/
|
|
25
|
+
export interface Item {
|
|
26
|
+
/**
|
|
27
|
+
* Amazon Standard Identification Number (ASIN) is the unique identifier for an item in the Amazon catalog.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof Item
|
|
30
|
+
*/
|
|
31
|
+
asin: string;
|
|
32
|
+
/**
|
|
33
|
+
* A JSON object that contains structured item attribute data keyed by attribute name. Catalog item attributes conform to the related product type definitions available in the Selling Partner API for Product Type Definitions.
|
|
34
|
+
* @type {object}
|
|
35
|
+
* @memberof Item
|
|
36
|
+
*/
|
|
37
|
+
attributes?: object;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ItemDimensionsByMarketplace}
|
|
41
|
+
* @memberof Item
|
|
42
|
+
*/
|
|
43
|
+
dimensions?: ItemDimensionsByMarketplace;
|
|
44
|
+
/**
|
|
45
|
+
* Identifiers associated with the item in the Amazon catalog, such as UPC and EAN identifiers.
|
|
46
|
+
* @type {Array<ItemIdentifiersByMarketplace>}
|
|
47
|
+
* @memberof Item
|
|
48
|
+
*/
|
|
49
|
+
identifiers?: Array<ItemIdentifiersByMarketplace>;
|
|
50
|
+
/**
|
|
51
|
+
* Images for an item in the Amazon catalog.
|
|
52
|
+
* @type {Array<ItemImagesByMarketplace>}
|
|
53
|
+
* @memberof Item
|
|
54
|
+
*/
|
|
55
|
+
images?: Array<ItemImagesByMarketplace>;
|
|
56
|
+
/**
|
|
57
|
+
* Product types associated with the Amazon catalog item.
|
|
58
|
+
* @type {Array<ItemProductTypeByMarketplace>}
|
|
59
|
+
* @memberof Item
|
|
60
|
+
*/
|
|
61
|
+
productTypes?: Array<ItemProductTypeByMarketplace>;
|
|
62
|
+
/**
|
|
63
|
+
* Relationships by marketplace for an Amazon catalog item (for example, variations).
|
|
64
|
+
* @type {Array<ItemRelationshipsByMarketplace>}
|
|
65
|
+
* @memberof Item
|
|
66
|
+
*/
|
|
67
|
+
relationships?: Array<ItemRelationshipsByMarketplace>;
|
|
68
|
+
/**
|
|
69
|
+
* Sales ranks of an Amazon catalog item.
|
|
70
|
+
* @type {Array<ItemSalesRanksByMarketplace>}
|
|
71
|
+
* @memberof Item
|
|
72
|
+
*/
|
|
73
|
+
salesRanks?: Array<ItemSalesRanksByMarketplace>;
|
|
74
|
+
/**
|
|
75
|
+
* Summary details of an Amazon catalog item.
|
|
76
|
+
* @type {Array<ItemSummaryByMarketplace>}
|
|
77
|
+
* @memberof Item
|
|
78
|
+
*/
|
|
79
|
+
summaries?: Array<ItemSummaryByMarketplace>;
|
|
80
|
+
/**
|
|
81
|
+
* Vendor details associated with an Amazon catalog item. Vendor details are available to vendors only.
|
|
82
|
+
* @type {Array<ItemVendorDetailsByMarketplace>}
|
|
83
|
+
* @memberof Item
|
|
84
|
+
*/
|
|
85
|
+
vendorDetails?: Array<ItemVendorDetailsByMarketplace>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Catalog Items
|
|
3
|
+
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Error response returned when the request is unsuccessful.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ModelError
|
|
16
|
+
*/
|
|
17
|
+
export interface ModelError {
|
|
18
|
+
/**
|
|
19
|
+
* An error code that identifies the type of error that occurred.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ModelError
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* A message that describes the error condition.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ModelError
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ModelError
|
|
34
|
+
*/
|
|
35
|
+
details?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Catalog Items
|
|
3
|
+
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* When a request produces a response that exceeds the `pageSize`, pagination occurs. This means the response is divided into individual pages. To retrieve the next page or the previous page, you must pass the `nextToken` value or the `previousToken` value as the `pageToken` parameter in the next request. When you receive the last page, there will be no `nextToken` key in the pagination object.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Pagination
|
|
16
|
+
*/
|
|
17
|
+
export interface Pagination {
|
|
18
|
+
/**
|
|
19
|
+
* A token that can be used to fetch the next page.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Pagination
|
|
22
|
+
*/
|
|
23
|
+
nextToken?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A token that can be used to fetch the previous page.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Pagination
|
|
28
|
+
*/
|
|
29
|
+
previousToken?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Catalog Items
|
|
3
|
+
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-use-case-guide).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2022-04-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { BrandRefinement } from './brand-refinement';
|
|
13
|
+
import { ClassificationRefinement } from './classification-refinement';
|
|
14
|
+
/**
|
|
15
|
+
* Search refinements.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Refinements
|
|
18
|
+
*/
|
|
19
|
+
export interface Refinements {
|
|
20
|
+
/**
|
|
21
|
+
* Brand search refinements.
|
|
22
|
+
* @type {Array<BrandRefinement>}
|
|
23
|
+
* @memberof Refinements
|
|
24
|
+
*/
|
|
25
|
+
brands: Array<BrandRefinement>;
|
|
26
|
+
/**
|
|
27
|
+
* Classification search refinements.
|
|
28
|
+
* @type {Array<ClassificationRefinement>}
|
|
29
|
+
* @memberof Refinements
|
|
30
|
+
*/
|
|
31
|
+
classifications: Array<ClassificationRefinement>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
+
import { CatalogApi } from './api-model';
|
|
3
|
+
export declare const clientRateLimits: RateLimit[];
|
|
4
|
+
export declare class CatalogItemsApiClient extends CatalogApi {
|
|
5
|
+
constructor(configuration: ClientConfiguration);
|
|
6
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sp-api-sdk/catalog-items-api-2022-04-01",
|
|
3
|
+
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
|
+
"description": "The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the Catalog Items API Use Case Guide.",
|
|
5
|
+
"version": "1.1.0",
|
|
6
|
+
"main": "dist/cjs/index.js",
|
|
7
|
+
"module": "dist/es/index.js",
|
|
8
|
+
"types": "dist/types/index.d.ts",
|
|
9
|
+
"typedocMain": "./index.ts",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"directories": {
|
|
15
|
+
"lib": "dist"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/**/*.js",
|
|
19
|
+
"dist/**/*.d.ts"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"check:ts": "yarn tsc --noEmit",
|
|
23
|
+
"build:cjs": "tsc -p tsconfig.json",
|
|
24
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
25
|
+
"build": "yarn build:cjs && yarn build:es",
|
|
26
|
+
"clean": "rimraf dist",
|
|
27
|
+
"test": "jest"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@sp-api-sdk/auth": "^1.9.17",
|
|
31
|
+
"@sp-api-sdk/common": "^1.9.3",
|
|
32
|
+
"axios": "^0.27.2"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://github.com/bizon/selling-partner-api-sdk.git",
|
|
37
|
+
"directory": "clients/catalog-items-api-2022-04-01"
|
|
38
|
+
},
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/bizon/selling-partner-api-sdk/issues"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/bizon/selling-partner-api-sdk/tree/master/clients/catalog-items-api-2022-04-01",
|
|
43
|
+
"keywords": [
|
|
44
|
+
"amazon",
|
|
45
|
+
"bizon",
|
|
46
|
+
"marketplace web services",
|
|
47
|
+
"mws",
|
|
48
|
+
"selling partner api",
|
|
49
|
+
"sp api",
|
|
50
|
+
"sp sdk",
|
|
51
|
+
"catalog items api"
|
|
52
|
+
],
|
|
53
|
+
"gitHead": "a91680c9bce217db7412c5ad7c17aa6e918ada8e"
|
|
54
|
+
}
|