@emilgroup/accounting-sdk-node 1.32.1-beta.15 → 1.32.1-beta.17
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 +3 -1
- package/README.md +2 -2
- package/api/account-mappings-api.ts +250 -0
- package/api/accounting-configs-api.ts +22 -22
- package/api.ts +2 -0
- package/dist/api/account-mappings-api.d.ts +150 -0
- package/dist/api/account-mappings-api.js +264 -0
- package/dist/api/accounting-configs-api.d.ts +18 -18
- package/dist/api/accounting-configs-api.js +17 -17
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/accounting-config-class.d.ts +11 -0
- package/dist/models/accounting-config-class.js +5 -0
- package/dist/models/financial-account-class.d.ts +6 -1
- package/dist/models/financial-account-class.js +5 -1
- package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/dist/models/list-account-mappings-response-class.d.ts +31 -0
- package/dist/models/list-account-mappings-response-class.js +15 -0
- package/models/accounting-config-class.ts +14 -0
- package/models/financial-account-class.ts +7 -1
- package/models/get-activation-snapshot-response-class.ts +31 -0
- package/models/index.ts +2 -1
- package/models/list-account-mappings-response-class.ts +37 -0
- package/package.json +1 -1
- package/dist/models/get-subledger-settings-response-class.d.ts +0 -36
- package/models/get-subledger-settings-response-class.ts +0 -42
- /package/dist/models/{get-subledger-settings-response-class.js → get-activation-snapshot-response-class.js} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AccountMappingClass } from './account-mapping-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListAccountMappingsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListAccountMappingsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of account mappings.
|
|
21
|
+
* @type {Array<AccountMappingClass>}
|
|
22
|
+
* @memberof ListAccountMappingsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<AccountMappingClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListAccountMappingsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -39,6 +39,12 @@ export interface AccountingConfigClass {
|
|
|
39
39
|
* @memberof AccountingConfigClass
|
|
40
40
|
*/
|
|
41
41
|
'config'?: AccountingConfigDataClass;
|
|
42
|
+
/**
|
|
43
|
+
* Enablement status of the subledger config: \'pending\' while accounts and opening balances are still being provisioned asynchronously, \'complete\' once that work has finished.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountingConfigClass
|
|
46
|
+
*/
|
|
47
|
+
'enablementStatus': AccountingConfigClassEnablementStatusEnum;
|
|
42
48
|
/**
|
|
43
49
|
* Product slug this config is scoped to; absent for the tenant default config.
|
|
44
50
|
* @type {string}
|
|
@@ -71,3 +77,11 @@ export interface AccountingConfigClass {
|
|
|
71
77
|
'updatedAt': string;
|
|
72
78
|
}
|
|
73
79
|
|
|
80
|
+
export const AccountingConfigClassEnablementStatusEnum = {
|
|
81
|
+
Pending: 'pending',
|
|
82
|
+
Complete: 'complete'
|
|
83
|
+
} as const;
|
|
84
|
+
|
|
85
|
+
export type AccountingConfigClassEnablementStatusEnum = typeof AccountingConfigClassEnablementStatusEnum[keyof typeof AccountingConfigClassEnablementStatusEnum];
|
|
86
|
+
|
|
87
|
+
|
|
@@ -85,7 +85,7 @@ export interface FinancialAccountClass {
|
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof FinancialAccountClass
|
|
87
87
|
*/
|
|
88
|
-
'status':
|
|
88
|
+
'status': FinancialAccountClassStatusEnum;
|
|
89
89
|
/**
|
|
90
90
|
* Whether the account is a control account.
|
|
91
91
|
* @type {boolean}
|
|
@@ -146,5 +146,11 @@ export const FinancialAccountClassTypeEnum = {
|
|
|
146
146
|
} as const;
|
|
147
147
|
|
|
148
148
|
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
149
|
+
export const FinancialAccountClassStatusEnum = {
|
|
150
|
+
Active: 'active',
|
|
151
|
+
Inactive: 'inactive'
|
|
152
|
+
} as const;
|
|
153
|
+
|
|
154
|
+
export type FinancialAccountClassStatusEnum = typeof FinancialAccountClassStatusEnum[keyof typeof FinancialAccountClassStatusEnum];
|
|
149
155
|
|
|
150
156
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { AccountingConfigClass } from './accounting-config-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetActivationSnapshotResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetActivationSnapshotResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status.
|
|
26
|
+
* @type {AccountingConfigClass}
|
|
27
|
+
* @memberof GetActivationSnapshotResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -22,14 +22,15 @@ export * from './financial-account-class';
|
|
|
22
22
|
export * from './financial-transaction-class';
|
|
23
23
|
export * from './financial-transaction-data-dto';
|
|
24
24
|
export * from './get-accounting-categories-response-class';
|
|
25
|
+
export * from './get-activation-snapshot-response-class';
|
|
25
26
|
export * from './get-booking-entry-response-class';
|
|
26
27
|
export * from './get-financial-account-response-class';
|
|
27
28
|
export * from './get-financial-transaction-response-class';
|
|
28
29
|
export * from './get-number-range-response-class';
|
|
29
30
|
export * from './get-personal-account-response-class';
|
|
30
|
-
export * from './get-subledger-settings-response-class';
|
|
31
31
|
export * from './inline-response200';
|
|
32
32
|
export * from './inline-response503';
|
|
33
|
+
export * from './list-account-mappings-response-class';
|
|
33
34
|
export * from './list-booking-entries-response-class';
|
|
34
35
|
export * from './list-financial-accounts-response-class';
|
|
35
36
|
export * from './list-financial-transactions-response-class';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { AccountMappingClass } from './account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of account mappings.
|
|
26
|
+
* @type {Array<AccountMappingClass>}
|
|
27
|
+
* @memberof ListAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<AccountMappingClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL AccountingService
|
|
3
|
-
* The EMIL AccountingService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GetSubledgerSettingsResponseClass
|
|
16
|
-
*/
|
|
17
|
-
export interface GetSubledgerSettingsResponseClass {
|
|
18
|
-
/**
|
|
19
|
-
* The date the subledger becomes active
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
22
|
-
*/
|
|
23
|
-
'activationDate': string;
|
|
24
|
-
/**
|
|
25
|
-
* Default tax handling, \"CARRIER_PAYS\" or \"MGA_PAYS\"
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'defaultTaxHandling': string;
|
|
30
|
-
/**
|
|
31
|
-
* Settlement recognition mode, \"SOLL\" or \"IST\"
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
34
|
-
*/
|
|
35
|
-
'settlementRecognitionMode': string;
|
|
36
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL AccountingService
|
|
5
|
-
* The EMIL AccountingService API description
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: kontakt@emil.de
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface GetSubledgerSettingsResponseClass
|
|
21
|
-
*/
|
|
22
|
-
export interface GetSubledgerSettingsResponseClass {
|
|
23
|
-
/**
|
|
24
|
-
* The date the subledger becomes active
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
27
|
-
*/
|
|
28
|
-
'activationDate': string;
|
|
29
|
-
/**
|
|
30
|
-
* Default tax handling, \"CARRIER_PAYS\" or \"MGA_PAYS\"
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
33
|
-
*/
|
|
34
|
-
'defaultTaxHandling': string;
|
|
35
|
-
/**
|
|
36
|
-
* Settlement recognition mode, \"SOLL\" or \"IST\"
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof GetSubledgerSettingsResponseClass
|
|
39
|
-
*/
|
|
40
|
-
'settlementRecognitionMode': string;
|
|
41
|
-
}
|
|
42
|
-
|
|
File without changes
|