@kommerz/ts-client 1.197.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/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/UsersMeAddressesApi.d.ts +123 -0
- package/dist/apis/UsersMeAddressesApi.js +389 -0
- package/dist/apis/index.d.ts +3 -1
- package/dist/apis/index.js +3 -1
- package/dist/models/AppointmentBookingConfigDto.d.ts +5 -1
- package/dist/models/AppointmentBookingConfigDto.js +2 -0
- package/dist/models/AppointmentDto.d.ts +9 -0
- package/dist/models/AppointmentDto.js +5 -0
- package/dist/models/AppointmentProductDto.d.ts +8 -0
- package/dist/models/AppointmentProductDto.js +4 -0
- package/dist/models/AppointmentSlotDistance.d.ts +1 -1
- package/dist/models/AppointmentSlotDistance.js +1 -1
- package/dist/models/AppointmentSlotDto.d.ts +4 -0
- package/dist/models/AppointmentSlotDto.js +4 -0
- package/dist/models/AppointmentSubmissionDto.d.ts +9 -0
- package/dist/models/AppointmentSubmissionDto.js +5 -0
- package/dist/models/ContactAddressDto.d.ts +38 -0
- package/dist/models/ContactAddressDto.js +53 -0
- package/dist/models/EntityType.d.ts +2 -0
- package/dist/models/EntityType.js +2 -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/MessageDto.d.ts +7 -3
- package/dist/models/MessageDto.js +5 -2
- package/dist/models/Permissions.d.ts +2 -0
- package/dist/models/Permissions.js +2 -0
- package/dist/models/RoutingConfigDto.d.ts +8 -0
- package/dist/models/RoutingConfigDto.js +4 -0
- package/dist/models/UserAddressDto.d.ts +50 -0
- package/dist/models/UserAddressDto.js +62 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
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 together with the e-mail address and phone number of the person or company it names
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ContactAddressDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ContactAddressDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
address?: AddressDto;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
email?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
phoneNumber?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ContactAddressDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfContactAddressDto(value: object): value is ContactAddressDto;
|
|
35
|
+
export declare function ContactAddressDtoFromJSON(json: any): ContactAddressDto;
|
|
36
|
+
export declare function ContactAddressDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactAddressDto;
|
|
37
|
+
export declare function ContactAddressDtoToJSON(json: any): ContactAddressDto;
|
|
38
|
+
export declare function ContactAddressDtoToJSONTyped(value?: ContactAddressDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.instanceOfContactAddressDto = instanceOfContactAddressDto;
|
|
16
|
+
exports.ContactAddressDtoFromJSON = ContactAddressDtoFromJSON;
|
|
17
|
+
exports.ContactAddressDtoFromJSONTyped = ContactAddressDtoFromJSONTyped;
|
|
18
|
+
exports.ContactAddressDtoToJSON = ContactAddressDtoToJSON;
|
|
19
|
+
exports.ContactAddressDtoToJSONTyped = ContactAddressDtoToJSONTyped;
|
|
20
|
+
var AddressDto_1 = require("./AddressDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ContactAddressDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfContactAddressDto(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ContactAddressDtoFromJSON(json) {
|
|
28
|
+
return ContactAddressDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ContactAddressDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
36
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
37
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ContactAddressDtoToJSON(json) {
|
|
41
|
+
return ContactAddressDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ContactAddressDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
50
|
+
'email': value['email'],
|
|
51
|
+
'phoneNumber': value['phoneNumber'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -90,6 +90,8 @@ export declare const EntityType: {
|
|
|
90
90
|
readonly LegalEntityUser: "LegalEntityUser";
|
|
91
91
|
readonly Bookmark: "Bookmark";
|
|
92
92
|
readonly Job: "Job";
|
|
93
|
+
readonly ServiceDeskMessage: "ServiceDeskMessage";
|
|
94
|
+
readonly UserAddress: "UserAddress";
|
|
93
95
|
};
|
|
94
96
|
export type EntityType = typeof EntityType[keyof typeof EntityType];
|
|
95
97
|
export declare function instanceOfEntityType(value: any): boolean;
|
|
@@ -100,6 +100,8 @@ exports.EntityType = {
|
|
|
100
100
|
LegalEntityUser: 'LegalEntityUser',
|
|
101
101
|
Bookmark: 'Bookmark',
|
|
102
102
|
Job: 'Job',
|
|
103
|
+
ServiceDeskMessage: 'ServiceDeskMessage',
|
|
104
|
+
UserAddress: 'UserAddress',
|
|
103
105
|
};
|
|
104
106
|
function instanceOfEntityType(value) {
|
|
105
107
|
for (var key in exports.EntityType) {
|
|
@@ -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;
|
|
@@ -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.instanceOfGetMyAddresses200Response = instanceOfGetMyAddresses200Response;
|
|
16
|
+
exports.GetMyAddresses200ResponseFromJSON = GetMyAddresses200ResponseFromJSON;
|
|
17
|
+
exports.GetMyAddresses200ResponseFromJSONTyped = GetMyAddresses200ResponseFromJSONTyped;
|
|
18
|
+
exports.GetMyAddresses200ResponseToJSON = GetMyAddresses200ResponseToJSON;
|
|
19
|
+
exports.GetMyAddresses200ResponseToJSONTyped = GetMyAddresses200ResponseToJSONTyped;
|
|
20
|
+
var UserAddressDto_1 = require("./UserAddressDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetMyAddresses200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetMyAddresses200Response(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 GetMyAddresses200ResponseFromJSON(json) {
|
|
32
|
+
return GetMyAddresses200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetMyAddresses200ResponseFromJSONTyped(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(UserAddressDto_1.UserAddressDtoFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetMyAddresses200ResponseToJSON(json) {
|
|
46
|
+
return GetMyAddresses200ResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetMyAddresses200ResponseToJSONTyped(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(UserAddressDto_1.UserAddressDtoToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -17,11 +17,15 @@ export interface MessageDto {
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
|
-
id?: string;
|
|
20
|
+
readonly id?: string;
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
readonly creationTime?: Date;
|
|
25
|
+
/**
|
|
26
|
+
* the message as JSON, at most 10000 characters
|
|
27
|
+
*/
|
|
28
|
+
message: any;
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
27
31
|
* Check if a given object implements the MessageDto interface.
|
|
@@ -30,4 +34,4 @@ export declare function instanceOfMessageDto(value: object): value is MessageDto
|
|
|
30
34
|
export declare function MessageDtoFromJSON(json: any): MessageDto;
|
|
31
35
|
export declare function MessageDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MessageDto;
|
|
32
36
|
export declare function MessageDtoToJSON(json: any): MessageDto;
|
|
33
|
-
export declare function MessageDtoToJSONTyped(value?: MessageDto | null, ignoreDiscriminator?: boolean): any;
|
|
37
|
+
export declare function MessageDtoToJSONTyped(value?: Omit<MessageDto, 'id' | 'creationTime'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,10 +17,13 @@ exports.MessageDtoFromJSON = MessageDtoFromJSON;
|
|
|
17
17
|
exports.MessageDtoFromJSONTyped = MessageDtoFromJSONTyped;
|
|
18
18
|
exports.MessageDtoToJSON = MessageDtoToJSON;
|
|
19
19
|
exports.MessageDtoToJSONTyped = MessageDtoToJSONTyped;
|
|
20
|
+
var runtime_1 = require("../runtime");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the MessageDto interface.
|
|
22
23
|
*/
|
|
23
24
|
function instanceOfMessageDto(value) {
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
24
27
|
return true;
|
|
25
28
|
}
|
|
26
29
|
function MessageDtoFromJSON(json) {
|
|
@@ -32,7 +35,8 @@ function MessageDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
35
|
}
|
|
33
36
|
return {
|
|
34
37
|
'id': json['id'] == null ? undefined : json['id'],
|
|
35
|
-
'
|
|
38
|
+
'creationTime': json['creationTime'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['creationTime'])),
|
|
39
|
+
'message': json['message'],
|
|
36
40
|
};
|
|
37
41
|
}
|
|
38
42
|
function MessageDtoToJSON(json) {
|
|
@@ -44,7 +48,6 @@ function MessageDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
44
48
|
return value;
|
|
45
49
|
}
|
|
46
50
|
return {
|
|
47
|
-
'id': value['id'],
|
|
48
51
|
'message': value['message'],
|
|
49
52
|
};
|
|
50
53
|
}
|
|
@@ -61,6 +61,8 @@ export declare const Permissions: {
|
|
|
61
61
|
readonly LegalEntityUserCreate: "LEGAL_ENTITY_USER_CREATE";
|
|
62
62
|
readonly LegalEntityUserEdit: "LEGAL_ENTITY_USER_EDIT";
|
|
63
63
|
readonly LegalEntityUserDelete: "LEGAL_ENTITY_USER_DELETE";
|
|
64
|
+
readonly ServiceDeskMessageRead: "SERVICE_DESK_MESSAGE_READ";
|
|
65
|
+
readonly ServiceDeskMessageDelete: "SERVICE_DESK_MESSAGE_DELETE";
|
|
64
66
|
};
|
|
65
67
|
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
66
68
|
export declare function instanceOfPermissions(value: any): boolean;
|
|
@@ -71,6 +71,8 @@ exports.Permissions = {
|
|
|
71
71
|
LegalEntityUserCreate: 'LEGAL_ENTITY_USER_CREATE',
|
|
72
72
|
LegalEntityUserEdit: 'LEGAL_ENTITY_USER_EDIT',
|
|
73
73
|
LegalEntityUserDelete: 'LEGAL_ENTITY_USER_DELETE',
|
|
74
|
+
ServiceDeskMessageRead: 'SERVICE_DESK_MESSAGE_READ',
|
|
75
|
+
ServiceDeskMessageDelete: 'SERVICE_DESK_MESSAGE_DELETE',
|
|
74
76
|
};
|
|
75
77
|
function instanceOfPermissions(value) {
|
|
76
78
|
for (var key in exports.Permissions) {
|
|
@@ -119,6 +119,14 @@ export interface RoutingConfigDto {
|
|
|
119
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
120
|
*/
|
|
121
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.
|
|
124
|
+
*/
|
|
125
|
+
attributeTypeId?: string;
|
|
126
|
+
/**
|
|
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;
|
|
122
130
|
/**
|
|
123
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.
|
|
124
132
|
*/
|
|
@@ -94,6 +94,8 @@ function RoutingConfigDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
94
94
|
'tagId': json['tagId'] == null ? undefined : json['tagId'],
|
|
95
95
|
'durationAttributeId': json['durationAttributeId'] == null ? undefined : json['durationAttributeId'],
|
|
96
96
|
'orderAttributeId': json['orderAttributeId'] == null ? undefined : json['orderAttributeId'],
|
|
97
|
+
'attributeTypeId': json['attributeTypeId'] == null ? undefined : json['attributeTypeId'],
|
|
98
|
+
'partnerHideFormAttributeId': json['partnerHideFormAttributeId'] == null ? undefined : json['partnerHideFormAttributeId'],
|
|
97
99
|
'confirmationPeriodHours': json['confirmationPeriodHours'],
|
|
98
100
|
'nearDrivingTime': json['nearDrivingTime'],
|
|
99
101
|
'sameDistance': json['sameDistance'],
|
|
@@ -138,6 +140,8 @@ function RoutingConfigDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
138
140
|
'tagId': value['tagId'],
|
|
139
141
|
'durationAttributeId': value['durationAttributeId'],
|
|
140
142
|
'orderAttributeId': value['orderAttributeId'],
|
|
143
|
+
'attributeTypeId': value['attributeTypeId'],
|
|
144
|
+
'partnerHideFormAttributeId': value['partnerHideFormAttributeId'],
|
|
141
145
|
'confirmationPeriodHours': value['confirmationPeriodHours'],
|
|
142
146
|
'nearDrivingTime': value['nearDrivingTime'],
|
|
143
147
|
'sameDistance': value['sameDistance'],
|
|
@@ -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/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export * from './ChannelIdType';
|
|
|
81
81
|
export * from './CommentDto';
|
|
82
82
|
export * from './ConfigKey';
|
|
83
83
|
export * from './ConfigurationDto';
|
|
84
|
+
export * from './ContactAddressDto';
|
|
84
85
|
export * from './ContactDto';
|
|
85
86
|
export * from './ContractDto';
|
|
86
87
|
export * from './ContractStatusDto';
|
|
@@ -204,6 +205,7 @@ export * from './GetAllReferences200Response';
|
|
|
204
205
|
export * from './GetAllRegistrations200Response';
|
|
205
206
|
export * from './GetAllResults200Response';
|
|
206
207
|
export * from './GetAllRoles200Response';
|
|
208
|
+
export * from './GetAllServiceDeskMessages200Response';
|
|
207
209
|
export * from './GetAllShares200Response';
|
|
208
210
|
export * from './GetAllTags200Response';
|
|
209
211
|
export * from './GetAllTextModules200Response';
|
|
@@ -216,6 +218,7 @@ export * from './GetAllWorkflowExternalTasks200Response';
|
|
|
216
218
|
export * from './GetAllWorkflowProcesses200Response';
|
|
217
219
|
export * from './GetAllWorkflows200Response';
|
|
218
220
|
export * from './GetAllWritings200Response';
|
|
221
|
+
export * from './GetMyAddresses200Response';
|
|
219
222
|
export * from './GetMyAppointments200Response';
|
|
220
223
|
export * from './GetMyBookmarks200Response';
|
|
221
224
|
export * from './GetRoleUsers200Response';
|
|
@@ -335,6 +338,7 @@ export * from './UnitCode';
|
|
|
335
338
|
export * from './UnitDto';
|
|
336
339
|
export * from './UsageMetricType';
|
|
337
340
|
export * from './UsageMonitorDto';
|
|
341
|
+
export * from './UserAddressDto';
|
|
338
342
|
export * from './UserAgentInformation';
|
|
339
343
|
export * from './UserApprovalDto';
|
|
340
344
|
export * from './UserDto';
|
package/dist/models/index.js
CHANGED
|
@@ -99,6 +99,7 @@ __exportStar(require("./ChannelIdType"), exports);
|
|
|
99
99
|
__exportStar(require("./CommentDto"), exports);
|
|
100
100
|
__exportStar(require("./ConfigKey"), exports);
|
|
101
101
|
__exportStar(require("./ConfigurationDto"), exports);
|
|
102
|
+
__exportStar(require("./ContactAddressDto"), exports);
|
|
102
103
|
__exportStar(require("./ContactDto"), exports);
|
|
103
104
|
__exportStar(require("./ContractDto"), exports);
|
|
104
105
|
__exportStar(require("./ContractStatusDto"), exports);
|
|
@@ -222,6 +223,7 @@ __exportStar(require("./GetAllReferences200Response"), exports);
|
|
|
222
223
|
__exportStar(require("./GetAllRegistrations200Response"), exports);
|
|
223
224
|
__exportStar(require("./GetAllResults200Response"), exports);
|
|
224
225
|
__exportStar(require("./GetAllRoles200Response"), exports);
|
|
226
|
+
__exportStar(require("./GetAllServiceDeskMessages200Response"), exports);
|
|
225
227
|
__exportStar(require("./GetAllShares200Response"), exports);
|
|
226
228
|
__exportStar(require("./GetAllTags200Response"), exports);
|
|
227
229
|
__exportStar(require("./GetAllTextModules200Response"), exports);
|
|
@@ -234,6 +236,7 @@ __exportStar(require("./GetAllWorkflowExternalTasks200Response"), exports);
|
|
|
234
236
|
__exportStar(require("./GetAllWorkflowProcesses200Response"), exports);
|
|
235
237
|
__exportStar(require("./GetAllWorkflows200Response"), exports);
|
|
236
238
|
__exportStar(require("./GetAllWritings200Response"), exports);
|
|
239
|
+
__exportStar(require("./GetMyAddresses200Response"), exports);
|
|
237
240
|
__exportStar(require("./GetMyAppointments200Response"), exports);
|
|
238
241
|
__exportStar(require("./GetMyBookmarks200Response"), exports);
|
|
239
242
|
__exportStar(require("./GetRoleUsers200Response"), exports);
|
|
@@ -353,6 +356,7 @@ __exportStar(require("./UnitCode"), exports);
|
|
|
353
356
|
__exportStar(require("./UnitDto"), exports);
|
|
354
357
|
__exportStar(require("./UsageMetricType"), exports);
|
|
355
358
|
__exportStar(require("./UsageMonitorDto"), exports);
|
|
359
|
+
__exportStar(require("./UserAddressDto"), exports);
|
|
356
360
|
__exportStar(require("./UserAgentInformation"), exports);
|
|
357
361
|
__exportStar(require("./UserApprovalDto"), exports);
|
|
358
362
|
__exportStar(require("./UserDto"), exports);
|