@finverse/sdk-typescript 0.0.342 → 0.0.344
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 +6 -59
- package/dist/api.js +2 -76
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1427,6 +1427,12 @@ export interface CreateMandateSender {
|
|
|
1427
1427
|
* @memberof CreateMandateSender
|
|
1428
1428
|
*/
|
|
1429
1429
|
name?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
*
|
|
1432
|
+
* @type {string}
|
|
1433
|
+
* @memberof CreateMandateSender
|
|
1434
|
+
*/
|
|
1435
|
+
email: string;
|
|
1430
1436
|
/**
|
|
1431
1437
|
* Customer App\'s user ID, representing the end-user making the payment.
|
|
1432
1438
|
* @type {string}
|
|
@@ -2777,19 +2783,6 @@ export interface GetJWKSResponse {
|
|
|
2777
2783
|
*/
|
|
2778
2784
|
keys?: Array<JWKSKey>;
|
|
2779
2785
|
}
|
|
2780
|
-
/**
|
|
2781
|
-
*
|
|
2782
|
-
* @export
|
|
2783
|
-
* @interface GetLineItemsForDisplayResponse
|
|
2784
|
-
*/
|
|
2785
|
-
export interface GetLineItemsForDisplayResponse {
|
|
2786
|
-
/**
|
|
2787
|
-
*
|
|
2788
|
-
* @type {Array<LineItem>}
|
|
2789
|
-
* @memberof GetLineItemsForDisplayResponse
|
|
2790
|
-
*/
|
|
2791
|
-
line_items?: Array<LineItem>;
|
|
2792
|
-
}
|
|
2793
2786
|
/**
|
|
2794
2787
|
*
|
|
2795
2788
|
* @export
|
|
@@ -8913,13 +8906,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
8913
8906
|
* @throws {RequiredError}
|
|
8914
8907
|
*/
|
|
8915
8908
|
getInstitution: (institutionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8916
|
-
/**
|
|
8917
|
-
* Get line items for display
|
|
8918
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
8919
|
-
* @param {*} [options] Override http request option.
|
|
8920
|
-
* @throws {RequiredError}
|
|
8921
|
-
*/
|
|
8922
|
-
getLineItemsForDisplay: (paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8923
8909
|
/**
|
|
8924
8910
|
* Get line items for display
|
|
8925
8911
|
* @param {*} [options] Override http request option.
|
|
@@ -9117,13 +9103,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
9117
9103
|
* @throws {RequiredError}
|
|
9118
9104
|
*/
|
|
9119
9105
|
getInstitution(institutionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Institution>>;
|
|
9120
|
-
/**
|
|
9121
|
-
* Get line items for display
|
|
9122
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
9123
|
-
* @param {*} [options] Override http request option.
|
|
9124
|
-
* @throws {RequiredError}
|
|
9125
|
-
*/
|
|
9126
|
-
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLineItemsForDisplayResponse>>;
|
|
9127
9106
|
/**
|
|
9128
9107
|
* Get line items for display
|
|
9129
9108
|
* @param {*} [options] Override http request option.
|
|
@@ -9321,13 +9300,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
9321
9300
|
* @throws {RequiredError}
|
|
9322
9301
|
*/
|
|
9323
9302
|
getInstitution(institutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<Institution>;
|
|
9324
|
-
/**
|
|
9325
|
-
* Get line items for display
|
|
9326
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
9327
|
-
* @param {*} [options] Override http request option.
|
|
9328
|
-
* @throws {RequiredError}
|
|
9329
|
-
*/
|
|
9330
|
-
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponse>;
|
|
9331
9303
|
/**
|
|
9332
9304
|
* Get line items for display
|
|
9333
9305
|
* @param {*} [options] Override http request option.
|
|
@@ -9535,14 +9507,6 @@ export interface CustomerApiInterface {
|
|
|
9535
9507
|
* @memberof CustomerApiInterface
|
|
9536
9508
|
*/
|
|
9537
9509
|
getInstitution(institutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<Institution>;
|
|
9538
|
-
/**
|
|
9539
|
-
* Get line items for display
|
|
9540
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
9541
|
-
* @param {*} [options] Override http request option.
|
|
9542
|
-
* @throws {RequiredError}
|
|
9543
|
-
* @memberof CustomerApiInterface
|
|
9544
|
-
*/
|
|
9545
|
-
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponse>;
|
|
9546
9510
|
/**
|
|
9547
9511
|
* Get line items for display
|
|
9548
9512
|
* @param {*} [options] Override http request option.
|
|
@@ -9768,14 +9732,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
9768
9732
|
* @memberof CustomerApi
|
|
9769
9733
|
*/
|
|
9770
9734
|
getInstitution(institutionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution, any, {}>>;
|
|
9771
|
-
/**
|
|
9772
|
-
* Get line items for display
|
|
9773
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
9774
|
-
* @param {*} [options] Override http request option.
|
|
9775
|
-
* @throws {RequiredError}
|
|
9776
|
-
* @memberof CustomerApi
|
|
9777
|
-
*/
|
|
9778
|
-
getLineItemsForDisplay(paymentType: GetLineItemsForDisplayPaymentTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLineItemsForDisplayResponse, any, {}>>;
|
|
9779
9735
|
/**
|
|
9780
9736
|
* Get line items for display
|
|
9781
9737
|
* @param {*} [options] Override http request option.
|
|
@@ -9919,15 +9875,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
9919
9875
|
*/
|
|
9920
9876
|
updateTestPaymentStatus(paymentId: string, paymentStatus: UpdateTestPaymentStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
9921
9877
|
}
|
|
9922
|
-
/**
|
|
9923
|
-
* @export
|
|
9924
|
-
*/
|
|
9925
|
-
export declare const GetLineItemsForDisplayPaymentTypeEnum: {
|
|
9926
|
-
readonly Mandate: "MANDATE";
|
|
9927
|
-
readonly Manual: "MANUAL";
|
|
9928
|
-
readonly Card: "CARD";
|
|
9929
|
-
};
|
|
9930
|
-
export type GetLineItemsForDisplayPaymentTypeEnum = (typeof GetLineItemsForDisplayPaymentTypeEnum)[keyof typeof GetLineItemsForDisplayPaymentTypeEnum];
|
|
9931
9878
|
/**
|
|
9932
9879
|
* @export
|
|
9933
9880
|
*/
|
package/dist/api.js
CHANGED
|
@@ -23,8 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.ManualPaymentConfirmationResponseStatusEnum = 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.FvEmbeddedErrorModelTypeEnum = exports.FeePaidByEnum = exports.FVCardDetailsFundingEnum = exports.FVCardStatusEnum = exports.DisputeResponseDisputeStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardFvLinkResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
|
-
exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListInstitutionsInstitutionTypeEnum = exports.
|
|
27
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum =
|
|
26
|
+
exports.ListDisputesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListInstitutionsInstitutionTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsResponsePeriodEnum = exports.TransactionLimitsRequestPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.SelectPaymentMethodRequestSenderTypeEnum = exports.SelectPaymentMethodRequestPaymentMethodTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutSnapshotResponseTypeEnum = exports.PayoutSnapshotResponseStatusEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentSetupOptionsRequestPaymentMethodTypesEnum = exports.PaymentSetupOptionsRequestFuturePaymentsEnum = exports.PaymentSetupOptionsPaymentMethodTypesEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentFvLinkResponseTypeEnum = exports.PaymentFvLinkResponseStatusEnum = exports.PaymentAccountDetailsWithEnrichedDataAccountTypeEnum = exports.PaymentAccountDetailsAccountTypeEnum = void 0;
|
|
27
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -795,36 +795,6 @@ const CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
795
795
|
options: localVarRequestOptions,
|
|
796
796
|
};
|
|
797
797
|
}),
|
|
798
|
-
/**
|
|
799
|
-
* Get line items for display
|
|
800
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
801
|
-
* @param {*} [options] Override http request option.
|
|
802
|
-
* @throws {RequiredError}
|
|
803
|
-
*/
|
|
804
|
-
getLineItemsForDisplay: (paymentType_1, ...args_1) => __awaiter(this, [paymentType_1, ...args_1], void 0, function* (paymentType, options = {}) {
|
|
805
|
-
// verify required parameter 'paymentType' is not null or undefined
|
|
806
|
-
(0, common_1.assertParamExists)('getLineItemsForDisplay', 'paymentType', paymentType);
|
|
807
|
-
const localVarPath = `/calculate/line_items/{paymentType}`.replace(`{${'paymentType'}}`, encodeURIComponent(String(paymentType)));
|
|
808
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
809
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
810
|
-
let baseOptions;
|
|
811
|
-
if (configuration) {
|
|
812
|
-
baseOptions = configuration.baseOptions;
|
|
813
|
-
}
|
|
814
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
815
|
-
const localVarHeaderParameter = {};
|
|
816
|
-
const localVarQueryParameter = {};
|
|
817
|
-
// authentication Oauth2 required
|
|
818
|
-
// oauth required
|
|
819
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
820
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
821
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
822
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
823
|
-
return {
|
|
824
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
825
|
-
options: localVarRequestOptions,
|
|
826
|
-
};
|
|
827
|
-
}),
|
|
828
798
|
/**
|
|
829
799
|
* Get line items for display
|
|
830
800
|
* @param {*} [options] Override http request option.
|
|
@@ -1521,21 +1491,6 @@ const CustomerApiFp = function (configuration) {
|
|
|
1521
1491
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1522
1492
|
});
|
|
1523
1493
|
},
|
|
1524
|
-
/**
|
|
1525
|
-
* Get line items for display
|
|
1526
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
1527
|
-
* @param {*} [options] Override http request option.
|
|
1528
|
-
* @throws {RequiredError}
|
|
1529
|
-
*/
|
|
1530
|
-
getLineItemsForDisplay(paymentType, options) {
|
|
1531
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1532
|
-
var _a, _b, _c;
|
|
1533
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLineItemsForDisplay(paymentType, options);
|
|
1534
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1535
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomerApi.getLineItemsForDisplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1536
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1537
|
-
});
|
|
1538
|
-
},
|
|
1539
1494
|
/**
|
|
1540
1495
|
* Get line items for display
|
|
1541
1496
|
* @param {*} [options] Override http request option.
|
|
@@ -1903,15 +1858,6 @@ const CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1903
1858
|
getInstitution(institutionId, options) {
|
|
1904
1859
|
return localVarFp.getInstitution(institutionId, options).then((request) => request(axios, basePath));
|
|
1905
1860
|
},
|
|
1906
|
-
/**
|
|
1907
|
-
* Get line items for display
|
|
1908
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
1909
|
-
* @param {*} [options] Override http request option.
|
|
1910
|
-
* @throws {RequiredError}
|
|
1911
|
-
*/
|
|
1912
|
-
getLineItemsForDisplay(paymentType, options) {
|
|
1913
|
-
return localVarFp.getLineItemsForDisplay(paymentType, options).then((request) => request(axios, basePath));
|
|
1914
|
-
},
|
|
1915
1861
|
/**
|
|
1916
1862
|
* Get line items for display
|
|
1917
1863
|
* @param {*} [options] Override http request option.
|
|
@@ -2206,18 +2152,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
2206
2152
|
.getInstitution(institutionId, options)
|
|
2207
2153
|
.then((request) => request(this.axios, this.basePath));
|
|
2208
2154
|
}
|
|
2209
|
-
/**
|
|
2210
|
-
* Get line items for display
|
|
2211
|
-
* @param {GetLineItemsForDisplayPaymentTypeEnum} paymentType The payment type
|
|
2212
|
-
* @param {*} [options] Override http request option.
|
|
2213
|
-
* @throws {RequiredError}
|
|
2214
|
-
* @memberof CustomerApi
|
|
2215
|
-
*/
|
|
2216
|
-
getLineItemsForDisplay(paymentType, options) {
|
|
2217
|
-
return (0, exports.CustomerApiFp)(this.configuration)
|
|
2218
|
-
.getLineItemsForDisplay(paymentType, options)
|
|
2219
|
-
.then((request) => request(this.axios, this.basePath));
|
|
2220
|
-
}
|
|
2221
2155
|
/**
|
|
2222
2156
|
* Get line items for display
|
|
2223
2157
|
* @param {*} [options] Override http request option.
|
|
@@ -2430,14 +2364,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
2430
2364
|
}
|
|
2431
2365
|
}
|
|
2432
2366
|
exports.CustomerApi = CustomerApi;
|
|
2433
|
-
/**
|
|
2434
|
-
* @export
|
|
2435
|
-
*/
|
|
2436
|
-
exports.GetLineItemsForDisplayPaymentTypeEnum = {
|
|
2437
|
-
Mandate: 'MANDATE',
|
|
2438
|
-
Manual: 'MANUAL',
|
|
2439
|
-
Card: 'CARD',
|
|
2440
|
-
};
|
|
2441
2367
|
/**
|
|
2442
2368
|
* @export
|
|
2443
2369
|
*/
|