@kommerz/ts-client 1.196.0 → 1.197.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 (83) hide show
  1. package/dist/apis/AppointmentPortalApi.d.ts +20 -8
  2. package/dist/apis/AppointmentPortalApi.js +14 -8
  3. package/dist/apis/AppointmentsApi.d.ts +41 -2
  4. package/dist/apis/AppointmentsApi.js +127 -0
  5. package/dist/apis/CustomersApi.d.ts +0 -4
  6. package/dist/apis/CustomersApi.js +0 -3
  7. package/dist/apis/MapsApi.d.ts +43 -0
  8. package/dist/apis/MapsApi.js +127 -0
  9. package/dist/apis/TenantPortalUploadsApi.d.ts +166 -0
  10. package/dist/apis/TenantPortalUploadsApi.js +418 -0
  11. package/dist/apis/UsersMeApi.d.ts +6 -6
  12. package/dist/apis/UsersMeApi.js +6 -6
  13. package/dist/apis/UsersMeBookmarksApi.d.ts +99 -0
  14. package/dist/apis/UsersMeBookmarksApi.js +324 -0
  15. package/dist/apis/index.d.ts +2 -0
  16. package/dist/apis/index.js +2 -0
  17. package/dist/models/AccountCalendarEntryDto.d.ts +2 -2
  18. package/dist/models/AddressDto.d.ts +4 -0
  19. package/dist/models/AddressDto.js +2 -0
  20. package/dist/models/AppointmentBlockerDto.d.ts +8 -0
  21. package/dist/models/AppointmentBlockerDto.js +4 -0
  22. package/dist/models/AppointmentBookingConfigDto.d.ts +29 -0
  23. package/dist/models/AppointmentBookingConfigDto.js +19 -0
  24. package/dist/models/AppointmentDto.d.ts +13 -1
  25. package/dist/models/AppointmentDto.js +5 -0
  26. package/dist/models/AppointmentEmailTemplatesDto.d.ts +4 -0
  27. package/dist/models/AppointmentEmailTemplatesDto.js +2 -0
  28. package/dist/models/AppointmentProductDto.d.ts +1 -1
  29. package/dist/models/AppointmentSlotDistance.d.ts +2 -2
  30. package/dist/models/AppointmentSlotDistance.js +2 -2
  31. package/dist/models/AppointmentSlotDto.d.ts +2 -2
  32. package/dist/models/AppointmentSubmissionDto.d.ts +4 -0
  33. package/dist/models/AppointmentSubmissionDto.js +2 -0
  34. package/dist/models/AttendedCalendarEntryDto.d.ts +10 -2
  35. package/dist/models/AttendedCalendarEntryDto.js +4 -0
  36. package/dist/models/BookmarkDto.d.ts +50 -0
  37. package/dist/models/BookmarkDto.js +60 -0
  38. package/dist/models/DavAddressBookDto.d.ts +29 -0
  39. package/dist/models/DavAddressBookDto.js +50 -0
  40. package/dist/models/DavCalendarDto.d.ts +1 -1
  41. package/dist/models/DavResourceDto.d.ts +45 -0
  42. package/dist/models/DavResourceDto.js +64 -0
  43. package/dist/models/DavResourceWriteDto.d.ts +29 -0
  44. package/dist/models/DavResourceWriteDto.js +50 -0
  45. package/dist/models/EntityType.d.ts +2 -0
  46. package/dist/models/EntityType.js +2 -0
  47. package/dist/models/FormsPortalFileUploadDto.d.ts +37 -0
  48. package/dist/models/FormsPortalFileUploadDto.js +54 -0
  49. package/dist/models/FormsPortalSpecDto.d.ts +5 -0
  50. package/dist/models/FormsPortalSpecDto.js +5 -0
  51. package/dist/models/FormsPortalSubmitDto.d.ts +4 -0
  52. package/dist/models/FormsPortalSubmitDto.js +2 -0
  53. package/dist/models/GeoLocationDto.d.ts +42 -0
  54. package/dist/models/GeoLocationDto.js +55 -0
  55. package/dist/models/GetMyBookmarks200Response.d.ts +42 -0
  56. package/dist/models/GetMyBookmarks200Response.js +59 -0
  57. package/dist/models/KanbanBoardDto.d.ts +12 -0
  58. package/dist/models/KanbanBoardDto.js +6 -0
  59. package/dist/models/LocationGeocodeQueryDto.d.ts +29 -0
  60. package/dist/models/LocationGeocodeQueryDto.js +50 -0
  61. package/dist/models/Permissions.d.ts +1 -0
  62. package/dist/models/Permissions.js +1 -0
  63. package/dist/models/PublicTenantPageDto.d.ts +4 -0
  64. package/dist/models/PublicTenantPageDto.js +4 -0
  65. package/dist/models/RoutePlanningAppointmentResultDto.d.ts +47 -0
  66. package/dist/models/RoutePlanningAppointmentResultDto.js +62 -0
  67. package/dist/models/RoutePlanningOutcome.d.ts +35 -0
  68. package/dist/models/RoutePlanningOutcome.js +61 -0
  69. package/dist/models/RoutePlanningResultDto.d.ts +38 -0
  70. package/dist/models/RoutePlanningResultDto.js +57 -0
  71. package/dist/models/RoutingConfigDto.d.ts +66 -10
  72. package/dist/models/RoutingConfigDto.js +41 -9
  73. package/dist/models/TenantConfigurationDto.d.ts +4 -0
  74. package/dist/models/TenantConfigurationDto.js +2 -0
  75. package/dist/models/UiConfigurationDto.d.ts +9 -0
  76. package/dist/models/UiConfigurationDto.js +5 -0
  77. package/dist/models/UiModuleCategory.d.ts +29 -0
  78. package/dist/models/UiModuleCategory.js +55 -0
  79. package/dist/models/UserDto.d.ts +5 -1
  80. package/dist/models/UserDto.js +1 -0
  81. package/dist/models/index.d.ts +12 -2
  82. package/dist/models/index.js +12 -2
  83. package/package.json +1 -1
@@ -0,0 +1,99 @@
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 * as runtime from '../runtime';
12
+ import { type BookmarkDto } from '../models/BookmarkDto';
13
+ import { type GetMyBookmarks200Response } from '../models/GetMyBookmarks200Response';
14
+ import { type KommerzPageable } from '../models/KommerzPageable';
15
+ export interface CreateMyBookmarkRequest {
16
+ /**
17
+ *
18
+ */
19
+ bookmarkDto: Omit<BookmarkDto, 'id' | 'creationTime' | 'tenantHandle' | 'tenantName'>;
20
+ }
21
+ export interface DeleteMyBookmarkRequest {
22
+ /**
23
+ * id of entity
24
+ */
25
+ id: string;
26
+ }
27
+ export interface GetMyBookmarkRequest {
28
+ /**
29
+ * id of entity
30
+ */
31
+ id: string;
32
+ }
33
+ export interface GetMyBookmarksRequest {
34
+ /**
35
+ * Pageable query parameters
36
+ */
37
+ pageable: KommerzPageable;
38
+ /**
39
+ * Filter query parameters. Operators: sim, nsim, eq, neq, leq, less, geq, gtr). Values have to be url-encoded.
40
+ */
41
+ filter?: Array<string>;
42
+ }
43
+ /**
44
+ *
45
+ */
46
+ export declare class UsersMeBookmarksApi extends runtime.BaseAPI {
47
+ /**
48
+ * Creates request options for createMyBookmark without sending the request
49
+ */
50
+ createMyBookmarkRequestOpts(requestParameters: CreateMyBookmarkRequest): Promise<runtime.RequestOpts>;
51
+ /**
52
+ * Only tenants can be bookmarked so far. An item is bookmarked at most once per user.
53
+ * bookmark an item for the logged-in user
54
+ */
55
+ createMyBookmarkRaw(requestParameters: CreateMyBookmarkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BookmarkDto>>;
56
+ /**
57
+ * Only tenants can be bookmarked so far. An item is bookmarked at most once per user.
58
+ * bookmark an item for the logged-in user
59
+ */
60
+ createMyBookmark(requestParameters: CreateMyBookmarkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BookmarkDto>;
61
+ /**
62
+ * Creates request options for deleteMyBookmark without sending the request
63
+ */
64
+ deleteMyBookmarkRequestOpts(requestParameters: DeleteMyBookmarkRequest): Promise<runtime.RequestOpts>;
65
+ /**
66
+ * remove a bookmark of the logged-in user
67
+ */
68
+ deleteMyBookmarkRaw(requestParameters: DeleteMyBookmarkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
69
+ /**
70
+ * remove a bookmark of the logged-in user
71
+ */
72
+ deleteMyBookmark(requestParameters: DeleteMyBookmarkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
73
+ /**
74
+ * Creates request options for getMyBookmark without sending the request
75
+ */
76
+ getMyBookmarkRequestOpts(requestParameters: GetMyBookmarkRequest): Promise<runtime.RequestOpts>;
77
+ /**
78
+ * read one bookmark of the logged-in user
79
+ */
80
+ getMyBookmarkRaw(requestParameters: GetMyBookmarkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BookmarkDto>>;
81
+ /**
82
+ * read one bookmark of the logged-in user
83
+ */
84
+ getMyBookmark(requestParameters: GetMyBookmarkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BookmarkDto>;
85
+ /**
86
+ * Creates request options for getMyBookmarks without sending the request
87
+ */
88
+ getMyBookmarksRequestOpts(requestParameters: GetMyBookmarksRequest): Promise<runtime.RequestOpts>;
89
+ /**
90
+ * Filterable and sortable fields: entityType, entityId, creationTime. Sorted by creationTime unless a sort is given.
91
+ * list the bookmarks of the logged-in user
92
+ */
93
+ getMyBookmarksRaw(requestParameters: GetMyBookmarksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetMyBookmarks200Response>>;
94
+ /**
95
+ * Filterable and sortable fields: entityType, entityId, creationTime. Sorted by creationTime unless a sort is given.
96
+ * list the bookmarks of the logged-in user
97
+ */
98
+ getMyBookmarks(requestParameters: GetMyBookmarksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetMyBookmarks200Response>;
99
+ }
@@ -0,0 +1,324 @@
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.UsersMeBookmarksApi = void 0;
67
+ var runtime = require("../runtime");
68
+ var BookmarkDto_1 = require("../models/BookmarkDto");
69
+ var GetMyBookmarks200Response_1 = require("../models/GetMyBookmarks200Response");
70
+ /**
71
+ *
72
+ */
73
+ var UsersMeBookmarksApi = /** @class */ (function (_super) {
74
+ __extends(UsersMeBookmarksApi, _super);
75
+ function UsersMeBookmarksApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ * Creates request options for createMyBookmark without sending the request
80
+ */
81
+ UsersMeBookmarksApi.prototype.createMyBookmarkRequestOpts = function (requestParameters) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, urlPath;
84
+ return __generator(this, function (_a) {
85
+ if (requestParameters['bookmarkDto'] == null) {
86
+ throw new runtime.RequiredError('bookmarkDto', 'Required parameter "bookmarkDto" was null or undefined when calling createMyBookmark().');
87
+ }
88
+ queryParameters = {};
89
+ headerParameters = {};
90
+ headerParameters['Content-Type'] = 'application/json';
91
+ urlPath = "/ui/users/v1/me/bookmarks";
92
+ return [2 /*return*/, {
93
+ path: urlPath,
94
+ method: 'POST',
95
+ headers: headerParameters,
96
+ query: queryParameters,
97
+ body: (0, BookmarkDto_1.BookmarkDtoToJSON)(requestParameters['bookmarkDto']),
98
+ }];
99
+ });
100
+ });
101
+ };
102
+ /**
103
+ * Only tenants can be bookmarked so far. An item is bookmarked at most once per user.
104
+ * bookmark an item for the logged-in user
105
+ */
106
+ UsersMeBookmarksApi.prototype.createMyBookmarkRaw = function (requestParameters, initOverrides) {
107
+ return __awaiter(this, void 0, void 0, function () {
108
+ var requestOptions, response;
109
+ return __generator(this, function (_a) {
110
+ switch (_a.label) {
111
+ case 0: return [4 /*yield*/, this.createMyBookmarkRequestOpts(requestParameters)];
112
+ case 1:
113
+ requestOptions = _a.sent();
114
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
115
+ case 2:
116
+ response = _a.sent();
117
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, BookmarkDto_1.BookmarkDtoFromJSON)(jsonValue); })];
118
+ }
119
+ });
120
+ });
121
+ };
122
+ /**
123
+ * Only tenants can be bookmarked so far. An item is bookmarked at most once per user.
124
+ * bookmark an item for the logged-in user
125
+ */
126
+ UsersMeBookmarksApi.prototype.createMyBookmark = function (requestParameters, initOverrides) {
127
+ return __awaiter(this, void 0, void 0, function () {
128
+ var response;
129
+ return __generator(this, function (_a) {
130
+ switch (_a.label) {
131
+ case 0: return [4 /*yield*/, this.createMyBookmarkRaw(requestParameters, initOverrides)];
132
+ case 1:
133
+ response = _a.sent();
134
+ return [4 /*yield*/, response.value()];
135
+ case 2: return [2 /*return*/, _a.sent()];
136
+ }
137
+ });
138
+ });
139
+ };
140
+ /**
141
+ * Creates request options for deleteMyBookmark without sending the request
142
+ */
143
+ UsersMeBookmarksApi.prototype.deleteMyBookmarkRequestOpts = function (requestParameters) {
144
+ return __awaiter(this, void 0, void 0, function () {
145
+ var queryParameters, headerParameters, urlPath;
146
+ return __generator(this, function (_a) {
147
+ if (requestParameters['id'] == null) {
148
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteMyBookmark().');
149
+ }
150
+ queryParameters = {};
151
+ headerParameters = {};
152
+ urlPath = "/ui/users/v1/me/bookmarks/{id}";
153
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
154
+ return [2 /*return*/, {
155
+ path: urlPath,
156
+ method: 'DELETE',
157
+ headers: headerParameters,
158
+ query: queryParameters,
159
+ }];
160
+ });
161
+ });
162
+ };
163
+ /**
164
+ * remove a bookmark of the logged-in user
165
+ */
166
+ UsersMeBookmarksApi.prototype.deleteMyBookmarkRaw = function (requestParameters, initOverrides) {
167
+ return __awaiter(this, void 0, void 0, function () {
168
+ var requestOptions, response;
169
+ return __generator(this, function (_a) {
170
+ switch (_a.label) {
171
+ case 0: return [4 /*yield*/, this.deleteMyBookmarkRequestOpts(requestParameters)];
172
+ case 1:
173
+ requestOptions = _a.sent();
174
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
175
+ case 2:
176
+ response = _a.sent();
177
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
178
+ }
179
+ });
180
+ });
181
+ };
182
+ /**
183
+ * remove a bookmark of the logged-in user
184
+ */
185
+ UsersMeBookmarksApi.prototype.deleteMyBookmark = function (requestParameters, initOverrides) {
186
+ return __awaiter(this, void 0, void 0, function () {
187
+ return __generator(this, function (_a) {
188
+ switch (_a.label) {
189
+ case 0: return [4 /*yield*/, this.deleteMyBookmarkRaw(requestParameters, initOverrides)];
190
+ case 1:
191
+ _a.sent();
192
+ return [2 /*return*/];
193
+ }
194
+ });
195
+ });
196
+ };
197
+ /**
198
+ * Creates request options for getMyBookmark without sending the request
199
+ */
200
+ UsersMeBookmarksApi.prototype.getMyBookmarkRequestOpts = function (requestParameters) {
201
+ return __awaiter(this, void 0, void 0, function () {
202
+ var queryParameters, headerParameters, urlPath;
203
+ return __generator(this, function (_a) {
204
+ if (requestParameters['id'] == null) {
205
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getMyBookmark().');
206
+ }
207
+ queryParameters = {};
208
+ headerParameters = {};
209
+ urlPath = "/ui/users/v1/me/bookmarks/{id}";
210
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
211
+ return [2 /*return*/, {
212
+ path: urlPath,
213
+ method: 'GET',
214
+ headers: headerParameters,
215
+ query: queryParameters,
216
+ }];
217
+ });
218
+ });
219
+ };
220
+ /**
221
+ * read one bookmark of the logged-in user
222
+ */
223
+ UsersMeBookmarksApi.prototype.getMyBookmarkRaw = function (requestParameters, initOverrides) {
224
+ return __awaiter(this, void 0, void 0, function () {
225
+ var requestOptions, response;
226
+ return __generator(this, function (_a) {
227
+ switch (_a.label) {
228
+ case 0: return [4 /*yield*/, this.getMyBookmarkRequestOpts(requestParameters)];
229
+ case 1:
230
+ requestOptions = _a.sent();
231
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
232
+ case 2:
233
+ response = _a.sent();
234
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, BookmarkDto_1.BookmarkDtoFromJSON)(jsonValue); })];
235
+ }
236
+ });
237
+ });
238
+ };
239
+ /**
240
+ * read one bookmark of the logged-in user
241
+ */
242
+ UsersMeBookmarksApi.prototype.getMyBookmark = function (requestParameters, initOverrides) {
243
+ return __awaiter(this, void 0, void 0, function () {
244
+ var response;
245
+ return __generator(this, function (_a) {
246
+ switch (_a.label) {
247
+ case 0: return [4 /*yield*/, this.getMyBookmarkRaw(requestParameters, initOverrides)];
248
+ case 1:
249
+ response = _a.sent();
250
+ return [4 /*yield*/, response.value()];
251
+ case 2: return [2 /*return*/, _a.sent()];
252
+ }
253
+ });
254
+ });
255
+ };
256
+ /**
257
+ * Creates request options for getMyBookmarks without sending the request
258
+ */
259
+ UsersMeBookmarksApi.prototype.getMyBookmarksRequestOpts = function (requestParameters) {
260
+ return __awaiter(this, void 0, void 0, function () {
261
+ var queryParameters, headerParameters, urlPath;
262
+ return __generator(this, function (_a) {
263
+ if (requestParameters['pageable'] == null) {
264
+ throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getMyBookmarks().');
265
+ }
266
+ queryParameters = {};
267
+ if (requestParameters['pageable'] != null) {
268
+ queryParameters['pageable'] = requestParameters['pageable'];
269
+ }
270
+ if (requestParameters['filter'] != null) {
271
+ queryParameters['filter'] = requestParameters['filter'];
272
+ }
273
+ headerParameters = {};
274
+ urlPath = "/ui/users/v1/me/bookmarks";
275
+ return [2 /*return*/, {
276
+ path: urlPath,
277
+ method: 'GET',
278
+ headers: headerParameters,
279
+ query: queryParameters,
280
+ }];
281
+ });
282
+ });
283
+ };
284
+ /**
285
+ * Filterable and sortable fields: entityType, entityId, creationTime. Sorted by creationTime unless a sort is given.
286
+ * list the bookmarks of the logged-in user
287
+ */
288
+ UsersMeBookmarksApi.prototype.getMyBookmarksRaw = function (requestParameters, initOverrides) {
289
+ return __awaiter(this, void 0, void 0, function () {
290
+ var requestOptions, response;
291
+ return __generator(this, function (_a) {
292
+ switch (_a.label) {
293
+ case 0: return [4 /*yield*/, this.getMyBookmarksRequestOpts(requestParameters)];
294
+ case 1:
295
+ requestOptions = _a.sent();
296
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
297
+ case 2:
298
+ response = _a.sent();
299
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetMyBookmarks200Response_1.GetMyBookmarks200ResponseFromJSON)(jsonValue); })];
300
+ }
301
+ });
302
+ });
303
+ };
304
+ /**
305
+ * Filterable and sortable fields: entityType, entityId, creationTime. Sorted by creationTime unless a sort is given.
306
+ * list the bookmarks of the logged-in user
307
+ */
308
+ UsersMeBookmarksApi.prototype.getMyBookmarks = function (requestParameters, initOverrides) {
309
+ return __awaiter(this, void 0, void 0, function () {
310
+ var response;
311
+ return __generator(this, function (_a) {
312
+ switch (_a.label) {
313
+ case 0: return [4 /*yield*/, this.getMyBookmarksRaw(requestParameters, initOverrides)];
314
+ case 1:
315
+ response = _a.sent();
316
+ return [4 /*yield*/, response.value()];
317
+ case 2: return [2 /*return*/, _a.sent()];
318
+ }
319
+ });
320
+ });
321
+ };
322
+ return UsersMeBookmarksApi;
323
+ }(runtime.BaseAPI));
324
+ exports.UsersMeBookmarksApi = UsersMeBookmarksApi;
@@ -81,6 +81,7 @@ export * from './SystemsTimesApi';
81
81
  export * from './TagRelationsApi';
