@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.
@@ -35,7 +35,7 @@ export default class RemoteEventStore {
35
35
  cancelEvent(id: string): Promise<void>;
36
36
  getSchedules(options: {
37
37
  calendarIds: string[];
38
- personIds: string[];
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
- personIds: string[];
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,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-calendar-components",
3
3
  "description": "Calendar components for working with calendars and Sprucebot.",
4
- "version": "20.9.40",
4
+ "version": "20.10.0",
5
5
  "skill": {
6
6
  "namespace": "calendar"
7
7
  },