@finverse/sdk-typescript 0.0.142 → 0.0.144

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 +199 -17
  2. package/dist/api.js +72 -1
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -968,19 +968,6 @@ export declare const CreatePaymentLinkRequestModeEnum: {
968
968
  readonly Payment: "PAYMENT";
969
969
  };
970
970
  export declare type CreatePaymentLinkRequestModeEnum = (typeof CreatePaymentLinkRequestModeEnum)[keyof typeof CreatePaymentLinkRequestModeEnum];
971
- /**
972
- *
973
- * @export
974
- * @interface CreatePaymentLinkResponse
975
- */
976
- export interface CreatePaymentLinkResponse {
977
- /**
978
- * The URL for payment link
979
- * @type {string}
980
- * @memberof CreatePaymentLinkResponse
981
- */
982
- payment_link_url?: string;
983
- }
984
971
  /**
985
972
  *
986
973
  * @export
@@ -4053,6 +4040,133 @@ export interface PaymentLinkRecipientAccount {
4053
4040
  */
4054
4041
  recipient_account_id: string;
4055
4042
  }
4043
+ /**
4044
+ *
4045
+ * @export
4046
+ * @interface PaymentLinkResponse
4047
+ */
4048
+ export interface PaymentLinkResponse {
4049
+ /**
4050
+ * Finverse Payment Link ID
4051
+ * @type {string}
4052
+ * @memberof PaymentLinkResponse
4053
+ */
4054
+ payment_link_id?: string;
4055
+ /**
4056
+ * The amount of the payment. Expressed in currency\'s smallest unit or “minor unit”, as defined in ISO 4217.
4057
+ * @type {number}
4058
+ * @memberof PaymentLinkResponse
4059
+ */
4060
+ amount?: number;
4061
+ /**
4062
+ *
4063
+ * @type {string}
4064
+ * @memberof PaymentLinkResponse
4065
+ */
4066
+ currency?: string;
4067
+ /**
4068
+ * Specifies language to be used in Finverse UI
4069
+ * @type {string}
4070
+ * @memberof PaymentLinkResponse
4071
+ */
4072
+ language?: string;
4073
+ /**
4074
+ * The payment link mode
4075
+ * @type {string}
4076
+ * @memberof PaymentLinkResponse
4077
+ */
4078
+ mode?: PaymentLinkResponseModeEnum;
4079
+ /**
4080
+ *
4081
+ * @type {PaymentLinkDetails}
4082
+ * @memberof PaymentLinkResponse
4083
+ */
4084
+ payment_details?: PaymentLinkDetails;
4085
+ /**
4086
+ * Unique reference id to identifying the payment to be collected.
4087
+ * @type {string}
4088
+ * @memberof PaymentLinkResponse
4089
+ */
4090
+ unique_reference_id?: string;
4091
+ /**
4092
+ * Additional attributes of the payment link in key:value format (e.g. payment_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 500 characters respectively.
4093
+ * @type {{ [key: string]: string; }}
4094
+ * @memberof PaymentLinkResponse
4095
+ */
4096
+ metadata?: {
4097
+ [key: string]: string;
4098
+ };
4099
+ /**
4100
+ * The URL for payment link
4101
+ * @type {string}
4102
+ * @memberof PaymentLinkResponse
4103
+ */
4104
+ url?: string;
4105
+ /**
4106
+ * The status of payment link
4107
+ * @type {string}
4108
+ * @memberof PaymentLinkResponse
4109
+ */
4110
+ status?: PaymentLinkResponseStatusEnum;
4111
+ /**
4112
+ * Timestamp of when the payment link was or will expired in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4113
+ * @type {string}
4114
+ * @memberof PaymentLinkResponse
4115
+ */
4116
+ expires_at?: string;
4117
+ /**
4118
+ * Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4119
+ * @type {string}
4120
+ * @memberof PaymentLinkResponse
4121
+ */
4122
+ created_at?: string;
4123
+ /**
4124
+ * Timestamp of when the payment link was last updated in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4125
+ * @type {string}
4126
+ * @memberof PaymentLinkResponse
4127
+ */
4128
+ updated_at?: string;
4129
+ /**
4130
+ *
4131
+ * @type {GetMandateResponse}
4132
+ * @memberof PaymentLinkResponse
4133
+ */
4134
+ mandate?: GetMandateResponse;
4135
+ /**
4136
+ *
4137
+ * @type {PaymentResponse}
4138
+ * @memberof PaymentLinkResponse
4139
+ */
4140
+ payment?: PaymentResponse;
4141
+ /**
4142
+ *
4143
+ * @type {MandateRecipient}
4144
+ * @memberof PaymentLinkResponse
4145
+ */
4146
+ recipient?: MandateRecipient;
4147
+ /**
4148
+ *
4149
+ * @type {MandateRecipientAccount}
4150
+ * @memberof PaymentLinkResponse
4151
+ */
4152
+ recipient_account?: MandateRecipientAccount;
4153
+ /**
4154
+ *
4155
+ * @type {PaymentLinkSenderResponse}
4156
+ * @memberof PaymentLinkResponse
4157
+ */
4158
+ sender?: PaymentLinkSenderResponse;
4159
+ }
4160
+ export declare const PaymentLinkResponseModeEnum: {
4161
+ readonly Payment: "PAYMENT";
4162
+ };
4163
+ export declare type PaymentLinkResponseModeEnum = (typeof PaymentLinkResponseModeEnum)[keyof typeof PaymentLinkResponseModeEnum];
4164
+ export declare const PaymentLinkResponseStatusEnum: {
4165
+ readonly Created: "CREATED";
4166
+ readonly Paid: "PAID";
4167
+ readonly Expired: "EXPIRED";
4168
+ };
4169
+ export declare type PaymentLinkResponseStatusEnum = (typeof PaymentLinkResponseStatusEnum)[keyof typeof PaymentLinkResponseStatusEnum];
4056
4170
  /**
4057
4171
  *
4058
4172
  * @export
@@ -4078,6 +4192,37 @@ export interface PaymentLinkSender {
4078
4192
  */
4079
4193
  name: string;
4080
4194
  }
4195
+ /**
4196
+ *
4197
+ * @export
4198
+ * @interface PaymentLinkSenderResponse
4199
+ */
4200
+ export interface PaymentLinkSenderResponse {
4201
+ /**
4202
+ *
4203
+ * @type {string}
4204
+ * @memberof PaymentLinkSenderResponse
4205
+ */
4206
+ email?: string;
4207
+ /**
4208
+ * Customer App\'s user ID, representing the end-user making the payment.
4209
+ * @type {string}
4210
+ * @memberof PaymentLinkSenderResponse
4211
+ */
4212
+ external_user_id?: string;
4213
+ /**
4214
+ * Accountholder name of the sender\'s account
4215
+ * @type {string}
4216
+ * @memberof PaymentLinkSenderResponse
4217
+ */
4218
+ name?: string;
4219
+ /**
4220
+ * A unique identifier generated after creating sender
4221
+ * @type {string}
4222
+ * @memberof PaymentLinkSenderResponse
4223
+ */
4224
+ user_id?: string;
4225
+ }
4081
4226
  /**
4082
4227
  *
4083
4228
  * @export
@@ -6038,6 +6183,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
6038
6183
  * @throws {RequiredError}
6039
6184
  */
6040
6185
  createPaymentLinkMandate: (createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6186
+ /**
6187
+ * Get payment link
6188
+ * @param {string} paymentLinkId The payment link id
6189
+ * @param {*} [options] Override http request option.
6190
+ * @throws {RequiredError}
6191
+ */
6192
+ getPaymentLink: (paymentLinkId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6041
6193
  /**
6042
6194
  * Get sender payment user for mandate
6043
6195
  * @param {*} [options] Override http request option.
@@ -6113,7 +6265,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6113
6265
  * @param {*} [options] Override http request option.
6114
6266
  * @throws {RequiredError}
6115
6267
  */
6116
- createPaymentLink(createPaymentLinkRequest: CreatePaymentLinkRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentLinkResponse>>;
6268
+ createPaymentLink(createPaymentLinkRequest: CreatePaymentLinkRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
6117
6269
  /**
6118
6270
  * Initiate Card Payment for a Payment Link
6119
6271
  * @param {*} [options] Override http request option.
@@ -6127,6 +6279,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
6127
6279
  * @throws {RequiredError}
6128
6280
  */
6129
6281
  createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentLinkMandateResponse>>;
6282
+ /**
6283
+ * Get payment link
6284
+ * @param {string} paymentLinkId The payment link id
6285
+ * @param {*} [options] Override http request option.
6286
+ * @throws {RequiredError}
6287
+ */
6288
+ getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
6130
6289
  /**
6131
6290
  * Get sender payment user for mandate
6132
6291
  * @param {*} [options] Override http request option.
@@ -6202,7 +6361,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
6202
6361
  * @param {*} [options] Override http request option.
6203
6362
  * @throws {RequiredError}
6204
6363
  */
6205
- createPaymentLink(createPaymentLinkRequest: CreatePaymentLinkRequest, options?: any): AxiosPromise<CreatePaymentLinkResponse>;
6364
+ createPaymentLink(createPaymentLinkRequest: CreatePaymentLinkRequest, options?: any): AxiosPromise<PaymentLinkResponse>;
6206
6365
  /**
6207
6366
  * Initiate Card Payment for a Payment Link
6208
6367
  * @param {*} [options] Override http request option.
@@ -6216,6 +6375,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
6216
6375
  * @throws {RequiredError}
6217
6376
  */
6218
6377
  createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: any): AxiosPromise<CreatePaymentLinkMandateResponse>;
6378
+ /**
6379
+ * Get payment link
6380
+ * @param {string} paymentLinkId The payment link id
6381
+ * @param {*} [options] Override http request option.
6382
+ * @throws {RequiredError}
6383
+ */
6384
+ getPaymentLink(paymentLinkId: string, options?: any): AxiosPromise<PaymentLinkResponse>;
6219
6385
  /**
6220
6386
  * Get sender payment user for mandate
6221
6387
  * @param {*} [options] Override http request option.
@@ -6296,7 +6462,7 @@ export interface DefaultApiInterface {
6296
6462
  * @throws {RequiredError}
6297
6463
  * @memberof DefaultApiInterface
6298
6464
  */
6299
- createPaymentLink(createPaymentLinkRequest: CreatePaymentLinkRequest, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentLinkResponse>;
6465
+ createPaymentLink(createPaymentLinkRequest: CreatePaymentLinkRequest, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
6300
6466
  /**
6301
6467
  * Initiate Card Payment for a Payment Link
6302
6468
  * @param {*} [options] Override http request option.
@@ -6312,6 +6478,14 @@ export interface DefaultApiInterface {
6312
6478
  * @memberof DefaultApiInterface
6313
6479
  */
6314
6480
  createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentLinkMandateResponse>;
6481
+ /**
6482
+ * Get payment link
6483
+ * @param {string} paymentLinkId The payment link id
6484
+ * @param {*} [options] Override http request option.
6485
+ * @throws {RequiredError}
6486
+ * @memberof DefaultApiInterface
6487
+ */
6488
+ getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
6315
6489
  /**
6316
6490
  * Get sender payment user for mandate
6317
6491
  * @param {*} [options] Override http request option.
@@ -6397,7 +6571,7 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
6397
6571
  * @throws {RequiredError}
6398
6572
  * @memberof DefaultApi
6399
6573
  */
6400
- createPaymentLink(createPaymentLinkRequest: CreatePaymentLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentLinkResponse>>;
6574
+ createPaymentLink(createPaymentLinkRequest: CreatePaymentLinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
6401
6575
  /**
6402
6576
  * Initiate Card Payment for a Payment Link
6403
6577
  * @param {*} [options] Override http request option.
@@ -6413,6 +6587,14 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
6413
6587
  * @memberof DefaultApi
6414
6588
  */
6415
6589
  createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentLinkMandateResponse>>;
6590
+ /**
6591
+ * Get payment link
6592
+ * @param {string} paymentLinkId The payment link id
6593
+ * @param {*} [options] Override http request option.
6594
+ * @throws {RequiredError}
6595
+ * @memberof DefaultApi
6596
+ */
6597
+ getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
6416
6598
  /**
6417
6599
  * Get sender payment user for mandate
6418
6600
  * @param {*} [options] Override http request option.
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.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.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;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -209,6 +209,14 @@ exports.PaymentInfoPaymentsSupportedEnum = {
209
209
  exports.PaymentInstructionTypeEnum = {
210
210
  DebitAuthorization: 'DEBIT_AUTHORIZATION',
211
211
  };
212
+ exports.PaymentLinkResponseModeEnum = {
213
+ Payment: 'PAYMENT',
214
+ };
215
+ exports.PaymentLinkResponseStatusEnum = {
216
+ Created: 'CREATED',
217
+ Paid: 'PAID',
218
+ Expired: 'EXPIRED',
219
+ };
212
220
  exports.PaymentLinkTokenResponseTokenTypeEnum = {
213
221
  Bearer: 'Bearer',
214
222
  };
@@ -1754,6 +1762,36 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
1754
1762
  options: localVarRequestOptions,
1755
1763
  };
1756
1764
  }),
1765
+ /**
1766
+ * Get payment link
1767
+ * @param {string} paymentLinkId The payment link id
1768
+ * @param {*} [options] Override http request option.
1769
+ * @throws {RequiredError}
1770
+ */
1771
+ getPaymentLink: (paymentLinkId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1772
+ // verify required parameter 'paymentLinkId' is not null or undefined
1773
+ common_1.assertParamExists('getPaymentLink', 'paymentLinkId', paymentLinkId);
1774
+ const localVarPath = `/payment_links/{paymentLinkId}`.replace(`{${'paymentLinkId'}}`, encodeURIComponent(String(paymentLinkId)));
1775
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1776
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1777
+ let baseOptions;
1778
+ if (configuration) {
1779
+ baseOptions = configuration.baseOptions;
1780
+ }
1781
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1782
+ const localVarHeaderParameter = {};
1783
+ const localVarQueryParameter = {};
1784
+ // authentication Oauth2 required
1785
+ // oauth required
1786
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
1787
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1788
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1789
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1790
+ return {
1791
+ url: common_1.toPathString(localVarUrlObj),
1792
+ options: localVarRequestOptions,
1793
+ };
1794
+ }),
1757
1795
  /**
1758
1796
  * Get sender payment user for mandate
1759
1797
  * @param {*} [options] Override http request option.
@@ -2025,6 +2063,18 @@ exports.DefaultApiFp = function (configuration) {
2025
2063
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2026
2064
  });
2027
2065
  },
2066
+ /**
2067
+ * Get payment link
2068
+ * @param {string} paymentLinkId The payment link id
2069
+ * @param {*} [options] Override http request option.
2070
+ * @throws {RequiredError}
2071
+ */
2072
+ getPaymentLink(paymentLinkId, options) {
2073
+ return __awaiter(this, void 0, void 0, function* () {
2074
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentLink(paymentLinkId, options);
2075
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2076
+ });
2077
+ },
2028
2078
  /**
2029
2079
  * Get sender payment user for mandate
2030
2080
  * @param {*} [options] Override http request option.
@@ -2155,6 +2205,15 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2155
2205
  .createPaymentLinkMandate(createPaymentLinkMandateRequest, options)
2156
2206
  .then((request) => request(axios, basePath));
2157
2207
  },
2208
+ /**
2209
+ * Get payment link
2210
+ * @param {string} paymentLinkId The payment link id
2211
+ * @param {*} [options] Override http request option.
2212
+ * @throws {RequiredError}
2213
+ */
2214
+ getPaymentLink(paymentLinkId, options) {
2215
+ return localVarFp.getPaymentLink(paymentLinkId, options).then((request) => request(axios, basePath));
2216
+ },
2158
2217
  /**
2159
2218
  * Get sender payment user for mandate
2160
2219
  * @param {*} [options] Override http request option.
@@ -2291,6 +2350,18 @@ class DefaultApi extends base_1.BaseAPI {
2291
2350
  .createPaymentLinkMandate(createPaymentLinkMandateRequest, options)
2292
2351
  .then((request) => request(this.axios, this.basePath));
2293
2352
  }
2353
+ /**
2354
+ * Get payment link
2355
+ * @param {string} paymentLinkId The payment link id
2356
+ * @param {*} [options] Override http request option.
2357
+ * @throws {RequiredError}
2358
+ * @memberof DefaultApi
2359
+ */
2360
+ getPaymentLink(paymentLinkId, options) {
2361
+ return exports.DefaultApiFp(this.configuration)
2362
+ .getPaymentLink(paymentLinkId, options)
2363
+ .then((request) => request(this.axios, this.basePath));
2364
+ }
2294
2365
  /**
2295
2366
  * Get sender payment user for mandate
2296
2367
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.142",
3
+ "version": "0.0.144",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [