@kommerz/ts-client 1.195.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 (133) 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 +95 -15
  4. package/dist/apis/AppointmentPortalApi.js +212 -15
  5. package/dist/apis/AppointmentUsersApi.js +5 -5
  6. package/dist/apis/AppointmentsApi.d.ts +63 -2
  7. package/dist/apis/AppointmentsApi.js +196 -5
  8. package/dist/apis/BankingAccountsApi.js +1 -1
  9. package/dist/apis/BankingRegistrationsApi.js +1 -1
  10. package/dist/apis/CustomersApi.d.ts +0 -4
  11. package/dist/apis/CustomersApi.js +0 -3
  12. package/dist/apis/FileDirectorySharesApi.d.ts +4 -4
  13. package/dist/apis/FileDirectorySharesApi.js +8 -8
  14. package/dist/apis/FormsPortalApi.d.ts +6 -4
  15. package/dist/apis/FormsPortalApi.js +10 -8
  16. package/dist/apis/InvoicePortalApi.d.ts +2 -2
  17. package/dist/apis/InvoicePortalApi.js +4 -4
  18. package/dist/apis/LegalEntityUsersApi.d.ts +121 -0
  19. package/dist/apis/LegalEntityUsersApi.js +387 -0
  20. package/dist/apis/MapsApi.d.ts +43 -0
  21. package/dist/apis/MapsApi.js +127 -0
  22. package/dist/apis/NotificationTargetsApi.js +1 -1
  23. package/dist/apis/NotificationsAcksApi.js +2 -2
  24. package/dist/apis/NotificationsApi.js +3 -3
  25. package/dist/apis/PresenceEntriesApi.js +1 -1
  26. package/dist/apis/TenantPortalUploadsApi.d.ts +166 -0
  27. package/dist/apis/TenantPortalUploadsApi.js +418 -0
  28. package/dist/apis/TimeTrackingCalendarApi.js +2 -2
  29. package/dist/apis/TimeTrackingCalendarExportApi.js +1 -1
  30. package/dist/apis/UsersMeApi.d.ts +58 -9
  31. package/dist/apis/UsersMeApi.js +103 -14
  32. package/dist/apis/UsersMeBookmarksApi.d.ts +99 -0
  33. package/dist/apis/UsersMeBookmarksApi.js +324 -0
  34. package/dist/apis/index.d.ts +3 -2
  35. package/dist/apis/index.js +3 -2
  36. package/dist/models/AccountCalendarEntryDto.d.ts +6 -1
  37. package/dist/models/AccountCalendarEntryDto.js +3 -0
  38. package/dist/models/AccountCalendarEntryRsvpDto.d.ts +33 -0
  39. package/dist/models/AccountCalendarEntryRsvpDto.js +54 -0
  40. package/dist/models/AddressDto.d.ts +4 -0
  41. package/dist/models/AddressDto.js +2 -0
  42. package/dist/models/AppointmentBlockerDto.d.ts +59 -0
  43. package/dist/models/AppointmentBlockerDto.js +70 -0
  44. package/dist/models/AppointmentBookingConfigDto.d.ts +66 -0
  45. package/dist/models/AppointmentBookingConfigDto.js +71 -0
  46. package/dist/models/AppointmentDto.d.ts +30 -8
  47. package/dist/models/AppointmentDto.js +16 -6
  48. package/dist/models/AppointmentEmailTemplateDto.d.ts +33 -0
  49. package/dist/models/AppointmentEmailTemplateDto.js +50 -0
  50. package/dist/models/AppointmentEmailTemplatesDto.d.ts +58 -0
  51. package/dist/models/AppointmentEmailTemplatesDto.js +63 -0
  52. package/dist/models/AppointmentPortalDto.d.ts +8 -2
  53. package/dist/models/AppointmentPortalDto.js +6 -2
  54. package/dist/models/AppointmentProductDto.d.ts +45 -0
  55. package/dist/models/AppointmentProductDto.js +59 -0
  56. package/dist/models/AppointmentProductSelectionDto.d.ts +33 -0
  57. package/dist/models/AppointmentProductSelectionDto.js +54 -0
  58. package/dist/models/AppointmentSlotDistance.d.ts +3 -1
  59. package/dist/models/AppointmentSlotDistance.js +3 -1
  60. package/dist/models/AppointmentSlotDto.d.ts +5 -1
  61. package/dist/models/AppointmentSlotDto.js +4 -0
  62. package/dist/models/AppointmentStatus.d.ts +9 -3
  63. package/dist/models/AppointmentStatus.js +9 -3
  64. package/dist/models/AppointmentSubmissionDto.d.ts +15 -2
  65. package/dist/models/AppointmentSubmissionDto.js +7 -0
  66. package/dist/models/AppointmentTimeSpanDto.d.ts +39 -0
  67. package/dist/models/AppointmentTimeSpanDto.js +58 -0
  68. package/dist/models/AppointmentTimeSpanStatus.d.ts +35 -0
  69. package/dist/models/AppointmentTimeSpanStatus.js +61 -0
  70. package/dist/models/AttendedCalendarEntryDto.d.ts +10 -2
  71. package/dist/models/AttendedCalendarEntryDto.js +4 -0
  72. package/dist/models/BookmarkDto.d.ts +50 -0
  73. package/dist/models/BookmarkDto.js +60 -0
  74. package/dist/models/CalendarEntryTypeDto.d.ts +4 -0
  75. package/dist/models/CalendarEntryTypeDto.js +2 -0
  76. package/dist/models/CalendarPortalEventDto.d.ts +4 -0
  77. package/dist/models/CalendarPortalEventDto.js +4 -0
  78. package/dist/models/DavAddressBookDto.d.ts +29 -0
  79. package/dist/models/DavAddressBookDto.js +50 -0
  80. package/dist/models/DavCalendarDto.d.ts +1 -1
  81. package/dist/models/DavResourceDto.d.ts +45 -0
  82. package/dist/models/DavResourceDto.js +64 -0
  83. package/dist/models/DavResourceWriteDto.d.ts +29 -0
  84. package/dist/models/DavResourceWriteDto.js +50 -0
  85. package/dist/models/EntityType.d.ts +3 -1
  86. package/dist/models/EntityType.js +3 -1
  87. package/dist/models/FormsPortalFileUploadDto.d.ts +37 -0
  88. package/dist/models/FormsPortalFileUploadDto.js +54 -0
  89. package/dist/models/FormsPortalLegalEntityUserRequestDto.d.ts +29 -0
  90. package/dist/models/FormsPortalLegalEntityUserRequestDto.js +50 -0
  91. package/dist/models/FormsPortalSpecDto.d.ts +5 -0
  92. package/dist/models/FormsPortalSpecDto.js +5 -0
  93. package/dist/models/FormsPortalSubmissionDto.d.ts +29 -0
  94. package/dist/models/FormsPortalSubmissionDto.js +50 -0
  95. package/dist/models/FormsPortalSubmitDto.d.ts +4 -0
  96. package/dist/models/FormsPortalSubmitDto.js +2 -0
  97. package/dist/models/GeoLocationDto.d.ts +42 -0
  98. package/dist/models/GeoLocationDto.js +55 -0
  99. package/dist/models/GetAllLegalEntityUsers200Response.d.ts +42 -0
  100. package/dist/models/GetAllLegalEntityUsers200Response.js +59 -0
  101. package/dist/models/GetMyAppointments200Response.d.ts +42 -0
  102. package/dist/models/GetMyAppointments200Response.js +59 -0
  103. package/dist/models/GetMyBookmarks200Response.d.ts +42 -0
  104. package/dist/models/GetMyBookmarks200Response.js +59 -0
  105. package/dist/models/KanbanBoardDto.d.ts +12 -0
  106. package/dist/models/KanbanBoardDto.js +6 -0
  107. package/dist/models/LegalEntityUserDto.d.ts +71 -0
  108. package/dist/models/LegalEntityUserDto.js +63 -0
  109. package/dist/models/LocationGeocodeQueryDto.d.ts +29 -0
  110. package/dist/models/LocationGeocodeQueryDto.js +50 -0
  111. package/dist/models/Permissions.d.ts +5 -4
  112. package/dist/models/Permissions.js +5 -4
  113. package/dist/models/PublicTenantPageDto.d.ts +4 -0
  114. package/dist/models/PublicTenantPageDto.js +4 -0
  115. package/dist/models/RoutePlanningAppointmentResultDto.d.ts +47 -0
  116. package/dist/models/RoutePlanningAppointmentResultDto.js +62 -0
  117. package/dist/models/RoutePlanningOutcome.d.ts +35 -0
  118. package/dist/models/RoutePlanningOutcome.js +61 -0
  119. package/dist/models/RoutePlanningResultDto.d.ts +38 -0
  120. package/dist/models/RoutePlanningResultDto.js +57 -0
  121. package/dist/models/RoutingConfigDto.d.ts +82 -13
  122. package/dist/models/RoutingConfigDto.js +51 -12
  123. package/dist/models/TenantConfigurationDto.d.ts +4 -0
  124. package/dist/models/TenantConfigurationDto.js +2 -0
  125. package/dist/models/UiConfigurationDto.d.ts +9 -0
  126. package/dist/models/UiConfigurationDto.js +5 -0
  127. package/dist/models/UiModuleCategory.d.ts +29 -0
  128. package/dist/models/UiModuleCategory.js +55 -0
  129. package/dist/models/UserDto.d.ts +5 -1
  130. package/dist/models/UserDto.js +1 -0
  131. package/dist/models/index.d.ts +24 -5
  132. package/dist/models/index.js +24 -5
  133. package/package.json +1 -1
@@ -0,0 +1,45 @@
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
+ * a product an appointment can be made for; within an appointment a copy of the product as it was when it was assigned
13
+ * @export
14
+ * @interface AppointmentProductDto
15
+ */
16
+ export interface AppointmentProductDto {
17
+ /**
18
+ *
19
+ */
20
+ productId: string;
21
+ /**
22
+ *
23
+ */
24
+ name: string;
25
+ /**
26
+ * net price; empty in the tenant portal while the tenant does not show prices
27
+ */
28
+ price?: number;
29
+ /**
30
+ * html formatted product description
31
+ */
32
+ description?: string;
33
+ /**
34
+ * how often the product is booked; multiplies its duration
35
+ */
36
+ readonly quantity?: number;
37
+ }
38
+ /**
39
+ * Check if a given object implements the AppointmentProductDto interface.
40
+ */
41
+ export declare function instanceOfAppointmentProductDto(value: object): value is AppointmentProductDto;
42
+ export declare function AppointmentProductDtoFromJSON(json: any): AppointmentProductDto;
43
+ export declare function AppointmentProductDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentProductDto;
44
+ export declare function AppointmentProductDtoToJSON(json: any): AppointmentProductDto;
45
+ export declare function AppointmentProductDtoToJSONTyped(value?: Omit<AppointmentProductDto, 'quantity'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
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.instanceOfAppointmentProductDto = instanceOfAppointmentProductDto;
16
+ exports.AppointmentProductDtoFromJSON = AppointmentProductDtoFromJSON;
17
+ exports.AppointmentProductDtoFromJSONTyped = AppointmentProductDtoFromJSONTyped;
18
+ exports.AppointmentProductDtoToJSON = AppointmentProductDtoToJSON;
19
+ exports.AppointmentProductDtoToJSONTyped = AppointmentProductDtoToJSONTyped;
20
+ /**
21
+ * Check if a given object implements the AppointmentProductDto interface.
22
+ */
23
+ function instanceOfAppointmentProductDto(value) {
24
+ if (!('productId' in value) || value['productId'] === undefined)
25
+ return false;
26
+ if (!('name' in value) || value['name'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function AppointmentProductDtoFromJSON(json) {
31
+ return AppointmentProductDtoFromJSONTyped(json, false);
32
+ }
33
+ function AppointmentProductDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'productId': json['productId'],
39
+ 'name': json['name'],
40
+ 'price': json['price'] == null ? undefined : json['price'],
41
+ 'description': json['description'] == null ? undefined : json['description'],
42
+ 'quantity': json['quantity'] == null ? undefined : json['quantity'],
43
+ };
44
+ }
45
+ function AppointmentProductDtoToJSON(json) {
46
+ return AppointmentProductDtoToJSONTyped(json, false);
47
+ }
48
+ function AppointmentProductDtoToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'productId': value['productId'],
55
+ 'name': value['name'],
56
+ 'price': value['price'],
57
+ 'description': value['description'],
58
+ };
59
+ }
@@ -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
+ * a bookable product the user selected for an appointment
13
+ * @export
14
+ * @interface AppointmentProductSelectionDto
15
+ */
16
+ export interface AppointmentProductSelectionDto {
17
+ /**
18
+ *
19
+ */
20
+ productId: string;
21
+ /**
22
+ *
23
+ */
24
+ quantity: number;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AppointmentProductSelectionDto interface.
28
+ */
29
+ export declare function instanceOfAppointmentProductSelectionDto(value: object): value is AppointmentProductSelectionDto;
30
+ export declare function AppointmentProductSelectionDtoFromJSON(json: any): AppointmentProductSelectionDto;
31
+ export declare function AppointmentProductSelectionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentProductSelectionDto;
32
+ export declare function AppointmentProductSelectionDtoToJSON(json: any): AppointmentProductSelectionDto;
33
+ export declare function AppointmentProductSelectionDtoToJSONTyped(value?: AppointmentProductSelectionDto | 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.instanceOfAppointmentProductSelectionDto = instanceOfAppointmentProductSelectionDto;
16
+ exports.AppointmentProductSelectionDtoFromJSON = AppointmentProductSelectionDtoFromJSON;
17
+ exports.AppointmentProductSelectionDtoFromJSONTyped = AppointmentProductSelectionDtoFromJSONTyped;
18
+ exports.AppointmentProductSelectionDtoToJSON = AppointmentProductSelectionDtoToJSON;
19
+ exports.AppointmentProductSelectionDtoToJSONTyped = AppointmentProductSelectionDtoToJSONTyped;
20
+ /**
21
+ * Check if a given object implements the AppointmentProductSelectionDto interface.
22
+ */
23
+ function instanceOfAppointmentProductSelectionDto(value) {
24
+ if (!('productId' in value) || value['productId'] === undefined)
25
+ return false;
26
+ if (!('quantity' in value) || value['quantity'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function AppointmentProductSelectionDtoFromJSON(json) {
31
+ return AppointmentProductSelectionDtoFromJSONTyped(json, false);
32
+ }
33
+ function AppointmentProductSelectionDtoFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'productId': json['productId'],
39
+ 'quantity': json['quantity'],
40
+ };
41
+ }
42
+ function AppointmentProductSelectionDtoToJSON(json) {
43
+ return AppointmentProductSelectionDtoToJSONTyped(json, false);
44
+ }
45
+ function AppointmentProductSelectionDtoToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'productId': value['productId'],
52
+ 'quantity': value['quantity'],
53
+ };
54
+ }
@@ -9,7 +9,9 @@
9
9
  * Do not edit the class manually.
10
10
  */
11
11
  /**
12
- * estimated distance between the requester and the slot
12
+ * how near the requester is to the nearest place the slot is at: the location of its calendar entry and the appointments planned within it.
13
+ * CLOSE at the same stop by the routing configuration's sameDistance and sameDrivingTime, NEAR within its nearDrivingTime by car, FAR beyond. Missing when the request has no location, the slot has no place yet or routing is not configured.
14
+ *
13
15
  * @export
14
16
  */
15
17
  export declare const AppointmentSlotDistance: {
@@ -19,7 +19,9 @@ exports.AppointmentSlotDistanceFromJSONTyped = AppointmentSlotDistanceFromJSONTy
19
19
  exports.AppointmentSlotDistanceToJSON = AppointmentSlotDistanceToJSON;
20
20
  exports.AppointmentSlotDistanceToJSONTyped = AppointmentSlotDistanceToJSONTyped;
21
21
  /**
22
- * estimated distance between the requester and the slot
22
+ * how near the requester is to the nearest place the slot is at: the location of its calendar entry and the appointments planned within it.
23
+ * CLOSE at the same stop by the routing configuration's sameDistance and sameDrivingTime, NEAR within its nearDrivingTime by car, FAR beyond. Missing when the request has no location, the slot has no place yet or routing is not configured.
24
+ *
23
25
  * @export
24
26
  */
25
27
  exports.AppointmentSlotDistance = {
@@ -11,7 +11,7 @@
11
11
  import type { TimeSpanDto } from './TimeSpanDto';
12
12
  import type { AppointmentSlotDistance } from './AppointmentSlotDistance';
13
13
  /**
14
- * a bookable time slot of a tenant. Its time span is the one of the calendar entry, given in the time zone of the tenant.
14
+ * a bookable time slot of a tenant, given in the time zone of the tenant. Bookable calendar entries whose time spans overlap or touch are joined into one slot with the name and description of the earliest of them.
15
15
  * @export
16
16
  * @interface AppointmentSlotDto
17
17
  */
@@ -32,6 +32,10 @@ export interface AppointmentSlotDto {
32
32
  *
33
33
  */
34
34
  distance?: AppointmentSlotDistance;
35
+ /**
36
+ * whether every joined calendar entry of the slot is fully booked, i.e. booked entries leave none of its time free, or the planner would consider a new appointment on none of its days, because the work week already has the tenant's limit of planned, confirmed and candidate appointments, or the day already has the maximum number of stops and the appointment would need another one (the requester's place is not at one of them or unknown)
37
+ */
38
+ fullyBooked: boolean;
35
39
  }
36
40
  /**
37
41
  * Check if a given object implements the AppointmentSlotDto interface.
@@ -27,6 +27,8 @@ function instanceOfAppointmentSlotDto(value) {
27
27
  return false;
28
28
  if (!('name' in value) || value['name'] === undefined)
29
29
  return false;
30
+ if (!('fullyBooked' in value) || value['fullyBooked'] === undefined)
31
+ return false;
30
32
  return true;
31
33
  }
32
34
  function AppointmentSlotDtoFromJSON(json) {
@@ -41,6 +43,7 @@ function AppointmentSlotDtoFromJSONTyped(json, ignoreDiscriminator) {
41
43
  'name': json['name'],
42
44
  'description': json['description'] == null ? undefined : json['description'],
43
45
  'distance': json['distance'] == null ? undefined : (0, AppointmentSlotDistance_1.AppointmentSlotDistanceFromJSON)(json['distance']),
46
+ 'fullyBooked': json['fullyBooked'],
44
47
  };
45
48
  }
46
49
  function AppointmentSlotDtoToJSON(json) {
@@ -56,5 +59,6 @@ function AppointmentSlotDtoToJSONTyped(value, ignoreDiscriminator) {
56
59
  'name': value['name'],
57
60
  'description': value['description'],
58
61
  'distance': (0, AppointmentSlotDistance_1.AppointmentSlotDistanceToJSON)(value['distance']),
62
+ 'fullyBooked': value['fullyBooked'],
59
63
  };
60
64
  }
@@ -9,14 +9,20 @@
9
9
  * Do not edit the class manually.
10
10
  */
11
11
  /**
12
+ * NEW: not planned yet; IN_PLANNING: a candidate day is announced; WAITING_FOR_CUSTOMER: a time is planned and
13
+ * waits for the confirmation of the requester; CONFIRMED: the requester confirmed the planned time;
14
+ * CANCELLED: the appointment was cancelled (reserved, not set by the application yet)
12
15
  *
13
16
  * @export
14
17
  */
15
18
  export declare const AppointmentStatus: {
16
- readonly Unconfirmed: "UNCONFIRMED";
17
- readonly Confirmed: "CONFIRMED";
19
+ readonly New: "NEW";
20
+ readonly InPlanning: "IN_PLANNING";
21
+ readonly WaitingForCustomer: "WAITING_FOR_CUSTOMER";
18
22
  readonly Rejected: "REJECTED";
19
- readonly Planned: "PLANNED";
23
+ readonly RejectedByCustomer: "REJECTED_BY_CUSTOMER";
24
+ readonly Confirmed: "CONFIRMED";
25
+ readonly Cancelled: "CANCELLED";
20
26
  };
21
27
  export type AppointmentStatus = typeof AppointmentStatus[keyof typeof AppointmentStatus];
22
28
  export declare function instanceOfAppointmentStatus(value: any): boolean;
@@ -19,14 +19,20 @@ exports.AppointmentStatusFromJSONTyped = AppointmentStatusFromJSONTyped;
19
19
  exports.AppointmentStatusToJSON = AppointmentStatusToJSON;
20
20
  exports.AppointmentStatusToJSONTyped = AppointmentStatusToJSONTyped;
21
21
  /**
22
+ * NEW: not planned yet; IN_PLANNING: a candidate day is announced; WAITING_FOR_CUSTOMER: a time is planned and
23
+ * waits for the confirmation of the requester; CONFIRMED: the requester confirmed the planned time;
24
+ * CANCELLED: the appointment was cancelled (reserved, not set by the application yet)
22
25
  *
23
26
  * @export
24
27
  */
25
28
  exports.AppointmentStatus = {
26
- Unconfirmed: 'UNCONFIRMED',
27
- Confirmed: 'CONFIRMED',
29
+ New: 'NEW',
30
+ InPlanning: 'IN_PLANNING',
31
+ WaitingForCustomer: 'WAITING_FOR_CUSTOMER',
28
32
  Rejected: 'REJECTED',
29
- Planned: 'PLANNED',
33
+ RejectedByCustomer: 'REJECTED_BY_CUSTOMER',
34
+ Confirmed: 'CONFIRMED',
35
+ Cancelled: 'CANCELLED',
30
36
  };
31
37
  function instanceOfAppointmentStatus(value) {
32
38
  for (var key in exports.AppointmentStatus) {
@@ -8,10 +8,11 @@
8
8
  * https://openapi-generator.tech
9
9
  * Do not edit the class manually.
10
10
  */
11
+ import type { AppointmentProductSelectionDto } from './AppointmentProductSelectionDto';
11
12
  import type { TimeSpanDto } from './TimeSpanDto';
12
13
  import type { AddressDto } from './AddressDto';
13
14
  /**
14
- * the time spans a user requests in the tenant portal, one appointment each, at an optional address
15
+ * the time spans a user is available in, requested in the tenant portal as one appointment at an optional address
15
16
  * @export
16
17
  * @interface AppointmentSubmissionDto
17
18
  */
@@ -21,9 +22,21 @@ export interface AppointmentSubmissionDto {
21
22
  */
22
23
  timeSpans: Array<TimeSpanDto>;
23
24
  /**
24
- * the place of the appointments
25
+ * the products the user selected, out of the bookable products of the tenant
26
+ */
27
+ products?: Array<AppointmentProductSelectionDto>;
28
+ /**
29
+ * the place of the appointment
25
30
  */
26
31
  address?: AddressDto;
32
+ /**
33
+ * the data the user entered into the form of the booking configuration
34
+ */
35
+ formData?: any;
36
+ /**
37
+ * the files the user uploaded for the appointment through the tenant portal uploads of the service AppointmentPortal
38
+ */
39
+ fileIds?: Array<string>;
27
40
  }
28
41
  /**
29
42
  * Check if a given object implements the AppointmentSubmissionDto interface.
@@ -17,6 +17,7 @@ exports.AppointmentSubmissionDtoFromJSON = AppointmentSubmissionDtoFromJSON;
17
17
  exports.AppointmentSubmissionDtoFromJSONTyped = AppointmentSubmissionDtoFromJSONTyped;
18
18
  exports.AppointmentSubmissionDtoToJSON = AppointmentSubmissionDtoToJSON;
19
19
  exports.AppointmentSubmissionDtoToJSONTyped = AppointmentSubmissionDtoToJSONTyped;
20
+ var AppointmentProductSelectionDto_1 = require("./AppointmentProductSelectionDto");
20
21
  var TimeSpanDto_1 = require("./TimeSpanDto");
21
22
  var AddressDto_1 = require("./AddressDto");
22
23
  /**
@@ -36,7 +37,10 @@ function AppointmentSubmissionDtoFromJSONTyped(json, ignoreDiscriminator) {
36
37
  }
37
38
  return {
38
39
  'timeSpans': (json['timeSpans'].map(TimeSpanDto_1.TimeSpanDtoFromJSON)),
40
+ 'products': json['products'] == null ? undefined : (json['products'].map(AppointmentProductSelectionDto_1.AppointmentProductSelectionDtoFromJSON)),
39
41
  'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
42
+ 'formData': json['formData'] == null ? undefined : json['formData'],
43
+ 'fileIds': json['fileIds'] == null ? undefined : json['fileIds'],
40
44
  };
41
45
  }
42
46
  function AppointmentSubmissionDtoToJSON(json) {
@@ -49,6 +53,9 @@ function AppointmentSubmissionDtoToJSONTyped(value, ignoreDiscriminator) {
49
53
  }
50
54
  return {
51
55
  'timeSpans': (value['timeSpans'].map(TimeSpanDto_1.TimeSpanDtoToJSON)),
56
+ 'products': value['products'] == null ? undefined : (value['products'].map(AppointmentProductSelectionDto_1.AppointmentProductSelectionDtoToJSON)),
52
57
  'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
58
+ 'formData': value['formData'],
59
+ 'fileIds': value['fileIds'],
53
60
  };
54
61
  }
@@ -0,0 +1,39 @@
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 { AppointmentTimeSpanStatus } from './AppointmentTimeSpanStatus';
12
+ import type { TimeSpanDto } from './TimeSpanDto';
13
+ /**
14
+ * a time span the legal entity user is available in, together with its planning state
15
+ * @export
16
+ * @interface AppointmentTimeSpanDto
17
+ */
18
+ export interface AppointmentTimeSpanDto {
19
+ /**
20
+ *
21
+ */
22
+ timeSpan: TimeSpanDto;
23
+ /**
24
+ *
25
+ */
26
+ status: AppointmentTimeSpanStatus;
27
+ /**
28
+ * the day the tentative plan selected for the time span, in the time zone of the tenant; kept when the time span gets planned
29
+ */
30
+ candidateDay?: string;
31
+ }
32
+ /**
33
+ * Check if a given object implements the AppointmentTimeSpanDto interface.
34
+ */
35
+ export declare function instanceOfAppointmentTimeSpanDto(value: object): value is AppointmentTimeSpanDto;
36
+ export declare function AppointmentTimeSpanDtoFromJSON(json: any): AppointmentTimeSpanDto;
37
+ export declare function AppointmentTimeSpanDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentTimeSpanDto;
38
+ export declare function AppointmentTimeSpanDtoToJSON(json: any): AppointmentTimeSpanDto;
39
+ export declare function AppointmentTimeSpanDtoToJSONTyped(value?: AppointmentTimeSpanDto | null, ignoreDiscriminator?: boolean): 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.instanceOfAppointmentTimeSpanDto = instanceOfAppointmentTimeSpanDto;
16
+ exports.AppointmentTimeSpanDtoFromJSON = AppointmentTimeSpanDtoFromJSON;
17
+ exports.AppointmentTimeSpanDtoFromJSONTyped = AppointmentTimeSpanDtoFromJSONTyped;
18
+ exports.AppointmentTimeSpanDtoToJSON = AppointmentTimeSpanDtoToJSON;
19
+ exports.AppointmentTimeSpanDtoToJSONTyped = AppointmentTimeSpanDtoToJSONTyped;
20
+ var AppointmentTimeSpanStatus_1 = require("./AppointmentTimeSpanStatus");
21
+ var TimeSpanDto_1 = require("./TimeSpanDto");
22
+ /**
23
+ * Check if a given object implements the AppointmentTimeSpanDto interface.
24
+ */
25
+ function instanceOfAppointmentTimeSpanDto(value) {
26
+ if (!('timeSpan' in value) || value['timeSpan'] === undefined)
27
+ return false;
28
+ if (!('status' in value) || value['status'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function AppointmentTimeSpanDtoFromJSON(json) {
33
+ return AppointmentTimeSpanDtoFromJSONTyped(json, false);
34
+ }
35
+ function AppointmentTimeSpanDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
41
+ 'status': (0, AppointmentTimeSpanStatus_1.AppointmentTimeSpanStatusFromJSON)(json['status']),
42
+ 'candidateDay': json['candidateDay'] == null ? undefined : json['candidateDay'],
43
+ };
44
+ }
45
+ function AppointmentTimeSpanDtoToJSON(json) {
46
+ return AppointmentTimeSpanDtoToJSONTyped(json, false);
47
+ }
48
+ function AppointmentTimeSpanDtoToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
55
+ 'status': (0, AppointmentTimeSpanStatus_1.AppointmentTimeSpanStatusToJSON)(value['status']),
56
+ 'candidateDay': value['candidateDay'],
57
+ };
58
+ }
@@ -0,0 +1,35 @@
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
+ * planning state of a submitted time span:
13
+ * * UNCONFIRMED - has never been planned
14
+ * * CANDIDATE - selected as possible candidate
15
+ * * PLANNED - selected, the final time span was calculated
16
+ * * REJECTED - rejected by the planner
17
+ * * REJECTED_BY_CUSTOMER - rejected by the customer
18
+ * * CONFIRMED - confirmed by the customer
19
+ *
20
+ * @export
21
+ */
22
+ export declare const AppointmentTimeSpanStatus: {
23
+ readonly Unconfirmed: "UNCONFIRMED";
24
+ readonly Candidate: "CANDIDATE";
25
+ readonly Planned: "PLANNED";
26
+ readonly Rejected: "REJECTED";
27
+ readonly RejectedByCustomer: "REJECTED_BY_CUSTOMER";
28
+ readonly Confirmed: "CONFIRMED";
29
+ };
30
+ export type AppointmentTimeSpanStatus = typeof AppointmentTimeSpanStatus[keyof typeof AppointmentTimeSpanStatus];
31
+ export declare function instanceOfAppointmentTimeSpanStatus(value: any): boolean;
32
+ export declare function AppointmentTimeSpanStatusFromJSON(json: any): AppointmentTimeSpanStatus;
33
+ export declare function AppointmentTimeSpanStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentTimeSpanStatus;
34
+ export declare function AppointmentTimeSpanStatusToJSON(value?: AppointmentTimeSpanStatus | null): any;
35
+ export declare function AppointmentTimeSpanStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): AppointmentTimeSpanStatus;
@@ -0,0 +1,61 @@
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.AppointmentTimeSpanStatus = void 0;
16
+ exports.instanceOfAppointmentTimeSpanStatus = instanceOfAppointmentTimeSpanStatus;
17
+ exports.AppointmentTimeSpanStatusFromJSON = AppointmentTimeSpanStatusFromJSON;
18
+ exports.AppointmentTimeSpanStatusFromJSONTyped = AppointmentTimeSpanStatusFromJSONTyped;
19
+ exports.AppointmentTimeSpanStatusToJSON = AppointmentTimeSpanStatusToJSON;
20
+ exports.AppointmentTimeSpanStatusToJSONTyped = AppointmentTimeSpanStatusToJSONTyped;
21
+ /**
22
+ * planning state of a submitted time span:
23
+ * * UNCONFIRMED - has never been planned
24
+ * * CANDIDATE - selected as possible candidate
25
+ * * PLANNED - selected, the final time span was calculated
26
+ * * REJECTED - rejected by the planner
27
+ * * REJECTED_BY_CUSTOMER - rejected by the customer
28
+ * * CONFIRMED - confirmed by the customer
29
+ *
30
+ * @export
31
+ */
32
+ exports.AppointmentTimeSpanStatus = {
33
+ Unconfirmed: 'UNCONFIRMED',
34
+ Candidate: 'CANDIDATE',
35
+ Planned: 'PLANNED',
36
+ Rejected: 'REJECTED',
37
+ RejectedByCustomer: 'REJECTED_BY_CUSTOMER',
38
+ Confirmed: 'CONFIRMED',
39
+ };
40
+ function instanceOfAppointmentTimeSpanStatus(value) {
41
+ for (var key in exports.AppointmentTimeSpanStatus) {
42
+ if (Object.prototype.hasOwnProperty.call(exports.AppointmentTimeSpanStatus, key)) {
43
+ if (exports.AppointmentTimeSpanStatus[key] === value) {
44
+ return true;
45
+ }
46
+ }
47
+ }
48
+ return false;
49
+ }
50
+ function AppointmentTimeSpanStatusFromJSON(json) {
51
+ return AppointmentTimeSpanStatusFromJSONTyped(json, false);
52
+ }
53
+ function AppointmentTimeSpanStatusFromJSONTyped(json, ignoreDiscriminator) {
54
+ return json;
55
+ }
56
+ function AppointmentTimeSpanStatusToJSON(value) {
57
+ return value;
58
+ }
59
+ function AppointmentTimeSpanStatusToJSONTyped(value, ignoreDiscriminator) {
60
+ return value;
61
+ }
@@ -11,7 +11,7 @@
11
11
  import type { ParticipantStatus } from './ParticipantStatus';
12
12
  import type { TimeSpanDto } from './TimeSpanDto';
13
13
  /**
14
- * a calendar entry as one of its attendees sees it outside of the tenant
14
+ * a calendar entry as its owner or one of its attendees sees it outside of the tenant
15
15
  * @export
16
16
  * @interface AttendedCalendarEntryDto
17
17
  */
@@ -32,6 +32,14 @@ export interface AttendedCalendarEntryDto {
32
32
  *
33
33
  */
34
34
  location?: string;
35
+ /**
36
+ * latitude of the location (WGS 84); not part of the iCal data
37
+ */
38
+ locationLat?: number;
39
+ /**
40
+ * longitude of the location (WGS 84); not part of the iCal data
41
+ */
42
+ locationLong?: number;
35
43
  /**
36
44
  *
37
45
  */
@@ -49,7 +57,7 @@ export interface AttendedCalendarEntryDto {
49
57
  */
50
58
  typeColorCode?: string;
51
59
  /**
52
- * the answer of the attendee
60
+ * the answer of the attendee, ACCEPTED for an owner who is no attendee
53
61
  */
54
62
  status: ParticipantStatus;
55
63
  }
@@ -47,6 +47,8 @@ function AttendedCalendarEntryDtoFromJSONTyped(json, ignoreDiscriminator) {
47
47
  'summary': json['summary'],
48
48
  'description': json['description'] == null ? undefined : json['description'],
49
49
  'location': json['location'] == null ? undefined : json['location'],
50
+ 'locationLat': json['locationLat'] == null ? undefined : json['locationLat'],
51
+ 'locationLong': json['locationLong'] == null ? undefined : json['locationLong'],
50
52
  'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
51
53
  'recurrenceRule': json['recurrenceRule'] == null ? undefined : json['recurrenceRule'],
52
54
  'typeName': json['typeName'],
@@ -67,6 +69,8 @@ function AttendedCalendarEntryDtoToJSONTyped(value, ignoreDiscriminator) {
67
69
  'summary': value['summary'],
68
70
  'description': value['description'],
69
71
  'location': value['location'],
72
+ 'locationLat': value['locationLat'],
73
+ 'locationLong': value['locationLong'],
70
74
  'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
71
75
  'recurrenceRule': value['recurrenceRule'],
72
76
  'typeName': value['typeName'],