@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
@@ -13,6 +13,7 @@ import type { TimeSpanDto } from './TimeSpanDto';
13
13
  import type { AddressDto } from './AddressDto';
14
14
  import type { AppointmentStatus } from './AppointmentStatus';
15
15
  import type { AppointmentTimeSpanDto } from './AppointmentTimeSpanDto';
16
+ import type { ContactAddressDto } from './ContactAddressDto';
16
17
  /**
17
18
  * an appointment a user requested in the tenant portal or a member of the tenant created
18
19
  * @export
@@ -63,6 +64,26 @@ export interface AppointmentDto {
63
64
  * the calendar entry the application created for the appointment; removed once the entry gets another type
64
65
  */
65
66
  readonly calendarEntryId?: string;
67
+ /**
68
+ * the data entered into the form of formTypeId
69
+ */
70
+ jsonFormValue?: any;
71
+ /**
72
+ * the editor type (JSON form) of jsonFormValue, taken from the routing configuration when the appointment is created
73
+ */
74
+ readonly formTypeId?: string;
75
+ /**
76
+ * the files attached to the appointment; files removed from the list are deleted
77
+ */
78
+ fileIds?: Array<string>;
79
+ /**
80
+ * whom the appointment is invoiced to, with e-mail address and phone number
81
+ */
82
+ invoiceAddress?: ContactAddressDto;
83
+ /**
84
+ * notes of the requester on the appointment
85
+ */
86
+ notes?: string;
66
87
  }
67
88
  /**
68
89
  * Check if a given object implements the AppointmentDto interface.
@@ -71,4 +92,4 @@ export declare function instanceOfAppointmentDto(value: object): value is Appoin
71
92
  export declare function AppointmentDtoFromJSON(json: any): AppointmentDto;
72
93
  export declare function AppointmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentDto;
73
94
  export declare function AppointmentDtoToJSON(json: any): AppointmentDto;
74
- export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId'> | null, ignoreDiscriminator?: boolean): any;
95
+ export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId' | 'formTypeId'> | null, ignoreDiscriminator?: boolean): any;
@@ -22,6 +22,7 @@ var TimeSpanDto_1 = require("./TimeSpanDto");
22
22
  var AddressDto_1 = require("./AddressDto");
23
23
  var AppointmentStatus_1 = require("./AppointmentStatus");
24
24
  var AppointmentTimeSpanDto_1 = require("./AppointmentTimeSpanDto");
25
+ var ContactAddressDto_1 = require("./ContactAddressDto");
25
26
  /**
26
27
  * Check if a given object implements the AppointmentDto interface.
27
28
  */
@@ -53,6 +54,11 @@ function AppointmentDtoFromJSONTyped(json, ignoreDiscriminator) {
53
54
  'legalEntityUserName': json['legalEntityUserName'] == null ? undefined : json['legalEntityUserName'],
54
55
  'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
55
56
  'calendarEntryId': json['calendarEntryId'] == null ? undefined : json['calendarEntryId'],
57
+ 'jsonFormValue': json['jsonFormValue'] == null ? undefined : json['jsonFormValue'],
58
+ 'formTypeId': json['formTypeId'] == null ? undefined : json['formTypeId'],
59
+ 'fileIds': json['fileIds'] == null ? undefined : json['fileIds'],
60
+ 'invoiceAddress': json['invoiceAddress'] == null ? undefined : (0, ContactAddressDto_1.ContactAddressDtoFromJSON)(json['invoiceAddress']),
61
+ 'notes': json['notes'] == null ? undefined : json['notes'],
56
62
  };
57
63
  }
58
64
  function AppointmentDtoToJSON(json) {
@@ -72,5 +78,9 @@ function AppointmentDtoToJSONTyped(value, ignoreDiscriminator) {
72
78
  'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
73
79
  'legalEntityUserId': value['legalEntityUserId'],
74
80
  'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
81
+ 'jsonFormValue': value['jsonFormValue'],
82
+ 'fileIds': value['fileIds'],
83
+ 'invoiceAddress': (0, ContactAddressDto_1.ContactAddressDtoToJSON)(value['invoiceAddress']),
84
+ 'notes': value['notes'],
75
85
  };
76
86
  }
@@ -15,6 +15,10 @@ import type { AppointmentEmailTemplateDto } from './AppointmentEmailTemplateDto'
15
15
  * @interface AppointmentEmailTemplatesDto
16
16
  */
17
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;
18
22
  /**
19
23
  * A day was selected for the appointment; the time follows later.
20
24
  */
@@ -32,6 +32,7 @@ function AppointmentEmailTemplatesDtoFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
+ 'received': json['received'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['received']),
35
36
  'tentative': json['tentative'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['tentative']),
36
37
  'noTentative': json['noTentative'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['noTentative']),
37
38
  'finalTime': json['finalTime'] == null ? undefined : (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoFromJSON)(json['finalTime']),
@@ -50,6 +51,7 @@ function AppointmentEmailTemplatesDtoToJSONTyped(value, ignoreDiscriminator) {
50
51
  return value;
51
52
  }
52
53
  return {
54
+ 'received': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['received']),
53
55
  'tentative': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['tentative']),
54
56
  'noTentative': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['noTentative']),
55
57
  'finalTime': (0, AppointmentEmailTemplateDto_1.AppointmentEmailTemplateDtoToJSON)(value['finalTime']),
@@ -23,9 +23,17 @@ export interface AppointmentProductDto {
23
23
  */
24
24
  name: string;
25
25
  /**
26
- * net price
26
+ * net price; empty in the tenant portal while the tenant does not show prices
27
27
  */
28
28
  price?: number;
29
+ /**
30
+ * currency of the price
31
+ */
32
+ currency?: string;
33
+ /**
34
+ * tax rate in percent; empty in the tenant portal while the tenant does not show prices
35
+ */
36
+ taxRate?: number;
29
37
  /**
30
38
  * html formatted product description
31
39
  */
@@ -38,6 +38,8 @@ function AppointmentProductDtoFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'productId': json['productId'],
39
39
  'name': json['name'],
40
40
  'price': json['price'] == null ? undefined : json['price'],
41
+ 'currency': json['currency'] == null ? undefined : json['currency'],
42
+ 'taxRate': json['taxRate'] == null ? undefined : json['taxRate'],
41
43
  'description': json['description'] == null ? undefined : json['description'],
42
44
  'quantity': json['quantity'] == null ? undefined : json['quantity'],
43
45
  };
@@ -54,6 +56,8 @@ function AppointmentProductDtoToJSONTyped(value, ignoreDiscriminator) {
54
56
  'productId': value['productId'],
55
57
  'name': value['name'],
56
58
  'price': value['price'],
59
+ 'currency': value['currency'],
60
+ 'taxRate': value['taxRate'],
57
61
  'description': value['description'],
58
62
  };
59
63
  }
@@ -9,8 +9,8 @@
9
9
  * Do not edit the class manually.
10
10
  */
11
11
  /**
12
- * straight-line distance between the requester and the nearest place the slot is at: the location of its calendar entry and the appointments planned within it.
13
- * CLOSE up to the routing configuration's sameDistance, NEAR up to its nearDistance, FAR beyond. Missing when the request has no location, the slot has no place yet or routing is not configured.
12
+ * how near the requester is to the nearest place the slot is at: the location of its calendar entry, the appointments planned within it and the appointments announced for one of its days.
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
14
  *
15
15
  * @export
16
16
  */
@@ -19,8 +19,8 @@ exports.AppointmentSlotDistanceFromJSONTyped = AppointmentSlotDistanceFromJSONTy
19
19
  exports.AppointmentSlotDistanceToJSON = AppointmentSlotDistanceToJSON;
20
20
  exports.AppointmentSlotDistanceToJSONTyped = AppointmentSlotDistanceToJSONTyped;
21
21
  /**
22
- * straight-line distance between the requester and the nearest place the slot is at: the location of its calendar entry and the appointments planned within it.
23
- * CLOSE up to the routing configuration's sameDistance, NEAR up to its nearDistance, FAR beyond. Missing when the request has no location, the slot has no place yet or routing is not configured.
22
+ * how near the requester is to the nearest place the slot is at: the location of its calendar entry, the appointments planned within it and the appointments announced for one of its days.
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
24
  *
25
25
  * @export
26
26
  */
@@ -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
  */
@@ -33,9 +33,13 @@ export interface AppointmentSlotDto {
33
33
  */
34
34
  distance?: AppointmentSlotDistance;
35
35
  /**
36
- * whether booked entries leave no time of the slot 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)
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
37
  */
38
38
  fullyBooked: boolean;
39
+ /**
40
+ * whether the requester's place most likely lies outside the route of every day of the slot that is not fully booked, i.e. the requester is neither CLOSE nor NEAR, the day has booked places and the driving time from its central place (the booked place nearest to the geographic center of the day's booked places) to the requester exceeds the routing configuration's maxDrivingTimeBetweenStops times the stops the day has left. False without requester location, for fully booked slots and while routing is not configured.
41
+ */
42
+ adverse: boolean;
39
43
  }
40
44
  /**
41
45
  * Check if a given object implements the AppointmentSlotDto interface.
@@ -29,6 +29,8 @@ function instanceOfAppointmentSlotDto(value) {
29
29
  return false;
30
30
  if (!('fullyBooked' in value) || value['fullyBooked'] === undefined)
31
31
  return false;
32
+ if (!('adverse' in value) || value['adverse'] === undefined)
33
+ return false;
32
34
  return true;
33
35
  }
34
36
  function AppointmentSlotDtoFromJSON(json) {
@@ -44,6 +46,7 @@ function AppointmentSlotDtoFromJSONTyped(json, ignoreDiscriminator) {
44
46
  'description': json['description'] == null ? undefined : json['description'],
45
47
  'distance': json['distance'] == null ? undefined : (0, AppointmentSlotDistance_1.AppointmentSlotDistanceFromJSON)(json['distance']),
46
48
  'fullyBooked': json['fullyBooked'],
49
+ 'adverse': json['adverse'],
47
50
  };
48
51
  }
49
52
  function AppointmentSlotDtoToJSON(json) {
@@ -60,5 +63,6 @@ function AppointmentSlotDtoToJSONTyped(value, ignoreDiscriminator) {
60
63
  'description': value['description'],
61
64
  'distance': (0, AppointmentSlotDistance_1.AppointmentSlotDistanceToJSON)(value['distance']),
62
65
  'fullyBooked': value['fullyBooked'],
66
+ 'adverse': value['adverse'],
63
67
  };
64
68
  }
@@ -11,6 +11,7 @@
11
11
  import type { AppointmentProductSelectionDto } from './AppointmentProductSelectionDto';
12
12
  import type { TimeSpanDto } from './TimeSpanDto';
13
13
  import type { AddressDto } from './AddressDto';
14
+ import type { ContactAddressDto } from './ContactAddressDto';
14
15
  /**
15
16
  * the time spans a user is available in, requested in the tenant portal as one appointment at an optional address
16
17
  * @export
@@ -33,6 +34,18 @@ export interface AppointmentSubmissionDto {
33
34
  * the data the user entered into the form of the booking configuration
34
35
  */
35
36
  formData?: any;
37
+ /**
38
+ * the files the user uploaded for the appointment through the tenant portal uploads of the service AppointmentPortal
39
+ */
40
+ fileIds?: Array<string>;
41
+ /**
42
+ * whom the appointment is invoiced to, with e-mail address and phone number
43
+ */
44
+ invoiceAddress?: ContactAddressDto;
45
+ /**
46
+ * notes of the requester on the appointment
47
+ */
48
+ notes?: string;
36
49
  }
37
50
  /**
38
51
  * Check if a given object implements the AppointmentSubmissionDto interface.
@@ -20,6 +20,7 @@ exports.AppointmentSubmissionDtoToJSONTyped = AppointmentSubmissionDtoToJSONType
20
20
  var AppointmentProductSelectionDto_1 = require("./AppointmentProductSelectionDto");
21
21
  var TimeSpanDto_1 = require("./TimeSpanDto");
22
22
  var AddressDto_1 = require("./AddressDto");
23
+ var ContactAddressDto_1 = require("./ContactAddressDto");
23
24
  /**
24
25
  * Check if a given object implements the AppointmentSubmissionDto interface.
25
26
  */
@@ -40,6 +41,9 @@ function AppointmentSubmissionDtoFromJSONTyped(json, ignoreDiscriminator) {
40
41
  'products': json['products'] == null ? undefined : (json['products'].map(AppointmentProductSelectionDto_1.AppointmentProductSelectionDtoFromJSON)),
41
42
  'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
42
43
  'formData': json['formData'] == null ? undefined : json['formData'],
44
+ 'fileIds': json['fileIds'] == null ? undefined : json['fileIds'],
45
+ 'invoiceAddress': json['invoiceAddress'] == null ? undefined : (0, ContactAddressDto_1.ContactAddressDtoFromJSON)(json['invoiceAddress']),
46
+ 'notes': json['notes'] == null ? undefined : json['notes'],
43
47
  };
44
48
  }
45
49
  function AppointmentSubmissionDtoToJSON(json) {
@@ -55,5 +59,8 @@ function AppointmentSubmissionDtoToJSONTyped(value, ignoreDiscriminator) {
55
59
  'products': value['products'] == null ? undefined : (value['products'].map(AppointmentProductSelectionDto_1.AppointmentProductSelectionDtoToJSON)),
56
60
  'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
57
61
  'formData': value['formData'],
62
+ 'fileIds': value['fileIds'],
63
+ 'invoiceAddress': (0, ContactAddressDto_1.ContactAddressDtoToJSON)(value['invoiceAddress']),
64
+ 'notes': value['notes'],
58
65
  };
59
66
  }
@@ -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'],
@@ -0,0 +1,50 @@
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 { EntityType } from './EntityType';
12
+ /**
13
+ * an item the logged-in user bookmarked; only the user who created a bookmark can see it
14
+ * @export
15
+ * @interface BookmarkDto
16
+ */
17
+ export interface BookmarkDto {
18
+ /**
19
+ *
20
+ */
21
+ readonly id?: string;
22
+ /**
23
+ * type of the bookmarked item; only Tenant can be bookmarked so far
24
+ */
25
+ entityType: EntityType;
26
+ /**
27
+ * identifier of the bookmarked item; the handle for a tenant, so the tenant id is never exposed
28
+ */
29
+ entityId: string;
30
+ /**
31
+ *
32
+ */
33
+ readonly creationTime?: Date;
34
+ /**
35
+ * handle of the tenant the bookmarked item belongs to, addresses its tenant portal
36
+ */
37
+ readonly tenantHandle?: string;
38
+ /**
39
+ * name of the tenant the bookmarked item belongs to
40
+ */
41
+ readonly tenantName?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the BookmarkDto interface.
45
+ */
46
+ export declare function instanceOfBookmarkDto(value: object): value is BookmarkDto;
47
+ export declare function BookmarkDtoFromJSON(json: any): BookmarkDto;
48
+ export declare function BookmarkDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookmarkDto;
49
+ export declare function BookmarkDtoToJSON(json: any): BookmarkDto;
50
+ export declare function BookmarkDtoToJSONTyped(value?: Omit<BookmarkDto, 'id' | 'creationTime' | 'tenantHandle' | 'tenantName'> | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfBookmarkDto = instanceOfBookmarkDto;
16
+ exports.BookmarkDtoFromJSON = BookmarkDtoFromJSON;
17
+ exports.BookmarkDtoFromJSONTyped = BookmarkDtoFromJSONTyped;
18
+ exports.BookmarkDtoToJSON = BookmarkDtoToJSON;
19
+ exports.BookmarkDtoToJSONTyped = BookmarkDtoToJSONTyped;
20
+ var runtime_1 = require("../runtime");
21
+ var EntityType_1 = require("./EntityType");
22
+ /**
23
+ * Check if a given object implements the BookmarkDto interface.
24
+ */
25
+ function instanceOfBookmarkDto(value) {
26
+ if (!('entityType' in value) || value['entityType'] === undefined)
27
+ return false;
28
+ if (!('entityId' in value) || value['entityId'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function BookmarkDtoFromJSON(json) {
33
+ return BookmarkDtoFromJSONTyped(json, false);
34
+ }
35
+ function BookmarkDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'] == null ? undefined : json['id'],
41
+ 'entityType': (0, EntityType_1.EntityTypeFromJSON)(json['entityType']),
42
+ 'entityId': json['entityId'],
43
+ 'creationTime': json['creationTime'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['creationTime'])),
44
+ 'tenantHandle': json['tenantHandle'] == null ? undefined : json['tenantHandle'],
45
+ 'tenantName': json['tenantName'] == null ? undefined : json['tenantName'],
46
+ };
47
+ }
48
+ function BookmarkDtoToJSON(json) {
49
+ return BookmarkDtoToJSONTyped(json, false);
50
+ }
51
+ function BookmarkDtoToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'entityType': (0, EntityType_1.EntityTypeToJSON)(value['entityType']),
58
+ 'entityId': value['entityId'],
59
+ };
60
+ }
@@ -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 { AddressDto } from './AddressDto';
12
+ /**
13
+ * an address together with the e-mail address and phone number of the person or company it names
14
+ * @export
15
+ * @interface ContactAddressDto
16
+ */
17
+ export interface ContactAddressDto {
18
+ /**
19
+ *
20
+ */
21
+ address?: AddressDto;
22
+ /**
23
+ *
24
+ */
25
+ email?: string;
26
+ /**
27
+ *
28
+ */
29
+ phoneNumber?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ContactAddressDto interface.
33
+ */
34
+ export declare function instanceOfContactAddressDto(value: object): value is ContactAddressDto;
35
+ export declare function ContactAddressDtoFromJSON(json: any): ContactAddressDto;
36
+ export declare function ContactAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactAddressDto;
37
+ export declare function ContactAddressDtoToJSON(json: any): ContactAddressDto;
38
+ export declare function ContactAddressDtoToJSONTyped(value?: ContactAddressDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
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.instanceOfContactAddressDto = instanceOfContactAddressDto;
16
+ exports.ContactAddressDtoFromJSON = ContactAddressDtoFromJSON;
17
+ exports.ContactAddressDtoFromJSONTyped = ContactAddressDtoFromJSONTyped;
18
+ exports.ContactAddressDtoToJSON = ContactAddressDtoToJSON;
19
+ exports.ContactAddressDtoToJSONTyped = ContactAddressDtoToJSONTyped;
20
+ var AddressDto_1 = require("./AddressDto");
21
+ /**
22
+ * Check if a given object implements the ContactAddressDto interface.
23
+ */
24
+ function instanceOfContactAddressDto(value) {
25
+ return true;
26
+ }
27
+ function ContactAddressDtoFromJSON(json) {
28
+ return ContactAddressDtoFromJSONTyped(json, false);
29
+ }
30
+ function ContactAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
36
+ 'email': json['email'] == null ? undefined : json['email'],
37
+ 'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
38
+ };
39
+ }
40
+ function ContactAddressDtoToJSON(json) {
41
+ return ContactAddressDtoToJSONTyped(json, false);
42
+ }
43
+ function ContactAddressDtoToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
50
+ 'email': value['email'],
51
+ 'phoneNumber': value['phoneNumber'],
52
+ };
53
+ }
@@ -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
+ * the address book of the tenant, holding one vCard per customer
13
+ * @export
14
+ * @interface DavAddressBookDto
15
+ */
16
+ export interface DavAddressBookDto {
17
+ /**
18
+ * Sync token of a calendar or of the address book. It only changes when a resource of the collection changes. Changes are requested with the syncToken query parameter; changes may be returned again, but none is lost.
19
+ */
20
+ syncToken: number;
21
+ }
22
+ /**
23
+ * Check if a given object implements the DavAddressBookDto interface.
24
+ */
25
+ export declare function instanceOfDavAddressBookDto(value: object): value is DavAddressBookDto;
26
+ export declare function DavAddressBookDtoFromJSON(json: any): DavAddressBookDto;
27
+ export declare function DavAddressBookDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DavAddressBookDto;
28
+ export declare function DavAddressBookDtoToJSON(json: any): DavAddressBookDto;
29
+ export declare function DavAddressBookDtoToJSONTyped(value?: DavAddressBookDto | 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.instanceOfDavAddressBookDto = instanceOfDavAddressBookDto;
16
+ exports.DavAddressBookDtoFromJSON = DavAddressBookDtoFromJSON;
17
+ exports.DavAddressBookDtoFromJSONTyped = DavAddressBookDtoFromJSONTyped;
18
+ exports.DavAddressBookDtoToJSON = DavAddressBookDtoToJSON;
19
+ exports.DavAddressBookDtoToJSONTyped = DavAddressBookDtoToJSONTyped;
20
+ /**
21
+ * Check if a given object implements the DavAddressBookDto interface.
22
+ */
23
+ function instanceOfDavAddressBookDto(value) {
24
+ if (!('syncToken' in value) || value['syncToken'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ function DavAddressBookDtoFromJSON(json) {
29
+ return DavAddressBookDtoFromJSONTyped(json, false);
30
+ }
31
+ function DavAddressBookDtoFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'syncToken': json['syncToken'],
37
+ };
38
+ }
39
+ function DavAddressBookDtoToJSON(json) {
40
+ return DavAddressBookDtoToJSONTyped(json, false);
41
+ }
42
+ function DavAddressBookDtoToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'syncToken': value['syncToken'],
49
+ };
50
+ }
@@ -20,7 +20,7 @@ export interface DavCalendarDto {
20
20
  */
21
21
  type: CalendarEntryTypeDto;
22
22
  /**
23
- * Sync token of a calendar. It only changes when a resource of the calendar changes. Changes are requested with the syncToken query parameter; changes may be returned again, but none is lost.
23
+ * Sync token of a calendar or of the address book. It only changes when a resource of the collection changes. Changes are requested with the syncToken query parameter; changes may be returned again, but none is lost.
24
24
  */
25
25
  syncToken: number;
26
26
  }