@finverse/sdk-typescript 0.0.48 → 0.0.51
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 +308 -10
- package/dist/api.js +172 -9
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -559,7 +559,18 @@ export interface CreateMandateSender {
|
|
|
559
559
|
* @memberof CreateMandateSender
|
|
560
560
|
*/
|
|
561
561
|
sender_reference_id?: string;
|
|
562
|
+
/**
|
|
563
|
+
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof CreateMandateSender
|
|
566
|
+
*/
|
|
567
|
+
sender_type?: CreateMandateSenderSenderTypeEnum;
|
|
562
568
|
}
|
|
569
|
+
export declare const CreateMandateSenderSenderTypeEnum: {
|
|
570
|
+
readonly Personal: "PERSONAL";
|
|
571
|
+
readonly Business: "BUSINESS";
|
|
572
|
+
};
|
|
573
|
+
export declare type CreateMandateSenderSenderTypeEnum = typeof CreateMandateSenderSenderTypeEnum[keyof typeof CreateMandateSenderSenderTypeEnum];
|
|
563
574
|
/**
|
|
564
575
|
*
|
|
565
576
|
* @export
|
|
@@ -987,6 +998,60 @@ export interface GetLoginIdentityHistoryResponse {
|
|
|
987
998
|
*/
|
|
988
999
|
status_history?: Array<LoginIdentityStatusDetails>;
|
|
989
1000
|
}
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @export
|
|
1004
|
+
* @interface GetMandateAuthLinkRequest
|
|
1005
|
+
*/
|
|
1006
|
+
export interface GetMandateAuthLinkRequest {
|
|
1007
|
+
/**
|
|
1008
|
+
* Mandate ID
|
|
1009
|
+
* @type {string}
|
|
1010
|
+
* @memberof GetMandateAuthLinkRequest
|
|
1011
|
+
*/
|
|
1012
|
+
mandate_id: string;
|
|
1013
|
+
/**
|
|
1014
|
+
*
|
|
1015
|
+
* @type {MandateAuthLinkCustomizations}
|
|
1016
|
+
* @memberof GetMandateAuthLinkRequest
|
|
1017
|
+
*/
|
|
1018
|
+
link_customizations: MandateAuthLinkCustomizations;
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @export
|
|
1023
|
+
* @interface GetMandateAuthLinkResponse
|
|
1024
|
+
*/
|
|
1025
|
+
export interface GetMandateAuthLinkResponse {
|
|
1026
|
+
/**
|
|
1027
|
+
* Short-lived access-token to interact with Finverse Link
|
|
1028
|
+
* @type {string}
|
|
1029
|
+
* @memberof GetMandateAuthLinkResponse
|
|
1030
|
+
*/
|
|
1031
|
+
access_token: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Access token validity duration (in seconds)
|
|
1034
|
+
* @type {number}
|
|
1035
|
+
* @memberof GetMandateAuthLinkResponse
|
|
1036
|
+
*/
|
|
1037
|
+
expires_in: number;
|
|
1038
|
+
/**
|
|
1039
|
+
* URL to launch Finverse Link to authorize the mandate
|
|
1040
|
+
* @type {string}
|
|
1041
|
+
* @memberof GetMandateAuthLinkResponse
|
|
1042
|
+
*/
|
|
1043
|
+
link_url: string;
|
|
1044
|
+
/**
|
|
1045
|
+
*
|
|
1046
|
+
* @type {string}
|
|
1047
|
+
* @memberof GetMandateAuthLinkResponse
|
|
1048
|
+
*/
|
|
1049
|
+
token_type: GetMandateAuthLinkResponseTokenTypeEnum;
|
|
1050
|
+
}
|
|
1051
|
+
export declare const GetMandateAuthLinkResponseTokenTypeEnum: {
|
|
1052
|
+
readonly Bearer: "Bearer";
|
|
1053
|
+
};
|
|
1054
|
+
export declare type GetMandateAuthLinkResponseTokenTypeEnum = typeof GetMandateAuthLinkResponseTokenTypeEnum[keyof typeof GetMandateAuthLinkResponseTokenTypeEnum];
|
|
990
1055
|
/**
|
|
991
1056
|
*
|
|
992
1057
|
* @export
|
|
@@ -1134,7 +1199,18 @@ export interface GetMandateSender {
|
|
|
1134
1199
|
* @memberof GetMandateSender
|
|
1135
1200
|
*/
|
|
1136
1201
|
sender_account: PaymentAccount;
|
|
1202
|
+
/**
|
|
1203
|
+
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are PERSONAL, BUSINESS
|
|
1204
|
+
* @type {string}
|
|
1205
|
+
* @memberof GetMandateSender
|
|
1206
|
+
*/
|
|
1207
|
+
sender_type?: GetMandateSenderSenderTypeEnum;
|
|
1137
1208
|
}
|
|
1209
|
+
export declare const GetMandateSenderSenderTypeEnum: {
|
|
1210
|
+
readonly Personal: "PERSONAL";
|
|
1211
|
+
readonly Business: "BUSINESS";
|
|
1212
|
+
};
|
|
1213
|
+
export declare type GetMandateSenderSenderTypeEnum = typeof GetMandateSenderSenderTypeEnum[keyof typeof GetMandateSenderSenderTypeEnum];
|
|
1138
1214
|
/**
|
|
1139
1215
|
*
|
|
1140
1216
|
* @export
|
|
@@ -2479,6 +2555,68 @@ export interface MandateAuthEncryptionInfo {
|
|
|
2479
2555
|
*/
|
|
2480
2556
|
key_id: string;
|
|
2481
2557
|
}
|
|
2558
|
+
/**
|
|
2559
|
+
*
|
|
2560
|
+
* @export
|
|
2561
|
+
* @interface MandateAuthLinkCustomizations
|
|
2562
|
+
*/
|
|
2563
|
+
export interface MandateAuthLinkCustomizations {
|
|
2564
|
+
/**
|
|
2565
|
+
* institution\'s country filter
|
|
2566
|
+
* @type {Array<string>}
|
|
2567
|
+
* @memberof MandateAuthLinkCustomizations
|
|
2568
|
+
*/
|
|
2569
|
+
countries?: Array<string>;
|
|
2570
|
+
/**
|
|
2571
|
+
* Institution to preselect
|
|
2572
|
+
* @type {string}
|
|
2573
|
+
* @memberof MandateAuthLinkCustomizations
|
|
2574
|
+
*/
|
|
2575
|
+
institution_id?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* institution\'s status filter
|
|
2578
|
+
* @type {string}
|
|
2579
|
+
* @memberof MandateAuthLinkCustomizations
|
|
2580
|
+
*/
|
|
2581
|
+
institution_status?: string;
|
|
2582
|
+
/**
|
|
2583
|
+
* ISO639-1 language code. Language to display when user open the link, default to English (en) if not specified
|
|
2584
|
+
* @type {string}
|
|
2585
|
+
* @memberof MandateAuthLinkCustomizations
|
|
2586
|
+
*/
|
|
2587
|
+
language?: string;
|
|
2588
|
+
/**
|
|
2589
|
+
* Space separated list of the tags of the institutions to view.
|
|
2590
|
+
* @type {string}
|
|
2591
|
+
* @memberof MandateAuthLinkCustomizations
|
|
2592
|
+
*/
|
|
2593
|
+
link_mode?: string;
|
|
2594
|
+
/**
|
|
2595
|
+
* institution\'s supported product filter
|
|
2596
|
+
* @type {Array<string>}
|
|
2597
|
+
* @memberof MandateAuthLinkCustomizations
|
|
2598
|
+
*/
|
|
2599
|
+
products_supported?: Array<string>;
|
|
2600
|
+
/**
|
|
2601
|
+
* The UI mode link is intended to be used in - \"iframe\" (default), \"auto_redirect\" or \"redirect\" or \"standalone\"
|
|
2602
|
+
* @type {string}
|
|
2603
|
+
* @memberof MandateAuthLinkCustomizations
|
|
2604
|
+
*/
|
|
2605
|
+
ui_mode?: MandateAuthLinkCustomizationsUiModeEnum;
|
|
2606
|
+
/**
|
|
2607
|
+
* institution\'s supported user_type filter
|
|
2608
|
+
* @type {Array<string>}
|
|
2609
|
+
* @memberof MandateAuthLinkCustomizations
|
|
2610
|
+
*/
|
|
2611
|
+
user_type?: Array<string>;
|
|
2612
|
+
}
|
|
2613
|
+
export declare const MandateAuthLinkCustomizationsUiModeEnum: {
|
|
2614
|
+
readonly Iframe: "iframe";
|
|
2615
|
+
readonly Redirect: "redirect";
|
|
2616
|
+
readonly AutoRedirect: "auto_redirect";
|
|
2617
|
+
readonly Standalone: "standalone";
|
|
2618
|
+
};
|
|
2619
|
+
export declare type MandateAuthLinkCustomizationsUiModeEnum = typeof MandateAuthLinkCustomizationsUiModeEnum[keyof typeof MandateAuthLinkCustomizationsUiModeEnum];
|
|
2482
2620
|
/**
|
|
2483
2621
|
*
|
|
2484
2622
|
* @export
|
|
@@ -3055,6 +3193,87 @@ export interface StatementLink {
|
|
|
3055
3193
|
*/
|
|
3056
3194
|
statement_id?: string;
|
|
3057
3195
|
}
|
|
3196
|
+
/**
|
|
3197
|
+
*
|
|
3198
|
+
* @export
|
|
3199
|
+
* @interface SubmitAuthChecklistRequest
|
|
3200
|
+
*/
|
|
3201
|
+
export interface SubmitAuthChecklistRequest {
|
|
3202
|
+
/**
|
|
3203
|
+
* The key_id that was used to encrypt the envelope key
|
|
3204
|
+
* @type {string}
|
|
3205
|
+
* @memberof SubmitAuthChecklistRequest
|
|
3206
|
+
*/
|
|
3207
|
+
key_id: string;
|
|
3208
|
+
/**
|
|
3209
|
+
* Finverse Institution ID
|
|
3210
|
+
* @type {string}
|
|
3211
|
+
* @memberof SubmitAuthChecklistRequest
|
|
3212
|
+
*/
|
|
3213
|
+
institution_id: string;
|
|
3214
|
+
/**
|
|
3215
|
+
* The encrypted envelope key
|
|
3216
|
+
* @type {string}
|
|
3217
|
+
* @memberof SubmitAuthChecklistRequest
|
|
3218
|
+
*/
|
|
3219
|
+
envelope_encryption_key: string;
|
|
3220
|
+
/**
|
|
3221
|
+
* The initialization vector used for enncrypting the payload
|
|
3222
|
+
* @type {string}
|
|
3223
|
+
* @memberof SubmitAuthChecklistRequest
|
|
3224
|
+
*/
|
|
3225
|
+
initialization_vector: string;
|
|
3226
|
+
/**
|
|
3227
|
+
* The authentication code is used to authenticate the origin of the message
|
|
3228
|
+
* @type {string}
|
|
3229
|
+
* @memberof SubmitAuthChecklistRequest
|
|
3230
|
+
*/
|
|
3231
|
+
message_authentication_code: string;
|
|
3232
|
+
/**
|
|
3233
|
+
* The encrypted payload that contains auth checklist items
|
|
3234
|
+
* @type {string}
|
|
3235
|
+
* @memberof SubmitAuthChecklistRequest
|
|
3236
|
+
*/
|
|
3237
|
+
ciphertext: string;
|
|
3238
|
+
}
|
|
3239
|
+
/**
|
|
3240
|
+
*
|
|
3241
|
+
* @export
|
|
3242
|
+
* @interface SubmitAuthChecklistResponse
|
|
3243
|
+
*/
|
|
3244
|
+
export interface SubmitAuthChecklistResponse {
|
|
3245
|
+
/**
|
|
3246
|
+
* Finverse Mandate ID
|
|
3247
|
+
* @type {string}
|
|
3248
|
+
* @memberof SubmitAuthChecklistResponse
|
|
3249
|
+
*/
|
|
3250
|
+
mandate_id: string;
|
|
3251
|
+
/**
|
|
3252
|
+
* Checklist of the authorization factors needed to complete Mandate authorization
|
|
3253
|
+
* @type {Array<AuthChecklistFactor>}
|
|
3254
|
+
* @memberof SubmitAuthChecklistResponse
|
|
3255
|
+
*/
|
|
3256
|
+
auth_checklist: Array<AuthChecklistFactor>;
|
|
3257
|
+
/**
|
|
3258
|
+
* Mandate status
|
|
3259
|
+
* @type {string}
|
|
3260
|
+
* @memberof SubmitAuthChecklistResponse
|
|
3261
|
+
*/
|
|
3262
|
+
mandate_status: SubmitAuthChecklistResponseMandateStatusEnum;
|
|
3263
|
+
/**
|
|
3264
|
+
* Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
3265
|
+
* @type {string}
|
|
3266
|
+
* @memberof SubmitAuthChecklistResponse
|
|
3267
|
+
*/
|
|
3268
|
+
last_update: string;
|
|
3269
|
+
}
|
|
3270
|
+
export declare const SubmitAuthChecklistResponseMandateStatusEnum: {
|
|
3271
|
+
readonly Created: "CREATED";
|
|
3272
|
+
readonly Processing: "PROCESSING";
|
|
3273
|
+
readonly Submitted: "SUBMITTED";
|
|
3274
|
+
readonly Error: "ERROR";
|
|
3275
|
+
};
|
|
3276
|
+
export declare type SubmitAuthChecklistResponseMandateStatusEnum = typeof SubmitAuthChecklistResponseMandateStatusEnum[keyof typeof SubmitAuthChecklistResponseMandateStatusEnum];
|
|
3058
3277
|
/**
|
|
3059
3278
|
*
|
|
3060
3279
|
* @export
|
|
@@ -3261,7 +3480,7 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3261
3480
|
/**
|
|
3262
3481
|
* CREATE Mandate
|
|
3263
3482
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3264
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3483
|
+
* @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.
|
|
3265
3484
|
* @param {*} [options] Override http request option.
|
|
3266
3485
|
* @throws {RequiredError}
|
|
3267
3486
|
*/
|
|
@@ -3269,7 +3488,7 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3269
3488
|
/**
|
|
3270
3489
|
* Create new Payment
|
|
3271
3490
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3272
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3491
|
+
* @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.
|
|
3273
3492
|
* @param {*} [options] Override http request option.
|
|
3274
3493
|
* @throws {RequiredError}
|
|
3275
3494
|
*/
|
|
@@ -3325,6 +3544,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3325
3544
|
* @throws {RequiredError}
|
|
3326
3545
|
*/
|
|
3327
3546
|
getMandateAuth: (mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3547
|
+
/**
|
|
3548
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
3549
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
3550
|
+
* @param {*} [options] Override http request option.
|
|
3551
|
+
* @throws {RequiredError}
|
|
3552
|
+
*/
|
|
3553
|
+
getMandateAuthLink: (getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3328
3554
|
/**
|
|
3329
3555
|
* Get Payment details by payment_id
|
|
3330
3556
|
* @param {string} paymentId payment id
|
|
@@ -3356,6 +3582,14 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3356
3582
|
* @throws {RequiredError}
|
|
3357
3583
|
*/
|
|
3358
3584
|
refreshToken: (refreshRequest: RefreshRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3585
|
+
/**
|
|
3586
|
+
* Submit authorization checklist items
|
|
3587
|
+
* @param {string} mandateId mandate id
|
|
3588
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3589
|
+
* @param {*} [options] Override http request option.
|
|
3590
|
+
* @throws {RequiredError}
|
|
3591
|
+
*/
|
|
3592
|
+
submitAuthChecklist: (mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3359
3593
|
};
|
|
3360
3594
|
/**
|
|
3361
3595
|
* CustomerApi - functional programming interface
|
|
@@ -3365,7 +3599,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3365
3599
|
/**
|
|
3366
3600
|
* CREATE Mandate
|
|
3367
3601
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3368
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3602
|
+
* @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.
|
|
3369
3603
|
* @param {*} [options] Override http request option.
|
|
3370
3604
|
* @throws {RequiredError}
|
|
3371
3605
|
*/
|
|
@@ -3373,7 +3607,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3373
3607
|
/**
|
|
3374
3608
|
* Create new Payment
|
|
3375
3609
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3376
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3610
|
+
* @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.
|
|
3377
3611
|
* @param {*} [options] Override http request option.
|
|
3378
3612
|
* @throws {RequiredError}
|
|
3379
3613
|
*/
|
|
@@ -3429,6 +3663,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3429
3663
|
* @throws {RequiredError}
|
|
3430
3664
|
*/
|
|
3431
3665
|
getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthResponse>>;
|
|
3666
|
+
/**
|
|
3667
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
3668
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
3669
|
+
* @param {*} [options] Override http request option.
|
|
3670
|
+
* @throws {RequiredError}
|
|
3671
|
+
*/
|
|
3672
|
+
getMandateAuthLink(getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthLinkResponse>>;
|
|
3432
3673
|
/**
|
|
3433
3674
|
* Get Payment details by payment_id
|
|
3434
3675
|
* @param {string} paymentId payment id
|
|
@@ -3460,6 +3701,14 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3460
3701
|
* @throws {RequiredError}
|
|
3461
3702
|
*/
|
|
3462
3703
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponse>>;
|
|
3704
|
+
/**
|
|
3705
|
+
* Submit authorization checklist items
|
|
3706
|
+
* @param {string} mandateId mandate id
|
|
3707
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3708
|
+
* @param {*} [options] Override http request option.
|
|
3709
|
+
* @throws {RequiredError}
|
|
3710
|
+
*/
|
|
3711
|
+
submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAuthChecklistResponse>>;
|
|
3463
3712
|
};
|
|
3464
3713
|
/**
|
|
3465
3714
|
* CustomerApi - factory interface
|
|
@@ -3469,7 +3718,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3469
3718
|
/**
|
|
3470
3719
|
* CREATE Mandate
|
|
3471
3720
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3472
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3721
|
+
* @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.
|
|
3473
3722
|
* @param {*} [options] Override http request option.
|
|
3474
3723
|
* @throws {RequiredError}
|
|
3475
3724
|
*/
|
|
@@ -3477,7 +3726,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3477
3726
|
/**
|
|
3478
3727
|
* Create new Payment
|
|
3479
3728
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3480
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3729
|
+
* @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.
|
|
3481
3730
|
* @param {*} [options] Override http request option.
|
|
3482
3731
|
* @throws {RequiredError}
|
|
3483
3732
|
*/
|
|
@@ -3533,6 +3782,13 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3533
3782
|
* @throws {RequiredError}
|
|
3534
3783
|
*/
|
|
3535
3784
|
getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: any): AxiosPromise<GetMandateAuthResponse>;
|
|
3785
|
+
/**
|
|
3786
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
3787
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
3788
|
+
* @param {*} [options] Override http request option.
|
|
3789
|
+
* @throws {RequiredError}
|
|
3790
|
+
*/
|
|
3791
|
+
getMandateAuthLink(getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: any): AxiosPromise<GetMandateAuthLinkResponse>;
|
|
3536
3792
|
/**
|
|
3537
3793
|
* Get Payment details by payment_id
|
|
3538
3794
|
* @param {string} paymentId payment id
|
|
@@ -3564,6 +3820,14 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3564
3820
|
* @throws {RequiredError}
|
|
3565
3821
|
*/
|
|
3566
3822
|
refreshToken(refreshRequest: RefreshRequest, options?: any): AxiosPromise<AccessTokenResponse>;
|
|
3823
|
+
/**
|
|
3824
|
+
* Submit authorization checklist items
|
|
3825
|
+
* @param {string} mandateId mandate id
|
|
3826
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3827
|
+
* @param {*} [options] Override http request option.
|
|
3828
|
+
* @throws {RequiredError}
|
|
3829
|
+
*/
|
|
3830
|
+
submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: any): AxiosPromise<SubmitAuthChecklistResponse>;
|
|
3567
3831
|
};
|
|
3568
3832
|
/**
|
|
3569
3833
|
* CustomerApi - interface
|
|
@@ -3574,7 +3838,7 @@ export interface CustomerApiInterface {
|
|
|
3574
3838
|
/**
|
|
3575
3839
|
* CREATE Mandate
|
|
3576
3840
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3577
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3841
|
+
* @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.
|
|
3578
3842
|
* @param {*} [options] Override http request option.
|
|
3579
3843
|
* @throws {RequiredError}
|
|
3580
3844
|
* @memberof CustomerApiInterface
|
|
@@ -3583,7 +3847,7 @@ export interface CustomerApiInterface {
|
|
|
3583
3847
|
/**
|
|
3584
3848
|
* Create new Payment
|
|
3585
3849
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3586
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3850
|
+
* @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.
|
|
3587
3851
|
* @param {*} [options] Override http request option.
|
|
3588
3852
|
* @throws {RequiredError}
|
|
3589
3853
|
* @memberof CustomerApiInterface
|
|
@@ -3647,6 +3911,14 @@ export interface CustomerApiInterface {
|
|
|
3647
3911
|
* @memberof CustomerApiInterface
|
|
3648
3912
|
*/
|
|
3649
3913
|
getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthResponse>;
|
|
3914
|
+
/**
|
|
3915
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
3916
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
3917
|
+
* @param {*} [options] Override http request option.
|
|
3918
|
+
* @throws {RequiredError}
|
|
3919
|
+
* @memberof CustomerApiInterface
|
|
3920
|
+
*/
|
|
3921
|
+
getMandateAuthLink(getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthLinkResponse>;
|
|
3650
3922
|
/**
|
|
3651
3923
|
* Get Payment details by payment_id
|
|
3652
3924
|
* @param {string} paymentId payment id
|
|
@@ -3682,6 +3954,15 @@ export interface CustomerApiInterface {
|
|
|
3682
3954
|
* @memberof CustomerApiInterface
|
|
3683
3955
|
*/
|
|
3684
3956
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): AxiosPromise<AccessTokenResponse>;
|
|
3957
|
+
/**
|
|
3958
|
+
* Submit authorization checklist items
|
|
3959
|
+
* @param {string} mandateId mandate id
|
|
3960
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3961
|
+
* @param {*} [options] Override http request option.
|
|
3962
|
+
* @throws {RequiredError}
|
|
3963
|
+
* @memberof CustomerApiInterface
|
|
3964
|
+
*/
|
|
3965
|
+
submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): AxiosPromise<SubmitAuthChecklistResponse>;
|
|
3685
3966
|
}
|
|
3686
3967
|
/**
|
|
3687
3968
|
* CustomerApi - object-oriented interface
|
|
@@ -3693,7 +3974,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
3693
3974
|
/**
|
|
3694
3975
|
* CREATE Mandate
|
|
3695
3976
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3696
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3977
|
+
* @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.
|
|
3697
3978
|
* @param {*} [options] Override http request option.
|
|
3698
3979
|
* @throws {RequiredError}
|
|
3699
3980
|
* @memberof CustomerApi
|
|
@@ -3702,7 +3983,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
3702
3983
|
/**
|
|
3703
3984
|
* Create new Payment
|
|
3704
3985
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3705
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
3986
|
+
* @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.
|
|
3706
3987
|
* @param {*} [options] Override http request option.
|
|
3707
3988
|
* @throws {RequiredError}
|
|
3708
3989
|
* @memberof CustomerApi
|
|
@@ -3766,6 +4047,14 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
3766
4047
|
* @memberof CustomerApi
|
|
3767
4048
|
*/
|
|
3768
4049
|
getMandateAuth(mandateId: string, institutionId: string, senderType?: 'PERSONAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthResponse>>;
|
|
4050
|
+
/**
|
|
4051
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
4052
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
4053
|
+
* @param {*} [options] Override http request option.
|
|
4054
|
+
* @throws {RequiredError}
|
|
4055
|
+
* @memberof CustomerApi
|
|
4056
|
+
*/
|
|
4057
|
+
getMandateAuthLink(getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthLinkResponse>>;
|
|
3769
4058
|
/**
|
|
3770
4059
|
* Get Payment details by payment_id
|
|
3771
4060
|
* @param {string} paymentId payment id
|
|
@@ -3801,6 +4090,15 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
3801
4090
|
* @memberof CustomerApi
|
|
3802
4091
|
*/
|
|
3803
4092
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessTokenResponse>>;
|
|
4093
|
+
/**
|
|
4094
|
+
* Submit authorization checklist items
|
|
4095
|
+
* @param {string} mandateId mandate id
|
|
4096
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
4097
|
+
* @param {*} [options] Override http request option.
|
|
4098
|
+
* @throws {RequiredError}
|
|
4099
|
+
* @memberof CustomerApi
|
|
4100
|
+
*/
|
|
4101
|
+
submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
|
|
3804
4102
|
}
|
|
3805
4103
|
/**
|
|
3806
4104
|
* LinkApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = void 0;
|
|
25
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -48,6 +48,10 @@ exports.AuthChecklistOptionsSubmittedByEnum = {
|
|
|
48
48
|
CustomerApp: 'CUSTOMER_APP',
|
|
49
49
|
FinverseLink: 'FINVERSE_LINK',
|
|
50
50
|
};
|
|
51
|
+
exports.CreateMandateSenderSenderTypeEnum = {
|
|
52
|
+
Personal: 'PERSONAL',
|
|
53
|
+
Business: 'BUSINESS',
|
|
54
|
+
};
|
|
51
55
|
exports.CreatePaymentRequestTypeEnum = {
|
|
52
56
|
Mandate: 'MANDATE',
|
|
53
57
|
Single: 'SINGLE',
|
|
@@ -55,6 +59,9 @@ exports.CreatePaymentRequestTypeEnum = {
|
|
|
55
59
|
exports.CustomerPaymentInstructionTypeEnum = {
|
|
56
60
|
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
57
61
|
};
|
|
62
|
+
exports.GetMandateAuthLinkResponseTokenTypeEnum = {
|
|
63
|
+
Bearer: 'Bearer',
|
|
64
|
+
};
|
|
58
65
|
exports.GetMandateAuthResponseMandateStatusEnum = {
|
|
59
66
|
Created: 'CREATED',
|
|
60
67
|
Processing: 'PROCESSING',
|
|
@@ -71,6 +78,10 @@ exports.GetMandateResponseMandateStatusEnum = {
|
|
|
71
78
|
Submitted: 'SUBMITTED',
|
|
72
79
|
Error: 'ERROR',
|
|
73
80
|
};
|
|
81
|
+
exports.GetMandateSenderSenderTypeEnum = {
|
|
82
|
+
Personal: 'PERSONAL',
|
|
83
|
+
Business: 'BUSINESS',
|
|
84
|
+
};
|
|
74
85
|
exports.GetPaymentResponseTypeEnum = {
|
|
75
86
|
Mandate: 'MANDATE',
|
|
76
87
|
Single: 'SINGLE',
|
|
@@ -95,6 +106,12 @@ exports.LinkTokenRequestAutomaticDataRefreshEnum = {
|
|
|
95
106
|
Off: 'OFF',
|
|
96
107
|
ForcedOn: 'FORCED_ON',
|
|
97
108
|
};
|
|
109
|
+
exports.MandateAuthLinkCustomizationsUiModeEnum = {
|
|
110
|
+
Iframe: 'iframe',
|
|
111
|
+
Redirect: 'redirect',
|
|
112
|
+
AutoRedirect: 'auto_redirect',
|
|
113
|
+
Standalone: 'standalone',
|
|
114
|
+
};
|
|
98
115
|
exports.PaymentInstructionTypeEnum = {
|
|
99
116
|
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
100
117
|
};
|
|
@@ -105,6 +122,12 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
105
122
|
Quarterly: 'QUARTERLY',
|
|
106
123
|
Yearly: 'YEARLY',
|
|
107
124
|
};
|
|
125
|
+
exports.SubmitAuthChecklistResponseMandateStatusEnum = {
|
|
126
|
+
Created: 'CREATED',
|
|
127
|
+
Processing: 'PROCESSING',
|
|
128
|
+
Submitted: 'SUBMITTED',
|
|
129
|
+
Error: 'ERROR',
|
|
130
|
+
};
|
|
108
131
|
exports.TransactionLimitsPeriodEnum = {
|
|
109
132
|
Daily: 'DAILY',
|
|
110
133
|
Weekly: 'WEEKLY',
|
|
@@ -121,7 +144,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
121
144
|
/**
|
|
122
145
|
* CREATE Mandate
|
|
123
146
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
124
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
147
|
+
* @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.
|
|
125
148
|
* @param {*} [options] Override http request option.
|
|
126
149
|
* @throws {RequiredError}
|
|
127
150
|
*/
|
|
@@ -157,7 +180,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
157
180
|
/**
|
|
158
181
|
* Create new Payment
|
|
159
182
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
160
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
183
|
+
* @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.
|
|
161
184
|
* @param {*} [options] Override http request option.
|
|
162
185
|
* @throws {RequiredError}
|
|
163
186
|
*/
|
|
@@ -414,6 +437,38 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
414
437
|
options: localVarRequestOptions,
|
|
415
438
|
};
|
|
416
439
|
}),
|
|
440
|
+
/**
|
|
441
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
442
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
443
|
+
* @param {*} [options] Override http request option.
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
*/
|
|
446
|
+
getMandateAuthLink: (getMandateAuthLinkRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
447
|
+
// verify required parameter 'getMandateAuthLinkRequest' is not null or undefined
|
|
448
|
+
common_1.assertParamExists('getMandateAuthLink', 'getMandateAuthLinkRequest', getMandateAuthLinkRequest);
|
|
449
|
+
const localVarPath = `/mandates/link`;
|
|
450
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
451
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
452
|
+
let baseOptions;
|
|
453
|
+
if (configuration) {
|
|
454
|
+
baseOptions = configuration.baseOptions;
|
|
455
|
+
}
|
|
456
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
457
|
+
const localVarHeaderParameter = {};
|
|
458
|
+
const localVarQueryParameter = {};
|
|
459
|
+
// authentication Oauth2 required
|
|
460
|
+
// oauth required
|
|
461
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
462
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
463
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
464
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
465
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
466
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(getMandateAuthLinkRequest, localVarRequestOptions, configuration);
|
|
467
|
+
return {
|
|
468
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
469
|
+
options: localVarRequestOptions,
|
|
470
|
+
};
|
|
471
|
+
}),
|
|
417
472
|
/**
|
|
418
473
|
* Get Payment details by payment_id
|
|
419
474
|
* @param {string} paymentId payment id
|
|
@@ -549,6 +604,41 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
549
604
|
options: localVarRequestOptions,
|
|
550
605
|
};
|
|
551
606
|
}),
|
|
607
|
+
/**
|
|
608
|
+
* Submit authorization checklist items
|
|
609
|
+
* @param {string} mandateId mandate id
|
|
610
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
*/
|
|
614
|
+
submitAuthChecklist: (mandateId, submitAuthChecklistRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
615
|
+
// verify required parameter 'mandateId' is not null or undefined
|
|
616
|
+
common_1.assertParamExists('submitAuthChecklist', 'mandateId', mandateId);
|
|
617
|
+
// verify required parameter 'submitAuthChecklistRequest' is not null or undefined
|
|
618
|
+
common_1.assertParamExists('submitAuthChecklist', 'submitAuthChecklistRequest', submitAuthChecklistRequest);
|
|
619
|
+
const localVarPath = `/mandates/{mandateId}/auth`.replace(`{${'mandateId'}}`, encodeURIComponent(String(mandateId)));
|
|
620
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
621
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
622
|
+
let baseOptions;
|
|
623
|
+
if (configuration) {
|
|
624
|
+
baseOptions = configuration.baseOptions;
|
|
625
|
+
}
|
|
626
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
627
|
+
const localVarHeaderParameter = {};
|
|
628
|
+
const localVarQueryParameter = {};
|
|
629
|
+
// authentication Oauth2 required
|
|
630
|
+
// oauth required
|
|
631
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
632
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
633
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
634
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
635
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
636
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(submitAuthChecklistRequest, localVarRequestOptions, configuration);
|
|
637
|
+
return {
|
|
638
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
639
|
+
options: localVarRequestOptions,
|
|
640
|
+
};
|
|
641
|
+
}),
|
|
552
642
|
};
|
|
553
643
|
};
|
|
554
644
|
/**
|
|
@@ -561,7 +651,7 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
561
651
|
/**
|
|
562
652
|
* CREATE Mandate
|
|
563
653
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
564
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
654
|
+
* @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.
|
|
565
655
|
* @param {*} [options] Override http request option.
|
|
566
656
|
* @throws {RequiredError}
|
|
567
657
|
*/
|
|
@@ -574,7 +664,7 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
574
664
|
/**
|
|
575
665
|
* Create new Payment
|
|
576
666
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
577
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
667
|
+
* @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.
|
|
578
668
|
* @param {*} [options] Override http request option.
|
|
579
669
|
* @throws {RequiredError}
|
|
580
670
|
*/
|
|
@@ -670,6 +760,18 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
670
760
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
671
761
|
});
|
|
672
762
|
},
|
|
763
|
+
/**
|
|
764
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
765
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @throws {RequiredError}
|
|
768
|
+
*/
|
|
769
|
+
getMandateAuthLink(getMandateAuthLinkRequest, options) {
|
|
770
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
771
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandateAuthLink(getMandateAuthLinkRequest, options);
|
|
772
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
773
|
+
});
|
|
774
|
+
},
|
|
673
775
|
/**
|
|
674
776
|
* Get Payment details by payment_id
|
|
675
777
|
* @param {string} paymentId payment id
|
|
@@ -721,6 +823,19 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
721
823
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
722
824
|
});
|
|
723
825
|
},
|
|
826
|
+
/**
|
|
827
|
+
* Submit authorization checklist items
|
|
828
|
+
* @param {string} mandateId mandate id
|
|
829
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @throws {RequiredError}
|
|
832
|
+
*/
|
|
833
|
+
submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
|
|
834
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
835
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitAuthChecklist(mandateId, submitAuthChecklistRequest, options);
|
|
836
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
837
|
+
});
|
|
838
|
+
},
|
|
724
839
|
};
|
|
725
840
|
};
|
|
726
841
|
/**
|
|
@@ -733,7 +848,7 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
733
848
|
/**
|
|
734
849
|
* CREATE Mandate
|
|
735
850
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
736
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
851
|
+
* @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.
|
|
737
852
|
* @param {*} [options] Override http request option.
|
|
738
853
|
* @throws {RequiredError}
|
|
739
854
|
*/
|
|
@@ -745,7 +860,7 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
745
860
|
/**
|
|
746
861
|
* Create new Payment
|
|
747
862
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
748
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
863
|
+
* @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.
|
|
749
864
|
* @param {*} [options] Override http request option.
|
|
750
865
|
* @throws {RequiredError}
|
|
751
866
|
*/
|
|
@@ -823,6 +938,17 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
823
938
|
.getMandateAuth(mandateId, institutionId, senderType, options)
|
|
824
939
|
.then((request) => request(axios, basePath));
|
|
825
940
|
},
|
|
941
|
+
/**
|
|
942
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
943
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
944
|
+
* @param {*} [options] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
*/
|
|
947
|
+
getMandateAuthLink(getMandateAuthLinkRequest, options) {
|
|
948
|
+
return localVarFp
|
|
949
|
+
.getMandateAuthLink(getMandateAuthLinkRequest, options)
|
|
950
|
+
.then((request) => request(axios, basePath));
|
|
951
|
+
},
|
|
826
952
|
/**
|
|
827
953
|
* Get Payment details by payment_id
|
|
828
954
|
* @param {string} paymentId payment id
|
|
@@ -866,6 +992,18 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
866
992
|
refreshToken(refreshRequest, options) {
|
|
867
993
|
return localVarFp.refreshToken(refreshRequest, options).then((request) => request(axios, basePath));
|
|
868
994
|
},
|
|
995
|
+
/**
|
|
996
|
+
* Submit authorization checklist items
|
|
997
|
+
* @param {string} mandateId mandate id
|
|
998
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
999
|
+
* @param {*} [options] Override http request option.
|
|
1000
|
+
* @throws {RequiredError}
|
|
1001
|
+
*/
|
|
1002
|
+
submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
|
|
1003
|
+
return localVarFp
|
|
1004
|
+
.submitAuthChecklist(mandateId, submitAuthChecklistRequest, options)
|
|
1005
|
+
.then((request) => request(axios, basePath));
|
|
1006
|
+
},
|
|
869
1007
|
};
|
|
870
1008
|
};
|
|
871
1009
|
/**
|
|
@@ -878,7 +1016,7 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
878
1016
|
/**
|
|
879
1017
|
* CREATE Mandate
|
|
880
1018
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
881
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
1019
|
+
* @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.
|
|
882
1020
|
* @param {*} [options] Override http request option.
|
|
883
1021
|
* @throws {RequiredError}
|
|
884
1022
|
* @memberof CustomerApi
|
|
@@ -891,7 +1029,7 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
891
1029
|
/**
|
|
892
1030
|
* Create new Payment
|
|
893
1031
|
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
894
|
-
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payment.
|
|
1032
|
+
* @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.
|
|
895
1033
|
* @param {*} [options] Override http request option.
|
|
896
1034
|
* @throws {RequiredError}
|
|
897
1035
|
* @memberof CustomerApi
|
|
@@ -987,6 +1125,18 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
987
1125
|
.getMandateAuth(mandateId, institutionId, senderType, options)
|
|
988
1126
|
.then((request) => request(this.axios, this.basePath));
|
|
989
1127
|
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Get link to launch FV Link UI in mandate authorization mode
|
|
1130
|
+
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
1131
|
+
* @param {*} [options] Override http request option.
|
|
1132
|
+
* @throws {RequiredError}
|
|
1133
|
+
* @memberof CustomerApi
|
|
1134
|
+
*/
|
|
1135
|
+
getMandateAuthLink(getMandateAuthLinkRequest, options) {
|
|
1136
|
+
return exports.CustomerApiFp(this.configuration)
|
|
1137
|
+
.getMandateAuthLink(getMandateAuthLinkRequest, options)
|
|
1138
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1139
|
+
}
|
|
990
1140
|
/**
|
|
991
1141
|
* Get Payment details by payment_id
|
|
992
1142
|
* @param {string} paymentId payment id
|
|
@@ -1038,6 +1188,19 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1038
1188
|
.refreshToken(refreshRequest, options)
|
|
1039
1189
|
.then((request) => request(this.axios, this.basePath));
|
|
1040
1190
|
}
|
|
1191
|
+
/**
|
|
1192
|
+
* Submit authorization checklist items
|
|
1193
|
+
* @param {string} mandateId mandate id
|
|
1194
|
+
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
1195
|
+
* @param {*} [options] Override http request option.
|
|
1196
|
+
* @throws {RequiredError}
|
|
1197
|
+
* @memberof CustomerApi
|
|
1198
|
+
*/
|
|
1199
|
+
submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
|
|
1200
|
+
return exports.CustomerApiFp(this.configuration)
|
|
1201
|
+
.submitAuthChecklist(mandateId, submitAuthChecklistRequest, options)
|
|
1202
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1203
|
+
}
|
|
1041
1204
|
}
|
|
1042
1205
|
exports.CustomerApi = CustomerApi;
|
|
1043
1206
|
/**
|