@burdenoff/microfe-calendar 2026.1124.3 → 2026.1124.4

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.
Files changed (88) hide show
  1. package/dist/generated/wspace-operations.d.ts +342 -69
  2. package/dist/generated/wspace-operations.js +73 -31
  3. package/dist/generated/wspace-operations.js.map +1 -1
  4. package/dist/generated/wspace-types.d.ts +405 -6
  5. package/dist/translations/en.d.ts +22 -4
  6. package/dist/v2/CalendarPageV2.js +45 -41
  7. package/dist/v2/CalendarPageV2.js.map +1 -1
  8. package/dist/v2/CalendarRoutesV2.js +64 -64
  9. package/dist/v2/CalendarRoutesV2.js.map +1 -1
  10. package/dist/v2/data/errors.d.ts +5 -0
  11. package/dist/v2/data/errors.js +6 -2
  12. package/dist/v2/data/errors.js.map +1 -1
  13. package/dist/v2/data/normalize.d.ts +31 -3
  14. package/dist/v2/data/normalize.js +57 -13
  15. package/dist/v2/data/normalize.js.map +1 -1
  16. package/dist/v2/data/seriesDateLookup.d.ts +9 -0
  17. package/dist/v2/data/seriesDateLookup.js +12 -0
  18. package/dist/v2/data/seriesDateLookup.js.map +1 -0
  19. package/dist/v2/data/useEventActions.d.ts +9 -3
  20. package/dist/v2/data/useEventActions.js +239 -186
  21. package/dist/v2/data/useEventActions.js.map +1 -1
  22. package/dist/v2/data/useEventForPeek.js +63 -21
  23. package/dist/v2/data/useEventForPeek.js.map +1 -1
  24. package/dist/v2/data/useEventsInRangeV2.d.ts +40 -2
  25. package/dist/v2/data/useEventsInRangeV2.js +76 -47
  26. package/dist/v2/data/useEventsInRangeV2.js.map +1 -1
  27. package/dist/v2/day/DayPanel.js +1 -1
  28. package/dist/v2/day/DayPanel.js.map +1 -1
  29. package/dist/v2/event/EventDialog.d.ts +13 -3
  30. package/dist/v2/event/EventDialog.js +189 -166
  31. package/dist/v2/event/EventDialog.js.map +1 -1
  32. package/dist/v2/event/EventDialogs.js +57 -50
  33. package/dist/v2/event/EventDialogs.js.map +1 -1
  34. package/dist/v2/event/EventMoreTab.js +8 -7
  35. package/dist/v2/event/EventMoreTab.js.map +1 -1
  36. package/dist/v2/event/EventPlaceTab.js +2 -2
  37. package/dist/v2/event/EventPlaceTab.js.map +1 -1
  38. package/dist/v2/event/FindTimeDialog.js +1 -1
  39. package/dist/v2/event/FindTimeDialog.js.map +1 -1
  40. package/dist/v2/event/RepeatField.js +10 -7
  41. package/dist/v2/event/RepeatField.js.map +1 -1
  42. package/dist/v2/event/dialogLogic.d.ts +10 -0
  43. package/dist/v2/event/dialogLogic.js +25 -22
  44. package/dist/v2/event/dialogLogic.js.map +1 -1
  45. package/dist/v2/event/dialogModel.d.ts +3 -0
  46. package/dist/v2/event/dialogModel.js.map +1 -1
  47. package/dist/v2/event/eventForm.d.ts +26 -0
  48. package/dist/v2/event/eventForm.js +145 -92
  49. package/dist/v2/event/eventForm.js.map +1 -1
  50. package/dist/v2/event/findTimeSource.js +44 -44
  51. package/dist/v2/event/findTimeSource.js.map +1 -1
  52. package/dist/v2/event/rrule.js.map +1 -1
  53. package/dist/v2/event/savePlan.d.ts +125 -15
  54. package/dist/v2/event/savePlan.js +162 -68
  55. package/dist/v2/event/savePlan.js.map +1 -1
  56. package/dist/v2/event/useEventData.d.ts +7 -2
  57. package/dist/v2/event/useEventData.js +107 -80
  58. package/dist/v2/event/useEventData.js.map +1 -1
  59. package/dist/v2/event/useEventDialogModel.d.ts +16 -3
  60. package/dist/v2/event/useEventDialogModel.js +82 -67
  61. package/dist/v2/event/useEventDialogModel.js.map +1 -1
  62. package/dist/v2/event/useEventSave.d.ts +20 -4
  63. package/dist/v2/event/useEventSave.js +181 -90
  64. package/dist/v2/event/useEventSave.js.map +1 -1
  65. package/dist/v2/events/eventLook.js +16 -16
  66. package/dist/v2/events/eventLook.js.map +1 -1
  67. package/dist/v2/events/eventModel.d.ts +17 -4
  68. package/dist/v2/events/eventModel.js +46 -34
  69. package/dist/v2/events/eventModel.js.map +1 -1
  70. package/dist/v2/events/localChanges.d.ts +4 -1
  71. package/dist/v2/events/localChanges.js +4 -2
  72. package/dist/v2/events/localChanges.js.map +1 -1
  73. package/dist/v2/page/CalendarPageContext.d.ts +2 -2
  74. package/dist/v2/page/CalendarPageContext.js.map +1 -1
  75. package/dist/v2/page/useCalendarPageModel.js +141 -139
  76. package/dist/v2/page/useCalendarPageModel.js.map +1 -1
  77. package/dist/v2/page/viewState.d.ts +9 -1
  78. package/dist/v2/page/viewState.js +5 -3
  79. package/dist/v2/page/viewState.js.map +1 -1
  80. package/dist/v2/peek/PeekEvent.js +210 -204
  81. package/dist/v2/peek/PeekEvent.js.map +1 -1
  82. package/dist/v2/rail/useMonthEventDates.js +1 -1
  83. package/dist/v2/rail/useMonthEventDates.js.map +1 -1
  84. package/dist/v2/states/CalendarStates.d.ts +15 -0
  85. package/dist/v2/states/CalendarStates.js +42 -11
  86. package/dist/v2/states/CalendarStates.js.map +1 -1
  87. package/dist/v2/types.d.ts +30 -2
  88. package/package.json +1 -1
@@ -20113,9 +20113,13 @@ export type Calendar = {
20113
20113
  color?: Maybe<Scalars['String']['output']>;
20114
20114
  createdAt: Scalars['DateTime']['output'];
20115
20115
  createdBy: Scalars['String']['output'];
20116
+ defaultEventDuration?: Maybe<Scalars['Int']['output']>;
20117
+ defaultReminderMinutes?: Maybe<Scalars['Int']['output']>;
20116
20118
  description?: Maybe<Scalars['String']['output']>;
20117
20119
  events: Array<CalendarEvent>;
20118
20120
  externalSyncs: Array<ExternalCalendarSync>;
20121
+ /** The calendar's defaults (set with updateCalendar). */
20122
+ firstDayOfWeek?: Maybe<DayOfWeek>;
20119
20123
  id: Scalars['ID']['output'];
20120
20124
  isDefault: Scalars['Boolean']['output'];
20121
20125
  isPublic: Scalars['Boolean']['output'];
@@ -20140,6 +20144,8 @@ export type Calendar = {
20140
20144
  tags: Scalars['JSON']['output'];
20141
20145
  timezone?: Maybe<Scalars['String']['output']>;
20142
20146
  updatedAt: Scalars['DateTime']['output'];
20147
+ workingHoursEnd?: Maybe<Scalars['String']['output']>;
20148
+ workingHoursStart?: Maybe<Scalars['String']['output']>;
20143
20149
  workspaceId: Scalars['String']['output'];
20144
20150
  };
20145
20151
  export type CalendarConnection = {
@@ -20177,6 +20183,11 @@ export type CalendarEvent = {
20177
20183
  externalEventId?: Maybe<Scalars['String']['output']>;
20178
20184
  externalSyncEnabled?: Maybe<Scalars['Boolean']['output']>;
20179
20185
  id: Scalars['ID']['output'];
20186
+ /**
20187
+ * Show me as busy (true) or free (false): a free event takes no time in
20188
+ * free/busy, Find a time or room availability (BOFF-15698).
20189
+ */
20190
+ isBusy: Scalars['Boolean']['output'];
20180
20191
  isRecurring: Scalars['Boolean']['output'];
20181
20192
  location?: Maybe<Scalars['String']['output']>;
20182
20193
  locationAddress?: Maybe<Scalars['String']['output']>;
@@ -20208,6 +20219,50 @@ export type CalendarEvent = {
20208
20219
  waitlistEnabled?: Maybe<Scalars['Boolean']['output']>;
20209
20220
  workspaceId: Scalars['String']['output'];
20210
20221
  };
20222
+ /**
20223
+ * One occurrence of an event within the asked range. A one-off event is one
20224
+ * occurrence of itself; a repeating series gives one for each time it falls in
20225
+ * the range, expanded in the event's own time zone, so a 09:00 London meeting
20226
+ * stays at 09:00 London on both sides of a daylight-saving change. All-day
20227
+ * events repeat by date.
20228
+ */
20229
+ export type CalendarEventOccurrence = {
20230
+ __typename?: 'CalendarEventOccurrence';
20231
+ /** When this occurrence ends. */
20232
+ end: Scalars['DateTime']['output'];
20233
+ /**
20234
+ * The stored event: the series itself for a regular occurrence of it (its
20235
+ * `startTime` and `endTime` are the series' first ones), else the event's own
20236
+ * row (a one-off event, or an occurrence that was moved or edited on its own).
20237
+ */
20238
+ event: CalendarEvent;
20239
+ /**
20240
+ * Unique within an answer and the same on every read: the event's id for a
20241
+ * one-off event or a moved occurrence, else `<seriesId>@<instanceDate>`
20242
+ * (`instanceDate` as an ISO 8601 UTC instant).
20243
+ */
20244
+ id: Scalars['ID']['output'];
20245
+ /**
20246
+ * This occurrence's original start in its series; null for an event that
20247
+ * doesn't repeat. "This event" passes it as `instanceDate` to
20248
+ * modifyRecurringInstance / cancelRecurringInstance (or as `occurrenceDate`
20249
+ * to cancelEventOccurrence). For a moved occurrence it is the date it was
20250
+ * moved from.
20251
+ */
20252
+ instanceDate?: Maybe<Scalars['DateTime']['output']>;
20253
+ /**
20254
+ * True when this occurrence was moved or edited on its own: `event` is its
20255
+ * own row (deleteModifiedInstance puts it back into the series).
20256
+ */
20257
+ isModified: Scalars['Boolean']['output'];
20258
+ /**
20259
+ * The series this occurrence belongs to; null for an event that doesn't
20260
+ * repeat.
20261
+ */
20262
+ seriesId?: Maybe<Scalars['ID']['output']>;
20263
+ /** When this occurrence starts. */
20264
+ start: Scalars['DateTime']['output'];
20265
+ };
20211
20266
  export declare enum CalendarEventStatus {
20212
20267
  Cancelled = "CANCELLED",
20213
20268
  Confirmed = "CONFIRMED",
@@ -20232,6 +20287,22 @@ export type CalendarExportJobResponse = {
20232
20287
  status: Scalars['String']['output'];
20233
20288
  workspaceId: Scalars['ID']['output'];
20234
20289
  };
20290
+ /**
20291
+ * Your private address for a calendar: an .ics link other apps (Apple
20292
+ * Calendar, Google Calendar, Outlook) can subscribe to. It is a password:
20293
+ * anyone with it sees the events you can see in this calendar, read-only.
20294
+ */
20295
+ export type CalendarFeed = {
20296
+ __typename?: 'CalendarFeed';
20297
+ calendarId: Scalars['ID']['output'];
20298
+ createdAt: Scalars['DateTime']['output'];
20299
+ lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
20300
+ /**
20301
+ * The address. Only generateCalendarFeed and resetCalendarFeed return it,
20302
+ * once: the service keeps a hash, never the address itself.
20303
+ */
20304
+ url?: Maybe<Scalars['String']['output']>;
20305
+ };
20235
20306
  export type CalendarFilterInput = {
20236
20307
  calendarType?: InputMaybe<CalendarType>;
20237
20308
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
@@ -20313,6 +20384,13 @@ export declare enum CalendarResourceType {
20313
20384
  Room = "ROOM",
20314
20385
  Vehicle = "VEHICLE"
20315
20386
  }
20387
+ /** Who may book rooms and other calendar resources. */
20388
+ export declare enum CalendarRoomBookers {
20389
+ /** Everyone who can book (the default). */
20390
+ Everyone = "EVERYONE",
20391
+ /** Only people who manage calendars: workspace owners and admins, project leads. */
20392
+ Managers = "MANAGERS"
20393
+ }
20316
20394
  export type CalendarShare = {
20317
20395
  __typename?: 'CalendarShare';
20318
20396
  calendar: Calendar;
@@ -20325,10 +20403,24 @@ export type CalendarShare = {
20325
20403
  id: Scalars['ID']['output'];
20326
20404
  shareToken?: Maybe<Scalars['String']['output']>;
20327
20405
  sharedBy: Scalars['String']['output'];
20406
+ /**
20407
+ * What the person sees of the calendar's events (BOFF-15698): FULL, or
20408
+ * FREE_BUSY (when they're busy only, never titles, descriptions, places or
20409
+ * people, on any read path). Events they organise or are invited to show in
20410
+ * full either way.
20411
+ */
20412
+ showAs: CalendarShareShowAs;
20328
20413
  teamId?: Maybe<Scalars['String']['output']>;
20329
20414
  tokenType?: Maybe<ShareTokenType>;
20330
20415
  userId?: Maybe<Scalars['String']['output']>;
20331
20416
  };
20417
+ /** What a person a calendar is shared with sees of its events. */
20418
+ export declare enum CalendarShareShowAs {
20419
+ /** When they're busy only: never titles, descriptions, places or people. */
20420
+ FreeBusy = "FREE_BUSY",
20421
+ /** Everything their access allows. */
20422
+ Full = "FULL"
20423
+ }
20332
20424
  /** Where a calendar's events come from. */
20333
20425
  export declare enum CalendarSource {
20334
20426
  GoogleCalendar = "GOOGLE_CALENDAR",
@@ -20382,6 +20474,22 @@ export declare enum CalendarType {
20382
20474
  Project = "PROJECT",
20383
20475
  Workspace = "WORKSPACE"
20384
20476
  }
20477
+ /**
20478
+ * A workspace's calendar rules. Until an admin changes them, every value is
20479
+ * today's behaviour (`updatedAt` is then null).
20480
+ */
20481
+ export type CalendarWorkspaceSettings = {
20482
+ __typename?: 'CalendarWorkspaceSettings';
20483
+ /** Whether a calendar may be made public (anyone with the link can see it). */
20484
+ allowPublicLinks: Scalars['Boolean']['output'];
20485
+ bookRoomsRole: CalendarRoomBookers;
20486
+ /** The longest one booking of a room may run, in minutes; null for no limit. */
20487
+ maxBookingMinutes?: Maybe<Scalars['Int']['output']>;
20488
+ showHolidaysToEveryone: Scalars['Boolean']['output'];
20489
+ updatedAt?: Maybe<Scalars['DateTime']['output']>;
20490
+ updatedBy?: Maybe<Scalars['String']['output']>;
20491
+ workspaceId: Scalars['ID']['output'];
20492
+ };
20385
20493
  export type CallDurableWorkerSandboxInput = {
20386
20494
  body?: InputMaybe<Scalars['String']['input']>;
20387
20495
  bodyEncoding?: InputMaybe<DurableWorkerSandboxBodyEncoding>;
@@ -30632,6 +30740,11 @@ export type CreateEventInput = {
30632
30740
  description?: InputMaybe<Scalars['String']['input']>;
30633
30741
  endTime: Scalars['DateTime']['input'];
30634
30742
  eventType: EventType;
30743
+ /**
30744
+ * Show me as busy (true, the default) or free (false): a free event takes
30745
+ * no time in free/busy, Find a time or room availability (BOFF-15698).
30746
+ */
30747
+ isBusy?: InputMaybe<Scalars['Boolean']['input']>;
30635
30748
  isRecurring?: InputMaybe<Scalars['Boolean']['input']>;
30636
30749
  location?: InputMaybe<Scalars['String']['input']>;
30637
30750
  locationAddress?: InputMaybe<Scalars['String']['input']>;
@@ -42789,6 +42902,25 @@ export declare enum EventfullyManagedVirtualSignalType {
42789
42902
  IceCandidate = "ICE_CANDIDATE",
42790
42903
  Offer = "OFFER"
42791
42904
  }
42905
+ /** The occurrences of several calendars' events between two instants. */
42906
+ export type EventsInRangeForCalendarsResult = {
42907
+ __typename?: 'EventsInRangeForCalendarsResult';
42908
+ /** Sorted by start (all-day first on a tie, then the longer first). */
42909
+ occurrences: Array<CalendarEventOccurrence>;
42910
+ /**
42911
+ * Some occurrences may be missing: the answer holds at most 5,000 (the
42912
+ * earliest), a series at most 2,000, or the work one question may do ran
42913
+ * out; or a repeat rule couldn't be expanded (that series then shows at its
42914
+ * first date only). Ask for fewer calendars or a shorter range.
42915
+ */
42916
+ truncated: Scalars['Boolean']['output'];
42917
+ /**
42918
+ * The asked calendars this answer leaves out because they aren't in this
42919
+ * workspace, aren't visible to you, or you may not read their events. It
42920
+ * never says which.
42921
+ */
42922
+ unavailableCalendarIds: Array<Scalars['ID']['output']>;
42923
+ };
42792
42924
  export type ExecuteActionInput = {
42793
42925
  agentId?: InputMaybe<Scalars['ID']['input']>;
42794
42926
  environmentVariables?: InputMaybe<Scalars['JSON']['input']>;
@@ -45385,6 +45517,31 @@ export type FolderWithContents = {
45385
45517
  folder: Folder;
45386
45518
  subfolders: Array<Folder>;
45387
45519
  };
45520
+ /** A thread you follow. */
45521
+ export type FollowedThread = {
45522
+ __typename?: 'FollowedThread';
45523
+ /**
45524
+ * When its newest reply was sent, or its root when it has none: the list's
45525
+ * order, newest first.
45526
+ */
45527
+ lastActivityAt: Scalars['DateTime']['output'];
45528
+ /** Its root message; `root.threadSummary` holds the reply counts. */
45529
+ root: Message;
45530
+ /** Your place in it. */
45531
+ state: ThreadState;
45532
+ /** Replies by others after where you last read it. */
45533
+ unreadReplyCount: Scalars['Int']['output'];
45534
+ };
45535
+ export type FollowedThreadConnection = {
45536
+ __typename?: 'FollowedThreadConnection';
45537
+ edges: Array<FollowedThreadEdge>;
45538
+ pageInfo: PageInfo;
45539
+ };
45540
+ export type FollowedThreadEdge = {
45541
+ __typename?: 'FollowedThreadEdge';
45542
+ cursor: Scalars['String']['output'];
45543
+ node: FollowedThread;
45544
+ };
45388
45545
  export type ForkInstalledPackageInput = {
45389
45546
  installedPackageId: Scalars['ID']['input'];
45390
45547
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -74267,6 +74424,12 @@ export declare enum MeshSessionKind {
74267
74424
  }
74268
74425
  export type Message = {
74269
74426
  __typename?: 'Message';
74427
+ /**
74428
+ * A thread reply sent also to the channel (SendMessageInput.alsoInChannel): the
74429
+ * history (conversationHistory) shows it among the top-level messages too.
74430
+ * False for every other message.
74431
+ */
74432
+ alsoInChannel: Scalars['Boolean']['output'];
74270
74433
  attachments: Array<Attachment>;
74271
74434
  authorId: Scalars['ID']['output'];
74272
74435
  authorName: Scalars['String']['output'];
@@ -74305,6 +74468,11 @@ export type Message = {
74305
74468
  status: MessageStatus;
74306
74469
  threadLevel: Scalars['Int']['output'];
74307
74470
  threadRootId?: Maybe<Scalars['ID']['output']>;
74471
+ /**
74472
+ * The thread this message roots, as you see it (BOFF-16167). Null for a reply
74473
+ * (a reply is part of its root's thread).
74474
+ */
74475
+ threadSummary?: Maybe<ThreadSummary>;
74308
74476
  type: MessageType;
74309
74477
  updatedAt: Scalars['DateTime']['output'];
74310
74478
  workspaceId: Scalars['ID']['output'];
@@ -74312,6 +74480,12 @@ export type Message = {
74312
74480
  export type MessageConnection = {
74313
74481
  __typename?: 'MessageConnection';
74314
74482
  edges: Array<MessageEdge>;
74483
+ /**
74484
+ * Set by `thread` only (BOFF-16167): the first reply by someone else after where
74485
+ * you last read the thread (markThreadRead), where the "2 new replies" line
74486
+ * goes. Null when nothing is unread, and on every other query.
74487
+ */
74488
+ firstUnreadReplyId?: Maybe<Scalars['ID']['output']>;
74315
74489
  pageInfo: PageInfo;
74316
74490
  totalCount?: Maybe<Scalars['Int']['output']>;
74317
74491
  };
@@ -82362,8 +82536,8 @@ export type Mutation = {
82362
82536
  * placed while the erase runs included; the hold count is taken after it). In
82363
82537
  * human conversations message bodies are RETAINED for thread integrity and the
82364
82538
  * subject's authorship is anonymised; mention / reaction / read-receipt /
82365
- * poll-vote / call / report / draft / chat-settings records keyed to the
82366
- * subject are deleted.
82539
+ * poll-vote / call / report / draft / chat-settings / thread-state records keyed
82540
+ * to the subject are deleted.
82367
82541
  * Reported back via `retainedForLegalReason`: "thread-integrity", plus
82368
82542
  * "legal-hold" when a hold retained assistant chats and "erasure-tombstones"
82369
82543
  * when content-free assistant tombstones remain (all joined with "; ").
@@ -82378,8 +82552,8 @@ export type Mutation = {
82378
82552
  * chats and their tombstones included), messages authored (both sides of each
82379
82553
  * assistant turn included), conversation memberships, mentions of the subject,
82380
82554
  * reactions, poll votes, call participations, comment activity, drafts,
82381
- * assistant-history scopes and the subject's own chat settings, across every
82382
- * workspace. Attachments listed by
82555
+ * assistant-history scopes, the subject's own chat settings and the threads they
82556
+ * follow or have read, across every workspace. Attachments listed by
82383
82557
  * reference only. Called with no workspace (a DSAR spans all of them). Never a
82384
82558
  * partial bundle: when any collection cannot be read the export fails
82385
82559
  * (SERVICE_UNAVAILABLE, naming the collections) and is run again.
@@ -85194,6 +85368,12 @@ export type Mutation = {
85194
85368
  * Service actors only.
85195
85369
  */
85196
85370
  finalizeEventCancellation: FinalizeEventCancellationResult;
85371
+ /**
85372
+ * Follow a thread yourself (BOFF-16167): its replies reach you from now on.
85373
+ * `messageId` is its root or any reply in it. Final until you unfollow it: no
85374
+ * auto-follow changes it. Active members of its conversation only.
85375
+ */
85376
+ followThread: ThreadState;
85197
85377
  /** Force release a lock (admin only) */
85198
85378
  forceReleaseFileLock: ReleaseLockResponse;
85199
85379
  forkInstalledPackage: InstalledPackage;
@@ -85206,6 +85386,13 @@ export type Mutation = {
85206
85386
  forkVibecontrolsGitHubRepo: VibecontrolsForkRepoResult;
85207
85387
  forwardMessage: SendMessagePayload;
85208
85388
  generateAgentGraphContextUrl: AgentGraphContextUrl;
85389
+ /**
85390
+ * Make your private address for a calendar and return it, once. Refused for
85391
+ * a calendar subscribed by link (BAD_USER_INPUT, SUBSCRIPTION_CALENDAR),
85392
+ * another person's own calendar (NOT_FOUND), or when you already have one
85393
+ * (BAD_USER_INPUT, FEED_EXISTS: reset it instead).
85394
+ */
85395
+ generateCalendarFeed: CalendarFeed;
85209
85396
  /** Generate occurrences up to `through` (default: the pattern's horizon). Idempotent. */
85210
85397
  generateCrewShiftPatternShifts: CrewShiftPatternResult;
85211
85398
  /** Generate custom node using AI */
@@ -87407,6 +87594,14 @@ export type Mutation = {
87407
87594
  /** Record that a person reviewed the knowledge base's sources and they are current. */
87408
87595
  markKnowledgeBaseReviewed: KnowledgeBase;
87409
87596
  markNoShow: Booking;
87597
+ /**
87598
+ * Mark a thread read up to one of its replies (BOFF-16167): later replies by
87599
+ * others are its unread ones. `messageId` is its root or any reply in it;
87600
+ * `lastReplyId` is a reply in that thread (BAD_USER_INPUT otherwise), the last
87601
+ * one you saw. Moving back to an earlier reply marks what follows it unread.
87602
+ * Active members of its conversation only. Does not change whether you follow it.
87603
+ */
87604
+ markThreadRead: ThreadState;
87410
87605
  /** Pair a statement line with a farm Transaction. Neither row's own figures are altered. */
87411
87606
  matchHealthyBowlStatementLine: HealthyBowlBankStatementLine;
87412
87607
  /**
@@ -89708,6 +89903,11 @@ export type Mutation = {
89708
89903
  * defaults, and keep them saved so every device picks the reset up.
89709
89904
  */
89710
89905
  resetBigConsoleSettings: BigConsoleSettings;
89906
+ /**
89907
+ * Replace your private address for a calendar and return the new one, once.
89908
+ * The old address stops working at once. NOT_FOUND when you have none.
89909
+ */
89910
+ resetCalendarFeed: CalendarFeed;
89711
89911
  resetCircuitBreaker: CircuitBreakerState;
89712
89912
  /** Clear a throttle queue's backlog so the next run is released at once (audited). */
89713
89913
  resetDelayQueue: ResetDelayQueueResponse;
@@ -92196,6 +92396,13 @@ export type Mutation = {
92196
92396
  * Same caller restriction as assignWorkspaceQuota.
92197
92397
  */
92198
92398
  unassignWorkspaceQuota: Scalars['Boolean']['output'];
92399
+ /**
92400
+ * Stop following a thread yourself (BOFF-16167): no later reply, mention or
92401
+ * reply of yours makes you follow it again; only followThread does. `messageId`
92402
+ * is its root or any reply in it. True when done; NOT_FOUND when you have no
92403
+ * place in that thread (you never followed or read it).
92404
+ */
92405
+ unfollowThread: Scalars['Boolean']['output'];
92199
92406
  unhideMessage: Message;
92200
92407
  uninstallAgentFromTarget: Scalars['Boolean']['output'];
92201
92408
  /**
@@ -92404,6 +92611,8 @@ export type Mutation = {
92404
92611
  * re-read. Someone else's subscription is NOT_FOUND.
92405
92612
  */
92406
92613
  updateCalendarSubscription: ExternalCalendarSync;
92614
+ /** Change this workspace's calendar rules: people who manage calendars only. */
92615
+ updateCalendarWorkspaceSettings: CalendarWorkspaceSettings;
92407
92616
  updateCallParticipant: CallParticipant;
92408
92617
  updateCargoItem: MtwCargoItem;
92409
92618
  updateCatalogShareRole: ShareGrant;
@@ -109183,6 +109392,13 @@ export type MutationFinalizeEventCancellationArgs = {
109183
109392
  eventId: Scalars['ID']['input'];
109184
109393
  token: Scalars['String']['input'];
109185
109394
  };
109395
+ /**
109396
+ * Base Mutation type with placeholder field.
109397
+ * Extended by individual mutation files.
109398
+ */
109399
+ export type MutationFollowThreadArgs = {
109400
+ messageId: Scalars['ID']['input'];
109401
+ };
109186
109402
  /**
109187
109403
  * Base Mutation type with placeholder field.
109188
109404
  * Extended by individual mutation files.
@@ -109221,6 +109437,13 @@ export type MutationGenerateAgentGraphContextUrlArgs = {
109221
109437
  expiresInMinutes?: InputMaybe<Scalars['Int']['input']>;
109222
109438
  workspaceId: Scalars['ID']['input'];
109223
109439
  };
109440
+ /**
109441
+ * Base Mutation type with placeholder field.
109442
+ * Extended by individual mutation files.
109443
+ */
109444
+ export type MutationGenerateCalendarFeedArgs = {
109445
+ calendarId: Scalars['ID']['input'];
109446
+ };
109224
109447
  /**
109225
109448
  * Base Mutation type with placeholder field.
109226
109449
  * Extended by individual mutation files.
@@ -114185,6 +114408,14 @@ export type MutationMarkKnowledgeBaseReviewedArgs = {
114185
114408
  export type MutationMarkNoShowArgs = {
114186
114409
  id: Scalars['ID']['input'];
114187
114410
  };
114411
+ /**
114412
+ * Base Mutation type with placeholder field.
114413
+ * Extended by individual mutation files.
114414
+ */
114415
+ export type MutationMarkThreadReadArgs = {
114416
+ lastReplyId: Scalars['ID']['input'];
114417
+ messageId: Scalars['ID']['input'];
114418
+ };
114188
114419
  /**
114189
114420
  * Base Mutation type with placeholder field.
114190
114421
  * Extended by individual mutation files.
@@ -120028,6 +120259,13 @@ export type MutationResetActivityArgs = {
120028
120259
  selector: WorkflowActivitySelectorInput;
120029
120260
  target?: InputMaybe<RunTargetInput>;
120030
120261
  };
120262
+ /**
120263
+ * Base Mutation type with placeholder field.
120264
+ * Extended by individual mutation files.
120265
+ */
120266
+ export type MutationResetCalendarFeedArgs = {
120267
+ calendarId: Scalars['ID']['input'];
120268
+ };
120031
120269
  /**
120032
120270
  * Base Mutation type with placeholder field.
120033
120271
  * Extended by individual mutation files.
@@ -122580,6 +122818,7 @@ export type MutationShareCalendarArgs = {
122580
122818
  canEdit: Scalars['Boolean']['input'];
122581
122819
  canManage: Scalars['Boolean']['input'];
122582
122820
  canView: Scalars['Boolean']['input'];
122821
+ showAs?: InputMaybe<CalendarShareShowAs>;
122583
122822
  teamId?: InputMaybe<Scalars['String']['input']>;
122584
122823
  userId?: InputMaybe<Scalars['String']['input']>;
122585
122824
  };
@@ -126139,6 +126378,13 @@ export type MutationUnassignWorkspaceQuotaArgs = {
126139
126378
  secret?: InputMaybe<Scalars['String']['input']>;
126140
126379
  workspaceId: Scalars['ID']['input'];
126141
126380
  };
126381
+ /**
126382
+ * Base Mutation type with placeholder field.
126383
+ * Extended by individual mutation files.
126384
+ */
126385
+ export type MutationUnfollowThreadArgs = {
126386
+ messageId: Scalars['ID']['input'];
126387
+ };
126142
126388
  /**
126143
126389
  * Base Mutation type with placeholder field.
126144
126390
  * Extended by individual mutation files.
@@ -126911,6 +127157,7 @@ export type MutationUpdateCalendarShareArgs = {
126911
127157
  canManage?: InputMaybe<Scalars['Boolean']['input']>;
126912
127158
  canView?: InputMaybe<Scalars['Boolean']['input']>;
126913
127159
  shareId: Scalars['ID']['input'];
127160
+ showAs?: InputMaybe<CalendarShareShowAs>;
126914
127161
  };
126915
127162
  /**
126916
127163
  * Base Mutation type with placeholder field.
@@ -126920,6 +127167,13 @@ export type MutationUpdateCalendarSubscriptionArgs = {
126920
127167
  input: UpdateCalendarSubscriptionInput;
126921
127168
  syncId: Scalars['ID']['input'];
126922
127169
  };
127170
+ /**
127171
+ * Base Mutation type with placeholder field.
127172
+ * Extended by individual mutation files.
127173
+ */
127174
+ export type MutationUpdateCalendarWorkspaceSettingsArgs = {
127175
+ input: UpdateCalendarWorkspaceSettingsInput;
127176
+ };
126923
127177
  /**
126924
127178
  * Base Mutation type with placeholder field.
126925
127179
  * Extended by individual mutation files.
@@ -145488,11 +145742,18 @@ export type Query = {
145488
145742
  buildDashboardTemplateContent: BigConsoleBuildDashboardTemplateContentResult;
145489
145743
  calculateFreightRate: MtwFreightRateQuote;
145490
145744
  calendar?: Maybe<Calendar>;
145745
+ /**
145746
+ * Whether you have a private address for this calendar (never the address
145747
+ * itself); null when you don't.
145748
+ */
145749
+ calendarFeed?: Maybe<CalendarFeed>;
145491
145750
  /**
145492
145751
  * Your personal link subscriptions in this workspace plus the workspace's
145493
145752
  * own, with their refresh health.
145494
145753
  */
145495
145754
  calendarSubscriptions: Array<ExternalCalendarSync>;
145755
+ /** This workspace's calendar rules (every member can read them). */
145756
+ calendarWorkspaceSettings: CalendarWorkspaceSettings;
145496
145757
  calendars: CalendarConnection;
145497
145758
  callHistory: CallSessionConnection;
145498
145759
  callSession?: Maybe<CallSession>;
@@ -146659,6 +146920,15 @@ export type Query = {
146659
146920
  eventfullymanagedCountMetrics: Array<EventfullyManagedQuotaCountMetric>;
146660
146921
  events: EventConnection;
146661
146922
  eventsInRange: Array<CalendarEvent>;
146923
+ /**
146924
+ * The events of up to 50 calendars that touch [`startDate`, `endDate`) (at
146925
+ * most 62 days), with repeating events expanded into their occurrences in each
146926
+ * event's own time zone. Each calendar is checked as `eventsInRange` checks
146927
+ * its one; a calendar that fails is named in `unavailableCalendarIds` and the
146928
+ * others still answer. Events whose delete waits out its Undo window are left
146929
+ * out.
146930
+ */
146931
+ eventsInRangeForCalendars: EventsInRangeForCalendarsResult;
146662
146932
  executeDashboardQueries: Array<WidgetQueryResult>;
146663
146933
  executeWidgetQuery: WidgetQueryResult;
146664
146934
  expandRecurrence: Array<CalendarEvent>;
@@ -149602,6 +149872,14 @@ export type Query = {
149602
149872
  */
149603
149873
  myDeliveryDay: MtwDriverDay;
149604
149874
  myEpodShipmentStatus?: Maybe<MtwOwnedEpodShipmentStatus>;
149875
+ /**
149876
+ * The threads you follow in this workspace, the most recently active first
149877
+ * (BOFF-16167), each in a conversation you are an active member of. A thread
149878
+ * that gets a new reply moves to the top: read again from the start to see it.
149879
+ * `unreadOnly`: only threads with replies by others you have not read. `first`
149880
+ * defaults to 20; more than 100 is read as 100.
149881
+ */
149882
+ myFollowedThreads: FollowedThreadConnection;
149605
149883
  /** BOFF-4386 — the caller's own commissions as a partner (Type B: NOT_FOUND unless the caller is that partner). */
149606
149884
  myGgnomadAffiliateCommissions: Array<GgnomadAffiliateCommission>;
149607
149885
  /** BOFF-4386 — the partner programs the caller is linked to in this workspace (Type C self list). */
@@ -155605,6 +155883,13 @@ export type QueryCalculateFreightRateArgs = {
155605
155883
  export type QueryCalendarArgs = {
155606
155884
  id: Scalars['ID']['input'];
155607
155885
  };
155886
+ /**
155887
+ * Base Query type with placeholder field.
155888
+ * Extended by individual query files.
155889
+ */
155890
+ export type QueryCalendarFeedArgs = {
155891
+ calendarId: Scalars['ID']['input'];
155892
+ };
155608
155893
  /**
155609
155894
  * Base Query type with placeholder field.
155610
155895
  * Extended by individual query files.
@@ -159683,6 +159968,15 @@ export type QueryEventsInRangeArgs = {
159683
159968
  endDate: Scalars['DateTime']['input'];
159684
159969
  startDate: Scalars['DateTime']['input'];
159685
159970
  };
159971
+ /**
159972
+ * Base Query type with placeholder field.
159973
+ * Extended by individual query files.
159974
+ */
159975
+ export type QueryEventsInRangeForCalendarsArgs = {
159976
+ calendarIds: Array<Scalars['ID']['input']>;
159977
+ endDate: Scalars['DateTime']['input'];
159978
+ startDate: Scalars['DateTime']['input'];
159979
+ };
159686
159980
  /**
159687
159981
  * Base Query type with placeholder field.
159688
159982
  * Extended by individual query files.
@@ -169803,6 +170097,15 @@ export type QueryMyDeliveryDayArgs = {
169803
170097
  export type QueryMyEpodShipmentStatusArgs = {
169804
170098
  deliveryJobId: Scalars['ID']['input'];
169805
170099
  };
170100
+ /**
170101
+ * Base Query type with placeholder field.
170102
+ * Extended by individual query files.
170103
+ */
170104
+ export type QueryMyFollowedThreadsArgs = {
170105
+ after?: InputMaybe<Scalars['String']['input']>;
170106
+ first?: InputMaybe<Scalars['Int']['input']>;
170107
+ unreadOnly?: InputMaybe<Scalars['Boolean']['input']>;
170108
+ };
169806
170109
  /**
169807
170110
  * Base Query type with placeholder field.
169808
170111
  * Extended by individual query files.
@@ -184978,6 +185281,13 @@ export type SendMailboxMessageInput = {
184978
185281
  to: Array<Scalars['String']['input']>;
184979
185282
  };
184980
185283
  export type SendMessageInput = {
185284
+ /**
185285
+ * Sends a thread reply also to the channel (BOFF-16167): it stays in its thread
185286
+ * and the history shows it among the top-level messages too. Only with
185287
+ * parentMessageId (BAD_USER_INPUT, message.errors.alsoInChannelNeedsReply,
185288
+ * otherwise). Left out or false: a reply stays in its thread only, as before.
185289
+ */
185290
+ alsoInChannel?: InputMaybe<Scalars['Boolean']['input']>;
184981
185291
  attachmentIds?: InputMaybe<Array<Scalars['ID']['input']>>;
184982
185292
  /**
184983
185293
  * Makes the send safe to retry (BOFF-16167). An id the client mints when it first
@@ -198580,6 +198890,68 @@ export type TheWorkOrderTypeCount = {
198580
198890
  count: Scalars['Int']['output'];
198581
198891
  type: TheWorkOrderType;
198582
198892
  };
198893
+ /** Why you follow a thread (ThreadState.followSource). */
198894
+ export declare enum ThreadFollowSource {
198895
+ /**
198896
+ * You followed or unfollowed it yourself (followThread / unfollowThread). A
198897
+ * later reply, mention or reply of yours never changes a choice you made.
198898
+ */
198899
+ Manual = "MANUAL",
198900
+ /** You were mentioned in a reply in it. */
198901
+ Mentioned = "MENTIONED",
198902
+ /** You replied in it. */
198903
+ Replied = "REPLIED",
198904
+ /** You wrote its root message: you follow it from its first reply. */
198905
+ Started = "STARTED"
198906
+ }
198907
+ /**
198908
+ * Your place in one thread: whether you follow it, why, and where you last read
198909
+ * it. Only you see your own.
198910
+ */
198911
+ export type ThreadState = {
198912
+ __typename?: 'ThreadState';
198913
+ conversationId: Scalars['ID']['output'];
198914
+ /**
198915
+ * Why you follow it, or why not. Null when you never followed it (you only read
198916
+ * it): then a later reply of yours, or a mention of you, makes you follow it.
198917
+ */
198918
+ followSource?: Maybe<ThreadFollowSource>;
198919
+ /** Whether replies in this thread reach you (the Inbox, alerts). */
198920
+ following: Scalars['Boolean']['output'];
198921
+ id: Scalars['ID']['output'];
198922
+ /** When you last marked the thread read, or null. */
198923
+ lastReadAt?: Maybe<Scalars['DateTime']['output']>;
198924
+ /** The reply you last read up to (markThreadRead), or null. */
198925
+ lastReadReplyId?: Maybe<Scalars['ID']['output']>;
198926
+ /** The thread: its root message. */
198927
+ threadRootId: Scalars['ID']['output'];
198928
+ updatedAt: Scalars['DateTime']['output'];
198929
+ };
198930
+ /** A thread as you see it under its root message. */
198931
+ export type ThreadSummary = {
198932
+ __typename?: 'ThreadSummary';
198933
+ /**
198934
+ * The first of those unread replies (where the "2 new replies" line goes), or
198935
+ * null when nothing is unread.
198936
+ */
198937
+ firstUnreadReplyId?: Maybe<Scalars['ID']['output']>;
198938
+ /** Whether you follow it. */
198939
+ following: Scalars['Boolean']['output'];
198940
+ /** When its newest reply was sent; null without replies. */
198941
+ lastReplyAt?: Maybe<Scalars['DateTime']['output']>;
198942
+ /**
198943
+ * Up to 3 people who replied, the most recent first (anonymous replies are
198944
+ * never named).
198945
+ */
198946
+ replierIds: Array<Scalars['ID']['output']>;
198947
+ /** Its replies (not deleted ones), as the thread shows them. */
198948
+ replyCount: Scalars['Int']['output'];
198949
+ /**
198950
+ * Replies by others after where you last read it: the "2 new" count. Every
198951
+ * reply by others when you never read it.
198952
+ */
198953
+ unreadReplyCount: Scalars['Int']['output'];
198954
+ };
198583
198955
  export type TimeApprovalRequest = {
198584
198956
  __typename?: 'TimeApprovalRequest';
198585
198957
  approverId?: Maybe<Scalars['ID']['output']>;
@@ -202400,11 +202772,24 @@ export type UpdateBudgetInput = {
202400
202772
  };
202401
202773
  export type UpdateCalendarInput = {
202402
202774
  color?: InputMaybe<Scalars['String']['input']>;
202775
+ /** A new event's length in minutes, 5 to 1,440. */
202776
+ defaultEventDuration?: InputMaybe<Scalars['Int']['input']>;
202777
+ /** A new event's reminder, in minutes before it starts, 0 to 40,320 (four weeks). */
202778
+ defaultReminderMinutes?: InputMaybe<Scalars['Int']['input']>;
202403
202779
  description?: InputMaybe<Scalars['String']['input']>;
202780
+ /** The calendar's defaults (BOFF-15698). Leaving one out (or null) keeps it. */
202781
+ firstDayOfWeek?: InputMaybe<DayOfWeek>;
202782
+ /**
202783
+ * Anyone with the link can see the calendar. Refused (FORBIDDEN,
202784
+ * PUBLIC_LINKS_OFF) while the workspace's rules turn public links off.
202785
+ */
202404
202786
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
202405
202787
  metadata?: InputMaybe<Scalars['JSON']['input']>;
202406
202788
  name?: InputMaybe<Scalars['String']['input']>;
202407
202789
  timezone?: InputMaybe<Scalars['String']['input']>;
202790
+ workingHoursEnd?: InputMaybe<Scalars['String']['input']>;
202791
+ /** The working day, "HH:MM" from 00:00 to 24:00, start before end. */
202792
+ workingHoursStart?: InputMaybe<Scalars['String']['input']>;
202408
202793
  };
202409
202794
  export type UpdateCalendarResourceInput = {
202410
202795
  approverUserId?: InputMaybe<Scalars['String']['input']>;
@@ -202428,6 +202813,16 @@ export type UpdateCalendarSubscriptionInput = {
202428
202813
  name?: InputMaybe<Scalars['String']['input']>;
202429
202814
  refresh?: InputMaybe<CalendarSubscriptionRefresh>;
202430
202815
  };
202816
+ /**
202817
+ * Leave a field out to keep it. `maxBookingMinutes`: 15 to 10,080 (a week),
202818
+ * or null for no limit.
202819
+ */
202820
+ export type UpdateCalendarWorkspaceSettingsInput = {
202821
+ allowPublicLinks?: InputMaybe<Scalars['Boolean']['input']>;
202822
+ bookRoomsRole?: InputMaybe<CalendarRoomBookers>;
202823
+ maxBookingMinutes?: InputMaybe<Scalars['Int']['input']>;
202824
+ showHolidaysToEveryone?: InputMaybe<Scalars['Boolean']['input']>;
202825
+ };
202431
202826
  export type UpdateCallParticipantInput = {
202432
202827
  callSessionId: Scalars['ID']['input'];
202433
202828
  isMuted?: InputMaybe<Scalars['Boolean']['input']>;
@@ -203096,6 +203491,8 @@ export type UpdateEventInput = {
203096
203491
  checkInEnabled?: InputMaybe<Scalars['Boolean']['input']>;
203097
203492
  description?: InputMaybe<Scalars['String']['input']>;
203098
203493
  endTime?: InputMaybe<Scalars['DateTime']['input']>;
203494
+ /** Show me as busy (true) or free (false) (BOFF-15698). */
203495
+ isBusy?: InputMaybe<Scalars['Boolean']['input']>;
203099
203496
  location?: InputMaybe<Scalars['String']['input']>;
203100
203497
  locationAddress?: InputMaybe<Scalars['String']['input']>;
203101
203498
  locationType?: InputMaybe<Scalars['String']['input']>;
@@ -206557,8 +206954,10 @@ export type UserFolderPermissions = {
206557
206954
  * One person's free/busy over the asked range. `busy` is sorted by start;
206558
206955
  * timed blocks never overlap each other, nor all-day blocks each other (out of
206559
206956
  * office over busy over tentative where they meet), but an all-day block can
206560
- * overlap timed ones. `truncated`: some busy time may be missing, because a
206561
- * limit on the work was reached (at most 2,000 blocks per person).
206957
+ * overlap timed ones. Repeats are expanded in each event's own time zone, as
206958
+ * the calendar views expand them. `truncated`: some busy time may be missing,
206959
+ * because a limit on the work was reached (at most 2,000 blocks per person) or
206960
+ * a repeat rule couldn't be expanded (that series counts at its first date).
206562
206961
  */
206563
206962
  export type UserFreeBusy = {
206564
206963
  __typename?: 'UserFreeBusy';