@kommerz/ts-client 1.193.0 → 1.194.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 +4 -3
- package/dist/apis/AppointmentPortalApi.js +6 -5
- package/dist/apis/AppointmentUsersApi.d.ts +121 -0
- package/dist/apis/AppointmentUsersApi.js +387 -0
- package/dist/apis/AppointmentsApi.d.ts +2 -2
- package/dist/apis/CalendarEntryTypesApi.d.ts +2 -2
- package/dist/apis/DecisionTablesApi.d.ts +2 -2
- package/dist/apis/DesignTemplatesApi.d.ts +2 -2
- package/dist/apis/TextModulesApi.d.ts +2 -2
- package/dist/apis/UsersMeApi.d.ts +13 -0
- package/dist/apis/UsersMeApi.js +56 -0
- package/dist/apis/WorkflowExternalTasksApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.d.ts +2 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountCalendarEntryDto.d.ts +38 -0
- package/dist/models/AccountCalendarEntryDto.js +59 -0
- package/dist/models/AddressDto.d.ts +8 -0
- package/dist/models/AddressDto.js +4 -0
- package/dist/models/AppointmentDto.d.ts +14 -5
- package/dist/models/AppointmentDto.js +9 -2
- package/dist/models/AppointmentPortalDto.d.ts +5 -0
- package/dist/models/AppointmentPortalDto.js +3 -0
- package/dist/models/AppointmentSubmissionDto.d.ts +35 -0
- package/dist/models/AppointmentSubmissionDto.js +54 -0
- package/dist/models/AppointmentUserDto.d.ts +51 -0
- package/dist/models/AppointmentUserDto.js +55 -0
- package/dist/models/AttendedCalendarEntryDto.d.ts +63 -0
- package/dist/models/AttendedCalendarEntryDto.js +76 -0
- package/dist/models/CalendarAttendeeDto.d.ts +4 -0
- package/dist/models/CalendarAttendeeDto.js +2 -0
- package/dist/models/CalendarEntryDto.d.ts +8 -0
- package/dist/models/CalendarEntryDto.js +4 -0
- package/dist/models/CalendarEntryTypeDto.d.ts +9 -1
- package/dist/models/CalendarEntryTypeDto.js +3 -0
- package/dist/models/CustomerAddressDto.d.ts +34 -0
- package/dist/models/CustomerAddressDto.js +55 -0
- package/dist/models/CustomerDto.d.ts +5 -0
- package/dist/models/CustomerDto.js +3 -0
- package/dist/models/DecisionTableDto.d.ts +5 -1
- package/dist/models/DecisionTableDto.js +1 -0
- package/dist/models/DesignTemplateDto.d.ts +5 -1
- package/dist/models/DesignTemplateDto.js +1 -0
- package/dist/models/EmailDto.d.ts +4 -0
- package/dist/models/EmailDto.js +2 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +1 -0
- package/dist/models/GetAllAppointmentUsers200Response.d.ts +42 -0
- package/dist/models/GetAllAppointmentUsers200Response.js +59 -0
- package/dist/models/Permissions.d.ts +4 -0
- package/dist/models/Permissions.js +4 -0
- package/dist/models/RoutingConfigDto.d.ts +8 -0
- package/dist/models/RoutingConfigDto.js +4 -0
- package/dist/models/TextModuleDto.d.ts +5 -1
- package/dist/models/TextModuleDto.js +1 -0
- package/dist/models/WorkflowDto.d.ts +5 -1
- package/dist/models/WorkflowDto.js +1 -0
- package/dist/models/WorkflowExternalTaskDto.d.ts +5 -1
- package/dist/models/WorkflowExternalTaskDto.js +1 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ export interface CreateTextModuleRequest {
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
|
-
textModuleDto: TextModuleDto
|
|
19
|
+
textModuleDto: Omit<TextModuleDto, 'managed'>;
|
|
20
20
|
}
|
|
21
21
|
export interface DeleteTextModuleRequest {
|
|
22
22
|
/**
|
|
@@ -48,7 +48,7 @@ export interface UpdateTextModuleRequest {
|
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
*/
|
|
51
|
-
textModuleDto: TextModuleDto
|
|
51
|
+
textModuleDto: Omit<TextModuleDto, 'managed'>;
|
|
52
52
|
/**
|
|
53
53
|
* whether to force update the entity
|
|
54
54
|
*/
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
12
|
import { type AccountAppointmentDto } from '../models/AccountAppointmentDto';
|
|
13
|
+
import { type AccountCalendarEntryDto } from '../models/AccountCalendarEntryDto';
|
|
13
14
|
import { type AccountDeletionPreviewDto } from '../models/AccountDeletionPreviewDto';
|
|
14
15
|
import { type UserDto } from '../models/UserDto';
|
|
15
16
|
export interface UpdateAvatarRequest {
|
|
@@ -70,6 +71,18 @@ export declare class UsersMeApi extends runtime.BaseAPI {
|
|
|
70
71
|
* list the appointments the logged-in user requested at any tenant
|
|
71
72
|
*/
|
|
72
73
|
getMyAppointments(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AccountAppointmentDto>>;
|
|
74
|
+
/**
|
|
75
|
+
* Creates request options for getMyCalendarEntries without sending the request
|
|
76
|
+
*/
|
|
77
|
+
getMyCalendarEntriesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
78
|
+
/**
|
|
79
|
+
* list the calendar entries the logged-in user attends at any tenant
|
|
80
|
+
*/
|
|
81
|
+
getMyCalendarEntriesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AccountCalendarEntryDto>>>;
|
|
82
|
+
/**
|
|
83
|
+
* list the calendar entries the logged-in user attends at any tenant
|
|
84
|
+
*/
|
|
85
|
+
getMyCalendarEntries(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AccountCalendarEntryDto>>;
|
|
73
86
|
/**
|
|
74
87
|
* Creates request options for requestAccountDeletion without sending the request
|
|
75
88
|
*/
|
package/dist/apis/UsersMeApi.js
CHANGED
|
@@ -66,6 +66,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
66
66
|
exports.UsersMeApi = void 0;
|
|
67
67
|
var runtime = require("../runtime");
|
|
68
68
|
var AccountAppointmentDto_1 = require("../models/AccountAppointmentDto");
|
|
69
|
+
var AccountCalendarEntryDto_1 = require("../models/AccountCalendarEntryDto");
|
|
69
70
|
var AccountDeletionPreviewDto_1 = require("../models/AccountDeletionPreviewDto");
|
|
70
71
|
var UserDto_1 = require("../models/UserDto");
|
|
71
72
|
/**
|
|
@@ -294,6 +295,61 @@ var UsersMeApi = /** @class */ (function (_super) {
|
|
|
294
295
|
});
|
|
295
296
|
});
|
|
296
297
|
};
|
|
298
|
+
/**
|
|
299
|
+
* Creates request options for getMyCalendarEntries without sending the request
|
|
300
|
+
*/
|
|
301
|
+
UsersMeApi.prototype.getMyCalendarEntriesRequestOpts = function () {
|
|
302
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
303
|
+
var queryParameters, headerParameters, urlPath;
|
|
304
|
+
return __generator(this, function (_a) {
|
|
305
|
+
queryParameters = {};
|
|
306
|
+
headerParameters = {};
|
|
307
|
+
urlPath = "/ui/users/v1/me/calendar-entries";
|
|
308
|
+
return [2 /*return*/, {
|
|
309
|
+
path: urlPath,
|
|
310
|
+
method: 'GET',
|
|
311
|
+
headers: headerParameters,
|
|
312
|
+
query: queryParameters,
|
|
313
|
+
}];
|
|
314
|
+
});
|
|
315
|
+
});
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* list the calendar entries the logged-in user attends at any tenant
|
|
319
|
+
*/
|
|
320
|
+
UsersMeApi.prototype.getMyCalendarEntriesRaw = function (initOverrides) {
|
|
321
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
322
|
+
var requestOptions, response;
|
|
323
|
+
return __generator(this, function (_a) {
|
|
324
|
+
switch (_a.label) {
|
|
325
|
+
case 0: return [4 /*yield*/, this.getMyCalendarEntriesRequestOpts()];
|
|
326
|
+
case 1:
|
|
327
|
+
requestOptions = _a.sent();
|
|
328
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
329
|
+
case 2:
|
|
330
|
+
response = _a.sent();
|
|
331
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(AccountCalendarEntryDto_1.AccountCalendarEntryDtoFromJSON); })];
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
});
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* list the calendar entries the logged-in user attends at any tenant
|
|
338
|
+
*/
|
|
339
|
+
UsersMeApi.prototype.getMyCalendarEntries = function (initOverrides) {
|
|
340
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
341
|
+
var response;
|
|
342
|
+
return __generator(this, function (_a) {
|
|
343
|
+
switch (_a.label) {
|
|
344
|
+
case 0: return [4 /*yield*/, this.getMyCalendarEntriesRaw(initOverrides)];
|
|
345
|
+
case 1:
|
|
346
|
+
response = _a.sent();
|
|
347
|
+
return [4 /*yield*/, response.value()];
|
|
348
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
});
|
|
352
|
+
};
|
|
297
353
|
/**
|
|
298
354
|
* Creates request options for requestAccountDeletion without sending the request
|
|
299
355
|
*/
|
|
@@ -20,7 +20,7 @@ export interface CreateWorkflowExternalTaskRequest {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
workflowExternalTaskDto: WorkflowExternalTaskDto
|
|
23
|
+
workflowExternalTaskDto: Omit<WorkflowExternalTaskDto, 'managed'>;
|
|
24
24
|
}
|
|
25
25
|
export interface DeleteWorkflowExternalTaskRequest {
|
|
26
26
|
/**
|
|
@@ -68,7 +68,7 @@ export interface UpdateExternalTaskRequest {
|
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
*/
|
|
71
|
-
workflowExternalTaskDto: WorkflowExternalTaskDto
|
|
71
|
+
workflowExternalTaskDto: Omit<WorkflowExternalTaskDto, 'managed'>;
|
|
72
72
|
/**
|
|
73
73
|
* whether to force update the entity
|
|
74
74
|
*/
|
|
@@ -19,7 +19,7 @@ export interface CreateWorkflowRequest {
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
workflowDto: WorkflowDto
|
|
22
|
+
workflowDto: Omit<WorkflowDto, 'managed'>;
|
|
23
23
|
}
|
|
24
24
|
export interface DeleteWorkflowRequest {
|
|
25
25
|
/**
|
|
@@ -89,7 +89,7 @@ export interface UpdateWorkflowRequest {
|
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
*/
|
|
92
|
-
workflowDto: WorkflowDto
|
|
92
|
+
workflowDto: Omit<WorkflowDto, 'managed'>;
|
|
93
93
|
/**
|
|
94
94
|
* whether to force update the entity
|
|
95
95
|
*/
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './AccountingTransactionsApi';
|
|
|
12
12
|
export * from './AccountingTurnoversApi';
|
|
13
13
|
export * from './ActivitiesApi';
|
|
14
14
|
export * from './AppointmentPortalApi';
|
|
15
|
+
export * from './AppointmentUsersApi';
|
|
15
16
|
export * from './AppointmentsApi';
|
|
16
17
|
export * from './ApprovalEntriesApi';
|
|
17
18
|
export * from './ApprovalEntriesApproveApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __exportStar(require("./AccountingTransactionsApi"), exports);
|
|
|
30
30
|
__exportStar(require("./AccountingTurnoversApi"), exports);
|
|
31
31
|
__exportStar(require("./ActivitiesApi"), exports);
|
|
32
32
|
__exportStar(require("./AppointmentPortalApi"), exports);
|
|
33
|
+
__exportStar(require("./AppointmentUsersApi"), exports);
|
|
33
34
|
__exportStar(require("./AppointmentsApi"), exports);
|
|
34
35
|
__exportStar(require("./ApprovalEntriesApi"), exports);
|
|
35
36
|
__exportStar(require("./ApprovalEntriesApproveApi"), exports);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import type { AttendedCalendarEntryDto } from './AttendedCalendarEntryDto';
|
|
12
|
+
/**
|
|
13
|
+
* a calendar entry the logged-in user attends together with the tenant it belongs to
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AccountCalendarEntryDto
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountCalendarEntryDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
tenantHandle: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
tenantName: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
entry: AttendedCalendarEntryDto;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AccountCalendarEntryDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAccountCalendarEntryDto(value: object): value is AccountCalendarEntryDto;
|
|
35
|
+
export declare function AccountCalendarEntryDtoFromJSON(json: any): AccountCalendarEntryDto;
|
|
36
|
+
export declare function AccountCalendarEntryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountCalendarEntryDto;
|
|
37
|
+
export declare function AccountCalendarEntryDtoToJSON(json: any): AccountCalendarEntryDto;
|
|
38
|
+
export declare function AccountCalendarEntryDtoToJSONTyped(value?: AccountCalendarEntryDto | 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.instanceOfAccountCalendarEntryDto = instanceOfAccountCalendarEntryDto;
|
|
16
|
+
exports.AccountCalendarEntryDtoFromJSON = AccountCalendarEntryDtoFromJSON;
|
|
17
|
+
exports.AccountCalendarEntryDtoFromJSONTyped = AccountCalendarEntryDtoFromJSONTyped;
|
|
18
|
+
exports.AccountCalendarEntryDtoToJSON = AccountCalendarEntryDtoToJSON;
|
|
19
|
+
exports.AccountCalendarEntryDtoToJSONTyped = AccountCalendarEntryDtoToJSONTyped;
|
|
20
|
+
var AttendedCalendarEntryDto_1 = require("./AttendedCalendarEntryDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AccountCalendarEntryDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAccountCalendarEntryDto(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 (!('entry' in value) || value['entry'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function AccountCalendarEntryDtoFromJSON(json) {
|
|
34
|
+
return AccountCalendarEntryDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function AccountCalendarEntryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'tenantHandle': json['tenantHandle'],
|
|
42
|
+
'tenantName': json['tenantName'],
|
|
43
|
+
'entry': (0, AttendedCalendarEntryDto_1.AttendedCalendarEntryDtoFromJSON)(json['entry']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function AccountCalendarEntryDtoToJSON(json) {
|
|
47
|
+
return AccountCalendarEntryDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AccountCalendarEntryDtoToJSONTyped(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
|
+
'entry': (0, AttendedCalendarEntryDto_1.AttendedCalendarEntryDtoToJSON)(value['entry']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -39,6 +39,14 @@ export interface AddressDto {
|
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
41
41
|
countryCode?: CountryCode;
|
|
42
|
+
/**
|
|
43
|
+
* latitude of the address (WGS 84), not shown in the UI
|
|
44
|
+
*/
|
|
45
|
+
lat?: number;
|
|
46
|
+
/**
|
|
47
|
+
* longitude of the address (WGS 84), not shown in the UI
|
|
48
|
+
*/
|
|
49
|
+
_long?: number;
|
|
42
50
|
}
|
|
43
51
|
/**
|
|
44
52
|
* Check if a given object implements the AddressDto interface.
|
|
@@ -38,6 +38,8 @@ function AddressDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'zipCode': json['zipCode'] == null ? undefined : json['zipCode'],
|
|
39
39
|
'city': json['city'] == null ? undefined : json['city'],
|
|
40
40
|
'countryCode': json['countryCode'] == null ? undefined : (0, CountryCode_1.CountryCodeFromJSON)(json['countryCode']),
|
|
41
|
+
'lat': json['lat'] == null ? undefined : json['lat'],
|
|
42
|
+
'_long': json['long'] == null ? undefined : json['long'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
function AddressDtoToJSON(json) {
|
|
@@ -55,5 +57,7 @@ function AddressDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
57
|
'zipCode': value['zipCode'],
|
|
56
58
|
'city': value['city'],
|
|
57
59
|
'countryCode': (0, CountryCode_1.CountryCodeToJSON)(value['countryCode']),
|
|
60
|
+
'lat': value['lat'],
|
|
61
|
+
'long': value['_long'],
|
|
58
62
|
};
|
|
59
63
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import type { TimeSpanDto } from './TimeSpanDto';
|
|
12
|
+
import type { AddressDto } from './AddressDto';
|
|
12
13
|
import type { AppointmentStatus } from './AppointmentStatus';
|
|
13
14
|
/**
|
|
14
15
|
* an appointment a user requested in the tenant portal or a member of the tenant created
|
|
@@ -37,13 +38,21 @@ export interface AppointmentDto {
|
|
|
37
38
|
*/
|
|
38
39
|
status: AppointmentStatus;
|
|
39
40
|
/**
|
|
40
|
-
* the user
|
|
41
|
+
* the appointment user the appointment is made for
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
+
appointmentUserId: string;
|
|
43
44
|
/**
|
|
44
|
-
* name of the user
|
|
45
|
+
* name of the customer of the appointment user, otherwise of its user
|
|
45
46
|
*/
|
|
46
|
-
readonly
|
|
47
|
+
readonly appointmentUserName?: string;
|
|
48
|
+
/**
|
|
49
|
+
* the place of the appointment
|
|
50
|
+
*/
|
|
51
|
+
address?: AddressDto;
|
|
52
|
+
/**
|
|
53
|
+
* the calendar entry the application created for the appointment; removed once the entry gets another type
|
|
54
|
+
*/
|
|
55
|
+
readonly calendarEntryId?: string;
|
|
47
56
|
}
|
|
48
57
|
/**
|
|
49
58
|
* Check if a given object implements the AppointmentDto interface.
|
|
@@ -52,4 +61,4 @@ export declare function instanceOfAppointmentDto(value: object): value is Appoin
|
|
|
52
61
|
export declare function AppointmentDtoFromJSON(json: any): AppointmentDto;
|
|
53
62
|
export declare function AppointmentDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentDto;
|
|
54
63
|
export declare function AppointmentDtoToJSON(json: any): AppointmentDto;
|
|
55
|
-
export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, '
|
|
64
|
+
export declare function AppointmentDtoToJSONTyped(value?: Omit<AppointmentDto, 'appointmentUserName' | 'calendarEntryId'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -18,6 +18,7 @@ exports.AppointmentDtoFromJSONTyped = AppointmentDtoFromJSONTyped;
|
|
|
18
18
|
exports.AppointmentDtoToJSON = AppointmentDtoToJSON;
|
|
19
19
|
exports.AppointmentDtoToJSONTyped = AppointmentDtoToJSONTyped;
|
|
20
20
|
var TimeSpanDto_1 = require("./TimeSpanDto");
|
|
21
|
+
var AddressDto_1 = require("./AddressDto");
|
|
21
22
|
var AppointmentStatus_1 = require("./AppointmentStatus");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the AppointmentDto interface.
|
|
@@ -27,6 +28,8 @@ function instanceOfAppointmentDto(value) {
|
|
|
27
28
|
return false;
|
|
28
29
|
if (!('status' in value) || value['status'] === undefined)
|
|
29
30
|
return false;
|
|
31
|
+
if (!('appointmentUserId' in value) || value['appointmentUserId'] === undefined)
|
|
32
|
+
return false;
|
|
30
33
|
return true;
|
|
31
34
|
}
|
|
32
35
|
function AppointmentDtoFromJSON(json) {
|
|
@@ -42,8 +45,10 @@ function AppointmentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
45
|
'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['submittedTimeSpan']),
|
|
43
46
|
'confirmedTimeSpan': json['confirmedTimeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['confirmedTimeSpan']),
|
|
44
47
|
'status': (0, AppointmentStatus_1.AppointmentStatusFromJSON)(json['status']),
|
|
45
|
-
'
|
|
46
|
-
'
|
|
48
|
+
'appointmentUserId': json['appointmentUserId'],
|
|
49
|
+
'appointmentUserName': json['appointmentUserName'] == null ? undefined : json['appointmentUserName'],
|
|
50
|
+
'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
51
|
+
'calendarEntryId': json['calendarEntryId'] == null ? undefined : json['calendarEntryId'],
|
|
47
52
|
};
|
|
48
53
|
}
|
|
49
54
|
function AppointmentDtoToJSON(json) {
|
|
@@ -60,5 +65,7 @@ function AppointmentDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
65
|
'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['submittedTimeSpan']),
|
|
61
66
|
'confirmedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['confirmedTimeSpan']),
|
|
62
67
|
'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
|
|
68
|
+
'appointmentUserId': value['appointmentUserId'],
|
|
69
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
63
70
|
};
|
|
64
71
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import type { TimeSpanDto } from './TimeSpanDto';
|
|
12
|
+
import type { AddressDto } from './AddressDto';
|
|
12
13
|
import type { AppointmentStatus } from './AppointmentStatus';
|
|
13
14
|
/**
|
|
14
15
|
* an appointment as its requester sees it in the tenant portal and in the account
|
|
@@ -32,6 +33,10 @@ export interface AppointmentPortalDto {
|
|
|
32
33
|
*
|
|
33
34
|
*/
|
|
34
35
|
status: AppointmentStatus;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
address?: AddressDto;
|
|
35
40
|
}
|
|
36
41
|
/**
|
|
37
42
|
* Check if a given object implements the AppointmentPortalDto interface.
|
|
@@ -18,6 +18,7 @@ exports.AppointmentPortalDtoFromJSONTyped = AppointmentPortalDtoFromJSONTyped;
|
|
|
18
18
|
exports.AppointmentPortalDtoToJSON = AppointmentPortalDtoToJSON;
|
|
19
19
|
exports.AppointmentPortalDtoToJSONTyped = AppointmentPortalDtoToJSONTyped;
|
|
20
20
|
var TimeSpanDto_1 = require("./TimeSpanDto");
|
|
21
|
+
var AddressDto_1 = require("./AddressDto");
|
|
21
22
|
var AppointmentStatus_1 = require("./AppointmentStatus");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the AppointmentPortalDto interface.
|
|
@@ -43,6 +44,7 @@ function AppointmentPortalDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
44
|
'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['submittedTimeSpan']),
|
|
44
45
|
'confirmedTimeSpan': json['confirmedTimeSpan'] == null ? undefined : (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['confirmedTimeSpan']),
|
|
45
46
|
'status': (0, AppointmentStatus_1.AppointmentStatusFromJSON)(json['status']),
|
|
47
|
+
'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
46
48
|
};
|
|
47
49
|
}
|
|
48
50
|
function AppointmentPortalDtoToJSON(json) {
|
|
@@ -58,5 +60,6 @@ function AppointmentPortalDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
60
|
'submittedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['submittedTimeSpan']),
|
|
59
61
|
'confirmedTimeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['confirmedTimeSpan']),
|
|
60
62
|
'status': (0, AppointmentStatus_1.AppointmentStatusToJSON)(value['status']),
|
|
63
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
61
64
|
};
|
|
62
65
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { AddressDto } from './AddressDto';
|
|
13
|
+
/**
|
|
14
|
+
* the time spans a user requests in the tenant portal, one appointment each, at an optional address
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AppointmentSubmissionDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AppointmentSubmissionDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
timeSpans: Array<TimeSpanDto>;
|
|
23
|
+
/**
|
|
24
|
+
* the place of the appointments
|
|
25
|
+
*/
|
|
26
|
+
address?: AddressDto;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the AppointmentSubmissionDto interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfAppointmentSubmissionDto(value: object): value is AppointmentSubmissionDto;
|
|
32
|
+
export declare function AppointmentSubmissionDtoFromJSON(json: any): AppointmentSubmissionDto;
|
|
33
|
+
export declare function AppointmentSubmissionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentSubmissionDto;
|
|
34
|
+
export declare function AppointmentSubmissionDtoToJSON(json: any): AppointmentSubmissionDto;
|
|
35
|
+
export declare function AppointmentSubmissionDtoToJSONTyped(value?: AppointmentSubmissionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfAppointmentSubmissionDto = instanceOfAppointmentSubmissionDto;
|
|
16
|
+
exports.AppointmentSubmissionDtoFromJSON = AppointmentSubmissionDtoFromJSON;
|
|
17
|
+
exports.AppointmentSubmissionDtoFromJSONTyped = AppointmentSubmissionDtoFromJSONTyped;
|
|
18
|
+
exports.AppointmentSubmissionDtoToJSON = AppointmentSubmissionDtoToJSON;
|
|
19
|
+
exports.AppointmentSubmissionDtoToJSONTyped = AppointmentSubmissionDtoToJSONTyped;
|
|
20
|
+
var TimeSpanDto_1 = require("./TimeSpanDto");
|
|
21
|
+
var AddressDto_1 = require("./AddressDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AppointmentSubmissionDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAppointmentSubmissionDto(value) {
|
|
26
|
+
if (!('timeSpans' in value) || value['timeSpans'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AppointmentSubmissionDtoFromJSON(json) {
|
|
31
|
+
return AppointmentSubmissionDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AppointmentSubmissionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'timeSpans': (json['timeSpans'].map(TimeSpanDto_1.TimeSpanDtoFromJSON)),
|
|
39
|
+
'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function AppointmentSubmissionDtoToJSON(json) {
|
|
43
|
+
return AppointmentSubmissionDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AppointmentSubmissionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'timeSpans': (value['timeSpans'].map(TimeSpanDto_1.TimeSpanDtoToJSON)),
|
|
52
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* the party an appointment is made for: a user who booked in the tenant portal and/or a customer of the tenant;
|
|
13
|
+
* a user and a customer form at most one appointment user per tenant
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AppointmentUserDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AppointmentUserDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
id?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
version?: number;
|
|
27
|
+
/**
|
|
28
|
+
* the user who booked appointments in the tenant portal, set by the portal only
|
|
29
|
+
*/
|
|
30
|
+
readonly userId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* name of the user
|
|
33
|
+
*/
|
|
34
|
+
readonly userName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* the customer the appointments are made for
|
|
37
|
+
*/
|
|
38
|
+
customerId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* name of the customer
|
|
41
|
+
*/
|
|
42
|
+
readonly customerName?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AppointmentUserDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAppointmentUserDto(value: object): value is AppointmentUserDto;
|
|
48
|
+
export declare function AppointmentUserDtoFromJSON(json: any): AppointmentUserDto;
|
|
49
|
+
export declare function AppointmentUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentUserDto;
|
|
50
|
+
export declare function AppointmentUserDtoToJSON(json: any): AppointmentUserDto;
|
|
51
|
+
export declare function AppointmentUserDtoToJSONTyped(value?: Omit<AppointmentUserDto, 'userId' | 'userName' | 'customerName'> | 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.instanceOfAppointmentUserDto = instanceOfAppointmentUserDto;
|
|
16
|
+
exports.AppointmentUserDtoFromJSON = AppointmentUserDtoFromJSON;
|
|
17
|
+
exports.AppointmentUserDtoFromJSONTyped = AppointmentUserDtoFromJSONTyped;
|
|
18
|
+
exports.AppointmentUserDtoToJSON = AppointmentUserDtoToJSON;
|
|
19
|
+
exports.AppointmentUserDtoToJSONTyped = AppointmentUserDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the AppointmentUserDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfAppointmentUserDto(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function AppointmentUserDtoFromJSON(json) {
|
|
27
|
+
return AppointmentUserDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function AppointmentUserDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
35
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
36
|
+
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
37
|
+
'userName': json['userName'] == null ? undefined : json['userName'],
|
|
38
|
+
'customerId': json['customerId'] == null ? undefined : json['customerId'],
|
|
39
|
+
'customerName': json['customerName'] == null ? undefined : json['customerName'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function AppointmentUserDtoToJSON(json) {
|
|
43
|
+
return AppointmentUserDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AppointmentUserDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'version': value['version'],
|
|
53
|
+
'customerId': value['customerId'],
|
|
54
|
+
};
|
|
55
|
+
}
|