@kommerz/ts-client 1.191.0 → 1.193.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 (43) hide show
  1. package/dist/apis/AppointmentPortalApi.d.ts +131 -10
  2. package/dist/apis/AppointmentPortalApi.js +339 -10
  3. package/dist/apis/AppointmentsApi.d.ts +121 -0
  4. package/dist/apis/AppointmentsApi.js +387 -0
  5. package/dist/apis/CalendarEntriesApi.d.ts +45 -2
  6. package/dist/apis/CalendarEntriesApi.js +82 -0
  7. package/dist/apis/CustomersApi.d.ts +6 -2
  8. package/dist/apis/CustomersApi.js +3 -0
  9. package/dist/apis/MapsApi.d.ts +84 -0
  10. package/dist/apis/MapsApi.js +268 -0
  11. package/dist/apis/UsersMeApi.d.ts +13 -0
  12. package/dist/apis/UsersMeApi.js +56 -0
  13. package/dist/apis/index.d.ts +2 -0
  14. package/dist/apis/index.js +2 -0
  15. package/dist/models/AccountAppointmentDto.d.ts +38 -0
  16. package/dist/models/AccountAppointmentDto.js +59 -0
  17. package/dist/models/AppointmentDto.d.ts +55 -0
  18. package/dist/models/AppointmentDto.js +64 -0
  19. package/dist/models/AppointmentPortalDto.d.ts +43 -0
  20. package/dist/models/AppointmentPortalDto.js +62 -0
  21. package/dist/models/AppointmentStatus.d.ts +26 -0
  22. package/dist/models/AppointmentStatus.js +52 -0
  23. package/dist/models/CalendarEntryDto.d.ts +21 -1
  24. package/dist/models/CalendarEntryDto.js +7 -0
  25. package/dist/models/CustomerDto.d.ts +5 -1
  26. package/dist/models/CustomerDto.js +2 -0
  27. package/dist/models/DavCalendarDto.d.ts +34 -0
  28. package/dist/models/DavCalendarDto.js +55 -0
  29. package/dist/models/DavCalendarResourceDto.d.ts +46 -0
  30. package/dist/models/DavCalendarResourceDto.js +67 -0
  31. package/dist/models/DavCalendarResourceWriteDto.d.ts +34 -0
  32. package/dist/models/DavCalendarResourceWriteDto.js +55 -0
  33. package/dist/models/EntityType.d.ts +1 -0
  34. package/dist/models/EntityType.js +1 -0
  35. package/dist/models/GetAllAppointments200Response.d.ts +42 -0
  36. package/dist/models/GetAllAppointments200Response.js +59 -0
  37. package/dist/models/Permissions.d.ts +4 -0
  38. package/dist/models/Permissions.js +4 -0
  39. package/dist/models/RecurrenceScope.d.ts +25 -0
  40. package/dist/models/RecurrenceScope.js +51 -0
  41. package/dist/models/index.d.ts +9 -1
  42. package/dist/models/index.js +9 -1
  43. package/package.json +1 -1
@@ -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.instanceOfAccountAppointmentDto = instanceOfAccountAppointmentDto;
16
+ exports.AccountAppointmentDtoFromJSON = AccountAppointmentDtoFromJSON;
17
+ exports.AccountAppointmentDtoFromJSONTyped = AccountAppointmentDtoFromJSONTyped;
18
+ exports.AccountAppointmentDtoToJSON = AccountAppointmentDtoToJSON;
19
+ exports.AccountAppointmentDtoToJSONTyped = AccountAppointmentDtoToJSONTyped;
20
+ var AppointmentPortalDto_1 = require("./AppointmentPortalDto");
21
+ /**
22
+ * Check if a given object implements the AccountAppointmentDto interface.
23
+ */
24
+ function instanceOfAccountAppointmentDto(value) {
25
+ if (!('tenantHandle' in value) || value['tenantHandle'] === undefined)
26
+ return false;
27
+ if (!('tenantName' in value) || value['tenantName'] === undefined)
28
+ return false;
29
+ if (!('appointment' in value) || value['appointment'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function AccountAppointmentDtoFromJSON(json) {
34
+ return AccountAppointmentDtoFromJSONTyped(json, false);
35
+ }
36
+ function AccountAppointmentDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'tenantHandle': json['tenantHandle'],
42
+ 'tenantName': json['tenantName'],
43
+ 'appointment': (0, AppointmentPortalDto_1.AppointmentPortalDtoFromJSON)(json['appointment']),
44
+ };
45
+ }
46
+ function AccountAppointmentDtoToJSON(json) {
47
+ return AccountAppointmentDtoToJSONTyped(json, false);
48
+ }
49
+ function AccountAppointmentDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'tenantHandle': value['tenantHandle'],
56
+ 'tenantName': value['tenantName'],
57
+ 'appointment': (0, AppointmentPortalDto_1.AppointmentPortalDtoToJSON)(value['appointment']),
58
+ };
59
+ }
@@ -0,0 +1,55 @@
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 { AppointmentStatus } from './AppointmentStatus';
13
+ /**
14
+ * an appointment a user requested in the tenant portal or a member of the tenant created
15
+ * @export
16
+ * @interface AppointmentDto
17
+ */
18
+ export interface AppointmentDto {
19
+ /**
20
+ *
21
+ */
22
+ id?: string;
23
+ /**
24
+ *
25
+ */
26
+ version?: number;
27
+ /**
28
+ *
29
+ */
30
+ submittedTimeSpan: TimeSpanDto;
31
+ /**
32
+ * the time span the tenant agreed to, required for the status CONFIRMED and PLANNED
33
+ */
34
+ confirmedTimeSpan?: TimeSpanDto;
35
+ /**
36
+ *
37
+ */
38
+ status: AppointmentStatus;
39
+ /**
40
+ * the user who requested the appointment
41
+ */
42
+ readonly userId?: string;
43
+ /**
44
+ * name of the user who requested the appointment
45
+ */
46
+ readonly userName?: string;
47
+ }
48
+ /**
49
+ * Check if a given object implements the AppointmentDto interface.
50
+ */
51
+ export declare function instanceOfAppointmentDto(value: object): value is AppointmentDto;
52
+ export declare function AppointmentDtoFromJSON(json: any): AppointmentDto;
53
+ export declare function AppointmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentDto;
54
+ export declare function AppointmentDtoToJSON(json: any): AppointmentDto;
55
+ export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'userId' | 'userName'> | 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.instanceOfAppointmentDto = instanceOfAppointmentDto;
16
+ exports.AppointmentDtoFromJSON = AppointmentDtoFromJSON;
17
+ exports.AppointmentDtoFromJSONTyped = AppointmentDtoFromJSONTyped;
18
+ exports.AppointmentDtoToJSON = AppointmentDtoToJSON;
19
+ exports.AppointmentDtoToJSONTyped = AppointmentDtoToJSONTyped;
20
+ var TimeSpanDto_1 = require("./TimeSpanDto");
21
+ var AppointmentStatus_1 = require("./AppointmentStatus");
22
+ /**
23
+ * Check if a given object implements the AppointmentDto interface.
24
+ */
25
+ function instanceOfAppointmentDto(value) {
26
+ if (!('submittedTimeSpan' in value) || value['submittedTimeSpan'] === undefined)
27
+ return false;
28
+ if (!('status' in value) || value['status'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function AppointmentDtoFromJSON(json) {
33
+ return AppointmentDtoFromJSONTyped(json, false);
34
+ }
35
+ function AppointmentDtoFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'] == null ? undefined : json['id'],
41
+ 'version': json['version'] == null ? undefined : json['version'],
42
+ 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['submittedTimeSpan']),
43
+ 'confirmedTimeSpan': json['confirmedTimeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['confirmedTimeSpan']),
44
+ 'status': (0, AppointmentStatus_1.AppointmentStatusFromJSON)(json['status']),
45
+ 'userId': json['userId'] == null ? undefined : json['userId'],
46
+ 'userName': json['userName'] == null ? undefined : json['userName'],
47
+ };
48
+ }
49
+ function AppointmentDtoToJSON(json) {
50
+ return AppointmentDtoToJSONTyped(json, false);
51
+ }
52
+ function AppointmentDtoToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'id': value['id'],
59
+ 'version': value['version'],
60
+ 'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['submittedTimeSpan']),
61
+ 'confirmedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['confirmedTimeSpan']),
62
+ 'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
63
+ };
64
+ }
@@ -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 { AppointmentStatus } from './AppointmentStatus';
13
+ /**
14
+ * an appointment as its requester sees it in the tenant portal and in the account
15
+ * @export
16
+ * @interface AppointmentPortalDto
17
+ */
18
+ export interface AppointmentPortalDto {
19
+ /**
20
+ *
21
+ */
22
+ id: string;
23
+ /**
24
+ *
25
+ */
26
+ submittedTimeSpan: TimeSpanDto;
27
+ /**
28
+ *
29
+ */
30
+ confirmedTimeSpan?: TimeSpanDto;
31
+ /**
32
+ *
33
+ */
34
+ status: AppointmentStatus;
35
+ }
36
+ /**
37
+ * Check if a given object implements the AppointmentPortalDto interface.
38
+ */
39
+ export declare function instanceOfAppointmentPortalDto(value: object): value is AppointmentPortalDto;
40
+ export declare function AppointmentPortalDtoFromJSON(json: any): AppointmentPortalDto;
41
+ export declare function AppointmentPortalDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentPortalDto;
42
+ export declare function AppointmentPortalDtoToJSON(json: any): AppointmentPortalDto;
43
+ export declare function AppointmentPortalDtoToJSONTyped(value?: AppointmentPortalDto | 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.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,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
+ }
@@ -57,6 +57,26 @@ export interface CalendarEntryDto {
57
57
  *
58
58
  */
59
59
  attendees?: Array<CalendarAttendeeDto>;
60
+ /**
61
+ * Date of last modification
62
+ */
63
+ readonly modificationTime?: Date;
64
+ /**
65
+ * repeat rule of the entry as RRULE value of RFC 5545 without the "RRULE:" prefix. Supported frequencies are DAILY, WEEKLY, MONTHLY and YEARLY; UNTIL and COUNT must not be combined. Null for entries that do not repeat.
66
+ */
67
+ recurrenceRule?: string;
68
+ /**
69
+ * original start dates (in the time zone of the time span) of the occurrences deleted from the series (EXDATE)
70
+ */
71
+ readonly excludedOccurrences?: Array<string>;
72
+ /**
73
+ * id of the repeating entry whose single occurrence this entry replaces
74
+ */
75
+ readonly recurrenceMasterId?: string;
76
+ /**
77
+ * original start date (RECURRENCE-ID, in the time zone of the time span) of the occurrence of a repeating entry; null for entries that do not repeat
78
+ */
79
+ readonly originalStartDate?: string;
60
80
  }
61
81
  /**
62
82
  * Check if a given object implements the CalendarEntryDto interface.
@@ -65,4 +85,4 @@ export declare function instanceOfCalendarEntryDto(value: object): value is Cale
65
85
  export declare function CalendarEntryDtoFromJSON(json: any): CalendarEntryDto;
66
86
  export declare function CalendarEntryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarEntryDto;
67
87
  export declare function CalendarEntryDtoToJSON(json: any): CalendarEntryDto;
68
- export declare function CalendarEntryDtoToJSONTyped(value?: CalendarEntryDto | null, ignoreDiscriminator?: boolean): any;
88
+ export declare function CalendarEntryDtoToJSONTyped(value?: Omit<CalendarEntryDto, 'modificationTime' | 'excludedOccurrences' | 'recurrenceMasterId' | 'originalStartDate'> | null, ignoreDiscriminator?: boolean): any;
@@ -17,6 +17,7 @@ exports.CalendarEntryDtoFromJSON = CalendarEntryDtoFromJSON;
17
17
  exports.CalendarEntryDtoFromJSONTyped = CalendarEntryDtoFromJSONTyped;
18
18
  exports.CalendarEntryDtoToJSON = CalendarEntryDtoToJSON;
19
19
  exports.CalendarEntryDtoToJSONTyped = CalendarEntryDtoToJSONTyped;
20
+ var runtime_1 = require("../runtime");
20
21
  var CalendarAttendeeDto_1 = require("./CalendarAttendeeDto");
21
22
  var ApprovalStatusEnum_1 = require("./ApprovalStatusEnum");
22
23
  var TimeSpanDto_1 = require("./TimeSpanDto");
@@ -50,6 +51,11 @@ function CalendarEntryDtoFromJSONTyped(json, ignoreDiscriminator) {
50
51
  'timeSpan': json['timeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
51
52
  'approvalStatus': json['approvalStatus'] == null ? undefined : (0, ApprovalStatusEnum_1.ApprovalStatusEnumFromJSON)(json['approvalStatus']),
52
53
  'attendees': json['attendees'] == null ? undefined : (json['attendees'].map(CalendarAttendeeDto_1.CalendarAttendeeDtoFromJSON)),
54
+ 'modificationTime': json['modificationTime'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['modificationTime'])),
55
+ 'recurrenceRule': json['recurrenceRule'] == null ? undefined : json['recurrenceRule'],
56
+ 'excludedOccurrences': json['excludedOccurrences'] == null ? undefined : json['excludedOccurrences'],
57
+ 'recurrenceMasterId': json['recurrenceMasterId'] == null ? undefined : json['recurrenceMasterId'],
58
+ 'originalStartDate': json['originalStartDate'] == null ? undefined : json['originalStartDate'],
53
59
  };
54
60
  }
55
61
  function CalendarEntryDtoToJSON(json) {
@@ -71,5 +77,6 @@ function CalendarEntryDtoToJSONTyped(value, ignoreDiscriminator) {
71
77
  'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
72
78
  'approvalStatus': (0, ApprovalStatusEnum_1.ApprovalStatusEnumToJSON)(value['approvalStatus']),
73
79
  'attendees': value['attendees'] == null ? undefined : (value['attendees'].map(CalendarAttendeeDto_1.CalendarAttendeeDtoToJSON)),
80
+ 'recurrenceRule': value['recurrenceRule'],
74
81
  };
75
82
  }
@@ -79,6 +79,10 @@ export interface CustomerDto {
79
79
  *
80
80
  */
81
81
  readonly deleted?: boolean;
82
+ /**
83
+ * Date of last modification
84
+ */
85
+ readonly modificationTime?: Date;
82
86
  /**
83
87
  *
84
88
  */
@@ -103,4 +107,4 @@ export declare function instanceOfCustomerDto(value: object): value is CustomerD
103
107
  export declare function CustomerDtoFromJSON(json: any): CustomerDto;
104
108
  export declare function CustomerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerDto;
105
109
  export declare function CustomerDtoToJSON(json: any): CustomerDto;
106
- export declare function CustomerDtoToJSONTyped(value?: Omit<CustomerDto, 'id' | 'version' | 'deleted'> | null, ignoreDiscriminator?: boolean): any;
110
+ export declare function CustomerDtoToJSONTyped(value?: Omit<CustomerDto, 'id' | 'version' | 'deleted' | 'modificationTime'> | null, ignoreDiscriminator?: boolean): any;
@@ -18,6 +18,7 @@ exports.CustomerDtoFromJSON = CustomerDtoFromJSON;
18
18
  exports.CustomerDtoFromJSONTyped = CustomerDtoFromJSONTyped;
19
19
  exports.CustomerDtoToJSON = CustomerDtoToJSON;
20
20
  exports.CustomerDtoToJSONTyped = CustomerDtoToJSONTyped;
21
+ var runtime_1 = require("../runtime");
21
22
  var AddressDto_1 = require("./AddressDto");
22
23
  /**
23
24
  * @export
@@ -60,6 +61,7 @@ function CustomerDtoFromJSONTyped(json, ignoreDiscriminator) {
60
61
  'shippingAddress': json['shippingAddress'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['shippingAddress']),
61
62
  'legalEntity': json['legalEntity'],
62
63
  'deleted': json['deleted'] == null ? undefined : json['deleted'],
64
+ 'modificationTime': json['modificationTime'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['modificationTime'])),
63
65
  'attributeTypeId': json['attributeTypeId'] == null ? undefined : json['attributeTypeId'],
64
66
  'typeAttributes': json['typeAttributes'] == null ? undefined : json['typeAttributes'],
65
67
  };
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Kommerz API Specification
3
+ * API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
4
+ *
5
+ * Contact: info@kommerz.app
6
+ *
7
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
+ * https://openapi-generator.tech
9
+ * Do not edit the class manually.
10
+ */
11
+ import type { CalendarEntryTypeDto } from './CalendarEntryTypeDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DavCalendarDto
16
+ */
17
+ export interface DavCalendarDto {
18
+ /**
19
+ *
20
+ */
21
+ type: CalendarEntryTypeDto;
22
+ /**
23
+ * Sync token of a calendar. It only changes when a resource of the calendar changes. Changes are requested with the syncToken query parameter; changes may be returned again, but none is lost.
24
+ */
25
+ syncToken: number;
26
+ }
27
+ /**
28
+ * Check if a given object implements the DavCalendarDto interface.
29
+ */
30
+ export declare function instanceOfDavCalendarDto(value: object): value is DavCalendarDto;
31
+ export declare function DavCalendarDtoFromJSON(json: any): DavCalendarDto;
32
+ export declare function DavCalendarDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DavCalendarDto;
33
+ export declare function DavCalendarDtoToJSON(json: any): DavCalendarDto;
34
+ export declare function DavCalendarDtoToJSONTyped(value?: DavCalendarDto | 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.instanceOfDavCalendarDto = instanceOfDavCalendarDto;
16
+ exports.DavCalendarDtoFromJSON = DavCalendarDtoFromJSON;
17
+ exports.DavCalendarDtoFromJSONTyped = DavCalendarDtoFromJSONTyped;
18
+ exports.DavCalendarDtoToJSON = DavCalendarDtoToJSON;
19
+ exports.DavCalendarDtoToJSONTyped = DavCalendarDtoToJSONTyped;
20
+ var CalendarEntryTypeDto_1 = require("./CalendarEntryTypeDto");
21
+ /**
22
+ * Check if a given object implements the DavCalendarDto interface.
23
+ */
24
+ function instanceOfDavCalendarDto(value) {
25
+ if (!('type' in value) || value['type'] === undefined)
26
+ return false;
27
+ if (!('syncToken' in value) || value['syncToken'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function DavCalendarDtoFromJSON(json) {
32
+ return DavCalendarDtoFromJSONTyped(json, false);
33
+ }
34
+ function DavCalendarDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'type': (0, CalendarEntryTypeDto_1.CalendarEntryTypeDtoFromJSON)(json['type']),
40
+ 'syncToken': json['syncToken'],
41
+ };
42
+ }
43
+ function DavCalendarDtoToJSON(json) {
44
+ return DavCalendarDtoToJSONTyped(json, false);
45
+ }
46
+ function DavCalendarDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'type': (0, CalendarEntryTypeDto_1.CalendarEntryTypeDtoToJSON)(value['type']),
53
+ 'syncToken': value['syncToken'],
54
+ };
55
+ }
@@ -0,0 +1,46 @@
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 { CalendarEntryDto } from './CalendarEntryDto';
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DavCalendarResourceDto
16
+ */
17
+ export interface DavCalendarResourceDto {
18
+ /**
19
+ * name (last path segment of the href) of the resource in the calendar: the one the client chose when it created the resource, otherwise the uid followed by ".ics"
20
+ */
21
+ name: string;
22
+ /**
23
+ * iCal UID of the resource, shared by a series and its changed occurrences
24
+ */
25
+ uid: string;
26
+ /**
27
+ * whether the resource left the calendar (deleted, moved to another type, user no longer owner or attendee)
28
+ */
29
+ deleted: boolean;
30
+ /**
31
+ * changes with every change of the resource, usable as ETag
32
+ */
33
+ changeSeq: number;
34
+ /**
35
+ * the calendar entries of the resource the user owns or attends: the series, whose excludedOccurrences also contain the original starts of the changed occurrences that are not part of this calendar for the user, and the changed occurrences that are. A resource may consist of changed occurrences only, if the user takes part in them but not in the series. Empty for a deleted resource. Attendees that are users carry the email of the user next to their userId.
36
+ */
37
+ entries: Array<CalendarEntryDto>;
38
+ }
39
+ /**
40
+ * Check if a given object implements the DavCalendarResourceDto interface.
41
+ */
42
+ export declare function instanceOfDavCalendarResourceDto(value: object): value is DavCalendarResourceDto;
43
+ export declare function DavCalendarResourceDtoFromJSON(json: any): DavCalendarResourceDto;
44
+ export declare function DavCalendarResourceDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DavCalendarResourceDto;
45
+ export declare function DavCalendarResourceDtoToJSON(json: any): DavCalendarResourceDto;
46
+ export declare function DavCalendarResourceDtoToJSONTyped(value?: DavCalendarResourceDto | null, ignoreDiscriminator?: boolean): any;