@finverse/sdk-typescript 0.0.74 → 0.0.76
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 +45 -13
- package/dist/api.js +23 -5
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -684,11 +684,17 @@ export interface CreateMandateResponse {
|
|
|
684
684
|
*/
|
|
685
685
|
mandate_id: string;
|
|
686
686
|
/**
|
|
687
|
-
* Mandate status
|
|
687
|
+
* Mandate status (deprecated)
|
|
688
688
|
* @type {string}
|
|
689
689
|
* @memberof CreateMandateResponse
|
|
690
690
|
*/
|
|
691
691
|
mandate_status: CreateMandateResponseMandateStatusEnum;
|
|
692
|
+
/**
|
|
693
|
+
* Mandate status
|
|
694
|
+
* @type {string}
|
|
695
|
+
* @memberof CreateMandateResponse
|
|
696
|
+
*/
|
|
697
|
+
status: CreateMandateResponseStatusEnum;
|
|
692
698
|
/**
|
|
693
699
|
*
|
|
694
700
|
* @type {MandateRecipient}
|
|
@@ -724,6 +730,16 @@ export declare const CreateMandateResponseMandateStatusEnum: {
|
|
|
724
730
|
readonly Revoked: "REVOKED";
|
|
725
731
|
};
|
|
726
732
|
export declare type CreateMandateResponseMandateStatusEnum = typeof CreateMandateResponseMandateStatusEnum[keyof typeof CreateMandateResponseMandateStatusEnum];
|
|
733
|
+
export declare const CreateMandateResponseStatusEnum: {
|
|
734
|
+
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
735
|
+
readonly Authorizing: "AUTHORIZING";
|
|
736
|
+
readonly Processing: "PROCESSING";
|
|
737
|
+
readonly Submitted: "SUBMITTED";
|
|
738
|
+
readonly Succeeded: "SUCCEEDED";
|
|
739
|
+
readonly Failed: "FAILED";
|
|
740
|
+
readonly Revoked: "REVOKED";
|
|
741
|
+
};
|
|
742
|
+
export declare type CreateMandateResponseStatusEnum = typeof CreateMandateResponseStatusEnum[keyof typeof CreateMandateResponseStatusEnum];
|
|
727
743
|
/**
|
|
728
744
|
*
|
|
729
745
|
* @export
|
|
@@ -1409,11 +1425,17 @@ export interface GetMandateResponse {
|
|
|
1409
1425
|
*/
|
|
1410
1426
|
mandate_id: string;
|
|
1411
1427
|
/**
|
|
1412
|
-
* Mandate status
|
|
1428
|
+
* Mandate status (deprecated)
|
|
1413
1429
|
* @type {string}
|
|
1414
1430
|
* @memberof GetMandateResponse
|
|
1415
1431
|
*/
|
|
1416
1432
|
mandate_status: GetMandateResponseMandateStatusEnum;
|
|
1433
|
+
/**
|
|
1434
|
+
* Mandate status
|
|
1435
|
+
* @type {string}
|
|
1436
|
+
* @memberof GetMandateResponse
|
|
1437
|
+
*/
|
|
1438
|
+
status: GetMandateResponseStatusEnum;
|
|
1417
1439
|
/**
|
|
1418
1440
|
*
|
|
1419
1441
|
* @type {MandateRecipient}
|
|
@@ -1449,6 +1471,16 @@ export declare const GetMandateResponseMandateStatusEnum: {
|
|
|
1449
1471
|
readonly Revoked: "REVOKED";
|
|
1450
1472
|
};
|
|
1451
1473
|
export declare type GetMandateResponseMandateStatusEnum = typeof GetMandateResponseMandateStatusEnum[keyof typeof GetMandateResponseMandateStatusEnum];
|
|
1474
|
+
export declare const GetMandateResponseStatusEnum: {
|
|
1475
|
+
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
1476
|
+
readonly Authorizing: "AUTHORIZING";
|
|
1477
|
+
readonly Processing: "PROCESSING";
|
|
1478
|
+
readonly Submitted: "SUBMITTED";
|
|
1479
|
+
readonly Succeeded: "SUCCEEDED";
|
|
1480
|
+
readonly Failed: "FAILED";
|
|
1481
|
+
readonly Revoked: "REVOKED";
|
|
1482
|
+
};
|
|
1483
|
+
export declare type GetMandateResponseStatusEnum = typeof GetMandateResponseStatusEnum[keyof typeof GetMandateResponseStatusEnum];
|
|
1452
1484
|
/**
|
|
1453
1485
|
*
|
|
1454
1486
|
* @export
|
|
@@ -2020,12 +2052,6 @@ export interface Institution {
|
|
|
2020
2052
|
* @memberof Institution
|
|
2021
2053
|
*/
|
|
2022
2054
|
products_supported: Array<InstitutionProductsSupportedEnum>;
|
|
2023
|
-
/**
|
|
2024
|
-
*
|
|
2025
|
-
* @type {Array<string>}
|
|
2026
|
-
* @memberof Institution
|
|
2027
|
-
*/
|
|
2028
|
-
payments_supported: Array<InstitutionPaymentsSupportedEnum>;
|
|
2029
2055
|
/**
|
|
2030
2056
|
*
|
|
2031
2057
|
* @type {string}
|
|
@@ -2124,11 +2150,6 @@ export declare const InstitutionProductsSupportedEnum: {
|
|
|
2124
2150
|
readonly Identity: "IDENTITY";
|
|
2125
2151
|
};
|
|
2126
2152
|
export declare type InstitutionProductsSupportedEnum = typeof InstitutionProductsSupportedEnum[keyof typeof InstitutionProductsSupportedEnum];
|
|
2127
|
-
export declare const InstitutionPaymentsSupportedEnum: {
|
|
2128
|
-
readonly Mandate: "MANDATE";
|
|
2129
|
-
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
2130
|
-
};
|
|
2131
|
-
export declare type InstitutionPaymentsSupportedEnum = typeof InstitutionPaymentsSupportedEnum[keyof typeof InstitutionPaymentsSupportedEnum];
|
|
2132
2153
|
export declare const InstitutionUserTypeEnum: {
|
|
2133
2154
|
readonly Personal: "PERSONAL";
|
|
2134
2155
|
readonly Individual: "INDIVIDUAL";
|
|
@@ -3296,6 +3317,12 @@ export interface PaymentInfo {
|
|
|
3296
3317
|
* @memberof PaymentInfo
|
|
3297
3318
|
*/
|
|
3298
3319
|
currencies_supported?: Array<string>;
|
|
3320
|
+
/**
|
|
3321
|
+
*
|
|
3322
|
+
* @type {Array<string>}
|
|
3323
|
+
* @memberof PaymentInfo
|
|
3324
|
+
*/
|
|
3325
|
+
payments_supported: Array<PaymentInfoPaymentsSupportedEnum>;
|
|
3299
3326
|
/**
|
|
3300
3327
|
*
|
|
3301
3328
|
* @type {OtherInfo}
|
|
@@ -3303,6 +3330,11 @@ export interface PaymentInfo {
|
|
|
3303
3330
|
*/
|
|
3304
3331
|
other_info?: OtherInfo;
|
|
3305
3332
|
}
|
|
3333
|
+
export declare const PaymentInfoPaymentsSupportedEnum: {
|
|
3334
|
+
readonly Mandate: "MANDATE";
|
|
3335
|
+
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
3336
|
+
};
|
|
3337
|
+
export declare type PaymentInfoPaymentsSupportedEnum = typeof PaymentInfoPaymentsSupportedEnum[keyof typeof PaymentInfoPaymentsSupportedEnum];
|
|
3306
3338
|
/**
|
|
3307
3339
|
*
|
|
3308
3340
|
* @export
|
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.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.
|
|
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.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateResponseMandateStatusEnum = 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
|
|
@@ -84,6 +84,15 @@ exports.CreateMandateResponseMandateStatusEnum = {
|
|
|
84
84
|
Failed: 'FAILED',
|
|
85
85
|
Revoked: 'REVOKED',
|
|
86
86
|
};
|
|
87
|
+
exports.CreateMandateResponseStatusEnum = {
|
|
88
|
+
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
89
|
+
Authorizing: 'AUTHORIZING',
|
|
90
|
+
Processing: 'PROCESSING',
|
|
91
|
+
Submitted: 'SUBMITTED',
|
|
92
|
+
Succeeded: 'SUCCEEDED',
|
|
93
|
+
Failed: 'FAILED',
|
|
94
|
+
Revoked: 'REVOKED',
|
|
95
|
+
};
|
|
87
96
|
exports.CreateMandateSenderSenderTypeEnum = {
|
|
88
97
|
Individual: 'INDIVIDUAL',
|
|
89
98
|
Business: 'BUSINESS',
|
|
@@ -125,6 +134,15 @@ exports.GetMandateResponseMandateStatusEnum = {
|
|
|
125
134
|
Failed: 'FAILED',
|
|
126
135
|
Revoked: 'REVOKED',
|
|
127
136
|
};
|
|
137
|
+
exports.GetMandateResponseStatusEnum = {
|
|
138
|
+
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
139
|
+
Authorizing: 'AUTHORIZING',
|
|
140
|
+
Processing: 'PROCESSING',
|
|
141
|
+
Submitted: 'SUBMITTED',
|
|
142
|
+
Succeeded: 'SUCCEEDED',
|
|
143
|
+
Failed: 'FAILED',
|
|
144
|
+
Revoked: 'REVOKED',
|
|
145
|
+
};
|
|
128
146
|
exports.GetMandateSenderSenderTypeEnum = {
|
|
129
147
|
Individual: 'INDIVIDUAL',
|
|
130
148
|
Business: 'BUSINESS',
|
|
@@ -145,10 +163,6 @@ exports.InstitutionProductsSupportedEnum = {
|
|
|
145
163
|
AccountNumbers: 'ACCOUNT_NUMBERS',
|
|
146
164
|
Identity: 'IDENTITY',
|
|
147
165
|
};
|
|
148
|
-
exports.InstitutionPaymentsSupportedEnum = {
|
|
149
|
-
Mandate: 'MANDATE',
|
|
150
|
-
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
151
|
-
};
|
|
152
166
|
exports.InstitutionUserTypeEnum = {
|
|
153
167
|
Personal: 'PERSONAL',
|
|
154
168
|
Individual: 'INDIVIDUAL',
|
|
@@ -181,6 +195,10 @@ exports.MandateAuthLinkCustomizationsUiModeEnum = {
|
|
|
181
195
|
AutoRedirect: 'auto_redirect',
|
|
182
196
|
Standalone: 'standalone',
|
|
183
197
|
};
|
|
198
|
+
exports.PaymentInfoPaymentsSupportedEnum = {
|
|
199
|
+
Mandate: 'MANDATE',
|
|
200
|
+
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
201
|
+
};
|
|
184
202
|
exports.PaymentInstructionTypeEnum = {
|
|
185
203
|
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
186
204
|
};
|