@kommerz/ts-client 1.195.0 → 1.197.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/AcceptancePortalDocumentsApi.d.ts +6 -6
- package/dist/apis/AcceptancePortalDocumentsApi.js +12 -12
- package/dist/apis/AppointmentPortalApi.d.ts +95 -15
- package/dist/apis/AppointmentPortalApi.js +212 -15
- package/dist/apis/AppointmentUsersApi.js +5 -5
- package/dist/apis/AppointmentsApi.d.ts +63 -2
- package/dist/apis/AppointmentsApi.js +196 -5
- package/dist/apis/BankingAccountsApi.js +1 -1
- package/dist/apis/BankingRegistrationsApi.js +1 -1
- package/dist/apis/CustomersApi.d.ts +0 -4
- package/dist/apis/CustomersApi.js +0 -3
- package/dist/apis/FileDirectorySharesApi.d.ts +4 -4
- package/dist/apis/FileDirectorySharesApi.js +8 -8
- package/dist/apis/FormsPortalApi.d.ts +6 -4
- package/dist/apis/FormsPortalApi.js +10 -8
- package/dist/apis/InvoicePortalApi.d.ts +2 -2
- package/dist/apis/InvoicePortalApi.js +4 -4
- package/dist/apis/LegalEntityUsersApi.d.ts +121 -0
- package/dist/apis/LegalEntityUsersApi.js +387 -0
- package/dist/apis/MapsApi.d.ts +43 -0
- package/dist/apis/MapsApi.js +127 -0
- package/dist/apis/NotificationTargetsApi.js +1 -1
- package/dist/apis/NotificationsAcksApi.js +2 -2
- package/dist/apis/NotificationsApi.js +3 -3
- package/dist/apis/PresenceEntriesApi.js +1 -1
- package/dist/apis/TenantPortalUploadsApi.d.ts +166 -0
- package/dist/apis/TenantPortalUploadsApi.js +418 -0
- package/dist/apis/TimeTrackingCalendarApi.js +2 -2
- package/dist/apis/TimeTrackingCalendarExportApi.js +1 -1
- package/dist/apis/UsersMeApi.d.ts +58 -9
- package/dist/apis/UsersMeApi.js +103 -14
- package/dist/apis/UsersMeBookmarksApi.d.ts +99 -0
- package/dist/apis/UsersMeBookmarksApi.js +324 -0
- package/dist/apis/index.d.ts +3 -2
- package/dist/apis/index.js +3 -2
- package/dist/models/AccountCalendarEntryDto.d.ts +6 -1
- package/dist/models/AccountCalendarEntryDto.js +3 -0
- package/dist/models/AccountCalendarEntryRsvpDto.d.ts +33 -0
- package/dist/models/AccountCalendarEntryRsvpDto.js +54 -0
- package/dist/models/AddressDto.d.ts +4 -0
- package/dist/models/AddressDto.js +2 -0
- package/dist/models/AppointmentBlockerDto.d.ts +59 -0
- package/dist/models/AppointmentBlockerDto.js +70 -0
- package/dist/models/AppointmentBookingConfigDto.d.ts +66 -0
- package/dist/models/AppointmentBookingConfigDto.js +71 -0
- package/dist/models/AppointmentDto.d.ts +30 -8
- package/dist/models/AppointmentDto.js +16 -6
- package/dist/models/AppointmentEmailTemplateDto.d.ts +33 -0
- package/dist/models/AppointmentEmailTemplateDto.js +50 -0
- package/dist/models/AppointmentEmailTemplatesDto.d.ts +58 -0
- package/dist/models/AppointmentEmailTemplatesDto.js +63 -0
- package/dist/models/AppointmentPortalDto.d.ts +8 -2
- package/dist/models/AppointmentPortalDto.js +6 -2
- package/dist/models/AppointmentProductDto.d.ts +45 -0
- package/dist/models/AppointmentProductDto.js +59 -0
- package/dist/models/AppointmentProductSelectionDto.d.ts +33 -0
- package/dist/models/AppointmentProductSelectionDto.js +54 -0
- package/dist/models/AppointmentSlotDistance.d.ts +3 -1
- package/dist/models/AppointmentSlotDistance.js +3 -1
- package/dist/models/AppointmentSlotDto.d.ts +5 -1
- package/dist/models/AppointmentSlotDto.js +4 -0
- package/dist/models/AppointmentStatus.d.ts +9 -3
- package/dist/models/AppointmentStatus.js +9 -3
- package/dist/models/AppointmentSubmissionDto.d.ts +15 -2
- package/dist/models/AppointmentSubmissionDto.js +7 -0
- package/dist/models/AppointmentTimeSpanDto.d.ts +39 -0
- package/dist/models/AppointmentTimeSpanDto.js +58 -0
- package/dist/models/AppointmentTimeSpanStatus.d.ts +35 -0
- package/dist/models/AppointmentTimeSpanStatus.js +61 -0
- package/dist/models/AttendedCalendarEntryDto.d.ts +10 -2
- package/dist/models/AttendedCalendarEntryDto.js +4 -0
- package/dist/models/BookmarkDto.d.ts +50 -0
- package/dist/models/BookmarkDto.js +60 -0
- package/dist/models/CalendarEntryTypeDto.d.ts +4 -0
- package/dist/models/CalendarEntryTypeDto.js +2 -0
- package/dist/models/CalendarPortalEventDto.d.ts +4 -0
- package/dist/models/CalendarPortalEventDto.js +4 -0
- package/dist/models/DavAddressBookDto.d.ts +29 -0
- package/dist/models/DavAddressBookDto.js +50 -0
- package/dist/models/DavCalendarDto.d.ts +1 -1
- package/dist/models/DavResourceDto.d.ts +45 -0
- package/dist/models/DavResourceDto.js +64 -0
- package/dist/models/DavResourceWriteDto.d.ts +29 -0
- package/dist/models/DavResourceWriteDto.js +50 -0
- package/dist/models/EntityType.d.ts +3 -1
- package/dist/models/EntityType.js +3 -1
- package/dist/models/FormsPortalFileUploadDto.d.ts +37 -0
- package/dist/models/FormsPortalFileUploadDto.js +54 -0
- package/dist/models/FormsPortalLegalEntityUserRequestDto.d.ts +29 -0
- package/dist/models/FormsPortalLegalEntityUserRequestDto.js +50 -0
- package/dist/models/FormsPortalSpecDto.d.ts +5 -0
- package/dist/models/FormsPortalSpecDto.js +5 -0
- package/dist/models/FormsPortalSubmissionDto.d.ts +29 -0
- package/dist/models/FormsPortalSubmissionDto.js +50 -0
- package/dist/models/FormsPortalSubmitDto.d.ts +4 -0
- package/dist/models/FormsPortalSubmitDto.js +2 -0
- package/dist/models/GeoLocationDto.d.ts +42 -0
- package/dist/models/GeoLocationDto.js +55 -0
- package/dist/models/GetAllLegalEntityUsers200Response.d.ts +42 -0
- package/dist/models/GetAllLegalEntityUsers200Response.js +59 -0
- package/dist/models/GetMyAppointments200Response.d.ts +42 -0
- package/dist/models/GetMyAppointments200Response.js +59 -0
- package/dist/models/GetMyBookmarks200Response.d.ts +42 -0
- package/dist/models/GetMyBookmarks200Response.js +59 -0
- package/dist/models/KanbanBoardDto.d.ts +12 -0
- package/dist/models/KanbanBoardDto.js +6 -0
- package/dist/models/LegalEntityUserDto.d.ts +71 -0
- package/dist/models/LegalEntityUserDto.js +63 -0
- package/dist/models/LocationGeocodeQueryDto.d.ts +29 -0
- package/dist/models/LocationGeocodeQueryDto.js +50 -0
- package/dist/models/Permissions.d.ts +5 -4
- package/dist/models/Permissions.js +5 -4
- package/dist/models/PublicTenantPageDto.d.ts +4 -0
- package/dist/models/PublicTenantPageDto.js +4 -0
- package/dist/models/RoutePlanningAppointmentResultDto.d.ts +47 -0
- package/dist/models/RoutePlanningAppointmentResultDto.js +62 -0
- package/dist/models/RoutePlanningOutcome.d.ts +35 -0
- package/dist/models/RoutePlanningOutcome.js +61 -0
- package/dist/models/RoutePlanningResultDto.d.ts +38 -0
- package/dist/models/RoutePlanningResultDto.js +57 -0
- package/dist/models/RoutingConfigDto.d.ts +82 -13
- package/dist/models/RoutingConfigDto.js +51 -12
- package/dist/models/TenantConfigurationDto.d.ts +4 -0
- package/dist/models/TenantConfigurationDto.js +2 -0
- package/dist/models/UiConfigurationDto.d.ts +9 -0
- package/dist/models/UiConfigurationDto.js +5 -0
- package/dist/models/UiModuleCategory.d.ts +29 -0
- package/dist/models/UiModuleCategory.js +55 -0
- package/dist/models/UserDto.d.ts +5 -1
- package/dist/models/UserDto.js +1 -0
- package/dist/models/index.d.ts +24 -5
- package/dist/models/index.js +24 -5
- package/package.json +1 -1
|
@@ -0,0 +1,324 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
15
|
+
var extendStatics = function (d, b) {
|
|
16
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
19
|
+
return extendStatics(d, b);
|
|
20
|
+
};
|
|
21
|
+
return function (d, b) {
|
|
22
|
+
if (typeof b !== "function" && b !== null)
|
|
23
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24
|
+
extendStatics(d, b);
|
|
25
|
+
function __() { this.constructor = d; }
|
|
26
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27
|
+
};
|
|
28
|
+
})();
|
|
29
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
32
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
33
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
34
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
35
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
39
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
40
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
41
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
42
|
+
function step(op) {
|
|
43
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
44
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
45
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
46
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
47
|
+
switch (op[0]) {
|
|
48
|
+
case 0: case 1: t = op; break;
|
|
49
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
50
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
51
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
52
|
+
default:
|
|
53
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
54
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
55
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
56
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
57
|
+
if (t[2]) _.ops.pop();
|
|
58
|
+
_.trys.pop(); continue;
|
|
59
|
+
}
|
|
60
|
+
op = body.call(thisArg, _);
|
|
61
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
62
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
|
+
exports.UsersMeBookmarksApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
var BookmarkDto_1 = require("../models/BookmarkDto");
|
|
69
|
+
var GetMyBookmarks200Response_1 = require("../models/GetMyBookmarks200Response");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var UsersMeBookmarksApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(UsersMeBookmarksApi, _super);
|
|
75
|
+
function UsersMeBookmarksApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for createMyBookmark without sending the request
|
|
80
|
+
*/
|
|
81
|
+
UsersMeBookmarksApi.prototype.createMyBookmarkRequestOpts = function (requestParameters) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, urlPath;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
if (requestParameters['bookmarkDto'] == null) {
|
|
86
|
+
throw new runtime.RequiredError('bookmarkDto', 'Required parameter "bookmarkDto" was null or undefined when calling createMyBookmark().');
|
|
87
|
+
}
|
|
88
|
+
queryParameters = {};
|
|
89
|
+
headerParameters = {};
|
|
90
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
91
|
+
urlPath = "/ui/users/v1/me/bookmarks";
|
|
92
|
+
return [2 /*return*/, {
|
|
93
|
+
path: urlPath,
|
|
94
|
+
method: 'POST',
|
|
95
|
+
headers: headerParameters,
|
|
96
|
+
query: queryParameters,
|
|
97
|
+
body: (0, BookmarkDto_1.BookmarkDtoToJSON)(requestParameters['bookmarkDto']),
|
|
98
|
+
}];
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Only tenants can be bookmarked so far. An item is bookmarked at most once per user.
|
|
104
|
+
* bookmark an item for the logged-in user
|
|
105
|
+
*/
|
|
106
|
+
UsersMeBookmarksApi.prototype.createMyBookmarkRaw = function (requestParameters, initOverrides) {
|
|
107
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
108
|
+
var requestOptions, response;
|
|
109
|
+
return __generator(this, function (_a) {
|
|
110
|
+
switch (_a.label) {
|
|
111
|
+
case 0: return [4 /*yield*/, this.createMyBookmarkRequestOpts(requestParameters)];
|
|
112
|
+
case 1:
|
|
113
|
+
requestOptions = _a.sent();
|
|
114
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
115
|
+
case 2:
|
|
116
|
+
response = _a.sent();
|
|
117
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, BookmarkDto_1.BookmarkDtoFromJSON)(jsonValue); })];
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Only tenants can be bookmarked so far. An item is bookmarked at most once per user.
|
|
124
|
+
* bookmark an item for the logged-in user
|
|
125
|
+
*/
|
|
126
|
+
UsersMeBookmarksApi.prototype.createMyBookmark = function (requestParameters, initOverrides) {
|
|
127
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
128
|
+
var response;
|
|
129
|
+
return __generator(this, function (_a) {
|
|
130
|
+
switch (_a.label) {
|
|
131
|
+
case 0: return [4 /*yield*/, this.createMyBookmarkRaw(requestParameters, initOverrides)];
|
|
132
|
+
case 1:
|
|
133
|
+
response = _a.sent();
|
|
134
|
+
return [4 /*yield*/, response.value()];
|
|
135
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Creates request options for deleteMyBookmark without sending the request
|
|
142
|
+
*/
|
|
143
|
+
UsersMeBookmarksApi.prototype.deleteMyBookmarkRequestOpts = function (requestParameters) {
|
|
144
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
145
|
+
var queryParameters, headerParameters, urlPath;
|
|
146
|
+
return __generator(this, function (_a) {
|
|
147
|
+
if (requestParameters['id'] == null) {
|
|
148
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteMyBookmark().');
|
|
149
|
+
}
|
|
150
|
+
queryParameters = {};
|
|
151
|
+
headerParameters = {};
|
|
152
|
+
urlPath = "/ui/users/v1/me/bookmarks/{id}";
|
|
153
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
154
|
+
return [2 /*return*/, {
|
|
155
|
+
path: urlPath,
|
|
156
|
+
method: 'DELETE',
|
|
157
|
+
headers: headerParameters,
|
|
158
|
+
query: queryParameters,
|
|
159
|
+
}];
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* remove a bookmark of the logged-in user
|
|
165
|
+
*/
|
|
166
|
+
UsersMeBookmarksApi.prototype.deleteMyBookmarkRaw = function (requestParameters, initOverrides) {
|
|
167
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
168
|
+
var requestOptions, response;
|
|
169
|
+
return __generator(this, function (_a) {
|
|
170
|
+
switch (_a.label) {
|
|
171
|
+
case 0: return [4 /*yield*/, this.deleteMyBookmarkRequestOpts(requestParameters)];
|
|
172
|
+
case 1:
|
|
173
|
+
requestOptions = _a.sent();
|
|
174
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
175
|
+
case 2:
|
|
176
|
+
response = _a.sent();
|
|
177
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* remove a bookmark of the logged-in user
|
|
184
|
+
*/
|
|
185
|
+
UsersMeBookmarksApi.prototype.deleteMyBookmark = function (requestParameters, initOverrides) {
|
|
186
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
187
|
+
return __generator(this, function (_a) {
|
|
188
|
+
switch (_a.label) {
|
|
189
|
+
case 0: return [4 /*yield*/, this.deleteMyBookmarkRaw(requestParameters, initOverrides)];
|
|
190
|
+
case 1:
|
|
191
|
+
_a.sent();
|
|
192
|
+
return [2 /*return*/];
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Creates request options for getMyBookmark without sending the request
|
|
199
|
+
*/
|
|
200
|
+
UsersMeBookmarksApi.prototype.getMyBookmarkRequestOpts = function (requestParameters) {
|
|
201
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
202
|
+
var queryParameters, headerParameters, urlPath;
|
|
203
|
+
return __generator(this, function (_a) {
|
|
204
|
+
if (requestParameters['id'] == null) {
|
|
205
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getMyBookmark().');
|
|
206
|
+
}
|
|
207
|
+
queryParameters = {};
|
|
208
|
+
headerParameters = {};
|
|
209
|
+
urlPath = "/ui/users/v1/me/bookmarks/{id}";
|
|
210
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
211
|
+
return [2 /*return*/, {
|
|
212
|
+
path: urlPath,
|
|
213
|
+
method: 'GET',
|
|
214
|
+
headers: headerParameters,
|
|
215
|
+
query: queryParameters,
|
|
216
|
+
}];
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* read one bookmark of the logged-in user
|
|
222
|
+
*/
|
|
223
|
+
UsersMeBookmarksApi.prototype.getMyBookmarkRaw = function (requestParameters, initOverrides) {
|
|
224
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
225
|
+
var requestOptions, response;
|
|
226
|
+
return __generator(this, function (_a) {
|
|
227
|
+
switch (_a.label) {
|
|
228
|
+
case 0: return [4 /*yield*/, this.getMyBookmarkRequestOpts(requestParameters)];
|
|
229
|
+
case 1:
|
|
230
|
+
requestOptions = _a.sent();
|
|
231
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
232
|
+
case 2:
|
|
233
|
+
response = _a.sent();
|
|
234
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, BookmarkDto_1.BookmarkDtoFromJSON)(jsonValue); })];
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* read one bookmark of the logged-in user
|
|
241
|
+
*/
|
|
242
|
+
UsersMeBookmarksApi.prototype.getMyBookmark = function (requestParameters, initOverrides) {
|
|
243
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
244
|
+
var response;
|
|
245
|
+
return __generator(this, function (_a) {
|
|
246
|
+
switch (_a.label) {
|
|
247
|
+
case 0: return [4 /*yield*/, this.getMyBookmarkRaw(requestParameters, initOverrides)];
|
|
248
|
+
case 1:
|
|
249
|
+
response = _a.sent();
|
|
250
|
+
return [4 /*yield*/, response.value()];
|
|
251
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Creates request options for getMyBookmarks without sending the request
|
|
258
|
+
*/
|
|
259
|
+
UsersMeBookmarksApi.prototype.getMyBookmarksRequestOpts = function (requestParameters) {
|
|
260
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
261
|
+
var queryParameters, headerParameters, urlPath;
|
|
262
|
+
return __generator(this, function (_a) {
|
|
263
|
+
if (requestParameters['pageable'] == null) {
|
|
264
|
+
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getMyBookmarks().');
|
|
265
|
+
}
|
|
266
|
+
queryParameters = {};
|
|
267
|
+
if (requestParameters['pageable'] != null) {
|
|
268
|
+
queryParameters['pageable'] = requestParameters['pageable'];
|
|
269
|
+
}
|
|
270
|
+
if (requestParameters['filter'] != null) {
|
|
271
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
272
|
+
}
|
|
273
|
+
headerParameters = {};
|
|
274
|
+
urlPath = "/ui/users/v1/me/bookmarks";
|
|
275
|
+
return [2 /*return*/, {
|
|
276
|
+
path: urlPath,
|
|
277
|
+
method: 'GET',
|
|
278
|
+
headers: headerParameters,
|
|
279
|
+
query: queryParameters,
|
|
280
|
+
}];
|
|
281
|
+
});
|
|
282
|
+
});
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Filterable and sortable fields: entityType, entityId, creationTime. Sorted by creationTime unless a sort is given.
|
|
286
|
+
* list the bookmarks of the logged-in user
|
|
287
|
+
*/
|
|
288
|
+
UsersMeBookmarksApi.prototype.getMyBookmarksRaw = function (requestParameters, initOverrides) {
|
|
289
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
290
|
+
var requestOptions, response;
|
|
291
|
+
return __generator(this, function (_a) {
|
|
292
|
+
switch (_a.label) {
|
|
293
|
+
case 0: return [4 /*yield*/, this.getMyBookmarksRequestOpts(requestParameters)];
|
|
294
|
+
case 1:
|
|
295
|
+
requestOptions = _a.sent();
|
|
296
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
297
|
+
case 2:
|
|
298
|
+
response = _a.sent();
|
|
299
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetMyBookmarks200Response_1.GetMyBookmarks200ResponseFromJSON)(jsonValue); })];
|
|
300
|
+
}
|
|
301
|
+
});
|
|
302
|
+
});
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* Filterable and sortable fields: entityType, entityId, creationTime. Sorted by creationTime unless a sort is given.
|
|
306
|
+
* list the bookmarks of the logged-in user
|
|
307
|
+
*/
|
|
308
|
+
UsersMeBookmarksApi.prototype.getMyBookmarks = function (requestParameters, initOverrides) {
|
|
309
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
310
|
+
var response;
|
|
311
|
+
return __generator(this, function (_a) {
|
|
312
|
+
switch (_a.label) {
|
|
313
|
+
case 0: return [4 /*yield*/, this.getMyBookmarksRaw(requestParameters, initOverrides)];
|
|
314
|
+
case 1:
|
|
315
|
+
response = _a.sent();
|
|
316
|
+
return [4 /*yield*/, response.value()];
|
|
317
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
});
|
|
321
|
+
};
|
|
322
|
+
return UsersMeBookmarksApi;
|
|
323
|
+
}(runtime.BaseAPI));
|
|
324
|
+
exports.UsersMeBookmarksApi = UsersMeBookmarksApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export * from './AccountingTransactionsApi';
|
|
|
12
12
|
export * from './AccountingTurnoversApi';
|
|
13
13
|
export * from './ActivitiesApi';
|
|
14
14
|
export * from './AppointmentPortalApi';
|
|
15
|
-
export * from './AppointmentUsersApi';
|
|
16
15
|
export * from './AppointmentsApi';
|
|
17
16
|
export * from './ApprovalEntriesApi';
|
|
18
17
|
export * from './ApprovalEntriesApproveApi';
|
|
@@ -57,6 +56,7 @@ export * from './JobsApi';
|
|
|
57
56
|
export * from './KanbanBoardsApi';
|
|
58
57
|
export * from './KanbanCardsApi';
|
|
59
58
|
export * from './KanbanColumnsApi';
|
|
59
|
+
export * from './LegalEntityUsersApi';
|
|
60
60
|
export * from './MapsApi';
|
|
61
61
|
export * from './MentionsApi';
|
|
62
62
|
export * from './NotificationTargetsApi';
|
|
@@ -81,6 +81,7 @@ export * from './SystemsTimesApi';
|
|
|
81
81
|
export * from './TagRelationsApi';
|
|
82
82
|
export * from './TagsApi';
|
|
83
83
|
export * from './TenantPortalApi';
|
|
84
|
+
export * from './TenantPortalUploadsApi';
|
|
84
85
|
export * from './TenantsApi';
|
|
85
86
|
export * from './TenantsOwnerAdditionApi';
|
|
86
87
|
export * from './TenantsValidationApi';
|
|
@@ -94,7 +95,7 @@ export * from './UserPermissionsApi';
|
|
|
94
95
|
export * from './UserTenantsApi';
|
|
95
96
|
export * from './UsersApi';
|
|
96
97
|
export * from './UsersMeApi';
|
|
97
|
-
export * from './
|
|
98
|
+
export * from './UsersMeBookmarksApi';
|
|
98
99
|
export * from './ValidationApi';
|
|
99
100
|
export * from './WikiApi';
|
|
100
101
|
export * from './WikiPagesApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -30,7 +30,6 @@ __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);
|
|
34
33
|
__exportStar(require("./AppointmentsApi"), exports);
|
|
35
34
|
__exportStar(require("./ApprovalEntriesApi"), exports);
|
|
36
35
|
__exportStar(require("./ApprovalEntriesApproveApi"), exports);
|
|
@@ -75,6 +74,7 @@ __exportStar(require("./JobsApi"), exports);
|
|
|
75
74
|
__exportStar(require("./KanbanBoardsApi"), exports);
|
|
76
75
|
__exportStar(require("./KanbanCardsApi"), exports);
|
|
77
76
|
__exportStar(require("./KanbanColumnsApi"), exports);
|
|
77
|
+
__exportStar(require("./LegalEntityUsersApi"), exports);
|
|
78
78
|
__exportStar(require("./MapsApi"), exports);
|
|
79
79
|
__exportStar(require("./MentionsApi"), exports);
|
|
80
80
|
__exportStar(require("./NotificationTargetsApi"), exports);
|
|
@@ -99,6 +99,7 @@ __exportStar(require("./SystemsTimesApi"), exports);
|
|
|
99
99
|
__exportStar(require("./TagRelationsApi"), exports);
|
|
100
100
|
__exportStar(require("./TagsApi"), exports);
|
|
101
101
|
__exportStar(require("./TenantPortalApi"), exports);
|
|
102
|
+
__exportStar(require("./TenantPortalUploadsApi"), exports);
|
|
102
103
|
__exportStar(require("./TenantsApi"), exports);
|
|
103
104
|
__exportStar(require("./TenantsOwnerAdditionApi"), exports);
|
|
104
105
|
__exportStar(require("./TenantsValidationApi"), exports);
|
|
@@ -112,7 +113,7 @@ __exportStar(require("./UserPermissionsApi"), exports);
|
|
|
112
113
|
__exportStar(require("./UserTenantsApi"), exports);
|
|
113
114
|
__exportStar(require("./UsersApi"), exports);
|
|
114
115
|
__exportStar(require("./UsersMeApi"), exports);
|
|
115
|
-
__exportStar(require("./
|
|
116
|
+
__exportStar(require("./UsersMeBookmarksApi"), exports);
|
|
116
117
|
__exportStar(require("./ValidationApi"), exports);
|
|
117
118
|
__exportStar(require("./WikiApi"), exports);
|
|
118
119
|
__exportStar(require("./WikiPagesApi"), exports);
|
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import type { AccountCalendarEntryRsvpDto } from './AccountCalendarEntryRsvpDto';
|
|
11
12
|
import type { AttendedCalendarEntryDto } from './AttendedCalendarEntryDto';
|
|
12
13
|
/**
|
|
13
|
-
* a calendar entry the logged-in user attends together with the tenant it belongs to
|
|
14
|
+
* a calendar entry the logged-in user owns or attends together with the tenant it belongs to
|
|
14
15
|
* @export
|
|
15
16
|
* @interface AccountCalendarEntryDto
|
|
16
17
|
*/
|
|
@@ -27,6 +28,10 @@ export interface AccountCalendarEntryDto {
|
|
|
27
28
|
*
|
|
28
29
|
*/
|
|
29
30
|
entry: AttendedCalendarEntryDto;
|
|
31
|
+
/**
|
|
32
|
+
* the user's own access to the RSVP page, null for entries of a type that asks for no answer and for an owner who is no attendee
|
|
33
|
+
*/
|
|
34
|
+
rsvp?: AccountCalendarEntryRsvpDto;
|
|
30
35
|
}
|
|
31
36
|
/**
|
|
32
37
|
* Check if a given object implements the AccountCalendarEntryDto interface.
|
|
@@ -17,6 +17,7 @@ exports.AccountCalendarEntryDtoFromJSON = AccountCalendarEntryDtoFromJSON;
|
|
|
17
17
|
exports.AccountCalendarEntryDtoFromJSONTyped = AccountCalendarEntryDtoFromJSONTyped;
|
|
18
18
|
exports.AccountCalendarEntryDtoToJSON = AccountCalendarEntryDtoToJSON;
|
|
19
19
|
exports.AccountCalendarEntryDtoToJSONTyped = AccountCalendarEntryDtoToJSONTyped;
|
|
20
|
+
var AccountCalendarEntryRsvpDto_1 = require("./AccountCalendarEntryRsvpDto");
|
|
20
21
|
var AttendedCalendarEntryDto_1 = require("./AttendedCalendarEntryDto");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the AccountCalendarEntryDto interface.
|
|
@@ -41,6 +42,7 @@ function AccountCalendarEntryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
42
|
'tenantHandle': json['tenantHandle'],
|
|
42
43
|
'tenantName': json['tenantName'],
|
|
43
44
|
'entry': (0, AttendedCalendarEntryDto_1.AttendedCalendarEntryDtoFromJSON)(json['entry']),
|
|
45
|
+
'rsvp': json['rsvp'] == null ? undefined : (0, AccountCalendarEntryRsvpDto_1.AccountCalendarEntryRsvpDtoFromJSON)(json['rsvp']),
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
function AccountCalendarEntryDtoToJSON(json) {
|
|
@@ -55,5 +57,6 @@ function AccountCalendarEntryDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
57
|
'tenantHandle': value['tenantHandle'],
|
|
56
58
|
'tenantName': value['tenantName'],
|
|
57
59
|
'entry': (0, AttendedCalendarEntryDto_1.AttendedCalendarEntryDtoToJSON)(value['entry']),
|
|
60
|
+
'rsvp': (0, AccountCalendarEntryRsvpDto_1.AccountCalendarEntryRsvpDtoToJSON)(value['rsvp']),
|
|
58
61
|
};
|
|
59
62
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* identifies the RSVP page of an attendee
|
|
13
|
+
* @export
|
|
14
|
+
* @interface AccountCalendarEntryRsvpDto
|
|
15
|
+
*/
|
|
16
|
+
export interface AccountCalendarEntryRsvpDto {
|
|
17
|
+
/**
|
|
18
|
+
* uid of the calendar entry
|
|
19
|
+
*/
|
|
20
|
+
eventId: string;
|
|
21
|
+
/**
|
|
22
|
+
* secret of the attendee
|
|
23
|
+
*/
|
|
24
|
+
token: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AccountCalendarEntryRsvpDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAccountCalendarEntryRsvpDto(value: object): value is AccountCalendarEntryRsvpDto;
|
|
30
|
+
export declare function AccountCalendarEntryRsvpDtoFromJSON(json: any): AccountCalendarEntryRsvpDto;
|
|
31
|
+
export declare function AccountCalendarEntryRsvpDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountCalendarEntryRsvpDto;
|
|
32
|
+
export declare function AccountCalendarEntryRsvpDtoToJSON(json: any): AccountCalendarEntryRsvpDto;
|
|
33
|
+
export declare function AccountCalendarEntryRsvpDtoToJSONTyped(value?: AccountCalendarEntryRsvpDto | 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.instanceOfAccountCalendarEntryRsvpDto = instanceOfAccountCalendarEntryRsvpDto;
|
|
16
|
+
exports.AccountCalendarEntryRsvpDtoFromJSON = AccountCalendarEntryRsvpDtoFromJSON;
|
|
17
|
+
exports.AccountCalendarEntryRsvpDtoFromJSONTyped = AccountCalendarEntryRsvpDtoFromJSONTyped;
|
|
18
|
+
exports.AccountCalendarEntryRsvpDtoToJSON = AccountCalendarEntryRsvpDtoToJSON;
|
|
19
|
+
exports.AccountCalendarEntryRsvpDtoToJSONTyped = AccountCalendarEntryRsvpDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the AccountCalendarEntryRsvpDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfAccountCalendarEntryRsvpDto(value) {
|
|
24
|
+
if (!('eventId' in value) || value['eventId'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function AccountCalendarEntryRsvpDtoFromJSON(json) {
|
|
31
|
+
return AccountCalendarEntryRsvpDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function AccountCalendarEntryRsvpDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'eventId': json['eventId'],
|
|
39
|
+
'token': json['token'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function AccountCalendarEntryRsvpDtoToJSON(json) {
|
|
43
|
+
return AccountCalendarEntryRsvpDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AccountCalendarEntryRsvpDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'eventId': value['eventId'],
|
|
52
|
+
'token': value['token'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -37,6 +37,7 @@ function AddressDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'street': json['street'] == null ? undefined : json['street'],
|
|
38
38
|
'zipCode': json['zipCode'] == null ? undefined : json['zipCode'],
|
|
39
39
|
'city': json['city'] == null ? undefined : json['city'],
|
|
40
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
40
41
|
'countryCode': json['countryCode'] == null ? undefined : (0, CountryCode_1.CountryCodeFromJSON)(json['countryCode']),
|
|
41
42
|
'lat': json['lat'] == null ? undefined : json['lat'],
|
|
42
43
|
'_long': json['long'] == null ? undefined : json['long'],
|
|
@@ -56,6 +57,7 @@ function AddressDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
56
57
|
'street': value['street'],
|
|
57
58
|
'zipCode': value['zipCode'],
|
|
58
59
|
'city': value['city'],
|
|
60
|
+
'region': value['region'],
|
|
59
61
|
'countryCode': (0, CountryCode_1.CountryCodeToJSON)(value['countryCode']),
|
|
60
62
|
'lat': value['lat'],
|
|
61
63
|
'long': value['_long'],
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { CalendarAttendeeDto } from './CalendarAttendeeDto';
|
|
12
|
+
import type { TimeSpanDto } from './TimeSpanDto';
|
|
13
|
+
/**
|
|
14
|
+
* a time span in which no appointment is planned for the user
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AppointmentBlockerDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AppointmentBlockerDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
summary: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
description?: string;
|
|
27
|
+
/**
|
|
28
|
+
* the user whose time is blocked
|
|
29
|
+
*/
|
|
30
|
+
userId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
timeSpan: TimeSpanDto;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
location?: string;
|
|
39
|
+
/**
|
|
40
|
+
* latitude of the location (WGS 84)
|
|
41
|
+
*/
|
|
42
|
+
locationLat?: number;
|
|
43
|
+
/**
|
|
44
|
+
* longitude of the location (WGS 84)
|
|
45
|
+
*/
|
|
46
|
+
locationLong?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
attendees?: Array<CalendarAttendeeDto>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the AppointmentBlockerDto interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfAppointmentBlockerDto(value: object): value is AppointmentBlockerDto;
|
|
56
|
+
export declare function AppointmentBlockerDtoFromJSON(json: any): AppointmentBlockerDto;
|
|
57
|
+
export declare function AppointmentBlockerDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppointmentBlockerDto;
|
|
58
|
+
export declare function AppointmentBlockerDtoToJSON(json: any): AppointmentBlockerDto;
|
|
59
|
+
export declare function AppointmentBlockerDtoToJSONTyped(value?: AppointmentBlockerDto | null, ignoreDiscriminator?: boolean): any;
|