@finverse/sdk-typescript 0.0.399 → 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.
Files changed (3) hide show
  1. package/dist/api.d.ts +245 -273
  2. package/dist/api.js +117 -133
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -563,11 +563,11 @@ export interface AvailablePaymentMethod {
563
563
  */
564
564
  payment_account_id?: string;
565
565
  /**
566
- * The payment method type, possible values CARD, MANDATE and MANUAL
567
- * @type {string}
566
+ *
567
+ * @type {PaymentType}
568
568
  * @memberof AvailablePaymentMethod
569
569
  */
570
- payment_method_type?: string;
570
+ payment_method_type?: PaymentType;
571
571
  /**
572
572
  * The payment method subtype, e.g., EDDA_HK, CARD_GENERIC etc
573
573
  * @type {string}
@@ -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
@@ -1070,10 +1095,10 @@ export interface CardFvLinkDetails {
1070
1095
  export interface CardFvLinkResponse {
1071
1096
  /**
1072
1097
  *
1073
- * @type {string}
1098
+ * @type {CardStatus}
1074
1099
  * @memberof CardFvLinkResponse
1075
1100
  */
1076
- status?: CardFvLinkResponseStatusEnum;
1101
+ status?: CardStatus;
1077
1102
  /**
1078
1103
  *
1079
1104
  * @type {CardFvLinkDetails}
@@ -1093,14 +1118,6 @@ export interface CardFvLinkResponse {
1093
1118
  */
1094
1119
  error?: FvEmbeddedErrorModel;
1095
1120
  }
1096
- export declare const CardFvLinkResponseStatusEnum: {
1097
- readonly Unknown: "UNKNOWN";
1098
- readonly Created: "CREATED";
1099
- readonly Succeeded: "SUCCEEDED";
1100
- readonly Cancelled: "CANCELLED";
1101
- readonly Failed: "FAILED";
1102
- };
1103
- export type CardFvLinkResponseStatusEnum = (typeof CardFvLinkResponseStatusEnum)[keyof typeof CardFvLinkResponseStatusEnum];
1104
1121
  /**
1105
1122
  *
1106
1123
  * @export
@@ -1114,6 +1131,19 @@ export interface CardRecipient {
1114
1131
  */
1115
1132
  name?: string;
1116
1133
  }
1134
+ /**
1135
+ * Card status
1136
+ * @export
1137
+ * @enum {string}
1138
+ */
1139
+ export declare const CardStatus: {
1140
+ readonly Unknown: "UNKNOWN";
1141
+ readonly Created: "CREATED";
1142
+ readonly Succeeded: "SUCCEEDED";
1143
+ readonly Cancelled: "CANCELLED";
1144
+ readonly Failed: "FAILED";
1145
+ };
1146
+ export type CardStatus = (typeof CardStatus)[keyof typeof CardStatus];
1117
1147
  /**
1118
1148
  *
1119
1149
  * @export
@@ -1438,19 +1468,12 @@ export interface CreateCardRequestCardDetails {
1438
1468
  */
1439
1469
  country?: string;
1440
1470
  /**
1441
- * The funding source of the card
1442
- * @type {string}
1471
+ *
1472
+ * @type {CardFundingType}
1443
1473
  * @memberof CreateCardRequestCardDetails
1444
1474
  */
1445
- funding?: CreateCardRequestCardDetailsFundingEnum;
1475
+ funding?: CardFundingType;
1446
1476
  }
1447
- export declare const CreateCardRequestCardDetailsFundingEnum: {
1448
- readonly Unknown: "UNKNOWN";
1449
- readonly Credit: "CREDIT";
1450
- readonly Debit: "DEBIT";
1451
- readonly Prepaid: "PREPAID";
1452
- };
1453
- export type CreateCardRequestCardDetailsFundingEnum = (typeof CreateCardRequestCardDetailsFundingEnum)[keyof typeof CreateCardRequestCardDetailsFundingEnum];
1454
1477
  /**
1455
1478
  *
1456
1479
  * @export
@@ -1558,11 +1581,11 @@ export interface CreateMandateResponse {
1558
1581
  */
1559
1582
  payment_method_id?: string;
1560
1583
  /**
1561
- * Mandate status
1562
- * @type {string}
1584
+ *
1585
+ * @type {MandateStatus}
1563
1586
  * @memberof CreateMandateResponse
1564
1587
  */
1565
- status: CreateMandateResponseStatusEnum;
1588
+ status: MandateStatus;
1566
1589
  /**
1567
1590
  *
1568
1591
  * @type {MandateRecipient}
@@ -1614,19 +1637,6 @@ export interface CreateMandateResponse {
1614
1637
  */
1615
1638
  error?: FvEmbeddedErrorModel;
1616
1639
  }
1617
- export declare const CreateMandateResponseStatusEnum: {
1618
- readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
1619
- readonly Authorizing: "AUTHORIZING";
1620
- readonly Processing: "PROCESSING";
1621
- readonly Submitted: "SUBMITTED";
1622
- readonly Succeeded: "SUCCEEDED";
1623
- readonly Failed: "FAILED";
1624
- readonly Revoked: "REVOKED";
1625
- readonly ReadyToSubmit: "READY_TO_SUBMIT";
1626
- readonly Closed: "CLOSED";
1627
- readonly Cancelled: "CANCELLED";
1628
- };
1629
- export type CreateMandateResponseStatusEnum = (typeof CreateMandateResponseStatusEnum)[keyof typeof CreateMandateResponseStatusEnum];
1630
1640
  /**
1631
1641
  *
1632
1642
  * @export
@@ -1836,11 +1846,11 @@ export interface CreatePaymentLinkRequest {
1836
1846
  */
1837
1847
  link_customizations?: PaymentLinkCustomizations;
1838
1848
  /**
1839
- * The payment link mode
1840
- * @type {string}
1849
+ *
1850
+ * @type {PaymentLinkMode}
1841
1851
  * @memberof CreatePaymentLinkRequest
1842
1852
  */
1843
- mode: CreatePaymentLinkRequestModeEnum;
1853
+ mode: PaymentLinkMode;
1844
1854
  /**
1845
1855
  *
1846
1856
  * @type {PaymentLinkDetails}
@@ -1888,11 +1898,6 @@ export interface CreatePaymentLinkRequest {
1888
1898
  */
1889
1899
  integration_metadata?: IntegrationMetadataRequest;
1890
1900
  }
1891
- export declare const CreatePaymentLinkRequestModeEnum: {
1892
- readonly Payment: "PAYMENT";
1893
- readonly Setup: "SETUP";
1894
- };
1895
- export type CreatePaymentLinkRequestModeEnum = (typeof CreatePaymentLinkRequestModeEnum)[keyof typeof CreatePaymentLinkRequestModeEnum];
1896
1901
  /**
1897
1902
  *
1898
1903
  * @export
@@ -1919,16 +1924,11 @@ export interface CreatePaymentMethodRequest {
1919
1924
  integration_metadata?: PaymentMethodIntegrationMetadata;
1920
1925
  /**
1921
1926
  *
1922
- * @type {string}
1927
+ * @type {PaymentMethodType}
1923
1928
  * @memberof CreatePaymentMethodRequest
1924
1929
  */
1925
- payment_method_type: CreatePaymentMethodRequestPaymentMethodTypeEnum;
1930
+ payment_method_type: PaymentMethodType;
1926
1931
  }
1927
- export declare const CreatePaymentMethodRequestPaymentMethodTypeEnum: {
1928
- readonly Card: "CARD";
1929
- readonly Mandate: "MANDATE";
1930
- };
1931
- export type CreatePaymentMethodRequestPaymentMethodTypeEnum = (typeof CreatePaymentMethodRequestPaymentMethodTypeEnum)[keyof typeof CreatePaymentMethodRequestPaymentMethodTypeEnum];
1932
1932
  /**
1933
1933
  *
1934
1934
  * @export
@@ -2276,11 +2276,11 @@ export interface DisputeResponse {
2276
2276
  */
2277
2277
  is_defendable?: boolean | null;
2278
2278
  /**
2279
- * The status of the dispute
2280
- * @type {string}
2279
+ *
2280
+ * @type {DisputeStatus}
2281
2281
  * @memberof DisputeResponse
2282
2282
  */
2283
- dispute_status?: DisputeResponseDisputeStatusEnum;
2283
+ dispute_status?: DisputeStatus;
2284
2284
  /**
2285
2285
  * The status of the dispute at the payment processor
2286
2286
  * @type {string}
@@ -2320,16 +2320,6 @@ export interface DisputeResponse {
2320
2320
  */
2321
2321
  updated_at?: string;
2322
2322
  }
2323
- export declare const DisputeResponseDisputeStatusEnum: {
2324
- readonly Unknown: "UNKNOWN";
2325
- readonly Undefended: "UNDEFENDED";
2326
- readonly ActionRequired: "ACTION_REQUIRED";
2327
- readonly Processing: "PROCESSING";
2328
- readonly Accepted: "ACCEPTED";
2329
- readonly Lost: "LOST";
2330
- readonly Won: "WON";
2331
- };
2332
- export type DisputeResponseDisputeStatusEnum = (typeof DisputeResponseDisputeStatusEnum)[keyof typeof DisputeResponseDisputeStatusEnum];
2333
2323
  /**
2334
2324
  *
2335
2325
  * @export
@@ -2343,6 +2333,21 @@ export interface DisputeResponseCardDetails {
2343
2333
  */
2344
2334
  brand?: string;
2345
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];
2346
2351
  /**
2347
2352
  *
2348
2353
  * @export
@@ -2538,10 +2543,10 @@ export interface FVBill {
2538
2543
  };
2539
2544
  /**
2540
2545
  *
2541
- * @type {string}
2546
+ * @type {BillStatus}
2542
2547
  * @memberof FVBill
2543
2548
  */
2544
- status: FVBillStatusEnum;
2549
+ status: BillStatus;
2545
2550
  /**
2546
2551
  *
2547
2552
  * @type {string}
@@ -2573,14 +2578,6 @@ export interface FVBill {
2573
2578
  */
2574
2579
  is_finverse_autopay_eligible: boolean;
2575
2580
  }
2576
- export declare const FVBillStatusEnum: {
2577
- readonly Unknown: "UNKNOWN";
2578
- readonly Unpaid: "UNPAID";
2579
- readonly Paid: "PAID";
2580
- readonly Cancelled: "CANCELLED";
2581
- readonly Failed: "FAILED";
2582
- };
2583
- export type FVBillStatusEnum = (typeof FVBillStatusEnum)[keyof typeof FVBillStatusEnum];
2584
2581
  /**
2585
2582
  *
2586
2583
  * @export
@@ -2600,11 +2597,11 @@ export interface FVCard {
2600
2597
  */
2601
2598
  updated_at?: string;
2602
2599
  /**
2603
- * Card Status
2604
- * @type {string}
2600
+ *
2601
+ * @type {CardStatus}
2605
2602
  * @memberof FVCard
2606
2603
  */
2607
- status?: FVCardStatusEnum;
2604
+ status?: CardStatus;
2608
2605
  /**
2609
2606
  *
2610
2607
  * @type {FvEmbeddedErrorModel}
@@ -2630,14 +2627,6 @@ export interface FVCard {
2630
2627
  */
2631
2628
  risk_data?: RiskData;
2632
2629
  }
2633
- export declare const FVCardStatusEnum: {
2634
- readonly Unknown: "UNKNOWN";
2635
- readonly Created: "CREATED";
2636
- readonly Succeeded: "SUCCEEDED";
2637
- readonly Cancelled: "CANCELLED";
2638
- readonly Failed: "FAILED";
2639
- };
2640
- export type FVCardStatusEnum = (typeof FVCardStatusEnum)[keyof typeof FVCardStatusEnum];
2641
2630
  /**
2642
2631
  *
2643
2632
  * @export
@@ -2693,11 +2682,11 @@ export interface FVCardDetails {
2693
2682
  */
2694
2683
  fingerprint?: string;
2695
2684
  /**
2696
- * The funding source of the card
2697
- * @type {string}
2685
+ *
2686
+ * @type {CardFundingType}
2698
2687
  * @memberof FVCardDetails
2699
2688
  */
2700
- funding?: FVCardDetailsFundingEnum;
2689
+ funding?: CardFundingType;
2701
2690
  /**
2702
2691
  *
2703
2692
  * @type {string}
@@ -2741,13 +2730,6 @@ export interface FVCardDetails {
2741
2730
  */
2742
2731
  is_commercial?: boolean | null;
2743
2732
  }
2744
- export declare const FVCardDetailsFundingEnum: {
2745
- readonly Unknown: "UNKNOWN";
2746
- readonly Credit: "CREDIT";
2747
- readonly Debit: "DEBIT";
2748
- readonly Prepaid: "PREPAID";
2749
- };
2750
- export type FVCardDetailsFundingEnum = (typeof FVCardDetailsFundingEnum)[keyof typeof FVCardDetailsFundingEnum];
2751
2733
  /**
2752
2734
  *
2753
2735
  * @export
@@ -2884,6 +2866,16 @@ export interface FrontendFvErrorModel {
2884
2866
  */
2885
2867
  display_details: string;
2886
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];
2887
2879
  /**
2888
2880
  *
2889
2881
  * @export
@@ -3209,10 +3201,10 @@ export interface GetBillResponse {
3209
3201
  };
3210
3202
  /**
3211
3203
  *
3212
- * @type {string}
3204
+ * @type {BillStatus}
3213
3205
  * @memberof GetBillResponse
3214
3206
  */
3215
- status: GetBillResponseStatusEnum;
3207
+ status: BillStatus;
3216
3208
  /**
3217
3209
  *
3218
3210
  * @type {string}
@@ -3250,14 +3242,6 @@ export interface GetBillResponse {
3250
3242
  */
3251
3243
  payments: Array<PaymentResponse>;
3252
3244
  }
3253
- export declare const GetBillResponseStatusEnum: {
3254
- readonly Unknown: "UNKNOWN";
3255
- readonly Unpaid: "UNPAID";
3256
- readonly Paid: "PAID";
3257
- readonly Cancelled: "CANCELLED";
3258
- readonly Failed: "FAILED";
3259
- };
3260
- export type GetBillResponseStatusEnum = (typeof GetBillResponseStatusEnum)[keyof typeof GetBillResponseStatusEnum];
3261
3245
  /**
3262
3246
  *
3263
3247
  * @export
@@ -3517,11 +3501,11 @@ export interface GetMandateResponse {
3517
3501
  */
3518
3502
  payment_method_id?: string;
3519
3503
  /**
3520
- * Mandate Status
3521
- * @type {string}
3504
+ *
3505
+ * @type {MandateStatus}
3522
3506
  * @memberof GetMandateResponse
3523
3507
  */
3524
- status: GetMandateResponseStatusEnum;
3508
+ status: MandateStatus;
3525
3509
  /**
3526
3510
  *
3527
3511
  * @type {MandateRecipient}
@@ -3573,16 +3557,6 @@ export interface GetMandateResponse {
3573
3557
  [key: string]: string;
3574
3558
  };
3575
3559
  }
3576
- export declare const GetMandateResponseStatusEnum: {
3577
- readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
3578
- readonly Authorizing: "AUTHORIZING";
3579
- readonly Processing: "PROCESSING";
3580
- readonly Submitted: "SUBMITTED";
3581
- readonly Succeeded: "SUCCEEDED";
3582
- readonly Failed: "FAILED";
3583
- readonly Revoked: "REVOKED";
3584
- };
3585
- export type GetMandateResponseStatusEnum = (typeof GetMandateResponseStatusEnum)[keyof typeof GetMandateResponseStatusEnum];
3586
3560
  /**
3587
3561
  *
3588
3562
  * @export
@@ -5991,6 +5965,24 @@ export interface MandateSenderAccountRequest {
5991
5965
  */
5992
5966
  account_id: string;
5993
5967
  }
5968
+ /**
5969
+ * Mandate status
5970
+ * @export
5971
+ * @enum {string}
5972
+ */
5973
+ export declare const MandateStatus: {
5974
+ readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
5975
+ readonly Authorizing: "AUTHORIZING";
5976
+ readonly Processing: "PROCESSING";
5977
+ readonly Submitted: "SUBMITTED";
5978
+ readonly Succeeded: "SUCCEEDED";
5979
+ readonly Failed: "FAILED";
5980
+ readonly Revoked: "REVOKED";
5981
+ readonly ReadyToSubmit: "READY_TO_SUBMIT";
5982
+ readonly Closed: "CLOSED";
5983
+ readonly Cancelled: "CANCELLED";
5984
+ };
5985
+ export type MandateStatus = (typeof MandateStatus)[keyof typeof MandateStatus];
5994
5986
  /**
5995
5987
  *
5996
5988
  * @export
@@ -6018,23 +6010,11 @@ export interface ManualPaymentConfirmationResponse {
6018
6010
  payment_id?: string;
6019
6011
  /**
6020
6012
  *
6021
- * @type {string}
6013
+ * @type {PaymentStatus}
6022
6014
  * @memberof ManualPaymentConfirmationResponse
6023
6015
  */
6024
- status?: ManualPaymentConfirmationResponseStatusEnum;
6016
+ status?: PaymentStatus;
6025
6017
  }
6026
- export declare const ManualPaymentConfirmationResponseStatusEnum: {
6027
- readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
6028
- readonly Authorizing: "AUTHORIZING";
6029
- readonly Processing: "PROCESSING";
6030
- readonly Submitted: "SUBMITTED";
6031
- readonly Executed: "EXECUTED";
6032
- readonly Failed: "FAILED";
6033
- readonly Revoked: "REVOKED";
6034
- readonly Cancelled: "CANCELLED";
6035
- readonly Created: "CREATED";
6036
- };
6037
- export type ManualPaymentConfirmationResponseStatusEnum = (typeof ManualPaymentConfirmationResponseStatusEnum)[keyof typeof ManualPaymentConfirmationResponseStatusEnum];
6038
6018
  /**
6039
6019
  *
6040
6020
  * @export
@@ -6597,16 +6577,16 @@ export interface PaymentFvLinkResponse {
6597
6577
  payment_id?: string;
6598
6578
  /**
6599
6579
  *
6600
- * @type {string}
6580
+ * @type {PaymentStatus}
6601
6581
  * @memberof PaymentFvLinkResponse
6602
6582
  */
6603
- status?: PaymentFvLinkResponseStatusEnum;
6583
+ status?: PaymentStatus;
6604
6584
  /**
6605
6585
  *
6606
- * @type {string}
6586
+ * @type {PaymentType}
6607
6587
  * @memberof PaymentFvLinkResponse
6608
6588
  */
6609
- type?: PaymentFvLinkResponseTypeEnum;
6589
+ type?: PaymentType;
6610
6590
  /**
6611
6591
  *
6612
6592
  * @type {PaymentFvLinkDetails}
@@ -6626,26 +6606,6 @@ export interface PaymentFvLinkResponse {
6626
6606
  */
6627
6607
  skip_polling: boolean;
6628
6608
  }
6629
- export declare const PaymentFvLinkResponseStatusEnum: {
6630
- readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
6631
- readonly Authorizing: "AUTHORIZING";
6632
- readonly Processing: "PROCESSING";
6633
- readonly Submitted: "SUBMITTED";
6634
- readonly Executed: "EXECUTED";
6635
- readonly Failed: "FAILED";
6636
- readonly Revoked: "REVOKED";
6637
- readonly Cancelled: "CANCELLED";
6638
- readonly Created: "CREATED";
6639
- };
6640
- export type PaymentFvLinkResponseStatusEnum = (typeof PaymentFvLinkResponseStatusEnum)[keyof typeof PaymentFvLinkResponseStatusEnum];
6641
- export declare const PaymentFvLinkResponseTypeEnum: {
6642
- readonly Mandate: "MANDATE";
6643
- readonly Single: "SINGLE";
6644
- readonly Card: "CARD";
6645
- readonly Manual: "MANUAL";
6646
- readonly Wallet: "WALLET";
6647
- };
6648
- export type PaymentFvLinkResponseTypeEnum = (typeof PaymentFvLinkResponseTypeEnum)[keyof typeof PaymentFvLinkResponseTypeEnum];
6649
6609
  /**
6650
6610
  *
6651
6611
  * @export
@@ -6734,6 +6694,16 @@ export interface PaymentLinkDetails {
6734
6694
  */
6735
6695
  external_transaction_reference: string;
6736
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];
6737
6707
  /**
6738
6708
  *
6739
6709
  * @export
@@ -6765,11 +6735,11 @@ export interface PaymentLinkResponse {
6765
6735
  */
6766
6736
  link_customizations?: PaymentLinkCustomizations;
6767
6737
  /**
6768
- * The payment link mode
6769
- * @type {string}
6738
+ *
6739
+ * @type {PaymentLinkMode}
6770
6740
  * @memberof PaymentLinkResponse
6771
6741
  */
6772
- mode?: PaymentLinkResponseModeEnum;
6742
+ mode?: PaymentLinkMode;
6773
6743
  /**
6774
6744
  *
6775
6745
  * @type {PaymentLinkDetails}
@@ -6811,17 +6781,17 @@ export interface PaymentLinkResponse {
6811
6781
  */
6812
6782
  url?: string;
6813
6783
  /**
6814
- * The status of payment link
6815
- * @type {string}
6784
+ *
6785
+ * @type {PaymentLinkStatus}
6816
6786
  * @memberof PaymentLinkResponse
6817
6787
  */
6818
- status?: PaymentLinkResponseStatusEnum;
6788
+ status?: PaymentLinkStatus;
6819
6789
  /**
6820
- * The session status of payment link
6821
- * @type {string}
6790
+ *
6791
+ * @type {PaymentLinkSessionStatus}
6822
6792
  * @memberof PaymentLinkResponse
6823
6793
  */
6824
- session_status?: PaymentLinkResponseSessionStatusEnum;
6794
+ session_status?: PaymentLinkSessionStatus;
6825
6795
  /**
6826
6796
  * Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
6827
6797
  * @type {string}
@@ -6859,23 +6829,6 @@ export interface PaymentLinkResponse {
6859
6829
  */
6860
6830
  integration_metadata?: IntegrationMetadataResponse;
6861
6831
  }
6862
- export declare const PaymentLinkResponseModeEnum: {
6863
- readonly Payment: "PAYMENT";
6864
- };
6865
- export type PaymentLinkResponseModeEnum = (typeof PaymentLinkResponseModeEnum)[keyof typeof PaymentLinkResponseModeEnum];
6866
- export declare const PaymentLinkResponseStatusEnum: {
6867
- readonly Created: "CREATED";
6868
- readonly Paid: "PAID";
6869
- readonly Expired: "EXPIRED";
6870
- };
6871
- export type PaymentLinkResponseStatusEnum = (typeof PaymentLinkResponseStatusEnum)[keyof typeof PaymentLinkResponseStatusEnum];
6872
- export declare const PaymentLinkResponseSessionStatusEnum: {
6873
- readonly Open: "OPEN";
6874
- readonly Processing: "PROCESSING";
6875
- readonly Complete: "COMPLETE";
6876
- readonly Failed: "FAILED";
6877
- };
6878
- export type PaymentLinkResponseSessionStatusEnum = (typeof PaymentLinkResponseSessionStatusEnum)[keyof typeof PaymentLinkResponseSessionStatusEnum];
6879
6832
  /**
6880
6833
  *
6881
6834
  * @export
@@ -6932,6 +6885,29 @@ export interface PaymentLinkSenderResponse {
6932
6885
  */
6933
6886
  user_id?: string;
6934
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];
6935
6911
  /**
6936
6912
  *
6937
6913
  * @export
@@ -6981,10 +6957,10 @@ export interface PaymentMethodFvLinkResponse {
6981
6957
  payment_method_id?: string;
6982
6958
  /**
6983
6959
  *
6984
- * @type {string}
6960
+ * @type {PaymentMethodType}
6985
6961
  * @memberof PaymentMethodFvLinkResponse
6986
6962
  */
6987
- payment_method_type?: string;
6963
+ payment_method_type?: PaymentMethodType;
6988
6964
  /**
6989
6965
  *
6990
6966
  * @type {string}
@@ -7405,11 +7381,11 @@ export interface PaymentMethodOverview {
7405
7381
  */
7406
7382
  payment_confirmation_speed?: string;
7407
7383
  /**
7408
- * The payment method type, possible values CARD, MANDATE and MANUAL
7409
- * @type {string}
7384
+ *
7385
+ * @type {PaymentType}
7410
7386
  * @memberof PaymentMethodOverview
7411
7387
  */
7412
- payment_method_type?: string;
7388
+ payment_method_type?: PaymentType;
7413
7389
  /**
7414
7390
  * The payment method subtype, e.g., EDDA_HK, CARD_GENERIC etc
7415
7391
  * @type {string}
@@ -7449,10 +7425,10 @@ export interface PaymentMethodResponse {
7449
7425
  payment_method_id?: string;
7450
7426
  /**
7451
7427
  *
7452
- * @type {string}
7428
+ * @type {PaymentMethodType}
7453
7429
  * @memberof PaymentMethodResponse
7454
7430
  */
7455
- payment_method_type?: string;
7431
+ payment_method_type?: PaymentMethodType;
7456
7432
  /**
7457
7433
  * Whether the payment method is live (true) or a test payment method (false), based on its payment rail. Absent if the payment rail is unknown.
7458
7434
  * @type {boolean}
@@ -7478,6 +7454,16 @@ export interface PaymentMethodResponse {
7478
7454
  */
7479
7455
  integration_metadata?: PaymentMethodIntegrationMetadataResponse;
7480
7456
  }
7457
+ /**
7458
+ * The payment method type
7459
+ * @export
7460
+ * @enum {string}
7461
+ */
7462
+ export declare const PaymentMethodType: {
7463
+ readonly Card: "CARD";
7464
+ readonly Mandate: "MANDATE";
7465
+ };
7466
+ export type PaymentMethodType = (typeof PaymentMethodType)[keyof typeof PaymentMethodType];
7481
7467
  /**
7482
7468
  *
7483
7469
  * @export
@@ -7607,11 +7593,11 @@ export interface PaymentResponse {
7607
7593
  */
7608
7594
  currency?: string;
7609
7595
  /**
7610
- * Indicates whether this is a mandate-based payment or one-off direct payment to an account. Possible values - MANDATE, SINGLE
7611
- * @type {string}
7596
+ *
7597
+ * @type {PaymentType}
7612
7598
  * @memberof PaymentResponse
7613
7599
  */
7614
- type?: PaymentResponseTypeEnum;
7600
+ type?: PaymentType;
7615
7601
  /**
7616
7602
  * Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
7617
7603
  * @type {string}
@@ -7619,11 +7605,11 @@ export interface PaymentResponse {
7619
7605
  */
7620
7606
  updated_at?: string;
7621
7607
  /**
7622
- * Possible values - CREATED, AUTHORIZED, SUBMITTED, EXECUTED, FAILED, REJECTED, CANCELLED.
7623
- * @type {string}
7608
+ *
7609
+ * @type {PaymentStatus}
7624
7610
  * @memberof PaymentResponse
7625
7611
  */
7626
- status?: PaymentResponseStatusEnum;
7612
+ status?: PaymentStatus;
7627
7613
  /**
7628
7614
  * ID of the payment method this pament is referring to.
7629
7615
  * @type {string}
@@ -7693,26 +7679,6 @@ export interface PaymentResponse {
7693
7679
  */
