@vendasta/meetings 0.92.6 → 0.92.8
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/meeting-guest.interface.mjs +1 -1
- package/esm2020/lib/_internal/meeting-host.api.service.mjs +12 -2
- package/esm2020/lib/_internal/objects/meeting-guest.mjs +10 -1
- package/esm2020/lib/host/host.service.mjs +7 -1
- package/fesm2015/vendasta-meetings.mjs +25 -0
- package/fesm2015/vendasta-meetings.mjs.map +1 -1
- package/fesm2020/vendasta-meetings.mjs +25 -0
- package/fesm2020/vendasta-meetings.mjs.map +1 -1
- package/lib/_internal/interfaces/meeting-guest.interface.d.ts +3 -0
- package/lib/_internal/meeting-host.api.service.d.ts +4 -2
- package/lib/_internal/objects/meeting-guest.d.ts +3 -0
- package/lib/host/host.service.d.ts +11 -1
- package/package.json +1 -1
|
@@ -2134,6 +2134,9 @@ class GetGroupRequest {
|
|
|
2134
2134
|
if (typeof this.slug !== 'undefined') {
|
|
2135
2135
|
toReturn['slug'] = this.slug;
|
|
2136
2136
|
}
|
|
2137
|
+
if (typeof this.hostId !== 'undefined') {
|
|
2138
|
+
toReturn['hostId'] = this.hostId;
|
|
2139
|
+
}
|
|
2137
2140
|
return toReturn;
|
|
2138
2141
|
}
|
|
2139
2142
|
}
|
|
@@ -2269,6 +2272,9 @@ class GetServiceRequest {
|
|
|
2269
2272
|
if (typeof this.slug !== 'undefined') {
|
|
2270
2273
|
toReturn['slug'] = this.slug;
|
|
2271
2274
|
}
|
|
2275
|
+
if (typeof this.hostId !== 'undefined') {
|
|
2276
|
+
toReturn['hostId'] = this.hostId;
|
|
2277
|
+
}
|
|
2272
2278
|
return toReturn;
|
|
2273
2279
|
}
|
|
2274
2280
|
}
|
|
@@ -2379,6 +2385,9 @@ class GuestGetBookedMeetingResponse {
|
|
|
2379
2385
|
if (typeof this.meetingTypeId !== 'undefined') {
|
|
2380
2386
|
toReturn['meetingTypeId'] = this.meetingTypeId;
|
|
2381
2387
|
}
|
|
2388
|
+
if (typeof this.location !== 'undefined') {
|
|
2389
|
+
toReturn['location'] = this.location;
|
|
2390
|
+
}
|
|
2382
2391
|
return toReturn;
|
|
2383
2392
|
}
|
|
2384
2393
|
}
|
|
@@ -5190,6 +5199,16 @@ class MeetingHostApiService {
|
|
|
5190
5199
|
return this.http.post(this._host + "/meetings.v1.MeetingHost/CalendarMigration", {}, this.apiOptions())
|
|
5191
5200
|
.pipe(map(resp => CalendarMigrationResponse.fromProto(resp)));
|
|
5192
5201
|
}
|
|
5202
|
+
getGroup(r) {
|
|
5203
|
+
const request = (r.toApiJson) ? r : new GetGroupRequest(r);
|
|
5204
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetGroup", request.toApiJson(), this.apiOptions())
|
|
5205
|
+
.pipe(map(resp => GetGroupResponse.fromProto(resp)));
|
|
5206
|
+
}
|
|
5207
|
+
getService(r) {
|
|
5208
|
+
const request = (r.toApiJson) ? r : new GetServiceRequest(r);
|
|
5209
|
+
return this.http.post(this._host + "/meetings.v1.MeetingHost/GetService", request.toApiJson(), this.apiOptions())
|
|
5210
|
+
.pipe(map(resp => GetServiceResponse.fromProto(resp)));
|
|
5211
|
+
}
|
|
5193
5212
|
}
|
|
5194
5213
|
MeetingHostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5195
5214
|
MeetingHostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MeetingHostApiService, providedIn: 'root' });
|
|
@@ -6133,6 +6152,12 @@ class HostService {
|
|
|
6133
6152
|
return res.groups.map(group => GroupFromApi({ groupApi: group, environment: onProductionGlobal() ? Environment.PROD : Environment.DEMO }));
|
|
6134
6153
|
}));
|
|
6135
6154
|
}
|
|
6155
|
+
getGroup(req) {
|
|
6156
|
+
return this.hostAPIService.getGroup(req);
|
|
6157
|
+
}
|
|
6158
|
+
getService(req) {
|
|
6159
|
+
return this.hostAPIService.getService(req);
|
|
6160
|
+
}
|
|
6136
6161
|
}
|
|
6137
6162
|
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [{ token: MeetingHostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6138
6163
|
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: 'root' });
|