@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
@@ -24,6 +24,12 @@ export interface ConfirmOwnAppointmentRequest {
24
24
  * id of entity
25
25
  */
26
26
  id: string;
27
+ /**
28
+ * secret of the confirmation link sent to the customer of an appointment whose partner account has no user; grants
29
+ * access instead of a login, which is required without it
30
+ *
31
+ */
32
+ xPortalSecret?: string;
27
33
  }
28
34
  export interface DeleteOwnAppointmentRequest {
29
35
  /**
@@ -82,6 +88,12 @@ export interface GetOwnAppointmentRequest {
82
88
  * id of entity
83
89
  */
84
90
  id: string;
91
+ /**
92
+ * secret of the confirmation link sent to the customer of an appointment whose partner account has no user; grants
93
+ * access instead of a login, which is required without it
94
+ *
95
+ */
96
+ xPortalSecret?: string;
85
97
  }
86
98
  export interface GetOwnAppointmentsRequest {
87
99
  /**
@@ -122,13 +134,13 @@ export declare class AppointmentPortalApi extends runtime.BaseAPI {
122
134
  */
123
135
  confirmOwnAppointmentRequestOpts(requestParameters: ConfirmOwnAppointmentRequest): Promise<runtime.RequestOpts>;
124
136
  /**
125
- * Only possible while the appointment is in planning with a planned time and its confirmation period has not ended. The appointment and its planned time span become confirmed and the user is marked as accepted in the calendar entry.
126
- * confirm the planned time of an appointment the logged-in user requested at the tenant
137
+ * Only possible while the appointment is in planning with a planned time and its confirmation period has not ended. The appointment and its planned time span become confirmed and the user, or without one the customer, is marked as accepted in the calendar entry.
138
+ * confirm the planned time of an appointment the logged-in user requested at the tenant, or of the one the secret of its confirmation link grants access to
127
139
  */
128
140
  confirmOwnAppointmentRaw(requestParameters: ConfirmOwnAppointmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppointmentPortalDto>>;
129
141
  /**
130
- * Only possible while the appointment is in planning with a planned time and its confirmation period has not ended. The appointment and its planned time span become confirmed and the user is marked as accepted in the calendar entry.
131
- * confirm the planned time of an appointment the logged-in user requested at the tenant
142
+ * Only possible while the appointment is in planning with a planned time and its confirmation period has not ended. The appointment and its planned time span become confirmed and the user, or without one the customer, is marked as accepted in the calendar entry.
143
+ * confirm the planned time of an appointment the logged-in user requested at the tenant, or of the one the secret of its confirmation link grants access to
132
144
  */
133
145
  confirmOwnAppointment(requestParameters: ConfirmOwnAppointmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppointmentPortalDto>;
134
146
  /**
@@ -164,12 +176,12 @@ export declare class AppointmentPortalApi extends runtime.BaseAPI {
164
176
  */
165
177
  getAllAppointmentSlotsRequestOpts(requestParameters: GetAllAppointmentSlotsRequest): Promise<runtime.RequestOpts>;
166
178
  /**
167
- * Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. The slots are sorted by their start.
179
+ * Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. Slots that overlap or touch are joined into one. The slots are sorted by their start.
168
180
  * get the bookable appointment slots of a tenant overlapping a period that have not ended yet
169
181
  */
170
182
  getAllAppointmentSlotsRaw(requestParameters: GetAllAppointmentSlotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AppointmentSlotDto>>>;
171
183
  /**
172
- * Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. The slots are sorted by their start.
184
+ * Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. Slots that overlap or touch are joined into one. The slots are sorted by their start.
173
185
  * get the bookable appointment slots of a tenant overlapping a period that have not ended yet
174
186
  */
175
187
  getAllAppointmentSlots(requestParameters: GetAllAppointmentSlotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AppointmentSlotDto>>;
@@ -192,11 +204,11 @@ export declare class AppointmentPortalApi extends runtime.BaseAPI {
192
204
  */
193
205
  getOwnAppointmentRequestOpts(requestParameters: GetOwnAppointmentRequest): Promise<runtime.RequestOpts>;
194
206
  /**
195
- * read an appointment the logged-in user requested at the tenant
207
+ * read an appointment the logged-in user requested at the tenant, or the one the secret of its confirmation link grants access to
196
208
  */
197
209
  getOwnAppointmentRaw(requestParameters: GetOwnAppointmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppointmentPortalDto>>;
198
210
  /**
199
- * read an appointment the logged-in user requested at the tenant
211
+ * read an appointment the logged-in user requested at the tenant, or the one the secret of its confirmation link grants access to
200
212
  */
201
213
  getOwnAppointment(requestParameters: GetOwnAppointmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppointmentPortalDto>;
202
214
  /**
@@ -94,6 +94,9 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
94
94
  }
95
95
  queryParameters = {};
96
96
  headerParameters = {};
97
+ if (requestParameters['xPortalSecret'] != null) {
98
+ headerParameters['X-Portal-Secret'] = String(requestParameters['xPortalSecret']);
99
+ }
97
100
  urlPath = "/ui/tenant-portal/v1/{handle}/appointments/{id}/confirmation";
98
101
  urlPath = urlPath.replace('{handle}', encodeURIComponent(String(requestParameters['handle'])));
99
102
  urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
@@ -107,8 +110,8 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
107
110
  });
108
111
  };
109
112
  /**
110
- * Only possible while the appointment is in planning with a planned time and its confirmation period has not ended. The appointment and its planned time span become confirmed and the user is marked as accepted in the calendar entry.
111
- * confirm the planned time of an appointment the logged-in user requested at the tenant
113
+ * Only possible while the appointment is in planning with a planned time and its confirmation period has not ended. The appointment and its planned time span become confirmed and the user, or without one the customer, is marked as accepted in the calendar entry.
114
+ * confirm the planned time of an appointment the logged-in user requested at the tenant, or of the one the secret of its confirmation link grants access to
112
115
  */
113
116
  AppointmentPortalApi.prototype.confirmOwnAppointmentRaw = function (requestParameters, initOverrides) {
114
117
  return __awaiter(this, void 0, void 0, function () {
@@ -127,8 +130,8 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
127
130
  });
128
131
  };
129
132
  /**
130
- * Only possible while the appointment is in planning with a planned time and its confirmation period has not ended. The appointment and its planned time span become confirmed and the user is marked as accepted in the calendar entry.
131
- * confirm the planned time of an appointment the logged-in user requested at the tenant
133
+ * Only possible while the appointment is in planning with a planned time and its confirmation period has not ended. The appointment and its planned time span become confirmed and the user, or without one the customer, is marked as accepted in the calendar entry.
134
+ * confirm the planned time of an appointment the logged-in user requested at the tenant, or of the one the secret of its confirmation link grants access to
132
135
  */
133
136
  AppointmentPortalApi.prototype.confirmOwnAppointment = function (requestParameters, initOverrides) {
134
137
  return __awaiter(this, void 0, void 0, function () {
@@ -313,7 +316,7 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
313
316
  });
314
317
  };
315
318
  /**
316
- * Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. The slots are sorted by their start.
319
+ * Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. Slots that overlap or touch are joined into one. The slots are sorted by their start.
317
320
  * get the bookable appointment slots of a tenant overlapping a period that have not ended yet
318
321
  */
319
322
  AppointmentPortalApi.prototype.getAllAppointmentSlotsRaw = function (requestParameters, initOverrides) {
@@ -333,7 +336,7 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
333
336
  });
334
337
  };
335
338
  /**
336
- * Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. The slots are sorted by their start.
339
+ * Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. Slots that overlap or touch are joined into one. The slots are sorted by their start.
337
340
  * get the bookable appointment slots of a tenant overlapping a period that have not ended yet
338
341
  */
339
342
  AppointmentPortalApi.prototype.getAllAppointmentSlots = function (requestParameters, initOverrides) {
@@ -426,6 +429,9 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
426
429
  }
427
430
  queryParameters = {};
428
431
  headerParameters = {};
432
+ if (requestParameters['xPortalSecret'] != null) {
433
+ headerParameters['X-Portal-Secret'] = String(requestParameters['xPortalSecret']);
434
+ }
429
435
  urlPath = "/ui/tenant-portal/v1/{handle}/appointments/{id}";
430
436
  urlPath = urlPath.replace('{handle}', encodeURIComponent(String(requestParameters['handle'])));
431
437
  urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
@@ -439,7 +445,7 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
439
445
  });
440
446
  };
441
447
  /**
442
- * read an appointment the logged-in user requested at the tenant
448
+ * read an appointment the logged-in user requested at the tenant, or the one the secret of its confirmation link grants access to
443
449
  */
444
450
  AppointmentPortalApi.prototype.getOwnAppointmentRaw = function (requestParameters, initOverrides) {
445
451
  return __awaiter(this, void 0, void 0, function () {
@@ -458,7 +464,7 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
458
464
  });
459
465
  };
460
466
  /**
461
- * read an appointment the logged-in user requested at the tenant
467
+ * read an appointment the logged-in user requested at the tenant, or the one the secret of its confirmation link grants access to
462
468
  */
463
469
  AppointmentPortalApi.prototype.getOwnAppointment = function (requestParameters, initOverrides) {
464
470
  return __awaiter(this, void 0, void 0, function () {
@@ -13,12 +13,13 @@ import { type AppointmentBlockerDto } from '../models/AppointmentBlockerDto';
13
13
  import { type AppointmentDto } from '../models/AppointmentDto';
14
14
  import { type CalendarEntryDto } from '../models/CalendarEntryDto';
15
15
  import { type GetAllAppointments200Response } from '../models/GetAllAppointments200Response';
16
+ import { type JobDto } from '../models/JobDto';
16
17
  import { type KommerzPageable } from '../models/KommerzPageable';
17
18
  export interface CreateAppointmentRequest {
18
19
  /**
19
20
  *
20
21
  */
21
- appointmentDto: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId'>;
22
+ appointmentDto: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId' | 'formTypeId'>;
22
23
  }
23
24
  export interface CreateAppointmentBlockerRequest {
24
25
  /**
@@ -48,6 +49,16 @@ export interface GetAppointmentRequest {
48
49
  */
49
50
  id: string;
50
51
  }
52
+ export interface GetAppointmentItineraryEntriesRequest {
53
+ /**
54
+ * inclusive start of the period
55
+ */
56
+ from: Date;
57
+ /**
58
+ * exclusive end of the period
59
+ */
60
+ to: Date;
61
+ }
51
62
  export interface UpdateAppointmentRequest {
52
63
  /**
53
64
  * id of entity
@@ -56,7 +67,7 @@ export interface UpdateAppointmentRequest {
56
67
  /**
57
68
  *
58
69
  */
59
- appointmentDto: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId'>;
70
+ appointmentDto: Omit<AppointmentDto, 'products' | 'legalEntityUserName' | 'calendarEntryId' | 'formTypeId'>;
60
71
  /**
61
72
  * whether to force update the entity
62
73
  */
@@ -128,6 +139,34 @@ export declare class AppointmentsApi extends runtime.BaseAPI {
128
139
  * read one appointment
129
140
  */
130
141
  getAppointment(requestParameters: GetAppointmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppointmentDto>;
142
+ /**
143
+ * Creates request options for getAppointmentItineraryEntries without sending the request
144
+ */
145
+ getAppointmentItineraryEntriesRequestOpts(requestParameters: GetAppointmentItineraryEntriesRequest): Promise<runtime.RequestOpts>;
146
+ /**
147
+ * Returns the occurrences of the calendar entries of the managed appointment type the routing configuration names, every repeating entry expanded. The list is empty while the routing configuration names no type or the type does not exist yet.
148
+ * get the entries of the managed appointment calendar entry type overlapping a period
149
+ */
150
+ getAppointmentItineraryEntriesRaw(requestParameters: GetAppointmentItineraryEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CalendarEntryDto>>>;
151
+ /**
152
+ * Returns the occurrences of the calendar entries of the managed appointment type the routing configuration names, every repeating entry expanded. The list is empty while the routing configuration names no type or the type does not exist yet.
153
+ * get the entries of the managed appointment calendar entry type overlapping a period
154
+ */
155
+ getAppointmentItineraryEntries(requestParameters: GetAppointmentItineraryEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CalendarEntryDto>>;
156
+ /**
157
+ * Creates request options for startAppointmentPlanningJob without sending the request
158
+ */
159
+ startAppointmentPlanningJobRequestOpts(): Promise<runtime.RequestOpts>;
160
+ /**
161
+ * Enqueues a route planning job for the tenant, which plans its open appointments with the routing configuration. A job that starts while another job of the tenant is planning is cancelled. The job stores its RoutePlanningResultDto as data once it succeeded.
162
+ * start route planning
163
+ */
164
+ startAppointmentPlanningJobRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JobDto>>;
165
+ /**
166
+ * Enqueues a route planning job for the tenant, which plans its open appointments with the routing configuration. A job that starts while another job of the tenant is planning is cancelled. The job stores its RoutePlanningResultDto as data once it succeeded.
167
+ * start route planning
168
+ */
169
+ startAppointmentPlanningJob(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JobDto>;
131
170
  /**
132
171
  * Creates request options for updateAppointment without sending the request
133
172
  */
@@ -69,6 +69,7 @@ var AppointmentBlockerDto_1 = require("../models/AppointmentBlockerDto");
69
69
  var AppointmentDto_1 = require("../models/AppointmentDto");
70
70
  var CalendarEntryDto_1 = require("../models/CalendarEntryDto");
71
71
  var GetAllAppointments200Response_1 = require("../models/GetAllAppointments200Response");
72
+ var JobDto_1 = require("../models/JobDto");
72
73
  /**
73
74
  *
74
75
  */
@@ -379,6 +380,132 @@ var AppointmentsApi = /** @class */ (function (_super) {
379
380
  });
380
381
  });
381
382
  };
383
+ /**
384
+ * Creates request options for getAppointmentItineraryEntries without sending the request
385
+ */
386
+ AppointmentsApi.prototype.getAppointmentItineraryEntriesRequestOpts = function (requestParameters) {
387
+ return __awaiter(this, void 0, void 0, function () {
388
+ var queryParameters, headerParameters, urlPath;
389
+ return __generator(this, function (_a) {
390
+ if (requestParameters['from'] == null) {
391
+ throw new runtime.RequiredError('from', 'Required parameter "from" was null or undefined when calling getAppointmentItineraryEntries().');
392
+ }
393
+ if (requestParameters['to'] == null) {
394
+ throw new runtime.RequiredError('to', 'Required parameter "to" was null or undefined when calling getAppointmentItineraryEntries().');
395
+ }
396
+ queryParameters = {};
397
+ if (requestParameters['from'] != null) {
398
+ queryParameters['from'] = runtime.serializeDateTime(requestParameters['from']);
399
+ }
400
+ if (requestParameters['to'] != null) {
401
+ queryParameters['to'] = runtime.serializeDateTime(requestParameters['to']);
402
+ }
403
+ headerParameters = {};
404
+ urlPath = "/ui/appointments/v1/itinerary-entries";
405
+ return [2 /*return*/, {
406
+ path: urlPath,
407
+ method: 'GET',
408
+ headers: headerParameters,
409
+ query: queryParameters,
410
+ }];
411
+ });
412
+ });
413
+ };
414
+ /**
415
+ * Returns the occurrences of the calendar entries of the managed appointment type the routing configuration names, every repeating entry expanded. The list is empty while the routing configuration names no type or the type does not exist yet.
416
+ * get the entries of the managed appointment calendar entry type overlapping a period
417
+ */
418
+ AppointmentsApi.prototype.getAppointmentItineraryEntriesRaw = function (requestParameters, initOverrides) {
419
+ return __awaiter(this, void 0, void 0, function () {
420
+ var requestOptions, response;
421
+ return __generator(this, function (_a) {
422
+ switch (_a.label) {
423
+ case 0: return [4 /*yield*/, this.getAppointmentItineraryEntriesRequestOpts(requestParameters)];
424
+ case 1:
425
+ requestOptions = _a.sent();
426
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
427
+ case 2:
428
+ response = _a.sent();
429
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(CalendarEntryDto_1.CalendarEntryDtoFromJSON); })];
430
+ }
431
+ });
432
+ });
433
+ };
434
+ /**
435
+ * Returns the occurrences of the calendar entries of the managed appointment type the routing configuration names, every repeating entry expanded. The list is empty while the routing configuration names no type or the type does not exist yet.
436
+ * get the entries of the managed appointment calendar entry type overlapping a period
437
+ */
438
+ AppointmentsApi.prototype.getAppointmentItineraryEntries = function (requestParameters, initOverrides) {
439
+ return __awaiter(this, void 0, void 0, function () {
440
+ var response;
441
+ return __generator(this, function (_a) {
442
+ switch (_a.label) {
443
+ case 0: return [4 /*yield*/, this.getAppointmentItineraryEntriesRaw(requestParameters, initOverrides)];
444
+ case 1:
445
+ response = _a.sent();
446
+ return [4 /*yield*/, response.value()];
447
+ case 2: return [2 /*return*/, _a.sent()];
448
+ }
449
+ });
450
+ });
451
+ };
452
+ /**
453
+ * Creates request options for startAppointmentPlanningJob without sending the request
454
+ */
455
+ AppointmentsApi.prototype.startAppointmentPlanningJobRequestOpts = function () {
456
+ return __awaiter(this, void 0, void 0, function () {
457
+ var queryParameters, headerParameters, urlPath;
458
+ return __generator(this, function (_a) {
459
+ queryParameters = {};
460
+ headerParameters = {};
461
+ urlPath = "/ui/appointments/v1/planning-jobs";
462
+ return [2 /*return*/, {
463
+ path: urlPath,
464
+ method: 'POST',
465
+ headers: headerParameters,
466
+ query: queryParameters,
467
+ }];
468
+ });
469
+ });
470
+ };
471
+ /**
472
+ * Enqueues a route planning job for the tenant, which plans its open appointments with the routing configuration. A job that starts while another job of the tenant is planning is cancelled. The job stores its RoutePlanningResultDto as data once it succeeded.
473
+ * start route planning
474
+ */
475
+ AppointmentsApi.prototype.startAppointmentPlanningJobRaw = function (initOverrides) {
476
+ return __awaiter(this, void 0, void 0, function () {
477
+ var requestOptions, response;
478
+ return __generator(this, function (_a) {
479
+ switch (_a.label) {
480
+ case 0: return [4 /*yield*/, this.startAppointmentPlanningJobRequestOpts()];
481
+ case 1:
482
+ requestOptions = _a.sent();
483
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
484
+ case 2:
485
+ response = _a.sent();
486
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, JobDto_1.JobDtoFromJSON)(jsonValue); })];
487
+ }
488
+ });
489
+ });
490
+ };
491
+ /**
492
+ * Enqueues a route planning job for the tenant, which plans its open appointments with the routing configuration. A job that starts while another job of the tenant is planning is cancelled. The job stores its RoutePlanningResultDto as data once it succeeded.
493
+ * start route planning
494
+ */
495
+ AppointmentsApi.prototype.startAppointmentPlanningJob = function (initOverrides) {
496
+ return __awaiter(this, void 0, void 0, function () {
497
+ var response;
498
+ return __generator(this, function (_a) {
499
+ switch (_a.label) {
500
+ case 0: return [4 /*yield*/, this.startAppointmentPlanningJobRaw(initOverrides)];
501
+ case 1:
502
+ response = _a.sent();
503
+ return [4 /*yield*/, response.value()];
504
+ case 2: return [2 /*return*/, _a.sent()];
505
+ }
506
+ });
507
+ });
508
+ };
382
509
  /**
383
510
  * Creates request options for updateAppointment without sending the request
384
511
  */
@@ -33,10 +33,6 @@ export interface GetAllCustomersRequest {
33
33
  * Filter query parameters. Operators: sim, nsim, eq, neq, leq, less, geq, gtr). Values have to be url-encoded.
34
34
  */
35
35
  filter?: Array<string>;
36
- /**
37
- * whether retired entities are returned as well, so a synchronizing client learns about deletions
38
- */
39
- includeDeleted?: boolean;
40
36
  }
41
37
  export interface GetCustomerRequest {
42
38
  /**
@@ -209,9 +209,6 @@ var CustomersApi = /** @class */ (function (_super) {
209
209
  if (requestParameters['filter'] != null) {
210
210
  queryParameters['filter'] = requestParameters['filter'];
211
211
  }
212
- if (requestParameters['includeDeleted'] != null) {
213
- queryParameters['includeDeleted'] = requestParameters['includeDeleted'];
214
- }
215
212
  headerParameters = {};
216
213
  urlPath = "/ui/customers/v1";
217
214
  return [2 /*return*/, {
@@ -9,6 +9,21 @@
9
9
  * Do not edit the class manually.
10
10
  */
11
11
  import * as runtime from '../runtime';
12
+ import { type AddressDto } from '../models/AddressDto';
13
+ import { type GeoLocationDto } from '../models/GeoLocationDto';
14
+ import { type LocationGeocodeQueryDto } from '../models/LocationGeocodeQueryDto';
15
+ export interface GeocodeAddressRequest {
16
+ /**
17
+ *
18
+ */
19
+ addressDto: AddressDto;
20
+ }
21
+ export interface GeocodeLocationRequest {
22
+ /**
23
+ *
24
+ */
25
+ locationGeocodeQueryDto: LocationGeocodeQueryDto;
26
+ }
12
27
  export interface GetMapGlyphsRequest {
13
28
  /**
14
29
  * name of the font
@@ -39,6 +54,34 @@ export interface GetMapTilesetRequest {
39
54
  *
40
55
  */
41
56
  export declare class MapsApi extends runtime.BaseAPI {
57
+ /**
58
+ * Creates request options for geocodeAddress without sending the request
59
+ */
60
+ geocodeAddressRequestOpts(requestParameters: GeocodeAddressRequest): Promise<runtime.RequestOpts>;
61
+ /**
62
+ * Every valid Kommerz login is accepted, no permission is checked. The address is resolved by the HERE Geocoding API; the result is empty when it could not be located.
63
+ * locate an address on the street map
64
+ */
65
+ geocodeAddressRaw(requestParameters: GeocodeAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoLocationDto>>;
66
+ /**
67
+ * Every valid Kommerz login is accepted, no permission is checked. The address is resolved by the HERE Geocoding API; the result is empty when it could not be located.
68
+ * locate an address on the street map
69
+ */
70
+ geocodeAddress(requestParameters: GeocodeAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoLocationDto>;
71
+ /**
72
+ * Creates request options for geocodeLocation without sending the request
73
+ */
74
+ geocodeLocationRequestOpts(requestParameters: GeocodeLocationRequest): Promise<runtime.RequestOpts>;
75
+ /**
76
+ * Every valid Kommerz login is accepted, no permission is checked. The text is resolved by the HERE Geocoding API; the result is empty when it could not be located.
77
+ * locate a location given as free text on the street map
78
+ */
79
+ geocodeLocationRaw(requestParameters: GeocodeLocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoLocationDto>>;
80
+ /**
81
+ * Every valid Kommerz login is accepted, no permission is checked. The text is resolved by the HERE Geocoding API; the result is empty when it could not be located.
82
+ * locate a location given as free text on the street map
83
+ */
84
+ geocodeLocation(requestParameters: GeocodeLocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoLocationDto>;
42
85
  /**
43
86
  * Creates request options for getMapGlyphs without sending the request
44
87
  */
@@ -65,6 +65,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
65
65
  Object.defineProperty(exports, "__esModule", { value: true });
66
66
  exports.MapsApi = void 0;
67
67
  var runtime = require("../runtime");
68
+ var AddressDto_1 = require("../models/AddressDto");
69
+ var GeoLocationDto_1 = require("../models/GeoLocationDto");
70
+ var LocationGeocodeQueryDto_1 = require("../models/LocationGeocodeQueryDto");
68
71
  /**
69
72
  *
70
73
  */
@@ -73,6 +76,130 @@ var MapsApi = /** @class */ (function (_super) {
73
76
  function MapsApi() {
74
77
  return _super !== null && _super.apply(this, arguments) || this;
75
78
  }
79
+ /**
80
+ * Creates request options for geocodeAddress without sending the request
81
+ */
82
+ MapsApi.prototype.geocodeAddressRequestOpts = function (requestParameters) {
83
+ return __awaiter(this, void 0, void 0, function () {
84
+ var queryParameters, headerParameters, urlPath;
85
+ return __generator(this, function (_a) {
86
+ if (requestParameters['addressDto'] == null) {
87
+ throw new runtime.RequiredError('addressDto', 'Required parameter "addressDto" was null or undefined when calling geocodeAddress().');
88
+ }
89
+ queryParameters = {};
90
+ headerParameters = {};
91
+ headerParameters['Content-Type'] = 'application/json';
92
+ urlPath = "/ui/maps/v1/geocodes";
93
+ return [2 /*return*/, {
94
+ path: urlPath,
95
+ method: 'POST',
96
+ headers: headerParameters,
97
+ query: queryParameters,
98
+ body: (0, AddressDto_1.AddressDtoToJSON)(requestParameters['addressDto']),
99
+ }];
100
+ });
101
+ });
102
+ };
103
+ /**
104
+ * Every valid Kommerz login is accepted, no permission is checked. The address is resolved by the HERE Geocoding API; the result is empty when it could not be located.
105
+ * locate an address on the street map
106
+ */
107
+ MapsApi.prototype.geocodeAddressRaw = function (requestParameters, initOverrides) {
108
+ return __awaiter(this, void 0, void 0, function () {
109
+ var requestOptions, response;
110
+ return __generator(this, function (_a) {
111
+ switch (_a.label) {
112
+ case 0: return [4 /*yield*/, this.geocodeAddressRequestOpts(requestParameters)];
113
+ case 1:
114
+ requestOptions = _a.sent();
115
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
116
+ case 2:
117
+ response = _a.sent();
118
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GeoLocationDto_1.GeoLocationDtoFromJSON)(jsonValue); })];
119
+ }
120
+ });
121
+ });
122
+ };
123
+ /**
124
+ * Every valid Kommerz login is accepted, no permission is checked. The address is resolved by the HERE Geocoding API; the result is empty when it could not be located.
125
+ * locate an address on the street map
126
+ */
127
+ MapsApi.prototype.geocodeAddress = function (requestParameters, initOverrides) {
128
+ return __awaiter(this, void 0, void 0, function () {
129
+ var response;
130
+ return __generator(this, function (_a) {
131
+ switch (_a.label) {
132
+ case 0: return [4 /*yield*/, this.geocodeAddressRaw(requestParameters, initOverrides)];
133
+ case 1:
134
+ response = _a.sent();
135
+ return [4 /*yield*/, response.value()];
136
+ case 2: return [2 /*return*/, _a.sent()];
137
+ }
138
+ });
139
+ });
140
+ };
141
+ /**
142
+ * Creates request options for geocodeLocation without sending the request
143
+ */
144
+ MapsApi.prototype.geocodeLocationRequestOpts = function (requestParameters) {
145
+ return __awaiter(this, void 0, void 0, function () {
146
+ var queryParameters, headerParameters, urlPath;
147
+ return __generator(this, function (_a) {
148
+ if (requestParameters['locationGeocodeQueryDto'] == null) {
149
+ throw new runtime.RequiredError('locationGeocodeQueryDto', 'Required parameter "locationGeocodeQueryDto" was null or undefined when calling geocodeLocation().');
150
+ }
151
+ queryParameters = {};
152
+ headerParameters = {};
153
+ headerParameters['Content-Type'] = 'application/json';
154
+ urlPath = "/ui/maps/v1/location-geocodes";
155
+ return [2 /*return*/, {
156
+ path: urlPath,
157
+ method: 'POST',
158
+ headers: headerParameters,
159
+ query: queryParameters,
160
+ body: (0, LocationGeocodeQueryDto_1.LocationGeocodeQueryDtoToJSON)(requestParameters['locationGeocodeQueryDto']),
161
+ }];
162
+ });
163
+ });
164
+ };
165
+ /**
166
+ * Every valid Kommerz login is accepted, no permission is checked. The text is resolved by the HERE Geocoding API; the result is empty when it could not be located.
167
+ * locate a location given as free text on the street map
168
+ */
169
+ MapsApi.prototype.geocodeLocationRaw = function (requestParameters, initOverrides) {
170
+ return __awaiter(this, void 0, void 0, function () {
171
+ var requestOptions, response;
172
+ return __generator(this, function (_a) {
173
+ switch (_a.label) {
174
+ case 0: return [4 /*yield*/, this.geocodeLocationRequestOpts(requestParameters)];
175
+ case 1:
176
+ requestOptions = _a.sent();
177
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
178
+ case 2:
179
+ response = _a.sent();
180
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GeoLocationDto_1.GeoLocationDtoFromJSON)(jsonValue); })];
181
+ }
182
+ });
183
+ });
184
+ };
185
+ /**
186
+ * Every valid Kommerz login is accepted, no permission is checked. The text is resolved by the HERE Geocoding API; the result is empty when it could not be located.
187
+ * locate a location given as free text on the street map
188
+ */
189
+ MapsApi.prototype.geocodeLocation = function (requestParameters, initOverrides) {
190
+ return __awaiter(this, void 0, void 0, function () {
191
+ var response;
192
+ return __generator(this, function (_a) {
193
+ switch (_a.label) {
194
+ case 0: return [4 /*yield*/, this.geocodeLocationRaw(requestParameters, initOverrides)];
195
+ case 1:
196
+ response = _a.sent();
197
+ return [4 /*yield*/, response.value()];
198
+ case 2: return [2 /*return*/, _a.sent()];
199
+ }
200
+ });
201
+ });
202
+ };
76
203
  /**
77
204
  * Creates request options for getMapGlyphs without sending the request
78
205
  */