@emilgroup/accounting-sdk-node 1.16.1-beta.8 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/accounting-sdk-node@1.16.1-beta.8 --save
20
+ npm install @emilgroup/accounting-sdk-node@1.17.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk-node@1.16.1-beta.8
24
+ yarn add @emilgroup/accounting-sdk-node@1.17.0
25
25
  ```
26
26
 
27
27
  And then you can import `FinancialAccountsApi`.
@@ -39,7 +39,7 @@ const FormData = require('form-data');
39
39
  export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
40
40
  return {
41
41
  /**
42
- * This will create an personal account in the database. The personal 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.
42
+ * 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.
43
43
  * @summary Create the Personal Account
44
44
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
45
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -131,8 +131,8 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
131
131
  };
132
132
  },
133
133
  /**
134
- * 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.
135
- * @summary Retrieve the Financial Account
134
+ * 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.
135
+ * @summary Retrieve the Personal Account
136
136
  * @param {string} code Unique identifier for the object.
137
137
  * @param {string} expand
138
138
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -183,8 +183,8 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
183
183
  };
184
184
  },
185
185
  /**
186
- * 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.
187
- * @summary List Financial Accounts
186
+ * 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.
187
+ * @summary List Personal Accounts
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
189
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
190
  * @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.
@@ -269,7 +269,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
269
269
  const localVarAxiosParamCreator = PersonalAccountsApiAxiosParamCreator(configuration)
270
270
  return {
271
271
  /**
272
- * This will create an personal account in the database. The personal 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.
272
+ * 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.
273
273
  * @summary Create the Personal Account
274
274
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
275
275
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -293,8 +293,8 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
293
293
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
294
294
  },
295
295
  /**
296
- * 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.
297
- * @summary Retrieve the Financial Account
296
+ * 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.
297
+ * @summary Retrieve the Personal Account
298
298
  * @param {string} code Unique identifier for the object.
299
299
  * @param {string} expand
300
300
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -306,8 +306,8 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
306
306
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
307
307
  },
308
308
  /**
309
- * 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.
310
- * @summary List Financial Accounts
309
+ * 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.
310
+ * @summary List Personal Accounts
311
311
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
312
312
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
313
313
  * @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.
@@ -334,7 +334,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
334
334
  const localVarFp = PersonalAccountsApiFp(configuration)
335
335
  return {
336
336
  /**
337
- * This will create an personal account in the database. The personal 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.
337
+ * 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.
338
338
  * @summary Create the Personal Account
339
339
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
340
340
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -356,8 +356,8 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
356
356
  return localVarFp.deletePersonalAccount(code, authorization, options).then((request) => request(axios, basePath));
357
357
  },
358
358
  /**
359
- * 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.
360
- * @summary Retrieve the Financial Account
359
+ * 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.
360
+ * @summary Retrieve the Personal Account
361
361
  * @param {string} code Unique identifier for the object.
362
362
  * @param {string} expand
363
363
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -368,8 +368,8 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
368
368
  return localVarFp.getPersonalAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
369
369
  },
370
370
  /**
371
- * 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.
372
- * @summary List Financial Accounts
371
+ * 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.
372
+ * @summary List Personal Accounts
373
373
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
374
374
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
375
375
  * @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.
@@ -528,7 +528,7 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
528
528
  */
529
529
  export class PersonalAccountsApi extends BaseAPI {
530
530
  /**
531
- * This will create an personal account in the database. The personal 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.
531
+ * 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.
532
532
  * @summary Create the Personal Account
533
533
  * @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
534
534
  * @param {*} [options] Override http request option.
@@ -552,8 +552,8 @@ export class PersonalAccountsApi extends BaseAPI {
552
552
  }
553
553
 
554
554
  /**
555
- * 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.
556
- * @summary Retrieve the Financial Account
555
+ * 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.
556
+ * @summary Retrieve the Personal Account
557
557
  * @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
558
558
  * @param {*} [options] Override http request option.
559
559
  * @throws {RequiredError}
@@ -564,8 +564,8 @@ export class PersonalAccountsApi extends BaseAPI {
564
564
  }
565
565
 
566
566
  /**
567
- * 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.
568
- * @summary List Financial Accounts
567
+ * 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.
568
+ * @summary List Personal Accounts
569
569
  * @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
570
570
  * @param {*} [options] Override http request option.
571
571
  * @throws {RequiredError}
@@ -22,7 +22,7 @@ import { ListPersonalAccountsResponseClass } from '../models';
22
22
  */
23
23
  export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * This will create an personal account in the database. The personal 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.
25
+ * 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.
26
26
  * @summary Create the Personal Account
27
27
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
28
28
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -40,8 +40,8 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
40
40
  */
41
41
  deletePersonalAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
42
  /**
43
- * 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.
44
- * @summary Retrieve the Financial Account
43
+ * 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.
44
+ * @summary Retrieve the Personal Account
45
45
  * @param {string} code Unique identifier for the object.
46
46
  * @param {string} expand
47
47
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -50,8 +50,8 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
50
50
  */
51
51
  getPersonalAccount: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
52
  /**
53
- * 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.
54
- * @summary List Financial Accounts
53
+ * 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.
54
+ * @summary List Personal Accounts
55
55
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
56
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
57
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -71,7 +71,7 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
71
71
  */
72
72
  export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
73
73
  /**
74
- * This will create an personal account in the database. The personal 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.
74
+ * 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.
75
75
  * @summary Create the Personal Account
76
76
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
77
77
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -89,8 +89,8 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
89
89
  */
90
90
  deletePersonalAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
91
91
  /**
92
- * 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.
93
- * @summary Retrieve the Financial Account
92
+ * 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.
93
+ * @summary Retrieve the Personal Account
94
94
  * @param {string} code Unique identifier for the object.
95
95
  * @param {string} expand
96
96
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -99,8 +99,8 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
99
99
  */
100
100
  getPersonalAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPersonalAccountResponseClass>>;
101
101
  /**
102
- * 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.
103
- * @summary List Financial Accounts
102
+ * 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.
103
+ * @summary List Personal Accounts
104
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
105
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
106
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -120,7 +120,7 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
120
120
  */
121
121
  export declare const PersonalAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
122
122
  /**
123
- * This will create an personal account in the database. The personal 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.
123
+ * 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.
124
124
  * @summary Create the Personal Account
125
125
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
126
126
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -138,8 +138,8 @@ export declare const PersonalAccountsApiFactory: (configuration?: Configuration,
138
138
  */
139
139
  deletePersonalAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
140
140
  /**
141
- * 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.
142
- * @summary Retrieve the Financial Account
141
+ * 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.
142
+ * @summary Retrieve the Personal Account
143
143
  * @param {string} code Unique identifier for the object.
144
144
  * @param {string} expand
145
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -148,8 +148,8 @@ export declare const PersonalAccountsApiFactory: (configuration?: Configuration,
148
148
  */
149
149
  getPersonalAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPersonalAccountResponseClass>;
150
150
  /**
151
- * 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.
152
- * @summary List Financial Accounts
151
+ * 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.
152
+ * @summary List Personal Accounts
153
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
154
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
155
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -289,7 +289,7 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
289
289
  */
290
290
  export declare class PersonalAccountsApi extends BaseAPI {
291
291
  /**
292
- * This will create an personal account in the database. The personal 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.
292
+ * 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.
293
293
  * @summary Create the Personal Account
294
294
  * @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
295
295
  * @param {*} [options] Override http request option.
@@ -307,8 +307,8 @@ export declare class PersonalAccountsApi extends BaseAPI {
307
307
  */
308
308
  deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
309
309
  /**
310
- * 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.
311
- * @summary Retrieve the Financial Account
310
+ * 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.
311
+ * @summary Retrieve the Personal Account
312
312
  * @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
313
313
  * @param {*} [options] Override http request option.
314
314
  * @throws {RequiredError}
@@ -316,8 +316,8 @@ export declare class PersonalAccountsApi extends BaseAPI {
316
316
  */
317
317
  getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPersonalAccountResponseClass, any>>;
318
318
  /**
319
- * 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.
320
- * @summary List Financial Accounts
319
+ * 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.
320
+ * @summary List Personal Accounts
321
321
  * @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
322
322
  * @param {*} [options] Override http request option.
323
323
  * @throws {RequiredError}
@@ -97,7 +97,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create an personal account in the database. The personal 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.
100
+ * 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.
101
101
  * @summary Create the Personal Account
102
102
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -194,8 +194,8 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * 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.
198
- * @summary Retrieve the Financial Account
197
+ * 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.
198
+ * @summary Retrieve the Personal Account
199
199
  * @param {string} code Unique identifier for the object.
200
200
  * @param {string} expand
201
201
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -248,8 +248,8 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
248
248
  });
249
249
  },
250
250
  /**
251
- * 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.
252
- * @summary List Financial Accounts
251
+ * 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.
252
+ * @summary List Personal Accounts
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
255
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -330,7 +330,7 @@ var PersonalAccountsApiFp = function (configuration) {
330
330
  var localVarAxiosParamCreator = (0, exports.PersonalAccountsApiAxiosParamCreator)(configuration);
331
331
  return {
332
332
  /**
333
- * This will create an personal account in the database. The personal 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 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.
334
334
  * @summary Create the Personal Account
335
335
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
336
336
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -372,8 +372,8 @@ var PersonalAccountsApiFp = function (configuration) {
372
372
  });
373
373
  },
374
374
  /**
375
- * 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.
376
- * @summary Retrieve the Financial Account
375
+ * 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.
376
+ * @summary Retrieve the Personal Account
377
377
  * @param {string} code Unique identifier for the object.
378
378
  * @param {string} expand
379
379
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -394,8 +394,8 @@ var PersonalAccountsApiFp = function (configuration) {
394
394
  });
395
395
  },
396
396
  /**
397
- * 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.
398
- * @summary List Financial Accounts
397
+ * 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.
398
+ * @summary List Personal Accounts
399
399
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
400
400
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
401
401
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -431,7 +431,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
431
431
  var localVarFp = (0, exports.PersonalAccountsApiFp)(configuration);
432
432
  return {
433
433
  /**
434
- * This will create an personal account in the database. The personal 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.
434
+ * 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.
435
435
  * @summary Create the Personal Account
436
436
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
437
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -453,8 +453,8 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
453
453
  return localVarFp.deletePersonalAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
454
454
  },
455
455
  /**
456
- * 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.
457
- * @summary Retrieve the Financial Account
456
+ * 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.
457
+ * @summary Retrieve the Personal Account
458
458
  * @param {string} code Unique identifier for the object.
459
459
  * @param {string} expand
460
460
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -465,8 +465,8 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
465
465
  return localVarFp.getPersonalAccount(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
466
466
  },
467
467
  /**
468
- * 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.
469
- * @summary List Financial Accounts
468
+ * 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.
469
+ * @summary List Personal Accounts
470
470
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
471
471
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
472
472
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -496,7 +496,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
496
496
  return _super !== null && _super.apply(this, arguments) || this;
497
497
  }
498
498
  /**
499
- * This will create an personal account in the database. The personal 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.
499
+ * 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.
500
500
  * @summary Create the Personal Account
501
501
  * @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
502
502
  * @param {*} [options] Override http request option.
@@ -520,8 +520,8 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
520
520
  return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
521
521
  };
522
522
  /**
523
- * 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.
524
- * @summary Retrieve the Financial Account
523
+ * 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.
524
+ * @summary Retrieve the Personal Account
525
525
  * @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
526
526
  * @param {*} [options] Override http request option.
527
527
  * @throws {RequiredError}
@@ -532,8 +532,8 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
532
532
  return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
533
533
  };
534
534
  /**
535
- * 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.
536
- * @summary List Financial Accounts
535
+ * 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.
536
+ * @summary List Personal Accounts
537
537
  * @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
538
538
  * @param {*} [options] Override http request option.
539
539
  * @throws {RequiredError}
@@ -29,7 +29,7 @@ export interface BookingEntryClass {
29
29
  */
30
30
  'code': string;
31
31
  /**
32
- * The monetary amount associated with this booking entry.
32
+ * The total monetary amount of this booking entry. This amount is distributed among the associated transactions.
33
33
  * @type {number}
34
34
  * @memberof BookingEntryClass
35
35
  */
@@ -52,24 +52,30 @@ export interface BookingEntryClass {
52
52
  * @memberof BookingEntryClass
53
53
  */
54
54
  'documentDate': string;
55
+ /**
56
+ * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
57
+ * @type {string}
58
+ * @memberof BookingEntryClass
59
+ */
60
+ 'description': string;
55
61
  /**
56
62
  * A flexible JSON object that allows tenants to include any custom fields. The keys represent the names of the custom fields, and the values can be of any data type. This enables tenants to store additional metadata or custom attributes that are specific to their use case.
57
63
  * @type {object}
58
64
  * @memberof BookingEntryClass
59
65
  */
60
- 'customFields': object;
66
+ 'customFields'?: object;
61
67
  /**
62
68
  * The unique identifier for the entity (e.g., claim, invoice) associated with this booking entry.
63
69
  * @type {string}
64
70
  * @memberof BookingEntryClass
65
71
  */
66
- 'entityNumber': string;
72
+ 'entityNumber'?: string;
67
73
  /**
68
74
  * The external document number associated with this booking entry.
69
75
  * @type {string}
70
76
  * @memberof BookingEntryClass
71
77
  */
72
- 'externalNumber': string;
78
+ 'externalNumber'?: string;
73
79
  /**
74
80
  * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
75
81
  * @type {Array<FinancialTransactionClass>}
@@ -51,7 +51,7 @@ export interface CreateBookingEntryRequestDto {
51
51
  * @type {object}
52
52
  * @memberof CreateBookingEntryRequestDto
53
53
  */
54
- 'customFields': object;
54
+ 'customFields'?: object;
55
55
  /**
56
56
  * An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
57
57
  * @type {Array<FinancialTransactionDataDto>}
@@ -56,7 +56,7 @@ export interface PersonalAccountClass {
56
56
  * @type {string}
57
57
  * @memberof PersonalAccountClass
58
58
  */
59
- 'entityCode': string;
59
+ 'entityCode'?: string;
60
60
  /**
61
61
  * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
62
62
  * @type {string}
@@ -34,7 +34,7 @@ export interface BookingEntryClass {
34
34
  */
35
35
  'code': string;
36
36
  /**
37
- * The monetary amount associated with this booking entry.
37
+ * The total monetary amount of this booking entry. This amount is distributed among the associated transactions.
38
38
  * @type {number}
39
39
  * @memberof BookingEntryClass
40
40
  */
@@ -57,24 +57,30 @@ export interface BookingEntryClass {
57
57
  * @memberof BookingEntryClass
58
58
  */
59
59
  'documentDate': string;
60
+ /**
61
+ * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
62
+ * @type {string}
63
+ * @memberof BookingEntryClass
64
+ */
65
+ 'description': string;
60
66
  /**
61
67
  * A flexible JSON object that allows tenants to include any custom fields. The keys represent the names of the custom fields, and the values can be of any data type. This enables tenants to store additional metadata or custom attributes that are specific to their use case.
62
68
  * @type {object}
63
69
  * @memberof BookingEntryClass
64
70
  */
65
- 'customFields': object;
71
+ 'customFields'?: object;
66
72
  /**
67
73
  * The unique identifier for the entity (e.g., claim, invoice) associated with this booking entry.
68
74
  * @type {string}
69
75
  * @memberof BookingEntryClass
70
76
  */
71
- 'entityNumber': string;
77
+ 'entityNumber'?: string;
72
78
  /**
73
79
  * The external document number associated with this booking entry.
74
80
  * @type {string}
75
81
  * @memberof BookingEntryClass
76
82
  */
77
- 'externalNumber': string;
83
+ 'externalNumber'?: string;
78
84
  /**
79
85
  * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
80
86
  * @type {Array<FinancialTransactionClass>}
@@ -56,7 +56,7 @@ export interface CreateBookingEntryRequestDto {
56
56
  * @type {object}
57
57
  * @memberof CreateBookingEntryRequestDto
58
58
  */
59
- 'customFields': object;
59
+ 'customFields'?: object;
60
60
  /**
61
61
  * An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
62
62
  * @type {Array<FinancialTransactionDataDto>}
@@ -61,7 +61,7 @@ export interface PersonalAccountClass {
61
61
  * @type {string}
62
62
  * @memberof PersonalAccountClass
63
63
  */
64
- 'entityCode': string;
64
+ 'entityCode'?: string;
65
65
  /**
66
66
  * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
67
67
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk-node",
3
- "version": "1.16.1-beta.8",
3
+ "version": "1.17.0",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [