@vendasta/meetings 0.87.0 → 0.88.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/esm2020/lib/_internal/interfaces/groups-and-services.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-host.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/meeting-source.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +38 -2
- package/esm2020/lib/_internal/objects/groups-and-services.mjs +118 -0
- package/esm2020/lib/_internal/objects/index.mjs +3 -2
- package/esm2020/lib/_internal/objects/meeting-host.mjs +324 -23
- package/esm2020/lib/_internal/objects/meeting-source.mjs +1 -1
- package/esm2020/lib/host/host.service.mjs +70 -2
- package/esm2020/lib/shared/groups-and-services.mjs +69 -0
- package/esm2020/lib/shared/index.mjs +2 -1
- package/fesm2015/vendasta-meetings.mjs +635 -44
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +635 -44
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/groups-and-services.interface.d.ts +24 -0
- package/lib/_internal/interfaces/index.d.ts +2 -1
- package/lib/_internal/interfaces/meeting-host.interface.d.ts +55 -8
- package/lib/_internal/meeting-host.api.service.d.ts +10 -2
- package/lib/_internal/objects/groups-and-services.d.ts +35 -0
- package/lib/_internal/objects/index.d.ts +2 -1
- package/lib/_internal/objects/meeting-host.d.ts +102 -19
- package/lib/host/host.service.d.ts +35 -1
- package/lib/shared/groups-and-services.d.ts +39 -0
- package/lib/shared/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface EventGroupAndServiceAssociationsInterface {
|
|
2
|
+
id?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
eventType?: string;
|
|
5
|
+
identifier?: string;
|
|
6
|
+
isEditable?: boolean;
|
|
7
|
+
creatorUserName?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GroupInterface {
|
|
10
|
+
id?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
slug?: string;
|
|
14
|
+
isPinned?: boolean;
|
|
15
|
+
associations?: EventGroupAndServiceAssociationsInterface[];
|
|
16
|
+
}
|
|
17
|
+
export interface ServiceInterface {
|
|
18
|
+
id?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
slug?: string;
|
|
22
|
+
isPinned?: boolean;
|
|
23
|
+
associations?: EventGroupAndServiceAssociationsInterface[];
|
|
24
|
+
}
|
|
@@ -6,6 +6,7 @@ export { FieldInterface, FormInterface, MeetingTypeInterface, } from './meeting-
|
|
|
6
6
|
export { DateRangeInterface, } from './date-range.interface';
|
|
7
7
|
export { BookMeetingRequestInterface, BookMeetingResponseInterface, GetCalendarRequestInterface, GetCalendarResponseInterface, GetHostRequestInterface, GetHostResponseInterface, GetMeetingTypeRequestInterface, GetMeetingTypeResponseInterface, GuestCancelMeetingRequestInterface, GuestGetBookedMeetingRequestInterface, GuestGetBookedMeetingResponseInterface, GuestIsHostConfiguredRequestInterface, GuestIsHostConfiguredResponseInterface, GuestRescheduleMeetingRequestInterface, ListAvailableTimeSlotsRequestInterface, ListAvailableTimeSlotsResponseInterface, ListMeetingTypesRequestInterface, ListMeetingTypesResponseInterface, BookMeetingRequestMetadataEntryInterface, } from './meeting-guest.interface';
|
|
8
8
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
9
|
-
export {
|
|
9
|
+
export { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface, } from './groups-and-services.interface';
|
|
10
|
+
export { IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface, BuildHostIdRequestApplicationContextPropertiesEntryInterface, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface, AvailabilityRuleInterface, BuildHostIdRequestInterface, BuildHostIdResponseInterface, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntryInterface, CancelMeetingRequestInterface, CreateAvailabilityRequestInterface, CreateAvailabilityResponseInterface, CreateCalendarRequestInterface, CreateCalendarResponseInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateGroupResponseInterface, CreateMeetingTypeRequestInterface, CreateMeetingTypeResponseInterface, CreateServiceRequestInterface, CreateServiceResponseInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, DoesCalendarExistResponseInterface, EnsureGroupCalendarsExistRequestInterface, EnsureGroupCalendarsExistResponseInterface, EnsurePersonalCalendarExistsRequestInterface, EnsurePersonalCalendarExistsResponseInterface, ListBookedMeetingsRequestFiltersInterface, ListAvailabilityRequestFiltersInterface, GetHostMeetingRequestInterface, GetHostMeetingResponseInterface, GetHostPreferencesRequestInterface, GetHostPreferencesResponseInterface, GetHostsForCalendarRequestInterface, GetHostsForCalendarResponseInterface, GetMeetingTypesForCalendarsRequestInterface, GetMeetingTypesForCalendarsResponseInterface, HostBookMeetingRequestInterface, HostBookMeetingResponseInterface, HostGetCalendarRequestInterface, HostGetCalendarResponseInterface, HostGetMeetingTypeRequestInterface, HostGetMeetingTypeResponseInterface, HostListMeetingTypesRequestInterface, HostListMeetingTypesResponseInterface, IsCalendarConfiguredRequestInterface, IsCalendarConfiguredResponseInterface, IsHostConfiguredRequestInterface, IsHostConfiguredResponseInterface, ListAvailabilityRequestInterface, ListAvailabilityResponseInterface, ListBookedMeetingsRequestInterface, ListBookedMeetingsResponseInterface, ListGroupsRequestInterface, ListGroupsResponseInterface, ListServicesRequestInterface, ListServicesResponseInterface, MeetingInterface, MeetingTypeListInterface, MeetingMetadataEntryInterface, UpdateMeetingMetadataRequestMetadataEntryInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateGroupRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface, UpdateServiceRequestInterface, WeekdayAvailabilityInterface, } from './meeting-host.interface';
|
|
10
11
|
export { TimeOfDayInterface, } from './timeofday.interface';
|
|
11
12
|
export { DateTimeInterface, TimeZoneInterface, } from './datetime.interface';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { DateRangeInterface } from './date-range.interface';
|
|
2
2
|
import { FieldMaskInterface } from './field-mask.interface';
|
|
3
|
+
import { GroupInterface, ServiceInterface } from './groups-and-services.interface';
|
|
3
4
|
import { MeetingTypeInterface } from './meeting-type.interface';
|
|
4
5
|
import { TimeRangeInterface, CalendarInterface, PreferencesInterface, HostUserInterface, ContactInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, AttendeeInterface, AnswersInterface, AttachmentInterface } from './shared.interface';
|
|
5
6
|
import { TimeZoneInterface } from './';
|
|
6
7
|
import * as e from '../enums';
|
|
7
|
-
export interface
|
|
8
|
+
export interface IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
|
|
8
9
|
key?: string;
|
|
9
10
|
value?: string;
|
|
10
11
|
}
|
|
@@ -12,7 +13,7 @@ export interface BuildHostIdRequestApplicationContextPropertiesEntryInterface {
|
|
|
12
13
|
key?: string;
|
|
13
14
|
value?: string;
|
|
14
15
|
}
|
|
15
|
-
export interface
|
|
16
|
+
export interface EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
|
|
16
17
|
key?: string;
|
|
17
18
|
value?: string;
|
|
18
19
|
}
|
|
@@ -54,6 +55,14 @@ export interface CreateDefaultMeetingTypesRequestInterface {
|
|
|
54
55
|
calendarId?: string;
|
|
55
56
|
calendarIds?: string[];
|
|
56
57
|
}
|
|
58
|
+
export interface CreateGroupRequestInterface {
|
|
59
|
+
group?: GroupInterface;
|
|
60
|
+
fieldMask?: FieldMaskInterface;
|
|
61
|
+
hostId?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface CreateGroupResponseInterface {
|
|
64
|
+
id?: string;
|
|
65
|
+
}
|
|
57
66
|
export interface CreateMeetingTypeRequestInterface {
|
|
58
67
|
meetingType?: MeetingTypeInterface;
|
|
59
68
|
fieldMask?: FieldMaskInterface;
|
|
@@ -62,11 +71,25 @@ export interface CreateMeetingTypeRequestInterface {
|
|
|
62
71
|
export interface CreateMeetingTypeResponseInterface {
|
|
63
72
|
id?: string;
|
|
64
73
|
}
|
|
74
|
+
export interface CreateServiceRequestInterface {
|
|
75
|
+
service?: ServiceInterface;
|
|
76
|
+
fieldMask?: FieldMaskInterface;
|
|
77
|
+
hostId?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface CreateServiceResponseInterface {
|
|
80
|
+
id?: string;
|
|
81
|
+
}
|
|
65
82
|
export interface DeleteAvailabilityRequestInterface {
|
|
66
83
|
}
|
|
84
|
+
export interface DeleteGroupRequestInterface {
|
|
85
|
+
id?: string;
|
|
86
|
+
}
|
|
67
87
|
export interface DeleteMeetingTypeRequestInterface {
|
|
68
88
|
id?: string;
|
|
69
89
|
}
|
|
90
|
+
export interface DeleteServiceRequestInterface {
|
|
91
|
+
id?: string;
|
|
92
|
+
}
|
|
70
93
|
export interface DoesCalendarExistRequestInterface {
|
|
71
94
|
calendarIdentifier?: string;
|
|
72
95
|
}
|
|
@@ -88,15 +111,15 @@ export interface EnsurePersonalCalendarExistsRequestInterface {
|
|
|
88
111
|
export interface EnsurePersonalCalendarExistsResponseInterface {
|
|
89
112
|
calendarId?: string;
|
|
90
113
|
}
|
|
91
|
-
export interface ListAvailabilityRequestFiltersInterface {
|
|
92
|
-
hostId?: string;
|
|
93
|
-
meetingTypeId?: string;
|
|
94
|
-
}
|
|
95
114
|
export interface ListBookedMeetingsRequestFiltersInterface {
|
|
96
115
|
meetingTypeIds?: string[];
|
|
97
116
|
hostId?: string;
|
|
98
117
|
timeSpan?: DateRangeInterface;
|
|
99
118
|
}
|
|
119
|
+
export interface ListAvailabilityRequestFiltersInterface {
|
|
120
|
+
hostId?: string;
|
|
121
|
+
meetingTypeId?: string;
|
|
122
|
+
}
|
|
100
123
|
export interface GetHostMeetingRequestInterface {
|
|
101
124
|
meetingId?: string;
|
|
102
125
|
location?: string;
|
|
@@ -189,6 +212,18 @@ export interface ListBookedMeetingsResponseInterface {
|
|
|
189
212
|
meetings?: MeetingInterface[];
|
|
190
213
|
pagingMetadata?: PagedResponseMetadataInterface;
|
|
191
214
|
}
|
|
215
|
+
export interface ListGroupsRequestInterface {
|
|
216
|
+
hostId?: string;
|
|
217
|
+
}
|
|
218
|
+
export interface ListGroupsResponseInterface {
|
|
219
|
+
groups?: GroupInterface[];
|
|
220
|
+
}
|
|
221
|
+
export interface ListServicesRequestInterface {
|
|
222
|
+
hostId?: string;
|
|
223
|
+
}
|
|
224
|
+
export interface ListServicesResponseInterface {
|
|
225
|
+
services?: ServiceInterface[];
|
|
226
|
+
}
|
|
192
227
|
export interface MeetingInterface {
|
|
193
228
|
id?: string;
|
|
194
229
|
eventTypeId?: string;
|
|
@@ -211,11 +246,11 @@ export interface MeetingInterface {
|
|
|
211
246
|
export interface MeetingTypeListInterface {
|
|
212
247
|
meetingTypes?: MeetingTypeInterface[];
|
|
213
248
|
}
|
|
214
|
-
export interface
|
|
249
|
+
export interface MeetingMetadataEntryInterface {
|
|
215
250
|
key?: string;
|
|
216
251
|
value?: string;
|
|
217
252
|
}
|
|
218
|
-
export interface
|
|
253
|
+
export interface UpdateMeetingMetadataRequestMetadataEntryInterface {
|
|
219
254
|
key?: string;
|
|
220
255
|
value?: string;
|
|
221
256
|
}
|
|
@@ -243,6 +278,12 @@ export interface UpdateCalendarRequestInterface {
|
|
|
243
278
|
calendarUpdate?: CalendarInterface;
|
|
244
279
|
fieldMask?: FieldMaskInterface;
|
|
245
280
|
}
|
|
281
|
+
export interface UpdateGroupRequestInterface {
|
|
282
|
+
group?: GroupInterface;
|
|
283
|
+
fieldMask?: FieldMaskInterface;
|
|
284
|
+
hostId?: string;
|
|
285
|
+
id?: string;
|
|
286
|
+
}
|
|
246
287
|
export interface UpdateHostPreferencesRequestInterface {
|
|
247
288
|
hostId?: string;
|
|
248
289
|
preferences?: PreferencesInterface;
|
|
@@ -260,6 +301,12 @@ export interface UpdateMeetingTypeRequestInterface {
|
|
|
260
301
|
fieldMask?: FieldMaskInterface;
|
|
261
302
|
hostId?: string;
|
|
262
303
|
}
|
|
304
|
+
export interface UpdateServiceRequestInterface {
|
|
305
|
+
service?: ServiceInterface;
|
|
306
|
+
fieldMask?: FieldMaskInterface;
|
|
307
|
+
hostId?: string;
|
|
308
|
+
id?: string;
|
|
309
|
+
}
|
|
263
310
|
export interface WeekdayAvailabilityInterface {
|
|
264
311
|
day?: e.DayOfWeek;
|
|
265
312
|
timeSlots?: TimeRangeInterface[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BuildHostIdRequest, BuildHostIdResponse, CancelMeetingRequest, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateMeetingTypeRequest, CreateMeetingTypeResponse, DeleteAvailabilityRequest, DeleteMeetingTypeRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, GetHostMeetingRequest, GetHostMeetingResponse, GetHostPreferencesRequest, GetHostPreferencesResponse, GetHostsForCalendarRequest, GetHostsForCalendarResponse, GetMeetingTypesForCalendarsRequest, GetMeetingTypesForCalendarsResponse, HostBookMeetingRequest, HostBookMeetingResponse, HostGetCalendarRequest, HostGetCalendarResponse, HostGetMeetingTypeRequest, HostGetMeetingTypeResponse, HostListMeetingTypesRequest, HostListMeetingTypesResponse, IsCalendarConfiguredRequest, IsCalendarConfiguredResponse, IsHostConfiguredRequest, IsHostConfiguredResponse, ListAvailabilityRequest, ListAvailabilityResponse, ListBookedMeetingsRequest, ListBookedMeetingsResponse, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest } from './objects/';
|
|
2
|
-
import { BuildHostIdRequestInterface, CancelMeetingRequestInterface, CreateAvailabilityRequestInterface, CreateCalendarRequestInterface, CreateDefaultMeetingTypesRequestInterface, CreateMeetingTypeRequestInterface, DeleteAvailabilityRequestInterface, DeleteMeetingTypeRequestInterface, DoesCalendarExistRequestInterface, EnsureGroupCalendarsExistRequestInterface, EnsurePersonalCalendarExistsRequestInterface, GetHostMeetingRequestInterface, GetHostPreferencesRequestInterface, GetHostsForCalendarRequestInterface, GetMeetingTypesForCalendarsRequestInterface, HostBookMeetingRequestInterface, HostGetCalendarRequestInterface, HostGetMeetingTypeRequestInterface, HostListMeetingTypesRequestInterface, IsCalendarConfiguredRequestInterface, IsHostConfiguredRequestInterface, ListAvailabilityRequestInterface, ListBookedMeetingsRequestInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface } from './interfaces/';
|
|
1
|
+
import { BuildHostIdRequest, BuildHostIdResponse, CancelMeetingRequest, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateGroupRequest, CreateGroupResponse, CreateMeetingTypeRequest, CreateMeetingTypeResponse, CreateServiceRequest, CreateServiceResponse, DeleteAvailabilityRequest, DeleteGroupRequest, DeleteMeetingTypeRequest, DeleteServiceRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, GetHostMeetingRequest, GetHostMeetingResponse, GetHostPreferencesRequest, GetHostPreferencesResponse, GetHostsForCalendarRequest, GetHostsForCalendarResponse, GetMeetingTypesForCalendarsRequest, GetMeetingTypesForCalendarsResponse, HostBookMeetingRequest, HostBookMeetingResponse, HostGetCalendarRequest, HostGetCalendarResponse, HostGetMeetingTypeRequest, HostGetMeetingTypeResponse, HostListMeetingTypesRequest, HostListMeetingTypesResponse, IsCalendarConfiguredRequest, IsCalendarConfiguredResponse, IsHostConfiguredRequest, IsHostConfiguredResponse, ListAvailabilityRequest, ListAvailabilityResponse, ListBookedMeetingsRequest, ListBookedMeetingsResponse, ListGroupsRequest, ListGroupsResponse, ListServicesRequest, ListServicesResponse, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest } from './objects/';
|
|
2
|
+
import { BuildHostIdRequestInterface, CancelMeetingRequestInterface, CreateAvailabilityRequestInterface, CreateCalendarRequestInterface, CreateDefaultMeetingTypesRequestInterface, CreateGroupRequestInterface, CreateMeetingTypeRequestInterface, CreateServiceRequestInterface, DeleteAvailabilityRequestInterface, DeleteGroupRequestInterface, DeleteMeetingTypeRequestInterface, DeleteServiceRequestInterface, DoesCalendarExistRequestInterface, EnsureGroupCalendarsExistRequestInterface, EnsurePersonalCalendarExistsRequestInterface, GetHostMeetingRequestInterface, GetHostPreferencesRequestInterface, GetHostsForCalendarRequestInterface, GetMeetingTypesForCalendarsRequestInterface, HostBookMeetingRequestInterface, HostGetCalendarRequestInterface, HostGetMeetingTypeRequestInterface, HostListMeetingTypesRequestInterface, IsCalendarConfiguredRequestInterface, IsHostConfiguredRequestInterface, ListAvailabilityRequestInterface, ListBookedMeetingsRequestInterface, ListGroupsRequestInterface, ListServicesRequestInterface, RescheduleMeetingRequestInterface, SendMeetingRequestEmailRequestInterface, SetGeneralAvailabilityRequestInterface, UpdateAvailabilityRequestInterface, UpdateCalendarRequestInterface, UpdateGroupRequestInterface, UpdateHostPreferencesRequestInterface, UpdateMeetingMetadataRequestInterface, UpdateMeetingTypeRequestInterface, UpdateServiceRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -39,6 +39,14 @@ export declare class MeetingHostApiService {
|
|
|
39
39
|
createDefaultMeetingTypes(r: CreateDefaultMeetingTypesRequest | CreateDefaultMeetingTypesRequestInterface): Observable<HttpResponse<null>>;
|
|
40
40
|
sendMeetingRequestEmail(r: SendMeetingRequestEmailRequest | SendMeetingRequestEmailRequestInterface): Observable<HttpResponse<null>>;
|
|
41
41
|
isCalendarConfigured(r: IsCalendarConfiguredRequest | IsCalendarConfiguredRequestInterface): Observable<IsCalendarConfiguredResponse>;
|
|
42
|
+
createGroup(r: CreateGroupRequest | CreateGroupRequestInterface): Observable<CreateGroupResponse>;
|
|
43
|
+
updateGroup(r: UpdateGroupRequest | UpdateGroupRequestInterface): Observable<HttpResponse<null>>;
|
|
44
|
+
deleteGroup(r: DeleteGroupRequest | DeleteGroupRequestInterface): Observable<HttpResponse<null>>;
|
|
45
|
+
listGroups(r: ListGroupsRequest | ListGroupsRequestInterface): Observable<ListGroupsResponse>;
|
|
46
|
+
createService(r: CreateServiceRequest | CreateServiceRequestInterface): Observable<CreateServiceResponse>;
|
|
47
|
+
updateService(r: UpdateServiceRequest | UpdateServiceRequestInterface): Observable<HttpResponse<null>>;
|
|
48
|
+
deleteService(r: DeleteServiceRequest | DeleteServiceRequestInterface): Observable<HttpResponse<null>>;
|
|
49
|
+
listServices(r: ListServicesRequest | ListServicesRequestInterface): Observable<ListServicesResponse>;
|
|
42
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<MeetingHostApiService, never>;
|
|
43
51
|
static ɵprov: i0.ɵɵInjectableDeclaration<MeetingHostApiService>;
|
|
44
52
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class EventGroupAndServiceAssociations implements i.EventGroupAndServiceAssociationsInterface {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
eventType: string;
|
|
7
|
+
identifier: string;
|
|
8
|
+
isEditable: boolean;
|
|
9
|
+
creatorUserName: string;
|
|
10
|
+
static fromProto(proto: any): EventGroupAndServiceAssociations;
|
|
11
|
+
constructor(kwargs?: i.EventGroupAndServiceAssociationsInterface);
|
|
12
|
+
toApiJson(): object;
|
|
13
|
+
}
|
|
14
|
+
export declare class Group implements i.GroupInterface {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
description: string;
|
|
18
|
+
slug: string;
|
|
19
|
+
isPinned: boolean;
|
|
20
|
+
associations: EventGroupAndServiceAssociations[];
|
|
21
|
+
static fromProto(proto: any): Group;
|
|
22
|
+
constructor(kwargs?: i.GroupInterface);
|
|
23
|
+
toApiJson(): object;
|
|
24
|
+
}
|
|
25
|
+
export declare class Service implements i.ServiceInterface {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
slug: string;
|
|
30
|
+
isPinned: boolean;
|
|
31
|
+
associations: EventGroupAndServiceAssociations[];
|
|
32
|
+
static fromProto(proto: any): Service;
|
|
33
|
+
constructor(kwargs?: i.ServiceInterface);
|
|
34
|
+
toApiJson(): object;
|
|
35
|
+
}
|
|
@@ -6,6 +6,7 @@ export { Field, Form, MeetingType, } from './meeting-type';
|
|
|
6
6
|
export { DateRange, } from './date-range';
|
|
7
7
|
export { BookMeetingRequest, BookMeetingResponse, GetCalendarRequest, GetCalendarResponse, GetHostRequest, GetHostResponse, GetMeetingTypeRequest, GetMeetingTypeResponse, GuestCancelMeetingRequest, GuestGetBookedMeetingRequest, GuestGetBookedMeetingResponse, GuestIsHostConfiguredRequest, GuestIsHostConfiguredResponse, GuestRescheduleMeetingRequest, ListAvailableTimeSlotsRequest, ListAvailableTimeSlotsResponse, ListMeetingTypesRequest, ListMeetingTypesResponse, BookMeetingRequestMetadataEntry, } from './meeting-guest';
|
|
8
8
|
export { FieldMask, } from './field-mask';
|
|
9
|
-
export {
|
|
9
|
+
export { EventGroupAndServiceAssociations, Group, Service, } from './groups-and-services';
|
|
10
|
+
export { IsCalendarConfiguredRequestApplicationContextPropertiesEntry, BuildHostIdRequestApplicationContextPropertiesEntry, EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry, AvailabilityRule, BuildHostIdRequest, BuildHostIdResponse, GetMeetingTypesForCalendarsResponseCalendarMeetingTypesMapEntry, CancelMeetingRequest, CreateAvailabilityRequest, CreateAvailabilityResponse, CreateCalendarRequest, CreateCalendarResponse, CreateDefaultMeetingTypesRequest, CreateGroupRequest, CreateGroupResponse, CreateMeetingTypeRequest, CreateMeetingTypeResponse, CreateServiceRequest, CreateServiceResponse, DeleteAvailabilityRequest, DeleteGroupRequest, DeleteMeetingTypeRequest, DeleteServiceRequest, DoesCalendarExistRequest, DoesCalendarExistResponse, EnsureGroupCalendarsExistRequest, EnsureGroupCalendarsExistResponse, EnsurePersonalCalendarExistsRequest, EnsurePersonalCalendarExistsResponse, ListBookedMeetingsRequestFilters, ListAvailabilityRequestFilters, GetHostMeetingRequest, GetHostMeetingResponse, GetHostPreferencesRequest, GetHostPreferencesResponse, GetHostsForCalendarRequest, GetHostsForCalendarResponse, GetMeetingTypesForCalendarsRequest, GetMeetingTypesForCalendarsResponse, HostBookMeetingRequest, HostBookMeetingResponse, HostGetCalendarRequest, HostGetCalendarResponse, HostGetMeetingTypeRequest, HostGetMeetingTypeResponse, HostListMeetingTypesRequest, HostListMeetingTypesResponse, IsCalendarConfiguredRequest, IsCalendarConfiguredResponse, IsHostConfiguredRequest, IsHostConfiguredResponse, ListAvailabilityRequest, ListAvailabilityResponse, ListBookedMeetingsRequest, ListBookedMeetingsResponse, ListGroupsRequest, ListGroupsResponse, ListServicesRequest, ListServicesResponse, Meeting, MeetingTypeList, MeetingMetadataEntry, UpdateMeetingMetadataRequestMetadataEntry, RescheduleMeetingRequest, SendMeetingRequestEmailRequest, SetGeneralAvailabilityRequest, UpdateAvailabilityRequest, UpdateCalendarRequest, UpdateGroupRequest, UpdateHostPreferencesRequest, UpdateMeetingMetadataRequest, UpdateMeetingTypeRequest, UpdateServiceRequest, WeekdayAvailability, } from './meeting-host';
|
|
10
11
|
export { TimeOfDay, } from './timeofday';
|
|
11
12
|
export { DateTime, TimeZone, } from './datetime';
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
2
|
import { DateRange } from './date-range';
|
|
3
3
|
import { FieldMask } from './field-mask';
|
|
4
|
+
import { Group, Service } from './groups-and-services';
|
|
4
5
|
import { MeetingType } from './meeting-type';
|
|
5
6
|
import { TimeRange, Calendar, Preferences, HostUser, Contact, PagedRequestOptions, PagedResponseMetadata, Attendee, Answers, Attachment } from './shared';
|
|
6
7
|
import { TimeZone } from './';
|
|
7
8
|
import * as e from '../enums';
|
|
8
9
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
9
|
-
export declare class
|
|
10
|
+
export declare class IsCalendarConfiguredRequestApplicationContextPropertiesEntry implements i.IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface {
|
|
10
11
|
key: string;
|
|
11
12
|
value: string;
|
|
12
|
-
static fromProto(proto: any):
|
|
13
|
-
constructor(kwargs?: i.
|
|
13
|
+
static fromProto(proto: any): IsCalendarConfiguredRequestApplicationContextPropertiesEntry;
|
|
14
|
+
constructor(kwargs?: i.IsCalendarConfiguredRequestApplicationContextPropertiesEntryInterface);
|
|
14
15
|
toApiJson(): object;
|
|
15
16
|
}
|
|
16
17
|
export declare class BuildHostIdRequestApplicationContextPropertiesEntry implements i.BuildHostIdRequestApplicationContextPropertiesEntryInterface {
|
|
@@ -20,11 +21,11 @@ export declare class BuildHostIdRequestApplicationContextPropertiesEntry impleme
|
|
|
20
21
|
constructor(kwargs?: i.BuildHostIdRequestApplicationContextPropertiesEntryInterface);
|
|
21
22
|
toApiJson(): object;
|
|
22
23
|
}
|
|
23
|
-
export declare class
|
|
24
|
+
export declare class EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry implements i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface {
|
|
24
25
|
key: string;
|
|
25
26
|
value: string;
|
|
26
|
-
static fromProto(proto: any):
|
|
27
|
-
constructor(kwargs?: i.
|
|
27
|
+
static fromProto(proto: any): EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntry;
|
|
28
|
+
constructor(kwargs?: i.EnsurePersonalCalendarExistsRequestApplicationContextPropertiesEntryInterface);
|
|
28
29
|
toApiJson(): object;
|
|
29
30
|
}
|
|
30
31
|
export declare class AvailabilityRule implements i.AvailabilityRuleInterface {
|
|
@@ -95,6 +96,20 @@ export declare class CreateDefaultMeetingTypesRequest implements i.CreateDefault
|
|
|
95
96
|
constructor(kwargs?: i.CreateDefaultMeetingTypesRequestInterface);
|
|
96
97
|
toApiJson(): object;
|
|
97
98
|
}
|
|
99
|
+
export declare class CreateGroupRequest implements i.CreateGroupRequestInterface {
|
|
100
|
+
group: Group;
|
|
101
|
+
fieldMask: FieldMask;
|
|
102
|
+
hostId: string;
|
|
103
|
+
static fromProto(proto: any): CreateGroupRequest;
|
|
104
|
+
constructor(kwargs?: i.CreateGroupRequestInterface);
|
|
105
|
+
toApiJson(): object;
|
|
106
|
+
}
|
|
107
|
+
export declare class CreateGroupResponse implements i.CreateGroupResponseInterface {
|
|
108
|
+
id: string;
|
|
109
|
+
static fromProto(proto: any): CreateGroupResponse;
|
|
110
|
+
constructor(kwargs?: i.CreateGroupResponseInterface);
|
|
111
|
+
toApiJson(): object;
|
|
112
|
+
}
|
|
98
113
|
export declare class CreateMeetingTypeRequest implements i.CreateMeetingTypeRequestInterface {
|
|
99
114
|
meetingType: MeetingType;
|
|
100
115
|
fieldMask: FieldMask;
|
|
@@ -109,17 +124,43 @@ export declare class CreateMeetingTypeResponse implements i.CreateMeetingTypeRes
|
|
|
109
124
|
constructor(kwargs?: i.CreateMeetingTypeResponseInterface);
|
|
110
125
|
toApiJson(): object;
|
|
111
126
|
}
|
|
127
|
+
export declare class CreateServiceRequest implements i.CreateServiceRequestInterface {
|
|
128
|
+
service: Service;
|
|
129
|
+
fieldMask: FieldMask;
|
|
130
|
+
hostId: string;
|
|
131
|
+
static fromProto(proto: any): CreateServiceRequest;
|
|
132
|
+
constructor(kwargs?: i.CreateServiceRequestInterface);
|
|
133
|
+
toApiJson(): object;
|
|
134
|
+
}
|
|
135
|
+
export declare class CreateServiceResponse implements i.CreateServiceResponseInterface {
|
|
136
|
+
id: string;
|
|
137
|
+
static fromProto(proto: any): CreateServiceResponse;
|
|
138
|
+
constructor(kwargs?: i.CreateServiceResponseInterface);
|
|
139
|
+
toApiJson(): object;
|
|
140
|
+
}
|
|
112
141
|
export declare class DeleteAvailabilityRequest implements i.DeleteAvailabilityRequestInterface {
|
|
113
142
|
static fromProto(proto: any): DeleteAvailabilityRequest;
|
|
114
143
|
constructor(kwargs?: i.DeleteAvailabilityRequestInterface);
|
|
115
144
|
toApiJson(): object;
|
|
116
145
|
}
|
|
146
|
+
export declare class DeleteGroupRequest implements i.DeleteGroupRequestInterface {
|
|
147
|
+
id: string;
|
|
148
|
+
static fromProto(proto: any): DeleteGroupRequest;
|
|
149
|
+
constructor(kwargs?: i.DeleteGroupRequestInterface);
|
|
150
|
+
toApiJson(): object;
|
|
151
|
+
}
|
|
117
152
|
export declare class DeleteMeetingTypeRequest implements i.DeleteMeetingTypeRequestInterface {
|
|
118
153
|
id: string;
|
|
119
154
|
static fromProto(proto: any): DeleteMeetingTypeRequest;
|
|
120
155
|
constructor(kwargs?: i.DeleteMeetingTypeRequestInterface);
|
|
121
156
|
toApiJson(): object;
|
|
122
157
|
}
|
|
158
|
+
export declare class DeleteServiceRequest implements i.DeleteServiceRequestInterface {
|
|
159
|
+
id: string;
|
|
160
|
+
static fromProto(proto: any): DeleteServiceRequest;
|
|
161
|
+
constructor(kwargs?: i.DeleteServiceRequestInterface);
|
|
162
|
+
toApiJson(): object;
|
|
163
|
+
}
|
|
123
164
|
export declare class DoesCalendarExistRequest implements i.DoesCalendarExistRequestInterface {
|
|
124
165
|
calendarIdentifier: string;
|
|
125
166
|
static fromProto(proto: any): DoesCalendarExistRequest;
|
|
@@ -159,13 +200,6 @@ export declare class EnsurePersonalCalendarExistsResponse implements i.EnsurePer
|
|
|
159
200
|
constructor(kwargs?: i.EnsurePersonalCalendarExistsResponseInterface);
|
|
160
201
|
toApiJson(): object;
|
|
161
202
|
}
|
|
162
|
-
export declare class ListAvailabilityRequestFilters implements i.ListAvailabilityRequestFiltersInterface {
|
|
163
|
-
hostId: string;
|
|
164
|
-
meetingTypeId: string;
|
|
165
|
-
static fromProto(proto: any): ListAvailabilityRequestFilters;
|
|
166
|
-
constructor(kwargs?: i.ListAvailabilityRequestFiltersInterface);
|
|
167
|
-
toApiJson(): object;
|
|
168
|
-
}
|
|
169
203
|
export declare class ListBookedMeetingsRequestFilters implements i.ListBookedMeetingsRequestFiltersInterface {
|
|
170
204
|
meetingTypeIds: string[];
|
|
171
205
|
hostId: string;
|
|
@@ -174,6 +208,13 @@ export declare class ListBookedMeetingsRequestFilters implements i.ListBookedMee
|
|
|
174
208
|
constructor(kwargs?: i.ListBookedMeetingsRequestFiltersInterface);
|
|
175
209
|
toApiJson(): object;
|
|
176
210
|
}
|
|
211
|
+
export declare class ListAvailabilityRequestFilters implements i.ListAvailabilityRequestFiltersInterface {
|
|
212
|
+
hostId: string;
|
|
213
|
+
meetingTypeId: string;
|
|
214
|
+
static fromProto(proto: any): ListAvailabilityRequestFilters;
|
|
215
|
+
constructor(kwargs?: i.ListAvailabilityRequestFiltersInterface);
|
|
216
|
+
toApiJson(): object;
|
|
217
|
+
}
|
|
177
218
|
export declare class GetHostMeetingRequest implements i.GetHostMeetingRequestInterface {
|
|
178
219
|
meetingId: string;
|
|
179
220
|
location: string;
|
|
@@ -338,6 +379,30 @@ export declare class ListBookedMeetingsResponse implements i.ListBookedMeetingsR
|
|
|
338
379
|
constructor(kwargs?: i.ListBookedMeetingsResponseInterface);
|
|
339
380
|
toApiJson(): object;
|
|
340
381
|
}
|
|
382
|
+
export declare class ListGroupsRequest implements i.ListGroupsRequestInterface {
|
|
383
|
+
hostId: string;
|
|
384
|
+
static fromProto(proto: any): ListGroupsRequest;
|
|
385
|
+
constructor(kwargs?: i.ListGroupsRequestInterface);
|
|
386
|
+
toApiJson(): object;
|
|
387
|
+
}
|
|
388
|
+
export declare class ListGroupsResponse implements i.ListGroupsResponseInterface {
|
|
389
|
+
groups: Group[];
|
|
390
|
+
static fromProto(proto: any): ListGroupsResponse;
|
|
391
|
+
constructor(kwargs?: i.ListGroupsResponseInterface);
|
|
392
|
+
toApiJson(): object;
|
|
393
|
+
}
|
|
394
|
+
export declare class ListServicesRequest implements i.ListServicesRequestInterface {
|
|
395
|
+
hostId: string;
|
|
396
|
+
static fromProto(proto: any): ListServicesRequest;
|
|
397
|
+
constructor(kwargs?: i.ListServicesRequestInterface);
|
|
398
|
+
toApiJson(): object;
|
|
399
|
+
}
|
|
400
|
+
export declare class ListServicesResponse implements i.ListServicesResponseInterface {
|
|
401
|
+
services: Service[];
|
|
402
|
+
static fromProto(proto: any): ListServicesResponse;
|
|
403
|
+
constructor(kwargs?: i.ListServicesResponseInterface);
|
|
404
|
+
toApiJson(): object;
|
|
405
|
+
}
|
|
341
406
|
export declare class Meeting implements i.MeetingInterface {
|
|
342
407
|
id: string;
|
|
343
408
|
eventTypeId: string;
|
|
@@ -366,18 +431,18 @@ export declare class MeetingTypeList implements i.MeetingTypeListInterface {
|
|
|
366
431
|
constructor(kwargs?: i.MeetingTypeListInterface);
|
|
367
432
|
toApiJson(): object;
|
|
368
433
|
}
|
|
369
|
-
export declare class
|
|
434
|
+
export declare class MeetingMetadataEntry implements i.MeetingMetadataEntryInterface {
|
|
370
435
|
key: string;
|
|
371
436
|
value: string;
|
|
372
|
-
static fromProto(proto: any):
|
|
373
|
-
constructor(kwargs?: i.
|
|
437
|
+
static fromProto(proto: any): MeetingMetadataEntry;
|
|
438
|
+
constructor(kwargs?: i.MeetingMetadataEntryInterface);
|
|
374
439
|
toApiJson(): object;
|
|
375
440
|
}
|
|
376
|
-
export declare class
|
|
441
|
+
export declare class UpdateMeetingMetadataRequestMetadataEntry implements i.UpdateMeetingMetadataRequestMetadataEntryInterface {
|
|
377
442
|
key: string;
|
|
378
443
|
value: string;
|
|
379
|
-
static fromProto(proto: any):
|
|
380
|
-
constructor(kwargs?: i.
|
|
444
|
+
static fromProto(proto: any): UpdateMeetingMetadataRequestMetadataEntry;
|
|
445
|
+
constructor(kwargs?: i.UpdateMeetingMetadataRequestMetadataEntryInterface);
|
|
381
446
|
toApiJson(): object;
|
|
382
447
|
}
|
|
383
448
|
export declare class RescheduleMeetingRequest implements i.RescheduleMeetingRequestInterface {
|
|
@@ -419,6 +484,15 @@ export declare class UpdateCalendarRequest implements i.UpdateCalendarRequestInt
|
|
|
419
484
|
constructor(kwargs?: i.UpdateCalendarRequestInterface);
|
|
420
485
|
toApiJson(): object;
|
|
421
486
|
}
|
|
487
|
+
export declare class UpdateGroupRequest implements i.UpdateGroupRequestInterface {
|
|
488
|
+
group: Group;
|
|
489
|
+
fieldMask: FieldMask;
|
|
490
|
+
hostId: string;
|
|
491
|
+
id: string;
|
|
492
|
+
static fromProto(proto: any): UpdateGroupRequest;
|
|
493
|
+
constructor(kwargs?: i.UpdateGroupRequestInterface);
|
|
494
|
+
toApiJson(): object;
|
|
495
|
+
}
|
|
422
496
|
export declare class UpdateHostPreferencesRequest implements i.UpdateHostPreferencesRequestInterface {
|
|
423
497
|
hostId: string;
|
|
424
498
|
preferences: Preferences;
|
|
@@ -445,6 +519,15 @@ export declare class UpdateMeetingTypeRequest implements i.UpdateMeetingTypeRequ
|
|
|
445
519
|
constructor(kwargs?: i.UpdateMeetingTypeRequestInterface);
|
|
446
520
|
toApiJson(): object;
|
|
447
521
|
}
|
|
522
|
+
export declare class UpdateServiceRequest implements i.UpdateServiceRequestInterface {
|
|
523
|
+
service: Service;
|
|
524
|
+
fieldMask: FieldMask;
|
|
525
|
+
hostId: string;
|
|
526
|
+
id: string;
|
|
527
|
+
static fromProto(proto: any): UpdateServiceRequest;
|
|
528
|
+
constructor(kwargs?: i.UpdateServiceRequestInterface);
|
|
529
|
+
toApiJson(): object;
|
|
530
|
+
}
|
|
448
531
|
export declare class WeekdayAvailability implements i.WeekdayAvailabilityInterface {
|
|
449
532
|
day: e.DayOfWeek;
|
|
450
533
|
timeSlots: TimeRange[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { CreateCalendarRequestInterface, CreateCalendarResponse, DayOfWeek, HostBookMeetingRequestInterface, IsCalendarConfiguredRequestInterface, IsCalendarConfiguredResponse, ListAvailabilityRequestFiltersInterface, ListBookedMeetingsRequestFiltersInterface, MeetingHostApiService, PagedRequestOptionsInterface, SendMeetingRequestEmailRequestInterface, TimeRangeInterface, TimeZoneInterface, WeekdayAvailability } from '../_internal';
|
|
3
|
-
import { ApplicationContextPropertiesSet, AvailabilityRule, Calendar, HostUrlMap, Meeting, MeetingMetadata, MeetingType, PagedResponse, Preferences } from '../shared';
|
|
3
|
+
import { ApplicationContextPropertiesSet, AvailabilityRule, Calendar, Group, HostUrlMap, Meeting, MeetingMetadata, MeetingType, PagedResponse, Preferences, Service } from '../shared';
|
|
4
4
|
import { HostUser } from '../shared/host-user';
|
|
5
5
|
import { HttpResponse } from "@angular/common/http";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -128,6 +128,40 @@ export declare class HostService {
|
|
|
128
128
|
}): Observable<HostUser[]>;
|
|
129
129
|
IsCalendarConfigured(req: IsCalendarConfiguredRequestInterface): Observable<IsCalendarConfiguredResponse>;
|
|
130
130
|
sendMeetingRequestEmail(req: SendMeetingRequestEmailRequestInterface): Observable<HttpResponse<null>>;
|
|
131
|
+
createService(req: {
|
|
132
|
+
service: Service;
|
|
133
|
+
updateFields?: (keyof Service)[];
|
|
134
|
+
HostId?: string;
|
|
135
|
+
}): Observable<string>;
|
|
136
|
+
updateService(req: {
|
|
137
|
+
id: string;
|
|
138
|
+
service: Partial<Service>;
|
|
139
|
+
updateFields?: (keyof Service)[];
|
|
140
|
+
HostId?: string;
|
|
141
|
+
}): Observable<void>;
|
|
142
|
+
deleteService(req: {
|
|
143
|
+
id: string;
|
|
144
|
+
}): Observable<void>;
|
|
145
|
+
listServices(req: {
|
|
146
|
+
hostId: string;
|
|
147
|
+
}): Observable<Service[]>;
|
|
148
|
+
createGroup(req: {
|
|
149
|
+
group: Group;
|
|
150
|
+
updateFields?: (keyof Group)[];
|
|
151
|
+
HostId?: string;
|
|
152
|
+
}): Observable<string>;
|
|
153
|
+
updateGroup(req: {
|
|
154
|
+
id: string;
|
|
155
|
+
group: Partial<Group>;
|
|
156
|
+
updateFields?: (keyof Group)[];
|
|
157
|
+
HostId?: string;
|
|
158
|
+
}): Observable<void>;
|
|
159
|
+
deleteGroup(req: {
|
|
160
|
+
id: string;
|
|
161
|
+
}): Observable<void>;
|
|
162
|
+
listGroups(req: {
|
|
163
|
+
hostId: string;
|
|
164
|
+
}): Observable<Group[]>;
|
|
131
165
|
static ɵfac: i0.ɵɵFactoryDeclaration<HostService, never>;
|
|
132
166
|
static ɵprov: i0.ɵɵInjectableDeclaration<HostService>;
|
|
133
167
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventGroupAndServiceAssociationsInterface, GroupInterface, ServiceInterface } from "../_internal";
|
|
2
|
+
export interface Group {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
slug: string;
|
|
7
|
+
isPinned: boolean;
|
|
8
|
+
associations: EventGroupAndServiceAssociations[];
|
|
9
|
+
}
|
|
10
|
+
export interface EventGroupAndServiceAssociations {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
eventType: string;
|
|
14
|
+
identifier: string;
|
|
15
|
+
isEditable?: boolean;
|
|
16
|
+
creatorUserName?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface Service {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
slug: string;
|
|
23
|
+
isPinned: boolean;
|
|
24
|
+
associations: EventGroupAndServiceAssociations[];
|
|
25
|
+
}
|
|
26
|
+
export declare function GroupTypeToAPi(req: {
|
|
27
|
+
group: Partial<Group>;
|
|
28
|
+
}): GroupInterface;
|
|
29
|
+
export declare function ServiceTypeToApi(req: {
|
|
30
|
+
service: Partial<Service>;
|
|
31
|
+
}): ServiceInterface;
|
|
32
|
+
export declare function AssociationTypeToApi(association: EventGroupAndServiceAssociations): EventGroupAndServiceAssociationsInterface;
|
|
33
|
+
export declare function AssociationFromApi(associationApi: EventGroupAndServiceAssociationsInterface): EventGroupAndServiceAssociations;
|
|
34
|
+
export declare function GroupFromApi(req: {
|
|
35
|
+
groupApi: GroupInterface;
|
|
36
|
+
}): Group;
|
|
37
|
+
export declare function ServiceFromApi(req: {
|
|
38
|
+
serviceApi: ServiceInterface;
|
|
39
|
+
}): Service;
|
package/lib/shared/index.d.ts
CHANGED