@kommerz/ts-client 1.190.0 → 1.192.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/apis/AppointmentPortalApi.d.ts +172 -0
  2. package/dist/apis/AppointmentPortalApi.js +478 -0
  3. package/dist/apis/AppointmentsApi.d.ts +121 -0
  4. package/dist/apis/AppointmentsApi.js +387 -0
  5. package/dist/apis/MapsApi.d.ts +84 -0
  6. package/dist/apis/MapsApi.js +268 -0
  7. package/dist/apis/UsersMeApi.d.ts +13 -0
  8. package/dist/apis/UsersMeApi.js +56 -0
  9. package/dist/apis/index.d.ts +3 -0
  10. package/dist/apis/index.js +3 -0
  11. package/dist/models/AccountAppointmentDto.d.ts +38 -0
  12. package/dist/models/AccountAppointmentDto.js +59 -0
  13. package/dist/models/AppointmentDto.d.ts +55 -0
  14. package/dist/models/AppointmentDto.js +64 -0
  15. package/dist/models/AppointmentPortalDto.d.ts +43 -0
  16. package/dist/models/AppointmentPortalDto.js +62 -0
  17. package/dist/models/AppointmentSlotDistance.d.ts +25 -0
  18. package/dist/models/AppointmentSlotDistance.js +51 -0
  19. package/dist/models/AppointmentSlotDto.d.ts +43 -0
  20. package/dist/models/AppointmentSlotDto.js +60 -0
  21. package/dist/models/AppointmentStatus.d.ts +26 -0
  22. package/dist/models/AppointmentStatus.js +52 -0
  23. package/dist/models/CalendarEntryTypeDto.d.ts +12 -0
  24. package/dist/models/CalendarEntryTypeDto.js +6 -0
  25. package/dist/models/ConfigKey.d.ts +1 -0
  26. package/dist/models/ConfigKey.js +1 -0
  27. package/dist/models/EntityType.d.ts +1 -0
  28. package/dist/models/EntityType.js +1 -0
  29. package/dist/models/GetAllAppointmentSlots200Response.d.ts +42 -0
  30. package/dist/models/GetAllAppointmentSlots200Response.js +59 -0
  31. package/dist/models/GetAllAppointments200Response.d.ts +42 -0
  32. package/dist/models/GetAllAppointments200Response.js +59 -0
  33. package/dist/models/Permissions.d.ts +4 -0
  34. package/dist/models/Permissions.js +4 -0
  35. package/dist/models/RoutingConfigDto.d.ts +89 -0
  36. package/dist/models/RoutingConfigDto.js +108 -0
  37. package/dist/models/index.d.ts +9 -0
  38. package/dist/models/index.js +9 -0
  39. package/package.json +1 -1
@@ -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.instanceOfAppointmentPortalDto = instanceOfAppointmentPortalDto;
16
+ exports.AppointmentPortalDtoFromJSON = AppointmentPortalDtoFromJSON;
17
+ exports.AppointmentPortalDtoFromJSONTyped = AppointmentPortalDtoFromJSONTyped;
18
+ exports.AppointmentPortalDtoToJSON = AppointmentPortalDtoToJSON;
19
+ exports.AppointmentPortalDtoToJSONTyped = AppointmentPortalDtoToJSONTyped;
20
+ var TimeSpanDto_1 = require("./TimeSpanDto");
21
+ var AppointmentStatus_1 = require("./AppointmentStatus");
22
+ /**
23
+ * Check if a given object implements the AppointmentPortalDto interface.
24
+ */
25
+ function instanceOfAppointmentPortalDto(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('submittedTimeSpan' in value) || value['submittedTimeSpan'] === undefined)
29
+ return false;
30
+ if (!('status' in value) || value['status'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function AppointmentPortalDtoFromJSON(json) {
35
+ return AppointmentPortalDtoFromJSONTyped(json, false);
36
+ }
37
+ function AppointmentPortalDtoFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'id': json['id'],
43
+ 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['submittedTimeSpan']),
44
+ 'confirmedTimeSpan': json['confirmedTimeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['confirmedTimeSpan']),
45
+ 'status': (0, AppointmentStatus_1.AppointmentStatusFromJSON)(json['status']),
46
+ };
47
+ }
48
+ function AppointmentPortalDtoToJSON(json) {
49
+ return AppointmentPortalDtoToJSONTyped(json, false);
50
+ }
51
+ function AppointmentPortalDtoToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'id': value['id'],
58
+ 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['submittedTimeSpan']),
59
+ 'confirmedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['confirmedTimeSpan']),
60
+ 'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
61
+ };
62
+ }
@@ -0,0 +1,25 @@
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
+ * estimated distance between the requester and the slot
13
+ * @export
14
+ */
15
+ export declare const AppointmentSlotDistance: {
16
+ readonly Close: "CLOSE";
17
+ readonly Near: "NEAR";
18
+ readonly Far: "FAR";
19
+ };
20
+ export type AppointmentSlotDistance = typeof AppointmentSlotDistance[keyof typeof AppointmentSlotDistance];
21
+ export declare function instanceOfAppointmentSlotDistance(value: any): boolean;
22
+ export declare function AppointmentSlotDistanceFromJSON(json: any): AppointmentSlotDistance;
23
+ export declare function AppointmentSlotDistanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentSlotDistance;
24
+ export declare function AppointmentSlotDistanceToJSON(value?: AppointmentSlotDistance | null): any;
25
+ export declare function AppointmentSlotDistanceToJSONTyped(value: any, ignoreDiscriminator: boolean): AppointmentSlotDistance;
@@ -0,0 +1,51 @@
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.AppointmentSlotDistance = void 0;
16
+ exports.instanceOfAppointmentSlotDistance = instanceOfAppointmentSlotDistance;
17
+ exports.AppointmentSlotDistanceFromJSON = AppointmentSlotDistanceFromJSON;
18
+ exports.AppointmentSlotDistanceFromJSONTyped = AppointmentSlotDistanceFromJSONTyped;
19
+ exports.AppointmentSlotDistanceToJSON = AppointmentSlotDistanceToJSON;
20
+ exports.AppointmentSlotDistanceToJSONTyped = AppointmentSlotDistanceToJSONTyped;
21
+ /**
22
+ * estimated distance between the requester and the slot
23
+ * @export
24
+ */
25
+ exports.AppointmentSlotDistance = {
26
+ Close: 'CLOSE',
27
+ Near: 'NEAR',
28
+ Far: 'FAR',
29
+ };
30
+ function instanceOfAppointmentSlotDistance(value) {
31
+ for (var key in exports.AppointmentSlotDistance) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.AppointmentSlotDistance, key)) {
33
+ if (exports.AppointmentSlotDistance[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function AppointmentSlotDistanceFromJSON(json) {
41
+ return AppointmentSlotDistanceFromJSONTyped(json, false);
42
+ }
43
+ function AppointmentSlotDistanceFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function AppointmentSlotDistanceToJSON(value) {
47
+ return value;
48
+ }
49
+ function AppointmentSlotDistanceToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -0,0 +1,43 @@
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 { TimeSpanDto } from './TimeSpanDto';
12
+ import type { AppointmentSlotDistance } from './AppointmentSlotDistance';
13
+ /**
14
+ * a bookable time slot of a tenant. Its time span is the one of the calendar entry, given in the time zone of the tenant.
15
+ * @export
16
+ * @interface AppointmentSlotDto
17
+ */
18
+ export interface AppointmentSlotDto {
19
+ /**
20
+ *
21
+ */
22
+ timeSpan: TimeSpanDto;
23
+ /**
24
+ *
25
+ */
26
+ name: string;
27
+ /**
28
+ *
29
+ */
30
+ description?: string;
31
+ /**
32
+ *
33
+ */
34
+ distance?: AppointmentSlotDistance;
35
+ }
36
+ /**
37
+ * Check if a given object implements the AppointmentSlotDto interface.
38
+ */
39
+ export declare function instanceOfAppointmentSlotDto(value: object): value is AppointmentSlotDto;
40
+ export declare function AppointmentSlotDtoFromJSON(json: any): AppointmentSlotDto;
41
+ export declare function AppointmentSlotDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentSlotDto;
42
+ export declare function AppointmentSlotDtoToJSON(json: any): AppointmentSlotDto;
43
+ export declare function AppointmentSlotDtoToJSONTyped(value?: AppointmentSlotDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfAppointmentSlotDto = instanceOfAppointmentSlotDto;
16
+ exports.AppointmentSlotDtoFromJSON = AppointmentSlotDtoFromJSON;
17
+ exports.AppointmentSlotDtoFromJSONTyped = AppointmentSlotDtoFromJSONTyped;
18
+ exports.AppointmentSlotDtoToJSON = AppointmentSlotDtoToJSON;
19
+ exports.AppointmentSlotDtoToJSONTyped = AppointmentSlotDtoToJSONTyped;
20
+ var TimeSpanDto_1 = require("./TimeSpanDto");
21
+ var AppointmentSlotDistance_1 = require("./AppointmentSlotDistance");
22
+ /**
23
+ * Check if a given object implements the AppointmentSlotDto interface.
24
+ */
25
+ function instanceOfAppointmentSlotDto(value) {
26
+ if (!('timeSpan' in value) || value['timeSpan'] === undefined)
27
+ return false;
28
+ if (!('name' in value) || value['name'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function AppointmentSlotDtoFromJSON(json) {
33
+ return AppointmentSlotDtoFromJSONTyped(json, false);
34
+ }
35
+ function AppointmentSlotDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
41
+ 'name': json['name'],
42
+ 'description': json['description'] == null ? undefined : json['description'],
43
+ 'distance': json['distance'] == null ? undefined : (0, AppointmentSlotDistance_1.AppointmentSlotDistanceFromJSON)(json['distance']),
44
+ };
45
+ }
46
+ function AppointmentSlotDtoToJSON(json) {
47
+ return AppointmentSlotDtoToJSONTyped(json, false);
48
+ }
49
+ function AppointmentSlotDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
56
+ 'name': value['name'],
57
+ 'description': value['description'],
58
+ 'distance': (0, AppointmentSlotDistance_1.AppointmentSlotDistanceToJSON)(value['distance']),
59
+ };
60
+ }
@@ -0,0 +1,26 @@
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
+ */
15
+ export declare const AppointmentStatus: {
16
+ readonly Unconfirmed: "UNCONFIRMED";
17
+ readonly Confirmed: "CONFIRMED";
18
+ readonly Rejected: "REJECTED";
19
+ readonly Planned: "PLANNED";
20
+ };
21
+ export type AppointmentStatus = typeof AppointmentStatus[keyof typeof AppointmentStatus];
22
+ export declare function instanceOfAppointmentStatus(value: any): boolean;
23
+ export declare function AppointmentStatusFromJSON(json: any): AppointmentStatus;
24
+ export declare function AppointmentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentStatus;
25
+ export declare function AppointmentStatusToJSON(value?: AppointmentStatus | null): any;
26
+ export declare function AppointmentStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): AppointmentStatus;
@@ -0,0 +1,52 @@
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.AppointmentStatus = void 0;
16
+ exports.instanceOfAppointmentStatus = instanceOfAppointmentStatus;
17
+ exports.AppointmentStatusFromJSON = AppointmentStatusFromJSON;
18
+ exports.AppointmentStatusFromJSONTyped = AppointmentStatusFromJSONTyped;
19
+ exports.AppointmentStatusToJSON = AppointmentStatusToJSON;
20
+ exports.AppointmentStatusToJSONTyped = AppointmentStatusToJSONTyped;
21
+ /**
22
+ *
23
+ * @export
24
+ */
25
+ exports.AppointmentStatus = {
26
+ Unconfirmed: 'UNCONFIRMED',
27
+ Confirmed: 'CONFIRMED',
28
+ Rejected: 'REJECTED',
29
+ Planned: 'PLANNED',
30
+ };
31
+ function instanceOfAppointmentStatus(value) {
32
+ for (var key in exports.AppointmentStatus) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.AppointmentStatus, key)) {
34
+ if (exports.AppointmentStatus[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function AppointmentStatusFromJSON(json) {
42
+ return AppointmentStatusFromJSONTyped(json, false);
43
+ }
44
+ function AppointmentStatusFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function AppointmentStatusToJSON(value) {
48
+ return value;
49
+ }
50
+ function AppointmentStatusToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -50,6 +50,18 @@ export interface CalendarEntryTypeDto {
50
50
  *
51
51
  */
52
52
  approvalTypeId?: string;
53
+ /**
54
+ * entries of a bookable type are offered as appointment slots in the tenant portal
55
+ */
56
+ bookable?: boolean;
57
+ /**
58
+ * slots of this type are only offered when the requester sends a location (lat and long)
59
+ */
60
+ requiresAppointmentLocation?: boolean;
61
+ /**
62
+ * key of a customer attribute a customer needs to book a slot of this type
63
+ */
64
+ requiredCustomerAttributeId?: string;
53
65
  }
54
66
  /**
55
67
  * Check if a given object implements the CalendarEntryTypeDto interface.
@@ -50,6 +50,9 @@ function CalendarEntryTypeDtoFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'canDefineTimeSpan': json['canDefineTimeSpan'],
51
51
  'canDefineLocation': json['canDefineLocation'],
52
52
  'approvalTypeId': json['approvalTypeId'] == null ? undefined : json['approvalTypeId'],
53
+ 'bookable': json['bookable'] == null ? undefined : json['bookable'],
54
+ 'requiresAppointmentLocation': json['requiresAppointmentLocation'] == null ? undefined : json['requiresAppointmentLocation'],
55
+ 'requiredCustomerAttributeId': json['requiredCustomerAttributeId'] == null ? undefined : json['requiredCustomerAttributeId'],
53
56
  };
54
57
  }
55
58
  function CalendarEntryTypeDtoToJSON(json) {
@@ -70,5 +73,8 @@ function CalendarEntryTypeDtoToJSONTyped(value, ignoreDiscriminator) {
70
73
  'canDefineTimeSpan': value['canDefineTimeSpan'],
71
74
  'canDefineLocation': value['canDefineLocation'],
72
75
  'approvalTypeId': value['approvalTypeId'],
76
+ 'bookable': value['bookable'],
77
+ 'requiresAppointmentLocation': value['requiresAppointmentLocation'],
78
+ 'requiredCustomerAttributeId': value['requiredCustomerAttributeId'],
73
79
  };
74
80
  }
@@ -18,6 +18,7 @@ export declare const ConfigKey: {
18
18
  readonly ModulesWiki: "modules.wiki";
19
19
  readonly ModulesAccounting: "modules.accounting";
20
20
  readonly UiLandingWelcome: "ui.landing.welcome";
21
+ readonly ModulesRosterRouting: "modules.roster.routing";
21
22
  };
22
23
  export type ConfigKey = typeof ConfigKey[keyof typeof ConfigKey];
23
24
  export declare function instanceOfConfigKey(value: any): boolean;
@@ -28,6 +28,7 @@ exports.ConfigKey = {
28
28
  ModulesWiki: 'modules.wiki',
29
29
  ModulesAccounting: 'modules.accounting',
30
30
  UiLandingWelcome: 'ui.landing.welcome',
31
+ ModulesRosterRouting: 'modules.roster.routing',
31
32
  };
32
33
  function instanceOfConfigKey(value) {
33
34
  for (var key in exports.ConfigKey) {
@@ -86,6 +86,7 @@ export declare const EntityType: {
86
86
  readonly DecisionTable: "DecisionTable";
87
87
  readonly AccessToken: "AccessToken";
88
88
  readonly AttributeType: "AttributeType";
89
+ readonly Appointment: "Appointment";
89
90
  };
90
91
  export type EntityType = typeof EntityType[keyof typeof EntityType];
91
92
  export declare function instanceOfEntityType(value: any): boolean;
@@ -96,6 +96,7 @@ exports.EntityType = {
96
96
  DecisionTable: 'DecisionTable',
97
97
  AccessToken: 'AccessToken',
98
98
  AttributeType: 'AttributeType',
99
+ Appointment: 'Appointment',
99
100
  };
100
101
  function instanceOfEntityType(value) {
101
102
  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 { AppointmentSlotDto } from './AppointmentSlotDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetAllAppointmentSlots200Response
16
+ */
17
+ export interface GetAllAppointmentSlots200Response {
18
+ /**
19
+ *
20
+ */
21
+ pageNumber?: number;
22
+ /**
23
+ *
24
+ */
25
+ pageSize?: number;
26
+ /**
27
+ *
28
+ */
29
+ totalElements: number;
30
+ /**
31
+ *
32
+ */
33
+ content: Array<AppointmentSlotDto>;
34
+ }
35
+ /**
36
+ * Check if a given object implements the GetAllAppointmentSlots200Response interface.
37
+ */
38
+ export declare function instanceOfGetAllAppointmentSlots200Response(value: object): value is GetAllAppointmentSlots200Response;
39
+ export declare function GetAllAppointmentSlots200ResponseFromJSON(json: any): GetAllAppointmentSlots200Response;
40
+ export declare function GetAllAppointmentSlots200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllAppointmentSlots200Response;
41
+ export declare function GetAllAppointmentSlots200ResponseToJSON(json: any): GetAllAppointmentSlots200Response;
42
+ export declare function GetAllAppointmentSlots200ResponseToJSONTyped(value?: GetAllAppointmentSlots200Response | 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.instanceOfGetAllAppointmentSlots200Response = instanceOfGetAllAppointmentSlots200Response;
16
+ exports.GetAllAppointmentSlots200ResponseFromJSON = GetAllAppointmentSlots200ResponseFromJSON;
17
+ exports.GetAllAppointmentSlots200ResponseFromJSONTyped = GetAllAppointmentSlots200ResponseFromJSONTyped;
18
+ exports.GetAllAppointmentSlots200ResponseToJSON = GetAllAppointmentSlots200ResponseToJSON;
19
+ exports.GetAllAppointmentSlots200ResponseToJSONTyped = GetAllAppointmentSlots200ResponseToJSONTyped;
20
+ var AppointmentSlotDto_1 = require("./AppointmentSlotDto");
21
+ /**
22
+ * Check if a given object implements the GetAllAppointmentSlots200Response interface.
23
+ */
24
+ function instanceOfGetAllAppointmentSlots200Response(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 GetAllAppointmentSlots200ResponseFromJSON(json) {
32
+ return GetAllAppointmentSlots200ResponseFromJSONTyped(json, false);
33
+ }
34
+ function GetAllAppointmentSlots200ResponseFromJSONTyped(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(AppointmentSlotDto_1.AppointmentSlotDtoFromJSON)),
43
+ };
44
+ }
45
+ function GetAllAppointmentSlots200ResponseToJSON(json) {
46
+ return GetAllAppointmentSlots200ResponseToJSONTyped(json, false);
47
+ }
48
+ function GetAllAppointmentSlots200ResponseToJSONTyped(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(AppointmentSlotDto_1.AppointmentSlotDtoToJSON)),
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 { AppointmentDto } from './AppointmentDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetAllAppointments200Response
16
+ */
17
+ export interface GetAllAppointments200Response {
18
+ /**
19
+ *
20
+ */
21
+ pageNumber?: number;
22
+ /**
23
+ *
24
+ */
25
+ pageSize?: number;
26
+ /**
27
+ *
28
+ */
29
+ totalElements: number;
30
+ /**
31
+ *
32
+ */
33
+ content: Array<AppointmentDto>;
34
+ }
35
+ /**
36
+ * Check if a given object implements the GetAllAppointments200Response interface.
37
+ */
38
+ export declare function instanceOfGetAllAppointments200Response(value: object): value is GetAllAppointments200Response;
39
+ export declare function GetAllAppointments200ResponseFromJSON(json: any): GetAllAppointments200Response;
40
+ export declare function GetAllAppointments200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllAppointments200Response;
41
+ export declare function GetAllAppointments200ResponseToJSON(json: any): GetAllAppointments200Response;
42
+ export declare function GetAllAppointments200ResponseToJSONTyped(value?: GetAllAppointments200Response | 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.instanceOfGetAllAppointments200Response = instanceOfGetAllAppointments200Response;
16
+ exports.GetAllAppointments200ResponseFromJSON = GetAllAppointments200ResponseFromJSON;
17
+ exports.GetAllAppointments200ResponseFromJSONTyped = GetAllAppointments200ResponseFromJSONTyped;
18
+ exports.GetAllAppointments200ResponseToJSON = GetAllAppointments200ResponseToJSON;
19
+ exports.GetAllAppointments200ResponseToJSONTyped = GetAllAppointments200ResponseToJSONTyped;
20
+ var AppointmentDto_1 = require("./AppointmentDto");
21
+ /**
22
+ * Check if a given object implements the GetAllAppointments200Response interface.
23
+ */
24
+ function instanceOfGetAllAppointments200Response(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 GetAllAppointments200ResponseFromJSON(json) {
32
+ return GetAllAppointments200ResponseFromJSONTyped(json, false);
33
+ }
34
+ function GetAllAppointments200ResponseFromJSONTyped(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(AppointmentDto_1.AppointmentDtoFromJSON)),
43
+ };
44
+ }
45
+ function GetAllAppointments200ResponseToJSON(json) {
46
+ return GetAllAppointments200ResponseToJSONTyped(json, false);
47
+ }
48
+ function GetAllAppointments200ResponseToJSONTyped(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(AppointmentDto_1.AppointmentDtoToJSON)),
58
+ };
59
+ }
@@ -52,6 +52,10 @@ export declare const Permissions: {
52
52
  readonly AttributeTypeCreate: "ATTRIBUTE_TYPE_CREATE";
53
53
  readonly AttributeTypeEdit: "ATTRIBUTE_TYPE_EDIT";
54
54
  readonly AttributeTypeDelete: "ATTRIBUTE_TYPE_DELETE";
55
+ readonly AppointmentRead: "APPOINTMENT_READ";
56
+ readonly AppointmentCreate: "APPOINTMENT_CREATE";
57
+ readonly AppointmentEdit: "APPOINTMENT_EDIT";
58
+ readonly AppointmentDelete: "APPOINTMENT_DELETE";
55
59
  };
56
60
  export type Permissions = typeof Permissions[keyof typeof Permissions];
57
61
  export declare function instanceOfPermissions(value: any): boolean;
@@ -62,6 +62,10 @@ exports.Permissions = {
62
62
  AttributeTypeCreate: 'ATTRIBUTE_TYPE_CREATE',
63
63
  AttributeTypeEdit: 'ATTRIBUTE_TYPE_EDIT',
64
64
  AttributeTypeDelete: 'ATTRIBUTE_TYPE_DELETE',
65
+ AppointmentRead: 'APPOINTMENT_READ',
66
+ AppointmentCreate: 'APPOINTMENT_CREATE',
67
+ AppointmentEdit: 'APPOINTMENT_EDIT',
68
+ AppointmentDelete: 'APPOINTMENT_DELETE',
65
69
  };
66
70
  function instanceOfPermissions(value) {
67
71
  for (var key in exports.Permissions) {