@emilgroup/accounting-sdk 1.28.1-beta.0 → 1.28.1-beta.18

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.28.1-beta.0 --save
20
+ npm install @emilgroup/accounting-sdk@1.28.1-beta.18 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/accounting-sdk@1.28.1-beta.0
24
+ yarn add @emilgroup/accounting-sdk@1.28.1-beta.18
25
25
  ```
26
26
 
27
27
  And then you can import `FinancialAccountsApi`.
@@ -184,11 +184,11 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
184
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
185
185
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
186
  * @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.
187
- * @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, createdAt, entityCode, type</i>
187
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
188
188
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
189
189
  * @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, financialAccountNumber</i>
190
190
  * @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/>
191
- * @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, createdAt, entityCode, type</i>
191
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
192
192
  * @param {*} [options] Override http request option.
193
193
  * @throws {RequiredError}
194
194
  */
@@ -307,11 +307,11 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
307
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
308
308
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
309
309
  * @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.
310
- * @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, createdAt, entityCode, type</i>
310
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
311
311
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
312
312
  * @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, financialAccountNumber</i>
313
313
  * @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/>
314
- * @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, createdAt, entityCode, type</i>
314
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
@@ -369,11 +369,11 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
369
369
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
370
370
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
371
371
  * @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.
372
- * @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, createdAt, entityCode, type</i>
372
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
373
373
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
374
374
  * @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, financialAccountNumber</i>
375
375
  * @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/>
376
- * @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, createdAt, entityCode, type</i>
376
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
377
377
  * @param {*} [options] Override http request option.
378
378
  * @throws {RequiredError}
379
379
  */
@@ -481,7 +481,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
481
481
  readonly pageToken?: string
482
482
 
483
483
  /**
484
- * 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, createdAt, entityCode, type</i>
484
+ * 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, createdAt, entityCode, type, status, isControlAccount</i>
485
485
  * @type {string}
486
486
  * @memberof FinancialAccountsApiListFinancialAccounts
487
487
  */
@@ -509,7 +509,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
509
509
  readonly expand?: string
510
510
 
511
511
  /**
512
- * 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, createdAt, entityCode, type</i>
512
+ * 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, createdAt, entityCode, type, status, isControlAccount</i>
513
513
  * @type {string}
514
514
  * @memberof FinancialAccountsApiListFinancialAccounts
515
515
  */
package/base.ts CHANGED
@@ -53,6 +53,7 @@ export enum Environment {
53
53
  Staging = 'https://apiv2-staging.emil.de',
54
54
  Development = 'https://apiv2-dev.emil.de',
55
55
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
56
+ StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
56
57
  }
57
58
 
58
59
  let _retry_count = 0
@@ -55,11 +55,11 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
55
55
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
56
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
57
  * @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.
58
- * @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, createdAt, entityCode, type</i>
58
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
59
59
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
60
60
  * @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, financialAccountNumber</i>
61
61
  * @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/>
62
- * @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, createdAt, entityCode, type</i>
62
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
63
63
  * @param {*} [options] Override http request option.
64
64
  * @throws {RequiredError}
65
65
  */
@@ -104,11 +104,11 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
104
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
105
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
106
  * @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.
107
- * @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, createdAt, entityCode, type</i>
107
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
108
108
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
109
109
  * @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, financialAccountNumber</i>
110
110
  * @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/>
111
- * @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, createdAt, entityCode, type</i>
111
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
112
112
  * @param {*} [options] Override http request option.
113
113
  * @throws {RequiredError}
114
114
  */
@@ -153,11 +153,11 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
153
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
154
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
155
  * @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.
156
- * @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, createdAt, entityCode, type</i>
156
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
157
157
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
158
158
  * @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, financialAccountNumber</i>
159
159
  * @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/>
160
- * @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, createdAt, entityCode, type</i>
160
+ * @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, createdAt, entityCode, type, status, isControlAccount</i>
161
161
  * @param {*} [options] Override http request option.
162
162
  * @throws {RequiredError}
163
163
  */
@@ -251,7 +251,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
251
251
  */
252
252
  readonly pageToken?: string;
253
253
  /**
254
- * 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, createdAt, entityCode, type</i>
254
+ * 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, createdAt, entityCode, type, status, isControlAccount</i>
255
255
  * @type {string}
256
256
  * @memberof FinancialAccountsApiListFinancialAccounts
257
257
  */
@@ -275,7 +275,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
275
275
  */
276
276
  readonly expand?: string;
277
277
  /**
278
- * 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, createdAt, entityCode, type</i>
278
+ * 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, createdAt, entityCode, type, status, isControlAccount</i>
279
279
  * @type {string}
280
280
  * @memberof FinancialAccountsApiListFinancialAccounts
281
281
  */
@@ -249,11 +249,11 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
249
249
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
250
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
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
- * @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, createdAt, entityCode, type</i>
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, createdAt, entityCode, type, status, isControlAccount</i>
253
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, financialAccountNumber</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
- * @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, createdAt, entityCode, type</i>
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, createdAt, entityCode, type, status, isControlAccount</i>
257
257
  * @param {*} [options] Override http request option.
258
258
  * @throws {RequiredError}
259
259
  */
@@ -395,11 +395,11 @@ var FinancialAccountsApiFp = function (configuration) {
395
395
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
396
396
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
397
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
- * @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, createdAt, entityCode, type</i>
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, createdAt, entityCode, type, status, isControlAccount</i>
399
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, financialAccountNumber</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
- * @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, createdAt, entityCode, type</i>
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, createdAt, entityCode, type, status, isControlAccount</i>
403
403
  * @param {*} [options] Override http request option.
404
404
  * @throws {RequiredError}
405
405
  */
@@ -466,11 +466,11 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
466
466
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
467
467
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
468
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
- * @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, createdAt, entityCode, type</i>
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, createdAt, entityCode, type, status, isControlAccount</i>
470
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, financialAccountNumber</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
- * @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, createdAt, entityCode, type</i>
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, createdAt, entityCode, type, status, isControlAccount</i>
474
474
  * @param {*} [options] Override http request option.
475
475
  * @throws {RequiredError}
476
476
  */
package/dist/base.d.ts CHANGED
@@ -39,7 +39,8 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
+ StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
43
44
  }
44
45
  export declare function resetRetry(): void;
45
46
  /**
package/dist/base.js CHANGED
@@ -102,6 +102,7 @@ var Environment;
102
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
103
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
104
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
105
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
105
106
  })(Environment = exports.Environment || (exports.Environment = {}));
106
107
  var _retry_count = 0;
107
108
  var _retry = null;
@@ -63,12 +63,24 @@ export interface CreateFinancialAccountRequestDto {
63
63
  * @memberof CreateFinancialAccountRequestDto
64
64
  */
65
65
  'clearable': boolean;
66
+ /**
67
+ * Whether the financial account is a control account
68
+ * @type {boolean}
69
+ * @memberof CreateFinancialAccountRequestDto
70
+ */
71
+ 'isControlAccount': boolean;
72
+ /**
73
+ * The functional category of the account. Empty string means unset.
74
+ * @type {string}
75
+ * @memberof CreateFinancialAccountRequestDto
76
+ */
77
+ 'functionalCategory': string;
66
78
  }
67
79
  export declare const CreateFinancialAccountRequestDtoTypeEnum: {
68
80
  readonly Asset: "asset";
69
81
  readonly Liability: "liability";
70
82
  readonly Equity: "equity";
71
- readonly Revenue: "revenue";
83
+ readonly Income: "income";
72
84
  readonly Expense: "expense";
73
85
  readonly OpeningBalance: "opening_balance";
74
86
  };
@@ -18,7 +18,7 @@ exports.CreateFinancialAccountRequestDtoTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Revenue: 'revenue',
21
+ Income: 'income',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };
@@ -41,13 +41,13 @@ export interface CreateNumberRangeRequestDto {
41
41
  'accountType': CreateNumberRangeRequestDtoAccountTypeEnum;
42
42
  }
43
43
  export declare const CreateNumberRangeRequestDtoAccountTypeEnum: {
44
- readonly Customer: "customer";
45
- readonly Supplier: "supplier";
46
- readonly Employee: "employee";
44
+ readonly Policyholder: "policyholder";
45
+ readonly RiskCarrier: "risk_carrier";
46
+ readonly Broker: "broker";
47
47
  readonly Asset: "asset";
48
48
  readonly Liability: "liability";
49
49
  readonly Equity: "equity";
50
- readonly Revenue: "revenue";
50
+ readonly Income: "income";
51
51
  readonly Expense: "expense";
52
52
  };
53
53
  export type CreateNumberRangeRequestDtoAccountTypeEnum = typeof CreateNumberRangeRequestDtoAccountTypeEnum[keyof typeof CreateNumberRangeRequestDtoAccountTypeEnum];
@@ -15,12 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateNumberRangeRequestDtoAccountTypeEnum = void 0;
17
17
  exports.CreateNumberRangeRequestDtoAccountTypeEnum = {
18
- Customer: 'customer',
19
- Supplier: 'supplier',
20
- Employee: 'employee',
18
+ Policyholder: 'policyholder',
19
+ RiskCarrier: 'risk_carrier',
20
+ Broker: 'broker',
21
21
  Asset: 'asset',
22
22
  Liability: 'liability',
23
23
  Equity: 'equity',
24
- Revenue: 'revenue',
24
+ Income: 'income',
25
25
  Expense: 'expense'
26
26
  };
@@ -40,7 +40,13 @@ export interface CreatePersonalAccountRequestDto {
40
40
  */
41
41
  'partnerNumber': string;
42
42
  /**
43
- * The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
43
+ * The partner code of the account
44
+ * @type {string}
45
+ * @memberof CreatePersonalAccountRequestDto
46
+ */
47
+ 'partnerCode': string;
48
+ /**
49
+ * The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
44
50
  * @type {string}
45
51
  * @memberof CreatePersonalAccountRequestDto
46
52
  */
@@ -53,8 +59,8 @@ export interface CreatePersonalAccountRequestDto {
53
59
  'customFields'?: object;
54
60
  }
55
61
  export declare const CreatePersonalAccountRequestDtoTypeEnum: {
56
- readonly Customer: "customer";
57
- readonly Supplier: "supplier";
58
- readonly Employee: "employee";
62
+ readonly Policyholder: "policyholder";
63
+ readonly RiskCarrier: "risk_carrier";
64
+ readonly Broker: "broker";
59
65
  };
60
66
  export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreatePersonalAccountRequestDtoTypeEnum = void 0;
17
17
  exports.CreatePersonalAccountRequestDtoTypeEnum = {
18
- Customer: 'customer',
19
- Supplier: 'supplier',
20
- Employee: 'employee'
18
+ Policyholder: 'policyholder',
19
+ RiskCarrier: 'risk_carrier',
20
+ Broker: 'broker'
21
21
  };
@@ -52,7 +52,7 @@ export interface FinancialAccountClass {
52
52
  */
53
53
  'partnerNumber': string;
54
54
  /**
55
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
55
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
56
56
  * @type {string}
57
57
  * @memberof FinancialAccountClass
58
58
  */
@@ -75,6 +75,24 @@ export interface FinancialAccountClass {
75
75
  * @memberof FinancialAccountClass
76
76
  */
77
77
  'clearable': boolean;
78
+ /**
79
+ * The status of the account, either \'active\' or \'inactive\'.
80
+ * @type {string}
81
+ * @memberof FinancialAccountClass
82
+ */
83
+ 'status': string;
84
+ /**
85
+ * Whether the account is a control account.
86
+ * @type {boolean}
87
+ * @memberof FinancialAccountClass
88
+ */
89
+ 'isControlAccount': boolean;
90
+ /**
91
+ * The functional category of the account. Empty string means unset.
92
+ * @type {string}
93
+ * @memberof FinancialAccountClass
94
+ */
95
+ 'functionalCategory': string;
78
96
  /**
79
97
  * Time at which the object was created.
80
98
  * @type {string}
@@ -104,7 +122,7 @@ export declare const FinancialAccountClassTypeEnum: {
104
122
  readonly Asset: "asset";
105
123
  readonly Liability: "liability";
106
124
  readonly Equity: "equity";
107
- readonly Revenue: "revenue";
125
+ readonly Income: "income";
108
126
  readonly Expense: "expense";
109
127
  readonly OpeningBalance: "opening_balance";
110
128
  };
@@ -18,7 +18,7 @@ exports.FinancialAccountClassTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Revenue: 'revenue',
21
+ Income: 'income',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };
@@ -51,6 +51,12 @@ export interface PersonalAccountClass {
51
51
  * @memberof PersonalAccountClass
52
52
  */
53
53
  'partnerNumber': string;
54
+ /**
55
+ * The partner code of the account
56
+ * @type {string}
57
+ * @memberof PersonalAccountClass
58
+ */
59
+ 'partnerCode': string;
54
60
  /**
55
61
  * The entity code of the account (account code, bank account code, etc...).
56
62
  * @type {string}
@@ -58,7 +64,7 @@ export interface PersonalAccountClass {
58
64
  */
59
65
  'entityCode'?: string;
60
66
  /**
61
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
67
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
62
68
  * @type {string}
63
69
  * @memberof PersonalAccountClass
64
70
  */
@@ -98,7 +104,7 @@ export declare const PersonalAccountClassTypeEnum: {
98
104
  readonly Asset: "asset";
99
105
  readonly Liability: "liability";
100
106
  readonly Equity: "equity";
101
- readonly Revenue: "revenue";
107
+ readonly Income: "income";
102
108
  readonly Expense: "expense";
103
109
  readonly OpeningBalance: "opening_balance";
104
110
  };
@@ -18,7 +18,7 @@ exports.PersonalAccountClassTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Revenue: 'revenue',
21
+ Income: 'income',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };
@@ -68,13 +68,25 @@ export interface CreateFinancialAccountRequestDto {
68
68
  * @memberof CreateFinancialAccountRequestDto
69
69
  */
70
70
  'clearable': boolean;
71
+ /**
72
+ * Whether the financial account is a control account
73
+ * @type {boolean}
74
+ * @memberof CreateFinancialAccountRequestDto
75
+ */
76
+ 'isControlAccount': boolean;
77
+ /**
78
+ * The functional category of the account. Empty string means unset.
79
+ * @type {string}
80
+ * @memberof CreateFinancialAccountRequestDto
81
+ */
82
+ 'functionalCategory': string;
71
83
  }
72
84
 
73
85
  export const CreateFinancialAccountRequestDtoTypeEnum = {
74
86
  Asset: 'asset',
75
87
  Liability: 'liability',
76
88
  Equity: 'equity',
77
- Revenue: 'revenue',
89
+ Income: 'income',
78
90
  Expense: 'expense',
79
91
  OpeningBalance: 'opening_balance'
80
92
  } as const;
@@ -47,13 +47,13 @@ export interface CreateNumberRangeRequestDto {
47
47
  }
48
48
 
49
49
  export const CreateNumberRangeRequestDtoAccountTypeEnum = {
50
- Customer: 'customer',
51
- Supplier: 'supplier',
52
- Employee: 'employee',
50
+ Policyholder: 'policyholder',
51
+ RiskCarrier: 'risk_carrier',
52
+ Broker: 'broker',
53
53
  Asset: 'asset',
54
54
  Liability: 'liability',
55
55
  Equity: 'equity',
56
- Revenue: 'revenue',
56
+ Income: 'income',
57
57
  Expense: 'expense'
58
58
  } as const;
59
59
 
@@ -45,7 +45,13 @@ export interface CreatePersonalAccountRequestDto {
45
45
  */
46
46
  'partnerNumber': string;
47
47
  /**
48
- * The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
48
+ * The partner code of the account
49
+ * @type {string}
50
+ * @memberof CreatePersonalAccountRequestDto
51
+ */
52
+ 'partnerCode': string;
53
+ /**
54
+ * The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
49
55
  * @type {string}
50
56
  * @memberof CreatePersonalAccountRequestDto
51
57
  */
@@ -59,9 +65,9 @@ export interface CreatePersonalAccountRequestDto {
59
65
  }
60
66
 
61
67
  export const CreatePersonalAccountRequestDtoTypeEnum = {
62
- Customer: 'customer',
63
- Supplier: 'supplier',
64
- Employee: 'employee'
68
+ Policyholder: 'policyholder',
69
+ RiskCarrier: 'risk_carrier',
70
+ Broker: 'broker'
65
71
  } as const;
66
72
 
67
73
  export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
@@ -57,7 +57,7 @@ export interface FinancialAccountClass {
57
57
  */
58
58
  'partnerNumber': string;
59
59
  /**
60
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
60
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
61
61
  * @type {string}
62
62
  * @memberof FinancialAccountClass
63
63
  */
@@ -80,6 +80,24 @@ export interface FinancialAccountClass {
80
80
  * @memberof FinancialAccountClass
81
81
  */
82
82
  'clearable': boolean;
83
+ /**
84
+ * The status of the account, either \'active\' or \'inactive\'.
85
+ * @type {string}
86
+ * @memberof FinancialAccountClass
87
+ */
88
+ 'status': string;
89
+ /**
90
+ * Whether the account is a control account.
91
+ * @type {boolean}
92
+ * @memberof FinancialAccountClass
93
+ */
94
+ 'isControlAccount': boolean;
95
+ /**
96
+ * The functional category of the account. Empty string means unset.
97
+ * @type {string}
98
+ * @memberof FinancialAccountClass
99
+ */
100
+ 'functionalCategory': string;
83
101
  /**
84
102
  * Time at which the object was created.
85
103
  * @type {string}
@@ -110,7 +128,7 @@ export const FinancialAccountClassTypeEnum = {
110
128
  Asset: 'asset',
111
129
  Liability: 'liability',
112
130
  Equity: 'equity',
113
- Revenue: 'revenue',
131
+ Income: 'income',
114
132
  Expense: 'expense',
115
133
  OpeningBalance: 'opening_balance'
116
134
  } as const;
@@ -56,6 +56,12 @@ export interface PersonalAccountClass {
56
56
  * @memberof PersonalAccountClass
57
57
  */
58
58
  'partnerNumber': string;
59
+ /**
60
+ * The partner code of the account
61
+ * @type {string}
62
+ * @memberof PersonalAccountClass
63
+ */
64
+ 'partnerCode': string;
59
65
  /**
60
66
  * The entity code of the account (account code, bank account code, etc...).
61
67
  * @type {string}
@@ -63,7 +69,7 @@ export interface PersonalAccountClass {
63
69
  */
64
70
  'entityCode'?: string;
65
71
  /**
66
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
72
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
67
73
  * @type {string}
68
74
  * @memberof PersonalAccountClass
69
75
  */
@@ -104,7 +110,7 @@ export const PersonalAccountClassTypeEnum = {
104
110
  Asset: 'asset',
105
111
  Liability: 'liability',
106
112
  Equity: 'equity',
107
- Revenue: 'revenue',
113
+ Income: 'income',
108
114
  Expense: 'expense',
109
115
  OpeningBalance: 'opening_balance'
110
116
  } as const;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk",
3
- "version": "1.28.1-beta.0",
3
+ "version": "1.28.1-beta.18",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.12.0"
21
+ "axios": "1.12.0"
22
22
  },
23
23
  "devDependencies": {
24
24