@sp-api-sdk/finances-api-v0 4.2.7 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.cjs +550 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2281 -0
- package/dist/index.d.ts +2281 -0
- package/dist/{types/api-model/api/finances-api.d.ts → index.js} +409 -158
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/finances-api.js +0 -365
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/adhoc-disbursement-event.js +0 -15
- package/dist/cjs/api-model/models/adjustment-event.js +0 -15
- package/dist/cjs/api-model/models/adjustment-item.js +0 -15
- package/dist/cjs/api-model/models/affordability-expense-event.js +0 -15
- package/dist/cjs/api-model/models/capacity-reservation-billing-event.js +0 -15
- package/dist/cjs/api-model/models/charge-component.js +0 -15
- package/dist/cjs/api-model/models/charge-instrument.js +0 -15
- package/dist/cjs/api-model/models/charge-refund-event.js +0 -15
- package/dist/cjs/api-model/models/charge-refund-transaction.js +0 -15
- package/dist/cjs/api-model/models/coupon-payment-event.js +0 -15
- package/dist/cjs/api-model/models/currency.js +0 -15
- package/dist/cjs/api-model/models/debt-recovery-event.js +0 -15
- package/dist/cjs/api-model/models/debt-recovery-item.js +0 -15
- package/dist/cjs/api-model/models/direct-payment.js +0 -15
- package/dist/cjs/api-model/models/ebtrefund-reimbursement-only-event.js +0 -15
- package/dist/cjs/api-model/models/failed-adhoc-disbursement-event.js +0 -15
- package/dist/cjs/api-model/models/fbaliquidation-event.js +0 -15
- package/dist/cjs/api-model/models/fee-component.js +0 -15
- package/dist/cjs/api-model/models/financial-event-group.js +0 -15
- package/dist/cjs/api-model/models/financial-events.js +0 -15
- package/dist/cjs/api-model/models/imaging-services-fee-event.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -67
- package/dist/cjs/api-model/models/list-financial-event-groups-payload.js +0 -15
- package/dist/cjs/api-model/models/list-financial-event-groups-response.js +0 -15
- package/dist/cjs/api-model/models/list-financial-events-payload.js +0 -15
- package/dist/cjs/api-model/models/list-financial-events-response.js +0 -15
- package/dist/cjs/api-model/models/loan-servicing-event.js +0 -15
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/network-commingling-transaction-event.js +0 -15
- package/dist/cjs/api-model/models/pay-with-amazon-event.js +0 -15
- package/dist/cjs/api-model/models/product-ads-payment-event.js +0 -15
- package/dist/cjs/api-model/models/promotion.js +0 -15
- package/dist/cjs/api-model/models/removal-shipment-adjustment-event.js +0 -15
- package/dist/cjs/api-model/models/removal-shipment-event.js +0 -15
- package/dist/cjs/api-model/models/removal-shipment-item-adjustment.js +0 -15
- package/dist/cjs/api-model/models/removal-shipment-item.js +0 -15
- package/dist/cjs/api-model/models/rental-transaction-event.js +0 -15
- package/dist/cjs/api-model/models/retrocharge-event.js +0 -15
- package/dist/cjs/api-model/models/safetreimbursement-event.js +0 -15
- package/dist/cjs/api-model/models/safetreimbursement-item.js +0 -15
- package/dist/cjs/api-model/models/seller-deal-payment-event.js +0 -15
- package/dist/cjs/api-model/models/seller-review-enrollment-payment-event.js +0 -15
- package/dist/cjs/api-model/models/service-fee-event.js +0 -15
- package/dist/cjs/api-model/models/shipment-event.js +0 -15
- package/dist/cjs/api-model/models/shipment-item.js +0 -15
- package/dist/cjs/api-model/models/solution-provider-credit-event.js +0 -15
- package/dist/cjs/api-model/models/tax-withheld-component.js +0 -15
- package/dist/cjs/api-model/models/tax-withholding-event.js +0 -15
- package/dist/cjs/api-model/models/tax-withholding-period.js +0 -15
- package/dist/cjs/api-model/models/tdsreimbursement-event.js +0 -15
- package/dist/cjs/api-model/models/trial-shipment-event.js +0 -15
- package/dist/cjs/api-model/models/value-added-service-charge-event.js +0 -15
- package/dist/cjs/client.js +0 -42
- package/dist/cjs/index.js +0 -18
- package/dist/es/api-model/api/finances-api.js +0 -355
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/adhoc-disbursement-event.js +0 -14
- package/dist/es/api-model/models/adjustment-event.js +0 -14
- package/dist/es/api-model/models/adjustment-item.js +0 -14
- package/dist/es/api-model/models/affordability-expense-event.js +0 -14
- package/dist/es/api-model/models/capacity-reservation-billing-event.js +0 -14
- package/dist/es/api-model/models/charge-component.js +0 -14
- package/dist/es/api-model/models/charge-instrument.js +0 -14
- package/dist/es/api-model/models/charge-refund-event.js +0 -14
- package/dist/es/api-model/models/charge-refund-transaction.js +0 -14
- package/dist/es/api-model/models/coupon-payment-event.js +0 -14
- package/dist/es/api-model/models/currency.js +0 -14
- package/dist/es/api-model/models/debt-recovery-event.js +0 -14
- package/dist/es/api-model/models/debt-recovery-item.js +0 -14
- package/dist/es/api-model/models/direct-payment.js +0 -14
- package/dist/es/api-model/models/ebtrefund-reimbursement-only-event.js +0 -14
- package/dist/es/api-model/models/failed-adhoc-disbursement-event.js +0 -14
- package/dist/es/api-model/models/fbaliquidation-event.js +0 -14
- package/dist/es/api-model/models/fee-component.js +0 -14
- package/dist/es/api-model/models/financial-event-group.js +0 -14
- package/dist/es/api-model/models/financial-events.js +0 -14
- package/dist/es/api-model/models/imaging-services-fee-event.js +0 -14
- package/dist/es/api-model/models/index.js +0 -51
- package/dist/es/api-model/models/list-financial-event-groups-payload.js +0 -14
- package/dist/es/api-model/models/list-financial-event-groups-response.js +0 -14
- package/dist/es/api-model/models/list-financial-events-payload.js +0 -14
- package/dist/es/api-model/models/list-financial-events-response.js +0 -14
- package/dist/es/api-model/models/loan-servicing-event.js +0 -14
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/network-commingling-transaction-event.js +0 -14
- package/dist/es/api-model/models/pay-with-amazon-event.js +0 -14
- package/dist/es/api-model/models/product-ads-payment-event.js +0 -14
- package/dist/es/api-model/models/promotion.js +0 -14
- package/dist/es/api-model/models/removal-shipment-adjustment-event.js +0 -14
- package/dist/es/api-model/models/removal-shipment-event.js +0 -14
- package/dist/es/api-model/models/removal-shipment-item-adjustment.js +0 -14
- package/dist/es/api-model/models/removal-shipment-item.js +0 -14
- package/dist/es/api-model/models/rental-transaction-event.js +0 -14
- package/dist/es/api-model/models/retrocharge-event.js +0 -14
- package/dist/es/api-model/models/safetreimbursement-event.js +0 -14
- package/dist/es/api-model/models/safetreimbursement-item.js +0 -14
- package/dist/es/api-model/models/seller-deal-payment-event.js +0 -14
- package/dist/es/api-model/models/seller-review-enrollment-payment-event.js +0 -14
- package/dist/es/api-model/models/service-fee-event.js +0 -14
- package/dist/es/api-model/models/shipment-event.js +0 -14
- package/dist/es/api-model/models/shipment-item.js +0 -14
- package/dist/es/api-model/models/solution-provider-credit-event.js +0 -14
- package/dist/es/api-model/models/tax-withheld-component.js +0 -14
- package/dist/es/api-model/models/tax-withholding-event.js +0 -14
- package/dist/es/api-model/models/tax-withholding-period.js +0 -14
- package/dist/es/api-model/models/tdsreimbursement-event.js +0 -14
- package/dist/es/api-model/models/trial-shipment-event.js +0 -14
- package/dist/es/api-model/models/value-added-service-charge-event.js +0 -14
- package/dist/es/client.js +0 -38
- package/dist/es/index.js +0 -2
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/adhoc-disbursement-event.d.ts +0 -30
- package/dist/types/api-model/models/adjustment-event.d.ts +0 -35
- package/dist/types/api-model/models/adjustment-item.d.ts +0 -43
- package/dist/types/api-model/models/affordability-expense-event.d.ts +0 -38
- package/dist/types/api-model/models/capacity-reservation-billing-event.d.ts +0 -30
- package/dist/types/api-model/models/charge-component.d.ts +0 -22
- package/dist/types/api-model/models/charge-instrument.d.ts +0 -26
- package/dist/types/api-model/models/charge-refund-event.d.ts +0 -33
- package/dist/types/api-model/models/charge-refund-transaction.d.ts +0 -22
- package/dist/types/api-model/models/coupon-payment-event.d.ts +0 -42
- package/dist/types/api-model/models/currency.d.ts +0 -24
- package/dist/types/api-model/models/debt-recovery-event.d.ts +0 -33
- package/dist/types/api-model/models/debt-recovery-item.d.ts +0 -27
- package/dist/types/api-model/models/direct-payment.d.ts +0 -22
- package/dist/types/api-model/models/ebtrefund-reimbursement-only-event.d.ts +0 -26
- package/dist/types/api-model/models/failed-adhoc-disbursement-event.d.ts +0 -42
- package/dist/types/api-model/models/fbaliquidation-event.d.ts +0 -27
- package/dist/types/api-model/models/fee-component.d.ts +0 -22
- package/dist/types/api-model/models/financial-event-group.d.ts +0 -52
- package/dist/types/api-model/models/financial-events.d.ts +0 -181
- package/dist/types/api-model/models/imaging-services-fee-event.d.ts +0 -33
- package/dist/types/api-model/models/index.d.ts +0 -51
- package/dist/types/api-model/models/list-financial-event-groups-payload.d.ts +0 -25
- package/dist/types/api-model/models/list-financial-event-groups-response.d.ts +0 -22
- package/dist/types/api-model/models/list-financial-events-payload.d.ts +0 -22
- package/dist/types/api-model/models/list-financial-events-response.d.ts +0 -22
- package/dist/types/api-model/models/loan-servicing-event.d.ts +0 -22
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/network-commingling-transaction-event.d.ts +0 -43
- package/dist/types/api-model/models/pay-with-amazon-event.d.ts +0 -55
- package/dist/types/api-model/models/product-ads-payment-event.d.ts +0 -32
- package/dist/types/api-model/models/promotion.d.ts +0 -26
- package/dist/types/api-model/models/removal-shipment-adjustment-event.d.ts +0 -41
- package/dist/types/api-model/models/removal-shipment-event.d.ts +0 -41
- package/dist/types/api-model/models/removal-shipment-item-adjustment.d.ts +0 -36
- package/dist/types/api-model/models/removal-shipment-item.d.ts +0 -37
- package/dist/types/api-model/models/rental-transaction-event.d.ts +0 -54
- package/dist/types/api-model/models/retrocharge-event.d.ts +0 -40
- package/dist/types/api-model/models/safetreimbursement-event.d.ts +0 -35
- package/dist/types/api-model/models/safetreimbursement-item.d.ts +0 -29
- package/dist/types/api-model/models/seller-deal-payment-event.d.ts +0 -40
- package/dist/types/api-model/models/seller-review-enrollment-payment-event.d.ts +0 -34
- package/dist/types/api-model/models/service-fee-event.d.ts +0 -49
- package/dist/types/api-model/models/shipment-event.d.ts +0 -76
- package/dist/types/api-model/models/shipment-item.d.ts +0 -67
- package/dist/types/api-model/models/solution-provider-credit-event.d.ts +0 -54
- package/dist/types/api-model/models/tax-withheld-component.d.ts +0 -25
- package/dist/types/api-model/models/tax-withholding-event.d.ts +0 -25
- package/dist/types/api-model/models/tax-withholding-period.d.ts +0 -24
- package/dist/types/api-model/models/tdsreimbursement-event.d.ts +0 -26
- package/dist/types/api-model/models/trial-shipment-event.d.ts +0 -37
- package/dist/types/api-model/models/value-added-service-charge-event.d.ts +0 -30
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,2281 @@
|
|
|
1
|
+
import { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
|
|
2
|
+
import * as axios from 'axios';
|
|
3
|
+
import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Selling Partner API for Finances
|
|
7
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
8
|
+
*
|
|
9
|
+
* The version of the OpenAPI document: v0
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
+
* https://openapi-generator.tech
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*/
|
|
16
|
+
interface AWSv4Configuration {
|
|
17
|
+
options?: {
|
|
18
|
+
region?: string;
|
|
19
|
+
service?: string;
|
|
20
|
+
};
|
|
21
|
+
credentials?: {
|
|
22
|
+
accessKeyId?: string;
|
|
23
|
+
secretAccessKey?: string;
|
|
24
|
+
sessionToken?: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
interface ConfigurationParameters {
|
|
28
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
|
+
username?: string;
|
|
30
|
+
password?: string;
|
|
31
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
32
|
+
awsv4?: AWSv4Configuration;
|
|
33
|
+
basePath?: string;
|
|
34
|
+
serverIndex?: number;
|
|
35
|
+
baseOptions?: any;
|
|
36
|
+
formDataCtor?: new () => any;
|
|
37
|
+
}
|
|
38
|
+
declare class Configuration {
|
|
39
|
+
/**
|
|
40
|
+
* parameter for apiKey security
|
|
41
|
+
* @param name security name
|
|
42
|
+
*/
|
|
43
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
44
|
+
/**
|
|
45
|
+
* parameter for basic security
|
|
46
|
+
*/
|
|
47
|
+
username?: string;
|
|
48
|
+
/**
|
|
49
|
+
* parameter for basic security
|
|
50
|
+
*/
|
|
51
|
+
password?: string;
|
|
52
|
+
/**
|
|
53
|
+
* parameter for oauth2 security
|
|
54
|
+
* @param name security name
|
|
55
|
+
* @param scopes oauth2 scope
|
|
56
|
+
*/
|
|
57
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
58
|
+
/**
|
|
59
|
+
* parameter for aws4 signature security
|
|
60
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
61
|
+
* @param {string} options.region - aws region
|
|
62
|
+
* @param {string} options.service - name of the service.
|
|
63
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
64
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
65
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
66
|
+
* @memberof Configuration
|
|
67
|
+
*/
|
|
68
|
+
awsv4?: AWSv4Configuration;
|
|
69
|
+
/**
|
|
70
|
+
* override base path
|
|
71
|
+
*/
|
|
72
|
+
basePath?: string;
|
|
73
|
+
/**
|
|
74
|
+
* override server index
|
|
75
|
+
*/
|
|
76
|
+
serverIndex?: number;
|
|
77
|
+
/**
|
|
78
|
+
* base options for axios calls
|
|
79
|
+
*/
|
|
80
|
+
baseOptions?: any;
|
|
81
|
+
/**
|
|
82
|
+
* The FormData constructor that will be used to create multipart form data
|
|
83
|
+
* requests. You can inject this here so that execution environments that
|
|
84
|
+
* do not support the FormData class can still run the generated client.
|
|
85
|
+
*
|
|
86
|
+
* @type {new () => FormData}
|
|
87
|
+
*/
|
|
88
|
+
formDataCtor?: new () => any;
|
|
89
|
+
constructor(param?: ConfigurationParameters);
|
|
90
|
+
/**
|
|
91
|
+
* Check if the given MIME is a JSON MIME.
|
|
92
|
+
* JSON MIME examples:
|
|
93
|
+
* application/json
|
|
94
|
+
* application/json; charset=UTF8
|
|
95
|
+
* APPLICATION/JSON
|
|
96
|
+
* application/vnd.company+json
|
|
97
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
98
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
99
|
+
*/
|
|
100
|
+
isJsonMime(mime: string): boolean;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Selling Partner API for Finances
|
|
105
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
106
|
+
*
|
|
107
|
+
* The version of the OpenAPI document: v0
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
111
|
+
* https://openapi-generator.tech
|
|
112
|
+
* Do not edit the class manually.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
interface RequestArgs {
|
|
116
|
+
url: string;
|
|
117
|
+
options: RawAxiosRequestConfig;
|
|
118
|
+
}
|
|
119
|
+
declare class BaseAPI {
|
|
120
|
+
protected basePath: string;
|
|
121
|
+
protected axios: AxiosInstance;
|
|
122
|
+
protected configuration: Configuration | undefined;
|
|
123
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Selling Partner API for Finances
|
|
128
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
129
|
+
*
|
|
130
|
+
* The version of the OpenAPI document: v0
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
134
|
+
* https://openapi-generator.tech
|
|
135
|
+
* Do not edit the class manually.
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* A currency type and amount.
|
|
139
|
+
*/
|
|
140
|
+
interface Currency {
|
|
141
|
+
/**
|
|
142
|
+
* The three-digit currency code in ISO 4217 format.
|
|
143
|
+
*/
|
|
144
|
+
'CurrencyCode'?: string;
|
|
145
|
+
/**
|
|
146
|
+
* A signed decimal number.
|
|
147
|
+
*/
|
|
148
|
+
'CurrencyAmount'?: number;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Selling Partner API for Finances
|
|
153
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
154
|
+
*
|
|
155
|
+
* The version of the OpenAPI document: v0
|
|
156
|
+
*
|
|
157
|
+
*
|
|
158
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
159
|
+
* https://openapi-generator.tech
|
|
160
|
+
* Do not edit the class manually.
|
|
161
|
+
*/
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* An event related to an Adhoc Disbursement.
|
|
165
|
+
*/
|
|
166
|
+
interface AdhocDisbursementEvent {
|
|
167
|
+
/**
|
|
168
|
+
* The type of transaction. For example, \"Disbursed to Amazon Gift Card balance\".
|
|
169
|
+
*/
|
|
170
|
+
'TransactionType'?: string;
|
|
171
|
+
/**
|
|
172
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
173
|
+
*/
|
|
174
|
+
'PostedDate'?: string;
|
|
175
|
+
/**
|
|
176
|
+
* The identifier for the transaction.
|
|
177
|
+
*/
|
|
178
|
+
'TransactionId'?: string;
|
|
179
|
+
'TransactionAmount'?: Currency;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Selling Partner API for Finances
|
|
184
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
185
|
+
*
|
|
186
|
+
* The version of the OpenAPI document: v0
|
|
187
|
+
*
|
|
188
|
+
*
|
|
189
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
190
|
+
* https://openapi-generator.tech
|
|
191
|
+
* Do not edit the class manually.
|
|
192
|
+
*/
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* An item in an adjustment to the seller\'s account.
|
|
196
|
+
*/
|
|
197
|
+
interface AdjustmentItem {
|
|
198
|
+
/**
|
|
199
|
+
* Represents the number of units in the seller\'s inventory when the `AdjustmentType` is `FBAInventoryReimbursement`.
|
|
200
|
+
*/
|
|
201
|
+
'Quantity'?: string;
|
|
202
|
+
'PerUnitAmount'?: Currency;
|
|
203
|
+
'TotalAmount'?: Currency;
|
|
204
|
+
/**
|
|
205
|
+
* The seller SKU of the item. The seller SKU is qualified by the seller\'s seller ID, which is included with every call to the Selling Partner API.
|
|
206
|
+
*/
|
|
207
|
+
'SellerSKU'?: string;
|
|
208
|
+
/**
|
|
209
|
+
* A unique identifier assigned to products stored in and fulfilled from a fulfillment center.
|
|
210
|
+
*/
|
|
211
|
+
'FnSKU'?: string;
|
|
212
|
+
/**
|
|
213
|
+
* A short description of the item.
|
|
214
|
+
*/
|
|
215
|
+
'ProductDescription'?: string;
|
|
216
|
+
/**
|
|
217
|
+
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
218
|
+
*/
|
|
219
|
+
'ASIN'?: string;
|
|
220
|
+
/**
|
|
221
|
+
* The transaction number that is related to the adjustment.
|
|
222
|
+
*/
|
|
223
|
+
'TransactionNumber'?: string;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Selling Partner API for Finances
|
|
228
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
229
|
+
*
|
|
230
|
+
* The version of the OpenAPI document: v0
|
|
231
|
+
*
|
|
232
|
+
*
|
|
233
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
234
|
+
* https://openapi-generator.tech
|
|
235
|
+
* Do not edit the class manually.
|
|
236
|
+
*/
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* An adjustment to the seller\'s account.
|
|
240
|
+
*/
|
|
241
|
+
interface AdjustmentEvent {
|
|
242
|
+
/**
|
|
243
|
+
* The type of adjustment. Possible values: * `FBAInventoryReimbursement`: An FBA inventory reimbursement to a seller\'s account. This occurs if a seller\'s inventory is damaged. * `ReserveEvent`: A reserve event that is generated at the time a settlement period closes. This occurs when some money from a seller\'s account is held back. * `PostageBilling`: The amount paid by a seller for shipping labels. * `PostageRefund`: The reimbursement of shipping labels purchased for orders that were canceled or refunded. * `LostOrDamagedReimbursement`: An Amazon Easy Ship reimbursement to a seller\'s account for a package that we lost or damaged. * `CanceledButPickedUpReimbursement`: An Amazon Easy Ship reimbursement to a seller\'s account. This occurs when a package is picked up and the order is subsequently canceled. This value is used only in the India marketplace. * `ReimbursementClawback`: An Amazon Easy Ship reimbursement clawback from a seller\'s account. This occurs when a prior reimbursement is reversed. This value is used only in the India marketplace. * `SellerRewards`: An award credited to a seller\'s account for their participation in an offer in the Seller Rewards program. Applies only to the India marketplace.
|
|
244
|
+
*/
|
|
245
|
+
'AdjustmentType'?: string;
|
|
246
|
+
/**
|
|
247
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
248
|
+
*/
|
|
249
|
+
'PostedDate'?: string;
|
|
250
|
+
/**
|
|
251
|
+
* The name of the store where the event occurred.
|
|
252
|
+
*/
|
|
253
|
+
'StoreName'?: string;
|
|
254
|
+
'AdjustmentAmount'?: Currency;
|
|
255
|
+
/**
|
|
256
|
+
* A list of information about items in an adjustment to the seller\'s account.
|
|
257
|
+
*/
|
|
258
|
+
'AdjustmentItemList'?: Array<AdjustmentItem>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Selling Partner API for Finances
|
|
263
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
264
|
+
*
|
|
265
|
+
* The version of the OpenAPI document: v0
|
|
266
|
+
*
|
|
267
|
+
*
|
|
268
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
269
|
+
* https://openapi-generator.tech
|
|
270
|
+
* Do not edit the class manually.
|
|
271
|
+
*/
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* An expense related to an affordability promotion.
|
|
275
|
+
*/
|
|
276
|
+
interface AffordabilityExpenseEvent {
|
|
277
|
+
/**
|
|
278
|
+
* An Amazon-defined identifier for an order.
|
|
279
|
+
*/
|
|
280
|
+
'AmazonOrderId'?: string;
|
|
281
|
+
/**
|
|
282
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
283
|
+
*/
|
|
284
|
+
'PostedDate'?: string;
|
|
285
|
+
/**
|
|
286
|
+
* The Amazon-defined marketplace identifier.
|
|
287
|
+
*/
|
|
288
|
+
'MarketplaceId'?: string;
|
|
289
|
+
/**
|
|
290
|
+
* The type of transaction. Possible values: * `Charge`: an affordability promotion expense. * `Refund`: an affordability promotion expense reversal.
|
|
291
|
+
*/
|
|
292
|
+
'TransactionType'?: string;
|
|
293
|
+
'BaseExpense'?: Currency;
|
|
294
|
+
'TaxTypeCGST': Currency;
|
|
295
|
+
'TaxTypeSGST': Currency;
|
|
296
|
+
'TaxTypeIGST': Currency;
|
|
297
|
+
'TotalExpense'?: Currency;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Selling Partner API for Finances
|
|
302
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
303
|
+
*
|
|
304
|
+
* The version of the OpenAPI document: v0
|
|
305
|
+
*
|
|
306
|
+
*
|
|
307
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
308
|
+
* https://openapi-generator.tech
|
|
309
|
+
* Do not edit the class manually.
|
|
310
|
+
*/
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* An event related to a capacity reservation billing charge.
|
|
314
|
+
*/
|
|
315
|
+
interface CapacityReservationBillingEvent {
|
|
316
|
+
/**
|
|
317
|
+
* The transaction type. For example, FBA Inventory Fee.
|
|
318
|
+
*/
|
|
319
|
+
'TransactionType'?: string;
|
|
320
|
+
/**
|
|
321
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
322
|
+
*/
|
|
323
|
+
'PostedDate'?: string;
|
|
324
|
+
/**
|
|
325
|
+
* A short description of the capacity reservation billing event.
|
|
326
|
+
*/
|
|
327
|
+
'Description'?: string;
|
|
328
|
+
'TransactionAmount'?: Currency;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Selling Partner API for Finances
|
|
333
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
334
|
+
*
|
|
335
|
+
* The version of the OpenAPI document: v0
|
|
336
|
+
*
|
|
337
|
+
*
|
|
338
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
339
|
+
* https://openapi-generator.tech
|
|
340
|
+
* Do not edit the class manually.
|
|
341
|
+
*/
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* A charge on the seller\'s account. Possible values: * `Principal`: The selling price of the order item, which is equal to the selling price of the item multiplied by the quantity ordered. * `Tax`: The tax on the principal that is collected by the seller. * `MarketplaceFacilitatorTax-Principal`: The tax that is withheld on the principal. * `MarketplaceFacilitatorTax-Shipping`: The tax that is withheld on the `ShippingCharge`. * `MarketplaceFacilitatorTax-Giftwrap`: The tax that is withheld on the Giftwrap charge. * `MarketplaceFacilitatorTax-Other`: The tax that is withheld on other miscellaneous charges. * `Discount`: The promotional discount for an order item. * `TaxDiscount`: The tax that is deducted for promotional rebates. * `CODItemCharge`: The COD charge for an order item. * `CODItemTaxCharge`: The tax that is collected by the seller on a `CODItemCharge`. * `CODOrderCharge`: The COD charge for an order. * `CODOrderTaxCharge`: The tax that is collected by the seller on a `CODOrderCharge`. * `CODShippingCharge`: Shipping charges for a COD order. * `CODShippingTaxCharge`: The tax that is collected by the seller on a `CODShippingCharge`. * `ShippingCharge`: The shipping charge. * `ShippingTax`: The tax that is collected by the seller on a `ShippingCharge`. * `Goodwill`: The amount of money that is given to a buyer as a gesture of goodwill or to compensate for pain and suffering in the buying experience. * `Giftwrap`: The gift wrap charge. * `GiftwrapTax`: The tax that is collected by the seller on a gift wrap charge. * `RestockingFee`: The charge that is applied to the buyer when returning a product in certain categories. * `ReturnShipping`: The amount of money that is given to the buyer to compensate for shipping the item back if we are at fault. * `PointsFee`: The value of Amazon Points deducted from the refund if the buyer does not have enough Amazon Points to cover the deduction. * `GenericDeduction`: A generic bad debt deduction. * `FreeReplacementReturnShipping`: The compensation for return shipping when a buyer receives the wrong item, requests a free replacement, and returns the incorrect item. * `PaymentMethodFee`: The fee that is collected for certain payment methods in certain marketplaces. * `ExportCharge`: The export duty that is charged when an item is shipped to an international destination as part of the Amazon Global program. * `SAFE-TReimbursement`: The SAFE-T claim amount for the item. * `TCS-CGST`: Tax Collected at Source (TCS) for Central Goods and Services Tax (CGST). * `TCS-SGST`: Tax Collected at Source for State Goods and Services Tax (SGST). * `TCS-IGST`: Tax Collected at Source for Integrated Goods and Services Tax (IGST). * `TCS-UTGST`: Tax Collected at Source for Union Territories Goods and Services Tax (UTGST). * `PaidthroughEBT`: The amount of money paid with EBT for any order or shipment items.
|
|
345
|
+
*/
|
|
346
|
+
interface ChargeComponent {
|
|
347
|
+
/**
|
|
348
|
+
* The type of charge.
|
|
349
|
+
*/
|
|
350
|
+
'ChargeType'?: string;
|
|
351
|
+
'ChargeAmount'?: Currency;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Selling Partner API for Finances
|
|
356
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
357
|
+
*
|
|
358
|
+
* The version of the OpenAPI document: v0
|
|
359
|
+
*
|
|
360
|
+
*
|
|
361
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
362
|
+
* https://openapi-generator.tech
|
|
363
|
+
* Do not edit the class manually.
|
|
364
|
+
*/
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* A payment instrument.
|
|
368
|
+
*/
|
|
369
|
+
interface ChargeInstrument {
|
|
370
|
+
/**
|
|
371
|
+
* A short description of the charge instrument.
|
|
372
|
+
*/
|
|
373
|
+
'Description'?: string;
|
|
374
|
+
/**
|
|
375
|
+
* The account tail (trailing digits) of the charge instrument.
|
|
376
|
+
*/
|
|
377
|
+
'Tail'?: string;
|
|
378
|
+
'Amount'?: Currency;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Selling Partner API for Finances
|
|
383
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
384
|
+
*
|
|
385
|
+
* The version of the OpenAPI document: v0
|
|
386
|
+
*
|
|
387
|
+
*
|
|
388
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
389
|
+
* https://openapi-generator.tech
|
|
390
|
+
* Do not edit the class manually.
|
|
391
|
+
*/
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* The charge refund transaction.
|
|
395
|
+
*/
|
|
396
|
+
interface ChargeRefundTransaction {
|
|
397
|
+
'ChargeAmount'?: Currency;
|
|
398
|
+
/**
|
|
399
|
+
* The type of charge.
|
|
400
|
+
*/
|
|
401
|
+
'ChargeType'?: string;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Selling Partner API for Finances
|
|
406
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
407
|
+
*
|
|
408
|
+
* The version of the OpenAPI document: v0
|
|
409
|
+
*
|
|
410
|
+
*
|
|
411
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
412
|
+
* https://openapi-generator.tech
|
|
413
|
+
* Do not edit the class manually.
|
|
414
|
+
*/
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* An event related to charge refund.
|
|
418
|
+
*/
|
|
419
|
+
interface ChargeRefundEvent {
|
|
420
|
+
/**
|
|
421
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
422
|
+
*/
|
|
423
|
+
'PostedDate'?: string;
|
|
424
|
+
/**
|
|
425
|
+
* The reason given for a charge refund. For example, `SubscriptionFeeCorrection`.
|
|
426
|
+
*/
|
|
427
|
+
'ReasonCode'?: string;
|
|
428
|
+
/**
|
|
429
|
+
* A description of the Reason Code. For example, `SubscriptionFeeCorrection`.
|
|
430
|
+
*/
|
|
431
|
+
'ReasonCodeDescription'?: string;
|
|
432
|
+
/**
|
|
433
|
+
* A list of `ChargeRefund` transactions
|
|
434
|
+
*/
|
|
435
|
+
'ChargeRefundTransactions'?: Array<ChargeRefundTransaction>;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Selling Partner API for Finances
|
|
440
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
441
|
+
*
|
|
442
|
+
* The version of the OpenAPI document: v0
|
|
443
|
+
*
|
|
444
|
+
*
|
|
445
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
446
|
+
* https://openapi-generator.tech
|
|
447
|
+
* Do not edit the class manually.
|
|
448
|
+
*/
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* A fee associated with the event.
|
|
452
|
+
*/
|
|
453
|
+
interface FeeComponent {
|
|
454
|
+
/**
|
|
455
|
+
* The type of fee. For more information about Selling on Amazon fees, see [Selling on Amazon Fee Schedule](https://sellercentral.amazon.com/gp/help/200336920) on Seller Central. For more information about Fulfillment by Amazon fees, see [FBA features, services and fees](https://sellercentral.amazon.com/gp/help/201074400) on Seller Central.
|
|
456
|
+
*/
|
|
457
|
+
'FeeType'?: string;
|
|
458
|
+
'FeeAmount'?: Currency;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Selling Partner API for Finances
|
|
463
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
464
|
+
*
|
|
465
|
+
* The version of the OpenAPI document: v0
|
|
466
|
+
*
|
|
467
|
+
*
|
|
468
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
469
|
+
* https://openapi-generator.tech
|
|
470
|
+
* Do not edit the class manually.
|
|
471
|
+
*/
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* An event related to coupon payments.
|
|
475
|
+
*/
|
|
476
|
+
interface CouponPaymentEvent {
|
|
477
|
+
/**
|
|
478
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
479
|
+
*/
|
|
480
|
+
'PostedDate'?: string;
|
|
481
|
+
/**
|
|
482
|
+
* A coupon identifier.
|
|
483
|
+
*/
|
|
484
|
+
'CouponId'?: string;
|
|
485
|
+
/**
|
|
486
|
+
* The description provided by the seller when they created the coupon.
|
|
487
|
+
*/
|
|
488
|
+
'SellerCouponDescription'?: string;
|
|
489
|
+
/**
|
|
490
|
+
* The number of coupon clips or redemptions.
|
|
491
|
+
*/
|
|
492
|
+
'ClipOrRedemptionCount'?: number;
|
|
493
|
+
/**
|
|
494
|
+
* A payment event identifier.
|
|
495
|
+
*/
|
|
496
|
+
'PaymentEventId'?: string;
|
|
497
|
+
'FeeComponent'?: FeeComponent;
|
|
498
|
+
'ChargeComponent'?: ChargeComponent;
|
|
499
|
+
'TotalAmount'?: Currency;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Selling Partner API for Finances
|
|
504
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
505
|
+
*
|
|
506
|
+
* The version of the OpenAPI document: v0
|
|
507
|
+
*
|
|
508
|
+
*
|
|
509
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
510
|
+
* https://openapi-generator.tech
|
|
511
|
+
* Do not edit the class manually.
|
|
512
|
+
*/
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* An item of a debt payment or debt adjustment.
|
|
516
|
+
*/
|
|
517
|
+
interface DebtRecoveryItem {
|
|
518
|
+
'RecoveryAmount'?: Currency;
|
|
519
|
+
'OriginalAmount'?: Currency;
|
|
520
|
+
/**
|
|
521
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
522
|
+
*/
|
|
523
|
+
'GroupBeginDate'?: string;
|
|
524
|
+
/**
|
|
525
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
526
|
+
*/
|
|
527
|
+
'GroupEndDate'?: string;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Selling Partner API for Finances
|
|
532
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
533
|
+
*
|
|
534
|
+
* The version of the OpenAPI document: v0
|
|
535
|
+
*
|
|
536
|
+
*
|
|
537
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
538
|
+
* https://openapi-generator.tech
|
|
539
|
+
* Do not edit the class manually.
|
|
540
|
+
*/
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* A debt payment or debt adjustment.
|
|
544
|
+
*/
|
|
545
|
+
interface DebtRecoveryEvent {
|
|
546
|
+
/**
|
|
547
|
+
* The debt recovery type. Possible values: * `DebtPayment` * `DebtPaymentFailure` * `DebtAdjustment`
|
|
548
|
+
*/
|
|
549
|
+
'DebtRecoveryType'?: string;
|
|
550
|
+
'RecoveryAmount'?: Currency;
|
|
551
|
+
'OverPaymentCredit'?: Currency;
|
|
552
|
+
/**
|
|
553
|
+
* A list of debt recovery item information.
|
|
554
|
+
*/
|
|
555
|
+
'DebtRecoveryItemList'?: Array<DebtRecoveryItem>;
|
|
556
|
+
/**
|
|
557
|
+
* A list of payment instruments.
|
|
558
|
+
*/
|
|
559
|
+
'ChargeInstrumentList'?: Array<ChargeInstrument>;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Selling Partner API for Finances
|
|
564
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
565
|
+
*
|
|
566
|
+
* The version of the OpenAPI document: v0
|
|
567
|
+
*
|
|
568
|
+
*
|
|
569
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
570
|
+
* https://openapi-generator.tech
|
|
571
|
+
* Do not edit the class manually.
|
|
572
|
+
*/
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* A payment made directly to a seller.
|
|
576
|
+
*/
|
|
577
|
+
interface DirectPayment {
|
|
578
|
+
/**
|
|
579
|
+
* The type of payment. Possible values: * `StoredValueCardRevenue` - The amount that is deducted from the seller\'s account because the seller received money through a stored value card. * `StoredValueCardRefund` - The amount that Amazon returns to the seller if the order that is purchased using a stored value card is refunded. * `PrivateLabelCreditCardRevenue` - The amount that is deducted from the seller\'s account because the seller received money through a private label credit card offered by Amazon. * `PrivateLabelCreditCardRefund` - The amount that Amazon returns to the seller if the order that is purchased using a private label credit card offered by Amazon is refunded. * `CollectOnDeliveryRevenue` - The COD amount that the seller collected directly from the buyer. * `CollectOnDeliveryRefund` - The amount that Amazon refunds to the buyer if an order paid for by COD is refunded.
|
|
580
|
+
*/
|
|
581
|
+
'DirectPaymentType'?: string;
|
|
582
|
+
'DirectPaymentAmount'?: Currency;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Selling Partner API for Finances
|
|
587
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
588
|
+
*
|
|
589
|
+
* The version of the OpenAPI document: v0
|
|
590
|
+
*
|
|
591
|
+
*
|
|
592
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
593
|
+
* https://openapi-generator.tech
|
|
594
|
+
* Do not edit the class manually.
|
|
595
|
+
*/
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* An EBT refund reimbursement event.
|
|
599
|
+
*/
|
|
600
|
+
interface EBTRefundReimbursementOnlyEvent {
|
|
601
|
+
/**
|
|
602
|
+
* The identifier of an order.
|
|
603
|
+
*/
|
|
604
|
+
'OrderId'?: string;
|
|
605
|
+
/**
|
|
606
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
607
|
+
*/
|
|
608
|
+
'PostedDate'?: string;
|
|
609
|
+
'Amount'?: Currency;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Selling Partner API for Finances
|
|
614
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
615
|
+
*
|
|
616
|
+
* The version of the OpenAPI document: v0
|
|
617
|
+
*
|
|
618
|
+
*
|
|
619
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
620
|
+
* https://openapi-generator.tech
|
|
621
|
+
* Do not edit the class manually.
|
|
622
|
+
*/
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* A payment event for Fulfillment by Amazon (FBA) inventory liquidation. This event is used only in the US marketplace.
|
|
626
|
+
*/
|
|
627
|
+
interface FBALiquidationEvent {
|
|
628
|
+
/**
|
|
629
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
630
|
+
*/
|
|
631
|
+
'PostedDate'?: string;
|
|
632
|
+
/**
|
|
633
|
+
* The identifier for the original removal order.
|
|
634
|
+
*/
|
|
635
|
+
'OriginalRemovalOrderId'?: string;
|
|
636
|
+
'LiquidationProceedsAmount'?: Currency;
|
|
637
|
+
'LiquidationFeeAmount'?: Currency;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Selling Partner API for Finances
|
|
642
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
643
|
+
*
|
|
644
|
+
* The version of the OpenAPI document: v0
|
|
645
|
+
*
|
|
646
|
+
*
|
|
647
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
648
|
+
* https://openapi-generator.tech
|
|
649
|
+
* Do not edit the class manually.
|
|
650
|
+
*/
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Failed ad hoc disbursement event list.
|
|
654
|
+
*/
|
|
655
|
+
interface FailedAdhocDisbursementEvent {
|
|
656
|
+
/**
|
|
657
|
+
* The type of fund transfer. For example, `Refund`.
|
|
658
|
+
*/
|
|
659
|
+
'FundsTransfersType'?: string;
|
|
660
|
+
/**
|
|
661
|
+
* The transfer identifier.
|
|
662
|
+
*/
|
|
663
|
+
'TransferId'?: string;
|
|
664
|
+
/**
|
|
665
|
+
* The disbursement identifier.
|
|
666
|
+
*/
|
|
667
|
+
'DisbursementId'?: string;
|
|
668
|
+
/**
|
|
669
|
+
* The type of payment for disbursement. For example, `CREDIT_CARD`.
|
|
670
|
+
*/
|
|
671
|
+
'PaymentDisbursementType'?: string;
|
|
672
|
+
/**
|
|
673
|
+
* The status of the failed `AdhocDisbursement`. For example, `HARD_DECLINED`.
|
|
674
|
+
*/
|
|
675
|
+
'Status'?: string;
|
|
676
|
+
'TransferAmount'?: Currency;
|
|
677
|
+
/**
|
|
678
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
679
|
+
*/
|
|
680
|
+
'PostedDate'?: string;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Selling Partner API for Finances
|
|
685
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
686
|
+
*
|
|
687
|
+
* The version of the OpenAPI document: v0
|
|
688
|
+
*
|
|
689
|
+
*
|
|
690
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
691
|
+
* https://openapi-generator.tech
|
|
692
|
+
* Do not edit the class manually.
|
|
693
|
+
*/
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Information related to a financial event group.
|
|
697
|
+
*/
|
|
698
|
+
interface FinancialEventGroup {
|
|
699
|
+
/**
|
|
700
|
+
* A unique identifier for the financial event group.
|
|
701
|
+
*/
|
|
702
|
+
'FinancialEventGroupId'?: string;
|
|
703
|
+
/**
|
|
704
|
+
* The processing status of the financial event group indicates whether the balance of the financial event group is settled. Possible values: * `Open` * `Closed`
|
|
705
|
+
*/
|
|
706
|
+
'ProcessingStatus'?: string;
|
|
707
|
+
/**
|
|
708
|
+
* The status of the fund transfer.
|
|
709
|
+
*/
|
|
710
|
+
'FundTransferStatus'?: string;
|
|
711
|
+
'OriginalTotal'?: Currency;
|
|
712
|
+
'ConvertedTotal'?: Currency;
|
|
713
|
+
/**
|
|
714
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
715
|
+
*/
|
|
716
|
+
'FundTransferDate'?: string;
|
|
717
|
+
/**
|
|
718
|
+
* The trace identifier used by sellers to look up transactions externally.
|
|
719
|
+
*/
|
|
720
|
+
'TraceId'?: string;
|
|
721
|
+
/**
|
|
722
|
+
* The account tail of the payment instrument.
|
|
723
|
+
*/
|
|
724
|
+
'AccountTail'?: string;
|
|
725
|
+
'BeginningBalance'?: Currency;
|
|
726
|
+
/**
|
|
727
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
728
|
+
*/
|
|
729
|
+
'FinancialEventGroupStart'?: string;
|
|
730
|
+
/**
|
|
731
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
732
|
+
*/
|
|
733
|
+
'FinancialEventGroupEnd'?: string;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Selling Partner API for Finances
|
|
738
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
739
|
+
*
|
|
740
|
+
* The version of the OpenAPI document: v0
|
|
741
|
+
*
|
|
742
|
+
*
|
|
743
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
744
|
+
* https://openapi-generator.tech
|
|
745
|
+
* Do not edit the class manually.
|
|
746
|
+
*/
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* A fee event related to Amazon Imaging services.
|
|
750
|
+
*/
|
|
751
|
+
interface ImagingServicesFeeEvent {
|
|
752
|
+
/**
|
|
753
|
+
* The identifier for the imaging services request.
|
|
754
|
+
*/
|
|
755
|
+
'ImagingRequestBillingItemID'?: string;
|
|
756
|
+
/**
|
|
757
|
+
* The Amazon Standard Identification Number (ASIN) of the item for which the imaging service was requested.
|
|
758
|
+
*/
|
|
759
|
+
'ASIN'?: string;
|
|
760
|
+
/**
|
|
761
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
762
|
+
*/
|
|
763
|
+
'PostedDate'?: string;
|
|
764
|
+
/**
|
|
765
|
+
* A list of fee component information.
|
|
766
|
+
*/
|
|
767
|
+
'FeeList'?: Array<FeeComponent>;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Selling Partner API for Finances
|
|
772
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
773
|
+
*
|
|
774
|
+
* The version of the OpenAPI document: v0
|
|
775
|
+
*
|
|
776
|
+
*
|
|
777
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
778
|
+
* https://openapi-generator.tech
|
|
779
|
+
* Do not edit the class manually.
|
|
780
|
+
*/
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* A loan advance, loan payment, or loan refund.
|
|
784
|
+
*/
|
|
785
|
+
interface LoanServicingEvent {
|
|
786
|
+
'LoanAmount'?: Currency;
|
|
787
|
+
/**
|
|
788
|
+
* The type of event. Possible values: * `LoanAdvance` * `LoanPayment` * `LoanRefund`
|
|
789
|
+
*/
|
|
790
|
+
'SourceBusinessEventType'?: string;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Selling Partner API for Finances
|
|
795
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
796
|
+
*
|
|
797
|
+
* The version of the OpenAPI document: v0
|
|
798
|
+
*
|
|
799
|
+
*
|
|
800
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
801
|
+
* https://openapi-generator.tech
|
|
802
|
+
* Do not edit the class manually.
|
|
803
|
+
*/
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* A network commingling transaction event.
|
|
807
|
+
*/
|
|
808
|
+
interface NetworkComminglingTransactionEvent {
|
|
809
|
+
/**
|
|
810
|
+
* The type of network item swap. Possible values: * `NetCo`: A Fulfillment by Amazon inventory pooling transaction. Available only in the India marketplace. * `ComminglingVAT`: A commingling VAT transaction. Available only in the Spain, UK, France, Germany, and Italy marketplaces.
|
|
811
|
+
*/
|
|
812
|
+
'TransactionType'?: string;
|
|
813
|
+
/**
|
|
814
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
815
|
+
*/
|
|
816
|
+
'PostedDate'?: string;
|
|
817
|
+
/**
|
|
818
|
+
* The identifier for the network item swap.
|
|
819
|
+
*/
|
|
820
|
+
'NetCoTransactionID'?: string;
|
|
821
|
+
/**
|
|
822
|
+
* The reason for the network item swap.
|
|
823
|
+
*/
|
|
824
|
+
'SwapReason'?: string;
|
|
825
|
+
/**
|
|
826
|
+
* The Amazon Standard Identification Number (ASIN) of the swapped item.
|
|
827
|
+
*/
|
|
828
|
+
'ASIN'?: string;
|
|
829
|
+
/**
|
|
830
|
+
* The marketplace in which the event took place.
|
|
831
|
+
*/
|
|
832
|
+
'MarketplaceId'?: string;
|
|
833
|
+
'TaxExclusiveAmount'?: Currency;
|
|
834
|
+
'TaxAmount'?: Currency;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Selling Partner API for Finances
|
|
839
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
840
|
+
*
|
|
841
|
+
* The version of the OpenAPI document: v0
|
|
842
|
+
*
|
|
843
|
+
*
|
|
844
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
845
|
+
* https://openapi-generator.tech
|
|
846
|
+
* Do not edit the class manually.
|
|
847
|
+
*/
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* An event related to the seller\'s Pay with Amazon account.
|
|
851
|
+
*/
|
|
852
|
+
interface PayWithAmazonEvent {
|
|
853
|
+
/**
|
|
854
|
+
* An order identifier that is specified by the seller.
|
|
855
|
+
*/
|
|
856
|
+
'SellerOrderId'?: string;
|
|
857
|
+
/**
|
|
858
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
859
|
+
*/
|
|
860
|
+
'TransactionPostedDate'?: string;
|
|
861
|
+
/**
|
|
862
|
+
* The type of business object.
|
|
863
|
+
*/
|
|
864
|
+
'BusinessObjectType'?: string;
|
|
865
|
+
/**
|
|
866
|
+
* The sales channel for the transaction.
|
|
867
|
+
*/
|
|
868
|
+
'SalesChannel'?: string;
|
|
869
|
+
'Charge'?: ChargeComponent;
|
|
870
|
+
/**
|
|
871
|
+
* A list of fee component information.
|
|
872
|
+
*/
|
|
873
|
+
'FeeList'?: Array<FeeComponent>;
|
|
874
|
+
/**
|
|
875
|
+
* The type of payment. Possible values: * `Sales`
|
|
876
|
+
*/
|
|
877
|
+
'PaymentAmountType'?: string;
|
|
878
|
+
/**
|
|
879
|
+
* A short description of this payment event.
|
|
880
|
+
*/
|
|
881
|
+
'AmountDescription'?: string;
|
|
882
|
+
/**
|
|
883
|
+
* The fulfillment channel. Possible values: * `AFN`: Amazon Fulfillment Network (Fulfillment by Amazon) * `MFN`: Merchant Fulfillment Network (self-fulfilled)
|
|
884
|
+
*/
|
|
885
|
+
'FulfillmentChannel'?: string;
|
|
886
|
+
/**
|
|
887
|
+
* The name of the store where the event occurred.
|
|
888
|
+
*/
|
|
889
|
+
'StoreName'?: string;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Selling Partner API for Finances
|
|
894
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
895
|
+
*
|
|
896
|
+
* The version of the OpenAPI document: v0
|
|
897
|
+
*
|
|
898
|
+
*
|
|
899
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
900
|
+
* https://openapi-generator.tech
|
|
901
|
+
* Do not edit the class manually.
|
|
902
|
+
*/
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* A Sponsored Products payment event.
|
|
906
|
+
*/
|
|
907
|
+
interface ProductAdsPaymentEvent {
|
|
908
|
+
/**
|
|
909
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
910
|
+
*/
|
|
911
|
+
'postedDate'?: string;
|
|
912
|
+
/**
|
|
913
|
+
* Indicates if the transaction is for a charge or a refund. Possible values: * `charge` * `refund`
|
|
914
|
+
*/
|
|
915
|
+
'transactionType'?: string;
|
|
916
|
+
/**
|
|
917
|
+
* The identifier for the invoice that includes the transaction.
|
|
918
|
+
*/
|
|
919
|
+
'invoiceId'?: string;
|
|
920
|
+
'baseValue'?: Currency;
|
|
921
|
+
'taxValue'?: Currency;
|
|
922
|
+
'transactionValue'?: Currency;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Selling Partner API for Finances
|
|
927
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
928
|
+
*
|
|
929
|
+
* The version of the OpenAPI document: v0
|
|
930
|
+
*
|
|
931
|
+
*
|
|
932
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
933
|
+
* https://openapi-generator.tech
|
|
934
|
+
* Do not edit the class manually.
|
|
935
|
+
*/
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Item-level information for a removal shipment item adjustment.
|
|
939
|
+
*/
|
|
940
|
+
interface RemovalShipmentItemAdjustment {
|
|
941
|
+
/**
|
|
942
|
+
* An identifier for an item in a removal shipment.
|
|
943
|
+
*/
|
|
944
|
+
'RemovalShipmentItemId'?: string;
|
|
945
|
+
/**
|
|
946
|
+
* The tax collection model that is applied to the item. Possible values: * `MarketplaceFacilitator`: Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller. * `Standard`: Tax is paid to the seller and not remitted to the taxing authority by Amazon.
|
|
947
|
+
*/
|
|
948
|
+
'TaxCollectionModel'?: string;
|
|
949
|
+
/**
|
|
950
|
+
* The Amazon fulfillment network SKU for the item.
|
|
951
|
+
*/
|
|
952
|
+
'FulfillmentNetworkSKU'?: string;
|
|
953
|
+
/**
|
|
954
|
+
* Adjusted quantity of `RemovalShipmentItemAdjustment` items.
|
|
955
|
+
*/
|
|
956
|
+
'AdjustedQuantity'?: number;
|
|
957
|
+
'RevenueAdjustment'?: Currency;
|
|
958
|
+
'TaxAmountAdjustment'?: Currency;
|
|
959
|
+
'TaxWithheldAdjustment'?: Currency;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Selling Partner API for Finances
|
|
964
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
965
|
+
*
|
|
966
|
+
* The version of the OpenAPI document: v0
|
|
967
|
+
*
|
|
968
|
+
*
|
|
969
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
970
|
+
* https://openapi-generator.tech
|
|
971
|
+
* Do not edit the class manually.
|
|
972
|
+
*/
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* A financial adjustment event for FBA liquidated inventory. A positive value indicates money owed to Amazon by the buyer (for example, when the charge was incorrectly calculated as less than it should be). A negative value indicates a full or partial refund owed to the buyer (for example, when the buyer receives damaged items or fewer items than ordered).
|
|
976
|
+
*/
|
|
977
|
+
interface RemovalShipmentAdjustmentEvent {
|
|
978
|
+
/**
|
|
979
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
980
|
+
*/
|
|
981
|
+
'PostedDate'?: string;
|
|
982
|
+
/**
|
|
983
|
+
* The unique identifier for the adjustment event.
|
|
984
|
+
*/
|
|
985
|
+
'AdjustmentEventId'?: string;
|
|
986
|
+
/**
|
|
987
|
+
* The merchant removal orderId.
|
|
988
|
+
*/
|
|
989
|
+
'MerchantOrderId'?: string;
|
|
990
|
+
/**
|
|
991
|
+
* The orderId for shipping inventory.
|
|
992
|
+
*/
|
|
993
|
+
'OrderId'?: string;
|
|
994
|
+
/**
|
|
995
|
+
* The type of removal order. Possible values: * `WHOLESALE_LIQUIDATION`.
|
|
996
|
+
*/
|
|
997
|
+
'TransactionType'?: string;
|
|
998
|
+
/**
|
|
999
|
+
* A comma-delimited list of `RemovalShipmentItemAdjustment` details for FBA inventory.
|
|
1000
|
+
*/
|
|
1001
|
+
'RemovalShipmentItemAdjustmentList'?: Array<RemovalShipmentItemAdjustment>;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Selling Partner API for Finances
|
|
1006
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1007
|
+
*
|
|
1008
|
+
* The version of the OpenAPI document: v0
|
|
1009
|
+
*
|
|
1010
|
+
*
|
|
1011
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1012
|
+
* https://openapi-generator.tech
|
|
1013
|
+
* Do not edit the class manually.
|
|
1014
|
+
*/
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Item-level information for a removal shipment.
|
|
1018
|
+
*/
|
|
1019
|
+
interface RemovalShipmentItem {
|
|
1020
|
+
/**
|
|
1021
|
+
* An identifier for an item in a removal shipment.
|
|
1022
|
+
*/
|
|
1023
|
+
'RemovalShipmentItemId'?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* The tax collection model that is applied to the item. Possible values: * `MarketplaceFacilitator`: Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller. * `Standard`: Tax is paid to the seller and not remitted to the taxing authority by Amazon.
|
|
1026
|
+
*/
|
|
1027
|
+
'TaxCollectionModel'?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* The Amazon fulfillment network SKU for the item.
|
|
1030
|
+
*/
|
|
1031
|
+
'FulfillmentNetworkSKU'?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* The quantity of the item.
|
|
1034
|
+
*/
|
|
1035
|
+
'Quantity'?: number;
|
|
1036
|
+
'Revenue'?: Currency;
|
|
1037
|
+
'FeeAmount'?: Currency;
|
|
1038
|
+
'TaxAmount'?: Currency;
|
|
1039
|
+
'TaxWithheld'?: Currency;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Selling Partner API for Finances
|
|
1044
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1045
|
+
*
|
|
1046
|
+
* The version of the OpenAPI document: v0
|
|
1047
|
+
*
|
|
1048
|
+
*
|
|
1049
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1050
|
+
* https://openapi-generator.tech
|
|
1051
|
+
* Do not edit the class manually.
|
|
1052
|
+
*/
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* A removal shipment event for a removal order.
|
|
1056
|
+
*/
|
|
1057
|
+
interface RemovalShipmentEvent {
|
|
1058
|
+
/**
|
|
1059
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1060
|
+
*/
|
|
1061
|
+
'PostedDate'?: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* The merchant removal `orderId`.
|
|
1064
|
+
*/
|
|
1065
|
+
'MerchantOrderId'?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* The identifier for the removal shipment order.
|
|
1068
|
+
*/
|
|
1069
|
+
'OrderId'?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* The type of removal order. Possible values: * `WHOLESALE_LIQUIDATION`
|
|
1072
|
+
*/
|
|
1073
|
+
'TransactionType'?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* The name of the store where the event occurred.
|
|
1076
|
+
*/
|
|
1077
|
+
'StoreName'?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* A list of `RemovalShipmentItem`.
|
|
1080
|
+
*/
|
|
1081
|
+
'RemovalShipmentItemList'?: Array<RemovalShipmentItem>;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Selling Partner API for Finances
|
|
1086
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1087
|
+
*
|
|
1088
|
+
* The version of the OpenAPI document: v0
|
|
1089
|
+
*
|
|
1090
|
+
*
|
|
1091
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1092
|
+
* https://openapi-generator.tech
|
|
1093
|
+
* Do not edit the class manually.
|
|
1094
|
+
*/
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Information about the taxes withheld.
|
|
1098
|
+
*/
|
|
1099
|
+
interface TaxWithheldComponent {
|
|
1100
|
+
/**
|
|
1101
|
+
* The tax collection model applied to the item. Possible values: * `MarketplaceFacilitator`: Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller. * `Standard`: Tax is paid to the seller and not remitted to the taxing authority by Amazon.
|
|
1102
|
+
*/
|
|
1103
|
+
'TaxCollectionModel'?: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* A list of charge information on the seller\'s account.
|
|
1106
|
+
*/
|
|
1107
|
+
'TaxesWithheld'?: Array<ChargeComponent>;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Selling Partner API for Finances
|
|
1112
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1113
|
+
*
|
|
1114
|
+
* The version of the OpenAPI document: v0
|
|
1115
|
+
*
|
|
1116
|
+
*
|
|
1117
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1118
|
+
* https://openapi-generator.tech
|
|
1119
|
+
* Do not edit the class manually.
|
|
1120
|
+
*/
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* An event related to a rental transaction.
|
|
1124
|
+
*/
|
|
1125
|
+
interface RentalTransactionEvent {
|
|
1126
|
+
/**
|
|
1127
|
+
* An Amazon-defined identifier for an order.
|
|
1128
|
+
*/
|
|
1129
|
+
'AmazonOrderId'?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* The type of rental event. Possible values: * `RentalCustomerPayment-Buyout`: A transaction type that represents when the customer wants to buy out a rented item. * `RentalCustomerPayment-Extension`: A transaction type that represents when the customer wants to extend the rental period. * `RentalCustomerRefund-Buyout`: A transaction type that represents when the customer requests a refund for the buyout of the rented item. * `RentalCustomerRefund-Extension`: A transaction type that represents when the customer requests a refund over the extension on the rented item. * `RentalHandlingFee`: A transaction type that represents the fee that Amazon charges sellers who rent through Amazon. * `RentalChargeFailureReimbursement`: A transaction type that represents when Amazon sends money to the seller to compensate for a failed charge. * `RentalLostItemReimbursement`: A transaction type that represents when Amazon sends money to the seller to compensate for a lost item.
|
|
1132
|
+
*/
|
|
1133
|
+
'RentalEventType'?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* The number of days that the buyer extended an already rented item. This value is only returned for `RentalCustomerPayment-Extension` and `RentalCustomerRefund-Extension` events.
|
|
1136
|
+
*/
|
|
1137
|
+
'ExtensionLength'?: number;
|
|
1138
|
+
/**
|
|
1139
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1140
|
+
*/
|
|
1141
|
+
'PostedDate'?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* A list of charge information on the seller\'s account.
|
|
1144
|
+
*/
|
|
1145
|
+
'RentalChargeList'?: Array<ChargeComponent>;
|
|
1146
|
+
/**
|
|
1147
|
+
* A list of fee component information.
|
|
1148
|
+
*/
|
|
1149
|
+
'RentalFeeList'?: Array<FeeComponent>;
|
|
1150
|
+
/**
|
|
1151
|
+
* The name of the marketplace.
|
|
1152
|
+
*/
|
|
1153
|
+
'MarketplaceName'?: string;
|
|
1154
|
+
'RentalInitialValue'?: Currency;
|
|
1155
|
+
'RentalReimbursement'?: Currency;
|
|
1156
|
+
/**
|
|
1157
|
+
* A list of information about taxes withheld.
|
|
1158
|
+
*/
|
|
1159
|
+
'RentalTaxWithheldList'?: Array<TaxWithheldComponent>;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Selling Partner API for Finances
|
|
1164
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1165
|
+
*
|
|
1166
|
+
* The version of the OpenAPI document: v0
|
|
1167
|
+
*
|
|
1168
|
+
*
|
|
1169
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1170
|
+
* https://openapi-generator.tech
|
|
1171
|
+
* Do not edit the class manually.
|
|
1172
|
+
*/
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* A retrocharge or retrocharge reversal.
|
|
1176
|
+
*/
|
|
1177
|
+
interface RetrochargeEvent {
|
|
1178
|
+
/**
|
|
1179
|
+
* The type of event. Possible values: * `Retrocharge` * `RetrochargeReversal`
|
|
1180
|
+
*/
|
|
1181
|
+
'RetrochargeEventType'?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* An Amazon-defined identifier for an order.
|
|
1184
|
+
*/
|
|
1185
|
+
'AmazonOrderId'?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1188
|
+
*/
|
|
1189
|
+
'PostedDate'?: string;
|
|
1190
|
+
'BaseTax'?: Currency;
|
|
1191
|
+
'ShippingTax'?: Currency;
|
|
1192
|
+
/**
|
|
1193
|
+
* The name of the marketplace where the retrocharge event occurred.
|
|
1194
|
+
*/
|
|
1195
|
+
'MarketplaceName'?: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* A list of information about taxes withheld.
|
|
1198
|
+
*/
|
|
1199
|
+
'RetrochargeTaxWithheldList'?: Array<TaxWithheldComponent>;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Selling Partner API for Finances
|
|
1204
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1205
|
+
*
|
|
1206
|
+
* The version of the OpenAPI document: v0
|
|
1207
|
+
*
|
|
1208
|
+
*
|
|
1209
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1210
|
+
* https://openapi-generator.tech
|
|
1211
|
+
* Do not edit the class manually.
|
|
1212
|
+
*/
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* An item from a SAFE-T claim reimbursement.
|
|
1216
|
+
*/
|
|
1217
|
+
interface SAFETReimbursementItem {
|
|
1218
|
+
/**
|
|
1219
|
+
* A list of charge information on the seller\'s account.
|
|
1220
|
+
*/
|
|
1221
|
+
'itemChargeList'?: Array<ChargeComponent>;
|
|
1222
|
+
/**
|
|
1223
|
+
* The description of the item as shown on the product detail page on the retail website.
|
|
1224
|
+
*/
|
|
1225
|
+
'productDescription'?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* The number of units of the item being reimbursed.
|
|
1228
|
+
*/
|
|
1229
|
+
'quantity'?: string;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* Selling Partner API for Finances
|
|
1234
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1235
|
+
*
|
|
1236
|
+
* The version of the OpenAPI document: v0
|
|
1237
|
+
*
|
|
1238
|
+
*
|
|
1239
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1240
|
+
* https://openapi-generator.tech
|
|
1241
|
+
* Do not edit the class manually.
|
|
1242
|
+
*/
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* A SAFE-T claim reimbursement on the seller\'s account.
|
|
1246
|
+
*/
|
|
1247
|
+
interface SAFETReimbursementEvent {
|
|
1248
|
+
/**
|
|
1249
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1250
|
+
*/
|
|
1251
|
+
'PostedDate'?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* A SAFE-T claim identifier.
|
|
1254
|
+
*/
|
|
1255
|
+
'SAFETClaimId'?: string;
|
|
1256
|
+
'ReimbursedAmount'?: Currency;
|
|
1257
|
+
/**
|
|
1258
|
+
* Indicates why the seller was reimbursed.
|
|
1259
|
+
*/
|
|
1260
|
+
'ReasonCode'?: string;
|
|
1261
|
+
/**
|
|
1262
|
+
* A list of `SAFETReimbursementItem`.
|
|
1263
|
+
*/
|
|
1264
|
+
'SAFETReimbursementItemList'?: Array<SAFETReimbursementItem>;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Selling Partner API for Finances
|
|
1269
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1270
|
+
*
|
|
1271
|
+
* The version of the OpenAPI document: v0
|
|
1272
|
+
*
|
|
1273
|
+
*
|
|
1274
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1275
|
+
* https://openapi-generator.tech
|
|
1276
|
+
* Do not edit the class manually.
|
|
1277
|
+
*/
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* An event linked to the payment of a fee related to the specified deal.
|
|
1281
|
+
*/
|
|
1282
|
+
interface SellerDealPaymentEvent {
|
|
1283
|
+
/**
|
|
1284
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1285
|
+
*/
|
|
1286
|
+
'postedDate'?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* The unique identifier of the deal.
|
|
1289
|
+
*/
|
|
1290
|
+
'dealId'?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* The internal description of the deal.
|
|
1293
|
+
*/
|
|
1294
|
+
'dealDescription'?: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* The type of event: `SellerDealComplete`.
|
|
1297
|
+
*/
|
|
1298
|
+
'eventType'?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* The type of fee: `RunLightningDealFee`.
|
|
1301
|
+
*/
|
|
1302
|
+
'feeType'?: string;
|
|
1303
|
+
'feeAmount'?: Currency;
|
|
1304
|
+
'taxAmount'?: Currency;
|
|
1305
|
+
'totalAmount'?: Currency;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* Selling Partner API for Finances
|
|
1310
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1311
|
+
*
|
|
1312
|
+
* The version of the OpenAPI document: v0
|
|
1313
|
+
*
|
|
1314
|
+
*
|
|
1315
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1316
|
+
* https://openapi-generator.tech
|
|
1317
|
+
* Do not edit the class manually.
|
|
1318
|
+
*/
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* A fee payment event for the Early Reviewer Program.
|
|
1322
|
+
*/
|
|
1323
|
+
interface SellerReviewEnrollmentPaymentEvent {
|
|
1324
|
+
/**
|
|
1325
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1326
|
+
*/
|
|
1327
|
+
'PostedDate'?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* An enrollment identifier.
|
|
1330
|
+
*/
|
|
1331
|
+
'EnrollmentId'?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* The Amazon Standard Identification Number (ASIN) of the item that was enrolled in the Early Reviewer Program.
|
|
1334
|
+
*/
|
|
1335
|
+
'ParentASIN'?: string;
|
|
1336
|
+
'FeeComponent'?: FeeComponent;
|
|
1337
|
+
'ChargeComponent'?: ChargeComponent;
|
|
1338
|
+
'TotalAmount'?: Currency;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Selling Partner API for Finances
|
|
1343
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1344
|
+
*
|
|
1345
|
+
* The version of the OpenAPI document: v0
|
|
1346
|
+
*
|
|
1347
|
+
*
|
|
1348
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1349
|
+
* https://openapi-generator.tech
|
|
1350
|
+
* Do not edit the class manually.
|
|
1351
|
+
*/
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* A service fee on the seller\'s account.
|
|
1355
|
+
*/
|
|
1356
|
+
interface ServiceFeeEvent {
|
|
1357
|
+
/**
|
|
1358
|
+
* An Amazon-defined identifier for an order.
|
|
1359
|
+
*/
|
|
1360
|
+
'AmazonOrderId'?: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* A short description of the service fee reason.
|
|
1363
|
+
*/
|
|
1364
|
+
'FeeReason'?: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* A list of fee component information.
|
|
1367
|
+
*/
|
|
1368
|
+
'FeeList'?: Array<FeeComponent>;
|
|
1369
|
+
/**
|
|
1370
|
+
* The seller SKU of the item. The seller SKU is qualified by the seller\'s seller ID, which is included with every call to the Selling Partner API.
|
|
1371
|
+
*/
|
|
1372
|
+
'SellerSKU'?: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
|
|
1375
|
+
*/
|
|
1376
|
+
'FnSKU'?: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* A short description of the service fee event.
|
|
1379
|
+
*/
|
|
1380
|
+
'FeeDescription'?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
1383
|
+
*/
|
|
1384
|
+
'ASIN'?: string;
|
|
1385
|
+
/**
|
|
1386
|
+
* The name of the store where the event occurred.
|
|
1387
|
+
*/
|
|
1388
|
+
'StoreName'?: string;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* Selling Partner API for Finances
|
|
1393
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1394
|
+
*
|
|
1395
|
+
* The version of the OpenAPI document: v0
|
|
1396
|
+
*
|
|
1397
|
+
*
|
|
1398
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1399
|
+
* https://openapi-generator.tech
|
|
1400
|
+
* Do not edit the class manually.
|
|
1401
|
+
*/
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* A promotion applied to an item.
|
|
1405
|
+
*/
|
|
1406
|
+
interface Promotion {
|
|
1407
|
+
/**
|
|
1408
|
+
* The type of promotion.
|
|
1409
|
+
*/
|
|
1410
|
+
'PromotionType'?: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* The seller-specified identifier for the promotion.
|
|
1413
|
+
*/
|
|
1414
|
+
'PromotionId'?: string;
|
|
1415
|
+
'PromotionAmount'?: Currency;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* Selling Partner API for Finances
|
|
1420
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1421
|
+
*
|
|
1422
|
+
* The version of the OpenAPI document: v0
|
|
1423
|
+
*
|
|
1424
|
+
*
|
|
1425
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1426
|
+
* https://openapi-generator.tech
|
|
1427
|
+
* Do not edit the class manually.
|
|
1428
|
+
*/
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* An item of a shipment, refund, guarantee claim, or chargeback.
|
|
1432
|
+
*/
|
|
1433
|
+
interface ShipmentItem {
|
|
1434
|
+
/**
|
|
1435
|
+
* The seller SKU of the item. The seller SKU is qualified by the seller\'s seller ID, which is included with every call to the Selling Partner API.
|
|
1436
|
+
*/
|
|
1437
|
+
'SellerSKU'?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* An Amazon-defined order item identifier.
|
|
1440
|
+
*/
|
|
1441
|
+
'OrderItemId'?: string;
|
|
1442
|
+
/**
|
|
1443
|
+
* An Amazon-defined order adjustment identifier defined for refunds, guarantee claims, and chargeback events.
|
|
1444
|
+
*/
|
|
1445
|
+
'OrderAdjustmentItemId'?: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* The number of items shipped.
|
|
1448
|
+
*/
|
|
1449
|
+
'QuantityShipped'?: number;
|
|
1450
|
+
/**
|
|
1451
|
+
* A list of charge information on the seller\'s account.
|
|
1452
|
+
*/
|
|
1453
|
+
'ItemChargeList'?: Array<ChargeComponent>;
|
|
1454
|
+
/**
|
|
1455
|
+
* A list of charge information on the seller\'s account.
|
|
1456
|
+
*/
|
|
1457
|
+
'ItemChargeAdjustmentList'?: Array<ChargeComponent>;
|
|
1458
|
+
/**
|
|
1459
|
+
* A list of fee component information.
|
|
1460
|
+
*/
|
|
1461
|
+
'ItemFeeList'?: Array<FeeComponent>;
|
|
1462
|
+
/**
|
|
1463
|
+
* A list of fee component information.
|
|
1464
|
+
*/
|
|
1465
|
+
'ItemFeeAdjustmentList'?: Array<FeeComponent>;
|
|
1466
|
+
/**
|
|
1467
|
+
* A list of information about taxes withheld.
|
|
1468
|
+
*/
|
|
1469
|
+
'ItemTaxWithheldList'?: Array<TaxWithheldComponent>;
|
|
1470
|
+
/**
|
|
1471
|
+
* A list of promotions.
|
|
1472
|
+
*/
|
|
1473
|
+
'PromotionList'?: Array<Promotion>;
|
|
1474
|
+
/**
|
|
1475
|
+
* A list of promotions.
|
|
1476
|
+
*/
|
|
1477
|
+
'PromotionAdjustmentList'?: Array<Promotion>;
|
|
1478
|
+
'CostOfPointsGranted'?: Currency;
|
|
1479
|
+
'CostOfPointsReturned'?: Currency;
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* Selling Partner API for Finances
|
|
1484
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1485
|
+
*
|
|
1486
|
+
* The version of the OpenAPI document: v0
|
|
1487
|
+
*
|
|
1488
|
+
*
|
|
1489
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1490
|
+
* https://openapi-generator.tech
|
|
1491
|
+
* Do not edit the class manually.
|
|
1492
|
+
*/
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* A shipment, refund, guarantee claim, or chargeback.
|
|
1496
|
+
*/
|
|
1497
|
+
interface ShipmentEvent {
|
|
1498
|
+
/**
|
|
1499
|
+
* An Amazon-defined identifier for an order.
|
|
1500
|
+
*/
|
|
1501
|
+
'AmazonOrderId'?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* A seller-defined identifier for an order.
|
|
1504
|
+
*/
|
|
1505
|
+
'SellerOrderId'?: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* The name of the marketplace where the event occurred.
|
|
1508
|
+
*/
|
|
1509
|
+
'MarketplaceName'?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* The name of the store where the event occurred.
|
|
1512
|
+
*/
|
|
1513
|
+
'StoreName'?: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* A list of charge information on the seller\'s account.
|
|
1516
|
+
*/
|
|
1517
|
+
'OrderChargeList'?: Array<ChargeComponent>;
|
|
1518
|
+
/**
|
|
1519
|
+
* A list of charge information on the seller\'s account.
|
|
1520
|
+
*/
|
|
1521
|
+
'OrderChargeAdjustmentList'?: Array<ChargeComponent>;
|
|
1522
|
+
/**
|
|
1523
|
+
* A list of fee component information.
|
|
1524
|
+
*/
|
|
1525
|
+
'ShipmentFeeList'?: Array<FeeComponent>;
|
|
1526
|
+
/**
|
|
1527
|
+
* A list of fee component information.
|
|
1528
|
+
*/
|
|
1529
|
+
'ShipmentFeeAdjustmentList'?: Array<FeeComponent>;
|
|
1530
|
+
/**
|
|
1531
|
+
* A list of fee component information.
|
|
1532
|
+
*/
|
|
1533
|
+
'OrderFeeList'?: Array<FeeComponent>;
|
|
1534
|
+
/**
|
|
1535
|
+
* A list of fee component information.
|
|
1536
|
+
*/
|
|
1537
|
+
'OrderFeeAdjustmentList'?: Array<FeeComponent>;
|
|
1538
|
+
/**
|
|
1539
|
+
* A list of direct payment information.
|
|
1540
|
+
*/
|
|
1541
|
+
'DirectPaymentList'?: Array<DirectPayment>;
|
|
1542
|
+
/**
|
|
1543
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1544
|
+
*/
|
|
1545
|
+
'PostedDate'?: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* A list of shipment items.
|
|
1548
|
+
*/
|
|
1549
|
+
'ShipmentItemList'?: Array<ShipmentItem>;
|
|
1550
|
+
/**
|
|
1551
|
+
* A list of shipment items.
|
|
1552
|
+
*/
|
|
1553
|
+
'ShipmentItemAdjustmentList'?: Array<ShipmentItem>;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* Selling Partner API for Finances
|
|
1558
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1559
|
+
*
|
|
1560
|
+
* The version of the OpenAPI document: v0
|
|
1561
|
+
*
|
|
1562
|
+
*
|
|
1563
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1564
|
+
* https://openapi-generator.tech
|
|
1565
|
+
* Do not edit the class manually.
|
|
1566
|
+
*/
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* A credit given to a solution provider.
|
|
1570
|
+
*/
|
|
1571
|
+
interface SolutionProviderCreditEvent {
|
|
1572
|
+
/**
|
|
1573
|
+
* The transaction type.
|
|
1574
|
+
*/
|
|
1575
|
+
'ProviderTransactionType'?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* A seller-defined identifier for an order.
|
|
1578
|
+
*/
|
|
1579
|
+
'SellerOrderId'?: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* The identifier of the marketplace where the order was placed.
|
|
1582
|
+
*/
|
|
1583
|
+
'MarketplaceId'?: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* The two-letter country code of the country associated with the marketplace where the order was placed.
|
|
1586
|
+
*/
|
|
1587
|
+
'MarketplaceCountryCode'?: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* The Amazon-defined identifier of the seller.
|
|
1590
|
+
*/
|
|
1591
|
+
'SellerId'?: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* The store name where the payment event occurred.
|
|
1594
|
+
*/
|
|
1595
|
+
'SellerStoreName'?: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* The Amazon-defined identifier of the solution provider.
|
|
1598
|
+
*/
|
|
1599
|
+
'ProviderId'?: string;
|
|
1600
|
+
/**
|
|
1601
|
+
* The store name where the payment event occurred.
|
|
1602
|
+
*/
|
|
1603
|
+
'ProviderStoreName'?: string;
|
|
1604
|
+
'TransactionAmount'?: Currency;
|
|
1605
|
+
/**
|
|
1606
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1607
|
+
*/
|
|
1608
|
+
'TransactionCreationDate'?: string;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* Selling Partner API for Finances
|
|
1613
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1614
|
+
*
|
|
1615
|
+
* The version of the OpenAPI document: v0
|
|
1616
|
+
*
|
|
1617
|
+
*
|
|
1618
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1619
|
+
* https://openapi-generator.tech
|
|
1620
|
+
* Do not edit the class manually.
|
|
1621
|
+
*/
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* An event related to a Tax-Deducted-at-Source (TDS) reimbursement.
|
|
1625
|
+
*/
|
|
1626
|
+
interface TDSReimbursementEvent {
|
|
1627
|
+
/**
|
|
1628
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1629
|
+
*/
|
|
1630
|
+
'PostedDate'?: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* The Tax-Deducted-at-Source (TDS) identifier.
|
|
1633
|
+
*/
|
|
1634
|
+
'TDSOrderId'?: string;
|
|
1635
|
+
'ReimbursedAmount'?: Currency;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* Selling Partner API for Finances
|
|
1640
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1641
|
+
*
|
|
1642
|
+
* The version of the OpenAPI document: v0
|
|
1643
|
+
*
|
|
1644
|
+
*
|
|
1645
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1646
|
+
* https://openapi-generator.tech
|
|
1647
|
+
* Do not edit the class manually.
|
|
1648
|
+
*/
|
|
1649
|
+
/**
|
|
1650
|
+
* The period during which tax withholding on a seller\'s account is calculated.
|
|
1651
|
+
*/
|
|
1652
|
+
interface TaxWithholdingPeriod {
|
|
1653
|
+
/**
|
|
1654
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1655
|
+
*/
|
|
1656
|
+
'StartDate'?: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1659
|
+
*/
|
|
1660
|
+
'EndDate'?: string;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* Selling Partner API for Finances
|
|
1665
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1666
|
+
*
|
|
1667
|
+
* The version of the OpenAPI document: v0
|
|
1668
|
+
*
|
|
1669
|
+
*
|
|
1670
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1671
|
+
* https://openapi-generator.tech
|
|
1672
|
+
* Do not edit the class manually.
|
|
1673
|
+
*/
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* A tax withholding event on a seller\'s account.
|
|
1677
|
+
*/
|
|
1678
|
+
interface TaxWithholdingEvent {
|
|
1679
|
+
/**
|
|
1680
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1681
|
+
*/
|
|
1682
|
+
'PostedDate'?: string;
|
|
1683
|
+
'BaseAmount'?: Currency;
|
|
1684
|
+
'WithheldAmount'?: Currency;
|
|
1685
|
+
'TaxWithholdingPeriod'?: TaxWithholdingPeriod;
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* Selling Partner API for Finances
|
|
1690
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1691
|
+
*
|
|
1692
|
+
* The version of the OpenAPI document: v0
|
|
1693
|
+
*
|
|
1694
|
+
*
|
|
1695
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1696
|
+
* https://openapi-generator.tech
|
|
1697
|
+
* Do not edit the class manually.
|
|
1698
|
+
*/
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* An event related to a trial shipment.
|
|
1702
|
+
*/
|
|
1703
|
+
interface TrialShipmentEvent {
|
|
1704
|
+
/**
|
|
1705
|
+
* An Amazon-defined identifier for an order.
|
|
1706
|
+
*/
|
|
1707
|
+
'AmazonOrderId'?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* The identifier of the financial event group.
|
|
1710
|
+
*/
|
|
1711
|
+
'FinancialEventGroupId'?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1714
|
+
*/
|
|
1715
|
+
'PostedDate'?: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* The seller SKU of the item. The seller SKU is qualified by the seller\'s seller ID, which is included with every call to the Selling Partner API.
|
|
1718
|
+
*/
|
|
1719
|
+
'SKU'?: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* A list of fee component information.
|
|
1722
|
+
*/
|
|
1723
|
+
'FeeList'?: Array<FeeComponent>;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* Selling Partner API for Finances
|
|
1728
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1729
|
+
*
|
|
1730
|
+
* The version of the OpenAPI document: v0
|
|
1731
|
+
*
|
|
1732
|
+
*
|
|
1733
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1734
|
+
* https://openapi-generator.tech
|
|
1735
|
+
* Do not edit the class manually.
|
|
1736
|
+
*/
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* An event related to a value added service charge.
|
|
1740
|
+
*/
|
|
1741
|
+
interface ValueAddedServiceChargeEvent {
|
|
1742
|
+
/**
|
|
1743
|
+
* The transaction type. For example, \'Other Support Service fees\'
|
|
1744
|
+
*/
|
|
1745
|
+
'TransactionType'?: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
1748
|
+
*/
|
|
1749
|
+
'PostedDate'?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* A short description of the service charge event.
|
|
1752
|
+
*/
|
|
1753
|
+
'Description'?: string;
|
|
1754
|
+
'TransactionAmount'?: Currency;
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* Selling Partner API for Finances
|
|
1759
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1760
|
+
*
|
|
1761
|
+
* The version of the OpenAPI document: v0
|
|
1762
|
+
*
|
|
1763
|
+
*
|
|
1764
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1765
|
+
* https://openapi-generator.tech
|
|
1766
|
+
* Do not edit the class manually.
|
|
1767
|
+
*/
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* All the information that is related to a financial event.
|
|
1771
|
+
*/
|
|
1772
|
+
interface FinancialEvents {
|
|
1773
|
+
/**
|
|
1774
|
+
* A list of shipment event information.
|
|
1775
|
+
*/
|
|
1776
|
+
'ShipmentEventList'?: Array<ShipmentEvent>;
|
|
1777
|
+
/**
|
|
1778
|
+
* A list of `ShipmentEvent` items.
|
|
1779
|
+
*/
|
|
1780
|
+
'ShipmentSettleEventList'?: Array<ShipmentEvent>;
|
|
1781
|
+
/**
|
|
1782
|
+
* A list of shipment event information.
|
|
1783
|
+
*/
|
|
1784
|
+
'RefundEventList'?: Array<ShipmentEvent>;
|
|
1785
|
+
/**
|
|
1786
|
+
* A list of shipment event information.
|
|
1787
|
+
*/
|
|
1788
|
+
'GuaranteeClaimEventList'?: Array<ShipmentEvent>;
|
|
1789
|
+
/**
|
|
1790
|
+
* A list of EBT refund reimbursement events.
|
|
1791
|
+
*/
|
|
1792
|
+
'EBTRefundReimbursementOnlyEventList'?: Array<EBTRefundReimbursementOnlyEvent>;
|
|
1793
|
+
/**
|
|
1794
|
+
* A list of shipment event information.
|
|
1795
|
+
*/
|
|
1796
|
+
'ChargebackEventList'?: Array<ShipmentEvent>;
|
|
1797
|
+
/**
|
|
1798
|
+
* A list of events related to the seller\'s Pay with Amazon account.
|
|
1799
|
+
*/
|
|
1800
|
+
'PayWithAmazonEventList'?: Array<PayWithAmazonEvent>;
|
|
1801
|
+
/**
|
|
1802
|
+
* A list of `SolutionProviderCreditEvent`.
|
|
1803
|
+
*/
|
|
1804
|
+
'ServiceProviderCreditEventList'?: Array<SolutionProviderCreditEvent>;
|
|
1805
|
+
/**
|
|
1806
|
+
* A list of information about `Retrocharge` or `RetrochargeReversal` events.
|
|
1807
|
+
*/
|
|
1808
|
+
'RetrochargeEventList'?: Array<RetrochargeEvent>;
|
|
1809
|
+
/**
|
|
1810
|
+
* A list of rental transaction event information.
|
|
1811
|
+
*/
|
|
1812
|
+
'RentalTransactionEventList'?: Array<RentalTransactionEvent>;
|
|
1813
|
+
/**
|
|
1814
|
+
* A list of sponsored products payment events.
|
|
1815
|
+
*/
|
|
1816
|
+
'ProductAdsPaymentEventList'?: Array<ProductAdsPaymentEvent>;
|
|
1817
|
+
/**
|
|
1818
|
+
* A list of information about service fee events.
|
|
1819
|
+
*/
|
|
1820
|
+
'ServiceFeeEventList'?: Array<ServiceFeeEvent>;
|
|
1821
|
+
/**
|
|
1822
|
+
* A list of payment events for deal-related fees.
|
|
1823
|
+
*/
|
|
1824
|
+
'SellerDealPaymentEventList'?: Array<SellerDealPaymentEvent>;
|
|
1825
|
+
/**
|
|
1826
|
+
* A list of debt recovery event information.
|
|
1827
|
+
*/
|
|
1828
|
+
'DebtRecoveryEventList'?: Array<DebtRecoveryEvent>;
|
|
1829
|
+
/**
|
|
1830
|
+
* A list of loan servicing events.
|
|
1831
|
+
*/
|
|
1832
|
+
'LoanServicingEventList'?: Array<LoanServicingEvent>;
|
|
1833
|
+
/**
|
|
1834
|
+
* A list of adjustment event information for the seller\'s account.
|
|
1835
|
+
*/
|
|
1836
|
+
'AdjustmentEventList'?: Array<AdjustmentEvent>;
|
|
1837
|
+
/**
|
|
1838
|
+
* A list of `SAFETReimbursementEvent`.
|
|
1839
|
+
*/
|
|
1840
|
+
'SAFETReimbursementEventList'?: Array<SAFETReimbursementEvent>;
|
|
1841
|
+
/**
|
|
1842
|
+
* A list of information about fee events for the Early Reviewer Program.
|
|
1843
|
+
*/
|
|
1844
|
+
'SellerReviewEnrollmentPaymentEventList'?: Array<SellerReviewEnrollmentPaymentEvent>;
|
|
1845
|
+
/**
|
|
1846
|
+
* A list of FBA inventory liquidation payment events.
|
|
1847
|
+
*/
|
|
1848
|
+
'FBALiquidationEventList'?: Array<FBALiquidationEvent>;
|
|
1849
|
+
/**
|
|
1850
|
+
* A list of coupon payment event information.
|
|
1851
|
+
*/
|
|
1852
|
+
'CouponPaymentEventList'?: Array<CouponPaymentEvent>;
|
|
1853
|
+
/**
|
|
1854
|
+
* A list of fee events related to Amazon Imaging services.
|
|
1855
|
+
*/
|
|
1856
|
+
'ImagingServicesFeeEventList'?: Array<ImagingServicesFeeEvent>;
|
|
1857
|
+
/**
|
|
1858
|
+
* A list of network commingling transaction events.
|
|
1859
|
+
*/
|
|
1860
|
+
'NetworkComminglingTransactionEventList'?: Array<NetworkComminglingTransactionEvent>;
|
|
1861
|
+
/**
|
|
1862
|
+
* A list of expense information related to an affordability promotion.
|
|
1863
|
+
*/
|
|
1864
|
+
'AffordabilityExpenseEventList'?: Array<AffordabilityExpenseEvent>;
|
|
1865
|
+
/**
|
|
1866
|
+
* A list of expense information related to an affordability promotion.
|
|
1867
|
+
*/
|
|
1868
|
+
'AffordabilityExpenseReversalEventList'?: Array<AffordabilityExpenseEvent>;
|
|
1869
|
+
/**
|
|
1870
|
+
* A list of removal shipment event information.
|
|
1871
|
+
*/
|
|
1872
|
+
'RemovalShipmentEventList'?: Array<RemovalShipmentEvent>;
|
|
1873
|
+
/**
|
|
1874
|
+
* A comma-delimited list of `RemovalShipmentAdjustment` details for FBA inventory.
|
|
1875
|
+
*/
|
|
1876
|
+
'RemovalShipmentAdjustmentEventList'?: Array<RemovalShipmentAdjustmentEvent>;
|
|
1877
|
+
/**
|
|
1878
|
+
* A list of information about trial shipment financial events.
|
|
1879
|
+
*/
|
|
1880
|
+
'TrialShipmentEventList'?: Array<TrialShipmentEvent>;
|
|
1881
|
+
/**
|
|
1882
|
+
* A list of `TDSReimbursementEvent` items.
|
|
1883
|
+
*/
|
|
1884
|
+
'TDSReimbursementEventList'?: Array<TDSReimbursementEvent>;
|
|
1885
|
+
/**
|
|
1886
|
+
* A list of `AdhocDisbursement` events.
|
|
1887
|
+
*/
|
|
1888
|
+
'AdhocDisbursementEventList'?: Array<AdhocDisbursementEvent>;
|
|
1889
|
+
/**
|
|
1890
|
+
* A list of tax withholding events.
|
|
1891
|
+
*/
|
|
1892
|
+
'TaxWithholdingEventList'?: Array<TaxWithholdingEvent>;
|
|
1893
|
+
/**
|
|
1894
|
+
* A list of charge refund events.
|
|
1895
|
+
*/
|
|
1896
|
+
'ChargeRefundEventList'?: Array<ChargeRefundEvent>;
|
|
1897
|
+
/**
|
|
1898
|
+
* A list of `FailedAdhocDisbursementEvent`.
|
|
1899
|
+
*/
|
|
1900
|
+
'FailedAdhocDisbursementEventList'?: Array<FailedAdhocDisbursementEvent>;
|
|
1901
|
+
/**
|
|
1902
|
+
* A list of `ValueAddedServiceCharge` events.
|
|
1903
|
+
*/
|
|
1904
|
+
'ValueAddedServiceChargeEventList'?: Array<ValueAddedServiceChargeEvent>;
|
|
1905
|
+
/**
|
|
1906
|
+
* A list of `CapacityReservationBillingEvent` events.
|
|
1907
|
+
*/
|
|
1908
|
+
'CapacityReservationBillingEventList'?: Array<CapacityReservationBillingEvent>;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* Selling Partner API for Finances
|
|
1913
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1914
|
+
*
|
|
1915
|
+
* The version of the OpenAPI document: v0
|
|
1916
|
+
*
|
|
1917
|
+
*
|
|
1918
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1919
|
+
* https://openapi-generator.tech
|
|
1920
|
+
* Do not edit the class manually.
|
|
1921
|
+
*/
|
|
1922
|
+
|
|
1923
|
+
/**
|
|
1924
|
+
* The payload for the `listFinancialEventGroups` operation.
|
|
1925
|
+
*/
|
|
1926
|
+
interface ListFinancialEventGroupsPayload {
|
|
1927
|
+
/**
|
|
1928
|
+
* When present and not empty, pass this string token in the next request to return the next response page.
|
|
1929
|
+
*/
|
|
1930
|
+
'NextToken'?: string;
|
|
1931
|
+
/**
|
|
1932
|
+
* A list of financial event group information.
|
|
1933
|
+
*/
|
|
1934
|
+
'FinancialEventGroupList'?: Array<FinancialEventGroup>;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* Selling Partner API for Finances
|
|
1939
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1940
|
+
*
|
|
1941
|
+
* The version of the OpenAPI document: v0
|
|
1942
|
+
*
|
|
1943
|
+
*
|
|
1944
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1945
|
+
* https://openapi-generator.tech
|
|
1946
|
+
* Do not edit the class manually.
|
|
1947
|
+
*/
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* The response schema for the `listFinancialEventGroups` operation.
|
|
1951
|
+
*/
|
|
1952
|
+
interface ListFinancialEventGroupsResponse {
|
|
1953
|
+
'payload'?: ListFinancialEventGroupsPayload;
|
|
1954
|
+
/**
|
|
1955
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
1956
|
+
*/
|
|
1957
|
+
'errors'?: Array<Error>;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* Selling Partner API for Finances
|
|
1962
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1963
|
+
*
|
|
1964
|
+
* The version of the OpenAPI document: v0
|
|
1965
|
+
*
|
|
1966
|
+
*
|
|
1967
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1968
|
+
* https://openapi-generator.tech
|
|
1969
|
+
* Do not edit the class manually.
|
|
1970
|
+
*/
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* The payload for the `listFinancialEvents` operation.
|
|
1974
|
+
*/
|
|
1975
|
+
interface ListFinancialEventsPayload {
|
|
1976
|
+
/**
|
|
1977
|
+
* When present and not empty, pass this string token in the next request to return the next response page.
|
|
1978
|
+
*/
|
|
1979
|
+
'NextToken'?: string;
|
|
1980
|
+
'FinancialEvents'?: FinancialEvents;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Selling Partner API for Finances
|
|
1985
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
1986
|
+
*
|
|
1987
|
+
* The version of the OpenAPI document: v0
|
|
1988
|
+
*
|
|
1989
|
+
*
|
|
1990
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1991
|
+
* https://openapi-generator.tech
|
|
1992
|
+
* Do not edit the class manually.
|
|
1993
|
+
*/
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* The response schema for the `listFinancialEvents` operation.
|
|
1997
|
+
*/
|
|
1998
|
+
interface ListFinancialEventsResponse {
|
|
1999
|
+
'payload'?: ListFinancialEventsPayload;
|
|
2000
|
+
/**
|
|
2001
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
2002
|
+
*/
|
|
2003
|
+
'errors'?: Array<Error>;
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* Selling Partner API for Finances
|
|
2008
|
+
* The Selling Partner API for Finances provides financial information that is relevant to a seller\'s business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
|
|
2009
|
+
*
|
|
2010
|
+
* The version of the OpenAPI document: v0
|
|
2011
|
+
*
|
|
2012
|
+
*
|
|
2013
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2014
|
+
* https://openapi-generator.tech
|
|
2015
|
+
* Do not edit the class manually.
|
|
2016
|
+
*/
|
|
2017
|
+
/**
|
|
2018
|
+
* Error response returned when the request is unsuccessful.
|
|
2019
|
+
*/
|
|
2020
|
+
interface ModelError {
|
|
2021
|
+
/**
|
|
2022
|
+
* An error code that identifies the type of error that occurred.
|
|
2023
|
+
*/
|
|
2024
|
+
'code': string;
|
|
2025
|
+
/**
|
|
2026
|
+
* A message that describes the error condition in a human-readable form.
|
|
2027
|
+
*/
|
|
2028
|
+
'message': string;
|
|
2029
|
+
/**
|
|
2030
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
2031
|
+
*/
|
|
2032
|
+
'details'?: string;
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* FinancesApi - axios parameter creator
|
|
2037
|
+
*/
|
|
2038
|
+
declare const FinancesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2039
|
+
/**
|
|
2040
|
+
* Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2041
|
+
* @param {number} [maxResultsPerPage] The maximum number of results per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2042
|
+
* @param {string} [financialEventGroupStartedBefore] A date that selects financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be after `FinancialEventGroupStartedAfter` and more than two minutes before the time of request. If `FinancialEventGroupStartedAfter` and `FinancialEventGroupStartedBefore` are more than 180 days apart, no financial event groups are returned.
|
|
2043
|
+
* @param {string} [financialEventGroupStartedAfter] A date that selects financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be more than two minutes before you submit the request.
|
|
2044
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2045
|
+
* @param {*} [options] Override http request option.
|
|
2046
|
+
* @throws {RequiredError}
|
|
2047
|
+
*/
|
|
2048
|
+
listFinancialEventGroups: (maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2049
|
+
/**
|
|
2050
|
+
* Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2051
|
+
* @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2052
|
+
* @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
2053
|
+
* @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
2054
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2055
|
+
* @param {*} [options] Override http request option.
|
|
2056
|
+
* @throws {RequiredError}
|
|
2057
|
+
*/
|
|
2058
|
+
listFinancialEvents: (maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2059
|
+
/**
|
|
2060
|
+
* Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2061
|
+
* @param {string} eventGroupId The identifier of the financial event group to which the events belong.
|
|
2062
|
+
* @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2063
|
+
* @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
2064
|
+
* @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
2065
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2066
|
+
* @param {*} [options] Override http request option.
|
|
2067
|
+
* @throws {RequiredError}
|
|
2068
|
+
*/
|
|
2069
|
+
listFinancialEventsByGroupId: (eventGroupId: string, maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2070
|
+
/**
|
|
2071
|
+
* Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2072
|
+
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
2073
|
+
* @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2074
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2075
|
+
* @param {*} [options] Override http request option.
|
|
2076
|
+
* @throws {RequiredError}
|
|
2077
|
+
*/
|
|
2078
|
+
listFinancialEventsByOrderId: (orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2079
|
+
};
|
|
2080
|
+
/**
|
|
2081
|
+
* FinancesApi - functional programming interface
|
|
2082
|
+
*/
|
|
2083
|
+
declare const FinancesApiFp: (configuration?: Configuration) => {
|
|
2084
|
+
/**
|
|
2085
|
+
* Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2086
|
+
* @param {number} [maxResultsPerPage] The maximum number of results per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2087
|
+
* @param {string} [financialEventGroupStartedBefore] A date that selects financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be after `FinancialEventGroupStartedAfter` and more than two minutes before the time of request. If `FinancialEventGroupStartedAfter` and `FinancialEventGroupStartedBefore` are more than 180 days apart, no financial event groups are returned.
|
|
2088
|
+
* @param {string} [financialEventGroupStartedAfter] A date that selects financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be more than two minutes before you submit the request.
|
|
2089
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2090
|
+
* @param {*} [options] Override http request option.
|
|
2091
|
+
* @throws {RequiredError}
|
|
2092
|
+
*/
|
|
2093
|
+
listFinancialEventGroups(maxResultsPerPage?: number, financialEventGroupStartedBefore?: string, financialEventGroupStartedAfter?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventGroupsResponse>>;
|
|
2094
|
+
/**
|
|
2095
|
+
* Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2096
|
+
* @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2097
|
+
* @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
2098
|
+
* @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
2099
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2100
|
+
* @param {*} [options] Override http request option.
|
|
2101
|
+
* @throws {RequiredError}
|
|
2102
|
+
*/
|
|
2103
|
+
listFinancialEvents(maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
|
|
2104
|
+
/**
|
|
2105
|
+
* Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2106
|
+
* @param {string} eventGroupId The identifier of the financial event group to which the events belong.
|
|
2107
|
+
* @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2108
|
+
* @param {string} [postedAfter] The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
2109
|
+
* @param {string} [postedBefore] The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
2110
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2111
|
+
* @param {*} [options] Override http request option.
|
|
2112
|
+
* @throws {RequiredError}
|
|
2113
|
+
*/
|
|
2114
|
+
listFinancialEventsByGroupId(eventGroupId: string, maxResultsPerPage?: number, postedAfter?: string, postedBefore?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
|
|
2115
|
+
/**
|
|
2116
|
+
* Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2117
|
+
* @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
|
|
2118
|
+
* @param {number} [maxResultsPerPage] The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2119
|
+
* @param {string} [nextToken] The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2120
|
+
* @param {*} [options] Override http request option.
|
|
2121
|
+
* @throws {RequiredError}
|
|
2122
|
+
*/
|
|
2123
|
+
listFinancialEventsByOrderId(orderId: string, maxResultsPerPage?: number, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialEventsResponse>>;
|
|
2124
|
+
};
|
|
2125
|
+
/**
|
|
2126
|
+
* FinancesApi - factory interface
|
|
2127
|
+
*/
|
|
2128
|
+
declare const FinancesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2129
|
+
/**
|
|
2130
|
+
* Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2131
|
+
* @param {FinancesApiListFinancialEventGroupsRequest} requestParameters Request parameters.
|
|
2132
|
+
* @param {*} [options] Override http request option.
|
|
2133
|
+
* @throws {RequiredError}
|
|
2134
|
+
*/
|
|
2135
|
+
listFinancialEventGroups(requestParameters?: FinancesApiListFinancialEventGroupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFinancialEventGroupsResponse>;
|
|
2136
|
+
/**
|
|
2137
|
+
* Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2138
|
+
* @param {FinancesApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
2139
|
+
* @param {*} [options] Override http request option.
|
|
2140
|
+
* @throws {RequiredError}
|
|
2141
|
+
*/
|
|
2142
|
+
listFinancialEvents(requestParameters?: FinancesApiListFinancialEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFinancialEventsResponse>;
|
|
2143
|
+
/**
|
|
2144
|
+
* Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2145
|
+
* @param {FinancesApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
|
|
2146
|
+
* @param {*} [options] Override http request option.
|
|
2147
|
+
* @throws {RequiredError}
|
|
2148
|
+
*/
|
|
2149
|
+
listFinancialEventsByGroupId(requestParameters: FinancesApiListFinancialEventsByGroupIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFinancialEventsResponse>;
|
|
2150
|
+
/**
|
|
2151
|
+
* Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2152
|
+
* @param {FinancesApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
|
|
2153
|
+
* @param {*} [options] Override http request option.
|
|
2154
|
+
* @throws {RequiredError}
|
|
2155
|
+
*/
|
|
2156
|
+
listFinancialEventsByOrderId(requestParameters: FinancesApiListFinancialEventsByOrderIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFinancialEventsResponse>;
|
|
2157
|
+
};
|
|
2158
|
+
/**
|
|
2159
|
+
* Request parameters for listFinancialEventGroups operation in FinancesApi.
|
|
2160
|
+
*/
|
|
2161
|
+
interface FinancesApiListFinancialEventGroupsRequest {
|
|
2162
|
+
/**
|
|
2163
|
+
* The maximum number of results per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2164
|
+
*/
|
|
2165
|
+
readonly maxResultsPerPage?: number;
|
|
2166
|
+
/**
|
|
2167
|
+
* A date that selects financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be after `FinancialEventGroupStartedAfter` and more than two minutes before the time of request. If `FinancialEventGroupStartedAfter` and `FinancialEventGroupStartedBefore` are more than 180 days apart, no financial event groups are returned.
|
|
2168
|
+
*/
|
|
2169
|
+
readonly financialEventGroupStartedBefore?: string;
|
|
2170
|
+
/**
|
|
2171
|
+
* A date that selects financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be more than two minutes before you submit the request.
|
|
2172
|
+
*/
|
|
2173
|
+
readonly financialEventGroupStartedAfter?: string;
|
|
2174
|
+
/**
|
|
2175
|
+
* The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2176
|
+
*/
|
|
2177
|
+
readonly nextToken?: string;
|
|
2178
|
+
}
|
|
2179
|
+
/**
|
|
2180
|
+
* Request parameters for listFinancialEvents operation in FinancesApi.
|
|
2181
|
+
*/
|
|
2182
|
+
interface FinancesApiListFinancialEventsRequest {
|
|
2183
|
+
/**
|
|
2184
|
+
* The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2185
|
+
*/
|
|
2186
|
+
readonly maxResultsPerPage?: number;
|
|
2187
|
+
/**
|
|
2188
|
+
* The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
2189
|
+
*/
|
|
2190
|
+
readonly postedAfter?: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
2193
|
+
*/
|
|
2194
|
+
readonly postedBefore?: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2197
|
+
*/
|
|
2198
|
+
readonly nextToken?: string;
|
|
2199
|
+
}
|
|
2200
|
+
/**
|
|
2201
|
+
* Request parameters for listFinancialEventsByGroupId operation in FinancesApi.
|
|
2202
|
+
*/
|
|
2203
|
+
interface FinancesApiListFinancialEventsByGroupIdRequest {
|
|
2204
|
+
/**
|
|
2205
|
+
* The identifier of the financial event group to which the events belong.
|
|
2206
|
+
*/
|
|
2207
|
+
readonly eventGroupId: string;
|
|
2208
|
+
/**
|
|
2209
|
+
* The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2210
|
+
*/
|
|
2211
|
+
readonly maxResultsPerPage?: number;
|
|
2212
|
+
/**
|
|
2213
|
+
* The response includes financial events posted after (or on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be more than two minutes before the time of the request.
|
|
2214
|
+
*/
|
|
2215
|
+
readonly postedAfter?: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* The response includes financial events posted before (but not on) this date. This date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The date-time must be later than `PostedAfter` and more than two minutes before the request was submitted. If `PostedAfter` and `PostedBefore` are more than 180 days apart, the response is empty. If you include the `PostedBefore` parameter in your request, you must also specify the `PostedAfter` parameter. **Default:** Two minutes before the time of the request.
|
|
2218
|
+
*/
|
|
2219
|
+
readonly postedBefore?: string;
|
|
2220
|
+
/**
|
|
2221
|
+
* The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2222
|
+
*/
|
|
2223
|
+
readonly nextToken?: string;
|
|
2224
|
+
}
|
|
2225
|
+
/**
|
|
2226
|
+
* Request parameters for listFinancialEventsByOrderId operation in FinancesApi.
|
|
2227
|
+
*/
|
|
2228
|
+
interface FinancesApiListFinancialEventsByOrderIdRequest {
|
|
2229
|
+
/**
|
|
2230
|
+
* An Amazon-defined order identifier, in 3-7-7 format.
|
|
2231
|
+
*/
|
|
2232
|
+
readonly orderId: string;
|
|
2233
|
+
/**
|
|
2234
|
+
* The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the response is `InvalidInput`.
|
|
2235
|
+
*/
|
|
2236
|
+
readonly maxResultsPerPage?: number;
|
|
2237
|
+
/**
|
|
2238
|
+
* The response includes `nextToken` when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
|
|
2239
|
+
*/
|
|
2240
|
+
readonly nextToken?: string;
|
|
2241
|
+
}
|
|
2242
|
+
/**
|
|
2243
|
+
* FinancesApi - object-oriented interface
|
|
2244
|
+
*/
|
|
2245
|
+
declare class FinancesApi extends BaseAPI {
|
|
2246
|
+
/**
|
|
2247
|
+
* Returns financial event groups for a given date range. Orders from the last 48 hours might not be included in financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2248
|
+
* @param {FinancesApiListFinancialEventGroupsRequest} requestParameters Request parameters.
|
|
2249
|
+
* @param {*} [options] Override http request option.
|
|
2250
|
+
* @throws {RequiredError}
|
|
2251
|
+
*/
|
|
2252
|
+
listFinancialEventGroups(requestParameters?: FinancesApiListFinancialEventGroupsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListFinancialEventGroupsResponse, any, {}>>;
|
|
2253
|
+
/**
|
|
2254
|
+
* Returns financial events for the specified data range. Orders from the last 48 hours might not be included in financial events. **Note:** in `ListFinancialEvents`, deferred events don\'t show up in responses until they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2255
|
+
* @param {FinancesApiListFinancialEventsRequest} requestParameters Request parameters.
|
|
2256
|
+
* @param {*} [options] Override http request option.
|
|
2257
|
+
* @throws {RequiredError}
|
|
2258
|
+
*/
|
|
2259
|
+
listFinancialEvents(requestParameters?: FinancesApiListFinancialEventsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListFinancialEventsResponse, any, {}>>;
|
|
2260
|
+
/**
|
|
2261
|
+
* Returns all financial events for the specified financial event group. Orders from the last 48 hours might not be included in financial events. **Note:** This operation only retrieves a group\'s data for the past two years. A request for data spanning more than two years produces an empty response. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2262
|
+
* @param {FinancesApiListFinancialEventsByGroupIdRequest} requestParameters Request parameters.
|
|
2263
|
+
* @param {*} [options] Override http request option.
|
|
2264
|
+
* @throws {RequiredError}
|
|
2265
|
+
*/
|
|
2266
|
+
listFinancialEventsByGroupId(requestParameters: FinancesApiListFinancialEventsByGroupIdRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListFinancialEventsResponse, any, {}>>;
|
|
2267
|
+
/**
|
|
2268
|
+
* Returns all financial events for the specified order. Orders from the last 48 hours might not be included in financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput can have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
|
|
2269
|
+
* @param {FinancesApiListFinancialEventsByOrderIdRequest} requestParameters Request parameters.
|
|
2270
|
+
* @param {*} [options] Override http request option.
|
|
2271
|
+
* @throws {RequiredError}
|
|
2272
|
+
*/
|
|
2273
|
+
listFinancialEventsByOrderId(requestParameters: FinancesApiListFinancialEventsByOrderIdRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListFinancialEventsResponse, any, {}>>;
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
declare const clientRateLimits: RateLimit[];
|
|
2277
|
+
declare class FinancesApiClient extends FinancesApi {
|
|
2278
|
+
constructor(configuration: ClientConfiguration);
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
export { type AdhocDisbursementEvent, type AdjustmentEvent, type AdjustmentItem, type AffordabilityExpenseEvent, type CapacityReservationBillingEvent, type ChargeComponent, type ChargeInstrument, type ChargeRefundEvent, type ChargeRefundTransaction, type CouponPaymentEvent, type Currency, type DebtRecoveryEvent, type DebtRecoveryItem, type DirectPayment, type EBTRefundReimbursementOnlyEvent, type FBALiquidationEvent, type FailedAdhocDisbursementEvent, type FeeComponent, FinancesApi, FinancesApiAxiosParamCreator, FinancesApiClient, FinancesApiFactory, FinancesApiFp, type FinancesApiListFinancialEventGroupsRequest, type FinancesApiListFinancialEventsByGroupIdRequest, type FinancesApiListFinancialEventsByOrderIdRequest, type FinancesApiListFinancialEventsRequest, type FinancialEventGroup, type FinancialEvents, type ImagingServicesFeeEvent, type ListFinancialEventGroupsPayload, type ListFinancialEventGroupsResponse, type ListFinancialEventsPayload, type ListFinancialEventsResponse, type LoanServicingEvent, type ModelError, type NetworkComminglingTransactionEvent, type PayWithAmazonEvent, type ProductAdsPaymentEvent, type Promotion, type RemovalShipmentAdjustmentEvent, type RemovalShipmentEvent, type RemovalShipmentItem, type RemovalShipmentItemAdjustment, type RentalTransactionEvent, type RetrochargeEvent, type SAFETReimbursementEvent, type SAFETReimbursementItem, type SellerDealPaymentEvent, type SellerReviewEnrollmentPaymentEvent, type ServiceFeeEvent, type ShipmentEvent, type ShipmentItem, type SolutionProviderCreditEvent, type TDSReimbursementEvent, type TaxWithheldComponent, type TaxWithholdingEvent, type TaxWithholdingPeriod, type TrialShipmentEvent, type ValueAddedServiceChargeEvent, clientRateLimits };
|