@kommerz/ts-client 1.148.1 → 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.
- package/dist/apis/DataTableRowsApi.d.ts +81 -0
- package/dist/apis/DataTableRowsApi.js +344 -0
- package/dist/apis/DataTablesApi.d.ts +87 -0
- package/dist/apis/DataTablesApi.js +373 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/ColumnType.d.ts +28 -0
- package/dist/models/ColumnType.js +54 -0
- package/dist/models/DataTableColumnDefinition.d.ts +51 -0
- package/dist/models/DataTableColumnDefinition.js +60 -0
- package/dist/models/DataTableColumnType.d.ts +28 -0
- package/dist/models/DataTableColumnType.js +54 -0
- package/dist/models/DataTableDto.d.ts +63 -0
- package/dist/models/DataTableDto.js +64 -0
- package/dist/models/DataTableExportFormat.d.ts +24 -0
- package/dist/models/DataTableExportFormat.js +50 -0
- package/dist/models/DataTableKeyType.d.ts +24 -0
- package/dist/models/DataTableKeyType.js +50 -0
- package/dist/models/DataTableRowDto.d.ts +51 -0
- package/dist/models/DataTableRowDto.js +56 -0
- package/dist/models/DataTableRowDtoChange.d.ts +47 -0
- package/dist/models/DataTableRowDtoChange.js +64 -0
- package/dist/models/EntityType.d.ts +2 -0
- package/dist/models/EntityType.js +3 -1
- package/dist/models/ListDataTableRows200Response.d.ts +50 -0
- package/dist/models/ListDataTableRows200Response.js +63 -0
- package/dist/models/ListDataTables200Response.d.ts +50 -0
- package/dist/models/ListDataTables200Response.js +63 -0
- package/dist/models/Permissions.d.ts +8 -0
- package/dist/models/Permissions.js +9 -1
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,373 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
15
|
+
var extendStatics = function (d, b) {
|
|
16
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
19
|
+
return extendStatics(d, b);
|
|
20
|
+
};
|
|
21
|
+
return function (d, b) {
|
|
22
|
+
if (typeof b !== "function" && b !== null)
|
|
23
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24
|
+
extendStatics(d, b);
|
|
25
|
+
function __() { this.constructor = d; }
|
|
26
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27
|
+
};
|
|
28
|
+
})();
|
|
29
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
32
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
33
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
34
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
35
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
39
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
40
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
41
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
42
|
+
function step(op) {
|
|
43
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
44
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
45
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
46
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
47
|
+
switch (op[0]) {
|
|
48
|
+
case 0: case 1: t = op; break;
|
|
49
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
50
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
51
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
52
|
+
default:
|
|
53
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
54
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
55
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
56
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
57
|
+
if (t[2]) _.ops.pop();
|
|
58
|
+
_.trys.pop(); continue;
|
|
59
|
+
}
|
|
60
|
+
op = body.call(thisArg, _);
|
|
61
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
62
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
|
+
exports.DataTablesApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
var index_1 = require("../models/index");
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var DataTablesApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(DataTablesApi, _super);
|
|
74
|
+
function DataTablesApi() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* create a data table
|
|
79
|
+
*/
|
|
80
|
+
DataTablesApi.prototype.createDataTableRaw = function (requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
switch (_a.label) {
|
|
85
|
+
case 0:
|
|
86
|
+
if (requestParameters['dataTableDto'] == null) {
|
|
87
|
+
throw new runtime.RequiredError('dataTableDto', 'Required parameter "dataTableDto" was null or undefined when calling createDataTable().');
|
|
88
|
+
}
|
|
89
|
+
queryParameters = {};
|
|
90
|
+
headerParameters = {};
|
|
91
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
92
|
+
urlPath = "/ui/data-tables/v1";
|
|
93
|
+
return [4 /*yield*/, this.request({
|
|
94
|
+
path: urlPath,
|
|
95
|
+
method: 'POST',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
body: (0, index_1.DataTableDtoToJSON)(requestParameters['dataTableDto']),
|
|
99
|
+
}, initOverrides)];
|
|
100
|
+
case 1:
|
|
101
|
+
response = _a.sent();
|
|
102
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DataTableDtoFromJSON)(jsonValue); })];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* create a data table
|
|
109
|
+
*/
|
|
110
|
+
DataTablesApi.prototype.createDataTable = function (requestParameters, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
112
|
+
var response;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0: return [4 /*yield*/, this.createDataTableRaw(requestParameters, initOverrides)];
|
|
116
|
+
case 1:
|
|
117
|
+
response = _a.sent();
|
|
118
|
+
return [4 /*yield*/, response.value()];
|
|
119
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* delete a data table
|
|
126
|
+
*/
|
|
127
|
+
DataTablesApi.prototype.deleteDataTableRaw = function (requestParameters, initOverrides) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
129
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
130
|
+
return __generator(this, function (_a) {
|
|
131
|
+
switch (_a.label) {
|
|
132
|
+
case 0:
|
|
133
|
+
if (requestParameters['id'] == null) {
|
|
134
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteDataTable().');
|
|
135
|
+
}
|
|
136
|
+
queryParameters = {};
|
|
137
|
+
headerParameters = {};
|
|
138
|
+
urlPath = "/ui/data-tables/v1/{id}";
|
|
139
|
+
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
140
|
+
return [4 /*yield*/, this.request({
|
|
141
|
+
path: urlPath,
|
|
142
|
+
method: 'DELETE',
|
|
143
|
+
headers: headerParameters,
|
|
144
|
+
query: queryParameters,
|
|
145
|
+
}, initOverrides)];
|
|
146
|
+
case 1:
|
|
147
|
+
response = _a.sent();
|
|
148
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* delete a data table
|
|
155
|
+
*/
|
|
156
|
+
DataTablesApi.prototype.deleteDataTable = function (requestParameters, initOverrides) {
|
|
157
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
158
|
+
return __generator(this, function (_a) {
|
|
159
|
+
switch (_a.label) {
|
|
160
|
+
case 0: return [4 /*yield*/, this.deleteDataTableRaw(requestParameters, initOverrides)];
|
|
161
|
+
case 1:
|
|
162
|
+
_a.sent();
|
|
163
|
+
return [2 /*return*/];
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* export data table (CSV or Excel)
|
|
170
|
+
*/
|
|
171
|
+
DataTablesApi.prototype.exportDataTableRaw = function (requestParameters, initOverrides) {
|
|
172
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
173
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
174
|
+
return __generator(this, function (_a) {
|
|
175
|
+
switch (_a.label) {
|
|
176
|
+
case 0:
|
|
177
|
+
if (requestParameters['id'] == null) {
|
|
178
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling exportDataTable().');
|
|
179
|
+
}
|
|
180
|
+
if (requestParameters['format'] == null) {
|
|
181
|
+
throw new runtime.RequiredError('format', 'Required parameter "format" was null or undefined when calling exportDataTable().');
|
|
182
|
+
}
|
|
183
|
+
queryParameters = {};
|
|
184
|
+
if (requestParameters['format'] != null) {
|
|
185
|
+
queryParameters['format'] = requestParameters['format'];
|
|
186
|
+
}
|
|
187
|
+
headerParameters = {};
|
|
188
|
+
urlPath = "/ui/data-tables/v1/{id}/export";
|
|
189
|
+
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
190
|
+
return [4 /*yield*/, this.request({
|
|
191
|
+
path: urlPath,
|
|
192
|
+
method: 'GET',
|
|
193
|
+
headers: headerParameters,
|
|
194
|
+
query: queryParameters,
|
|
195
|
+
}, initOverrides)];
|
|
196
|
+
case 1:
|
|
197
|
+
response = _a.sent();
|
|
198
|
+
return [2 /*return*/, new runtime.BlobApiResponse(response)];
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
});
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* export data table (CSV or Excel)
|
|
205
|
+
*/
|
|
206
|
+
DataTablesApi.prototype.exportDataTable = function (requestParameters, initOverrides) {
|
|
207
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
208
|
+
var response;
|
|
209
|
+
return __generator(this, function (_a) {
|
|
210
|
+
switch (_a.label) {
|
|
211
|
+
case 0: return [4 /*yield*/, this.exportDataTableRaw(requestParameters, initOverrides)];
|
|
212
|
+
case 1:
|
|
213
|
+
response = _a.sent();
|
|
214
|
+
return [4 /*yield*/, response.value()];
|
|
215
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* get a data table by id
|
|
222
|
+
*/
|
|
223
|
+
DataTablesApi.prototype.getDataTableRaw = function (requestParameters, initOverrides) {
|
|
224
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
225
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
226
|
+
return __generator(this, function (_a) {
|
|
227
|
+
switch (_a.label) {
|
|
228
|
+
case 0:
|
|
229
|
+
if (requestParameters['id'] == null) {
|
|
230
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getDataTable().');
|
|
231
|
+
}
|
|
232
|
+
queryParameters = {};
|
|
233
|
+
headerParameters = {};
|
|
234
|
+
urlPath = "/ui/data-tables/v1/{id}";
|
|
235
|
+
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
236
|
+
return [4 /*yield*/, this.request({
|
|
237
|
+
path: urlPath,
|
|
238
|
+
method: 'GET',
|
|
239
|
+
headers: headerParameters,
|
|
240
|
+
query: queryParameters,
|
|
241
|
+
}, initOverrides)];
|
|
242
|
+
case 1:
|
|
243
|
+
response = _a.sent();
|
|
244
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DataTableDtoFromJSON)(jsonValue); })];
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* get a data table by id
|
|
251
|
+
*/
|
|
252
|
+
DataTablesApi.prototype.getDataTable = function (requestParameters, initOverrides) {
|
|
253
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
254
|
+
var response;
|
|
255
|
+
return __generator(this, function (_a) {
|
|
256
|
+
switch (_a.label) {
|
|
257
|
+
case 0: return [4 /*yield*/, this.getDataTableRaw(requestParameters, initOverrides)];
|
|
258
|
+
case 1:
|
|
259
|
+
response = _a.sent();
|
|
260
|
+
return [4 /*yield*/, response.value()];
|
|
261
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* list data tables
|
|
268
|
+
*/
|
|
269
|
+
DataTablesApi.prototype.listDataTablesRaw = function (requestParameters, initOverrides) {
|
|
270
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
271
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
272
|
+
return __generator(this, function (_a) {
|
|
273
|
+
switch (_a.label) {
|
|
274
|
+
case 0:
|
|
275
|
+
if (requestParameters['pageable'] == null) {
|
|
276
|
+
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling listDataTables().');
|
|
277
|
+
}
|
|
278
|
+
queryParameters = {};
|
|
279
|
+
if (requestParameters['pageable'] != null) {
|
|
280
|
+
queryParameters['pageable'] = requestParameters['pageable'];
|
|
281
|
+
}
|
|
282
|
+
if (requestParameters['filter'] != null) {
|
|
283
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
284
|
+
}
|
|
285
|
+
headerParameters = {};
|
|
286
|
+
urlPath = "/ui/data-tables/v1";
|
|
287
|
+
return [4 /*yield*/, this.request({
|
|
288
|
+
path: urlPath,
|
|
289
|
+
method: 'GET',
|
|
290
|
+
headers: headerParameters,
|
|
291
|
+
query: queryParameters,
|
|
292
|
+
}, initOverrides)];
|
|
293
|
+
case 1:
|
|
294
|
+
response = _a.sent();
|
|
295
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ListDataTables200ResponseFromJSON)(jsonValue); })];
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
* list data tables
|
|
302
|
+
*/
|
|
303
|
+
DataTablesApi.prototype.listDataTables = function (requestParameters, initOverrides) {
|
|
304
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
305
|
+
var response;
|
|
306
|
+
return __generator(this, function (_a) {
|
|
307
|
+
switch (_a.label) {
|
|
308
|
+
case 0: return [4 /*yield*/, this.listDataTablesRaw(requestParameters, initOverrides)];
|
|
309
|
+
case 1:
|
|
310
|
+
response = _a.sent();
|
|
311
|
+
return [4 /*yield*/, response.value()];
|
|
312
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
});
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* update a data table
|
|
319
|
+
*/
|
|
320
|
+
DataTablesApi.prototype.updateDataTableRaw = function (requestParameters, initOverrides) {
|
|
321
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
322
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
323
|
+
return __generator(this, function (_a) {
|
|
324
|
+
switch (_a.label) {
|
|
325
|
+
case 0:
|
|
326
|
+
if (requestParameters['id'] == null) {
|
|
327
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateDataTable().');
|
|
328
|
+
}
|
|
329
|
+
if (requestParameters['dataTableDto'] == null) {
|
|
330
|
+
throw new runtime.RequiredError('dataTableDto', 'Required parameter "dataTableDto" was null or undefined when calling updateDataTable().');
|
|
331
|
+
}
|
|
332
|
+
queryParameters = {};
|
|
333
|
+
if (requestParameters['force'] != null) {
|
|
334
|
+
queryParameters['force'] = requestParameters['force'];
|
|
335
|
+
}
|
|
336
|
+
headerParameters = {};
|
|
337
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
338
|
+
urlPath = "/ui/data-tables/v1/{id}";
|
|
339
|
+
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
340
|
+
return [4 /*yield*/, this.request({
|
|
341
|
+
path: urlPath,
|
|
342
|
+
method: 'PUT',
|
|
343
|
+
headers: headerParameters,
|
|
344
|
+
query: queryParameters,
|
|
345
|
+
body: (0, index_1.DataTableDtoToJSON)(requestParameters['dataTableDto']),
|
|
346
|
+
}, initOverrides)];
|
|
347
|
+
case 1:
|
|
348
|
+
response = _a.sent();
|
|
349
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DataTableDtoFromJSON)(jsonValue); })];
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* update a data table
|
|
356
|
+
*/
|
|
357
|
+
DataTablesApi.prototype.updateDataTable = function (requestParameters, initOverrides) {
|
|
358
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
359
|
+
var response;
|
|
360
|
+
return __generator(this, function (_a) {
|
|
361
|
+
switch (_a.label) {
|
|
362
|
+
case 0: return [4 /*yield*/, this.updateDataTableRaw(requestParameters, initOverrides)];
|
|
363
|
+
case 1:
|
|
364
|
+
response = _a.sent();
|
|
365
|
+
return [4 /*yield*/, response.value()];
|
|
366
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
});
|
|
370
|
+
};
|
|
371
|
+
return DataTablesApi;
|
|
372
|
+
}(runtime.BaseAPI));
|
|
373
|
+
exports.DataTablesApi = DataTablesApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export * from './ContractTypesApi';
|
|
|
26
26
|
export * from './ContractsApi';
|
|
27
27
|
export * from './CustomersApi';
|
|
28
28
|
export * from './CustomersBankdetailsApi';
|
|
29
|
+
export * from './DataTableRowsApi';
|
|
30
|
+
export * from './DataTablesApi';
|
|
29
31
|
export * from './DeliveryNotesApi';
|
|
30
32
|
export * from './DesignTemplatesApi';
|
|
31
33
|
export * from './DocumentTemplatesApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -44,6 +44,8 @@ __exportStar(require("./ContractTypesApi"), exports);
|
|
|
44
44
|
__exportStar(require("./ContractsApi"), exports);
|
|
45
45
|
__exportStar(require("./CustomersApi"), exports);
|
|
46
46
|
__exportStar(require("./CustomersBankdetailsApi"), exports);
|
|
47
|
+
__exportStar(require("./DataTableRowsApi"), exports);
|
|
48
|
+
__exportStar(require("./DataTablesApi"), exports);
|
|
47
49
|
__exportStar(require("./DeliveryNotesApi"), exports);
|
|
48
50
|
__exportStar(require("./DesignTemplatesApi"), exports);
|
|
49
51
|
__exportStar(require("./DocumentTemplatesApi"), exports);
|
|
@@ -0,0 +1,28 @@
|
|
|
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 ColumnType: {
|
|
16
|
+
readonly String: "STRING";
|
|
17
|
+
readonly Number: "NUMBER";
|
|
18
|
+
readonly Boolean: "BOOLEAN";
|
|
19
|
+
readonly LocalDate: "LOCAL_DATE";
|
|
20
|
+
readonly LocalDateTime: "LOCAL_DATE_TIME";
|
|
21
|
+
readonly Reference: "REFERENCE";
|
|
22
|
+
};
|
|
23
|
+
export type ColumnType = typeof ColumnType[keyof typeof ColumnType];
|
|
24
|
+
export declare function instanceOfColumnType(value: any): boolean;
|
|
25
|
+
export declare function ColumnTypeFromJSON(json: any): ColumnType;
|
|
26
|
+
export declare function ColumnTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ColumnType;
|
|
27
|
+
export declare function ColumnTypeToJSON(value?: ColumnType | null): any;
|
|
28
|
+
export declare function ColumnTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ColumnType;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.ColumnType = void 0;
|
|
16
|
+
exports.instanceOfColumnType = instanceOfColumnType;
|
|
17
|
+
exports.ColumnTypeFromJSON = ColumnTypeFromJSON;
|
|
18
|
+
exports.ColumnTypeFromJSONTyped = ColumnTypeFromJSONTyped;
|
|
19
|
+
exports.ColumnTypeToJSON = ColumnTypeToJSON;
|
|
20
|
+
exports.ColumnTypeToJSONTyped = ColumnTypeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ColumnType = {
|
|
26
|
+
String: 'STRING',
|
|
27
|
+
Number: 'NUMBER',
|
|
28
|
+
Boolean: 'BOOLEAN',
|
|
29
|
+
LocalDate: 'LOCAL_DATE',
|
|
30
|
+
LocalDateTime: 'LOCAL_DATE_TIME',
|
|
31
|
+
Reference: 'REFERENCE'
|
|
32
|
+
};
|
|
33
|
+
function instanceOfColumnType(value) {
|
|
34
|
+
for (var key in exports.ColumnType) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.ColumnType, key)) {
|
|
36
|
+
if (exports.ColumnType[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
function ColumnTypeFromJSON(json) {
|
|
44
|
+
return ColumnTypeFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ColumnTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
function ColumnTypeToJSON(value) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
function ColumnTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
@@ -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
|
+
import type { EntityType } from './EntityType';
|
|
12
|
+
import type { DataTableColumnType } from './DataTableColumnType';
|
|
13
|
+
/**
|
|
14
|
+
* Defines a column in the Data Table
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DataTableColumnDefinition
|
|
17
|
+
*/
|
|
18
|
+
export interface DataTableColumnDefinition {
|
|
19
|
+
/**
|
|
20
|
+
* Auto-generated unique column id (read-only)
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof DataTableColumnDefinition
|
|
23
|
+
*/
|
|
24
|
+
id?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Unique column name within the table
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof DataTableColumnDefinition
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {DataTableColumnType}
|
|
34
|
+
* @memberof DataTableColumnDefinition
|
|
35
|
+
*/
|
|
36
|
+
type: DataTableColumnType;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {EntityType}
|
|
40
|
+
* @memberof DataTableColumnDefinition
|
|
41
|
+
*/
|
|
42
|
+
referenceType?: EntityType;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the DataTableColumnDefinition interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfDataTableColumnDefinition(value: object): value is DataTableColumnDefinition;
|
|
48
|
+
export declare function DataTableColumnDefinitionFromJSON(json: any): DataTableColumnDefinition;
|
|
49
|
+
export declare function DataTableColumnDefinitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataTableColumnDefinition;
|
|
50
|
+
export declare function DataTableColumnDefinitionToJSON(json: any): DataTableColumnDefinition;
|
|
51
|
+
export declare function DataTableColumnDefinitionToJSONTyped(value?: DataTableColumnDefinition | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfDataTableColumnDefinition = instanceOfDataTableColumnDefinition;
|
|
16
|
+
exports.DataTableColumnDefinitionFromJSON = DataTableColumnDefinitionFromJSON;
|
|
17
|
+
exports.DataTableColumnDefinitionFromJSONTyped = DataTableColumnDefinitionFromJSONTyped;
|
|
18
|
+
exports.DataTableColumnDefinitionToJSON = DataTableColumnDefinitionToJSON;
|
|
19
|
+
exports.DataTableColumnDefinitionToJSONTyped = DataTableColumnDefinitionToJSONTyped;
|
|
20
|
+
var EntityType_1 = require("./EntityType");
|
|
21
|
+
var DataTableColumnType_1 = require("./DataTableColumnType");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DataTableColumnDefinition interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDataTableColumnDefinition(value) {
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function DataTableColumnDefinitionFromJSON(json) {
|
|
33
|
+
return DataTableColumnDefinitionFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function DataTableColumnDefinitionFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'type': (0, DataTableColumnType_1.DataTableColumnTypeFromJSON)(json['type']),
|
|
43
|
+
'referenceType': json['referenceType'] == null ? undefined : (0, EntityType_1.EntityTypeFromJSON)(json['referenceType']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function DataTableColumnDefinitionToJSON(json) {
|
|
47
|
+
return DataTableColumnDefinitionToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function DataTableColumnDefinitionToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'type': (0, DataTableColumnType_1.DataTableColumnTypeToJSON)(value['type']),
|
|
58
|
+
'referenceType': (0, EntityType_1.EntityTypeToJSON)(value['referenceType']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 DataTableColumnType: {
|
|
16
|
+
readonly String: "STRING";
|
|
17
|
+
readonly Number: "NUMBER";
|
|
18
|
+
readonly Boolean: "BOOLEAN";
|
|
19
|
+
readonly LocalDate: "LOCAL_DATE";
|
|
20
|
+
readonly LocalDateTime: "LOCAL_DATE_TIME";
|
|
21
|
+
readonly Reference: "REFERENCE";
|
|
22
|
+
};
|
|
23
|
+
export type DataTableColumnType = typeof DataTableColumnType[keyof typeof DataTableColumnType];
|
|
24
|
+
export declare function instanceOfDataTableColumnType(value: any): boolean;
|
|
25
|
+
export declare function DataTableColumnTypeFromJSON(json: any): DataTableColumnType;
|
|
26
|
+
export declare function DataTableColumnTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataTableColumnType;
|
|
27
|
+
export declare function DataTableColumnTypeToJSON(value?: DataTableColumnType | null): any;
|
|
28
|
+
export declare function DataTableColumnTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): DataTableColumnType;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.DataTableColumnType = void 0;
|
|
16
|
+
exports.instanceOfDataTableColumnType = instanceOfDataTableColumnType;
|
|
17
|
+
exports.DataTableColumnTypeFromJSON = DataTableColumnTypeFromJSON;
|
|
18
|
+
exports.DataTableColumnTypeFromJSONTyped = DataTableColumnTypeFromJSONTyped;
|
|
19
|
+
exports.DataTableColumnTypeToJSON = DataTableColumnTypeToJSON;
|
|
20
|
+
exports.DataTableColumnTypeToJSONTyped = DataTableColumnTypeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.DataTableColumnType = {
|
|
26
|
+
String: 'STRING',
|
|
27
|
+
Number: 'NUMBER',
|
|
28
|
+
Boolean: 'BOOLEAN',
|
|
29
|
+
LocalDate: 'LOCAL_DATE',
|
|
30
|
+
LocalDateTime: 'LOCAL_DATE_TIME',
|
|
31
|
+
Reference: 'REFERENCE'
|
|
32
|
+
};
|
|
33
|
+
function instanceOfDataTableColumnType(value) {
|
|
34
|
+
for (var key in exports.DataTableColumnType) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.DataTableColumnType, key)) {
|
|
36
|
+
if (exports.DataTableColumnType[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
function DataTableColumnTypeFromJSON(json) {
|
|
44
|
+
return DataTableColumnTypeFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DataTableColumnTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
function DataTableColumnTypeToJSON(value) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
function DataTableColumnTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|