@emilgroup/payment-sdk 1.13.1-beta.99 → 1.14.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@1.13.1-beta.99 --save
20
+ npm install @emilgroup/payment-sdk@1.14.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.13.1-beta.99
24
+ yarn add @emilgroup/payment-sdk@1.14.0
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -39,7 +39,7 @@ import { UpdateBankOrderResponseClass } from '../models';
39
39
  export const BankOrdersApiAxiosParamCreator = function (configuration?: Configuration) {
40
40
  return {
41
41
  /**
42
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
42
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
43
43
  * @summary Create the bank order
44
44
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
45
45
  * @param {string} [authorization] Bearer Token
@@ -318,7 +318,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
318
318
  const localVarAxiosParamCreator = BankOrdersApiAxiosParamCreator(configuration)
319
319
  return {
320
320
  /**
321
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
321
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
322
322
  * @summary Create the bank order
323
323
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
324
324
  * @param {string} [authorization] Bearer Token
@@ -396,7 +396,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
396
396
  const localVarFp = BankOrdersApiFp(configuration)
397
397
  return {
398
398
  /**
399
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
399
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
400
400
  * @summary Create the bank order
401
401
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
402
402
  * @param {string} [authorization] Bearer Token
@@ -630,7 +630,7 @@ export interface BankOrdersApiUpdateBankOrderRequest {
630
630
  */
631
631
  export class BankOrdersApi extends BaseAPI {
632
632
  /**
633
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
633
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
634
634
  * @summary Create the bank order
635
635
  * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
636
636
  * @param {*} [options] Override http request option.
@@ -37,13 +37,12 @@ import { ListPaymentsResponseClass } from '../models';
37
37
  export const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
38
38
  return {
39
39
  /**
40
- * 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\"
40
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
41
41
  * @summary Create the payment
42
42
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
43
43
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
44
44
  * @param {string} [authorization] Bearer Token
45
45
  * @param {*} [options] Override http request option.
46
- * @deprecated
47
46
  * @throws {RequiredError}
48
47
  */
49
48
  createPayment: async (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -282,13 +281,12 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
282
281
  const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration)
283
282
  return {
284
283
  /**
285
- * 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\"
284
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
286
285
  * @summary Create the payment
287
286
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
288
287
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
289
288
  * @param {string} [authorization] Bearer Token
290
289
  * @param {*} [options] Override http request option.
291
- * @deprecated
292
290
  * @throws {RequiredError}
293
291
  */
294
292
  async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>> {
@@ -350,13 +348,12 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
350
348
  const localVarFp = PaymentsApiFp(configuration)
351
349
  return {
352
350
  /**
353
- * 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\"
351
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
354
352
  * @summary Create the payment
355
353
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
356
354
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
357
355
  * @param {string} [authorization] Bearer Token
358
356
  * @param {*} [options] Override http request option.
359
- * @deprecated
360
357
  * @throws {RequiredError}
361
358
  */
362
359
  createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass> {
@@ -561,11 +558,10 @@ export interface PaymentsApiListPaymentsRequest {
561
558
  */
562
559
  export class PaymentsApi extends BaseAPI {
563
560
  /**
564
- * 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\"
561
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
565
562
  * @summary Create the payment
566
563
  * @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
567
564
  * @param {*} [options] Override http request option.
568
- * @deprecated
569
565
  * @throws {RequiredError}
570
566
  * @memberof PaymentsApi
571
567
  */
@@ -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.
@@ -93,7 +93,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
96
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
97
97
  * @summary Create the bank order
98
98
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
99
99
  * @param {string} [authorization] Bearer Token
@@ -377,7 +377,7 @@ var BankOrdersApiFp = function (configuration) {
377
377
  var localVarAxiosParamCreator = (0, exports.BankOrdersApiAxiosParamCreator)(configuration);
378
378
  return {
379
379
  /**
380
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
380
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
381
381
  * @summary Create the bank order
382
382
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
383
383
  * @param {string} [authorization] Bearer Token
@@ -500,7 +500,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
500
500
  var localVarFp = (0, exports.BankOrdersApiFp)(configuration);
501
501
  return {
502
502
  /**
503
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
503
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
504
504
  * @summary Create the bank order
505
505
  * @param {CreateBankOrderRequestDto} createBankOrderRequestDto
506
506
  * @param {string} [authorization] Bearer Token
@@ -577,7 +577,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
577
577
  return _super !== null && _super.apply(this, arguments) || this;
578
578
  }
579
579
  /**
580
- * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financialaccounts.view\", \"billing-management.invoices.view\"
580
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
581
581
  * @summary Create the bank order
582
582
  * @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
583
583
  * @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
  */
@@ -93,13 +93,12 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * 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\"
96
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
97
97
  * @summary Create the payment
98
98
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
99
99
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
100
100
  * @param {string} [authorization] Bearer Token
101
101
  * @param {*} [options] Override http request option.
102
- * @deprecated
103
102
  * @throws {RequiredError}
104
103
  */
105
104
  createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
@@ -338,13 +337,12 @@ var PaymentsApiFp = function (configuration) {
338
337
  var localVarAxiosParamCreator = (0, exports.PaymentsApiAxiosParamCreator)(configuration);
339
338
  return {
340
339
  /**
341
- * 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\"
340
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
342
341
  * @summary Create the payment
343
342
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
344
343
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
345
344
  * @param {string} [authorization] Bearer Token
346
345
  * @param {*} [options] Override http request option.
347
- * @deprecated
348
346
  * @throws {RequiredError}
349
347
  */
350
348
  createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
@@ -442,13 +440,12 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
442
440
  var localVarFp = (0, exports.PaymentsApiFp)(configuration);
443
441
  return {
444
442
  /**
445
- * 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\"
443
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
446
444
  * @summary Create the payment
447
445
  * @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
448
446
  * @param {CreatePaymentRequestDto} createPaymentRequestDto
449
447
  * @param {string} [authorization] Bearer Token
450
448
  * @param {*} [options] Override http request option.
451
- * @deprecated
452
449
  * @throws {RequiredError}
453
450
  */
454
451
  createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
@@ -510,11 +507,10 @@ var PaymentsApi = /** @class */ (function (_super) {
510
507
  return _super !== null && _super.apply(this, arguments) || this;
511
508
  }
512
509
  /**
513
- * 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\"
510
+ * This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
514
511
  * @summary Create the payment
515
512
  * @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
516
513
  * @param {*} [options] Override http request option.
517
- * @deprecated
518
514
  * @throws {RequiredError}
519
515
  * @memberof PaymentsApi
520
516
  */
@@ -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",
3
- "version": "1.13.1-beta.99",
3
+ "version": "1.14.0",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [