@finverse/sdk-typescript 0.0.388 → 0.0.390
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 +59 -24
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -267,6 +267,20 @@ export interface ActionRequest {
|
|
|
267
267
|
*/
|
|
268
268
|
action_id: string;
|
|
269
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Raw Adyen /payments or /payments/details JSON response; passed directly to Drop-in actions.resolve()
|
|
272
|
+
* @export
|
|
273
|
+
* @interface AdyenCardSetupPaymentResponse
|
|
274
|
+
*/
|
|
275
|
+
export interface AdyenCardSetupPaymentResponse {
|
|
276
|
+
[key: string]: any;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {FrontendFvErrorModel}
|
|
280
|
+
* @memberof AdyenCardSetupPaymentResponse
|
|
281
|
+
*/
|
|
282
|
+
error?: FrontendFvErrorModel;
|
|
283
|
+
}
|
|
270
284
|
/**
|
|
271
285
|
*
|
|
272
286
|
* @export
|
|
@@ -2797,6 +2811,31 @@ export interface FpsQrCodeResponse {
|
|
|
2797
2811
|
*/
|
|
2798
2812
|
qr_code: string;
|
|
2799
2813
|
}
|
|
2814
|
+
/**
|
|
2815
|
+
* Finverse error details surfaced to the frontend; absent on success and action-required outcomes
|
|
2816
|
+
* @export
|
|
2817
|
+
* @interface FrontendFvErrorModel
|
|
2818
|
+
*/
|
|
2819
|
+
export interface FrontendFvErrorModel {
|
|
2820
|
+
/**
|
|
2821
|
+
* Finverse error code
|
|
2822
|
+
* @type {string}
|
|
2823
|
+
* @memberof FrontendFvErrorModel
|
|
2824
|
+
*/
|
|
2825
|
+
error_code: string;
|
|
2826
|
+
/**
|
|
2827
|
+
* Short human-readable error message
|
|
2828
|
+
* @type {string}
|
|
2829
|
+
* @memberof FrontendFvErrorModel
|
|
2830
|
+
*/
|
|
2831
|
+
message: string;
|
|
2832
|
+
/**
|
|
2833
|
+
* Human-readable error detail safe for display to the end user
|
|
2834
|
+
* @type {string}
|
|
2835
|
+
* @memberof FrontendFvErrorModel
|
|
2836
|
+
*/
|
|
2837
|
+
display_details: string;
|
|
2838
|
+
}
|
|
2800
2839
|
/**
|
|
2801
2840
|
*
|
|
2802
2841
|
* @export
|
|
@@ -6145,6 +6184,12 @@ export interface PaymentAccountDetails {
|
|
|
6145
6184
|
* @memberof PaymentAccountDetails
|
|
6146
6185
|
*/
|
|
6147
6186
|
legal_entity_name?: string;
|
|
6187
|
+
/**
|
|
6188
|
+
* Optional reference identifier for the settlement account. Only applicable to settlement accounts.
|
|
6189
|
+
* @type {string}
|
|
6190
|
+
* @memberof PaymentAccountDetails
|
|
6191
|
+
*/
|
|
6192
|
+
settlement_account_reference?: string;
|
|
6148
6193
|
/**
|
|
6149
6194
|
* Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 20 key:value pairs, whereas the key and value supports up to 50 and 1000 characters respectively.
|
|
6150
6195
|
* @type {{ [key: string]: string; }}
|
|
@@ -6261,6 +6306,12 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
6261
6306
|
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
6262
6307
|
*/
|
|
6263
6308
|
legal_entity_name?: string;
|
|
6309
|
+
/**
|
|
6310
|
+
* Optional reference identifier for the settlement account. Only applicable to settlement accounts.
|
|
6311
|
+
* @type {string}
|
|
6312
|
+
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
6313
|
+
*/
|
|
6314
|
+
settlement_account_reference?: string;
|
|
6264
6315
|
/**
|
|
6265
6316
|
* Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 20 key:value pairs, whereas the key and value supports up to 50 and 1000 characters respectively.
|
|
6266
6317
|
* @type {{ [key: string]: string; }}
|
|
@@ -11569,9 +11620,7 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
|
|
|
11569
11620
|
*/
|
|
11570
11621
|
submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest: {
|
|
11571
11622
|
[key: string]: any;
|
|
11572
|
-
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11573
|
-
[key: string]: any;
|
|
11574
|
-
}>>;
|
|
11623
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdyenCardSetupPaymentResponse>>;
|
|
11575
11624
|
/**
|
|
11576
11625
|
* Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
|
|
11577
11626
|
* @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
|
|
@@ -11580,9 +11629,7 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
|
|
|
11580
11629
|
*/
|
|
11581
11630
|
submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest: {
|
|
11582
11631
|
[key: string]: any;
|
|
11583
|
-
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
11584
|
-
[key: string]: any;
|
|
11585
|
-
}>>;
|
|
11632
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdyenCardSetupPaymentResponse>>;
|
|
11586
11633
|
/**
|
|
11587
11634
|
* Submit authorization checklist items
|
|
11588
11635
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
@@ -11940,9 +11987,7 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
|
|
|
11940
11987
|
*/
|
|
11941
11988
|
submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest: {
|
|
11942
11989
|
[key: string]: any;
|
|
11943
|
-
}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11944
|
-
[key: string]: any;
|
|
11945
|
-
}>;
|
|
11990
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<AdyenCardSetupPaymentResponse>;
|
|
11946
11991
|
/**
|
|
11947
11992
|
* Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
|
|
11948
11993
|
* @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
|
|
@@ -11951,9 +11996,7 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
|
|
|
11951
11996
|
*/
|
|
11952
11997
|
submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest: {
|
|
11953
11998
|
[key: string]: any;
|
|
11954
|
-
}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
11955
|
-
[key: string]: any;
|
|
11956
|
-
}>;
|
|
11999
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<AdyenCardSetupPaymentResponse>;
|
|
11957
12000
|
/**
|
|
11958
12001
|
* Submit authorization checklist items
|
|
11959
12002
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
@@ -12349,9 +12392,7 @@ export interface PaymentApiInterface {
|
|
|
12349
12392
|
*/
|
|
12350
12393
|
submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest: {
|
|
12351
12394
|
[key: string]: any;
|
|
12352
|
-
}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
12353
|
-
[key: string]: any;
|
|
12354
|
-
}>;
|
|
12395
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<AdyenCardSetupPaymentResponse>;
|
|
12355
12396
|
/**
|
|
12356
12397
|
* Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
|
|
12357
12398
|
* @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
|
|
@@ -12361,9 +12402,7 @@ export interface PaymentApiInterface {
|
|
|
12361
12402
|
*/
|
|
12362
12403
|
submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest: {
|
|
12363
12404
|
[key: string]: any;
|
|
12364
|
-
}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
12365
|
-
[key: string]: any;
|
|
12366
|
-
}>;
|
|
12405
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<AdyenCardSetupPaymentResponse>;
|
|
12367
12406
|
/**
|
|
12368
12407
|
* Submit authorization checklist items
|
|
12369
12408
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|
|
@@ -12764,9 +12803,7 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
12764
12803
|
*/
|
|
12765
12804
|
submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest: {
|
|
12766
12805
|
[key: string]: any;
|
|
12767
|
-
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
12768
|
-
[key: string]: any;
|
|
12769
|
-
}, any, {}>>;
|
|
12806
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdyenCardSetupPaymentResponse, any, {}>>;
|
|
12770
12807
|
/**
|
|
12771
12808
|
* Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
|
|
12772
12809
|
* @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
|
|
@@ -12776,9 +12813,7 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
|
|
|
12776
12813
|
*/
|
|
12777
12814
|
submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest: {
|
|
12778
12815
|
[key: string]: any;
|
|
12779
|
-
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
12780
|
-
[key: string]: any;
|
|
12781
|
-
}, any, {}>>;
|
|
12816
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdyenCardSetupPaymentResponse, any, {}>>;
|
|
12782
12817
|
/**
|
|
12783
12818
|
* Submit authorization checklist items
|
|
12784
12819
|
* @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
|