@aws-sdk/client-payments 0.0.0-stage → 3.1175.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/LICENSE +201 -0
- package/README.md +222 -2
- package/dist-cjs/index.js +972 -0
- package/dist-es/Payments.js +27 -0
- package/dist-es/PaymentsClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/BatchGetFinancialRecordCommand.js +4 -0
- package/dist-es/commands/GetAccountBalanceCommand.js +4 -0
- package/dist-es/commands/GetFinancialRecordCommand.js +4 -0
- package/dist-es/commands/GetPaymentInstrumentCommand.js +4 -0
- package/dist-es/commands/ListFinancialRecordsCommand.js +4 -0
- package/dist-es/commands/ListPaymentInstrumentsCommand.js +4 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/PaymentsServiceException.js +9 -0
- package/dist-es/models/enums.js +89 -0
- package/dist-es/models/errors.js +84 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetAccountBalancePaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListFinancialRecordsPaginator.js +4 -0
- package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +406 -0
- package/dist-types/Payments.d.ts +81 -0
- package/dist-types/PaymentsClient.d.ts +193 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/BatchGetFinancialRecordCommand.d.ts +231 -0
- package/dist-types/commands/GetAccountBalanceCommand.d.ts +124 -0
- package/dist-types/commands/GetFinancialRecordCommand.d.ts +200 -0
- package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +163 -0
- package/dist-types/commands/ListFinancialRecordsCommand.d.ts +188 -0
- package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +126 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/PaymentsServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +225 -0
- package/dist-types/models/errors.d.ts +108 -0
- package/dist-types/models/models_0.d.ts +936 -0
- package/dist-types/pagination/GetAccountBalancePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListFinancialRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +58 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +55 -0
- package/dist-types/ts3.4/Payments.d.ts +138 -0
- package/dist-types/ts3.4/PaymentsClient.d.ts +136 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/BatchGetFinancialRecordCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAccountBalanceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetFinancialRecordCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListFinancialRecordsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/PaymentsServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +111 -0
- package/dist-types/ts3.4/models/errors.d.ts +45 -0
- package/dist-types/ts3.4/models/models_0.d.ts +340 -0
- package/dist-types/ts3.4/pagination/GetAccountBalancePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListFinancialRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
- package/package.json +67 -4
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BalanceType,
|
|
3
|
+
BankAccountType,
|
|
4
|
+
BatchErrorCode,
|
|
5
|
+
CardBrand,
|
|
6
|
+
CardType,
|
|
7
|
+
DueStatus,
|
|
8
|
+
FinancialRecordSortField,
|
|
9
|
+
FinancialRecordStatus,
|
|
10
|
+
FinancialRecordType,
|
|
11
|
+
InvoiceFrequency,
|
|
12
|
+
LineOfBusiness,
|
|
13
|
+
PaymentInstrumentStatus,
|
|
14
|
+
PaymentMethod,
|
|
15
|
+
SettlementStatus,
|
|
16
|
+
SortOrder,
|
|
17
|
+
} from "./enums";
|
|
18
|
+
export interface CurrencyAmount {
|
|
19
|
+
value: string | undefined;
|
|
20
|
+
currency: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface AccountBalance {
|
|
23
|
+
amount: CurrencyAmount | undefined;
|
|
24
|
+
merchantOfRecord: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export type FinancialRecordKey =
|
|
27
|
+
| FinancialRecordKey.IdentifierMember
|
|
28
|
+
| FinancialRecordKey.InvoiceIdentifierMember
|
|
29
|
+
| FinancialRecordKey.$UnknownMember;
|
|
30
|
+
export declare namespace FinancialRecordKey {
|
|
31
|
+
interface IdentifierMember {
|
|
32
|
+
identifier: string;
|
|
33
|
+
invoiceIdentifier?: never;
|
|
34
|
+
$unknown?: never;
|
|
35
|
+
}
|
|
36
|
+
interface InvoiceIdentifierMember {
|
|
37
|
+
identifier?: never;
|
|
38
|
+
invoiceIdentifier: string;
|
|
39
|
+
$unknown?: never;
|
|
40
|
+
}
|
|
41
|
+
interface $UnknownMember {
|
|
42
|
+
identifier?: never;
|
|
43
|
+
invoiceIdentifier?: never;
|
|
44
|
+
$unknown: [string, any];
|
|
45
|
+
}
|
|
46
|
+
interface Visitor<T> {
|
|
47
|
+
identifier: (value: string) => T;
|
|
48
|
+
invoiceIdentifier: (value: string) => T;
|
|
49
|
+
_: (name: string, value: any) => T;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export interface BatchGetFinancialRecordRequest {
|
|
53
|
+
keys: FinancialRecordKey[] | undefined;
|
|
54
|
+
}
|
|
55
|
+
export interface FinancialRecordError {
|
|
56
|
+
key: FinancialRecordKey | undefined;
|
|
57
|
+
code: BatchErrorCode | undefined;
|
|
58
|
+
message: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface Balances {
|
|
61
|
+
outstanding: CurrencyAmount | undefined;
|
|
62
|
+
processing: CurrencyAmount | undefined;
|
|
63
|
+
settled: CurrencyAmount | undefined;
|
|
64
|
+
canceled: CurrencyAmount | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface BusinessUnit {
|
|
67
|
+
merchantOfRecord: string | undefined;
|
|
68
|
+
lineOfBusiness?: LineOfBusiness | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface BillingPeriod {
|
|
71
|
+
startDate: Date | undefined;
|
|
72
|
+
endDate: Date | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface CreditMemoDetails {
|
|
75
|
+
invoiceId: string | undefined;
|
|
76
|
+
billingPeriod: BillingPeriod | undefined;
|
|
77
|
+
}
|
|
78
|
+
export interface InvoiceDetails {
|
|
79
|
+
invoiceId: string | undefined;
|
|
80
|
+
dueStatus?: DueStatus | undefined;
|
|
81
|
+
billingPeriod: BillingPeriod | undefined;
|
|
82
|
+
dueDate: Date | undefined;
|
|
83
|
+
paymentTerms?: string | undefined;
|
|
84
|
+
invoiceFrequency: InvoiceFrequency | undefined;
|
|
85
|
+
}
|
|
86
|
+
export type FinancialRecordDetails =
|
|
87
|
+
| FinancialRecordDetails.CreditMemoDetailsMember
|
|
88
|
+
| FinancialRecordDetails.InvoiceDetailsMember
|
|
89
|
+
| FinancialRecordDetails.$UnknownMember;
|
|
90
|
+
export declare namespace FinancialRecordDetails {
|
|
91
|
+
interface InvoiceDetailsMember {
|
|
92
|
+
invoiceDetails: InvoiceDetails;
|
|
93
|
+
creditMemoDetails?: never;
|
|
94
|
+
$unknown?: never;
|
|
95
|
+
}
|
|
96
|
+
interface CreditMemoDetailsMember {
|
|
97
|
+
invoiceDetails?: never;
|
|
98
|
+
creditMemoDetails: CreditMemoDetails;
|
|
99
|
+
$unknown?: never;
|
|
100
|
+
}
|
|
101
|
+
interface $UnknownMember {
|
|
102
|
+
invoiceDetails?: never;
|
|
103
|
+
creditMemoDetails?: never;
|
|
104
|
+
$unknown: [string, any];
|
|
105
|
+
}
|
|
106
|
+
interface Visitor<T> {
|
|
107
|
+
invoiceDetails: (value: InvoiceDetails) => T;
|
|
108
|
+
creditMemoDetails: (value: CreditMemoDetails) => T;
|
|
109
|
+
_: (name: string, value: any) => T;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export interface FinancialRecord {
|
|
113
|
+
id: string | undefined;
|
|
114
|
+
type: FinancialRecordType | undefined;
|
|
115
|
+
businessUnit: BusinessUnit | undefined;
|
|
116
|
+
amount: CurrencyAmount | undefined;
|
|
117
|
+
balances: Balances | undefined;
|
|
118
|
+
settlementStatus: SettlementStatus | undefined;
|
|
119
|
+
status: FinancialRecordStatus | undefined;
|
|
120
|
+
issuedAt: Date | undefined;
|
|
121
|
+
closedAt?: Date | undefined;
|
|
122
|
+
details: FinancialRecordDetails | undefined;
|
|
123
|
+
}
|
|
124
|
+
export interface BatchGetFinancialRecordResponse {
|
|
125
|
+
financialRecords: FinancialRecord[] | undefined;
|
|
126
|
+
errors: FinancialRecordError[] | undefined;
|
|
127
|
+
}
|
|
128
|
+
export interface ValidationExceptionField {
|
|
129
|
+
name: string | undefined;
|
|
130
|
+
message: string | undefined;
|
|
131
|
+
}
|
|
132
|
+
export interface GetAccountBalanceRequest {
|
|
133
|
+
balanceType: BalanceType | undefined;
|
|
134
|
+
nextToken?: string | undefined;
|
|
135
|
+
maxResults?: number | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface GetAccountBalanceResponse {
|
|
138
|
+
accountBalances: AccountBalance[] | undefined;
|
|
139
|
+
nextToken?: string | undefined;
|
|
140
|
+
}
|
|
141
|
+
export interface GetFinancialRecordRequest {
|
|
142
|
+
identifier?: string | undefined;
|
|
143
|
+
invoiceIdentifier?: string | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface GetFinancialRecordResponse {
|
|
146
|
+
financialRecord: FinancialRecord | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface GetPaymentInstrumentRequest {
|
|
149
|
+
identifier: string | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface Card {
|
|
152
|
+
brand?: CardBrand | undefined;
|
|
153
|
+
last4: string | undefined;
|
|
154
|
+
expirationMonth?: number | undefined;
|
|
155
|
+
expirationYear?: number | undefined;
|
|
156
|
+
cardType?: CardType | undefined;
|
|
157
|
+
issuingBank?: string | undefined;
|
|
158
|
+
issuerCountry?: string | undefined;
|
|
159
|
+
}
|
|
160
|
+
export interface CnBankRedirect {
|
|
161
|
+
bankCode?: string | undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface InNetBanking {
|
|
164
|
+
bankCode: string | undefined;
|
|
165
|
+
bankName?: string | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface SepaBankAccount {
|
|
168
|
+
accountNumberTail?: string | undefined;
|
|
169
|
+
accountHolderName?: string | undefined;
|
|
170
|
+
bankName?: string | undefined;
|
|
171
|
+
accountType?: BankAccountType | undefined;
|
|
172
|
+
}
|
|
173
|
+
export interface UkBacsBankAccount {
|
|
174
|
+
accountNumberTail?: string | undefined;
|
|
175
|
+
accountHolderName?: string | undefined;
|
|
176
|
+
bankName?: string | undefined;
|
|
177
|
+
accountType?: BankAccountType | undefined;
|
|
178
|
+
}
|
|
179
|
+
export interface Upi {
|
|
180
|
+
appName?: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
export interface UsAchBankAccount {
|
|
183
|
+
accountNumberTail?: string | undefined;
|
|
184
|
+
accountHolderName?: string | undefined;
|
|
185
|
+
bankName?: string | undefined;
|
|
186
|
+
accountType?: BankAccountType | undefined;
|
|
187
|
+
}
|
|
188
|
+
export type PaymentInstrumentDetails =
|
|
189
|
+
| PaymentInstrumentDetails.CardMember
|
|
190
|
+
| PaymentInstrumentDetails.CnBankRedirectMember
|
|
191
|
+
| PaymentInstrumentDetails.InNetBankingMember
|
|
192
|
+
| PaymentInstrumentDetails.SepaBankAccountMember
|
|
193
|
+
| PaymentInstrumentDetails.UkBacsBankAccountMember
|
|
194
|
+
| PaymentInstrumentDetails.UpiMember
|
|
195
|
+
| PaymentInstrumentDetails.UsAchBankAccountMember
|
|
196
|
+
| PaymentInstrumentDetails.$UnknownMember;
|
|
197
|
+
export declare namespace PaymentInstrumentDetails {
|
|
198
|
+
interface CardMember {
|
|
199
|
+
card: Card;
|
|
200
|
+
usAchBankAccount?: never;
|
|
201
|
+
sepaBankAccount?: never;
|
|
202
|
+
ukBacsBankAccount?: never;
|
|
203
|
+
inNetBanking?: never;
|
|
204
|
+
cnBankRedirect?: never;
|
|
205
|
+
upi?: never;
|
|
206
|
+
$unknown?: never;
|
|
207
|
+
}
|
|
208
|
+
interface UsAchBankAccountMember {
|
|
209
|
+
card?: never;
|
|
210
|
+
usAchBankAccount: UsAchBankAccount;
|
|
211
|
+
sepaBankAccount?: never;
|
|
212
|
+
ukBacsBankAccount?: never;
|
|
213
|
+
inNetBanking?: never;
|
|
214
|
+
cnBankRedirect?: never;
|
|
215
|
+
upi?: never;
|
|
216
|
+
$unknown?: never;
|
|
217
|
+
}
|
|
218
|
+
interface SepaBankAccountMember {
|
|
219
|
+
card?: never;
|
|
220
|
+
usAchBankAccount?: never;
|
|
221
|
+
sepaBankAccount: SepaBankAccount;
|
|
222
|
+
ukBacsBankAccount?: never;
|
|
223
|
+
inNetBanking?: never;
|
|
224
|
+
cnBankRedirect?: never;
|
|
225
|
+
upi?: never;
|
|
226
|
+
$unknown?: never;
|
|
227
|
+
}
|
|
228
|
+
interface UkBacsBankAccountMember {
|
|
229
|
+
card?: never;
|
|
230
|
+
usAchBankAccount?: never;
|
|
231
|
+
sepaBankAccount?: never;
|
|
232
|
+
ukBacsBankAccount: UkBacsBankAccount;
|
|
233
|
+
inNetBanking?: never;
|
|
234
|
+
cnBankRedirect?: never;
|
|
235
|
+
upi?: never;
|
|
236
|
+
$unknown?: never;
|
|
237
|
+
}
|
|
238
|
+
interface InNetBankingMember {
|
|
239
|
+
card?: never;
|
|
240
|
+
usAchBankAccount?: never;
|
|
241
|
+
sepaBankAccount?: never;
|
|
242
|
+
ukBacsBankAccount?: never;
|
|
243
|
+
inNetBanking: InNetBanking;
|
|
244
|
+
cnBankRedirect?: never;
|
|
245
|
+
upi?: never;
|
|
246
|
+
$unknown?: never;
|
|
247
|
+
}
|
|
248
|
+
interface CnBankRedirectMember {
|
|
249
|
+
card?: never;
|
|
250
|
+
usAchBankAccount?: never;
|
|
251
|
+
sepaBankAccount?: never;
|
|
252
|
+
ukBacsBankAccount?: never;
|
|
253
|
+
inNetBanking?: never;
|
|
254
|
+
cnBankRedirect: CnBankRedirect;
|
|
255
|
+
upi?: never;
|
|
256
|
+
$unknown?: never;
|
|
257
|
+
}
|
|
258
|
+
interface UpiMember {
|
|
259
|
+
card?: never;
|
|
260
|
+
usAchBankAccount?: never;
|
|
261
|
+
sepaBankAccount?: never;
|
|
262
|
+
ukBacsBankAccount?: never;
|
|
263
|
+
inNetBanking?: never;
|
|
264
|
+
cnBankRedirect?: never;
|
|
265
|
+
upi: Upi;
|
|
266
|
+
$unknown?: never;
|
|
267
|
+
}
|
|
268
|
+
interface $UnknownMember {
|
|
269
|
+
card?: never;
|
|
270
|
+
usAchBankAccount?: never;
|
|
271
|
+
sepaBankAccount?: never;
|
|
272
|
+
ukBacsBankAccount?: never;
|
|
273
|
+
inNetBanking?: never;
|
|
274
|
+
cnBankRedirect?: never;
|
|
275
|
+
upi?: never;
|
|
276
|
+
$unknown: [string, any];
|
|
277
|
+
}
|
|
278
|
+
interface Visitor<T> {
|
|
279
|
+
card: (value: Card) => T;
|
|
280
|
+
usAchBankAccount: (value: UsAchBankAccount) => T;
|
|
281
|
+
sepaBankAccount: (value: SepaBankAccount) => T;
|
|
282
|
+
ukBacsBankAccount: (value: UkBacsBankAccount) => T;
|
|
283
|
+
inNetBanking: (value: InNetBanking) => T;
|
|
284
|
+
cnBankRedirect: (value: CnBankRedirect) => T;
|
|
285
|
+
upi: (value: Upi) => T;
|
|
286
|
+
_: (name: string, value: any) => T;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
export interface PaymentInstrument {
|
|
290
|
+
arn: string | undefined;
|
|
291
|
+
paymentMethod: PaymentMethod | undefined;
|
|
292
|
+
status: PaymentInstrumentStatus | undefined;
|
|
293
|
+
details?: PaymentInstrumentDetails | undefined;
|
|
294
|
+
createdAt?: Date | undefined;
|
|
295
|
+
updatedAt?: Date | undefined;
|
|
296
|
+
}
|
|
297
|
+
export interface GetPaymentInstrumentResponse {
|
|
298
|
+
paymentInstrument: PaymentInstrument | undefined;
|
|
299
|
+
}
|
|
300
|
+
export interface ListFinancialRecordsRequest {
|
|
301
|
+
types: FinancialRecordType[] | undefined;
|
|
302
|
+
settlementStatuses?: SettlementStatus[] | undefined;
|
|
303
|
+
issuedAfter?: Date | undefined;
|
|
304
|
+
issuedBefore?: Date | undefined;
|
|
305
|
+
sortBy?: FinancialRecordSortField | undefined;
|
|
306
|
+
sortOrder?: SortOrder | undefined;
|
|
307
|
+
nextToken?: string | undefined;
|
|
308
|
+
maxResults?: number | undefined;
|
|
309
|
+
}
|
|
310
|
+
export interface FinancialRecordSummary {
|
|
311
|
+
id: string | undefined;
|
|
312
|
+
type: FinancialRecordType | undefined;
|
|
313
|
+
businessUnit: BusinessUnit | undefined;
|
|
314
|
+
amount: CurrencyAmount | undefined;
|
|
315
|
+
balances: Balances | undefined;
|
|
316
|
+
settlementStatus: SettlementStatus | undefined;
|
|
317
|
+
status: FinancialRecordStatus | undefined;
|
|
318
|
+
issuedAt: Date | undefined;
|
|
319
|
+
closedAt?: Date | undefined;
|
|
320
|
+
}
|
|
321
|
+
export interface ListFinancialRecordsResponse {
|
|
322
|
+
financialRecordSummaries: FinancialRecordSummary[] | undefined;
|
|
323
|
+
nextToken?: string | undefined;
|
|
324
|
+
}
|
|
325
|
+
export interface ListPaymentInstrumentsRequest {
|
|
326
|
+
nextToken?: string | undefined;
|
|
327
|
+
maxResults?: number | undefined;
|
|
328
|
+
}
|
|
329
|
+
export interface PaymentInstrumentSummary {
|
|
330
|
+
id: string | undefined;
|
|
331
|
+
arn: string | undefined;
|
|
332
|
+
paymentMethod: PaymentMethod | undefined;
|
|
333
|
+
status: PaymentInstrumentStatus | undefined;
|
|
334
|
+
createdAt?: Date | undefined;
|
|
335
|
+
updatedAt?: Date | undefined;
|
|
336
|
+
}
|
|
337
|
+
export interface ListPaymentInstrumentsResponse {
|
|
338
|
+
paymentInstrumentSummaries: PaymentInstrumentSummary[] | undefined;
|
|
339
|
+
nextToken?: string | undefined;
|
|
340
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetAccountBalanceCommandInput,
|
|
4
|
+
GetAccountBalanceCommandOutput,
|
|
5
|
+
} from "../commands/GetAccountBalanceCommand";
|
|
6
|
+
import { PaymentsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetAccountBalance: (
|
|
8
|
+
config: PaymentsPaginationConfiguration,
|
|
9
|
+
input: GetAccountBalanceCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetAccountBalanceCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListFinancialRecordsCommandInput,
|
|
4
|
+
ListFinancialRecordsCommandOutput,
|
|
5
|
+
} from "../commands/ListFinancialRecordsCommand";
|
|
6
|
+
import { PaymentsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListFinancialRecords: (
|
|
8
|
+
config: PaymentsPaginationConfiguration,
|
|
9
|
+
input: ListFinancialRecordsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFinancialRecordsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPaymentInstrumentsCommandInput,
|
|
4
|
+
ListPaymentInstrumentsCommandOutput,
|
|
5
|
+
} from "../commands/ListPaymentInstrumentsCommand";
|
|
6
|
+
import { PaymentsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListPaymentInstruments: (
|
|
8
|
+
config: PaymentsPaginationConfiguration,
|
|
9
|
+
input: ListPaymentInstrumentsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPaymentInstrumentsCommandOutput>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { PaymentsClientConfig } from "./PaymentsClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: PaymentsClientConfig) => {
|
|
4
|
+
cacheMiddleware?: boolean;
|
|
5
|
+
endpoint?:
|
|
6
|
+
| ((
|
|
7
|
+
| string
|
|
8
|
+
| import("@smithy/types").Endpoint
|
|
9
|
+
| import("@smithy/types").EndpointV2
|
|
10
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
11
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
12
|
+
) &
|
|
13
|
+
(
|
|
14
|
+
| string
|
|
15
|
+
| import("@smithy/types").Endpoint
|
|
16
|
+
| import("@smithy/types").EndpointV2
|
|
17
|
+
| import("@smithy/types").Provider<string>
|
|
18
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
19
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
20
|
+
))
|
|
21
|
+
| undefined;
|
|
22
|
+
tls?: boolean;
|
|
23
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
24
|
+
serviceConfiguredEndpoint?: never;
|
|
25
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
26
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
27
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
28
|
+
credentials?:
|
|
29
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
30
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
31
|
+
signer?:
|
|
32
|
+
| import("@smithy/types").RequestSigner
|
|
33
|
+
| ((
|
|
34
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
35
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
36
|
+
signingEscapePath?: boolean;
|
|
37
|
+
systemClockOffset?: number;
|
|
38
|
+
signingRegion?: string;
|
|
39
|
+
signerConstructor?: new (
|
|
40
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
41
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
42
|
+
) => import("@smithy/types").RequestSigner;
|
|
43
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
44
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
apiVersion: string;
|
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
47
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
48
|
+
disableHostPrefix: boolean;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@smithy/types").Logger;
|
|
53
|
+
},
|
|
54
|
+
) => import("@smithy/types").EndpointV2;
|
|
55
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PaymentsHttpAuthSchemeProvider;
|
|
57
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
58
|
+
logger: import("@smithy/types").Logger;
|
|
59
|
+
protocol:
|
|
60
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
61
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
62
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
63
|
+
protocolSettings: {
|
|
64
|
+
[setting: string]: unknown;
|
|
65
|
+
defaultNamespace?: string;
|
|
66
|
+
};
|
|
67
|
+
serviceId: string;
|
|
68
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
69
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
70
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
71
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
72
|
+
profile?: string;
|
|
73
|
+
runtime: string;
|
|
74
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
75
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
76
|
+
>;
|
|
77
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
78
|
+
credentialDefaultProvider:
|
|
79
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
80
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
81
|
+
defaultUserAgentProvider: (
|
|
82
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
84
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
85
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
86
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
87
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
88
|
+
streamCollector: (
|
|
89
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
90
|
+
) => Promise<Uint8Array>;
|
|
91
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
92
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
93
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { PaymentsClientConfig } from "./PaymentsClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: PaymentsClientConfig) => {
|
|
4
|
+
cacheMiddleware?: boolean;
|
|
5
|
+
endpoint?:
|
|
6
|
+
| ((
|
|
7
|
+
| string
|
|
8
|
+
| import("@smithy/types").Endpoint
|
|
9
|
+
| import("@smithy/types").EndpointV2
|
|
10
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
11
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
12
|
+
) &
|
|
13
|
+
(
|
|
14
|
+
| string
|
|
15
|
+
| import("@smithy/types").Endpoint
|
|
16
|
+
| import("@smithy/types").EndpointV2
|
|
17
|
+
| import("@smithy/types").Provider<string>
|
|
18
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
19
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
20
|
+
))
|
|
21
|
+
| undefined;
|
|
22
|
+
tls?: boolean;
|
|
23
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
24
|
+
serviceConfiguredEndpoint?: never;
|
|
25
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
26
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
27
|
+
credentials?:
|
|
28
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
29
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
30
|
+
signer?:
|
|
31
|
+
| import("@smithy/types").RequestSigner
|
|
32
|
+
| ((
|
|
33
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
34
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
35
|
+
signingEscapePath?: boolean;
|
|
36
|
+
systemClockOffset?: number;
|
|
37
|
+
signingRegion?: string;
|
|
38
|
+
signerConstructor?: new (
|
|
39
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
40
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
41
|
+
) => import("@smithy/types").RequestSigner;
|
|
42
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
43
|
+
apiVersion: string;
|
|
44
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
45
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
46
|
+
disableHostPrefix: boolean;
|
|
47
|
+
endpointProvider: (
|
|
48
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
49
|
+
context?: {
|
|
50
|
+
logger?: import("@smithy/types").Logger;
|
|
51
|
+
},
|
|
52
|
+
) => import("@smithy/types").EndpointV2;
|
|
53
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PaymentsHttpAuthSchemeProvider;
|
|
55
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
56
|
+
logger: import("@smithy/types").Logger;
|
|
57
|
+
protocol:
|
|
58
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
59
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
60
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
61
|
+
protocolSettings: {
|
|
62
|
+
[setting: string]: unknown;
|
|
63
|
+
defaultNamespace?: string;
|
|
64
|
+
};
|
|
65
|
+
serviceId: string;
|
|
66
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
67
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
68
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
69
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
70
|
+
runtime: string;
|
|
71
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
72
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
73
|
+
>;
|
|
74
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
75
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
76
|
+
credentialDefaultProvider:
|
|
77
|
+
| ((
|
|
78
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
79
|
+
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
80
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
81
|
+
defaultSocketTimeout: number | undefined;
|
|
82
|
+
defaultUserAgentProvider: (
|
|
83
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
84
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
85
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
86
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
87
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
88
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
89
|
+
streamCollector: (
|
|
90
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
91
|
+
) => Promise<Uint8Array>;
|
|
92
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
93
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
94
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
95
|
+
profile?: string;
|
|
96
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { PaymentsClientConfig } from "./PaymentsClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: PaymentsClientConfig) => {
|
|
3
|
+
cacheMiddleware?: boolean;
|
|
4
|
+
endpoint?:
|
|
5
|
+
| ((
|
|
6
|
+
| string
|
|
7
|
+
| import("@smithy/types").Endpoint
|
|
8
|
+
| import("@smithy/types").EndpointV2
|
|
9
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
10
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
11
|
+
) &
|
|
12
|
+
(
|
|
13
|
+
| string
|
|
14
|
+
| import("@smithy/types").Endpoint
|
|
15
|
+
| import("@smithy/types").EndpointV2
|
|
16
|
+
| import("@smithy/types").Provider<string>
|
|
17
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
18
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
19
|
+
))
|
|
20
|
+
| undefined;
|
|
21
|
+
tls?: boolean;
|
|
22
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
23
|
+
serviceConfiguredEndpoint?: never;
|
|
24
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
25
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
26
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
27
|
+
credentials?:
|
|
28
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
29
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
30
|
+
signer?:
|
|
31
|
+
| import("@smithy/types").RequestSigner
|
|
32
|
+
| ((
|
|
33
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
34
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
35
|
+
signingEscapePath?: boolean;
|
|
36
|
+
systemClockOffset?: number;
|
|
37
|
+
signingRegion?: string;
|
|
38
|
+
signerConstructor?: new (
|
|
39
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
40
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
41
|
+
) => import("@smithy/types").RequestSigner;
|
|
42
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
43
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
|
+
apiVersion: string;
|
|
45
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
46
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
47
|
+
disableHostPrefix: boolean;
|
|
48
|
+
endpointProvider: (
|
|
49
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
50
|
+
context?: {
|
|
51
|
+
logger?: import("@smithy/types").Logger;
|
|
52
|
+
},
|
|
53
|
+
) => import("@smithy/types").EndpointV2;
|
|
54
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PaymentsHttpAuthSchemeProvider;
|
|
56
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
57
|
+
logger: import("@smithy/types").Logger;
|
|
58
|
+
protocol:
|
|
59
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
60
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
61
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
62
|
+
protocolSettings: {
|
|
63
|
+
[setting: string]: unknown;
|
|
64
|
+
defaultNamespace?: string;
|
|
65
|
+
};
|
|
66
|
+
serviceId: string;
|
|
67
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
68
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
69
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
70
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
71
|
+
profile?: string;
|
|
72
|
+
defaultsMode:
|
|
73
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
|
|
74
|
+
| import("@smithy/core/client").DefaultsMode;
|
|
75
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
76
|
+
credentialDefaultProvider:
|
|
77
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
78
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
79
|
+
defaultUserAgentProvider: (
|
|
80
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
81
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
82
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
83
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
84
|
+
requestHandler:
|
|
85
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler
|
|
86
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
87
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
88
|
+
| Record<string, unknown>
|
|
89
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
90
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
91
|
+
streamCollector: (
|
|
92
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
93
|
+
) => Promise<Uint8Array>;
|
|
94
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
95
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
96
|
+
runtime: string;
|
|
97
|
+
};
|