callman-mcp 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +2 -2
- package/dist/client/api.d.ts +1 -0
- package/dist/client/api.d.ts.map +1 -1
- package/dist/client/api.js +2 -0
- package/dist/client/api.js.map +1 -1
- package/dist/domain/diagram/build.d.ts +112 -63
- package/dist/domain/diagram/build.d.ts.map +1 -1
- package/dist/domain/diagram/build.js +49 -165
- package/dist/domain/diagram/build.js.map +1 -1
- package/dist/domain/diagram/layout.d.ts +3 -4
- package/dist/domain/diagram/layout.d.ts.map +1 -1
- package/dist/domain/diagram/layout.js +12 -45
- package/dist/domain/diagram/layout.js.map +1 -1
- package/dist/domain/diagram/patch.d.ts +298 -80
- package/dist/domain/diagram/patch.d.ts.map +1 -1
- package/dist/domain/diagram/patch.js +60 -273
- package/dist/domain/diagram/patch.js.map +1 -1
- package/dist/domain/diagram/style.d.ts +4 -12
- package/dist/domain/diagram/style.d.ts.map +1 -1
- package/dist/domain/diagram/style.js +8 -84
- package/dist/domain/diagram/style.js.map +1 -1
- package/dist/domain/diagram/summarize.d.ts +25 -24
- package/dist/domain/diagram/summarize.d.ts.map +1 -1
- package/dist/domain/diagram/summarize.js +20 -35
- package/dist/domain/diagram/summarize.js.map +1 -1
- package/dist/domain/requestIntegrations.d.ts +20 -20
- package/dist/domain/requestShape.d.ts +32 -32
- package/dist/resources/docs/diagramSchema.d.ts +1 -1
- package/dist/resources/docs/diagramSchema.d.ts.map +1 -1
- package/dist/resources/docs/diagramSchema.js +55 -10
- package/dist/resources/docs/diagramSchema.js.map +1 -1
- package/dist/resources/generated/aiPacks.d.ts +1 -1
- package/dist/resources/generated/aiPacks.js +2 -2
- package/dist/tools/diagrams.d.ts.map +1 -1
- package/dist/tools/diagrams.js +244 -42
- package/dist/tools/diagrams.js.map +1 -1
- package/dist-cjs/client/api.js +2 -0
- package/dist-cjs/domain/diagram/build.js +53 -169
- package/dist-cjs/domain/diagram/layout.js +11 -44
- package/dist-cjs/domain/diagram/patch.js +57 -270
- package/dist-cjs/domain/diagram/style.js +11 -88
- package/dist-cjs/domain/diagram/summarize.js +22 -35
- package/dist-cjs/resources/docs/diagramSchema.js +55 -10
- package/dist-cjs/resources/generated/aiPacks.js +2 -2
- package/dist-cjs/tools/diagrams.js +240 -38
- package/package.json +2 -2
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { type DiagramDocument } from "callman-core";
|
|
2
2
|
import type { Diagram } from "../../client/types.js";
|
|
3
3
|
export declare const diagramListView: (diagram: Diagram) => {
|
|
4
|
+
updatedAt: string | null;
|
|
5
|
+
revision?: number | undefined;
|
|
6
|
+
source?: {
|
|
7
|
+
format: import("callman-core").DiagramSourceFormat;
|
|
8
|
+
diagramType: string;
|
|
9
|
+
valid: boolean;
|
|
10
|
+
} | undefined;
|
|
4
11
|
id: string;
|
|
5
12
|
name: string;
|
|
6
13
|
canEdit: boolean;
|
|
@@ -9,31 +16,25 @@ export declare const diagramListView: (diagram: Diagram) => {
|
|
|
9
16
|
editorCount: number;
|
|
10
17
|
nodeCount: number | null;
|
|
11
18
|
edgeCount: number | null;
|
|
12
|
-
updatedAt: string | null;
|
|
13
19
|
};
|
|
14
|
-
export declare const diagramGraphView: (doc: DiagramDocument) =>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
source: string | null;
|
|
33
|
-
target: string | null;
|
|
34
|
-
label: string | null;
|
|
35
|
-
semantic: import("callman-core").EdgeSemantic;
|
|
36
|
-
}[];
|
|
20
|
+
export declare const diagramGraphView: (doc: DiagramDocument) => import("callman-core").DiagramGraphView;
|
|
21
|
+
export declare const diagramMermaidView: (doc: DiagramDocument) => {
|
|
22
|
+
format: "mermaid";
|
|
23
|
+
text: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const diagramSourceView: (doc: DiagramDocument) => {
|
|
26
|
+
format: import("callman-core").DiagramSourceFormat;
|
|
27
|
+
diagramType: string;
|
|
28
|
+
valid: boolean;
|
|
29
|
+
text: string;
|
|
30
|
+
stored: true;
|
|
31
|
+
} | {
|
|
32
|
+
diagramType: string;
|
|
33
|
+
valid: boolean;
|
|
34
|
+
stored: false;
|
|
35
|
+
note: string;
|
|
36
|
+
format: "mermaid";
|
|
37
|
+
text: string;
|
|
37
38
|
};
|
|
38
39
|
export declare const diagramFullView: (doc: DiagramDocument) => {
|
|
39
40
|
document: DiagramDocument;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summarize.d.ts","sourceRoot":"","sources":["../../../src/domain/diagram/summarize.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"summarize.d.ts","sourceRoot":"","sources":["../../../src/domain/diagram/summarize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqF,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEvI,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQrD,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO;;;;;;;;;;;;;;;;CAgB/C,CAAC;AAKF,eAAO,MAAM,gBAAgB,GAAI,KAAK,eAAe,4CAA8B,CAAC;AAIpF,eAAO,MAAM,kBAAkB,GAAI,KAAK,eAAe;;;CAA+D,CAAC;AAIvH,eAAO,MAAM,iBAAiB,GAAI,KAAK,eAAe;;;;;;;;;;;;;CAGiI,CAAC;AAExL,eAAO,MAAM,eAAe,GAAI,KAAK,eAAe;;;;;;;;;;CASnD,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { diagramGraphView as diagramGraphViewCore, exportMermaid, safeParseDiagramDocument } from "callman-core";
|
|
2
2
|
import { byteLength, LIMITS } from "../../lib/truncate.js";
|
|
3
|
-
import { fromTokenRef, styleView } from "./style.js";
|
|
4
3
|
// Compact views of a stored diagram: the list row, the graph (what is
|
|
5
|
-
// connected to what, with the edge meaning read back from its style)
|
|
4
|
+
// connected to what, with the edge meaning read back from its style), the
|
|
5
|
+
// Mermaid rendering, the Mermaid source a source-backed diagram keeps, and
|
|
6
6
|
// the full document behind a size gate.
|
|
7
7
|
export const diagramListView = (diagram) => {
|
|
8
8
|
const parsed = safeParseDiagramDocument(diagram.document);
|
|
9
|
+
const doc = parsed.ok ? parsed.document : null;
|
|
9
10
|
return {
|
|
10
11
|
id: diagram.id,
|
|
11
12
|
name: diagram.name,
|
|
@@ -13,41 +14,25 @@ export const diagramListView = (diagram) => {
|
|
|
13
14
|
owner: diagram.owner?.email ?? diagram.owner?.displayName ?? null,
|
|
14
15
|
sharedWorkspaceIds: diagram.sharedWorkspaceIds ?? [],
|
|
15
16
|
editorCount: (diagram.editorIds ?? []).length,
|
|
16
|
-
nodeCount:
|
|
17
|
-
edgeCount:
|
|
17
|
+
nodeCount: doc ? doc.nodes.length : null,
|
|
18
|
+
edgeCount: doc ? doc.edges.length : null,
|
|
19
|
+
...(doc?.source ? { source: { format: doc.source.format, diagramType: doc.source.diagramType, valid: doc.source.valid !== false } } : {}),
|
|
20
|
+
...(typeof doc?.meta.revision === "number" ? { revision: doc.meta.revision } : {}),
|
|
18
21
|
updatedAt: diagram.updatedAt ?? null,
|
|
19
22
|
};
|
|
20
23
|
};
|
|
21
|
-
// Style and
|
|
22
|
-
// model can read a node's look and send a patch without
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
...(node.rotation ? { rotation: node.rotation } : {}),
|
|
34
|
-
...(node.locked ? { locked: true } : {}),
|
|
35
|
-
...(node.hidden ? { hidden: true } : {}),
|
|
36
|
-
};
|
|
37
|
-
}),
|
|
38
|
-
edges: doc.edges.map((edge) => {
|
|
39
|
-
const color = fromTokenRef(edge.style?.stroke);
|
|
40
|
-
return {
|
|
41
|
-
id: edge.id,
|
|
42
|
-
source: edge.source ?? null,
|
|
43
|
-
target: edge.target ?? null,
|
|
44
|
-
label: edge.label ?? null,
|
|
45
|
-
semantic: semanticFromStyle(edge.style),
|
|
46
|
-
...(color ? { color } : {}),
|
|
47
|
-
...(edge.markerStart ? { markerStart: edge.markerStart } : {}),
|
|
48
|
-
};
|
|
49
|
-
}),
|
|
50
|
-
});
|
|
24
|
+
// Style, flags, sides and routing come back in the same compact shape the
|
|
25
|
+
// tools accept, so a model can read a node's look and send a patch without
|
|
26
|
+
// the full document. The view itself is core's (shared with the AI prompt).
|
|
27
|
+
export const diagramGraphView = (doc) => diagramGraphViewCore(doc);
|
|
28
|
+
// Mermaid flowchart text rendered from the model (presentation is not part
|
|
29
|
+
// of it — Mermaid lays out by itself).
|
|
30
|
+
export const diagramMermaidView = (doc) => ({ format: "mermaid", text: exportMermaid(doc) });
|
|
31
|
+
// The Mermaid source a source-backed diagram keeps (structure truth), or the
|
|
32
|
+
// rendering when the diagram has none.
|
|
33
|
+
export const diagramSourceView = (doc) => doc.source
|
|
34
|
+
? { format: doc.source.format, diagramType: doc.source.diagramType, valid: doc.source.valid !== false, text: doc.source.text, stored: true }
|
|
35
|
+
: { ...diagramMermaidView(doc), diagramType: "flowchart", valid: true, stored: false, note: "This diagram keeps no Mermaid source; the text is rendered from its model." };
|
|
51
36
|
export const diagramFullView = (doc) => {
|
|
52
37
|
const size = byteLength(doc);
|
|
53
38
|
if (size <= LIMITS.DIAGRAM_FULL)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summarize.js","sourceRoot":"","sources":["../../../src/domain/diagram/summarize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"summarize.js","sourceR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AAM,eAAe,GAAG,CAAC,GAAoB,EAAE,EAAE;IACtD,MAAM,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;IAC7B,IAAI,IAAI,IAAI,MAAM,CAAC,YAAY;QAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,KAAc,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAClG,OAAO;QACL,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,IAAa;QACxB,KAAK,EAAE,IAAI;QACX,IAAI,EAAE,mBAAmB,IAAI,iBAAiB,MAAM,CAAC,YAAY,iDAAiD;KACnH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -115,7 +115,7 @@ declare const kafkaSchema: z.ZodObject<{
|
|
|
115
115
|
enabled?: boolean | undefined;
|
|
116
116
|
}[] | undefined;
|
|
117
117
|
enabled?: boolean | undefined;
|
|
118
|
-
valueFormat?: "
|
|
118
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
119
119
|
continueOnFailure?: boolean | undefined;
|
|
120
120
|
}, {
|
|
121
121
|
value: string;
|
|
@@ -129,7 +129,7 @@ declare const kafkaSchema: z.ZodObject<{
|
|
|
129
129
|
enabled?: boolean | undefined;
|
|
130
130
|
}[] | undefined;
|
|
131
131
|
enabled?: boolean | undefined;
|
|
132
|
-
valueFormat?: "
|
|
132
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
133
133
|
continueOnFailure?: boolean | undefined;
|
|
134
134
|
}>>>;
|
|
135
135
|
postPublish: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -168,7 +168,7 @@ declare const kafkaSchema: z.ZodObject<{
|
|
|
168
168
|
enabled?: boolean | undefined;
|
|
169
169
|
}[] | undefined;
|
|
170
170
|
enabled?: boolean | undefined;
|
|
171
|
-
valueFormat?: "
|
|
171
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
172
172
|
continueOnFailure?: boolean | undefined;
|
|
173
173
|
}, {
|
|
174
174
|
value: string;
|
|
@@ -182,7 +182,7 @@ declare const kafkaSchema: z.ZodObject<{
|
|
|
182
182
|
enabled?: boolean | undefined;
|
|
183
183
|
}[] | undefined;
|
|
184
184
|
enabled?: boolean | undefined;
|
|
185
|
-
valueFormat?: "
|
|
185
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
186
186
|
continueOnFailure?: boolean | undefined;
|
|
187
187
|
}>>>;
|
|
188
188
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -212,7 +212,7 @@ declare const kafkaSchema: z.ZodObject<{
|
|
|
212
212
|
enabled?: boolean | undefined;
|
|
213
213
|
}[] | undefined;
|
|
214
214
|
enabled?: boolean | undefined;
|
|
215
|
-
valueFormat?: "
|
|
215
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
216
216
|
continueOnFailure?: boolean | undefined;
|
|
217
217
|
} | null | undefined;
|
|
218
218
|
postPublish?: {
|
|
@@ -227,7 +227,7 @@ declare const kafkaSchema: z.ZodObject<{
|
|
|
227
227
|
enabled?: boolean | undefined;
|
|
228
228
|
}[] | undefined;
|
|
229
229
|
enabled?: boolean | undefined;
|
|
230
|
-
valueFormat?: "
|
|
230
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
231
231
|
continueOnFailure?: boolean | undefined;
|
|
232
232
|
} | null | undefined;
|
|
233
233
|
}, {
|
|
@@ -257,7 +257,7 @@ declare const kafkaSchema: z.ZodObject<{
|
|
|
257
257
|
enabled?: boolean | undefined;
|
|
258
258
|
}[] | undefined;
|
|
259
259
|
enabled?: boolean | undefined;
|
|
260
|
-
valueFormat?: "
|
|
260
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
261
261
|
continueOnFailure?: boolean | undefined;
|
|
262
262
|
} | null | undefined;
|
|
263
263
|
postPublish?: {
|
|
@@ -272,7 +272,7 @@ declare const kafkaSchema: z.ZodObject<{
|
|
|
272
272
|
enabled?: boolean | undefined;
|
|
273
273
|
}[] | undefined;
|
|
274
274
|
enabled?: boolean | undefined;
|
|
275
|
-
valueFormat?: "
|
|
275
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
276
276
|
continueOnFailure?: boolean | undefined;
|
|
277
277
|
} | null | undefined;
|
|
278
278
|
}>;
|
|
@@ -335,17 +335,17 @@ declare const dbAssertionSchema: z.ZodObject<{
|
|
|
335
335
|
value: z.ZodOptional<z.ZodString>;
|
|
336
336
|
}, "strict", z.ZodTypeAny, {
|
|
337
337
|
name: string;
|
|
338
|
+
source: "db_pre" | "db_post";
|
|
338
339
|
field: string;
|
|
339
340
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
340
|
-
source: "db_pre" | "db_post";
|
|
341
341
|
value?: string | undefined;
|
|
342
342
|
id?: string | undefined;
|
|
343
343
|
valueType?: "static" | "response" | undefined;
|
|
344
344
|
}, {
|
|
345
345
|
name: string;
|
|
346
|
+
source: "db_pre" | "db_post";
|
|
346
347
|
field: string;
|
|
347
348
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
348
|
-
source: "db_pre" | "db_post";
|
|
349
349
|
value?: string | undefined;
|
|
350
350
|
id?: string | undefined;
|
|
351
351
|
valueType?: "static" | "response" | undefined;
|
|
@@ -466,7 +466,7 @@ export declare const requestIntegrationFields: {
|
|
|
466
466
|
enabled?: boolean | undefined;
|
|
467
467
|
}[] | undefined;
|
|
468
468
|
enabled?: boolean | undefined;
|
|
469
|
-
valueFormat?: "
|
|
469
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
470
470
|
continueOnFailure?: boolean | undefined;
|
|
471
471
|
}, {
|
|
472
472
|
value: string;
|
|
@@ -480,7 +480,7 @@ export declare const requestIntegrationFields: {
|
|
|
480
480
|
enabled?: boolean | undefined;
|
|
481
481
|
}[] | undefined;
|
|
482
482
|
enabled?: boolean | undefined;
|
|
483
|
-
valueFormat?: "
|
|
483
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
484
484
|
continueOnFailure?: boolean | undefined;
|
|
485
485
|
}>>>;
|
|
486
486
|
postPublish: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -519,7 +519,7 @@ export declare const requestIntegrationFields: {
|
|
|
519
519
|
enabled?: boolean | undefined;
|
|
520
520
|
}[] | undefined;
|
|
521
521
|
enabled?: boolean | undefined;
|
|
522
|
-
valueFormat?: "
|
|
522
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
523
523
|
continueOnFailure?: boolean | undefined;
|
|
524
524
|
}, {
|
|
525
525
|
value: string;
|
|
@@ -533,7 +533,7 @@ export declare const requestIntegrationFields: {
|
|
|
533
533
|
enabled?: boolean | undefined;
|
|
534
534
|
}[] | undefined;
|
|
535
535
|
enabled?: boolean | undefined;
|
|
536
|
-
valueFormat?: "
|
|
536
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
537
537
|
continueOnFailure?: boolean | undefined;
|
|
538
538
|
}>>>;
|
|
539
539
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -563,7 +563,7 @@ export declare const requestIntegrationFields: {
|
|
|
563
563
|
enabled?: boolean | undefined;
|
|
564
564
|
}[] | undefined;
|
|
565
565
|
enabled?: boolean | undefined;
|
|
566
|
-
valueFormat?: "
|
|
566
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
567
567
|
continueOnFailure?: boolean | undefined;
|
|
568
568
|
} | null | undefined;
|
|
569
569
|
postPublish?: {
|
|
@@ -578,7 +578,7 @@ export declare const requestIntegrationFields: {
|
|
|
578
578
|
enabled?: boolean | undefined;
|
|
579
579
|
}[] | undefined;
|
|
580
580
|
enabled?: boolean | undefined;
|
|
581
|
-
valueFormat?: "
|
|
581
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
582
582
|
continueOnFailure?: boolean | undefined;
|
|
583
583
|
} | null | undefined;
|
|
584
584
|
}, {
|
|
@@ -608,7 +608,7 @@ export declare const requestIntegrationFields: {
|
|
|
608
608
|
enabled?: boolean | undefined;
|
|
609
609
|
}[] | undefined;
|
|
610
610
|
enabled?: boolean | undefined;
|
|
611
|
-
valueFormat?: "
|
|
611
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
612
612
|
continueOnFailure?: boolean | undefined;
|
|
613
613
|
} | null | undefined;
|
|
614
614
|
postPublish?: {
|
|
@@ -623,7 +623,7 @@ export declare const requestIntegrationFields: {
|
|
|
623
623
|
enabled?: boolean | undefined;
|
|
624
624
|
}[] | undefined;
|
|
625
625
|
enabled?: boolean | undefined;
|
|
626
|
-
valueFormat?: "
|
|
626
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
627
627
|
continueOnFailure?: boolean | undefined;
|
|
628
628
|
} | null | undefined;
|
|
629
629
|
}>>>;
|
|
@@ -686,17 +686,17 @@ export declare const requestIntegrationFields: {
|
|
|
686
686
|
value: z.ZodOptional<z.ZodString>;
|
|
687
687
|
}, "strict", z.ZodTypeAny, {
|
|
688
688
|
name: string;
|
|
689
|
+
source: "db_pre" | "db_post";
|
|
689
690
|
field: string;
|
|
690
691
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
691
|
-
source: "db_pre" | "db_post";
|
|
692
692
|
value?: string | undefined;
|
|
693
693
|
id?: string | undefined;
|
|
694
694
|
valueType?: "static" | "response" | undefined;
|
|
695
695
|
}, {
|
|
696
696
|
name: string;
|
|
697
|
+
source: "db_pre" | "db_post";
|
|
697
698
|
field: string;
|
|
698
699
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
699
|
-
source: "db_pre" | "db_post";
|
|
700
700
|
value?: string | undefined;
|
|
701
701
|
id?: string | undefined;
|
|
702
702
|
valueType?: "static" | "response" | undefined;
|
|
@@ -307,7 +307,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
307
307
|
enabled?: boolean | undefined;
|
|
308
308
|
}[] | undefined;
|
|
309
309
|
enabled?: boolean | undefined;
|
|
310
|
-
valueFormat?: "
|
|
310
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
311
311
|
continueOnFailure?: boolean | undefined;
|
|
312
312
|
}, {
|
|
313
313
|
value: string;
|
|
@@ -321,7 +321,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
321
321
|
enabled?: boolean | undefined;
|
|
322
322
|
}[] | undefined;
|
|
323
323
|
enabled?: boolean | undefined;
|
|
324
|
-
valueFormat?: "
|
|
324
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
325
325
|
continueOnFailure?: boolean | undefined;
|
|
326
326
|
}>>>;
|
|
327
327
|
postPublish: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -360,7 +360,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
360
360
|
enabled?: boolean | undefined;
|
|
361
361
|
}[] | undefined;
|
|
362
362
|
enabled?: boolean | undefined;
|
|
363
|
-
valueFormat?: "
|
|
363
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
364
364
|
continueOnFailure?: boolean | undefined;
|
|
365
365
|
}, {
|
|
366
366
|
value: string;
|
|
@@ -374,7 +374,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
374
374
|
enabled?: boolean | undefined;
|
|
375
375
|
}[] | undefined;
|
|
376
376
|
enabled?: boolean | undefined;
|
|
377
|
-
valueFormat?: "
|
|
377
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
378
378
|
continueOnFailure?: boolean | undefined;
|
|
379
379
|
}>>>;
|
|
380
380
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -404,7 +404,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
404
404
|
enabled?: boolean | undefined;
|
|
405
405
|
}[] | undefined;
|
|
406
406
|
enabled?: boolean | undefined;
|
|
407
|
-
valueFormat?: "
|
|
407
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
408
408
|
continueOnFailure?: boolean | undefined;
|
|
409
409
|
} | null | undefined;
|
|
410
410
|
postPublish?: {
|
|
@@ -419,7 +419,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
419
419
|
enabled?: boolean | undefined;
|
|
420
420
|
}[] | undefined;
|
|
421
421
|
enabled?: boolean | undefined;
|
|
422
|
-
valueFormat?: "
|
|
422
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
423
423
|
continueOnFailure?: boolean | undefined;
|
|
424
424
|
} | null | undefined;
|
|
425
425
|
}, {
|
|
@@ -449,7 +449,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
449
449
|
enabled?: boolean | undefined;
|
|
450
450
|
}[] | undefined;
|
|
451
451
|
enabled?: boolean | undefined;
|
|
452
|
-
valueFormat?: "
|
|
452
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
453
453
|
continueOnFailure?: boolean | undefined;
|
|
454
454
|
} | null | undefined;
|
|
455
455
|
postPublish?: {
|
|
@@ -464,7 +464,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
464
464
|
enabled?: boolean | undefined;
|
|
465
465
|
}[] | undefined;
|
|
466
466
|
enabled?: boolean | undefined;
|
|
467
|
-
valueFormat?: "
|
|
467
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
468
468
|
continueOnFailure?: boolean | undefined;
|
|
469
469
|
} | null | undefined;
|
|
470
470
|
}>>>;
|
|
@@ -527,17 +527,17 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
527
527
|
value: z.ZodOptional<z.ZodString>;
|
|
528
528
|
}, "strict", z.ZodTypeAny, {
|
|
529
529
|
name: string;
|
|
530
|
+
source: "db_pre" | "db_post";
|
|
530
531
|
field: string;
|
|
531
532
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
532
|
-
source: "db_pre" | "db_post";
|
|
533
533
|
value?: string | undefined;
|
|
534
534
|
id?: string | undefined;
|
|
535
535
|
valueType?: "static" | "response" | undefined;
|
|
536
536
|
}, {
|
|
537
537
|
name: string;
|
|
538
|
+
source: "db_pre" | "db_post";
|
|
538
539
|
field: string;
|
|
539
540
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
540
|
-
source: "db_pre" | "db_post";
|
|
541
541
|
value?: string | undefined;
|
|
542
542
|
id?: string | undefined;
|
|
543
543
|
valueType?: "static" | "response" | undefined;
|
|
@@ -829,7 +829,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
829
829
|
enabled?: boolean | undefined;
|
|
830
830
|
}[] | undefined;
|
|
831
831
|
enabled?: boolean | undefined;
|
|
832
|
-
valueFormat?: "
|
|
832
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
833
833
|
continueOnFailure?: boolean | undefined;
|
|
834
834
|
} | null | undefined;
|
|
835
835
|
postPublish?: {
|
|
@@ -844,7 +844,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
844
844
|
enabled?: boolean | undefined;
|
|
845
845
|
}[] | undefined;
|
|
846
846
|
enabled?: boolean | undefined;
|
|
847
|
-
valueFormat?: "
|
|
847
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
848
848
|
continueOnFailure?: boolean | undefined;
|
|
849
849
|
} | null | undefined;
|
|
850
850
|
} | null | undefined;
|
|
@@ -863,9 +863,9 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
863
863
|
} | null | undefined;
|
|
864
864
|
dbAssertions?: {
|
|
865
865
|
name: string;
|
|
866
|
+
source: "db_pre" | "db_post";
|
|
866
867
|
field: string;
|
|
867
868
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
868
|
-
source: "db_pre" | "db_post";
|
|
869
869
|
value?: string | undefined;
|
|
870
870
|
id?: string | undefined;
|
|
871
871
|
valueType?: "static" | "response" | undefined;
|
|
@@ -985,7 +985,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
985
985
|
enabled?: boolean | undefined;
|
|
986
986
|
}[] | undefined;
|
|
987
987
|
enabled?: boolean | undefined;
|
|
988
|
-
valueFormat?: "
|
|
988
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
989
989
|
continueOnFailure?: boolean | undefined;
|
|
990
990
|
} | null | undefined;
|
|
991
991
|
postPublish?: {
|
|
@@ -1000,7 +1000,7 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
1000
1000
|
enabled?: boolean | undefined;
|
|
1001
1001
|
}[] | undefined;
|
|
1002
1002
|
enabled?: boolean | undefined;
|
|
1003
|
-
valueFormat?: "
|
|
1003
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1004
1004
|
continueOnFailure?: boolean | undefined;
|
|
1005
1005
|
} | null | undefined;
|
|
1006
1006
|
} | null | undefined;
|
|
@@ -1019,9 +1019,9 @@ export declare const requestInputSchema: z.ZodObject<{
|
|
|
1019
1019
|
} | null | undefined;
|
|
1020
1020
|
dbAssertions?: {
|
|
1021
1021
|
name: string;
|
|
1022
|
+
source: "db_pre" | "db_post";
|
|
1022
1023
|
field: string;
|
|
1023
1024
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
1024
|
-
source: "db_pre" | "db_post";
|
|
1025
1025
|
value?: string | undefined;
|
|
1026
1026
|
id?: string | undefined;
|
|
1027
1027
|
valueType?: "static" | "response" | undefined;
|
|
@@ -1319,7 +1319,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1319
1319
|
enabled?: boolean | undefined;
|
|
1320
1320
|
}[] | undefined;
|
|
1321
1321
|
enabled?: boolean | undefined;
|
|
1322
|
-
valueFormat?: "
|
|
1322
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1323
1323
|
continueOnFailure?: boolean | undefined;
|
|
1324
1324
|
}, {
|
|
1325
1325
|
value: string;
|
|
@@ -1333,7 +1333,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1333
1333
|
enabled?: boolean | undefined;
|
|
1334
1334
|
}[] | undefined;
|
|
1335
1335
|
enabled?: boolean | undefined;
|
|
1336
|
-
valueFormat?: "
|
|
1336
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1337
1337
|
continueOnFailure?: boolean | undefined;
|
|
1338
1338
|
}>>>;
|
|
1339
1339
|
postPublish: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1372,7 +1372,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1372
1372
|
enabled?: boolean | undefined;
|
|
1373
1373
|
}[] | undefined;
|
|
1374
1374
|
enabled?: boolean | undefined;
|
|
1375
|
-
valueFormat?: "
|
|
1375
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1376
1376
|
continueOnFailure?: boolean | undefined;
|
|
1377
1377
|
}, {
|
|
1378
1378
|
value: string;
|
|
@@ -1386,7 +1386,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1386
1386
|
enabled?: boolean | undefined;
|
|
1387
1387
|
}[] | undefined;
|
|
1388
1388
|
enabled?: boolean | undefined;
|
|
1389
|
-
valueFormat?: "
|
|
1389
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1390
1390
|
continueOnFailure?: boolean | undefined;
|
|
1391
1391
|
}>>>;
|
|
1392
1392
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1416,7 +1416,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1416
1416
|
enabled?: boolean | undefined;
|
|
1417
1417
|
}[] | undefined;
|
|
1418
1418
|
enabled?: boolean | undefined;
|
|
1419
|
-
valueFormat?: "
|
|
1419
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1420
1420
|
continueOnFailure?: boolean | undefined;
|
|
1421
1421
|
} | null | undefined;
|
|
1422
1422
|
postPublish?: {
|
|
@@ -1431,7 +1431,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1431
1431
|
enabled?: boolean | undefined;
|
|
1432
1432
|
}[] | undefined;
|
|
1433
1433
|
enabled?: boolean | undefined;
|
|
1434
|
-
valueFormat?: "
|
|
1434
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1435
1435
|
continueOnFailure?: boolean | undefined;
|
|
1436
1436
|
} | null | undefined;
|
|
1437
1437
|
}, {
|
|
@@ -1461,7 +1461,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1461
1461
|
enabled?: boolean | undefined;
|
|
1462
1462
|
}[] | undefined;
|
|
1463
1463
|
enabled?: boolean | undefined;
|
|
1464
|
-
valueFormat?: "
|
|
1464
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1465
1465
|
continueOnFailure?: boolean | undefined;
|
|
1466
1466
|
} | null | undefined;
|
|
1467
1467
|
postPublish?: {
|
|
@@ -1476,7 +1476,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1476
1476
|
enabled?: boolean | undefined;
|
|
1477
1477
|
}[] | undefined;
|
|
1478
1478
|
enabled?: boolean | undefined;
|
|
1479
|
-
valueFormat?: "
|
|
1479
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1480
1480
|
continueOnFailure?: boolean | undefined;
|
|
1481
1481
|
} | null | undefined;
|
|
1482
1482
|
}>>>>;
|
|
@@ -1539,17 +1539,17 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1539
1539
|
value: z.ZodOptional<z.ZodString>;
|
|
1540
1540
|
}, "strict", z.ZodTypeAny, {
|
|
1541
1541
|
name: string;
|
|
1542
|
+
source: "db_pre" | "db_post";
|
|
1542
1543
|
field: string;
|
|
1543
1544
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
1544
|
-
source: "db_pre" | "db_post";
|
|
1545
1545
|
value?: string | undefined;
|
|
1546
1546
|
id?: string | undefined;
|
|
1547
1547
|
valueType?: "static" | "response" | undefined;
|
|
1548
1548
|
}, {
|
|
1549
1549
|
name: string;
|
|
1550
|
+
source: "db_pre" | "db_post";
|
|
1550
1551
|
field: string;
|
|
1551
1552
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
1552
|
-
source: "db_pre" | "db_post";
|
|
1553
1553
|
value?: string | undefined;
|
|
1554
1554
|
id?: string | undefined;
|
|
1555
1555
|
valueType?: "static" | "response" | undefined;
|
|
@@ -1731,7 +1731,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1731
1731
|
enabled?: boolean | undefined;
|
|
1732
1732
|
}[] | undefined;
|
|
1733
1733
|
enabled?: boolean | undefined;
|
|
1734
|
-
valueFormat?: "
|
|
1734
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1735
1735
|
continueOnFailure?: boolean | undefined;
|
|
1736
1736
|
} | null | undefined;
|
|
1737
1737
|
postPublish?: {
|
|
@@ -1746,7 +1746,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1746
1746
|
enabled?: boolean | undefined;
|
|
1747
1747
|
}[] | undefined;
|
|
1748
1748
|
enabled?: boolean | undefined;
|
|
1749
|
-
valueFormat?: "
|
|
1749
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1750
1750
|
continueOnFailure?: boolean | undefined;
|
|
1751
1751
|
} | null | undefined;
|
|
1752
1752
|
} | null | undefined;
|
|
@@ -1765,9 +1765,9 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1765
1765
|
} | null | undefined;
|
|
1766
1766
|
dbAssertions?: {
|
|
1767
1767
|
name: string;
|
|
1768
|
+
source: "db_pre" | "db_post";
|
|
1768
1769
|
field: string;
|
|
1769
1770
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
1770
|
-
source: "db_pre" | "db_post";
|
|
1771
1771
|
value?: string | undefined;
|
|
1772
1772
|
id?: string | undefined;
|
|
1773
1773
|
valueType?: "static" | "response" | undefined;
|
|
@@ -1887,7 +1887,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1887
1887
|
enabled?: boolean | undefined;
|
|
1888
1888
|
}[] | undefined;
|
|
1889
1889
|
enabled?: boolean | undefined;
|
|
1890
|
-
valueFormat?: "
|
|
1890
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1891
1891
|
continueOnFailure?: boolean | undefined;
|
|
1892
1892
|
} | null | undefined;
|
|
1893
1893
|
postPublish?: {
|
|
@@ -1902,7 +1902,7 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1902
1902
|
enabled?: boolean | undefined;
|
|
1903
1903
|
}[] | undefined;
|
|
1904
1904
|
enabled?: boolean | undefined;
|
|
1905
|
-
valueFormat?: "
|
|
1905
|
+
valueFormat?: "json" | "raw" | undefined;
|
|
1906
1906
|
continueOnFailure?: boolean | undefined;
|
|
1907
1907
|
} | null | undefined;
|
|
1908
1908
|
} | null | undefined;
|
|
@@ -1921,9 +1921,9 @@ export declare const updateRequestInputSchema: z.ZodObject<{
|
|
|
1921
1921
|
} | null | undefined;
|
|
1922
1922
|
dbAssertions?: {
|
|
1923
1923
|
name: string;
|
|
1924
|
+
source: "db_pre" | "db_post";
|
|
1924
1925
|
field: string;
|
|
1925
1926
|
operator: "equals" | "not_equals" | "exists" | "gt" | "lt";
|
|
1926
|
-
source: "db_pre" | "db_post";
|
|
1927
1927
|
value?: string | undefined;
|
|
1928
1928
|
id?: string | undefined;
|
|
1929
1929
|
valueType?: "static" | "response" | undefined;
|