@elevasis/ui 2.70.0 → 2.72.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 (72) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +28 -2
  3. package/dist/app/index.js +8 -8
  4. package/dist/auth/index.js +4 -4
  5. package/dist/charts/index.js +4 -4
  6. package/dist/{chunk-GZADST64.js → chunk-2454MK7P.js} +7 -7
  7. package/dist/{chunk-26BTE3Z4.js → chunk-753MKWFV.js} +1 -1
  8. package/dist/{chunk-LWYLZUUV.js → chunk-7ESZKTQG.js} +3 -3
  9. package/dist/{chunk-SMH6SQQE.js → chunk-A3JHFZDP.js} +1 -1
  10. package/dist/{chunk-MFCV4JMQ.js → chunk-AFBFSXP3.js} +4 -4
  11. package/dist/{chunk-TJMZUL6E.js → chunk-DJWIIPKW.js} +3 -3
  12. package/dist/{chunk-QDMIFD6F.js → chunk-DKVGO6RJ.js} +1 -1
  13. package/dist/{chunk-LY3IKYTZ.js → chunk-IMZTRDY2.js} +2 -2
  14. package/dist/{chunk-JA2XDMAE.js → chunk-IXBRUIYI.js} +1 -1
  15. package/dist/{chunk-6TT3FQEZ.js → chunk-KIDZXZM5.js} +149 -17
  16. package/dist/{chunk-CCZJ4OWY.js → chunk-LCHL5SM2.js} +1 -1
  17. package/dist/{chunk-5C62IRKS.js → chunk-LEQGGX2U.js} +4 -4
  18. package/dist/{chunk-NM4A63KJ.js → chunk-Q3O3WY7Q.js} +23 -7
  19. package/dist/{chunk-GJQF3S2Q.js → chunk-RRS2QR3W.js} +1 -1
  20. package/dist/{chunk-DUEGHF7A.js → chunk-SV4M2BUI.js} +4 -4
  21. package/dist/{chunk-AGX2CY2O.js → chunk-UZ5JO5TK.js} +1 -1
  22. package/dist/{chunk-C75XWBYZ.js → chunk-XZIOCB5D.js} +1 -1
  23. package/dist/{chunk-VDX6DL7Z.js → chunk-Z2W5VNN3.js} +1 -1
  24. package/dist/{chunk-XKUEO4HG.js → chunk-ZBXCEWKF.js} +3 -3
  25. package/dist/components/index.d.ts +61 -5
  26. package/dist/components/index.js +23 -23
  27. package/dist/components/navigation/index.js +5 -5
  28. package/dist/features/auth/index.d.ts +26 -0
  29. package/dist/features/auth/index.js +6 -6
  30. package/dist/features/clients/index.js +5 -5
  31. package/dist/features/content/index.d.ts +187 -113
  32. package/dist/features/content/index.js +200 -303
  33. package/dist/features/crm/index.d.ts +29 -2
  34. package/dist/features/crm/index.js +6 -6
  35. package/dist/features/dashboard/index.d.ts +1 -1
  36. package/dist/features/dashboard/index.js +6 -6
  37. package/dist/features/delivery/index.d.ts +26 -0
  38. package/dist/features/delivery/index.js +5 -5
  39. package/dist/features/knowledge/index.js +4 -4
  40. package/dist/features/lead-gen/index.d.ts +3 -2
  41. package/dist/features/lead-gen/index.js +6 -6
  42. package/dist/features/monitoring/index.d.ts +33 -3
  43. package/dist/features/monitoring/index.js +7 -7
  44. package/dist/features/monitoring/requests/index.js +5 -5
  45. package/dist/features/operations/index.d.ts +2 -2
  46. package/dist/features/operations/index.js +9 -9
  47. package/dist/features/settings/index.d.ts +26 -0
  48. package/dist/features/settings/index.js +6 -6
  49. package/dist/hooks/access/index.js +4 -4
  50. package/dist/hooks/delivery/index.d.ts +26 -0
  51. package/dist/hooks/delivery/index.js +2 -2
  52. package/dist/hooks/index.d.ts +310 -14
  53. package/dist/hooks/index.js +4 -4
  54. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -1
  55. package/dist/hooks/published.d.ts +310 -14
  56. package/dist/hooks/published.js +4 -4
  57. package/dist/initialization/index.d.ts +26 -0
  58. package/dist/knowledge/index.d.ts +2 -2
  59. package/dist/knowledge/index.js +18 -18
  60. package/dist/{knowledge-search-index-LP2WVSQX.js → knowledge-search-index-RZLIVWPJ.js} +5 -5
  61. package/dist/layout/index.js +7 -7
  62. package/dist/profile/index.d.ts +26 -0
  63. package/dist/provider/index.d.ts +28 -2
  64. package/dist/provider/index.js +4 -4
  65. package/dist/provider/published.d.ts +28 -2
  66. package/dist/provider/published.js +4 -4
  67. package/dist/supabase/index.d.ts +50 -0
  68. package/dist/test-utils/index.js +3 -3
  69. package/dist/types/index.d.ts +60 -4
  70. package/dist/utils/index.d.ts +1 -1
  71. package/dist/utils/index.js +1 -1
  72. package/package.json +5 -5
@@ -317,7 +317,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
317
317
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
318
318
  route: z.ZodOptional<z.ZodString>;
319
319
  }, z.core.$loose>>>>;
320
- }, z.core.$strip>>;
320
+ }, z.core.$strict>>;
321
321
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
322
322
 
323
323
  declare const SystemApiInterfaceSchema: z.ZodObject<{
@@ -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;
@@ -3884,7 +3910,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
3884
3910
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
3885
3911
  route: z.ZodOptional<z.ZodString>;
3886
3912
  }, z.core.$loose>>>>;
3887
- }, z.core.$strip>>;
3913
+ }, z.core.$strict>>;
3888
3914
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
3889
3915
 
3890
3916
  declare const SystemApiInterfaceSchema: z.ZodObject<{
@@ -5362,9 +5388,13 @@ declare const ContentItemResponseSchema: z.ZodObject<{
5362
5388
  status: z.ZodEnum<{
5363
5389
  error: "error";
5364
5390
  success: "success";
5391
+ running: "running";
5365
5392
  no_result: "no_result";
5366
5393
  skipped: "skipped";
5367
5394
  }>;
5395
+ attemptId: z.ZodString;
5396
+ executionId: z.ZodNullable<z.ZodString>;
5397
+ attemptedAt: z.ZodString;
5368
5398
  data: z.ZodOptional<z.ZodUnknown>;
5369
5399
  }, z.core.$loose>>;
5370
5400
  reviewedAt: z.ZodNullable<z.ZodString>;
@@ -5392,9 +5422,13 @@ declare const ContentItemListResponseSchema: z.ZodObject<{
5392
5422
  status: z.ZodEnum<{
5393
5423
  error: "error";
5394
5424
  success: "success";
5425
+ running: "running";
5395
5426
  no_result: "no_result";
5396
5427
  skipped: "skipped";
5397
5428
  }>;
5429
+ attemptId: z.ZodString;
5430
+ executionId: z.ZodNullable<z.ZodString>;
5431
+ attemptedAt: z.ZodString;
5398
5432
  data: z.ZodOptional<z.ZodUnknown>;
5399
5433
  }, z.core.$loose>>;
5400
5434
  reviewedAt: z.ZodNullable<z.ZodString>;
@@ -5428,6 +5462,7 @@ declare const ReviewContentItemRequestSchema: z.ZodObject<{
5428
5462
  rejected: "rejected";
5429
5463
  approved: "approved";
5430
5464
  }>;
5465
+ stepKey: z.ZodString;
5431
5466
  reviewerFeedback: z.ZodOptional<z.ZodString>;
5432
5467
  rejectReason: z.ZodOptional<z.ZodString>;
5433
5468
  }, z.core.$strict>;
@@ -5437,6 +5472,13 @@ declare const ContentItemAttemptResponseSchema: z.ZodObject<{
5437
5472
  contentItemId: z.ZodString;
5438
5473
  attemptNumber: z.ZodNumber;
5439
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
+ }>;
5440
5482
  payload: z.ZodUnknown;
5441
5483
  sourceExecutionId: z.ZodNullable<z.ZodString>;
5442
5484
  createdBy: z.ZodNullable<z.ZodString>;
@@ -5449,12 +5491,83 @@ declare const ContentItemAttemptListResponseSchema: z.ZodObject<{
5449
5491
  contentItemId: z.ZodString;
5450
5492
  attemptNumber: z.ZodNumber;
5451
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
+ }>;
5452
5501
  payload: z.ZodUnknown;
5453
5502
  sourceExecutionId: z.ZodNullable<z.ZodString>;
5454
5503
  createdBy: z.ZodNullable<z.ZodString>;
5455
5504
  createdAt: z.ZodString;
5456
5505
  }, z.core.$strip>>;
5457
5506
  }, z.core.$strip>;
5507
+ /**
5508
+ * `content_source_assets.kind` -- free text, validated against the OM's
5509
+ * per-kind source-asset catalog (schema in
5510
+ * `packages/core/src/organization-model/catalogs/content.ts`; entries in the
5511
+ * organization's own model), the same split as `ContentItemStatusSchema` /
5512
+ * `ContentPillarSchema` above.
5513
+ *
5514
+ * An unlisted kind is legal and writes unvalidated -- kinds whose content is a
5515
+ * reference rather than inline text (`externalUrl` + `durationSeconds`) carry
5516
+ * no payload fields, so they get no catalog entry at all and are validated by
5517
+ * `UrlSchema` on the request body instead.
5518
+ */
5519
+ declare const ContentSourceAssetKindSchema: z.ZodString;
5520
+ declare const ContentSourceAssetResponseSchema: z.ZodObject<{
5521
+ id: z.ZodString;
5522
+ organizationId: z.ZodString;
5523
+ kind: z.ZodString;
5524
+ title: z.ZodString;
5525
+ externalUrl: z.ZodNullable<z.ZodString>;
5526
+ storagePath: z.ZodNullable<z.ZodString>;
5527
+ durationSeconds: z.ZodNullable<z.ZodNumber>;
5528
+ metadata: z.ZodUnknown;
5529
+ payload: z.ZodUnknown;
5530
+ processingState: z.ZodRecord<z.ZodString, z.ZodObject<{
5531
+ status: z.ZodEnum<{
5532
+ error: "error";
5533
+ success: "success";
5534
+ running: "running";
5535
+ no_result: "no_result";
5536
+ skipped: "skipped";
5537
+ }>;
5538
+ attemptId: z.ZodString;
5539
+ executionId: z.ZodNullable<z.ZodString>;
5540
+ attemptedAt: z.ZodString;
5541
+ data: z.ZodOptional<z.ZodUnknown>;
5542
+ }, z.core.$loose>>;
5543
+ createdAt: z.ZodString;
5544
+ updatedAt: z.ZodString;
5545
+ }, z.core.$strip>;
5546
+ /**
5547
+ * Required fields match the live DDL exactly: `kind` and `title` are the
5548
+ * only `NOT NULL` columns besides `organization_id`, which is never a
5549
+ * request field (see module note above). `externalUrl`, `storagePath`,
5550
+ * `durationSeconds`, `metadata`, and `payload` are all nullable/defaulted
5551
+ * at the column level, so all are optional here.
5552
+ */
5553
+ declare const CreateContentSourceAssetRequestSchema: z.ZodObject<{
5554
+ kind: z.ZodString;
5555
+ title: z.ZodString;
5556
+ externalUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5557
+ storagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5558
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5559
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5560
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5561
+ }, z.core.$strict>;
5562
+ declare const UpdateContentSourceAssetRequestSchema: z.ZodObject<{
5563
+ kind: z.ZodOptional<z.ZodString>;
5564
+ title: z.ZodOptional<z.ZodString>;
5565
+ externalUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5566
+ storagePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5567
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5568
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5569
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5570
+ }, z.core.$strict>;
5458
5571
  declare const ListContentDistributionsQuerySchema: z.ZodObject<{
5459
5572
  contentItemId: z.ZodOptional<z.ZodString>;
5460
5573
  platform: z.ZodOptional<z.ZodString>;
@@ -5477,9 +5590,13 @@ declare const ContentDistributionResponseSchema: z.ZodObject<{
5477
5590
  status: z.ZodEnum<{
5478
5591
  error: "error";
5479
5592
  success: "success";
5593
+ running: "running";
5480
5594
  no_result: "no_result";
5481
5595
  skipped: "skipped";
5482
5596
  }>;
5597
+ attemptId: z.ZodString;
5598
+ executionId: z.ZodNullable<z.ZodString>;
5599
+ attemptedAt: z.ZodString;
5483
5600
  data: z.ZodOptional<z.ZodUnknown>;
5484
5601
  }, z.core.$loose>>;
5485
5602
  publishMethod: z.ZodNullable<z.ZodString>;
@@ -5507,9 +5624,13 @@ declare const ContentDistributionListResponseSchema: z.ZodObject<{
5507
5624
  status: z.ZodEnum<{
5508
5625
  error: "error";
5509
5626
  success: "success";
5627
+ running: "running";
5510
5628
  no_result: "no_result";
5511
5629
  skipped: "skipped";
5512
5630
  }>;
5631
+ attemptId: z.ZodString;
5632
+ executionId: z.ZodNullable<z.ZodString>;
5633
+ attemptedAt: z.ZodString;
5513
5634
  data: z.ZodOptional<z.ZodUnknown>;
5514
5635
  }, z.core.$loose>>;
5515
5636
  publishMethod: z.ZodNullable<z.ZodString>;
@@ -5550,6 +5671,10 @@ type ContentItemReviewDecision = z.infer<typeof ContentItemReviewDecisionSchema>
5550
5671
  type ReviewContentItemRequest = z.infer<typeof ReviewContentItemRequestSchema>;
5551
5672
  type ContentItemAttemptResponse = z.infer<typeof ContentItemAttemptResponseSchema>;
5552
5673
  type ContentItemAttemptListResponse = z.infer<typeof ContentItemAttemptListResponseSchema>;
5674
+ type ContentSourceAssetKind = z.infer<typeof ContentSourceAssetKindSchema>;
5675
+ type ContentSourceAssetResponse = z.infer<typeof ContentSourceAssetResponseSchema>;
5676
+ type CreateContentSourceAssetRequest = z.infer<typeof CreateContentSourceAssetRequestSchema>;
5677
+ type UpdateContentSourceAssetRequest = z.infer<typeof UpdateContentSourceAssetRequestSchema>;
5553
5678
  type ListContentDistributionsQuery = z.infer<typeof ListContentDistributionsQuerySchema>;
5554
5679
  type ContentDistributionResponse = z.infer<typeof ContentDistributionResponseSchema>;
5555
5680
  type ContentDistributionListResponse = z.infer<typeof ContentDistributionListResponseSchema>;
@@ -6845,7 +6970,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
6845
6970
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
6846
6971
  route: z.ZodOptional<z.ZodString>;
6847
6972
  }, z.core.$loose>>>>;
6848
- }, z.core.$strip>>>;
6973
+ }, z.core.$strict>>>;
6849
6974
  resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
6850
6975
  id: z.ZodString;
6851
6976
  order: z.ZodDefault<z.ZodNumber>;
@@ -7537,8 +7662,34 @@ interface CommandViewStatsResponse {
7537
7662
  generatedAt: string;
7538
7663
  }
7539
7664
 
7540
- 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';
7541
- type ActivityStatus = 'success' | 'failure' | 'pending' | 'approved' | 'rejected' | 'completed';
7665
+ /**
7666
+ * Every kind of activity the platform records.
7667
+ *
7668
+ * This array is the single TypeScript-side source for the catalog: `ActivityType` is
7669
+ * derived from it, and `ActivityTypeSchema` in `api-schemas.ts` builds its Zod enum
7670
+ * from it rather than repeating the list. It is also what the database CHECK constraint
7671
+ * `activities_activity_type_check` must match exactly.
7672
+ *
7673
+ * A value here that the constraint does not allow raises `23514` on every write, and
7674
+ * because activity writes are best-effort the rejection is silent. That is not
7675
+ * hypothetical: `credential_read` and `agent_access_grant_change` were both in this list
7676
+ * and absent from the constraint, so neither had ever recorded a single row on either
7677
+ * database. `activity-catalog-sync.integration.test.ts` is the gate that now catches it.
7678
+ */
7679
+ 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"];
7680
+ type ActivityType = (typeof ACTIVITY_TYPES)[number];
7681
+ /** Mirrors the `activities_status_check` constraint; same two-place risk as ACTIVITY_TYPES. */
7682
+ declare const ACTIVITY_STATUSES: readonly ["success", "failure", "pending", "approved", "rejected", "completed"];
7683
+ type ActivityStatus = (typeof ACTIVITY_STATUSES)[number];
7684
+ /**
7685
+ * What kind of actor performed an action.
7686
+ *
7687
+ * `'user'` reads `actorId` (FK to users), `'api_key'` reads `actorApiKeyId` (FK to api_keys),
7688
+ * and `'system'` reads neither. The two id columns are deliberately separate rather than one
7689
+ * polymorphic column, so the database keeps checking both referents.
7690
+ */
7691
+ declare const ACTOR_TYPES: readonly ["user", "system", "api_key"];
7692
+ type ActorType = (typeof ACTOR_TYPES)[number];
7542
7693
  interface Activity {
7543
7694
  id: string;
7544
7695
  organizationId: string;
@@ -7550,8 +7701,12 @@ interface Activity {
7550
7701
  entityId: string;
7551
7702
  entityName: string | null;
7552
7703
  metadata: Record<string, unknown> | null;
7704
+ /** Set when actorType is 'user'. FK to users(id). */
7553
7705
  actorId: string | null;
7554
- actorType: string | null;
7706
+ /** Set when actorType is 'api_key'. FK to api_keys(id). */
7707
+ actorApiKeyId: string | null;
7708
+ /** Discriminator saying which of the two id fields above to read. */
7709
+ actorType: ActorType | null;
7555
7710
  occurredAt: Date;
7556
7711
  createdAt: Date;
7557
7712
  }
@@ -9393,6 +9548,18 @@ declare function useDeleteClient(): _tanstack_react_query.UseMutationResult<void
9393
9548
 
9394
9549
  type ContentItemsListFilters = Partial<Pick<ListContentItemsQuery, 'status' | 'pillar' | 'pipelineId' | 'clientId' | 'reviewedBy' | 'search' | 'limit' | 'offset'>>;
9395
9550
  type ContentDistributionsListFilters = Partial<Pick<ListContentDistributionsQuery, 'contentItemId' | 'platform' | 'status' | 'limit' | 'offset'>>;
9551
+ /**
9552
+ * `ListContentSourceAssetsQuery` is declared route-locally in
9553
+ * `apps/api/src/business/content/routes.ts` (not exported from `@repo/core/content` --
9554
+ * per Wave 1's report, ID-params and list-query schemas for source assets are
9555
+ * deliberately route-internal), so this filter shape is hand-kept rather than derived
9556
+ * from a shared type. Keep it in sync with `ListContentSourceAssetsQuerySchema`.
9557
+ */
9558
+ type ContentSourceAssetsListFilters = Partial<{
9559
+ kind: string;
9560
+ limit: number;
9561
+ offset: number;
9562
+ }>;
9396
9563
  declare const contentKeys: {
9397
9564
  all: readonly ["content"];
9398
9565
  items: () => readonly ["content", "items"];
@@ -9417,6 +9584,13 @@ declare const contentKeys: {
9417
9584
  status?: string | undefined;
9418
9585
  }, "limit" | "offset" | "platform" | "status" | "contentItemId">>];
9419
9586
  distributionDetail: (organizationId: WorkOsOrgId | null | undefined, distributionId: string | undefined) => readonly ["content", "distributions", "detail", WorkOsOrgId | null | undefined, string | undefined];
9587
+ sourceAssets: () => readonly ["content", "source-assets"];
9588
+ sourceAssetsList: (organizationId: WorkOsOrgId | null | undefined, filters: ContentSourceAssetsListFilters) => readonly ["content", "source-assets", "list", WorkOsOrgId | null | undefined, Partial<{
9589
+ kind: string;
9590
+ limit: number;
9591
+ offset: number;
9592
+ }>];
9593
+ sourceAssetDetail: (organizationId: WorkOsOrgId | null | undefined, sourceAssetId: string | undefined) => readonly ["content", "source-assets", "detail", WorkOsOrgId | null | undefined, string | undefined];
9420
9594
  };
9421
9595
 
9422
9596
  declare function useContentItems(filters?: ContentItemsListFilters): _tanstack_react_query.UseQueryResult<{
@@ -9433,7 +9607,10 @@ declare function useContentItems(filters?: ContentItemsListFilters): _tanstack_r
9433
9607
  sourceAssetId: string | null;
9434
9608
  processingState: Record<string, {
9435
9609
  [x: string]: unknown;
9436
- status: "error" | "success" | "no_result" | "skipped";
9610
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9611
+ attemptId: string;
9612
+ executionId: string | null;
9613
+ attemptedAt: string;
9437
9614
  data?: unknown;
9438
9615
  }>;
9439
9616
  reviewedAt: string | null;
@@ -9463,7 +9640,10 @@ declare function useContentItem(itemId: string | undefined): _tanstack_react_que
9463
9640
  sourceAssetId: string | null;
9464
9641
  processingState: Record<string, {
9465
9642
  [x: string]: unknown;
9466
- status: "error" | "success" | "no_result" | "skipped";
9643
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9644
+ attemptId: string;
9645
+ executionId: string | null;
9646
+ attemptedAt: string;
9467
9647
  data?: unknown;
9468
9648
  }>;
9469
9649
  reviewedAt: string | null;
@@ -9490,6 +9670,7 @@ declare function useContentItemAttempts(itemId: string | undefined): _tanstack_r
9490
9670
  contentItemId: string;
9491
9671
  attemptNumber: number;
9492
9672
  stepKey: string | null;
9673
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9493
9674
  payload: unknown;
9494
9675
  sourceExecutionId: string | null;
9495
9676
  createdBy: string | null;
@@ -9517,7 +9698,10 @@ declare function useContentDistributions(filters?: ContentDistributionsListFilte
9517
9698
  mediaUrls: unknown[];
9518
9699
  processingState: Record<string, {
9519
9700
  [x: string]: unknown;
9520
- status: "error" | "success" | "no_result" | "skipped";
9701
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9702
+ attemptId: string;
9703
+ executionId: string | null;
9704
+ attemptedAt: string;
9521
9705
  data?: unknown;
9522
9706
  }>;
9523
9707
  publishMethod: string | null;
@@ -9549,7 +9733,10 @@ declare function useContentDistribution(distributionId: string | undefined): _ta
9549
9733
  mediaUrls: unknown[];
9550
9734
  processingState: Record<string, {
9551
9735
  [x: string]: unknown;
9552
- status: "error" | "success" | "no_result" | "skipped";
9736
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9737
+ attemptId: string;
9738
+ executionId: string | null;
9739
+ attemptedAt: string;
9553
9740
  data?: unknown;
9554
9741
  }>;
9555
9742
  publishMethod: string | null;
@@ -9580,7 +9767,10 @@ declare function useUpdateContentItem(): _tanstack_react_query.UseMutationResult
9580
9767
  sourceAssetId: string | null;
9581
9768
  processingState: Record<string, {
9582
9769
  [x: string]: unknown;
9583
- status: "error" | "success" | "no_result" | "skipped";
9770
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9771
+ attemptId: string;
9772
+ executionId: string | null;
9773
+ attemptedAt: string;
9584
9774
  data?: unknown;
9585
9775
  }>;
9586
9776
  reviewedAt: string | null;
@@ -9618,7 +9808,10 @@ declare function useUpdateContentDistribution(): _tanstack_react_query.UseMutati
9618
9808
  mediaUrls: unknown[];
9619
9809
  processingState: Record<string, {
9620
9810
  [x: string]: unknown;
9621
- status: "error" | "success" | "no_result" | "skipped";
9811
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9812
+ attemptId: string;
9813
+ executionId: string | null;
9814
+ attemptedAt: string;
9622
9815
  data?: unknown;
9623
9816
  }>;
9624
9817
  publishMethod: string | null;
@@ -9652,7 +9845,10 @@ declare function useReviewContentItem(): _tanstack_react_query.UseMutationResult
9652
9845
  sourceAssetId: string | null;
9653
9846
  processingState: Record<string, {
9654
9847
  [x: string]: unknown;
9655
- status: "error" | "success" | "no_result" | "skipped";
9848
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9849
+ attemptId: string;
9850
+ executionId: string | null;
9851
+ attemptedAt: string;
9656
9852
  data?: unknown;
9657
9853
  }>;
9658
9854
  reviewedAt: string | null;
@@ -9665,6 +9861,106 @@ declare function useReviewContentItem(): _tanstack_react_query.UseMutationResult
9665
9861
  updatedAt: string;
9666
9862
  }, Error, ReviewContentItemParams, unknown>;
9667
9863
 
9864
+ /**
9865
+ * No exported type for this response exists on `@repo/core/content` -- like its filter
9866
+ * shape (see `queryKeys.ts`), the list-response schema is declared route-locally in
9867
+ * `apps/api/src/business/content/routes.ts`. Shape matches every other paginated content
9868
+ * list response: `{ data, total, limit, offset }`.
9869
+ */
9870
+ interface ContentSourceAssetListResponse {
9871
+ data: ContentSourceAssetResponse[];
9872
+ total: number;
9873
+ limit: number;
9874
+ offset: number;
9875
+ }
9876
+ /** GET `/content/source-assets` -- filters `kind`, `limit`, `offset`. */
9877
+ declare function useContentSourceAssets(filters?: ContentSourceAssetsListFilters): _tanstack_react_query.UseQueryResult<ContentSourceAssetListResponse, Error>;
9878
+
9879
+ /** GET `/content/source-assets/:sourceAssetId`. */
9880
+ declare function useContentSourceAsset(sourceAssetId: string | undefined): _tanstack_react_query.UseQueryResult<{
9881
+ id: string;
9882
+ organizationId: string;
9883
+ kind: string;
9884
+ title: string;
9885
+ externalUrl: string | null;
9886
+ storagePath: string | null;
9887
+ durationSeconds: number | null;
9888
+ metadata: unknown;
9889
+ payload: unknown;
9890
+ processingState: Record<string, {
9891
+ [x: string]: unknown;
9892
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9893
+ attemptId: string;
9894
+ executionId: string | null;
9895
+ attemptedAt: string;
9896
+ data?: unknown;
9897
+ }>;
9898
+ createdAt: string;
9899
+ updatedAt: string;
9900
+ }, Error>;
9901
+
9902
+ /**
9903
+ * POST `/content/source-assets` -- `kind` and `title` are the only required fields;
9904
+ * `organizationId` is never sent, it is injected server-side from the authenticated
9905
+ * context (see `content-source-asset-write-path.mdx` Step 2).
9906
+ */
9907
+ declare function useCreateContentSourceAsset(): _tanstack_react_query.UseMutationResult<{
9908
+ id: string;
9909
+ organizationId: string;
9910
+ kind: string;
9911
+ title: string;
9912
+ externalUrl: string | null;
9913
+ storagePath: string | null;
9914
+ durationSeconds: number | null;
9915
+ metadata: unknown;
9916
+ payload: unknown;
9917
+ processingState: Record<string, {
9918
+ [x: string]: unknown;
9919
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9920
+ attemptId: string;
9921
+ executionId: string | null;
9922
+ attemptedAt: string;
9923
+ data?: unknown;
9924
+ }>;
9925
+ createdAt: string;
9926
+ updatedAt: string;
9927
+ }, Error, {
9928
+ kind: string;
9929
+ title: string;
9930
+ externalUrl?: string | null | undefined;
9931
+ storagePath?: string | null | undefined;
9932
+ durationSeconds?: number | null | undefined;
9933
+ metadata?: Record<string, unknown> | undefined;
9934
+ payload?: Record<string, unknown> | undefined;
9935
+ }, unknown>;
9936
+
9937
+ interface UpdateContentSourceAssetParams {
9938
+ sourceAssetId: string;
9939
+ updates: UpdateContentSourceAssetRequest;
9940
+ }
9941
+ /** PATCH `/content/source-assets/:sourceAssetId`. */
9942
+ declare function useUpdateContentSourceAsset(): _tanstack_react_query.UseMutationResult<{
9943
+ id: string;
9944
+ organizationId: string;
9945
+ kind: string;
9946
+ title: string;
9947
+ externalUrl: string | null;
9948
+ storagePath: string | null;
9949
+ durationSeconds: number | null;
9950
+ metadata: unknown;
9951
+ payload: unknown;
9952
+ processingState: Record<string, {
9953
+ [x: string]: unknown;
9954
+ status: "error" | "success" | "running" | "no_result" | "skipped";
9955
+ attemptId: string;
9956
+ executionId: string | null;
9957
+ attemptedAt: string;
9958
+ data?: unknown;
9959
+ }>;
9960
+ createdAt: string;
9961
+ updatedAt: string;
9962
+ }, Error, UpdateContentSourceAssetParams, unknown>;
9963
+
9668
9964
  interface ContentPipelineSummary {
9669
9965
  /** Item count per declared status key. */
9670
9966
  countsByStatus: Record<string, number>;
@@ -12553,5 +12849,5 @@ declare function useCreateNote(): _tanstack_react_query.UseMutationResult<{
12553
12849
  type?: string;
12554
12850
  }, "organization_id">, unknown>;
12555
12851
 
12556
- 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, 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 };
12557
- 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, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSystemHealthParams, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WorkflowExecutionTriggerParams };
12852
+ 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 };
12853
+ 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 };