@kommerz/ts-client 1.138.5 → 1.140.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/AcceptanceDocumentsApi.d.ts +64 -0
- package/dist/apis/AcceptanceDocumentsApi.js +267 -0
- package/dist/apis/AcceptancePortalDocumentsApi.d.ts +64 -0
- package/dist/apis/AcceptancePortalDocumentsApi.js +266 -0
- package/dist/apis/OffersApi.d.ts +13 -1
- package/dist/apis/OffersApi.js +49 -0
- package/dist/apis/TagRelationsApi.d.ts +63 -0
- package/dist/apis/TagRelationsApi.js +264 -0
- package/dist/apis/TagsApi.d.ts +86 -0
- package/dist/apis/TagsApi.js +357 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.js +0 -1
- package/dist/models/AcceptDto.d.ts +54 -0
- package/dist/models/AcceptDto.js +58 -0
- package/dist/models/AcceptanceDocumentDto.d.ts +115 -0
- package/dist/models/AcceptanceDocumentDto.js +90 -0
- package/dist/models/AcceptanceDocumentLogEntry.d.ts +43 -0
- package/dist/models/AcceptanceDocumentLogEntry.js +56 -0
- package/dist/models/AcceptanceDocumentLogEntryData.d.ts +43 -0
- package/dist/models/AcceptanceDocumentLogEntryData.js +57 -0
- package/dist/models/AcceptanceDocumentSenderInfo.d.ts +36 -0
- package/dist/models/AcceptanceDocumentSenderInfo.js +52 -0
- package/dist/models/AcceptancePortalAcceptDto.d.ts +54 -0
- package/dist/models/AcceptancePortalAcceptDto.js +58 -0
- package/dist/models/AcceptancePortalShareConfigDto.d.ts +72 -0
- package/dist/models/AcceptancePortalShareConfigDto.js +63 -0
- package/dist/models/CreateTagRelationsDto.d.ts +48 -0
- package/dist/models/CreateTagRelationsDto.js +57 -0
- package/dist/models/DesignTemplateContextVersion.d.ts +21 -0
- package/dist/models/DesignTemplateContextVersion.js +34 -0
- package/dist/models/DesignTemplateDto.d.ts +7 -0
- package/dist/models/DesignTemplateDto.js +3 -0
- package/dist/models/DesignTemplateType.d.ts +1 -0
- package/dist/models/DesignTemplateType.js +1 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +2 -1
- package/dist/models/GetAllAcceptanceDocuments200Response.d.ts +49 -0
- package/dist/models/GetAllAcceptanceDocuments200Response.js +59 -0
- package/dist/models/GetAllTags200Response.d.ts +49 -0
- package/dist/models/GetAllTags200Response.js +59 -0
- package/dist/models/LogDto.d.ts +36 -0
- package/dist/models/LogDto.js +52 -0
- package/dist/models/OfferRendererDto.d.ts +82 -0
- package/dist/models/OfferRendererDto.js +69 -0
- package/dist/models/SenderInfoDto.d.ts +36 -0
- package/dist/models/SenderInfoDto.js +52 -0
- package/dist/models/ShareConfigDto.d.ts +72 -0
- package/dist/models/ShareConfigDto.js +63 -0
- package/dist/models/TagDto.d.ts +48 -0
- package/dist/models/TagDto.js +57 -0
- package/dist/models/TagRelationDto.d.ts +42 -0
- package/dist/models/TagRelationDto.js +55 -0
- package/dist/models/UsageMetricType.d.ts +31 -0
- package/dist/models/UsageMetricType.js +44 -0
- package/dist/models/UsageMonitorDto.d.ts +3 -18
- package/dist/models/UsageMonitorDto.js +4 -18
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,357 @@
|
|
|
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;
|
|
40
|
+
return g = { next: verb(0), "throw": verb(1), "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.TagsApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
var index_1 = require("../models/index");
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var TagsApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(TagsApi, _super);
|
|
74
|
+
function TagsApi() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Create new a new tag
|
|
79
|
+
*/
|
|
80
|
+
TagsApi.prototype.createTagRaw = function (requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, response;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
switch (_a.label) {
|
|
85
|
+
case 0:
|
|
86
|
+
if (requestParameters.tagDto === null || requestParameters.tagDto === undefined) {
|
|
87
|
+
throw new runtime.RequiredError('tagDto', 'Required parameter requestParameters.tagDto was null or undefined when calling createTag.');
|
|
88
|
+
}
|
|
89
|
+
queryParameters = {};
|
|
90
|
+
headerParameters = {};
|
|
91
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
92
|
+
return [4 /*yield*/, this.request({
|
|
93
|
+
path: "/ui/tags/v1/tags",
|
|
94
|
+
method: 'POST',
|
|
95
|
+
headers: headerParameters,
|
|
96
|
+
query: queryParameters,
|
|
97
|
+
body: (0, index_1.TagDtoToJSON)(requestParameters.tagDto),
|
|
98
|
+
}, initOverrides)];
|
|
99
|
+
case 1:
|
|
100
|
+
response = _a.sent();
|
|
101
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TagDtoFromJSON)(jsonValue); })];
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Create new a new tag
|
|
108
|
+
*/
|
|
109
|
+
TagsApi.prototype.createTag = function (requestParameters, initOverrides) {
|
|
110
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
111
|
+
var response;
|
|
112
|
+
return __generator(this, function (_a) {
|
|
113
|
+
switch (_a.label) {
|
|
114
|
+
case 0: return [4 /*yield*/, this.createTagRaw(requestParameters, initOverrides)];
|
|
115
|
+
case 1:
|
|
116
|
+
response = _a.sent();
|
|
117
|
+
return [4 /*yield*/, response.value()];
|
|
118
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* delete single tag
|
|
125
|
+
*/
|
|
126
|
+
TagsApi.prototype.deleteTagRaw = function (requestParameters, initOverrides) {
|
|
127
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
128
|
+
var queryParameters, headerParameters, response;
|
|
129
|
+
return __generator(this, function (_a) {
|
|
130
|
+
switch (_a.label) {
|
|
131
|
+
case 0:
|
|
132
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
133
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deleteTag.');
|
|
134
|
+
}
|
|
135
|
+
queryParameters = {};
|
|
136
|
+
headerParameters = {};
|
|
137
|
+
return [4 /*yield*/, this.request({
|
|
138
|
+
path: "/ui/tags/v1/tags/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
139
|
+
method: 'DELETE',
|
|
140
|
+
headers: headerParameters,
|
|
141
|
+
query: queryParameters,
|
|
142
|
+
}, initOverrides)];
|
|
143
|
+
case 1:
|
|
144
|
+
response = _a.sent();
|
|
145
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* delete single tag
|
|
152
|
+
*/
|
|
153
|
+
TagsApi.prototype.deleteTag = function (requestParameters, initOverrides) {
|
|
154
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
155
|
+
return __generator(this, function (_a) {
|
|
156
|
+
switch (_a.label) {
|
|
157
|
+
case 0: return [4 /*yield*/, this.deleteTagRaw(requestParameters, initOverrides)];
|
|
158
|
+
case 1:
|
|
159
|
+
_a.sent();
|
|
160
|
+
return [2 /*return*/];
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* get all entities of a tag
|
|
167
|
+
*/
|
|
168
|
+
TagsApi.prototype.getAllEntitiesForTagRaw = function (requestParameters, initOverrides) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
170
|
+
var queryParameters, headerParameters, response;
|
|
171
|
+
return __generator(this, function (_a) {
|
|
172
|
+
switch (_a.label) {
|
|
173
|
+
case 0:
|
|
174
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
175
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling getAllEntitiesForTag.');
|
|
176
|
+
}
|
|
177
|
+
queryParameters = {};
|
|
178
|
+
headerParameters = {};
|
|
179
|
+
return [4 /*yield*/, this.request({
|
|
180
|
+
path: "/ui/tags/v1/tags/{id}/entities".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
181
|
+
method: 'GET',
|
|
182
|
+
headers: headerParameters,
|
|
183
|
+
query: queryParameters,
|
|
184
|
+
}, initOverrides)];
|
|
185
|
+
case 1:
|
|
186
|
+
response = _a.sent();
|
|
187
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.TagRelationDtoFromJSON); })];
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* get all entities of a tag
|
|
194
|
+
*/
|
|
195
|
+
TagsApi.prototype.getAllEntitiesForTag = function (requestParameters, initOverrides) {
|
|
196
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
197
|
+
var response;
|
|
198
|
+
return __generator(this, function (_a) {
|
|
199
|
+
switch (_a.label) {
|
|
200
|
+
case 0: return [4 /*yield*/, this.getAllEntitiesForTagRaw(requestParameters, initOverrides)];
|
|
201
|
+
case 1:
|
|
202
|
+
response = _a.sent();
|
|
203
|
+
return [4 /*yield*/, response.value()];
|
|
204
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* get all tags
|
|
211
|
+
*/
|
|
212
|
+
TagsApi.prototype.getAllTagsRaw = function (requestParameters, initOverrides) {
|
|
213
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
214
|
+
var queryParameters, headerParameters, response;
|
|
215
|
+
return __generator(this, function (_a) {
|
|
216
|
+
switch (_a.label) {
|
|
217
|
+
case 0:
|
|
218
|
+
if (requestParameters.pageable === null || requestParameters.pageable === undefined) {
|
|
219
|
+
throw new runtime.RequiredError('pageable', 'Required parameter requestParameters.pageable was null or undefined when calling getAllTags.');
|
|
220
|
+
}
|
|
221
|
+
queryParameters = {};
|
|
222
|
+
if (requestParameters.pageable !== undefined) {
|
|
223
|
+
queryParameters['pageable'] = requestParameters.pageable;
|
|
224
|
+
}
|
|
225
|
+
if (requestParameters.filter) {
|
|
226
|
+
queryParameters['filter'] = requestParameters.filter;
|
|
227
|
+
}
|
|
228
|
+
headerParameters = {};
|
|
229
|
+
return [4 /*yield*/, this.request({
|
|
230
|
+
path: "/ui/tags/v1/tags",
|
|
231
|
+
method: 'GET',
|
|
232
|
+
headers: headerParameters,
|
|
233
|
+
query: queryParameters,
|
|
234
|
+
}, initOverrides)];
|
|
235
|
+
case 1:
|
|
236
|
+
response = _a.sent();
|
|
237
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetAllTags200ResponseFromJSON)(jsonValue); })];
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* get all tags
|
|
244
|
+
*/
|
|
245
|
+
TagsApi.prototype.getAllTags = function (requestParameters, initOverrides) {
|
|
246
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
247
|
+
var response;
|
|
248
|
+
return __generator(this, function (_a) {
|
|
249
|
+
switch (_a.label) {
|
|
250
|
+
case 0: return [4 /*yield*/, this.getAllTagsRaw(requestParameters, initOverrides)];
|
|
251
|
+
case 1:
|
|
252
|
+
response = _a.sent();
|
|
253
|
+
return [4 /*yield*/, response.value()];
|
|
254
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
});
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* read one tag
|
|
261
|
+
*/
|
|
262
|
+
TagsApi.prototype.getTagRaw = function (requestParameters, initOverrides) {
|
|
263
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
264
|
+
var queryParameters, headerParameters, response;
|
|
265
|
+
return __generator(this, function (_a) {
|
|
266
|
+
switch (_a.label) {
|
|
267
|
+
case 0:
|
|
268
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
269
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling getTag.');
|
|
270
|
+
}
|
|
271
|
+
queryParameters = {};
|
|
272
|
+
headerParameters = {};
|
|
273
|
+
return [4 /*yield*/, this.request({
|
|
274
|
+
path: "/ui/tags/v1/tags/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
275
|
+
method: 'GET',
|
|
276
|
+
headers: headerParameters,
|
|
277
|
+
query: queryParameters,
|
|
278
|
+
}, initOverrides)];
|
|
279
|
+
case 1:
|
|
280
|
+
response = _a.sent();
|
|
281
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TagDtoFromJSON)(jsonValue); })];
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
});
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* read one tag
|
|
288
|
+
*/
|
|
289
|
+
TagsApi.prototype.getTag = function (requestParameters, initOverrides) {
|
|
290
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
291
|
+
var response;
|
|
292
|
+
return __generator(this, function (_a) {
|
|
293
|
+
switch (_a.label) {
|
|
294
|
+
case 0: return [4 /*yield*/, this.getTagRaw(requestParameters, initOverrides)];
|
|
295
|
+
case 1:
|
|
296
|
+
response = _a.sent();
|
|
297
|
+
return [4 /*yield*/, response.value()];
|
|
298
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
299
|
+
}
|
|
300
|
+
});
|
|
301
|
+
});
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* Update a tag
|
|
305
|
+
*/
|
|
306
|
+
TagsApi.prototype.updateTagRaw = function (requestParameters, initOverrides) {
|
|
307
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
308
|
+
var queryParameters, headerParameters, response;
|
|
309
|
+
return __generator(this, function (_a) {
|
|
310
|
+
switch (_a.label) {
|
|
311
|
+
case 0:
|
|
312
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
313
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling updateTag.');
|
|
314
|
+
}
|
|
315
|
+
if (requestParameters.tagDto === null || requestParameters.tagDto === undefined) {
|
|
316
|
+
throw new runtime.RequiredError('tagDto', 'Required parameter requestParameters.tagDto was null or undefined when calling updateTag.');
|
|
317
|
+
}
|
|
318
|
+
queryParameters = {};
|
|
319
|
+
if (requestParameters.force !== undefined) {
|
|
320
|
+
queryParameters['force'] = requestParameters.force;
|
|
321
|
+
}
|
|
322
|
+
headerParameters = {};
|
|
323
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
324
|
+
return [4 /*yield*/, this.request({
|
|
325
|
+
path: "/ui/tags/v1/tags/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
326
|
+
method: 'PUT',
|
|
327
|
+
headers: headerParameters,
|
|
328
|
+
query: queryParameters,
|
|
329
|
+
body: (0, index_1.TagDtoToJSON)(requestParameters.tagDto),
|
|
330
|
+
}, initOverrides)];
|
|
331
|
+
case 1:
|
|
332
|
+
response = _a.sent();
|
|
333
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.TagDtoFromJSON)(jsonValue); })];
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
});
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Update a tag
|
|
340
|
+
*/
|
|
341
|
+
TagsApi.prototype.updateTag = function (requestParameters, initOverrides) {
|
|
342
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
343
|
+
var response;
|
|
344
|
+
return __generator(this, function (_a) {
|
|
345
|
+
switch (_a.label) {
|
|
346
|
+
case 0: return [4 /*yield*/, this.updateTagRaw(requestParameters, initOverrides)];
|
|
347
|
+
case 1:
|
|
348
|
+
response = _a.sent();
|
|
349
|
+
return [4 /*yield*/, response.value()];
|
|
350
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
});
|
|
354
|
+
};
|
|
355
|
+
return TagsApi;
|
|
356
|
+
}(runtime.BaseAPI));
|
|
357
|
+
exports.TagsApi = TagsApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './AbsenceEntriesApi';
|
|
2
2
|
export * from './AbsenceTypesApi';
|
|
3
|
+
export * from './AcceptanceDocumentsApi';
|
|
4
|
+
export * from './AcceptancePortalDocumentsApi';
|
|
3
5
|
export * from './AccessTokensApi';
|
|
4
6
|
export * from './AccountingCentersApi';
|
|
5
7
|
export * from './AccountingLedgersApi';
|
|
@@ -60,6 +62,8 @@ export * from './ServiceDeskMessageApi';
|
|
|
60
62
|
export * from './StatisticsApi';
|
|
61
63
|
export * from './SystemsFeaturesApi';
|
|
62
64
|
export * from './SystemsTimesApi';
|
|
65
|
+
export * from './TagRelationsApi';
|
|
66
|
+
export * from './TagsApi';
|
|
63
67
|
export * from './TenantsApi';
|
|
64
68
|
export * from './TenantsValidationApi';
|
|
65
69
|
export * from './TestApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -18,6 +18,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AbsenceEntriesApi"), exports);
|
|
20
20
|
__exportStar(require("./AbsenceTypesApi"), exports);
|
|
21
|
+
__exportStar(require("./AcceptanceDocumentsApi"), exports);
|
|
22
|
+
__exportStar(require("./AcceptancePortalDocumentsApi"), exports);
|
|
21
23
|
__exportStar(require("./AccessTokensApi"), exports);
|
|
22
24
|
__exportStar(require("./AccountingCentersApi"), exports);
|
|
23
25
|
__exportStar(require("./AccountingLedgersApi"), exports);
|
|
@@ -78,6 +80,8 @@ __exportStar(require("./ServiceDeskMessageApi"), exports);
|
|
|
78
80
|
__exportStar(require("./StatisticsApi"), exports);
|
|
79
81
|
__exportStar(require("./SystemsFeaturesApi"), exports);
|
|
80
82
|
__exportStar(require("./SystemsTimesApi"), exports);
|
|
83
|
+
__exportStar(require("./TagRelationsApi"), exports);
|
|
84
|
+
__exportStar(require("./TagsApi"), exports);
|
|
81
85
|
__exportStar(require("./TenantsApi"), exports);
|
|
82
86
|
__exportStar(require("./TenantsValidationApi"), exports);
|
|
83
87
|
__exportStar(require("./TestApi"), exports);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from "./src/index";
|
|
1
|
+
export * from './runtime';
|
|
2
|
+
export * from './apis/index';
|
|
3
|
+
export * from './models/index';
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1,54 @@
|
|
|
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 AcceptDto
|
|
15
|
+
*/
|
|
16
|
+
export interface AcceptDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {boolean}
|
|
20
|
+
* @memberof AcceptDto
|
|
21
|
+
*/
|
|
22
|
+
accepted: boolean;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AcceptDto
|
|
27
|
+
*/
|
|
28
|
+
signatureName?: string;
|
|
29
|
+
/**
|
|
30
|
+
* signature location
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AcceptDto
|
|
33
|
+
*/
|
|
34
|
+
signatureLocation?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof AcceptDto
|
|
39
|
+
*/
|
|
40
|
+
signatureDate?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* signature as SVG
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof AcceptDto
|
|
45
|
+
*/
|
|
46
|
+
signature?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the AcceptDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfAcceptDto(value: object): boolean;
|
|
52
|
+
export declare function AcceptDtoFromJSON(json: any): AcceptDto;
|
|
53
|
+
export declare function AcceptDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptDto;
|
|
54
|
+
export declare function AcceptDtoToJSON(value?: AcceptDto | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.AcceptDtoToJSON = exports.AcceptDtoFromJSONTyped = exports.AcceptDtoFromJSON = exports.instanceOfAcceptDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the AcceptDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfAcceptDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "accepted" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfAcceptDto = instanceOfAcceptDto;
|
|
26
|
+
function AcceptDtoFromJSON(json) {
|
|
27
|
+
return AcceptDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.AcceptDtoFromJSON = AcceptDtoFromJSON;
|
|
30
|
+
function AcceptDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'accepted': json['accepted'],
|
|
36
|
+
'signatureName': !(0, runtime_1.exists)(json, 'signatureName') ? undefined : json['signatureName'],
|
|
37
|
+
'signatureLocation': !(0, runtime_1.exists)(json, 'signatureLocation') ? undefined : json['signatureLocation'],
|
|
38
|
+
'signatureDate': !(0, runtime_1.exists)(json, 'signatureDate') ? undefined : (new Date(json['signatureDate'])),
|
|
39
|
+
'signature': !(0, runtime_1.exists)(json, 'signature') ? undefined : json['signature'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.AcceptDtoFromJSONTyped = AcceptDtoFromJSONTyped;
|
|
43
|
+
function AcceptDtoToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'accepted': value.accepted,
|
|
52
|
+
'signatureName': value.signatureName,
|
|
53
|
+
'signatureLocation': value.signatureLocation,
|
|
54
|
+
'signatureDate': value.signatureDate === undefined ? undefined : (value.signatureDate.toISOString().substring(0, 10)),
|
|
55
|
+
'signature': value.signature,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.AcceptDtoToJSON = AcceptDtoToJSON;
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { AcceptanceDocumentLogEntry } from './AcceptanceDocumentLogEntry';
|
|
12
|
+
import type { AcceptanceDocumentSenderInfo } from './AcceptanceDocumentSenderInfo';
|
|
13
|
+
import type { EntityType } from './EntityType';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AcceptanceDocumentDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AcceptanceDocumentDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AcceptanceDocumentDto
|
|
24
|
+
*/
|
|
25
|
+
id?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof AcceptanceDocumentDto
|
|
30
|
+
*/
|
|
31
|
+
version?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AcceptanceDocumentDto
|
|
36
|
+
*/
|
|
37
|
+
reference?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {AcceptanceDocumentSenderInfo}
|
|
41
|
+
* @memberof AcceptanceDocumentDto
|
|
42
|
+
*/
|
|
43
|
+
senderInfo?: AcceptanceDocumentSenderInfo;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof AcceptanceDocumentDto
|
|
48
|
+
*/
|
|
49
|
+
dueDate?: Date;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof AcceptanceDocumentDto
|
|
54
|
+
*/
|
|
55
|
+
acceptedDate?: Date;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof AcceptanceDocumentDto
|
|
60
|
+
*/
|
|
61
|
+
secretId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* document as json
|
|
64
|
+
* @type {object}
|
|
65
|
+
* @memberof AcceptanceDocumentDto
|
|
66
|
+
*/
|
|
67
|
+
document: object;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof AcceptanceDocumentDto
|
|
72
|
+
*/
|
|
73
|
+
entityId: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {EntityType}
|
|
77
|
+
* @memberof AcceptanceDocumentDto
|
|
78
|
+
*/
|
|
79
|
+
entityType: EntityType;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<AcceptanceDocumentLogEntry>}
|
|
83
|
+
* @memberof AcceptanceDocumentDto
|
|
84
|
+
*/
|
|
85
|
+
log: Array<AcceptanceDocumentLogEntry>;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {Array<string>}
|
|
89
|
+
* @memberof AcceptanceDocumentDto
|
|
90
|
+
*/
|
|
91
|
+
attachmentIds?: Array<string>;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof AcceptanceDocumentDto
|
|
96
|
+
*/
|
|
97
|
+
status: AcceptanceDocumentDtoStatusEnum;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @export
|
|
101
|
+
*/
|
|
102
|
+
export declare const AcceptanceDocumentDtoStatusEnum: {
|
|
103
|
+
readonly Accepted: "ACCEPTED";
|
|
104
|
+
readonly Declined: "DECLINED";
|
|
105
|
+
readonly Open: "OPEN";
|
|
106
|
+
readonly Expired: "EXPIRED";
|
|
107
|
+
};
|
|
108
|
+
export type AcceptanceDocumentDtoStatusEnum = typeof AcceptanceDocumentDtoStatusEnum[keyof typeof AcceptanceDocumentDtoStatusEnum];
|
|
109
|
+
/**
|
|
110
|
+
* Check if a given object implements the AcceptanceDocumentDto interface.
|
|
111
|
+
*/
|
|
112
|
+
export declare function instanceOfAcceptanceDocumentDto(value: object): boolean;
|
|
113
|
+
export declare function AcceptanceDocumentDtoFromJSON(json: any): AcceptanceDocumentDto;
|
|
114
|
+
export declare function AcceptanceDocumentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptanceDocumentDto;
|
|
115
|
+
export declare function AcceptanceDocumentDtoToJSON(value?: AcceptanceDocumentDto | null): any;
|