@sprucelabs/spruce-calendar-components 20.9.40 → 20.10.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/build/.spruce/schemas/schemas.types.d.ts +533 -533
- package/build/esm/.spruce/schemas/schemas.types.d.ts +533 -533
- package/build/esm/stores/RemoteEventStore.d.ts +1 -1
- package/build/esm/stores/RemoteEventStore.js +1 -1
- package/build/stores/RemoteEventStore.d.ts +1 -1
- package/build/stores/RemoteEventStore.js +1 -1
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ export default class RemoteEventStore {
|
|
|
35
35
|
cancelEvent(id: string): Promise<void>;
|
|
36
36
|
getSchedules(options: {
|
|
37
37
|
calendarIds: string[];
|
|
38
|
-
|
|
38
|
+
peopleIds: string[];
|
|
39
39
|
startDate: number;
|
|
40
40
|
endDate: number;
|
|
41
41
|
}): Promise<import("@sprucelabs/schema").SchemaStaticValues<SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema, false, import("@sprucelabs/schema").SchemaOptionalFieldNames<SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema>, import("@sprucelabs/schema").StaticSchemaAllValues<SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema, false>>[]>;
|
|
@@ -228,7 +228,7 @@ export default class RemoteEventStore {
|
|
|
228
228
|
}
|
|
229
229
|
getSchedules(options) {
|
|
230
230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
231
|
-
const { calendarIds, personIds, startDate, endDate } = options;
|
|
231
|
+
const { calendarIds, peopleIds: personIds, startDate, endDate } = options;
|
|
232
232
|
const [{ events }] = yield this.client.emitAndFlattenResponses('calendar.get-schedules::v2021_05_19', {
|
|
233
233
|
target: {
|
|
234
234
|
calendarIds,
|
|
@@ -35,7 +35,7 @@ export default class RemoteEventStore {
|
|
|
35
35
|
cancelEvent(id: string): Promise<void>;
|
|
36
36
|
getSchedules(options: {
|
|
37
37
|
calendarIds: string[];
|
|
38
|
-
|
|
38
|
+
peopleIds: string[];
|
|
39
39
|
startDate: number;
|
|
40
40
|
endDate: number;
|
|
41
41
|
}): Promise<import("@sprucelabs/schema").SchemaStaticValues<SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema, false, import("@sprucelabs/schema").SchemaOptionalFieldNames<SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema>, import("@sprucelabs/schema").StaticSchemaAllValues<SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema, false>>[]>;
|
|
@@ -207,7 +207,7 @@ class RemoteEventStore {
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
async getSchedules(options) {
|
|
210
|
-
const { calendarIds, personIds, startDate, endDate } = options;
|
|
210
|
+
const { calendarIds, peopleIds: personIds, startDate, endDate } = options;
|
|
211
211
|
const [{ events }] = await this.client.emitAndFlattenResponses('calendar.get-schedules::v2021_05_19', {
|
|
212
212
|
target: {
|
|
213
213
|
calendarIds,
|