7694
7680
  payment_method?: PaymentSnapshotPaymentMethod;
7695
7681
  }
7696
- export declare const PaymentResponseTypeEnum: {
7697
- readonly Mandate: "MANDATE";
7698
- readonly Single: "SINGLE";
7699
- readonly Card: "CARD";
7700
- readonly Manual: "MANUAL";
7701
- readonly Wallet: "WALLET";
7702
- };
7703
- export type PaymentResponseTypeEnum = (typeof PaymentResponseTypeEnum)[keyof typeof PaymentResponseTypeEnum];
7704
- export declare const PaymentResponseStatusEnum: {
7705
- readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
7706
- readonly Authorizing: "AUTHORIZING";
7707
- readonly Processing: "PROCESSING";
7708
- readonly Submitted: "SUBMITTED";
7709
- readonly Executed: "EXECUTED";
7710
- readonly Failed: "FAILED";
7711
- readonly Revoked: "REVOKED";
7712
- readonly Cancelled: "CANCELLED";
7713
- readonly Created: "CREATED";
7714
- };
7715
- export type PaymentResponseStatusEnum = (typeof PaymentResponseStatusEnum)[keyof typeof PaymentResponseStatusEnum];
7716
7682
  /**
7717
7683
  *
7718
7684
  * @export
@@ -7747,11 +7713,11 @@ export type PaymentScheduleFrequencyEnum = (typeof PaymentScheduleFrequencyEnum)
7747
7713
  */
7748
7714
  export interface PaymentSetupOptions {
7749
7715
  /**
7750
- * The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
7751
- * @type {string}
7716
+ *
7717
+ * @type {FuturePaymentsMode}
7752
7718
  * @memberof PaymentSetupOptions
7753
7719
  */
7754
- future_payments?: PaymentSetupOptionsFuturePaymentsEnum;
7720
+ future_payments?: FuturePaymentsMode;
7755
7721
  /**
7756
7722
  *
7757
7723
  * @type {MandateDetailsForPaymentLink}
@@ -7760,10 +7726,10 @@ export interface PaymentSetupOptions {
7760
7726
  mandate_details?: MandateDetailsForPaymentLink;
7761
7727
  /**
7762
7728
  *
7763
- * @type {Array<string>}
7729
+ * @type {Array<PaymentType>}
7764
7730
  * @memberof PaymentSetupOptions
7765
7731
  */
7766
- payment_method_types?: Array<PaymentSetupOptionsPaymentMethodTypesEnum>;
7732
+ payment_method_types?: Array<PaymentType>;
7767
7733
  /**
7768
7734
  *
7769
7735
  * @type {RecipientAccountFilters}
@@ -7783,19 +7749,6 @@ export interface PaymentSetupOptions {
7783
7749
  */
7784
7750
  recurring_payment_mode?: string;
7785
7751
  }
7786
- export declare const PaymentSetupOptionsFuturePaymentsEnum: {
7787
- readonly Autopay: "AUTOPAY";
7788
- readonly ClickToPay: "CLICK_TO_PAY";
7789
- };
7790
- export type PaymentSetupOptionsFuturePaymentsEnum = (typeof PaymentSetupOptionsFuturePaymentsEnum)[keyof typeof PaymentSetupOptionsFuturePaymentsEnum];
7791
- export declare const PaymentSetupOptionsPaymentMethodTypesEnum: {
7792
- readonly Mandate: "MANDATE";
7793
- readonly Single: "SINGLE";
7794
- readonly Card: "CARD";
7795
- readonly Manual: "MANUAL";
7796
- readonly Wallet: "WALLET";
7797
- };
7798
- export type PaymentSetupOptionsPaymentMethodTypesEnum = (typeof PaymentSetupOptionsPaymentMethodTypesEnum)[keyof typeof PaymentSetupOptionsPaymentMethodTypesEnum];
7799
7752
  /**
7800
7753
  *
7801
7754
  * @export
@@ -7803,11 +7756,11 @@ export type PaymentSetupOptionsPaymentMethodTypesEnum = (typeof PaymentSetupOpti
7803
7756
  */
7804
7757
  export interface PaymentSetupOptionsRequest {
7805
7758
  /**
7806
- * The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
7807
- * @type {string}
7759
+ *
7760
+ * @type {FuturePaymentsMode}
7808
7761
  * @memberof PaymentSetupOptionsRequest
7809
7762
  */
7810
- future_payments?: PaymentSetupOptionsRequestFuturePaymentsEnum;
7763
+ future_payments?: FuturePaymentsMode;
7811
7764
  /**
7812
7765
  *
7813
7766
  * @type {MandateDetailsForPaymentLinkRequest}
@@ -7816,10 +7769,10 @@ export interface PaymentSetupOptionsRequest {
7816
7769
  mandate_details?: MandateDetailsForPaymentLinkRequest;
7817
7770
  /**
7818
7771
  *
7819
- * @type {Array<string>}
7772
+ * @type {Array<PaymentType>}
7820
7773
  * @memberof PaymentSetupOptionsRequest
7821
7774
  */
7822
- payment_method_types?: Array<PaymentSetupOptionsRequestPaymentMethodTypesEnum>;
7775
+ payment_method_types?: Array<PaymentType>;
7823
7776
  /**
7824
7777
  *
7825
7778
  * @type {RecipientAccountFilters}
@@ -7839,19 +7792,6 @@ export interface PaymentSetupOptionsRequest {
7839
7792
  */
7840
7793
  recurring_payment_mode?: string;
7841
7794
  }
7842
- export declare const PaymentSetupOptionsRequestFuturePaymentsEnum: {
7843
- readonly Autopay: "AUTOPAY";
7844
- readonly ClickToPay: "CLICK_TO_PAY";
7845
- };
7846
- export type PaymentSetupOptionsRequestFuturePaymentsEnum = (typeof PaymentSetupOptionsRequestFuturePaymentsEnum)[keyof typeof PaymentSetupOptionsRequestFuturePaymentsEnum];
7847
- export declare const PaymentSetupOptionsRequestPaymentMethodTypesEnum: {
7848
- readonly Mandate: "MANDATE";
7849
- readonly Single: "SINGLE";
7850
- readonly Card: "CARD";
7851
- readonly Manual: "MANUAL";
7852
- readonly Wallet: "WALLET";
7853
- };
7854
- export type PaymentSetupOptionsRequestPaymentMethodTypesEnum = (typeof PaymentSetupOptionsRequestPaymentMethodTypesEnum)[keyof typeof PaymentSetupOptionsRequestPaymentMethodTypesEnum];
7855
7795
  /**
7856
7796
  *
7857
7797
  * @export
@@ -7928,6 +7868,36 @@ export interface PaymentSnapshotPaymentMethodWallet {
7928
7868
  */
7929
7869
  risk_data?: RiskData;
7930
7870
  }
