@kommerz/ts-client 1.148.0 → 1.149.0

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/dist/apis/DataTableRowsApi.d.ts +81 -0
  2. package/dist/apis/DataTableRowsApi.js +344 -0
  3. package/dist/apis/DataTablesApi.d.ts +87 -0
  4. package/dist/apis/DataTablesApi.js +373 -0
  5. package/dist/apis/index.d.ts +2 -0
  6. package/dist/apis/index.js +2 -0
  7. package/dist/models/ColumnType.d.ts +28 -0
  8. package/dist/models/ColumnType.js +54 -0
  9. package/dist/models/DataTableColumnDefinition.d.ts +51 -0
  10. package/dist/models/DataTableColumnDefinition.js +60 -0
  11. package/dist/models/DataTableColumnType.d.ts +28 -0
  12. package/dist/models/DataTableColumnType.js +54 -0
  13. package/dist/models/DataTableDto.d.ts +63 -0
  14. package/dist/models/DataTableDto.js +64 -0
  15. package/dist/models/DataTableExportFormat.d.ts +24 -0
  16. package/dist/models/DataTableExportFormat.js +50 -0
  17. package/dist/models/DataTableKeyType.d.ts +24 -0
  18. package/dist/models/DataTableKeyType.js +50 -0
  19. package/dist/models/DataTableRowDto.d.ts +51 -0
  20. package/dist/models/DataTableRowDto.js +56 -0
  21. package/dist/models/DataTableRowDtoChange.d.ts +47 -0
  22. package/dist/models/DataTableRowDtoChange.js +64 -0
  23. package/dist/models/EntityType.d.ts +2 -0
  24. package/dist/models/EntityType.js +3 -1
  25. package/dist/models/ListDataTableRows200Response.d.ts +50 -0
  26. package/dist/models/ListDataTableRows200Response.js +63 -0
  27. package/dist/models/ListDataTables200Response.d.ts +50 -0
  28. package/dist/models/ListDataTables200Response.js +63 -0
  29. package/dist/models/Permissions.d.ts +8 -0
  30. package/dist/models/Permissions.js +9 -1
  31. package/dist/models/index.d.ts +9 -0
  32. package/dist/models/index.js +9 -0
  33. package/package.json +1 -1
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import type { DataTableRowDtoChange } from './DataTableRowDtoChange';
12
+ import type { DataTableColumnDefinition } from './DataTableColumnDefinition';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DataTableDto
17
+ */
18
+ export interface DataTableDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof DataTableDto
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof DataTableDto
29
+ */
30
+ version?: number;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof DataTableDto
35
+ */
36
+ name: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof DataTableDto
41
+ */
42
+ description?: string;
43
+ /**
44
+ * On create or update this field can be used to add, update or delete rows. On read, this field is empty.
45
+ * @type {Array<DataTableRowDtoChange>}
46
+ * @memberof DataTableDto
47
+ */
48
+ rows?: Array<DataTableRowDtoChange>;
49
+ /**
50
+ *
51
+ * @type {Array<DataTableColumnDefinition>}
52
+ * @memberof DataTableDto
53
+ */
54
+ columns: Array<DataTableColumnDefinition>;
55
+ }
56
+ /**
57
+ * Check if a given object implements the DataTableDto interface.
58
+ */
59
+ export declare function instanceOfDataTableDto(value: object): value is DataTableDto;
60
+ export declare function DataTableDtoFromJSON(json: any): DataTableDto;
61
+ export declare function DataTableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataTableDto;
62
+ export declare function DataTableDtoToJSON(json: any): DataTableDto;
63
+ export declare function DataTableDtoToJSONTyped(value?: DataTableDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.instanceOfDataTableDto = instanceOfDataTableDto;
16
+ exports.DataTableDtoFromJSON = DataTableDtoFromJSON;
17
+ exports.DataTableDtoFromJSONTyped = DataTableDtoFromJSONTyped;
18
+ exports.DataTableDtoToJSON = DataTableDtoToJSON;
19
+ exports.DataTableDtoToJSONTyped = DataTableDtoToJSONTyped;
20
+ var DataTableRowDtoChange_1 = require("./DataTableRowDtoChange");
21
+ var DataTableColumnDefinition_1 = require("./DataTableColumnDefinition");
22
+ /**
23
+ * Check if a given object implements the DataTableDto interface.
24
+ */
25
+ function instanceOfDataTableDto(value) {
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ if (!('columns' in value) || value['columns'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function DataTableDtoFromJSON(json) {
33
+ return DataTableDtoFromJSONTyped(json, false);
34
+ }
35
+ function DataTableDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'] == null ? undefined : json['id'],
41
+ 'version': json['version'] == null ? undefined : json['version'],
42
+ 'name': json['name'],
43
+ 'description': json['description'] == null ? undefined : json['description'],
44
+ 'rows': json['rows'] == null ? undefined : (json['rows'].map(DataTableRowDtoChange_1.DataTableRowDtoChangeFromJSON)),
45
+ 'columns': (json['columns'].map(DataTableColumnDefinition_1.DataTableColumnDefinitionFromJSON)),
46
+ };
47
+ }
48
+ function DataTableDtoToJSON(json) {
49
+ return DataTableDtoToJSONTyped(json, false);
50
+ }
51
+ function DataTableDtoToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'id': value['id'],
58
+ 'version': value['version'],
59
+ 'name': value['name'],
60
+ 'description': value['description'],
61
+ 'rows': value['rows'] == null ? undefined : (value['rows'].map(DataTableRowDtoChange_1.DataTableRowDtoChangeToJSON)),
62
+ 'columns': (value['columns'].map(DataTableColumnDefinition_1.DataTableColumnDefinitionToJSON)),
63
+ };
64
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ /**
12
+ *
13
+ * @export
14
+ */
15
+ export declare const DataTableExportFormat: {
16
+ readonly Csv: "CSV";
17
+ readonly Xlsx: "XLSX";
18
+ };
19
+ export type DataTableExportFormat = typeof DataTableExportFormat[keyof typeof DataTableExportFormat];
20
+ export declare function instanceOfDataTableExportFormat(value: any): boolean;
21
+ export declare function DataTableExportFormatFromJSON(json: any): DataTableExportFormat;
22
+ export declare function DataTableExportFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataTableExportFormat;
23
+ export declare function DataTableExportFormatToJSON(value?: DataTableExportFormat | null): any;
24
+ export declare function DataTableExportFormatToJSONTyped(value: any, ignoreDiscriminator: boolean): DataTableExportFormat;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.DataTableExportFormat = void 0;
16
+ exports.instanceOfDataTableExportFormat = instanceOfDataTableExportFormat;
17
+ exports.DataTableExportFormatFromJSON = DataTableExportFormatFromJSON;
18
+ exports.DataTableExportFormatFromJSONTyped = DataTableExportFormatFromJSONTyped;
19
+ exports.DataTableExportFormatToJSON = DataTableExportFormatToJSON;
20
+ exports.DataTableExportFormatToJSONTyped = DataTableExportFormatToJSONTyped;
21
+ /**
22
+ *
23
+ * @export
24
+ */
25
+ exports.DataTableExportFormat = {
26
+ Csv: 'CSV',
27
+ Xlsx: 'XLSX'
28
+ };
29
+ function instanceOfDataTableExportFormat(value) {
30
+ for (var key in exports.DataTableExportFormat) {
31
+ if (Object.prototype.hasOwnProperty.call(exports.DataTableExportFormat, key)) {
32
+ if (exports.DataTableExportFormat[key] === value) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ return false;
38
+ }
39
+ function DataTableExportFormatFromJSON(json) {
40
+ return DataTableExportFormatFromJSONTyped(json, false);
41
+ }
42
+ function DataTableExportFormatFromJSONTyped(json, ignoreDiscriminator) {
43
+ return json;
44
+ }
45
+ function DataTableExportFormatToJSON(value) {
46
+ return value;
47
+ }
48
+ function DataTableExportFormatToJSONTyped(value, ignoreDiscriminator) {
49
+ return value;
50
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ /**
12
+ *
13
+ * @export
14
+ */
15
+ export declare const DataTableKeyType: {
16
+ readonly ColumnId: "column-id";
17
+ readonly ColumnIndex: "column-index";
18
+ };
19
+ export type DataTableKeyType = typeof DataTableKeyType[keyof typeof DataTableKeyType];
20
+ export declare function instanceOfDataTableKeyType(value: any): boolean;
21
+ export declare function DataTableKeyTypeFromJSON(json: any): DataTableKeyType;
22
+ export declare function DataTableKeyTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataTableKeyType;
23
+ export declare function DataTableKeyTypeToJSON(value?: DataTableKeyType | null): any;
24
+ export declare function DataTableKeyTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): DataTableKeyType;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.DataTableKeyType = void 0;
16
+ exports.instanceOfDataTableKeyType = instanceOfDataTableKeyType;
17
+ exports.DataTableKeyTypeFromJSON = DataTableKeyTypeFromJSON;
18
+ exports.DataTableKeyTypeFromJSONTyped = DataTableKeyTypeFromJSONTyped;
19
+ exports.DataTableKeyTypeToJSON = DataTableKeyTypeToJSON;
20
+ exports.DataTableKeyTypeToJSONTyped = DataTableKeyTypeToJSONTyped;
21
+ /**
22
+ *
23
+ * @export
24
+ */
25
+ exports.DataTableKeyType = {
26
+ ColumnId: 'column-id',
27
+ ColumnIndex: 'column-index'
28
+ };
29
+ function instanceOfDataTableKeyType(value) {
30
+ for (var key in exports.DataTableKeyType) {
31
+ if (Object.prototype.hasOwnProperty.call(exports.DataTableKeyType, key)) {
32
+ if (exports.DataTableKeyType[key] === value) {
33
+ return true;
34
+ }
35
+ }
36
+ }
37
+ return false;
38
+ }
39
+ function DataTableKeyTypeFromJSON(json) {
40
+ return DataTableKeyTypeFromJSONTyped(json, false);
41
+ }
42
+ function DataTableKeyTypeFromJSONTyped(json, ignoreDiscriminator) {
43
+ return json;
44
+ }
45
+ function DataTableKeyTypeToJSON(value) {
46
+ return value;
47
+ }
48
+ function DataTableKeyTypeToJSONTyped(value, ignoreDiscriminator) {
49
+ return value;
50
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ /**
12
+ *
13
+ * @export
14
+ * @interface DataTableRowDto
15
+ */
16
+ export interface DataTableRowDto {
17
+ /**
18
+ *
19
+ * @type {string}
20
+ * @memberof DataTableRowDto
21
+ */
22
+ id?: string;
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof DataTableRowDto
27
+ */
28
+ version?: number;
29
+ /**
30
+ * Record with cell values for each column. The keys reference the column.
31
+ * @type {{ [key: string]: any; }}
32
+ * @memberof DataTableRowDto
33
+ */
34
+ data: {
35
+ [key: string]: any;
36
+ };
37
+ /**
38
+ * position of row (if left empty, row will be added at the end)
39
+ * @type {number}
40
+ * @memberof DataTableRowDto
41
+ */
42
+ order?: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the DataTableRowDto interface.
46
+ */
47
+ export declare function instanceOfDataTableRowDto(value: object): value is DataTableRowDto;
48
+ export declare function DataTableRowDtoFromJSON(json: any): DataTableRowDto;
49
+ export declare function DataTableRowDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataTableRowDto;
50
+ export declare function DataTableRowDtoToJSON(json: any): DataTableRowDto;
51
+ export declare function DataTableRowDtoToJSONTyped(value?: DataTableRowDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.instanceOfDataTableRowDto = instanceOfDataTableRowDto;
16
+ exports.DataTableRowDtoFromJSON = DataTableRowDtoFromJSON;
17
+ exports.DataTableRowDtoFromJSONTyped = DataTableRowDtoFromJSONTyped;
18
+ exports.DataTableRowDtoToJSON = DataTableRowDtoToJSON;
19
+ exports.DataTableRowDtoToJSONTyped = DataTableRowDtoToJSONTyped;
20
+ /**
21
+ * Check if a given object implements the DataTableRowDto interface.
22
+ */
23
+ function instanceOfDataTableRowDto(value) {
24
+ if (!('data' in value) || value['data'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ function DataTableRowDtoFromJSON(json) {
29
+ return DataTableRowDtoFromJSONTyped(json, false);
30
+ }
31
+ function DataTableRowDtoFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'id': json['id'] == null ? undefined : json['id'],
37
+ 'version': json['version'] == null ? undefined : json['version'],
38
+ 'data': json['data'],
39
+ 'order': json['order'] == null ? undefined : json['order'],
40
+ };
41
+ }
42
+ function DataTableRowDtoToJSON(json) {
43
+ return DataTableRowDtoToJSONTyped(json, false);
44
+ }
45
+ function DataTableRowDtoToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'version': value['version'],
53
+ 'data': value['data'],
54
+ 'order': value['order'],
55
+ };
56
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import type { DataTableRowDto } from './DataTableRowDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DataTableRowDtoChange
16
+ */
17
+ export interface DataTableRowDtoChange {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DataTableRowDtoChange
22
+ */
23
+ type: DataTableRowDtoChangeTypeEnum;
24
+ /**
25
+ *
26
+ * @type {DataTableRowDto}
27
+ * @memberof DataTableRowDtoChange
28
+ */
29
+ row: DataTableRowDto;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const DataTableRowDtoChangeTypeEnum: {
35
+ readonly Insert: "INSERT";
36
+ readonly Update: "UPDATE";
37
+ readonly Delete: "DELETE";
38
+ };
39
+ export type DataTableRowDtoChangeTypeEnum = typeof DataTableRowDtoChangeTypeEnum[keyof typeof DataTableRowDtoChangeTypeEnum];
40
+ /**
41
+ * Check if a given object implements the DataTableRowDtoChange interface.
42
+ */
43
+ export declare function instanceOfDataTableRowDtoChange(value: object): value is DataTableRowDtoChange;
44
+ export declare function DataTableRowDtoChangeFromJSON(json: any): DataTableRowDtoChange;
45
+ export declare function DataTableRowDtoChangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataTableRowDtoChange;
46
+ export declare function DataTableRowDtoChangeToJSON(json: any): DataTableRowDtoChange;
47
+ export declare function DataTableRowDtoChangeToJSONTyped(value?: DataTableRowDtoChange | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.DataTableRowDtoChangeTypeEnum = void 0;
16
+ exports.instanceOfDataTableRowDtoChange = instanceOfDataTableRowDtoChange;
17
+ exports.DataTableRowDtoChangeFromJSON = DataTableRowDtoChangeFromJSON;
18
+ exports.DataTableRowDtoChangeFromJSONTyped = DataTableRowDtoChangeFromJSONTyped;
19
+ exports.DataTableRowDtoChangeToJSON = DataTableRowDtoChangeToJSON;
20
+ exports.DataTableRowDtoChangeToJSONTyped = DataTableRowDtoChangeToJSONTyped;
21
+ var DataTableRowDto_1 = require("./DataTableRowDto");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.DataTableRowDtoChangeTypeEnum = {
26
+ Insert: 'INSERT',
27
+ Update: 'UPDATE',
28
+ Delete: 'DELETE'
29
+ };
30
+ /**
31
+ * Check if a given object implements the DataTableRowDtoChange interface.
32
+ */
33
+ function instanceOfDataTableRowDtoChange(value) {
34
+ if (!('type' in value) || value['type'] === undefined)
35
+ return false;
36
+ if (!('row' in value) || value['row'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ function DataTableRowDtoChangeFromJSON(json) {
41
+ return DataTableRowDtoChangeFromJSONTyped(json, false);
42
+ }
43
+ function DataTableRowDtoChangeFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'type': json['type'],
49
+ 'row': (0, DataTableRowDto_1.DataTableRowDtoFromJSON)(json['row']),
50
+ };
51
+ }
52
+ function DataTableRowDtoChangeToJSON(json) {
53
+ return DataTableRowDtoChangeToJSONTyped(json, false);
54
+ }
55
+ function DataTableRowDtoChangeToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'type': value['type'],
62
+ 'row': (0, DataTableRowDto_1.DataTableRowDtoToJSON)(value['row']),
63
+ };
64
+ }
@@ -77,6 +77,8 @@ export declare const EntityType: {
77
77
  readonly Tag: "Tag";
78
78
  readonly TagRelation: "TagRelation";
79
79
  readonly Writing: "Writing";
80
+ readonly DataTable: "DataTable";
81
+ readonly DataTableRow: "DataTableRow";
80
82
  };
81
83
  export type EntityType = typeof EntityType[keyof typeof EntityType];
82
84
  export declare function instanceOfEntityType(value: any): boolean;
@@ -86,7 +86,9 @@ exports.EntityType = {
86
86
  WorkflowProcessLog: 'WorkflowProcessLog',
87
87
  Tag: 'Tag',
88
88
  TagRelation: 'TagRelation',
89
- Writing: 'Writing'
89
+ Writing: 'Writing',
90
+ DataTable: 'DataTable',
91
+ DataTableRow: 'DataTableRow'
90
92
  };
91
93
  function instanceOfEntityType(value) {
92
94
  for (var key in exports.EntityType) {
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import type { DataTableRowDto } from './DataTableRowDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ListDataTableRows200Response
16
+ */
17
+ export interface ListDataTableRows200Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ListDataTableRows200Response
22
+ */
23
+ pageNumber: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ListDataTableRows200Response
28
+ */
29
+ pageSize: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ListDataTableRows200Response
34
+ */
35
+ totalElements: number;
36
+ /**
37
+ *
38
+ * @type {Array<DataTableRowDto>}
39
+ * @memberof ListDataTableRows200Response
40
+ */
41
+ content: Array<DataTableRowDto>;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ListDataTableRows200Response interface.
45
+ */
46
+ export declare function instanceOfListDataTableRows200Response(value: object): value is ListDataTableRows200Response;
47
+ export declare function ListDataTableRows200ResponseFromJSON(json: any): ListDataTableRows200Response;
48
+ export declare function ListDataTableRows200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDataTableRows200Response;
49
+ export declare function ListDataTableRows200ResponseToJSON(json: any): ListDataTableRows200Response;
50
+ export declare function ListDataTableRows200ResponseToJSONTyped(value?: ListDataTableRows200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Kommerz API Specification
6
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
7
+ *
8
+ * Contact: info@kommerz.app
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.instanceOfListDataTableRows200Response = instanceOfListDataTableRows200Response;
16
+ exports.ListDataTableRows200ResponseFromJSON = ListDataTableRows200ResponseFromJSON;
17
+ exports.ListDataTableRows200ResponseFromJSONTyped = ListDataTableRows200ResponseFromJSONTyped;
18
+ exports.ListDataTableRows200ResponseToJSON = ListDataTableRows200ResponseToJSON;
19
+ exports.ListDataTableRows200ResponseToJSONTyped = ListDataTableRows200ResponseToJSONTyped;
20
+ var DataTableRowDto_1 = require("./DataTableRowDto");
21
+ /**
22
+ * Check if a given object implements the ListDataTableRows200Response interface.
23
+ */
24
+ function instanceOfListDataTableRows200Response(value) {
25
+ if (!('pageNumber' in value) || value['pageNumber'] === undefined)
26
+ return false;
27
+ if (!('pageSize' in value) || value['pageSize'] === undefined)
28
+ return false;
29
+ if (!('totalElements' in value) || value['totalElements'] === undefined)
30
+ return false;
31
+ if (!('content' in value) || value['content'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function ListDataTableRows200ResponseFromJSON(json) {
36
+ return ListDataTableRows200ResponseFromJSONTyped(json, false);
37
+ }
38
+ function ListDataTableRows200ResponseFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'pageNumber': json['pageNumber'],
44
+ 'pageSize': json['pageSize'],
45
+ 'totalElements': json['totalElements'],
46
+ 'content': (json['content'].map(DataTableRowDto_1.DataTableRowDtoFromJSON)),
47
+ };
48
+ }
49
+ function ListDataTableRows200ResponseToJSON(json) {
50
+ return ListDataTableRows200ResponseToJSONTyped(json, false);
51
+ }
52
+ function ListDataTableRows200ResponseToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'pageNumber': value['pageNumber'],
59
+ 'pageSize': value['pageSize'],
60
+ 'totalElements': value['totalElements'],
61
+ 'content': (value['content'].map(DataTableRowDto_1.DataTableRowDtoToJSON)),
62
+ };
63
+ }