@apex-inc/mcp-server 0.74.0 → 0.75.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/tools.d.ts CHANGED
@@ -3294,23 +3294,23 @@ export declare const toolDefinitions: {
3294
3294
  type: "form_submit" | "custom_event";
3295
3295
  event_name?: string | undefined;
3296
3296
  selector?: string | undefined;
3297
- target_url?: string | undefined;
3298
3297
  where?: {
3299
3298
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3300
3299
  field_path: string;
3301
3300
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3302
3301
  }[] | undefined;
3302
+ target_url?: string | undefined;
3303
3303
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3304
3304
  }, {
3305
3305
  type: "form_submit" | "custom_event";
3306
3306
  event_name?: string | undefined;
3307
3307
  selector?: string | undefined;
3308
- target_url?: string | undefined;
3309
3308
  where?: {
3310
3309
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3311
3310
  field_path: string;
3312
3311
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3313
3312
  }[] | undefined;
3313
+ target_url?: string | undefined;
3314
3314
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3315
3315
  }>, "many">;
3316
3316
  category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
@@ -3326,12 +3326,12 @@ export declare const toolDefinitions: {
3326
3326
  type: "form_submit" | "custom_event";
3327
3327
  event_name?: string | undefined;
3328
3328
  selector?: string | undefined;
3329
- target_url?: string | undefined;
3330
3329
  where?: {
3331
3330
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3332
3331
  field_path: string;
3333
3332
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3334
3333
  }[] | undefined;
3334
+ target_url?: string | undefined;
3335
3335
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3336
3336
  }[];
3337
3337
  description?: string | undefined;
@@ -3347,12 +3347,12 @@ export declare const toolDefinitions: {
3347
3347
  type: "form_submit" | "custom_event";
3348
3348
  event_name?: string | undefined;
3349
3349
  selector?: string | undefined;
3350
- target_url?: string | undefined;
3351
3350
  where?: {
3352
3351
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3353
3352
  field_path: string;
3354
3353
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3355
3354
  }[] | undefined;
3355
+ target_url?: string | undefined;
3356
3356
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3357
3357
  }[];
3358
3358
  description?: string | undefined;
@@ -3369,12 +3369,12 @@ export declare const toolDefinitions: {
3369
3369
  type: "form_submit" | "custom_event";
3370
3370
  event_name?: string | undefined;
3371
3371
  selector?: string | undefined;
3372
- target_url?: string | undefined;
3373
3372
  where?: {
3374
3373
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3375
3374
  field_path: string;
3376
3375
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3377
3376
  }[] | undefined;
3377
+ target_url?: string | undefined;
3378
3378
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3379
3379
  }[];
3380
3380
  category?: string;
@@ -3422,23 +3422,23 @@ export declare const toolDefinitions: {
3422
3422
  type: "form_submit" | "custom_event";
3423
3423
  event_name?: string | undefined;
3424
3424
  selector?: string | undefined;
3425
- target_url?: string | undefined;
3426
3425
  where?: {
3427
3426
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3428
3427
  field_path: string;
3429
3428
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3430
3429
  }[] | undefined;
3430
+ target_url?: string | undefined;
3431
3431
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3432
3432
  }, {
3433
3433
  type: "form_submit" | "custom_event";
3434
3434
  event_name?: string | undefined;
3435
3435
  selector?: string | undefined;
3436
- target_url?: string | undefined;
3437
3436
  where?: {
3438
3437
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3439
3438
  field_path: string;
3440
3439
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3441
3440
  }[] | undefined;
3441
+ target_url?: string | undefined;
3442
3442
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3443
3443
  }>, "many">>;
3444
3444
  category: import("zod").ZodOptional<import("zod").ZodEnum<["purchase", "lead", "qualified_lead", "activation", "signup", "subscribe", "add_to_cart", "engagement", "expansion", "referral", "completion", "retention", "advocacy", "churn", "reactivation", "other"]>>;
@@ -3457,12 +3457,12 @@ export declare const toolDefinitions: {
3457
3457
  type: "form_submit" | "custom_event";
3458
3458
  event_name?: string | undefined;
3459
3459
  selector?: string | undefined;
3460
- target_url?: string | undefined;
3461
3460
  where?: {
3462
3461
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3463
3462
  field_path: string;
3464
3463
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3465
3464
  }[] | undefined;
3465
+ target_url?: string | undefined;
3466
3466
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3467
3467
  }[] | undefined;
3468
3468
  category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
@@ -3479,12 +3479,12 @@ export declare const toolDefinitions: {
3479
3479
  type: "form_submit" | "custom_event";
3480
3480
  event_name?: string | undefined;
3481
3481
  selector?: string | undefined;
3482
- target_url?: string | undefined;
3483
3482
  where?: {
3484
3483
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3485
3484
  field_path: string;
3486
3485
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3487
3486
  }[] | undefined;
3487
+ target_url?: string | undefined;
3488
3488
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3489
3489
  }[] | undefined;
3490
3490
  category?: "other" | "engagement" | "referral" | "purchase" | "lead" | "qualified_lead" | "activation" | "signup" | "subscribe" | "add_to_cart" | "expansion" | "completion" | "retention" | "advocacy" | "churn" | "reactivation" | undefined;
@@ -3500,12 +3500,12 @@ export declare const toolDefinitions: {
3500
3500
  type: "form_submit" | "custom_event";
3501
3501
  event_name?: string | undefined;
3502
3502
  selector?: string | undefined;
3503
- target_url?: string | undefined;
3504
3503
  where?: {
3505
3504
  operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
3506
3505
  field_path: string;
3507
3506
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
3508
3507
  }[] | undefined;
3508
+ target_url?: string | undefined;
3509
3509
  revenue_stream?: "dedupe_with_billing" | "additive" | undefined;
3510
3510
  }[];
3511
3511
  category?: string;
@@ -6804,6 +6804,78 @@ export declare const toolDefinitions: {
6804
6804
  } & {
6805
6805
  group: ToolGroup;
6806
6806
  };
6807
+ get_journey_funnel_coverage: {
6808
+ description: string;
6809
+ schema: import("zod").ZodObject<{
6810
+ days: import("zod").ZodOptional<import("zod").ZodNumber>;
6811
+ }, "strip", import("zod").ZodTypeAny, {
6812
+ days?: number | undefined;
6813
+ }, {
6814
+ days?: number | undefined;
6815
+ }>;
6816
+ handler: ({ days }: {
6817
+ days?: number;
6818
+ }) => Promise<{
6819
+ content: {
6820
+ type: "text";
6821
+ text: string;
6822
+ }[];
6823
+ isError: boolean;
6824
+ } | {
6825
+ content: {
6826
+ type: "text";
6827
+ text: string;
6828
+ }[];
6829
+ }>;
6830
+ } & {
6831
+ group: ToolGroup;
6832
+ };
6833
+ create_journey_from_funnel_gap: {
6834
+ description: string;
6835
+ schema: import("zod").ZodObject<{
6836
+ fromKeyEventId: import("zod").ZodString;
6837
+ toKeyEventId: import("zod").ZodString;
6838
+ name: import("zod").ZodOptional<import("zod").ZodString>;
6839
+ description: import("zod").ZodOptional<import("zod").ZodString>;
6840
+ attributionWindowDays: import("zod").ZodOptional<import("zod").ZodNumber>;
6841
+ audienceBucket: import("zod").ZodOptional<import("zod").ZodEnum<["production", "beta", "dev"]>>;
6842
+ }, "strip", import("zod").ZodTypeAny, {
6843
+ fromKeyEventId: string;
6844
+ toKeyEventId: string;
6845
+ name?: string | undefined;
6846
+ attributionWindowDays?: number | undefined;
6847
+ description?: string | undefined;
6848
+ audienceBucket?: "production" | "beta" | "dev" | undefined;
6849
+ }, {
6850
+ fromKeyEventId: string;
6851
+ toKeyEventId: string;
6852
+ name?: string | undefined;
6853
+ attributionWindowDays?: number | undefined;
6854
+ description?: string | undefined;
6855
+ audienceBucket?: "production" | "beta" | "dev" | undefined;
6856
+ }>;
6857
+ handler: ({ fromKeyEventId, toKeyEventId, name, description, attributionWindowDays, audienceBucket, }: {
6858
+ fromKeyEventId: string;
6859
+ toKeyEventId: string;
6860
+ name?: string;
6861
+ description?: string;
6862
+ attributionWindowDays?: number;
6863
+ audienceBucket?: "production" | "beta" | "dev";
6864
+ }) => Promise<{
6865
+ content: {
6866
+ type: "text";
6867
+ text: string;
6868
+ }[];
6869
+ isError: boolean;
6870
+ } | {
6871
+ content: {
6872
+ type: "text";
6873
+ text: string;
6874
+ }[];
6875
+ }>;
6876
+ } & {
6877
+ group: ToolGroup;
6878
+ };
6807
6879
  list_trigger_contracts: {
6808
6880
  description: string;
6809
6881
  schema: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
@@ -6976,21 +7048,21 @@ export declare const toolDefinitions: {
6976
7048
  }, "strip", import("zod").ZodTypeAny, {
6977
7049
  kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
6978
7050
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
6979
- operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
7051
+ operator?: "equals" | "not_equals" | "exists" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
6980
7052
  event_name?: string | undefined;
6981
7053
  key_event_id?: string | undefined;
6982
- scope?: "account" | "person" | undefined;
6983
7054
  field_path?: string | undefined;
7055
+ scope?: "account" | "person" | undefined;
6984
7056
  window_days?: number | undefined;
6985
7057
  wait_days?: number | undefined;
6986
7058
  }, {
6987
7059
  kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
6988
7060
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
6989
- operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
7061
+ operator?: "equals" | "not_equals" | "exists" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
6990
7062
  event_name?: string | undefined;
6991
7063
  key_event_id?: string | undefined;
6992
- scope?: "account" | "person" | undefined;
6993
7064
  field_path?: string | undefined;
7065
+ scope?: "account" | "person" | undefined;
6994
7066
  window_days?: number | undefined;
6995
7067
  wait_days?: number | undefined;
6996
7068
  }>;
@@ -7001,11 +7073,11 @@ export declare const toolDefinitions: {
7001
7073
  condition: {
7002
7074
  kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
7003
7075
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
7004
- operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
7076
+ operator?: "equals" | "not_equals" | "exists" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
7005
7077
  event_name?: string | undefined;
7006
7078
  key_event_id?: string | undefined;
7007
- scope?: "account" | "person" | undefined;
7008
7079
  field_path?: string | undefined;
7080
+ scope?: "account" | "person" | undefined;
7009
7081
  window_days?: number | undefined;
7010
7082
  wait_days?: number | undefined;
7011
7083
  };
@@ -7018,11 +7090,11 @@ export declare const toolDefinitions: {
7018
7090
  condition: {
7019
7091
  kind: "event_not_fired" | "attribute" | "event_fired" | "key_event_reached" | "key_event_not_reached" | "letter_opened" | "letter_clicked";
7020
7092
  value?: string | number | boolean | (string | number | boolean)[] | undefined;
7021
- operator?: "equals" | "not_equals" | "exists" | "greater_than" | "less_than" | "in" | "not_exists" | undefined;
7093
+ operator?: "equals" | "not_equals" | "exists" | "in" | "not_exists" | "greater_than" | "less_than" | undefined;
7022
7094
  event_name?: string | undefined;
7023
7095
  key_event_id?: string | undefined;
7024
- scope?: "account" | "person" | undefined;
7025
7096
  field_path?: string | undefined;
7097
+ scope?: "account" | "person" | undefined;
7026
7098
  window_days?: number | undefined;
7027
7099
  wait_days?: number | undefined;
7028
7100
  };
@@ -7500,6 +7572,20 @@ export declare const toolDefinitions: {
7500
7572
  conditions: import("zod").ZodArray<import("zod").ZodObject<{
7501
7573
  verb: import("zod").ZodOptional<import("zod").ZodEnum<["has", "hasnt"]>>;
7502
7574
  event: import("zod").ZodOptional<import("zod").ZodString>;
7575
+ where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
7576
+ field_path: import("zod").ZodString;
7577
+ operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
7578
+ value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
7579
+ }, "strip", import("zod").ZodTypeAny, {
7580
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7581
+ field_path: string;
7582
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7583
+ }, {
7584
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7585
+ field_path: string;
7586
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7587
+ }>, "many">>;
7588
+ at_least: import("zod").ZodOptional<import("zod").ZodNumber>;
7503
7589
  key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
7504
7590
  scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
7505
7591
  window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -7510,19 +7596,31 @@ export declare const toolDefinitions: {
7510
7596
  event?: string | undefined;
7511
7597
  value?: string | number | boolean | undefined;
7512
7598
  key_event_id?: string | undefined;
7599
+ verb?: "has" | "hasnt" | undefined;
7600
+ where?: {
7601
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7602
+ field_path: string;
7603
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7604
+ }[] | undefined;
7605
+ at_least?: number | undefined;
7513
7606
  scope?: "account" | "person" | undefined;
7514
- attribute?: string | undefined;
7515
7607
  window_days?: number | undefined;
7516
- verb?: "has" | "hasnt" | undefined;
7608
+ attribute?: string | undefined;
7517
7609
  op?: "exists" | "is" | "is_not" | undefined;
7518
7610
  }, {
7519
7611
  event?: string | undefined;
7520
7612
  value?: string | number | boolean | undefined;
7521
7613
  key_event_id?: string | undefined;
7614
+ verb?: "has" | "hasnt" | undefined;
7615
+ where?: {
7616
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7617
+ field_path: string;
7618
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7619
+ }[] | undefined;
7620
+ at_least?: number | undefined;
7522
7621
  scope?: "account" | "person" | undefined;
7523
- attribute?: string | undefined;
7524
7622
  window_days?: number | undefined;
7525
- verb?: "has" | "hasnt" | undefined;
7623
+ attribute?: string | undefined;
7526
7624
  op?: "exists" | "is" | "is_not" | undefined;
7527
7625
  }>, "many">;
7528
7626
  }, "strip", import("zod").ZodTypeAny, {
@@ -7531,10 +7629,16 @@ export declare const toolDefinitions: {
7531
7629
  event?: string | undefined;
7532
7630
  value?: string | number | boolean | undefined;
7533
7631
  key_event_id?: string | undefined;
7632
+ verb?: "has" | "hasnt" | undefined;
7633
+ where?: {
7634
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7635
+ field_path: string;
7636
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7637
+ }[] | undefined;
7638
+ at_least?: number | undefined;
7534
7639
  scope?: "account" | "person" | undefined;
7535
- attribute?: string | undefined;
7536
7640
  window_days?: number | undefined;
7537
- verb?: "has" | "hasnt" | undefined;
7641
+ attribute?: string | undefined;
7538
7642
  op?: "exists" | "is" | "is_not" | undefined;
7539
7643
  }[];
7540
7644
  }, {
@@ -7543,10 +7647,16 @@ export declare const toolDefinitions: {
7543
7647
  event?: string | undefined;
7544
7648
  value?: string | number | boolean | undefined;
7545
7649
  key_event_id?: string | undefined;
7650
+ verb?: "has" | "hasnt" | undefined;
7651
+ where?: {
7652
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7653
+ field_path: string;
7654
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7655
+ }[] | undefined;
7656
+ at_least?: number | undefined;
7546
7657
  scope?: "account" | "person" | undefined;
7547
- attribute?: string | undefined;
7548
7658
  window_days?: number | undefined;
7549
- verb?: "has" | "hasnt" | undefined;
7659
+ attribute?: string | undefined;
7550
7660
  op?: "exists" | "is" | "is_not" | undefined;
7551
7661
  }[];
7552
7662
  }>, "many">;
@@ -7558,10 +7668,16 @@ export declare const toolDefinitions: {
7558
7668
  event?: string | undefined;
7559
7669
  value?: string | number | boolean | undefined;
7560
7670
  key_event_id?: string | undefined;
7671
+ verb?: "has" | "hasnt" | undefined;
7672
+ where?: {
7673
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7674
+ field_path: string;
7675
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7676
+ }[] | undefined;
7677
+ at_least?: number | undefined;
7561
7678
  scope?: "account" | "person" | undefined;
7562
- attribute?: string | undefined;
7563
7679
  window_days?: number | undefined;
7564
- verb?: "has" | "hasnt" | undefined;
7680
+ attribute?: string | undefined;
7565
7681
  op?: "exists" | "is" | "is_not" | undefined;
7566
7682
  }[];
7567
7683
  }[];
@@ -7573,10 +7689,16 @@ export declare const toolDefinitions: {
7573
7689
  event?: string | undefined;
7574
7690
  value?: string | number | boolean | undefined;
7575
7691
  key_event_id?: string | undefined;
7692
+ verb?: "has" | "hasnt" | undefined;
7693
+ where?: {
7694
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7695
+ field_path: string;
7696
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7697
+ }[] | undefined;
7698
+ at_least?: number | undefined;
7576
7699
  scope?: "account" | "person" | undefined;
7577
- attribute?: string | undefined;
7578
7700
  window_days?: number | undefined;
7579
- verb?: "has" | "hasnt" | undefined;
7701
+ attribute?: string | undefined;
7580
7702
  op?: "exists" | "is" | "is_not" | undefined;
7581
7703
  }[];
7582
7704
  }[];
@@ -7585,7 +7707,6 @@ export declare const toolDefinitions: {
7585
7707
  }, "strip", import("zod").ZodTypeAny, {
7586
7708
  name: string;
7587
7709
  description?: string | undefined;
7588
- scope?: "workspace" | "org" | undefined;
7589
7710
  conditions?: {
7590
7711
  match: "all" | "any";
7591
7712
  groups: {
@@ -7594,19 +7715,25 @@ export declare const toolDefinitions: {
7594
7715
  event?: string | undefined;
7595
7716
  value?: string | number | boolean | undefined;
7596
7717
  key_event_id?: string | undefined;
7718
+ verb?: "has" | "hasnt" | undefined;
7719
+ where?: {
7720
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7721
+ field_path: string;
7722
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7723
+ }[] | undefined;
7724
+ at_least?: number | undefined;
7597
7725
  scope?: "account" | "person" | undefined;
7598
- attribute?: string | undefined;
7599
7726
  window_days?: number | undefined;
7600
- verb?: "has" | "hasnt" | undefined;
7727
+ attribute?: string | undefined;
7601
7728
  op?: "exists" | "is" | "is_not" | undefined;
7602
7729
  }[];
7603
7730
  }[];
7604
7731
  } | undefined;
7732
+ scope?: "workspace" | "org" | undefined;
7605
7733
  predicate?: Record<string, unknown> | undefined;
7606
7734
  }, {
7607
7735
  name: string;
7608
7736
  description?: string | undefined;
7609
- scope?: "workspace" | "org" | undefined;
7610
7737
  conditions?: {
7611
7738
  match: "all" | "any";
7612
7739
  groups: {
@@ -7615,14 +7742,21 @@ export declare const toolDefinitions: {
7615
7742
  event?: string | undefined;
7616
7743
  value?: string | number | boolean | undefined;
7617
7744
  key_event_id?: string | undefined;
7745
+ verb?: "has" | "hasnt" | undefined;
7746
+ where?: {
7747
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7748
+ field_path: string;
7749
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7750
+ }[] | undefined;
7751
+ at_least?: number | undefined;
7618
7752
  scope?: "account" | "person" | undefined;
7619
- attribute?: string | undefined;
7620
7753
  window_days?: number | undefined;
7621
- verb?: "has" | "hasnt" | undefined;
7754
+ attribute?: string | undefined;
7622
7755
  op?: "exists" | "is" | "is_not" | undefined;
7623
7756
  }[];
7624
7757
  }[];
7625
7758
  } | undefined;
7759
+ scope?: "workspace" | "org" | undefined;
7626
7760
  predicate?: Record<string, unknown> | undefined;
7627
7761
  }>;
7628
7762
  handler: (args: {
@@ -7654,6 +7788,20 @@ export declare const toolDefinitions: {
7654
7788
  conditions: import("zod").ZodArray<import("zod").ZodObject<{
7655
7789
  verb: import("zod").ZodOptional<import("zod").ZodEnum<["has", "hasnt"]>>;
7656
7790
  event: import("zod").ZodOptional<import("zod").ZodString>;
7791
+ where: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
7792
+ field_path: import("zod").ZodString;
7793
+ operator: import("zod").ZodEnum<["equals", "not_equals", "in", "exists", "not_exists"]>;
7794
+ value: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, "many">]>>;
7795
+ }, "strip", import("zod").ZodTypeAny, {
7796
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7797
+ field_path: string;
7798
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7799
+ }, {
7800
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7801
+ field_path: string;
7802
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7803
+ }>, "many">>;
7804
+ at_least: import("zod").ZodOptional<import("zod").ZodNumber>;
7657
7805
  key_event_id: import("zod").ZodOptional<import("zod").ZodString>;
7658
7806
  scope: import("zod").ZodOptional<import("zod").ZodEnum<["person", "account"]>>;
7659
7807
  window_days: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -7664,19 +7812,31 @@ export declare const toolDefinitions: {
7664
7812
  event?: string | undefined;
7665
7813
  value?: string | number | boolean | undefined;
7666
7814
  key_event_id?: string | undefined;
7815
+ verb?: "has" | "hasnt" | undefined;
7816
+ where?: {
7817
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7818
+ field_path: string;
7819
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7820
+ }[] | undefined;
7821
+ at_least?: number | undefined;
7667
7822
  scope?: "account" | "person" | undefined;
7668
- attribute?: string | undefined;
7669
7823
  window_days?: number | undefined;
7670
- verb?: "has" | "hasnt" | undefined;
7824
+ attribute?: string | undefined;
7671
7825
  op?: "exists" | "is" | "is_not" | undefined;
7672
7826
  }, {
7673
7827
  event?: string | undefined;
7674
7828
  value?: string | number | boolean | undefined;
7675
7829
  key_event_id?: string | undefined;
7830
+ verb?: "has" | "hasnt" | undefined;
7831
+ where?: {
7832
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7833
+ field_path: string;
7834
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7835
+ }[] | undefined;
7836
+ at_least?: number | undefined;
7676
7837
  scope?: "account" | "person" | undefined;
7677
- attribute?: string | undefined;
7678
7838
  window_days?: number | undefined;
7679
- verb?: "has" | "hasnt" | undefined;
7839
+ attribute?: string | undefined;
7680
7840
  op?: "exists" | "is" | "is_not" | undefined;
7681
7841
  }>, "many">;
7682
7842
  }, "strip", import("zod").ZodTypeAny, {
@@ -7685,10 +7845,16 @@ export declare const toolDefinitions: {
7685
7845
  event?: string | undefined;
7686
7846
  value?: string | number | boolean | undefined;
7687
7847
  key_event_id?: string | undefined;
7848
+ verb?: "has" | "hasnt" | undefined;
7849
+ where?: {
7850
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7851
+ field_path: string;
7852
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7853
+ }[] | undefined;
7854
+ at_least?: number | undefined;
7688
7855
  scope?: "account" | "person" | undefined;
7689
- attribute?: string | undefined;
7690
7856
  window_days?: number | undefined;
7691
- verb?: "has" | "hasnt" | undefined;
7857
+ attribute?: string | undefined;
7692
7858
  op?: "exists" | "is" | "is_not" | undefined;
7693
7859
  }[];
7694
7860
  }, {
@@ -7697,10 +7863,16 @@ export declare const toolDefinitions: {
7697
7863
  event?: string | undefined;
7698
7864
  value?: string | number | boolean | undefined;
7699
7865
  key_event_id?: string | undefined;
7866
+ verb?: "has" | "hasnt" | undefined;
7867
+ where?: {
7868
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7869
+ field_path: string;
7870
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7871
+ }[] | undefined;
7872
+ at_least?: number | undefined;
7700
7873
  scope?: "account" | "person" | undefined;
7701
- attribute?: string | undefined;
7702
7874
  window_days?: number | undefined;
7703
- verb?: "has" | "hasnt" | undefined;
7875
+ attribute?: string | undefined;
7704
7876
  op?: "exists" | "is" | "is_not" | undefined;
7705
7877
  }[];
7706
7878
  }>, "many">;
@@ -7712,10 +7884,16 @@ export declare const toolDefinitions: {
7712
7884
  event?: string | undefined;
7713
7885
  value?: string | number | boolean | undefined;
7714
7886
  key_event_id?: string | undefined;
7887
+ verb?: "has" | "hasnt" | undefined;
7888
+ where?: {
7889
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7890
+ field_path: string;
7891
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7892
+ }[] | undefined;
7893
+ at_least?: number | undefined;
7715
7894
  scope?: "account" | "person" | undefined;
7716
- attribute?: string | undefined;
7717
7895
  window_days?: number | undefined;
7718
- verb?: "has" | "hasnt" | undefined;
7896
+ attribute?: string | undefined;
7719
7897
  op?: "exists" | "is" | "is_not" | undefined;
7720
7898
  }[];
7721
7899
  }[];
@@ -7727,10 +7905,16 @@ export declare const toolDefinitions: {
7727
7905
  event?: string | undefined;
7728
7906
  value?: string | number | boolean | undefined;
7729
7907
  key_event_id?: string | undefined;
7908
+ verb?: "has" | "hasnt" | undefined;
7909
+ where?: {
7910
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7911
+ field_path: string;
7912
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7913
+ }[] | undefined;
7914
+ at_least?: number | undefined;
7730
7915
  scope?: "account" | "person" | undefined;
7731
- attribute?: string | undefined;
7732
7916
  window_days?: number | undefined;
7733
- verb?: "has" | "hasnt" | undefined;
7917
+ attribute?: string | undefined;
7734
7918
  op?: "exists" | "is" | "is_not" | undefined;
7735
7919
  }[];
7736
7920
  }[];
@@ -7740,7 +7924,6 @@ export declare const toolDefinitions: {
7740
7924
  segmentId: string;
7741
7925
  name?: string | undefined;
7742
7926
  description?: string | undefined;
7743
- scope?: "workspace" | "org" | undefined;
7744
7927
  conditions?: {
7745
7928
  match: "all" | "any";
7746
7929
  groups: {
@@ -7749,20 +7932,26 @@ export declare const toolDefinitions: {
7749
7932
  event?: string | undefined;
7750
7933
  value?: string | number | boolean | undefined;
7751
7934
  key_event_id?: string | undefined;
7935
+ verb?: "has" | "hasnt" | undefined;
7936
+ where?: {
7937
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7938
+ field_path: string;
7939
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7940
+ }[] | undefined;
7941
+ at_least?: number | undefined;
7752
7942
  scope?: "account" | "person" | undefined;
7753
- attribute?: string | undefined;
7754
7943
  window_days?: number | undefined;
7755
- verb?: "has" | "hasnt" | undefined;
7944
+ attribute?: string | undefined;
7756
7945
  op?: "exists" | "is" | "is_not" | undefined;
7757
7946
  }[];
7758
7947
  }[];
7759
7948
  } | undefined;
7949
+ scope?: "workspace" | "org" | undefined;
7760
7950
  predicate?: Record<string, unknown> | undefined;
7761
7951
  }, {
7762
7952
  segmentId: string;
7763
7953
  name?: string | undefined;
7764
7954
  description?: string | undefined;
7765
- scope?: "workspace" | "org" | undefined;
7766
7955
  conditions?: {
7767
7956
  match: "all" | "any";
7768
7957
  groups: {
@@ -7771,14 +7960,21 @@ export declare const toolDefinitions: {
7771
7960
  event?: string | undefined;
7772
7961
  value?: string | number | boolean | undefined;
7773
7962
  key_event_id?: string | undefined;
7963
+ verb?: "has" | "hasnt" | undefined;
7964
+ where?: {
7965
+ operator: "equals" | "not_equals" | "exists" | "in" | "not_exists";
7966
+ field_path: string;
7967
+ value?: string | number | boolean | (string | number | boolean)[] | undefined;
7968
+ }[] | undefined;
7969
+ at_least?: number | undefined;
7774
7970
  scope?: "account" | "person" | undefined;
7775
- attribute?: string | undefined;
7776
7971
  window_days?: number | undefined;
7777
- verb?: "has" | "hasnt" | undefined;
7972
+ attribute?: string | undefined;
7778
7973
  op?: "exists" | "is" | "is_not" | undefined;
7779
7974
  }[];
7780
7975
  }[];
7781
7976
  } | undefined;
7977
+ scope?: "workspace" | "org" | undefined;
7782
7978
  predicate?: Record<string, unknown> | undefined;
7783
7979
  }>;
7784
7980
  handler: (args: {