@kommerz/ts-client 1.195.0 → 1.197.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AcceptancePortalDocumentsApi.d.ts +6 -6
- package/dist/apis/AcceptancePortalDocumentsApi.js +12 -12
- package/dist/apis/AppointmentPortalApi.d.ts +95 -15
- package/dist/apis/AppointmentPortalApi.js +212 -15
- package/dist/apis/AppointmentUsersApi.js +5 -5
- package/dist/apis/AppointmentsApi.d.ts +63 -2
- package/dist/apis/AppointmentsApi.js +196 -5
- package/dist/apis/BankingAccountsApi.js +1 -1
- package/dist/apis/BankingRegistrationsApi.js +1 -1
- package/dist/apis/CustomersApi.d.ts +0 -4
- package/dist/apis/CustomersApi.js +0 -3
- package/dist/apis/FileDirectorySharesApi.d.ts +4 -4
- package/dist/apis/FileDirectorySharesApi.js +8 -8
- package/dist/apis/FormsPortalApi.d.ts +6 -4
- package/dist/apis/FormsPortalApi.js +10 -8
- package/dist/apis/InvoicePortalApi.d.ts +2 -2
- package/dist/apis/InvoicePortalApi.js +4 -4
- package/dist/apis/LegalEntityUsersApi.d.ts +121 -0
- package/dist/apis/LegalEntityUsersApi.js +387 -0
- package/dist/apis/MapsApi.d.ts +43 -0
- package/dist/apis/MapsApi.js +127 -0
- package/dist/apis/NotificationTargetsApi.js +1 -1
- package/dist/apis/NotificationsAcksApi.js +2 -2
- package/dist/apis/NotificationsApi.js +3 -3
- package/dist/apis/PresenceEntriesApi.js +1 -1
- package/dist/apis/TenantPortalUploadsApi.d.ts +166 -0
- package/dist/apis/TenantPortalUploadsApi.js +418 -0
- package/dist/apis/TimeTrackingCalendarApi.js +2 -2
- package/dist/apis/TimeTrackingCalendarExportApi.js +1 -1
- package/dist/apis/UsersMeApi.d.ts +58 -9
- package/dist/apis/UsersMeApi.js +103 -14
- package/dist/apis/UsersMeBookmarksApi.d.ts +99 -0
- package/dist/apis/UsersMeBookmarksApi.js +324 -0
- package/dist/apis/index.d.ts +3 -2
- package/dist/apis/index.js +3 -2
- package/dist/models/AccountCalendarEntryDto.d.ts +6 -1
- package/dist/models/AccountCalendarEntryDto.js +3 -0
- package/dist/models/AccountCalendarEntryRsvpDto.d.ts +33 -0
- package/dist/models/AccountCalendarEntryRsvpDto.js +54 -0
- package/dist/models/AddressDto.d.ts +4 -0
- package/dist/models/AddressDto.js +2 -0
- package/dist/models/AppointmentBlockerDto.d.ts +59 -0
- package/dist/models/AppointmentBlockerDto.js +70 -0
- package/dist/models/AppointmentBookingConfigDto.d.ts +66 -0
- package/dist/models/AppointmentBookingConfigDto.js +71 -0
- package/dist/models/AppointmentDto.d.ts +30 -8
- package/dist/models/AppointmentDto.js +16 -6
- package/dist/models/AppointmentEmailTemplateDto.d.ts +33 -0
- package/dist/models/AppointmentEmailTemplateDto.js +50 -0
- package/dist/models/AppointmentEmailTemplatesDto.d.ts +58 -0
- package/dist/models/AppointmentEmailTemplatesDto.js +63 -0
- package/dist/models/AppointmentPortalDto.d.ts +8 -2
- package/dist/models/AppointmentPortalDto.js +6 -2
- package/dist/models/AppointmentProductDto.d.ts +45 -0
- package/dist/models/AppointmentProductDto.js +59 -0
- package/dist/models/AppointmentProductSelectionDto.d.ts +33 -0
- package/dist/models/AppointmentProductSelectionDto.js +54 -0
- package/dist/models/AppointmentSlotDistance.d.ts +3 -1
- package/dist/models/AppointmentSlotDistance.js +3 -1
- package/dist/models/AppointmentSlotDto.d.ts +5 -1
- package/dist/models/AppointmentSlotDto.js +4 -0
- package/dist/models/AppointmentStatus.d.ts +9 -3
- package/dist/models/AppointmentStatus.js +9 -3
- package/dist/models/AppointmentSubmissionDto.d.ts +15 -2
- package/dist/models/AppointmentSubmissionDto.js +7 -0
- package/dist/models/AppointmentTimeSpanDto.d.ts +39 -0
- package/dist/models/AppointmentTimeSpanDto.js +58 -0
- package/dist/models/AppointmentTimeSpanStatus.d.ts +35 -0
- package/dist/models/AppointmentTimeSpanStatus.js +61 -0
- package/dist/models/AttendedCalendarEntryDto.d.ts +10 -2
- package/dist/models/AttendedCalendarEntryDto.js +4 -0
- package/dist/models/BookmarkDto.d.ts +50 -0
- package/dist/models/BookmarkDto.js +60 -0
- package/dist/models/CalendarEntryTypeDto.d.ts +4 -0
- package/dist/models/CalendarEntryTypeDto.js +2 -0
- package/dist/models/CalendarPortalEventDto.d.ts +4 -0
- package/dist/models/CalendarPortalEventDto.js +4 -0
- package/dist/models/DavAddressBookDto.d.ts +29 -0
- package/dist/models/DavAddressBookDto.js +50 -0
- package/dist/models/DavCalendarDto.d.ts +1 -1
- package/dist/models/DavResourceDto.d.ts +45 -0
- package/dist/models/DavResourceDto.js +64 -0
- package/dist/models/DavResourceWriteDto.d.ts +29 -0
- package/dist/models/DavResourceWriteDto.js +50 -0
- package/dist/models/EntityType.d.ts +3 -1
- package/dist/models/EntityType.js +3 -1
- package/dist/models/FormsPortalFileUploadDto.d.ts +37 -0
- package/dist/models/FormsPortalFileUploadDto.js +54 -0
- package/dist/models/FormsPortalLegalEntityUserRequestDto.d.ts +29 -0
- package/dist/models/FormsPortalLegalEntityUserRequestDto.js +50 -0
- package/dist/models/FormsPortalSpecDto.d.ts +5 -0
- package/dist/models/FormsPortalSpecDto.js +5 -0
- package/dist/models/FormsPortalSubmissionDto.d.ts +29 -0
- package/dist/models/FormsPortalSubmissionDto.js +50 -0
- package/dist/models/FormsPortalSubmitDto.d.ts +4 -0
- package/dist/models/FormsPortalSubmitDto.js +2 -0
- package/dist/models/GeoLocationDto.d.ts +42 -0
- package/dist/models/GeoLocationDto.js +55 -0
- package/dist/models/GetAllLegalEntityUsers200Response.d.ts +42 -0
- package/dist/models/GetAllLegalEntityUsers200Response.js +59 -0
- package/dist/models/GetMyAppointments200Response.d.ts +42 -0
- package/dist/models/GetMyAppointments200Response.js +59 -0
- package/dist/models/GetMyBookmarks200Response.d.ts +42 -0
- package/dist/models/GetMyBookmarks200Response.js +59 -0
- package/dist/models/KanbanBoardDto.d.ts +12 -0
- package/dist/models/KanbanBoardDto.js +6 -0
- package/dist/models/LegalEntityUserDto.d.ts +71 -0
- package/dist/models/LegalEntityUserDto.js +63 -0
- package/dist/models/LocationGeocodeQueryDto.d.ts +29 -0
- package/dist/models/LocationGeocodeQueryDto.js +50 -0
- package/dist/models/Permissions.d.ts +5 -4
- package/dist/models/Permissions.js +5 -4
- package/dist/models/PublicTenantPageDto.d.ts +4 -0
- package/dist/models/PublicTenantPageDto.js +4 -0
- package/dist/models/RoutePlanningAppointmentResultDto.d.ts +47 -0
- package/dist/models/RoutePlanningAppointmentResultDto.js +62 -0
- package/dist/models/RoutePlanningOutcome.d.ts +35 -0
- package/dist/models/RoutePlanningOutcome.js +61 -0
- package/dist/models/RoutePlanningResultDto.d.ts +38 -0
- package/dist/models/RoutePlanningResultDto.js +57 -0
- package/dist/models/RoutingConfigDto.d.ts +82 -13
- package/dist/models/RoutingConfigDto.js +51 -12
- package/dist/models/TenantConfigurationDto.d.ts +4 -0
- package/dist/models/TenantConfigurationDto.js +2 -0
- package/dist/models/UiConfigurationDto.d.ts +9 -0
- package/dist/models/UiConfigurationDto.js +5 -0
- package/dist/models/UiModuleCategory.d.ts +29 -0
- package/dist/models/UiModuleCategory.js +55 -0
- package/dist/models/UserDto.d.ts +5 -1
- package/dist/models/UserDto.js +1 -0
- package/dist/models/index.d.ts +24 -5
- package/dist/models/index.js +24 -5
- package/package.json +1 -1
|
@@ -65,8 +65,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
65
65
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
66
|
exports.AppointmentsApi = void 0;
|
|
67
67
|
var runtime = require("../runtime");
|
|
68
|
+
var AppointmentBlockerDto_1 = require("../models/AppointmentBlockerDto");
|
|
68
69
|
var AppointmentDto_1 = require("../models/AppointmentDto");
|
|
70
|
+
var CalendarEntryDto_1 = require("../models/CalendarEntryDto");
|
|
69
71
|
var GetAllAppointments200Response_1 = require("../models/GetAllAppointments200Response");
|
|
72
|
+
var JobDto_1 = require("../models/JobDto");
|
|
70
73
|
/**
|
|
71
74
|
*
|
|
72
75
|
*/
|
|
@@ -88,7 +91,7 @@ var AppointmentsApi = /** @class */ (function (_super) {
|
|
|
88
91
|
queryParameters = {};
|
|
89
92
|
headerParameters = {};
|
|
90
93
|
headerParameters['Content-Type'] = 'application/json';
|
|
91
|
-
urlPath = "/ui/appointments/v1";
|
|
94
|
+
urlPath = "/ui/appointments/v1/appointments";
|
|
92
95
|
return [2 /*return*/, {
|
|
93
96
|
path: urlPath,
|
|
94
97
|
method: 'POST',
|
|
@@ -135,6 +138,68 @@ var AppointmentsApi = /** @class */ (function (_super) {
|
|
|
135
138
|
});
|
|
136
139
|
});
|
|
137
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* Creates request options for createAppointmentBlocker without sending the request
|
|
143
|
+
*/
|
|
144
|
+
AppointmentsApi.prototype.createAppointmentBlockerRequestOpts = 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['appointmentBlockerDto'] == null) {
|
|
149
|
+
throw new runtime.RequiredError('appointmentBlockerDto', 'Required parameter "appointmentBlockerDto" was null or undefined when calling createAppointmentBlocker().');
|
|
150
|
+
}
|
|
151
|
+
queryParameters = {};
|
|
152
|
+
headerParameters = {};
|
|
153
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
154
|
+
urlPath = "/ui/appointments/v1/blockers";
|
|
155
|
+
return [2 /*return*/, {
|
|
156
|
+
path: urlPath,
|
|
157
|
+
method: 'POST',
|
|
158
|
+
headers: headerParameters,
|
|
159
|
+
query: queryParameters,
|
|
160
|
+
body: (0, AppointmentBlockerDto_1.AppointmentBlockerDtoToJSON)(requestParameters['appointmentBlockerDto']),
|
|
161
|
+
}];
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Creates a calendar entry of the managed appointment calendar entry type the routing configuration names. The planner treats it as a blocker and plans no appointment into its time span. Its attendees are not invited.
|
|
167
|
+
* block time of a user for appointment planning
|
|
168
|
+
*/
|
|
169
|
+
AppointmentsApi.prototype.createAppointmentBlockerRaw = 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.createAppointmentBlockerRequestOpts(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, CalendarEntryDto_1.CalendarEntryDtoFromJSON)(jsonValue); })];
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
});
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Creates a calendar entry of the managed appointment calendar entry type the routing configuration names. The planner treats it as a blocker and plans no appointment into its time span. Its attendees are not invited.
|
|
187
|
+
* block time of a user for appointment planning
|
|
188
|
+
*/
|
|
189
|
+
AppointmentsApi.prototype.createAppointmentBlocker = 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.createAppointmentBlockerRaw(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
|
+
};
|
|
138
203
|
/**
|
|
139
204
|
* Creates request options for deleteAppointment without sending the request
|
|
140
205
|
*/
|
|
@@ -147,7 +212,7 @@ var AppointmentsApi = /** @class */ (function (_super) {
|
|
|
147
212
|
}
|
|
148
213
|
queryParameters = {};
|
|
149
214
|
headerParameters = {};
|
|
150
|
-
urlPath = "/ui/appointments/v1/{id}";
|
|
215
|
+
urlPath = "/ui/appointments/v1/appointments/{id}";
|
|
151
216
|
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
152
217
|
return [2 /*return*/, {
|
|
153
218
|
path: urlPath,
|
|
@@ -210,7 +275,7 @@ var AppointmentsApi = /** @class */ (function (_super) {
|
|
|
210
275
|
queryParameters['filter'] = requestParameters['filter'];
|
|
211
276
|
}
|
|
212
277
|
headerParameters = {};
|
|
213
|
-
urlPath = "/ui/appointments/v1";
|
|
278
|
+
urlPath = "/ui/appointments/v1/appointments";
|
|
214
279
|
return [2 /*return*/, {
|
|
215
280
|
path: urlPath,
|
|
216
281
|
method: 'GET',
|
|
@@ -268,7 +333,7 @@ var AppointmentsApi = /** @class */ (function (_super) {
|
|
|
268
333
|
}
|
|
269
334
|
queryParameters = {};
|
|
270
335
|
headerParameters = {};
|
|
271
|
-
urlPath = "/ui/appointments/v1/{id}";
|
|
336
|
+
urlPath = "/ui/appointments/v1/appointments/{id}";
|
|
272
337
|
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
273
338
|
return [2 /*return*/, {
|
|
274
339
|
path: urlPath,
|
|
@@ -315,6 +380,132 @@ var AppointmentsApi = /** @class */ (function (_super) {
|
|
|
315
380
|
});
|
|
316
381
|
});
|
|
317
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
|
+
};
|
|
318
509
|
/**
|
|
319
510
|
* Creates request options for updateAppointment without sending the request
|
|
320
511
|
*/
|
|
@@ -334,7 +525,7 @@ var AppointmentsApi = /** @class */ (function (_super) {
|
|
|
334
525
|
}
|
|
335
526
|
headerParameters = {};
|
|
336
527
|
headerParameters['Content-Type'] = 'application/json';
|
|
337
|
-
urlPath = "/ui/appointments/v1/{id}";
|
|
528
|
+
urlPath = "/ui/appointments/v1/appointments/{id}";
|
|
338
529
|
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
339
530
|
return [2 /*return*/, {
|
|
340
531
|
path: urlPath,
|
|
@@ -405,7 +405,7 @@ var BankingAccountsApi = /** @class */ (function (_super) {
|
|
|
405
405
|
}
|
|
406
406
|
queryParameters = {};
|
|
407
407
|
headerParameters = {};
|
|
408
|
-
urlPath = "/ui/banking/v1/registrations/{id}/accounts
|
|
408
|
+
urlPath = "/ui/banking/v1/registrations/{id}/available-accounts";
|
|
409
409
|
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
410
410
|
return [2 /*return*/, {
|
|
411
411
|
path: urlPath,
|
|
@@ -155,7 +155,7 @@ var BankingRegistrationsApi = /** @class */ (function (_super) {
|
|
|
155
155
|
queryParameters['error'] = requestParameters['error'];
|
|
156
156
|
}
|
|
157
157
|
headerParameters = {};
|
|
158
|
-
urlPath = "/ui/banking/v1/
|
|
158
|
+
urlPath = "/ui/banking/v1/registration-completions";
|
|
159
159
|
return [2 /*return*/, {
|
|
160
160
|
path: urlPath,
|
|
161
161
|
method: 'GET',
|
|
@@ -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*/, {
|
|
@@ -82,9 +82,9 @@ export interface GetDownloadShareInfoRequest {
|
|
|
82
82
|
*/
|
|
83
83
|
handle: string;
|
|
84
84
|
/**
|
|
85
|
-
* secret of the shared document,
|
|
85
|
+
* secret of the shared document, e.g. "872D4A41df9Kx2L"; the Authorization header carries only the token of a logged-in user
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
xPortalSecret: string;
|
|
88
88
|
}
|
|
89
89
|
export interface GetDownloadShareListingRequest {
|
|
90
90
|
/**
|
|
@@ -92,9 +92,9 @@ export interface GetDownloadShareListingRequest {
|
|
|
92
92
|
*/
|
|
93
93
|
handle: string;
|
|
94
94
|
/**
|
|
95
|
-
* secret of the shared document,
|
|
95
|
+
* secret of the shared document, e.g. "872D4A41df9Kx2L"; the Authorization header carries only the token of a logged-in user
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
xPortalSecret: string;
|
|
98
98
|
/**
|
|
99
99
|
*
|
|
100
100
|
*/
|
|
@@ -422,13 +422,13 @@ var FileDirectorySharesApi = /** @class */ (function (_super) {
|
|
|
422
422
|
if (requestParameters['handle'] == null) {
|
|
423
423
|
throw new runtime.RequiredError('handle', 'Required parameter "handle" was null or undefined when calling getDownloadShareInfo().');
|
|
424
424
|
}
|
|
425
|
-
if (requestParameters['
|
|
426
|
-
throw new runtime.RequiredError('
|
|
425
|
+
if (requestParameters['xPortalSecret'] == null) {
|
|
426
|
+
throw new runtime.RequiredError('xPortalSecret', 'Required parameter "xPortalSecret" was null or undefined when calling getDownloadShareInfo().');
|
|
427
427
|
}
|
|
428
428
|
queryParameters = {};
|
|
429
429
|
headerParameters = {};
|
|
430
|
-
if (requestParameters['
|
|
431
|
-
headerParameters['
|
|
430
|
+
if (requestParameters['xPortalSecret'] != null) {
|
|
431
|
+
headerParameters['X-Portal-Secret'] = String(requestParameters['xPortalSecret']);
|
|
432
432
|
}
|
|
433
433
|
urlPath = "/ui/tenant-portal/v1/{handle}/file-shares";
|
|
434
434
|
urlPath = urlPath.replace('{handle}', encodeURIComponent(String(requestParameters['handle'])));
|
|
@@ -487,13 +487,13 @@ var FileDirectorySharesApi = /** @class */ (function (_super) {
|
|
|
487
487
|
if (requestParameters['handle'] == null) {
|
|
488
488
|
throw new runtime.RequiredError('handle', 'Required parameter "handle" was null or undefined when calling getDownloadShareListing().');
|
|
489
489
|
}
|
|
490
|
-
if (requestParameters['
|
|
491
|
-
throw new runtime.RequiredError('
|
|
490
|
+
if (requestParameters['xPortalSecret'] == null) {
|
|
491
|
+
throw new runtime.RequiredError('xPortalSecret', 'Required parameter "xPortalSecret" was null or undefined when calling getDownloadShareListing().');
|
|
492
492
|
}
|
|
493
493
|
queryParameters = {};
|
|
494
494
|
headerParameters = {};
|
|
495
|
-
if (requestParameters['
|
|
496
|
-
headerParameters['
|
|
495
|
+
if (requestParameters['xPortalSecret'] != null) {
|
|
496
|
+
headerParameters['X-Portal-Secret'] = String(requestParameters['xPortalSecret']);
|
|
497
497
|
}
|
|
498
498
|
if (requestParameters['password'] != null) {
|
|
499
499
|
headerParameters['password'] = String(requestParameters['password']);
|
|
@@ -17,9 +17,9 @@ export interface CreateFormsPortalEntryRequest {
|
|
|
17
17
|
*/
|
|
18
18
|
handle: string;
|
|
19
19
|
/**
|
|
20
|
-
* secret of the shared document,
|
|
20
|
+
* secret of the shared document, e.g. "872D4A41df9Kx2L"; the Authorization header carries only the token of a logged-in user
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
xPortalSecret: string;
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
@@ -31,9 +31,9 @@ export interface GetFormsPortalFormRequest {
|
|
|
31
31
|
*/
|
|
32
32
|
handle: string;
|
|
33
33
|
/**
|
|
34
|
-
* secret of the shared document,
|
|
34
|
+
* secret of the shared document, e.g. "872D4A41df9Kx2L"; the Authorization header carries only the token of a logged-in user
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
xPortalSecret: string;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
@@ -44,10 +44,12 @@ export declare class FormsPortalApi extends runtime.BaseAPI {
|
|
|
44
44
|
*/
|
|
45
45
|
createFormsPortalEntryRequestOpts(requestParameters: CreateFormsPortalEntryRequest): Promise<runtime.RequestOpts>;
|
|
46
46
|
/**
|
|
47
|
+
* Makes a logged-in user, whose token is sent in the Authorization header, a legal entity user of the tenant.
|
|
47
48
|
* submit
|
|
48
49
|
*/
|
|
49
50
|
createFormsPortalEntryRaw(requestParameters: CreateFormsPortalEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
50
51
|
/**
|
|
52
|
+
* Makes a logged-in user, whose token is sent in the Authorization header, a legal entity user of the tenant.
|
|
51
53
|
* submit
|
|
52
54
|
*/
|
|
53
55
|
createFormsPortalEntry(requestParameters: CreateFormsPortalEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -85,8 +85,8 @@ var FormsPortalApi = /** @class */ (function (_super) {
|
|
|
85
85
|
if (requestParameters['handle'] == null) {
|
|
86
86
|
throw new runtime.RequiredError('handle', 'Required parameter "handle" was null or undefined when calling createFormsPortalEntry().');
|
|
87
87
|
}
|
|
88
|
-
if (requestParameters['
|
|
89
|
-
throw new runtime.RequiredError('
|
|
88
|
+
if (requestParameters['xPortalSecret'] == null) {
|
|
89
|
+
throw new runtime.RequiredError('xPortalSecret', 'Required parameter "xPortalSecret" was null or undefined when calling createFormsPortalEntry().');
|
|
90
90
|
}
|
|
91
91
|
if (requestParameters['formsPortalSubmitDto'] == null) {
|
|
92
92
|
throw new runtime.RequiredError('formsPortalSubmitDto', 'Required parameter "formsPortalSubmitDto" was null or undefined when calling createFormsPortalEntry().');
|
|
@@ -94,8 +94,8 @@ var FormsPortalApi = /** @class */ (function (_super) {
|
|
|
94
94
|
queryParameters = {};
|
|
95
95
|
headerParameters = {};
|
|
96
96
|
headerParameters['Content-Type'] = 'application/json';
|
|
97
|
-
if (requestParameters['
|
|
98
|
-
headerParameters['
|
|
97
|
+
if (requestParameters['xPortalSecret'] != null) {
|
|
98
|
+
headerParameters['X-Portal-Secret'] = String(requestParameters['xPortalSecret']);
|
|
99
99
|
}
|
|
100
100
|
urlPath = "/ui/tenant-portal/v1/{handle}/forms";
|
|
101
101
|
urlPath = urlPath.replace('{handle}', encodeURIComponent(String(requestParameters['handle'])));
|
|
@@ -110,6 +110,7 @@ var FormsPortalApi = /** @class */ (function (_super) {
|
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
112
|
/**
|
|
113
|
+
* Makes a logged-in user, whose token is sent in the Authorization header, a legal entity user of the tenant.
|
|
113
114
|
* submit
|
|
114
115
|
*/
|
|
115
116
|
FormsPortalApi.prototype.createFormsPortalEntryRaw = function (requestParameters, initOverrides) {
|
|
@@ -129,6 +130,7 @@ var FormsPortalApi = /** @class */ (function (_super) {
|
|
|
129
130
|
});
|
|
130
131
|
};
|
|
131
132
|
/**
|
|
133
|
+
* Makes a logged-in user, whose token is sent in the Authorization header, a legal entity user of the tenant.
|
|
132
134
|
* submit
|
|
133
135
|
*/
|
|
134
136
|
FormsPortalApi.prototype.createFormsPortalEntry = function (requestParameters, initOverrides) {
|
|
@@ -153,13 +155,13 @@ var FormsPortalApi = /** @class */ (function (_super) {
|
|
|
153
155
|
if (requestParameters['handle'] == null) {
|
|
154
156
|
throw new runtime.RequiredError('handle', 'Required parameter "handle" was null or undefined when calling getFormsPortalForm().');
|
|
155
157
|
}
|
|
156
|
-
if (requestParameters['
|
|
157
|
-
throw new runtime.RequiredError('
|
|
158
|
+
if (requestParameters['xPortalSecret'] == null) {
|
|
159
|
+
throw new runtime.RequiredError('xPortalSecret', 'Required parameter "xPortalSecret" was null or undefined when calling getFormsPortalForm().');
|
|
158
160
|
}
|
|
159
161
|
queryParameters = {};
|
|
160
162
|
headerParameters = {};
|
|
161
|
-
if (requestParameters['
|
|
162
|
-
headerParameters['
|
|
163
|
+
if (requestParameters['xPortalSecret'] != null) {
|
|
164
|
+
headerParameters['X-Portal-Secret'] = String(requestParameters['xPortalSecret']);
|
|
163
165
|
}
|
|
164
166
|
urlPath = "/ui/tenant-portal/v1/{handle}/forms";
|
|
165
167
|
urlPath = urlPath.replace('{handle}', encodeURIComponent(String(requestParameters['handle'])));
|
|
@@ -16,9 +16,9 @@ export interface GetInvoicePortalDocumentRequest {
|
|
|
16
16
|
*/
|
|
17
17
|
handle: string;
|
|
18
18
|
/**
|
|
19
|
-
* secret of the shared document,
|
|
19
|
+
* secret of the shared document, e.g. "872D4A41df9Kx2L"; the Authorization header carries only the token of a logged-in user
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
xPortalSecret: string;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -84,13 +84,13 @@ var InvoicePortalApi = /** @class */ (function (_super) {
|
|
|
84
84
|
if (requestParameters['handle'] == null) {
|
|
85
85
|
throw new runtime.RequiredError('handle', 'Required parameter "handle" was null or undefined when calling getInvoicePortalDocument().');
|
|
86
86
|
}
|
|
87
|
-
if (requestParameters['
|
|
88
|
-
throw new runtime.RequiredError('
|
|
87
|
+
if (requestParameters['xPortalSecret'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('xPortalSecret', 'Required parameter "xPortalSecret" was null or undefined when calling getInvoicePortalDocument().');
|
|
89
89
|
}
|
|
90
90
|
queryParameters = {};
|
|
91
91
|
headerParameters = {};
|
|
92
|
-
if (requestParameters['
|
|
93
|
-
headerParameters['
|
|
92
|
+
if (requestParameters['xPortalSecret'] != null) {
|
|
93
|
+
headerParameters['X-Portal-Secret'] = String(requestParameters['xPortalSecret']);
|
|
94
94
|
}
|
|
95
95
|
urlPath = "/ui/tenant-portal/v1/{handle}/invoices";
|
|
96
96
|
urlPath = urlPath.replace('{handle}', encodeURIComponent(String(requestParameters['handle'])));
|
|
@@ -0,0 +1,121 @@
|
|
|
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 * as runtime from '../runtime';
|
|
12
|
+
import { type GetAllLegalEntityUsers200Response } from '../models/GetAllLegalEntityUsers200Response';
|
|
13
|
+
import { type KommerzPageable } from '../models/KommerzPageable';
|
|
14
|
+
import { type LegalEntityUserDto } from '../models/LegalEntityUserDto';
|
|
15
|
+
export interface CreateLegalEntityUserRequest {
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
legalEntityUserDto: Omit<LegalEntityUserDto, 'userId' | 'userName' | 'userEmail' | 'userAvatarUrl' | 'legalEntityName'>;
|
|
20
|
+
}
|
|
21
|
+
export interface DeleteLegalEntityUserRequest {
|
|
22
|
+
/**
|
|
23
|
+
* id of entity
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
export interface GetAllLegalEntityUsersRequest {
|
|
28
|
+
/**
|
|
29
|
+
* Pageable query parameters
|
|
30
|
+
*/
|
|
31
|
+
pageable: KommerzPageable;
|
|
32
|
+
/**
|
|
33
|
+
* Filter query parameters. Operators: sim, nsim, eq, neq, leq, less, geq, gtr). Values have to be url-encoded.
|
|
34
|
+
*/
|
|
35
|
+
filter?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
export interface GetLegalEntityUserRequest {
|
|
38
|
+
/**
|
|
39
|
+
* id of entity
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
}
|
|
43
|
+
export interface UpdateLegalEntityUserRequest {
|
|
44
|
+
/**
|
|
45
|
+
* id of entity
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
legalEntityUserDto: Omit<LegalEntityUserDto, 'userId' | 'userName' | 'userEmail' | 'userAvatarUrl' | 'legalEntityName'>;
|
|
52
|
+
/**
|
|
53
|
+
* whether to force update the entity
|
|
54
|
+
*/
|
|
55
|
+
force?: boolean;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export declare class LegalEntityUsersApi extends runtime.BaseAPI {
|
|
61
|
+
/**
|
|
62
|
+
* Creates request options for createLegalEntityUser without sending the request
|
|
63
|
+
*/
|
|
64
|
+
createLegalEntityUserRequestOpts(requestParameters: CreateLegalEntityUserRequest): Promise<runtime.RequestOpts>;
|
|
65
|
+
/**
|
|
66
|
+
* create a legal entity user for a legal entity
|
|
67
|
+
*/
|
|
68
|
+
createLegalEntityUserRaw(requestParameters: CreateLegalEntityUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LegalEntityUserDto>>;
|
|
69
|
+
/**
|
|
70
|
+
* create a legal entity user for a legal entity
|
|
71
|
+
*/
|
|
72
|
+
createLegalEntityUser(requestParameters: CreateLegalEntityUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LegalEntityUserDto>;
|
|
73
|
+
/**
|
|
74
|
+
* Creates request options for deleteLegalEntityUser without sending the request
|
|
75
|
+
*/
|
|
76
|
+
deleteLegalEntityUserRequestOpts(requestParameters: DeleteLegalEntityUserRequest): Promise<runtime.RequestOpts>;
|
|
77
|
+
/**
|
|
78
|
+
* delete a legal entity user
|
|
79
|
+
*/
|
|
80
|
+
deleteLegalEntityUserRaw(requestParameters: DeleteLegalEntityUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
81
|
+
/**
|
|
82
|
+
* delete a legal entity user
|
|
83
|
+
*/
|
|
84
|
+
deleteLegalEntityUser(requestParameters: DeleteLegalEntityUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Creates request options for getAllLegalEntityUsers without sending the request
|
|
87
|
+
*/
|
|
88
|
+
getAllLegalEntityUsersRequestOpts(requestParameters: GetAllLegalEntityUsersRequest): Promise<runtime.RequestOpts>;
|
|
89
|
+
/**
|
|
90
|
+
* get all legal entity users of the tenant
|
|
91
|
+
*/
|
|
92
|
+
getAllLegalEntityUsersRaw(requestParameters: GetAllLegalEntityUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllLegalEntityUsers200Response>>;
|
|
93
|
+
/**
|
|
94
|
+
* get all legal entity users of the tenant
|
|
95
|
+
*/
|
|
96
|
+
getAllLegalEntityUsers(requestParameters: GetAllLegalEntityUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllLegalEntityUsers200Response>;
|
|
97
|
+
/**
|
|
98
|
+
* Creates request options for getLegalEntityUser without sending the request
|
|
99
|
+
*/
|
|
100
|
+
getLegalEntityUserRequestOpts(requestParameters: GetLegalEntityUserRequest): Promise<runtime.RequestOpts>;
|
|
101
|
+
/**
|
|
102
|
+
* read one legal entity user
|
|
103
|
+
*/
|
|
104
|
+
getLegalEntityUserRaw(requestParameters: GetLegalEntityUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LegalEntityUserDto>>;
|
|
105
|
+
/**
|
|
106
|
+
* read one legal entity user
|
|
107
|
+
*/
|
|
108
|
+
getLegalEntityUser(requestParameters: GetLegalEntityUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LegalEntityUserDto>;
|
|
109
|
+
/**
|
|
110
|
+
* Creates request options for updateLegalEntityUser without sending the request
|
|
111
|
+
*/
|
|
112
|
+
updateLegalEntityUserRequestOpts(requestParameters: UpdateLegalEntityUserRequest): Promise<runtime.RequestOpts>;
|
|
113
|
+
/**
|
|
114
|
+
* update a legal entity user, e.g. to assign a legal entity
|
|
115
|
+
*/
|
|
116
|
+
updateLegalEntityUserRaw(requestParameters: UpdateLegalEntityUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LegalEntityUserDto>>;
|
|
117
|
+
/**
|
|
118
|
+
* update a legal entity user, e.g. to assign a legal entity
|
|
119
|
+
*/
|
|
120
|
+
updateLegalEntityUser(requestParameters: UpdateLegalEntityUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LegalEntityUserDto>;
|
|
121
|
+
}
|