@emilgroup/payment-sdk-node 1.21.1-beta.99 → 1.22.1-beta.0

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.99 --save
20
+ npm install @emilgroup/payment-sdk-node@1.22.1-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.21.1-beta.99
24
+ yarn add @emilgroup/payment-sdk-node@1.22.1-beta.0
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -43,7 +43,7 @@ const FormData = require('form-data');
43
43
  export const BankOrdersApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
46
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
47
47
  * @summary Create the bank order
48
48
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
49
49
  * @param {string} [authorization] Bearer Token
@@ -322,7 +322,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
322
322
  const localVarAxiosParamCreator = BankOrdersApiAxiosParamCreator(configuration)
323
323
  return {
324
324
  /**
325
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
325
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
326
326
  * @summary Create the bank order
327
327
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
328
328
  * @param {string} [authorization] Bearer Token
@@ -400,7 +400,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
400
400
  const localVarFp = BankOrdersApiFp(configuration)
401
401
  return {
402
402
  /**
403
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
403
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
404
404
  * @summary Create the bank order
405
405
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
406
406
  * @param {string} [authorization] Bearer Token
@@ -634,7 +634,7 @@ export interface BankOrdersApiUpdateBankOrderRequest {
634
634
  */
635
635
  export class BankOrdersApi extends BaseAPI {
636
636
  /**
637
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
637
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
638
638
  * @summary Create the bank order
639
639
  * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
640
640
  * @param {*} [options] Override http request option.
@@ -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
  */
@@ -24,7 +24,7 @@ import { UpdateBankOrderResponseClass } from '../models';
24
24
  */
25
25
  export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
26
26
  /**
27
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
27
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
28
28
  * @summary Create the bank order
29
29
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
30
30
  * @param {string} [authorization] Bearer Token
@@ -83,7 +83,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
83
83
  */
84
84
  export declare const BankOrdersApiFp: (configuration?: Configuration) => {
85
85
  /**
86
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
86
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
87
87
  * @summary Create the bank order
88
88
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
89
89
  * @param {string} [authorization] Bearer Token
@@ -142,7 +142,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
142
142
  */
143
143
  export declare const BankOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
144
  /**
145
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
145
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
146
146
  * @summary Create the bank order
147
147
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
148
148
  * @param {string} [authorization] Bearer Token
@@ -346,7 +346,7 @@ export interface BankOrdersApiUpdateBankOrderRequest {
346
346
  */
347
347
  export declare class BankOrdersApi extends BaseAPI {
348
348
  /**
349
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
349
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
350
350
  * @summary Create the bank order
351
351
  * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
352
352
  * @param {*} [options] Override http request option.
@@ -97,7 +97,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
100
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
101
101
  * @summary Create the bank order
102
102
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
103
103
  * @param {string} [authorization] Bearer Token
@@ -381,7 +381,7 @@ var BankOrdersApiFp = function (configuration) {
381
381
  var localVarAxiosParamCreator = (0, exports.BankOrdersApiAxiosParamCreator)(configuration);
382
382
  return {
383
383
  /**
384
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
384
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
385
385
  * @summary Create the bank order
386
386
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
387
387
  * @param {string} [authorization] Bearer Token
@@ -504,7 +504,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
504
504
  var localVarFp = (0, exports.BankOrdersApiFp)(configuration);
505
505
  return {
506
506
  /**
507
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
507
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
508
508
  * @summary Create the bank order
509
509
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
510
510
  * @param {string} [authorization] Bearer Token
@@ -581,7 +581,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
581
581
  return _super !== null && _super.apply(this, arguments) || this;
582
582
  }
583
583
  /**
584
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
584
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
585
585
  * @summary Create the bank order
586
586
  * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
587
587
  * @param {*} [options] Override http request option.
@@ -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
  */
@@ -118,5 +118,5 @@ export interface BankOrderClass {
118
118
  * @type {BankOrderXmlFileClass}
119
119
  * @memberof BankOrderClass
120
120
  */
121
- 'bankOrderXmlFile'?: BankOrderXmlFileClass;
121
+ 'xmlFile'?: BankOrderXmlFileClass;
122
122
  }
@@ -123,6 +123,6 @@ export interface BankOrderClass {
123
123
  * @type {BankOrderXmlFileClass}
124
124
  * @memberof BankOrderClass
125
125
  */
126
- 'bankOrderXmlFile'?: BankOrderXmlFileClass;
126
+ 'xmlFile'?: BankOrderXmlFileClass;
127
127
  }
128
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk-node",
3
- "version": "1.21.1-beta.99",
3
+ "version": "1.22.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [