@emilgroup/commission-sdk-node 1.0.0-beta.21 → 1.0.0-beta.23

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 (44) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/commission-settlements-api.ts +804 -0
  4. package/api/commissions-api.ts +8 -8
  5. package/api.ts +2 -0
  6. package/dist/api/commission-settlements-api.d.ts +450 -0
  7. package/dist/api/commission-settlements-api.js +741 -0
  8. package/dist/api/commissions-api.d.ts +8 -8
  9. package/dist/api/commissions-api.js +3 -3
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/commission-class.d.ts +6 -0
  13. package/dist/models/commission-settlement-class.d.ts +123 -0
  14. package/dist/models/commission-settlement-class.js +34 -0
  15. package/dist/models/create-commission-settlement-request-dto.d.ts +36 -0
  16. package/dist/models/create-commission-settlement-request-dto.js +21 -0
  17. package/dist/models/create-commission-settlement-response-class.d.ts +25 -0
  18. package/dist/models/create-commission-settlement-response-class.js +15 -0
  19. package/dist/models/get-commission-settlement-response-class.d.ts +25 -0
  20. package/dist/models/get-commission-settlement-response-class.js +15 -0
  21. package/dist/models/index.d.ts +9 -0
  22. package/dist/models/index.js +9 -0
  23. package/dist/models/list-commission-settlements-response-class.d.ts +43 -0
  24. package/dist/models/list-commission-settlements-response-class.js +15 -0
  25. package/dist/models/publish-commission-settlements-request-dto.d.ts +24 -0
  26. package/dist/models/publish-commission-settlements-request-dto.js +15 -0
  27. package/dist/models/publish-commission-settlements-response-class.d.ts +25 -0
  28. package/dist/models/publish-commission-settlements-response-class.js +15 -0
  29. package/dist/models/update-commission-settlement-request-dto.d.ts +42 -0
  30. package/dist/models/update-commission-settlement-request-dto.js +21 -0
  31. package/dist/models/update-commission-settlement-response-class.d.ts +25 -0
  32. package/dist/models/update-commission-settlement-response-class.js +15 -0
  33. package/models/commission-class.ts +6 -0
  34. package/models/commission-settlement-class.ts +133 -0
  35. package/models/create-commission-settlement-request-dto.ts +45 -0
  36. package/models/create-commission-settlement-response-class.ts +31 -0
  37. package/models/get-commission-settlement-response-class.ts +31 -0
  38. package/models/index.ts +9 -0
  39. package/models/list-commission-settlements-response-class.ts +49 -0
  40. package/models/publish-commission-settlements-request-dto.ts +30 -0
  41. package/models/publish-commission-settlements-response-class.ts +31 -0
  42. package/models/update-commission-settlement-request-dto.ts +51 -0
  43. package/models/update-commission-settlement-response-class.ts +31 -0
  44. package/package.json +1 -1
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 { CommissionSettlementClass } from './commission-settlement-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PublishCommissionSettlementsResponseClass
17
+ */
18
+ export interface PublishCommissionSettlementsResponseClass {
19
+ /**
20
+ * An array of commission settlements that were published
21
+ * @type {Array<CommissionSettlementClass>}
22
+ * @memberof PublishCommissionSettlementsResponseClass
23
+ */
24
+ 'items': Array<CommissionSettlementClass>;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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,42 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 UpdateCommissionSettlementRequestDto
16
+ */
17
+ export interface UpdateCommissionSettlementRequestDto {
18
+ /**
19
+ * The unique code of the commission settlement to update
20
+ * @type {string}
21
+ * @memberof UpdateCommissionSettlementRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * The updated status of the commission settlement. Valid values: draft, published, closed
26
+ * @type {string}
27
+ * @memberof UpdateCommissionSettlementRequestDto
28
+ */
29
+ 'status': UpdateCommissionSettlementRequestDtoStatusEnum;
30
+ /**
31
+ * Updated array of commission codes to include in this settlement
32
+ * @type {Array<string>}
33
+ * @memberof UpdateCommissionSettlementRequestDto
34
+ */
35
+ 'commissionCodes': Array<string>;
36
+ }
37
+ export declare const UpdateCommissionSettlementRequestDtoStatusEnum: {
38
+ readonly Draft: "draft";
39
+ readonly Published: "published";
40
+ readonly Closed: "closed";
41
+ };
42
+ export type UpdateCommissionSettlementRequestDtoStatusEnum = typeof UpdateCommissionSettlementRequestDtoStatusEnum[keyof typeof UpdateCommissionSettlementRequestDtoStatusEnum];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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 });
16
+ exports.UpdateCommissionSettlementRequestDtoStatusEnum = void 0;
17
+ exports.UpdateCommissionSettlementRequestDtoStatusEnum = {
18
+ Draft: 'draft',
19
+ Published: 'published',
20
+ Closed: 'closed'
21
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService 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 { CommissionSettlementClass } from './commission-settlement-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateCommissionSettlementResponseClass
17
+ */
18
+ export interface UpdateCommissionSettlementResponseClass {
19
+ /**
20
+ * The commission settlement that was updated
21
+ * @type {CommissionSettlementClass}
22
+ * @memberof UpdateCommissionSettlementResponseClass
23
+ */
24
+ 'commissionSettlement'?: CommissionSettlementClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService 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 });
@@ -76,6 +76,12 @@ export interface CommissionClass {
76
76
  * @memberof CommissionClass
77
77
  */
78
78
  'status': string;
79
+ /**
80
+ * The code of the settlement this commission is associated with
81
+ * @type {string}
82
+ * @memberof CommissionClass
83
+ */
84
+ 'settlementCode'?: string;
79
85
  /**
80
86
  * Time at which the object was created.
81
87
  * @type {string}
@@ -0,0 +1,133 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 { CommissionClass } from './commission-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CommissionSettlementClass
22
+ */
23
+ export interface CommissionSettlementClass {
24
+ /**
25
+ * The unique database identifier of the commission settlement
26
+ * @type {number}
27
+ * @memberof CommissionSettlementClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof CommissionSettlementClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * The settlement number for this commission settlement
38
+ * @type {string}
39
+ * @memberof CommissionSettlementClass
40
+ */
41
+ 'settlementNumber': string;
42
+ /**
43
+ * The unique code of the partner associated with this settlement
44
+ * @type {string}
45
+ * @memberof CommissionSettlementClass
46
+ */
47
+ 'partnerCode': string;
48
+ /**
49
+ * The partner number associated with this settlement
50
+ * @type {string}
51
+ * @memberof CommissionSettlementClass
52
+ */
53
+ 'partnerNumber': string;
54
+ /**
55
+ * The currency code for this settlement
56
+ * @type {string}
57
+ * @memberof CommissionSettlementClass
58
+ */
59
+ 'currency': CommissionSettlementClassCurrencyEnum;
60
+ /**
61
+ * The total amount of the settlement in the smallest currency unit (e.g., cents)
62
+ * @type {number}
63
+ * @memberof CommissionSettlementClass
64
+ */
65
+ 'amount': number;
66
+ /**
67
+ * The status of the commission settlement. Valid values: draft, published, closed
68
+ * @type {string}
69
+ * @memberof CommissionSettlementClass
70
+ */
71
+ 'status': CommissionSettlementClassStatusEnum;
72
+ /**
73
+ * Array of commissions included in this settlement
74
+ * @type {Array<CommissionClass>}
75
+ * @memberof CommissionSettlementClass
76
+ */
77
+ 'commissions': Array<CommissionClass>;
78
+ /**
79
+ * The number of policies included in this settlement
80
+ * @type {number}
81
+ * @memberof CommissionSettlementClass
82
+ */
83
+ 'policyCount': number;
84
+ /**
85
+ * Time at which the object was created.
86
+ * @type {string}
87
+ * @memberof CommissionSettlementClass
88
+ */
89
+ 'createdAt': string;
90
+ /**
91
+ * Time at which the object was updated.
92
+ * @type {string}
93
+ * @memberof CommissionSettlementClass
94
+ */
95
+ 'updatedAt': string;
96
+ /**
97
+ * Identifier of the user who created the record.
98
+ * @type {string}
99
+ * @memberof CommissionSettlementClass
100
+ */
101
+ 'createdBy': string;
102
+ /**
103
+ * Identifier of the user who last updated the record.
104
+ * @type {string}
105
+ * @memberof CommissionSettlementClass
106
+ */
107
+ 'updatedBy': string;
108
+ }
109
+
110
+ export const CommissionSettlementClassCurrencyEnum = {
111
+ Eur: 'EUR',
112
+ Usd: 'USD',
113
+ Gbp: 'GBP',
114
+ Chf: 'CHF',
115
+ Pln: 'PLN',
116
+ Aud: 'AUD',
117
+ Cad: 'CAD',
118
+ Ddk: 'DDK',
119
+ Huf: 'HUF',
120
+ Nok: 'NOK',
121
+ Sek: 'SEK'
122
+ } as const;
123
+
124
+ export type CommissionSettlementClassCurrencyEnum = typeof CommissionSettlementClassCurrencyEnum[keyof typeof CommissionSettlementClassCurrencyEnum];
125
+ export const CommissionSettlementClassStatusEnum = {
126
+ Draft: 'draft',
127
+ Published: 'published',
128
+ Closed: 'closed'
129
+ } as const;
130
+
131
+ export type CommissionSettlementClassStatusEnum = typeof CommissionSettlementClassStatusEnum[keyof typeof CommissionSettlementClassStatusEnum];
132
+
133
+
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 CreateCommissionSettlementRequestDto
21
+ */
22
+ export interface CreateCommissionSettlementRequestDto {
23
+ /**
24
+ * Array of commission codes to include in this settlement
25
+ * @type {Array<string>}
26
+ * @memberof CreateCommissionSettlementRequestDto
27
+ */
28
+ 'commissionCodes': Array<string>;
29
+ /**
30
+ * The status of the commission settlement. Valid values: draft, published, closed
31
+ * @type {string}
32
+ * @memberof CreateCommissionSettlementRequestDto
33
+ */
34
+ 'status'?: CreateCommissionSettlementRequestDtoStatusEnum;
35
+ }
36
+
37
+ export const CreateCommissionSettlementRequestDtoStatusEnum = {
38
+ Draft: 'draft',
39
+ Published: 'published',
40
+ Closed: 'closed'
41
+ } as const;
42
+
43
+ export type CreateCommissionSettlementRequestDtoStatusEnum = typeof CreateCommissionSettlementRequestDtoStatusEnum[keyof typeof CreateCommissionSettlementRequestDtoStatusEnum];
44
+
45
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 { CommissionSettlementClass } from './commission-settlement-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateCommissionSettlementResponseClass
22
+ */
23
+ export interface CreateCommissionSettlementResponseClass {
24
+ /**
25
+ * The commission settlement that was created
26
+ * @type {CommissionSettlementClass}
27
+ * @memberof CreateCommissionSettlementResponseClass
28
+ */
29
+ 'commissionSettlement'?: CommissionSettlementClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 { CommissionSettlementClass } from './commission-settlement-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetCommissionSettlementResponseClass
22
+ */
23
+ export interface GetCommissionSettlementResponseClass {
24
+ /**
25
+ * The commission settlement that was retrieved
26
+ * @type {CommissionSettlementClass}
27
+ * @memberof GetCommissionSettlementResponseClass
28
+ */
29
+ 'commissionSettlement'?: CommissionSettlementClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -11,6 +11,7 @@ export * from './commission-conditions-dto';
11
11
  export * from './commission-config-dto';
12
12
  export * from './commission-item-class';
13
13
  export * from './commission-recipient-class';
14
+ export * from './commission-settlement-class';
14
15
  export * from './create-commission-agreement-product-request-dto';
15
16
  export * from './create-commission-agreement-product-response-class';
16
17
  export * from './create-commission-agreement-request-dto';
@@ -24,6 +25,8 @@ export * from './create-commission-recipient-request-dto';
24
25
  export * from './create-commission-recipient-response-class';
25
26
  export * from './create-commission-request-dto';
26
27
  export * from './create-commission-response-class';
28
+ export * from './create-commission-settlement-request-dto';
29
+ export * from './create-commission-settlement-response-class';
27
30
  export * from './evaluate-commission-agreement-rule-request-dto';
28
31
  export * from './evaluate-commission-agreement-rule-response-class';
29
32
  export * from './evaluated-commission-class';
@@ -33,6 +36,7 @@ export * from './get-commission-agreement-rule-response-class';
33
36
  export * from './get-commission-agreement-version-response-class';
34
37
  export * from './get-commission-recipient-response-class';
35
38
  export * from './get-commission-response-class';
39
+ export * from './get-commission-settlement-response-class';
36
40
  export * from './inline-response200';
37
41
  export * from './inline-response503';
38
42
  export * from './list-commission-agreement-products-response-class';
@@ -40,7 +44,10 @@ export * from './list-commission-agreement-rules-response-class';
40
44
  export * from './list-commission-agreement-versions-response-class';
41
45
  export * from './list-commission-agreements-response-class';
42
46
  export * from './list-commission-recipients-response-class';
47
+ export * from './list-commission-settlements-response-class';
43
48
  export * from './list-commissions-response-class';
49
+ export * from './publish-commission-settlements-request-dto';
50
+ export * from './publish-commission-settlements-response-class';
44
51
  export * from './update-commission-agreement-product-request-dto';
45
52
  export * from './update-commission-agreement-product-response-class';
46
53
  export * from './update-commission-agreement-request-dto';
@@ -51,3 +58,5 @@ export * from './update-commission-recipient-request-dto';
51
58
  export * from './update-commission-recipient-response-class';
52
59
  export * from './update-commission-request-dto';
53
60
  export * from './update-commission-response-class';
61
+ export * from './update-commission-settlement-request-dto';
62
+ export * from './update-commission-settlement-response-class';
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 { CommissionSettlementClass } from './commission-settlement-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListCommissionSettlementsResponseClass
22
+ */
23
+ export interface ListCommissionSettlementsResponseClass {
24
+ /**
25
+ * An array of commission settlements that were retrieved
26
+ * @type {Array<CommissionSettlementClass>}
27
+ * @memberof ListCommissionSettlementsResponseClass
28
+ */
29
+ 'items': Array<CommissionSettlementClass>;
30
+ /**
31
+ * nextPageToken
32
+ * @type {string}
33
+ * @memberof ListCommissionSettlementsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * totalItems
38
+ * @type {number}
39
+ * @memberof ListCommissionSettlementsResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * totalPages
44
+ * @type {number}
45
+ * @memberof ListCommissionSettlementsResponseClass
46
+ */
47
+ 'itemsPerPage': number;
48
+ }
49
+
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 PublishCommissionSettlementsRequestDto
21
+ */
22
+ export interface PublishCommissionSettlementsRequestDto {
23
+ /**
24
+ * Array of commission settlement codes to publish
25
+ * @type {Array<string>}
26
+ * @memberof PublishCommissionSettlementsRequestDto
27
+ */
28
+ 'commissionSettlementCodes': Array<string>;
29
+ }
30
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 { CommissionSettlementClass } from './commission-settlement-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PublishCommissionSettlementsResponseClass
22
+ */
23
+ export interface PublishCommissionSettlementsResponseClass {
24
+ /**
25
+ * An array of commission settlements that were published
26
+ * @type {Array<CommissionSettlementClass>}
27
+ * @memberof PublishCommissionSettlementsResponseClass
28
+ */
29
+ 'items': Array<CommissionSettlementClass>;
30
+ }
31
+
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 UpdateCommissionSettlementRequestDto
21
+ */
22
+ export interface UpdateCommissionSettlementRequestDto {
23
+ /**
24
+ * The unique code of the commission settlement to update
25
+ * @type {string}
26
+ * @memberof UpdateCommissionSettlementRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * The updated status of the commission settlement. Valid values: draft, published, closed
31
+ * @type {string}
32
+ * @memberof UpdateCommissionSettlementRequestDto
33
+ */
34
+ 'status': UpdateCommissionSettlementRequestDtoStatusEnum;
35
+ /**
36
+ * Updated array of commission codes to include in this settlement
37
+ * @type {Array<string>}
38
+ * @memberof UpdateCommissionSettlementRequestDto
39
+ */
40
+ 'commissionCodes': Array<string>;
41
+ }
42
+
43
+ export const UpdateCommissionSettlementRequestDtoStatusEnum = {
44
+ Draft: 'draft',
45
+ Published: 'published',
46
+ Closed: 'closed'
47
+ } as const;
48
+
49
+ export type UpdateCommissionSettlementRequestDtoStatusEnum = typeof UpdateCommissionSettlementRequestDtoStatusEnum[keyof typeof UpdateCommissionSettlementRequestDtoStatusEnum];
50
+
51
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService 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 { CommissionSettlementClass } from './commission-settlement-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateCommissionSettlementResponseClass
22
+ */
23
+ export interface UpdateCommissionSettlementResponseClass {
24
+ /**
25
+ * The commission settlement that was updated
26
+ * @type {CommissionSettlementClass}
27
+ * @memberof UpdateCommissionSettlementResponseClass
28
+ */
29
+ 'commissionSettlement'?: CommissionSettlementClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk-node",
3
- "version": "1.0.0-beta.21",
3
+ "version": "1.0.0-beta.23",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [