@finverse/sdk-typescript 0.0.401 → 0.0.402

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 +95 -144
  2. package/dist/api.js +39 -73
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -204,6 +204,16 @@ export interface AccountNumber {
204
204
  */
205
205
  raw: string;
206
206
  }
207
+ /**
208
+ * Type of account number. Possible values: LOCAL, IBAN
209
+ * @export
210
+ * @enum {string}
211
+ */
212
+ export declare const AccountNumberType: {
213
+ readonly Local: "LOCAL";
214
+ readonly Iban: "IBAN";
215
+ };
216
+ export type AccountNumberType = (typeof AccountNumberType)[keyof typeof AccountNumberType];
207
217
  /**
208
218
  *
209
219
  * @export
@@ -676,11 +686,11 @@ export interface BadRequestModelV2 {
676
686
  */
677
687
  export interface BadRequestModelV2Error {
678
688
  /**
679
- * The error type
680
- * @type {string}
689
+ *
690
+ * @type {FinverseErrorCategory}
681
691
  * @memberof BadRequestModelV2Error
682
692
  */
683
- type: BadRequestModelV2ErrorTypeEnum;
693
+ type: FinverseErrorCategory;
684
694
  /**
685
695
  *
686
696
  * @type {string}
@@ -712,11 +722,6 @@ export interface BadRequestModelV2Error {
712
722
  */
713
723
  request_id: string;
714
724
  }
715
- export declare const BadRequestModelV2ErrorTypeEnum: {
716
- readonly LinkError: "LINK_ERROR";
717
- readonly ApiError: "API_ERROR";
718
- };
719
- export type BadRequestModelV2ErrorTypeEnum = (typeof BadRequestModelV2ErrorTypeEnum)[keyof typeof BadRequestModelV2ErrorTypeEnum];
720
725
  /**
721
726
  *
722
727
  * @export
@@ -1662,11 +1667,11 @@ export interface CreateMandateSender {
1662
1667
  */
1663
1668
  external_user_id?: string;
1664
1669
  /**
1665
- * Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
1666
- * @type {string}
1670
+ *
1671
+ * @type {PaymentUserType}
1667
1672
  * @memberof CreateMandateSender
1668
1673
  */
1669
- user_type?: CreateMandateSenderUserTypeEnum;
1674
+ user_type?: PaymentUserType;
1670
1675
  /**
1671
1676
  * Sender details which will be used for fraud checking.
1672
1677
  * @type {Array<SenderDetail>}
@@ -1674,11 +1679,6 @@ export interface CreateMandateSender {
1674
1679
  */
1675
1680
  user_details?: Array<SenderDetail>;
1676
1681
  }
1677
- export declare const CreateMandateSenderUserTypeEnum: {
1678
- readonly Individual: "INDIVIDUAL";
1679
- readonly Business: "BUSINESS";
1680
- };
1681
- export type CreateMandateSenderUserTypeEnum = (typeof CreateMandateSenderUserTypeEnum)[keyof typeof CreateMandateSenderUserTypeEnum];
1682
1682
  /**
1683
1683
  *
1684
1684
  * @export
@@ -1710,11 +1710,11 @@ export interface CreateMandateSenderResponse {
1710
1710
  */
1711
1711
  external_user_id: string;
1712
1712
  /**
1713
- * Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
1714
- * @type {string}
1713
+ *
1714
+ * @type {PaymentUserType}
1715
1715
  * @memberof CreateMandateSenderResponse
1716
1716
  */
1717
- user_type: CreateMandateSenderResponseUserTypeEnum;
1717
+ user_type: PaymentUserType;
1718
1718
  /**
1719
1719
  * Sender details which will be used for fraud checking.
1720
1720
  * @type {Array<SenderDetail>}
@@ -1722,11 +1722,6 @@ export interface CreateMandateSenderResponse {
1722
1722
  */
1723
1723
  user_details?: Array<SenderDetail>;
1724
1724
  }
1725
- export declare const CreateMandateSenderResponseUserTypeEnum: {
1726
- readonly Individual: "INDIVIDUAL";
1727
- readonly Business: "BUSINESS";
1728
- };
1729
- export type CreateMandateSenderResponseUserTypeEnum = (typeof CreateMandateSenderResponseUserTypeEnum)[keyof typeof CreateMandateSenderResponseUserTypeEnum];
1730
1725
  /**
1731
1726
  *
1732
1727
  * @export
@@ -1988,10 +1983,10 @@ export interface CreatePaymentUserRequest {
1988
1983
  external_user_id: string;
1989
1984
  /**
1990
1985
  *
1991
- * @type {string}
1986
+ * @type {PaymentUserType}
1992
1987
  * @memberof CreatePaymentUserRequest
1993
1988
  */
1994
- user_type?: CreatePaymentUserRequestUserTypeEnum;
1989
+ user_type?: PaymentUserType;
1995
1990
  /**
1996
1991
  *
1997
1992
  * @type {string}
@@ -2025,11 +2020,6 @@ export interface CreatePaymentUserRequest {
2025
2020
  */
2026
2021
  integration_metadata?: IntegrationMetadataPaymentUserRequest;
2027
2022
  }
2028
- export declare const CreatePaymentUserRequestUserTypeEnum: {
2029
- readonly Individual: "INDIVIDUAL";
2030
- readonly Business: "BUSINESS";
2031
- };
2032
- export type CreatePaymentUserRequestUserTypeEnum = (typeof CreatePaymentUserRequestUserTypeEnum)[keyof typeof CreatePaymentUserRequestUserTypeEnum];
2033
2023
  /**
2034
2024
  *
2035
2025
  * @export
@@ -2812,10 +2802,10 @@ export interface Fee {
2812
2802
  currency?: string;
2813
2803
  /**
2814
2804
  *
2815
- * @type {string}
2805
+ * @type {FeePaidBy}
2816
2806
  * @memberof Fee
2817
2807
  */
2818
- paid_by?: FeePaidByEnum;
2808
+ paid_by?: FeePaidBy;
2819
2809
  /**
2820
2810
  * The payment account Id
2821
2811
  * @type {string}
@@ -2823,11 +2813,26 @@ export interface Fee {
2823
2813
  */
2824
2814
  paid_by_account_id?: string;
2825
2815
  }
2826
- export declare const FeePaidByEnum: {
2816
+ /**
2817
+ * Who pays the fee
2818
+ * @export
2819
+ * @enum {string}
2820
+ */
2821
+ export declare const FeePaidBy: {
2827
2822
  readonly Recipient: "RECIPIENT";
2828
2823
  readonly Sender: "SENDER";
2829
2824
  };
2830
- export type FeePaidByEnum = (typeof FeePaidByEnum)[keyof typeof FeePaidByEnum];
2825
+ export type FeePaidBy = (typeof FeePaidBy)[keyof typeof FeePaidBy];
2826
+ /**
2827
+ * The error type
2828
+ * @export
2829
+ * @enum {string}
2830
+ */
2831
+ export declare const FinverseErrorCategory: {
2832
+ readonly LinkError: "LINK_ERROR";
2833
+ readonly ApiError: "API_ERROR";
2834
+ };
2835
+ export type FinverseErrorCategory = (typeof FinverseErrorCategory)[keyof typeof FinverseErrorCategory];
2831
2836
  /**
2832
2837
  *
2833
2838
  * @export
@@ -2883,11 +2888,11 @@ export type FuturePaymentsMode = (typeof FuturePaymentsMode)[keyof typeof Future
2883
2888
  */
2884
2889
  export interface FvEmbeddedErrorModel {
2885
2890
  /**
2886
- * The error type
2887
- * @type {string}
2891
+ *
2892
+ * @type {FinverseErrorCategory}
2888
2893
  * @memberof FvEmbeddedErrorModel
2889
2894
  */
2890
- type: FvEmbeddedErrorModelTypeEnum;
2895
+ type: FinverseErrorCategory;
2891
2896
  /**
2892
2897
  *
2893
2898
  * @type {string}
@@ -2907,11 +2912,6 @@ export interface FvEmbeddedErrorModel {
2907
2912
  */
2908
2913
  details: string;
2909
2914
  }
2910
- export declare const FvEmbeddedErrorModelTypeEnum: {
2911
- readonly LinkError: "LINK_ERROR";
2912
- readonly ApiError: "API_ERROR";
2913
- };
2914
- export type FvEmbeddedErrorModelTypeEnum = (typeof FvEmbeddedErrorModelTypeEnum)[keyof typeof FvEmbeddedErrorModelTypeEnum];
2915
2915
  /**
2916
2916
  *
2917
2917
  * @export
@@ -2919,11 +2919,11 @@ export type FvEmbeddedErrorModelTypeEnum = (typeof FvEmbeddedErrorModelTypeEnum)
2919
2919
  */
2920
2920
  export interface FvErrorModel {
2921
2921
  /**
2922
- * The error type
2923
- * @type {string}
2922
+ *
2923
+ * @type {FinverseErrorCategory}
2924
2924
  * @memberof FvErrorModel
2925
2925
  */
2926
- type: FvErrorModelTypeEnum;
2926
+ type: FinverseErrorCategory;
2927
2927
  /**
2928
2928
  *
2929
2929
  * @type {string}
@@ -2955,11 +2955,6 @@ export interface FvErrorModel {
2955
2955
  */
2956
2956
  request_id: string;
2957
2957
  }
2958
- export declare const FvErrorModelTypeEnum: {
2959
- readonly LinkError: "LINK_ERROR";
2960
- readonly ApiError: "API_ERROR";
2961
- };
2962
- export type FvErrorModelTypeEnum = (typeof FvErrorModelTypeEnum)[keyof typeof FvErrorModelTypeEnum];
2963
2958
  /**
2964
2959
  *
2965
2960
  * @export
@@ -2967,11 +2962,11 @@ export type FvErrorModelTypeEnum = (typeof FvErrorModelTypeEnum)[keyof typeof Fv
2967
2962
  */
2968
2963
  export interface FvErrorModelV2 {
2969
2964
  /**
2970
- * The error type
2971
- * @type {string}
2965
+ *
2966
+ * @type {FinverseErrorCategory}
2972
2967
  * @memberof FvErrorModelV2
2973
2968
  */
2974
- type: FvErrorModelV2TypeEnum;
2969
+ type: FinverseErrorCategory;
2975
2970
  /**
2976
2971
  *
2977
2972
  * @type {string}
@@ -2997,11 +2992,6 @@ export interface FvErrorModelV2 {
2997
2992
  */
2998
2993
  request_id: string;
2999
2994
  }
3000
- export declare const FvErrorModelV2TypeEnum: {
3001
- readonly LinkError: "LINK_ERROR";
3002
- readonly ApiError: "API_ERROR";
3003
- };
3004
- export type FvErrorModelV2TypeEnum = (typeof FvErrorModelV2TypeEnum)[keyof typeof FvErrorModelV2TypeEnum];
3005
2995
  /**
3006
2996
  *
3007
2997
  * @export
@@ -3416,11 +3406,11 @@ export interface GetMandateAuthResponse {
3416
3406
  */
3417
3407
  institution_id: string;
3418
3408
  /**
3419
- * Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
3420
- * @type {string}
3409
+ *
3410
+ * @type {PaymentUserType}
3421
3411
  * @memberof GetMandateAuthResponse
3422
3412
  */
3423
- sender_type?: GetMandateAuthResponseSenderTypeEnum;
3413
+ sender_type?: PaymentUserType;
3424
3414
  /**
3425
3415
  * Checklist of the authorization factors needed to complete Mandate authorization
3426
3416
  * @type {Array<AuthChecklistFactor>}
@@ -3465,11 +3455,6 @@ export declare const GetMandateAuthResponseMandateStatusEnum: {
3465
3455
  readonly Error: "ERROR";
3466
3456
  };
3467
3457
  export type GetMandateAuthResponseMandateStatusEnum = (typeof GetMandateAuthResponseMandateStatusEnum)[keyof typeof GetMandateAuthResponseMandateStatusEnum];
3468
- export declare const GetMandateAuthResponseSenderTypeEnum: {
3469
- readonly Individual: "INDIVIDUAL";
3470
- readonly Business: "BUSINESS";
3471
- };
3472
- export type GetMandateAuthResponseSenderTypeEnum = (typeof GetMandateAuthResponseSenderTypeEnum)[keyof typeof GetMandateAuthResponseSenderTypeEnum];
3473
3458
  /**
3474
3459
  *
3475
3460
  * @export
@@ -3582,11 +3567,11 @@ export interface GetMandateSender {
3582
3567
  */
3583
3568
  external_user_id: string;
3584
3569
  /**
3585
- * Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
3586
- * @type {string}
3570
+ *
3571
+ * @type {PaymentUserType}
3587
3572
  * @memberof GetMandateSender
3588
3573
  */
3589
- user_type: GetMandateSenderUserTypeEnum;
3574
+ user_type: PaymentUserType;
3590
3575
  /**
3591
3576
  * Sender details which will be used for fraud checking.
3592
3577
  * @type {Array<SenderDetail>}
@@ -3594,11 +3579,6 @@ export interface GetMandateSender {
3594
3579
  */
3595
3580
  user_details?: Array<SenderDetail>;
3596
3581
  }
