@emilgroup/payment-sdk-node 1.21.1-beta.20 → 1.21.1-beta.22

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.20 --save
20
+ npm install @emilgroup/payment-sdk-node@1.21.1-beta.22 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.21.1-beta.20
24
+ yarn add @emilgroup/payment-sdk-node@1.21.1-beta.22
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-accounts.create\"
46
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -90,7 +90,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
90
90
  };
91
91
  },
92
92
  /**
93
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
93
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
94
94
  * @summary Delete the bank order
95
95
  * @param {string} code Unique identifier for the object.
96
96
  * @param {string} [authorization] Bearer Token
@@ -135,7 +135,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
135
135
  };
136
136
  },
137
137
  /**
138
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
138
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
139
139
  * @summary Retrieve the bank order
140
140
  * @param {string} code
141
141
  * @param {string} [authorization] Bearer Token
@@ -185,7 +185,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
185
185
  };
186
186
  },
187
187
  /**
188
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
188
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
189
189
  * @summary List bank orders
190
190
  * @param {string} [authorization] Bearer Token
191
191
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -261,7 +261,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
261
261
  };
262
262
  },
263
263
  /**
264
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
264
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
265
265
  * @summary Update the bank order
266
266
  * @param {string} code Unique identifier for the object.
267
267
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
325
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -334,7 +334,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
334
334
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
335
335
  },
336
336
  /**
337
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
337
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
338
338
  * @summary Delete the bank order
339
339
  * @param {string} code Unique identifier for the object.
340
340
  * @param {string} [authorization] Bearer Token
@@ -346,7 +346,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
346
346
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
347
347
  },
348
348
  /**
349
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
349
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
350
350
  * @summary Retrieve the bank order
351
351
  * @param {string} code
352
352
  * @param {string} [authorization] Bearer Token
@@ -359,7 +359,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
359
359
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
360
  },
361
361
  /**
362
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
362
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
363
363
  * @summary List bank orders
364
364
  * @param {string} [authorization] Bearer Token
365
365
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -377,7 +377,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
377
377
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
378
378
  },
379
379
  /**
380
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
380
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
381
381
  * @summary Update the bank order
382
382
  * @param {string} code Unique identifier for the object.
383
383
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
403
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -411,7 +411,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
411
411
  return localVarFp.createBankOrder(createBankOrderRequestDto, authorization, options).then((request) => request(axios, basePath));
412
412
  },
413
413
  /**
414
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
414
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
415
415
  * @summary Delete the bank order
416
416
  * @param {string} code Unique identifier for the object.
417
417
  * @param {string} [authorization] Bearer Token
@@ -422,7 +422,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
422
422
  return localVarFp.deleteBankOrder(code, authorization, options).then((request) => request(axios, basePath));
423
423
  },
424
424
  /**
425
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
425
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
426
426
  * @summary Retrieve the bank order
427
427
  * @param {string} code
428
428
  * @param {string} [authorization] Bearer Token
@@ -434,7 +434,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
434
434
  return localVarFp.getBankOrder(code, authorization, expand, options).then((request) => request(axios, basePath));
435
435
  },
436
436
  /**
437
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
437
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
438
438
  * @summary List bank orders
439
439
  * @param {string} [authorization] Bearer Token
440
440
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -451,7 +451,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
451
451
  return localVarFp.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
452
452
  },
453
453
  /**
454
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
454
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
455
455
  * @summary Update the bank order
456
456
  * @param {string} code Unique identifier for the object.
457
457
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
637
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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.
@@ -646,7 +646,7 @@ export class BankOrdersApi extends BaseAPI {
646
646
  }
647
647
 
648
648
  /**
649
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
649
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
650
650
  * @summary Delete the bank order
651
651
  * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
652
652
  * @param {*} [options] Override http request option.
@@ -658,7 +658,7 @@ export class BankOrdersApi extends BaseAPI {
658
658
  }
659
659
 
660
660
  /**
661
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
661
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
662
662
  * @summary Retrieve the bank order
663
663
  * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
664
664
  * @param {*} [options] Override http request option.
@@ -670,7 +670,7 @@ export class BankOrdersApi extends BaseAPI {
670
670
  }
671
671
 
672
672
  /**
673
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
673
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
674
674
  * @summary List bank orders
675
675
  * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
676
676
  * @param {*} [options] Override http request option.
@@ -682,7 +682,7 @@ export class BankOrdersApi extends BaseAPI {
682
682
  }
683
683
 
684
684
  /**
685
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
685
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
686
686
  * @summary Update the bank order
687
687
  * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
688
688
  * @param {*} [options] Override http request option.
@@ -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-accounts.create\"
27
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -33,7 +33,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
33
33
  */
34
34
  createBankOrder: (createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
36
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
37
37
  * @summary Delete the bank order
38
38
  * @param {string} code Unique identifier for the object.
39
39
  * @param {string} [authorization] Bearer Token
@@ -42,7 +42,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
42
42
  */
43
43
  deleteBankOrder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
45
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
46
46
  * @summary Retrieve the bank order
47
47
  * @param {string} code
48
48
  * @param {string} [authorization] Bearer Token
@@ -52,7 +52,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
52
52
  */
53
53
  getBankOrder: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
54
  /**
55
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
55
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
56
56
  * @summary List bank orders
57
57
  * @param {string} [authorization] Bearer Token
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -67,7 +67,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
67
67
  */
68
68
  listBankOrders: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
69
  /**
70
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
70
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
71
71
  * @summary Update the bank order
72
72
  * @param {string} code Unique identifier for the object.
73
73
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
86
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -92,7 +92,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
92
92
  */
93
93
  createBankOrder(createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankOrderResponseClass>>;
94
94
  /**
95
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
95
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
96
96
  * @summary Delete the bank order
97
97
  * @param {string} code Unique identifier for the object.
98
98
  * @param {string} [authorization] Bearer Token
@@ -101,7 +101,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
101
101
  */
102
102
  deleteBankOrder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
103
103
  /**
104
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
104
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
105
105
  * @summary Retrieve the bank order
106
106
  * @param {string} code
107
107
  * @param {string} [authorization] Bearer Token
@@ -111,7 +111,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
111
111
  */
112
112
  getBankOrder(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankOrderResponseClass>>;
113
113
  /**
114
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
114
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
115
115
  * @summary List bank orders
116
116
  * @param {string} [authorization] Bearer Token
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -126,7 +126,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
126
126
  */
127
127
  listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankOrdersResponseClass>>;
128
128
  /**
129
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
129
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
130
130
  * @summary Update the bank order
131
131
  * @param {string} code Unique identifier for the object.
132
132
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
145
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -151,7 +151,7 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
151
151
  */
152
152
  createBankOrder(createBankOrderRequestDto: CreateBankOrderRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankOrderResponseClass>;
153
153
  /**
154
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
154
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
155
155
  * @summary Delete the bank order
156
156
  * @param {string} code Unique identifier for the object.
157
157
  * @param {string} [authorization] Bearer Token
@@ -160,7 +160,7 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
160
160
  */
161
161
  deleteBankOrder(code: string, authorization?: string, options?: any): AxiosPromise<object>;
162
162
  /**
163
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
163
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
164
164
  * @summary Retrieve the bank order
165
165
  * @param {string} code
166
166
  * @param {string} [authorization] Bearer Token
@@ -170,7 +170,7 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
170
170
  */
171
171
  getBankOrder(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankOrderResponseClass>;
172
172
  /**
173
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
173
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
174
174
  * @summary List bank orders
175
175
  * @param {string} [authorization] Bearer Token
176
176
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -185,7 +185,7 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
185
185
  */
186
186
  listBankOrders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankOrdersResponseClass>;
187
187
  /**
188
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
188
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
189
189
  * @summary Update the bank order
190
190
  * @param {string} code Unique identifier for the object.
191
191
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
349
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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.
@@ -355,7 +355,7 @@ export declare class BankOrdersApi extends BaseAPI {
355
355
  */
356
356
  createBankOrder(requestParameters: BankOrdersApiCreateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankOrderResponseClass, any>>;
357
357
  /**
358
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
358
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
359
359
  * @summary Delete the bank order
360
360
  * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
361
361
  * @param {*} [options] Override http request option.
@@ -364,7 +364,7 @@ export declare class BankOrdersApi extends BaseAPI {
364
364
  */
365
365
  deleteBankOrder(requestParameters: BankOrdersApiDeleteBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
366
366
  /**
367
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
367
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
368
368
  * @summary Retrieve the bank order
369
369
  * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
@@ -373,7 +373,7 @@ export declare class BankOrdersApi extends BaseAPI {
373
373
  */
374
374
  getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankOrderResponseClass, any>>;
375
375
  /**
376
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
376
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
377
377
  * @summary List bank orders
378
378
  * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
379
379
  * @param {*} [options] Override http request option.
@@ -382,7 +382,7 @@ export declare class BankOrdersApi extends BaseAPI {
382
382
  */
383
383
  listBankOrders(requestParameters?: BankOrdersApiListBankOrdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankOrdersResponseClass, any>>;
384
384
  /**
385
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
385
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
386
386
  * @summary Update the bank order
387
387
  * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
388
388
  * @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-accounts.create\"
100
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -146,7 +146,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
149
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
150
150
  * @summary Delete the bank order
151
151
  * @param {string} code Unique identifier for the object.
152
152
  * @param {string} [authorization] Bearer Token
@@ -194,7 +194,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
197
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
198
198
  * @summary Retrieve the bank order
199
199
  * @param {string} code
200
200
  * @param {string} [authorization] Bearer Token
@@ -246,7 +246,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
246
246
  });
247
247
  },
248
248
  /**
249
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
249
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
250
250
  * @summary List bank orders
251
251
  * @param {string} [authorization] Bearer Token
252
252
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -318,7 +318,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
318
318
  });
319
319
  },
320
320
  /**
321
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
321
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
322
322
  * @summary Update the bank order
323
323
  * @param {string} code Unique identifier for the object.
324
324
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
384
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -402,7 +402,7 @@ var BankOrdersApiFp = function (configuration) {
402
402
  });
403
403
  },
404
404
  /**
405
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
405
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
406
406
  * @summary Delete the bank order
407
407
  * @param {string} code Unique identifier for the object.
408
408
  * @param {string} [authorization] Bearer Token
@@ -423,7 +423,7 @@ var BankOrdersApiFp = function (configuration) {
423
423
  });
424
424
  },
425
425
  /**
426
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
426
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
427
427
  * @summary Retrieve the bank order
428
428
  * @param {string} code
429
429
  * @param {string} [authorization] Bearer Token
@@ -445,7 +445,7 @@ var BankOrdersApiFp = function (configuration) {
445
445
  });
446
446
  },
447
447
  /**
448
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
448
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
449
449
  * @summary List bank orders
450
450
  * @param {string} [authorization] Bearer Token
451
451
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -472,7 +472,7 @@ var BankOrdersApiFp = function (configuration) {
472
472
  });
473
473
  },
474
474
  /**
475
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
475
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
476
476
  * @summary Update the bank order
477
477
  * @param {string} code Unique identifier for the object.
478
478
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
507
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -515,7 +515,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
515
515
  return localVarFp.createBankOrder(createBankOrderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
516
516
  },
517
517
  /**
518
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
518
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
519
519
  * @summary Delete the bank order
520
520
  * @param {string} code Unique identifier for the object.
521
521
  * @param {string} [authorization] Bearer Token
@@ -526,7 +526,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
526
526
  return localVarFp.deleteBankOrder(code, authorization, options).then(function (request) { return request(axios, basePath); });
527
527
  },
528
528
  /**
529
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
529
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
530
530
  * @summary Retrieve the bank order
531
531
  * @param {string} code
532
532
  * @param {string} [authorization] Bearer Token
@@ -538,7 +538,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
538
538
  return localVarFp.getBankOrder(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
539
539
  },
540
540
  /**
541
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
541
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
542
542
  * @summary List bank orders
543
543
  * @param {string} [authorization] Bearer Token
544
544
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -555,7 +555,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
555
555
  return localVarFp.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
556
556
  },
557
557
  /**
558
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
558
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
559
559
  * @summary Update the bank order
560
560
  * @param {string} code Unique identifier for the object.
561
561
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
584
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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.
@@ -593,7 +593,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
593
593
  return (0, exports.BankOrdersApiFp)(this.configuration).createBankOrder(requestParameters.createBankOrderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
594
594
  };
595
595
  /**
596
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
596
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
597
597
  * @summary Delete the bank order
598
598
  * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
599
599
  * @param {*} [options] Override http request option.
@@ -605,7 +605,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
605
605
  return (0, exports.BankOrdersApiFp)(this.configuration).deleteBankOrder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
606
606
  };
607
607
  /**
608
- * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-accounts.view\"
608
+ * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
609
609
  * @summary Retrieve the bank order
610
610
  * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
611
611
  * @param {*} [options] Override http request option.
@@ -617,7 +617,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
617
617
  return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
618
618
  };
619
619
  /**
620
- * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
620
+ * Returns a list of bank orders you have previously created. The bank orders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-orders.view\"
621
621
  * @summary List bank orders
622
622
  * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
623
623
  * @param {*} [options] Override http request option.
@@ -630,7 +630,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
630
630
  return (0, exports.BankOrdersApiFp)(this.configuration).listBankOrders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
631
631
  };
632
632
  /**
633
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
633
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
634
634
  * @summary Update the bank order
635
635
  * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
636
636
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk-node",
3
- "version": "1.21.1-beta.20",
3
+ "version": "1.21.1-beta.22",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [