@kommerz/ts-client 1.193.0 → 1.194.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 +4 -3
- package/dist/apis/AppointmentPortalApi.js +6 -5
- package/dist/apis/AppointmentUsersApi.d.ts +121 -0
- package/dist/apis/AppointmentUsersApi.js +387 -0
- package/dist/apis/AppointmentsApi.d.ts +2 -2
- package/dist/apis/CalendarEntryTypesApi.d.ts +2 -2
- package/dist/apis/DecisionTablesApi.d.ts +2 -2
- package/dist/apis/DesignTemplatesApi.d.ts +2 -2
- package/dist/apis/TextModulesApi.d.ts +2 -2
- package/dist/apis/UsersMeApi.d.ts +13 -0
- package/dist/apis/UsersMeApi.js +56 -0
- package/dist/apis/WorkflowExternalTasksApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.d.ts +2 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountCalendarEntryDto.d.ts +38 -0
- package/dist/models/AccountCalendarEntryDto.js +59 -0
- package/dist/models/AddressDto.d.ts +8 -0
- package/dist/models/AddressDto.js +4 -0
- package/dist/models/AppointmentDto.d.ts +14 -5
- package/dist/models/AppointmentDto.js +9 -2
- package/dist/models/AppointmentPortalDto.d.ts +5 -0
- package/dist/models/AppointmentPortalDto.js +3 -0
- package/dist/models/AppointmentSubmissionDto.d.ts +35 -0
- package/dist/models/AppointmentSubmissionDto.js +54 -0
- package/dist/models/AppointmentUserDto.d.ts +51 -0
- package/dist/models/AppointmentUserDto.js +55 -0
- package/dist/models/AttendedCalendarEntryDto.d.ts +63 -0
- package/dist/models/AttendedCalendarEntryDto.js +76 -0
- package/dist/models/CalendarAttendeeDto.d.ts +4 -0
- package/dist/models/CalendarAttendeeDto.js +2 -0
- package/dist/models/CalendarEntryDto.d.ts +8 -0
- package/dist/models/CalendarEntryDto.js +4 -0
- package/dist/models/CalendarEntryTypeDto.d.ts +9 -1
- package/dist/models/CalendarEntryTypeDto.js +3 -0
- package/dist/models/CustomerAddressDto.d.ts +34 -0
- package/dist/models/CustomerAddressDto.js +55 -0
- package/dist/models/CustomerDto.d.ts +5 -0
- package/dist/models/CustomerDto.js +3 -0
- package/dist/models/DecisionTableDto.d.ts +5 -1
- package/dist/models/DecisionTableDto.js +1 -0
- package/dist/models/DesignTemplateDto.d.ts +5 -1
- package/dist/models/DesignTemplateDto.js +1 -0
- package/dist/models/EmailDto.d.ts +4 -0
- package/dist/models/EmailDto.js +2 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +1 -0
- package/dist/models/GetAllAppointmentUsers200Response.d.ts +42 -0
- package/dist/models/GetAllAppointmentUsers200Response.js +59 -0
- package/dist/models/Permissions.d.ts +4 -0
- package/dist/models/Permissions.js +4 -0
- package/dist/models/RoutingConfigDto.d.ts +8 -0
- package/dist/models/RoutingConfigDto.js +4 -0
- package/dist/models/TextModuleDto.d.ts +5 -1
- package/dist/models/TextModuleDto.js +1 -0
- package/dist/models/WorkflowDto.d.ts +5 -1
- package/dist/models/WorkflowDto.js +1 -0
- package/dist/models/WorkflowExternalTaskDto.d.ts +5 -1
- package/dist/models/WorkflowExternalTaskDto.js +1 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
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 { ParticipantStatus } from './ParticipantStatus';
|
|
12
|
+
import type { TimeSpanDto } from './TimeSpanDto';
|
|
13
|
+
/**
|
|
14
|
+
* a calendar entry as one of its attendees sees it outside of the tenant
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AttendedCalendarEntryDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AttendedCalendarEntryDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
summary: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
description?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
location?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
timeSpan: TimeSpanDto;
|
|
39
|
+
/**
|
|
40
|
+
* repeat rule of the entry as RRULE value of RFC 5545, null for entries that do not repeat
|
|
41
|
+
*/
|
|
42
|
+
recurrenceRule?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
typeName: string;
|
|
47
|
+
/**
|
|
48
|
+
* HTML color (name or hex code)
|
|
49
|
+
*/
|
|
50
|
+
typeColorCode?: string;
|
|
51
|
+
/**
|
|
52
|
+
* the answer of the attendee
|
|
53
|
+
*/
|
|
54
|
+
status: ParticipantStatus;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the AttendedCalendarEntryDto interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfAttendedCalendarEntryDto(value: object): value is AttendedCalendarEntryDto;
|
|
60
|
+
export declare function AttendedCalendarEntryDtoFromJSON(json: any): AttendedCalendarEntryDto;
|
|
61
|
+
export declare function AttendedCalendarEntryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttendedCalendarEntryDto;
|
|
62
|
+
export declare function AttendedCalendarEntryDtoToJSON(json: any): AttendedCalendarEntryDto;
|
|
63
|
+
export declare function AttendedCalendarEntryDtoToJSONTyped(value?: AttendedCalendarEntryDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.instanceOfAttendedCalendarEntryDto = instanceOfAttendedCalendarEntryDto;
|
|
16
|
+
exports.AttendedCalendarEntryDtoFromJSON = AttendedCalendarEntryDtoFromJSON;
|
|
17
|
+
exports.AttendedCalendarEntryDtoFromJSONTyped = AttendedCalendarEntryDtoFromJSONTyped;
|
|
18
|
+
exports.AttendedCalendarEntryDtoToJSON = AttendedCalendarEntryDtoToJSON;
|
|
19
|
+
exports.AttendedCalendarEntryDtoToJSONTyped = AttendedCalendarEntryDtoToJSONTyped;
|
|
20
|
+
var ParticipantStatus_1 = require("./ParticipantStatus");
|
|
21
|
+
var TimeSpanDto_1 = require("./TimeSpanDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AttendedCalendarEntryDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAttendedCalendarEntryDto(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('timeSpan' in value) || value['timeSpan'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('typeName' in value) || value['typeName'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function AttendedCalendarEntryDtoFromJSON(json) {
|
|
39
|
+
return AttendedCalendarEntryDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AttendedCalendarEntryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'summary': json['summary'],
|
|
48
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
49
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
50
|
+
'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
|
|
51
|
+
'recurrenceRule': json['recurrenceRule'] == null ? undefined : json['recurrenceRule'],
|
|
52
|
+
'typeName': json['typeName'],
|
|
53
|
+
'typeColorCode': json['typeColorCode'] == null ? undefined : json['typeColorCode'],
|
|
54
|
+
'status': (0, ParticipantStatus_1.ParticipantStatusFromJSON)(json['status']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function AttendedCalendarEntryDtoToJSON(json) {
|
|
58
|
+
return AttendedCalendarEntryDtoToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function AttendedCalendarEntryDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
61
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'summary': value['summary'],
|
|
68
|
+
'description': value['description'],
|
|
69
|
+
'location': value['location'],
|
|
70
|
+
'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
|
|
71
|
+
'recurrenceRule': value['recurrenceRule'],
|
|
72
|
+
'typeName': value['typeName'],
|
|
73
|
+
'typeColorCode': value['typeColorCode'],
|
|
74
|
+
'status': (0, ParticipantStatus_1.ParticipantStatusToJSON)(value['status']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -24,6 +24,10 @@ export interface CalendarAttendeeDto {
|
|
|
24
24
|
* email of the user - if not set userId is used
|
|
25
25
|
*/
|
|
26
26
|
email?: string;
|
|
27
|
+
/**
|
|
28
|
+
* display name of an attendee invited by email, e.g. "John Doe" of "John Doe <john.doe@example.com>" - not used when userId is set
|
|
29
|
+
*/
|
|
30
|
+
name?: string;
|
|
27
31
|
/**
|
|
28
32
|
*
|
|
29
33
|
*/
|
|
@@ -39,6 +39,7 @@ function CalendarAttendeeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
return {
|
|
40
40
|
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
41
41
|
'email': json['email'] == null ? undefined : json['email'],
|
|
42
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
42
43
|
'status': (0, ParticipantStatus_1.ParticipantStatusFromJSON)(json['status']),
|
|
43
44
|
'role': (0, ParticipantRole_1.ParticipantRoleFromJSON)(json['role']),
|
|
44
45
|
};
|
|
@@ -54,6 +55,7 @@ function CalendarAttendeeDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
54
55
|
return {
|
|
55
56
|
'userId': value['userId'],
|
|
56
57
|
'email': value['email'],
|
|
58
|
+
'name': value['name'],
|
|
57
59
|
'role': (0, ParticipantRole_1.ParticipantRoleToJSON)(value['role']),
|
|
58
60
|
};
|
|
59
61
|
}
|
|
@@ -41,6 +41,14 @@ export interface CalendarEntryDto {
|
|
|
41
41
|
* location of the event
|
|
42
42
|
*/
|
|
43
43
|
location?: string;
|
|
44
|
+
/**
|
|
45
|
+
* latitude of the location (WGS 84); not part of the iCal data
|
|
46
|
+
*/
|
|
47
|
+
locationLat?: number;
|
|
48
|
+
/**
|
|
49
|
+
* longitude of the location (WGS 84); not part of the iCal data
|
|
50
|
+
*/
|
|
51
|
+
locationLong?: number;
|
|
44
52
|
/**
|
|
45
53
|
*
|
|
46
54
|
*/
|
|
@@ -47,6 +47,8 @@ function CalendarEntryDtoFromJSONTyped(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
|
'userId': json['userId'],
|
|
51
53
|
'timeSpan': json['timeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
|
|
52
54
|
'approvalStatus': json['approvalStatus'] == null ? undefined : (0, ApprovalStatusEnum_1.ApprovalStatusEnumFromJSON)(json['approvalStatus']),
|
|
@@ -73,6 +75,8 @@ function CalendarEntryDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
75
|
'summary': value['summary'],
|
|
74
76
|
'description': value['description'],
|
|
75
77
|
'location': value['location'],
|
|
78
|
+
'locationLat': value['locationLat'],
|
|
79
|
+
'locationLong': value['locationLong'],
|
|
76
80
|
'userId': value['userId'],
|
|
77
81
|
'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
|
|
78
82
|
'approvalStatus': (0, ApprovalStatusEnum_1.ApprovalStatusEnumToJSON)(value['approvalStatus']),
|
|
@@ -22,6 +22,10 @@ export interface CalendarEntryTypeDto {
|
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
24
|
version?: number;
|
|
25
|
+
/**
|
|
26
|
+
* maintained by the application; users can neither create, change nor delete such a type
|
|
27
|
+
*/
|
|
28
|
+
readonly managed?: boolean;
|
|
25
29
|
/**
|
|
26
30
|
*
|
|
27
31
|
*/
|
|
@@ -62,6 +66,10 @@ export interface CalendarEntryTypeDto {
|
|
|
62
66
|
* key of a customer attribute a customer needs to book a slot of this type
|
|
63
67
|
*/
|
|
64
68
|
requiredCustomerAttributeId?: string;
|
|
69
|
+
/**
|
|
70
|
+
* entries of this type are created by the application only; users can neither create entries of this type nor assign it to an entry, and on existing entries they can only change the time span, summary, description, location and attendees, or delete them
|
|
71
|
+
*/
|
|
72
|
+
noCreate?: boolean;
|
|
65
73
|
}
|
|
66
74
|
/**
|
|
67
75
|
* Check if a given object implements the CalendarEntryTypeDto interface.
|
|
@@ -70,4 +78,4 @@ export declare function instanceOfCalendarEntryTypeDto(value: object): value is
|
|
|
70
78
|
export declare function CalendarEntryTypeDtoFromJSON(json: any): CalendarEntryTypeDto;
|
|
71
79
|
export declare function CalendarEntryTypeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarEntryTypeDto;
|
|
72
80
|
export declare function CalendarEntryTypeDtoToJSON(json: any): CalendarEntryTypeDto;
|
|
73
|
-
export declare function CalendarEntryTypeDtoToJSONTyped(value?: CalendarEntryTypeDto | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
export declare function CalendarEntryTypeDtoToJSONTyped(value?: Omit<CalendarEntryTypeDto, 'managed'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -43,6 +43,7 @@ function CalendarEntryTypeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
return {
|
|
44
44
|
'id': json['id'] == null ? undefined : json['id'],
|
|
45
45
|
'version': json['version'] == null ? undefined : json['version'],
|
|
46
|
+
'managed': json['managed'] == null ? undefined : json['managed'],
|
|
46
47
|
'acronym': json['acronym'],
|
|
47
48
|
'name': json['name'],
|
|
48
49
|
'description': json['description'] == null ? undefined : json['description'],
|
|
@@ -53,6 +54,7 @@ function CalendarEntryTypeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
54
|
'bookable': json['bookable'] == null ? undefined : json['bookable'],
|
|
54
55
|
'requiresAppointmentLocation': json['requiresAppointmentLocation'] == null ? undefined : json['requiresAppointmentLocation'],
|
|
55
56
|
'requiredCustomerAttributeId': json['requiredCustomerAttributeId'] == null ? undefined : json['requiredCustomerAttributeId'],
|
|
57
|
+
'noCreate': json['noCreate'] == null ? undefined : json['noCreate'],
|
|
56
58
|
};
|
|
57
59
|
}
|
|
58
60
|
function CalendarEntryTypeDtoToJSON(json) {
|
|
@@ -76,5 +78,6 @@ function CalendarEntryTypeDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
76
78
|
'bookable': value['bookable'],
|
|
77
79
|
'requiresAppointmentLocation': value['requiresAppointmentLocation'],
|
|
78
80
|
'requiredCustomerAttributeId': value['requiredCustomerAttributeId'],
|
|
81
|
+
'noCreate': value['noCreate'],
|
|
79
82
|
};
|
|
80
83
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 of a customer with a label that tells the addresses apart
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CustomerAddressDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomerAddressDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
label: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
address: AddressDto;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the CustomerAddressDto interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfCustomerAddressDto(value: object): value is CustomerAddressDto;
|
|
31
|
+
export declare function CustomerAddressDtoFromJSON(json: any): CustomerAddressDto;
|
|
32
|
+
export declare function CustomerAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerAddressDto;
|
|
33
|
+
export declare function CustomerAddressDtoToJSON(json: any): CustomerAddressDto;
|
|
34
|
+
export declare function CustomerAddressDtoToJSONTyped(value?: CustomerAddressDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfCustomerAddressDto = instanceOfCustomerAddressDto;
|
|
16
|
+
exports.CustomerAddressDtoFromJSON = CustomerAddressDtoFromJSON;
|
|
17
|
+
exports.CustomerAddressDtoFromJSONTyped = CustomerAddressDtoFromJSONTyped;
|
|
18
|
+
exports.CustomerAddressDtoToJSON = CustomerAddressDtoToJSON;
|
|
19
|
+
exports.CustomerAddressDtoToJSONTyped = CustomerAddressDtoToJSONTyped;
|
|
20
|
+
var AddressDto_1 = require("./AddressDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CustomerAddressDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCustomerAddressDto(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 CustomerAddressDtoFromJSON(json) {
|
|
32
|
+
return CustomerAddressDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CustomerAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'label': json['label'],
|
|
40
|
+
'address': (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CustomerAddressDtoToJSON(json) {
|
|
44
|
+
return CustomerAddressDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CustomerAddressDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'label': value['label'],
|
|
53
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import type { AddressDto } from './AddressDto';
|
|
12
|
+
import type { CustomerAddressDto } from './CustomerAddressDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -71,6 +72,10 @@ export interface CustomerDto {
|
|
|
71
72
|
*
|
|
72
73
|
*/
|
|
73
74
|
shippingAddress?: AddressDto;
|
|
75
|
+
/**
|
|
76
|
+
* further addresses of the customer, e.g. the places of appointments
|
|
77
|
+
*/
|
|
78
|
+
addresses?: Array<CustomerAddressDto>;
|
|
74
79
|
/**
|
|
75
80
|
*
|
|
76
81
|
*/
|
|
@@ -20,6 +20,7 @@ exports.CustomerDtoToJSON = CustomerDtoToJSON;
|
|
|
20
20
|
exports.CustomerDtoToJSONTyped = CustomerDtoToJSONTyped;
|
|
21
21
|
var runtime_1 = require("../runtime");
|
|
22
22
|
var AddressDto_1 = require("./AddressDto");
|
|
23
|
+
var CustomerAddressDto_1 = require("./CustomerAddressDto");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
@@ -59,6 +60,7 @@ function CustomerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'invoiceEmail': json['invoiceEmail'] == null ? undefined : json['invoiceEmail'],
|
|
60
61
|
'invoiceAddress': json['invoiceAddress'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['invoiceAddress']),
|
|
61
62
|
'shippingAddress': json['shippingAddress'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['shippingAddress']),
|
|
63
|
+
'addresses': json['addresses'] == null ? undefined : (json['addresses'].map(CustomerAddressDto_1.CustomerAddressDtoFromJSON)),
|
|
62
64
|
'legalEntity': json['legalEntity'],
|
|
63
65
|
'deleted': json['deleted'] == null ? undefined : json['deleted'],
|
|
64
66
|
'modificationTime': json['modificationTime'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['modificationTime'])),
|
|
@@ -87,6 +89,7 @@ function CustomerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
87
89
|
'invoiceEmail': value['invoiceEmail'],
|
|
88
90
|
'invoiceAddress': (0, AddressDto_1.AddressDtoToJSON)(value['invoiceAddress']),
|
|
89
91
|
'shippingAddress': (0, AddressDto_1.AddressDtoToJSON)(value['shippingAddress']),
|
|
92
|
+
'addresses': value['addresses'] == null ? undefined : (value['addresses'].map(CustomerAddressDto_1.CustomerAddressDtoToJSON)),
|
|
90
93
|
'legalEntity': value['legalEntity'],
|
|
91
94
|
'attributeTypeId': value['attributeTypeId'],
|
|
92
95
|
'typeAttributes': value['typeAttributes'],
|
|
@@ -30,6 +30,10 @@ export interface DecisionTableDto {
|
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
version?: number;
|
|
33
|
+
/**
|
|
34
|
+
* maintained by the application; users can neither create nor delete such a decision table and change only its default flag
|
|
35
|
+
*/
|
|
36
|
+
readonly managed?: boolean;
|
|
33
37
|
/**
|
|
34
38
|
*
|
|
35
39
|
*/
|
|
@@ -74,4 +78,4 @@ export declare function instanceOfDecisionTableDto(value: object): value is Deci
|
|
|
74
78
|
export declare function DecisionTableDtoFromJSON(json: any): DecisionTableDto;
|
|
75
79
|
export declare function DecisionTableDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionTableDto;
|
|
76
80
|
export declare function DecisionTableDtoToJSON(json: any): DecisionTableDto;
|
|
77
|
-
export declare function DecisionTableDtoToJSONTyped(value?: DecisionTableDto | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
export declare function DecisionTableDtoToJSONTyped(value?: Omit<DecisionTableDto, 'managed'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -51,6 +51,7 @@ function DecisionTableDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
return {
|
|
52
52
|
'id': json['id'] == null ? undefined : json['id'],
|
|
53
53
|
'version': json['version'] == null ? undefined : json['version'],
|
|
54
|
+
'managed': json['managed'] == null ? undefined : json['managed'],
|
|
54
55
|
'name': json['name'],
|
|
55
56
|
'description': json['description'] == null ? undefined : json['description'],
|
|
56
57
|
'type': (0, DecisionTableType_1.DecisionTableTypeFromJSON)(json['type']),
|
|
@@ -24,6 +24,10 @@ export interface DesignTemplateDto {
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
version?: number;
|
|
27
|
+
/**
|
|
28
|
+
* maintained by the application; users can neither create nor delete such a template and change only its default flag
|
|
29
|
+
*/
|
|
30
|
+
readonly managed?: boolean;
|
|
27
31
|
/**
|
|
28
32
|
*
|
|
29
33
|
*/
|
|
@@ -60,4 +64,4 @@ export declare function instanceOfDesignTemplateDto(value: object): value is Des
|
|
|
60
64
|
export declare function DesignTemplateDtoFromJSON(json: any): DesignTemplateDto;
|
|
61
65
|
export declare function DesignTemplateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DesignTemplateDto;
|
|
62
66
|
export declare function DesignTemplateDtoToJSON(json: any): DesignTemplateDto;
|
|
63
|
-
export declare function DesignTemplateDtoToJSONTyped(value?: DesignTemplateDto | null, ignoreDiscriminator?: boolean): any;
|
|
67
|
+
export declare function DesignTemplateDtoToJSONTyped(value?: Omit<DesignTemplateDto, 'managed'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -41,6 +41,7 @@ function DesignTemplateDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return {
|
|
42
42
|
'id': json['id'] == null ? undefined : json['id'],
|
|
43
43
|
'version': json['version'] == null ? undefined : json['version'],
|
|
44
|
+
'managed': json['managed'] == null ? undefined : json['managed'],
|
|
44
45
|
'name': json['name'],
|
|
45
46
|
'type': (0, DesignTemplateType_1.DesignTemplateTypeFromJSON)(json['type']),
|
|
46
47
|
'contextVersion': json['contextVersion'] == null ? undefined : (0, DesignTemplateContextVersion_1.DesignTemplateContextVersionFromJSON)(json['contextVersion']),
|
package/dist/models/EmailDto.js
CHANGED
|
@@ -55,6 +55,7 @@ function EmailDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'body': json['body'] == null ? undefined : json['body'],
|
|
56
56
|
'folder': json['folder'] == null ? undefined : json['folder'],
|
|
57
57
|
'designTemplateId': json['designTemplateId'] == null ? undefined : json['designTemplateId'],
|
|
58
|
+
'legalEntityId': json['legalEntityId'] == null ? undefined : json['legalEntityId'],
|
|
58
59
|
'contextMap': json['contextMap'] == null ? undefined : json['contextMap'],
|
|
59
60
|
'attachmentIds': json['attachmentIds'] == null ? undefined : json['attachmentIds'],
|
|
60
61
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
@@ -83,6 +84,7 @@ function EmailDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
83
84
|
'body': value['body'],
|
|
84
85
|
'folder': value['folder'],
|
|
85
86
|
'designTemplateId': value['designTemplateId'],
|
|
87
|
+
'legalEntityId': value['legalEntityId'],
|
|
86
88
|
'contextMap': value['contextMap'],
|
|
87
89
|
'attachmentIds': value['attachmentIds'],
|
|
88
90
|
};
|
|
@@ -87,6 +87,7 @@ export declare const EntityType: {
|
|
|
87
87
|
readonly AccessToken: "AccessToken";
|
|
88
88
|
readonly AttributeType: "AttributeType";
|
|
89
89
|
readonly Appointment: "Appointment";
|
|
90
|
+
readonly AppointmentUser: "AppointmentUser";
|
|
90
91
|
};
|
|
91
92
|
export type EntityType = typeof EntityType[keyof typeof EntityType];
|
|
92
93
|
export declare function instanceOfEntityType(value: any): boolean;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { AppointmentUserDto } from './AppointmentUserDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllAppointmentUsers200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllAppointmentUsers200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
pageNumber?: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
pageSize?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
totalElements: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
content: Array<AppointmentUserDto>;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the GetAllAppointmentUsers200Response interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfGetAllAppointmentUsers200Response(value: object): value is GetAllAppointmentUsers200Response;
|
|
39
|
+
export declare function GetAllAppointmentUsers200ResponseFromJSON(json: any): GetAllAppointmentUsers200Response;
|
|
40
|
+
export declare function GetAllAppointmentUsers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllAppointmentUsers200Response;
|
|
41
|
+
export declare function GetAllAppointmentUsers200ResponseToJSON(json: any): GetAllAppointmentUsers200Response;
|
|
42
|
+
export declare function GetAllAppointmentUsers200ResponseToJSONTyped(value?: GetAllAppointmentUsers200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfGetAllAppointmentUsers200Response = instanceOfGetAllAppointmentUsers200Response;
|
|
16
|
+
exports.GetAllAppointmentUsers200ResponseFromJSON = GetAllAppointmentUsers200ResponseFromJSON;
|
|
17
|
+
exports.GetAllAppointmentUsers200ResponseFromJSONTyped = GetAllAppointmentUsers200ResponseFromJSONTyped;
|
|
18
|
+
exports.GetAllAppointmentUsers200ResponseToJSON = GetAllAppointmentUsers200ResponseToJSON;
|
|
19
|
+
exports.GetAllAppointmentUsers200ResponseToJSONTyped = GetAllAppointmentUsers200ResponseToJSONTyped;
|
|
20
|
+
var AppointmentUserDto_1 = require("./AppointmentUserDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetAllAppointmentUsers200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetAllAppointmentUsers200Response(value) {
|
|
25
|
+
if (!('totalElements' in value) || value['totalElements'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetAllAppointmentUsers200ResponseFromJSON(json) {
|
|
32
|
+
return GetAllAppointmentUsers200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetAllAppointmentUsers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
40
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
41
|
+
'totalElements': json['totalElements'],
|
|
42
|
+
'content': (json['content'].map(AppointmentUserDto_1.AppointmentUserDtoFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetAllAppointmentUsers200ResponseToJSON(json) {
|
|
46
|
+
return GetAllAppointmentUsers200ResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetAllAppointmentUsers200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'pageNumber': value['pageNumber'],
|
|
55
|
+
'pageSize': value['pageSize'],
|
|
56
|
+
'totalElements': value['totalElements'],
|
|
57
|
+
'content': (value['content'].map(AppointmentUserDto_1.AppointmentUserDtoToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -56,6 +56,10 @@ export declare const Permissions: {
|
|
|
56
56
|
readonly AppointmentCreate: "APPOINTMENT_CREATE";
|
|
57
57
|
readonly AppointmentEdit: "APPOINTMENT_EDIT";
|
|
58
58
|
readonly AppointmentDelete: "APPOINTMENT_DELETE";
|
|
59
|
+
readonly AppointmentUserRead: "APPOINTMENT_USER_READ";
|
|
60
|
+
readonly AppointmentUserCreate: "APPOINTMENT_USER_CREATE";
|
|
61
|
+
readonly AppointmentUserEdit: "APPOINTMENT_USER_EDIT";
|
|
62
|
+
readonly AppointmentUserDelete: "APPOINTMENT_USER_DELETE";
|
|
59
63
|
};
|
|
60
64
|
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
61
65
|
export declare function instanceOfPermissions(value: any): boolean;
|
|
@@ -66,6 +66,10 @@ exports.Permissions = {
|
|
|
66
66
|
AppointmentCreate: 'APPOINTMENT_CREATE',
|
|
67
67
|
AppointmentEdit: 'APPOINTMENT_EDIT',
|
|
68
68
|
AppointmentDelete: 'APPOINTMENT_DELETE',
|
|
69
|
+
AppointmentUserRead: 'APPOINTMENT_USER_READ',
|
|
70
|
+
AppointmentUserCreate: 'APPOINTMENT_USER_CREATE',
|
|
71
|
+
AppointmentUserEdit: 'APPOINTMENT_USER_EDIT',
|
|
72
|
+
AppointmentUserDelete: 'APPOINTMENT_USER_DELETE',
|
|
69
73
|
};
|
|
70
74
|
function instanceOfPermissions(value) {
|
|
71
75
|
for (var key in exports.Permissions) {
|
|
@@ -78,6 +78,14 @@ export interface RoutingConfigDto {
|
|
|
78
78
|
* Distance in metres up to which two appointments count as at the same place.
|
|
79
79
|
*/
|
|
80
80
|
sameDistance: number;
|
|
81
|
+
/**
|
|
82
|
+
* Name of the calendar entry type of the calendar entries created for planned appointments.
|
|
83
|
+
*/
|
|
84
|
+
calendarTypeName?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Number of different days (shifts) a user must cover.
|
|
87
|
+
*/
|
|
88
|
+
minRequiredDays?: number;
|
|
81
89
|
}
|
|
82
90
|
/**
|
|
83
91
|
* Check if a given object implements the RoutingConfigDto interface.
|
|
@@ -77,6 +77,8 @@ function RoutingConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
77
|
'showPricesOnSelectableProduct': json['showPricesOnSelectableProduct'],
|
|
78
78
|
'nearDistance': json['nearDistance'],
|
|
79
79
|
'sameDistance': json['sameDistance'],
|
|
80
|
+
'calendarTypeName': json['calendarTypeName'] == null ? undefined : json['calendarTypeName'],
|
|
81
|
+
'minRequiredDays': json['minRequiredDays'] == null ? undefined : json['minRequiredDays'],
|
|
80
82
|
};
|
|
81
83
|
}
|
|
82
84
|
function RoutingConfigDtoToJSON(json) {
|
|
@@ -104,5 +106,7 @@ function RoutingConfigDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
104
106
|
'showPricesOnSelectableProduct': value['showPricesOnSelectableProduct'],
|
|
105
107
|
'nearDistance': value['nearDistance'],
|
|
106
108
|
'sameDistance': value['sameDistance'],
|
|
109
|
+
'calendarTypeName': value['calendarTypeName'],
|
|
110
|
+
'minRequiredDays': value['minRequiredDays'],
|
|
107
111
|
};
|
|
108
112
|
}
|