@elevasis/ui 2.70.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.
- package/dist/app/index.d.ts +26 -0
- package/dist/app/index.js +5 -5
- package/dist/auth/index.js +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/{chunk-LWYLZUUV.js → chunk-3BLYJT5L.js} +2 -2
- package/dist/{chunk-QDMIFD6F.js → chunk-AIOV5NM7.js} +1 -1
- package/dist/{chunk-TJMZUL6E.js → chunk-BM2WKRAQ.js} +1 -1
- package/dist/{chunk-DUEGHF7A.js → chunk-CPBT6Z2G.js} +2 -2
- package/dist/{chunk-SMH6SQQE.js → chunk-DCMFNSJ6.js} +1 -1
- package/dist/{chunk-GJQF3S2Q.js → chunk-DH2MO5DX.js} +1 -1
- package/dist/{chunk-5C62IRKS.js → chunk-H3SDGC5F.js} +2 -2
- package/dist/{chunk-XKUEO4HG.js → chunk-JTSNU6KA.js} +2 -2
- package/dist/{chunk-LY3IKYTZ.js → chunk-LL5H7J4N.js} +1 -1
- package/dist/{chunk-AGX2CY2O.js → chunk-TB2PM2OU.js} +1 -1
- package/dist/{chunk-CCZJ4OWY.js → chunk-TCQZ4AJI.js} +1 -1
- package/dist/{chunk-GZADST64.js → chunk-TVFSVTRG.js} +5 -5
- package/dist/{chunk-6TT3FQEZ.js → chunk-UZ7MSORW.js} +101 -4
- package/dist/{chunk-MFCV4JMQ.js → chunk-VHPHWTX7.js} +2 -2
- package/dist/{chunk-JA2XDMAE.js → chunk-VRRIHA3S.js} +1 -1
- package/dist/components/index.d.ts +59 -3
- package/dist/components/index.js +19 -19
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.d.ts +26 -0
- package/dist/features/auth/index.js +3 -3
- package/dist/features/clients/index.js +2 -2
- package/dist/features/content/index.d.ts +95 -78
- package/dist/features/content/index.js +61 -19
- package/dist/features/crm/index.d.ts +26 -0
- package/dist/features/crm/index.js +3 -3
- package/dist/features/dashboard/index.js +3 -3
- package/dist/features/delivery/index.d.ts +26 -0
- package/dist/features/delivery/index.js +2 -2
- package/dist/features/knowledge/index.js +1 -1
- package/dist/features/lead-gen/index.js +3 -3
- package/dist/features/monitoring/index.d.ts +33 -3
- package/dist/features/monitoring/index.js +4 -4
- package/dist/features/monitoring/requests/index.js +2 -2
- package/dist/features/operations/index.js +6 -6
- package/dist/features/settings/index.d.ts +26 -0
- package/dist/features/settings/index.js +3 -3
- package/dist/hooks/access/index.js +1 -1
- package/dist/hooks/delivery/index.d.ts +26 -0
- package/dist/hooks/index.d.ts +301 -12
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/published.d.ts +301 -12
- package/dist/hooks/published.js +1 -1
- package/dist/initialization/index.d.ts +26 -0
- package/dist/knowledge/index.js +5 -5
- package/dist/layout/index.js +4 -4
- package/dist/profile/index.d.ts +26 -0
- package/dist/provider/index.d.ts +26 -0
- package/dist/provider/index.js +1 -1
- package/dist/provider/published.d.ts +26 -0
- package/dist/provider/published.js +1 -1
- package/dist/supabase/index.d.ts +50 -0
- package/dist/types/index.d.ts +59 -3
- package/package.json +4 -4
package/dist/hooks/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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,76 @@ 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 (`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>;
|
|
5458
5564
|
declare const ListContentDistributionsQuerySchema: z.ZodObject<{
|
|
5459
5565
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
5460
5566
|
platform: z.ZodOptional<z.ZodString>;
|
|
@@ -5477,9 +5583,13 @@ declare const ContentDistributionResponseSchema: z.ZodObject<{
|
|
|
5477
5583
|
status: z.ZodEnum<{
|
|
5478
5584
|
error: "error";
|
|
5479
5585
|
success: "success";
|
|
5586
|
+
running: "running";
|
|
5480
5587
|
no_result: "no_result";
|
|
5481
5588
|
skipped: "skipped";
|
|
5482
5589
|
}>;
|
|
5590
|
+
attemptId: z.ZodString;
|
|
5591
|
+
executionId: z.ZodNullable<z.ZodString>;
|
|
5592
|
+
attemptedAt: z.ZodString;
|
|
5483
5593
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
5484
5594
|
}, z.core.$loose>>;
|
|
5485
5595
|
publishMethod: z.ZodNullable<z.ZodString>;
|
|
@@ -5507,9 +5617,13 @@ declare const ContentDistributionListResponseSchema: z.ZodObject<{
|
|
|
5507
5617
|
status: z.ZodEnum<{
|
|
5508
5618
|
error: "error";
|
|
5509
5619
|
success: "success";
|
|
5620
|
+
running: "running";
|
|
5510
5621
|
no_result: "no_result";
|
|
5511
5622
|
skipped: "skipped";
|
|
5512
5623
|
}>;
|
|
5624
|
+
attemptId: z.ZodString;
|
|
5625
|
+
executionId: z.ZodNullable<z.ZodString>;
|
|
5626
|
+
attemptedAt: z.ZodString;
|
|
5513
5627
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
5514
5628
|
}, z.core.$loose>>;
|
|
5515
5629
|
publishMethod: z.ZodNullable<z.ZodString>;
|
|
@@ -5550,6 +5664,10 @@ type ContentItemReviewDecision = z.infer<typeof ContentItemReviewDecisionSchema>
|
|
|
5550
5664
|
type ReviewContentItemRequest = z.infer<typeof ReviewContentItemRequestSchema>;
|
|
5551
5665
|
type ContentItemAttemptResponse = z.infer<typeof ContentItemAttemptResponseSchema>;
|
|
5552
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>;
|
|
5553
5671
|
type ListContentDistributionsQuery = z.infer<typeof ListContentDistributionsQuerySchema>;
|
|
5554
5672
|
type ContentDistributionResponse = z.infer<typeof ContentDistributionResponseSchema>;
|
|
5555
5673
|
type ContentDistributionListResponse = z.infer<typeof ContentDistributionListResponseSchema>;
|
|
@@ -7537,8 +7655,34 @@ interface CommandViewStatsResponse {
|
|
|
7537
7655
|
generatedAt: string;
|
|
7538
7656
|
}
|
|
7539
7657
|
|
|
7540
|
-
|
|
7541
|
-
|
|
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];
|
|
7542
7686
|
interface Activity {
|
|
7543
7687
|
id: string;
|
|
7544
7688
|
organizationId: string;
|
|
@@ -7550,8 +7694,12 @@ interface Activity {
|
|
|
7550
7694
|
entityId: string;
|
|
7551
7695
|
entityName: string | null;
|
|
7552
7696
|
metadata: Record<string, unknown> | null;
|
|
7697
|
+
/** Set when actorType is 'user'. FK to users(id). */
|
|
7553
7698
|
actorId: string | null;
|
|
7554
|
-
actorType
|
|
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;
|
|
7555
7703
|
occurredAt: Date;
|
|
7556
7704
|
createdAt: Date;
|
|
7557
7705
|
}
|
|
@@ -9393,6 +9541,18 @@ declare function useDeleteClient(): _tanstack_react_query.UseMutationResult<void
|
|
|
9393
9541
|
|
|
9394
9542
|
type ContentItemsListFilters = Partial<Pick<ListContentItemsQuery, 'status' | 'pillar' | 'pipelineId' | 'clientId' | 'reviewedBy' | 'search' | 'limit' | 'offset'>>;
|
|
9395
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
|
+
}>;
|
|
9396
9556
|
declare const contentKeys: {
|
|
9397
9557
|
all: readonly ["content"];
|
|
9398
9558
|
items: () => readonly ["content", "items"];
|
|
@@ -9417,6 +9577,13 @@ declare const contentKeys: {
|
|
|
9417
9577
|
status?: string | undefined;
|
|
9418
9578
|
}, "limit" | "offset" | "platform" | "status" | "contentItemId">>];
|
|
9419
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];
|
|
9420
9587
|
};
|
|
9421
9588
|
|
|
9422
9589
|
declare function useContentItems(filters?: ContentItemsListFilters): _tanstack_react_query.UseQueryResult<{
|
|
@@ -9433,7 +9600,10 @@ declare function useContentItems(filters?: ContentItemsListFilters): _tanstack_r
|
|
|
9433
9600
|
sourceAssetId: string | null;
|
|
9434
9601
|
processingState: Record<string, {
|
|
9435
9602
|
[x: string]: unknown;
|
|
9436
|
-
status: "error" | "success" | "no_result" | "skipped";
|
|
9603
|
+
status: "error" | "success" | "running" | "no_result" | "skipped";
|
|
9604
|
+
attemptId: string;
|
|
9605
|
+
executionId: string | null;
|
|
9606
|
+
attemptedAt: string;
|
|
9437
9607
|
data?: unknown;
|
|
9438
9608
|
}>;
|
|
9439
9609
|
reviewedAt: string | null;
|
|
@@ -9463,7 +9633,10 @@ declare function useContentItem(itemId: string | undefined): _tanstack_react_que
|
|
|
9463
9633
|
sourceAssetId: string | null;
|
|
9464
9634
|
processingState: Record<string, {
|
|
9465
9635
|
[x: string]: unknown;
|
|
9466
|
-
status: "error" | "success" | "no_result" | "skipped";
|
|
9636
|
+
status: "error" | "success" | "running" | "no_result" | "skipped";
|
|
9637
|
+
attemptId: string;
|
|
9638
|
+
executionId: string | null;
|
|
9639
|
+
attemptedAt: string;
|
|
9467
9640
|
data?: unknown;
|
|
9468
9641
|
}>;
|
|
9469
9642
|
reviewedAt: string | null;
|
|
@@ -9490,6 +9663,7 @@ declare function useContentItemAttempts(itemId: string | undefined): _tanstack_r
|
|
|
9490
9663
|
contentItemId: string;
|
|
9491
9664
|
attemptNumber: number;
|
|
9492
9665
|
stepKey: string | null;
|
|
9666
|
+
status: "error" | "success" | "running" | "no_result" | "skipped";
|
|
9493
9667
|
payload: unknown;
|
|
9494
9668
|
sourceExecutionId: string | null;
|
|
9495
9669
|
createdBy: string | null;
|
|
@@ -9517,7 +9691,10 @@ declare function useContentDistributions(filters?: ContentDistributionsListFilte
|
|
|
9517
9691
|
mediaUrls: unknown[];
|
|
9518
9692
|
processingState: Record<string, {
|
|
9519
9693
|
[x: string]: unknown;
|
|
9520
|
-
status: "error" | "success" | "no_result" | "skipped";
|
|
9694
|
+
status: "error" | "success" | "running" | "no_result" | "skipped";
|
|
9695
|
+
attemptId: string;
|
|
9696
|
+
executionId: string | null;
|
|
9697
|
+
attemptedAt: string;
|
|
9521
9698
|
data?: unknown;
|
|
9522
9699
|
}>;
|
|
9523
9700
|
publishMethod: string | null;
|
|
@@ -9549,7 +9726,10 @@ declare function useContentDistribution(distributionId: string | undefined): _ta
|
|
|
9549
9726
|
mediaUrls: unknown[];
|
|
9550
9727
|
processingState: Record<string, {
|
|
9551
9728
|
[x: string]: unknown;
|
|
9552
|
-
status: "error" | "success" | "no_result" | "skipped";
|
|
9729
|
+
status: "error" | "success" | "running" | "no_result" | "skipped";
|
|
9730
|
+
attemptId: string;
|
|
9731
|
+
executionId: string | null;
|
|
9732
|
+
attemptedAt: string;
|
|
9553
9733
|
data?: unknown;
|
|
9554
9734
|
}>;
|
|
9555
9735
|
publishMethod: string | null;
|
|
@@ -9580,7 +9760,10 @@ declare function useUpdateContentItem(): _tanstack_react_query.UseMutationResult
|
|
|
9580
9760
|
sourceAssetId: string | null;
|
|
9581
9761
|
processingState: Record<string, {
|
|
9582
9762
|
[x: string]: unknown;
|
|
9583
|
-
status: "error" | "success" | "no_result" | "skipped";
|
|
9763
|
+
status: "error" | "success" | "running" | "no_result" | "skipped";
|
|
9764
|
+
attemptId: string;
|
|
9765
|
+
executionId: string | null;
|
|
9766
|
+
attemptedAt: string;
|
|
9584
9767
|
data?: unknown;
|
|
9585
9768
|
}>;
|
|
9586
9769
|
reviewedAt: string | null;
|
|
@@ -9618,7 +9801,10 @@ declare function useUpdateContentDistribution(): _tanstack_react_query.UseMutati
|
|
|
9618
9801
|
mediaUrls: unknown[];
|
|
9619
9802
|
processingState: Record<string, {
|
|
9620
9803
|
[x: string]: unknown;
|
|
9621
|
-
status: "error" | "success" | "no_result" | "skipped";
|
|
9804
|
+
status: "error" | "success" | "running" | "no_result" | "skipped";
|
|
9805
|
+
attemptId: string;
|
|
9806
|
+
executionId: string | null;
|
|
9807
|
+
attemptedAt: string;
|
|
9622
9808
|
data?: unknown;
|
|
9623
9809
|
}>;
|
|
9624
9810
|
publishMethod: string | null;
|
|
@@ -9652,7 +9838,10 @@ declare function useReviewContentItem(): _tanstack_react_query.UseMutationResult
|
|
|
9652
9838
|
sourceAssetId: string | null;
|
|
9653
9839
|
processingState: Record<string, {
|
|
9654
9840
|
[x: string]: unknown;
|
|
9655
|
-
status: "error" | "success" | "no_result" | "skipped";
|
|
9841
|
+
status: "error" | "success" | "running" | "no_result" | "skipped";
|
|
9842
|
+
attemptId: string;
|
|
9843
|
+
executionId: string | null;
|
|
9844
|
+
attemptedAt: string;
|
|
9656
9845
|
data?: unknown;
|
|
9657
9846
|
}>;
|
|
9658
9847
|
reviewedAt: string | null;
|
|
@@ -9665,6 +9854,106 @@ declare function useReviewContentItem(): _tanstack_react_query.UseMutationResult
|
|
|
9665
9854
|
updatedAt: string;
|
|
9666
9855
|
}, Error, ReviewContentItemParams, unknown>;
|
|
9667
9856
|
|
|
9857
|
+
/**
|
|
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 }`.
|
|
9862
|
+
*/
|
|
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
|
+
|
|
9895
|
+
/**
|
|
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).
|
|
9899
|
+
*/
|
|
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>;
|
|
9956
|
+
|
|
9668
9957
|
interface ContentPipelineSummary {
|
|
9669
9958
|
/** Item count per declared status key. */
|
|
9670
9959
|
countsByStatus: Record<string, number>;
|
|
@@ -12553,5 +12842,5 @@ declare function useCreateNote(): _tanstack_react_query.UseMutationResult<{
|
|
|
12553
12842
|
type?: string;
|
|
12554
12843
|
}, "organization_id">, unknown>;
|
|
12555
12844
|
|
|
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 };
|
|
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 };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, contentKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, observabilityKeys, operationsKeys, pickLatestRunAt, projectActivityKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, sumStatusCounts, 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, useCreateList, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, 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, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationModelDrift, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProjectActivities, useProjectRealtime, 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, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateContentDistribution, useUpdateContentItem, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from '../chunk-
|
|
1
|
+
export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, contentKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, observabilityKeys, operationsKeys, pickLatestRunAt, projectActivityKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, sumStatusCounts, 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, useCreateList, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, 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, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationModelDrift, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProjectActivities, useProjectRealtime, 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, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentSourceAsset, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from '../chunk-UZ7MSORW.js';
|
|
2
2
|
import '../chunk-R6NMRXNO.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
4
|
import '../chunk-MKH2KOAO.js';
|