@emilgroup/changelog-sdk 1.0.1-beta.2 → 1.0.1-beta.4

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 (33) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/changelog-configurations-api.ts +188 -0
  4. package/api/changelog-events-api.ts +201 -0
  5. package/dist/api/changelog-configurations-api.d.ts +110 -0
  6. package/dist/api/changelog-configurations-api.js +129 -0
  7. package/dist/api/changelog-events-api.d.ts +119 -0
  8. package/dist/api/changelog-events-api.js +134 -0
  9. package/dist/models/changelog-config-field-class.d.ts +6 -0
  10. package/dist/models/changelog-configuration-class.d.ts +6 -0
  11. package/dist/models/create-changelog-configuration-dto.d.ts +6 -0
  12. package/dist/models/formatted-changelog-event.d.ts +67 -0
  13. package/dist/models/formatted-changelog-event.js +15 -0
  14. package/dist/models/formatted-field-entry.d.ts +48 -0
  15. package/dist/models/formatted-field-entry.js +15 -0
  16. package/dist/models/formatted-section.d.ts +43 -0
  17. package/dist/models/formatted-section.js +15 -0
  18. package/dist/models/index.d.ts +5 -0
  19. package/dist/models/index.js +5 -0
  20. package/dist/models/list-changelog-configurations-response-class.d.ts +43 -0
  21. package/dist/models/list-changelog-configurations-response-class.js +15 -0
  22. package/dist/models/list-formatted-changelog-events-response-class.d.ts +43 -0
  23. package/dist/models/list-formatted-changelog-events-response-class.js +15 -0
  24. package/models/changelog-config-field-class.ts +6 -0
  25. package/models/changelog-configuration-class.ts +6 -0
  26. package/models/create-changelog-configuration-dto.ts +6 -0
  27. package/models/formatted-changelog-event.ts +73 -0
  28. package/models/formatted-field-entry.ts +54 -0
  29. package/models/formatted-section.ts +49 -0
  30. package/models/index.ts +5 -0
  31. package/models/list-changelog-configurations-response-class.ts +49 -0
  32. package/models/list-formatted-changelog-events-response-class.ts +49 -0
  33. package/package.json +1 -1
@@ -212,6 +212,82 @@ var ChangelogEventsApiAxiosParamCreator = function (configuration) {
212
212
  });
213
213
  });
214
214
  },
215
+ /**
216
+ * Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
217
+ * @summary List formatted changelog events
218
+ * @param {string} configSlug Slug of the changelog configuration to apply
219
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
220
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
221
+ * @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.
222
+ * @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: id, code, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt</i>
223
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, entityCode, actorName, sourceService</i>
224
+ * @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, code, occurredAt, createdAt, entityType, action</i>
225
+ * @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/>
226
+ * @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: id, code, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt</i>
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ listFormattedChangelogEvents: function (configSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
231
+ if (options === void 0) { options = {}; }
232
+ return __awaiter(_this, void 0, void 0, function () {
233
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
234
+ return __generator(this, function (_a) {
235
+ switch (_a.label) {
236
+ case 0:
237
+ // verify required parameter 'configSlug' is not null or undefined
238
+ (0, common_1.assertParamExists)('listFormattedChangelogEvents', 'configSlug', configSlug);
239
+ localVarPath = "/changelogservice/v1/changelog-events/formatted/{configSlug}"
240
+ .replace("{".concat("configSlug", "}"), encodeURIComponent(String(configSlug)));
241
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
242
+ if (configuration) {
243
+ baseOptions = configuration.baseOptions;
244
+ baseAccessToken = configuration.accessToken;
245
+ }
246
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
247
+ localVarHeaderParameter = {};
248
+ localVarQueryParameter = {};
249
+ // authentication bearer required
250
+ // http bearer authentication required
251
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
252
+ case 1:
253
+ // authentication bearer required
254
+ // http bearer authentication required
255
+ _a.sent();
256
+ if (pageSize !== undefined) {
257
+ localVarQueryParameter['pageSize'] = pageSize;
258
+ }
259
+ if (pageToken !== undefined) {
260
+ localVarQueryParameter['pageToken'] = pageToken;
261
+ }
262
+ if (filter !== undefined) {
263
+ localVarQueryParameter['filter'] = filter;
264
+ }
265
+ if (search !== undefined) {
266
+ localVarQueryParameter['search'] = search;
267
+ }
268
+ if (order !== undefined) {
269
+ localVarQueryParameter['order'] = order;
270
+ }
271
+ if (expand !== undefined) {
272
+ localVarQueryParameter['expand'] = expand;
273
+ }
274
+ if (filters !== undefined) {
275
+ localVarQueryParameter['filters'] = filters;
276
+ }
277
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
278
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
279
+ }
280
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
281
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
283
+ return [2 /*return*/, {
284
+ url: (0, common_1.toPathString)(localVarUrlObj),
285
+ options: localVarRequestOptions,
286
+ }];
287
+ }
288
+ });
289
+ });
290
+ },
215
291
  };
216
292
  };
217
293
  exports.ChangelogEventsApiAxiosParamCreator = ChangelogEventsApiAxiosParamCreator;
@@ -270,6 +346,34 @@ var ChangelogEventsApiFp = function (configuration) {
270
346
  });
271
347
  });
272
348
  },
349
+ /**
350
+ * Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
351
+ * @summary List formatted changelog events
352
+ * @param {string} configSlug Slug of the changelog configuration to apply
353
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
354
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
355
+ * @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.
356
+ * @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: id, code, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt</i>
357
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, entityCode, actorName, sourceService</i>
358
+ * @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, code, occurredAt, createdAt, entityType, action</i>
359
+ * @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/>
360
+ * @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: id, code, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt</i>
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ */
364
+ listFormattedChangelogEvents: function (configSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
365
+ return __awaiter(this, void 0, void 0, function () {
366
+ var localVarAxiosArgs;
367
+ return __generator(this, function (_a) {
368
+ switch (_a.label) {
369
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listFormattedChangelogEvents(configSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
370
+ case 1:
371
+ localVarAxiosArgs = _a.sent();
372
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
373
+ }
374
+ });
375
+ });
376
+ },
273
377
  };
274
378
  };
275
379
  exports.ChangelogEventsApiFp = ChangelogEventsApiFp;
@@ -308,6 +412,24 @@ var ChangelogEventsApiFactory = function (configuration, basePath, axios) {
308
412
  listChangelogEvents: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
309
413
  return localVarFp.listChangelogEvents(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
310
414
  },
415
+ /**
416
+ * Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
417
+ * @summary List formatted changelog events
418
+ * @param {string} configSlug Slug of the changelog configuration to apply
419
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
420
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
421
+ * @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.
422
+ * @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: id, code, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt</i>
423
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, entityCode, actorName, sourceService</i>
424
+ * @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, code, occurredAt, createdAt, entityType, action</i>
425
+ * @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/>
426
+ * @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: id, code, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt</i>
427
+ * @param {*} [options] Override http request option.
428
+ * @throws {RequiredError}
429
+ */
430
+ listFormattedChangelogEvents: function (configSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
431
+ return localVarFp.listFormattedChangelogEvents(configSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
432
+ },
311
433
  };
312
434
  };
313
435
  exports.ChangelogEventsApiFactory = ChangelogEventsApiFactory;
@@ -347,6 +469,18 @@ var ChangelogEventsApi = /** @class */ (function (_super) {
347
469
  if (requestParameters === void 0) { requestParameters = {}; }
348
470
  return (0, exports.ChangelogEventsApiFp)(this.configuration).listChangelogEvents(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
349
471
  };
472
+ /**
473
+ * Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
474
+ * @summary List formatted changelog events
475
+ * @param {ChangelogEventsApiListFormattedChangelogEventsRequest} requestParameters Request parameters.
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ * @memberof ChangelogEventsApi
479
+ */
480
+ ChangelogEventsApi.prototype.listFormattedChangelogEvents = function (requestParameters, options) {
481
+ var _this = this;
482
+ return (0, exports.ChangelogEventsApiFp)(this.configuration).listFormattedChangelogEvents(requestParameters.configSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
483
+ };
350
484
  return ChangelogEventsApi;
351
485
  }(base_1.BaseAPI));
352
486
  exports.ChangelogEventsApi = ChangelogEventsApi;
@@ -33,4 +33,10 @@ export interface ChangelogConfigFieldClass {
33
33
  * @memberof ChangelogConfigFieldClass
34
34
  */
35
35
  'order': number;
36
+ /**
37
+ * Entity type this field belongs to
38
+ * @type {string}
39
+ * @memberof ChangelogConfigFieldClass
40
+ */
41
+ 'entity': string;
36
42
  }
@@ -34,6 +34,12 @@ export interface ChangelogConfigurationClass {
34
34
  * @memberof ChangelogConfigurationClass
35
35
  */
36
36
  'entityType': string;
37
+ /**
38
+ * URL-friendly slug identifier for this configuration
39
+ * @type {string}
40
+ * @memberof ChangelogConfigurationClass
41
+ */
42
+ 'slug': string;
37
43
  /**
38
44
  * Configuration sections with field definitions
39
45
  * @type {Array<ChangelogConfigSectionClass>}
@@ -22,6 +22,12 @@ export interface CreateChangelogConfigurationDto {
22
22
  * @memberof CreateChangelogConfigurationDto
23
23
  */
24
24
  'entityType': string;
25
+ /**
26
+ * URL-friendly slug for this configuration
27
+ * @type {string}
28
+ * @memberof CreateChangelogConfigurationDto
29
+ */
30
+ 'slug': string;
25
31
  /**
26
32
  * Configuration sections with field definitions
27
33
  * @type {Array<ChangelogConfigSectionClass>}
@@ -0,0 +1,67 @@
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 { FormattedSection } from './formatted-section';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FormattedChangelogEvent
17
+ */
18
+ export interface FormattedChangelogEvent {
19
+ /**
20
+ * Event code
21
+ * @type {string}
22
+ * @memberof FormattedChangelogEvent
23
+ */
24
+ 'code': string;
25
+ /**
26
+ * Entity type
27
+ * @type {string}
28
+ * @memberof FormattedChangelogEvent
29
+ */
30
+ 'entityType': string;
31
+ /**
32
+ * Entity code
33
+ * @type {string}
34
+ * @memberof FormattedChangelogEvent
35
+ */
36
+ 'entityCode': string;
37
+ /**
38
+ * Action performed
39
+ * @type {string}
40
+ * @memberof FormattedChangelogEvent
41
+ */
42
+ 'action': string;
43
+ /**
44
+ * Actor display name
45
+ * @type {string}
46
+ * @memberof FormattedChangelogEvent
47
+ */
48
+ 'actorName'?: string;
49
+ /**
50
+ * Actor type
51
+ * @type {string}
52
+ * @memberof FormattedChangelogEvent
53
+ */
54
+ 'actorType': string;
55
+ /**
56
+ * When the change occurred
57
+ * @type {string}
58
+ * @memberof FormattedChangelogEvent
59
+ */
60
+ 'occurredAt'?: string;
61
+ /**
62
+ * Formatted sections with matched field entries
63
+ * @type {Array<FormattedSection>}
64
+ * @memberof FormattedChangelogEvent
65
+ */
66
+ 'sections': Array<FormattedSection>;
67
+ }
@@ -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,48 @@
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 FormattedFieldEntry
16
+ */
17
+ export interface FormattedFieldEntry {
18
+ /**
19
+ * Field name
20
+ * @type {string}
21
+ * @memberof FormattedFieldEntry
22
+ */
23
+ 'field': string;
24
+ /**
25
+ * Display name for the field
26
+ * @type {string}
27
+ * @memberof FormattedFieldEntry
28
+ */
29
+ 'displayName': string;
30
+ /**
31
+ * Display order within the section
32
+ * @type {number}
33
+ * @memberof FormattedFieldEntry
34
+ */
35
+ 'order': number;
36
+ /**
37
+ * Previous value of the field
38
+ * @type {object}
39
+ * @memberof FormattedFieldEntry
40
+ */
41
+ 'oldValue'?: object;
42
+ /**
43
+ * New value of the field
44
+ * @type {object}
45
+ * @memberof FormattedFieldEntry
46
+ */
47
+ 'newValue'?: object;
48
+ }
@@ -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,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 { FormattedFieldEntry } from './formatted-field-entry';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface FormattedSection
17
+ */
18
+ export interface FormattedSection {
19
+ /**
20
+ * Section identifier
21
+ * @type {string}
22
+ * @memberof FormattedSection
23
+ */
24
+ 'name': string;
25
+ /**
26
+ * Display name for the section
27
+ * @type {string}
28
+ * @memberof FormattedSection
29
+ */
30
+ 'displayName': string;
31
+ /**
32
+ * Display order of the section
33
+ * @type {number}
34
+ * @memberof FormattedSection
35
+ */
36
+ 'order': number;
37
+ /**
38
+ * Field entries within this section
39
+ * @type {Array<FormattedFieldEntry>}
40
+ * @memberof FormattedSection
41
+ */
42
+ 'entries': Array<FormattedFieldEntry>;
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 });
@@ -4,9 +4,14 @@ export * from './changelog-configuration-class';
4
4
  export * from './changelog-event-class';
5
5
  export * from './changelog-event-class-changes';
6
6
  export * from './create-changelog-configuration-dto';
7
+ export * from './formatted-changelog-event';
8
+ export * from './formatted-field-entry';
9
+ export * from './formatted-section';
7
10
  export * from './get-changelog-configuration-response-class';
8
11
  export * from './get-changelog-event-response-class';
9
12
  export * from './inline-response200';
10
13
  export * from './inline-response503';
14
+ export * from './list-changelog-configurations-response-class';
11
15
  export * from './list-changelog-events-response-class';
16
+ export * from './list-formatted-changelog-events-response-class';
12
17
  export * from './update-changelog-configuration-dto';
@@ -20,9 +20,14 @@ __exportStar(require("./changelog-configuration-class"), exports);
20
20
  __exportStar(require("./changelog-event-class"), exports);
21
21
  __exportStar(require("./changelog-event-class-changes"), exports);
22
22
  __exportStar(require("./create-changelog-configuration-dto"), exports);
23
+ __exportStar(require("./formatted-changelog-event"), exports);
24
+ __exportStar(require("./formatted-field-entry"), exports);
25
+ __exportStar(require("./formatted-section"), exports);
23
26
  __exportStar(require("./get-changelog-configuration-response-class"), exports);
24
27
  __exportStar(require("./get-changelog-event-response-class"), exports);
25
28
  __exportStar(require("./inline-response200"), exports);
26
29
  __exportStar(require("./inline-response503"), exports);
30
+ __exportStar(require("./list-changelog-configurations-response-class"), exports);
27
31
  __exportStar(require("./list-changelog-events-response-class"), exports);
32
+ __exportStar(require("./list-formatted-changelog-events-response-class"), exports);
28
33
  __exportStar(require("./update-changelog-configuration-dto"), exports);
@@ -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 { ChangelogConfigurationClass } from './changelog-configuration-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListChangelogConfigurationsResponseClass
17
+ */
18
+ export interface ListChangelogConfigurationsResponseClass {
19
+ /**
20
+ * The list of changelog configurations.
21
+ * @type {Array<ChangelogConfigurationClass>}
22
+ * @memberof ListChangelogConfigurationsResponseClass
23
+ */
24
+ 'items': Array<ChangelogConfigurationClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListChangelogConfigurationsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Number of items per page
33
+ * @type {number}
34
+ * @memberof ListChangelogConfigurationsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total number of items
39
+ * @type {number}
40
+ * @memberof ListChangelogConfigurationsResponseClass
41
+ */
42
+ 'totalItems': number;
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,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 { FormattedChangelogEvent } from './formatted-changelog-event';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListFormattedChangelogEventsResponseClass
17
+ */
18
+ export interface ListFormattedChangelogEventsResponseClass {
19
+ /**
20
+ * The list of formatted changelog events.
21
+ * @type {Array<FormattedChangelogEvent>}
22
+ * @memberof ListFormattedChangelogEventsResponseClass
23
+ */
24
+ 'items': Array<FormattedChangelogEvent>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListFormattedChangelogEventsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Number of items per page
33
+ * @type {number}
34
+ * @memberof ListFormattedChangelogEventsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total number of items
39
+ * @type {number}
40
+ * @memberof ListFormattedChangelogEventsResponseClass
41
+ */
42
+ 'totalItems': number;
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 });
@@ -38,5 +38,11 @@ export interface ChangelogConfigFieldClass {
38
38
  * @memberof ChangelogConfigFieldClass
39
39
  */
40
40
  'order': number;
41
+ /**
42
+ * Entity type this field belongs to
43
+ * @type {string}
44
+ * @memberof ChangelogConfigFieldClass
45
+ */
46
+ 'entity': string;
41
47
  }
42
48
 
@@ -39,6 +39,12 @@ export interface ChangelogConfigurationClass {
39
39
  * @memberof ChangelogConfigurationClass
40
40
  */
41
41
  'entityType': string;
42
+ /**
43
+ * URL-friendly slug identifier for this configuration
44
+ * @type {string}
45
+ * @memberof ChangelogConfigurationClass
46
+ */
47
+ 'slug': string;
42
48
  /**
43
49
  * Configuration sections with field definitions
44
50
  * @type {Array<ChangelogConfigSectionClass>}
@@ -27,6 +27,12 @@ export interface CreateChangelogConfigurationDto {
27
27
  * @memberof CreateChangelogConfigurationDto
28
28
  */
29
29
  'entityType': string;
30
+ /**
31
+ * URL-friendly slug for this configuration
32
+ * @type {string}
33
+ * @memberof CreateChangelogConfigurationDto
34
+ */
35
+ 'slug': string;
30
36
  /**
31
37
  * Configuration sections with field definitions
32
38
  * @type {Array<ChangelogConfigSectionClass>}