@kommerz/ts-client 1.196.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/AppointmentPortalApi.d.ts +20 -8
- package/dist/apis/AppointmentPortalApi.js +14 -8
- package/dist/apis/AppointmentsApi.d.ts +41 -2
- package/dist/apis/AppointmentsApi.js +127 -0
- package/dist/apis/CustomersApi.d.ts +0 -4
- package/dist/apis/CustomersApi.js +0 -3
- package/dist/apis/MapsApi.d.ts +43 -0
- package/dist/apis/MapsApi.js +127 -0
- package/dist/apis/TenantPortalUploadsApi.d.ts +166 -0
- package/dist/apis/TenantPortalUploadsApi.js +418 -0
- package/dist/apis/UsersMeApi.d.ts +6 -6
- package/dist/apis/UsersMeApi.js +6 -6
- package/dist/apis/UsersMeBookmarksApi.d.ts +99 -0
- package/dist/apis/UsersMeBookmarksApi.js +324 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AccountCalendarEntryDto.d.ts +2 -2
- package/dist/models/AddressDto.d.ts +4 -0
- package/dist/models/AddressDto.js +2 -0
- package/dist/models/AppointmentBlockerDto.d.ts +8 -0
- package/dist/models/AppointmentBlockerDto.js +4 -0
- package/dist/models/AppointmentBookingConfigDto.d.ts +29 -0
- package/dist/models/AppointmentBookingConfigDto.js +19 -0
- package/dist/models/AppointmentDto.d.ts +13 -1
- package/dist/models/AppointmentDto.js +5 -0
- package/dist/models/AppointmentEmailTemplatesDto.d.ts +4 -0
- package/dist/models/AppointmentEmailTemplatesDto.js +2 -0
- package/dist/models/AppointmentProductDto.d.ts +1 -1
- package/dist/models/AppointmentSlotDistance.d.ts +2 -2
- package/dist/models/AppointmentSlotDistance.js +2 -2
- package/dist/models/AppointmentSlotDto.d.ts +2 -2
- package/dist/models/AppointmentSubmissionDto.d.ts +4 -0
- package/dist/models/AppointmentSubmissionDto.js +2 -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/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 +2 -0
- package/dist/models/EntityType.js +2 -0
- package/dist/models/FormsPortalFileUploadDto.d.ts +37 -0
- package/dist/models/FormsPortalFileUploadDto.js +54 -0
- package/dist/models/FormsPortalSpecDto.d.ts +5 -0
- package/dist/models/FormsPortalSpecDto.js +5 -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/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/LocationGeocodeQueryDto.d.ts +29 -0
- package/dist/models/LocationGeocodeQueryDto.js +50 -0
- package/dist/models/Permissions.d.ts +1 -0
- package/dist/models/Permissions.js +1 -0
- 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 +66 -10
- package/dist/models/RoutingConfigDto.js +41 -9
- 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 +12 -2
- package/dist/models/index.js +12 -2
- package/package.json +1 -1
|
@@ -53,6 +53,9 @@ function AppointmentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'legalEntityUserName': json['legalEntityUserName'] == null ? undefined : json['legalEntityUserName'],
|
|
54
54
|
'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
55
55
|
'calendarEntryId': json['calendarEntryId'] == null ? undefined : json['calendarEntryId'],
|
|
56
|
+
'jsonFormValue': json['jsonFormValue'] == null ? undefined : json['jsonFormValue'],
|
|
57
|
+
'formTypeId': json['formTypeId'] == null ? undefined : json['formTypeId'],
|
|
58
|
+
'fileIds': json['fileIds'] == null ? undefined : json['fileIds'],
|
|
56
59
|
};
|
|
57
60
|
}
|
|
58
61
|
function AppointmentDtoToJSON(json) {
|
|
@@ -72,5 +75,7 @@ function AppointmentDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
72
75
|
'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
|
|
73
76
|
'legalEntityUserId': value['legalEntityUserId'],
|
|
74
77
|
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
78
|
+
'jsonFormValue': value['jsonFormValue'],
|
|
79
|
+
'fileIds': value['fileIds'],
|
|
75
80
|
};
|
|
76
81
|
}
|
|
@@ -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']),
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
* CLOSE
|
|
12
|
+
* how near the requester is to the nearest place the slot is at: the location of its calendar entry and the appointments planned within it.
|
|
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
|
-
*
|
|
23
|
-
* CLOSE
|
|
22
|
+
* how near the requester is to the nearest place the slot is at: the location of its calendar entry and the appointments planned within it.
|
|
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
|
|
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,7 +33,7 @@ export interface AppointmentSlotDto {
|
|
|
33
33
|
*/
|
|
34
34
|
distance?: AppointmentSlotDistance;
|
|
35
35
|
/**
|
|
36
|
-
* whether booked entries leave
|
|
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
39
|
}
|
|
@@ -33,6 +33,10 @@ export interface AppointmentSubmissionDto {
|
|
|
33
33
|
* the data the user entered into the form of the booking configuration
|
|
34
34
|
*/
|
|
35
35
|
formData?: any;
|
|
36
|
+
/**
|
|
37
|
+
* the files the user uploaded for the appointment through the tenant portal uploads of the service AppointmentPortal
|
|
38
|
+
*/
|
|
39
|
+
fileIds?: Array<string>;
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
42
|
* Check if a given object implements the AppointmentSubmissionDto interface.
|
|
@@ -40,6 +40,7 @@ function AppointmentSubmissionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'products': json['products'] == null ? undefined : (json['products'].map(AppointmentProductSelectionDto_1.AppointmentProductSelectionDtoFromJSON)),
|
|
41
41
|
'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
42
42
|
'formData': json['formData'] == null ? undefined : json['formData'],
|
|
43
|
+
'fileIds': json['fileIds'] == null ? undefined : json['fileIds'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
function AppointmentSubmissionDtoToJSON(json) {
|
|
@@ -55,5 +56,6 @@ function AppointmentSubmissionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
56
|
'products': value['products'] == null ? undefined : (value['products'].map(AppointmentProductSelectionDto_1.AppointmentProductSelectionDtoToJSON)),
|
|
56
57
|
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
57
58
|
'formData': value['formData'],
|
|
59
|
+
'fileIds': value['fileIds'],
|
|
58
60
|
};
|
|
59
61
|
}
|
|
@@ -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,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
|
|
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
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* an iCalendar object of a calendar or a vCard of the address book
|
|
13
|
+
* @export
|
|
14
|
+
* @interface DavResourceDto
|
|
15
|
+
*/
|
|
16
|
+
export interface DavResourceDto {
|
|
17
|
+
/**
|
|
18
|
+
* name (last path segment of the href) of the resource in its collection: the one the client chose when it created the resource, otherwise the uid followed by ".ics" in a calendar and the customer id followed by ".vcf" in the address book
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* UID of the iCalendar object (shared by a series and its changed occurrences) or of the vCard
|
|
23
|
+
*/
|
|
24
|
+
uid: string;
|
|
25
|
+
/**
|
|
26
|
+
* whether the resource left the collection (deleted, moved to another calendar entry type, user no longer owner or attendee, customer retired)
|
|
27
|
+
*/
|
|
28
|
+
deleted: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* changes whenever the data of the resource changes, usable as ETag
|
|
31
|
+
*/
|
|
32
|
+
changeSeq: number;
|
|
33
|
+
/**
|
|
34
|
+
* the iCalendar object or vCard: as the client wrote it, with only those properties rewritten that differ from Kommerz, or generated by Kommerz for a resource no client has written. Absent for a deleted resource. An iCalendar object holds the events of one uid the user owns or attends: the series, whose EXDATEs also name the changed occurrences that are not part of this calendar for the user, and the changed occurrences that are.
|
|
35
|
+
*/
|
|
36
|
+
data?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the DavResourceDto interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfDavResourceDto(value: object): value is DavResourceDto;
|
|
42
|
+
export declare function DavResourceDtoFromJSON(json: any): DavResourceDto;
|
|
43
|
+
export declare function DavResourceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DavResourceDto;
|
|
44
|
+
export declare function DavResourceDtoToJSON(json: any): DavResourceDto;
|
|
45
|
+
export declare function DavResourceDtoToJSONTyped(value?: DavResourceDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfDavResourceDto = instanceOfDavResourceDto;
|
|
16
|
+
exports.DavResourceDtoFromJSON = DavResourceDtoFromJSON;
|
|
17
|
+
exports.DavResourceDtoFromJSONTyped = DavResourceDtoFromJSONTyped;
|
|
18
|
+
exports.DavResourceDtoToJSON = DavResourceDtoToJSON;
|
|
19
|
+
exports.DavResourceDtoToJSONTyped = DavResourceDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the DavResourceDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfDavResourceDto(value) {
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('uid' in value) || value['uid'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('deleted' in value) || value['deleted'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('changeSeq' in value) || value['changeSeq'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function DavResourceDtoFromJSON(json) {
|
|
35
|
+
return DavResourceDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function DavResourceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'uid': json['uid'],
|
|
44
|
+
'deleted': json['deleted'],
|
|
45
|
+
'changeSeq': json['changeSeq'],
|
|
46
|
+
'data': json['data'] == null ? undefined : json['data'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function DavResourceDtoToJSON(json) {
|
|
50
|
+
return DavResourceDtoToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function DavResourceDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'uid': value['uid'],
|
|
60
|
+
'deleted': value['deleted'],
|
|
61
|
+
'changeSeq': value['changeSeq'],
|
|
62
|
+
'data': value['data'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface DavResourceWriteDto
|
|
15
|
+
*/
|
|
16
|
+
export interface DavResourceWriteDto {
|
|
17
|
+
/**
|
|
18
|
+
* the iCalendar object (the VEVENTs of one uid: the series and its changed occurrences) or the vCard, stored as sent
|
|
19
|
+
*/
|
|
20
|
+
data: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DavResourceWriteDto interface.
|
|
24
|
+
*/
|
|
25
|
+
export declare function instanceOfDavResourceWriteDto(value: object): value is DavResourceWriteDto;
|
|
26
|
+
export declare function DavResourceWriteDtoFromJSON(json: any): DavResourceWriteDto;
|
|
27
|
+
export declare function DavResourceWriteDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DavResourceWriteDto;
|
|
28
|
+
export declare function DavResourceWriteDtoToJSON(json: any): DavResourceWriteDto;
|
|
29
|
+
export declare function DavResourceWriteDtoToJSONTyped(value?: DavResourceWriteDto | 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.instanceOfDavResourceWriteDto = instanceOfDavResourceWriteDto;
|
|
16
|
+
exports.DavResourceWriteDtoFromJSON = DavResourceWriteDtoFromJSON;
|
|
17
|
+
exports.DavResourceWriteDtoFromJSONTyped = DavResourceWriteDtoFromJSONTyped;
|
|
18
|
+
exports.DavResourceWriteDtoToJSON = DavResourceWriteDtoToJSON;
|
|
19
|
+
exports.DavResourceWriteDtoToJSONTyped = DavResourceWriteDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the DavResourceWriteDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfDavResourceWriteDto(value) {
|
|
24
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DavResourceWriteDtoFromJSON(json) {
|
|
29
|
+
return DavResourceWriteDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DavResourceWriteDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function DavResourceWriteDtoToJSON(json) {
|
|
40
|
+
return DavResourceWriteDtoToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DavResourceWriteDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -88,6 +88,8 @@ export declare const EntityType: {
|
|
|
88
88
|
readonly AttributeType: "AttributeType";
|
|
89
89
|
readonly Appointment: "Appointment";
|
|
90
90
|
readonly LegalEntityUser: "LegalEntityUser";
|
|
91
|
+
readonly Bookmark: "Bookmark";
|
|
92
|
+
readonly Job: "Job";
|
|
91
93
|
};
|
|
92
94
|
export type EntityType = typeof EntityType[keyof typeof EntityType];
|
|
93
95
|
export declare function instanceOfEntityType(value: any): boolean;
|
|
@@ -98,6 +98,8 @@ exports.EntityType = {
|
|
|
98
98
|
AttributeType: 'AttributeType',
|
|
99
99
|
Appointment: 'Appointment',
|
|
100
100
|
LegalEntityUser: 'LegalEntityUser',
|
|
101
|
+
Bookmark: 'Bookmark',
|
|
102
|
+
Job: 'Job',
|
|
101
103
|
};
|
|
102
104
|
function instanceOfEntityType(value) {
|
|
103
105
|
for (var key in exports.EntityType) {
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* whether files may be uploaded with the form and the limits that apply
|
|
13
|
+
* @export
|
|
14
|
+
* @interface FormsPortalFileUploadDto
|
|
15
|
+
*/
|
|
16
|
+
export interface FormsPortalFileUploadDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* maximum number of files per submission
|
|
23
|
+
*/
|
|
24
|
+
maxFiles?: number;
|
|
25
|
+
/**
|
|
26
|
+
* maximum size of a single file in bytes
|
|
27
|
+
*/
|
|
28
|
+
maxFileSize?: number;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the FormsPortalFileUploadDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export declare function instanceOfFormsPortalFileUploadDto(value: object): value is FormsPortalFileUploadDto;
|
|
34
|
+
export declare function FormsPortalFileUploadDtoFromJSON(json: any): FormsPortalFileUploadDto;
|
|
35
|
+
export declare function FormsPortalFileUploadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormsPortalFileUploadDto;
|
|
36
|
+
export declare function FormsPortalFileUploadDtoToJSON(json: any): FormsPortalFileUploadDto;
|
|
37
|
+
export declare function FormsPortalFileUploadDtoToJSONTyped(value?: FormsPortalFileUploadDto | null, ignoreDiscriminator?: boolean): any;
|