@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,44 @@
|
|
|
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 { Container } from './container';
|
|
13
|
+
import { PartyIdentification } from './party-identification';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ShippingLabelRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface ShippingLabelRequest {
|
|
20
|
+
/**
|
|
21
|
+
* Purchase order number of the order for which to create a shipping label.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ShippingLabelRequest
|
|
24
|
+
*/
|
|
25
|
+
purchaseOrderNumber: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PartyIdentification}
|
|
29
|
+
* @memberof ShippingLabelRequest
|
|
30
|
+
*/
|
|
31
|
+
sellingParty: PartyIdentification;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PartyIdentification}
|
|
35
|
+
* @memberof ShippingLabelRequest
|
|
36
|
+
*/
|
|
37
|
+
shipFromParty: PartyIdentification;
|
|
38
|
+
/**
|
|
39
|
+
* A list of the packages in this shipment.
|
|
40
|
+
* @type {Array<Container>}
|
|
41
|
+
* @memberof ShippingLabelRequest
|
|
42
|
+
*/
|
|
43
|
+
containers?: Array<Container>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { LabelData } from './label-data';
|
|
13
|
+
import { PartyIdentification } from './party-identification';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ShippingLabel
|
|
18
|
+
*/
|
|
19
|
+
export interface ShippingLabel {
|
|
20
|
+
/**
|
|
21
|
+
* This field will contain the Purchase Order Number for this order.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ShippingLabel
|
|
24
|
+
*/
|
|
25
|
+
purchaseOrderNumber: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PartyIdentification}
|
|
29
|
+
* @memberof ShippingLabel
|
|
30
|
+
*/
|
|
31
|
+
sellingParty: PartyIdentification;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PartyIdentification}
|
|
35
|
+
* @memberof ShippingLabel
|
|
36
|
+
*/
|
|
37
|
+
shipFromParty: PartyIdentification;
|
|
38
|
+
/**
|
|
39
|
+
* Format of the label.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ShippingLabel
|
|
42
|
+
*/
|
|
43
|
+
labelFormat: ShippingLabelLabelFormatEnum;
|
|
44
|
+
/**
|
|
45
|
+
* Provides the details of the packages in this shipment.
|
|
46
|
+
* @type {Array<LabelData>}
|
|
47
|
+
* @memberof ShippingLabel
|
|
48
|
+
*/
|
|
49
|
+
labelData: Array<LabelData>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
* @enum {string}
|
|
54
|
+
*/
|
|
55
|
+
export declare enum ShippingLabelLabelFormatEnum {
|
|
56
|
+
Png = "PNG",
|
|
57
|
+
Zpl = "ZPL"
|
|
58
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StatusUpdateDetailsShipmentSchedule
|
|
16
|
+
*/
|
|
17
|
+
export interface StatusUpdateDetailsShipmentSchedule {
|
|
18
|
+
/**
|
|
19
|
+
* Date on which the shipment is expected to reach the customer delivery location. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StatusUpdateDetailsShipmentSchedule
|
|
22
|
+
*/
|
|
23
|
+
estimatedDeliveryDateTime?: string;
|
|
24
|
+
/**
|
|
25
|
+
* This field indicates the date and time at the start of the appointment window scheduled to deliver the shipment. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StatusUpdateDetailsShipmentSchedule
|
|
28
|
+
*/
|
|
29
|
+
apptWindowStartDateTime?: string;
|
|
30
|
+
/**
|
|
31
|
+
* This field indicates the date and time at the end of the appointment window scheduled to deliver the shipment. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StatusUpdateDetailsShipmentSchedule
|
|
34
|
+
*/
|
|
35
|
+
apptWindowEndDateTime?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { Address } from './address';
|
|
13
|
+
import { StatusUpdateDetailsShipmentSchedule } from './status-update-details-shipment-schedule';
|
|
14
|
+
/**
|
|
15
|
+
* Details for the shipment status update given by the vendor for the specific package.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface StatusUpdateDetails
|
|
18
|
+
*/
|
|
19
|
+
export interface StatusUpdateDetails {
|
|
20
|
+
/**
|
|
21
|
+
* This is required to be provided for every package and should match with the trackingNumber sent for the shipment confirmation.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof StatusUpdateDetails
|
|
24
|
+
*/
|
|
25
|
+
trackingNumber: string;
|
|
26
|
+
/**
|
|
27
|
+
* Indicates the shipment status code of the package that provides transportation information for Amazon tracking systems and ultimately for the final customer.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof StatusUpdateDetails
|
|
30
|
+
*/
|
|
31
|
+
statusCode: string;
|
|
32
|
+
/**
|
|
33
|
+
* Provides a reason code for the status of the package that will provide additional information about the transportation status.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof StatusUpdateDetails
|
|
36
|
+
*/
|
|
37
|
+
reasonCode: string;
|
|
38
|
+
/**
|
|
39
|
+
* The date and time when the shipment status was updated. This field is expected to be in ISO-8601 date/time format, with UTC time zone or UTC offset. For example, 2020-07-16T23:00:00Z or 2020-07-16T23:00:00+01:00.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof StatusUpdateDetails
|
|
42
|
+
*/
|
|
43
|
+
statusDateTime: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Address}
|
|
47
|
+
* @memberof StatusUpdateDetails
|
|
48
|
+
*/
|
|
49
|
+
statusLocationAddress: Address;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {StatusUpdateDetailsShipmentSchedule}
|
|
53
|
+
* @memberof StatusUpdateDetails
|
|
54
|
+
*/
|
|
55
|
+
shipmentSchedule?: StatusUpdateDetailsShipmentSchedule;
|
|
56
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ShipmentConfirmation } from './shipment-confirmation';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubmitShipmentConfirmationsRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SubmitShipmentConfirmationsRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ShipmentConfirmation>}
|
|
22
|
+
* @memberof SubmitShipmentConfirmationsRequest
|
|
23
|
+
*/
|
|
24
|
+
shipmentConfirmations?: Array<ShipmentConfirmation>;
|
|
25
|
+
}
|
|
@@ -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 { TransactionReference } from './transaction-reference';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the submitShipmentConfirmations operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubmitShipmentConfirmationsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SubmitShipmentConfirmationsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TransactionReference}
|
|
22
|
+
* @memberof SubmitShipmentConfirmationsResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: TransactionReference;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof SubmitShipmentConfirmationsResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ShipmentStatusUpdate } from './shipment-status-update';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubmitShipmentStatusUpdatesRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SubmitShipmentStatusUpdatesRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ShipmentStatusUpdate>}
|
|
22
|
+
* @memberof SubmitShipmentStatusUpdatesRequest
|
|
23
|
+
*/
|
|
24
|
+
shipmentStatusUpdates?: Array<ShipmentStatusUpdate>;
|
|
25
|
+
}
|
|
@@ -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 { TransactionReference } from './transaction-reference';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the submitShipmentStatusUpdates operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubmitShipmentStatusUpdatesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SubmitShipmentStatusUpdatesResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TransactionReference}
|
|
22
|
+
* @memberof SubmitShipmentStatusUpdatesResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: TransactionReference;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof SubmitShipmentStatusUpdatesResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ShippingLabelRequest } from './shipping-label-request';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubmitShippingLabelsRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SubmitShippingLabelsRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ShippingLabelRequest>}
|
|
22
|
+
* @memberof SubmitShippingLabelsRequest
|
|
23
|
+
*/
|
|
24
|
+
shippingLabelRequests?: Array<ShippingLabelRequest>;
|
|
25
|
+
}
|
|
@@ -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 { TransactionReference } from './transaction-reference';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the submitShippingLabelRequest operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubmitShippingLabelsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SubmitShippingLabelsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TransactionReference}
|
|
22
|
+
* @memberof SubmitShippingLabelsResponse
|
|
23
|
+
*/
|
|
24
|
+
payload?: TransactionReference;
|
|
25
|
+
/**
|
|
26
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
+
* @type {Array<Error>}
|
|
28
|
+
* @memberof SubmitShippingLabelsResponse
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<Error>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { Address } from './address';
|
|
13
|
+
/**
|
|
14
|
+
* Tax registration details of the entity.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TaxRegistrationDetails
|
|
17
|
+
*/
|
|
18
|
+
export interface TaxRegistrationDetails {
|
|
19
|
+
/**
|
|
20
|
+
* Tax registration type for the entity.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TaxRegistrationDetails
|
|
23
|
+
*/
|
|
24
|
+
taxRegistrationType?: TaxRegistrationDetailsTaxRegistrationTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Tax registration number for the party. For example, VAT ID.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TaxRegistrationDetails
|
|
29
|
+
*/
|
|
30
|
+
taxRegistrationNumber: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Address}
|
|
34
|
+
* @memberof TaxRegistrationDetails
|
|
35
|
+
*/
|
|
36
|
+
taxRegistrationAddress?: Address;
|
|
37
|
+
/**
|
|
38
|
+
* Tax registration message that can be used for additional tax related details.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TaxRegistrationDetails
|
|
41
|
+
*/
|
|
42
|
+
taxRegistrationMessages?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
export declare enum TaxRegistrationDetailsTaxRegistrationTypeEnum {
|
|
49
|
+
Vat = "VAT",
|
|
50
|
+
Gst = "GST"
|
|
51
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 TransactionReference
|
|
16
|
+
*/
|
|
17
|
+
export interface TransactionReference {
|
|
18
|
+
/**
|
|
19
|
+
* GUID to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TransactionReference
|
|
22
|
+
*/
|
|
23
|
+
transactionId?: string;
|
|
24
|
+
}
|