@finverse/sdk-typescript 0.0.405 → 0.0.409
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/dist/api.d.ts +203 -6555
- package/dist/api.js +136 -237
- package/dist/base.d.ts +0 -24
- package/dist/base.js +0 -19
- package/dist/common.d.ts +4 -35
- package/dist/common.js +18 -38
- package/dist/configuration.d.ts +24 -17
- package/dist/configuration.js +3 -3
- package/package.json +3 -3
package/dist/api.js
CHANGED
|
@@ -23,8 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkStatus = exports.PaymentLinkSessionStatus = exports.PaymentLinkMode = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountType = exports.MandateStatus = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LoginIdentityStatus = exports.LoginIdentitySessionStatus = exports.LoginIdentityAuthStatus = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.KcpVaMetadataVaReceiptGubnEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.IntegrationMetadataPaymentUserRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FuturePaymentsMode = exports.FinverseErrorCategory = exports.FeePaidBy = exports.DisputeStatus = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardStatus = exports.CardFundingType = exports.BillStatus = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountNumberType = exports.AccountCategory = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = void 0;
|
|
26
|
+
exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDisputesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.ListBillsStatusesEnum = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.TransactionLimitsResponsePeriodEnum = exports.TransactionLimitsRequestPeriodEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.ProductHealthStatus = exports.PayoutType = exports.PayoutStatus = exports.PaymentUserType = exports.PaymentType = exports.PaymentSubtype = exports.PaymentStatus = exports.PaymentScheduleFrequencyEnum = exports.PaymentMethodType = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = void 0;
|
|
27
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -33,8 +33,6 @@ const common_1 = require("./common");
|
|
|
33
33
|
const base_1 = require("./base");
|
|
34
34
|
/**
|
|
35
35
|
* Account category
|
|
36
|
-
* @export
|
|
37
|
-
* @enum {string}
|
|
38
36
|
*/
|
|
39
37
|
exports.AccountCategory = {
|
|
40
38
|
Unknown: 'UNKNOWN',
|
|
@@ -46,8 +44,6 @@ exports.AccountCategory = {
|
|
|
46
44
|
};
|
|
47
45
|
/**
|
|
48
46
|
* Type of account number. Possible values: LOCAL, IBAN
|
|
49
|
-
* @export
|
|
50
|
-
* @enum {string}
|
|
51
47
|
*/
|
|
52
48
|
exports.AccountNumberType = {
|
|
53
49
|
Local: 'LOCAL',
|
|
@@ -94,8 +90,6 @@ exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = {
|
|
|
94
90
|
};
|
|
95
91
|
/**
|
|
96
92
|
* Bill status
|
|
97
|
-
* @export
|
|
98
|
-
* @enum {string}
|
|
99
93
|
*/
|
|
100
94
|
exports.BillStatus = {
|
|
101
95
|
Unknown: 'UNKNOWN',
|
|
@@ -106,8 +100,6 @@ exports.BillStatus = {
|
|
|
106
100
|
};
|
|
107
101
|
/**
|
|
108
102
|
* The funding source of the card
|
|
109
|
-
* @export
|
|
110
|
-
* @enum {string}
|
|
111
103
|
*/
|
|
112
104
|
exports.CardFundingType = {
|
|
113
105
|
Unknown: 'UNKNOWN',
|
|
@@ -117,8 +109,6 @@ exports.CardFundingType = {
|
|
|
117
109
|
};
|
|
118
110
|
/**
|
|
119
111
|
* Card status
|
|
120
|
-
* @export
|
|
121
|
-
* @enum {string}
|
|
122
112
|
*/
|
|
123
113
|
exports.CardStatus = {
|
|
124
114
|
Unknown: 'UNKNOWN',
|
|
@@ -145,8 +135,6 @@ exports.CreateRecipientAccountAccountTypeEnum = {
|
|
|
145
135
|
};
|
|
146
136
|
/**
|
|
147
137
|
* The status of the dispute
|
|
148
|
-
* @export
|
|
149
|
-
* @enum {string}
|
|
150
138
|
*/
|
|
151
139
|
exports.DisputeStatus = {
|
|
152
140
|
Unknown: 'UNKNOWN',
|
|
@@ -159,8 +147,6 @@ exports.DisputeStatus = {
|
|
|
159
147
|
};
|
|
160
148
|
/**
|
|
161
149
|
* Who pays the fee
|
|
162
|
-
* @export
|
|
163
|
-
* @enum {string}
|
|
164
150
|
*/
|
|
165
151
|
exports.FeePaidBy = {
|
|
166
152
|
Recipient: 'RECIPIENT',
|
|
@@ -168,8 +154,6 @@ exports.FeePaidBy = {
|
|
|
168
154
|
};
|
|
169
155
|
/**
|
|
170
156
|
* The error type
|
|
171
|
-
* @export
|
|
172
|
-
* @enum {string}
|
|
173
157
|
*/
|
|
174
158
|
exports.FinverseErrorCategory = {
|
|
175
159
|
LinkError: 'LINK_ERROR',
|
|
@@ -177,8 +161,6 @@ exports.FinverseErrorCategory = {
|
|
|
177
161
|
};
|
|
178
162
|
/**
|
|
179
163
|
* The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
|
|
180
|
-
* @export
|
|
181
|
-
* @enum {string}
|
|
182
164
|
*/
|
|
183
165
|
exports.FuturePaymentsMode = {
|
|
184
166
|
Autopay: 'AUTOPAY',
|
|
@@ -255,8 +237,6 @@ exports.LinkTokenRequestAutomaticDataRefreshEnum = {
|
|
|
255
237
|
};
|
|
256
238
|
/**
|
|
257
239
|
* Login identity authentication status
|
|
258
|
-
* @export
|
|
259
|
-
* @enum {string}
|
|
260
240
|
*/
|
|
261
241
|
exports.LoginIdentityAuthStatus = {
|
|
262
242
|
Unknown: 'UNKNOWN',
|
|
@@ -269,8 +249,6 @@ exports.LoginIdentityAuthStatus = {
|
|
|
269
249
|
};
|
|
270
250
|
/**
|
|
271
251
|
* Login identity session status
|
|
272
|
-
* @export
|
|
273
|
-
* @enum {string}
|
|
274
252
|
*/
|
|
275
253
|
exports.LoginIdentitySessionStatus = {
|
|
276
254
|
Unknown: 'UNKNOWN',
|
|
@@ -280,8 +258,6 @@ exports.LoginIdentitySessionStatus = {
|
|
|
280
258
|
};
|
|
281
259
|
/**
|
|
282
260
|
* Login identity status
|
|
283
|
-
* @export
|
|
284
|
-
* @enum {string}
|
|
285
261
|
*/
|
|
286
262
|
exports.LoginIdentityStatus = {
|
|
287
263
|
Unknown: 'UNKNOWN',
|
|
@@ -318,8 +294,6 @@ exports.MandateAuthLinkCustomizationsUiModeEnum = {
|
|
|
318
294
|
};
|
|
319
295
|
/**
|
|
320
296
|
* Mandate status
|
|
321
|
-
* @export
|
|
322
|
-
* @enum {string}
|
|
323
297
|
*/
|
|
324
298
|
exports.MandateStatus = {
|
|
325
299
|
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
@@ -335,8 +309,6 @@ exports.MandateStatus = {
|
|
|
335
309
|
};
|
|
336
310
|
/**
|
|
337
311
|
* Type of payment account
|
|
338
|
-
* @export
|
|
339
|
-
* @enum {string}
|
|
340
312
|
*/
|
|
341
313
|
exports.PaymentAccountType = {
|
|
342
314
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
@@ -360,8 +332,6 @@ exports.PaymentLinkCustomizationsUiModeEnum = {
|
|
|
360
332
|
};
|
|
361
333
|
/**
|
|
362
334
|
* The payment link mode
|
|
363
|
-
* @export
|
|
364
|
-
* @enum {string}
|
|
365
335
|
*/
|
|
366
336
|
exports.PaymentLinkMode = {
|
|
367
337
|
Payment: 'PAYMENT',
|
|
@@ -369,8 +339,6 @@ exports.PaymentLinkMode = {
|
|
|
369
339
|
};
|
|
370
340
|
/**
|
|
371
341
|
* The session status of payment link
|
|
372
|
-
* @export
|
|
373
|
-
* @enum {string}
|
|
374
342
|
*/
|
|
375
343
|
exports.PaymentLinkSessionStatus = {
|
|
376
344
|
Open: 'OPEN',
|
|
@@ -380,8 +348,6 @@ exports.PaymentLinkSessionStatus = {
|
|
|
380
348
|
};
|
|
381
349
|
/**
|
|
382
350
|
* The status of payment link
|
|
383
|
-
* @export
|
|
384
|
-
* @enum {string}
|
|
385
351
|
*/
|
|
386
352
|
exports.PaymentLinkStatus = {
|
|
387
353
|
Created: 'CREATED',
|
|
@@ -411,8 +377,6 @@ exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum =
|
|
|
411
377
|
};
|
|
412
378
|
/**
|
|
413
379
|
* The payment method type
|
|
414
|
-
* @export
|
|
415
|
-
* @enum {string}
|
|
416
380
|
*/
|
|
417
381
|
exports.PaymentMethodType = {
|
|
418
382
|
Card: 'CARD',
|
|
@@ -427,8 +391,6 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
427
391
|
};
|
|
428
392
|
/**
|
|
429
393
|
* Payment status
|
|
430
|
-
* @export
|
|
431
|
-
* @enum {string}
|
|
432
394
|
*/
|
|
433
395
|
exports.PaymentStatus = {
|
|
434
396
|
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
@@ -441,10 +403,24 @@ exports.PaymentStatus = {
|
|
|
441
403
|
Cancelled: 'CANCELLED',
|
|
442
404
|
Created: 'CREATED',
|
|
443
405
|
};
|
|
406
|
+
/**
|
|
407
|
+
* The payment subtype, derived from the payment\'s rail. Absent if the payment rail is unknown.
|
|
408
|
+
*/
|
|
409
|
+
exports.PaymentSubtype = {
|
|
410
|
+
FpsHk: 'FPS_HK',
|
|
411
|
+
PaynowSg: 'PAYNOW_SG',
|
|
412
|
+
EgiroSg: 'EGIRO_SG',
|
|
413
|
+
EddaHk: 'EDDA_HK',
|
|
414
|
+
CardKr: 'CARD_KR',
|
|
415
|
+
CardGeneric: 'CARD_GENERIC',
|
|
416
|
+
WalletGeneric: 'WALLET_GENERIC',
|
|
417
|
+
GocardlessGeneric: 'GOCARDLESS_GENERIC',
|
|
418
|
+
ManualGeneric: 'MANUAL_GENERIC',
|
|
419
|
+
ManualKr: 'MANUAL_KR',
|
|
420
|
+
BankpayKr: 'BANKPAY_KR',
|
|
421
|
+
};
|
|
444
422
|
/**
|
|
445
423
|
* Indicates whether this is a mandate-based payment or one-off direct payment to an account
|
|
446
|
-
* @export
|
|
447
|
-
* @enum {string}
|
|
448
424
|
*/
|
|
449
425
|
exports.PaymentType = {
|
|
450
426
|
Mandate: 'MANDATE',
|
|
@@ -455,8 +431,6 @@ exports.PaymentType = {
|
|
|
455
431
|
};
|
|
456
432
|
/**
|
|
457
433
|
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
458
|
-
* @export
|
|
459
|
-
* @enum {string}
|
|
460
434
|
*/
|
|
461
435
|
exports.PaymentUserType = {
|
|
462
436
|
Individual: 'INDIVIDUAL',
|
|
@@ -464,8 +438,6 @@ exports.PaymentUserType = {
|
|
|
464
438
|
};
|
|
465
439
|
/**
|
|
466
440
|
* Payout status
|
|
467
|
-
* @export
|
|
468
|
-
* @enum {string}
|
|
469
441
|
*/
|
|
470
442
|
exports.PayoutStatus = {
|
|
471
443
|
Executed: 'EXECUTED',
|
|
@@ -479,8 +451,6 @@ exports.PayoutStatus = {
|
|
|
479
451
|
};
|
|
480
452
|
/**
|
|
481
453
|
* Payout type
|
|
482
|
-
* @export
|
|
483
|
-
* @enum {string}
|
|
484
454
|
*/
|
|
485
455
|
exports.PayoutType = {
|
|
486
456
|
Manual: 'MANUAL',
|
|
@@ -490,8 +460,6 @@ exports.PayoutType = {
|
|
|
490
460
|
};
|
|
491
461
|
/**
|
|
492
462
|
* Health status of a login identity product
|
|
493
|
-
* @export
|
|
494
|
-
* @enum {string}
|
|
495
463
|
*/
|
|
496
464
|
exports.ProductHealthStatus = {
|
|
497
465
|
Unknown: 'UNKNOWN',
|
|
@@ -540,7 +508,6 @@ exports.UpdateTestPaymentStatusRequestStatusEnum = {
|
|
|
540
508
|
};
|
|
541
509
|
/**
|
|
542
510
|
* CustomerApi - axios parameter creator
|
|
543
|
-
* @export
|
|
544
511
|
*/
|
|
545
512
|
const CustomerApiAxiosParamCreator = function (configuration) {
|
|
546
513
|
return {
|
|
@@ -553,7 +520,7 @@ const CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
553
520
|
getInstitution: (institutionId_1, ...args_1) => __awaiter(this, [institutionId_1, ...args_1], void 0, function* (institutionId, options = {}) {
|
|
554
521
|
// verify required parameter 'institutionId' is not null or undefined
|
|
555
522
|
(0, common_1.assertParamExists)('getInstitution', 'institutionId', institutionId);
|
|
556
|
-
const localVarPath = `/institutions/{institutionId}`.replace(
|
|
523
|
+
const localVarPath = `/institutions/{institutionId}`.replace('{institutionId}', encodeURIComponent(String(institutionId)));
|
|
557
524
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
558
525
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
559
526
|
let baseOptions;
|
|
@@ -566,6 +533,7 @@ const CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
566
533
|
// authentication Oauth2 required
|
|
567
534
|
// oauth required
|
|
568
535
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', ['institution'], configuration);
|
|
536
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
569
537
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
570
538
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
571
539
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -593,6 +561,7 @@ const CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
593
561
|
// authentication Oauth2 required
|
|
594
562
|
// oauth required
|
|
595
563
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
564
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
596
565
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
597
566
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
598
567
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -636,6 +605,7 @@ const CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
636
605
|
if (institutionType !== undefined) {
|
|
637
606
|
localVarQueryParameter['institution_type'] = institutionType;
|
|
638
607
|
}
|
|
608
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
639
609
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
640
610
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
641
611
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -667,6 +637,7 @@ const CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
667
637
|
// oauth required
|
|
668
638
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
669
639
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
640
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
670
641
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
671
642
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
672
643
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -681,7 +652,6 @@ const CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
681
652
|
exports.CustomerApiAxiosParamCreator = CustomerApiAxiosParamCreator;
|
|
682
653
|
/**
|
|
683
654
|
* CustomerApi - functional programming interface
|
|
684
|
-
* @export
|
|
685
655
|
*/
|
|
686
656
|
const CustomerApiFp = function (configuration) {
|
|
687
657
|
const localVarAxiosParamCreator = (0, exports.CustomerApiAxiosParamCreator)(configuration);
|
|
@@ -753,7 +723,6 @@ const CustomerApiFp = function (configuration) {
|
|
|
753
723
|
exports.CustomerApiFp = CustomerApiFp;
|
|
754
724
|
/**
|
|
755
725
|
* CustomerApi - factory interface
|
|
756
|
-
* @export
|
|
757
726
|
*/
|
|
758
727
|
const CustomerApiFactory = function (configuration, basePath, axios) {
|
|
759
728
|
const localVarFp = (0, exports.CustomerApiFp)(configuration);
|
|
@@ -803,9 +772,6 @@ const CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
803
772
|
exports.CustomerApiFactory = CustomerApiFactory;
|
|
804
773
|
/**
|
|
805
774
|
* CustomerApi - object-oriented interface
|
|
806
|
-
* @export
|
|
807
|
-
* @class CustomerApi
|
|
808
|
-
* @extends {BaseAPI}
|
|
809
775
|
*/
|
|
810
776
|
class CustomerApi extends base_1.BaseAPI {
|
|
811
777
|
/**
|
|
@@ -813,7 +779,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
813
779
|
* @param {string} institutionId The institution id
|
|
814
780
|
* @param {*} [options] Override http request option.
|
|
815
781
|
* @throws {RequiredError}
|
|
816
|
-
* @memberof CustomerApi
|
|
817
782
|
*/
|
|
818
783
|
getInstitution(institutionId, options) {
|
|
819
784
|
return (0, exports.CustomerApiFp)(this.configuration)
|
|
@@ -824,7 +789,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
824
789
|
* Get a customer-specific list of institutions for Finverse Link
|
|
825
790
|
* @param {*} [options] Override http request option.
|
|
826
791
|
* @throws {RequiredError}
|
|
827
|
-
* @memberof CustomerApi
|
|
828
792
|
*/
|
|
829
793
|
getInstitutionsForCustomer(options) {
|
|
830
794
|
return (0, exports.CustomerApiFp)(this.configuration)
|
|
@@ -839,7 +803,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
839
803
|
* @param {ListInstitutionsInstitutionTypeEnum} [institutionType] The type of institution
|
|
840
804
|
* @param {*} [options] Override http request option.
|
|
841
805
|
* @throws {RequiredError}
|
|
842
|
-
* @memberof CustomerApi
|
|
843
806
|
*/
|
|
844
807
|
listInstitutions(country, countries, productsSupported, institutionType, options) {
|
|
845
808
|
return (0, exports.CustomerApiFp)(this.configuration)
|
|
@@ -851,7 +814,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
851
814
|
* @param {RefreshRequest} refreshRequest The refresh token
|
|
852
815
|
* @param {*} [options] Override http request option.
|
|
853
816
|
* @throws {RequiredError}
|
|
854
|
-
* @memberof CustomerApi
|
|
855
817
|
*/
|
|
856
818
|
refreshToken(refreshRequest, options) {
|
|
857
819
|
return (0, exports.CustomerApiFp)(this.configuration)
|
|
@@ -860,9 +822,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
860
822
|
}
|
|
861
823
|
}
|
|
862
824
|
exports.CustomerApi = CustomerApi;
|
|
863
|
-
/**
|
|
864
|
-
* @export
|
|
865
|
-
*/
|
|
866
825
|
exports.ListInstitutionsInstitutionTypeEnum = {
|
|
867
826
|
Bank: 'BANK',
|
|
868
827
|
Wallet: 'WALLET',
|
|
@@ -870,7 +829,6 @@ exports.ListInstitutionsInstitutionTypeEnum = {
|
|
|
870
829
|
};
|
|
871
830
|
/**
|
|
872
831
|
* LinkApi - axios parameter creator
|
|
873
|
-
* @export
|
|
874
832
|
*/
|
|
875
833
|
const LinkApiAxiosParamCreator = function (configuration) {
|
|
876
834
|
return {
|
|
@@ -897,6 +855,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
897
855
|
// oauth required
|
|
898
856
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
899
857
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
858
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
900
859
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
901
860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
902
861
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -929,6 +888,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
929
888
|
// oauth required
|
|
930
889
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
931
890
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
891
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
932
892
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
933
893
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
934
894
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -950,7 +910,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
950
910
|
(0, common_1.assertParamExists)('linkAction', 'loginIdentityId', loginIdentityId);
|
|
951
911
|
// verify required parameter 'actionRequest' is not null or undefined
|
|
952
912
|
(0, common_1.assertParamExists)('linkAction', 'actionRequest', actionRequest);
|
|
953
|
-
const localVarPath = `/link/action/{loginIdentityId}`.replace(
|
|
913
|
+
const localVarPath = `/link/action/{loginIdentityId}`.replace('{loginIdentityId}', encodeURIComponent(String(loginIdentityId)));
|
|
954
914
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
955
915
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
956
916
|
let baseOptions;
|
|
@@ -964,6 +924,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
964
924
|
// oauth required
|
|
965
925
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
966
926
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
927
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
967
928
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
968
929
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
969
930
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -982,7 +943,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
982
943
|
linkStatus: (loginIdentityId_1, ...args_1) => __awaiter(this, [loginIdentityId_1, ...args_1], void 0, function* (loginIdentityId, options = {}) {
|
|
983
944
|
// verify required parameter 'loginIdentityId' is not null or undefined
|
|
984
945
|
(0, common_1.assertParamExists)('linkStatus', 'loginIdentityId', loginIdentityId);
|
|
985
|
-
const localVarPath = `/link/status/{loginIdentityId}`.replace(
|
|
946
|
+
const localVarPath = `/link/status/{loginIdentityId}`.replace('{loginIdentityId}', encodeURIComponent(String(loginIdentityId)));
|
|
986
947
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
987
948
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
988
949
|
let baseOptions;
|
|
@@ -995,6 +956,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
995
956
|
// authentication Oauth2 required
|
|
996
957
|
// oauth required
|
|
997
958
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
959
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
998
960
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
999
961
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1000
962
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1015,7 +977,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
1015
977
|
(0, common_1.assertParamExists)('relinkV2', 'loginIdentityId', loginIdentityId);
|
|
1016
978
|
// verify required parameter 'apiRelinkRequest' is not null or undefined
|
|
1017
979
|
(0, common_1.assertParamExists)('relinkV2', 'apiRelinkRequest', apiRelinkRequest);
|
|
1018
|
-
const localVarPath = `/link/relink/{loginIdentityId}`.replace(
|
|
980
|
+
const localVarPath = `/link/relink/{loginIdentityId}`.replace('{loginIdentityId}', encodeURIComponent(String(loginIdentityId)));
|
|
1019
981
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1020
982
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1021
983
|
let baseOptions;
|
|
@@ -1029,6 +991,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
1029
991
|
// oauth required
|
|
1030
992
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1031
993
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
994
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1032
995
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1033
996
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1034
997
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1083,6 +1046,7 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
1083
1046
|
localVarFormParams.set('redirect_uri', redirectUri);
|
|
1084
1047
|
}
|
|
1085
1048
|
localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
1049
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1086
1050
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1087
1051
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1088
1052
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1097,7 +1061,6 @@ const LinkApiAxiosParamCreator = function (configuration) {
|
|
|
1097
1061
|
exports.LinkApiAxiosParamCreator = LinkApiAxiosParamCreator;
|
|
1098
1062
|
/**
|
|
1099
1063
|
* LinkApi - functional programming interface
|
|
1100
|
-
* @export
|
|
1101
1064
|
*/
|
|
1102
1065
|
const LinkApiFp = function (configuration) {
|
|
1103
1066
|
const localVarAxiosParamCreator = (0, exports.LinkApiAxiosParamCreator)(configuration);
|
|
@@ -1202,7 +1165,6 @@ const LinkApiFp = function (configuration) {
|
|
|
1202
1165
|
exports.LinkApiFp = LinkApiFp;
|
|
1203
1166
|
/**
|
|
1204
1167
|
* LinkApi - factory interface
|
|
1205
|
-
* @export
|
|
1206
1168
|
*/
|
|
1207
1169
|
const LinkApiFactory = function (configuration, basePath, axios) {
|
|
1208
1170
|
const localVarFp = (0, exports.LinkApiFp)(configuration);
|
|
@@ -1275,9 +1237,6 @@ const LinkApiFactory = function (configuration, basePath, axios) {
|
|
|
1275
1237
|
exports.LinkApiFactory = LinkApiFactory;
|
|
1276
1238
|
/**
|
|
1277
1239
|
* LinkApi - object-oriented interface
|
|
1278
|
-
* @export
|
|
1279
|
-
* @class LinkApi
|
|
1280
|
-
* @extends {BaseAPI}
|
|
1281
1240
|
*/
|
|
1282
1241
|
class LinkApi extends base_1.BaseAPI {
|
|
1283
1242
|
/**
|
|
@@ -1285,7 +1244,6 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
1285
1244
|
* @param {ApiLinkRequest} apiLinkRequest Request body for creating a new link and submitting credentials
|
|
1286
1245
|
* @param {*} [options] Override http request option.
|
|
1287
1246
|
* @throws {RequiredError}
|
|
1288
|
-
* @memberof LinkApi
|
|
1289
1247
|
*/
|
|
1290
1248
|
createLink(apiLinkRequest, options) {
|
|
1291
1249
|
return (0, exports.LinkApiFp)(this.configuration)
|
|
@@ -1297,7 +1255,6 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
1297
1255
|
* @param {LinkTokenRequest} linkTokenRequest token request
|
|
1298
1256
|
* @param {*} [options] Override http request option.
|
|
1299
1257
|
* @throws {RequiredError}
|
|
1300
|
-
* @memberof LinkApi
|
|
1301
1258
|
*/
|
|
1302
1259
|
generateLinkToken(linkTokenRequest, options) {
|
|
1303
1260
|
return (0, exports.LinkApiFp)(this.configuration)
|
|
@@ -1310,7 +1267,6 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
1310
1267
|
* @param {ActionRequest} actionRequest Request body for post link action
|
|
1311
1268
|
* @param {*} [options] Override http request option.
|
|
1312
1269
|
* @throws {RequiredError}
|
|
1313
|
-
* @memberof LinkApi
|
|
1314
1270
|
*/
|
|
1315
1271
|
linkAction(loginIdentityId, actionRequest, options) {
|
|
1316
1272
|
return (0, exports.LinkApiFp)(this.configuration)
|
|
@@ -1322,7 +1278,6 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
1322
1278
|
* @param {string} loginIdentityId The login identity id
|
|
1323
1279
|
* @param {*} [options] Override http request option.
|
|
1324
1280
|
* @throws {RequiredError}
|
|
1325
|
-
* @memberof LinkApi
|
|
1326
1281
|
*/
|
|
1327
1282
|
linkStatus(loginIdentityId, options) {
|
|
1328
1283
|
return (0, exports.LinkApiFp)(this.configuration)
|
|
@@ -1335,7 +1290,6 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
1335
1290
|
* @param {ApiRelinkRequest} apiRelinkRequest Request body for relinking and submitting credentials
|
|
1336
1291
|
* @param {*} [options] Override http request option.
|
|
1337
1292
|
* @throws {RequiredError}
|
|
1338
|
-
* @memberof LinkApi
|
|
1339
1293
|
*/
|
|
1340
1294
|
relinkV2(loginIdentityId, apiRelinkRequest, options) {
|
|
1341
1295
|
return (0, exports.LinkApiFp)(this.configuration)
|
|
@@ -1350,7 +1304,6 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
1350
1304
|
* @param {string} redirectUri
|
|
1351
1305
|
* @param {*} [options] Override http request option.
|
|
1352
1306
|
* @throws {RequiredError}
|
|
1353
|
-
* @memberof LinkApi
|
|
1354
1307
|
*/
|
|
1355
1308
|
token(grantType, code, clientId, redirectUri, options) {
|
|
1356
1309
|
return (0, exports.LinkApiFp)(this.configuration)
|
|
@@ -1359,15 +1312,11 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
1359
1312
|
}
|
|
1360
1313
|
}
|
|
1361
1314
|
exports.LinkApi = LinkApi;
|
|
1362
|
-
/**
|
|
1363
|
-
* @export
|
|
1364
|
-
*/
|
|
1365
1315
|
exports.TokenGrantTypeEnum = {
|
|
1366
1316
|
AuthorizationCode: 'authorization_code',
|
|
1367
1317
|
};
|
|
1368
1318
|
/**
|
|
1369
1319
|
* LoginIdentityApi - axios parameter creator
|
|
1370
|
-
* @export
|
|
1371
1320
|
*/
|
|
1372
1321
|
const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
1373
1322
|
return {
|
|
@@ -1390,6 +1339,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1390
1339
|
// authentication Oauth2 required
|
|
1391
1340
|
// oauth required
|
|
1392
1341
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1342
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1393
1343
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1394
1344
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1395
1345
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1407,7 +1357,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1407
1357
|
getAccount: (accountId_1, ...args_1) => __awaiter(this, [accountId_1, ...args_1], void 0, function* (accountId, options = {}) {
|
|
1408
1358
|
// verify required parameter 'accountId' is not null or undefined
|
|
1409
1359
|
(0, common_1.assertParamExists)('getAccount', 'accountId', accountId);
|
|
1410
|
-
const localVarPath = `/accounts/{accountId}`.replace(
|
|
1360
|
+
const localVarPath = `/accounts/{accountId}`.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
1411
1361
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1412
1362
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1413
1363
|
let baseOptions;
|
|
@@ -1420,6 +1370,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1420
1370
|
// authentication Oauth2 required
|
|
1421
1371
|
// oauth required
|
|
1422
1372
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', ['account'], configuration);
|
|
1373
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1423
1374
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1424
1375
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1425
1376
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1437,7 +1388,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1437
1388
|
getAccountNumber: (accountId_1, ...args_1) => __awaiter(this, [accountId_1, ...args_1], void 0, function* (accountId, options = {}) {
|
|
1438
1389
|
// verify required parameter 'accountId' is not null or undefined
|
|
1439
1390
|
(0, common_1.assertParamExists)('getAccountNumber', 'accountId', accountId);
|
|
1440
|
-
const localVarPath = `/account_numbers/{accountId}`.replace(
|
|
1391
|
+
const localVarPath = `/account_numbers/{accountId}`.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
1441
1392
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1442
1393
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1443
1394
|
let baseOptions;
|
|
@@ -1450,6 +1401,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1450
1401
|
// authentication Oauth2 required
|
|
1451
1402
|
// oauth required
|
|
1452
1403
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1404
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1453
1405
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1454
1406
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1455
1407
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1468,7 +1420,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1468
1420
|
getBalanceHistory: (accountId_1, source_1, ...args_1) => __awaiter(this, [accountId_1, source_1, ...args_1], void 0, function* (accountId, source, options = {}) {
|
|
1469
1421
|
// verify required parameter 'accountId' is not null or undefined
|
|
1470
1422
|
(0, common_1.assertParamExists)('getBalanceHistory', 'accountId', accountId);
|
|
1471
|
-
const localVarPath = `/balance_history/{accountId}`.replace(
|
|
1423
|
+
const localVarPath = `/balance_history/{accountId}`.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
1472
1424
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1473
1425
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1474
1426
|
let baseOptions;
|
|
@@ -1484,6 +1436,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1484
1436
|
if (source !== undefined) {
|
|
1485
1437
|
localVarQueryParameter['source'] = source;
|
|
1486
1438
|
}
|
|
1439
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1487
1440
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1488
1441
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1489
1442
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1515,6 +1468,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1515
1468
|
if (redirect !== undefined) {
|
|
1516
1469
|
localVarQueryParameter['redirect'] = redirect;
|
|
1517
1470
|
}
|
|
1471
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1518
1472
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1519
1473
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1520
1474
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1542,6 +1496,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1542
1496
|
// authentication Oauth2 required
|
|
1543
1497
|
// oauth required
|
|
1544
1498
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1499
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1545
1500
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1546
1501
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1547
1502
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1569,6 +1524,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1569
1524
|
// authentication Oauth2 required
|
|
1570
1525
|
// oauth required
|
|
1571
1526
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1527
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1572
1528
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1573
1529
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1574
1530
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1596,6 +1552,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1596
1552
|
// authentication Oauth2 required
|
|
1597
1553
|
// oauth required
|
|
1598
1554
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1555
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1599
1556
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1600
1557
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1601
1558
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1613,7 +1570,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1613
1570
|
getLoginIdentityById: (loginIdentityId_1, ...args_1) => __awaiter(this, [loginIdentityId_1, ...args_1], void 0, function* (loginIdentityId, options = {}) {
|
|
1614
1571
|
// verify required parameter 'loginIdentityId' is not null or undefined
|
|
1615
1572
|
(0, common_1.assertParamExists)('getLoginIdentityById', 'loginIdentityId', loginIdentityId);
|
|
1616
|
-
const localVarPath = `/login_identity/{loginIdentityId}`.replace(
|
|
1573
|
+
const localVarPath = `/login_identity/{loginIdentityId}`.replace('{loginIdentityId}', encodeURIComponent(String(loginIdentityId)));
|
|
1617
1574
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1618
1575
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1619
1576
|
let baseOptions;
|
|
@@ -1626,6 +1583,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1626
1583
|
// authentication Oauth2 required
|
|
1627
1584
|
// oauth required
|
|
1628
1585
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1586
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1629
1587
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1630
1588
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1631
1589
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1643,7 +1601,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1643
1601
|
getLoginIdentityHistory: (loginIdentityId_1, ...args_1) => __awaiter(this, [loginIdentityId_1, ...args_1], void 0, function* (loginIdentityId, options = {}) {
|
|
1644
1602
|
// verify required parameter 'loginIdentityId' is not null or undefined
|
|
1645
1603
|
(0, common_1.assertParamExists)('getLoginIdentityHistory', 'loginIdentityId', loginIdentityId);
|
|
1646
|
-
const localVarPath = `/login_identity/{loginIdentityId}/history`.replace(
|
|
1604
|
+
const localVarPath = `/login_identity/{loginIdentityId}/history`.replace('{loginIdentityId}', encodeURIComponent(String(loginIdentityId)));
|
|
1647
1605
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1648
1606
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1649
1607
|
let baseOptions;
|
|
@@ -1656,6 +1614,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1656
1614
|
// authentication Oauth2 required
|
|
1657
1615
|
// oauth required
|
|
1658
1616
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1617
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1659
1618
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1660
1619
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1661
1620
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1674,7 +1633,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1674
1633
|
getStatement: (statementId_1, redirect_1, ...args_1) => __awaiter(this, [statementId_1, redirect_1, ...args_1], void 0, function* (statementId, redirect, options = {}) {
|
|
1675
1634
|
// verify required parameter 'statementId' is not null or undefined
|
|
1676
1635
|
(0, common_1.assertParamExists)('getStatement', 'statementId', statementId);
|
|
1677
|
-
const localVarPath = `/statements/{statementId}`.replace(
|
|
1636
|
+
const localVarPath = `/statements/{statementId}`.replace('{statementId}', encodeURIComponent(String(statementId)));
|
|
1678
1637
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1679
1638
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1680
1639
|
let baseOptions;
|
|
@@ -1690,6 +1649,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1690
1649
|
if (redirect !== undefined) {
|
|
1691
1650
|
localVarQueryParameter['redirect'] = redirect;
|
|
1692
1651
|
}
|
|
1652
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1693
1653
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1694
1654
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1695
1655
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1717,6 +1677,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1717
1677
|
// authentication Oauth2 required
|
|
1718
1678
|
// oauth required
|
|
1719
1679
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1680
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1720
1681
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1721
1682
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1722
1683
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1744,6 +1705,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1744
1705
|
// authentication Oauth2 required
|
|
1745
1706
|
// oauth required
|
|
1746
1707
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', ['account'], configuration);
|
|
1708
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1747
1709
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1748
1710
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1749
1711
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1771,6 +1733,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1771
1733
|
// authentication Oauth2 required
|
|
1772
1734
|
// oauth required
|
|
1773
1735
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1736
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1774
1737
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1775
1738
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1776
1739
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1791,7 +1754,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1791
1754
|
listTransactionsByAccountId: (accountId_1, offset_1, limit_1, enrichments_1, ...args_1) => __awaiter(this, [accountId_1, offset_1, limit_1, enrichments_1, ...args_1], void 0, function* (accountId, offset, limit, enrichments, options = {}) {
|
|
1792
1755
|
// verify required parameter 'accountId' is not null or undefined
|
|
1793
1756
|
(0, common_1.assertParamExists)('listTransactionsByAccountId', 'accountId', accountId);
|
|
1794
|
-
const localVarPath = `/transactions/{accountId}`.replace(
|
|
1757
|
+
const localVarPath = `/transactions/{accountId}`.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
1795
1758
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1796
1759
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1797
1760
|
let baseOptions;
|
|
@@ -1813,6 +1776,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1813
1776
|
if (enrichments !== undefined) {
|
|
1814
1777
|
localVarQueryParameter['enrichments'] = enrichments;
|
|
1815
1778
|
}
|
|
1779
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1816
1780
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1817
1781
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1818
1782
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1852,6 +1816,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1852
1816
|
if (enrichments !== undefined) {
|
|
1853
1817
|
localVarQueryParameter['enrichments'] = enrichments;
|
|
1854
1818
|
}
|
|
1819
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1855
1820
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1856
1821
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1857
1822
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1881,6 +1846,7 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1881
1846
|
// oauth required
|
|
1882
1847
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1883
1848
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1849
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1884
1850
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1885
1851
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1886
1852
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1895,7 +1861,6 @@ const LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
1895
1861
|
exports.LoginIdentityApiAxiosParamCreator = LoginIdentityApiAxiosParamCreator;
|
|
1896
1862
|
/**
|
|
1897
1863
|
* LoginIdentityApi - functional programming interface
|
|
1898
|
-
* @export
|
|
1899
1864
|
*/
|
|
1900
1865
|
const LoginIdentityApiFp = function (configuration) {
|
|
1901
1866
|
const localVarAxiosParamCreator = (0, exports.LoginIdentityApiAxiosParamCreator)(configuration);
|
|
@@ -2160,7 +2125,6 @@ const LoginIdentityApiFp = function (configuration) {
|
|
|
2160
2125
|
exports.LoginIdentityApiFp = LoginIdentityApiFp;
|
|
2161
2126
|
/**
|
|
2162
2127
|
* LoginIdentityApi - factory interface
|
|
2163
|
-
* @export
|
|
2164
2128
|
*/
|
|
2165
2129
|
const LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
2166
2130
|
const localVarFp = (0, exports.LoginIdentityApiFp)(configuration);
|
|
@@ -2329,16 +2293,12 @@ const LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
2329
2293
|
exports.LoginIdentityApiFactory = LoginIdentityApiFactory;
|
|
2330
2294
|
/**
|
|
2331
2295
|
* LoginIdentityApi - object-oriented interface
|
|
2332
|
-
* @export
|
|
2333
|
-
* @class LoginIdentityApi
|
|
2334
|
-
* @extends {BaseAPI}
|
|
2335
2296
|
*/
|
|
2336
2297
|
class LoginIdentityApi extends base_1.BaseAPI {
|
|
2337
2298
|
/**
|
|
2338
2299
|
* Delete a specific loginIdentity
|
|
2339
2300
|
* @param {*} [options] Override http request option.
|
|
2340
2301
|
* @throws {RequiredError}
|
|
2341
|
-
* @memberof LoginIdentityApi
|
|
2342
2302
|
*/
|
|
2343
2303
|
deleteLoginIdentity(options) {
|
|
2344
2304
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2350,7 +2310,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2350
2310
|
* @param {string} accountId The account id
|
|
2351
2311
|
* @param {*} [options] Override http request option.
|
|
2352
2312
|
* @throws {RequiredError}
|
|
2353
|
-
* @memberof LoginIdentityApi
|
|
2354
2313
|
*/
|
|
2355
2314
|
getAccount(accountId, options) {
|
|
2356
2315
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2362,7 +2321,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2362
2321
|
* @param {string} accountId The account id
|
|
2363
2322
|
* @param {*} [options] Override http request option.
|
|
2364
2323
|
* @throws {RequiredError}
|
|
2365
|
-
* @memberof LoginIdentityApi
|
|
2366
2324
|
*/
|
|
2367
2325
|
getAccountNumber(accountId, options) {
|
|
2368
2326
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2375,7 +2333,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2375
2333
|
* @param {GetBalanceHistorySourceEnum} [source] The source will determine what type of balance history will be returned
|
|
2376
2334
|
* @param {*} [options] Override http request option.
|
|
2377
2335
|
* @throws {RequiredError}
|
|
2378
|
-
* @memberof LoginIdentityApi
|
|
2379
2336
|
*/
|
|
2380
2337
|
getBalanceHistory(accountId, source, options) {
|
|
2381
2338
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2387,7 +2344,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2387
2344
|
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
2388
2345
|
* @param {*} [options] Override http request option.
|
|
2389
2346
|
* @throws {RequiredError}
|
|
2390
|
-
* @memberof LoginIdentityApi
|
|
2391
2347
|
*/
|
|
2392
2348
|
getCompositeStatement(redirect, options) {
|
|
2393
2349
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2398,7 +2354,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2398
2354
|
* \\[BETA] Get a list of identity data for a given login identity
|
|
2399
2355
|
* @param {*} [options] Override http request option.
|
|
2400
2356
|
* @throws {RequiredError}
|
|
2401
|
-
* @memberof LoginIdentityApi
|
|
2402
2357
|
*/
|
|
2403
2358
|
getIdentity(options) {
|
|
2404
2359
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2409,7 +2364,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2409
2364
|
* Get income figures for a login identity
|
|
2410
2365
|
* @param {*} [options] Override http request option.
|
|
2411
2366
|
* @throws {RequiredError}
|
|
2412
|
-
* @memberof LoginIdentityApi
|
|
2413
2367
|
*/
|
|
2414
2368
|
getIncomeEstimateByLoginIdentityId(options) {
|
|
2415
2369
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2420,7 +2374,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2420
2374
|
* Get a specific loginIdentity
|
|
2421
2375
|
* @param {*} [options] Override http request option.
|
|
2422
2376
|
* @throws {RequiredError}
|
|
2423
|
-
* @memberof LoginIdentityApi
|
|
2424
2377
|
*/
|
|
2425
2378
|
getLoginIdentity(options) {
|
|
2426
2379
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2432,7 +2385,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2432
2385
|
* @param {string} loginIdentityId The login identity id
|
|
2433
2386
|
* @param {*} [options] Override http request option.
|
|
2434
2387
|
* @throws {RequiredError}
|
|
2435
|
-
* @memberof LoginIdentityApi
|
|
2436
2388
|
*/
|
|
2437
2389
|
getLoginIdentityById(loginIdentityId, options) {
|
|
2438
2390
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2444,7 +2396,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2444
2396
|
* @param {string} loginIdentityId The login identity id
|
|
2445
2397
|
* @param {*} [options] Override http request option.
|
|
2446
2398
|
* @throws {RequiredError}
|
|
2447
|
-
* @memberof LoginIdentityApi
|
|
2448
2399
|
*/
|
|
2449
2400
|
getLoginIdentityHistory(loginIdentityId, options) {
|
|
2450
2401
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2457,7 +2408,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2457
2408
|
* @param {boolean} [redirect] when true, response will be http redirect; otherwise it will be json response with the download link
|
|
2458
2409
|
* @param {*} [options] Override http request option.
|
|
2459
2410
|
* @throws {RequiredError}
|
|
2460
|
-
* @memberof LoginIdentityApi
|
|
2461
2411
|
*/
|
|
2462
2412
|
getStatement(statementId, redirect, options) {
|
|
2463
2413
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2468,7 +2418,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2468
2418
|
* Get list of available statements
|
|
2469
2419
|
* @param {*} [options] Override http request option.
|
|
2470
2420
|
* @throws {RequiredError}
|
|
2471
|
-
* @memberof LoginIdentityApi
|
|
2472
2421
|
*/
|
|
2473
2422
|
getStatements(options) {
|
|
2474
2423
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2479,7 +2428,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2479
2428
|
* Get a list of accounts for a login identity
|
|
2480
2429
|
* @param {*} [options] Override http request option.
|
|
2481
2430
|
* @throws {RequiredError}
|
|
2482
|
-
* @memberof LoginIdentityApi
|
|
2483
2431
|
*/
|
|
2484
2432
|
listAccounts(options) {
|
|
2485
2433
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2490,7 +2438,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2490
2438
|
* Get a list of card details for a login identity
|
|
2491
2439
|
* @param {*} [options] Override http request option.
|
|
2492
2440
|
* @throws {RequiredError}
|
|
2493
|
-
* @memberof LoginIdentityApi
|
|
2494
2441
|
*/
|
|
2495
2442
|
listCardDetails(options) {
|
|
2496
2443
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2505,7 +2452,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2505
2452
|
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2506
2453
|
* @param {*} [options] Override http request option.
|
|
2507
2454
|
* @throws {RequiredError}
|
|
2508
|
-
* @memberof LoginIdentityApi
|
|
2509
2455
|
*/
|
|
2510
2456
|
listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
|
|
2511
2457
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2519,7 +2465,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2519
2465
|
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2520
2466
|
* @param {*} [options] Override http request option.
|
|
2521
2467
|
* @throws {RequiredError}
|
|
2522
|
-
* @memberof LoginIdentityApi
|
|
2523
2468
|
*/
|
|
2524
2469
|
listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
|
|
2525
2470
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2531,7 +2476,6 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2531
2476
|
* @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
|
|
2532
2477
|
* @param {*} [options] Override http request option.
|
|
2533
2478
|
* @throws {RequiredError}
|
|
2534
|
-
* @memberof LoginIdentityApi
|
|
2535
2479
|
*/
|
|
2536
2480
|
refreshLoginIdentity(refreshLoginIdentityReq, options) {
|
|
2537
2481
|
return (0, exports.LoginIdentityApiFp)(this.configuration)
|
|
@@ -2540,16 +2484,12 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2540
2484
|
}
|
|
2541
2485
|
}
|
|
2542
2486
|
exports.LoginIdentityApi = LoginIdentityApi;
|
|
2543
|
-
/**
|
|
2544
|
-
* @export
|
|
2545
|
-
*/
|
|
2546
2487
|
exports.GetBalanceHistorySourceEnum = {
|
|
2547
2488
|
Institution: 'INSTITUTION',
|
|
2548
2489
|
Computed: 'COMPUTED',
|
|
2549
2490
|
};
|
|
2550
2491
|
/**
|
|
2551
2492
|
* PaymentApi - axios parameter creator
|
|
2552
|
-
* @export
|
|
2553
2493
|
*/
|
|
2554
2494
|
const PaymentApiAxiosParamCreator = function (configuration) {
|
|
2555
2495
|
return {
|
|
@@ -2565,7 +2505,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2565
2505
|
(0, common_1.assertParamExists)('authorizeMandate', 'mandateId', mandateId);
|
|
2566
2506
|
// verify required parameter 'authorizeMandateRequest' is not null or undefined
|
|
2567
2507
|
(0, common_1.assertParamExists)('authorizeMandate', 'authorizeMandateRequest', authorizeMandateRequest);
|
|
2568
|
-
const localVarPath = `/mandates/{mandateId}/authorize`.replace(
|
|
2508
|
+
const localVarPath = `/mandates/{mandateId}/authorize`.replace('{mandateId}', encodeURIComponent(String(mandateId)));
|
|
2569
2509
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2570
2510
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2571
2511
|
let baseOptions;
|
|
@@ -2579,6 +2519,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2579
2519
|
// oauth required
|
|
2580
2520
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2581
2521
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2522
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2582
2523
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2583
2524
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2584
2525
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2597,7 +2538,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2597
2538
|
cancelPaymentLink: (paymentLinkId_1, ...args_1) => __awaiter(this, [paymentLinkId_1, ...args_1], void 0, function* (paymentLinkId, options = {}) {
|
|
2598
2539
|
// verify required parameter 'paymentLinkId' is not null or undefined
|
|
2599
2540
|
(0, common_1.assertParamExists)('cancelPaymentLink', 'paymentLinkId', paymentLinkId);
|
|
2600
|
-
const localVarPath = `/payment_links/{paymentLinkId}/cancel`.replace(
|
|
2541
|
+
const localVarPath = `/payment_links/{paymentLinkId}/cancel`.replace('{paymentLinkId}', encodeURIComponent(String(paymentLinkId)));
|
|
2601
2542
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2602
2543
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2603
2544
|
let baseOptions;
|
|
@@ -2610,6 +2551,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2610
2551
|
// authentication Oauth2 required
|
|
2611
2552
|
// oauth required
|
|
2612
2553
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2554
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2613
2555
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2614
2556
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2615
2557
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2627,7 +2569,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2627
2569
|
cancelPaymentMethod: (paymentMethodId_1, ...args_1) => __awaiter(this, [paymentMethodId_1, ...args_1], void 0, function* (paymentMethodId, options = {}) {
|
|
2628
2570
|
// verify required parameter 'paymentMethodId' is not null or undefined
|
|
2629
2571
|
(0, common_1.assertParamExists)('cancelPaymentMethod', 'paymentMethodId', paymentMethodId);
|
|
2630
|
-
const localVarPath = `/payment_methods/{paymentMethodId}/cancel`.replace(
|
|
2572
|
+
const localVarPath = `/payment_methods/{paymentMethodId}/cancel`.replace('{paymentMethodId}', encodeURIComponent(String(paymentMethodId)));
|
|
2631
2573
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2632
2574
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2633
2575
|
let baseOptions;
|
|
@@ -2640,6 +2582,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2640
2582
|
// authentication Oauth2 required
|
|
2641
2583
|
// oauth required
|
|
2642
2584
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2585
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2643
2586
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2644
2587
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2645
2588
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2657,7 +2600,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2657
2600
|
cancelPayout: (payoutId_1, ...args_1) => __awaiter(this, [payoutId_1, ...args_1], void 0, function* (payoutId, options = {}) {
|
|
2658
2601
|
// verify required parameter 'payoutId' is not null or undefined
|
|
2659
2602
|
(0, common_1.assertParamExists)('cancelPayout', 'payoutId', payoutId);
|
|
2660
|
-
const localVarPath = `/payouts/{payoutId}/cancel`.replace(
|
|
2603
|
+
const localVarPath = `/payouts/{payoutId}/cancel`.replace('{payoutId}', encodeURIComponent(String(payoutId)));
|
|
2661
2604
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2662
2605
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2663
2606
|
let baseOptions;
|
|
@@ -2670,6 +2613,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2670
2613
|
// authentication Oauth2 required
|
|
2671
2614
|
// oauth required
|
|
2672
2615
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2616
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2673
2617
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2674
2618
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2675
2619
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2701,6 +2645,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2701
2645
|
// oauth required
|
|
2702
2646
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2703
2647
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2648
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2704
2649
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2705
2650
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2706
2651
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2719,7 +2664,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2719
2664
|
confirmPayout: (payoutId_1, ...args_1) => __awaiter(this, [payoutId_1, ...args_1], void 0, function* (payoutId, options = {}) {
|
|
2720
2665
|
// verify required parameter 'payoutId' is not null or undefined
|
|
2721
2666
|
(0, common_1.assertParamExists)('confirmPayout', 'payoutId', payoutId);
|
|
2722
|
-
const localVarPath = `/payouts/{payoutId}/confirm`.replace(
|
|
2667
|
+
const localVarPath = `/payouts/{payoutId}/confirm`.replace('{payoutId}', encodeURIComponent(String(payoutId)));
|
|
2723
2668
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2724
2669
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2725
2670
|
let baseOptions;
|
|
@@ -2732,6 +2677,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2732
2677
|
// authentication Oauth2 required
|
|
2733
2678
|
// oauth required
|
|
2734
2679
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2680
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2735
2681
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2736
2682
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2737
2683
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2764,6 +2710,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2764
2710
|
// oauth required
|
|
2765
2711
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2766
2712
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2713
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2767
2714
|
if (idempotencyKey != null) {
|
|
2768
2715
|
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
2769
2716
|
}
|
|
@@ -2802,6 +2749,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2802
2749
|
// oauth required
|
|
2803
2750
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2804
2751
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2752
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2805
2753
|
if (idempotencyKey != null) {
|
|
2806
2754
|
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
2807
2755
|
}
|
|
@@ -2838,6 +2786,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2838
2786
|
// oauth required
|
|
2839
2787
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2840
2788
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2789
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2841
2790
|
if (idempotencyKey != null) {
|
|
2842
2791
|
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
2843
2792
|
}
|
|
@@ -2873,6 +2822,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2873
2822
|
// oauth required
|
|
2874
2823
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2875
2824
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2825
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2876
2826
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2877
2827
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2878
2828
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2905,6 +2855,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2905
2855
|
// oauth required
|
|
2906
2856
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2907
2857
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2858
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2908
2859
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2909
2860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2910
2861
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2926,7 +2877,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2926
2877
|
(0, common_1.assertParamExists)('createPaymentMethod', 'paymentUserId', paymentUserId);
|
|
2927
2878
|
// verify required parameter 'createPaymentMethodRequest' is not null or undefined
|
|
2928
2879
|
(0, common_1.assertParamExists)('createPaymentMethod', 'createPaymentMethodRequest', createPaymentMethodRequest);
|
|
2929
|
-
const localVarPath = `/payment_users/{paymentUserId}/payment_methods`.replace(
|
|
2880
|
+
const localVarPath = `/payment_users/{paymentUserId}/payment_methods`.replace('{paymentUserId}', encodeURIComponent(String(paymentUserId)));
|
|
2930
2881
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2931
2882
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2932
2883
|
let baseOptions;
|
|
@@ -2940,6 +2891,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2940
2891
|
// oauth required
|
|
2941
2892
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2942
2893
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2894
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2943
2895
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2944
2896
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2945
2897
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2972,6 +2924,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2972
2924
|
// oauth required
|
|
2973
2925
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2974
2926
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2927
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2975
2928
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2976
2929
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2977
2930
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3007,6 +2960,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3007
2960
|
// oauth required
|
|
3008
2961
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3009
2962
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2963
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3010
2964
|
if (idempotencyKey != null) {
|
|
3011
2965
|
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
3012
2966
|
}
|
|
@@ -3028,7 +2982,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3028
2982
|
deletePaymentAccount: (paymentAccountId_1, ...args_1) => __awaiter(this, [paymentAccountId_1, ...args_1], void 0, function* (paymentAccountId, options = {}) {
|
|
3029
2983
|
// verify required parameter 'paymentAccountId' is not null or undefined
|
|
3030
2984
|
(0, common_1.assertParamExists)('deletePaymentAccount', 'paymentAccountId', paymentAccountId);
|
|
3031
|
-
const localVarPath = `/payment_accounts/{paymentAccountId}`.replace(
|
|
2985
|
+
const localVarPath = `/payment_accounts/{paymentAccountId}`.replace('{paymentAccountId}', encodeURIComponent(String(paymentAccountId)));
|
|
3032
2986
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3033
2987
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3034
2988
|
let baseOptions;
|
|
@@ -3041,6 +2995,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3041
2995
|
// authentication Oauth2 required
|
|
3042
2996
|
// oauth required
|
|
3043
2997
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2998
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3044
2999
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3045
3000
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3046
3001
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3082,6 +3037,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3082
3037
|
if (currencies) {
|
|
3083
3038
|
localVarQueryParameter['currencies'] = currencies.join(base_1.COLLECTION_FORMATS.csv);
|
|
3084
3039
|
}
|
|
3040
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3085
3041
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3086
3042
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3087
3043
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3109,6 +3065,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3109
3065
|
// authentication Oauth2 required
|
|
3110
3066
|
// oauth required
|
|
3111
3067
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3068
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3112
3069
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3113
3070
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3114
3071
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3126,7 +3083,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3126
3083
|
getBill: (billId_1, ...args_1) => __awaiter(this, [billId_1, ...args_1], void 0, function* (billId, options = {}) {
|
|
3127
3084
|
// verify required parameter 'billId' is not null or undefined
|
|
3128
3085
|
(0, common_1.assertParamExists)('getBill', 'billId', billId);
|
|
3129
|
-
const localVarPath = `/bills/{billId}`.replace(
|
|
3086
|
+
const localVarPath = `/bills/{billId}`.replace('{billId}', encodeURIComponent(String(billId)));
|
|
3130
3087
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3131
3088
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3132
3089
|
let baseOptions;
|
|
@@ -3139,6 +3096,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3139
3096
|
// authentication Oauth2 required
|
|
3140
3097
|
// oauth required
|
|
3141
3098
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3099
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3142
3100
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3143
3101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3144
3102
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3156,7 +3114,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3156
3114
|
getMandate: (mandateId_1, ...args_1) => __awaiter(this, [mandateId_1, ...args_1], void 0, function* (mandateId, options = {}) {
|
|
3157
3115
|
// verify required parameter 'mandateId' is not null or undefined
|
|
3158
3116
|
(0, common_1.assertParamExists)('getMandate', 'mandateId', mandateId);
|
|
3159
|
-
const localVarPath = `/mandates/{mandateId}`.replace(
|
|
3117
|
+
const localVarPath = `/mandates/{mandateId}`.replace('{mandateId}', encodeURIComponent(String(mandateId)));
|
|
3160
3118
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3161
3119
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3162
3120
|
let baseOptions;
|
|
@@ -3169,6 +3127,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3169
3127
|
// authentication Oauth2 required
|
|
3170
3128
|
// oauth required
|
|
3171
3129
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3130
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3172
3131
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3173
3132
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3174
3133
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3196,6 +3155,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3196
3155
|
// authentication Oauth2 required
|
|
3197
3156
|
// oauth required
|
|
3198
3157
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3158
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3199
3159
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3200
3160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3201
3161
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3227,6 +3187,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3227
3187
|
// oauth required
|
|
3228
3188
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3229
3189
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3190
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3230
3191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3231
3192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3232
3193
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3245,7 +3206,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3245
3206
|
getPayment: (paymentId_1, ...args_1) => __awaiter(this, [paymentId_1, ...args_1], void 0, function* (paymentId, options = {}) {
|
|
3246
3207
|
// verify required parameter 'paymentId' is not null or undefined
|
|
3247
3208
|
(0, common_1.assertParamExists)('getPayment', 'paymentId', paymentId);
|
|
3248
|
-
const localVarPath = `/payments/{paymentId}`.replace(
|
|
3209
|
+
const localVarPath = `/payments/{paymentId}`.replace('{paymentId}', encodeURIComponent(String(paymentId)));
|
|
3249
3210
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3250
3211
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3251
3212
|
let baseOptions;
|
|
@@ -3258,6 +3219,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3258
3219
|
// authentication Oauth2 required
|
|
3259
3220
|
// oauth required
|
|
3260
3221
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3222
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3261
3223
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3262
3224
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3263
3225
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3275,7 +3237,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3275
3237
|
getPaymentLink: (paymentLinkId_1, ...args_1) => __awaiter(this, [paymentLinkId_1, ...args_1], void 0, function* (paymentLinkId, options = {}) {
|
|
3276
3238
|
// verify required parameter 'paymentLinkId' is not null or undefined
|
|
3277
3239
|
(0, common_1.assertParamExists)('getPaymentLink', 'paymentLinkId', paymentLinkId);
|
|
3278
|
-
const localVarPath = `/payment_links/{paymentLinkId}`.replace(
|
|
3240
|
+
const localVarPath = `/payment_links/{paymentLinkId}`.replace('{paymentLinkId}', encodeURIComponent(String(paymentLinkId)));
|
|
3279
3241
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3280
3242
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3281
3243
|
let baseOptions;
|
|
@@ -3288,6 +3250,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3288
3250
|
// authentication Oauth2 required
|
|
3289
3251
|
// oauth required
|
|
3290
3252
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3253
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3291
3254
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3292
3255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3293
3256
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3305,7 +3268,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3305
3268
|
getPaymentMethod: (paymentMethodId_1, ...args_1) => __awaiter(this, [paymentMethodId_1, ...args_1], void 0, function* (paymentMethodId, options = {}) {
|
|
3306
3269
|
// verify required parameter 'paymentMethodId' is not null or undefined
|
|
3307
3270
|
(0, common_1.assertParamExists)('getPaymentMethod', 'paymentMethodId', paymentMethodId);
|
|
3308
|
-
const localVarPath = `/payment_methods/{paymentMethodId}`.replace(
|
|
3271
|
+
const localVarPath = `/payment_methods/{paymentMethodId}`.replace('{paymentMethodId}', encodeURIComponent(String(paymentMethodId)));
|
|
3309
3272
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3310
3273
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3311
3274
|
let baseOptions;
|
|
@@ -3318,6 +3281,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3318
3281
|
// authentication Oauth2 required
|
|
3319
3282
|
// oauth required
|
|
3320
3283
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3284
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3321
3285
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3322
3286
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3323
3287
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3335,7 +3299,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3335
3299
|
getPaymentUser: (paymentUserId_1, ...args_1) => __awaiter(this, [paymentUserId_1, ...args_1], void 0, function* (paymentUserId, options = {}) {
|
|
3336
3300
|
// verify required parameter 'paymentUserId' is not null or undefined
|
|
3337
3301
|
(0, common_1.assertParamExists)('getPaymentUser', 'paymentUserId', paymentUserId);
|
|
3338
|
-
const localVarPath = `/payment_users/{paymentUserId}`.replace(
|
|
3302
|
+
const localVarPath = `/payment_users/{paymentUserId}`.replace('{paymentUserId}', encodeURIComponent(String(paymentUserId)));
|
|
3339
3303
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3340
3304
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3341
3305
|
let baseOptions;
|
|
@@ -3348,6 +3312,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3348
3312
|
// authentication Oauth2 required
|
|
3349
3313
|
// oauth required
|
|
3350
3314
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3315
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3351
3316
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3352
3317
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3353
3318
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3365,7 +3330,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3365
3330
|
getPayoutById: (payoutId_1, ...args_1) => __awaiter(this, [payoutId_1, ...args_1], void 0, function* (payoutId, options = {}) {
|
|
3366
3331
|
// verify required parameter 'payoutId' is not null or undefined
|
|
3367
3332
|
(0, common_1.assertParamExists)('getPayoutById', 'payoutId', payoutId);
|
|
3368
|
-
const localVarPath = `/payouts/{payoutId}`.replace(
|
|
3333
|
+
const localVarPath = `/payouts/{payoutId}`.replace('{payoutId}', encodeURIComponent(String(payoutId)));
|
|
3369
3334
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3370
3335
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3371
3336
|
let baseOptions;
|
|
@@ -3378,6 +3343,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3378
3343
|
// authentication Oauth2 required
|
|
3379
3344
|
// oauth required
|
|
3380
3345
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3346
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3381
3347
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3382
3348
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3383
3349
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3439,6 +3405,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3439
3405
|
if (limit !== undefined) {
|
|
3440
3406
|
localVarQueryParameter['limit'] = limit;
|
|
3441
3407
|
}
|
|
3408
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3442
3409
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3443
3410
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3444
3411
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3500,6 +3467,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3500
3467
|
if (limit !== undefined) {
|
|
3501
3468
|
localVarQueryParameter['limit'] = limit;
|
|
3502
3469
|
}
|
|
3470
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3503
3471
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3504
3472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3505
3473
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3549,6 +3517,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3549
3517
|
if (limit !== undefined) {
|
|
3550
3518
|
localVarQueryParameter['limit'] = limit;
|
|
3551
3519
|
}
|
|
3520
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3552
3521
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3553
3522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3554
3523
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3610,6 +3579,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3610
3579
|
if (limit !== undefined) {
|
|
3611
3580
|
localVarQueryParameter['limit'] = limit;
|
|
3612
3581
|
}
|
|
3582
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3613
3583
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3614
3584
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3615
3585
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3627,7 +3597,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3627
3597
|
listPaymentAccounts: (paymentUserId_1, ...args_1) => __awaiter(this, [paymentUserId_1, ...args_1], void 0, function* (paymentUserId, options = {}) {
|
|
3628
3598
|
// verify required parameter 'paymentUserId' is not null or undefined
|
|
3629
3599
|
(0, common_1.assertParamExists)('listPaymentAccounts', 'paymentUserId', paymentUserId);
|
|
3630
|
-
const localVarPath = `/payment_users/{paymentUserId}/payment_accounts`.replace(
|
|
3600
|
+
const localVarPath = `/payment_users/{paymentUserId}/payment_accounts`.replace('{paymentUserId}', encodeURIComponent(String(paymentUserId)));
|
|
3631
3601
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3632
3602
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3633
3603
|
let baseOptions;
|
|
@@ -3640,6 +3610,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3640
3610
|
// authentication Oauth2 required
|
|
3641
3611
|
// oauth required
|
|
3642
3612
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3613
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3643
3614
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3644
3615
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3645
3616
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3683,6 +3654,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3683
3654
|
if (limit !== undefined) {
|
|
3684
3655
|
localVarQueryParameter['limit'] = limit;
|
|
3685
3656
|
}
|
|
3657
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3686
3658
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3687
3659
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3688
3660
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3694,13 +3666,14 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3694
3666
|
/**
|
|
3695
3667
|
* List Payment Methods for a User
|
|
3696
3668
|
* @param {string} paymentUserId Payment User Id
|
|
3669
|
+
* @param {Array<string>} [statuses] Payment method statuses to filter for (matches underlying mandate or card status), comma separated
|
|
3697
3670
|
* @param {*} [options] Override http request option.
|
|
3698
3671
|
* @throws {RequiredError}
|
|
3699
3672
|
*/
|
|
3700
|
-
listPaymentMethods: (paymentUserId_1, ...args_1) => __awaiter(this, [paymentUserId_1, ...args_1], void 0, function* (paymentUserId, options = {}) {
|
|
3673
|
+
listPaymentMethods: (paymentUserId_1, statuses_1, ...args_1) => __awaiter(this, [paymentUserId_1, statuses_1, ...args_1], void 0, function* (paymentUserId, statuses, options = {}) {
|
|
3701
3674
|
// verify required parameter 'paymentUserId' is not null or undefined
|
|
3702
3675
|
(0, common_1.assertParamExists)('listPaymentMethods', 'paymentUserId', paymentUserId);
|
|
3703
|
-
const localVarPath = `/payment_users/{paymentUserId}/payment_methods`.replace(
|
|
3676
|
+
const localVarPath = `/payment_users/{paymentUserId}/payment_methods`.replace('{paymentUserId}', encodeURIComponent(String(paymentUserId)));
|
|
3704
3677
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3705
3678
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3706
3679
|
let baseOptions;
|
|
@@ -3713,6 +3686,10 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3713
3686
|
// authentication Oauth2 required
|
|
3714
3687
|
// oauth required
|
|
3715
3688
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3689
|
+
if (statuses) {
|
|
3690
|
+
localVarQueryParameter['statuses'] = statuses.join(base_1.COLLECTION_FORMATS.csv);
|
|
3691
|
+
}
|
|
3692
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3716
3693
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3717
3694
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3718
3695
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3794,6 +3771,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3794
3771
|
if (limit !== undefined) {
|
|
3795
3772
|
localVarQueryParameter['limit'] = limit;
|
|
3796
3773
|
}
|
|
3774
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3797
3775
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3798
3776
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3799
3777
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3871,6 +3849,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3871
3849
|
if (limit !== undefined) {
|
|
3872
3850
|
localVarQueryParameter['limit'] = limit;
|
|
3873
3851
|
}
|
|
3852
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3874
3853
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3875
3854
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3876
3855
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3902,6 +3881,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3902
3881
|
// oauth required
|
|
3903
3882
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3904
3883
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3884
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3905
3885
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3906
3886
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3907
3887
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3934,6 +3914,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3934
3914
|
// oauth required
|
|
3935
3915
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3936
3916
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3917
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3937
3918
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3938
3919
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3939
3920
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3966,6 +3947,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3966
3947
|
// oauth required
|
|
3967
3948
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3968
3949
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3950
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3969
3951
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3970
3952
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3971
3953
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3998,6 +3980,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
3998
3980
|
// oauth required
|
|
3999
3981
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
4000
3982
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3983
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4001
3984
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4002
3985
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4003
3986
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4019,7 +4002,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
4019
4002
|
(0, common_1.assertParamExists)('updatePayment', 'paymentId', paymentId);
|
|
4020
4003
|
// verify required parameter 'updatePaymentRequest' is not null or undefined
|
|
4021
4004
|
(0, common_1.assertParamExists)('updatePayment', 'updatePaymentRequest', updatePaymentRequest);
|
|
4022
|
-
const localVarPath = `/payments/{paymentId}`.replace(
|
|
4005
|
+
const localVarPath = `/payments/{paymentId}`.replace('{paymentId}', encodeURIComponent(String(paymentId)));
|
|
4023
4006
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4024
4007
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4025
4008
|
let baseOptions;
|
|
@@ -4033,6 +4016,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
4033
4016
|
// oauth required
|
|
4034
4017
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
4035
4018
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4019
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4036
4020
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4037
4021
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4038
4022
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4054,7 +4038,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
4054
4038
|
(0, common_1.assertParamExists)('updatePaymentUser', 'paymentUserId', paymentUserId);
|
|
4055
4039
|
// verify required parameter 'updatePaymentUserRequest' is not null or undefined
|
|
4056
4040
|
(0, common_1.assertParamExists)('updatePaymentUser', 'updatePaymentUserRequest', updatePaymentUserRequest);
|
|
4057
|
-
const localVarPath = `/payment_users/{paymentUserId}`.replace(
|
|
4041
|
+
const localVarPath = `/payment_users/{paymentUserId}`.replace('{paymentUserId}', encodeURIComponent(String(paymentUserId)));
|
|
4058
4042
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4059
4043
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4060
4044
|
let baseOptions;
|
|
@@ -4068,6 +4052,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
4068
4052
|
// oauth required
|
|
4069
4053
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
4070
4054
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4055
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4071
4056
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4072
4057
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4073
4058
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4090,7 +4075,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
4090
4075
|
(0, common_1.assertParamExists)('updateTestPaymentStatus', 'paymentId', paymentId);
|
|
4091
4076
|
// verify required parameter 'paymentStatus' is not null or undefined
|
|
4092
4077
|
(0, common_1.assertParamExists)('updateTestPaymentStatus', 'paymentStatus', paymentStatus);
|
|
4093
|
-
const localVarPath = `/testing/payments/{paymentId}/status`.replace(
|
|
4078
|
+
const localVarPath = `/testing/payments/{paymentId}/status`.replace('{paymentId}', encodeURIComponent(String(paymentId)));
|
|
4094
4079
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4095
4080
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4096
4081
|
let baseOptions;
|
|
@@ -4104,6 +4089,7 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
4104
4089
|
// oauth required
|
|
4105
4090
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
4106
4091
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4092
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4107
4093
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4108
4094
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4109
4095
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4118,7 +4104,6 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
4118
4104
|
exports.PaymentApiAxiosParamCreator = PaymentApiAxiosParamCreator;
|
|
4119
4105
|
/**
|
|
4120
4106
|
* PaymentApi - functional programming interface
|
|
4121
|
-
* @export
|
|
4122
4107
|
*/
|
|
4123
4108
|
const PaymentApiFp = function (configuration) {
|
|
4124
4109
|
const localVarAxiosParamCreator = (0, exports.PaymentApiAxiosParamCreator)(configuration);
|
|
@@ -4640,13 +4625,14 @@ const PaymentApiFp = function (configuration) {
|
|
|
4640
4625
|
/**
|
|
4641
4626
|
* List Payment Methods for a User
|
|
4642
4627
|
* @param {string} paymentUserId Payment User Id
|
|
4628
|
+
* @param {Array<string>} [statuses] Payment method statuses to filter for (matches underlying mandate or card status), comma separated
|
|
4643
4629
|
* @param {*} [options] Override http request option.
|
|
4644
4630
|
* @throws {RequiredError}
|
|
4645
4631
|
*/
|
|
4646
|
-
listPaymentMethods(paymentUserId, options) {
|
|
4632
|
+
listPaymentMethods(paymentUserId, statuses, options) {
|
|
4647
4633
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4648
4634
|
var _a, _b, _c;
|
|
4649
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentMethods(paymentUserId, options);
|
|
4635
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentMethods(paymentUserId, statuses, options);
|
|
4650
4636
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4651
4637
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentApi.listPaymentMethods']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4652
4638
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4819,7 +4805,6 @@ const PaymentApiFp = function (configuration) {
|
|
|
4819
4805
|
exports.PaymentApiFp = PaymentApiFp;
|
|
4820
4806
|
/**
|
|
4821
4807
|
* PaymentApi - factory interface
|
|
4822
|
-
* @export
|
|
4823
4808
|
*/
|
|
4824
4809
|
const PaymentApiFactory = function (configuration, basePath, axios) {
|
|
4825
4810
|
const localVarFp = (0, exports.PaymentApiFp)(configuration);
|
|
@@ -5183,11 +5168,14 @@ const PaymentApiFactory = function (configuration, basePath, axios) {
|
|
|
5183
5168
|
/**
|
|
5184
5169
|
* List Payment Methods for a User
|
|
5185
5170
|
* @param {string} paymentUserId Payment User Id
|
|
5171
|
+
* @param {Array<string>} [statuses] Payment method statuses to filter for (matches underlying mandate or card status), comma separated
|
|
5186
5172
|
* @param {*} [options] Override http request option.
|
|
5187
5173
|
* @throws {RequiredError}
|
|
5188
5174
|
*/
|
|
5189
|
-
listPaymentMethods(paymentUserId, options) {
|
|
5190
|
-
return localVarFp
|
|
5175
|
+
listPaymentMethods(paymentUserId, statuses, options) {
|
|
5176
|
+
return localVarFp
|
|
5177
|
+
.listPaymentMethods(paymentUserId, statuses, options)
|
|
5178
|
+
.then((request) => request(axios, basePath));
|
|
5191
5179
|
},
|
|
5192
5180
|
/**
|
|
5193
5181
|
* List Payments
|
|
@@ -5318,9 +5306,6 @@ const PaymentApiFactory = function (configuration, basePath, axios) {
|
|
|
5318
5306
|
exports.PaymentApiFactory = PaymentApiFactory;
|
|
5319
5307
|
/**
|
|
5320
5308
|
* PaymentApi - object-oriented interface
|
|
5321
|
-
* @export
|
|
5322
|
-
* @class PaymentApi
|
|
5323
|
-
* @extends {BaseAPI}
|
|
5324
5309
|
*/
|
|
5325
5310
|
class PaymentApi extends base_1.BaseAPI {
|
|
5326
5311
|
/**
|
|
@@ -5329,7 +5314,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5329
5314
|
* @param {AuthorizeMandateRequest} authorizeMandateRequest request body for authorizing a mandate
|
|
5330
5315
|
* @param {*} [options] Override http request option.
|
|
5331
5316
|
* @throws {RequiredError}
|
|
5332
|
-
* @memberof PaymentApi
|
|
5333
5317
|
*/
|
|
5334
5318
|
authorizeMandate(mandateId, authorizeMandateRequest, options) {
|
|
5335
5319
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5341,7 +5325,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5341
5325
|
* @param {string} paymentLinkId The payment link id
|
|
5342
5326
|
* @param {*} [options] Override http request option.
|
|
5343
5327
|
* @throws {RequiredError}
|
|
5344
|
-
* @memberof PaymentApi
|
|
5345
5328
|
*/
|
|
5346
5329
|
cancelPaymentLink(paymentLinkId, options) {
|
|
5347
5330
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5353,7 +5336,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5353
5336
|
* @param {string} paymentMethodId The payment method id
|
|
5354
5337
|
* @param {*} [options] Override http request option.
|
|
5355
5338
|
* @throws {RequiredError}
|
|
5356
|
-
* @memberof PaymentApi
|
|
5357
5339
|
*/
|
|
5358
5340
|
cancelPaymentMethod(paymentMethodId, options) {
|
|
5359
5341
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5365,7 +5347,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5365
5347
|
* @param {string} payoutId payout id
|
|
5366
5348
|
* @param {*} [options] Override http request option.
|
|
5367
5349
|
* @throws {RequiredError}
|
|
5368
|
-
* @memberof PaymentApi
|
|
5369
5350
|
*/
|
|
5370
5351
|
cancelPayout(payoutId, options) {
|
|
5371
5352
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5377,7 +5358,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5377
5358
|
* @param {CompleteKcpPaymentRequest} completeKcpPaymentRequest Parameters from the KCP SDK callback to complete the payment
|
|
5378
5359
|
* @param {*} [options] Override http request option.
|
|
5379
5360
|
* @throws {RequiredError}
|
|
5380
|
-
* @memberof PaymentApi
|
|
5381
5361
|
*/
|
|
5382
5362
|
completeKcpPayment(completeKcpPaymentRequest, options) {
|
|
5383
5363
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5389,7 +5369,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5389
5369
|
* @param {string} payoutId payout id
|
|
5390
5370
|
* @param {*} [options] Override http request option.
|
|
5391
5371
|
* @throws {RequiredError}
|
|
5392
|
-
* @memberof PaymentApi
|
|
5393
5372
|
*/
|
|
5394
5373
|
confirmPayout(payoutId, options) {
|
|
5395
5374
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5402,7 +5381,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5402
5381
|
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
5403
5382
|
* @param {*} [options] Override http request option.
|
|
5404
5383
|
* @throws {RequiredError}
|
|
5405
|
-
* @memberof PaymentApi
|
|
5406
5384
|
*/
|
|
5407
5385
|
createMandate(createMandateRequest, idempotencyKey, options) {
|
|
5408
5386
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5415,7 +5393,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5415
5393
|
* @param {CreateMandateWithSenderAccountRequest} createMandateRequest request body for creating mandate
|
|
5416
5394
|
* @param {*} [options] Override http request option.
|
|
5417
5395
|
* @throws {RequiredError}
|
|
5418
|
-
* @memberof PaymentApi
|
|
5419
5396
|
*/
|
|
5420
5397
|
createMandateForExistingSender(idempotencyKey, createMandateRequest, options) {
|
|
5421
5398
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5428,7 +5405,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5428
5405
|
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
5429
5406
|
* @param {*} [options] Override http request option.
|
|
5430
5407
|
* @throws {RequiredError}
|
|
5431
|
-
* @memberof PaymentApi
|
|
5432
5408
|
*/
|
|
5433
5409
|
createPayment(createPaymentRequest, idempotencyKey, options) {
|
|
5434
5410
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5440,7 +5416,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5440
5416
|
* @param {CreatePaymentAccountRequest} createPaymentAccountRequest request body for creating payment account
|
|
5441
5417
|
* @param {*} [options] Override http request option.
|
|
5442
5418
|
* @throws {RequiredError}
|
|
5443
|
-
* @memberof PaymentApi
|
|
5444
5419
|
*/
|
|
5445
5420
|
createPaymentAccount(createPaymentAccountRequest, options) {
|
|
5446
5421
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5452,7 +5427,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5452
5427
|
* @param {CreatePaymentLinkRequest} createPaymentLinkRequest Parameters required to create a payment link
|
|
5453
5428
|
* @param {*} [options] Override http request option.
|
|
5454
5429
|
* @throws {RequiredError}
|
|
5455
|
-
* @memberof PaymentApi
|
|
5456
5430
|
*/
|
|
5457
5431
|
createPaymentLink(createPaymentLinkRequest, options) {
|
|
5458
5432
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5465,7 +5439,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5465
5439
|
* @param {CreatePaymentMethodRequest} createPaymentMethodRequest
|
|
5466
5440
|
* @param {*} [options] Override http request option.
|
|
5467
5441
|
* @throws {RequiredError}
|
|
5468
|
-
* @memberof PaymentApi
|
|
5469
5442
|
*/
|
|
5470
5443
|
createPaymentMethod(paymentUserId, createPaymentMethodRequest, options) {
|
|
5471
5444
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5477,7 +5450,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5477
5450
|
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
5478
5451
|
* @param {*} [options] Override http request option.
|
|
5479
5452
|
* @throws {RequiredError}
|
|
5480
|
-
* @memberof PaymentApi
|
|
5481
5453
|
*/
|
|
5482
5454
|
createPaymentUser(createPaymentUserRequest, options) {
|
|
5483
5455
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5490,7 +5462,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5490
5462
|
* @param {CreatePayoutRequest} createPayoutRequest Request body containing information to create a payout
|
|
5491
5463
|
* @param {*} [options] Override http request option.
|
|
5492
5464
|
* @throws {RequiredError}
|
|
5493
|
-
* @memberof PaymentApi
|
|
5494
5465
|
*/
|
|
5495
5466
|
createPayout(idempotencyKey, createPayoutRequest, options) {
|
|
5496
5467
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5502,7 +5473,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5502
5473
|
* @param {string} paymentAccountId The payment account id
|
|
5503
5474
|
* @param {*} [options] Override http request option.
|
|
5504
5475
|
* @throws {RequiredError}
|
|
5505
|
-
* @memberof PaymentApi
|
|
5506
5476
|
*/
|
|
5507
5477
|
deletePaymentAccount(paymentAccountId, options) {
|
|
5508
5478
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5516,7 +5486,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5516
5486
|
* @param {Array<string>} [currencies] The currencies to filter for
|
|
5517
5487
|
* @param {*} [options] Override http request option.
|
|
5518
5488
|
* @throws {RequiredError}
|
|
5519
|
-
* @memberof PaymentApi
|
|
5520
5489
|
*/
|
|
5521
5490
|
downloadBalanceStatement(dateFrom, dateTo, currencies, options) {
|
|
5522
5491
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5527,7 +5496,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5527
5496
|
* Get available Adyen payment methods for Advanced card setup (proxy to Adyen /paymentMethods)
|
|
5528
5497
|
* @param {*} [options] Override http request option.
|
|
5529
5498
|
* @throws {RequiredError}
|
|
5530
|
-
* @memberof PaymentApi
|
|
5531
5499
|
*/
|
|
5532
5500
|
getAdyenCardSetupPaymentMethods(options) {
|
|
5533
5501
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5539,7 +5507,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5539
5507
|
* @param {string} billId
|
|
5540
5508
|
* @param {*} [options] Override http request option.
|
|
5541
5509
|
* @throws {RequiredError}
|
|
5542
|
-
* @memberof PaymentApi
|
|
5543
5510
|
*/
|
|
5544
5511
|
getBill(billId, options) {
|
|
5545
5512
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5551,7 +5518,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5551
5518
|
* @param {string} mandateId mandate id
|
|
5552
5519
|
* @param {*} [options] Override http request option.
|
|
5553
5520
|
* @throws {RequiredError}
|
|
5554
|
-
* @memberof PaymentApi
|
|
5555
5521
|
*/
|
|
5556
5522
|
getMandate(mandateId, options) {
|
|
5557
5523
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5562,7 +5528,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5562
5528
|
* Get Mandate Authorization by mandate id
|
|
5563
5529
|
* @param {*} [options] Override http request option.
|
|
5564
5530
|
* @throws {RequiredError}
|
|
5565
|
-
* @memberof PaymentApi
|
|
5566
5531
|
*/
|
|
5567
5532
|
getMandateAuth(options) {
|
|
5568
5533
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5574,7 +5539,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5574
5539
|
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
5575
5540
|
* @param {*} [options] Override http request option.
|
|
5576
5541
|
* @throws {RequiredError}
|
|
5577
|
-
* @memberof PaymentApi
|
|
5578
5542
|
*/
|
|
5579
5543
|
getMandateAuthLink(getMandateAuthLinkRequest, options) {
|
|
5580
5544
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5586,7 +5550,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5586
5550
|
* @param {string} paymentId payment id
|
|
5587
5551
|
* @param {*} [options] Override http request option.
|
|
5588
5552
|
* @throws {RequiredError}
|
|
5589
|
-
* @memberof PaymentApi
|
|
5590
5553
|
*/
|
|
5591
5554
|
getPayment(paymentId, options) {
|
|
5592
5555
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5598,7 +5561,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5598
5561
|
* @param {string} paymentLinkId The payment link id
|
|
5599
5562
|
* @param {*} [options] Override http request option.
|
|
5600
5563
|
* @throws {RequiredError}
|
|
5601
|
-
* @memberof PaymentApi
|
|
5602
5564
|
*/
|
|
5603
5565
|
getPaymentLink(paymentLinkId, options) {
|
|
5604
5566
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5610,7 +5572,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5610
5572
|
* @param {string} paymentMethodId
|
|
5611
5573
|
* @param {*} [options] Override http request option.
|
|
5612
5574
|
* @throws {RequiredError}
|
|
5613
|
-
* @memberof PaymentApi
|
|
5614
5575
|
*/
|
|
5615
5576
|
getPaymentMethod(paymentMethodId, options) {
|
|
5616
5577
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5622,7 +5583,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5622
5583
|
* @param {string} paymentUserId
|
|
5623
5584
|
* @param {*} [options] Override http request option.
|
|
5624
5585
|
* @throws {RequiredError}
|
|
5625
|
-
* @memberof PaymentApi
|
|
5626
5586
|
*/
|
|
5627
5587
|
getPaymentUser(paymentUserId, options) {
|
|
5628
5588
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5634,7 +5594,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5634
5594
|
* @param {string} payoutId payout id
|
|
5635
5595
|
* @param {*} [options] Override http request option.
|
|
5636
5596
|
* @throws {RequiredError}
|
|
5637
|
-
* @memberof PaymentApi
|
|
5638
5597
|
*/
|
|
5639
5598
|
getPayoutById(payoutId, options) {
|
|
5640
5599
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5653,7 +5612,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5653
5612
|
* @param {number} [limit] default is 500, max is 1000
|
|
5654
5613
|
* @param {*} [options] Override http request option.
|
|
5655
5614
|
* @throws {RequiredError}
|
|
5656
|
-
* @memberof PaymentApi
|
|
5657
5615
|
*/
|
|
5658
5616
|
listBills(dateFrom, dateTo, statuses, userId, externalUserId, currencies, offset, limit, options) {
|
|
5659
5617
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5672,7 +5630,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5672
5630
|
* @param {number} [limit] default is 500, max is 1000
|
|
5673
5631
|
* @param {*} [options] Override http request option.
|
|
5674
5632
|
* @throws {RequiredError}
|
|
5675
|
-
* @memberof PaymentApi
|
|
5676
5633
|
*/
|
|
5677
5634
|
listDetokenizedMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options) {
|
|
5678
5635
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5688,7 +5645,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5688
5645
|
* @param {number} [limit] default is 500, max is 1000
|
|
5689
5646
|
* @param {*} [options] Override http request option.
|
|
5690
5647
|
* @throws {RequiredError}
|
|
5691
|
-
* @memberof PaymentApi
|
|
5692
5648
|
*/
|
|
5693
5649
|
listDisputes(dateFrom, dateTo, statuses, offset, limit, options) {
|
|
5694
5650
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5707,7 +5663,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5707
5663
|
* @param {number} [limit] default is 500, max is 1000
|
|
5708
5664
|
* @param {*} [options] Override http request option.
|
|
5709
5665
|
* @throws {RequiredError}
|
|
5710
|
-
* @memberof PaymentApi
|
|
5711
5666
|
*/
|
|
5712
5667
|
listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options) {
|
|
5713
5668
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5719,7 +5674,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5719
5674
|
* @param {string} paymentUserId The payment user id
|
|
5720
5675
|
* @param {*} [options] Override http request option.
|
|
5721
5676
|
* @throws {RequiredError}
|
|
5722
|
-
* @memberof PaymentApi
|
|
5723
5677
|
*/
|
|
5724
5678
|
listPaymentAccounts(paymentUserId, options) {
|
|
5725
5679
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5734,7 +5688,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5734
5688
|
* @param {number} [limit] default is 500, max is 1000
|
|
5735
5689
|
* @param {*} [options] Override http request option.
|
|
5736
5690
|
* @throws {RequiredError}
|
|
5737
|
-
* @memberof PaymentApi
|
|
5738
5691
|
*/
|
|
5739
5692
|
listPaymentAccountsWithEnrichedData(accountType, currencies, offset, limit, options) {
|
|
5740
5693
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5744,13 +5697,13 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5744
5697
|
/**
|
|
5745
5698
|
* List Payment Methods for a User
|
|
5746
5699
|
* @param {string} paymentUserId Payment User Id
|
|
5700
|
+
* @param {Array<string>} [statuses] Payment method statuses to filter for (matches underlying mandate or card status), comma separated
|
|
5747
5701
|
* @param {*} [options] Override http request option.
|
|
5748
5702
|
* @throws {RequiredError}
|
|
5749
|
-
* @memberof PaymentApi
|
|
5750
5703
|
*/
|
|
5751
|
-
listPaymentMethods(paymentUserId, options) {
|
|
5704
|
+
listPaymentMethods(paymentUserId, statuses, options) {
|
|
5752
5705
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
5753
|
-
.listPaymentMethods(paymentUserId, options)
|
|
5706
|
+
.listPaymentMethods(paymentUserId, statuses, options)
|
|
5754
5707
|
.then((request) => request(this.axios, this.basePath));
|
|
5755
5708
|
}
|
|
5756
5709
|
/**
|
|
@@ -5770,7 +5723,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5770
5723
|
* @param {number} [limit] default is 500, max is 1000
|
|
5771
5724
|
* @param {*} [options] Override http request option.
|
|
5772
5725
|
* @throws {RequiredError}
|
|
5773
|
-
* @memberof PaymentApi
|
|
5774
5726
|
*/
|
|
5775
5727
|
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options) {
|
|
5776
5728
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5793,7 +5745,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5793
5745
|
* @param {number} [limit] default is 500, max is 1000
|
|
5794
5746
|
* @param {*} [options] Override http request option.
|
|
5795
5747
|
* @throws {RequiredError}
|
|
5796
|
-
* @memberof PaymentApi
|
|
5797
5748
|
*/
|
|
5798
5749
|
listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options) {
|
|
5799
5750
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5805,7 +5756,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5805
5756
|
* @param {SetMandateInstitutionRequest} updateRequest request body for updating mandate institutionId and senderType
|
|
5806
5757
|
* @param {*} [options] Override http request option.
|
|
5807
5758
|
* @throws {RequiredError}
|
|
5808
|
-
* @memberof PaymentApi
|
|
5809
5759
|
*/
|
|
5810
5760
|
setMandateInstitution(updateRequest, options) {
|
|
5811
5761
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5817,7 +5767,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5817
5767
|
* @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentRequest Full Drop-in state.data from onSubmit
|
|
5818
5768
|
* @param {*} [options] Override http request option.
|
|
5819
5769
|
* @throws {RequiredError}
|
|
5820
|
-
* @memberof PaymentApi
|
|
5821
5770
|
*/
|
|
5822
5771
|
submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest, options) {
|
|
5823
5772
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5829,7 +5778,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5829
5778
|
* @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
|
|
5830
5779
|
* @param {*} [options] Override http request option.
|
|
5831
5780
|
* @throws {RequiredError}
|
|
5832
|
-
* @memberof PaymentApi
|
|
5833
5781
|
*/
|
|
5834
5782
|
submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest, options) {
|
|
5835
5783
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5841,7 +5789,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5841
5789
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
5842
5790
|
* @param {*} [options] Override http request option.
|
|
5843
5791
|
* @throws {RequiredError}
|
|
5844
|
-
* @memberof PaymentApi
|
|
5845
5792
|
*/
|
|
5846
5793
|
submitAuthChecklist(submitAuthChecklistRequest, options) {
|
|
5847
5794
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5854,7 +5801,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5854
5801
|
* @param {UpdatePaymentRequest} updatePaymentRequest request body for updating payment
|
|
5855
5802
|
* @param {*} [options] Override http request option.
|
|
5856
5803
|
* @throws {RequiredError}
|
|
5857
|
-
* @memberof PaymentApi
|
|
5858
5804
|
*/
|
|
5859
5805
|
updatePayment(paymentId, updatePaymentRequest, options) {
|
|
5860
5806
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5867,7 +5813,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5867
5813
|
* @param {UpdatePaymentUserRequest} updatePaymentUserRequest request body for updating payment user
|
|
5868
5814
|
* @param {*} [options] Override http request option.
|
|
5869
5815
|
* @throws {RequiredError}
|
|
5870
|
-
* @memberof PaymentApi
|
|
5871
5816
|
*/
|
|
5872
5817
|
updatePaymentUser(paymentUserId, updatePaymentUserRequest, options) {
|
|
5873
5818
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5881,7 +5826,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5881
5826
|
* @param {*} [options] Override http request option.
|
|
5882
5827
|
* @deprecated
|
|
5883
5828
|
* @throws {RequiredError}
|
|
5884
|
-
* @memberof PaymentApi
|
|
5885
5829
|
*/
|
|
5886
5830
|
updateTestPaymentStatus(paymentId, paymentStatus, options) {
|
|
5887
5831
|
return (0, exports.PaymentApiFp)(this.configuration)
|
|
@@ -5890,9 +5834,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
5890
5834
|
}
|
|
5891
5835
|
}
|
|
5892
5836
|
exports.PaymentApi = PaymentApi;
|
|
5893
|
-
/**
|
|
5894
|
-
* @export
|
|
5895
|
-
*/
|
|
5896
5837
|
exports.ListBillsStatusesEnum = {
|
|
5897
5838
|
Unknown: 'UNKNOWN',
|
|
5898
5839
|
Unpaid: 'UNPAID',
|
|
@@ -5900,9 +5841,6 @@ exports.ListBillsStatusesEnum = {
|
|
|
5900
5841
|
Cancelled: 'CANCELLED',
|
|
5901
5842
|
Failed: 'FAILED',
|
|
5902
5843
|
};
|
|
5903
|
-
/**
|
|
5904
|
-
* @export
|
|
5905
|
-
*/
|
|
5906
5844
|
exports.ListDetokenizedMandatesStatusesEnum = {
|
|
5907
5845
|
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
5908
5846
|
Authorizing: 'AUTHORIZING',
|
|
@@ -5915,16 +5853,10 @@ exports.ListDetokenizedMandatesStatusesEnum = {
|
|
|
5915
5853
|
Closed: 'CLOSED',
|
|
5916
5854
|
Cancelled: 'CANCELLED',
|
|
5917
5855
|
};
|
|
5918
|
-
/**
|
|
5919
|
-
* @export
|
|
5920
|
-
*/
|
|
5921
5856
|
exports.ListDetokenizedMandatesSenderTypeEnum = {
|
|
5922
5857
|
Individual: 'INDIVIDUAL',
|
|
5923
5858
|
Business: 'BUSINESS',
|
|
5924
5859
|
};
|
|
5925
|
-
/**
|
|
5926
|
-
* @export
|
|
5927
|
-
*/
|
|
5928
5860
|
exports.ListDisputesStatusesEnum = {
|
|
5929
5861
|
Unknown: 'UNKNOWN',
|
|
5930
5862
|
Undefended: 'UNDEFENDED',
|
|
@@ -5934,9 +5866,6 @@ exports.ListDisputesStatusesEnum = {
|
|
|
5934
5866
|
Lost: 'LOST',
|
|
5935
5867
|
Won: 'WON',
|
|
5936
5868
|
};
|
|
5937
|
-
/**
|
|
5938
|
-
* @export
|
|
5939
|
-
*/
|
|
5940
5869
|
exports.ListMandatesStatusesEnum = {
|
|
5941
5870
|
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
5942
5871
|
Authorizing: 'AUTHORIZING',
|
|
@@ -5949,23 +5878,14 @@ exports.ListMandatesStatusesEnum = {
|
|
|
5949
5878
|
Closed: 'CLOSED',
|
|
5950
5879
|
Cancelled: 'CANCELLED',
|
|
5951
5880
|
};
|
|
5952
|
-
/**
|
|
5953
|
-
* @export
|
|
5954
|
-
*/
|
|
5955
5881
|
exports.ListMandatesSenderTypeEnum = {
|
|
5956
5882
|
Individual: 'INDIVIDUAL',
|
|
5957
5883
|
Business: 'BUSINESS',
|
|
5958
5884
|
};
|
|
5959
|
-
/**
|
|
5960
|
-
* @export
|
|
5961
|
-
*/
|
|
5962
5885
|
exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = {
|
|
5963
5886
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
5964
5887
|
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
5965
5888
|
};
|
|
5966
|
-
/**
|
|
5967
|
-
* @export
|
|
5968
|
-
*/
|
|
5969
5889
|
exports.ListPaymentsStatusesEnum = {
|
|
5970
5890
|
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
5971
5891
|
Authorizing: 'AUTHORIZING',
|
|
@@ -5977,16 +5897,10 @@ exports.ListPaymentsStatusesEnum = {
|
|
|
5977
5897
|
Cancelled: 'CANCELLED',
|
|
5978
5898
|
Created: 'CREATED',
|
|
5979
5899
|
};
|
|
5980
|
-
/**
|
|
5981
|
-
* @export
|
|
5982
|
-
*/
|
|
5983
5900
|
exports.ListPaymentsSenderTypeEnum = {
|
|
5984
5901
|
Individual: 'INDIVIDUAL',
|
|
5985
5902
|
Business: 'BUSINESS',
|
|
5986
5903
|
};
|
|
5987
|
-
/**
|
|
5988
|
-
* @export
|
|
5989
|
-
*/
|
|
5990
5904
|
exports.ListPaymentsPaymentTypeEnum = {
|
|
5991
5905
|
Mandate: 'MANDATE',
|
|
5992
5906
|
Single: 'SINGLE',
|
|
@@ -5994,9 +5908,6 @@ exports.ListPaymentsPaymentTypeEnum = {
|
|
|
5994
5908
|
Manual: 'MANUAL',
|
|
5995
5909
|
Wallet: 'WALLET',
|
|
5996
5910
|
};
|
|
5997
|
-
/**
|
|
5998
|
-
* @export
|
|
5999
|
-
*/
|
|
6000
5911
|
exports.ListPaymentsPaymentTypesEnum = {
|
|
6001
5912
|
Mandate: 'MANDATE',
|
|
6002
5913
|
Single: 'SINGLE',
|
|
@@ -6004,9 +5915,6 @@ exports.ListPaymentsPaymentTypesEnum = {
|
|
|
6004
5915
|
Manual: 'MANUAL',
|
|
6005
5916
|
Wallet: 'WALLET',
|
|
6006
5917
|
};
|
|
6007
|
-
/**
|
|
6008
|
-
* @export
|
|
6009
|
-
*/
|
|
6010
5918
|
exports.ListPayoutsStatusesEnum = {
|
|
6011
5919
|
Executed: 'EXECUTED',
|
|
6012
5920
|
Created: 'CREATED',
|
|
@@ -6017,9 +5925,6 @@ exports.ListPayoutsStatusesEnum = {
|
|
|
6017
5925
|
Funded: 'FUNDED',
|
|
6018
5926
|
Submitted: 'SUBMITTED',
|
|
6019
5927
|
};
|
|
6020
|
-
/**
|
|
6021
|
-
* @export
|
|
6022
|
-
*/
|
|
6023
5928
|
exports.ListPayoutsPayoutTypesEnum = {
|
|
6024
5929
|
Manual: 'MANUAL',
|
|
6025
5930
|
Scheduled: 'SCHEDULED',
|
|
@@ -6028,7 +5933,6 @@ exports.ListPayoutsPayoutTypesEnum = {
|
|
|
6028
5933
|
};
|
|
6029
5934
|
/**
|
|
6030
5935
|
* PublicApi - axios parameter creator
|
|
6031
|
-
* @export
|
|
6032
5936
|
*/
|
|
6033
5937
|
const PublicApiAxiosParamCreator = function (configuration) {
|
|
6034
5938
|
return {
|
|
@@ -6050,6 +5954,7 @@ const PublicApiAxiosParamCreator = function (configuration) {
|
|
|
6050
5954
|
const localVarHeaderParameter = {};
|
|
6051
5955
|
const localVarQueryParameter = {};
|
|
6052
5956
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5957
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6053
5958
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6054
5959
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6055
5960
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6075,6 +5980,7 @@ const PublicApiAxiosParamCreator = function (configuration) {
|
|
|
6075
5980
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6076
5981
|
const localVarHeaderParameter = {};
|
|
6077
5982
|
const localVarQueryParameter = {};
|
|
5983
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6078
5984
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6079
5985
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6080
5986
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6099,6 +6005,7 @@ const PublicApiAxiosParamCreator = function (configuration) {
|
|
|
6099
6005
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6100
6006
|
const localVarHeaderParameter = {};
|
|
6101
6007
|
const localVarQueryParameter = {};
|
|
6008
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6102
6009
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6103
6010
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6104
6011
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6112,7 +6019,6 @@ const PublicApiAxiosParamCreator = function (configuration) {
|
|
|
6112
6019
|
exports.PublicApiAxiosParamCreator = PublicApiAxiosParamCreator;
|
|
6113
6020
|
/**
|
|
6114
6021
|
* PublicApi - functional programming interface
|
|
6115
|
-
* @export
|
|
6116
6022
|
*/
|
|
6117
6023
|
const PublicApiFp = function (configuration) {
|
|
6118
6024
|
const localVarAxiosParamCreator = (0, exports.PublicApiAxiosParamCreator)(configuration);
|
|
@@ -6165,7 +6071,6 @@ const PublicApiFp = function (configuration) {
|
|
|
6165
6071
|
exports.PublicApiFp = PublicApiFp;
|
|
6166
6072
|
/**
|
|
6167
6073
|
* PublicApi - factory interface
|
|
6168
|
-
* @export
|
|
6169
6074
|
*/
|
|
6170
6075
|
const PublicApiFactory = function (configuration, basePath, axios) {
|
|
6171
6076
|
const localVarFp = (0, exports.PublicApiFp)(configuration);
|
|
@@ -6200,9 +6105,6 @@ const PublicApiFactory = function (configuration, basePath, axios) {
|
|
|
6200
6105
|
exports.PublicApiFactory = PublicApiFactory;
|
|
6201
6106
|
/**
|
|
6202
6107
|
* PublicApi - object-oriented interface
|
|
6203
|
-
* @export
|
|
6204
|
-
* @class PublicApi
|
|
6205
|
-
* @extends {BaseAPI}
|
|
6206
6108
|
*/
|
|
6207
6109
|
class PublicApi extends base_1.BaseAPI {
|
|
6208
6110
|
/**
|
|
@@ -6210,7 +6112,6 @@ class PublicApi extends base_1.BaseAPI {
|
|
|
6210
6112
|
* @param {TokenRequest} [tokenRequest] token request
|
|
6211
6113
|
* @param {*} [options] Override http request option.
|
|
6212
6114
|
* @throws {RequiredError}
|
|
6213
|
-
* @memberof PublicApi
|
|
6214
6115
|
*/
|
|
6215
6116
|
generateCustomerAccessToken(tokenRequest, options) {
|
|
6216
6117
|
return (0, exports.PublicApiFp)(this.configuration)
|
|
@@ -6221,7 +6122,6 @@ class PublicApi extends base_1.BaseAPI {
|
|
|
6221
6122
|
* get jwks
|
|
6222
6123
|
* @param {*} [options] Override http request option.
|
|
6223
6124
|
* @throws {RequiredError}
|
|
6224
|
-
* @memberof PublicApi
|
|
6225
6125
|
*/
|
|
6226
6126
|
getCredSubmitJwks(options) {
|
|
6227
6127
|
return (0, exports.PublicApiFp)(this.configuration)
|
|
@@ -6232,7 +6132,6 @@ class PublicApi extends base_1.BaseAPI {
|
|
|
6232
6132
|
* get payment jwks
|
|
6233
6133
|
* @param {*} [options] Override http request option.
|
|
6234
6134
|
* @throws {RequiredError}
|
|
6235
|
-
* @memberof PublicApi
|
|
6236
6135
|
*/
|
|
6237
6136
|
getPaymentsJwks(options) {
|
|
6238
6137
|
return (0, exports.PublicApiFp)(this.configuration)
|