@elevasis/ui 2.69.0 → 2.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/app/index.d.ts +26 -0
  2. package/dist/app/index.js +7 -7
  3. package/dist/auth/index.css +149 -149
  4. package/dist/auth/index.js +3 -3
  5. package/dist/charts/index.css +208 -208
  6. package/dist/charts/index.js +3 -3
  7. package/dist/{chunk-6PZFOHJK.js → chunk-3BLYJT5L.js} +2 -2
  8. package/dist/{chunk-IT7GTJCB.js → chunk-AIOV5NM7.js} +1 -1
  9. package/dist/{chunk-MRVGQLWN.js → chunk-BM2WKRAQ.js} +1 -1
  10. package/dist/{chunk-XAZR3T6Y.js → chunk-CPBT6Z2G.js} +3 -3
  11. package/dist/{chunk-XQ3ILKYN.js → chunk-DCMFNSJ6.js} +1 -1
  12. package/dist/{chunk-NU3NBXHP.js → chunk-DH2MO5DX.js} +1 -1
  13. package/dist/{chunk-ZD6LM53O.js → chunk-H3SDGC5F.js} +2 -2
  14. package/dist/{chunk-YGCMMOY4.js → chunk-JTSNU6KA.js} +695 -73
  15. package/dist/{chunk-7WJEPTE7.js → chunk-LL5H7J4N.js} +1 -1
  16. package/dist/{chunk-FLECOYUS.js → chunk-R6NMRXNO.js} +1 -1
  17. package/dist/{chunk-MFLM7BVC.js → chunk-TB2PM2OU.js} +1 -1
  18. package/dist/{chunk-IRV6KJPV.js → chunk-TCQZ4AJI.js} +1 -1
  19. package/dist/{chunk-YNRYIXUT.js → chunk-TVFSVTRG.js} +6 -6
  20. package/dist/{chunk-WXHAHKKI.js → chunk-UZ7MSORW.js} +16291 -16029
  21. package/dist/{chunk-RW64UJWT.js → chunk-VHPHWTX7.js} +2 -2
  22. package/dist/{chunk-YCRINA2D.js → chunk-VRRIHA3S.js} +1 -1
  23. package/dist/{chunk-4JHLS234.js → chunk-ZFISGKYW.js} +1 -1
  24. package/dist/components/index.css +208 -208
  25. package/dist/components/index.d.ts +59 -3
  26. package/dist/components/index.js +24 -25
  27. package/dist/components/navigation/index.css +149 -149
  28. package/dist/components/navigation/index.js +4 -4
  29. package/dist/features/auth/index.css +149 -149
  30. package/dist/features/auth/index.d.ts +26 -0
  31. package/dist/features/auth/index.js +5 -5
  32. package/dist/features/clients/index.css +208 -208
  33. package/dist/features/clients/index.js +4 -4
  34. package/dist/features/content/index.d.ts +258 -51
  35. package/dist/features/content/index.js +595 -421
  36. package/dist/features/crm/index.d.ts +26 -0
  37. package/dist/features/crm/index.js +5 -5
  38. package/dist/features/dashboard/index.js +6 -7
  39. package/dist/features/delivery/index.css +149 -149
  40. package/dist/features/delivery/index.d.ts +26 -0
  41. package/dist/features/delivery/index.js +4 -4
  42. package/dist/features/knowledge/index.css +149 -149
  43. package/dist/features/knowledge/index.js +3 -3
  44. package/dist/features/lead-gen/index.js +5 -5
  45. package/dist/features/monitoring/index.css +149 -149
  46. package/dist/features/monitoring/index.d.ts +33 -3
  47. package/dist/features/monitoring/index.js +6 -6
  48. package/dist/features/monitoring/requests/index.js +4 -4
  49. package/dist/features/operations/index.js +9 -10
  50. package/dist/features/settings/index.d.ts +26 -0
  51. package/dist/features/settings/index.js +6 -6
  52. package/dist/hooks/access/index.css +149 -149
  53. package/dist/hooks/access/index.js +3 -3
  54. package/dist/hooks/delivery/index.d.ts +26 -0
  55. package/dist/hooks/index.css +149 -149
  56. package/dist/hooks/index.d.ts +296 -65
  57. package/dist/hooks/index.js +3 -3
  58. package/dist/hooks/published.css +149 -149
  59. package/dist/hooks/published.d.ts +296 -65
  60. package/dist/hooks/published.js +3 -3
  61. package/dist/initialization/index.d.ts +26 -0
  62. package/dist/knowledge/index.css +149 -149
  63. package/dist/knowledge/index.js +7 -7
  64. package/dist/layout/index.css +149 -149
  65. package/dist/layout/index.js +6 -6
  66. package/dist/profile/index.d.ts +26 -0
  67. package/dist/provider/index.d.ts +26 -0
  68. package/dist/provider/index.js +3 -3
  69. package/dist/provider/published.css +149 -149
  70. package/dist/provider/published.d.ts +26 -0
  71. package/dist/provider/published.js +3 -3
  72. package/dist/supabase/index.d.ts +50 -0
  73. package/dist/theme/index.js +3 -3
  74. package/dist/theme/presets/index.js +1 -1
  75. package/dist/types/index.d.ts +59 -3
  76. package/package.json +5 -5
  77. package/dist/chunk-ZPTEGGKU.js +0 -631
  78. /package/dist/{chunk-XQBURFKM.js → chunk-RBGVNPA6.js} +0 -0
@@ -1270,6 +1270,7 @@ type Database = {
1270
1270
  activities: {
1271
1271
  Row: {
1272
1272
  activity_type: string;
1273
+ actor_api_key_id: string | null;
1273
1274
  actor_id: string | null;
1274
1275
  actor_type: string | null;
1275
1276
  created_at: string;
@@ -1286,6 +1287,7 @@ type Database = {
1286
1287
  };
1287
1288
  Insert: {
1288
1289
  activity_type: string;
1290
+ actor_api_key_id?: string | null;
1289
1291
  actor_id?: string | null;
1290
1292
  actor_type?: string | null;
1291
1293
  created_at?: string;
@@ -1302,6 +1304,7 @@ type Database = {
1302
1304
  };
1303
1305
  Update: {
1304
1306
  activity_type?: string;
1307
+ actor_api_key_id?: string | null;
1305
1308
  actor_id?: string | null;
1306
1309
  actor_type?: string | null;
1307
1310
  created_at?: string;
@@ -1317,6 +1320,13 @@ type Database = {
1317
1320
  title?: string;
1318
1321
  };
1319
1322
  Relationships: [
1323
+ {
1324
+ foreignKeyName: "activities_actor_api_key_id_fkey";
1325
+ columns: ["actor_api_key_id"];
1326
+ isOneToOne: false;
1327
+ referencedRelation: "api_keys";
1328
+ referencedColumns: ["id"];
1329
+ },
1320
1330
  {
1321
1331
  foreignKeyName: "activities_actor_id_fkey";
1322
1332
  columns: ["actor_id"];
@@ -1404,6 +1414,7 @@ type Database = {
1404
1414
  api_keys: {
1405
1415
  Row: {
1406
1416
  created_at: string | null;
1417
+ created_by: string | null;
1407
1418
  id: string;
1408
1419
  key_hash: string;
1409
1420
  last_used_at: string | null;
@@ -1412,6 +1423,7 @@ type Database = {
1412
1423
  };
1413
1424
  Insert: {
1414
1425
  created_at?: string | null;
1426
+ created_by?: string | null;
1415
1427
  id?: string;
1416
1428
  key_hash: string;
1417
1429
  last_used_at?: string | null;
@@ -1420,6 +1432,7 @@ type Database = {
1420
1432
  };
1421
1433
  Update: {
1422
1434
  created_at?: string | null;
1435
+ created_by?: string | null;
1423
1436
  id?: string;
1424
1437
  key_hash?: string;
1425
1438
  last_used_at?: string | null;
@@ -1427,6 +1440,13 @@ type Database = {
1427
1440
  organization_id?: string;
1428
1441
  };
1429
1442
  Relationships: [
1443
+ {
1444
+ foreignKeyName: "api_keys_created_by_fkey";
1445
+ columns: ["created_by"];
1446
+ isOneToOne: false;
1447
+ referencedRelation: "users";
1448
+ referencedColumns: ["id"];
1449
+ },
1430
1450
  {
1431
1451
  foreignKeyName: "api_keys_organization_id_fkey";
1432
1452
  columns: ["organization_id"];
@@ -1754,6 +1774,7 @@ type Database = {
1754
1774
  organization_id: string;
1755
1775
  payload: Json;
1756
1776
  source_execution_id: string | null;
1777
+ status: string;
1757
1778
  step_key: string | null;
1758
1779
  };
1759
1780
  Insert: {
@@ -1765,6 +1786,7 @@ type Database = {
1765
1786
  organization_id: string;
1766
1787
  payload?: Json;
1767
1788
  source_execution_id?: string | null;
1789
+ status: string;
1768
1790
  step_key?: string | null;
1769
1791
  };
1770
1792
  Update: {
@@ -1776,6 +1798,7 @@ type Database = {
1776
1798
  organization_id?: string;
1777
1799
  payload?: Json;
1778
1800
  source_execution_id?: string | null;
1801
+ status?: string;
1779
1802
  step_key?: string | null;
1780
1803
  };
1781
1804
  Relationships: [
@@ -1927,6 +1950,7 @@ type Database = {
1927
1950
  kind: string;
1928
1951
  metadata: Json;
1929
1952
  organization_id: string;
1953
+ payload: Json;
1930
1954
  processing_state: Json;
1931
1955
  storage_path: string | null;
1932
1956
  title: string;
@@ -1940,6 +1964,7 @@ type Database = {
1940
1964
  kind: string;
1941
1965
  metadata?: Json;
1942
1966
  organization_id: string;
1967
+ payload?: Json;
1943
1968
  processing_state?: Json;
1944
1969
  storage_path?: string | null;
1945
1970
  title: string;
@@ -1953,6 +1978,7 @@ type Database = {
1953
1978
  kind?: string;
1954
1979
  metadata?: Json;
1955
1980
  organization_id?: string;
1981
+ payload?: Json;
1956
1982
  processing_state?: Json;
1957
1983
  storage_path?: string | null;
1958
1984
  title?: string;
@@ -4831,21 +4857,6 @@ declare const AcqArtifactOwnerKindSchema: z.ZodEnum<{
4831
4857
  deal: "deal";
4832
4858
  list_member: "list_member";
4833
4859
  }>;
4834
- declare const AcqArtifactResponseSchema: z.ZodObject<{
4835
- id: z.ZodString;
4836
- organizationId: z.ZodString;
4837
- ownerKind: z.ZodString;
4838
- ownerId: z.ZodNullable<z.ZodString>;
4839
- kind: z.ZodString;
4840
- pipelineId: z.ZodNullable<z.ZodString>;
4841
- content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4842
- sourceExecutionId: z.ZodNullable<z.ZodString>;
4843
- createdBy: z.ZodNullable<z.ZodString>;
4844
- createdAt: z.ZodString;
4845
- updatedAt: z.ZodString;
4846
- isActive: z.ZodBoolean;
4847
- version: z.ZodNumber;
4848
- }, z.core.$strip>;
4849
4860
  declare const ListRecordEntitySchema: z.ZodEnum<{
4850
4861
  company: "company";
4851
4862
  contact: "contact";
@@ -4855,7 +4866,6 @@ type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
4855
4866
  type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
4856
4867
  type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
4857
4868
  type AcqArtifactOwnerKind = z.infer<typeof AcqArtifactOwnerKindSchema>;
4858
- type AcqArtifactResponse = z.infer<typeof AcqArtifactResponseSchema>;
4859
4869
  type ListRecordEntity = z.infer<typeof ListRecordEntitySchema>;
4860
4870
  type ListStatus = z.infer<typeof ListStatusSchema>;
4861
4871
 
@@ -5378,9 +5388,13 @@ declare const ContentItemResponseSchema: z.ZodObject<{
5378
5388
  status: z.ZodEnum<{
5379
5389
  error: "error";
5380
5390
  success: "success";
5391
+ running: "running";
5381
5392
  no_result: "no_result";
5382
5393
  skipped: "skipped";
5383
5394
  }>;
5395
+ attemptId: z.ZodString;
5396
+ executionId: z.ZodNullable<z.ZodString>;
5397
+ attemptedAt: z.ZodString;
5384
5398
  data: z.ZodOptional<z.ZodUnknown>;
5385
5399
  }, z.core.$loose>>;
5386
5400
  reviewedAt: z.ZodNullable<z.ZodString>;
@@ -5408,9 +5422,13 @@ declare const ContentItemListResponseSchema: z.ZodObject<{
5408
5422
  status: z.ZodEnum<{
5409
5423
  error: "error";
5410
5424
  success: "success";
5425
+ running: "running";
5411
5426
  no_result: "no_result";
5412
5427
  skipped: "skipped";
5413
5428
  }>;
5429
+ attemptId: z.ZodString;
5430
+ executionId: z.ZodNullable<z.ZodString>;
5431
+ attemptedAt: z.ZodString;
5414
5432
  data: z.ZodOptional<z.ZodUnknown>;
5415
5433
  }, z.core.$loose>>;
5416
5434
  reviewedAt: z.ZodNullable<z.ZodString>;
@@ -5444,6 +5462,7 @@ declare const ReviewContentItemRequestSchema: z.ZodObject<{
5444
5462
  rejected: "rejected";
5445
5463
  approved: "approved";
5446
5464
  }>;
5465
+ stepKey: z.ZodString;
5447
5466
  reviewerFeedback: z.ZodOptional<z.ZodString>;
5448
5467
  rejectReason: z.ZodOptional<z.ZodString>;
5449
5468
  }, z.core.$strict>;
@@ -5453,6 +5472,13 @@ declare const ContentItemAttemptResponseSchema: z.ZodObject<{
5453
5472
  contentItemId: z.ZodString;
5454
5473
  attemptNumber: z.ZodNumber;
5455
5474
  stepKey: z.ZodNullable<z.ZodString>;
5475
+ status: z.ZodEnum<{
5476
+ error: "error";
5477
+ success: "success";
5478
+ running: "running";
5479
+ no_result: "no_result";
5480
+ skipped: "skipped";
5481
+ }>;
5456
5482
  payload: z.ZodUnknown;
5457
5483
  sourceExecutionId: z.ZodNullable<z.ZodString>;
5458
5484
  createdBy: z.ZodNullable<z.ZodString>;
@@ -5465,12 +5491,76 @@ declare const ContentItemAttemptListResponseSchema: z.ZodObject<{
5465
5491
  contentItemId: z.ZodString;
5466
5492
  attemptNumber: z.ZodNumber;
5467
5493
  stepKey: z.ZodNullable<z.ZodString>;
5494
+ status: z.ZodEnum<{
5495
+ error: "error";
5496
+ success: "success";
5497
+ running: "running";
5498
+ no_result: "no_result";
5499
+ skipped: "skipped";
5500
+ }>;
5468
5501
  payload: z.ZodUnknown;
5469
5502
  sourceExecutionId: z.ZodNullable<z.ZodString>;
5470
5503
  createdBy: z.ZodNullable<z.ZodString>;
5471
5504
  createdAt: z.ZodString;
5472
5505
  }, z.core.$strip>>;
5473
5506
  }, z.core.$strip>;
5507
+ /**
5508
+ * `content_source_assets.kind` -- free text, validated against the OM's
5509
+ * per-kind source-asset catalog (`organization-model/catalogs/content.ts`),
5510
+ * the same split as `ContentItemStatusSchema` / `ContentPillarSchema` above.
5511
+ */
5512
+ declare const ContentSourceAssetKindSchema: z.ZodString;
5513
+ declare const ContentSourceAssetResponseSchema: z.ZodObject<{
5514
+ id: z.ZodString;
5515
+ organizationId: z.ZodString;
5516
+ kind: z.ZodString;
5517
+ title: z.ZodString;
5518
+ externalUrl: z.ZodNullable<z.ZodString>;
5519
+ storagePath: z.ZodNullable<z.ZodString>;
5520
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
5521
+ metadata: z.ZodUnknown;
5522
+ payload: z.ZodUnknown;
5523
+ processingState: z.ZodRecord<z.ZodString, z.ZodObject<{
5524
+ status: z.ZodEnum<{
5525
+ error: "error";
5526
+ success: "success";
5527
+ running: "running";
5528
+ no_result: "no_result";
5529
+ skipped: "skipped";
5530
+ }>;
5531
+ attemptId: z.ZodString;
5532
+ executionId: z.ZodNullable<z.ZodString>;
5533
+ attemptedAt: z.ZodString;
5534
+ data: z.ZodOptional<z.ZodUnknown>;
5535
+ }, z.core.$loose>>;
5536
+ createdAt: z.ZodString;
5537
+ updatedAt: z.ZodString;
5538
+ }, z.core.$strip>;
5539
+ /**
5540
+ * Required fields match the live DDL exactly: `kind` and `title` are the
5541
+ * only `NOT NULL` columns besides `organization_id`, which is never a
5542
+ * request field (see module note above). `externalUrl`, `storagePath`,
5543
+ * `durationSeconds`, `metadata`, and `payload` are all nullable/defaulted
5544
+ * at the column level, so all are optional here.
5545
+ */
5546
+ declare const CreateContentSourceAssetRequestSchema: z.ZodObject<{
5547
+ kind: z.ZodString;
5548
+ title: z.ZodString;
5549
+ externalUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5550
+ storagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5551
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5552
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5553
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5554
+ }, z.core.$strict>;
5555
+ declare const UpdateContentSourceAssetRequestSchema: z.ZodObject<{
5556
+ kind: z.ZodOptional<z.ZodString>;
5557
+ title: z.ZodOptional<z.ZodString>;
5558
+ externalUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5559
+ storagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5560
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5561
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5562
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5563
+ }, z.core.$strict>;
5474
5564
  declare const ListContentDistributionsQuerySchema: z.ZodObject<{
5475
5565
  contentItemId: z.ZodOptional<z.ZodString>;
5476
5566
  platform: z.ZodOptional<z.ZodString>;
@@ -5493,9 +5583,13 @@ declare const ContentDistributionResponseSchema: z.ZodObject<{
5493
5583
  status: z.ZodEnum<{
5494
5584
  error: "error";
5495
5585
  success: "success";
5586
+ running: "running";
5496
5587
  no_result: "no_result";
5497
5588
  skipped: "skipped";
5498
5589
  }>;
5590
+ attemptId: z.ZodString;
5591
+ executionId: z.ZodNullable<z.ZodString>;
5592
+ attemptedAt: z.ZodString;
5499
5593
  data: z.ZodOptional<z.ZodUnknown>;
5500
5594
  }, z.core.$loose>>;
5501
5595
  publishMethod: z.ZodNullable<z.ZodString>;
@@ -5523,9 +5617,13 @@ declare const ContentDistributionListResponseSchema: z.ZodObject<{
5523
5617
  status: z.ZodEnum<{
5524
5618
  error: "error";
5525
5619
  success: "success";
5620
+ running: "running";
5526
5621
  no_result: "no_result";
5527
5622
  skipped: "skipped";
5528
5623
  }>;
5624
+ attemptId: z.ZodString;
5625
+ executionId: z.ZodNullable<z.ZodString>;
5626
+ attemptedAt: z.ZodString;
5529
5627
  data: z.ZodOptional<z.ZodUnknown>;
5530
5628
  }, z.core.$loose>>;
5531
5629
  publishMethod: z.ZodNullable<z.ZodString>;
@@ -5566,6 +5664,10 @@ type ContentItemReviewDecision = z.infer<typeof ContentItemReviewDecisionSchema>
5566
5664
  type ReviewContentItemRequest = z.infer<typeof ReviewContentItemRequestSchema>;
5567
5665
  type ContentItemAttemptResponse = z.infer<typeof ContentItemAttemptResponseSchema>;
5568
5666
  type ContentItemAttemptListResponse = z.infer<typeof ContentItemAttemptListResponseSchema>;
5667
+ type ContentSourceAssetKind = z.infer<typeof ContentSourceAssetKindSchema>;
5668
+ type ContentSourceAssetResponse = z.infer<typeof ContentSourceAssetResponseSchema>;
5669
+ type CreateContentSourceAssetRequest = z.infer<typeof CreateContentSourceAssetRequestSchema>;
5670
+ type UpdateContentSourceAssetRequest = z.infer<typeof UpdateContentSourceAssetRequestSchema>;
5569
5671
  type ListContentDistributionsQuery = z.infer<typeof ListContentDistributionsQuerySchema>;
5570
5672
  type ContentDistributionResponse = z.infer<typeof ContentDistributionResponseSchema>;
5571
5673
  type ContentDistributionListResponse = z.infer<typeof ContentDistributionListResponseSchema>;
@@ -7553,8 +7655,34 @@ interface CommandViewStatsResponse {
7553
7655
  generatedAt: string;
7554
7656
  }
7555
7657
 
7556
- type ActivityType = 'workflow_execution' | 'agent_run' | 'hitl_action' | 'webhook_received' | 'webhook_executed' | 'webhook_failed' | 'credential_change' | 'credential_read' | 'api_key_change' | 'agent_access_grant_change' | 'deployment_change' | 'membership_change';
7557
- type ActivityStatus = 'success' | 'failure' | 'pending' | 'approved' | 'rejected' | 'completed';
7658
+ /**
7659
+ * Every kind of activity the platform records.
7660
+ *
7661
+ * This array is the single TypeScript-side source for the catalog: `ActivityType` is
7662
+ * derived from it, and `ActivityTypeSchema` in `api-schemas.ts` builds its Zod enum
7663
+ * from it rather than repeating the list. It is also what the database CHECK constraint
7664
+ * `activities_activity_type_check` must match exactly.
7665
+ *
7666
+ * A value here that the constraint does not allow raises `23514` on every write, and
7667
+ * because activity writes are best-effort the rejection is silent. That is not
7668
+ * hypothetical: `credential_read` and `agent_access_grant_change` were both in this list
7669
+ * and absent from the constraint, so neither had ever recorded a single row on either
7670
+ * database. `activity-catalog-sync.integration.test.ts` is the gate that now catches it.
7671
+ */
7672
+ declare const ACTIVITY_TYPES: readonly ["workflow_execution", "agent_run", "hitl_action", "webhook_received", "webhook_executed", "webhook_failed", "credential_change", "credential_read", "api_key_change", "agent_access_grant_change", "deployment_change", "membership_change"];
7673
+ type ActivityType = (typeof ACTIVITY_TYPES)[number];
7674
+ /** Mirrors the `activities_status_check` constraint; same two-place risk as ACTIVITY_TYPES. */
7675
+ declare const ACTIVITY_STATUSES: readonly ["success", "failure", "pending", "approved", "rejected", "completed"];
7676
+ type ActivityStatus = (typeof ACTIVITY_STATUSES)[number];
7677
+ /**
7678
+ * What kind of actor performed an action.
7679
+ *
7680
+ * `'user'` reads `actorId` (FK to users), `'api_key'` reads `actorApiKeyId` (FK to api_keys),
7681
+ * and `'system'` reads neither. The two id columns are deliberately separate rather than one
7682
+ * polymorphic column, so the database keeps checking both referents.
7683
+ */
7684
+ declare const ACTOR_TYPES: readonly ["user", "system", "api_key"];
7685
+ type ActorType = (typeof ACTOR_TYPES)[number];
7558
7686
  interface Activity {
7559
7687
  id: string;
7560
7688
  organizationId: string;
@@ -7566,8 +7694,12 @@ interface Activity {
7566
7694
  entityId: string;
7567
7695
  entityName: string | null;
7568
7696
  metadata: Record<string, unknown> | null;
7697
+ /** Set when actorType is 'user'. FK to users(id). */
7569
7698
  actorId: string | null;
7570
- actorType: string | null;
7699
+ /** Set when actorType is 'api_key'. FK to api_keys(id). */
7700
+ actorApiKeyId: string | null;
7701
+ /** Discriminator saying which of the two id fields above to read. */
7702
+ actorType: ActorType | null;
7571
7703
  occurredAt: Date;
7572
7704
  createdAt: Date;
7573
7705
  }
@@ -9409,6 +9541,18 @@ declare function useDeleteClient(): _tanstack_react_query.UseMutationResult<void
9409
9541
 
9410
9542
  type ContentItemsListFilters = Partial<Pick<ListContentItemsQuery, 'status' | 'pillar' | 'pipelineId' | 'clientId' | 'reviewedBy' | 'search' | 'limit' | 'offset'>>;
9411
9543
  type ContentDistributionsListFilters = Partial<Pick<ListContentDistributionsQuery, 'contentItemId' | 'platform' | 'status' | 'limit' | 'offset'>>;
9544
+ /**
9545
+ * `ListContentSourceAssetsQuery` is declared route-locally in
9546
+ * `apps/api/src/business/content/routes.ts` (not exported from `@repo/core/content` --
9547
+ * per Wave 1's report, ID-params and list-query schemas for source assets are
9548
+ * deliberately route-internal), so this filter shape is hand-kept rather than derived
9549
+ * from a shared type. Keep it in sync with `ListContentSourceAssetsQuerySchema`.
9550
+ */
9551
+ type ContentSourceAssetsListFilters = Partial<{
9552
+ kind: string;
9553
+ limit: number;
9554
+ offset: number;
9555
+ }>;
9412
9556
  declare const contentKeys: {
9413
9557
  all: readonly ["content"];
9414
9558
  items: () => readonly ["content", "items"];
@@ -9433,6 +9577,13 @@ declare const contentKeys: {
9433
9577
  status?: string | undefined;
9434
9578
  }, "limit" | "offset" | "platform" | "status" | "contentItemId">>];
9435
9579
  distributionDetail: (organizationId: WorkOsOrgId | null | undefined, distributionId: string | undefined) => readonly ["content", "distributions", "detail", WorkOsOrgId | null | undefined, string | undefined];
9580
+ sourceAssets: () => readonly ["content", "source-assets"];
9581
+ sourceAssetsList: (organizationId: WorkOsOrgId | null | undefined, filters: ContentSourceAssetsListFilters) => readonly ["content", "source-assets", "list", WorkOsOrgId | null | undefined, Partial<{
9582
+ kind: string;
9583
+ limit: number;
9584
+ offset: number;
9585
+ }>];
9586
+ sourceAssetDetail: (organizationId: WorkOsOrgId | null | undefined, sourceAssetId: string | undefined) => readonly ["content", "source-assets", "detail", WorkOsOrgId | null | undefined, string | undefined];
9436
9587
  };
9437
9588
 
9438
9589
  declare function useContentItems(filters?: ContentItemsListFilters): _tanstack_react_query.UseQueryResult<{
@@ -9449,7 +9600,10 @@ declare function useContentItems(filters?: ContentItemsListFilters): _tanstack_r
9449
9600
  sourceAssetId: string | null;
9450
9601
  processingState: Record<string, {
9451
9602
  [x: string]: unknown;
9452
- status: "error" | "success" | "no_result" | "skipped";
9603
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9604
+ attemptId: string;
9605
+ executionId: string | null;
9606
+ attemptedAt: string;
9453
9607
  data?: unknown;
9454
9608
  }>;
9455
9609
  reviewedAt: string | null;
@@ -9479,7 +9633,10 @@ declare function useContentItem(itemId: string | undefined): _tanstack_react_que
9479
9633
  sourceAssetId: string | null;
9480
9634
  processingState: Record<string, {
9481
9635
  [x: string]: unknown;
9482
- status: "error" | "success" | "no_result" | "skipped";
9636
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9637
+ attemptId: string;
9638
+ executionId: string | null;
9639
+ attemptedAt: string;
9483
9640
  data?: unknown;
9484
9641
  }>;
9485
9642
  reviewedAt: string | null;
@@ -9506,6 +9663,7 @@ declare function useContentItemAttempts(itemId: string | undefined): _tanstack_r
9506
9663
  contentItemId: string;
9507
9664
  attemptNumber: number;
9508
9665
  stepKey: string | null;
9666
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9509
9667
  payload: unknown;
9510
9668
  sourceExecutionId: string | null;
9511
9669
  createdBy: string | null;
@@ -9533,7 +9691,10 @@ declare function useContentDistributions(filters?: ContentDistributionsListFilte
9533
9691
  mediaUrls: unknown[];
9534
9692
  processingState: Record<string, {
9535
9693
  [x: string]: unknown;
9536
- status: "error" | "success" | "no_result" | "skipped";
9694
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9695
+ attemptId: string;
9696
+ executionId: string | null;
9697
+ attemptedAt: string;
9537
9698
  data?: unknown;
9538
9699
  }>;
9539
9700
  publishMethod: string | null;
@@ -9565,7 +9726,10 @@ declare function useContentDistribution(distributionId: string | undefined): _ta
9565
9726
  mediaUrls: unknown[];
9566
9727
  processingState: Record<string, {
9567
9728
  [x: string]: unknown;
9568
- status: "error" | "success" | "no_result" | "skipped";
9729
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9730
+ attemptId: string;
9731
+ executionId: string | null;
9732
+ attemptedAt: string;
9569
9733
  data?: unknown;
9570
9734
  }>;
9571
9735
  publishMethod: string | null;
@@ -9596,7 +9760,10 @@ declare function useUpdateContentItem(): _tanstack_react_query.UseMutationResult
9596
9760
  sourceAssetId: string | null;
9597
9761
  processingState: Record<string, {
9598
9762
  [x: string]: unknown;
9599
- status: "error" | "success" | "no_result" | "skipped";
9763
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9764
+ attemptId: string;
9765
+ executionId: string | null;
9766
+ attemptedAt: string;
9600
9767
  data?: unknown;
9601
9768
  }>;
9602
9769
  reviewedAt: string | null;
@@ -9634,7 +9801,10 @@ declare function useUpdateContentDistribution(): _tanstack_react_query.UseMutati
9634
9801
  mediaUrls: unknown[];
9635
9802
  processingState: Record<string, {
9636
9803
  [x: string]: unknown;
9637
- status: "error" | "success" | "no_result" | "skipped";
9804
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9805
+ attemptId: string;
9806
+ executionId: string | null;
9807
+ attemptedAt: string;
9638
9808
  data?: unknown;
9639
9809
  }>;
9640
9810
  publishMethod: string | null;
@@ -9668,7 +9838,10 @@ declare function useReviewContentItem(): _tanstack_react_query.UseMutationResult
9668
9838
  sourceAssetId: string | null;
9669
9839
  processingState: Record<string, {
9670
9840
  [x: string]: unknown;
9671
- status: "error" | "success" | "no_result" | "skipped";
9841
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9842
+ attemptId: string;
9843
+ executionId: string | null;
9844
+ attemptedAt: string;
9672
9845
  data?: unknown;
9673
9846
  }>;
9674
9847
  reviewedAt: string | null;
@@ -9681,47 +9854,105 @@ declare function useReviewContentItem(): _tanstack_react_query.UseMutationResult
9681
9854
  updatedAt: string;
9682
9855
  }, Error, ReviewContentItemParams, unknown>;
9683
9856
 
9684
- declare const contentArtifactKeys: {
9685
- all: readonly ["content-artifacts"];
9686
- list: (organizationId: WorkOsOrgId | null | undefined) => readonly ["content-artifacts", WorkOsOrgId | null | undefined];
9687
- };
9688
- interface UseContentArtifactsOptions {
9689
- /** Filter to one pipeline's artifacts (client-side, off `AcqArtifactResponse.pipelineId`). Omit for every pipeline. */
9690
- pipelineId?: string;
9691
- /** Filter to one artifact kind (already `content:`-prefixed). Omit for every content kind. */
9692
- kind?: string;
9693
- }
9694
- interface UseContentArtifactsResult {
9695
- artifacts: AcqArtifactResponse[];
9696
- isLoading: boolean;
9697
- isError: boolean;
9698
- error: Error | null;
9699
- refetch: () => void;
9700
- }
9701
9857
  /**
9702
- * Filters a raw artifact list to the ones the content Rules page can show: `content:`
9703
- * -prefixed kinds (the standing convention every content artifact write follows -- no
9704
- * type enforces it, so this reader must not trust an un-prefixed `kind`), and,
9705
- * optionally, one pipeline. Extracted as a pure function so the filtering logic is
9706
- * testable without a QueryClient or a mocked service context.
9858
+ * No exported type for this response exists on `@repo/core/content` -- like its filter
9859
+ * shape (see `queryKeys.ts`), the list-response schema is declared route-locally in
9860
+ * `apps/api/src/business/content/routes.ts`. Shape matches every other paginated content
9861
+ * list response: `{ data, total, limit, offset }`.
9707
9862
  */
9708
- declare function filterContentArtifacts(artifacts: AcqArtifactResponse[], options?: UseContentArtifactsOptions): AcqArtifactResponse[];
9863
+ interface ContentSourceAssetListResponse {
9864
+ data: ContentSourceAssetResponse[];
9865
+ total: number;
9866
+ limit: number;
9867
+ offset: number;
9868
+ }
9869
+ /** GET `/content/source-assets` -- filters `kind`, `limit`, `offset`. */
9870
+ declare function useContentSourceAssets(filters?: ContentSourceAssetsListFilters): _tanstack_react_query.UseQueryResult<ContentSourceAssetListResponse, Error>;
9871
+
9872
+ /** GET `/content/source-assets/:sourceAssetId`. */
9873
+ declare function useContentSourceAsset(sourceAssetId: string | undefined): _tanstack_react_query.UseQueryResult<{
9874
+ id: string;
9875
+ organizationId: string;
9876
+ kind: string;
9877
+ title: string;
9878
+ externalUrl: string | null;
9879
+ storagePath: string | null;
9880
+ durationSeconds: number | null;
9881
+ metadata: unknown;
9882
+ payload: unknown;
9883
+ processingState: Record<string, {
9884
+ [x: string]: unknown;
9885
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9886
+ attemptId: string;
9887
+ executionId: string | null;
9888
+ attemptedAt: string;
9889
+ data?: unknown;
9890
+ }>;
9891
+ createdAt: string;
9892
+ updatedAt: string;
9893
+ }, Error>;
9894
+
9709
9895
  /**
9710
- * Lists `content:`-prefixed artifacts (the Rules and artifacts page's read path).
9711
- *
9712
- * `useArtifacts` (`packages/ui/src/hooks/lead-gen/useArtifacts.ts`) cannot serve this:
9713
- * it hard-requires `ownerId` (`enabled: isReady && !!ownerId`) and always puts `ownerId`
9714
- * in the query string, but every content rules document is org-owned with a null
9715
- * `ownerId`. `ListArtifactsQuerySchema.ownerId` became optional specifically to allow
9716
- * this (artifacts-platform-tool.mdx Step 3 defect 3) -- this hook omits `ownerId`
9717
- * entirely rather than passing an empty or undefined value.
9718
- *
9719
- * The list route supports neither a `kind` filter nor a `pipelineId` filter server-side,
9720
- * so filtering happens client-side, off `AcqArtifactResponse.pipelineId` /
9721
- * `AcqArtifactResponse.isActive` / `.version` / `.updatedAt` -- all present on the
9722
- * response since Wave B.
9896
+ * POST `/content/source-assets` -- `kind` and `title` are the only required fields;
9897
+ * `organizationId` is never sent, it is injected server-side from the authenticated
9898
+ * context (see `content-source-asset-write-path.mdx` Step 2).
9723
9899
  */
9724
- declare function useContentArtifacts(options?: UseContentArtifactsOptions): UseContentArtifactsResult;
9900
+ declare function useCreateContentSourceAsset(): _tanstack_react_query.UseMutationResult<{
9901
+ id: string;
9902
+ organizationId: string;
9903
+ kind: string;
9904
+ title: string;
9905
+ externalUrl: string | null;
9906
+ storagePath: string | null;
9907
+ durationSeconds: number | null;
9908
+ metadata: unknown;
9909
+ payload: unknown;
9910
+ processingState: Record<string, {
9911
+ [x: string]: unknown;
9912
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9913
+ attemptId: string;
9914
+ executionId: string | null;
9915
+ attemptedAt: string;
9916
+ data?: unknown;
9917
+ }>;
9918
+ createdAt: string;
9919
+ updatedAt: string;
9920
+ }, Error, {
9921
+ kind: string;
9922
+ title: string;
9923
+ externalUrl?: string | null | undefined;
9924
+ storagePath?: string | null | undefined;
9925
+ durationSeconds?: number | null | undefined;
9926
+ metadata?: Record<string, unknown> | undefined;
9927
+ payload?: Record<string, unknown> | undefined;
9928
+ }, unknown>;
9929
+
9930
+ interface UpdateContentSourceAssetParams {
9931
+ sourceAssetId: string;
9932
+ updates: UpdateContentSourceAssetRequest;
9933
+ }
9934
+ /** PATCH `/content/source-assets/:sourceAssetId`. */
9935
+ declare function useUpdateContentSourceAsset(): _tanstack_react_query.UseMutationResult<{
9936
+ id: string;
9937
+ organizationId: string;
9938
+ kind: string;
9939
+ title: string;
9940
+ externalUrl: string | null;
9941
+ storagePath: string | null;
9942
+ durationSeconds: number | null;
9943
+ metadata: unknown;
9944
+ payload: unknown;
9945
+ processingState: Record<string, {
9946
+ [x: string]: unknown;
9947
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9948
+ attemptId: string;
9949
+ executionId: string | null;
9950
+ attemptedAt: string;
9951
+ data?: unknown;
9952
+ }>;
9953
+ createdAt: string;
9954
+ updatedAt: string;
9955
+ }, Error, UpdateContentSourceAssetParams, unknown>;
9725
9956
 
9726
9957
  interface ContentPipelineSummary {
9727
9958
  /** Item count per declared status key. */
@@ -12611,5 +12842,5 @@ declare function useCreateNote(): _tanstack_react_query.UseMutationResult<{
12611
12842
  type?: string;
12612
12843
  }, "organization_id">, unknown>;
12613
12844
 
12614
- export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, contentArtifactKeys, contentKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, filterContentArtifacts, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, mergeSessionMessages, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, pickLatestRunAt, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, sumStatusCounts, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useContentArtifacts, useContentDistribution, useContentDistributions, useContentItem, useContentItemAttempts, useContentItems, useContentPipelineSummary, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationModelDrift, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useReviewContentItem, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateContentDistribution, useUpdateContentItem, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution };
12615
- export type { AccessKeyInput, AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AssignRoleInput, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, ContentDistributionListResponse, ContentDistributionResponse, ContentDistributionsListFilters, ContentItemAttemptListResponse, ContentItemAttemptResponse, ContentItemListResponse, ContentItemResponse, ContentItemReviewDecision, ContentItemStatus, ContentItemsListFilters, ContentPillar, ContentPipelineId, ContentPipelineSummary, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, OrgRole, OrganizationModelDriftState, RemoveCompaniesFromListResult, RequestRow, RequestSeverity, RequestType, RequestsListFilters, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, ReviewContentItemRequest, RevokeRoleInput, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusFilter, SubmitActionRequest, SubmitActionResponse, SubmitRequestInput, SystemHealthExecutionSummary, SystemHealthResponse, TaskSchedule, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UpdateClientRequest, UpdateContentItemRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseAccessResult, UseActivitiesParams, UseActivityTrendParams, UseArtifactsParams, UseBatchedResourcesHealthParams, UseContentArtifactsOptions, UseContentArtifactsResult, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSystemHealthParams, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WorkflowExecutionTriggerParams };
12845
+ export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, contentKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, mergeSessionMessages, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, pickLatestRunAt, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, sumStatusCounts, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useContentDistribution, useContentDistributions, useContentItem, useContentItemAttempts, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateContentSourceAsset, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationModelDrift, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useReviewContentItem, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentSourceAsset, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution };
12846
+ export type { AccessKeyInput, AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AssignRoleInput, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, ContentDistributionListResponse, ContentDistributionResponse, ContentDistributionsListFilters, ContentItemAttemptListResponse, ContentItemAttemptResponse, ContentItemListResponse, ContentItemResponse, ContentItemReviewDecision, ContentItemStatus, ContentItemsListFilters, ContentPillar, ContentPipelineId, ContentPipelineSummary, ContentSourceAssetKind, ContentSourceAssetListResponse, ContentSourceAssetResponse, ContentSourceAssetsListFilters, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, CreateContentSourceAssetRequest, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, FailingResource, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, OrgRole, OrganizationModelDriftState, RemoveCompaniesFromListResult, RequestRow, RequestSeverity, RequestType, RequestsListFilters, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, ReviewContentItemRequest, RevokeRoleInput, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusFilter, SubmitActionRequest, SubmitActionResponse, SubmitRequestInput, SystemHealthExecutionSummary, SystemHealthResponse, TaskSchedule, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UpdateClientRequest, UpdateContentItemRequest, UpdateContentSourceAssetRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseAccessResult, UseActivitiesParams, UseActivityTrendParams, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSystemHealthParams, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WorkflowExecutionTriggerParams };