@finverse/sdk-typescript 0.0.252 → 0.0.254

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 +153 -8
  2. package/dist/api.js +118 -8
  3. package/package.json +3 -3
package/dist/api.d.ts CHANGED
@@ -3658,7 +3658,7 @@ export interface LinkTokenRequest {
3658
3658
  * @type {string}
3659
3659
  * @memberof LinkTokenRequest
3660
3660
  */
3661
- language?: string;
3661
+ language?: LinkTokenRequestLanguageEnum;
3662
3662
  /**
3663
3663
  *
3664
3664
  * @type {string}
@@ -3739,6 +3739,12 @@ export declare const LinkTokenRequestUiModeEnum: {
3739
3739
  readonly Standalone: "standalone";
3740
3740
  };
3741
3741
  export declare type LinkTokenRequestUiModeEnum = (typeof LinkTokenRequestUiModeEnum)[keyof typeof LinkTokenRequestUiModeEnum];
3742
+ export declare const LinkTokenRequestLanguageEnum: {
3743
+ readonly En: "en";
3744
+ readonly Vi: "vi";
3745
+ readonly Zh: "zh";
3746
+ };
3747
+ export declare type LinkTokenRequestLanguageEnum = (typeof LinkTokenRequestLanguageEnum)[keyof typeof LinkTokenRequestLanguageEnum];
3742
3748
  export declare const LinkTokenRequestAutomaticDataRefreshEnum: {
3743
3749
  readonly On: "ON";
3744
3750
  readonly Off: "OFF";
@@ -4350,7 +4356,7 @@ export interface MandateAuthLinkCustomizations {
4350
4356
  * @type {string}
4351
4357
  * @memberof MandateAuthLinkCustomizations
4352
4358
  */
4353
- language?: string;
4359
+ language?: MandateAuthLinkCustomizationsLanguageEnum;
4354
4360
  /**
4355
4361
  * Space separated list of the tags of the institutions to view.
4356
4362
  * @type {string}
@@ -4382,6 +4388,12 @@ export interface MandateAuthLinkCustomizations {
4382
4388
  */
4383
4389
  user_type?: Array<string>;
4384
4390
  }
4391
+ export declare const MandateAuthLinkCustomizationsLanguageEnum: {
4392
+ readonly En: "en";
4393
+ readonly Vi: "vi";
4394
+ readonly Zh: "zh";
4395
+ };
4396
+ export declare type MandateAuthLinkCustomizationsLanguageEnum = (typeof MandateAuthLinkCustomizationsLanguageEnum)[keyof typeof MandateAuthLinkCustomizationsLanguageEnum];
4385
4397
  export declare const MandateAuthLinkCustomizationsUiModeEnum: {
4386
4398
  readonly Iframe: "iframe";
4387
4399
  readonly Redirect: "redirect";
@@ -5223,7 +5235,7 @@ export interface PaymentLinkCustomizations {
5223
5235
  * @type {string}
5224
5236
  * @memberof PaymentLinkCustomizations
5225
5237
  */
5226
- language?: string;
5238
+ language?: PaymentLinkCustomizationsLanguageEnum;
5227
5239
  /**
5228
5240
  * The UI mode link is intended to be used in - \"iframe\", \"auto_redirect\", \"redirect\" or \"standalone\"
5229
5241
  * @type {string}
@@ -5237,6 +5249,12 @@ export interface PaymentLinkCustomizations {
5237
5249
  */
5238
5250
  redirect_uri?: string;
5239
5251
  }
5252
+ export declare const PaymentLinkCustomizationsLanguageEnum: {
5253
+ readonly En: "en";
5254
+ readonly Vi: "vi";
5255
+ readonly Zh: "zh";
5256
+ };
5257
+ export declare type PaymentLinkCustomizationsLanguageEnum = (typeof PaymentLinkCustomizationsLanguageEnum)[keyof typeof PaymentLinkCustomizationsLanguageEnum];
5240
5258
  export declare const PaymentLinkCustomizationsUiModeEnum: {
5241
5259
  readonly Iframe: "iframe";
5242
5260
  readonly Redirect: "redirect";
@@ -6591,6 +6609,69 @@ export interface RefreshData {
6591
6609
  */
6592
6610
  refresh_allowed: boolean;
6593
6611
  }
6612
+ /**
6613
+ *
6614
+ * @export
6615
+ * @interface RefreshLoginIdentityLinkCustomizations
6616
+ */
6617
+ export interface RefreshLoginIdentityLinkCustomizations {
6618
+ /**
6619
+ * ISO639-1 language code. Language to display when user open the link, default to English (en) if not specified
6620
+ * @type {string}
6621
+ * @memberof RefreshLoginIdentityLinkCustomizations
6622
+ */
6623
+ language?: RefreshLoginIdentityLinkCustomizationsLanguageEnum;
6624
+ /**
6625
+ *
6626
+ * @type {string}
6627
+ * @memberof RefreshLoginIdentityLinkCustomizations
6628
+ */
6629
+ ui_mode?: RefreshLoginIdentityLinkCustomizationsUiModeEnum;
6630
+ /**
6631
+ * Required if ui_mode is redirect or auto_redirect
6632
+ * @type {string}
6633
+ * @memberof RefreshLoginIdentityLinkCustomizations
6634
+ */
6635
+ redirect_uri?: string;
6636
+ /**
6637
+ *
6638
+ * @type {string}
6639
+ * @memberof RefreshLoginIdentityLinkCustomizations
6640
+ */
6641
+ state?: string;
6642
+ }
6643
+ export declare const RefreshLoginIdentityLinkCustomizationsLanguageEnum: {
6644
+ readonly En: "en";
6645
+ readonly Vi: "vi";
6646
+ readonly Zh: "zh";
6647
+ };
6648
+ export declare type RefreshLoginIdentityLinkCustomizationsLanguageEnum = (typeof RefreshLoginIdentityLinkCustomizationsLanguageEnum)[keyof typeof RefreshLoginIdentityLinkCustomizationsLanguageEnum];
6649
+ export declare const RefreshLoginIdentityLinkCustomizationsUiModeEnum: {
6650
+ readonly Iframe: "iframe";
6651
+ readonly Redirect: "redirect";
6652
+ readonly AutoRedirect: "auto_redirect";
6653
+ readonly Standalone: "standalone";
6654
+ };
6655
+ export declare type RefreshLoginIdentityLinkCustomizationsUiModeEnum = (typeof RefreshLoginIdentityLinkCustomizationsUiModeEnum)[keyof typeof RefreshLoginIdentityLinkCustomizationsUiModeEnum];
6656
+ /**
6657
+ *
6658
+ * @export
6659
+ * @interface RefreshLoginIdentityRequest
6660
+ */
6661
+ export interface RefreshLoginIdentityRequest {
6662
+ /**
6663
+ * Indicate whether the user is present in this flow. If the user is not present, only institutions that do not require 2fa can be refreshed
6664
+ * @type {boolean}
6665
+ * @memberof RefreshLoginIdentityRequest
6666
+ */
6667
+ user_present?: boolean;
6668
+ /**
6669
+ *
6670
+ * @type {RefreshLoginIdentityLinkCustomizations}
6671
+ * @memberof RefreshLoginIdentityRequest
6672
+ */
6673
+ link_customizations?: RefreshLoginIdentityLinkCustomizations;
6674
+ }
6594
6675
  /**
6595
6676
  *
6596
6677
  * @export
@@ -7135,6 +7216,23 @@ export declare const TransactionLimitsPeriodEnum: {
7135
7216
  readonly Yearly: "YEARLY";
7136
7217
  };
7137
7218
  export declare type TransactionLimitsPeriodEnum = (typeof TransactionLimitsPeriodEnum)[keyof typeof TransactionLimitsPeriodEnum];
7219
+ /**
7220
+ *
7221
+ * @export
7222
+ * @interface UpdateTestPaymentStatusRequest
7223
+ */
7224
+ export interface UpdateTestPaymentStatusRequest {
7225
+ /**
7226
+ * The payment status
7227
+ * @type {string}
7228
+ * @memberof UpdateTestPaymentStatusRequest
7229
+ */
7230
+ status?: UpdateTestPaymentStatusRequestStatusEnum;
7231
+ }
7232
+ export declare const UpdateTestPaymentStatusRequestStatusEnum: {
7233
+ readonly Executed: "EXECUTED";
7234
+ };
7235
+ export declare type UpdateTestPaymentStatusRequestStatusEnum = (typeof UpdateTestPaymentStatusRequestStatusEnum)[keyof typeof UpdateTestPaymentStatusRequestStatusEnum];
7138
7236
  /**
7139
7237
  *
7140
7238
  * @export
@@ -7412,6 +7510,14 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
7412
7510
  * @throws {RequiredError}
7413
7511
  */
7414
7512
  submitAuthChecklist: (submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7513
+ /**
7514
+ * Update the status of a test manual payment
7515
+ * @param {string} paymentId The test payment ID
7516
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
7517
+ * @param {*} [options] Override http request option.
7518
+ * @throws {RequiredError}
7519
+ */
7520
+ updateTestPaymentStatus: (paymentId: string, paymentStatus: UpdateTestPaymentStatusRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7415
7521
  };
7416
7522
  /**
7417
7523
  * CustomerApi - functional programming interface
@@ -7584,6 +7690,14 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
7584
7690
  * @throws {RequiredError}
7585
7691
  */
7586
7692
  submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAuthChecklistResponse>>;
7693
+ /**
7694
+ * Update the status of a test manual payment
7695
+ * @param {string} paymentId The test payment ID
7696
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
7697
+ * @param {*} [options] Override http request option.
7698
+ * @throws {RequiredError}
7699
+ */
7700
+ updateTestPaymentStatus(paymentId: string, paymentStatus: UpdateTestPaymentStatusRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7587
7701
  };
7588
7702
  /**
7589
7703
  * CustomerApi - factory interface
@@ -7756,6 +7870,14 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
7756
7870
  * @throws {RequiredError}
7757
7871
  */
7758
7872
  submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: any): AxiosPromise<SubmitAuthChecklistResponse>;
7873
+ /**
7874
+ * Update the status of a test manual payment
7875
+ * @param {string} paymentId The test payment ID
7876
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
7877
+ * @param {*} [options] Override http request option.
7878
+ * @throws {RequiredError}
7879
+ */
7880
+ updateTestPaymentStatus(paymentId: string, paymentStatus: UpdateTestPaymentStatusRequest, options?: any): AxiosPromise<void>;
7759
7881
  };
7760
7882
  /**
7761
7883
  * CustomerApi - interface
@@ -7952,6 +8074,15 @@ export interface CustomerApiInterface {
7952
8074
  * @memberof CustomerApiInterface
7953
8075
  */
7954
8076
  submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): AxiosPromise<SubmitAuthChecklistResponse>;
8077
+ /**
8078
+ * Update the status of a test manual payment
8079
+ * @param {string} paymentId The test payment ID
8080
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
8081
+ * @param {*} [options] Override http request option.
8082
+ * @throws {RequiredError}
8083
+ * @memberof CustomerApiInterface
8084
+ */
8085
+ updateTestPaymentStatus(paymentId: string, paymentStatus: UpdateTestPaymentStatusRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
7955
8086
  }
7956
8087
  /**
7957
8088
  * CustomerApi - object-oriented interface
@@ -8149,6 +8280,15 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
8149
8280
  * @memberof CustomerApi
8150
8281
  */
8151
8282
  submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
8283
+ /**
8284
+ * Update the status of a test manual payment
8285
+ * @param {string} paymentId The test payment ID
8286
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
8287
+ * @param {*} [options] Override http request option.
8288
+ * @throws {RequiredError}
8289
+ * @memberof CustomerApi
8290
+ */
8291
+ updateTestPaymentStatus(paymentId: string, paymentStatus: UpdateTestPaymentStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
8152
8292
  }
8153
8293
  /**
8154
8294
  * DefaultApi - axios parameter creator
@@ -9679,10 +9819,11 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
9679
9819
  listTransactionsByLoginIdentityId: (offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9680
9820
  /**
9681
9821
  * Create a refresh job for a login identity
9822
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
9682
9823
  * @param {*} [options] Override http request option.
9683
9824
  * @throws {RequiredError}
9684
9825
  */
9685
- refreshLoginIdentity: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
9826
+ refreshLoginIdentity: (refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9686
9827
  };
9687
9828
  /**
9688
9829
  * LoginIdentityApi - functional programming interface
@@ -9796,10 +9937,11 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
9796
9937
  listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
9797
9938
  /**
9798
9939
  * Create a refresh job for a login identity
9940
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
9799
9941
  * @param {*} [options] Override http request option.
9800
9942
  * @throws {RequiredError}
9801
9943
  */
9802
- refreshLoginIdentity(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9944
+ refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkTokenResponse>>;
9803
9945
  };
9804
9946
  /**
9805
9947
  * LoginIdentityApi - factory interface
@@ -9913,10 +10055,11 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
9913
10055
  listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
9914
10056
  /**
9915
10057
  * Create a refresh job for a login identity
10058
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
9916
10059
  * @param {*} [options] Override http request option.
9917
10060
  * @throws {RequiredError}
9918
10061
  */
9919
- refreshLoginIdentity(options?: any): AxiosPromise<void>;
10062
+ refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: any): AxiosPromise<LinkTokenResponse>;
9920
10063
  };
9921
10064
  /**
9922
10065
  * LoginIdentityApi - interface
@@ -10046,11 +10189,12 @@ export interface LoginIdentityApiInterface {
10046
10189
  listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
10047
10190
  /**
10048
10191
  * Create a refresh job for a login identity
10192
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
10049
10193
  * @param {*} [options] Override http request option.
10050
10194
  * @throws {RequiredError}
10051
10195
  * @memberof LoginIdentityApiInterface
10052
10196
  */
10053
- refreshLoginIdentity(options?: AxiosRequestConfig): AxiosPromise<void>;
10197
+ refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): AxiosPromise<LinkTokenResponse>;
10054
10198
  }
10055
10199
  /**
10056
10200
  * LoginIdentityApi - object-oriented interface
@@ -10181,11 +10325,12 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
10181
10325
  listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
10182
10326
  /**
10183
10327
  * Create a refresh job for a login identity
10328
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
10184
10329
  * @param {*} [options] Override http request option.
10185
10330
  * @throws {RequiredError}
10186
10331
  * @memberof LoginIdentityApi
10187
10332
  */
10188
- refreshLoginIdentity(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
10333
+ refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkTokenResponse>>;
10189
10334
  }
10190
10335
  /**
10191
10336
  * PublicApi - axios parameter creator
package/dist/api.js CHANGED
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = 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.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountDetailsAccountTypeEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = 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.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.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
25
+ exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = 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.PaymentAccountDetailsAccountTypeEnum = 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.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.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -214,6 +214,11 @@ exports.LinkTokenRequestUiModeEnum = {
214
214
  AutoRedirect: 'auto_redirect',
215
215
  Standalone: 'standalone',
216
216
  };
217
+ exports.LinkTokenRequestLanguageEnum = {
218
+ En: 'en',
219
+ Vi: 'vi',
220
+ Zh: 'zh',
221
+ };
217
222
  exports.LinkTokenRequestAutomaticDataRefreshEnum = {
218
223
  On: 'ON',
219
224
  Off: 'OFF',
@@ -224,6 +229,11 @@ exports.LoginMethodStatusEnum = {
224
229
  Alpha: 'ALPHA',
225
230
  Beta: 'BETA',
226
231
  };
232
+ exports.MandateAuthLinkCustomizationsLanguageEnum = {
233
+ En: 'en',
234
+ Vi: 'vi',
235
+ Zh: 'zh',
236
+ };
227
237
  exports.MandateAuthLinkCustomizationsUiModeEnum = {
228
238
  Iframe: 'iframe',
229
239
  Redirect: 'redirect',
@@ -248,6 +258,11 @@ exports.PaymentInfoPaymentsSupportedEnum = {
248
258
  exports.PaymentInstructionTypeEnum = {
249
259
  DebitAuthorization: 'DEBIT_AUTHORIZATION',
250
260
  };
261
+ exports.PaymentLinkCustomizationsLanguageEnum = {
262
+ En: 'en',
263
+ Vi: 'vi',
264
+ Zh: 'zh',
265
+ };
251
266
  exports.PaymentLinkCustomizationsUiModeEnum = {
252
267
  Iframe: 'iframe',
253
268
  Redirect: 'redirect',
@@ -322,6 +337,17 @@ exports.RecipientAccountResponseAccountTypeEnum = {
322
337
  ExternalAccount: 'EXTERNAL_ACCOUNT',
323
338
  SettlementAccount: 'SETTLEMENT_ACCOUNT',
324
339
  };
340
+ exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = {
341
+ En: 'en',
342
+ Vi: 'vi',
343
+ Zh: 'zh',
344
+ };
345
+ exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = {
346
+ Iframe: 'iframe',
347
+ Redirect: 'redirect',
348
+ AutoRedirect: 'auto_redirect',
349
+ Standalone: 'standalone',
350
+ };
325
351
  exports.SenderDetailDetailsTypeEnum = {
326
352
  HkId: 'HK_ID',
327
353
  Passport: 'PASSPORT',
@@ -341,6 +367,9 @@ exports.TransactionLimitsPeriodEnum = {
341
367
  Quarterly: 'QUARTERLY',
342
368
  Yearly: 'YEARLY',
343
369
  };
370
+ exports.UpdateTestPaymentStatusRequestStatusEnum = {
371
+ Executed: 'EXECUTED',
372
+ };
344
373
  /**
345
374
  * CustomerApi - axios parameter creator
346
375
  * @export
@@ -1080,6 +1109,41 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
1080
1109
  options: localVarRequestOptions,
1081
1110
  };
1082
1111
  }),
1112
+ /**
1113
+ * Update the status of a test manual payment
1114
+ * @param {string} paymentId The test payment ID
1115
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
1116
+ * @param {*} [options] Override http request option.
1117
+ * @throws {RequiredError}
1118
+ */
1119
+ updateTestPaymentStatus: (paymentId, paymentStatus, options = {}) => __awaiter(this, void 0, void 0, function* () {
1120
+ // verify required parameter 'paymentId' is not null or undefined
1121
+ common_1.assertParamExists('updateTestPaymentStatus', 'paymentId', paymentId);
1122
+ // verify required parameter 'paymentStatus' is not null or undefined
1123
+ common_1.assertParamExists('updateTestPaymentStatus', 'paymentStatus', paymentStatus);
1124
+ const localVarPath = `/testing/payments/{paymentId}/status`.replace(`{${'paymentId'}}`, encodeURIComponent(String(paymentId)));
1125
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1126
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1127
+ let baseOptions;
1128
+ if (configuration) {
1129
+ baseOptions = configuration.baseOptions;
1130
+ }
1131
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1132
+ const localVarHeaderParameter = {};
1133
+ const localVarQueryParameter = {};
1134
+ // authentication Oauth2 required
1135
+ // oauth required
1136
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
1137
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1138
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1139
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1140
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1141
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(paymentStatus, localVarRequestOptions, configuration);
1142
+ return {
1143
+ url: common_1.toPathString(localVarUrlObj),
1144
+ options: localVarRequestOptions,
1145
+ };
1146
+ }),
1083
1147
  };
1084
1148
  };
1085
1149
  /**
@@ -1370,6 +1434,19 @@ exports.CustomerApiFp = function (configuration) {
1370
1434
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1371
1435
  });
1372
1436
  },
1437
+ /**
1438
+ * Update the status of a test manual payment
1439
+ * @param {string} paymentId The test payment ID
1440
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
1441
+ * @param {*} [options] Override http request option.
1442
+ * @throws {RequiredError}
1443
+ */
1444
+ updateTestPaymentStatus(paymentId, paymentStatus, options) {
1445
+ return __awaiter(this, void 0, void 0, function* () {
1446
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTestPaymentStatus(paymentId, paymentStatus, options);
1447
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1448
+ });
1449
+ },
1373
1450
  };
1374
1451
  };
1375
1452
  /**
@@ -1611,6 +1688,18 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
1611
1688
  .submitAuthChecklist(submitAuthChecklistRequest, options)
1612
1689
  .then((request) => request(axios, basePath));
1613
1690
  },
1691
+ /**
1692
+ * Update the status of a test manual payment
1693
+ * @param {string} paymentId The test payment ID
1694
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
1695
+ * @param {*} [options] Override http request option.
1696
+ * @throws {RequiredError}
1697
+ */
1698
+ updateTestPaymentStatus(paymentId, paymentStatus, options) {
1699
+ return localVarFp
1700
+ .updateTestPaymentStatus(paymentId, paymentStatus, options)
1701
+ .then((request) => request(axios, basePath));
1702
+ },
1614
1703
  };
1615
1704
  };
1616
1705
  /**
@@ -1901,6 +1990,19 @@ class CustomerApi extends base_1.BaseAPI {
1901
1990
  .submitAuthChecklist(submitAuthChecklistRequest, options)
1902
1991
  .then((request) => request(this.axios, this.basePath));
1903
1992
  }
1993
+ /**
1994
+ * Update the status of a test manual payment
1995
+ * @param {string} paymentId The test payment ID
1996
+ * @param {UpdateTestPaymentStatusRequest} paymentStatus Request body for updating the test manual payment status
1997
+ * @param {*} [options] Override http request option.
1998
+ * @throws {RequiredError}
1999
+ * @memberof CustomerApi
2000
+ */
2001
+ updateTestPaymentStatus(paymentId, paymentStatus, options) {
2002
+ return exports.CustomerApiFp(this.configuration)
2003
+ .updateTestPaymentStatus(paymentId, paymentStatus, options)
2004
+ .then((request) => request(this.axios, this.basePath));
2005
+ }
1904
2006
  }
1905
2007
  exports.CustomerApi = CustomerApi;
1906
2008
  /**
@@ -4785,10 +4887,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
4785
4887
  }),
4786
4888
  /**
4787
4889
  * Create a refresh job for a login identity
4890
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
4788
4891
  * @param {*} [options] Override http request option.
4789
4892
  * @throws {RequiredError}
4790
4893
  */
4791
- refreshLoginIdentity: (options = {}) => __awaiter(this, void 0, void 0, function* () {
4894
+ refreshLoginIdentity: (refreshLoginIdentityReq, options = {}) => __awaiter(this, void 0, void 0, function* () {
4792
4895
  const localVarPath = `/login_identity/refresh`;
4793
4896
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4794
4897
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4802,9 +4905,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
4802
4905
  // authentication Oauth2 required
4803
4906
  // oauth required
4804
4907
  yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
4908
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4805
4909
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
4806
4910
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4807
4911
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4912
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(refreshLoginIdentityReq, localVarRequestOptions, configuration);
4808
4913
  return {
4809
4914
  url: common_1.toPathString(localVarUrlObj),
4810
4915
  options: localVarRequestOptions,
@@ -5001,12 +5106,13 @@ exports.LoginIdentityApiFp = function (configuration) {
5001
5106
  },
5002
5107
  /**
5003
5108
  * Create a refresh job for a login identity
5109
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
5004
5110
  * @param {*} [options] Override http request option.
5005
5111
  * @throws {RequiredError}
5006
5112
  */
5007
- refreshLoginIdentity(options) {
5113
+ refreshLoginIdentity(refreshLoginIdentityReq, options) {
5008
5114
  return __awaiter(this, void 0, void 0, function* () {
5009
- const localVarAxiosArgs = yield localVarAxiosParamCreator.refreshLoginIdentity(options);
5115
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refreshLoginIdentity(refreshLoginIdentityReq, options);
5010
5116
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5011
5117
  });
5012
5118
  },
@@ -5160,11 +5266,14 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
5160
5266
  },
5161
5267
  /**
5162
5268
  * Create a refresh job for a login identity
5269
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
5163
5270
  * @param {*} [options] Override http request option.
5164
5271
  * @throws {RequiredError}
5165
5272
  */
5166
- refreshLoginIdentity(options) {
5167
- return localVarFp.refreshLoginIdentity(options).then((request) => request(axios, basePath));
5273
+ refreshLoginIdentity(refreshLoginIdentityReq, options) {
5274
+ return localVarFp
5275
+ .refreshLoginIdentity(refreshLoginIdentityReq, options)
5276
+ .then((request) => request(axios, basePath));
5168
5277
  },
5169
5278
  };
5170
5279
  };
@@ -5357,13 +5466,14 @@ class LoginIdentityApi extends base_1.BaseAPI {
5357
5466
  }
5358
5467
  /**
5359
5468
  * Create a refresh job for a login identity
5469
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
5360
5470
  * @param {*} [options] Override http request option.
5361
5471
  * @throws {RequiredError}
5362
5472
  * @memberof LoginIdentityApi
5363
5473
  */
5364
- refreshLoginIdentity(options) {
5474
+ refreshLoginIdentity(refreshLoginIdentityReq, options) {
5365
5475
  return exports.LoginIdentityApiFp(this.configuration)
5366
- .refreshLoginIdentity(options)
5476
+ .refreshLoginIdentity(refreshLoginIdentityReq, options)
5367
5477
  .then((request) => request(this.axios, this.basePath));
5368
5478
  }
5369
5479
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.252",
3
+ "version": "0.0.254",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -21,12 +21,12 @@
21
21
  "axios": "^0.21.4"
22
22
  },
23
23
  "devDependencies": {
24
- "@types/chai": "^4.3.17",
24
+ "@types/chai": "^4.3.19",
25
25
  "@types/mocha": "^10.0.7",
26
26
  "@types/node": "^12.11.5",
27
27
  "axios-mock-adapter": "^1.21.2",
28
28
  "chai": "^5.1.1",
29
- "mocha": "^10.7.0",
29
+ "mocha": "^10.7.3",
30
30
  "ts-node": "^10.9.2",
31
31
  "typescript": "^3.6.4"
32
32
  },