@elevasis/sdk 1.25.0 → 1.26.1
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/cli.cjs +87 -120
- package/dist/index.d.ts +220 -50
- package/dist/index.js +4 -435
- package/dist/node/index.d.ts +46 -38
- package/dist/test-utils/index.d.ts +154 -40
- package/dist/test-utils/index.js +27 -355
- package/dist/types/worker/adapters/clickup.d.ts +22 -0
- package/dist/types/worker/adapters/index.d.ts +1 -0
- package/dist/worker/index.js +32 -354
- package/package.json +2 -2
- package/reference/_navigation.md +11 -1
- package/reference/_reference-manifest.json +70 -0
- package/reference/claude-config/rules/organization-model.md +12 -1
- package/reference/claude-config/rules/organization-os.md +12 -1
- package/reference/claude-config/skills/om/SKILL.md +13 -5
- package/reference/claude-config/skills/om/operations/codify-level-a.md +109 -100
- package/reference/claude-config/skills/om/operations/customers.md +10 -6
- package/reference/claude-config/skills/om/operations/features.md +7 -3
- package/reference/claude-config/skills/om/operations/goals.md +10 -6
- package/reference/claude-config/skills/om/operations/identity.md +8 -5
- package/reference/claude-config/skills/om/operations/labels.md +17 -1
- package/reference/claude-config/skills/om/operations/offerings.md +11 -7
- package/reference/claude-config/skills/om/operations/roles.md +11 -7
- package/reference/claude-config/skills/om/operations/techStack.md +10 -2
- package/reference/claude-config/skills/setup/SKILL.md +2 -2
- package/reference/claude-config/sync-notes/2026-05-20-om-define-helpers.md +32 -0
- package/reference/claude-config/sync-notes/2026-05-22-access-model-and-right-panel.md +43 -0
- package/reference/claude-config/sync-notes/2026-05-22-lead-gen-tenant-config.md +40 -0
- package/reference/claude-config/sync-notes/2026-05-22-org-model-multi-file-split.md +61 -0
- package/reference/claude-config/sync-notes/2026-05-23-branding-names-to-identity.md +49 -0
- package/reference/claude-config/sync-notes/2026-05-23-om-deployment-drift-detection.md +42 -0
- package/reference/cli-management.mdx +541 -0
- package/reference/cli.mdx +4 -532
- package/reference/concepts.mdx +134 -146
- package/reference/deployment/api.mdx +296 -297
- package/reference/deployment/command-center.mdx +208 -209
- package/reference/deployment/index.mdx +194 -195
- package/reference/deployment/provided-features.mdx +110 -107
- package/reference/deployment/ui-execution.mdx +249 -250
- package/reference/examples/organization-model.ts +14 -4
- package/reference/framework/index.mdx +111 -195
- package/reference/framework/resource-documentation.mdx +90 -0
- package/reference/framework/tutorial-system.mdx +135 -135
- package/reference/getting-started.mdx +141 -142
- package/reference/index.mdx +95 -106
- package/reference/packages/ui/src/auth/README.md +6 -6
- package/reference/platform-tools/adapters-integration.mdx +300 -301
- package/reference/platform-tools/adapters-platform.mdx +552 -553
- package/reference/platform-tools/index.mdx +216 -217
- package/reference/platform-tools/type-safety.mdx +82 -82
- package/reference/resources/index.mdx +348 -349
- package/reference/resources/patterns.mdx +446 -449
- package/reference/resources/types.mdx +115 -116
- package/reference/roadmap.mdx +164 -165
- package/reference/rules/organization-model.md +14 -0
- package/reference/runtime.mdx +172 -173
- package/reference/scaffold/operations/propagation-pipeline.md +1 -1
- package/reference/scaffold/recipes/extend-lead-gen.md +130 -77
- package/reference/scaffold/reference/contracts.md +376 -446
- package/reference/scaffold/reference/glossary.md +8 -6
- package/reference/scaffold/ui/feature-flags-and-gating.md +59 -46
- package/reference/scaffold/ui/feature-shell.mdx +11 -11
- package/reference/scaffold/ui/recipes.md +24 -24
- package/reference/troubleshooting.mdx +222 -223
|
@@ -336,8 +336,8 @@ interface ModelConfig {
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
339
|
-
deprecated: "deprecated";
|
|
340
339
|
active: "active";
|
|
340
|
+
deprecated: "deprecated";
|
|
341
341
|
archived: "archived";
|
|
342
342
|
}>;
|
|
343
343
|
declare const WorkflowResourceEntrySchema: z.ZodObject<{
|
|
@@ -348,8 +348,8 @@ declare const WorkflowResourceEntrySchema: z.ZodObject<{
|
|
|
348
348
|
description: z.ZodOptional<z.ZodString>;
|
|
349
349
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
350
350
|
status: z.ZodEnum<{
|
|
351
|
-
deprecated: "deprecated";
|
|
352
351
|
active: "active";
|
|
352
|
+
deprecated: "deprecated";
|
|
353
353
|
archived: "archived";
|
|
354
354
|
}>;
|
|
355
355
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -367,12 +367,12 @@ declare const WorkflowResourceEntrySchema: z.ZodObject<{
|
|
|
367
367
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
368
368
|
path: z.ZodString;
|
|
369
369
|
role: z.ZodEnum<{
|
|
370
|
-
config: "config";
|
|
371
370
|
entrypoint: "entrypoint";
|
|
372
371
|
handler: "handler";
|
|
373
372
|
schema: "schema";
|
|
374
373
|
test: "test";
|
|
375
374
|
docs: "docs";
|
|
375
|
+
config: "config";
|
|
376
376
|
}>;
|
|
377
377
|
symbol: z.ZodOptional<z.ZodString>;
|
|
378
378
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -383,10 +383,10 @@ declare const WorkflowResourceEntrySchema: z.ZodObject<{
|
|
|
383
383
|
label: z.ZodString;
|
|
384
384
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
385
385
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
386
|
+
active: "active";
|
|
386
387
|
deprecated: "deprecated";
|
|
387
388
|
draft: "draft";
|
|
388
389
|
beta: "beta";
|
|
389
|
-
active: "active";
|
|
390
390
|
archived: "archived";
|
|
391
391
|
}>>;
|
|
392
392
|
}, z.core.$strip>>>;
|
|
@@ -399,8 +399,8 @@ declare const AgentResourceEntrySchema: z.ZodObject<{
|
|
|
399
399
|
description: z.ZodOptional<z.ZodString>;
|
|
400
400
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
401
401
|
status: z.ZodEnum<{
|
|
402
|
-
deprecated: "deprecated";
|
|
403
402
|
active: "active";
|
|
403
|
+
deprecated: "deprecated";
|
|
404
404
|
archived: "archived";
|
|
405
405
|
}>;
|
|
406
406
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -418,12 +418,12 @@ declare const AgentResourceEntrySchema: z.ZodObject<{
|
|
|
418
418
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
419
419
|
path: z.ZodString;
|
|
420
420
|
role: z.ZodEnum<{
|
|
421
|
-
config: "config";
|
|
422
421
|
entrypoint: "entrypoint";
|
|
423
422
|
handler: "handler";
|
|
424
423
|
schema: "schema";
|
|
425
424
|
test: "test";
|
|
426
425
|
docs: "docs";
|
|
426
|
+
config: "config";
|
|
427
427
|
}>;
|
|
428
428
|
symbol: z.ZodOptional<z.ZodString>;
|
|
429
429
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -465,10 +465,10 @@ declare const AgentResourceEntrySchema: z.ZodObject<{
|
|
|
465
465
|
label: z.ZodString;
|
|
466
466
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
467
467
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
468
|
+
active: "active";
|
|
468
469
|
deprecated: "deprecated";
|
|
469
470
|
draft: "draft";
|
|
470
471
|
beta: "beta";
|
|
471
|
-
active: "active";
|
|
472
472
|
archived: "archived";
|
|
473
473
|
}>>;
|
|
474
474
|
}, z.core.$strip>>>;
|
|
@@ -481,8 +481,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
481
481
|
description: z.ZodOptional<z.ZodString>;
|
|
482
482
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
483
483
|
status: z.ZodEnum<{
|
|
484
|
-
deprecated: "deprecated";
|
|
485
484
|
active: "active";
|
|
485
|
+
deprecated: "deprecated";
|
|
486
486
|
archived: "archived";
|
|
487
487
|
}>;
|
|
488
488
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -500,12 +500,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
500
500
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
501
501
|
path: z.ZodString;
|
|
502
502
|
role: z.ZodEnum<{
|
|
503
|
-
config: "config";
|
|
504
503
|
entrypoint: "entrypoint";
|
|
505
504
|
handler: "handler";
|
|
506
505
|
schema: "schema";
|
|
507
506
|
test: "test";
|
|
508
507
|
docs: "docs";
|
|
508
|
+
config: "config";
|
|
509
509
|
}>;
|
|
510
510
|
symbol: z.ZodOptional<z.ZodString>;
|
|
511
511
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -516,10 +516,10 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
516
516
|
label: z.ZodString;
|
|
517
517
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
518
518
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
519
|
+
active: "active";
|
|
519
520
|
deprecated: "deprecated";
|
|
520
521
|
draft: "draft";
|
|
521
522
|
beta: "beta";
|
|
522
|
-
active: "active";
|
|
523
523
|
archived: "archived";
|
|
524
524
|
}>>;
|
|
525
525
|
}, z.core.$strip>>>;
|
|
@@ -531,8 +531,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
531
531
|
description: z.ZodOptional<z.ZodString>;
|
|
532
532
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
533
533
|
status: z.ZodEnum<{
|
|
534
|
-
deprecated: "deprecated";
|
|
535
534
|
active: "active";
|
|
535
|
+
deprecated: "deprecated";
|
|
536
536
|
archived: "archived";
|
|
537
537
|
}>;
|
|
538
538
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -550,12 +550,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
550
550
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
551
551
|
path: z.ZodString;
|
|
552
552
|
role: z.ZodEnum<{
|
|
553
|
-
config: "config";
|
|
554
553
|
entrypoint: "entrypoint";
|
|
555
554
|
handler: "handler";
|
|
556
555
|
schema: "schema";
|
|
557
556
|
test: "test";
|
|
558
557
|
docs: "docs";
|
|
558
|
+
config: "config";
|
|
559
559
|
}>;
|
|
560
560
|
symbol: z.ZodOptional<z.ZodString>;
|
|
561
561
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -597,10 +597,10 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
597
597
|
label: z.ZodString;
|
|
598
598
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
599
599
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
600
|
+
active: "active";
|
|
600
601
|
deprecated: "deprecated";
|
|
601
602
|
draft: "draft";
|
|
602
603
|
beta: "beta";
|
|
603
|
-
active: "active";
|
|
604
604
|
archived: "archived";
|
|
605
605
|
}>>;
|
|
606
606
|
}, z.core.$strip>>>;
|
|
@@ -612,8 +612,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
612
612
|
description: z.ZodOptional<z.ZodString>;
|
|
613
613
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
614
614
|
status: z.ZodEnum<{
|
|
615
|
-
deprecated: "deprecated";
|
|
616
615
|
active: "active";
|
|
616
|
+
deprecated: "deprecated";
|
|
617
617
|
archived: "archived";
|
|
618
618
|
}>;
|
|
619
619
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -631,12 +631,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
631
631
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
632
632
|
path: z.ZodString;
|
|
633
633
|
role: z.ZodEnum<{
|
|
634
|
-
config: "config";
|
|
635
634
|
entrypoint: "entrypoint";
|
|
636
635
|
handler: "handler";
|
|
637
636
|
schema: "schema";
|
|
638
637
|
test: "test";
|
|
639
638
|
docs: "docs";
|
|
639
|
+
config: "config";
|
|
640
640
|
}>;
|
|
641
641
|
symbol: z.ZodOptional<z.ZodString>;
|
|
642
642
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -651,8 +651,8 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
651
651
|
description: z.ZodOptional<z.ZodString>;
|
|
652
652
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
653
653
|
status: z.ZodEnum<{
|
|
654
|
-
deprecated: "deprecated";
|
|
655
654
|
active: "active";
|
|
655
|
+
deprecated: "deprecated";
|
|
656
656
|
archived: "archived";
|
|
657
657
|
}>;
|
|
658
658
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -670,12 +670,12 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
670
670
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
671
671
|
path: z.ZodString;
|
|
672
672
|
role: z.ZodEnum<{
|
|
673
|
-
config: "config";
|
|
674
673
|
entrypoint: "entrypoint";
|
|
675
674
|
handler: "handler";
|
|
676
675
|
schema: "schema";
|
|
677
676
|
test: "test";
|
|
678
677
|
docs: "docs";
|
|
678
|
+
config: "config";
|
|
679
679
|
}>;
|
|
680
680
|
symbol: z.ZodOptional<z.ZodString>;
|
|
681
681
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2717,6 +2717,51 @@ type Database = {
|
|
|
2717
2717
|
}
|
|
2718
2718
|
];
|
|
2719
2719
|
};
|
|
2720
|
+
deployment_organization_models: {
|
|
2721
|
+
Row: {
|
|
2722
|
+
created_at: string;
|
|
2723
|
+
deployment_id: string;
|
|
2724
|
+
model_hash: string | null;
|
|
2725
|
+
organization_id: string;
|
|
2726
|
+
organization_model: Json;
|
|
2727
|
+
schema_version: string;
|
|
2728
|
+
updated_at: string;
|
|
2729
|
+
};
|
|
2730
|
+
Insert: {
|
|
2731
|
+
created_at?: string;
|
|
2732
|
+
deployment_id: string;
|
|
2733
|
+
model_hash?: string | null;
|
|
2734
|
+
organization_id: string;
|
|
2735
|
+
organization_model: Json;
|
|
2736
|
+
schema_version?: string;
|
|
2737
|
+
updated_at?: string;
|
|
2738
|
+
};
|
|
2739
|
+
Update: {
|
|
2740
|
+
created_at?: string;
|
|
2741
|
+
deployment_id?: string;
|
|
2742
|
+
model_hash?: string | null;
|
|
2743
|
+
organization_id?: string;
|
|
2744
|
+
organization_model?: Json;
|
|
2745
|
+
schema_version?: string;
|
|
2746
|
+
updated_at?: string;
|
|
2747
|
+
};
|
|
2748
|
+
Relationships: [
|
|
2749
|
+
{
|
|
2750
|
+
foreignKeyName: "deployment_organization_models_deployment_id_fkey";
|
|
2751
|
+
columns: ["deployment_id"];
|
|
2752
|
+
isOneToOne: true;
|
|
2753
|
+
referencedRelation: "deployments";
|
|
2754
|
+
referencedColumns: ["id"];
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
foreignKeyName: "deployment_organization_models_organization_id_fkey";
|
|
2758
|
+
columns: ["organization_id"];
|
|
2759
|
+
isOneToOne: false;
|
|
2760
|
+
referencedRelation: "organizations";
|
|
2761
|
+
referencedColumns: ["id"];
|
|
2762
|
+
}
|
|
2763
|
+
];
|
|
2764
|
+
};
|
|
2720
2765
|
deployments: {
|
|
2721
2766
|
Row: {
|
|
2722
2767
|
created_at: string;
|
|
@@ -4039,6 +4084,7 @@ type Database = {
|
|
|
4039
4084
|
title: string | null;
|
|
4040
4085
|
updated_at: string;
|
|
4041
4086
|
user_id: string;
|
|
4087
|
+
visibility: string;
|
|
4042
4088
|
};
|
|
4043
4089
|
Insert: {
|
|
4044
4090
|
content: string;
|
|
@@ -4053,6 +4099,7 @@ type Database = {
|
|
|
4053
4099
|
title?: string | null;
|
|
4054
4100
|
updated_at?: string;
|
|
4055
4101
|
user_id: string;
|
|
4102
|
+
visibility?: string;
|
|
4056
4103
|
};
|
|
4057
4104
|
Update: {
|
|
4058
4105
|
content?: string;
|
|
@@ -4067,6 +4114,7 @@ type Database = {
|
|
|
4067
4114
|
title?: string | null;
|
|
4068
4115
|
updated_at?: string;
|
|
4069
4116
|
user_id?: string;
|
|
4117
|
+
visibility?: string;
|
|
4070
4118
|
};
|
|
4071
4119
|
Relationships: [
|
|
4072
4120
|
{
|
|
@@ -4235,6 +4283,12 @@ type Database = {
|
|
|
4235
4283
|
Args: never;
|
|
4236
4284
|
Returns: boolean;
|
|
4237
4285
|
};
|
|
4286
|
+
current_user_shares_org_with: {
|
|
4287
|
+
Args: {
|
|
4288
|
+
other_user_id: string;
|
|
4289
|
+
};
|
|
4290
|
+
Returns: boolean;
|
|
4291
|
+
};
|
|
4238
4292
|
current_user_supabase_id: {
|
|
4239
4293
|
Args: never;
|
|
4240
4294
|
Returns: string;
|
|
@@ -4274,6 +4328,20 @@ type Database = {
|
|
|
4274
4328
|
Args: never;
|
|
4275
4329
|
Returns: string;
|
|
4276
4330
|
};
|
|
4331
|
+
has_org_access: {
|
|
4332
|
+
Args: {
|
|
4333
|
+
action?: string;
|
|
4334
|
+
org_id: string;
|
|
4335
|
+
system_path: string;
|
|
4336
|
+
};
|
|
4337
|
+
Returns: boolean;
|
|
4338
|
+
} | {
|
|
4339
|
+
Args: {
|
|
4340
|
+
action?: string;
|
|
4341
|
+
system_path: string;
|
|
4342
|
+
};
|
|
4343
|
+
Returns: boolean;
|
|
4344
|
+
};
|
|
4277
4345
|
has_org_permission: {
|
|
4278
4346
|
Args: {
|
|
4279
4347
|
org_id: string;
|
|
@@ -4805,7 +4873,12 @@ declare const PipelineStageSchema: z.ZodObject<{
|
|
|
4805
4873
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4806
4874
|
order: z.ZodOptional<z.ZodNumber>;
|
|
4807
4875
|
}, z.core.$strip>;
|
|
4876
|
+
declare const DataModeSchema: z.ZodEnum<{
|
|
4877
|
+
mock: "mock";
|
|
4878
|
+
live: "live";
|
|
4879
|
+
}>;
|
|
4808
4880
|
type PipelineStage = z.infer<typeof PipelineStageSchema>;
|
|
4881
|
+
type DataMode = z.infer<typeof DataModeSchema>;
|
|
4809
4882
|
type ProcessingStageStatus = z.infer<typeof ProcessingStageStatusSchema>;
|
|
4810
4883
|
|
|
4811
4884
|
/** Raw database row type for acq_deals table */
|
|
@@ -4911,7 +4984,8 @@ interface IcpRubric {
|
|
|
4911
4984
|
[key: string]: unknown;
|
|
4912
4985
|
}
|
|
4913
4986
|
interface PipelineConfig {
|
|
4914
|
-
stages
|
|
4987
|
+
stages?: PipelineStage[];
|
|
4988
|
+
dataMode?: DataMode;
|
|
4915
4989
|
}
|
|
4916
4990
|
type BuildPlanSnapshotPrimaryEntity = 'company' | 'contact';
|
|
4917
4991
|
type BuildPlanSnapshotOutput = 'company' | 'contact' | 'export';
|
|
@@ -5465,6 +5539,7 @@ interface UpdateCompanyStageParams {
|
|
|
5465
5539
|
companyId: string;
|
|
5466
5540
|
stage: string;
|
|
5467
5541
|
status?: ProcessingStageStatus;
|
|
5542
|
+
data?: unknown;
|
|
5468
5543
|
executionId?: string;
|
|
5469
5544
|
}
|
|
5470
5545
|
interface UpdateContactStageParams {
|
|
@@ -5473,8 +5548,21 @@ interface UpdateContactStageParams {
|
|
|
5473
5548
|
contactId: string;
|
|
5474
5549
|
stage: string;
|
|
5475
5550
|
status?: ProcessingStageStatus;
|
|
5551
|
+
data?: unknown;
|
|
5476
5552
|
executionId?: string;
|
|
5477
5553
|
}
|
|
5554
|
+
interface ClearCompanyStagesParams {
|
|
5555
|
+
organizationId: string;
|
|
5556
|
+
listId: string;
|
|
5557
|
+
companyId: string;
|
|
5558
|
+
stages: string[];
|
|
5559
|
+
}
|
|
5560
|
+
interface ClearContactStagesParams {
|
|
5561
|
+
organizationId: string;
|
|
5562
|
+
listId: string;
|
|
5563
|
+
contactId: string;
|
|
5564
|
+
stages: string[];
|
|
5565
|
+
}
|
|
5478
5566
|
interface ListPendingCompanyIdsParams {
|
|
5479
5567
|
organizationId: string;
|
|
5480
5568
|
listId: string;
|
|
@@ -5814,9 +5902,9 @@ declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
|
5814
5902
|
dashboard: "dashboard";
|
|
5815
5903
|
settings: "settings";
|
|
5816
5904
|
graph: "graph";
|
|
5817
|
-
list: "list";
|
|
5818
5905
|
page: "page";
|
|
5819
5906
|
detail: "detail";
|
|
5907
|
+
list: "list";
|
|
5820
5908
|
}>;
|
|
5821
5909
|
interface SidebarSurfaceNode {
|
|
5822
5910
|
type: 'surface';
|
|
@@ -5848,10 +5936,10 @@ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
|
5848
5936
|
declare const LinkSchema: z.ZodObject<{
|
|
5849
5937
|
nodeId: z.ZodString;
|
|
5850
5938
|
kind: z.ZodEnum<{
|
|
5851
|
-
links: "links";
|
|
5852
5939
|
affects: "affects";
|
|
5853
|
-
effects: "effects";
|
|
5854
5940
|
actions: "actions";
|
|
5941
|
+
effects: "effects";
|
|
5942
|
+
links: "links";
|
|
5855
5943
|
reads: "reads";
|
|
5856
5944
|
writes: "writes";
|
|
5857
5945
|
emits: "emits";
|
|
@@ -6052,7 +6140,11 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6052
6140
|
light: z.ZodOptional<z.ZodString>;
|
|
6053
6141
|
dark: z.ZodOptional<z.ZodString>;
|
|
6054
6142
|
}, z.core.$strip>>;
|
|
6055
|
-
|
|
6143
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
6144
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
6145
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6146
|
+
themePresetId: z.ZodOptional<z.ZodString>;
|
|
6147
|
+
}, z.core.$loose>>;
|
|
6056
6148
|
navigation: z.ZodDefault<z.ZodObject<{
|
|
6057
6149
|
sidebar: z.ZodDefault<z.ZodObject<{
|
|
6058
6150
|
primary: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
@@ -6099,7 +6191,11 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6099
6191
|
}, z.core.$strip>>;
|
|
6100
6192
|
}, z.core.$strip>>;
|
|
6101
6193
|
clientBrief: z.ZodDefault<z.ZodString>;
|
|
6102
|
-
|
|
6194
|
+
organizationName: z.ZodOptional<z.ZodString>;
|
|
6195
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
6196
|
+
shortName: z.ZodOptional<z.ZodString>;
|
|
6197
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6198
|
+
}, z.core.$loose>>;
|
|
6103
6199
|
customers: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6104
6200
|
id: z.ZodString;
|
|
6105
6201
|
order: z.ZodNumber;
|
|
@@ -6273,8 +6369,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6273
6369
|
description: z.ZodOptional<z.ZodString>;
|
|
6274
6370
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
6275
6371
|
status: z.ZodEnum<{
|
|
6276
|
-
deprecated: "deprecated";
|
|
6277
6372
|
active: "active";
|
|
6373
|
+
deprecated: "deprecated";
|
|
6278
6374
|
archived: "archived";
|
|
6279
6375
|
}>;
|
|
6280
6376
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -6292,12 +6388,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6292
6388
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6293
6389
|
path: z.ZodString;
|
|
6294
6390
|
role: z.ZodEnum<{
|
|
6295
|
-
config: "config";
|
|
6296
6391
|
entrypoint: "entrypoint";
|
|
6297
6392
|
handler: "handler";
|
|
6298
6393
|
schema: "schema";
|
|
6299
6394
|
test: "test";
|
|
6300
6395
|
docs: "docs";
|
|
6396
|
+
config: "config";
|
|
6301
6397
|
}>;
|
|
6302
6398
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6303
6399
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6308,10 +6404,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6308
6404
|
label: z.ZodString;
|
|
6309
6405
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
6310
6406
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
6407
|
+
active: "active";
|
|
6311
6408
|
deprecated: "deprecated";
|
|
6312
6409
|
draft: "draft";
|
|
6313
6410
|
beta: "beta";
|
|
6314
|
-
active: "active";
|
|
6315
6411
|
archived: "archived";
|
|
6316
6412
|
}>>;
|
|
6317
6413
|
}, z.core.$strip>>>;
|
|
@@ -6323,8 +6419,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6323
6419
|
description: z.ZodOptional<z.ZodString>;
|
|
6324
6420
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
6325
6421
|
status: z.ZodEnum<{
|
|
6326
|
-
deprecated: "deprecated";
|
|
6327
6422
|
active: "active";
|
|
6423
|
+
deprecated: "deprecated";
|
|
6328
6424
|
archived: "archived";
|
|
6329
6425
|
}>;
|
|
6330
6426
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -6342,12 +6438,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6342
6438
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6343
6439
|
path: z.ZodString;
|
|
6344
6440
|
role: z.ZodEnum<{
|
|
6345
|
-
config: "config";
|
|
6346
6441
|
entrypoint: "entrypoint";
|
|
6347
6442
|
handler: "handler";
|
|
6348
6443
|
schema: "schema";
|
|
6349
6444
|
test: "test";
|
|
6350
6445
|
docs: "docs";
|
|
6446
|
+
config: "config";
|
|
6351
6447
|
}>;
|
|
6352
6448
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6353
6449
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6389,10 +6485,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6389
6485
|
label: z.ZodString;
|
|
6390
6486
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
6391
6487
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
6488
|
+
active: "active";
|
|
6392
6489
|
deprecated: "deprecated";
|
|
6393
6490
|
draft: "draft";
|
|
6394
6491
|
beta: "beta";
|
|
6395
|
-
active: "active";
|
|
6396
6492
|
archived: "archived";
|
|
6397
6493
|
}>>;
|
|
6398
6494
|
}, z.core.$strip>>>;
|
|
@@ -6404,8 +6500,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6404
6500
|
description: z.ZodOptional<z.ZodString>;
|
|
6405
6501
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
6406
6502
|
status: z.ZodEnum<{
|
|
6407
|
-
deprecated: "deprecated";
|
|
6408
6503
|
active: "active";
|
|
6504
|
+
deprecated: "deprecated";
|
|
6409
6505
|
archived: "archived";
|
|
6410
6506
|
}>;
|
|
6411
6507
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -6423,12 +6519,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6423
6519
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6424
6520
|
path: z.ZodString;
|
|
6425
6521
|
role: z.ZodEnum<{
|
|
6426
|
-
config: "config";
|
|
6427
6522
|
entrypoint: "entrypoint";
|
|
6428
6523
|
handler: "handler";
|
|
6429
6524
|
schema: "schema";
|
|
6430
6525
|
test: "test";
|
|
6431
6526
|
docs: "docs";
|
|
6527
|
+
config: "config";
|
|
6432
6528
|
}>;
|
|
6433
6529
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6434
6530
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6443,8 +6539,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6443
6539
|
description: z.ZodOptional<z.ZodString>;
|
|
6444
6540
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
6445
6541
|
status: z.ZodEnum<{
|
|
6446
|
-
deprecated: "deprecated";
|
|
6447
6542
|
active: "active";
|
|
6543
|
+
deprecated: "deprecated";
|
|
6448
6544
|
archived: "archived";
|
|
6449
6545
|
}>;
|
|
6450
6546
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -6462,12 +6558,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6462
6558
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6463
6559
|
path: z.ZodString;
|
|
6464
6560
|
role: z.ZodEnum<{
|
|
6465
|
-
config: "config";
|
|
6466
6561
|
entrypoint: "entrypoint";
|
|
6467
6562
|
handler: "handler";
|
|
6468
6563
|
schema: "schema";
|
|
6469
6564
|
test: "test";
|
|
6470
6565
|
docs: "docs";
|
|
6566
|
+
config: "config";
|
|
6471
6567
|
}>;
|
|
6472
6568
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6473
6569
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6581,10 +6677,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6581
6677
|
}, z.core.$strip>], "kind">>>;
|
|
6582
6678
|
knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
6583
6679
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
6680
|
+
active: "active";
|
|
6584
6681
|
deprecated: "deprecated";
|
|
6585
6682
|
draft: "draft";
|
|
6586
6683
|
beta: "beta";
|
|
6587
|
-
active: "active";
|
|
6588
6684
|
archived: "archived";
|
|
6589
6685
|
}>>;
|
|
6590
6686
|
}, z.core.$strip>>>>;
|
|
@@ -6662,10 +6758,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6662
6758
|
roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6663
6759
|
}, z.core.$strip>>;
|
|
6664
6760
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
6761
|
+
active: "active";
|
|
6665
6762
|
deprecated: "deprecated";
|
|
6666
6763
|
draft: "draft";
|
|
6667
6764
|
beta: "beta";
|
|
6668
|
-
active: "active";
|
|
6669
6765
|
archived: "archived";
|
|
6670
6766
|
}>>;
|
|
6671
6767
|
}, z.core.$strip>>>>;
|
|
@@ -6748,12 +6844,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6748
6844
|
kind: z.ZodEnum<{
|
|
6749
6845
|
knowledge: "knowledge";
|
|
6750
6846
|
system: "system";
|
|
6847
|
+
resource: "resource";
|
|
6751
6848
|
action: "action";
|
|
6752
6849
|
ontology: "ontology";
|
|
6753
6850
|
role: "role";
|
|
6754
|
-
goal: "goal";
|
|
6755
|
-
resource: "resource";
|
|
6756
6851
|
stage: "stage";
|
|
6852
|
+
goal: "goal";
|
|
6757
6853
|
"customer-segment": "customer-segment";
|
|
6758
6854
|
offering: "offering";
|
|
6759
6855
|
}>;
|
|
@@ -6763,7 +6859,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6763
6859
|
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
6764
6860
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
6765
6861
|
target: {
|
|
6766
|
-
kind: "knowledge" | "system" | "
|
|
6862
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
6767
6863
|
id: string;
|
|
6768
6864
|
};
|
|
6769
6865
|
nodeId: string;
|
|
@@ -6771,7 +6867,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6771
6867
|
nodeId: string;
|
|
6772
6868
|
} | {
|
|
6773
6869
|
target: {
|
|
6774
|
-
kind: "knowledge" | "system" | "
|
|
6870
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
6775
6871
|
id: string;
|
|
6776
6872
|
};
|
|
6777
6873
|
}>>>>;
|
|
@@ -9355,6 +9451,14 @@ type LeadToolMap = {
|
|
|
9355
9451
|
params: Omit<UpdateContactStageParams, 'organizationId'>;
|
|
9356
9452
|
result: void;
|
|
9357
9453
|
};
|
|
9454
|
+
clearCompanyStages: {
|
|
9455
|
+
params: Omit<ClearCompanyStagesParams, 'organizationId'>;
|
|
9456
|
+
result: void;
|
|
9457
|
+
};
|
|
9458
|
+
clearContactStages: {
|
|
9459
|
+
params: Omit<ClearContactStagesParams, 'organizationId'>;
|
|
9460
|
+
result: void;
|
|
9461
|
+
};
|
|
9358
9462
|
createCompany: {
|
|
9359
9463
|
params: Omit<CreateCompanyParams, 'organizationId'>;
|
|
9360
9464
|
result: AcqCompany;
|
|
@@ -9618,7 +9722,9 @@ type ListToolMap = {
|
|
|
9618
9722
|
result: {
|
|
9619
9723
|
scrapingConfig: ScrapingConfig;
|
|
9620
9724
|
icp: IcpRubric;
|
|
9621
|
-
pipelineConfig: PipelineConfig
|
|
9725
|
+
pipelineConfig: PipelineConfig & {
|
|
9726
|
+
dataMode: 'mock' | 'live';
|
|
9727
|
+
};
|
|
9622
9728
|
};
|
|
9623
9729
|
};
|
|
9624
9730
|
recordExecution: {
|
|
@@ -9633,6 +9739,14 @@ type ListToolMap = {
|
|
|
9633
9739
|
params: Omit<UpdateContactStageParams, 'organizationId'>;
|
|
9634
9740
|
result: void;
|
|
9635
9741
|
};
|
|
9742
|
+
clearCompanyStages: {
|
|
9743
|
+
params: Omit<ClearCompanyStagesParams, 'organizationId'>;
|
|
9744
|
+
result: void;
|
|
9745
|
+
};
|
|
9746
|
+
clearContactStages: {
|
|
9747
|
+
params: Omit<ClearContactStagesParams, 'organizationId'>;
|
|
9748
|
+
result: void;
|
|
9749
|
+
};
|
|
9636
9750
|
listPendingCompanyIds: {
|
|
9637
9751
|
params: Omit<ListPendingCompanyIdsParams, 'organizationId'>;
|
|
9638
9752
|
result: string[];
|