@finverse/sdk-typescript 0.0.5 → 0.0.8
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 +29 -1
- 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
|
*
|
|
@@ -1276,7 +1288,7 @@ export interface LinkTokenRequest {
|
|
|
1276
1288
|
*/
|
|
1277
1289
|
ui_mode?: LinkTokenRequestUiModeEnum;
|
|
1278
1290
|
/**
|
|
1279
|
-
*
|
|
1291
|
+
* ISO639-1 language code. Language to display when user open the link, default to English (en) if not specified
|
|
1280
1292
|
* @type {string}
|
|
1281
1293
|
* @memberof LinkTokenRequest
|
|
1282
1294
|
*/
|
|
@@ -1805,6 +1817,18 @@ 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;
|
|
1826
|
+
/**
|
|
1827
|
+
* The customer provided userId that needs to match the one passed when generating link token
|
|
1828
|
+
* @type {string}
|
|
1829
|
+
* @memberof PaymentInstruction
|
|
1830
|
+
*/
|
|
1831
|
+
user_id: string;
|
|
1808
1832
|
/**
|
|
1809
1833
|
* The recipient name
|
|
1810
1834
|
* @type {string}
|
|
@@ -1866,6 +1890,10 @@ export interface PaymentInstruction {
|
|
|
1866
1890
|
*/
|
|
1867
1891
|
idempotence_key?: string;
|
|
1868
1892
|
}
|
|
1893
|
+
export declare const PaymentInstructionPaymentTypeEnum: {
|
|
1894
|
+
readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
|
|
1895
|
+
};
|
|
1896
|
+
export declare type PaymentInstructionPaymentTypeEnum = typeof PaymentInstructionPaymentTypeEnum[keyof typeof PaymentInstructionPaymentTypeEnum];
|
|
1869
1897
|
/**
|
|
1870
1898
|
*
|
|
1871
1899
|
* @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
|