@kommerz/ts-client 1.192.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.
- package/dist/apis/AppointmentPortalApi.d.ts +13 -10
- package/dist/apis/AppointmentPortalApi.js +16 -10
- package/dist/apis/CalendarEntriesApi.d.ts +45 -2
- package/dist/apis/CalendarEntriesApi.js +82 -0
- package/dist/apis/CustomersApi.d.ts +6 -2
- package/dist/apis/CustomersApi.js +3 -0
- package/dist/models/CalendarEntryDto.d.ts +21 -1
- package/dist/models/CalendarEntryDto.js +7 -0
- package/dist/models/CustomerDto.d.ts +5 -1
- package/dist/models/CustomerDto.js +2 -0
- package/dist/models/DavCalendarDto.d.ts +34 -0
- package/dist/models/DavCalendarDto.js +55 -0
- package/dist/models/DavCalendarResourceDto.d.ts +46 -0
- package/dist/models/DavCalendarResourceDto.js +67 -0
- package/dist/models/DavCalendarResourceWriteDto.d.ts +34 -0
- package/dist/models/DavCalendarResourceWriteDto.js +55 -0
- package/dist/models/RecurrenceScope.d.ts +25 -0
- package/dist/models/RecurrenceScope.js +51 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
12
|
import { type AppointmentPortalDto } from '../models/AppointmentPortalDto';
|
|
13
|
-
import { type
|
|
14
|
-
import { type KommerzPageable } from '../models/KommerzPageable';
|
|
13
|
+
import { type AppointmentSlotDto } from '../models/AppointmentSlotDto';
|
|
15
14
|
import { type TimeSpanDto } from '../models/TimeSpanDto';
|
|
16
15
|
export interface DeleteOwnAppointmentRequest {
|
|
17
16
|
/**
|
|
@@ -29,9 +28,13 @@ export interface GetAllAppointmentSlotsRequest {
|
|
|
29
28
|
*/
|
|
30
29
|
handle: string;
|
|
31
30
|
/**
|
|
32
|
-
*
|
|
31
|
+
* inclusive start of the period
|
|
33
32
|
*/
|
|
34
|
-
|
|
33
|
+
from: Date;
|
|
34
|
+
/**
|
|
35
|
+
* exclusive end of the period
|
|
36
|
+
*/
|
|
37
|
+
to: Date;
|
|
35
38
|
/**
|
|
36
39
|
* Filter query parameters. Operators: sim, nsim, eq, neq, leq, less, geq, gtr). Values have to be url-encoded.
|
|
37
40
|
*/
|
|
@@ -106,15 +109,15 @@ export declare class AppointmentPortalApi extends runtime.BaseAPI {
|
|
|
106
109
|
*/
|
|
107
110
|
getAllAppointmentSlotsRequestOpts(requestParameters: GetAllAppointmentSlotsRequest): Promise<runtime.RequestOpts>;
|
|
108
111
|
/**
|
|
109
|
-
* Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given.
|
|
110
|
-
* get the bookable appointment slots of a tenant that have not ended yet
|
|
112
|
+
* Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. The slots are sorted by their start.
|
|
113
|
+
* get the bookable appointment slots of a tenant overlapping a period that have not ended yet
|
|
111
114
|
*/
|
|
112
|
-
getAllAppointmentSlotsRaw(requestParameters: GetAllAppointmentSlotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
115
|
+
getAllAppointmentSlotsRaw(requestParameters: GetAllAppointmentSlotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AppointmentSlotDto>>>;
|
|
113
116
|
/**
|
|
114
|
-
* Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given.
|
|
115
|
-
* get the bookable appointment slots of a tenant that have not ended yet
|
|
117
|
+
* Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. The slots are sorted by their start.
|
|
118
|
+
* get the bookable appointment slots of a tenant overlapping a period that have not ended yet
|
|
116
119
|
*/
|
|
117
|
-
getAllAppointmentSlots(requestParameters: GetAllAppointmentSlotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
120
|
+
getAllAppointmentSlots(requestParameters: GetAllAppointmentSlotsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AppointmentSlotDto>>;
|
|
118
121
|
/**
|
|
119
122
|
* Creates request options for getOwnAppointment without sending the request
|
|
120
123
|
*/
|
|
@@ -66,7 +66,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
66
66
|
exports.AppointmentPortalApi = void 0;
|
|
67
67
|
var runtime = require("../runtime");
|
|
68
68
|
var AppointmentPortalDto_1 = require("../models/AppointmentPortalDto");
|
|
69
|
-
var
|
|
69
|
+
var AppointmentSlotDto_1 = require("../models/AppointmentSlotDto");
|
|
70
70
|
var TimeSpanDto_1 = require("../models/TimeSpanDto");
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
@@ -147,12 +147,18 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
|
|
|
147
147
|
if (requestParameters['handle'] == null) {
|
|
148
148
|
throw new runtime.RequiredError('handle', 'Required parameter "handle" was null or undefined when calling getAllAppointmentSlots().');
|
|
149
149
|
}
|
|
150
|
-
if (requestParameters['
|
|
151
|
-
throw new runtime.RequiredError('
|
|
150
|
+
if (requestParameters['from'] == null) {
|
|
151
|
+
throw new runtime.RequiredError('from', 'Required parameter "from" was null or undefined when calling getAllAppointmentSlots().');
|
|
152
|
+
}
|
|
153
|
+
if (requestParameters['to'] == null) {
|
|
154
|
+
throw new runtime.RequiredError('to', 'Required parameter "to" was null or undefined when calling getAllAppointmentSlots().');
|
|
152
155
|
}
|
|
153
156
|
queryParameters = {};
|
|
154
|
-
if (requestParameters['
|
|
155
|
-
queryParameters['
|
|
157
|
+
if (requestParameters['from'] != null) {
|
|
158
|
+
queryParameters['from'] = runtime.serializeDateTime(requestParameters['from']);
|
|
159
|
+
}
|
|
160
|
+
if (requestParameters['to'] != null) {
|
|
161
|
+
queryParameters['to'] = runtime.serializeDateTime(requestParameters['to']);
|
|
156
162
|
}
|
|
157
163
|
if (requestParameters['filter'] != null) {
|
|
158
164
|
queryParameters['filter'] = requestParameters['filter'];
|
|
@@ -176,8 +182,8 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
|
|
|
176
182
|
});
|
|
177
183
|
};
|
|
178
184
|
/**
|
|
179
|
-
* Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given.
|
|
180
|
-
* get the bookable appointment slots of a tenant that have not ended yet
|
|
185
|
+
* Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. The slots are sorted by their start.
|
|
186
|
+
* get the bookable appointment slots of a tenant overlapping a period that have not ended yet
|
|
181
187
|
*/
|
|
182
188
|
AppointmentPortalApi.prototype.getAllAppointmentSlotsRaw = function (requestParameters, initOverrides) {
|
|
183
189
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -190,14 +196,14 @@ var AppointmentPortalApi = /** @class */ (function (_super) {
|
|
|
190
196
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
191
197
|
case 2:
|
|
192
198
|
response = _a.sent();
|
|
193
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (
|
|
199
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(AppointmentSlotDto_1.AppointmentSlotDtoFromJSON); })];
|
|
194
200
|
}
|
|
195
201
|
});
|
|
196
202
|
});
|
|
197
203
|
};
|
|
198
204
|
/**
|
|
199
|
-
* Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given.
|
|
200
|
-
* get the bookable appointment slots of a tenant that have not ended yet
|
|
205
|
+
* Available without login. An OIDC token is accepted when the requester is logged in. Slots whose type requires an appointment location are only returned when lat and long are given. A repeating calendar entry yields a slot for each of its occurrences. The slots are sorted by their start.
|
|
206
|
+
* get the bookable appointment slots of a tenant overlapping a period that have not ended yet
|
|
201
207
|
*/
|
|
202
208
|
AppointmentPortalApi.prototype.getAllAppointmentSlots = function (requestParameters, initOverrides) {
|
|
203
209
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -12,17 +12,26 @@ import * as runtime from '../runtime';
|
|
|
12
12
|
import { type CalendarEntryDto } from '../models/CalendarEntryDto';
|
|
13
13
|
import { type GetAllCalendarEntries200Response } from '../models/GetAllCalendarEntries200Response';
|
|
14
14
|
import { type KommerzPageable } from '../models/KommerzPageable';
|
|
15
|
+
import { type RecurrenceScope } from '../models/RecurrenceScope';
|
|
15
16
|
export interface CreateCalendarEntryRequest {
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
18
19
|
*/
|
|
19
|
-
calendarEntryDto: CalendarEntryDto
|
|
20
|
+
calendarEntryDto: Omit<CalendarEntryDto, 'modificationTime' | 'excludedOccurrences' | 'recurrenceMasterId' | 'originalStartDate'>;
|
|
20
21
|
}
|
|
21
22
|
export interface DeleteCalendarEntryRequest {
|
|
22
23
|
/**
|
|
23
24
|
* id of entity
|
|
24
25
|
*/
|
|
25
26
|
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* occurrences of a repeating entry the request applies to (default ALL)
|
|
29
|
+
*/
|
|
30
|
+
recurrenceScope?: RecurrenceScope;
|
|
31
|
+
/**
|
|
32
|
+
* original start date (in the time zone of the entry) of the occurrence the request applies to. Required for the scopes THIS and FOLLOWING; for the scope ALL the change of the occurrence's time span is applied to the whole series.
|
|
33
|
+
*/
|
|
34
|
+
originalStartDate?: string;
|
|
26
35
|
}
|
|
27
36
|
export interface GetAllCalendarEntriesRequest {
|
|
28
37
|
/**
|
|
@@ -40,6 +49,20 @@ export interface GetCalendarEntryRequest {
|
|
|
40
49
|
*/
|
|
41
50
|
id: string;
|
|
42
51
|
}
|
|
52
|
+
export interface GetCalendarEntryOccurrencesRequest {
|
|
53
|
+
/**
|
|
54
|
+
* inclusive start of the period
|
|
55
|
+
*/
|
|
56
|
+
from: Date;
|
|
57
|
+
/**
|
|
58
|
+
* exclusive end of the period
|
|
59
|
+
*/
|
|
60
|
+
to: Date;
|
|
61
|
+
/**
|
|
62
|
+
* Filter query parameters. Operators: sim, nsim, eq, neq, leq, less, geq, gtr). Values have to be url-encoded.
|
|
63
|
+
*/
|
|
64
|
+
filter?: Array<string>;
|
|
65
|
+
}
|
|
43
66
|
export interface UpdateCalendarEntryRequest {
|
|
44
67
|
/**
|
|
45
68
|
* id of entity
|
|
@@ -48,11 +71,19 @@ export interface UpdateCalendarEntryRequest {
|
|
|
48
71
|
/**
|
|
49
72
|
*
|
|
50
73
|
*/
|
|
51
|
-
calendarEntryDto: CalendarEntryDto
|
|
74
|
+
calendarEntryDto: Omit<CalendarEntryDto, 'modificationTime' | 'excludedOccurrences' | 'recurrenceMasterId' | 'originalStartDate'>;
|
|
52
75
|
/**
|
|
53
76
|
* whether to force update the entity
|
|
54
77
|
*/
|
|
55
78
|
force?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* occurrences of a repeating entry the request applies to (default ALL)
|
|
81
|
+
*/
|
|
82
|
+
recurrenceScope?: RecurrenceScope;
|
|
83
|
+
/**
|
|
84
|
+
* original start date (in the time zone of the entry) of the occurrence the request applies to. Required for the scopes THIS and FOLLOWING; for the scope ALL the change of the occurrence's time span is applied to the whole series.
|
|
85
|
+
*/
|
|
86
|
+
originalStartDate?: string;
|
|
56
87
|
}
|
|
57
88
|
/**
|
|
58
89
|
*
|
|
@@ -106,6 +137,18 @@ export declare class CalendarEntriesApi extends runtime.BaseAPI {
|
|
|
106
137
|
* read one calendar entry
|
|
107
138
|
*/
|
|
108
139
|
getCalendarEntry(requestParameters: GetCalendarEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalendarEntryDto>;
|
|
140
|
+
/**
|
|
141
|
+
* Creates request options for getCalendarEntryOccurrences without sending the request
|
|
142
|
+
*/
|
|
143
|
+
getCalendarEntryOccurrencesRequestOpts(requestParameters: GetCalendarEntryOccurrencesRequest): Promise<runtime.RequestOpts>;
|
|
144
|
+
/**
|
|
145
|
+
* get the calendar entries overlapping a period, every repeating entry expanded into its occurrences
|
|
146
|
+
*/
|
|
147
|
+
getCalendarEntryOccurrencesRaw(requestParameters: GetCalendarEntryOccurrencesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CalendarEntryDto>>>;
|
|
148
|
+
/**
|
|
149
|
+
* get the calendar entries overlapping a period, every repeating entry expanded into its occurrences
|
|
150
|
+
*/
|
|
151
|
+
getCalendarEntryOccurrences(requestParameters: GetCalendarEntryOccurrencesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CalendarEntryDto>>;
|
|
109
152
|
/**
|
|
110
153
|
* Creates request options for updateCalendarEntry without sending the request
|
|
111
154
|
*/
|
|
@@ -146,6 +146,12 @@ var CalendarEntriesApi = /** @class */ (function (_super) {
|
|
|
146
146
|
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteCalendarEntry().');
|
|
147
147
|
}
|
|
148
148
|
queryParameters = {};
|
|
149
|
+
if (requestParameters['recurrenceScope'] != null) {
|
|
150
|
+
queryParameters['recurrenceScope'] = requestParameters['recurrenceScope'];
|
|
151
|
+
}
|
|
152
|
+
if (requestParameters['originalStartDate'] != null) {
|
|
153
|
+
queryParameters['originalStartDate'] = requestParameters['originalStartDate'];
|
|
154
|
+
}
|
|
149
155
|
headerParameters = {};
|
|
150
156
|
urlPath = "/ui/calendar/v1/calendar-entries/{id}";
|
|
151
157
|
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
@@ -315,6 +321,76 @@ var CalendarEntriesApi = /** @class */ (function (_super) {
|
|
|
315
321
|
});
|
|
316
322
|
});
|
|
317
323
|
};
|
|
324
|
+
/**
|
|
325
|
+
* Creates request options for getCalendarEntryOccurrences without sending the request
|
|
326
|
+
*/
|
|
327
|
+
CalendarEntriesApi.prototype.getCalendarEntryOccurrencesRequestOpts = function (requestParameters) {
|
|
328
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
329
|
+
var queryParameters, headerParameters, urlPath;
|
|
330
|
+
return __generator(this, function (_a) {
|
|
331
|
+
if (requestParameters['from'] == null) {
|
|
332
|
+
throw new runtime.RequiredError('from', 'Required parameter "from" was null or undefined when calling getCalendarEntryOccurrences().');
|
|
333
|
+
}
|
|
334
|
+
if (requestParameters['to'] == null) {
|
|
335
|
+
throw new runtime.RequiredError('to', 'Required parameter "to" was null or undefined when calling getCalendarEntryOccurrences().');
|
|
336
|
+
}
|
|
337
|
+
queryParameters = {};
|
|
338
|
+
if (requestParameters['from'] != null) {
|
|
339
|
+
queryParameters['from'] = runtime.serializeDateTime(requestParameters['from']);
|
|
340
|
+
}
|
|
341
|
+
if (requestParameters['to'] != null) {
|
|
342
|
+
queryParameters['to'] = runtime.serializeDateTime(requestParameters['to']);
|
|
343
|
+
}
|
|
344
|
+
if (requestParameters['filter'] != null) {
|
|
345
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
346
|
+
}
|
|
347
|
+
headerParameters = {};
|
|
348
|
+
urlPath = "/ui/calendar/v1/calendar-entry-occurrences";
|
|
349
|
+
return [2 /*return*/, {
|
|
350
|
+
path: urlPath,
|
|
351
|
+
method: 'GET',
|
|
352
|
+
headers: headerParameters,
|
|
353
|
+
query: queryParameters,
|
|
354
|
+
}];
|
|
355
|
+
});
|
|
356
|
+
});
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* get the calendar entries overlapping a period, every repeating entry expanded into its occurrences
|
|
360
|
+
*/
|
|
361
|
+
CalendarEntriesApi.prototype.getCalendarEntryOccurrencesRaw = function (requestParameters, initOverrides) {
|
|
362
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
363
|
+
var requestOptions, response;
|
|
364
|
+
return __generator(this, function (_a) {
|
|
365
|
+
switch (_a.label) {
|
|
366
|
+
case 0: return [4 /*yield*/, this.getCalendarEntryOccurrencesRequestOpts(requestParameters)];
|
|
367
|
+
case 1:
|
|
368
|
+
requestOptions = _a.sent();
|
|
369
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
370
|
+
case 2:
|
|
371
|
+
response = _a.sent();
|
|
372
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(CalendarEntryDto_1.CalendarEntryDtoFromJSON); })];
|
|
373
|
+
}
|
|
374
|
+
});
|
|
375
|
+
});
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* get the calendar entries overlapping a period, every repeating entry expanded into its occurrences
|
|
379
|
+
*/
|
|
380
|
+
CalendarEntriesApi.prototype.getCalendarEntryOccurrences = function (requestParameters, initOverrides) {
|
|
381
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
382
|
+
var response;
|
|
383
|
+
return __generator(this, function (_a) {
|
|
384
|
+
switch (_a.label) {
|
|
385
|
+
case 0: return [4 /*yield*/, this.getCalendarEntryOccurrencesRaw(requestParameters, initOverrides)];
|
|
386
|
+
case 1:
|
|
387
|
+
response = _a.sent();
|
|
388
|
+
return [4 /*yield*/, response.value()];
|
|
389
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
390
|
+
}
|
|
391
|
+
});
|
|
392
|
+
});
|
|
393
|
+
};
|
|
318
394
|
/**
|
|
319
395
|
* Creates request options for updateCalendarEntry without sending the request
|
|
320
396
|
*/
|
|
@@ -332,6 +408,12 @@ var CalendarEntriesApi = /** @class */ (function (_super) {
|
|
|
332
408
|
if (requestParameters['force'] != null) {
|
|
333
409
|
queryParameters['force'] = requestParameters['force'];
|
|
334
410
|
}
|
|
411
|
+
if (requestParameters['recurrenceScope'] != null) {
|
|
412
|
+
queryParameters['recurrenceScope'] = requestParameters['recurrenceScope'];
|
|
413
|
+
}
|
|
414
|
+
if (requestParameters['originalStartDate'] != null) {
|
|
415
|
+
queryParameters['originalStartDate'] = requestParameters['originalStartDate'];
|
|
416
|
+
}
|
|
335
417
|
headerParameters = {};
|
|
336
418
|
headerParameters['Content-Type'] = 'application/json';
|
|
337
419
|
urlPath = "/ui/calendar/v1/calendar-entries/{id}";
|
|
@@ -16,7 +16,7 @@ export interface CreateCustomerRequest {
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
|
-
customerDto: Omit<CustomerDto, 'id' | 'version' | 'deleted'>;
|
|
19
|
+
customerDto: Omit<CustomerDto, 'id' | 'version' | 'deleted' | 'modificationTime'>;
|
|
20
20
|
}
|
|
21
21
|
export interface DeleteCustomerRequest {
|
|
22
22
|
/**
|
|
@@ -33,6 +33,10 @@ export interface GetAllCustomersRequest {
|
|
|
33
33
|
* Filter query parameters. Operators: sim, nsim, eq, neq, leq, less, geq, gtr). Values have to be url-encoded.
|
|
34
34
|
*/
|
|
35
35
|
filter?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* whether retired entities are returned as well, so a synchronizing client learns about deletions
|
|
38
|
+
*/
|
|
39
|
+
includeDeleted?: boolean;
|
|
36
40
|
}
|
|
37
41
|
export interface GetCustomerRequest {
|
|
38
42
|
/**
|
|
@@ -48,7 +52,7 @@ export interface UpdateCustomerRequest {
|
|
|
48
52
|
/**
|
|
49
53
|
*
|
|
50
54
|
*/
|
|
51
|
-
customerDto: Omit<CustomerDto, 'id' | 'version' | 'deleted'>;
|
|
55
|
+
customerDto: Omit<CustomerDto, 'id' | 'version' | 'deleted' | 'modificationTime'>;
|
|
52
56
|
/**
|
|
53
57
|
* whether to force update the entity
|
|
54
58
|
*/
|
|
@@ -209,6 +209,9 @@ var CustomersApi = /** @class */ (function (_super) {
|
|
|
209
209
|
if (requestParameters['filter'] != null) {
|
|
210
210
|
queryParameters['filter'] = requestParameters['filter'];
|
|
211
211
|
}
|
|
212
|
+
if (requestParameters['includeDeleted'] != null) {
|
|
213
|
+
queryParameters['includeDeleted'] = requestParameters['includeDeleted'];
|
|
214
|
+
}
|
|
212
215
|
headerParameters = {};
|
|
213
216
|
urlPath = "/ui/customers/v1";
|
|
214
217
|
return [2 /*return*/, {
|
|
@@ -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;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfDavCalendarResourceDto = instanceOfDavCalendarResourceDto;
|
|
16
|
+
exports.DavCalendarResourceDtoFromJSON = DavCalendarResourceDtoFromJSON;
|
|
17
|
+
exports.DavCalendarResourceDtoFromJSONTyped = DavCalendarResourceDtoFromJSONTyped;
|
|
18
|
+
exports.DavCalendarResourceDtoToJSON = DavCalendarResourceDtoToJSON;
|
|
19
|
+
exports.DavCalendarResourceDtoToJSONTyped = DavCalendarResourceDtoToJSONTyped;
|
|
20
|
+
var CalendarEntryDto_1 = require("./CalendarEntryDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DavCalendarResourceDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDavCalendarResourceDto(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('uid' in value) || value['uid'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('deleted' in value) || value['deleted'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('changeSeq' in value) || value['changeSeq'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('entries' in value) || value['entries'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function DavCalendarResourceDtoFromJSON(json) {
|
|
38
|
+
return DavCalendarResourceDtoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function DavCalendarResourceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'uid': json['uid'],
|
|
47
|
+
'deleted': json['deleted'],
|
|
48
|
+
'changeSeq': json['changeSeq'],
|
|
49
|
+
'entries': (json['entries'].map(CalendarEntryDto_1.CalendarEntryDtoFromJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function DavCalendarResourceDtoToJSON(json) {
|
|
53
|
+
return DavCalendarResourceDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function DavCalendarResourceDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'name': value['name'],
|
|
62
|
+
'uid': value['uid'],
|
|
63
|
+
'deleted': value['deleted'],
|
|
64
|
+
'changeSeq': value['changeSeq'],
|
|
65
|
+
'entries': (value['entries'].map(CalendarEntryDto_1.CalendarEntryDtoToJSON)),
|
|
66
|
+
};
|
|
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 { CalendarEntryDto } from './CalendarEntryDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DavCalendarResourceWriteDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DavCalendarResourceWriteDto {
|
|
18
|
+
/**
|
|
19
|
+
* iCal UID of the resource, shared by a series and its changed occurrences
|
|
20
|
+
*/
|
|
21
|
+
uid: string;
|
|
22
|
+
/**
|
|
23
|
+
* the series (without originalStartDate) and its changed occurrences (with originalStartDate); a new resource needs the series
|
|
24
|
+
*/
|
|
25
|
+
entries: Array<CalendarEntryDto>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the DavCalendarResourceWriteDto interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfDavCalendarResourceWriteDto(value: object): value is DavCalendarResourceWriteDto;
|
|
31
|
+
export declare function DavCalendarResourceWriteDtoFromJSON(json: any): DavCalendarResourceWriteDto;
|
|
32
|
+
export declare function DavCalendarResourceWriteDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DavCalendarResourceWriteDto;
|
|
33
|
+
export declare function DavCalendarResourceWriteDtoToJSON(json: any): DavCalendarResourceWriteDto;
|
|
34
|
+
export declare function DavCalendarResourceWriteDtoToJSONTyped(value?: DavCalendarResourceWriteDto | 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.instanceOfDavCalendarResourceWriteDto = instanceOfDavCalendarResourceWriteDto;
|
|
16
|
+
exports.DavCalendarResourceWriteDtoFromJSON = DavCalendarResourceWriteDtoFromJSON;
|
|
17
|
+
exports.DavCalendarResourceWriteDtoFromJSONTyped = DavCalendarResourceWriteDtoFromJSONTyped;
|
|
18
|
+
exports.DavCalendarResourceWriteDtoToJSON = DavCalendarResourceWriteDtoToJSON;
|
|
19
|
+
exports.DavCalendarResourceWriteDtoToJSONTyped = DavCalendarResourceWriteDtoToJSONTyped;
|
|
20
|
+
var CalendarEntryDto_1 = require("./CalendarEntryDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DavCalendarResourceWriteDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDavCalendarResourceWriteDto(value) {
|
|
25
|
+
if (!('uid' in value) || value['uid'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('entries' in value) || value['entries'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function DavCalendarResourceWriteDtoFromJSON(json) {
|
|
32
|
+
return DavCalendarResourceWriteDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function DavCalendarResourceWriteDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'uid': json['uid'],
|
|
40
|
+
'entries': (json['entries'].map(CalendarEntryDto_1.CalendarEntryDtoFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function DavCalendarResourceWriteDtoToJSON(json) {
|
|
44
|
+
return DavCalendarResourceWriteDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DavCalendarResourceWriteDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'uid': value['uid'],
|
|
53
|
+
'entries': (value['entries'].map(CalendarEntryDto_1.CalendarEntryDtoToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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
|
+
* which occurrences of a repeating entry a change applies to: THIS changes only the occurrence starting at originalStartDate, FOLLOWING ends the series before that occurrence and continues it from there as a new series with a uid of its own, ALL changes the whole series
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const RecurrenceScope: {
|
|
16
|
+
readonly This: "THIS";
|
|
17
|
+
readonly Following: "FOLLOWING";
|
|
18
|
+
readonly All: "ALL";
|
|
19
|
+
};
|
|
20
|
+
export type RecurrenceScope = typeof RecurrenceScope[keyof typeof RecurrenceScope];
|
|
21
|
+
export declare function instanceOfRecurrenceScope(value: any): boolean;
|
|
22
|
+
export declare function RecurrenceScopeFromJSON(json: any): RecurrenceScope;
|
|
23
|
+
export declare function RecurrenceScopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecurrenceScope;
|
|
24
|
+
export declare function RecurrenceScopeToJSON(value?: RecurrenceScope | null): any;
|
|
25
|
+
export declare function RecurrenceScopeToJSONTyped(value: any, ignoreDiscriminator: boolean): RecurrenceScope;
|
|
@@ -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.RecurrenceScope = void 0;
|
|
16
|
+
exports.instanceOfRecurrenceScope = instanceOfRecurrenceScope;
|
|
17
|
+
exports.RecurrenceScopeFromJSON = RecurrenceScopeFromJSON;
|
|
18
|
+
exports.RecurrenceScopeFromJSONTyped = RecurrenceScopeFromJSONTyped;
|
|
19
|
+
exports.RecurrenceScopeToJSON = RecurrenceScopeToJSON;
|
|
20
|
+
exports.RecurrenceScopeToJSONTyped = RecurrenceScopeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* which occurrences of a repeating entry a change applies to: THIS changes only the occurrence starting at originalStartDate, FOLLOWING ends the series before that occurrence and continues it from there as a new series with a uid of its own, ALL changes the whole series
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.RecurrenceScope = {
|
|
26
|
+
This: 'THIS',
|
|
27
|
+
Following: 'FOLLOWING',
|
|
28
|
+
All: 'ALL',
|
|
29
|
+
};
|
|
30
|
+
function instanceOfRecurrenceScope(value) {
|
|
31
|
+
for (var key in exports.RecurrenceScope) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.RecurrenceScope, key)) {
|
|
33
|
+
if (exports.RecurrenceScope[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function RecurrenceScopeFromJSON(json) {
|
|
41
|
+
return RecurrenceScopeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RecurrenceScopeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function RecurrenceScopeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function RecurrenceScopeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -84,6 +84,9 @@ export * from './DataTableExportFormat';
|
|
|
84
84
|
export * from './DataTableKeyType';
|
|
85
85
|
export * from './DataTableRowDto';
|
|
86
86
|
export * from './DataTableRowDtoChange';
|
|
87
|
+
export * from './DavCalendarDto';
|
|
88
|
+
export * from './DavCalendarResourceDto';
|
|
89
|
+
export * from './DavCalendarResourceWriteDto';
|
|
87
90
|
export * from './DecisionTableAggregation';
|
|
88
91
|
export * from './DecisionTableDto';
|
|
89
92
|
export * from './DecisionTableHitPolicy';
|
|
@@ -142,7 +145,6 @@ export * from './GetAllAccountingTransactions200Response';
|
|
|
142
145
|
export * from './GetAllAccountingTurnover200Response';
|
|
143
146
|
export * from './GetAllAccounts200Response';
|
|
144
147
|
export * from './GetAllActivities200Response';
|
|
145
|
-
export * from './GetAllAppointmentSlots200Response';
|
|
146
148
|
export * from './GetAllAppointments200Response';
|
|
147
149
|
export * from './GetAllApprovalEntries200Response';
|
|
148
150
|
export * from './GetAllApprovalTypes200Response';
|
|
@@ -271,6 +273,7 @@ export * from './PublicShareFileDto';
|
|
|
271
273
|
export * from './PublicShareListingDto';
|
|
272
274
|
export * from './PublicTenantLegalInfoDto';
|
|
273
275
|
export * from './PublicTenantPageDto';
|
|
276
|
+
export * from './RecurrenceScope';
|
|
274
277
|
export * from './ReferenceDto';
|
|
275
278
|
export * from './RegisterUserDto';
|
|
276
279
|
export * from './RoleDto';
|
package/dist/models/index.js
CHANGED
|
@@ -102,6 +102,9 @@ __exportStar(require("./DataTableExportFormat"), exports);
|
|
|
102
102
|
__exportStar(require("./DataTableKeyType"), exports);
|
|
103
103
|
__exportStar(require("./DataTableRowDto"), exports);
|
|
104
104
|
__exportStar(require("./DataTableRowDtoChange"), exports);
|
|
105
|
+
__exportStar(require("./DavCalendarDto"), exports);
|
|
106
|
+
__exportStar(require("./DavCalendarResourceDto"), exports);
|
|
107
|
+
__exportStar(require("./DavCalendarResourceWriteDto"), exports);
|
|
105
108
|
__exportStar(require("./DecisionTableAggregation"), exports);
|
|
106
109
|
__exportStar(require("./DecisionTableDto"), exports);
|
|
107
110
|
__exportStar(require("./DecisionTableHitPolicy"), exports);
|
|
@@ -160,7 +163,6 @@ __exportStar(require("./GetAllAccountingTransactions200Response"), exports);
|
|
|
160
163
|
__exportStar(require("./GetAllAccountingTurnover200Response"), exports);
|
|
161
164
|
__exportStar(require("./GetAllAccounts200Response"), exports);
|
|
162
165
|
__exportStar(require("./GetAllActivities200Response"), exports);
|
|
163
|
-
__exportStar(require("./GetAllAppointmentSlots200Response"), exports);
|
|
164
166
|
__exportStar(require("./GetAllAppointments200Response"), exports);
|
|
165
167
|
__exportStar(require("./GetAllApprovalEntries200Response"), exports);
|
|
166
168
|
__exportStar(require("./GetAllApprovalTypes200Response"), exports);
|
|
@@ -289,6 +291,7 @@ __exportStar(require("./PublicShareFileDto"), exports);
|
|
|
289
291
|
__exportStar(require("./PublicShareListingDto"), exports);
|
|
290
292
|
__exportStar(require("./PublicTenantLegalInfoDto"), exports);
|
|
291
293
|
__exportStar(require("./PublicTenantPageDto"), exports);
|
|
294
|
+
__exportStar(require("./RecurrenceScope"), exports);
|
|
292
295
|
__exportStar(require("./ReferenceDto"), exports);
|
|
293
296
|
__exportStar(require("./RegisterUserDto"), exports);
|
|
294
297
|
__exportStar(require("./RoleDto"), exports);
|