@finverse/sdk-typescript 0.0.58 → 0.0.61
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 +1 -329
- package/dist/api.js +2 -548
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Documentation of the early finverse services
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.0.1
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: info@finverse.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -559,18 +559,7 @@ 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 INDIVIDUAL, BUSINESS
|
|
564
|
-
* @type {string}
|
|
565
|
-
* @memberof CreateMandateSender
|
|
566
|
-
*/
|
|
567
|
-
sender_type?: CreateMandateSenderSenderTypeEnum;
|
|
568
562
|
}
|
|
569
|
-
export declare const CreateMandateSenderSenderTypeEnum: {
|
|
570
|
-
readonly Individual: "INDIVIDUAL";
|
|
571
|
-
readonly Business: "BUSINESS";
|
|
572
|
-
};
|
|
573
|
-
export declare type CreateMandateSenderSenderTypeEnum = typeof CreateMandateSenderSenderTypeEnum[keyof typeof CreateMandateSenderSenderTypeEnum];
|
|
574
563
|
/**
|
|
575
564
|
*
|
|
576
565
|
* @export
|
|
@@ -1186,18 +1175,7 @@ export interface GetMandateSender {
|
|
|
1186
1175
|
* @memberof GetMandateSender
|
|
1187
1176
|
*/
|
|
1188
1177
|
sender_account: PaymentAccount;
|
|
1189
|
-
/**
|
|
1190
|
-
* Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
1191
|
-
* @type {string}
|
|
1192
|
-
* @memberof GetMandateSender
|
|
1193
|
-
*/
|
|
1194
|
-
sender_type?: GetMandateSenderSenderTypeEnum;
|
|
1195
1178
|
}
|
|
1196
|
-
export declare const GetMandateSenderSenderTypeEnum: {
|
|
1197
|
-
readonly Individual: "INDIVIDUAL";
|
|
1198
|
-
readonly Business: "BUSINESS";
|
|
1199
|
-
};
|
|
1200
|
-
export declare type GetMandateSenderSenderTypeEnum = typeof GetMandateSenderSenderTypeEnum[keyof typeof GetMandateSenderSenderTypeEnum];
|
|
1201
1179
|
/**
|
|
1202
1180
|
*
|
|
1203
1181
|
* @export
|
|
@@ -3493,22 +3471,6 @@ export declare type TransactionLimitsPeriodEnum = typeof TransactionLimitsPeriod
|
|
|
3493
3471
|
* @export
|
|
3494
3472
|
*/
|
|
3495
3473
|
export declare const CustomerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3496
|
-
/**
|
|
3497
|
-
* CREATE Mandate
|
|
3498
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3499
|
-
* @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.
|
|
3500
|
-
* @param {*} [options] Override http request option.
|
|
3501
|
-
* @throws {RequiredError}
|
|
3502
|
-
*/
|
|
3503
|
-
createMandate: (createMandateRequest: CreateMandateRequest, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3504
|
-
/**
|
|
3505
|
-
* Create new Payment
|
|
3506
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3507
|
-
* @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.
|
|
3508
|
-
* @param {*} [options] Override http request option.
|
|
3509
|
-
* @throws {RequiredError}
|
|
3510
|
-
*/
|
|
3511
|
-
createPayment: (createPaymentRequest: CreatePaymentRequest, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3512
3474
|
/**
|
|
3513
3475
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
3514
3476
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -3544,35 +3506,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3544
3506
|
* @throws {RequiredError}
|
|
3545
3507
|
*/
|
|
3546
3508
|
getLoginIdentityHistory: (loginIdentityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3547
|
-
/**
|
|
3548
|
-
* Get Mandate details by mandate_id
|
|
3549
|
-
* @param {string} mandateId mandate id
|
|
3550
|
-
* @param {*} [options] Override http request option.
|
|
3551
|
-
* @throws {RequiredError}
|
|
3552
|
-
*/
|
|
3553
|
-
getMandate: (mandateId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3554
|
-
/**
|
|
3555
|
-
* Get Mandate Authorization by mandate id
|
|
3556
|
-
* @param {string} institutionId Finverse Institution ID
|
|
3557
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
3558
|
-
* @param {*} [options] Override http request option.
|
|
3559
|
-
* @throws {RequiredError}
|
|
3560
|
-
*/
|
|
3561
|
-
getMandateAuth: (institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3562
|
-
/**
|
|
3563
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
3564
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
3565
|
-
* @param {*} [options] Override http request option.
|
|
3566
|
-
* @throws {RequiredError}
|
|
3567
|
-
*/
|
|
3568
|
-
getMandateAuthLink: (getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3569
|
-
/**
|
|
3570
|
-
* Get Payment details by payment_id
|
|
3571
|
-
* @param {string} paymentId payment id
|
|
3572
|
-
* @param {*} [options] Override http request option.
|
|
3573
|
-
* @throws {RequiredError}
|
|
3574
|
-
*/
|
|
3575
|
-
getPayment: (paymentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3576
3509
|
/**
|
|
3577
3510
|
* Get payment instructions by payment_instruction_id
|
|
3578
3511
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -3597,35 +3530,12 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3597
3530
|
* @throws {RequiredError}
|
|
3598
3531
|
*/
|
|
3599
3532
|
refreshToken: (refreshRequest: RefreshRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3600
|
-
/**
|
|
3601
|
-
* Submit authorization checklist items
|
|
3602
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3603
|
-
* @param {*} [options] Override http request option.
|
|
3604
|
-
* @throws {RequiredError}
|
|
3605
|
-
*/
|
|
3606
|
-
submitAuthChecklist: (submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3607
3533
|
};
|
|
3608
3534
|
/**
|
|
3609
3535
|
* CustomerApi - functional programming interface
|
|
3610
3536
|
* @export
|
|
3611
3537
|
*/
|
|
3612
3538
|
export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
3613
|
-
/**
|
|
3614
|
-
* CREATE Mandate
|
|
3615
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3616
|
-
* @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.
|
|
3617
|
-
* @param {*} [options] Override http request option.
|
|
3618
|
-
* @throws {RequiredError}
|
|
3619
|
-
*/
|
|
3620
|
-
createMandate(createMandateRequest: CreateMandateRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMandateResponse>>;
|
|
3621
|
-
/**
|
|
3622
|
-
* Create new Payment
|
|
3623
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3624
|
-
* @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.
|
|
3625
|
-
* @param {*} [options] Override http request option.
|
|
3626
|
-
* @throws {RequiredError}
|
|
3627
|
-
*/
|
|
3628
|
-
createPayment(createPaymentRequest: CreatePaymentRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponse>>;
|
|
3629
3539
|
/**
|
|
3630
3540
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
3631
3541
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -3661,35 +3571,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3661
3571
|
* @throws {RequiredError}
|
|
3662
3572
|
*/
|
|
3663
3573
|
getLoginIdentityHistory(loginIdentityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLoginIdentityHistoryResponse>>;
|
|
3664
|
-
/**
|
|
3665
|
-
* Get Mandate details by mandate_id
|
|
3666
|
-
* @param {string} mandateId mandate id
|
|
3667
|
-
* @param {*} [options] Override http request option.
|
|
3668
|
-
* @throws {RequiredError}
|
|
3669
|
-
*/
|
|
3670
|
-
getMandate(mandateId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateResponse>>;
|
|
3671
|
-
/**
|
|
3672
|
-
* Get Mandate Authorization by mandate id
|
|
3673
|
-
* @param {string} institutionId Finverse Institution ID
|
|
3674
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
3675
|
-
* @param {*} [options] Override http request option.
|
|
3676
|
-
* @throws {RequiredError}
|
|
3677
|
-
*/
|
|
3678
|
-
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthResponse>>;
|
|
3679
|
-
/**
|
|
3680
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
3681
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
3682
|
-
* @param {*} [options] Override http request option.
|
|
3683
|
-
* @throws {RequiredError}
|
|
3684
|
-
*/
|
|
3685
|
-
getMandateAuthLink(getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateAuthLinkResponse>>;
|
|
3686
|
-
/**
|
|
3687
|
-
* Get Payment details by payment_id
|
|
3688
|
-
* @param {string} paymentId payment id
|
|
3689
|
-
* @param {*} [options] Override http request option.
|
|
3690
|
-
* @throws {RequiredError}
|
|
3691
|
-
*/
|
|
3692
|
-
getPayment(paymentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentResponse>>;
|
|
3693
3574
|
/**
|
|
3694
3575
|
* Get payment instructions by payment_instruction_id
|
|
3695
3576
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -3714,35 +3595,12 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3714
3595
|
* @throws {RequiredError}
|
|
3715
3596
|
*/
|
|
3716
3597
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponse>>;
|
|
3717
|
-
/**
|
|
3718
|
-
* Submit authorization checklist items
|
|
3719
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3720
|
-
* @param {*} [options] Override http request option.
|
|
3721
|
-
* @throws {RequiredError}
|
|
3722
|
-
*/
|
|
3723
|
-
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAuthChecklistResponse>>;
|
|
3724
3598
|
};
|
|
3725
3599
|
/**
|
|
3726
3600
|
* CustomerApi - factory interface
|
|
3727
3601
|
* @export
|
|
3728
3602
|
*/
|
|
3729
3603
|
export declare const CustomerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3730
|
-
/**
|
|
3731
|
-
* CREATE Mandate
|
|
3732
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3733
|
-
* @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.
|
|
3734
|
-
* @param {*} [options] Override http request option.
|
|
3735
|
-
* @throws {RequiredError}
|
|
3736
|
-
*/
|
|
3737
|
-
createMandate(createMandateRequest: CreateMandateRequest, idempotencyKey?: string, options?: any): AxiosPromise<CreateMandateResponse>;
|
|
3738
|
-
/**
|
|
3739
|
-
* Create new Payment
|
|
3740
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3741
|
-
* @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.
|
|
3742
|
-
* @param {*} [options] Override http request option.
|
|
3743
|
-
* @throws {RequiredError}
|
|
3744
|
-
*/
|
|
3745
|
-
createPayment(createPaymentRequest: CreatePaymentRequest, idempotencyKey?: string, options?: any): AxiosPromise<CreatePaymentResponse>;
|
|
3746
3604
|
/**
|
|
3747
3605
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
3748
3606
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -3778,35 +3636,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3778
3636
|
* @throws {RequiredError}
|
|
3779
3637
|
*/
|
|
3780
3638
|
getLoginIdentityHistory(loginIdentityId: string, options?: any): AxiosPromise<GetLoginIdentityHistoryResponse>;
|
|
3781
|
-
/**
|
|
3782
|
-
* Get Mandate details by mandate_id
|
|
3783
|
-
* @param {string} mandateId mandate id
|
|
3784
|
-
* @param {*} [options] Override http request option.
|
|
3785
|
-
* @throws {RequiredError}
|
|
3786
|
-
*/
|
|
3787
|
-
getMandate(mandateId: string, options?: any): AxiosPromise<GetMandateResponse>;
|
|
3788
|
-
/**
|
|
3789
|
-
* Get Mandate Authorization by mandate id
|
|
3790
|
-
* @param {string} institutionId Finverse Institution ID
|
|
3791
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
3792
|
-
* @param {*} [options] Override http request option.
|
|
3793
|
-
* @throws {RequiredError}
|
|
3794
|
-
*/
|
|
3795
|
-
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: any): AxiosPromise<GetMandateAuthResponse>;
|
|
3796
|
-
/**
|
|
3797
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
3798
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
3799
|
-
* @param {*} [options] Override http request option.
|
|
3800
|
-
* @throws {RequiredError}
|
|
3801
|
-
*/
|
|
3802
|
-
getMandateAuthLink(getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: any): AxiosPromise<GetMandateAuthLinkResponse>;
|
|
3803
|
-
/**
|
|
3804
|
-
* Get Payment details by payment_id
|
|
3805
|
-
* @param {string} paymentId payment id
|
|
3806
|
-
* @param {*} [options] Override http request option.
|
|
3807
|
-
* @throws {RequiredError}
|
|
3808
|
-
*/
|
|
3809
|
-
getPayment(paymentId: string, options?: any): AxiosPromise<GetPaymentResponse>;
|
|
3810
3639
|
/**
|
|
3811
3640
|
* Get payment instructions by payment_instruction_id
|
|
3812
3641
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -3831,13 +3660,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3831
3660
|
* @throws {RequiredError}
|
|
3832
3661
|
*/
|
|
3833
3662
|
refreshToken(refreshRequest: RefreshRequest, options?: any): AxiosPromise<AccessTokenResponse>;
|
|
3834
|
-
/**
|
|
3835
|
-
* Submit authorization checklist items
|
|
3836
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3837
|
-
* @param {*} [options] Override http request option.
|
|
3838
|
-
* @throws {RequiredError}
|
|
3839
|
-
*/
|
|
3840
|
-
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: any): AxiosPromise<SubmitAuthChecklistResponse>;
|
|
3841
3663
|
};
|
|
3842
3664
|
/**
|
|
3843
3665
|
* CustomerApi - interface
|
|
@@ -3845,24 +3667,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3845
3667
|
* @interface CustomerApi
|
|
3846
3668
|
*/
|
|
3847
3669
|
export interface CustomerApiInterface {
|
|
3848
|
-
/**
|
|
3849
|
-
* CREATE Mandate
|
|
3850
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3851
|
-
* @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.
|
|
3852
|
-
* @param {*} [options] Override http request option.
|
|
3853
|
-
* @throws {RequiredError}
|
|
3854
|
-
* @memberof CustomerApiInterface
|
|
3855
|
-
*/
|
|
3856
|
-
createMandate(createMandateRequest: CreateMandateRequest, idempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<CreateMandateResponse>;
|
|
3857
|
-
/**
|
|
3858
|
-
* Create new Payment
|
|
3859
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3860
|
-
* @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.
|
|
3861
|
-
* @param {*} [options] Override http request option.
|
|
3862
|
-
* @throws {RequiredError}
|
|
3863
|
-
* @memberof CustomerApiInterface
|
|
3864
|
-
*/
|
|
3865
|
-
createPayment(createPaymentRequest: CreatePaymentRequest, idempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentResponse>;
|
|
3866
3670
|
/**
|
|
3867
3671
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
3868
3672
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -3903,39 +3707,6 @@ export interface CustomerApiInterface {
|
|
|
3903
3707
|
* @memberof CustomerApiInterface
|
|
3904
3708
|
*/
|
|
3905
3709
|
getLoginIdentityHistory(loginIdentityId: string, options?: AxiosRequestConfig): AxiosPromise<GetLoginIdentityHistoryResponse>;
|
|
3906
|
-
/**
|
|
3907
|
-
* Get Mandate details by mandate_id
|
|
3908
|
-
* @param {string} mandateId mandate id
|
|
3909
|
-
* @param {*} [options] Override http request option.
|
|
3910
|
-
* @throws {RequiredError}
|
|
3911
|
-
* @memberof CustomerApiInterface
|
|
3912
|
-
*/
|
|
3913
|
-
getMandate(mandateId: string, options?: AxiosRequestConfig): AxiosPromise<GetMandateResponse>;
|
|
3914
|
-
/**
|
|
3915
|
-
* Get Mandate Authorization by mandate id
|
|
3916
|
-
* @param {string} institutionId Finverse Institution ID
|
|
3917
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
3918
|
-
* @param {*} [options] Override http request option.
|
|
3919
|
-
* @throws {RequiredError}
|
|
3920
|
-
* @memberof CustomerApiInterface
|
|
3921
|
-
*/
|
|
3922
|
-
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthResponse>;
|
|
3923
|
-
/**
|
|
3924
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
3925
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
3926
|
-
* @param {*} [options] Override http request option.
|
|
3927
|
-
* @throws {RequiredError}
|
|
3928
|
-
* @memberof CustomerApiInterface
|
|
3929
|
-
*/
|
|
3930
|
-
getMandateAuthLink(getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: AxiosRequestConfig): AxiosPromise<GetMandateAuthLinkResponse>;
|
|
3931
|
-
/**
|
|
3932
|
-
* Get Payment details by payment_id
|
|
3933
|
-
* @param {string} paymentId payment id
|
|
3934
|
-
* @param {*} [options] Override http request option.
|
|
3935
|
-
* @throws {RequiredError}
|
|
3936
|
-
* @memberof CustomerApiInterface
|
|
3937
|
-
*/
|
|
3938
|
-
getPayment(paymentId: string, options?: AxiosRequestConfig): AxiosPromise<GetPaymentResponse>;
|
|
3939
3710
|
/**
|
|
3940
3711
|
* Get payment instructions by payment_instruction_id
|
|
3941
3712
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -3963,14 +3734,6 @@ export interface CustomerApiInterface {
|
|
|
3963
3734
|
* @memberof CustomerApiInterface
|
|
3964
3735
|
*/
|
|
3965
3736
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): AxiosPromise<AccessTokenResponse>;
|
|
3966
|
-
/**
|
|
3967
|
-
* Submit authorization checklist items
|
|
3968
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
3969
|
-
* @param {*} [options] Override http request option.
|
|
3970
|
-
* @throws {RequiredError}
|
|
3971
|
-
* @memberof CustomerApiInterface
|
|
3972
|
-
*/
|
|
3973
|
-
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): AxiosPromise<SubmitAuthChecklistResponse>;
|
|
3974
3737
|
}
|
|
3975
3738
|
/**
|
|
3976
3739
|
* CustomerApi - object-oriented interface
|
|
@@ -3979,24 +3742,6 @@ export interface CustomerApiInterface {
|
|
|
3979
3742
|
* @extends {BaseAPI}
|
|
3980
3743
|
*/
|
|
3981
3744
|
export declare class CustomerApi extends BaseAPI implements CustomerApiInterface {
|
|
3982
|
-
/**
|
|
3983
|
-
* CREATE Mandate
|
|
3984
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
3985
|
-
* @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.
|
|
3986
|
-
* @param {*} [options] Override http request option.
|
|
3987
|
-
* @throws {RequiredError}
|
|
3988
|
-
* @memberof CustomerApi
|
|
3989
|
-
*/
|
|
3990
|
-
createMandate(createMandateRequest: CreateMandateRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMandateResponse>>;
|
|
3991
|
-
/**
|
|
3992
|
-
* Create new Payment
|
|
3993
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
3994
|
-
* @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.
|
|
3995
|
-
* @param {*} [options] Override http request option.
|
|
3996
|
-
* @throws {RequiredError}
|
|
3997
|
-
* @memberof CustomerApi
|
|
3998
|
-
*/
|
|
3999
|
-
createPayment(createPaymentRequest: CreatePaymentRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponse>>;
|
|
4000
3745
|
/**
|
|
4001
3746
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
4002
3747
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -4037,39 +3782,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4037
3782
|
* @memberof CustomerApi
|
|
4038
3783
|
*/
|
|
4039
3784
|
getLoginIdentityHistory(loginIdentityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLoginIdentityHistoryResponse>>;
|
|
4040
|
-
/**
|
|
4041
|
-
* Get Mandate details by mandate_id
|
|
4042
|
-
* @param {string} mandateId mandate id
|
|
4043
|
-
* @param {*} [options] Override http request option.
|
|
4044
|
-
* @throws {RequiredError}
|
|
4045
|
-
* @memberof CustomerApi
|
|
4046
|
-
*/
|
|
4047
|
-
getMandate(mandateId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateResponse>>;
|
|
4048
|
-
/**
|
|
4049
|
-
* Get Mandate Authorization by mandate id
|
|
4050
|
-
* @param {string} institutionId Finverse Institution ID
|
|
4051
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
4052
|
-
* @param {*} [options] Override http request option.
|
|
4053
|
-
* @throws {RequiredError}
|
|
4054
|
-
* @memberof CustomerApi
|
|
4055
|
-
*/
|
|
4056
|
-
getMandateAuth(institutionId: string, senderType?: 'INDIVIDUAL' | 'BUSINESS', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthResponse>>;
|
|
4057
|
-
/**
|
|
4058
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
4059
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
4060
|
-
* @param {*} [options] Override http request option.
|
|
4061
|
-
* @throws {RequiredError}
|
|
4062
|
-
* @memberof CustomerApi
|
|
4063
|
-
*/
|
|
4064
|
-
getMandateAuthLink(getMandateAuthLinkRequest: GetMandateAuthLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateAuthLinkResponse>>;
|
|
4065
|
-
/**
|
|
4066
|
-
* Get Payment details by payment_id
|
|
4067
|
-
* @param {string} paymentId payment id
|
|
4068
|
-
* @param {*} [options] Override http request option.
|
|
4069
|
-
* @throws {RequiredError}
|
|
4070
|
-
* @memberof CustomerApi
|
|
4071
|
-
*/
|
|
4072
|
-
getPayment(paymentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponse>>;
|
|
4073
3785
|
/**
|
|
4074
3786
|
* Get payment instructions by payment_instruction_id
|
|
4075
3787
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -4097,14 +3809,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4097
3809
|
* @memberof CustomerApi
|
|
4098
3810
|
*/
|
|
4099
3811
|
refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessTokenResponse>>;
|
|
4100
|
-
/**
|
|
4101
|
-
* Submit authorization checklist items
|
|
4102
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
4103
|
-
* @param {*} [options] Override http request option.
|
|
4104
|
-
* @throws {RequiredError}
|
|
4105
|
-
* @memberof CustomerApi
|
|
4106
|
-
*/
|
|
4107
|
-
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
|
|
4108
3812
|
}
|
|
4109
3813
|
/**
|
|
4110
3814
|
* LinkApi - axios parameter creator
|
|
@@ -4945,12 +4649,6 @@ export declare const PublicApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4945
4649
|
* @throws {RequiredError}
|
|
4946
4650
|
*/
|
|
4947
4651
|
generateCustomerAccessToken: (tokenRequest?: TokenRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4948
|
-
/**
|
|
4949
|
-
* get payment jwks
|
|
4950
|
-
* @param {*} [options] Override http request option.
|
|
4951
|
-
* @throws {RequiredError}
|
|
4952
|
-
*/
|
|
4953
|
-
getPaymentsJwks: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4954
4652
|
};
|
|
4955
4653
|
/**
|
|
4956
4654
|
* PublicApi - functional programming interface
|
|
@@ -4975,12 +4673,6 @@ export declare const PublicApiFp: (configuration?: Configuration) => {
|
|
|
4975
4673
|
* @throws {RequiredError}
|
|
4976
4674
|
*/
|
|
4977
4675
|
generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenResponse>>;
|
|
4978
|
-
/**
|
|
4979
|
-
* get payment jwks
|
|
4980
|
-
* @param {*} [options] Override http request option.
|
|
4981
|
-
* @throws {RequiredError}
|
|
4982
|
-
*/
|
|
4983
|
-
getPaymentsJwks(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJWKSResponse>>;
|
|
4984
4676
|
};
|
|
4985
4677
|
/**
|
|
4986
4678
|
* PublicApi - factory interface
|
|
@@ -5005,12 +4697,6 @@ export declare const PublicApiFactory: (configuration?: Configuration, basePath?
|
|
|
5005
4697
|
* @throws {RequiredError}
|
|
5006
4698
|
*/
|
|
5007
4699
|
generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: any): AxiosPromise<TokenResponse>;
|
|
5008
|
-
/**
|
|
5009
|
-
* get payment jwks
|
|
5010
|
-
* @param {*} [options] Override http request option.
|
|
5011
|
-
* @throws {RequiredError}
|
|
5012
|
-
*/
|
|
5013
|
-
getPaymentsJwks(options?: any): AxiosPromise<GetJWKSResponse>;
|
|
5014
4700
|
};
|
|
5015
4701
|
/**
|
|
5016
4702
|
* PublicApi - interface
|
|
@@ -5038,13 +4724,6 @@ export interface PublicApiInterface {
|
|
|
5038
4724
|
* @memberof PublicApiInterface
|
|
5039
4725
|
*/
|
|
5040
4726
|
generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): AxiosPromise<TokenResponse>;
|
|
5041
|
-
/**
|
|
5042
|
-
* get payment jwks
|
|
5043
|
-
* @param {*} [options] Override http request option.
|
|
5044
|
-
* @throws {RequiredError}
|
|
5045
|
-
* @memberof PublicApiInterface
|
|
5046
|
-
*/
|
|
5047
|
-
getPaymentsJwks(options?: AxiosRequestConfig): AxiosPromise<GetJWKSResponse>;
|
|
5048
4727
|
}
|
|
5049
4728
|
/**
|
|
5050
4729
|
* PublicApi - object-oriented interface
|
|
@@ -5073,11 +4752,4 @@ export declare class PublicApi extends BaseAPI implements PublicApiInterface {
|
|
|
5073
4752
|
* @memberof PublicApi
|
|
5074
4753
|
*/
|
|
5075
4754
|
generateCustomerAccessToken(tokenRequest?: TokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TokenResponse>>;
|
|
5076
|
-
/**
|
|
5077
|
-
* get payment jwks
|
|
5078
|
-
* @param {*} [options] Override http request option.
|
|
5079
|
-
* @throws {RequiredError}
|
|
5080
|
-
* @memberof PublicApi
|
|
5081
|
-
*/
|
|
5082
|
-
getPaymentsJwks(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetJWKSResponse>>;
|
|
5083
4755
|
}
|
package/dist/api.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Documentation of the early finverse services
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0.0.1
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: info@finverse.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -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.SubmitAuthChecklistResponseMandateStatusEnum = exports.SubmitAuthChecklistRequestSenderTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.
|
|
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.SubmitAuthChecklistRequestSenderTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = 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,10 +48,6 @@ exports.AuthChecklistOptionsSubmittedByEnum = {
|
|
|
48
48
|
CustomerApp: 'CUSTOMER_APP',
|
|
49
49
|
FinverseLink: 'FINVERSE_LINK',
|
|
50
50
|
};
|
|
51
|
-
exports.CreateMandateSenderSenderTypeEnum = {
|
|
52
|
-
Individual: 'INDIVIDUAL',
|
|
53
|
-
Business: 'BUSINESS',
|
|
54
|
-
};
|
|
55
51
|
exports.CreatePaymentRequestTypeEnum = {
|
|
56
52
|
Mandate: 'MANDATE',
|
|
57
53
|
Single: 'SINGLE',
|
|
@@ -78,10 +74,6 @@ exports.GetMandateResponseMandateStatusEnum = {
|
|
|
78
74
|
Submitted: 'SUBMITTED',
|
|
79
75
|
Error: 'ERROR',
|
|
80
76
|
};
|
|
81
|
-
exports.GetMandateSenderSenderTypeEnum = {
|
|
82
|
-
Individual: 'INDIVIDUAL',
|
|
83
|
-
Business: 'BUSINESS',
|
|
84
|
-
};
|
|
85
77
|
exports.GetPaymentResponseTypeEnum = {
|
|
86
78
|
Mandate: 'MANDATE',
|
|
87
79
|
Single: 'SINGLE',
|
|
@@ -145,78 +137,6 @@ exports.TransactionLimitsPeriodEnum = {
|
|
|
145
137
|
*/
|
|
146
138
|
exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
147
139
|
return {
|
|
148
|
-
/**
|
|
149
|
-
* CREATE Mandate
|
|
150
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
151
|
-
* @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.
|
|
152
|
-
* @param {*} [options] Override http request option.
|
|
153
|
-
* @throws {RequiredError}
|
|
154
|
-
*/
|
|
155
|
-
createMandate: (createMandateRequest, idempotencyKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
156
|
-
// verify required parameter 'createMandateRequest' is not null or undefined
|
|
157
|
-
common_1.assertParamExists('createMandate', 'createMandateRequest', createMandateRequest);
|
|
158
|
-
const localVarPath = `/mandates`;
|
|
159
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
160
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
161
|
-
let baseOptions;
|
|
162
|
-
if (configuration) {
|
|
163
|
-
baseOptions = configuration.baseOptions;
|
|
164
|
-
}
|
|
165
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
166
|
-
const localVarHeaderParameter = {};
|
|
167
|
-
const localVarQueryParameter = {};
|
|
168
|
-
// authentication Oauth2 required
|
|
169
|
-
// oauth required
|
|
170
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
171
|
-
if (idempotencyKey !== undefined && idempotencyKey !== null) {
|
|
172
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
173
|
-
}
|
|
174
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
175
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
176
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
177
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
178
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMandateRequest, localVarRequestOptions, configuration);
|
|
179
|
-
return {
|
|
180
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
181
|
-
options: localVarRequestOptions,
|
|
182
|
-
};
|
|
183
|
-
}),
|
|
184
|
-
/**
|
|
185
|
-
* Create new Payment
|
|
186
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
187
|
-
* @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.
|
|
188
|
-
* @param {*} [options] Override http request option.
|
|
189
|
-
* @throws {RequiredError}
|
|
190
|
-
*/
|
|
191
|
-
createPayment: (createPaymentRequest, idempotencyKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
192
|
-
// verify required parameter 'createPaymentRequest' is not null or undefined
|
|
193
|
-
common_1.assertParamExists('createPayment', 'createPaymentRequest', createPaymentRequest);
|
|
194
|
-
const localVarPath = `/payments`;
|
|
195
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
196
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
197
|
-
let baseOptions;
|
|
198
|
-
if (configuration) {
|
|
199
|
-
baseOptions = configuration.baseOptions;
|
|
200
|
-
}
|
|
201
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
202
|
-
const localVarHeaderParameter = {};
|
|
203
|
-
const localVarQueryParameter = {};
|
|
204
|
-
// authentication Oauth2 required
|
|
205
|
-
// oauth required
|
|
206
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
207
|
-
if (idempotencyKey !== undefined && idempotencyKey !== null) {
|
|
208
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
209
|
-
}
|
|
210
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
211
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
212
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
213
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
214
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createPaymentRequest, localVarRequestOptions, configuration);
|
|
215
|
-
return {
|
|
216
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
217
|
-
options: localVarRequestOptions,
|
|
218
|
-
};
|
|
219
|
-
}),
|
|
220
140
|
/**
|
|
221
141
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
222
142
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -371,135 +291,6 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
371
291
|
options: localVarRequestOptions,
|
|
372
292
|
};
|
|
373
293
|
}),
|
|
374
|
-
/**
|
|
375
|
-
* Get Mandate details by mandate_id
|
|
376
|
-
* @param {string} mandateId mandate id
|
|
377
|
-
* @param {*} [options] Override http request option.
|
|
378
|
-
* @throws {RequiredError}
|
|
379
|
-
*/
|
|
380
|
-
getMandate: (mandateId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
381
|
-
// verify required parameter 'mandateId' is not null or undefined
|
|
382
|
-
common_1.assertParamExists('getMandate', 'mandateId', mandateId);
|
|
383
|
-
const localVarPath = `/mandates/{mandateId}`.replace(`{${'mandateId'}}`, encodeURIComponent(String(mandateId)));
|
|
384
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
385
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
386
|
-
let baseOptions;
|
|
387
|
-
if (configuration) {
|
|
388
|
-
baseOptions = configuration.baseOptions;
|
|
389
|
-
}
|
|
390
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
391
|
-
const localVarHeaderParameter = {};
|
|
392
|
-
const localVarQueryParameter = {};
|
|
393
|
-
// authentication Oauth2 required
|
|
394
|
-
// oauth required
|
|
395
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
396
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
397
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
398
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
399
|
-
return {
|
|
400
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
401
|
-
options: localVarRequestOptions,
|
|
402
|
-
};
|
|
403
|
-
}),
|
|
404
|
-
/**
|
|
405
|
-
* Get Mandate Authorization by mandate id
|
|
406
|
-
* @param {string} institutionId Finverse Institution ID
|
|
407
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
408
|
-
* @param {*} [options] Override http request option.
|
|
409
|
-
* @throws {RequiredError}
|
|
410
|
-
*/
|
|
411
|
-
getMandateAuth: (institutionId, senderType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
412
|
-
// verify required parameter 'institutionId' is not null or undefined
|
|
413
|
-
common_1.assertParamExists('getMandateAuth', 'institutionId', institutionId);
|
|
414
|
-
const localVarPath = `/mandates/auth`;
|
|
415
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
416
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
417
|
-
let baseOptions;
|
|
418
|
-
if (configuration) {
|
|
419
|
-
baseOptions = configuration.baseOptions;
|
|
420
|
-
}
|
|
421
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
422
|
-
const localVarHeaderParameter = {};
|
|
423
|
-
const localVarQueryParameter = {};
|
|
424
|
-
// authentication Oauth2 required
|
|
425
|
-
// oauth required
|
|
426
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
427
|
-
if (institutionId !== undefined) {
|
|
428
|
-
localVarQueryParameter['institution_id'] = institutionId;
|
|
429
|
-
}
|
|
430
|
-
if (senderType !== undefined) {
|
|
431
|
-
localVarQueryParameter['sender_type'] = senderType;
|
|
432
|
-
}
|
|
433
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
434
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
435
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
436
|
-
return {
|
|
437
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
438
|
-
options: localVarRequestOptions,
|
|
439
|
-
};
|
|
440
|
-
}),
|
|
441
|
-
/**
|
|
442
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
443
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
444
|
-
* @param {*} [options] Override http request option.
|
|
445
|
-
* @throws {RequiredError}
|
|
446
|
-
*/
|
|
447
|
-
getMandateAuthLink: (getMandateAuthLinkRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
448
|
-
// verify required parameter 'getMandateAuthLinkRequest' is not null or undefined
|
|
449
|
-
common_1.assertParamExists('getMandateAuthLink', 'getMandateAuthLinkRequest', getMandateAuthLinkRequest);
|
|
450
|
-
const localVarPath = `/mandates/link`;
|
|
451
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
452
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
453
|
-
let baseOptions;
|
|
454
|
-
if (configuration) {
|
|
455
|
-
baseOptions = configuration.baseOptions;
|
|
456
|
-
}
|
|
457
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
458
|
-
const localVarHeaderParameter = {};
|
|
459
|
-
const localVarQueryParameter = {};
|
|
460
|
-
// authentication Oauth2 required
|
|
461
|
-
// oauth required
|
|
462
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
463
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
464
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
465
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
466
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
467
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(getMandateAuthLinkRequest, localVarRequestOptions, configuration);
|
|
468
|
-
return {
|
|
469
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
470
|
-
options: localVarRequestOptions,
|
|
471
|
-
};
|
|
472
|
-
}),
|
|
473
|
-
/**
|
|
474
|
-
* Get Payment details by payment_id
|
|
475
|
-
* @param {string} paymentId payment id
|
|
476
|
-
* @param {*} [options] Override http request option.
|
|
477
|
-
* @throws {RequiredError}
|
|
478
|
-
*/
|
|
479
|
-
getPayment: (paymentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
480
|
-
// verify required parameter 'paymentId' is not null or undefined
|
|
481
|
-
common_1.assertParamExists('getPayment', 'paymentId', paymentId);
|
|
482
|
-
const localVarPath = `/payments/{paymentId}`.replace(`{${'paymentId'}}`, encodeURIComponent(String(paymentId)));
|
|
483
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
484
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
485
|
-
let baseOptions;
|
|
486
|
-
if (configuration) {
|
|
487
|
-
baseOptions = configuration.baseOptions;
|
|
488
|
-
}
|
|
489
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
490
|
-
const localVarHeaderParameter = {};
|
|
491
|
-
const localVarQueryParameter = {};
|
|
492
|
-
// authentication Oauth2 required
|
|
493
|
-
// oauth required
|
|
494
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
495
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
496
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
497
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
498
|
-
return {
|
|
499
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
500
|
-
options: localVarRequestOptions,
|
|
501
|
-
};
|
|
502
|
-
}),
|
|
503
294
|
/**
|
|
504
295
|
* Get payment instructions by payment_instruction_id
|
|
505
296
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -605,38 +396,6 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
605
396
|
options: localVarRequestOptions,
|
|
606
397
|
};
|
|
607
398
|
}),
|
|
608
|
-
/**
|
|
609
|
-
* Submit authorization checklist items
|
|
610
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
611
|
-
* @param {*} [options] Override http request option.
|
|
612
|
-
* @throws {RequiredError}
|
|
613
|
-
*/
|
|
614
|
-
submitAuthChecklist: (submitAuthChecklistRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
615
|
-
// verify required parameter 'submitAuthChecklistRequest' is not null or undefined
|
|
616
|
-
common_1.assertParamExists('submitAuthChecklist', 'submitAuthChecklistRequest', submitAuthChecklistRequest);
|
|
617
|
-
const localVarPath = `/mandates/auth`;
|
|
618
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
619
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
620
|
-
let baseOptions;
|
|
621
|
-
if (configuration) {
|
|
622
|
-
baseOptions = configuration.baseOptions;
|
|
623
|
-
}
|
|
624
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
625
|
-
const localVarHeaderParameter = {};
|
|
626
|
-
const localVarQueryParameter = {};
|
|
627
|
-
// authentication Oauth2 required
|
|
628
|
-
// oauth required
|
|
629
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
630
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
631
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
632
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
633
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
634
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(submitAuthChecklistRequest, localVarRequestOptions, configuration);
|
|
635
|
-
return {
|
|
636
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
637
|
-
options: localVarRequestOptions,
|
|
638
|
-
};
|
|
639
|
-
}),
|
|
640
399
|
};
|
|
641
400
|
};
|
|
642
401
|
/**
|
|
@@ -646,32 +405,6 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
646
405
|
exports.CustomerApiFp = function (configuration) {
|
|
647
406
|
const localVarAxiosParamCreator = exports.CustomerApiAxiosParamCreator(configuration);
|
|
648
407
|
return {
|
|
649
|
-
/**
|
|
650
|
-
* CREATE Mandate
|
|
651
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
652
|
-
* @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.
|
|
653
|
-
* @param {*} [options] Override http request option.
|
|
654
|
-
* @throws {RequiredError}
|
|
655
|
-
*/
|
|
656
|
-
createMandate(createMandateRequest, idempotencyKey, options) {
|
|
657
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
658
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createMandate(createMandateRequest, idempotencyKey, options);
|
|
659
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
660
|
-
});
|
|
661
|
-
},
|
|
662
|
-
/**
|
|
663
|
-
* Create new Payment
|
|
664
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
665
|
-
* @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.
|
|
666
|
-
* @param {*} [options] Override http request option.
|
|
667
|
-
* @throws {RequiredError}
|
|
668
|
-
*/
|
|
669
|
-
createPayment(createPaymentRequest, idempotencyKey, options) {
|
|
670
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
671
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createPayment(createPaymentRequest, idempotencyKey, options);
|
|
672
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
673
|
-
});
|
|
674
|
-
},
|
|
675
408
|
/**
|
|
676
409
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
677
410
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -732,55 +465,6 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
732
465
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
733
466
|
});
|
|
734
467
|
},
|
|
735
|
-
/**
|
|
736
|
-
* Get Mandate details by mandate_id
|
|
737
|
-
* @param {string} mandateId mandate id
|
|
738
|
-
* @param {*} [options] Override http request option.
|
|
739
|
-
* @throws {RequiredError}
|
|
740
|
-
*/
|
|
741
|
-
getMandate(mandateId, options) {
|
|
742
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
743
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandate(mandateId, options);
|
|
744
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
745
|
-
});
|
|
746
|
-
},
|
|
747
|
-
/**
|
|
748
|
-
* Get Mandate Authorization by mandate id
|
|
749
|
-
* @param {string} institutionId Finverse Institution ID
|
|
750
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
751
|
-
* @param {*} [options] Override http request option.
|
|
752
|
-
* @throws {RequiredError}
|
|
753
|
-
*/
|
|
754
|
-
getMandateAuth(institutionId, senderType, options) {
|
|
755
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
756
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandateAuth(institutionId, senderType, options);
|
|
757
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
758
|
-
});
|
|
759
|
-
},
|
|
760
|
-
/**
|
|
761
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
762
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
763
|
-
* @param {*} [options] Override http request option.
|
|
764
|
-
* @throws {RequiredError}
|
|
765
|
-
*/
|
|
766
|
-
getMandateAuthLink(getMandateAuthLinkRequest, options) {
|
|
767
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
768
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMandateAuthLink(getMandateAuthLinkRequest, options);
|
|
769
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
770
|
-
});
|
|
771
|
-
},
|
|
772
|
-
/**
|
|
773
|
-
* Get Payment details by payment_id
|
|
774
|
-
* @param {string} paymentId payment id
|
|
775
|
-
* @param {*} [options] Override http request option.
|
|
776
|
-
* @throws {RequiredError}
|
|
777
|
-
*/
|
|
778
|
-
getPayment(paymentId, options) {
|
|
779
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
780
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPayment(paymentId, options);
|
|
781
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
782
|
-
});
|
|
783
|
-
},
|
|
784
468
|
/**
|
|
785
469
|
* Get payment instructions by payment_instruction_id
|
|
786
470
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -820,18 +504,6 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
820
504
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
821
505
|
});
|
|
822
506
|
},
|
|
823
|
-
/**
|
|
824
|
-
* Submit authorization checklist items
|
|
825
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
826
|
-
* @param {*} [options] Override http request option.
|
|
827
|
-
* @throws {RequiredError}
|
|
828
|
-
*/
|
|
829
|
-
submitAuthChecklist(submitAuthChecklistRequest, options) {
|
|
830
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
831
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitAuthChecklist(submitAuthChecklistRequest, options);
|
|
832
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
833
|
-
});
|
|
834
|
-
},
|
|
835
507
|
};
|
|
836
508
|
};
|
|
837
509
|
/**
|
|
@@ -841,30 +513,6 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
841
513
|
exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
842
514
|
const localVarFp = exports.CustomerApiFp(configuration);
|
|
843
515
|
return {
|
|
844
|
-
/**
|
|
845
|
-
* CREATE Mandate
|
|
846
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
847
|
-
* @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.
|
|
848
|
-
* @param {*} [options] Override http request option.
|
|
849
|
-
* @throws {RequiredError}
|
|
850
|
-
*/
|
|
851
|
-
createMandate(createMandateRequest, idempotencyKey, options) {
|
|
852
|
-
return localVarFp
|
|
853
|
-
.createMandate(createMandateRequest, idempotencyKey, options)
|
|
854
|
-
.then((request) => request(axios, basePath));
|
|
855
|
-
},
|
|
856
|
-
/**
|
|
857
|
-
* Create new Payment
|
|
858
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
859
|
-
* @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.
|
|
860
|
-
* @param {*} [options] Override http request option.
|
|
861
|
-
* @throws {RequiredError}
|
|
862
|
-
*/
|
|
863
|
-
createPayment(createPaymentRequest, idempotencyKey, options) {
|
|
864
|
-
return localVarFp
|
|
865
|
-
.createPayment(createPaymentRequest, idempotencyKey, options)
|
|
866
|
-
.then((request) => request(axios, basePath));
|
|
867
|
-
},
|
|
868
516
|
/**
|
|
869
517
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
870
518
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -912,45 +560,6 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
912
560
|
getLoginIdentityHistory(loginIdentityId, options) {
|
|
913
561
|
return localVarFp.getLoginIdentityHistory(loginIdentityId, options).then((request) => request(axios, basePath));
|
|
914
562
|
},
|
|
915
|
-
/**
|
|
916
|
-
* Get Mandate details by mandate_id
|
|
917
|
-
* @param {string} mandateId mandate id
|
|
918
|
-
* @param {*} [options] Override http request option.
|
|
919
|
-
* @throws {RequiredError}
|
|
920
|
-
*/
|
|
921
|
-
getMandate(mandateId, options) {
|
|
922
|
-
return localVarFp.getMandate(mandateId, options).then((request) => request(axios, basePath));
|
|
923
|
-
},
|
|
924
|
-
/**
|
|
925
|
-
* Get Mandate Authorization by mandate id
|
|
926
|
-
* @param {string} institutionId Finverse Institution ID
|
|
927
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
928
|
-
* @param {*} [options] Override http request option.
|
|
929
|
-
* @throws {RequiredError}
|
|
930
|
-
*/
|
|
931
|
-
getMandateAuth(institutionId, senderType, options) {
|
|
932
|
-
return localVarFp.getMandateAuth(institutionId, senderType, options).then((request) => request(axios, basePath));
|
|
933
|
-
},
|
|
934
|
-
/**
|
|
935
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
936
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
937
|
-
* @param {*} [options] Override http request option.
|
|
938
|
-
* @throws {RequiredError}
|
|
939
|
-
*/
|
|
940
|
-
getMandateAuthLink(getMandateAuthLinkRequest, options) {
|
|
941
|
-
return localVarFp
|
|
942
|
-
.getMandateAuthLink(getMandateAuthLinkRequest, options)
|
|
943
|
-
.then((request) => request(axios, basePath));
|
|
944
|
-
},
|
|
945
|
-
/**
|
|
946
|
-
* Get Payment details by payment_id
|
|
947
|
-
* @param {string} paymentId payment id
|
|
948
|
-
* @param {*} [options] Override http request option.
|
|
949
|
-
* @throws {RequiredError}
|
|
950
|
-
*/
|
|
951
|
-
getPayment(paymentId, options) {
|
|
952
|
-
return localVarFp.getPayment(paymentId, options).then((request) => request(axios, basePath));
|
|
953
|
-
},
|
|
954
563
|
/**
|
|
955
564
|
* Get payment instructions by payment_instruction_id
|
|
956
565
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -985,17 +594,6 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
985
594
|
refreshToken(refreshRequest, options) {
|
|
986
595
|
return localVarFp.refreshToken(refreshRequest, options).then((request) => request(axios, basePath));
|
|
987
596
|
},
|
|
988
|
-
/**
|
|
989
|
-
* Submit authorization checklist items
|
|
990
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
991
|
-
* @param {*} [options] Override http request option.
|
|
992
|
-
* @throws {RequiredError}
|
|
993
|
-
*/
|
|
994
|
-
submitAuthChecklist(submitAuthChecklistRequest, options) {
|
|
995
|
-
return localVarFp
|
|
996
|
-
.submitAuthChecklist(submitAuthChecklistRequest, options)
|
|
997
|
-
.then((request) => request(axios, basePath));
|
|
998
|
-
},
|
|
999
597
|
};
|
|
1000
598
|
};
|
|
1001
599
|
/**
|
|
@@ -1005,32 +603,6 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1005
603
|
* @extends {BaseAPI}
|
|
1006
604
|
*/
|
|
1007
605
|
class CustomerApi extends base_1.BaseAPI {
|
|
1008
|
-
/**
|
|
1009
|
-
* CREATE Mandate
|
|
1010
|
-
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
1011
|
-
* @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.
|
|
1012
|
-
* @param {*} [options] Override http request option.
|
|
1013
|
-
* @throws {RequiredError}
|
|
1014
|
-
* @memberof CustomerApi
|
|
1015
|
-
*/
|
|
1016
|
-
createMandate(createMandateRequest, idempotencyKey, options) {
|
|
1017
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1018
|
-
.createMandate(createMandateRequest, idempotencyKey, options)
|
|
1019
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1020
|
-
}
|
|
1021
|
-
/**
|
|
1022
|
-
* Create new Payment
|
|
1023
|
-
* @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
|
|
1024
|
-
* @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.
|
|
1025
|
-
* @param {*} [options] Override http request option.
|
|
1026
|
-
* @throws {RequiredError}
|
|
1027
|
-
* @memberof CustomerApi
|
|
1028
|
-
*/
|
|
1029
|
-
createPayment(createPaymentRequest, idempotencyKey, options) {
|
|
1030
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1031
|
-
.createPayment(createPaymentRequest, idempotencyKey, options)
|
|
1032
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1033
|
-
}
|
|
1034
606
|
/**
|
|
1035
607
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
1036
608
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -1091,55 +663,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1091
663
|
.getLoginIdentityHistory(loginIdentityId, options)
|
|
1092
664
|
.then((request) => request(this.axios, this.basePath));
|
|
1093
665
|
}
|
|
1094
|
-
/**
|
|
1095
|
-
* Get Mandate details by mandate_id
|
|
1096
|
-
* @param {string} mandateId mandate id
|
|
1097
|
-
* @param {*} [options] Override http request option.
|
|
1098
|
-
* @throws {RequiredError}
|
|
1099
|
-
* @memberof CustomerApi
|
|
1100
|
-
*/
|
|
1101
|
-
getMandate(mandateId, options) {
|
|
1102
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1103
|
-
.getMandate(mandateId, options)
|
|
1104
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1105
|
-
}
|
|
1106
|
-
/**
|
|
1107
|
-
* Get Mandate Authorization by mandate id
|
|
1108
|
-
* @param {string} institutionId Finverse Institution ID
|
|
1109
|
-
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] Type of account held by the Sender at the Institution. Required if institution.user_type is undefined. Possible values are INDIVIDUAL, BUSINESS
|
|
1110
|
-
* @param {*} [options] Override http request option.
|
|
1111
|
-
* @throws {RequiredError}
|
|
1112
|
-
* @memberof CustomerApi
|
|
1113
|
-
*/
|
|
1114
|
-
getMandateAuth(institutionId, senderType, options) {
|
|
1115
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1116
|
-
.getMandateAuth(institutionId, senderType, options)
|
|
1117
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1118
|
-
}
|
|
1119
|
-
/**
|
|
1120
|
-
* Get link to launch FV Link UI in mandate authorization mode
|
|
1121
|
-
* @param {GetMandateAuthLinkRequest} getMandateAuthLinkRequest request body for mandate authorization link
|
|
1122
|
-
* @param {*} [options] Override http request option.
|
|
1123
|
-
* @throws {RequiredError}
|
|
1124
|
-
* @memberof CustomerApi
|
|
1125
|
-
*/
|
|
1126
|
-
getMandateAuthLink(getMandateAuthLinkRequest, options) {
|
|
1127
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1128
|
-
.getMandateAuthLink(getMandateAuthLinkRequest, options)
|
|
1129
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1130
|
-
}
|
|
1131
|
-
/**
|
|
1132
|
-
* Get Payment details by payment_id
|
|
1133
|
-
* @param {string} paymentId payment id
|
|
1134
|
-
* @param {*} [options] Override http request option.
|
|
1135
|
-
* @throws {RequiredError}
|
|
1136
|
-
* @memberof CustomerApi
|
|
1137
|
-
*/
|
|
1138
|
-
getPayment(paymentId, options) {
|
|
1139
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1140
|
-
.getPayment(paymentId, options)
|
|
1141
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1142
|
-
}
|
|
1143
666
|
/**
|
|
1144
667
|
* Get payment instructions by payment_instruction_id
|
|
1145
668
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -1179,18 +702,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1179
702
|
.refreshToken(refreshRequest, options)
|
|
1180
703
|
.then((request) => request(this.axios, this.basePath));
|
|
1181
704
|
}
|
|
1182
|
-
/**
|
|
1183
|
-
* Submit authorization checklist items
|
|
1184
|
-
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
1185
|
-
* @param {*} [options] Override http request option.
|
|
1186
|
-
* @throws {RequiredError}
|
|
1187
|
-
* @memberof CustomerApi
|
|
1188
|
-
*/
|
|
1189
|
-
submitAuthChecklist(submitAuthChecklistRequest, options) {
|
|
1190
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1191
|
-
.submitAuthChecklist(submitAuthChecklistRequest, options)
|
|
1192
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1193
|
-
}
|
|
1194
705
|
}
|
|
1195
706
|
exports.CustomerApi = CustomerApi;
|
|
1196
707
|
/**
|
|
@@ -2659,33 +2170,6 @@ exports.PublicApiAxiosParamCreator = function (configuration) {
|
|
|
2659
2170
|
options: localVarRequestOptions,
|
|
2660
2171
|
};
|
|
2661
2172
|
}),
|
|
2662
|
-
/**
|
|
2663
|
-
* get payment jwks
|
|
2664
|
-
* @param {*} [options] Override http request option.
|
|
2665
|
-
* @throws {RequiredError}
|
|
2666
|
-
*/
|
|
2667
|
-
getPaymentsJwks: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2668
|
-
const localVarPath = `/payments/jwks`;
|
|
2669
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2670
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2671
|
-
let baseOptions;
|
|
2672
|
-
if (configuration) {
|
|
2673
|
-
baseOptions = configuration.baseOptions;
|
|
2674
|
-
}
|
|
2675
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2676
|
-
const localVarHeaderParameter = {};
|
|
2677
|
-
const localVarQueryParameter = {};
|
|
2678
|
-
// authentication Oauth2 required
|
|
2679
|
-
// oauth required
|
|
2680
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', ['test'], configuration);
|
|
2681
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2682
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2683
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2684
|
-
return {
|
|
2685
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2686
|
-
options: localVarRequestOptions,
|
|
2687
|
-
};
|
|
2688
|
-
}),
|
|
2689
2173
|
};
|
|
2690
2174
|
};
|
|
2691
2175
|
/**
|
|
@@ -2723,17 +2207,6 @@ exports.PublicApiFp = function (configuration) {
|
|
|
2723
2207
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2724
2208
|
});
|
|
2725
2209
|
},
|
|
2726
|
-
/**
|
|
2727
|
-
* get payment jwks
|
|
2728
|
-
* @param {*} [options] Override http request option.
|
|
2729
|
-
* @throws {RequiredError}
|
|
2730
|
-
*/
|
|
2731
|
-
getPaymentsJwks(options) {
|
|
2732
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2733
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentsJwks(options);
|
|
2734
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2735
|
-
});
|
|
2736
|
-
},
|
|
2737
2210
|
};
|
|
2738
2211
|
};
|
|
2739
2212
|
/**
|
|
@@ -2767,14 +2240,6 @@ exports.PublicApiFactory = function (configuration, basePath, axios) {
|
|
|
2767
2240
|
generateCustomerAccessToken(tokenRequest, options) {
|
|
2768
2241
|
return localVarFp.generateCustomerAccessToken(tokenRequest, options).then((request) => request(axios, basePath));
|
|
2769
2242
|
},
|
|
2770
|
-
/**
|
|
2771
|
-
* get payment jwks
|
|
2772
|
-
* @param {*} [options] Override http request option.
|
|
2773
|
-
* @throws {RequiredError}
|
|
2774
|
-
*/
|
|
2775
|
-
getPaymentsJwks(options) {
|
|
2776
|
-
return localVarFp.getPaymentsJwks(options).then((request) => request(axios, basePath));
|
|
2777
|
-
},
|
|
2778
2243
|
};
|
|
2779
2244
|
};
|
|
2780
2245
|
/**
|
|
@@ -2812,16 +2277,5 @@ class PublicApi extends base_1.BaseAPI {
|
|
|
2812
2277
|
.generateCustomerAccessToken(tokenRequest, options)
|
|
2813
2278
|
.then((request) => request(this.axios, this.basePath));
|
|
2814
2279
|
}
|
|
2815
|
-
/**
|
|
2816
|
-
* get payment jwks
|
|
2817
|
-
* @param {*} [options] Override http request option.
|
|
2818
|
-
* @throws {RequiredError}
|
|
2819
|
-
* @memberof PublicApi
|
|
2820
|
-
*/
|
|
2821
|
-
getPaymentsJwks(options) {
|
|
2822
|
-
return exports.PublicApiFp(this.configuration)
|
|
2823
|
-
.getPaymentsJwks(options)
|
|
2824
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2825
|
-
}
|
|
2826
2280
|
}
|
|
2827
2281
|
exports.PublicApi = PublicApi;
|
package/dist/base.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Documentation of the early finverse services
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.0.1
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: info@finverse.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/base.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Documentation of the early finverse services
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0.0.1
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: info@finverse.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
package/dist/common.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Documentation of the early finverse services
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.0.1
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: info@finverse.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/common.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Documentation of the early finverse services
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0.0.1
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: info@finverse.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
package/dist/configuration.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Documentation of the early finverse services
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.0.1
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: info@finverse.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/configuration.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Documentation of the early finverse services
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0.0.1
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: info@finverse.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Documentation of the early finverse services
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.0.1
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: info@finverse.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Documentation of the early finverse services
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0.0.1
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: info@finverse.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|