@elevasis/core 0.18.0 → 0.20.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/index.d.ts +82 -1
- package/dist/index.js +353 -171
- package/dist/knowledge/index.d.ts +44 -1
- package/dist/organization-model/index.d.ts +82 -1
- package/dist/organization-model/index.js +353 -171
- package/dist/test-utils/index.d.ts +41 -12
- package/dist/test-utils/index.js +352 -171
- package/package.json +4 -3
- package/src/_gen/__tests__/__snapshots__/contracts.md.snap +89 -69
- package/src/auth/multi-tenancy/organizations/__tests__/api-schemas.test.ts +194 -0
- package/src/auth/multi-tenancy/organizations/api-schemas.ts +136 -128
- package/src/business/acquisition/api-schemas.test.ts +199 -15
- package/src/business/acquisition/api-schemas.ts +116 -51
- package/src/business/acquisition/build-templates.test.ts +212 -0
- package/src/business/acquisition/derive-actions.test.ts +1 -1
- package/src/business/acquisition/types.ts +21 -38
- package/src/business/deals/api-schemas.ts +2 -2
- package/src/execution/engine/index.ts +436 -434
- package/src/execution/engine/tools/integration/server/adapters/google-calendar/google-calendar-adapter.ts +428 -0
- package/src/execution/engine/tools/integration/server/adapters/google-calendar/index.ts +2 -0
- package/src/execution/engine/tools/lead-service-types.ts +51 -9
- package/src/execution/engine/tools/platform/acquisition/company-tools.ts +7 -6
- package/src/execution/engine/tools/platform/acquisition/contact-tools.ts +6 -5
- package/src/execution/engine/tools/platform/acquisition/types.ts +20 -9
- package/src/execution/engine/tools/registry.ts +700 -698
- package/src/execution/engine/tools/tool-maps.ts +10 -0
- package/src/execution/external/__tests__/api-schemas.test.ts +127 -0
- package/src/integrations/oauth/__tests__/provider-registry.test.ts +7 -6
- package/src/integrations/oauth/provider-registry.ts +74 -61
- package/src/integrations/oauth/server/credentials.ts +43 -39
- package/src/knowledge/__tests__/queries.test.ts +89 -0
- package/src/organization-model/__tests__/graph.test.ts +108 -2
- package/src/organization-model/__tests__/icons.test.ts +61 -0
- package/src/organization-model/__tests__/knowledge.test.ts +118 -1
- package/src/organization-model/__tests__/prospecting-ssot.test.ts +91 -0
- package/src/organization-model/__tests__/schema.test.ts +122 -0
- package/src/organization-model/__tests__/surface-projection.test.ts +174 -0
- package/src/organization-model/defaults.ts +8 -0
- package/src/organization-model/domains/knowledge.ts +9 -0
- package/src/organization-model/domains/prospecting.ts +347 -226
- package/src/organization-model/domains/sales.ts +40 -30
- package/src/organization-model/graph/build.ts +74 -0
- package/src/organization-model/graph/schema.ts +1 -0
- package/src/organization-model/graph/types.ts +1 -0
- package/src/organization-model/icons.ts +3 -0
- package/src/organization-model/schema.ts +63 -0
- package/src/organization-model/surface-projection.ts +218 -0
- package/src/organization-model/types.ts +9 -1
- package/src/platform/constants/versions.ts +1 -1
- package/src/platform/utils/__tests__/validation.test.ts +1084 -1083
- package/src/platform/utils/validation.ts +425 -425
- package/src/reference/_generated/contracts.md +89 -69
- package/src/server.ts +6 -0
- package/src/supabase/database.types.ts +6 -12
|
@@ -77,7 +77,7 @@ type Database = {
|
|
|
77
77
|
name: string;
|
|
78
78
|
num_employees: number | null;
|
|
79
79
|
organization_id: string;
|
|
80
|
-
|
|
80
|
+
processing_state: Json;
|
|
81
81
|
qualification_rubric_key: string | null;
|
|
82
82
|
qualification_score: number | null;
|
|
83
83
|
qualification_signals: Json | null;
|
|
@@ -103,7 +103,7 @@ type Database = {
|
|
|
103
103
|
name: string;
|
|
104
104
|
num_employees?: number | null;
|
|
105
105
|
organization_id: string;
|
|
106
|
-
|
|
106
|
+
processing_state?: Json;
|
|
107
107
|
qualification_rubric_key?: string | null;
|
|
108
108
|
qualification_score?: number | null;
|
|
109
109
|
qualification_signals?: Json | null;
|
|
@@ -129,7 +129,7 @@ type Database = {
|
|
|
129
129
|
name?: string;
|
|
130
130
|
num_employees?: number | null;
|
|
131
131
|
organization_id?: string;
|
|
132
|
-
|
|
132
|
+
processing_state?: Json;
|
|
133
133
|
qualification_rubric_key?: string | null;
|
|
134
134
|
qualification_score?: number | null;
|
|
135
135
|
qualification_signals?: Json | null;
|
|
@@ -168,7 +168,7 @@ type Database = {
|
|
|
168
168
|
nurture: boolean;
|
|
169
169
|
opening_line: string | null;
|
|
170
170
|
organization_id: string;
|
|
171
|
-
|
|
171
|
+
processing_state: Json;
|
|
172
172
|
qualification_rubric_key: string | null;
|
|
173
173
|
qualification_score: number | null;
|
|
174
174
|
qualification_signals: Json | null;
|
|
@@ -196,7 +196,7 @@ type Database = {
|
|
|
196
196
|
nurture?: boolean;
|
|
197
197
|
opening_line?: string | null;
|
|
198
198
|
organization_id: string;
|
|
199
|
-
|
|
199
|
+
processing_state?: Json;
|
|
200
200
|
qualification_rubric_key?: string | null;
|
|
201
201
|
qualification_score?: number | null;
|
|
202
202
|
qualification_signals?: Json | null;
|
|
@@ -224,7 +224,7 @@ type Database = {
|
|
|
224
224
|
nurture?: boolean;
|
|
225
225
|
opening_line?: string | null;
|
|
226
226
|
organization_id?: string;
|
|
227
|
-
|
|
227
|
+
processing_state?: Json;
|
|
228
228
|
qualification_rubric_key?: string | null;
|
|
229
229
|
qualification_score?: number | null;
|
|
230
230
|
qualification_signals?: Json | null;
|
|
@@ -620,7 +620,6 @@ type Database = {
|
|
|
620
620
|
id: string;
|
|
621
621
|
list_id: string;
|
|
622
622
|
pipeline_key: string;
|
|
623
|
-
processing_state: Json;
|
|
624
623
|
source_execution_id: string | null;
|
|
625
624
|
source_input_hash: string | null;
|
|
626
625
|
source_resource_id: string | null;
|
|
@@ -635,7 +634,6 @@ type Database = {
|
|
|
635
634
|
id?: string;
|
|
636
635
|
list_id: string;
|
|
637
636
|
pipeline_key?: string;
|
|
638
|
-
processing_state?: Json;
|
|
639
637
|
source_execution_id?: string | null;
|
|
640
638
|
source_input_hash?: string | null;
|
|
641
639
|
source_resource_id?: string | null;
|
|
@@ -650,7 +648,6 @@ type Database = {
|
|
|
650
648
|
id?: string;
|
|
651
649
|
list_id?: string;
|
|
652
650
|
pipeline_key?: string;
|
|
653
|
-
processing_state?: Json;
|
|
654
651
|
source_execution_id?: string | null;
|
|
655
652
|
source_input_hash?: string | null;
|
|
656
653
|
source_resource_id?: string | null;
|
|
@@ -729,7 +726,6 @@ type Database = {
|
|
|
729
726
|
id: string;
|
|
730
727
|
list_id: string;
|
|
731
728
|
pipeline_key: string;
|
|
732
|
-
processing_state: Json;
|
|
733
729
|
source_execution_id: string | null;
|
|
734
730
|
source_input_hash: string | null;
|
|
735
731
|
source_resource_id: string | null;
|
|
@@ -744,7 +740,6 @@ type Database = {
|
|
|
744
740
|
id?: string;
|
|
745
741
|
list_id: string;
|
|
746
742
|
pipeline_key?: string;
|
|
747
|
-
processing_state?: Json;
|
|
748
743
|
source_execution_id?: string | null;
|
|
749
744
|
source_input_hash?: string | null;
|
|
750
745
|
source_resource_id?: string | null;
|
|
@@ -759,7 +754,6 @@ type Database = {
|
|
|
759
754
|
id?: string;
|
|
760
755
|
list_id?: string;
|
|
761
756
|
pipeline_key?: string;
|
|
762
|
-
processing_state?: Json;
|
|
763
757
|
source_execution_id?: string | null;
|
|
764
758
|
source_input_hash?: string | null;
|
|
765
759
|
source_resource_id?: string | null;
|
|
@@ -3409,6 +3403,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3409
3403
|
path: z.ZodOptional<z.ZodString>;
|
|
3410
3404
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3411
3405
|
"nav.dashboard": "nav.dashboard";
|
|
3406
|
+
"nav.calendar": "nav.calendar";
|
|
3412
3407
|
"nav.sales": "nav.sales";
|
|
3413
3408
|
"nav.crm": "nav.crm";
|
|
3414
3409
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -3423,6 +3418,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3423
3418
|
"knowledge.strategy": "knowledge.strategy";
|
|
3424
3419
|
"knowledge.reference": "knowledge.reference";
|
|
3425
3420
|
"feature.dashboard": "feature.dashboard";
|
|
3421
|
+
"feature.calendar": "feature.calendar";
|
|
3426
3422
|
"feature.sales": "feature.sales";
|
|
3427
3423
|
"feature.crm": "feature.crm";
|
|
3428
3424
|
"feature.finance": "feature.finance";
|
|
@@ -3446,6 +3442,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3446
3442
|
"integration.google-sheets": "integration.google-sheets";
|
|
3447
3443
|
"integration.attio": "integration.attio";
|
|
3448
3444
|
"surface.dashboard": "surface.dashboard";
|
|
3445
|
+
"surface.calendar": "surface.calendar";
|
|
3449
3446
|
"surface.overview": "surface.overview";
|
|
3450
3447
|
"surface.command-view": "surface.command-view";
|
|
3451
3448
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -3507,6 +3504,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3507
3504
|
devOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3508
3505
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3509
3506
|
"nav.dashboard": "nav.dashboard";
|
|
3507
|
+
"nav.calendar": "nav.calendar";
|
|
3510
3508
|
"nav.sales": "nav.sales";
|
|
3511
3509
|
"nav.crm": "nav.crm";
|
|
3512
3510
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -3521,6 +3519,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3521
3519
|
"knowledge.strategy": "knowledge.strategy";
|
|
3522
3520
|
"knowledge.reference": "knowledge.reference";
|
|
3523
3521
|
"feature.dashboard": "feature.dashboard";
|
|
3522
|
+
"feature.calendar": "feature.calendar";
|
|
3524
3523
|
"feature.sales": "feature.sales";
|
|
3525
3524
|
"feature.crm": "feature.crm";
|
|
3526
3525
|
"feature.finance": "feature.finance";
|
|
@@ -3544,6 +3543,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3544
3543
|
"integration.google-sheets": "integration.google-sheets";
|
|
3545
3544
|
"integration.attio": "integration.attio";
|
|
3546
3545
|
"surface.dashboard": "surface.dashboard";
|
|
3546
|
+
"surface.calendar": "surface.calendar";
|
|
3547
3547
|
"surface.overview": "surface.overview";
|
|
3548
3548
|
"surface.command-view": "surface.command-view";
|
|
3549
3549
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -3596,6 +3596,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3596
3596
|
color: z.ZodOptional<z.ZodString>;
|
|
3597
3597
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3598
3598
|
"nav.dashboard": "nav.dashboard";
|
|
3599
|
+
"nav.calendar": "nav.calendar";
|
|
3599
3600
|
"nav.sales": "nav.sales";
|
|
3600
3601
|
"nav.crm": "nav.crm";
|
|
3601
3602
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -3610,6 +3611,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3610
3611
|
"knowledge.strategy": "knowledge.strategy";
|
|
3611
3612
|
"knowledge.reference": "knowledge.reference";
|
|
3612
3613
|
"feature.dashboard": "feature.dashboard";
|
|
3614
|
+
"feature.calendar": "feature.calendar";
|
|
3613
3615
|
"feature.sales": "feature.sales";
|
|
3614
3616
|
"feature.crm": "feature.crm";
|
|
3615
3617
|
"feature.finance": "feature.finance";
|
|
@@ -3633,6 +3635,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3633
3635
|
"integration.google-sheets": "integration.google-sheets";
|
|
3634
3636
|
"integration.attio": "integration.attio";
|
|
3635
3637
|
"surface.dashboard": "surface.dashboard";
|
|
3638
|
+
"surface.calendar": "surface.calendar";
|
|
3636
3639
|
"surface.overview": "surface.overview";
|
|
3637
3640
|
"surface.command-view": "surface.command-view";
|
|
3638
3641
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -3682,6 +3685,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3682
3685
|
color: z.ZodOptional<z.ZodString>;
|
|
3683
3686
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3684
3687
|
"nav.dashboard": "nav.dashboard";
|
|
3688
|
+
"nav.calendar": "nav.calendar";
|
|
3685
3689
|
"nav.sales": "nav.sales";
|
|
3686
3690
|
"nav.crm": "nav.crm";
|
|
3687
3691
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -3696,6 +3700,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3696
3700
|
"knowledge.strategy": "knowledge.strategy";
|
|
3697
3701
|
"knowledge.reference": "knowledge.reference";
|
|
3698
3702
|
"feature.dashboard": "feature.dashboard";
|
|
3703
|
+
"feature.calendar": "feature.calendar";
|
|
3699
3704
|
"feature.sales": "feature.sales";
|
|
3700
3705
|
"feature.crm": "feature.crm";
|
|
3701
3706
|
"feature.finance": "feature.finance";
|
|
@@ -3719,6 +3724,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3719
3724
|
"integration.google-sheets": "integration.google-sheets";
|
|
3720
3725
|
"integration.attio": "integration.attio";
|
|
3721
3726
|
"surface.dashboard": "surface.dashboard";
|
|
3727
|
+
"surface.calendar": "surface.calendar";
|
|
3722
3728
|
"surface.overview": "surface.overview";
|
|
3723
3729
|
"surface.command-view": "surface.command-view";
|
|
3724
3730
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -3752,6 +3758,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3752
3758
|
color: z.ZodOptional<z.ZodString>;
|
|
3753
3759
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3754
3760
|
"nav.dashboard": "nav.dashboard";
|
|
3761
|
+
"nav.calendar": "nav.calendar";
|
|
3755
3762
|
"nav.sales": "nav.sales";
|
|
3756
3763
|
"nav.crm": "nav.crm";
|
|
3757
3764
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -3766,6 +3773,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3766
3773
|
"knowledge.strategy": "knowledge.strategy";
|
|
3767
3774
|
"knowledge.reference": "knowledge.reference";
|
|
3768
3775
|
"feature.dashboard": "feature.dashboard";
|
|
3776
|
+
"feature.calendar": "feature.calendar";
|
|
3769
3777
|
"feature.sales": "feature.sales";
|
|
3770
3778
|
"feature.crm": "feature.crm";
|
|
3771
3779
|
"feature.finance": "feature.finance";
|
|
@@ -3789,6 +3797,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3789
3797
|
"integration.google-sheets": "integration.google-sheets";
|
|
3790
3798
|
"integration.attio": "integration.attio";
|
|
3791
3799
|
"surface.dashboard": "surface.dashboard";
|
|
3800
|
+
"surface.calendar": "surface.calendar";
|
|
3792
3801
|
"surface.overview": "surface.overview";
|
|
3793
3802
|
"surface.command-view": "surface.command-view";
|
|
3794
3803
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -3823,6 +3832,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3823
3832
|
color: z.ZodOptional<z.ZodString>;
|
|
3824
3833
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3825
3834
|
"nav.dashboard": "nav.dashboard";
|
|
3835
|
+
"nav.calendar": "nav.calendar";
|
|
3826
3836
|
"nav.sales": "nav.sales";
|
|
3827
3837
|
"nav.crm": "nav.crm";
|
|
3828
3838
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -3837,6 +3847,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3837
3847
|
"knowledge.strategy": "knowledge.strategy";
|
|
3838
3848
|
"knowledge.reference": "knowledge.reference";
|
|
3839
3849
|
"feature.dashboard": "feature.dashboard";
|
|
3850
|
+
"feature.calendar": "feature.calendar";
|
|
3840
3851
|
"feature.sales": "feature.sales";
|
|
3841
3852
|
"feature.crm": "feature.crm";
|
|
3842
3853
|
"feature.finance": "feature.finance";
|
|
@@ -3860,6 +3871,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3860
3871
|
"integration.google-sheets": "integration.google-sheets";
|
|
3861
3872
|
"integration.attio": "integration.attio";
|
|
3862
3873
|
"surface.dashboard": "surface.dashboard";
|
|
3874
|
+
"surface.calendar": "surface.calendar";
|
|
3863
3875
|
"surface.overview": "surface.overview";
|
|
3864
3876
|
"surface.command-view": "surface.command-view";
|
|
3865
3877
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -3891,6 +3903,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3891
3903
|
color: z.ZodOptional<z.ZodString>;
|
|
3892
3904
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3893
3905
|
"nav.dashboard": "nav.dashboard";
|
|
3906
|
+
"nav.calendar": "nav.calendar";
|
|
3894
3907
|
"nav.sales": "nav.sales";
|
|
3895
3908
|
"nav.crm": "nav.crm";
|
|
3896
3909
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -3905,6 +3918,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3905
3918
|
"knowledge.strategy": "knowledge.strategy";
|
|
3906
3919
|
"knowledge.reference": "knowledge.reference";
|
|
3907
3920
|
"feature.dashboard": "feature.dashboard";
|
|
3921
|
+
"feature.calendar": "feature.calendar";
|
|
3908
3922
|
"feature.sales": "feature.sales";
|
|
3909
3923
|
"feature.crm": "feature.crm";
|
|
3910
3924
|
"feature.finance": "feature.finance";
|
|
@@ -3928,6 +3942,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3928
3942
|
"integration.google-sheets": "integration.google-sheets";
|
|
3929
3943
|
"integration.attio": "integration.attio";
|
|
3930
3944
|
"surface.dashboard": "surface.dashboard";
|
|
3945
|
+
"surface.calendar": "surface.calendar";
|
|
3931
3946
|
"surface.overview": "surface.overview";
|
|
3932
3947
|
"surface.command-view": "surface.command-view";
|
|
3933
3948
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -3981,6 +3996,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3981
3996
|
color: z.ZodOptional<z.ZodString>;
|
|
3982
3997
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3983
3998
|
"nav.dashboard": "nav.dashboard";
|
|
3999
|
+
"nav.calendar": "nav.calendar";
|
|
3984
4000
|
"nav.sales": "nav.sales";
|
|
3985
4001
|
"nav.crm": "nav.crm";
|
|
3986
4002
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -3995,6 +4011,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3995
4011
|
"knowledge.strategy": "knowledge.strategy";
|
|
3996
4012
|
"knowledge.reference": "knowledge.reference";
|
|
3997
4013
|
"feature.dashboard": "feature.dashboard";
|
|
4014
|
+
"feature.calendar": "feature.calendar";
|
|
3998
4015
|
"feature.sales": "feature.sales";
|
|
3999
4016
|
"feature.crm": "feature.crm";
|
|
4000
4017
|
"feature.finance": "feature.finance";
|
|
@@ -4018,6 +4035,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4018
4035
|
"integration.google-sheets": "integration.google-sheets";
|
|
4019
4036
|
"integration.attio": "integration.attio";
|
|
4020
4037
|
"surface.dashboard": "surface.dashboard";
|
|
4038
|
+
"surface.calendar": "surface.calendar";
|
|
4021
4039
|
"surface.overview": "surface.overview";
|
|
4022
4040
|
"surface.command-view": "surface.command-view";
|
|
4023
4041
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -4051,6 +4069,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4051
4069
|
color: z.ZodOptional<z.ZodString>;
|
|
4052
4070
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4053
4071
|
"nav.dashboard": "nav.dashboard";
|
|
4072
|
+
"nav.calendar": "nav.calendar";
|
|
4054
4073
|
"nav.sales": "nav.sales";
|
|
4055
4074
|
"nav.crm": "nav.crm";
|
|
4056
4075
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -4065,6 +4084,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4065
4084
|
"knowledge.strategy": "knowledge.strategy";
|
|
4066
4085
|
"knowledge.reference": "knowledge.reference";
|
|
4067
4086
|
"feature.dashboard": "feature.dashboard";
|
|
4087
|
+
"feature.calendar": "feature.calendar";
|
|
4068
4088
|
"feature.sales": "feature.sales";
|
|
4069
4089
|
"feature.crm": "feature.crm";
|
|
4070
4090
|
"feature.finance": "feature.finance";
|
|
@@ -4088,6 +4108,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4088
4108
|
"integration.google-sheets": "integration.google-sheets";
|
|
4089
4109
|
"integration.attio": "integration.attio";
|
|
4090
4110
|
"surface.dashboard": "surface.dashboard";
|
|
4111
|
+
"surface.calendar": "surface.calendar";
|
|
4091
4112
|
"surface.overview": "surface.overview";
|
|
4092
4113
|
"surface.command-view": "surface.command-view";
|
|
4093
4114
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -4121,6 +4142,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4121
4142
|
color: z.ZodOptional<z.ZodString>;
|
|
4122
4143
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4123
4144
|
"nav.dashboard": "nav.dashboard";
|
|
4145
|
+
"nav.calendar": "nav.calendar";
|
|
4124
4146
|
"nav.sales": "nav.sales";
|
|
4125
4147
|
"nav.crm": "nav.crm";
|
|
4126
4148
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -4135,6 +4157,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4135
4157
|
"knowledge.strategy": "knowledge.strategy";
|
|
4136
4158
|
"knowledge.reference": "knowledge.reference";
|
|
4137
4159
|
"feature.dashboard": "feature.dashboard";
|
|
4160
|
+
"feature.calendar": "feature.calendar";
|
|
4138
4161
|
"feature.sales": "feature.sales";
|
|
4139
4162
|
"feature.crm": "feature.crm";
|
|
4140
4163
|
"feature.finance": "feature.finance";
|
|
@@ -4158,6 +4181,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4158
4181
|
"integration.google-sheets": "integration.google-sheets";
|
|
4159
4182
|
"integration.attio": "integration.attio";
|
|
4160
4183
|
"surface.dashboard": "surface.dashboard";
|
|
4184
|
+
"surface.calendar": "surface.calendar";
|
|
4161
4185
|
"surface.overview": "surface.overview";
|
|
4162
4186
|
"surface.command-view": "surface.command-view";
|
|
4163
4187
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -4328,6 +4352,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4328
4352
|
summary: z.ZodString;
|
|
4329
4353
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4330
4354
|
"nav.dashboard": "nav.dashboard";
|
|
4355
|
+
"nav.calendar": "nav.calendar";
|
|
4331
4356
|
"nav.sales": "nav.sales";
|
|
4332
4357
|
"nav.crm": "nav.crm";
|
|
4333
4358
|
"nav.lead-gen": "nav.lead-gen";
|
|
@@ -4342,6 +4367,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4342
4367
|
"knowledge.strategy": "knowledge.strategy";
|
|
4343
4368
|
"knowledge.reference": "knowledge.reference";
|
|
4344
4369
|
"feature.dashboard": "feature.dashboard";
|
|
4370
|
+
"feature.calendar": "feature.calendar";
|
|
4345
4371
|
"feature.sales": "feature.sales";
|
|
4346
4372
|
"feature.crm": "feature.crm";
|
|
4347
4373
|
"feature.finance": "feature.finance";
|
|
@@ -4365,6 +4391,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4365
4391
|
"integration.google-sheets": "integration.google-sheets";
|
|
4366
4392
|
"integration.attio": "integration.attio";
|
|
4367
4393
|
"surface.dashboard": "surface.dashboard";
|
|
4394
|
+
"surface.calendar": "surface.calendar";
|
|
4368
4395
|
"surface.overview": "surface.overview";
|
|
4369
4396
|
"surface.command-view": "surface.command-view";
|
|
4370
4397
|
"surface.command-queue": "surface.command-queue";
|
|
@@ -4393,6 +4420,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
4393
4420
|
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4394
4421
|
nodeId: z.ZodString;
|
|
4395
4422
|
}, z.core.$strip>>>;
|
|
4423
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4424
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
4396
4425
|
ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4397
4426
|
updatedAt: z.ZodString;
|
|
4398
4427
|
}, z.core.$strip>>>;
|