@kommerz/ts-client 1.177.0 → 1.177.2
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/CalendarPortalApi.d.ts +42 -0
- package/dist/apis/CalendarPortalApi.js +184 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/CalendarPortalEventDto.d.ts +81 -0
- package/dist/models/CalendarPortalEventDto.js +74 -0
- package/dist/models/CalendarPortalRsvpDto.d.ts +38 -0
- package/dist/models/CalendarPortalRsvpDto.js +55 -0
- package/dist/models/CalendarPortalRsvpStatus.d.ts +25 -0
- package/dist/models/CalendarPortalRsvpStatus.js +51 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import * as runtime from '../runtime';
|
|
12
|
+
import type { CalendarPortalEventDto, CalendarPortalRsvpDto } from '../models/index';
|
|
13
|
+
export interface GetCalendarPortalEventRequest {
|
|
14
|
+
eventId: string;
|
|
15
|
+
token: string;
|
|
16
|
+
}
|
|
17
|
+
export interface UpdateCalendarPortalRsvpRequest {
|
|
18
|
+
eventId: string;
|
|
19
|
+
token: string;
|
|
20
|
+
calendarPortalRsvpDto: CalendarPortalRsvpDto;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare class CalendarPortalApi extends runtime.BaseAPI {
|
|
26
|
+
/**
|
|
27
|
+
* read event details for an invited attendee
|
|
28
|
+
*/
|
|
29
|
+
getCalendarPortalEventRaw(requestParameters: GetCalendarPortalEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalendarPortalEventDto>>;
|
|
30
|
+
/**
|
|
31
|
+
* read event details for an invited attendee
|
|
32
|
+
*/
|
|
33
|
+
getCalendarPortalEvent(requestParameters: GetCalendarPortalEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalendarPortalEventDto>;
|
|
34
|
+
/**
|
|
35
|
+
* answer an invitation
|
|
36
|
+
*/
|
|
37
|
+
updateCalendarPortalRsvpRaw(requestParameters: UpdateCalendarPortalRsvpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CalendarPortalEventDto>>;
|
|
38
|
+
/**
|
|
39
|
+
* answer an invitation
|
|
40
|
+
*/
|
|
41
|
+
updateCalendarPortalRsvp(requestParameters: UpdateCalendarPortalRsvpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CalendarPortalEventDto>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
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.CalendarPortalApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
var index_1 = require("../models/index");
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var CalendarPortalApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(CalendarPortalApi, _super);
|
|
74
|
+
function CalendarPortalApi() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* read event details for an invited attendee
|
|
79
|
+
*/
|
|
80
|
+
CalendarPortalApi.prototype.getCalendarPortalEventRaw = function (requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
switch (_a.label) {
|
|
85
|
+
case 0:
|
|
86
|
+
if (requestParameters['eventId'] == null) {
|
|
87
|
+
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling getCalendarPortalEvent().');
|
|
88
|
+
}
|
|
89
|
+
if (requestParameters['token'] == null) {
|
|
90
|
+
throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling getCalendarPortalEvent().');
|
|
91
|
+
}
|
|
92
|
+
queryParameters = {};
|
|
93
|
+
headerParameters = {};
|
|
94
|
+
urlPath = "/ui/calendar-portal/v1/rsvp/{eventId}/{token}";
|
|
95
|
+
urlPath = urlPath.replace("{".concat("eventId", "}"), encodeURIComponent(String(requestParameters['eventId'])));
|
|
96
|
+
urlPath = urlPath.replace("{".concat("token", "}"), encodeURIComponent(String(requestParameters['token'])));
|
|
97
|
+
return [4 /*yield*/, this.request({
|
|
98
|
+
path: urlPath,
|
|
99
|
+
method: 'GET',
|
|
100
|
+
headers: headerParameters,
|
|
101
|
+
query: queryParameters,
|
|
102
|
+
}, initOverrides)];
|
|
103
|
+
case 1:
|
|
104
|
+
response = _a.sent();
|
|
105
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.CalendarPortalEventDtoFromJSON)(jsonValue); })];
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* read event details for an invited attendee
|
|
112
|
+
*/
|
|
113
|
+
CalendarPortalApi.prototype.getCalendarPortalEvent = function (requestParameters, initOverrides) {
|
|
114
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
115
|
+
var response;
|
|
116
|
+
return __generator(this, function (_a) {
|
|
117
|
+
switch (_a.label) {
|
|
118
|
+
case 0: return [4 /*yield*/, this.getCalendarPortalEventRaw(requestParameters, initOverrides)];
|
|
119
|
+
case 1:
|
|
120
|
+
response = _a.sent();
|
|
121
|
+
return [4 /*yield*/, response.value()];
|
|
122
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* answer an invitation
|
|
129
|
+
*/
|
|
130
|
+
CalendarPortalApi.prototype.updateCalendarPortalRsvpRaw = function (requestParameters, initOverrides) {
|
|
131
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
132
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
133
|
+
return __generator(this, function (_a) {
|
|
134
|
+
switch (_a.label) {
|
|
135
|
+
case 0:
|
|
136
|
+
if (requestParameters['eventId'] == null) {
|
|
137
|
+
throw new runtime.RequiredError('eventId', 'Required parameter "eventId" was null or undefined when calling updateCalendarPortalRsvp().');
|
|
138
|
+
}
|
|
139
|
+
if (requestParameters['token'] == null) {
|
|
140
|
+
throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling updateCalendarPortalRsvp().');
|
|
141
|
+
}
|
|
142
|
+
if (requestParameters['calendarPortalRsvpDto'] == null) {
|
|
143
|
+
throw new runtime.RequiredError('calendarPortalRsvpDto', 'Required parameter "calendarPortalRsvpDto" was null or undefined when calling updateCalendarPortalRsvp().');
|
|
144
|
+
}
|
|
145
|
+
queryParameters = {};
|
|
146
|
+
headerParameters = {};
|
|
147
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
148
|
+
urlPath = "/ui/calendar-portal/v1/rsvp/{eventId}/{token}";
|
|
149
|
+
urlPath = urlPath.replace("{".concat("eventId", "}"), encodeURIComponent(String(requestParameters['eventId'])));
|
|
150
|
+
urlPath = urlPath.replace("{".concat("token", "}"), encodeURIComponent(String(requestParameters['token'])));
|
|
151
|
+
return [4 /*yield*/, this.request({
|
|
152
|
+
path: urlPath,
|
|
153
|
+
method: 'PUT',
|
|
154
|
+
headers: headerParameters,
|
|
155
|
+
query: queryParameters,
|
|
156
|
+
body: (0, index_1.CalendarPortalRsvpDtoToJSON)(requestParameters['calendarPortalRsvpDto']),
|
|
157
|
+
}, initOverrides)];
|
|
158
|
+
case 1:
|
|
159
|
+
response = _a.sent();
|
|
160
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.CalendarPortalEventDtoFromJSON)(jsonValue); })];
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* answer an invitation
|
|
167
|
+
*/
|
|
168
|
+
CalendarPortalApi.prototype.updateCalendarPortalRsvp = function (requestParameters, initOverrides) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
170
|
+
var response;
|
|
171
|
+
return __generator(this, function (_a) {
|
|
172
|
+
switch (_a.label) {
|
|
173
|
+
case 0: return [4 /*yield*/, this.updateCalendarPortalRsvpRaw(requestParameters, initOverrides)];
|
|
174
|
+
case 1:
|
|
175
|
+
response = _a.sent();
|
|
176
|
+
return [4 /*yield*/, response.value()];
|
|
177
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
};
|
|
182
|
+
return CalendarPortalApi;
|
|
183
|
+
}(runtime.BaseAPI));
|
|
184
|
+
exports.CalendarPortalApi = CalendarPortalApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './BankingInstitutesApi';
|
|
|
19
19
|
export * from './BankingRegistrationsApi';
|
|
20
20
|
export * from './CalendarEntriesApi';
|
|
21
21
|
export * from './CalendarEntryTypesApi';
|
|
22
|
+
export * from './CalendarPortalApi';
|
|
22
23
|
export * from './CommentsApi';
|
|
23
24
|
export * from './ConfigurationsApi';
|
|
24
25
|
export * from './ContractStatusApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -37,6 +37,7 @@ __exportStar(require("./BankingInstitutesApi"), exports);
|
|
|
37
37
|
__exportStar(require("./BankingRegistrationsApi"), exports);
|
|
38
38
|
__exportStar(require("./CalendarEntriesApi"), exports);
|
|
39
39
|
__exportStar(require("./CalendarEntryTypesApi"), exports);
|
|
40
|
+
__exportStar(require("./CalendarPortalApi"), exports);
|
|
40
41
|
__exportStar(require("./CommentsApi"), exports);
|
|
41
42
|
__exportStar(require("./ConfigurationsApi"), exports);
|
|
42
43
|
__exportStar(require("./ContractStatusApi"), exports);
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { ParticipantStatus } from './ParticipantStatus';
|
|
12
|
+
import type { TimeSpanDto } from './TimeSpanDto';
|
|
13
|
+
/**
|
|
14
|
+
* event details shown to an invited attendee in the public RSVP portal
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CalendarPortalEventDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CalendarPortalEventDto {
|
|
19
|
+
/**
|
|
20
|
+
* single line summary of event
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CalendarPortalEventDto
|
|
23
|
+
*/
|
|
24
|
+
summary: string;
|
|
25
|
+
/**
|
|
26
|
+
* long description of the event
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CalendarPortalEventDto
|
|
29
|
+
*/
|
|
30
|
+
description?: string;
|
|
31
|
+
/**
|
|
32
|
+
* location of the event
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CalendarPortalEventDto
|
|
35
|
+
*/
|
|
36
|
+
location?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {TimeSpanDto}
|
|
40
|
+
* @memberof CalendarPortalEventDto
|
|
41
|
+
*/
|
|
42
|
+
timeSpan: TimeSpanDto;
|
|
43
|
+
/**
|
|
44
|
+
* name of the organization that invited the attendee
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CalendarPortalEventDto
|
|
47
|
+
*/
|
|
48
|
+
organizerName?: string;
|
|
49
|
+
/**
|
|
50
|
+
* name or email address of every attendee of the event
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof CalendarPortalEventDto
|
|
53
|
+
*/
|
|
54
|
+
participants?: Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
* email address the attendee is currently invited with
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CalendarPortalEventDto
|
|
59
|
+
*/
|
|
60
|
+
email?: string;
|
|
61
|
+
/**
|
|
62
|
+
* current invitation status of the attendee
|
|
63
|
+
* @type {ParticipantStatus}
|
|
64
|
+
* @memberof CalendarPortalEventDto
|
|
65
|
+
*/
|
|
66
|
+
status: ParticipantStatus;
|
|
67
|
+
/**
|
|
68
|
+
* the event as ics file for download
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CalendarPortalEventDto
|
|
71
|
+
*/
|
|
72
|
+
ics: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the CalendarPortalEventDto interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfCalendarPortalEventDto(value: object): value is CalendarPortalEventDto;
|
|
78
|
+
export declare function CalendarPortalEventDtoFromJSON(json: any): CalendarPortalEventDto;
|
|
79
|
+
export declare function CalendarPortalEventDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarPortalEventDto;
|
|
80
|
+
export declare function CalendarPortalEventDtoToJSON(json: any): CalendarPortalEventDto;
|
|
81
|
+
export declare function CalendarPortalEventDtoToJSONTyped(value?: CalendarPortalEventDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.instanceOfCalendarPortalEventDto = instanceOfCalendarPortalEventDto;
|
|
16
|
+
exports.CalendarPortalEventDtoFromJSON = CalendarPortalEventDtoFromJSON;
|
|
17
|
+
exports.CalendarPortalEventDtoFromJSONTyped = CalendarPortalEventDtoFromJSONTyped;
|
|
18
|
+
exports.CalendarPortalEventDtoToJSON = CalendarPortalEventDtoToJSON;
|
|
19
|
+
exports.CalendarPortalEventDtoToJSONTyped = CalendarPortalEventDtoToJSONTyped;
|
|
20
|
+
var ParticipantStatus_1 = require("./ParticipantStatus");
|
|
21
|
+
var TimeSpanDto_1 = require("./TimeSpanDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CalendarPortalEventDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCalendarPortalEventDto(value) {
|
|
26
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('timeSpan' in value) || value['timeSpan'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('ics' in value) || value['ics'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function CalendarPortalEventDtoFromJSON(json) {
|
|
37
|
+
return CalendarPortalEventDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function CalendarPortalEventDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'summary': json['summary'],
|
|
45
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
46
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
47
|
+
'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoFromJSON)(json['timeSpan']),
|
|
48
|
+
'organizerName': json['organizerName'] == null ? undefined : json['organizerName'],
|
|
49
|
+
'participants': json['participants'] == null ? undefined : json['participants'],
|
|
50
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
51
|
+
'status': (0, ParticipantStatus_1.ParticipantStatusFromJSON)(json['status']),
|
|
52
|
+
'ics': json['ics'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function CalendarPortalEventDtoToJSON(json) {
|
|
56
|
+
return CalendarPortalEventDtoToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function CalendarPortalEventDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'summary': value['summary'],
|
|
65
|
+
'description': value['description'],
|
|
66
|
+
'location': value['location'],
|
|
67
|
+
'timeSpan': (0, TimeSpanDto_1.TimeSpanDtoToJSON)(value['timeSpan']),
|
|
68
|
+
'organizerName': value['organizerName'],
|
|
69
|
+
'participants': value['participants'],
|
|
70
|
+
'email': value['email'],
|
|
71
|
+
'status': (0, ParticipantStatus_1.ParticipantStatusToJSON)(value['status']),
|
|
72
|
+
'ics': value['ics'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -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 { CalendarPortalRsvpStatus } from './CalendarPortalRsvpStatus';
|
|
12
|
+
/**
|
|
13
|
+
* RSVP of an attendee
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CalendarPortalRsvpDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CalendarPortalRsvpDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {CalendarPortalRsvpStatus}
|
|
21
|
+
* @memberof CalendarPortalRsvpDto
|
|
22
|
+
*/
|
|
23
|
+
status: CalendarPortalRsvpStatus;
|
|
24
|
+
/**
|
|
25
|
+
* email address the attendee wants to be invited with
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CalendarPortalRsvpDto
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CalendarPortalRsvpDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCalendarPortalRsvpDto(value: object): value is CalendarPortalRsvpDto;
|
|
35
|
+
export declare function CalendarPortalRsvpDtoFromJSON(json: any): CalendarPortalRsvpDto;
|
|
36
|
+
export declare function CalendarPortalRsvpDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarPortalRsvpDto;
|
|
37
|
+
export declare function CalendarPortalRsvpDtoToJSON(json: any): CalendarPortalRsvpDto;
|
|
38
|
+
export declare function CalendarPortalRsvpDtoToJSONTyped(value?: CalendarPortalRsvpDto | 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.instanceOfCalendarPortalRsvpDto = instanceOfCalendarPortalRsvpDto;
|
|
16
|
+
exports.CalendarPortalRsvpDtoFromJSON = CalendarPortalRsvpDtoFromJSON;
|
|
17
|
+
exports.CalendarPortalRsvpDtoFromJSONTyped = CalendarPortalRsvpDtoFromJSONTyped;
|
|
18
|
+
exports.CalendarPortalRsvpDtoToJSON = CalendarPortalRsvpDtoToJSON;
|
|
19
|
+
exports.CalendarPortalRsvpDtoToJSONTyped = CalendarPortalRsvpDtoToJSONTyped;
|
|
20
|
+
var CalendarPortalRsvpStatus_1 = require("./CalendarPortalRsvpStatus");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CalendarPortalRsvpDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCalendarPortalRsvpDto(value) {
|
|
25
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CalendarPortalRsvpDtoFromJSON(json) {
|
|
32
|
+
return CalendarPortalRsvpDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CalendarPortalRsvpDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'status': (0, CalendarPortalRsvpStatus_1.CalendarPortalRsvpStatusFromJSON)(json['status']),
|
|
40
|
+
'email': json['email'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CalendarPortalRsvpDtoToJSON(json) {
|
|
44
|
+
return CalendarPortalRsvpDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CalendarPortalRsvpDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'status': (0, CalendarPortalRsvpStatus_1.CalendarPortalRsvpStatusToJSON)(value['status']),
|
|
53
|
+
'email': value['email'],
|
|
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
|
+
* invitation status an attendee can choose in the portal
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const CalendarPortalRsvpStatus: {
|
|
16
|
+
readonly Accepted: "ACCEPTED";
|
|
17
|
+
readonly Tentative: "TENTATIVE";
|
|
18
|
+
readonly Declined: "DECLINED";
|
|
19
|
+
};
|
|
20
|
+
export type CalendarPortalRsvpStatus = typeof CalendarPortalRsvpStatus[keyof typeof CalendarPortalRsvpStatus];
|
|
21
|
+
export declare function instanceOfCalendarPortalRsvpStatus(value: any): boolean;
|
|
22
|
+
export declare function CalendarPortalRsvpStatusFromJSON(json: any): CalendarPortalRsvpStatus;
|
|
23
|
+
export declare function CalendarPortalRsvpStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarPortalRsvpStatus;
|
|
24
|
+
export declare function CalendarPortalRsvpStatusToJSON(value?: CalendarPortalRsvpStatus | null): any;
|
|
25
|
+
export declare function CalendarPortalRsvpStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): CalendarPortalRsvpStatus;
|
|
@@ -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.CalendarPortalRsvpStatus = void 0;
|
|
16
|
+
exports.instanceOfCalendarPortalRsvpStatus = instanceOfCalendarPortalRsvpStatus;
|
|
17
|
+
exports.CalendarPortalRsvpStatusFromJSON = CalendarPortalRsvpStatusFromJSON;
|
|
18
|
+
exports.CalendarPortalRsvpStatusFromJSONTyped = CalendarPortalRsvpStatusFromJSONTyped;
|
|
19
|
+
exports.CalendarPortalRsvpStatusToJSON = CalendarPortalRsvpStatusToJSON;
|
|
20
|
+
exports.CalendarPortalRsvpStatusToJSONTyped = CalendarPortalRsvpStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* invitation status an attendee can choose in the portal
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CalendarPortalRsvpStatus = {
|
|
26
|
+
Accepted: 'ACCEPTED',
|
|
27
|
+
Tentative: 'TENTATIVE',
|
|
28
|
+
Declined: 'DECLINED'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfCalendarPortalRsvpStatus(value) {
|
|
31
|
+
for (var key in exports.CalendarPortalRsvpStatus) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.CalendarPortalRsvpStatus, key)) {
|
|
33
|
+
if (exports.CalendarPortalRsvpStatus[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function CalendarPortalRsvpStatusFromJSON(json) {
|
|
41
|
+
return CalendarPortalRsvpStatusFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CalendarPortalRsvpStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function CalendarPortalRsvpStatusToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function CalendarPortalRsvpStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -49,6 +49,9 @@ export * from './BankRegistrationDto';
|
|
|
49
49
|
export * from './CalendarAttendeeDto';
|
|
50
50
|
export * from './CalendarEntryDto';
|
|
51
51
|
export * from './CalendarEntryTypeDto';
|
|
52
|
+
export * from './CalendarPortalEventDto';
|
|
53
|
+
export * from './CalendarPortalRsvpDto';
|
|
54
|
+
export * from './CalendarPortalRsvpStatus';
|
|
52
55
|
export * from './CenterStatementDto';
|
|
53
56
|
export * from './ChannelIdType';
|
|
54
57
|
export * from './CommentDto';
|
package/dist/models/index.js
CHANGED
|
@@ -67,6 +67,9 @@ __exportStar(require("./BankRegistrationDto"), exports);
|
|
|
67
67
|
__exportStar(require("./CalendarAttendeeDto"), exports);
|
|
68
68
|
__exportStar(require("./CalendarEntryDto"), exports);
|
|
69
69
|
__exportStar(require("./CalendarEntryTypeDto"), exports);
|
|
70
|
+
__exportStar(require("./CalendarPortalEventDto"), exports);
|
|
71
|
+
__exportStar(require("./CalendarPortalRsvpDto"), exports);
|
|
72
|
+
__exportStar(require("./CalendarPortalRsvpStatus"), exports);
|
|
70
73
|
__exportStar(require("./CenterStatementDto"), exports);
|
|
71
74
|
__exportStar(require("./ChannelIdType"), exports);
|
|
72
75
|
__exportStar(require("./CommentDto"), exports);
|