@finverse/sdk-typescript 0.0.58 → 0.0.59
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 +0 -306
- package/dist/api.js +0 -538
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -3493,22 +3493,6 @@ export declare type TransactionLimitsPeriodEnum = typeof TransactionLimitsPeriod
|
|
|
3493
3493
|
* @export
|
|
3494
3494
|
*/
|
|
3495
3495
|
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
3496
|
/**
|
|
3513
3497
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
3514
3498
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -3544,35 +3528,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3544
3528
|
* @throws {RequiredError}
|
|
3545
3529
|
*/
|
|
3546
3530
|
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
3531
|
/**
|
|
3577
3532
|
* Get payment instructions by payment_instruction_id
|
|
3578
3533
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -3597,35 +3552,12 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3597
3552
|
* @throws {RequiredError}
|
|
3598
3553
|
*/
|
|
3599
3554
|
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
3555
|
};
|
|
3608
3556
|
/**
|
|
3609
3557
|
* CustomerApi - functional programming interface
|
|
3610
3558
|
* @export
|
|
3611
3559
|
*/
|
|
3612
3560
|
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
3561
|
/**
|
|
3630
3562
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
3631
3563
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -3661,35 +3593,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3661
3593
|
* @throws {RequiredError}
|
|
3662
3594
|
*/
|
|
3663
3595
|
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
3596
|
/**
|
|
3694
3597
|
* Get payment instructions by payment_instruction_id
|
|
3695
3598
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -3714,35 +3617,12 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
3714
3617
|
* @throws {RequiredError}
|
|
3715
3618
|
*/
|
|
3716
3619
|
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
3620
|
};
|
|
3725
3621
|
/**
|
|
3726
3622
|
* CustomerApi - factory interface
|
|
3727
3623
|
* @export
|
|
3728
3624
|
*/
|
|
3729
3625
|
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
3626
|
/**
|
|
3747
3627
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
3748
3628
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -3778,35 +3658,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3778
3658
|
* @throws {RequiredError}
|
|
3779
3659
|
*/
|
|
3780
3660
|
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
3661
|
/**
|
|
3811
3662
|
* Get payment instructions by payment_instruction_id
|
|
3812
3663
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -3831,13 +3682,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3831
3682
|
* @throws {RequiredError}
|
|
3832
3683
|
*/
|
|
3833
3684
|
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
3685
|
};
|
|
3842
3686
|
/**
|
|
3843
3687
|
* CustomerApi - interface
|
|
@@ -3845,24 +3689,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
3845
3689
|
* @interface CustomerApi
|
|
3846
3690
|
*/
|
|
3847
3691
|
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
3692
|
/**
|
|
3867
3693
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
3868
3694
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -3903,39 +3729,6 @@ export interface CustomerApiInterface {
|
|
|
3903
3729
|
* @memberof CustomerApiInterface
|
|
3904
3730
|
*/
|
|
3905
3731
|
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
3732
|
/**
|
|
3940
3733
|
* Get payment instructions by payment_instruction_id
|
|
3941
3734
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -3963,14 +3756,6 @@ export interface CustomerApiInterface {
|
|
|
3963
3756
|
* @memberof CustomerApiInterface
|
|
3964
3757
|
*/
|
|
3965
3758
|
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
3759
|
}
|
|
3975
3760
|
/**
|
|
3976
3761
|
* CustomerApi - object-oriented interface
|
|
@@ -3979,24 +3764,6 @@ export interface CustomerApiInterface {
|
|
|
3979
3764
|
* @extends {BaseAPI}
|
|
3980
3765
|
*/
|
|
3981
3766
|
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
3767
|
/**
|
|
4001
3768
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
4002
3769
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -4037,39 +3804,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4037
3804
|
* @memberof CustomerApi
|
|
4038
3805
|
*/
|
|
4039
3806
|
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
3807
|
/**
|
|
4074
3808
|
* Get payment instructions by payment_instruction_id
|
|
4075
3809
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -4097,14 +3831,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4097
3831
|
* @memberof CustomerApi
|
|
4098
3832
|
*/
|
|
4099
3833
|
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
3834
|
}
|
|
4109
3835
|
/**
|
|
4110
3836
|
* LinkApi - axios parameter creator
|
|
@@ -4945,12 +4671,6 @@ export declare const PublicApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4945
4671
|
* @throws {RequiredError}
|
|
4946
4672
|
*/
|
|
4947
4673
|
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
4674
|
};
|
|
4955
4675
|
/**
|
|
4956
4676
|
* PublicApi - functional programming interface
|
|
@@ -4975,12 +4695,6 @@ export declare const PublicApiFp: (configuration?: Configuration) => {
|
|
|
4975
4695
|
* @throws {RequiredError}
|
|
4976
4696
|
*/
|
|
4977
4697
|
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
4698
|
};
|
|
4985
4699
|
/**
|
|
4986
4700
|
* PublicApi - factory interface
|
|
@@ -5005,12 +4719,6 @@ export declare const PublicApiFactory: (configuration?: Configuration, basePath?
|
|
|
5005
4719
|
* @throws {RequiredError}
|
|
5006
4720
|
*/
|
|
5007
4721
|
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
4722
|
};
|
|
5015
4723
|
/**
|
|
5016
4724
|
* PublicApi - interface
|
|
@@ -5038,13 +4746,6 @@ export interface PublicApiInterface {
|
|
|
5038
4746
|
* @memberof PublicApiInterface
|
|
5039
4747
|
*/
|
|
5040
4748
|
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
4749
|
}
|
|
5049
4750
|
/**
|
|
5050
4751
|
* PublicApi - object-oriented interface
|
|
@@ -5073,11 +4774,4 @@ export declare class PublicApi extends BaseAPI implements PublicApiInterface {
|
|
|
5073
4774
|
* @memberof PublicApi
|
|
5074
4775
|
*/
|
|
5075
4776
|
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
4777
|
}
|
package/dist/api.js
CHANGED
|
@@ -145,78 +145,6 @@ exports.TransactionLimitsPeriodEnum = {
|
|
|
145
145
|
*/
|
|
146
146
|
exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
147
147
|
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
148
|
/**
|
|
221
149
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
222
150
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -371,135 +299,6 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
371
299
|
options: localVarRequestOptions,
|
|
372
300
|
};
|
|
373
301
|
}),
|
|
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
302
|
/**
|
|
504
303
|
* Get payment instructions by payment_instruction_id
|
|
505
304
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -605,38 +404,6 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
605
404
|
options: localVarRequestOptions,
|
|
606
405
|
};
|
|
607
406
|
}),
|
|
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
407
|
};
|
|
641
408
|
};
|
|
642
409
|
/**
|
|
@@ -646,32 +413,6 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
646
413
|
exports.CustomerApiFp = function (configuration) {
|
|
647
414
|
const localVarAxiosParamCreator = exports.CustomerApiAxiosParamCreator(configuration);
|
|
648
415
|
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
416
|
/**
|
|
676
417
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
677
418
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -732,55 +473,6 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
732
473
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
733
474
|
});
|
|
734
475
|
},
|
|
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
476
|
/**
|
|
785
477
|
* Get payment instructions by payment_instruction_id
|
|
786
478
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -820,18 +512,6 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
820
512
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
821
513
|
});
|
|
822
514
|
},
|
|
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
515
|
};
|
|
836
516
|
};
|
|
837
517
|
/**
|
|
@@ -841,30 +521,6 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
841
521
|
exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
842
522
|
const localVarFp = exports.CustomerApiFp(configuration);
|
|
843
523
|
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
524
|
/**
|
|
869
525
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
870
526
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -912,45 +568,6 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
912
568
|
getLoginIdentityHistory(loginIdentityId, options) {
|
|
913
569
|
return localVarFp.getLoginIdentityHistory(loginIdentityId, options).then((request) => request(axios, basePath));
|
|
914
570
|
},
|
|
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
571
|
/**
|
|
955
572
|
* Get payment instructions by payment_instruction_id
|
|
956
573
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -985,17 +602,6 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
985
602
|
refreshToken(refreshRequest, options) {
|
|
986
603
|
return localVarFp.refreshToken(refreshRequest, options).then((request) => request(axios, basePath));
|
|
987
604
|
},
|
|
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
605
|
};
|
|
1000
606
|
};
|
|
1001
607
|
/**
|
|
@@ -1005,32 +611,6 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1005
611
|
* @extends {BaseAPI}
|
|
1006
612
|
*/
|
|
1007
613
|
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
614
|
/**
|
|
1035
615
|
* Create a new payment instruction to be used when linking to perform new payment
|
|
1036
616
|
* @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
|
|
@@ -1091,55 +671,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1091
671
|
.getLoginIdentityHistory(loginIdentityId, options)
|
|
1092
672
|
.then((request) => request(this.axios, this.basePath));
|
|
1093
673
|
}
|
|
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
674
|
/**
|
|
1144
675
|
* Get payment instructions by payment_instruction_id
|
|
1145
676
|
* @param {string} paymentInstructionId The id of a payment instruction
|
|
@@ -1179,18 +710,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1179
710
|
.refreshToken(refreshRequest, options)
|
|
1180
711
|
.then((request) => request(this.axios, this.basePath));
|
|
1181
712
|
}
|
|
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
713
|
}
|
|
1195
714
|
exports.CustomerApi = CustomerApi;
|
|
1196
715
|
/**
|
|
@@ -2659,33 +2178,6 @@ exports.PublicApiAxiosParamCreator = function (configuration) {
|
|
|
2659
2178
|
options: localVarRequestOptions,
|
|
2660
2179
|
};
|
|
2661
2180
|
}),
|
|
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
2181
|
};
|
|
2690
2182
|
};
|
|
2691
2183
|
/**
|
|
@@ -2723,17 +2215,6 @@ exports.PublicApiFp = function (configuration) {
|
|
|
2723
2215
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2724
2216
|
});
|
|
2725
2217
|
},
|
|
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
2218
|
};
|
|
2738
2219
|
};
|
|
2739
2220
|
/**
|
|
@@ -2767,14 +2248,6 @@ exports.PublicApiFactory = function (configuration, basePath, axios) {
|
|
|
2767
2248
|
generateCustomerAccessToken(tokenRequest, options) {
|
|
2768
2249
|
return localVarFp.generateCustomerAccessToken(tokenRequest, options).then((request) => request(axios, basePath));
|
|
2769
2250
|
},
|
|
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
2251
|
};
|
|
2779
2252
|
};
|
|
2780
2253
|
/**
|
|
@@ -2812,16 +2285,5 @@ class PublicApi extends base_1.BaseAPI {
|
|
|
2812
2285
|
.generateCustomerAccessToken(tokenRequest, options)
|
|
2813
2286
|
.then((request) => request(this.axios, this.basePath));
|
|
2814
2287
|
}
|
|
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
2288
|
}
|
|
2827
2289
|
exports.PublicApi = PublicApi;
|