@finverse/sdk-typescript 0.0.253 → 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.
- package/dist/api.d.ts +94 -8
- package/dist/api.js +42 -8
- package/package.json +2 -2
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?:
|
|
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?:
|
|
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?:
|
|
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
|
|
@@ -9738,10 +9819,11 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
9738
9819
|
listTransactionsByLoginIdentityId: (offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9739
9820
|
/**
|
|
9740
9821
|
* Create a refresh job for a login identity
|
|
9822
|
+
* @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
|
|
9741
9823
|
* @param {*} [options] Override http request option.
|
|
9742
9824
|
* @throws {RequiredError}
|
|
9743
9825
|
*/
|
|
9744
|
-
refreshLoginIdentity: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9826
|
+
refreshLoginIdentity: (refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9745
9827
|
};
|
|
9746
9828
|
/**
|
|
9747
9829
|
* LoginIdentityApi - functional programming interface
|
|
@@ -9855,10 +9937,11 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
9855
9937
|
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
|
|
9856
9938
|
/**
|
|
9857
9939
|
* Create a refresh job for a login identity
|
|
9940
|
+
* @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
|
|
9858
9941
|
* @param {*} [options] Override http request option.
|
|
9859
9942
|
* @throws {RequiredError}
|
|
9860
9943
|
*/
|
|
9861
|
-
refreshLoginIdentity(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
9944
|
+
refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkTokenResponse>>;
|
|
9862
9945
|
};
|
|
9863
9946
|
/**
|
|
9864
9947
|
* LoginIdentityApi - factory interface
|
|
@@ -9972,10 +10055,11 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
9972
10055
|
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
|
|
9973
10056
|
/**
|
|
9974
10057
|
* Create a refresh job for a login identity
|
|
10058
|
+
* @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
|
|
9975
10059
|
* @param {*} [options] Override http request option.
|
|
9976
10060
|
* @throws {RequiredError}
|
|
9977
10061
|
*/
|
|
9978
|
-
refreshLoginIdentity(options?: any): AxiosPromise<
|
|
10062
|
+
refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: any): AxiosPromise<LinkTokenResponse>;
|
|
9979
10063
|
};
|
|
9980
10064
|
/**
|
|
9981
10065
|
* LoginIdentityApi - interface
|
|
@@ -10105,11 +10189,12 @@ export interface LoginIdentityApiInterface {
|
|
|
10105
10189
|
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
|
|
10106
10190
|
/**
|
|
10107
10191
|
* Create a refresh job for a login identity
|
|
10192
|
+
* @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
|
|
10108
10193
|
* @param {*} [options] Override http request option.
|
|
10109
10194
|
* @throws {RequiredError}
|
|
10110
10195
|
* @memberof LoginIdentityApiInterface
|
|
10111
10196
|
*/
|
|
10112
|
-
refreshLoginIdentity(options?: AxiosRequestConfig): AxiosPromise<
|
|
10197
|
+
refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): AxiosPromise<LinkTokenResponse>;
|
|
10113
10198
|
}
|
|
10114
10199
|
/**
|
|
10115
10200
|
* LoginIdentityApi - object-oriented interface
|
|
@@ -10240,11 +10325,12 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
10240
10325
|
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
|
|
10241
10326
|
/**
|
|
10242
10327
|
* Create a refresh job for a login identity
|
|
10328
|
+
* @param {RefreshLoginIdentityRequest} [refreshLoginIdentityReq]
|
|
10243
10329
|
* @param {*} [options] Override http request option.
|
|
10244
10330
|
* @throws {RequiredError}
|
|
10245
10331
|
* @memberof LoginIdentityApi
|
|
10246
10332
|
*/
|
|
10247
|
-
refreshLoginIdentity(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
10333
|
+
refreshLoginIdentity(refreshLoginIdentityReq?: RefreshLoginIdentityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkTokenResponse>>;
|
|
10248
10334
|
}
|
|
10249
10335
|
/**
|
|
10250
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.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
|
|
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.
|
|
3
|
+
"version": "0.0.254",
|
|
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.
|
|
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",
|