@elevasis/core 0.22.0 → 0.23.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 +2330 -2391
- package/dist/index.js +2322 -1147
- package/dist/knowledge/index.d.ts +702 -1136
- package/dist/knowledge/index.js +9 -9
- package/dist/organization-model/index.d.ts +2330 -2391
- package/dist/organization-model/index.js +2322 -1147
- package/dist/test-utils/index.d.ts +703 -1106
- package/dist/test-utils/index.js +1735 -1089
- package/package.json +1 -1
- package/src/__tests__/template-core-compatibility.test.ts +11 -79
- package/src/_gen/__tests__/__snapshots__/contracts.md.snap +360 -98
- package/src/business/acquisition/api-schemas.test.ts +2 -2
- package/src/business/acquisition/api-schemas.ts +7 -9
- package/src/business/acquisition/build-templates.test.ts +4 -4
- package/src/business/acquisition/build-templates.ts +72 -30
- package/src/business/acquisition/crm-state-actions.test.ts +13 -11
- package/src/business/acquisition/types.ts +7 -3
- package/src/execution/engine/agent/core/types.ts +1 -1
- package/src/execution/engine/workflow/types.ts +2 -2
- package/src/knowledge/README.md +8 -7
- package/src/knowledge/__tests__/queries.test.ts +74 -73
- package/src/knowledge/format.ts +10 -9
- package/src/knowledge/index.ts +1 -1
- package/src/knowledge/published.ts +1 -1
- package/src/knowledge/queries.ts +26 -25
- package/src/organization-model/README.md +66 -26
- package/src/organization-model/__tests__/content-kinds-registry.test.ts +210 -0
- package/src/organization-model/__tests__/defaults.test.ts +72 -98
- package/src/organization-model/__tests__/domains/actions.test.ts +56 -0
- package/src/organization-model/__tests__/domains/customers.test.ts +299 -295
- package/src/organization-model/__tests__/domains/entities.test.ts +56 -0
- package/src/organization-model/__tests__/domains/goals.test.ts +493 -479
- package/src/organization-model/__tests__/domains/identity.test.ts +280 -279
- package/src/organization-model/__tests__/domains/navigation.test.ts +268 -212
- package/src/organization-model/__tests__/domains/offerings.test.ts +414 -419
- package/src/organization-model/__tests__/domains/policies.test.ts +323 -0
- package/src/organization-model/__tests__/domains/resource-mappings.test.ts +271 -271
- package/src/organization-model/__tests__/domains/resources.test.ts +159 -37
- package/src/organization-model/__tests__/domains/roles.test.ts +147 -86
- package/src/organization-model/__tests__/domains/statuses.test.ts +246 -243
- package/src/organization-model/__tests__/domains/systems.test.ts +67 -51
- package/src/organization-model/__tests__/flatten-additive-merge.test.ts +361 -0
- package/src/organization-model/__tests__/foundation.test.ts +74 -102
- package/src/organization-model/__tests__/get-resources-for-system.test.ts +144 -0
- package/src/organization-model/__tests__/graph.test.ts +899 -71
- package/src/organization-model/__tests__/knowledge.test.ts +173 -52
- package/src/organization-model/__tests__/lookup-helpers.test.ts +438 -0
- package/src/organization-model/__tests__/migration-helpers.test.ts +591 -0
- package/src/organization-model/__tests__/prospecting-ssot.test.ts +36 -27
- package/src/organization-model/__tests__/recursive-system-schema.test.ts +520 -0
- package/src/organization-model/__tests__/resolve.test.ts +174 -23
- package/src/organization-model/__tests__/schema.test.ts +291 -114
- package/src/organization-model/__tests__/surface-projection.test.ts +207 -97
- package/src/organization-model/catalogs/lead-gen.ts +144 -0
- package/src/organization-model/content-kinds/config.ts +36 -0
- package/src/organization-model/content-kinds/index.ts +74 -0
- package/src/organization-model/content-kinds/pipeline.ts +68 -0
- package/src/organization-model/content-kinds/registry.ts +44 -0
- package/src/organization-model/content-kinds/status.ts +71 -0
- package/src/organization-model/content-kinds/template.ts +83 -0
- package/src/organization-model/content-kinds/types.ts +117 -0
- package/src/organization-model/contracts.ts +13 -3
- package/src/organization-model/defaults.ts +488 -96
- package/src/organization-model/domains/actions.ts +239 -0
- package/src/organization-model/domains/customers.ts +78 -75
- package/src/organization-model/domains/entities.ts +144 -0
- package/src/organization-model/domains/goals.ts +83 -80
- package/src/organization-model/domains/knowledge.ts +74 -16
- package/src/organization-model/domains/navigation.ts +107 -384
- package/src/organization-model/domains/offerings.ts +71 -66
- package/src/organization-model/domains/policies.ts +102 -0
- package/src/organization-model/domains/projects.ts +14 -48
- package/src/organization-model/domains/prospecting.ts +62 -181
- package/src/organization-model/domains/resources.ts +81 -24
- package/src/organization-model/domains/roles.ts +13 -10
- package/src/organization-model/domains/sales.ts +10 -219
- package/src/organization-model/domains/shared.ts +57 -57
- package/src/organization-model/domains/statuses.ts +339 -130
- package/src/organization-model/domains/systems.ts +186 -29
- package/src/organization-model/foundation.ts +54 -67
- package/src/organization-model/graph/build.ts +682 -54
- package/src/organization-model/graph/link.ts +1 -1
- package/src/organization-model/graph/schema.ts +24 -9
- package/src/organization-model/graph/types.ts +20 -7
- package/src/organization-model/helpers.ts +231 -26
- package/src/organization-model/index.ts +116 -5
- package/src/organization-model/migration-helpers.ts +249 -0
- package/src/organization-model/organization-graph.mdx +16 -15
- package/src/organization-model/organization-model.mdx +89 -41
- package/src/organization-model/published.ts +120 -18
- package/src/organization-model/resolve.ts +117 -54
- package/src/organization-model/schema.ts +561 -140
- package/src/organization-model/surface-projection.ts +116 -122
- package/src/organization-model/types.ts +102 -21
- package/src/platform/constants/versions.ts +1 -1
- package/src/platform/registry/__tests__/command-view.test.ts +6 -8
- package/src/platform/registry/__tests__/resource-link.test.ts +13 -8
- package/src/platform/registry/__tests__/resource-registry.integration.test.ts +16 -31
- package/src/platform/registry/__tests__/resource-registry.nested-systems.test.ts +245 -0
- package/src/platform/registry/__tests__/resource-registry.test.ts +9 -7
- package/src/platform/registry/__tests__/validation.test.ts +15 -11
- package/src/platform/registry/resource-registry.ts +20 -8
- package/src/platform/registry/serialization.ts +7 -7
- package/src/platform/registry/types.ts +3 -3
- package/src/platform/registry/validation.ts +17 -15
- package/src/reference/_generated/contracts.md +362 -99
- package/src/reference/glossary.md +18 -18
- package/src/supabase/database.types.ts +60 -0
- package/src/test-utils/test-utils.test.ts +1 -6
- package/src/organization-model/__tests__/domains/operations.test.ts +0 -203
- package/src/organization-model/domains/features.ts +0 -31
- package/src/organization-model/domains/operations.ts +0 -85
|
@@ -2769,6 +2769,66 @@ type Database = {
|
|
|
2769
2769
|
}
|
|
2770
2770
|
];
|
|
2771
2771
|
};
|
|
2772
|
+
user_notes: {
|
|
2773
|
+
Row: {
|
|
2774
|
+
content: string;
|
|
2775
|
+
created_at: string;
|
|
2776
|
+
created_by: string;
|
|
2777
|
+
id: string;
|
|
2778
|
+
metadata: Json;
|
|
2779
|
+
organization_id: string | null;
|
|
2780
|
+
pinned: boolean;
|
|
2781
|
+
priority: string;
|
|
2782
|
+
source: string | null;
|
|
2783
|
+
title: string | null;
|
|
2784
|
+
updated_at: string;
|
|
2785
|
+
user_id: string;
|
|
2786
|
+
};
|
|
2787
|
+
Insert: {
|
|
2788
|
+
content: string;
|
|
2789
|
+
created_at?: string;
|
|
2790
|
+
created_by?: string;
|
|
2791
|
+
id?: string;
|
|
2792
|
+
metadata?: Json;
|
|
2793
|
+
organization_id?: string | null;
|
|
2794
|
+
pinned?: boolean;
|
|
2795
|
+
priority?: string;
|
|
2796
|
+
source?: string | null;
|
|
2797
|
+
title?: string | null;
|
|
2798
|
+
updated_at?: string;
|
|
2799
|
+
user_id: string;
|
|
2800
|
+
};
|
|
2801
|
+
Update: {
|
|
2802
|
+
content?: string;
|
|
2803
|
+
created_at?: string;
|
|
2804
|
+
created_by?: string;
|
|
2805
|
+
id?: string;
|
|
2806
|
+
metadata?: Json;
|
|
2807
|
+
organization_id?: string | null;
|
|
2808
|
+
pinned?: boolean;
|
|
2809
|
+
priority?: string;
|
|
2810
|
+
source?: string | null;
|
|
2811
|
+
title?: string | null;
|
|
2812
|
+
updated_at?: string;
|
|
2813
|
+
user_id?: string;
|
|
2814
|
+
};
|
|
2815
|
+
Relationships: [
|
|
2816
|
+
{
|
|
2817
|
+
foreignKeyName: "user_notes_organization_id_fkey";
|
|
2818
|
+
columns: ["organization_id"];
|
|
2819
|
+
isOneToOne: false;
|
|
2820
|
+
referencedRelation: "organizations";
|
|
2821
|
+
referencedColumns: ["id"];
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
foreignKeyName: "user_notes_user_id_fkey";
|
|
2825
|
+
columns: ["user_id"];
|
|
2826
|
+
isOneToOne: false;
|
|
2827
|
+
referencedRelation: "users";
|
|
2828
|
+
referencedColumns: ["id"];
|
|
2829
|
+
}
|
|
2830
|
+
];
|
|
2831
|
+
};
|
|
2772
2832
|
users: {
|
|
2773
2833
|
Row: {
|
|
2774
2834
|
config: Json;
|
|
@@ -3514,14 +3574,620 @@ declare function makeContact(overrides?: Partial<BaseContactFixture>): BaseConta
|
|
|
3514
3574
|
declare function makeMilestone(overrides?: Partial<BaseMilestoneFixture>): BaseMilestoneFixture;
|
|
3515
3575
|
declare function makeTask(overrides?: Partial<BaseTaskFixture>): BaseTaskFixture;
|
|
3516
3576
|
|
|
3577
|
+
declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
3578
|
+
list: "list";
|
|
3579
|
+
graph: "graph";
|
|
3580
|
+
page: "page";
|
|
3581
|
+
dashboard: "dashboard";
|
|
3582
|
+
detail: "detail";
|
|
3583
|
+
settings: "settings";
|
|
3584
|
+
}>;
|
|
3585
|
+
interface SidebarSurfaceNode {
|
|
3586
|
+
type: 'surface';
|
|
3587
|
+
label: string;
|
|
3588
|
+
path: string;
|
|
3589
|
+
surfaceType: z.infer<typeof SurfaceTypeSchema>;
|
|
3590
|
+
description?: string;
|
|
3591
|
+
icon?: string;
|
|
3592
|
+
order?: number;
|
|
3593
|
+
targets?: {
|
|
3594
|
+
systems?: string[];
|
|
3595
|
+
entities?: string[];
|
|
3596
|
+
resources?: string[];
|
|
3597
|
+
actions?: string[];
|
|
3598
|
+
};
|
|
3599
|
+
devOnly?: boolean;
|
|
3600
|
+
requiresAdmin?: boolean;
|
|
3601
|
+
}
|
|
3602
|
+
interface SidebarGroupNode {
|
|
3603
|
+
type: 'group';
|
|
3604
|
+
label: string;
|
|
3605
|
+
description?: string;
|
|
3606
|
+
icon?: string;
|
|
3607
|
+
order?: number;
|
|
3608
|
+
children: Record<string, SidebarNode>;
|
|
3609
|
+
}
|
|
3610
|
+
type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
3611
|
+
|
|
3612
|
+
/**
|
|
3613
|
+
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
3614
|
+
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
3615
|
+
*
|
|
3616
|
+
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
3617
|
+
* Per L14: every node carries BOTH `kind` and `type`.
|
|
3618
|
+
*/
|
|
3619
|
+
declare const ContentNodeSchema: z.ZodObject<{
|
|
3620
|
+
label: z.ZodString;
|
|
3621
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3622
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
3623
|
+
parentContentId: z.ZodOptional<z.ZodString>;
|
|
3624
|
+
kind: z.ZodString;
|
|
3625
|
+
type: z.ZodString;
|
|
3626
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3627
|
+
}, z.core.$strip>;
|
|
3628
|
+
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
3629
|
+
|
|
3630
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
3631
|
+
interface SystemEntry {
|
|
3632
|
+
id: string;
|
|
3633
|
+
label?: string;
|
|
3634
|
+
title?: string;
|
|
3635
|
+
description?: string;
|
|
3636
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
3637
|
+
parentSystemId?: string;
|
|
3638
|
+
ui?: {
|
|
3639
|
+
path: string;
|
|
3640
|
+
surfaces: string[];
|
|
3641
|
+
icon?: string;
|
|
3642
|
+
order?: number;
|
|
3643
|
+
};
|
|
3644
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
3645
|
+
responsibleRoleId?: string;
|
|
3646
|
+
governedByKnowledge?: string[];
|
|
3647
|
+
actions?: {
|
|
3648
|
+
actionId: string;
|
|
3649
|
+
intent: 'exposes' | 'consumes';
|
|
3650
|
+
invocation?: unknown;
|
|
3651
|
+
}[];
|
|
3652
|
+
policies?: string[];
|
|
3653
|
+
drivesGoals?: string[];
|
|
3654
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
3655
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
3656
|
+
path?: string;
|
|
3657
|
+
icon?: string;
|
|
3658
|
+
color?: string;
|
|
3659
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
3660
|
+
enabled?: boolean;
|
|
3661
|
+
devOnly?: boolean;
|
|
3662
|
+
requiresAdmin?: boolean;
|
|
3663
|
+
order: number;
|
|
3664
|
+
content?: Record<string, ContentNode>;
|
|
3665
|
+
subsystems?: Record<string, SystemEntry>;
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3517
3668
|
declare const OrganizationModelSchema: z.ZodObject<{
|
|
3518
3669
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3519
|
-
|
|
3670
|
+
domainMetadata: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
3671
|
+
branding: z.ZodOptional<z.ZodObject<{
|
|
3672
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3673
|
+
lastModified: z.ZodString;
|
|
3674
|
+
}, z.core.$strip>>;
|
|
3675
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
3676
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3677
|
+
lastModified: z.ZodString;
|
|
3678
|
+
}, z.core.$strip>>;
|
|
3679
|
+
customers: z.ZodOptional<z.ZodObject<{
|
|
3680
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3681
|
+
lastModified: z.ZodString;
|
|
3682
|
+
}, z.core.$strip>>;
|
|
3683
|
+
offerings: z.ZodOptional<z.ZodObject<{
|
|
3684
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3685
|
+
lastModified: z.ZodString;
|
|
3686
|
+
}, z.core.$strip>>;
|
|
3687
|
+
roles: z.ZodOptional<z.ZodObject<{
|
|
3688
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3689
|
+
lastModified: z.ZodString;
|
|
3690
|
+
}, z.core.$strip>>;
|
|
3691
|
+
goals: z.ZodOptional<z.ZodObject<{
|
|
3692
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3693
|
+
lastModified: z.ZodString;
|
|
3694
|
+
}, z.core.$strip>>;
|
|
3695
|
+
systems: z.ZodOptional<z.ZodObject<{
|
|
3696
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3697
|
+
lastModified: z.ZodString;
|
|
3698
|
+
}, z.core.$strip>>;
|
|
3699
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
3700
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3701
|
+
lastModified: z.ZodString;
|
|
3702
|
+
}, z.core.$strip>>;
|
|
3703
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
3704
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3705
|
+
lastModified: z.ZodString;
|
|
3706
|
+
}, z.core.$strip>>;
|
|
3707
|
+
entities: z.ZodOptional<z.ZodObject<{
|
|
3708
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3709
|
+
lastModified: z.ZodString;
|
|
3710
|
+
}, z.core.$strip>>;
|
|
3711
|
+
policies: z.ZodOptional<z.ZodObject<{
|
|
3712
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3713
|
+
lastModified: z.ZodString;
|
|
3714
|
+
}, z.core.$strip>>;
|
|
3715
|
+
knowledge: z.ZodOptional<z.ZodObject<{
|
|
3716
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
3717
|
+
lastModified: z.ZodString;
|
|
3718
|
+
}, z.core.$strip>>;
|
|
3719
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
3720
|
+
branding: {
|
|
3721
|
+
version: 1;
|
|
3722
|
+
lastModified: string;
|
|
3723
|
+
};
|
|
3724
|
+
identity: {
|
|
3725
|
+
version: 1;
|
|
3726
|
+
lastModified: string;
|
|
3727
|
+
};
|
|
3728
|
+
customers: {
|
|
3729
|
+
version: 1;
|
|
3730
|
+
lastModified: string;
|
|
3731
|
+
};
|
|
3732
|
+
offerings: {
|
|
3733
|
+
version: 1;
|
|
3734
|
+
lastModified: string;
|
|
3735
|
+
};
|
|
3736
|
+
roles: {
|
|
3737
|
+
version: 1;
|
|
3738
|
+
lastModified: string;
|
|
3739
|
+
};
|
|
3740
|
+
goals: {
|
|
3741
|
+
version: 1;
|
|
3742
|
+
lastModified: string;
|
|
3743
|
+
};
|
|
3744
|
+
systems: {
|
|
3745
|
+
version: 1;
|
|
3746
|
+
lastModified: string;
|
|
3747
|
+
};
|
|
3748
|
+
resources: {
|
|
3749
|
+
version: 1;
|
|
3750
|
+
lastModified: string;
|
|
3751
|
+
};
|
|
3752
|
+
actions: {
|
|
3753
|
+
version: 1;
|
|
3754
|
+
lastModified: string;
|
|
3755
|
+
};
|
|
3756
|
+
entities: {
|
|
3757
|
+
version: 1;
|
|
3758
|
+
lastModified: string;
|
|
3759
|
+
};
|
|
3760
|
+
policies: {
|
|
3761
|
+
version: 1;
|
|
3762
|
+
lastModified: string;
|
|
3763
|
+
};
|
|
3764
|
+
knowledge: {
|
|
3765
|
+
version: 1;
|
|
3766
|
+
lastModified: string;
|
|
3767
|
+
};
|
|
3768
|
+
}, {
|
|
3769
|
+
branding?: {
|
|
3770
|
+
version: 1;
|
|
3771
|
+
lastModified: string;
|
|
3772
|
+
} | undefined;
|
|
3773
|
+
identity?: {
|
|
3774
|
+
version: 1;
|
|
3775
|
+
lastModified: string;
|
|
3776
|
+
} | undefined;
|
|
3777
|
+
customers?: {
|
|
3778
|
+
version: 1;
|
|
3779
|
+
lastModified: string;
|
|
3780
|
+
} | undefined;
|
|
3781
|
+
offerings?: {
|
|
3782
|
+
version: 1;
|
|
3783
|
+
lastModified: string;
|
|
3784
|
+
} | undefined;
|
|
3785
|
+
roles?: {
|
|
3786
|
+
version: 1;
|
|
3787
|
+
lastModified: string;
|
|
3788
|
+
} | undefined;
|
|
3789
|
+
goals?: {
|
|
3790
|
+
version: 1;
|
|
3791
|
+
lastModified: string;
|
|
3792
|
+
} | undefined;
|
|
3793
|
+
systems?: {
|
|
3794
|
+
version: 1;
|
|
3795
|
+
lastModified: string;
|
|
3796
|
+
} | undefined;
|
|
3797
|
+
resources?: {
|
|
3798
|
+
version: 1;
|
|
3799
|
+
lastModified: string;
|
|
3800
|
+
} | undefined;
|
|
3801
|
+
actions?: {
|
|
3802
|
+
version: 1;
|
|
3803
|
+
lastModified: string;
|
|
3804
|
+
} | undefined;
|
|
3805
|
+
entities?: {
|
|
3806
|
+
version: 1;
|
|
3807
|
+
lastModified: string;
|
|
3808
|
+
} | undefined;
|
|
3809
|
+
policies?: {
|
|
3810
|
+
version: 1;
|
|
3811
|
+
lastModified: string;
|
|
3812
|
+
} | undefined;
|
|
3813
|
+
knowledge?: {
|
|
3814
|
+
version: 1;
|
|
3815
|
+
lastModified: string;
|
|
3816
|
+
} | undefined;
|
|
3817
|
+
}>>;
|
|
3818
|
+
branding: z.ZodObject<{
|
|
3819
|
+
organizationName: z.ZodString;
|
|
3820
|
+
productName: z.ZodString;
|
|
3821
|
+
shortName: z.ZodString;
|
|
3822
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3823
|
+
logos: z.ZodDefault<z.ZodObject<{
|
|
3824
|
+
light: z.ZodOptional<z.ZodString>;
|
|
3825
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
3826
|
+
}, z.core.$strip>>;
|
|
3827
|
+
}, z.core.$strip>;
|
|
3828
|
+
navigation: z.ZodDefault<z.ZodObject<{
|
|
3829
|
+
sidebar: z.ZodDefault<z.ZodObject<{
|
|
3830
|
+
primary: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
3831
|
+
bottom: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
3832
|
+
}, z.core.$strip>>;
|
|
3833
|
+
}, z.core.$strip>>;
|
|
3834
|
+
identity: z.ZodDefault<z.ZodObject<{
|
|
3835
|
+
mission: z.ZodDefault<z.ZodString>;
|
|
3836
|
+
vision: z.ZodDefault<z.ZodString>;
|
|
3837
|
+
legalName: z.ZodDefault<z.ZodString>;
|
|
3838
|
+
entityType: z.ZodDefault<z.ZodString>;
|
|
3839
|
+
jurisdiction: z.ZodDefault<z.ZodString>;
|
|
3840
|
+
industryCategory: z.ZodDefault<z.ZodString>;
|
|
3841
|
+
geographicFocus: z.ZodDefault<z.ZodString>;
|
|
3842
|
+
timeZone: z.ZodDefault<z.ZodString>;
|
|
3843
|
+
businessHours: z.ZodDefault<z.ZodObject<{
|
|
3844
|
+
monday: z.ZodOptional<z.ZodObject<{
|
|
3845
|
+
open: z.ZodString;
|
|
3846
|
+
close: z.ZodString;
|
|
3847
|
+
}, z.core.$strip>>;
|
|
3848
|
+
tuesday: z.ZodOptional<z.ZodObject<{
|
|
3849
|
+
open: z.ZodString;
|
|
3850
|
+
close: z.ZodString;
|
|
3851
|
+
}, z.core.$strip>>;
|
|
3852
|
+
wednesday: z.ZodOptional<z.ZodObject<{
|
|
3853
|
+
open: z.ZodString;
|
|
3854
|
+
close: z.ZodString;
|
|
3855
|
+
}, z.core.$strip>>;
|
|
3856
|
+
thursday: z.ZodOptional<z.ZodObject<{
|
|
3857
|
+
open: z.ZodString;
|
|
3858
|
+
close: z.ZodString;
|
|
3859
|
+
}, z.core.$strip>>;
|
|
3860
|
+
friday: z.ZodOptional<z.ZodObject<{
|
|
3861
|
+
open: z.ZodString;
|
|
3862
|
+
close: z.ZodString;
|
|
3863
|
+
}, z.core.$strip>>;
|
|
3864
|
+
saturday: z.ZodOptional<z.ZodObject<{
|
|
3865
|
+
open: z.ZodString;
|
|
3866
|
+
close: z.ZodString;
|
|
3867
|
+
}, z.core.$strip>>;
|
|
3868
|
+
sunday: z.ZodOptional<z.ZodObject<{
|
|
3869
|
+
open: z.ZodString;
|
|
3870
|
+
close: z.ZodString;
|
|
3871
|
+
}, z.core.$strip>>;
|
|
3872
|
+
}, z.core.$strip>>;
|
|
3873
|
+
clientBrief: z.ZodDefault<z.ZodString>;
|
|
3874
|
+
}, z.core.$strip>>;
|
|
3875
|
+
customers: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3520
3876
|
id: z.ZodString;
|
|
3877
|
+
order: z.ZodNumber;
|
|
3878
|
+
name: z.ZodDefault<z.ZodString>;
|
|
3879
|
+
description: z.ZodDefault<z.ZodString>;
|
|
3880
|
+
jobsToBeDone: z.ZodDefault<z.ZodString>;
|
|
3881
|
+
pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3882
|
+
gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3883
|
+
firmographics: z.ZodDefault<z.ZodObject<{
|
|
3884
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
3885
|
+
companySize: z.ZodOptional<z.ZodString>;
|
|
3886
|
+
region: z.ZodOptional<z.ZodString>;
|
|
3887
|
+
}, z.core.$strip>>;
|
|
3888
|
+
valueProp: z.ZodDefault<z.ZodString>;
|
|
3889
|
+
}, z.core.$strip>>>>;
|
|
3890
|
+
offerings: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3891
|
+
id: z.ZodString;
|
|
3892
|
+
order: z.ZodNumber;
|
|
3893
|
+
name: z.ZodDefault<z.ZodString>;
|
|
3894
|
+
description: z.ZodDefault<z.ZodString>;
|
|
3895
|
+
pricingModel: z.ZodDefault<z.ZodEnum<{
|
|
3896
|
+
custom: "custom";
|
|
3897
|
+
"one-time": "one-time";
|
|
3898
|
+
subscription: "subscription";
|
|
3899
|
+
"usage-based": "usage-based";
|
|
3900
|
+
}>>;
|
|
3901
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
3902
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
3903
|
+
targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3904
|
+
deliveryFeatureId: z.ZodOptional<z.ZodString>;
|
|
3905
|
+
}, z.core.$strip>>>>;
|
|
3906
|
+
roles: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3907
|
+
id: z.ZodString;
|
|
3908
|
+
order: z.ZodNumber;
|
|
3909
|
+
title: z.ZodString;
|
|
3910
|
+
responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3911
|
+
reportsToId: z.ZodOptional<z.ZodString>;
|
|
3912
|
+
heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3913
|
+
kind: z.ZodLiteral<"human">;
|
|
3914
|
+
userId: z.ZodString;
|
|
3915
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3916
|
+
kind: z.ZodLiteral<"agent">;
|
|
3917
|
+
agentId: z.ZodString;
|
|
3918
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3919
|
+
kind: z.ZodLiteral<"team">;
|
|
3920
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
3921
|
+
}, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3922
|
+
kind: z.ZodLiteral<"human">;
|
|
3923
|
+
userId: z.ZodString;
|
|
3924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3925
|
+
kind: z.ZodLiteral<"agent">;
|
|
3926
|
+
agentId: z.ZodString;
|
|
3927
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3928
|
+
kind: z.ZodLiteral<"team">;
|
|
3929
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
3930
|
+
}, z.core.$strip>], "kind">>]>>;
|
|
3931
|
+
responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3932
|
+
}, z.core.$strip>>>>;
|
|
3933
|
+
goals: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3934
|
+
id: z.ZodString;
|
|
3935
|
+
order: z.ZodNumber;
|
|
3936
|
+
description: z.ZodString;
|
|
3937
|
+
periodStart: z.ZodString;
|
|
3938
|
+
periodEnd: z.ZodString;
|
|
3939
|
+
keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3940
|
+
id: z.ZodString;
|
|
3941
|
+
description: z.ZodString;
|
|
3942
|
+
targetMetric: z.ZodString;
|
|
3943
|
+
currentValue: z.ZodDefault<z.ZodNumber>;
|
|
3944
|
+
targetValue: z.ZodOptional<z.ZodNumber>;
|
|
3945
|
+
}, z.core.$strip>>>;
|
|
3946
|
+
}, z.core.$strip>>>>;
|
|
3947
|
+
systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
3948
|
+
resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3949
|
+
id: z.ZodString;
|
|
3950
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
3951
|
+
systemPath: z.ZodString;
|
|
3952
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
3953
|
+
status: z.ZodEnum<{
|
|
3954
|
+
deprecated: "deprecated";
|
|
3955
|
+
active: "active";
|
|
3956
|
+
archived: "archived";
|
|
3957
|
+
}>;
|
|
3958
|
+
kind: z.ZodLiteral<"workflow">;
|
|
3959
|
+
actionKey: z.ZodOptional<z.ZodString>;
|
|
3960
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3961
|
+
eventKey: z.ZodString;
|
|
3962
|
+
label: z.ZodString;
|
|
3963
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
3964
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
3965
|
+
deprecated: "deprecated";
|
|
3966
|
+
draft: "draft";
|
|
3967
|
+
beta: "beta";
|
|
3968
|
+
active: "active";
|
|
3969
|
+
archived: "archived";
|
|
3970
|
+
}>>;
|
|
3971
|
+
}, z.core.$strip>>>;
|
|
3972
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3973
|
+
id: z.ZodString;
|
|
3974
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
3975
|
+
systemPath: z.ZodString;
|
|
3976
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
3977
|
+
status: z.ZodEnum<{
|
|
3978
|
+
deprecated: "deprecated";
|
|
3979
|
+
active: "active";
|
|
3980
|
+
archived: "archived";
|
|
3981
|
+
}>;
|
|
3982
|
+
kind: z.ZodLiteral<"agent">;
|
|
3983
|
+
agentKind: z.ZodEnum<{
|
|
3984
|
+
platform: "platform";
|
|
3985
|
+
orchestrator: "orchestrator";
|
|
3986
|
+
specialist: "specialist";
|
|
3987
|
+
utility: "utility";
|
|
3988
|
+
}>;
|
|
3989
|
+
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
3990
|
+
sessionCapable: z.ZodBoolean;
|
|
3991
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3992
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
3993
|
+
command: z.ZodString;
|
|
3994
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
3995
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3996
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
3997
|
+
server: z.ZodString;
|
|
3998
|
+
name: z.ZodString;
|
|
3999
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4000
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
4001
|
+
method: z.ZodEnum<{
|
|
4002
|
+
GET: "GET";
|
|
4003
|
+
POST: "POST";
|
|
4004
|
+
PATCH: "PATCH";
|
|
4005
|
+
DELETE: "DELETE";
|
|
4006
|
+
}>;
|
|
4007
|
+
path: z.ZodString;
|
|
4008
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
4009
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
4010
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4011
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
4012
|
+
resourceId: z.ZodString;
|
|
4013
|
+
}, z.core.$strip>], "kind">>>;
|
|
4014
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4015
|
+
eventKey: z.ZodString;
|
|
4016
|
+
label: z.ZodString;
|
|
4017
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
4018
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
4019
|
+
deprecated: "deprecated";
|
|
4020
|
+
draft: "draft";
|
|
4021
|
+
beta: "beta";
|
|
4022
|
+
active: "active";
|
|
4023
|
+
archived: "archived";
|
|
4024
|
+
}>>;
|
|
4025
|
+
}, z.core.$strip>>>;
|
|
4026
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4027
|
+
id: z.ZodString;
|
|
4028
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
4029
|
+
systemPath: z.ZodString;
|
|
4030
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
4031
|
+
status: z.ZodEnum<{
|
|
4032
|
+
deprecated: "deprecated";
|
|
4033
|
+
active: "active";
|
|
4034
|
+
archived: "archived";
|
|
4035
|
+
}>;
|
|
4036
|
+
kind: z.ZodLiteral<"integration">;
|
|
4037
|
+
provider: z.ZodString;
|
|
4038
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4039
|
+
id: z.ZodString;
|
|
4040
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
4041
|
+
systemPath: z.ZodString;
|
|
4042
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
4043
|
+
status: z.ZodEnum<{
|
|
4044
|
+
deprecated: "deprecated";
|
|
4045
|
+
active: "active";
|
|
4046
|
+
archived: "archived";
|
|
4047
|
+
}>;
|
|
4048
|
+
kind: z.ZodLiteral<"script">;
|
|
4049
|
+
language: z.ZodEnum<{
|
|
4050
|
+
shell: "shell";
|
|
4051
|
+
sql: "sql";
|
|
4052
|
+
typescript: "typescript";
|
|
4053
|
+
python: "python";
|
|
4054
|
+
}>;
|
|
4055
|
+
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4056
|
+
file: z.ZodString;
|
|
4057
|
+
}, z.core.$strip>]>;
|
|
4058
|
+
}, z.core.$strip>], "kind">>>>;
|
|
4059
|
+
actions: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4060
|
+
id: z.ZodString;
|
|
4061
|
+
order: z.ZodNumber;
|
|
3521
4062
|
label: z.ZodString;
|
|
3522
4063
|
description: z.ZodOptional<z.ZodString>;
|
|
3523
|
-
|
|
3524
|
-
|
|
4064
|
+
scope: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"global">, z.ZodObject<{
|
|
4065
|
+
domain: z.ZodString;
|
|
4066
|
+
}, z.core.$strip>]>>;
|
|
4067
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
4068
|
+
affects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4069
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4070
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
4071
|
+
command: z.ZodString;
|
|
4072
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
4073
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4074
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
4075
|
+
server: z.ZodString;
|
|
4076
|
+
name: z.ZodString;
|
|
4077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4078
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
4079
|
+
method: z.ZodEnum<{
|
|
4080
|
+
GET: "GET";
|
|
4081
|
+
POST: "POST";
|
|
4082
|
+
PATCH: "PATCH";
|
|
4083
|
+
DELETE: "DELETE";
|
|
4084
|
+
}>;
|
|
4085
|
+
path: z.ZodString;
|
|
4086
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
4087
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
4088
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4089
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
4090
|
+
resourceId: z.ZodString;
|
|
4091
|
+
}, z.core.$strip>], "kind">>>;
|
|
4092
|
+
knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
4093
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
4094
|
+
deprecated: "deprecated";
|
|
4095
|
+
draft: "draft";
|
|
4096
|
+
beta: "beta";
|
|
4097
|
+
active: "active";
|
|
4098
|
+
archived: "archived";
|
|
4099
|
+
}>>;
|
|
4100
|
+
}, z.core.$strip>>>>;
|
|
4101
|
+
entities: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4102
|
+
id: z.ZodString;
|
|
4103
|
+
order: z.ZodNumber;
|
|
4104
|
+
label: z.ZodString;
|
|
4105
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4106
|
+
ownedBySystemId: z.ZodString;
|
|
4107
|
+
table: z.ZodOptional<z.ZodString>;
|
|
4108
|
+
rowSchema: z.ZodOptional<z.ZodString>;
|
|
4109
|
+
stateCatalogId: z.ZodOptional<z.ZodString>;
|
|
4110
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4111
|
+
toEntity: z.ZodString;
|
|
4112
|
+
kind: z.ZodEnum<{
|
|
4113
|
+
"belongs-to": "belongs-to";
|
|
4114
|
+
"has-many": "has-many";
|
|
4115
|
+
"has-one": "has-one";
|
|
4116
|
+
"many-to-many": "many-to-many";
|
|
4117
|
+
}>;
|
|
4118
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4119
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4120
|
+
}, z.core.$strip>>>;
|
|
4121
|
+
}, z.core.$strip>>>>;
|
|
4122
|
+
policies: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4123
|
+
id: z.ZodString;
|
|
4124
|
+
order: z.ZodNumber;
|
|
4125
|
+
label: z.ZodString;
|
|
4126
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4127
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4128
|
+
kind: z.ZodLiteral<"event">;
|
|
4129
|
+
eventId: z.ZodString;
|
|
4130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4131
|
+
kind: z.ZodLiteral<"action-invocation">;
|
|
4132
|
+
actionId: z.ZodString;
|
|
4133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4134
|
+
kind: z.ZodLiteral<"schedule">;
|
|
4135
|
+
cron: z.ZodString;
|
|
4136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4137
|
+
kind: z.ZodLiteral<"manual">;
|
|
4138
|
+
}, z.core.$strip>], "kind">;
|
|
4139
|
+
predicate: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4140
|
+
kind: z.ZodLiteral<"always">;
|
|
4141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4142
|
+
kind: z.ZodLiteral<"expression">;
|
|
4143
|
+
expression: z.ZodString;
|
|
4144
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4145
|
+
kind: z.ZodLiteral<"threshold">;
|
|
4146
|
+
metric: z.ZodString;
|
|
4147
|
+
operator: z.ZodEnum<{
|
|
4148
|
+
lt: "lt";
|
|
4149
|
+
lte: "lte";
|
|
4150
|
+
eq: "eq";
|
|
4151
|
+
gte: "gte";
|
|
4152
|
+
gt: "gt";
|
|
4153
|
+
}>;
|
|
4154
|
+
value: z.ZodNumber;
|
|
4155
|
+
}, z.core.$strip>], "kind">>;
|
|
4156
|
+
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4157
|
+
kind: z.ZodLiteral<"require-approval">;
|
|
4158
|
+
roleId: z.ZodOptional<z.ZodString>;
|
|
4159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4160
|
+
kind: z.ZodLiteral<"invoke-action">;
|
|
4161
|
+
actionId: z.ZodString;
|
|
4162
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4163
|
+
kind: z.ZodLiteral<"notify-role">;
|
|
4164
|
+
roleId: z.ZodString;
|
|
4165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4166
|
+
kind: z.ZodLiteral<"block">;
|
|
4167
|
+
}, z.core.$strip>], "kind">>;
|
|
4168
|
+
appliesTo: z.ZodDefault<z.ZodObject<{
|
|
4169
|
+
systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4170
|
+
actionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4171
|
+
resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4172
|
+
roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4173
|
+
}, z.core.$strip>>;
|
|
4174
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
4175
|
+
deprecated: "deprecated";
|
|
4176
|
+
draft: "draft";
|
|
4177
|
+
beta: "beta";
|
|
4178
|
+
active: "active";
|
|
4179
|
+
archived: "archived";
|
|
4180
|
+
}>>;
|
|
4181
|
+
}, z.core.$strip>>>>;
|
|
4182
|
+
knowledge: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4183
|
+
id: z.ZodString;
|
|
4184
|
+
kind: z.ZodEnum<{
|
|
4185
|
+
playbook: "playbook";
|
|
4186
|
+
strategy: "strategy";
|
|
4187
|
+
reference: "reference";
|
|
4188
|
+
}>;
|
|
4189
|
+
title: z.ZodString;
|
|
4190
|
+
summary: z.ZodString;
|
|
3525
4191
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3526
4192
|
"nav.dashboard": "nav.dashboard";
|
|
3527
4193
|
"nav.calendar": "nav.calendar";
|
|
@@ -3589,1112 +4255,43 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3589
4255
|
"action.submit": "action.submit";
|
|
3590
4256
|
"action.email": "action.email";
|
|
3591
4257
|
}>, z.ZodString]>>;
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
dark: z.ZodOptional<z.ZodString>;
|
|
3608
|
-
}, z.core.$strip>>;
|
|
3609
|
-
}, z.core.$strip>;
|
|
3610
|
-
navigation: z.ZodDefault<z.ZodObject<{
|
|
3611
|
-
defaultSurfaceId: z.ZodOptional<z.ZodString>;
|
|
3612
|
-
surfaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3613
|
-
id: z.ZodString;
|
|
3614
|
-
label: z.ZodString;
|
|
3615
|
-
path: z.ZodString;
|
|
3616
|
-
surfaceType: z.ZodEnum<{
|
|
3617
|
-
settings: "settings";
|
|
3618
|
-
page: "page";
|
|
3619
|
-
dashboard: "dashboard";
|
|
3620
|
-
graph: "graph";
|
|
3621
|
-
detail: "detail";
|
|
3622
|
-
list: "list";
|
|
3623
|
-
}>;
|
|
3624
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3625
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3626
|
-
devOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3627
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3628
|
-
"nav.dashboard": "nav.dashboard";
|
|
3629
|
-
"nav.calendar": "nav.calendar";
|
|
3630
|
-
"nav.sales": "nav.sales";
|
|
3631
|
-
"nav.crm": "nav.crm";
|
|
3632
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
3633
|
-
"nav.projects": "nav.projects";
|
|
3634
|
-
"nav.operations": "nav.operations";
|
|
3635
|
-
"nav.monitoring": "nav.monitoring";
|
|
3636
|
-
"nav.knowledge": "nav.knowledge";
|
|
3637
|
-
"nav.settings": "nav.settings";
|
|
3638
|
-
"nav.admin": "nav.admin";
|
|
3639
|
-
"nav.archive": "nav.archive";
|
|
3640
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
3641
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
3642
|
-
"knowledge.reference": "knowledge.reference";
|
|
3643
|
-
"feature.dashboard": "feature.dashboard";
|
|
3644
|
-
"feature.calendar": "feature.calendar";
|
|
3645
|
-
"feature.business": "feature.business";
|
|
3646
|
-
"feature.sales": "feature.sales";
|
|
3647
|
-
"feature.crm": "feature.crm";
|
|
3648
|
-
"feature.finance": "feature.finance";
|
|
3649
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
3650
|
-
"feature.platform": "feature.platform";
|
|
3651
|
-
"feature.projects": "feature.projects";
|
|
3652
|
-
"feature.operations": "feature.operations";
|
|
3653
|
-
"feature.knowledge": "feature.knowledge";
|
|
3654
|
-
"feature.monitoring": "feature.monitoring";
|
|
3655
|
-
"feature.settings": "feature.settings";
|
|
3656
|
-
"feature.admin": "feature.admin";
|
|
3657
|
-
"feature.archive": "feature.archive";
|
|
3658
|
-
"feature.seo": "feature.seo";
|
|
3659
|
-
"resource.agent": "resource.agent";
|
|
3660
|
-
"resource.workflow": "resource.workflow";
|
|
3661
|
-
"resource.integration": "resource.integration";
|
|
3662
|
-
"resource.database": "resource.database";
|
|
3663
|
-
"resource.user": "resource.user";
|
|
3664
|
-
"resource.team": "resource.team";
|
|
3665
|
-
"integration.gmail": "integration.gmail";
|
|
3666
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
3667
|
-
"integration.attio": "integration.attio";
|
|
3668
|
-
"surface.dashboard": "surface.dashboard";
|
|
3669
|
-
"surface.calendar": "surface.calendar";
|
|
3670
|
-
"surface.overview": "surface.overview";
|
|
3671
|
-
"surface.command-view": "surface.command-view";
|
|
3672
|
-
"surface.command-queue": "surface.command-queue";
|
|
3673
|
-
"surface.pipeline": "surface.pipeline";
|
|
3674
|
-
"surface.lists": "surface.lists";
|
|
3675
|
-
"surface.resources": "surface.resources";
|
|
3676
|
-
"surface.settings": "surface.settings";
|
|
3677
|
-
"status.success": "status.success";
|
|
3678
|
-
"status.error": "status.error";
|
|
3679
|
-
"status.warning": "status.warning";
|
|
3680
|
-
"status.info": "status.info";
|
|
3681
|
-
"status.pending": "status.pending";
|
|
3682
|
-
"action.approve": "action.approve";
|
|
3683
|
-
"action.reject": "action.reject";
|
|
3684
|
-
"action.retry": "action.retry";
|
|
3685
|
-
"action.edit": "action.edit";
|
|
3686
|
-
"action.view": "action.view";
|
|
3687
|
-
"action.launch": "action.launch";
|
|
3688
|
-
"action.message": "action.message";
|
|
3689
|
-
"action.escalate": "action.escalate";
|
|
3690
|
-
"action.promote": "action.promote";
|
|
3691
|
-
"action.submit": "action.submit";
|
|
3692
|
-
"action.email": "action.email";
|
|
3693
|
-
}>, z.ZodString]>>;
|
|
3694
|
-
featureId: z.ZodOptional<z.ZodString>;
|
|
3695
|
-
featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3696
|
-
entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3697
|
-
resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3698
|
-
capabilityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3699
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
3700
|
-
}, z.core.$strip>>>;
|
|
3701
|
-
groups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3702
|
-
id: z.ZodString;
|
|
3703
|
-
label: z.ZodString;
|
|
3704
|
-
placement: z.ZodString;
|
|
3705
|
-
surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3706
|
-
}, z.core.$strip>>>;
|
|
3707
|
-
}, z.core.$strip>>;
|
|
3708
|
-
sales: z.ZodObject<{
|
|
3709
|
-
entityId: z.ZodString;
|
|
3710
|
-
defaultPipelineId: z.ZodString;
|
|
3711
|
-
pipelines: z.ZodArray<z.ZodObject<{
|
|
3712
|
-
id: z.ZodString;
|
|
3713
|
-
label: z.ZodString;
|
|
3714
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3715
|
-
entityId: z.ZodString;
|
|
3716
|
-
stages: z.ZodArray<z.ZodObject<{
|
|
3717
|
-
label: z.ZodString;
|
|
3718
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3719
|
-
color: z.ZodOptional<z.ZodString>;
|
|
3720
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3721
|
-
"nav.dashboard": "nav.dashboard";
|
|
3722
|
-
"nav.calendar": "nav.calendar";
|
|
3723
|
-
"nav.sales": "nav.sales";
|
|
3724
|
-
"nav.crm": "nav.crm";
|
|
3725
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
3726
|
-
"nav.projects": "nav.projects";
|
|
3727
|
-
"nav.operations": "nav.operations";
|
|
3728
|
-
"nav.monitoring": "nav.monitoring";
|
|
3729
|
-
"nav.knowledge": "nav.knowledge";
|
|
3730
|
-
"nav.settings": "nav.settings";
|
|
3731
|
-
"nav.admin": "nav.admin";
|
|
3732
|
-
"nav.archive": "nav.archive";
|
|
3733
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
3734
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
3735
|
-
"knowledge.reference": "knowledge.reference";
|
|
3736
|
-
"feature.dashboard": "feature.dashboard";
|
|
3737
|
-
"feature.calendar": "feature.calendar";
|
|
3738
|
-
"feature.business": "feature.business";
|
|
3739
|
-
"feature.sales": "feature.sales";
|
|
3740
|
-
"feature.crm": "feature.crm";
|
|
3741
|
-
"feature.finance": "feature.finance";
|
|
3742
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
3743
|
-
"feature.platform": "feature.platform";
|
|
3744
|
-
"feature.projects": "feature.projects";
|
|
3745
|
-
"feature.operations": "feature.operations";
|
|
3746
|
-
"feature.knowledge": "feature.knowledge";
|
|
3747
|
-
"feature.monitoring": "feature.monitoring";
|
|
3748
|
-
"feature.settings": "feature.settings";
|
|
3749
|
-
"feature.admin": "feature.admin";
|
|
3750
|
-
"feature.archive": "feature.archive";
|
|
3751
|
-
"feature.seo": "feature.seo";
|
|
3752
|
-
"resource.agent": "resource.agent";
|
|
3753
|
-
"resource.workflow": "resource.workflow";
|
|
3754
|
-
"resource.integration": "resource.integration";
|
|
3755
|
-
"resource.database": "resource.database";
|
|
3756
|
-
"resource.user": "resource.user";
|
|
3757
|
-
"resource.team": "resource.team";
|
|
3758
|
-
"integration.gmail": "integration.gmail";
|
|
3759
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
3760
|
-
"integration.attio": "integration.attio";
|
|
3761
|
-
"surface.dashboard": "surface.dashboard";
|
|
3762
|
-
"surface.calendar": "surface.calendar";
|
|
3763
|
-
"surface.overview": "surface.overview";
|
|
3764
|
-
"surface.command-view": "surface.command-view";
|
|
3765
|
-
"surface.command-queue": "surface.command-queue";
|
|
3766
|
-
"surface.pipeline": "surface.pipeline";
|
|
3767
|
-
"surface.lists": "surface.lists";
|
|
3768
|
-
"surface.resources": "surface.resources";
|
|
3769
|
-
"surface.settings": "surface.settings";
|
|
3770
|
-
"status.success": "status.success";
|
|
3771
|
-
"status.error": "status.error";
|
|
3772
|
-
"status.warning": "status.warning";
|
|
3773
|
-
"status.info": "status.info";
|
|
3774
|
-
"status.pending": "status.pending";
|
|
3775
|
-
"action.approve": "action.approve";
|
|
3776
|
-
"action.reject": "action.reject";
|
|
3777
|
-
"action.retry": "action.retry";
|
|
3778
|
-
"action.edit": "action.edit";
|
|
3779
|
-
"action.view": "action.view";
|
|
3780
|
-
"action.launch": "action.launch";
|
|
3781
|
-
"action.message": "action.message";
|
|
3782
|
-
"action.escalate": "action.escalate";
|
|
3783
|
-
"action.promote": "action.promote";
|
|
3784
|
-
"action.submit": "action.submit";
|
|
3785
|
-
"action.email": "action.email";
|
|
3786
|
-
}>, z.ZodString]>>;
|
|
3787
|
-
id: z.ZodString;
|
|
3788
|
-
order: z.ZodNumber;
|
|
3789
|
-
semanticClass: z.ZodEnum<{
|
|
3790
|
-
open: "open";
|
|
3791
|
-
active: "active";
|
|
3792
|
-
nurturing: "nurturing";
|
|
3793
|
-
closed_won: "closed_won";
|
|
3794
|
-
closed_lost: "closed_lost";
|
|
4258
|
+
externalUrl: z.ZodOptional<z.ZodString>;
|
|
4259
|
+
body: z.ZodString;
|
|
4260
|
+
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
4261
|
+
target: z.ZodObject<{
|
|
4262
|
+
kind: z.ZodEnum<{
|
|
4263
|
+
system: "system";
|
|
4264
|
+
action: "action";
|
|
4265
|
+
knowledge: "knowledge";
|
|
4266
|
+
role: "role";
|
|
4267
|
+
goal: "goal";
|
|
4268
|
+
stage: "stage";
|
|
4269
|
+
resource: "resource";
|
|
4270
|
+
"customer-segment": "customer-segment";
|
|
4271
|
+
offering: "offering";
|
|
4272
|
+
"content-node": "content-node";
|
|
3795
4273
|
}>;
|
|
3796
|
-
surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3797
|
-
resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3798
|
-
}, z.core.$strip>>;
|
|
3799
|
-
}, z.core.$strip>>;
|
|
3800
|
-
}, z.core.$strip>;
|
|
3801
|
-
prospecting: z.ZodObject<{
|
|
3802
|
-
listEntityId: z.ZodString;
|
|
3803
|
-
companyEntityId: z.ZodString;
|
|
3804
|
-
contactEntityId: z.ZodString;
|
|
3805
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3806
|
-
companyStages: z.ZodArray<z.ZodObject<{
|
|
3807
|
-
label: z.ZodString;
|
|
3808
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3809
|
-
color: z.ZodOptional<z.ZodString>;
|
|
3810
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3811
|
-
"nav.dashboard": "nav.dashboard";
|
|
3812
|
-
"nav.calendar": "nav.calendar";
|
|
3813
|
-
"nav.sales": "nav.sales";
|
|
3814
|
-
"nav.crm": "nav.crm";
|
|
3815
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
3816
|
-
"nav.projects": "nav.projects";
|
|
3817
|
-
"nav.operations": "nav.operations";
|
|
3818
|
-
"nav.monitoring": "nav.monitoring";
|
|
3819
|
-
"nav.knowledge": "nav.knowledge";
|
|
3820
|
-
"nav.settings": "nav.settings";
|
|
3821
|
-
"nav.admin": "nav.admin";
|
|
3822
|
-
"nav.archive": "nav.archive";
|
|
3823
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
3824
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
3825
|
-
"knowledge.reference": "knowledge.reference";
|
|
3826
|
-
"feature.dashboard": "feature.dashboard";
|
|
3827
|
-
"feature.calendar": "feature.calendar";
|
|
3828
|
-
"feature.business": "feature.business";
|
|
3829
|
-
"feature.sales": "feature.sales";
|
|
3830
|
-
"feature.crm": "feature.crm";
|
|
3831
|
-
"feature.finance": "feature.finance";
|
|
3832
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
3833
|
-
"feature.platform": "feature.platform";
|
|
3834
|
-
"feature.projects": "feature.projects";
|
|
3835
|
-
"feature.operations": "feature.operations";
|
|
3836
|
-
"feature.knowledge": "feature.knowledge";
|
|
3837
|
-
"feature.monitoring": "feature.monitoring";
|
|
3838
|
-
"feature.settings": "feature.settings";
|
|
3839
|
-
"feature.admin": "feature.admin";
|
|
3840
|
-
"feature.archive": "feature.archive";
|
|
3841
|
-
"feature.seo": "feature.seo";
|
|
3842
|
-
"resource.agent": "resource.agent";
|
|
3843
|
-
"resource.workflow": "resource.workflow";
|
|
3844
|
-
"resource.integration": "resource.integration";
|
|
3845
|
-
"resource.database": "resource.database";
|
|
3846
|
-
"resource.user": "resource.user";
|
|
3847
|
-
"resource.team": "resource.team";
|
|
3848
|
-
"integration.gmail": "integration.gmail";
|
|
3849
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
3850
|
-
"integration.attio": "integration.attio";
|
|
3851
|
-
"surface.dashboard": "surface.dashboard";
|
|
3852
|
-
"surface.calendar": "surface.calendar";
|
|
3853
|
-
"surface.overview": "surface.overview";
|
|
3854
|
-
"surface.command-view": "surface.command-view";
|
|
3855
|
-
"surface.command-queue": "surface.command-queue";
|
|
3856
|
-
"surface.pipeline": "surface.pipeline";
|
|
3857
|
-
"surface.lists": "surface.lists";
|
|
3858
|
-
"surface.resources": "surface.resources";
|
|
3859
|
-
"surface.settings": "surface.settings";
|
|
3860
|
-
"status.success": "status.success";
|
|
3861
|
-
"status.error": "status.error";
|
|
3862
|
-
"status.warning": "status.warning";
|
|
3863
|
-
"status.info": "status.info";
|
|
3864
|
-
"status.pending": "status.pending";
|
|
3865
|
-
"action.approve": "action.approve";
|
|
3866
|
-
"action.reject": "action.reject";
|
|
3867
|
-
"action.retry": "action.retry";
|
|
3868
|
-
"action.edit": "action.edit";
|
|
3869
|
-
"action.view": "action.view";
|
|
3870
|
-
"action.launch": "action.launch";
|
|
3871
|
-
"action.message": "action.message";
|
|
3872
|
-
"action.escalate": "action.escalate";
|
|
3873
|
-
"action.promote": "action.promote";
|
|
3874
|
-
"action.submit": "action.submit";
|
|
3875
|
-
"action.email": "action.email";
|
|
3876
|
-
}>, z.ZodString]>>;
|
|
3877
|
-
id: z.ZodString;
|
|
3878
|
-
order: z.ZodNumber;
|
|
3879
|
-
}, z.core.$strip>>;
|
|
3880
|
-
contactStages: z.ZodArray<z.ZodObject<{
|
|
3881
|
-
label: z.ZodString;
|
|
3882
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3883
|
-
color: z.ZodOptional<z.ZodString>;
|
|
3884
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3885
|
-
"nav.dashboard": "nav.dashboard";
|
|
3886
|
-
"nav.calendar": "nav.calendar";
|
|
3887
|
-
"nav.sales": "nav.sales";
|
|
3888
|
-
"nav.crm": "nav.crm";
|
|
3889
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
3890
|
-
"nav.projects": "nav.projects";
|
|
3891
|
-
"nav.operations": "nav.operations";
|
|
3892
|
-
"nav.monitoring": "nav.monitoring";
|
|
3893
|
-
"nav.knowledge": "nav.knowledge";
|
|
3894
|
-
"nav.settings": "nav.settings";
|
|
3895
|
-
"nav.admin": "nav.admin";
|
|
3896
|
-
"nav.archive": "nav.archive";
|
|
3897
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
3898
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
3899
|
-
"knowledge.reference": "knowledge.reference";
|
|
3900
|
-
"feature.dashboard": "feature.dashboard";
|
|
3901
|
-
"feature.calendar": "feature.calendar";
|
|
3902
|
-
"feature.business": "feature.business";
|
|
3903
|
-
"feature.sales": "feature.sales";
|
|
3904
|
-
"feature.crm": "feature.crm";
|
|
3905
|
-
"feature.finance": "feature.finance";
|
|
3906
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
3907
|
-
"feature.platform": "feature.platform";
|
|
3908
|
-
"feature.projects": "feature.projects";
|
|
3909
|
-
"feature.operations": "feature.operations";
|
|
3910
|
-
"feature.knowledge": "feature.knowledge";
|
|
3911
|
-
"feature.monitoring": "feature.monitoring";
|
|
3912
|
-
"feature.settings": "feature.settings";
|
|
3913
|
-
"feature.admin": "feature.admin";
|
|
3914
|
-
"feature.archive": "feature.archive";
|
|
3915
|
-
"feature.seo": "feature.seo";
|
|
3916
|
-
"resource.agent": "resource.agent";
|
|
3917
|
-
"resource.workflow": "resource.workflow";
|
|
3918
|
-
"resource.integration": "resource.integration";
|
|
3919
|
-
"resource.database": "resource.database";
|
|
3920
|
-
"resource.user": "resource.user";
|
|
3921
|
-
"resource.team": "resource.team";
|
|
3922
|
-
"integration.gmail": "integration.gmail";
|
|
3923
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
3924
|
-
"integration.attio": "integration.attio";
|
|
3925
|
-
"surface.dashboard": "surface.dashboard";
|
|
3926
|
-
"surface.calendar": "surface.calendar";
|
|
3927
|
-
"surface.overview": "surface.overview";
|
|
3928
|
-
"surface.command-view": "surface.command-view";
|
|
3929
|
-
"surface.command-queue": "surface.command-queue";
|
|
3930
|
-
"surface.pipeline": "surface.pipeline";
|
|
3931
|
-
"surface.lists": "surface.lists";
|
|
3932
|
-
"surface.resources": "surface.resources";
|
|
3933
|
-
"surface.settings": "surface.settings";
|
|
3934
|
-
"status.success": "status.success";
|
|
3935
|
-
"status.error": "status.error";
|
|
3936
|
-
"status.warning": "status.warning";
|
|
3937
|
-
"status.info": "status.info";
|
|
3938
|
-
"status.pending": "status.pending";
|
|
3939
|
-
"action.approve": "action.approve";
|
|
3940
|
-
"action.reject": "action.reject";
|
|
3941
|
-
"action.retry": "action.retry";
|
|
3942
|
-
"action.edit": "action.edit";
|
|
3943
|
-
"action.view": "action.view";
|
|
3944
|
-
"action.launch": "action.launch";
|
|
3945
|
-
"action.message": "action.message";
|
|
3946
|
-
"action.escalate": "action.escalate";
|
|
3947
|
-
"action.promote": "action.promote";
|
|
3948
|
-
"action.submit": "action.submit";
|
|
3949
|
-
"action.email": "action.email";
|
|
3950
|
-
}>, z.ZodString]>>;
|
|
3951
|
-
id: z.ZodString;
|
|
3952
|
-
order: z.ZodNumber;
|
|
3953
|
-
}, z.core.$strip>>;
|
|
3954
|
-
defaultBuildTemplateId: z.ZodString;
|
|
3955
|
-
buildTemplates: z.ZodArray<z.ZodObject<{
|
|
3956
|
-
label: z.ZodString;
|
|
3957
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3958
|
-
color: z.ZodOptional<z.ZodString>;
|
|
3959
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3960
|
-
"nav.dashboard": "nav.dashboard";
|
|
3961
|
-
"nav.calendar": "nav.calendar";
|
|
3962
|
-
"nav.sales": "nav.sales";
|
|
3963
|
-
"nav.crm": "nav.crm";
|
|
3964
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
3965
|
-
"nav.projects": "nav.projects";
|
|
3966
|
-
"nav.operations": "nav.operations";
|
|
3967
|
-
"nav.monitoring": "nav.monitoring";
|
|
3968
|
-
"nav.knowledge": "nav.knowledge";
|
|
3969
|
-
"nav.settings": "nav.settings";
|
|
3970
|
-
"nav.admin": "nav.admin";
|
|
3971
|
-
"nav.archive": "nav.archive";
|
|
3972
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
3973
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
3974
|
-
"knowledge.reference": "knowledge.reference";
|
|
3975
|
-
"feature.dashboard": "feature.dashboard";
|
|
3976
|
-
"feature.calendar": "feature.calendar";
|
|
3977
|
-
"feature.business": "feature.business";
|
|
3978
|
-
"feature.sales": "feature.sales";
|
|
3979
|
-
"feature.crm": "feature.crm";
|
|
3980
|
-
"feature.finance": "feature.finance";
|
|
3981
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
3982
|
-
"feature.platform": "feature.platform";
|
|
3983
|
-
"feature.projects": "feature.projects";
|
|
3984
|
-
"feature.operations": "feature.operations";
|
|
3985
|
-
"feature.knowledge": "feature.knowledge";
|
|
3986
|
-
"feature.monitoring": "feature.monitoring";
|
|
3987
|
-
"feature.settings": "feature.settings";
|
|
3988
|
-
"feature.admin": "feature.admin";
|
|
3989
|
-
"feature.archive": "feature.archive";
|
|
3990
|
-
"feature.seo": "feature.seo";
|
|
3991
|
-
"resource.agent": "resource.agent";
|
|
3992
|
-
"resource.workflow": "resource.workflow";
|
|
3993
|
-
"resource.integration": "resource.integration";
|
|
3994
|
-
"resource.database": "resource.database";
|
|
3995
|
-
"resource.user": "resource.user";
|
|
3996
|
-
"resource.team": "resource.team";
|
|
3997
|
-
"integration.gmail": "integration.gmail";
|
|
3998
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
3999
|
-
"integration.attio": "integration.attio";
|
|
4000
|
-
"surface.dashboard": "surface.dashboard";
|
|
4001
|
-
"surface.calendar": "surface.calendar";
|
|
4002
|
-
"surface.overview": "surface.overview";
|
|
4003
|
-
"surface.command-view": "surface.command-view";
|
|
4004
|
-
"surface.command-queue": "surface.command-queue";
|
|
4005
|
-
"surface.pipeline": "surface.pipeline";
|
|
4006
|
-
"surface.lists": "surface.lists";
|
|
4007
|
-
"surface.resources": "surface.resources";
|
|
4008
|
-
"surface.settings": "surface.settings";
|
|
4009
|
-
"status.success": "status.success";
|
|
4010
|
-
"status.error": "status.error";
|
|
4011
|
-
"status.warning": "status.warning";
|
|
4012
|
-
"status.info": "status.info";
|
|
4013
|
-
"status.pending": "status.pending";
|
|
4014
|
-
"action.approve": "action.approve";
|
|
4015
|
-
"action.reject": "action.reject";
|
|
4016
|
-
"action.retry": "action.retry";
|
|
4017
|
-
"action.edit": "action.edit";
|
|
4018
|
-
"action.view": "action.view";
|
|
4019
|
-
"action.launch": "action.launch";
|
|
4020
|
-
"action.message": "action.message";
|
|
4021
|
-
"action.escalate": "action.escalate";
|
|
4022
|
-
"action.promote": "action.promote";
|
|
4023
|
-
"action.submit": "action.submit";
|
|
4024
|
-
"action.email": "action.email";
|
|
4025
|
-
}>, z.ZodString]>>;
|
|
4026
|
-
id: z.ZodString;
|
|
4027
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
4028
|
-
label: z.ZodString;
|
|
4029
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4030
|
-
color: z.ZodOptional<z.ZodString>;
|
|
4031
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4032
|
-
"nav.dashboard": "nav.dashboard";
|
|
4033
|
-
"nav.calendar": "nav.calendar";
|
|
4034
|
-
"nav.sales": "nav.sales";
|
|
4035
|
-
"nav.crm": "nav.crm";
|
|
4036
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
4037
|
-
"nav.projects": "nav.projects";
|
|
4038
|
-
"nav.operations": "nav.operations";
|
|
4039
|
-
"nav.monitoring": "nav.monitoring";
|
|
4040
|
-
"nav.knowledge": "nav.knowledge";
|
|
4041
|
-
"nav.settings": "nav.settings";
|
|
4042
|
-
"nav.admin": "nav.admin";
|
|
4043
|
-
"nav.archive": "nav.archive";
|
|
4044
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
4045
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
4046
|
-
"knowledge.reference": "knowledge.reference";
|
|
4047
|
-
"feature.dashboard": "feature.dashboard";
|
|
4048
|
-
"feature.calendar": "feature.calendar";
|
|
4049
|
-
"feature.business": "feature.business";
|
|
4050
|
-
"feature.sales": "feature.sales";
|
|
4051
|
-
"feature.crm": "feature.crm";
|
|
4052
|
-
"feature.finance": "feature.finance";
|
|
4053
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
4054
|
-
"feature.platform": "feature.platform";
|
|
4055
|
-
"feature.projects": "feature.projects";
|
|
4056
|
-
"feature.operations": "feature.operations";
|
|
4057
|
-
"feature.knowledge": "feature.knowledge";
|
|
4058
|
-
"feature.monitoring": "feature.monitoring";
|
|
4059
|
-
"feature.settings": "feature.settings";
|
|
4060
|
-
"feature.admin": "feature.admin";
|
|
4061
|
-
"feature.archive": "feature.archive";
|
|
4062
|
-
"feature.seo": "feature.seo";
|
|
4063
|
-
"resource.agent": "resource.agent";
|
|
4064
|
-
"resource.workflow": "resource.workflow";
|
|
4065
|
-
"resource.integration": "resource.integration";
|
|
4066
|
-
"resource.database": "resource.database";
|
|
4067
|
-
"resource.user": "resource.user";
|
|
4068
|
-
"resource.team": "resource.team";
|
|
4069
|
-
"integration.gmail": "integration.gmail";
|
|
4070
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
4071
|
-
"integration.attio": "integration.attio";
|
|
4072
|
-
"surface.dashboard": "surface.dashboard";
|
|
4073
|
-
"surface.calendar": "surface.calendar";
|
|
4074
|
-
"surface.overview": "surface.overview";
|
|
4075
|
-
"surface.command-view": "surface.command-view";
|
|
4076
|
-
"surface.command-queue": "surface.command-queue";
|
|
4077
|
-
"surface.pipeline": "surface.pipeline";
|
|
4078
|
-
"surface.lists": "surface.lists";
|
|
4079
|
-
"surface.resources": "surface.resources";
|
|
4080
|
-
"surface.settings": "surface.settings";
|
|
4081
|
-
"status.success": "status.success";
|
|
4082
|
-
"status.error": "status.error";
|
|
4083
|
-
"status.warning": "status.warning";
|
|
4084
|
-
"status.info": "status.info";
|
|
4085
|
-
"status.pending": "status.pending";
|
|
4086
|
-
"action.approve": "action.approve";
|
|
4087
|
-
"action.reject": "action.reject";
|
|
4088
|
-
"action.retry": "action.retry";
|
|
4089
|
-
"action.edit": "action.edit";
|
|
4090
|
-
"action.view": "action.view";
|
|
4091
|
-
"action.launch": "action.launch";
|
|
4092
|
-
"action.message": "action.message";
|
|
4093
|
-
"action.escalate": "action.escalate";
|
|
4094
|
-
"action.promote": "action.promote";
|
|
4095
|
-
"action.submit": "action.submit";
|
|
4096
|
-
"action.email": "action.email";
|
|
4097
|
-
}>, z.ZodString]>>;
|
|
4098
|
-
id: z.ZodString;
|
|
4099
|
-
primaryEntity: z.ZodEnum<{
|
|
4100
|
-
company: "company";
|
|
4101
|
-
contact: "contact";
|
|
4102
|
-
}>;
|
|
4103
|
-
outputs: z.ZodArray<z.ZodEnum<{
|
|
4104
|
-
company: "company";
|
|
4105
|
-
contact: "contact";
|
|
4106
|
-
export: "export";
|
|
4107
|
-
}>>;
|
|
4108
|
-
stageKey: z.ZodString;
|
|
4109
|
-
recordEntity: z.ZodOptional<z.ZodEnum<{
|
|
4110
|
-
company: "company";
|
|
4111
|
-
contact: "contact";
|
|
4112
|
-
}>>;
|
|
4113
|
-
recordsStageKey: z.ZodOptional<z.ZodString>;
|
|
4114
|
-
recordSourceStageKey: z.ZodOptional<z.ZodString>;
|
|
4115
|
-
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4116
|
-
dependencyMode: z.ZodLiteral<"per-record-eligibility">;
|
|
4117
|
-
capabilityKey: z.ZodString;
|
|
4118
|
-
defaultBatchSize: z.ZodNumber;
|
|
4119
|
-
maxBatchSize: z.ZodNumber;
|
|
4120
|
-
recordColumns: z.ZodOptional<z.ZodObject<{
|
|
4121
|
-
company: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4122
|
-
key: z.ZodString;
|
|
4123
|
-
label: z.ZodString;
|
|
4124
|
-
path: z.ZodString;
|
|
4125
|
-
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4126
|
-
renderType: z.ZodOptional<z.ZodEnum<{
|
|
4127
|
-
text: "text";
|
|
4128
|
-
badge: "badge";
|
|
4129
|
-
datetime: "datetime";
|
|
4130
|
-
count: "count";
|
|
4131
|
-
json: "json";
|
|
4132
|
-
}>>;
|
|
4133
|
-
badgeColor: z.ZodOptional<z.ZodString>;
|
|
4134
|
-
}, z.core.$strip>>>;
|
|
4135
|
-
contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4136
|
-
key: z.ZodString;
|
|
4137
|
-
label: z.ZodString;
|
|
4138
|
-
path: z.ZodString;
|
|
4139
|
-
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
4140
|
-
renderType: z.ZodOptional<z.ZodEnum<{
|
|
4141
|
-
text: "text";
|
|
4142
|
-
badge: "badge";
|
|
4143
|
-
datetime: "datetime";
|
|
4144
|
-
count: "count";
|
|
4145
|
-
json: "json";
|
|
4146
|
-
}>>;
|
|
4147
|
-
badgeColor: z.ZodOptional<z.ZodString>;
|
|
4148
|
-
}, z.core.$strip>>>;
|
|
4149
|
-
}, z.core.$strip>>;
|
|
4150
|
-
credentialRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4151
|
-
key: z.ZodString;
|
|
4152
|
-
provider: z.ZodString;
|
|
4153
|
-
credentialType: z.ZodEnum<{
|
|
4154
|
-
"api-key": "api-key";
|
|
4155
|
-
"api-key-secret": "api-key-secret";
|
|
4156
|
-
oauth: "oauth";
|
|
4157
|
-
"webhook-secret": "webhook-secret";
|
|
4158
|
-
}>;
|
|
4159
|
-
label: z.ZodString;
|
|
4160
|
-
required: z.ZodBoolean;
|
|
4161
|
-
selectionMode: z.ZodOptional<z.ZodEnum<{
|
|
4162
|
-
single: "single";
|
|
4163
|
-
multiple: "multiple";
|
|
4164
|
-
}>>;
|
|
4165
|
-
inputPath: z.ZodString;
|
|
4166
|
-
verifyOnRun: z.ZodOptional<z.ZodBoolean>;
|
|
4167
|
-
}, z.core.$strip>>>;
|
|
4168
|
-
}, z.core.$strip>>;
|
|
4169
|
-
}, z.core.$strip>>;
|
|
4170
|
-
}, z.core.$strip>;
|
|
4171
|
-
projects: z.ZodObject<{
|
|
4172
|
-
projectEntityId: z.ZodString;
|
|
4173
|
-
milestoneEntityId: z.ZodString;
|
|
4174
|
-
taskEntityId: z.ZodString;
|
|
4175
|
-
projectStatuses: z.ZodArray<z.ZodObject<{
|
|
4176
|
-
label: z.ZodString;
|
|
4177
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4178
|
-
color: z.ZodOptional<z.ZodString>;
|
|
4179
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4180
|
-
"nav.dashboard": "nav.dashboard";
|
|
4181
|
-
"nav.calendar": "nav.calendar";
|
|
4182
|
-
"nav.sales": "nav.sales";
|
|
4183
|
-
"nav.crm": "nav.crm";
|
|
4184
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
4185
|
-
"nav.projects": "nav.projects";
|
|
4186
|
-
"nav.operations": "nav.operations";
|
|
4187
|
-
"nav.monitoring": "nav.monitoring";
|
|
4188
|
-
"nav.knowledge": "nav.knowledge";
|
|
4189
|
-
"nav.settings": "nav.settings";
|
|
4190
|
-
"nav.admin": "nav.admin";
|
|
4191
|
-
"nav.archive": "nav.archive";
|
|
4192
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
4193
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
4194
|
-
"knowledge.reference": "knowledge.reference";
|
|
4195
|
-
"feature.dashboard": "feature.dashboard";
|
|
4196
|
-
"feature.calendar": "feature.calendar";
|
|
4197
|
-
"feature.business": "feature.business";
|
|
4198
|
-
"feature.sales": "feature.sales";
|
|
4199
|
-
"feature.crm": "feature.crm";
|
|
4200
|
-
"feature.finance": "feature.finance";
|
|
4201
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
4202
|
-
"feature.platform": "feature.platform";
|
|
4203
|
-
"feature.projects": "feature.projects";
|
|
4204
|
-
"feature.operations": "feature.operations";
|
|
4205
|
-
"feature.knowledge": "feature.knowledge";
|
|
4206
|
-
"feature.monitoring": "feature.monitoring";
|
|
4207
|
-
"feature.settings": "feature.settings";
|
|
4208
|
-
"feature.admin": "feature.admin";
|
|
4209
|
-
"feature.archive": "feature.archive";
|
|
4210
|
-
"feature.seo": "feature.seo";
|
|
4211
|
-
"resource.agent": "resource.agent";
|
|
4212
|
-
"resource.workflow": "resource.workflow";
|
|
4213
|
-
"resource.integration": "resource.integration";
|
|
4214
|
-
"resource.database": "resource.database";
|
|
4215
|
-
"resource.user": "resource.user";
|
|
4216
|
-
"resource.team": "resource.team";
|
|
4217
|
-
"integration.gmail": "integration.gmail";
|
|
4218
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
4219
|
-
"integration.attio": "integration.attio";
|
|
4220
|
-
"surface.dashboard": "surface.dashboard";
|
|
4221
|
-
"surface.calendar": "surface.calendar";
|
|
4222
|
-
"surface.overview": "surface.overview";
|
|
4223
|
-
"surface.command-view": "surface.command-view";
|
|
4224
|
-
"surface.command-queue": "surface.command-queue";
|
|
4225
|
-
"surface.pipeline": "surface.pipeline";
|
|
4226
|
-
"surface.lists": "surface.lists";
|
|
4227
|
-
"surface.resources": "surface.resources";
|
|
4228
|
-
"surface.settings": "surface.settings";
|
|
4229
|
-
"status.success": "status.success";
|
|
4230
|
-
"status.error": "status.error";
|
|
4231
|
-
"status.warning": "status.warning";
|
|
4232
|
-
"status.info": "status.info";
|
|
4233
|
-
"status.pending": "status.pending";
|
|
4234
|
-
"action.approve": "action.approve";
|
|
4235
|
-
"action.reject": "action.reject";
|
|
4236
|
-
"action.retry": "action.retry";
|
|
4237
|
-
"action.edit": "action.edit";
|
|
4238
|
-
"action.view": "action.view";
|
|
4239
|
-
"action.launch": "action.launch";
|
|
4240
|
-
"action.message": "action.message";
|
|
4241
|
-
"action.escalate": "action.escalate";
|
|
4242
|
-
"action.promote": "action.promote";
|
|
4243
|
-
"action.submit": "action.submit";
|
|
4244
|
-
"action.email": "action.email";
|
|
4245
|
-
}>, z.ZodString]>>;
|
|
4246
|
-
id: z.ZodString;
|
|
4247
|
-
order: z.ZodNumber;
|
|
4248
|
-
}, z.core.$strip>>;
|
|
4249
|
-
milestoneStatuses: z.ZodArray<z.ZodObject<{
|
|
4250
|
-
label: z.ZodString;
|
|
4251
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4252
|
-
color: z.ZodOptional<z.ZodString>;
|
|
4253
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4254
|
-
"nav.dashboard": "nav.dashboard";
|
|
4255
|
-
"nav.calendar": "nav.calendar";
|
|
4256
|
-
"nav.sales": "nav.sales";
|
|
4257
|
-
"nav.crm": "nav.crm";
|
|
4258
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
4259
|
-
"nav.projects": "nav.projects";
|
|
4260
|
-
"nav.operations": "nav.operations";
|
|
4261
|
-
"nav.monitoring": "nav.monitoring";
|
|
4262
|
-
"nav.knowledge": "nav.knowledge";
|
|
4263
|
-
"nav.settings": "nav.settings";
|
|
4264
|
-
"nav.admin": "nav.admin";
|
|
4265
|
-
"nav.archive": "nav.archive";
|
|
4266
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
4267
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
4268
|
-
"knowledge.reference": "knowledge.reference";
|
|
4269
|
-
"feature.dashboard": "feature.dashboard";
|
|
4270
|
-
"feature.calendar": "feature.calendar";
|
|
4271
|
-
"feature.business": "feature.business";
|
|
4272
|
-
"feature.sales": "feature.sales";
|
|
4273
|
-
"feature.crm": "feature.crm";
|
|
4274
|
-
"feature.finance": "feature.finance";
|
|
4275
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
4276
|
-
"feature.platform": "feature.platform";
|
|
4277
|
-
"feature.projects": "feature.projects";
|
|
4278
|
-
"feature.operations": "feature.operations";
|
|
4279
|
-
"feature.knowledge": "feature.knowledge";
|
|
4280
|
-
"feature.monitoring": "feature.monitoring";
|
|
4281
|
-
"feature.settings": "feature.settings";
|
|
4282
|
-
"feature.admin": "feature.admin";
|
|
4283
|
-
"feature.archive": "feature.archive";
|
|
4284
|
-
"feature.seo": "feature.seo";
|
|
4285
|
-
"resource.agent": "resource.agent";
|
|
4286
|
-
"resource.workflow": "resource.workflow";
|
|
4287
|
-
"resource.integration": "resource.integration";
|
|
4288
|
-
"resource.database": "resource.database";
|
|
4289
|
-
"resource.user": "resource.user";
|
|
4290
|
-
"resource.team": "resource.team";
|
|
4291
|
-
"integration.gmail": "integration.gmail";
|
|
4292
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
4293
|
-
"integration.attio": "integration.attio";
|
|
4294
|
-
"surface.dashboard": "surface.dashboard";
|
|
4295
|
-
"surface.calendar": "surface.calendar";
|
|
4296
|
-
"surface.overview": "surface.overview";
|
|
4297
|
-
"surface.command-view": "surface.command-view";
|
|
4298
|
-
"surface.command-queue": "surface.command-queue";
|
|
4299
|
-
"surface.pipeline": "surface.pipeline";
|
|
4300
|
-
"surface.lists": "surface.lists";
|
|
4301
|
-
"surface.resources": "surface.resources";
|
|
4302
|
-
"surface.settings": "surface.settings";
|
|
4303
|
-
"status.success": "status.success";
|
|
4304
|
-
"status.error": "status.error";
|
|
4305
|
-
"status.warning": "status.warning";
|
|
4306
|
-
"status.info": "status.info";
|
|
4307
|
-
"status.pending": "status.pending";
|
|
4308
|
-
"action.approve": "action.approve";
|
|
4309
|
-
"action.reject": "action.reject";
|
|
4310
|
-
"action.retry": "action.retry";
|
|
4311
|
-
"action.edit": "action.edit";
|
|
4312
|
-
"action.view": "action.view";
|
|
4313
|
-
"action.launch": "action.launch";
|
|
4314
|
-
"action.message": "action.message";
|
|
4315
|
-
"action.escalate": "action.escalate";
|
|
4316
|
-
"action.promote": "action.promote";
|
|
4317
|
-
"action.submit": "action.submit";
|
|
4318
|
-
"action.email": "action.email";
|
|
4319
|
-
}>, z.ZodString]>>;
|
|
4320
|
-
id: z.ZodString;
|
|
4321
|
-
order: z.ZodNumber;
|
|
4322
|
-
}, z.core.$strip>>;
|
|
4323
|
-
taskStatuses: z.ZodArray<z.ZodObject<{
|
|
4324
|
-
label: z.ZodString;
|
|
4325
|
-
description: z.ZodOptional<z.ZodString>;
|
|
4326
|
-
color: z.ZodOptional<z.ZodString>;
|
|
4327
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4328
|
-
"nav.dashboard": "nav.dashboard";
|
|
4329
|
-
"nav.calendar": "nav.calendar";
|
|
4330
|
-
"nav.sales": "nav.sales";
|
|
4331
|
-
"nav.crm": "nav.crm";
|
|
4332
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
4333
|
-
"nav.projects": "nav.projects";
|
|
4334
|
-
"nav.operations": "nav.operations";
|
|
4335
|
-
"nav.monitoring": "nav.monitoring";
|
|
4336
|
-
"nav.knowledge": "nav.knowledge";
|
|
4337
|
-
"nav.settings": "nav.settings";
|
|
4338
|
-
"nav.admin": "nav.admin";
|
|
4339
|
-
"nav.archive": "nav.archive";
|
|
4340
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
4341
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
4342
|
-
"knowledge.reference": "knowledge.reference";
|
|
4343
|
-
"feature.dashboard": "feature.dashboard";
|
|
4344
|
-
"feature.calendar": "feature.calendar";
|
|
4345
|
-
"feature.business": "feature.business";
|
|
4346
|
-
"feature.sales": "feature.sales";
|
|
4347
|
-
"feature.crm": "feature.crm";
|
|
4348
|
-
"feature.finance": "feature.finance";
|
|
4349
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
4350
|
-
"feature.platform": "feature.platform";
|
|
4351
|
-
"feature.projects": "feature.projects";
|
|
4352
|
-
"feature.operations": "feature.operations";
|
|
4353
|
-
"feature.knowledge": "feature.knowledge";
|
|
4354
|
-
"feature.monitoring": "feature.monitoring";
|
|
4355
|
-
"feature.settings": "feature.settings";
|
|
4356
|
-
"feature.admin": "feature.admin";
|
|
4357
|
-
"feature.archive": "feature.archive";
|
|
4358
|
-
"feature.seo": "feature.seo";
|
|
4359
|
-
"resource.agent": "resource.agent";
|
|
4360
|
-
"resource.workflow": "resource.workflow";
|
|
4361
|
-
"resource.integration": "resource.integration";
|
|
4362
|
-
"resource.database": "resource.database";
|
|
4363
|
-
"resource.user": "resource.user";
|
|
4364
|
-
"resource.team": "resource.team";
|
|
4365
|
-
"integration.gmail": "integration.gmail";
|
|
4366
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
4367
|
-
"integration.attio": "integration.attio";
|
|
4368
|
-
"surface.dashboard": "surface.dashboard";
|
|
4369
|
-
"surface.calendar": "surface.calendar";
|
|
4370
|
-
"surface.overview": "surface.overview";
|
|
4371
|
-
"surface.command-view": "surface.command-view";
|
|
4372
|
-
"surface.command-queue": "surface.command-queue";
|
|
4373
|
-
"surface.pipeline": "surface.pipeline";
|
|
4374
|
-
"surface.lists": "surface.lists";
|
|
4375
|
-
"surface.resources": "surface.resources";
|
|
4376
|
-
"surface.settings": "surface.settings";
|
|
4377
|
-
"status.success": "status.success";
|
|
4378
|
-
"status.error": "status.error";
|
|
4379
|
-
"status.warning": "status.warning";
|
|
4380
|
-
"status.info": "status.info";
|
|
4381
|
-
"status.pending": "status.pending";
|
|
4382
|
-
"action.approve": "action.approve";
|
|
4383
|
-
"action.reject": "action.reject";
|
|
4384
|
-
"action.retry": "action.retry";
|
|
4385
|
-
"action.edit": "action.edit";
|
|
4386
|
-
"action.view": "action.view";
|
|
4387
|
-
"action.launch": "action.launch";
|
|
4388
|
-
"action.message": "action.message";
|
|
4389
|
-
"action.escalate": "action.escalate";
|
|
4390
|
-
"action.promote": "action.promote";
|
|
4391
|
-
"action.submit": "action.submit";
|
|
4392
|
-
"action.email": "action.email";
|
|
4393
|
-
}>, z.ZodString]>>;
|
|
4394
|
-
id: z.ZodString;
|
|
4395
|
-
order: z.ZodNumber;
|
|
4396
|
-
}, z.core.$strip>>;
|
|
4397
|
-
}, z.core.$strip>;
|
|
4398
|
-
identity: z.ZodDefault<z.ZodObject<{
|
|
4399
|
-
mission: z.ZodDefault<z.ZodString>;
|
|
4400
|
-
vision: z.ZodDefault<z.ZodString>;
|
|
4401
|
-
legalName: z.ZodDefault<z.ZodString>;
|
|
4402
|
-
entityType: z.ZodDefault<z.ZodString>;
|
|
4403
|
-
jurisdiction: z.ZodDefault<z.ZodString>;
|
|
4404
|
-
industryCategory: z.ZodDefault<z.ZodString>;
|
|
4405
|
-
geographicFocus: z.ZodDefault<z.ZodString>;
|
|
4406
|
-
timeZone: z.ZodDefault<z.ZodString>;
|
|
4407
|
-
businessHours: z.ZodDefault<z.ZodObject<{
|
|
4408
|
-
monday: z.ZodOptional<z.ZodObject<{
|
|
4409
|
-
open: z.ZodString;
|
|
4410
|
-
close: z.ZodString;
|
|
4411
|
-
}, z.core.$strip>>;
|
|
4412
|
-
tuesday: z.ZodOptional<z.ZodObject<{
|
|
4413
|
-
open: z.ZodString;
|
|
4414
|
-
close: z.ZodString;
|
|
4415
|
-
}, z.core.$strip>>;
|
|
4416
|
-
wednesday: z.ZodOptional<z.ZodObject<{
|
|
4417
|
-
open: z.ZodString;
|
|
4418
|
-
close: z.ZodString;
|
|
4419
|
-
}, z.core.$strip>>;
|
|
4420
|
-
thursday: z.ZodOptional<z.ZodObject<{
|
|
4421
|
-
open: z.ZodString;
|
|
4422
|
-
close: z.ZodString;
|
|
4423
|
-
}, z.core.$strip>>;
|
|
4424
|
-
friday: z.ZodOptional<z.ZodObject<{
|
|
4425
|
-
open: z.ZodString;
|
|
4426
|
-
close: z.ZodString;
|
|
4427
|
-
}, z.core.$strip>>;
|
|
4428
|
-
saturday: z.ZodOptional<z.ZodObject<{
|
|
4429
|
-
open: z.ZodString;
|
|
4430
|
-
close: z.ZodString;
|
|
4431
|
-
}, z.core.$strip>>;
|
|
4432
|
-
sunday: z.ZodOptional<z.ZodObject<{
|
|
4433
|
-
open: z.ZodString;
|
|
4434
|
-
close: z.ZodString;
|
|
4435
|
-
}, z.core.$strip>>;
|
|
4436
|
-
}, z.core.$strip>>;
|
|
4437
|
-
clientBrief: z.ZodDefault<z.ZodString>;
|
|
4438
|
-
}, z.core.$strip>>;
|
|
4439
|
-
customers: z.ZodDefault<z.ZodObject<{
|
|
4440
|
-
segments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4441
|
-
id: z.ZodString;
|
|
4442
|
-
name: z.ZodDefault<z.ZodString>;
|
|
4443
|
-
description: z.ZodDefault<z.ZodString>;
|
|
4444
|
-
jobsToBeDone: z.ZodDefault<z.ZodString>;
|
|
4445
|
-
pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4446
|
-
gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4447
|
-
firmographics: z.ZodDefault<z.ZodObject<{
|
|
4448
|
-
industry: z.ZodOptional<z.ZodString>;
|
|
4449
|
-
companySize: z.ZodOptional<z.ZodString>;
|
|
4450
|
-
region: z.ZodOptional<z.ZodString>;
|
|
4451
|
-
}, z.core.$strip>>;
|
|
4452
|
-
valueProp: z.ZodDefault<z.ZodString>;
|
|
4453
|
-
}, z.core.$strip>>>;
|
|
4454
|
-
}, z.core.$strip>>;
|
|
4455
|
-
offerings: z.ZodDefault<z.ZodObject<{
|
|
4456
|
-
products: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4457
|
-
id: z.ZodString;
|
|
4458
|
-
name: z.ZodDefault<z.ZodString>;
|
|
4459
|
-
description: z.ZodDefault<z.ZodString>;
|
|
4460
|
-
pricingModel: z.ZodDefault<z.ZodEnum<{
|
|
4461
|
-
custom: "custom";
|
|
4462
|
-
"one-time": "one-time";
|
|
4463
|
-
subscription: "subscription";
|
|
4464
|
-
"usage-based": "usage-based";
|
|
4465
|
-
}>>;
|
|
4466
|
-
price: z.ZodDefault<z.ZodNumber>;
|
|
4467
|
-
currency: z.ZodDefault<z.ZodString>;
|
|
4468
|
-
targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4469
|
-
deliveryFeatureId: z.ZodOptional<z.ZodString>;
|
|
4470
|
-
}, z.core.$strip>>>;
|
|
4471
|
-
}, z.core.$strip>>;
|
|
4472
|
-
roles: z.ZodDefault<z.ZodObject<{
|
|
4473
|
-
roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4474
|
-
id: z.ZodString;
|
|
4475
|
-
title: z.ZodString;
|
|
4476
|
-
responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4477
|
-
reportsToId: z.ZodOptional<z.ZodString>;
|
|
4478
|
-
heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4479
|
-
kind: z.ZodLiteral<"human">;
|
|
4480
|
-
userId: z.ZodString;
|
|
4481
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4482
|
-
kind: z.ZodLiteral<"agent">;
|
|
4483
|
-
agentId: z.ZodString;
|
|
4484
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4485
|
-
kind: z.ZodLiteral<"team">;
|
|
4486
|
-
memberIds: z.ZodArray<z.ZodString>;
|
|
4487
|
-
}, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4488
|
-
kind: z.ZodLiteral<"human">;
|
|
4489
|
-
userId: z.ZodString;
|
|
4490
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4491
|
-
kind: z.ZodLiteral<"agent">;
|
|
4492
|
-
agentId: z.ZodString;
|
|
4493
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4494
|
-
kind: z.ZodLiteral<"team">;
|
|
4495
|
-
memberIds: z.ZodArray<z.ZodString>;
|
|
4496
|
-
}, z.core.$strip>], "kind">>]>>;
|
|
4497
|
-
responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4498
|
-
}, z.core.$strip>>>;
|
|
4499
|
-
}, z.core.$strip>>;
|
|
4500
|
-
goals: z.ZodDefault<z.ZodObject<{
|
|
4501
|
-
objectives: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4502
|
-
id: z.ZodString;
|
|
4503
|
-
description: z.ZodString;
|
|
4504
|
-
periodStart: z.ZodString;
|
|
4505
|
-
periodEnd: z.ZodString;
|
|
4506
|
-
keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4507
4274
|
id: z.ZodString;
|
|
4508
|
-
|
|
4509
|
-
targetMetric: z.ZodString;
|
|
4510
|
-
currentValue: z.ZodDefault<z.ZodNumber>;
|
|
4511
|
-
targetValue: z.ZodOptional<z.ZodNumber>;
|
|
4512
|
-
}, z.core.$strip>>>;
|
|
4513
|
-
}, z.core.$strip>>>;
|
|
4514
|
-
}, z.core.$strip>>;
|
|
4515
|
-
systems: z.ZodDefault<z.ZodObject<{
|
|
4516
|
-
systems: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4517
|
-
id: z.ZodString;
|
|
4518
|
-
title: z.ZodString;
|
|
4519
|
-
description: z.ZodString;
|
|
4520
|
-
kind: z.ZodEnum<{
|
|
4521
|
-
platform: "platform";
|
|
4522
|
-
product: "product";
|
|
4523
|
-
operational: "operational";
|
|
4524
|
-
diagnostic: "diagnostic";
|
|
4525
|
-
}>;
|
|
4526
|
-
responsibleRoleId: z.ZodOptional<z.ZodString>;
|
|
4527
|
-
governedByKnowledge: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4528
|
-
drivesGoals: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4529
|
-
status: z.ZodEnum<{
|
|
4530
|
-
active: "active";
|
|
4531
|
-
deprecated: "deprecated";
|
|
4532
|
-
archived: "archived";
|
|
4533
|
-
}>;
|
|
4534
|
-
}, z.core.$strip>>>;
|
|
4535
|
-
}, z.core.$strip>>;
|
|
4536
|
-
resources: z.ZodDefault<z.ZodObject<{
|
|
4537
|
-
entries: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4538
|
-
id: z.ZodString;
|
|
4539
|
-
systemId: z.ZodString;
|
|
4540
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
4541
|
-
status: z.ZodEnum<{
|
|
4542
|
-
active: "active";
|
|
4543
|
-
deprecated: "deprecated";
|
|
4544
|
-
archived: "archived";
|
|
4545
|
-
}>;
|
|
4546
|
-
kind: z.ZodLiteral<"workflow">;
|
|
4547
|
-
capabilityKey: z.ZodOptional<z.ZodString>;
|
|
4275
|
+
}, z.core.$strip>;
|
|
4548
4276
|
}, z.core.$strip>, z.ZodObject<{
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
id: z.ZodString;
|
|
4568
|
-
systemId: z.ZodString;
|
|
4569
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
4570
|
-
status: z.ZodEnum<{
|
|
4571
|
-
active: "active";
|
|
4572
|
-
deprecated: "deprecated";
|
|
4573
|
-
archived: "archived";
|
|
4574
|
-
}>;
|
|
4575
|
-
kind: z.ZodLiteral<"integration">;
|
|
4576
|
-
provider: z.ZodString;
|
|
4577
|
-
}, z.core.$strip>], "kind">>>;
|
|
4578
|
-
}, z.core.$strip>>;
|
|
4579
|
-
statuses: z.ZodDefault<z.ZodObject<{
|
|
4580
|
-
entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4581
|
-
id: z.ZodString;
|
|
4582
|
-
label: z.ZodString;
|
|
4583
|
-
semanticClass: z.ZodEnum<{
|
|
4584
|
-
"delivery.project": "delivery.project";
|
|
4585
|
-
"delivery.milestone": "delivery.milestone";
|
|
4586
|
-
"delivery.task": "delivery.task";
|
|
4587
|
-
queue: "queue";
|
|
4588
|
-
execution: "execution";
|
|
4589
|
-
schedule: "schedule";
|
|
4590
|
-
"schedule.run": "schedule.run";
|
|
4591
|
-
request: "request";
|
|
4592
|
-
}>;
|
|
4593
|
-
category: z.ZodOptional<z.ZodString>;
|
|
4594
|
-
}, z.core.$strip>>>;
|
|
4595
|
-
}, z.core.$strip>>;
|
|
4596
|
-
operations: z.ZodDefault<z.ZodObject<{
|
|
4597
|
-
entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4598
|
-
id: z.ZodString;
|
|
4599
|
-
label: z.ZodString;
|
|
4600
|
-
semanticClass: z.ZodEnum<{
|
|
4601
|
-
queue: "queue";
|
|
4602
|
-
executions: "executions";
|
|
4603
|
-
sessions: "sessions";
|
|
4604
|
-
notifications: "notifications";
|
|
4605
|
-
schedules: "schedules";
|
|
4606
|
-
}>;
|
|
4607
|
-
featureId: z.ZodOptional<z.ZodString>;
|
|
4608
|
-
supportedStatusSemanticClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4609
|
-
}, z.core.$strip>>>;
|
|
4610
|
-
}, z.core.$strip>>;
|
|
4611
|
-
knowledge: z.ZodDefault<z.ZodObject<{
|
|
4612
|
-
nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4613
|
-
id: z.ZodString;
|
|
4614
|
-
kind: z.ZodEnum<{
|
|
4615
|
-
playbook: "playbook";
|
|
4616
|
-
strategy: "strategy";
|
|
4617
|
-
reference: "reference";
|
|
4618
|
-
}>;
|
|
4619
|
-
title: z.ZodString;
|
|
4620
|
-
summary: z.ZodString;
|
|
4621
|
-
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4622
|
-
"nav.dashboard": "nav.dashboard";
|
|
4623
|
-
"nav.calendar": "nav.calendar";
|
|
4624
|
-
"nav.sales": "nav.sales";
|
|
4625
|
-
"nav.crm": "nav.crm";
|
|
4626
|
-
"nav.lead-gen": "nav.lead-gen";
|
|
4627
|
-
"nav.projects": "nav.projects";
|
|
4628
|
-
"nav.operations": "nav.operations";
|
|
4629
|
-
"nav.monitoring": "nav.monitoring";
|
|
4630
|
-
"nav.knowledge": "nav.knowledge";
|
|
4631
|
-
"nav.settings": "nav.settings";
|
|
4632
|
-
"nav.admin": "nav.admin";
|
|
4633
|
-
"nav.archive": "nav.archive";
|
|
4634
|
-
"knowledge.playbook": "knowledge.playbook";
|
|
4635
|
-
"knowledge.strategy": "knowledge.strategy";
|
|
4636
|
-
"knowledge.reference": "knowledge.reference";
|
|
4637
|
-
"feature.dashboard": "feature.dashboard";
|
|
4638
|
-
"feature.calendar": "feature.calendar";
|
|
4639
|
-
"feature.business": "feature.business";
|
|
4640
|
-
"feature.sales": "feature.sales";
|
|
4641
|
-
"feature.crm": "feature.crm";
|
|
4642
|
-
"feature.finance": "feature.finance";
|
|
4643
|
-
"feature.lead-gen": "feature.lead-gen";
|
|
4644
|
-
"feature.platform": "feature.platform";
|
|
4645
|
-
"feature.projects": "feature.projects";
|
|
4646
|
-
"feature.operations": "feature.operations";
|
|
4647
|
-
"feature.knowledge": "feature.knowledge";
|
|
4648
|
-
"feature.monitoring": "feature.monitoring";
|
|
4649
|
-
"feature.settings": "feature.settings";
|
|
4650
|
-
"feature.admin": "feature.admin";
|
|
4651
|
-
"feature.archive": "feature.archive";
|
|
4652
|
-
"feature.seo": "feature.seo";
|
|
4653
|
-
"resource.agent": "resource.agent";
|
|
4654
|
-
"resource.workflow": "resource.workflow";
|
|
4655
|
-
"resource.integration": "resource.integration";
|
|
4656
|
-
"resource.database": "resource.database";
|
|
4657
|
-
"resource.user": "resource.user";
|
|
4658
|
-
"resource.team": "resource.team";
|
|
4659
|
-
"integration.gmail": "integration.gmail";
|
|
4660
|
-
"integration.google-sheets": "integration.google-sheets";
|
|
4661
|
-
"integration.attio": "integration.attio";
|
|
4662
|
-
"surface.dashboard": "surface.dashboard";
|
|
4663
|
-
"surface.calendar": "surface.calendar";
|
|
4664
|
-
"surface.overview": "surface.overview";
|
|
4665
|
-
"surface.command-view": "surface.command-view";
|
|
4666
|
-
"surface.command-queue": "surface.command-queue";
|
|
4667
|
-
"surface.pipeline": "surface.pipeline";
|
|
4668
|
-
"surface.lists": "surface.lists";
|
|
4669
|
-
"surface.resources": "surface.resources";
|
|
4670
|
-
"surface.settings": "surface.settings";
|
|
4671
|
-
"status.success": "status.success";
|
|
4672
|
-
"status.error": "status.error";
|
|
4673
|
-
"status.warning": "status.warning";
|
|
4674
|
-
"status.info": "status.info";
|
|
4675
|
-
"status.pending": "status.pending";
|
|
4676
|
-
"action.approve": "action.approve";
|
|
4677
|
-
"action.reject": "action.reject";
|
|
4678
|
-
"action.retry": "action.retry";
|
|
4679
|
-
"action.edit": "action.edit";
|
|
4680
|
-
"action.view": "action.view";
|
|
4681
|
-
"action.launch": "action.launch";
|
|
4682
|
-
"action.message": "action.message";
|
|
4683
|
-
"action.escalate": "action.escalate";
|
|
4684
|
-
"action.promote": "action.promote";
|
|
4685
|
-
"action.submit": "action.submit";
|
|
4686
|
-
"action.email": "action.email";
|
|
4687
|
-
}>, z.ZodString]>>;
|
|
4688
|
-
body: z.ZodString;
|
|
4689
|
-
links: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4690
|
-
nodeId: z.ZodString;
|
|
4691
|
-
}, z.core.$strip>>>;
|
|
4692
|
-
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4693
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
4694
|
-
ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4695
|
-
updatedAt: z.ZodString;
|
|
4696
|
-
}, z.core.$strip>>>;
|
|
4697
|
-
}, z.core.$strip>>;
|
|
4277
|
+
nodeId: z.ZodString;
|
|
4278
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
4279
|
+
target: {
|
|
4280
|
+
kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
4281
|
+
id: string;
|
|
4282
|
+
};
|
|
4283
|
+
nodeId: string;
|
|
4284
|
+
}, {
|
|
4285
|
+
nodeId: string;
|
|
4286
|
+
} | {
|
|
4287
|
+
target: {
|
|
4288
|
+
kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
4289
|
+
id: string;
|
|
4290
|
+
};
|
|
4291
|
+
}>>>>;
|
|
4292
|
+
ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4293
|
+
updatedAt: z.ZodString;
|
|
4294
|
+
}, z.core.$strip>>>>;
|
|
4698
4295
|
}, z.core.$strip>;
|
|
4699
4296
|
|
|
4700
4297
|
type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
|