@standards/schema 1.0.0-alpha.431 → 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.
- package/dist/{all-Bd7AdHPs.js → all-B3RHy-si.js} +1 -1
- package/dist/{all-BKRTNSnx.mjs → all-DxqmnktK.mjs} +1 -1
- package/dist/api/index.d.mts +629 -1355
- package/dist/api/index.d.ts +629 -1355
- package/dist/api/index.js +1 -1
- package/dist/api/index.mjs +1 -1
- package/dist/attribute-validators-BGKhSoi4.mjs +11 -0
- package/dist/attribute-validators-D-exV8OQ.js +11 -0
- package/dist/{exceptions-RLmYnywT.d.mts → exceptions-lFvB7G4Q.d.mts} +29 -2
- package/dist/{exceptions-B29yRRaG.d.ts → exceptions-uND1wZ9X.d.ts} +29 -2
- package/dist/exceptions.d.mts +2 -2
- package/dist/exceptions.d.ts +2 -2
- package/dist/exceptions.js +1 -1
- package/dist/exceptions.mjs +1 -1
- package/dist/{index-CTKf4wvg.d.ts → index-CiAuyPuA.d.ts} +613 -1411
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/record-operation-B49h1Oc-.mjs +2 -0
- package/dist/record-operation-HTySlhCF.js +2 -0
- package/dist/{record-query-CmFNpKgs.d.mts → record-query-Bki3Qcvc.d.mts} +612 -1410
- package/dist/{utils-CIqqP6hZ.d.ts → utils-Cn0G_X1P.d.ts} +1 -1
- package/dist/{utils-hkE18pLQ.d.mts → utils-PmF7E7_-.d.mts} +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/validation/all.d.mts +1 -1
- package/dist/validation/all.d.ts +1 -1
- package/dist/validation/all.js +1 -1
- package/dist/validation/all.mjs +1 -1
- package/openapi.json +1283 -817
- package/package.json +2 -2
- package/dist/attribute-validators-CH24eLCk.js +0 -11
- package/dist/attribute-validators-RdwWgLqZ.mjs +0 -11
- package/dist/record-operation-BMO1WCTL.js +0 -2
- package/dist/record-operation-C6DDYXxb.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import "./zod-locale.js";
|
|
3
|
-
import { TenantId, Uuid } from "./utils-
|
|
4
|
-
import { SchemaError, SchemaErrorCode, ValidationError } from "./exceptions-
|
|
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 `
|
|
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
|
-
|
|
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
|
|
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", "
|
|
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"
|
|
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"
|
|
2529
|
-
readonly actions: readonly ["created"
|
|
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 ["
|
|
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"
|
|
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:
|
|
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:
|
|
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: ("
|
|
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:
|
|
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:
|
|
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" | "
|
|
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" | "
|
|
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:
|
|
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:
|
|
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: ("
|
|
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: "
|
|
3584
|
-
actions:
|
|
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:
|
|
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" | "
|
|
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" | "
|
|
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` (
|
|
11771
|
-
* update moves a content between placements),
|
|
11772
|
-
* `reasonName`), `refused` (adding it is
|
|
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 |
|
|
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 `
|
|
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
|
-
|
|
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" | "
|
|
13000
|
-
export type AgentTriggerType = Extract<TriggerEventType, "record.created" | "record.updated"
|
|
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;
|
|
@@ -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";
|
|
@@ -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;
|
|
@@ -25419,6 +25401,7 @@ export declare const toolImpactSchema: z$2.ZodObject<{
|
|
|
25419
25401
|
deletion: z$2.ZodOptional<z$2.ZodObject<{
|
|
25420
25402
|
target: z$2.ZodOptional<z$2.ZodString>;
|
|
25421
25403
|
count: z$2.ZodOptional<z$2.ZodNumber>;
|
|
25404
|
+
targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
25422
25405
|
restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
|
|
25423
25406
|
}, z$2.core.$strict>>;
|
|
25424
25407
|
record: z$2.ZodOptional<z$2.ZodObject<{
|
|
@@ -25540,6 +25523,7 @@ export declare const agentMessagePartSchema: z$2.ZodUnion<readonly [z$2.ZodObjec
|
|
|
25540
25523
|
deletion: z$2.ZodOptional<z$2.ZodObject<{
|
|
25541
25524
|
target: z$2.ZodOptional<z$2.ZodString>;
|
|
25542
25525
|
count: z$2.ZodOptional<z$2.ZodNumber>;
|
|
25526
|
+
targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
25543
25527
|
restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
|
|
25544
25528
|
}, z$2.core.$strict>>;
|
|
25545
25529
|
record: z$2.ZodOptional<z$2.ZodObject<{
|
|
@@ -25752,6 +25736,7 @@ export declare const agentSessionMessageSchema: z$2.ZodObject<{
|
|
|
25752
25736
|
deletion: z$2.ZodOptional<z$2.ZodObject<{
|
|
25753
25737
|
target: z$2.ZodOptional<z$2.ZodString>;
|
|
25754
25738
|
count: z$2.ZodOptional<z$2.ZodNumber>;
|
|
25739
|
+
targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
25755
25740
|
restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
|
|
25756
25741
|
}, z$2.core.$strict>>;
|
|
25757
25742
|
record: z$2.ZodOptional<z$2.ZodObject<{
|
|
@@ -26065,6 +26050,7 @@ export declare const customDataChunkSchemas: {
|
|
|
26065
26050
|
deletion: z$2.ZodOptional<z$2.ZodObject<{
|
|
26066
26051
|
target: z$2.ZodOptional<z$2.ZodString>;
|
|
26067
26052
|
count: z$2.ZodOptional<z$2.ZodNumber>;
|
|
26053
|
+
targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
26068
26054
|
restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
|
|
26069
26055
|
}, z$2.core.$strict>>;
|
|
26070
26056
|
record: z$2.ZodOptional<z$2.ZodObject<{
|
|
@@ -26228,6 +26214,7 @@ export declare const customDataChunkSchemas: {
|
|
|
26228
26214
|
deletion: z$2.ZodOptional<z$2.ZodObject<{
|
|
26229
26215
|
target: z$2.ZodOptional<z$2.ZodString>;
|
|
26230
26216
|
count: z$2.ZodOptional<z$2.ZodNumber>;
|
|
26217
|
+
targets: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
26231
26218
|
restorableDays: z$2.ZodOptional<z$2.ZodNumber>;
|
|
26232
26219
|
}, z$2.core.$strict>>;
|
|
26233
26220
|
record: z$2.ZodOptional<z$2.ZodObject<{
|
|
@@ -27254,7 +27241,12 @@ export declare const agentStartersSchema: z$2.ZodArray<z$2.ZodString>;
|
|
|
27254
27241
|
* holds anything else — metadata is free-form JSON, never trusted raw.
|
|
27255
27242
|
*/
|
|
27256
27243
|
export declare function agentAvatarFromMetadata(value: unknown): AgentAvatar | undefined;
|
|
27257
|
-
export declare const TRIGGER_EVENT_TYPES: readonly ["record.created", "record.updated", "
|
|
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;
|
|
27258
27250
|
/** Env-var key format, enforced by the panel, `request_setup` and `EnvVarService` for new keys. */
|
|
27259
27251
|
export declare const ENV_VAR_KEY_PATTERN: RegExp;
|
|
27260
27252
|
export declare const agentScheduleSchema: z$2.ZodObject<{
|
|
@@ -27281,7 +27273,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27281
27273
|
"form.submitted": "form.submitted";
|
|
27282
27274
|
github: "github";
|
|
27283
27275
|
"record.created": "record.created";
|
|
27284
|
-
"record.deleted": "record.deleted";
|
|
27285
27276
|
"record.updated": "record.updated";
|
|
27286
27277
|
slack: "slack";
|
|
27287
27278
|
webhook: "webhook";
|
|
@@ -27289,6 +27280,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27289
27280
|
objectId: z$2.ZodOptional<z$2.ZodGUID>;
|
|
27290
27281
|
watchedFields: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
|
|
27291
27282
|
debounceMs: z$2.ZodOptional<z$2.ZodNumber>;
|
|
27283
|
+
reentry: z$2.ZodOptional<z$2.ZodNumber>;
|
|
27292
27284
|
filter: z$2.ZodOptional<z$2.ZodObject<{
|
|
27293
27285
|
combinator: z$2.ZodDefault<z$2.ZodEnum<{
|
|
27294
27286
|
and: "and";
|
|
@@ -27307,14 +27299,8 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27307
27299
|
family: z$2.ZodEnum<{
|
|
27308
27300
|
check: "check";
|
|
27309
27301
|
comment: "comment";
|
|
27310
|
-
discussion: "discussion";
|
|
27311
|
-
issue: "issue";
|
|
27312
|
-
project_item: "project_item";
|
|
27313
27302
|
pull_request: "pull_request";
|
|
27314
27303
|
push: "push";
|
|
27315
|
-
ref: "ref";
|
|
27316
|
-
release: "release";
|
|
27317
|
-
repository: "repository";
|
|
27318
27304
|
review: "review";
|
|
27319
27305
|
workflow: "workflow";
|
|
27320
27306
|
}>;
|
|
@@ -27344,19 +27330,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27344
27330
|
any: "any";
|
|
27345
27331
|
}>>;
|
|
27346
27332
|
value: z$2.ZodArray<z$2.ZodString>;
|
|
27347
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27348
|
-
field: z$2.ZodLiteral<"assignees">;
|
|
27349
|
-
operator: z$2.ZodDefault<z$2.ZodEnum<{
|
|
27350
|
-
all: "all";
|
|
27351
|
-
any: "any";
|
|
27352
|
-
}>>;
|
|
27353
|
-
value: z$2.ZodArray<z$2.ZodString>;
|
|
27354
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27355
|
-
field: z$2.ZodLiteral<"milestone">;
|
|
27356
|
-
value: z$2.ZodString;
|
|
27357
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27358
|
-
field: z$2.ZodLiteral<"issueType">;
|
|
27359
|
-
value: z$2.ZodString;
|
|
27360
27333
|
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27361
27334
|
field: z$2.ZodLiteral<"baseBranch">;
|
|
27362
27335
|
value: z$2.ZodString;
|
|
@@ -27403,44 +27376,10 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27403
27376
|
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27404
27377
|
field: z$2.ZodLiteral<"originEvent">;
|
|
27405
27378
|
value: z$2.ZodString;
|
|
27406
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27407
|
-
field: z$2.ZodLiteral<"project">;
|
|
27408
|
-
value: z$2.ZodString;
|
|
27409
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27410
|
-
field: z$2.ZodLiteral<"projectField">;
|
|
27411
|
-
value: z$2.ZodString;
|
|
27412
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27413
|
-
field: z$2.ZodLiteral<"from">;
|
|
27414
|
-
value: z$2.ZodNullable<z$2.ZodString>;
|
|
27415
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27416
|
-
field: z$2.ZodLiteral<"to">;
|
|
27417
|
-
value: z$2.ZodNullable<z$2.ZodString>;
|
|
27418
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27419
|
-
field: z$2.ZodLiteral<"itemType">;
|
|
27420
|
-
value: z$2.ZodEnum<{
|
|
27421
|
-
draft: "draft";
|
|
27422
|
-
issue: "issue";
|
|
27423
|
-
pull_request: "pull_request";
|
|
27424
|
-
}>;
|
|
27425
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27426
|
-
field: z$2.ZodLiteral<"prerelease">;
|
|
27427
|
-
value: z$2.ZodBoolean;
|
|
27428
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27429
|
-
field: z$2.ZodLiteral<"tag">;
|
|
27430
|
-
value: z$2.ZodString;
|
|
27431
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27432
|
-
field: z$2.ZodLiteral<"refType">;
|
|
27433
|
-
value: z$2.ZodEnum<{
|
|
27434
|
-
branch: "branch";
|
|
27435
|
-
tag: "tag";
|
|
27436
|
-
}>;
|
|
27437
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
27438
|
-
field: z$2.ZodLiteral<"category">;
|
|
27439
|
-
value: z$2.ZodString;
|
|
27440
27379
|
}, z$2.core.$strict>], "field">>>;
|
|
27441
27380
|
}, z$2.core.$strict>, z$2.ZodTransform<{
|
|
27442
27381
|
family: "check";
|
|
27443
|
-
actions:
|
|
27382
|
+
actions: "completed"[];
|
|
27444
27383
|
repositories: string[];
|
|
27445
27384
|
sender: GithubTriggerSender;
|
|
27446
27385
|
conditions: ({
|
|
@@ -27455,7 +27394,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27455
27394
|
})[];
|
|
27456
27395
|
} | {
|
|
27457
27396
|
family: "comment";
|
|
27458
|
-
actions:
|
|
27397
|
+
actions: "created"[];
|
|
27459
27398
|
repositories: string[];
|
|
27460
27399
|
sender: GithubTriggerSender;
|
|
27461
27400
|
conditions: ({
|
|
@@ -27470,98 +27409,36 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27470
27409
|
value: string;
|
|
27471
27410
|
})[];
|
|
27472
27411
|
} | {
|
|
27473
|
-
family: "
|
|
27474
|
-
actions: ("
|
|
27412
|
+
family: "pull_request";
|
|
27413
|
+
actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
|
|
27475
27414
|
repositories: string[];
|
|
27476
27415
|
sender: GithubTriggerSender;
|
|
27477
27416
|
conditions: ({
|
|
27478
|
-
field: "
|
|
27479
|
-
operator: "contains" | "starts_with";
|
|
27417
|
+
field: "baseBranch";
|
|
27480
27418
|
value: string;
|
|
27481
27419
|
} | {
|
|
27482
|
-
field: "
|
|
27420
|
+
field: "changedPaths";
|
|
27421
|
+
value: string;
|
|
27422
|
+
} | {
|
|
27423
|
+
field: "headBranch";
|
|
27424
|
+
value: string;
|
|
27425
|
+
} | {
|
|
27426
|
+
field: "label";
|
|
27427
|
+
value: string;
|
|
27428
|
+
} | {
|
|
27429
|
+
field: "prAuthor";
|
|
27483
27430
|
value: string;
|
|
27431
|
+
} | {
|
|
27432
|
+
field: "draft";
|
|
27433
|
+
value: boolean;
|
|
27484
27434
|
} | {
|
|
27485
27435
|
field: "issueLabels";
|
|
27486
27436
|
operator: "all" | "any";
|
|
27487
27437
|
value: string[];
|
|
27488
27438
|
})[];
|
|
27489
27439
|
} | {
|
|
27490
|
-
family: "
|
|
27491
|
-
actions:
|
|
27492
|
-
repositories: string[];
|
|
27493
|
-
sender: GithubTriggerSender;
|
|
27494
|
-
conditions: ({
|
|
27495
|
-
field: "text";
|
|
27496
|
-
operator: "contains" | "starts_with";
|
|
27497
|
-
value: string;
|
|
27498
|
-
} | {
|
|
27499
|
-
field: "issueType";
|
|
27500
|
-
value: string;
|
|
27501
|
-
} | {
|
|
27502
|
-
field: "label";
|
|
27503
|
-
value: string;
|
|
27504
|
-
} | {
|
|
27505
|
-
field: "milestone";
|
|
27506
|
-
value: string;
|
|
27507
|
-
} | {
|
|
27508
|
-
field: "assignees";
|
|
27509
|
-
operator: "all" | "any";
|
|
27510
|
-
value: string[];
|
|
27511
|
-
} | {
|
|
27512
|
-
field: "issueLabels";
|
|
27513
|
-
operator: "all" | "any";
|
|
27514
|
-
value: string[];
|
|
27515
|
-
})[];
|
|
27516
|
-
} | {
|
|
27517
|
-
family: "project_item";
|
|
27518
|
-
actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
|
|
27519
|
-
repositories: string[];
|
|
27520
|
-
sender: GithubTriggerSender;
|
|
27521
|
-
conditions: ({
|
|
27522
|
-
field: "project";
|
|
27523
|
-
value: string;
|
|
27524
|
-
} | {
|
|
27525
|
-
field: "projectField";
|
|
27526
|
-
value: string;
|
|
27527
|
-
} | {
|
|
27528
|
-
field: "from";
|
|
27529
|
-
value: string | null;
|
|
27530
|
-
} | {
|
|
27531
|
-
field: "to";
|
|
27532
|
-
value: string | null;
|
|
27533
|
-
} | {
|
|
27534
|
-
field: "itemType";
|
|
27535
|
-
value: "draft" | "issue" | "pull_request";
|
|
27536
|
-
})[];
|
|
27537
|
-
} | {
|
|
27538
|
-
family: "pull_request";
|
|
27539
|
-
actions: ("assigned" | "closed" | "converted_to_draft" | "edited" | "labeled" | "merged" | "opened" | "ready_for_review" | "reopened" | "review_requested" | "synchronize")[];
|
|
27540
|
-
repositories: string[];
|
|
27541
|
-
sender: GithubTriggerSender;
|
|
27542
|
-
conditions: ({
|
|
27543
|
-
field: "baseBranch";
|
|
27544
|
-
value: string;
|
|
27545
|
-
} | {
|
|
27546
|
-
field: "changedPaths";
|
|
27547
|
-
value: string;
|
|
27548
|
-
} | {
|
|
27549
|
-
field: "headBranch";
|
|
27550
|
-
value: string;
|
|
27551
|
-
} | {
|
|
27552
|
-
field: "prAuthor";
|
|
27553
|
-
value: string;
|
|
27554
|
-
} | {
|
|
27555
|
-
field: "draft";
|
|
27556
|
-
value: boolean;
|
|
27557
|
-
} | {
|
|
27558
|
-
field: "issueLabels";
|
|
27559
|
-
operator: "all" | "any";
|
|
27560
|
-
value: string[];
|
|
27561
|
-
})[];
|
|
27562
|
-
} | {
|
|
27563
|
-
family: "push";
|
|
27564
|
-
actions: "pushed"[];
|
|
27440
|
+
family: "push";
|
|
27441
|
+
actions: "pushed"[];
|
|
27565
27442
|
repositories: string[];
|
|
27566
27443
|
sender: GithubTriggerSender;
|
|
27567
27444
|
conditions: ({
|
|
@@ -27574,42 +27451,9 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27574
27451
|
field: "forced";
|
|
27575
27452
|
value: boolean;
|
|
27576
27453
|
})[];
|
|
27577
|
-
} | {
|
|
27578
|
-
family: "ref";
|
|
27579
|
-
actions: ("created" | "deleted")[];
|
|
27580
|
-
repositories: string[];
|
|
27581
|
-
sender: GithubTriggerSender;
|
|
27582
|
-
conditions: ({
|
|
27583
|
-
field: "branch";
|
|
27584
|
-
value: string;
|
|
27585
|
-
} | {
|
|
27586
|
-
field: "tag";
|
|
27587
|
-
value: string;
|
|
27588
|
-
} | {
|
|
27589
|
-
field: "refType";
|
|
27590
|
-
value: "branch" | "tag";
|
|
27591
|
-
})[];
|
|
27592
|
-
} | {
|
|
27593
|
-
family: "release";
|
|
27594
|
-
actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
|
|
27595
|
-
repositories: string[];
|
|
27596
|
-
sender: GithubTriggerSender;
|
|
27597
|
-
conditions: ({
|
|
27598
|
-
field: "tag";
|
|
27599
|
-
value: string;
|
|
27600
|
-
} | {
|
|
27601
|
-
field: "prerelease";
|
|
27602
|
-
value: boolean;
|
|
27603
|
-
})[];
|
|
27604
|
-
} | {
|
|
27605
|
-
family: "repository";
|
|
27606
|
-
actions: ("archived" | "created" | "forked" | "starred")[];
|
|
27607
|
-
repositories: string[];
|
|
27608
|
-
sender: GithubTriggerSender;
|
|
27609
|
-
conditions: never[];
|
|
27610
27454
|
} | {
|
|
27611
27455
|
family: "review";
|
|
27612
|
-
actions:
|
|
27456
|
+
actions: "submitted"[];
|
|
27613
27457
|
repositories: string[];
|
|
27614
27458
|
sender: GithubTriggerSender;
|
|
27615
27459
|
conditions: ({
|
|
@@ -27621,7 +27465,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27621
27465
|
})[];
|
|
27622
27466
|
} | {
|
|
27623
27467
|
family: "workflow";
|
|
27624
|
-
actions:
|
|
27468
|
+
actions: "completed"[];
|
|
27625
27469
|
repositories: string[];
|
|
27626
27470
|
sender: GithubTriggerSender;
|
|
27627
27471
|
conditions: ({
|
|
@@ -27638,7 +27482,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27638
27482
|
value: string;
|
|
27639
27483
|
})[];
|
|
27640
27484
|
}, {
|
|
27641
|
-
family: "check" | "comment" | "
|
|
27485
|
+
family: "check" | "comment" | "pull_request" | "push" | "review" | "workflow";
|
|
27642
27486
|
actions: string[];
|
|
27643
27487
|
repositories: string[];
|
|
27644
27488
|
sender: "any" | "human" | "me" | {
|
|
@@ -27654,9 +27498,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27654
27498
|
} | {
|
|
27655
27499
|
field: "branch";
|
|
27656
27500
|
value: string;
|
|
27657
|
-
} | {
|
|
27658
|
-
field: "category";
|
|
27659
|
-
value: string;
|
|
27660
27501
|
} | {
|
|
27661
27502
|
field: "changedPaths";
|
|
27662
27503
|
value: string;
|
|
@@ -27675,30 +27516,15 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27675
27516
|
} | {
|
|
27676
27517
|
field: "issueAuthor";
|
|
27677
27518
|
value: string;
|
|
27678
|
-
} | {
|
|
27679
|
-
field: "issueType";
|
|
27680
|
-
value: string;
|
|
27681
27519
|
} | {
|
|
27682
27520
|
field: "label";
|
|
27683
27521
|
value: string;
|
|
27684
|
-
} | {
|
|
27685
|
-
field: "milestone";
|
|
27686
|
-
value: string;
|
|
27687
27522
|
} | {
|
|
27688
27523
|
field: "originEvent";
|
|
27689
27524
|
value: string;
|
|
27690
27525
|
} | {
|
|
27691
27526
|
field: "prAuthor";
|
|
27692
27527
|
value: string;
|
|
27693
|
-
} | {
|
|
27694
|
-
field: "project";
|
|
27695
|
-
value: string;
|
|
27696
|
-
} | {
|
|
27697
|
-
field: "projectField";
|
|
27698
|
-
value: string;
|
|
27699
|
-
} | {
|
|
27700
|
-
field: "tag";
|
|
27701
|
-
value: string;
|
|
27702
27528
|
} | {
|
|
27703
27529
|
field: "workflowName";
|
|
27704
27530
|
value: string;
|
|
@@ -27708,13 +27534,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27708
27534
|
} | {
|
|
27709
27535
|
field: "forced";
|
|
27710
27536
|
value: boolean;
|
|
27711
|
-
} | {
|
|
27712
|
-
field: "prerelease";
|
|
27713
|
-
value: boolean;
|
|
27714
|
-
} | {
|
|
27715
|
-
field: "assignees";
|
|
27716
|
-
operator: "all" | "any";
|
|
27717
|
-
value: string[];
|
|
27718
27537
|
} | {
|
|
27719
27538
|
field: "issueLabels";
|
|
27720
27539
|
operator: "all" | "any";
|
|
@@ -27722,23 +27541,10 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27722
27541
|
} | {
|
|
27723
27542
|
field: "reviewState";
|
|
27724
27543
|
value: "approved" | "changes_requested" | "commented";
|
|
27725
|
-
} | {
|
|
27726
|
-
field: "from";
|
|
27727
|
-
value: string | null;
|
|
27728
|
-
} | {
|
|
27729
|
-
field: "to";
|
|
27730
|
-
value: string | null;
|
|
27731
|
-
} | {
|
|
27732
|
-
field: "itemType";
|
|
27733
|
-
value: "draft" | "issue" | "pull_request";
|
|
27734
|
-
} | {
|
|
27735
|
-
field: "refType";
|
|
27736
|
-
value: "branch" | "tag";
|
|
27737
27544
|
})[];
|
|
27738
27545
|
}>>, z$2.ZodPipe<z$2.ZodObject<{
|
|
27739
27546
|
on: z$2.ZodEnum<{
|
|
27740
27547
|
dm: "dm";
|
|
27741
|
-
member_joined: "member_joined";
|
|
27742
27548
|
mention: "mention";
|
|
27743
27549
|
message: "message";
|
|
27744
27550
|
reaction: "reaction";
|
|
@@ -27786,13 +27592,6 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27786
27592
|
})[];
|
|
27787
27593
|
} & {
|
|
27788
27594
|
reactions?: never;
|
|
27789
|
-
}) | ({
|
|
27790
|
-
on: "member_joined";
|
|
27791
|
-
channels: string[];
|
|
27792
|
-
sender: SlackTriggerSender;
|
|
27793
|
-
conditions: never[];
|
|
27794
|
-
} & {
|
|
27795
|
-
reactions?: never;
|
|
27796
27595
|
}) | ({
|
|
27797
27596
|
on: "mention";
|
|
27798
27597
|
channels: string[];
|
|
@@ -27832,7 +27631,7 @@ export declare const agentTriggerBaseSchema: z$2.ZodObject<{
|
|
|
27832
27631
|
} & {
|
|
27833
27632
|
reactions?: string[];
|
|
27834
27633
|
}), {
|
|
27835
|
-
on: "dm" | "
|
|
27634
|
+
on: "dm" | "mention" | "message" | "reaction";
|
|
27836
27635
|
channels: string[];
|
|
27837
27636
|
reactions?: string[] | undefined;
|
|
27838
27637
|
sender: "any" | "human" | "me" | {
|
|
@@ -27861,10 +27660,11 @@ export declare function refineTrigger<T extends TriggerShape>(schema: z$2.ZodTyp
|
|
|
27861
27660
|
/** Creation/full-state defaults; the PATCH shape deliberately carries no defaults. */
|
|
27862
27661
|
export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
27863
27662
|
name?: string | undefined;
|
|
27864
|
-
eventType: "form.submitted" | "github" | "record.created" | "record.
|
|
27663
|
+
eventType: "form.submitted" | "github" | "record.created" | "record.updated" | "slack" | "webhook";
|
|
27865
27664
|
objectId?: string | undefined;
|
|
27866
27665
|
watchedFields?: string[] | undefined;
|
|
27867
27666
|
debounceMs?: number | undefined;
|
|
27667
|
+
reentry?: number | undefined;
|
|
27868
27668
|
filter?: {
|
|
27869
27669
|
combinator: "and" | "or";
|
|
27870
27670
|
rules: {
|
|
@@ -27878,7 +27678,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
27878
27678
|
connectionId?: string | undefined;
|
|
27879
27679
|
match?: {
|
|
27880
27680
|
family: "check";
|
|
27881
|
-
actions:
|
|
27681
|
+
actions: "completed"[];
|
|
27882
27682
|
repositories: string[];
|
|
27883
27683
|
sender: GithubTriggerSender;
|
|
27884
27684
|
conditions: ({
|
|
@@ -27893,7 +27693,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
27893
27693
|
})[];
|
|
27894
27694
|
} | {
|
|
27895
27695
|
family: "comment";
|
|
27896
|
-
actions:
|
|
27696
|
+
actions: "created"[];
|
|
27897
27697
|
repositories: string[];
|
|
27898
27698
|
sender: GithubTriggerSender;
|
|
27899
27699
|
conditions: ({
|
|
@@ -27907,74 +27707,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
27907
27707
|
field: "prAuthor";
|
|
27908
27708
|
value: string;
|
|
27909
27709
|
})[];
|
|
27910
|
-
} | {
|
|
27911
|
-
family: "discussion";
|
|
27912
|
-
actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
|
|
27913
|
-
repositories: string[];
|
|
27914
|
-
sender: GithubTriggerSender;
|
|
27915
|
-
conditions: ({
|
|
27916
|
-
field: "text";
|
|
27917
|
-
operator: "contains" | "starts_with";
|
|
27918
|
-
value: string;
|
|
27919
|
-
} | {
|
|
27920
|
-
field: "category";
|
|
27921
|
-
value: string;
|
|
27922
|
-
} | {
|
|
27923
|
-
field: "issueLabels";
|
|
27924
|
-
operator: "all" | "any";
|
|
27925
|
-
value: string[];
|
|
27926
|
-
})[];
|
|
27927
|
-
} | {
|
|
27928
|
-
family: "issue";
|
|
27929
|
-
actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
|
|
27930
|
-
repositories: string[];
|
|
27931
|
-
sender: GithubTriggerSender;
|
|
27932
|
-
conditions: ({
|
|
27933
|
-
field: "text";
|
|
27934
|
-
operator: "contains" | "starts_with";
|
|
27935
|
-
value: string;
|
|
27936
|
-
} | {
|
|
27937
|
-
field: "issueType";
|
|
27938
|
-
value: string;
|
|
27939
|
-
} | {
|
|
27940
|
-
field: "label";
|
|
27941
|
-
value: string;
|
|
27942
|
-
} | {
|
|
27943
|
-
field: "milestone";
|
|
27944
|
-
value: string;
|
|
27945
|
-
} | {
|
|
27946
|
-
field: "assignees";
|
|
27947
|
-
operator: "all" | "any";
|
|
27948
|
-
value: string[];
|
|
27949
|
-
} | {
|
|
27950
|
-
field: "issueLabels";
|
|
27951
|
-
operator: "all" | "any";
|
|
27952
|
-
value: string[];
|
|
27953
|
-
})[];
|
|
27954
|
-
} | {
|
|
27955
|
-
family: "project_item";
|
|
27956
|
-
actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
|
|
27957
|
-
repositories: string[];
|
|
27958
|
-
sender: GithubTriggerSender;
|
|
27959
|
-
conditions: ({
|
|
27960
|
-
field: "project";
|
|
27961
|
-
value: string;
|
|
27962
|
-
} | {
|
|
27963
|
-
field: "projectField";
|
|
27964
|
-
value: string;
|
|
27965
|
-
} | {
|
|
27966
|
-
field: "from";
|
|
27967
|
-
value: string | null;
|
|
27968
|
-
} | {
|
|
27969
|
-
field: "to";
|
|
27970
|
-
value: string | null;
|
|
27971
|
-
} | {
|
|
27972
|
-
field: "itemType";
|
|
27973
|
-
value: "draft" | "issue" | "pull_request";
|
|
27974
|
-
})[];
|
|
27975
27710
|
} | {
|
|
27976
27711
|
family: "pull_request";
|
|
27977
|
-
actions: ("
|
|
27712
|
+
actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
|
|
27978
27713
|
repositories: string[];
|
|
27979
27714
|
sender: GithubTriggerSender;
|
|
27980
27715
|
conditions: ({
|
|
@@ -27986,6 +27721,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
27986
27721
|
} | {
|
|
27987
27722
|
field: "headBranch";
|
|
27988
27723
|
value: string;
|
|
27724
|
+
} | {
|
|
27725
|
+
field: "label";
|
|
27726
|
+
value: string;
|
|
27989
27727
|
} | {
|
|
27990
27728
|
field: "prAuthor";
|
|
27991
27729
|
value: string;
|
|
@@ -28012,42 +27750,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28012
27750
|
field: "forced";
|
|
28013
27751
|
value: boolean;
|
|
28014
27752
|
})[];
|
|
28015
|
-
} | {
|
|
28016
|
-
family: "ref";
|
|
28017
|
-
actions: ("created" | "deleted")[];
|
|
28018
|
-
repositories: string[];
|
|
28019
|
-
sender: GithubTriggerSender;
|
|
28020
|
-
conditions: ({
|
|
28021
|
-
field: "branch";
|
|
28022
|
-
value: string;
|
|
28023
|
-
} | {
|
|
28024
|
-
field: "tag";
|
|
28025
|
-
value: string;
|
|
28026
|
-
} | {
|
|
28027
|
-
field: "refType";
|
|
28028
|
-
value: "branch" | "tag";
|
|
28029
|
-
})[];
|
|
28030
|
-
} | {
|
|
28031
|
-
family: "release";
|
|
28032
|
-
actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
|
|
28033
|
-
repositories: string[];
|
|
28034
|
-
sender: GithubTriggerSender;
|
|
28035
|
-
conditions: ({
|
|
28036
|
-
field: "tag";
|
|
28037
|
-
value: string;
|
|
28038
|
-
} | {
|
|
28039
|
-
field: "prerelease";
|
|
28040
|
-
value: boolean;
|
|
28041
|
-
})[];
|
|
28042
|
-
} | {
|
|
28043
|
-
family: "repository";
|
|
28044
|
-
actions: ("archived" | "created" | "forked" | "starred")[];
|
|
28045
|
-
repositories: string[];
|
|
28046
|
-
sender: GithubTriggerSender;
|
|
28047
|
-
conditions: never[];
|
|
28048
27753
|
} | {
|
|
28049
27754
|
family: "review";
|
|
28050
|
-
actions:
|
|
27755
|
+
actions: "submitted"[];
|
|
28051
27756
|
repositories: string[];
|
|
28052
27757
|
sender: GithubTriggerSender;
|
|
28053
27758
|
conditions: ({
|
|
@@ -28059,7 +27764,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28059
27764
|
})[];
|
|
28060
27765
|
} | {
|
|
28061
27766
|
family: "workflow";
|
|
28062
|
-
actions:
|
|
27767
|
+
actions: "completed"[];
|
|
28063
27768
|
repositories: string[];
|
|
28064
27769
|
sender: GithubTriggerSender;
|
|
28065
27770
|
conditions: ({
|
|
@@ -28089,13 +27794,6 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28089
27794
|
})[];
|
|
28090
27795
|
} & {
|
|
28091
27796
|
reactions?: never;
|
|
28092
|
-
}) | ({
|
|
28093
|
-
on: "member_joined";
|
|
28094
|
-
channels: string[];
|
|
28095
|
-
sender: SlackTriggerSender;
|
|
28096
|
-
conditions: never[];
|
|
28097
|
-
} & {
|
|
28098
|
-
reactions?: never;
|
|
28099
27797
|
}) | ({
|
|
28100
27798
|
on: "mention";
|
|
28101
27799
|
channels: string[];
|
|
@@ -28139,10 +27837,11 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28139
27837
|
enabled?: boolean | undefined;
|
|
28140
27838
|
}, unknown, z$2.core.$ZodTypeInternals<{
|
|
28141
27839
|
name?: string | undefined;
|
|
28142
|
-
eventType: "form.submitted" | "github" | "record.created" | "record.
|
|
27840
|
+
eventType: "form.submitted" | "github" | "record.created" | "record.updated" | "slack" | "webhook";
|
|
28143
27841
|
objectId?: string | undefined;
|
|
28144
27842
|
watchedFields?: string[] | undefined;
|
|
28145
27843
|
debounceMs?: number | undefined;
|
|
27844
|
+
reentry?: number | undefined;
|
|
28146
27845
|
filter?: {
|
|
28147
27846
|
combinator: "and" | "or";
|
|
28148
27847
|
rules: {
|
|
@@ -28156,7 +27855,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28156
27855
|
connectionId?: string | undefined;
|
|
28157
27856
|
match?: {
|
|
28158
27857
|
family: "check";
|
|
28159
|
-
actions:
|
|
27858
|
+
actions: "completed"[];
|
|
28160
27859
|
repositories: string[];
|
|
28161
27860
|
sender: GithubTriggerSender;
|
|
28162
27861
|
conditions: ({
|
|
@@ -28171,7 +27870,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28171
27870
|
})[];
|
|
28172
27871
|
} | {
|
|
28173
27872
|
family: "comment";
|
|
28174
|
-
actions:
|
|
27873
|
+
actions: "created"[];
|
|
28175
27874
|
repositories: string[];
|
|
28176
27875
|
sender: GithubTriggerSender;
|
|
28177
27876
|
conditions: ({
|
|
@@ -28185,74 +27884,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28185
27884
|
field: "prAuthor";
|
|
28186
27885
|
value: string;
|
|
28187
27886
|
})[];
|
|
28188
|
-
} | {
|
|
28189
|
-
family: "discussion";
|
|
28190
|
-
actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
|
|
28191
|
-
repositories: string[];
|
|
28192
|
-
sender: GithubTriggerSender;
|
|
28193
|
-
conditions: ({
|
|
28194
|
-
field: "text";
|
|
28195
|
-
operator: "contains" | "starts_with";
|
|
28196
|
-
value: string;
|
|
28197
|
-
} | {
|
|
28198
|
-
field: "category";
|
|
28199
|
-
value: string;
|
|
28200
|
-
} | {
|
|
28201
|
-
field: "issueLabels";
|
|
28202
|
-
operator: "all" | "any";
|
|
28203
|
-
value: string[];
|
|
28204
|
-
})[];
|
|
28205
|
-
} | {
|
|
28206
|
-
family: "issue";
|
|
28207
|
-
actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
|
|
28208
|
-
repositories: string[];
|
|
28209
|
-
sender: GithubTriggerSender;
|
|
28210
|
-
conditions: ({
|
|
28211
|
-
field: "text";
|
|
28212
|
-
operator: "contains" | "starts_with";
|
|
28213
|
-
value: string;
|
|
28214
|
-
} | {
|
|
28215
|
-
field: "issueType";
|
|
28216
|
-
value: string;
|
|
28217
|
-
} | {
|
|
28218
|
-
field: "label";
|
|
28219
|
-
value: string;
|
|
28220
|
-
} | {
|
|
28221
|
-
field: "milestone";
|
|
28222
|
-
value: string;
|
|
28223
|
-
} | {
|
|
28224
|
-
field: "assignees";
|
|
28225
|
-
operator: "all" | "any";
|
|
28226
|
-
value: string[];
|
|
28227
|
-
} | {
|
|
28228
|
-
field: "issueLabels";
|
|
28229
|
-
operator: "all" | "any";
|
|
28230
|
-
value: string[];
|
|
28231
|
-
})[];
|
|
28232
|
-
} | {
|
|
28233
|
-
family: "project_item";
|
|
28234
|
-
actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
|
|
28235
|
-
repositories: string[];
|
|
28236
|
-
sender: GithubTriggerSender;
|
|
28237
|
-
conditions: ({
|
|
28238
|
-
field: "project";
|
|
28239
|
-
value: string;
|
|
28240
|
-
} | {
|
|
28241
|
-
field: "projectField";
|
|
28242
|
-
value: string;
|
|
28243
|
-
} | {
|
|
28244
|
-
field: "from";
|
|
28245
|
-
value: string | null;
|
|
28246
|
-
} | {
|
|
28247
|
-
field: "to";
|
|
28248
|
-
value: string | null;
|
|
28249
|
-
} | {
|
|
28250
|
-
field: "itemType";
|
|
28251
|
-
value: "draft" | "issue" | "pull_request";
|
|
28252
|
-
})[];
|
|
28253
27887
|
} | {
|
|
28254
27888
|
family: "pull_request";
|
|
28255
|
-
actions: ("
|
|
27889
|
+
actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
|
|
28256
27890
|
repositories: string[];
|
|
28257
27891
|
sender: GithubTriggerSender;
|
|
28258
27892
|
conditions: ({
|
|
@@ -28264,6 +27898,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28264
27898
|
} | {
|
|
28265
27899
|
field: "headBranch";
|
|
28266
27900
|
value: string;
|
|
27901
|
+
} | {
|
|
27902
|
+
field: "label";
|
|
27903
|
+
value: string;
|
|
28267
27904
|
} | {
|
|
28268
27905
|
field: "prAuthor";
|
|
28269
27906
|
value: string;
|
|
@@ -28290,42 +27927,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28290
27927
|
field: "forced";
|
|
28291
27928
|
value: boolean;
|
|
28292
27929
|
})[];
|
|
28293
|
-
} | {
|
|
28294
|
-
family: "ref";
|
|
28295
|
-
actions: ("created" | "deleted")[];
|
|
28296
|
-
repositories: string[];
|
|
28297
|
-
sender: GithubTriggerSender;
|
|
28298
|
-
conditions: ({
|
|
28299
|
-
field: "branch";
|
|
28300
|
-
value: string;
|
|
28301
|
-
} | {
|
|
28302
|
-
field: "tag";
|
|
28303
|
-
value: string;
|
|
28304
|
-
} | {
|
|
28305
|
-
field: "refType";
|
|
28306
|
-
value: "branch" | "tag";
|
|
28307
|
-
})[];
|
|
28308
|
-
} | {
|
|
28309
|
-
family: "release";
|
|
28310
|
-
actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
|
|
28311
|
-
repositories: string[];
|
|
28312
|
-
sender: GithubTriggerSender;
|
|
28313
|
-
conditions: ({
|
|
28314
|
-
field: "tag";
|
|
28315
|
-
value: string;
|
|
28316
|
-
} | {
|
|
28317
|
-
field: "prerelease";
|
|
28318
|
-
value: boolean;
|
|
28319
|
-
})[];
|
|
28320
|
-
} | {
|
|
28321
|
-
family: "repository";
|
|
28322
|
-
actions: ("archived" | "created" | "forked" | "starred")[];
|
|
28323
|
-
repositories: string[];
|
|
28324
|
-
sender: GithubTriggerSender;
|
|
28325
|
-
conditions: never[];
|
|
28326
27930
|
} | {
|
|
28327
27931
|
family: "review";
|
|
28328
|
-
actions:
|
|
27932
|
+
actions: "submitted"[];
|
|
28329
27933
|
repositories: string[];
|
|
28330
27934
|
sender: GithubTriggerSender;
|
|
28331
27935
|
conditions: ({
|
|
@@ -28337,7 +27941,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28337
27941
|
})[];
|
|
28338
27942
|
} | {
|
|
28339
27943
|
family: "workflow";
|
|
28340
|
-
actions:
|
|
27944
|
+
actions: "completed"[];
|
|
28341
27945
|
repositories: string[];
|
|
28342
27946
|
sender: GithubTriggerSender;
|
|
28343
27947
|
conditions: ({
|
|
@@ -28367,13 +27971,6 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28367
27971
|
})[];
|
|
28368
27972
|
} & {
|
|
28369
27973
|
reactions?: never;
|
|
28370
|
-
}) | ({
|
|
28371
|
-
on: "member_joined";
|
|
28372
|
-
channels: string[];
|
|
28373
|
-
sender: SlackTriggerSender;
|
|
28374
|
-
conditions: never[];
|
|
28375
|
-
} & {
|
|
28376
|
-
reactions?: never;
|
|
28377
27974
|
}) | ({
|
|
28378
27975
|
on: "mention";
|
|
28379
27976
|
channels: string[];
|
|
@@ -28417,10 +28014,11 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28417
28014
|
enabled?: boolean | undefined;
|
|
28418
28015
|
}, unknown>>, z$2.ZodTransform<{
|
|
28419
28016
|
name?: string | undefined;
|
|
28420
|
-
eventType: "form.submitted" | "github" | "record.created" | "record.
|
|
28017
|
+
eventType: "form.submitted" | "github" | "record.created" | "record.updated" | "slack" | "webhook";
|
|
28421
28018
|
objectId?: string | undefined;
|
|
28422
28019
|
watchedFields?: string[] | undefined;
|
|
28423
28020
|
debounceMs?: number | undefined;
|
|
28021
|
+
reentry?: number | undefined;
|
|
28424
28022
|
filter?: {
|
|
28425
28023
|
combinator: "and" | "or";
|
|
28426
28024
|
rules: {
|
|
@@ -28433,104 +28031,39 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28433
28031
|
continuationKey?: string | null | undefined;
|
|
28434
28032
|
connectionId?: string | undefined;
|
|
28435
28033
|
match?: {
|
|
28436
|
-
family: "check";
|
|
28437
|
-
actions:
|
|
28438
|
-
repositories: string[];
|
|
28439
|
-
sender: GithubTriggerSender;
|
|
28440
|
-
conditions: ({
|
|
28441
|
-
field: "checkApp";
|
|
28442
|
-
value: string;
|
|
28443
|
-
} | {
|
|
28444
|
-
field: "checkName";
|
|
28445
|
-
value: string;
|
|
28446
|
-
} | {
|
|
28447
|
-
field: "conclusion";
|
|
28448
|
-
value: string;
|
|
28449
|
-
})[];
|
|
28450
|
-
} | {
|
|
28451
|
-
family: "comment";
|
|
28452
|
-
actions: ("created" | "deleted" | "edited")[];
|
|
28453
|
-
repositories: string[];
|
|
28454
|
-
sender: GithubTriggerSender;
|
|
28455
|
-
conditions: ({
|
|
28456
|
-
field: "text";
|
|
28457
|
-
operator: "contains" | "starts_with";
|
|
28458
|
-
value: string;
|
|
28459
|
-
} | {
|
|
28460
|
-
field: "issueAuthor";
|
|
28461
|
-
value: string;
|
|
28462
|
-
} | {
|
|
28463
|
-
field: "prAuthor";
|
|
28464
|
-
value: string;
|
|
28465
|
-
})[];
|
|
28466
|
-
} | {
|
|
28467
|
-
family: "discussion";
|
|
28468
|
-
actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
|
|
28469
|
-
repositories: string[];
|
|
28470
|
-
sender: GithubTriggerSender;
|
|
28471
|
-
conditions: ({
|
|
28472
|
-
field: "text";
|
|
28473
|
-
operator: "contains" | "starts_with";
|
|
28474
|
-
value: string;
|
|
28475
|
-
} | {
|
|
28476
|
-
field: "category";
|
|
28477
|
-
value: string;
|
|
28478
|
-
} | {
|
|
28479
|
-
field: "issueLabels";
|
|
28480
|
-
operator: "all" | "any";
|
|
28481
|
-
value: string[];
|
|
28482
|
-
})[];
|
|
28483
|
-
} | {
|
|
28484
|
-
family: "issue";
|
|
28485
|
-
actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
|
|
28034
|
+
family: "check";
|
|
28035
|
+
actions: "completed"[];
|
|
28486
28036
|
repositories: string[];
|
|
28487
28037
|
sender: GithubTriggerSender;
|
|
28488
28038
|
conditions: ({
|
|
28489
|
-
field: "
|
|
28490
|
-
operator: "contains" | "starts_with";
|
|
28491
|
-
value: string;
|
|
28492
|
-
} | {
|
|
28493
|
-
field: "issueType";
|
|
28039
|
+
field: "checkApp";
|
|
28494
28040
|
value: string;
|
|
28495
28041
|
} | {
|
|
28496
|
-
field: "
|
|
28042
|
+
field: "checkName";
|
|
28497
28043
|
value: string;
|
|
28498
28044
|
} | {
|
|
28499
|
-
field: "
|
|
28045
|
+
field: "conclusion";
|
|
28500
28046
|
value: string;
|
|
28501
|
-
} | {
|
|
28502
|
-
field: "assignees";
|
|
28503
|
-
operator: "all" | "any";
|
|
28504
|
-
value: string[];
|
|
28505
|
-
} | {
|
|
28506
|
-
field: "issueLabels";
|
|
28507
|
-
operator: "all" | "any";
|
|
28508
|
-
value: string[];
|
|
28509
28047
|
})[];
|
|
28510
28048
|
} | {
|
|
28511
|
-
family: "
|
|
28512
|
-
actions:
|
|
28049
|
+
family: "comment";
|
|
28050
|
+
actions: "created"[];
|
|
28513
28051
|
repositories: string[];
|
|
28514
28052
|
sender: GithubTriggerSender;
|
|
28515
28053
|
conditions: ({
|
|
28516
|
-
field: "
|
|
28054
|
+
field: "text";
|
|
28055
|
+
operator: "contains" | "starts_with";
|
|
28517
28056
|
value: string;
|
|
28518
28057
|
} | {
|
|
28519
|
-
field: "
|
|
28058
|
+
field: "issueAuthor";
|
|
28520
28059
|
value: string;
|
|
28521
28060
|
} | {
|
|
28522
|
-
field: "
|
|
28523
|
-
value: string
|
|
28524
|
-
} | {
|
|
28525
|
-
field: "to";
|
|
28526
|
-
value: string | null;
|
|
28527
|
-
} | {
|
|
28528
|
-
field: "itemType";
|
|
28529
|
-
value: "draft" | "issue" | "pull_request";
|
|
28061
|
+
field: "prAuthor";
|
|
28062
|
+
value: string;
|
|
28530
28063
|
})[];
|
|
28531
28064
|
} | {
|
|
28532
28065
|
family: "pull_request";
|
|
28533
|
-
actions: ("
|
|
28066
|
+
actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
|
|
28534
28067
|
repositories: string[];
|
|
28535
28068
|
sender: GithubTriggerSender;
|
|
28536
28069
|
conditions: ({
|
|
@@ -28542,6 +28075,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28542
28075
|
} | {
|
|
28543
28076
|
field: "headBranch";
|
|
28544
28077
|
value: string;
|
|
28078
|
+
} | {
|
|
28079
|
+
field: "label";
|
|
28080
|
+
value: string;
|
|
28545
28081
|
} | {
|
|
28546
28082
|
field: "prAuthor";
|
|
28547
28083
|
value: string;
|
|
@@ -28568,42 +28104,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28568
28104
|
field: "forced";
|
|
28569
28105
|
value: boolean;
|
|
28570
28106
|
})[];
|
|
28571
|
-
} | {
|
|
28572
|
-
family: "ref";
|
|
28573
|
-
actions: ("created" | "deleted")[];
|
|
28574
|
-
repositories: string[];
|
|
28575
|
-
sender: GithubTriggerSender;
|
|
28576
|
-
conditions: ({
|
|
28577
|
-
field: "branch";
|
|
28578
|
-
value: string;
|
|
28579
|
-
} | {
|
|
28580
|
-
field: "tag";
|
|
28581
|
-
value: string;
|
|
28582
|
-
} | {
|
|
28583
|
-
field: "refType";
|
|
28584
|
-
value: "branch" | "tag";
|
|
28585
|
-
})[];
|
|
28586
|
-
} | {
|
|
28587
|
-
family: "release";
|
|
28588
|
-
actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
|
|
28589
|
-
repositories: string[];
|
|
28590
|
-
sender: GithubTriggerSender;
|
|
28591
|
-
conditions: ({
|
|
28592
|
-
field: "tag";
|
|
28593
|
-
value: string;
|
|
28594
|
-
} | {
|
|
28595
|
-
field: "prerelease";
|
|
28596
|
-
value: boolean;
|
|
28597
|
-
})[];
|
|
28598
|
-
} | {
|
|
28599
|
-
family: "repository";
|
|
28600
|
-
actions: ("archived" | "created" | "forked" | "starred")[];
|
|
28601
|
-
repositories: string[];
|
|
28602
|
-
sender: GithubTriggerSender;
|
|
28603
|
-
conditions: never[];
|
|
28604
28107
|
} | {
|
|
28605
28108
|
family: "review";
|
|
28606
|
-
actions:
|
|
28109
|
+
actions: "submitted"[];
|
|
28607
28110
|
repositories: string[];
|
|
28608
28111
|
sender: GithubTriggerSender;
|
|
28609
28112
|
conditions: ({
|
|
@@ -28615,7 +28118,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28615
28118
|
})[];
|
|
28616
28119
|
} | {
|
|
28617
28120
|
family: "workflow";
|
|
28618
|
-
actions:
|
|
28121
|
+
actions: "completed"[];
|
|
28619
28122
|
repositories: string[];
|
|
28620
28123
|
sender: GithubTriggerSender;
|
|
28621
28124
|
conditions: ({
|
|
@@ -28645,13 +28148,6 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28645
28148
|
})[];
|
|
28646
28149
|
} & {
|
|
28647
28150
|
reactions?: never;
|
|
28648
|
-
}) | ({
|
|
28649
|
-
on: "member_joined";
|
|
28650
|
-
channels: string[];
|
|
28651
|
-
sender: SlackTriggerSender;
|
|
28652
|
-
conditions: never[];
|
|
28653
|
-
} & {
|
|
28654
|
-
reactions?: never;
|
|
28655
28151
|
}) | ({
|
|
28656
28152
|
on: "mention";
|
|
28657
28153
|
channels: string[];
|
|
@@ -28695,10 +28191,11 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28695
28191
|
enabled?: boolean | undefined;
|
|
28696
28192
|
}, {
|
|
28697
28193
|
name?: string | undefined;
|
|
28698
|
-
eventType: "form.submitted" | "github" | "record.created" | "record.
|
|
28194
|
+
eventType: "form.submitted" | "github" | "record.created" | "record.updated" | "slack" | "webhook";
|
|
28699
28195
|
objectId?: string | undefined;
|
|
28700
28196
|
watchedFields?: string[] | undefined;
|
|
28701
28197
|
debounceMs?: number | undefined;
|
|
28198
|
+
reentry?: number | undefined;
|
|
28702
28199
|
filter?: {
|
|
28703
28200
|
combinator: "and" | "or";
|
|
28704
28201
|
rules: {
|
|
@@ -28712,7 +28209,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28712
28209
|
connectionId?: string | undefined;
|
|
28713
28210
|
match?: {
|
|
28714
28211
|
family: "check";
|
|
28715
|
-
actions:
|
|
28212
|
+
actions: "completed"[];
|
|
28716
28213
|
repositories: string[];
|
|
28717
28214
|
sender: GithubTriggerSender;
|
|
28718
28215
|
conditions: ({
|
|
@@ -28727,7 +28224,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28727
28224
|
})[];
|
|
28728
28225
|
} | {
|
|
28729
28226
|
family: "comment";
|
|
28730
|
-
actions:
|
|
28227
|
+
actions: "created"[];
|
|
28731
28228
|
repositories: string[];
|
|
28732
28229
|
sender: GithubTriggerSender;
|
|
28733
28230
|
conditions: ({
|
|
@@ -28741,74 +28238,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28741
28238
|
field: "prAuthor";
|
|
28742
28239
|
value: string;
|
|
28743
28240
|
})[];
|
|
28744
|
-
} | {
|
|
28745
|
-
family: "discussion";
|
|
28746
|
-
actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
|
|
28747
|
-
repositories: string[];
|
|
28748
|
-
sender: GithubTriggerSender;
|
|
28749
|
-
conditions: ({
|
|
28750
|
-
field: "text";
|
|
28751
|
-
operator: "contains" | "starts_with";
|
|
28752
|
-
value: string;
|
|
28753
|
-
} | {
|
|
28754
|
-
field: "category";
|
|
28755
|
-
value: string;
|
|
28756
|
-
} | {
|
|
28757
|
-
field: "issueLabels";
|
|
28758
|
-
operator: "all" | "any";
|
|
28759
|
-
value: string[];
|
|
28760
|
-
})[];
|
|
28761
|
-
} | {
|
|
28762
|
-
family: "issue";
|
|
28763
|
-
actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
|
|
28764
|
-
repositories: string[];
|
|
28765
|
-
sender: GithubTriggerSender;
|
|
28766
|
-
conditions: ({
|
|
28767
|
-
field: "text";
|
|
28768
|
-
operator: "contains" | "starts_with";
|
|
28769
|
-
value: string;
|
|
28770
|
-
} | {
|
|
28771
|
-
field: "issueType";
|
|
28772
|
-
value: string;
|
|
28773
|
-
} | {
|
|
28774
|
-
field: "label";
|
|
28775
|
-
value: string;
|
|
28776
|
-
} | {
|
|
28777
|
-
field: "milestone";
|
|
28778
|
-
value: string;
|
|
28779
|
-
} | {
|
|
28780
|
-
field: "assignees";
|
|
28781
|
-
operator: "all" | "any";
|
|
28782
|
-
value: string[];
|
|
28783
|
-
} | {
|
|
28784
|
-
field: "issueLabels";
|
|
28785
|
-
operator: "all" | "any";
|
|
28786
|
-
value: string[];
|
|
28787
|
-
})[];
|
|
28788
|
-
} | {
|
|
28789
|
-
family: "project_item";
|
|
28790
|
-
actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
|
|
28791
|
-
repositories: string[];
|
|
28792
|
-
sender: GithubTriggerSender;
|
|
28793
|
-
conditions: ({
|
|
28794
|
-
field: "project";
|
|
28795
|
-
value: string;
|
|
28796
|
-
} | {
|
|
28797
|
-
field: "projectField";
|
|
28798
|
-
value: string;
|
|
28799
|
-
} | {
|
|
28800
|
-
field: "from";
|
|
28801
|
-
value: string | null;
|
|
28802
|
-
} | {
|
|
28803
|
-
field: "to";
|
|
28804
|
-
value: string | null;
|
|
28805
|
-
} | {
|
|
28806
|
-
field: "itemType";
|
|
28807
|
-
value: "draft" | "issue" | "pull_request";
|
|
28808
|
-
})[];
|
|
28809
28241
|
} | {
|
|
28810
28242
|
family: "pull_request";
|
|
28811
|
-
actions: ("
|
|
28243
|
+
actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
|
|
28812
28244
|
repositories: string[];
|
|
28813
28245
|
sender: GithubTriggerSender;
|
|
28814
28246
|
conditions: ({
|
|
@@ -28820,6 +28252,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28820
28252
|
} | {
|
|
28821
28253
|
field: "headBranch";
|
|
28822
28254
|
value: string;
|
|
28255
|
+
} | {
|
|
28256
|
+
field: "label";
|
|
28257
|
+
value: string;
|
|
28823
28258
|
} | {
|
|
28824
28259
|
field: "prAuthor";
|
|
28825
28260
|
value: string;
|
|
@@ -28846,42 +28281,9 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28846
28281
|
field: "forced";
|
|
28847
28282
|
value: boolean;
|
|
28848
28283
|
})[];
|
|
28849
|
-
} | {
|
|
28850
|
-
family: "ref";
|
|
28851
|
-
actions: ("created" | "deleted")[];
|
|
28852
|
-
repositories: string[];
|
|
28853
|
-
sender: GithubTriggerSender;
|
|
28854
|
-
conditions: ({
|
|
28855
|
-
field: "branch";
|
|
28856
|
-
value: string;
|
|
28857
|
-
} | {
|
|
28858
|
-
field: "tag";
|
|
28859
|
-
value: string;
|
|
28860
|
-
} | {
|
|
28861
|
-
field: "refType";
|
|
28862
|
-
value: "branch" | "tag";
|
|
28863
|
-
})[];
|
|
28864
|
-
} | {
|
|
28865
|
-
family: "release";
|
|
28866
|
-
actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
|
|
28867
|
-
repositories: string[];
|
|
28868
|
-
sender: GithubTriggerSender;
|
|
28869
|
-
conditions: ({
|
|
28870
|
-
field: "tag";
|
|
28871
|
-
value: string;
|
|
28872
|
-
} | {
|
|
28873
|
-
field: "prerelease";
|
|
28874
|
-
value: boolean;
|
|
28875
|
-
})[];
|
|
28876
|
-
} | {
|
|
28877
|
-
family: "repository";
|
|
28878
|
-
actions: ("archived" | "created" | "forked" | "starred")[];
|
|
28879
|
-
repositories: string[];
|
|
28880
|
-
sender: GithubTriggerSender;
|
|
28881
|
-
conditions: never[];
|
|
28882
28284
|
} | {
|
|
28883
28285
|
family: "review";
|
|
28884
|
-
actions:
|
|
28286
|
+
actions: "submitted"[];
|
|
28885
28287
|
repositories: string[];
|
|
28886
28288
|
sender: GithubTriggerSender;
|
|
28887
28289
|
conditions: ({
|
|
@@ -28893,7 +28295,7 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28893
28295
|
})[];
|
|
28894
28296
|
} | {
|
|
28895
28297
|
family: "workflow";
|
|
28896
|
-
actions:
|
|
28298
|
+
actions: "completed"[];
|
|
28897
28299
|
repositories: string[];
|
|
28898
28300
|
sender: GithubTriggerSender;
|
|
28899
28301
|
conditions: ({
|
|
@@ -28923,13 +28325,6 @@ export declare const agentTriggerSchema: z$2.ZodPipe<z$2.ZodType<{
|
|
|
28923
28325
|
})[];
|
|
28924
28326
|
} & {
|
|
28925
28327
|
reactions?: never;
|
|
28926
|
-
}) | ({
|
|
28927
|
-
on: "member_joined";
|
|
28928
|
-
channels: string[];
|
|
28929
|
-
sender: SlackTriggerSender;
|
|
28930
|
-
conditions: never[];
|
|
28931
|
-
} & {
|
|
28932
|
-
reactions?: never;
|
|
28933
28328
|
}) | ({
|
|
28934
28329
|
on: "mention";
|
|
28935
28330
|
channels: string[];
|
|
@@ -28978,7 +28373,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
28978
28373
|
"form.submitted": "form.submitted";
|
|
28979
28374
|
github: "github";
|
|
28980
28375
|
"record.created": "record.created";
|
|
28981
|
-
"record.deleted": "record.deleted";
|
|
28982
28376
|
"record.updated": "record.updated";
|
|
28983
28377
|
slack: "slack";
|
|
28984
28378
|
webhook: "webhook";
|
|
@@ -28986,6 +28380,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
28986
28380
|
objectId: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodGUID>>;
|
|
28987
28381
|
watchedFields: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>>;
|
|
28988
28382
|
debounceMs: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodNumber>>;
|
|
28383
|
+
reentry: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodNumber>>;
|
|
28989
28384
|
filter: z$2.ZodOptional<z$2.ZodOptional<z$2.ZodObject<{
|
|
28990
28385
|
combinator: z$2.ZodDefault<z$2.ZodEnum<{
|
|
28991
28386
|
and: "and";
|
|
@@ -29004,14 +28399,8 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29004
28399
|
family: z$2.ZodEnum<{
|
|
29005
28400
|
check: "check";
|
|
29006
28401
|
comment: "comment";
|
|
29007
|
-
discussion: "discussion";
|
|
29008
|
-
issue: "issue";
|
|
29009
|
-
project_item: "project_item";
|
|
29010
28402
|
pull_request: "pull_request";
|
|
29011
28403
|
push: "push";
|
|
29012
|
-
ref: "ref";
|
|
29013
|
-
release: "release";
|
|
29014
|
-
repository: "repository";
|
|
29015
28404
|
review: "review";
|
|
29016
28405
|
workflow: "workflow";
|
|
29017
28406
|
}>;
|
|
@@ -29041,19 +28430,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29041
28430
|
any: "any";
|
|
29042
28431
|
}>>;
|
|
29043
28432
|
value: z$2.ZodArray<z$2.ZodString>;
|
|
29044
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29045
|
-
field: z$2.ZodLiteral<"assignees">;
|
|
29046
|
-
operator: z$2.ZodDefault<z$2.ZodEnum<{
|
|
29047
|
-
all: "all";
|
|
29048
|
-
any: "any";
|
|
29049
|
-
}>>;
|
|
29050
|
-
value: z$2.ZodArray<z$2.ZodString>;
|
|
29051
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29052
|
-
field: z$2.ZodLiteral<"milestone">;
|
|
29053
|
-
value: z$2.ZodString;
|
|
29054
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29055
|
-
field: z$2.ZodLiteral<"issueType">;
|
|
29056
|
-
value: z$2.ZodString;
|
|
29057
28433
|
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29058
28434
|
field: z$2.ZodLiteral<"baseBranch">;
|
|
29059
28435
|
value: z$2.ZodString;
|
|
@@ -29100,44 +28476,10 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29100
28476
|
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29101
28477
|
field: z$2.ZodLiteral<"originEvent">;
|
|
29102
28478
|
value: z$2.ZodString;
|
|
29103
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29104
|
-
field: z$2.ZodLiteral<"project">;
|
|
29105
|
-
value: z$2.ZodString;
|
|
29106
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29107
|
-
field: z$2.ZodLiteral<"projectField">;
|
|
29108
|
-
value: z$2.ZodString;
|
|
29109
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29110
|
-
field: z$2.ZodLiteral<"from">;
|
|
29111
|
-
value: z$2.ZodNullable<z$2.ZodString>;
|
|
29112
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29113
|
-
field: z$2.ZodLiteral<"to">;
|
|
29114
|
-
value: z$2.ZodNullable<z$2.ZodString>;
|
|
29115
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29116
|
-
field: z$2.ZodLiteral<"itemType">;
|
|
29117
|
-
value: z$2.ZodEnum<{
|
|
29118
|
-
draft: "draft";
|
|
29119
|
-
issue: "issue";
|
|
29120
|
-
pull_request: "pull_request";
|
|
29121
|
-
}>;
|
|
29122
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29123
|
-
field: z$2.ZodLiteral<"prerelease">;
|
|
29124
|
-
value: z$2.ZodBoolean;
|
|
29125
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29126
|
-
field: z$2.ZodLiteral<"tag">;
|
|
29127
|
-
value: z$2.ZodString;
|
|
29128
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29129
|
-
field: z$2.ZodLiteral<"refType">;
|
|
29130
|
-
value: z$2.ZodEnum<{
|
|
29131
|
-
branch: "branch";
|
|
29132
|
-
tag: "tag";
|
|
29133
|
-
}>;
|
|
29134
|
-
}, z$2.core.$strict>, z$2.ZodObject<{
|
|
29135
|
-
field: z$2.ZodLiteral<"category">;
|
|
29136
|
-
value: z$2.ZodString;
|
|
29137
28479
|
}, z$2.core.$strict>], "field">>>;
|
|
29138
28480
|
}, z$2.core.$strict>, z$2.ZodTransform<{
|
|
29139
28481
|
family: "check";
|
|
29140
|
-
actions:
|
|
28482
|
+
actions: "completed"[];
|
|
29141
28483
|
repositories: string[];
|
|
29142
28484
|
sender: GithubTriggerSender;
|
|
29143
28485
|
conditions: ({
|
|
@@ -29152,7 +28494,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29152
28494
|
})[];
|
|
29153
28495
|
} | {
|
|
29154
28496
|
family: "comment";
|
|
29155
|
-
actions:
|
|
28497
|
+
actions: "created"[];
|
|
29156
28498
|
repositories: string[];
|
|
29157
28499
|
sender: GithubTriggerSender;
|
|
29158
28500
|
conditions: ({
|
|
@@ -29166,74 +28508,9 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29166
28508
|
field: "prAuthor";
|
|
29167
28509
|
value: string;
|
|
29168
28510
|
})[];
|
|
29169
|
-
} | {
|
|
29170
|
-
family: "discussion";
|
|
29171
|
-
actions: ("answered" | "closed" | "commented" | "created" | "labeled")[];
|
|
29172
|
-
repositories: string[];
|
|
29173
|
-
sender: GithubTriggerSender;
|
|
29174
|
-
conditions: ({
|
|
29175
|
-
field: "text";
|
|
29176
|
-
operator: "contains" | "starts_with";
|
|
29177
|
-
value: string;
|
|
29178
|
-
} | {
|
|
29179
|
-
field: "category";
|
|
29180
|
-
value: string;
|
|
29181
|
-
} | {
|
|
29182
|
-
field: "issueLabels";
|
|
29183
|
-
operator: "all" | "any";
|
|
29184
|
-
value: string[];
|
|
29185
|
-
})[];
|
|
29186
|
-
} | {
|
|
29187
|
-
family: "issue";
|
|
29188
|
-
actions: ("assigned" | "closed" | "demilestoned" | "edited" | "labeled" | "milestoned" | "opened" | "pinned" | "reopened" | "transferred" | "unassigned" | "unlabeled")[];
|
|
29189
|
-
repositories: string[];
|
|
29190
|
-
sender: GithubTriggerSender;
|
|
29191
|
-
conditions: ({
|
|
29192
|
-
field: "text";
|
|
29193
|
-
operator: "contains" | "starts_with";
|
|
29194
|
-
value: string;
|
|
29195
|
-
} | {
|
|
29196
|
-
field: "issueType";
|
|
29197
|
-
value: string;
|
|
29198
|
-
} | {
|
|
29199
|
-
field: "label";
|
|
29200
|
-
value: string;
|
|
29201
|
-
} | {
|
|
29202
|
-
field: "milestone";
|
|
29203
|
-
value: string;
|
|
29204
|
-
} | {
|
|
29205
|
-
field: "assignees";
|
|
29206
|
-
operator: "all" | "any";
|
|
29207
|
-
value: string[];
|
|
29208
|
-
} | {
|
|
29209
|
-
field: "issueLabels";
|
|
29210
|
-
operator: "all" | "any";
|
|
29211
|
-
value: string[];
|
|
29212
|
-
})[];
|
|
29213
|
-
} | {
|
|
29214
|
-
family: "project_item";
|
|
29215
|
-
actions: ("archived" | "created" | "deleted" | "edited" | "restored")[];
|
|
29216
|
-
repositories: string[];
|
|
29217
|
-
sender: GithubTriggerSender;
|
|
29218
|
-
conditions: ({
|
|
29219
|
-
field: "project";
|
|
29220
|
-
value: string;
|
|
29221
|
-
} | {
|
|
29222
|
-
field: "projectField";
|
|
29223
|
-
value: string;
|
|
29224
|
-
} | {
|
|
29225
|
-
field: "from";
|
|
29226
|
-
value: string | null;
|
|
29227
|
-
} | {
|
|
29228
|
-
field: "to";
|
|
29229
|
-
value: string | null;
|
|
29230
|
-
} | {
|
|
29231
|
-
field: "itemType";
|
|
29232
|
-
value: "draft" | "issue" | "pull_request";
|
|
29233
|
-
})[];
|
|
29234
28511
|
} | {
|
|
29235
28512
|
family: "pull_request";
|
|
29236
|
-
actions: ("
|
|
28513
|
+
actions: ("closed" | "labeled" | "merged" | "opened" | "ready_for_review" | "synchronize")[];
|
|
29237
28514
|
repositories: string[];
|
|
29238
28515
|
sender: GithubTriggerSender;
|
|
29239
28516
|
conditions: ({
|
|
@@ -29245,6 +28522,9 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29245
28522
|
} | {
|
|
29246
28523
|
field: "headBranch";
|
|
29247
28524
|
value: string;
|
|
28525
|
+
} | {
|
|
28526
|
+
field: "label";
|
|
28527
|
+
value: string;
|
|
29248
28528
|
} | {
|
|
29249
28529
|
field: "prAuthor";
|
|
29250
28530
|
value: string;
|
|
@@ -29271,42 +28551,9 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29271
28551
|
field: "forced";
|
|
29272
28552
|
value: boolean;
|
|
29273
28553
|
})[];
|
|
29274
|
-
} | {
|
|
29275
|
-
family: "ref";
|
|
29276
|
-
actions: ("created" | "deleted")[];
|
|
29277
|
-
repositories: string[];
|
|
29278
|
-
sender: GithubTriggerSender;
|
|
29279
|
-
conditions: ({
|
|
29280
|
-
field: "branch";
|
|
29281
|
-
value: string;
|
|
29282
|
-
} | {
|
|
29283
|
-
field: "tag";
|
|
29284
|
-
value: string;
|
|
29285
|
-
} | {
|
|
29286
|
-
field: "refType";
|
|
29287
|
-
value: "branch" | "tag";
|
|
29288
|
-
})[];
|
|
29289
|
-
} | {
|
|
29290
|
-
family: "release";
|
|
29291
|
-
actions: ("created" | "deleted" | "edited" | "prereleased" | "published")[];
|
|
29292
|
-
repositories: string[];
|
|
29293
|
-
sender: GithubTriggerSender;
|
|
29294
|
-
conditions: ({
|
|
29295
|
-
field: "tag";
|
|
29296
|
-
value: string;
|
|
29297
|
-
} | {
|
|
29298
|
-
field: "prerelease";
|
|
29299
|
-
value: boolean;
|
|
29300
|
-
})[];
|
|
29301
|
-
} | {
|
|
29302
|
-
family: "repository";
|
|
29303
|
-
actions: ("archived" | "created" | "forked" | "starred")[];
|
|
29304
|
-
repositories: string[];
|
|
29305
|
-
sender: GithubTriggerSender;
|
|
29306
|
-
conditions: never[];
|
|
29307
28554
|
} | {
|
|
29308
28555
|
family: "review";
|
|
29309
|
-
actions:
|
|
28556
|
+
actions: "submitted"[];
|
|
29310
28557
|
repositories: string[];
|
|
29311
28558
|
sender: GithubTriggerSender;
|
|
29312
28559
|
conditions: ({
|
|
@@ -29318,7 +28565,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29318
28565
|
})[];
|
|
29319
28566
|
} | {
|
|
29320
28567
|
family: "workflow";
|
|
29321
|
-
actions:
|
|
28568
|
+
actions: "completed"[];
|
|
29322
28569
|
repositories: string[];
|
|
29323
28570
|
sender: GithubTriggerSender;
|
|
29324
28571
|
conditions: ({
|
|
@@ -29335,7 +28582,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29335
28582
|
value: string;
|
|
29336
28583
|
})[];
|
|
29337
28584
|
}, {
|
|
29338
|
-
family: "check" | "comment" | "
|
|
28585
|
+
family: "check" | "comment" | "pull_request" | "push" | "review" | "workflow";
|
|
29339
28586
|
actions: string[];
|
|
29340
28587
|
repositories: string[];
|
|
29341
28588
|
sender: "any" | "human" | "me" | {
|
|
@@ -29351,9 +28598,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29351
28598
|
} | {
|
|
29352
28599
|
field: "branch";
|
|
29353
28600
|
value: string;
|
|
29354
|
-
} | {
|
|
29355
|
-
field: "category";
|
|
29356
|
-
value: string;
|
|
29357
28601
|
} | {
|
|
29358
28602
|
field: "changedPaths";
|
|
29359
28603
|
value: string;
|
|
@@ -29372,30 +28616,15 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29372
28616
|
} | {
|
|
29373
28617
|
field: "issueAuthor";
|
|
29374
28618
|
value: string;
|
|
29375
|
-
} | {
|
|
29376
|
-
field: "issueType";
|
|
29377
|
-
value: string;
|
|
29378
28619
|
} | {
|
|
29379
28620
|
field: "label";
|
|
29380
28621
|
value: string;
|
|
29381
|
-
} | {
|
|
29382
|
-
field: "milestone";
|
|
29383
|
-
value: string;
|
|
29384
28622
|
} | {
|
|
29385
28623
|
field: "originEvent";
|
|
29386
28624
|
value: string;
|
|
29387
28625
|
} | {
|
|
29388
28626
|
field: "prAuthor";
|
|
29389
28627
|
value: string;
|
|
29390
|
-
} | {
|
|
29391
|
-
field: "project";
|
|
29392
|
-
value: string;
|
|
29393
|
-
} | {
|
|
29394
|
-
field: "projectField";
|
|
29395
|
-
value: string;
|
|
29396
|
-
} | {
|
|
29397
|
-
field: "tag";
|
|
29398
|
-
value: string;
|
|
29399
28628
|
} | {
|
|
29400
28629
|
field: "workflowName";
|
|
29401
28630
|
value: string;
|
|
@@ -29405,13 +28634,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29405
28634
|
} | {
|
|
29406
28635
|
field: "forced";
|
|
29407
28636
|
value: boolean;
|
|
29408
|
-
} | {
|
|
29409
|
-
field: "prerelease";
|
|
29410
|
-
value: boolean;
|
|
29411
|
-
} | {
|
|
29412
|
-
field: "assignees";
|
|
29413
|
-
operator: "all" | "any";
|
|
29414
|
-
value: string[];
|
|
29415
28637
|
} | {
|
|
29416
28638
|
field: "issueLabels";
|
|
29417
28639
|
operator: "all" | "any";
|
|
@@ -29419,23 +28641,10 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29419
28641
|
} | {
|
|
29420
28642
|
field: "reviewState";
|
|
29421
28643
|
value: "approved" | "changes_requested" | "commented";
|
|
29422
|
-
} | {
|
|
29423
|
-
field: "from";
|
|
29424
|
-
value: string | null;
|
|
29425
|
-
} | {
|
|
29426
|
-
field: "to";
|
|
29427
|
-
value: string | null;
|
|
29428
|
-
} | {
|
|
29429
|
-
field: "itemType";
|
|
29430
|
-
value: "draft" | "issue" | "pull_request";
|
|
29431
|
-
} | {
|
|
29432
|
-
field: "refType";
|
|
29433
|
-
value: "branch" | "tag";
|
|
29434
28644
|
})[];
|
|
29435
28645
|
}>>, z$2.ZodPipe<z$2.ZodObject<{
|
|
29436
28646
|
on: z$2.ZodEnum<{
|
|
29437
28647
|
dm: "dm";
|
|
29438
|
-
member_joined: "member_joined";
|
|
29439
28648
|
mention: "mention";
|
|
29440
28649
|
message: "message";
|
|
29441
28650
|
reaction: "reaction";
|
|
@@ -29483,13 +28692,6 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29483
28692
|
})[];
|
|
29484
28693
|
} & {
|
|
29485
28694
|
reactions?: never;
|
|
29486
|
-
}) | ({
|
|
29487
|
-
on: "member_joined";
|
|
29488
|
-
channels: string[];
|
|
29489
|
-
sender: SlackTriggerSender;
|
|
29490
|
-
conditions: never[];
|
|
29491
|
-
} & {
|
|
29492
|
-
reactions?: never;
|
|
29493
28695
|
}) | ({
|
|
29494
28696
|
on: "mention";
|
|
29495
28697
|
channels: string[];
|
|
@@ -29529,7 +28731,7 @@ export declare const agentTriggerPatchSchema: z$2.ZodObject<{
|
|
|
29529
28731
|
} & {
|
|
29530
28732
|
reactions?: string[];
|
|
29531
28733
|
}), {
|
|
29532
|
-
on: "dm" | "
|
|
28734
|
+
on: "dm" | "mention" | "message" | "reaction";
|
|
29533
28735
|
channels: string[];
|
|
29534
28736
|
reactions?: string[] | undefined;
|
|
29535
28737
|
sender: "any" | "human" | "me" | {
|