@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
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _tanstack_react_query from '@tanstack/react-query';
|
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import * as z from 'zod';
|
|
7
|
-
import { z as z$1 } from 'zod';
|
|
7
|
+
import { z as z$1, ZodType } from 'zod';
|
|
8
8
|
import { CSSVariablesResolver, MantineThemeOverride } from '@mantine/core';
|
|
9
9
|
import { Node, Edge, NodeMouseHandler } from '@xyflow/react';
|
|
10
10
|
import { IconBrain } from '@tabler/icons-react';
|
|
@@ -354,6 +354,7 @@ interface SerializedAgentDefinition {
|
|
|
354
354
|
description: string;
|
|
355
355
|
version: string;
|
|
356
356
|
type: 'agent';
|
|
357
|
+
kind: 'orchestrator' | 'specialist' | 'utility' | 'system';
|
|
357
358
|
status: 'dev' | 'prod';
|
|
358
359
|
links?: ResourceLink[];
|
|
359
360
|
category?: ResourceCategory;
|
|
@@ -439,6 +440,125 @@ interface SerializedWorkflowDefinition {
|
|
|
439
440
|
metricsConfig?: object;
|
|
440
441
|
}
|
|
441
442
|
|
|
443
|
+
declare const ResourceGovernanceStatusSchema: z$1.ZodEnum<{
|
|
444
|
+
deprecated: "deprecated";
|
|
445
|
+
active: "active";
|
|
446
|
+
archived: "archived";
|
|
447
|
+
}>;
|
|
448
|
+
declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
449
|
+
id: z$1.ZodString;
|
|
450
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
451
|
+
systemPath: z$1.ZodString;
|
|
452
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
453
|
+
status: z$1.ZodEnum<{
|
|
454
|
+
deprecated: "deprecated";
|
|
455
|
+
active: "active";
|
|
456
|
+
archived: "archived";
|
|
457
|
+
}>;
|
|
458
|
+
kind: z$1.ZodLiteral<"workflow">;
|
|
459
|
+
actionKey: z$1.ZodOptional<z$1.ZodString>;
|
|
460
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
461
|
+
eventKey: z$1.ZodString;
|
|
462
|
+
label: z$1.ZodString;
|
|
463
|
+
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
464
|
+
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
465
|
+
deprecated: "deprecated";
|
|
466
|
+
draft: "draft";
|
|
467
|
+
beta: "beta";
|
|
468
|
+
active: "active";
|
|
469
|
+
archived: "archived";
|
|
470
|
+
}>>;
|
|
471
|
+
}, z$1.core.$strip>>>;
|
|
472
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
473
|
+
id: z$1.ZodString;
|
|
474
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
475
|
+
systemPath: z$1.ZodString;
|
|
476
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
477
|
+
status: z$1.ZodEnum<{
|
|
478
|
+
deprecated: "deprecated";
|
|
479
|
+
active: "active";
|
|
480
|
+
archived: "archived";
|
|
481
|
+
}>;
|
|
482
|
+
kind: z$1.ZodLiteral<"agent">;
|
|
483
|
+
agentKind: z$1.ZodEnum<{
|
|
484
|
+
platform: "platform";
|
|
485
|
+
orchestrator: "orchestrator";
|
|
486
|
+
specialist: "specialist";
|
|
487
|
+
utility: "utility";
|
|
488
|
+
}>;
|
|
489
|
+
actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
490
|
+
sessionCapable: z$1.ZodBoolean;
|
|
491
|
+
invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
492
|
+
kind: z$1.ZodLiteral<"slash-command">;
|
|
493
|
+
command: z$1.ZodString;
|
|
494
|
+
toolFactory: z$1.ZodOptional<z$1.ZodString>;
|
|
495
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
496
|
+
kind: z$1.ZodLiteral<"mcp-tool">;
|
|
497
|
+
server: z$1.ZodString;
|
|
498
|
+
name: z$1.ZodString;
|
|
499
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
500
|
+
kind: z$1.ZodLiteral<"api-endpoint">;
|
|
501
|
+
method: z$1.ZodEnum<{
|
|
502
|
+
GET: "GET";
|
|
503
|
+
POST: "POST";
|
|
504
|
+
PATCH: "PATCH";
|
|
505
|
+
DELETE: "DELETE";
|
|
506
|
+
}>;
|
|
507
|
+
path: z$1.ZodString;
|
|
508
|
+
requestSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
509
|
+
responseSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
510
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
511
|
+
kind: z$1.ZodLiteral<"script-execution">;
|
|
512
|
+
resourceId: z$1.ZodString;
|
|
513
|
+
}, z$1.core.$strip>], "kind">>>;
|
|
514
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
515
|
+
eventKey: z$1.ZodString;
|
|
516
|
+
label: z$1.ZodString;
|
|
517
|
+
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
518
|
+
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
519
|
+
deprecated: "deprecated";
|
|
520
|
+
draft: "draft";
|
|
521
|
+
beta: "beta";
|
|
522
|
+
active: "active";
|
|
523
|
+
archived: "archived";
|
|
524
|
+
}>>;
|
|
525
|
+
}, z$1.core.$strip>>>;
|
|
526
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
527
|
+
id: z$1.ZodString;
|
|
528
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
529
|
+
systemPath: z$1.ZodString;
|
|
530
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
531
|
+
status: z$1.ZodEnum<{
|
|
532
|
+
deprecated: "deprecated";
|
|
533
|
+
active: "active";
|
|
534
|
+
archived: "archived";
|
|
535
|
+
}>;
|
|
536
|
+
kind: z$1.ZodLiteral<"integration">;
|
|
537
|
+
provider: z$1.ZodString;
|
|
538
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
539
|
+
id: z$1.ZodString;
|
|
540
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
541
|
+
systemPath: z$1.ZodString;
|
|
542
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
543
|
+
status: z$1.ZodEnum<{
|
|
544
|
+
deprecated: "deprecated";
|
|
545
|
+
active: "active";
|
|
546
|
+
archived: "archived";
|
|
547
|
+
}>;
|
|
548
|
+
kind: z$1.ZodLiteral<"script">;
|
|
549
|
+
language: z$1.ZodEnum<{
|
|
550
|
+
shell: "shell";
|
|
551
|
+
sql: "sql";
|
|
552
|
+
typescript: "typescript";
|
|
553
|
+
python: "python";
|
|
554
|
+
}>;
|
|
555
|
+
source: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
556
|
+
file: z$1.ZodString;
|
|
557
|
+
}, z$1.core.$strip>]>;
|
|
558
|
+
}, z$1.core.$strip>], "kind">;
|
|
559
|
+
type ResourceGovernanceStatus = z$1.infer<typeof ResourceGovernanceStatusSchema>;
|
|
560
|
+
type ResourceEntry = z$1.infer<typeof ResourceEntrySchema>;
|
|
561
|
+
|
|
442
562
|
/**
|
|
443
563
|
* Shared form field types for dynamic form generation
|
|
444
564
|
* Used by: Command Queue, Execution Runner UI, future form-based features
|
|
@@ -664,6 +784,7 @@ type Database = {
|
|
|
664
784
|
batch_id: string | null;
|
|
665
785
|
category: string | null;
|
|
666
786
|
category_pain: string | null;
|
|
787
|
+
client_id: string | null;
|
|
667
788
|
created_at: string;
|
|
668
789
|
domain: string | null;
|
|
669
790
|
enrichment_data: Json | null;
|
|
@@ -690,6 +811,7 @@ type Database = {
|
|
|
690
811
|
batch_id?: string | null;
|
|
691
812
|
category?: string | null;
|
|
692
813
|
category_pain?: string | null;
|
|
814
|
+
client_id?: string | null;
|
|
693
815
|
created_at?: string;
|
|
694
816
|
domain?: string | null;
|
|
695
817
|
enrichment_data?: Json | null;
|
|
@@ -716,6 +838,7 @@ type Database = {
|
|
|
716
838
|
batch_id?: string | null;
|
|
717
839
|
category?: string | null;
|
|
718
840
|
category_pain?: string | null;
|
|
841
|
+
client_id?: string | null;
|
|
719
842
|
created_at?: string;
|
|
720
843
|
domain?: string | null;
|
|
721
844
|
enrichment_data?: Json | null;
|
|
@@ -739,6 +862,13 @@ type Database = {
|
|
|
739
862
|
website?: string | null;
|
|
740
863
|
};
|
|
741
864
|
Relationships: [
|
|
865
|
+
{
|
|
866
|
+
foreignKeyName: "acq_companies_client_id_fkey";
|
|
867
|
+
columns: ["client_id"];
|
|
868
|
+
isOneToOne: false;
|
|
869
|
+
referencedRelation: "clients";
|
|
870
|
+
referencedColumns: ["id"];
|
|
871
|
+
},
|
|
742
872
|
{
|
|
743
873
|
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
744
874
|
columns: ["organization_id"];
|
|
@@ -753,6 +883,7 @@ type Database = {
|
|
|
753
883
|
batch_id: string | null;
|
|
754
884
|
brochure_first_viewed_at: string | null;
|
|
755
885
|
brochure_view_count: number;
|
|
886
|
+
client_id: string | null;
|
|
756
887
|
company_id: string | null;
|
|
757
888
|
created_at: string;
|
|
758
889
|
email: string;
|
|
@@ -781,6 +912,7 @@ type Database = {
|
|
|
781
912
|
batch_id?: string | null;
|
|
782
913
|
brochure_first_viewed_at?: string | null;
|
|
783
914
|
brochure_view_count?: number;
|
|
915
|
+
client_id?: string | null;
|
|
784
916
|
company_id?: string | null;
|
|
785
917
|
created_at?: string;
|
|
786
918
|
email: string;
|
|
@@ -809,6 +941,7 @@ type Database = {
|
|
|
809
941
|
batch_id?: string | null;
|
|
810
942
|
brochure_first_viewed_at?: string | null;
|
|
811
943
|
brochure_view_count?: number;
|
|
944
|
+
client_id?: string | null;
|
|
812
945
|
company_id?: string | null;
|
|
813
946
|
created_at?: string;
|
|
814
947
|
email?: string;
|
|
@@ -834,6 +967,13 @@ type Database = {
|
|
|
834
967
|
updated_at?: string;
|
|
835
968
|
};
|
|
836
969
|
Relationships: [
|
|
970
|
+
{
|
|
971
|
+
foreignKeyName: "acq_contacts_client_id_fkey";
|
|
972
|
+
columns: ["client_id"];
|
|
973
|
+
isOneToOne: false;
|
|
974
|
+
referencedRelation: "clients";
|
|
975
|
+
referencedColumns: ["id"];
|
|
976
|
+
},
|
|
837
977
|
{
|
|
838
978
|
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
839
979
|
columns: ["company_id"];
|
|
@@ -1077,8 +1217,10 @@ type Database = {
|
|
|
1077
1217
|
acq_deals: {
|
|
1078
1218
|
Row: {
|
|
1079
1219
|
activity_log: Json;
|
|
1220
|
+
client_id: string | null;
|
|
1080
1221
|
closed_lost_at: string | null;
|
|
1081
1222
|
closed_lost_reason: string | null;
|
|
1223
|
+
company_id: string | null;
|
|
1082
1224
|
contact_email: string;
|
|
1083
1225
|
contact_id: string | null;
|
|
1084
1226
|
created_at: string;
|
|
@@ -1114,8 +1256,10 @@ type Database = {
|
|
|
1114
1256
|
};
|
|
1115
1257
|
Insert: {
|
|
1116
1258
|
activity_log?: Json;
|
|
1259
|
+
client_id?: string | null;
|
|
1117
1260
|
closed_lost_at?: string | null;
|
|
1118
1261
|
closed_lost_reason?: string | null;
|
|
1262
|
+
company_id?: string | null;
|
|
1119
1263
|
contact_email: string;
|
|
1120
1264
|
contact_id?: string | null;
|
|
1121
1265
|
created_at?: string;
|
|
@@ -1151,8 +1295,10 @@ type Database = {
|
|
|
1151
1295
|
};
|
|
1152
1296
|
Update: {
|
|
1153
1297
|
activity_log?: Json;
|
|
1298
|
+
client_id?: string | null;
|
|
1154
1299
|
closed_lost_at?: string | null;
|
|
1155
1300
|
closed_lost_reason?: string | null;
|
|
1301
|
+
company_id?: string | null;
|
|
1156
1302
|
contact_email?: string;
|
|
1157
1303
|
contact_id?: string | null;
|
|
1158
1304
|
created_at?: string;
|
|
@@ -1187,6 +1333,20 @@ type Database = {
|
|
|
1187
1333
|
updated_at?: string;
|
|
1188
1334
|
};
|
|
1189
1335
|
Relationships: [
|
|
1336
|
+
{
|
|
1337
|
+
foreignKeyName: "acq_deals_client_id_fkey";
|
|
1338
|
+
columns: ["client_id"];
|
|
1339
|
+
isOneToOne: false;
|
|
1340
|
+
referencedRelation: "clients";
|
|
1341
|
+
referencedColumns: ["id"];
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
foreignKeyName: "acq_deals_company_id_fkey";
|
|
1345
|
+
columns: ["company_id"];
|
|
1346
|
+
isOneToOne: false;
|
|
1347
|
+
referencedRelation: "acq_companies";
|
|
1348
|
+
referencedColumns: ["id"];
|
|
1349
|
+
},
|
|
1190
1350
|
{
|
|
1191
1351
|
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
1192
1352
|
columns: ["contact_id"];
|
|
@@ -1804,6 +1964,77 @@ type Database = {
|
|
|
1804
1964
|
}
|
|
1805
1965
|
];
|
|
1806
1966
|
};
|
|
1967
|
+
clients: {
|
|
1968
|
+
Row: {
|
|
1969
|
+
converted_at: string | null;
|
|
1970
|
+
created_at: string;
|
|
1971
|
+
id: string;
|
|
1972
|
+
metadata: Json;
|
|
1973
|
+
name: string;
|
|
1974
|
+
organization_id: string;
|
|
1975
|
+
primary_company_id: string | null;
|
|
1976
|
+
primary_contact_id: string | null;
|
|
1977
|
+
source_deal_id: string | null;
|
|
1978
|
+
status: string;
|
|
1979
|
+
updated_at: string;
|
|
1980
|
+
};
|
|
1981
|
+
Insert: {
|
|
1982
|
+
converted_at?: string | null;
|
|
1983
|
+
created_at?: string;
|
|
1984
|
+
id?: string;
|
|
1985
|
+
metadata?: Json;
|
|
1986
|
+
name: string;
|
|
1987
|
+
organization_id: string;
|
|
1988
|
+
primary_company_id?: string | null;
|
|
1989
|
+
primary_contact_id?: string | null;
|
|
1990
|
+
source_deal_id?: string | null;
|
|
1991
|
+
status?: string;
|
|
1992
|
+
updated_at?: string;
|
|
1993
|
+
};
|
|
1994
|
+
Update: {
|
|
1995
|
+
converted_at?: string | null;
|
|
1996
|
+
created_at?: string;
|
|
1997
|
+
id?: string;
|
|
1998
|
+
metadata?: Json;
|
|
1999
|
+
name?: string;
|
|
2000
|
+
organization_id?: string;
|
|
2001
|
+
primary_company_id?: string | null;
|
|
2002
|
+
primary_contact_id?: string | null;
|
|
2003
|
+
source_deal_id?: string | null;
|
|
2004
|
+
status?: string;
|
|
2005
|
+
updated_at?: string;
|
|
2006
|
+
};
|
|
2007
|
+
Relationships: [
|
|
2008
|
+
{
|
|
2009
|
+
foreignKeyName: "clients_organization_id_fkey";
|
|
2010
|
+
columns: ["organization_id"];
|
|
2011
|
+
isOneToOne: false;
|
|
2012
|
+
referencedRelation: "organizations";
|
|
2013
|
+
referencedColumns: ["id"];
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
foreignKeyName: "clients_primary_company_id_fkey";
|
|
2017
|
+
columns: ["primary_company_id"];
|
|
2018
|
+
isOneToOne: false;
|
|
2019
|
+
referencedRelation: "acq_companies";
|
|
2020
|
+
referencedColumns: ["id"];
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
foreignKeyName: "clients_primary_contact_id_fkey";
|
|
2024
|
+
columns: ["primary_contact_id"];
|
|
2025
|
+
isOneToOne: false;
|
|
2026
|
+
referencedRelation: "acq_contacts";
|
|
2027
|
+
referencedColumns: ["id"];
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
foreignKeyName: "clients_source_deal_id_fkey";
|
|
2031
|
+
columns: ["source_deal_id"];
|
|
2032
|
+
isOneToOne: false;
|
|
2033
|
+
referencedRelation: "acq_deals";
|
|
2034
|
+
referencedColumns: ["id"];
|
|
2035
|
+
}
|
|
2036
|
+
];
|
|
2037
|
+
};
|
|
1807
2038
|
command_queue: {
|
|
1808
2039
|
Row: {
|
|
1809
2040
|
action_payload: Json | null;
|
|
@@ -2773,6 +3004,7 @@ type Database = {
|
|
|
2773
3004
|
Row: {
|
|
2774
3005
|
actual_end_date: string | null;
|
|
2775
3006
|
client_company_id: string | null;
|
|
3007
|
+
client_id: string | null;
|
|
2776
3008
|
contract_value: number | null;
|
|
2777
3009
|
created_at: string;
|
|
2778
3010
|
deal_id: string | null;
|
|
@@ -2790,6 +3022,7 @@ type Database = {
|
|
|
2790
3022
|
Insert: {
|
|
2791
3023
|
actual_end_date?: string | null;
|
|
2792
3024
|
client_company_id?: string | null;
|
|
3025
|
+
client_id?: string | null;
|
|
2793
3026
|
contract_value?: number | null;
|
|
2794
3027
|
created_at?: string;
|
|
2795
3028
|
deal_id?: string | null;
|
|
@@ -2807,6 +3040,7 @@ type Database = {
|
|
|
2807
3040
|
Update: {
|
|
2808
3041
|
actual_end_date?: string | null;
|
|
2809
3042
|
client_company_id?: string | null;
|
|
3043
|
+
client_id?: string | null;
|
|
2810
3044
|
contract_value?: number | null;
|
|
2811
3045
|
created_at?: string;
|
|
2812
3046
|
deal_id?: string | null;
|
|
@@ -2843,6 +3077,13 @@ type Database = {
|
|
|
2843
3077
|
referencedRelation: "acq_companies";
|
|
2844
3078
|
referencedColumns: ["id"];
|
|
2845
3079
|
},
|
|
3080
|
+
{
|
|
3081
|
+
foreignKeyName: "prj_projects_client_id_fkey";
|
|
3082
|
+
columns: ["client_id"];
|
|
3083
|
+
isOneToOne: false;
|
|
3084
|
+
referencedRelation: "clients";
|
|
3085
|
+
referencedColumns: ["id"];
|
|
3086
|
+
},
|
|
2846
3087
|
{
|
|
2847
3088
|
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2848
3089
|
columns: ["deal_id"];
|
|
@@ -3247,6 +3488,66 @@ type Database = {
|
|
|
3247
3488
|
}
|
|
3248
3489
|
];
|
|
3249
3490
|
};
|
|
3491
|
+
user_notes: {
|
|
3492
|
+
Row: {
|
|
3493
|
+
content: string;
|
|
3494
|
+
created_at: string;
|
|
3495
|
+
created_by: string;
|
|
3496
|
+
id: string;
|
|
3497
|
+
metadata: Json;
|
|
3498
|
+
organization_id: string | null;
|
|
3499
|
+
pinned: boolean;
|
|
3500
|
+
priority: string;
|
|
3501
|
+
source: string | null;
|
|
3502
|
+
title: string | null;
|
|
3503
|
+
updated_at: string;
|
|
3504
|
+
user_id: string;
|
|
3505
|
+
};
|
|
3506
|
+
Insert: {
|
|
3507
|
+
content: string;
|
|
3508
|
+
created_at?: string;
|
|
3509
|
+
created_by?: string;
|
|
3510
|
+
id?: string;
|
|
3511
|
+
metadata?: Json;
|
|
3512
|
+
organization_id?: string | null;
|
|
3513
|
+
pinned?: boolean;
|
|
3514
|
+
priority?: string;
|
|
3515
|
+
source?: string | null;
|
|
3516
|
+
title?: string | null;
|
|
3517
|
+
updated_at?: string;
|
|
3518
|
+
user_id: string;
|
|
3519
|
+
};
|
|
3520
|
+
Update: {
|
|
3521
|
+
content?: string;
|
|
3522
|
+
created_at?: string;
|
|
3523
|
+
created_by?: string;
|
|
3524
|
+
id?: string;
|
|
3525
|
+
metadata?: Json;
|
|
3526
|
+
organization_id?: string | null;
|
|
3527
|
+
pinned?: boolean;
|
|
3528
|
+
priority?: string;
|
|
3529
|
+
source?: string | null;
|
|
3530
|
+
title?: string | null;
|
|
3531
|
+
updated_at?: string;
|
|
3532
|
+
user_id?: string;
|
|
3533
|
+
};
|
|
3534
|
+
Relationships: [
|
|
3535
|
+
{
|
|
3536
|
+
foreignKeyName: "user_notes_organization_id_fkey";
|
|
3537
|
+
columns: ["organization_id"];
|
|
3538
|
+
isOneToOne: false;
|
|
3539
|
+
referencedRelation: "organizations";
|
|
3540
|
+
referencedColumns: ["id"];
|
|
3541
|
+
},
|
|
3542
|
+
{
|
|
3543
|
+
foreignKeyName: "user_notes_user_id_fkey";
|
|
3544
|
+
columns: ["user_id"];
|
|
3545
|
+
isOneToOne: false;
|
|
3546
|
+
referencedRelation: "users";
|
|
3547
|
+
referencedColumns: ["id"];
|
|
3548
|
+
}
|
|
3549
|
+
];
|
|
3550
|
+
};
|
|
3250
3551
|
users: {
|
|
3251
3552
|
Row: {
|
|
3252
3553
|
config: Json;
|
|
@@ -3592,6 +3893,7 @@ declare const TransitionItemRequestSchema: z$1.ZodObject<{
|
|
|
3592
3893
|
declare const DealDetailResponseSchema: z$1.ZodObject<{
|
|
3593
3894
|
id: z$1.ZodString;
|
|
3594
3895
|
organization_id: z$1.ZodString;
|
|
3896
|
+
client_id: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
3595
3897
|
contact_id: z$1.ZodNullable<z$1.ZodString>;
|
|
3596
3898
|
contact_email: z$1.ZodString;
|
|
3597
3899
|
pipeline_key: z$1.ZodString;
|
|
@@ -3676,6 +3978,25 @@ declare const DealDetailResponseSchema: z$1.ZodObject<{
|
|
|
3676
3978
|
sentAt: z$1.ZodNullable<z$1.ZodString>;
|
|
3677
3979
|
}, z$1.core.$strip>>;
|
|
3678
3980
|
}, z$1.core.$strip>;
|
|
3981
|
+
lineage: z$1.ZodOptional<z$1.ZodObject<{
|
|
3982
|
+
list: z$1.ZodNullable<z$1.ZodObject<{
|
|
3983
|
+
id: z$1.ZodString;
|
|
3984
|
+
name: z$1.ZodString;
|
|
3985
|
+
status: z$1.ZodString;
|
|
3986
|
+
}, z$1.core.$strip>>;
|
|
3987
|
+
projects: z$1.ZodArray<z$1.ZodObject<{
|
|
3988
|
+
id: z$1.ZodString;
|
|
3989
|
+
name: z$1.ZodString;
|
|
3990
|
+
kind: z$1.ZodString;
|
|
3991
|
+
status: z$1.ZodString;
|
|
3992
|
+
updatedAt: z$1.ZodString;
|
|
3993
|
+
}, z$1.core.$strip>>;
|
|
3994
|
+
client: z$1.ZodNullable<z$1.ZodObject<{
|
|
3995
|
+
id: z$1.ZodString;
|
|
3996
|
+
name: z$1.ZodString;
|
|
3997
|
+
status: z$1.ZodString;
|
|
3998
|
+
}, z$1.core.$strip>>;
|
|
3999
|
+
}, z$1.core.$strip>>;
|
|
3679
4000
|
}, z$1.core.$strip>;
|
|
3680
4001
|
type TransitionItemRequest = z$1.infer<typeof TransitionItemRequestSchema>;
|
|
3681
4002
|
type DealDetailResponse = z$1.infer<typeof DealDetailResponseSchema>;
|
|
@@ -3684,11 +4005,11 @@ type DealDetailResponse = z$1.infer<typeof DealDetailResponseSchema>;
|
|
|
3684
4005
|
* from migration 20260428000003_lead_gen_acq_lists_status_and_config.sql).
|
|
3685
4006
|
*/
|
|
3686
4007
|
declare const ListStatusSchema: z$1.ZodEnum<{
|
|
3687
|
-
closing: "closing";
|
|
3688
4008
|
draft: "draft";
|
|
4009
|
+
archived: "archived";
|
|
4010
|
+
closing: "closing";
|
|
3689
4011
|
enriching: "enriching";
|
|
3690
4012
|
launched: "launched";
|
|
3691
|
-
archived: "archived";
|
|
3692
4013
|
}>;
|
|
3693
4014
|
/**
|
|
3694
4015
|
* Single list as returned by /api/acquisition/lists/:id etc.
|
|
@@ -3702,11 +4023,11 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3702
4023
|
batchIds: z$1.ZodArray<z$1.ZodString>;
|
|
3703
4024
|
instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
|
|
3704
4025
|
status: z$1.ZodEnum<{
|
|
3705
|
-
closing: "closing";
|
|
3706
4026
|
draft: "draft";
|
|
4027
|
+
archived: "archived";
|
|
4028
|
+
closing: "closing";
|
|
3707
4029
|
enriching: "enriching";
|
|
3708
4030
|
launched: "launched";
|
|
3709
|
-
archived: "archived";
|
|
3710
4031
|
}>;
|
|
3711
4032
|
metadata: z$1.ZodObject<{
|
|
3712
4033
|
buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3734,7 +4055,7 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3734
4055
|
recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
3735
4056
|
dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3736
4057
|
dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
|
|
3737
|
-
|
|
4058
|
+
actionKey: z$1.ZodString;
|
|
3738
4059
|
defaultBatchSize: z$1.ZodNumber;
|
|
3739
4060
|
maxBatchSize: z$1.ZodNumber;
|
|
3740
4061
|
recordColumns: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -3745,10 +4066,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3745
4066
|
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3746
4067
|
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3747
4068
|
text: "text";
|
|
3748
|
-
badge: "badge";
|
|
3749
|
-
datetime: "datetime";
|
|
3750
4069
|
count: "count";
|
|
3751
4070
|
json: "json";
|
|
4071
|
+
badge: "badge";
|
|
4072
|
+
datetime: "datetime";
|
|
3752
4073
|
}>>;
|
|
3753
4074
|
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3754
4075
|
}, z$1.core.$strip>>>;
|
|
@@ -3759,10 +4080,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3759
4080
|
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3760
4081
|
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3761
4082
|
text: "text";
|
|
3762
|
-
badge: "badge";
|
|
3763
|
-
datetime: "datetime";
|
|
3764
4083
|
count: "count";
|
|
3765
4084
|
json: "json";
|
|
4085
|
+
badge: "badge";
|
|
4086
|
+
datetime: "datetime";
|
|
3766
4087
|
}>>;
|
|
3767
4088
|
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3768
4089
|
}, z$1.core.$strip>>>;
|
|
@@ -3846,6 +4167,7 @@ declare const ListContactsQuerySchema: z$1.ZodObject<{
|
|
|
3846
4167
|
declare const AcqCompanyResponseSchema: z$1.ZodObject<{
|
|
3847
4168
|
id: z$1.ZodString;
|
|
3848
4169
|
organizationId: z$1.ZodString;
|
|
4170
|
+
clientId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
3849
4171
|
name: z$1.ZodString;
|
|
3850
4172
|
domain: z$1.ZodNullable<z$1.ZodString>;
|
|
3851
4173
|
linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -3882,6 +4204,7 @@ declare const AcqCompanyResponseSchema: z$1.ZodObject<{
|
|
|
3882
4204
|
declare const AcqContactResponseSchema: z$1.ZodObject<{
|
|
3883
4205
|
id: z$1.ZodString;
|
|
3884
4206
|
organizationId: z$1.ZodString;
|
|
4207
|
+
clientId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
3885
4208
|
companyId: z$1.ZodNullable<z$1.ZodString>;
|
|
3886
4209
|
email: z$1.ZodString;
|
|
3887
4210
|
emailValid: z$1.ZodNullable<z$1.ZodEnum<{
|
|
@@ -3933,9 +4256,9 @@ declare const AcqContactResponseSchema: z$1.ZodObject<{
|
|
|
3933
4256
|
updatedAt: z$1.ZodString;
|
|
3934
4257
|
}, z$1.core.$strip>;
|
|
3935
4258
|
declare const AcqArtifactOwnerKindSchema: z$1.ZodEnum<{
|
|
4259
|
+
list: "list";
|
|
3936
4260
|
company: "company";
|
|
3937
4261
|
contact: "contact";
|
|
3938
|
-
list: "list";
|
|
3939
4262
|
deal: "deal";
|
|
3940
4263
|
list_member: "list_member";
|
|
3941
4264
|
}>;
|
|
@@ -4362,6 +4685,22 @@ interface ProjectDetail extends ProjectRow {
|
|
|
4362
4685
|
name: string;
|
|
4363
4686
|
domain: string | null;
|
|
4364
4687
|
} | null;
|
|
4688
|
+
deal: ProjectSourceDealRef | null;
|
|
4689
|
+
client: ProjectClientRef | null;
|
|
4690
|
+
}
|
|
4691
|
+
interface ProjectSourceDealRef {
|
|
4692
|
+
id: string;
|
|
4693
|
+
clientId?: string | null;
|
|
4694
|
+
contactEmail: string;
|
|
4695
|
+
stageKey: string | null;
|
|
4696
|
+
stateKey: string | null;
|
|
4697
|
+
sourceListId: string | null;
|
|
4698
|
+
updatedAt: string;
|
|
4699
|
+
}
|
|
4700
|
+
interface ProjectClientRef {
|
|
4701
|
+
id: string;
|
|
4702
|
+
name: string;
|
|
4703
|
+
status: string;
|
|
4365
4704
|
}
|
|
4366
4705
|
|
|
4367
4706
|
interface Action {
|
|
@@ -4900,6 +5239,63 @@ declare const ResourceStatusColors: {
|
|
|
4900
5239
|
*/
|
|
4901
5240
|
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';
|
|
4902
5241
|
|
|
5242
|
+
/**
|
|
5243
|
+
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
5244
|
+
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
5245
|
+
*
|
|
5246
|
+
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
5247
|
+
* Per L14: every node carries BOTH `kind` and `type`.
|
|
5248
|
+
*/
|
|
5249
|
+
declare const ContentNodeSchema: z$1.ZodObject<{
|
|
5250
|
+
label: z$1.ZodString;
|
|
5251
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5252
|
+
order: z$1.ZodOptional<z$1.ZodNumber>;
|
|
5253
|
+
parentContentId: z$1.ZodOptional<z$1.ZodString>;
|
|
5254
|
+
kind: z$1.ZodString;
|
|
5255
|
+
type: z$1.ZodString;
|
|
5256
|
+
data: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
5257
|
+
}, z$1.core.$strip>;
|
|
5258
|
+
type ContentNode = z$1.infer<typeof ContentNodeSchema>;
|
|
5259
|
+
|
|
5260
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
5261
|
+
interface SystemEntry {
|
|
5262
|
+
id: string;
|
|
5263
|
+
label?: string;
|
|
5264
|
+
title?: string;
|
|
5265
|
+
description?: string;
|
|
5266
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
5267
|
+
parentSystemId?: string;
|
|
5268
|
+
ui?: {
|
|
5269
|
+
path: string;
|
|
5270
|
+
surfaces: string[];
|
|
5271
|
+
icon?: string;
|
|
5272
|
+
order?: number;
|
|
5273
|
+
};
|
|
5274
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
5275
|
+
responsibleRoleId?: string;
|
|
5276
|
+
governedByKnowledge?: string[];
|
|
5277
|
+
actions?: {
|
|
5278
|
+
actionId: string;
|
|
5279
|
+
intent: 'exposes' | 'consumes';
|
|
5280
|
+
invocation?: unknown;
|
|
5281
|
+
}[];
|
|
5282
|
+
policies?: string[];
|
|
5283
|
+
drivesGoals?: string[];
|
|
5284
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
5285
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
5286
|
+
path?: string;
|
|
5287
|
+
icon?: string;
|
|
5288
|
+
color?: string;
|
|
5289
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
5290
|
+
enabled?: boolean;
|
|
5291
|
+
devOnly?: boolean;
|
|
5292
|
+
requiresAdmin?: boolean;
|
|
5293
|
+
order: number;
|
|
5294
|
+
content?: Record<string, ContentNode>;
|
|
5295
|
+
subsystems?: Record<string, SystemEntry>;
|
|
5296
|
+
}
|
|
5297
|
+
declare const SystemEntrySchema: ZodType<SystemEntry>;
|
|
5298
|
+
|
|
4903
5299
|
/**
|
|
4904
5300
|
* Resource Registry type definitions
|
|
4905
5301
|
*/
|
|
@@ -4913,6 +5309,7 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
4913
5309
|
* Used as the discriminator field in ResourceDefinition
|
|
4914
5310
|
*/
|
|
4915
5311
|
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
5312
|
+
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'lifecycle'>;
|
|
4916
5313
|
/**
|
|
4917
5314
|
* Base interface for ALL platform resources
|
|
4918
5315
|
* Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
|
|
@@ -4938,6 +5335,12 @@ interface ResourceDefinition {
|
|
|
4938
5335
|
sessionCapable?: boolean;
|
|
4939
5336
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
4940
5337
|
origin?: 'local' | 'remote';
|
|
5338
|
+
/** OM System membership — dot-separated system path (e.g. "sys.lead-gen"), when backed by a Resource descriptor */
|
|
5339
|
+
systemPath?: string;
|
|
5340
|
+
/** Display metadata for the owning OM System */
|
|
5341
|
+
system?: ResourceSystemSummary;
|
|
5342
|
+
/** Governance lifecycle status from the OM Resource descriptor */
|
|
5343
|
+
governanceStatus?: ResourceGovernanceStatus;
|
|
4941
5344
|
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
4942
5345
|
archived?: boolean;
|
|
4943
5346
|
}
|
|
@@ -5043,6 +5446,10 @@ interface TriggerDefinition extends ResourceDefinition {
|
|
|
5043
5446
|
interface IntegrationDefinition extends ResourceDefinition {
|
|
5044
5447
|
/** Resource type discriminator (narrowed from base union) */
|
|
5045
5448
|
type: 'integration';
|
|
5449
|
+
/** OM descriptor that owns canonical identity and governance metadata. */
|
|
5450
|
+
resource?: Extract<ResourceEntry, {
|
|
5451
|
+
kind: 'integration';
|
|
5452
|
+
}>;
|
|
5046
5453
|
/** Integration provider type */
|
|
5047
5454
|
provider: IntegrationType;
|
|
5048
5455
|
/** References credentials table (e.g., 'shopify-prod', 'zendesk-api') */
|
|
@@ -5216,169 +5623,191 @@ interface CommandViewData {
|
|
|
5216
5623
|
edges: CommandViewEdge[];
|
|
5217
5624
|
}
|
|
5218
5625
|
|
|
5219
|
-
declare const
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
"feature.admin": "feature.admin";
|
|
5254
|
-
"feature.archive": "feature.archive";
|
|
5255
|
-
"feature.seo": "feature.seo";
|
|
5256
|
-
"resource.agent": "resource.agent";
|
|
5257
|
-
"resource.workflow": "resource.workflow";
|
|
5258
|
-
"resource.integration": "resource.integration";
|
|
5259
|
-
"resource.database": "resource.database";
|
|
5260
|
-
"resource.user": "resource.user";
|
|
5261
|
-
"resource.team": "resource.team";
|
|
5262
|
-
"integration.gmail": "integration.gmail";
|
|
5263
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
5264
|
-
"integration.attio": "integration.attio";
|
|
5265
|
-
"surface.dashboard": "surface.dashboard";
|
|
5266
|
-
"surface.calendar": "surface.calendar";
|
|
5267
|
-
"surface.overview": "surface.overview";
|
|
5268
|
-
"surface.command-view": "surface.command-view";
|
|
5269
|
-
"surface.command-queue": "surface.command-queue";
|
|
5270
|
-
"surface.pipeline": "surface.pipeline";
|
|
5271
|
-
"surface.lists": "surface.lists";
|
|
5272
|
-
"surface.resources": "surface.resources";
|
|
5273
|
-
"surface.settings": "surface.settings";
|
|
5274
|
-
"status.success": "status.success";
|
|
5275
|
-
"status.error": "status.error";
|
|
5276
|
-
"status.warning": "status.warning";
|
|
5277
|
-
"status.info": "status.info";
|
|
5278
|
-
"status.pending": "status.pending";
|
|
5279
|
-
"action.approve": "action.approve";
|
|
5280
|
-
"action.reject": "action.reject";
|
|
5281
|
-
"action.retry": "action.retry";
|
|
5282
|
-
"action.edit": "action.edit";
|
|
5283
|
-
"action.view": "action.view";
|
|
5284
|
-
"action.launch": "action.launch";
|
|
5285
|
-
"action.message": "action.message";
|
|
5286
|
-
"action.escalate": "action.escalate";
|
|
5287
|
-
"action.promote": "action.promote";
|
|
5288
|
-
"action.submit": "action.submit";
|
|
5289
|
-
"action.email": "action.email";
|
|
5290
|
-
}>, z$1.ZodString]>>;
|
|
5291
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
5292
|
-
uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5293
|
-
"sidebar-primary": "sidebar-primary";
|
|
5294
|
-
"sidebar-bottom": "sidebar-bottom";
|
|
5295
|
-
}>>;
|
|
5296
|
-
requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
5297
|
-
devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
5298
|
-
}, z$1.core.$strip>;
|
|
5626
|
+
declare const SurfaceTypeSchema: z$1.ZodEnum<{
|
|
5627
|
+
list: "list";
|
|
5628
|
+
graph: "graph";
|
|
5629
|
+
page: "page";
|
|
5630
|
+
dashboard: "dashboard";
|
|
5631
|
+
detail: "detail";
|
|
5632
|
+
settings: "settings";
|
|
5633
|
+
}>;
|
|
5634
|
+
interface SidebarSurfaceNode {
|
|
5635
|
+
type: 'surface';
|
|
5636
|
+
label: string;
|
|
5637
|
+
path: string;
|
|
5638
|
+
surfaceType: z$1.infer<typeof SurfaceTypeSchema>;
|
|
5639
|
+
description?: string;
|
|
5640
|
+
icon?: string;
|
|
5641
|
+
order?: number;
|
|
5642
|
+
targets?: {
|
|
5643
|
+
systems?: string[];
|
|
5644
|
+
entities?: string[];
|
|
5645
|
+
resources?: string[];
|
|
5646
|
+
actions?: string[];
|
|
5647
|
+
};
|
|
5648
|
+
devOnly?: boolean;
|
|
5649
|
+
requiresAdmin?: boolean;
|
|
5650
|
+
}
|
|
5651
|
+
interface SidebarGroupNode {
|
|
5652
|
+
type: 'group';
|
|
5653
|
+
label: string;
|
|
5654
|
+
description?: string;
|
|
5655
|
+
icon?: string;
|
|
5656
|
+
order?: number;
|
|
5657
|
+
children: Record<string, SidebarNode>;
|
|
5658
|
+
}
|
|
5659
|
+
type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
5299
5660
|
|
|
5300
5661
|
declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
5301
5662
|
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5663
|
+
domainMetadata: z$1.ZodPipe<z$1.ZodDefault<z$1.ZodObject<{
|
|
5664
|
+
branding: z$1.ZodOptional<z$1.ZodObject<{
|
|
5665
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5666
|
+
lastModified: z$1.ZodString;
|
|
5667
|
+
}, z$1.core.$strip>>;
|
|
5668
|
+
identity: z$1.ZodOptional<z$1.ZodObject<{
|
|
5669
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5670
|
+
lastModified: z$1.ZodString;
|
|
5671
|
+
}, z$1.core.$strip>>;
|
|
5672
|
+
customers: z$1.ZodOptional<z$1.ZodObject<{
|
|
5673
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5674
|
+
lastModified: z$1.ZodString;
|
|
5675
|
+
}, z$1.core.$strip>>;
|
|
5676
|
+
offerings: z$1.ZodOptional<z$1.ZodObject<{
|
|
5677
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5678
|
+
lastModified: z$1.ZodString;
|
|
5679
|
+
}, z$1.core.$strip>>;
|
|
5680
|
+
roles: z$1.ZodOptional<z$1.ZodObject<{
|
|
5681
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5682
|
+
lastModified: z$1.ZodString;
|
|
5683
|
+
}, z$1.core.$strip>>;
|
|
5684
|
+
goals: z$1.ZodOptional<z$1.ZodObject<{
|
|
5685
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5686
|
+
lastModified: z$1.ZodString;
|
|
5687
|
+
}, z$1.core.$strip>>;
|
|
5688
|
+
systems: z$1.ZodOptional<z$1.ZodObject<{
|
|
5689
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5690
|
+
lastModified: z$1.ZodString;
|
|
5691
|
+
}, z$1.core.$strip>>;
|
|
5692
|
+
resources: z$1.ZodOptional<z$1.ZodObject<{
|
|
5693
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5694
|
+
lastModified: z$1.ZodString;
|
|
5695
|
+
}, z$1.core.$strip>>;
|
|
5696
|
+
actions: z$1.ZodOptional<z$1.ZodObject<{
|
|
5697
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5698
|
+
lastModified: z$1.ZodString;
|
|
5699
|
+
}, z$1.core.$strip>>;
|
|
5700
|
+
entities: z$1.ZodOptional<z$1.ZodObject<{
|
|
5701
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5702
|
+
lastModified: z$1.ZodString;
|
|
5703
|
+
}, z$1.core.$strip>>;
|
|
5704
|
+
policies: z$1.ZodOptional<z$1.ZodObject<{
|
|
5705
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5706
|
+
lastModified: z$1.ZodString;
|
|
5707
|
+
}, z$1.core.$strip>>;
|
|
5708
|
+
knowledge: z$1.ZodOptional<z$1.ZodObject<{
|
|
5709
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
5710
|
+
lastModified: z$1.ZodString;
|
|
5711
|
+
}, z$1.core.$strip>>;
|
|
5712
|
+
}, z$1.core.$strip>>, z$1.ZodTransform<{
|
|
5713
|
+
branding: {
|
|
5714
|
+
version: 1;
|
|
5715
|
+
lastModified: string;
|
|
5716
|
+
};
|
|
5717
|
+
identity: {
|
|
5718
|
+
version: 1;
|
|
5719
|
+
lastModified: string;
|
|
5720
|
+
};
|
|
5721
|
+
customers: {
|
|
5722
|
+
version: 1;
|
|
5723
|
+
lastModified: string;
|
|
5724
|
+
};
|
|
5725
|
+
offerings: {
|
|
5726
|
+
version: 1;
|
|
5727
|
+
lastModified: string;
|
|
5728
|
+
};
|
|
5729
|
+
roles: {
|
|
5730
|
+
version: 1;
|
|
5731
|
+
lastModified: string;
|
|
5732
|
+
};
|
|
5733
|
+
goals: {
|
|
5734
|
+
version: 1;
|
|
5735
|
+
lastModified: string;
|
|
5736
|
+
};
|
|
5737
|
+
systems: {
|
|
5738
|
+
version: 1;
|
|
5739
|
+
lastModified: string;
|
|
5740
|
+
};
|
|
5741
|
+
resources: {
|
|
5742
|
+
version: 1;
|
|
5743
|
+
lastModified: string;
|
|
5744
|
+
};
|
|
5745
|
+
actions: {
|
|
5746
|
+
version: 1;
|
|
5747
|
+
lastModified: string;
|
|
5748
|
+
};
|
|
5749
|
+
entities: {
|
|
5750
|
+
version: 1;
|
|
5751
|
+
lastModified: string;
|
|
5752
|
+
};
|
|
5753
|
+
policies: {
|
|
5754
|
+
version: 1;
|
|
5755
|
+
lastModified: string;
|
|
5756
|
+
};
|
|
5757
|
+
knowledge: {
|
|
5758
|
+
version: 1;
|
|
5759
|
+
lastModified: string;
|
|
5760
|
+
};
|
|
5761
|
+
}, {
|
|
5762
|
+
branding?: {
|
|
5763
|
+
version: 1;
|
|
5764
|
+
lastModified: string;
|
|
5765
|
+
} | undefined;
|
|
5766
|
+
identity?: {
|
|
5767
|
+
version: 1;
|
|
5768
|
+
lastModified: string;
|
|
5769
|
+
} | undefined;
|
|
5770
|
+
customers?: {
|
|
5771
|
+
version: 1;
|
|
5772
|
+
lastModified: string;
|
|
5773
|
+
} | undefined;
|
|
5774
|
+
offerings?: {
|
|
5775
|
+
version: 1;
|
|
5776
|
+
lastModified: string;
|
|
5777
|
+
} | undefined;
|
|
5778
|
+
roles?: {
|
|
5779
|
+
version: 1;
|
|
5780
|
+
lastModified: string;
|
|
5781
|
+
} | undefined;
|
|
5782
|
+
goals?: {
|
|
5783
|
+
version: 1;
|
|
5784
|
+
lastModified: string;
|
|
5785
|
+
} | undefined;
|
|
5786
|
+
systems?: {
|
|
5787
|
+
version: 1;
|
|
5788
|
+
lastModified: string;
|
|
5789
|
+
} | undefined;
|
|
5790
|
+
resources?: {
|
|
5791
|
+
version: 1;
|
|
5792
|
+
lastModified: string;
|
|
5793
|
+
} | undefined;
|
|
5794
|
+
actions?: {
|
|
5795
|
+
version: 1;
|
|
5796
|
+
lastModified: string;
|
|
5797
|
+
} | undefined;
|
|
5798
|
+
entities?: {
|
|
5799
|
+
version: 1;
|
|
5800
|
+
lastModified: string;
|
|
5801
|
+
} | undefined;
|
|
5802
|
+
policies?: {
|
|
5803
|
+
version: 1;
|
|
5804
|
+
lastModified: string;
|
|
5805
|
+
} | undefined;
|
|
5806
|
+
knowledge?: {
|
|
5807
|
+
version: 1;
|
|
5808
|
+
lastModified: string;
|
|
5809
|
+
} | undefined;
|
|
5810
|
+
}>>;
|
|
5382
5811
|
branding: z$1.ZodObject<{
|
|
5383
5812
|
organizationName: z$1.ZodString;
|
|
5384
5813
|
productName: z$1.ZodString;
|
|
@@ -5390,784 +5819,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
5390
5819
|
}, z$1.core.$strip>>;
|
|
5391
5820
|
}, z$1.core.$strip>;
|
|
5392
5821
|
navigation: z$1.ZodDefault<z$1.ZodObject<{
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
label: z$1.ZodString;
|
|
5397
|
-
path: z$1.ZodString;
|
|
5398
|
-
surfaceType: z$1.ZodEnum<{
|
|
5399
|
-
settings: "settings";
|
|
5400
|
-
page: "page";
|
|
5401
|
-
dashboard: "dashboard";
|
|
5402
|
-
graph: "graph";
|
|
5403
|
-
detail: "detail";
|
|
5404
|
-
list: "list";
|
|
5405
|
-
}>;
|
|
5406
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5407
|
-
enabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
5408
|
-
devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
5409
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
5410
|
-
"nav.dashboard": "nav.dashboard";
|
|
5411
|
-
"nav.calendar": "nav.calendar";
|
|
5412
|
-
"nav.sales": "nav.sales";
|
|
5413
|
-
"nav.crm": "nav.crm";
|
|
5414
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
5415
|
-
"nav.projects": "nav.projects";
|
|
5416
|
-
"nav.operations": "nav.operations";
|
|
5417
|
-
"nav.monitoring": "nav.monitoring";
|
|
5418
|
-
"nav.knowledge": "nav.knowledge";
|
|
5419
|
-
"nav.settings": "nav.settings";
|
|
5420
|
-
"nav.admin": "nav.admin";
|
|
5421
|
-
"nav.archive": "nav.archive";
|
|
5422
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
5423
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
5424
|
-
"knowledge.reference": "knowledge.reference";
|
|
5425
|
-
"feature.dashboard": "feature.dashboard";
|
|
5426
|
-
"feature.calendar": "feature.calendar";
|
|
5427
|
-
"feature.sales": "feature.sales";
|
|
5428
|
-
"feature.crm": "feature.crm";
|
|
5429
|
-
"feature.finance": "feature.finance";
|
|
5430
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
5431
|
-
"feature.platform": "feature.platform";
|
|
5432
|
-
"feature.projects": "feature.projects";
|
|
5433
|
-
"feature.operations": "feature.operations";
|
|
5434
|
-
"feature.knowledge": "feature.knowledge";
|
|
5435
|
-
"feature.monitoring": "feature.monitoring";
|
|
5436
|
-
"feature.settings": "feature.settings";
|
|
5437
|
-
"feature.admin": "feature.admin";
|
|
5438
|
-
"feature.archive": "feature.archive";
|
|
5439
|
-
"feature.seo": "feature.seo";
|
|
5440
|
-
"resource.agent": "resource.agent";
|
|
5441
|
-
"resource.workflow": "resource.workflow";
|
|
5442
|
-
"resource.integration": "resource.integration";
|
|
5443
|
-
"resource.database": "resource.database";
|
|
5444
|
-
"resource.user": "resource.user";
|
|
5445
|
-
"resource.team": "resource.team";
|
|
5446
|
-
"integration.gmail": "integration.gmail";
|
|
5447
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
5448
|
-
"integration.attio": "integration.attio";
|
|
5449
|
-
"surface.dashboard": "surface.dashboard";
|
|
5450
|
-
"surface.calendar": "surface.calendar";
|
|
5451
|
-
"surface.overview": "surface.overview";
|
|
5452
|
-
"surface.command-view": "surface.command-view";
|
|
5453
|
-
"surface.command-queue": "surface.command-queue";
|
|
5454
|
-
"surface.pipeline": "surface.pipeline";
|
|
5455
|
-
"surface.lists": "surface.lists";
|
|
5456
|
-
"surface.resources": "surface.resources";
|
|
5457
|
-
"surface.settings": "surface.settings";
|
|
5458
|
-
"status.success": "status.success";
|
|
5459
|
-
"status.error": "status.error";
|
|
5460
|
-
"status.warning": "status.warning";
|
|
5461
|
-
"status.info": "status.info";
|
|
5462
|
-
"status.pending": "status.pending";
|
|
5463
|
-
"action.approve": "action.approve";
|
|
5464
|
-
"action.reject": "action.reject";
|
|
5465
|
-
"action.retry": "action.retry";
|
|
5466
|
-
"action.edit": "action.edit";
|
|
5467
|
-
"action.view": "action.view";
|
|
5468
|
-
"action.launch": "action.launch";
|
|
5469
|
-
"action.message": "action.message";
|
|
5470
|
-
"action.escalate": "action.escalate";
|
|
5471
|
-
"action.promote": "action.promote";
|
|
5472
|
-
"action.submit": "action.submit";
|
|
5473
|
-
"action.email": "action.email";
|
|
5474
|
-
}>, z$1.ZodString]>>;
|
|
5475
|
-
featureId: z$1.ZodOptional<z$1.ZodString>;
|
|
5476
|
-
featureIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5477
|
-
entityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5478
|
-
resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5479
|
-
capabilityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5480
|
-
parentId: z$1.ZodOptional<z$1.ZodString>;
|
|
5481
|
-
}, z$1.core.$strip>>>;
|
|
5482
|
-
groups: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
5483
|
-
id: z$1.ZodString;
|
|
5484
|
-
label: z$1.ZodString;
|
|
5485
|
-
placement: z$1.ZodString;
|
|
5486
|
-
surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5487
|
-
}, z$1.core.$strip>>>;
|
|
5488
|
-
}, z$1.core.$strip>>;
|
|
5489
|
-
sales: z$1.ZodObject<{
|
|
5490
|
-
entityId: z$1.ZodString;
|
|
5491
|
-
defaultPipelineId: z$1.ZodString;
|
|
5492
|
-
pipelines: z$1.ZodArray<z$1.ZodObject<{
|
|
5493
|
-
id: z$1.ZodString;
|
|
5494
|
-
label: z$1.ZodString;
|
|
5495
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5496
|
-
entityId: z$1.ZodString;
|
|
5497
|
-
stages: z$1.ZodArray<z$1.ZodObject<{
|
|
5498
|
-
label: z$1.ZodString;
|
|
5499
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5500
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
5501
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
5502
|
-
"nav.dashboard": "nav.dashboard";
|
|
5503
|
-
"nav.calendar": "nav.calendar";
|
|
5504
|
-
"nav.sales": "nav.sales";
|
|
5505
|
-
"nav.crm": "nav.crm";
|
|
5506
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
5507
|
-
"nav.projects": "nav.projects";
|
|
5508
|
-
"nav.operations": "nav.operations";
|
|
5509
|
-
"nav.monitoring": "nav.monitoring";
|
|
5510
|
-
"nav.knowledge": "nav.knowledge";
|
|
5511
|
-
"nav.settings": "nav.settings";
|
|
5512
|
-
"nav.admin": "nav.admin";
|
|
5513
|
-
"nav.archive": "nav.archive";
|
|
5514
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
5515
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
5516
|
-
"knowledge.reference": "knowledge.reference";
|
|
5517
|
-
"feature.dashboard": "feature.dashboard";
|
|
5518
|
-
"feature.calendar": "feature.calendar";
|
|
5519
|
-
"feature.sales": "feature.sales";
|
|
5520
|
-
"feature.crm": "feature.crm";
|
|
5521
|
-
"feature.finance": "feature.finance";
|
|
5522
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
5523
|
-
"feature.platform": "feature.platform";
|
|
5524
|
-
"feature.projects": "feature.projects";
|
|
5525
|
-
"feature.operations": "feature.operations";
|
|
5526
|
-
"feature.knowledge": "feature.knowledge";
|
|
5527
|
-
"feature.monitoring": "feature.monitoring";
|
|
5528
|
-
"feature.settings": "feature.settings";
|
|
5529
|
-
"feature.admin": "feature.admin";
|
|
5530
|
-
"feature.archive": "feature.archive";
|
|
5531
|
-
"feature.seo": "feature.seo";
|
|
5532
|
-
"resource.agent": "resource.agent";
|
|
5533
|
-
"resource.workflow": "resource.workflow";
|
|
5534
|
-
"resource.integration": "resource.integration";
|
|
5535
|
-
"resource.database": "resource.database";
|
|
5536
|
-
"resource.user": "resource.user";
|
|
5537
|
-
"resource.team": "resource.team";
|
|
5538
|
-
"integration.gmail": "integration.gmail";
|
|
5539
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
5540
|
-
"integration.attio": "integration.attio";
|
|
5541
|
-
"surface.dashboard": "surface.dashboard";
|
|
5542
|
-
"surface.calendar": "surface.calendar";
|
|
5543
|
-
"surface.overview": "surface.overview";
|
|
5544
|
-
"surface.command-view": "surface.command-view";
|
|
5545
|
-
"surface.command-queue": "surface.command-queue";
|
|
5546
|
-
"surface.pipeline": "surface.pipeline";
|
|
5547
|
-
"surface.lists": "surface.lists";
|
|
5548
|
-
"surface.resources": "surface.resources";
|
|
5549
|
-
"surface.settings": "surface.settings";
|
|
5550
|
-
"status.success": "status.success";
|
|
5551
|
-
"status.error": "status.error";
|
|
5552
|
-
"status.warning": "status.warning";
|
|
5553
|
-
"status.info": "status.info";
|
|
5554
|
-
"status.pending": "status.pending";
|
|
5555
|
-
"action.approve": "action.approve";
|
|
5556
|
-
"action.reject": "action.reject";
|
|
5557
|
-
"action.retry": "action.retry";
|
|
5558
|
-
"action.edit": "action.edit";
|
|
5559
|
-
"action.view": "action.view";
|
|
5560
|
-
"action.launch": "action.launch";
|
|
5561
|
-
"action.message": "action.message";
|
|
5562
|
-
"action.escalate": "action.escalate";
|
|
5563
|
-
"action.promote": "action.promote";
|
|
5564
|
-
"action.submit": "action.submit";
|
|
5565
|
-
"action.email": "action.email";
|
|
5566
|
-
}>, z$1.ZodString]>>;
|
|
5567
|
-
id: z$1.ZodString;
|
|
5568
|
-
order: z$1.ZodNumber;
|
|
5569
|
-
semanticClass: z$1.ZodEnum<{
|
|
5570
|
-
open: "open";
|
|
5571
|
-
active: "active";
|
|
5572
|
-
nurturing: "nurturing";
|
|
5573
|
-
closed_won: "closed_won";
|
|
5574
|
-
closed_lost: "closed_lost";
|
|
5575
|
-
}>;
|
|
5576
|
-
surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5577
|
-
resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5578
|
-
}, z$1.core.$strip>>;
|
|
5579
|
-
}, z$1.core.$strip>>;
|
|
5580
|
-
}, z$1.core.$strip>;
|
|
5581
|
-
prospecting: z$1.ZodObject<{
|
|
5582
|
-
listEntityId: z$1.ZodString;
|
|
5583
|
-
companyEntityId: z$1.ZodString;
|
|
5584
|
-
contactEntityId: z$1.ZodString;
|
|
5585
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5586
|
-
companyStages: z$1.ZodArray<z$1.ZodObject<{
|
|
5587
|
-
label: z$1.ZodString;
|
|
5588
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5589
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
5590
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
5591
|
-
"nav.dashboard": "nav.dashboard";
|
|
5592
|
-
"nav.calendar": "nav.calendar";
|
|
5593
|
-
"nav.sales": "nav.sales";
|
|
5594
|
-
"nav.crm": "nav.crm";
|
|
5595
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
5596
|
-
"nav.projects": "nav.projects";
|
|
5597
|
-
"nav.operations": "nav.operations";
|
|
5598
|
-
"nav.monitoring": "nav.monitoring";
|
|
5599
|
-
"nav.knowledge": "nav.knowledge";
|
|
5600
|
-
"nav.settings": "nav.settings";
|
|
5601
|
-
"nav.admin": "nav.admin";
|
|
5602
|
-
"nav.archive": "nav.archive";
|
|
5603
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
5604
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
5605
|
-
"knowledge.reference": "knowledge.reference";
|
|
5606
|
-
"feature.dashboard": "feature.dashboard";
|
|
5607
|
-
"feature.calendar": "feature.calendar";
|
|
5608
|
-
"feature.sales": "feature.sales";
|
|
5609
|
-
"feature.crm": "feature.crm";
|
|
5610
|
-
"feature.finance": "feature.finance";
|
|
5611
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
5612
|
-
"feature.platform": "feature.platform";
|
|
5613
|
-
"feature.projects": "feature.projects";
|
|
5614
|
-
"feature.operations": "feature.operations";
|
|
5615
|
-
"feature.knowledge": "feature.knowledge";
|
|
5616
|
-
"feature.monitoring": "feature.monitoring";
|
|
5617
|
-
"feature.settings": "feature.settings";
|
|
5618
|
-
"feature.admin": "feature.admin";
|
|
5619
|
-
"feature.archive": "feature.archive";
|
|
5620
|
-
"feature.seo": "feature.seo";
|
|
5621
|
-
"resource.agent": "resource.agent";
|
|
5622
|
-
"resource.workflow": "resource.workflow";
|
|
5623
|
-
"resource.integration": "resource.integration";
|
|
5624
|
-
"resource.database": "resource.database";
|
|
5625
|
-
"resource.user": "resource.user";
|
|
5626
|
-
"resource.team": "resource.team";
|
|
5627
|
-
"integration.gmail": "integration.gmail";
|
|
5628
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
5629
|
-
"integration.attio": "integration.attio";
|
|
5630
|
-
"surface.dashboard": "surface.dashboard";
|
|
5631
|
-
"surface.calendar": "surface.calendar";
|
|
5632
|
-
"surface.overview": "surface.overview";
|
|
5633
|
-
"surface.command-view": "surface.command-view";
|
|
5634
|
-
"surface.command-queue": "surface.command-queue";
|
|
5635
|
-
"surface.pipeline": "surface.pipeline";
|
|
5636
|
-
"surface.lists": "surface.lists";
|
|
5637
|
-
"surface.resources": "surface.resources";
|
|
5638
|
-
"surface.settings": "surface.settings";
|
|
5639
|
-
"status.success": "status.success";
|
|
5640
|
-
"status.error": "status.error";
|
|
5641
|
-
"status.warning": "status.warning";
|
|
5642
|
-
"status.info": "status.info";
|
|
5643
|
-
"status.pending": "status.pending";
|
|
5644
|
-
"action.approve": "action.approve";
|
|
5645
|
-
"action.reject": "action.reject";
|
|
5646
|
-
"action.retry": "action.retry";
|
|
5647
|
-
"action.edit": "action.edit";
|
|
5648
|
-
"action.view": "action.view";
|
|
5649
|
-
"action.launch": "action.launch";
|
|
5650
|
-
"action.message": "action.message";
|
|
5651
|
-
"action.escalate": "action.escalate";
|
|
5652
|
-
"action.promote": "action.promote";
|
|
5653
|
-
"action.submit": "action.submit";
|
|
5654
|
-
"action.email": "action.email";
|
|
5655
|
-
}>, z$1.ZodString]>>;
|
|
5656
|
-
id: z$1.ZodString;
|
|
5657
|
-
order: z$1.ZodNumber;
|
|
5658
|
-
}, z$1.core.$strip>>;
|
|
5659
|
-
contactStages: z$1.ZodArray<z$1.ZodObject<{
|
|
5660
|
-
label: z$1.ZodString;
|
|
5661
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5662
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
5663
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
5664
|
-
"nav.dashboard": "nav.dashboard";
|
|
5665
|
-
"nav.calendar": "nav.calendar";
|
|
5666
|
-
"nav.sales": "nav.sales";
|
|
5667
|
-
"nav.crm": "nav.crm";
|
|
5668
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
5669
|
-
"nav.projects": "nav.projects";
|
|
5670
|
-
"nav.operations": "nav.operations";
|
|
5671
|
-
"nav.monitoring": "nav.monitoring";
|
|
5672
|
-
"nav.knowledge": "nav.knowledge";
|
|
5673
|
-
"nav.settings": "nav.settings";
|
|
5674
|
-
"nav.admin": "nav.admin";
|
|
5675
|
-
"nav.archive": "nav.archive";
|
|
5676
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
5677
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
5678
|
-
"knowledge.reference": "knowledge.reference";
|
|
5679
|
-
"feature.dashboard": "feature.dashboard";
|
|
5680
|
-
"feature.calendar": "feature.calendar";
|
|
5681
|
-
"feature.sales": "feature.sales";
|
|
5682
|
-
"feature.crm": "feature.crm";
|
|
5683
|
-
"feature.finance": "feature.finance";
|
|
5684
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
5685
|
-
"feature.platform": "feature.platform";
|
|
5686
|
-
"feature.projects": "feature.projects";
|
|
5687
|
-
"feature.operations": "feature.operations";
|
|
5688
|
-
"feature.knowledge": "feature.knowledge";
|
|
5689
|
-
"feature.monitoring": "feature.monitoring";
|
|
5690
|
-
"feature.settings": "feature.settings";
|
|
5691
|
-
"feature.admin": "feature.admin";
|
|
5692
|
-
"feature.archive": "feature.archive";
|
|
5693
|
-
"feature.seo": "feature.seo";
|
|
5694
|
-
"resource.agent": "resource.agent";
|
|
5695
|
-
"resource.workflow": "resource.workflow";
|
|
5696
|
-
"resource.integration": "resource.integration";
|
|
5697
|
-
"resource.database": "resource.database";
|
|
5698
|
-
"resource.user": "resource.user";
|
|
5699
|
-
"resource.team": "resource.team";
|
|
5700
|
-
"integration.gmail": "integration.gmail";
|
|
5701
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
5702
|
-
"integration.attio": "integration.attio";
|
|
5703
|
-
"surface.dashboard": "surface.dashboard";
|
|
5704
|
-
"surface.calendar": "surface.calendar";
|
|
5705
|
-
"surface.overview": "surface.overview";
|
|
5706
|
-
"surface.command-view": "surface.command-view";
|
|
5707
|
-
"surface.command-queue": "surface.command-queue";
|
|
5708
|
-
"surface.pipeline": "surface.pipeline";
|
|
5709
|
-
"surface.lists": "surface.lists";
|
|
5710
|
-
"surface.resources": "surface.resources";
|
|
5711
|
-
"surface.settings": "surface.settings";
|
|
5712
|
-
"status.success": "status.success";
|
|
5713
|
-
"status.error": "status.error";
|
|
5714
|
-
"status.warning": "status.warning";
|
|
5715
|
-
"status.info": "status.info";
|
|
5716
|
-
"status.pending": "status.pending";
|
|
5717
|
-
"action.approve": "action.approve";
|
|
5718
|
-
"action.reject": "action.reject";
|
|
5719
|
-
"action.retry": "action.retry";
|
|
5720
|
-
"action.edit": "action.edit";
|
|
5721
|
-
"action.view": "action.view";
|
|
5722
|
-
"action.launch": "action.launch";
|
|
5723
|
-
"action.message": "action.message";
|
|
5724
|
-
"action.escalate": "action.escalate";
|
|
5725
|
-
"action.promote": "action.promote";
|
|
5726
|
-
"action.submit": "action.submit";
|
|
5727
|
-
"action.email": "action.email";
|
|
5728
|
-
}>, z$1.ZodString]>>;
|
|
5729
|
-
id: z$1.ZodString;
|
|
5730
|
-
order: z$1.ZodNumber;
|
|
5731
|
-
}, z$1.core.$strip>>;
|
|
5732
|
-
defaultBuildTemplateId: z$1.ZodString;
|
|
5733
|
-
buildTemplates: z$1.ZodArray<z$1.ZodObject<{
|
|
5734
|
-
label: z$1.ZodString;
|
|
5735
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5736
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
5737
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
5738
|
-
"nav.dashboard": "nav.dashboard";
|
|
5739
|
-
"nav.calendar": "nav.calendar";
|
|
5740
|
-
"nav.sales": "nav.sales";
|
|
5741
|
-
"nav.crm": "nav.crm";
|
|
5742
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
5743
|
-
"nav.projects": "nav.projects";
|
|
5744
|
-
"nav.operations": "nav.operations";
|
|
5745
|
-
"nav.monitoring": "nav.monitoring";
|
|
5746
|
-
"nav.knowledge": "nav.knowledge";
|
|
5747
|
-
"nav.settings": "nav.settings";
|
|
5748
|
-
"nav.admin": "nav.admin";
|
|
5749
|
-
"nav.archive": "nav.archive";
|
|
5750
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
5751
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
5752
|
-
"knowledge.reference": "knowledge.reference";
|
|
5753
|
-
"feature.dashboard": "feature.dashboard";
|
|
5754
|
-
"feature.calendar": "feature.calendar";
|
|
5755
|
-
"feature.sales": "feature.sales";
|
|
5756
|
-
"feature.crm": "feature.crm";
|
|
5757
|
-
"feature.finance": "feature.finance";
|
|
5758
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
5759
|
-
"feature.platform": "feature.platform";
|
|
5760
|
-
"feature.projects": "feature.projects";
|
|
5761
|
-
"feature.operations": "feature.operations";
|
|
5762
|
-
"feature.knowledge": "feature.knowledge";
|
|
5763
|
-
"feature.monitoring": "feature.monitoring";
|
|
5764
|
-
"feature.settings": "feature.settings";
|
|
5765
|
-
"feature.admin": "feature.admin";
|
|
5766
|
-
"feature.archive": "feature.archive";
|
|
5767
|
-
"feature.seo": "feature.seo";
|
|
5768
|
-
"resource.agent": "resource.agent";
|
|
5769
|
-
"resource.workflow": "resource.workflow";
|
|
5770
|
-
"resource.integration": "resource.integration";
|
|
5771
|
-
"resource.database": "resource.database";
|
|
5772
|
-
"resource.user": "resource.user";
|
|
5773
|
-
"resource.team": "resource.team";
|
|
5774
|
-
"integration.gmail": "integration.gmail";
|
|
5775
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
5776
|
-
"integration.attio": "integration.attio";
|
|
5777
|
-
"surface.dashboard": "surface.dashboard";
|
|
5778
|
-
"surface.calendar": "surface.calendar";
|
|
5779
|
-
"surface.overview": "surface.overview";
|
|
5780
|
-
"surface.command-view": "surface.command-view";
|
|
5781
|
-
"surface.command-queue": "surface.command-queue";
|
|
5782
|
-
"surface.pipeline": "surface.pipeline";
|
|
5783
|
-
"surface.lists": "surface.lists";
|
|
5784
|
-
"surface.resources": "surface.resources";
|
|
5785
|
-
"surface.settings": "surface.settings";
|
|
5786
|
-
"status.success": "status.success";
|
|
5787
|
-
"status.error": "status.error";
|
|
5788
|
-
"status.warning": "status.warning";
|
|
5789
|
-
"status.info": "status.info";
|
|
5790
|
-
"status.pending": "status.pending";
|
|
5791
|
-
"action.approve": "action.approve";
|
|
5792
|
-
"action.reject": "action.reject";
|
|
5793
|
-
"action.retry": "action.retry";
|
|
5794
|
-
"action.edit": "action.edit";
|
|
5795
|
-
"action.view": "action.view";
|
|
5796
|
-
"action.launch": "action.launch";
|
|
5797
|
-
"action.message": "action.message";
|
|
5798
|
-
"action.escalate": "action.escalate";
|
|
5799
|
-
"action.promote": "action.promote";
|
|
5800
|
-
"action.submit": "action.submit";
|
|
5801
|
-
"action.email": "action.email";
|
|
5802
|
-
}>, z$1.ZodString]>>;
|
|
5803
|
-
id: z$1.ZodString;
|
|
5804
|
-
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
5805
|
-
label: z$1.ZodString;
|
|
5806
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5807
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
5808
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
5809
|
-
"nav.dashboard": "nav.dashboard";
|
|
5810
|
-
"nav.calendar": "nav.calendar";
|
|
5811
|
-
"nav.sales": "nav.sales";
|
|
5812
|
-
"nav.crm": "nav.crm";
|
|
5813
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
5814
|
-
"nav.projects": "nav.projects";
|
|
5815
|
-
"nav.operations": "nav.operations";
|
|
5816
|
-
"nav.monitoring": "nav.monitoring";
|
|
5817
|
-
"nav.knowledge": "nav.knowledge";
|
|
5818
|
-
"nav.settings": "nav.settings";
|
|
5819
|
-
"nav.admin": "nav.admin";
|
|
5820
|
-
"nav.archive": "nav.archive";
|
|
5821
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
5822
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
5823
|
-
"knowledge.reference": "knowledge.reference";
|
|
5824
|
-
"feature.dashboard": "feature.dashboard";
|
|
5825
|
-
"feature.calendar": "feature.calendar";
|
|
5826
|
-
"feature.sales": "feature.sales";
|
|
5827
|
-
"feature.crm": "feature.crm";
|
|
5828
|
-
"feature.finance": "feature.finance";
|
|
5829
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
5830
|
-
"feature.platform": "feature.platform";
|
|
5831
|
-
"feature.projects": "feature.projects";
|
|
5832
|
-
"feature.operations": "feature.operations";
|
|
5833
|
-
"feature.knowledge": "feature.knowledge";
|
|
5834
|
-
"feature.monitoring": "feature.monitoring";
|
|
5835
|
-
"feature.settings": "feature.settings";
|
|
5836
|
-
"feature.admin": "feature.admin";
|
|
5837
|
-
"feature.archive": "feature.archive";
|
|
5838
|
-
"feature.seo": "feature.seo";
|
|
5839
|
-
"resource.agent": "resource.agent";
|
|
5840
|
-
"resource.workflow": "resource.workflow";
|
|
5841
|
-
"resource.integration": "resource.integration";
|
|
5842
|
-
"resource.database": "resource.database";
|
|
5843
|
-
"resource.user": "resource.user";
|
|
5844
|
-
"resource.team": "resource.team";
|
|
5845
|
-
"integration.gmail": "integration.gmail";
|
|
5846
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
5847
|
-
"integration.attio": "integration.attio";
|
|
5848
|
-
"surface.dashboard": "surface.dashboard";
|
|
5849
|
-
"surface.calendar": "surface.calendar";
|
|
5850
|
-
"surface.overview": "surface.overview";
|
|
5851
|
-
"surface.command-view": "surface.command-view";
|
|
5852
|
-
"surface.command-queue": "surface.command-queue";
|
|
5853
|
-
"surface.pipeline": "surface.pipeline";
|
|
5854
|
-
"surface.lists": "surface.lists";
|
|
5855
|
-
"surface.resources": "surface.resources";
|
|
5856
|
-
"surface.settings": "surface.settings";
|
|
5857
|
-
"status.success": "status.success";
|
|
5858
|
-
"status.error": "status.error";
|
|
5859
|
-
"status.warning": "status.warning";
|
|
5860
|
-
"status.info": "status.info";
|
|
5861
|
-
"status.pending": "status.pending";
|
|
5862
|
-
"action.approve": "action.approve";
|
|
5863
|
-
"action.reject": "action.reject";
|
|
5864
|
-
"action.retry": "action.retry";
|
|
5865
|
-
"action.edit": "action.edit";
|
|
5866
|
-
"action.view": "action.view";
|
|
5867
|
-
"action.launch": "action.launch";
|
|
5868
|
-
"action.message": "action.message";
|
|
5869
|
-
"action.escalate": "action.escalate";
|
|
5870
|
-
"action.promote": "action.promote";
|
|
5871
|
-
"action.submit": "action.submit";
|
|
5872
|
-
"action.email": "action.email";
|
|
5873
|
-
}>, z$1.ZodString]>>;
|
|
5874
|
-
id: z$1.ZodString;
|
|
5875
|
-
primaryEntity: z$1.ZodEnum<{
|
|
5876
|
-
company: "company";
|
|
5877
|
-
contact: "contact";
|
|
5878
|
-
}>;
|
|
5879
|
-
outputs: z$1.ZodArray<z$1.ZodEnum<{
|
|
5880
|
-
company: "company";
|
|
5881
|
-
contact: "contact";
|
|
5882
|
-
export: "export";
|
|
5883
|
-
}>>;
|
|
5884
|
-
stageKey: z$1.ZodString;
|
|
5885
|
-
recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5886
|
-
company: "company";
|
|
5887
|
-
contact: "contact";
|
|
5888
|
-
}>>;
|
|
5889
|
-
recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
5890
|
-
recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
5891
|
-
dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
5892
|
-
dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
|
|
5893
|
-
capabilityKey: z$1.ZodString;
|
|
5894
|
-
defaultBatchSize: z$1.ZodNumber;
|
|
5895
|
-
maxBatchSize: z$1.ZodNumber;
|
|
5896
|
-
recordColumns: z$1.ZodOptional<z$1.ZodObject<{
|
|
5897
|
-
company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
5898
|
-
key: z$1.ZodString;
|
|
5899
|
-
label: z$1.ZodString;
|
|
5900
|
-
path: z$1.ZodString;
|
|
5901
|
-
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
5902
|
-
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5903
|
-
text: "text";
|
|
5904
|
-
badge: "badge";
|
|
5905
|
-
datetime: "datetime";
|
|
5906
|
-
count: "count";
|
|
5907
|
-
json: "json";
|
|
5908
|
-
}>>;
|
|
5909
|
-
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
5910
|
-
}, z$1.core.$strip>>>;
|
|
5911
|
-
contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
5912
|
-
key: z$1.ZodString;
|
|
5913
|
-
label: z$1.ZodString;
|
|
5914
|
-
path: z$1.ZodString;
|
|
5915
|
-
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
5916
|
-
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5917
|
-
text: "text";
|
|
5918
|
-
badge: "badge";
|
|
5919
|
-
datetime: "datetime";
|
|
5920
|
-
count: "count";
|
|
5921
|
-
json: "json";
|
|
5922
|
-
}>>;
|
|
5923
|
-
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
5924
|
-
}, z$1.core.$strip>>>;
|
|
5925
|
-
}, z$1.core.$strip>>;
|
|
5926
|
-
credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
5927
|
-
key: z$1.ZodString;
|
|
5928
|
-
provider: z$1.ZodString;
|
|
5929
|
-
credentialType: z$1.ZodEnum<{
|
|
5930
|
-
"api-key": "api-key";
|
|
5931
|
-
"api-key-secret": "api-key-secret";
|
|
5932
|
-
oauth: "oauth";
|
|
5933
|
-
"webhook-secret": "webhook-secret";
|
|
5934
|
-
}>;
|
|
5935
|
-
label: z$1.ZodString;
|
|
5936
|
-
required: z$1.ZodBoolean;
|
|
5937
|
-
selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5938
|
-
single: "single";
|
|
5939
|
-
multiple: "multiple";
|
|
5940
|
-
}>>;
|
|
5941
|
-
inputPath: z$1.ZodString;
|
|
5942
|
-
verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
5943
|
-
}, z$1.core.$strip>>>;
|
|
5944
|
-
}, z$1.core.$strip>>;
|
|
5945
|
-
}, z$1.core.$strip>>;
|
|
5946
|
-
}, z$1.core.$strip>;
|
|
5947
|
-
projects: z$1.ZodObject<{
|
|
5948
|
-
projectEntityId: z$1.ZodString;
|
|
5949
|
-
milestoneEntityId: z$1.ZodString;
|
|
5950
|
-
taskEntityId: z$1.ZodString;
|
|
5951
|
-
projectStatuses: z$1.ZodArray<z$1.ZodObject<{
|
|
5952
|
-
label: z$1.ZodString;
|
|
5953
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
5954
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
5955
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
5956
|
-
"nav.dashboard": "nav.dashboard";
|
|
5957
|
-
"nav.calendar": "nav.calendar";
|
|
5958
|
-
"nav.sales": "nav.sales";
|
|
5959
|
-
"nav.crm": "nav.crm";
|
|
5960
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
5961
|
-
"nav.projects": "nav.projects";
|
|
5962
|
-
"nav.operations": "nav.operations";
|
|
5963
|
-
"nav.monitoring": "nav.monitoring";
|
|
5964
|
-
"nav.knowledge": "nav.knowledge";
|
|
5965
|
-
"nav.settings": "nav.settings";
|
|
5966
|
-
"nav.admin": "nav.admin";
|
|
5967
|
-
"nav.archive": "nav.archive";
|
|
5968
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
5969
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
5970
|
-
"knowledge.reference": "knowledge.reference";
|
|
5971
|
-
"feature.dashboard": "feature.dashboard";
|
|
5972
|
-
"feature.calendar": "feature.calendar";
|
|
5973
|
-
"feature.sales": "feature.sales";
|
|
5974
|
-
"feature.crm": "feature.crm";
|
|
5975
|
-
"feature.finance": "feature.finance";
|
|
5976
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
5977
|
-
"feature.platform": "feature.platform";
|
|
5978
|
-
"feature.projects": "feature.projects";
|
|
5979
|
-
"feature.operations": "feature.operations";
|
|
5980
|
-
"feature.knowledge": "feature.knowledge";
|
|
5981
|
-
"feature.monitoring": "feature.monitoring";
|
|
5982
|
-
"feature.settings": "feature.settings";
|
|
5983
|
-
"feature.admin": "feature.admin";
|
|
5984
|
-
"feature.archive": "feature.archive";
|
|
5985
|
-
"feature.seo": "feature.seo";
|
|
5986
|
-
"resource.agent": "resource.agent";
|
|
5987
|
-
"resource.workflow": "resource.workflow";
|
|
5988
|
-
"resource.integration": "resource.integration";
|
|
5989
|
-
"resource.database": "resource.database";
|
|
5990
|
-
"resource.user": "resource.user";
|
|
5991
|
-
"resource.team": "resource.team";
|
|
5992
|
-
"integration.gmail": "integration.gmail";
|
|
5993
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
5994
|
-
"integration.attio": "integration.attio";
|
|
5995
|
-
"surface.dashboard": "surface.dashboard";
|
|
5996
|
-
"surface.calendar": "surface.calendar";
|
|
5997
|
-
"surface.overview": "surface.overview";
|
|
5998
|
-
"surface.command-view": "surface.command-view";
|
|
5999
|
-
"surface.command-queue": "surface.command-queue";
|
|
6000
|
-
"surface.pipeline": "surface.pipeline";
|
|
6001
|
-
"surface.lists": "surface.lists";
|
|
6002
|
-
"surface.resources": "surface.resources";
|
|
6003
|
-
"surface.settings": "surface.settings";
|
|
6004
|
-
"status.success": "status.success";
|
|
6005
|
-
"status.error": "status.error";
|
|
6006
|
-
"status.warning": "status.warning";
|
|
6007
|
-
"status.info": "status.info";
|
|
6008
|
-
"status.pending": "status.pending";
|
|
6009
|
-
"action.approve": "action.approve";
|
|
6010
|
-
"action.reject": "action.reject";
|
|
6011
|
-
"action.retry": "action.retry";
|
|
6012
|
-
"action.edit": "action.edit";
|
|
6013
|
-
"action.view": "action.view";
|
|
6014
|
-
"action.launch": "action.launch";
|
|
6015
|
-
"action.message": "action.message";
|
|
6016
|
-
"action.escalate": "action.escalate";
|
|
6017
|
-
"action.promote": "action.promote";
|
|
6018
|
-
"action.submit": "action.submit";
|
|
6019
|
-
"action.email": "action.email";
|
|
6020
|
-
}>, z$1.ZodString]>>;
|
|
6021
|
-
id: z$1.ZodString;
|
|
6022
|
-
order: z$1.ZodNumber;
|
|
6023
|
-
}, z$1.core.$strip>>;
|
|
6024
|
-
milestoneStatuses: z$1.ZodArray<z$1.ZodObject<{
|
|
6025
|
-
label: z$1.ZodString;
|
|
6026
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
6027
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
6028
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
6029
|
-
"nav.dashboard": "nav.dashboard";
|
|
6030
|
-
"nav.calendar": "nav.calendar";
|
|
6031
|
-
"nav.sales": "nav.sales";
|
|
6032
|
-
"nav.crm": "nav.crm";
|
|
6033
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
6034
|
-
"nav.projects": "nav.projects";
|
|
6035
|
-
"nav.operations": "nav.operations";
|
|
6036
|
-
"nav.monitoring": "nav.monitoring";
|
|
6037
|
-
"nav.knowledge": "nav.knowledge";
|
|
6038
|
-
"nav.settings": "nav.settings";
|
|
6039
|
-
"nav.admin": "nav.admin";
|
|
6040
|
-
"nav.archive": "nav.archive";
|
|
6041
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
6042
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
6043
|
-
"knowledge.reference": "knowledge.reference";
|
|
6044
|
-
"feature.dashboard": "feature.dashboard";
|
|
6045
|
-
"feature.calendar": "feature.calendar";
|
|
6046
|
-
"feature.sales": "feature.sales";
|
|
6047
|
-
"feature.crm": "feature.crm";
|
|
6048
|
-
"feature.finance": "feature.finance";
|
|
6049
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
6050
|
-
"feature.platform": "feature.platform";
|
|
6051
|
-
"feature.projects": "feature.projects";
|
|
6052
|
-
"feature.operations": "feature.operations";
|
|
6053
|
-
"feature.knowledge": "feature.knowledge";
|
|
6054
|
-
"feature.monitoring": "feature.monitoring";
|
|
6055
|
-
"feature.settings": "feature.settings";
|
|
6056
|
-
"feature.admin": "feature.admin";
|
|
6057
|
-
"feature.archive": "feature.archive";
|
|
6058
|
-
"feature.seo": "feature.seo";
|
|
6059
|
-
"resource.agent": "resource.agent";
|
|
6060
|
-
"resource.workflow": "resource.workflow";
|
|
6061
|
-
"resource.integration": "resource.integration";
|
|
6062
|
-
"resource.database": "resource.database";
|
|
6063
|
-
"resource.user": "resource.user";
|
|
6064
|
-
"resource.team": "resource.team";
|
|
6065
|
-
"integration.gmail": "integration.gmail";
|
|
6066
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
6067
|
-
"integration.attio": "integration.attio";
|
|
6068
|
-
"surface.dashboard": "surface.dashboard";
|
|
6069
|
-
"surface.calendar": "surface.calendar";
|
|
6070
|
-
"surface.overview": "surface.overview";
|
|
6071
|
-
"surface.command-view": "surface.command-view";
|
|
6072
|
-
"surface.command-queue": "surface.command-queue";
|
|
6073
|
-
"surface.pipeline": "surface.pipeline";
|
|
6074
|
-
"surface.lists": "surface.lists";
|
|
6075
|
-
"surface.resources": "surface.resources";
|
|
6076
|
-
"surface.settings": "surface.settings";
|
|
6077
|
-
"status.success": "status.success";
|
|
6078
|
-
"status.error": "status.error";
|
|
6079
|
-
"status.warning": "status.warning";
|
|
6080
|
-
"status.info": "status.info";
|
|
6081
|
-
"status.pending": "status.pending";
|
|
6082
|
-
"action.approve": "action.approve";
|
|
6083
|
-
"action.reject": "action.reject";
|
|
6084
|
-
"action.retry": "action.retry";
|
|
6085
|
-
"action.edit": "action.edit";
|
|
6086
|
-
"action.view": "action.view";
|
|
6087
|
-
"action.launch": "action.launch";
|
|
6088
|
-
"action.message": "action.message";
|
|
6089
|
-
"action.escalate": "action.escalate";
|
|
6090
|
-
"action.promote": "action.promote";
|
|
6091
|
-
"action.submit": "action.submit";
|
|
6092
|
-
"action.email": "action.email";
|
|
6093
|
-
}>, z$1.ZodString]>>;
|
|
6094
|
-
id: z$1.ZodString;
|
|
6095
|
-
order: z$1.ZodNumber;
|
|
5822
|
+
sidebar: z$1.ZodDefault<z$1.ZodObject<{
|
|
5823
|
+
primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
5824
|
+
bottom: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
6096
5825
|
}, z$1.core.$strip>>;
|
|
6097
|
-
|
|
6098
|
-
label: z$1.ZodString;
|
|
6099
|
-
description: z$1.ZodOptional<z$1.ZodString>;
|
|
6100
|
-
color: z$1.ZodOptional<z$1.ZodString>;
|
|
6101
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
6102
|
-
"nav.dashboard": "nav.dashboard";
|
|
6103
|
-
"nav.calendar": "nav.calendar";
|
|
6104
|
-
"nav.sales": "nav.sales";
|
|
6105
|
-
"nav.crm": "nav.crm";
|
|
6106
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
6107
|
-
"nav.projects": "nav.projects";
|
|
6108
|
-
"nav.operations": "nav.operations";
|
|
6109
|
-
"nav.monitoring": "nav.monitoring";
|
|
6110
|
-
"nav.knowledge": "nav.knowledge";
|
|
6111
|
-
"nav.settings": "nav.settings";
|
|
6112
|
-
"nav.admin": "nav.admin";
|
|
6113
|
-
"nav.archive": "nav.archive";
|
|
6114
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
6115
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
6116
|
-
"knowledge.reference": "knowledge.reference";
|
|
6117
|
-
"feature.dashboard": "feature.dashboard";
|
|
6118
|
-
"feature.calendar": "feature.calendar";
|
|
6119
|
-
"feature.sales": "feature.sales";
|
|
6120
|
-
"feature.crm": "feature.crm";
|
|
6121
|
-
"feature.finance": "feature.finance";
|
|
6122
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
6123
|
-
"feature.platform": "feature.platform";
|
|
6124
|
-
"feature.projects": "feature.projects";
|
|
6125
|
-
"feature.operations": "feature.operations";
|
|
6126
|
-
"feature.knowledge": "feature.knowledge";
|
|
6127
|
-
"feature.monitoring": "feature.monitoring";
|
|
6128
|
-
"feature.settings": "feature.settings";
|
|
6129
|
-
"feature.admin": "feature.admin";
|
|
6130
|
-
"feature.archive": "feature.archive";
|
|
6131
|
-
"feature.seo": "feature.seo";
|
|
6132
|
-
"resource.agent": "resource.agent";
|
|
6133
|
-
"resource.workflow": "resource.workflow";
|
|
6134
|
-
"resource.integration": "resource.integration";
|
|
6135
|
-
"resource.database": "resource.database";
|
|
6136
|
-
"resource.user": "resource.user";
|
|
6137
|
-
"resource.team": "resource.team";
|
|
6138
|
-
"integration.gmail": "integration.gmail";
|
|
6139
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
6140
|
-
"integration.attio": "integration.attio";
|
|
6141
|
-
"surface.dashboard": "surface.dashboard";
|
|
6142
|
-
"surface.calendar": "surface.calendar";
|
|
6143
|
-
"surface.overview": "surface.overview";
|
|
6144
|
-
"surface.command-view": "surface.command-view";
|
|
6145
|
-
"surface.command-queue": "surface.command-queue";
|
|
6146
|
-
"surface.pipeline": "surface.pipeline";
|
|
6147
|
-
"surface.lists": "surface.lists";
|
|
6148
|
-
"surface.resources": "surface.resources";
|
|
6149
|
-
"surface.settings": "surface.settings";
|
|
6150
|
-
"status.success": "status.success";
|
|
6151
|
-
"status.error": "status.error";
|
|
6152
|
-
"status.warning": "status.warning";
|
|
6153
|
-
"status.info": "status.info";
|
|
6154
|
-
"status.pending": "status.pending";
|
|
6155
|
-
"action.approve": "action.approve";
|
|
6156
|
-
"action.reject": "action.reject";
|
|
6157
|
-
"action.retry": "action.retry";
|
|
6158
|
-
"action.edit": "action.edit";
|
|
6159
|
-
"action.view": "action.view";
|
|
6160
|
-
"action.launch": "action.launch";
|
|
6161
|
-
"action.message": "action.message";
|
|
6162
|
-
"action.escalate": "action.escalate";
|
|
6163
|
-
"action.promote": "action.promote";
|
|
6164
|
-
"action.submit": "action.submit";
|
|
6165
|
-
"action.email": "action.email";
|
|
6166
|
-
}>, z$1.ZodString]>>;
|
|
6167
|
-
id: z$1.ZodString;
|
|
6168
|
-
order: z$1.ZodNumber;
|
|
6169
|
-
}, z$1.core.$strip>>;
|
|
6170
|
-
}, z$1.core.$strip>;
|
|
5826
|
+
}, z$1.core.$strip>>;
|
|
6171
5827
|
identity: z$1.ZodDefault<z$1.ZodObject<{
|
|
6172
5828
|
mission: z$1.ZodDefault<z$1.ZodString>;
|
|
6173
5829
|
vision: z$1.ZodDefault<z$1.ZodString>;
|
|
@@ -6209,203 +5865,453 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
6209
5865
|
}, z$1.core.$strip>>;
|
|
6210
5866
|
clientBrief: z$1.ZodDefault<z$1.ZodString>;
|
|
6211
5867
|
}, z$1.core.$strip>>;
|
|
6212
|
-
customers: z$1.ZodDefault<z$1.ZodObject<{
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
}, z$1.core.$strip
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
5868
|
+
customers: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
5869
|
+
id: z$1.ZodString;
|
|
5870
|
+
order: z$1.ZodNumber;
|
|
5871
|
+
name: z$1.ZodDefault<z$1.ZodString>;
|
|
5872
|
+
description: z$1.ZodDefault<z$1.ZodString>;
|
|
5873
|
+
jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
|
|
5874
|
+
pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5875
|
+
gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5876
|
+
firmographics: z$1.ZodDefault<z$1.ZodObject<{
|
|
5877
|
+
industry: z$1.ZodOptional<z$1.ZodString>;
|
|
5878
|
+
companySize: z$1.ZodOptional<z$1.ZodString>;
|
|
5879
|
+
region: z$1.ZodOptional<z$1.ZodString>;
|
|
5880
|
+
}, z$1.core.$strip>>;
|
|
5881
|
+
valueProp: z$1.ZodDefault<z$1.ZodString>;
|
|
5882
|
+
}, z$1.core.$strip>>>>;
|
|
5883
|
+
offerings: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
5884
|
+
id: z$1.ZodString;
|
|
5885
|
+
order: z$1.ZodNumber;
|
|
5886
|
+
name: z$1.ZodDefault<z$1.ZodString>;
|
|
5887
|
+
description: z$1.ZodDefault<z$1.ZodString>;
|
|
5888
|
+
pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
|
|
5889
|
+
custom: "custom";
|
|
5890
|
+
"one-time": "one-time";
|
|
5891
|
+
subscription: "subscription";
|
|
5892
|
+
"usage-based": "usage-based";
|
|
5893
|
+
}>>;
|
|
5894
|
+
price: z$1.ZodDefault<z$1.ZodNumber>;
|
|
5895
|
+
currency: z$1.ZodDefault<z$1.ZodString>;
|
|
5896
|
+
targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5897
|
+
deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
|
|
5898
|
+
}, z$1.core.$strip>>>>;
|
|
5899
|
+
roles: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
5900
|
+
id: z$1.ZodString;
|
|
5901
|
+
order: z$1.ZodNumber;
|
|
5902
|
+
title: z$1.ZodString;
|
|
5903
|
+
responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
5904
|
+
reportsToId: z$1.ZodOptional<z$1.ZodString>;
|
|
5905
|
+
heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5906
|
+
kind: z$1.ZodLiteral<"human">;
|
|
5907
|
+
userId: z$1.ZodString;
|
|
5908
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5909
|
+
kind: z$1.ZodLiteral<"agent">;
|
|
5910
|
+
agentId: z$1.ZodString;
|
|
5911
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5912
|
+
kind: z$1.ZodLiteral<"team">;
|
|
5913
|
+
memberIds: z$1.ZodArray<z$1.ZodString>;
|
|
5914
|
+
}, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5915
|
+
kind: z$1.ZodLiteral<"human">;
|
|
5916
|
+
userId: z$1.ZodString;
|
|
5917
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5918
|
+
kind: z$1.ZodLiteral<"agent">;
|
|
5919
|
+
agentId: z$1.ZodString;
|
|
5920
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5921
|
+
kind: z$1.ZodLiteral<"team">;
|
|
5922
|
+
memberIds: z$1.ZodArray<z$1.ZodString>;
|
|
5923
|
+
}, z$1.core.$strip>], "kind">>]>>;
|
|
5924
|
+
responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
5925
|
+
}, z$1.core.$strip>>>>;
|
|
5926
|
+
goals: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
5927
|
+
id: z$1.ZodString;
|
|
5928
|
+
order: z$1.ZodNumber;
|
|
5929
|
+
description: z$1.ZodString;
|
|
5930
|
+
periodStart: z$1.ZodString;
|
|
5931
|
+
periodEnd: z$1.ZodString;
|
|
5932
|
+
keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
6256
5933
|
id: z$1.ZodString;
|
|
6257
5934
|
description: z$1.ZodString;
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
id: z$1.ZodString;
|
|
6262
|
-
description: z$1.ZodString;
|
|
6263
|
-
targetMetric: z$1.ZodString;
|
|
6264
|
-
currentValue: z$1.ZodDefault<z$1.ZodNumber>;
|
|
6265
|
-
targetValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6266
|
-
}, z$1.core.$strip>>>;
|
|
5935
|
+
targetMetric: z$1.ZodString;
|
|
5936
|
+
currentValue: z$1.ZodDefault<z$1.ZodNumber>;
|
|
5937
|
+
targetValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6267
5938
|
}, z$1.core.$strip>>>;
|
|
6268
|
-
}, z$1.core.$strip
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
5939
|
+
}, z$1.core.$strip>>>>;
|
|
5940
|
+
systems: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SystemEntry, unknown, z$1.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
5941
|
+
resources: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5942
|
+
id: z$1.ZodString;
|
|
5943
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
5944
|
+
systemPath: z$1.ZodString;
|
|
5945
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
5946
|
+
status: z$1.ZodEnum<{
|
|
5947
|
+
deprecated: "deprecated";
|
|
5948
|
+
active: "active";
|
|
5949
|
+
archived: "archived";
|
|
5950
|
+
}>;
|
|
5951
|
+
kind: z$1.ZodLiteral<"workflow">;
|
|
5952
|
+
actionKey: z$1.ZodOptional<z$1.ZodString>;
|
|
5953
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
5954
|
+
eventKey: z$1.ZodString;
|
|
6272
5955
|
label: z$1.ZodString;
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
request: "request";
|
|
6282
|
-
}>;
|
|
6283
|
-
category: z$1.ZodOptional<z$1.ZodString>;
|
|
5956
|
+
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
5957
|
+
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5958
|
+
deprecated: "deprecated";
|
|
5959
|
+
draft: "draft";
|
|
5960
|
+
beta: "beta";
|
|
5961
|
+
active: "active";
|
|
5962
|
+
archived: "archived";
|
|
5963
|
+
}>>;
|
|
6284
5964
|
}, z$1.core.$strip>>>;
|
|
6285
|
-
}, z$1.core.$strip
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
5965
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5966
|
+
id: z$1.ZodString;
|
|
5967
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
5968
|
+
systemPath: z$1.ZodString;
|
|
5969
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
5970
|
+
status: z$1.ZodEnum<{
|
|
5971
|
+
deprecated: "deprecated";
|
|
5972
|
+
active: "active";
|
|
5973
|
+
archived: "archived";
|
|
5974
|
+
}>;
|
|
5975
|
+
kind: z$1.ZodLiteral<"agent">;
|
|
5976
|
+
agentKind: z$1.ZodEnum<{
|
|
5977
|
+
platform: "platform";
|
|
5978
|
+
orchestrator: "orchestrator";
|
|
5979
|
+
specialist: "specialist";
|
|
5980
|
+
utility: "utility";
|
|
5981
|
+
}>;
|
|
5982
|
+
actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
5983
|
+
sessionCapable: z$1.ZodBoolean;
|
|
5984
|
+
invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5985
|
+
kind: z$1.ZodLiteral<"slash-command">;
|
|
5986
|
+
command: z$1.ZodString;
|
|
5987
|
+
toolFactory: z$1.ZodOptional<z$1.ZodString>;
|
|
5988
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5989
|
+
kind: z$1.ZodLiteral<"mcp-tool">;
|
|
5990
|
+
server: z$1.ZodString;
|
|
5991
|
+
name: z$1.ZodString;
|
|
5992
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5993
|
+
kind: z$1.ZodLiteral<"api-endpoint">;
|
|
5994
|
+
method: z$1.ZodEnum<{
|
|
5995
|
+
GET: "GET";
|
|
5996
|
+
POST: "POST";
|
|
5997
|
+
PATCH: "PATCH";
|
|
5998
|
+
DELETE: "DELETE";
|
|
6296
5999
|
}>;
|
|
6297
|
-
|
|
6298
|
-
|
|
6000
|
+
path: z$1.ZodString;
|
|
6001
|
+
requestSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
6002
|
+
responseSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
6003
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6004
|
+
kind: z$1.ZodLiteral<"script-execution">;
|
|
6005
|
+
resourceId: z$1.ZodString;
|
|
6006
|
+
}, z$1.core.$strip>], "kind">>>;
|
|
6007
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
6008
|
+
eventKey: z$1.ZodString;
|
|
6009
|
+
label: z$1.ZodString;
|
|
6010
|
+
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
6011
|
+
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6012
|
+
deprecated: "deprecated";
|
|
6013
|
+
draft: "draft";
|
|
6014
|
+
beta: "beta";
|
|
6015
|
+
active: "active";
|
|
6016
|
+
archived: "archived";
|
|
6017
|
+
}>>;
|
|
6299
6018
|
}, z$1.core.$strip>>>;
|
|
6300
|
-
}, z$1.core.$strip
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6019
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6020
|
+
id: z$1.ZodString;
|
|
6021
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
6022
|
+
systemPath: z$1.ZodString;
|
|
6023
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
6024
|
+
status: z$1.ZodEnum<{
|
|
6025
|
+
deprecated: "deprecated";
|
|
6026
|
+
active: "active";
|
|
6027
|
+
archived: "archived";
|
|
6028
|
+
}>;
|
|
6029
|
+
kind: z$1.ZodLiteral<"integration">;
|
|
6030
|
+
provider: z$1.ZodString;
|
|
6031
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6032
|
+
id: z$1.ZodString;
|
|
6033
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
6034
|
+
systemPath: z$1.ZodString;
|
|
6035
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
6036
|
+
status: z$1.ZodEnum<{
|
|
6037
|
+
deprecated: "deprecated";
|
|
6038
|
+
active: "active";
|
|
6039
|
+
archived: "archived";
|
|
6040
|
+
}>;
|
|
6041
|
+
kind: z$1.ZodLiteral<"script">;
|
|
6042
|
+
language: z$1.ZodEnum<{
|
|
6043
|
+
shell: "shell";
|
|
6044
|
+
sql: "sql";
|
|
6045
|
+
typescript: "typescript";
|
|
6046
|
+
python: "python";
|
|
6047
|
+
}>;
|
|
6048
|
+
source: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
6049
|
+
file: z$1.ZodString;
|
|
6050
|
+
}, z$1.core.$strip>]>;
|
|
6051
|
+
}, z$1.core.$strip>], "kind">>>>;
|
|
6052
|
+
actions: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
6053
|
+
id: z$1.ZodString;
|
|
6054
|
+
order: z$1.ZodNumber;
|
|
6055
|
+
label: z$1.ZodString;
|
|
6056
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
6057
|
+
scope: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodLiteral<"global">, z$1.ZodObject<{
|
|
6058
|
+
domain: z$1.ZodString;
|
|
6059
|
+
}, z$1.core.$strip>]>>;
|
|
6060
|
+
resourceId: z$1.ZodOptional<z$1.ZodString>;
|
|
6061
|
+
affects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6062
|
+
invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6063
|
+
kind: z$1.ZodLiteral<"slash-command">;
|
|
6064
|
+
command: z$1.ZodString;
|
|
6065
|
+
toolFactory: z$1.ZodOptional<z$1.ZodString>;
|
|
6066
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6067
|
+
kind: z$1.ZodLiteral<"mcp-tool">;
|
|
6068
|
+
server: z$1.ZodString;
|
|
6069
|
+
name: z$1.ZodString;
|
|
6070
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6071
|
+
kind: z$1.ZodLiteral<"api-endpoint">;
|
|
6072
|
+
method: z$1.ZodEnum<{
|
|
6073
|
+
GET: "GET";
|
|
6074
|
+
POST: "POST";
|
|
6075
|
+
PATCH: "PATCH";
|
|
6076
|
+
DELETE: "DELETE";
|
|
6077
|
+
}>;
|
|
6078
|
+
path: z$1.ZodString;
|
|
6079
|
+
requestSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
6080
|
+
responseSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
6081
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6082
|
+
kind: z$1.ZodLiteral<"script-execution">;
|
|
6083
|
+
resourceId: z$1.ZodString;
|
|
6084
|
+
}, z$1.core.$strip>], "kind">>>;
|
|
6085
|
+
knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
6086
|
+
lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
|
|
6087
|
+
deprecated: "deprecated";
|
|
6088
|
+
draft: "draft";
|
|
6089
|
+
beta: "beta";
|
|
6090
|
+
active: "active";
|
|
6091
|
+
archived: "archived";
|
|
6092
|
+
}>>;
|
|
6093
|
+
}, z$1.core.$strip>>>>;
|
|
6094
|
+
entities: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
6095
|
+
id: z$1.ZodString;
|
|
6096
|
+
order: z$1.ZodNumber;
|
|
6097
|
+
label: z$1.ZodString;
|
|
6098
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
6099
|
+
ownedBySystemId: z$1.ZodString;
|
|
6100
|
+
table: z$1.ZodOptional<z$1.ZodString>;
|
|
6101
|
+
rowSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
6102
|
+
stateCatalogId: z$1.ZodOptional<z$1.ZodString>;
|
|
6103
|
+
links: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
6104
|
+
toEntity: z$1.ZodString;
|
|
6304
6105
|
kind: z$1.ZodEnum<{
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6106
|
+
"belongs-to": "belongs-to";
|
|
6107
|
+
"has-many": "has-many";
|
|
6108
|
+
"has-one": "has-one";
|
|
6109
|
+
"many-to-many": "many-to-many";
|
|
6308
6110
|
}>;
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
6312
|
-
"nav.dashboard": "nav.dashboard";
|
|
6313
|
-
"nav.calendar": "nav.calendar";
|
|
6314
|
-
"nav.sales": "nav.sales";
|
|
6315
|
-
"nav.crm": "nav.crm";
|
|
6316
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
6317
|
-
"nav.projects": "nav.projects";
|
|
6318
|
-
"nav.operations": "nav.operations";
|
|
6319
|
-
"nav.monitoring": "nav.monitoring";
|
|
6320
|
-
"nav.knowledge": "nav.knowledge";
|
|
6321
|
-
"nav.settings": "nav.settings";
|
|
6322
|
-
"nav.admin": "nav.admin";
|
|
6323
|
-
"nav.archive": "nav.archive";
|
|
6324
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
6325
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
6326
|
-
"knowledge.reference": "knowledge.reference";
|
|
6327
|
-
"feature.dashboard": "feature.dashboard";
|
|
6328
|
-
"feature.calendar": "feature.calendar";
|
|
6329
|
-
"feature.sales": "feature.sales";
|
|
6330
|
-
"feature.crm": "feature.crm";
|
|
6331
|
-
"feature.finance": "feature.finance";
|
|
6332
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
6333
|
-
"feature.platform": "feature.platform";
|
|
6334
|
-
"feature.projects": "feature.projects";
|
|
6335
|
-
"feature.operations": "feature.operations";
|
|
6336
|
-
"feature.knowledge": "feature.knowledge";
|
|
6337
|
-
"feature.monitoring": "feature.monitoring";
|
|
6338
|
-
"feature.settings": "feature.settings";
|
|
6339
|
-
"feature.admin": "feature.admin";
|
|
6340
|
-
"feature.archive": "feature.archive";
|
|
6341
|
-
"feature.seo": "feature.seo";
|
|
6342
|
-
"resource.agent": "resource.agent";
|
|
6343
|
-
"resource.workflow": "resource.workflow";
|
|
6344
|
-
"resource.integration": "resource.integration";
|
|
6345
|
-
"resource.database": "resource.database";
|
|
6346
|
-
"resource.user": "resource.user";
|
|
6347
|
-
"resource.team": "resource.team";
|
|
6348
|
-
"integration.gmail": "integration.gmail";
|
|
6349
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
6350
|
-
"integration.attio": "integration.attio";
|
|
6351
|
-
"surface.dashboard": "surface.dashboard";
|
|
6352
|
-
"surface.calendar": "surface.calendar";
|
|
6353
|
-
"surface.overview": "surface.overview";
|
|
6354
|
-
"surface.command-view": "surface.command-view";
|
|
6355
|
-
"surface.command-queue": "surface.command-queue";
|
|
6356
|
-
"surface.pipeline": "surface.pipeline";
|
|
6357
|
-
"surface.lists": "surface.lists";
|
|
6358
|
-
"surface.resources": "surface.resources";
|
|
6359
|
-
"surface.settings": "surface.settings";
|
|
6360
|
-
"status.success": "status.success";
|
|
6361
|
-
"status.error": "status.error";
|
|
6362
|
-
"status.warning": "status.warning";
|
|
6363
|
-
"status.info": "status.info";
|
|
6364
|
-
"status.pending": "status.pending";
|
|
6365
|
-
"action.approve": "action.approve";
|
|
6366
|
-
"action.reject": "action.reject";
|
|
6367
|
-
"action.retry": "action.retry";
|
|
6368
|
-
"action.edit": "action.edit";
|
|
6369
|
-
"action.view": "action.view";
|
|
6370
|
-
"action.launch": "action.launch";
|
|
6371
|
-
"action.message": "action.message";
|
|
6372
|
-
"action.escalate": "action.escalate";
|
|
6373
|
-
"action.promote": "action.promote";
|
|
6374
|
-
"action.submit": "action.submit";
|
|
6375
|
-
"action.email": "action.email";
|
|
6376
|
-
}>, z$1.ZodString]>>;
|
|
6377
|
-
body: z$1.ZodString;
|
|
6378
|
-
links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
6379
|
-
nodeId: z$1.ZodString;
|
|
6380
|
-
}, z$1.core.$strip>>>;
|
|
6381
|
-
skills: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6382
|
-
domain: z$1.ZodOptional<z$1.ZodString>;
|
|
6383
|
-
ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6384
|
-
updatedAt: z$1.ZodString;
|
|
6111
|
+
via: z$1.ZodOptional<z$1.ZodString>;
|
|
6112
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
6385
6113
|
}, z$1.core.$strip>>>;
|
|
6386
|
-
}, z$1.core.$strip
|
|
6114
|
+
}, z$1.core.$strip>>>>;
|
|
6115
|
+
policies: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
6116
|
+
id: z$1.ZodString;
|
|
6117
|
+
order: z$1.ZodNumber;
|
|
6118
|
+
label: z$1.ZodString;
|
|
6119
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
6120
|
+
trigger: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6121
|
+
kind: z$1.ZodLiteral<"event">;
|
|
6122
|
+
eventId: z$1.ZodString;
|
|
6123
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6124
|
+
kind: z$1.ZodLiteral<"action-invocation">;
|
|
6125
|
+
actionId: z$1.ZodString;
|
|
6126
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6127
|
+
kind: z$1.ZodLiteral<"schedule">;
|
|
6128
|
+
cron: z$1.ZodString;
|
|
6129
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6130
|
+
kind: z$1.ZodLiteral<"manual">;
|
|
6131
|
+
}, z$1.core.$strip>], "kind">;
|
|
6132
|
+
predicate: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6133
|
+
kind: z$1.ZodLiteral<"always">;
|
|
6134
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6135
|
+
kind: z$1.ZodLiteral<"expression">;
|
|
6136
|
+
expression: z$1.ZodString;
|
|
6137
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6138
|
+
kind: z$1.ZodLiteral<"threshold">;
|
|
6139
|
+
metric: z$1.ZodString;
|
|
6140
|
+
operator: z$1.ZodEnum<{
|
|
6141
|
+
lt: "lt";
|
|
6142
|
+
lte: "lte";
|
|
6143
|
+
eq: "eq";
|
|
6144
|
+
gte: "gte";
|
|
6145
|
+
gt: "gt";
|
|
6146
|
+
}>;
|
|
6147
|
+
value: z$1.ZodNumber;
|
|
6148
|
+
}, z$1.core.$strip>], "kind">>;
|
|
6149
|
+
actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6150
|
+
kind: z$1.ZodLiteral<"require-approval">;
|
|
6151
|
+
roleId: z$1.ZodOptional<z$1.ZodString>;
|
|
6152
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6153
|
+
kind: z$1.ZodLiteral<"invoke-action">;
|
|
6154
|
+
actionId: z$1.ZodString;
|
|
6155
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6156
|
+
kind: z$1.ZodLiteral<"notify-role">;
|
|
6157
|
+
roleId: z$1.ZodString;
|
|
6158
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6159
|
+
kind: z$1.ZodLiteral<"block">;
|
|
6160
|
+
}, z$1.core.$strip>], "kind">>;
|
|
6161
|
+
appliesTo: z$1.ZodDefault<z$1.ZodObject<{
|
|
6162
|
+
systemIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6163
|
+
actionIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6164
|
+
resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6165
|
+
roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6166
|
+
}, z$1.core.$strip>>;
|
|
6167
|
+
lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
|
|
6168
|
+
deprecated: "deprecated";
|
|
6169
|
+
draft: "draft";
|
|
6170
|
+
beta: "beta";
|
|
6171
|
+
active: "active";
|
|
6172
|
+
archived: "archived";
|
|
6173
|
+
}>>;
|
|
6174
|
+
}, z$1.core.$strip>>>>;
|
|
6175
|
+
knowledge: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
6176
|
+
id: z$1.ZodString;
|
|
6177
|
+
kind: z$1.ZodEnum<{
|
|
6178
|
+
playbook: "playbook";
|
|
6179
|
+
strategy: "strategy";
|
|
6180
|
+
reference: "reference";
|
|
6181
|
+
}>;
|
|
6182
|
+
title: z$1.ZodString;
|
|
6183
|
+
summary: z$1.ZodString;
|
|
6184
|
+
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
6185
|
+
"nav.dashboard": "nav.dashboard";
|
|
6186
|
+
"nav.calendar": "nav.calendar";
|
|
6187
|
+
"nav.sales": "nav.sales";
|
|
6188
|
+
"nav.crm": "nav.crm";
|
|
6189
|
+
"nav.lead-gen": "nav.lead-gen";
|
|
6190
|
+
"nav.projects": "nav.projects";
|
|
6191
|
+
"nav.operations": "nav.operations";
|
|
6192
|
+
"nav.monitoring": "nav.monitoring";
|
|
6193
|
+
"nav.knowledge": "nav.knowledge";
|
|
6194
|
+
"nav.settings": "nav.settings";
|
|
6195
|
+
"nav.admin": "nav.admin";
|
|
6196
|
+
"nav.archive": "nav.archive";
|
|
6197
|
+
"knowledge.playbook": "knowledge.playbook";
|
|
6198
|
+
"knowledge.strategy": "knowledge.strategy";
|
|
6199
|
+
"knowledge.reference": "knowledge.reference";
|
|
6200
|
+
"feature.dashboard": "feature.dashboard";
|
|
6201
|
+
"feature.calendar": "feature.calendar";
|
|
6202
|
+
"feature.business": "feature.business";
|
|
6203
|
+
"feature.sales": "feature.sales";
|
|
6204
|
+
"feature.crm": "feature.crm";
|
|
6205
|
+
"feature.finance": "feature.finance";
|
|
6206
|
+
"feature.lead-gen": "feature.lead-gen";
|
|
6207
|
+
"feature.platform": "feature.platform";
|
|
6208
|
+
"feature.projects": "feature.projects";
|
|
6209
|
+
"feature.operations": "feature.operations";
|
|
6210
|
+
"feature.knowledge": "feature.knowledge";
|
|
6211
|
+
"feature.monitoring": "feature.monitoring";
|
|
6212
|
+
"feature.settings": "feature.settings";
|
|
6213
|
+
"feature.admin": "feature.admin";
|
|
6214
|
+
"feature.archive": "feature.archive";
|
|
6215
|
+
"feature.seo": "feature.seo";
|
|
6216
|
+
"resource.agent": "resource.agent";
|
|
6217
|
+
"resource.workflow": "resource.workflow";
|
|
6218
|
+
"resource.integration": "resource.integration";
|
|
6219
|
+
"resource.database": "resource.database";
|
|
6220
|
+
"resource.user": "resource.user";
|
|
6221
|
+
"resource.team": "resource.team";
|
|
6222
|
+
"integration.gmail": "integration.gmail";
|
|
6223
|
+
"integration.google-sheets": "integration.google-sheets";
|
|
6224
|
+
"integration.attio": "integration.attio";
|
|
6225
|
+
"surface.dashboard": "surface.dashboard";
|
|
6226
|
+
"surface.calendar": "surface.calendar";
|
|
6227
|
+
"surface.overview": "surface.overview";
|
|
6228
|
+
"surface.command-view": "surface.command-view";
|
|
6229
|
+
"surface.command-queue": "surface.command-queue";
|
|
6230
|
+
"surface.pipeline": "surface.pipeline";
|
|
6231
|
+
"surface.lists": "surface.lists";
|
|
6232
|
+
"surface.resources": "surface.resources";
|
|
6233
|
+
"surface.settings": "surface.settings";
|
|
6234
|
+
"status.success": "status.success";
|
|
6235
|
+
"status.error": "status.error";
|
|
6236
|
+
"status.warning": "status.warning";
|
|
6237
|
+
"status.info": "status.info";
|
|
6238
|
+
"status.pending": "status.pending";
|
|
6239
|
+
"action.approve": "action.approve";
|
|
6240
|
+
"action.reject": "action.reject";
|
|
6241
|
+
"action.retry": "action.retry";
|
|
6242
|
+
"action.edit": "action.edit";
|
|
6243
|
+
"action.view": "action.view";
|
|
6244
|
+
"action.launch": "action.launch";
|
|
6245
|
+
"action.message": "action.message";
|
|
6246
|
+
"action.escalate": "action.escalate";
|
|
6247
|
+
"action.promote": "action.promote";
|
|
6248
|
+
"action.submit": "action.submit";
|
|
6249
|
+
"action.email": "action.email";
|
|
6250
|
+
}>, z$1.ZodString]>>;
|
|
6251
|
+
externalUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
6252
|
+
body: z$1.ZodString;
|
|
6253
|
+
links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
6254
|
+
target: z$1.ZodObject<{
|
|
6255
|
+
kind: z$1.ZodEnum<{
|
|
6256
|
+
system: "system";
|
|
6257
|
+
action: "action";
|
|
6258
|
+
knowledge: "knowledge";
|
|
6259
|
+
role: "role";
|
|
6260
|
+
goal: "goal";
|
|
6261
|
+
stage: "stage";
|
|
6262
|
+
resource: "resource";
|
|
6263
|
+
"customer-segment": "customer-segment";
|
|
6264
|
+
offering: "offering";
|
|
6265
|
+
"content-node": "content-node";
|
|
6266
|
+
}>;
|
|
6267
|
+
id: z$1.ZodString;
|
|
6268
|
+
}, z$1.core.$strip>;
|
|
6269
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6270
|
+
nodeId: z$1.ZodString;
|
|
6271
|
+
}, z$1.core.$strip>]>, z$1.ZodTransform<{
|
|
6272
|
+
target: {
|
|
6273
|
+
kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
6274
|
+
id: string;
|
|
6275
|
+
};
|
|
6276
|
+
nodeId: string;
|
|
6277
|
+
}, {
|
|
6278
|
+
nodeId: string;
|
|
6279
|
+
} | {
|
|
6280
|
+
target: {
|
|
6281
|
+
kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
6282
|
+
id: string;
|
|
6283
|
+
};
|
|
6284
|
+
}>>>>;
|
|
6285
|
+
ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6286
|
+
updatedAt: z$1.ZodString;
|
|
6287
|
+
}, z$1.core.$strip>>>>;
|
|
6387
6288
|
}, z$1.core.$strip>;
|
|
6388
6289
|
|
|
6389
6290
|
type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
|
|
6390
|
-
type
|
|
6291
|
+
type OrganizationModelSystemEntry = z$1.infer<typeof SystemEntrySchema>;
|
|
6391
6292
|
|
|
6392
6293
|
declare const LinkSchema: z$1.ZodObject<{
|
|
6393
6294
|
nodeId: z$1.ZodString;
|
|
6394
6295
|
kind: z$1.ZodEnum<{
|
|
6296
|
+
links: "links";
|
|
6297
|
+
affects: "affects";
|
|
6298
|
+
emits: "emits";
|
|
6395
6299
|
contains: "contains";
|
|
6396
6300
|
references: "references";
|
|
6397
|
-
exposes: "exposes";
|
|
6398
6301
|
maps_to: "maps_to";
|
|
6399
|
-
"operates-on": "operates-on";
|
|
6400
6302
|
uses: "uses";
|
|
6401
6303
|
governs: "governs";
|
|
6304
|
+
originates_from: "originates_from";
|
|
6305
|
+
triggers: "triggers";
|
|
6306
|
+
applies_to: "applies_to";
|
|
6307
|
+
effects: "effects";
|
|
6402
6308
|
}>;
|
|
6403
6309
|
}, z$1.core.$strip>;
|
|
6404
6310
|
type Link = z$1.infer<typeof LinkSchema>;
|
|
6405
6311
|
|
|
6406
6312
|
declare const ResourceCategorySchema: z$1.ZodEnum<{
|
|
6407
|
-
production: "production";
|
|
6408
6313
|
diagnostic: "diagnostic";
|
|
6314
|
+
production: "production";
|
|
6409
6315
|
internal: "internal";
|
|
6410
6316
|
testing: "testing";
|
|
6411
6317
|
}>;
|
|
@@ -6604,13 +6510,18 @@ type APIErrorCode = 'VALIDATION_ERROR' | 'AUTHENTICATION_FAILED' | 'FORBIDDEN' |
|
|
|
6604
6510
|
* - API middleware (via requireOrganizationPermission(key))
|
|
6605
6511
|
* - UI hooks (via useOrganizationPermissions().hasPermission(key))
|
|
6606
6512
|
*
|
|
6607
|
-
* The DB table `org_rol_permissions` mirrors this constant.
|
|
6608
|
-
*
|
|
6609
|
-
*
|
|
6513
|
+
* The DB table `org_rol_permissions` mirrors this constant. There is no
|
|
6514
|
+
* runtime reconciler; parity is enforced two ways:
|
|
6515
|
+
* 1. Each migration that adds/removes/modifies a permission must INSERT
|
|
6516
|
+
* (or UPDATE / DELETE) the corresponding `org_rol_permissions` row in
|
|
6517
|
+
* the same transaction.
|
|
6518
|
+
* 2. `apps/api/src/auth/multi-tenancy/__tests__/permissions-catalog-sync.integration.test.ts`
|
|
6519
|
+
* asserts the TS catalog and the DB rows agree; CI fails on drift.
|
|
6610
6520
|
*
|
|
6611
6521
|
* Adding a permission:
|
|
6612
6522
|
* 1. Add an entry below.
|
|
6613
|
-
* 2. Add a row to the migration
|
|
6523
|
+
* 2. Add a row to the migration (INSERT INTO org_rol_permissions ...) in
|
|
6524
|
+
* the same transaction as any policies/grants that reference the key.
|
|
6614
6525
|
* 3. Reference it in RLS / middleware as needed.
|
|
6615
6526
|
* 4. Optionally grant it to one or more system roles in org_rol_grants.
|
|
6616
6527
|
*
|
|
@@ -6628,12 +6539,14 @@ declare const PERMISSIONS: {
|
|
|
6628
6539
|
readonly OPERATIONS_MANAGE: "operations.manage";
|
|
6629
6540
|
readonly ACQUISITION_MANAGE: "acquisition.manage";
|
|
6630
6541
|
readonly PROJECTS_MANAGE: "projects.manage";
|
|
6542
|
+
readonly CLIENTS_MANAGE: "clients.manage";
|
|
6631
6543
|
};
|
|
6632
6544
|
type PermissionKey = (typeof PERMISSIONS)[keyof typeof PERMISSIONS];
|
|
6633
6545
|
/**
|
|
6634
|
-
* Static metadata for each permission. Mirrored into org_rol_permissions
|
|
6635
|
-
*
|
|
6636
|
-
*
|
|
6546
|
+
* Static metadata for each permission. Mirrored into org_rol_permissions by
|
|
6547
|
+
* a migration `INSERT` in the same transaction as any change to this catalog.
|
|
6548
|
+
* is_org_grantable=false means the permission is reserved to system roles
|
|
6549
|
+
* only — custom roles cannot include it (privilege-escalation guard).
|
|
6637
6550
|
*/
|
|
6638
6551
|
interface PermissionDescriptor {
|
|
6639
6552
|
key: PermissionKey;
|
|
@@ -6650,9 +6563,9 @@ declare const ExecutionHistoryItemSchema: z$1.ZodObject<{
|
|
|
6650
6563
|
createdAt: z$1.ZodString;
|
|
6651
6564
|
status: z$1.ZodEnum<{
|
|
6652
6565
|
completed: "completed";
|
|
6653
|
-
cancelled: "cancelled";
|
|
6654
6566
|
failed: "failed";
|
|
6655
6567
|
running: "running";
|
|
6568
|
+
cancelled: "cancelled";
|
|
6656
6569
|
}>;
|
|
6657
6570
|
step: z$1.ZodNullable<z$1.ZodNumber>;
|
|
6658
6571
|
itemLabel: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6669,9 +6582,9 @@ declare const ExecutionHistoryResponseSchema: z$1.ZodObject<{
|
|
|
6669
6582
|
createdAt: z$1.ZodString;
|
|
6670
6583
|
status: z$1.ZodEnum<{
|
|
6671
6584
|
completed: "completed";
|
|
6672
|
-
cancelled: "cancelled";
|
|
6673
6585
|
failed: "failed";
|
|
6674
6586
|
running: "running";
|
|
6587
|
+
cancelled: "cancelled";
|
|
6675
6588
|
}>;
|
|
6676
6589
|
step: z$1.ZodNullable<z$1.ZodNumber>;
|
|
6677
6590
|
itemLabel: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6724,6 +6637,131 @@ declare function getTimeRangeDates(range: TimeRange): TimeRangeDates;
|
|
|
6724
6637
|
*/
|
|
6725
6638
|
declare function getTimeRangeLabel(range: TimeRange): string;
|
|
6726
6639
|
|
|
6640
|
+
declare const ClientStatusSchema: z$1.ZodEnum<{
|
|
6641
|
+
active: "active";
|
|
6642
|
+
completed: "completed";
|
|
6643
|
+
paused: "paused";
|
|
6644
|
+
onboarding: "onboarding";
|
|
6645
|
+
churned: "churned";
|
|
6646
|
+
}>;
|
|
6647
|
+
declare const ClientResponseSchema: z$1.ZodObject<{
|
|
6648
|
+
id: z$1.ZodString;
|
|
6649
|
+
organizationId: z$1.ZodString;
|
|
6650
|
+
name: z$1.ZodString;
|
|
6651
|
+
status: z$1.ZodEnum<{
|
|
6652
|
+
active: "active";
|
|
6653
|
+
completed: "completed";
|
|
6654
|
+
paused: "paused";
|
|
6655
|
+
onboarding: "onboarding";
|
|
6656
|
+
churned: "churned";
|
|
6657
|
+
}>;
|
|
6658
|
+
sourceDealId: z$1.ZodNullable<z$1.ZodString>;
|
|
6659
|
+
primaryCompanyId: z$1.ZodNullable<z$1.ZodString>;
|
|
6660
|
+
primaryContactId: z$1.ZodNullable<z$1.ZodString>;
|
|
6661
|
+
convertedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
6662
|
+
metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
6663
|
+
createdAt: z$1.ZodString;
|
|
6664
|
+
updatedAt: z$1.ZodString;
|
|
6665
|
+
}, z$1.core.$strip>;
|
|
6666
|
+
declare const ClientDetailResponseSchema: z$1.ZodObject<{
|
|
6667
|
+
id: z$1.ZodString;
|
|
6668
|
+
organizationId: z$1.ZodString;
|
|
6669
|
+
name: z$1.ZodString;
|
|
6670
|
+
status: z$1.ZodEnum<{
|
|
6671
|
+
active: "active";
|
|
6672
|
+
completed: "completed";
|
|
6673
|
+
paused: "paused";
|
|
6674
|
+
onboarding: "onboarding";
|
|
6675
|
+
churned: "churned";
|
|
6676
|
+
}>;
|
|
6677
|
+
sourceDealId: z$1.ZodNullable<z$1.ZodString>;
|
|
6678
|
+
primaryCompanyId: z$1.ZodNullable<z$1.ZodString>;
|
|
6679
|
+
primaryContactId: z$1.ZodNullable<z$1.ZodString>;
|
|
6680
|
+
convertedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
6681
|
+
metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
6682
|
+
createdAt: z$1.ZodString;
|
|
6683
|
+
updatedAt: z$1.ZodString;
|
|
6684
|
+
lineage: z$1.ZodObject<{
|
|
6685
|
+
deals: z$1.ZodArray<z$1.ZodObject<{
|
|
6686
|
+
id: z$1.ZodString;
|
|
6687
|
+
contactEmail: z$1.ZodString;
|
|
6688
|
+
stageKey: z$1.ZodNullable<z$1.ZodString>;
|
|
6689
|
+
stateKey: z$1.ZodNullable<z$1.ZodString>;
|
|
6690
|
+
updatedAt: z$1.ZodString;
|
|
6691
|
+
}, z$1.core.$strip>>;
|
|
6692
|
+
projects: z$1.ZodArray<z$1.ZodObject<{
|
|
6693
|
+
id: z$1.ZodString;
|
|
6694
|
+
name: z$1.ZodString;
|
|
6695
|
+
kind: z$1.ZodString;
|
|
6696
|
+
status: z$1.ZodString;
|
|
6697
|
+
updatedAt: z$1.ZodString;
|
|
6698
|
+
}, z$1.core.$strip>>;
|
|
6699
|
+
companies: z$1.ZodArray<z$1.ZodObject<{
|
|
6700
|
+
id: z$1.ZodString;
|
|
6701
|
+
name: z$1.ZodString;
|
|
6702
|
+
domain: z$1.ZodNullable<z$1.ZodString>;
|
|
6703
|
+
status: z$1.ZodString;
|
|
6704
|
+
}, z$1.core.$strip>>;
|
|
6705
|
+
contacts: z$1.ZodArray<z$1.ZodObject<{
|
|
6706
|
+
id: z$1.ZodString;
|
|
6707
|
+
email: z$1.ZodString;
|
|
6708
|
+
firstName: z$1.ZodNullable<z$1.ZodString>;
|
|
6709
|
+
lastName: z$1.ZodNullable<z$1.ZodString>;
|
|
6710
|
+
title: z$1.ZodNullable<z$1.ZodString>;
|
|
6711
|
+
companyId: z$1.ZodNullable<z$1.ZodString>;
|
|
6712
|
+
status: z$1.ZodString;
|
|
6713
|
+
}, z$1.core.$strip>>;
|
|
6714
|
+
}, z$1.core.$strip>;
|
|
6715
|
+
}, z$1.core.$strip>;
|
|
6716
|
+
declare const ClientStatusResponseSchema: z$1.ZodObject<{
|
|
6717
|
+
totalClients: z$1.ZodNumber;
|
|
6718
|
+
byStatus: z$1.ZodRecord<z$1.ZodEnum<{
|
|
6719
|
+
active: "active";
|
|
6720
|
+
completed: "completed";
|
|
6721
|
+
paused: "paused";
|
|
6722
|
+
onboarding: "onboarding";
|
|
6723
|
+
churned: "churned";
|
|
6724
|
+
}>, z$1.ZodNumber>;
|
|
6725
|
+
linkedDeals: z$1.ZodNumber;
|
|
6726
|
+
linkedProjects: z$1.ZodNumber;
|
|
6727
|
+
linkedCompanies: z$1.ZodNumber;
|
|
6728
|
+
linkedContacts: z$1.ZodNumber;
|
|
6729
|
+
}, z$1.core.$strip>;
|
|
6730
|
+
declare const CreateClientRequestSchema: z$1.ZodObject<{
|
|
6731
|
+
name: z$1.ZodString;
|
|
6732
|
+
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6733
|
+
active: "active";
|
|
6734
|
+
completed: "completed";
|
|
6735
|
+
paused: "paused";
|
|
6736
|
+
onboarding: "onboarding";
|
|
6737
|
+
churned: "churned";
|
|
6738
|
+
}>>;
|
|
6739
|
+
sourceDealId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
6740
|
+
primaryCompanyId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
6741
|
+
primaryContactId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
6742
|
+
metadata: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
|
|
6743
|
+
}, z$1.core.$strict>;
|
|
6744
|
+
declare const UpdateClientRequestSchema: z$1.ZodObject<{
|
|
6745
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6746
|
+
status: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6747
|
+
active: "active";
|
|
6748
|
+
completed: "completed";
|
|
6749
|
+
paused: "paused";
|
|
6750
|
+
onboarding: "onboarding";
|
|
6751
|
+
churned: "churned";
|
|
6752
|
+
}>>;
|
|
6753
|
+
sourceDealId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
6754
|
+
primaryCompanyId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
6755
|
+
primaryContactId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
6756
|
+
metadata: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
|
|
6757
|
+
}, z$1.core.$strict>;
|
|
6758
|
+
type ClientStatus = z$1.infer<typeof ClientStatusSchema>;
|
|
6759
|
+
type ClientResponse = z$1.infer<typeof ClientResponseSchema>;
|
|
6760
|
+
type ClientDetailResponse = z$1.infer<typeof ClientDetailResponseSchema>;
|
|
6761
|
+
type ClientStatusResponse = z$1.infer<typeof ClientStatusResponseSchema>;
|
|
6762
|
+
type CreateClientRequest = z$1.infer<typeof CreateClientRequestSchema>;
|
|
6763
|
+
type UpdateClientRequest = z$1.infer<typeof UpdateClientRequestSchema>;
|
|
6764
|
+
|
|
6727
6765
|
/**
|
|
6728
6766
|
* GET /api/credentials - List credentials
|
|
6729
6767
|
*/
|
|
@@ -6797,11 +6835,11 @@ interface StepConfigLayout<T> {
|
|
|
6797
6835
|
|
|
6798
6836
|
type ListBuilderWorkflowCategory = 'build' | 'enrich' | 'qualify' | 'scrape' | 'utility';
|
|
6799
6837
|
type LeadGenStageKey = string;
|
|
6800
|
-
type
|
|
6838
|
+
type LeadGenActionKey = string;
|
|
6801
6839
|
interface ListBuilderWorkflow {
|
|
6802
6840
|
resourceId: string;
|
|
6803
6841
|
workflowId?: string;
|
|
6804
|
-
|
|
6842
|
+
actionKey?: LeadGenActionKey;
|
|
6805
6843
|
label: string;
|
|
6806
6844
|
description: string;
|
|
6807
6845
|
category: ListBuilderWorkflowCategory;
|
|
@@ -7987,76 +8025,96 @@ interface SSEConnectionManagerLike {
|
|
|
7987
8025
|
type ElevasisOrganizationModel = Omit<OrganizationModel, 'knowledge'> & {
|
|
7988
8026
|
knowledge?: OrganizationModel['knowledge'];
|
|
7989
8027
|
};
|
|
7990
|
-
type
|
|
7991
|
-
type
|
|
8028
|
+
type SystemSidebarComponent = ComponentType;
|
|
8029
|
+
type SystemIconComponent = ComponentType<{
|
|
7992
8030
|
size?: number;
|
|
7993
8031
|
stroke?: number;
|
|
7994
8032
|
}>;
|
|
7995
|
-
type
|
|
8033
|
+
type SystemSidebarWidthResolver = number | ((context: {
|
|
7996
8034
|
currentPath: string;
|
|
7997
8035
|
}) => number);
|
|
7998
|
-
interface
|
|
7999
|
-
/** Unique stable identifier for this
|
|
8036
|
+
interface SystemModule {
|
|
8037
|
+
/** Unique stable identifier for this UI system module. */
|
|
8000
8038
|
key: string;
|
|
8001
|
-
/** Organization Model
|
|
8002
|
-
|
|
8003
|
-
/**
|
|
8039
|
+
/** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
|
|
8040
|
+
systemId?: string;
|
|
8041
|
+
/** Route prefixes owned by navigation-only app surfaces. */
|
|
8042
|
+
routePrefixes?: string[];
|
|
8043
|
+
/** Capability identifiers contributed by this system module. */
|
|
8004
8044
|
capabilityIds?: string[];
|
|
8005
|
-
/** Icon used when this
|
|
8006
|
-
icon?:
|
|
8007
|
-
/** Sidebar component rendered when this
|
|
8008
|
-
sidebar?:
|
|
8045
|
+
/** Icon used when this system node appears in shell navigation. */
|
|
8046
|
+
icon?: SystemIconComponent;
|
|
8047
|
+
/** Sidebar component rendered when this system's subtree route is active. */
|
|
8048
|
+
sidebar?: SystemSidebarComponent;
|
|
8009
8049
|
/** Optional shell sidebar width override. Defaults to 250px. */
|
|
8010
|
-
sidebarWidth?:
|
|
8011
|
-
/** Operations-only bridge connecting this
|
|
8012
|
-
organizationGraph?:
|
|
8050
|
+
sidebarWidth?: SystemSidebarWidthResolver;
|
|
8051
|
+
/** Operations-only bridge connecting this system to the organization graph node. */
|
|
8052
|
+
organizationGraph?: OrganizationGraphSystemBridge;
|
|
8013
8053
|
}
|
|
8014
|
-
interface
|
|
8015
|
-
|
|
8054
|
+
interface ResolvedSystemAccess {
|
|
8055
|
+
featureKey: string;
|
|
8056
|
+
systemId?: string;
|
|
8016
8057
|
enabled: boolean;
|
|
8017
8058
|
}
|
|
8018
|
-
interface
|
|
8059
|
+
interface ResolvedSystemSemantics {
|
|
8019
8060
|
capabilityIds: string[];
|
|
8020
8061
|
}
|
|
8021
|
-
interface
|
|
8022
|
-
access:
|
|
8023
|
-
semantics:
|
|
8024
|
-
}
|
|
8025
|
-
interface ResolvedShellFeature extends OrganizationModelFeature {
|
|
8026
|
-
iconComponent?: FeatureIconComponent;
|
|
8062
|
+
interface ResolvedSystemModule extends SystemModule {
|
|
8063
|
+
access: ResolvedSystemAccess;
|
|
8064
|
+
semantics: ResolvedSystemSemantics;
|
|
8027
8065
|
}
|
|
8066
|
+
type ResolvedShellSystem = OrganizationModelSystemEntry & {
|
|
8067
|
+
label: string;
|
|
8068
|
+
iconComponent?: SystemIconComponent;
|
|
8069
|
+
};
|
|
8028
8070
|
interface ResolvedShellModel {
|
|
8029
|
-
|
|
8030
|
-
findByPath: (path: string) =>
|
|
8031
|
-
findById: (id: string) =>
|
|
8032
|
-
childrenOf: (id: string) =>
|
|
8033
|
-
ancestorsOf: (id: string) =>
|
|
8034
|
-
parentOf: (id: string) =>
|
|
8035
|
-
topLevel: () =>
|
|
8036
|
-
uiPositionFor: (id: string) => OrganizationModelFeature['uiPosition'] | undefined;
|
|
8071
|
+
systems: readonly ResolvedShellSystem[];
|
|
8072
|
+
findByPath: (path: string) => ResolvedShellSystem | undefined;
|
|
8073
|
+
findById: (id: string) => ResolvedShellSystem | undefined;
|
|
8074
|
+
childrenOf: (id: string) => ResolvedShellSystem[];
|
|
8075
|
+
ancestorsOf: (id: string) => ResolvedShellSystem[];
|
|
8076
|
+
parentOf: (id: string) => ResolvedShellSystem | undefined;
|
|
8077
|
+
topLevel: () => ResolvedShellSystem[];
|
|
8037
8078
|
requiresAdminFor: (id: string) => boolean;
|
|
8038
8079
|
devOnlyFor: (id: string) => boolean;
|
|
8039
8080
|
}
|
|
8081
|
+
interface ShellSidebarLinkItem {
|
|
8082
|
+
label: string;
|
|
8083
|
+
link: string;
|
|
8084
|
+
exact?: boolean;
|
|
8085
|
+
activeMatchPaths?: string[];
|
|
8086
|
+
}
|
|
8087
|
+
interface ShellSidebarLinkGroup {
|
|
8088
|
+
icon: SystemIconComponent;
|
|
8089
|
+
label: string;
|
|
8090
|
+
links?: ShellSidebarLinkItem[];
|
|
8091
|
+
link?: string;
|
|
8092
|
+
}
|
|
8093
|
+
interface ShellSidebarProjectionOptions {
|
|
8094
|
+
isPlatformAdmin?: boolean;
|
|
8095
|
+
isDev?: boolean;
|
|
8096
|
+
section?: 'primary' | 'bottom';
|
|
8097
|
+
}
|
|
8040
8098
|
type ShellRouteMatchStatus = 'matched' | 'hidden' | 'unmatched';
|
|
8041
8099
|
interface ResolvedShellRouteMatch {
|
|
8042
8100
|
status: ShellRouteMatchStatus;
|
|
8043
8101
|
path: string;
|
|
8044
|
-
|
|
8045
|
-
node?:
|
|
8102
|
+
system?: ResolvedSystemModule;
|
|
8103
|
+
node?: ResolvedShellSystem;
|
|
8046
8104
|
}
|
|
8047
8105
|
interface ShellRuntime {
|
|
8048
8106
|
resolveRoute: (path: string) => ResolvedShellRouteMatch;
|
|
8049
8107
|
}
|
|
8050
|
-
interface
|
|
8051
|
-
|
|
8108
|
+
interface OrganizationGraphSystemBridge {
|
|
8109
|
+
systemId?: string;
|
|
8052
8110
|
}
|
|
8053
8111
|
interface OrganizationGraphContextValue {
|
|
8054
8112
|
available: boolean;
|
|
8055
|
-
|
|
8056
|
-
|
|
8113
|
+
systemId?: string;
|
|
8114
|
+
systemPath?: string;
|
|
8057
8115
|
}
|
|
8058
|
-
interface
|
|
8059
|
-
|
|
8116
|
+
interface ElevasisSystemsProviderProps {
|
|
8117
|
+
systems?: SystemModule[];
|
|
8060
8118
|
organizationModel?: ElevasisOrganizationModel;
|
|
8061
8119
|
timeRange?: TimeRange;
|
|
8062
8120
|
operationsApiUrl?: string;
|
|
@@ -8066,11 +8124,12 @@ interface ElevasisFeaturesProviderProps {
|
|
|
8066
8124
|
disabledSubsectionPaths?: string[];
|
|
8067
8125
|
children: ReactNode;
|
|
8068
8126
|
}
|
|
8069
|
-
interface
|
|
8127
|
+
interface ElevasisSystemsContextValue {
|
|
8070
8128
|
shellModel: ResolvedShellModel;
|
|
8071
8129
|
shellRuntime: ShellRuntime;
|
|
8072
|
-
|
|
8073
|
-
|
|
8130
|
+
getSidebarLinks: (options?: ShellSidebarProjectionOptions) => ShellSidebarLinkGroup[];
|
|
8131
|
+
enabledResolvedSystems: ResolvedSystemModule[];
|
|
8132
|
+
resolvedSystems: ResolvedSystemModule[];
|
|
8074
8133
|
organizationGraph: OrganizationGraphContextValue;
|
|
8075
8134
|
organizationModel?: OrganizationModel;
|
|
8076
8135
|
timeRange?: TimeRange;
|
|
@@ -8079,15 +8138,15 @@ interface ElevasisFeaturesContextValue {
|
|
|
8079
8138
|
deliveryApiUrl?: string;
|
|
8080
8139
|
deliverySSEManager?: SSEConnectionManagerLike;
|
|
8081
8140
|
disabledSubsectionPaths: string[];
|
|
8082
|
-
|
|
8083
|
-
|
|
8141
|
+
isSystemEnabled: (key: string) => boolean;
|
|
8142
|
+
getResolvedSystem: (key: string) => ResolvedSystemModule | undefined;
|
|
8084
8143
|
}
|
|
8085
8144
|
|
|
8086
|
-
declare function
|
|
8087
|
-
declare function
|
|
8088
|
-
declare function
|
|
8145
|
+
declare function useElevasisSystems(): ElevasisSystemsContextValue;
|
|
8146
|
+
declare function useOptionalElevasisSystems(): ElevasisSystemsContextValue | null;
|
|
8147
|
+
declare function ElevasisSystemsProvider({ systems, organizationModel, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, children }: ElevasisSystemsProviderProps): react_jsx_runtime.JSX.Element;
|
|
8089
8148
|
|
|
8090
|
-
declare function
|
|
8149
|
+
declare function SystemShell({ children }: {
|
|
8091
8150
|
children: ReactNode;
|
|
8092
8151
|
}): react_jsx_runtime.JSX.Element;
|
|
8093
8152
|
|
|
@@ -8157,11 +8216,11 @@ interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme
|
|
|
8157
8216
|
}
|
|
8158
8217
|
declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisUIProviderProps): react_jsx_runtime.JSX.Element;
|
|
8159
8218
|
|
|
8160
|
-
interface
|
|
8219
|
+
interface CreateTestSystemsProviderOptions {
|
|
8161
8220
|
organizationModel?: OrganizationModel;
|
|
8162
|
-
|
|
8221
|
+
systems?: SystemModule[];
|
|
8163
8222
|
}
|
|
8164
|
-
declare function
|
|
8223
|
+
declare function createTestSystemsProvider({ organizationModel, systems }?: CreateTestSystemsProviderOptions): ({ children }: {
|
|
8165
8224
|
children: ReactNode;
|
|
8166
8225
|
}) => react_jsx_runtime.JSX.Element;
|
|
8167
8226
|
|
|
@@ -8539,7 +8598,7 @@ declare function useGetExecutionHistory(scheduleId: string | undefined, options?
|
|
|
8539
8598
|
executions: {
|
|
8540
8599
|
id: string;
|
|
8541
8600
|
createdAt: string;
|
|
8542
|
-
status: "completed" | "
|
|
8601
|
+
status: "completed" | "failed" | "running" | "cancelled";
|
|
8543
8602
|
step: number | null;
|
|
8544
8603
|
itemLabel: string | null;
|
|
8545
8604
|
duration: number | null;
|
|
@@ -8854,6 +8913,7 @@ declare const observabilityKeys: {
|
|
|
8854
8913
|
dashboardMetrics: (organizationId: string | null, timeRange: string) => readonly ["observability", "dashboard-metrics", string | null, string];
|
|
8855
8914
|
businessImpact: (organizationId: string | null, timeRange: string) => readonly ["observability", "business-impact", string | null, string];
|
|
8856
8915
|
resourcesHealth: (organizationId: string | null, resources: string, startDate: string, endDate: string, granularity: string) => readonly ["observability", "resources-health", string | null, string, string, string, string];
|
|
8916
|
+
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[]];
|
|
8857
8917
|
unresolvedErrors: (organizationId: string | null, startDate: string, endDate: string) => readonly ["observability", "unresolved-errors", string | null, string, string];
|
|
8858
8918
|
recentExecutionsByResource: (organizationId: string | null, timeRange: string, limit: number | undefined) => readonly ["observability", "recent-executions-by-resource", string | null, string, number | undefined];
|
|
8859
8919
|
};
|
|
@@ -8962,6 +9022,52 @@ declare function useBatchedResourcesHealth(params: UseBatchedResourcesHealthPara
|
|
|
8962
9022
|
healthLookup: Map<string, ResourceHealth>;
|
|
8963
9023
|
};
|
|
8964
9024
|
|
|
9025
|
+
interface SystemHealthExecutionSummary {
|
|
9026
|
+
successRate: number;
|
|
9027
|
+
p95Duration: number;
|
|
9028
|
+
totalExecutions: number;
|
|
9029
|
+
statusCounts: {
|
|
9030
|
+
success: number;
|
|
9031
|
+
failed: number;
|
|
9032
|
+
pending: number;
|
|
9033
|
+
warning: number;
|
|
9034
|
+
};
|
|
9035
|
+
trendData: Array<{
|
|
9036
|
+
time: string;
|
|
9037
|
+
rate: number;
|
|
9038
|
+
successCount: number;
|
|
9039
|
+
errorCount: number;
|
|
9040
|
+
warningCount: number;
|
|
9041
|
+
executionCount: number;
|
|
9042
|
+
}>;
|
|
9043
|
+
peakPeriod: string;
|
|
9044
|
+
granularity: 'hour' | 'day';
|
|
9045
|
+
}
|
|
9046
|
+
interface SystemHealthResponse {
|
|
9047
|
+
systemPath: string;
|
|
9048
|
+
includeDescendants: boolean;
|
|
9049
|
+
resourceCounts: {
|
|
9050
|
+
total: number;
|
|
9051
|
+
direct: number;
|
|
9052
|
+
descendant: number;
|
|
9053
|
+
executable: number;
|
|
9054
|
+
passiveIntegrations: number;
|
|
9055
|
+
};
|
|
9056
|
+
executionHealth: SystemHealthExecutionSummary;
|
|
9057
|
+
breakdown: {
|
|
9058
|
+
direct: SystemHealthExecutionSummary;
|
|
9059
|
+
descendants: SystemHealthExecutionSummary;
|
|
9060
|
+
};
|
|
9061
|
+
}
|
|
9062
|
+
interface UseSystemHealthParams {
|
|
9063
|
+
systemPath: string;
|
|
9064
|
+
timeRange: TimeRange;
|
|
9065
|
+
includeDescendants?: boolean;
|
|
9066
|
+
directResources: ResourceEntry[];
|
|
9067
|
+
descendantResources: ResourceEntry[];
|
|
9068
|
+
}
|
|
9069
|
+
declare function useSystemHealth({ systemPath, timeRange, includeDescendants, directResources, descendantResources }: UseSystemHealthParams): _tanstack_react_query.UseQueryResult<SystemHealthResponse, Error>;
|
|
9070
|
+
|
|
8965
9071
|
interface UseUnresolvedErrorsParams {
|
|
8966
9072
|
startDate: string;
|
|
8967
9073
|
endDate: string;
|
|
@@ -9590,8 +9696,8 @@ declare const RequestSourceEnum: z$1.ZodEnum<{
|
|
|
9590
9696
|
cli: "cli";
|
|
9591
9697
|
}>;
|
|
9592
9698
|
declare const RequestTypeEnum: z$1.ZodEnum<{
|
|
9593
|
-
feature: "feature";
|
|
9594
9699
|
other: "other";
|
|
9700
|
+
feature: "feature";
|
|
9595
9701
|
bug: "bug";
|
|
9596
9702
|
question: "question";
|
|
9597
9703
|
}>;
|
|
@@ -9688,6 +9794,136 @@ declare function useUpdateRequestStatus(): _tanstack_react_query.UseMutationResu
|
|
|
9688
9794
|
|
|
9689
9795
|
declare function useDeleteRequest(): _tanstack_react_query.UseMutationResult<string, Error, string, unknown>;
|
|
9690
9796
|
|
|
9797
|
+
interface ClientsListFilters {
|
|
9798
|
+
status?: ClientStatus;
|
|
9799
|
+
search?: string;
|
|
9800
|
+
limit?: number;
|
|
9801
|
+
offset?: number;
|
|
9802
|
+
}
|
|
9803
|
+
declare const clientsKeys: {
|
|
9804
|
+
all: readonly ["clients"];
|
|
9805
|
+
lists: () => readonly ["clients", "list"];
|
|
9806
|
+
list: (organizationId: string | null | undefined, filters: ClientsListFilters) => readonly ["clients", "list", string | null | undefined, ClientsListFilters];
|
|
9807
|
+
statuses: () => readonly ["clients", "status"];
|
|
9808
|
+
status: (organizationId: string | null | undefined) => readonly ["clients", "status", string | null | undefined];
|
|
9809
|
+
details: () => readonly ["clients", "detail"];
|
|
9810
|
+
detail: (organizationId: string | null | undefined, id: string | undefined) => readonly ["clients", "detail", string | null | undefined, string | undefined];
|
|
9811
|
+
};
|
|
9812
|
+
|
|
9813
|
+
declare function useClients(filters?: ClientsListFilters): _tanstack_react_query.UseQueryResult<{
|
|
9814
|
+
data: {
|
|
9815
|
+
id: string;
|
|
9816
|
+
organizationId: string;
|
|
9817
|
+
name: string;
|
|
9818
|
+
status: "active" | "completed" | "paused" | "onboarding" | "churned";
|
|
9819
|
+
sourceDealId: string | null;
|
|
9820
|
+
primaryCompanyId: string | null;
|
|
9821
|
+
primaryContactId: string | null;
|
|
9822
|
+
convertedAt: string | null;
|
|
9823
|
+
metadata: Record<string, unknown>;
|
|
9824
|
+
createdAt: string;
|
|
9825
|
+
updatedAt: string;
|
|
9826
|
+
}[];
|
|
9827
|
+
total: number;
|
|
9828
|
+
limit: number;
|
|
9829
|
+
offset: number;
|
|
9830
|
+
}, Error>;
|
|
9831
|
+
|
|
9832
|
+
declare function useClientStatus(): _tanstack_react_query.UseQueryResult<{
|
|
9833
|
+
totalClients: number;
|
|
9834
|
+
byStatus: Record<"active" | "completed" | "paused" | "onboarding" | "churned", number>;
|
|
9835
|
+
linkedDeals: number;
|
|
9836
|
+
linkedProjects: number;
|
|
9837
|
+
linkedCompanies: number;
|
|
9838
|
+
linkedContacts: number;
|
|
9839
|
+
}, Error>;
|
|
9840
|
+
|
|
9841
|
+
declare function useClient(clientId: string | undefined): _tanstack_react_query.UseQueryResult<{
|
|
9842
|
+
id: string;
|
|
9843
|
+
organizationId: string;
|
|
9844
|
+
name: string;
|
|
9845
|
+
status: "active" | "completed" | "paused" | "onboarding" | "churned";
|
|
9846
|
+
sourceDealId: string | null;
|
|
9847
|
+
primaryCompanyId: string | null;
|
|
9848
|
+
primaryContactId: string | null;
|
|
9849
|
+
convertedAt: string | null;
|
|
9850
|
+
metadata: Record<string, unknown>;
|
|
9851
|
+
createdAt: string;
|
|
9852
|
+
updatedAt: string;
|
|
9853
|
+
lineage: {
|
|
9854
|
+
deals: {
|
|
9855
|
+
id: string;
|
|
9856
|
+
contactEmail: string;
|
|
9857
|
+
stageKey: string | null;
|
|
9858
|
+
stateKey: string | null;
|
|
9859
|
+
updatedAt: string;
|
|
9860
|
+
}[];
|
|
9861
|
+
projects: {
|
|
9862
|
+
id: string;
|
|
9863
|
+
name: string;
|
|
9864
|
+
kind: string;
|
|
9865
|
+
status: string;
|
|
9866
|
+
updatedAt: string;
|
|
9867
|
+
}[];
|
|
9868
|
+
companies: {
|
|
9869
|
+
id: string;
|
|
9870
|
+
name: string;
|
|
9871
|
+
domain: string | null;
|
|
9872
|
+
status: string;
|
|
9873
|
+
}[];
|
|
9874
|
+
contacts: {
|
|
9875
|
+
id: string;
|
|
9876
|
+
email: string;
|
|
9877
|
+
firstName: string | null;
|
|
9878
|
+
lastName: string | null;
|
|
9879
|
+
title: string | null;
|
|
9880
|
+
companyId: string | null;
|
|
9881
|
+
status: string;
|
|
9882
|
+
}[];
|
|
9883
|
+
};
|
|
9884
|
+
}, Error>;
|
|
9885
|
+
|
|
9886
|
+
declare function useCreateClient(): _tanstack_react_query.UseMutationResult<{
|
|
9887
|
+
id: string;
|
|
9888
|
+
organizationId: string;
|
|
9889
|
+
name: string;
|
|
9890
|
+
status: "active" | "completed" | "paused" | "onboarding" | "churned";
|
|
9891
|
+
sourceDealId: string | null;
|
|
9892
|
+
primaryCompanyId: string | null;
|
|
9893
|
+
primaryContactId: string | null;
|
|
9894
|
+
convertedAt: string | null;
|
|
9895
|
+
metadata: Record<string, unknown>;
|
|
9896
|
+
createdAt: string;
|
|
9897
|
+
updatedAt: string;
|
|
9898
|
+
}, Error, {
|
|
9899
|
+
name: string;
|
|
9900
|
+
status?: "active" | "completed" | "paused" | "onboarding" | "churned" | undefined;
|
|
9901
|
+
sourceDealId?: string | null | undefined;
|
|
9902
|
+
primaryCompanyId?: string | null | undefined;
|
|
9903
|
+
primaryContactId?: string | null | undefined;
|
|
9904
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
9905
|
+
}, unknown>;
|
|
9906
|
+
|
|
9907
|
+
interface UpdateClientParams {
|
|
9908
|
+
clientId: string;
|
|
9909
|
+
updates: UpdateClientRequest;
|
|
9910
|
+
}
|
|
9911
|
+
declare function useUpdateClient(): _tanstack_react_query.UseMutationResult<{
|
|
9912
|
+
id: string;
|
|
9913
|
+
organizationId: string;
|
|
9914
|
+
name: string;
|
|
9915
|
+
status: "active" | "completed" | "paused" | "onboarding" | "churned";
|
|
9916
|
+
sourceDealId: string | null;
|
|
9917
|
+
primaryCompanyId: string | null;
|
|
9918
|
+
primaryContactId: string | null;
|
|
9919
|
+
convertedAt: string | null;
|
|
9920
|
+
metadata: Record<string, unknown>;
|
|
9921
|
+
createdAt: string;
|
|
9922
|
+
updatedAt: string;
|
|
9923
|
+
}, Error, UpdateClientParams, unknown>;
|
|
9924
|
+
|
|
9925
|
+
declare function useDeleteClient(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
9926
|
+
|
|
9691
9927
|
/**
|
|
9692
9928
|
* Query key factories for Operations TanStack Query hooks.
|
|
9693
9929
|
*
|
|
@@ -9793,7 +10029,7 @@ interface UseCommandViewStatsOptions {
|
|
|
9793
10029
|
*/
|
|
9794
10030
|
declare function useCommandViewStats(timeRange?: StatsTimeRange, options?: UseCommandViewStatsOptions): _tanstack_react_query.UseQueryResult<CommandViewStatsResponse, Error>;
|
|
9795
10031
|
|
|
9796
|
-
type CommandViewVisualizationMode = '
|
|
10032
|
+
type CommandViewVisualizationMode = 'explore';
|
|
9797
10033
|
|
|
9798
10034
|
type StatusFilter$1 = ResourceStatus | 'all';
|
|
9799
10035
|
|
|
@@ -9806,6 +10042,16 @@ interface CommandViewStore {
|
|
|
9806
10042
|
setFitViewOnFilter: (v: boolean) => void;
|
|
9807
10043
|
visualizationMode: CommandViewVisualizationMode;
|
|
9808
10044
|
setVisualizationMode: (v: CommandViewVisualizationMode) => void;
|
|
10045
|
+
/**
|
|
10046
|
+
* The last visualization mode the user explicitly selected via setVisualizationMode.
|
|
10047
|
+
* Null for brand-new sessions that have never called setVisualizationMode.
|
|
10048
|
+
* Persisted so returning users can be confirmed to have a stored preference.
|
|
10049
|
+
* Wave 5 tests assert against this field for default-mode observability.
|
|
10050
|
+
*/
|
|
10051
|
+
lastUsedVisualizationMode: CommandViewVisualizationMode | null;
|
|
10052
|
+
/** Last bottom-panel tab the user opened; null means the panel is collapsed. Persisted. */
|
|
10053
|
+
lastOpenBottomTab: string | null;
|
|
10054
|
+
setLastOpenBottomTab: (tab: string | null) => void;
|
|
9809
10055
|
selectedNodeId: string | null;
|
|
9810
10056
|
setSelectedNodeId: (id: string | null) => void;
|
|
9811
10057
|
resourcesHidden: boolean;
|
|
@@ -9819,13 +10065,38 @@ interface CommandViewStore {
|
|
|
9819
10065
|
hasVisibilityInteraction: boolean;
|
|
9820
10066
|
markVisibilityInteraction: () => void;
|
|
9821
10067
|
resetVisibilityInteraction: () => void;
|
|
10068
|
+
/**
|
|
10069
|
+
* Domains whose member nodes are currently expanded in Cluster mode.
|
|
10070
|
+
* Stored as an array of strings (not Set) for Zustand persist serialization.
|
|
10071
|
+
* Default is [] — all domains start collapsed (domain-card view).
|
|
10072
|
+
* Persisted to localStorage.
|
|
10073
|
+
*/
|
|
10074
|
+
expandedClusterDomains: string[];
|
|
10075
|
+
toggleClusterDomain: (domain: string) => void;
|
|
10076
|
+
setExpandedClusterDomains: (domains: string[]) => void;
|
|
10077
|
+
/**
|
|
10078
|
+
* Node IDs currently expanded in Explore mode.
|
|
10079
|
+
* Stored as an array of strings for Zustand persist serialization.
|
|
10080
|
+
* Derived Set is expandedNodeIds. Not persisted (reset on reload).
|
|
10081
|
+
* Same-parent sibling auto-collapse applies on toggleNodeExpansion.
|
|
10082
|
+
*/
|
|
10083
|
+
expandedNodeIdsArray: string[];
|
|
10084
|
+
/** Derived Set view of expandedNodeIdsArray — convenient for callers that need Set semantics. */
|
|
10085
|
+
expandedNodeIds: Set<string>;
|
|
10086
|
+
toggleNodeExpansion: (nodeId: string) => void;
|
|
10087
|
+
clearExpandedNodes: () => void;
|
|
9822
10088
|
}
|
|
9823
10089
|
/**
|
|
9824
10090
|
* Shared store for Command View filter/settings state.
|
|
9825
|
-
* Allows CommandViewPage
|
|
10091
|
+
* Allows CommandViewPage to share Command View filter/settings state.
|
|
9826
10092
|
*
|
|
9827
|
-
* Persisted to localStorage: showIntegrations, fitViewOnFilter,
|
|
10093
|
+
* Persisted to localStorage: showIntegrations, fitViewOnFilter, visualizationMode,
|
|
10094
|
+
* lastUsedVisualizationMode, resource/diagnostic visibility preferences.
|
|
9828
10095
|
* Not persisted (reset on reload): statusFilter, selectedNodeId, revealedIds, CTA interaction state.
|
|
10096
|
+
*
|
|
10097
|
+
* Default-mode logic:
|
|
10098
|
+
* - New sessions (no localStorage entry): visualizationMode initializes to 'explore'.
|
|
10099
|
+
* - Returning sessions: persisted legacy visualization modes normalize to 'explore'.
|
|
9829
10100
|
*/
|
|
9830
10101
|
declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<CommandViewStore>, "setState" | "persist"> & {
|
|
9831
10102
|
setState(partial: CommandViewStore | Partial<CommandViewStore> | ((state: CommandViewStore) => CommandViewStore | Partial<CommandViewStore>), replace?: false | undefined): unknown;
|
|
@@ -9834,9 +10105,12 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
|
|
|
9834
10105
|
setOptions: (options: Partial<zustand_middleware.PersistOptions<CommandViewStore, {
|
|
9835
10106
|
showIntegrations: boolean;
|
|
9836
10107
|
fitViewOnFilter: boolean;
|
|
9837
|
-
visualizationMode:
|
|
10108
|
+
visualizationMode: "explore";
|
|
10109
|
+
lastUsedVisualizationMode: "explore" | null;
|
|
9838
10110
|
resourcesHidden: boolean;
|
|
9839
10111
|
diagnosticsHidden: boolean;
|
|
10112
|
+
lastOpenBottomTab: string | null;
|
|
10113
|
+
expandedClusterDomains: string[];
|
|
9840
10114
|
}, unknown>>) => void;
|
|
9841
10115
|
clearStorage: () => void;
|
|
9842
10116
|
rehydrate: () => Promise<void> | void;
|
|
@@ -9846,9 +10120,12 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
|
|
|
9846
10120
|
getOptions: () => Partial<zustand_middleware.PersistOptions<CommandViewStore, {
|
|
9847
10121
|
showIntegrations: boolean;
|
|
9848
10122
|
fitViewOnFilter: boolean;
|
|
9849
|
-
visualizationMode:
|
|
10123
|
+
visualizationMode: "explore";
|
|
10124
|
+
lastUsedVisualizationMode: "explore" | null;
|
|
9850
10125
|
resourcesHidden: boolean;
|
|
9851
10126
|
diagnosticsHidden: boolean;
|
|
10127
|
+
lastOpenBottomTab: string | null;
|
|
10128
|
+
expandedClusterDomains: string[];
|
|
9852
10129
|
}, unknown>>;
|
|
9853
10130
|
};
|
|
9854
10131
|
}>;
|
|
@@ -10057,6 +10334,7 @@ declare function useDeals(filters?: DealFilters): {
|
|
|
10057
10334
|
num_employees: number | null;
|
|
10058
10335
|
} | null;
|
|
10059
10336
|
} | null;
|
|
10337
|
+
client_id?: string | null | undefined;
|
|
10060
10338
|
}[];
|
|
10061
10339
|
total: number;
|
|
10062
10340
|
limit: number;
|
|
@@ -10125,6 +10403,7 @@ declare function useDeals(filters?: DealFilters): {
|
|
|
10125
10403
|
num_employees: number | null;
|
|
10126
10404
|
} | null;
|
|
10127
10405
|
} | null;
|
|
10406
|
+
client_id?: string | null | undefined;
|
|
10128
10407
|
}[];
|
|
10129
10408
|
total: number;
|
|
10130
10409
|
limit: number;
|
|
@@ -10300,7 +10579,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
10300
10579
|
description: string | null;
|
|
10301
10580
|
batchIds: string[];
|
|
10302
10581
|
instantlyCampaignId: string | null;
|
|
10303
|
-
status: "
|
|
10582
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
10304
10583
|
metadata: {
|
|
10305
10584
|
[x: string]: unknown;
|
|
10306
10585
|
buildPlanSnapshot?: {
|
|
@@ -10313,7 +10592,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
10313
10592
|
outputs: ("company" | "contact" | "export")[];
|
|
10314
10593
|
stageKey: string;
|
|
10315
10594
|
dependencyMode: "per-record-eligibility";
|
|
10316
|
-
|
|
10595
|
+
actionKey: string;
|
|
10317
10596
|
defaultBatchSize: number;
|
|
10318
10597
|
maxBatchSize: number;
|
|
10319
10598
|
description?: string | undefined;
|
|
@@ -10327,7 +10606,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
10327
10606
|
label: string;
|
|
10328
10607
|
path: string;
|
|
10329
10608
|
width?: string | number | undefined;
|
|
10330
|
-
renderType?: "text" | "
|
|
10609
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10331
10610
|
badgeColor?: string | undefined;
|
|
10332
10611
|
}[] | undefined;
|
|
10333
10612
|
contact?: {
|
|
@@ -10335,7 +10614,7 @@ declare function useLists(): _tanstack_react_query.UseQueryResult<{
|
|
|
10335
10614
|
label: string;
|
|
10336
10615
|
path: string;
|
|
10337
10616
|
width?: string | number | undefined;
|
|
10338
|
-
renderType?: "text" | "
|
|
10617
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10339
10618
|
badgeColor?: string | undefined;
|
|
10340
10619
|
}[] | undefined;
|
|
10341
10620
|
} | undefined;
|
|
@@ -10385,7 +10664,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
10385
10664
|
description: string | null;
|
|
10386
10665
|
batchIds: string[];
|
|
10387
10666
|
instantlyCampaignId: string | null;
|
|
10388
|
-
status: "
|
|
10667
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
10389
10668
|
metadata: {
|
|
10390
10669
|
[x: string]: unknown;
|
|
10391
10670
|
buildPlanSnapshot?: {
|
|
@@ -10398,7 +10677,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
10398
10677
|
outputs: ("company" | "contact" | "export")[];
|
|
10399
10678
|
stageKey: string;
|
|
10400
10679
|
dependencyMode: "per-record-eligibility";
|
|
10401
|
-
|
|
10680
|
+
actionKey: string;
|
|
10402
10681
|
defaultBatchSize: number;
|
|
10403
10682
|
maxBatchSize: number;
|
|
10404
10683
|
description?: string | undefined;
|
|
@@ -10412,7 +10691,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
10412
10691
|
label: string;
|
|
10413
10692
|
path: string;
|
|
10414
10693
|
width?: string | number | undefined;
|
|
10415
|
-
renderType?: "text" | "
|
|
10694
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10416
10695
|
badgeColor?: string | undefined;
|
|
10417
10696
|
}[] | undefined;
|
|
10418
10697
|
contact?: {
|
|
@@ -10420,7 +10699,7 @@ declare function useList(listId: string): _tanstack_react_query.UseQueryResult<{
|
|
|
10420
10699
|
label: string;
|
|
10421
10700
|
path: string;
|
|
10422
10701
|
width?: string | number | undefined;
|
|
10423
|
-
renderType?: "text" | "
|
|
10702
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10424
10703
|
badgeColor?: string | undefined;
|
|
10425
10704
|
}[] | undefined;
|
|
10426
10705
|
} | undefined;
|
|
@@ -10569,7 +10848,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
10569
10848
|
description: string | null;
|
|
10570
10849
|
batchIds: string[];
|
|
10571
10850
|
instantlyCampaignId: string | null;
|
|
10572
|
-
status: "
|
|
10851
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
10573
10852
|
metadata: {
|
|
10574
10853
|
[x: string]: unknown;
|
|
10575
10854
|
buildPlanSnapshot?: {
|
|
@@ -10582,7 +10861,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
10582
10861
|
outputs: ("company" | "contact" | "export")[];
|
|
10583
10862
|
stageKey: string;
|
|
10584
10863
|
dependencyMode: "per-record-eligibility";
|
|
10585
|
-
|
|
10864
|
+
actionKey: string;
|
|
10586
10865
|
defaultBatchSize: number;
|
|
10587
10866
|
maxBatchSize: number;
|
|
10588
10867
|
description?: string | undefined;
|
|
@@ -10596,7 +10875,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
10596
10875
|
label: string;
|
|
10597
10876
|
path: string;
|
|
10598
10877
|
width?: string | number | undefined;
|
|
10599
|
-
renderType?: "text" | "
|
|
10878
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10600
10879
|
badgeColor?: string | undefined;
|
|
10601
10880
|
}[] | undefined;
|
|
10602
10881
|
contact?: {
|
|
@@ -10604,7 +10883,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
10604
10883
|
label: string;
|
|
10605
10884
|
path: string;
|
|
10606
10885
|
width?: string | number | undefined;
|
|
10607
|
-
renderType?: "text" | "
|
|
10886
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10608
10887
|
badgeColor?: string | undefined;
|
|
10609
10888
|
}[] | undefined;
|
|
10610
10889
|
} | undefined;
|
|
@@ -10649,7 +10928,7 @@ declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
|
|
|
10649
10928
|
}, Error, {
|
|
10650
10929
|
name: string;
|
|
10651
10930
|
description?: string | null | undefined;
|
|
10652
|
-
status?: "
|
|
10931
|
+
status?: "draft" | "archived" | "closing" | "enriching" | "launched" | undefined;
|
|
10653
10932
|
buildTemplateId?: string | undefined;
|
|
10654
10933
|
scrapingConfig?: {
|
|
10655
10934
|
vertical?: string | undefined;
|
|
@@ -10681,7 +10960,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
10681
10960
|
description: string | null;
|
|
10682
10961
|
batchIds: string[];
|
|
10683
10962
|
instantlyCampaignId: string | null;
|
|
10684
|
-
status: "
|
|
10963
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
10685
10964
|
metadata: {
|
|
10686
10965
|
[x: string]: unknown;
|
|
10687
10966
|
buildPlanSnapshot?: {
|
|
@@ -10694,7 +10973,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
10694
10973
|
outputs: ("company" | "contact" | "export")[];
|
|
10695
10974
|
stageKey: string;
|
|
10696
10975
|
dependencyMode: "per-record-eligibility";
|
|
10697
|
-
|
|
10976
|
+
actionKey: string;
|
|
10698
10977
|
defaultBatchSize: number;
|
|
10699
10978
|
maxBatchSize: number;
|
|
10700
10979
|
description?: string | undefined;
|
|
@@ -10708,7 +10987,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
10708
10987
|
label: string;
|
|
10709
10988
|
path: string;
|
|
10710
10989
|
width?: string | number | undefined;
|
|
10711
|
-
renderType?: "text" | "
|
|
10990
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10712
10991
|
badgeColor?: string | undefined;
|
|
10713
10992
|
}[] | undefined;
|
|
10714
10993
|
contact?: {
|
|
@@ -10716,7 +10995,7 @@ declare function useUpdateList(listId: string): _tanstack_react_query.UseMutatio
|
|
|
10716
10995
|
label: string;
|
|
10717
10996
|
path: string;
|
|
10718
10997
|
width?: string | number | undefined;
|
|
10719
|
-
renderType?: "text" | "
|
|
10998
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10720
10999
|
badgeColor?: string | undefined;
|
|
10721
11000
|
}[] | undefined;
|
|
10722
11001
|
} | undefined;
|
|
@@ -10772,7 +11051,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
10772
11051
|
description: string | null;
|
|
10773
11052
|
batchIds: string[];
|
|
10774
11053
|
instantlyCampaignId: string | null;
|
|
10775
|
-
status: "
|
|
11054
|
+
status: "draft" | "archived" | "closing" | "enriching" | "launched";
|
|
10776
11055
|
metadata: {
|
|
10777
11056
|
[x: string]: unknown;
|
|
10778
11057
|
buildPlanSnapshot?: {
|
|
@@ -10785,7 +11064,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
10785
11064
|
outputs: ("company" | "contact" | "export")[];
|
|
10786
11065
|
stageKey: string;
|
|
10787
11066
|
dependencyMode: "per-record-eligibility";
|
|
10788
|
-
|
|
11067
|
+
actionKey: string;
|
|
10789
11068
|
defaultBatchSize: number;
|
|
10790
11069
|
maxBatchSize: number;
|
|
10791
11070
|
description?: string | undefined;
|
|
@@ -10799,7 +11078,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
10799
11078
|
label: string;
|
|
10800
11079
|
path: string;
|
|
10801
11080
|
width?: string | number | undefined;
|
|
10802
|
-
renderType?: "text" | "
|
|
11081
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10803
11082
|
badgeColor?: string | undefined;
|
|
10804
11083
|
}[] | undefined;
|
|
10805
11084
|
contact?: {
|
|
@@ -10807,7 +11086,7 @@ declare function useUpdateListConfig(listId: string): _tanstack_react_query.UseM
|
|
|
10807
11086
|
label: string;
|
|
10808
11087
|
path: string;
|
|
10809
11088
|
width?: string | number | undefined;
|
|
10810
|
-
renderType?: "text" | "
|
|
11089
|
+
renderType?: "text" | "count" | "json" | "badge" | "datetime" | undefined;
|
|
10811
11090
|
badgeColor?: string | undefined;
|
|
10812
11091
|
}[] | undefined;
|
|
10813
11092
|
} | undefined;
|
|
@@ -10956,6 +11235,7 @@ declare function useCompanies(filters?: Partial<ListCompaniesQuery>): _tanstack_
|
|
|
10956
11235
|
verticalResearch: string | null;
|
|
10957
11236
|
createdAt: string;
|
|
10958
11237
|
updatedAt: string;
|
|
11238
|
+
clientId?: string | null | undefined;
|
|
10959
11239
|
pipelineStatus?: unknown;
|
|
10960
11240
|
}[];
|
|
10961
11241
|
total: number;
|
|
@@ -10990,6 +11270,7 @@ declare function useCompany(companyId: string): _tanstack_react_query.UseQueryRe
|
|
|
10990
11270
|
verticalResearch: string | null;
|
|
10991
11271
|
createdAt: string;
|
|
10992
11272
|
updatedAt: string;
|
|
11273
|
+
clientId?: string | null | undefined;
|
|
10993
11274
|
pipelineStatus?: unknown;
|
|
10994
11275
|
} | null, Error>;
|
|
10995
11276
|
declare function useCreateCompany(): _tanstack_react_query.UseMutationResult<{
|
|
@@ -11019,9 +11300,11 @@ declare function useCreateCompany(): _tanstack_react_query.UseMutationResult<{
|
|
|
11019
11300
|
verticalResearch: string | null;
|
|
11020
11301
|
createdAt: string;
|
|
11021
11302
|
updatedAt: string;
|
|
11303
|
+
clientId?: string | null | undefined;
|
|
11022
11304
|
pipelineStatus?: unknown;
|
|
11023
11305
|
}, Error, {
|
|
11024
11306
|
name: string;
|
|
11307
|
+
clientId?: string | null | undefined;
|
|
11025
11308
|
domain?: string | undefined;
|
|
11026
11309
|
linkedinUrl?: string | undefined;
|
|
11027
11310
|
website?: string | undefined;
|
|
@@ -11062,9 +11345,11 @@ declare function useUpdateCompany(companyId: string): _tanstack_react_query.UseM
|
|
|
11062
11345
|
verticalResearch: string | null;
|
|
11063
11346
|
createdAt: string;
|
|
11064
11347
|
updatedAt: string;
|
|
11348
|
+
clientId?: string | null | undefined;
|
|
11065
11349
|
pipelineStatus?: unknown;
|
|
11066
11350
|
}, Error, {
|
|
11067
11351
|
name?: string | undefined;
|
|
11352
|
+
clientId?: string | null | undefined;
|
|
11068
11353
|
domain?: string | undefined;
|
|
11069
11354
|
linkedinUrl?: string | undefined;
|
|
11070
11355
|
website?: string | undefined;
|
|
@@ -11129,6 +11414,7 @@ declare function useContacts(filters?: Partial<ListContactsQuery>): _tanstack_re
|
|
|
11129
11414
|
status: "active" | "invalid";
|
|
11130
11415
|
createdAt: string;
|
|
11131
11416
|
updatedAt: string;
|
|
11417
|
+
clientId?: string | null | undefined;
|
|
11132
11418
|
pipelineStatus?: unknown;
|
|
11133
11419
|
company?: {
|
|
11134
11420
|
id: string;
|
|
@@ -11171,6 +11457,7 @@ declare function useContact(contactId: string): _tanstack_react_query.UseQueryRe
|
|
|
11171
11457
|
status: "active" | "invalid";
|
|
11172
11458
|
createdAt: string;
|
|
11173
11459
|
updatedAt: string;
|
|
11460
|
+
clientId?: string | null | undefined;
|
|
11174
11461
|
pipelineStatus?: unknown;
|
|
11175
11462
|
company?: {
|
|
11176
11463
|
id: string;
|
|
@@ -11209,6 +11496,7 @@ declare function useCreateContact(): _tanstack_react_query.UseMutationResult<{
|
|
|
11209
11496
|
status: "active" | "invalid";
|
|
11210
11497
|
createdAt: string;
|
|
11211
11498
|
updatedAt: string;
|
|
11499
|
+
clientId?: string | null | undefined;
|
|
11212
11500
|
pipelineStatus?: unknown;
|
|
11213
11501
|
company?: {
|
|
11214
11502
|
id: string;
|
|
@@ -11222,6 +11510,7 @@ declare function useCreateContact(): _tanstack_react_query.UseMutationResult<{
|
|
|
11222
11510
|
} | null | undefined;
|
|
11223
11511
|
}, Error, {
|
|
11224
11512
|
email: string;
|
|
11513
|
+
clientId?: string | null | undefined;
|
|
11225
11514
|
companyId?: string | undefined;
|
|
11226
11515
|
firstName?: string | undefined;
|
|
11227
11516
|
lastName?: string | undefined;
|
|
@@ -11258,6 +11547,7 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
|
|
|
11258
11547
|
status: "active" | "invalid";
|
|
11259
11548
|
createdAt: string;
|
|
11260
11549
|
updatedAt: string;
|
|
11550
|
+
clientId?: string | null | undefined;
|
|
11261
11551
|
pipelineStatus?: unknown;
|
|
11262
11552
|
company?: {
|
|
11263
11553
|
id: string;
|
|
@@ -11271,6 +11561,7 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
|
|
|
11271
11561
|
} | null | undefined;
|
|
11272
11562
|
}, Error, {
|
|
11273
11563
|
companyId?: string | undefined;
|
|
11564
|
+
clientId?: string | null | undefined;
|
|
11274
11565
|
emailValid?: "VALID" | "INVALID" | "RISKY" | "UNKNOWN" | undefined;
|
|
11275
11566
|
firstName?: string | undefined;
|
|
11276
11567
|
lastName?: string | undefined;
|
|
@@ -11292,7 +11583,7 @@ declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<vo
|
|
|
11292
11583
|
|
|
11293
11584
|
declare const leadGenArtifactKeys: {
|
|
11294
11585
|
all: readonly ["lead-gen-artifacts"];
|
|
11295
|
-
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "
|
|
11586
|
+
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "list" | "company" | "contact" | "deal" | "list_member", string];
|
|
11296
11587
|
};
|
|
11297
11588
|
interface UseArtifactsParams {
|
|
11298
11589
|
ownerKind: AcqArtifactOwnerKind;
|
|
@@ -11324,7 +11615,7 @@ declare function useCreateArtifact(): _tanstack_react_query.UseMutationResult<{
|
|
|
11324
11615
|
createdAt: string;
|
|
11325
11616
|
version: number;
|
|
11326
11617
|
}, Error, {
|
|
11327
|
-
ownerKind: "
|
|
11618
|
+
ownerKind: "list" | "company" | "contact" | "deal" | "list_member";
|
|
11328
11619
|
ownerId: string;
|
|
11329
11620
|
kind: string;
|
|
11330
11621
|
content: Record<string, unknown>;
|
|
@@ -12046,6 +12337,7 @@ declare function useProjectTasks(projectId: string): _tanstack_react_query.UseQu
|
|
|
12046
12337
|
declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
12047
12338
|
actual_end_date: string | null;
|
|
12048
12339
|
client_company_id: string | null;
|
|
12340
|
+
client_id: string | null;
|
|
12049
12341
|
contract_value: number | null;
|
|
12050
12342
|
created_at: string;
|
|
12051
12343
|
deal_id: string | null;
|
|
@@ -12062,6 +12354,7 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
|
12062
12354
|
}, Error, Omit<{
|
|
12063
12355
|
actual_end_date?: string | null;
|
|
12064
12356
|
client_company_id?: string | null;
|
|
12357
|
+
client_id?: string | null;
|
|
12065
12358
|
contract_value?: number | null;
|
|
12066
12359
|
created_at?: string;
|
|
12067
12360
|
deal_id?: string | null;
|
|
@@ -12079,6 +12372,7 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
|
12079
12372
|
declare function useUpdateProject(): _tanstack_react_query.UseMutationResult<{
|
|
12080
12373
|
actual_end_date: string | null;
|
|
12081
12374
|
client_company_id: string | null;
|
|
12375
|
+
client_id: string | null;
|
|
12082
12376
|
contract_value: number | null;
|
|
12083
12377
|
created_at: string;
|
|
12084
12378
|
deal_id: string | null;
|
|
@@ -12830,5 +13124,5 @@ declare function InitializationProvider({ children }: {
|
|
|
12830
13124
|
children: ReactNode;
|
|
12831
13125
|
}): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
|
|
12832
13126
|
|
|
12833
|
-
export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, CrmActionsProvider, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider,
|
|
12834
|
-
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse,
|
|
13127
|
+
export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, CrmActionsProvider, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, ListActionsProvider, NotificationProvider, OAUTH_FLOW_TIMEOUT, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, SystemShell, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, calculateBarPosition, calculateGraphHeight, clientsKeys, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createFeatureAccessHook, createOrganizationsSlice, createTestSystemsProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, debounce, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, 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, 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, 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, useGraphHighlighting, useHasPermission, useInFlightExecutions, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, 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, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, 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 };
|
|
13128
|
+
export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CreateTestSystemsProviderOptions, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LeadGenStageKey, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphSystemBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RemoveCompaniesFromListResult, RequestRow, RequestsListFilters, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, SystemHealthExecutionSummary, SystemHealthResponse, SystemIconComponent, SystemModule, SystemSidebarComponent, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateClientRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSystemHealthParams, UseUserProfileReturn, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowExecutionTriggerParams, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
|