@kommerz/ts-client 1.195.0 → 1.196.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 (82) hide show
  1. package/dist/apis/AcceptancePortalDocumentsApi.d.ts +6 -6
  2. package/dist/apis/AcceptancePortalDocumentsApi.js +12 -12
  3. package/dist/apis/AppointmentPortalApi.d.ts +79 -11
  4. package/dist/apis/AppointmentPortalApi.js +202 -11
  5. package/dist/apis/AppointmentUsersApi.js +5 -5
  6. package/dist/apis/AppointmentsApi.d.ts +24 -2
  7. package/dist/apis/AppointmentsApi.js +69 -5
  8. package/dist/apis/BankingAccountsApi.js +1 -1
  9. package/dist/apis/BankingRegistrationsApi.js +1 -1
  10. package/dist/apis/FileDirectorySharesApi.d.ts +4 -4
  11. package/dist/apis/FileDirectorySharesApi.js +8 -8
  12. package/dist/apis/FormsPortalApi.d.ts +6 -4
  13. package/dist/apis/FormsPortalApi.js +10 -8
  14. package/dist/apis/InvoicePortalApi.d.ts +2 -2
  15. package/dist/apis/InvoicePortalApi.js +4 -4
  16. package/dist/apis/LegalEntityUsersApi.d.ts +121 -0
  17. package/dist/apis/LegalEntityUsersApi.js +387 -0
  18. package/dist/apis/NotificationTargetsApi.js +1 -1
  19. package/dist/apis/NotificationsAcksApi.js +2 -2
  20. package/dist/apis/NotificationsApi.js +3 -3
  21. package/dist/apis/PresenceEntriesApi.js +1 -1
  22. package/dist/apis/TimeTrackingCalendarApi.js +2 -2
  23. package/dist/apis/TimeTrackingCalendarExportApi.js +1 -1
  24. package/dist/apis/UsersMeApi.d.ts +58 -9
  25. package/dist/apis/UsersMeApi.js +103 -14
  26. package/dist/apis/index.d.ts +1 -2
  27. package/dist/apis/index.js +1 -2
  28. package/dist/models/AccountCalendarEntryDto.d.ts +5 -0
  29. package/dist/models/AccountCalendarEntryDto.js +3 -0
  30. package/dist/models/AccountCalendarEntryRsvpDto.d.ts +33 -0
  31. package/dist/models/AccountCalendarEntryRsvpDto.js +54 -0
  32. package/dist/models/AppointmentBlockerDto.d.ts +51 -0
  33. package/dist/models/AppointmentBlockerDto.js +66 -0
  34. package/dist/models/AppointmentBookingConfigDto.d.ts +37 -0
  35. package/dist/models/AppointmentBookingConfigDto.js +52 -0
  36. package/dist/models/AppointmentDto.d.ts +18 -8
  37. package/dist/models/AppointmentDto.js +11 -6
  38. package/dist/models/AppointmentEmailTemplateDto.d.ts +33 -0
  39. package/dist/models/AppointmentEmailTemplateDto.js +50 -0
  40. package/dist/models/AppointmentEmailTemplatesDto.d.ts +54 -0
  41. package/dist/models/AppointmentEmailTemplatesDto.js +61 -0
  42. package/dist/models/AppointmentPortalDto.d.ts +8 -2
  43. package/dist/models/AppointmentPortalDto.js +6 -2
  44. package/dist/models/AppointmentProductDto.d.ts +45 -0
  45. package/dist/models/AppointmentProductDto.js +59 -0
  46. package/dist/models/AppointmentProductSelectionDto.d.ts +33 -0
  47. package/dist/models/AppointmentProductSelectionDto.js +54 -0
  48. package/dist/models/AppointmentSlotDistance.d.ts +3 -1
  49. package/dist/models/AppointmentSlotDistance.js +3 -1
  50. package/dist/models/AppointmentSlotDto.d.ts +4 -0
  51. package/dist/models/AppointmentSlotDto.js +4 -0
  52. package/dist/models/AppointmentStatus.d.ts +9 -3
  53. package/dist/models/AppointmentStatus.js +9 -3
  54. package/dist/models/AppointmentSubmissionDto.d.ts +11 -2
  55. package/dist/models/AppointmentSubmissionDto.js +5 -0
  56. package/dist/models/AppointmentTimeSpanDto.d.ts +39 -0
  57. package/dist/models/AppointmentTimeSpanDto.js +58 -0
  58. package/dist/models/AppointmentTimeSpanStatus.d.ts +35 -0
  59. package/dist/models/AppointmentTimeSpanStatus.js +61 -0
  60. package/dist/models/CalendarEntryTypeDto.d.ts +4 -0
  61. package/dist/models/CalendarEntryTypeDto.js +2 -0
  62. package/dist/models/CalendarPortalEventDto.d.ts +4 -0
  63. package/dist/models/CalendarPortalEventDto.js +4 -0
  64. package/dist/models/EntityType.d.ts +1 -1
  65. package/dist/models/EntityType.js +1 -1
  66. package/dist/models/FormsPortalLegalEntityUserRequestDto.d.ts +29 -0
  67. package/dist/models/FormsPortalLegalEntityUserRequestDto.js +50 -0
  68. package/dist/models/FormsPortalSubmissionDto.d.ts +29 -0
  69. package/dist/models/FormsPortalSubmissionDto.js +50 -0
  70. package/dist/models/GetAllLegalEntityUsers200Response.d.ts +42 -0
  71. package/dist/models/GetAllLegalEntityUsers200Response.js +59 -0
  72. package/dist/models/GetMyAppointments200Response.d.ts +42 -0
  73. package/dist/models/GetMyAppointments200Response.js +59 -0
  74. package/dist/models/LegalEntityUserDto.d.ts +71 -0
  75. package/dist/models/LegalEntityUserDto.js +63 -0
  76. package/dist/models/Permissions.d.ts +4 -4
  77. package/dist/models/Permissions.js +4 -4
  78. package/dist/models/RoutingConfigDto.d.ts +16 -3
  79. package/dist/models/RoutingConfigDto.js +10 -3
  80. package/dist/models/index.d.ts +12 -3
  81. package/dist/models/index.js +12 -3
  82. package/package.json +1 -1
@@ -65,9 +65,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
65
65
  Object.defineProperty(exports, "__esModule", { value: true });
66
66
  exports.UsersMeApi = void 0;
67
67
  var runtime = require("../runtime");
68
- var AccountAppointmentDto_1 = require("../models/AccountAppointmentDto");
69
68
  var AccountCalendarEntryDto_1 = require("../models/AccountCalendarEntryDto");
70
69
  var AccountDeletionPreviewDto_1 = require("../models/AccountDeletionPreviewDto");
70
+ var GetMyAppointments200Response_1 = require("../models/GetMyAppointments200Response");
71
71
  var UserDto_1 = require("../models/UserDto");
72
72
  /**
73
73
  *
@@ -130,6 +130,67 @@ var UsersMeApi = /** @class */ (function (_super) {
130
130
  });
131
131
  });
132
132
  };
133
+ /**
134
+ * Creates request options for downloadMyCalendarEntryIcal without sending the request
135
+ */
136
+ UsersMeApi.prototype.downloadMyCalendarEntryIcalRequestOpts = function (requestParameters) {
137
+ return __awaiter(this, void 0, void 0, function () {
138
+ var queryParameters, headerParameters, urlPath;
139
+ return __generator(this, function (_a) {
140
+ if (requestParameters['id'] == null) {
141
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling downloadMyCalendarEntryIcal().');
142
+ }
143
+ queryParameters = {};
144
+ headerParameters = {};
145
+ urlPath = "/ui/users/v1/me/calendar-entries/{id}/ical";
146
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
147
+ return [2 /*return*/, {
148
+ path: urlPath,
149
+ method: 'GET',
150
+ headers: headerParameters,
151
+ query: queryParameters,
152
+ }];
153
+ });
154
+ });
155
+ };
156
+ /**
157
+ * A repeating entry is returned as series, including its repeat rule.
158
+ * download a calendar entry the logged-in user attends as iCalendar file
159
+ */
160
+ UsersMeApi.prototype.downloadMyCalendarEntryIcalRaw = function (requestParameters, initOverrides) {
161
+ return __awaiter(this, void 0, void 0, function () {
162
+ var requestOptions, response;
163
+ return __generator(this, function (_a) {
164
+ switch (_a.label) {
165
+ case 0: return [4 /*yield*/, this.downloadMyCalendarEntryIcalRequestOpts(requestParameters)];
166
+ case 1:
167
+ requestOptions = _a.sent();
168
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
169
+ case 2:
170
+ response = _a.sent();
171
+ return [2 /*return*/, new runtime.BlobApiResponse(response)];
172
+ }
173
+ });
174
+ });
175
+ };
176
+ /**
177
+ * A repeating entry is returned as series, including its repeat rule.
178
+ * download a calendar entry the logged-in user attends as iCalendar file
179
+ */
180
+ UsersMeApi.prototype.downloadMyCalendarEntryIcal = function (requestParameters, initOverrides) {
181
+ return __awaiter(this, void 0, void 0, function () {
182
+ var response;
183
+ return __generator(this, function (_a) {
184
+ switch (_a.label) {
185
+ case 0: return [4 /*yield*/, this.downloadMyCalendarEntryIcalRaw(requestParameters, initOverrides)];
186
+ case 1:
187
+ response = _a.sent();
188
+ return [4 /*yield*/, response.value()];
189
+ case 2: return [2 /*return*/, _a.sent()];
190
+ }
191
+ });
192
+ });
193
+ };
133
194
  /**
134
195
  * Creates request options for getAccountDeletionPreview without sending the request
135
196
  */
@@ -243,11 +304,20 @@ var UsersMeApi = /** @class */ (function (_super) {
243
304
  /**
244
305
  * Creates request options for getMyAppointments without sending the request
245
306
  */
246
- UsersMeApi.prototype.getMyAppointmentsRequestOpts = function () {
307
+ UsersMeApi.prototype.getMyAppointmentsRequestOpts = function (requestParameters) {
247
308
  return __awaiter(this, void 0, void 0, function () {
248
309
  var queryParameters, headerParameters, urlPath;
249
310
  return __generator(this, function (_a) {
311
+ if (requestParameters['pageable'] == null) {
312
+ throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getMyAppointments().');
313
+ }
250
314
  queryParameters = {};
315
+ if (requestParameters['pageable'] != null) {
316
+ queryParameters['pageable'] = requestParameters['pageable'];
317
+ }
318
+ if (requestParameters['filter'] != null) {
319
+ queryParameters['filter'] = requestParameters['filter'];
320
+ }
251
321
  headerParameters = {};
252
322
  urlPath = "/ui/users/v1/me/appointments";
253
323
  return [2 /*return*/, {
@@ -260,33 +330,35 @@ var UsersMeApi = /** @class */ (function (_super) {
260
330
  });
261
331
  };
262
332
  /**
333
+ * Filterable and sortable fields: status, confirmedTimeSpan.startDate, confirmedTimeSpan.endDate, creationTime. Sorted by creationTime unless a sort is given.
263
334
  * list the appointments the logged-in user requested at any tenant
264
335
  */
265
- UsersMeApi.prototype.getMyAppointmentsRaw = function (initOverrides) {
336
+ UsersMeApi.prototype.getMyAppointmentsRaw = function (requestParameters, initOverrides) {
266
337
  return __awaiter(this, void 0, void 0, function () {
267
338
  var requestOptions, response;
268
339
  return __generator(this, function (_a) {
269
340
  switch (_a.label) {
270
- case 0: return [4 /*yield*/, this.getMyAppointmentsRequestOpts()];
341
+ case 0: return [4 /*yield*/, this.getMyAppointmentsRequestOpts(requestParameters)];
271
342
  case 1:
272
343
  requestOptions = _a.sent();
273
344
  return [4 /*yield*/, this.request(requestOptions, initOverrides)];
274
345
  case 2:
275
346
  response = _a.sent();
276
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(AccountAppointmentDto_1.AccountAppointmentDtoFromJSON); })];
347
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetMyAppointments200Response_1.GetMyAppointments200ResponseFromJSON)(jsonValue); })];
277
348
  }
278
349
  });
279
350
  });
280
351
  };
281
352
  /**
353
+ * Filterable and sortable fields: status, confirmedTimeSpan.startDate, confirmedTimeSpan.endDate, creationTime. Sorted by creationTime unless a sort is given.
282
354
  * list the appointments the logged-in user requested at any tenant
283
355
  */
284
- UsersMeApi.prototype.getMyAppointments = function (initOverrides) {
356
+ UsersMeApi.prototype.getMyAppointments = function (requestParameters, initOverrides) {
285
357
  return __awaiter(this, void 0, void 0, function () {
286
358
  var response;
287
359
  return __generator(this, function (_a) {
288
360
  switch (_a.label) {
289
- case 0: return [4 /*yield*/, this.getMyAppointmentsRaw(initOverrides)];
361
+ case 0: return [4 /*yield*/, this.getMyAppointmentsRaw(requestParameters, initOverrides)];
290
362
  case 1:
291
363
  response = _a.sent();
292
364
  return [4 /*yield*/, response.value()];
@@ -298,11 +370,26 @@ var UsersMeApi = /** @class */ (function (_super) {
298
370
  /**
299
371
  * Creates request options for getMyCalendarEntries without sending the request
300
372
  */
301
- UsersMeApi.prototype.getMyCalendarEntriesRequestOpts = function () {
373
+ UsersMeApi.prototype.getMyCalendarEntriesRequestOpts = function (requestParameters) {
302
374
  return __awaiter(this, void 0, void 0, function () {
303
375
  var queryParameters, headerParameters, urlPath;
304
376
  return __generator(this, function (_a) {
377
+ if (requestParameters['from'] == null) {
378
+ throw new runtime.RequiredError('from', 'Required parameter "from" was null or undefined when calling getMyCalendarEntries().');
379
+ }
380
+ if (requestParameters['to'] == null) {
381
+ throw new runtime.RequiredError('to', 'Required parameter "to" was null or undefined when calling getMyCalendarEntries().');
382
+ }
305
383
  queryParameters = {};
384
+ if (requestParameters['from'] != null) {
385
+ queryParameters['from'] = runtime.serializeDateTime(requestParameters['from']);
386
+ }
387
+ if (requestParameters['to'] != null) {
388
+ queryParameters['to'] = runtime.serializeDateTime(requestParameters['to']);
389
+ }
390
+ if (requestParameters['filter'] != null) {
391
+ queryParameters['filter'] = requestParameters['filter'];
392
+ }
306
393
  headerParameters = {};
307
394
  urlPath = "/ui/users/v1/me/calendar-entries";
308
395
  return [2 /*return*/, {
@@ -315,14 +402,15 @@ var UsersMeApi = /** @class */ (function (_super) {
315
402
  });
316
403
  };
317
404
  /**
318
- * list the calendar entries the logged-in user attends at any tenant
405
+ * Every repeating entry is expanded into its occurrences, which are sorted by their start. Filterable fields: summary, location, type.name.
406
+ * list the calendar entries the logged-in user attends at any tenant overlapping a period
319
407
  */
320
- UsersMeApi.prototype.getMyCalendarEntriesRaw = function (initOverrides) {
408
+ UsersMeApi.prototype.getMyCalendarEntriesRaw = function (requestParameters, initOverrides) {
321
409
  return __awaiter(this, void 0, void 0, function () {
322
410
  var requestOptions, response;
323
411
  return __generator(this, function (_a) {
324
412
  switch (_a.label) {
325
- case 0: return [4 /*yield*/, this.getMyCalendarEntriesRequestOpts()];
413
+ case 0: return [4 /*yield*/, this.getMyCalendarEntriesRequestOpts(requestParameters)];
326
414
  case 1:
327
415
  requestOptions = _a.sent();
328
416
  return [4 /*yield*/, this.request(requestOptions, initOverrides)];
@@ -334,14 +422,15 @@ var UsersMeApi = /** @class */ (function (_super) {
334
422
  });
335
423
  };
336
424
  /**
337
- * list the calendar entries the logged-in user attends at any tenant
425
+ * Every repeating entry is expanded into its occurrences, which are sorted by their start. Filterable fields: summary, location, type.name.
426
+ * list the calendar entries the logged-in user attends at any tenant overlapping a period
338
427
  */
339
- UsersMeApi.prototype.getMyCalendarEntries = function (initOverrides) {
428
+ UsersMeApi.prototype.getMyCalendarEntries = function (requestParameters, initOverrides) {
340
429
  return __awaiter(this, void 0, void 0, function () {
341
430
  var response;
342
431
  return __generator(this, function (_a) {
343
432
  switch (_a.label) {
344
- case 0: return [4 /*yield*/, this.getMyCalendarEntriesRaw(initOverrides)];
433
+ case 0: return [4 /*yield*/, this.getMyCalendarEntriesRaw(requestParameters, initOverrides)];
345
434
  case 1:
346
435
  response = _a.sent();
347
436
  return [4 /*yield*/, response.value()];
@@ -12,7 +12,6 @@ export * from './AccountingTransactionsApi';
12
12
  export * from './AccountingTurnoversApi';
13
13
  export * from './ActivitiesApi';
14
14
  export * from './AppointmentPortalApi';
15
- export * from './AppointmentUsersApi';
16
15
  export * from './AppointmentsApi';
17
16
  export * from './ApprovalEntriesApi';
18
17
  export * from './ApprovalEntriesApproveApi';
@@ -57,6 +56,7 @@ export * from './JobsApi';
57
56
  export * from './KanbanBoardsApi';
58
57
  export * from './KanbanCardsApi';
59
58
  export * from './KanbanColumnsApi';
59
+ export * from './LegalEntityUsersApi';
60
60
  export * from './MapsApi';
61
61
  export * from './MentionsApi';
62
62
  export * from './NotificationTargetsApi';
@@ -94,7 +94,6 @@ export * from './UserPermissionsApi';
94
94
  export * from './UserTenantsApi';
95
95
  export * from './UsersApi';
96
96
  export * from './UsersMeApi';
97
- export * from './UsersRegisterApi';
98
97
  export * from './ValidationApi';
99
98
  export * from './WikiApi';
100
99
  export * from './WikiPagesApi';
@@ -30,7 +30,6 @@ __exportStar(require("./AccountingTransactionsApi"), exports);
30
30
  __exportStar(require("./AccountingTurnoversApi"), exports);
31
31
  __exportStar(require("./ActivitiesApi"), exports);
32
32
  __exportStar(require("./AppointmentPortalApi"), exports);
33
- __exportStar(require("./AppointmentUsersApi"), exports);
34
33
  __exportStar(require("./AppointmentsApi"), exports);
35
34
  __exportStar(require("./ApprovalEntriesApi"), exports);
36
35
  __exportStar(require("./ApprovalEntriesApproveApi"), exports);
@@ -75,6 +74,7 @@ __exportStar(require("./JobsApi"), exports);
75
74
  __exportStar(require("./KanbanBoardsApi"), exports);
76
75
  __exportStar(require("./KanbanCardsApi"), exports);
77
76
  __exportStar(require("./KanbanColumnsApi"), exports);
77
+ __exportStar(require("./LegalEntityUsersApi"), exports);
78
78
  __exportStar(require("./MapsApi"), exports);
79
79
  __exportStar(require("./MentionsApi"), exports);
80
80
  __exportStar(require("./NotificationTargetsApi"), exports);
@@ -112,7 +112,6 @@ __exportStar(require("./UserPermissionsApi"), exports);
112
112
  __exportStar(require("./UserTenantsApi"), exports);
113
113
  __exportStar(require("./UsersApi"), exports);
114
114
  __exportStar(require("./UsersMeApi"), exports);
115
- __exportStar(require("./UsersRegisterApi"), exports);
116
115
  __exportStar(require("./ValidationApi"), exports);
117
116
  __exportStar(require("./WikiApi"), exports);
118
117
  __exportStar(require("./WikiPagesApi"), exports);
@@ -8,6 +8,7 @@
8
8
  * https://openapi-generator.tech
9
9
  * Do not edit the class manually.
10
10
  */
11
+ import type { AccountCalendarEntryRsvpDto } from './AccountCalendarEntryRsvpDto';
11
12
  import type { AttendedCalendarEntryDto } from './AttendedCalendarEntryDto';
12
13
  /**
13
14
  * a calendar entry the logged-in user attends together with the tenant it belongs to
@@ -27,6 +28,10 @@ export interface AccountCalendarEntryDto {
27
28
  *
28
29
  */
29
30
  entry: AttendedCalendarEntryDto;
31
+ /**
32
+ * the user's own access to the RSVP page, null for entries of a type that asks for no answer
33
+ */
34
+ rsvp?: AccountCalendarEntryRsvpDto;
30
35
  }
31
36
  /**
32
37
  * Check if a given object implements the AccountCalendarEntryDto interface.
@@ -17,6 +17,7 @@ exports.AccountCalendarEntryDtoFromJSON = AccountCalendarEntryDtoFromJSON;
17
17
  exports.AccountCalendarEntryDtoFromJSONTyped = AccountCalendarEntryDtoFromJSONTyped;
18
18
  exports.AccountCalendarEntryDtoToJSON = AccountCalendarEntryDtoToJSON;
19
19
  exports.AccountCalendarEntryDtoToJSONTyped = AccountCalendarEntryDtoToJSONTyped;
20
+ var AccountCalendarEntryRsvpDto_1 = require("./AccountCalendarEntryRsvpDto");
20
21
  var AttendedCalendarEntryDto_1 = require("./AttendedCalendarEntryDto");
21
22
  /**
22
23
  * Check if a given object implements the AccountCalendarEntryDto interface.
@@ -41,6 +42,7 @@ function AccountCalendarEntryDtoFromJSONTyped(json, ignoreDiscriminator) {
41
42
  'tenantHandle': json['tenantHandle'],
42
43
  'tenantName': json['tenantName'],
43
44
  'entry': (0, AttendedCalendarEntryDto_1.AttendedCalendarEntryDtoFromJSON)(json['entry']),
45
+ 'rsvp': json['rsvp'] == null ? undefined : (0, AccountCalendarEntryRsvpDto_1.AccountCalendarEntryRsvpDtoFromJSON)(json['rsvp']),
44
46
  };
45
47
  }
46
48
  function AccountCalendarEntryDtoToJSON(json) {
@@ -55,5 +57,6 @@ function AccountCalendarEntryDtoToJSONTyped(value, ignoreDiscriminator) {
55
57
  'tenantHandle': value['tenantHandle'],
56
58
  'tenantName': value['tenantName'],
57
59
  'entry': (0, AttendedCalendarEntryDto_1.AttendedCalendarEntryDtoToJSON)(value['entry']),
60
+ 'rsvp': (0, AccountCalendarEntryRsvpDto_1.AccountCalendarEntryRsvpDtoToJSON)(value['rsvp']),
58
61
  };
59
62
  }
@@ -0,0 +1,33 @@
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
+ * identifies the RSVP page of an attendee
13
+ * @export
14
+ * @interface AccountCalendarEntryRsvpDto
15
+ */
16
+ export interface AccountCalendarEntryRsvpDto {
17
+ /**
18
+ * uid of the calendar entry
19
+ */
20
+ eventId: string;
21
+ /**
22
+ * secret of the attendee
23
+ */
24
+ token: string;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AccountCalendarEntryRsvpDto interface.
28
+ */
29
+ export declare function instanceOfAccountCalendarEntryRsvpDto(value: object): value is AccountCalendarEntryRsvpDto;
30
+ export declare function AccountCalendarEntryRsvpDtoFromJSON(json: any): AccountCalendarEntryRsvpDto;
31
+ export declare function AccountCalendarEntryRsvpDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountCalendarEntryRsvpDto;
32
+ export declare function AccountCalendarEntryRsvpDtoToJSON(json: any): AccountCalendarEntryRsvpDto;
33
+ export declare function AccountCalendarEntryRsvpDtoToJSONTyped(value?: AccountCalendarEntryRsvpDto | null, ignoreDiscriminator?: boolean): any;
@@ -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.instanceOfAccountCalendarEntryRsvpDto = instanceOfAccountCalendarEntryRsvpDto;
16
+ exports.AccountCalendarEntryRsvpDtoFromJSON = AccountCalendarEntryRsvpDtoFromJSON;
17
+ exports.AccountCalendarEntryRsvpDtoFromJSONTyped = AccountCalendarEntryRsvpDtoFromJSONTyped;
18
+ exports.AccountCalendarEntryRsvpDtoToJSON = AccountCalendarEntryRsvpDtoToJSON;
19
+ exports.AccountCalendarEntryRsvpDtoToJSONTyped = AccountCalendarEntryRsvpDtoToJSONTyped;
20
+ /**
21
+ * Check if a given object implements the AccountCalendarEntryRsvpDto interface.
22
+ */
23
+ function instanceOfAccountCalendarEntryRsvpDto(value) {
24
+ if (!('eventId' in value) || value['eventId'] === undefined)
25
+ return false;
26
+ if (!('token' in value) || value['token'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function AccountCalendarEntryRsvpDtoFromJSON(json) {
31
+ return AccountCalendarEntryRsvpDtoFromJSONTyped(json, false);
32
+ }
33
+ function AccountCalendarEntryRsvpDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'eventId': json['eventId'],
39
+ 'token': json['token'],
40
+ };
41
+ }
42
+ function AccountCalendarEntryRsvpDtoToJSON(json) {
43
+ return AccountCalendarEntryRsvpDtoToJSONTyped(json, false);
44
+ }
45
+ function AccountCalendarEntryRsvpDtoToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'eventId': value['eventId'],
52
+ 'token': value['token'],
53
+ };
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 { CalendarAttendeeDto } from './CalendarAttendeeDto';
12
+ import type { TimeSpanDto } from './TimeSpanDto';
13
+ /**
14
+ * a time span in which no appointment is planned for the user
15
+ * @export
16
+ * @interface AppointmentBlockerDto
17
+ */
18
+ export interface AppointmentBlockerDto {
19
+ /**
20
+ *
21
+ */
22
+ summary: string;
23
+ /**
24
+ *
25
+ */
26
+ description?: string;
27
+ /**
28
+ * the user whose time is blocked
29
+ */
30
+ userId: string;
31
+ /**
32
+ *
33
+ */
34
+ timeSpan: TimeSpanDto;
35
+ /**
36
+ *
37
+ */
38
+ location?: string;
39
+ /**
40
+ *
41
+ */
42
+ attendees?: Array<CalendarAttendeeDto>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the AppointmentBlockerDto interface.
46
+ */
47
+ export declare function instanceOfAppointmentBlockerDto(value: object): value is AppointmentBlockerDto;
48
+ export declare function AppointmentBlockerDtoFromJSON(json: any): AppointmentBlockerDto;
49
+ export declare function AppointmentBlockerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentBlockerDto;
50
+ export declare function AppointmentBlockerDtoToJSON(json: any): AppointmentBlockerDto;
51
+ export declare function AppointmentBlockerDtoToJSONTyped(value?: AppointmentBlockerDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
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.instanceOfAppointmentBlockerDto = instanceOfAppointmentBlockerDto;
16
+ exports.AppointmentBlockerDtoFromJSON = AppointmentBlockerDtoFromJSON;
17
+ exports.AppointmentBlockerDtoFromJSONTyped = AppointmentBlockerDtoFromJSONTyped;
18
+ exports.AppointmentBlockerDtoToJSON = AppointmentBlockerDtoToJSON;
19
+ exports.AppointmentBlockerDtoToJSONTyped = AppointmentBlockerDtoToJSONTyped;
20
+ var CalendarAttendeeDto_1 = require("./CalendarAttendeeDto");
21
+ var TimeSpanDto_1 = require("./TimeSpanDto");
22
+ /**
23
+ * Check if a given object implements the AppointmentBlockerDto interface.
24
+ */
25
+ function instanceOfAppointmentBlockerDto(value) {
26
+ if (!('summary' in value) || value['summary'] === undefined)
27
+ return false;
28
+ if (!('userId' in value) || value['userId'] === undefined)
29
+ return false;
30
+ if (!('timeSpan' in value) || value['timeSpan'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function AppointmentBlockerDtoFromJSON(json) {
35
+ return AppointmentBlockerDtoFromJSONTyped(json, false);
36
+ }
37
+ function AppointmentBlockerDtoFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'summary': json['summary'],
43
+ 'description': json['description'] == null ? undefined : json['description'],
44
+ 'userId': json['userId'],
45
+ 'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
46
+ 'location': json['location'] == null ? undefined : json['location'],
47
+ 'attendees': json['attendees'] == null ? undefined : (json['attendees'].map(CalendarAttendeeDto_1.CalendarAttendeeDtoFromJSON)),
48
+ };
49
+ }
50
+ function AppointmentBlockerDtoToJSON(json) {
51
+ return AppointmentBlockerDtoToJSONTyped(json, false);
52
+ }
53
+ function AppointmentBlockerDtoToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'summary': value['summary'],
60
+ 'description': value['description'],
61
+ 'userId': value['userId'],
62
+ 'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
63
+ 'location': value['location'],
64
+ 'attendees': value['attendees'] == null ? undefined : (value['attendees'].map(CalendarAttendeeDto_1.CalendarAttendeeDtoToJSON)),
65
+ };
66
+ }
@@ -0,0 +1,37 @@
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
+ * configuration of the appointment booking wizard of a tenant, may differ between logged-in and anonymous requesters
13
+ * @export
14
+ * @interface AppointmentBookingConfigDto
15
+ */
16
+ export interface AppointmentBookingConfigDto {
17
+ /**
18
+ * JSON forms data spec of the form the user fills out
19
+ */
20
+ dataSchema?: string;
21
+ /**
22
+ * JSON forms UI spec of the form the user fills out
23
+ */
24
+ uiSchema?: string;
25
+ /**
26
+ * GeoJSON geometry (or feature) of the area in which appointments can be booked; bookable everywhere if empty
27
+ */
28
+ bookingArea?: any;
29
+ }
30
+ /**
31
+ * Check if a given object implements the AppointmentBookingConfigDto interface.
32
+ */
33
+ export declare function instanceOfAppointmentBookingConfigDto(value: object): value is AppointmentBookingConfigDto;
34
+ export declare function AppointmentBookingConfigDtoFromJSON(json: any): AppointmentBookingConfigDto;
35
+ export declare function AppointmentBookingConfigDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentBookingConfigDto;
36
+ export declare function AppointmentBookingConfigDtoToJSON(json: any): AppointmentBookingConfigDto;
37
+ export declare function AppointmentBookingConfigDtoToJSONTyped(value?: AppointmentBookingConfigDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfAppointmentBookingConfigDto = instanceOfAppointmentBookingConfigDto;
16
+ exports.AppointmentBookingConfigDtoFromJSON = AppointmentBookingConfigDtoFromJSON;
17
+ exports.AppointmentBookingConfigDtoFromJSONTyped = AppointmentBookingConfigDtoFromJSONTyped;
18
+ exports.AppointmentBookingConfigDtoToJSON = AppointmentBookingConfigDtoToJSON;
19
+ exports.AppointmentBookingConfigDtoToJSONTyped = AppointmentBookingConfigDtoToJSONTyped;
20
+ /**
21
+ * Check if a given object implements the AppointmentBookingConfigDto interface.
22
+ */
23
+ function instanceOfAppointmentBookingConfigDto(value) {
24
+ return true;
25
+ }
26
+ function AppointmentBookingConfigDtoFromJSON(json) {
27
+ return AppointmentBookingConfigDtoFromJSONTyped(json, false);
28
+ }
29
+ function AppointmentBookingConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'dataSchema': json['dataSchema'] == null ? undefined : json['dataSchema'],
35
+ 'uiSchema': json['uiSchema'] == null ? undefined : json['uiSchema'],
36
+ 'bookingArea': json['bookingArea'] == null ? undefined : json['bookingArea'],
37
+ };
38
+ }
39
+ function AppointmentBookingConfigDtoToJSON(json) {
40
+ return AppointmentBookingConfigDtoToJSONTyped(json, false);
41
+ }
42
+ function AppointmentBookingConfigDtoToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'dataSchema': value['dataSchema'],
49
+ 'uiSchema': value['uiSchema'],
50
+ 'bookingArea': value['bookingArea'],
51
+ };
52
+ }
@@ -8,9 +8,11 @@
8
8
  * https://openapi-generator.tech
9
9
  * Do not edit the class manually.
10
10
  */
11
+ import type { AppointmentProductDto } from './AppointmentProductDto';
11
12
  import type { TimeSpanDto } from './TimeSpanDto';
12
13
  import type { AddressDto } from './AddressDto';
13
14
  import type { AppointmentStatus } from './AppointmentStatus';
15
+ import type { AppointmentTimeSpanDto } from './AppointmentTimeSpanDto';
14
16
  /**
15
17
  * an appointment a user requested in the tenant portal or a member of the tenant created
16
18
  * @export
@@ -26,11 +28,19 @@ export interface AppointmentDto {
26
28
  */
27
29
  version?: number;
28
30
  /**
29
- *
31
+ * the time spans the legal entity user is available in
32
+ */
33
+ submittedTimeSpan: Array<AppointmentTimeSpanDto>;
34
+ /**
35
+ * the products the appointment is made for
36
+ */
37
+ productIds?: Array<string>;
38
+ /**
39
+ * copies of the products the appointment is made for
30
40
  */
31
- submittedTimeSpan: TimeSpanDto;
41
+ readonly products?: Array<AppointmentProductDto>;
32
42
  /**
33
- * the time span the tenant agreed to, required for the status CONFIRMED and PLANNED
43
+ * the time span the tenant agreed to, required for the status CONFIRMED
34
44
  */
35
45
  confirmedTimeSpan?: TimeSpanDto;
36
46
  /**
@@ -38,13 +48,13 @@ export interface AppointmentDto {
38
48
  */
39
49
  status: AppointmentStatus;
40
50
  /**
41
- * the appointment user the appointment is made for
51
+ * the legal entity user the appointment is made for
42
52
  */
43
- appointmentUserId: string;
53
+ legalEntityUserId: string;
44
54
  /**
45
- * name of the customer of the appointment user, otherwise of its user
55
+ * name of the legal entity of the legal entity user, otherwise of its user
46
56
  */
47
- readonly appointmentUserName?: string;
57
+ readonly legalEntityUserName?: string;
48
58
  /**
49
59
  * the place of the appointment
50
60
  */
@@ -61,4 +71,4 @@ export declare function instanceOfAppointmentDto(value: object): value is Appoin
61
71
  export declare function AppointmentDtoFromJSON(json: any): AppointmentDto;
62
72
  export declare function AppointmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentDto;
63
73
  export declare function AppointmentDtoToJSON(json: any): AppointmentDto;
64
- export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'appointmentUserName' | 'calendarEntryId'> | null, ignoreDiscriminator?: boolean): any;
74
+ export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId'> | null, ignoreDiscriminator?: boolean): any;