7871
+ /**
7872
+ * Payment status
7873
+ * @export
7874
+ * @enum {string}
7875
+ */
7876
+ export declare const PaymentStatus: {
7877
+ readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
7878
+ readonly Authorizing: "AUTHORIZING";
7879
+ readonly Processing: "PROCESSING";
7880
+ readonly Submitted: "SUBMITTED";
7881
+ readonly Executed: "EXECUTED";
7882
+ readonly Failed: "FAILED";
7883
+ readonly Revoked: "REVOKED";
7884
+ readonly Cancelled: "CANCELLED";
7885
+ readonly Created: "CREATED";
7886
+ };
7887
+ export type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
7888
+ /**
7889
+ * Indicates whether this is a mandate-based payment or one-off direct payment to an account
7890
+ * @export
7891
+ * @enum {string}
7892
+ */
7893
+ export declare const PaymentType: {
7894
+ readonly Mandate: "MANDATE";
7895
+ readonly Single: "SINGLE";
7896
+ readonly Card: "CARD";
7897
+ readonly Manual: "MANUAL";
7898
+ readonly Wallet: "WALLET";
7899
+ };
7900
+ export type PaymentType = (typeof PaymentType)[keyof typeof PaymentType];
7931
7901
  /**
7932
7902
  *
7933
7903
  * @export
@@ -8251,16 +8221,16 @@ export interface PayoutSnapshotResponse {
8251
8221
  payout_id?: string;
8252
8222
  /**
8253
8223
  *
8254
- * @type {string}
8224
+ * @type {PayoutStatus}
8255
8225
  * @memberof PayoutSnapshotResponse
8256
8226
  */
8257
- status?: PayoutSnapshotResponseStatusEnum;
8227
+ status?: PayoutStatus;
8258
8228
  /**
8259
8229
  *
8260
- * @type {string}
8230
+ * @type {PayoutType}
8261
8231
  * @memberof PayoutSnapshotResponse
8262
8232
  */
8263
- type?: PayoutSnapshotResponseTypeEnum;
8233
+ type?: PayoutType;
8264
8234
  /**
8265
8235
  *
8266
8236
  * @type {string}
@@ -8354,7 +8324,12 @@ export interface PayoutSnapshotResponse {
8354
8324
  */
8355
8325
  error?: FvEmbeddedErrorModel;
8356
8326
  }
8357
- export declare const PayoutSnapshotResponseStatusEnum: {
8327
+ /**
8328
+ * Payout status
8329
+ * @export
8330
+ * @enum {string}
8331
+ */
8332
+ export declare const PayoutStatus: {
8358
8333
  readonly Executed: "EXECUTED";
8359
8334
  readonly Created: "CREATED";
8360
8335
  readonly Processing: "PROCESSING";
@@ -8364,14 +8339,19 @@ export declare const PayoutSnapshotResponseStatusEnum: {
8364
8339
  readonly Funded: "FUNDED";
8365
8340
  readonly Submitted: "SUBMITTED";
8366
8341
  };
8367
- export type PayoutSnapshotResponseStatusEnum = (typeof PayoutSnapshotResponseStatusEnum)[keyof typeof PayoutSnapshotResponseStatusEnum];
8368
- export declare const PayoutSnapshotResponseTypeEnum: {
8342
+ export type PayoutStatus = (typeof PayoutStatus)[keyof typeof PayoutStatus];
8343
+ /**
8344
+ * Payout type
8345
+ * @export
8346
+ * @enum {string}
8347
+ */
8348
+ export declare const PayoutType: {
8369
8349
  readonly Manual: "MANUAL";
8370
8350
  readonly Scheduled: "SCHEDULED";
8371
8351
  readonly Settlement: "SETTLEMENT";
8372
8352
  readonly OnDemand: "ON_DEMAND";
8373
8353
  };
8374
- export type PayoutSnapshotResponseTypeEnum = (typeof PayoutSnapshotResponseTypeEnum)[keyof typeof PayoutSnapshotResponseTypeEnum];
8354
+ export type PayoutType = (typeof PayoutType)[keyof typeof PayoutType];
8375
8355
  /**
8376
8356
  *
8377
8357
  * @export
@@ -9069,11 +9049,11 @@ export interface SelectPaymentMethodRequest {
9069
9049
  */
9070
9050
  payment_account_id: string;
9071
9051
  /**
9072
- * The type of payment method to select
9073
- * @type {string}
9052
+ *
9053
+ * @type {PaymentType}
9074
9054
  * @memberof SelectPaymentMethodRequest
9075
9055
  */
9076
- payment_method_type: SelectPaymentMethodRequestPaymentMethodTypeEnum;
9056
+ payment_method_type: PaymentType;
9077
9057
  /**
9078
9058
  *
9079
9059
  * @type {string}
@@ -9105,14 +9085,6 @@ export interface SelectPaymentMethodRequest {
9105
9085
  */
9106
9086
  locale?: string;
9107
9087
  }
9108
- export declare const SelectPaymentMethodRequestPaymentMethodTypeEnum: {
9109
- readonly Mandate: "MANDATE";
9110
- readonly Single: "SINGLE";
9111
- readonly Card: "CARD";
9112
- readonly Manual: "MANUAL";
9113
- readonly Wallet: "WALLET";
9114
- };
9115
- export type SelectPaymentMethodRequestPaymentMethodTypeEnum = (typeof SelectPaymentMethodRequestPaymentMethodTypeEnum)[keyof typeof SelectPaymentMethodRequestPaymentMethodTypeEnum];
9116
9088
  export declare const SelectPaymentMethodRequestSenderTypeEnum: {
9117
9089
  readonly Individual: "INDIVIDUAL";
9118
9090
  readonly Business: "BUSINESS";
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.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.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBillResponseStatusEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FvEmbeddedErrorModelTypeEnum = exports.FeePaidByEnum = exports.FVCardDetailsFundingEnum = exports.FVCardStatusEnum = exports.FVBillStatusEnum = exports.DisputeResponseDisputeStatusEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderResponseUserTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestCardDetailsFundingEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardFvLinkResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
26
- 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.SelectPaymentMethodRequestPaymentMethodTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutSnapshotResponseTypeEnum = exports.PayoutSnapshotResponseStatusEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentSetupOptionsRequestPaymentMethodTypesEnum = exports.PaymentSetupOptionsRequestFuturePaymentsEnum = exports.PaymentSetupOptionsPaymentMethodTypesEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentFvLinkResponseTypeEnum = exports.PaymentFvLinkResponseStatusEnum = exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = exports.PaymentAccountDetailsAccountTypeEnum = exports.ManualPaymentConfirmationResponseStatusEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = 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 = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = void 0;
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,7 +81,35 @@ exports.BadRequestModelV2ErrorTypeEnum = {
81
81
  LinkError: 'LINK_ERROR',
82
82
  ApiError: 'API_ERROR',
83
83
  };
84
- exports.CardFvLinkResponseStatusEnum = {
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
+ };
107
+ /**
108
+ * Card status
109
+ * @export
110
+ * @enum {string}
111
+ */
112
+ exports.CardStatus = {
85
113
  Unknown: 'UNKNOWN',
86
114
  Created: 'CREATED',
87
115
  Succeeded: 'SUCCEEDED',
@@ -95,27 +123,9 @@ exports.CompleteKcpPaymentRequestCardPointUseEnum = {
95
123
  exports.CreateCardRequestStatusEnum = {
96
124
  Succeeded: 'SUCCEEDED',
97
125
  };
98
- exports.CreateCardRequestCardDetailsFundingEnum = {
99
- Unknown: 'UNKNOWN',
100
- Credit: 'CREDIT',
101
- Debit: 'DEBIT',
102
- Prepaid: 'PREPAID',
103
- };
104
126
  exports.CreateMandateRequestWithDdaReferenceStatusEnum = {
105
127
  Succeeded: 'SUCCEEDED',
106
128
  };
107
- exports.CreateMandateResponseStatusEnum = {
108
- AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
109
- Authorizing: 'AUTHORIZING',
110
- Processing: 'PROCESSING',
111
- Submitted: 'SUBMITTED',
112
- Succeeded: 'SUCCEEDED',
113
- Failed: 'FAILED',
114
- Revoked: 'REVOKED',
115
- ReadyToSubmit: 'READY_TO_SUBMIT',
116
- Closed: 'CLOSED',
117
- Cancelled: 'CANCELLED',
118
- };
119
129
  exports.CreateMandateSenderUserTypeEnum = {
120
130
  Individual: 'INDIVIDUAL',
121
131
  Business: 'BUSINESS',
@@ -127,14 +137,6 @@ exports.CreateMandateSenderResponseUserTypeEnum = {
127
137
  exports.CreatePaymentAccountRequestAccountTypeEnum = {
128
138
  ExternalAccount: 'EXTERNAL_ACCOUNT',
129
139
  };
130
- exports.CreatePaymentLinkRequestModeEnum = {
131
- Payment: 'PAYMENT',
132
- Setup: 'SETUP',
133
- };
134
- exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = {
135
- Card: 'CARD',
136
- Mandate: 'MANDATE',
137
- };
138
140
  exports.CreatePaymentUserRequestUserTypeEnum = {
139
141
  Individual: 'INDIVIDUAL',
140
142
  Business: 'BUSINESS',
@@ -142,7 +144,12 @@ exports.CreatePaymentUserRequestUserTypeEnum = {
142
144
  exports.CreateRecipientAccountAccountTypeEnum = {
143
145
  ExternalAccount: 'EXTERNAL_ACCOUNT',
144
146
  };
145
- exports.DisputeResponseDisputeStatusEnum = {
147
+ /**
148
+ * The status of the dispute
149
+ * @export
150
+ * @enum {string}
151
+ */
152
+ exports.DisputeStatus = {
146
153
  Unknown: 'UNKNOWN',
147
154
  Undefended: 'UNDEFENDED',
148
155
  ActionRequired: 'ACTION_REQUIRED',
@@ -151,30 +158,19 @@ exports.DisputeResponseDisputeStatusEnum = {
151
158
  Lost: 'LOST',
152
159
  Won: 'WON',
153
160
  };
154
- exports.FVBillStatusEnum = {
155
- Unknown: 'UNKNOWN',
156
- Unpaid: 'UNPAID',
157
- Paid: 'PAID',
158
- Cancelled: 'CANCELLED',
159
- Failed: 'FAILED',
160
- };
161
- exports.FVCardStatusEnum = {
162
- Unknown: 'UNKNOWN',
163
- Created: 'CREATED',
164
- Succeeded: 'SUCCEEDED',
165
- Cancelled: 'CANCELLED',
166
- Failed: 'FAILED',
167
- };
168
- exports.FVCardDetailsFundingEnum = {
169
- Unknown: 'UNKNOWN',
170
- Credit: 'CREDIT',
171
- Debit: 'DEBIT',
172
- Prepaid: 'PREPAID',
173
- };
174
161
  exports.FeePaidByEnum = {
175
162
  Recipient: 'RECIPIENT',
176
163
  Sender: 'SENDER',
177
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
+ };
178
174
  exports.FvEmbeddedErrorModelTypeEnum = {
179
175
  LinkError: 'LINK_ERROR',
180
176
  ApiError: 'API_ERROR',
@@ -191,13 +187,6 @@ exports.GetBalanceHistoryResponseSourceEnum = {
191
187
  Institution: 'INSTITUTION',
192
188
  Computed: 'COMPUTED',
193
189
  };
194
- exports.GetBillResponseStatusEnum = {
195
- Unknown: 'UNKNOWN',
196
- Unpaid: 'UNPAID',
197
- Paid: 'PAID',
198
- Cancelled: 'CANCELLED',
199
- Failed: 'FAILED',
200
- };
201
190
  exports.GetMandateAuthLinkResponseTokenTypeEnum = {
202
191
  Bearer: 'Bearer',
203
192
  };
@@ -211,15 +200,6 @@ exports.GetMandateAuthResponseSenderTypeEnum = {
211
200
  Individual: 'INDIVIDUAL',
212
201
  Business: 'BUSINESS',
213
202
  };
214
- exports.GetMandateResponseStatusEnum = {
215
- AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
216
- Authorizing: 'AUTHORIZING',
217
- Processing: 'PROCESSING',
218
- Submitted: 'SUBMITTED',
219
- Succeeded: 'SUCCEEDED',
220
- Failed: 'FAILED',
221
- Revoked: 'REVOKED',
222
- };
223
203
  exports.GetMandateSenderUserTypeEnum = {
224
204
  Individual: 'INDIVIDUAL',
225
205
  Business: 'BUSINESS',
@@ -310,16 +290,22 @@ exports.MandateRecipientAccountAccountTypeEnum = {
310
290
  exports.MandateSenderAccountAccountTypeEnum = {
311
291
  ExternalAccount: 'EXTERNAL_ACCOUNT',
312
292
  };
313
- exports.ManualPaymentConfirmationResponseStatusEnum = {
293
+ /**
294
+ * Mandate status
295
+ * @export
296
+ * @enum {string}
297
+ */
298
+ exports.MandateStatus = {
314
299
  AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
315
300
  Authorizing: 'AUTHORIZING',
316
301
  Processing: 'PROCESSING',
317
302
  Submitted: 'SUBMITTED',
318
- Executed: 'EXECUTED',
303
+ Succeeded: 'SUCCEEDED',
319
304
  Failed: 'FAILED',
320
305
  Revoked: 'REVOKED',
306
+ ReadyToSubmit: 'READY_TO_SUBMIT',
307
+ Closed: 'CLOSED',
321
308
  Cancelled: 'CANCELLED',
322
- Created: 'CREATED',
323
309
  };
324
310
  exports.PaymentAccountDetailsAccountTypeEnum = {
325
311
  ExternalAccount: 'EXTERNAL_ACCOUNT',
@@ -329,24 +315,6 @@ exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = {
329
315
  ExternalAccount: 'EXTERNAL_ACCOUNT',
330
316
  SettlementAccount: 'SETTLEMENT_ACCOUNT',
331
317
  };
332
- exports.PaymentFvLinkResponseStatusEnum = {
333
- AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
334
- Authorizing: 'AUTHORIZING',
335
- Processing: 'PROCESSING',
336
- Submitted: 'SUBMITTED',
337
- Executed: 'EXECUTED',
338
- Failed: 'FAILED',
339
- Revoked: 'REVOKED',
340
- Cancelled: 'CANCELLED',
341
- Created: 'CREATED',
342
- };
343
- exports.PaymentFvLinkResponseTypeEnum = {
344
- Mandate: 'MANDATE',
345
- Single: 'SINGLE',
346
- Card: 'CARD',
347
- Manual: 'MANUAL',
348
- Wallet: 'WALLET',
349
- };
350
318
  exports.PaymentInfoPaymentsSupportedEnum = {
351
319
  Mandate: 'MANDATE',
352
320
  DebitAuthorization: 'DEBIT_AUTHORIZATION',
@@ -363,20 +331,36 @@ exports.PaymentLinkCustomizationsUiModeEnum = {
363
331
  AutoRedirect: 'auto_redirect',
364
332
  Standalone: 'standalone',
365
333
  };
366
- exports.PaymentLinkResponseModeEnum = {
334
+ /**
335
+ * The payment link mode
336
+ * @export
337
+ * @enum {string}
338
+ */
339
+ exports.PaymentLinkMode = {
367
340
  Payment: 'PAYMENT',
341
+ Setup: 'SETUP',
368
342
  };
369
- exports.PaymentLinkResponseStatusEnum = {
370
- Created: 'CREATED',
371
- Paid: 'PAID',
372
- Expired: 'EXPIRED',
373
- };
374
- exports.PaymentLinkResponseSessionStatusEnum = {
343
+ /**
344
+ * The session status of payment link
345
+ * @export
346
+ * @enum {string}
347
+ */
348
+ exports.PaymentLinkSessionStatus = {
375
349
  Open: 'OPEN',
376
350
  Processing: 'PROCESSING',
377
351
  Complete: 'COMPLETE',
378
352
  Failed: 'FAILED',
379
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
+ };
380
364
  exports.PaymentLinkTokenResponseTokenTypeEnum = {
381
365
  Bearer: 'Bearer',
382
366
  };
@@ -398,14 +382,28 @@ exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum =
398
382
  Managed: 'managed',
399
383
  Direct: 'direct',
400
384
  };
401
- exports.PaymentResponseTypeEnum = {
402
- Mandate: 'MANDATE',
403
- Single: 'SINGLE',
385
+ /**
386
+ * The payment method type
387
+ * @export
388
+ * @enum {string}
389
+ */
390
+ exports.PaymentMethodType = {
404
391
  Card: 'CARD',
405
- Manual: 'MANUAL',
406
- Wallet: 'WALLET',
392
+ Mandate: 'MANDATE',
407
393
  };
408
- exports.PaymentResponseStatusEnum = {
394
+ exports.PaymentScheduleFrequencyEnum = {
395
+ Daily: 'DAILY',
396
+ Weekly: 'WEEKLY',
397
+ Monthly: 'MONTHLY',
398
+ Quarterly: 'QUARTERLY',
399
+ Yearly: 'YEARLY',
400
+ };
401
+ /**
402
+ * Payment status
403
+ * @export
404
+ * @enum {string}
405
+ */
406
+ exports.PaymentStatus = {
409
407
  AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
410
408
  Authorizing: 'AUTHORIZING',
411
409
  Processing: 'PROCESSING',
@@ -416,29 +414,12 @@ exports.PaymentResponseStatusEnum = {
416
414
  Cancelled: 'CANCELLED',
417
415
  Created: 'CREATED',
418
416
  };
419
- exports.PaymentScheduleFrequencyEnum = {
420
- Daily: 'DAILY',
421
- Weekly: 'WEEKLY',
422
- Monthly: 'MONTHLY',
423
- Quarterly: 'QUARTERLY',
424
- Yearly: 'YEARLY',
425
- };
426
- exports.PaymentSetupOptionsFuturePaymentsEnum = {
427
- Autopay: 'AUTOPAY',
428
- ClickToPay: 'CLICK_TO_PAY',
429
- };
430
- exports.PaymentSetupOptionsPaymentMethodTypesEnum = {
431
- Mandate: 'MANDATE',
432
- Single: 'SINGLE',
433
- Card: 'CARD',
434
- Manual: 'MANUAL',
435
- Wallet: 'WALLET',
436
- };
437
- exports.PaymentSetupOptionsRequestFuturePaymentsEnum = {
438
- Autopay: 'AUTOPAY',
439
- ClickToPay: 'CLICK_TO_PAY',
440
- };
441
- exports.PaymentSetupOptionsRequestPaymentMethodTypesEnum = {
417
+ /**
418
+ * Indicates whether this is a mandate-based payment or one-off direct payment to an account
419
+ * @export
420
+ * @enum {string}
421
+ */
422
+ exports.PaymentType = {
442
423
  Mandate: 'MANDATE',
443
424
  Single: 'SINGLE',
444
425
  Card: 'CARD',
@@ -453,7 +434,12 @@ exports.PaymentUserWithoutEmailUserTypeEnum = {
453
434
  Individual: 'INDIVIDUAL',
454
435
  Business: 'BUSINESS',
455
436
  };
456
- exports.PayoutSnapshotResponseStatusEnum = {
437
+ /**
438
+ * Payout status
439
+ * @export
440
+ * @enum {string}
441
+ */
442
+ exports.PayoutStatus = {
457
443
  Executed: 'EXECUTED',
458
444
  Created: 'CREATED',
459
445
  Processing: 'PROCESSING',
@@ -463,7 +449,12 @@ exports.PayoutSnapshotResponseStatusEnum = {
463
449
  Funded: 'FUNDED',
464
450
  Submitted: 'SUBMITTED',
465
451
  };
466
- exports.PayoutSnapshotResponseTypeEnum = {
452
+ /**
453
+ * Payout type
454
+ * @export
455
+ * @enum {string}
456
+ */
457
+ exports.PayoutType = {
467
458
  Manual: 'MANUAL',
468
459
  Scheduled: 'SCHEDULED',
469
460
  Settlement: 'SETTLEMENT',
@@ -489,13 +480,6 @@ exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = {
489
480
  AutoRedirect: 'auto_redirect',
490
481
  Standalone: 'standalone',
491
482
  };
492
- exports.SelectPaymentMethodRequestPaymentMethodTypeEnum = {
493
- Mandate: 'MANDATE',
494
- Single: 'SINGLE',
495
- Card: 'CARD',
496
- Manual: 'MANUAL',
497
- Wallet: 'WALLET',
498
- };
499
483
  exports.SelectPaymentMethodRequestSenderTypeEnum = {
500
484
  Individual: 'INDIVIDUAL',
501
485
  Business: 'BUSINESS',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.399",
3
+ "version": "0.0.401",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {