@sp-api-sdk/vendor-direct-fulfillment-shipping-api-v1 1.7.1
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/LICENSE +21 -0
- package/README.md +58 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/src/api-model/api/customer-invoices-api.js +213 -0
- package/dist/cjs/src/api-model/api/vendor-shipping-api.js +329 -0
- package/dist/cjs/src/api-model/api/vendor-shipping-labels-api.js +271 -0
- package/dist/cjs/src/api-model/api.js +19 -0
- package/dist/cjs/src/api-model/base.js +62 -0
- package/dist/cjs/src/api-model/common.js +137 -0
- package/dist/cjs/src/api-model/configuration.js +42 -0
- package/dist/cjs/src/api-model/index.js +19 -0
- package/dist/cjs/src/api-model/models/address.js +15 -0
- package/dist/cjs/src/api-model/models/container.js +25 -0
- package/dist/cjs/src/api-model/models/customer-invoice-list.js +15 -0
- package/dist/cjs/src/api-model/models/customer-invoice.js +15 -0
- package/dist/cjs/src/api-model/models/dimensions.js +25 -0
- package/dist/cjs/src/api-model/models/get-customer-invoice-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-customer-invoices-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-packing-slip-list-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-packing-slip-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-shipping-label-list-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-shipping-label-response.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +40 -0
- package/dist/cjs/src/api-model/models/item-quantity.js +15 -0
- package/dist/cjs/src/api-model/models/item.js +15 -0
- package/dist/cjs/src/api-model/models/label-data.js +15 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/package.js +15 -0
- package/dist/cjs/src/api-model/models/packed-item.js +15 -0
- package/dist/cjs/src/api-model/models/packing-slip-list.js +15 -0
- package/dist/cjs/src/api-model/models/packing-slip.js +24 -0
- package/dist/cjs/src/api-model/models/pagination.js +15 -0
- package/dist/cjs/src/api-model/models/party-identification.js +15 -0
- package/dist/cjs/src/api-model/models/shipment-confirmation.js +15 -0
- package/dist/cjs/src/api-model/models/shipment-details.js +25 -0
- package/dist/cjs/src/api-model/models/shipment-status-update.js +15 -0
- package/dist/cjs/src/api-model/models/shipping-label-list.js +15 -0
- package/dist/cjs/src/api-model/models/shipping-label-request.js +15 -0
- package/dist/cjs/src/api-model/models/shipping-label.js +25 -0
- package/dist/cjs/src/api-model/models/status-update-details-shipment-schedule.js +15 -0
- package/dist/cjs/src/api-model/models/status-update-details.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipment-confirmations-request.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipment-confirmations-response.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipment-status-updates-request.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipment-status-updates-response.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipping-labels-request.js +15 -0
- package/dist/cjs/src/api-model/models/submit-shipping-labels-response.js +15 -0
- package/dist/cjs/src/api-model/models/tax-registration-details.js +25 -0
- package/dist/cjs/src/api-model/models/transaction-reference.js +15 -0
- package/dist/cjs/src/api-model/models/weight.js +25 -0
- package/dist/cjs/src/client.js +83 -0
- package/dist/cjs/src/error.js +10 -0
- package/dist/es/index.js +3 -0
- package/dist/es/src/api-model/api/customer-invoices-api.js +205 -0
- package/dist/es/src/api-model/api/vendor-shipping-api.js +321 -0
- package/dist/es/src/api-model/api/vendor-shipping-labels-api.js +263 -0
- package/dist/es/src/api-model/api.js +16 -0
- package/dist/es/src/api-model/base.js +56 -0
- package/dist/es/src/api-model/common.js +125 -0
- package/dist/es/src/api-model/configuration.js +38 -0
- package/dist/es/src/api-model/index.js +16 -0
- package/dist/es/src/api-model/models/address.js +14 -0
- package/dist/es/src/api-model/models/container.js +22 -0
- package/dist/es/src/api-model/models/customer-invoice-list.js +14 -0
- package/dist/es/src/api-model/models/customer-invoice.js +14 -0
- package/dist/es/src/api-model/models/dimensions.js +22 -0
- package/dist/es/src/api-model/models/get-customer-invoice-response.js +14 -0
- package/dist/es/src/api-model/models/get-customer-invoices-response.js +14 -0
- package/dist/es/src/api-model/models/get-packing-slip-list-response.js +14 -0
- package/dist/es/src/api-model/models/get-packing-slip-response.js +14 -0
- package/dist/es/src/api-model/models/get-shipping-label-list-response.js +14 -0
- package/dist/es/src/api-model/models/get-shipping-label-response.js +14 -0
- package/dist/es/src/api-model/models/index.js +37 -0
- package/dist/es/src/api-model/models/item-quantity.js +14 -0
- package/dist/es/src/api-model/models/item.js +14 -0
- package/dist/es/src/api-model/models/label-data.js +14 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/package.js +14 -0
- package/dist/es/src/api-model/models/packed-item.js +14 -0
- package/dist/es/src/api-model/models/packing-slip-list.js +14 -0
- package/dist/es/src/api-model/models/packing-slip.js +21 -0
- package/dist/es/src/api-model/models/pagination.js +14 -0
- package/dist/es/src/api-model/models/party-identification.js +14 -0
- package/dist/es/src/api-model/models/shipment-confirmation.js +14 -0
- package/dist/es/src/api-model/models/shipment-details.js +22 -0
- package/dist/es/src/api-model/models/shipment-status-update.js +14 -0
- package/dist/es/src/api-model/models/shipping-label-list.js +14 -0
- package/dist/es/src/api-model/models/shipping-label-request.js +14 -0
- package/dist/es/src/api-model/models/shipping-label.js +22 -0
- package/dist/es/src/api-model/models/status-update-details-shipment-schedule.js +14 -0
- package/dist/es/src/api-model/models/status-update-details.js +14 -0
- package/dist/es/src/api-model/models/submit-shipment-confirmations-request.js +14 -0
- package/dist/es/src/api-model/models/submit-shipment-confirmations-response.js +14 -0
- package/dist/es/src/api-model/models/submit-shipment-status-updates-request.js +14 -0
- package/dist/es/src/api-model/models/submit-shipment-status-updates-response.js +14 -0
- package/dist/es/src/api-model/models/submit-shipping-labels-request.js +14 -0
- package/dist/es/src/api-model/models/submit-shipping-labels-response.js +14 -0
- package/dist/es/src/api-model/models/tax-registration-details.js +22 -0
- package/dist/es/src/api-model/models/transaction-reference.js +14 -0
- package/dist/es/src/api-model/models/weight.js +22 -0
- package/dist/es/src/client.js +79 -0
- package/dist/es/src/error.js +6 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/src/api-model/api/customer-invoices-api.d.ts +171 -0
- package/dist/types/src/api-model/api/vendor-shipping-api.d.ts +259 -0
- package/dist/types/src/api-model/api/vendor-shipping-labels-api.d.ts +215 -0
- package/dist/types/src/api-model/api.d.ts +14 -0
- package/dist/types/src/api-model/base.d.ts +55 -0
- package/dist/types/src/api-model/common.d.ts +65 -0
- package/dist/types/src/api-model/configuration.d.ts +83 -0
- package/dist/types/src/api-model/index.d.ts +14 -0
- package/dist/types/src/api-model/models/address.d.ts +84 -0
- package/dist/types/src/api-model/models/container.d.ts +101 -0
- package/dist/types/src/api-model/models/customer-invoice-list.d.ts +32 -0
- package/dist/types/src/api-model/models/customer-invoice.d.ts +30 -0
- package/dist/types/src/api-model/models/dimensions.d.ts +50 -0
- package/dist/types/src/api-model/models/get-customer-invoice-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-customer-invoices-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-packing-slip-list-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-packing-slip-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-shipping-label-list-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-shipping-label-response.d.ts +31 -0
- package/dist/types/src/api-model/models/index.d.ts +37 -0
- package/dist/types/src/api-model/models/item-quantity.d.ts +30 -0
- package/dist/types/src/api-model/models/item.d.ts +43 -0
- package/dist/types/src/api-model/models/label-data.d.ts +48 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/package.d.ts +62 -0
- package/dist/types/src/api-model/models/packed-item.d.ts +43 -0
- package/dist/types/src/api-model/models/packing-slip-list.d.ts +32 -0
- package/dist/types/src/api-model/models/packing-slip.d.ts +43 -0
- package/dist/types/src/api-model/models/pagination.d.ts +24 -0
- package/dist/types/src/api-model/models/party-identification.d.ts +38 -0
- package/dist/types/src/api-model/models/shipment-confirmation.d.ts +58 -0
- package/dist/types/src/api-model/models/shipment-details.d.ts +56 -0
- package/dist/types/src/api-model/models/shipment-status-update.d.ts +44 -0
- package/dist/types/src/api-model/models/shipping-label-list.d.ts +32 -0
- package/dist/types/src/api-model/models/shipping-label-request.d.ts +44 -0
- package/dist/types/src/api-model/models/shipping-label.d.ts +58 -0
- package/dist/types/src/api-model/models/status-update-details-shipment-schedule.d.ts +36 -0
- package/dist/types/src/api-model/models/status-update-details.d.ts +56 -0
- package/dist/types/src/api-model/models/submit-shipment-confirmations-request.d.ts +25 -0
- package/dist/types/src/api-model/models/submit-shipment-confirmations-response.d.ts +31 -0
- package/dist/types/src/api-model/models/submit-shipment-status-updates-request.d.ts +25 -0
- package/dist/types/src/api-model/models/submit-shipment-status-updates-response.d.ts +31 -0
- package/dist/types/src/api-model/models/submit-shipping-labels-request.d.ts +25 -0
- package/dist/types/src/api-model/models/submit-shipping-labels-response.d.ts +31 -0
- package/dist/types/src/api-model/models/tax-registration-details.d.ts +51 -0
- package/dist/types/src/api-model/models/transaction-reference.d.ts +24 -0
- package/dist/types/src/api-model/models/weight.d.ts +38 -0
- package/dist/types/src/client.d.ts +13 -0
- package/dist/types/src/error.d.ts +3 -0
- package/package.json +53 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CustomerInvoice
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomerInvoice {
|
|
18
|
+
/**
|
|
19
|
+
* The purchase order number for this order.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CustomerInvoice
|
|
22
|
+
*/
|
|
23
|
+
purchaseOrderNumber: string;
|
|
24
|
+
/**
|
|
25
|
+
* The Base64encoded customer invoice.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CustomerInvoice
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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
|
+
* Physical dimensional measurements of a container.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Dimensions
|
|
16
|
+
*/
|
|
17
|
+
export interface Dimensions {
|
|
18
|
+
/**
|
|
19
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Dimensions
|
|
22
|
+
*/
|
|
23
|
+
length: string;
|
|
24
|
+
/**
|
|
25
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Dimensions
|
|
28
|
+
*/
|
|
29
|
+
width: string;
|
|
30
|
+
/**
|
|
31
|
+
* A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation. <br>**Pattern** : `^-?(0|([1-9]\\\\d*))(\\\\.\\\\d+)?([eE][+-]?\\\\d+)?$`.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Dimensions
|
|
34
|
+
*/
|
|
35
|
+
height: string;
|
|
36
|
+
/**
|
|
37
|
+
* The unit of measure for dimensions.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Dimensions
|
|
40
|
+
*/
|
|
41
|
+
unitOfMeasure: DimensionsUnitOfMeasureEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
export declare enum DimensionsUnitOfMeasureEnum {
|
|
48
|
+
In = "IN",
|
|
49
|
+
Cm = "CM"
|
|
50
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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 { CustomerInvoice } from './customer-invoice';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the getCustomerInvoice operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetCustomerInvoiceResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetCustomerInvoiceResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CustomerInvoice}
|
|
22
|
+
* @memberof GetCustomerInvoiceResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: CustomerInvoice;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof GetCustomerInvoiceResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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 { CustomerInvoiceList } from './customer-invoice-list';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the getCustomerInvoices operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetCustomerInvoicesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetCustomerInvoicesResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CustomerInvoiceList}
|
|
22
|
+
* @memberof GetCustomerInvoicesResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: CustomerInvoiceList;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof GetCustomerInvoicesResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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 { PackingSlipList } from './packing-slip-list';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetPackingSlipListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPackingSlipListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {PackingSlipList}
|
|
22
|
+
* @memberof GetPackingSlipListResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: PackingSlipList;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof GetPackingSlipListResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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 { PackingSlip } from './packing-slip';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetPackingSlipResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPackingSlipResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {PackingSlip}
|
|
22
|
+
* @memberof GetPackingSlipResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: PackingSlip;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof GetPackingSlipResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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 { ShippingLabelList } from './shipping-label-list';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the getShippingLabels operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetShippingLabelListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetShippingLabelListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ShippingLabelList}
|
|
22
|
+
* @memberof GetShippingLabelListResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: ShippingLabelList;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof GetShippingLabelListResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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 { ShippingLabel } from './shipping-label';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the getShippingLabel operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetShippingLabelResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetShippingLabelResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ShippingLabel}
|
|
22
|
+
* @memberof GetShippingLabelResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: ShippingLabel;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof GetShippingLabelResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export * from './address';
|
|
2
|
+
export * from './container';
|
|
3
|
+
export * from './customer-invoice';
|
|
4
|
+
export * from './customer-invoice-list';
|
|
5
|
+
export * from './dimensions';
|
|
6
|
+
export * from './get-customer-invoice-response';
|
|
7
|
+
export * from './get-customer-invoices-response';
|
|
8
|
+
export * from './get-packing-slip-list-response';
|
|
9
|
+
export * from './get-packing-slip-response';
|
|
10
|
+
export * from './get-shipping-label-list-response';
|
|
11
|
+
export * from './get-shipping-label-response';
|
|
12
|
+
export * from './item';
|
|
13
|
+
export * from './item-quantity';
|
|
14
|
+
export * from './label-data';
|
|
15
|
+
export * from './model-error';
|
|
16
|
+
export * from './packed-item';
|
|
17
|
+
export * from './packing-slip';
|
|
18
|
+
export * from './packing-slip-list';
|
|
19
|
+
export * from './pagination';
|
|
20
|
+
export * from './party-identification';
|
|
21
|
+
export * from './shipment-confirmation';
|
|
22
|
+
export * from './shipment-details';
|
|
23
|
+
export * from './shipment-status-update';
|
|
24
|
+
export * from './shipping-label';
|
|
25
|
+
export * from './shipping-label-list';
|
|
26
|
+
export * from './shipping-label-request';
|
|
27
|
+
export * from './status-update-details';
|
|
28
|
+
export * from './status-update-details-shipment-schedule';
|
|
29
|
+
export * from './submit-shipment-confirmations-request';
|
|
30
|
+
export * from './submit-shipment-confirmations-response';
|
|
31
|
+
export * from './submit-shipment-status-updates-request';
|
|
32
|
+
export * from './submit-shipment-status-updates-response';
|
|
33
|
+
export * from './submit-shipping-labels-request';
|
|
34
|
+
export * from './submit-shipping-labels-response';
|
|
35
|
+
export * from './tax-registration-details';
|
|
36
|
+
export * from './transaction-reference';
|
|
37
|
+
export * from './weight';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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
|
+
* Details of item quantity.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ItemQuantity
|
|
16
|
+
*/
|
|
17
|
+
export interface ItemQuantity {
|
|
18
|
+
/**
|
|
19
|
+
* Quantity of units shipped for a specific item at a shipment level. If the item is present only in certain packages or pallets within the shipment, please provide this at the appropriate package or pallet level.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ItemQuantity
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Unit of measure for the shipped quantity.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ItemQuantity
|
|
28
|
+
*/
|
|
29
|
+
unitOfMeasure: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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 { ItemQuantity } from './item-quantity';
|
|
13
|
+
/**
|
|
14
|
+
* Details of the item being shipped.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Item
|
|
17
|
+
*/
|
|
18
|
+
export interface Item {
|
|
19
|
+
/**
|
|
20
|
+
* Item Sequence Number for the item. This must be the same value as sent in order for a given item.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof Item
|
|
23
|
+
*/
|
|
24
|
+
itemSequenceNumber: number;
|
|
25
|
+
/**
|
|
26
|
+
* Buyer\'s Standard Identification Number (ASIN) of an item. Either buyerProductIdentifier or vendorProductIdentifier is required.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Item
|
|
29
|
+
*/
|
|
30
|
+
buyerProductIdentifier?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The vendor selected product identification of the item. Should be the same as was sent in the purchase order, like SKU Number.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Item
|
|
35
|
+
*/
|
|
36
|
+
vendorProductIdentifier?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ItemQuantity}
|
|
40
|
+
* @memberof Item
|
|
41
|
+
*/
|
|
42
|
+
shippedQuantity: ItemQuantity;
|
|
43
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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
|
+
* Details of the shipment label.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LabelData
|
|
16
|
+
*/
|
|
17
|
+
export interface LabelData {
|
|
18
|
+
/**
|
|
19
|
+
* Identifier for the package. The first package will be 001, the second 002, and so on. This number is used as a reference to refer to this package from the pallet level.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LabelData
|
|
22
|
+
*/
|
|
23
|
+
packageIdentifier?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Package tracking identifier from the shipping carrier.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LabelData
|
|
28
|
+
*/
|
|
29
|
+
trackingNumber?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Ship method to be used for shipping the order. Amazon defines Ship Method Codes indicating shipping carrier and shipment service level. Ship Method Codes are case and format sensitive. The same ship method code should returned on the shipment confirmation. Note that the Ship Method Codes are vendor specific and will be provided to each vendor during the implementation.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LabelData
|
|
34
|
+
*/
|
|
35
|
+
shipMethod?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Shipping method name for internal reference.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LabelData
|
|
40
|
+
*/
|
|
41
|
+
shipMethodName?: string;
|
|
42
|
+
/**
|
|
43
|
+
* This field will contain the Base64encoded string of the shipment label content.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LabelData
|
|
46
|
+
*/
|
|
47
|
+
content: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Direct Fulfillment Shipping
|
|
3
|
+
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor\'s shipping 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
|
+
* Error response returned when the request is unsuccessful.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ModelError
|
|
16
|
+
*/
|
|
17
|
+
export interface ModelError {
|
|
18
|
+
/**
|
|
19
|
+
* An error code that identifies the type of error that occurred.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ModelError
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* A message that describes the error condition.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ModelError
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ModelError
|
|
34
|
+
*/
|
|
35
|
+
details?: string;
|
|
36
|
+
}
|