@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,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,10 @@ 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";
|
|
93
|
+
readonly ServiceDeskMessage: "ServiceDeskMessage";
|
|
94
|
+
readonly UserAddress: "UserAddress";
|
|
91
95
|
};
|
|
92
96
|
export type EntityType = typeof EntityType[keyof typeof EntityType];
|
|
93
97
|
export declare function instanceOfEntityType(value: any): boolean;
|
|
@@ -98,6 +98,10 @@ exports.EntityType = {
|
|
|
98
98
|
AttributeType: 'AttributeType',
|
|
99
99
|
Appointment: 'Appointment',
|
|
100
100
|
LegalEntityUser: 'LegalEntityUser',
|
|
101
|
+
Bookmark: 'Bookmark',
|
|
102
|
+
Job: 'Job',
|
|
103
|
+
ServiceDeskMessage: 'ServiceDeskMessage',
|
|
104
|
+
UserAddress: 'UserAddress',
|
|
101
105
|
};
|
|
102
106
|
function instanceOfEntityType(value) {
|
|
103
107
|
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;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfFormsPortalFileUploadDto = instanceOfFormsPortalFileUploadDto;
|
|
16
|
+
exports.FormsPortalFileUploadDtoFromJSON = FormsPortalFileUploadDtoFromJSON;
|
|
17
|
+
exports.FormsPortalFileUploadDtoFromJSONTyped = FormsPortalFileUploadDtoFromJSONTyped;
|
|
18
|
+
exports.FormsPortalFileUploadDtoToJSON = FormsPortalFileUploadDtoToJSON;
|
|
19
|
+
exports.FormsPortalFileUploadDtoToJSONTyped = FormsPortalFileUploadDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the FormsPortalFileUploadDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfFormsPortalFileUploadDto(value) {
|
|
24
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function FormsPortalFileUploadDtoFromJSON(json) {
|
|
29
|
+
return FormsPortalFileUploadDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function FormsPortalFileUploadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'enabled': json['enabled'],
|
|
37
|
+
'maxFiles': json['maxFiles'] == null ? undefined : json['maxFiles'],
|
|
38
|
+
'maxFileSize': json['maxFileSize'] == null ? undefined : json['maxFileSize'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function FormsPortalFileUploadDtoToJSON(json) {
|
|
42
|
+
return FormsPortalFileUploadDtoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FormsPortalFileUploadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'enabled': value['enabled'],
|
|
51
|
+
'maxFiles': value['maxFiles'],
|
|
52
|
+
'maxFileSize': value['maxFileSize'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import type { FormsPortalFileUploadDto } from './FormsPortalFileUploadDto';
|
|
11
12
|
import type { FormsPortalReceiverInfo } from './FormsPortalReceiverInfo';
|
|
12
13
|
/**
|
|
13
14
|
* jsonforms.io based editor configuration
|
|
@@ -31,6 +32,10 @@ export interface FormsPortalSpecDto {
|
|
|
31
32
|
* JSON forms data spec
|
|
32
33
|
*/
|
|
33
34
|
dataSchema?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
fileUpload: FormsPortalFileUploadDto;
|
|
34
39
|
}
|
|
35
40
|
/**
|
|
36
41
|
* Check if a given object implements the FormsPortalSpecDto interface.
|
|
@@ -17,6 +17,7 @@ exports.FormsPortalSpecDtoFromJSON = FormsPortalSpecDtoFromJSON;
|
|
|
17
17
|
exports.FormsPortalSpecDtoFromJSONTyped = FormsPortalSpecDtoFromJSONTyped;
|
|
18
18
|
exports.FormsPortalSpecDtoToJSON = FormsPortalSpecDtoToJSON;
|
|
19
19
|
exports.FormsPortalSpecDtoToJSONTyped = FormsPortalSpecDtoToJSONTyped;
|
|
20
|
+
var FormsPortalFileUploadDto_1 = require("./FormsPortalFileUploadDto");
|
|
20
21
|
var FormsPortalReceiverInfo_1 = require("./FormsPortalReceiverInfo");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the FormsPortalSpecDto interface.
|
|
@@ -24,6 +25,8 @@ var FormsPortalReceiverInfo_1 = require("./FormsPortalReceiverInfo");
|
|
|
24
25
|
function instanceOfFormsPortalSpecDto(value) {
|
|
25
26
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
27
|
return false;
|
|
28
|
+
if (!('fileUpload' in value) || value['fileUpload'] === undefined)
|
|
29
|
+
return false;
|
|
27
30
|
return true;
|
|
28
31
|
}
|
|
29
32
|
function FormsPortalSpecDtoFromJSON(json) {
|
|
@@ -38,6 +41,7 @@ function FormsPortalSpecDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
41
|
'name': json['name'],
|
|
39
42
|
'uiSchema': json['uiSchema'] == null ? undefined : json['uiSchema'],
|
|
40
43
|
'dataSchema': json['dataSchema'] == null ? undefined : json['dataSchema'],
|
|
44
|
+
'fileUpload': (0, FormsPortalFileUploadDto_1.FormsPortalFileUploadDtoFromJSON)(json['fileUpload']),
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
47
|
function FormsPortalSpecDtoToJSON(json) {
|
|
@@ -53,5 +57,6 @@ function FormsPortalSpecDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
57
|
'name': value['name'],
|
|
54
58
|
'uiSchema': value['uiSchema'],
|
|
55
59
|
'dataSchema': value['dataSchema'],
|
|
60
|
+
'fileUpload': (0, FormsPortalFileUploadDto_1.FormsPortalFileUploadDtoToJSON)(value['fileUpload']),
|
|
56
61
|
};
|
|
57
62
|
}
|
|
@@ -18,6 +18,10 @@ export interface FormsPortalSubmitDto {
|
|
|
18
18
|
* json data for form
|
|
19
19
|
*/
|
|
20
20
|
content: string;
|
|
21
|
+
/**
|
|
22
|
+
* files uploaded through the uploads endpoints of the form, attached to the created card
|
|
23
|
+
*/
|
|
24
|
+
fileIds?: Array<string>;
|
|
21
25
|
}
|
|
22
26
|
/**
|
|
23
27
|
* Check if a given object implements the FormsPortalSubmitDto interface.
|
|
@@ -34,6 +34,7 @@ function FormsPortalSubmitDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
36
|
'content': json['content'],
|
|
37
|
+
'fileIds': json['fileIds'] == null ? undefined : json['fileIds'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
function FormsPortalSubmitDtoToJSON(json) {
|
|
@@ -46,5 +47,6 @@ function FormsPortalSubmitDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
46
47
|
}
|
|
47
48
|
return {
|
|
48
49
|
'content': value['content'],
|
|
50
|
+
'fileIds': value['fileIds'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
@@ -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 { CountryCode } from './CountryCode';
|
|
12
|
+
/**
|
|
13
|
+
* location of an address or place on the street map; empty when it could not be located
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GeoLocationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface GeoLocationDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
lat?: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
_long?: number;
|
|
26
|
+
/**
|
|
27
|
+
* the address or place as it was found
|
|
28
|
+
*/
|
|
29
|
+
label?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
countryCode?: CountryCode;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the GeoLocationDto interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfGeoLocationDto(value: object): value is GeoLocationDto;
|
|
39
|
+
export declare function GeoLocationDtoFromJSON(json: any): GeoLocationDto;
|
|
40
|
+
export declare function GeoLocationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoLocationDto;
|
|
41
|
+
export declare function GeoLocationDtoToJSON(json: any): GeoLocationDto;
|
|
42
|
+
export declare function GeoLocationDtoToJSONTyped(value?: GeoLocationDto | 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.instanceOfGeoLocationDto = instanceOfGeoLocationDto;
|
|
16
|
+
exports.GeoLocationDtoFromJSON = GeoLocationDtoFromJSON;
|
|
17
|
+
exports.GeoLocationDtoFromJSONTyped = GeoLocationDtoFromJSONTyped;
|
|
18
|
+
exports.GeoLocationDtoToJSON = GeoLocationDtoToJSON;
|
|
19
|
+
exports.GeoLocationDtoToJSONTyped = GeoLocationDtoToJSONTyped;
|
|
20
|
+
var CountryCode_1 = require("./CountryCode");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GeoLocationDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGeoLocationDto(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GeoLocationDtoFromJSON(json) {
|
|
28
|
+
return GeoLocationDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GeoLocationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'lat': json['lat'] == null ? undefined : json['lat'],
|
|
36
|
+
'_long': json['long'] == null ? undefined : json['long'],
|
|
37
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
38
|
+
'countryCode': json['countryCode'] == null ? undefined : (0, CountryCode_1.CountryCodeFromJSON)(json['countryCode']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GeoLocationDtoToJSON(json) {
|
|
42
|
+
return GeoLocationDtoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GeoLocationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'lat': value['lat'],
|
|
51
|
+
'long': value['_long'],
|
|
52
|
+
'label': value['label'],
|
|
53
|
+
'countryCode': (0, CountryCode_1.CountryCodeToJSON)(value['countryCode']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 { MessageDto } from './MessageDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllServiceDeskMessages200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllServiceDeskMessages200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
pageNumber?: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
pageSize?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
totalElements: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
content: Array<MessageDto>;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the GetAllServiceDeskMessages200Response interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfGetAllServiceDeskMessages200Response(value: object): value is GetAllServiceDeskMessages200Response;
|
|
39
|
+
export declare function GetAllServiceDeskMessages200ResponseFromJSON(json: any): GetAllServiceDeskMessages200Response;
|
|
40
|
+
export declare function GetAllServiceDeskMessages200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllServiceDeskMessages200Response;
|
|
41
|
+
export declare function GetAllServiceDeskMessages200ResponseToJSON(json: any): GetAllServiceDeskMessages200Response;
|
|
42
|
+
export declare function GetAllServiceDeskMessages200ResponseToJSONTyped(value?: GetAllServiceDeskMessages200Response | 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.instanceOfGetAllServiceDeskMessages200Response = instanceOfGetAllServiceDeskMessages200Response;
|
|
16
|
+
exports.GetAllServiceDeskMessages200ResponseFromJSON = GetAllServiceDeskMessages200ResponseFromJSON;
|
|
17
|
+
exports.GetAllServiceDeskMessages200ResponseFromJSONTyped = GetAllServiceDeskMessages200ResponseFromJSONTyped;
|
|
18
|
+
exports.GetAllServiceDeskMessages200ResponseToJSON = GetAllServiceDeskMessages200ResponseToJSON;
|
|
19
|
+
exports.GetAllServiceDeskMessages200ResponseToJSONTyped = GetAllServiceDeskMessages200ResponseToJSONTyped;
|
|
20
|
+
var MessageDto_1 = require("./MessageDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetAllServiceDeskMessages200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetAllServiceDeskMessages200Response(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 GetAllServiceDeskMessages200ResponseFromJSON(json) {
|
|
32
|
+
return GetAllServiceDeskMessages200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetAllServiceDeskMessages200ResponseFromJSONTyped(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(MessageDto_1.MessageDtoFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetAllServiceDeskMessages200ResponseToJSON(json) {
|
|
46
|
+
return GetAllServiceDeskMessages200ResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetAllServiceDeskMessages200ResponseToJSONTyped(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(MessageDto_1.MessageDtoToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 { UserAddressDto } from './UserAddressDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetMyAddresses200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetMyAddresses200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
pageNumber?: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
pageSize?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
totalElements: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
content: Array<UserAddressDto>;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the GetMyAddresses200Response interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfGetMyAddresses200Response(value: object): value is GetMyAddresses200Response;
|
|
39
|
+
export declare function GetMyAddresses200ResponseFromJSON(json: any): GetMyAddresses200Response;
|
|
40
|
+
export declare function GetMyAddresses200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMyAddresses200Response;
|
|
41
|
+
export declare function GetMyAddresses200ResponseToJSON(json: any): GetMyAddresses200Response;
|
|
42
|
+
export declare function GetMyAddresses200ResponseToJSONTyped(value?: GetMyAddresses200Response | null, ignoreDiscriminator?: boolean): any;
|