@emilgroup/accounting-sdk 1.18.1-beta.1 → 1.18.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.
@@ -93,7 +93,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
96
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
97
97
  * @summary Create the Personal Account
98
98
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
145
+ * 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\"
146
146
  * @summary Delete the Personal Account
147
147
  * @param {string} code Unique identifier for the object.
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -190,7 +190,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
193
+ * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
194
194
  * @summary Retrieve the Personal Account
195
195
  * @param {string} code Unique identifier for the object.
196
196
  * @param {string} expand
@@ -244,13 +244,13 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
244
244
  });
245
245
  },
246
246
  /**
247
- * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
247
+ * Returns a list of Personal Accounts you have previously created. The Personal 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\"
248
248
  * @summary List Personal Accounts
249
249
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
250
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
252
252
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type</i>
253
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
253
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
254
254
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, personalAccountNumber</i>
255
255
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
256
256
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type</i>
@@ -326,7 +326,7 @@ var PersonalAccountsApiFp = function (configuration) {
326
326
  var localVarAxiosParamCreator = (0, exports.PersonalAccountsApiAxiosParamCreator)(configuration);
327
327
  return {
328
328
  /**
329
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
329
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
330
330
  * @summary Create the Personal Account
331
331
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
332
332
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -347,7 +347,7 @@ var PersonalAccountsApiFp = function (configuration) {
347
347
  });
348
348
  },
349
349
  /**
350
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
350
+ * 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\"
351
351
  * @summary Delete the Personal Account
352
352
  * @param {string} code Unique identifier for the object.
353
353
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -368,7 +368,7 @@ var PersonalAccountsApiFp = function (configuration) {
368
368
  });
369
369
  },
370
370
  /**
371
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
371
+ * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
372
372
  * @summary Retrieve the Personal Account
373
373
  * @param {string} code Unique identifier for the object.
374
374
  * @param {string} expand
@@ -390,13 +390,13 @@ var PersonalAccountsApiFp = function (configuration) {
390
390
  });
391
391
  },
392
392
  /**
393
- * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
393
+ * Returns a list of Personal Accounts you have previously created. The Personal 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\"
394
394
  * @summary List Personal Accounts
395
395
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
396
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
397
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
396
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
397
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
398
398
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type</i>
399
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
399
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
400
400
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, personalAccountNumber</i>
401
401
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
402
402
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type</i>
@@ -427,7 +427,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
427
427
  var localVarFp = (0, exports.PersonalAccountsApiFp)(configuration);
428
428
  return {
429
429
  /**
430
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
430
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
431
431
  * @summary Create the Personal Account
432
432
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
433
433
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -438,7 +438,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
438
438
  return localVarFp.createPersonalAccount(createPersonalAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
439
439
  },
440
440
  /**
441
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
441
+ * 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\"
442
442
  * @summary Delete the Personal Account
443
443
  * @param {string} code Unique identifier for the object.
444
444
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -449,7 +449,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
449
449
  return localVarFp.deletePersonalAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
450
450
  },
451
451
  /**
452
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
452
+ * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
453
453
  * @summary Retrieve the Personal Account
454
454
  * @param {string} code Unique identifier for the object.
455
455
  * @param {string} expand
@@ -461,13 +461,13 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
461
461
  return localVarFp.getPersonalAccount(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
462
462
  },
463
463
  /**
464
- * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
464
+ * Returns a list of Personal Accounts you have previously created. The Personal 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\"
465
465
  * @summary List Personal Accounts
466
466
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
467
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
468
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
467
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
468
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
469
469
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type</i>
470
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
470
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
471
471
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, personalAccountNumber</i>
472
472
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
473
473
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type</i>
@@ -492,7 +492,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
492
492
  return _super !== null && _super.apply(this, arguments) || this;
493
493
  }
494
494
  /**
495
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
495
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
496
496
  * @summary Create the Personal Account
497
497
  * @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
498
498
  * @param {*} [options] Override http request option.
@@ -504,7 +504,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
504
504
  return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
505
505
  };
506
506
  /**
507
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
507
+ * 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\"
508
508
  * @summary Delete the Personal Account
509
509
  * @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
510
510
  * @param {*} [options] Override http request option.
@@ -516,7 +516,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
516
516
  return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
517
517
  };
518
518
  /**
519
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
519
+ * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
520
520
  * @summary Retrieve the Personal Account
521
521
  * @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
522
522
  * @param {*} [options] Override http request option.
@@ -528,7 +528,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
528
528
  return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
529
529
  };
530
530
  /**
531
- * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
531
+ * Returns a list of Personal Accounts you have previously created. The Personal 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\"
532
532
  * @summary List Personal Accounts
533
533
  * @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
534
534
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk",
3
- "version": "1.18.1-beta.1",
3
+ "version": "1.18.1-beta.3",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [