@finverse/sdk-typescript 0.0.295 → 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 +250 -0
  2. package/dist/api.js +103 -2
  3. package/package.json +2 -2
package/dist/api.d.ts CHANGED
@@ -4039,6 +4039,25 @@ export interface ListPaymentAccountsResponse {
4039
4039
  */
4040
4040
  payment_accounts?: Array<PaymentAccountDetails>;
4041
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
+ }
4042
4061
  /**
4043
4062
  *
4044
4063
  * @export
@@ -5210,6 +5229,12 @@ export interface PaymentAccountDetails {
5210
5229
  * @memberof PaymentAccountDetails
5211
5230
  */
5212
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;
5213
5238
  /**
5214
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.
5215
5240
  * @type {{ [key: string]: string; }}
@@ -5236,6 +5261,122 @@ export declare const PaymentAccountDetailsAccountTypeEnum: {
5236
5261
  readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
5237
5262
  };
5238
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];
5239
5380
  /**
5240
5381
  *
5241
5382
  * @export
@@ -5976,6 +6117,55 @@ export interface PaymentMethodIntegrationMetadataStripeMetadataCustomer {
5976
6117
  */
5977
6118
  id: string;
5978
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
+ }
5979
6169
  /**
5980
6170
  *
5981
6171
  * @export
@@ -7997,6 +8187,16 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
7997
8187
  * @throws {RequiredError}
7998
8188
  */
7999
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>;
8000
8200
  /**
8001
8201
  * Refresh an access token
8002
8202
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8185,6 +8385,16 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
8185
8385
  * @throws {RequiredError}
8186
8386
  */
8187
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>>;
8188
8398
  /**
8189
8399
  * Refresh an access token
8190
8400
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8373,6 +8583,16 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
8373
8583
  * @throws {RequiredError}
8374
8584
  */
8375
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>;
8376
8596
  /**
8377
8597
  * Refresh an access token
8378
8598
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8582,6 +8802,17 @@ export interface CustomerApiInterface {
8582
8802
  * @memberof CustomerApiInterface
8583
8803
  */
8584
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>;
8585
8816
  /**
8586
8817
  * Refresh an access token
8587
8818
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8797,6 +9028,17 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
8797
9028
  * @memberof CustomerApi
8798
9029
  */
8799
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>>;
8800
9042
  /**
8801
9043
  * Refresh an access token
8802
9044
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -8857,6 +9099,14 @@ export declare const ListInstitutionsInstitutionTypeEnum: {
8857
9099
  readonly Test: "TEST";
8858
9100
  };
8859
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];
8860
9110
  /**
8861
9111
  * DefaultApi - axios parameter creator
8862
9112
  * @export
package/dist/api.js CHANGED
@@ -23,8 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
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.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 = exports.PaymentFvLinkResponseStatusEnum = 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 = 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
@@ -277,6 +277,10 @@ exports.PaymentAccountDetailsAccountTypeEnum = {
277
277
  ExternalAccount: 'EXTERNAL_ACCOUNT',
278
278
  SettlementAccount: 'SETTLEMENT_ACCOUNT',
279
279
  };
280
+ exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = {
281
+ ExternalAccount: 'EXTERNAL_ACCOUNT',
282
+ SettlementAccount: 'SETTLEMENT_ACCOUNT',
283
+ };
280
284
  exports.PaymentFvLinkResponseStatusEnum = {
281
285
  AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
282
286
  Authorizing: 'AUTHORIZING',
@@ -1067,6 +1071,49 @@ const CustomerApiAxiosParamCreator = function (configuration) {
1067
1071
  options: localVarRequestOptions,
1068
1072
  };
1069
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
+ }),
1070
1117
  /**
1071
1118
  * Refresh an access token
1072
1119
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -1548,6 +1595,24 @@ const CustomerApiFp = function (configuration) {
1548
1595
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1549
1596
  });
1550
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
+ },
1551
1616
  /**
1552
1617
  * Refresh an access token
1553
1618
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -1838,6 +1903,20 @@ const CustomerApiFactory = function (configuration, basePath, axios) {
1838
1903
  listPaymentAccounts(paymentUserId, options) {
1839
1904
  return localVarFp.listPaymentAccounts(paymentUserId, options).then((request) => request(axios, basePath));
1840
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
+ },
1841
1920
  /**
1842
1921
  * Refresh an access token
1843
1922
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -2146,6 +2225,21 @@ class CustomerApi extends base_1.BaseAPI {
2146
2225
  .listPaymentAccounts(paymentUserId, options)
2147
2226
  .then((request) => request(this.axios, this.basePath));
2148
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
+ }
2149
2243
  /**
2150
2244
  * Refresh an access token
2151
2245
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -2225,6 +2319,13 @@ exports.ListInstitutionsInstitutionTypeEnum = {
2225
2319
  Wallet: 'WALLET',
2226
2320
  Test: 'TEST',
2227
2321
  };
2322
+ /**
2323
+ * @export
2324
+ */
2325
+ exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = {
2326
+ ExternalAccount: 'EXTERNAL_ACCOUNT',
2327
+ SettlementAccount: 'SETTLEMENT_ACCOUNT',
2328
+ };
2228
2329
  /**
2229
2330
  * DefaultApi - axios parameter creator
2230
2331
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.295",
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",