@arbidocs/react 0.5.142 → 0.5.143

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 (29) hide show
  1. package/dist/artifacts/index.cjs +34 -34
  2. package/dist/calls/livekit/index.cjs +44 -44
  3. package/dist/{chunk-44YADVU6.cjs → chunk-26SZ3DS4.cjs} +6 -6
  4. package/dist/{chunk-44YADVU6.cjs.map → chunk-26SZ3DS4.cjs.map} +1 -1
  5. package/dist/{chunk-PDY2Z25V.cjs → chunk-2F24LLVZ.cjs} +25 -25
  6. package/dist/{chunk-PDY2Z25V.cjs.map → chunk-2F24LLVZ.cjs.map} +1 -1
  7. package/dist/{chunk-DBWW6DXJ.cjs → chunk-6RRKO4ZK.cjs} +5 -5
  8. package/dist/{chunk-DBWW6DXJ.cjs.map → chunk-6RRKO4ZK.cjs.map} +1 -1
  9. package/dist/{chunk-G3SZWU7R.cjs → chunk-FDYZA6NO.cjs} +4 -4
  10. package/dist/{chunk-G3SZWU7R.cjs.map → chunk-FDYZA6NO.cjs.map} +1 -1
  11. package/dist/{chunk-DQODLWFX.cjs → chunk-KULS4YWP.cjs} +3 -3
  12. package/dist/{chunk-DQODLWFX.cjs.map → chunk-KULS4YWP.cjs.map} +1 -1
  13. package/dist/{chunk-IWNWPUAS.cjs → chunk-ZZZYVNFW.cjs} +5 -5
  14. package/dist/{chunk-IWNWPUAS.cjs.map → chunk-ZZZYVNFW.cjs.map} +1 -1
  15. package/dist/databases.js +18 -2
  16. package/dist/databases.js.map +2 -2
  17. package/dist/document-tools/core.cjs +99 -99
  18. package/dist/document-tools/index.cjs +101 -101
  19. package/dist/index.cjs +1611 -1570
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.ts +152 -22
  22. package/dist/notifications/notification-types.js +5 -0
  23. package/dist/notifications/notification-types.js.map +2 -2
  24. package/dist/notifications/server-notifications.js +21 -0
  25. package/dist/notifications/server-notifications.js.map +2 -2
  26. package/dist/shell/index.cjs +40 -40
  27. package/dist/ui/index.cjs +13 -13
  28. package/dist/viewers/index.cjs +9 -9
  29. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -4517,6 +4517,17 @@ declare function useConversations(workspaceId: string | undefined, options?: {
4517
4517
  input?: string | null | undefined;
4518
4518
  })[];
4519
4519
  overwrite: boolean;
4520
+ } | {
4521
+ type: "approval";
4522
+ database: string;
4523
+ decision: string;
4524
+ values?: {
4525
+ [x: string]: string;
4526
+ } | undefined;
4527
+ approve: string;
4528
+ send_back: string;
4529
+ reject: string;
4530
+ send_back_to?: string | null | undefined;
4520
4531
  } | null | undefined;
4521
4532
  edit_document?: string | {
4522
4533
  step?: string | null | undefined;
@@ -4973,6 +4984,7 @@ declare function useConfig(configId: string | null | undefined, options?: {
4973
4984
  AGENT_MAX_TOKENS: number;
4974
4985
  AGENT_STREAM_OUTPUT_CEILING_TOKENS: number;
4975
4986
  AGENT_STREAM_DEGENERATE_CHARS: number;
4987
+ AGENT_STREAM_REPEAT_CHARS: number;
4976
4988
  ENABLE_THINKING: boolean;
4977
4989
  AGENT_STRICT_TOOL_CALLS: boolean;
4978
4990
  AGENT_MAX_ITERATIONS: number;
@@ -5325,8 +5337,6 @@ declare function useWorkspaceActivity(workspaceId: string | null | undefined, op
5325
5337
  declare function useProjects(options?: {
5326
5338
  enabled?: boolean;
5327
5339
  }): _tanstack_react_query.UseQueryResult<NoInfer<{
5328
- spend_limits_confirmation_required?: boolean | undefined;
5329
- checkout_pending?: boolean | undefined;
5330
5340
  external_id: string;
5331
5341
  name: string;
5332
5342
  created_by: string;
@@ -5351,6 +5361,8 @@ declare function useProjects(options?: {
5351
5361
  budget_reset_at?: number | null | undefined;
5352
5362
  };
5353
5363
  daily_cap_per_user?: number | null | undefined;
5364
+ spend_limits_confirmation_required: boolean;
5365
+ checkout_pending: boolean;
5354
5366
  budget?: {
5355
5367
  amount: number;
5356
5368
  currency: string;
@@ -7247,6 +7259,17 @@ declare function useConversationItems(): {
7247
7259
  input?: string | null | undefined;
7248
7260
  })[];
7249
7261
  overwrite: boolean;
7262
+ } | {
7263
+ type: "approval";
7264
+ database: string;
7265
+ decision: string;
7266
+ values?: {
7267
+ [x: string]: string;
7268
+ } | undefined;
7269
+ approve: string;
7270
+ send_back: string;
7271
+ reject: string;
7272
+ send_back_to?: string | null | undefined;
7250
7273
  } | null | undefined;
7251
7274
  edit_document?: string | {
7252
7275
  step?: string | null | undefined;
@@ -7390,6 +7413,17 @@ declare function useConversationItems(): {
7390
7413
  input?: string | null | undefined;
7391
7414
  })[];
7392
7415
  overwrite: boolean;
7416
+ } | {
7417
+ type: "approval";
7418
+ database: string;
7419
+ decision: string;
7420
+ values?: {
7421
+ [x: string]: string;
7422
+ } | undefined;
7423
+ approve: string;
7424
+ send_back: string;
7425
+ reject: string;
7426
+ send_back_to?: string | null | undefined;
7393
7427
  } | null | undefined;
7394
7428
  edit_document?: string | {
7395
7429
  step?: string | null | undefined;
@@ -7534,6 +7568,17 @@ declare function useConversationItems(): {
7534
7568
  input?: string | null | undefined;
7535
7569
  })[];
7536
7570
  overwrite: boolean;
7571
+ } | {
7572
+ type: "approval";
7573
+ database: string;
7574
+ decision: string;
7575
+ values?: {
7576
+ [x: string]: string;
7577
+ } | undefined;
7578
+ approve: string;
7579
+ send_back: string;
7580
+ reject: string;
7581
+ send_back_to?: string | null | undefined;
7537
7582
  } | null | undefined;
7538
7583
  edit_document?: string | {
7539
7584
  step?: string | null | undefined;
@@ -7682,6 +7727,17 @@ declare function useWorkItems(): {
7682
7727
  input?: string | null | undefined;
7683
7728
  })[];
7684
7729
  overwrite: boolean;
7730
+ } | {
7731
+ type: "approval";
7732
+ database: string;
7733
+ decision: string;
7734
+ values?: {
7735
+ [x: string]: string;
7736
+ } | undefined;
7737
+ approve: string;
7738
+ send_back: string;
7739
+ reject: string;
7740
+ send_back_to?: string | null | undefined;
7685
7741
  } | null | undefined;
7686
7742
  edit_document?: string | {
7687
7743
  step?: string | null | undefined;
@@ -7826,6 +7882,17 @@ declare function useWorkItems(): {
7826
7882
  input?: string | null | undefined;
7827
7883
  })[];
7828
7884
  overwrite: boolean;
7885
+ } | {
7886
+ type: "approval";
7887
+ database: string;
7888
+ decision: string;
7889
+ values?: {
7890
+ [x: string]: string;
7891
+ } | undefined;
7892
+ approve: string;
7893
+ send_back: string;
7894
+ reject: string;
7895
+ send_back_to?: string | null | undefined;
7829
7896
  } | null | undefined;
7830
7897
  edit_document?: string | {
7831
7898
  step?: string | null | undefined;
@@ -8697,6 +8764,13 @@ type DatabaseAggregateResult = components['schemas']['DatabaseAggregateResult'];
8697
8764
  declare const DATABASE_ROWS_PAGE = 1000;
8698
8765
  /** The most rows a relation cell's picker lists for one search. */
8699
8766
  declare const DATABASE_RELATION_PICK_LIMIT = 50;
8767
+ /** The transient view a host sets to open the databases page at one database (and row): an approval
8768
+ * step's request, a notification about a row. */
8769
+ declare const DATABASES_OPEN_VIEW = "databases.open";
8770
+ interface DatabaseOpenRequest {
8771
+ databaseId: string;
8772
+ rowId?: string;
8773
+ }
8700
8774
  /**
8701
8775
  * The open workspace's databases, then those of public workspaces (read-only here). Kept per
8702
8776
  * workspace, and read only while that workspace stays open on the server (the list is the open
@@ -8710,6 +8784,7 @@ declare function useDatabases(): _tanstack_react_query.UseQueryResult<NoInfer<{
8710
8784
  row_count: number;
8711
8785
  workspace_id: string;
8712
8786
  editable: boolean;
8787
+ locked_columns?: string[];
8713
8788
  created_by?: string | null;
8714
8789
  created_at: string;
8715
8790
  updated_at: string;
@@ -8725,6 +8800,7 @@ declare function useDatabase(databaseId: string | null, options?: {
8725
8800
  row_count: number;
8726
8801
  workspace_id: string;
8727
8802
  editable: boolean;
8803
+ locked_columns?: string[];
8728
8804
  created_by?: string | null;
8729
8805
  created_at: string;
8730
8806
  updated_at: string;
@@ -8763,6 +8839,7 @@ declare function useCreateDatabase(): _tanstack_react_query.UseMutationResult<{
8763
8839
  row_count: number;
8764
8840
  workspace_id: string;
8765
8841
  editable: boolean;
8842
+ locked_columns?: string[];
8766
8843
  created_by?: string | null;
8767
8844
  created_at: string;
8768
8845
  updated_at: string;
@@ -8780,6 +8857,7 @@ declare function useUpdateDatabase(): _tanstack_react_query.UseMutationResult<{
8780
8857
  row_count: number;
8781
8858
  workspace_id: string;
8782
8859
  editable: boolean;
8860
+ locked_columns?: string[];
8783
8861
  created_by?: string | null;
8784
8862
  created_at: string;
8785
8863
  updated_at: string;
@@ -8796,6 +8874,10 @@ declare function useAddDatabaseRows(): _tanstack_react_query.UseMutationResult<{
8796
8874
  titles?: {
8797
8875
  [key: string]: string;
8798
8876
  };
8877
+ shared: boolean;
8878
+ created_by?: string | null;
8879
+ updated_by?: string | null;
8880
+ conversation_id?: string | null;
8799
8881
  created_at: string;
8800
8882
  updated_at: string;
8801
8883
  }[], Error, {
@@ -8803,6 +8885,31 @@ declare function useAddDatabaseRows(): _tanstack_react_query.UseMutationResult<{
8803
8885
  rows: {
8804
8886
  values: DatabaseRowValues;
8805
8887
  }[];
8888
+ /** False: the caller's private drafts until submitted (`useShareDatabaseRow`). */
8889
+ shared?: boolean;
8890
+ }, unknown>;
8891
+ /**
8892
+ * Submit a draft row (share it with the workspace: its approvers are told), or, as a workspace owner,
8893
+ * make a shared row private again (`shared: false`).
8894
+ */
8895
+ declare function useShareDatabaseRow(): _tanstack_react_query.UseMutationResult<{
8896
+ id: string;
8897
+ values: {
8898
+ [key: string]: unknown;
8899
+ };
8900
+ titles?: {
8901
+ [key: string]: string;
8902
+ };
8903
+ shared: boolean;
8904
+ created_by?: string | null;
8905
+ updated_by?: string | null;
8906
+ conversation_id?: string | null;
8907
+ created_at: string;
8908
+ updated_at: string;
8909
+ }, Error, {
8910
+ databaseId: string;
8911
+ rowId: string;
8912
+ shared?: boolean;
8806
8913
  }, unknown>;
8807
8914
  /**
8808
8915
  * Change cells of one row (`null` empties a cell). The server's (normalised) row replaces the row in
@@ -8818,6 +8925,10 @@ declare function useUpdateDatabaseRow(): _tanstack_react_query.UseMutationResult
8818
8925
  titles?: {
8819
8926
  [key: string]: string;
8820
8927
  };
8928
+ shared: boolean;
8929
+ created_by?: string | null;
8930
+ updated_by?: string | null;
8931
+ conversation_id?: string | null;
8821
8932
  created_at: string;
8822
8933
  updated_at: string;
8823
8934
  }, Error, {
@@ -9399,8 +9510,6 @@ declare function isNetworkFailure(error: unknown): boolean;
9399
9510
  * The project list and the workspace list (which carries project names) refresh.
9400
9511
  */
9401
9512
  declare function useUpdateProjectFields(): _tanstack_react_query.UseMutationResult<{
9402
- spend_limits_confirmation_required?: boolean;
9403
- checkout_pending?: boolean;
9404
9513
  external_id: string;
9405
9514
  name: string;
9406
9515
  created_by: string;
@@ -9411,6 +9520,8 @@ declare function useUpdateProjectFields(): _tanstack_react_query.UseMutationResu
9411
9520
  created_at: string;
9412
9521
  quotas: _arbidocs_client.components["schemas"]["ProjectQuotas"];
9413
9522
  daily_cap_per_user?: number | null;
9523
+ spend_limits_confirmation_required: boolean;
9524
+ checkout_pending: boolean;
9414
9525
  budget?: _arbidocs_client.components["schemas"]["ProjectBudget"] | null;
9415
9526
  client?: string | null;
9416
9527
  client_ref?: string | null;
@@ -9491,8 +9602,6 @@ declare function useInvalidateProjects(): () => Promise<void>;
9491
9602
  /** Keep confirmed billing responses in sync while an inline editor applies several operations. */
9492
9603
  declare function useProjectBillingCache(): {
9493
9604
  publish: (project: ProjectResponse) => NoInfer<{
9494
- spend_limits_confirmation_required?: boolean;
9495
- checkout_pending?: boolean;
9496
9605
  external_id: string;
9497
9606
  name: string;
9498
9607
  created_by: string;
@@ -9503,6 +9612,8 @@ declare function useProjectBillingCache(): {
9503
9612
  created_at: string;
9504
9613
  quotas: _arbidocs_client.components["schemas"]["ProjectQuotas"];
9505
9614
  daily_cap_per_user?: number | null;
9615
+ spend_limits_confirmation_required: boolean;
9616
+ checkout_pending: boolean;
9506
9617
  budget?: _arbidocs_client.components["schemas"]["ProjectBudget"] | null;
9507
9618
  client?: string | null;
9508
9619
  client_ref?: string | null;
@@ -9539,7 +9650,7 @@ declare function useProjectBillingCache(): {
9539
9650
  declare function useProducts(options?: {
9540
9651
  enabled?: boolean;
9541
9652
  }): _tanstack_react_query.UseQueryResult<NoInfer<{
9542
- collaborator_daily_limit_step_gbp?: number | undefined;
9653
+ collaborator_daily_limit_step_gbp: number;
9543
9654
  included_ai_gbp: number;
9544
9655
  included_storage_gb: number;
9545
9656
  included_collaborators: number;
@@ -9605,8 +9716,6 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<Cre
9605
9716
  declare function useDeleteProject(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
9606
9717
  /** Re-read a project's subscription from Stripe (after a checkout completes). */
9607
9718
  declare function useRefreshProject(): _tanstack_react_query.UseMutationResult<{
9608
- spend_limits_confirmation_required?: boolean | undefined;
9609
- checkout_pending?: boolean | undefined;
9610
9719
  external_id: string;
9611
9720
  name: string;
9612
9721
  created_by: string;
@@ -9631,6 +9740,8 @@ declare function useRefreshProject(): _tanstack_react_query.UseMutationResult<{
9631
9740
  budget_reset_at?: number | null | undefined;
9632
9741
  };
9633
9742
  daily_cap_per_user?: number | null | undefined;
9743
+ spend_limits_confirmation_required: boolean;
9744
+ checkout_pending: boolean;
9634
9745
  budget?: {
9635
9746
  amount: number;
9636
9747
  currency: string;
@@ -9752,8 +9863,6 @@ declare function useCreateProjectCheckout(): _tanstack_react_query.UseMutationRe
9752
9863
  * interval clears a pending switch, and resumes a project set to cancel. Resolves to the project.
9753
9864
  */
9754
9865
  declare function useChangeProjectPlan(): _tanstack_react_query.UseMutationResult<{
9755
- spend_limits_confirmation_required?: boolean | undefined;
9756
- checkout_pending?: boolean | undefined;
9757
9866
  external_id: string;
9758
9867
  name: string;
9759
9868
  created_by: string;
@@ -9778,6 +9887,8 @@ declare function useChangeProjectPlan(): _tanstack_react_query.UseMutationResult
9778
9887
  budget_reset_at?: number | null | undefined;
9779
9888
  };
9780
9889
  daily_cap_per_user?: number | null | undefined;
9890
+ spend_limits_confirmation_required: boolean;
9891
+ checkout_pending: boolean;
9781
9892
  budget?: {
9782
9893
  amount: number;
9783
9894
  currency: string;
@@ -9892,8 +10003,6 @@ declare function useChangeProjectPlan(): _tanstack_react_query.UseMutationResult
9892
10003
  }, unknown>;
9893
10004
  /** Move a Pro project to Free at the end of the period (no refunds). */
9894
10005
  declare function useCancelProjectSubscription(): _tanstack_react_query.UseMutationResult<{
9895
- spend_limits_confirmation_required?: boolean | undefined;
9896
- checkout_pending?: boolean | undefined;
9897
10006
  external_id: string;
9898
10007
  name: string;
9899
10008
  created_by: string;
@@ -9918,6 +10027,8 @@ declare function useCancelProjectSubscription(): _tanstack_react_query.UseMutati
9918
10027
  budget_reset_at?: number | null | undefined;
9919
10028
  };
9920
10029
  daily_cap_per_user?: number | null | undefined;
10030
+ spend_limits_confirmation_required: boolean;
10031
+ checkout_pending: boolean;
9921
10032
  budget?: {
9922
10033
  amount: number;
9923
10034
  currency: string;
@@ -10069,6 +10180,12 @@ declare function useAddonQuote(projectExtId: string, kind: ProjectAddonKind, ena
10069
10180
  subtotal_pence: number;
10070
10181
  tax_pence: number;
10071
10182
  }[];
10183
+ promo_code?: string | null | undefined;
10184
+ discount_pence: number;
10185
+ discount_label?: string | null | undefined;
10186
+ renewal_total_pence?: number | null | undefined;
10187
+ renewal_note?: string | null | undefined;
10188
+ tax_calculated: boolean;
10072
10189
  };
10073
10190
  renewal: {
10074
10191
  subtotal_pence: number;
@@ -10083,6 +10200,12 @@ declare function useAddonQuote(projectExtId: string, kind: ProjectAddonKind, ena
10083
10200
  subtotal_pence: number;
10084
10201
  tax_pence: number;
10085
10202
  }[];
10203
+ promo_code?: string | null | undefined;
10204
+ discount_pence: number;
10205
+ discount_label?: string | null | undefined;
10206
+ renewal_total_pence?: number | null | undefined;
10207
+ renewal_note?: string | null | undefined;
10208
+ tax_calculated: boolean;
10086
10209
  };
10087
10210
  }>, unknown>;
10088
10211
  /** A fresh, short-lived Stripe customer-portal link for a project; open it as soon as it arrives. */
@@ -10097,8 +10220,6 @@ declare function useAddProjectAddonBlock(): _tanstack_react_query.UseMutationRes
10097
10220
  status: "paid" | "requires_action";
10098
10221
  confirm_url?: string | null | undefined;
10099
10222
  project: {
10100
- spend_limits_confirmation_required?: boolean | undefined;
10101
- checkout_pending?: boolean | undefined;
10102
10223
  external_id: string;
10103
10224
  name: string;
10104
10225
  created_by: string;
@@ -10123,6 +10244,8 @@ declare function useAddProjectAddonBlock(): _tanstack_react_query.UseMutationRes
10123
10244
  budget_reset_at?: number | null | undefined;
10124
10245
  };
10125
10246
  daily_cap_per_user?: number | null | undefined;
10247
+ spend_limits_confirmation_required: boolean;
10248
+ checkout_pending: boolean;
10126
10249
  budget?: {
10127
10250
  amount: number;
10128
10251
  currency: string;
@@ -10238,8 +10361,6 @@ declare function useAddProjectAddonBlock(): _tanstack_react_query.UseMutationRes
10238
10361
  }, unknown>;
10239
10362
  /** How many add-on blocks to keep from the next period (reductions only). */
10240
10363
  declare function useUpdateProjectNextPeriodAddons(): _tanstack_react_query.UseMutationResult<{
10241
- spend_limits_confirmation_required?: boolean | undefined;
10242
- checkout_pending?: boolean | undefined;
10243
10364
  external_id: string;
10244
10365
  name: string;
10245
10366
  created_by: string;
@@ -10264,6 +10385,8 @@ declare function useUpdateProjectNextPeriodAddons(): _tanstack_react_query.UseMu
10264
10385
  budget_reset_at?: number | null | undefined;
10265
10386
  };
10266
10387
  daily_cap_per_user?: number | null | undefined;
10388
+ spend_limits_confirmation_required: boolean;
10389
+ checkout_pending: boolean;
10267
10390
  budget?: {
10268
10391
  amount: number;
10269
10392
  currency: string;
@@ -10378,8 +10501,6 @@ declare function useUpdateProjectNextPeriodAddons(): _tanstack_react_query.UseMu
10378
10501
  }, unknown>;
10379
10502
  /** A Pro project's add-on settings: the auto top-up threshold and the monthly usage cap. */
10380
10503
  declare function useUpdateProjectAddonSettings(): _tanstack_react_query.UseMutationResult<{
10381
- spend_limits_confirmation_required?: boolean | undefined;
10382
- checkout_pending?: boolean | undefined;
10383
10504
  external_id: string;
10384
10505
  name: string;
10385
10506
  created_by: string;
@@ -10404,6 +10525,8 @@ declare function useUpdateProjectAddonSettings(): _tanstack_react_query.UseMutat
10404
10525
  budget_reset_at?: number | null | undefined;
10405
10526
  };
10406
10527
  daily_cap_per_user?: number | null | undefined;
10528
+ spend_limits_confirmation_required: boolean;
10529
+ checkout_pending: boolean;
10407
10530
  budget?: {
10408
10531
  amount: number;
10409
10532
  currency: string;
@@ -10519,8 +10642,6 @@ declare function useUpdateProjectAddonSettings(): _tanstack_react_query.UseMutat
10519
10642
 
10520
10643
  /** Confirm both spending limits atomically and refresh the project's shared state. */
10521
10644
  declare function useConfirmProjectSpendLimits(): _tanstack_react_query.UseMutationResult<{
10522
- spend_limits_confirmation_required?: boolean | undefined;
10523
- checkout_pending?: boolean | undefined;
10524
10645
  external_id: string;
10525
10646
  name: string;
10526
10647
  created_by: string;
@@ -10545,6 +10666,8 @@ declare function useConfirmProjectSpendLimits(): _tanstack_react_query.UseMutati
10545
10666
  budget_reset_at?: number | null | undefined;
10546
10667
  };
10547
10668
  daily_cap_per_user?: number | null | undefined;
10669
+ spend_limits_confirmation_required: boolean;
10670
+ checkout_pending: boolean;
10548
10671
  budget?: {
10549
10672
  amount: number;
10550
10673
  currency: string;
@@ -14270,6 +14393,13 @@ type NotificationTarget =
14270
14393
  kind: 'mail';
14271
14394
  draftId?: string;
14272
14395
  }
14396
+ /** A database, open at a row when given (an approval's request). */
14397
+ | {
14398
+ kind: 'database';
14399
+ workspaceId?: string;
14400
+ databaseId: string;
14401
+ rowId?: string;
14402
+ }
14273
14403
  /** The workflows page, on a workflow (in its workspace) when given. */
14274
14404
  | {
14275
14405
  kind: 'workflows';
@@ -16326,4 +16456,4 @@ declare function useRateSupportTicket(): _tanstack_react_query.UseMutationResult
16326
16456
  rating: SupportRating;
16327
16457
  }, unknown>;
16328
16458
 
16329
- export { AGENT_CONTROL_COMMANDS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ANALYTICS_CHART_VIEW, ARCHIVE_POLL_MS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, AUTO_SYNC_EVERY_MS, type AccessRequestPayload, type AccessRequestRecipient, type AccountClient, type AccountClientContextValue, type AccountHost, type AccountSession, type AccountSignOutOptions, ActiveCall, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type ActivitySourceLabels, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AgentControlMaps, AgentDmStatus, type AgentQuestionRef, type AgentRunControlState, type AggregateOp, AiAnswer, type AiRunOptions, type AiTaskStatus, type AnalyticsChartRequest, AppNotification, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, type ArbiChatActions, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatState, type ArbiChatStore, type ArbiChatStoreOptions, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDmTab, type ArbiDocumentCommentTarget, type ArbiDocumentSessionActions, type ArbiDocumentSessionState, type ArbiDocumentSessionStore, type ArbiDocumentSessionStoreOptions, type ArbiDocumentViewerState, type ArbiDocumentsPersist, type ArbiDraftDocument, type ArbiDraftKind, type ArbiDraftStorage, type ArbiFeature, type ArbiFeatures, type ArbiGridLayoutState, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiKeyValueStorage, type ArbiLayoutActions, type ArbiLayoutState, type ArbiLayoutStore, type ArbiLayoutStoreOptions, type ArbiMessageTimer, type ArbiPanelMode, type ArbiPanelsState, type ArbiPassageCitationState, type ArbiPickedPassage, type ArbiQueryClient, type ArbiQueryClientOptions, type ArbiQueryPersistOptions, type ArbiSavedChat, type ArbiSavedDocuments, type ArbiSavedLayout, type ArbiSessionParts, type ArbiSessionPersist, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiShellState, type ArbiSidebarState, type ArbiSignedInSession, type ArbiTabsState, type ArbiThreadComposer, type ArbiThreadTab, type ArbiThreadTabShow, type ArbiThreadTabView, type ArbiThreadTabsController, type ArbiThreadTabsState, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, type ArbiViewsState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceState, type ArbiWorkspaceStatus, type ArbiWorkspaceStorage, type ArbiWorkspaceStore, type ArbiWorkspaceStoreOptions, type ArbiWsHandlers, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOOT_GATE_TIMEOUT_MS, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, BUILTIN_DATA_SOURCES, type BranchNavigation, type BranchPoint, type BrowserWorkspaceStorageOptions, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarNotificationMeta, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallsHost, type ChartSpec, type ChartType, type ChatArrival, ChatBubble, type ChatBubbleProps, ChatMemberKey, type ChatPost, ChatResponse, type ChatSummary, ChatThreadMessage, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, type ConfigUpdate, type ControllingAgent, type ConversationActionsInput, type ConversationEvent, ConversationList, type ConversationListProps, ConversationScope, type ConversationScopeProps, type ConversationsSourceLabels, type CreateProjectVars, type CreateSkillPackOptions, type CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ACTIVITY_SOURCE_LABELS, DEFAULT_ASPECT_OPTIONS, DEFAULT_CONVERSATIONS_SOURCE_LABELS, DEFAULT_DATABASE_SOURCE_LABELS, DEFAULT_DOCUMENTS_SOURCE_LABELS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_FACTS_SOURCE_LABELS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_PROJECTS_SOURCE_LABELS, DEFAULT_TAGS_SOURCE_LABELS, DEFAULT_USAGE_BREAKDOWN_SOURCE_LABELS, DEFAULT_USAGE_SOURCE_LABELS, DEFAULT_WORKFLOWS_SOURCE_LABELS, DEFAULT_WORKSPACES_SOURCE_LABELS, DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DOCUMENT_VIEWER_PANEL, type DashboardSpec, type DashboardStore, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseDashboardStoreOptions, type DatabaseSourceLabels, type Dataset, type DatasetField, type DatasetFieldType, type DatasetFilter, type DatasetOrder, type DatasetQuery, type DatasetRow, type DatasetSort, type DatasetState, type DatasetValue, DateSeparator, type DateSeparatorProps, type DebouncedWriter, type DebouncedWriterOptions, type DefineSkillPackOptions, type DefinedSkillPack, type DeleteAccountBlocker, type DeleteAccountFlow, type DeletedDocument, type DeletedDocumentsPage, type DescribeCalendarNotificationOptions, type DescribeServerNotificationOptions, DictateContextValue, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, type DocumentHostActions, type DocumentPerson, DocumentReview, type DocumentReviewProps, type DocumentRowChange, type DocumentStartItem, type DocumentsSourceLabels, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_CHAT_STATE, EMPTY_DOCUMENT_STATE, EMPTY_GROUP_LABEL, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, EntitySize, EntityVocabulary, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FACTS_SEARCH_VIEW, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FactSearchHit, type FactsSearch, type FactsSearchState, type FactsSourceLabels, type FeatureEntitlements, type FeatureRefusal, type FeatureSource, type FeatureSwitch, type FilterOp, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, type GuidedStep, HostConfigRecord, HtmlIcon, IN_FLIGHT_DOCUMENT_STATUSES, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, IncomingCall, InlineMicButton, type InlineMicButtonProps, type InstallSkillPackVariables, JoinChoices, LIVE_UPDATE_TYPES, LinkedInIcon, type LiveTask, type LocalDraft, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_DASHBOARD_SPEC_CHARS, MAX_SERIES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MODEL_GROUP_LABELS, MUTED_DEDUPE_MS, type MailAccount, type MailAddress, type MailAttachment, type MailChange, type MailClient, type MailClientContextValue, type MailCompose, type MailConversation, type MailConversationPage, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFileRequest, type MailFiled, type MailFilingRule, type MailFilingState, type MailFolder, type MailHost, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MailThread, MeetingChatRef, MeetingChatTarget, MentionCandidate, type MessageArtifact, MessageArtifactCard, MessageMentionRef, type MessageTimerResult, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type ModeratedTrack, type MountDiditOptions, type NameEditor, type NativeMailFiling, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OUTBOX_FOLDER, type OfflineDocumentRecord, type OfflineMailReadsOptions, type OfflineMailRuntimeOptions, type OfflineMailScope, type OfflineMailSettings, type OfflineMailStatus, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, type OutboxItem, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PanelDatasetState, type PanelSpec, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PendingMailChange, type PendingSyncItem, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, PresIcon, type ProcessingTask, type ProfileView, type ProjectCreationRefusal, type ProjectsSourceLabels, type ProjectsSourceOptions, type QueuedCalendarWrite, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, REMOTE_CONTROL_VIEW, RUN_WINDOW_MS, type RawPending, type ReconnectOutcome, type RecordedChunk, type RecordingWindow, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoteControlMessage, type RemoteControlRequest, type RemoteControlSession, type RemoteControlState, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, type RowsSourceDefinition, type RowsState, SEGMENT_FRAME_MS, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SavedDashboard, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationBellOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type SkillPack, type SkillPackEntry, type SkillPackField, type SkillPackSkill, type SkillPackSkillDefinition, type StartTaskQuery, StorageActionError, type StorageActions, type StorageDeploymentUsage, type StorageItem, type StorageItemKind, type StorageItemState, type StorageItemsQuery, type StorageKindUsage, type StoragePersistOptions, type StorageProjectUsage, type StorageScope, type StorageSnapshot, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TRANSFER_POLL_MS, type TableView, type TableViewTable, type TagsSourceLabels, TaskThreadPendingError, type ThreadAccessors, ThreadBinding, type ThreadItem, type TimeBucket, type TimelinePart, type ToolResponses, type TrackCutter, type TrackPiece, type TranscriptExportLine, type TranscriptLineRef, type TranscriptSegmentMarker, type TransferConflictPolicy, type TransferKind, type TransferMode, type TransferPlan, type TransferScope, type TransferStatus, type TurnTarget, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UiStateStorage, type UnarchiveEstimate, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageBreakdownBy, type UsageBreakdownKey, type UsageBreakdownSourceLabels, type UsageSourceLabels, type UsageTotals, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseFactsSearchOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingFlag, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORKSPACE_LAST_OPENED_KEY, WORKSPACE_STORAGE_KEY, WORK_NOTIFICATION_LABELS, WORK_OFFLINE_VIEW, type WorkflowsSourceLabels, type WorkspaceArchive, type WorkspaceArchiveState, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceProcessing, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, type WorkspacesSourceLabels, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, adoptNewChatDocument, agentControl, aggregateDataset, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvents, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, assistantLabels, bindThreadDocument, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, calendarOfflineSupport, callLink, callNotificationMeta, captureFrameAsBlob, chatTranscriptRef, claimOfflineQueue, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, closePanelIn, commitFinalMessage, completeQueuedUserMessageByContent, composeArbiSessionStore, compositeFiles, compositeTrack, computeOnline, confirmLosingOfflineMail, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, conversationsPath, createActivitySource, createArbiChatStore, createArbiDocumentSessionStore, createArbiLayoutStore, createArbiQueryClient, createArbiSessionStore, createArbiWorkspaceStore, createBrowserStateStorage, createChunkedRecorder, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createFactsSource, createLocalFeatureStore, createMailClient, createMemoryDashboardStore, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTagsSource, createTrackCutter, createUiStateStorage, createUsageBreakdownSource, createUsageSource, createWorkflowsSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineRowsSource, defineSkillPack, deleteLocalDraft, deleteOutboxItem, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, documentMailAttachment, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, enqueueOutbox, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, flushDocumentForTurn, flushOnPageExit, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOfflineDocument, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, groupMailConversations, hasPendingFinalCommit, hasPendingMailChange, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isArchiveMoving, isCommentToPeople, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNetworkFailure, isNotificationRow, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTableViewOf, isTransferFinished, isTransferResumable, isUsageMetered, isWorkingOffline, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, loadOfflineDocument, loadAttachment as loadOfflineMailAttachment, mailConversationKey, mailDraftIdFromContent, mailJson, mailThreadRoot, markMessageAsFailed, markNarrationSettled, mergeHostConfig, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nativeThreadKeys, nextAliasSuggestion, nextViewingDocument, notificationUserName, offlineMailReads, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, panelPlace, parseActivityContent, parseDashboardSpec, parseDeleteAccountBlockers, parseSavedChat, parseSavedDocuments, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queueMailChange, queuedMessages, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, registerDocumentTurnFlush, remoteControlActions, remoteControlStateOf, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, restoreSavedDocuments, retryOutboxItem, rollbackOptimisticDocumentEdit, safePortalUrl, saveLocalDraft, saveRecordingFilesToThread, savedChatOf, savedDocumentsOf, savedLayoutOf, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, sendMailFile, serializeDashboardSpec, serverCallsExperimental, serverNotificationBellEntry, setCachedDocument, setMessageContent, setUserInputRequest, setWorkOfflineIn, settledByRows, signatureNotificationPhrase, signatureRequestMeta, skillPackPrompt, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, textToArtifact, threadBinding, threadEndingAtContains, threadPath, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toMailConversation, toNotificationPreferences, toProfileView, toRedlineMarkdown, toRemoteControlRequest, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantArrivals, useAssistantBrief, useAssistantQuery, useAssistantStatus, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOfflineRuntime, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanCreateWorkspaces, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConfirmProjectSpendLimits, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectedMailFiling, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationSearch, useConversationSettings, useConversationThreads, useConversationTurn, useConversationWorkspace, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateDatabase, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDashboardStore, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseDashboardStore, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDashboard, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureCheck, useFeatureSwitch, useFetchCalendarEvent, useFileWaitingNativeMail, useFinaliseTranslation, useFindTime, useFlushOutbox, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateAssistant, useInvalidateEntitlements, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, useInvalidateWorkflows, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useKeepDocumentsOffline, useLinkContact, useLinkMentions, useLocalDrafts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailConversations, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFiling, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailThread, useMailUnlock, useMailWorkspacePrimer, useMailboxFolders, useMailboxSyncProgress, useMarkArrivalWrong, useMarkChatRead, useMarkDocumentShared, useMarkMessageDraftSent, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMessageDetails, useMessageTimer, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNativeMailFiling, useNativeThreadKeys, useNotificationPreferences, useNotifications, useOfflineDocumentIds, useOfflineMailActive, useOfflineMailRuntime, useOfflineMailSettings, useOfflineMailStatus, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useOutbox, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingMailChanges, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingCache, useProjectBillingPortal, useProjectConversationUsage, useProjectCreationDenial, useProjectInvoices, useProjectUsage, useProjects, usePublishCalendar, useRateSupportTicket, useReadMailMessage, useReconnect, useRecordingActions, useRecordingWindows, useReferralSummary, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshDocuments, useRefreshProject, useRelatedDocuments, useRemoteControl, useRemoveChatMember, useRemoveDocTags, useRemoveDocumentsOffline, useRemoveModelConnection, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveDashboard, useSaveMailDraft, useSaveModelConnection, useSaveSkill, useSaveToThread, useSavedDashboards, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetNativeMailFiling, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStopMailFilingRule, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSupportTicket, useSupportTickets, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useSyncOfflineMailbox, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateAssistantBrief, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserDashboardStore, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkOffline, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, viewsOfTable, waitForResponseId, wipeCalendarOffline, wipeOfflineDocuments, wipeOfflineMail, withRelativePath, workflowRunTitle, workflowStepOf, workspaceHouseTemplateId, writeSamples };
16459
+ export { AGENT_CONTROL_COMMANDS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ANALYTICS_CHART_VIEW, ARCHIVE_POLL_MS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, AUTO_SYNC_EVERY_MS, type AccessRequestPayload, type AccessRequestRecipient, type AccountClient, type AccountClientContextValue, type AccountHost, type AccountSession, type AccountSignOutOptions, ActiveCall, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type ActivitySourceLabels, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AgentControlMaps, AgentDmStatus, type AgentQuestionRef, type AgentRunControlState, type AggregateOp, AiAnswer, type AiRunOptions, type AiTaskStatus, type AnalyticsChartRequest, AppNotification, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, type ArbiChatActions, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatState, type ArbiChatStore, type ArbiChatStoreOptions, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDmTab, type ArbiDocumentCommentTarget, type ArbiDocumentSessionActions, type ArbiDocumentSessionState, type ArbiDocumentSessionStore, type ArbiDocumentSessionStoreOptions, type ArbiDocumentViewerState, type ArbiDocumentsPersist, type ArbiDraftDocument, type ArbiDraftKind, type ArbiDraftStorage, type ArbiFeature, type ArbiFeatures, type ArbiGridLayoutState, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiKeyValueStorage, type ArbiLayoutActions, type ArbiLayoutState, type ArbiLayoutStore, type ArbiLayoutStoreOptions, type ArbiMessageTimer, type ArbiPanelMode, type ArbiPanelsState, type ArbiPassageCitationState, type ArbiPickedPassage, type ArbiQueryClient, type ArbiQueryClientOptions, type ArbiQueryPersistOptions, type ArbiSavedChat, type ArbiSavedDocuments, type ArbiSavedLayout, type ArbiSessionParts, type ArbiSessionPersist, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiShellState, type ArbiSidebarState, type ArbiSignedInSession, type ArbiTabsState, type ArbiThreadComposer, type ArbiThreadTab, type ArbiThreadTabShow, type ArbiThreadTabView, type ArbiThreadTabsController, type ArbiThreadTabsState, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, type ArbiViewsState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceState, type ArbiWorkspaceStatus, type ArbiWorkspaceStorage, type ArbiWorkspaceStore, type ArbiWorkspaceStoreOptions, type ArbiWsHandlers, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOOT_GATE_TIMEOUT_MS, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, BUILTIN_DATA_SOURCES, type BranchNavigation, type BranchPoint, type BrowserWorkspaceStorageOptions, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarNotificationMeta, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallsHost, type ChartSpec, type ChartType, type ChatArrival, ChatBubble, type ChatBubbleProps, ChatMemberKey, type ChatPost, ChatResponse, type ChatSummary, ChatThreadMessage, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, type ConfigUpdate, type ControllingAgent, type ConversationActionsInput, type ConversationEvent, ConversationList, type ConversationListProps, ConversationScope, type ConversationScopeProps, type ConversationsSourceLabels, type CreateProjectVars, type CreateSkillPackOptions, type CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASES_OPEN_VIEW, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ACTIVITY_SOURCE_LABELS, DEFAULT_ASPECT_OPTIONS, DEFAULT_CONVERSATIONS_SOURCE_LABELS, DEFAULT_DATABASE_SOURCE_LABELS, DEFAULT_DOCUMENTS_SOURCE_LABELS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_FACTS_SOURCE_LABELS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_PROJECTS_SOURCE_LABELS, DEFAULT_TAGS_SOURCE_LABELS, DEFAULT_USAGE_BREAKDOWN_SOURCE_LABELS, DEFAULT_USAGE_SOURCE_LABELS, DEFAULT_WORKFLOWS_SOURCE_LABELS, DEFAULT_WORKSPACES_SOURCE_LABELS, DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DOCUMENT_VIEWER_PANEL, type DashboardSpec, type DashboardStore, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseDashboardStoreOptions, type DatabaseOpenRequest, type DatabaseSourceLabels, type Dataset, type DatasetField, type DatasetFieldType, type DatasetFilter, type DatasetOrder, type DatasetQuery, type DatasetRow, type DatasetSort, type DatasetState, type DatasetValue, DateSeparator, type DateSeparatorProps, type DebouncedWriter, type DebouncedWriterOptions, type DefineSkillPackOptions, type DefinedSkillPack, type DeleteAccountBlocker, type DeleteAccountFlow, type DeletedDocument, type DeletedDocumentsPage, type DescribeCalendarNotificationOptions, type DescribeServerNotificationOptions, DictateContextValue, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, type DocumentHostActions, type DocumentPerson, DocumentReview, type DocumentReviewProps, type DocumentRowChange, type DocumentStartItem, type DocumentsSourceLabels, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_CHAT_STATE, EMPTY_DOCUMENT_STATE, EMPTY_GROUP_LABEL, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, EntitySize, EntityVocabulary, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FACTS_SEARCH_VIEW, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FactSearchHit, type FactsSearch, type FactsSearchState, type FactsSourceLabels, type FeatureEntitlements, type FeatureRefusal, type FeatureSource, type FeatureSwitch, type FilterOp, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, type GuidedStep, HostConfigRecord, HtmlIcon, IN_FLIGHT_DOCUMENT_STATUSES, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, IncomingCall, InlineMicButton, type InlineMicButtonProps, type InstallSkillPackVariables, JoinChoices, LIVE_UPDATE_TYPES, LinkedInIcon, type LiveTask, type LocalDraft, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_DASHBOARD_SPEC_CHARS, MAX_SERIES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MODEL_GROUP_LABELS, MUTED_DEDUPE_MS, type MailAccount, type MailAddress, type MailAttachment, type MailChange, type MailClient, type MailClientContextValue, type MailCompose, type MailConversation, type MailConversationPage, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFileRequest, type MailFiled, type MailFilingRule, type MailFilingState, type MailFolder, type MailHost, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MailThread, MeetingChatRef, MeetingChatTarget, MentionCandidate, type MessageArtifact, MessageArtifactCard, MessageMentionRef, type MessageTimerResult, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type ModeratedTrack, type MountDiditOptions, type NameEditor, type NativeMailFiling, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OUTBOX_FOLDER, type OfflineDocumentRecord, type OfflineMailReadsOptions, type OfflineMailRuntimeOptions, type OfflineMailScope, type OfflineMailSettings, type OfflineMailStatus, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, type OutboxItem, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PanelDatasetState, type PanelSpec, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PendingMailChange, type PendingSyncItem, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, PresIcon, type ProcessingTask, type ProfileView, type ProjectCreationRefusal, type ProjectsSourceLabels, type ProjectsSourceOptions, type QueuedCalendarWrite, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, REMOTE_CONTROL_VIEW, RUN_WINDOW_MS, type RawPending, type ReconnectOutcome, type RecordedChunk, type RecordingWindow, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoteControlMessage, type RemoteControlRequest, type RemoteControlSession, type RemoteControlState, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, type RowsSourceDefinition, type RowsState, SEGMENT_FRAME_MS, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SavedDashboard, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationBellOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type SkillPack, type SkillPackEntry, type SkillPackField, type SkillPackSkill, type SkillPackSkillDefinition, type StartTaskQuery, StorageActionError, type StorageActions, type StorageDeploymentUsage, type StorageItem, type StorageItemKind, type StorageItemState, type StorageItemsQuery, type StorageKindUsage, type StoragePersistOptions, type StorageProjectUsage, type StorageScope, type StorageSnapshot, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TRANSFER_POLL_MS, type TableView, type TableViewTable, type TagsSourceLabels, TaskThreadPendingError, type ThreadAccessors, ThreadBinding, type ThreadItem, type TimeBucket, type TimelinePart, type ToolResponses, type TrackCutter, type TrackPiece, type TranscriptExportLine, type TranscriptLineRef, type TranscriptSegmentMarker, type TransferConflictPolicy, type TransferKind, type TransferMode, type TransferPlan, type TransferScope, type TransferStatus, type TurnTarget, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UiStateStorage, type UnarchiveEstimate, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageBreakdownBy, type UsageBreakdownKey, type UsageBreakdownSourceLabels, type UsageSourceLabels, type UsageTotals, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseFactsSearchOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingFlag, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORKSPACE_LAST_OPENED_KEY, WORKSPACE_STORAGE_KEY, WORK_NOTIFICATION_LABELS, WORK_OFFLINE_VIEW, type WorkflowsSourceLabels, type WorkspaceArchive, type WorkspaceArchiveState, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceProcessing, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, type WorkspacesSourceLabels, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, adoptNewChatDocument, agentControl, aggregateDataset, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvents, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, assistantLabels, bindThreadDocument, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, calendarOfflineSupport, callLink, callNotificationMeta, captureFrameAsBlob, chatTranscriptRef, claimOfflineQueue, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, closePanelIn, commitFinalMessage, completeQueuedUserMessageByContent, composeArbiSessionStore, compositeFiles, compositeTrack, computeOnline, confirmLosingOfflineMail, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, conversationsPath, createActivitySource, createArbiChatStore, createArbiDocumentSessionStore, createArbiLayoutStore, createArbiQueryClient, createArbiSessionStore, createArbiWorkspaceStore, createBrowserStateStorage, createChunkedRecorder, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createFactsSource, createLocalFeatureStore, createMailClient, createMemoryDashboardStore, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTagsSource, createTrackCutter, createUiStateStorage, createUsageBreakdownSource, createUsageSource, createWorkflowsSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineRowsSource, defineSkillPack, deleteLocalDraft, deleteOutboxItem, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, documentMailAttachment, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, enqueueOutbox, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, flushDocumentForTurn, flushOnPageExit, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOfflineDocument, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, groupMailConversations, hasPendingFinalCommit, hasPendingMailChange, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isArchiveMoving, isCommentToPeople, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNetworkFailure, isNotificationRow, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTableViewOf, isTransferFinished, isTransferResumable, isUsageMetered, isWorkingOffline, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, loadOfflineDocument, loadAttachment as loadOfflineMailAttachment, mailConversationKey, mailDraftIdFromContent, mailJson, mailThreadRoot, markMessageAsFailed, markNarrationSettled, mergeHostConfig, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nativeThreadKeys, nextAliasSuggestion, nextViewingDocument, notificationUserName, offlineMailReads, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, panelPlace, parseActivityContent, parseDashboardSpec, parseDeleteAccountBlockers, parseSavedChat, parseSavedDocuments, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queueMailChange, queuedMessages, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, registerDocumentTurnFlush, remoteControlActions, remoteControlStateOf, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, restoreSavedDocuments, retryOutboxItem, rollbackOptimisticDocumentEdit, safePortalUrl, saveLocalDraft, saveRecordingFilesToThread, savedChatOf, savedDocumentsOf, savedLayoutOf, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, sendMailFile, serializeDashboardSpec, serverCallsExperimental, serverNotificationBellEntry, setCachedDocument, setMessageContent, setUserInputRequest, setWorkOfflineIn, settledByRows, signatureNotificationPhrase, signatureRequestMeta, skillPackPrompt, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, textToArtifact, threadBinding, threadEndingAtContains, threadPath, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toMailConversation, toNotificationPreferences, toProfileView, toRedlineMarkdown, toRemoteControlRequest, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantArrivals, useAssistantBrief, useAssistantQuery, useAssistantStatus, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOfflineRuntime, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanCreateWorkspaces, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConfirmProjectSpendLimits, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectedMailFiling, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationSearch, useConversationSettings, useConversationThreads, useConversationTurn, useConversationWorkspace, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateDatabase, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDashboardStore, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseDashboardStore, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDashboard, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureCheck, useFeatureSwitch, useFetchCalendarEvent, useFileWaitingNativeMail, useFinaliseTranslation, useFindTime, useFlushOutbox, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateAssistant, useInvalidateEntitlements, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, useInvalidateWorkflows, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useKeepDocumentsOffline, useLinkContact, useLinkMentions, useLocalDrafts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailConversations, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFiling, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailThread, useMailUnlock, useMailWorkspacePrimer, useMailboxFolders, useMailboxSyncProgress, useMarkArrivalWrong, useMarkChatRead, useMarkDocumentShared, useMarkMessageDraftSent, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMessageDetails, useMessageTimer, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNativeMailFiling, useNativeThreadKeys, useNotificationPreferences, useNotifications, useOfflineDocumentIds, useOfflineMailActive, useOfflineMailRuntime, useOfflineMailSettings, useOfflineMailStatus, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useOutbox, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingMailChanges, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingCache, useProjectBillingPortal, useProjectConversationUsage, useProjectCreationDenial, useProjectInvoices, useProjectUsage, useProjects, usePublishCalendar, useRateSupportTicket, useReadMailMessage, useReconnect, useRecordingActions, useRecordingWindows, useReferralSummary, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshDocuments, useRefreshProject, useRelatedDocuments, useRemoteControl, useRemoveChatMember, useRemoveDocTags, useRemoveDocumentsOffline, useRemoveModelConnection, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveDashboard, useSaveMailDraft, useSaveModelConnection, useSaveSkill, useSaveToThread, useSavedDashboards, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetNativeMailFiling, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShareDatabaseRow, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStopMailFilingRule, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSupportTicket, useSupportTickets, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useSyncOfflineMailbox, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateAssistantBrief, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserDashboardStore, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkOffline, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, viewsOfTable, waitForResponseId, wipeCalendarOffline, wipeOfflineDocuments, wipeOfflineMail, withRelativePath, workflowRunTitle, workflowStepOf, workspaceHouseTemplateId, writeSamples };
@@ -9,6 +9,7 @@ import {
9
9
  MessageCircleMore,
10
10
  PartyPopper,
11
11
  PenLine,
12
+ Stamp,
12
13
  Reply,
13
14
  UserCheck,
14
15
  UserPlus
@@ -44,6 +45,10 @@ function getNotificationTypeMeta(type) {
44
45
  return { Icon: PenLine, iconClassName: "text-green-600", label: "Signed" };
45
46
  case "signature_declined":
46
47
  return { Icon: PenLine, iconClassName: "text-orange-500", label: "Declined" };
48
+ case "database_row_submitted":
49
+ return { Icon: Stamp, iconClassName: "text-primary", label: "Approval" };
50
+ case "database_row_decided":
51
+ return { Icon: Stamp, iconClassName: "text-green-600", label: "Decision" };
47
52
  case "thread_reply":
48
53
  return { Icon: Reply, iconClassName: "text-primary", label: "Reply" };
49
54
  case "document_activity":
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/notifications/notification-types.ts"],
4
- "sourcesContent": ["/**\n * Notification-type presentation primitives \u2014 the brand-neutral icon, colour and\n * label maps for every `NotificationType`, plus the workspace-membership phrasing\n * helpers. Kept in their own module (not a component file) so both the monolith's\n * AG-Grid notification centre and lightweight consumers (e.g. clarum's activity\n * feed) share one source of truth for \"what does this notification type mean\",\n * and so component files stay fast-refresh friendly.\n *\n * Deliberately decoupled: no store, no app `@/` imports \u2014 just lucide icon\n * components + semantic Tailwind token class names. Callers render the icon\n * themselves (`<Icon className={iconClassName} />`).\n */\n\nimport {\n Activity,\n AtSign,\n FileText,\n Gauge,\n Gift,\n HardDrive,\n Info,\n MessageCircleMore,\n PartyPopper,\n PenLine,\n Reply,\n UserCheck,\n UserPlus,\n} from 'lucide-react'\nimport { getEntityIcon, type EntityIconComponent } from '../entities/registry'\n\n/** Icon component, its colour class, and a short human label for a notification type. */\nexport interface NotificationTypeMeta {\n Icon: EntityIconComponent\n /** Semantic Tailwind colour class for the glyph. */\n iconClassName: string\n /** Short category label (e.g. \"Added\", \"Usage 90%\"). */\n label: string\n}\n\n/**\n * Resolve the icon + colour + short label for a notification type.\n *\n * Workspace-membership events all share the workspace glyph \u2014 the specific role\n * lives in the Event sentence (see {@link getWorkspaceSentPhrase}), so the label\n * stays short (\"Added\", not \"Added as collaborator\"). Unknown types fall back to\n * an info glyph and the raw type string.\n */\nexport function getNotificationTypeMeta(type: string | null | undefined): NotificationTypeMeta {\n // Resolve the workspace glyph live (not at module load) so a deployment's\n // configureEntityRegistry() injection is always reflected, regardless of import order.\n const WorkspaceIcon = getEntityIcon('WORKSPACE') as EntityIconComponent\n switch (type) {\n case 'support_ticket_received':\n case 'support_ticket_reviewed':\n case 'support_ticket_resolved':\n return { Icon: MessageCircleMore, iconClassName: 'text-primary', label: 'Support' }\n case 'agent_input_requested':\n return { Icon: MessageCircleMore, iconClassName: 'text-primary', label: 'Input needed' }\n case 'workspaceuser_added_owner':\n case 'workspaceuser_added_collaborator':\n case 'workspaceuser_added_guest':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Added' }\n case 'workspaceuser_removed':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Removed' }\n case 'workspaceuser_updated_owner':\n case 'workspaceuser_updated_collaborator':\n case 'workspaceuser_updated_guest':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Role changed' }\n case 'docx_mention':\n case 'mention':\n return { Icon: AtSign, iconClassName: 'text-primary', label: 'Mention' }\n case 'file_shared':\n return { Icon: FileText, iconClassName: 'text-primary', label: 'Shared file' }\n case 'signature_requested':\n return { Icon: PenLine, iconClassName: 'text-primary', label: 'Signature' }\n case 'signature_completed':\n return { Icon: PenLine, iconClassName: 'text-green-600', label: 'Signed' }\n case 'signature_declined':\n return { Icon: PenLine, iconClassName: 'text-orange-500', label: 'Declined' }\n case 'thread_reply':\n return { Icon: Reply, iconClassName: 'text-primary', label: 'Reply' }\n case 'document_activity':\n return { Icon: FileText, iconClassName: 'text-primary', label: 'Document' }\n case 'contact_accepted':\n return { Icon: UserCheck, iconClassName: 'text-green-500', label: 'Invitation' }\n case 'deployment_user_invited':\n case 'deployment_user_registered':\n return { Icon: UserPlus, iconClassName: 'text-primary', label: 'Users' }\n case 'signup_reward':\n return { Icon: PartyPopper, iconClassName: 'text-green-600', label: 'Signup bonus' }\n case 'referral_reward':\n return { Icon: Gift, iconClassName: 'text-green-600', label: 'Reward earned' }\n case 'project_quota_warning':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Usage warning' }\n case 'project_retention':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Project retention' }\n case 'quota_threshold_50':\n return { Icon: Gauge, iconClassName: 'text-blue-500', label: 'Usage 50%' }\n case 'quota_threshold_90':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Usage 90%' }\n case 'quota_threshold_100':\n return { Icon: Gauge, iconClassName: 'text-red-500', label: 'Usage limit' }\n case 'storage_quota_exceeded':\n return { Icon: HardDrive, iconClassName: 'text-red-500', label: 'Storage full' }\n case 'activity':\n // Durable to-self activity line \u2014 the specific event lives in `content`.\n // Callers that have the content should prefer describeActivity() for a\n // precise glyph/label; this is the type-only fallback.\n return { Icon: Activity, iconClassName: 'text-muted-foreground', label: 'Activity' }\n default:\n return { Icon: Info, iconClassName: 'text-blue-500', label: type || 'Notification' }\n }\n}\n\n/** Whether a notification type is a workspace-membership event. */\nexport function isWorkspaceNotificationType(type: string): boolean {\n return type.startsWith('workspaceuser_')\n}\n\n/**\n * Recipient-perspective action text (\"you received\"). Renders after the sender\n * pill: \"[sender] added you as collaborator\". The workspace renders in its own\n * column, so there's no trailing preposition.\n */\nexport function getWorkspaceActionText(type: string): string {\n switch (type) {\n case 'workspaceuser_added_owner':\n return 'added you as owner'\n case 'workspaceuser_added_collaborator':\n return 'added you as collaborator'\n case 'workspaceuser_added_guest':\n return 'added you as a viewer'\n case 'workspaceuser_removed':\n return 'removed you'\n case 'workspaceuser_updated_owner':\n return 'changed your role to owner'\n case 'workspaceuser_updated_collaborator':\n return 'changed your role to collaborator'\n case 'workspaceuser_updated_guest':\n return 'changed your role to viewer'\n default:\n return 'updated your access'\n }\n}\n\n/**\n * Sender-perspective phrasing (\"you did this\"). Renders around the affected\n * member pill \u2014 `{before} [member] {after}` \u2014 so it reads as an active sentence:\n * \"You added [Jane] as collaborator\" rather than the ambiguous \"Added as\n * collaborator: Jane\".\n */\nexport function getWorkspaceSentPhrase(type: string): { before: string; after: string } {\n switch (type) {\n case 'workspaceuser_added_owner':\n return { before: 'You added', after: 'as owner' }\n case 'workspaceuser_added_collaborator':\n return { before: 'You added', after: 'as collaborator' }\n case 'workspaceuser_added_guest':\n return { before: 'You added', after: 'as a viewer' }\n case 'workspaceuser_removed':\n return { before: 'You removed', after: '' }\n case 'workspaceuser_updated_owner':\n return { before: 'You set', after: 'as owner' }\n case 'workspaceuser_updated_collaborator':\n return { before: 'You set', after: 'as collaborator' }\n case 'workspaceuser_updated_guest':\n return { before: 'You set', after: 'as a viewer' }\n default:\n return { before: 'You updated access for', after: '' }\n }\n}\n"],
5
- "mappings": "AAaA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,qBAA+C;AAmBjD,SAAS,wBAAwB,MAAuD;AAG7F,QAAM,gBAAgB,cAAc,WAAW;AAC/C,UAAQ,MAAM;AAAA,IACZ,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO,EAAE,MAAM,mBAAmB,eAAe,gBAAgB,OAAO,UAAU;AAAA,IACpF,KAAK;AACH,aAAO,EAAE,MAAM,mBAAmB,eAAe,gBAAgB,OAAO,eAAe;AAAA,IACzF,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO,EAAE,MAAM,eAAe,eAAe,gBAAgB,OAAO,QAAQ;AAAA,IAC9E,KAAK;AACH,aAAO,EAAE,MAAM,eAAe,eAAe,gBAAgB,OAAO,UAAU;AAAA,IAChF,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO,EAAE,MAAM,eAAe,eAAe,gBAAgB,OAAO,eAAe;AAAA,IACrF,KAAK;AAAA,IACL,KAAK;AACH,aAAO,EAAE,MAAM,QAAQ,eAAe,gBAAgB,OAAO,UAAU;AAAA,IACzE,KAAK;AACH,aAAO,EAAE,MAAM,UAAU,eAAe,gBAAgB,OAAO,cAAc;AAAA,IAC/E,KAAK;AACH,aAAO,EAAE,MAAM,SAAS,eAAe,gBAAgB,OAAO,YAAY;AAAA,IAC5E,KAAK;AACH,aAAO,EAAE,MAAM,SAAS,eAAe,kBAAkB,OAAO,SAAS;AAAA,IAC3E,KAAK;AACH,aAAO,EAAE,MAAM,SAAS,eAAe,mBAAmB,OAAO,WAAW;AAAA,IAC9E,KAAK;AACH,aAAO,EAAE,MAAM,OAAO,eAAe,gBAAgB,OAAO,QAAQ;AAAA,IACtE,KAAK;AACH,aAAO,EAAE,MAAM,UAAU,eAAe,gBAAgB,OAAO,WAAW;AAAA,IAC5E,KAAK;AACH,aAAO,EAAE,MAAM,WAAW,eAAe,kBAAkB,OAAO,aAAa;AAAA,IACjF,KAAK;AAAA,IACL,KAAK;AACH,aAAO,EAAE,MAAM,UAAU,eAAe,gBAAgB,OAAO,QAAQ;AAAA,IACzE,KAAK;AACH,aAAO,EAAE,MAAM,aAAa,eAAe,kBAAkB,OAAO,eAAe;AAAA,IACrF,KAAK;AACH,aAAO,EAAE,MAAM,MAAM,eAAe,kBAAkB,OAAO,gBAAgB;AAAA,IAC/E,KAAK;AACH,aAAO,EAAE,MAAM,OAAO,eAAe,mBAAmB,OAAO,gBAAgB;AAAA,IACjF,KAAK;AACH,aAAO,EAAE,MAAM,OAAO,eAAe,mBAAmB,OAAO,oBAAoB;AAAA,IACrF,KAAK;AACH,aAAO,EAAE,MAAM,OAAO,eAAe,iBAAiB,OAAO,YAAY;AAAA,IAC3E,KAAK;AACH,aAAO,EAAE,MAAM,OAAO,eAAe,mBAAmB,OAAO,YAAY;AAAA,IAC7E,KAAK;AACH,aAAO,EAAE,MAAM,OAAO,eAAe,gBAAgB,OAAO,cAAc;AAAA,IAC5E,KAAK;AACH,aAAO,EAAE,MAAM,WAAW,eAAe,gBAAgB,OAAO,eAAe;AAAA,IACjF,KAAK;AAIH,aAAO,EAAE,MAAM,UAAU,eAAe,yBAAyB,OAAO,WAAW;AAAA,IACrF;AACE,aAAO,EAAE,MAAM,MAAM,eAAe,iBAAiB,OAAO,QAAQ,eAAe;AAAA,EACvF;AACF;AAGO,SAAS,4BAA4B,MAAuB;AACjE,SAAO,KAAK,WAAW,gBAAgB;AACzC;AAOO,SAAS,uBAAuB,MAAsB;AAC3D,UAAQ,MAAM;AAAA,IACZ,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAQO,SAAS,uBAAuB,MAAiD;AACtF,UAAQ,MAAM;AAAA,IACZ,KAAK;AACH,aAAO,EAAE,QAAQ,aAAa,OAAO,WAAW;AAAA,IAClD,KAAK;AACH,aAAO,EAAE,QAAQ,aAAa,OAAO,kBAAkB;AAAA,IACzD,KAAK;AACH,aAAO,EAAE,QAAQ,aAAa,OAAO,cAAc;AAAA,IACrD,KAAK;AACH,aAAO,EAAE,QAAQ,eAAe,OAAO,GAAG;AAAA,IAC5C,KAAK;AACH,aAAO,EAAE,QAAQ,WAAW,OAAO,WAAW;AAAA,IAChD,KAAK;AACH,aAAO,EAAE,QAAQ,WAAW,OAAO,kBAAkB;AAAA,IACvD,KAAK;AACH,aAAO,EAAE,QAAQ,WAAW,OAAO,cAAc;AAAA,IACnD;AACE,aAAO,EAAE,QAAQ,0BAA0B,OAAO,GAAG;AAAA,EACzD;AACF;",
4
+ "sourcesContent": ["/**\n * Notification-type presentation primitives \u2014 the brand-neutral icon, colour and\n * label maps for every `NotificationType`, plus the workspace-membership phrasing\n * helpers. Kept in their own module (not a component file) so both the monolith's\n * AG-Grid notification centre and lightweight consumers (e.g. clarum's activity\n * feed) share one source of truth for \"what does this notification type mean\",\n * and so component files stay fast-refresh friendly.\n *\n * Deliberately decoupled: no store, no app `@/` imports \u2014 just lucide icon\n * components + semantic Tailwind token class names. Callers render the icon\n * themselves (`<Icon className={iconClassName} />`).\n */\n\nimport {\n Activity,\n AtSign,\n FileText,\n Gauge,\n Gift,\n HardDrive,\n Info,\n MessageCircleMore,\n PartyPopper,\n PenLine,\n Stamp,\n Reply,\n UserCheck,\n UserPlus,\n} from 'lucide-react'\nimport { getEntityIcon, type EntityIconComponent } from '../entities/registry'\n\n/** Icon component, its colour class, and a short human label for a notification type. */\nexport interface NotificationTypeMeta {\n Icon: EntityIconComponent\n /** Semantic Tailwind colour class for the glyph. */\n iconClassName: string\n /** Short category label (e.g. \"Added\", \"Usage 90%\"). */\n label: string\n}\n\n/**\n * Resolve the icon + colour + short label for a notification type.\n *\n * Workspace-membership events all share the workspace glyph \u2014 the specific role\n * lives in the Event sentence (see {@link getWorkspaceSentPhrase}), so the label\n * stays short (\"Added\", not \"Added as collaborator\"). Unknown types fall back to\n * an info glyph and the raw type string.\n */\nexport function getNotificationTypeMeta(type: string | null | undefined): NotificationTypeMeta {\n // Resolve the workspace glyph live (not at module load) so a deployment's\n // configureEntityRegistry() injection is always reflected, regardless of import order.\n const WorkspaceIcon = getEntityIcon('WORKSPACE') as EntityIconComponent\n switch (type) {\n case 'support_ticket_received':\n case 'support_ticket_reviewed':\n case 'support_ticket_resolved':\n return { Icon: MessageCircleMore, iconClassName: 'text-primary', label: 'Support' }\n case 'agent_input_requested':\n return { Icon: MessageCircleMore, iconClassName: 'text-primary', label: 'Input needed' }\n case 'workspaceuser_added_owner':\n case 'workspaceuser_added_collaborator':\n case 'workspaceuser_added_guest':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Added' }\n case 'workspaceuser_removed':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Removed' }\n case 'workspaceuser_updated_owner':\n case 'workspaceuser_updated_collaborator':\n case 'workspaceuser_updated_guest':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Role changed' }\n case 'docx_mention':\n case 'mention':\n return { Icon: AtSign, iconClassName: 'text-primary', label: 'Mention' }\n case 'file_shared':\n return { Icon: FileText, iconClassName: 'text-primary', label: 'Shared file' }\n case 'signature_requested':\n return { Icon: PenLine, iconClassName: 'text-primary', label: 'Signature' }\n case 'signature_completed':\n return { Icon: PenLine, iconClassName: 'text-green-600', label: 'Signed' }\n case 'signature_declined':\n return { Icon: PenLine, iconClassName: 'text-orange-500', label: 'Declined' }\n case 'database_row_submitted':\n return { Icon: Stamp, iconClassName: 'text-primary', label: 'Approval' }\n case 'database_row_decided':\n return { Icon: Stamp, iconClassName: 'text-green-600', label: 'Decision' }\n case 'thread_reply':\n return { Icon: Reply, iconClassName: 'text-primary', label: 'Reply' }\n case 'document_activity':\n return { Icon: FileText, iconClassName: 'text-primary', label: 'Document' }\n case 'contact_accepted':\n return { Icon: UserCheck, iconClassName: 'text-green-500', label: 'Invitation' }\n case 'deployment_user_invited':\n case 'deployment_user_registered':\n return { Icon: UserPlus, iconClassName: 'text-primary', label: 'Users' }\n case 'signup_reward':\n return { Icon: PartyPopper, iconClassName: 'text-green-600', label: 'Signup bonus' }\n case 'referral_reward':\n return { Icon: Gift, iconClassName: 'text-green-600', label: 'Reward earned' }\n case 'project_quota_warning':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Usage warning' }\n case 'project_retention':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Project retention' }\n case 'quota_threshold_50':\n return { Icon: Gauge, iconClassName: 'text-blue-500', label: 'Usage 50%' }\n case 'quota_threshold_90':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Usage 90%' }\n case 'quota_threshold_100':\n return { Icon: Gauge, iconClassName: 'text-red-500', label: 'Usage limit' }\n case 'storage_quota_exceeded':\n return { Icon: HardDrive, iconClassName: 'text-red-500', label: 'Storage full' }\n case 'activity':\n // Durable to-self activity line \u2014 the specific event lives in `content`.\n // Callers that have the content should prefer describeActivity() for a\n // precise glyph/label; this is the type-only fallback.\n return { Icon: Activity, iconClassName: 'text-muted-foreground', label: 'Activity' }\n default:\n return { Icon: Info, iconClassName: 'text-blue-500', label: type || 'Notification' }\n }\n}\n\n/** Whether a notification type is a workspace-membership event. */\nexport function isWorkspaceNotificationType(type: string): boolean {\n return type.startsWith('workspaceuser_')\n}\n\n/**\n * Recipient-perspective action text (\"you received\"). Renders after the sender\n * pill: \"[sender] added you as collaborator\". The workspace renders in its own\n * column, so there's no trailing preposition.\n */\nexport function getWorkspaceActionText(type: string): string {\n switch (type) {\n case 'workspaceuser_added_owner':\n return 'added you as owner'\n case 'workspaceuser_added_collaborator':\n return 'added you as collaborator'\n case 'workspaceuser_added_guest':\n return 'added you as a viewer'\n case 'workspaceuser_removed':\n return 'removed you'\n case 'workspaceuser_updated_owner':\n return 'changed your role to owner'\n case 'workspaceuser_updated_collaborator':\n return 'changed your role to collaborator'\n case 'workspaceuser_updated_guest':\n return 'changed your role to viewer'\n default:\n return 'updated your access'\n }\n}\n\n/**\n * Sender-perspective phrasing (\"you did this\"). Renders around the affected\n * member pill \u2014 `{before} [member] {after}` \u2014 so it reads as an active sentence:\n * \"You added [Jane] as collaborator\" rather than the ambiguous \"Added as\n * collaborator: Jane\".\n */\nexport function getWorkspaceSentPhrase(type: string): { before: string; after: string } {\n switch (type) {\n case 'workspaceuser_added_owner':\n return { before: 'You added', after: 'as owner' }\n case 'workspaceuser_added_collaborator':\n return { before: 'You added', after: 'as collaborator' }\n case 'workspaceuser_added_guest':\n return { before: 'You added', after: 'as a viewer' }\n case 'workspaceuser_removed':\n return { before: 'You removed', after: '' }\n case 'workspaceuser_updated_owner':\n return { before: 'You set', after: 'as owner' }\n case 'workspaceuser_updated_collaborator':\n return { before: 'You set', after: 'as collaborator' }\n case 'workspaceuser_updated_guest':\n return { before: 'You set', after: 'as a viewer' }\n default:\n return { before: 'You updated access for', after: '' }\n }\n}\n"],
5
+ "mappings": "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",
6
6
  "names": []
7
7
  }