@finverse/sdk-typescript 0.0.4 → 0.0.7

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 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
  */
@@ -1329,6 +1341,18 @@ export interface LinkTokenRequest {
1329
1341
  * @memberof LinkTokenRequest
1330
1342
  */
1331
1343
  products_supported?: Array<string>;
1344
+ /**
1345
+ * products that is requested
1346
+ * @type {Array<string>}
1347
+ * @memberof LinkTokenRequest
1348
+ */
1349
+ products_requested?: Array<string>;
1350
+ /**
1351
+ * The identifier returned after creating payment instruction
1352
+ * @type {string}
1353
+ * @memberof LinkTokenRequest
1354
+ */
1355
+ payment_instruction_id?: string;
1332
1356
  }
1333
1357
  export declare const LinkTokenRequestUiModeEnum: {
1334
1358
  readonly Iframe: "iframe";
@@ -1793,6 +1817,12 @@ export interface PaymentDetails {
1793
1817
  * @interface PaymentInstruction
1794
1818
  */
1795
1819
  export interface PaymentInstruction {
1820
+ /**
1821
+ * What type of payment is being created
1822
+ * @type {string}
1823
+ * @memberof PaymentInstruction
1824
+ */
1825
+ payment_type: PaymentInstructionPaymentTypeEnum;
1796
1826
  /**
1797
1827
  * The recipient name
1798
1828
  * @type {string}
@@ -1854,6 +1884,10 @@ export interface PaymentInstruction {
1854
1884
  */
1855
1885
  idempotence_key?: string;
1856
1886
  }
1887
+ export declare const PaymentInstructionPaymentTypeEnum: {
1888
+ readonly DebitAuthorization: "DEBIT_AUTHORIZATION";
1889
+ };
1890
+ export declare type PaymentInstructionPaymentTypeEnum = typeof PaymentInstructionPaymentTypeEnum[keyof typeof PaymentInstructionPaymentTypeEnum];
1857
1891
  /**
1858
1892
  *
1859
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.4",
3
+ "version": "0.0.7",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [