@emilgroup/payment-sdk-node 1.21.1-beta.103 → 1.21.1-beta.104

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/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk-node@1.21.1-beta.103 --save
20
+ npm install @emilgroup/payment-sdk-node@1.21.1-beta.104 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.21.1-beta.103
24
+ yarn add @emilgroup/payment-sdk-node@1.21.1-beta.104
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -41,13 +41,12 @@ const FormData = require('form-data');
41
41
  export const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
42
42
  return {
43
43
  /**
44
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
44
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
45
45
  * @summary Create the payment
46
46
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
47
47
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
48
48
  * @param {string} [authorization] Bearer Token
49
49
  * @param {*} [options] Override http request option.
50
- * @deprecated
51
50
  * @throws {RequiredError}
52
51
  */
53
52
  createPayment: async (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -286,13 +285,12 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
286
285
  const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration)
287
286
  return {
288
287
  /**
289
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
288
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
290
289
  * @summary Create the payment
291
290
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
292
291
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
293
292
  * @param {string} [authorization] Bearer Token
294
293
  * @param {*} [options] Override http request option.
295
- * @deprecated
296
294
  * @throws {RequiredError}
297
295
  */
298
296
  async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>> {
@@ -354,13 +352,12 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
354
352
  const localVarFp = PaymentsApiFp(configuration)
355
353
  return {
356
354
  /**
357
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
355
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
358
356
  * @summary Create the payment
359
357
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
360
358
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
361
359
  * @param {string} [authorization] Bearer Token
362
360
  * @param {*} [options] Override http request option.
363
- * @deprecated
364
361
  * @throws {RequiredError}
365
362
  */
366
363
  createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass> {
@@ -565,11 +562,10 @@ export interface PaymentsApiListPaymentsRequest {
565
562
  */
566
563
  export class PaymentsApi extends BaseAPI {
567
564
  /**
568
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
565
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
569
566
  * @summary Create the payment
570
567
  * @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
571
568
  * @param {*} [options] Override http request option.
572
- * @deprecated
573
569
  * @throws {RequiredError}
574
570
  * @memberof PaymentsApi
575
571
  */
@@ -23,13 +23,12 @@ import { ListPaymentsResponseClass } from '../models';
23
23
  */
24
24
  export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
25
25
  /**
26
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
26
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
27
27
  * @summary Create the payment
28
28
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
29
29
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
30
30
  * @param {string} [authorization] Bearer Token
31
31
  * @param {*} [options] Override http request option.
32
- * @deprecated
33
32
  * @throws {RequiredError}
34
33
  */
35
34
  createPayment: (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
@@ -75,13 +74,12 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
75
74
  */
76
75
  export declare const PaymentsApiFp: (configuration?: Configuration) => {
77
76
  /**
78
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
77
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
79
78
  * @summary Create the payment
80
79
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
81
80
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
82
81
  * @param {string} [authorization] Bearer Token
83
82
  * @param {*} [options] Override http request option.
84
- * @deprecated
85
83
  * @throws {RequiredError}
86
84
  */
87
85
  createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>>;
@@ -127,13 +125,12 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
127
125
  */
128
126
  export declare const PaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
129
127
  /**
130
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
128
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
131
129
  * @summary Create the payment
132
130
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
133
131
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
134
132
  * @param {string} [authorization] Bearer Token
135
133
  * @param {*} [options] Override http request option.
136
- * @deprecated
137
134
  * @throws {RequiredError}
138
135
  */
139
136
  createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass>;
@@ -311,11 +308,10 @@ export interface PaymentsApiListPaymentsRequest {
311
308
  */
312
309
  export declare class PaymentsApi extends BaseAPI {
313
310
  /**
314
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
311
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
315
312
  * @summary Create the payment
316
313
  * @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
317
314
  * @param {*} [options] Override http request option.
318
- * @deprecated
319
315
  * @throws {RequiredError}
320
316
  * @memberof PaymentsApi
321
317
  */
@@ -97,13 +97,12 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
100
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
101
101
  * @summary Create the payment
102
102
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
103
103
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
104
104
  * @param {string} [authorization] Bearer Token
105
105
  * @param {*} [options] Override http request option.
106
- * @deprecated
107
106
  * @throws {RequiredError}
108
107
  */
109
108
  createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
@@ -342,13 +341,12 @@ var PaymentsApiFp = function (configuration) {
342
341
  var localVarAxiosParamCreator = (0, exports.PaymentsApiAxiosParamCreator)(configuration);
343
342
  return {
344
343
  /**
345
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
344
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
346
345
  * @summary Create the payment
347
346
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
348
347
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
349
348
  * @param {string} [authorization] Bearer Token
350
349
  * @param {*} [options] Override http request option.
351
- * @deprecated
352
350
  * @throws {RequiredError}
353
351
  */
354
352
  createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
@@ -446,13 +444,12 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
446
444
  var localVarFp = (0, exports.PaymentsApiFp)(configuration);
447
445
  return {
448
446
  /**
449
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
447
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
450
448
  * @summary Create the payment
451
449
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
452
450
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
453
451
  * @param {string} [authorization] Bearer Token
454
452
  * @param {*} [options] Override http request option.
455
- * @deprecated
456
453
  * @throws {RequiredError}
457
454
  */
458
455
  createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
@@ -514,11 +511,10 @@ var PaymentsApi = /** @class */ (function (_super) {
514
511
  return _super !== null && _super.apply(this, arguments) || this;
515
512
  }
516
513
  /**
517
- * This will create a payment for a specified account. This function is idempotent. This endpoint is deprecated. Please use the create Payment Order endpoint instead. **Required Permissions** \"payment-management.payments.create\"
514
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
518
515
  * @summary Create the payment
519
516
  * @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
520
517
  * @param {*} [options] Override http request option.
521
- * @deprecated
522
518
  * @throws {RequiredError}
523
519
  * @memberof PaymentsApi
524
520
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk-node",
3
- "version": "1.21.1-beta.103",
3
+ "version": "1.21.1-beta.104",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [