@sp-api-sdk/orders-api-v0 1.8.5
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/orders-v0-api.js +513 -0
- package/dist/cjs/src/api-model/api.js +17 -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 +25 -0
- package/dist/cjs/src/api-model/models/buyer-customized-info-detail.js +15 -0
- package/dist/cjs/src/api-model/models/buyer-info.js +15 -0
- package/dist/cjs/src/api-model/models/buyer-tax-info.js +15 -0
- package/dist/cjs/src/api-model/models/fulfillment-instruction.js +15 -0
- package/dist/cjs/src/api-model/models/get-order-address-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-order-buyer-info-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-order-items-buyer-info-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-order-items-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-order-response.js +15 -0
- package/dist/cjs/src/api-model/models/get-orders-response.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +31 -0
- package/dist/cjs/src/api-model/models/item-buyer-info.js +15 -0
- package/dist/cjs/src/api-model/models/marketplace-tax-info.js +15 -0
- package/dist/cjs/src/api-model/models/model-error.js +15 -0
- package/dist/cjs/src/api-model/models/money.js +15 -0
- package/dist/cjs/src/api-model/models/order-address.js +15 -0
- package/dist/cjs/src/api-model/models/order-buyer-info.js +15 -0
- package/dist/cjs/src/api-model/models/order-item-buyer-info.js +15 -0
- package/dist/cjs/src/api-model/models/order-item.js +25 -0
- package/dist/cjs/src/api-model/models/order-items-buyer-info-list.js +15 -0
- package/dist/cjs/src/api-model/models/order-items-list.js +15 -0
- package/dist/cjs/src/api-model/models/order.js +62 -0
- package/dist/cjs/src/api-model/models/orders-list.js +15 -0
- package/dist/cjs/src/api-model/models/payment-execution-detail-item.js +15 -0
- package/dist/cjs/src/api-model/models/points-granted-detail.js +15 -0
- package/dist/cjs/src/api-model/models/product-info-detail.js +15 -0
- package/dist/cjs/src/api-model/models/tax-classification.js +15 -0
- package/dist/cjs/src/api-model/models/tax-collection.js +32 -0
- package/dist/cjs/src/client.js +65 -0
- package/dist/cjs/src/error.js +10 -0
- package/dist/es/index.js +3 -0
- package/dist/es/src/api-model/api/orders-v0-api.js +505 -0
- package/dist/es/src/api-model/api.js +14 -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 +22 -0
- package/dist/es/src/api-model/models/buyer-customized-info-detail.js +14 -0
- package/dist/es/src/api-model/models/buyer-info.js +14 -0
- package/dist/es/src/api-model/models/buyer-tax-info.js +14 -0
- package/dist/es/src/api-model/models/fulfillment-instruction.js +14 -0
- package/dist/es/src/api-model/models/get-order-address-response.js +14 -0
- package/dist/es/src/api-model/models/get-order-buyer-info-response.js +14 -0
- package/dist/es/src/api-model/models/get-order-items-buyer-info-response.js +14 -0
- package/dist/es/src/api-model/models/get-order-items-response.js +14 -0
- package/dist/es/src/api-model/models/get-order-response.js +14 -0
- package/dist/es/src/api-model/models/get-orders-response.js +14 -0
- package/dist/es/src/api-model/models/index.js +28 -0
- package/dist/es/src/api-model/models/item-buyer-info.js +14 -0
- package/dist/es/src/api-model/models/marketplace-tax-info.js +14 -0
- package/dist/es/src/api-model/models/model-error.js +14 -0
- package/dist/es/src/api-model/models/money.js +14 -0
- package/dist/es/src/api-model/models/order-address.js +14 -0
- package/dist/es/src/api-model/models/order-buyer-info.js +14 -0
- package/dist/es/src/api-model/models/order-item-buyer-info.js +14 -0
- package/dist/es/src/api-model/models/order-item.js +22 -0
- package/dist/es/src/api-model/models/order-items-buyer-info-list.js +14 -0
- package/dist/es/src/api-model/models/order-items-list.js +14 -0
- package/dist/es/src/api-model/models/order.js +59 -0
- package/dist/es/src/api-model/models/orders-list.js +14 -0
- package/dist/es/src/api-model/models/payment-execution-detail-item.js +14 -0
- package/dist/es/src/api-model/models/points-granted-detail.js +14 -0
- package/dist/es/src/api-model/models/product-info-detail.js +14 -0
- package/dist/es/src/api-model/models/tax-classification.js +14 -0
- package/dist/es/src/api-model/models/tax-collection.js +29 -0
- package/dist/es/src/client.js +61 -0
- package/dist/es/src/error.js +6 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +460 -0
- package/dist/types/src/api-model/api.d.ts +12 -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 +104 -0
- package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +24 -0
- package/dist/types/src/api-model/models/buyer-info.d.ts +49 -0
- package/dist/types/src/api-model/models/buyer-tax-info.d.ts +37 -0
- package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +24 -0
- package/dist/types/src/api-model/models/get-order-address-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +31 -0
- package/dist/types/src/api-model/models/get-order-items-response.d.ts +31 -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/index.d.ts +28 -0
- package/dist/types/src/api-model/models/item-buyer-info.d.ts +50 -0
- package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +25 -0
- package/dist/types/src/api-model/models/model-error.d.ts +36 -0
- package/dist/types/src/api-model/models/money.d.ts +30 -0
- package/dist/types/src/api-model/models/order-address.d.ts +31 -0
- package/dist/types/src/api-model/models/order-buyer-info.d.ts +55 -0
- package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +56 -0
- package/dist/types/src/api-model/models/order-item.d.ts +229 -0
- package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +37 -0
- package/dist/types/src/api-model/models/order-items-list.d.ts +37 -0
- package/dist/types/src/api-model/models/order.d.ts +306 -0
- package/dist/types/src/api-model/models/orders-list.d.ts +43 -0
- package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +31 -0
- package/dist/types/src/api-model/models/points-granted-detail.d.ts +31 -0
- package/dist/types/src/api-model/models/product-info-detail.d.ts +24 -0
- package/dist/types/src/api-model/models/tax-classification.d.ts +30 -0
- package/dist/types/src/api-model/models/tax-collection.d.ts +44 -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,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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/orders-v0-api';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The shipping address for the order.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Address
|
|
16
|
+
*/
|
|
17
|
+
export interface Address {
|
|
18
|
+
/**
|
|
19
|
+
* The name.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Address
|
|
22
|
+
*/
|
|
23
|
+
Name: string;
|
|
24
|
+
/**
|
|
25
|
+
* The street 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
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Address
|
|
46
|
+
*/
|
|
47
|
+
City?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The county.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Address
|
|
52
|
+
*/
|
|
53
|
+
County?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The district.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Address
|
|
58
|
+
*/
|
|
59
|
+
District?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The state or region.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof Address
|
|
64
|
+
*/
|
|
65
|
+
StateOrRegion?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The municipality.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Address
|
|
70
|
+
*/
|
|
71
|
+
Municipality?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The postal code.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof Address
|
|
76
|
+
*/
|
|
77
|
+
PostalCode?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The country code. A two-character country code, in ISO 3166-1 alpha-2 format.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof Address
|
|
82
|
+
*/
|
|
83
|
+
CountryCode?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The phone number. Not returned for Fulfillment by Amazon (FBA) orders.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Address
|
|
88
|
+
*/
|
|
89
|
+
Phone?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The address type of the shipping address.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof Address
|
|
94
|
+
*/
|
|
95
|
+
AddressType?: AddressAddressTypeEnum;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
* @enum {string}
|
|
100
|
+
*/
|
|
101
|
+
export declare enum AddressAddressTypeEnum {
|
|
102
|
+
Residential = "Residential",
|
|
103
|
+
Commercial = "Commercial"
|
|
104
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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
|
+
* Buyer information for custom orders from the Amazon Custom program.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BuyerCustomizedInfoDetail
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerCustomizedInfoDetail {
|
|
18
|
+
/**
|
|
19
|
+
* The location of a zip file containing Amazon Custom data.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BuyerCustomizedInfoDetail
|
|
22
|
+
*/
|
|
23
|
+
CustomizedURL?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { BuyerTaxInfo } from './buyer-tax-info';
|
|
13
|
+
/**
|
|
14
|
+
* Buyer information
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BuyerInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface BuyerInfo {
|
|
19
|
+
/**
|
|
20
|
+
* The anonymized email address of the buyer.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BuyerInfo
|
|
23
|
+
*/
|
|
24
|
+
BuyerEmail?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the buyer.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BuyerInfo
|
|
29
|
+
*/
|
|
30
|
+
BuyerName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The county of the buyer.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BuyerInfo
|
|
35
|
+
*/
|
|
36
|
+
BuyerCounty?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {BuyerTaxInfo}
|
|
40
|
+
* @memberof BuyerInfo
|
|
41
|
+
*/
|
|
42
|
+
BuyerTaxInfo?: BuyerTaxInfo;
|
|
43
|
+
/**
|
|
44
|
+
* The purchase order (PO) number entered by the buyer at checkout. Returned only for orders where the buyer entered a PO number at checkout.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof BuyerInfo
|
|
47
|
+
*/
|
|
48
|
+
PurchaseOrderNumber?: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 { TaxClassification } from './tax-classification';
|
|
13
|
+
/**
|
|
14
|
+
* Tax information about the buyer.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BuyerTaxInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface BuyerTaxInfo {
|
|
19
|
+
/**
|
|
20
|
+
* The legal name of the company.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BuyerTaxInfo
|
|
23
|
+
*/
|
|
24
|
+
CompanyLegalName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The country or region imposing the tax.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BuyerTaxInfo
|
|
29
|
+
*/
|
|
30
|
+
TaxingRegion?: string;
|
|
31
|
+
/**
|
|
32
|
+
* A list of tax classifications that apply to the order.
|
|
33
|
+
* @type {Array<TaxClassification>}
|
|
34
|
+
* @memberof BuyerTaxInfo
|
|
35
|
+
*/
|
|
36
|
+
TaxClassifications?: Array<TaxClassification>;
|
|
37
|
+
}
|