82
82
  export * from './TagsApi';
83
83
  export * from './TenantPortalApi';
84
+ export * from './TenantPortalUploadsApi';
84
85
  export * from './TenantsApi';
85
86
  export * from './TenantsOwnerAdditionApi';
86
87
  export * from './TenantsValidationApi';
@@ -94,6 +95,7 @@ export * from './UserPermissionsApi';
94
95
  export * from './UserTenantsApi';
95
96
  export * from './UsersApi';
96
97
  export * from './UsersMeApi';
98
+ export * from './UsersMeBookmarksApi';
97
99
  export * from './ValidationApi';
98
100
  export * from './WikiApi';
99
101
  export * from './WikiPagesApi';
@@ -99,6 +99,7 @@ __exportStar(require("./SystemsTimesApi"), exports);
99
99
  __exportStar(require("./TagRelationsApi"), exports);
100
100
  __exportStar(require("./TagsApi"), exports);
101
101
  __exportStar(require("./TenantPortalApi"), exports);
102
+ __exportStar(require("./TenantPortalUploadsApi"), exports);
102
103
  __exportStar(require("./TenantsApi"), exports);
103
104
  __exportStar(require("./TenantsOwnerAdditionApi"), exports);
104
105
  __exportStar(require("./TenantsValidationApi"), exports);
@@ -112,6 +113,7 @@ __exportStar(require("./UserPermissionsApi"), exports);
112
113
  __exportStar(require("./UserTenantsApi"), exports);
113
114
  __exportStar(require("./UsersApi"), exports);
114
115
  __exportStar(require("./UsersMeApi"), exports);
116
+ __exportStar(require("./UsersMeBookmarksApi"), exports);
115
117
  __exportStar(require("./ValidationApi"), exports);
116
118
  __exportStar(require("./WikiApi"), exports);
117
119
  __exportStar(require("./WikiPagesApi"), exports);
@@ -11,7 +11,7 @@
11
11
  import type { AccountCalendarEntryRsvpDto } from './AccountCalendarEntryRsvpDto';
12
12
  import type { AttendedCalendarEntryDto } from './AttendedCalendarEntryDto';
13
13
  /**
14
- * a calendar entry the logged-in user attends together with the tenant it belongs to
14
+ * a calendar entry the logged-in user owns or attends together with the tenant it belongs to
15
15
  * @export
16
16
  * @interface AccountCalendarEntryDto
17
17
  */
@@ -29,7 +29,7 @@ export interface AccountCalendarEntryDto {
29
29
  */
30
30
  entry: AttendedCalendarEntryDto;
31
31
  /**
32
- * the user's own access to the RSVP page, null for entries of a type that asks for no answer
32
+ * the user's own access to the RSVP page, null for entries of a type that asks for no answer and for an owner who is no attendee
33
33
  */
34
34
  rsvp?: AccountCalendarEntryRsvpDto;
35
35
  }
@@ -35,6 +35,10 @@ export interface AddressDto {
35
35
  *
36
36
  */
37
37
  city?: string;
38
+ /**
39
+ * state or province, printed after the city whenever it is set
40
+ */
41
+ region?: string;
38
42
  /**
39
43
  *
40
44
  */
@@ -37,6 +37,7 @@ function AddressDtoFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'street': json['street'] == null ? undefined : json['street'],
38
38
  'zipCode': json['zipCode'] == null ? undefined : json['zipCode'],
39
39
  'city': json['city'] == null ? undefined : json['city'],
40
+ 'region': json['region'] == null ? undefined : json['region'],
40
41
  'countryCode': json['countryCode'] == null ? undefined : (0, CountryCode_1.CountryCodeFromJSON)(json['countryCode']),
41
42
  'lat': json['lat'] == null ? undefined : json['lat'],
42
43
  '_long': json['long'] == null ? undefined : json['long'],
@@ -56,6 +57,7 @@ function AddressDtoToJSONTyped(value, ignoreDiscriminator) {
56
57
  'street': value['street'],
57
58
  'zipCode': value['zipCode'],
58
59
  'city': value['city'],
60
+ 'region': value['region'],
59
61
  'countryCode': (0, CountryCode_1.CountryCodeToJSON)(value['countryCode']),
60
62
  'lat': value['lat'],
61
63
  'long': value['_long'],
@@ -36,6 +36,14 @@ export interface AppointmentBlockerDto {
36
36
  *
37
37
  */
38
38
  location?: string;
39
+ /**
40
+ * latitude of the location (WGS 84)
41
+ */
42
+ locationLat?: number;
43
+ /**
44
+ * longitude of the location (WGS 84)
45
+ */
46
+ locationLong?: number;
39
47
  /**
40
48
  *
41
49
  */
@@ -44,6 +44,8 @@ function AppointmentBlockerDtoFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'userId': json['userId'],
45
45
  'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
46
46
  'location': json['location'] == null ? undefined : json['location'],
47
+ 'locationLat': json['locationLat'] == null ? undefined : json['locationLat'],
48
+ 'locationLong': json['locationLong'] == null ? undefined : json['locationLong'],
47
49
  'attendees': json['attendees'] == null ? undefined : (json['attendees'].map(CalendarAttendeeDto_1.CalendarAttendeeDtoFromJSON)),
48
50
  };
49
51
  }
@@ -61,6 +63,8 @@ function AppointmentBlockerDtoToJSONTyped(value, ignoreDiscriminator) {
61
63
  'userId': value['userId'],
62
64
  'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
63
65
  'location': value['location'],
66
+ 'locationLat': value['locationLat'],
67
+ 'locationLong': value['locationLong'],
64
68
  'attendees': value['attendees'] == null ? undefined : (value['attendees'].map(CalendarAttendeeDto_1.CalendarAttendeeDtoToJSON)),
65
69
  };
66
70
  }
@@ -8,6 +8,7 @@
8
8
  * https://openapi-generator.tech
9
9
  * Do not edit the class manually.
10
10
  */
11
+ import type { FormsPortalFileUploadDto } from './FormsPortalFileUploadDto';
11
12
  /**
12
13
  * configuration of the appointment booking wizard of a tenant, may differ between logged-in and anonymous requesters
13
14
  * @export
@@ -26,6 +27,34 @@ export interface AppointmentBookingConfigDto {
26
27
  * GeoJSON geometry (or feature) of the area in which appointments can be booked; bookable everywhere if empty
27
28
  */
28
29
  bookingArea?: any;
30
+ /**
31
+ *
32
+ */
33
+ fileUpload: FormsPortalFileUploadDto;
34
+ /**
35
+ * secret the uploads of files for an appointment request carry in X-Portal-Secret; only set while file upload is enabled
36
+ */
37
+ uploadSecret?: string;
38
+ /**
39
+ * Latitude (WGS 84) of the place where the route of each day starts and ends, the location of the tenant in the booking wizard; only filled for logged-in requesters
40
+ */
41
+ routeStartLatitude?: number;
42
+ /**
43
+ * Longitude (WGS 84) of the place where the route of each day starts and ends, the location of the tenant in the booking wizard; only filled for logged-in requesters
44
+ */
45
+ routeStartLongitude?: number;
46
+ /**
47
+ * number of different shifts the time spans of a request must cover; no minimum if empty
48
+ */
49
+ minRequiredDays?: number;
50
+ /**
51
+ * start of the daily shift, in the time zone of the tenant; a shift lasts 24 hours from this time. Only filled together with minRequiredDays
52
+ */
53
+ shiftStartTime?: string;
54
+ /**
55
+ * currency of the tenant the product prices are given in
56
+ */
57
+ currency: string;
29
58
  }
30
59
  /**
31
60
  * Check if a given object implements the AppointmentBookingConfigDto interface.
@@ -17,10 +17,15 @@ exports.AppointmentBookingConfigDtoFromJSON = AppointmentBookingConfigDtoFromJSO
17
17
  exports.AppointmentBookingConfigDtoFromJSONTyped = AppointmentBookingConfigDtoFromJSONTyped;
18
18
  exports.AppointmentBookingConfigDtoToJSON = AppointmentBookingConfigDtoToJSON;
19
19
  exports.AppointmentBookingConfigDtoToJSONTyped = AppointmentBookingConfigDtoToJSONTyped;
20
+ var FormsPortalFileUploadDto_1 = require("./FormsPortalFileUploadDto");
20
21
  /**
21
22
  * Check if a given object implements the AppointmentBookingConfigDto interface.
22
23
  */
23
24
  function instanceOfAppointmentBookingConfigDto(value) {
25
+ if (!('fileUpload' in value) || value['fileUpload'] === undefined)
26
+ return false;
27
+ if (!('currency' in value) || value['currency'] === undefined)
28
+ return false;
24
29
  return true;
25
30
  }
26
31
  function AppointmentBookingConfigDtoFromJSON(json) {
@@ -34,6 +39,13 @@ function AppointmentBookingConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
34
39
  'dataSchema': json['dataSchema'] == null ? undefined : json['dataSchema'],
35
40
  'uiSchema': json['uiSchema'] == null ? undefined : json['uiSchema'],
36
41
  'bookingArea': json['bookingArea'] == null ? undefined : json['bookingArea'],
42
+ 'fileUpload': (0, FormsPortalFileUploadDto_1.FormsPortalFileUploadDtoFromJSON)(json['fileUpload']),
43
+ 'uploadSecret': json['uploadSecret'] == null ? undefined : json['uploadSecret'],
44
+ 'routeStartLatitude': json['routeStartLatitude'] == null ? undefined : json['routeStartLatitude'],
45
+ 'routeStartLongitude': json['routeStartLongitude'] == null ? undefined : json['routeStartLongitude'],
46
+ 'minRequiredDays': json['minRequiredDays'] == null ? undefined : json['minRequiredDays'],
47
+ 'shiftStartTime': json['shiftStartTime'] == null ? undefined : json['shiftStartTime'],
48
+ 'currency': json['currency'],
37
49
  };
38
50
  }
39
51
  function AppointmentBookingConfigDtoToJSON(json) {
@@ -48,5 +60,12 @@ function AppointmentBookingConfigDtoToJSONTyped(value, ignoreDiscriminator) {
48
60
  'dataSchema': value['dataSchema'],
49
61
  'uiSchema': value['uiSchema'],
50
62
  'bookingArea': value['bookingArea'],
63
+ 'fileUpload': (0, FormsPortalFileUploadDto_1.FormsPortalFileUploadDtoToJSON)(value['fileUpload']),
64
+ 'uploadSecret': value['uploadSecret'],
65
+ 'routeStartLatitude': value['routeStartLatitude'],
66
+ 'routeStartLongitude': value['routeStartLongitude'],
67
+ 'minRequiredDays': value['minRequiredDays'],
68
+ 'shiftStartTime': value['shiftStartTime'],
69
+ 'currency': value['currency'],
51
70
  };
52
71
  }
@@ -63,6 +63,18 @@ export interface AppointmentDto {
63
63
  * the calendar entry the application created for the appointment; removed once the entry gets another type
64
64
  */
65
65
  readonly calendarEntryId?: string;
66
+ /**
67
+ * the data entered into the form of formTypeId
68
+ */
69
+ jsonFormValue?: any;
70
+ /**
71
+ * the editor type (JSON form) of jsonFormValue, taken from the routing configuration when the appointment is created
72
+ */
73
+ readonly formTypeId?: string;
74
+ /**
75
+ * the files attached to the appointment; files removed from the list are deleted
76
+ */
77
+ fileIds?: Array<string>;
66
78
  }
67
79
  /**
68
80
  * Check if a given object implements the AppointmentDto interface.
@@ -71,4 +83,4 @@ export declare function instanceOfAppointmentDto(value: object): value is Appoin
71
83
  export declare function AppointmentDtoFromJSON(json: any): AppointmentDto;
72
84
  export declare function AppointmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentDto;
73
85
  export declare function AppointmentDtoToJSON(json: any): AppointmentDto;
74
- export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId'> | null, ignoreDiscriminator?: boolean): any;
86
+ export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId' | 'formTypeId'> | null, ignoreDiscriminator?: boolean): any;