@emilgroup/accounting-sdk-node 1.32.1-beta.25 → 1.32.1-beta.27

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.
Files changed (45) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/commission-account-mappings-api.ts +1195 -0
  4. package/api.ts +2 -0
  5. package/dist/api/commission-account-mappings-api.d.ts +685 -0
  6. package/dist/api/commission-account-mappings-api.js +1008 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/commission-account-mapping-class.d.ts +49 -0
  10. package/dist/models/commission-account-mapping-class.js +15 -0
  11. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
  12. package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
  13. package/dist/models/commission-agreement-partner-class.d.ts +30 -0
  14. package/dist/models/commission-agreement-partner-class.js +15 -0
  15. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
  16. package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
  17. package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
  18. package/dist/models/commission-type-account-mapping-class.js +15 -0
  19. package/dist/models/index.d.ts +11 -0
  20. package/dist/models/index.js +11 -0
  21. package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
  22. package/dist/models/list-commission-account-mappings-response-class.js +15 -0
  23. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
  24. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
  25. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
  26. package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
  27. package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
  28. package/dist/models/resolved-commission-account-mapping-class.js +21 -0
  29. package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
  30. package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
  31. package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
  32. package/dist/models/update-commission-type-account-body-dto.js +15 -0
  33. package/models/commission-account-mapping-class.ts +55 -0
  34. package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
  35. package/models/commission-agreement-partner-class.ts +36 -0
  36. package/models/commission-agreement-with-account-mapping-class.ts +49 -0
  37. package/models/commission-type-account-mapping-class.ts +37 -0
  38. package/models/index.ts +11 -0
  39. package/models/list-commission-account-mappings-response-class.ts +49 -0
  40. package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
  41. package/models/list-commission-type-account-mappings-response-class.ts +49 -0
  42. package/models/resolved-commission-account-mapping-class.ts +46 -0
  43. package/models/update-commission-agreement-account-body-dto.ts +30 -0
  44. package/models/update-commission-type-account-body-dto.ts +30 -0
  45. package/package.json +1 -1
@@ -0,0 +1,24 @@
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 UpdateCommissionTypeAccountBodyDto
16
+ */
17
+ export interface UpdateCommissionTypeAccountBodyDto {
18
+ /**
19
+ * Code of the financial account to use as the default. Must belong to the REVENUE_FINAL_ACC category.
20
+ * @type {string}
21
+ * @memberof UpdateCommissionTypeAccountBodyDto
22
+ */
23
+ 'financialAccountCode': string;
24
+ }
@@ -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 });
@@ -0,0 +1,55 @@
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 { FinancialAccountClass } from './financial-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CommissionAccountMappingClass
22
+ */
23
+ export interface CommissionAccountMappingClass {
24
+ /**
25
+ * Empty string when this row is type-level (not agreement-scoped).
26
+ * @type {string}
27
+ * @memberof CommissionAccountMappingClass
28
+ */
29
+ 'commissionAgreementCode': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CommissionAccountMappingClass
34
+ */
35
+ 'commissionType': string;
36
+ /**
37
+ *
38
+ * @type {FinancialAccountClass}
39
+ * @memberof CommissionAccountMappingClass
40
+ */
41
+ 'financialAccount': FinancialAccountClass;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CommissionAccountMappingClass
46
+ */
47
+ 'createdAt'?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof CommissionAccountMappingClass
52
+ */
53
+ 'updatedAt'?: string;
54
+ }
55
+
@@ -0,0 +1,50 @@
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 { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
17
+ import { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface CommissionAgreementAccountMappingDetailClass
23
+ */
24
+ export interface CommissionAgreementAccountMappingDetailClass {
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CommissionAgreementAccountMappingDetailClass
29
+ */
30
+ 'commissionAgreementCode': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof CommissionAgreementAccountMappingDetailClass
35
+ */
36
+ 'commissionAgreementNumber': string;
37
+ /**
38
+ * The agreement\'s main partner.
39
+ * @type {CommissionAgreementPartnerClass}
40
+ * @memberof CommissionAgreementAccountMappingDetailClass
41
+ */
42
+ 'mainPartner'?: CommissionAgreementPartnerClass;
43
+ /**
44
+ * One entry per commission type that has some row (type-level or agreement-level) for this tenant.
45
+ * @type {Array<CommissionTypeAccountMappingClass>}
46
+ * @memberof CommissionAgreementAccountMappingDetailClass
47
+ */
48
+ 'accountMappings': Array<CommissionTypeAccountMappingClass>;
49
+ }
50
+
@@ -0,0 +1,36 @@
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 CommissionAgreementPartnerClass
21
+ */
22
+ export interface CommissionAgreementPartnerClass {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CommissionAgreementPartnerClass
27
+ */
28
+ 'code': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CommissionAgreementPartnerClass
33
+ */
34
+ 'name': string;
35
+ }
36
+
@@ -0,0 +1,49 @@
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 { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CommissionAgreementWithAccountMappingClass
22
+ */
23
+ export interface CommissionAgreementWithAccountMappingClass {
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CommissionAgreementWithAccountMappingClass
28
+ */
29
+ 'commissionAgreementCode': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CommissionAgreementWithAccountMappingClass
34
+ */
35
+ 'commissionAgreementNumber': string;
36
+ /**
37
+ * The agreement\'s main partner, read from commissionservice (CommissionAgreement.metadata.mainPartner). Omitted when the agreement has none.
38
+ * @type {CommissionAgreementPartnerClass}
39
+ * @memberof CommissionAgreementWithAccountMappingClass
40
+ */
41
+ 'mainPartner'?: CommissionAgreementPartnerClass;
42
+ /**
43
+ * True if any commission type has an agreement-level override for this agreement.
44
+ * @type {boolean}
45
+ * @memberof CommissionAgreementWithAccountMappingClass
46
+ */
47
+ 'hasCustomMapping': boolean;
48
+ }
49
+
@@ -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 { ResolvedCommissionAccountMappingClass } from './resolved-commission-account-mapping-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CommissionTypeAccountMappingClass
22
+ */
23
+ export interface CommissionTypeAccountMappingClass {
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CommissionTypeAccountMappingClass
28
+ */
29
+ 'commissionType': string;
30
+ /**
31
+ *
32
+ * @type {ResolvedCommissionAccountMappingClass}
33
+ * @memberof CommissionTypeAccountMappingClass
34
+ */
35
+ 'accountMapping': ResolvedCommissionAccountMappingClass;
36
+ }
37
+
package/models/index.ts CHANGED
@@ -7,6 +7,11 @@ export * from './accounting-config-data-dto-accounting-configuration';
7
7
  export * from './accounting-config-data-dto-default-account-mappings';
8
8
  export * from './accounting-configuration-class';
9
9
  export * from './booking-entry-class';
10
+ export * from './commission-account-mapping-class';
11
+ export * from './commission-agreement-account-mapping-detail-class';
12
+ export * from './commission-agreement-partner-class';
13
+ export * from './commission-agreement-with-account-mapping-class';
14
+ export * from './commission-type-account-mapping-class';
10
15
  export * from './create-and-enable-subledger-request-dto';
11
16
  export * from './create-and-enable-subledger-response-class';
12
17
  export * from './create-booking-entry-request-dto';
@@ -31,6 +36,9 @@ export * from './get-personal-account-response-class';
31
36
  export * from './inline-response200';
32
37
  export * from './inline-response503';
33
38
  export * from './list-booking-entries-response-class';
39
+ export * from './list-commission-account-mappings-response-class';
40
+ export * from './list-commission-agreements-with-account-mappings-response-class';
41
+ export * from './list-commission-type-account-mappings-response-class';
34
42
  export * from './list-financial-accounts-response-class';
35
43
  export * from './list-financial-transactions-response-class';
36
44
  export * from './list-number-range-response-class';
@@ -49,6 +57,9 @@ export * from './put-premium-item-account-body-dto';
49
57
  export * from './put-product-category-account-body-dto';
50
58
  export * from './put-product-version-category-account-body-dto';
51
59
  export * from './resolved-account-mapping-class';
60
+ export * from './resolved-commission-account-mapping-class';
61
+ export * from './update-commission-agreement-account-body-dto';
62
+ export * from './update-commission-type-account-body-dto';
52
63
  export * from './update-financial-account-body-dto';
53
64
  export * from './update-financial-account-response-class';
54
65
  export * from './validate-accounting-config-request-dto';
@@ -0,0 +1,49 @@
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 { CommissionAccountMappingClass } from './commission-account-mapping-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListCommissionAccountMappingsResponseClass
22
+ */
23
+ export interface ListCommissionAccountMappingsResponseClass {
24
+ /**
25
+ * Next page token.
26
+ * @type {string}
27
+ * @memberof ListCommissionAccountMappingsResponseClass
28
+ */
29
+ 'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListCommissionAccountMappingsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListCommissionAccountMappingsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ *
44
+ * @type {Array<CommissionAccountMappingClass>}
45
+ * @memberof ListCommissionAccountMappingsResponseClass
46
+ */
47
+ 'items': Array<CommissionAccountMappingClass>;
48
+ }
49
+
@@ -0,0 +1,49 @@
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 { CommissionAgreementWithAccountMappingClass } from './commission-agreement-with-account-mapping-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListCommissionAgreementsWithAccountMappingsResponseClass
22
+ */
23
+ export interface ListCommissionAgreementsWithAccountMappingsResponseClass {
24
+ /**
25
+ * Next page token.
26
+ * @type {string}
27
+ * @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
28
+ */
29
+ 'nextPageToken': string;
30
+ /**
31
+ * Not yet populated -- commissionservice\'s own agreement list doesn\'t carry this either.
32
+ * @type {number}
33
+ * @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
34
+ */
35
+ 'totalItems'?: number;
36
+ /**
37
+ * Not yet populated -- commissionservice\'s own agreement list doesn\'t carry this either.
38
+ * @type {number}
39
+ * @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
40
+ */
41
+ 'itemsPerPage'?: number;
42
+ /**
43
+ *
44
+ * @type {Array<CommissionAgreementWithAccountMappingClass>}
45
+ * @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
46
+ */
47
+ 'items': Array<CommissionAgreementWithAccountMappingClass>;
48
+ }
49
+
@@ -0,0 +1,49 @@
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 { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListCommissionTypeAccountMappingsResponseClass
22
+ */
23
+ export interface ListCommissionTypeAccountMappingsResponseClass {
24
+ /**
25
+ * Next page token.
26
+ * @type {string}
27
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
28
+ */
29
+ 'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ *
44
+ * @type {Array<CommissionTypeAccountMappingClass>}
45
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
46
+ */
47
+ 'items': Array<CommissionTypeAccountMappingClass>;
48
+ }
49
+
@@ -0,0 +1,46 @@
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 { FinancialAccountClass } from './financial-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ResolvedCommissionAccountMappingClass
22
+ */
23
+ export interface ResolvedCommissionAccountMappingClass {
24
+ /**
25
+ * The linked account\'s current state, read live.
26
+ * @type {FinancialAccountClass}
27
+ * @memberof ResolvedCommissionAccountMappingClass
28
+ */
29
+ 'financialAccount': FinancialAccountClass;
30
+ /**
31
+ * Which level of the cascade produced this value.
32
+ * @type {string}
33
+ * @memberof ResolvedCommissionAccountMappingClass
34
+ */
35
+ 'source': ResolvedCommissionAccountMappingClassSourceEnum;
36
+ }
37
+
38
+ export const ResolvedCommissionAccountMappingClassSourceEnum = {
39
+ CategoryDefault: 'CATEGORY_DEFAULT',
40
+ Type: 'TYPE',
41
+ Agreement: 'AGREEMENT'
42
+ } as const;
43
+
44
+ export type ResolvedCommissionAccountMappingClassSourceEnum = typeof ResolvedCommissionAccountMappingClassSourceEnum[keyof typeof ResolvedCommissionAccountMappingClassSourceEnum];
45
+
46
+
@@ -0,0 +1,30 @@
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 UpdateCommissionAgreementAccountBodyDto
21
+ */
22
+ export interface UpdateCommissionAgreementAccountBodyDto {
23
+ /**
24
+ * Code of the financial account to use as this override. Must belong to the REVENUE_FINAL_ACC category (MVP scope).
25
+ * @type {string}
26
+ * @memberof UpdateCommissionAgreementAccountBodyDto
27
+ */
28
+ 'financialAccountCode': string;
29
+ }
30
+
@@ -0,0 +1,30 @@
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 UpdateCommissionTypeAccountBodyDto
21
+ */
22
+ export interface UpdateCommissionTypeAccountBodyDto {
23
+ /**
24
+ * Code of the financial account to use as the default. Must belong to the REVENUE_FINAL_ACC category.
25
+ * @type {string}
26
+ * @memberof UpdateCommissionTypeAccountBodyDto
27
+ */
28
+ 'financialAccountCode': string;
29
+ }
30
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk-node",
3
- "version": "1.32.1-beta.25",
3
+ "version": "1.32.1-beta.27",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [