@standards/schema 1.0.0-alpha.430 → 1.0.0-alpha.433

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.
Files changed (36) hide show
  1. package/dist/{all-Bd7AdHPs.js → all-B3RHy-si.js} +1 -1
  2. package/dist/{all-BKRTNSnx.mjs → all-DxqmnktK.mjs} +1 -1
  3. package/dist/api/index.d.mts +642 -1352
  4. package/dist/api/index.d.ts +642 -1352
  5. package/dist/api/index.js +1 -1
  6. package/dist/api/index.mjs +1 -1
  7. package/dist/attribute-validators-BGKhSoi4.mjs +11 -0
  8. package/dist/attribute-validators-D-exV8OQ.js +11 -0
  9. package/dist/{exceptions-RLmYnywT.d.mts → exceptions-lFvB7G4Q.d.mts} +29 -2
  10. package/dist/{exceptions-B29yRRaG.d.ts → exceptions-uND1wZ9X.d.ts} +29 -2
  11. package/dist/exceptions.d.mts +2 -2
  12. package/dist/exceptions.d.ts +2 -2
  13. package/dist/exceptions.js +1 -1
  14. package/dist/exceptions.mjs +1 -1
  15. package/dist/{index-DP6kFv1b.d.ts → index-CiAuyPuA.d.ts} +627 -1413
  16. package/dist/index.d.mts +4 -4
  17. package/dist/index.d.ts +4 -4
  18. package/dist/index.js +2 -2
  19. package/dist/index.mjs +2 -2
  20. package/dist/record-operation-B49h1Oc-.mjs +2 -0
  21. package/dist/record-operation-HTySlhCF.js +2 -0
  22. package/dist/{record-query-CuEDE0CU.d.mts → record-query-Bki3Qcvc.d.mts} +627 -1413
  23. package/dist/{utils-CIqqP6hZ.d.ts → utils-Cn0G_X1P.d.ts} +1 -1
  24. package/dist/{utils-hkE18pLQ.d.mts → utils-PmF7E7_-.d.mts} +1 -1
  25. package/dist/utils.d.mts +1 -1
  26. package/dist/utils.d.ts +1 -1
  27. package/dist/validation/all.d.mts +1 -1
  28. package/dist/validation/all.d.ts +1 -1
  29. package/dist/validation/all.js +1 -1
  30. package/dist/validation/all.mjs +1 -1
  31. package/openapi.json +1320 -817
  32. package/package.json +2 -2
  33. package/dist/attribute-validators-CH24eLCk.js +0 -11
  34. package/dist/attribute-validators-RdwWgLqZ.mjs +0 -11
  35. package/dist/record-operation-VRpumyFM.js +0 -2
  36. package/dist/record-operation-bzca7POw.mjs +0 -2
@@ -1,7 +1,7 @@
1
1
 
2
2
  import "./zod-locale.js";
3
- import { TenantId, Uuid } from "./utils-CIqqP6hZ.js";
4
- import { SchemaError, SchemaErrorCode, ValidationError } from "./exceptions-B29yRRaG.js";
3
+ import { TenantId, Uuid } from "./utils-Cn0G_X1P.js";
4
+ import { SchemaError, SchemaErrorCode, ValidationError } from "./exceptions-uND1wZ9X.js";
5
5
  import * as z$2 from "zod";
6
6
  import z, { z as z$1 } from "zod";
7
7
  import { ColorId, CountryIso3, CurrencyCode, IconName } from "@standards/constants";
@@ -913,7 +913,7 @@ export declare function parseDecisionLink(raw: string): DecisionLink | null;
913
913
  export declare function decisionThreadKey(decisionId: string): string;
914
914
  /** The longest title of a person's decision (« Nouvelle décision »). */
915
915
  export declare const DECISION_TITLE_MAX_LENGTH = 120;
916
- /** The longest `why` and `change` line (§ 3): enforced by the service and a database check. */
916
+ /** The longest `context` of a question (§ 3): enforced by the tool's schema. */
917
917
  export declare const DECISION_LINE_MAX_LENGTH = 200;
918
918
  /** The `questions` batch of a `send` (`{ questions: [...] }`), or an approval's tool summary. */
919
919
  export type DecisionQuestions = Readonly<Record<string, unknown>>;
@@ -1111,8 +1111,6 @@ export declare const decisionSchema: z$2.ZodObject<{
1111
1111
  type: z$2.ZodString;
1112
1112
  title: z$2.ZodString;
1113
1113
  summary: z$2.ZodOptional<z$2.ZodString>;
1114
- why: z$2.ZodOptional<z$2.ZodString>;
1115
- change: z$2.ZodOptional<z$2.ZodString>;
1116
1114
  questions: z$2.ZodOptional<z$2.ZodType<Readonly<Record<string, unknown>>, Readonly<Record<string, unknown>>, z$2.core.$ZodTypeInternals<Readonly<Record<string, unknown>>, Readonly<Record<string, unknown>>>>>;
1117
1115
  answer: z$2.ZodOptional<z$2.ZodType<DecisionAnswer, DecisionAnswer, z$2.core.$ZodTypeInternals<DecisionAnswer, DecisionAnswer>>>;
1118
1116
  answeredBy: z$2.ZodOptional<z$2.ZodString>;
@@ -1188,7 +1186,8 @@ export type DecisionRecipient = z$2.output<typeof decisionRecipientSchema>;
1188
1186
  * A transfer (#6451): a recipient handed their open row of a `question` to
1189
1187
  * someone else. The caller's row closes `dismissed`; this entry, kept in the
1190
1188
  * decision's `payload.transfers` (oldest first), is that row's reason, which
1191
- * « Décisions tranchées » reads as « Transférée à <toLabel> ».
1189
+ * « Décisions tranchées » reads as « Transférée à <toLabel> ». The target's
1190
+ * open card reads it as « Transférée par <fromActorId's name> ».
1192
1191
  */
1193
1192
  export interface DecisionTransfer {
1194
1193
  fromActorId: Uuid;
@@ -1204,6 +1203,18 @@ export declare const DECISION_TRANSFERS_KEY = "transfers";
1204
1203
  export declare function decisionTransfersOf(decision: Pick<Decision, "payload">): DecisionTransfer[];
1205
1204
  /** The transfer that closed `actorId`'s row, the last one they made; `undefined` when none did. */
1206
1205
  export declare function decisionTransferBy(decision: Pick<Decision, "payload">, actorId: string): DecisionTransfer | undefined;
1206
+ /**
1207
+ * The transfer that opened `actorId`'s row, the last one made to them; its
1208
+ * `fromActorId` is who handed it over. `undefined` when the row was not
1209
+ * transferred.
1210
+ */
1211
+ export declare function decisionTransferTo(decision: Pick<Decision, "payload">, actorId: string): DecisionTransfer | undefined;
1212
+ /**
1213
+ * Who handed `actorId` their row, the last transfer to them: the one closed
1214
+ * row « Transférer » may reopen, to hand the decision back; `undefined` when
1215
+ * nobody did.
1216
+ */
1217
+ export declare function decisionHandedBy(decision: Pick<Decision, "payload">, actorId: string): Uuid | undefined;
1207
1218
  export declare const decisionWithRecipientSchema: z$2.ZodObject<{
1208
1219
  decision: z$2.ZodObject<{
1209
1220
  id: z$2.ZodString;
@@ -1222,8 +1233,6 @@ export declare const decisionWithRecipientSchema: z$2.ZodObject<{
1222
1233
  type: z$2.ZodString;
1223
1234
  title: z$2.ZodString;
1224
1235
  summary: z$2.ZodOptional<z$2.ZodString>;
1225
- why: z$2.ZodOptional<z$2.ZodString>;
1226
- change: z$2.ZodOptional<z$2.ZodString>;
1227
1236
  questions: z$2.ZodOptional<z$2.ZodType<Readonly<Record<string, unknown>>, Readonly<Record<string, unknown>>, z$2.core.$ZodTypeInternals<Readonly<Record<string, unknown>>, Readonly<Record<string, unknown>>>>>;
1228
1237
  answer: z$2.ZodOptional<z$2.ZodType<DecisionAnswer, DecisionAnswer, z$2.core.$ZodTypeInternals<DecisionAnswer, DecisionAnswer>>>;
1229
1238
  answeredBy: z$2.ZodOptional<z$2.ZodString>;
@@ -1378,8 +1387,6 @@ export declare const decisionListResultSchema: z$2.ZodObject<{
1378
1387
  type: z$2.ZodString;
1379
1388
  title: z$2.ZodString;
1380
1389
  summary: z$2.ZodOptional<z$2.ZodString>;
1381
- why: z$2.ZodOptional<z$2.ZodString>;
1382
- change: z$2.ZodOptional<z$2.ZodString>;
1383
1390
  questions: z$2.ZodOptional<z$2.ZodType<Readonly<Record<string, unknown>>, Readonly<Record<string, unknown>>, z$2.core.$ZodTypeInternals<Readonly<Record<string, unknown>>, Readonly<Record<string, unknown>>>>>;
1384
1391
  answer: z$2.ZodOptional<z$2.ZodType<DecisionAnswer, DecisionAnswer, z$2.core.$ZodTypeInternals<DecisionAnswer, DecisionAnswer>>>;
1385
1392
  answeredBy: z$2.ZodOptional<z$2.ZodString>;
@@ -1516,8 +1523,7 @@ export interface DecisionView {
1516
1523
  kind: DecisionKind;
1517
1524
  type: DecisionType;
1518
1525
  title: string;
1519
- why?: string;
1520
- change?: string;
1526
+ summary?: string;
1521
1527
  questions?: DecisionQuestions;
1522
1528
  answer?: DecisionAnswer;
1523
1529
  answeredBy?: Uuid;
@@ -1536,7 +1542,7 @@ export interface DecisionVisibleListParams {
1536
1542
  link?: string;
1537
1543
  kind?: readonly DecisionKind[];
1538
1544
  state?: DecisionReadState;
1539
- /** Free text over the title, why and change lines. */
1545
+ /** Free text over the title and the summary. */
1540
1546
  query?: string;
1541
1547
  limit: number;
1542
1548
  offset: number;
@@ -1578,8 +1584,6 @@ export interface CreateDecisionInput {
1578
1584
  type: DecisionType;
1579
1585
  title: string;
1580
1586
  summary?: string;
1581
- why?: string;
1582
- change?: string;
1583
1587
  questions?: DecisionQuestions;
1584
1588
  links?: DecisionLink[];
1585
1589
  /** Absent: `decision:<id of this decision>`. */
@@ -1743,6 +1747,8 @@ export interface BaseAttribute<DefaultValueType = unknown> {
1743
1747
  deprecated?: boolean;
1744
1748
  system?: boolean;
1745
1749
  unique?: boolean;
1750
+ /** Types this attribute left through retypes, oldest first. A stored column, never part of the config. */
1751
+ retypedFrom?: readonly AttributeType[];
1746
1752
  metadata?: Record<string, unknown>;
1747
1753
  }
1748
1754
  export interface TextAttribute extends BaseAttribute<string> {
@@ -2509,24 +2515,19 @@ export declare const pageAudienceSchema: z$2.ZodObject<{
2509
2515
  }, z$2.core.$strip>;
2510
2516
  /** Canonical normalized actions and legal condition fields (trigger catalogue F). */
2511
2517
  export declare const GITHUB_TRIGGER_CATALOG: {
2512
- readonly issue: {
2513
- readonly events: readonly ["issues"];
2514
- readonly actions: readonly ["opened", "edited", "closed", "reopened", "labeled", "unlabeled", "assigned", "unassigned", "milestoned", "demilestoned", "transferred", "pinned"];
2515
- readonly conditions: readonly ["label", "issueLabels", "assignees", "milestone", "issueType", "text"];
2516
- };
2517
2518
  readonly pull_request: {
2518
2519
  readonly events: readonly ["pull_request"];
2519
- readonly actions: readonly ["opened", "ready_for_review", "synchronize", "review_requested", "merged", "closed", "reopened", "converted_to_draft", "labeled", "assigned", "edited"];
2520
- readonly conditions: readonly ["baseBranch", "headBranch", "draft", "issueLabels", "changedPaths", "prAuthor"];
2520
+ readonly actions: readonly ["opened", "ready_for_review", "synchronize", "merged", "closed", "labeled"];
2521
+ readonly conditions: readonly ["baseBranch", "headBranch", "draft", "label", "issueLabels", "changedPaths", "prAuthor"];
2521
2522
  };
2522
2523
  readonly review: {
2523
2524
  readonly events: readonly ["pull_request_review"];
2524
- readonly actions: readonly ["submitted", "edited", "dismissed"];
2525
+ readonly actions: readonly ["submitted"];
2525
2526
  readonly conditions: readonly ["reviewState", "prAuthor"];
2526
2527
  };
2527
2528
  readonly comment: {
2528
- readonly events: readonly ["issue_comment", "pull_request_review_comment", "commit_comment"];
2529
- readonly actions: readonly ["created", "edited", "deleted"];
2529
+ readonly events: readonly ["issue_comment", "pull_request_review_comment"];
2530
+ readonly actions: readonly ["created"];
2530
2531
  readonly conditions: readonly ["text", "issueAuthor", "prAuthor"];
2531
2532
  };
2532
2533
  readonly push: {
@@ -2534,41 +2535,16 @@ export declare const GITHUB_TRIGGER_CATALOG: {
2534
2535
  readonly actions: readonly ["pushed"];
2535
2536
  readonly conditions: readonly ["branch", "changedPaths", "forced"];
2536
2537
  };
2537
- readonly ref: {
2538
- readonly events: readonly ["create", "delete"];
2539
- readonly actions: readonly ["created", "deleted"];
2540
- readonly conditions: readonly ["refType", "branch", "tag"];
2541
- };
2542
2538
  readonly workflow: {
2543
2539
  readonly events: readonly ["workflow_run"];
2544
- readonly actions: readonly ["requested", "in_progress", "completed"];
2540
+ readonly actions: readonly ["completed"];
2545
2541
  readonly conditions: readonly ["workflowName", "conclusion", "branch", "originEvent"];
2546
2542
  };
2547
2543
  readonly check: {
2548
2544
  readonly events: readonly ["check_suite", "check_run"];
2549
- readonly actions: readonly ["completed", "rerequested"];
2545
+ readonly actions: readonly ["completed"];
2550
2546
  readonly conditions: readonly ["checkApp", "checkName", "conclusion"];
2551
2547
  };
2552
- readonly project_item: {
2553
- readonly events: readonly ["projects_v2_item"];
2554
- readonly actions: readonly ["created", "edited", "archived", "restored", "deleted"];
2555
- readonly conditions: readonly ["project", "projectField", "from", "to", "itemType"];
2556
- };
2557
- readonly release: {
2558
- readonly events: readonly ["release"];
2559
- readonly actions: readonly ["published", "created", "edited", "prereleased", "deleted"];
2560
- readonly conditions: readonly ["prerelease", "tag"];
2561
- };
2562
- readonly discussion: {
2563
- readonly events: readonly ["discussion", "discussion_comment"];
2564
- readonly actions: readonly ["created", "commented", "answered", "labeled", "closed"];
2565
- readonly conditions: readonly ["category", "issueLabels", "text"];
2566
- };
2567
- readonly repository: {
2568
- readonly events: readonly ["star", "fork", "repository"];
2569
- readonly actions: readonly ["starred", "forked", "created", "archived"];
2570
- readonly conditions: readonly [];
2571
- };
2572
2548
  };
2573
2549
  export declare const SLACK_TRIGGER_CATALOG: {
2574
2550
  readonly mention: {
@@ -2587,10 +2563,6 @@ export declare const SLACK_TRIGGER_CATALOG: {
2587
2563
  readonly events: readonly ["reaction_added"];
2588
2564
  readonly conditions: readonly ["messageAuthor"];
2589
2565
  };
2590
- readonly member_joined: {
2591
- readonly events: readonly ["member_joined_channel"];
2592
- readonly conditions: readonly [];
2593
- };
2594
2566
  };
2595
2567
  export declare const githubConditionSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
2596
2568
  field: z$2.ZodLiteral<"text">;
@@ -2609,19 +2581,6 @@ export declare const githubConditionSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodOb
2609
2581
  any: "any";
2610
2582
  }>>;
2611
2583
  value: z$2.ZodArray<z$2.ZodString>;
2612
- }, z$2.core.$strict>, z$2.ZodObject<{
2613
- field: z$2.ZodLiteral<"assignees">;
2614
- operator: z$2.ZodDefault<z$2.ZodEnum<{
2615
- all: "all";
2616
- any: "any";
2617
- }>>;
2618
- value: z$2.ZodArray<z$2.ZodString>;
2619
- }, z$2.core.$strict>, z$2.ZodObject<{
2620
- field: z$2.ZodLiteral<"milestone">;
2621
- value: z$2.ZodString;
2622
- }, z$2.core.$strict>, z$2.ZodObject<{
2623
- field: z$2.ZodLiteral<"issueType">;
2624
- value: z$2.ZodString;
2625
2584
  }, z$2.core.$strict>, z$2.ZodObject<{
2626
2585
  field: z$2.ZodLiteral<"baseBranch">;
2627
2586
  value: z$2.ZodString;
@@ -2668,40 +2627,6 @@ export declare const githubConditionSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodOb
2668
2627
  }, z$2.core.$strict>, z$2.ZodObject<{
2669
2628
  field: z$2.ZodLiteral<"originEvent">;
2670
2629
  value: z$2.ZodString;
2671
- }, z$2.core.$strict>, z$2.ZodObject<{
2672
- field: z$2.ZodLiteral<"project">;
2673
- value: z$2.ZodString;
2674
- }, z$2.core.$strict>, z$2.ZodObject<{
2675
- field: z$2.ZodLiteral<"projectField">;
2676
- value: z$2.ZodString;
2677
- }, z$2.core.$strict>, z$2.ZodObject<{
2678
- field: z$2.ZodLiteral<"from">;
2679
- value: z$2.ZodNullable<z$2.ZodString>;
2680
- }, z$2.core.$strict>, z$2.ZodObject<{
2681
- field: z$2.ZodLiteral<"to">;
2682
- value: z$2.ZodNullable<z$2.ZodString>;
2683
- }, z$2.core.$strict>, z$2.ZodObject<{
2684
- field: z$2.ZodLiteral<"itemType">;
2685
- value: z$2.ZodEnum<{
2686
- draft: "draft";
2687
- issue: "issue";
2688
- pull_request: "pull_request";
2689
- }>;
2690
- }, z$2.core.$strict>, z$2.ZodObject<{
2691
- field: z$2.ZodLiteral<"prerelease">;
2692
- value: z$2.ZodBoolean;
2693
- }, z$2.core.$strict>, z$2.ZodObject<{
2694
- field: z$2.ZodLiteral<"tag">;
2695
- value: z$2.ZodString;
2696
- }, z$2.core.$strict>, z$2.ZodObject<{
2697
- field: z$2.ZodLiteral<"refType">;
2698
- value: z$2.ZodEnum<{
2699
- branch: "branch";
2700
- tag: "tag";
2701
- }>;
2702
- }, z$2.core.$strict>, z$2.ZodObject<{
2703
- field: z$2.ZodLiteral<"category">;
2704
- value: z$2.ZodString;
2705
2630
  }, z$2.core.$strict>], "field">;
2706
2631
  export declare const slackConditionSchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject<{
2707
2632
  field: z$2.ZodLiteral<"text">;
@@ -2727,6 +2652,10 @@ export type GithubCondition = z$2.output<typeof githubConditionSchema>;
2727
2652
  export type SlackCondition = z$2.output<typeof slackConditionSchema>;
2728
2653
  export type GithubTriggerFamily = keyof typeof GITHUB_TRIGGER_CATALOG;
2729
2654
  export type SlackTriggerOn = keyof typeof SLACK_TRIGGER_CATALOG;
2655
+ /** Every GitHub family, in the catalogue's order. */
2656
+ export declare const GITHUB_TRIGGER_FAMILIES: [GithubTriggerFamily, ...GithubTriggerFamily[]];
2657
+ /** Every Slack event a trigger listens to, in the catalogue's order. */
2658
+ export declare const SLACK_TRIGGER_EVENTS: [SlackTriggerOn, ...SlackTriggerOn[]];
2730
2659
  export type GithubTriggerAction<F extends GithubTriggerFamily = GithubTriggerFamily> = (typeof GITHUB_TRIGGER_CATALOG)[F]["actions"][number];
2731
2660
  export type GithubTriggerSender = "human" | "me" | "any" | {
2732
2661
  logins: string[];
@@ -2756,19 +2685,17 @@ export type SlackTriggerMatch = { [O in SlackTriggerOn]: {
2756
2685
  reactions?: never;
2757
2686
  }); }[SlackTriggerOn];
2758
2687
  export type ConnectorTriggerMatch = GithubTriggerMatch | SlackTriggerMatch;
2688
+ /** The suffix of `owner/*`: every repository of that owner, installed now or later. */
2689
+ export declare const REPOSITORY_WILDCARD = "/*";
2690
+ /** Whether a stored repository (`owner/repo` or `owner/*`) covers a full name. Case-insensitive. */
2691
+ export declare function matchesRepositoryPattern(pattern: string, fullName: string): boolean;
2759
2692
  /** The refinements establish the family/condition/action correlation of the output union. */
2760
2693
  export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
2761
2694
  family: z$2.ZodEnum<{
2762
2695
  check: "check";
2763
2696
  comment: "comment";
2764
- discussion: "discussion";
2765
- issue: "issue";
2766
- project_item: "project_item";
2767
2697
  pull_request: "pull_request";
2768
2698
  push: "push";
2769
- ref: "ref";
2770
- release: "release";
2771
- repository: "repository";
2772
2699
  review: "review";
2773
2700
  workflow: "workflow";
2774
2701
  }>;
@@ -2798,19 +2725,6 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
2798
2725
  any: "any";
2799
2726
  }>>;
2800
2727
  value: z$2.ZodArray<z$2.ZodString>;
2801
- }, z$2.core.$strict>, z$2.ZodObject<{
2802
- field: z$2.ZodLiteral<"assignees">;
2803
- operator: z$2.ZodDefault<z$2.ZodEnum<{
2804
- all: "all";
2805
- any: "any";
2806
- }>>;
2807
- value: z$2.ZodArray<z$2.ZodString>;
2808
- }, z$2.core.$strict>, z$2.ZodObject<{
2809
- field: z$2.ZodLiteral<"milestone">;
2810
- value: z$2.ZodString;
2811
- }, z$2.core.$strict>, z$2.ZodObject<{
2812
- field: z$2.ZodLiteral<"issueType">;
2813
- value: z$2.ZodString;
2814
2728
  }, z$2.core.$strict>, z$2.ZodObject<{
2815
2729
  field: z$2.ZodLiteral<"baseBranch">;
2816
2730
  value: z$2.ZodString;
@@ -2857,44 +2771,10 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
2857
2771
  }, z$2.core.$strict>, z$2.ZodObject<{
2858
2772
  field: z$2.ZodLiteral<"originEvent">;
2859
2773
  value: z$2.ZodString;
2860
- }, z$2.core.$strict>, z$2.ZodObject<{
2861
- field: z$2.ZodLiteral<"project">;
2862
- value: z$2.ZodString;
2863
- }, z$2.core.$strict>, z$2.ZodObject<{
2864
- field: z$2.ZodLiteral<"projectField">;
2865
- value: z$2.ZodString;
2866
- }, z$2.core.$strict>, z$2.ZodObject<{
2867
- field: z$2.ZodLiteral<"from">;
2868
- value: z$2.ZodNullable<z$2.ZodString>;
2869
- }, z$2.core.$strict>, z$2.ZodObject<{
2870
- field: z$2.ZodLiteral<"to">;
2871
- value: z$2.ZodNullable<z$2.ZodString>;
2872
- }, z$2.core.$strict>, z$2.ZodObject<{
2873
- field: z$2.ZodLiteral<"itemType">;
2874
- value: z$2.ZodEnum<{
2875
- draft: "draft";
2876
- issue: "issue";
2877
- pull_request: "pull_request";
2878
- }>;
2879
- }, z$2.core.$strict>, z$2.ZodObject<{
2880
- field: z$2.ZodLiteral<"prerelease">;
2881
- value: z$2.ZodBoolean;
2882
- }, z$2.core.$strict>, z$2.ZodObject<{
2883
- field: z$2.ZodLiteral<"tag">;
2884
- value: z$2.ZodString;
2885
- }, z$2.core.$strict>, z$2.ZodObject<{
2886
- field: z$2.ZodLiteral<"refType">;
2887
- value: z$2.ZodEnum<{
2888
- branch: "branch";
2889
- tag: "tag";
2890
- }>;
2891
- }, z$2.core.$strict>, z$2.ZodObject<{
2892
- field: z$2.ZodLiteral<"category">;
2893
- value: z$2.ZodString;
2894
2774
  }, z$2.core.$strict>], "field">>>;
2895
2775
  }, z$2.core.$strict>, z$2.ZodTransform<{
2896
2776
  family: "check";
2897
- actions: ("completed" | "rerequested")[];
2777
+ actions: "completed"[];
2898
2778
  repositories: string[];
2899
2779
  sender: GithubTriggerSender;
2900
2780
  conditions: ({
@@ -2909,7 +2789,7 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
2909
2789
  })[];
2910
2790
  } | {
2911
2791
  family: "comment";
2912
- actions: ("created" | "deleted" | "edited")[];
2792
+ actions: "created"[];
2913
2793
  repositories: string[];
2914
2794
  sender: GithubTriggerSender;
2915
2795
  conditions: ({
@@ -2923,74 +2803,9 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
2923
2803
  field: "prAuthor";
2924
2804
  value: string;
2925
2805
  })[];
2926
- } | {
2927
- family: "discussion";
2928
- actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
2929
- repositories: string[];
2930
- sender: GithubTriggerSender;
2931
- conditions: ({
2932
- field: "text";
2933
- operator: "contains" | "starts_with";
2934
- value: string;
2935
- } | {
2936
- field: "category";
2937
- value: string;
2938
- } | {
2939
- field: "issueLabels";
2940
- operator: "all" | "any";
2941
- value: string[];
2942
- })[];
2943
- } | {
2944
- family: "issue";
2945
- actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
2946
- repositories: string[];
2947
- sender: GithubTriggerSender;
2948
- conditions: ({
2949
- field: "text";
2950
- operator: "contains" | "starts_with";
2951
- value: string;
2952
- } | {
2953
- field: "issueType";
2954
- value: string;
2955
- } | {
2956
- field: "label";
2957
- value: string;
2958
- } | {
2959
- field: "milestone";
2960
- value: string;
2961
- } | {
2962
- field: "assignees";
2963
- operator: "all" | "any";
2964
- value: string[];
2965
- } | {
2966
- field: "issueLabels";
2967
- operator: "all" | "any";
2968
- value: string[];
2969
- })[];
2970
- } | {
2971
- family: "project_item";
2972
- actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
2973
- repositories: string[];
2974
- sender: GithubTriggerSender;
2975
- conditions: ({
2976
- field: "project";
2977
- value: string;
2978
- } | {
2979
- field: "projectField";
2980
- value: string;
2981
- } | {
2982
- field: "from";
2983
- value: string | null;
2984
- } | {
2985
- field: "to";
2986
- value: string | null;
2987
- } | {
2988
- field: "itemType";
2989
- value: "draft" | "issue" | "pull_request";
2990
- })[];
2991
2806
  } | {
2992
2807
  family: "pull_request";
2993
- actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
2808
+ actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
2994
2809
  repositories: string[];
2995
2810
  sender: GithubTriggerSender;
2996
2811
  conditions: ({
@@ -3002,6 +2817,9 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3002
2817
  } | {
3003
2818
  field: "headBranch";
3004
2819
  value: string;
2820
+ } | {
2821
+ field: "label";
2822
+ value: string;
3005
2823
  } | {
3006
2824
  field: "prAuthor";
3007
2825
  value: string;
@@ -3028,42 +2846,9 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3028
2846
  field: "forced";
3029
2847
  value: boolean;
3030
2848
  })[];
3031
- } | {
3032
- family: "ref";
3033
- actions: ("created" | "deleted")[];
3034
- repositories: string[];
3035
- sender: GithubTriggerSender;
3036
- conditions: ({
3037
- field: "branch";
3038
- value: string;
3039
- } | {
3040
- field: "tag";
3041
- value: string;
3042
- } | {
3043
- field: "refType";
3044
- value: "branch" | "tag";
3045
- })[];
3046
- } | {
3047
- family: "release";
3048
- actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
3049
- repositories: string[];
3050
- sender: GithubTriggerSender;
3051
- conditions: ({
3052
- field: "tag";
3053
- value: string;
3054
- } | {
3055
- field: "prerelease";
3056
- value: boolean;
3057
- })[];
3058
- } | {
3059
- family: "repository";
3060
- actions: ("archived" | "created" | "forked" | "starred")[];
3061
- repositories: string[];
3062
- sender: GithubTriggerSender;
3063
- conditions: never[];
3064
2849
  } | {
3065
2850
  family: "review";
3066
- actions: ("dismissed" | "edited" | "submitted")[];
2851
+ actions: "submitted"[];
3067
2852
  repositories: string[];
3068
2853
  sender: GithubTriggerSender;
3069
2854
  conditions: ({
@@ -3075,7 +2860,7 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3075
2860
  })[];
3076
2861
  } | {
3077
2862
  family: "workflow";
3078
- actions: ("completed" | "in_progress" | "requested")[];
2863
+ actions: "completed"[];
3079
2864
  repositories: string[];
3080
2865
  sender: GithubTriggerSender;
3081
2866
  conditions: ({
@@ -3092,7 +2877,7 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3092
2877
  value: string;
3093
2878
  })[];
3094
2879
  }, {
3095
- family: "check" | "comment" | "discussion" | "issue" | "project_item" | "pull_request" | "push" | "ref" | "release" | "repository" | "review" | "workflow";
2880
+ family: "check" | "comment" | "pull_request" | "push" | "review" | "workflow";
3096
2881
  actions: string[];
3097
2882
  repositories: string[];
3098
2883
  sender: "any" | "human" | "me" | {
@@ -3108,9 +2893,6 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3108
2893
  } | {
3109
2894
  field: "branch";
3110
2895
  value: string;
3111
- } | {
3112
- field: "category";
3113
- value: string;
3114
2896
  } | {
3115
2897
  field: "changedPaths";
3116
2898
  value: string;
@@ -3129,30 +2911,15 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3129
2911
  } | {
3130
2912
  field: "issueAuthor";
3131
2913
  value: string;
3132
- } | {
3133
- field: "issueType";
3134
- value: string;
3135
2914
  } | {
3136
2915
  field: "label";
3137
2916
  value: string;
3138
- } | {
3139
- field: "milestone";
3140
- value: string;
3141
2917
  } | {
3142
2918
  field: "originEvent";
3143
2919
  value: string;
3144
2920
  } | {
3145
2921
  field: "prAuthor";
3146
2922
  value: string;
3147
- } | {
3148
- field: "project";
3149
- value: string;
3150
- } | {
3151
- field: "projectField";
3152
- value: string;
3153
- } | {
3154
- field: "tag";
3155
- value: string;
3156
2923
  } | {
3157
2924
  field: "workflowName";
3158
2925
  value: string;
@@ -3162,13 +2929,6 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3162
2929
  } | {
3163
2930
  field: "forced";
3164
2931
  value: boolean;
3165
- } | {
3166
- field: "prerelease";
3167
- value: boolean;
3168
- } | {
3169
- field: "assignees";
3170
- operator: "all" | "any";
3171
- value: string[];
3172
2932
  } | {
3173
2933
  field: "issueLabels";
3174
2934
  operator: "all" | "any";
@@ -3176,24 +2936,11 @@ export declare const githubTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3176
2936
  } | {
3177
2937
  field: "reviewState";
3178
2938
  value: "approved" | "changes_requested" | "commented";
3179
- } | {
3180
- field: "from";
3181
- value: string | null;
3182
- } | {
3183
- field: "to";
3184
- value: string | null;
3185
- } | {
3186
- field: "itemType";
3187
- value: "draft" | "issue" | "pull_request";
3188
- } | {
3189
- field: "refType";
3190
- value: "branch" | "tag";
3191
2939
  })[];
3192
2940
  }>>;
3193
2941
  export declare const slackTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3194
2942
  on: z$2.ZodEnum<{
3195
2943
  dm: "dm";
3196
- member_joined: "member_joined";
3197
2944
  mention: "mention";
3198
2945
  message: "message";
3199
2946
  reaction: "reaction";
@@ -3241,13 +2988,6 @@ export declare const slackTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3241
2988
  })[];
3242
2989
  } & {
3243
2990
  reactions?: never;
3244
- }) | ({
3245
- on: "member_joined";
3246
- channels: string[];
3247
- sender: SlackTriggerSender;
3248
- conditions: never[];
3249
- } & {
3250
- reactions?: never;
3251
2991
  }) | ({
3252
2992
  on: "mention";
3253
2993
  channels: string[];
@@ -3287,7 +3027,7 @@ export declare const slackTriggerMatchSchema: z$2.ZodPipe<z$2.ZodObject<{
3287
3027
  } & {
3288
3028
  reactions?: string[];
3289
3029
  }), {
3290
- on: "dm" | "member_joined" | "mention" | "message" | "reaction";
3030
+ on: "dm" | "mention" | "message" | "reaction";
3291
3031
  channels: string[];
3292
3032
  reactions?: string[] | undefined;
3293
3033
  sender: "any" | "human" | "me" | {
@@ -3312,14 +3052,8 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3312
3052
  family: z$2.ZodEnum<{
3313
3053
  check: "check";
3314
3054
  comment: "comment";
3315
- discussion: "discussion";
3316
- issue: "issue";
3317
- project_item: "project_item";
3318
3055
  pull_request: "pull_request";
3319
3056
  push: "push";
3320
- ref: "ref";
3321
- release: "release";
3322
- repository: "repository";
3323
3057
  review: "review";
3324
3058
  workflow: "workflow";
3325
3059
  }>;
@@ -3349,19 +3083,6 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3349
3083
  any: "any";
3350
3084
  }>>;
3351
3085
  value: z$2.ZodArray<z$2.ZodString>;
3352
- }, z$2.core.$strict>, z$2.ZodObject<{
3353
- field: z$2.ZodLiteral<"assignees">;
3354
- operator: z$2.ZodDefault<z$2.ZodEnum<{
3355
- all: "all";
3356
- any: "any";
3357
- }>>;
3358
- value: z$2.ZodArray<z$2.ZodString>;
3359
- }, z$2.core.$strict>, z$2.ZodObject<{
3360
- field: z$2.ZodLiteral<"milestone">;
3361
- value: z$2.ZodString;
3362
- }, z$2.core.$strict>, z$2.ZodObject<{
3363
- field: z$2.ZodLiteral<"issueType">;
3364
- value: z$2.ZodString;
3365
3086
  }, z$2.core.$strict>, z$2.ZodObject<{
3366
3087
  field: z$2.ZodLiteral<"baseBranch">;
3367
3088
  value: z$2.ZodString;
@@ -3408,44 +3129,10 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3408
3129
  }, z$2.core.$strict>, z$2.ZodObject<{
3409
3130
  field: z$2.ZodLiteral<"originEvent">;
3410
3131
  value: z$2.ZodString;
3411
- }, z$2.core.$strict>, z$2.ZodObject<{
3412
- field: z$2.ZodLiteral<"project">;
3413
- value: z$2.ZodString;
3414
- }, z$2.core.$strict>, z$2.ZodObject<{
3415
- field: z$2.ZodLiteral<"projectField">;
3416
- value: z$2.ZodString;
3417
- }, z$2.core.$strict>, z$2.ZodObject<{
3418
- field: z$2.ZodLiteral<"from">;
3419
- value: z$2.ZodNullable<z$2.ZodString>;
3420
- }, z$2.core.$strict>, z$2.ZodObject<{
3421
- field: z$2.ZodLiteral<"to">;
3422
- value: z$2.ZodNullable<z$2.ZodString>;
3423
- }, z$2.core.$strict>, z$2.ZodObject<{
3424
- field: z$2.ZodLiteral<"itemType">;
3425
- value: z$2.ZodEnum<{
3426
- draft: "draft";
3427
- issue: "issue";
3428
- pull_request: "pull_request";
3429
- }>;
3430
- }, z$2.core.$strict>, z$2.ZodObject<{
3431
- field: z$2.ZodLiteral<"prerelease">;
3432
- value: z$2.ZodBoolean;
3433
- }, z$2.core.$strict>, z$2.ZodObject<{
3434
- field: z$2.ZodLiteral<"tag">;
3435
- value: z$2.ZodString;
3436
- }, z$2.core.$strict>, z$2.ZodObject<{
3437
- field: z$2.ZodLiteral<"refType">;
3438
- value: z$2.ZodEnum<{
3439
- branch: "branch";
3440
- tag: "tag";
3441
- }>;
3442
- }, z$2.core.$strict>, z$2.ZodObject<{
3443
- field: z$2.ZodLiteral<"category">;
3444
- value: z$2.ZodString;
3445
3132
  }, z$2.core.$strict>], "field">>>;
3446
3133
  }, z$2.core.$strict>, z$2.ZodTransform<{
3447
3134
  family: "check";
3448
- actions: ("completed" | "rerequested")[];
3135
+ actions: "completed"[];
3449
3136
  repositories: string[];
3450
3137
  sender: GithubTriggerSender;
3451
3138
  conditions: ({
@@ -3460,7 +3147,7 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3460
3147
  })[];
3461
3148
  } | {
3462
3149
  family: "comment";
3463
- actions: ("created" | "deleted" | "edited")[];
3150
+ actions: "created"[];
3464
3151
  repositories: string[];
3465
3152
  sender: GithubTriggerSender;
3466
3153
  conditions: ({
@@ -3474,74 +3161,9 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3474
3161
  field: "prAuthor";
3475
3162
  value: string;
3476
3163
  })[];
3477
- } | {
3478
- family: "discussion";
3479
- actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
3480
- repositories: string[];
3481
- sender: GithubTriggerSender;
3482
- conditions: ({
3483
- field: "text";
3484
- operator: "contains" | "starts_with";
3485
- value: string;
3486
- } | {
3487
- field: "category";
3488
- value: string;
3489
- } | {
3490
- field: "issueLabels";
3491
- operator: "all" | "any";
3492
- value: string[];
3493
- })[];
3494
- } | {
3495
- family: "issue";
3496
- actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
3497
- repositories: string[];
3498
- sender: GithubTriggerSender;
3499
- conditions: ({
3500
- field: "text";
3501
- operator: "contains" | "starts_with";
3502
- value: string;
3503
- } | {
3504
- field: "issueType";
3505
- value: string;
3506
- } | {
3507
- field: "label";
3508
- value: string;
3509
- } | {
3510
- field: "milestone";
3511
- value: string;
3512
- } | {
3513
- field: "assignees";
3514
- operator: "all" | "any";
3515
- value: string[];
3516
- } | {
3517
- field: "issueLabels";
3518
- operator: "all" | "any";
3519
- value: string[];
3520
- })[];
3521
- } | {
3522
- family: "project_item";
3523
- actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
3524
- repositories: string[];
3525
- sender: GithubTriggerSender;
3526
- conditions: ({
3527
- field: "project";
3528
- value: string;
3529
- } | {
3530
- field: "projectField";
3531
- value: string;
3532
- } | {
3533
- field: "from";
3534
- value: string | null;
3535
- } | {
3536
- field: "to";
3537
- value: string | null;
3538
- } | {
3539
- field: "itemType";
3540
- value: "draft" | "issue" | "pull_request";
3541
- })[];
3542
3164
  } | {
3543
3165
  family: "pull_request";
3544
- actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
3166
+ actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
3545
3167
  repositories: string[];
3546
3168
  sender: GithubTriggerSender;
3547
3169
  conditions: ({
@@ -3553,6 +3175,9 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3553
3175
  } | {
3554
3176
  field: "headBranch";
3555
3177
  value: string;
3178
+ } | {
3179
+ field: "label";
3180
+ value: string;
3556
3181
  } | {
3557
3182
  field: "prAuthor";
3558
3183
  value: string;
@@ -3580,41 +3205,8 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3580
3205
  value: boolean;
3581
3206
  })[];
3582
3207
  } | {
3583
- family: "ref";
3584
- actions: ("created" | "deleted")[];
3585
- repositories: string[];
3586
- sender: GithubTriggerSender;
3587
- conditions: ({
3588
- field: "branch";
3589
- value: string;
3590
- } | {
3591
- field: "tag";
3592
- value: string;
3593
- } | {
3594
- field: "refType";
3595
- value: "branch" | "tag";
3596
- })[];
3597
- } | {
3598
- family: "release";
3599
- actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
3600
- repositories: string[];
3601
- sender: GithubTriggerSender;
3602
- conditions: ({
3603
- field: "tag";
3604
- value: string;
3605
- } | {
3606
- field: "prerelease";
3607
- value: boolean;
3608
- })[];
3609
- } | {
3610
- family: "repository";
3611
- actions: ("archived" | "created" | "forked" | "starred")[];
3612
- repositories: string[];
3613
- sender: GithubTriggerSender;
3614
- conditions: never[];
3615
- } | {
3616
- family: "review";
3617
- actions: ("dismissed" | "edited" | "submitted")[];
3208
+ family: "review";
3209
+ actions: "submitted"[];
3618
3210
  repositories: string[];
3619
3211
  sender: GithubTriggerSender;
3620
3212
  conditions: ({
@@ -3626,7 +3218,7 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3626
3218
  })[];
3627
3219
  } | {
3628
3220
  family: "workflow";
3629
- actions: ("completed" | "in_progress" | "requested")[];
3221
+ actions: "completed"[];
3630
3222
  repositories: string[];
3631
3223
  sender: GithubTriggerSender;
3632
3224
  conditions: ({
@@ -3643,7 +3235,7 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3643
3235
  value: string;
3644
3236
  })[];
3645
3237
  }, {
3646
- family: "check" | "comment" | "discussion" | "issue" | "project_item" | "pull_request" | "push" | "ref" | "release" | "repository" | "review" | "workflow";
3238
+ family: "check" | "comment" | "pull_request" | "push" | "review" | "workflow";
3647
3239
  actions: string[];
3648
3240
  repositories: string[];
3649
3241
  sender: "any" | "human" | "me" | {
@@ -3659,9 +3251,6 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3659
3251
  } | {
3660
3252
  field: "branch";
3661
3253
  value: string;
3662
- } | {
3663
- field: "category";
3664
- value: string;
3665
3254
  } | {
3666
3255
  field: "changedPaths";
3667
3256
  value: string;
@@ -3680,30 +3269,15 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3680
3269
  } | {
3681
3270
  field: "issueAuthor";
3682
3271
  value: string;
3683
- } | {
3684
- field: "issueType";
3685
- value: string;
3686
3272
  } | {
3687
3273
  field: "label";
3688
3274
  value: string;
3689
- } | {
3690
- field: "milestone";
3691
- value: string;
3692
3275
  } | {
3693
3276
  field: "originEvent";
3694
3277
  value: string;
3695
3278
  } | {
3696
3279
  field: "prAuthor";
3697
3280
  value: string;
3698
- } | {
3699
- field: "project";
3700
- value: string;
3701
- } | {
3702
- field: "projectField";
3703
- value: string;
3704
- } | {
3705
- field: "tag";
3706
- value: string;
3707
3281
  } | {
3708
3282
  field: "workflowName";
3709
3283
  value: string;
@@ -3713,13 +3287,6 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3713
3287
  } | {
3714
3288
  field: "forced";
3715
3289
  value: boolean;
3716
- } | {
3717
- field: "prerelease";
3718
- value: boolean;
3719
- } | {
3720
- field: "assignees";
3721
- operator: "all" | "any";
3722
- value: string[];
3723
3290
  } | {
3724
3291
  field: "issueLabels";
3725
3292
  operator: "all" | "any";
@@ -3727,23 +3294,10 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3727
3294
  } | {
3728
3295
  field: "reviewState";
3729
3296
  value: "approved" | "changes_requested" | "commented";
3730
- } | {
3731
- field: "from";
3732
- value: string | null;
3733
- } | {
3734
- field: "to";
3735
- value: string | null;
3736
- } | {
3737
- field: "itemType";
3738
- value: "draft" | "issue" | "pull_request";
3739
- } | {
3740
- field: "refType";
3741
- value: "branch" | "tag";
3742
3297
  })[];
3743
3298
  }>>, z$2.ZodPipe<z$2.ZodObject<{
3744
3299
  on: z$2.ZodEnum<{
3745
3300
  dm: "dm";
3746
- member_joined: "member_joined";
3747
3301
  mention: "mention";
3748
3302
  message: "message";
3749
3303
  reaction: "reaction";
@@ -3791,13 +3345,6 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3791
3345
  })[];
3792
3346
  } & {
3793
3347
  reactions?: never;
3794
- }) | ({
3795
- on: "member_joined";
3796
- channels: string[];
3797
- sender: SlackTriggerSender;
3798
- conditions: never[];
3799
- } & {
3800
- reactions?: never;
3801
3348
  }) | ({
3802
3349
  on: "mention";
3803
3350
  channels: string[];
@@ -3837,7 +3384,7 @@ export declare const connectorTriggerMatchSchema: z$2.ZodUnion<readonly [z$2.Zod
3837
3384
  } & {
3838
3385
  reactions?: string[];
3839
3386
  }), {
3840
- on: "dm" | "member_joined" | "mention" | "message" | "reaction";
3387
+ on: "dm" | "mention" | "message" | "reaction";
3841
3388
  channels: string[];
3842
3389
  reactions?: string[] | undefined;
3843
3390
  sender: "any" | "human" | "me" | {
@@ -3878,9 +3425,6 @@ export interface GithubEventFacts {
3878
3425
  text?: string;
3879
3426
  label?: string;
3880
3427
  issueLabels?: string[];
3881
- assignees?: string[];
3882
- milestone?: string;
3883
- issueType?: string;
3884
3428
  baseBranch?: string;
3885
3429
  headBranch?: string;
3886
3430
  branch?: string;
@@ -3895,15 +3439,6 @@ export interface GithubEventFacts {
3895
3439
  checkName?: string;
3896
3440
  conclusion?: string;
3897
3441
  originEvent?: string;
3898
- project?: string;
3899
- projectField?: string;
3900
- from?: string | null;
3901
- to?: string | null;
3902
- itemType?: "issue" | "pull_request" | "draft";
3903
- prerelease?: boolean;
3904
- tag?: string;
3905
- refType?: "branch" | "tag";
3906
- category?: string;
3907
3442
  }
3908
3443
  export type NormalizedGithubEvent = ConnectorEventIdentity & {
3909
3444
  provider: "github";
@@ -6000,6 +5535,7 @@ export declare const agentSessionMessageOutputSchema: z$2.ZodObject<{
6000
5535
  deletion: z$2.ZodOptional<z$2.ZodObject<{
6001
5536
  target: z$2.ZodOptional<z$2.ZodString>;
6002
5537
  count: z$2.ZodOptional<z$2.ZodNumber>;
5538
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6003
5539
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
6004
5540
  }, z$2.core.$strict>>;
6005
5541
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -6221,6 +5757,7 @@ export declare const agentHistoryMessageSchema: z$2.ZodObject<{
6221
5757
  deletion: z$2.ZodOptional<z$2.ZodObject<{
6222
5758
  target: z$2.ZodOptional<z$2.ZodString>;
6223
5759
  count: z$2.ZodOptional<z$2.ZodNumber>;
5760
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6224
5761
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
6225
5762
  }, z$2.core.$strict>>;
6226
5763
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -6448,6 +5985,7 @@ export declare const agentSessionHistoryPageSchema: z$2.ZodObject<{
6448
5985
  deletion: z$2.ZodOptional<z$2.ZodObject<{
6449
5986
  target: z$2.ZodOptional<z$2.ZodString>;
6450
5987
  count: z$2.ZodOptional<z$2.ZodNumber>;
5988
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6451
5989
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
6452
5990
  }, z$2.core.$strict>>;
6453
5991
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -6704,6 +6242,7 @@ export declare const agentApprovalResolutionSchema: z$2.ZodObject<{
6704
6242
  deletion: z$2.ZodOptional<z$2.ZodObject<{
6705
6243
  target: z$2.ZodOptional<z$2.ZodString>;
6706
6244
  count: z$2.ZodOptional<z$2.ZodNumber>;
6245
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6707
6246
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
6708
6247
  }, z$2.core.$strict>>;
6709
6248
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -6933,6 +6472,7 @@ export declare const agentRequestAnswerSchema: z$2.ZodObject<{
6933
6472
  deletion: z$2.ZodOptional<z$2.ZodObject<{
6934
6473
  target: z$2.ZodOptional<z$2.ZodString>;
6935
6474
  count: z$2.ZodOptional<z$2.ZodNumber>;
6475
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
6936
6476
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
6937
6477
  }, z$2.core.$strict>>;
6938
6478
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -7564,7 +7104,6 @@ export declare const agentSetupResponseSchema: z$2.ZodObject<{
7564
7104
  "form.submitted": "form.submitted";
7565
7105
  github: "github";
7566
7106
  "record.created": "record.created";
7567
- "record.deleted": "record.deleted";
7568
7107
  "record.updated": "record.updated";
7569
7108
  slack: "slack";
7570
7109
  webhook: "webhook";
@@ -7802,7 +7341,6 @@ export declare const agentTriggerDefinitionSchema: z$2.ZodObject<{
7802
7341
  "form.submitted": "form.submitted";
7803
7342
  github: "github";
7804
7343
  "record.created": "record.created";
7805
- "record.deleted": "record.deleted";
7806
7344
  "record.updated": "record.updated";
7807
7345
  slack: "slack";
7808
7346
  webhook: "webhook";
@@ -7817,6 +7355,7 @@ export declare const agentTriggerDefinitionSchema: z$2.ZodObject<{
7817
7355
  continueConversation: z$2.ZodOptional<z$2.ZodBoolean>;
7818
7356
  filter: z$2.ZodOptional<z$2.ZodType<FilterState, FilterState, z$2.core.$ZodTypeInternals<FilterState, FilterState>>>;
7819
7357
  debounceMs: z$2.ZodOptional<z$2.ZodNumber>;
7358
+ reentry: z$2.ZodOptional<z$2.ZodNumber>;
7820
7359
  enabled: z$2.ZodBoolean;
7821
7360
  createdBy: z$2.ZodString;
7822
7361
  lastFiredAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
@@ -7840,7 +7379,6 @@ export declare const createAgentTriggerResultSchema: z$2.ZodObject<{
7840
7379
  "form.submitted": "form.submitted";
7841
7380
  github: "github";
7842
7381
  "record.created": "record.created";
7843
- "record.deleted": "record.deleted";
7844
7382
  "record.updated": "record.updated";
7845
7383
  slack: "slack";
7846
7384
  webhook: "webhook";
@@ -7855,6 +7393,7 @@ export declare const createAgentTriggerResultSchema: z$2.ZodObject<{
7855
7393
  continueConversation: z$2.ZodOptional<z$2.ZodBoolean>;
7856
7394
  filter: z$2.ZodOptional<z$2.ZodType<FilterState, FilterState, z$2.core.$ZodTypeInternals<FilterState, FilterState>>>;
7857
7395
  debounceMs: z$2.ZodOptional<z$2.ZodNumber>;
7396
+ reentry: z$2.ZodOptional<z$2.ZodNumber>;
7858
7397
  enabled: z$2.ZodBoolean;
7859
7398
  createdBy: z$2.ZodString;
7860
7399
  lastFiredAt: z$2.ZodOptional<z$2.ZodCodec<z$2.ZodISODateTime, z$2.ZodDate>>;
@@ -8901,6 +8440,120 @@ export declare const architectProjectionSchema: z$2.ZodDiscriminatedUnion<[z$2.Z
8901
8440
  operationId: z$2.ZodNullable<z$2.ZodString>;
8902
8441
  message: z$2.ZodString;
8903
8442
  }, z$2.core.$strip>], "status">;
8443
+ /**
8444
+ * The types an attribute can be retyped to, each judged: `retype` (with the
8445
+ * capabilities it loses) or `refuse` (with the judge's reason, and the
8446
+ * dependents the caller sees named; the ones it may not see are counted).
8447
+ * `from` is the stored type they were judged from. `deferred` is a catalogue
8448
+ * retype a boot or push left open for this attribute.
8449
+ */
8450
+ export declare const retypeOptionsOutputSchema: z$2.ZodObject<{
8451
+ from: z$2.ZodEnum<{
8452
+ checkbox: "checkbox";
8453
+ currency: "currency";
8454
+ date: "date";
8455
+ document: "document";
8456
+ formula: "formula";
8457
+ location: "location";
8458
+ multiselect: "multiselect";
8459
+ number: "number";
8460
+ phone: "phone";
8461
+ relation: "relation";
8462
+ richtext: "richtext";
8463
+ rollup: "rollup";
8464
+ select: "select";
8465
+ status: "status";
8466
+ text: "text";
8467
+ user: "user";
8468
+ }>;
8469
+ targets: z$2.ZodArray<z$2.ZodObject<{
8470
+ type: z$2.ZodEnum<{
8471
+ checkbox: "checkbox";
8472
+ currency: "currency";
8473
+ date: "date";
8474
+ document: "document";
8475
+ formula: "formula";
8476
+ location: "location";
8477
+ multiselect: "multiselect";
8478
+ number: "number";
8479
+ phone: "phone";
8480
+ relation: "relation";
8481
+ richtext: "richtext";
8482
+ rollup: "rollup";
8483
+ select: "select";
8484
+ status: "status";
8485
+ text: "text";
8486
+ user: "user";
8487
+ }>;
8488
+ verdict: z$2.ZodEnum<{
8489
+ refuse: "refuse";
8490
+ retype: "retype";
8491
+ }>;
8492
+ reason: z$2.ZodOptional<z$2.ZodEnum<{
8493
+ conversion: "conversion";
8494
+ dependents: "dependents";
8495
+ lossy: "lossy";
8496
+ precondition: "precondition";
8497
+ required: "required";
8498
+ unsupported: "unsupported";
8499
+ }>>;
8500
+ losses: z$2.ZodArray<z$2.ZodObject<{
8501
+ capability: z$2.ZodEnum<{
8502
+ filterable: "filterable";
8503
+ groupable: "groupable";
8504
+ kanbanGroupable: "kanbanGroupable";
8505
+ sortable: "sortable";
8506
+ tableCell: "tableCell";
8507
+ }>;
8508
+ }, z$2.core.$strip>>;
8509
+ dependents: z$2.ZodArray<z$2.ZodObject<{
8510
+ kind: z$2.ZodEnum<{
8511
+ content: "content";
8512
+ formula: "formula";
8513
+ page: "page";
8514
+ relation: "relation";
8515
+ rollup: "rollup";
8516
+ trigger: "trigger";
8517
+ view: "view";
8518
+ }>;
8519
+ label: z$2.ZodString;
8520
+ }, z$2.core.$strip>>;
8521
+ hiddenDependents: z$2.ZodNumber;
8522
+ }, z$2.core.$strip>>;
8523
+ deferred: z$2.ZodNullable<z$2.ZodObject<{
8524
+ to: z$2.ZodEnum<{
8525
+ checkbox: "checkbox";
8526
+ currency: "currency";
8527
+ date: "date";
8528
+ document: "document";
8529
+ formula: "formula";
8530
+ location: "location";
8531
+ multiselect: "multiselect";
8532
+ number: "number";
8533
+ phone: "phone";
8534
+ relation: "relation";
8535
+ richtext: "richtext";
8536
+ rollup: "rollup";
8537
+ select: "select";
8538
+ status: "status";
8539
+ text: "text";
8540
+ user: "user";
8541
+ }>;
8542
+ dependents: z$2.ZodArray<z$2.ZodObject<{
8543
+ kind: z$2.ZodEnum<{
8544
+ content: "content";
8545
+ formula: "formula";
8546
+ page: "page";
8547
+ relation: "relation";
8548
+ rollup: "rollup";
8549
+ trigger: "trigger";
8550
+ view: "view";
8551
+ }>;
8552
+ label: z$2.ZodString;
8553
+ }, z$2.core.$strip>>;
8554
+ hiddenDependents: z$2.ZodNumber;
8555
+ }, z$2.core.$strip>>;
8556
+ }, z$2.core.$strip>;
8904
8557
  type ContentConfiguration<T = ViewContentDefinition> = T extends ViewContentDefinition ? Omit<T, "name" | "label" | "placement"> : never;
8905
8558
  export type BlockInputKind = "object" | "attribute" | "query" | "record" | "agent" | "routine" | "view" | "url" | "emailCategory" | "enum" | "text" | "number" | "boolean" | "period";
8906
8559
  export declare const BLOCK_PERIODS: readonly ["day", "week", "month", "quarter", "year"];
@@ -11674,6 +11327,104 @@ export declare const bundleListSchema: z$2.ZodObject<{
11674
11327
  }, z$2.core.$strip>;
11675
11328
  }, z$2.core.$strip>>;
11676
11329
  }, z$2.core.$strip>;
11330
+ /** What reads an attribute a retype is refused by. */
11331
+ export declare const bundleUpdateDependentSchema: z$2.ZodObject<{
11332
+ kind: z$2.ZodEnum<{
11333
+ content: "content";
11334
+ formula: "formula";
11335
+ page: "page";
11336
+ relation: "relation";
11337
+ rollup: "rollup";
11338
+ trigger: "trigger";
11339
+ view: "view";
11340
+ }>;
11341
+ label: z$2.ZodString;
11342
+ }, z$2.core.$strip>;
11343
+ /**
11344
+ * A retype a sync left for later: what reads the attribute cannot follow it.
11345
+ * The attribute keeps its type until those dependents are gone, and the next
11346
+ * push of the same hash tries again.
11347
+ */
11348
+ export declare const deferredRetypeSchema: z$2.ZodObject<{
11349
+ object: z$2.ZodString;
11350
+ attribute: z$2.ZodString;
11351
+ to: z$2.ZodEnum<{
11352
+ checkbox: "checkbox";
11353
+ currency: "currency";
11354
+ date: "date";
11355
+ document: "document";
11356
+ formula: "formula";
11357
+ location: "location";
11358
+ multiselect: "multiselect";
11359
+ number: "number";
11360
+ phone: "phone";
11361
+ relation: "relation";
11362
+ richtext: "richtext";
11363
+ rollup: "rollup";
11364
+ select: "select";
11365
+ status: "status";
11366
+ text: "text";
11367
+ user: "user";
11368
+ }>;
11369
+ dependents: z$2.ZodArray<z$2.ZodObject<{
11370
+ kind: z$2.ZodEnum<{
11371
+ content: "content";
11372
+ formula: "formula";
11373
+ page: "page";
11374
+ relation: "relation";
11375
+ rollup: "rollup";
11376
+ trigger: "trigger";
11377
+ view: "view";
11378
+ }>;
11379
+ label: z$2.ZodString;
11380
+ }, z$2.core.$strip>>;
11381
+ hiddenDependents: z$2.ZodNumber;
11382
+ }, z$2.core.$strip>;
11383
+ /**
11384
+ * An attribute a sync served as it is stored: the bundle declares a type the
11385
+ * attribute already left by a retype whose way back would lose data (an older
11386
+ * build). Nothing of its declaration is written.
11387
+ */
11388
+ export declare const servedAsIsAttributeSchema: z$2.ZodObject<{
11389
+ object: z$2.ZodString;
11390
+ attribute: z$2.ZodString;
11391
+ declared: z$2.ZodEnum<{
11392
+ checkbox: "checkbox";
11393
+ currency: "currency";
11394
+ date: "date";
11395
+ document: "document";
11396
+ formula: "formula";
11397
+ location: "location";
11398
+ multiselect: "multiselect";
11399
+ number: "number";
11400
+ phone: "phone";
11401
+ relation: "relation";
11402
+ richtext: "richtext";
11403
+ rollup: "rollup";
11404
+ select: "select";
11405
+ status: "status";
11406
+ text: "text";
11407
+ user: "user";
11408
+ }>;
11409
+ stored: z$2.ZodEnum<{
11410
+ checkbox: "checkbox";
11411
+ currency: "currency";
11412
+ date: "date";
11413
+ document: "document";
11414
+ formula: "formula";
11415
+ location: "location";
11416
+ multiselect: "multiselect";
11417
+ number: "number";
11418
+ phone: "phone";
11419
+ relation: "relation";
11420
+ richtext: "richtext";
11421
+ rollup: "rollup";
11422
+ select: "select";
11423
+ status: "status";
11424
+ text: "text";
11425
+ user: "user";
11426
+ }>;
11427
+ }, z$2.core.$strip>;
11677
11428
  /** What a sync reports; `applied: false` when the workspace already held this hash. */
11678
11429
  export declare const syncBundleResultSchema: z$2.ZodObject<{
11679
11430
  applied: z$2.ZodBoolean;
@@ -11689,6 +11440,81 @@ export declare const syncBundleResultSchema: z$2.ZodObject<{
11689
11440
  adopted: z$2.ZodNumber;
11690
11441
  released: z$2.ZodNumber;
11691
11442
  }, z$2.core.$strip>>;
11443
+ deferredRetypes: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
11444
+ object: z$2.ZodString;
11445
+ attribute: z$2.ZodString;
11446
+ to: z$2.ZodEnum<{
11447
+ checkbox: "checkbox";
11448
+ currency: "currency";
11449
+ date: "date";
11450
+ document: "document";
11451
+ formula: "formula";
11452
+ location: "location";
11453
+ multiselect: "multiselect";
11454
+ number: "number";
11455
+ phone: "phone";
11456
+ relation: "relation";
11457
+ richtext: "richtext";
11458
+ rollup: "rollup";
11459
+ select: "select";
11460
+ status: "status";
11461
+ text: "text";
11462
+ user: "user";
11463
+ }>;
11464
+ dependents: z$2.ZodArray<z$2.ZodObject<{
11465
+ kind: z$2.ZodEnum<{
11466
+ content: "content";
11467
+ formula: "formula";
11468
+ page: "page";
11469
+ relation: "relation";
11470
+ rollup: "rollup";
11471
+ trigger: "trigger";
11472
+ view: "view";
11473
+ }>;
11474
+ label: z$2.ZodString;
11475
+ }, z$2.core.$strip>>;
11476
+ hiddenDependents: z$2.ZodNumber;
11477
+ }, z$2.core.$strip>>>;
11478
+ servedAsIs: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
11479
+ object: z$2.ZodString;
11480
+ attribute: z$2.ZodString;
11481
+ declared: z$2.ZodEnum<{
11482
+ checkbox: "checkbox";
11483
+ currency: "currency";
11484
+ date: "date";
11485
+ document: "document";
11486
+ formula: "formula";
11487
+ location: "location";
11488
+ multiselect: "multiselect";
11489
+ number: "number";
11490
+ phone: "phone";
11491
+ relation: "relation";
11492
+ richtext: "richtext";
11493
+ rollup: "rollup";
11494
+ select: "select";
11495
+ status: "status";
11496
+ text: "text";
11497
+ user: "user";
11498
+ }>;
11499
+ stored: z$2.ZodEnum<{
11500
+ checkbox: "checkbox";
11501
+ currency: "currency";
11502
+ date: "date";
11503
+ document: "document";
11504
+ formula: "formula";
11505
+ location: "location";
11506
+ multiselect: "multiselect";
11507
+ number: "number";
11508
+ phone: "phone";
11509
+ relation: "relation";
11510
+ richtext: "richtext";
11511
+ rollup: "rollup";
11512
+ select: "select";
11513
+ status: "status";
11514
+ text: "text";
11515
+ user: "user";
11516
+ }>;
11517
+ }, z$2.core.$strip>>>;
11692
11518
  }, z$2.core.$strip>;
11693
11519
  export declare const bundlePieceKindSchema: z$2.ZodEnum<{
11694
11520
  agent: "agent";
@@ -11767,14 +11593,21 @@ export declare const bundleUpdateGroupSchema: z$2.ZodEnum<{
11767
11593
  /**
11768
11594
  * Why a piece is `notApplied`, as a code the screen words: `lossy` (the new
11769
11595
  * type would lose stored values), `required` (it would become required while
11770
- * records may be empty), `retype` (no update changes a type), `move` (no
11771
- * update moves a content between placements), `nameTaken` (its name is held,
11772
- * `reasonName`), `refused` (adding it is refused here).
11596
+ * records may be empty), `retype` (a type change the catalogue does not
11597
+ * support), `move` (no update moves a content between placements),
11598
+ * `nameTaken` (its name is held, `reasonName`), `refused` (adding it is
11599
+ * refused here), `precondition` (the new type would not offer every value
11600
+ * stored), `dependents` (something that reads the attribute cannot follow,
11601
+ * `dependents` and `hiddenDependents`), `conversion` (the type change needs
11602
+ * its values converted, not available yet).
11773
11603
  */
11774
11604
  export declare const bundleUpdateReasonCodeSchema: z$2.ZodEnum<{
11605
+ conversion: "conversion";
11606
+ dependents: "dependents";
11775
11607
  lossy: "lossy";
11776
11608
  move: "move";
11777
11609
  nameTaken: "nameTaken";
11610
+ precondition: "precondition";
11778
11611
  refused: "refused";
11779
11612
  required: "required";
11780
11613
  retype: "retype";
@@ -11799,14 +11632,66 @@ export declare const bundleUpdatePieceSchema: z$2.ZodObject<{
11799
11632
  }>;
11800
11633
  label: z$2.ZodString;
11801
11634
  reasonCode: z$2.ZodOptional<z$2.ZodEnum<{
11635
+ conversion: "conversion";
11636
+ dependents: "dependents";
11802
11637
  lossy: "lossy";
11803
11638
  move: "move";
11804
11639
  nameTaken: "nameTaken";
11640
+ precondition: "precondition";
11805
11641
  refused: "refused";
11806
11642
  required: "required";
11807
11643
  retype: "retype";
11808
11644
  }>>;
11809
11645
  reasonName: z$2.ZodOptional<z$2.ZodString>;
11646
+ fromType: z$2.ZodOptional<z$2.ZodEnum<{
11647
+ checkbox: "checkbox";
11648
+ currency: "currency";
11649
+ date: "date";
11650
+ document: "document";
11651
+ formula: "formula";
11652
+ location: "location";
11653
+ multiselect: "multiselect";
11654
+ number: "number";
11655
+ phone: "phone";
11656
+ relation: "relation";
11657
+ richtext: "richtext";
11658
+ rollup: "rollup";
11659
+ select: "select";
11660
+ status: "status";
11661
+ text: "text";
11662
+ user: "user";
11663
+ }>>;
11664
+ toType: z$2.ZodOptional<z$2.ZodEnum<{
11665
+ checkbox: "checkbox";
11666
+ currency: "currency";
11667
+ date: "date";
11668
+ document: "document";
11669
+ formula: "formula";
11670
+ location: "location";
11671
+ multiselect: "multiselect";
11672
+ number: "number";
11673
+ phone: "phone";
11674
+ relation: "relation";
11675
+ richtext: "richtext";
11676
+ rollup: "rollup";
11677
+ select: "select";
11678
+ status: "status";
11679
+ text: "text";
11680
+ user: "user";
11681
+ }>>;
11682
+ dependents: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
11683
+ kind: z$2.ZodEnum<{
11684
+ content: "content";
11685
+ formula: "formula";
11686
+ page: "page";
11687
+ relation: "relation";
11688
+ rollup: "rollup";
11689
+ trigger: "trigger";
11690
+ view: "view";
11691
+ }>;
11692
+ label: z$2.ZodString;
11693
+ }, z$2.core.$strip>>>;
11694
+ hiddenDependents: z$2.ZodOptional<z$2.ZodNumber>;
11810
11695
  }, z$2.core.$strip>;
11811
11696
  /** What updating an added bundle would do, and the fingerprint `bundles.update` must carry. */
11812
11697
  export declare const bundleUpdatePlanSchema: z$2.ZodObject<{
@@ -11830,14 +11715,66 @@ export declare const bundleUpdatePlanSchema: z$2.ZodObject<{
11830
11715
  }>;
11831
11716
  label: z$2.ZodString;
11832
11717
  reasonCode: z$2.ZodOptional<z$2.ZodEnum<{
11718
+ conversion: "conversion";
11719
+ dependents: "dependents";
11833
11720
  lossy: "lossy";
11834
11721
  move: "move";
11835
11722
  nameTaken: "nameTaken";
11723
+ precondition: "precondition";
11836
11724
  refused: "refused";
11837
11725
  required: "required";
11838
11726
  retype: "retype";
11839
11727
  }>>;
11840
11728
  reasonName: z$2.ZodOptional<z$2.ZodString>;
11729
+ fromType: z$2.ZodOptional<z$2.ZodEnum<{
11730
+ checkbox: "checkbox";
11731
+ currency: "currency";
11732
+ date: "date";
11733
+ document: "document";
11734
+ formula: "formula";
11735
+ location: "location";
11736
+ multiselect: "multiselect";
11737
+ number: "number";
11738
+ phone: "phone";
11739
+ relation: "relation";
11740
+ richtext: "richtext";
11741
+ rollup: "rollup";
11742
+ select: "select";
11743
+ status: "status";
11744
+ text: "text";
11745
+ user: "user";
11746
+ }>>;
11747
+ toType: z$2.ZodOptional<z$2.ZodEnum<{
11748
+ checkbox: "checkbox";
11749
+ currency: "currency";
11750
+ date: "date";
11751
+ document: "document";
11752
+ formula: "formula";
11753
+ location: "location";
11754
+ multiselect: "multiselect";
11755
+ number: "number";
11756
+ phone: "phone";
11757
+ relation: "relation";
11758
+ richtext: "richtext";
11759
+ rollup: "rollup";
11760
+ select: "select";
11761
+ status: "status";
11762
+ text: "text";
11763
+ user: "user";
11764
+ }>>;
11765
+ dependents: z$2.ZodOptional<z$2.ZodArray<z$2.ZodObject<{
11766
+ kind: z$2.ZodEnum<{
11767
+ content: "content";
11768
+ formula: "formula";
11769
+ page: "page";
11770
+ relation: "relation";
11771
+ rollup: "rollup";
11772
+ trigger: "trigger";
11773
+ view: "view";
11774
+ }>;
11775
+ label: z$2.ZodString;
11776
+ }, z$2.core.$strip>>>;
11777
+ hiddenDependents: z$2.ZodOptional<z$2.ZodNumber>;
11841
11778
  }, z$2.core.$strip>>;
11842
11779
  fingerprint: z$2.ZodString;
11843
11780
  }, z$2.core.$strip>;
@@ -11917,19 +11854,19 @@ export type BundleLocale = (typeof BUNDLE_LOCALES)[number];
11917
11854
  * `views.<object>.<view>.label | contents.<content>.label | markdown`;
11918
11855
  * `pages.<page>.label | contents.<content>.label | markdown`;
11919
11856
  * `agents.<agent>.label | description | systemPrompt`;
11920
- * `setup.title | why | prompt`;
11857
+ * `setup.title | context | prompt`;
11921
11858
  * `samples.<sample id>.<attribute>`.
11922
11859
  */
11923
11860
  export type BundleTranslationTable = Record<string, string>;
11924
11861
  /** The longest `prompt` of a bundle's setup invitation. */
11925
11862
  export declare const BUNDLE_SETUP_PROMPT_MAX_LENGTH = 2000;
11926
11863
  /**
11927
- * The invitation a bundle makes once added: a decision's title and `why`, and
11864
+ * The invitation a bundle makes once added: a decision's title and `context`, and
11928
11865
  * the prompt that starts its configuration. Outside the hash.
11929
11866
  */
11930
11867
  export interface BundleSetup {
11931
11868
  title: string;
11932
- why: string;
11869
+ context: string;
11933
11870
  prompt: string;
11934
11871
  }
11935
11872
  /** What `bundle(...).build()` returns: plain, serializable, hashed over its pieces only. */
@@ -12396,6 +12333,8 @@ export interface DraftableAttribute {
12396
12333
  attributeType: string;
12397
12334
  /** Type-specific configuration (relation targets, select options, ...). */
12398
12335
  config?: Record<string, unknown>;
12336
+ /** Types this attribute left through retypes, oldest first. Never part of `config`. */
12337
+ retypedFrom?: readonly AttributeType[];
12399
12338
  }
12400
12339
  /** Whether a new sample is display-only or explicitly requested real data. */
12401
12340
  export type SamplePublication = "preview" | "requested-data";
@@ -12996,8 +12935,8 @@ export type SessionApprovalMode = "manual" | "auto";
12996
12935
  export type AgentWorkMode = "execute" | "architect";
12997
12936
  export declare const TODO_PLAN_STATUSES: readonly ["active", "completed", "abandoned"];
12998
12937
  export type AgentTodoPlanStatus = (typeof TODO_PLAN_STATUSES)[number];
12999
- export type TriggerEventType = "record.created" | "record.updated" | "record.deleted" | "form.submitted" | "webhook" | "github" | "slack";
13000
- export type AgentTriggerType = Extract<TriggerEventType, "record.created" | "record.updated" | "record.deleted">;
12938
+ export type TriggerEventType = "record.created" | "record.updated" | "form.submitted" | "webhook" | "github" | "slack";
12939
+ export type AgentTriggerType = Extract<TriggerEventType, "record.created" | "record.updated">;
13001
12940
  export declare const PROVIDER_NAMES: readonly ["openai", "anthropic", "google", "spacexai", "deepseek", "moonshotai", "alibaba", "mistral", "minimax", "meta", "zai",
13002
12941
  /** Cursor's own model ids (`auto`, Composer): only the Cursor harness runs them, never the Gateway. */
13003
12942
  "cursor"];
@@ -13145,6 +13084,8 @@ export interface AgentTriggerBlueprint {
13145
13084
  formDefinitionId?: string;
13146
13085
  filter?: FilterState;
13147
13086
  debounceMs?: number;
13087
+ /** See {@link AgentTriggerDefinition.reentry}. */
13088
+ reentry?: number;
13148
13089
  /** Webhook only — see {@link AgentTriggerDefinition.continuationKey}. */
13149
13090
  continuationKey?: string;
13150
13091
  connectionId?: string;
@@ -13170,7 +13111,7 @@ export interface AgentBlueprint {
13170
13111
  label?: string;
13171
13112
  /** The agent's face; absent = derived from the definition id. Agents only. */
13172
13113
  avatar?: AgentAvatar;
13173
- /** Up to `AGENT_STARTERS_MAX` suggestions for its start page. Agents only. */
13114
+ /** Up to `AGENT_STARTERS_MAX` suggestions, stored but shown nowhere. Agents only. */
13174
13115
  starters?: string[];
13175
13116
  description?: string;
13176
13117
  systemPrompt: string;
@@ -13306,6 +13247,8 @@ export interface ToolImpact {
13306
13247
  target?: string;
13307
13248
  /** How many are going, when there is no single target to name. */
13308
13249
  count?: number;
13250
+ /** Each record or document's own name, beside `count` for a batch; data, not copy. */
13251
+ targets?: string[];
13309
13252
  /** Days the deletion can still be undone, if it can. */
13310
13253
  restorableDays?: number;
13311
13254
  };
@@ -14147,6 +14090,11 @@ export interface AIBatchQuestion {
14147
14090
  id: string;
14148
14091
  /** Question text to display */
14149
14092
  question: string;
14093
+ /**
14094
+ * What the person needs to know to answer this question, in a sentence or
14095
+ * two, read under it. Optional: a question that speaks for itself has none.
14096
+ */
14097
+ context?: string;
14150
14098
  /**
14151
14099
  * Kind of field to answer with. Optional for backwards compatibility: when
14152
14100
  * absent it is derived from the shape — `options` present means `choice`,
@@ -15676,6 +15624,8 @@ export interface DBAttribute extends Timestamps {
15676
15624
  deprecated?: boolean;
15677
15625
  defaultValue?: unknown;
15678
15626
  config: Record<string, unknown>;
15627
+ /** Types this attribute left through retypes, oldest first; empty when never retyped. */
15628
+ retypedFrom: AttributeType[];
15679
15629
  }
15680
15630
  export interface CreateDBAttribute {
15681
15631
  objectId: Uuid;
@@ -15693,6 +15643,7 @@ export interface CreateDBAttribute {
15693
15643
  deprecated?: boolean;
15694
15644
  defaultValue?: unknown;
15695
15645
  config?: Record<string, unknown>;
15646
+ retypedFrom?: AttributeType[];
15696
15647
  }
15697
15648
  export interface UpdateDBAttribute {
15698
15649
  label?: string;
@@ -15706,6 +15657,7 @@ export interface UpdateDBAttribute {
15706
15657
  deprecated?: boolean;
15707
15658
  defaultValue?: unknown;
15708
15659
  config?: Record<string, unknown>;
15660
+ retypedFrom?: AttributeType[];
15709
15661
  }
15710
15662
  export interface UpsertDBAttribute extends CreateDBAttribute {
15711
15663
  objectId: Uuid;
@@ -15928,6 +15880,7 @@ export declare const envVarEntrySchema: z$2.ZodObject<{
15928
15880
  ownedBy: z$2.ZodNullable<z$2.ZodString>;
15929
15881
  environments: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodLiteral<"all">, z$2.ZodArray<z$2.ZodString>]>>;
15930
15882
  repository: z$2.ZodOptional<z$2.ZodString>;
15883
+ lastUsedAt: z$2.ZodNullable<z$2.ZodString>;
15931
15884
  createdAt: z$2.ZodString;
15932
15885
  updatedAt: z$2.ZodString;
15933
15886
  }, z$2.core.$strip>;
@@ -15971,6 +15924,7 @@ export declare const secretEntrySchema: z$2.ZodDiscriminatedUnion<[z$2.ZodObject
15971
15924
  ownedBy: z$2.ZodNullable<z$2.ZodString>;
15972
15925
  environments: z$2.ZodOptional<z$2.ZodUnion<readonly [z$2.ZodLiteral<"all">, z$2.ZodArray<z$2.ZodString>]>>;
15973
15926
  repository: z$2.ZodOptional<z$2.ZodString>;
15927
+ lastUsedAt: z$2.ZodNullable<z$2.ZodString>;
15974
15928
  createdAt: z$2.ZodString;
15975
15929
  updatedAt: z$2.ZodString;
15976
15930
  }, z$2.core.$strip>, z$2.ZodObject<{
@@ -16649,7 +16603,7 @@ export type AuditResourceType = (typeof AUDIT_RESOURCE_TYPES)[number];
16649
16603
  /**
16650
16604
  * Actions that can be audited
16651
16605
  */
16652
- export declare const AUDIT_ACTIONS: readonly ["record.created", "record.updated", "record.deleted", "record.restored", "record.purged", "record.access_changed", "agent.access_changed", "agent_session.supervised_read", "object.created", "object.updated", "object.deleted", "attribute.created", "attribute.updated", "attribute.deleted", "view.created", "view.updated", "view.deleted", "bundle.synced", "bundle.removed", "bundle.added", "bundle.updated", "user.created", "user.invited", "user.updated", "user.deleted", "user.login", "user.logout", "tenant_invitation.created", "tenant_invitation.delivery_failed", "tenant_invitation.resent", "tenant_invitation.revoked", "tenant_invitation.accepted", "role.created", "role.updated", "role.deleted", "role.assigned", "role.revoked", "api_key.created", "api_key.revoked", "api_key.detached", "settings.updated", "file.uploaded", "file.updated", "file.deleted"];
16606
+ export declare const AUDIT_ACTIONS: readonly ["record.created", "record.updated", "record.deleted", "record.restored", "record.purged", "record.access_changed", "agent.access_changed", "agent_session.supervised_read", "object.created", "object.updated", "object.deleted", "attribute.created", "attribute.updated", "attribute.retyped", "attribute.deleted", "view.created", "view.updated", "view.deleted", "bundle.synced", "bundle.removed", "bundle.added", "bundle.updated", "user.created", "user.invited", "user.updated", "user.deleted", "user.login", "user.logout", "tenant_invitation.created", "tenant_invitation.delivery_failed", "tenant_invitation.resent", "tenant_invitation.revoked", "tenant_invitation.accepted", "role.created", "role.updated", "role.deleted", "role.assigned", "role.revoked", "api_key.created", "api_key.revoked", "api_key.detached", "settings.updated", "file.uploaded", "file.updated", "file.deleted"];
16653
16607
  export type AuditAction = (typeof AUDIT_ACTIONS)[number];
16654
16608
  /**
16655
16609
  * Actor type - who performed the action
@@ -16705,6 +16659,7 @@ export declare const auditLogEntrySchema: z$2.ZodObject<{
16705
16659
  "api_key.revoked": "api_key.revoked";
16706
16660
  "attribute.created": "attribute.created";
16707
16661
  "attribute.deleted": "attribute.deleted";
16662
+ "attribute.retyped": "attribute.retyped";
16708
16663
  "attribute.updated": "attribute.updated";
16709
16664
  "bundle.added": "bundle.added";
16710
16665
  "bundle.removed": "bundle.removed";
@@ -20570,9 +20525,9 @@ export declare class AgentBuilder {
20570
20525
  expression?: AgentAvatarExpression;
20571
20526
  }): this;
20572
20527
  /**
20573
- * Up to four suggestions offered on this agent's start page, replacing the
20574
- * generic starter sections. `[]` declares none (the server stores `[]` as
20575
- * null, so keeping it would read as drift on every boot).
20528
+ * Up to four suggestions (trimmed, 1–200 chars each), accepted and stored
20529
+ * on this agent but shown nowhere. `[]` declares none (the server stores
20530
+ * `[]` as null, so keeping it would read as drift on every boot).
20576
20531
  */
20577
20532
  starters(values: string[]): this;
20578
20533
  systemPrompt(value: string): this;
@@ -21948,6 +21903,14 @@ export declare const GROUPABLE_ATTRIBUTE_TYPES: AttributeType[];
21948
21903
  export declare const CHART_KINDS: readonly ["bar",
21949
21904
  /** Bars laid across, the categories down the left: long labels, a ranking (#5814). */
21950
21905
  "horizontal_bar", "line", "area", "donut", "funnel", "treemap", "calendar"];
21906
+ /**
21907
+ * How a chart may order the groups it draws, once the cap of 12 has kept the
21908
+ * largest: unset, a date reads chronologically, a status or a select in its
21909
+ * declared order, any other grouping largest first.
21910
+ */
21911
+ export declare const CHART_ORDERS: readonly ["value_desc", "value_asc", "label"];
21912
+ /** The kinds whose order is time, a pipeline or a day grid: they take no `order`. */
21913
+ export declare const UNORDERED_CHART_KINDS: readonly ["line", "area", "funnel", "calendar"];
21951
21914
  /**
21952
21915
  * The span a metric compares over when it names none: one step above its trend
21953
21916
  * period (a weekly line compares months), since a span no wider than a trend
@@ -22201,6 +22164,11 @@ export declare const CHART_BLOCK: BlockDefinition<"chart", import("zod").ZodObje
22201
22164
  week: "week";
22202
22165
  year: "year";
22203
22166
  }>, true>;
22167
+ readonly order: ListableBlockInput<"enum", import("zod").ZodEnum<{
22168
+ label: "label";
22169
+ value_asc: "value_asc";
22170
+ value_desc: "value_desc";
22171
+ }>, true>;
22204
22172
  }>, import("zod/v4/core").$strip>>;
22205
22173
  export declare const AGENDA_BLOCK: BlockDefinition<"agenda", import("zod").ZodObject<InputShape<{
22206
22174
  readonly query: BlockInput<"query", import("zod").ZodObject<{
@@ -22619,6 +22587,11 @@ export declare const NATIVE_BLOCKS: readonly [BlockDefinition<"artifact_preview"
22619
22587
  week: "week";
22620
22588
  year: "year";
22621
22589
  }>, true>;
22590
+ readonly order: ListableBlockInput<"enum", import("zod").ZodEnum<{
22591
+ label: "label";
22592
+ value_asc: "value_asc";
22593
+ value_desc: "value_desc";
22594
+ }>, true>;
22622
22595
  }>, import("zod/v4/core").$strip>>, BlockDefinition<"agenda", import("zod").ZodObject<InputShape<{
22623
22596
  readonly query: BlockInput<"query", import("zod").ZodObject<{
22624
22597
  source: import("zod").ZodPipe<import("zod").ZodObject<{
@@ -22788,6 +22761,7 @@ export type GroupableAttribute<TB> = FieldsWhere<TB, "groupable">;
22788
22761
  export type AttributeName<TB> = unknown extends TB ? string : keyof Fields<TB> & string;
22789
22762
  export type BlockPeriod = (typeof BLOCK_PERIODS)[number];
22790
22763
  export type ChartKind = (typeof CHART_KINDS)[number];
22764
+ export type ChartOrder = (typeof CHART_ORDERS)[number];
22791
22765
  /** A grouping: a single-valued attribute, or a date attribute cut into buckets. */
22792
22766
  export type ChartGroupBy<TB> = GroupableAttribute<TB> | {
22793
22767
  attribute: DateAttributeName<TB>;
@@ -22867,6 +22841,13 @@ export declare class ChartBuilder<TB> extends BlockContentBuilder {
22867
22841
  treemap(): this;
22868
22842
  /** A day-by-day heat calendar: `.by({ attribute, bucket: "day" })`. */
22869
22843
  calendar(): this;
22844
+ /**
22845
+ * The order of the groups drawn, for bars, horizontal bars, a donut or a
22846
+ * treemap: largest value first, smallest first, or by label. Unset, a date
22847
+ * reads chronologically, a status or a select in its declared order, and
22848
+ * any other grouping largest first.
22849
+ */
22850
+ order(order: ChartOrder): this;
22870
22851
  }
22871
22852
  export declare class ChartQuery<TB> extends Measures<TB, ChartBuilder<TB>> {
22872
22853
  private readonly query;
@@ -23671,6 +23652,7 @@ export declare const SCHEMA_LIMITS: {
23671
23652
  readonly fieldsPerGroup: 60;
23672
23653
  readonly fieldsPerFormTab: 150;
23673
23654
  readonly columnsPerTab: 50;
23655
+ readonly displayAttributesPerCard: 8;
23674
23656
  readonly optionsPerAttribute: 200;
23675
23657
  readonly sidePanelAttributes: 100;
23676
23658
  readonly sidePanelPanes: 20;
@@ -24382,6 +24364,16 @@ export declare const mcpCatalogEntrySchema: z$2.ZodObject<{
24382
24364
  }>;
24383
24365
  description: z$2.ZodString;
24384
24366
  }, z$2.core.$strip>;
24367
+ /**
24368
+ * What an operator pastes into a provider before consent: the redirect URL and
24369
+ * the client-metadata URL this deployment's OAuth client sends, each `""` when
24370
+ * unset. `configured` is false where a consent start would be refused.
24371
+ */
24372
+ export declare const mcpOAuthSetupSchema: z$2.ZodObject<{
24373
+ callbackUrl: z$2.ZodString;
24374
+ clientMetadataUrl: z$2.ZodString;
24375
+ configured: z$2.ZodBoolean;
24376
+ }, z$2.core.$strip>;
24385
24377
  /** A started consent: where to send the person, and until when the attempt holds. */
24386
24378
  export declare const mcpOAuthAttemptStartedSchema: z$2.ZodObject<{
24387
24379
  attemptId: z$2.ZodString;
@@ -24440,6 +24432,8 @@ export interface ReconnectMcpOAuthAttemptInput extends OAuthCompletionInput {
24440
24432
  scope?: string;
24441
24433
  }
24442
24434
  export type McpOAuthAttemptStarted = z$1.output<typeof mcpOAuthAttemptStartedSchema>;
24435
+ /** The redirect and client-metadata URLs a connection form shows before consent. */
24436
+ export type McpOAuthSetup = z$1.output<typeof mcpOAuthSetupSchema>;
24443
24437
  export declare const EMAIL_PROVIDERS: readonly ["gmail", "outlook"];
24444
24438
  export type EmailProvider = (typeof EMAIL_PROVIDERS)[number];
24445
24439
  /**
@@ -25407,6 +25401,7 @@ export declare const toolImpactSchema: z$2.ZodObject<{
25407
25401
  deletion: z$2.ZodOptional<z$2.ZodObject<{
25408
25402
  target: z$2.ZodOptional<z$2.ZodString>;
25409
25403
  count: z$2.ZodOptional<z$2.ZodNumber>;
25404
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
25410
25405
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
25411
25406
  }, z$2.core.$strict>>;
25412
25407
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -25528,6 +25523,7 @@ export declare const agentMessagePartSchema: z$2.ZodUnion<readonly [z$2.ZodObjec
25528
25523
  deletion: z$2.ZodOptional<z$2.ZodObject<{
25529
25524
  target: z$2.ZodOptional<z$2.ZodString>;
25530
25525
  count: z$2.ZodOptional<z$2.ZodNumber>;
25526
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
25531
25527
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
25532
25528
  }, z$2.core.$strict>>;
25533
25529
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -25740,6 +25736,7 @@ export declare const agentSessionMessageSchema: z$2.ZodObject<{
25740
25736
  deletion: z$2.ZodOptional<z$2.ZodObject<{
25741
25737
  target: z$2.ZodOptional<z$2.ZodString>;
25742
25738
  count: z$2.ZodOptional<z$2.ZodNumber>;
25739
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
25743
25740
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
25744
25741
  }, z$2.core.$strict>>;
25745
25742
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -26053,6 +26050,7 @@ export declare const customDataChunkSchemas: {
26053
26050
  deletion: z$2.ZodOptional<z$2.ZodObject<{
26054
26051
  target: z$2.ZodOptional<z$2.ZodString>;
26055
26052
  count: z$2.ZodOptional<z$2.ZodNumber>;
26053
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
26056
26054
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
26057
26055
  }, z$2.core.$strict>>;
26058
26056
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -26216,6 +26214,7 @@ export declare const customDataChunkSchemas: {
26216
26214
  deletion: z$2.ZodOptional<z$2.ZodObject<{
26217
26215
  target: z$2.ZodOptional<z$2.ZodString>;
26218
26216
  count: z$2.ZodOptional<z$2.ZodNumber>;
26217
+ targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
26219
26218
  restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
26220
26219
  }, z$2.core.$strict>>;
26221
26220
  record: z$2.ZodOptional<z$2.ZodObject<{
@@ -27242,7 +27241,12 @@ export declare const agentStartersSchema: z$2.ZodArray<z$2.ZodString>;
27242
27241
  * holds anything else — metadata is free-form JSON, never trusted raw.
27243
27242
  */
27244
27243
  export declare function agentAvatarFromMetadata(value: unknown): AgentAvatar | undefined;
27245
- export declare const TRIGGER_EVENT_TYPES: readonly ["record.created", "record.updated", "record.deleted", "form.submitted", "webhook", "github", "slack"];
27244
+ export declare const TRIGGER_EVENT_TYPES: readonly ["record.created", "record.updated", "form.submitted", "webhook", "github", "slack"];
27245
+ /**
27246
+ * The most a trigger's `reentry` may be: the cycle guard walks at most this
27247
+ * many runs up the chain, so a higher bound could never be reached.
27248
+ */
27249
+ export declare const TRIGGER_MAX_REENTRY = 25;
27246
27250
  /** Env-var key format, enforced by the panel, `request_setup` and `EnvVarService` for new keys. */
27247
27251
  export declare const ENV_VAR_KEY_PATTERN: RegExp;
27248
27252
  export declare const agentScheduleSchema: z$2.ZodObject<{
@@ -27269,7 +27273,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27269
27273
  "form.submitted": "form.submitted";
27270
27274
  github: "github";
27271
27275
  "record.created": "record.created";
27272
- "record.deleted": "record.deleted";
27273
27276
  "record.updated": "record.updated";
27274
27277
  slack: "slack";
27275
27278
  webhook: "webhook";
@@ -27277,6 +27280,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27277
27280
  objectId: z$2.ZodOptional<z$2.ZodGUID>;
27278
27281
  watchedFields: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
27279
27282
  debounceMs: z$2.ZodOptional<z$2.ZodNumber>;
27283
+ reentry: z$2.ZodOptional<z$2.ZodNumber>;
27280
27284
  filter: z$2.ZodOptional<z$2.ZodObject<{
27281
27285
  combinator: z$2.ZodDefault<z$2.ZodEnum<{
27282
27286
  and: "and";
@@ -27295,14 +27299,8 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27295
27299
  family: z$2.ZodEnum<{
27296
27300
  check: "check";
27297
27301
  comment: "comment";
27298
- discussion: "discussion";
27299
- issue: "issue";
27300
- project_item: "project_item";
27301
27302
  pull_request: "pull_request";
27302
27303
  push: "push";
27303
- ref: "ref";
27304
- release: "release";
27305
- repository: "repository";
27306
27304
  review: "review";
27307
27305
  workflow: "workflow";
27308
27306
  }>;
@@ -27332,19 +27330,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27332
27330
  any: "any";
27333
27331
  }>>;
27334
27332
  value: z$2.ZodArray<z$2.ZodString>;
27335
- }, z$2.core.$strict>, z$2.ZodObject<{
27336
- field: z$2.ZodLiteral<"assignees">;
27337
- operator: z$2.ZodDefault<z$2.ZodEnum<{
27338
- all: "all";
27339
- any: "any";
27340
- }>>;
27341
- value: z$2.ZodArray<z$2.ZodString>;
27342
- }, z$2.core.$strict>, z$2.ZodObject<{
27343
- field: z$2.ZodLiteral<"milestone">;
27344
- value: z$2.ZodString;
27345
- }, z$2.core.$strict>, z$2.ZodObject<{
27346
- field: z$2.ZodLiteral<"issueType">;
27347
- value: z$2.ZodString;
27348
27333
  }, z$2.core.$strict>, z$2.ZodObject<{
27349
27334
  field: z$2.ZodLiteral<"baseBranch">;
27350
27335
  value: z$2.ZodString;
@@ -27391,44 +27376,10 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27391
27376
  }, z$2.core.$strict>, z$2.ZodObject<{
27392
27377
  field: z$2.ZodLiteral<"originEvent">;
27393
27378
  value: z$2.ZodString;
27394
- }, z$2.core.$strict>, z$2.ZodObject<{
27395
- field: z$2.ZodLiteral<"project">;
27396
- value: z$2.ZodString;
27397
- }, z$2.core.$strict>, z$2.ZodObject<{
27398
- field: z$2.ZodLiteral<"projectField">;
27399
- value: z$2.ZodString;
27400
- }, z$2.core.$strict>, z$2.ZodObject<{
27401
- field: z$2.ZodLiteral<"from">;
27402
- value: z$2.ZodNullable<z$2.ZodString>;
27403
- }, z$2.core.$strict>, z$2.ZodObject<{
27404
- field: z$2.ZodLiteral<"to">;
27405
- value: z$2.ZodNullable<z$2.ZodString>;
27406
- }, z$2.core.$strict>, z$2.ZodObject<{
27407
- field: z$2.ZodLiteral<"itemType">;
27408
- value: z$2.ZodEnum<{
27409
- draft: "draft";
27410
- issue: "issue";
27411
- pull_request: "pull_request";
27412
- }>;
27413
- }, z$2.core.$strict>, z$2.ZodObject<{
27414
- field: z$2.ZodLiteral<"prerelease">;
27415
- value: z$2.ZodBoolean;
27416
- }, z$2.core.$strict>, z$2.ZodObject<{
27417
- field: z$2.ZodLiteral<"tag">;
27418
- value: z$2.ZodString;
27419
- }, z$2.core.$strict>, z$2.ZodObject<{
27420
- field: z$2.ZodLiteral<"refType">;
27421
- value: z$2.ZodEnum<{
27422
- branch: "branch";
27423
- tag: "tag";
27424
- }>;
27425
- }, z$2.core.$strict>, z$2.ZodObject<{
27426
- field: z$2.ZodLiteral<"category">;
27427
- value: z$2.ZodString;
27428
27379
  }, z$2.core.$strict>], "field">>>;
27429
27380
  }, z$2.core.$strict>, z$2.ZodTransform<{
27430
27381
  family: "check";
27431
- actions: ("completed" | "rerequested")[];
27382
+ actions: "completed"[];
27432
27383
  repositories: string[];
27433
27384
  sender: GithubTriggerSender;
27434
27385
  conditions: ({
@@ -27443,7 +27394,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27443
27394
  })[];
27444
27395
  } | {
27445
27396
  family: "comment";
27446
- actions: ("created" | "deleted" | "edited")[];
27397
+ actions: "created"[];
27447
27398
  repositories: string[];
27448
27399
  sender: GithubTriggerSender;
27449
27400
  conditions: ({
@@ -27458,90 +27409,28 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27458
27409
  value: string;
27459
27410
  })[];
27460
27411
  } | {
27461
- family: "discussion";
27462
- actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
27412
+ family: "pull_request";
27413
+ actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
27463
27414
  repositories: string[];
27464
27415
  sender: GithubTriggerSender;
27465
27416
  conditions: ({
27466
- field: "text";
27467
- operator: "contains" | "starts_with";
27417
+ field: "baseBranch";
27418
+ value: string;
27419
+ } | {
27420
+ field: "changedPaths";
27421
+ value: string;
27422
+ } | {
27423
+ field: "headBranch";
27424
+ value: string;
27425
+ } | {
27426
+ field: "label";
27468
27427
  value: string;
27469
27428
  } | {
27470
- field: "category";
27429
+ field: "prAuthor";
27471
27430
  value: string;
27472
- } | {
27473
- field: "issueLabels";
27474
- operator: "all" | "any";
27475
- value: string[];
27476
- })[];
27477
- } | {
27478
- family: "issue";
27479
- actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
27480
- repositories: string[];
27481
- sender: GithubTriggerSender;
27482
- conditions: ({
27483
- field: "text";
27484
- operator: "contains" | "starts_with";
27485
- value: string;
27486
- } | {
27487
- field: "issueType";
27488
- value: string;
27489
- } | {
27490
- field: "label";
27491
- value: string;
27492
- } | {
27493
- field: "milestone";
27494
- value: string;
27495
- } | {
27496
- field: "assignees";
27497
- operator: "all" | "any";
27498
- value: string[];
27499
- } | {
27500
- field: "issueLabels";
27501
- operator: "all" | "any";
27502
- value: string[];
27503
- })[];
27504
- } | {
27505
- family: "project_item";
27506
- actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
27507
- repositories: string[];
27508
- sender: GithubTriggerSender;
27509
- conditions: ({
27510
- field: "project";
27511
- value: string;
27512
- } | {
27513
- field: "projectField";
27514
- value: string;
27515
- } | {
27516
- field: "from";
27517
- value: string | null;
27518
- } | {
27519
- field: "to";
27520
- value: string | null;
27521
- } | {
27522
- field: "itemType";
27523
- value: "draft" | "issue" | "pull_request";
27524
- })[];
27525
- } | {
27526
- family: "pull_request";
27527
- actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
27528
- repositories: string[];
27529
- sender: GithubTriggerSender;
27530
- conditions: ({
27531
- field: "baseBranch";
27532
- value: string;
27533
- } | {
27534
- field: "changedPaths";
27535
- value: string;
27536
- } | {
27537
- field: "headBranch";
27538
- value: string;
27539
- } | {
27540
- field: "prAuthor";
27541
- value: string;
27542
- } | {
27543
- field: "draft";
27544
- value: boolean;
27431
+ } | {
27432
+ field: "draft";
27433
+ value: boolean;
27545
27434
  } | {
27546
27435
  field: "issueLabels";
27547
27436
  operator: "all" | "any";
@@ -27562,42 +27451,9 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27562
27451
  field: "forced";
27563
27452
  value: boolean;
27564
27453
  })[];
27565
- } | {
27566
- family: "ref";
27567
- actions: ("created" | "deleted")[];
27568
- repositories: string[];
27569
- sender: GithubTriggerSender;
27570
- conditions: ({
27571
- field: "branch";
27572
- value: string;
27573
- } | {
27574
- field: "tag";
27575
- value: string;
27576
- } | {
27577
- field: "refType";
27578
- value: "branch" | "tag";
27579
- })[];
27580
- } | {
27581
- family: "release";
27582
- actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
27583
- repositories: string[];
27584
- sender: GithubTriggerSender;
27585
- conditions: ({
27586
- field: "tag";
27587
- value: string;
27588
- } | {
27589
- field: "prerelease";
27590
- value: boolean;
27591
- })[];
27592
- } | {
27593
- family: "repository";
27594
- actions: ("archived" | "created" | "forked" | "starred")[];
27595
- repositories: string[];
27596
- sender: GithubTriggerSender;
27597
- conditions: never[];
27598
27454
  } | {
27599
27455
  family: "review";
27600
- actions: ("dismissed" | "edited" | "submitted")[];
27456
+ actions: "submitted"[];
27601
27457
  repositories: string[];
27602
27458
  sender: GithubTriggerSender;
27603
27459
  conditions: ({
@@ -27609,7 +27465,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27609
27465
  })[];
27610
27466
  } | {
27611
27467
  family: "workflow";
27612
- actions: ("completed" | "in_progress" | "requested")[];
27468
+ actions: "completed"[];
27613
27469
  repositories: string[];
27614
27470
  sender: GithubTriggerSender;
27615
27471
  conditions: ({
@@ -27626,7 +27482,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27626
27482
  value: string;
27627
27483
  })[];
27628
27484
  }, {
27629
- family: "check" | "comment" | "discussion" | "issue" | "project_item" | "pull_request" | "push" | "ref" | "release" | "repository" | "review" | "workflow";
27485
+ family: "check" | "comment" | "pull_request" | "push" | "review" | "workflow";
27630
27486
  actions: string[];
27631
27487
  repositories: string[];
27632
27488
  sender: "any" | "human" | "me" | {
@@ -27642,9 +27498,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27642
27498
  } | {
27643
27499
  field: "branch";
27644
27500
  value: string;
27645
- } | {
27646
- field: "category";
27647
- value: string;
27648
27501
  } | {
27649
27502
  field: "changedPaths";
27650
27503
  value: string;
@@ -27663,30 +27516,15 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27663
27516
  } | {
27664
27517
  field: "issueAuthor";
27665
27518
  value: string;
27666
- } | {
27667
- field: "issueType";
27668
- value: string;
27669
27519
  } | {
27670
27520
  field: "label";
27671
27521
  value: string;
27672
- } | {
27673
- field: "milestone";
27674
- value: string;
27675
27522
  } | {
27676
27523
  field: "originEvent";
27677
27524
  value: string;
27678
27525
  } | {
27679
27526
  field: "prAuthor";
27680
27527
  value: string;
27681
- } | {
27682
- field: "project";
27683
- value: string;
27684
- } | {
27685
- field: "projectField";
27686
- value: string;
27687
- } | {
27688
- field: "tag";
27689
- value: string;
27690
27528
  } | {
27691
27529
  field: "workflowName";
27692
27530
  value: string;
@@ -27696,13 +27534,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27696
27534
  } | {
27697
27535
  field: "forced";
27698
27536
  value: boolean;
27699
- } | {
27700
- field: "prerelease";
27701
- value: boolean;
27702
- } | {
27703
- field: "assignees";
27704
- operator: "all" | "any";
27705
- value: string[];
27706
27537
  } | {
27707
27538
  field: "issueLabels";
27708
27539
  operator: "all" | "any";
@@ -27710,23 +27541,10 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27710
27541
  } | {
27711
27542
  field: "reviewState";
27712
27543
  value: "approved" | "changes_requested" | "commented";
27713
- } | {
27714
- field: "from";
27715
- value: string | null;
27716
- } | {
27717
- field: "to";
27718
- value: string | null;
27719
- } | {
27720
- field: "itemType";
27721
- value: "draft" | "issue" | "pull_request";
27722
- } | {
27723
- field: "refType";
27724
- value: "branch" | "tag";
27725
27544
  })[];
27726
27545
  }>>, z$2.ZodPipe<z$2.ZodObject<{
27727
27546
  on: z$2.ZodEnum<{
27728
27547
  dm: "dm";
27729
- member_joined: "member_joined";
27730
27548
  mention: "mention";
27731
27549
  message: "message";
27732
27550
  reaction: "reaction";
@@ -27774,13 +27592,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27774
27592
  })[];
27775
27593
  } & {
27776
27594
  reactions?: never;
27777
- }) | ({
27778
- on: "member_joined";
27779
- channels: string[];
27780
- sender: SlackTriggerSender;
27781
- conditions: never[];
27782
- } & {
27783
- reactions?: never;
27784
27595
  }) | ({
27785
27596
  on: "mention";
27786
27597
  channels: string[];
@@ -27820,7 +27631,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
27820
27631
  } & {
27821
27632
  reactions?: string[];
27822
27633
  }), {
27823
- on: "dm" | "member_joined" | "mention" | "message" | "reaction";
27634
+ on: "dm" | "mention" | "message" | "reaction";
27824
27635
  channels: string[];
27825
27636
  reactions?: string[] | undefined;
27826
27637
  sender: "any" | "human" | "me" | {
@@ -27849,10 +27660,11 @@ export declare function refineTrigger<T extends TriggerShape>(schema: z$2.ZodTyp
27849
27660
  /** Creation/full-state defaults; the PATCH shape deliberately carries no defaults. */
27850
27661
  export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27851
27662
  name?: string | undefined;
27852
- eventType: "form.submitted" | "github" | "record.created" | "record.deleted" | "record.updated" | "slack" | "webhook";
27663
+ eventType: "form.submitted" | "github" | "record.created" | "record.updated" | "slack" | "webhook";
27853
27664
  objectId?: string | undefined;
27854
27665
  watchedFields?: string[] | undefined;
27855
27666
  debounceMs?: number | undefined;
27667
+ reentry?: number | undefined;
27856
27668
  filter?: {
27857
27669
  combinator: "and" | "or";
27858
27670
  rules: {
@@ -27866,7 +27678,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27866
27678
  connectionId?: string | undefined;
27867
27679
  match?: {
27868
27680
  family: "check";
27869
- actions: ("completed" | "rerequested")[];
27681
+ actions: "completed"[];
27870
27682
  repositories: string[];
27871
27683
  sender: GithubTriggerSender;
27872
27684
  conditions: ({
@@ -27881,7 +27693,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27881
27693
  })[];
27882
27694
  } | {
27883
27695
  family: "comment";
27884
- actions: ("created" | "deleted" | "edited")[];
27696
+ actions: "created"[];
27885
27697
  repositories: string[];
27886
27698
  sender: GithubTriggerSender;
27887
27699
  conditions: ({
@@ -27895,74 +27707,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27895
27707
  field: "prAuthor";
27896
27708
  value: string;
27897
27709
  })[];
27898
- } | {
27899
- family: "discussion";
27900
- actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
27901
- repositories: string[];
27902
- sender: GithubTriggerSender;
27903
- conditions: ({
27904
- field: "text";
27905
- operator: "contains" | "starts_with";
27906
- value: string;
27907
- } | {
27908
- field: "category";
27909
- value: string;
27910
- } | {
27911
- field: "issueLabels";
27912
- operator: "all" | "any";
27913
- value: string[];
27914
- })[];
27915
- } | {
27916
- family: "issue";
27917
- actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
27918
- repositories: string[];
27919
- sender: GithubTriggerSender;
27920
- conditions: ({
27921
- field: "text";
27922
- operator: "contains" | "starts_with";
27923
- value: string;
27924
- } | {
27925
- field: "issueType";
27926
- value: string;
27927
- } | {
27928
- field: "label";
27929
- value: string;
27930
- } | {
27931
- field: "milestone";
27932
- value: string;
27933
- } | {
27934
- field: "assignees";
27935
- operator: "all" | "any";
27936
- value: string[];
27937
- } | {
27938
- field: "issueLabels";
27939
- operator: "all" | "any";
27940
- value: string[];
27941
- })[];
27942
- } | {
27943
- family: "project_item";
27944
- actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
27945
- repositories: string[];
27946
- sender: GithubTriggerSender;
27947
- conditions: ({
27948
- field: "project";
27949
- value: string;
27950
- } | {
27951
- field: "projectField";
27952
- value: string;
27953
- } | {
27954
- field: "from";
27955
- value: string | null;
27956
- } | {
27957
- field: "to";
27958
- value: string | null;
27959
- } | {
27960
- field: "itemType";
27961
- value: "draft" | "issue" | "pull_request";
27962
- })[];
27963
27710
  } | {
27964
27711
  family: "pull_request";
27965
- actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
27712
+ actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
27966
27713
  repositories: string[];
27967
27714
  sender: GithubTriggerSender;
27968
27715
  conditions: ({
@@ -27974,6 +27721,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
27974
27721
  } | {
27975
27722
  field: "headBranch";
27976
27723
  value: string;
27724
+ } | {
27725
+ field: "label";
27726
+ value: string;
27977
27727
  } | {
27978
27728
  field: "prAuthor";
27979
27729
  value: string;
@@ -28000,42 +27750,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28000
27750
  field: "forced";
28001
27751
  value: boolean;
28002
27752
  })[];
28003
- } | {
28004
- family: "ref";
28005
- actions: ("created" | "deleted")[];
28006
- repositories: string[];
28007
- sender: GithubTriggerSender;
28008
- conditions: ({
28009
- field: "branch";
28010
- value: string;
28011
- } | {
28012
- field: "tag";
28013
- value: string;
28014
- } | {
28015
- field: "refType";
28016
- value: "branch" | "tag";
28017
- })[];
28018
- } | {
28019
- family: "release";
28020
- actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
28021
- repositories: string[];
28022
- sender: GithubTriggerSender;
28023
- conditions: ({
28024
- field: "tag";
28025
- value: string;
28026
- } | {
28027
- field: "prerelease";
28028
- value: boolean;
28029
- })[];
28030
- } | {
28031
- family: "repository";
28032
- actions: ("archived" | "created" | "forked" | "starred")[];
28033
- repositories: string[];
28034
- sender: GithubTriggerSender;
28035
- conditions: never[];
28036
27753
  } | {
28037
27754
  family: "review";
28038
- actions: ("dismissed" | "edited" | "submitted")[];
27755
+ actions: "submitted"[];
28039
27756
  repositories: string[];
28040
27757
  sender: GithubTriggerSender;
28041
27758
  conditions: ({
@@ -28047,7 +27764,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28047
27764
  })[];
28048
27765
  } | {
28049
27766
  family: "workflow";
28050
- actions: ("completed" | "in_progress" | "requested")[];
27767
+ actions: "completed"[];
28051
27768
  repositories: string[];
28052
27769
  sender: GithubTriggerSender;
28053
27770
  conditions: ({
@@ -28077,13 +27794,6 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28077
27794
  })[];
28078
27795
  } & {
28079
27796
  reactions?: never;
28080
- }) | ({
28081
- on: "member_joined";
28082
- channels: string[];
28083
- sender: SlackTriggerSender;
28084
- conditions: never[];
28085
- } & {
28086
- reactions?: never;
28087
27797
  }) | ({
28088
27798
  on: "mention";
28089
27799
  channels: string[];
@@ -28127,10 +27837,11 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28127
27837
  enabled?: boolean | undefined;
28128
27838
  }, unknown, z$2.core.$ZodTypeInternals<{
28129
27839
  name?: string | undefined;
28130
- eventType: "form.submitted" | "github" | "record.created" | "record.deleted" | "record.updated" | "slack" | "webhook";
27840
+ eventType: "form.submitted" | "github" | "record.created" | "record.updated" | "slack" | "webhook";
28131
27841
  objectId?: string | undefined;
28132
27842
  watchedFields?: string[] | undefined;
28133
27843
  debounceMs?: number | undefined;
27844
+ reentry?: number | undefined;
28134
27845
  filter?: {
28135
27846
  combinator: "and" | "or";
28136
27847
  rules: {
@@ -28144,7 +27855,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28144
27855
  connectionId?: string | undefined;
28145
27856
  match?: {
28146
27857
  family: "check";
28147
- actions: ("completed" | "rerequested")[];
27858
+ actions: "completed"[];
28148
27859
  repositories: string[];
28149
27860
  sender: GithubTriggerSender;
28150
27861
  conditions: ({
@@ -28159,7 +27870,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28159
27870
  })[];
28160
27871
  } | {
28161
27872
  family: "comment";
28162
- actions: ("created" | "deleted" | "edited")[];
27873
+ actions: "created"[];
28163
27874
  repositories: string[];
28164
27875
  sender: GithubTriggerSender;
28165
27876
  conditions: ({
@@ -28173,74 +27884,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28173
27884
  field: "prAuthor";
28174
27885
  value: string;
28175
27886
  })[];
28176
- } | {
28177
- family: "discussion";
28178
- actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
28179
- repositories: string[];
28180
- sender: GithubTriggerSender;
28181
- conditions: ({
28182
- field: "text";
28183
- operator: "contains" | "starts_with";
28184
- value: string;
28185
- } | {
28186
- field: "category";
28187
- value: string;
28188
- } | {
28189
- field: "issueLabels";
28190
- operator: "all" | "any";
28191
- value: string[];
28192
- })[];
28193
- } | {
28194
- family: "issue";
28195
- actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
28196
- repositories: string[];
28197
- sender: GithubTriggerSender;
28198
- conditions: ({
28199
- field: "text";
28200
- operator: "contains" | "starts_with";
28201
- value: string;
28202
- } | {
28203
- field: "issueType";
28204
- value: string;
28205
- } | {
28206
- field: "label";
28207
- value: string;
28208
- } | {
28209
- field: "milestone";
28210
- value: string;
28211
- } | {
28212
- field: "assignees";
28213
- operator: "all" | "any";
28214
- value: string[];
28215
- } | {
28216
- field: "issueLabels";
28217
- operator: "all" | "any";
28218
- value: string[];
28219
- })[];
28220
- } | {
28221
- family: "project_item";
28222
- actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
28223
- repositories: string[];
28224
- sender: GithubTriggerSender;
28225
- conditions: ({
28226
- field: "project";
28227
- value: string;
28228
- } | {
28229
- field: "projectField";
28230
- value: string;
28231
- } | {
28232
- field: "from";
28233
- value: string | null;
28234
- } | {
28235
- field: "to";
28236
- value: string | null;
28237
- } | {
28238
- field: "itemType";
28239
- value: "draft" | "issue" | "pull_request";
28240
- })[];
28241
27887
  } | {
28242
27888
  family: "pull_request";
28243
- actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
27889
+ actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
28244
27890
  repositories: string[];
28245
27891
  sender: GithubTriggerSender;
28246
27892
  conditions: ({
@@ -28252,6 +27898,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28252
27898
  } | {
28253
27899
  field: "headBranch";
28254
27900
  value: string;
27901
+ } | {
27902
+ field: "label";
27903
+ value: string;
28255
27904
  } | {
28256
27905
  field: "prAuthor";
28257
27906
  value: string;
@@ -28278,42 +27927,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28278
27927
  field: "forced";
28279
27928
  value: boolean;
28280
27929
  })[];
28281
- } | {
28282
- family: "ref";
28283
- actions: ("created" | "deleted")[];
28284
- repositories: string[];
28285
- sender: GithubTriggerSender;
28286
- conditions: ({
28287
- field: "branch";
28288
- value: string;
28289
- } | {
28290
- field: "tag";
28291
- value: string;
28292
- } | {
28293
- field: "refType";
28294
- value: "branch" | "tag";
28295
- })[];
28296
- } | {
28297
- family: "release";
28298
- actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
28299
- repositories: string[];
28300
- sender: GithubTriggerSender;
28301
- conditions: ({
28302
- field: "tag";
28303
- value: string;
28304
- } | {
28305
- field: "prerelease";
28306
- value: boolean;
28307
- })[];
28308
- } | {
28309
- family: "repository";
28310
- actions: ("archived" | "created" | "forked" | "starred")[];
28311
- repositories: string[];
28312
- sender: GithubTriggerSender;
28313
- conditions: never[];
28314
27930
  } | {
28315
27931
  family: "review";
28316
- actions: ("dismissed" | "edited" | "submitted")[];
27932
+ actions: "submitted"[];
28317
27933
  repositories: string[];
28318
27934
  sender: GithubTriggerSender;
28319
27935
  conditions: ({
@@ -28325,7 +27941,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28325
27941
  })[];
28326
27942
  } | {
28327
27943
  family: "workflow";
28328
- actions: ("completed" | "in_progress" | "requested")[];
27944
+ actions: "completed"[];
28329
27945
  repositories: string[];
28330
27946
  sender: GithubTriggerSender;
28331
27947
  conditions: ({
@@ -28355,13 +27971,6 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28355
27971
  })[];
28356
27972
  } & {
28357
27973
  reactions?: never;
28358
- }) | ({
28359
- on: "member_joined";
28360
- channels: string[];
28361
- sender: SlackTriggerSender;
28362
- conditions: never[];
28363
- } & {
28364
- reactions?: never;
28365
27974
  }) | ({
28366
27975
  on: "mention";
28367
27976
  channels: string[];
@@ -28405,10 +28014,11 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28405
28014
  enabled?: boolean | undefined;
28406
28015
  }, unknown>>, z$2.ZodTransform<{
28407
28016
  name?: string | undefined;
28408
- eventType: "form.submitted" | "github" | "record.created" | "record.deleted" | "record.updated" | "slack" | "webhook";
28017
+ eventType: "form.submitted" | "github" | "record.created" | "record.updated" | "slack" | "webhook";
28409
28018
  objectId?: string | undefined;
28410
28019
  watchedFields?: string[] | undefined;
28411
28020
  debounceMs?: number | undefined;
28021
+ reentry?: number | undefined;
28412
28022
  filter?: {
28413
28023
  combinator: "and" | "or";
28414
28024
  rules: {
@@ -28421,104 +28031,39 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28421
28031
  continuationKey?: string | null | undefined;
28422
28032
  connectionId?: string | undefined;
28423
28033
  match?: {
28424
- family: "check";
28425
- actions: ("completed" | "rerequested")[];
28426
- repositories: string[];
28427
- sender: GithubTriggerSender;
28428
- conditions: ({
28429
- field: "checkApp";
28430
- value: string;
28431
- } | {
28432
- field: "checkName";
28433
- value: string;
28434
- } | {
28435
- field: "conclusion";
28436
- value: string;
28437
- })[];
28438
- } | {
28439
- family: "comment";
28440
- actions: ("created" | "deleted" | "edited")[];
28441
- repositories: string[];
28442
- sender: GithubTriggerSender;
28443
- conditions: ({
28444
- field: "text";
28445
- operator: "contains" | "starts_with";
28446
- value: string;
28447
- } | {
28448
- field: "issueAuthor";
28449
- value: string;
28450
- } | {
28451
- field: "prAuthor";
28452
- value: string;
28453
- })[];
28454
- } | {
28455
- family: "discussion";
28456
- actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
28457
- repositories: string[];
28458
- sender: GithubTriggerSender;
28459
- conditions: ({
28460
- field: "text";
28461
- operator: "contains" | "starts_with";
28462
- value: string;
28463
- } | {
28464
- field: "category";
28465
- value: string;
28466
- } | {
28467
- field: "issueLabels";
28468
- operator: "all" | "any";
28469
- value: string[];
28470
- })[];
28471
- } | {
28472
- family: "issue";
28473
- actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
28034
+ family: "check";
28035
+ actions: "completed"[];
28474
28036
  repositories: string[];
28475
28037
  sender: GithubTriggerSender;
28476
28038
  conditions: ({
28477
- field: "text";
28478
- operator: "contains" | "starts_with";
28479
- value: string;
28480
- } | {
28481
- field: "issueType";
28039
+ field: "checkApp";
28482
28040
  value: string;
28483
28041
  } | {
28484
- field: "label";
28042
+ field: "checkName";
28485
28043
  value: string;
28486
28044
  } | {
28487
- field: "milestone";
28045
+ field: "conclusion";
28488
28046
  value: string;
28489
- } | {
28490
- field: "assignees";
28491
- operator: "all" | "any";
28492
- value: string[];
28493
- } | {
28494
- field: "issueLabels";
28495
- operator: "all" | "any";
28496
- value: string[];
28497
28047
  })[];
28498
28048
  } | {
28499
- family: "project_item";
28500
- actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
28049
+ family: "comment";
28050
+ actions: "created"[];
28501
28051
  repositories: string[];
28502
28052
  sender: GithubTriggerSender;
28503
28053
  conditions: ({
28504
- field: "project";
28054
+ field: "text";
28055
+ operator: "contains" | "starts_with";
28505
28056
  value: string;
28506
28057
  } | {
28507
- field: "projectField";
28058
+ field: "issueAuthor";
28508
28059
  value: string;
28509
28060
  } | {
28510
- field: "from";
28511
- value: string | null;
28512
- } | {
28513
- field: "to";
28514
- value: string | null;
28515
- } | {
28516
- field: "itemType";
28517
- value: "draft" | "issue" | "pull_request";
28061
+ field: "prAuthor";
28062
+ value: string;
28518
28063
  })[];
28519
28064
  } | {
28520
28065
  family: "pull_request";
28521
- actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
28066
+ actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
28522
28067
  repositories: string[];
28523
28068
  sender: GithubTriggerSender;
28524
28069
  conditions: ({
@@ -28530,6 +28075,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28530
28075
  } | {
28531
28076
  field: "headBranch";
28532
28077
  value: string;
28078
+ } | {
28079
+ field: "label";
28080
+ value: string;
28533
28081
  } | {
28534
28082
  field: "prAuthor";
28535
28083
  value: string;
@@ -28556,42 +28104,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28556
28104
  field: "forced";
28557
28105
  value: boolean;
28558
28106
  })[];
28559
- } | {
28560
- family: "ref";
28561
- actions: ("created" | "deleted")[];
28562
- repositories: string[];
28563
- sender: GithubTriggerSender;
28564
- conditions: ({
28565
- field: "branch";
28566
- value: string;
28567
- } | {
28568
- field: "tag";
28569
- value: string;
28570
- } | {
28571
- field: "refType";
28572
- value: "branch" | "tag";
28573
- })[];
28574
- } | {
28575
- family: "release";
28576
- actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
28577
- repositories: string[];
28578
- sender: GithubTriggerSender;
28579
- conditions: ({
28580
- field: "tag";
28581
- value: string;
28582
- } | {
28583
- field: "prerelease";
28584
- value: boolean;
28585
- })[];
28586
- } | {
28587
- family: "repository";
28588
- actions: ("archived" | "created" | "forked" | "starred")[];
28589
- repositories: string[];
28590
- sender: GithubTriggerSender;
28591
- conditions: never[];
28592
28107
  } | {
28593
28108
  family: "review";
28594
- actions: ("dismissed" | "edited" | "submitted")[];
28109
+ actions: "submitted"[];
28595
28110
  repositories: string[];
28596
28111
  sender: GithubTriggerSender;
28597
28112
  conditions: ({
@@ -28603,7 +28118,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28603
28118
  })[];
28604
28119
  } | {
28605
28120
  family: "workflow";
28606
- actions: ("completed" | "in_progress" | "requested")[];
28121
+ actions: "completed"[];
28607
28122
  repositories: string[];
28608
28123
  sender: GithubTriggerSender;
28609
28124
  conditions: ({
@@ -28633,13 +28148,6 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28633
28148
  })[];
28634
28149
  } & {
28635
28150
  reactions?: never;
28636
- }) | ({
28637
- on: "member_joined";
28638
- channels: string[];
28639
- sender: SlackTriggerSender;
28640
- conditions: never[];
28641
- } & {
28642
- reactions?: never;
28643
28151
  }) | ({
28644
28152
  on: "mention";
28645
28153
  channels: string[];
@@ -28683,10 +28191,11 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28683
28191
  enabled?: boolean | undefined;
28684
28192
  }, {
28685
28193
  name?: string | undefined;
28686
- eventType: "form.submitted" | "github" | "record.created" | "record.deleted" | "record.updated" | "slack" | "webhook";
28194
+ eventType: "form.submitted" | "github" | "record.created" | "record.updated" | "slack" | "webhook";
28687
28195
  objectId?: string | undefined;
28688
28196
  watchedFields?: string[] | undefined;
28689
28197
  debounceMs?: number | undefined;
28198
+ reentry?: number | undefined;
28690
28199
  filter?: {
28691
28200
  combinator: "and" | "or";
28692
28201
  rules: {
@@ -28700,7 +28209,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28700
28209
  connectionId?: string | undefined;
28701
28210
  match?: {
28702
28211
  family: "check";
28703
- actions: ("completed" | "rerequested")[];
28212
+ actions: "completed"[];
28704
28213
  repositories: string[];
28705
28214
  sender: GithubTriggerSender;
28706
28215
  conditions: ({
@@ -28715,7 +28224,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28715
28224
  })[];
28716
28225
  } | {
28717
28226
  family: "comment";
28718
- actions: ("created" | "deleted" | "edited")[];
28227
+ actions: "created"[];
28719
28228
  repositories: string[];
28720
28229
  sender: GithubTriggerSender;
28721
28230
  conditions: ({
@@ -28729,74 +28238,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28729
28238
  field: "prAuthor";
28730
28239
  value: string;
28731
28240
  })[];
28732
- } | {
28733
- family: "discussion";
28734
- actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
28735
- repositories: string[];
28736
- sender: GithubTriggerSender;
28737
- conditions: ({
28738
- field: "text";
28739
- operator: "contains" | "starts_with";
28740
- value: string;
28741
- } | {
28742
- field: "category";
28743
- value: string;
28744
- } | {
28745
- field: "issueLabels";
28746
- operator: "all" | "any";
28747
- value: string[];
28748
- })[];
28749
- } | {
28750
- family: "issue";
28751
- actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
28752
- repositories: string[];
28753
- sender: GithubTriggerSender;
28754
- conditions: ({
28755
- field: "text";
28756
- operator: "contains" | "starts_with";
28757
- value: string;
28758
- } | {
28759
- field: "issueType";
28760
- value: string;
28761
- } | {
28762
- field: "label";
28763
- value: string;
28764
- } | {
28765
- field: "milestone";
28766
- value: string;
28767
- } | {
28768
- field: "assignees";
28769
- operator: "all" | "any";
28770
- value: string[];
28771
- } | {
28772
- field: "issueLabels";
28773
- operator: "all" | "any";
28774
- value: string[];
28775
- })[];
28776
- } | {
28777
- family: "project_item";
28778
- actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
28779
- repositories: string[];
28780
- sender: GithubTriggerSender;
28781
- conditions: ({
28782
- field: "project";
28783
- value: string;
28784
- } | {
28785
- field: "projectField";
28786
- value: string;
28787
- } | {
28788
- field: "from";
28789
- value: string | null;
28790
- } | {
28791
- field: "to";
28792
- value: string | null;
28793
- } | {
28794
- field: "itemType";
28795
- value: "draft" | "issue" | "pull_request";
28796
- })[];
28797
28241
  } | {
28798
28242
  family: "pull_request";
28799
- actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
28243
+ actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
28800
28244
  repositories: string[];
28801
28245
  sender: GithubTriggerSender;
28802
28246
  conditions: ({
@@ -28808,6 +28252,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28808
28252
  } | {
28809
28253
  field: "headBranch";
28810
28254
  value: string;
28255
+ } | {
28256
+ field: "label";
28257
+ value: string;
28811
28258
  } | {
28812
28259
  field: "prAuthor";
28813
28260
  value: string;
@@ -28834,42 +28281,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28834
28281
  field: "forced";
28835
28282
  value: boolean;
28836
28283
  })[];
28837
- } | {
28838
- family: "ref";
28839
- actions: ("created" | "deleted")[];
28840
- repositories: string[];
28841
- sender: GithubTriggerSender;
28842
- conditions: ({
28843
- field: "branch";
28844
- value: string;
28845
- } | {
28846
- field: "tag";
28847
- value: string;
28848
- } | {
28849
- field: "refType";
28850
- value: "branch" | "tag";
28851
- })[];
28852
- } | {
28853
- family: "release";
28854
- actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
28855
- repositories: string[];
28856
- sender: GithubTriggerSender;
28857
- conditions: ({
28858
- field: "tag";
28859
- value: string;
28860
- } | {
28861
- field: "prerelease";
28862
- value: boolean;
28863
- })[];
28864
- } | {
28865
- family: "repository";
28866
- actions: ("archived" | "created" | "forked" | "starred")[];
28867
- repositories: string[];
28868
- sender: GithubTriggerSender;
28869
- conditions: never[];
28870
28284
  } | {
28871
28285
  family: "review";
28872
- actions: ("dismissed" | "edited" | "submitted")[];
28286
+ actions: "submitted"[];
28873
28287
  repositories: string[];
28874
28288
  sender: GithubTriggerSender;
28875
28289
  conditions: ({
@@ -28881,7 +28295,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28881
28295
  })[];
28882
28296
  } | {
28883
28297
  family: "workflow";
28884
- actions: ("completed" | "in_progress" | "requested")[];
28298
+ actions: "completed"[];
28885
28299
  repositories: string[];
28886
28300
  sender: GithubTriggerSender;
28887
28301
  conditions: ({
@@ -28911,13 +28325,6 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
28911
28325
  })[];
28912
28326
  } & {
28913
28327
  reactions?: never;
28914
- }) | ({
28915
- on: "member_joined";
28916
- channels: string[];
28917
- sender: SlackTriggerSender;
28918
- conditions: never[];
28919
- } & {
28920
- reactions?: never;
28921
28328
  }) | ({
28922
28329
  on: "mention";
28923
28330
  channels: string[];
@@ -28966,7 +28373,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
28966
28373
  "form.submitted": "form.submitted";
28967
28374
  github: "github";
28968
28375
  "record.created": "record.created";
28969
- "record.deleted": "record.deleted";
28970
28376
  "record.updated": "record.updated";
28971
28377
  slack: "slack";
28972
28378
  webhook: "webhook";
@@ -28974,6 +28380,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
28974
28380
  objectId: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodGUID>>;
28975
28381
  watchedFields: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>>;
28976
28382
  debounceMs: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodNumber>>;
28383
+ reentry: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodNumber>>;
28977
28384
  filter: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodObject<{
28978
28385
  combinator: z$2.ZodDefault<z$2.ZodEnum<{
28979
28386
  and: "and";
@@ -28992,14 +28399,8 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
28992
28399
  family: z$2.ZodEnum<{
28993
28400
  check: "check";
28994
28401
  comment: "comment";
28995
- discussion: "discussion";
28996
- issue: "issue";
28997
- project_item: "project_item";
28998
28402
  pull_request: "pull_request";
28999
28403
  push: "push";
29000
- ref: "ref";
29001
- release: "release";
29002
- repository: "repository";
29003
28404
  review: "review";
29004
28405
  workflow: "workflow";
29005
28406
  }>;
@@ -29029,19 +28430,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29029
28430
  any: "any";
29030
28431
  }>>;
29031
28432
  value: z$2.ZodArray<z$2.ZodString>;
29032
- }, z$2.core.$strict>, z$2.ZodObject<{
29033
- field: z$2.ZodLiteral<"assignees">;
29034
- operator: z$2.ZodDefault<z$2.ZodEnum<{
29035
- all: "all";
29036
- any: "any";
29037
- }>>;
29038
- value: z$2.ZodArray<z$2.ZodString>;
29039
- }, z$2.core.$strict>, z$2.ZodObject<{
29040
- field: z$2.ZodLiteral<"milestone">;
29041
- value: z$2.ZodString;
29042
- }, z$2.core.$strict>, z$2.ZodObject<{
29043
- field: z$2.ZodLiteral<"issueType">;
29044
- value: z$2.ZodString;
29045
28433
  }, z$2.core.$strict>, z$2.ZodObject<{
29046
28434
  field: z$2.ZodLiteral<"baseBranch">;
29047
28435
  value: z$2.ZodString;
@@ -29088,44 +28476,10 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29088
28476
  }, z$2.core.$strict>, z$2.ZodObject<{
29089
28477
  field: z$2.ZodLiteral<"originEvent">;
29090
28478
  value: z$2.ZodString;
29091
- }, z$2.core.$strict>, z$2.ZodObject<{
29092
- field: z$2.ZodLiteral<"project">;
29093
- value: z$2.ZodString;
29094
- }, z$2.core.$strict>, z$2.ZodObject<{
29095
- field: z$2.ZodLiteral<"projectField">;
29096
- value: z$2.ZodString;
29097
- }, z$2.core.$strict>, z$2.ZodObject<{
29098
- field: z$2.ZodLiteral<"from">;
29099
- value: z$2.ZodNullable<z$2.ZodString>;
29100
- }, z$2.core.$strict>, z$2.ZodObject<{
29101
- field: z$2.ZodLiteral<"to">;
29102
- value: z$2.ZodNullable<z$2.ZodString>;
29103
- }, z$2.core.$strict>, z$2.ZodObject<{
29104
- field: z$2.ZodLiteral<"itemType">;
29105
- value: z$2.ZodEnum<{
29106
- draft: "draft";
29107
- issue: "issue";
29108
- pull_request: "pull_request";
29109
- }>;
29110
- }, z$2.core.$strict>, z$2.ZodObject<{
29111
- field: z$2.ZodLiteral<"prerelease">;
29112
- value: z$2.ZodBoolean;
29113
- }, z$2.core.$strict>, z$2.ZodObject<{
29114
- field: z$2.ZodLiteral<"tag">;
29115
- value: z$2.ZodString;
29116
- }, z$2.core.$strict>, z$2.ZodObject<{
29117
- field: z$2.ZodLiteral<"refType">;
29118
- value: z$2.ZodEnum<{
29119
- branch: "branch";
29120
- tag: "tag";
29121
- }>;
29122
- }, z$2.core.$strict>, z$2.ZodObject<{
29123
- field: z$2.ZodLiteral<"category">;
29124
- value: z$2.ZodString;
29125
28479
  }, z$2.core.$strict>], "field">>>;
29126
28480
  }, z$2.core.$strict>, z$2.ZodTransform<{
29127
28481
  family: "check";
29128
- actions: ("completed" | "rerequested")[];
28482
+ actions: "completed"[];
29129
28483
  repositories: string[];
29130
28484
  sender: GithubTriggerSender;
29131
28485
  conditions: ({
@@ -29140,7 +28494,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29140
28494
  })[];
29141
28495
  } | {
29142
28496
  family: "comment";
29143
- actions: ("created" | "deleted" | "edited")[];
28497
+ actions: "created"[];
29144
28498
  repositories: string[];
29145
28499
  sender: GithubTriggerSender;
29146
28500
  conditions: ({
@@ -29154,74 +28508,9 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29154
28508
  field: "prAuthor";
29155
28509
  value: string;
29156
28510
  })[];
29157
- } | {
29158
- family: "discussion";
29159
- actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
29160
- repositories: string[];
29161
- sender: GithubTriggerSender;
29162
- conditions: ({
29163
- field: "text";
29164
- operator: "contains" | "starts_with";
29165
- value: string;
29166
- } | {
29167
- field: "category";
29168
- value: string;
29169
- } | {
29170
- field: "issueLabels";
29171
- operator: "all" | "any";
29172
- value: string[];
29173
- })[];
29174
- } | {
29175
- family: "issue";
29176
- actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
29177
- repositories: string[];
29178
- sender: GithubTriggerSender;
29179
- conditions: ({
29180
- field: "text";
29181
- operator: "contains" | "starts_with";
29182
- value: string;
29183
- } | {
29184
- field: "issueType";
29185
- value: string;
29186
- } | {
29187
- field: "label";
29188
- value: string;
29189
- } | {
29190
- field: "milestone";
29191
- value: string;
29192
- } | {
29193
- field: "assignees";
29194
- operator: "all" | "any";
29195
- value: string[];
29196
- } | {
29197
- field: "issueLabels";
29198
- operator: "all" | "any";
29199
- value: string[];
29200
- })[];
29201
- } | {
29202
- family: "project_item";
29203
- actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
29204
- repositories: string[];
29205
- sender: GithubTriggerSender;
29206
- conditions: ({
29207
- field: "project";
29208
- value: string;
29209
- } | {
29210
- field: "projectField";
29211
- value: string;
29212
- } | {
29213
- field: "from";
29214
- value: string | null;
29215
- } | {
29216
- field: "to";
29217
- value: string | null;
29218
- } | {
29219
- field: "itemType";
29220
- value: "draft" | "issue" | "pull_request";
29221
- })[];
29222
28511
  } | {
29223
28512
  family: "pull_request";
29224
- actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
28513
+ actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
29225
28514
  repositories: string[];
29226
28515
  sender: GithubTriggerSender;
29227
28516
  conditions: ({
@@ -29233,6 +28522,9 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29233
28522
  } | {
29234
28523
  field: "headBranch";
29235
28524
  value: string;
28525
+ } | {
28526
+ field: "label";
28527
+ value: string;
29236
28528
  } | {
29237
28529
  field: "prAuthor";
29238
28530
  value: string;
@@ -29259,42 +28551,9 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29259
28551
  field: "forced";
29260
28552
  value: boolean;
29261
28553
  })[];
29262
- } | {
29263
- family: "ref";
29264
- actions: ("created" | "deleted")[];
29265
- repositories: string[];
29266
- sender: GithubTriggerSender;
29267
- conditions: ({
29268
- field: "branch";
29269
- value: string;
29270
- } | {
29271
- field: "tag";
29272
- value: string;
29273
- } | {
29274
- field: "refType";
29275
- value: "branch" | "tag";
29276
- })[];
29277
- } | {
29278
- family: "release";
29279
- actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
29280
- repositories: string[];
29281
- sender: GithubTriggerSender;
29282
- conditions: ({
29283
- field: "tag";
29284
- value: string;
29285
- } | {
29286
- field: "prerelease";
29287
- value: boolean;
29288
- })[];
29289
- } | {
29290
- family: "repository";
29291
- actions: ("archived" | "created" | "forked" | "starred")[];
29292
- repositories: string[];
29293
- sender: GithubTriggerSender;
29294
- conditions: never[];
29295
28554
  } | {
29296
28555
  family: "review";
29297
- actions: ("dismissed" | "edited" | "submitted")[];
28556
+ actions: "submitted"[];
29298
28557
  repositories: string[];
29299
28558
  sender: GithubTriggerSender;
29300
28559
  conditions: ({
@@ -29306,7 +28565,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29306
28565
  })[];
29307
28566
  } | {
29308
28567
  family: "workflow";
29309
- actions: ("completed" | "in_progress" | "requested")[];
28568
+ actions: "completed"[];
29310
28569
  repositories: string[];
29311
28570
  sender: GithubTriggerSender;
29312
28571
  conditions: ({
@@ -29323,7 +28582,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29323
28582
  value: string;
29324
28583
  })[];
29325
28584
  }, {
29326
- family: "check" | "comment" | "discussion" | "issue" | "project_item" | "pull_request" | "push" | "ref" | "release" | "repository" | "review" | "workflow";
28585
+ family: "check" | "comment" | "pull_request" | "push" | "review" | "workflow";
29327
28586
  actions: string[];
29328
28587
  repositories: string[];
29329
28588
  sender: "any" | "human" | "me" | {
@@ -29339,9 +28598,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29339
28598
  } | {
29340
28599
  field: "branch";
29341
28600
  value: string;
29342
- } | {
29343
- field: "category";
29344
- value: string;
29345
28601
  } | {
29346
28602
  field: "changedPaths";
29347
28603
  value: string;
@@ -29360,30 +28616,15 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29360
28616
  } | {
29361
28617
  field: "issueAuthor";
29362
28618
  value: string;
29363
- } | {
29364
- field: "issueType";
29365
- value: string;
29366
28619
  } | {
29367
28620
  field: "label";
29368
28621
  value: string;
29369
- } | {
29370
- field: "milestone";
29371
- value: string;
29372
28622
  } | {
29373
28623
  field: "originEvent";
29374
28624
  value: string;
29375
28625
  } | {
29376
28626
  field: "prAuthor";
29377
28627
  value: string;
29378
- } | {
29379
- field: "project";
29380
- value: string;
29381
- } | {
29382
- field: "projectField";
29383
- value: string;
29384
- } | {
29385
- field: "tag";
29386
- value: string;
29387
28628
  } | {
29388
28629
  field: "workflowName";
29389
28630
  value: string;
@@ -29393,13 +28634,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29393
28634
  } | {
29394
28635
  field: "forced";
29395
28636
  value: boolean;
29396
- } | {
29397
- field: "prerelease";
29398
- value: boolean;
29399
- } | {
29400
- field: "assignees";
29401
- operator: "all" | "any";
29402
- value: string[];
29403
28637
  } | {
29404
28638
  field: "issueLabels";
29405
28639
  operator: "all" | "any";
@@ -29407,23 +28641,10 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29407
28641
  } | {
29408
28642
  field: "reviewState";
29409
28643
  value: "approved" | "changes_requested" | "commented";
29410
- } | {
29411
- field: "from";
29412
- value: string | null;
29413
- } | {
29414
- field: "to";
29415
- value: string | null;
29416
- } | {
29417
- field: "itemType";
29418
- value: "draft" | "issue" | "pull_request";
29419
- } | {
29420
- field: "refType";
29421
- value: "branch" | "tag";
29422
28644
  })[];
29423
28645
  }>>, z$2.ZodPipe<z$2.ZodObject<{
29424
28646
  on: z$2.ZodEnum<{
29425
28647
  dm: "dm";
29426
- member_joined: "member_joined";
29427
28648
  mention: "mention";
29428
28649
  message: "message";
29429
28650
  reaction: "reaction";
@@ -29471,13 +28692,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29471
28692
  })[];
29472
28693
  } & {
29473
28694
  reactions?: never;
29474
- }) | ({
29475
- on: "member_joined";
29476
- channels: string[];
29477
- sender: SlackTriggerSender;
29478
- conditions: never[];
29479
- } & {
29480
- reactions?: never;
29481
28695
  }) | ({
29482
28696
  on: "mention";
29483
28697
  channels: string[];
@@ -29517,7 +28731,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
29517
28731
  } & {
29518
28732
  reactions?: string[];
29519
28733
  }), {
29520
- on: "dm" | "member_joined" | "mention" | "message" | "reaction";
28734
+ on: "dm" | "mention" | "message" | "reaction";
29521
28735
  channels: string[];
29522
28736
  reactions?: string[] | undefined;
29523
28737
  sender: "any" | "human" | "me" | {