@elevasis/ui 2.35.0 → 2.37.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 +4 -3
- package/dist/app/index.css +0 -384
- package/dist/app/index.d.ts +45 -18
- package/dist/app/index.js +21 -21
- package/dist/auth/index.d.ts +91 -28
- package/dist/auth/index.js +5 -1
- package/dist/charts/index.js +9 -3
- package/dist/chunk-5CTJ7TW2.js +111 -0
- package/dist/chunk-5EYJ2GIN.js +122 -0
- package/dist/{chunk-VDOOGGBA.js → chunk-6NREL3KL.js} +2 -2
- package/dist/chunk-6ROXVZ3L.js +9 -0
- package/dist/{chunk-YYX7OPZQ.js → chunk-73EWE2EW.js} +1 -1
- package/dist/{chunk-SIQ3P4OR.js → chunk-7GQFIWP4.js} +8 -756
- package/dist/chunk-A7IG36LB.js +215 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/{chunk-AKW7KISS.js → chunk-CWYQRM5T.js} +2 -38
- package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
- package/dist/chunk-I53EX4VU.js +734 -0
- package/dist/chunk-IIMU5YAJ.js +53 -0
- package/dist/{chunk-VKIZUUPM.js → chunk-JPVZRZ3X.js} +31 -14
- package/dist/chunk-JXVNHVK7.js +79 -0
- package/dist/chunk-JZ2WID2G.js +337 -0
- package/dist/chunk-LCJQ6OWC.js +348 -0
- package/dist/chunk-LNC6PZAE.js +85 -0
- package/dist/{chunk-4U3XAWCN.js → chunk-NWMPBG4U.js} +134 -495
- package/dist/chunk-NYNOMAAS.js +422 -0
- package/dist/chunk-S3KBYQTI.js +39 -0
- package/dist/chunk-S3XR4II4.js +30 -0
- package/dist/chunk-SHZT7ULK.js +425 -0
- package/dist/{chunk-26HFM4MH.js → chunk-T3NI7DOA.js} +2005 -4106
- package/dist/{chunk-GX6XBRRF.js → chunk-TYRUKGGD.js} +2 -1
- package/dist/{chunk-R3VCBZDC.js → chunk-X4WBGKJQ.js} +3 -50
- package/dist/{chunk-GEFWMU26.js → chunk-X66MVMZT.js} +1 -9
- package/dist/{chunk-57OZ3AEG.js → chunk-Y3JQBSKQ.js} +1 -1
- package/dist/components/index.d.ts +36 -46
- package/dist/components/index.js +33 -19
- package/dist/components/navigation/index.js +3 -31
- package/dist/execution/index.d.ts +2 -2
- package/dist/features/auth/index.d.ts +55 -99
- package/dist/features/auth/index.js +36 -99
- package/dist/features/clients/index.js +33 -19
- package/dist/features/crm/index.d.ts +23 -0
- package/dist/features/crm/index.js +33 -19
- package/dist/features/dashboard/index.d.ts +3 -3
- package/dist/features/dashboard/index.js +33 -19
- package/dist/features/delivery/index.d.ts +23 -0
- package/dist/features/delivery/index.js +33 -19
- package/dist/features/knowledge/index.js +6 -30
- package/dist/features/lead-gen/index.d.ts +1373 -48
- package/dist/features/lead-gen/index.js +33 -19
- package/dist/features/monitoring/index.js +33 -19
- package/dist/features/monitoring/requests/index.js +33 -19
- package/dist/features/notes/index.d.ts +72 -0
- package/dist/features/notes/index.js +621 -0
- package/dist/features/operations/index.d.ts +30 -30
- package/dist/features/operations/index.js +33 -19
- package/dist/features/right-panel-host/index.d.ts +214 -0
- package/dist/features/right-panel-host/index.js +640 -0
- package/dist/features/seo/index.js +3 -2
- package/dist/features/settings/index.d.ts +26 -35
- package/dist/features/settings/index.js +33 -19
- package/dist/hooks/access/index.d.ts +90 -0
- package/dist/hooks/access/index.js +10 -0
- package/dist/hooks/delivery/index.d.ts +23 -0
- package/dist/hooks/delivery/index.js +33 -19
- package/dist/hooks/index.d.ts +1816 -1855
- package/dist/hooks/index.js +33 -19
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +13 -13
- package/dist/hooks/published.d.ts +1816 -1855
- package/dist/hooks/published.js +33 -19
- package/dist/hooks/user-notes/index.d.ts +57 -0
- package/dist/hooks/user-notes/index.js +3 -0
- package/dist/index.d.ts +290 -309
- package/dist/index.js +34 -20
- package/dist/initialization/index.d.ts +23 -19
- package/dist/knowledge/index.d.ts +21 -21
- package/dist/knowledge/index.js +12 -9
- package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
- package/dist/layout/index.js +5 -3
- package/dist/organization/index.d.ts +0 -19
- package/dist/organization/index.js +33 -19
- package/dist/profile/index.d.ts +23 -0
- package/dist/provider/index.css +0 -384
- package/dist/provider/index.d.ts +45 -18
- package/dist/provider/index.js +15 -21
- package/dist/provider/published.css +0 -523
- package/dist/provider/published.d.ts +45 -18
- package/dist/provider/published.js +11 -21
- package/dist/sse/index.js +26 -5
- package/dist/supabase/index.d.ts +46 -0
- package/dist/test-utils/index.d.ts +2 -21
- package/dist/test-utils/index.js +5 -18
- package/dist/theme/index.js +2 -1
- package/dist/types/index.d.ts +86 -72
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +2 -1
- package/package.json +21 -5
- package/src/auth/README.md +6 -6
- package/dist/components/navigation/index.css +0 -649
- package/dist/features/knowledge/index.css +0 -649
package/dist/index.d.ts
CHANGED
|
@@ -443,8 +443,8 @@ interface SerializedWorkflowDefinition {
|
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
declare const ResourceGovernanceStatusSchema: z$1.ZodEnum<{
|
|
446
|
-
deprecated: "deprecated";
|
|
447
446
|
active: "active";
|
|
447
|
+
deprecated: "deprecated";
|
|
448
448
|
archived: "archived";
|
|
449
449
|
}>;
|
|
450
450
|
declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -455,8 +455,8 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
455
455
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
456
456
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
457
457
|
status: z$1.ZodEnum<{
|
|
458
|
-
deprecated: "deprecated";
|
|
459
458
|
active: "active";
|
|
459
|
+
deprecated: "deprecated";
|
|
460
460
|
archived: "archived";
|
|
461
461
|
}>;
|
|
462
462
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -474,12 +474,12 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
474
474
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
475
475
|
path: z$1.ZodString;
|
|
476
476
|
role: z$1.ZodEnum<{
|
|
477
|
-
config: "config";
|
|
478
477
|
entrypoint: "entrypoint";
|
|
479
478
|
handler: "handler";
|
|
480
479
|
schema: "schema";
|
|
481
480
|
test: "test";
|
|
482
481
|
docs: "docs";
|
|
482
|
+
config: "config";
|
|
483
483
|
}>;
|
|
484
484
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
485
485
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -490,10 +490,10 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
490
490
|
label: z$1.ZodString;
|
|
491
491
|
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
492
492
|
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
493
|
+
active: "active";
|
|
493
494
|
deprecated: "deprecated";
|
|
494
495
|
draft: "draft";
|
|
495
496
|
beta: "beta";
|
|
496
|
-
active: "active";
|
|
497
497
|
archived: "archived";
|
|
498
498
|
}>>;
|
|
499
499
|
}, z$1.core.$strip>>>;
|
|
@@ -505,8 +505,8 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
505
505
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
506
506
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
507
507
|
status: z$1.ZodEnum<{
|
|
508
|
-
deprecated: "deprecated";
|
|
509
508
|
active: "active";
|
|
509
|
+
deprecated: "deprecated";
|
|
510
510
|
archived: "archived";
|
|
511
511
|
}>;
|
|
512
512
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -524,12 +524,12 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
524
524
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
525
525
|
path: z$1.ZodString;
|
|
526
526
|
role: z$1.ZodEnum<{
|
|
527
|
-
config: "config";
|
|
528
527
|
entrypoint: "entrypoint";
|
|
529
528
|
handler: "handler";
|
|
530
529
|
schema: "schema";
|
|
531
530
|
test: "test";
|
|
532
531
|
docs: "docs";
|
|
532
|
+
config: "config";
|
|
533
533
|
}>;
|
|
534
534
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
535
535
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -571,10 +571,10 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
571
571
|
label: z$1.ZodString;
|
|
572
572
|
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
573
573
|
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
574
|
+
active: "active";
|
|
574
575
|
deprecated: "deprecated";
|
|
575
576
|
draft: "draft";
|
|
576
577
|
beta: "beta";
|
|
577
|
-
active: "active";
|
|
578
578
|
archived: "archived";
|
|
579
579
|
}>>;
|
|
580
580
|
}, z$1.core.$strip>>>;
|
|
@@ -586,8 +586,8 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
586
586
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
587
587
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
588
588
|
status: z$1.ZodEnum<{
|
|
589
|
-
deprecated: "deprecated";
|
|
590
589
|
active: "active";
|
|
590
|
+
deprecated: "deprecated";
|
|
591
591
|
archived: "archived";
|
|
592
592
|
}>;
|
|
593
593
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -605,12 +605,12 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
605
605
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
606
606
|
path: z$1.ZodString;
|
|
607
607
|
role: z$1.ZodEnum<{
|
|
608
|
-
config: "config";
|
|
609
608
|
entrypoint: "entrypoint";
|
|
610
609
|
handler: "handler";
|
|
611
610
|
schema: "schema";
|
|
612
611
|
test: "test";
|
|
613
612
|
docs: "docs";
|
|
613
|
+
config: "config";
|
|
614
614
|
}>;
|
|
615
615
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
616
616
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -625,8 +625,8 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
625
625
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
626
626
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
627
627
|
status: z$1.ZodEnum<{
|
|
628
|
-
deprecated: "deprecated";
|
|
629
628
|
active: "active";
|
|
629
|
+
deprecated: "deprecated";
|
|
630
630
|
archived: "archived";
|
|
631
631
|
}>;
|
|
632
632
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -644,12 +644,12 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
644
644
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
645
645
|
path: z$1.ZodString;
|
|
646
646
|
role: z$1.ZodEnum<{
|
|
647
|
-
config: "config";
|
|
648
647
|
entrypoint: "entrypoint";
|
|
649
648
|
handler: "handler";
|
|
650
649
|
schema: "schema";
|
|
651
650
|
test: "test";
|
|
652
651
|
docs: "docs";
|
|
652
|
+
config: "config";
|
|
653
653
|
}>;
|
|
654
654
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
655
655
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -3614,6 +3614,7 @@ type Database = {
|
|
|
3614
3614
|
title: string | null;
|
|
3615
3615
|
updated_at: string;
|
|
3616
3616
|
user_id: string;
|
|
3617
|
+
visibility: string;
|
|
3617
3618
|
};
|
|
3618
3619
|
Insert: {
|
|
3619
3620
|
content: string;
|
|
@@ -3628,6 +3629,7 @@ type Database = {
|
|
|
3628
3629
|
title?: string | null;
|
|
3629
3630
|
updated_at?: string;
|
|
3630
3631
|
user_id: string;
|
|
3632
|
+
visibility?: string;
|
|
3631
3633
|
};
|
|
3632
3634
|
Update: {
|
|
3633
3635
|
content?: string;
|
|
@@ -3642,6 +3644,7 @@ type Database = {
|
|
|
3642
3644
|
title?: string | null;
|
|
3643
3645
|
updated_at?: string;
|
|
3644
3646
|
user_id?: string;
|
|
3647
|
+
visibility?: string;
|
|
3645
3648
|
};
|
|
3646
3649
|
Relationships: [
|
|
3647
3650
|
{
|
|
@@ -3810,6 +3813,12 @@ type Database = {
|
|
|
3810
3813
|
Args: never;
|
|
3811
3814
|
Returns: boolean;
|
|
3812
3815
|
};
|
|
3816
|
+
current_user_shares_org_with: {
|
|
3817
|
+
Args: {
|
|
3818
|
+
other_user_id: string;
|
|
3819
|
+
};
|
|
3820
|
+
Returns: boolean;
|
|
3821
|
+
};
|
|
3813
3822
|
current_user_supabase_id: {
|
|
3814
3823
|
Args: never;
|
|
3815
3824
|
Returns: string;
|
|
@@ -3849,6 +3858,20 @@ type Database = {
|
|
|
3849
3858
|
Args: never;
|
|
3850
3859
|
Returns: string;
|
|
3851
3860
|
};
|
|
3861
|
+
has_org_access: {
|
|
3862
|
+
Args: {
|
|
3863
|
+
action?: string;
|
|
3864
|
+
org_id: string;
|
|
3865
|
+
system_path: string;
|
|
3866
|
+
};
|
|
3867
|
+
Returns: boolean;
|
|
3868
|
+
} | {
|
|
3869
|
+
Args: {
|
|
3870
|
+
action?: string;
|
|
3871
|
+
system_path: string;
|
|
3872
|
+
};
|
|
3873
|
+
Returns: boolean;
|
|
3874
|
+
};
|
|
3852
3875
|
has_org_permission: {
|
|
3853
3876
|
Args: {
|
|
3854
3877
|
org_id: string;
|
|
@@ -4245,6 +4268,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
4245
4268
|
enabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4246
4269
|
order: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4247
4270
|
}, z$1.core.$strip>>>;
|
|
4271
|
+
dataMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4272
|
+
mock: "mock";
|
|
4273
|
+
live: "live";
|
|
4274
|
+
}>>;
|
|
4248
4275
|
}, z$1.core.$strip>;
|
|
4249
4276
|
}, z$1.core.$strip>;
|
|
4250
4277
|
declare const ListCompaniesQuerySchema: z$1.ZodObject<{
|
|
@@ -4368,9 +4395,9 @@ declare const AcqContactResponseSchema: z$1.ZodObject<{
|
|
|
4368
4395
|
updatedAt: z$1.ZodString;
|
|
4369
4396
|
}, z$1.core.$strip>;
|
|
4370
4397
|
declare const AcqArtifactOwnerKindSchema: z$1.ZodEnum<{
|
|
4371
|
-
list: "list";
|
|
4372
4398
|
company: "company";
|
|
4373
4399
|
contact: "contact";
|
|
4400
|
+
list: "list";
|
|
4374
4401
|
deal: "deal";
|
|
4375
4402
|
list_member: "list_member";
|
|
4376
4403
|
}>;
|
|
@@ -4976,9 +5003,9 @@ declare const SurfaceTypeSchema: z$1.ZodEnum<{
|
|
|
4976
5003
|
dashboard: "dashboard";
|
|
4977
5004
|
settings: "settings";
|
|
4978
5005
|
graph: "graph";
|
|
4979
|
-
list: "list";
|
|
4980
5006
|
page: "page";
|
|
4981
5007
|
detail: "detail";
|
|
5008
|
+
list: "list";
|
|
4982
5009
|
}>;
|
|
4983
5010
|
interface SidebarSurfaceNode {
|
|
4984
5011
|
type: 'surface';
|
|
@@ -5010,10 +5037,10 @@ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
|
5010
5037
|
declare const LinkSchema: z$1.ZodObject<{
|
|
5011
5038
|
nodeId: z$1.ZodString;
|
|
5012
5039
|
kind: z$1.ZodEnum<{
|
|
5013
|
-
links: "links";
|
|
5014
5040
|
affects: "affects";
|
|
5015
|
-
effects: "effects";
|
|
5016
5041
|
actions: "actions";
|
|
5042
|
+
effects: "effects";
|
|
5043
|
+
links: "links";
|
|
5017
5044
|
reads: "reads";
|
|
5018
5045
|
writes: "writes";
|
|
5019
5046
|
emits: "emits";
|
|
@@ -5435,8 +5462,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5435
5462
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5436
5463
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
5437
5464
|
status: z$1.ZodEnum<{
|
|
5438
|
-
deprecated: "deprecated";
|
|
5439
5465
|
active: "active";
|
|
5466
|
+
deprecated: "deprecated";
|
|
5440
5467
|
archived: "archived";
|
|
5441
5468
|
}>;
|
|
5442
5469
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -5454,12 +5481,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5454
5481
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
5455
5482
|
path: z$1.ZodString;
|
|
5456
5483
|
role: z$1.ZodEnum<{
|
|
5457
|
-
config: "config";
|
|
5458
5484
|
entrypoint: "entrypoint";
|
|
5459
5485
|
handler: "handler";
|
|
5460
5486
|
schema: "schema";
|
|
5461
5487
|
test: "test";
|
|
5462
5488
|
docs: "docs";
|
|
5489
|
+
config: "config";
|
|
5463
5490
|
}>;
|
|
5464
5491
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
5465
5492
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5470,10 +5497,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5470
5497
|
label: z$1.ZodString;
|
|
5471
5498
|
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
5472
5499
|
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5500
|
+
active: "active";
|
|
5473
5501
|
deprecated: "deprecated";
|
|
5474
5502
|
draft: "draft";
|
|
5475
5503
|
beta: "beta";
|
|
5476
|
-
active: "active";
|
|
5477
5504
|
archived: "archived";
|
|
5478
5505
|
}>>;
|
|
5479
5506
|
}, z$1.core.$strip>>>;
|
|
@@ -5485,8 +5512,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5485
5512
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5486
5513
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
5487
5514
|
status: z$1.ZodEnum<{
|
|
5488
|
-
deprecated: "deprecated";
|
|
5489
5515
|
active: "active";
|
|
5516
|
+
deprecated: "deprecated";
|
|
5490
5517
|
archived: "archived";
|
|
5491
5518
|
}>;
|
|
5492
5519
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -5504,12 +5531,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5504
5531
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
5505
5532
|
path: z$1.ZodString;
|
|
5506
5533
|
role: z$1.ZodEnum<{
|
|
5507
|
-
config: "config";
|
|
5508
5534
|
entrypoint: "entrypoint";
|
|
5509
5535
|
handler: "handler";
|
|
5510
5536
|
schema: "schema";
|
|
5511
5537
|
test: "test";
|
|
5512
5538
|
docs: "docs";
|
|
5539
|
+
config: "config";
|
|
5513
5540
|
}>;
|
|
5514
5541
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
5515
5542
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5551,10 +5578,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5551
5578
|
label: z$1.ZodString;
|
|
5552
5579
|
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
5553
5580
|
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5581
|
+
active: "active";
|
|
5554
5582
|
deprecated: "deprecated";
|
|
5555
5583
|
draft: "draft";
|
|
5556
5584
|
beta: "beta";
|
|
5557
|
-
active: "active";
|
|
5558
5585
|
archived: "archived";
|
|
5559
5586
|
}>>;
|
|
5560
5587
|
}, z$1.core.$strip>>>;
|
|
@@ -5566,8 +5593,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5566
5593
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5567
5594
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
5568
5595
|
status: z$1.ZodEnum<{
|
|
5569
|
-
deprecated: "deprecated";
|
|
5570
5596
|
active: "active";
|
|
5597
|
+
deprecated: "deprecated";
|
|
5571
5598
|
archived: "archived";
|
|
5572
5599
|
}>;
|
|
5573
5600
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -5585,12 +5612,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5585
5612
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
5586
5613
|
path: z$1.ZodString;
|
|
5587
5614
|
role: z$1.ZodEnum<{
|
|
5588
|
-
config: "config";
|
|
5589
5615
|
entrypoint: "entrypoint";
|
|
5590
5616
|
handler: "handler";
|
|
5591
5617
|
schema: "schema";
|
|
5592
5618
|
test: "test";
|
|
5593
5619
|
docs: "docs";
|
|
5620
|
+
config: "config";
|
|
5594
5621
|
}>;
|
|
5595
5622
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
5596
5623
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5605,8 +5632,8 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5605
5632
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5606
5633
|
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
5607
5634
|
status: z$1.ZodEnum<{
|
|
5608
|
-
deprecated: "deprecated";
|
|
5609
5635
|
active: "active";
|
|
5636
|
+
deprecated: "deprecated";
|
|
5610
5637
|
archived: "archived";
|
|
5611
5638
|
}>;
|
|
5612
5639
|
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -5624,12 +5651,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5624
5651
|
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
5625
5652
|
path: z$1.ZodString;
|
|
5626
5653
|
role: z$1.ZodEnum<{
|
|
5627
|
-
config: "config";
|
|
5628
5654
|
entrypoint: "entrypoint";
|
|
5629
5655
|
handler: "handler";
|
|
5630
5656
|
schema: "schema";
|
|
5631
5657
|
test: "test";
|
|
5632
5658
|
docs: "docs";
|
|
5659
|
+
config: "config";
|
|
5633
5660
|
}>;
|
|
5634
5661
|
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
5635
5662
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5743,10 +5770,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5743
5770
|
}, z$1.core.$strip>], "kind">>>;
|
|
5744
5771
|
knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
5745
5772
|
lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
|
|
5773
|
+
active: "active";
|
|
5746
5774
|
deprecated: "deprecated";
|
|
5747
5775
|
draft: "draft";
|
|
5748
5776
|
beta: "beta";
|
|
5749
|
-
active: "active";
|
|
5750
5777
|
archived: "archived";
|
|
5751
5778
|
}>>;
|
|
5752
5779
|
}, z$1.core.$strip>>>>;
|
|
@@ -5824,10 +5851,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5824
5851
|
roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5825
5852
|
}, z$1.core.$strip>>;
|
|
5826
5853
|
lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
|
|
5854
|
+
active: "active";
|
|
5827
5855
|
deprecated: "deprecated";
|
|
5828
5856
|
draft: "draft";
|
|
5829
5857
|
beta: "beta";
|
|
5830
|
-
active: "active";
|
|
5831
5858
|
archived: "archived";
|
|
5832
5859
|
}>>;
|
|
5833
5860
|
}, z$1.core.$strip>>>>;
|
|
@@ -5910,12 +5937,12 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5910
5937
|
kind: z$1.ZodEnum<{
|
|
5911
5938
|
knowledge: "knowledge";
|
|
5912
5939
|
system: "system";
|
|
5940
|
+
resource: "resource";
|
|
5913
5941
|
action: "action";
|
|
5914
5942
|
ontology: "ontology";
|
|
5915
5943
|
role: "role";
|
|
5916
|
-
goal: "goal";
|
|
5917
|
-
resource: "resource";
|
|
5918
5944
|
stage: "stage";
|
|
5945
|
+
goal: "goal";
|
|
5919
5946
|
"customer-segment": "customer-segment";
|
|
5920
5947
|
offering: "offering";
|
|
5921
5948
|
}>;
|
|
@@ -5925,7 +5952,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5925
5952
|
nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
5926
5953
|
}, z$1.core.$strip>]>, z$1.ZodTransform<{
|
|
5927
5954
|
target: {
|
|
5928
|
-
kind: "knowledge" | "system" | "
|
|
5955
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
5929
5956
|
id: string;
|
|
5930
5957
|
};
|
|
5931
5958
|
nodeId: string;
|
|
@@ -5933,7 +5960,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5933
5960
|
nodeId: string;
|
|
5934
5961
|
} | {
|
|
5935
5962
|
target: {
|
|
5936
|
-
kind: "knowledge" | "system" | "
|
|
5963
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
5937
5964
|
id: string;
|
|
5938
5965
|
};
|
|
5939
5966
|
}>>>>;
|
|
@@ -6009,63 +6036,6 @@ interface SessionTokenUsage {
|
|
|
6009
6036
|
contextWindowSize: number;
|
|
6010
6037
|
}
|
|
6011
6038
|
|
|
6012
|
-
/**
|
|
6013
|
-
* Single source of truth for all active theme preset names.
|
|
6014
|
-
*
|
|
6015
|
-
* This is the canonical list. To add a preset:
|
|
6016
|
-
* 1. Add the name here.
|
|
6017
|
-
* 2. Create `packages/ui/src/theme/presets/{name}.ts` exporting `{name}Preset: ThemePreset`.
|
|
6018
|
-
* 3. Add to `PRESETS` record in `packages/ui/src/theme/presets/index.ts`.
|
|
6019
|
-
* 4. Add to `PresetName` union in `packages/ui/src/theme/presets/types.ts`.
|
|
6020
|
-
* 5. Add a card in `apps/command-center/src/features/settings/appearance/components/AppearanceSettings.tsx`.
|
|
6021
|
-
*
|
|
6022
|
-
* The union type (`ThemePresetName`) and Zod enum (`ThemePresetEnum`) are derived
|
|
6023
|
-
* automatically — no other files need updating.
|
|
6024
|
-
*/
|
|
6025
|
-
declare const THEME_PRESETS: readonly ["default", "tactical", "regal", "cyber-volt", "aurora", "rose-gold", "midnight", "titanium", "canopy", "slate", "cyber-strike", "cyber-chrome", "cyber-void", "nirvana", "wave", "synapse", "cortex", "helios", "graphite", "quarry"];
|
|
6026
|
-
type ThemePresetName = (typeof THEME_PRESETS)[number];
|
|
6027
|
-
|
|
6028
|
-
/**
|
|
6029
|
-
* Multi-tenancy configuration types
|
|
6030
|
-
*
|
|
6031
|
-
* Config is stored in dedicated `config` columns (NOT nested in metadata):
|
|
6032
|
-
* - organizations.config: Org-level config (no feature toggles -- all features available by default)
|
|
6033
|
-
* - org_memberships.config: Per-user-per-org feature overrides
|
|
6034
|
-
* - users.config: User-global config
|
|
6035
|
-
*/
|
|
6036
|
-
|
|
6037
|
-
/**
|
|
6038
|
-
* Per-user-per-org config (stored in org_memberships.config)
|
|
6039
|
-
* Controls which features a specific member can access within their org.
|
|
6040
|
-
* Keys are feature IDs from the organization model (e.g. crm, lead-gen, projects, seo).
|
|
6041
|
-
*/
|
|
6042
|
-
interface MembershipFeatureConfig {
|
|
6043
|
-
features?: Record<string, boolean>;
|
|
6044
|
-
}
|
|
6045
|
-
/**
|
|
6046
|
-
* User-global config (stored in users.config)
|
|
6047
|
-
* Theme and onboarding are user-specific, NOT org-specific
|
|
6048
|
-
*/
|
|
6049
|
-
interface UserConfig {
|
|
6050
|
-
theme?: {
|
|
6051
|
-
preset?: ThemePresetName;
|
|
6052
|
-
colorScheme?: 'light' | 'dark' | 'auto';
|
|
6053
|
-
};
|
|
6054
|
-
onboarding?: {
|
|
6055
|
-
completed?: boolean;
|
|
6056
|
-
completedAt?: string;
|
|
6057
|
-
role?: string;
|
|
6058
|
-
primaryUseCase?: string[];
|
|
6059
|
-
experienceLevel?: string;
|
|
6060
|
-
/** Onboarding guide system state (set by checklist/tour system) */
|
|
6061
|
-
guides?: {
|
|
6062
|
-
completedIds?: string[];
|
|
6063
|
-
dismissed?: boolean;
|
|
6064
|
-
completedAt?: string;
|
|
6065
|
-
};
|
|
6066
|
-
};
|
|
6067
|
-
}
|
|
6068
|
-
|
|
6069
6039
|
/**
|
|
6070
6040
|
* Memberships Domain - Zod Validation Schemas
|
|
6071
6041
|
*
|
|
@@ -6155,7 +6125,6 @@ interface MembershipWithDetails extends OrganizationMembership {
|
|
|
6155
6125
|
metadata?: Record<string, unknown>;
|
|
6156
6126
|
config?: Record<string, unknown>;
|
|
6157
6127
|
};
|
|
6158
|
-
config?: MembershipFeatureConfig;
|
|
6159
6128
|
}
|
|
6160
6129
|
|
|
6161
6130
|
interface OAuthToken extends Record<string, unknown> {
|
|
@@ -7040,7 +7009,7 @@ type APIErrorCode = 'VALIDATION_ERROR' | 'AUTHENTICATION_FAILED' | 'FORBIDDEN' |
|
|
|
7040
7009
|
* Source of truth for the permission keys used by:
|
|
7041
7010
|
* - RLS policies in Supabase (via has_org_permission(org_id, key))
|
|
7042
7011
|
* - API middleware (via requireOrganizationPermission(key))
|
|
7043
|
-
* - UI
|
|
7012
|
+
* - UI access checks (via useAccess() permission-backed AccessKeys)
|
|
7044
7013
|
*
|
|
7045
7014
|
* The DB table `org_rol_permissions` mirrors this constant. There is no
|
|
7046
7015
|
* runtime reconciler; parity is enforced two ways:
|
|
@@ -7086,6 +7055,81 @@ interface PermissionDescriptor {
|
|
|
7086
7055
|
isOrgGrantable: boolean;
|
|
7087
7056
|
}
|
|
7088
7057
|
|
|
7058
|
+
declare const AccessKeyInputSchema: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
7059
|
+
systemPath: z$1.ZodString;
|
|
7060
|
+
action: z$1.ZodDefault<z$1.ZodEnum<{
|
|
7061
|
+
view: "view";
|
|
7062
|
+
manage: "manage";
|
|
7063
|
+
}>>;
|
|
7064
|
+
}, z$1.core.$strict>]>;
|
|
7065
|
+
type AccessKeyInput = z$1.input<typeof AccessKeyInputSchema>;
|
|
7066
|
+
declare const AccessKeys: {
|
|
7067
|
+
readonly platformAdmin: {
|
|
7068
|
+
readonly systemPath: "platform.admin";
|
|
7069
|
+
readonly action: "view";
|
|
7070
|
+
};
|
|
7071
|
+
readonly organizationManage: {
|
|
7072
|
+
readonly systemPath: "permission.org";
|
|
7073
|
+
readonly action: "manage";
|
|
7074
|
+
};
|
|
7075
|
+
readonly membersManage: {
|
|
7076
|
+
readonly systemPath: "permission.members";
|
|
7077
|
+
readonly action: "manage";
|
|
7078
|
+
};
|
|
7079
|
+
readonly rolesManage: {
|
|
7080
|
+
readonly systemPath: "permission.roles";
|
|
7081
|
+
readonly action: "manage";
|
|
7082
|
+
};
|
|
7083
|
+
readonly secretsManage: {
|
|
7084
|
+
readonly systemPath: "permission.secrets";
|
|
7085
|
+
readonly action: "manage";
|
|
7086
|
+
};
|
|
7087
|
+
readonly operationsRead: {
|
|
7088
|
+
readonly systemPath: "permission.operations";
|
|
7089
|
+
readonly action: "view";
|
|
7090
|
+
};
|
|
7091
|
+
readonly operationsManage: {
|
|
7092
|
+
readonly systemPath: "permission.operations";
|
|
7093
|
+
readonly action: "manage";
|
|
7094
|
+
};
|
|
7095
|
+
readonly acquisitionManage: {
|
|
7096
|
+
readonly systemPath: "permission.acquisition";
|
|
7097
|
+
readonly action: "manage";
|
|
7098
|
+
};
|
|
7099
|
+
readonly projectsManage: {
|
|
7100
|
+
readonly systemPath: "permission.projects";
|
|
7101
|
+
readonly action: "manage";
|
|
7102
|
+
};
|
|
7103
|
+
readonly clientsManage: {
|
|
7104
|
+
readonly systemPath: "permission.clients";
|
|
7105
|
+
readonly action: "manage";
|
|
7106
|
+
};
|
|
7107
|
+
readonly operationsOverview: {
|
|
7108
|
+
readonly systemPath: "diagnostic.operations.overview";
|
|
7109
|
+
readonly action: "view";
|
|
7110
|
+
};
|
|
7111
|
+
readonly operationsRecentExecutions: {
|
|
7112
|
+
readonly systemPath: "diagnostic.operations.recent-executions";
|
|
7113
|
+
readonly action: "view";
|
|
7114
|
+
};
|
|
7115
|
+
readonly monitoringExecutionLogs: {
|
|
7116
|
+
readonly systemPath: "diagnostic.monitoring.execution-logs";
|
|
7117
|
+
readonly action: "view";
|
|
7118
|
+
};
|
|
7119
|
+
readonly monitoringNotifications: {
|
|
7120
|
+
readonly systemPath: "diagnostic.monitoring.notifications";
|
|
7121
|
+
readonly action: "view";
|
|
7122
|
+
};
|
|
7123
|
+
};
|
|
7124
|
+
|
|
7125
|
+
type AccessRestrictedBy = 'catalog' | 'membership' | 'system-lifecycle' | 'role-permission' | 'diagnostic-allowlist' | null;
|
|
7126
|
+
type AccessReason = 'allowed' | 'platform-admin-bypass' | 'invalid-access-key' | 'unknown-access-key' | 'organization-mismatch' | 'missing-membership' | 'system-not-active' | 'role-permission-denied' | 'diagnostic-key-not-allowed';
|
|
7127
|
+
interface AccessAnswer {
|
|
7128
|
+
allowed: boolean;
|
|
7129
|
+
restrictedBy: AccessRestrictedBy;
|
|
7130
|
+
reason: AccessReason;
|
|
7131
|
+
}
|
|
7132
|
+
|
|
7089
7133
|
/**
|
|
7090
7134
|
* Execution history item.
|
|
7091
7135
|
* Represents a single execution triggered by a schedule.
|
|
@@ -7319,7 +7363,7 @@ type FieldPath<T> = T extends object ? {
|
|
|
7319
7363
|
[K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
|
|
7320
7364
|
}[keyof T & string] : never;
|
|
7321
7365
|
/** Discriminated string union of supported Mantine components. */
|
|
7322
|
-
type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
|
|
7366
|
+
type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
|
|
7323
7367
|
/** Rendering hint for a single field within a section. */
|
|
7324
7368
|
interface StepConfigFieldHint<T> {
|
|
7325
7369
|
/** Typed dotted path into T — typo = TS error. */
|
|
@@ -7654,13 +7698,6 @@ interface PresetEntry {
|
|
|
7654
7698
|
/** Returns all available presets as UI-ready entries. */
|
|
7655
7699
|
declare function useAvailablePresets(): PresetEntry[];
|
|
7656
7700
|
|
|
7657
|
-
type Props$2 = {
|
|
7658
|
-
permission: PermissionKey | string;
|
|
7659
|
-
fallback?: ReactNode;
|
|
7660
|
-
children: ReactNode;
|
|
7661
|
-
};
|
|
7662
|
-
declare function Can({ permission, fallback, children }: Props$2): react_jsx_runtime.JSX.Element | null;
|
|
7663
|
-
|
|
7664
7701
|
type Props$1 = {
|
|
7665
7702
|
slug: string;
|
|
7666
7703
|
name: string;
|
|
@@ -8211,13 +8248,16 @@ interface IConfirmationInputModalProps {
|
|
|
8211
8248
|
}
|
|
8212
8249
|
declare const ConfirmationInputModal: ({ opened, onClose, loading, icon, confirmationHandler, style, title, text, buttonText, buttonColor, inputValue, onInputChange, expectedValue, placeholder }: IConfirmationInputModalProps) => react_jsx_runtime.JSX.Element;
|
|
8213
8250
|
|
|
8214
|
-
|
|
8215
|
-
hasPermission: (key: PermissionKey | string) => boolean;
|
|
8216
|
-
permissions: string[];
|
|
8217
|
-
isPlatformAdmin: boolean;
|
|
8251
|
+
interface UseAccessResult extends AccessAnswer {
|
|
8218
8252
|
isReady: boolean;
|
|
8219
|
-
|
|
8220
|
-
|
|
8253
|
+
isPlatformAdmin: boolean;
|
|
8254
|
+
permissions: readonly string[];
|
|
8255
|
+
}
|
|
8256
|
+
/**
|
|
8257
|
+
* Unified access hook for Organization Model system lifecycle, diagnostic keys,
|
|
8258
|
+
* role permissions, organization membership, and platform-admin bypass.
|
|
8259
|
+
*/
|
|
8260
|
+
declare function useAccess(key: AccessKeyInput): UseAccessResult;
|
|
8221
8261
|
|
|
8222
8262
|
/**
|
|
8223
8263
|
* Query key factory for executions TanStack Query hooks.
|
|
@@ -8249,6 +8289,7 @@ interface UseInFlightExecutionsOptions {
|
|
|
8249
8289
|
refetchInterval?: number | false;
|
|
8250
8290
|
limit?: number;
|
|
8251
8291
|
offset?: number;
|
|
8292
|
+
listId?: string;
|
|
8252
8293
|
}
|
|
8253
8294
|
declare function useInFlightExecutions(resourceId: string, options?: UseInFlightExecutionsOptions): _tanstack_react_query.UseQueryResult<APIExecutionListResponse, Error>;
|
|
8254
8295
|
|
|
@@ -8265,6 +8306,7 @@ interface ExecuteAsyncParams {
|
|
|
8265
8306
|
resourceId: string;
|
|
8266
8307
|
resourceType: ResourceType;
|
|
8267
8308
|
input: unknown;
|
|
8309
|
+
listId?: string;
|
|
8268
8310
|
}
|
|
8269
8311
|
interface ExecuteAsyncResult {
|
|
8270
8312
|
executionId: string;
|
|
@@ -9309,168 +9351,6 @@ declare function useSortedData<T>(data: T[], defaultColumn: string, accessors: R
|
|
|
9309
9351
|
toggleSort: (column: string) => void;
|
|
9310
9352
|
};
|
|
9311
9353
|
|
|
9312
|
-
/**
|
|
9313
|
-
* Type for the useOrganizations hook return value
|
|
9314
|
-
*/
|
|
9315
|
-
interface UseOrganizationsReturn {
|
|
9316
|
-
currentWorkOSOrganizationId: string | null;
|
|
9317
|
-
currentMembership: MembershipWithDetails | null;
|
|
9318
|
-
setCurrentWorkOSOrganizationId: (id: string | null) => void;
|
|
9319
|
-
setCurrentMembership: (membership: MembershipWithDetails | null) => void;
|
|
9320
|
-
setOrganizationsInitializing: (initializing: boolean) => void;
|
|
9321
|
-
setOrganizationsLoading: (loading: boolean) => void;
|
|
9322
|
-
setOrganizationsError: (error: string | null) => void;
|
|
9323
|
-
organizations: {
|
|
9324
|
-
isInitializing: boolean;
|
|
9325
|
-
isOrgRefreshing: boolean;
|
|
9326
|
-
error: string | null;
|
|
9327
|
-
};
|
|
9328
|
-
}
|
|
9329
|
-
/**
|
|
9330
|
-
* Type for the useApiClient hook return value
|
|
9331
|
-
*/
|
|
9332
|
-
interface UseApiClientReturn {
|
|
9333
|
-
apiRequest: <T = unknown>(path: string, options?: RequestInit) => Promise<T>;
|
|
9334
|
-
}
|
|
9335
|
-
/**
|
|
9336
|
-
* Return type for useOrgInitialization hook
|
|
9337
|
-
*/
|
|
9338
|
-
interface UseOrgInitializationReturn {
|
|
9339
|
-
memberships: MembershipWithDetails[];
|
|
9340
|
-
isInitializing: boolean;
|
|
9341
|
-
isLoading: boolean;
|
|
9342
|
-
isInitialized: boolean;
|
|
9343
|
-
error: string | null;
|
|
9344
|
-
currentOrganization: MembershipWithDetails['organization'] | null;
|
|
9345
|
-
retry: () => Promise<void>;
|
|
9346
|
-
}
|
|
9347
|
-
/**
|
|
9348
|
-
* Factory function to create a useOrgInitialization hook for your app.
|
|
9349
|
-
*
|
|
9350
|
-
* Usage in app:
|
|
9351
|
-
* ```typescript
|
|
9352
|
-
* import { createUseOrgInitialization } from '@repo/ui/organization'
|
|
9353
|
-
* import { useOrganizations } from './hooks/useOrganizations'
|
|
9354
|
-
* import { useApiClient } from './api/hooks/useApiClient'
|
|
9355
|
-
*
|
|
9356
|
-
* export const useOrgInitialization = createUseOrgInitialization(
|
|
9357
|
-
* useOrganizations,
|
|
9358
|
-
* useApiClient
|
|
9359
|
-
* )
|
|
9360
|
-
* ```
|
|
9361
|
-
*
|
|
9362
|
-
* This pattern allows the shared package to provide the hook logic
|
|
9363
|
-
* while each app provides its own hook instances.
|
|
9364
|
-
*/
|
|
9365
|
-
declare function createUseOrgInitialization(useOrganizations: () => UseOrganizationsReturn, useApiClient: () => UseApiClientReturn): () => UseOrgInitializationReturn;
|
|
9366
|
-
|
|
9367
|
-
interface InitializationError {
|
|
9368
|
-
layer: 'auth' | 'profile' | 'organization';
|
|
9369
|
-
message: string;
|
|
9370
|
-
originalError?: Error;
|
|
9371
|
-
}
|
|
9372
|
-
interface AppInitializationState {
|
|
9373
|
-
userReady: boolean;
|
|
9374
|
-
organizationReady: boolean;
|
|
9375
|
-
allReady: boolean;
|
|
9376
|
-
isInitializing: boolean;
|
|
9377
|
-
error: InitializationError | null;
|
|
9378
|
-
retry: () => void;
|
|
9379
|
-
profile: SupabaseUserProfile | null;
|
|
9380
|
-
}
|
|
9381
|
-
/**
|
|
9382
|
-
* Factory function to create a useAppInitialization hook for your app.
|
|
9383
|
-
*
|
|
9384
|
-
* Usage in app:
|
|
9385
|
-
* ```typescript
|
|
9386
|
-
* import { createUseAppInitialization } from '@repo/ui/initialization'
|
|
9387
|
-
* import { useOrgInitialization } from './organization/hooks/useOrgInitialization'
|
|
9388
|
-
*
|
|
9389
|
-
* export const useAppInitialization = createUseAppInitialization(useOrgInitialization)
|
|
9390
|
-
* ```
|
|
9391
|
-
*
|
|
9392
|
-
* This pattern allows the shared package to provide the hook logic
|
|
9393
|
-
* while each app provides its own hook instances.
|
|
9394
|
-
*/
|
|
9395
|
-
declare function createUseAppInitialization(useOrgInitialization: () => UseOrgInitializationReturn): () => AppInitializationState;
|
|
9396
|
-
|
|
9397
|
-
/**
|
|
9398
|
-
* The value exposed by OrganizationProvider to all consumers.
|
|
9399
|
-
*/
|
|
9400
|
-
interface OrganizationContextValue {
|
|
9401
|
-
/** WorkOS organization ID of the currently selected organization. */
|
|
9402
|
-
currentWorkOSOrganizationId: string | null;
|
|
9403
|
-
/** Supabase (UUID) organization ID of the currently selected organization. */
|
|
9404
|
-
currentSupabaseOrganizationId: string | null;
|
|
9405
|
-
/** Full membership record for the currently selected organization. */
|
|
9406
|
-
currentMembership: MembershipWithDetails | null;
|
|
9407
|
-
/** All memberships for the authenticated user. */
|
|
9408
|
-
memberships: MembershipWithDetails[];
|
|
9409
|
-
/** True while the initial membership list is being fetched. */
|
|
9410
|
-
isInitializing: boolean;
|
|
9411
|
-
/** True while a subsequent org switch / refresh is in flight. */
|
|
9412
|
-
isOrgRefreshing: boolean;
|
|
9413
|
-
/** Error message if the membership fetch or org switch failed. */
|
|
9414
|
-
error: string | null;
|
|
9415
|
-
/**
|
|
9416
|
-
* Switch the active organization.
|
|
9417
|
-
*
|
|
9418
|
-
* Persists the selection to `last_visited_org` on the user profile and
|
|
9419
|
-
* invalidates all org-scoped TanStack Query cache entries.
|
|
9420
|
-
*
|
|
9421
|
-
* @param workosOrgId - WorkOS organization ID to switch to.
|
|
9422
|
-
*/
|
|
9423
|
-
switchOrganization: (workosOrgId: string) => void;
|
|
9424
|
-
/**
|
|
9425
|
-
* Re-fetch memberships and retry org selection after an error.
|
|
9426
|
-
*/
|
|
9427
|
-
retry: () => Promise<void>;
|
|
9428
|
-
}
|
|
9429
|
-
declare const OrganizationContext: React$1.Context<OrganizationContextValue | null>;
|
|
9430
|
-
/**
|
|
9431
|
-
* Consumes the nearest OrganizationProvider.
|
|
9432
|
-
*
|
|
9433
|
-
* @throws {Error} If called outside of an OrganizationProvider tree.
|
|
9434
|
-
*/
|
|
9435
|
-
declare function useOrganization(): OrganizationContextValue;
|
|
9436
|
-
|
|
9437
|
-
type RestrictionSource = 'membership' | null;
|
|
9438
|
-
interface FeatureAccessResult {
|
|
9439
|
-
allowed: boolean;
|
|
9440
|
-
restrictedBy: RestrictionSource;
|
|
9441
|
-
}
|
|
9442
|
-
/**
|
|
9443
|
-
* Factory that creates a `useFeatureAccess` hook scoped to the consumer's
|
|
9444
|
-
* feature configuration.
|
|
9445
|
-
*
|
|
9446
|
-
* @param useInitialization - Initialization hook providing `profile` and `organizationReady`
|
|
9447
|
-
* @param useOrganization - Organization hook providing `currentMembership`
|
|
9448
|
-
*
|
|
9449
|
-
* @example
|
|
9450
|
-
* ```typescript
|
|
9451
|
-
* // In your app's feature-access module
|
|
9452
|
-
* import { createFeatureAccessHook } from '@repo/ui/hooks'
|
|
9453
|
-
* import { useInitialization } from '@repo/ui/initialization'
|
|
9454
|
-
* import { useOrganization } from '@repo/ui/organization'
|
|
9455
|
-
*
|
|
9456
|
-
* export const useFeatureAccess = createFeatureAccessHook({
|
|
9457
|
-
* useInitialization,
|
|
9458
|
-
* useOrganization,
|
|
9459
|
-
* })
|
|
9460
|
-
* ```
|
|
9461
|
-
*/
|
|
9462
|
-
declare function createFeatureAccessHook({ useInitialization, useOrganization }: {
|
|
9463
|
-
useInitialization: () => Pick<AppInitializationState, 'profile' | 'organizationReady'>;
|
|
9464
|
-
useOrganization: () => Pick<OrganizationContextValue, 'currentMembership'>;
|
|
9465
|
-
}): () => {
|
|
9466
|
-
orgConfig: Record<string, unknown> | undefined;
|
|
9467
|
-
membershipConfig: MembershipFeatureConfig | undefined;
|
|
9468
|
-
userConfig: UserConfig | undefined;
|
|
9469
|
-
hasFeature: (featureKey: string) => boolean;
|
|
9470
|
-
checkFeature: (featureKey: string) => FeatureAccessResult;
|
|
9471
|
-
isReady: boolean;
|
|
9472
|
-
};
|
|
9473
|
-
|
|
9474
9354
|
interface UseSSEConnectionOptions {
|
|
9475
9355
|
manager: SSEConnectionManagerLike;
|
|
9476
9356
|
/** Shared connection key — all subscribers with the same key share ONE connection. */
|
|
@@ -10594,6 +10474,7 @@ declare const acquisitionListKeys: {
|
|
|
10594
10474
|
detail: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", string | null, string];
|
|
10595
10475
|
telemetry: (organizationId: string | null) => readonly ["acquisition-lists", "telemetry", string | null];
|
|
10596
10476
|
progress: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", "progress", string | null, string];
|
|
10477
|
+
executionsBase: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", "executions", string | null, string];
|
|
10597
10478
|
records: (organizationId: string | null, listId: string, filters: ListRecordsFilters) => readonly ["acquisition-lists", "records", string | null, string, "company" | "contact", string | null, number | null, number | null];
|
|
10598
10479
|
executions: (organizationId: string | null, listId: string, filters?: ListExecutionsFilters) => readonly ["acquisition-lists", "executions", string | null, string, string | null, number | null];
|
|
10599
10480
|
};
|
|
@@ -10694,6 +10575,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
10694
10575
|
enabled?: boolean | undefined;
|
|
10695
10576
|
order?: number | undefined;
|
|
10696
10577
|
}[] | undefined;
|
|
10578
|
+
dataMode?: "mock" | "live" | undefined;
|
|
10697
10579
|
};
|
|
10698
10580
|
}[], Error>;
|
|
10699
10581
|
declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
@@ -10779,6 +10661,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
10779
10661
|
enabled?: boolean | undefined;
|
|
10780
10662
|
order?: number | undefined;
|
|
10781
10663
|
}[] | undefined;
|
|
10664
|
+
dataMode?: "mock" | "live" | undefined;
|
|
10782
10665
|
};
|
|
10783
10666
|
}, Error>;
|
|
10784
10667
|
declare function useListsTelemetry(): _tanstack_react_query.UseQueryResult<ListTelemetry[], Error>;
|
|
@@ -10963,6 +10846,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
10963
10846
|
enabled?: boolean | undefined;
|
|
10964
10847
|
order?: number | undefined;
|
|
10965
10848
|
}[] | undefined;
|
|
10849
|
+
dataMode?: "mock" | "live" | undefined;
|
|
10966
10850
|
};
|
|
10967
10851
|
}, Error, {
|
|
10968
10852
|
name: string;
|
|
@@ -10990,6 +10874,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
10990
10874
|
enabled?: boolean | undefined;
|
|
10991
10875
|
order?: number | undefined;
|
|
10992
10876
|
}[] | undefined;
|
|
10877
|
+
dataMode?: "mock" | "live" | undefined;
|
|
10993
10878
|
} | undefined;
|
|
10994
10879
|
}, unknown>;
|
|
10995
10880
|
declare function useUpdateList(listId: string): _tanstack_react_query.UseMutationResult<{
|
|
@@ -11075,6 +10960,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
11075
10960
|
enabled?: boolean | undefined;
|
|
11076
10961
|
order?: number | undefined;
|
|
11077
10962
|
}[] | undefined;
|
|
10963
|
+
dataMode?: "mock" | "live" | undefined;
|
|
11078
10964
|
};
|
|
11079
10965
|
}, Error, {
|
|
11080
10966
|
name?: string | undefined;
|
|
@@ -11166,6 +11052,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
11166
11052
|
enabled?: boolean | undefined;
|
|
11167
11053
|
order?: number | undefined;
|
|
11168
11054
|
}[] | undefined;
|
|
11055
|
+
dataMode?: "mock" | "live" | undefined;
|
|
11169
11056
|
};
|
|
11170
11057
|
}, Error, {
|
|
11171
11058
|
scrapingConfig?: {
|
|
@@ -11189,6 +11076,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
11189
11076
|
enabled?: boolean | undefined;
|
|
11190
11077
|
order?: number | undefined;
|
|
11191
11078
|
}[] | undefined;
|
|
11079
|
+
dataMode?: "mock" | "live" | undefined;
|
|
11192
11080
|
} | undefined;
|
|
11193
11081
|
}, unknown>;
|
|
11194
11082
|
declare function useDeleteList(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
@@ -11622,7 +11510,7 @@ declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<vo
|
|
|
11622
11510
|
|
|
11623
11511
|
declare const leadGenArtifactKeys: {
|
|
11624
11512
|
all: readonly ["lead-gen-artifacts"];
|
|
11625
|
-
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "
|
|
11513
|
+
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "company" | "contact" | "list" | "deal" | "list_member", string];
|
|
11626
11514
|
};
|
|
11627
11515
|
interface UseArtifactsParams {
|
|
11628
11516
|
ownerKind: AcqArtifactOwnerKind;
|
|
@@ -11654,7 +11542,7 @@ declare function useCreateArtifact(): _tanstack_react_query.UseMutationResult<{
|
|
|
11654
11542
|
createdAt: string;
|
|
11655
11543
|
version: number;
|
|
11656
11544
|
}, Error, {
|
|
11657
|
-
ownerKind: "
|
|
11545
|
+
ownerKind: "company" | "contact" | "list" | "deal" | "list_member";
|
|
11658
11546
|
ownerId: string;
|
|
11659
11547
|
kind: string;
|
|
11660
11548
|
content: Record<string, unknown>;
|
|
@@ -11962,12 +11850,6 @@ declare class OrganizationMembershipService {
|
|
|
11962
11850
|
|
|
11963
11851
|
declare function useUserMemberships(userId: string, params?: Omit<ListMembershipsParams, 'userId'>): _tanstack_react_query.UseQueryResult<MembershipWithDetails[], Error>;
|
|
11964
11852
|
|
|
11965
|
-
interface UpdateMemberConfigParams {
|
|
11966
|
-
membershipId: string;
|
|
11967
|
-
config: MembershipFeatureConfig;
|
|
11968
|
-
}
|
|
11969
|
-
declare function useUpdateMemberConfig(): _tanstack_react_query.UseMutationResult<unknown, Error, UpdateMemberConfigParams, unknown>;
|
|
11970
|
-
|
|
11971
11853
|
interface DeactivateMembershipMutationData {
|
|
11972
11854
|
membershipId: string;
|
|
11973
11855
|
userId?: string;
|
|
@@ -15421,13 +15303,6 @@ interface DeploymentStatusBadgeProps {
|
|
|
15421
15303
|
}
|
|
15422
15304
|
declare function DeploymentStatusBadge({ status }: DeploymentStatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
15423
15305
|
|
|
15424
|
-
interface MembershipFeaturePanelProps {
|
|
15425
|
-
currentConfig?: MembershipFeatureConfig;
|
|
15426
|
-
onConfigChange: (config: MembershipFeatureConfig) => void;
|
|
15427
|
-
disabled?: boolean;
|
|
15428
|
-
}
|
|
15429
|
-
declare function MembershipFeaturePanel({ currentConfig, onConfigChange, disabled }: MembershipFeaturePanelProps): react_jsx_runtime.JSX.Element;
|
|
15430
|
-
|
|
15431
15306
|
interface MembershipStatusBadgeProps {
|
|
15432
15307
|
status: MembershipStatus;
|
|
15433
15308
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -16648,6 +16523,91 @@ declare function useStableAccessToken(): () => Promise<string>;
|
|
|
16648
16523
|
*/
|
|
16649
16524
|
declare function useSessionCheck(): void;
|
|
16650
16525
|
|
|
16526
|
+
/**
|
|
16527
|
+
* Type for the useOrganizations hook return value
|
|
16528
|
+
*/
|
|
16529
|
+
interface UseOrganizationsReturn {
|
|
16530
|
+
currentWorkOSOrganizationId: string | null;
|
|
16531
|
+
currentMembership: MembershipWithDetails | null;
|
|
16532
|
+
setCurrentWorkOSOrganizationId: (id: string | null) => void;
|
|
16533
|
+
setCurrentMembership: (membership: MembershipWithDetails | null) => void;
|
|
16534
|
+
setOrganizationsInitializing: (initializing: boolean) => void;
|
|
16535
|
+
setOrganizationsLoading: (loading: boolean) => void;
|
|
16536
|
+
setOrganizationsError: (error: string | null) => void;
|
|
16537
|
+
organizations: {
|
|
16538
|
+
isInitializing: boolean;
|
|
16539
|
+
isOrgRefreshing: boolean;
|
|
16540
|
+
error: string | null;
|
|
16541
|
+
};
|
|
16542
|
+
}
|
|
16543
|
+
/**
|
|
16544
|
+
* Type for the useApiClient hook return value
|
|
16545
|
+
*/
|
|
16546
|
+
interface UseApiClientReturn {
|
|
16547
|
+
apiRequest: <T = unknown>(path: string, options?: RequestInit) => Promise<T>;
|
|
16548
|
+
}
|
|
16549
|
+
/**
|
|
16550
|
+
* Return type for useOrgInitialization hook
|
|
16551
|
+
*/
|
|
16552
|
+
interface UseOrgInitializationReturn {
|
|
16553
|
+
memberships: MembershipWithDetails[];
|
|
16554
|
+
isInitializing: boolean;
|
|
16555
|
+
isLoading: boolean;
|
|
16556
|
+
isInitialized: boolean;
|
|
16557
|
+
error: string | null;
|
|
16558
|
+
currentOrganization: MembershipWithDetails['organization'] | null;
|
|
16559
|
+
retry: () => Promise<void>;
|
|
16560
|
+
}
|
|
16561
|
+
/**
|
|
16562
|
+
* Factory function to create a useOrgInitialization hook for your app.
|
|
16563
|
+
*
|
|
16564
|
+
* Usage in app:
|
|
16565
|
+
* ```typescript
|
|
16566
|
+
* import { createUseOrgInitialization } from '@repo/ui/organization'
|
|
16567
|
+
* import { useOrganizations } from './hooks/useOrganizations'
|
|
16568
|
+
* import { useApiClient } from './api/hooks/useApiClient'
|
|
16569
|
+
*
|
|
16570
|
+
* export const useOrgInitialization = createUseOrgInitialization(
|
|
16571
|
+
* useOrganizations,
|
|
16572
|
+
* useApiClient
|
|
16573
|
+
* )
|
|
16574
|
+
* ```
|
|
16575
|
+
*
|
|
16576
|
+
* This pattern allows the shared package to provide the hook logic
|
|
16577
|
+
* while each app provides its own hook instances.
|
|
16578
|
+
*/
|
|
16579
|
+
declare function createUseOrgInitialization(useOrganizations: () => UseOrganizationsReturn, useApiClient: () => UseApiClientReturn): () => UseOrgInitializationReturn;
|
|
16580
|
+
|
|
16581
|
+
interface InitializationError {
|
|
16582
|
+
layer: 'auth' | 'profile' | 'organization';
|
|
16583
|
+
message: string;
|
|
16584
|
+
originalError?: Error;
|
|
16585
|
+
}
|
|
16586
|
+
interface AppInitializationState {
|
|
16587
|
+
userReady: boolean;
|
|
16588
|
+
organizationReady: boolean;
|
|
16589
|
+
allReady: boolean;
|
|
16590
|
+
isInitializing: boolean;
|
|
16591
|
+
error: InitializationError | null;
|
|
16592
|
+
retry: () => void;
|
|
16593
|
+
profile: SupabaseUserProfile | null;
|
|
16594
|
+
}
|
|
16595
|
+
/**
|
|
16596
|
+
* Factory function to create a useAppInitialization hook for your app.
|
|
16597
|
+
*
|
|
16598
|
+
* Usage in app:
|
|
16599
|
+
* ```typescript
|
|
16600
|
+
* import { createUseAppInitialization } from '@repo/ui/initialization'
|
|
16601
|
+
* import { useOrgInitialization } from './organization/hooks/useOrgInitialization'
|
|
16602
|
+
*
|
|
16603
|
+
* export const useAppInitialization = createUseAppInitialization(useOrgInitialization)
|
|
16604
|
+
* ```
|
|
16605
|
+
*
|
|
16606
|
+
* This pattern allows the shared package to provide the hook logic
|
|
16607
|
+
* while each app provides its own hook instances.
|
|
16608
|
+
*/
|
|
16609
|
+
declare function createUseAppInitialization(useOrgInitialization: () => UseOrgInitializationReturn): () => AppInitializationState;
|
|
16610
|
+
|
|
16651
16611
|
interface ProtectedRouteProps {
|
|
16652
16612
|
children: ReactNode;
|
|
16653
16613
|
/**
|
|
@@ -16706,36 +16666,17 @@ interface ProtectedRouteProps {
|
|
|
16706
16666
|
*/
|
|
16707
16667
|
declare function ProtectedRoute({ children, redirectTo, fallback, errorFallback, waitForOrganization }: ProtectedRouteProps): react_jsx_runtime.JSX.Element | null;
|
|
16708
16668
|
|
|
16709
|
-
interface
|
|
16669
|
+
interface AccessGuardProps {
|
|
16670
|
+
accessKey: AccessKeyInput;
|
|
16710
16671
|
children: ReactNode;
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16714
|
-
*/
|
|
16715
|
-
redirectTo?: string;
|
|
16716
|
-
/**
|
|
16717
|
-
* Rendered while user readiness is being determined.
|
|
16718
|
-
* When not provided, nothing is rendered during initialization.
|
|
16719
|
-
*/
|
|
16720
|
-
fallback?: ReactNode;
|
|
16672
|
+
fallback?: ReactNode | ((answer: UseAccessResult) => ReactNode);
|
|
16673
|
+
loadingFallback?: ReactNode;
|
|
16674
|
+
redirectTo?: string | null;
|
|
16721
16675
|
}
|
|
16722
16676
|
/**
|
|
16723
|
-
*
|
|
16724
|
-
*
|
|
16725
|
-
* Reads `profile.is_platform_admin` from the nearest InitializationProvider.
|
|
16726
|
-
* Non-admin users are redirected to `redirectTo` (default: '/').
|
|
16727
|
-
*
|
|
16728
|
-
* Must be nested inside a ProtectedRoute (or equivalent) so that
|
|
16729
|
-
* `userReady` is guaranteed to be true when this guard runs.
|
|
16730
|
-
*
|
|
16731
|
-
* @example
|
|
16732
|
-
* <ProtectedRoute>
|
|
16733
|
-
* <AdminGuard fallback={<AppShellLoader />}>
|
|
16734
|
-
* <AdminDashboard />
|
|
16735
|
-
* </AdminGuard>
|
|
16736
|
-
* </ProtectedRoute>
|
|
16677
|
+
* Unified route/UI guard for the shared Access Model.
|
|
16737
16678
|
*/
|
|
16738
|
-
declare function
|
|
16679
|
+
declare function AccessGuard({ accessKey, children, fallback, loadingFallback, redirectTo }: AccessGuardProps): react_jsx_runtime.JSX.Element;
|
|
16739
16680
|
|
|
16740
16681
|
type ApiRequestFn$2 = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
16741
16682
|
interface ProfileContextValue {
|
|
@@ -16829,6 +16770,46 @@ declare class UserProfileService {
|
|
|
16829
16770
|
}>): Promise<SupabaseUserProfile | null>;
|
|
16830
16771
|
}
|
|
16831
16772
|
|
|
16773
|
+
/**
|
|
16774
|
+
* The value exposed by OrganizationProvider to all consumers.
|
|
16775
|
+
*/
|
|
16776
|
+
interface OrganizationContextValue {
|
|
16777
|
+
/** WorkOS organization ID of the currently selected organization. */
|
|
16778
|
+
currentWorkOSOrganizationId: string | null;
|
|
16779
|
+
/** Supabase (UUID) organization ID of the currently selected organization. */
|
|
16780
|
+
currentSupabaseOrganizationId: string | null;
|
|
16781
|
+
/** Full membership record for the currently selected organization. */
|
|
16782
|
+
currentMembership: MembershipWithDetails | null;
|
|
16783
|
+
/** All memberships for the authenticated user. */
|
|
16784
|
+
memberships: MembershipWithDetails[];
|
|
16785
|
+
/** True while the initial membership list is being fetched. */
|
|
16786
|
+
isInitializing: boolean;
|
|
16787
|
+
/** True while a subsequent org switch / refresh is in flight. */
|
|
16788
|
+
isOrgRefreshing: boolean;
|
|
16789
|
+
/** Error message if the membership fetch or org switch failed. */
|
|
16790
|
+
error: string | null;
|
|
16791
|
+
/**
|
|
16792
|
+
* Switch the active organization.
|
|
16793
|
+
*
|
|
16794
|
+
* Persists the selection to `last_visited_org` on the user profile and
|
|
16795
|
+
* invalidates all org-scoped TanStack Query cache entries.
|
|
16796
|
+
*
|
|
16797
|
+
* @param workosOrgId - WorkOS organization ID to switch to.
|
|
16798
|
+
*/
|
|
16799
|
+
switchOrganization: (workosOrgId: string) => void;
|
|
16800
|
+
/**
|
|
16801
|
+
* Re-fetch memberships and retry org selection after an error.
|
|
16802
|
+
*/
|
|
16803
|
+
retry: () => Promise<void>;
|
|
16804
|
+
}
|
|
16805
|
+
declare const OrganizationContext: React$1.Context<OrganizationContextValue | null>;
|
|
16806
|
+
/**
|
|
16807
|
+
* Consumes the nearest OrganizationProvider.
|
|
16808
|
+
*
|
|
16809
|
+
* @throws {Error} If called outside of an OrganizationProvider tree.
|
|
16810
|
+
*/
|
|
16811
|
+
declare function useOrganization(): OrganizationContextValue;
|
|
16812
|
+
|
|
16832
16813
|
type ApiRequestFn = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
16833
16814
|
/**
|
|
16834
16815
|
* Provides organization state to its subtree via React Context.
|
|
@@ -17062,5 +17043,5 @@ declare function InitializationProvider({ children }: {
|
|
|
17062
17043
|
children: ReactNode;
|
|
17063
17044
|
}): React$1.FunctionComponentElement<React$1.ProviderProps<AppInitializationState | null>>;
|
|
17064
17045
|
|
|
17065
|
-
export { AGENT_CONSTANTS, APIClientError, APIErrorAlert, API_URL, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, ActivityTrendChart, AdminGuard, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, AmbientBloomGrid, ApiClientProvider, ApiKeyDisplayModal, ApiKeyList, ApiKeyService, ApiKeySettings, AppBackground, AppErrorBoundary, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, AppearanceProvider, AuthProvider, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, Can, CardHeader, CenteredErrorState, ChartFrame, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CollapsibleSidebarGroup, CombinedTrendChart, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CostTrendChart, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialService, CredentialSettings, CrmActionsProvider, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, CyberAreaChart, CyberBackground, CyberDonut, CyberDonutTooltip, CyberLegendItem, CyberParticles, DEAL_STAGES, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DEFAULT_KANBAN_CONFIG, DEFAULT_SEMANTIC_ICON_REGISTRY, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentService, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisCoreProvider, ElevasisLoader, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilmGrain, FilterBar, FloatingMotes, FloatingOrbs, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, HeroStatsRow, InitializationContext, InitializationProvider, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LIMIT_ACTIVITY_FEED, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, LinksGroup, ListActionsProvider, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipFeaturePanel, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAuthConnectModal, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationContext, OrganizationMembershipService, OrganizationMembershipsList, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, PAGE_SIZE_DEFAULT, PIPELINE_FUNNEL_ORDER, PageContainer, PageNotFound, PageTitleCaption, PermissionMatrix, PerspectiveGrid, PipelineFunnelWidget, PresetsProvider, ProfileProvider, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, ProtectedRoute, QuickCreateActions, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RadiantGlow, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, ResourceStatusColors, RichTextEditor, RoleBadge, RouterProvider, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, ScrollToTop, SemanticIcon, SessionMemory, Sidebar, SidebarContext, SidebarProvider, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, StyledMarkdown, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavItem, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, SystemShell, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TabCountBadge, TabSection, TableSelectionToolbar, TanStackRouterBridge, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, Topbar, TopbarContainer, TrendIndicator, TypeformArrayField, TypeformCheckboxGroup, TypeformNavigation, TypeformProgress, TypeformQuestionWrapper, TypeformRadioGroup, TypeformSurvey, TypeformTextInput, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, UserProfileService, Vignette, VisualizerContainer, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WaveBackground, WebhookEndpointService, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, acquisitionListKeys, answerValueSchema, brochureStyles, brochureTheme, buildErrorReport, calculateBarPosition, calculateGraphHeight, calculateProgress, checkboxWithOtherSchema, clientsKeys, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createCustomValue, createElevasisQueryClient, createFeatureAccessHook, createOrganizationsSlice, createPresetValue, createSurveyConfig, createTestSystemsProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, crmManifest, dealKeys, dealNoteKeys, dealTaskKeys, debounce, defaultTheme, deliveryManifest, executionsKeys, extendSemanticIconRegistry, extractAnswerValue, extractMultiAnswerValues, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatStatusLabel, formatTimeAgo, generateShades, getAnswerString, getCustomValueText, getEdgeColor, getEdgeOpacity, getEnrichmentColor, getErrorInfo, getErrorTitle, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getMultiAnswerStrings, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getSemanticIconComponent, getSeriesColor, getStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, hasCustomValue, hasPresetValue, iconMap, isAPIClientError, isCustomValue, isPresetValue, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, mantineThemeOverride, mdxComponents, mergeTheme, milestoneKeys, milestoneStatusColors, monitoringManifest, multiAnswerValueSchema, noteKeys, noteTypeColors, observabilityKeys, operationsKeys, operationsManifest, PRESETS as presets, projectActivityKeys, projectKeys, projectStatusColors, radioWithOtherSchema, requestsKeys, resolveSemanticIconComponent, restoreConsole, scheduleKeys, seoManifest, sessionsKeys, settingsManifest, setupBrowserMocks, shouldAnimateEdge, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, sortData, subshellNavItemIconSize, subsidebarWidth, suppressKnownWarnings, taskKeys, taskStatusColors, taskTypeColors, topbarHeight, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBreadcrumbs, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCardStyle, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, 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, useCrmActions, useCrmPipelineSummary, useCrmQuickMetrics, useCyberColors, 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, useDeleteLists, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisServices, useElevasisSystems, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutionSSE, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphBackgroundStyles, useGraphHighlighting, useGraphTheme, useHasPermission, useInFlightExecutions, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNewKnowledgeMapLayout, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisSystems, useOrgRoles, useOrganization, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentCrmActivity, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSidebar, useSidebarCollapse, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useTypeform, useTypeformContext, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution, useWorkflowStepsLayout, validateEmail };
|
|
17066
|
-
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityEntry, ActivityFilters$1 as ActivityFilters, ActivityFiltersProps, ActivityTableProps, ActivityTrendChartProps, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult,
|
|
17046
|
+
export { AGENT_CONSTANTS, APIClientError, APIErrorAlert, API_URL, AbsoluteScheduleForm, AccessGuard, AccessKeys, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, ActivityTrendChart, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, AmbientBloomGrid, ApiClientProvider, ApiKeyDisplayModal, ApiKeyList, ApiKeyService, ApiKeySettings, AppBackground, AppErrorBoundary, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, AppearanceProvider, AuthProvider, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, ChartFrame, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CollapsibleSidebarGroup, CombinedTrendChart, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CostTrendChart, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialService, CredentialSettings, CrmActionsProvider, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, CyberAreaChart, CyberBackground, CyberDonut, CyberDonutTooltip, CyberLegendItem, CyberParticles, DEAL_STAGES, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DEFAULT_KANBAN_CONFIG, DEFAULT_SEMANTIC_ICON_REGISTRY, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentService, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisCoreProvider, ElevasisLoader, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilmGrain, FilterBar, FloatingMotes, FloatingOrbs, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, HeroStatsRow, InitializationContext, InitializationProvider, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LIMIT_ACTIVITY_FEED, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, LinksGroup, ListActionsProvider, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAuthConnectModal, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationContext, OrganizationMembershipService, OrganizationMembershipsList, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, PAGE_SIZE_DEFAULT, PIPELINE_FUNNEL_ORDER, PageContainer, PageNotFound, PageTitleCaption, PermissionMatrix, PerspectiveGrid, PipelineFunnelWidget, PresetsProvider, ProfileProvider, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, ProtectedRoute, QuickCreateActions, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RadiantGlow, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, ResourceStatusColors, RichTextEditor, RoleBadge, RouterProvider, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, ScrollToTop, SemanticIcon, SessionMemory, Sidebar, SidebarContext, SidebarProvider, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, StyledMarkdown, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavItem, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, SystemShell, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TabCountBadge, TabSection, TableSelectionToolbar, TanStackRouterBridge, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, Topbar, TopbarContainer, TrendIndicator, TypeformArrayField, TypeformCheckboxGroup, TypeformNavigation, TypeformProgress, TypeformQuestionWrapper, TypeformRadioGroup, TypeformSurvey, TypeformTextInput, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, UserProfileService, Vignette, VisualizerContainer, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WaveBackground, WebhookEndpointService, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, acquisitionListKeys, answerValueSchema, brochureStyles, brochureTheme, buildErrorReport, calculateBarPosition, calculateGraphHeight, calculateProgress, checkboxWithOtherSchema, clientsKeys, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createCustomValue, createElevasisQueryClient, createOrganizationsSlice, createPresetValue, createSurveyConfig, createTestSystemsProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, crmManifest, dealKeys, dealNoteKeys, dealTaskKeys, debounce, defaultTheme, deliveryManifest, executionsKeys, extendSemanticIconRegistry, extractAnswerValue, extractMultiAnswerValues, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatStatusLabel, formatTimeAgo, generateShades, getAnswerString, getCustomValueText, getEdgeColor, getEdgeOpacity, getEnrichmentColor, getErrorInfo, getErrorTitle, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getMultiAnswerStrings, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getSemanticIconComponent, getSeriesColor, getStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, hasCustomValue, hasPresetValue, iconMap, isAPIClientError, isCustomValue, isPresetValue, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, mantineThemeOverride, mdxComponents, mergeTheme, milestoneKeys, milestoneStatusColors, monitoringManifest, multiAnswerValueSchema, noteKeys, noteTypeColors, observabilityKeys, operationsKeys, operationsManifest, PRESETS as presets, projectActivityKeys, projectKeys, projectStatusColors, radioWithOtherSchema, requestsKeys, resolveSemanticIconComponent, restoreConsole, scheduleKeys, seoManifest, sessionsKeys, settingsManifest, setupBrowserMocks, shouldAnimateEdge, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, sortData, subshellNavItemIconSize, subsidebarWidth, suppressKnownWarnings, taskKeys, taskStatusColors, taskTypeColors, topbarHeight, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBreadcrumbs, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCardStyle, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, 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, useCrmActions, useCrmPipelineSummary, useCrmQuickMetrics, useCyberColors, 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, useDeleteLists, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisServices, useElevasisSystems, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutionSSE, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphBackgroundStyles, useGraphHighlighting, useGraphTheme, useInFlightExecutions, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNewKnowledgeMapLayout, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisSystems, useOrgRoles, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentCrmActivity, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSidebar, useSidebarCollapse, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useTypeform, useTypeformContext, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution, useWorkflowStepsLayout, validateEmail };
|
|
17047
|
+
export type { AccessGuardProps, AccessKeyInput, AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityEntry, ActivityFilters$1 as ActivityFilters, ActivityFiltersProps, ActivityTableProps, ActivityTrendChartProps, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, AnswerValue, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppErrorBoundaryProps, AppInitializationState, AppearanceConfig, ArrayItemAnswer, ArrayQuestion, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BaseEdgeProps, BaseExecutionLogsProps, BaseQuestion, BreadcrumbItem, BreadcrumbsProps, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChartFrameProps, ChatMessage, CheckboxQuestion, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, CollapsibleSidebarGroupProps, ColorShadesTuple, CombinedTrendChartProps, ContentQuestion, ContextViewerProps, CostByModelTableProps, CostTrendChartProps, CrashErrorFallbackProps, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, CreateCredentialRequest, CreateCredentialResponse, CreateElevasisQueryClientOptions, CreateOrgRoleInput, CreateRoleModalProps, CreateScheduleInput, CreateSessionResponse, CreateTestSystemsProviderOptions, CredentialListItem, CrmOverviewProps, CyberAreaChartProps, CyberColors, CyberDonutProps, CyberDonutSegment, CyberSeries, CyberVariant, DealDetail, DealKanbanCardProps, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorAnalysisCardProps, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorReportCardProps, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionBreakdownTableProps, ExecutionErrorDetails, ExecutionHealthCardProps, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogEntry, ExecutionLogsFilters$1 as ExecutionLogsFilters, ExecutionLogsFiltersProps, ExecutionLogsPageResponse, ExecutionLogsTableProps, ExecutionPathState, ExecutionStatus, FailingResource, FeatureUnavailableStateProps, FieldPath, FitViewButtonVariant, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphFitViewHandlerProps, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, HeroStatsRowProps, InitializationError, JsonViewerProps, KanbanBoardProps, KnowledgeMapEdgeData, KnowledgeMapNodeData, LeadGenStageKey, LinkItem, LinkProps, LinksGroupProps, ListActivitiesResponse, ListApiKeysResponse, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, LogLevel, MdxRendererProps, MembershipWithDetails, MessageEvent, MessageType, MultiAnswerValue, NavItem, NavigationButtonProps, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphSystemBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PageCondition, PermissionRow, PresetEntry, PresetName, ProfileContextValue, ProjectsSidebarMiddleProps, ProtectedRouteProps, RadioQuestion, RemoveCompaniesFromListResult, RequestRow, RequestsListFilters, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ResourceFilterFacet, ResourceHealthPanelProps, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RichTextEditorProps, RouterAdapter, RunResourceButtonProps, RunResourceInputResolver, SavedViewPreset, ScheduleType, SemanticIconProps, SemanticIconRegistry, SemanticIconToken, SerializedKnowledgeMap, SerializedKnowledgeNode, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SidebarNestedProps, SortDirection, SortState, StaleDealSummaryItem, StatCardProps, StatefulItem, StatusColorScheme, StatusFilter$1 as StatusFilter, StatusIconColors, StepConfigComponent, StepConfigFieldHint, StepConfigFormProps, StepConfigLayout, StepConfigSection, StepExecutionData, StyledMarkdownProps, SubmitActionRequest, SubmitActionResponse, SubshellContainerProps, SubshellContentContainerProps, SubshellNavItemProps, SubshellNavListProps, SubshellRightSideContainerProps, SubshellSidebarContainerProps, SubshellSidebarLoaderProps, SubshellSidebarProps, SubshellSidebarSectionProps, SupabaseUserProfile, SystemHealthExecutionSummary, SystemHealthResponse, SystemIconComponent, SystemModule, SystemSidebarComponent, TabSectionProps, TablerIcon, TablerIconComponent, TaskFilterStatus, TaskSchedule, TextQuestion, TextareaQuestion, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TopbarProps, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, TrendIndicatorProps, TypeformActions, TypeformAnswerValue, TypeformAnswers, TypeformArrayFieldProps, TypeformCheckboxGroupProps, TypeformConfig, TypeformContextValue, TypeformErrors, TypeformInputQuestion, TypeformNavigationProps, TypeformOption, TypeformPage, TypeformProgressProps, TypeformQuestion, TypeformRadioGroupProps, TypeformState, TypeformStyles, TypeformSurveyProps, TypeformTextInputProps, TypeformTheme, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateClientRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseAccessResult, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseArtifactsParams, UseBatchedResourcesHealthParams, UseBreadcrumbsOptions, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSystemHealthParams, UseTypeformReturn, UseUserProfileReturn, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WaveVariant, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowExecutionTriggerParams, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput, ZodFormRendererProps };
|