@kommerz/ts-client 1.196.0 → 1.197.1

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 (101) hide show
  1. package/dist/apis/AppointmentPortalApi.d.ts +20 -8
  2. package/dist/apis/AppointmentPortalApi.js +14 -8
  3. package/dist/apis/AppointmentsApi.d.ts +41 -2
  4. package/dist/apis/AppointmentsApi.js +127 -0
  5. package/dist/apis/CustomersApi.d.ts +0 -4
  6. package/dist/apis/CustomersApi.js +0 -3
  7. package/dist/apis/MapsApi.d.ts +43 -0
  8. package/dist/apis/MapsApi.js +127 -0
  9. package/dist/apis/ServiceDeskMessagesApi.d.ts +77 -0
  10. package/dist/apis/ServiceDeskMessagesApi.js +260 -0
  11. package/dist/apis/ServiceDeskPortalApi.d.ts +41 -0
  12. package/dist/apis/ServiceDeskPortalApi.js +145 -0
  13. package/dist/apis/TenantPortalUploadsApi.d.ts +166 -0
  14. package/dist/apis/TenantPortalUploadsApi.js +418 -0
  15. package/dist/apis/UsersMeAddressesApi.d.ts +123 -0
  16. package/dist/apis/UsersMeAddressesApi.js +389 -0
  17. package/dist/apis/UsersMeApi.d.ts +6 -6
  18. package/dist/apis/UsersMeApi.js +6 -6
  19. package/dist/apis/UsersMeBookmarksApi.d.ts +99 -0
  20. package/dist/apis/UsersMeBookmarksApi.js +324 -0
  21. package/dist/apis/index.d.ts +5 -1
  22. package/dist/apis/index.js +5 -1
  23. package/dist/models/AccountCalendarEntryDto.d.ts +2 -2
  24. package/dist/models/AddressDto.d.ts +4 -0
  25. package/dist/models/AddressDto.js +2 -0
  26. package/dist/models/AppointmentBlockerDto.d.ts +8 -0
  27. package/dist/models/AppointmentBlockerDto.js +4 -0
  28. package/dist/models/AppointmentBookingConfigDto.d.ts +33 -0
  29. package/dist/models/AppointmentBookingConfigDto.js +21 -0
  30. package/dist/models/AppointmentDto.d.ts +22 -1
  31. package/dist/models/AppointmentDto.js +10 -0
  32. package/dist/models/AppointmentEmailTemplatesDto.d.ts +4 -0
  33. package/dist/models/AppointmentEmailTemplatesDto.js +2 -0
  34. package/dist/models/AppointmentProductDto.d.ts +9 -1
  35. package/dist/models/AppointmentProductDto.js +4 -0
  36. package/dist/models/AppointmentSlotDistance.d.ts +2 -2
  37. package/dist/models/AppointmentSlotDistance.js +2 -2
  38. package/dist/models/AppointmentSlotDto.d.ts +6 -2
  39. package/dist/models/AppointmentSlotDto.js +4 -0
  40. package/dist/models/AppointmentSubmissionDto.d.ts +13 -0
  41. package/dist/models/AppointmentSubmissionDto.js +7 -0
  42. package/dist/models/AttendedCalendarEntryDto.d.ts +10 -2
  43. package/dist/models/AttendedCalendarEntryDto.js +4 -0
  44. package/dist/models/BookmarkDto.d.ts +50 -0
  45. package/dist/models/BookmarkDto.js +60 -0
  46. package/dist/models/ContactAddressDto.d.ts +38 -0
  47. package/dist/models/ContactAddressDto.js +53 -0
  48. package/dist/models/DavAddressBookDto.d.ts +29 -0
  49. package/dist/models/DavAddressBookDto.js +50 -0
  50. package/dist/models/DavCalendarDto.d.ts +1 -1
  51. package/dist/models/DavResourceDto.d.ts +45 -0
  52. package/dist/models/DavResourceDto.js +64 -0
  53. package/dist/models/DavResourceWriteDto.d.ts +29 -0
  54. package/dist/models/DavResourceWriteDto.js +50 -0
  55. package/dist/models/EntityType.d.ts +4 -0
  56. package/dist/models/EntityType.js +4 -0
  57. package/dist/models/FormsPortalFileUploadDto.d.ts +37 -0
  58. package/dist/models/FormsPortalFileUploadDto.js +54 -0
  59. package/dist/models/FormsPortalSpecDto.d.ts +5 -0
  60. package/dist/models/FormsPortalSpecDto.js +5 -0
  61. package/dist/models/FormsPortalSubmitDto.d.ts +4 -0
  62. package/dist/models/FormsPortalSubmitDto.js +2 -0
  63. package/dist/models/GeoLocationDto.d.ts +42 -0
  64. package/dist/models/GeoLocationDto.js +55 -0
  65. package/dist/models/GetAllServiceDeskMessages200Response.d.ts +42 -0
  66. package/dist/models/GetAllServiceDeskMessages200Response.js +59 -0
  67. package/dist/models/GetMyAddresses200Response.d.ts +42 -0
  68. package/dist/models/GetMyAddresses200Response.js +59 -0
  69. package/dist/models/GetMyBookmarks200Response.d.ts +42 -0
  70. package/dist/models/GetMyBookmarks200Response.js +59 -0
  71. package/dist/models/KanbanBoardDto.d.ts +12 -0
  72. package/dist/models/KanbanBoardDto.js +6 -0
  73. package/dist/models/LocationGeocodeQueryDto.d.ts +29 -0
  74. package/dist/models/LocationGeocodeQueryDto.js +50 -0
  75. package/dist/models/MessageDto.d.ts +7 -3
  76. package/dist/models/MessageDto.js +5 -2
  77. package/dist/models/Permissions.d.ts +3 -0
  78. package/dist/models/Permissions.js +3 -0
  79. package/dist/models/PublicTenantPageDto.d.ts +4 -0
  80. package/dist/models/PublicTenantPageDto.js +4 -0
  81. package/dist/models/RoutePlanningAppointmentResultDto.d.ts +47 -0
  82. package/dist/models/RoutePlanningAppointmentResultDto.js +62 -0
  83. package/dist/models/RoutePlanningOutcome.d.ts +35 -0
  84. package/dist/models/RoutePlanningOutcome.js +61 -0
  85. package/dist/models/RoutePlanningResultDto.d.ts +38 -0
  86. package/dist/models/RoutePlanningResultDto.js +57 -0
  87. package/dist/models/RoutingConfigDto.d.ts +74 -10
  88. package/dist/models/RoutingConfigDto.js +45 -9
  89. package/dist/models/TenantConfigurationDto.d.ts +4 -0
  90. package/dist/models/TenantConfigurationDto.js +2 -0
  91. package/dist/models/UiConfigurationDto.d.ts +9 -0
  92. package/dist/models/UiConfigurationDto.js +5 -0
  93. package/dist/models/UiModuleCategory.d.ts +29 -0
  94. package/dist/models/UiModuleCategory.js +55 -0
  95. package/dist/models/UserAddressDto.d.ts +50 -0
  96. package/dist/models/UserAddressDto.js +62 -0
  97. package/dist/models/UserDto.d.ts +5 -1
  98. package/dist/models/UserDto.js +1 -0
  99. package/dist/models/index.d.ts +16 -2
  100. package/dist/models/index.js +16 -2
  101. package/package.json +1 -1
@@ -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.instanceOfGetMyAddresses200Response = instanceOfGetMyAddresses200Response;
16
+ exports.GetMyAddresses200ResponseFromJSON = GetMyAddresses200ResponseFromJSON;
17
+ exports.GetMyAddresses200ResponseFromJSONTyped = GetMyAddresses200ResponseFromJSONTyped;
18
+ exports.GetMyAddresses200ResponseToJSON = GetMyAddresses200ResponseToJSON;
19
+ exports.GetMyAddresses200ResponseToJSONTyped = GetMyAddresses200ResponseToJSONTyped;
20
+ var UserAddressDto_1 = require("./UserAddressDto");
21
+ /**
22
+ * Check if a given object implements the GetMyAddresses200Response interface.
23
+ */
24
+ function instanceOfGetMyAddresses200Response(value) {
25
+ if (!('totalElements' in value) || value['totalElements'] === undefined)
26
+ return false;
27
+ if (!('content' in value) || value['content'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GetMyAddresses200ResponseFromJSON(json) {
32
+ return GetMyAddresses200ResponseFromJSONTyped(json, false);
33
+ }
34
+ function GetMyAddresses200ResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
40
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
41
+ 'totalElements': json['totalElements'],
42
+ 'content': (json['content'].map(UserAddressDto_1.UserAddressDtoFromJSON)),
43
+ };
44
+ }
45
+ function GetMyAddresses200ResponseToJSON(json) {
46
+ return GetMyAddresses200ResponseToJSONTyped(json, false);
47
+ }
48
+ function GetMyAddresses200ResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'pageNumber': value['pageNumber'],
55
+ 'pageSize': value['pageSize'],
56
+ 'totalElements': value['totalElements'],
57
+ 'content': (value['content'].map(UserAddressDto_1.UserAddressDtoToJSON)),
58
+ };
59
+ }
@@ -0,0 +1,42 @@
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 { BookmarkDto } from './BookmarkDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetMyBookmarks200Response
16
+ */
17
+ export interface GetMyBookmarks200Response {
18
+ /**
19
+ *
20
+ */
21
+ pageNumber?: number;
22
+ /**
23
+ *
24
+ */
25
+ pageSize?: number;
26
+ /**
27
+ *
28
+ */
29
+ totalElements: number;
30
+ /**
31
+ *
32
+ */
33
+ content: Array<BookmarkDto>;
34
+ }
35
+ /**
36
+ * Check if a given object implements the GetMyBookmarks200Response interface.
37
+ */
38
+ export declare function instanceOfGetMyBookmarks200Response(value: object): value is GetMyBookmarks200Response;
39
+ export declare function GetMyBookmarks200ResponseFromJSON(json: any): GetMyBookmarks200Response;
40
+ export declare function GetMyBookmarks200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMyBookmarks200Response;
41
+ export declare function GetMyBookmarks200ResponseToJSON(json: any): GetMyBookmarks200Response;
42
+ export declare function GetMyBookmarks200ResponseToJSONTyped(value?: GetMyBookmarks200Response | 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.instanceOfGetMyBookmarks200Response = instanceOfGetMyBookmarks200Response;
16
+ exports.GetMyBookmarks200ResponseFromJSON = GetMyBookmarks200ResponseFromJSON;
17
+ exports.GetMyBookmarks200ResponseFromJSONTyped = GetMyBookmarks200ResponseFromJSONTyped;
18
+ exports.GetMyBookmarks200ResponseToJSON = GetMyBookmarks200ResponseToJSON;
19
+ exports.GetMyBookmarks200ResponseToJSONTyped = GetMyBookmarks200ResponseToJSONTyped;
20
+ var BookmarkDto_1 = require("./BookmarkDto");
21
+ /**
22
+ * Check if a given object implements the GetMyBookmarks200Response interface.
23
+ */
24
+ function instanceOfGetMyBookmarks200Response(value) {
25
+ if (!('totalElements' in value) || value['totalElements'] === undefined)
26
+ return false;
27
+ if (!('content' in value) || value['content'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function GetMyBookmarks200ResponseFromJSON(json) {
32
+ return GetMyBookmarks200ResponseFromJSONTyped(json, false);
33
+ }
34
+ function GetMyBookmarks200ResponseFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
40
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
41
+ 'totalElements': json['totalElements'],
42
+ 'content': (json['content'].map(BookmarkDto_1.BookmarkDtoFromJSON)),
43
+ };
44
+ }
45
+ function GetMyBookmarks200ResponseToJSON(json) {
46
+ return GetMyBookmarks200ResponseToJSONTyped(json, false);
47
+ }
48
+ function GetMyBookmarks200ResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'pageNumber': value['pageNumber'],
55
+ 'pageSize': value['pageSize'],
56
+ 'totalElements': value['totalElements'],
57
+ 'content': (value['content'].map(BookmarkDto_1.BookmarkDtoToJSON)),
58
+ };
59
+ }
@@ -38,6 +38,18 @@ export interface KanbanBoardDto {
38
38
  * set to true if a public input shall be available
39
39
  */
40
40
  publicForm?: boolean;
41
+ /**
42
+ * set to true if submitters of the public form may upload files, which are attached to the created card
43
+ */
44
+ fileUploadEnabled?: boolean;
45
+ /**
46
+ * maximum number of files per form submission; required when file upload is enabled
47
+ */
48
+ maxUploadFiles?: number;
49
+ /**
50
+ * maximum size of a single uploaded file in bytes; required when file upload is enabled
51
+ */
52
+ maxUploadFileSize?: number;
41
53
  }
42
54
  /**
43
55
  * Check if a given object implements the KanbanBoardDto interface.
@@ -39,6 +39,9 @@ function KanbanBoardDtoFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'defaultEditorTypeId': json['defaultEditorTypeId'] == null ? undefined : json['defaultEditorTypeId'],
40
40
  'secretId': json['secretId'] == null ? undefined : json['secretId'],
41
41
  'publicForm': json['publicForm'] == null ? undefined : json['publicForm'],
42
+ 'fileUploadEnabled': json['fileUploadEnabled'] == null ? undefined : json['fileUploadEnabled'],
43
+ 'maxUploadFiles': json['maxUploadFiles'] == null ? undefined : json['maxUploadFiles'],
44
+ 'maxUploadFileSize': json['maxUploadFileSize'] == null ? undefined : json['maxUploadFileSize'],
42
45
  };
43
46
  }
44
47
  function KanbanBoardDtoToJSON(json) {
@@ -55,5 +58,8 @@ function KanbanBoardDtoToJSONTyped(value, ignoreDiscriminator) {
55
58
  'name': value['name'],
56
59
  'defaultEditorTypeId': value['defaultEditorTypeId'],
57
60
  'publicForm': value['publicForm'],
61
+ 'fileUploadEnabled': value['fileUploadEnabled'],
62
+ 'maxUploadFiles': value['maxUploadFiles'],
63
+ 'maxUploadFileSize': value['maxUploadFileSize'],
58
64
  };
59
65
  }
@@ -0,0 +1,29 @@
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 location given as free text, as it is entered for a calendar entry
13
+ * @export
14
+ * @interface LocationGeocodeQueryDto
15
+ */
16
+ export interface LocationGeocodeQueryDto {
17
+ /**
18
+ *
19
+ */
20
+ location: string;
21
+ }
22
+ /**
23
+ * Check if a given object implements the LocationGeocodeQueryDto interface.
24
+ */
25
+ export declare function instanceOfLocationGeocodeQueryDto(value: object): value is LocationGeocodeQueryDto;
26
+ export declare function LocationGeocodeQueryDtoFromJSON(json: any): LocationGeocodeQueryDto;
27
+ export declare function LocationGeocodeQueryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocationGeocodeQueryDto;
28
+ export declare function LocationGeocodeQueryDtoToJSON(json: any): LocationGeocodeQueryDto;
29
+ export declare function LocationGeocodeQueryDtoToJSONTyped(value?: LocationGeocodeQueryDto | 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.instanceOfLocationGeocodeQueryDto = instanceOfLocationGeocodeQueryDto;
16
+ exports.LocationGeocodeQueryDtoFromJSON = LocationGeocodeQueryDtoFromJSON;
17
+ exports.LocationGeocodeQueryDtoFromJSONTyped = LocationGeocodeQueryDtoFromJSONTyped;
18
+ exports.LocationGeocodeQueryDtoToJSON = LocationGeocodeQueryDtoToJSON;
19
+ exports.LocationGeocodeQueryDtoToJSONTyped = LocationGeocodeQueryDtoToJSONTyped;
20
+ /**
21
+ * Check if a given object implements the LocationGeocodeQueryDto interface.
22
+ */
23
+ function instanceOfLocationGeocodeQueryDto(value) {
24
+ if (!('location' in value) || value['location'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ function LocationGeocodeQueryDtoFromJSON(json) {
29
+ return LocationGeocodeQueryDtoFromJSONTyped(json, false);
30
+ }
31
+ function LocationGeocodeQueryDtoFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'location': json['location'],
37
+ };
38
+ }
39
+ function LocationGeocodeQueryDtoToJSON(json) {
40
+ return LocationGeocodeQueryDtoToJSONTyped(json, false);
41
+ }
42
+ function LocationGeocodeQueryDtoToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'location': value['location'],
49
+ };
50
+ }
@@ -17,11 +17,15 @@ export interface MessageDto {
17
17
  /**
18
18
  *
19
19
  */
20
- id?: string;
20
+ readonly id?: string;
21
21
  /**
22
22
  *
23
23
  */
24
- message?: any;
24
+ readonly creationTime?: Date;
25
+ /**
26
+ * the message as JSON, at most 10000 characters
27
+ */
28
+ message: any;
25
29
  }
26
30
  /**
27
31
  * Check if a given object implements the MessageDto interface.
@@ -30,4 +34,4 @@ export declare function instanceOfMessageDto(value: object): value is MessageDto
30
34
  export declare function MessageDtoFromJSON(json: any): MessageDto;
31
35
  export declare function MessageDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MessageDto;
32
36
  export declare function MessageDtoToJSON(json: any): MessageDto;
33
- export declare function MessageDtoToJSONTyped(value?: MessageDto | null, ignoreDiscriminator?: boolean): any;
37
+ export declare function MessageDtoToJSONTyped(value?: Omit<MessageDto, 'id' | 'creationTime'> | null, ignoreDiscriminator?: boolean): any;
@@ -17,10 +17,13 @@ exports.MessageDtoFromJSON = MessageDtoFromJSON;
17
17
  exports.MessageDtoFromJSONTyped = MessageDtoFromJSONTyped;
18
18
  exports.MessageDtoToJSON = MessageDtoToJSON;
19
19
  exports.MessageDtoToJSONTyped = MessageDtoToJSONTyped;
20
+ var runtime_1 = require("../runtime");
20
21
  /**
21
22
  * Check if a given object implements the MessageDto interface.
22
23
  */
23
24
  function instanceOfMessageDto(value) {
25
+ if (!('message' in value) || value['message'] === undefined)
26
+ return false;
24
27
  return true;
25
28
  }
26
29
  function MessageDtoFromJSON(json) {
@@ -32,7 +35,8 @@ function MessageDtoFromJSONTyped(json, ignoreDiscriminator) {
32
35
  }
33
36
  return {
34
37
  'id': json['id'] == null ? undefined : json['id'],
35
- 'message': json['message'] == null ? undefined : json['message'],
38
+ 'creationTime': json['creationTime'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['creationTime'])),
39
+ 'message': json['message'],
36
40
  };
37
41
  }
38
42
  function MessageDtoToJSON(json) {
@@ -44,7 +48,6 @@ function MessageDtoToJSONTyped(value, ignoreDiscriminator) {
44
48
  return value;
45
49
  }
46
50
  return {
47
- 'id': value['id'],
48
51
  'message': value['message'],
49
52
  };
50
53
  }
@@ -56,10 +56,13 @@ export declare const Permissions: {
56
56
  readonly AppointmentCreate: "APPOINTMENT_CREATE";
57
57
  readonly AppointmentEdit: "APPOINTMENT_EDIT";
58
58
  readonly AppointmentDelete: "APPOINTMENT_DELETE";
59
+ readonly AppointmentPlan: "APPOINTMENT_PLAN";
59
60
  readonly LegalEntityUserRead: "LEGAL_ENTITY_USER_READ";
60
61
  readonly LegalEntityUserCreate: "LEGAL_ENTITY_USER_CREATE";
61
62
  readonly LegalEntityUserEdit: "LEGAL_ENTITY_USER_EDIT";
62
63
  readonly LegalEntityUserDelete: "LEGAL_ENTITY_USER_DELETE";
64
+ readonly ServiceDeskMessageRead: "SERVICE_DESK_MESSAGE_READ";
65
+ readonly ServiceDeskMessageDelete: "SERVICE_DESK_MESSAGE_DELETE";
63
66
  };
64
67
  export type Permissions = typeof Permissions[keyof typeof Permissions];
65
68
  export declare function instanceOfPermissions(value: any): boolean;
@@ -66,10 +66,13 @@ exports.Permissions = {
66
66
  AppointmentCreate: 'APPOINTMENT_CREATE',
67
67
  AppointmentEdit: 'APPOINTMENT_EDIT',
68
68
  AppointmentDelete: 'APPOINTMENT_DELETE',
69
+ AppointmentPlan: 'APPOINTMENT_PLAN',
69
70
  LegalEntityUserRead: 'LEGAL_ENTITY_USER_READ',
70
71
  LegalEntityUserCreate: 'LEGAL_ENTITY_USER_CREATE',
71
72
  LegalEntityUserEdit: 'LEGAL_ENTITY_USER_EDIT',
72
73
  LegalEntityUserDelete: 'LEGAL_ENTITY_USER_DELETE',
74
+ ServiceDeskMessageRead: 'SERVICE_DESK_MESSAGE_READ',
75
+ ServiceDeskMessageDelete: 'SERVICE_DESK_MESSAGE_DELETE',
73
76
  };
74
77
  function instanceOfPermissions(value) {
75
78
  for (var key in exports.Permissions) {
@@ -25,6 +25,10 @@ export interface PublicTenantPageDto {
25
25
  * whether the tenant has fully enabled its public page
26
26
  */
27
27
  publicPageEnabled: boolean;
28
+ /**
29
+ * whether the tenant accepts appointment requests in its portal. Always filled, also without the opt-in for the public page.
30
+ */
31
+ appointmentBookingEnabled: boolean;
28
32
  /**
29
33
  * base 64 encoded logo
30
34
  */
@@ -28,6 +28,8 @@ function instanceOfPublicTenantPageDto(value) {
28
28
  return false;
29
29
  if (!('publicPageEnabled' in value) || value['publicPageEnabled'] === undefined)
30
30
  return false;
31
+ if (!('appointmentBookingEnabled' in value) || value['appointmentBookingEnabled'] === undefined)
32
+ return false;
31
33
  return true;
32
34
  }
33
35
  function PublicTenantPageDtoFromJSON(json) {
@@ -40,6 +42,7 @@ function PublicTenantPageDtoFromJSONTyped(json, ignoreDiscriminator) {
40
42
  return {
41
43
  'name': json['name'],
42
44
  'publicPageEnabled': json['publicPageEnabled'],
45
+ 'appointmentBookingEnabled': json['appointmentBookingEnabled'],
43
46
  'logo': json['logo'] == null ? undefined : json['logo'],
44
47
  'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
45
48
  'contact': json['contact'] == null ? undefined : (0, ContactDto_1.ContactDtoFromJSON)(json['contact']),
@@ -57,6 +60,7 @@ function PublicTenantPageDtoToJSONTyped(value, ignoreDiscriminator) {
57
60
  return {
58
61
  'name': value['name'],
59
62
  'publicPageEnabled': value['publicPageEnabled'],
63
+ 'appointmentBookingEnabled': value['appointmentBookingEnabled'],
60
64
  'logo': value['logo'],
61
65
  'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
62
66
  'contact': (0, ContactDto_1.ContactDtoToJSON)(value['contact']),
@@ -0,0 +1,47 @@
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 { RoutePlanningOutcome } from './RoutePlanningOutcome';
12
+ import type { TimeSpanDto } from './TimeSpanDto';
13
+ /**
14
+ * what a route planning job did with one appointment
15
+ * @export
16
+ * @interface RoutePlanningAppointmentResultDto
17
+ */
18
+ export interface RoutePlanningAppointmentResultDto {
19
+ /**
20
+ *
21
+ */
22
+ appointmentId: string;
23
+ /**
24
+ * name of the legal entity of the legal entity user, otherwise of its user
25
+ */
26
+ legalEntityUserName?: string;
27
+ /**
28
+ *
29
+ */
30
+ outcome: RoutePlanningOutcome;
31
+ /**
32
+ * the day planned for the appointment, in the time zone of the tenant
33
+ */
34
+ day?: string;
35
+ /**
36
+ * the planned time, only for the outcome PLANNED
37
+ */
38
+ timeSpan?: TimeSpanDto;
39
+ }
40
+ /**
41
+ * Check if a given object implements the RoutePlanningAppointmentResultDto interface.
42
+ */
43
+ export declare function instanceOfRoutePlanningAppointmentResultDto(value: object): value is RoutePlanningAppointmentResultDto;
44
+ export declare function RoutePlanningAppointmentResultDtoFromJSON(json: any): RoutePlanningAppointmentResultDto;
45
+ export declare function RoutePlanningAppointmentResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoutePlanningAppointmentResultDto;
46
+ export declare function RoutePlanningAppointmentResultDtoToJSON(json: any): RoutePlanningAppointmentResultDto;
47
+ export declare function RoutePlanningAppointmentResultDtoToJSONTyped(value?: RoutePlanningAppointmentResultDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfRoutePlanningAppointmentResultDto = instanceOfRoutePlanningAppointmentResultDto;
16
+ exports.RoutePlanningAppointmentResultDtoFromJSON = RoutePlanningAppointmentResultDtoFromJSON;
17
+ exports.RoutePlanningAppointmentResultDtoFromJSONTyped = RoutePlanningAppointmentResultDtoFromJSONTyped;
18
+ exports.RoutePlanningAppointmentResultDtoToJSON = RoutePlanningAppointmentResultDtoToJSON;
19
+ exports.RoutePlanningAppointmentResultDtoToJSONTyped = RoutePlanningAppointmentResultDtoToJSONTyped;
20
+ var RoutePlanningOutcome_1 = require("./RoutePlanningOutcome");
21
+ var TimeSpanDto_1 = require("./TimeSpanDto");
22
+ /**
23
+ * Check if a given object implements the RoutePlanningAppointmentResultDto interface.
24
+ */
25
+ function instanceOfRoutePlanningAppointmentResultDto(value) {
26
+ if (!('appointmentId' in value) || value['appointmentId'] === undefined)
27
+ return false;
28
+ if (!('outcome' in value) || value['outcome'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function RoutePlanningAppointmentResultDtoFromJSON(json) {
33
+ return RoutePlanningAppointmentResultDtoFromJSONTyped(json, false);
34
+ }
35
+ function RoutePlanningAppointmentResultDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'appointmentId': json['appointmentId'],
41
+ 'legalEntityUserName': json['legalEntityUserName'] == null ? undefined : json['legalEntityUserName'],
42
+ 'outcome': (0, RoutePlanningOutcome_1.RoutePlanningOutcomeFromJSON)(json['outcome']),
43
+ 'day': json['day'] == null ? undefined : json['day'],
44
+ 'timeSpan': json['timeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
45
+ };
46
+ }
47
+ function RoutePlanningAppointmentResultDtoToJSON(json) {
48
+ return RoutePlanningAppointmentResultDtoToJSONTyped(json, false);
49
+ }
50
+ function RoutePlanningAppointmentResultDtoToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'appointmentId': value['appointmentId'],
57
+ 'legalEntityUserName': value['legalEntityUserName'],
58
+ 'outcome': (0, RoutePlanningOutcome_1.RoutePlanningOutcomeToJSON)(value['outcome']),
59
+ 'day': value['day'],
60
+ 'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
61
+ };
62
+ }
@@ -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
+ * what a route planning job did with an appointment:
13
+ * * PLANNED - a time was planned and sent to the requester for confirmation
14
+ * * CANDIDATE - the appointment has a candidate day after the planned days
15
+ * * NOT_PLANNED - no day or time was found, the appointment stays open
16
+ * * REJECTED - the appointment was rejected, none of its time spans can be planned anymore
17
+ * * REJECTED_UNCONFIRMED - the requester did not confirm the planned time in time, the time was released
18
+ * * SKIPPED_CHANGED - the appointment changed while planning and was left untouched
19
+ *
20
+ * @export
21
+ */
22
+ export declare const RoutePlanningOutcome: {
23
+ readonly Planned: "PLANNED";
24
+ readonly Candidate: "CANDIDATE";
25
+ readonly NotPlanned: "NOT_PLANNED";
26
+ readonly Rejected: "REJECTED";
27
+ readonly RejectedUnconfirmed: "REJECTED_UNCONFIRMED";
28
+ readonly SkippedChanged: "SKIPPED_CHANGED";
29
+ };
30
+ export type RoutePlanningOutcome = typeof RoutePlanningOutcome[keyof typeof RoutePlanningOutcome];
31
+ export declare function instanceOfRoutePlanningOutcome(value: any): boolean;
32
+ export declare function RoutePlanningOutcomeFromJSON(json: any): RoutePlanningOutcome;
33
+ export declare function RoutePlanningOutcomeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoutePlanningOutcome;
34
+ export declare function RoutePlanningOutcomeToJSON(value?: RoutePlanningOutcome | null): any;
35
+ export declare function RoutePlanningOutcomeToJSONTyped(value: any, ignoreDiscriminator: boolean): RoutePlanningOutcome;
@@ -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.RoutePlanningOutcome = void 0;
16
+ exports.instanceOfRoutePlanningOutcome = instanceOfRoutePlanningOutcome;
17
+ exports.RoutePlanningOutcomeFromJSON = RoutePlanningOutcomeFromJSON;
18
+ exports.RoutePlanningOutcomeFromJSONTyped = RoutePlanningOutcomeFromJSONTyped;
19
+ exports.RoutePlanningOutcomeToJSON = RoutePlanningOutcomeToJSON;
20
+ exports.RoutePlanningOutcomeToJSONTyped = RoutePlanningOutcomeToJSONTyped;
21
+ /**
22
+ * what a route planning job did with an appointment:
23
+ * * PLANNED - a time was planned and sent to the requester for confirmation
24
+ * * CANDIDATE - the appointment has a candidate day after the planned days
25
+ * * NOT_PLANNED - no day or time was found, the appointment stays open
26
+ * * REJECTED - the appointment was rejected, none of its time spans can be planned anymore
27
+ * * REJECTED_UNCONFIRMED - the requester did not confirm the planned time in time, the time was released
28
+ * * SKIPPED_CHANGED - the appointment changed while planning and was left untouched
29
+ *
30
+ * @export
31
+ */
32
+ exports.RoutePlanningOutcome = {
33
+ Planned: 'PLANNED',
34
+ Candidate: 'CANDIDATE',
35
+ NotPlanned: 'NOT_PLANNED',
36
+ Rejected: 'REJECTED',
37
+ RejectedUnconfirmed: 'REJECTED_UNCONFIRMED',
38
+ SkippedChanged: 'SKIPPED_CHANGED',
39
+ };
40
+ function instanceOfRoutePlanningOutcome(value) {
41
+ for (var key in exports.RoutePlanningOutcome) {
42
+ if (Object.prototype.hasOwnProperty.call(exports.RoutePlanningOutcome, key)) {
43
+ if (exports.RoutePlanningOutcome[key] === value) {
44
+ return true;
45
+ }
46
+ }
47
+ }
48
+ return false;
49
+ }
50
+ function RoutePlanningOutcomeFromJSON(json) {
51
+ return RoutePlanningOutcomeFromJSONTyped(json, false);
52
+ }
53
+ function RoutePlanningOutcomeFromJSONTyped(json, ignoreDiscriminator) {
54
+ return json;
55
+ }
56
+ function RoutePlanningOutcomeToJSON(value) {
57
+ return value;
58
+ }
59
+ function RoutePlanningOutcomeToJSONTyped(value, ignoreDiscriminator) {
60
+ return value;
61
+ }
@@ -0,0 +1,38 @@
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 { RoutePlanningAppointmentResultDto } from './RoutePlanningAppointmentResultDto';
12
+ /**
13
+ * what a route planning job did, stored as the public data of its job
14
+ * @export
15
+ * @interface RoutePlanningResultDto
16
+ */
17
+ export interface RoutePlanningResultDto {
18
+ /**
19
+ * last day whose planned times were sent for confirmation, in the time zone of the tenant; later days only got candidates
20
+ */
21
+ plannedUntil: string;
22
+ /**
23
+ * score of the solution; empty when no appointment could be planned
24
+ */
25
+ score?: string;
26
+ /**
27
+ *
28
+ */
29
+ appointments: Array<RoutePlanningAppointmentResultDto>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the RoutePlanningResultDto interface.
33
+ */
34
+ export declare function instanceOfRoutePlanningResultDto(value: object): value is RoutePlanningResultDto;
35
+ export declare function RoutePlanningResultDtoFromJSON(json: any): RoutePlanningResultDto;
36
+ export declare function RoutePlanningResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoutePlanningResultDto;
37
+ export declare function RoutePlanningResultDtoToJSON(json: any): RoutePlanningResultDto;
38
+ export declare function RoutePlanningResultDtoToJSONTyped(value?: RoutePlanningResultDto | null, ignoreDiscriminator?: boolean): any;