@finverse/sdk-typescript 0.0.294 → 0.0.296

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 +275 -0
  2. package/dist/api.js +110 -3
  3. package/package.json +2 -2
package/dist/api.d.ts CHANGED
@@ -2081,7 +2081,32 @@ export interface FVCardDetails {
2081
2081
  * @memberof FVCardDetails
2082
2082
  */
2083
2083
  collection_entity_name?: string;
2084
+ /**
2085
+ *
2086
+ * @type {string}
2087
+ * @memberof FVCardDetails
2088
+ */
2089
+ country?: string;
2090
+ /**
2091
+ *
2092
+ * @type {string}
2093
+ * @memberof FVCardDetails
2094
+ */
2095
+ fingerprint?: string;
2096
+ /**
2097
+ *
2098
+ * @type {string}
2099
+ * @memberof FVCardDetails
2100
+ */
2101
+ funding?: FVCardDetailsFundingEnum;
2084
2102
  }
2103
+ export declare const FVCardDetailsFundingEnum: {
2104
+ readonly Unknown: "UNKNOWN";
2105
+ readonly Credit: "CREDIT";
2106
+ readonly Debit: "DEBIT";
2107
+ readonly Prepaid: "PREPAID";
2108
+ };
2109
+ export type FVCardDetailsFundingEnum = (typeof FVCardDetailsFundingEnum)[keyof typeof FVCardDetailsFundingEnum];
2085
2110
  /**
2086
2111
  *
2087
2112
  * @export
@@ -4014,6 +4039,25 @@ export interface ListPaymentAccountsResponse {
4014
4039
  */
4015
4040
  payment_accounts?: Array<PaymentAccountDetails>;
4016
4041
  }
4042
+ /**
4043
+ *
4044
+ * @export
4045
+ * @interface ListPaymentAccountsWithEnrichedDataResponse
4046
+ */
4047
+ export interface ListPaymentAccountsWithEnrichedDataResponse {
4048
+ /**
4049
+ *
4050
+ * @type {Array<PaymentAccountDetailsWithEnrichedData>}
4051
+ * @memberof ListPaymentAccountsWithEnrichedDataResponse
4052
+ */
4053
+ payment_accounts?: Array<PaymentAccountDetailsWithEnrichedData>;
4054
+ /**
4055
+ * Total number of matching payment accounts
4056
+ * @type {number}
4057
+ * @memberof ListPaymentAccountsWithEnrichedDataResponse
4058
+ */
4059
+ total?: number;
4060
+ }
4017
4061
  /**
4018
4062
  *
4019
4063
  * @export
@@ -5185,6 +5229,12 @@ export interface PaymentAccountDetails {
5185
5229
  * @memberof PaymentAccountDetails
5186
5230
  */
5187
5231
  business_units?: Array<string>;
5232
+ /**
5233
+ * This field is only applicable to settlement account
5234
+ * @type {string}
5235
+ * @memberof PaymentAccountDetails
5236
+ */
5237
+ legal_entity_name?: string;
5188
5238
  /**
5189
5239
  * Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 1000 characters respectively.
5190
5240
  * @type {{ [key: string]: string; }}
@@ -5211,6 +5261,122 @@ export declare const PaymentAccountDetailsAccountTypeEnum: {
5211
5261
  readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
5212
5262
  };
5213
5263
  export type PaymentAccountDetailsAccountTypeEnum = (typeof PaymentAccountDetailsAccountTypeEnum)[keyof typeof PaymentAccountDetailsAccountTypeEnum];
5264
+ /**
5265
+ *
5266
+ * @export
5267
+ * @interface PaymentAccountDetailsWithEnrichedData
5268
+ */
5269
+ export interface PaymentAccountDetailsWithEnrichedData {
5270
+ /**
5271
+ * Payment account id
5272
+ * @type {string}
5273
+ * @memberof PaymentAccountDetailsWithEnrichedData
5274
+ */
5275
+ account_id?: string;
5276
+ /**
5277
+ *
5278
+ * @type {RecipientAccountNumber}
5279
+ * @memberof PaymentAccountDetailsWithEnrichedData
5280
+ */
5281
+ account_number?: RecipientAccountNumber;
5282
+ /**
5283
+ * Masked Account number of the payment account
5284
+ * @type {string}
5285
+ * @memberof PaymentAccountDetailsWithEnrichedData
5286
+ */
5287
+ account_number_masked?: string;
5288
+ /**
5289
+ * Type of payment account.
5290
+ * @type {string}
5291
+ * @memberof PaymentAccountDetailsWithEnrichedData
5292
+ */
5293
+ account_type?: PaymentAccountDetailsWithEnrichedDataAccountTypeEnum;
5294
+ /**
5295
+ * Accountholder name of the payment account
5296
+ * @type {string}
5297
+ * @memberof PaymentAccountDetailsWithEnrichedData
5298
+ */
5299
+ accountholder_name?: string;
5300
+ /**
5301
+ * Finverse Institution ID for the payment institution.
5302
+ * @type {string}
5303
+ * @memberof PaymentAccountDetailsWithEnrichedData
5304
+ */
5305
+ institution_id?: string;
5306
+ /**
5307
+ * Institution Name for the sender’s institution.
5308
+ * @type {string}
5309
+ * @memberof PaymentAccountDetailsWithEnrichedData
5310
+ */
5311
+ institution_name?: string;
5312
+ /**
5313
+ * A unique identifier generated after creating user (Finverse Payment User ID)
5314
+ * @type {string}
5315
+ * @memberof PaymentAccountDetailsWithEnrichedData
5316
+ */
5317
+ user_id?: string;
5318
+ /**
5319
+ * 3-digit code associated with bank
5320
+ * @type {string}
5321
+ * @memberof PaymentAccountDetailsWithEnrichedData
5322
+ */
5323
+ bank_code?: string;
5324
+ /**
5325
+ * 3-digit code used to identify specific bank branch
5326
+ * @type {string}
5327
+ * @memberof PaymentAccountDetailsWithEnrichedData
5328
+ */
5329
+ branch_code?: string;
5330
+ /**
5331
+ * List of currencies supported by the payment account
5332
+ * @type {Array<string>}
5333
+ * @memberof PaymentAccountDetailsWithEnrichedData
5334
+ */
5335
+ currencies?: Array<string>;
5336
+ /**
5337
+ * The business units the payment account belongs to
5338
+ * @type {Array<string>}
5339
+ * @memberof PaymentAccountDetailsWithEnrichedData
5340
+ */
5341
+ business_units?: Array<string>;
5342
+ /**
5343
+ * This field is only applicable to settlement account
5344
+ * @type {string}
5345
+ * @memberof PaymentAccountDetailsWithEnrichedData
5346
+ */
5347
+ legal_entity_name?: string;
5348
+ /**
5349
+ * Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 1000 characters respectively.
5350
+ * @type {{ [key: string]: string; }}
5351
+ * @memberof PaymentAccountDetailsWithEnrichedData
5352
+ */
5353
+ metadata?: {
5354
+ [key: string]: string;
5355
+ };
5356
+ /**
5357
+ * Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
5358
+ * @type {string}
5359
+ * @memberof PaymentAccountDetailsWithEnrichedData
5360
+ */
5361
+ created_at?: string;
5362
+ /**
5363
+ * Timestamp of when the payment link was last updated in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
5364
+ * @type {string}
5365
+ * @memberof PaymentAccountDetailsWithEnrichedData
5366
+ */
5367
+ updated_at?: string;
5368
+ /**
5369
+ *
5370
+ * @type {PaymentMethodOverview}
5371
+ * @memberof PaymentAccountDetailsWithEnrichedData
5372
+ */
5373
+ payment_method_overview?: PaymentMethodOverview;
5374
+ }
5375
+ export declare const PaymentAccountDetailsWithEnrichedDataAccountTypeEnum: {
5376
+ readonly ExternalAccount: "EXTERNAL_ACCOUNT";
5377
+ readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
5378
+ };
5379
+ export type PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = (typeof PaymentAccountDetailsWithEnrichedDataAccountTypeEnum)[keyof typeof PaymentAccountDetailsWithEnrichedDataAccountTypeEnum];
5214
5380
  /**
5215
5381
  *
5216
5382
  * @export
@@ -5951,6 +6117,55 @@ export interface PaymentMethodIntegrationMetadataStripeMetadataCustomer {
5951
6117
  */
5952
6118
  id: string;
5953
6119
  }
6120
+ /**
6121
+ *
6122
+ * @export
6123
+ * @interface PaymentMethodOverview
6124
+ */
6125
+ export interface PaymentMethodOverview {
6126
+ /**
6127
+ * STRIPE, CYBERSOURCE, UOB, DBS (only shown when payment flows funds via a 3rd party gateway direct to the customer)
6128
+ * @type {string}
6129
+ * @memberof PaymentMethodOverview
6130
+ */
6131
+ external_gateway?: string;
6132
+ /**
6133
+ * It can be either REALTIME or DELAYED
6134
+ * @type {string}
6135
+ * @memberof PaymentMethodOverview
6136
+ */
6137
+ payment_confirmation_speed?: string;
6138
+ /**
6139
+ * The payment method type, possible values CARD, MANDATE and MANUAL
6140
+ * @type {string}
6141
+ * @memberof PaymentMethodOverview
6142
+ */
6143
+ payment_method_type?: string;
6144
+ /**
6145
+ * The payment method subtype
6146
+ * @type {string}
6147
+ * @memberof PaymentMethodOverview
6148
+ */
6149
+ payment_method_subtype?: string;
6150
+ /**
6151
+ * Only shown if funds flow via Finverse, possible values FINVERSE
6152
+ * @type {string}
6153
+ * @memberof PaymentMethodOverview
6154
+ */
6155
+ payment_processor?: string;
6156
+ /**
6157
+ * Whether the payment method can move real money or not
6158
+ * @type {boolean}
6159
+ * @memberof PaymentMethodOverview
6160
+ */
6161
+ live_mode?: boolean;
6162
+ /**
6163
+ * Shows which currencies are supported
6164
+ * @type {Array<string>}
6165
+ * @memberof PaymentMethodOverview
6166
+ */
6167
+ supported_currencies?: Array<string>;
6168
+ }
5954
6169
  /**
5955
6170
  *
5956
6171
  * @export
@@ -7972,6 +8187,16 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
7972
8187
  * @throws {RequiredError}
7973
8188
  */
7974
8189
  listPaymentAccounts: (paymentUserId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8190
+ /**
8191
+ * Get payment account for customer app
8192
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
8193
+ * @param {Array<string>} [currencies] The currencies to filter for
8194
+ * @param {number} [offset] default is 0
8195
+ * @param {number} [limit] default is 500, max is 1000
8196
+ * @param {*} [options] Override http request option.
8197
+ * @throws {RequiredError}
8198
+ */
8199
+ listPaymentAccountsWithEnrichedData: (accountType?: ListPaymentAccountsWithEnrichedDataAccountTypeEnum, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7975
8200
  /**
7976
8201
  * Refresh an access token
7977
8202
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8160,6 +8385,16 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
8160
8385
  * @throws {RequiredError}
8161
8386
  */
8162
8387
  listPaymentAccounts(paymentUserId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentAccountsResponse>>;
8388
+ /**
8389
+ * Get payment account for customer app
8390
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
8391
+ * @param {Array<string>} [currencies] The currencies to filter for
8392
+ * @param {number} [offset] default is 0
8393
+ * @param {number} [limit] default is 500, max is 1000
8394
+ * @param {*} [options] Override http request option.
8395
+ * @throws {RequiredError}
8396
+ */
8397
+ listPaymentAccountsWithEnrichedData(accountType?: ListPaymentAccountsWithEnrichedDataAccountTypeEnum, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentAccountsWithEnrichedDataResponse>>;
8163
8398
  /**
8164
8399
  * Refresh an access token
8165
8400
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8348,6 +8583,16 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
8348
8583
  * @throws {RequiredError}
8349
8584
  */
8350
8585
  listPaymentAccounts(paymentUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<ListPaymentAccountsResponse>;
8586
+ /**
8587
+ * Get payment account for customer app
8588
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
8589
+ * @param {Array<string>} [currencies] The currencies to filter for
8590
+ * @param {number} [offset] default is 0
8591
+ * @param {number} [limit] default is 500, max is 1000
8592
+ * @param {*} [options] Override http request option.
8593
+ * @throws {RequiredError}
8594
+ */
8595
+ listPaymentAccountsWithEnrichedData(accountType?: ListPaymentAccountsWithEnrichedDataAccountTypeEnum, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListPaymentAccountsWithEnrichedDataResponse>;
8351
8596
  /**
8352
8597
  * Refresh an access token
8353
8598
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8557,6 +8802,17 @@ export interface CustomerApiInterface {
8557
8802
  * @memberof CustomerApiInterface
8558
8803
  */
8559
8804
  listPaymentAccounts(paymentUserId: string, options?: RawAxiosRequestConfig): AxiosPromise<ListPaymentAccountsResponse>;
8805
+ /**
8806
+ * Get payment account for customer app
8807
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
8808
+ * @param {Array<string>} [currencies] The currencies to filter for
8809
+ * @param {number} [offset] default is 0
8810
+ * @param {number} [limit] default is 500, max is 1000
8811
+ * @param {*} [options] Override http request option.
8812
+ * @throws {RequiredError}
8813
+ * @memberof CustomerApiInterface
8814
+ */
8815
+ listPaymentAccountsWithEnrichedData(accountType?: ListPaymentAccountsWithEnrichedDataAccountTypeEnum, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListPaymentAccountsWithEnrichedDataResponse>;
8560
8816
  /**
8561
8817
  * Refresh an access token
8562
8818
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8772,6 +9028,17 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
8772
9028
  * @memberof CustomerApi
8773
9029
  */
8774
9030
  listPaymentAccounts(paymentUserId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentAccountsResponse, any>>;
9031
+ /**
9032
+ * Get payment account for customer app
9033
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
9034
+ * @param {Array<string>} [currencies] The currencies to filter for
9035
+ * @param {number} [offset] default is 0
9036
+ * @param {number} [limit] default is 500, max is 1000
9037
+ * @param {*} [options] Override http request option.
9038
+ * @throws {RequiredError}
9039
+ * @memberof CustomerApi
9040
+ */
9041
+ listPaymentAccountsWithEnrichedData(accountType?: ListPaymentAccountsWithEnrichedDataAccountTypeEnum, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentAccountsWithEnrichedDataResponse, any>>;
8775
9042
  /**
8776
9043
  * Refresh an access token
8777
9044
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8832,6 +9099,14 @@ export declare const ListInstitutionsInstitutionTypeEnum: {
8832
9099
  readonly Test: "TEST";
8833
9100
  };
8834
9101
  export type ListInstitutionsInstitutionTypeEnum = (typeof ListInstitutionsInstitutionTypeEnum)[keyof typeof ListInstitutionsInstitutionTypeEnum];
9102
+ /**
9103
+ * @export
9104
+ */
9105
+ export declare const ListPaymentAccountsWithEnrichedDataAccountTypeEnum: {
9106
+ readonly ExternalAccount: "EXTERNAL_ACCOUNT";
9107
+ readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
9108
+ };
9109
+ export type ListPaymentAccountsWithEnrichedDataAccountTypeEnum = (typeof ListPaymentAccountsWithEnrichedDataAccountTypeEnum)[keyof typeof ListPaymentAccountsWithEnrichedDataAccountTypeEnum];
8835
9110
  /**
8836
9111
  * DefaultApi - axios parameter creator
8837
9112
  * @export
package/dist/api.js CHANGED
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.PaymentFvLinkResponseStatusEnum = exports.PaymentAccountDetailsAccountTypeEnum = exports.ManualPaymentConfirmationResponseStatusEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FvEmbeddedErrorModelTypeEnum = exports.FeePaidByEnum = exports.FVCardStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CardFvLinkResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
26
- exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.GetLineItemsForDisplayPaymentTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutSnapshotResponseTypeEnum = exports.PayoutSnapshotResponseStatusEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentSetupOptionsPaymentMethodTypesEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = void 0;
27
- exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = void 0;
25
+ exports.PaymentAccountDetailsAccountTypeEnum = exports.ManualPaymentConfirmationResponseStatusEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FvEmbeddedErrorModelTypeEnum = exports.FeePaidByEnum = exports.FVCardDetailsFundingEnum = exports.FVCardStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CardFvLinkResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
26
+ exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListInstitutionsInstitutionTypeEnum = exports.GetLineItemsForDisplayPaymentTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutSnapshotResponseTypeEnum = exports.PayoutSnapshotResponseStatusEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentSetupOptionsPaymentMethodTypesEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentFvLinkResponseStatusEnum = exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = void 0;
27
+ exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = void 0;
28
28
  const axios_1 = require("axios");
29
29
  // Some imports not used depending on template conditions
30
30
  // @ts-ignore
@@ -135,6 +135,12 @@ exports.FVCardStatusEnum = {
135
135
  Processing: 'PROCESSING',
136
136
  Succeeded: 'SUCCEEDED',
137
137
  };
138
+ exports.FVCardDetailsFundingEnum = {
139
+ Unknown: 'UNKNOWN',
140
+ Credit: 'CREDIT',
141
+ Debit: 'DEBIT',
142
+ Prepaid: 'PREPAID',
143
+ };
138
144
  exports.FeePaidByEnum = {
139
145
  Recipient: 'RECIPIENT',
140
146
  Sender: 'SENDER',
@@ -271,6 +277,10 @@ exports.PaymentAccountDetailsAccountTypeEnum = {
271
277
  ExternalAccount: 'EXTERNAL_ACCOUNT',
272
278
  SettlementAccount: 'SETTLEMENT_ACCOUNT',
273
279
  };
280
+ exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = {
281
+ ExternalAccount: 'EXTERNAL_ACCOUNT',
282
+ SettlementAccount: 'SETTLEMENT_ACCOUNT',
283
+ };
274
284
  exports.PaymentFvLinkResponseStatusEnum = {
275
285
  AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
276
286
  Authorizing: 'AUTHORIZING',
@@ -1061,6 +1071,49 @@ const CustomerApiAxiosParamCreator = function (configuration) {
1061
1071
  options: localVarRequestOptions,
1062
1072
  };
1063
1073
  }),
1074
+ /**
1075
+ * Get payment account for customer app
1076
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
1077
+ * @param {Array<string>} [currencies] The currencies to filter for
1078
+ * @param {number} [offset] default is 0
1079
+ * @param {number} [limit] default is 500, max is 1000
1080
+ * @param {*} [options] Override http request option.
1081
+ * @throws {RequiredError}
1082
+ */
1083
+ listPaymentAccountsWithEnrichedData: (accountType_1, currencies_1, offset_1, limit_1, ...args_1) => __awaiter(this, [accountType_1, currencies_1, offset_1, limit_1, ...args_1], void 0, function* (accountType, currencies, offset, limit, options = {}) {
1084
+ const localVarPath = `/payment_accounts`;
1085
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1086
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1087
+ let baseOptions;
1088
+ if (configuration) {
1089
+ baseOptions = configuration.baseOptions;
1090
+ }
1091
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1092
+ const localVarHeaderParameter = {};
1093
+ const localVarQueryParameter = {};
1094
+ // authentication Oauth2 required
1095
+ // oauth required
1096
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
1097
+ if (accountType !== undefined) {
1098
+ localVarQueryParameter['account_type'] = accountType;
1099
+ }
1100
+ if (currencies) {
1101
+ localVarQueryParameter['currencies'] = currencies.join(base_1.COLLECTION_FORMATS.csv);
1102
+ }
1103
+ if (offset !== undefined) {
1104
+ localVarQueryParameter['offset'] = offset;
1105
+ }
1106
+ if (limit !== undefined) {
1107
+ localVarQueryParameter['limit'] = limit;
1108
+ }
1109
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1110
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1111
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1112
+ return {
1113
+ url: (0, common_1.toPathString)(localVarUrlObj),
1114
+ options: localVarRequestOptions,
1115
+ };
1116
+ }),
1064
1117
  /**
1065
1118
  * Refresh an access token
1066
1119
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -1542,6 +1595,24 @@ const CustomerApiFp = function (configuration) {
1542
1595
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1543
1596
  });
1544
1597
  },
1598
+ /**
1599
+ * Get payment account for customer app
1600
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
1601
+ * @param {Array<string>} [currencies] The currencies to filter for
1602
+ * @param {number} [offset] default is 0
1603
+ * @param {number} [limit] default is 500, max is 1000
1604
+ * @param {*} [options] Override http request option.
1605
+ * @throws {RequiredError}
1606
+ */
1607
+ listPaymentAccountsWithEnrichedData(accountType, currencies, offset, limit, options) {
1608
+ return __awaiter(this, void 0, void 0, function* () {
1609
+ var _a, _b, _c;
1610
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentAccountsWithEnrichedData(accountType, currencies, offset, limit, options);
1611
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1612
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomerApi.listPaymentAccountsWithEnrichedData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1613
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1614
+ });
1615
+ },
1545
1616
  /**
1546
1617
  * Refresh an access token
1547
1618
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -1832,6 +1903,20 @@ const CustomerApiFactory = function (configuration, basePath, axios) {
1832
1903
  listPaymentAccounts(paymentUserId, options) {
1833
1904
  return localVarFp.listPaymentAccounts(paymentUserId, options).then((request) => request(axios, basePath));
1834
1905
  },
1906
+ /**
1907
+ * Get payment account for customer app
1908
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
1909
+ * @param {Array<string>} [currencies] The currencies to filter for
1910
+ * @param {number} [offset] default is 0
1911
+ * @param {number} [limit] default is 500, max is 1000
1912
+ * @param {*} [options] Override http request option.
1913
+ * @throws {RequiredError}
1914
+ */
1915
+ listPaymentAccountsWithEnrichedData(accountType, currencies, offset, limit, options) {
1916
+ return localVarFp
1917
+ .listPaymentAccountsWithEnrichedData(accountType, currencies, offset, limit, options)
1918
+ .then((request) => request(axios, basePath));
1919
+ },
1835
1920
  /**
1836
1921
  * Refresh an access token
1837
1922
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -2140,6 +2225,21 @@ class CustomerApi extends base_1.BaseAPI {
2140
2225
  .listPaymentAccounts(paymentUserId, options)
2141
2226
  .then((request) => request(this.axios, this.basePath));
2142
2227
  }
2228
+ /**
2229
+ * Get payment account for customer app
2230
+ * @param {ListPaymentAccountsWithEnrichedDataAccountTypeEnum} [accountType] The account_type to filter for
2231
+ * @param {Array<string>} [currencies] The currencies to filter for
2232
+ * @param {number} [offset] default is 0
2233
+ * @param {number} [limit] default is 500, max is 1000
2234
+ * @param {*} [options] Override http request option.
2235
+ * @throws {RequiredError}
2236
+ * @memberof CustomerApi
2237
+ */
2238
+ listPaymentAccountsWithEnrichedData(accountType, currencies, offset, limit, options) {
2239
+ return (0, exports.CustomerApiFp)(this.configuration)
2240
+ .listPaymentAccountsWithEnrichedData(accountType, currencies, offset, limit, options)
2241
+ .then((request) => request(this.axios, this.basePath));
2242
+ }
2143
2243
  /**
2144
2244
  * Refresh an access token
2145
2245
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -2219,6 +2319,13 @@ exports.ListInstitutionsInstitutionTypeEnum = {
2219
2319
  Wallet: 'WALLET',
2220
2320
  Test: 'TEST',
2221
2321
  };
2322
+ /**
2323
+ * @export
2324
+ */
2325
+ exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = {
2326
+ ExternalAccount: 'EXTERNAL_ACCOUNT',
2327
+ SettlementAccount: 'SETTLEMENT_ACCOUNT',
2328
+ };
2222
2329
  /**
2223
2330
  * DefaultApi - axios parameter creator
2224
2331
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.294",
3
+ "version": "0.0.296",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "axios": "1.8.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/chai": "^5.2.0",
30
+ "@types/chai": "^5.2.1",
31
31
  "@types/mocha": "^10.0.10",
32
32
  "@types/node": "12.11.5 - 12.20.42",
33
33
  "axios-mock-adapter": "^1.21.2",