@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,406 @@
|
|
|
1
|
+
const _AB = "AccountBalance";
|
|
2
|
+
const _ABL = "AccountBalanceList";
|
|
3
|
+
const _ADE = "AccessDeniedException";
|
|
4
|
+
const _AHN = "AccountHolderName";
|
|
5
|
+
const _B = "Balances";
|
|
6
|
+
const _BANT = "BankAccountNumberTail";
|
|
7
|
+
const _BGFR = "BatchGetFinancialRecord";
|
|
8
|
+
const _BGFRR = "BatchGetFinancialRecordRequest";
|
|
9
|
+
const _BGFRRa = "BatchGetFinancialRecordResponse";
|
|
10
|
+
const _BP = "BillingPeriod";
|
|
11
|
+
const _BU = "BusinessUnit";
|
|
12
|
+
const _C = "Card";
|
|
13
|
+
const _CA = "CurrencyAmount";
|
|
14
|
+
const _CBR = "CnBankRedirect";
|
|
15
|
+
const _CMD = "CreditMemoDetails";
|
|
16
|
+
const _EM = "ExpirationMonth";
|
|
17
|
+
const _EY = "ExpirationYear";
|
|
18
|
+
const _FR = "FinancialRecord";
|
|
19
|
+
const _FRD = "FinancialRecordDetails";
|
|
20
|
+
const _FRE = "FinancialRecordError";
|
|
21
|
+
const _FREL = "FinancialRecordErrorList";
|
|
22
|
+
const _FRK = "FinancialRecordKey";
|
|
23
|
+
const _FRKL = "FinancialRecordKeyList";
|
|
24
|
+
const _FRL = "FinancialRecordList";
|
|
25
|
+
const _FRS = "FinancialRecordSummary";
|
|
26
|
+
const _FRSL = "FinancialRecordSummaryList";
|
|
27
|
+
const _GAB = "GetAccountBalance";
|
|
28
|
+
const _GABR = "GetAccountBalanceRequest";
|
|
29
|
+
const _GABRe = "GetAccountBalanceResponse";
|
|
30
|
+
const _GFR = "GetFinancialRecord";
|
|
31
|
+
const _GFRR = "GetFinancialRecordRequest";
|
|
32
|
+
const _GFRRe = "GetFinancialRecordResponse";
|
|
33
|
+
const _GPI = "GetPaymentInstrument";
|
|
34
|
+
const _GPIR = "GetPaymentInstrumentRequest";
|
|
35
|
+
const _GPIRe = "GetPaymentInstrumentResponse";
|
|
36
|
+
const _ID = "InvoiceDetails";
|
|
37
|
+
const _INB = "InNetBanking";
|
|
38
|
+
const _ISE = "InternalServerException";
|
|
39
|
+
const _L = "Last4";
|
|
40
|
+
const _LFR = "ListFinancialRecords";
|
|
41
|
+
const _LFRR = "ListFinancialRecordsRequest";
|
|
42
|
+
const _LFRRi = "ListFinancialRecordsResponse";
|
|
43
|
+
const _LPI = "ListPaymentInstruments";
|
|
44
|
+
const _LPIR = "ListPaymentInstrumentsRequest";
|
|
45
|
+
const _LPIRi = "ListPaymentInstrumentsResponse";
|
|
46
|
+
const _PI = "PaymentInstrument";
|
|
47
|
+
const _PID = "PaymentInstrumentDetails";
|
|
48
|
+
const _PIS = "PaymentInstrumentSummary";
|
|
49
|
+
const _PISL = "PaymentInstrumentSummaryList";
|
|
50
|
+
const _RNFE = "ResourceNotFoundException";
|
|
51
|
+
const _SBA = "SepaBankAccount";
|
|
52
|
+
const _TE = "ThrottlingException";
|
|
53
|
+
const _U = "Upi";
|
|
54
|
+
const _UABA = "UsAchBankAccount";
|
|
55
|
+
const _UBBA = "UkBacsBankAccount";
|
|
56
|
+
const _VE = "ValidationException";
|
|
57
|
+
const _VEF = "ValidationExceptionField";
|
|
58
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
59
|
+
const _a = "amount";
|
|
60
|
+
const _aB = "accountBalances";
|
|
61
|
+
const _aHN = "accountHolderName";
|
|
62
|
+
const _aN = "appName";
|
|
63
|
+
const _aNT = "accountNumberTail";
|
|
64
|
+
const _aT = "accountType";
|
|
65
|
+
const _ar = "arn";
|
|
66
|
+
const _b = "brand";
|
|
67
|
+
const _bC = "bankCode";
|
|
68
|
+
const _bN = "bankName";
|
|
69
|
+
const _bP = "billingPeriod";
|
|
70
|
+
const _bT = "balanceType";
|
|
71
|
+
const _bU = "businessUnit";
|
|
72
|
+
const _ba = "balances";
|
|
73
|
+
const _c = "client";
|
|
74
|
+
const _cA = "closedAt";
|
|
75
|
+
const _cAr = "createdAt";
|
|
76
|
+
const _cBR = "cnBankRedirect";
|
|
77
|
+
const _cMD = "creditMemoDetails";
|
|
78
|
+
const _cT = "cardType";
|
|
79
|
+
const _ca = "canceled";
|
|
80
|
+
const _car = "card";
|
|
81
|
+
const _co = "code";
|
|
82
|
+
const _cu = "currency";
|
|
83
|
+
const _d = "details";
|
|
84
|
+
const _dD = "dueDate";
|
|
85
|
+
const _dS = "dueStatus";
|
|
86
|
+
const _e = "error";
|
|
87
|
+
const _eD = "endDate";
|
|
88
|
+
const _eM = "expirationMonth";
|
|
89
|
+
const _eY = "expirationYear";
|
|
90
|
+
const _er = "errors";
|
|
91
|
+
const _fL = "fieldList";
|
|
92
|
+
const _fR = "financialRecords";
|
|
93
|
+
const _fRS = "financialRecordSummaries";
|
|
94
|
+
const _fRi = "financialRecord";
|
|
95
|
+
const _hE = "httpError";
|
|
96
|
+
const _i = "id";
|
|
97
|
+
const _iA = "issuedAt";
|
|
98
|
+
const _iAs = "issuedAfter";
|
|
99
|
+
const _iB = "issuingBank";
|
|
100
|
+
const _iBs = "issuedBefore";
|
|
101
|
+
const _iC = "issuerCountry";
|
|
102
|
+
const _iD = "invoiceDetails";
|
|
103
|
+
const _iF = "invoiceFrequency";
|
|
104
|
+
const _iI = "invoiceId";
|
|
105
|
+
const _iIn = "invoiceIdentifier";
|
|
106
|
+
const _iNB = "inNetBanking";
|
|
107
|
+
const _id = "identifier";
|
|
108
|
+
const _k = "keys";
|
|
109
|
+
const _ke = "key";
|
|
110
|
+
const _l = "last4";
|
|
111
|
+
const _lOB = "lineOfBusiness";
|
|
112
|
+
const _m = "message";
|
|
113
|
+
const _mOR = "merchantOfRecord";
|
|
114
|
+
const _mR = "maxResults";
|
|
115
|
+
const _n = "name";
|
|
116
|
+
const _nT = "nextToken";
|
|
117
|
+
const _o = "outstanding";
|
|
118
|
+
const _p = "processing";
|
|
119
|
+
const _pI = "paymentInstrument";
|
|
120
|
+
const _pIS = "paymentInstrumentSummaries";
|
|
121
|
+
const _pM = "paymentMethod";
|
|
122
|
+
const _pT = "paymentTerms";
|
|
123
|
+
const _r = "reason";
|
|
124
|
+
const _rAS = "retryAfterSeconds";
|
|
125
|
+
const _rI = "resourceId";
|
|
126
|
+
const _rT = "resourceType";
|
|
127
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.payments";
|
|
128
|
+
const _sB = "sortBy";
|
|
129
|
+
const _sBA = "sepaBankAccount";
|
|
130
|
+
const _sD = "startDate";
|
|
131
|
+
const _sO = "sortOrder";
|
|
132
|
+
const _sS = "settlementStatus";
|
|
133
|
+
const _sSe = "settlementStatuses";
|
|
134
|
+
const _se = "server";
|
|
135
|
+
const _set = "settled";
|
|
136
|
+
const _st = "status";
|
|
137
|
+
const _t = "type";
|
|
138
|
+
const _ty = "types";
|
|
139
|
+
const _u = "upi";
|
|
140
|
+
const _uA = "updatedAt";
|
|
141
|
+
const _uABA = "usAchBankAccount";
|
|
142
|
+
const _uBBA = "ukBacsBankAccount";
|
|
143
|
+
const _v = "value";
|
|
144
|
+
const n0 = "com.amazonaws.payments";
|
|
145
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
146
|
+
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
147
|
+
import { PaymentsServiceException } from "../models/PaymentsServiceException";
|
|
148
|
+
const _s_registry = new TypeRegistry(_s);
|
|
149
|
+
export var PaymentsServiceException$ = [-3, _s, "PaymentsServiceException", 0, [], []];
|
|
150
|
+
_s_registry.registerError(PaymentsServiceException$, PaymentsServiceException);
|
|
151
|
+
const n0_registry = new TypeRegistry(n0);
|
|
152
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
153
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
154
|
+
[_m, _r],
|
|
155
|
+
[0, 0], 1
|
|
156
|
+
];
|
|
157
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
158
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
159
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
160
|
+
[_m, _rAS],
|
|
161
|
+
[0, 1], 1
|
|
162
|
+
];
|
|
163
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
164
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
165
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
166
|
+
[_m, _rI, _rT],
|
|
167
|
+
[0, 0, 0], 1
|
|
168
|
+
];
|
|
169
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
170
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
171
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
172
|
+
[_m, _rAS],
|
|
173
|
+
[0, 1], 1
|
|
174
|
+
];
|
|
175
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
176
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
177
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
178
|
+
[_m, _r, _fL],
|
|
179
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
180
|
+
];
|
|
181
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
182
|
+
export const errorTypeRegistries = [
|
|
183
|
+
_s_registry,
|
|
184
|
+
n0_registry,
|
|
185
|
+
];
|
|
186
|
+
var AccountHolderName = [0, n0, _AHN, 8, 0];
|
|
187
|
+
var BankAccountNumberTail = [0, n0, _BANT, 8, 0];
|
|
188
|
+
var ExpirationMonth = [0, n0, _EM, 8, 1];
|
|
189
|
+
var ExpirationYear = [0, n0, _EY, 8, 1];
|
|
190
|
+
var Last4 = [0, n0, _L, 8, 0];
|
|
191
|
+
export var AccountBalance$ = [3, n0, _AB,
|
|
192
|
+
0,
|
|
193
|
+
[_a, _mOR],
|
|
194
|
+
[() => CurrencyAmount$, 0], 2
|
|
195
|
+
];
|
|
196
|
+
export var Balances$ = [3, n0, _B,
|
|
197
|
+
0,
|
|
198
|
+
[_o, _p, _set, _ca],
|
|
199
|
+
[() => CurrencyAmount$, () => CurrencyAmount$, () => CurrencyAmount$, () => CurrencyAmount$], 4
|
|
200
|
+
];
|
|
201
|
+
export var BatchGetFinancialRecordRequest$ = [3, n0, _BGFRR,
|
|
202
|
+
0,
|
|
203
|
+
[_k],
|
|
204
|
+
[() => FinancialRecordKeyList], 1
|
|
205
|
+
];
|
|
206
|
+
export var BatchGetFinancialRecordResponse$ = [3, n0, _BGFRRa,
|
|
207
|
+
0,
|
|
208
|
+
[_fR, _er],
|
|
209
|
+
[() => FinancialRecordList, () => FinancialRecordErrorList], 2
|
|
210
|
+
];
|
|
211
|
+
export var BillingPeriod$ = [3, n0, _BP,
|
|
212
|
+
0,
|
|
213
|
+
[_sD, _eD],
|
|
214
|
+
[4, 4], 2
|
|
215
|
+
];
|
|
216
|
+
export var BusinessUnit$ = [3, n0, _BU,
|
|
217
|
+
0,
|
|
218
|
+
[_mOR, _lOB],
|
|
219
|
+
[0, 0], 1
|
|
220
|
+
];
|
|
221
|
+
export var Card$ = [3, n0, _C,
|
|
222
|
+
0,
|
|
223
|
+
[_l, _b, _eM, _eY, _cT, _iB, _iC],
|
|
224
|
+
[[() => Last4, 0], 0, [() => ExpirationMonth, 0], [() => ExpirationYear, 0], 0, 0, 0], 1
|
|
225
|
+
];
|
|
226
|
+
export var CnBankRedirect$ = [3, n0, _CBR,
|
|
227
|
+
0,
|
|
228
|
+
[_bC],
|
|
229
|
+
[0]
|
|
230
|
+
];
|
|
231
|
+
export var CreditMemoDetails$ = [3, n0, _CMD,
|
|
232
|
+
0,
|
|
233
|
+
[_iI, _bP],
|
|
234
|
+
[0, () => BillingPeriod$], 2
|
|
235
|
+
];
|
|
236
|
+
export var CurrencyAmount$ = [3, n0, _CA,
|
|
237
|
+
0,
|
|
238
|
+
[_v, _cu],
|
|
239
|
+
[0, 0], 2
|
|
240
|
+
];
|
|
241
|
+
export var FinancialRecord$ = [3, n0, _FR,
|
|
242
|
+
0,
|
|
243
|
+
[_i, _t, _bU, _a, _ba, _sS, _st, _iA, _d, _cA],
|
|
244
|
+
[0, 0, () => BusinessUnit$, () => CurrencyAmount$, () => Balances$, 0, 0, 4, () => FinancialRecordDetails$, 4], 9
|
|
245
|
+
];
|
|
246
|
+
export var FinancialRecordError$ = [3, n0, _FRE,
|
|
247
|
+
0,
|
|
248
|
+
[_ke, _co, _m],
|
|
249
|
+
[() => FinancialRecordKey$, 0, 0], 3
|
|
250
|
+
];
|
|
251
|
+
export var FinancialRecordSummary$ = [3, n0, _FRS,
|
|
252
|
+
0,
|
|
253
|
+
[_i, _t, _bU, _a, _ba, _sS, _st, _iA, _cA],
|
|
254
|
+
[0, 0, () => BusinessUnit$, () => CurrencyAmount$, () => Balances$, 0, 0, 4, 4], 8
|
|
255
|
+
];
|
|
256
|
+
export var GetAccountBalanceRequest$ = [3, n0, _GABR,
|
|
257
|
+
0,
|
|
258
|
+
[_bT, _nT, _mR],
|
|
259
|
+
[0, 0, 1], 1
|
|
260
|
+
];
|
|
261
|
+
export var GetAccountBalanceResponse$ = [3, n0, _GABRe,
|
|
262
|
+
0,
|
|
263
|
+
[_aB, _nT],
|
|
264
|
+
[() => AccountBalanceList, 0], 1
|
|
265
|
+
];
|
|
266
|
+
export var GetFinancialRecordRequest$ = [3, n0, _GFRR,
|
|
267
|
+
0,
|
|
268
|
+
[_id, _iIn],
|
|
269
|
+
[0, 0]
|
|
270
|
+
];
|
|
271
|
+
export var GetFinancialRecordResponse$ = [3, n0, _GFRRe,
|
|
272
|
+
0,
|
|
273
|
+
[_fRi],
|
|
274
|
+
[() => FinancialRecord$], 1
|
|
275
|
+
];
|
|
276
|
+
export var GetPaymentInstrumentRequest$ = [3, n0, _GPIR,
|
|
277
|
+
0,
|
|
278
|
+
[_id],
|
|
279
|
+
[0], 1
|
|
280
|
+
];
|
|
281
|
+
export var GetPaymentInstrumentResponse$ = [3, n0, _GPIRe,
|
|
282
|
+
0,
|
|
283
|
+
[_pI],
|
|
284
|
+
[[() => PaymentInstrument$, 0]], 1
|
|
285
|
+
];
|
|
286
|
+
export var InNetBanking$ = [3, n0, _INB,
|
|
287
|
+
0,
|
|
288
|
+
[_bC, _bN],
|
|
289
|
+
[0, 0], 1
|
|
290
|
+
];
|
|
291
|
+
export var InvoiceDetails$ = [3, n0, _ID,
|
|
292
|
+
0,
|
|
293
|
+
[_iI, _bP, _dD, _iF, _dS, _pT],
|
|
294
|
+
[0, () => BillingPeriod$, 4, 0, 0, 0], 4
|
|
295
|
+
];
|
|
296
|
+
export var ListFinancialRecordsRequest$ = [3, n0, _LFRR,
|
|
297
|
+
0,
|
|
298
|
+
[_ty, _sSe, _iAs, _iBs, _sB, _sO, _nT, _mR],
|
|
299
|
+
[64 | 0, 64 | 0, 4, 4, 0, 0, 0, 1], 1
|
|
300
|
+
];
|
|
301
|
+
export var ListFinancialRecordsResponse$ = [3, n0, _LFRRi,
|
|
302
|
+
0,
|
|
303
|
+
[_fRS, _nT],
|
|
304
|
+
[() => FinancialRecordSummaryList, 0], 1
|
|
305
|
+
];
|
|
306
|
+
export var ListPaymentInstrumentsRequest$ = [3, n0, _LPIR,
|
|
307
|
+
0,
|
|
308
|
+
[_nT, _mR],
|
|
309
|
+
[0, 1]
|
|
310
|
+
];
|
|
311
|
+
export var ListPaymentInstrumentsResponse$ = [3, n0, _LPIRi,
|
|
312
|
+
0,
|
|
313
|
+
[_pIS, _nT],
|
|
314
|
+
[() => PaymentInstrumentSummaryList, 0], 1
|
|
315
|
+
];
|
|
316
|
+
export var PaymentInstrument$ = [3, n0, _PI,
|
|
317
|
+
0,
|
|
318
|
+
[_ar, _pM, _st, _d, _cAr, _uA],
|
|
319
|
+
[0, 0, 0, [() => PaymentInstrumentDetails$, 0], 4, 4], 3
|
|
320
|
+
];
|
|
321
|
+
export var PaymentInstrumentSummary$ = [3, n0, _PIS,
|
|
322
|
+
0,
|
|
323
|
+
[_i, _ar, _pM, _st, _cAr, _uA],
|
|
324
|
+
[0, 0, 0, 0, 4, 4], 4
|
|
325
|
+
];
|
|
326
|
+
export var SepaBankAccount$ = [3, n0, _SBA,
|
|
327
|
+
0,
|
|
328
|
+
[_aNT, _aHN, _bN, _aT],
|
|
329
|
+
[[() => BankAccountNumberTail, 0], [() => AccountHolderName, 0], 0, 0]
|
|
330
|
+
];
|
|
331
|
+
export var UkBacsBankAccount$ = [3, n0, _UBBA,
|
|
332
|
+
0,
|
|
333
|
+
[_aNT, _aHN, _bN, _aT],
|
|
334
|
+
[[() => BankAccountNumberTail, 0], [() => AccountHolderName, 0], 0, 0]
|
|
335
|
+
];
|
|
336
|
+
export var Upi$ = [3, n0, _U,
|
|
337
|
+
0,
|
|
338
|
+
[_aN],
|
|
339
|
+
[0]
|
|
340
|
+
];
|
|
341
|
+
export var UsAchBankAccount$ = [3, n0, _UABA,
|
|
342
|
+
0,
|
|
343
|
+
[_aNT, _aHN, _bN, _aT],
|
|
344
|
+
[[() => BankAccountNumberTail, 0], [() => AccountHolderName, 0], 0, 0]
|
|
345
|
+
];
|
|
346
|
+
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
347
|
+
0,
|
|
348
|
+
[_n, _m],
|
|
349
|
+
[0, 0], 2
|
|
350
|
+
];
|
|
351
|
+
var AccountBalanceList = [1, n0, _ABL,
|
|
352
|
+
0, () => AccountBalance$
|
|
353
|
+
];
|
|
354
|
+
var FinancialRecordErrorList = [1, n0, _FREL,
|
|
355
|
+
0, () => FinancialRecordError$
|
|
356
|
+
];
|
|
357
|
+
var FinancialRecordKeyList = [1, n0, _FRKL,
|
|
358
|
+
0, () => FinancialRecordKey$
|
|
359
|
+
];
|
|
360
|
+
var FinancialRecordList = [1, n0, _FRL,
|
|
361
|
+
0, () => FinancialRecord$
|
|
362
|
+
];
|
|
363
|
+
var FinancialRecordSummaryList = [1, n0, _FRSL,
|
|
364
|
+
0, () => FinancialRecordSummary$
|
|
365
|
+
];
|
|
366
|
+
var FinancialRecordTypeList = 64 | 0;
|
|
367
|
+
var PaymentInstrumentSummaryList = [1, n0, _PISL,
|
|
368
|
+
0, () => PaymentInstrumentSummary$
|
|
369
|
+
];
|
|
370
|
+
var SettlementStatusList = 64 | 0;
|
|
371
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
372
|
+
0, () => ValidationExceptionField$
|
|
373
|
+
];
|
|
374
|
+
export var FinancialRecordDetails$ = [4, n0, _FRD,
|
|
375
|
+
0,
|
|
376
|
+
[_iD, _cMD],
|
|
377
|
+
[() => InvoiceDetails$, () => CreditMemoDetails$]
|
|
378
|
+
];
|
|
379
|
+
export var FinancialRecordKey$ = [4, n0, _FRK,
|
|
380
|
+
0,
|
|
381
|
+
[_id, _iIn],
|
|
382
|
+
[0, 0]
|
|
383
|
+
];
|
|
384
|
+
export var PaymentInstrumentDetails$ = [4, n0, _PID,
|
|
385
|
+
0,
|
|
386
|
+
[_car, _uABA, _sBA, _uBBA, _iNB, _cBR, _u],
|
|
387
|
+
[[() => Card$, 0], [() => UsAchBankAccount$, 0], [() => SepaBankAccount$, 0], [() => UkBacsBankAccount$, 0], () => InNetBanking$, () => CnBankRedirect$, () => Upi$]
|
|
388
|
+
];
|
|
389
|
+
export var BatchGetFinancialRecord$ = [9, n0, _BGFR,
|
|
390
|
+
0, () => BatchGetFinancialRecordRequest$, () => BatchGetFinancialRecordResponse$
|
|
391
|
+
];
|
|
392
|
+
export var GetAccountBalance$ = [9, n0, _GAB,
|
|
393
|
+
0, () => GetAccountBalanceRequest$, () => GetAccountBalanceResponse$
|
|
394
|
+
];
|
|
395
|
+
export var GetFinancialRecord$ = [9, n0, _GFR,
|
|
396
|
+
0, () => GetFinancialRecordRequest$, () => GetFinancialRecordResponse$
|
|
397
|
+
];
|
|
398
|
+
export var GetPaymentInstrument$ = [9, n0, _GPI,
|
|
399
|
+
0, () => GetPaymentInstrumentRequest$, () => GetPaymentInstrumentResponse$
|
|
400
|
+
];
|
|
401
|
+
export var ListFinancialRecords$ = [9, n0, _LFR,
|
|
402
|
+
0, () => ListFinancialRecordsRequest$, () => ListFinancialRecordsResponse$
|
|
403
|
+
];
|
|
404
|
+
export var ListPaymentInstruments$ = [9, n0, _LPI,
|
|
405
|
+
0, () => ListPaymentInstrumentsRequest$, () => ListPaymentInstrumentsResponse$
|
|
406
|
+
];
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
+
import { type BatchGetFinancialRecordCommandInput, type BatchGetFinancialRecordCommandOutput } from "./commands/BatchGetFinancialRecordCommand";
|
|
3
|
+
import { type GetAccountBalanceCommandInput, type GetAccountBalanceCommandOutput } from "./commands/GetAccountBalanceCommand";
|
|
4
|
+
import { type GetFinancialRecordCommandInput, type GetFinancialRecordCommandOutput } from "./commands/GetFinancialRecordCommand";
|
|
5
|
+
import { type GetPaymentInstrumentCommandInput, type GetPaymentInstrumentCommandOutput } from "./commands/GetPaymentInstrumentCommand";
|
|
6
|
+
import { type ListFinancialRecordsCommandInput, type ListFinancialRecordsCommandOutput } from "./commands/ListFinancialRecordsCommand";
|
|
7
|
+
import { type ListPaymentInstrumentsCommandInput, type ListPaymentInstrumentsCommandOutput } from "./commands/ListPaymentInstrumentsCommand";
|
|
8
|
+
import { PaymentsClient } from "./PaymentsClient";
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export interface PaymentsRequestOptions extends __HttpHandlerOptions {
|
|
13
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
14
|
+
}
|
|
15
|
+
export interface Payments {
|
|
16
|
+
/**
|
|
17
|
+
* @see {@link BatchGetFinancialRecordCommand}
|
|
18
|
+
*/
|
|
19
|
+
batchGetFinancialRecord(args: BatchGetFinancialRecordCommandInput, options?: PaymentsRequestOptions): Promise<BatchGetFinancialRecordCommandOutput>;
|
|
20
|
+
batchGetFinancialRecord(args: BatchGetFinancialRecordCommandInput, cb: (err: any, data?: BatchGetFinancialRecordCommandOutput) => void): void;
|
|
21
|
+
batchGetFinancialRecord(args: BatchGetFinancialRecordCommandInput, options: PaymentsRequestOptions, cb: (err: any, data?: BatchGetFinancialRecordCommandOutput) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link GetAccountBalanceCommand}
|
|
24
|
+
*/
|
|
25
|
+
getAccountBalance(args: GetAccountBalanceCommandInput, options?: PaymentsRequestOptions): Promise<GetAccountBalanceCommandOutput>;
|
|
26
|
+
getAccountBalance(args: GetAccountBalanceCommandInput, cb: (err: any, data?: GetAccountBalanceCommandOutput) => void): void;
|
|
27
|
+
getAccountBalance(args: GetAccountBalanceCommandInput, options: PaymentsRequestOptions, cb: (err: any, data?: GetAccountBalanceCommandOutput) => void): void;
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link GetFinancialRecordCommand}
|
|
30
|
+
*/
|
|
31
|
+
getFinancialRecord(): Promise<GetFinancialRecordCommandOutput>;
|
|
32
|
+
getFinancialRecord(args: GetFinancialRecordCommandInput, options?: PaymentsRequestOptions): Promise<GetFinancialRecordCommandOutput>;
|
|
33
|
+
getFinancialRecord(args: GetFinancialRecordCommandInput, cb: (err: any, data?: GetFinancialRecordCommandOutput) => void): void;
|
|
34
|
+
getFinancialRecord(args: GetFinancialRecordCommandInput, options: PaymentsRequestOptions, cb: (err: any, data?: GetFinancialRecordCommandOutput) => void): void;
|
|
35
|
+
/**
|
|
36
|
+
* @see {@link GetPaymentInstrumentCommand}
|
|
37
|
+
*/
|
|
38
|
+
getPaymentInstrument(args: GetPaymentInstrumentCommandInput, options?: PaymentsRequestOptions): Promise<GetPaymentInstrumentCommandOutput>;
|
|
39
|
+
getPaymentInstrument(args: GetPaymentInstrumentCommandInput, cb: (err: any, data?: GetPaymentInstrumentCommandOutput) => void): void;
|
|
40
|
+
getPaymentInstrument(args: GetPaymentInstrumentCommandInput, options: PaymentsRequestOptions, cb: (err: any, data?: GetPaymentInstrumentCommandOutput) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link ListFinancialRecordsCommand}
|
|
43
|
+
*/
|
|
44
|
+
listFinancialRecords(args: ListFinancialRecordsCommandInput, options?: PaymentsRequestOptions): Promise<ListFinancialRecordsCommandOutput>;
|
|
45
|
+
listFinancialRecords(args: ListFinancialRecordsCommandInput, cb: (err: any, data?: ListFinancialRecordsCommandOutput) => void): void;
|
|
46
|
+
listFinancialRecords(args: ListFinancialRecordsCommandInput, options: PaymentsRequestOptions, cb: (err: any, data?: ListFinancialRecordsCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link ListPaymentInstrumentsCommand}
|
|
49
|
+
*/
|
|
50
|
+
listPaymentInstruments(): Promise<ListPaymentInstrumentsCommandOutput>;
|
|
51
|
+
listPaymentInstruments(args: ListPaymentInstrumentsCommandInput, options?: PaymentsRequestOptions): Promise<ListPaymentInstrumentsCommandOutput>;
|
|
52
|
+
listPaymentInstruments(args: ListPaymentInstrumentsCommandInput, cb: (err: any, data?: ListPaymentInstrumentsCommandOutput) => void): void;
|
|
53
|
+
listPaymentInstruments(args: ListPaymentInstrumentsCommandInput, options: PaymentsRequestOptions, cb: (err: any, data?: ListPaymentInstrumentsCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link GetAccountBalanceCommand}
|
|
56
|
+
* @param args - command input.
|
|
57
|
+
* @param paginationConfig - optional pagination config.
|
|
58
|
+
* @returns AsyncIterable of {@link GetAccountBalanceCommandOutput}.
|
|
59
|
+
*/
|
|
60
|
+
paginateGetAccountBalance(args: GetAccountBalanceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetAccountBalanceCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link ListFinancialRecordsCommand}
|
|
63
|
+
* @param args - command input.
|
|
64
|
+
* @param paginationConfig - optional pagination config.
|
|
65
|
+
* @returns AsyncIterable of {@link ListFinancialRecordsCommandOutput}.
|
|
66
|
+
*/
|
|
67
|
+
paginateListFinancialRecords(args: ListFinancialRecordsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFinancialRecordsCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @see {@link ListPaymentInstrumentsCommand}
|
|
70
|
+
* @param args - command input.
|
|
71
|
+
* @param paginationConfig - optional pagination config.
|
|
72
|
+
* @returns AsyncIterable of {@link ListPaymentInstrumentsCommandOutput}.
|
|
73
|
+
*/
|
|
74
|
+
paginateListPaymentInstruments(args?: ListPaymentInstrumentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPaymentInstrumentsCommandOutput>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* <p>Amazon Web Services Payments manages how money moves between you and Amazon Web Services. It holds the payment instruments you use to pay Amazon Web Services and to receive money from Amazon Web Services, such as cards and bank accounts. It collects payment for your Amazon Web Services invoices, applies your payments and credit memos to them, and returns refunds.</p> <p>A payment instrument is a channel that moves money between you and Amazon Web Services, and its payment method is the kind of instrument, such as a card or a bank account. A financial record is an invoice or credit memo. It shows how much of its amount is outstanding, processing, settled, and canceled as Amazon Web Services applies payments and credits.</p> <p>With the Amazon Web Services Payments API, you can read your financial records and account balances, and read your payment instruments and their status.</p> <p>The Amazon Web Services Payments API provides the following endpoint:</p> <p> <code>https://payments.us-east-1.api.aws</code> </p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class Payments extends PaymentsClient implements Payments {
|
|
81
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
2
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
5
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
6
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { BatchGetFinancialRecordCommandInput, BatchGetFinancialRecordCommandOutput } from "./commands/BatchGetFinancialRecordCommand";
|
|
10
|
+
import type { GetAccountBalanceCommandInput, GetAccountBalanceCommandOutput } from "./commands/GetAccountBalanceCommand";
|
|
11
|
+
import type { GetFinancialRecordCommandInput, GetFinancialRecordCommandOutput } from "./commands/GetFinancialRecordCommand";
|
|
12
|
+
import type { GetPaymentInstrumentCommandInput, GetPaymentInstrumentCommandOutput } from "./commands/GetPaymentInstrumentCommand";
|
|
13
|
+
import type { ListFinancialRecordsCommandInput, ListFinancialRecordsCommandOutput } from "./commands/ListFinancialRecordsCommand";
|
|
14
|
+
import type { ListPaymentInstrumentsCommandInput, ListPaymentInstrumentsCommandOutput } from "./commands/ListPaymentInstrumentsCommand";
|
|
15
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
17
|
+
export { __Client };
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type ServiceInputTypes = BatchGetFinancialRecordCommandInput | GetAccountBalanceCommandInput | GetFinancialRecordCommandInput | GetPaymentInstrumentCommandInput | ListFinancialRecordsCommandInput | ListPaymentInstrumentsCommandInput;
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type ServiceOutputTypes = BatchGetFinancialRecordCommandOutput | GetAccountBalanceCommandOutput | GetFinancialRecordCommandOutput | GetPaymentInstrumentCommandOutput | ListFinancialRecordsCommandOutput | ListPaymentInstrumentsCommandOutput;
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
30
|
+
/**
|
|
31
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
32
|
+
*/
|
|
33
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
34
|
+
/**
|
|
35
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
36
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
40
|
+
/**
|
|
41
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
urlParser?: __UrlParser;
|
|
45
|
+
/**
|
|
46
|
+
* A function that can calculate the length of a request body.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
50
|
+
/**
|
|
51
|
+
* A function that converts a stream into an array of bytes.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
streamCollector?: __StreamCollector;
|
|
55
|
+
/**
|
|
56
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
base64Decoder?: __Decoder;
|
|
60
|
+
/**
|
|
61
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
base64Encoder?: __Encoder;
|
|
65
|
+
/**
|
|
66
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
utf8Decoder?: __Decoder;
|
|
70
|
+
/**
|
|
71
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
utf8Encoder?: __Encoder;
|
|
75
|
+
/**
|
|
76
|
+
* The runtime environment.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
runtime?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
82
|
+
* trait of an operation.
|
|
83
|
+
*/
|
|
84
|
+
disableHostPrefix?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Unique service identifier.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
serviceId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
92
|
+
*/
|
|
93
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* Enables FIPS compatible endpoints.
|
|
96
|
+
*/
|
|
97
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* The AWS region to which this client will send requests
|
|
100
|
+
*/
|
|
101
|
+
region?: string | __Provider<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Setting a client profile is similar to setting a value for the
|
|
104
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
105
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
106
|
+
*
|
|
107
|
+
* When set, and only for environments where an AWS configuration
|
|
108
|
+
* file exists, fields configurable by this file will be retrieved
|
|
109
|
+
* from the specified profile within that file.
|
|
110
|
+
* Conflicting code configuration and environment variables will
|
|
111
|
+
* still have higher priority.
|
|
112
|
+
*
|
|
113
|
+
* For client credential resolution that involves checking the AWS
|
|
114
|
+
* configuration file, the client's profile (this value) will be
|
|
115
|
+
* used unless a different profile is set in the credential
|
|
116
|
+
* provider options.
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
profile?: string;
|
|
120
|
+
/**
|
|
121
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
125
|
+
/**
|
|
126
|
+
* Default credentials provider; Not available in browser runtime.
|
|
127
|
+
* @deprecated
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
131
|
+
/**
|
|
132
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
133
|
+
*/
|
|
134
|
+
maxAttempts?: number | __Provider<number>;
|
|
135
|
+
/**
|
|
136
|
+
* Specifies which retry algorithm to use.
|
|
137
|
+
* Accepted values are "standard" and "adaptive".
|
|
138
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
retryMode?: string | __Provider<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Optional logger for logging debug/info/warn/error.
|
|
144
|
+
*/
|
|
145
|
+
logger?: __Logger;
|
|
146
|
+
/**
|
|
147
|
+
* Optional extensions
|
|
148
|
+
*/
|
|
149
|
+
extensions?: RuntimeExtension[];
|
|
150
|
+
/**
|
|
151
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
152
|
+
*/
|
|
153
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
export type PaymentsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*
|
|
162
|
+
* The configuration interface of PaymentsClient class constructor that set the region, credentials and other options.
|
|
163
|
+
*/
|
|
164
|
+
export interface PaymentsClientConfig extends PaymentsClientConfigType {
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export type PaymentsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*
|
|
173
|
+
* The resolved configuration interface of PaymentsClient class. This is resolved and normalized from the {@link PaymentsClientConfig | constructor configuration interface}.
|
|
174
|
+
*/
|
|
175
|
+
export interface PaymentsClientResolvedConfig extends PaymentsClientResolvedConfigType {
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* <p>Amazon Web Services Payments manages how money moves between you and Amazon Web Services. It holds the payment instruments you use to pay Amazon Web Services and to receive money from Amazon Web Services, such as cards and bank accounts. It collects payment for your Amazon Web Services invoices, applies your payments and credit memos to them, and returns refunds.</p> <p>A payment instrument is a channel that moves money between you and Amazon Web Services, and its payment method is the kind of instrument, such as a card or a bank account. A financial record is an invoice or credit memo. It shows how much of its amount is outstanding, processing, settled, and canceled as Amazon Web Services applies payments and credits.</p> <p>With the Amazon Web Services Payments API, you can read your financial records and account balances, and read your payment instruments and their status.</p> <p>The Amazon Web Services Payments API provides the following endpoint:</p> <p> <code>https://payments.us-east-1.api.aws</code> </p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
export declare class PaymentsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PaymentsClientResolvedConfig> {
|
|
182
|
+
/**
|
|
183
|
+
* The resolved configuration of PaymentsClient class. This is resolved and normalized from the {@link PaymentsClientConfig | constructor configuration interface}.
|
|
184
|
+
*/
|
|
185
|
+
readonly config: PaymentsClientResolvedConfig;
|
|
186
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<PaymentsClientConfig>);
|
|
187
|
+
/**
|
|
188
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
189
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
190
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
191
|
+
*/
|
|
192
|
+
destroy(): void;
|
|
193
|
+
}
|