@burdenoff/microfe-calendar 2026.1123.1 → 2026.1123.2

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 (64) hide show
  1. package/dist/CalendarRoutes.d.ts +3 -0
  2. package/dist/CalendarRoutes.js +37 -32
  3. package/dist/CalendarRoutes.js.map +1 -1
  4. package/dist/generated/global-operations.d.ts +74 -0
  5. package/dist/generated/global-operations.js +20 -0
  6. package/dist/generated/global-operations.js.map +1 -0
  7. package/dist/generated/global-types.d.ts +8 -1
  8. package/dist/generated/wspace-operations.d.ts +298 -0
  9. package/dist/generated/wspace-operations.js +126 -1
  10. package/dist/generated/wspace-operations.js.map +1 -1
  11. package/dist/generated/wspace-types.d.ts +204825 -48049
  12. package/dist/providers/CalendarProvider.d.ts +2 -0
  13. package/dist/providers/CalendarProvider.js +12 -10
  14. package/dist/providers/CalendarProvider.js.map +1 -1
  15. package/dist/translations/en.d.ts +5 -0
  16. package/dist/types/index.d.ts +6 -0
  17. package/dist/v2/CalendarPageV2.d.ts +1 -0
  18. package/dist/v2/CalendarPageV2.js +19 -0
  19. package/dist/v2/CalendarPageV2.js.map +1 -0
  20. package/dist/v2/CalendarRoutesV2.d.ts +1 -0
  21. package/dist/v2/CalendarRoutesV2.js +117 -0
  22. package/dist/v2/CalendarRoutesV2.js.map +1 -0
  23. package/dist/v2/data/invalidation.d.ts +4 -0
  24. package/dist/v2/data/normalize.d.ts +26 -0
  25. package/dist/v2/data/normalize.js +87 -0
  26. package/dist/v2/data/normalize.js.map +1 -0
  27. package/dist/v2/data/useCalendarsV2.d.ts +16 -0
  28. package/dist/v2/data/useCalendarsV2.js +25 -0
  29. package/dist/v2/data/useCalendarsV2.js.map +1 -0
  30. package/dist/v2/data/useEventsInRangeV2.d.ts +18 -0
  31. package/dist/v2/data/useFreeBusy.d.ts +22 -0
  32. package/dist/v2/data/useKeyedLoad.d.ts +17 -0
  33. package/dist/v2/prefs/CalendarPrefsProvider.d.ts +25 -0
  34. package/dist/v2/prefs/CalendarPrefsProvider.js +52 -0
  35. package/dist/v2/prefs/CalendarPrefsProvider.js.map +1 -0
  36. package/dist/v2/prefs/calendarPrefs.d.ts +73 -0
  37. package/dist/v2/prefs/calendarPrefs.js +71 -0
  38. package/dist/v2/prefs/calendarPrefs.js.map +1 -0
  39. package/dist/v2/prefs/prefsApi.d.ts +16 -0
  40. package/dist/v2/prefs/prefsApi.js +46 -0
  41. package/dist/v2/prefs/prefsApi.js.map +1 -0
  42. package/dist/v2/prefs/prefsSession.d.ts +55 -0
  43. package/dist/v2/prefs/prefsSession.js +94 -0
  44. package/dist/v2/prefs/prefsSession.js.map +1 -0
  45. package/dist/v2/prefs/prefsStorage.d.ts +17 -0
  46. package/dist/v2/prefs/prefsStorage.js +56 -0
  47. package/dist/v2/prefs/prefsStorage.js.map +1 -0
  48. package/dist/v2/routes.d.ts +43 -0
  49. package/dist/v2/routes.js +60 -0
  50. package/dist/v2/routes.js.map +1 -0
  51. package/dist/v2/state/calendarV2Store.d.ts +54 -0
  52. package/dist/v2/state/calendarV2Store.js +78 -0
  53. package/dist/v2/state/calendarV2Store.js.map +1 -0
  54. package/dist/v2/state/useCalendarV2Navigation.d.ts +25 -0
  55. package/dist/v2/state/useCalendarV2Navigation.js +52 -0
  56. package/dist/v2/state/useCalendarV2Navigation.js.map +1 -0
  57. package/dist/v2/state/useCalendarV2PrefsBridge.d.ts +1 -0
  58. package/dist/v2/state/useCalendarV2PrefsBridge.js +28 -0
  59. package/dist/v2/state/useCalendarV2PrefsBridge.js.map +1 -0
  60. package/dist/v2/time/calendarTime.d.ts +115 -0
  61. package/dist/v2/time/calendarTime.js +59 -0
  62. package/dist/v2/time/calendarTime.js.map +1 -0
  63. package/dist/v2/types.d.ts +202 -0
  64. package/package.json +12 -5
@@ -16,5 +16,8 @@
16
16
  * - ResourcesPage: Lazy (secondary feature)
17
17
  * - SettingsPage: Lazy (infrequently accessed)
18
18
  * - SubscriptionsPage: Lazy (infrequently accessed)
19
+ *
20
+ * With `calendarRedesign` (FluidGrids only) the redesigned routes render instead
21
+ * (`v2/CalendarRoutesV2`); without it, nothing below changes.
19
22
  */
20
23
  export declare function CalendarRoutes(): import('react').JSX.Element;
@@ -1,70 +1,75 @@
1
1
  import { useTr as e } from "./shared/hooks/useTr.js";
2
2
  import { CalendarPage as t } from "./pages/CalendarPage.js";
3
- import { Suspense as n, lazy as r } from "react";
4
- import { Navigate as i, Route as a, Routes as o } from "react-router";
5
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
3
+ import { useCalendar as n } from "./providers/CalendarProvider.js";
4
+ import { Suspense as r, lazy as i } from "react";
5
+ import { Navigate as a, Route as o, Routes as s } from "react-router";
6
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
7
  // src/CalendarRoutes.tsx
7
- var l = r(() => import("./pages/EventDetailsPage.js").then((e) => ({ default: e.EventDetailsPage }))), u = r(() => import("./pages/ResourcesPage.js").then((e) => ({ default: e.ResourcesPage }))), d = r(() => import("./pages/SettingsPage.js").then((e) => ({ default: e.SettingsPage }))), f = r(() => import("./pages/SubscriptionsPage.js").then((e) => ({ default: e.SubscriptionsPage })));
8
- function p() {
8
+ var u = i(() => import("./v2/CalendarRoutesV2.js").then((e) => ({ default: e.CalendarRoutesV2 }))), d = i(() => import("./pages/EventDetailsPage.js").then((e) => ({ default: e.EventDetailsPage }))), f = i(() => import("./pages/ResourcesPage.js").then((e) => ({ default: e.ResourcesPage }))), p = i(() => import("./pages/SettingsPage.js").then((e) => ({ default: e.SettingsPage }))), m = i(() => import("./pages/SubscriptionsPage.js").then((e) => ({ default: e.SubscriptionsPage })));
9
+ function h() {
9
10
  let t = e();
10
- return /* @__PURE__ */ s("div", {
11
+ return /* @__PURE__ */ c("div", {
11
12
  className: "min-h-screen bg-bg-canvas flex items-center justify-center",
12
- children: /* @__PURE__ */ s("div", {
13
+ children: /* @__PURE__ */ c("div", {
13
14
  className: "text-text-secondary font-text-md",
14
15
  children: t("calendar.loadingPage", "Loading…")
15
16
  })
16
17
  });
17
18
  }
18
- function m() {
19
- return /* @__PURE__ */ c(o, { children: [
20
- /* @__PURE__ */ s(a, {
19
+ function g() {
20
+ let { calendarRedesign: e } = n();
21
+ return e ? /* @__PURE__ */ c(r, {
22
+ fallback: /* @__PURE__ */ c(h, {}),
23
+ children: /* @__PURE__ */ c(u, {})
24
+ }) : /* @__PURE__ */ l(s, { children: [
25
+ /* @__PURE__ */ c(o, {
21
26
  index: !0,
22
- element: /* @__PURE__ */ s(i, {
27
+ element: /* @__PURE__ */ c(a, {
23
28
  to: "view/week",
24
29
  replace: !0
25
30
  })
26
31
  }),
27
- /* @__PURE__ */ s(a, {
32
+ /* @__PURE__ */ c(o, {
28
33
  path: "view/:viewType",
29
- element: /* @__PURE__ */ s(t, {})
34
+ element: /* @__PURE__ */ c(t, {})
30
35
  }),
31
- /* @__PURE__ */ s(a, {
36
+ /* @__PURE__ */ c(o, {
32
37
  path: "event/:eventId",
33
- element: /* @__PURE__ */ s(n, {
34
- fallback: /* @__PURE__ */ s(p, {}),
35
- children: /* @__PURE__ */ s(l, {})
38
+ element: /* @__PURE__ */ c(r, {
39
+ fallback: /* @__PURE__ */ c(h, {}),
40
+ children: /* @__PURE__ */ c(d, {})
36
41
  })
37
42
  }),
38
- /* @__PURE__ */ s(a, {
43
+ /* @__PURE__ */ c(o, {
39
44
  path: "resources",
40
- element: /* @__PURE__ */ s(n, {
41
- fallback: /* @__PURE__ */ s(p, {}),
42
- children: /* @__PURE__ */ s(u, {})
45
+ element: /* @__PURE__ */ c(r, {
46
+ fallback: /* @__PURE__ */ c(h, {}),
47
+ children: /* @__PURE__ */ c(f, {})
43
48
  })
44
49
  }),
45
- /* @__PURE__ */ s(a, {
50
+ /* @__PURE__ */ c(o, {
46
51
  path: "settings",
47
- element: /* @__PURE__ */ s(n, {
48
- fallback: /* @__PURE__ */ s(p, {}),
49
- children: /* @__PURE__ */ s(d, {})
52
+ element: /* @__PURE__ */ c(r, {
53
+ fallback: /* @__PURE__ */ c(h, {}),
54
+ children: /* @__PURE__ */ c(p, {})
50
55
  })
51
56
  }),
52
- /* @__PURE__ */ s(a, {
57
+ /* @__PURE__ */ c(o, {
53
58
  path: "subscriptions",
54
- element: /* @__PURE__ */ s(n, {
55
- fallback: /* @__PURE__ */ s(p, {}),
56
- children: /* @__PURE__ */ s(f, {})
59
+ element: /* @__PURE__ */ c(r, {
60
+ fallback: /* @__PURE__ */ c(h, {}),
61
+ children: /* @__PURE__ */ c(m, {})
57
62
  })
58
63
  }),
59
- /* @__PURE__ */ s(a, {
64
+ /* @__PURE__ */ c(o, {
60
65
  path: "*",
61
- element: /* @__PURE__ */ s(i, {
66
+ element: /* @__PURE__ */ c(a, {
62
67
  to: "view/week",
63
68
  replace: !0
64
69
  })
65
70
  })
66
71
  ] });
67
72
  }
68
- export { m as CalendarRoutes };
73
+ export { g as CalendarRoutes };
69
74
 
70
75
  //# sourceMappingURL=CalendarRoutes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarRoutes.js","names":["EventDetailsPage","lazy","m","ResourcesPage","SettingsPage","SubscriptionsPage","PageLoadingFallback","tr","useTr","CalendarRoutes","Routes","Route","Navigate","CalendarPage","Suspense"],"sources":["../src/CalendarRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router';\nimport { useTr } from './shared/hooks/useTr';\nimport { CalendarPage } from './pages/CalendarPage';\n\n// Lazy-loaded pages for code splitting\nconst EventDetailsPage = lazy(() =>\n import('./pages/EventDetailsPage').then((m) => ({ default: m.EventDetailsPage }))\n);\nconst ResourcesPage = lazy(() =>\n import('./pages/ResourcesPage').then((m) => ({ default: m.ResourcesPage }))\n);\nconst SettingsPage = lazy(() =>\n import('./pages/SettingsPage').then((m) => ({ default: m.SettingsPage }))\n);\nconst SubscriptionsPage = lazy(() =>\n import('./pages/SubscriptionsPage').then((m) => ({ default: m.SubscriptionsPage }))\n);\n\n/**\n * Fallback component for lazy-loaded pages\n */\nfunction PageLoadingFallback() {\n const tr = useTr();\n return (\n <div className=\"min-h-screen bg-bg-canvas flex items-center justify-center\">\n <div className=\"text-text-secondary font-text-md\">\n {tr('calendar.loadingPage', 'Loading…')}\n </div>\n </div>\n );\n}\n\n/**\n * Internal routing for the Calendar microfrontend.\n *\n * All routes are relative to the basePath provided by the host.\n * Example: If basePath=\"/calendar\", then:\n * - /calendar → redirects to /calendar/view/week\n * - /calendar/view/week → CalendarPage (week view)\n * - /calendar/event/:eventId → EventDetailsPage\n * - /calendar/resources → ResourcesPage\n * - /calendar/settings → SettingsPage\n * - /calendar/subscriptions → SubscriptionsPage\n *\n * Lazy Loading Strategy:\n * - CalendarPage: Eager (main entry point, most frequently accessed)\n * - EventDetailsPage: Lazy (accessed on-demand)\n * - ResourcesPage: Lazy (secondary feature)\n * - SettingsPage: Lazy (infrequently accessed)\n * - SubscriptionsPage: Lazy (infrequently accessed)\n */\nexport function CalendarRoutes() {\n return (\n <Routes>\n {/* Default redirect to week view */}\n <Route index element={<Navigate to=\"view/week\" replace />} />\n\n {/* Calendar views - Eager loaded (primary entry point) */}\n <Route path=\"view/:viewType\" element={<CalendarPage />} />\n {/* viewType: day | week | month | year | agenda | timeline */}\n\n {/* Event details - Lazy loaded */}\n <Route\n path=\"event/:eventId\"\n element={\n <Suspense fallback={<PageLoadingFallback />}>\n <EventDetailsPage />\n </Suspense>\n }\n />\n\n {/* Resources - Lazy loaded */}\n <Route\n path=\"resources\"\n element={\n <Suspense fallback={<PageLoadingFallback />}>\n <ResourcesPage />\n </Suspense>\n }\n />\n\n {/* Settings - Lazy loaded */}\n <Route\n path=\"settings\"\n element={\n <Suspense fallback={<PageLoadingFallback />}>\n <SettingsPage />\n </Suspense>\n }\n />\n\n {/* Subscriptions - Lazy loaded */}\n <Route\n path=\"subscriptions\"\n element={\n <Suspense fallback={<PageLoadingFallback />}>\n <SubscriptionsPage />\n </Suspense>\n }\n />\n\n {/* Catch-all: redirect to default view */}\n <Route path=\"*\" element={<Navigate to=\"view/week\" replace />} />\n </Routes>\n );\n}\n"],"mappings":";;;;;;AAMA,IAAMA,IAAmBC,QACvB,OAAO,8BAA2B,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,iBAAiB,EAAE,CAClF,GACMC,IAAgBF,QACpB,OAAO,2BAAwB,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,cAAc,EAAE,CAC5E,GACME,IAAeH,QACnB,OAAO,0BAAuB,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,aAAa,EAAE,CAC1E,GACMG,IAAoBJ,QACxB,OAAO,+BAA4B,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,kBAAkB,EAAE,CACpF;AAKA,SAASI,IAAsB;CAC7B,IAAMC,IAAKC,EAAM;CACjB,OACE,kBAAC,OAAD;EAAK,WAAU;EACb,UAAA,kBAAC,OAAD;GAAK,WAAU;GACZ,UAAAD,EAAG,wBAAwB,UAAU;EACnC,CAAA;CACF,CAAA;AAET;AAqBA,SAAgBE,IAAiB;CAC/B,OACE,kBAACC,GAAD,EAAA,UAAA;EAEE,kBAACC,GAAD;GAAO,OAAA;GAAM,SAAS,kBAACC,GAAD;IAAU,IAAG;IAAY,SAAA;GAAS,CAAA;EAAI,CAAA;EAG5D,kBAACD,GAAD;GAAO,MAAK;GAAiB,SAAS,kBAACE,GAAD,CAAe,CAAA;EAAI,CAAA;EAIzD,kBAACF,GAAD;GACE,MAAK;GACL,SACE,kBAACG,GAAD;IAAU,UAAU,kBAACR,GAAD,CAAsB,CAAA;IACxC,UAAA,kBAACN,GAAD,CAAmB,CAAA;GACX,CAAA;EAEb,CAAA;EAGD,kBAACW,GAAD;GACE,MAAK;GACL,SACE,kBAACG,GAAD;IAAU,UAAU,kBAACR,GAAD,CAAsB,CAAA;IACxC,UAAA,kBAACH,GAAD,CAAgB,CAAA;GACR,CAAA;EAEb,CAAA;EAGD,kBAACQ,GAAD;GACE,MAAK;GACL,SACE,kBAACG,GAAD;IAAU,UAAU,kBAACR,GAAD,CAAsB,CAAA;IACxC,UAAA,kBAACF,GAAD,CAAe,CAAA;GACP,CAAA;EAEb,CAAA;EAGD,kBAACO,GAAD;GACE,MAAK;GACL,SACE,kBAACG,GAAD;IAAU,UAAU,kBAACR,GAAD,CAAsB,CAAA;IACxC,UAAA,kBAACD,GAAD,CAAoB,CAAA;GACZ,CAAA;EAEb,CAAA;EAGD,kBAACM,GAAD;GAAO,MAAK;GAAI,SAAS,kBAACC,GAAD;IAAU,IAAG;IAAY,SAAA;GAAS,CAAA;EAAI,CAAA;CACzD,EAAA,CAAA;AAEZ"}
1
+ {"version":3,"file":"CalendarRoutes.js","names":["CalendarRoutesV2","lazy","m","EventDetailsPage","ResourcesPage","SettingsPage","SubscriptionsPage","PageLoadingFallback","tr","useTr","CalendarRoutes","useCalendar","calendarRedesign","Suspense","Routes","Route","Navigate","CalendarPage"],"sources":["../src/CalendarRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router';\nimport { useTr } from './shared/hooks/useTr';\nimport { CalendarPage } from './pages/CalendarPage';\nimport { useCalendar } from './providers/CalendarProvider';\n\n// The redesigned calendar (BOFF-15698), behind `calendarRedesign`. A separate chunk: an app\n// that never opts in never loads it.\nconst CalendarRoutesV2 = lazy(() =>\n import('./v2/CalendarRoutesV2').then((m) => ({ default: m.CalendarRoutesV2 }))\n);\n\n// Lazy-loaded pages for code splitting\nconst EventDetailsPage = lazy(() =>\n import('./pages/EventDetailsPage').then((m) => ({ default: m.EventDetailsPage }))\n);\nconst ResourcesPage = lazy(() =>\n import('./pages/ResourcesPage').then((m) => ({ default: m.ResourcesPage }))\n);\nconst SettingsPage = lazy(() =>\n import('./pages/SettingsPage').then((m) => ({ default: m.SettingsPage }))\n);\nconst SubscriptionsPage = lazy(() =>\n import('./pages/SubscriptionsPage').then((m) => ({ default: m.SubscriptionsPage }))\n);\n\n/**\n * Fallback component for lazy-loaded pages\n */\nfunction PageLoadingFallback() {\n const tr = useTr();\n return (\n <div className=\"min-h-screen bg-bg-canvas flex items-center justify-center\">\n <div className=\"text-text-secondary font-text-md\">\n {tr('calendar.loadingPage', 'Loading…')}\n </div>\n </div>\n );\n}\n\n/**\n * Internal routing for the Calendar microfrontend.\n *\n * All routes are relative to the basePath provided by the host.\n * Example: If basePath=\"/calendar\", then:\n * - /calendar → redirects to /calendar/view/week\n * - /calendar/view/week → CalendarPage (week view)\n * - /calendar/event/:eventId → EventDetailsPage\n * - /calendar/resources → ResourcesPage\n * - /calendar/settings → SettingsPage\n * - /calendar/subscriptions → SubscriptionsPage\n *\n * Lazy Loading Strategy:\n * - CalendarPage: Eager (main entry point, most frequently accessed)\n * - EventDetailsPage: Lazy (accessed on-demand)\n * - ResourcesPage: Lazy (secondary feature)\n * - SettingsPage: Lazy (infrequently accessed)\n * - SubscriptionsPage: Lazy (infrequently accessed)\n *\n * With `calendarRedesign` (FluidGrids only) the redesigned routes render instead\n * (`v2/CalendarRoutesV2`); without it, nothing below changes.\n */\nexport function CalendarRoutes() {\n const { calendarRedesign } = useCalendar();\n if (calendarRedesign) {\n return (\n <Suspense fallback={<PageLoadingFallback />}>\n <CalendarRoutesV2 />\n </Suspense>\n );\n }\n return (\n <Routes>\n {/* Default redirect to week view */}\n <Route index element={<Navigate to=\"view/week\" replace />} />\n\n {/* Calendar views - Eager loaded (primary entry point) */}\n <Route path=\"view/:viewType\" element={<CalendarPage />} />\n {/* viewType: day | week | month | year | agenda | timeline */}\n\n {/* Event details - Lazy loaded */}\n <Route\n path=\"event/:eventId\"\n element={\n <Suspense fallback={<PageLoadingFallback />}>\n <EventDetailsPage />\n </Suspense>\n }\n />\n\n {/* Resources - Lazy loaded */}\n <Route\n path=\"resources\"\n element={\n <Suspense fallback={<PageLoadingFallback />}>\n <ResourcesPage />\n </Suspense>\n }\n />\n\n {/* Settings - Lazy loaded */}\n <Route\n path=\"settings\"\n element={\n <Suspense fallback={<PageLoadingFallback />}>\n <SettingsPage />\n </Suspense>\n }\n />\n\n {/* Subscriptions - Lazy loaded */}\n <Route\n path=\"subscriptions\"\n element={\n <Suspense fallback={<PageLoadingFallback />}>\n <SubscriptionsPage />\n </Suspense>\n }\n />\n\n {/* Catch-all: redirect to default view */}\n <Route path=\"*\" element={<Navigate to=\"view/week\" replace />} />\n </Routes>\n );\n}\n"],"mappings":";;;;;;;AAQA,IAAMA,IAAmBC,QACvB,OAAO,2BAAwB,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,iBAAiB,EAAE,CAC/E,GAGMC,IAAmBF,QACvB,OAAO,8BAA2B,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,iBAAiB,EAAE,CAClF,GACME,IAAgBH,QACpB,OAAO,2BAAwB,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,cAAc,EAAE,CAC5E,GACMG,IAAeJ,QACnB,OAAO,0BAAuB,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,aAAa,EAAE,CAC1E,GACMI,IAAoBL,QACxB,OAAO,+BAA4B,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,kBAAkB,EAAE,CACpF;AAKA,SAASK,IAAsB;CAC7B,IAAMC,IAAKC,EAAM;CACjB,OACE,kBAAC,OAAD;EAAK,WAAU;EACb,UAAA,kBAAC,OAAD;GAAK,WAAU;GACZ,UAAAD,EAAG,wBAAwB,UAAU;EACnC,CAAA;CACF,CAAA;AAET;AAwBA,SAAgBE,IAAiB;CAC/B,IAAM,EAAE,wBAAqBC,EAAY;CAQzC,OAPIC,IAEA,kBAACC,GAAD;EAAU,UAAU,kBAACN,GAAD,CAAsB,CAAA;EACxC,UAAA,kBAACP,GAAD,CAAmB,CAAA;CACX,CAAA,IAIZ,kBAACc,GAAD,EAAA,UAAA;EAEE,kBAACC,GAAD;GAAO,OAAA;GAAM,SAAS,kBAACC,GAAD;IAAU,IAAG;IAAY,SAAA;GAAS,CAAA;EAAI,CAAA;EAG5D,kBAACD,GAAD;GAAO,MAAK;GAAiB,SAAS,kBAACE,GAAD,CAAe,CAAA;EAAI,CAAA;EAIzD,kBAACF,GAAD;GACE,MAAK;GACL,SACE,kBAACF,GAAD;IAAU,UAAU,kBAACN,GAAD,CAAsB,CAAA;IACxC,UAAA,kBAACJ,GAAD,CAAmB,CAAA;GACX,CAAA;EAEb,CAAA;EAGD,kBAACY,GAAD;GACE,MAAK;GACL,SACE,kBAACF,GAAD;IAAU,UAAU,kBAACN,GAAD,CAAsB,CAAA;IACxC,UAAA,kBAACH,GAAD,CAAgB,CAAA;GACR,CAAA;EAEb,CAAA;EAGD,kBAACW,GAAD;GACE,MAAK;GACL,SACE,kBAACF,GAAD;IAAU,UAAU,kBAACN,GAAD,CAAsB,CAAA;IACxC,UAAA,kBAACF,GAAD,CAAe,CAAA;GACP,CAAA;EAEb,CAAA;EAGD,kBAACU,GAAD;GACE,MAAK;GACL,SACE,kBAACF,GAAD;IAAU,UAAU,kBAACN,GAAD,CAAsB,CAAA;IACxC,UAAA,kBAACD,GAAD,CAAoB,CAAA;GACZ,CAAA;EAEb,CAAA;EAGD,kBAACS,GAAD;GAAO,MAAK;GAAI,SAAS,kBAACC,GAAD;IAAU,IAAG;IAAY,SAAA;GAAS,CAAA;EAAI,CAAA;CACzD,EAAA,CAAA;AAEZ"}
@@ -1,4 +1,78 @@
1
1
  /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends {
3
+ [key: string]: unknown;
4
+ }> = {
5
+ [K in keyof T]: T[K];
6
+ };
7
+ /** Internal type. DO NOT USE DIRECTLY. */
2
8
  export type Incremental<T> = T | {
3
9
  [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
4
10
  };
11
+ import * as Types from './global-types';
12
+ import * as Apollo from '@apollo/client';
13
+ import * as ApolloReactHooks from '@apollo/client/react';
14
+ export type CalendarV2MyPreferencesQueryVariables = Exact<{
15
+ [key: string]: never;
16
+ }>;
17
+ export type CalendarV2MyPreferencesQuery = {
18
+ myPreferences: {
19
+ id: string;
20
+ preferences: Record<string, unknown> | null;
21
+ } | null;
22
+ };
23
+ export type CalendarV2SavePreferencesMutationVariables = Exact<{
24
+ input: Record<string, unknown>;
25
+ }>;
26
+ export type CalendarV2SavePreferencesMutation = {
27
+ updateMyPreferences: {
28
+ id: string;
29
+ };
30
+ };
31
+ export declare const CalendarV2MyPreferencesDocument: Apollo.DocumentNode;
32
+ /**
33
+ * __useCalendarV2MyPreferencesQuery__
34
+ *
35
+ * To run a query within a React component, call `useCalendarV2MyPreferencesQuery` and pass it any options that fit your needs.
36
+ * When your component renders, `useCalendarV2MyPreferencesQuery` returns an object from Apollo Client that contains loading, error, and data properties
37
+ * you can use to render your UI.
38
+ *
39
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
40
+ *
41
+ * @example
42
+ * const { data, loading, error } = useCalendarV2MyPreferencesQuery({
43
+ * variables: {
44
+ * },
45
+ * });
46
+ */
47
+ export declare function useCalendarV2MyPreferencesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables, "empty" | "complete" | "streaming", Types.CalendarV2MyPreferencesQueryVariables, undefined>;
48
+ export declare function useCalendarV2MyPreferencesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables, "empty" | "complete" | "streaming", undefined>;
49
+ export declare function useCalendarV2MyPreferencesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>;
50
+ export declare function useCalendarV2MyPreferencesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2MyPreferencesQuery | undefined, Types.CalendarV2MyPreferencesQueryVariables>;
51
+ export type CalendarV2MyPreferencesQueryHookResult = ReturnType<typeof useCalendarV2MyPreferencesQuery>;
52
+ export type CalendarV2MyPreferencesLazyQueryHookResult = ReturnType<typeof useCalendarV2MyPreferencesLazyQuery>;
53
+ export type CalendarV2MyPreferencesSuspenseQueryHookResult = ReturnType<typeof useCalendarV2MyPreferencesSuspenseQuery>;
54
+ export type CalendarV2MyPreferencesQueryResult = Apollo.QueryResult<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>;
55
+ export declare const CalendarV2SavePreferencesDocument: Apollo.DocumentNode;
56
+ export type CalendarV2SavePreferencesMutationFn = Apollo.MutationFunction<Types.CalendarV2SavePreferencesMutation, Types.CalendarV2SavePreferencesMutationVariables>;
57
+ /**
58
+ * __useCalendarV2SavePreferencesMutation__
59
+ *
60
+ * To run a mutation, you first call `useCalendarV2SavePreferencesMutation` within a React component and pass it any options that fit your needs.
61
+ * When your component renders, `useCalendarV2SavePreferencesMutation` returns a tuple that includes:
62
+ * - A mutate function that you can call at any time to execute the mutation
63
+ * - An object with fields that represent the current status of the mutation's execution
64
+ *
65
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
66
+ *
67
+ * @example
68
+ * const [calendarV2SavePreferencesMutation, { data, loading, error }] = useCalendarV2SavePreferencesMutation({
69
+ * variables: {
70
+ * input: // value for 'input'
71
+ * },
72
+ * });
73
+ */
74
+ export declare function useCalendarV2SavePreferencesMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CalendarV2SavePreferencesMutation, Types.CalendarV2SavePreferencesMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CalendarV2SavePreferencesMutation, any, Apollo.ApolloCache, undefined>;
75
+ export type CalendarV2SavePreferencesMutationHookResult = ReturnType<typeof useCalendarV2SavePreferencesMutation>;
76
+ export type CalendarV2SavePreferencesMutationResult = Apollo.MutationResult<Types.CalendarV2SavePreferencesMutation>;
77
+ export type CalendarV2SavePreferencesMutationOptions = Apollo.BaseMutationOptions<Types.CalendarV2SavePreferencesMutation, Types.CalendarV2SavePreferencesMutationVariables>;
78
+ export {};
@@ -0,0 +1,20 @@
1
+ import { gql as e } from "@apollo/client";
2
+ import "@apollo/client/react";
3
+ // src/generated/global-operations.ts
4
+ var t = e`
5
+ query CalendarV2MyPreferences {
6
+ myPreferences {
7
+ id
8
+ preferences
9
+ }
10
+ }
11
+ `, n = e`
12
+ mutation CalendarV2SavePreferences($input: JSON!) {
13
+ updateMyPreferences(input: $input) {
14
+ id
15
+ }
16
+ }
17
+ `;
18
+ export { t as CalendarV2MyPreferencesDocument, n as CalendarV2SavePreferencesDocument };
19
+
20
+ //# sourceMappingURL=global-operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-operations.js","names":["CalendarV2MyPreferencesDocument","CalendarV2SavePreferencesDocument"],"sources":["../../src/generated/global-operations.ts"],"sourcesContent":["// @ts-nocheck\n/** Internal type. DO NOT USE DIRECTLY. */\ntype Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\n/** Internal type. DO NOT USE DIRECTLY. */\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\nimport * as Types from './global-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type CalendarV2MyPreferencesQueryVariables = Exact<{ [key: string]: never; }>;\n\n\nexport type CalendarV2MyPreferencesQuery = { myPreferences: { id: string, preferences: Record<string, unknown> | null } | null };\n\nexport type CalendarV2SavePreferencesMutationVariables = Exact<{\n input: Record<string, unknown>;\n}>;\n\n\nexport type CalendarV2SavePreferencesMutation = { updateMyPreferences: { id: string } };\n\n\nexport const CalendarV2MyPreferencesDocument = gql`\n query CalendarV2MyPreferences {\n myPreferences {\n id\n preferences\n }\n}\n `;\n\n/**\n * __useCalendarV2MyPreferencesQuery__\n *\n * To run a query within a React component, call `useCalendarV2MyPreferencesQuery` and pass it any options that fit your needs.\n * When your component renders, `useCalendarV2MyPreferencesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useCalendarV2MyPreferencesQuery({\n * variables: {\n * },\n * });\n */\nexport function useCalendarV2MyPreferencesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>(CalendarV2MyPreferencesDocument, options);\n }\nexport function useCalendarV2MyPreferencesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>(CalendarV2MyPreferencesDocument, options);\n }\n// @ts-ignore\nexport function useCalendarV2MyPreferencesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>;\nexport function useCalendarV2MyPreferencesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2MyPreferencesQuery | undefined, Types.CalendarV2MyPreferencesQueryVariables>;\nexport function useCalendarV2MyPreferencesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>(CalendarV2MyPreferencesDocument, options);\n }\nexport type CalendarV2MyPreferencesQueryHookResult = ReturnType<typeof useCalendarV2MyPreferencesQuery>;\nexport type CalendarV2MyPreferencesLazyQueryHookResult = ReturnType<typeof useCalendarV2MyPreferencesLazyQuery>;\nexport type CalendarV2MyPreferencesSuspenseQueryHookResult = ReturnType<typeof useCalendarV2MyPreferencesSuspenseQuery>;\nexport type CalendarV2MyPreferencesQueryResult = Apollo.QueryResult<Types.CalendarV2MyPreferencesQuery, Types.CalendarV2MyPreferencesQueryVariables>;\nexport const CalendarV2SavePreferencesDocument = gql`\n mutation CalendarV2SavePreferences($input: JSON!) {\n updateMyPreferences(input: $input) {\n id\n }\n}\n `;\nexport type CalendarV2SavePreferencesMutationFn = Apollo.MutationFunction<Types.CalendarV2SavePreferencesMutation, Types.CalendarV2SavePreferencesMutationVariables>;\n\n/**\n * __useCalendarV2SavePreferencesMutation__\n *\n * To run a mutation, you first call `useCalendarV2SavePreferencesMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCalendarV2SavePreferencesMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [calendarV2SavePreferencesMutation, { data, loading, error }] = useCalendarV2SavePreferencesMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCalendarV2SavePreferencesMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CalendarV2SavePreferencesMutation, Types.CalendarV2SavePreferencesMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CalendarV2SavePreferencesMutation, Types.CalendarV2SavePreferencesMutationVariables>(CalendarV2SavePreferencesDocument, options);\n }\nexport type CalendarV2SavePreferencesMutationHookResult = ReturnType<typeof useCalendarV2SavePreferencesMutation>;\nexport type CalendarV2SavePreferencesMutationResult = Apollo.MutationResult<Types.CalendarV2SavePreferencesMutation>;\nexport type CalendarV2SavePreferencesMutationOptions = Apollo.BaseMutationOptions<Types.CalendarV2SavePreferencesMutation, Types.CalendarV2SavePreferencesMutationVariables>;"],"mappings":";;;AAwBA,IAAaA,IAAkC,CAAG;;;;;;;OA2CrCC,IAAoC,CAAG"}
@@ -5242,6 +5242,7 @@ export type DsarRequest = {
5242
5242
  __typename?: 'DSARRequest';
5243
5243
  completedAt?: Maybe<Scalars['DateTime']['output']>;
5244
5244
  createdAt: Scalars['DateTime']['output'];
5245
+ dryRun: Scalars['Boolean']['output'];
5245
5246
  dueAt: Scalars['DateTime']['output'];
5246
5247
  fanoutState?: Maybe<Scalars['JSON']['output']>;
5247
5248
  id: Scalars['ID']['output'];
@@ -7384,6 +7385,12 @@ export declare enum FeedbackCategory {
7384
7385
  ResponseTime = "RESPONSE_TIME"
7385
7386
  }
7386
7387
  export type FileDsarInput = {
7388
+ /**
7389
+ * Operator dry-run preview for ERASURE requests (BOFF-9550). When true,
7390
+ * participants report per-service counts without erasing or modifying any
7391
+ * subject data and no completion email is sent to the subject.
7392
+ */
7393
+ dryRun?: InputMaybe<Scalars['Boolean']['input']>;
7387
7394
  notes?: InputMaybe<Scalars['String']['input']>;
7388
7395
  source: Scalars['String']['input'];
7389
7396
  subjectEmail: Scalars['String']['input'];
@@ -18325,7 +18332,7 @@ export type Plan = {
18325
18332
  */
18326
18333
  geoPricingOverrides: Array<GeoPricingOverride>;
18327
18334
  /** The unique identifier for the Plan, automatically generated as a UUID. */
18328
- id?: Maybe<Scalars['ID']['output']>;
18335
+ id: Scalars['ID']['output'];
18329
18336
  /** Indicates whether the plan is currently active. */
18330
18337
  isActive?: Maybe<Scalars['Boolean']['output']>;
18331
18338
  /**
@@ -30,6 +30,43 @@ export type CalendarPaginationInput = {
30
30
  offset?: number | null | undefined;
31
31
  };
32
32
  export type CalendarResourceType = 'DESK' | 'EQUIPMENT' | 'OTHER' | 'PARKING_SPOT' | 'ROOM' | 'VEHICLE';
33
+ /** Where a calendar's events come from. */
34
+ export type CalendarSource = 'GOOGLE_CALENDAR' | 'ICS_URL' | 'LOCAL' | 'OUTLOOK_CALENDAR';
35
+ /** How often a calendar subscribed by link is re-read. */
36
+ export type CalendarSubscriptionRefresh = 'DAILY' | 'HOURLY';
37
+ /** Who a calendar subscribed by link is for. */
38
+ export type CalendarSubscriptionScope =
39
+ /** Only the person who subscribed sees it. */
40
+ 'PERSONAL'
41
+ /** Everyone in the workspace sees it; workspace admins manage it. */
42
+ | 'WORKSPACE';
43
+ /** Why the last refresh of a subscribed calendar failed. */
44
+ export type CalendarSyncProblem =
45
+ /** The link, or a redirect, points to a private or internal address. */
46
+ 'BLOCKED_ADDRESS'
47
+ /** The link answered 404 / 410: it no longer works. */
48
+ | 'LINK_GONE'
49
+ /** The stored link can no longer be decrypted; subscribe again. */
50
+ | 'LINK_UNREADABLE'
51
+ /** The link answered 401 / 403: it needs a sign-in. */
52
+ | 'NEEDS_SIGN_IN'
53
+ /** The link did not return an iCalendar file. */
54
+ | 'NOT_A_CALENDAR'
55
+ /** The link's server answered with an error (e.g. 5xx). */
56
+ | 'SERVER_ERROR'
57
+ /** The link took longer than 10 seconds to answer. */
58
+ | 'TIMED_OUT'
59
+ /**
60
+ * Reading the calendar takes too much work (its repeating events, or the
61
+ * parse time limit).
62
+ */
63
+ | 'TOO_COMPLEX'
64
+ /** The calendar is too large: over 2 MB, 5,000 events or 100 time zones. */
65
+ | 'TOO_LARGE'
66
+ /** The link redirects more than 3 times. */
67
+ | 'TOO_MANY_REDIRECTS'
68
+ /** The link could not be reached (DNS, connection or TLS failure). */
69
+ | 'UNREACHABLE';
33
70
  export type CalendarType = 'GROUP' | 'PERSONAL' | 'PROJECT' | 'WORKSPACE';
34
71
  export type CreateCalendarResourceInput = {
35
72
  approverUserId?: string | null | undefined;
@@ -77,13 +114,20 @@ export type CreateEventInput = {
77
114
  title: string;
78
115
  visibility?: string | null | undefined;
79
116
  };
117
+ export type DayOfWeek = 'FRIDAY' | 'MONDAY' | 'SATURDAY' | 'SUNDAY' | 'THURSDAY' | 'TUESDAY' | 'WEDNESDAY';
80
118
  export type EventType = 'MEETING' | 'MILESTONE' | 'PROMPT' | 'TASK';
81
119
  export type EventVisibility = 'CONFIDENTIAL' | 'PRIVATE' | 'PUBLIC';
120
+ export type ExternalCalendarSyncStatus = 'ACTIVE' | 'DISCONNECTED' | 'ERROR' | 'PAUSED';
121
+ /** How a block of a person's time is taken (BOFF-15698). */
122
+ export type FreeBusyKind = 'BUSY' | 'OUT_OF_OFFICE' | 'TENTATIVE';
82
123
  export type LocationType = 'HYBRID' | 'ONLINE' | 'PHYSICAL' | 'TBD';
83
124
  export type MeetingProvider = 'CUSTOM' | 'GOOGLE_MEET' | 'MICROSOFT_TEAMS' | 'WEBEX' | 'ZOOM';
84
125
  export type RsvpStatus = 'ACCEPTED' | 'DECLINED' | 'NO_RESPONSE' | 'TENTATIVE';
85
126
  export type ReminderChannel = 'EMAIL' | 'IN_APP' | 'SMS';
86
127
  export type ResourceBookingStatus = 'APPROVED' | 'CANCELLED' | 'COMPLETED' | 'PENDING' | 'REJECTED';
128
+ export type SyncProvider = 'APPLE_ICAL' | 'CALDAV' | 'GOOGLE_CALENDAR'
129
+ /** A calendar subscribed by its link (subscribeCalendarByUrl), read-only. */
130
+ | 'ICS_URL' | 'OUTLOOK_CALENDAR';
87
131
  export type UpdateCalendarResourceInput = {
88
132
  approverUserId?: string | null | undefined;
89
133
  bufferAfter?: number | null | undefined;
@@ -541,6 +585,141 @@ export type GetCalendarResourceQuery = {
541
585
  }>;
542
586
  } | null;
543
587
  };
588
+ export type CalendarV2CalendarsQueryVariables = Exact<{
589
+ pagination?: Types.CalendarPaginationInput | null | undefined;
590
+ }>;
591
+ export type CalendarV2CalendarsQuery = {
592
+ calendars: {
593
+ hasMore: boolean;
594
+ total: number;
595
+ calendars: Array<{
596
+ id: string;
597
+ name: string;
598
+ description: string | null;
599
+ color: string | null;
600
+ calendarType: Types.CalendarType;
601
+ source: Types.CalendarSource;
602
+ isDefault: boolean;
603
+ isPublic: boolean;
604
+ isReadOnly: boolean;
605
+ createdBy: string;
606
+ ownerUserId: string | null;
607
+ ownerWorkspaceId: string | null;
608
+ ownerGroupId: string | null;
609
+ ownerProjectId: string | null;
610
+ timezone: string | null;
611
+ externalSyncs: Array<{
612
+ id: string;
613
+ provider: Types.SyncProvider;
614
+ status: Types.ExternalCalendarSyncStatus;
615
+ syncEnabled: boolean;
616
+ lastSyncAt: string | null;
617
+ lastSuccessAt: string | null;
618
+ lastProblem: Types.CalendarSyncProblem | null;
619
+ consecutiveFailures: number;
620
+ slow: boolean;
621
+ refresh: Types.CalendarSubscriptionRefresh | null;
622
+ subscriptionScope: Types.CalendarSubscriptionScope | null;
623
+ }>;
624
+ }>;
625
+ };
626
+ };
627
+ export type CalendarV2EventDayQueryVariables = Exact<{
628
+ id: string | number;
629
+ }>;
630
+ export type CalendarV2EventDayQuery = {
631
+ event: {
632
+ id: string;
633
+ startTime: string;
634
+ endTime: string;
635
+ allDay: boolean;
636
+ timezone: string | null;
637
+ } | null;
638
+ };
639
+ export type CalendarV2EventsInRangeQueryVariables = Exact<{
640
+ calendarId: string | number;
641
+ startDate: string;
642
+ endDate: string;
643
+ }>;
644
+ export type CalendarV2EventsInRangeQuery = {
645
+ eventsInRange: Array<{
646
+ id: string;
647
+ calendarId: string;
648
+ title: string;
649
+ description: string | null;
650
+ location: string | null;
651
+ locationAddress: string | null;
652
+ locationType: Types.LocationType | null;
653
+ locationUrl: string | null;
654
+ startTime: string;
655
+ endTime: string;
656
+ allDay: boolean;
657
+ timezone: string | null;
658
+ status: Types.CalendarEventStatus;
659
+ visibility: Types.EventVisibility;
660
+ eventType: Types.EventType;
661
+ isRecurring: boolean;
662
+ rrule: string | null;
663
+ tags: Array<string> | null;
664
+ onlineMeetingUrl: string | null;
665
+ onlineMeetingProvider: Types.MeetingProvider | null;
666
+ metadata: Record<string, unknown> | null;
667
+ createdBy: string;
668
+ createdAt: string;
669
+ updatedAt: string;
670
+ attendees: Array<{
671
+ id: string;
672
+ userId: string | null;
673
+ email: string | null;
674
+ name: string | null;
675
+ rsvpStatus: Types.RsvpStatus;
676
+ isOptional: boolean;
677
+ isOrganizer: boolean;
678
+ }>;
679
+ reminders: Array<{
680
+ id: string;
681
+ minutesBefore: number;
682
+ channel: Types.ReminderChannel;
683
+ }>;
684
+ resourceBookings: Array<{
685
+ id: string;
686
+ resourceId: string;
687
+ startTime: string;
688
+ endTime: string;
689
+ status: Types.ResourceBookingStatus;
690
+ resource: {
691
+ id: string;
692
+ name: string;
693
+ resourceType: Types.CalendarResourceType;
694
+ location: string | null;
695
+ capacity: number | null;
696
+ } | null;
697
+ }>;
698
+ }>;
699
+ };
700
+ export type CalendarV2FreeBusyQueryVariables = Exact<{
701
+ userIds: Array<string | number> | string | number;
702
+ from: string;
703
+ to: string;
704
+ }>;
705
+ export type CalendarV2FreeBusyQuery = {
706
+ freeBusy: Array<{
707
+ userId: string;
708
+ truncated: boolean;
709
+ busy: Array<{
710
+ start: string;
711
+ end: string;
712
+ kind: Types.FreeBusyKind;
713
+ allDay: boolean;
714
+ }>;
715
+ workingHours: Array<{
716
+ dayOfWeek: Types.DayOfWeek;
717
+ start: string;
718
+ end: string;
719
+ timezone: string;
720
+ }>;
721
+ }>;
722
+ };
544
723
  export declare const BookCalendarResourceDocument: Apollo.DocumentNode;
545
724
  export type BookCalendarResourceMutationFn = Apollo.MutationFunction<Types.BookCalendarResourceMutation, Types.BookCalendarResourceMutationVariables>;
546
725
  /**
@@ -977,4 +1156,123 @@ export type GetCalendarResourceQueryHookResult = ReturnType<typeof useGetCalenda
977
1156
  export type GetCalendarResourceLazyQueryHookResult = ReturnType<typeof useGetCalendarResourceLazyQuery>;
978
1157
  export type GetCalendarResourceSuspenseQueryHookResult = ReturnType<typeof useGetCalendarResourceSuspenseQuery>;
979
1158
  export type GetCalendarResourceQueryResult = Apollo.QueryResult<Types.GetCalendarResourceQuery, Types.GetCalendarResourceQueryVariables>;
1159
+ export declare const CalendarV2CalendarsDocument: Apollo.DocumentNode;
1160
+ /**
1161
+ * __useCalendarV2CalendarsQuery__
1162
+ *
1163
+ * To run a query within a React component, call `useCalendarV2CalendarsQuery` and pass it any options that fit your needs.
1164
+ * When your component renders, `useCalendarV2CalendarsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1165
+ * you can use to render your UI.
1166
+ *
1167
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1168
+ *
1169
+ * @example
1170
+ * const { data, loading, error } = useCalendarV2CalendarsQuery({
1171
+ * variables: {
1172
+ * pagination: // value for 'pagination'
1173
+ * },
1174
+ * });
1175
+ */
1176
+ export declare function useCalendarV2CalendarsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.CalendarV2CalendarsQuery, Types.CalendarV2CalendarsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.CalendarV2CalendarsQuery, Types.CalendarV2CalendarsQueryVariables, "empty" | "complete" | "streaming", Types.CalendarV2CalendarsQueryVariables, undefined>;
1177
+ export declare function useCalendarV2CalendarsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.CalendarV2CalendarsQuery, Types.CalendarV2CalendarsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.CalendarV2CalendarsQuery, Types.CalendarV2CalendarsQueryVariables, "empty" | "complete" | "streaming", undefined>;
1178
+ export declare function useCalendarV2CalendarsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2CalendarsQuery, Types.CalendarV2CalendarsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2CalendarsQuery, Types.CalendarV2CalendarsQueryVariables>;
1179
+ export declare function useCalendarV2CalendarsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2CalendarsQuery, Types.CalendarV2CalendarsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2CalendarsQuery | undefined, Types.CalendarV2CalendarsQueryVariables>;
1180
+ export type CalendarV2CalendarsQueryHookResult = ReturnType<typeof useCalendarV2CalendarsQuery>;
1181
+ export type CalendarV2CalendarsLazyQueryHookResult = ReturnType<typeof useCalendarV2CalendarsLazyQuery>;
1182
+ export type CalendarV2CalendarsSuspenseQueryHookResult = ReturnType<typeof useCalendarV2CalendarsSuspenseQuery>;
1183
+ export type CalendarV2CalendarsQueryResult = Apollo.QueryResult<Types.CalendarV2CalendarsQuery, Types.CalendarV2CalendarsQueryVariables>;
1184
+ export declare const CalendarV2EventDayDocument: Apollo.DocumentNode;
1185
+ /**
1186
+ * __useCalendarV2EventDayQuery__
1187
+ *
1188
+ * To run a query within a React component, call `useCalendarV2EventDayQuery` and pass it any options that fit your needs.
1189
+ * When your component renders, `useCalendarV2EventDayQuery` returns an object from Apollo Client that contains loading, error, and data properties
1190
+ * you can use to render your UI.
1191
+ *
1192
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1193
+ *
1194
+ * @example
1195
+ * const { data, loading, error } = useCalendarV2EventDayQuery({
1196
+ * variables: {
1197
+ * id: // value for 'id'
1198
+ * },
1199
+ * });
1200
+ */
1201
+ export declare function useCalendarV2EventDayQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.CalendarV2EventDayQuery, Types.CalendarV2EventDayQueryVariables> & ({
1202
+ variables: Types.CalendarV2EventDayQueryVariables;
1203
+ skip?: boolean;
1204
+ } | {
1205
+ skip: boolean;
1206
+ })): ApolloReactHooks.useQuery.Result<Types.CalendarV2EventDayQuery, Types.CalendarV2EventDayQueryVariables, "empty" | "complete" | "streaming", Types.CalendarV2EventDayQueryVariables, undefined>;
1207
+ export declare function useCalendarV2EventDayLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.CalendarV2EventDayQuery, Types.CalendarV2EventDayQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.CalendarV2EventDayQuery, Types.CalendarV2EventDayQueryVariables, "empty" | "complete" | "streaming", undefined>;
1208
+ export declare function useCalendarV2EventDaySuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2EventDayQuery, Types.CalendarV2EventDayQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2EventDayQuery, Types.CalendarV2EventDayQueryVariables>;
1209
+ export declare function useCalendarV2EventDaySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2EventDayQuery, Types.CalendarV2EventDayQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2EventDayQuery | undefined, Types.CalendarV2EventDayQueryVariables>;
1210
+ export type CalendarV2EventDayQueryHookResult = ReturnType<typeof useCalendarV2EventDayQuery>;
1211
+ export type CalendarV2EventDayLazyQueryHookResult = ReturnType<typeof useCalendarV2EventDayLazyQuery>;
1212
+ export type CalendarV2EventDaySuspenseQueryHookResult = ReturnType<typeof useCalendarV2EventDaySuspenseQuery>;
1213
+ export type CalendarV2EventDayQueryResult = Apollo.QueryResult<Types.CalendarV2EventDayQuery, Types.CalendarV2EventDayQueryVariables>;
1214
+ export declare const CalendarV2EventsInRangeDocument: Apollo.DocumentNode;
1215
+ /**
1216
+ * __useCalendarV2EventsInRangeQuery__
1217
+ *
1218
+ * To run a query within a React component, call `useCalendarV2EventsInRangeQuery` and pass it any options that fit your needs.
1219
+ * When your component renders, `useCalendarV2EventsInRangeQuery` returns an object from Apollo Client that contains loading, error, and data properties
1220
+ * you can use to render your UI.
1221
+ *
1222
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1223
+ *
1224
+ * @example
1225
+ * const { data, loading, error } = useCalendarV2EventsInRangeQuery({
1226
+ * variables: {
1227
+ * calendarId: // value for 'calendarId'
1228
+ * startDate: // value for 'startDate'
1229
+ * endDate: // value for 'endDate'
1230
+ * },
1231
+ * });
1232
+ */
1233
+ export declare function useCalendarV2EventsInRangeQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.CalendarV2EventsInRangeQuery, Types.CalendarV2EventsInRangeQueryVariables> & ({
1234
+ variables: Types.CalendarV2EventsInRangeQueryVariables;
1235
+ skip?: boolean;
1236
+ } | {
1237
+ skip: boolean;
1238
+ })): ApolloReactHooks.useQuery.Result<Types.CalendarV2EventsInRangeQuery, Types.CalendarV2EventsInRangeQueryVariables, "empty" | "complete" | "streaming", Types.CalendarV2EventsInRangeQueryVariables, undefined>;
1239
+ export declare function useCalendarV2EventsInRangeLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.CalendarV2EventsInRangeQuery, Types.CalendarV2EventsInRangeQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.CalendarV2EventsInRangeQuery, Types.CalendarV2EventsInRangeQueryVariables, "empty" | "complete" | "streaming", undefined>;
1240
+ export declare function useCalendarV2EventsInRangeSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2EventsInRangeQuery, Types.CalendarV2EventsInRangeQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2EventsInRangeQuery, Types.CalendarV2EventsInRangeQueryVariables>;
1241
+ export declare function useCalendarV2EventsInRangeSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2EventsInRangeQuery, Types.CalendarV2EventsInRangeQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2EventsInRangeQuery | undefined, Types.CalendarV2EventsInRangeQueryVariables>;
1242
+ export type CalendarV2EventsInRangeQueryHookResult = ReturnType<typeof useCalendarV2EventsInRangeQuery>;
1243
+ export type CalendarV2EventsInRangeLazyQueryHookResult = ReturnType<typeof useCalendarV2EventsInRangeLazyQuery>;
1244
+ export type CalendarV2EventsInRangeSuspenseQueryHookResult = ReturnType<typeof useCalendarV2EventsInRangeSuspenseQuery>;
1245
+ export type CalendarV2EventsInRangeQueryResult = Apollo.QueryResult<Types.CalendarV2EventsInRangeQuery, Types.CalendarV2EventsInRangeQueryVariables>;
1246
+ export declare const CalendarV2FreeBusyDocument: Apollo.DocumentNode;
1247
+ /**
1248
+ * __useCalendarV2FreeBusyQuery__
1249
+ *
1250
+ * To run a query within a React component, call `useCalendarV2FreeBusyQuery` and pass it any options that fit your needs.
1251
+ * When your component renders, `useCalendarV2FreeBusyQuery` returns an object from Apollo Client that contains loading, error, and data properties
1252
+ * you can use to render your UI.
1253
+ *
1254
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1255
+ *
1256
+ * @example
1257
+ * const { data, loading, error } = useCalendarV2FreeBusyQuery({
1258
+ * variables: {
1259
+ * userIds: // value for 'userIds'
1260
+ * from: // value for 'from'
1261
+ * to: // value for 'to'
1262
+ * },
1263
+ * });
1264
+ */
1265
+ export declare function useCalendarV2FreeBusyQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.CalendarV2FreeBusyQuery, Types.CalendarV2FreeBusyQueryVariables> & ({
1266
+ variables: Types.CalendarV2FreeBusyQueryVariables;
1267
+ skip?: boolean;
1268
+ } | {
1269
+ skip: boolean;
1270
+ })): ApolloReactHooks.useQuery.Result<Types.CalendarV2FreeBusyQuery, Types.CalendarV2FreeBusyQueryVariables, "empty" | "complete" | "streaming", Types.CalendarV2FreeBusyQueryVariables, undefined>;
1271
+ export declare function useCalendarV2FreeBusyLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.CalendarV2FreeBusyQuery, Types.CalendarV2FreeBusyQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.CalendarV2FreeBusyQuery, Types.CalendarV2FreeBusyQueryVariables, "empty" | "complete" | "streaming", undefined>;
1272
+ export declare function useCalendarV2FreeBusySuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2FreeBusyQuery, Types.CalendarV2FreeBusyQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2FreeBusyQuery, Types.CalendarV2FreeBusyQueryVariables>;
1273
+ export declare function useCalendarV2FreeBusySuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.CalendarV2FreeBusyQuery, Types.CalendarV2FreeBusyQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.CalendarV2FreeBusyQuery | undefined, Types.CalendarV2FreeBusyQueryVariables>;
1274
+ export type CalendarV2FreeBusyQueryHookResult = ReturnType<typeof useCalendarV2FreeBusyQuery>;
1275
+ export type CalendarV2FreeBusyLazyQueryHookResult = ReturnType<typeof useCalendarV2FreeBusyLazyQuery>;
1276
+ export type CalendarV2FreeBusySuspenseQueryHookResult = ReturnType<typeof useCalendarV2FreeBusySuspenseQuery>;
1277
+ export type CalendarV2FreeBusyQueryResult = Apollo.QueryResult<Types.CalendarV2FreeBusyQuery, Types.CalendarV2FreeBusyQueryVariables>;
980
1278
  export {};