@finverse/sdk-typescript 0.0.266 → 0.0.268

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +119 -16
  2. package/dist/api.js +71 -1
  3. package/package.json +2 -2
package/dist/api.d.ts CHANGED
@@ -812,10 +812,10 @@ export interface CardFvLinkResponse {
812
812
  recipient?: CardRecipient;
813
813
  /**
814
814
  *
815
- * @type {FvErrorModelV2}
815
+ * @type {FvEmbeddedErrorModel}
816
816
  * @memberof CardFvLinkResponse
817
817
  */
818
- error?: FvErrorModelV2;
818
+ error?: FvEmbeddedErrorModel;
819
819
  }
820
820
  export declare const CardFvLinkResponseStatusEnum: {
821
821
  readonly Unknown: "UNKNOWN";
@@ -1192,10 +1192,10 @@ export interface CreateMandateResponse {
1192
1192
  };
1193
1193
  /**
1194
1194
  *
1195
- * @type {FvErrorModelV2}
1195
+ * @type {FvEmbeddedErrorModel}
1196
1196
  * @memberof CreateMandateResponse
1197
1197
  */
1198
- error?: FvErrorModelV2;
1198
+ error?: FvEmbeddedErrorModel;
1199
1199
  }
1200
1200
  export declare const CreateMandateResponseStatusEnum: {
1201
1201
  readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
@@ -1971,10 +1971,10 @@ export interface FVCard {
1971
1971
  status?: FVCardStatusEnum;
1972
1972
  /**
1973
1973
  *
1974
- * @type {FvErrorModelV2}
1974
+ * @type {FvEmbeddedErrorModel}
1975
1975
  * @memberof FVCard
1976
1976
  */
1977
- error?: FvErrorModelV2;
1977
+ error?: FvEmbeddedErrorModel;
1978
1978
  /**
1979
1979
  *
1980
1980
  * @type {FVCardDetails}
@@ -2068,6 +2068,42 @@ export interface FpsQrCodeResponse {
2068
2068
  */
2069
2069
  qr_code: string;
2070
2070
  }
2071
+ /**
2072
+ *
2073
+ * @export
2074
+ * @interface FvEmbeddedErrorModel
2075
+ */
2076
+ export interface FvEmbeddedErrorModel {
2077
+ /**
2078
+ * The error type
2079
+ * @type {string}
2080
+ * @memberof FvEmbeddedErrorModel
2081
+ */
2082
+ type: FvEmbeddedErrorModelTypeEnum;
2083
+ /**
2084
+ *
2085
+ * @type {string}
2086
+ * @memberof FvEmbeddedErrorModel
2087
+ */
2088
+ error_code: string;
2089
+ /**
2090
+ *
2091
+ * @type {string}
2092
+ * @memberof FvEmbeddedErrorModel
2093
+ */
2094
+ message: string;
2095
+ /**
2096
+ *
2097
+ * @type {string}
2098
+ * @memberof FvEmbeddedErrorModel
2099
+ */
2100
+ details: string;
2101
+ }
2102
+ export declare const FvEmbeddedErrorModelTypeEnum: {
2103
+ readonly LinkError: "LINK_ERROR";
2104
+ readonly ApiError: "API_ERROR";
2105
+ };
2106
+ export declare type FvEmbeddedErrorModelTypeEnum = (typeof FvEmbeddedErrorModelTypeEnum)[keyof typeof FvEmbeddedErrorModelTypeEnum];
2071
2107
  /**
2072
2108
  *
2073
2109
  * @export
@@ -2486,10 +2522,10 @@ export interface GetMandateAuthResponse {
2486
2522
  last_update: string;
2487
2523
  /**
2488
2524
  *
2489
- * @type {FvErrorModelV2}
2525
+ * @type {FvEmbeddedErrorModel}
2490
2526
  * @memberof GetMandateAuthResponse
2491
2527
  */
2492
- error?: FvErrorModelV2;
2528
+ error?: FvEmbeddedErrorModel;
2493
2529
  /**
2494
2530
  *
2495
2531
  * @type {MandateDetailsResponse}
@@ -2589,10 +2625,10 @@ export interface GetMandateResponse {
2589
2625
  fees?: Array<Fee>;
2590
2626
  /**
2591
2627
  *
2592
- * @type {FvErrorModelV2}
2628
+ * @type {FvEmbeddedErrorModel}
2593
2629
  * @memberof GetMandateResponse
2594
2630
  */
2595
- error?: FvErrorModelV2;
2631
+ error?: FvEmbeddedErrorModel;
2596
2632
  /**
2597
2633
  * Additional attributes of the mandate in key:value format (e.g. mandate_internal_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 1000 characters respectively.
2598
2634
  * @type {{ [key: string]: string; }}
@@ -4642,10 +4678,10 @@ export interface MandateFvLinkResponse {
4642
4678
  sender_account?: SenderAccountFvLinkResponse;
4643
4679
  /**
4644
4680
  *
4645
- * @type {FvErrorModelV2}
4681
+ * @type {FvEmbeddedErrorModel}
4646
4682
  * @memberof MandateFvLinkResponse
4647
4683
  */
4648
- error?: FvErrorModelV2;
4684
+ error?: FvEmbeddedErrorModel;
4649
4685
  }
4650
4686
  /**
4651
4687
  *
@@ -5147,6 +5183,41 @@ export interface PaymentDetailsReferences {
5147
5183
  */
5148
5184
  finverse_transaction_reference?: string;
5149
5185
  }
5186
+ /**
5187
+ *
5188
+ * @export
5189
+ * @interface PaymentFvLinkResponse
5190
+ */
5191
+ export interface PaymentFvLinkResponse {
5192
+ /**
5193
+ *
5194
+ * @type {string}
5195
+ * @memberof PaymentFvLinkResponse
5196
+ */
5197
+ payment_id?: string;
5198
+ /**
5199
+ *
5200
+ * @type {string}
5201
+ * @memberof PaymentFvLinkResponse
5202
+ */
5203
+ status?: PaymentFvLinkResponseStatusEnum;
5204
+ /**
5205
+ *
5206
+ * @type {FvEmbeddedErrorModel}
5207
+ * @memberof PaymentFvLinkResponse
5208
+ */
5209
+ error?: FvEmbeddedErrorModel;
5210
+ }
5211
+ export declare const PaymentFvLinkResponseStatusEnum: {
5212
+ readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
5213
+ readonly Authorizing: "AUTHORIZING";
5214
+ readonly Processing: "PROCESSING";
5215
+ readonly Submitted: "SUBMITTED";
5216
+ readonly Executed: "EXECUTED";
5217
+ readonly Failed: "FAILED";
5218
+ readonly Revoked: "REVOKED";
5219
+ };
5220
+ export declare type PaymentFvLinkResponseStatusEnum = (typeof PaymentFvLinkResponseStatusEnum)[keyof typeof PaymentFvLinkResponseStatusEnum];
5150
5221
  /**
5151
5222
  *
5152
5223
  * @export
@@ -5847,10 +5918,10 @@ export interface PaymentResponse {
5847
5918
  };
5848
5919
  /**
5849
5920
  *
5850
- * @type {FvErrorModelV2}
5921
+ * @type {FvEmbeddedErrorModel}
5851
5922
  * @memberof PaymentResponse
5852
5923
  */
5853
- error?: FvErrorModelV2;
5924
+ error?: FvEmbeddedErrorModel;
5854
5925
  /**
5855
5926
  *
5856
5927
  * @type {PaymentSnapshotPaymentMethod}
@@ -6305,10 +6376,10 @@ export interface PayoutSnapshotResponse {
6305
6376
  live: boolean;
6306
6377
  /**
6307
6378
  *
6308
- * @type {FvErrorModelV2}
6379
+ * @type {FvEmbeddedErrorModel}
6309
6380
  * @memberof PayoutSnapshotResponse
6310
6381
  */
6311
- error?: FvErrorModelV2;
6382
+ error?: FvEmbeddedErrorModel;
6312
6383
  }
6313
6384
  /**
6314
6385
  *
@@ -8603,6 +8674,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8603
8674
  * @throws {RequiredError}
8604
8675
  */
8605
8676
  getPaymentMethodPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
8677
+ /**
8678
+ * Get payment (if exists) on the payment link for front-end
8679
+ * @param {*} [options] Override http request option.
8680
+ * @throws {RequiredError}
8681
+ */
8682
+ getPaymentPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
8606
8683
  /**
8607
8684
  * Get payout by payout_id
8608
8685
  * @param {string} payoutId payout id
@@ -8812,6 +8889,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
8812
8889
  * @throws {RequiredError}
8813
8890
  */
8814
8891
  getPaymentMethodPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodFvLinkResponse>>;
8892
+ /**
8893
+ * Get payment (if exists) on the payment link for front-end
8894
+ * @param {*} [options] Override http request option.
8895
+ * @throws {RequiredError}
8896
+ */
8897
+ getPaymentPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentFvLinkResponse>>;
8815
8898
  /**
8816
8899
  * Get payout by payout_id
8817
8900
  * @param {string} payoutId payout id
@@ -9021,6 +9104,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9021
9104
  * @throws {RequiredError}
9022
9105
  */
9023
9106
  getPaymentMethodPaymentLink(options?: any): AxiosPromise<PaymentMethodFvLinkResponse>;
9107
+ /**
9108
+ * Get payment (if exists) on the payment link for front-end
9109
+ * @param {*} [options] Override http request option.
9110
+ * @throws {RequiredError}
9111
+ */
9112
+ getPaymentPaymentLink(options?: any): AxiosPromise<PaymentFvLinkResponse>;
9024
9113
  /**
9025
9114
  * Get payout by payout_id
9026
9115
  * @param {string} payoutId payout id
@@ -9248,6 +9337,13 @@ export interface DefaultApiInterface {
9248
9337
  * @memberof DefaultApiInterface
9249
9338
  */
9250
9339
  getPaymentMethodPaymentLink(options?: AxiosRequestConfig): AxiosPromise<PaymentMethodFvLinkResponse>;
9340
+ /**
9341
+ * Get payment (if exists) on the payment link for front-end
9342
+ * @param {*} [options] Override http request option.
9343
+ * @throws {RequiredError}
9344
+ * @memberof DefaultApiInterface
9345
+ */
9346
+ getPaymentPaymentLink(options?: AxiosRequestConfig): AxiosPromise<PaymentFvLinkResponse>;
9251
9347
  /**
9252
9348
  * Get payout by payout_id
9253
9349
  * @param {string} payoutId payout id
@@ -9485,6 +9581,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
9485
9581
  * @memberof DefaultApi
9486
9582
  */
9487
9583
  getPaymentMethodPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodFvLinkResponse>>;
9584
+ /**
9585
+ * Get payment (if exists) on the payment link for front-end
9586
+ * @param {*} [options] Override http request option.
9587
+ * @throws {RequiredError}
9588
+ * @memberof DefaultApi
9589
+ */
9590
+ getPaymentPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentFvLinkResponse>>;
9488
9591
  /**
9489
9592
  * Get payout by payout_id
9490
9593
  * @param {string} payoutId payout 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.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentSetupOptionsPaymentMethodTypesEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountDetailsAccountTypeEnum = 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.FeePaidByEnum = exports.FVCardStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CardFvLinkResponseStatusEnum = 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.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentSetupOptionsPaymentMethodTypesEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentFvLinkResponseStatusEnum = exports.PaymentAccountDetailsAccountTypeEnum = 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.FVCardStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CardFvLinkResponseStatusEnum = 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
@@ -133,6 +133,10 @@ exports.FeePaidByEnum = {
133
133
  Recipient: 'RECIPIENT',
134
134
  Sender: 'SENDER',
135
135
  };
136
+ exports.FvEmbeddedErrorModelTypeEnum = {
137
+ LinkError: 'LINK_ERROR',
138
+ ApiError: 'API_ERROR',
139
+ };
136
140
  exports.FvErrorModelTypeEnum = {
137
141
  LinkError: 'LINK_ERROR',
138
142
  ApiError: 'API_ERROR',
@@ -260,6 +264,15 @@ exports.PaymentAccountDetailsAccountTypeEnum = {
260
264
  ExternalAccount: 'EXTERNAL_ACCOUNT',
261
265
  SettlementAccount: 'SETTLEMENT_ACCOUNT',
262
266
  };
267
+ exports.PaymentFvLinkResponseStatusEnum = {
268
+ AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
269
+ Authorizing: 'AUTHORIZING',
270
+ Processing: 'PROCESSING',
271
+ Submitted: 'SUBMITTED',
272
+ Executed: 'EXECUTED',
273
+ Failed: 'FAILED',
274
+ Revoked: 'REVOKED',
275
+ };
263
276
  exports.PaymentInfoPaymentsSupportedEnum = {
264
277
  Mandate: 'MANDATE',
265
278
  DebitAuthorization: 'DEBIT_AUTHORIZATION',
@@ -2552,6 +2565,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2552
2565
  options: localVarRequestOptions,
2553
2566
  };
2554
2567
  }),
2568
+ /**
2569
+ * Get payment (if exists) on the payment link for front-end
2570
+ * @param {*} [options] Override http request option.
2571
+ * @throws {RequiredError}
2572
+ */
2573
+ getPaymentPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2574
+ const localVarPath = `/payment_link/fvlink/payment`;
2575
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2576
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2577
+ let baseOptions;
2578
+ if (configuration) {
2579
+ baseOptions = configuration.baseOptions;
2580
+ }
2581
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2582
+ const localVarHeaderParameter = {};
2583
+ const localVarQueryParameter = {};
2584
+ // authentication Oauth2 required
2585
+ // oauth required
2586
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
2587
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2588
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2589
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2590
+ return {
2591
+ url: common_1.toPathString(localVarUrlObj),
2592
+ options: localVarRequestOptions,
2593
+ };
2594
+ }),
2555
2595
  /**
2556
2596
  * Get payout by payout_id
2557
2597
  * @param {string} payoutId payout id
@@ -3139,6 +3179,17 @@ exports.DefaultApiFp = function (configuration) {
3139
3179
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3140
3180
  });
3141
3181
  },
3182
+ /**
3183
+ * Get payment (if exists) on the payment link for front-end
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ */
3187
+ getPaymentPaymentLink(options) {
3188
+ return __awaiter(this, void 0, void 0, function* () {
3189
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentPaymentLink(options);
3190
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3191
+ });
3192
+ },
3142
3193
  /**
3143
3194
  * Get payout by payout_id
3144
3195
  * @param {string} payoutId payout id
@@ -3444,6 +3495,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
3444
3495
  getPaymentMethodPaymentLink(options) {
3445
3496
  return localVarFp.getPaymentMethodPaymentLink(options).then((request) => request(axios, basePath));
3446
3497
  },
3498
+ /**
3499
+ * Get payment (if exists) on the payment link for front-end
3500
+ * @param {*} [options] Override http request option.
3501
+ * @throws {RequiredError}
3502
+ */
3503
+ getPaymentPaymentLink(options) {
3504
+ return localVarFp.getPaymentPaymentLink(options).then((request) => request(axios, basePath));
3505
+ },
3447
3506
  /**
3448
3507
  * Get payout by payout_id
3449
3508
  * @param {string} payoutId payout id
@@ -3769,6 +3828,17 @@ class DefaultApi extends base_1.BaseAPI {
3769
3828
  .getPaymentMethodPaymentLink(options)
3770
3829
  .then((request) => request(this.axios, this.basePath));
3771
3830
  }
3831
+ /**
3832
+ * Get payment (if exists) on the payment link for front-end
3833
+ * @param {*} [options] Override http request option.
3834
+ * @throws {RequiredError}
3835
+ * @memberof DefaultApi
3836
+ */
3837
+ getPaymentPaymentLink(options) {
3838
+ return exports.DefaultApiFp(this.configuration)
3839
+ .getPaymentPaymentLink(options)
3840
+ .then((request) => request(this.axios, this.basePath));
3841
+ }
3772
3842
  /**
3773
3843
  * Get payout by payout_id
3774
3844
  * @param {string} payoutId payout id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.266",
3
+ "version": "0.0.268",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -25,7 +25,7 @@
25
25
  "@types/mocha": "^10.0.9",
26
26
  "@types/node": "^12.11.5",
27
27
  "axios-mock-adapter": "^1.21.2",
28
- "chai": "^5.1.1",
28
+ "chai": "^5.1.2",
29
29
  "mocha": "^10.7.3",
30
30
  "ts-node": "^10.9.2",
31
31
  "typescript": "^3.6.4"