@sp-api-sdk/vendor-direct-fulfillment-orders-api-v1 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/src/api-model/api/vendor-orders-api.js +278 -0
- package/dist/cjs/src/api-model/api.js +3 -3
- package/dist/cjs/src/api-model/base.js +2 -2
- package/dist/cjs/src/api-model/common.js +2 -2
- package/dist/cjs/src/api-model/configuration.js +2 -2
- package/dist/cjs/src/api-model/index.js +2 -2
- package/dist/cjs/src/api-model/models/{submit-inventory-update-response.js → acknowledgement-status.js} +2 -2
- package/dist/cjs/src/api-model/models/{inventory-update.js → address.js} +2 -2
- package/dist/cjs/src/api-model/models/{item-details.js → get-order-response.js} +2 -2
- package/dist/cjs/src/api-model/models/{submit-inventory-update-request.js → get-orders-response.js} +2 -2
- package/dist/cjs/src/api-model/models/gift-details.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +23 -5
- package/dist/cjs/src/api-model/models/item-quantity.js +6 -2
- package/dist/cjs/src/api-model/models/model-error.js +2 -2
- package/dist/cjs/src/api-model/models/money.js +15 -0
- package/dist/cjs/src/api-model/models/order-acknowledgement-item.js +15 -0
- package/dist/cjs/src/api-model/models/order-details-tax-total.js +15 -0
- package/dist/cjs/src/api-model/models/order-details.js +22 -0
- package/dist/cjs/src/api-model/models/order-item-acknowledgement.js +15 -0
- package/dist/cjs/src/api-model/models/order-item-tax-details.js +15 -0
- package/dist/cjs/src/api-model/models/order-item.js +15 -0
- package/dist/cjs/src/api-model/models/order-list.js +15 -0
- package/dist/cjs/src/api-model/models/order.js +15 -0
- package/dist/cjs/src/api-model/models/pagination.js +15 -0
- package/dist/cjs/src/api-model/models/party-identification.js +2 -2
- package/dist/cjs/src/api-model/models/scheduled-delivery-shipment.js +15 -0
- package/dist/cjs/src/api-model/models/shipment-dates.js +15 -0
- package/dist/cjs/src/api-model/models/shipment-details.js +15 -0
- package/dist/cjs/src/api-model/models/submit-acknowledgement-request.js +15 -0
- package/dist/cjs/src/api-model/models/submit-acknowledgement-response.js +15 -0
- package/dist/cjs/src/api-model/models/tax-details.js +25 -0
- package/dist/cjs/src/api-model/models/tax-registration-details.js +20 -0
- package/dist/cjs/src/api-model/models/transaction-id.js +15 -0
- package/dist/cjs/src/client.js +16 -2
- package/dist/es/src/api-model/api/vendor-orders-api.js +268 -0
- package/dist/es/src/api-model/api.js +3 -3
- package/dist/es/src/api-model/base.js +2 -2
- package/dist/es/src/api-model/common.js +2 -2
- package/dist/es/src/api-model/configuration.js +2 -2
- package/dist/es/src/api-model/index.js +2 -2
- package/dist/es/src/api-model/models/{inventory-update.js → acknowledgement-status.js} +2 -2
- package/dist/es/src/api-model/models/{item-details.js → address.js} +2 -2
- package/dist/es/src/api-model/models/{submit-inventory-update-request.js → get-order-response.js} +2 -2
- package/dist/es/src/api-model/models/{submit-inventory-update-response.js → get-orders-response.js} +2 -2
- package/dist/es/src/api-model/models/gift-details.js +14 -0
- package/dist/es/src/api-model/models/index.js +23 -5
- package/dist/es/src/api-model/models/item-quantity.js +5 -3
- package/dist/es/src/api-model/models/model-error.js +2 -2
- package/dist/es/src/api-model/models/money.js +14 -0
- package/dist/es/src/api-model/models/order-acknowledgement-item.js +14 -0
- package/dist/es/src/api-model/models/order-details-tax-total.js +14 -0
- package/dist/es/src/api-model/models/order-details.js +19 -0
- package/dist/es/src/api-model/models/order-item-acknowledgement.js +14 -0
- package/dist/es/src/api-model/models/order-item-tax-details.js +14 -0
- package/dist/es/src/api-model/models/order-item.js +14 -0
- package/dist/es/src/api-model/models/order-list.js +14 -0
- package/dist/es/src/api-model/models/order.js +14 -0
- package/dist/es/src/api-model/models/pagination.js +14 -0
- package/dist/es/src/api-model/models/party-identification.js +2 -2
- package/dist/es/src/api-model/models/scheduled-delivery-shipment.js +14 -0
- package/dist/es/src/api-model/models/shipment-dates.js +14 -0
- package/dist/es/src/api-model/models/shipment-details.js +14 -0
- package/dist/es/src/api-model/models/submit-acknowledgement-request.js +14 -0
- package/dist/es/src/api-model/models/submit-acknowledgement-response.js +14 -0
- package/dist/es/src/api-model/models/tax-details.js +22 -0
- package/dist/es/src/api-model/models/tax-registration-details.js +17 -0
- package/dist/es/src/api-model/models/transaction-id.js +14 -0
- package/dist/es/src/client.js +17 -3
- package/dist/types/src/api-model/api/vendor-orders-api.d.ts +227 -0
- package/dist/types/src/api-model/api.d.ts +3 -3
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +2 -2
- package/dist/types/src/api-model/configuration.d.ts +2 -2
- package/dist/types/src/api-model/index.d.ts +2 -2
- package/dist/types/src/api-model/models/acknowledgement-status.d.ts +30 -0
- package/dist/types/src/api-model/models/address.d.ts +90 -0
- package/dist/types/src/api-model/models/get-order-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-orders-response.d.ts +31 -0
- package/dist/types/src/api-model/models/gift-details.d.ts +30 -0
- package/dist/types/src/api-model/models/index.d.ts +23 -5
- package/dist/types/src/api-model/models/item-quantity.d.ts +10 -6
- package/dist/types/src/api-model/models/model-error.d.ts +2 -2
- package/dist/types/src/api-model/models/money.d.ts +30 -0
- package/dist/types/src/api-model/models/order-acknowledgement-item.d.ts +63 -0
- package/dist/types/src/api-model/models/order-details-tax-total.d.ts +25 -0
- package/dist/types/src/api-model/models/order-details.d.ts +90 -0
- package/dist/types/src/api-model/models/order-item-acknowledgement.d.ts +43 -0
- package/dist/types/src/api-model/models/order-item-tax-details.d.ts +25 -0
- package/dist/types/src/api-model/models/order-item.d.ts +83 -0
- package/dist/types/src/api-model/models/order-list.d.ts +32 -0
- package/dist/types/src/api-model/models/order.d.ts +31 -0
- package/dist/types/src/api-model/models/pagination.d.ts +24 -0
- package/dist/types/src/api-model/models/party-identification.d.ts +17 -3
- package/dist/types/src/api-model/models/scheduled-delivery-shipment.d.ts +36 -0
- package/dist/types/src/api-model/models/shipment-dates.d.ts +30 -0
- package/dist/types/src/api-model/models/shipment-details.d.ts +61 -0
- package/dist/types/src/api-model/models/submit-acknowledgement-request.d.ts +25 -0
- package/dist/types/src/api-model/models/submit-acknowledgement-response.d.ts +31 -0
- package/dist/types/src/api-model/models/tax-details.d.ts +53 -0
- package/dist/types/src/api-model/models/tax-registration-details.d.ts +48 -0
- package/dist/types/src/api-model/models/transaction-id.d.ts +24 -0
- package/dist/types/src/client.d.ts +2 -2
- package/package.json +5 -5
- package/dist/cjs/src/api-model/api/update-inventory-api.js +0 -126
- package/dist/cjs/src/api-model/models/transaction-reference.js +0 -15
- package/dist/es/src/api-model/api/update-inventory-api.js +0 -116
- package/dist/es/src/api-model/models/transaction-reference.js +0 -14
- package/dist/types/src/api-model/api/update-inventory-api.d.ts +0 -93
- package/dist/types/src/api-model/models/inventory-update.d.ts +0 -38
- package/dist/types/src/api-model/models/item-details.d.ts +0 -43
- package/dist/types/src/api-model/models/submit-inventory-update-request.d.ts +0 -25
- package/dist/types/src/api-model/models/submit-inventory-update-response.d.ts +0 -31
- package/dist/types/src/api-model/models/transaction-reference.d.ts +0 -24
|
@@ -0,0 +1,14 @@
|
|
|
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,8 +1,26 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
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';
|
|
3
6
|
export * from './item-quantity';
|
|
4
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';
|
|
5
18
|
export * from './party-identification';
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
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,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Direct Fulfillment
|
|
5
|
-
* The Selling Partner API for Direct Fulfillment
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -11,4 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const ItemQuantityUnitOfMeasureEnum = {
|
|
15
|
+
Each: 'Each'
|
|
16
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Direct Fulfillment
|
|
5
|
-
* The Selling Partner API for Direct Fulfillment
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Selling Partner API for Direct Fulfillment
|
|
5
|
-
* The Selling Partner API for Direct Fulfillment
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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/src/client.js
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import { Configuration,
|
|
2
|
+
import { Configuration, VendorOrdersApi } from './api-model';
|
|
3
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
|
+
},
|
|
4
18
|
{
|
|
5
19
|
method: 'post',
|
|
6
20
|
// eslint-disable-next-line prefer-regex-literals
|
|
7
|
-
urlRegex: new RegExp('^/vendor/directFulfillment/
|
|
21
|
+
urlRegex: new RegExp('^/vendor/directFulfillment/orders/v1/acknowledgements$'),
|
|
8
22
|
rate: 10,
|
|
9
23
|
burst: 10,
|
|
10
24
|
},
|
|
11
25
|
];
|
|
12
|
-
export class VendorDirectFulfillmentOrdersApiClient extends
|
|
26
|
+
export class VendorDirectFulfillmentOrdersApiClient extends VendorOrdersApi {
|
|
13
27
|
constructor(configuration) {
|
|
14
28
|
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
15
29
|
super(new Configuration(), endpoint, axios);
|