@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,70 @@
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
+ 'locationLat': json['locationLat'] == null ? undefined : json['locationLat'],
48
+ 'locationLong': json['locationLong'] == null ? undefined : json['locationLong'],
49
+ 'attendees': json['attendees'] == null ? undefined : (json['attendees'].map(CalendarAttendeeDto_1.CalendarAttendeeDtoFromJSON)),
50
+ };
51
+ }
52
+ function AppointmentBlockerDtoToJSON(json) {
53
+ return AppointmentBlockerDtoToJSONTyped(json, false);
54
+ }
55
+ function AppointmentBlockerDtoToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'summary': value['summary'],
62
+ 'description': value['description'],
63
+ 'userId': value['userId'],
64
+ 'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
65
+ 'location': value['location'],
66
+ 'locationLat': value['locationLat'],
67
+ 'locationLong': value['locationLong'],
68
+ 'attendees': value['attendees'] == null ? undefined : (value['attendees'].map(CalendarAttendeeDto_1.CalendarAttendeeDtoToJSON)),
69
+ };
70
+ }
@@ -0,0 +1,66 @@
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 { FormsPortalFileUploadDto } from './FormsPortalFileUploadDto';
12
+ /**
13
+ * configuration of the appointment booking wizard of a tenant, may differ between logged-in and anonymous requesters
14
+ * @export
15
+ * @interface AppointmentBookingConfigDto
16
+ */
17
+ export interface AppointmentBookingConfigDto {
18
+ /**
19
+ * JSON forms data spec of the form the user fills out
20
+ */
21
+ dataSchema?: string;
22
+ /**
23
+ * JSON forms UI spec of the form the user fills out
24
+ */
25
+ uiSchema?: string;
26
+ /**
27
+ * GeoJSON geometry (or feature) of the area in which appointments can be booked; bookable everywhere if empty
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;
58
+ }
59
+ /**
60
+ * Check if a given object implements the AppointmentBookingConfigDto interface.
61
+ */
62
+ export declare function instanceOfAppointmentBookingConfigDto(value: object): value is AppointmentBookingConfigDto;
63
+ export declare function AppointmentBookingConfigDtoFromJSON(json: any): AppointmentBookingConfigDto;
64
+ export declare function AppointmentBookingConfigDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentBookingConfigDto;
65
+ export declare function AppointmentBookingConfigDtoToJSON(json: any): AppointmentBookingConfigDto;
66
+ export declare function AppointmentBookingConfigDtoToJSONTyped(value?: AppointmentBookingConfigDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
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
+ var FormsPortalFileUploadDto_1 = require("./FormsPortalFileUploadDto");
21
+ /**
22
+ * Check if a given object implements the AppointmentBookingConfigDto interface.
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;
29
+ return true;
30
+ }
31
+ function AppointmentBookingConfigDtoFromJSON(json) {
32
+ return AppointmentBookingConfigDtoFromJSONTyped(json, false);
33
+ }
34
+ function AppointmentBookingConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'dataSchema': json['dataSchema'] == null ? undefined : json['dataSchema'],
40
+ 'uiSchema': json['uiSchema'] == null ? undefined : json['uiSchema'],
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'],
49
+ };
50
+ }
51
+ function AppointmentBookingConfigDtoToJSON(json) {
52
+ return AppointmentBookingConfigDtoToJSONTyped(json, false);
53
+ }
54
+ function AppointmentBookingConfigDtoToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'dataSchema': value['dataSchema'],
61
+ 'uiSchema': value['uiSchema'],
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'],
70
+ };
71
+ }
@@ -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
30
36
  */
31
- submittedTimeSpan: TimeSpanDto;
37
+ productIds?: Array<string>;
32
38
  /**
33
- * the time span the tenant agreed to, required for the status CONFIRMED and PLANNED
39
+ * copies of the products the appointment is made for
40
+ */
41
+ readonly products?: Array<AppointmentProductDto>;
42
+ /**
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
  */
@@ -53,6 +63,18 @@ export interface AppointmentDto {
53
63
  * the calendar entry the application created for the appointment; removed once the entry gets another type
54
64
  */
55
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>;
56
78
  }
57
79
  /**
58
80
  * Check if a given object implements the AppointmentDto interface.
@@ -61,4 +83,4 @@ export declare function instanceOfAppointmentDto(value: object): value is Appoin
61
83
  export declare function AppointmentDtoFromJSON(json: any): AppointmentDto;
62
84
  export declare function AppointmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentDto;
63
85
  export declare function AppointmentDtoToJSON(json: any): AppointmentDto;
64
- export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'appointmentUserName' | 'calendarEntryId'> | null, ignoreDiscriminator?: boolean): any;
86
+ export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId' | 'formTypeId'> | null, ignoreDiscriminator?: boolean): any;
@@ -17,9 +17,11 @@ exports.AppointmentDtoFromJSON = AppointmentDtoFromJSON;
17
17
  exports.AppointmentDtoFromJSONTyped = AppointmentDtoFromJSONTyped;
18
18
  exports.AppointmentDtoToJSON = AppointmentDtoToJSON;
19
19
  exports.AppointmentDtoToJSONTyped = AppointmentDtoToJSONTyped;
20
+ var AppointmentProductDto_1 = require("./AppointmentProductDto");
20
21
  var TimeSpanDto_1 = require("./TimeSpanDto");
21
22
  var AddressDto_1 = require("./AddressDto");
22
23
  var AppointmentStatus_1 = require("./AppointmentStatus");
24
+ var AppointmentTimeSpanDto_1 = require("./AppointmentTimeSpanDto");
23
25
  /**
24
26
  * Check if a given object implements the AppointmentDto interface.
25
27
  */
@@ -28,7 +30,7 @@ function instanceOfAppointmentDto(value) {
28
30
  return false;
29
31
  if (!('status' in value) || value['status'] === undefined)
30
32
  return false;
31
- if (!('appointmentUserId' in value) || value['appointmentUserId'] === undefined)
33
+ if (!('legalEntityUserId' in value) || value['legalEntityUserId'] === undefined)
32
34
  return false;
33
35
  return true;
34
36
  }
@@ -42,13 +44,18 @@ function AppointmentDtoFromJSONTyped(json, ignoreDiscriminator) {
42
44
  return {
43
45
  'id': json['id'] == null ? undefined : json['id'],
44
46
  'version': json['version'] == null ? undefined : json['version'],
45
- 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['submittedTimeSpan']),
47
+ 'submittedTimeSpan': (json['submittedTimeSpan'].map(AppointmentTimeSpanDto_1.AppointmentTimeSpanDtoFromJSON)),
48
+ 'productIds': json['productIds'] == null ? undefined : json['productIds'],
49
+ 'products': json['products'] == null ? undefined : (json['products'].map(AppointmentProductDto_1.AppointmentProductDtoFromJSON)),
46
50
  'confirmedTimeSpan': json['confirmedTimeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['confirmedTimeSpan']),
47
51
  'status': (0, AppointmentStatus_1.AppointmentStatusFromJSON)(json['status']),
48
- 'appointmentUserId': json['appointmentUserId'],
49
- 'appointmentUserName': json['appointmentUserName'] == null ? undefined : json['appointmentUserName'],
52
+ 'legalEntityUserId': json['legalEntityUserId'],
53
+ 'legalEntityUserName': json['legalEntityUserName'] == null ? undefined : json['legalEntityUserName'],
50
54
  'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
51
55
  'calendarEntryId': json['calendarEntryId'] == null ? undefined : json['calendarEntryId'],
56
+ 'jsonFormValue': json['jsonFormValue'] == null ? undefined : json['jsonFormValue'],
57
+ 'formTypeId': json['formTypeId'] == null ? undefined : json['formTypeId'],
58
+ 'fileIds': json['fileIds'] == null ? undefined : json['fileIds'],
52
59
  };
53
60
  }
54
61
  function AppointmentDtoToJSON(json) {
@@ -62,10 +69,13 @@ function AppointmentDtoToJSONTyped(value, ignoreDiscriminator) {
62
69
  return {
63
70
  'id': value['id'],
64
71
  'version': value['version'],
65
- 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['submittedTimeSpan']),
72
+ 'submittedTimeSpan': (value['submittedTimeSpan'].map(AppointmentTimeSpanDto_1.AppointmentTimeSpanDtoToJSON)),
73
+ 'productIds': value['productIds'],
66
74
  'confirmedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['confirmedTimeSpan']),
67
75
  'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
68
- 'appointmentUserId': value['appointmentUserId'],
76
+ 'legalEntityUserId': value['legalEntityUserId'],
69
77
  'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
78
+ 'jsonFormValue': value['jsonFormValue'],
79
+ 'fileIds': value['fileIds'],
70
80
  };
71
81
  }
@@ -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
+ * Texts of an appointment e-mail. Both are Thymeleaf templates whose placeholders (e.g. appointment.name, appointment.time) are filled for the appointment; the body contains the greeting too.
13
+ * @export
14
+ * @interface AppointmentEmailTemplateDto
15
+ */
16
+ export interface AppointmentEmailTemplateDto {
17
+ /**
18
+ * Subject of the e-mail; HTML is removed after the placeholders are filled.
19
+ */
20
+ subject?: string;
21
+ /**
22
+ * HTML body text of the e-mail, shown above the appointment details.
23
+ */
24
+ body?: string;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AppointmentEmailTemplateDto interface.
28
+ */
29
+ export declare function instanceOfAppointmentEmailTemplateDto(value: object): value is AppointmentEmailTemplateDto;
30
+ export declare function AppointmentEmailTemplateDtoFromJSON(json: any): AppointmentEmailTemplateDto;
31
+ export declare function AppointmentEmailTemplateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentEmailTemplateDto;
32
+ export declare function AppointmentEmailTemplateDtoToJSON(json: any): AppointmentEmailTemplateDto;
33
+ export declare function AppointmentEmailTemplateDtoToJSONTyped(value?: AppointmentEmailTemplateDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfAppointmentEmailTemplateDto = instanceOfAppointmentEmailTemplateDto;
16
+ exports.AppointmentEmailTemplateDtoFromJSON = AppointmentEmailTemplateDtoFromJSON;
17
+ exports.AppointmentEmailTemplateDtoFromJSONTyped = AppointmentEmailTemplateDtoFromJSONTyped;
18
+ exports.AppointmentEmailTemplateDtoToJSON = AppointmentEmailTemplateDtoToJSON;
19
+ exports.AppointmentEmailTemplateDtoToJSONTyped = AppointmentEmailTemplateDtoToJSONTyped;
20
+ /**
21
+ * Check if a given object implements the AppointmentEmailTemplateDto interface.
22
+ */
23
+ function instanceOfAppointmentEmailTemplateDto(value) {
24
+ return true;
25
+ }
26
+ function AppointmentEmailTemplateDtoFromJSON(json) {
27
+ return AppointmentEmailTemplateDtoFromJSONTyped(json, false);
28
+ }
29
+ function AppointmentEmailTemplateDtoFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'subject': json['subject'] == null ? undefined : json['subject'],
35
+ 'body': json['body'] == null ? undefined : json['body'],
36
+ };
37
+ }
38
+ function AppointmentEmailTemplateDtoToJSON(json) {
39
+ return AppointmentEmailTemplateDtoToJSONTyped(json, false);
40
+ }
41
+ function AppointmentEmailTemplateDtoToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'subject': value['subject'],
48
+ 'body': value['body'],
49
+ };
50
+ }
@@ -0,0 +1,58 @@
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 { AppointmentEmailTemplateDto } from './AppointmentEmailTemplateDto';
12
+ /**
13
+ * E-mails sent to the user of an appointment while it is planned. An e-mail without subject or body is not sent.
14
+ * @export
15
+ * @interface AppointmentEmailTemplatesDto
16
+ */
17
+ export interface AppointmentEmailTemplatesDto {
18
+ /**
19
+ * The user submitted the appointment in the tenant portal; its data was received and a date will be planned.
20
+ */
21
+ received?: AppointmentEmailTemplateDto;
22
+ /**
23
+ * A day was selected for the appointment; the time follows later.
24
+ */
25
+ tentative?: AppointmentEmailTemplateDto;
26
+ /**
27
+ * No day could be found for the submitted time spans.
28
+ */
29
+ noTentative?: AppointmentEmailTemplateDto;
30
+ /**
31
+ * The time of the appointment was planned and has to be confirmed. The e-mail carries the calendar entry of the planned time as iCalendar attachment.
32
+ */
33
+ finalTime?: AppointmentEmailTemplateDto;
34
+ /**
35
+ * No time could be planned on the selected day.
36
+ */
37
+ noFinalTime?: AppointmentEmailTemplateDto;
38
+ /**
39
+ * The planned time was not confirmed in time and has been released.
40
+ */
41
+ abort?: AppointmentEmailTemplateDto;
42
+ /**
43
+ * No time could be planned before the submitted time spans passed; the appointment has been rejected.
44
+ */
45
+ rejected?: AppointmentEmailTemplateDto;
46
+ /**
47
+ * The calendar entry of the planned time was deleted, so the appointment has been cancelled. The e-mail carries the cancellation of the calendar entry as iCalendar attachment.
48
+ */
49
+ cancelled?: AppointmentEmailTemplateDto;
50
+ }
51
+ /**
52
+ * Check if a given object implements the AppointmentEmailTemplatesDto interface.
53
+ */
54
+ export declare function instanceOfAppointmentEmailTemplatesDto(value: object): value is AppointmentEmailTemplatesDto;
55
+ export declare function AppointmentEmailTemplatesDtoFromJSON(json: any): AppointmentEmailTemplatesDto;
56
+ export declare function AppointmentEmailTemplatesDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentEmailTemplatesDto;
57
+ export declare function AppointmentEmailTemplatesDtoToJSON(json: any): AppointmentEmailTemplatesDto;
58
+ export declare function AppointmentEmailTemplatesDtoToJSONTyped(value?: AppointmentEmailTemplatesDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.instanceOfAppointmentEmailTemplatesDto = instanceOfAppointmentEmailTemplatesDto;
16
+ exports.AppointmentEmailTemplatesDtoFromJSON = AppointmentEmailTemplatesDtoFromJSON;
17
+ exports.AppointmentEmailTemplatesDtoFromJSONTyped = AppointmentEmailTemplatesDtoFromJSONTyped;
18
+ exports.AppointmentEmailTemplatesDtoToJSON = AppointmentEmailTemplatesDtoToJSON;
19
+ exports.AppointmentEmailTemplatesDtoToJSONTyped = AppointmentEmailTemplatesDtoToJSONTyped;
20
+ var AppointmentEmailTemplateDto_1 = require("./AppointmentEmailTemplateDto");
21
+ /**
22
+ * Check if a given object implements the AppointmentEmailTemplatesDto interface.
23
+ */
24
+ function instanceOfAppointmentEmailTemplatesDto(value) {
25
+ return true;
26
+ }
27
+ function AppointmentEmailTemplatesDtoFromJSON(json) {
28
+ return AppointmentEmailTemplatesDtoFromJSONTyped(json, false);
29
+ }
30
+ function AppointmentEmailTemplatesDtoFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'received': json['received'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['received']),
36
+ 'tentative': json['tentative'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['tentative']),
37
+ 'noTentative': json['noTentative'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['noTentative']),
38
+ 'finalTime': json['finalTime'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['finalTime']),
39
+ 'noFinalTime': json['noFinalTime'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['noFinalTime']),
40
+ 'abort': json['abort'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['abort']),
41
+ 'rejected': json['rejected'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['rejected']),
42
+ 'cancelled': json['cancelled'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['cancelled']),
43
+ };
44
+ }
45
+ function AppointmentEmailTemplatesDtoToJSON(json) {
46
+ return AppointmentEmailTemplatesDtoToJSONTyped(json, false);
47
+ }
48
+ function AppointmentEmailTemplatesDtoToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'received': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['received']),
55
+ 'tentative': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['tentative']),
56
+ 'noTentative': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['noTentative']),
57
+ 'finalTime': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['finalTime']),
58
+ 'noFinalTime': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['noFinalTime']),
59
+ 'abort': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['abort']),
60
+ 'rejected': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['rejected']),
61
+ 'cancelled': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['cancelled']),
62
+ };
63
+ }
@@ -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 as its requester sees it in the tenant portal and in the account
16
18
  * @export
@@ -22,9 +24,13 @@ export interface AppointmentPortalDto {
22
24
  */
23
25
  id: string;
24
26
  /**
25
- *
27
+ * the time spans the requester is available in
28
+ */
29
+ submittedTimeSpan: Array<AppointmentTimeSpanDto>;
30
+ /**
31
+ * the products the appointment is made for
26
32
  */
27
- submittedTimeSpan: TimeSpanDto;
33
+ products?: Array<AppointmentProductDto>;
28
34
  /**
29
35
  *
30
36
  */
@@ -17,9 +17,11 @@ exports.AppointmentPortalDtoFromJSON = AppointmentPortalDtoFromJSON;
17
17
  exports.AppointmentPortalDtoFromJSONTyped = AppointmentPortalDtoFromJSONTyped;
18
18
  exports.AppointmentPortalDtoToJSON = AppointmentPortalDtoToJSON;
19
19
  exports.AppointmentPortalDtoToJSONTyped = AppointmentPortalDtoToJSONTyped;
20
+ var AppointmentProductDto_1 = require("./AppointmentProductDto");
20
21
  var TimeSpanDto_1 = require("./TimeSpanDto");
21
22
  var AddressDto_1 = require("./AddressDto");
22
23
  var AppointmentStatus_1 = require("./AppointmentStatus");
24
+ var AppointmentTimeSpanDto_1 = require("./AppointmentTimeSpanDto");
23
25
  /**
24
26
  * Check if a given object implements the AppointmentPortalDto interface.
25
27
  */
@@ -41,7 +43,8 @@ function AppointmentPortalDtoFromJSONTyped(json, ignoreDiscriminator) {
41
43
  }
42
44
  return {
43
45
  'id': json['id'],
44
- 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['submittedTimeSpan']),
46
+ 'submittedTimeSpan': (json['submittedTimeSpan'].map(AppointmentTimeSpanDto_1.AppointmentTimeSpanDtoFromJSON)),
47
+ 'products': json['products'] == null ? undefined : (json['products'].map(AppointmentProductDto_1.AppointmentProductDtoFromJSON)),
45
48
  'confirmedTimeSpan': json['confirmedTimeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['confirmedTimeSpan']),
46
49
  'status': (0, AppointmentStatus_1.AppointmentStatusFromJSON)(json['status']),
47
50
  'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
@@ -57,7 +60,8 @@ function AppointmentPortalDtoToJSONTyped(value, ignoreDiscriminator) {
57
60
  }
58
61
  return {
59
62
  'id': value['id'],
60
- 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['submittedTimeSpan']),
63
+ 'submittedTimeSpan': (value['submittedTimeSpan'].map(AppointmentTimeSpanDto_1.AppointmentTimeSpanDtoToJSON)),
64
+ 'products': value['products'] == null ? undefined : (value['products'].map(AppointmentProductDto_1.AppointmentProductDtoToJSON)),
61
65
  'confirmedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['confirmedTimeSpan']),
62
66
  'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
63
67
  'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),