@elevasis/sdk 1.25.0 → 1.26.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/cli.cjs +18 -116
- package/dist/index.d.ts +165 -48
- package/dist/index.js +4 -435
- package/dist/node/index.d.ts +36 -36
- package/dist/test-utils/index.d.ts +99 -38
- 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/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/cli-management.mdx +539 -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/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>;
|
|
@@ -4039,6 +4039,7 @@ type Database = {
|
|
|
4039
4039
|
title: string | null;
|
|
4040
4040
|
updated_at: string;
|
|
4041
4041
|
user_id: string;
|
|
4042
|
+
visibility: string;
|
|
4042
4043
|
};
|
|
4043
4044
|
Insert: {
|
|
4044
4045
|
content: string;
|
|
@@ -4053,6 +4054,7 @@ type Database = {
|
|
|
4053
4054
|
title?: string | null;
|
|
4054
4055
|
updated_at?: string;
|
|
4055
4056
|
user_id: string;
|
|
4057
|
+
visibility?: string;
|
|
4056
4058
|
};
|
|
4057
4059
|
Update: {
|
|
4058
4060
|
content?: string;
|
|
@@ -4067,6 +4069,7 @@ type Database = {
|
|
|
4067
4069
|
title?: string | null;
|
|
4068
4070
|
updated_at?: string;
|
|
4069
4071
|
user_id?: string;
|
|
4072
|
+
visibility?: string;
|
|
4070
4073
|
};
|
|
4071
4074
|
Relationships: [
|
|
4072
4075
|
{
|
|
@@ -4235,6 +4238,12 @@ type Database = {
|
|
|
4235
4238
|
Args: never;
|
|
4236
4239
|
Returns: boolean;
|
|
4237
4240
|
};
|
|
4241
|
+
current_user_shares_org_with: {
|
|
4242
|
+
Args: {
|
|
4243
|
+
other_user_id: string;
|
|
4244
|
+
};
|
|
4245
|
+
Returns: boolean;
|
|
4246
|
+
};
|
|
4238
4247
|
current_user_supabase_id: {
|
|
4239
4248
|
Args: never;
|
|
4240
4249
|
Returns: string;
|
|
@@ -4274,6 +4283,20 @@ type Database = {
|
|
|
4274
4283
|
Args: never;
|
|
4275
4284
|
Returns: string;
|
|
4276
4285
|
};
|
|
4286
|
+
has_org_access: {
|
|
4287
|
+
Args: {
|
|
4288
|
+
action?: string;
|
|
4289
|
+
org_id: string;
|
|
4290
|
+
system_path: string;
|
|
4291
|
+
};
|
|
4292
|
+
Returns: boolean;
|
|
4293
|
+
} | {
|
|
4294
|
+
Args: {
|
|
4295
|
+
action?: string;
|
|
4296
|
+
system_path: string;
|
|
4297
|
+
};
|
|
4298
|
+
Returns: boolean;
|
|
4299
|
+
};
|
|
4277
4300
|
has_org_permission: {
|
|
4278
4301
|
Args: {
|
|
4279
4302
|
org_id: string;
|
|
@@ -4805,7 +4828,12 @@ declare const PipelineStageSchema: z.ZodObject<{
|
|
|
4805
4828
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4806
4829
|
order: z.ZodOptional<z.ZodNumber>;
|
|
4807
4830
|
}, z.core.$strip>;
|
|
4831
|
+
declare const DataModeSchema: z.ZodEnum<{
|
|
4832
|
+
mock: "mock";
|
|
4833
|
+
live: "live";
|
|
4834
|
+
}>;
|
|
4808
4835
|
type PipelineStage = z.infer<typeof PipelineStageSchema>;
|
|
4836
|
+
type DataMode = z.infer<typeof DataModeSchema>;
|
|
4809
4837
|
type ProcessingStageStatus = z.infer<typeof ProcessingStageStatusSchema>;
|
|
4810
4838
|
|
|
4811
4839
|
/** Raw database row type for acq_deals table */
|
|
@@ -4911,7 +4939,8 @@ interface IcpRubric {
|
|
|
4911
4939
|
[key: string]: unknown;
|
|
4912
4940
|
}
|
|
4913
4941
|
interface PipelineConfig {
|
|
4914
|
-
stages
|
|
4942
|
+
stages?: PipelineStage[];
|
|
4943
|
+
dataMode?: DataMode;
|
|
4915
4944
|
}
|
|
4916
4945
|
type BuildPlanSnapshotPrimaryEntity = 'company' | 'contact';
|
|
4917
4946
|
type BuildPlanSnapshotOutput = 'company' | 'contact' | 'export';
|
|
@@ -5465,6 +5494,7 @@ interface UpdateCompanyStageParams {
|
|
|
5465
5494
|
companyId: string;
|
|
5466
5495
|
stage: string;
|
|
5467
5496
|
status?: ProcessingStageStatus;
|
|
5497
|
+
data?: unknown;
|
|
5468
5498
|
executionId?: string;
|
|
5469
5499
|
}
|
|
5470
5500
|
interface UpdateContactStageParams {
|
|
@@ -5473,8 +5503,21 @@ interface UpdateContactStageParams {
|
|
|
5473
5503
|
contactId: string;
|
|
5474
5504
|
stage: string;
|
|
5475
5505
|
status?: ProcessingStageStatus;
|
|
5506
|
+
data?: unknown;
|
|
5476
5507
|
executionId?: string;
|
|
5477
5508
|
}
|
|
5509
|
+
interface ClearCompanyStagesParams {
|
|
5510
|
+
organizationId: string;
|
|
5511
|
+
listId: string;
|
|
5512
|
+
companyId: string;
|
|
5513
|
+
stages: string[];
|
|
5514
|
+
}
|
|
5515
|
+
interface ClearContactStagesParams {
|
|
5516
|
+
organizationId: string;
|
|
5517
|
+
listId: string;
|
|
5518
|
+
contactId: string;
|
|
5519
|
+
stages: string[];
|
|
5520
|
+
}
|
|
5478
5521
|
interface ListPendingCompanyIdsParams {
|
|
5479
5522
|
organizationId: string;
|
|
5480
5523
|
listId: string;
|
|
@@ -5814,9 +5857,9 @@ declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
|
5814
5857
|
dashboard: "dashboard";
|
|
5815
5858
|
settings: "settings";
|
|
5816
5859
|
graph: "graph";
|
|
5817
|
-
list: "list";
|
|
5818
5860
|
page: "page";
|
|
5819
5861
|
detail: "detail";
|
|
5862
|
+
list: "list";
|
|
5820
5863
|
}>;
|
|
5821
5864
|
interface SidebarSurfaceNode {
|
|
5822
5865
|
type: 'surface';
|
|
@@ -5848,10 +5891,10 @@ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
|
5848
5891
|
declare const LinkSchema: z.ZodObject<{
|
|
5849
5892
|
nodeId: z.ZodString;
|
|
5850
5893
|
kind: z.ZodEnum<{
|
|
5851
|
-
links: "links";
|
|
5852
5894
|
affects: "affects";
|
|
5853
|
-
effects: "effects";
|
|
5854
5895
|
actions: "actions";
|
|
5896
|
+
effects: "effects";
|
|
5897
|
+
links: "links";
|
|
5855
5898
|
reads: "reads";
|
|
5856
5899
|
writes: "writes";
|
|
5857
5900
|
emits: "emits";
|
|
@@ -6273,8 +6316,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6273
6316
|
description: z.ZodOptional<z.ZodString>;
|
|
6274
6317
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
6275
6318
|
status: z.ZodEnum<{
|
|
6276
|
-
deprecated: "deprecated";
|
|
6277
6319
|
active: "active";
|
|
6320
|
+
deprecated: "deprecated";
|
|
6278
6321
|
archived: "archived";
|
|
6279
6322
|
}>;
|
|
6280
6323
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -6292,12 +6335,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6292
6335
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6293
6336
|
path: z.ZodString;
|
|
6294
6337
|
role: z.ZodEnum<{
|
|
6295
|
-
config: "config";
|
|
6296
6338
|
entrypoint: "entrypoint";
|
|
6297
6339
|
handler: "handler";
|
|
6298
6340
|
schema: "schema";
|
|
6299
6341
|
test: "test";
|
|
6300
6342
|
docs: "docs";
|
|
6343
|
+
config: "config";
|
|
6301
6344
|
}>;
|
|
6302
6345
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6303
6346
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6308,10 +6351,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6308
6351
|
label: z.ZodString;
|
|
6309
6352
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
6310
6353
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
6354
|
+
active: "active";
|
|
6311
6355
|
deprecated: "deprecated";
|
|
6312
6356
|
draft: "draft";
|
|
6313
6357
|
beta: "beta";
|
|
6314
|
-
active: "active";
|
|
6315
6358
|
archived: "archived";
|
|
6316
6359
|
}>>;
|
|
6317
6360
|
}, z.core.$strip>>>;
|
|
@@ -6323,8 +6366,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6323
6366
|
description: z.ZodOptional<z.ZodString>;
|
|
6324
6367
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
6325
6368
|
status: z.ZodEnum<{
|
|
6326
|
-
deprecated: "deprecated";
|
|
6327
6369
|
active: "active";
|
|
6370
|
+
deprecated: "deprecated";
|
|
6328
6371
|
archived: "archived";
|
|
6329
6372
|
}>;
|
|
6330
6373
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -6342,12 +6385,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6342
6385
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6343
6386
|
path: z.ZodString;
|
|
6344
6387
|
role: z.ZodEnum<{
|
|
6345
|
-
config: "config";
|
|
6346
6388
|
entrypoint: "entrypoint";
|
|
6347
6389
|
handler: "handler";
|
|
6348
6390
|
schema: "schema";
|
|
6349
6391
|
test: "test";
|
|
6350
6392
|
docs: "docs";
|
|
6393
|
+
config: "config";
|
|
6351
6394
|
}>;
|
|
6352
6395
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6353
6396
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6389,10 +6432,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6389
6432
|
label: z.ZodString;
|
|
6390
6433
|
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
6391
6434
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
6435
|
+
active: "active";
|
|
6392
6436
|
deprecated: "deprecated";
|
|
6393
6437
|
draft: "draft";
|
|
6394
6438
|
beta: "beta";
|
|
6395
|
-
active: "active";
|
|
6396
6439
|
archived: "archived";
|
|
6397
6440
|
}>>;
|
|
6398
6441
|
}, z.core.$strip>>>;
|
|
@@ -6404,8 +6447,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6404
6447
|
description: z.ZodOptional<z.ZodString>;
|
|
6405
6448
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
6406
6449
|
status: z.ZodEnum<{
|
|
6407
|
-
deprecated: "deprecated";
|
|
6408
6450
|
active: "active";
|
|
6451
|
+
deprecated: "deprecated";
|
|
6409
6452
|
archived: "archived";
|
|
6410
6453
|
}>;
|
|
6411
6454
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -6423,12 +6466,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6423
6466
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6424
6467
|
path: z.ZodString;
|
|
6425
6468
|
role: z.ZodEnum<{
|
|
6426
|
-
config: "config";
|
|
6427
6469
|
entrypoint: "entrypoint";
|
|
6428
6470
|
handler: "handler";
|
|
6429
6471
|
schema: "schema";
|
|
6430
6472
|
test: "test";
|
|
6431
6473
|
docs: "docs";
|
|
6474
|
+
config: "config";
|
|
6432
6475
|
}>;
|
|
6433
6476
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6434
6477
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6443,8 +6486,8 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6443
6486
|
description: z.ZodOptional<z.ZodString>;
|
|
6444
6487
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
6445
6488
|
status: z.ZodEnum<{
|
|
6446
|
-
deprecated: "deprecated";
|
|
6447
6489
|
active: "active";
|
|
6490
|
+
deprecated: "deprecated";
|
|
6448
6491
|
archived: "archived";
|
|
6449
6492
|
}>;
|
|
6450
6493
|
ontology: z.ZodOptional<z.ZodObject<{
|
|
@@ -6462,12 +6505,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6462
6505
|
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6463
6506
|
path: z.ZodString;
|
|
6464
6507
|
role: z.ZodEnum<{
|
|
6465
|
-
config: "config";
|
|
6466
6508
|
entrypoint: "entrypoint";
|
|
6467
6509
|
handler: "handler";
|
|
6468
6510
|
schema: "schema";
|
|
6469
6511
|
test: "test";
|
|
6470
6512
|
docs: "docs";
|
|
6513
|
+
config: "config";
|
|
6471
6514
|
}>;
|
|
6472
6515
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6473
6516
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6581,10 +6624,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6581
6624
|
}, z.core.$strip>], "kind">>>;
|
|
6582
6625
|
knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
6583
6626
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
6627
|
+
active: "active";
|
|
6584
6628
|
deprecated: "deprecated";
|
|
6585
6629
|
draft: "draft";
|
|
6586
6630
|
beta: "beta";
|
|
6587
|
-
active: "active";
|
|
6588
6631
|
archived: "archived";
|
|
6589
6632
|
}>>;
|
|
6590
6633
|
}, z.core.$strip>>>>;
|
|
@@ -6662,10 +6705,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6662
6705
|
roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6663
6706
|
}, z.core.$strip>>;
|
|
6664
6707
|
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
6708
|
+
active: "active";
|
|
6665
6709
|
deprecated: "deprecated";
|
|
6666
6710
|
draft: "draft";
|
|
6667
6711
|
beta: "beta";
|
|
6668
|
-
active: "active";
|
|
6669
6712
|
archived: "archived";
|
|
6670
6713
|
}>>;
|
|
6671
6714
|
}, z.core.$strip>>>>;
|
|
@@ -6748,12 +6791,12 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6748
6791
|
kind: z.ZodEnum<{
|
|
6749
6792
|
knowledge: "knowledge";
|
|
6750
6793
|
system: "system";
|
|
6794
|
+
resource: "resource";
|
|
6751
6795
|
action: "action";
|
|
6752
6796
|
ontology: "ontology";
|
|
6753
6797
|
role: "role";
|
|
6754
|
-
goal: "goal";
|
|
6755
|
-
resource: "resource";
|
|
6756
6798
|
stage: "stage";
|
|
6799
|
+
goal: "goal";
|
|
6757
6800
|
"customer-segment": "customer-segment";
|
|
6758
6801
|
offering: "offering";
|
|
6759
6802
|
}>;
|
|
@@ -6763,7 +6806,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6763
6806
|
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
6764
6807
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
6765
6808
|
target: {
|
|
6766
|
-
kind: "knowledge" | "system" | "
|
|
6809
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
6767
6810
|
id: string;
|
|
6768
6811
|
};
|
|
6769
6812
|
nodeId: string;
|
|
@@ -6771,7 +6814,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
6771
6814
|
nodeId: string;
|
|
6772
6815
|
} | {
|
|
6773
6816
|
target: {
|
|
6774
|
-
kind: "knowledge" | "system" | "
|
|
6817
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
6775
6818
|
id: string;
|
|
6776
6819
|
};
|
|
6777
6820
|
}>>>>;
|
|
@@ -9355,6 +9398,14 @@ type LeadToolMap = {
|
|
|
9355
9398
|
params: Omit<UpdateContactStageParams, 'organizationId'>;
|
|
9356
9399
|
result: void;
|
|
9357
9400
|
};
|
|
9401
|
+
clearCompanyStages: {
|
|
9402
|
+
params: Omit<ClearCompanyStagesParams, 'organizationId'>;
|
|
9403
|
+
result: void;
|
|
9404
|
+
};
|
|
9405
|
+
clearContactStages: {
|
|
9406
|
+
params: Omit<ClearContactStagesParams, 'organizationId'>;
|
|
9407
|
+
result: void;
|
|
9408
|
+
};
|
|
9358
9409
|
createCompany: {
|
|
9359
9410
|
params: Omit<CreateCompanyParams, 'organizationId'>;
|
|
9360
9411
|
result: AcqCompany;
|
|
@@ -9618,7 +9669,9 @@ type ListToolMap = {
|
|
|
9618
9669
|
result: {
|
|
9619
9670
|
scrapingConfig: ScrapingConfig;
|
|
9620
9671
|
icp: IcpRubric;
|
|
9621
|
-
pipelineConfig: PipelineConfig
|
|
9672
|
+
pipelineConfig: PipelineConfig & {
|
|
9673
|
+
dataMode: 'mock' | 'live';
|
|
9674
|
+
};
|
|
9622
9675
|
};
|
|
9623
9676
|
};
|
|
9624
9677
|
recordExecution: {
|
|
@@ -9633,6 +9686,14 @@ type ListToolMap = {
|
|
|
9633
9686
|
params: Omit<UpdateContactStageParams, 'organizationId'>;
|
|
9634
9687
|
result: void;
|
|
9635
9688
|
};
|
|
9689
|
+
clearCompanyStages: {
|
|
9690
|
+
params: Omit<ClearCompanyStagesParams, 'organizationId'>;
|
|
9691
|
+
result: void;
|
|
9692
|
+
};
|
|
9693
|
+
clearContactStages: {
|
|
9694
|
+
params: Omit<ClearContactStagesParams, 'organizationId'>;
|
|
9695
|
+
result: void;
|
|
9696
|
+
};
|
|
9636
9697
|
listPendingCompanyIds: {
|
|
9637
9698
|
params: Omit<ListPendingCompanyIdsParams, 'organizationId'>;
|
|
9638
9699
|
result: string[];
|