@finverse/sdk-typescript 0.0.399 → 0.0.400

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 +113 -162
  2. package/dist/api.js +47 -88
  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}
@@ -1070,10 +1070,10 @@ export interface CardFvLinkDetails {
1070
1070
  export interface CardFvLinkResponse {
1071
1071
  /**
1072
1072
  *
1073
- * @type {string}
1073
+ * @type {CardStatus}
1074
1074
  * @memberof CardFvLinkResponse
1075
1075
  */
1076
- status?: CardFvLinkResponseStatusEnum;
1076
+ status?: CardStatus;
1077
1077
  /**
1078
1078
  *
1079
1079
  * @type {CardFvLinkDetails}
@@ -1093,14 +1093,6 @@ export interface CardFvLinkResponse {
1093
1093
  */
1094
1094
  error?: FvEmbeddedErrorModel;
1095
1095
  }
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
1096
  /**
1105
1097
  *
1106
1098
  * @export
@@ -1114,6 +1106,19 @@ export interface CardRecipient {
1114
1106
  */
1115
1107
  name?: string;
1116
1108
  }
1109
+ /**
1110
+ * Card status
1111
+ * @export
1112
+ * @enum {string}
1113
+ */
1114
+ export declare const CardStatus: {
1115
+ readonly Unknown: "UNKNOWN";
1116
+ readonly Created: "CREATED";
1117
+ readonly Succeeded: "SUCCEEDED";
1118
+ readonly Cancelled: "CANCELLED";
1119
+ readonly Failed: "FAILED";
1120
+ };
1121
+ export type CardStatus = (typeof CardStatus)[keyof typeof CardStatus];
1117
1122
  /**
1118
1123
  *
1119
1124
  * @export
@@ -1558,11 +1563,11 @@ export interface CreateMandateResponse {
1558
1563
  */
1559
1564
  payment_method_id?: string;
1560
1565
  /**
1561
- * Mandate status
1562
- * @type {string}
1566
+ *
1567
+ * @type {MandateStatus}
1563
1568
  * @memberof CreateMandateResponse
1564
1569
  */
1565
- status: CreateMandateResponseStatusEnum;
1570
+ status: MandateStatus;
1566
1571
  /**
1567
1572
  *
1568
1573
  * @type {MandateRecipient}
@@ -1614,19 +1619,6 @@ export interface CreateMandateResponse {
1614
1619
  */
1615
1620
  error?: FvEmbeddedErrorModel;
1616
1621
  }
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
1622
  /**
1631
1623
  *
1632
1624
  * @export
@@ -1919,16 +1911,11 @@ export interface CreatePaymentMethodRequest {
1919
1911
  integration_metadata?: PaymentMethodIntegrationMetadata;
1920
1912
  /**
1921
1913
  *
1922
- * @type {string}
1914
+ * @type {PaymentMethodType}
1923
1915
  * @memberof CreatePaymentMethodRequest
1924
1916
  */
1925
- payment_method_type: CreatePaymentMethodRequestPaymentMethodTypeEnum;
1917
+ payment_method_type: PaymentMethodType;
1926
1918
  }
1927
- export declare const CreatePaymentMethodRequestPaymentMethodTypeEnum: {
1928
- readonly Card: "CARD";
1929
- readonly Mandate: "MANDATE";
1930
- };
1931
- export type CreatePaymentMethodRequestPaymentMethodTypeEnum = (typeof CreatePaymentMethodRequestPaymentMethodTypeEnum)[keyof typeof CreatePaymentMethodRequestPaymentMethodTypeEnum];
1932
1919
  /**
1933
1920
  *
1934
1921
  * @export
@@ -2600,11 +2587,11 @@ export interface FVCard {
2600
2587
  */
2601
2588
  updated_at?: string;
2602
2589
  /**
2603
- * Card Status
2604
- * @type {string}
2590
+ *
2591
+ * @type {CardStatus}
2605
2592
  * @memberof FVCard
2606
2593
  */
2607
- status?: FVCardStatusEnum;
2594
+ status?: CardStatus;
2608
2595
  /**
2609
2596
  *
2610
2597
  * @type {FvEmbeddedErrorModel}
@@ -2630,14 +2617,6 @@ export interface FVCard {
2630
2617
  */
2631
2618
  risk_data?: RiskData;
2632
2619
  }
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
2620
  /**
2642
2621
  *
2643
2622
  * @export
@@ -3517,11 +3496,11 @@ export interface GetMandateResponse {
3517
3496
  */
3518
3497
  payment_method_id?: string;
3519
3498
  /**
3520
- * Mandate Status
3521
- * @type {string}
3499
+ *
3500
+ * @type {MandateStatus}
3522
3501
  * @memberof GetMandateResponse
3523
3502
  */
3524
- status: GetMandateResponseStatusEnum;
3503
+ status: MandateStatus;
3525
3504
  /**
3526
3505
  *
3527
3506
  * @type {MandateRecipient}
@@ -3573,16 +3552,6 @@ export interface GetMandateResponse {
3573
3552
  [key: string]: string;
3574
3553
  };
3575
3554
  }
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
3555
  /**
3587
3556
  *
3588
3557
  * @export
@@ -5991,6 +5960,24 @@ export interface MandateSenderAccountRequest {
5991
5960
  */
5992
5961
  account_id: string;
5993
5962
  }
5963
+ /**
5964
+ * Mandate status
5965
+ * @export
5966
+ * @enum {string}
5967
+ */
5968
+ export declare const MandateStatus: {
5969
+ readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
5970
+ readonly Authorizing: "AUTHORIZING";
5971
+ readonly Processing: "PROCESSING";
5972
+ readonly Submitted: "SUBMITTED";
5973
+ readonly Succeeded: "SUCCEEDED";
5974
+ readonly Failed: "FAILED";
5975
+ readonly Revoked: "REVOKED";
5976
+ readonly ReadyToSubmit: "READY_TO_SUBMIT";
5977
+ readonly Closed: "CLOSED";
5978
+ readonly Cancelled: "CANCELLED";
5979
+ };
5980
+ export type MandateStatus = (typeof MandateStatus)[keyof typeof MandateStatus];
5994
5981
  /**
5995
5982
  *
5996
5983
  * @export
@@ -6018,23 +6005,11 @@ export interface ManualPaymentConfirmationResponse {
6018
6005
  payment_id?: string;
6019
6006
  /**
6020
6007
  *
6021
- * @type {string}
6008
+ * @type {PaymentStatus}
6022
6009
  * @memberof ManualPaymentConfirmationResponse
6023
6010
  */
6024
- status?: ManualPaymentConfirmationResponseStatusEnum;
6011
+ status?: PaymentStatus;
6025
6012
  }
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
6013
  /**
6039
6014
  *
6040
6015
  * @export
@@ -6597,16 +6572,16 @@ export interface PaymentFvLinkResponse {
6597
6572
  payment_id?: string;
6598
6573
  /**
6599
6574
  *
6600
- * @type {string}
6575
+ * @type {PaymentStatus}
6601
6576
  * @memberof PaymentFvLinkResponse
6602
6577
  */
6603
- status?: PaymentFvLinkResponseStatusEnum;
6578
+ status?: PaymentStatus;
6604
6579
  /**
6605
6580
  *
6606
- * @type {string}
6581
+ * @type {PaymentType}
6607
6582
  * @memberof PaymentFvLinkResponse
6608
6583
  */
6609
- type?: PaymentFvLinkResponseTypeEnum;
6584
+ type?: PaymentType;
6610
6585
  /**
6611
6586
  *
6612
6587
  * @type {PaymentFvLinkDetails}
@@ -6626,26 +6601,6 @@ export interface PaymentFvLinkResponse {
6626
6601
  */
6627
6602
  skip_polling: boolean;
6628
6603
  }
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
6604
  /**
6650
6605
  *
6651
6606
  * @export
@@ -6981,10 +6936,10 @@ export interface PaymentMethodFvLinkResponse {
6981
6936
  payment_method_id?: string;
6982
6937
  /**
6983
6938
  *
6984
- * @type {string}
6939
+ * @type {PaymentMethodType}
6985
6940
  * @memberof PaymentMethodFvLinkResponse
6986
6941
  */
6987
- payment_method_type?: string;
6942
+ payment_method_type?: PaymentMethodType;
6988
6943
  /**
6989
6944
  *
6990
6945
  * @type {string}
@@ -7405,11 +7360,11 @@ export interface PaymentMethodOverview {
7405
7360
  */
7406
7361
  payment_confirmation_speed?: string;
7407
7362
  /**
7408
- * The payment method type, possible values CARD, MANDATE and MANUAL
7409
- * @type {string}
7363
+ *
7364
+ * @type {PaymentType}
7410
7365
  * @memberof PaymentMethodOverview
7411
7366
  */
7412
- payment_method_type?: string;
7367
+ payment_method_type?: PaymentType;
7413
7368
  /**
7414
7369
  * The payment method subtype, e.g., EDDA_HK, CARD_GENERIC etc
7415
7370
  * @type {string}
@@ -7449,10 +7404,10 @@ export interface PaymentMethodResponse {
7449
7404
  payment_method_id?: string;
7450
7405
  /**
7451
7406
  *
7452
- * @type {string}
7407
+ * @type {PaymentMethodType}
7453
7408
  * @memberof PaymentMethodResponse
7454
7409
  */
7455
- payment_method_type?: string;
7410
+ payment_method_type?: PaymentMethodType;
7456
7411
  /**
7457
7412
  * 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
7413
  * @type {boolean}
@@ -7478,6 +7433,16 @@ export interface PaymentMethodResponse {
7478
7433
  */
7479
7434
  integration_metadata?: PaymentMethodIntegrationMetadataResponse;
7480
7435
  }
7436
+ /**
7437
+ * The payment method type
7438
+ * @export
7439
+ * @enum {string}
7440
+ */
7441
+ export declare const PaymentMethodType: {
7442
+ readonly Card: "CARD";
7443
+ readonly Mandate: "MANDATE";
7444
+ };
7445
+ export type PaymentMethodType = (typeof PaymentMethodType)[keyof typeof PaymentMethodType];
7481
7446
  /**
7482
7447
  *
7483
7448
  * @export
@@ -7607,11 +7572,11 @@ export interface PaymentResponse {
7607
7572
  */
7608
7573
  currency?: string;
7609
7574
  /**
7610
- * Indicates whether this is a mandate-based payment or one-off direct payment to an account. Possible values - MANDATE, SINGLE
7611
- * @type {string}
7575
+ *
7576
+ * @type {PaymentType}
7612
7577
  * @memberof PaymentResponse
7613
7578
  */
7614
- type?: PaymentResponseTypeEnum;
7579
+ type?: PaymentType;
7615
7580
  /**
7616
7581
  * Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
7617
7582
  * @type {string}
@@ -7619,11 +7584,11 @@ export interface PaymentResponse {
7619
7584
  */
7620
7585
  updated_at?: string;
7621
7586
  /**
7622
- * Possible values - CREATED, AUTHORIZED, SUBMITTED, EXECUTED, FAILED, REJECTED, CANCELLED.
7623
- * @type {string}
7587
+ *
7588
+ * @type {PaymentStatus}
7624
7589
  * @memberof PaymentResponse
7625
7590
  */
7626
- status?: PaymentResponseStatusEnum;
7591
+ status?: PaymentStatus;
7627
7592
  /**
7628
7593
  * ID of the payment method this pament is referring to.
7629
7594
  * @type {string}
@@ -7693,26 +7658,6 @@ export interface PaymentResponse {
7693
7658
  */
7694
7659
  payment_method?: PaymentSnapshotPaymentMethod;
7695
7660
  }
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
7661
  /**
7717
7662
  *
7718
7663
  * @export
@@ -7760,10 +7705,10 @@ export interface PaymentSetupOptions {
7760
7705
  mandate_details?: MandateDetailsForPaymentLink;
7761
7706
  /**
7762
7707
  *
7763
- * @type {Array<string>}
7708
+ * @type {Array<PaymentType>}
7764
7709
  * @memberof PaymentSetupOptions
7765
7710
  */
7766
- payment_method_types?: Array<PaymentSetupOptionsPaymentMethodTypesEnum>;
7711
+ payment_method_types?: Array<PaymentType>;
7767
7712
  /**
7768
7713
  *
7769
7714
  * @type {RecipientAccountFilters}
@@ -7788,14 +7733,6 @@ export declare const PaymentSetupOptionsFuturePaymentsEnum: {
7788
7733
  readonly ClickToPay: "CLICK_TO_PAY";
7789
7734
  };
7790
7735
  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
7736
  /**
7800
7737
  *
7801
7738
  * @export
@@ -7816,10 +7753,10 @@ export interface PaymentSetupOptionsRequest {
7816
7753
  mandate_details?: MandateDetailsForPaymentLinkRequest;
7817
7754
  /**
7818
7755
  *
7819
- * @type {Array<string>}
7756
+ * @type {Array<PaymentType>}
7820
7757
  * @memberof PaymentSetupOptionsRequest
7821
7758
  */
7822
- payment_method_types?: Array<PaymentSetupOptionsRequestPaymentMethodTypesEnum>;
7759
+ payment_method_types?: Array<PaymentType>;
7823
7760
  /**
7824
7761
  *
7825
7762
  * @type {RecipientAccountFilters}
@@ -7844,14 +7781,6 @@ export declare const PaymentSetupOptionsRequestFuturePaymentsEnum: {
7844
7781
  readonly ClickToPay: "CLICK_TO_PAY";
7845
7782
  };
7846
7783
  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
7784
  /**
7856
7785
  *
7857
7786
  * @export
@@ -7928,6 +7857,36 @@ export interface PaymentSnapshotPaymentMethodWallet {
7928
7857
  */
7929
7858
  risk_data?: RiskData;
7930
7859
  }
7860
+ /**
7861
+ * Payment status
7862
+ * @export
7863
+ * @enum {string}
7864
+ */
7865
+ export declare const PaymentStatus: {
7866
+ readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
7867
+ readonly Authorizing: "AUTHORIZING";
7868
+ readonly Processing: "PROCESSING";
7869
+ readonly Submitted: "SUBMITTED";
7870
+ readonly Executed: "EXECUTED";
7871
+ readonly Failed: "FAILED";
7872
+ readonly Revoked: "REVOKED";
7873
+ readonly Cancelled: "CANCELLED";
7874
+ readonly Created: "CREATED";
7875
+ };
7876
+ export type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
7877
+ /**
7878
+ * Indicates whether this is a mandate-based payment or one-off direct payment to an account
7879
+ * @export
7880
+ * @enum {string}
7881
+ */
7882
+ export declare const PaymentType: {
7883
+ readonly Mandate: "MANDATE";
7884
+ readonly Single: "SINGLE";
7885
+ readonly Card: "CARD";
7886
+ readonly Manual: "MANUAL";
7887
+ readonly Wallet: "WALLET";
7888
+ };
7889
+ export type PaymentType = (typeof PaymentType)[keyof typeof PaymentType];
7931
7890
  /**
7932
7891
  *
7933
7892
  * @export
@@ -9069,11 +9028,11 @@ export interface SelectPaymentMethodRequest {
9069
9028
  */
9070
9029
  payment_account_id: string;
9071
9030
  /**
9072
- * The type of payment method to select
9073
- * @type {string}
9031
+ *
9032
+ * @type {PaymentType}
9074
9033
  * @memberof SelectPaymentMethodRequest
9075
9034
  */
9076
- payment_method_type: SelectPaymentMethodRequestPaymentMethodTypeEnum;
9035
+ payment_method_type: PaymentType;
9077
9036
  /**
9078
9037
  *
9079
9038
  * @type {string}
@@ -9105,14 +9064,6 @@ export interface SelectPaymentMethodRequest {
9105
9064
  */
9106
9065
  locale?: string;
9107
9066
  }
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
9067
  export declare const SelectPaymentMethodRequestSenderTypeEnum: {
9117
9068
  readonly Individual: "INDIVIDUAL";
9118
9069
  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.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.GetBillResponseStatusEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FvEmbeddedErrorModelTypeEnum = exports.FeePaidByEnum = exports.FVCardDetailsFundingEnum = exports.FVBillStatusEnum = exports.DisputeResponseDisputeStatusEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderResponseUserTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestCardDetailsFundingEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardStatus = exports.BadRequestModelV2ErrorTypeEnum = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
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.PayoutSnapshotResponseTypeEnum = exports.PayoutSnapshotResponseStatusEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentType = exports.PaymentStatus = exports.PaymentSetupOptionsRequestFuturePaymentsEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentMethodType = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = exports.PaymentAccountDetailsAccountTypeEnum = exports.MandateStatus = 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 = 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,12 @@ exports.BadRequestModelV2ErrorTypeEnum = {
81
81
  LinkError: 'LINK_ERROR',
82
82
  ApiError: 'API_ERROR',
83
83
  };
84
- exports.CardFvLinkResponseStatusEnum = {
84
+ /**
85
+ * Card status
86
+ * @export
87
+ * @enum {string}
88
+ */
89
+ exports.CardStatus = {
85
90
  Unknown: 'UNKNOWN',
86
91
  Created: 'CREATED',
87
92
  Succeeded: 'SUCCEEDED',
@@ -104,18 +109,6 @@ exports.CreateCardRequestCardDetailsFundingEnum = {
104
109
  exports.CreateMandateRequestWithDdaReferenceStatusEnum = {
105
110
  Succeeded: 'SUCCEEDED',
106
111
  };
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
112
  exports.CreateMandateSenderUserTypeEnum = {
120
113
  Individual: 'INDIVIDUAL',
121
114
  Business: 'BUSINESS',
@@ -131,10 +124,6 @@ exports.CreatePaymentLinkRequestModeEnum = {
131
124
  Payment: 'PAYMENT',
132
125
  Setup: 'SETUP',
133
126
  };
134
- exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = {
135
- Card: 'CARD',
136
- Mandate: 'MANDATE',
137
- };
138
127
  exports.CreatePaymentUserRequestUserTypeEnum = {
139
128
  Individual: 'INDIVIDUAL',
140
129
  Business: 'BUSINESS',
@@ -158,13 +147,6 @@ exports.FVBillStatusEnum = {
158
147
  Cancelled: 'CANCELLED',
159
148
  Failed: 'FAILED',
160
149
  };
161
- exports.FVCardStatusEnum = {
162
- Unknown: 'UNKNOWN',
163
- Created: 'CREATED',
164
- Succeeded: 'SUCCEEDED',
165
- Cancelled: 'CANCELLED',
166
- Failed: 'FAILED',
167
- };
168
150
  exports.FVCardDetailsFundingEnum = {
169
151
  Unknown: 'UNKNOWN',
170
152
  Credit: 'CREDIT',
@@ -211,15 +193,6 @@ exports.GetMandateAuthResponseSenderTypeEnum = {
211
193
  Individual: 'INDIVIDUAL',
212
194
  Business: 'BUSINESS',
213
195
  };
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
196
  exports.GetMandateSenderUserTypeEnum = {
224
197
  Individual: 'INDIVIDUAL',
225
198
  Business: 'BUSINESS',
@@ -310,16 +283,22 @@ exports.MandateRecipientAccountAccountTypeEnum = {
310
283
  exports.MandateSenderAccountAccountTypeEnum = {
311
284
  ExternalAccount: 'EXTERNAL_ACCOUNT',
312
285
  };
313
- exports.ManualPaymentConfirmationResponseStatusEnum = {
286
+ /**
287
+ * Mandate status
288
+ * @export
289
+ * @enum {string}
290
+ */
291
+ exports.MandateStatus = {
314
292
  AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
315
293
  Authorizing: 'AUTHORIZING',
316
294
  Processing: 'PROCESSING',
317
295
  Submitted: 'SUBMITTED',
318
- Executed: 'EXECUTED',
296
+ Succeeded: 'SUCCEEDED',
319
297
  Failed: 'FAILED',
320
298
  Revoked: 'REVOKED',
299
+ ReadyToSubmit: 'READY_TO_SUBMIT',
300
+ Closed: 'CLOSED',
321
301
  Cancelled: 'CANCELLED',
322
- Created: 'CREATED',
323
302
  };
324
303
  exports.PaymentAccountDetailsAccountTypeEnum = {
325
304
  ExternalAccount: 'EXTERNAL_ACCOUNT',
@@ -329,24 +308,6 @@ exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = {
329
308
  ExternalAccount: 'EXTERNAL_ACCOUNT',
330
309
  SettlementAccount: 'SETTLEMENT_ACCOUNT',
331
310
  };
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
311
  exports.PaymentInfoPaymentsSupportedEnum = {
351
312
  Mandate: 'MANDATE',
352
313
  DebitAuthorization: 'DEBIT_AUTHORIZATION',
@@ -398,23 +359,14 @@ exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum =
398
359
  Managed: 'managed',
399
360
  Direct: 'direct',
400
361
  };
401
- exports.PaymentResponseTypeEnum = {
402
- Mandate: 'MANDATE',
403
- Single: 'SINGLE',
362
+ /**
363
+ * The payment method type
364
+ * @export
365
+ * @enum {string}
366
+ */
367
+ exports.PaymentMethodType = {
404
368
  Card: 'CARD',
405
- Manual: 'MANUAL',
406
- Wallet: 'WALLET',
407
- };
408
- exports.PaymentResponseStatusEnum = {
409
- AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
410
- Authorizing: 'AUTHORIZING',
411
- Processing: 'PROCESSING',
412
- Submitted: 'SUBMITTED',
413
- Executed: 'EXECUTED',
414
- Failed: 'FAILED',
415
- Revoked: 'REVOKED',
416
- Cancelled: 'CANCELLED',
417
- Created: 'CREATED',
369
+ Mandate: 'MANDATE',
418
370
  };
419
371
  exports.PaymentScheduleFrequencyEnum = {
420
372
  Daily: 'DAILY',
@@ -427,18 +379,32 @@ exports.PaymentSetupOptionsFuturePaymentsEnum = {
427
379
  Autopay: 'AUTOPAY',
428
380
  ClickToPay: 'CLICK_TO_PAY',
429
381
  };
430
- exports.PaymentSetupOptionsPaymentMethodTypesEnum = {
431
- Mandate: 'MANDATE',
432
- Single: 'SINGLE',
433
- Card: 'CARD',
434
- Manual: 'MANUAL',
435
- Wallet: 'WALLET',
436
- };
437
382
  exports.PaymentSetupOptionsRequestFuturePaymentsEnum = {
438
383
  Autopay: 'AUTOPAY',
439
384
  ClickToPay: 'CLICK_TO_PAY',
440
385
  };
441
- exports.PaymentSetupOptionsRequestPaymentMethodTypesEnum = {
386
+ /**
387
+ * Payment status
388
+ * @export
389
+ * @enum {string}
390
+ */
391
+ exports.PaymentStatus = {
392
+ AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
393
+ Authorizing: 'AUTHORIZING',
394
+ Processing: 'PROCESSING',
395
+ Submitted: 'SUBMITTED',
396
+ Executed: 'EXECUTED',
397
+ Failed: 'FAILED',
398
+ Revoked: 'REVOKED',
399
+ Cancelled: 'CANCELLED',
400
+ Created: 'CREATED',
401
+ };
402
+ /**
403
+ * Indicates whether this is a mandate-based payment or one-off direct payment to an account
404
+ * @export
405
+ * @enum {string}
406
+ */
407
+ exports.PaymentType = {
442
408
  Mandate: 'MANDATE',
443
409
  Single: 'SINGLE',
444
410
  Card: 'CARD',
@@ -489,13 +455,6 @@ exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = {
489
455
  AutoRedirect: 'auto_redirect',
490
456
  Standalone: 'standalone',
491
457
  };
492
- exports.SelectPaymentMethodRequestPaymentMethodTypeEnum = {
493
- Mandate: 'MANDATE',
494
- Single: 'SINGLE',
495
- Card: 'CARD',
496
- Manual: 'MANUAL',
497
- Wallet: 'WALLET',
498
- };
499
458
  exports.SelectPaymentMethodRequestSenderTypeEnum = {
500
459
  Individual: 'INDIVIDUAL',
501
460
  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.400",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {