@finverse/sdk-typescript 0.0.5 → 0.0.6
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 +22 -0
- package/dist/api.js +4 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1195,6 +1195,18 @@ export interface LinkRequest {
|
|
|
1195
1195
|
* @memberof LinkRequest
|
|
1196
1196
|
*/
|
|
1197
1197
|
store_credential: boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* products that is requested
|
|
1200
|
+
* @type {Array<string>}
|
|
1201
|
+
* @memberof LinkRequest
|
|
1202
|
+
*/
|
|
1203
|
+
products_requested?: Array<string>;
|
|
1204
|
+
/**
|
|
1205
|
+
* The identifier returned after creating payment instruction
|
|
1206
|
+
* @type {string}
|
|
1207
|
+
* @memberof LinkRequest
|
|
1208
|
+
*/
|
|
1209
|
+
payment_instruction_id?: string;
|
|
1198
1210
|
}
|
|
1199
1211
|
/**
|
|
1200
1212
|
*
|
|
@@ -1805,6 +1817,12 @@ export interface PaymentDetails {
|
|
|
1805
1817
|
* @interface PaymentInstruction
|
|
1806
1818
|
*/
|
|
1807
1819
|
export interface PaymentInstruction {
|
|
1820
|
+
/**
|
|
1821
|
+
* What type of payment is being created
|
|
1822
|
+
* @type {string}
|
|
1823
|
+
* @memberof PaymentInstruction
|
|
1824
|
+
*/
|
|
1825
|
+
payment_type: PaymentInstructionPaymentTypeEnum;
|
|
1808
1826
|
/**
|
|
1809
1827
|
* The recipient name
|
|
1810
1828
|
* @type {string}
|
|
@@ -1866,6 +1884,10 @@ export interface PaymentInstruction {
|
|
|
1866
1884
|
*/
|
|
1867
1885
|
idempotence_key?: string;
|
|
1868
1886
|
}
|
|
1887
|
+
export declare const PaymentInstructionPaymentTypeEnum: {
|
|
1888
|
+
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
1889
|
+
};
|
|
1890
|
+
export declare type PaymentInstructionPaymentTypeEnum = typeof PaymentInstructionPaymentTypeEnum[keyof typeof PaymentInstructionPaymentTypeEnum];
|
|
1869
1891
|
/**
|
|
1870
1892
|
*
|
|
1871
1893
|
* @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.LinkTokenRequestUiModeEnum = 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.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.PaymentInstructionPaymentTypeEnum = exports.LinkTokenRequestUiModeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -34,6 +34,9 @@ exports.LinkTokenRequestUiModeEnum = {
|
|
|
34
34
|
Redirect: 'redirect',
|
|
35
35
|
AutoRedirect: 'auto_redirect',
|
|
36
36
|
};
|
|
37
|
+
exports.PaymentInstructionPaymentTypeEnum = {
|
|
38
|
+
DebitAuthorization: 'DEBIT_AUTHORIZATION',
|
|
39
|
+
};
|
|
37
40
|
/**
|
|
38
41
|
* CustomerApi - axios parameter creator
|
|
39
42
|
* @export
|