@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.
- 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/ServiceDeskMessagesApi.d.ts +77 -0
- package/dist/apis/ServiceDeskMessagesApi.js +260 -0
- package/dist/apis/ServiceDeskPortalApi.d.ts +41 -0
- package/dist/apis/ServiceDeskPortalApi.js +145 -0
- package/dist/apis/TenantPortalUploadsApi.d.ts +166 -0
- package/dist/apis/TenantPortalUploadsApi.js +418 -0
- package/dist/apis/UsersMeAddressesApi.d.ts +123 -0
- package/dist/apis/UsersMeAddressesApi.js +389 -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 +5 -1
- package/dist/apis/index.js +5 -1
- 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 +33 -0
- package/dist/models/AppointmentBookingConfigDto.js +21 -0
- package/dist/models/AppointmentDto.d.ts +22 -1
- package/dist/models/AppointmentDto.js +10 -0
- package/dist/models/AppointmentEmailTemplatesDto.d.ts +4 -0
- package/dist/models/AppointmentEmailTemplatesDto.js +2 -0
- package/dist/models/AppointmentProductDto.d.ts +9 -1
- package/dist/models/AppointmentProductDto.js +4 -0
- package/dist/models/AppointmentSlotDistance.d.ts +2 -2
- package/dist/models/AppointmentSlotDistance.js +2 -2
- package/dist/models/AppointmentSlotDto.d.ts +6 -2
- package/dist/models/AppointmentSlotDto.js +4 -0
- package/dist/models/AppointmentSubmissionDto.d.ts +13 -0
- package/dist/models/AppointmentSubmissionDto.js +7 -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/ContactAddressDto.d.ts +38 -0
- package/dist/models/ContactAddressDto.js +53 -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 +4 -0
- package/dist/models/EntityType.js +4 -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/GetAllServiceDeskMessages200Response.d.ts +42 -0
- package/dist/models/GetAllServiceDeskMessages200Response.js +59 -0
- package/dist/models/GetMyAddresses200Response.d.ts +42 -0
- package/dist/models/GetMyAddresses200Response.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/LocationGeocodeQueryDto.d.ts +29 -0
- package/dist/models/LocationGeocodeQueryDto.js +50 -0
- package/dist/models/MessageDto.d.ts +7 -3
- package/dist/models/MessageDto.js +5 -2
- package/dist/models/Permissions.d.ts +3 -0
- package/dist/models/Permissions.js +3 -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 +74 -10
- package/dist/models/RoutingConfigDto.js +45 -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/UserAddressDto.d.ts +50 -0
- package/dist/models/UserAddressDto.js +62 -0
- package/dist/models/UserDto.d.ts +5 -1
- package/dist/models/UserDto.js +1 -0
- package/dist/models/index.d.ts +16 -2
- package/dist/models/index.js +16 -2
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfRoutePlanningResultDto = instanceOfRoutePlanningResultDto;
|
|
16
|
+
exports.RoutePlanningResultDtoFromJSON = RoutePlanningResultDtoFromJSON;
|
|
17
|
+
exports.RoutePlanningResultDtoFromJSONTyped = RoutePlanningResultDtoFromJSONTyped;
|
|
18
|
+
exports.RoutePlanningResultDtoToJSON = RoutePlanningResultDtoToJSON;
|
|
19
|
+
exports.RoutePlanningResultDtoToJSONTyped = RoutePlanningResultDtoToJSONTyped;
|
|
20
|
+
var RoutePlanningAppointmentResultDto_1 = require("./RoutePlanningAppointmentResultDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RoutePlanningResultDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRoutePlanningResultDto(value) {
|
|
25
|
+
if (!('plannedUntil' in value) || value['plannedUntil'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('appointments' in value) || value['appointments'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function RoutePlanningResultDtoFromJSON(json) {
|
|
32
|
+
return RoutePlanningResultDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function RoutePlanningResultDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'plannedUntil': json['plannedUntil'],
|
|
40
|
+
'score': json['score'] == null ? undefined : json['score'],
|
|
41
|
+
'appointments': (json['appointments'].map(RoutePlanningAppointmentResultDto_1.RoutePlanningAppointmentResultDtoFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function RoutePlanningResultDtoToJSON(json) {
|
|
45
|
+
return RoutePlanningResultDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function RoutePlanningResultDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'plannedUntil': value['plannedUntil'],
|
|
54
|
+
'score': value['score'],
|
|
55
|
+
'appointments': (value['appointments'].map(RoutePlanningAppointmentResultDto_1.RoutePlanningAppointmentResultDtoToJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -44,7 +44,7 @@ export interface RoutingConfigDto {
|
|
|
44
44
|
*/
|
|
45
45
|
workWeekStartDay: number;
|
|
46
46
|
/**
|
|
47
|
-
* Maximum number of appointments per work week.
|
|
47
|
+
* Maximum number of appointments per work week, 0 for no limit.
|
|
48
48
|
*/
|
|
49
49
|
limitPerWorkWeek: number;
|
|
50
50
|
/**
|
|
@@ -56,29 +56,93 @@ export interface RoutingConfigDto {
|
|
|
56
56
|
*/
|
|
57
57
|
shiftEndTime: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Days ahead, counted from today in the time zone of the tenant, up to which planned appointments get their final time and are asked for confirmation. Later days only get a candidate day.
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
plannedDaysAhead: number;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Whether the scheduler starts planning jobs for the tenant. Members with the appointment planning permission can start a run regardless.
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
enablePlanner?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Full hours of the day (0 to 23, comma separated) in which the planner is started, in the time zone of the tenant.
|
|
68
|
+
*/
|
|
69
|
+
runHours: string;
|
|
70
|
+
/**
|
|
71
|
+
* Hours that have to pass at least since the last execution before the planner is started again.
|
|
72
|
+
*/
|
|
73
|
+
hoursBetweenRuns: number;
|
|
74
|
+
/**
|
|
75
|
+
* Start of the last planning run in the time zone of the tenant. Set by the planner, never by the user.
|
|
76
|
+
*/
|
|
77
|
+
readonly lastExecutionTime?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Maximum idle time between two stops in minutes. Not evaluated yet.
|
|
80
|
+
*/
|
|
81
|
+
maxIdleTime?: number;
|
|
82
|
+
/**
|
|
83
|
+
* Id of the editor type (JSON form) whose form the requester fills in when booking an appointment.
|
|
84
|
+
*/
|
|
85
|
+
jsonFormId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Whether the requester may upload files with an appointment.
|
|
88
|
+
*/
|
|
89
|
+
enableFileUpload?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Maximum number of files per appointment.
|
|
92
|
+
*/
|
|
93
|
+
maxUploadFiles?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Maximum size of an uploaded file in megabytes.
|
|
96
|
+
*/
|
|
97
|
+
maxUploadFileSizeMb?: number;
|
|
98
|
+
/**
|
|
99
|
+
* Secret that uploads of files for appointment requests carry in the portal, so the limits of this configuration apply. Generated by the application when the configuration is created or saved without it, never set by the user.
|
|
100
|
+
*/
|
|
101
|
+
readonly publicUploadSecretId?: string;
|
|
66
102
|
/**
|
|
67
103
|
* Lead time of a preliminary appointment in hours.
|
|
68
104
|
*/
|
|
69
105
|
preliminaryLeadTimeHours: number;
|
|
70
106
|
/**
|
|
71
|
-
* Whether prices
|
|
107
|
+
* Whether the tenant portal shows the net prices of the bookable products. Otherwise it receives no prices at all.
|
|
72
108
|
*/
|
|
73
109
|
showPricesOnSelectableProduct: boolean;
|
|
74
110
|
/**
|
|
75
|
-
*
|
|
111
|
+
* Id of the tag that makes a product bookable in the tenant portal. No product is bookable while it is empty.
|
|
112
|
+
*/
|
|
113
|
+
tagId?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Key of the number attribute of the product attribute types that holds the duration of a product in minutes. Products take no time while it is empty.
|
|
116
|
+
*/
|
|
117
|
+
durationAttributeId?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Key of the number attribute of the product attribute types by which the bookable products are ordered ascending. Products without a number follow, ordered by name.
|
|
120
|
+
*/
|
|
121
|
+
orderAttributeId?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Id of the attribute type (applicable to partner accounts) that a partner account created by an appointment request gets. Skipped while the attribute type does not exist.
|
|
76
124
|
*/
|
|
77
|
-
|
|
125
|
+
attributeTypeId?: string;
|
|
78
126
|
/**
|
|
79
|
-
*
|
|
127
|
+
* Key of the boolean attribute of the partner account attribute types; a logged-in requester whose partner account has it set skips the form of jsonFormId.
|
|
128
|
+
*/
|
|
129
|
+
partnerHideFormAttributeId?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Hours the user of an appointment has to confirm its planned time, counted from the e-mail asking for it. A time not confirmed by then is released by the next planning run.
|
|
132
|
+
*/
|
|
133
|
+
confirmationPeriodHours: number;
|
|
134
|
+
/**
|
|
135
|
+
* Driving time in minutes up to which a requester counts as near to the places of a slot.
|
|
136
|
+
*/
|
|
137
|
+
nearDrivingTime: number;
|
|
138
|
+
/**
|
|
139
|
+
* Straight-line distance in metres below which two places are the same stop, provided the second is also reachable from the first within sameDrivingTime.
|
|
80
140
|
*/
|
|
81
141
|
sameDistance: number;
|
|
142
|
+
/**
|
|
143
|
+
* Driving time in minutes within which a place closer than sameDistance must be reachable to be the same stop, so places close in a straight line but apart by road (e.g. across a river) are two stops.
|
|
144
|
+
*/
|
|
145
|
+
sameDrivingTime: number;
|
|
82
146
|
/**
|
|
83
147
|
* Name of the calendar entry type of the calendar entries created for planned appointments. The application creates and maintains this type; when the tenant has an own type of this name, the managed one gets a number appended.
|
|
84
148
|
*/
|
|
@@ -107,4 +171,4 @@ export declare function instanceOfRoutingConfigDto(value: object): value is Rout
|
|
|
107
171
|
export declare function RoutingConfigDtoFromJSON(json: any): RoutingConfigDto;
|
|
108
172
|
export declare function RoutingConfigDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoutingConfigDto;
|
|
109
173
|
export declare function RoutingConfigDtoToJSON(json: any): RoutingConfigDto;
|
|
110
|
-
export declare function RoutingConfigDtoToJSONTyped(value?: RoutingConfigDto | null, ignoreDiscriminator?: boolean): any;
|
|
174
|
+
export declare function RoutingConfigDtoToJSONTyped(value?: Omit<RoutingConfigDto, 'lastExecutionTime' | 'publicUploadSecretId'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -40,18 +40,24 @@ function instanceOfRoutingConfigDto(value) {
|
|
|
40
40
|
return false;
|
|
41
41
|
if (!('shiftEndTime' in value) || value['shiftEndTime'] === undefined)
|
|
42
42
|
return false;
|
|
43
|
-
if (!('
|
|
43
|
+
if (!('plannedDaysAhead' in value) || value['plannedDaysAhead'] === undefined)
|
|
44
44
|
return false;
|
|
45
|
-
if (!('
|
|
45
|
+
if (!('runHours' in value) || value['runHours'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('hoursBetweenRuns' in value) || value['hoursBetweenRuns'] === undefined)
|
|
46
48
|
return false;
|
|
47
49
|
if (!('preliminaryLeadTimeHours' in value) || value['preliminaryLeadTimeHours'] === undefined)
|
|
48
50
|
return false;
|
|
49
51
|
if (!('showPricesOnSelectableProduct' in value) || value['showPricesOnSelectableProduct'] === undefined)
|
|
50
52
|
return false;
|
|
51
|
-
if (!('
|
|
53
|
+
if (!('confirmationPeriodHours' in value) || value['confirmationPeriodHours'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('nearDrivingTime' in value) || value['nearDrivingTime'] === undefined)
|
|
52
56
|
return false;
|
|
53
57
|
if (!('sameDistance' in value) || value['sameDistance'] === undefined)
|
|
54
58
|
return false;
|
|
59
|
+
if (!('sameDrivingTime' in value) || value['sameDrivingTime'] === undefined)
|
|
60
|
+
return false;
|
|
55
61
|
return true;
|
|
56
62
|
}
|
|
57
63
|
function RoutingConfigDtoFromJSON(json) {
|
|
@@ -72,12 +78,28 @@ function RoutingConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
78
|
'limitPerWorkWeek': json['limitPerWorkWeek'],
|
|
73
79
|
'shiftStartTime': json['shiftStartTime'],
|
|
74
80
|
'shiftEndTime': json['shiftEndTime'],
|
|
75
|
-
'
|
|
76
|
-
'
|
|
81
|
+
'plannedDaysAhead': json['plannedDaysAhead'],
|
|
82
|
+
'enablePlanner': json['enablePlanner'] == null ? undefined : json['enablePlanner'],
|
|
83
|
+
'runHours': json['runHours'],
|
|
84
|
+
'hoursBetweenRuns': json['hoursBetweenRuns'],
|
|
85
|
+
'lastExecutionTime': json['lastExecutionTime'] == null ? undefined : json['lastExecutionTime'],
|
|
86
|
+
'maxIdleTime': json['maxIdleTime'] == null ? undefined : json['maxIdleTime'],
|
|
87
|
+
'jsonFormId': json['jsonFormId'] == null ? undefined : json['jsonFormId'],
|
|
88
|
+
'enableFileUpload': json['enableFileUpload'] == null ? undefined : json['enableFileUpload'],
|
|
89
|
+
'maxUploadFiles': json['maxUploadFiles'] == null ? undefined : json['maxUploadFiles'],
|
|
90
|
+
'maxUploadFileSizeMb': json['maxUploadFileSizeMb'] == null ? undefined : json['maxUploadFileSizeMb'],
|
|
91
|
+
'publicUploadSecretId': json['publicUploadSecretId'] == null ? undefined : json['publicUploadSecretId'],
|
|
77
92
|
'preliminaryLeadTimeHours': json['preliminaryLeadTimeHours'],
|
|
78
93
|
'showPricesOnSelectableProduct': json['showPricesOnSelectableProduct'],
|
|
79
|
-
'
|
|
94
|
+
'tagId': json['tagId'] == null ? undefined : json['tagId'],
|
|
95
|
+
'durationAttributeId': json['durationAttributeId'] == null ? undefined : json['durationAttributeId'],
|
|
96
|
+
'orderAttributeId': json['orderAttributeId'] == null ? undefined : json['orderAttributeId'],
|
|
97
|
+
'attributeTypeId': json['attributeTypeId'] == null ? undefined : json['attributeTypeId'],
|
|
98
|
+
'partnerHideFormAttributeId': json['partnerHideFormAttributeId'] == null ? undefined : json['partnerHideFormAttributeId'],
|
|
99
|
+
'confirmationPeriodHours': json['confirmationPeriodHours'],
|
|
100
|
+
'nearDrivingTime': json['nearDrivingTime'],
|
|
80
101
|
'sameDistance': json['sameDistance'],
|
|
102
|
+
'sameDrivingTime': json['sameDrivingTime'],
|
|
81
103
|
'calendarTypeName': json['calendarTypeName'] == null ? undefined : json['calendarTypeName'],
|
|
82
104
|
'minRequiredDays': json['minRequiredDays'] == null ? undefined : json['minRequiredDays'],
|
|
83
105
|
'routeStartLatitude': json['routeStartLatitude'] == null ? undefined : json['routeStartLatitude'],
|
|
@@ -104,12 +126,26 @@ function RoutingConfigDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
104
126
|
'limitPerWorkWeek': value['limitPerWorkWeek'],
|
|
105
127
|
'shiftStartTime': value['shiftStartTime'],
|
|
106
128
|
'shiftEndTime': value['shiftEndTime'],
|
|
107
|
-
'
|
|
108
|
-
'
|
|
129
|
+
'plannedDaysAhead': value['plannedDaysAhead'],
|
|
130
|
+
'enablePlanner': value['enablePlanner'],
|
|
131
|
+
'runHours': value['runHours'],
|
|
132
|
+
'hoursBetweenRuns': value['hoursBetweenRuns'],
|
|
133
|
+
'maxIdleTime': value['maxIdleTime'],
|
|
134
|
+
'jsonFormId': value['jsonFormId'],
|
|
135
|
+
'enableFileUpload': value['enableFileUpload'],
|
|
136
|
+
'maxUploadFiles': value['maxUploadFiles'],
|
|
137
|
+
'maxUploadFileSizeMb': value['maxUploadFileSizeMb'],
|
|
109
138
|
'preliminaryLeadTimeHours': value['preliminaryLeadTimeHours'],
|
|
110
139
|
'showPricesOnSelectableProduct': value['showPricesOnSelectableProduct'],
|
|
111
|
-
'
|
|
140
|
+
'tagId': value['tagId'],
|
|
141
|
+
'durationAttributeId': value['durationAttributeId'],
|
|
142
|
+
'orderAttributeId': value['orderAttributeId'],
|
|
143
|
+
'attributeTypeId': value['attributeTypeId'],
|
|
144
|
+
'partnerHideFormAttributeId': value['partnerHideFormAttributeId'],
|
|
145
|
+
'confirmationPeriodHours': value['confirmationPeriodHours'],
|
|
146
|
+
'nearDrivingTime': value['nearDrivingTime'],
|
|
112
147
|
'sameDistance': value['sameDistance'],
|
|
148
|
+
'sameDrivingTime': value['sameDrivingTime'],
|
|
113
149
|
'calendarTypeName': value['calendarTypeName'],
|
|
114
150
|
'minRequiredDays': value['minRequiredDays'],
|
|
115
151
|
'routeStartLatitude': value['routeStartLatitude'],
|
|
@@ -36,6 +36,10 @@ export interface TenantConfigurationDto {
|
|
|
36
36
|
* whether the public page of the tenant (/@handle) shows logo, address, contact and legal information. Otherwise it only shows the name.
|
|
37
37
|
*/
|
|
38
38
|
publicPageEnabled?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* whether the public tenant portal shows the appointments tab and accepts appointment requests and changes of their time spans. Existing appointments can still be read, confirmed and withdrawn.
|
|
41
|
+
*/
|
|
42
|
+
enableAppointmentBooking?: boolean;
|
|
39
43
|
/**
|
|
40
44
|
*
|
|
41
45
|
*/
|
|
@@ -38,6 +38,7 @@ function TenantConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'timeZoneOffset': json['timeZoneOffset'] == null ? undefined : json['timeZoneOffset'],
|
|
39
39
|
'locale': json['locale'] == null ? undefined : json['locale'],
|
|
40
40
|
'publicPageEnabled': json['publicPageEnabled'] == null ? undefined : json['publicPageEnabled'],
|
|
41
|
+
'enableAppointmentBooking': json['enableAppointmentBooking'] == null ? undefined : json['enableAppointmentBooking'],
|
|
41
42
|
'payment': json['payment'] == null ? undefined : (0, PaymentConfigurationDto_1.PaymentConfigurationDtoFromJSON)(json['payment']),
|
|
42
43
|
'ui': json['ui'] == null ? undefined : (0, UiConfigurationDto_1.UiConfigurationDtoFromJSON)(json['ui']),
|
|
43
44
|
};
|
|
@@ -56,6 +57,7 @@ function TenantConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
56
57
|
'timeZoneOffset': value['timeZoneOffset'],
|
|
57
58
|
'locale': value['locale'],
|
|
58
59
|
'publicPageEnabled': value['publicPageEnabled'],
|
|
60
|
+
'enableAppointmentBooking': value['enableAppointmentBooking'],
|
|
59
61
|
'payment': (0, PaymentConfigurationDto_1.PaymentConfigurationDtoToJSON)(value['payment']),
|
|
60
62
|
'ui': (0, UiConfigurationDto_1.UiConfigurationDtoToJSON)(value['ui']),
|
|
61
63
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import type { UiModule } from './UiModule';
|
|
12
|
+
import type { UiModuleCategory } from './UiModuleCategory';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -19,6 +20,14 @@ export interface UiConfigurationDto {
|
|
|
19
20
|
* Modules that will be hidden in UI. Per default all modules are shown.
|
|
20
21
|
*/
|
|
21
22
|
hiddenModules?: Array<UiModule>;
|
|
23
|
+
/**
|
|
24
|
+
* Order of the module categories in the navigation. Missing categories are appended in the order of the enum, unknown ones are ignored, so categories added later show up by themselves.
|
|
25
|
+
*/
|
|
26
|
+
categoryOrder?: Array<UiModuleCategory>;
|
|
27
|
+
/**
|
|
28
|
+
* Order of the modules within their category in the navigation. Missing modules are appended in the order of the enum, unknown ones are ignored, so modules added later show up by themselves.
|
|
29
|
+
*/
|
|
30
|
+
moduleOrder?: Array<UiModule>;
|
|
22
31
|
}
|
|
23
32
|
/**
|
|
24
33
|
* Check if a given object implements the UiConfigurationDto interface.
|
|
@@ -18,6 +18,7 @@ exports.UiConfigurationDtoFromJSONTyped = UiConfigurationDtoFromJSONTyped;
|
|
|
18
18
|
exports.UiConfigurationDtoToJSON = UiConfigurationDtoToJSON;
|
|
19
19
|
exports.UiConfigurationDtoToJSONTyped = UiConfigurationDtoToJSONTyped;
|
|
20
20
|
var UiModule_1 = require("./UiModule");
|
|
21
|
+
var UiModuleCategory_1 = require("./UiModuleCategory");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the UiConfigurationDto interface.
|
|
23
24
|
*/
|
|
@@ -33,6 +34,8 @@ function UiConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
}
|
|
34
35
|
return {
|
|
35
36
|
'hiddenModules': json['hiddenModules'] == null ? undefined : (json['hiddenModules'].map(UiModule_1.UiModuleFromJSON)),
|
|
37
|
+
'categoryOrder': json['categoryOrder'] == null ? undefined : (json['categoryOrder'].map(UiModuleCategory_1.UiModuleCategoryFromJSON)),
|
|
38
|
+
'moduleOrder': json['moduleOrder'] == null ? undefined : (json['moduleOrder'].map(UiModule_1.UiModuleFromJSON)),
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
function UiConfigurationDtoToJSON(json) {
|
|
@@ -45,5 +48,7 @@ function UiConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
45
48
|
}
|
|
46
49
|
return {
|
|
47
50
|
'hiddenModules': value['hiddenModules'] == null ? undefined : (value['hiddenModules'].map(UiModule_1.UiModuleToJSON)),
|
|
51
|
+
'categoryOrder': value['categoryOrder'] == null ? undefined : (value['categoryOrder'].map(UiModuleCategory_1.UiModuleCategoryToJSON)),
|
|
52
|
+
'moduleOrder': value['moduleOrder'] == null ? undefined : (value['moduleOrder'].map(UiModule_1.UiModuleToJSON)),
|
|
48
53
|
};
|
|
49
54
|
}
|
|
@@ -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
|
+
* Categories of the UI modules, i.e. the part of a UiModule before the dot
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const UiModuleCategory: {
|
|
16
|
+
readonly Landing: "Landing";
|
|
17
|
+
readonly Invoice: "Invoice";
|
|
18
|
+
readonly Crm: "CRM";
|
|
19
|
+
readonly Documents: "Documents";
|
|
20
|
+
readonly Roster: "Roster";
|
|
21
|
+
readonly Workspace: "Workspace";
|
|
22
|
+
readonly Automation: "Automation";
|
|
23
|
+
};
|
|
24
|
+
export type UiModuleCategory = typeof UiModuleCategory[keyof typeof UiModuleCategory];
|
|
25
|
+
export declare function instanceOfUiModuleCategory(value: any): boolean;
|
|
26
|
+
export declare function UiModuleCategoryFromJSON(json: any): UiModuleCategory;
|
|
27
|
+
export declare function UiModuleCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiModuleCategory;
|
|
28
|
+
export declare function UiModuleCategoryToJSON(value?: UiModuleCategory | null): any;
|
|
29
|
+
export declare function UiModuleCategoryToJSONTyped(value: any, ignoreDiscriminator: boolean): UiModuleCategory;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.UiModuleCategory = void 0;
|
|
16
|
+
exports.instanceOfUiModuleCategory = instanceOfUiModuleCategory;
|
|
17
|
+
exports.UiModuleCategoryFromJSON = UiModuleCategoryFromJSON;
|
|
18
|
+
exports.UiModuleCategoryFromJSONTyped = UiModuleCategoryFromJSONTyped;
|
|
19
|
+
exports.UiModuleCategoryToJSON = UiModuleCategoryToJSON;
|
|
20
|
+
exports.UiModuleCategoryToJSONTyped = UiModuleCategoryToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Categories of the UI modules, i.e. the part of a UiModule before the dot
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.UiModuleCategory = {
|
|
26
|
+
Landing: 'Landing',
|
|
27
|
+
Invoice: 'Invoice',
|
|
28
|
+
Crm: 'CRM',
|
|
29
|
+
Documents: 'Documents',
|
|
30
|
+
Roster: 'Roster',
|
|
31
|
+
Workspace: 'Workspace',
|
|
32
|
+
Automation: 'Automation',
|
|
33
|
+
};
|
|
34
|
+
function instanceOfUiModuleCategory(value) {
|
|
35
|
+
for (var key in exports.UiModuleCategory) {
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(exports.UiModuleCategory, key)) {
|
|
37
|
+
if (exports.UiModuleCategory[key] === value) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
function UiModuleCategoryFromJSON(json) {
|
|
45
|
+
return UiModuleCategoryFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UiModuleCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
function UiModuleCategoryToJSON(value) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
function UiModuleCategoryToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
@@ -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 { AddressDto } from './AddressDto';
|
|
12
|
+
/**
|
|
13
|
+
* an address the logged-in user stored for later use, e.g. in the booking wizard of the tenant portals; only the user who stored it can see it
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserAddressDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UserAddressDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
readonly id?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
version?: number;
|
|
26
|
+
/**
|
|
27
|
+
* name the user gave the address
|
|
28
|
+
*/
|
|
29
|
+
label: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
address: AddressDto;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
email?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
phoneNumber?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UserAddressDto interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUserAddressDto(value: object): value is UserAddressDto;
|
|
47
|
+
export declare function UserAddressDtoFromJSON(json: any): UserAddressDto;
|
|
48
|
+
export declare function UserAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAddressDto;
|
|
49
|
+
export declare function UserAddressDtoToJSON(json: any): UserAddressDto;
|
|
50
|
+
export declare function UserAddressDtoToJSONTyped(value?: Omit<UserAddressDto, 'id'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfUserAddressDto = instanceOfUserAddressDto;
|
|
16
|
+
exports.UserAddressDtoFromJSON = UserAddressDtoFromJSON;
|
|
17
|
+
exports.UserAddressDtoFromJSONTyped = UserAddressDtoFromJSONTyped;
|
|
18
|
+
exports.UserAddressDtoToJSON = UserAddressDtoToJSON;
|
|
19
|
+
exports.UserAddressDtoToJSONTyped = UserAddressDtoToJSONTyped;
|
|
20
|
+
var AddressDto_1 = require("./AddressDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserAddressDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserAddressDto(value) {
|
|
25
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function UserAddressDtoFromJSON(json) {
|
|
32
|
+
return UserAddressDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function UserAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
41
|
+
'label': json['label'],
|
|
42
|
+
'address': (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
43
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
44
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function UserAddressDtoToJSON(json) {
|
|
48
|
+
return UserAddressDtoToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function UserAddressDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'version': value['version'],
|
|
57
|
+
'label': value['label'],
|
|
58
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
59
|
+
'email': value['email'],
|
|
60
|
+
'phoneNumber': value['phoneNumber'],
|
|
61
|
+
};
|
|
62
|
+
}
|
package/dist/models/UserDto.d.ts
CHANGED
|
@@ -42,6 +42,10 @@ export interface UserDto {
|
|
|
42
42
|
* The user was invited and has not logged in yet.
|
|
43
43
|
*/
|
|
44
44
|
readonly invitationPending?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The user is no member of the tenant but linked to it as partner account (legal entity user), e.g. as submitter of a public form.
|
|
47
|
+
*/
|
|
48
|
+
readonly external?: boolean;
|
|
45
49
|
}
|
|
46
50
|
/**
|
|
47
51
|
* Check if a given object implements the UserDto interface.
|
|
@@ -50,4 +54,4 @@ export declare function instanceOfUserDto(value: object): value is UserDto;
|
|
|
50
54
|
export declare function UserDtoFromJSON(json: any): UserDto;
|
|
51
55
|
export declare function UserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDto;
|
|
52
56
|
export declare function UserDtoToJSON(json: any): UserDto;
|
|
53
|
-
export declare function UserDtoToJSONTyped(value?: Omit<UserDto, 'invitationPending'> | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
export declare function UserDtoToJSONTyped(value?: Omit<UserDto, 'invitationPending' | 'external'> | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/UserDto.js
CHANGED
|
@@ -42,6 +42,7 @@ function UserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'avatarUrl': json['avatarUrl'] == null ? undefined : json['avatarUrl'],
|
|
43
43
|
'commsId': json['commsId'] == null ? undefined : json['commsId'],
|
|
44
44
|
'invitationPending': json['invitationPending'] == null ? undefined : json['invitationPending'],
|
|
45
|
+
'external': json['external'] == null ? undefined : json['external'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
function UserDtoToJSON(json) {
|