@elevasis/ui 2.79.0 → 2.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/{CoreAuthKitInner-PSTKG4B3.js → CoreAuthKitInner-5J7P7ZDL.js} +1 -1
  2. package/dist/api/index.js +6 -6
  3. package/dist/app/index.js +18 -18
  4. package/dist/auth/index.js +10 -10
  5. package/dist/charts/index.d.ts +4 -4
  6. package/dist/charts/index.js +10 -10
  7. package/dist/{chunk-NCPNKI3V.js → chunk-2HXDI4RY.js} +1 -1
  8. package/dist/{chunk-7ICEQPBU.js → chunk-2KXSFLU2.js} +1 -1
  9. package/dist/{chunk-TVTSASST.js → chunk-34B3ACOZ.js} +9 -1
  10. package/dist/{chunk-KXNRTJAE.js → chunk-3HMRK3RC.js} +1 -1
  11. package/dist/{chunk-6AJUWYKS.js → chunk-3UO2CJTR.js} +1 -1
  12. package/dist/{chunk-SJRIO26Q.js → chunk-52G4B33T.js} +2 -2
  13. package/dist/{chunk-G3WOMHVI.js → chunk-6IWH757Q.js} +4 -3
  14. package/dist/{chunk-3ONNZ4SO.js → chunk-6MWTTBBT.js} +6 -6
  15. package/dist/{chunk-4VGPEDQF.js → chunk-7A25EJ4A.js} +121 -68
  16. package/dist/{chunk-SVZR4GYA.js → chunk-A32PJ2DO.js} +1 -1
  17. package/dist/{chunk-R42OYAQ2.js → chunk-BG7VCCFB.js} +1 -1
  18. package/dist/{chunk-QMOBXKW3.js → chunk-BXFZ676L.js} +222 -191
  19. package/dist/{chunk-5ZK7K7YP.js → chunk-CIGWHY7C.js} +23 -21
  20. package/dist/{chunk-M77G2MGW.js → chunk-CSEADI37.js} +3 -3
  21. package/dist/{chunk-3RK2NNJX.js → chunk-DFGQG32T.js} +1 -1
  22. package/dist/{chunk-VM2OWOXL.js → chunk-GY7FXTC4.js} +2 -3
  23. package/dist/{chunk-P6HHXMLJ.js → chunk-HVNDBY42.js} +10 -9
  24. package/dist/{chunk-G4IEH7NX.js → chunk-I5SYS6DT.js} +5 -5
  25. package/dist/{chunk-2GIJBHZT.js → chunk-IIMC4TRH.js} +3 -3
  26. package/dist/{chunk-QMAIUPXK.js → chunk-JDPPV2XI.js} +15 -13
  27. package/dist/{chunk-QLEY6Q7K.js → chunk-JZBMZLD3.js} +1 -1
  28. package/dist/{chunk-JZQNUQE4.js → chunk-KGUBFIMQ.js} +1 -1
  29. package/dist/{chunk-GFSOQH3N.js → chunk-MJIDC25O.js} +8 -11
  30. package/dist/{chunk-WJO6QEI7.js → chunk-MMOR2HQZ.js} +33 -78
  31. package/dist/{chunk-GWCLI2RX.js → chunk-NGRRAYMO.js} +22 -39
  32. package/dist/{chunk-A37T4NIZ.js → chunk-NKMBW7WE.js} +10 -10
  33. package/dist/{chunk-ODXLZZFR.js → chunk-Q6HRTWA6.js} +1 -1
  34. package/dist/{chunk-3KCLWJDC.js → chunk-QQKYBGBX.js} +22 -11
  35. package/dist/{chunk-ASI3FDPC.js → chunk-QSN7BWI3.js} +1 -1
  36. package/dist/{chunk-AZCDL2SS.js → chunk-SPH5WW44.js} +5 -5
  37. package/dist/{chunk-4IYWLUXA.js → chunk-T6AOVZAI.js} +14 -10
  38. package/dist/{chunk-SXZMHLH6.js → chunk-U3GB5PDF.js} +4 -4
  39. package/dist/{chunk-22TWX4XG.js → chunk-VHK5J55Q.js} +8 -8
  40. package/dist/{chunk-RMLWK3IR.js → chunk-VKA4LQ7N.js} +1 -1
  41. package/dist/{chunk-2IU6BP6F.js → chunk-W6QOWA3L.js} +11 -10
  42. package/dist/{chunk-N6K2Q5BM.js → chunk-WDABHUIL.js} +9 -21
  43. package/dist/{chunk-4ZHX5KOT.js → chunk-WOYW24U7.js} +1 -1
  44. package/dist/{chunk-MGCXAAX4.js → chunk-XEO2UG4J.js} +15 -9
  45. package/dist/{chunk-UD657ICS.js → chunk-YJ437RDY.js} +29 -16
  46. package/dist/{chunk-INCEZAM3.js → chunk-YSFLFD4U.js} +1 -1
  47. package/dist/{chunk-LDQSTEFW.js → chunk-ZU676PFP.js} +38 -14
  48. package/dist/components/index.d.ts +18 -6
  49. package/dist/components/index.js +48 -48
  50. package/dist/components/navigation/index.js +11 -11
  51. package/dist/execution/index.js +2 -2
  52. package/dist/features/auth/index.js +12 -12
  53. package/dist/features/clients/index.js +14 -15
  54. package/dist/features/content/index.js +13 -13
  55. package/dist/features/crm/index.js +16 -16
  56. package/dist/features/dashboard/index.d.ts +8 -8
  57. package/dist/features/dashboard/index.js +13 -13
  58. package/dist/features/delivery/index.js +25 -25
  59. package/dist/features/knowledge/index.js +10 -10
  60. package/dist/features/lead-gen/index.d.ts +49 -32
  61. package/dist/features/lead-gen/index.js +17 -17
  62. package/dist/features/monitoring/index.d.ts +10 -10
  63. package/dist/features/monitoring/index.js +15 -15
  64. package/dist/features/monitoring/requests/index.js +12 -12
  65. package/dist/features/notes/index.js +1 -1
  66. package/dist/features/operations/index.d.ts +12 -12
  67. package/dist/features/operations/index.js +18 -18
  68. package/dist/features/public-agent-chat/index.js +4 -4
  69. package/dist/features/seo/index.js +13 -13
  70. package/dist/features/settings/index.js +13 -13
  71. package/dist/hooks/access/index.d.ts +60 -1
  72. package/dist/hooks/access/index.js +10 -10
  73. package/dist/hooks/delivery/index.js +6 -6
  74. package/dist/hooks/published.d.ts +286 -93
  75. package/dist/hooks/published.js +23 -23
  76. package/dist/hooks/user-notes/index.js +1 -1
  77. package/dist/initialization/index.d.ts +12 -0
  78. package/dist/initialization/index.js +1 -1
  79. package/dist/knowledge/index.js +22 -20
  80. package/dist/{knowledge-search-index-6GQK55IQ.js → knowledge-search-index-YU6V3FTK.js} +4 -4
  81. package/dist/layout/index.js +14 -14
  82. package/dist/organization/index.d.ts +17 -1
  83. package/dist/organization/index.js +2 -2
  84. package/dist/profile/index.js +1 -1
  85. package/dist/provider/ElevasisServiceContext.js +1 -1
  86. package/dist/provider/index.js +10 -10
  87. package/dist/provider/published.js +10 -10
  88. package/dist/sse/index.js +14 -0
  89. package/dist/test-utils/index.js +6 -6
  90. package/dist/types/index.d.ts +12 -0
  91. package/dist/utils/index.d.ts +20 -2
  92. package/dist/utils/index.js +4 -4
  93. package/package.json +24 -14
  94. /package/dist/{chunk-Y6I3IC45.js → chunk-6XBZPKMI.js} +0 -0
  95. /package/dist/{chunk-5F3QGBEI.js → chunk-7ZUXA2NW.js} +0 -0
@@ -244,6 +244,18 @@ interface MembershipWithDetails extends OrganizationMembership {
244
244
  workos_org_id: string;
245
245
  primaryDomain?: string;
246
246
  is_test?: boolean;
247
+ /**
248
+ * The organization's lifecycle status (`active | suspended | archived |
249
+ * deleting | delete_failed` -- a DB CHECK constraint, not a TS enum).
250
+ * `GET /memberships/my-memberships` annotates every row with this field
251
+ * rather than filtering non-`active` organizations out of the response,
252
+ * so a member whose organization was archived or is being deleted still
253
+ * sees it (and can be told why) instead of the row silently vanishing.
254
+ * Consumers that auto-select a membership (e.g. `OrganizationProvider`)
255
+ * must check this before entering an organization on the caller's
256
+ * behalf. Optional for backward compatibility with callers and fixtures
257
+ * that predate this field; treat a missing value as serviceable.
258
+ */
247
259
  status?: string;
248
260
  metadata?: Record<string, unknown>;
249
261
  config?: Record<string, unknown>;
@@ -5656,14 +5668,14 @@ declare const ReorderContentItemSourceAssetsRequestSchema: z.ZodObject<{
5656
5668
  orderedAssetIds: z.ZodArray<z.ZodString>;
5657
5669
  }, z.core.$strict>;
5658
5670
  declare const ListContentItemsQuerySchema: z.ZodObject<{
5671
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5672
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5659
5673
  status: z.ZodOptional<z.ZodString>;
5660
5674
  pillar: z.ZodOptional<z.ZodString>;
5661
5675
  pipelineId: z.ZodOptional<z.ZodString>;
5662
5676
  clientId: z.ZodOptional<z.ZodString>;
5663
5677
  reviewedBy: z.ZodOptional<z.ZodString>;
5664
5678
  search: z.ZodOptional<z.ZodString>;
5665
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5666
- offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5667
5679
  }, z.core.$strict>;
5668
5680
  declare const ContentItemResponseSchema: z.ZodObject<{
5669
5681
  id: z.ZodString;
@@ -5915,11 +5927,11 @@ declare const UpdateContentSourceAssetRequestSchema: z.ZodObject<{
5915
5927
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5916
5928
  }, z.core.$strict>;
5917
5929
  declare const ListContentDistributionsQuerySchema: z.ZodObject<{
5930
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5931
+ offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5918
5932
  contentItemId: z.ZodOptional<z.ZodString>;
5919
5933
  platform: z.ZodOptional<z.ZodString>;
5920
5934
  status: z.ZodOptional<z.ZodString>;
5921
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5922
- offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5923
5935
  }, z.core.$strict>;
5924
5936
  declare const ContentDistributionResponseSchema: z.ZodObject<{
5925
5937
  id: z.ZodString;
@@ -8003,6 +8015,19 @@ interface UseAccessResult extends AccessAnswer {
8003
8015
  */
8004
8016
  declare function useAccess(key: AccessKeyInput): UseAccessResult;
8005
8017
 
8018
+ /**
8019
+ * Query keys for the effective-permissions fetch behind `useAccess`.
8020
+ *
8021
+ * Note the org id here is the SUPABASE org id, not the WorkOS one every other hook
8022
+ * domain keys on -- `useAccess` reads it from `OrganizationContextValue`, and the
8023
+ * `/memberships/my-permissions/:id` route it calls expects that form. Keying on the
8024
+ * WorkOS id would produce a key that looks right and caches the wrong tenant's answer.
8025
+ */
8026
+ declare const accessKeys: {
8027
+ all: readonly ["access-permissions"];
8028
+ permissions: (organizationId: SupabaseOrgId | null) => readonly ["access-permissions", SupabaseOrgId | null];
8029
+ };
8030
+
8006
8031
  type ExecutionStatus = 'pending' | 'running' | 'completed' | 'failed' | 'warning';
8007
8032
  /**
8008
8033
  * Event sent when new execution starts
@@ -8444,6 +8469,22 @@ interface CloudStorageListResult {
8444
8469
  nextCursor?: string;
8445
8470
  }
8446
8471
 
8472
+ /**
8473
+ * Default applied when a component receives no `timeRange` prop. Matches
8474
+ * `createTimeRangeSlice`'s own default (`packages/ui/src/zustand/slices/timeRange.ts`),
8475
+ * so an app that composes that slice sees identical behavior whether it threads its
8476
+ * live selection through or a consumer omits the prop entirely.
8477
+ */
8478
+ declare const DEFAULT_TIME_RANGE: TimeRange;
8479
+ /**
8480
+ * Resolves an optional `timeRange` prop to a concrete `TimeRange`, falling back to
8481
+ * `DEFAULT_TIME_RANGE`. Lets shared components make `timeRange` optional instead of
8482
+ * forcing every caller to thread a value down from its own store, while a caller that
8483
+ * does have a live selection (e.g. Command Center's `timeRange` Zustand slice) keeps
8484
+ * passing it through unchanged -- this never overrides an explicitly supplied value.
8485
+ */
8486
+ declare function useResolvedTimeRange(timeRange?: TimeRange): TimeRange;
8487
+
8447
8488
  /**
8448
8489
  * Query key factory for executions TanStack Query hooks.
8449
8490
  * Uses organization UUID (not name) for cache isolation.
@@ -9014,6 +9055,25 @@ declare function useCancelSchedule(): _tanstack_react_query.UseMutationResult<Ta
9014
9055
  */
9015
9056
  declare function useDeleteSchedule(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
9016
9057
 
9058
+ /**
9059
+ * Query keys for the org-wide activity feed.
9060
+ *
9061
+ * The two queries live in `hooks/monitoring/useActivities.ts` and the Realtime
9062
+ * subscription that invalidates them lives here in `useActivitiesRealtime.ts`, so the
9063
+ * `['activities']` prefix was previously written out in both places. Invalidating `all`
9064
+ * matches `list` and `trend` alike, which is the behavior `useActivitiesRealtime` relies
9065
+ * on when a row is inserted.
9066
+ *
9067
+ * Project-scoped activities are a separate root -- see `projectActivityKeys` in
9068
+ * `useProjectActivities.ts`. They hit the same endpoint with an entity filter but are
9069
+ * invalidated independently, so merging the two roots would over-invalidate both.
9070
+ */
9071
+ declare const activityKeys: {
9072
+ all: readonly ["activities"];
9073
+ list: (organizationId: WorkOsOrgId | null, params: unknown) => readonly ["activities", "list", WorkOsOrgId | null, unknown];
9074
+ trend: (organizationId: WorkOsOrgId | null, params: unknown) => readonly ["activities", "trend", WorkOsOrgId | null, unknown];
9075
+ };
9076
+
9017
9077
  /**
9018
9078
  * Subscribe to Supabase Realtime for activity INSERT events.
9019
9079
  *
@@ -9052,6 +9112,28 @@ declare const projectActivityKeys: {
9052
9112
  */
9053
9113
  declare function useProjectActivities(projectId: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<Activity[], Error>;
9054
9114
 
9115
+ /**
9116
+ * Query keys for the monitoring detail page.
9117
+ *
9118
+ * Two roots, not one, because that is what the cache already holds: execution health and
9119
+ * execution logs sit under `monitoring`, while the cost summary sits under
9120
+ * `cost-analytics` alongside the `observability/` hooks it shares an endpoint family
9121
+ * with. Folding the cost key under `monitoring` would change every key it produces, so
9122
+ * the split is preserved rather than tidied.
9123
+ *
9124
+ * The activity feed and notifications also render on this page but are keyed from their
9125
+ * own domains -- see `hooks/activities/queryKeys.ts` and `hooks/notifications/queryKeys.ts`.
9126
+ */
9127
+ declare const monitoringKeys: {
9128
+ all: readonly ["monitoring"];
9129
+ executionHealth: (organizationId: WorkOsOrgId | null, timeRange: TimeRange) => readonly ["monitoring", "execution-health", WorkOsOrgId | null, TimeRange];
9130
+ executionLogs: (organizationId: WorkOsOrgId | null, params: unknown) => readonly ["monitoring", "execution-logs", WorkOsOrgId | null, unknown];
9131
+ };
9132
+ declare const costAnalyticsKeys: {
9133
+ all: readonly ["cost-analytics"];
9134
+ summary: (organizationId: WorkOsOrgId | null, timeRange: TimeRange) => readonly ["cost-analytics", "cost-summary", WorkOsOrgId | null, TimeRange];
9135
+ };
9136
+
9055
9137
  interface UseActivitiesParams {
9056
9138
  limit?: number;
9057
9139
  offset?: number;
@@ -9398,6 +9480,28 @@ interface UseRecentExecutionsByResourceParams {
9398
9480
  */
9399
9481
  declare function useRecentExecutionsByResource({ timeRange, limit }: UseRecentExecutionsByResourceParams): _tanstack_react_query.UseQueryResult<RecentExecutionsByResourceResponse, Error>;
9400
9482
 
9483
+ /**
9484
+ * Query keys for the notifications domain.
9485
+ *
9486
+ * The queries live in `hooks/monitoring/` while the mutations that invalidate them live
9487
+ * here, and `components/notifications/NotificationBell.tsx` runs a third copy of the
9488
+ * unread-count query. All three reconstructed `['notifications', ...]` from string
9489
+ * literals, so a typo in any one of them would silently stop invalidating rather than
9490
+ * error. They share this factory now; the `all` prefix is what the mutations invalidate,
9491
+ * which matches both `list` and `unreadCount` by TanStack's prefix rule.
9492
+ */
9493
+ declare const notificationKeys: {
9494
+ all: readonly ["notifications"];
9495
+ list: (organizationId: WorkOsOrgId | null, page: {
9496
+ limit: number;
9497
+ offset: number;
9498
+ }) => readonly ["notifications", WorkOsOrgId | null, {
9499
+ limit: number;
9500
+ offset: number;
9501
+ }];
9502
+ unreadCount: (organizationId: WorkOsOrgId | null) => readonly ["notifications", "unread-count", WorkOsOrgId | null];
9503
+ };
9504
+
9401
9505
  declare function useMarkAsRead(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
9402
9506
 
9403
9507
  declare function useMarkAllAsRead(): _tanstack_react_query.UseMutationResult<void, Error, void, unknown>;
@@ -9789,6 +9893,39 @@ declare function useSessionWebSocket(sessionId: string, apiUrl: string): {
9789
9893
  */
9790
9894
  declare function mergeSessionMessages(historyMessages: ChatMessage[], liveMessages: ChatMessage[]): ChatMessage[];
9791
9895
 
9896
+ interface CommandQueueListKeyFilters {
9897
+ status?: QueueTaskStatus;
9898
+ humanCheckpoint?: string;
9899
+ timeRange?: TimeRange;
9900
+ priorityMin?: number;
9901
+ priorityMax?: number;
9902
+ limit?: number;
9903
+ offset?: number;
9904
+ }
9905
+ /**
9906
+ * Query keys for the command queue.
9907
+ *
9908
+ * `lists()` is deliberately the two-element prefix `['command-queue', 'list']` and NOT a
9909
+ * full key: three mutations (`useSubmitAction`, `usePatchTask`, `useDeleteTask`) reach
9910
+ * every cached list page at once through `cancelQueries` / `getQueriesData` /
9911
+ * `setQueriesData` with exactly that prefix, then roll the snapshot back on error. A
9912
+ * `lists()` that appended the org id or the filters would narrow those calls to one page,
9913
+ * and the optimistic update would apply to the visible list while leaving every other
9914
+ * cached page stale -- silently, since none of those three APIs error on a key that
9915
+ * matches nothing.
9916
+ *
9917
+ * `list()` spreads the filters positionally in the order the query already used. The
9918
+ * order is part of the key, so reordering these arguments invalidates every cached page
9919
+ * rather than reusing it.
9920
+ */
9921
+ declare const commandQueueKeys: {
9922
+ all: readonly ["command-queue"];
9923
+ lists: () => readonly ["command-queue", "list"];
9924
+ list: (organizationId: WorkOsOrgId | null, filters: CommandQueueListKeyFilters) => readonly ["command-queue", "list", WorkOsOrgId | null, QueueTaskStatus | undefined, string | undefined, TimeRange | undefined, number | undefined, number | undefined, number | undefined, number | undefined];
9925
+ detail: (organizationId: WorkOsOrgId | null, taskId: string | undefined) => readonly ["command-queue", "detail", WorkOsOrgId | null, string | undefined];
9926
+ checkpoints: (organizationId: WorkOsOrgId | null, filters: Pick<CommandQueueListKeyFilters, "timeRange" | "priorityMin" | "priorityMax" | "status">) => readonly ["command-queue", "checkpoints", WorkOsOrgId | null, TimeRange | undefined, number | undefined, number | undefined, QueueTaskStatus | undefined];
9927
+ };
9928
+
9792
9929
  declare function useCommandQueue({ status, limit, offset, humanCheckpoint, timeRange, priorityMin, priorityMax }?: {
9793
9930
  status?: QueueTaskStatus;
9794
9931
  limit?: number;
@@ -12756,25 +12893,6 @@ interface AcqCompanyFacetsResponse {
12756
12893
  categories: string[];
12757
12894
  statuses: Array<AcqCompanyResponse['status']>;
12758
12895
  }
12759
- declare const companyKeys: {
12760
- all: readonly ["acquisition-companies"];
12761
- list: (organizationId: WorkOsOrgId | null, filters: Partial<ListCompaniesQuery>) => readonly ["acquisition-companies", "list", WorkOsOrgId | null, Partial<{
12762
- limit: number;
12763
- offset: number;
12764
- search?: string | undefined;
12765
- listId?: string | undefined;
12766
- domain?: string | undefined;
12767
- website?: string | undefined;
12768
- segment?: string | undefined;
12769
- category?: string | undefined;
12770
- pipelineStatus?: unknown;
12771
- batchId?: string | undefined;
12772
- status?: "active" | "invalid" | undefined;
12773
- includeAll?: boolean | undefined;
12774
- }>];
12775
- facets: (organizationId: WorkOsOrgId | null) => readonly ["acquisition-companies", "facets", WorkOsOrgId | null];
12776
- detail: (organizationId: WorkOsOrgId | null, companyId: string) => readonly ["acquisition-companies", "detail", WorkOsOrgId | null, string];
12777
- };
12778
12896
  declare function useCompanies(filters?: Partial<ListCompaniesQuery>): _tanstack_react_query.UseQueryResult<{
12779
12897
  data: {
12780
12898
  id: string;
@@ -12942,19 +13060,6 @@ declare function useUpdateCompany(companyId: string): _tanstack_react_query.UseM
12942
13060
  declare function useDeleteCompanies(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
12943
13061
 
12944
13062
  type AcqContactWithCompany = AcqContactResponse;
12945
- declare const contactKeys: {
12946
- all: readonly ["acquisition-contacts"];
12947
- list: (organizationId: WorkOsOrgId | null, filters: Partial<ListContactsQuery>) => readonly ["acquisition-contacts", "list", WorkOsOrgId | null, Partial<{
12948
- limit: number;
12949
- offset: number;
12950
- search?: string | undefined;
12951
- listId?: string | undefined;
12952
- openingLineIsNull?: boolean | undefined;
12953
- batchId?: string | undefined;
12954
- contactStatus?: "active" | "invalid" | undefined;
12955
- }>];
12956
- detail: (organizationId: WorkOsOrgId | null, contactId: string) => readonly ["acquisition-contacts", "detail", WorkOsOrgId | null, string];
12957
- };
12958
13063
  declare function useContacts(filters?: Partial<ListContactsQuery>): _tanstack_react_query.UseQueryResult<{
12959
13064
  data: {
12960
13065
  id: string;
@@ -13149,6 +13254,55 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
13149
13254
  }, unknown>;
13150
13255
  declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
13151
13256
 
13257
+ /**
13258
+ * Query keys for the acquisition companies and contacts domains.
13259
+ *
13260
+ * These two live together, apart from the hooks that use them, for one reason: every company
13261
+ * mutation must invalidate contacts and every contact mutation must invalidate companies, because
13262
+ * a contact row carries its company's denormalized fields. Defining each key next to its own hook
13263
+ * meant `useCompanies` and `useContacts` importing each other -- a cycle that happens to work,
13264
+ * since both references sit inside function bodies rather than at module scope, but that turns into
13265
+ * a temporal-dead-zone error the moment someone reads a key at module eval time. This module is
13266
+ * what makes the cross-invalidation expressible without the cycle.
13267
+ *
13268
+ * The rest of the acquisition domain keeps its keys colocated with its hooks (`acquisitionListKeys`
13269
+ * in `useLists`, `dealKeys` in `useDeals`, and so on). That convention is intact -- these two are
13270
+ * here because they are mutually dependent, not because the convention changed.
13271
+ */
13272
+
13273
+ declare const companyKeys: {
13274
+ all: readonly ["acquisition-companies"];
13275
+ list: (organizationId: WorkOsOrgId | null, filters: Partial<ListCompaniesQuery>) => readonly ["acquisition-companies", "list", WorkOsOrgId | null, Partial<{
13276
+ limit: number;
13277
+ offset: number;
13278
+ search?: string | undefined;
13279
+ listId?: string | undefined;
13280
+ domain?: string | undefined;
13281
+ website?: string | undefined;
13282
+ segment?: string | undefined;
13283
+ category?: string | undefined;
13284
+ pipelineStatus?: unknown;
13285
+ batchId?: string | undefined;
13286
+ status?: "active" | "invalid" | undefined;
13287
+ includeAll?: boolean | undefined;
13288
+ }>];
13289
+ facets: (organizationId: WorkOsOrgId | null) => readonly ["acquisition-companies", "facets", WorkOsOrgId | null];
13290
+ detail: (organizationId: WorkOsOrgId | null, companyId: string) => readonly ["acquisition-companies", "detail", WorkOsOrgId | null, string];
13291
+ };
13292
+ declare const contactKeys: {
13293
+ all: readonly ["acquisition-contacts"];
13294
+ list: (organizationId: WorkOsOrgId | null, filters: Partial<ListContactsQuery>) => readonly ["acquisition-contacts", "list", WorkOsOrgId | null, Partial<{
13295
+ limit: number;
13296
+ offset: number;
13297
+ search?: string | undefined;
13298
+ listId?: string | undefined;
13299
+ openingLineIsNull?: boolean | undefined;
13300
+ batchId?: string | undefined;
13301
+ contactStatus?: "active" | "invalid" | undefined;
13302
+ }>];
13303
+ detail: (organizationId: WorkOsOrgId | null, contactId: string) => readonly ["acquisition-contacts", "detail", WorkOsOrgId | null, string];
13304
+ };
13305
+
13152
13306
  declare const leadGenArtifactKeys: {
13153
13307
  all: readonly ["lead-gen-artifacts"];
13154
13308
  list: (organizationId: WorkOsOrgId | null, ownerKind: AcqArtifactOwnerKind, ownerId: string | null | undefined) => readonly ["lead-gen-artifacts", WorkOsOrgId | null, "company" | "contact" | "list" | "organization" | "deal" | "list_member", string | null | undefined];
@@ -13327,10 +13481,10 @@ interface CreateApiKeyResponse {
13327
13481
  interface ListApiKeysResponse {
13328
13482
  keys: ApiKeyListItem[];
13329
13483
  }
13330
- type ApiRequest$3 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
13484
+ type ApiRequest$2 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
13331
13485
  declare class ApiKeyService {
13332
13486
  private apiRequest;
13333
- constructor(apiRequest: ApiRequest$3);
13487
+ constructor(apiRequest: ApiRequest$2);
13334
13488
  /**
13335
13489
  * List API keys for the current organization
13336
13490
  */
@@ -13351,6 +13505,11 @@ declare class ApiKeyService {
13351
13505
  deleteApiKey(keyId: string): Promise<void>;
13352
13506
  }
13353
13507
 
13508
+ declare const apiKeysKeys: {
13509
+ all: readonly ["api-keys"];
13510
+ list: (organizationId: WorkOsOrgId | null | undefined) => readonly ["api-keys", WorkOsOrgId | null | undefined];
13511
+ };
13512
+
13354
13513
  declare function useListApiKeys(): _tanstack_react_query.UseQueryResult<ApiKeyListItem[], Error>;
13355
13514
 
13356
13515
  declare function useCreateApiKey(): _tanstack_react_query.UseMutationResult<CreateApiKeyResponse, Error, CreateApiKeyRequest, unknown>;
@@ -13382,10 +13541,10 @@ interface VerifyCredentialResponse {
13382
13541
  message?: string;
13383
13542
  details?: Record<string, unknown>;
13384
13543
  }
13385
- type ApiRequest$2 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
13544
+ type ApiRequest$1 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
13386
13545
  declare class CredentialService {
13387
13546
  private apiRequest;
13388
- constructor(apiRequest: ApiRequest$2);
13547
+ constructor(apiRequest: ApiRequest$1);
13389
13548
  /**
13390
13549
  * List credentials for the current organization
13391
13550
  * Organization context is provided via workos-organization-id header
@@ -13415,6 +13574,11 @@ declare class CredentialService {
13415
13574
  verifyCredential(credentialId: string): Promise<VerifyCredentialResponse>;
13416
13575
  }
13417
13576
 
13577
+ declare const credentialsKeys: {
13578
+ all: readonly ["credentials"];
13579
+ list: (organizationId: WorkOsOrgId | null | undefined) => readonly ["credentials", WorkOsOrgId | null | undefined];
13580
+ };
13581
+
13418
13582
  declare function useCredentials(): _tanstack_react_query.UseQueryResult<{
13419
13583
  id: string;
13420
13584
  name: string;
@@ -13437,10 +13601,10 @@ interface UpdateCredentialParams {
13437
13601
  }
13438
13602
  declare function useUpdateCredential(): _tanstack_react_query.UseMutationResult<void, Error, UpdateCredentialParams, unknown>;
13439
13603
 
13440
- type ApiRequest$1 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
13604
+ type ApiRequest = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
13441
13605
  declare class DeploymentService {
13442
13606
  private apiRequest;
13443
- constructor(apiRequest: ApiRequest$1);
13607
+ constructor(apiRequest: ApiRequest);
13444
13608
  listDeployments(): Promise<Deployment[]>;
13445
13609
  getDeployment(id: string): Promise<Deployment>;
13446
13610
  activateDeployment(id: string): Promise<Deployment>;
@@ -13448,61 +13612,67 @@ declare class DeploymentService {
13448
13612
  deleteDeployment(id: string): Promise<void>;
13449
13613
  }
13450
13614
 
13615
+ declare const deploymentsKeys: {
13616
+ all: readonly ["deployments"];
13617
+ list: (organizationId: WorkOsOrgId | null | undefined) => readonly ["deployments", WorkOsOrgId | null | undefined];
13618
+ };
13619
+
13451
13620
  declare function useListDeployments(): _tanstack_react_query.UseQueryResult<Deployment[], Error>;
13452
13621
 
13453
13622
  declare function useActivateDeployment(): _tanstack_react_query.UseMutationResult<Deployment, Error, string, unknown>;
13454
13623
  declare function useDeactivateDeployment(): _tanstack_react_query.UseMutationResult<Deployment, Error, string, unknown>;
13455
13624
  declare function useDeleteDeployment(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
13456
13625
 
13457
- type ApiRequest = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
13458
- declare class OrganizationMembershipService {
13459
- private apiRequest;
13460
- constructor(apiRequest: ApiRequest);
13461
- /**
13462
- * Get user's organization memberships
13463
- */
13464
- getUserMemberships(userId: string): Promise<MembershipWithDetails[]>;
13465
- /**
13466
- * Get organization members
13467
- */
13468
- getOrganizationMembers(organizationId: SupabaseOrgId): Promise<MembershipWithDetails[]>;
13469
- /**
13470
- * List memberships with filtering
13471
- */
13472
- listMemberships(params?: ListMembershipsParams): Promise<ListMembershipsResponse>;
13473
- /**
13474
- * Get a single membership by ID
13475
- */
13476
- getMembership(membershipId: string): Promise<MembershipWithDetails>;
13477
- /**
13478
- * Create a new organization membership
13479
- */
13480
- createMembership(data: CreateMembershipRequest): Promise<MembershipWithDetails>;
13481
- /**
13482
- * Update an existing membership
13483
- */
13484
- updateMembership(membershipId: string, data: UpdateMembershipRequest): Promise<MembershipWithDetails>;
13485
- /**
13486
- * Delete a membership
13487
- */
13488
- deleteMembership(membershipId: string): Promise<void>;
13489
- /**
13490
- * Deactivate a membership (soft delete)
13491
- */
13492
- deactivateMembership(membershipId: string): Promise<MembershipWithDetails>;
13493
- /**
13494
- * Reactivate a membership
13495
- */
13496
- reactivateMembership(membershipId: string): Promise<MembershipWithDetails>;
13497
- /**
13498
- * Write the WorkOS membership link the acceptance path failed to record --
13499
- * the repair for a membership reported as `accepted_unlinked`.
13500
- *
13501
- * Idempotent on the server: an already-linked row returns unchanged. A row in
13502
- * any other state is refused with a 409 rather than guessed at.
13503
- */
13504
- repairMembershipLink(membershipId: string): Promise<MembershipWithDetails>;
13505
- }
13626
+ type MembershipApiRequest = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
13627
+ /**
13628
+ * Get user's organization memberships
13629
+ */
13630
+ declare function getUserMemberships(apiRequest: MembershipApiRequest, userId: string): Promise<MembershipWithDetails[]>;
13631
+ /**
13632
+ * Get organization members
13633
+ */
13634
+ declare function getOrganizationMembers(apiRequest: MembershipApiRequest, organizationId: SupabaseOrgId): Promise<MembershipWithDetails[]>;
13635
+ /**
13636
+ * List memberships with filtering
13637
+ */
13638
+ declare function listMemberships(apiRequest: MembershipApiRequest, params?: ListMembershipsParams): Promise<ListMembershipsResponse>;
13639
+ /**
13640
+ * Get a single membership by ID
13641
+ */
13642
+ declare function getMembership(apiRequest: MembershipApiRequest, membershipId: string): Promise<MembershipWithDetails>;
13643
+ /**
13644
+ * Create a new organization membership
13645
+ */
13646
+ declare function createMembership(apiRequest: MembershipApiRequest, data: CreateMembershipRequest): Promise<MembershipWithDetails>;
13647
+ /**
13648
+ * Update an existing membership
13649
+ */
13650
+ declare function updateMembership(apiRequest: MembershipApiRequest, membershipId: string, data: UpdateMembershipRequest): Promise<MembershipWithDetails>;
13651
+ /**
13652
+ * Delete a membership
13653
+ */
13654
+ declare function deleteMembership(apiRequest: MembershipApiRequest, membershipId: string): Promise<void>;
13655
+ /**
13656
+ * Deactivate a membership (soft delete)
13657
+ */
13658
+ declare function deactivateMembership(apiRequest: MembershipApiRequest, membershipId: string): Promise<MembershipWithDetails>;
13659
+ /**
13660
+ * Reactivate a membership
13661
+ */
13662
+ declare function reactivateMembership(apiRequest: MembershipApiRequest, membershipId: string): Promise<MembershipWithDetails>;
13663
+ /**
13664
+ * Write the WorkOS membership link the acceptance path failed to record --
13665
+ * the repair for a membership reported as `accepted_unlinked`.
13666
+ *
13667
+ * Idempotent on the server: an already-linked row returns unchanged. A row in
13668
+ * any other state is refused with a 409 rather than guessed at.
13669
+ */
13670
+ declare function repairMembershipLink(apiRequest: MembershipApiRequest, membershipId: string): Promise<MembershipWithDetails>;
13671
+
13672
+ declare const membershipsKeys: {
13673
+ all: readonly ["memberships"];
13674
+ user: (userId: string, params?: Omit<ListMembershipsParams, "userId">) => readonly ["memberships", "user", string, Omit<ListMembershipsParams, "userId"> | undefined];
13675
+ };
13506
13676
 
13507
13677
  declare function useUserMemberships(userId: string, params?: Omit<ListMembershipsParams, 'userId'>): _tanstack_react_query.UseQueryResult<MembershipWithDetails[], Error>;
13508
13678
 
@@ -13580,6 +13750,24 @@ type RevokeRoleInput = {
13580
13750
  roleId: string;
13581
13751
  };
13582
13752
 
13753
+ /**
13754
+ * `useOrgRoles` is the sole producer of this key. Every mutation that must
13755
+ * refresh the role list (`useCreateOrgRole`, `useDeleteOrgRole`,
13756
+ * `useUpdateOrgRole`, `useAssignRole`/`useRevokeRole` in `useMemberRoles`)
13757
+ * imports this factory rather than reconstructing `['org-roles', orgId]`
13758
+ * locally -- see `useMemberRoles`'s note on the org-id mismatch this class of
13759
+ * bug already caused once here.
13760
+ */
13761
+ declare const orgRolesKeys: {
13762
+ all: readonly ["org-roles"];
13763
+ list: (organizationId: SupabaseOrgId | null | undefined) => readonly ["org-roles", SupabaseOrgId | null | undefined];
13764
+ };
13765
+ /** `useEffectivePermissions` is the sole producer; `useMemberRoles` invalidates it. */
13766
+ declare const memberRolesKeys: {
13767
+ all: readonly ["member-roles"];
13768
+ detail: (organizationId: SupabaseOrgId | null | undefined, membershipId: string | undefined) => readonly ["member-roles", SupabaseOrgId | null | undefined, string | undefined];
13769
+ };
13770
+
13583
13771
  /**
13584
13772
  * Roles for an organization, keyed on the **Supabase organization UUID**.
13585
13773
  *
@@ -13646,6 +13834,11 @@ declare function useListWebhookEndpoints(): _tanstack_react_query.UseQueryResult
13646
13834
  key?: string | undefined;
13647
13835
  }[], Error>;
13648
13836
 
13837
+ declare const webhookEndpointsKeys: {
13838
+ all: readonly ["webhook-endpoints"];
13839
+ list: (organizationId: WorkOsOrgId | null | undefined) => readonly ["webhook-endpoints", WorkOsOrgId | null | undefined];
13840
+ };
13841
+
13649
13842
  declare function useCreateWebhookEndpoint(): _tanstack_react_query.UseMutationResult<{
13650
13843
  id: string;
13651
13844
  organizationId: string;
@@ -14339,5 +14532,5 @@ declare function useCreateNote(): _tanstack_react_query.UseMutationResult<{
14339
14532
  type?: string;
14340
14533
  }, "organization_id">, unknown>;
14341
14534
 
14342
- export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, IN_FLIGHT_EXECUTION_STATUSES, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, SIGNED_URL_EXPIRES_IN_SECONDS, TEMPORARY_LINK_STALE_MS, TERMINAL_EXECUTION_STATUSES, THUMBNAIL_BATCH_SIZE, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, chunkIntoBatches, clientsKeys, cloudStorageKeys, collectResourceFilterFacets, companyKeys, contactKeys, contentKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isExecutionInFlight, isSessionCapable, joinSourceAssetDetails, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, measureImageDimensions, mergeSessionMessages, mergeThumbnailBatches, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, pickCoverSourceAsset, pickLatestRunAt, projectActivityKeys, projectKeys, readItemSourceAssets, requestsKeys, scheduleKeys, sessionsKeys, sortData, storageKeys, storageObjectRefKey, sumStatusCounts, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAddContentItemSourceAsset, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCloudStorageFolder, useCloudStorageImageDimensions, useCloudStorageTemporaryLinks, useCloudStorageThumbnails, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useContentDistribution, useContentDistributionMetrics, useContentDistributions, useContentItem, useContentItemAttempts, useContentItemSourceAssetDetails, useContentItemSourceAssets, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateContentDistribution, useCreateContentItem, useCreateContentSourceAsset, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationModelDrift, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRemoveContentItemSourceAsset, useReorderContentItemSourceAssets, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useReviewContentItem, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useStorageSignedUrls, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentItemSourceAsset, useUpdateContentSourceAsset, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUploadStorageFile, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution };
14343
- export type { AccessKeyInput, AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AssignRoleInput, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, CloudStorageDimensionMap, CloudStorageDimensions, CloudStorageFolderFilters, CloudStorageFolderParams, CloudStorageFolderResponse, CloudStorageImageDimensionsResult, CloudStorageTemporaryLink, CloudStorageTemporaryLinkMap, CloudStorageTemporaryLinksResult, CloudStorageThumbnailMap, CloudStorageThumbnailsResult, ContentAssetCrop, ContentAssetCropInput, ContentDistributionListResponse, ContentDistributionMetrics, ContentDistributionMetricsListResponse, ContentDistributionMetricsResponse, ContentDistributionResponse, ContentDistributionsListFilters, ContentItemAttemptListResponse, ContentItemAttemptResponse, ContentItemListResponse, ContentItemResponse, ContentItemReviewDecision, ContentItemSourceAssetDetail, ContentItemSourceAssetDetailsResult, ContentItemSourceAssetExpansion, ContentItemSourceAssetInput, ContentItemSourceAssetListResponse, ContentItemSourceAssetResponse, ContentItemStatus, ContentItemsListFilters, ContentPillar, ContentPipelineId, ContentPipelineSummary, ContentSourceAssetKind, ContentSourceAssetListResponse, ContentSourceAssetResponse, ContentSourceAssetsListFilters, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, CreateContentDistributionRequest, CreateContentSourceAssetRequest, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, OrgRole, OrganizationModelDriftState, RemoveCompaniesFromListResult, ReorderContentItemSourceAssetsRequest, RequestRow, RequestSeverity, RequestType, RequestsListFilters, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, ReviewContentItemRequest, RevokeRoleInput, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusFilter, StorageObjectRef, StorageSignedUrlMap, StorageSignedUrlsResult, SubmitActionRequest, SubmitActionResponse, SubmitRequestInput, SystemHealthExecutionSummary, SystemHealthResponse, TaskSchedule, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UpdateClientRequest, UpdateContentDistributionRequest, UpdateContentItemRequest, UpdateContentItemSourceAssetRequest, UpdateContentSourceAssetRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UploadStorageFileParams, UploadStorageFileResult, UseAccessResult, UseActivitiesParams, UseActivityTrendParams, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSubmitActionOptions, UseSystemHealthParams, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WorkflowExecutionTriggerParams };
14535
+ export { AccessKeys, ApiKeyService, CredentialService, DEFAULT_TIME_RANGE, DeploymentService, IN_FLIGHT_EXECUTION_STATUSES, OperationsService, REFETCH_INTERVAL_RUNNING, SIGNED_URL_EXPIRES_IN_SECONDS, TEMPORARY_LINK_STALE_MS, TERMINAL_EXECUTION_STATUSES, THUMBNAIL_BATCH_SIZE, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, accessKeys, acquisitionListKeys, activityKeys, apiKeysKeys, chunkIntoBatches, clientsKeys, cloudStorageKeys, collectResourceFilterFacets, commandQueueKeys, companyKeys, contactKeys, contentKeys, costAnalyticsKeys, createMembership, credentialsKeys, deactivateMembership, dealKeys, dealNoteKeys, dealTaskKeys, deleteMembership, deploymentsKeys, executionsKeys, filterByDomainFilters, getMembership, getOrganizationMembers, getResourceFilterFacetIds, getUserMemberships, isExecutionInFlight, isSessionCapable, joinSourceAssetDetails, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, listMemberships, measureImageDimensions, memberRolesKeys, membershipsKeys, mergeSessionMessages, mergeThumbnailBatches, milestoneKeys, monitoringKeys, noteKeys, notificationKeys, observabilityKeys, operationsKeys, orgRolesKeys, pickCoverSourceAsset, pickLatestRunAt, projectActivityKeys, projectKeys, reactivateMembership, readItemSourceAssets, repairMembershipLink, requestsKeys, scheduleKeys, sessionsKeys, sortData, storageKeys, storageObjectRefKey, sumStatusCounts, taskKeys, updateMembership, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAddContentItemSourceAsset, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCloudStorageFolder, useCloudStorageImageDimensions, useCloudStorageTemporaryLinks, useCloudStorageThumbnails, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useContentDistribution, useContentDistributionMetrics, useContentDistributions, useContentItem, useContentItemAttempts, useContentItemSourceAssetDetails, useContentItemSourceAssets, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateContentDistribution, useCreateContentItem, useCreateContentSourceAsset, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationModelDrift, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRemoveContentItemSourceAsset, useReorderContentItemSourceAssets, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedTimeRange, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useReviewContentItem, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useStorageSignedUrls, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentItemSourceAsset, useUpdateContentSourceAsset, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUploadStorageFile, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution, webhookEndpointsKeys };
14536
+ export type { AccessKeyInput, AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AssignRoleInput, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, CloudStorageDimensionMap, CloudStorageDimensions, CloudStorageFolderFilters, CloudStorageFolderParams, CloudStorageFolderResponse, CloudStorageImageDimensionsResult, CloudStorageTemporaryLink, CloudStorageTemporaryLinkMap, CloudStorageTemporaryLinksResult, CloudStorageThumbnailMap, CloudStorageThumbnailsResult, CommandQueueListKeyFilters, ContentAssetCrop, ContentAssetCropInput, ContentDistributionListResponse, ContentDistributionMetrics, ContentDistributionMetricsListResponse, ContentDistributionMetricsResponse, ContentDistributionResponse, ContentDistributionsListFilters, ContentItemAttemptListResponse, ContentItemAttemptResponse, ContentItemListResponse, ContentItemResponse, ContentItemReviewDecision, ContentItemSourceAssetDetail, ContentItemSourceAssetDetailsResult, ContentItemSourceAssetExpansion, ContentItemSourceAssetInput, ContentItemSourceAssetListResponse, ContentItemSourceAssetResponse, ContentItemStatus, ContentItemsListFilters, ContentPillar, ContentPipelineId, ContentPipelineSummary, ContentSourceAssetKind, ContentSourceAssetListResponse, ContentSourceAssetResponse, ContentSourceAssetsListFilters, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, CreateContentDistributionRequest, CreateContentSourceAssetRequest, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipApiRequest, MessageEvent, MessageType, OrgRole, OrganizationModelDriftState, RemoveCompaniesFromListResult, ReorderContentItemSourceAssetsRequest, RequestRow, RequestSeverity, RequestType, RequestsListFilters, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, ReviewContentItemRequest, RevokeRoleInput, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusFilter, StorageObjectRef, StorageSignedUrlMap, StorageSignedUrlsResult, SubmitActionRequest, SubmitActionResponse, SubmitRequestInput, SystemHealthExecutionSummary, SystemHealthResponse, TaskSchedule, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UpdateClientRequest, UpdateContentDistributionRequest, UpdateContentItemRequest, UpdateContentItemSourceAssetRequest, UpdateContentSourceAssetRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UploadStorageFileParams, UploadStorageFileResult, UseAccessResult, UseActivitiesParams, UseActivityTrendParams, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSubmitActionOptions, UseSystemHealthParams, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WorkflowExecutionTriggerParams };