@emilgroup/changelog-sdk 1.0.1-beta.6 → 1.0.1-beta.7
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 +4 -0
- package/README.md +2 -2
- package/dist/models/changelog-config-field-class.d.ts +30 -0
- package/dist/models/changelog-config-field-class.js +6 -0
- package/dist/models/changelog-config-field-dto.d.ts +74 -0
- package/dist/models/changelog-config-field-dto.js +21 -0
- package/dist/models/changelog-config-section-dto.d.ts +43 -0
- package/dist/models/changelog-config-section-dto.js +15 -0
- package/dist/models/composite-source-dto.d.ts +30 -0
- package/dist/models/composite-source-dto.js +15 -0
- package/dist/models/create-changelog-configuration-dto.d.ts +3 -3
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/json-sub-field-dto.d.ts +36 -0
- package/dist/models/json-sub-field-dto.js +15 -0
- package/dist/models/update-changelog-configuration-dto.d.ts +3 -3
- package/models/changelog-config-field-class.ts +33 -0
- package/models/changelog-config-field-dto.ts +83 -0
- package/models/changelog-config-section-dto.ts +49 -0
- package/models/composite-source-dto.ts +36 -0
- package/models/create-changelog-configuration-dto.ts +3 -3
- package/models/index.ts +4 -0
- package/models/json-sub-field-dto.ts +42 -0
- package/models/update-changelog-configuration-dto.ts +3 -3
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -12,10 +12,13 @@ configuration.ts
|
|
|
12
12
|
git_push.sh
|
|
13
13
|
index.ts
|
|
14
14
|
models/changelog-config-field-class.ts
|
|
15
|
+
models/changelog-config-field-dto.ts
|
|
15
16
|
models/changelog-config-section-class.ts
|
|
17
|
+
models/changelog-config-section-dto.ts
|
|
16
18
|
models/changelog-configuration-class.ts
|
|
17
19
|
models/changelog-event-class-changes.ts
|
|
18
20
|
models/changelog-event-class.ts
|
|
21
|
+
models/composite-source-dto.ts
|
|
19
22
|
models/create-changelog-configuration-dto.ts
|
|
20
23
|
models/formatted-changelog-event.ts
|
|
21
24
|
models/formatted-field-entry.ts
|
|
@@ -25,6 +28,7 @@ models/get-changelog-event-response-class.ts
|
|
|
25
28
|
models/index.ts
|
|
26
29
|
models/inline-response200.ts
|
|
27
30
|
models/inline-response503.ts
|
|
31
|
+
models/json-sub-field-dto.ts
|
|
28
32
|
models/list-changelog-configurations-response-class.ts
|
|
29
33
|
models/list-changelog-events-response-class.ts
|
|
30
34
|
models/list-formatted-changelog-events-response-class.ts
|
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/changelog-sdk@1.0.1-beta.
|
|
20
|
+
npm install @emilgroup/changelog-sdk@1.0.1-beta.7 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/changelog-sdk@1.0.1-beta.
|
|
24
|
+
yarn add @emilgroup/changelog-sdk@1.0.1-beta.7
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -39,4 +39,34 @@ export interface ChangelogConfigFieldClass {
|
|
|
39
39
|
* @memberof ChangelogConfigFieldClass
|
|
40
40
|
*/
|
|
41
41
|
'entity': string;
|
|
42
|
+
/**
|
|
43
|
+
* Field type: simple (default), json, or composite
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ChangelogConfigFieldClass
|
|
46
|
+
*/
|
|
47
|
+
'type'?: ChangelogConfigFieldClassTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Sub-fields to extract when type is \"json\"
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof ChangelogConfigFieldClass
|
|
52
|
+
*/
|
|
53
|
+
'jsonFields': Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Source fields when type is \"composite\"
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof ChangelogConfigFieldClass
|
|
58
|
+
*/
|
|
59
|
+
'sources': Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Template string when type is \"composite\", e.g. \"{reserveDetails.code} ({reserveDetails.reserveType})\"
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ChangelogConfigFieldClass
|
|
64
|
+
*/
|
|
65
|
+
'template'?: string;
|
|
42
66
|
}
|
|
67
|
+
export declare const ChangelogConfigFieldClassTypeEnum: {
|
|
68
|
+
readonly Simple: "simple";
|
|
69
|
+
readonly Json: "json";
|
|
70
|
+
readonly Composite: "composite";
|
|
71
|
+
};
|
|
72
|
+
export type ChangelogConfigFieldClassTypeEnum = typeof ChangelogConfigFieldClassTypeEnum[keyof typeof ChangelogConfigFieldClassTypeEnum];
|
|
@@ -13,3 +13,9 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ChangelogConfigFieldClassTypeEnum = void 0;
|
|
17
|
+
exports.ChangelogConfigFieldClassTypeEnum = {
|
|
18
|
+
Simple: 'simple',
|
|
19
|
+
Json: 'json',
|
|
20
|
+
Composite: 'composite'
|
|
21
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Changelogservice
|
|
3
|
+
* The EMIL Changelog Service 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 { CompositeSourceDto } from './composite-source-dto';
|
|
13
|
+
import { JsonSubFieldDto } from './json-sub-field-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChangelogConfigFieldDto
|
|
18
|
+
*/
|
|
19
|
+
export interface ChangelogConfigFieldDto {
|
|
20
|
+
/**
|
|
21
|
+
* Field name from the entity
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ChangelogConfigFieldDto
|
|
24
|
+
*/
|
|
25
|
+
'fieldName': string;
|
|
26
|
+
/**
|
|
27
|
+
* Display name for the field
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ChangelogConfigFieldDto
|
|
30
|
+
*/
|
|
31
|
+
'displayName': string;
|
|
32
|
+
/**
|
|
33
|
+
* Display order of the field within the section
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ChangelogConfigFieldDto
|
|
36
|
+
*/
|
|
37
|
+
'order': number;
|
|
38
|
+
/**
|
|
39
|
+
* Entity type this field belongs to
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ChangelogConfigFieldDto
|
|
42
|
+
*/
|
|
43
|
+
'entity': string;
|
|
44
|
+
/**
|
|
45
|
+
* Field type: simple (default), json, or composite
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ChangelogConfigFieldDto
|
|
48
|
+
*/
|
|
49
|
+
'type'?: ChangelogConfigFieldDtoTypeEnum;
|
|
50
|
+
/**
|
|
51
|
+
* Sub-fields to extract when type is \"json\"
|
|
52
|
+
* @type {Array<JsonSubFieldDto>}
|
|
53
|
+
* @memberof ChangelogConfigFieldDto
|
|
54
|
+
*/
|
|
55
|
+
'jsonFields'?: Array<JsonSubFieldDto>;
|
|
56
|
+
/**
|
|
57
|
+
* Source fields when type is \"composite\"
|
|
58
|
+
* @type {Array<CompositeSourceDto>}
|
|
59
|
+
* @memberof ChangelogConfigFieldDto
|
|
60
|
+
*/
|
|
61
|
+
'sources'?: Array<CompositeSourceDto>;
|
|
62
|
+
/**
|
|
63
|
+
* Template string when type is \"composite\", e.g. \"{reserveDetails.code} ({reserveDetails.reserveType})\"
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ChangelogConfigFieldDto
|
|
66
|
+
*/
|
|
67
|
+
'template'?: string;
|
|
68
|
+
}
|
|
69
|
+
export declare const ChangelogConfigFieldDtoTypeEnum: {
|
|
70
|
+
readonly Simple: "simple";
|
|
71
|
+
readonly Json: "json";
|
|
72
|
+
readonly Composite: "composite";
|
|
73
|
+
};
|
|
74
|
+
export type ChangelogConfigFieldDtoTypeEnum = typeof ChangelogConfigFieldDtoTypeEnum[keyof typeof ChangelogConfigFieldDtoTypeEnum];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Changelogservice
|
|
6
|
+
* The EMIL Changelog Service 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.ChangelogConfigFieldDtoTypeEnum = void 0;
|
|
17
|
+
exports.ChangelogConfigFieldDtoTypeEnum = {
|
|
18
|
+
Simple: 'simple',
|
|
19
|
+
Json: 'json',
|
|
20
|
+
Composite: 'composite'
|
|
21
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Changelogservice
|
|
3
|
+
* The EMIL Changelog Service 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 { ChangelogConfigFieldDto } from './changelog-config-field-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ChangelogConfigSectionDto
|
|
17
|
+
*/
|
|
18
|
+
export interface ChangelogConfigSectionDto {
|
|
19
|
+
/**
|
|
20
|
+
* Section identifier name
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ChangelogConfigSectionDto
|
|
23
|
+
*/
|
|
24
|
+
'name': string;
|
|
25
|
+
/**
|
|
26
|
+
* Display name for the section
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ChangelogConfigSectionDto
|
|
29
|
+
*/
|
|
30
|
+
'displayName': string;
|
|
31
|
+
/**
|
|
32
|
+
* Display order of the section
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ChangelogConfigSectionDto
|
|
35
|
+
*/
|
|
36
|
+
'order': number;
|
|
37
|
+
/**
|
|
38
|
+
* Fields within this section
|
|
39
|
+
* @type {Array<ChangelogConfigFieldDto>}
|
|
40
|
+
* @memberof ChangelogConfigSectionDto
|
|
41
|
+
*/
|
|
42
|
+
'fields': Array<ChangelogConfigFieldDto>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Changelogservice
|
|
6
|
+
* The EMIL Changelog Service 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,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Changelogservice
|
|
3
|
+
* The EMIL Changelog Service 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 CompositeSourceDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CompositeSourceDto {
|
|
18
|
+
/**
|
|
19
|
+
* Source field name from the change event
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompositeSourceDto
|
|
22
|
+
*/
|
|
23
|
+
'field': string;
|
|
24
|
+
/**
|
|
25
|
+
* Dot-separated path within the source field value
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompositeSourceDto
|
|
28
|
+
*/
|
|
29
|
+
'subPath'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Changelogservice
|
|
6
|
+
* The EMIL Changelog Service 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 });
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ChangelogConfigSectionDto } from './changelog-config-section-dto';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,8 +30,8 @@ export interface CreateChangelogConfigurationDto {
|
|
|
30
30
|
'slug': string;
|
|
31
31
|
/**
|
|
32
32
|
* Configuration sections with field definitions
|
|
33
|
-
* @type {Array<
|
|
33
|
+
* @type {Array<ChangelogConfigSectionDto>}
|
|
34
34
|
* @memberof CreateChangelogConfigurationDto
|
|
35
35
|
*/
|
|
36
|
-
'sections': Array<
|
|
36
|
+
'sections': Array<ChangelogConfigSectionDto>;
|
|
37
37
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './changelog-config-field-class';
|
|
2
|
+
export * from './changelog-config-field-dto';
|
|
2
3
|
export * from './changelog-config-section-class';
|
|
4
|
+
export * from './changelog-config-section-dto';
|
|
3
5
|
export * from './changelog-configuration-class';
|
|
4
6
|
export * from './changelog-event-class';
|
|
5
7
|
export * from './changelog-event-class-changes';
|
|
8
|
+
export * from './composite-source-dto';
|
|
6
9
|
export * from './create-changelog-configuration-dto';
|
|
7
10
|
export * from './formatted-changelog-event';
|
|
8
11
|
export * from './formatted-field-entry';
|
|
@@ -11,6 +14,7 @@ export * from './get-changelog-configuration-response-class';
|
|
|
11
14
|
export * from './get-changelog-event-response-class';
|
|
12
15
|
export * from './inline-response200';
|
|
13
16
|
export * from './inline-response503';
|
|
17
|
+
export * from './json-sub-field-dto';
|
|
14
18
|
export * from './list-changelog-configurations-response-class';
|
|
15
19
|
export * from './list-changelog-events-response-class';
|
|
16
20
|
export * from './list-formatted-changelog-events-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -15,10 +15,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./changelog-config-field-class"), exports);
|
|
18
|
+
__exportStar(require("./changelog-config-field-dto"), exports);
|
|
18
19
|
__exportStar(require("./changelog-config-section-class"), exports);
|
|
20
|
+
__exportStar(require("./changelog-config-section-dto"), exports);
|
|
19
21
|
__exportStar(require("./changelog-configuration-class"), exports);
|
|
20
22
|
__exportStar(require("./changelog-event-class"), exports);
|
|
21
23
|
__exportStar(require("./changelog-event-class-changes"), exports);
|
|
24
|
+
__exportStar(require("./composite-source-dto"), exports);
|
|
22
25
|
__exportStar(require("./create-changelog-configuration-dto"), exports);
|
|
23
26
|
__exportStar(require("./formatted-changelog-event"), exports);
|
|
24
27
|
__exportStar(require("./formatted-field-entry"), exports);
|
|
@@ -27,6 +30,7 @@ __exportStar(require("./get-changelog-configuration-response-class"), exports);
|
|
|
27
30
|
__exportStar(require("./get-changelog-event-response-class"), exports);
|
|
28
31
|
__exportStar(require("./inline-response200"), exports);
|
|
29
32
|
__exportStar(require("./inline-response503"), exports);
|
|
33
|
+
__exportStar(require("./json-sub-field-dto"), exports);
|
|
30
34
|
__exportStar(require("./list-changelog-configurations-response-class"), exports);
|
|
31
35
|
__exportStar(require("./list-changelog-events-response-class"), exports);
|
|
32
36
|
__exportStar(require("./list-formatted-changelog-events-response-class"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Changelogservice
|
|
3
|
+
* The EMIL Changelog Service 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 JsonSubFieldDto
|
|
16
|
+
*/
|
|
17
|
+
export interface JsonSubFieldDto {
|
|
18
|
+
/**
|
|
19
|
+
* Path to the sub-field within the JSON value
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof JsonSubFieldDto
|
|
22
|
+
*/
|
|
23
|
+
'subField': string;
|
|
24
|
+
/**
|
|
25
|
+
* Display name for the sub-field
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof JsonSubFieldDto
|
|
28
|
+
*/
|
|
29
|
+
'displayName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Display order of the sub-field
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof JsonSubFieldDto
|
|
34
|
+
*/
|
|
35
|
+
'order': number;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Changelogservice
|
|
6
|
+
* The EMIL Changelog Service 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 });
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ChangelogConfigSectionDto } from './changelog-config-section-dto';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import { ChangelogConfigSectionClass } from './changelog-config-section-class';
|
|
|
18
18
|
export interface UpdateChangelogConfigurationDto {
|
|
19
19
|
/**
|
|
20
20
|
* Updated configuration sections with field definitions
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<ChangelogConfigSectionDto>}
|
|
22
22
|
* @memberof UpdateChangelogConfigurationDto
|
|
23
23
|
*/
|
|
24
|
-
'sections': Array<
|
|
24
|
+
'sections': Array<ChangelogConfigSectionDto>;
|
|
25
25
|
}
|
|
@@ -44,5 +44,38 @@ export interface ChangelogConfigFieldClass {
|
|
|
44
44
|
* @memberof ChangelogConfigFieldClass
|
|
45
45
|
*/
|
|
46
46
|
'entity': string;
|
|
47
|
+
/**
|
|
48
|
+
* Field type: simple (default), json, or composite
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ChangelogConfigFieldClass
|
|
51
|
+
*/
|
|
52
|
+
'type'?: ChangelogConfigFieldClassTypeEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Sub-fields to extract when type is \"json\"
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof ChangelogConfigFieldClass
|
|
57
|
+
*/
|
|
58
|
+
'jsonFields': Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Source fields when type is \"composite\"
|
|
61
|
+
* @type {Array<string>}
|
|
62
|
+
* @memberof ChangelogConfigFieldClass
|
|
63
|
+
*/
|
|
64
|
+
'sources': Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Template string when type is \"composite\", e.g. \"{reserveDetails.code} ({reserveDetails.reserveType})\"
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ChangelogConfigFieldClass
|
|
69
|
+
*/
|
|
70
|
+
'template'?: string;
|
|
47
71
|
}
|
|
48
72
|
|
|
73
|
+
export const ChangelogConfigFieldClassTypeEnum = {
|
|
74
|
+
Simple: 'simple',
|
|
75
|
+
Json: 'json',
|
|
76
|
+
Composite: 'composite'
|
|
77
|
+
} as const;
|
|
78
|
+
|
|
79
|
+
export type ChangelogConfigFieldClassTypeEnum = typeof ChangelogConfigFieldClassTypeEnum[keyof typeof ChangelogConfigFieldClassTypeEnum];
|
|
80
|
+
|
|
81
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Changelogservice
|
|
5
|
+
* The EMIL Changelog Service 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 { CompositeSourceDto } from './composite-source-dto';
|
|
17
|
+
import { JsonSubFieldDto } from './json-sub-field-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ChangelogConfigFieldDto
|
|
23
|
+
*/
|
|
24
|
+
export interface ChangelogConfigFieldDto {
|
|
25
|
+
/**
|
|
26
|
+
* Field name from the entity
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ChangelogConfigFieldDto
|
|
29
|
+
*/
|
|
30
|
+
'fieldName': string;
|
|
31
|
+
/**
|
|
32
|
+
* Display name for the field
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ChangelogConfigFieldDto
|
|
35
|
+
*/
|
|
36
|
+
'displayName': string;
|
|
37
|
+
/**
|
|
38
|
+
* Display order of the field within the section
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ChangelogConfigFieldDto
|
|
41
|
+
*/
|
|
42
|
+
'order': number;
|
|
43
|
+
/**
|
|
44
|
+
* Entity type this field belongs to
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ChangelogConfigFieldDto
|
|
47
|
+
*/
|
|
48
|
+
'entity': string;
|
|
49
|
+
/**
|
|
50
|
+
* Field type: simple (default), json, or composite
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ChangelogConfigFieldDto
|
|
53
|
+
*/
|
|
54
|
+
'type'?: ChangelogConfigFieldDtoTypeEnum;
|
|
55
|
+
/**
|
|
56
|
+
* Sub-fields to extract when type is \"json\"
|
|
57
|
+
* @type {Array<JsonSubFieldDto>}
|
|
58
|
+
* @memberof ChangelogConfigFieldDto
|
|
59
|
+
*/
|
|
60
|
+
'jsonFields'?: Array<JsonSubFieldDto>;
|
|
61
|
+
/**
|
|
62
|
+
* Source fields when type is \"composite\"
|
|
63
|
+
* @type {Array<CompositeSourceDto>}
|
|
64
|
+
* @memberof ChangelogConfigFieldDto
|
|
65
|
+
*/
|
|
66
|
+
'sources'?: Array<CompositeSourceDto>;
|
|
67
|
+
/**
|
|
68
|
+
* Template string when type is \"composite\", e.g. \"{reserveDetails.code} ({reserveDetails.reserveType})\"
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ChangelogConfigFieldDto
|
|
71
|
+
*/
|
|
72
|
+
'template'?: string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export const ChangelogConfigFieldDtoTypeEnum = {
|
|
76
|
+
Simple: 'simple',
|
|
77
|
+
Json: 'json',
|
|
78
|
+
Composite: 'composite'
|
|
79
|
+
} as const;
|
|
80
|
+
|
|
81
|
+
export type ChangelogConfigFieldDtoTypeEnum = typeof ChangelogConfigFieldDtoTypeEnum[keyof typeof ChangelogConfigFieldDtoTypeEnum];
|
|
82
|
+
|
|
83
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Changelogservice
|
|
5
|
+
* The EMIL Changelog Service 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 { ChangelogConfigFieldDto } from './changelog-config-field-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ChangelogConfigSectionDto
|
|
22
|
+
*/
|
|
23
|
+
export interface ChangelogConfigSectionDto {
|
|
24
|
+
/**
|
|
25
|
+
* Section identifier name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChangelogConfigSectionDto
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
* Display name for the section
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ChangelogConfigSectionDto
|
|
34
|
+
*/
|
|
35
|
+
'displayName': string;
|
|
36
|
+
/**
|
|
37
|
+
* Display order of the section
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ChangelogConfigSectionDto
|
|
40
|
+
*/
|
|
41
|
+
'order': number;
|
|
42
|
+
/**
|
|
43
|
+
* Fields within this section
|
|
44
|
+
* @type {Array<ChangelogConfigFieldDto>}
|
|
45
|
+
* @memberof ChangelogConfigSectionDto
|
|
46
|
+
*/
|
|
47
|
+
'fields': Array<ChangelogConfigFieldDto>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Changelogservice
|
|
5
|
+
* The EMIL Changelog Service 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 CompositeSourceDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CompositeSourceDto {
|
|
23
|
+
/**
|
|
24
|
+
* Source field name from the change event
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CompositeSourceDto
|
|
27
|
+
*/
|
|
28
|
+
'field': string;
|
|
29
|
+
/**
|
|
30
|
+
* Dot-separated path within the source field value
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CompositeSourceDto
|
|
33
|
+
*/
|
|
34
|
+
'subPath'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { ChangelogConfigSectionDto } from './changelog-config-section-dto';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -35,9 +35,9 @@ export interface CreateChangelogConfigurationDto {
|
|
|
35
35
|
'slug': string;
|
|
36
36
|
/**
|
|
37
37
|
* Configuration sections with field definitions
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<ChangelogConfigSectionDto>}
|
|
39
39
|
* @memberof CreateChangelogConfigurationDto
|
|
40
40
|
*/
|
|
41
|
-
'sections': Array<
|
|
41
|
+
'sections': Array<ChangelogConfigSectionDto>;
|
|
42
42
|
}
|
|
43
43
|
|
package/models/index.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './changelog-config-field-class';
|
|
2
|
+
export * from './changelog-config-field-dto';
|
|
2
3
|
export * from './changelog-config-section-class';
|
|
4
|
+
export * from './changelog-config-section-dto';
|
|
3
5
|
export * from './changelog-configuration-class';
|
|
4
6
|
export * from './changelog-event-class';
|
|
5
7
|
export * from './changelog-event-class-changes';
|
|
8
|
+
export * from './composite-source-dto';
|
|
6
9
|
export * from './create-changelog-configuration-dto';
|
|
7
10
|
export * from './formatted-changelog-event';
|
|
8
11
|
export * from './formatted-field-entry';
|
|
@@ -11,6 +14,7 @@ export * from './get-changelog-configuration-response-class';
|
|
|
11
14
|
export * from './get-changelog-event-response-class';
|
|
12
15
|
export * from './inline-response200';
|
|
13
16
|
export * from './inline-response503';
|
|
17
|
+
export * from './json-sub-field-dto';
|
|
14
18
|
export * from './list-changelog-configurations-response-class';
|
|
15
19
|
export * from './list-changelog-events-response-class';
|
|
16
20
|
export * from './list-formatted-changelog-events-response-class';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Changelogservice
|
|
5
|
+
* The EMIL Changelog Service 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 JsonSubFieldDto
|
|
21
|
+
*/
|
|
22
|
+
export interface JsonSubFieldDto {
|
|
23
|
+
/**
|
|
24
|
+
* Path to the sub-field within the JSON value
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof JsonSubFieldDto
|
|
27
|
+
*/
|
|
28
|
+
'subField': string;
|
|
29
|
+
/**
|
|
30
|
+
* Display name for the sub-field
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof JsonSubFieldDto
|
|
33
|
+
*/
|
|
34
|
+
'displayName': string;
|
|
35
|
+
/**
|
|
36
|
+
* Display order of the sub-field
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof JsonSubFieldDto
|
|
39
|
+
*/
|
|
40
|
+
'order': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { ChangelogConfigSectionDto } from './changelog-config-section-dto';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -23,9 +23,9 @@ import { ChangelogConfigSectionClass } from './changelog-config-section-class';
|
|
|
23
23
|
export interface UpdateChangelogConfigurationDto {
|
|
24
24
|
/**
|
|
25
25
|
* Updated configuration sections with field definitions
|
|
26
|
-
* @type {Array<
|
|
26
|
+
* @type {Array<ChangelogConfigSectionDto>}
|
|
27
27
|
* @memberof UpdateChangelogConfigurationDto
|
|
28
28
|
*/
|
|
29
|
-
'sections': Array<
|
|
29
|
+
'sections': Array<ChangelogConfigSectionDto>;
|
|
30
30
|
}
|
|
31
31
|
|