@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,14 @@
|
|
|
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
|
+
export * from './api/customer-invoices-api';
|
|
13
|
+
export * from './api/vendor-shipping-api';
|
|
14
|
+
export * from './api/vendor-shipping-labels-api';
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { Configuration } from "./configuration";
|
|
13
|
+
import { AxiosInstance } from 'axios';
|
|
14
|
+
export declare const BASE_PATH: string;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const COLLECTION_FORMATS: {
|
|
20
|
+
csv: string;
|
|
21
|
+
ssv: string;
|
|
22
|
+
tsv: string;
|
|
23
|
+
pipes: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface RequestArgs
|
|
29
|
+
*/
|
|
30
|
+
export interface RequestArgs {
|
|
31
|
+
url: string;
|
|
32
|
+
options: any;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @class BaseAPI
|
|
38
|
+
*/
|
|
39
|
+
export declare class BaseAPI {
|
|
40
|
+
protected basePath: string;
|
|
41
|
+
protected axios: AxiosInstance;
|
|
42
|
+
protected configuration: Configuration | undefined;
|
|
43
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class RequiredError
|
|
49
|
+
* @extends {Error}
|
|
50
|
+
*/
|
|
51
|
+
export declare class RequiredError extends Error {
|
|
52
|
+
field: string;
|
|
53
|
+
name: "RequiredError";
|
|
54
|
+
constructor(field: string, msg?: string);
|
|
55
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { Configuration } from "./configuration";
|
|
13
|
+
import { RequestArgs } from "./base";
|
|
14
|
+
import { AxiosInstance } from 'axios';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @throws {RequiredError}
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration | undefined) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration | undefined) => void;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration | undefined) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration | undefined) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration | undefined) => any;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const toPathString: (url: URL) => string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
baseOptions?: any;
|
|
19
|
+
formDataCtor?: new () => any;
|
|
20
|
+
}
|
|
21
|
+
export declare class Configuration {
|
|
22
|
+
/**
|
|
23
|
+
* parameter for apiKey security
|
|
24
|
+
* @param name security name
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
username?: string;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for basic security
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
* parameter for oauth2 security
|
|
44
|
+
* @param name security name
|
|
45
|
+
* @param scopes oauth2 scope
|
|
46
|
+
* @memberof Configuration
|
|
47
|
+
*/
|
|
48
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
+
/**
|
|
50
|
+
* override base path
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Configuration
|
|
54
|
+
*/
|
|
55
|
+
basePath?: string;
|
|
56
|
+
/**
|
|
57
|
+
* base options for axios calls
|
|
58
|
+
*
|
|
59
|
+
* @type {any}
|
|
60
|
+
* @memberof Configuration
|
|
61
|
+
*/
|
|
62
|
+
baseOptions?: any;
|
|
63
|
+
/**
|
|
64
|
+
* The FormData constructor that will be used to create multipart form data
|
|
65
|
+
* requests. You can inject this here so that execution environments that
|
|
66
|
+
* do not support the FormData class can still run the generated client.
|
|
67
|
+
*
|
|
68
|
+
* @type {new () => FormData}
|
|
69
|
+
*/
|
|
70
|
+
formDataCtor?: new () => any;
|
|
71
|
+
constructor(param?: ConfigurationParameters);
|
|
72
|
+
/**
|
|
73
|
+
* Check if the given MIME is a JSON MIME.
|
|
74
|
+
* JSON MIME examples:
|
|
75
|
+
* application/json
|
|
76
|
+
* application/json; charset=UTF8
|
|
77
|
+
* APPLICATION/JSON
|
|
78
|
+
* application/vnd.company+json
|
|
79
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
+
*/
|
|
82
|
+
isJsonMime(mime: string): boolean;
|
|
83
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export * from "./api";
|
|
13
|
+
export * from "./configuration";
|
|
14
|
+
export * from "./models";
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
* Address of the party.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Address
|
|
16
|
+
*/
|
|
17
|
+
export interface Address {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the person, business or institution at that address.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Address
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* First line of the address.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Address
|
|
28
|
+
*/
|
|
29
|
+
addressLine1: string;
|
|
30
|
+
/**
|
|
31
|
+
* Additional street address information, if required.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Address
|
|
34
|
+
*/
|
|
35
|
+
addressLine2?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Additional street address information, if required.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Address
|
|
40
|
+
*/
|
|
41
|
+
addressLine3?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The city where the person, business or institution is located.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Address
|
|
46
|
+
*/
|
|
47
|
+
city?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The county where person, business or institution is located.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Address
|
|
52
|
+
*/
|
|
53
|
+
county?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The district where person, business or institution is located.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Address
|
|
58
|
+
*/
|
|
59
|
+
district?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The state or region where person, business or institution is located.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof Address
|
|
64
|
+
*/
|
|
65
|
+
stateOrRegion?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Address
|
|
70
|
+
*/
|
|
71
|
+
postalCode?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The two digit country code in ISO 3166-1 alpha-2 format.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof Address
|
|
76
|
+
*/
|
|
77
|
+
countryCode: string;
|
|
78
|
+
/**
|
|
79
|
+
* The phone number of the person, business or institution located at that address.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof Address
|
|
82
|
+
*/
|
|
83
|
+
phone?: string;
|
|
84
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 { Dimensions } from './dimensions';
|
|
13
|
+
import { PackedItem } from './packed-item';
|
|
14
|
+
import { Weight } from './weight';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Container
|
|
19
|
+
*/
|
|
20
|
+
export interface Container {
|
|
21
|
+
/**
|
|
22
|
+
* The type of container.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Container
|
|
25
|
+
*/
|
|
26
|
+
containerType: ContainerContainerTypeEnum;
|
|
27
|
+
/**
|
|
28
|
+
* The container identifier.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Container
|
|
31
|
+
*/
|
|
32
|
+
containerIdentifier: string;
|
|
33
|
+
/**
|
|
34
|
+
* The tracking number.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Container
|
|
37
|
+
*/
|
|
38
|
+
trackingNumber?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The manifest identifier.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Container
|
|
43
|
+
*/
|
|
44
|
+
manifestId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The date of the manifest.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof Container
|
|
49
|
+
*/
|
|
50
|
+
manifestDate?: string;
|
|
51
|
+
/**
|
|
52
|
+
* The shipment method.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Container
|
|
55
|
+
*/
|
|
56
|
+
shipMethod?: string;
|
|
57
|
+
/**
|
|
58
|
+
* SCAC code required for NA VOC vendors only.
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof Container
|
|
61
|
+
*/
|
|
62
|
+
scacCode?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Carrier required for EU VOC vendors only.
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof Container
|
|
67
|
+
*/
|
|
68
|
+
carrier?: string;
|
|
69
|
+
/**
|
|
70
|
+
* An integer that must be submitted for multi-box shipments only, where one item may come in separate packages.
|
|
71
|
+
* @type {number}
|
|
72
|
+
* @memberof Container
|
|
73
|
+
*/
|
|
74
|
+
containerSequenceNumber?: number;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {Dimensions}
|
|
78
|
+
* @memberof Container
|
|
79
|
+
*/
|
|
80
|
+
dimensions?: Dimensions;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {Weight}
|
|
84
|
+
* @memberof Container
|
|
85
|
+
*/
|
|
86
|
+
weight?: Weight;
|
|
87
|
+
/**
|
|
88
|
+
* A list of packed items.
|
|
89
|
+
* @type {Array<PackedItem>}
|
|
90
|
+
* @memberof Container
|
|
91
|
+
*/
|
|
92
|
+
packedItems: Array<PackedItem>;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @export
|
|
96
|
+
* @enum {string}
|
|
97
|
+
*/
|
|
98
|
+
export declare enum ContainerContainerTypeEnum {
|
|
99
|
+
Carton = "carton",
|
|
100
|
+
Pallet = "pallet"
|
|
101
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
import { Pagination } from './pagination';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CustomerInvoiceList
|
|
18
|
+
*/
|
|
19
|
+
export interface CustomerInvoiceList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof CustomerInvoiceList
|
|
24
|
+
*/
|
|
25
|
+
pagination?: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<CustomerInvoice>}
|
|
29
|
+
* @memberof CustomerInvoiceList
|
|
30
|
+
*/
|
|
31
|
+
customerInvoices?: Array<CustomerInvoice>;
|
|
32
|
+
}
|