@finverse/sdk-typescript 0.0.378 → 0.0.381

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -578,6 +578,12 @@ export interface AvailablePaymentMethod {
578
578
  * @memberof AvailablePaymentMethod
579
579
  */
580
580
  payment_method_provider?: string;
581
+ /**
582
+ * Ordered list of payment method brands, e.g. VISA, MASTERCARD, DISCOVER
583
+ * @type {Array<string>}
584
+ * @memberof AvailablePaymentMethod
585
+ */
586
+ payment_methods_list?: Array<string>;
581
587
  }
582
588
  /**
583
589
  *
@@ -710,7 +716,7 @@ export interface BalanceHistory {
710
716
  */
711
717
  date: string;
712
718
  /**
713
- * The end of day balance for this account on this specific date
719
+ *
714
720
  * @type {number}
715
721
  * @memberof BalanceHistory
716
722
  */
@@ -735,6 +741,148 @@ export interface BankTransferDetails {
735
741
  */
736
742
  transfer_type?: string;
737
743
  }
744
+ /**
745
+ *
746
+ * @export
747
+ * @interface BillDetails
748
+ */
749
+ export interface BillDetails {
750
+ /**
751
+ *
752
+ * @type {number}
753
+ * @memberof BillDetails
754
+ */
755
+ total_amount_due: number;
756
+ /**
757
+ *
758
+ * @type {string}
759
+ * @memberof BillDetails
760
+ */
761
+ currency: string;
762
+ /**
763
+ *
764
+ * @type {string}
765
+ * @memberof BillDetails
766
+ */
767
+ description?: string;
768
+ /**
769
+ *
770
+ * @type {string}
771
+ * @memberof BillDetails
772
+ */
773
+ bill_reference_id: string;
774
+ }
775
+ /**
776
+ *
777
+ * @export
778
+ * @interface BillIntegrationMetadata
779
+ */
780
+ export interface BillIntegrationMetadata {
781
+ /**
782
+ *
783
+ * @type {string}
784
+ * @memberof BillIntegrationMetadata
785
+ */
786
+ integration_id: string;
787
+ /**
788
+ *
789
+ * @type {BillRapidstorMetadata}
790
+ * @memberof BillIntegrationMetadata
791
+ */
792
+ rapidstor_metadata?: BillRapidstorMetadata;
793
+ }
794
+ /**
795
+ *
796
+ * @export
797
+ * @interface BillRapidstorMetadata
798
+ */
799
+ export interface BillRapidstorMetadata {
800
+ /**
801
+ *
802
+ * @type {string}
803
+ * @memberof BillRapidstorMetadata
804
+ */
805
+ corp_code: string;
806
+ /**
807
+ *
808
+ * @type {string}
809
+ * @memberof BillRapidstorMetadata
810
+ */
811
+ s_location_code: string;
812
+ /**
813
+ *
814
+ * @type {string}
815
+ * @memberof BillRapidstorMetadata
816
+ */
817
+ tenant_id: string;
818
+ /**
819
+ *
820
+ * @type {number}
821
+ * @memberof BillRapidstorMetadata
822
+ */
823
+ i_anniv_days: number;
824
+ /**
825
+ *
826
+ * @type {string}
827
+ * @memberof BillRapidstorMetadata
828
+ */
829
+ tenant_default_currency: string;
830
+ /**
831
+ *
832
+ * @type {string}
833
+ * @memberof BillRapidstorMetadata
834
+ */
835
+ s_unit_name: string;
836
+ /**
837
+ *
838
+ * @type {string}
839
+ * @memberof BillRapidstorMetadata
840
+ */
841
+ account_token: string;
842
+ /**
843
+ *
844
+ * @type {string}
845
+ * @memberof BillRapidstorMetadata
846
+ */
847
+ ledger_id: string;
848
+ /**
849
+ *
850
+ * @type {string}
851
+ * @memberof BillRapidstorMetadata
852
+ */
853
+ unit_id: string;
854
+ /**
855
+ *
856
+ * @type {string}
857
+ * @memberof BillRapidstorMetadata
858
+ */
859
+ i_lease_num: string;
860
+ /**
861
+ *
862
+ * @type {string}
863
+ * @memberof BillRapidstorMetadata
864
+ */
865
+ d_sched_out: string;
866
+ /**
867
+ *
868
+ * @type {string}
869
+ * @memberof BillRapidstorMetadata
870
+ */
871
+ unit_type_id: string;
872
+ }
873
+ /**
874
+ *
875
+ * @export
876
+ * @interface BillSenderDetails
877
+ */
878
+ export interface BillSenderDetails {
879
+ /**
880
+ *
881
+ * @type {string}
882
+ * @memberof BillSenderDetails
883
+ */
884
+ name: string;
885
+ }
738
886
  /**
739
887
  *
740
888
  * @export
@@ -933,7 +1081,7 @@ export interface CardFvLinkResponse {
933
1081
  }
934
1082
  export declare const CardFvLinkResponseStatusEnum: {
935
1083
  readonly Unknown: "UNKNOWN";
936
- readonly Processing: "PROCESSING";
1084
+ readonly Created: "CREATED";
937
1085
  readonly Succeeded: "SUCCEEDED";
938
1086
  readonly Cancelled: "CANCELLED";
939
1087
  readonly Failed: "FAILED";
@@ -1601,19 +1749,6 @@ export declare const CreatePaymentAccountRequestAccountTypeEnum: {
1601
1749
  readonly ExternalAccount: "EXTERNAL_ACCOUNT";
1602
1750
  };
1603
1751
  export type CreatePaymentAccountRequestAccountTypeEnum = (typeof CreatePaymentAccountRequestAccountTypeEnum)[keyof typeof CreatePaymentAccountRequestAccountTypeEnum];
1604
- /**
1605
- *
1606
- * @export
1607
- * @interface CreatePaymentInstructionResponse
1608
- */
1609
- export interface CreatePaymentInstructionResponse {
1610
- /**
1611
- *
1612
- * @type {string}
1613
- * @memberof CreatePaymentInstructionResponse
1614
- */
1615
- payment_instruction_id?: string;
1616
- }
1617
1752
  /**
1618
1753
  *
1619
1754
  * @export
@@ -1938,89 +2073,6 @@ export interface CurrencyAmount {
1938
2073
  */
1939
2074
  raw?: string;
1940
2075
  }
1941
- /**
1942
- *
1943
- * @export
1944
- * @interface CustomerPaymentInstruction
1945
- */
1946
- export interface CustomerPaymentInstruction {
1947
- /**
1948
- * A id of the user of this payment, need to equal to userId when creating link
1949
- * @type {string}
1950
- * @memberof CustomerPaymentInstruction
1951
- */
1952
- user_id: string;
1953
- /**
1954
- * Type of payment is being created, please check Documentation on which payment type is supported in each institution
1955
- * @type {string}
1956
- * @memberof CustomerPaymentInstruction
1957
- */
1958
- type: CustomerPaymentInstructionTypeEnum;
1959
- /**
1960
- * The recipient name
1961
- * @type {string}
1962
- * @memberof CustomerPaymentInstruction
1963
- */
1964
- recipient_name?: string;
1965
- /**
1966
- * The recipient account Id
1967
- * @type {string}
1968
- * @memberof CustomerPaymentInstruction
1969
- */
1970
- recipient_account_id?: string;
1971
- /**
1972
- * The sender name
1973
- * @type {string}
1974
- * @memberof CustomerPaymentInstruction
1975
- */
1976
- sender_name?: string;
1977
- /**
1978
- * The sender account Id
1979
- * @type {string}
1980
- * @memberof CustomerPaymentInstruction
1981
- */
1982
- sender_account_id?: string;
1983
- /**
1984
- * When the payment should start
1985
- * @type {string}
1986
- * @memberof CustomerPaymentInstruction
1987
- */
1988
- start_date?: string | null;
1989
- /**
1990
- * When the payment should stop
1991
- * @type {string}
1992
- * @memberof CustomerPaymentInstruction
1993
- */
1994
- end_date?: string | null;
1995
- /**
1996
- * The currency for the payment
1997
- * @type {string}
1998
- * @memberof CustomerPaymentInstruction
1999
- */
2000
- currency?: string;
2001
- /**
2002
- * The payment amount
2003
- * @type {number}
2004
- * @memberof CustomerPaymentInstruction
2005
- */
2006
- amount?: number;
2007
- /**
2008
- * How often the payment should be executed
2009
- * @type {string}
2010
- * @memberof CustomerPaymentInstruction
2011
- */
2012
- frequency?: string;
2013
- /**
2014
- * Related remarks about this instruction
2015
- * @type {string}
2016
- * @memberof CustomerPaymentInstruction
2017
- */
2018
- remarks?: string;
2019
- }
2020
- export declare const CustomerPaymentInstructionTypeEnum: {
2021
- readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
2022
- };
2023
- export type CustomerPaymentInstructionTypeEnum = (typeof CustomerPaymentInstructionTypeEnum)[keyof typeof CustomerPaymentInstructionTypeEnum];
2024
2076
  /**
2025
2077
  *
2026
2078
  * @export
@@ -2323,6 +2375,119 @@ export interface ErrorResponse {
2323
2375
  */
2324
2376
  request_id?: string;
2325
2377
  }
2378
+ /**
2379
+ *
2380
+ * @export
2381
+ * @interface FVBill
2382
+ */
2383
+ export interface FVBill {
2384
+ /**
2385
+ *
2386
+ * @type {string}
2387
+ * @memberof FVBill
2388
+ */
2389
+ bill_id: string;
2390
+ /**
2391
+ *
2392
+ * @type {string}
2393
+ * @memberof FVBill
2394
+ */
2395
+ external_bill_id: string;
2396
+ /**
2397
+ *
2398
+ * @type {string}
2399
+ * @memberof FVBill
2400
+ */
2401
+ user_id: string;
2402
+ /**
2403
+ *
2404
+ * @type {string}
2405
+ * @memberof FVBill
2406
+ */
2407
+ external_user_id: string;
2408
+ /**
2409
+ *
2410
+ * @type {string}
2411
+ * @memberof FVBill
2412
+ */
2413
+ customer_app_id: string;
2414
+ /**
2415
+ *
2416
+ * @type {string}
2417
+ * @memberof FVBill
2418
+ */
2419
+ bill_date: string | null;
2420
+ /**
2421
+ *
2422
+ * @type {string}
2423
+ * @memberof FVBill
2424
+ */
2425
+ due_date: string | null;
2426
+ /**
2427
+ *
2428
+ * @type {BillIntegrationMetadata}
2429
+ * @memberof FVBill
2430
+ */
2431
+ integration_metadata: BillIntegrationMetadata;
2432
+ /**
2433
+ *
2434
+ * @type {BillDetails}
2435
+ * @memberof FVBill
2436
+ */
2437
+ details: BillDetails;
2438
+ /**
2439
+ *
2440
+ * @type {{ [key: string]: string; }}
2441
+ * @memberof FVBill
2442
+ */
2443
+ metadata?: {
2444
+ [key: string]: string;
2445
+ };
2446
+ /**
2447
+ *
2448
+ * @type {string}
2449
+ * @memberof FVBill
2450
+ */
2451
+ status: FVBillStatusEnum;
2452
+ /**
2453
+ *
2454
+ * @type {string}
2455
+ * @memberof FVBill
2456
+ */
2457
+ integration_id: string;
2458
+ /**
2459
+ *
2460
+ * @type {BillSenderDetails}
2461
+ * @memberof FVBill
2462
+ */
2463
+ sender_details: BillSenderDetails;
2464
+ /**
2465
+ *
2466
+ * @type {string}
2467
+ * @memberof FVBill
2468
+ */
2469
+ created_at: string | null;
2470
+ /**
2471
+ *
2472
+ * @type {string}
2473
+ * @memberof FVBill
2474
+ */
2475
+ updated_at: string | null;
2476
+ /**
2477
+ *
2478
+ * @type {boolean}
2479
+ * @memberof FVBill
2480
+ */
2481
+ is_finverse_autopay_eligible: boolean;
2482
+ }
2483
+ export declare const FVBillStatusEnum: {
2484
+ readonly Unknown: "UNKNOWN";
2485
+ readonly Unpaid: "UNPAID";
2486
+ readonly Paid: "PAID";
2487
+ readonly Cancelled: "CANCELLED";
2488
+ readonly Failed: "FAILED";
2489
+ };
2490
+ export type FVBillStatusEnum = (typeof FVBillStatusEnum)[keyof typeof FVBillStatusEnum];
2326
2491
  /**
2327
2492
  *
2328
2493
  * @export
@@ -2374,7 +2539,7 @@ export interface FVCard {
2374
2539
  }
2375
2540
  export declare const FVCardStatusEnum: {
2376
2541
  readonly Unknown: "UNKNOWN";
2377
- readonly Processing: "PROCESSING";
2542
+ readonly Created: "CREATED";
2378
2543
  readonly Succeeded: "SUCCEEDED";
2379
2544
  readonly Cancelled: "CANCELLED";
2380
2545
  readonly Failed: "FAILED";
@@ -2856,6 +3021,125 @@ export declare const GetBalanceHistoryResponseSourceEnum: {
2856
3021
  readonly Computed: "COMPUTED";
2857
3022
  };
2858
3023
  export type GetBalanceHistoryResponseSourceEnum = (typeof GetBalanceHistoryResponseSourceEnum)[keyof typeof GetBalanceHistoryResponseSourceEnum];
3024
+ /**
3025
+ *
3026
+ * @export
3027
+ * @interface GetBillResponse
3028
+ */
3029
+ export interface GetBillResponse {
3030
+ /**
3031
+ *
3032
+ * @type {string}
3033
+ * @memberof GetBillResponse
3034
+ */
3035
+ bill_id: string;
3036
+ /**
3037
+ *
3038
+ * @type {string}
3039
+ * @memberof GetBillResponse
3040
+ */
3041
+ external_bill_id: string;
3042
+ /**
3043
+ *
3044
+ * @type {string}
3045
+ * @memberof GetBillResponse
3046
+ */
3047
+ user_id: string;
3048
+ /**
3049
+ *
3050
+ * @type {string}
3051
+ * @memberof GetBillResponse
3052
+ */
3053
+ external_user_id: string;
3054
+ /**
3055
+ *
3056
+ * @type {string}
3057
+ * @memberof GetBillResponse
3058
+ */
3059
+ customer_app_id: string;
3060
+ /**
3061
+ *
3062
+ * @type {string}
3063
+ * @memberof GetBillResponse
3064
+ */
3065
+ bill_date: string | null;
3066
+ /**
3067
+ *
3068
+ * @type {string}
3069
+ * @memberof GetBillResponse
3070
+ */
3071
+ due_date: string | null;
3072
+ /**
3073
+ *
3074
+ * @type {BillIntegrationMetadata}
3075
+ * @memberof GetBillResponse
3076
+ */
3077
+ integration_metadata: BillIntegrationMetadata;
3078
+ /**
3079
+ *
3080
+ * @type {BillDetails}
3081
+ * @memberof GetBillResponse
3082
+ */
3083
+ details: BillDetails;
3084
+ /**
3085
+ *
3086
+ * @type {{ [key: string]: string; }}
3087
+ * @memberof GetBillResponse
3088
+ */
3089
+ metadata?: {
3090
+ [key: string]: string;
3091
+ };
3092
+ /**
3093
+ *
3094
+ * @type {string}
3095
+ * @memberof GetBillResponse
3096
+ */
3097
+ status: GetBillResponseStatusEnum;
3098
+ /**
3099
+ *
3100
+ * @type {string}
3101
+ * @memberof GetBillResponse
3102
+ */
3103
+ integration_id: string;
3104
+ /**
3105
+ *
3106
+ * @type {BillSenderDetails}
3107
+ * @memberof GetBillResponse
3108
+ */
3109
+ sender_details: BillSenderDetails;
3110
+ /**
3111
+ *
3112
+ * @type {string}
3113
+ * @memberof GetBillResponse
3114
+ */
3115
+ created_at: string | null;
3116
+ /**
3117
+ *
3118
+ * @type {string}
3119
+ * @memberof GetBillResponse
3120
+ */
3121
+ updated_at: string | null;
3122
+ /**
3123
+ *
3124
+ * @type {boolean}
3125
+ * @memberof GetBillResponse
3126
+ */
3127
+ is_finverse_autopay_eligible: boolean;
3128
+ /**
3129
+ *
3130
+ * @type {Array<PaymentResponse>}
3131
+ * @memberof GetBillResponse
3132
+ */
3133
+ payments: Array<PaymentResponse>;
3134
+ }
3135
+ export declare const GetBillResponseStatusEnum: {
3136
+ readonly Unknown: "UNKNOWN";
3137
+ readonly Unpaid: "UNPAID";
3138
+ readonly Paid: "PAID";
3139
+ readonly Cancelled: "CANCELLED";
3140
+ readonly Failed: "FAILED";
3141
+ };
3142
+ export type GetBillResponseStatusEnum = (typeof GetBillResponseStatusEnum)[keyof typeof GetBillResponseStatusEnum];
2859
3143
  /**
2860
3144
  *
2861
3145
  * @export
@@ -3223,19 +3507,6 @@ export declare const GetMandateSenderUserTypeEnum: {
3223
3507
  readonly Business: "BUSINESS";
3224
3508
  };
3225
3509
  export type GetMandateSenderUserTypeEnum = (typeof GetMandateSenderUserTypeEnum)[keyof typeof GetMandateSenderUserTypeEnum];
3226
- /**
3227
- *
3228
- * @export
3229
- * @interface GetPaymentInstructionsResponse
3230
- */
3231
- export interface GetPaymentInstructionsResponse {
3232
- /**
3233
- *
3234
- * @type {PaymentInstruction}
3235
- * @memberof GetPaymentInstructionsResponse
3236
- */
3237
- payment_instruction?: PaymentInstruction;
3238
- }
3239
3510
  /**
3240
3511
  *
3241
3512
  * @export
@@ -3648,7 +3919,7 @@ export interface IdentityPhoneNumber {
3648
3919
  */
3649
3920
  export interface IncomeEstimate {
3650
3921
  /**
3651
- * Income amount
3922
+ *
3652
3923
  * @type {number}
3653
3924
  * @memberof IncomeEstimate
3654
3925
  */
@@ -4457,6 +4728,25 @@ export interface ListAccountsResponse {
4457
4728
  */
4458
4729
  institution?: InstitutionShort;
4459
4730
  }
4731
+ /**
4732
+ *
4733
+ * @export
4734
+ * @interface ListBillsResponse
4735
+ */
4736
+ export interface ListBillsResponse {
4737
+ /**
4738
+ *
4739
+ * @type {Array<FVBill>}
4740
+ * @memberof ListBillsResponse
4741
+ */
4742
+ bills: Array<FVBill>;
4743
+ /**
4744
+ * Whether additional bills exist beyond this page for the same query.
4745
+ * @type {boolean}
4746
+ * @memberof ListBillsResponse
4747
+ */
4748
+ has_more: boolean;
4749
+ }
4460
4750
  /**
4461
4751
  *
4462
4752
  * @export
@@ -6090,205 +6380,80 @@ export interface PaymentFvLinkResponse {
6090
6380
  */
6091
6381
  status?: PaymentFvLinkResponseStatusEnum;
6092
6382
  /**
6093
- *
6094
- * @type {string}
6095
- * @memberof PaymentFvLinkResponse
6096
- */
6097
- type?: PaymentFvLinkResponseTypeEnum;
6098
- /**
6099
- *
6100
- * @type {PaymentFvLinkDetails}
6101
- * @memberof PaymentFvLinkResponse
6102
- */
6103
- payment_details?: PaymentFvLinkDetails;
6104
- /**
6105
- *
6106
- * @type {FvEmbeddedErrorModel}
6107
- * @memberof PaymentFvLinkResponse
6108
- */
6109
- error?: FvEmbeddedErrorModel;
6110
- /**
6111
- * Set to true if payment uses GoCardless rail, indicating frontend should skip polling
6112
- * @type {boolean}
6113
- * @memberof PaymentFvLinkResponse
6114
- */
6115
- skip_polling: boolean;
6116
- }
6117
- export declare const PaymentFvLinkResponseStatusEnum: {
6118
- readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
6119
- readonly Authorizing: "AUTHORIZING";
6120
- readonly Processing: "PROCESSING";
6121
- readonly Submitted: "SUBMITTED";
6122
- readonly Executed: "EXECUTED";
6123
- readonly Failed: "FAILED";
6124
- readonly Revoked: "REVOKED";
6125
- readonly Cancelled: "CANCELLED";
6126
- readonly Created: "CREATED";
6127
- };
6128
- export type PaymentFvLinkResponseStatusEnum = (typeof PaymentFvLinkResponseStatusEnum)[keyof typeof PaymentFvLinkResponseStatusEnum];
6129
- export declare const PaymentFvLinkResponseTypeEnum: {
6130
- readonly Mandate: "MANDATE";
6131
- readonly Single: "SINGLE";
6132
- readonly Card: "CARD";
6133
- readonly Manual: "MANUAL";
6134
- readonly Wallet: "WALLET";
6135
- };
6136
- export type PaymentFvLinkResponseTypeEnum = (typeof PaymentFvLinkResponseTypeEnum)[keyof typeof PaymentFvLinkResponseTypeEnum];
6137
- /**
6138
- *
6139
- * @export
6140
- * @interface PaymentInfo
6141
- */
6142
- export interface PaymentInfo {
6143
- /**
6144
- *
6145
- * @type {Array<string>}
6146
- * @memberof PaymentInfo
6147
- */
6148
- currencies_supported?: Array<string>;
6149
- /**
6150
- *
6151
- * @type {Array<string>}
6152
- * @memberof PaymentInfo
6153
- */
6154
- payments_supported: Array<PaymentInfoPaymentsSupportedEnum>;
6155
- /**
6156
- *
6157
- * @type {OtherInfo}
6158
- * @memberof PaymentInfo
6159
- */
6160
- other_info?: OtherInfo;
6161
- }
6162
- export declare const PaymentInfoPaymentsSupportedEnum: {
6163
- readonly Mandate: "MANDATE";
6164
- readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
6165
- };
6166
- export type PaymentInfoPaymentsSupportedEnum = (typeof PaymentInfoPaymentsSupportedEnum)[keyof typeof PaymentInfoPaymentsSupportedEnum];
6167
- /**
6168
- *
6169
- * @export
6170
- * @interface PaymentInstruction
6171
- */
6172
- export interface PaymentInstruction {
6173
- /**
6174
- * An id of the this payment
6175
- * @type {string}
6176
- * @memberof PaymentInstruction
6177
- */
6178
- payment_instruction_id?: string;
6179
- /**
6180
- * An id of the user of this payment, need to equal to userId when creating link
6181
- * @type {string}
6182
- * @memberof PaymentInstruction
6183
- */
6184
- user_id?: string;
6185
- /**
6186
- * An id that links this payment to a specific Login Identity
6187
- * @type {string}
6188
- * @memberof PaymentInstruction
6189
- */
6190
- login_identity_id?: string;
6191
- /**
6192
- * Type of payment that was created, please check Documentation on which payment type is supported in each institution
6193
- * @type {string}
6194
- * @memberof PaymentInstruction
6195
- */
6196
- type?: PaymentInstructionTypeEnum;
6197
- /**
6198
- * The recipient name
6199
- * @type {string}
6200
- * @memberof PaymentInstruction
6201
- */
6202
- recipient_name?: string;
6203
- /**
6204
- * The recipient account Id
6205
- * @type {string}
6206
- * @memberof PaymentInstruction
6207
- */
6208
- recipient_account_id?: string;
6209
- /**
6210
- * The sender name
6211
- * @type {string}
6212
- * @memberof PaymentInstruction
6213
- */
6214
- sender_name?: string;
6215
- /**
6216
- *
6217
- * @type {PaymentAccount}
6218
- * @memberof PaymentInstruction
6219
- */
6220
- sender_account?: PaymentAccount;
6221
- /**
6222
- * The sender account Id
6223
- * @type {string}
6224
- * @memberof PaymentInstruction
6225
- */
6226
- sender_account_id?: string;
6227
- /**
6228
- * When the payment should start
6229
- * @type {string}
6230
- * @memberof PaymentInstruction
6231
- */
6232
- start_date?: string | null;
6233
- /**
6234
- * When the payment should stop
6235
- * @type {string}
6236
- * @memberof PaymentInstruction
6237
- */
6238
- end_date?: string | null;
6239
- /**
6240
- * The currency for the payment
6241
- * @type {string}
6242
- * @memberof PaymentInstruction
6243
- */
6244
- currency?: string;
6245
- /**
6246
- * The payment amount
6247
- * @type {number}
6248
- * @memberof PaymentInstruction
6249
- */
6250
- amount?: number;
6251
- /**
6252
- * How often the payment should be executed
6383
+ *
6253
6384
  * @type {string}
6254
- * @memberof PaymentInstruction
6385
+ * @memberof PaymentFvLinkResponse
6255
6386
  */
6256
- frequency?: string;
6387
+ type?: PaymentFvLinkResponseTypeEnum;
6257
6388
  /**
6258
- * Related remarks about this instruction
6259
- * @type {string}
6260
- * @memberof PaymentInstruction
6389
+ *
6390
+ * @type {PaymentFvLinkDetails}
6391
+ * @memberof PaymentFvLinkResponse
6261
6392
  */
6262
- remarks?: string;
6393
+ payment_details?: PaymentFvLinkDetails;
6263
6394
  /**
6264
- * Status of the payment
6265
- * @type {string}
6266
- * @memberof PaymentInstruction
6395
+ *
6396
+ * @type {FvEmbeddedErrorModel}
6397
+ * @memberof PaymentFvLinkResponse
6267
6398
  */
6268
- status?: string;
6399
+ error?: FvEmbeddedErrorModel;
6269
6400
  /**
6270
- * Reference identification returned by institution
6271
- * @type {string}
6272
- * @memberof PaymentInstruction
6401
+ * Set to true if payment uses GoCardless rail, indicating frontend should skip polling
6402
+ * @type {boolean}
6403
+ * @memberof PaymentFvLinkResponse
6404
+ */
6405
+ skip_polling: boolean;
6406
+ }
6407
+ export declare const PaymentFvLinkResponseStatusEnum: {
6408
+ readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
6409
+ readonly Authorizing: "AUTHORIZING";
6410
+ readonly Processing: "PROCESSING";
6411
+ readonly Submitted: "SUBMITTED";
6412
+ readonly Executed: "EXECUTED";
6413
+ readonly Failed: "FAILED";
6414
+ readonly Revoked: "REVOKED";
6415
+ readonly Cancelled: "CANCELLED";
6416
+ readonly Created: "CREATED";
6417
+ };
6418
+ export type PaymentFvLinkResponseStatusEnum = (typeof PaymentFvLinkResponseStatusEnum)[keyof typeof PaymentFvLinkResponseStatusEnum];
6419
+ export declare const PaymentFvLinkResponseTypeEnum: {
6420
+ readonly Mandate: "MANDATE";
6421
+ readonly Single: "SINGLE";
6422
+ readonly Card: "CARD";
6423
+ readonly Manual: "MANUAL";
6424
+ readonly Wallet: "WALLET";
6425
+ };
6426
+ export type PaymentFvLinkResponseTypeEnum = (typeof PaymentFvLinkResponseTypeEnum)[keyof typeof PaymentFvLinkResponseTypeEnum];
6427
+ /**
6428
+ *
6429
+ * @export
6430
+ * @interface PaymentInfo
6431
+ */
6432
+ export interface PaymentInfo {
6433
+ /**
6434
+ *
6435
+ * @type {Array<string>}
6436
+ * @memberof PaymentInfo
6273
6437
  */
6274
- reference_id?: string;
6438
+ currencies_supported?: Array<string>;
6275
6439
  /**
6276
6440
  *
6277
- * @type {string}
6278
- * @memberof PaymentInstruction
6441
+ * @type {Array<string>}
6442
+ * @memberof PaymentInfo
6279
6443
  */
6280
- last_update?: string;
6444
+ payments_supported: Array<PaymentInfoPaymentsSupportedEnum>;
6281
6445
  /**
6282
- * Extra information collected for this payment instruction
6283
- * @type {object}
6284
- * @memberof PaymentInstruction
6446
+ *
6447
+ * @type {OtherInfo}
6448
+ * @memberof PaymentInfo
6285
6449
  */
6286
- info?: object;
6450
+ other_info?: OtherInfo;
6287
6451
  }
6288
- export declare const PaymentInstructionTypeEnum: {
6452
+ export declare const PaymentInfoPaymentsSupportedEnum: {
6453
+ readonly Mandate: "MANDATE";
6289
6454
  readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
6290
6455
  };
6291
- export type PaymentInstructionTypeEnum = (typeof PaymentInstructionTypeEnum)[keyof typeof PaymentInstructionTypeEnum];
6456
+ export type PaymentInfoPaymentsSupportedEnum = (typeof PaymentInfoPaymentsSupportedEnum)[keyof typeof PaymentInfoPaymentsSupportedEnum];
6292
6457
  /**
6293
6458
  *
6294
6459
  * @export
@@ -9451,13 +9616,6 @@ export interface UserMessage {
9451
9616
  * @export
9452
9617
  */
9453
9618
  export declare const CustomerApiAxiosParamCreator: (configuration?: Configuration) => {
9454
- /**
9455
- * Create a new payment instruction to be used when linking to perform new payment
9456
- * @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
9457
- * @param {*} [options] Override http request option.
9458
- * @throws {RequiredError}
9459
- */
9460
- createPaymentInstruction: (paymentInstruction: CustomerPaymentInstruction, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9461
9619
  /**
9462
9620
  * Get a specific institution by institutionId
9463
9621
  * @param {string} institutionId The institution id
@@ -9471,14 +9629,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
9471
9629
  * @throws {RequiredError}
9472
9630
  */
9473
9631
  getInstitutionsForCustomer: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9474
- /**
9475
- * [DEPRECATED] Get payment instructions by payment_instruction_id
9476
- * @param {string} paymentInstructionId The id of a payment instruction
9477
- * @param {*} [options] Override http request option.
9478
- * @deprecated
9479
- * @throws {RequiredError}
9480
- */
9481
- getPaymentInstruction: (paymentInstructionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
9482
9632
  /**
9483
9633
  * Get a list of institutions
9484
9634
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -9502,13 +9652,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
9502
9652
  * @export
9503
9653
  */
9504
9654
  export declare const CustomerApiFp: (configuration?: Configuration) => {
9505
- /**
9506
- * Create a new payment instruction to be used when linking to perform new payment
9507
- * @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
9508
- * @param {*} [options] Override http request option.
9509
- * @throws {RequiredError}
9510
- */
9511
- createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentInstructionResponse>>;
9512
9655
  /**
9513
9656
  * Get a specific institution by institutionId
9514
9657
  * @param {string} institutionId The institution id
@@ -9522,14 +9665,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
9522
9665
  * @throws {RequiredError}
9523
9666
  */
9524
9667
  getInstitutionsForCustomer(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Institution>>>;
9525
- /**
9526
- * [DEPRECATED] Get payment instructions by payment_instruction_id
9527
- * @param {string} paymentInstructionId The id of a payment instruction
9528
- * @param {*} [options] Override http request option.
9529
- * @deprecated
9530
- * @throws {RequiredError}
9531
- */
9532
- getPaymentInstruction(paymentInstructionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentInstructionsResponse>>;
9533
9668
  /**
9534
9669
  * Get a list of institutions
9535
9670
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -9553,13 +9688,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
9553
9688
  * @export
9554
9689
  */
9555
9690
  export declare const CustomerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
9556
- /**
9557
- * Create a new payment instruction to be used when linking to perform new payment
9558
- * @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
9559
- * @param {*} [options] Override http request option.
9560
- * @throws {RequiredError}
9561
- */
9562
- createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: RawAxiosRequestConfig): AxiosPromise<CreatePaymentInstructionResponse>;
9563
9691
  /**
9564
9692
  * Get a specific institution by institutionId
9565
9693
  * @param {string} institutionId The institution id
@@ -9573,14 +9701,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
9573
9701
  * @throws {RequiredError}
9574
9702
  */
9575
9703
  getInstitutionsForCustomer(options?: RawAxiosRequestConfig): AxiosPromise<Array<Institution>>;
9576
- /**
9577
- * [DEPRECATED] Get payment instructions by payment_instruction_id
9578
- * @param {string} paymentInstructionId The id of a payment instruction
9579
- * @param {*} [options] Override http request option.
9580
- * @deprecated
9581
- * @throws {RequiredError}
9582
- */
9583
- getPaymentInstruction(paymentInstructionId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetPaymentInstructionsResponse>;
9584
9704
  /**
9585
9705
  * Get a list of institutions
9586
9706
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -9605,14 +9725,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
9605
9725
  * @interface CustomerApi
9606
9726
  */
9607
9727
  export interface CustomerApiInterface {
9608
- /**
9609
- * Create a new payment instruction to be used when linking to perform new payment
9610
- * @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
9611
- * @param {*} [options] Override http request option.
9612
- * @throws {RequiredError}
9613
- * @memberof CustomerApiInterface
9614
- */
9615
- createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: RawAxiosRequestConfig): AxiosPromise<CreatePaymentInstructionResponse>;
9616
9728
  /**
9617
9729
  * Get a specific institution by institutionId
9618
9730
  * @param {string} institutionId The institution id
@@ -9628,15 +9740,6 @@ export interface CustomerApiInterface {
9628
9740
  * @memberof CustomerApiInterface
9629
9741
  */
9630
9742
  getInstitutionsForCustomer(options?: RawAxiosRequestConfig): AxiosPromise<Array<Institution>>;
9631
- /**
9632
- * [DEPRECATED] Get payment instructions by payment_instruction_id
9633
- * @param {string} paymentInstructionId The id of a payment instruction
9634
- * @param {*} [options] Override http request option.
9635
- * @deprecated
9636
- * @throws {RequiredError}
9637
- * @memberof CustomerApiInterface
9638
- */
9639
- getPaymentInstruction(paymentInstructionId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetPaymentInstructionsResponse>;
9640
9743
  /**
9641
9744
  * Get a list of institutions
9642
9745
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -9664,14 +9767,6 @@ export interface CustomerApiInterface {
9664
9767
  * @extends {BaseAPI}
9665
9768
  */
9666
9769
  export declare class CustomerApi extends BaseAPI implements CustomerApiInterface {
9667
- /**
9668
- * Create a new payment instruction to be used when linking to perform new payment
9669
- * @param {CustomerPaymentInstruction} paymentInstruction Request body for starting a new Link
9670
- * @param {*} [options] Override http request option.
9671
- * @throws {RequiredError}
9672
- * @memberof CustomerApi
9673
- */
9674
- createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentInstructionResponse, any, {}>>;
9675
9770
  /**
9676
9771
  * Get a specific institution by institutionId
9677
9772
  * @param {string} institutionId The institution id
@@ -9687,15 +9782,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
9687
9782
  * @memberof CustomerApi
9688
9783
  */
9689
9784
  getInstitutionsForCustomer(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution[], any, {}>>;
9690
- /**
9691
- * [DEPRECATED] Get payment instructions by payment_instruction_id
9692
- * @param {string} paymentInstructionId The id of a payment instruction
9693
- * @param {*} [options] Override http request option.
9694
- * @deprecated
9695
- * @throws {RequiredError}
9696
- * @memberof CustomerApi
9697
- */
9698
- getPaymentInstruction(paymentInstructionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentInstructionsResponse, any, {}>>;
9699
9785
  /**
9700
9786
  * Get a list of institutions
9701
9787
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -10800,6 +10886,19 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
10800
10886
  * @throws {RequiredError}
10801
10887
  */
10802
10888
  downloadBalanceStatement: (dateFrom?: string, dateTo?: string, currencies?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10889
+ /**
10890
+ * Get available Adyen payment methods for Advanced card setup (proxy to Adyen /paymentMethods)
10891
+ * @param {*} [options] Override http request option.
10892
+ * @throws {RequiredError}
10893
+ */
10894
+ getAdyenCardSetupPaymentMethods: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10895
+ /**
10896
+ * Get a bill by ID
10897
+ * @param {string} billId
10898
+ * @param {*} [options] Override http request option.
10899
+ * @throws {RequiredError}
10900
+ */
10901
+ getBill: (billId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10803
10902
  /**
10804
10903
  * Get Mandate details by mandate_id
10805
10904
  * @param {string} mandateId mandate id
@@ -10855,6 +10954,20 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
10855
10954
  * @throws {RequiredError}
10856
10955
  */
10857
10956
  getPayoutById: (payoutId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10957
+ /**
10958
+ * List bills
10959
+ * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
10960
+ * @param {string} [dateTo] ISO format (YYYY-MM-DD)
10961
+ * @param {Array<ListBillsStatusesEnum>} [statuses] Bill statuses to filter for, comma separated
10962
+ * @param {string} [userId]
10963
+ * @param {string} [externalUserId]
10964
+ * @param {Array<string>} [currencies]
10965
+ * @param {number} [offset] default is 0
10966
+ * @param {number} [limit] default is 500, max is 1000
10967
+ * @param {*} [options] Override http request option.
10968
+ * @throws {RequiredError}
10969
+ */
10970
+ listBills: (dateFrom?: string, dateTo?: string, statuses?: Array<ListBillsStatusesEnum>, userId?: string, externalUserId?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10858
10971
  /**
10859
10972
  * List mandates details
10860
10973
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -10962,6 +11075,24 @@ export declare const PaymentApiAxiosParamCreator: (configuration?: Configuration
10962
11075
  * @throws {RequiredError}
10963
11076
  */
10964
11077
  setMandateInstitution: (updateRequest: SetMandateInstitutionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11078
+ /**
11079
+ * Submit Adyen card setup payment (proxy to Adyen /payments with Drop-in state.data from onSubmit)
11080
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentRequest Full Drop-in state.data from onSubmit
11081
+ * @param {*} [options] Override http request option.
11082
+ * @throws {RequiredError}
11083
+ */
11084
+ submitAdyenCardSetupPayment: (submitAdyenCardSetupPaymentRequest: {
11085
+ [key: string]: any;
11086
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11087
+ /**
11088
+ * Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
11089
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
11090
+ * @param {*} [options] Override http request option.
11091
+ * @throws {RequiredError}
11092
+ */
11093
+ submitAdyenCardSetupPaymentDetails: (submitAdyenCardSetupPaymentDetailsRequest: {
11094
+ [key: string]: any;
11095
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10965
11096
  /**
10966
11097
  * Submit authorization checklist items
10967
11098
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
@@ -11113,6 +11244,21 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
11113
11244
  * @throws {RequiredError}
11114
11245
  */
11115
11246
  downloadBalanceStatement(dateFrom?: string, dateTo?: string, currencies?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadBalanceStatementResponse>>;
11247
+ /**
11248
+ * Get available Adyen payment methods for Advanced card setup (proxy to Adyen /paymentMethods)
11249
+ * @param {*} [options] Override http request option.
11250
+ * @throws {RequiredError}
11251
+ */
11252
+ getAdyenCardSetupPaymentMethods(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
11253
+ [key: string]: any;
11254
+ }>>;
11255
+ /**
11256
+ * Get a bill by ID
11257
+ * @param {string} billId
11258
+ * @param {*} [options] Override http request option.
11259
+ * @throws {RequiredError}
11260
+ */
11261
+ getBill(billId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBillResponse>>;
11116
11262
  /**
11117
11263
  * Get Mandate details by mandate_id
11118
11264
  * @param {string} mandateId mandate id
@@ -11168,6 +11314,20 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
11168
11314
  * @throws {RequiredError}
11169
11315
  */
11170
11316
  getPayoutById(payoutId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
11317
+ /**
11318
+ * List bills
11319
+ * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
11320
+ * @param {string} [dateTo] ISO format (YYYY-MM-DD)
11321
+ * @param {Array<ListBillsStatusesEnum>} [statuses] Bill statuses to filter for, comma separated
11322
+ * @param {string} [userId]
11323
+ * @param {string} [externalUserId]
11324
+ * @param {Array<string>} [currencies]
11325
+ * @param {number} [offset] default is 0
11326
+ * @param {number} [limit] default is 500, max is 1000
11327
+ * @param {*} [options] Override http request option.
11328
+ * @throws {RequiredError}
11329
+ */
11330
+ listBills(dateFrom?: string, dateTo?: string, statuses?: Array<ListBillsStatusesEnum>, userId?: string, externalUserId?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBillsResponse>>;
11171
11331
  /**
11172
11332
  * List mandates details
11173
11333
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -11275,6 +11435,28 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
11275
11435
  * @throws {RequiredError}
11276
11436
  */
11277
11437
  setMandateInstitution(updateRequest: SetMandateInstitutionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetMandateInstitutionResponse>>;
11438
+ /**
11439
+ * Submit Adyen card setup payment (proxy to Adyen /payments with Drop-in state.data from onSubmit)
11440
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentRequest Full Drop-in state.data from onSubmit
11441
+ * @param {*} [options] Override http request option.
11442
+ * @throws {RequiredError}
11443
+ */
11444
+ submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest: {
11445
+ [key: string]: any;
11446
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
11447
+ [key: string]: any;
11448
+ }>>;
11449
+ /**
11450
+ * Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
11451
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
11452
+ * @param {*} [options] Override http request option.
11453
+ * @throws {RequiredError}
11454
+ */
11455
+ submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest: {
11456
+ [key: string]: any;
11457
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
11458
+ [key: string]: any;
11459
+ }>>;
11278
11460
  /**
11279
11461
  * Submit authorization checklist items
11280
11462
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
@@ -11426,6 +11608,21 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
11426
11608
  * @throws {RequiredError}
11427
11609
  */
11428
11610
  downloadBalanceStatement(dateFrom?: string, dateTo?: string, currencies?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<DownloadBalanceStatementResponse>;
11611
+ /**
11612
+ * Get available Adyen payment methods for Advanced card setup (proxy to Adyen /paymentMethods)
11613
+ * @param {*} [options] Override http request option.
11614
+ * @throws {RequiredError}
11615
+ */
11616
+ getAdyenCardSetupPaymentMethods(options?: RawAxiosRequestConfig): AxiosPromise<{
11617
+ [key: string]: any;
11618
+ }>;
11619
+ /**
11620
+ * Get a bill by ID
11621
+ * @param {string} billId
11622
+ * @param {*} [options] Override http request option.
11623
+ * @throws {RequiredError}
11624
+ */
11625
+ getBill(billId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetBillResponse>;
11429
11626
  /**
11430
11627
  * Get Mandate details by mandate_id
11431
11628
  * @param {string} mandateId mandate id
@@ -11481,6 +11678,20 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
11481
11678
  * @throws {RequiredError}
11482
11679
  */
11483
11680
  getPayoutById(payoutId: string, options?: RawAxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
11681
+ /**
11682
+ * List bills
11683
+ * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
11684
+ * @param {string} [dateTo] ISO format (YYYY-MM-DD)
11685
+ * @param {Array<ListBillsStatusesEnum>} [statuses] Bill statuses to filter for, comma separated
11686
+ * @param {string} [userId]
11687
+ * @param {string} [externalUserId]
11688
+ * @param {Array<string>} [currencies]
11689
+ * @param {number} [offset] default is 0
11690
+ * @param {number} [limit] default is 500, max is 1000
11691
+ * @param {*} [options] Override http request option.
11692
+ * @throws {RequiredError}
11693
+ */
11694
+ listBills(dateFrom?: string, dateTo?: string, statuses?: Array<ListBillsStatusesEnum>, userId?: string, externalUserId?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListBillsResponse>;
11484
11695
  /**
11485
11696
  * List mandates details
11486
11697
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -11588,6 +11799,28 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
11588
11799
  * @throws {RequiredError}
11589
11800
  */
11590
11801
  setMandateInstitution(updateRequest: SetMandateInstitutionRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetMandateInstitutionResponse>;
11802
+ /**
11803
+ * Submit Adyen card setup payment (proxy to Adyen /payments with Drop-in state.data from onSubmit)
11804
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentRequest Full Drop-in state.data from onSubmit
11805
+ * @param {*} [options] Override http request option.
11806
+ * @throws {RequiredError}
11807
+ */
11808
+ submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest: {
11809
+ [key: string]: any;
11810
+ }, options?: RawAxiosRequestConfig): AxiosPromise<{
11811
+ [key: string]: any;
11812
+ }>;
11813
+ /**
11814
+ * Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
11815
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
11816
+ * @param {*} [options] Override http request option.
11817
+ * @throws {RequiredError}
11818
+ */
11819
+ submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest: {
11820
+ [key: string]: any;
11821
+ }, options?: RawAxiosRequestConfig): AxiosPromise<{
11822
+ [key: string]: any;
11823
+ }>;
11591
11824
  /**
11592
11825
  * Submit authorization checklist items
11593
11826
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
@@ -11755,6 +11988,23 @@ export interface PaymentApiInterface {
11755
11988
  * @memberof PaymentApiInterface
11756
11989
  */
11757
11990
  downloadBalanceStatement(dateFrom?: string, dateTo?: string, currencies?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<DownloadBalanceStatementResponse>;
11991
+ /**
11992
+ * Get available Adyen payment methods for Advanced card setup (proxy to Adyen /paymentMethods)
11993
+ * @param {*} [options] Override http request option.
11994
+ * @throws {RequiredError}
11995
+ * @memberof PaymentApiInterface
11996
+ */
11997
+ getAdyenCardSetupPaymentMethods(options?: RawAxiosRequestConfig): AxiosPromise<{
11998
+ [key: string]: any;
11999
+ }>;
12000
+ /**
12001
+ * Get a bill by ID
12002
+ * @param {string} billId
12003
+ * @param {*} [options] Override http request option.
12004
+ * @throws {RequiredError}
12005
+ * @memberof PaymentApiInterface
12006
+ */
12007
+ getBill(billId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetBillResponse>;
11758
12008
  /**
11759
12009
  * Get Mandate details by mandate_id
11760
12010
  * @param {string} mandateId mandate id
@@ -11818,6 +12068,21 @@ export interface PaymentApiInterface {
11818
12068
  * @memberof PaymentApiInterface
11819
12069
  */
11820
12070
  getPayoutById(payoutId: string, options?: RawAxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
12071
+ /**
12072
+ * List bills
12073
+ * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
12074
+ * @param {string} [dateTo] ISO format (YYYY-MM-DD)
12075
+ * @param {Array<ListBillsStatusesEnum>} [statuses] Bill statuses to filter for, comma separated
12076
+ * @param {string} [userId]
12077
+ * @param {string} [externalUserId]
12078
+ * @param {Array<string>} [currencies]
12079
+ * @param {number} [offset] default is 0
12080
+ * @param {number} [limit] default is 500, max is 1000
12081
+ * @param {*} [options] Override http request option.
12082
+ * @throws {RequiredError}
12083
+ * @memberof PaymentApiInterface
12084
+ */
12085
+ listBills(dateFrom?: string, dateTo?: string, statuses?: Array<ListBillsStatusesEnum>, userId?: string, externalUserId?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListBillsResponse>;
11821
12086
  /**
11822
12087
  * List mandates details
11823
12088
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -11934,6 +12199,30 @@ export interface PaymentApiInterface {
11934
12199
  * @memberof PaymentApiInterface
11935
12200
  */
11936
12201
  setMandateInstitution(updateRequest: SetMandateInstitutionRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetMandateInstitutionResponse>;
12202
+ /**
12203
+ * Submit Adyen card setup payment (proxy to Adyen /payments with Drop-in state.data from onSubmit)
12204
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentRequest Full Drop-in state.data from onSubmit
12205
+ * @param {*} [options] Override http request option.
12206
+ * @throws {RequiredError}
12207
+ * @memberof PaymentApiInterface
12208
+ */
12209
+ submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest: {
12210
+ [key: string]: any;
12211
+ }, options?: RawAxiosRequestConfig): AxiosPromise<{
12212
+ [key: string]: any;
12213
+ }>;
12214
+ /**
12215
+ * Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
12216
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
12217
+ * @param {*} [options] Override http request option.
12218
+ * @throws {RequiredError}
12219
+ * @memberof PaymentApiInterface
12220
+ */
12221
+ submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest: {
12222
+ [key: string]: any;
12223
+ }, options?: RawAxiosRequestConfig): AxiosPromise<{
12224
+ [key: string]: any;
12225
+ }>;
11937
12226
  /**
11938
12227
  * Submit authorization checklist items
11939
12228
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
@@ -12106,6 +12395,23 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
12106
12395
  * @memberof PaymentApi
12107
12396
  */
12108
12397
  downloadBalanceStatement(dateFrom?: string, dateTo?: string, currencies?: Array<string>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DownloadBalanceStatementResponse, any, {}>>;
12398
+ /**
12399
+ * Get available Adyen payment methods for Advanced card setup (proxy to Adyen /paymentMethods)
12400
+ * @param {*} [options] Override http request option.
12401
+ * @throws {RequiredError}
12402
+ * @memberof PaymentApi
12403
+ */
12404
+ getAdyenCardSetupPaymentMethods(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
12405
+ [key: string]: any;
12406
+ }, any, {}>>;
12407
+ /**
12408
+ * Get a bill by ID
12409
+ * @param {string} billId
12410
+ * @param {*} [options] Override http request option.
12411
+ * @throws {RequiredError}
12412
+ * @memberof PaymentApi
12413
+ */
12414
+ getBill(billId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBillResponse, any, {}>>;
12109
12415
  /**
12110
12416
  * Get Mandate details by mandate_id
12111
12417
  * @param {string} mandateId mandate id
@@ -12169,6 +12475,21 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
12169
12475
  * @memberof PaymentApi
12170
12476
  */
12171
12477
  getPayoutById(payoutId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse, any, {}>>;
12478
+ /**
12479
+ * List bills
12480
+ * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
12481
+ * @param {string} [dateTo] ISO format (YYYY-MM-DD)
12482
+ * @param {Array<ListBillsStatusesEnum>} [statuses] Bill statuses to filter for, comma separated
12483
+ * @param {string} [userId]
12484
+ * @param {string} [externalUserId]
12485
+ * @param {Array<string>} [currencies]
12486
+ * @param {number} [offset] default is 0
12487
+ * @param {number} [limit] default is 500, max is 1000
12488
+ * @param {*} [options] Override http request option.
12489
+ * @throws {RequiredError}
12490
+ * @memberof PaymentApi
12491
+ */
12492
+ listBills(dateFrom?: string, dateTo?: string, statuses?: Array<ListBillsStatusesEnum>, userId?: string, externalUserId?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBillsResponse, any, {}>>;
12172
12493
  /**
12173
12494
  * List mandates details
12174
12495
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -12285,6 +12606,30 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
12285
12606
  * @memberof PaymentApi
12286
12607
  */
12287
12608
  setMandateInstitution(updateRequest: SetMandateInstitutionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetMandateInstitutionResponse, any, {}>>;
12609
+ /**
12610
+ * Submit Adyen card setup payment (proxy to Adyen /payments with Drop-in state.data from onSubmit)
12611
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentRequest Full Drop-in state.data from onSubmit
12612
+ * @param {*} [options] Override http request option.
12613
+ * @throws {RequiredError}
12614
+ * @memberof PaymentApi
12615
+ */
12616
+ submitAdyenCardSetupPayment(submitAdyenCardSetupPaymentRequest: {
12617
+ [key: string]: any;
12618
+ }, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
12619
+ [key: string]: any;
12620
+ }, any, {}>>;
12621
+ /**
12622
+ * Submit Adyen card setup payment details (proxy to Adyen /payments/details with Drop-in state.data from onAdditionalDetails)
12623
+ * @param {{ [key: string]: any; }} submitAdyenCardSetupPaymentDetailsRequest Full Drop-in state.data from onAdditionalDetails (includes details + paymentData)
12624
+ * @param {*} [options] Override http request option.
12625
+ * @throws {RequiredError}
12626
+ * @memberof PaymentApi
12627
+ */
12628
+ submitAdyenCardSetupPaymentDetails(submitAdyenCardSetupPaymentDetailsRequest: {
12629
+ [key: string]: any;
12630
+ }, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
12631
+ [key: string]: any;
12632
+ }, any, {}>>;
12288
12633
  /**
12289
12634
  * Submit authorization checklist items
12290
12635
  * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
@@ -12322,6 +12667,17 @@ export declare class PaymentApi extends BaseAPI implements PaymentApiInterface {
12322
12667
  */
12323
12668
  updateTestPaymentStatus(paymentId: string, paymentStatus: UpdateTestPaymentStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
12324
12669
  }
12670
+ /**
12671
+ * @export
12672
+ */
12673
+ export declare const ListBillsStatusesEnum: {
12674
+ readonly Unknown: "UNKNOWN";
12675
+ readonly Unpaid: "UNPAID";
12676
+ readonly Paid: "PAID";
12677
+ readonly Cancelled: "CANCELLED";
12678
+ readonly Failed: "FAILED";
12679
+ };
12680
+ export type ListBillsStatusesEnum = (typeof ListBillsStatusesEnum)[keyof typeof ListBillsStatusesEnum];
12325
12681
  /**
12326
12682
  * @export
12327
12683
  */