@finverse/sdk-typescript 0.0.155 → 0.0.157

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
@@ -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
@@ -4643,6 +4687,12 @@ export interface Principal {
4643
4687
  * @memberof Principal
4644
4688
  */
4645
4689
  get_mandate_auth_link_request?: GetMandateAuthLinkRequest;
4690
+ /**
4691
+ *
4692
+ * @type {string}
4693
+ * @memberof Principal
4694
+ */
4695
+ currency?: string;
4646
4696
  /**
4647
4697
  *
4648
4698
  * @type {string}
@@ -5466,6 +5516,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
5466
5516
  * @throws {RequiredError}
5467
5517
  */
5468
5518
  getInstitution: (institutionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5519
+ /**
5520
+ * Get line items for display
5521
+ * @param {'MANDATE' | 'MANUAL'} paymentType The payment type
5522
+ * @param {*} [options] Override http request option.
5523
+ * @throws {RequiredError}
5524
+ */
5525
+ getLineItemsForDisplay: (paymentType: 'MANDATE' | 'MANUAL', options?: AxiosRequestConfig) => Promise<RequestArgs>;
5469
5526
  /**
5470
5527
  * Get a specific loginIdentity
5471
5528
  * @param {string} loginIdentityId The login identity id
@@ -5610,6 +5667,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
5610
5667
  * @throws {RequiredError}
5611
5668
  */
5612
5669
  getInstitution(institutionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Institution>>;
5670
+ /**
5671
+ * Get line items for display
5672
+ * @param {'MANDATE' | 'MANUAL'} paymentType The payment type
5673
+ * @param {*} [options] Override http request option.
5674
+ * @throws {RequiredError}
5675
+ */
5676
+ getLineItemsForDisplay(paymentType: 'MANDATE' | 'MANUAL', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLineItemsForDisplayResponse>>;
5613
5677
  /**
5614
5678
  * Get a specific loginIdentity
5615
5679
  * @param {string} loginIdentityId The login identity id
@@ -5754,6 +5818,13 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
5754
5818
  * @throws {RequiredError}
5755
5819
  */
5756
5820
  getInstitution(institutionId: string, options?: any): AxiosPromise<Institution>;
5821
+ /**
5822
+ * Get line items for display
5823
+ * @param {'MANDATE' | 'MANUAL'} paymentType The payment type
5824
+ * @param {*} [options] Override http request option.
5825
+ * @throws {RequiredError}
5826
+ */
5827
+ getLineItemsForDisplay(paymentType: 'MANDATE' | 'MANUAL', options?: any): AxiosPromise<GetLineItemsForDisplayResponse>;
5757
5828
  /**
5758
5829
  * Get a specific loginIdentity
5759
5830
  * @param {string} loginIdentityId The login identity id
@@ -5906,6 +5977,14 @@ export interface CustomerApiInterface {
5906
5977
  * @memberof CustomerApiInterface
5907
5978
  */
5908
5979
  getInstitution(institutionId: string, options?: AxiosRequestConfig): AxiosPromise<Institution>;
5980
+ /**
5981
+ * Get line items for display
5982
+ * @param {'MANDATE' | 'MANUAL'} paymentType The payment type
5983
+ * @param {*} [options] Override http request option.
5984
+ * @throws {RequiredError}
5985
+ * @memberof CustomerApiInterface
5986
+ */
5987
+ getLineItemsForDisplay(paymentType: 'MANDATE' | 'MANUAL', options?: AxiosRequestConfig): AxiosPromise<GetLineItemsForDisplayResponse>;
5909
5988
  /**
5910
5989
  * Get a specific loginIdentity
5911
5990
  * @param {string} loginIdentityId The login identity id
@@ -6071,6 +6150,14 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
6071
6150
  * @memberof CustomerApi
6072
6151
  */
6073
6152
  getInstitution(institutionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution>>;
6153
+ /**
6154
+ * Get line items for display
6155
+ * @param {'MANDATE' | 'MANUAL'} paymentType The payment type
6156
+ * @param {*} [options] Override http request option.
6157
+ * @throws {RequiredError}
6158
+ * @memberof CustomerApi
6159
+ */
6160
+ getLineItemsForDisplay(paymentType: 'MANDATE' | 'MANUAL', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLineItemsForDisplayResponse>>;
6074
6161
  /**
6075
6162
  * Get a specific loginIdentity
6076
6163
  * @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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.155",
3
+ "version": "0.0.157",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [