@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
@@ -25,7 +25,6 @@ const common_1 = require("../common");
25
25
  const base_1 = require("../base");
26
26
  /**
27
27
  * ProductPricingApi - axios parameter creator
28
- * @export
29
28
  */
30
29
  const ProductPricingApiAxiosParamCreator = function (configuration) {
31
30
  return {
@@ -280,7 +279,6 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
280
279
  exports.ProductPricingApiAxiosParamCreator = ProductPricingApiAxiosParamCreator;
281
280
  /**
282
281
  * ProductPricingApi - functional programming interface
283
- * @export
284
282
  */
285
283
  const ProductPricingApiFp = function (configuration) {
286
284
  const localVarAxiosParamCreator = (0, exports.ProductPricingApiAxiosParamCreator)(configuration);
@@ -377,7 +375,6 @@ const ProductPricingApiFp = function (configuration) {
377
375
  exports.ProductPricingApiFp = ProductPricingApiFp;
378
376
  /**
379
377
  * ProductPricingApi - factory interface
380
- * @export
381
378
  */
382
379
  const ProductPricingApiFactory = function (configuration, basePath, axios) {
383
380
  const localVarFp = (0, exports.ProductPricingApiFp)(configuration);
@@ -441,9 +438,6 @@ const ProductPricingApiFactory = function (configuration, basePath, axios) {
441
438
  exports.ProductPricingApiFactory = ProductPricingApiFactory;
442
439
  /**
443
440
  * ProductPricingApi - object-oriented interface
444
- * @export
445
- * @class ProductPricingApi
446
- * @extends {BaseAPI}
447
441
  */
448
442
  class ProductPricingApi extends base_1.BaseAPI {
449
443
  /**
@@ -451,7 +445,6 @@ class ProductPricingApi extends base_1.BaseAPI {
451
445
  * @param {ProductPricingApiGetCompetitivePricingRequest} requestParameters Request parameters.
452
446
  * @param {*} [options] Override http request option.
453
447
  * @throws {RequiredError}
454
- * @memberof ProductPricingApi
455
448
  */
456
449
  getCompetitivePricing(requestParameters, options) {
457
450
  return (0, exports.ProductPricingApiFp)(this.configuration).getCompetitivePricing(requestParameters.marketplaceId, requestParameters.itemType, requestParameters.asins, requestParameters.skus, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
@@ -461,7 +454,6 @@ class ProductPricingApi extends base_1.BaseAPI {
461
454
  * @param {ProductPricingApiGetItemOffersRequest} requestParameters Request parameters.
462
455
  * @param {*} [options] Override http request option.
463
456
  * @throws {RequiredError}
464
- * @memberof ProductPricingApi
465
457
  */
466
458
  getItemOffers(requestParameters, options) {
467
459
  return (0, exports.ProductPricingApiFp)(this.configuration).getItemOffers(requestParameters.marketplaceId, requestParameters.itemCondition, requestParameters.asin, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
@@ -471,7 +463,6 @@ class ProductPricingApi extends base_1.BaseAPI {
471
463
  * @param {ProductPricingApiGetItemOffersBatchRequest} requestParameters Request parameters.
472
464
  * @param {*} [options] Override http request option.
473
465
  * @throws {RequiredError}
474
- * @memberof ProductPricingApi
475
466
  */
476
467
  getItemOffersBatch(requestParameters, options) {
477
468
  return (0, exports.ProductPricingApiFp)(this.configuration).getItemOffersBatch(requestParameters.getItemOffersBatchRequestBody, options).then((request) => request(this.axios, this.basePath));
@@ -481,7 +472,6 @@ class ProductPricingApi extends base_1.BaseAPI {
481
472
  * @param {ProductPricingApiGetListingOffersRequest} requestParameters Request parameters.
482
473
  * @param {*} [options] Override http request option.
483
474
  * @throws {RequiredError}
484
- * @memberof ProductPricingApi
485
475
  */
486
476
  getListingOffers(requestParameters, options) {
487
477
  return (0, exports.ProductPricingApiFp)(this.configuration).getListingOffers(requestParameters.marketplaceId, requestParameters.itemCondition, requestParameters.sellerSKU, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
@@ -491,7 +481,6 @@ class ProductPricingApi extends base_1.BaseAPI {
491
481
  * @param {ProductPricingApiGetListingOffersBatchRequest} requestParameters Request parameters.
492
482
  * @param {*} [options] Override http request option.
493
483
  * @throws {RequiredError}
494
- * @memberof ProductPricingApi
495
484
  */
496
485
  getListingOffersBatch(requestParameters, options) {
497
486
  return (0, exports.ProductPricingApiFp)(this.configuration).getListingOffersBatch(requestParameters.getListingOffersBatchRequestBody, options).then((request) => request(this.axios, this.basePath));
@@ -501,30 +490,20 @@ class ProductPricingApi extends base_1.BaseAPI {
501
490
  * @param {ProductPricingApiGetPricingRequest} requestParameters Request parameters.
502
491
  * @param {*} [options] Override http request option.
503
492
  * @throws {RequiredError}
504
- * @memberof ProductPricingApi
505
493
  */
506
494
  getPricing(requestParameters, options) {
507
495
  return (0, exports.ProductPricingApiFp)(this.configuration).getPricing(requestParameters.marketplaceId, requestParameters.itemType, requestParameters.asins, requestParameters.skus, requestParameters.itemCondition, requestParameters.offerType, options).then((request) => request(this.axios, this.basePath));
508
496
  }
509
497
  }
510
498
  exports.ProductPricingApi = ProductPricingApi;
511
- /**
512
- * @export
513
- */
514
499
  exports.GetCompetitivePricingItemTypeEnum = {
515
500
  Asin: 'Asin',
516
501
  Sku: 'Sku'
517
502
  };
518
- /**
519
- * @export
520
- */
521
503
  exports.GetCompetitivePricingCustomerTypeEnum = {
522
504
  Consumer: 'Consumer',
523
505
  Business: 'Business'
524
506
  };
525
- /**
526
- * @export
527
- */
528
507
  exports.GetItemOffersItemConditionEnum = {
529
508
  New: 'New',
530
509
  Used: 'Used',
@@ -532,16 +511,10 @@ exports.GetItemOffersItemConditionEnum = {
532
511
  Refurbished: 'Refurbished',
533
512
  Club: 'Club'
534
513
  };
535
- /**
536
- * @export
537
- */
538
514
  exports.GetItemOffersCustomerTypeEnum = {
539
515
  Consumer: 'Consumer',
540
516
  Business: 'Business'
541
517
  };
542
- /**
543
- * @export
544
- */
545
518
  exports.GetListingOffersItemConditionEnum = {
546
519
  New: 'New',
547
520
  Used: 'Used',
@@ -549,23 +522,14 @@ exports.GetListingOffersItemConditionEnum = {
549
522
  Refurbished: 'Refurbished',
550
523
  Club: 'Club'
551
524
  };
552
- /**
553
- * @export
554
- */
555
525
  exports.GetListingOffersCustomerTypeEnum = {
556
526
  Consumer: 'Consumer',
557
527
  Business: 'Business'
558
528
  };
559
- /**
560
- * @export
561
- */
562
529
  exports.GetPricingItemTypeEnum = {
563
530
  Asin: 'Asin',
564
531
  Sku: 'Sku'
565
532
  };
566
- /**
567
- * @export
568
- */
569
533
  exports.GetPricingItemConditionEnum = {
570
534
  New: 'New',
571
535
  Used: 'Used',
@@ -573,9 +537,6 @@ exports.GetPricingItemConditionEnum = {
573
537
  Refurbished: 'Refurbished',
574
538
  Club: 'Club'
575
539
  };
576
- /**
577
- * @export
578
- */
579
540
  exports.GetPricingOfferTypeEnum = {
580
541
  B2C: 'B2C',
581
542
  B2B: 'B2B'
@@ -19,21 +19,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
22
- /**
23
- *
24
- * @export
25
- */
26
22
  exports.COLLECTION_FORMATS = {
27
23
  csv: ",",
28
24
  ssv: " ",
29
25
  tsv: "\t",
30
26
  pipes: "|",
31
27
  };
32
- /**
33
- *
34
- * @export
35
- * @class BaseAPI
36
- */
37
28
  class BaseAPI {
38
29
  basePath;
39
30
  axios;
@@ -49,12 +40,6 @@ class BaseAPI {
49
40
  }
50
41
  exports.BaseAPI = BaseAPI;
51
42
  ;
52
- /**
53
- *
54
- * @export
55
- * @class RequiredError
56
- * @extends {Error}
57
- */
58
43
  class RequiredError extends Error {
59
44
  field;
60
45
  constructor(field, msg) {
@@ -64,8 +49,4 @@ class RequiredError extends Error {
64
49
  }
65
50
  }
66
51
  exports.RequiredError = RequiredError;
67
- /**
68
- *
69
- * @export
70
- */
71
52
  exports.operationServerMap = {};
@@ -15,15 +15,10 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
17
17
  const base_1 = require("./base");
18
- /**
19
- *
20
- * @export
21
- */
22
18
  exports.DUMMY_BASE_URL = 'https://example.com';
23
19
  /**
24
20
  *
25
21
  * @throws {RequiredError}
26
- * @export
27
22
  */
28
23
  const assertParamExists = function (functionName, paramName, paramValue) {
29
24
  if (paramValue === null || paramValue === undefined) {
@@ -31,10 +26,6 @@ const assertParamExists = function (functionName, paramName, paramValue) {
31
26
  }
32
27
  };
33
28
  exports.assertParamExists = assertParamExists;
34
- /**
35
- *
36
- * @export
37
- */
38
29
  const setApiKeyToObject = async function (object, keyParamName, configuration) {
39
30
  if (configuration && configuration.apiKey) {
40
31
  const localVarApiKeyValue = typeof configuration.apiKey === 'function'
@@ -44,20 +35,12 @@ const setApiKeyToObject = async function (object, keyParamName, configuration) {
44
35
  }
45
36
  };
46
37
  exports.setApiKeyToObject = setApiKeyToObject;
47
- /**
48
- *
49
- * @export
50
- */
51
38
  const setBasicAuthToObject = function (object, configuration) {
52
39
  if (configuration && (configuration.username || configuration.password)) {
53
40
  object["auth"] = { username: configuration.username, password: configuration.password };
54
41
  }
55
42
  };
56
43
  exports.setBasicAuthToObject = setBasicAuthToObject;
57
- /**
58
- *
59
- * @export
60
- */
61
44
  const setBearerAuthToObject = async function (object, configuration) {
62
45
  if (configuration && configuration.accessToken) {
63
46
  const accessToken = typeof configuration.accessToken === 'function'
@@ -67,10 +50,6 @@ const setBearerAuthToObject = async function (object, configuration) {
67
50
  }
68
51
  };
69
52
  exports.setBearerAuthToObject = setBearerAuthToObject;
70
- /**
71
- *
72
- * @export
73
- */
74
53
  const setOAuthToObject = async function (object, name, scopes, configuration) {
75
54
  if (configuration && configuration.accessToken) {
76
55
  const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
@@ -100,20 +79,12 @@ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
100
79
  }
101
80
  }
102
81
  }
103
- /**
104
- *
105
- * @export
106
- */
107
82
  const setSearchParams = function (url, ...objects) {
108
83
  const searchParams = new URLSearchParams(url.search);
109
84
  setFlattenedQueryParams(searchParams, objects);
110
85
  url.search = searchParams.toString();
111
86
  };
112
87
  exports.setSearchParams = setSearchParams;
113
- /**
114
- *
115
- * @export
116
- */
117
88
  const serializeDataIfNeeded = function (value, requestOptions, configuration) {
118
89
  const nonString = typeof value !== 'string';
119
90
  const needsSerialization = nonString && configuration && configuration.isJsonMime
@@ -124,18 +95,10 @@ const serializeDataIfNeeded = function (value, requestOptions, configuration) {
124
95
  : (value || "");
125
96
  };
126
97
  exports.serializeDataIfNeeded = serializeDataIfNeeded;
127
- /**
128
- *
129
- * @export
130
- */
131
98
  const toPathString = function (url) {
132
99
  return url.pathname + url.search + url.hash;
133
100
  };
134
101
  exports.toPathString = toPathString;
135
- /**
136
- *
137
- * @export
138
- */
139
102
  const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
140
103
  return (axios = globalAxios, basePath = BASE_PATH) => {
141
104
  const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
@@ -18,49 +18,32 @@ class Configuration {
18
18
  /**
19
19
  * parameter for apiKey security
20
20
  * @param name security name
21
- * @memberof Configuration
22
21
  */
23
22
  apiKey;
24
23
  /**
25
24
  * parameter for basic security
26
- *
27
- * @type {string}
28
- * @memberof Configuration
29
25
  */
30
26
  username;
31
27
  /**
32
28
  * parameter for basic security
33
- *
34
- * @type {string}
35
- * @memberof Configuration
36
29
  */
37
30
  password;
38
31
  /**
39
32
  * parameter for oauth2 security
40
33
  * @param name security name
41
34
  * @param scopes oauth2 scope
42
- * @memberof Configuration
43
35
  */
44
36
  accessToken;
45
37
  /**
46
38
  * override base path
47
- *
48
- * @type {string}
49
- * @memberof Configuration
50
39
  */
51
40
  basePath;
52
41
  /**
53
42
  * override server index
54
- *
55
- * @type {number}
56
- * @memberof Configuration
57
43
  */
58
44
  serverIndex;
59
45
  /**
60
46
  * base options for axios calls
61
- *
62
- * @type {any}
63
- * @memberof Configuration
64
47
  */
65
48
  baseOptions;
66
49
  /**
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ConditionType = void 0;
17
17
  /**
18
18
  * Indicates the condition of the item. Possible values: New, Used, Collectible, Refurbished, Club.
19
- * @export
20
- * @enum {string}
21
19
  */
22
20
  exports.ConditionType = {
23
21
  New: 'New',
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CustomerType = void 0;
17
17
  /**
18
18
  * Indicates whether to request Consumer or Business offers. Default is Consumer.
19
- * @export
20
- * @enum {string}
21
19
  */
22
20
  exports.CustomerType = {
23
21
  Consumer: 'Consumer',
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.FulfillmentChannelType = void 0;
17
17
  /**
18
18
  * Indicates whether the item is fulfilled by Amazon or by the seller (merchant).
19
- * @export
20
- * @enum {string}
21
19
  */
22
20
  exports.FulfillmentChannelType = {
23
21
  Amazon: 'Amazon',
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.HttpMethod = void 0;
17
17
  /**
18
18
  * The HTTP method associated with the individual APIs being called as part of the batch request.
19
- * @export
20
- * @enum {string}
21
19
  */
22
20
  exports.HttpMethod = {
23
21
  Get: 'GET',
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ItemCondition = void 0;
17
17
  /**
18
18
  * Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
19
- * @export
20
- * @enum {string}
21
19
  */
22
20
  exports.ItemCondition = {
23
21
  New: 'New',
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.OfferCustomerType = void 0;
17
17
  /**
18
18
  * Indicates whether the offer is a B2B or B2C offer
19
- * @export
20
- * @enum {string}
21
19
  */
22
20
  exports.OfferCustomerType = {
23
21
  B2C: 'B2C',
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.QuantityDiscountType = void 0;
17
17
  /**
18
18
  * Indicates the type of quantity discount this price applies to.
19
- * @export
20
- * @enum {string}
21
19
  */
22
20
  exports.QuantityDiscountType = {
23
21
  QuantityDiscount: 'QUANTITY_DISCOUNT'
@@ -19,7 +19,6 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
19
19
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from '../base';
20
20
  /**
21
21
  * ProductPricingApi - axios parameter creator
22
- * @export
23
22
  */
24
23
  export const ProductPricingApiAxiosParamCreator = function (configuration) {
25
24
  return {
@@ -273,7 +272,6 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
273
272
  };
274
273
  /**
275
274
  * ProductPricingApi - functional programming interface
276
- * @export
277
275
  */
278
276
  export const ProductPricingApiFp = function (configuration) {
279
277
  const localVarAxiosParamCreator = ProductPricingApiAxiosParamCreator(configuration);
@@ -369,7 +367,6 @@ export const ProductPricingApiFp = function (configuration) {
369
367
  };
370
368
  /**
371
369
  * ProductPricingApi - factory interface
372
- * @export
373
370
  */
374
371
  export const ProductPricingApiFactory = function (configuration, basePath, axios) {
375
372
  const localVarFp = ProductPricingApiFp(configuration);
@@ -432,9 +429,6 @@ export const ProductPricingApiFactory = function (configuration, basePath, axios
432
429
  };
433
430
  /**
434
431
  * ProductPricingApi - object-oriented interface
435
- * @export
436
- * @class ProductPricingApi
437
- * @extends {BaseAPI}
438
432
  */
439
433
  export class ProductPricingApi extends BaseAPI {
440
434
  /**
@@ -442,7 +436,6 @@ export class ProductPricingApi extends BaseAPI {
442
436
  * @param {ProductPricingApiGetCompetitivePricingRequest} requestParameters Request parameters.
443
437
  * @param {*} [options] Override http request option.
444
438
  * @throws {RequiredError}
445
- * @memberof ProductPricingApi
446
439
  */
447
440
  getCompetitivePricing(requestParameters, options) {
448
441
  return ProductPricingApiFp(this.configuration).getCompetitivePricing(requestParameters.marketplaceId, requestParameters.itemType, requestParameters.asins, requestParameters.skus, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
@@ -452,7 +445,6 @@ export class ProductPricingApi extends BaseAPI {
452
445
  * @param {ProductPricingApiGetItemOffersRequest} requestParameters Request parameters.
453
446
  * @param {*} [options] Override http request option.
454
447
  * @throws {RequiredError}
455
- * @memberof ProductPricingApi
456
448
  */
457
449
  getItemOffers(requestParameters, options) {
458
450
  return ProductPricingApiFp(this.configuration).getItemOffers(requestParameters.marketplaceId, requestParameters.itemCondition, requestParameters.asin, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
@@ -462,7 +454,6 @@ export class ProductPricingApi extends BaseAPI {
462
454
  * @param {ProductPricingApiGetItemOffersBatchRequest} requestParameters Request parameters.
463
455
  * @param {*} [options] Override http request option.
464
456
  * @throws {RequiredError}
465
- * @memberof ProductPricingApi
466
457
  */
467
458
  getItemOffersBatch(requestParameters, options) {
468
459
  return ProductPricingApiFp(this.configuration).getItemOffersBatch(requestParameters.getItemOffersBatchRequestBody, options).then((request) => request(this.axios, this.basePath));
@@ -472,7 +463,6 @@ export class ProductPricingApi extends BaseAPI {
472
463
  * @param {ProductPricingApiGetListingOffersRequest} requestParameters Request parameters.
473
464
  * @param {*} [options] Override http request option.
474
465
  * @throws {RequiredError}
475
- * @memberof ProductPricingApi
476
466
  */
477
467
  getListingOffers(requestParameters, options) {
478
468
  return ProductPricingApiFp(this.configuration).getListingOffers(requestParameters.marketplaceId, requestParameters.itemCondition, requestParameters.sellerSKU, requestParameters.customerType, options).then((request) => request(this.axios, this.basePath));
@@ -482,7 +472,6 @@ export class ProductPricingApi extends BaseAPI {
482
472
  * @param {ProductPricingApiGetListingOffersBatchRequest} requestParameters Request parameters.
483
473
  * @param {*} [options] Override http request option.
484
474
  * @throws {RequiredError}
485
- * @memberof ProductPricingApi
486
475
  */
487
476
  getListingOffersBatch(requestParameters, options) {
488
477
  return ProductPricingApiFp(this.configuration).getListingOffersBatch(requestParameters.getListingOffersBatchRequestBody, options).then((request) => request(this.axios, this.basePath));
@@ -492,29 +481,19 @@ export class ProductPricingApi extends BaseAPI {
492
481
  * @param {ProductPricingApiGetPricingRequest} requestParameters Request parameters.
493
482
  * @param {*} [options] Override http request option.
494
483
  * @throws {RequiredError}
495
- * @memberof ProductPricingApi
496
484
  */
497
485
  getPricing(requestParameters, options) {
498
486
  return ProductPricingApiFp(this.configuration).getPricing(requestParameters.marketplaceId, requestParameters.itemType, requestParameters.asins, requestParameters.skus, requestParameters.itemCondition, requestParameters.offerType, options).then((request) => request(this.axios, this.basePath));
499
487
  }
500
488
  }
501
- /**
502
- * @export
503
- */
504
489
  export const GetCompetitivePricingItemTypeEnum = {
505
490
  Asin: 'Asin',
506
491
  Sku: 'Sku'
507
492
  };
508
- /**
509
- * @export
510
- */
511
493
  export const GetCompetitivePricingCustomerTypeEnum = {
512
494
  Consumer: 'Consumer',
513
495
  Business: 'Business'
514
496
  };
515
- /**
516
- * @export
517
- */
518
497
  export const GetItemOffersItemConditionEnum = {
519
498
  New: 'New',
520
499
  Used: 'Used',
@@ -522,16 +501,10 @@ export const GetItemOffersItemConditionEnum = {
522
501
  Refurbished: 'Refurbished',
523
502
  Club: 'Club'
524
503
  };
525
- /**
526
- * @export
527
- */
528
504
  export const GetItemOffersCustomerTypeEnum = {
529
505
  Consumer: 'Consumer',
530
506
  Business: 'Business'
531
507
  };
532
- /**
533
- * @export
534
- */
535
508
  export const GetListingOffersItemConditionEnum = {
536
509
  New: 'New',
537
510
  Used: 'Used',
@@ -539,23 +512,14 @@ export const GetListingOffersItemConditionEnum = {
539
512
  Refurbished: 'Refurbished',
540
513
  Club: 'Club'
541
514
  };
542
- /**
543
- * @export
544
- */
545
515
  export const GetListingOffersCustomerTypeEnum = {
546
516
  Consumer: 'Consumer',
547
517
  Business: 'Business'
548
518
  };
549
- /**
550
- * @export
551
- */
552
519
  export const GetPricingItemTypeEnum = {
553
520
  Asin: 'Asin',
554
521
  Sku: 'Sku'
555
522
  };
556
- /**
557
- * @export
558
- */
559
523
  export const GetPricingItemConditionEnum = {
560
524
  New: 'New',
561
525
  Used: 'Used',
@@ -563,9 +527,6 @@ export const GetPricingItemConditionEnum = {
563
527
  Refurbished: 'Refurbished',
564
528
  Club: 'Club'
565
529
  };
566
- /**
567
- * @export
568
- */
569
530
  export const GetPricingOfferTypeEnum = {
570
531
  B2C: 'B2C',
571
532
  B2B: 'B2B'
@@ -13,21 +13,12 @@
13
13
  */
14
14
  import globalAxios from 'axios';
15
15
  export const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
16
- /**
17
- *
18
- * @export
19
- */
20
16
  export const COLLECTION_FORMATS = {
21
17
  csv: ",",
22
18
  ssv: " ",
23
19
  tsv: "\t",
24
20
  pipes: "|",
25
21
  };
26
- /**
27
- *
28
- * @export
29
- * @class BaseAPI
30
- */
31
22
  export class BaseAPI {
32
23
  basePath;
33
24
  axios;
@@ -42,12 +33,6 @@ export class BaseAPI {
42
33
  }
43
34
  }
44
35
  ;
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
36
  export class RequiredError extends Error {
52
37
  field;
53
38
  constructor(field, msg) {
@@ -56,8 +41,4 @@ export class RequiredError extends Error {
56
41
  this.name = "RequiredError";
57
42
  }
58
43
  }
59
- /**
60
- *
61
- * @export
62
- */
63
44
  export const operationServerMap = {};