@sp-api-sdk/finances-api-v0 4.2.8 → 5.1.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 +8 -9
- package/dist/index.cjs +520 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1747 -0
- package/dist/index.d.ts +1747 -0
- package/dist/index.js +491 -0
- package/dist/index.js.map +1 -0
- package/package.json +26 -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/finances-api.d.ts +0 -257
- 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
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from "./configuration";
|
|
13
|
-
import type { RequestArgs } from "./base";
|
|
14
|
-
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @throws {RequiredError}
|
|
19
|
-
*/
|
|
20
|
-
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
21
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
22
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
23
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
24
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
25
|
-
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
26
|
-
/**
|
|
27
|
-
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
28
|
-
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
29
|
-
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
30
|
-
*/
|
|
31
|
-
export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
|
|
32
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
33
|
-
export declare const toPathString: (url: URL) => string;
|
|
34
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
interface AWSv4Configuration {
|
|
13
|
-
options?: {
|
|
14
|
-
region?: string;
|
|
15
|
-
service?: string;
|
|
16
|
-
};
|
|
17
|
-
credentials?: {
|
|
18
|
-
accessKeyId?: string;
|
|
19
|
-
secretAccessKey?: string;
|
|
20
|
-
sessionToken?: string;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export interface ConfigurationParameters {
|
|
24
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
25
|
-
username?: string;
|
|
26
|
-
password?: string;
|
|
27
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
-
awsv4?: AWSv4Configuration;
|
|
29
|
-
basePath?: string;
|
|
30
|
-
serverIndex?: number;
|
|
31
|
-
baseOptions?: any;
|
|
32
|
-
formDataCtor?: new () => any;
|
|
33
|
-
}
|
|
34
|
-
export declare class Configuration {
|
|
35
|
-
/**
|
|
36
|
-
* parameter for apiKey security
|
|
37
|
-
* @param name security name
|
|
38
|
-
*/
|
|
39
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
40
|
-
/**
|
|
41
|
-
* parameter for basic security
|
|
42
|
-
*/
|
|
43
|
-
username?: string;
|
|
44
|
-
/**
|
|
45
|
-
* parameter for basic security
|
|
46
|
-
*/
|
|
47
|
-
password?: string;
|
|
48
|
-
/**
|
|
49
|
-
* parameter for oauth2 security
|
|
50
|
-
* @param name security name
|
|
51
|
-
* @param scopes oauth2 scope
|
|
52
|
-
*/
|
|
53
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
-
/**
|
|
55
|
-
* parameter for aws4 signature security
|
|
56
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
-
* @param {string} options.region - aws region
|
|
58
|
-
* @param {string} options.service - name of the service.
|
|
59
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
62
|
-
* @memberof Configuration
|
|
63
|
-
*/
|
|
64
|
-
awsv4?: AWSv4Configuration;
|
|
65
|
-
/**
|
|
66
|
-
* override base path
|
|
67
|
-
*/
|
|
68
|
-
basePath?: string;
|
|
69
|
-
/**
|
|
70
|
-
* override server index
|
|
71
|
-
*/
|
|
72
|
-
serverIndex?: number;
|
|
73
|
-
/**
|
|
74
|
-
* base options for axios calls
|
|
75
|
-
*/
|
|
76
|
-
baseOptions?: any;
|
|
77
|
-
/**
|
|
78
|
-
* The FormData constructor that will be used to create multipart form data
|
|
79
|
-
* requests. You can inject this here so that execution environments that
|
|
80
|
-
* do not support the FormData class can still run the generated client.
|
|
81
|
-
*
|
|
82
|
-
* @type {new () => FormData}
|
|
83
|
-
*/
|
|
84
|
-
formDataCtor?: new () => any;
|
|
85
|
-
constructor(param?: ConfigurationParameters);
|
|
86
|
-
/**
|
|
87
|
-
* Check if the given MIME is a JSON MIME.
|
|
88
|
-
* JSON MIME examples:
|
|
89
|
-
* application/json
|
|
90
|
-
* application/json; charset=UTF8
|
|
91
|
-
* APPLICATION/JSON
|
|
92
|
-
* application/vnd.company+json
|
|
93
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
94
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
95
|
-
*/
|
|
96
|
-
isJsonMime(mime: string): boolean;
|
|
97
|
-
}
|
|
98
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export * from "./api";
|
|
13
|
-
export * from "./configuration";
|
|
14
|
-
export * from "./models";
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An event related to an Adhoc Disbursement.
|
|
15
|
-
*/
|
|
16
|
-
export interface AdhocDisbursementEvent {
|
|
17
|
-
/**
|
|
18
|
-
* The type of transaction. For example, \"Disbursed to Amazon Gift Card balance\".
|
|
19
|
-
*/
|
|
20
|
-
'TransactionType'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
23
|
-
*/
|
|
24
|
-
'PostedDate'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The identifier for the transaction.
|
|
27
|
-
*/
|
|
28
|
-
'TransactionId'?: string;
|
|
29
|
-
'TransactionAmount'?: Currency;
|
|
30
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { AdjustmentItem } from './adjustment-item';
|
|
13
|
-
import type { Currency } from './currency';
|
|
14
|
-
/**
|
|
15
|
-
* An adjustment to the seller\'s account.
|
|
16
|
-
*/
|
|
17
|
-
export interface AdjustmentEvent {
|
|
18
|
-
/**
|
|
19
|
-
* 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.
|
|
20
|
-
*/
|
|
21
|
-
'AdjustmentType'?: string;
|
|
22
|
-
/**
|
|
23
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
24
|
-
*/
|
|
25
|
-
'PostedDate'?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The name of the store where the event occurred.
|
|
28
|
-
*/
|
|
29
|
-
'StoreName'?: string;
|
|
30
|
-
'AdjustmentAmount'?: Currency;
|
|
31
|
-
/**
|
|
32
|
-
* A list of information about items in an adjustment to the seller\'s account.
|
|
33
|
-
*/
|
|
34
|
-
'AdjustmentItemList'?: Array<AdjustmentItem>;
|
|
35
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An item in an adjustment to the seller\'s account.
|
|
15
|
-
*/
|
|
16
|
-
export interface AdjustmentItem {
|
|
17
|
-
/**
|
|
18
|
-
* Represents the number of units in the seller\'s inventory when the `AdjustmentType` is `FBAInventoryReimbursement`.
|
|
19
|
-
*/
|
|
20
|
-
'Quantity'?: string;
|
|
21
|
-
'PerUnitAmount'?: Currency;
|
|
22
|
-
'TotalAmount'?: Currency;
|
|
23
|
-
/**
|
|
24
|
-
* 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.
|
|
25
|
-
*/
|
|
26
|
-
'SellerSKU'?: string;
|
|
27
|
-
/**
|
|
28
|
-
* A unique identifier assigned to products stored in and fulfilled from a fulfillment center.
|
|
29
|
-
*/
|
|
30
|
-
'FnSKU'?: string;
|
|
31
|
-
/**
|
|
32
|
-
* A short description of the item.
|
|
33
|
-
*/
|
|
34
|
-
'ProductDescription'?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
37
|
-
*/
|
|
38
|
-
'ASIN'?: string;
|
|
39
|
-
/**
|
|
40
|
-
* The transaction number that is related to the adjustment.
|
|
41
|
-
*/
|
|
42
|
-
'TransactionNumber'?: string;
|
|
43
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An expense related to an affordability promotion.
|
|
15
|
-
*/
|
|
16
|
-
export interface AffordabilityExpenseEvent {
|
|
17
|
-
/**
|
|
18
|
-
* An Amazon-defined identifier for an order.
|
|
19
|
-
*/
|
|
20
|
-
'AmazonOrderId'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
23
|
-
*/
|
|
24
|
-
'PostedDate'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The Amazon-defined marketplace identifier.
|
|
27
|
-
*/
|
|
28
|
-
'MarketplaceId'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The type of transaction. Possible values: * `Charge`: an affordability promotion expense. * `Refund`: an affordability promotion expense reversal.
|
|
31
|
-
*/
|
|
32
|
-
'TransactionType'?: string;
|
|
33
|
-
'BaseExpense'?: Currency;
|
|
34
|
-
'TaxTypeCGST': Currency;
|
|
35
|
-
'TaxTypeSGST': Currency;
|
|
36
|
-
'TaxTypeIGST': Currency;
|
|
37
|
-
'TotalExpense'?: Currency;
|
|
38
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An event related to a capacity reservation billing charge.
|
|
15
|
-
*/
|
|
16
|
-
export interface CapacityReservationBillingEvent {
|
|
17
|
-
/**
|
|
18
|
-
* The transaction type. For example, FBA Inventory Fee.
|
|
19
|
-
*/
|
|
20
|
-
'TransactionType'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
23
|
-
*/
|
|
24
|
-
'PostedDate'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* A short description of the capacity reservation billing event.
|
|
27
|
-
*/
|
|
28
|
-
'Description'?: string;
|
|
29
|
-
'TransactionAmount'?: Currency;
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* 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.
|
|
15
|
-
*/
|
|
16
|
-
export interface ChargeComponent {
|
|
17
|
-
/**
|
|
18
|
-
* The type of charge.
|
|
19
|
-
*/
|
|
20
|
-
'ChargeType'?: string;
|
|
21
|
-
'ChargeAmount'?: Currency;
|
|
22
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* A payment instrument.
|
|
15
|
-
*/
|
|
16
|
-
export interface ChargeInstrument {
|
|
17
|
-
/**
|
|
18
|
-
* A short description of the charge instrument.
|
|
19
|
-
*/
|
|
20
|
-
'Description'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The account tail (trailing digits) of the charge instrument.
|
|
23
|
-
*/
|
|
24
|
-
'Tail'?: string;
|
|
25
|
-
'Amount'?: Currency;
|
|
26
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ChargeRefundTransaction } from './charge-refund-transaction';
|
|
13
|
-
/**
|
|
14
|
-
* An event related to charge refund.
|
|
15
|
-
*/
|
|
16
|
-
export interface ChargeRefundEvent {
|
|
17
|
-
/**
|
|
18
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
19
|
-
*/
|
|
20
|
-
'PostedDate'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The reason given for a charge refund. For example, `SubscriptionFeeCorrection`.
|
|
23
|
-
*/
|
|
24
|
-
'ReasonCode'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* A description of the Reason Code. For example, `SubscriptionFeeCorrection`.
|
|
27
|
-
*/
|
|
28
|
-
'ReasonCodeDescription'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* A list of `ChargeRefund` transactions
|
|
31
|
-
*/
|
|
32
|
-
'ChargeRefundTransactions'?: Array<ChargeRefundTransaction>;
|
|
33
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* The charge refund transaction.
|
|
15
|
-
*/
|
|
16
|
-
export interface ChargeRefundTransaction {
|
|
17
|
-
'ChargeAmount'?: Currency;
|
|
18
|
-
/**
|
|
19
|
-
* The type of charge.
|
|
20
|
-
*/
|
|
21
|
-
'ChargeType'?: string;
|
|
22
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ChargeComponent } from './charge-component';
|
|
13
|
-
import type { Currency } from './currency';
|
|
14
|
-
import type { FeeComponent } from './fee-component';
|
|
15
|
-
/**
|
|
16
|
-
* An event related to coupon payments.
|
|
17
|
-
*/
|
|
18
|
-
export interface CouponPaymentEvent {
|
|
19
|
-
/**
|
|
20
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
21
|
-
*/
|
|
22
|
-
'PostedDate'?: string;
|
|
23
|
-
/**
|
|
24
|
-
* A coupon identifier.
|
|
25
|
-
*/
|
|
26
|
-
'CouponId'?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The description provided by the seller when they created the coupon.
|
|
29
|
-
*/
|
|
30
|
-
'SellerCouponDescription'?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The number of coupon clips or redemptions.
|
|
33
|
-
*/
|
|
34
|
-
'ClipOrRedemptionCount'?: number;
|
|
35
|
-
/**
|
|
36
|
-
* A payment event identifier.
|
|
37
|
-
*/
|
|
38
|
-
'PaymentEventId'?: string;
|
|
39
|
-
'FeeComponent'?: FeeComponent;
|
|
40
|
-
'ChargeComponent'?: ChargeComponent;
|
|
41
|
-
'TotalAmount'?: Currency;
|
|
42
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* A currency type and amount.
|
|
14
|
-
*/
|
|
15
|
-
export interface Currency {
|
|
16
|
-
/**
|
|
17
|
-
* The three-digit currency code in ISO 4217 format.
|
|
18
|
-
*/
|
|
19
|
-
'CurrencyCode'?: string;
|
|
20
|
-
/**
|
|
21
|
-
* A signed decimal number.
|
|
22
|
-
*/
|
|
23
|
-
'CurrencyAmount'?: number;
|
|
24
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ChargeInstrument } from './charge-instrument';
|
|
13
|
-
import type { Currency } from './currency';
|
|
14
|
-
import type { DebtRecoveryItem } from './debt-recovery-item';
|
|
15
|
-
/**
|
|
16
|
-
* A debt payment or debt adjustment.
|
|
17
|
-
*/
|
|
18
|
-
export interface DebtRecoveryEvent {
|
|
19
|
-
/**
|
|
20
|
-
* The debt recovery type. Possible values: * `DebtPayment` * `DebtPaymentFailure` * `DebtAdjustment`
|
|
21
|
-
*/
|
|
22
|
-
'DebtRecoveryType'?: string;
|
|
23
|
-
'RecoveryAmount'?: Currency;
|
|
24
|
-
'OverPaymentCredit'?: Currency;
|
|
25
|
-
/**
|
|
26
|
-
* A list of debt recovery item information.
|
|
27
|
-
*/
|
|
28
|
-
'DebtRecoveryItemList'?: Array<DebtRecoveryItem>;
|
|
29
|
-
/**
|
|
30
|
-
* A list of payment instruments.
|
|
31
|
-
*/
|
|
32
|
-
'ChargeInstrumentList'?: Array<ChargeInstrument>;
|
|
33
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An item of a debt payment or debt adjustment.
|
|
15
|
-
*/
|
|
16
|
-
export interface DebtRecoveryItem {
|
|
17
|
-
'RecoveryAmount'?: Currency;
|
|
18
|
-
'OriginalAmount'?: Currency;
|
|
19
|
-
/**
|
|
20
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
21
|
-
*/
|
|
22
|
-
'GroupBeginDate'?: string;
|
|
23
|
-
/**
|
|
24
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
25
|
-
*/
|
|
26
|
-
'GroupEndDate'?: string;
|
|
27
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* A payment made directly to a seller.
|
|
15
|
-
*/
|
|
16
|
-
export interface DirectPayment {
|
|
17
|
-
/**
|
|
18
|
-
* 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.
|
|
19
|
-
*/
|
|
20
|
-
'DirectPaymentType'?: string;
|
|
21
|
-
'DirectPaymentAmount'?: Currency;
|
|
22
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Finances
|
|
3
|
-
* 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.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Currency } from './currency';
|
|
13
|
-
/**
|
|
14
|
-
* An EBT refund reimbursement event.
|
|
15
|
-
*/
|
|
16
|
-
export interface EBTRefundReimbursementOnlyEvent {
|
|
17
|
-
/**
|
|
18
|
-
* The identifier of an order.
|
|
19
|
-
*/
|
|
20
|
-
'OrderId'?: string;
|
|
21
|
-
/**
|
|
22
|
-
* A date in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
|
|
23
|
-
*/
|
|
24
|
-
'PostedDate'?: string;
|
|
25
|
-
'Amount'?: Currency;
|
|
26
|
-
}
|