@emilgroup/payment-sdk 1.13.1-beta.20 → 1.13.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@1.13.1-beta.20 --save
20
+ npm install @emilgroup/payment-sdk@1.13.1-beta.22 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.13.1-beta.20
24
+ yarn add @emilgroup/payment-sdk@1.13.1-beta.22
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-accounts.create\"
42
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -86,7 +86,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
86
86
  };
87
87
  },
88
88
  /**
89
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
89
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
90
90
  * @summary Delete the bank order
91
91
  * @param {string} code Unique identifier for the object.
92
92
  * @param {string} [authorization] Bearer Token
@@ -131,7 +131,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
131
131
  };
132
132
  },
133
133
  /**
134
- * 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\"
134
+ * 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\"
135
135
  * @summary Retrieve the bank order
136
136
  * @param {string} code
137
137
  * @param {string} [authorization] Bearer Token
@@ -181,7 +181,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
181
181
  };
182
182
  },
183
183
  /**
184
- * 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\"
184
+ * 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\"
185
185
  * @summary List bank orders
186
186
  * @param {string} [authorization] Bearer Token
187
187
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -257,7 +257,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
257
257
  };
258
258
  },
259
259
  /**
260
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
260
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
261
261
  * @summary Update the bank order
262
262
  * @param {string} code Unique identifier for the object.
263
263
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
321
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -330,7 +330,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
330
330
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
331
331
  },
332
332
  /**
333
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
333
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
334
334
  * @summary Delete the bank order
335
335
  * @param {string} code Unique identifier for the object.
336
336
  * @param {string} [authorization] Bearer Token
@@ -342,7 +342,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
342
342
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
343
343
  },
344
344
  /**
345
- * 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\"
345
+ * 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\"
346
346
  * @summary Retrieve the bank order
347
347
  * @param {string} code
348
348
  * @param {string} [authorization] Bearer Token
@@ -355,7 +355,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
355
355
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
356
356
  },
357
357
  /**
358
- * 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\"
358
+ * 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\"
359
359
  * @summary List bank orders
360
360
  * @param {string} [authorization] Bearer Token
361
361
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -373,7 +373,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
373
373
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
374
374
  },
375
375
  /**
376
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
376
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
377
377
  * @summary Update the bank order
378
378
  * @param {string} code Unique identifier for the object.
379
379
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
399
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -407,7 +407,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
407
407
  return localVarFp.createBankOrder(createBankOrderRequestDto, authorization, options).then((request) => request(axios, basePath));
408
408
  },
409
409
  /**
410
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
410
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
411
411
  * @summary Delete the bank order
412
412
  * @param {string} code Unique identifier for the object.
413
413
  * @param {string} [authorization] Bearer Token
@@ -418,7 +418,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
418
418
  return localVarFp.deleteBankOrder(code, authorization, options).then((request) => request(axios, basePath));
419
419
  },
420
420
  /**
421
- * 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\"
421
+ * 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\"
422
422
  * @summary Retrieve the bank order
423
423
  * @param {string} code
424
424
  * @param {string} [authorization] Bearer Token
@@ -430,7 +430,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
430
430
  return localVarFp.getBankOrder(code, authorization, expand, options).then((request) => request(axios, basePath));
431
431
  },
432
432
  /**
433
- * 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\"
433
+ * 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\"
434
434
  * @summary List bank orders
435
435
  * @param {string} [authorization] Bearer Token
436
436
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -447,7 +447,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
447
447
  return localVarFp.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
448
448
  },
449
449
  /**
450
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
450
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
451
451
  * @summary Update the bank order
452
452
  * @param {string} code Unique identifier for the object.
453
453
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
633
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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.
@@ -642,7 +642,7 @@ export class BankOrdersApi extends BaseAPI {
642
642
  }
643
643
 
644
644
  /**
645
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
645
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
646
646
  * @summary Delete the bank order
647
647
  * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
648
648
  * @param {*} [options] Override http request option.
@@ -654,7 +654,7 @@ export class BankOrdersApi extends BaseAPI {
654
654
  }
655
655
 
656
656
  /**
657
- * 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\"
657
+ * 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\"
658
658
  * @summary Retrieve the bank order
659
659
  * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
660
660
  * @param {*} [options] Override http request option.
@@ -666,7 +666,7 @@ export class BankOrdersApi extends BaseAPI {
666
666
  }
667
667
 
668
668
  /**
669
- * 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\"
669
+ * 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\"
670
670
  * @summary List bank orders
671
671
  * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
672
672
  * @param {*} [options] Override http request option.
@@ -678,7 +678,7 @@ export class BankOrdersApi extends BaseAPI {
678
678
  }
679
679
 
680
680
  /**
681
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
681
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
682
682
  * @summary Update the bank order
683
683
  * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
684
684
  * @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.
@@ -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-accounts.create\"
96
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -142,7 +142,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
145
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
146
146
  * @summary Delete the bank order
147
147
  * @param {string} code Unique identifier for the object.
148
148
  * @param {string} [authorization] Bearer Token
@@ -190,7 +190,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * 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\"
193
+ * 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\"
194
194
  * @summary Retrieve the bank order
195
195
  * @param {string} code
196
196
  * @param {string} [authorization] Bearer Token
@@ -242,7 +242,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
245
- * 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\"
245
+ * 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\"
246
246
  * @summary List bank orders
247
247
  * @param {string} [authorization] Bearer Token
248
248
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -314,7 +314,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
314
314
  });
315
315
  },
316
316
  /**
317
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
317
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
318
318
  * @summary Update the bank order
319
319
  * @param {string} code Unique identifier for the object.
320
320
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
380
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -398,7 +398,7 @@ var BankOrdersApiFp = function (configuration) {
398
398
  });
399
399
  },
400
400
  /**
401
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
401
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
402
402
  * @summary Delete the bank order
403
403
  * @param {string} code Unique identifier for the object.
404
404
  * @param {string} [authorization] Bearer Token
@@ -419,7 +419,7 @@ var BankOrdersApiFp = function (configuration) {
419
419
  });
420
420
  },
421
421
  /**
422
- * 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\"
422
+ * 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\"
423
423
  * @summary Retrieve the bank order
424
424
  * @param {string} code
425
425
  * @param {string} [authorization] Bearer Token
@@ -441,7 +441,7 @@ var BankOrdersApiFp = function (configuration) {
441
441
  });
442
442
  },
443
443
  /**
444
- * 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\"
444
+ * 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\"
445
445
  * @summary List bank orders
446
446
  * @param {string} [authorization] Bearer Token
447
447
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -468,7 +468,7 @@ var BankOrdersApiFp = function (configuration) {
468
468
  });
469
469
  },
470
470
  /**
471
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
471
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
472
472
  * @summary Update the bank order
473
473
  * @param {string} code Unique identifier for the object.
474
474
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
503
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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
@@ -511,7 +511,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
511
511
  return localVarFp.createBankOrder(createBankOrderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
512
512
  },
513
513
  /**
514
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
514
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
515
515
  * @summary Delete the bank order
516
516
  * @param {string} code Unique identifier for the object.
517
517
  * @param {string} [authorization] Bearer Token
@@ -522,7 +522,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
522
522
  return localVarFp.deleteBankOrder(code, authorization, options).then(function (request) { return request(axios, basePath); });
523
523
  },
524
524
  /**
525
- * 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\"
525
+ * 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\"
526
526
  * @summary Retrieve the bank order
527
527
  * @param {string} code
528
528
  * @param {string} [authorization] Bearer Token
@@ -534,7 +534,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
534
534
  return localVarFp.getBankOrder(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
535
535
  },
536
536
  /**
537
- * 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\"
537
+ * 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\"
538
538
  * @summary List bank orders
539
539
  * @param {string} [authorization] Bearer Token
540
540
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -551,7 +551,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
551
551
  return localVarFp.listBankOrders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
552
552
  },
553
553
  /**
554
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
554
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
555
555
  * @summary Update the bank order
556
556
  * @param {string} code Unique identifier for the object.
557
557
  * @param {UpdateBankOrderRequestDto} updateBankOrderRequestDto
@@ -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-accounts.create\"
580
+ * This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.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.
@@ -589,7 +589,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
589
589
  return (0, exports.BankOrdersApiFp)(this.configuration).createBankOrder(requestParameters.createBankOrderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
590
590
  };
591
591
  /**
592
- * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-accounts.delete\"
592
+ * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
593
593
  * @summary Delete the bank order
594
594
  * @param {BankOrdersApiDeleteBankOrderRequest} requestParameters Request parameters.
595
595
  * @param {*} [options] Override http request option.
@@ -601,7 +601,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
601
601
  return (0, exports.BankOrdersApiFp)(this.configuration).deleteBankOrder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
602
602
  };
603
603
  /**
604
- * 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\"
604
+ * 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\"
605
605
  * @summary Retrieve the bank order
606
606
  * @param {BankOrdersApiGetBankOrderRequest} requestParameters Request parameters.
607
607
  * @param {*} [options] Override http request option.
@@ -613,7 +613,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
613
613
  return (0, exports.BankOrdersApiFp)(this.configuration).getBankOrder(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
614
614
  };
615
615
  /**
616
- * 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\"
616
+ * 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\"
617
617
  * @summary List bank orders
618
618
  * @param {BankOrdersApiListBankOrdersRequest} requestParameters Request parameters.
619
619
  * @param {*} [options] Override http request option.
@@ -626,7 +626,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
626
626
  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); });
627
627
  };
628
628
  /**
629
- * Update a bank order by code **Required Permissions** \"payment-management.bank-accounts.update\"
629
+ * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
630
630
  * @summary Update the bank order
631
631
  * @param {BankOrdersApiUpdateBankOrderRequest} requestParameters Request parameters.
632
632
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.13.1-beta.20",
3
+ "version": "1.13.1-beta.22",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [