@sp-api-sdk/product-pricing-api-v0 3.1.3 → 3.1.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 (82) hide show
  1. package/dist/cjs/api-model/api/product-pricing-api.js +0 -39
  2. package/dist/cjs/api-model/base.js +0 -19
  3. package/dist/cjs/api-model/common.js +0 -37
  4. package/dist/cjs/api-model/configuration.js +0 -17
  5. package/dist/cjs/api-model/models/condition-type.js +0 -2
  6. package/dist/cjs/api-model/models/customer-type.js +0 -2
  7. package/dist/cjs/api-model/models/fulfillment-channel-type.js +0 -2
  8. package/dist/cjs/api-model/models/http-method.js +0 -2
  9. package/dist/cjs/api-model/models/item-condition.js +0 -2
  10. package/dist/cjs/api-model/models/offer-customer-type.js +0 -2
  11. package/dist/cjs/api-model/models/quantity-discount-type.js +0 -2
  12. package/dist/es/api-model/api/product-pricing-api.js +0 -39
  13. package/dist/es/api-model/base.js +0 -19
  14. package/dist/es/api-model/common.js +0 -37
  15. package/dist/es/api-model/configuration.js +0 -17
  16. package/dist/es/api-model/models/condition-type.js +0 -2
  17. package/dist/es/api-model/models/customer-type.js +0 -2
  18. package/dist/es/api-model/models/fulfillment-channel-type.js +0 -2
  19. package/dist/es/api-model/models/http-method.js +0 -2
  20. package/dist/es/api-model/models/item-condition.js +0 -2
  21. package/dist/es/api-model/models/offer-customer-type.js +0 -2
  22. package/dist/es/api-model/models/quantity-discount-type.js +0 -2
  23. package/dist/types/api-model/api/product-pricing-api.d.ts +0 -93
  24. package/dist/types/api-model/base.d.ts +0 -24
  25. package/dist/types/api-model/common.d.ts +0 -37
  26. package/dist/types/api-model/configuration.d.ts +0 -17
  27. package/dist/types/api-model/models/asinidentifier.d.ts +0 -6
  28. package/dist/types/api-model/models/batch-offers-request-params.d.ts +0 -14
  29. package/dist/types/api-model/models/batch-offers-response.d.ts +0 -17
  30. package/dist/types/api-model/models/batch-request.d.ts +0 -11
  31. package/dist/types/api-model/models/buy-box-price-type.d.ts +0 -38
  32. package/dist/types/api-model/models/competitive-price-type.d.ts +0 -29
  33. package/dist/types/api-model/models/competitive-pricing-type.d.ts +0 -11
  34. package/dist/types/api-model/models/condition-type.d.ts +0 -2
  35. package/dist/types/api-model/models/customer-type.d.ts +0 -2
  36. package/dist/types/api-model/models/detailed-shipping-time-type.d.ts +0 -10
  37. package/dist/types/api-model/models/errors.d.ts +0 -4
  38. package/dist/types/api-model/models/fulfillment-channel-type.d.ts +0 -2
  39. package/dist/types/api-model/models/get-item-offers-batch-request.d.ts +0 -4
  40. package/dist/types/api-model/models/get-item-offers-batch-response.d.ts +0 -4
  41. package/dist/types/api-model/models/get-listing-offers-batch-request.d.ts +0 -4
  42. package/dist/types/api-model/models/get-listing-offers-batch-response.d.ts +0 -4
  43. package/dist/types/api-model/models/get-offers-http-status-line.d.ts +0 -6
  44. package/dist/types/api-model/models/get-offers-response.d.ts +0 -9
  45. package/dist/types/api-model/models/get-offers-result.d.ts +0 -27
  46. package/dist/types/api-model/models/get-pricing-response.d.ts +0 -6
  47. package/dist/types/api-model/models/http-method.d.ts +0 -2
  48. package/dist/types/api-model/models/http-response-headers.d.ts +0 -6
  49. package/dist/types/api-model/models/identifier-type.d.ts +0 -12
  50. package/dist/types/api-model/models/item-condition.d.ts +0 -2
  51. package/dist/types/api-model/models/item-identifier.d.ts +0 -13
  52. package/dist/types/api-model/models/item-offers-request-params-all-of.d.ts +0 -7
  53. package/dist/types/api-model/models/item-offers-request-params.d.ts +0 -1
  54. package/dist/types/api-model/models/item-offers-request.d.ts +0 -1
  55. package/dist/types/api-model/models/item-offers-response-all-of.d.ts +0 -10
  56. package/dist/types/api-model/models/item-offers-response.d.ts +0 -1
  57. package/dist/types/api-model/models/listing-offers-request-params-all-of.d.ts +0 -7
  58. package/dist/types/api-model/models/listing-offers-request-params.d.ts +0 -1
  59. package/dist/types/api-model/models/listing-offers-request.d.ts +0 -1
  60. package/dist/types/api-model/models/listing-offers-response-all-of.d.ts +0 -10
  61. package/dist/types/api-model/models/listing-offers-response.d.ts +0 -1
  62. package/dist/types/api-model/models/lowest-price-type.d.ts +0 -38
  63. package/dist/types/api-model/models/model-error.d.ts +0 -8
  64. package/dist/types/api-model/models/money-type.d.ts +0 -6
  65. package/dist/types/api-model/models/offer-count-type.d.ts +0 -11
  66. package/dist/types/api-model/models/offer-customer-type.d.ts +0 -2
  67. package/dist/types/api-model/models/offer-detail.d.ts +0 -58
  68. package/dist/types/api-model/models/offer-listing-count-type.d.ts +0 -6
  69. package/dist/types/api-model/models/offer-type.d.ts +0 -32
  70. package/dist/types/api-model/models/points.d.ts +0 -9
  71. package/dist/types/api-model/models/price-type.d.ts +0 -22
  72. package/dist/types/api-model/models/price.d.ts +0 -13
  73. package/dist/types/api-model/models/prime-information-type.d.ts +0 -6
  74. package/dist/types/api-model/models/product.d.ts +0 -20
  75. package/dist/types/api-model/models/quantity-discount-price-type.d.ts +0 -14
  76. package/dist/types/api-model/models/quantity-discount-type.d.ts +0 -2
  77. package/dist/types/api-model/models/sales-rank-type.d.ts +0 -6
  78. package/dist/types/api-model/models/seller-feedback-type.d.ts +0 -6
  79. package/dist/types/api-model/models/seller-skuidentifier.d.ts +0 -8
  80. package/dist/types/api-model/models/ships-from-type.d.ts +0 -6
  81. package/dist/types/api-model/models/summary.d.ts +0 -31
  82. package/package.json +25 -4
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Information about the seller\'s feedback, including the percentage of positive feedback, and the total number of ratings received.
14
- * @export
15
- * @interface SellerFeedbackType
16
14
  */
17
15
  export interface SellerFeedbackType {
18
16
  /**
19
17
  * The percentage of positive feedback for the seller in the past 365 days.
20
- * @type {number}
21
- * @memberof SellerFeedbackType
22
18
  */
23
19
  'SellerPositiveFeedbackRating'?: number;
24
20
  /**
25
21
  * The number of ratings received about the seller.
26
- * @type {number}
27
- * @memberof SellerFeedbackType
28
22
  */
29
23
  'FeedbackCount': number;
30
24
  }
@@ -11,26 +11,18 @@
11
11
  */
12
12
  /**
13
13
  * Schema to identify an item by MarketPlaceId, SellerId, and SellerSKU.
14
- * @export
15
- * @interface SellerSKUIdentifier
16
14
  */
17
15
  export interface SellerSKUIdentifier {
18
16
  /**
19
17
  * A marketplace identifier.
20
- * @type {string}
21
- * @memberof SellerSKUIdentifier
22
18
  */
23
19
  'MarketplaceId': string;
24
20
  /**
25
21
  * The seller identifier submitted for the operation.
26
- * @type {string}
27
- * @memberof SellerSKUIdentifier
28
22
  */
29
23
  'SellerId': string;
30
24
  /**
31
25
  * The seller stock keeping unit (SKU) of the item.
32
- * @type {string}
33
- * @memberof SellerSKUIdentifier
34
26
  */
35
27
  'SellerSKU': string;
36
28
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * The state and country from where the item is shipped.
14
- * @export
15
- * @interface ShipsFromType
16
14
  */
17
15
  export interface ShipsFromType {
18
16
  /**
19
17
  * The state from where the item is shipped.
20
- * @type {string}
21
- * @memberof ShipsFromType
22
18
  */
23
19
  'State'?: string;
24
20
  /**
25
21
  * The country from where the item is shipped.
26
- * @type {string}
27
- * @memberof ShipsFromType
28
22
  */
29
23
  'Country'?: string;
30
24
  }
@@ -16,68 +16,37 @@ import type { OfferCountType } from './offer-count-type';
16
16
  import type { SalesRankType } from './sales-rank-type';
17
17
  /**
18
18
  * Contains price information about the product, including the LowestPrices and BuyBoxPrices, the ListPrice, the SuggestedLowerPricePlusShipping, and NumberOfOffers and NumberOfBuyBoxEligibleOffers.
19
- * @export
20
- * @interface Summary
21
19
  */
22
20
  export interface Summary {
23
21
  /**
24
22
  * The number of unique offers contained in NumberOfOffers.
25
- * @type {number}
26
- * @memberof Summary
27
23
  */
28
24
  'TotalOfferCount': number;
29
25
  /**
30
26
  * A list that contains the total number of offers information for given conditions and fulfillment channels.
31
- * @type {Array<OfferCountType>}
32
- * @memberof Summary
33
27
  */
34
28
  'NumberOfOffers'?: Array<OfferCountType>;
35
29
  /**
36
30
  * A list of the lowest prices.
37
- * @type {Array<LowestPriceType>}
38
- * @memberof Summary
39
31
  */
40
32
  'LowestPrices'?: Array<LowestPriceType>;
41
33
  /**
42
34
  * A list of the Buy Box prices.
43
- * @type {Array<BuyBoxPriceType>}
44
- * @memberof Summary
45
35
  */
46
36
  'BuyBoxPrices'?: Array<BuyBoxPriceType>;
47
- /**
48
- *
49
- * @type {MoneyType}
50
- * @memberof Summary
51
- */
52
37
  'ListPrice'?: MoneyType;
53
- /**
54
- *
55
- * @type {MoneyType}
56
- * @memberof Summary
57
- */
58
38
  'CompetitivePriceThreshold'?: MoneyType;
59
- /**
60
- *
61
- * @type {MoneyType}
62
- * @memberof Summary
63
- */
64
39
  'SuggestedLowerPricePlusShipping'?: MoneyType;
65
40
  /**
66
41
  * A list of sales rank information for the item, by category.
67
- * @type {Array<SalesRankType>}
68
- * @memberof Summary
69
42
  */
70
43
  'SalesRankings'?: Array<SalesRankType>;
71
44
  /**
72
45
  * A list that contains the total number of offers that are eligible for the Buy Box for the given conditions and fulfillment channels.
73
- * @type {Array<OfferCountType>}
74
- * @memberof Summary
75
46
  */
76
47
  'BuyBoxEligibleOffers'?: Array<OfferCountType>;
77
48
  /**
78
49
  * When the status is ActiveButTooSoonForProcessing, this is the time when the offers will be available for processing.
79
- * @type {string}
80
- * @memberof Summary
81
50
  */
82
51
  'OffersAvailableTime'?: string;
83
52
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/product-pricing-api-v0",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.",
5
- "version": "3.1.3",
5
+ "version": "3.1.5",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.14",
22
- "axios": "^1.9.0"
21
+ "@sp-api-sdk/common": "2.1.16",
22
+ "axios": "^1.11.0"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,26 @@
40
40
  "sp sdk",
41
41
  "product pricing api"
42
42
  ],
43
- "gitHead": "773f45c3f4aab28e0bd9f6033045988800d7f258"
43
+ "xo": {
44
+ "extends": [
45
+ "xo-bizon"
46
+ ],
47
+ "settings": {
48
+ "import/internal-regex": "^@sp-api-sdk/"
49
+ },
50
+ "semicolon": false,
51
+ "space": 2,
52
+ "prettier": true,
53
+ "ignores": [
54
+ "src/api-model/**"
55
+ ],
56
+ "rules": {
57
+ "unicorn/prevent-abbreviations": "off"
58
+ }
59
+ },
60
+ "prettier": {
61
+ "printWidth": 100,
62
+ "jsxSingleQuote": true
63
+ },
64
+ "gitHead": "fc1b46f3bc172469e2fbbc2e0155f6fa7ce3edde"
44
65
  }