@finverse/sdk-typescript 0.0.253 → 0.0.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -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";
@@ -4821,6 +4833,43 @@ export interface NonSensitiveLinkStatusResponse {
4821
4833
  * @memberof NonSensitiveLinkStatusResponse
4822
4834
  */
4823
4835
  redirect_uri?: string;
4836
+ /**
4837
+ *
4838
+ * @type {NonSensitiveLinkStatusSuccessModel}
4839
+ * @memberof NonSensitiveLinkStatusResponse
4840
+ */
4841
+ success?: NonSensitiveLinkStatusSuccessModel;
4842
+ /**
4843
+ *
4844
+ * @type {ErrBodyModelV2}
4845
+ * @memberof NonSensitiveLinkStatusResponse
4846
+ */
4847
+ error?: ErrBodyModelV2;
4848
+ }
4849
+ /**
4850
+ *
4851
+ * @export
4852
+ * @interface NonSensitiveLinkStatusSuccessModel
4853
+ */
4854
+ export interface NonSensitiveLinkStatusSuccessModel {
4855
+ /**
4856
+ *
4857
+ * @type {string}
4858
+ * @memberof NonSensitiveLinkStatusSuccessModel
4859
+ */
4860
+ code?: string;
4861
+ /**
4862
+ *
4863
+ * @type {string}
4864
+ * @memberof NonSensitiveLinkStatusSuccessModel
4865
+ */
4866
+ state?: string;
4867
+ /**
4868
+ *
4869
+ * @type {string}
4870
+ * @memberof NonSensitiveLinkStatusSuccessModel
4871
+ */
4872
+ login_identity_id?: string;
4824
4873
  }
4825
4874
  /**
4826
4875
  *
@@ -5223,7 +5272,7 @@ export interface PaymentLinkCustomizations {
5223
5272
  * @type {string}
5224
5273
  * @memberof PaymentLinkCustomizations
5225
5274
  */
5226
- language?: string;
5275
+ language?: PaymentLinkCustomizationsLanguageEnum;
5227
5276
  /**
5228
5277
  * The UI mode link is intended to be used in - \"iframe\", \"auto_redirect\", \"redirect\" or \"standalone\"
5229
5278
  * @type {string}
@@ -5237,6 +5286,12 @@ export interface PaymentLinkCustomizations {
5237
5286
  */
5238
5287
  redirect_uri?: string;
5239
5288
  }
5289
+ export declare const PaymentLinkCustomizationsLanguageEnum: {
5290
+ readonly En: "en";
5291
+ readonly Vi: "vi";
5292
+ readonly Zh: "zh";
5293
+ };
5294
+ export declare type PaymentLinkCustomizationsLanguageEnum = (typeof PaymentLinkCustomizationsLanguageEnum)[keyof typeof PaymentLinkCustomizationsLanguageEnum];
5240
5295
  export declare const PaymentLinkCustomizationsUiModeEnum: {
5241
5296
  readonly Iframe: "iframe";
5242
5297
  readonly Redirect: "redirect";
@@ -6591,6 +6646,69 @@ export interface RefreshData {
6591
6646
  */
6592
6647
  refresh_allowed: boolean;
6593
6648
  }
6649
+ /**
6650
+ *
6651
+ * @export
6652
+ * @interface RefreshLoginIdentityLinkCustomizations
6653
+ */
6654
+ export interface RefreshLoginIdentityLinkCustomizations {
6655
+ /**
6656
+ * ISO639-1 language code. Language to display when user open the link, default to English (en) if not specified
6657
+ * @type {string}
6658
+ * @memberof RefreshLoginIdentityLinkCustomizations
6659
+ */
6660
+ language?: RefreshLoginIdentityLinkCustomizationsLanguageEnum;
6661
+ /**
6662
+ *
6663
+ * @type {string}
6664
+ * @memberof RefreshLoginIdentityLinkCustomizations
6665
+ */
6666
+ ui_mode?: RefreshLoginIdentityLinkCustomizationsUiModeEnum;
6667
+ /**
6668
+ * Required if ui_mode is redirect or auto_redirect
6669
+ * @type {string}
6670
+ * @memberof RefreshLoginIdentityLinkCustomizations
6671
+ */
6672
+ redirect_uri?: string;
6673
+ /**
6674
+ *
6675
+ * @type {string}
6676
+ * @memberof RefreshLoginIdentityLinkCustomizations
6677
+ */
6678
+ state?: string;
6679
+ }
6680
+ export declare const RefreshLoginIdentityLinkCustomizationsLanguageEnum: {
6681
+ readonly En: "en";
6682
+ readonly Vi: "vi";
6683
+ readonly Zh: "zh";
6684
+ };
6685
+ export declare type RefreshLoginIdentityLinkCustomizationsLanguageEnum = (typeof RefreshLoginIdentityLinkCustomizationsLanguageEnum)[keyof typeof RefreshLoginIdentityLinkCustomizationsLanguageEnum];
6686
+ export declare const RefreshLoginIdentityLinkCustomizationsUiModeEnum: {
6687
+ readonly Iframe: "iframe";
6688
+ readonly Redirect: "redirect";
6689
+ readonly AutoRedirect: "auto_redirect";
6690
+ readonly Standalone: "standalone";
6691
+ };
6692
+ export declare type RefreshLoginIdentityLinkCustomizationsUiModeEnum = (typeof RefreshLoginIdentityLinkCustomizationsUiModeEnum)[keyof typeof RefreshLoginIdentityLinkCustomizationsUiModeEnum];
6693
+ /**
6694
+ *
6695
+ * @export
6696
+ * @interface RefreshLoginIdentityRequest
6697
+ */
6698
+ export interface RefreshLoginIdentityRequest {
6699
+ /**
6700
+ * 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
6701
+ * @type {boolean}
6702
+ * @memberof RefreshLoginIdentityRequest
6703
+ */
6704
+ user_present?: boolean;
6705
+ /**
6706
+ *
6707
+ * @type {RefreshLoginIdentityLinkCustomizations}
6708
+ * @memberof RefreshLoginIdentityRequest
6709
+ */
6710
+ link_customizations?: RefreshLoginIdentityLinkCustomizations;
6711
+ }
6594
6712
  /**
6595
6713
  *
6596
6714
  * @export
@@ -9738,10 +9856,11 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
9738
9856
  listTransactionsByLoginIdentityId: (offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9739
9857
  /**
9740
9858
  * Create a refresh job for a login identity
9859
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
9741
9860
  * @param {*} [options] Override http request option.
9742
9861
  * @throws {RequiredError}
9743
9862
  */
9744
- refreshLoginIdentity: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
9863
+ refreshLoginIdentity: (refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9745
9864
  };
9746
9865
  /**
9747
9866
  * LoginIdentityApi - functional programming interface
@@ -9855,10 +9974,11 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
9855
9974
  listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
9856
9975
  /**
9857
9976
  * Create a refresh job for a login identity
9977
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
9858
9978
  * @param {*} [options] Override http request option.
9859
9979
  * @throws {RequiredError}
9860
9980
  */
9861
- refreshLoginIdentity(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
9981
+ refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkTokenResponse>>;
9862
9982
  };
9863
9983
  /**
9864
9984
  * LoginIdentityApi - factory interface
@@ -9972,10 +10092,11 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
9972
10092
  listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
9973
10093
  /**
9974
10094
  * Create a refresh job for a login identity
10095
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
9975
10096
  * @param {*} [options] Override http request option.
9976
10097
  * @throws {RequiredError}
9977
10098
  */
9978
- refreshLoginIdentity(options?: any): AxiosPromise<void>;
10099
+ refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: any): AxiosPromise<LinkTokenResponse>;
9979
10100
  };
9980
10101
  /**
9981
10102
  * LoginIdentityApi - interface
@@ -10105,11 +10226,12 @@ export interface LoginIdentityApiInterface {
10105
10226
  listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
10106
10227
  /**
10107
10228
  * Create a refresh job for a login identity
10229
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
10108
10230
  * @param {*} [options] Override http request option.
10109
10231
  * @throws {RequiredError}
10110
10232
  * @memberof LoginIdentityApiInterface
10111
10233
  */
10112
- refreshLoginIdentity(options?: AxiosRequestConfig): AxiosPromise<void>;
10234
+ refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): AxiosPromise<LinkTokenResponse>;
10113
10235
  }
10114
10236
  /**
10115
10237
  * LoginIdentityApi - object-oriented interface
@@ -10240,11 +10362,12 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
10240
10362
  listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
10241
10363
  /**
10242
10364
  * Create a refresh job for a login identity
10365
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
10243
10366
  * @param {*} [options] Override http request option.
10244
10367
  * @throws {RequiredError}
10245
10368
  * @memberof LoginIdentityApi
10246
10369
  */
10247
- refreshLoginIdentity(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
10370
+ refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkTokenResponse>>;
10248
10371
  }
10249
10372
  /**
10250
10373
  * 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.UpdateTestPaymentStatusRequestStatusEnum = 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',
@@ -4861,10 +4887,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
4861
4887
  }),
4862
4888
  /**
4863
4889
  * Create a refresh job for a login identity
4890
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
4864
4891
  * @param {*} [options] Override http request option.
4865
4892
  * @throws {RequiredError}
4866
4893
  */
4867
- refreshLoginIdentity: (options = {}) => __awaiter(this, void 0, void 0, function* () {
4894
+ refreshLoginIdentity: (refreshLoginIdentityReq, options = {}) => __awaiter(this, void 0, void 0, function* () {
4868
4895
  const localVarPath = `/login_identity/refresh`;
4869
4896
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4870
4897
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4878,9 +4905,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
4878
4905
  // authentication Oauth2 required
4879
4906
  // oauth required
4880
4907
  yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
4908
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4881
4909
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
4882
4910
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4883
4911
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4912
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(refreshLoginIdentityReq, localVarRequestOptions, configuration);
4884
4913
  return {
4885
4914
  url: common_1.toPathString(localVarUrlObj),
4886
4915
  options: localVarRequestOptions,
@@ -5077,12 +5106,13 @@ exports.LoginIdentityApiFp = function (configuration) {
5077
5106
  },
5078
5107
  /**
5079
5108
  * Create a refresh job for a login identity
5109
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
5080
5110
  * @param {*} [options] Override http request option.
5081
5111
  * @throws {RequiredError}
5082
5112
  */
5083
- refreshLoginIdentity(options) {
5113
+ refreshLoginIdentity(refreshLoginIdentityReq, options) {
5084
5114
  return __awaiter(this, void 0, void 0, function* () {
5085
- const localVarAxiosArgs = yield localVarAxiosParamCreator.refreshLoginIdentity(options);
5115
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refreshLoginIdentity(refreshLoginIdentityReq, options);
5086
5116
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
5087
5117
  });
5088
5118
  },
@@ -5236,11 +5266,14 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
5236
5266
  },
5237
5267
  /**
5238
5268
  * Create a refresh job for a login identity
5269
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
5239
5270
  * @param {*} [options] Override http request option.
5240
5271
  * @throws {RequiredError}
5241
5272
  */
5242
- refreshLoginIdentity(options) {
5243
- 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));
5244
5277
  },
5245
5278
  };
5246
5279
  };
@@ -5433,13 +5466,14 @@ class LoginIdentityApi extends base_1.BaseAPI {
5433
5466
  }
5434
5467
  /**
5435
5468
  * Create a refresh job for a login identity
5469
+ * @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
5436
5470
  * @param {*} [options] Override http request option.
5437
5471
  * @throws {RequiredError}
5438
5472
  * @memberof LoginIdentityApi
5439
5473
  */
5440
- refreshLoginIdentity(options) {
5474
+ refreshLoginIdentity(refreshLoginIdentityReq, options) {
5441
5475
  return exports.LoginIdentityApiFp(this.configuration)
5442
- .refreshLoginIdentity(options)
5476
+ .refreshLoginIdentity(refreshLoginIdentityReq, options)
5443
5477
  .then((request) => request(this.axios, this.basePath));
5444
5478
  }
5445
5479
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.253",
3
+ "version": "0.0.255",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -21,7 +21,7 @@
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",