@emilgroup/accounting-sdk 1.17.1-beta.2 → 1.17.1-beta.3

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/accounting-sdk@1.17.1-beta.2 --save
20
+ npm install @emilgroup/accounting-sdk@1.17.1-beta.3 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk@1.17.1-beta.2
24
+ yarn add @emilgroup/accounting-sdk@1.17.1-beta.3
25
25
  ```
26
26
 
27
27
  And then you can import `FinancialAccountsApi`.
@@ -35,7 +35,7 @@ import { ListBookingEntriesResponseClass } from '../models';
35
35
  export const BookingEntriesApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * This endpoint creates a new booking entry.
38
+ * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
39
39
  * @summary Create the booking entry
40
40
  * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -82,7 +82,7 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
82
82
  };
83
83
  },
84
84
  /**
85
- * This endpoint gets a booking entry.
85
+ * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
86
86
  * @summary Retrieve the booking entry
87
87
  * @param {string} code
88
88
  * @param {string} expand
@@ -134,7 +134,7 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
134
134
  };
135
135
  },
136
136
  /**
137
- * This endpoint gets booking entries.
137
+ * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
138
138
  * @summary List booking entries
139
139
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
140
140
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -220,7 +220,7 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
220
220
  const localVarAxiosParamCreator = BookingEntriesApiAxiosParamCreator(configuration)
221
221
  return {
222
222
  /**
223
- * This endpoint creates a new booking entry.
223
+ * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
224
224
  * @summary Create the booking entry
225
225
  * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
226
226
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -232,7 +232,7 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
232
232
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
233
233
  },
234
234
  /**
235
- * This endpoint gets a booking entry.
235
+ * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
236
236
  * @summary Retrieve the booking entry
237
237
  * @param {string} code
238
238
  * @param {string} expand
@@ -245,7 +245,7 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
245
245
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
246
246
  },
247
247
  /**
248
- * This endpoint gets booking entries.
248
+ * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
249
249
  * @summary List booking entries
250
250
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
251
251
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -273,7 +273,7 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
273
273
  const localVarFp = BookingEntriesApiFp(configuration)
274
274
  return {
275
275
  /**
276
- * This endpoint creates a new booking entry.
276
+ * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
277
277
  * @summary Create the booking entry
278
278
  * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
279
279
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -284,7 +284,7 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
284
284
  return localVarFp.createBookingEntry(createBookingEntryRequestDto, authorization, options).then((request) => request(axios, basePath));
285
285
  },
286
286
  /**
287
- * This endpoint gets a booking entry.
287
+ * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
288
288
  * @summary Retrieve the booking entry
289
289
  * @param {string} code
290
290
  * @param {string} expand
@@ -296,7 +296,7 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
296
296
  return localVarFp.getBookingEntry(code, expand, authorization, options).then((request) => request(axios, basePath));
297
297
  },
298
298
  /**
299
- * This endpoint gets booking entries.
299
+ * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
300
300
  * @summary List booking entries
301
301
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
302
302
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -435,7 +435,7 @@ export interface BookingEntriesApiListBookingEntriesRequest {
435
435
  */
436
436
  export class BookingEntriesApi extends BaseAPI {
437
437
  /**
438
- * This endpoint creates a new booking entry.
438
+ * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
439
439
  * @summary Create the booking entry
440
440
  * @param {BookingEntriesApiCreateBookingEntryRequest} requestParameters Request parameters.
441
441
  * @param {*} [options] Override http request option.
@@ -447,7 +447,7 @@ export class BookingEntriesApi extends BaseAPI {
447
447
  }
448
448
 
449
449
  /**
450
- * This endpoint gets a booking entry.
450
+ * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
451
451
  * @summary Retrieve the booking entry
452
452
  * @param {BookingEntriesApiGetBookingEntryRequest} requestParameters Request parameters.
453
453
  * @param {*} [options] Override http request option.
@@ -459,7 +459,7 @@ export class BookingEntriesApi extends BaseAPI {
459
459
  }
460
460
 
461
461
  /**
462
- * This endpoint gets booking entries.
462
+ * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
463
463
  * @summary List booking entries
464
464
  * @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
465
465
  * @param {*} [options] Override http request option.
@@ -35,7 +35,7 @@ import { ListFinancialAccountsResponseClass } from '../models';
35
35
  export const FinancialAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
38
+ * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
39
39
  * @summary Create the Financial Account
40
40
  * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -82,7 +82,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
82
82
  };
83
83
  },
84
84
  /**
85
- * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
85
+ * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
86
86
  * @summary Delete the Financial Account
87
87
  * @param {string} code Unique identifier for the object.
88
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -127,7 +127,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
127
127
  };
128
128
  },
129
129
  /**
130
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
130
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
131
131
  * @summary Retrieve the Financial Account
132
132
  * @param {string} code Unique identifier for the object.
133
133
  * @param {string} expand
@@ -179,7 +179,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
179
179
  };
180
180
  },
181
181
  /**
182
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
182
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
183
183
  * @summary List Financial Accounts
184
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
185
185
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -265,7 +265,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
265
265
  const localVarAxiosParamCreator = FinancialAccountsApiAxiosParamCreator(configuration)
266
266
  return {
267
267
  /**
268
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
268
+ * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
269
269
  * @summary Create the Financial Account
270
270
  * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
271
271
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -277,7 +277,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
277
277
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
278
278
  },
279
279
  /**
280
- * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
280
+ * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
281
281
  * @summary Delete the Financial Account
282
282
  * @param {string} code Unique identifier for the object.
283
283
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -289,7 +289,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
289
289
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
290
290
  },
291
291
  /**
292
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
292
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
293
293
  * @summary Retrieve the Financial Account
294
294
  * @param {string} code Unique identifier for the object.
295
295
  * @param {string} expand
@@ -302,7 +302,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
302
302
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
303
303
  },
304
304
  /**
305
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
305
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
306
306
  * @summary List Financial Accounts
307
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
308
308
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -330,7 +330,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
330
330
  const localVarFp = FinancialAccountsApiFp(configuration)
331
331
  return {
332
332
  /**
333
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
333
+ * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
334
334
  * @summary Create the Financial Account
335
335
  * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
336
336
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -341,7 +341,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
341
341
  return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
342
342
  },
343
343
  /**
344
- * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
344
+ * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
345
345
  * @summary Delete the Financial Account
346
346
  * @param {string} code Unique identifier for the object.
347
347
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -352,7 +352,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
352
352
  return localVarFp.deleteFinancialAccount(code, authorization, options).then((request) => request(axios, basePath));
353
353
  },
354
354
  /**
355
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
355
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
356
356
  * @summary Retrieve the Financial Account
357
357
  * @param {string} code Unique identifier for the object.
358
358
  * @param {string} expand
@@ -364,7 +364,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
364
364
  return localVarFp.getFinancialAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
365
365
  },
366
366
  /**
367
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
367
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
368
368
  * @summary List Financial Accounts
369
369
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
370
370
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -524,7 +524,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
524
524
  */
525
525
  export class FinancialAccountsApi extends BaseAPI {
526
526
  /**
527
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
527
+ * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
528
528
  * @summary Create the Financial Account
529
529
  * @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
530
530
  * @param {*} [options] Override http request option.
@@ -536,7 +536,7 @@ export class FinancialAccountsApi extends BaseAPI {
536
536
  }
537
537
 
538
538
  /**
539
- * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
539
+ * Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
540
540
  * @summary Delete the Financial Account
541
541
  * @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
542
542
  * @param {*} [options] Override http request option.
@@ -548,7 +548,7 @@ export class FinancialAccountsApi extends BaseAPI {
548
548
  }
549
549
 
550
550
  /**
551
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
551
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
552
552
  * @summary Retrieve the Financial Account
553
553
  * @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
554
554
  * @param {*} [options] Override http request option.
@@ -560,7 +560,7 @@ export class FinancialAccountsApi extends BaseAPI {
560
560
  }
561
561
 
562
562
  /**
563
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
563
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
564
564
  * @summary List Financial Accounts
565
565
  * @param {FinancialAccountsApiListFinancialAccountsRequest} requestParameters Request parameters.
566
566
  * @param {*} [options] Override http request option.
@@ -31,7 +31,7 @@ import { ListFinancialTransactionsResponseClass } from '../models';
31
31
  export const FinancialTransactionsApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
- * This endpoint gets a financial transaction.
34
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
35
35
  * @summary Retrieve the financial transaction
36
36
  * @param {string} code
37
37
  * @param {string} expand
@@ -83,7 +83,7 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
83
83
  };
84
84
  },
85
85
  /**
86
- * This endpoint list financial transactions.
86
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
87
87
  * @summary List financial transactions
88
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
89
89
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -169,7 +169,7 @@ export const FinancialTransactionsApiFp = function(configuration?: Configuration
169
169
  const localVarAxiosParamCreator = FinancialTransactionsApiAxiosParamCreator(configuration)
170
170
  return {
171
171
  /**
172
- * This endpoint gets a financial transaction.
172
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
173
173
  * @summary Retrieve the financial transaction
174
174
  * @param {string} code
175
175
  * @param {string} expand
@@ -182,7 +182,7 @@ export const FinancialTransactionsApiFp = function(configuration?: Configuration
182
182
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
183
183
  },
184
184
  /**
185
- * This endpoint list financial transactions.
185
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
186
186
  * @summary List financial transactions
187
187
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
188
188
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -210,7 +210,7 @@ export const FinancialTransactionsApiFactory = function (configuration?: Configu
210
210
  const localVarFp = FinancialTransactionsApiFp(configuration)
211
211
  return {
212
212
  /**
213
- * This endpoint gets a financial transaction.
213
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
214
214
  * @summary Retrieve the financial transaction
215
215
  * @param {string} code
216
216
  * @param {string} expand
@@ -222,7 +222,7 @@ export const FinancialTransactionsApiFactory = function (configuration?: Configu
222
222
  return localVarFp.getFinancialTransaction(code, expand, authorization, options).then((request) => request(axios, basePath));
223
223
  },
224
224
  /**
225
- * This endpoint list financial transactions.
225
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
226
226
  * @summary List financial transactions
227
227
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
228
228
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -340,7 +340,7 @@ export interface FinancialTransactionsApiListFinancialTransactionsRequest {
340
340
  */
341
341
  export class FinancialTransactionsApi extends BaseAPI {
342
342
  /**
343
- * This endpoint gets a financial transaction.
343
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
344
344
  * @summary Retrieve the financial transaction
345
345
  * @param {FinancialTransactionsApiGetFinancialTransactionRequest} requestParameters Request parameters.
346
346
  * @param {*} [options] Override http request option.
@@ -352,7 +352,7 @@ export class FinancialTransactionsApi extends BaseAPI {
352
352
  }
353
353
 
354
354
  /**
355
- * This endpoint list financial transactions.
355
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
356
356
  * @summary List financial transactions
357
357
  * @param {FinancialTransactionsApiListFinancialTransactionsRequest} requestParameters Request parameters.
358
358
  * @param {*} [options] Override http request option.
@@ -35,7 +35,7 @@ import { ListNumberRangeResponseClass } from '../models';
35
35
  export const NumberRangesApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
38
+ * This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
39
39
  * @summary Create the Number Range
40
40
  * @param {CreateNumberRangeRequestDto} createNumberRangeRequestDto
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -82,7 +82,7 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
82
82
  };
83
83
  },
84
84
  /**
85
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
85
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
86
86
  * @summary Delete the Personal Account
87
87
  * @param {string} code Unique identifier for the object.
88
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -127,7 +127,7 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
127
127
  };
128
128
  },
129
129
  /**
130
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
130
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
131
131
  * @summary Retrieve the Financial Account
132
132
  * @param {string} code Unique identifier for the object.
133
133
  * @param {string} expand
@@ -179,7 +179,7 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
179
179
  };
180
180
  },
181
181
  /**
182
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
182
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
183
183
  * @summary List Financial Accounts
184
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
185
185
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -265,7 +265,7 @@ export const NumberRangesApiFp = function(configuration?: Configuration) {
265
265
  const localVarAxiosParamCreator = NumberRangesApiAxiosParamCreator(configuration)
266
266
  return {
267
267
  /**
268
- * This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
268
+ * This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
269
269
  * @summary Create the Number Range
270
270
  * @param {CreateNumberRangeRequestDto} createNumberRangeRequestDto
271
271
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -277,7 +277,7 @@ export const NumberRangesApiFp = function(configuration?: Configuration) {
277
277
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
278
278
  },
279
279
  /**
280
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
280
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
281
281
  * @summary Delete the Personal Account
282
282
  * @param {string} code Unique identifier for the object.
283
283
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -289,7 +289,7 @@ export const NumberRangesApiFp = function(configuration?: Configuration) {
289
289
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
290
290
  },
291
291
  /**
292
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
292
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
293
293
  * @summary Retrieve the Financial Account
294
294
  * @param {string} code Unique identifier for the object.
295
295
  * @param {string} expand
@@ -302,7 +302,7 @@ export const NumberRangesApiFp = function(configuration?: Configuration) {
302
302
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
303
303
  },
304
304
  /**
305
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
305
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
306
306
  * @summary List Financial Accounts
307
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
308
308
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -330,7 +330,7 @@ export const NumberRangesApiFactory = function (configuration?: Configuration, b
330
330
  const localVarFp = NumberRangesApiFp(configuration)
331
331
  return {
332
332
  /**
333
- * This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
333
+ * This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
334
334
  * @summary Create the Number Range
335
335
  * @param {CreateNumberRangeRequestDto} createNumberRangeRequestDto
336
336
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -341,7 +341,7 @@ export const NumberRangesApiFactory = function (configuration?: Configuration, b
341
341
  return localVarFp.createNumberRange(createNumberRangeRequestDto, authorization, options).then((request) => request(axios, basePath));
342
342
  },
343
343
  /**
344
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
344
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
345
345
  * @summary Delete the Personal Account
346
346
  * @param {string} code Unique identifier for the object.
347
347
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -352,7 +352,7 @@ export const NumberRangesApiFactory = function (configuration?: Configuration, b
352
352
  return localVarFp.deleteNumberRange(code, authorization, options).then((request) => request(axios, basePath));
353
353
  },
354
354
  /**
355
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
355
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
356
356
  * @summary Retrieve the Financial Account
357
357
  * @param {string} code Unique identifier for the object.
358
358
  * @param {string} expand
@@ -364,7 +364,7 @@ export const NumberRangesApiFactory = function (configuration?: Configuration, b
364
364
  return localVarFp.getNumberRange(code, expand, authorization, options).then((request) => request(axios, basePath));
365
365
  },
366
366
  /**
367
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
367
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
368
368
  * @summary List Financial Accounts
369
369
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
370
370
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -524,7 +524,7 @@ export interface NumberRangesApiListNumberRangesRequest {
524
524
  */
525
525
  export class NumberRangesApi extends BaseAPI {
526
526
  /**
527
- * This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
527
+ * This will create an number range in the database. The number range will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.accounts.create\"
528
528
  * @summary Create the Number Range
529
529
  * @param {NumberRangesApiCreateNumberRangeRequest} requestParameters Request parameters.
530
530
  * @param {*} [options] Override http request option.
@@ -536,7 +536,7 @@ export class NumberRangesApi extends BaseAPI {
536
536
  }
537
537
 
538
538
  /**
539
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
539
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
540
540
  * @summary Delete the Personal Account
541
541
  * @param {NumberRangesApiDeleteNumberRangeRequest} requestParameters Request parameters.
542
542
  * @param {*} [options] Override http request option.
@@ -548,7 +548,7 @@ export class NumberRangesApi extends BaseAPI {
548
548
  }
549
549
 
550
550
  /**
551
- * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
551
+ * Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.accounts.view\"
552
552
  * @summary Retrieve the Financial Account
553
553
  * @param {NumberRangesApiGetNumberRangeRequest} requestParameters Request parameters.
554
554
  * @param {*} [options] Override http request option.
@@ -560,7 +560,7 @@ export class NumberRangesApi extends BaseAPI {
560
560
  }
561
561
 
562
562
  /**
563
- * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
563
+ * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
564
564
  * @summary List Financial Accounts
565
565
  * @param {NumberRangesApiListNumberRangesRequest} requestParameters Request parameters.
566
566
  * @param {*} [options] Override http request option.