3597
- export declare const GetMandateSenderUserTypeEnum: {
3598
- readonly Individual: "INDIVIDUAL";
3599
- readonly Business: "BUSINESS";
3600
- };
3601
- export type GetMandateSenderUserTypeEnum = (typeof GetMandateSenderUserTypeEnum)[keyof typeof GetMandateSenderUserTypeEnum];
3602
3582
  /**
3603
3583
  *
3604
3584
  * @export
@@ -5843,11 +5823,11 @@ export interface MandateRecipientAccount {
5843
5823
  */
5844
5824
  account_id: string;
5845
5825
  /**
5846
- * Type of recipient account.
5847
- * @type {string}
5826
+ *
5827
+ * @type {PaymentAccountType}
5848
5828
  * @memberof MandateRecipientAccount
5849
5829
  */
5850
- account_type: MandateRecipientAccountAccountTypeEnum;
5830
+ account_type: PaymentAccountType;
5851
5831
  /**
5852
5832
  * Optional reference identifier for the settlement account. Only applicable to settlement accounts.
5853
5833
  * @type {string}
@@ -5855,11 +5835,6 @@ export interface MandateRecipientAccount {
5855
5835
  */
5856
5836
  settlement_account_reference?: string;
5857
5837
  }
5858
- export declare const MandateRecipientAccountAccountTypeEnum: {
5859
- readonly ExternalAccount: "EXTERNAL_ACCOUNT";
5860
- readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
5861
- };
5862
- export type MandateRecipientAccountAccountTypeEnum = (typeof MandateRecipientAccountAccountTypeEnum)[keyof typeof MandateRecipientAccountAccountTypeEnum];
5863
5838
  /**
5864
5839
  *
5865
5840
  * @export
@@ -5910,11 +5885,11 @@ export interface MandateSenderAccount {
5910
5885
  */
5911
5886
  account_number_masked?: string;
5912
5887
  /**
5913
- * Type of sender account.
5914
- * @type {string}
5888
+ *
5889
+ * @type {PaymentAccountType}
5915
5890
  * @memberof MandateSenderAccount
5916
5891
  */
5917
- account_type?: MandateSenderAccountAccountTypeEnum;
5892
+ account_type?: PaymentAccountType;
5918
5893
  /**
5919
5894
  * Finverse Institution ID for the sender’s institution.
5920
5895
  * @type {string}
@@ -5948,10 +5923,6 @@ export interface MandateSenderAccount {
5948
5923
  [key: string]: string;
5949
5924
  };
5950
5925
  }
5951
- export declare const MandateSenderAccountAccountTypeEnum: {
5952
- readonly ExternalAccount: "EXTERNAL_ACCOUNT";
5953
- };
5954
- export type MandateSenderAccountAccountTypeEnum = (typeof MandateSenderAccountAccountTypeEnum)[keyof typeof MandateSenderAccountAccountTypeEnum];
5955
5926
  /**
5956
5927
  *
5957
5928
  * @export
@@ -6153,11 +6124,11 @@ export interface PaymentAccountDetails {
6153
6124
  */
6154
6125
  account_number_masked?: string;
6155
6126
  /**
6156
- * Type of payment account.
6157
- * @type {string}
6127
+ *
6128
+ * @type {PaymentAccountType}
6158
6129
  * @memberof PaymentAccountDetails
6159
6130
  */
6160
- account_type?: PaymentAccountDetailsAccountTypeEnum;
6131
+ account_type?: PaymentAccountType;
6161
6132
  /**
6162
6133
  * Accountholder name of the payment account
6163
6134
  * @type {string}
@@ -6245,11 +6216,6 @@ export interface PaymentAccountDetails {
6245
6216
  */
6246
6217
  updated_at?: string;
6247
6218
  }
6248
- export declare const PaymentAccountDetailsAccountTypeEnum: {
6249
- readonly ExternalAccount: "EXTERNAL_ACCOUNT";
6250
- readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
6251
- };
6252
- export type PaymentAccountDetailsAccountTypeEnum = (typeof PaymentAccountDetailsAccountTypeEnum)[keyof typeof PaymentAccountDetailsAccountTypeEnum];
6253
6219
  /**
6254
6220
  *
6255
6221
  * @export
@@ -6275,11 +6241,11 @@ export interface PaymentAccountDetailsWithEnrichedData {
6275
6241
  */
6276
6242
  account_number_masked?: string;
6277
6243
  /**
6278
- * Type of payment account.
6279
- * @type {string}
6244
+ *
6245
+ * @type {PaymentAccountType}
6280
6246
  * @memberof PaymentAccountDetailsWithEnrichedData
6281
6247
  */
6282
- account_type?: PaymentAccountDetailsWithEnrichedDataAccountTypeEnum;
6248
+ account_type?: PaymentAccountType;
6283
6249
  /**
6284
6250
  * Accountholder name of the payment account
6285
6251
  * @type {string}
@@ -6373,11 +6339,16 @@ export interface PaymentAccountDetailsWithEnrichedData {
6373
6339
  */
6374
6340
  payment_method_overview?: PaymentMethodOverview;
6375
6341
  }
6376
- export declare const PaymentAccountDetailsWithEnrichedDataAccountTypeEnum: {
6342
+ /**
6343
+ * Type of payment account
6344
+ * @export
6345
+ * @enum {string}
6346
+ */
6347
+ export declare const PaymentAccountType: {
6377
6348
  readonly ExternalAccount: "EXTERNAL_ACCOUNT";
6378
6349
  readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
6379
6350
  };
6380
- export type PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = (typeof PaymentAccountDetailsWithEnrichedDataAccountTypeEnum)[keyof typeof PaymentAccountDetailsWithEnrichedDataAccountTypeEnum];
6351
+ export type PaymentAccountType = (typeof PaymentAccountType)[keyof typeof PaymentAccountType];
6381
6352
  /**
6382
6353
  *
6383
6354
  * @export
@@ -7962,10 +7933,10 @@ export interface PaymentUser {
7962
7933
  user_id?: string;
7963
7934
  /**
7964
7935
  *
7965
- * @type {string}
7936
+ * @type {PaymentUserType}
7966
7937
  * @memberof PaymentUser
7967
7938
  */
7968
- user_type?: PaymentUserUserTypeEnum;
7939
+ user_type?: PaymentUserType;
7969
7940
  /**
7970
7941
  * Whether the user has given consent for autopay
7971
7942
  * @type {boolean}
@@ -7979,11 +7950,16 @@ export interface PaymentUser {
7979
7950
  */
7980
7951
  integration_metadata?: IntegrationMetadataResponse;
7981
7952
  }
7982
- export declare const PaymentUserUserTypeEnum: {
7953
+ /**
7954
+ * Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
7955
+ * @export
7956
+ * @enum {string}
7957
+ */
7958
+ export declare const PaymentUserType: {
7983
7959
  readonly Individual: "INDIVIDUAL";
7984
7960
  readonly Business: "BUSINESS";
7985
7961
  };
7986
- export type PaymentUserUserTypeEnum = (typeof PaymentUserUserTypeEnum)[keyof typeof PaymentUserUserTypeEnum];
7962
+ export type PaymentUserType = (typeof PaymentUserType)[keyof typeof PaymentUserType];
7987
7963
  /**
7988
7964
  *
7989
7965
  * @export
@@ -8048,10 +8024,10 @@ export interface PaymentUserWithoutEmail {
8048
8024
  user_id?: string;
8049
8025
  /**
8050
8026
  *
8051
- * @type {string}
8027
+ * @type {PaymentUserType}
8052
8028
  * @memberof PaymentUserWithoutEmail
8053
8029
  */
8054
- user_type?: PaymentUserWithoutEmailUserTypeEnum;
8030
+ user_type?: PaymentUserType;
8055
8031
  /**
8056
8032
  * Whether the user has given consent for autopay
8057
8033
  * @type {boolean}
@@ -8065,11 +8041,6 @@ export interface PaymentUserWithoutEmail {
8065
8041
  */
8066
8042
  integration_metadata?: IntegrationMetadataResponse;
8067
8043
  }
8068
- export declare const PaymentUserWithoutEmailUserTypeEnum: {
8069
- readonly Individual: "INDIVIDUAL";
8070
- readonly Business: "BUSINESS";
8071
- };
8072
- export type PaymentUserWithoutEmailUserTypeEnum = (typeof PaymentUserWithoutEmailUserTypeEnum)[keyof typeof PaymentUserWithoutEmailUserTypeEnum];
8073
8044
  /**
8074
8045
  *
8075
8046
  * @export
@@ -8744,11 +8715,11 @@ export interface RecipientAccountFilters {
8744
8715
  */
8745
8716
  export interface RecipientAccountNumber {
8746
8717
  /**
8747
- * Type of account number. Possible values: LOCAL, IBAN
8748
- * @type {string}
8718
+ *
8719
+ * @type {AccountNumberType}
8749
8720
  * @memberof RecipientAccountNumber
8750
8721
  */
8751
- type: RecipientAccountNumberTypeEnum;
8722
+ type: AccountNumberType;
8752
8723
  /**
8753
8724
  * Account number value
8754
8725
  * @type {string}
@@ -8762,11 +8733,6 @@ export interface RecipientAccountNumber {
8762
8733
  */
8763
8734
  number_plaintext?: string | null;
8764
8735
  }
8765
- export declare const RecipientAccountNumberTypeEnum: {
8766
- readonly Local: "LOCAL";
8767
- readonly Iban: "IBAN";
8768
- };
8769
- export type RecipientAccountNumberTypeEnum = (typeof RecipientAccountNumberTypeEnum)[keyof typeof RecipientAccountNumberTypeEnum];
8770
8736
  /**
8771
8737
  *
8772
8738
  * @export
@@ -8792,11 +8758,11 @@ export interface RecipientAccountResponse {
8792
8758
  */
8793
8759
  account_number?: RecipientAccountNumber;
8794
8760
  /**
8795
- * Type of recipient account.
8796
- * @type {string}
8761
+ *
8762
+ * @type {PaymentAccountType}
8797
8763
  * @memberof RecipientAccountResponse
8798
8764
  */
8799
- account_type?: RecipientAccountResponseAccountTypeEnum;
8765
+ account_type?: PaymentAccountType;
8800
8766
  /**
8801
8767
  * List of currencies supported by the recipient account
8802
8768
  * @type {Array<string>}
@@ -8828,11 +8794,6 @@ export interface RecipientAccountResponse {
8828
8794
  */
8829
8795
  branch_code?: string;
8830
8796
  }
8831
- export declare const RecipientAccountResponseAccountTypeEnum: {
8832
- readonly ExternalAccount: "EXTERNAL_ACCOUNT";
8833
- readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
8834
- };
8835
- export type RecipientAccountResponseAccountTypeEnum = (typeof RecipientAccountResponseAccountTypeEnum)[keyof typeof RecipientAccountResponseAccountTypeEnum];
8836
8797
  /**
8837
8798
  *
8838
8799
  * @export
@@ -9056,10 +9017,10 @@ export interface SelectPaymentMethodRequest {
9056
9017
  payment_method_type: PaymentType;
9057
9018
  /**
9058
9019
  *
9059
- * @type {string}
9020
+ * @type {PaymentUserType}
9060
9021
  * @memberof SelectPaymentMethodRequest
9061
9022
  */
9062
- sender_type?: SelectPaymentMethodRequestSenderTypeEnum;
9023
+ sender_type?: PaymentUserType;
9063
9024
  /**
9064
9025
  * Whether the user is on mobile device (only makes a difference if payment_method_provider is KCP)
9065
9026
  * @type {boolean}
@@ -9085,11 +9046,6 @@ export interface SelectPaymentMethodRequest {
9085
9046
  */
9086
9047
  locale?: string;
9087
9048
  }
9088
- export declare const SelectPaymentMethodRequestSenderTypeEnum: {
9089
- readonly Individual: "INDIVIDUAL";
9090
- readonly Business: "BUSINESS";
9091
- };
9092
- export type SelectPaymentMethodRequestSenderTypeEnum = (typeof SelectPaymentMethodRequestSenderTypeEnum)[keyof typeof SelectPaymentMethodRequestSenderTypeEnum];
9093
9049
  /**
9094
9050
  *
9095
9051
  * @export
@@ -9728,16 +9684,11 @@ export interface UpdatePaymentUserRequest {
9728
9684
  next_bill_update?: string | null;
9729
9685
  /**
9730
9686
  *
9731
- * @type {string}
9687
+ * @type {PaymentUserType}
9732
9688
  * @memberof UpdatePaymentUserRequest
9733
9689
  */
9734
- user_type?: UpdatePaymentUserRequestUserTypeEnum | null;
9690
+ user_type?: PaymentUserType;
9735
9691
  }
9736
- export declare const UpdatePaymentUserRequestUserTypeEnum: {
9737
- readonly Individual: "INDIVIDUAL";
9738
- readonly Business: "BUSINESS";
9739
- };
9740
- export type UpdatePaymentUserRequestUserTypeEnum = (typeof UpdatePaymentUserRequestUserTypeEnum)[keyof typeof UpdatePaymentUserRequestUserTypeEnum];
9741
9692
  /**
9742
9693
  *
9743
9694
  * @export
package/dist/api.js CHANGED
@@ -22,15 +22,24 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
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;
25
+ exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkStatus = exports.PaymentLinkSessionStatus = exports.PaymentLinkMode = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountType = exports.MandateStatus = 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.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FuturePaymentsMode = exports.FinverseErrorCategory = exports.FeePaidBy = exports.DisputeStatus = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardStatus = exports.CardFundingType = exports.BillStatus = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = exports.AccountNumberType = void 0;
26
+ 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 = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.TransactionLimitsResponsePeriodEnum = exports.TransactionLimitsRequestPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.PayoutType = exports.PayoutStatus = exports.PaymentUserType = exports.PaymentType = exports.PaymentStatus = exports.PaymentScheduleFrequencyEnum = exports.PaymentMethodType = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = void 0;
27
+ exports.PublicApi = exports.PublicApiFactory = void 0;
28
28
  const axios_1 = require("axios");
29
29
  // Some imports not used depending on template conditions
30
30
  // @ts-ignore
31
31
  const common_1 = require("./common");
32
32
  // @ts-ignore
33
33
  const base_1 = require("./base");
34
+ /**
35
+ * Type of account number. Possible values: LOCAL, IBAN
36
+ * @export
37
+ * @enum {string}
38
+ */
39
+ exports.AccountNumberType = {
40
+ Local: 'LOCAL',
41
+ Iban: 'IBAN',
42
+ };
34
43
  exports.AccountTypeTypeEnum = {
35
44
  Deposit: 'DEPOSIT',
36
45
  Card: 'CARD',
@@ -77,10 +86,6 @@ exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = {
77
86
  Yes: 'YES',
78
87
  No: 'NO',
79
88
  };
80
- exports.BadRequestModelV2ErrorTypeEnum = {
81
- LinkError: 'LINK_ERROR',
82
- ApiError: 'API_ERROR',
83
- };
84
89
  /**
85
90
  * Bill status
86
91
  * @export
@@ -126,21 +131,9 @@ exports.CreateCardRequestStatusEnum = {
126
131
  exports.CreateMandateRequestWithDdaReferenceStatusEnum = {
127
132
  Succeeded: 'SUCCEEDED',
128
133
  };
129
- exports.CreateMandateSenderUserTypeEnum = {
130
- Individual: 'INDIVIDUAL',
131
- Business: 'BUSINESS',
132
- };
133
- exports.CreateMandateSenderResponseUserTypeEnum = {
134
- Individual: 'INDIVIDUAL',
135
- Business: 'BUSINESS',
136
- };
137
134
  exports.CreatePaymentAccountRequestAccountTypeEnum = {
138
135
  ExternalAccount: 'EXTERNAL_ACCOUNT',
139
136
  };
140
- exports.CreatePaymentUserRequestUserTypeEnum = {
141
- Individual: 'INDIVIDUAL',
142
- Business: 'BUSINESS',
143
- };
144
137
  exports.CreateRecipientAccountAccountTypeEnum = {
145
138
  ExternalAccount: 'EXTERNAL_ACCOUNT',
146
139
  };
@@ -158,10 +151,24 @@ exports.DisputeStatus = {
158
151
  Lost: 'LOST',
159
152
  Won: 'WON',
160
153
  };
161
- exports.FeePaidByEnum = {
154
+ /**
155
+ * Who pays the fee
156
+ * @export
157
+ * @enum {string}
158
+ */
159
+ exports.FeePaidBy = {
162
160
  Recipient: 'RECIPIENT',
163
161
  Sender: 'SENDER',
164
162
  };
163
+ /**
164
+ * The error type
165
+ * @export
166
+ * @enum {string}
167
+ */
168
+ exports.FinverseErrorCategory = {
169
+ LinkError: 'LINK_ERROR',
170
+ ApiError: 'API_ERROR',
171
+ };
165
172
  /**
166
173
  * The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
167
174
  * @export
@@ -171,18 +178,6 @@ exports.FuturePaymentsMode = {
171
178
  Autopay: 'AUTOPAY',
172
179
  ClickToPay: 'CLICK_TO_PAY',
173
180
  };
174
- exports.FvEmbeddedErrorModelTypeEnum = {
175
- LinkError: 'LINK_ERROR',
176
- ApiError: 'API_ERROR',
177
- };
178
- exports.FvErrorModelTypeEnum = {
179
- LinkError: 'LINK_ERROR',
180
- ApiError: 'API_ERROR',
181
- };
182
- exports.FvErrorModelV2TypeEnum = {
183
- LinkError: 'LINK_ERROR',
184
- ApiError: 'API_ERROR',
185
- };
186
181
  exports.GetBalanceHistoryResponseSourceEnum = {
187
182
  Institution: 'INSTITUTION',
188
183
  Computed: 'COMPUTED',
@@ -196,14 +191,6 @@ exports.GetMandateAuthResponseMandateStatusEnum = {
196
191
  Submitted: 'SUBMITTED',
197
192
  Error: 'ERROR',
198
193
  };
199
- exports.GetMandateAuthResponseSenderTypeEnum = {
200
- Individual: 'INDIVIDUAL',
201
- Business: 'BUSINESS',
202
- };
203
- exports.GetMandateSenderUserTypeEnum = {
204
- Individual: 'INDIVIDUAL',
205
- Business: 'BUSINESS',
206
- };
207
194
  exports.InstitutionTagsEnum = {
208
195
  Real: 'real',
209
196
  Test: 'test',
@@ -283,13 +270,6 @@ exports.MandateAuthLinkCustomizationsUiModeEnum = {
283
270
  AutoRedirect: 'auto_redirect',
284
271
  Standalone: 'standalone',
285
272
  };
286
- exports.MandateRecipientAccountAccountTypeEnum = {
287
- ExternalAccount: 'EXTERNAL_ACCOUNT',
288
- SettlementAccount: 'SETTLEMENT_ACCOUNT',
289
- };
290
- exports.MandateSenderAccountAccountTypeEnum = {
291
- ExternalAccount: 'EXTERNAL_ACCOUNT',
292
- };
293
273
  /**
294
274
  * Mandate status
295
275
  * @export
@@ -307,11 +287,12 @@ exports.MandateStatus = {
307
287
  Closed: 'CLOSED',
308
288
  Cancelled: 'CANCELLED',
309
289
  };
310
- exports.PaymentAccountDetailsAccountTypeEnum = {
311
- ExternalAccount: 'EXTERNAL_ACCOUNT',
312
- SettlementAccount: 'SETTLEMENT_ACCOUNT',
313
- };
314
- exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = {
290
+ /**
291
+ * Type of payment account
292
+ * @export
293
+ * @enum {string}
294
+ */
295
+ exports.PaymentAccountType = {
315
296
  ExternalAccount: 'EXTERNAL_ACCOUNT',
316
297
  SettlementAccount: 'SETTLEMENT_ACCOUNT',
317
298
  };
@@ -426,11 +407,12 @@ exports.PaymentType = {
426
407
  Manual: 'MANUAL',
427
408
  Wallet: 'WALLET',
428
409
  };
429
- exports.PaymentUserUserTypeEnum = {
430
- Individual: 'INDIVIDUAL',
431
- Business: 'BUSINESS',
432
- };
433
- exports.PaymentUserWithoutEmailUserTypeEnum = {
410
+ /**
411
+ * Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
412
+ * @export
413
+ * @enum {string}
414
+ */
415
+ exports.PaymentUserType = {
434
416
  Individual: 'INDIVIDUAL',
435
417
  Business: 'BUSINESS',
436
418
  };
@@ -460,14 +442,6 @@ exports.PayoutType = {
460
442
  Settlement: 'SETTLEMENT',
461
443
  OnDemand: 'ON_DEMAND',
462
444
  };
463
- exports.RecipientAccountNumberTypeEnum = {
464
- Local: 'LOCAL',
465
- Iban: 'IBAN',
466
- };
467
- exports.RecipientAccountResponseAccountTypeEnum = {
468
- ExternalAccount: 'EXTERNAL_ACCOUNT',
469
- SettlementAccount: 'SETTLEMENT_ACCOUNT',
470
- };
471
445
  exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = {
472
446
  En: 'en',
473
447
  Vi: 'vi',
@@ -480,10 +454,6 @@ exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = {
480
454
  AutoRedirect: 'auto_redirect',
481
455
  Standalone: 'standalone',
482
456
  };
483
- exports.SelectPaymentMethodRequestSenderTypeEnum = {
484
- Individual: 'INDIVIDUAL',
485
- Business: 'BUSINESS',
486
- };
487
457
  exports.SenderDetailDetailsTypeEnum = {
488
458
  HkId: 'HK_ID',
489
459
  Passport: 'PASSPORT',
@@ -510,10 +480,6 @@ exports.TransactionLimitsResponsePeriodEnum = {
510
480
  Quarterly: 'QUARTERLY',
511
481
  Yearly: 'YEARLY',
512
482
  };
513
- exports.UpdatePaymentUserRequestUserTypeEnum = {
514
- Individual: 'INDIVIDUAL',
515
- Business: 'BUSINESS',
516
- };
517
483
  exports.UpdateTestPaymentStatusRequestStatusEnum = {
518
484
  Executed: 'EXECUTED',
519
485
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.401",
3
+ "version": "0.0.402",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {