@kommerz/ts-client 1.190.0 → 1.192.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 +172 -0
- package/dist/apis/AppointmentPortalApi.js +478 -0
- package/dist/apis/AppointmentsApi.d.ts +121 -0
- package/dist/apis/AppointmentsApi.js +387 -0
- package/dist/apis/MapsApi.d.ts +84 -0
- package/dist/apis/MapsApi.js +268 -0
- package/dist/apis/UsersMeApi.d.ts +13 -0
- package/dist/apis/UsersMeApi.js +56 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/models/AccountAppointmentDto.d.ts +38 -0
- package/dist/models/AccountAppointmentDto.js +59 -0
- package/dist/models/AppointmentDto.d.ts +55 -0
- package/dist/models/AppointmentDto.js +64 -0
- package/dist/models/AppointmentPortalDto.d.ts +43 -0
- package/dist/models/AppointmentPortalDto.js +62 -0
- package/dist/models/AppointmentSlotDistance.d.ts +25 -0
- package/dist/models/AppointmentSlotDistance.js +51 -0
- package/dist/models/AppointmentSlotDto.d.ts +43 -0
- package/dist/models/AppointmentSlotDto.js +60 -0
- package/dist/models/AppointmentStatus.d.ts +26 -0
- package/dist/models/AppointmentStatus.js +52 -0
- package/dist/models/CalendarEntryTypeDto.d.ts +12 -0
- package/dist/models/CalendarEntryTypeDto.js +6 -0
- package/dist/models/ConfigKey.d.ts +1 -0
- package/dist/models/ConfigKey.js +1 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +1 -0
- package/dist/models/GetAllAppointmentSlots200Response.d.ts +42 -0
- package/dist/models/GetAllAppointmentSlots200Response.js +59 -0
- package/dist/models/GetAllAppointments200Response.d.ts +42 -0
- package/dist/models/GetAllAppointments200Response.js +59 -0
- package/dist/models/Permissions.d.ts +4 -0
- package/dist/models/Permissions.js +4 -0
- package/dist/models/RoutingConfigDto.d.ts +89 -0
- package/dist/models/RoutingConfigDto.js +108 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,89 @@
|
|
|
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
|
+
* Configuration of the routing of appointments in the roster module.
|
|
13
|
+
* @export
|
|
14
|
+
* @interface RoutingConfigDto
|
|
15
|
+
*/
|
|
16
|
+
export interface RoutingConfigDto {
|
|
17
|
+
/**
|
|
18
|
+
* Name of the routing algorithm.
|
|
19
|
+
*/
|
|
20
|
+
algorithm: string;
|
|
21
|
+
/**
|
|
22
|
+
* Maximum number of stops per day.
|
|
23
|
+
*/
|
|
24
|
+
maxStopsPerDay: number;
|
|
25
|
+
/**
|
|
26
|
+
* GeoJSON geometry (or feature) of the area in which appointments can be booked. Appointments are bookable everywhere if empty.
|
|
27
|
+
*/
|
|
28
|
+
bookingArea?: any;
|
|
29
|
+
/**
|
|
30
|
+
* Maximum driving distance between two stops in metres.
|
|
31
|
+
*/
|
|
32
|
+
maxDrivingDistanceBetweenStops: number;
|
|
33
|
+
/**
|
|
34
|
+
* Buffer time between two stops in minutes.
|
|
35
|
+
*/
|
|
36
|
+
bufferTimeBetweenStops: number;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the approach to the first stop counts as work hours.
|
|
39
|
+
*/
|
|
40
|
+
includeFirstApproachInWorkHours: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* First day of the work week as ISO day of week (1 = Monday, 7 = Sunday).
|
|
43
|
+
*/
|
|
44
|
+
workWeekStartDay: number;
|
|
45
|
+
/**
|
|
46
|
+
* Maximum number of appointments per work week.
|
|
47
|
+
*/
|
|
48
|
+
limitPerWorkWeek: number;
|
|
49
|
+
/**
|
|
50
|
+
* Start of the shift.
|
|
51
|
+
*/
|
|
52
|
+
shiftStartTime: string;
|
|
53
|
+
/**
|
|
54
|
+
* End of the shift. Must be after the start of the shift.
|
|
55
|
+
*/
|
|
56
|
+
shiftEndTime: string;
|
|
57
|
+
/**
|
|
58
|
+
* Hours before an appointment at which its route is planned finely.
|
|
59
|
+
*/
|
|
60
|
+
hoursBeforeFinePlanning: number;
|
|
61
|
+
/**
|
|
62
|
+
* Spring cron expression (six fields) that defines when preliminary appointments are confirmed. Seconds and minutes must be 0, so the expression fires at most once an hour.
|
|
63
|
+
*/
|
|
64
|
+
confirmationCron: string;
|
|
65
|
+
/**
|
|
66
|
+
* Lead time of a preliminary appointment in hours.
|
|
67
|
+
*/
|
|
68
|
+
preliminaryLeadTimeHours: number;
|
|
69
|
+
/**
|
|
70
|
+
* Whether prices are shown on selectable products.
|
|
71
|
+
*/
|
|
72
|
+
showPricesOnSelectableProduct: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Distance in metres up to which two appointments count as near.
|
|
75
|
+
*/
|
|
76
|
+
nearDistance: number;
|
|
77
|
+
/**
|
|
78
|
+
* Distance in metres up to which two appointments count as at the same place.
|
|
79
|
+
*/
|
|
80
|
+
sameDistance: number;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the RoutingConfigDto interface.
|
|
84
|
+
*/
|
|
85
|
+
export declare function instanceOfRoutingConfigDto(value: object): value is RoutingConfigDto;
|
|
86
|
+
export declare function RoutingConfigDtoFromJSON(json: any): RoutingConfigDto;
|
|
87
|
+
export declare function RoutingConfigDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoutingConfigDto;
|
|
88
|
+
export declare function RoutingConfigDtoToJSON(json: any): RoutingConfigDto;
|
|
89
|
+
export declare function RoutingConfigDtoToJSONTyped(value?: RoutingConfigDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,108 @@
|
|
|
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.instanceOfRoutingConfigDto = instanceOfRoutingConfigDto;
|
|
16
|
+
exports.RoutingConfigDtoFromJSON = RoutingConfigDtoFromJSON;
|
|
17
|
+
exports.RoutingConfigDtoFromJSONTyped = RoutingConfigDtoFromJSONTyped;
|
|
18
|
+
exports.RoutingConfigDtoToJSON = RoutingConfigDtoToJSON;
|
|
19
|
+
exports.RoutingConfigDtoToJSONTyped = RoutingConfigDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the RoutingConfigDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfRoutingConfigDto(value) {
|
|
24
|
+
if (!('algorithm' in value) || value['algorithm'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('maxStopsPerDay' in value) || value['maxStopsPerDay'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('maxDrivingDistanceBetweenStops' in value) || value['maxDrivingDistanceBetweenStops'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('bufferTimeBetweenStops' in value) || value['bufferTimeBetweenStops'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('includeFirstApproachInWorkHours' in value) || value['includeFirstApproachInWorkHours'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('workWeekStartDay' in value) || value['workWeekStartDay'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('limitPerWorkWeek' in value) || value['limitPerWorkWeek'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('shiftStartTime' in value) || value['shiftStartTime'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('shiftEndTime' in value) || value['shiftEndTime'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('hoursBeforeFinePlanning' in value) || value['hoursBeforeFinePlanning'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('confirmationCron' in value) || value['confirmationCron'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('preliminaryLeadTimeHours' in value) || value['preliminaryLeadTimeHours'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('showPricesOnSelectableProduct' in value) || value['showPricesOnSelectableProduct'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('nearDistance' in value) || value['nearDistance'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('sameDistance' in value) || value['sameDistance'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
function RoutingConfigDtoFromJSON(json) {
|
|
57
|
+
return RoutingConfigDtoFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function RoutingConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'algorithm': json['algorithm'],
|
|
65
|
+
'maxStopsPerDay': json['maxStopsPerDay'],
|
|
66
|
+
'bookingArea': json['bookingArea'] == null ? undefined : json['bookingArea'],
|
|
67
|
+
'maxDrivingDistanceBetweenStops': json['maxDrivingDistanceBetweenStops'],
|
|
68
|
+
'bufferTimeBetweenStops': json['bufferTimeBetweenStops'],
|
|
69
|
+
'includeFirstApproachInWorkHours': json['includeFirstApproachInWorkHours'],
|
|
70
|
+
'workWeekStartDay': json['workWeekStartDay'],
|
|
71
|
+
'limitPerWorkWeek': json['limitPerWorkWeek'],
|
|
72
|
+
'shiftStartTime': json['shiftStartTime'],
|
|
73
|
+
'shiftEndTime': json['shiftEndTime'],
|
|
74
|
+
'hoursBeforeFinePlanning': json['hoursBeforeFinePlanning'],
|
|
75
|
+
'confirmationCron': json['confirmationCron'],
|
|
76
|
+
'preliminaryLeadTimeHours': json['preliminaryLeadTimeHours'],
|
|
77
|
+
'showPricesOnSelectableProduct': json['showPricesOnSelectableProduct'],
|
|
78
|
+
'nearDistance': json['nearDistance'],
|
|
79
|
+
'sameDistance': json['sameDistance'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function RoutingConfigDtoToJSON(json) {
|
|
83
|
+
return RoutingConfigDtoToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
function RoutingConfigDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
86
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
87
|
+
if (value == null) {
|
|
88
|
+
return value;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
'algorithm': value['algorithm'],
|
|
92
|
+
'maxStopsPerDay': value['maxStopsPerDay'],
|
|
93
|
+
'bookingArea': value['bookingArea'],
|
|
94
|
+
'maxDrivingDistanceBetweenStops': value['maxDrivingDistanceBetweenStops'],
|
|
95
|
+
'bufferTimeBetweenStops': value['bufferTimeBetweenStops'],
|
|
96
|
+
'includeFirstApproachInWorkHours': value['includeFirstApproachInWorkHours'],
|
|
97
|
+
'workWeekStartDay': value['workWeekStartDay'],
|
|
98
|
+
'limitPerWorkWeek': value['limitPerWorkWeek'],
|
|
99
|
+
'shiftStartTime': value['shiftStartTime'],
|
|
100
|
+
'shiftEndTime': value['shiftEndTime'],
|
|
101
|
+
'hoursBeforeFinePlanning': value['hoursBeforeFinePlanning'],
|
|
102
|
+
'confirmationCron': value['confirmationCron'],
|
|
103
|
+
'preliminaryLeadTimeHours': value['preliminaryLeadTimeHours'],
|
|
104
|
+
'showPricesOnSelectableProduct': value['showPricesOnSelectableProduct'],
|
|
105
|
+
'nearDistance': value['nearDistance'],
|
|
106
|
+
'sameDistance': value['sameDistance'],
|
|
107
|
+
};
|
|
108
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './AcceptancePortalAcceptDto';
|
|
|
9
9
|
export * from './AcceptancePortalSendConfigDto';
|
|
10
10
|
export * from './AcceptancePortalShareConfigDto';
|
|
11
11
|
export * from './AccessTokenDto';
|
|
12
|
+
export * from './AccountAppointmentDto';
|
|
12
13
|
export * from './AccountDeletionPreviewDto';
|
|
13
14
|
export * from './AccountDeletionTenantDto';
|
|
14
15
|
export * from './AccountingCenterDto';
|
|
@@ -39,6 +40,11 @@ export * from './ActivityReferenceDto';
|
|
|
39
40
|
export * from './ActivityType';
|
|
40
41
|
export * from './AddressDto';
|
|
41
42
|
export * from './AmountDto';
|
|
43
|
+
export * from './AppointmentDto';
|
|
44
|
+
export * from './AppointmentPortalDto';
|
|
45
|
+
export * from './AppointmentSlotDistance';
|
|
46
|
+
export * from './AppointmentSlotDto';
|
|
47
|
+
export * from './AppointmentStatus';
|
|
42
48
|
export * from './ApprovalDecisionEnum';
|
|
43
49
|
export * from './ApprovalEntryDto';
|
|
44
50
|
export * from './ApprovalModeEnum';
|
|
@@ -136,6 +142,8 @@ export * from './GetAllAccountingTransactions200Response';
|
|
|
136
142
|
export * from './GetAllAccountingTurnover200Response';
|
|
137
143
|
export * from './GetAllAccounts200Response';
|
|
138
144
|
export * from './GetAllActivities200Response';
|
|
145
|
+
export * from './GetAllAppointmentSlots200Response';
|
|
146
|
+
export * from './GetAllAppointments200Response';
|
|
139
147
|
export * from './GetAllApprovalEntries200Response';
|
|
140
148
|
export * from './GetAllApprovalTypes200Response';
|
|
141
149
|
export * from './GetAllAttributeTypes200Response';
|
|
@@ -266,6 +274,7 @@ export * from './PublicTenantPageDto';
|
|
|
266
274
|
export * from './ReferenceDto';
|
|
267
275
|
export * from './RegisterUserDto';
|
|
268
276
|
export * from './RoleDto';
|
|
277
|
+
export * from './RoutingConfigDto';
|
|
269
278
|
export * from './RunWorkflowRequest';
|
|
270
279
|
export * from './ShareInvoiceDto';
|
|
271
280
|
export * from './ShareOfferDto';
|
package/dist/models/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __exportStar(require("./AcceptancePortalAcceptDto"), exports);
|
|
|
27
27
|
__exportStar(require("./AcceptancePortalSendConfigDto"), exports);
|
|
28
28
|
__exportStar(require("./AcceptancePortalShareConfigDto"), exports);
|
|
29
29
|
__exportStar(require("./AccessTokenDto"), exports);
|
|
30
|
+
__exportStar(require("./AccountAppointmentDto"), exports);
|
|
30
31
|
__exportStar(require("./AccountDeletionPreviewDto"), exports);
|
|
31
32
|
__exportStar(require("./AccountDeletionTenantDto"), exports);
|
|
32
33
|
__exportStar(require("./AccountingCenterDto"), exports);
|
|
@@ -57,6 +58,11 @@ __exportStar(require("./ActivityReferenceDto"), exports);
|
|
|
57
58
|
__exportStar(require("./ActivityType"), exports);
|
|
58
59
|
__exportStar(require("./AddressDto"), exports);
|
|
59
60
|
__exportStar(require("./AmountDto"), exports);
|
|
61
|
+
__exportStar(require("./AppointmentDto"), exports);
|
|
62
|
+
__exportStar(require("./AppointmentPortalDto"), exports);
|
|
63
|
+
__exportStar(require("./AppointmentSlotDistance"), exports);
|
|
64
|
+
__exportStar(require("./AppointmentSlotDto"), exports);
|
|
65
|
+
__exportStar(require("./AppointmentStatus"), exports);
|
|
60
66
|
__exportStar(require("./ApprovalDecisionEnum"), exports);
|
|
61
67
|
__exportStar(require("./ApprovalEntryDto"), exports);
|
|
62
68
|
__exportStar(require("./ApprovalModeEnum"), exports);
|
|
@@ -154,6 +160,8 @@ __exportStar(require("./GetAllAccountingTransactions200Response"), exports);
|
|
|
154
160
|
__exportStar(require("./GetAllAccountingTurnover200Response"), exports);
|
|
155
161
|
__exportStar(require("./GetAllAccounts200Response"), exports);
|
|
156
162
|
__exportStar(require("./GetAllActivities200Response"), exports);
|
|
163
|
+
__exportStar(require("./GetAllAppointmentSlots200Response"), exports);
|
|
164
|
+
__exportStar(require("./GetAllAppointments200Response"), exports);
|
|
157
165
|
__exportStar(require("./GetAllApprovalEntries200Response"), exports);
|
|
158
166
|
__exportStar(require("./GetAllApprovalTypes200Response"), exports);
|
|
159
167
|
__exportStar(require("./GetAllAttributeTypes200Response"), exports);
|
|
@@ -284,6 +292,7 @@ __exportStar(require("./PublicTenantPageDto"), exports);
|
|
|
284
292
|
__exportStar(require("./ReferenceDto"), exports);
|
|
285
293
|
__exportStar(require("./RegisterUserDto"), exports);
|
|
286
294
|
__exportStar(require("./RoleDto"), exports);
|
|
295
|
+
__exportStar(require("./RoutingConfigDto"), exports);
|
|
287
296
|
__exportStar(require("./RunWorkflowRequest"), exports);
|
|
288
297
|
__exportStar(require("./ShareInvoiceDto"), exports);
|
|
289
298
|
__exportStar(require("./ShareOfferDto"), exports);
|