@sp-api-sdk/vendor-direct-fulfillment-orders-api-v1 4.0.16 → 5.0.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.
Files changed (113) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +528 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +1088 -0
  5. package/dist/index.d.ts +1088 -0
  6. package/dist/index.js +480 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/vendor-direct-fulfillment-orders-api.js +0 -288
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/acknowledgement-status.js +0 -15
  16. package/dist/cjs/api-model/models/address.js +0 -15
  17. package/dist/cjs/api-model/models/get-order-response.js +0 -15
  18. package/dist/cjs/api-model/models/get-orders-response.js +0 -15
  19. package/dist/cjs/api-model/models/gift-details.js +0 -15
  20. package/dist/cjs/api-model/models/index.js +0 -42
  21. package/dist/cjs/api-model/models/item-quantity.js +0 -19
  22. package/dist/cjs/api-model/models/model-error.js +0 -15
  23. package/dist/cjs/api-model/models/money.js +0 -15
  24. package/dist/cjs/api-model/models/order-acknowledgement-item.js +0 -15
  25. package/dist/cjs/api-model/models/order-details-tax-total.js +0 -15
  26. package/dist/cjs/api-model/models/order-details.js +0 -22
  27. package/dist/cjs/api-model/models/order-item-acknowledgement.js +0 -15
  28. package/dist/cjs/api-model/models/order-item-tax-details.js +0 -15
  29. package/dist/cjs/api-model/models/order-item.js +0 -15
  30. package/dist/cjs/api-model/models/order-list.js +0 -15
  31. package/dist/cjs/api-model/models/order.js +0 -15
  32. package/dist/cjs/api-model/models/pagination.js +0 -15
  33. package/dist/cjs/api-model/models/party-identification.js +0 -15
  34. package/dist/cjs/api-model/models/scheduled-delivery-shipment.js +0 -15
  35. package/dist/cjs/api-model/models/shipment-dates.js +0 -15
  36. package/dist/cjs/api-model/models/shipment-details.js +0 -15
  37. package/dist/cjs/api-model/models/submit-acknowledgement-request.js +0 -15
  38. package/dist/cjs/api-model/models/submit-acknowledgement-response.js +0 -15
  39. package/dist/cjs/api-model/models/tax-details.js +0 -25
  40. package/dist/cjs/api-model/models/tax-registration-details.js +0 -20
  41. package/dist/cjs/api-model/models/transaction-id.js +0 -15
  42. package/dist/cjs/client.js +0 -35
  43. package/dist/cjs/index.js +0 -19
  44. package/dist/es/api-model/api/vendor-direct-fulfillment-orders-api.js +0 -278
  45. package/dist/es/api-model/api.js +0 -14
  46. package/dist/es/api-model/base.js +0 -44
  47. package/dist/es/api-model/common.js +0 -110
  48. package/dist/es/api-model/configuration.js +0 -94
  49. package/dist/es/api-model/index.js +0 -16
  50. package/dist/es/api-model/models/acknowledgement-status.js +0 -14
  51. package/dist/es/api-model/models/address.js +0 -14
  52. package/dist/es/api-model/models/get-order-response.js +0 -14
  53. package/dist/es/api-model/models/get-orders-response.js +0 -14
  54. package/dist/es/api-model/models/gift-details.js +0 -14
  55. package/dist/es/api-model/models/index.js +0 -26
  56. package/dist/es/api-model/models/item-quantity.js +0 -16
  57. package/dist/es/api-model/models/model-error.js +0 -14
  58. package/dist/es/api-model/models/money.js +0 -14
  59. package/dist/es/api-model/models/order-acknowledgement-item.js +0 -14
  60. package/dist/es/api-model/models/order-details-tax-total.js +0 -14
  61. package/dist/es/api-model/models/order-details.js +0 -19
  62. package/dist/es/api-model/models/order-item-acknowledgement.js +0 -14
  63. package/dist/es/api-model/models/order-item-tax-details.js +0 -14
  64. package/dist/es/api-model/models/order-item.js +0 -14
  65. package/dist/es/api-model/models/order-list.js +0 -14
  66. package/dist/es/api-model/models/order.js +0 -14
  67. package/dist/es/api-model/models/pagination.js +0 -14
  68. package/dist/es/api-model/models/party-identification.js +0 -14
  69. package/dist/es/api-model/models/scheduled-delivery-shipment.js +0 -14
  70. package/dist/es/api-model/models/shipment-dates.js +0 -14
  71. package/dist/es/api-model/models/shipment-details.js +0 -14
  72. package/dist/es/api-model/models/submit-acknowledgement-request.js +0 -14
  73. package/dist/es/api-model/models/submit-acknowledgement-response.js +0 -14
  74. package/dist/es/api-model/models/tax-details.js +0 -22
  75. package/dist/es/api-model/models/tax-registration-details.js +0 -17
  76. package/dist/es/api-model/models/transaction-id.js +0 -14
  77. package/dist/es/client.js +0 -31
  78. package/dist/es/index.js +0 -3
  79. package/dist/types/api-model/api/vendor-direct-fulfillment-orders-api.d.ts +0 -204
  80. package/dist/types/api-model/api.d.ts +0 -12
  81. package/dist/types/api-model/base.d.ts +0 -42
  82. package/dist/types/api-model/common.d.ts +0 -34
  83. package/dist/types/api-model/configuration.d.ts +0 -98
  84. package/dist/types/api-model/index.d.ts +0 -14
  85. package/dist/types/api-model/models/acknowledgement-status.d.ts +0 -24
  86. package/dist/types/api-model/models/address.d.ts +0 -64
  87. package/dist/types/api-model/models/get-order-response.d.ts +0 -22
  88. package/dist/types/api-model/models/get-orders-response.d.ts +0 -22
  89. package/dist/types/api-model/models/gift-details.d.ts +0 -24
  90. package/dist/types/api-model/models/index.d.ts +0 -26
  91. package/dist/types/api-model/models/item-quantity.d.ts +0 -28
  92. package/dist/types/api-model/models/model-error.d.ts +0 -28
  93. package/dist/types/api-model/models/money.d.ts +0 -24
  94. package/dist/types/api-model/models/order-acknowledgement-item.d.ts +0 -38
  95. package/dist/types/api-model/models/order-details-tax-total.d.ts +0 -21
  96. package/dist/types/api-model/models/order-details.d.ts +0 -50
  97. package/dist/types/api-model/models/order-item-acknowledgement.d.ts +0 -30
  98. package/dist/types/api-model/models/order-item-tax-details.d.ts +0 -21
  99. package/dist/types/api-model/models/order-item.d.ts +0 -43
  100. package/dist/types/api-model/models/order-list.d.ts +0 -23
  101. package/dist/types/api-model/models/order.d.ts +0 -22
  102. package/dist/types/api-model/models/pagination.d.ts +0 -20
  103. package/dist/types/api-model/models/party-identification.d.ts +0 -24
  104. package/dist/types/api-model/models/scheduled-delivery-shipment.d.ts +0 -28
  105. package/dist/types/api-model/models/shipment-dates.d.ts +0 -24
  106. package/dist/types/api-model/models/shipment-details.d.ts +0 -42
  107. package/dist/types/api-model/models/submit-acknowledgement-request.d.ts +0 -21
  108. package/dist/types/api-model/models/submit-acknowledgement-response.d.ts +0 -22
  109. package/dist/types/api-model/models/tax-details.d.ts +0 -37
  110. package/dist/types/api-model/models/tax-registration-details.d.ts +0 -35
  111. package/dist/types/api-model/models/transaction-id.d.ts +0 -20
  112. package/dist/types/client.d.ts +0 -6
  113. package/dist/types/index.d.ts +0 -3
@@ -1,26 +0,0 @@
1
- export * from './acknowledgement-status';
2
- export * from './address';
3
- export * from './get-order-response';
4
- export * from './get-orders-response';
5
- export * from './gift-details';
6
- export * from './item-quantity';
7
- export * from './model-error';
8
- export * from './money';
9
- export * from './order';
10
- export * from './order-acknowledgement-item';
11
- export * from './order-details';
12
- export * from './order-details-tax-total';
13
- export * from './order-item';
14
- export * from './order-item-acknowledgement';
15
- export * from './order-item-tax-details';
16
- export * from './order-list';
17
- export * from './pagination';
18
- export * from './party-identification';
19
- export * from './scheduled-delivery-shipment';
20
- export * from './shipment-dates';
21
- export * from './shipment-details';
22
- export * from './submit-acknowledgement-request';
23
- export * from './submit-acknowledgement-response';
24
- export * from './tax-details';
25
- export * from './tax-registration-details';
26
- export * from './transaction-id';
@@ -1,16 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const ItemQuantityUnitOfMeasureEnum = {
15
- Each: 'Each'
16
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,19 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const OrderDetailsOrderStatusEnum = {
15
- New: 'NEW',
16
- Shipped: 'SHIPPED',
17
- Accepted: 'ACCEPTED',
18
- Cancelled: 'CANCELLED'
19
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,22 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const TaxDetailsTypeEnum = {
15
- Consumption: 'CONSUMPTION',
16
- Gst: 'GST',
17
- MwSt: 'MwSt.',
18
- Pst: 'PST',
19
- Total: 'TOTAL',
20
- Tva: 'TVA',
21
- Vat: 'VAT'
22
- };
@@ -1,17 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const TaxRegistrationDetailsTaxRegistrationTypeEnum = {
15
- Vat: 'VAT',
16
- Gst: 'GST'
17
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Direct Fulfillment Orders
5
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
package/dist/es/client.js DELETED
@@ -1,31 +0,0 @@
1
- import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { Configuration, VendorDirectFulfillmentOrdersApi } from './api-model';
3
- export const clientRateLimits = [
4
- {
5
- method: 'get',
6
- // eslint-disable-next-line prefer-regex-literals
7
- urlRegex: new RegExp('^/vendor/directFulfillment/orders/v1/purchaseOrders$'),
8
- rate: 10,
9
- burst: 10,
10
- },
11
- {
12
- method: 'get',
13
- // eslint-disable-next-line prefer-regex-literals
14
- urlRegex: new RegExp('^/vendor/directFulfillment/orders/v1/purchaseOrders/[^/]*$'),
15
- rate: 10,
16
- burst: 10,
17
- },
18
- {
19
- method: 'post',
20
- // eslint-disable-next-line prefer-regex-literals
21
- urlRegex: new RegExp('^/vendor/directFulfillment/orders/v1/acknowledgements$'),
22
- rate: 10,
23
- burst: 10,
24
- },
25
- ];
26
- export class VendorDirectFulfillmentOrdersApiClient extends VendorDirectFulfillmentOrdersApi {
27
- constructor(configuration) {
28
- const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
29
- super(new Configuration(), endpoint, axios);
30
- }
31
- }
package/dist/es/index.js DELETED
@@ -1,3 +0,0 @@
1
- export * from './client';
2
- export * from './api-model/api';
3
- export * from './api-model/models';
@@ -1,204 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
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 type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import globalAxios from 'axios';
15
- import { type RequestArgs, BaseAPI } from '../base';
16
- import type { GetOrderResponse } from '../models';
17
- import type { GetOrdersResponse } from '../models';
18
- import type { SubmitAcknowledgementRequest } from '../models';
19
- import type { SubmitAcknowledgementResponse } from '../models';
20
- /**
21
- * VendorDirectFulfillmentOrdersApi - axios parameter creator
22
- */
23
- export declare const VendorDirectFulfillmentOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
24
- /**
25
- * Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
26
- * @param {string} purchaseOrderNumber The order identifier for the purchase order that you want. Formatting Notes: alpha-numeric code.
27
- * @param {*} [options] Override http request option.
28
- * @throws {RequiredError}
29
- */
30
- getOrder: (purchaseOrderNumber: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
- /**
32
- * Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
33
- * @param {string} createdAfter Purchase orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.
34
- * @param {string} createdBefore Purchase orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.
35
- * @param {string} [shipFromPartyId] The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
36
- * @param {GetOrdersStatusEnum} [status] Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
37
- * @param {number} [limit] The limit to the number of purchase orders returned.
38
- * @param {GetOrdersSortOrderEnum} [sortOrder] Sort the list in ascending or descending order by order creation date.
39
- * @param {string} [nextToken] Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.
40
- * @param {boolean} [includeDetails] When true, returns the complete purchase order details. Otherwise, only purchase order numbers are returned.
41
- * @param {*} [options] Override http request option.
42
- * @throws {RequiredError}
43
- */
44
- getOrders: (createdAfter: string, createdBefore: string, shipFromPartyId?: string, status?: GetOrdersStatusEnum, limit?: number, sortOrder?: GetOrdersSortOrderEnum, nextToken?: string, includeDetails?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
- /**
46
- * Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
47
- * @param {SubmitAcknowledgementRequest} body The request body containing the acknowledgement to an order.
48
- * @param {*} [options] Override http request option.
49
- * @throws {RequiredError}
50
- */
51
- submitAcknowledgement: (body: SubmitAcknowledgementRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
52
- };
53
- /**
54
- * VendorDirectFulfillmentOrdersApi - functional programming interface
55
- */
56
- export declare const VendorDirectFulfillmentOrdersApiFp: (configuration?: Configuration) => {
57
- /**
58
- * Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
59
- * @param {string} purchaseOrderNumber The order identifier for the purchase order that you want. Formatting Notes: alpha-numeric code.
60
- * @param {*} [options] Override http request option.
61
- * @throws {RequiredError}
62
- */
63
- getOrder(purchaseOrderNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderResponse>>;
64
- /**
65
- * Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
66
- * @param {string} createdAfter Purchase orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.
67
- * @param {string} createdBefore Purchase orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.
68
- * @param {string} [shipFromPartyId] The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
69
- * @param {GetOrdersStatusEnum} [status] Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
70
- * @param {number} [limit] The limit to the number of purchase orders returned.
71
- * @param {GetOrdersSortOrderEnum} [sortOrder] Sort the list in ascending or descending order by order creation date.
72
- * @param {string} [nextToken] Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.
73
- * @param {boolean} [includeDetails] When true, returns the complete purchase order details. Otherwise, only purchase order numbers are returned.
74
- * @param {*} [options] Override http request option.
75
- * @throws {RequiredError}
76
- */
77
- getOrders(createdAfter: string, createdBefore: string, shipFromPartyId?: string, status?: GetOrdersStatusEnum, limit?: number, sortOrder?: GetOrdersSortOrderEnum, nextToken?: string, includeDetails?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrdersResponse>>;
78
- /**
79
- * Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
80
- * @param {SubmitAcknowledgementRequest} body The request body containing the acknowledgement to an order.
81
- * @param {*} [options] Override http request option.
82
- * @throws {RequiredError}
83
- */
84
- submitAcknowledgement(body: SubmitAcknowledgementRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAcknowledgementResponse>>;
85
- };
86
- /**
87
- * VendorDirectFulfillmentOrdersApi - factory interface
88
- */
89
- export declare const VendorDirectFulfillmentOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
90
- /**
91
- * Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
92
- * @param {VendorDirectFulfillmentOrdersApiGetOrderRequest} requestParameters Request parameters.
93
- * @param {*} [options] Override http request option.
94
- * @throws {RequiredError}
95
- */
96
- getOrder(requestParameters: VendorDirectFulfillmentOrdersApiGetOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderResponse>;
97
- /**
98
- * Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
99
- * @param {VendorDirectFulfillmentOrdersApiGetOrdersRequest} requestParameters Request parameters.
100
- * @param {*} [options] Override http request option.
101
- * @throws {RequiredError}
102
- */
103
- getOrders(requestParameters: VendorDirectFulfillmentOrdersApiGetOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrdersResponse>;
104
- /**
105
- * Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
106
- * @param {VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest} requestParameters Request parameters.
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- submitAcknowledgement(requestParameters: VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitAcknowledgementResponse>;
111
- };
112
- /**
113
- * Request parameters for getOrder operation in VendorDirectFulfillmentOrdersApi.
114
- */
115
- export interface VendorDirectFulfillmentOrdersApiGetOrderRequest {
116
- /**
117
- * The order identifier for the purchase order that you want. Formatting Notes: alpha-numeric code.
118
- */
119
- readonly purchaseOrderNumber: string;
120
- }
121
- /**
122
- * Request parameters for getOrders operation in VendorDirectFulfillmentOrdersApi.
123
- */
124
- export interface VendorDirectFulfillmentOrdersApiGetOrdersRequest {
125
- /**
126
- * Purchase orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format.
127
- */
128
- readonly createdAfter: string;
129
- /**
130
- * Purchase orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format.
131
- */
132
- readonly createdBefore: string;
133
- /**
134
- * The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
135
- */
136
- readonly shipFromPartyId?: string;
137
- /**
138
- * Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
139
- */
140
- readonly status?: GetOrdersStatusEnum;
141
- /**
142
- * The limit to the number of purchase orders returned.
143
- */
144
- readonly limit?: number;
145
- /**
146
- * Sort the list in ascending or descending order by order creation date.
147
- */
148
- readonly sortOrder?: GetOrdersSortOrderEnum;
149
- /**
150
- * Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call.
151
- */
152
- readonly nextToken?: string;
153
- /**
154
- * When true, returns the complete purchase order details. Otherwise, only purchase order numbers are returned.
155
- */
156
- readonly includeDetails?: boolean;
157
- }
158
- /**
159
- * Request parameters for submitAcknowledgement operation in VendorDirectFulfillmentOrdersApi.
160
- */
161
- export interface VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest {
162
- /**
163
- * The request body containing the acknowledgement to an order.
164
- */
165
- readonly body: SubmitAcknowledgementRequest;
166
- }
167
- /**
168
- * VendorDirectFulfillmentOrdersApi - object-oriented interface
169
- */
170
- export declare class VendorDirectFulfillmentOrdersApi extends BaseAPI {
171
- /**
172
- * Returns purchase order information for the purchaseOrderNumber that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
173
- * @param {VendorDirectFulfillmentOrdersApiGetOrderRequest} requestParameters Request parameters.
174
- * @param {*} [options] Override http request option.
175
- * @throws {RequiredError}
176
- */
177
- getOrder(requestParameters: VendorDirectFulfillmentOrdersApiGetOrderRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOrderResponse, any, {}>>;
178
- /**
179
- * Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
180
- * @param {VendorDirectFulfillmentOrdersApiGetOrdersRequest} requestParameters Request parameters.
181
- * @param {*} [options] Override http request option.
182
- * @throws {RequiredError}
183
- */
184
- getOrders(requestParameters: VendorDirectFulfillmentOrdersApiGetOrdersRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOrdersResponse, any, {}>>;
185
- /**
186
- * Submits acknowledgements for one or more purchase orders. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
187
- * @param {VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest} requestParameters Request parameters.
188
- * @param {*} [options] Override http request option.
189
- * @throws {RequiredError}
190
- */
191
- submitAcknowledgement(requestParameters: VendorDirectFulfillmentOrdersApiSubmitAcknowledgementRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitAcknowledgementResponse, any, {}>>;
192
- }
193
- export declare const GetOrdersStatusEnum: {
194
- readonly New: "NEW";
195
- readonly Shipped: "SHIPPED";
196
- readonly Accepted: "ACCEPTED";
197
- readonly Cancelled: "CANCELLED";
198
- };
199
- export type GetOrdersStatusEnum = typeof GetOrdersStatusEnum[keyof typeof GetOrdersStatusEnum];
200
- export declare const GetOrdersSortOrderEnum: {
201
- readonly Asc: "ASC";
202
- readonly Desc: "DESC";
203
- };
204
- export type GetOrdersSortOrderEnum = typeof GetOrdersSortOrderEnum[keyof typeof GetOrdersSortOrderEnum];
@@ -1,12 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Orders
3
- * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor\'s order data.
4
- *
5
- * The version of the OpenAPI document: v1
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
- export * from './api/vendor-direct-fulfillment-orders-api';