@emilgroup/accounting-sdk 1.28.1-beta.3 → 1.28.1-beta.30
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/.openapi-generator/FILES +22 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +1137 -0
- package/api/financial-accounts-api.ts +12 -12
- package/api.ts +2 -0
- package/base.ts +1 -0
- package/dist/api/accounting-configs-api.d.ts +624 -0
- package/dist/api/accounting-configs-api.js +1031 -0
- package/dist/api/financial-accounts-api.d.ts +12 -12
- package/dist/api/financial-accounts-api.js +9 -9
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/accounting-config-class.d.ts +67 -0
- package/dist/models/accounting-config-class.js +15 -0
- package/dist/models/accounting-config-data-class.d.ts +45 -0
- package/dist/models/accounting-config-data-class.js +15 -0
- package/dist/models/accounting-configuration-class.d.ts +36 -0
- package/dist/models/accounting-configuration-class.js +15 -0
- package/dist/models/chart-of-accounts-config-class.d.ts +25 -0
- package/dist/models/chart-of-accounts-config-class.js +15 -0
- package/dist/models/chart-of-accounts-item-class.d.ts +71 -0
- package/dist/models/chart-of-accounts-item-class.js +38 -0
- package/dist/models/create-accounting-config-data-dto-accounting-configuration.d.ts +46 -0
- package/dist/models/create-accounting-config-data-dto-accounting-configuration.js +24 -0
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.d.ts +59 -0
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.js +38 -0
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.d.ts +25 -0
- package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.js +15 -0
- package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.d.ts +65 -0
- package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.js +38 -0
- package/dist/models/create-accounting-config-data-dto-opening-balances.d.ts +25 -0
- package/dist/models/create-accounting-config-data-dto-opening-balances.js +15 -0
- package/dist/models/create-accounting-config-data-dto.d.ts +45 -0
- package/dist/models/create-accounting-config-data-dto.js +15 -0
- package/dist/models/create-accounting-config-request-dto.d.ts +31 -0
- package/dist/models/create-accounting-config-request-dto.js +15 -0
- package/dist/models/create-accounting-config-response-class.d.ts +25 -0
- package/dist/models/create-accounting-config-response-class.js +15 -0
- package/dist/models/create-financial-account-request-dto.d.ts +36 -1
- package/dist/models/create-financial-account-request-dto.js +24 -2
- package/dist/models/create-number-range-request-dto.d.ts +4 -4
- package/dist/models/create-number-range-request-dto.js +4 -4
- package/dist/models/create-personal-account-request-dto.d.ts +10 -4
- package/dist/models/create-personal-account-request-dto.js +3 -3
- package/dist/models/financial-account-class.d.ts +20 -2
- package/dist/models/financial-account-class.js +1 -1
- package/dist/models/get-accounting-config-response-class.d.ts +25 -0
- package/dist/models/get-accounting-config-response-class.js +15 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/dist/models/inline-object2.d.ts +24 -0
- package/dist/models/inline-object2.js +15 -0
- package/dist/models/list-accounting-configs-response-class.d.ts +43 -0
- package/dist/models/list-accounting-configs-response-class.js +15 -0
- package/dist/models/opening-balance-class.d.ts +65 -0
- package/dist/models/opening-balance-class.js +38 -0
- package/dist/models/opening-balances-class.d.ts +25 -0
- package/dist/models/opening-balances-class.js +15 -0
- package/dist/models/personal-account-class.d.ts +8 -2
- package/dist/models/personal-account-class.js +1 -1
- package/dist/models/update-chart-of-accounts-response-class.d.ts +25 -0
- package/dist/models/update-chart-of-accounts-response-class.js +15 -0
- package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
- package/dist/models/validate-accounting-config-request-dto.js +15 -0
- package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
- package/dist/models/validate-accounting-config-response-class.js +15 -0
- package/models/accounting-config-class.ts +73 -0
- package/models/accounting-config-data-class.ts +51 -0
- package/models/accounting-configuration-class.ts +42 -0
- package/models/chart-of-accounts-config-class.ts +31 -0
- package/models/chart-of-accounts-item-class.ts +80 -0
- package/models/create-accounting-config-data-dto-accounting-configuration.ts +56 -0
- package/models/create-accounting-config-data-dto-chart-of-accounts-config-items.ts +68 -0
- package/models/create-accounting-config-data-dto-chart-of-accounts-config.ts +31 -0
- package/models/create-accounting-config-data-dto-opening-balances-opening-balances.ts +74 -0
- package/models/create-accounting-config-data-dto-opening-balances.ts +31 -0
- package/models/create-accounting-config-data-dto.ts +51 -0
- package/models/create-accounting-config-request-dto.ts +37 -0
- package/models/create-accounting-config-response-class.ts +31 -0
- package/models/create-financial-account-request-dto.ts +37 -1
- package/models/create-number-range-request-dto.ts +4 -4
- package/models/create-personal-account-request-dto.ts +10 -4
- package/models/financial-account-class.ts +20 -2
- package/models/get-accounting-config-response-class.ts +31 -0
- package/models/index.ts +21 -0
- package/models/inline-object2.ts +30 -0
- package/models/list-accounting-configs-response-class.ts +49 -0
- package/models/opening-balance-class.ts +74 -0
- package/models/opening-balances-class.ts +31 -0
- package/models/personal-account-class.ts +8 -2
- package/models/update-chart-of-accounts-response-class.ts +31 -0
- package/models/validate-accounting-config-request-dto.ts +31 -0
- package/models/validate-accounting-config-response-class.ts +36 -0
- package/package.json +2 -2
|
@@ -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
|
-
* @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>
|
|
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, description, functionalCategory, type</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
|
-
* @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>
|
|
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, description, functionalCategory, type</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
|
-
* @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>
|
|
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, description, functionalCategory, type</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
|
*/
|
|
@@ -495,7 +495,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
495
495
|
readonly search?: string
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
|
-
* 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>
|
|
498
|
+
* 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, description, functionalCategory, type</i>
|
|
499
499
|
* @type {string}
|
|
500
500
|
* @memberof FinancialAccountsApiListFinancialAccounts
|
|
501
501
|
*/
|
|
@@ -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/api.ts
CHANGED
|
@@ -20,6 +20,7 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResp
|
|
|
20
20
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
|
+
import { AccountingConfigsApi } from './api';
|
|
23
24
|
import { BookingEntriesApi } from './api';
|
|
24
25
|
import { FinancialAccountsApi } from './api';
|
|
25
26
|
import { FinancialTransactionsApi } from './api';
|
|
@@ -28,6 +29,7 @@ import { NumberRangesApi } from './api';
|
|
|
28
29
|
import { PersonalAccountsApi } from './api';
|
|
29
30
|
|
|
30
31
|
|
|
32
|
+
export * from './api/accounting-configs-api';
|
|
31
33
|
export * from './api/booking-entries-api';
|
|
32
34
|
export * from './api/financial-accounts-api';
|
|
33
35
|
export * from './api/financial-transactions-api';
|
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
|