@finverse/sdk-typescript 0.0.155 → 0.0.156
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 +81 -0
- package/dist/api.js +69 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1587,6 +1587,19 @@ export interface GetJWKSResponse {
|
|
|
1587
1587
|
*/
|
|
1588
1588
|
keys?: Array<JWKSKey>;
|
|
1589
1589
|
}
|
|
1590
|
+
/**
|
|
1591
|
+
*
|
|
1592
|
+
* @export
|
|
1593
|
+
* @interface GetLineItemsForDisplayResponse
|
|
1594
|
+
*/
|
|
1595
|
+
export interface GetLineItemsForDisplayResponse {
|
|
1596
|
+
/**
|
|
1597
|
+
*
|
|
1598
|
+
* @type {Array<LineItem>}
|
|
1599
|
+
* @memberof GetLineItemsForDisplayResponse
|
|
1600
|
+
*/
|
|
1601
|
+
line_items?: Array<LineItem>;
|
|
1602
|
+
}
|
|
1590
1603
|
/**
|
|
1591
1604
|
*
|
|
1592
1605
|
* @export
|
|
@@ -2623,6 +2636,37 @@ export interface JWKSKey {
|
|
|
2623
2636
|
*/
|
|
2624
2637
|
x5c?: Array<string>;
|
|
2625
2638
|
}
|
|
2639
|
+
/**
|
|
2640
|
+
*
|
|
2641
|
+
* @export
|
|
2642
|
+
* @interface LineItem
|
|
2643
|
+
*/
|
|
2644
|
+
export interface LineItem {
|
|
2645
|
+
/**
|
|
2646
|
+
*
|
|
2647
|
+
* @type {string}
|
|
2648
|
+
* @memberof LineItem
|
|
2649
|
+
*/
|
|
2650
|
+
currency?: string;
|
|
2651
|
+
/**
|
|
2652
|
+
* The amount in decimal
|
|
2653
|
+
* @type {string}
|
|
2654
|
+
* @memberof LineItem
|
|
2655
|
+
*/
|
|
2656
|
+
amount?: string;
|
|
2657
|
+
/**
|
|
2658
|
+
*
|
|
2659
|
+
* @type {string}
|
|
2660
|
+
* @memberof LineItem
|
|
2661
|
+
*/
|
|
2662
|
+
item_type?: LineItemItemTypeEnum;
|
|
2663
|
+
}
|
|
2664
|
+
export declare const LineItemItemTypeEnum: {
|
|
2665
|
+
readonly AmountDue: "AMOUNT_DUE";
|
|
2666
|
+
readonly Surcharge: "SURCHARGE";
|
|
2667
|
+
readonly Total: "TOTAL";
|
|
2668
|
+
};
|
|
2669
|
+
export declare type LineItemItemTypeEnum = (typeof LineItemItemTypeEnum)[keyof typeof LineItemItemTypeEnum];
|
|
2626
2670
|
/**
|
|
2627
2671
|
*
|
|
2628
2672
|
* @export
|
|
@@ -5466,6 +5510,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5466
5510
|
* @throws {RequiredError}
|
|
5467
5511
|
*/
|
|
5468
5512
|
getInstitution: (institutionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5513
|
+
/**
|
|
5514
|
+
* Get line items for display
|
|
5515
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
5516
|
+
* @param {*} [options] Override http request option.
|
|
5517
|
+
* @throws {RequiredError}
|
|
5518
|
+
*/
|
|
5519
|
+
getLineItemsForDisplay: (paymentType: 'MANDATE' | 'MANUAL', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5469
5520
|
/**
|
|
5470
5521
|
* Get a specific loginIdentity
|
|
5471
5522
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -5610,6 +5661,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
5610
5661
|
* @throws {RequiredError}
|
|
5611
5662
|
*/
|
|
5612
5663
|
getInstitution(institutionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Institution>>;
|
|
5664
|
+
/**
|
|
5665
|
+
* Get line items for display
|
|
5666
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
5667
|
+
* @param {*} [options] Override http request option.
|
|
5668
|
+
* @throws {RequiredError}
|
|
5669
|
+
*/
|
|
5670
|
+
getLineItemsForDisplay(paymentType: 'MANDATE' | 'MANUAL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLineItemsForDisplayResponse>>;
|
|
5613
5671
|
/**
|
|
5614
5672
|
* Get a specific loginIdentity
|
|
5615
5673
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -5754,6 +5812,13 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
5754
5812
|
* @throws {RequiredError}
|
|
5755
5813
|
*/
|
|
5756
5814
|
getInstitution(institutionId: string, options?: any): AxiosPromise<Institution>;
|
|
5815
|
+
/**
|
|
5816
|
+
* Get line items for display
|
|
5817
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
5818
|
+
* @param {*} [options] Override http request option.
|
|
5819
|
+
* @throws {RequiredError}
|
|
5820
|
+
*/
|
|
5821
|
+
getLineItemsForDisplay(paymentType: 'MANDATE' | 'MANUAL', options?: any): AxiosPromise<GetLineItemsForDisplayResponse>;
|
|
5757
5822
|
/**
|
|
5758
5823
|
* Get a specific loginIdentity
|
|
5759
5824
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -5906,6 +5971,14 @@ export interface CustomerApiInterface {
|
|
|
5906
5971
|
* @memberof CustomerApiInterface
|
|
5907
5972
|
*/
|
|
5908
5973
|
getInstitution(institutionId: string, options?: AxiosRequestConfig): AxiosPromise<Institution>;
|
|
5974
|
+
/**
|
|
5975
|
+
* Get line items for display
|
|
5976
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
5977
|
+
* @param {*} [options] Override http request option.
|
|
5978
|
+
* @throws {RequiredError}
|
|
5979
|
+
* @memberof CustomerApiInterface
|
|
5980
|
+
*/
|
|
5981
|
+
getLineItemsForDisplay(paymentType: 'MANDATE' | 'MANUAL', options?: AxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponse>;
|
|
5909
5982
|
/**
|
|
5910
5983
|
* Get a specific loginIdentity
|
|
5911
5984
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -6071,6 +6144,14 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
6071
6144
|
* @memberof CustomerApi
|
|
6072
6145
|
*/
|
|
6073
6146
|
getInstitution(institutionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution>>;
|
|
6147
|
+
/**
|
|
6148
|
+
* Get line items for display
|
|
6149
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
6150
|
+
* @param {*} [options] Override http request option.
|
|
6151
|
+
* @throws {RequiredError}
|
|
6152
|
+
* @memberof CustomerApi
|
|
6153
|
+
*/
|
|
6154
|
+
getLineItemsForDisplay(paymentType: 'MANDATE' | 'MANUAL', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLineItemsForDisplayResponse>>;
|
|
6074
6155
|
/**
|
|
6075
6156
|
* Get a specific loginIdentity
|
|
6076
6157
|
* @param {string} loginIdentityId The login identity id
|
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.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = 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.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreateMandateSenderUserTypeEnum = 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.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = 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.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreateMandateSenderUserTypeEnum = 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
|
|
@@ -173,6 +173,11 @@ exports.InstitutionStatusEnum = {
|
|
|
173
173
|
Alpha: 'ALPHA',
|
|
174
174
|
Beta: 'BETA',
|
|
175
175
|
};
|
|
176
|
+
exports.LineItemItemTypeEnum = {
|
|
177
|
+
AmountDue: 'AMOUNT_DUE',
|
|
178
|
+
Surcharge: 'SURCHARGE',
|
|
179
|
+
Total: 'TOTAL',
|
|
180
|
+
};
|
|
176
181
|
exports.LinkTokenRequestUiModeEnum = {
|
|
177
182
|
Iframe: 'iframe',
|
|
178
183
|
Redirect: 'redirect',
|
|
@@ -518,6 +523,36 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
518
523
|
options: localVarRequestOptions,
|
|
519
524
|
};
|
|
520
525
|
}),
|
|
526
|
+
/**
|
|
527
|
+
* Get line items for display
|
|
528
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
529
|
+
* @param {*} [options] Override http request option.
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
*/
|
|
532
|
+
getLineItemsForDisplay: (paymentType, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
533
|
+
// verify required parameter 'paymentType' is not null or undefined
|
|
534
|
+
common_1.assertParamExists('getLineItemsForDisplay', 'paymentType', paymentType);
|
|
535
|
+
const localVarPath = `/calculate/line_items/{paymentType}`.replace(`{${'paymentType'}}`, encodeURIComponent(String(paymentType)));
|
|
536
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
537
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
538
|
+
let baseOptions;
|
|
539
|
+
if (configuration) {
|
|
540
|
+
baseOptions = configuration.baseOptions;
|
|
541
|
+
}
|
|
542
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
543
|
+
const localVarHeaderParameter = {};
|
|
544
|
+
const localVarQueryParameter = {};
|
|
545
|
+
// authentication Oauth2 required
|
|
546
|
+
// oauth required
|
|
547
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
548
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
549
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
550
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
551
|
+
return {
|
|
552
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
553
|
+
options: localVarRequestOptions,
|
|
554
|
+
};
|
|
555
|
+
}),
|
|
521
556
|
/**
|
|
522
557
|
* Get a specific loginIdentity
|
|
523
558
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -992,6 +1027,18 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
992
1027
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
993
1028
|
});
|
|
994
1029
|
},
|
|
1030
|
+
/**
|
|
1031
|
+
* Get line items for display
|
|
1032
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
1033
|
+
* @param {*} [options] Override http request option.
|
|
1034
|
+
* @throws {RequiredError}
|
|
1035
|
+
*/
|
|
1036
|
+
getLineItemsForDisplay(paymentType, options) {
|
|
1037
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1038
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLineItemsForDisplay(paymentType, options);
|
|
1039
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1040
|
+
});
|
|
1041
|
+
},
|
|
995
1042
|
/**
|
|
996
1043
|
* Get a specific loginIdentity
|
|
997
1044
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -1223,6 +1270,15 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1223
1270
|
getInstitution(institutionId, options) {
|
|
1224
1271
|
return localVarFp.getInstitution(institutionId, options).then((request) => request(axios, basePath));
|
|
1225
1272
|
},
|
|
1273
|
+
/**
|
|
1274
|
+
* Get line items for display
|
|
1275
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
1276
|
+
* @param {*} [options] Override http request option.
|
|
1277
|
+
* @throws {RequiredError}
|
|
1278
|
+
*/
|
|
1279
|
+
getLineItemsForDisplay(paymentType, options) {
|
|
1280
|
+
return localVarFp.getLineItemsForDisplay(paymentType, options).then((request) => request(axios, basePath));
|
|
1281
|
+
},
|
|
1226
1282
|
/**
|
|
1227
1283
|
* Get a specific loginIdentity
|
|
1228
1284
|
* @param {string} loginIdentityId The login identity id
|
|
@@ -1437,6 +1493,18 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1437
1493
|
.getInstitution(institutionId, options)
|
|
1438
1494
|
.then((request) => request(this.axios, this.basePath));
|
|
1439
1495
|
}
|
|
1496
|
+
/**
|
|
1497
|
+
* Get line items for display
|
|
1498
|
+
* @param {'MANDATE' | 'MANUAL'} paymentType The payment type
|
|
1499
|
+
* @param {*} [options] Override http request option.
|
|
1500
|
+
* @throws {RequiredError}
|
|
1501
|
+
* @memberof CustomerApi
|
|
1502
|
+
*/
|
|
1503
|
+
getLineItemsForDisplay(paymentType, options) {
|
|
1504
|
+
return exports.CustomerApiFp(this.configuration)
|
|
1505
|
+
.getLineItemsForDisplay(paymentType, options)
|
|
1506
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1507
|
+
}
|
|
1440
1508
|
/**
|
|
1441
1509
|
* Get a specific loginIdentity
|
|
1442
1510
|
* @param {string} loginIdentityId The login identity id
|