@elevasis/ui 2.30.0 → 2.32.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/api/index.js +2 -2
- package/dist/app/index.css +38 -0
- package/dist/app/index.d.ts +190 -9
- package/dist/app/index.js +7 -6
- package/dist/charts/index.js +4 -5
- package/dist/{chunk-HXZQWMKE.js → chunk-2RJMVWFJ.js} +1 -6
- package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
- package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
- package/dist/{chunk-JKTPRYGV.js → chunk-4MFNGNHF.js} +123 -192
- package/dist/{chunk-HYLERWRO.js → chunk-4QK76KIF.js} +7 -7
- package/dist/chunk-5FJJ72HU.js +13 -0
- package/dist/chunk-5J4PDX26.js +112 -0
- package/dist/{chunk-4SY6BTVZ.js → chunk-6DWD423K.js} +12 -9
- package/dist/{chunk-3GV5NHSS.js → chunk-7KZINJLP.js} +78 -232
- package/dist/{chunk-6WXDE5LZ.js → chunk-EPTHX4VZ.js} +1 -1
- package/dist/{chunk-6EFVZV6X.js → chunk-GCOQ3TBG.js} +243 -254
- package/dist/{chunk-LRZFLK2F.js → chunk-IQHU7O5Y.js} +4 -4
- package/dist/{chunk-X2SUMO3P.js → chunk-IZWTVFJ2.js} +16 -3
- package/dist/{chunk-IKQ42WHU.js → chunk-JFL3GRD4.js} +1 -1
- package/dist/{chunk-4FZYEEPK.js → chunk-LLRXA7D7.js} +5 -6
- package/dist/chunk-MOY4VOHF.js +347 -0
- package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
- package/dist/{chunk-7E3FUTND.js → chunk-ND5TDV2J.js} +1 -1
- package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
- package/dist/{chunk-A7B7HLDF.js → chunk-QTI3KC7D.js} +5884 -515
- package/dist/chunk-QXCDKE2O.js +486 -0
- package/dist/chunk-R2XR4FCV.js +48 -0
- package/dist/chunk-R66W5UDG.js +26 -0
- package/dist/{chunk-T5Z7G2J2.js → chunk-RQA2EVN3.js} +6 -16
- package/dist/{chunk-SKXXT3E2.js → chunk-RQTWIXJ5.js} +4 -4
- package/dist/chunk-T35FWDAB.js +4342 -0
- package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
- package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
- package/dist/{chunk-JCGD4GM6.js → chunk-UROTM5OR.js} +14 -1
- package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
- package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
- package/dist/{chunk-SBCIB5TZ.js → chunk-VRNMNB3O.js} +6 -7
- package/dist/chunk-WQPX44YM.js +1626 -0
- package/dist/{chunk-T2PAD63Y.js → chunk-XZGSCABI.js} +1 -1
- package/dist/chunk-YLQEVSOR.js +299 -0
- package/dist/{chunk-P5WYW2GI.js → chunk-ZQOKIGZP.js} +152 -306
- package/dist/components/index.css +38 -0
- package/dist/components/index.d.ts +334 -38
- package/dist/components/index.js +42 -42
- package/dist/components/navigation/index.css +38 -0
- package/dist/components/navigation/index.js +3 -2
- package/dist/execution/index.d.ts +9 -3
- package/dist/features/auth/index.css +38 -0
- package/dist/features/auth/index.d.ts +212 -14
- package/dist/features/auth/index.js +41 -9
- package/dist/features/clients/index.css +649 -0
- package/dist/features/clients/index.d.ts +86 -0
- package/dist/features/clients/index.js +720 -0
- package/dist/features/crm/index.css +38 -0
- package/dist/features/crm/index.d.ts +228 -20
- package/dist/features/crm/index.js +20 -17
- package/dist/features/dashboard/index.css +38 -0
- package/dist/features/dashboard/index.d.ts +78 -3
- package/dist/features/dashboard/index.js +16 -16
- package/dist/features/delivery/index.css +38 -0
- package/dist/features/delivery/index.d.ts +201 -18
- package/dist/features/delivery/index.js +20 -18
- package/dist/features/knowledge/index.css +38 -0
- package/dist/features/knowledge/index.d.ts +20 -18
- package/dist/features/knowledge/index.js +116 -578
- package/dist/features/lead-gen/index.css +38 -0
- package/dist/features/lead-gen/index.d.ts +59 -51
- package/dist/features/lead-gen/index.js +20 -18
- package/dist/features/monitoring/index.css +38 -0
- package/dist/features/monitoring/index.d.ts +20 -18
- package/dist/features/monitoring/index.js +19 -18
- package/dist/features/monitoring/requests/index.css +38 -0
- package/dist/features/monitoring/requests/index.d.ts +21 -19
- package/dist/features/monitoring/requests/index.js +17 -15
- package/dist/features/operations/index.css +38 -0
- package/dist/features/operations/index.d.ts +945 -45
- package/dist/features/operations/index.js +24 -26
- package/dist/features/seo/index.d.ts +20 -18
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.css +38 -0
- package/dist/features/settings/index.d.ts +201 -18
- package/dist/features/settings/index.js +18 -16
- package/dist/hooks/delivery/index.css +38 -0
- package/dist/hooks/delivery/index.d.ts +200 -0
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +38 -0
- package/dist/hooks/index.d.ts +825 -47
- package/dist/hooks/index.js +14 -13
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +194 -3
- package/dist/hooks/published.css +38 -0
- package/dist/hooks/published.d.ts +825 -47
- package/dist/hooks/published.js +14 -13
- package/dist/index.css +38 -0
- package/dist/index.d.ts +1506 -1212
- package/dist/index.js +15 -14
- package/dist/initialization/index.d.ts +181 -0
- package/dist/knowledge/index.d.ts +813 -1068
- package/dist/knowledge/index.js +7370 -2869
- package/dist/{chunk-CLUP5H3C.js → knowledge-search-index-5KYPO746.js} +441 -963
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +4 -5
- package/dist/organization/index.css +38 -0
- package/dist/profile/index.d.ts +181 -0
- package/dist/provider/index.css +38 -0
- package/dist/provider/index.d.ts +909 -1156
- package/dist/provider/index.js +11 -10
- package/dist/provider/published.css +38 -0
- package/dist/provider/published.d.ts +906 -1153
- package/dist/provider/published.js +7 -6
- package/dist/supabase/index.d.ts +349 -0
- package/dist/test-utils/index.d.ts +16 -9
- package/dist/test-utils/index.js +39 -32
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/types/index.d.ts +378 -5
- package/dist/utils/index.d.ts +78 -3
- package/dist/utils/index.js +1 -1
- package/dist/vite/index.js +2 -2
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/package.json +47 -37
- package/src/provider/README.md +5 -5
- package/dist/chunk-2DIYILF7.js +0 -413
- package/dist/chunk-3MDNBHVB.js +0 -3868
- package/dist/chunk-6IXOKUBC.js +0 -347
- package/dist/chunk-AKOD52HS.js +0 -739
- package/dist/chunk-ECNNI3NT.js +0 -6
- package/dist/chunk-JDNEWB5F.js +0 -10
- package/dist/chunk-NITGGYH2.js +0 -476
- package/dist/chunk-OAVTMITG.js +0 -13
|
@@ -226,6 +226,7 @@ interface SerializedAgentDefinition {
|
|
|
226
226
|
description: string;
|
|
227
227
|
version: string;
|
|
228
228
|
type: 'agent';
|
|
229
|
+
kind: 'orchestrator' | 'specialist' | 'utility' | 'system';
|
|
229
230
|
status: 'dev' | 'prod';
|
|
230
231
|
links?: ResourceLink[];
|
|
231
232
|
category?: ResourceCategory;
|
|
@@ -311,6 +312,125 @@ interface SerializedWorkflowDefinition {
|
|
|
311
312
|
metricsConfig?: object;
|
|
312
313
|
}
|
|
313
314
|
|
|
315
|
+
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
316
|
+
deprecated: "deprecated";
|
|
317
|
+
active: "active";
|
|
318
|
+
archived: "archived";
|
|
319
|
+
}>;
|
|
320
|
+
declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
321
|
+
id: z.ZodString;
|
|
322
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
323
|
+
systemPath: z.ZodString;
|
|
324
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
325
|
+
status: z.ZodEnum<{
|
|
326
|
+
deprecated: "deprecated";
|
|
327
|
+
active: "active";
|
|
328
|
+
archived: "archived";
|
|
329
|
+
}>;
|
|
330
|
+
kind: z.ZodLiteral<"workflow">;
|
|
331
|
+
actionKey: z.ZodOptional<z.ZodString>;
|
|
332
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
333
|
+
eventKey: z.ZodString;
|
|
334
|
+
label: z.ZodString;
|
|
335
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
336
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
337
|
+
deprecated: "deprecated";
|
|
338
|
+
draft: "draft";
|
|
339
|
+
beta: "beta";
|
|
340
|
+
active: "active";
|
|
341
|
+
archived: "archived";
|
|
342
|
+
}>>;
|
|
343
|
+
}, z.core.$strip>>>;
|
|
344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
345
|
+
id: z.ZodString;
|
|
346
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
347
|
+
systemPath: z.ZodString;
|
|
348
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
349
|
+
status: z.ZodEnum<{
|
|
350
|
+
deprecated: "deprecated";
|
|
351
|
+
active: "active";
|
|
352
|
+
archived: "archived";
|
|
353
|
+
}>;
|
|
354
|
+
kind: z.ZodLiteral<"agent">;
|
|
355
|
+
agentKind: z.ZodEnum<{
|
|
356
|
+
platform: "platform";
|
|
357
|
+
orchestrator: "orchestrator";
|
|
358
|
+
specialist: "specialist";
|
|
359
|
+
utility: "utility";
|
|
360
|
+
}>;
|
|
361
|
+
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
362
|
+
sessionCapable: z.ZodBoolean;
|
|
363
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
364
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
365
|
+
command: z.ZodString;
|
|
366
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
369
|
+
server: z.ZodString;
|
|
370
|
+
name: z.ZodString;
|
|
371
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
372
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
373
|
+
method: z.ZodEnum<{
|
|
374
|
+
GET: "GET";
|
|
375
|
+
POST: "POST";
|
|
376
|
+
PATCH: "PATCH";
|
|
377
|
+
DELETE: "DELETE";
|
|
378
|
+
}>;
|
|
379
|
+
path: z.ZodString;
|
|
380
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
381
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
383
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
384
|
+
resourceId: z.ZodString;
|
|
385
|
+
}, z.core.$strip>], "kind">>>;
|
|
386
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
387
|
+
eventKey: z.ZodString;
|
|
388
|
+
label: z.ZodString;
|
|
389
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
390
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
391
|
+
deprecated: "deprecated";
|
|
392
|
+
draft: "draft";
|
|
393
|
+
beta: "beta";
|
|
394
|
+
active: "active";
|
|
395
|
+
archived: "archived";
|
|
396
|
+
}>>;
|
|
397
|
+
}, z.core.$strip>>>;
|
|
398
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
399
|
+
id: z.ZodString;
|
|
400
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
401
|
+
systemPath: z.ZodString;
|
|
402
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
403
|
+
status: z.ZodEnum<{
|
|
404
|
+
deprecated: "deprecated";
|
|
405
|
+
active: "active";
|
|
406
|
+
archived: "archived";
|
|
407
|
+
}>;
|
|
408
|
+
kind: z.ZodLiteral<"integration">;
|
|
409
|
+
provider: z.ZodString;
|
|
410
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
411
|
+
id: z.ZodString;
|
|
412
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
413
|
+
systemPath: z.ZodString;
|
|
414
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
415
|
+
status: z.ZodEnum<{
|
|
416
|
+
deprecated: "deprecated";
|
|
417
|
+
active: "active";
|
|
418
|
+
archived: "archived";
|
|
419
|
+
}>;
|
|
420
|
+
kind: z.ZodLiteral<"script">;
|
|
421
|
+
language: z.ZodEnum<{
|
|
422
|
+
shell: "shell";
|
|
423
|
+
sql: "sql";
|
|
424
|
+
typescript: "typescript";
|
|
425
|
+
python: "python";
|
|
426
|
+
}>;
|
|
427
|
+
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
428
|
+
file: z.ZodString;
|
|
429
|
+
}, z.core.$strip>]>;
|
|
430
|
+
}, z.core.$strip>], "kind">;
|
|
431
|
+
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
432
|
+
type ResourceEntry = z.infer<typeof ResourceEntrySchema>;
|
|
433
|
+
|
|
314
434
|
/**
|
|
315
435
|
* Shared form field types for dynamic form generation
|
|
316
436
|
* Used by: Command Queue, Execution Runner UI, future form-based features
|
|
@@ -463,6 +583,7 @@ type Database = {
|
|
|
463
583
|
batch_id: string | null;
|
|
464
584
|
category: string | null;
|
|
465
585
|
category_pain: string | null;
|
|
586
|
+
client_id: string | null;
|
|
466
587
|
created_at: string;
|
|
467
588
|
domain: string | null;
|
|
468
589
|
enrichment_data: Json | null;
|
|
@@ -489,6 +610,7 @@ type Database = {
|
|
|
489
610
|
batch_id?: string | null;
|
|
490
611
|
category?: string | null;
|
|
491
612
|
category_pain?: string | null;
|
|
613
|
+
client_id?: string | null;
|
|
492
614
|
created_at?: string;
|
|
493
615
|
domain?: string | null;
|
|
494
616
|
enrichment_data?: Json | null;
|
|
@@ -515,6 +637,7 @@ type Database = {
|
|
|
515
637
|
batch_id?: string | null;
|
|
516
638
|
category?: string | null;
|
|
517
639
|
category_pain?: string | null;
|
|
640
|
+
client_id?: string | null;
|
|
518
641
|
created_at?: string;
|
|
519
642
|
domain?: string | null;
|
|
520
643
|
enrichment_data?: Json | null;
|
|
@@ -538,6 +661,13 @@ type Database = {
|
|
|
538
661
|
website?: string | null;
|
|
539
662
|
};
|
|
540
663
|
Relationships: [
|
|
664
|
+
{
|
|
665
|
+
foreignKeyName: "acq_companies_client_id_fkey";
|
|
666
|
+
columns: ["client_id"];
|
|
667
|
+
isOneToOne: false;
|
|
668
|
+
referencedRelation: "clients";
|
|
669
|
+
referencedColumns: ["id"];
|
|
670
|
+
},
|
|
541
671
|
{
|
|
542
672
|
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
543
673
|
columns: ["organization_id"];
|
|
@@ -552,6 +682,7 @@ type Database = {
|
|
|
552
682
|
batch_id: string | null;
|
|
553
683
|
brochure_first_viewed_at: string | null;
|
|
554
684
|
brochure_view_count: number;
|
|
685
|
+
client_id: string | null;
|
|
555
686
|
company_id: string | null;
|
|
556
687
|
created_at: string;
|
|
557
688
|
email: string;
|
|
@@ -580,6 +711,7 @@ type Database = {
|
|
|
580
711
|
batch_id?: string | null;
|
|
581
712
|
brochure_first_viewed_at?: string | null;
|
|
582
713
|
brochure_view_count?: number;
|
|
714
|
+
client_id?: string | null;
|
|
583
715
|
company_id?: string | null;
|
|
584
716
|
created_at?: string;
|
|
585
717
|
email: string;
|
|
@@ -608,6 +740,7 @@ type Database = {
|
|
|
608
740
|
batch_id?: string | null;
|
|
609
741
|
brochure_first_viewed_at?: string | null;
|
|
610
742
|
brochure_view_count?: number;
|
|
743
|
+
client_id?: string | null;
|
|
611
744
|
company_id?: string | null;
|
|
612
745
|
created_at?: string;
|
|
613
746
|
email?: string;
|
|
@@ -633,6 +766,13 @@ type Database = {
|
|
|
633
766
|
updated_at?: string;
|
|
634
767
|
};
|
|
635
768
|
Relationships: [
|
|
769
|
+
{
|
|
770
|
+
foreignKeyName: "acq_contacts_client_id_fkey";
|
|
771
|
+
columns: ["client_id"];
|
|
772
|
+
isOneToOne: false;
|
|
773
|
+
referencedRelation: "clients";
|
|
774
|
+
referencedColumns: ["id"];
|
|
775
|
+
},
|
|
636
776
|
{
|
|
637
777
|
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
638
778
|
columns: ["company_id"];
|
|
@@ -876,8 +1016,10 @@ type Database = {
|
|
|
876
1016
|
acq_deals: {
|
|
877
1017
|
Row: {
|
|
878
1018
|
activity_log: Json;
|
|
1019
|
+
client_id: string | null;
|
|
879
1020
|
closed_lost_at: string | null;
|
|
880
1021
|
closed_lost_reason: string | null;
|
|
1022
|
+
company_id: string | null;
|
|
881
1023
|
contact_email: string;
|
|
882
1024
|
contact_id: string | null;
|
|
883
1025
|
created_at: string;
|
|
@@ -913,8 +1055,10 @@ type Database = {
|
|
|
913
1055
|
};
|
|
914
1056
|
Insert: {
|
|
915
1057
|
activity_log?: Json;
|
|
1058
|
+
client_id?: string | null;
|
|
916
1059
|
closed_lost_at?: string | null;
|
|
917
1060
|
closed_lost_reason?: string | null;
|
|
1061
|
+
company_id?: string | null;
|
|
918
1062
|
contact_email: string;
|
|
919
1063
|
contact_id?: string | null;
|
|
920
1064
|
created_at?: string;
|
|
@@ -950,8 +1094,10 @@ type Database = {
|
|
|
950
1094
|
};
|
|
951
1095
|
Update: {
|
|
952
1096
|
activity_log?: Json;
|
|
1097
|
+
client_id?: string | null;
|
|
953
1098
|
closed_lost_at?: string | null;
|
|
954
1099
|
closed_lost_reason?: string | null;
|
|
1100
|
+
company_id?: string | null;
|
|
955
1101
|
contact_email?: string;
|
|
956
1102
|
contact_id?: string | null;
|
|
957
1103
|
created_at?: string;
|
|
@@ -986,6 +1132,20 @@ type Database = {
|
|
|
986
1132
|
updated_at?: string;
|
|
987
1133
|
};
|
|
988
1134
|
Relationships: [
|
|
1135
|
+
{
|
|
1136
|
+
foreignKeyName: "acq_deals_client_id_fkey";
|
|
1137
|
+
columns: ["client_id"];
|
|
1138
|
+
isOneToOne: false;
|
|
1139
|
+
referencedRelation: "clients";
|
|
1140
|
+
referencedColumns: ["id"];
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
foreignKeyName: "acq_deals_company_id_fkey";
|
|
1144
|
+
columns: ["company_id"];
|
|
1145
|
+
isOneToOne: false;
|
|
1146
|
+
referencedRelation: "acq_companies";
|
|
1147
|
+
referencedColumns: ["id"];
|
|
1148
|
+
},
|
|
989
1149
|
{
|
|
990
1150
|
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
991
1151
|
columns: ["contact_id"];
|
|
@@ -1603,6 +1763,77 @@ type Database = {
|
|
|
1603
1763
|
}
|
|
1604
1764
|
];
|
|
1605
1765
|
};
|
|
1766
|
+
clients: {
|
|
1767
|
+
Row: {
|
|
1768
|
+
converted_at: string | null;
|
|
1769
|
+
created_at: string;
|
|
1770
|
+
id: string;
|
|
1771
|
+
metadata: Json;
|
|
1772
|
+
name: string;
|
|
1773
|
+
organization_id: string;
|
|
1774
|
+
primary_company_id: string | null;
|
|
1775
|
+
primary_contact_id: string | null;
|
|
1776
|
+
source_deal_id: string | null;
|
|
1777
|
+
status: string;
|
|
1778
|
+
updated_at: string;
|
|
1779
|
+
};
|
|
1780
|
+
Insert: {
|
|
1781
|
+
converted_at?: string | null;
|
|
1782
|
+
created_at?: string;
|
|
1783
|
+
id?: string;
|
|
1784
|
+
metadata?: Json;
|
|
1785
|
+
name: string;
|
|
1786
|
+
organization_id: string;
|
|
1787
|
+
primary_company_id?: string | null;
|
|
1788
|
+
primary_contact_id?: string | null;
|
|
1789
|
+
source_deal_id?: string | null;
|
|
1790
|
+
status?: string;
|
|
1791
|
+
updated_at?: string;
|
|
1792
|
+
};
|
|
1793
|
+
Update: {
|
|
1794
|
+
converted_at?: string | null;
|
|
1795
|
+
created_at?: string;
|
|
1796
|
+
id?: string;
|
|
1797
|
+
metadata?: Json;
|
|
1798
|
+
name?: string;
|
|
1799
|
+
organization_id?: string;
|
|
1800
|
+
primary_company_id?: string | null;
|
|
1801
|
+
primary_contact_id?: string | null;
|
|
1802
|
+
source_deal_id?: string | null;
|
|
1803
|
+
status?: string;
|
|
1804
|
+
updated_at?: string;
|
|
1805
|
+
};
|
|
1806
|
+
Relationships: [
|
|
1807
|
+
{
|
|
1808
|
+
foreignKeyName: "clients_organization_id_fkey";
|
|
1809
|
+
columns: ["organization_id"];
|
|
1810
|
+
isOneToOne: false;
|
|
1811
|
+
referencedRelation: "organizations";
|
|
1812
|
+
referencedColumns: ["id"];
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
foreignKeyName: "clients_primary_company_id_fkey";
|
|
1816
|
+
columns: ["primary_company_id"];
|
|
1817
|
+
isOneToOne: false;
|
|
1818
|
+
referencedRelation: "acq_companies";
|
|
1819
|
+
referencedColumns: ["id"];
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
foreignKeyName: "clients_primary_contact_id_fkey";
|
|
1823
|
+
columns: ["primary_contact_id"];
|
|
1824
|
+
isOneToOne: false;
|
|
1825
|
+
referencedRelation: "acq_contacts";
|
|
1826
|
+
referencedColumns: ["id"];
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
foreignKeyName: "clients_source_deal_id_fkey";
|
|
1830
|
+
columns: ["source_deal_id"];
|
|
1831
|
+
isOneToOne: false;
|
|
1832
|
+
referencedRelation: "acq_deals";
|
|
1833
|
+
referencedColumns: ["id"];
|
|
1834
|
+
}
|
|
1835
|
+
];
|
|
1836
|
+
};
|
|
1606
1837
|
command_queue: {
|
|
1607
1838
|
Row: {
|
|
1608
1839
|
action_payload: Json | null;
|
|
@@ -2572,6 +2803,7 @@ type Database = {
|
|
|
2572
2803
|
Row: {
|
|
2573
2804
|
actual_end_date: string | null;
|
|
2574
2805
|
client_company_id: string | null;
|
|
2806
|
+
client_id: string | null;
|
|
2575
2807
|
contract_value: number | null;
|
|
2576
2808
|
created_at: string;
|
|
2577
2809
|
deal_id: string | null;
|
|
@@ -2589,6 +2821,7 @@ type Database = {
|
|
|
2589
2821
|
Insert: {
|
|
2590
2822
|
actual_end_date?: string | null;
|
|
2591
2823
|
client_company_id?: string | null;
|
|
2824
|
+
client_id?: string | null;
|
|
2592
2825
|
contract_value?: number | null;
|
|
2593
2826
|
created_at?: string;
|
|
2594
2827
|
deal_id?: string | null;
|
|
@@ -2606,6 +2839,7 @@ type Database = {
|
|
|
2606
2839
|
Update: {
|
|
2607
2840
|
actual_end_date?: string | null;
|
|
2608
2841
|
client_company_id?: string | null;
|
|
2842
|
+
client_id?: string | null;
|
|
2609
2843
|
contract_value?: number | null;
|
|
2610
2844
|
created_at?: string;
|
|
2611
2845
|
deal_id?: string | null;
|
|
@@ -2642,6 +2876,13 @@ type Database = {
|
|
|
2642
2876
|
referencedRelation: "acq_companies";
|
|
2643
2877
|
referencedColumns: ["id"];
|
|
2644
2878
|
},
|
|
2879
|
+
{
|
|
2880
|
+
foreignKeyName: "prj_projects_client_id_fkey";
|
|
2881
|
+
columns: ["client_id"];
|
|
2882
|
+
isOneToOne: false;
|
|
2883
|
+
referencedRelation: "clients";
|
|
2884
|
+
referencedColumns: ["id"];
|
|
2885
|
+
},
|
|
2645
2886
|
{
|
|
2646
2887
|
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2647
2888
|
columns: ["deal_id"];
|
|
@@ -3046,6 +3287,66 @@ type Database = {
|
|
|
3046
3287
|
}
|
|
3047
3288
|
];
|
|
3048
3289
|
};
|
|
3290
|
+
user_notes: {
|
|
3291
|
+
Row: {
|
|
3292
|
+
content: string;
|
|
3293
|
+
created_at: string;
|
|
3294
|
+
created_by: string;
|
|
3295
|
+
id: string;
|
|
3296
|
+
metadata: Json;
|
|
3297
|
+
organization_id: string | null;
|
|
3298
|
+
pinned: boolean;
|
|
3299
|
+
priority: string;
|
|
3300
|
+
source: string | null;
|
|
3301
|
+
title: string | null;
|
|
3302
|
+
updated_at: string;
|
|
3303
|
+
user_id: string;
|
|
3304
|
+
};
|
|
3305
|
+
Insert: {
|
|
3306
|
+
content: string;
|
|
3307
|
+
created_at?: string;
|
|
3308
|
+
created_by?: string;
|
|
3309
|
+
id?: string;
|
|
3310
|
+
metadata?: Json;
|
|
3311
|
+
organization_id?: string | null;
|
|
3312
|
+
pinned?: boolean;
|
|
3313
|
+
priority?: string;
|
|
3314
|
+
source?: string | null;
|
|
3315
|
+
title?: string | null;
|
|
3316
|
+
updated_at?: string;
|
|
3317
|
+
user_id: string;
|
|
3318
|
+
};
|
|
3319
|
+
Update: {
|
|
3320
|
+
content?: string;
|
|
3321
|
+
created_at?: string;
|
|
3322
|
+
created_by?: string;
|
|
3323
|
+
id?: string;
|
|
3324
|
+
metadata?: Json;
|
|
3325
|
+
organization_id?: string | null;
|
|
3326
|
+
pinned?: boolean;
|
|
3327
|
+
priority?: string;
|
|
3328
|
+
source?: string | null;
|
|
3329
|
+
title?: string | null;
|
|
3330
|
+
updated_at?: string;
|
|
3331
|
+
user_id?: string;
|
|
3332
|
+
};
|
|
3333
|
+
Relationships: [
|
|
3334
|
+
{
|
|
3335
|
+
foreignKeyName: "user_notes_organization_id_fkey";
|
|
3336
|
+
columns: ["organization_id"];
|
|
3337
|
+
isOneToOne: false;
|
|
3338
|
+
referencedRelation: "organizations";
|
|
3339
|
+
referencedColumns: ["id"];
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
foreignKeyName: "user_notes_user_id_fkey";
|
|
3343
|
+
columns: ["user_id"];
|
|
3344
|
+
isOneToOne: false;
|
|
3345
|
+
referencedRelation: "users";
|
|
3346
|
+
referencedColumns: ["id"];
|
|
3347
|
+
}
|
|
3348
|
+
];
|
|
3349
|
+
};
|
|
3049
3350
|
users: {
|
|
3050
3351
|
Row: {
|
|
3051
3352
|
config: Json;
|
|
@@ -3335,6 +3636,7 @@ declare const TransitionItemRequestSchema: z.ZodObject<{
|
|
|
3335
3636
|
declare const DealDetailResponseSchema: z.ZodObject<{
|
|
3336
3637
|
id: z.ZodString;
|
|
3337
3638
|
organization_id: z.ZodString;
|
|
3639
|
+
client_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3338
3640
|
contact_id: z.ZodNullable<z.ZodString>;
|
|
3339
3641
|
contact_email: z.ZodString;
|
|
3340
3642
|
pipeline_key: z.ZodString;
|
|
@@ -3419,6 +3721,25 @@ declare const DealDetailResponseSchema: z.ZodObject<{
|
|
|
3419
3721
|
sentAt: z.ZodNullable<z.ZodString>;
|
|
3420
3722
|
}, z.core.$strip>>;
|
|
3421
3723
|
}, z.core.$strip>;
|
|
3724
|
+
lineage: z.ZodOptional<z.ZodObject<{
|
|
3725
|
+
list: z.ZodNullable<z.ZodObject<{
|
|
3726
|
+
id: z.ZodString;
|
|
3727
|
+
name: z.ZodString;
|
|
3728
|
+
status: z.ZodString;
|
|
3729
|
+
}, z.core.$strip>>;
|
|
3730
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
3731
|
+
id: z.ZodString;
|
|
3732
|
+
name: z.ZodString;
|
|
3733
|
+
kind: z.ZodString;
|
|
3734
|
+
status: z.ZodString;
|
|
3735
|
+
updatedAt: z.ZodString;
|
|
3736
|
+
}, z.core.$strip>>;
|
|
3737
|
+
client: z.ZodNullable<z.ZodObject<{
|
|
3738
|
+
id: z.ZodString;
|
|
3739
|
+
name: z.ZodString;
|
|
3740
|
+
status: z.ZodString;
|
|
3741
|
+
}, z.core.$strip>>;
|
|
3742
|
+
}, z.core.$strip>>;
|
|
3422
3743
|
}, z.core.$strip>;
|
|
3423
3744
|
type TransitionItemRequest = z.infer<typeof TransitionItemRequestSchema>;
|
|
3424
3745
|
type DealDetailResponse = z.infer<typeof DealDetailResponseSchema>;
|
|
@@ -3427,11 +3748,11 @@ type DealDetailResponse = z.infer<typeof DealDetailResponseSchema>;
|
|
|
3427
3748
|
* from migration 20260428000003_lead_gen_acq_lists_status_and_config.sql).
|
|
3428
3749
|
*/
|
|
3429
3750
|
declare const ListStatusSchema: z.ZodEnum<{
|
|
3430
|
-
closing: "closing";
|
|
3431
3751
|
draft: "draft";
|
|
3752
|
+
archived: "archived";
|
|
3753
|
+
closing: "closing";
|
|
3432
3754
|
enriching: "enriching";
|
|
3433
3755
|
launched: "launched";
|
|
3434
|
-
archived: "archived";
|
|
3435
3756
|
}>;
|
|
3436
3757
|
declare const ListCompaniesQuerySchema: z.ZodObject<{
|
|
3437
3758
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -3465,6 +3786,7 @@ declare const ListContactsQuerySchema: z.ZodObject<{
|
|
|
3465
3786
|
declare const AcqCompanyResponseSchema: z.ZodObject<{
|
|
3466
3787
|
id: z.ZodString;
|
|
3467
3788
|
organizationId: z.ZodString;
|
|
3789
|
+
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3468
3790
|
name: z.ZodString;
|
|
3469
3791
|
domain: z.ZodNullable<z.ZodString>;
|
|
3470
3792
|
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -3501,6 +3823,7 @@ declare const AcqCompanyResponseSchema: z.ZodObject<{
|
|
|
3501
3823
|
declare const AcqContactResponseSchema: z.ZodObject<{
|
|
3502
3824
|
id: z.ZodString;
|
|
3503
3825
|
organizationId: z.ZodString;
|
|
3826
|
+
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3504
3827
|
companyId: z.ZodNullable<z.ZodString>;
|
|
3505
3828
|
email: z.ZodString;
|
|
3506
3829
|
emailValid: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3552,9 +3875,9 @@ declare const AcqContactResponseSchema: z.ZodObject<{
|
|
|
3552
3875
|
updatedAt: z.ZodString;
|
|
3553
3876
|
}, z.core.$strip>;
|
|
3554
3877
|
declare const AcqArtifactOwnerKindSchema: z.ZodEnum<{
|
|
3878
|
+
list: "list";
|
|
3555
3879
|
company: "company";
|
|
3556
3880
|
contact: "contact";
|
|
3557
|
-
list: "list";
|
|
3558
3881
|
deal: "deal";
|
|
3559
3882
|
list_member: "list_member";
|
|
3560
3883
|
}>;
|
|
@@ -3980,6 +4303,22 @@ interface ProjectDetail extends ProjectRow {
|
|
|
3980
4303
|
name: string;
|
|
3981
4304
|
domain: string | null;
|
|
3982
4305
|
} | null;
|
|
4306
|
+
deal: ProjectSourceDealRef | null;
|
|
4307
|
+
client: ProjectClientRef | null;
|
|
4308
|
+
}
|
|
4309
|
+
interface ProjectSourceDealRef {
|
|
4310
|
+
id: string;
|
|
4311
|
+
clientId?: string | null;
|
|
4312
|
+
contactEmail: string;
|
|
4313
|
+
stageKey: string | null;
|
|
4314
|
+
stateKey: string | null;
|
|
4315
|
+
sourceListId: string | null;
|
|
4316
|
+
updatedAt: string;
|
|
4317
|
+
}
|
|
4318
|
+
interface ProjectClientRef {
|
|
4319
|
+
id: string;
|
|
4320
|
+
name: string;
|
|
4321
|
+
status: string;
|
|
3983
4322
|
}
|
|
3984
4323
|
|
|
3985
4324
|
interface Action {
|
|
@@ -4500,6 +4839,62 @@ type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefini
|
|
|
4500
4839
|
*/
|
|
4501
4840
|
type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
|
|
4502
4841
|
|
|
4842
|
+
/**
|
|
4843
|
+
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
4844
|
+
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
4845
|
+
*
|
|
4846
|
+
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
4847
|
+
* Per L14: every node carries BOTH `kind` and `type`.
|
|
4848
|
+
*/
|
|
4849
|
+
declare const ContentNodeSchema: z.ZodObject<{
|
|
4850
|
+
label: z.ZodString;
|
|
4851
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4852
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4853
|
+
parentContentId: z.ZodOptional<z.ZodString>;
|
|
4854
|
+
kind: z.ZodString;
|
|
4855
|
+
type: z.ZodString;
|
|
4856
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4857
|
+
}, z.core.$strip>;
|
|
4858
|
+
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
4859
|
+
|
|
4860
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
4861
|
+
interface SystemEntry {
|
|
4862
|
+
id: string;
|
|
4863
|
+
label?: string;
|
|
4864
|
+
title?: string;
|
|
4865
|
+
description?: string;
|
|
4866
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
4867
|
+
parentSystemId?: string;
|
|
4868
|
+
ui?: {
|
|
4869
|
+
path: string;
|
|
4870
|
+
surfaces: string[];
|
|
4871
|
+
icon?: string;
|
|
4872
|
+
order?: number;
|
|
4873
|
+
};
|
|
4874
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
4875
|
+
responsibleRoleId?: string;
|
|
4876
|
+
governedByKnowledge?: string[];
|
|
4877
|
+
actions?: {
|
|
4878
|
+
actionId: string;
|
|
4879
|
+
intent: 'exposes' | 'consumes';
|
|
4880
|
+
invocation?: unknown;
|
|
4881
|
+
}[];
|
|
4882
|
+
policies?: string[];
|
|
4883
|
+
drivesGoals?: string[];
|
|
4884
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
4885
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
4886
|
+
path?: string;
|
|
4887
|
+
icon?: string;
|
|
4888
|
+
color?: string;
|
|
4889
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
4890
|
+
enabled?: boolean;
|
|
4891
|
+
devOnly?: boolean;
|
|
4892
|
+
requiresAdmin?: boolean;
|
|
4893
|
+
order: number;
|
|
4894
|
+
content?: Record<string, ContentNode>;
|
|
4895
|
+
subsystems?: Record<string, SystemEntry>;
|
|
4896
|
+
}
|
|
4897
|
+
|
|
4503
4898
|
/**
|
|
4504
4899
|
* Resource Registry type definitions
|
|
4505
4900
|
*/
|
|
@@ -4513,6 +4908,7 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
4513
4908
|
* Used as the discriminator field in ResourceDefinition
|
|
4514
4909
|
*/
|
|
4515
4910
|
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
4911
|
+
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'lifecycle'>;
|
|
4516
4912
|
/**
|
|
4517
4913
|
* Base interface for ALL platform resources
|
|
4518
4914
|
* Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
|
|
@@ -4538,6 +4934,12 @@ interface ResourceDefinition {
|
|
|
4538
4934
|
sessionCapable?: boolean;
|
|
4539
4935
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
4540
4936
|
origin?: 'local' | 'remote';
|
|
4937
|
+
/** OM System membership — dot-separated system path (e.g. "sys.lead-gen"), when backed by a Resource descriptor */
|
|
4938
|
+
systemPath?: string;
|
|
4939
|
+
/** Display metadata for the owning OM System */
|
|
4940
|
+
system?: ResourceSystemSummary;
|
|
4941
|
+
/** Governance lifecycle status from the OM Resource descriptor */
|
|
4942
|
+
governanceStatus?: ResourceGovernanceStatus;
|
|
4541
4943
|
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
4542
4944
|
archived?: boolean;
|
|
4543
4945
|
}
|
|
@@ -4643,6 +5045,10 @@ interface TriggerDefinition extends ResourceDefinition {
|
|
|
4643
5045
|
interface IntegrationDefinition extends ResourceDefinition {
|
|
4644
5046
|
/** Resource type discriminator (narrowed from base union) */
|
|
4645
5047
|
type: 'integration';
|
|
5048
|
+
/** OM descriptor that owns canonical identity and governance metadata. */
|
|
5049
|
+
resource?: Extract<ResourceEntry, {
|
|
5050
|
+
kind: 'integration';
|
|
5051
|
+
}>;
|
|
4646
5052
|
/** Integration provider type */
|
|
4647
5053
|
provider: IntegrationType;
|
|
4648
5054
|
/** References credentials table (e.g., 'shopify-prod', 'zendesk-api') */
|
|
@@ -4819,20 +5225,25 @@ interface CommandViewData {
|
|
|
4819
5225
|
declare const LinkSchema: z.ZodObject<{
|
|
4820
5226
|
nodeId: z.ZodString;
|
|
4821
5227
|
kind: z.ZodEnum<{
|
|
5228
|
+
links: "links";
|
|
5229
|
+
affects: "affects";
|
|
5230
|
+
emits: "emits";
|
|
4822
5231
|
contains: "contains";
|
|
4823
5232
|
references: "references";
|
|
4824
|
-
exposes: "exposes";
|
|
4825
5233
|
maps_to: "maps_to";
|
|
4826
|
-
"operates-on": "operates-on";
|
|
4827
5234
|
uses: "uses";
|
|
4828
5235
|
governs: "governs";
|
|
5236
|
+
originates_from: "originates_from";
|
|
5237
|
+
triggers: "triggers";
|
|
5238
|
+
applies_to: "applies_to";
|
|
5239
|
+
effects: "effects";
|
|
4829
5240
|
}>;
|
|
4830
5241
|
}, z.core.$strip>;
|
|
4831
5242
|
type Link = z.infer<typeof LinkSchema>;
|
|
4832
5243
|
|
|
4833
5244
|
declare const ResourceCategorySchema: z.ZodEnum<{
|
|
4834
|
-
production: "production";
|
|
4835
5245
|
diagnostic: "diagnostic";
|
|
5246
|
+
production: "production";
|
|
4836
5247
|
internal: "internal";
|
|
4837
5248
|
testing: "testing";
|
|
4838
5249
|
}>;
|
|
@@ -5003,13 +5414,18 @@ interface Activity {
|
|
|
5003
5414
|
* - API middleware (via requireOrganizationPermission(key))
|
|
5004
5415
|
* - UI hooks (via useOrganizationPermissions().hasPermission(key))
|
|
5005
5416
|
*
|
|
5006
|
-
* The DB table `org_rol_permissions` mirrors this constant.
|
|
5007
|
-
*
|
|
5008
|
-
*
|
|
5417
|
+
* The DB table `org_rol_permissions` mirrors this constant. There is no
|
|
5418
|
+
* runtime reconciler; parity is enforced two ways:
|
|
5419
|
+
* 1. Each migration that adds/removes/modifies a permission must INSERT
|
|
5420
|
+
* (or UPDATE / DELETE) the corresponding `org_rol_permissions` row in
|
|
5421
|
+
* the same transaction.
|
|
5422
|
+
* 2. `apps/api/src/auth/multi-tenancy/__tests__/permissions-catalog-sync.integration.test.ts`
|
|
5423
|
+
* asserts the TS catalog and the DB rows agree; CI fails on drift.
|
|
5009
5424
|
*
|
|
5010
5425
|
* Adding a permission:
|
|
5011
5426
|
* 1. Add an entry below.
|
|
5012
|
-
* 2. Add a row to the migration
|
|
5427
|
+
* 2. Add a row to the migration (INSERT INTO org_rol_permissions ...) in
|
|
5428
|
+
* the same transaction as any policies/grants that reference the key.
|
|
5013
5429
|
* 3. Reference it in RLS / middleware as needed.
|
|
5014
5430
|
* 4. Optionally grant it to one or more system roles in org_rol_grants.
|
|
5015
5431
|
*
|
|
@@ -5027,12 +5443,14 @@ declare const PERMISSIONS: {
|
|
|
5027
5443
|
readonly OPERATIONS_MANAGE: "operations.manage";
|
|
5028
5444
|
readonly ACQUISITION_MANAGE: "acquisition.manage";
|
|
5029
5445
|
readonly PROJECTS_MANAGE: "projects.manage";
|
|
5446
|
+
readonly CLIENTS_MANAGE: "clients.manage";
|
|
5030
5447
|
};
|
|
5031
5448
|
type PermissionKey = (typeof PERMISSIONS)[keyof typeof PERMISSIONS];
|
|
5032
5449
|
/**
|
|
5033
|
-
* Static metadata for each permission. Mirrored into org_rol_permissions
|
|
5034
|
-
*
|
|
5035
|
-
*
|
|
5450
|
+
* Static metadata for each permission. Mirrored into org_rol_permissions by
|
|
5451
|
+
* a migration `INSERT` in the same transaction as any change to this catalog.
|
|
5452
|
+
* is_org_grantable=false means the permission is reserved to system roles
|
|
5453
|
+
* only — custom roles cannot include it (privilege-escalation guard).
|
|
5036
5454
|
*/
|
|
5037
5455
|
interface PermissionDescriptor {
|
|
5038
5456
|
key: PermissionKey;
|
|
@@ -5049,9 +5467,9 @@ declare const ExecutionHistoryItemSchema: z.ZodObject<{
|
|
|
5049
5467
|
createdAt: z.ZodString;
|
|
5050
5468
|
status: z.ZodEnum<{
|
|
5051
5469
|
completed: "completed";
|
|
5052
|
-
cancelled: "cancelled";
|
|
5053
5470
|
failed: "failed";
|
|
5054
5471
|
running: "running";
|
|
5472
|
+
cancelled: "cancelled";
|
|
5055
5473
|
}>;
|
|
5056
5474
|
step: z.ZodNullable<z.ZodNumber>;
|
|
5057
5475
|
itemLabel: z.ZodNullable<z.ZodString>;
|
|
@@ -5068,9 +5486,9 @@ declare const ExecutionHistoryResponseSchema: z.ZodObject<{
|
|
|
5068
5486
|
createdAt: z.ZodString;
|
|
5069
5487
|
status: z.ZodEnum<{
|
|
5070
5488
|
completed: "completed";
|
|
5071
|
-
cancelled: "cancelled";
|
|
5072
5489
|
failed: "failed";
|
|
5073
5490
|
running: "running";
|
|
5491
|
+
cancelled: "cancelled";
|
|
5074
5492
|
}>;
|
|
5075
5493
|
step: z.ZodNullable<z.ZodNumber>;
|
|
5076
5494
|
itemLabel: z.ZodNullable<z.ZodString>;
|
|
@@ -5105,6 +5523,131 @@ interface Deployment {
|
|
|
5105
5523
|
updatedAt: string;
|
|
5106
5524
|
}
|
|
5107
5525
|
|
|
5526
|
+
declare const ClientStatusSchema: z.ZodEnum<{
|
|
5527
|
+
active: "active";
|
|
5528
|
+
completed: "completed";
|
|
5529
|
+
paused: "paused";
|
|
5530
|
+
onboarding: "onboarding";
|
|
5531
|
+
churned: "churned";
|
|
5532
|
+
}>;
|
|
5533
|
+
declare const ClientResponseSchema: z.ZodObject<{
|
|
5534
|
+
id: z.ZodString;
|
|
5535
|
+
organizationId: z.ZodString;
|
|
5536
|
+
name: z.ZodString;
|
|
5537
|
+
status: z.ZodEnum<{
|
|
5538
|
+
active: "active";
|
|
5539
|
+
completed: "completed";
|
|
5540
|
+
paused: "paused";
|
|
5541
|
+
onboarding: "onboarding";
|
|
5542
|
+
churned: "churned";
|
|
5543
|
+
}>;
|
|
5544
|
+
sourceDealId: z.ZodNullable<z.ZodString>;
|
|
5545
|
+
primaryCompanyId: z.ZodNullable<z.ZodString>;
|
|
5546
|
+
primaryContactId: z.ZodNullable<z.ZodString>;
|
|
5547
|
+
convertedAt: z.ZodNullable<z.ZodString>;
|
|
5548
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5549
|
+
createdAt: z.ZodString;
|
|
5550
|
+
updatedAt: z.ZodString;
|
|
5551
|
+
}, z.core.$strip>;
|
|
5552
|
+
declare const ClientDetailResponseSchema: z.ZodObject<{
|
|
5553
|
+
id: z.ZodString;
|
|
5554
|
+
organizationId: z.ZodString;
|
|
5555
|
+
name: z.ZodString;
|
|
5556
|
+
status: z.ZodEnum<{
|
|
5557
|
+
active: "active";
|
|
5558
|
+
completed: "completed";
|
|
5559
|
+
paused: "paused";
|
|
5560
|
+
onboarding: "onboarding";
|
|
5561
|
+
churned: "churned";
|
|
5562
|
+
}>;
|
|
5563
|
+
sourceDealId: z.ZodNullable<z.ZodString>;
|
|
5564
|
+
primaryCompanyId: z.ZodNullable<z.ZodString>;
|
|
5565
|
+
primaryContactId: z.ZodNullable<z.ZodString>;
|
|
5566
|
+
convertedAt: z.ZodNullable<z.ZodString>;
|
|
5567
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5568
|
+
createdAt: z.ZodString;
|
|
5569
|
+
updatedAt: z.ZodString;
|
|
5570
|
+
lineage: z.ZodObject<{
|
|
5571
|
+
deals: z.ZodArray<z.ZodObject<{
|
|
5572
|
+
id: z.ZodString;
|
|
5573
|
+
contactEmail: z.ZodString;
|
|
5574
|
+
stageKey: z.ZodNullable<z.ZodString>;
|
|
5575
|
+
stateKey: z.ZodNullable<z.ZodString>;
|
|
5576
|
+
updatedAt: z.ZodString;
|
|
5577
|
+
}, z.core.$strip>>;
|
|
5578
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
5579
|
+
id: z.ZodString;
|
|
5580
|
+
name: z.ZodString;
|
|
5581
|
+
kind: z.ZodString;
|
|
5582
|
+
status: z.ZodString;
|
|
5583
|
+
updatedAt: z.ZodString;
|
|
5584
|
+
}, z.core.$strip>>;
|
|
5585
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
5586
|
+
id: z.ZodString;
|
|
5587
|
+
name: z.ZodString;
|
|
5588
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
5589
|
+
status: z.ZodString;
|
|
5590
|
+
}, z.core.$strip>>;
|
|
5591
|
+
contacts: z.ZodArray<z.ZodObject<{
|
|
5592
|
+
id: z.ZodString;
|
|
5593
|
+
email: z.ZodString;
|
|
5594
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
5595
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
5596
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5597
|
+
companyId: z.ZodNullable<z.ZodString>;
|
|
5598
|
+
status: z.ZodString;
|
|
5599
|
+
}, z.core.$strip>>;
|
|
5600
|
+
}, z.core.$strip>;
|
|
5601
|
+
}, z.core.$strip>;
|
|
5602
|
+
declare const ClientStatusResponseSchema: z.ZodObject<{
|
|
5603
|
+
totalClients: z.ZodNumber;
|
|
5604
|
+
byStatus: z.ZodRecord<z.ZodEnum<{
|
|
5605
|
+
active: "active";
|
|
5606
|
+
completed: "completed";
|
|
5607
|
+
paused: "paused";
|
|
5608
|
+
onboarding: "onboarding";
|
|
5609
|
+
churned: "churned";
|
|
5610
|
+
}>, z.ZodNumber>;
|
|
5611
|
+
linkedDeals: z.ZodNumber;
|
|
5612
|
+
linkedProjects: z.ZodNumber;
|
|
5613
|
+
linkedCompanies: z.ZodNumber;
|
|
5614
|
+
linkedContacts: z.ZodNumber;
|
|
5615
|
+
}, z.core.$strip>;
|
|
5616
|
+
declare const CreateClientRequestSchema: z.ZodObject<{
|
|
5617
|
+
name: z.ZodString;
|
|
5618
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
5619
|
+
active: "active";
|
|
5620
|
+
completed: "completed";
|
|
5621
|
+
paused: "paused";
|
|
5622
|
+
onboarding: "onboarding";
|
|
5623
|
+
churned: "churned";
|
|
5624
|
+
}>>;
|
|
5625
|
+
sourceDealId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5626
|
+
primaryCompanyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5627
|
+
primaryContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5628
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5629
|
+
}, z.core.$strict>;
|
|
5630
|
+
declare const UpdateClientRequestSchema: z.ZodObject<{
|
|
5631
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5632
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
5633
|
+
active: "active";
|
|
5634
|
+
completed: "completed";
|
|
5635
|
+
paused: "paused";
|
|
5636
|
+
onboarding: "onboarding";
|
|
5637
|
+
churned: "churned";
|
|
5638
|
+
}>>;
|
|
5639
|
+
sourceDealId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5640
|
+
primaryCompanyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5641
|
+
primaryContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5642
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5643
|
+
}, z.core.$strict>;
|
|
5644
|
+
type ClientStatus = z.infer<typeof ClientStatusSchema>;
|
|
5645
|
+
type ClientResponse = z.infer<typeof ClientResponseSchema>;
|
|
5646
|
+
type ClientDetailResponse = z.infer<typeof ClientDetailResponseSchema>;
|
|
5647
|
+
type ClientStatusResponse = z.infer<typeof ClientStatusResponseSchema>;
|
|
5648
|
+
type CreateClientRequest = z.infer<typeof CreateClientRequestSchema>;
|
|
5649
|
+
type UpdateClientRequest = z.infer<typeof UpdateClientRequestSchema>;
|
|
5650
|
+
|
|
5108
5651
|
/**
|
|
5109
5652
|
* GET /api/credentials - List credentials
|
|
5110
5653
|
*/
|
|
@@ -5526,7 +6069,7 @@ declare function useGetExecutionHistory(scheduleId: string | undefined, options?
|
|
|
5526
6069
|
executions: {
|
|
5527
6070
|
id: string;
|
|
5528
6071
|
createdAt: string;
|
|
5529
|
-
status: "completed" | "
|
|
6072
|
+
status: "completed" | "failed" | "running" | "cancelled";
|
|
5530
6073
|
step: number | null;
|
|
5531
6074
|
itemLabel: string | null;
|
|
5532
6075
|
duration: number | null;
|
|
@@ -5841,6 +6384,7 @@ declare const observabilityKeys: {
|
|
|
5841
6384
|
dashboardMetrics: (organizationId: string | null, timeRange: string) => readonly ["observability", "dashboard-metrics", string | null, string];
|
|
5842
6385
|
businessImpact: (organizationId: string | null, timeRange: string) => readonly ["observability", "business-impact", string | null, string];
|
|
5843
6386
|
resourcesHealth: (organizationId: string | null, resources: string, startDate: string, endDate: string, granularity: string) => readonly ["observability", "resources-health", string | null, string, string, string, string];
|
|
6387
|
+
systemHealth: (organizationId: string | null, systemPath: string, timeRange: string, includeDescendants: boolean, descendantMode: string, resourceSet: string, startDate: string, endDate: string, directResources: readonly unknown[], descendantResources: readonly unknown[]) => readonly ["observability", "system-health", string | null, string, string, boolean, string, string, string, string, readonly unknown[], readonly unknown[]];
|
|
5844
6388
|
unresolvedErrors: (organizationId: string | null, startDate: string, endDate: string) => readonly ["observability", "unresolved-errors", string | null, string, string];
|
|
5845
6389
|
recentExecutionsByResource: (organizationId: string | null, timeRange: string, limit: number | undefined) => readonly ["observability", "recent-executions-by-resource", string | null, string, number | undefined];
|
|
5846
6390
|
};
|
|
@@ -5949,6 +6493,52 @@ declare function useBatchedResourcesHealth(params: UseBatchedResourcesHealthPara
|
|
|
5949
6493
|
healthLookup: Map<string, ResourceHealth>;
|
|
5950
6494
|
};
|
|
5951
6495
|
|
|
6496
|
+
interface SystemHealthExecutionSummary {
|
|
6497
|
+
successRate: number;
|
|
6498
|
+
p95Duration: number;
|
|
6499
|
+
totalExecutions: number;
|
|
6500
|
+
statusCounts: {
|
|
6501
|
+
success: number;
|
|
6502
|
+
failed: number;
|
|
6503
|
+
pending: number;
|
|
6504
|
+
warning: number;
|
|
6505
|
+
};
|
|
6506
|
+
trendData: Array<{
|
|
6507
|
+
time: string;
|
|
6508
|
+
rate: number;
|
|
6509
|
+
successCount: number;
|
|
6510
|
+
errorCount: number;
|
|
6511
|
+
warningCount: number;
|
|
6512
|
+
executionCount: number;
|
|
6513
|
+
}>;
|
|
6514
|
+
peakPeriod: string;
|
|
6515
|
+
granularity: 'hour' | 'day';
|
|
6516
|
+
}
|
|
6517
|
+
interface SystemHealthResponse {
|
|
6518
|
+
systemPath: string;
|
|
6519
|
+
includeDescendants: boolean;
|
|
6520
|
+
resourceCounts: {
|
|
6521
|
+
total: number;
|
|
6522
|
+
direct: number;
|
|
6523
|
+
descendant: number;
|
|
6524
|
+
executable: number;
|
|
6525
|
+
passiveIntegrations: number;
|
|
6526
|
+
};
|
|
6527
|
+
executionHealth: SystemHealthExecutionSummary;
|
|
6528
|
+
breakdown: {
|
|
6529
|
+
direct: SystemHealthExecutionSummary;
|
|
6530
|
+
descendants: SystemHealthExecutionSummary;
|
|
6531
|
+
};
|
|
6532
|
+
}
|
|
6533
|
+
interface UseSystemHealthParams {
|
|
6534
|
+
systemPath: string;
|
|
6535
|
+
timeRange: TimeRange;
|
|
6536
|
+
includeDescendants?: boolean;
|
|
6537
|
+
directResources: ResourceEntry[];
|
|
6538
|
+
descendantResources: ResourceEntry[];
|
|
6539
|
+
}
|
|
6540
|
+
declare function useSystemHealth({ systemPath, timeRange, includeDescendants, directResources, descendantResources }: UseSystemHealthParams): _tanstack_react_query.UseQueryResult<SystemHealthResponse, Error>;
|
|
6541
|
+
|
|
5952
6542
|
interface UseUnresolvedErrorsParams {
|
|
5953
6543
|
startDate: string;
|
|
5954
6544
|
endDate: string;
|
|
@@ -6510,8 +7100,8 @@ declare const RequestSourceEnum: z.ZodEnum<{
|
|
|
6510
7100
|
cli: "cli";
|
|
6511
7101
|
}>;
|
|
6512
7102
|
declare const RequestTypeEnum: z.ZodEnum<{
|
|
6513
|
-
feature: "feature";
|
|
6514
7103
|
other: "other";
|
|
7104
|
+
feature: "feature";
|
|
6515
7105
|
bug: "bug";
|
|
6516
7106
|
question: "question";
|
|
6517
7107
|
}>;
|
|
@@ -6608,6 +7198,136 @@ declare function useUpdateRequestStatus(): _tanstack_react_query.UseMutationResu
|
|
|
6608
7198
|
|
|
6609
7199
|
declare function useDeleteRequest(): _tanstack_react_query.UseMutationResult<string, Error, string, unknown>;
|
|
6610
7200
|
|
|
7201
|
+
interface ClientsListFilters {
|
|
7202
|
+
status?: ClientStatus;
|
|
7203
|
+
search?: string;
|
|
7204
|
+
limit?: number;
|
|
7205
|
+
offset?: number;
|
|
7206
|
+
}
|
|
7207
|
+
declare const clientsKeys: {
|
|
7208
|
+
all: readonly ["clients"];
|
|
7209
|
+
lists: () => readonly ["clients", "list"];
|
|
7210
|
+
list: (organizationId: string | null | undefined, filters: ClientsListFilters) => readonly ["clients", "list", string | null | undefined, ClientsListFilters];
|
|
7211
|
+
statuses: () => readonly ["clients", "status"];
|
|
7212
|
+
status: (organizationId: string | null | undefined) => readonly ["clients", "status", string | null | undefined];
|
|
7213
|
+
details: () => readonly ["clients", "detail"];
|
|
7214
|
+
detail: (organizationId: string | null | undefined, id: string | undefined) => readonly ["clients", "detail", string | null | undefined, string | undefined];
|
|
7215
|
+
};
|
|
7216
|
+
|
|
7217
|
+
declare function useClients(filters?: ClientsListFilters): _tanstack_react_query.UseQueryResult<{
|
|
7218
|
+
data: {
|
|
7219
|
+
id: string;
|
|
7220
|
+
organizationId: string;
|
|
7221
|
+
name: string;
|
|
7222
|
+
status: "active" | "completed" | "paused" | "onboarding" | "churned";
|
|
7223
|
+
sourceDealId: string | null;
|
|
7224
|
+
primaryCompanyId: string | null;
|
|
7225
|
+
primaryContactId: string | null;
|
|
7226
|
+
convertedAt: string | null;
|
|
7227
|
+
metadata: Record<string, unknown>;
|
|
7228
|
+
createdAt: string;
|
|
7229
|
+
updatedAt: string;
|
|
7230
|
+
}[];
|
|
7231
|
+
total: number;
|
|
7232
|
+
limit: number;
|
|
7233
|
+
offset: number;
|
|
7234
|
+
}, Error>;
|
|
7235
|
+
|
|
7236
|
+
declare function useClientStatus(): _tanstack_react_query.UseQueryResult<{
|
|
7237
|
+
totalClients: number;
|
|
7238
|
+
byStatus: Record<"active" | "completed" | "paused" | "onboarding" | "churned", number>;
|
|
7239
|
+
linkedDeals: number;
|
|
7240
|
+
linkedProjects: number;
|
|
7241
|
+
linkedCompanies: number;
|
|
7242
|
+
linkedContacts: number;
|
|
7243
|
+
}, Error>;
|
|
7244
|
+
|
|
7245
|
+
declare function useClient(clientId: string | undefined): _tanstack_react_query.UseQueryResult<{
|
|
7246
|
+
id: string;
|
|
7247
|
+
organizationId: string;
|
|
7248
|
+
name: string;
|
|
7249
|
+
status: "active" | "completed" | "paused" | "onboarding" | "churned";
|
|
7250
|
+
sourceDealId: string | null;
|
|
7251
|
+
primaryCompanyId: string | null;
|
|
7252
|
+
primaryContactId: string | null;
|
|
7253
|
+
convertedAt: string | null;
|
|
7254
|
+
metadata: Record<string, unknown>;
|
|
7255
|
+
createdAt: string;
|
|
7256
|
+
updatedAt: string;
|
|
7257
|
+
lineage: {
|
|
7258
|
+
deals: {
|
|
7259
|
+
id: string;
|
|
7260
|
+
contactEmail: string;
|
|
7261
|
+
stageKey: string | null;
|
|
7262
|
+
stateKey: string | null;
|
|
7263
|
+
updatedAt: string;
|
|
7264
|
+
}[];
|
|
7265
|
+
projects: {
|
|
7266
|
+
id: string;
|
|
7267
|
+
name: string;
|
|
7268
|
+
kind: string;
|
|
7269
|
+
status: string;
|
|
7270
|
+
updatedAt: string;
|
|
7271
|
+
}[];
|
|
7272
|
+
companies: {
|
|
7273
|
+
id: string;
|
|
7274
|
+
name: string;
|
|
7275
|
+
domain: string | null;
|
|
7276
|
+
status: string;
|
|
7277
|
+
}[];
|
|
7278
|
+
contacts: {
|
|
7279
|
+
id: string;
|
|
7280
|
+
email: string;
|
|
7281
|
+
firstName: string | null;
|
|
7282
|
+
lastName: string | null;
|
|
7283
|
+
title: string | null;
|
|
7284
|
+
companyId: string | null;
|
|
7285
|
+
status: string;
|
|
7286
|
+
}[];
|
|
7287
|
+
};
|
|
7288
|
+
}, Error>;
|
|
7289
|
+
|
|
7290
|
+
declare function useCreateClient(): _tanstack_react_query.UseMutationResult<{
|
|
7291
|
+
id: string;
|
|
7292
|
+
organizationId: string;
|
|
7293
|
+
name: string;
|
|
7294
|
+
status: "active" | "completed" | "paused" | "onboarding" | "churned";
|
|
7295
|
+
sourceDealId: string | null;
|
|
7296
|
+
primaryCompanyId: string | null;
|
|
7297
|
+
primaryContactId: string | null;
|
|
7298
|
+
convertedAt: string | null;
|
|
7299
|
+
metadata: Record<string, unknown>;
|
|
7300
|
+
createdAt: string;
|
|
7301
|
+
updatedAt: string;
|
|
7302
|
+
}, Error, {
|
|
7303
|
+
name: string;
|
|
7304
|
+
status?: "active" | "completed" | "paused" | "onboarding" | "churned" | undefined;
|
|
7305
|
+
sourceDealId?: string | null | undefined;
|
|
7306
|
+
primaryCompanyId?: string | null | undefined;
|
|
7307
|
+
primaryContactId?: string | null | undefined;
|
|
7308
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
7309
|
+
}, unknown>;
|
|
7310
|
+
|
|
7311
|
+
interface UpdateClientParams {
|
|
7312
|
+
clientId: string;
|
|
7313
|
+
updates: UpdateClientRequest;
|
|
7314
|
+
}
|
|
7315
|
+
declare function useUpdateClient(): _tanstack_react_query.UseMutationResult<{
|
|
7316
|
+
id: string;
|
|
7317
|
+
organizationId: string;
|
|
7318
|
+
name: string;
|
|
7319
|
+
status: "active" | "completed" | "paused" | "onboarding" | "churned";
|
|
7320
|
+
sourceDealId: string | null;
|
|
7321
|
+
primaryCompanyId: string | null;
|
|
7322
|
+
primaryContactId: string | null;
|
|
7323
|
+
convertedAt: string | null;
|
|
7324
|
+
metadata: Record<string, unknown>;
|
|
7325
|
+
createdAt: string;
|
|
7326
|
+
updatedAt: string;
|
|
7327
|
+
}, Error, UpdateClientParams, unknown>;
|
|
7328
|
+
|
|
7329
|
+
declare function useDeleteClient(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
7330
|
+
|
|
6611
7331
|
/**
|
|
6612
7332
|
* Query key factories for Operations TanStack Query hooks.
|
|
6613
7333
|
*
|
|
@@ -6713,7 +7433,7 @@ interface UseCommandViewStatsOptions {
|
|
|
6713
7433
|
*/
|
|
6714
7434
|
declare function useCommandViewStats(timeRange?: StatsTimeRange, options?: UseCommandViewStatsOptions): _tanstack_react_query.UseQueryResult<CommandViewStatsResponse, Error>;
|
|
6715
7435
|
|
|
6716
|
-
type CommandViewVisualizationMode = '
|
|
7436
|
+
type CommandViewVisualizationMode = 'explore';
|
|
6717
7437
|
|
|
6718
7438
|
type StatusFilter$1 = ResourceStatus | 'all';
|
|
6719
7439
|
|
|
@@ -6726,6 +7446,16 @@ interface CommandViewStore {
|
|
|
6726
7446
|
setFitViewOnFilter: (v: boolean) => void;
|
|
6727
7447
|
visualizationMode: CommandViewVisualizationMode;
|
|
6728
7448
|
setVisualizationMode: (v: CommandViewVisualizationMode) => void;
|
|
7449
|
+
/**
|
|
7450
|
+
* The last visualization mode the user explicitly selected via setVisualizationMode.
|
|
7451
|
+
* Null for brand-new sessions that have never called setVisualizationMode.
|
|
7452
|
+
* Persisted so returning users can be confirmed to have a stored preference.
|
|
7453
|
+
* Wave 5 tests assert against this field for default-mode observability.
|
|
7454
|
+
*/
|
|
7455
|
+
lastUsedVisualizationMode: CommandViewVisualizationMode | null;
|
|
7456
|
+
/** Last bottom-panel tab the user opened; null means the panel is collapsed. Persisted. */
|
|
7457
|
+
lastOpenBottomTab: string | null;
|
|
7458
|
+
setLastOpenBottomTab: (tab: string | null) => void;
|
|
6729
7459
|
selectedNodeId: string | null;
|
|
6730
7460
|
setSelectedNodeId: (id: string | null) => void;
|
|
6731
7461
|
resourcesHidden: boolean;
|
|
@@ -6739,13 +7469,38 @@ interface CommandViewStore {
|
|
|
6739
7469
|
hasVisibilityInteraction: boolean;
|
|
6740
7470
|
markVisibilityInteraction: () => void;
|
|
6741
7471
|
resetVisibilityInteraction: () => void;
|
|
7472
|
+
/**
|
|
7473
|
+
* Domains whose member nodes are currently expanded in Cluster mode.
|
|
7474
|
+
* Stored as an array of strings (not Set) for Zustand persist serialization.
|
|
7475
|
+
* Default is [] — all domains start collapsed (domain-card view).
|
|
7476
|
+
* Persisted to localStorage.
|
|
7477
|
+
*/
|
|
7478
|
+
expandedClusterDomains: string[];
|
|
7479
|
+
toggleClusterDomain: (domain: string) => void;
|
|
7480
|
+
setExpandedClusterDomains: (domains: string[]) => void;
|
|
7481
|
+
/**
|
|
7482
|
+
* Node IDs currently expanded in Explore mode.
|
|
7483
|
+
* Stored as an array of strings for Zustand persist serialization.
|
|
7484
|
+
* Derived Set is expandedNodeIds. Not persisted (reset on reload).
|
|
7485
|
+
* Same-parent sibling auto-collapse applies on toggleNodeExpansion.
|
|
7486
|
+
*/
|
|
7487
|
+
expandedNodeIdsArray: string[];
|
|
7488
|
+
/** Derived Set view of expandedNodeIdsArray — convenient for callers that need Set semantics. */
|
|
7489
|
+
expandedNodeIds: Set<string>;
|
|
7490
|
+
toggleNodeExpansion: (nodeId: string) => void;
|
|
7491
|
+
clearExpandedNodes: () => void;
|
|
6742
7492
|
}
|
|
6743
7493
|
/**
|
|
6744
7494
|
* Shared store for Command View filter/settings state.
|
|
6745
|
-
* Allows CommandViewPage
|
|
7495
|
+
* Allows CommandViewPage to share Command View filter/settings state.
|
|
6746
7496
|
*
|
|
6747
|
-
* Persisted to localStorage: showIntegrations, fitViewOnFilter,
|
|
7497
|
+
* Persisted to localStorage: showIntegrations, fitViewOnFilter, visualizationMode,
|
|
7498
|
+
* lastUsedVisualizationMode, resource/diagnostic visibility preferences.
|
|
6748
7499
|
* Not persisted (reset on reload): statusFilter, selectedNodeId, revealedIds, CTA interaction state.
|
|
7500
|
+
*
|
|
7501
|
+
* Default-mode logic:
|
|
7502
|
+
* - New sessions (no localStorage entry): visualizationMode initializes to 'explore'.
|
|
7503
|
+
* - Returning sessions: persisted legacy visualization modes normalize to 'explore'.
|
|
6749
7504
|
*/
|
|
6750
7505
|
declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<CommandViewStore>, "setState" | "persist"> & {
|
|
6751
7506
|
setState(partial: CommandViewStore | Partial<CommandViewStore> | ((state: CommandViewStore) => CommandViewStore | Partial<CommandViewStore>), replace?: false | undefined): unknown;
|
|
@@ -6754,9 +7509,12 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
|
|
|
6754
7509
|
setOptions: (options: Partial<zustand_middleware.PersistOptions<CommandViewStore, {
|
|
6755
7510
|
showIntegrations: boolean;
|
|
6756
7511
|
fitViewOnFilter: boolean;
|
|
6757
|
-
visualizationMode:
|
|
7512
|
+
visualizationMode: "explore";
|
|
7513
|
+
lastUsedVisualizationMode: "explore" | null;
|
|
6758
7514
|
resourcesHidden: boolean;
|
|
6759
7515
|
diagnosticsHidden: boolean;
|
|
7516
|
+
lastOpenBottomTab: string | null;
|
|
7517
|
+
expandedClusterDomains: string[];
|
|
6760
7518
|
}, unknown>>) => void;
|
|
6761
7519
|
clearStorage: () => void;
|
|
6762
7520
|
rehydrate: () => Promise<void> | void;
|
|
@@ -6766,9 +7524,12 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
|
|
|
6766
7524
|
getOptions: () => Partial<zustand_middleware.PersistOptions<CommandViewStore, {
|
|
6767
7525
|
showIntegrations: boolean;
|
|
6768
7526
|
fitViewOnFilter: boolean;
|
|
6769
|
-
visualizationMode:
|
|
7527
|
+
visualizationMode: "explore";
|
|
7528
|
+
lastUsedVisualizationMode: "explore" | null;
|
|
6770
7529
|
resourcesHidden: boolean;
|
|
6771
7530
|
diagnosticsHidden: boolean;
|
|
7531
|
+
lastOpenBottomTab: string | null;
|
|
7532
|
+
expandedClusterDomains: string[];
|
|
6772
7533
|
}, unknown>>;
|
|
6773
7534
|
};
|
|
6774
7535
|
}>;
|
|
@@ -6977,6 +7738,7 @@ declare function useDeals(filters?: DealFilters): {
|
|
|
6977
7738
|
num_employees: number | null;
|
|
6978
7739
|
} | null;
|
|
6979
7740
|
} | null;
|
|
7741
|
+
client_id?: string | null | undefined;
|
|
6980
7742
|
}[];
|
|
6981
7743
|
total: number;
|
|
6982
7744
|
limit: number;
|
|
@@ -7045,6 +7807,7 @@ declare function useDeals(filters?: DealFilters): {
|
|
|
7045
7807
|
num_employees: number | null;
|
|
7046
7808
|
} | null;
|
|
7047
7809
|
} | null;
|
|
7810
|
+
client_id?: string | null | undefined;
|
|
7048
7811
|
}[];
|
|
7049
7812
|
total: number;
|
|
7050
7813
|
limit: number;
|
|
@@ -7220,7 +7983,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
7220
7983
|
description: string | null;
|
|
7221
7984
|
batchIds: string[];
|
|
7222
7985
|
instantlyCampaignId: string | null;
|
|
7223
|
-
status: "
|
|
7986
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
7224
7987
|
metadata: {
|
|
7225
7988
|
[x: string]: unknown;
|
|
7226
7989
|
buildPlanSnapshot?: {
|
|
@@ -7233,7 +7996,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
7233
7996
|
outputs: ("company" | "contact" | "export")[];
|
|
7234
7997
|
stageKey: string;
|
|
7235
7998
|
dependencyMode: "per-record-eligibility";
|
|
7236
|
-
|
|
7999
|
+
actionKey: string;
|
|
7237
8000
|
defaultBatchSize: number;
|
|
7238
8001
|
maxBatchSize: number;
|
|
7239
8002
|
description?: string | undefined;
|
|
@@ -7247,7 +8010,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
7247
8010
|
label: string;
|
|
7248
8011
|
path: string;
|
|
7249
8012
|
width?: string | number | undefined;
|
|
7250
|
-
renderType?: "text" | "
|
|
8013
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7251
8014
|
badgeColor?: string | undefined;
|
|
7252
8015
|
}[] | undefined;
|
|
7253
8016
|
contact?: {
|
|
@@ -7255,7 +8018,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
7255
8018
|
label: string;
|
|
7256
8019
|
path: string;
|
|
7257
8020
|
width?: string | number | undefined;
|
|
7258
|
-
renderType?: "text" | "
|
|
8021
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7259
8022
|
badgeColor?: string | undefined;
|
|
7260
8023
|
}[] | undefined;
|
|
7261
8024
|
} | undefined;
|
|
@@ -7305,7 +8068,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
7305
8068
|
description: string | null;
|
|
7306
8069
|
batchIds: string[];
|
|
7307
8070
|
instantlyCampaignId: string | null;
|
|
7308
|
-
status: "
|
|
8071
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
7309
8072
|
metadata: {
|
|
7310
8073
|
[x: string]: unknown;
|
|
7311
8074
|
buildPlanSnapshot?: {
|
|
@@ -7318,7 +8081,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
7318
8081
|
outputs: ("company" | "contact" | "export")[];
|
|
7319
8082
|
stageKey: string;
|
|
7320
8083
|
dependencyMode: "per-record-eligibility";
|
|
7321
|
-
|
|
8084
|
+
actionKey: string;
|
|
7322
8085
|
defaultBatchSize: number;
|
|
7323
8086
|
maxBatchSize: number;
|
|
7324
8087
|
description?: string | undefined;
|
|
@@ -7332,7 +8095,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
7332
8095
|
label: string;
|
|
7333
8096
|
path: string;
|
|
7334
8097
|
width?: string | number | undefined;
|
|
7335
|
-
renderType?: "text" | "
|
|
8098
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7336
8099
|
badgeColor?: string | undefined;
|
|
7337
8100
|
}[] | undefined;
|
|
7338
8101
|
contact?: {
|
|
@@ -7340,7 +8103,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
7340
8103
|
label: string;
|
|
7341
8104
|
path: string;
|
|
7342
8105
|
width?: string | number | undefined;
|
|
7343
|
-
renderType?: "text" | "
|
|
8106
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7344
8107
|
badgeColor?: string | undefined;
|
|
7345
8108
|
}[] | undefined;
|
|
7346
8109
|
} | undefined;
|
|
@@ -7489,7 +8252,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
7489
8252
|
description: string | null;
|
|
7490
8253
|
batchIds: string[];
|
|
7491
8254
|
instantlyCampaignId: string | null;
|
|
7492
|
-
status: "
|
|
8255
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
7493
8256
|
metadata: {
|
|
7494
8257
|
[x: string]: unknown;
|
|
7495
8258
|
buildPlanSnapshot?: {
|
|
@@ -7502,7 +8265,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
7502
8265
|
outputs: ("company" | "contact" | "export")[];
|
|
7503
8266
|
stageKey: string;
|
|
7504
8267
|
dependencyMode: "per-record-eligibility";
|
|
7505
|
-
|
|
8268
|
+
actionKey: string;
|
|
7506
8269
|
defaultBatchSize: number;
|
|
7507
8270
|
maxBatchSize: number;
|
|
7508
8271
|
description?: string | undefined;
|
|
@@ -7516,7 +8279,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
7516
8279
|
label: string;
|
|
7517
8280
|
path: string;
|
|
7518
8281
|
width?: string | number | undefined;
|
|
7519
|
-
renderType?: "text" | "
|
|
8282
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7520
8283
|
badgeColor?: string | undefined;
|
|
7521
8284
|
}[] | undefined;
|
|
7522
8285
|
contact?: {
|
|
@@ -7524,7 +8287,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
7524
8287
|
label: string;
|
|
7525
8288
|
path: string;
|
|
7526
8289
|
width?: string | number | undefined;
|
|
7527
|
-
renderType?: "text" | "
|
|
8290
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7528
8291
|
badgeColor?: string | undefined;
|
|
7529
8292
|
}[] | undefined;
|
|
7530
8293
|
} | undefined;
|
|
@@ -7569,7 +8332,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
7569
8332
|
}, Error, {
|
|
7570
8333
|
name: string;
|
|
7571
8334
|
description?: string | null | undefined;
|
|
7572
|
-
status?: "
|
|
8335
|
+
status?: "draft" | "archived" | "closing" | "enriching" | "launched" | undefined;
|
|
7573
8336
|
buildTemplateId?: string | undefined;
|
|
7574
8337
|
scrapingConfig?: {
|
|
7575
8338
|
vertical?: string | undefined;
|
|
@@ -7601,7 +8364,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
7601
8364
|
description: string | null;
|
|
7602
8365
|
batchIds: string[];
|
|
7603
8366
|
instantlyCampaignId: string | null;
|
|
7604
|
-
status: "
|
|
8367
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
7605
8368
|
metadata: {
|
|
7606
8369
|
[x: string]: unknown;
|
|
7607
8370
|
buildPlanSnapshot?: {
|
|
@@ -7614,7 +8377,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
7614
8377
|
outputs: ("company" | "contact" | "export")[];
|
|
7615
8378
|
stageKey: string;
|
|
7616
8379
|
dependencyMode: "per-record-eligibility";
|
|
7617
|
-
|
|
8380
|
+
actionKey: string;
|
|
7618
8381
|
defaultBatchSize: number;
|
|
7619
8382
|
maxBatchSize: number;
|
|
7620
8383
|
description?: string | undefined;
|
|
@@ -7628,7 +8391,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
7628
8391
|
label: string;
|
|
7629
8392
|
path: string;
|
|
7630
8393
|
width?: string | number | undefined;
|
|
7631
|
-
renderType?: "text" | "
|
|
8394
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7632
8395
|
badgeColor?: string | undefined;
|
|
7633
8396
|
}[] | undefined;
|
|
7634
8397
|
contact?: {
|
|
@@ -7636,7 +8399,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
7636
8399
|
label: string;
|
|
7637
8400
|
path: string;
|
|
7638
8401
|
width?: string | number | undefined;
|
|
7639
|
-
renderType?: "text" | "
|
|
8402
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7640
8403
|
badgeColor?: string | undefined;
|
|
7641
8404
|
}[] | undefined;
|
|
7642
8405
|
} | undefined;
|
|
@@ -7692,7 +8455,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
7692
8455
|
description: string | null;
|
|
7693
8456
|
batchIds: string[];
|
|
7694
8457
|
instantlyCampaignId: string | null;
|
|
7695
|
-
status: "
|
|
8458
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
7696
8459
|
metadata: {
|
|
7697
8460
|
[x: string]: unknown;
|
|
7698
8461
|
buildPlanSnapshot?: {
|
|
@@ -7705,7 +8468,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
7705
8468
|
outputs: ("company" | "contact" | "export")[];
|
|
7706
8469
|
stageKey: string;
|
|
7707
8470
|
dependencyMode: "per-record-eligibility";
|
|
7708
|
-
|
|
8471
|
+
actionKey: string;
|
|
7709
8472
|
defaultBatchSize: number;
|
|
7710
8473
|
maxBatchSize: number;
|
|
7711
8474
|
description?: string | undefined;
|
|
@@ -7719,7 +8482,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
7719
8482
|
label: string;
|
|
7720
8483
|
path: string;
|
|
7721
8484
|
width?: string | number | undefined;
|
|
7722
|
-
renderType?: "text" | "
|
|
8485
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7723
8486
|
badgeColor?: string | undefined;
|
|
7724
8487
|
}[] | undefined;
|
|
7725
8488
|
contact?: {
|
|
@@ -7727,7 +8490,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
7727
8490
|
label: string;
|
|
7728
8491
|
path: string;
|
|
7729
8492
|
width?: string | number | undefined;
|
|
7730
|
-
renderType?: "text" | "
|
|
8493
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
7731
8494
|
badgeColor?: string | undefined;
|
|
7732
8495
|
}[] | undefined;
|
|
7733
8496
|
} | undefined;
|
|
@@ -7876,6 +8639,7 @@ declare function useCompanies(filters?: Partial<ListCompaniesQuery>): _tanstack_
|
|
|
7876
8639
|
verticalResearch: string | null;
|
|
7877
8640
|
createdAt: string;
|
|
7878
8641
|
updatedAt: string;
|
|
8642
|
+
clientId?: string | null | undefined;
|
|
7879
8643
|
pipelineStatus?: unknown;
|
|
7880
8644
|
}[];
|
|
7881
8645
|
total: number;
|
|
@@ -7910,6 +8674,7 @@ declare function useCompany(companyId: string): _tanstack_react_query.UseQueryRe
|
|
|
7910
8674
|
verticalResearch: string | null;
|
|
7911
8675
|
createdAt: string;
|
|
7912
8676
|
updatedAt: string;
|
|
8677
|
+
clientId?: string | null | undefined;
|
|
7913
8678
|
pipelineStatus?: unknown;
|
|
7914
8679
|
} | null, Error>;
|
|
7915
8680
|
declare function useCreateCompany(): _tanstack_react_query.UseMutationResult<{
|
|
@@ -7939,9 +8704,11 @@ declare function useCreateCompany(): _tanstack_react_query.UseMutationResult<{
|
|
|
7939
8704
|
verticalResearch: string | null;
|
|
7940
8705
|
createdAt: string;
|
|
7941
8706
|
updatedAt: string;
|
|
8707
|
+
clientId?: string | null | undefined;
|
|
7942
8708
|
pipelineStatus?: unknown;
|
|
7943
8709
|
}, Error, {
|
|
7944
8710
|
name: string;
|
|
8711
|
+
clientId?: string | null | undefined;
|
|
7945
8712
|
domain?: string | undefined;
|
|
7946
8713
|
linkedinUrl?: string | undefined;
|
|
7947
8714
|
website?: string | undefined;
|
|
@@ -7982,9 +8749,11 @@ declare function useUpdateCompany(companyId: string): _tanstack_react_query.UseM
|
|
|
7982
8749
|
verticalResearch: string | null;
|
|
7983
8750
|
createdAt: string;
|
|
7984
8751
|
updatedAt: string;
|
|
8752
|
+
clientId?: string | null | undefined;
|
|
7985
8753
|
pipelineStatus?: unknown;
|
|
7986
8754
|
}, Error, {
|
|
7987
8755
|
name?: string | undefined;
|
|
8756
|
+
clientId?: string | null | undefined;
|
|
7988
8757
|
domain?: string | undefined;
|
|
7989
8758
|
linkedinUrl?: string | undefined;
|
|
7990
8759
|
website?: string | undefined;
|
|
@@ -8049,6 +8818,7 @@ declare function useContacts(filters?: Partial<ListContactsQuery>): _tanstack_re
|
|
|
8049
8818
|
status: "active" | "invalid";
|
|
8050
8819
|
createdAt: string;
|
|
8051
8820
|
updatedAt: string;
|
|
8821
|
+
clientId?: string | null | undefined;
|
|
8052
8822
|
pipelineStatus?: unknown;
|
|
8053
8823
|
company?: {
|
|
8054
8824
|
id: string;
|
|
@@ -8091,6 +8861,7 @@ declare function useContact(contactId: string): _tanstack_react_query.UseQueryRe
|
|
|
8091
8861
|
status: "active" | "invalid";
|
|
8092
8862
|
createdAt: string;
|
|
8093
8863
|
updatedAt: string;
|
|
8864
|
+
clientId?: string | null | undefined;
|
|
8094
8865
|
pipelineStatus?: unknown;
|
|
8095
8866
|
company?: {
|
|
8096
8867
|
id: string;
|
|
@@ -8129,6 +8900,7 @@ declare function useCreateContact(): _tanstack_react_query.UseMutationResult<{
|
|
|
8129
8900
|
status: "active" | "invalid";
|
|
8130
8901
|
createdAt: string;
|
|
8131
8902
|
updatedAt: string;
|
|
8903
|
+
clientId?: string | null | undefined;
|
|
8132
8904
|
pipelineStatus?: unknown;
|
|
8133
8905
|
company?: {
|
|
8134
8906
|
id: string;
|
|
@@ -8142,6 +8914,7 @@ declare function useCreateContact(): _tanstack_react_query.UseMutationResult<{
|
|
|
8142
8914
|
} | null | undefined;
|
|
8143
8915
|
}, Error, {
|
|
8144
8916
|
email: string;
|
|
8917
|
+
clientId?: string | null | undefined;
|
|
8145
8918
|
companyId?: string | undefined;
|
|
8146
8919
|
firstName?: string | undefined;
|
|
8147
8920
|
lastName?: string | undefined;
|
|
@@ -8178,6 +8951,7 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
|
|
|
8178
8951
|
status: "active" | "invalid";
|
|
8179
8952
|
createdAt: string;
|
|
8180
8953
|
updatedAt: string;
|
|
8954
|
+
clientId?: string | null | undefined;
|
|
8181
8955
|
pipelineStatus?: unknown;
|
|
8182
8956
|
company?: {
|
|
8183
8957
|
id: string;
|
|
@@ -8191,6 +8965,7 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
|
|
|
8191
8965
|
} | null | undefined;
|
|
8192
8966
|
}, Error, {
|
|
8193
8967
|
companyId?: string | undefined;
|
|
8968
|
+
clientId?: string | null | undefined;
|
|
8194
8969
|
emailValid?: "VALID" | "INVALID" | "RISKY" | "UNKNOWN" | undefined;
|
|
8195
8970
|
firstName?: string | undefined;
|
|
8196
8971
|
lastName?: string | undefined;
|
|
@@ -8212,7 +8987,7 @@ declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<vo
|
|
|
8212
8987
|
|
|
8213
8988
|
declare const leadGenArtifactKeys: {
|
|
8214
8989
|
all: readonly ["lead-gen-artifacts"];
|
|
8215
|
-
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "
|
|
8990
|
+
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "list" | "company" | "contact" | "deal" | "list_member", string];
|
|
8216
8991
|
};
|
|
8217
8992
|
interface UseArtifactsParams {
|
|
8218
8993
|
ownerKind: AcqArtifactOwnerKind;
|
|
@@ -8244,7 +9019,7 @@ declare function useCreateArtifact(): _tanstack_react_query.UseMutationResult<{
|
|
|
8244
9019
|
createdAt: string;
|
|
8245
9020
|
version: number;
|
|
8246
9021
|
}, Error, {
|
|
8247
|
-
ownerKind: "
|
|
9022
|
+
ownerKind: "list" | "company" | "contact" | "deal" | "list_member";
|
|
8248
9023
|
ownerId: string;
|
|
8249
9024
|
kind: string;
|
|
8250
9025
|
content: Record<string, unknown>;
|
|
@@ -8990,6 +9765,7 @@ declare function useProjectTasks(projectId: string): _tanstack_react_query.UseQu
|
|
|
8990
9765
|
declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
8991
9766
|
actual_end_date: string | null;
|
|
8992
9767
|
client_company_id: string | null;
|
|
9768
|
+
client_id: string | null;
|
|
8993
9769
|
contract_value: number | null;
|
|
8994
9770
|
created_at: string;
|
|
8995
9771
|
deal_id: string | null;
|
|
@@ -9006,6 +9782,7 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
|
9006
9782
|
}, Error, Omit<{
|
|
9007
9783
|
actual_end_date?: string | null;
|
|
9008
9784
|
client_company_id?: string | null;
|
|
9785
|
+
client_id?: string | null;
|
|
9009
9786
|
contract_value?: number | null;
|
|
9010
9787
|
created_at?: string;
|
|
9011
9788
|
deal_id?: string | null;
|
|
@@ -9023,6 +9800,7 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
|
9023
9800
|
declare function useUpdateProject(): _tanstack_react_query.UseMutationResult<{
|
|
9024
9801
|
actual_end_date: string | null;
|
|
9025
9802
|
client_company_id: string | null;
|
|
9803
|
+
client_id: string | null;
|
|
9026
9804
|
contract_value: number | null;
|
|
9027
9805
|
created_at: string;
|
|
9028
9806
|
deal_id: string | null;
|
|
@@ -9291,5 +10069,5 @@ declare function useCreateNote(): _tanstack_react_query.UseMutationResult<{
|
|
|
9291
10069
|
type?: string;
|
|
9292
10070
|
}, "organization_id">, unknown>;
|
|
9293
10071
|
|
|
9294
|
-
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, collectResourceFilterFacets, companyKeys, contactKeys, createFeatureAccessHook, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, 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, 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, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useHasPermission, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationPermissions, 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, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution };
|
|
9295
|
-
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AssignRoleInput, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, CreateApiKeyRequest, CreateApiKeyResponse, 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, FeatureAccessResult, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, OrgRole, RemoveCompaniesFromListResult, RequestRow, RequestsListFilters, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusFilter, SubmitActionRequest, SubmitActionResponse, TaskSchedule, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WorkflowExecutionTriggerParams };
|
|
10072
|
+
export { 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, createFeatureAccessHook, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, 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, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useHasPermission, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationPermissions, 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, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution };
|
|
10073
|
+
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AssignRoleInput, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, 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, FeatureAccessResult, GetMessagesResponse, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MessageEvent, MessageType, OrgRole, RemoveCompaniesFromListResult, RequestRow, RequestsListFilters, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusFilter, SubmitActionRequest, SubmitActionResponse, SystemHealthExecutionSummary, SystemHealthResponse, TaskSchedule, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UpdateClientRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSystemHealthParams, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WorkflowExecutionTriggerParams };
|