@finverse/sdk-typescript 0.0.96 → 0.0.98
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 +67 -12
- package/dist/api.js +5 -1
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -709,10 +709,10 @@ export interface CreateMandateResponse {
|
|
|
709
709
|
mandate_details: MandateDetails;
|
|
710
710
|
/**
|
|
711
711
|
*
|
|
712
|
-
* @type {
|
|
712
|
+
* @type {FvErrorModelV2}
|
|
713
713
|
* @memberof CreateMandateResponse
|
|
714
714
|
*/
|
|
715
|
-
error?:
|
|
715
|
+
error?: FvErrorModelV2;
|
|
716
716
|
}
|
|
717
717
|
export declare const CreateMandateResponseStatusEnum: {
|
|
718
718
|
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
@@ -1153,6 +1153,19 @@ export interface ErrBodyModel {
|
|
|
1153
1153
|
*/
|
|
1154
1154
|
error?: FvErrorModel;
|
|
1155
1155
|
}
|
|
1156
|
+
/**
|
|
1157
|
+
*
|
|
1158
|
+
* @export
|
|
1159
|
+
* @interface ErrBodyModelV2
|
|
1160
|
+
*/
|
|
1161
|
+
export interface ErrBodyModelV2 {
|
|
1162
|
+
/**
|
|
1163
|
+
*
|
|
1164
|
+
* @type {FvErrorModelV2}
|
|
1165
|
+
* @memberof ErrBodyModelV2
|
|
1166
|
+
*/
|
|
1167
|
+
error?: FvErrorModelV2;
|
|
1168
|
+
}
|
|
1156
1169
|
/**
|
|
1157
1170
|
*
|
|
1158
1171
|
* @export
|
|
@@ -1250,6 +1263,48 @@ export declare const FvErrorModelTypeEnum: {
|
|
|
1250
1263
|
readonly ApiError: "API_ERROR";
|
|
1251
1264
|
};
|
|
1252
1265
|
export declare type FvErrorModelTypeEnum = typeof FvErrorModelTypeEnum[keyof typeof FvErrorModelTypeEnum];
|
|
1266
|
+
/**
|
|
1267
|
+
*
|
|
1268
|
+
* @export
|
|
1269
|
+
* @interface FvErrorModelV2
|
|
1270
|
+
*/
|
|
1271
|
+
export interface FvErrorModelV2 {
|
|
1272
|
+
/**
|
|
1273
|
+
* The error type
|
|
1274
|
+
* @type {string}
|
|
1275
|
+
* @memberof FvErrorModelV2
|
|
1276
|
+
*/
|
|
1277
|
+
type: FvErrorModelV2TypeEnum;
|
|
1278
|
+
/**
|
|
1279
|
+
*
|
|
1280
|
+
* @type {string}
|
|
1281
|
+
* @memberof FvErrorModelV2
|
|
1282
|
+
*/
|
|
1283
|
+
error_code: string;
|
|
1284
|
+
/**
|
|
1285
|
+
*
|
|
1286
|
+
* @type {string}
|
|
1287
|
+
* @memberof FvErrorModelV2
|
|
1288
|
+
*/
|
|
1289
|
+
message: string;
|
|
1290
|
+
/**
|
|
1291
|
+
*
|
|
1292
|
+
* @type {string}
|
|
1293
|
+
* @memberof FvErrorModelV2
|
|
1294
|
+
*/
|
|
1295
|
+
details: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* The request_id provided in the request header
|
|
1298
|
+
* @type {string}
|
|
1299
|
+
* @memberof FvErrorModelV2
|
|
1300
|
+
*/
|
|
1301
|
+
request_id: string;
|
|
1302
|
+
}
|
|
1303
|
+
export declare const FvErrorModelV2TypeEnum: {
|
|
1304
|
+
readonly LinkError: "LINK_ERROR";
|
|
1305
|
+
readonly ApiError: "API_ERROR";
|
|
1306
|
+
};
|
|
1307
|
+
export declare type FvErrorModelV2TypeEnum = typeof FvErrorModelV2TypeEnum[keyof typeof FvErrorModelV2TypeEnum];
|
|
1253
1308
|
/**
|
|
1254
1309
|
*
|
|
1255
1310
|
* @export
|
|
@@ -1540,10 +1595,10 @@ export interface GetMandateAuthResponse {
|
|
|
1540
1595
|
last_update: string;
|
|
1541
1596
|
/**
|
|
1542
1597
|
*
|
|
1543
|
-
* @type {
|
|
1598
|
+
* @type {FvErrorModelV2}
|
|
1544
1599
|
* @memberof GetMandateAuthResponse
|
|
1545
1600
|
*/
|
|
1546
|
-
error?:
|
|
1601
|
+
error?: FvErrorModelV2;
|
|
1547
1602
|
}
|
|
1548
1603
|
export declare const GetMandateAuthResponseMandateStatusEnum: {
|
|
1549
1604
|
readonly Created: "CREATED";
|
|
@@ -1601,10 +1656,10 @@ export interface GetMandateResponse {
|
|
|
1601
1656
|
mandate_details: MandateDetails;
|
|
1602
1657
|
/**
|
|
1603
1658
|
*
|
|
1604
|
-
* @type {
|
|
1659
|
+
* @type {FvErrorModelV2}
|
|
1605
1660
|
* @memberof GetMandateResponse
|
|
1606
1661
|
*/
|
|
1607
|
-
error?:
|
|
1662
|
+
error?: FvErrorModelV2;
|
|
1608
1663
|
}
|
|
1609
1664
|
export declare const GetMandateResponseStatusEnum: {
|
|
1610
1665
|
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
@@ -3713,10 +3768,10 @@ export interface PaymentResponse {
|
|
|
3713
3768
|
transaction_date?: string | null;
|
|
3714
3769
|
/**
|
|
3715
3770
|
*
|
|
3716
|
-
* @type {
|
|
3771
|
+
* @type {FvErrorModelV2}
|
|
3717
3772
|
* @memberof PaymentResponse
|
|
3718
3773
|
*/
|
|
3719
|
-
error?:
|
|
3774
|
+
error?: FvErrorModelV2;
|
|
3720
3775
|
}
|
|
3721
3776
|
export declare const PaymentResponseTypeEnum: {
|
|
3722
3777
|
readonly Mandate: "MANDATE";
|
|
@@ -3816,10 +3871,10 @@ export interface PayoutInstructionResponse {
|
|
|
3816
3871
|
currency?: string;
|
|
3817
3872
|
/**
|
|
3818
3873
|
*
|
|
3819
|
-
* @type {
|
|
3874
|
+
* @type {FvErrorModelV2}
|
|
3820
3875
|
* @memberof PayoutInstructionResponse
|
|
3821
3876
|
*/
|
|
3822
|
-
error?:
|
|
3877
|
+
error?: FvErrorModelV2;
|
|
3823
3878
|
}
|
|
3824
3879
|
export declare const PayoutInstructionResponseStatusEnum: {
|
|
3825
3880
|
readonly Created: "CREATED";
|
|
@@ -4010,13 +4065,13 @@ export interface RecipientResponse {
|
|
|
4010
4065
|
* @type {string}
|
|
4011
4066
|
* @memberof RecipientResponse
|
|
4012
4067
|
*/
|
|
4013
|
-
name
|
|
4068
|
+
name?: string;
|
|
4014
4069
|
/**
|
|
4015
4070
|
*
|
|
4016
4071
|
* @type {RecipientAccountResponse}
|
|
4017
4072
|
* @memberof RecipientResponse
|
|
4018
4073
|
*/
|
|
4019
|
-
recipient_account
|
|
4074
|
+
recipient_account?: RecipientAccountResponse;
|
|
4020
4075
|
/**
|
|
4021
4076
|
* Customer App\'s internal ID for the recipient
|
|
4022
4077
|
* @type {string}
|
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.SenderResponseSenderTypeEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = 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.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateSenderRequestSenderTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = 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.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderResponseSenderTypeEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = 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.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateSenderRequestSenderTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = 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
|
|
@@ -106,6 +106,10 @@ exports.FvErrorModelTypeEnum = {
|
|
|
106
106
|
LinkError: 'LINK_ERROR',
|
|
107
107
|
ApiError: 'API_ERROR',
|
|
108
108
|
};
|
|
109
|
+
exports.FvErrorModelV2TypeEnum = {
|
|
110
|
+
LinkError: 'LINK_ERROR',
|
|
111
|
+
ApiError: 'API_ERROR',
|
|
112
|
+
};
|
|
109
113
|
exports.GetBalanceHistoryResponseSourceEnum = {
|
|
110
114
|
Institution: 'INSTITUTION',
|
|
111
115
|
Computed: 'COMPUTED',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.98",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@types/node": "^12.11.5",
|
|
27
27
|
"axios-mock-adapter": "^1.21.2",
|
|
28
28
|
"chai": "^4.3.7",
|
|
29
|
-
"mocha": "^10.
|
|
29
|
+
"mocha": "^10.2.0",
|
|
30
30
|
"ts-node": "^10.9.1",
|
|
31
31
|
"typescript": "^3.6.4"
|
|
32
32
|
},
|