@finverse/sdk-typescript 0.0.400 → 0.0.401
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 +132 -111
- package/dist/api.js +76 -51
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -897,6 +897,19 @@ export interface BillSenderDetails {
|
|
|
897
897
|
*/
|
|
898
898
|
name: string;
|
|
899
899
|
}
|
|
900
|
+
/**
|
|
901
|
+
* Bill status
|
|
902
|
+
* @export
|
|
903
|
+
* @enum {string}
|
|
904
|
+
*/
|
|
905
|
+
export declare const BillStatus: {
|
|
906
|
+
readonly Unknown: "UNKNOWN";
|
|
907
|
+
readonly Unpaid: "UNPAID";
|
|
908
|
+
readonly Paid: "PAID";
|
|
909
|
+
readonly Cancelled: "CANCELLED";
|
|
910
|
+
readonly Failed: "FAILED";
|
|
911
|
+
};
|
|
912
|
+
export type BillStatus = (typeof BillStatus)[keyof typeof BillStatus];
|
|
900
913
|
/**
|
|
901
914
|
*
|
|
902
915
|
* @export
|
|
@@ -1025,6 +1038,18 @@ export interface CardDetails {
|
|
|
1025
1038
|
*/
|
|
1026
1039
|
card_total?: CardTotal;
|
|
1027
1040
|
}
|
|
1041
|
+
/**
|
|
1042
|
+
* The funding source of the card
|
|
1043
|
+
* @export
|
|
1044
|
+
* @enum {string}
|
|
1045
|
+
*/
|
|
1046
|
+
export declare const CardFundingType: {
|
|
1047
|
+
readonly Unknown: "UNKNOWN";
|
|
1048
|
+
readonly Credit: "CREDIT";
|
|
1049
|
+
readonly Debit: "DEBIT";
|
|
1050
|
+
readonly Prepaid: "PREPAID";
|
|
1051
|
+
};
|
|
1052
|
+
export type CardFundingType = (typeof CardFundingType)[keyof typeof CardFundingType];
|
|
1028
1053
|
/**
|
|
1029
1054
|
*
|
|
1030
1055
|
* @export
|
|
@@ -1443,19 +1468,12 @@ export interface CreateCardRequestCardDetails {
|
|
|
1443
1468
|
*/
|
|
1444
1469
|
country?: string;
|
|
1445
1470
|
/**
|
|
1446
|
-
*
|
|
1447
|
-
* @type {
|
|
1471
|
+
*
|
|
1472
|
+
* @type {CardFundingType}
|
|
1448
1473
|
* @memberof CreateCardRequestCardDetails
|
|
1449
1474
|
*/
|
|
1450
|
-
funding?:
|
|
1475
|
+
funding?: CardFundingType;
|
|
1451
1476
|
}
|
|
1452
|
-
export declare const CreateCardRequestCardDetailsFundingEnum: {
|
|
1453
|
-
readonly Unknown: "UNKNOWN";
|
|
1454
|
-
readonly Credit: "CREDIT";
|
|
1455
|
-
readonly Debit: "DEBIT";
|
|
1456
|
-
readonly Prepaid: "PREPAID";
|
|
1457
|
-
};
|
|
1458
|
-
export type CreateCardRequestCardDetailsFundingEnum = (typeof CreateCardRequestCardDetailsFundingEnum)[keyof typeof CreateCardRequestCardDetailsFundingEnum];
|
|
1459
1477
|
/**
|
|
1460
1478
|
*
|
|
1461
1479
|
* @export
|
|
@@ -1828,11 +1846,11 @@ export interface CreatePaymentLinkRequest {
|
|
|
1828
1846
|
*/
|
|
1829
1847
|
link_customizations?: PaymentLinkCustomizations;
|
|
1830
1848
|
/**
|
|
1831
|
-
*
|
|
1832
|
-
* @type {
|
|
1849
|
+
*
|
|
1850
|
+
* @type {PaymentLinkMode}
|
|
1833
1851
|
* @memberof CreatePaymentLinkRequest
|
|
1834
1852
|
*/
|
|
1835
|
-
mode:
|
|
1853
|
+
mode: PaymentLinkMode;
|
|
1836
1854
|
/**
|
|
1837
1855
|
*
|
|
1838
1856
|
* @type {PaymentLinkDetails}
|
|
@@ -1880,11 +1898,6 @@ export interface CreatePaymentLinkRequest {
|
|
|
1880
1898
|
*/
|
|
1881
1899
|
integration_metadata?: IntegrationMetadataRequest;
|
|
1882
1900
|
}
|
|
1883
|
-
export declare const CreatePaymentLinkRequestModeEnum: {
|
|
1884
|
-
readonly Payment: "PAYMENT";
|
|
1885
|
-
readonly Setup: "SETUP";
|
|
1886
|
-
};
|
|
1887
|
-
export type CreatePaymentLinkRequestModeEnum = (typeof CreatePaymentLinkRequestModeEnum)[keyof typeof CreatePaymentLinkRequestModeEnum];
|
|
1888
1901
|
/**
|
|
1889
1902
|
*
|
|
1890
1903
|
* @export
|
|
@@ -2263,11 +2276,11 @@ export interface DisputeResponse {
|
|
|
2263
2276
|
*/
|
|
2264
2277
|
is_defendable?: boolean | null;
|
|
2265
2278
|
/**
|
|
2266
|
-
*
|
|
2267
|
-
* @type {
|
|
2279
|
+
*
|
|
2280
|
+
* @type {DisputeStatus}
|
|
2268
2281
|
* @memberof DisputeResponse
|
|
2269
2282
|
*/
|
|
2270
|
-
dispute_status?:
|
|
2283
|
+
dispute_status?: DisputeStatus;
|
|
2271
2284
|
/**
|
|
2272
2285
|
* The status of the dispute at the payment processor
|
|
2273
2286
|
* @type {string}
|
|
@@ -2307,16 +2320,6 @@ export interface DisputeResponse {
|
|
|
2307
2320
|
*/
|
|
2308
2321
|
updated_at?: string;
|
|
2309
2322
|
}
|
|
2310
|
-
export declare const DisputeResponseDisputeStatusEnum: {
|
|
2311
|
-
readonly Unknown: "UNKNOWN";
|
|
2312
|
-
readonly Undefended: "UNDEFENDED";
|
|
2313
|
-
readonly ActionRequired: "ACTION_REQUIRED";
|
|
2314
|
-
readonly Processing: "PROCESSING";
|
|
2315
|
-
readonly Accepted: "ACCEPTED";
|
|
2316
|
-
readonly Lost: "LOST";
|
|
2317
|
-
readonly Won: "WON";
|
|
2318
|
-
};
|
|
2319
|
-
export type DisputeResponseDisputeStatusEnum = (typeof DisputeResponseDisputeStatusEnum)[keyof typeof DisputeResponseDisputeStatusEnum];
|
|
2320
2323
|
/**
|
|
2321
2324
|
*
|
|
2322
2325
|
* @export
|
|
@@ -2330,6 +2333,21 @@ export interface DisputeResponseCardDetails {
|
|
|
2330
2333
|
*/
|
|
2331
2334
|
brand?: string;
|
|
2332
2335
|
}
|
|
2336
|
+
/**
|
|
2337
|
+
* The status of the dispute
|
|
2338
|
+
* @export
|
|
2339
|
+
* @enum {string}
|
|
2340
|
+
*/
|
|
2341
|
+
export declare const DisputeStatus: {
|
|
2342
|
+
readonly Unknown: "UNKNOWN";
|
|
2343
|
+
readonly Undefended: "UNDEFENDED";
|
|
2344
|
+
readonly ActionRequired: "ACTION_REQUIRED";
|
|
2345
|
+
readonly Processing: "PROCESSING";
|
|
2346
|
+
readonly Accepted: "ACCEPTED";
|
|
2347
|
+
readonly Lost: "LOST";
|
|
2348
|
+
readonly Won: "WON";
|
|
2349
|
+
};
|
|
2350
|
+
export type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];
|
|
2333
2351
|
/**
|
|
2334
2352
|
*
|
|
2335
2353
|
* @export
|
|
@@ -2525,10 +2543,10 @@ export interface FVBill {
|
|
|
2525
2543
|
};
|
|
2526
2544
|
/**
|
|
2527
2545
|
*
|
|
2528
|
-
* @type {
|
|
2546
|
+
* @type {BillStatus}
|
|
2529
2547
|
* @memberof FVBill
|
|
2530
2548
|
*/
|
|
2531
|
-
status:
|
|
2549
|
+
status: BillStatus;
|
|
2532
2550
|
/**
|
|
2533
2551
|
*
|
|
2534
2552
|
* @type {string}
|
|
@@ -2560,14 +2578,6 @@ export interface FVBill {
|
|
|
2560
2578
|
*/
|
|
2561
2579
|
is_finverse_autopay_eligible: boolean;
|
|
2562
2580
|
}
|
|
2563
|
-
export declare const FVBillStatusEnum: {
|
|
2564
|
-
readonly Unknown: "UNKNOWN";
|
|
2565
|
-
readonly Unpaid: "UNPAID";
|
|
2566
|
-
readonly Paid: "PAID";
|
|
2567
|
-
readonly Cancelled: "CANCELLED";
|
|
2568
|
-
readonly Failed: "FAILED";
|
|
2569
|
-
};
|
|
2570
|
-
export type FVBillStatusEnum = (typeof FVBillStatusEnum)[keyof typeof FVBillStatusEnum];
|
|
2571
2581
|
/**
|
|
2572
2582
|
*
|
|
2573
2583
|
* @export
|
|
@@ -2672,11 +2682,11 @@ export interface FVCardDetails {
|
|
|
2672
2682
|
*/
|
|
2673
2683
|
fingerprint?: string;
|
|
2674
2684
|
/**
|
|
2675
|
-
*
|
|
2676
|
-
* @type {
|
|
2685
|
+
*
|
|
2686
|
+
* @type {CardFundingType}
|
|
2677
2687
|
* @memberof FVCardDetails
|
|
2678
2688
|
*/
|
|
2679
|
-
funding?:
|
|
2689
|
+
funding?: CardFundingType;
|
|
2680
2690
|
/**
|
|
2681
2691
|
*
|
|
2682
2692
|
* @type {string}
|
|
@@ -2720,13 +2730,6 @@ export interface FVCardDetails {
|
|
|
2720
2730
|
*/
|
|
2721
2731
|
is_commercial?: boolean | null;
|
|
2722
2732
|
}
|
|
2723
|
-
export declare const FVCardDetailsFundingEnum: {
|
|
2724
|
-
readonly Unknown: "UNKNOWN";
|
|
2725
|
-
readonly Credit: "CREDIT";
|
|
2726
|
-
readonly Debit: "DEBIT";
|
|
2727
|
-
readonly Prepaid: "PREPAID";
|
|
2728
|
-
};
|
|
2729
|
-
export type FVCardDetailsFundingEnum = (typeof FVCardDetailsFundingEnum)[keyof typeof FVCardDetailsFundingEnum];
|
|
2730
2733
|
/**
|
|
2731
2734
|
*
|
|
2732
2735
|
* @export
|
|
@@ -2863,6 +2866,16 @@ export interface FrontendFvErrorModel {
|
|
|
2863
2866
|
*/
|
|
2864
2867
|
display_details: string;
|
|
2865
2868
|
}
|
|
2869
|
+
/**
|
|
2870
|
+
* The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
|
|
2871
|
+
* @export
|
|
2872
|
+
* @enum {string}
|
|
2873
|
+
*/
|
|
2874
|
+
export declare const FuturePaymentsMode: {
|
|
2875
|
+
readonly Autopay: "AUTOPAY";
|
|
2876
|
+
readonly ClickToPay: "CLICK_TO_PAY";
|
|
2877
|
+
};
|
|
2878
|
+
export type FuturePaymentsMode = (typeof FuturePaymentsMode)[keyof typeof FuturePaymentsMode];
|
|
2866
2879
|
/**
|
|
2867
2880
|
*
|
|
2868
2881
|
* @export
|
|
@@ -3188,10 +3201,10 @@ export interface GetBillResponse {
|
|
|
3188
3201
|
};
|
|
3189
3202
|
/**
|
|
3190
3203
|
*
|
|
3191
|
-
* @type {
|
|
3204
|
+
* @type {BillStatus}
|
|
3192
3205
|
* @memberof GetBillResponse
|
|
3193
3206
|
*/
|
|
3194
|
-
status:
|
|
3207
|
+
status: BillStatus;
|
|
3195
3208
|
/**
|
|
3196
3209
|
*
|
|
3197
3210
|
* @type {string}
|
|
@@ -3229,14 +3242,6 @@ export interface GetBillResponse {
|
|
|
3229
3242
|
*/
|
|
3230
3243
|
payments: Array<PaymentResponse>;
|
|
3231
3244
|
}
|
|
3232
|
-
export declare const GetBillResponseStatusEnum: {
|
|
3233
|
-
readonly Unknown: "UNKNOWN";
|
|
3234
|
-
readonly Unpaid: "UNPAID";
|
|
3235
|
-
readonly Paid: "PAID";
|
|
3236
|
-
readonly Cancelled: "CANCELLED";
|
|
3237
|
-
readonly Failed: "FAILED";
|
|
3238
|
-
};
|
|
3239
|
-
export type GetBillResponseStatusEnum = (typeof GetBillResponseStatusEnum)[keyof typeof GetBillResponseStatusEnum];
|
|
3240
3245
|
/**
|
|
3241
3246
|
*
|
|
3242
3247
|
* @export
|
|
@@ -6689,6 +6694,16 @@ export interface PaymentLinkDetails {
|
|
|
6689
6694
|
*/
|
|
6690
6695
|
external_transaction_reference: string;
|
|
6691
6696
|
}
|
|
6697
|
+
/**
|
|
6698
|
+
* The payment link mode
|
|
6699
|
+
* @export
|
|
6700
|
+
* @enum {string}
|
|
6701
|
+
*/
|
|
6702
|
+
export declare const PaymentLinkMode: {
|
|
6703
|
+
readonly Payment: "PAYMENT";
|
|
6704
|
+
readonly Setup: "SETUP";
|
|
6705
|
+
};
|
|
6706
|
+
export type PaymentLinkMode = (typeof PaymentLinkMode)[keyof typeof PaymentLinkMode];
|
|
6692
6707
|
/**
|
|
6693
6708
|
*
|
|
6694
6709
|
* @export
|
|
@@ -6720,11 +6735,11 @@ export interface PaymentLinkResponse {
|
|
|
6720
6735
|
*/
|
|
6721
6736
|
link_customizations?: PaymentLinkCustomizations;
|
|
6722
6737
|
/**
|
|
6723
|
-
*
|
|
6724
|
-
* @type {
|
|
6738
|
+
*
|
|
6739
|
+
* @type {PaymentLinkMode}
|
|
6725
6740
|
* @memberof PaymentLinkResponse
|
|
6726
6741
|
*/
|
|
6727
|
-
mode?:
|
|
6742
|
+
mode?: PaymentLinkMode;
|
|
6728
6743
|
/**
|
|
6729
6744
|
*
|
|
6730
6745
|
* @type {PaymentLinkDetails}
|
|
@@ -6766,17 +6781,17 @@ export interface PaymentLinkResponse {
|
|
|
6766
6781
|
*/
|
|
6767
6782
|
url?: string;
|
|
6768
6783
|
/**
|
|
6769
|
-
*
|
|
6770
|
-
* @type {
|
|
6784
|
+
*
|
|
6785
|
+
* @type {PaymentLinkStatus}
|
|
6771
6786
|
* @memberof PaymentLinkResponse
|
|
6772
6787
|
*/
|
|
6773
|
-
status?:
|
|
6788
|
+
status?: PaymentLinkStatus;
|
|
6774
6789
|
/**
|
|
6775
|
-
*
|
|
6776
|
-
* @type {
|
|
6790
|
+
*
|
|
6791
|
+
* @type {PaymentLinkSessionStatus}
|
|
6777
6792
|
* @memberof PaymentLinkResponse
|
|
6778
6793
|
*/
|
|
6779
|
-
session_status?:
|
|
6794
|
+
session_status?: PaymentLinkSessionStatus;
|
|
6780
6795
|
/**
|
|
6781
6796
|
* Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
6782
6797
|
* @type {string}
|
|
@@ -6814,23 +6829,6 @@ export interface PaymentLinkResponse {
|
|
|
6814
6829
|
*/
|
|
6815
6830
|
integration_metadata?: IntegrationMetadataResponse;
|
|
6816
6831
|
}
|
|
6817
|
-
export declare const PaymentLinkResponseModeEnum: {
|
|
6818
|
-
readonly Payment: "PAYMENT";
|
|
6819
|
-
};
|
|
6820
|
-
export type PaymentLinkResponseModeEnum = (typeof PaymentLinkResponseModeEnum)[keyof typeof PaymentLinkResponseModeEnum];
|
|
6821
|
-
export declare const PaymentLinkResponseStatusEnum: {
|
|
6822
|
-
readonly Created: "CREATED";
|
|
6823
|
-
readonly Paid: "PAID";
|
|
6824
|
-
readonly Expired: "EXPIRED";
|
|
6825
|
-
};
|
|
6826
|
-
export type PaymentLinkResponseStatusEnum = (typeof PaymentLinkResponseStatusEnum)[keyof typeof PaymentLinkResponseStatusEnum];
|
|
6827
|
-
export declare const PaymentLinkResponseSessionStatusEnum: {
|
|
6828
|
-
readonly Open: "OPEN";
|
|
6829
|
-
readonly Processing: "PROCESSING";
|
|
6830
|
-
readonly Complete: "COMPLETE";
|
|
6831
|
-
readonly Failed: "FAILED";
|
|
6832
|
-
};
|
|
6833
|
-
export type PaymentLinkResponseSessionStatusEnum = (typeof PaymentLinkResponseSessionStatusEnum)[keyof typeof PaymentLinkResponseSessionStatusEnum];
|
|
6834
6832
|
/**
|
|
6835
6833
|
*
|
|
6836
6834
|
* @export
|
|
@@ -6887,6 +6885,29 @@ export interface PaymentLinkSenderResponse {
|
|
|
6887
6885
|
*/
|
|
6888
6886
|
user_id?: string;
|
|
6889
6887
|
}
|
|
6888
|
+
/**
|
|
6889
|
+
* The session status of payment link
|
|
6890
|
+
* @export
|
|
6891
|
+
* @enum {string}
|
|
6892
|
+
*/
|
|
6893
|
+
export declare const PaymentLinkSessionStatus: {
|
|
6894
|
+
readonly Open: "OPEN";
|
|
6895
|
+
readonly Processing: "PROCESSING";
|
|
6896
|
+
readonly Complete: "COMPLETE";
|
|
6897
|
+
readonly Failed: "FAILED";
|
|
6898
|
+
};
|
|
6899
|
+
export type PaymentLinkSessionStatus = (typeof PaymentLinkSessionStatus)[keyof typeof PaymentLinkSessionStatus];
|
|
6900
|
+
/**
|
|
6901
|
+
* The status of payment link
|
|
6902
|
+
* @export
|
|
6903
|
+
* @enum {string}
|
|
6904
|
+
*/
|
|
6905
|
+
export declare const PaymentLinkStatus: {
|
|
6906
|
+
readonly Created: "CREATED";
|
|
6907
|
+
readonly Paid: "PAID";
|
|
6908
|
+
readonly Expired: "EXPIRED";
|
|
6909
|
+
};
|
|
6910
|
+
export type PaymentLinkStatus = (typeof PaymentLinkStatus)[keyof typeof PaymentLinkStatus];
|
|
6890
6911
|
/**
|
|
6891
6912
|
*
|
|
6892
6913
|
* @export
|
|
@@ -7692,11 +7713,11 @@ export type PaymentScheduleFrequencyEnum = (typeof PaymentScheduleFrequencyEnum)
|
|
|
7692
7713
|
*/
|
|
7693
7714
|
export interface PaymentSetupOptions {
|
|
7694
7715
|
/**
|
|
7695
|
-
*
|
|
7696
|
-
* @type {
|
|
7716
|
+
*
|
|
7717
|
+
* @type {FuturePaymentsMode}
|
|
7697
7718
|
* @memberof PaymentSetupOptions
|
|
7698
7719
|
*/
|
|
7699
|
-
future_payments?:
|
|
7720
|
+
future_payments?: FuturePaymentsMode;
|
|
7700
7721
|
/**
|
|
7701
7722
|
*
|
|
7702
7723
|
* @type {MandateDetailsForPaymentLink}
|
|
@@ -7728,11 +7749,6 @@ export interface PaymentSetupOptions {
|
|
|
7728
7749
|
*/
|
|
7729
7750
|
recurring_payment_mode?: string;
|
|
7730
7751
|
}
|
|
7731
|
-
export declare const PaymentSetupOptionsFuturePaymentsEnum: {
|
|
7732
|
-
readonly Autopay: "AUTOPAY";
|
|
7733
|
-
readonly ClickToPay: "CLICK_TO_PAY";
|
|
7734
|
-
};
|
|
7735
|
-
export type PaymentSetupOptionsFuturePaymentsEnum = (typeof PaymentSetupOptionsFuturePaymentsEnum)[keyof typeof PaymentSetupOptionsFuturePaymentsEnum];
|
|
7736
7752
|
/**
|
|
7737
7753
|
*
|
|
7738
7754
|
* @export
|
|
@@ -7740,11 +7756,11 @@ export type PaymentSetupOptionsFuturePaymentsEnum = (typeof PaymentSetupOptionsF
|
|
|
7740
7756
|
*/
|
|
7741
7757
|
export interface PaymentSetupOptionsRequest {
|
|
7742
7758
|
/**
|
|
7743
|
-
*
|
|
7744
|
-
* @type {
|
|
7759
|
+
*
|
|
7760
|
+
* @type {FuturePaymentsMode}
|
|
7745
7761
|
* @memberof PaymentSetupOptionsRequest
|
|
7746
7762
|
*/
|
|
7747
|
-
future_payments?:
|
|
7763
|
+
future_payments?: FuturePaymentsMode;
|
|
7748
7764
|
/**
|
|
7749
7765
|
*
|
|
7750
7766
|
* @type {MandateDetailsForPaymentLinkRequest}
|
|
@@ -7776,11 +7792,6 @@ export interface PaymentSetupOptionsRequest {
|
|
|
7776
7792
|
*/
|
|
7777
7793
|
recurring_payment_mode?: string;
|
|
7778
7794
|
}
|
|
7779
|
-
export declare const PaymentSetupOptionsRequestFuturePaymentsEnum: {
|
|
7780
|
-
readonly Autopay: "AUTOPAY";
|
|
7781
|
-
readonly ClickToPay: "CLICK_TO_PAY";
|
|
7782
|
-
};
|
|
7783
|
-
export type PaymentSetupOptionsRequestFuturePaymentsEnum = (typeof PaymentSetupOptionsRequestFuturePaymentsEnum)[keyof typeof PaymentSetupOptionsRequestFuturePaymentsEnum];
|
|
7784
7795
|
/**
|
|
7785
7796
|
*
|
|
7786
7797
|
* @export
|
|
@@ -8210,16 +8221,16 @@ export interface PayoutSnapshotResponse {
|
|
|
8210
8221
|
payout_id?: string;
|
|
8211
8222
|
/**
|
|
8212
8223
|
*
|
|
8213
|
-
* @type {
|
|
8224
|
+
* @type {PayoutStatus}
|
|
8214
8225
|
* @memberof PayoutSnapshotResponse
|
|
8215
8226
|
*/
|
|
8216
|
-
status?:
|
|
8227
|
+
status?: PayoutStatus;
|
|
8217
8228
|
/**
|
|
8218
8229
|
*
|
|
8219
|
-
* @type {
|
|
8230
|
+
* @type {PayoutType}
|
|
8220
8231
|
* @memberof PayoutSnapshotResponse
|
|
8221
8232
|
*/
|
|
8222
|
-
type?:
|
|
8233
|
+
type?: PayoutType;
|
|
8223
8234
|
/**
|
|
8224
8235
|
*
|
|
8225
8236
|
* @type {string}
|
|
@@ -8313,7 +8324,12 @@ export interface PayoutSnapshotResponse {
|
|
|
8313
8324
|
*/
|
|
8314
8325
|
error?: FvEmbeddedErrorModel;
|
|
8315
8326
|
}
|
|
8316
|
-
|
|
8327
|
+
/**
|
|
8328
|
+
* Payout status
|
|
8329
|
+
* @export
|
|
8330
|
+
* @enum {string}
|
|
8331
|
+
*/
|
|
8332
|
+
export declare const PayoutStatus: {
|
|
8317
8333
|
readonly Executed: "EXECUTED";
|
|
8318
8334
|
readonly Created: "CREATED";
|
|
8319
8335
|
readonly Processing: "PROCESSING";
|
|
@@ -8323,14 +8339,19 @@ export declare const PayoutSnapshotResponseStatusEnum: {
|
|
|
8323
8339
|
readonly Funded: "FUNDED";
|
|
8324
8340
|
readonly Submitted: "SUBMITTED";
|
|
8325
8341
|
};
|
|
8326
|
-
export type
|
|
8327
|
-
|
|
8342
|
+
export type PayoutStatus = (typeof PayoutStatus)[keyof typeof PayoutStatus];
|
|
8343
|
+
/**
|
|
8344
|
+
* Payout type
|
|
8345
|
+
* @export
|
|
8346
|
+
* @enum {string}
|
|
8347
|
+
*/
|
|
8348
|
+
export declare const PayoutType: {
|
|
8328
8349
|
readonly Manual: "MANUAL";
|
|
8329
8350
|
readonly Scheduled: "SCHEDULED";
|
|
8330
8351
|
readonly Settlement: "SETTLEMENT";
|
|
8331
8352
|
readonly OnDemand: "ON_DEMAND";
|
|
8332
8353
|
};
|
|
8333
|
-
export type
|
|
8354
|
+
export type PayoutType = (typeof PayoutType)[keyof typeof PayoutType];
|
|
8334
8355
|
/**
|
|
8335
8356
|
*
|
|
8336
8357
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.KcpVaMetadataVaReceiptGubnEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.IntegrationMetadataPaymentUserRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.
|
|
26
|
-
exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsResponsePeriodEnum = exports.TransactionLimitsRequestPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.SelectPaymentMethodRequestSenderTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.
|
|
27
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDisputesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.ListBillsStatusesEnum =
|
|
25
|
+
exports.PaymentAccountDetailsAccountTypeEnum = exports.MandateStatus = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.KcpVaMetadataVaReceiptGubnEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.IntegrationMetadataPaymentUserRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FvEmbeddedErrorModelTypeEnum = exports.FuturePaymentsMode = exports.FeePaidByEnum = exports.DisputeStatus = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderResponseUserTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardStatus = exports.CardFundingType = exports.BillStatus = exports.BadRequestModelV2ErrorTypeEnum = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
|
+
exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsResponsePeriodEnum = exports.TransactionLimitsRequestPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.SelectPaymentMethodRequestSenderTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutType = exports.PayoutStatus = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentType = exports.PaymentStatus = exports.PaymentScheduleFrequencyEnum = exports.PaymentMethodType = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkStatus = exports.PaymentLinkSessionStatus = exports.PaymentLinkMode = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = void 0;
|
|
27
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDisputesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.ListBillsStatusesEnum = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -81,6 +81,29 @@ exports.BadRequestModelV2ErrorTypeEnum = {
|
|
|
81
81
|
LinkError: 'LINK_ERROR',
|
|
82
82
|
ApiError: 'API_ERROR',
|
|
83
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* Bill status
|
|
86
|
+
* @export
|
|
87
|
+
* @enum {string}
|
|
88
|
+
*/
|
|
89
|
+
exports.BillStatus = {
|
|
90
|
+
Unknown: 'UNKNOWN',
|
|
91
|
+
Unpaid: 'UNPAID',
|
|
92
|
+
Paid: 'PAID',
|
|
93
|
+
Cancelled: 'CANCELLED',
|
|
94
|
+
Failed: 'FAILED',
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* The funding source of the card
|
|
98
|
+
* @export
|
|
99
|
+
* @enum {string}
|
|
100
|
+
*/
|
|
101
|
+
exports.CardFundingType = {
|
|
102
|
+
Unknown: 'UNKNOWN',
|
|
103
|
+
Credit: 'CREDIT',
|
|
104
|
+
Debit: 'DEBIT',
|
|
105
|
+
Prepaid: 'PREPAID',
|
|
106
|
+
};
|
|
84
107
|
/**
|
|
85
108
|
* Card status
|
|
86
109
|
* @export
|
|
@@ -100,12 +123,6 @@ exports.CompleteKcpPaymentRequestCardPointUseEnum = {
|
|
|
100
123
|
exports.CreateCardRequestStatusEnum = {
|
|
101
124
|
Succeeded: 'SUCCEEDED',
|
|
102
125
|
};
|
|
103
|
-
exports.CreateCardRequestCardDetailsFundingEnum = {
|
|
104
|
-
Unknown: 'UNKNOWN',
|
|
105
|
-
Credit: 'CREDIT',
|
|
106
|
-
Debit: 'DEBIT',
|
|
107
|
-
Prepaid: 'PREPAID',
|
|
108
|
-
};
|
|
109
126
|
exports.CreateMandateRequestWithDdaReferenceStatusEnum = {
|
|
110
127
|
Succeeded: 'SUCCEEDED',
|
|
111
128
|
};
|
|
@@ -120,10 +137,6 @@ exports.CreateMandateSenderResponseUserTypeEnum = {
|
|
|
120
137
|
exports.CreatePaymentAccountRequestAccountTypeEnum = {
|
|
121
138
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
122
139
|
};
|
|
123
|
-
exports.CreatePaymentLinkRequestModeEnum = {
|
|
124
|
-
Payment: 'PAYMENT',
|
|
125
|
-
Setup: 'SETUP',
|
|
126
|
-
};
|
|
127
140
|
exports.CreatePaymentUserRequestUserTypeEnum = {
|
|
128
141
|
Individual: 'INDIVIDUAL',
|
|
129
142
|
Business: 'BUSINESS',
|
|
@@ -131,7 +144,12 @@ exports.CreatePaymentUserRequestUserTypeEnum = {
|
|
|
131
144
|
exports.CreateRecipientAccountAccountTypeEnum = {
|
|
132
145
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
133
146
|
};
|
|
134
|
-
|
|
147
|
+
/**
|
|
148
|
+
* The status of the dispute
|
|
149
|
+
* @export
|
|
150
|
+
* @enum {string}
|
|
151
|
+
*/
|
|
152
|
+
exports.DisputeStatus = {
|
|
135
153
|
Unknown: 'UNKNOWN',
|
|
136
154
|
Undefended: 'UNDEFENDED',
|
|
137
155
|
ActionRequired: 'ACTION_REQUIRED',
|
|
@@ -140,23 +158,19 @@ exports.DisputeResponseDisputeStatusEnum = {
|
|
|
140
158
|
Lost: 'LOST',
|
|
141
159
|
Won: 'WON',
|
|
142
160
|
};
|
|
143
|
-
exports.FVBillStatusEnum = {
|
|
144
|
-
Unknown: 'UNKNOWN',
|
|
145
|
-
Unpaid: 'UNPAID',
|
|
146
|
-
Paid: 'PAID',
|
|
147
|
-
Cancelled: 'CANCELLED',
|
|
148
|
-
Failed: 'FAILED',
|
|
149
|
-
};
|
|
150
|
-
exports.FVCardDetailsFundingEnum = {
|
|
151
|
-
Unknown: 'UNKNOWN',
|
|
152
|
-
Credit: 'CREDIT',
|
|
153
|
-
Debit: 'DEBIT',
|
|
154
|
-
Prepaid: 'PREPAID',
|
|
155
|
-
};
|
|
156
161
|
exports.FeePaidByEnum = {
|
|
157
162
|
Recipient: 'RECIPIENT',
|
|
158
163
|
Sender: 'SENDER',
|
|
159
164
|
};
|
|
165
|
+
/**
|
|
166
|
+
* The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
|
|
167
|
+
* @export
|
|
168
|
+
* @enum {string}
|
|
169
|
+
*/
|
|
170
|
+
exports.FuturePaymentsMode = {
|
|
171
|
+
Autopay: 'AUTOPAY',
|
|
172
|
+
ClickToPay: 'CLICK_TO_PAY',
|
|
173
|
+
};
|
|
160
174
|
exports.FvEmbeddedErrorModelTypeEnum = {
|
|
161
175
|
LinkError: 'LINK_ERROR',
|
|
162
176
|
ApiError: 'API_ERROR',
|
|
@@ -173,13 +187,6 @@ exports.GetBalanceHistoryResponseSourceEnum = {
|
|
|
173
187
|
Institution: 'INSTITUTION',
|
|
174
188
|
Computed: 'COMPUTED',
|
|
175
189
|
};
|
|
176
|
-
exports.GetBillResponseStatusEnum = {
|
|
177
|
-
Unknown: 'UNKNOWN',
|
|
178
|
-
Unpaid: 'UNPAID',
|
|
179
|
-
Paid: 'PAID',
|
|
180
|
-
Cancelled: 'CANCELLED',
|
|
181
|
-
Failed: 'FAILED',
|
|
182
|
-
};
|
|
183
190
|
exports.GetMandateAuthLinkResponseTokenTypeEnum = {
|
|
184
191
|
Bearer: 'Bearer',
|
|
185
192
|
};
|
|
@@ -324,20 +331,36 @@ exports.PaymentLinkCustomizationsUiModeEnum = {
|
|
|
324
331
|
AutoRedirect: 'auto_redirect',
|
|
325
332
|
Standalone: 'standalone',
|
|
326
333
|
};
|
|
327
|
-
|
|
334
|
+
/**
|
|
335
|
+
* The payment link mode
|
|
336
|
+
* @export
|
|
337
|
+
* @enum {string}
|
|
338
|
+
*/
|
|
339
|
+
exports.PaymentLinkMode = {
|
|
328
340
|
Payment: 'PAYMENT',
|
|
341
|
+
Setup: 'SETUP',
|
|
329
342
|
};
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
exports.
|
|
343
|
+
/**
|
|
344
|
+
* The session status of payment link
|
|
345
|
+
* @export
|
|
346
|
+
* @enum {string}
|
|
347
|
+
*/
|
|
348
|
+
exports.PaymentLinkSessionStatus = {
|
|
336
349
|
Open: 'OPEN',
|
|
337
350
|
Processing: 'PROCESSING',
|
|
338
351
|
Complete: 'COMPLETE',
|
|
339
352
|
Failed: 'FAILED',
|
|
340
353
|
};
|
|
354
|
+
/**
|
|
355
|
+
* The status of payment link
|
|
356
|
+
* @export
|
|
357
|
+
* @enum {string}
|
|
358
|
+
*/
|
|
359
|
+
exports.PaymentLinkStatus = {
|
|
360
|
+
Created: 'CREATED',
|
|
361
|
+
Paid: 'PAID',
|
|
362
|
+
Expired: 'EXPIRED',
|
|
363
|
+
};
|
|
341
364
|
exports.PaymentLinkTokenResponseTokenTypeEnum = {
|
|
342
365
|
Bearer: 'Bearer',
|
|
343
366
|
};
|
|
@@ -375,14 +398,6 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
375
398
|
Quarterly: 'QUARTERLY',
|
|
376
399
|
Yearly: 'YEARLY',
|
|
377
400
|
};
|
|
378
|
-
exports.PaymentSetupOptionsFuturePaymentsEnum = {
|
|
379
|
-
Autopay: 'AUTOPAY',
|
|
380
|
-
ClickToPay: 'CLICK_TO_PAY',
|
|
381
|
-
};
|
|
382
|
-
exports.PaymentSetupOptionsRequestFuturePaymentsEnum = {
|
|
383
|
-
Autopay: 'AUTOPAY',
|
|
384
|
-
ClickToPay: 'CLICK_TO_PAY',
|
|
385
|
-
};
|
|
386
401
|
/**
|
|
387
402
|
* Payment status
|
|
388
403
|
* @export
|
|
@@ -419,7 +434,12 @@ exports.PaymentUserWithoutEmailUserTypeEnum = {
|
|
|
419
434
|
Individual: 'INDIVIDUAL',
|
|
420
435
|
Business: 'BUSINESS',
|
|
421
436
|
};
|
|
422
|
-
|
|
437
|
+
/**
|
|
438
|
+
* Payout status
|
|
439
|
+
* @export
|
|
440
|
+
* @enum {string}
|
|
441
|
+
*/
|
|
442
|
+
exports.PayoutStatus = {
|
|
423
443
|
Executed: 'EXECUTED',
|
|
424
444
|
Created: 'CREATED',
|
|
425
445
|
Processing: 'PROCESSING',
|
|
@@ -429,7 +449,12 @@ exports.PayoutSnapshotResponseStatusEnum = {
|
|
|
429
449
|
Funded: 'FUNDED',
|
|
430
450
|
Submitted: 'SUBMITTED',
|
|
431
451
|
};
|
|
432
|
-
|
|
452
|
+
/**
|
|
453
|
+
* Payout type
|
|
454
|
+
* @export
|
|
455
|
+
* @enum {string}
|
|
456
|
+
*/
|
|
457
|
+
exports.PayoutType = {
|
|
433
458
|
Manual: 'MANUAL',
|
|
434
459
|
Scheduled: 'SCHEDULED',
|
|
435
460
|
Settlement: 'SETTLEMENT',
|