@sp-api-sdk/vendor-direct-fulfillment-orders-api-v1 4.0.17 → 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,23 +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 { Order } from './order';
13
- import type { Pagination } from './pagination';
14
- /**
15
- * A list of purchase orders returned as response.
16
- */
17
- export interface OrderList {
18
- 'pagination'?: Pagination;
19
- /**
20
- * Represents a purchase order within the OrderList.
21
- */
22
- 'orders'?: Array<Order>;
23
- }
@@ -1,22 +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 { OrderDetails } from './order-details';
13
- /**
14
- * Represents a purchase order.
15
- */
16
- export interface Order {
17
- /**
18
- * The purchase order number for this order. Formatting Notes: alpha-numeric code.
19
- */
20
- 'purchaseOrderNumber': string;
21
- 'orderDetails'?: OrderDetails;
22
- }
@@ -1,20 +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
- /**
13
- * The pagination elements required to retrieve the remaining data.
14
- */
15
- export interface Pagination {
16
- /**
17
- * A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more order items to return.
18
- */
19
- 'nextToken'?: string;
20
- }
@@ -1,24 +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 { Address } from './address';
13
- import type { TaxRegistrationDetails } from './tax-registration-details';
14
- /**
15
- * Name, address and tax details of a party.
16
- */
17
- export interface PartyIdentification {
18
- /**
19
- * Assigned identification for the party. For example, warehouse code or vendor code. Please refer to specific party for more details.
20
- */
21
- 'partyId': string;
22
- 'address'?: Address;
23
- 'taxInfo'?: TaxRegistrationDetails;
24
- }
@@ -1,28 +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
- /**
13
- * Dates for the scheduled delivery shipments.
14
- */
15
- export interface ScheduledDeliveryShipment {
16
- /**
17
- * Scheduled delivery service type.
18
- */
19
- 'scheduledDeliveryServiceType'?: string;
20
- /**
21
- * Earliest nominated delivery date for the scheduled delivery.
22
- */
23
- 'earliestNominatedDeliveryDate'?: string;
24
- /**
25
- * Latest nominated delivery date for the scheduled delivery.
26
- */
27
- 'latestNominatedDeliveryDate'?: string;
28
- }
@@ -1,24 +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
- /**
13
- * Shipment dates.
14
- */
15
- export interface ShipmentDates {
16
- /**
17
- * Time by which the vendor is required to ship the order.
18
- */
19
- 'requiredShipDate': string;
20
- /**
21
- * Delivery date promised to the Amazon customer.
22
- */
23
- 'promisedDeliveryDate'?: string;
24
- }
@@ -1,42 +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 { ShipmentDates } from './shipment-dates';
13
- /**
14
- * Shipment details required for the shipment.
15
- */
16
- export interface ShipmentDetails {
17
- /**
18
- * When true, this is a priority shipment.
19
- */
20
- 'isPriorityShipment': boolean;
21
- /**
22
- * When true, this order is part of a scheduled delivery program.
23
- */
24
- 'isScheduledDeliveryShipment'?: boolean;
25
- /**
26
- * When true, a packing slip is required to be sent to the customer.
27
- */
28
- 'isPslipRequired': boolean;
29
- /**
30
- * When true, the order contain a gift. Include the gift message and gift wrap information.
31
- */
32
- 'isGift'?: boolean;
33
- /**
34
- * Ship method to be used for shipping the order. Amazon defines ship method codes indicating the shipping carrier and shipment service level. To see the full list of ship methods in use, including both the code and the friendly name, search the \'Help\' section on Vendor Central for \'ship methods\'.
35
- */
36
- 'shipMethod': string;
37
- 'shipmentDates': ShipmentDates;
38
- /**
39
- * Message to customer for order status.
40
- */
41
- 'messageToCustomer': string;
42
- }
@@ -1,21 +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 { OrderAcknowledgementItem } from './order-acknowledgement-item';
13
- /**
14
- * The request schema for the submitAcknowledgement operation.
15
- */
16
- export interface SubmitAcknowledgementRequest {
17
- /**
18
- * A list of one or more purchase orders.
19
- */
20
- 'orderAcknowledgements'?: Array<OrderAcknowledgementItem>;
21
- }
@@ -1,22 +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 { TransactionId } from './transaction-id';
13
- /**
14
- * The response schema for the submitAcknowledgement operation.
15
- */
16
- export interface SubmitAcknowledgementResponse {
17
- 'payload'?: TransactionId;
18
- /**
19
- * A list of error responses returned when a request is unsuccessful.
20
- */
21
- 'errors'?: Array<Error>;
22
- }
@@ -1,37 +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 { Money } from './money';
13
- /**
14
- * The tax details for the order. _Note:_ Amazon calculates tax on the list price (Amazon retail price).
15
- */
16
- export interface TaxDetails {
17
- /**
18
- * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
19
- */
20
- 'taxRate'?: string;
21
- 'taxAmount': Money;
22
- 'taxableAmount'?: Money;
23
- /**
24
- * Tax type.
25
- */
26
- 'type'?: TaxDetailsTypeEnum;
27
- }
28
- export declare const TaxDetailsTypeEnum: {
29
- readonly Consumption: "CONSUMPTION";
30
- readonly Gst: "GST";
31
- readonly MwSt: "MwSt.";
32
- readonly Pst: "PST";
33
- readonly Total: "TOTAL";
34
- readonly Tva: "TVA";
35
- readonly Vat: "VAT";
36
- };
37
- export type TaxDetailsTypeEnum = typeof TaxDetailsTypeEnum[keyof typeof TaxDetailsTypeEnum];
@@ -1,35 +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 { Address } from './address';
13
- /**
14
- * Tax registration details of the entity.
15
- */
16
- export interface TaxRegistrationDetails {
17
- /**
18
- * Tax registration type for the entity.
19
- */
20
- 'taxRegistrationType'?: TaxRegistrationDetailsTaxRegistrationTypeEnum;
21
- /**
22
- * Tax registration number for the party. For example, VAT ID.
23
- */
24
- 'taxRegistrationNumber': string;
25
- 'taxRegistrationAddress'?: Address;
26
- /**
27
- * Tax registration message that can be used for additional tax related details.
28
- */
29
- 'taxRegistrationMessages'?: string;
30
- }
31
- export declare const TaxRegistrationDetailsTaxRegistrationTypeEnum: {
32
- readonly Vat: "VAT";
33
- readonly Gst: "GST";
34
- };
35
- export type TaxRegistrationDetailsTaxRegistrationTypeEnum = typeof TaxRegistrationDetailsTaxRegistrationTypeEnum[keyof typeof TaxRegistrationDetailsTaxRegistrationTypeEnum];
@@ -1,20 +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
- /**
13
- * Response containing the transaction ID.
14
- */
15
- export interface TransactionId {
16
- /**
17
- * GUID assigned by Amazon to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction.
18
- */
19
- 'transactionId'?: string;
20
- }
@@ -1,6 +0,0 @@
1
- import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
2
- import { VendorDirectFulfillmentOrdersApi } from './api-model';
3
- export declare const clientRateLimits: RateLimit[];
4
- export declare class VendorDirectFulfillmentOrdersApiClient extends VendorDirectFulfillmentOrdersApi {
5
- constructor(configuration: ClientConfiguration);
6
- }
@@ -1,3 +0,0 @@
1
- export * from './client';
2
- export * from './api-model/api';
3
- export * from './api-model/models';