@sp-api-sdk/finances-transfers-api-2024-06-01 4.0.17 → 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 +411 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +458 -0
- package/dist/index.d.ts +458 -0
- package/dist/index.js +366 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/finances-transfers-api.js +0 -188
- 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/assignment-type.js +0 -22
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/expiry-date.js +0 -15
- package/dist/cjs/api-model/models/get-payment-methods-response.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -25
- package/dist/cjs/api-model/models/initiate-payout-request.js +0 -15
- package/dist/cjs/api-model/models/initiate-payout-response.js +0 -15
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/payment-method-details.js +0 -15
- package/dist/cjs/api-model/models/payment-method-type.js +0 -24
- package/dist/cjs/client.js +0 -28
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/finances-transfers-api.js +0 -178
- 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/assignment-type.js +0 -19
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/expiry-date.js +0 -14
- package/dist/es/api-model/models/get-payment-methods-response.js +0 -14
- package/dist/es/api-model/models/index.js +0 -9
- package/dist/es/api-model/models/initiate-payout-request.js +0 -14
- package/dist/es/api-model/models/initiate-payout-response.js +0 -14
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/payment-method-details.js +0 -14
- package/dist/es/api-model/models/payment-method-type.js +0 -21
- package/dist/es/client.js +0 -24
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api/finances-transfers-api.d.ts +0 -124
- 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/assignment-type.d.ts +0 -18
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/expiry-date.d.ts +0 -24
- package/dist/types/api-model/models/get-payment-methods-response.d.ts +0 -21
- package/dist/types/api-model/models/index.d.ts +0 -9
- package/dist/types/api-model/models/initiate-payout-request.d.ts +0 -24
- package/dist/types/api-model/models/initiate-payout-response.d.ts +0 -20
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/payment-method-details.d.ts +0 -38
- package/dist/types/api-model/models/payment-method-type.d.ts +0 -20
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Transfers.
|
|
3
|
-
* The Selling Partner API for Transfers enables selling partners to retrieve payment methods and initiate payouts for their seller accounts. This API supports the following marketplaces: DE, FR, IT, ES, SE, NL, PL, and BE.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-01
|
|
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 { AssignmentType } from './assignment-type';
|
|
13
|
-
import type { ExpiryDate } from './expiry-date';
|
|
14
|
-
import type { PaymentMethodType } from './payment-method-type';
|
|
15
|
-
/**
|
|
16
|
-
* The details of a payment method.
|
|
17
|
-
*/
|
|
18
|
-
export interface PaymentMethodDetails {
|
|
19
|
-
/**
|
|
20
|
-
* The name of the account holder who is registered for the payment method.
|
|
21
|
-
*/
|
|
22
|
-
'accountHolderName'?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The payment method identifier.
|
|
25
|
-
*/
|
|
26
|
-
'paymentMethodId'?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The last three or four digits of the payment method.
|
|
29
|
-
*/
|
|
30
|
-
'tail'?: string;
|
|
31
|
-
'expiryDate'?: ExpiryDate;
|
|
32
|
-
/**
|
|
33
|
-
* The two-letter country code in ISO 3166-1 alpha-2 format. For payment methods in the `card` category, the code is for the country where the card was issued. For payment methods in the `bank account` category, the code is for the country where the account is located.
|
|
34
|
-
*/
|
|
35
|
-
'countryCode'?: string;
|
|
36
|
-
'paymentMethodType'?: PaymentMethodType;
|
|
37
|
-
'assignmentType'?: AssignmentType;
|
|
38
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Selling Partner API for Transfers.
|
|
3
|
-
* The Selling Partner API for Transfers enables selling partners to retrieve payment methods and initiate payouts for their seller accounts. This API supports the following marketplaces: DE, FR, IT, ES, SE, NL, PL, and BE.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2024-06-01
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* The type of payment method.
|
|
14
|
-
*/
|
|
15
|
-
export declare const PaymentMethodType: {
|
|
16
|
-
readonly BankAccount: "BANK_ACCOUNT";
|
|
17
|
-
readonly Card: "CARD";
|
|
18
|
-
readonly SellerWallet: "SELLER_WALLET";
|
|
19
|
-
};
|
|
20
|
-
export type PaymentMethodType = typeof PaymentMethodType[keyof typeof PaymentMethodType];
|
package/dist/types/client.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import { FinancesTransfersApi } from './api-model';
|
|
3
|
-
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class FinancesTransfersApiClient extends FinancesTransfersApi {
|
|
5
|
-
constructor(configuration: ClientConfiguration);
|
|
6
|
-
}
|
package/dist/types/index.d.ts
DELETED