syllable-sdk 1.0.13-rc.4 → 1.0.13-rc.5
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/bin/mcp-server.js +1993 -55
- package/bin/mcp-server.js.map +33 -10
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/bodyinsightsfolderuploadfile.d.ts +8 -8
- package/models/components/bodyinsightsfolderuploadfile.d.ts.map +1 -1
- package/models/components/bodyinsightsfolderuploadfile.js +11 -12
- package/models/components/bodyinsightsfolderuploadfile.js.map +1 -1
- package/models/components/callaction.d.ts +113 -0
- package/models/components/callaction.d.ts.map +1 -0
- package/models/components/callaction.js +174 -0
- package/models/components/callaction.js.map +1 -0
- package/models/components/caseexpression.d.ts +18 -0
- package/models/components/caseexpression.d.ts.map +1 -0
- package/models/components/caseexpression.js +59 -0
- package/models/components/caseexpression.js.map +1 -0
- package/models/components/celexpression.d.ts +28 -0
- package/models/components/celexpression.d.ts.map +1 -0
- package/models/components/celexpression.js +60 -0
- package/models/components/celexpression.js.map +1 -0
- package/models/components/conditionaltext.d.ts +85 -0
- package/models/components/conditionaltext.d.ts.map +1 -0
- package/models/components/conditionaltext.js +147 -0
- package/models/components/conditionaltext.js.map +1 -0
- package/models/components/conditionalvalue.d.ts +147 -0
- package/models/components/conditionalvalue.d.ts.map +1 -0
- package/models/components/conditionalvalue.js +248 -0
- package/models/components/conditionalvalue.js.map +1 -0
- package/models/components/context.d.ts +122 -8
- package/models/components/context.d.ts.map +1 -1
- package/models/components/context.js +199 -6
- package/models/components/context.js.map +1 -1
- package/models/components/contexttaskmetadata.d.ts +22 -0
- package/models/components/contexttaskmetadata.d.ts.map +1 -0
- package/models/components/contexttaskmetadata.js +69 -0
- package/models/components/contexttaskmetadata.js.map +1 -0
- package/models/components/contexttoolinfo.d.ts +25 -0
- package/models/components/contexttoolinfo.d.ts.map +1 -0
- package/models/components/contexttoolinfo.js +60 -0
- package/models/components/contexttoolinfo.js.map +1 -0
- package/models/components/eventtask.d.ts +42 -0
- package/models/components/eventtask.d.ts.map +1 -0
- package/models/components/eventtask.js +76 -0
- package/models/components/eventtask.js.map +1 -0
- package/models/components/eventtaskevents.d.ts +74 -0
- package/models/components/eventtaskevents.d.ts.map +1 -0
- package/models/components/eventtaskevents.js +139 -0
- package/models/components/eventtaskevents.js.map +1 -0
- package/models/components/expressiontask.d.ts +109 -0
- package/models/components/expressiontask.d.ts.map +1 -0
- package/models/components/expressiontask.js +170 -0
- package/models/components/expressiontask.js.map +1 -0
- package/models/components/expressiontaskevents.d.ts +131 -0
- package/models/components/expressiontaskevents.d.ts.map +1 -0
- package/models/components/expressiontaskevents.js +219 -0
- package/models/components/expressiontaskevents.js.map +1 -0
- package/models/components/incrementaction.d.ts +92 -0
- package/models/components/incrementaction.d.ts.map +1 -0
- package/models/components/incrementaction.js +151 -0
- package/models/components/incrementaction.js.map +1 -0
- package/models/components/index.d.ts +24 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +24 -1
- package/models/components/index.js.map +1 -1
- package/models/components/inputparameter.d.ts +51 -0
- package/models/components/inputparameter.d.ts.map +1 -0
- package/models/components/inputparameter.js +87 -0
- package/models/components/inputparameter.js.map +1 -0
- package/models/components/jmespathexpression.d.ts +44 -0
- package/models/components/jmespathexpression.d.ts.map +1 -0
- package/models/components/jmespathexpression.js +71 -0
- package/models/components/jmespathexpression.js.map +1 -0
- package/models/components/loadtoolfromfiletask.d.ts +59 -0
- package/models/components/loadtoolfromfiletask.d.ts.map +1 -0
- package/models/components/loadtoolfromfiletask.js +88 -0
- package/models/components/loadtoolfromfiletask.js.map +1 -0
- package/models/components/nextstep.d.ts +93 -0
- package/models/components/nextstep.d.ts.map +1 -0
- package/models/components/nextstep.js +149 -0
- package/models/components/nextstep.js.map +1 -0
- package/models/components/saveaction.d.ts +92 -0
- package/models/components/saveaction.d.ts.map +1 -0
- package/models/components/saveaction.js +151 -0
- package/models/components/saveaction.js.map +1 -0
- package/models/components/sayaction.d.ts +108 -0
- package/models/components/sayaction.d.ts.map +1 -0
- package/models/components/sayaction.js +162 -0
- package/models/components/sayaction.js.map +1 -0
- package/models/components/setvalueaction.d.ts +154 -0
- package/models/components/setvalueaction.d.ts.map +1 -0
- package/models/components/setvalueaction.js +246 -0
- package/models/components/setvalueaction.js.map +1 -0
- package/models/components/step.d.ts +73 -0
- package/models/components/step.d.ts.map +1 -0
- package/models/components/step.js +103 -0
- package/models/components/step.js.map +1 -0
- package/models/components/stepeventactions.d.ts +185 -0
- package/models/components/stepeventactions.d.ts.map +1 -0
- package/models/components/stepeventactions.js +296 -0
- package/models/components/stepeventactions.js.map +1 -0
- package/models/components/stepstask.d.ts +42 -0
- package/models/components/stepstask.d.ts.map +1 -0
- package/models/components/stepstask.js +76 -0
- package/models/components/stepstask.js.map +1 -0
- package/models/components/steptools.d.ts +33 -0
- package/models/components/steptools.d.ts.map +1 -0
- package/models/components/{contexttask.js → steptools.js} +24 -22
- package/models/components/steptools.js.map +1 -0
- package/models/components/variable.d.ts +119 -0
- package/models/components/variable.d.ts.map +1 -0
- package/models/components/variable.js +186 -0
- package/models/components/variable.js.map +1 -0
- package/openapi.json +2436 -657
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/bodyinsightsfolderuploadfile.ts +36 -25
- package/src/models/components/callaction.ts +331 -0
- package/src/models/components/caseexpression.ts +53 -0
- package/src/models/components/celexpression.ts +60 -0
- package/src/models/components/conditionaltext.ts +280 -0
- package/src/models/components/conditionalvalue.ts +477 -0
- package/src/models/components/context.ts +413 -16
- package/src/models/components/contexttaskmetadata.ts +67 -0
- package/src/models/components/contexttoolinfo.ts +59 -0
- package/src/models/components/eventtask.ts +102 -0
- package/src/models/components/eventtaskevents.ts +257 -0
- package/src/models/components/expressiontask.ts +333 -0
- package/src/models/components/expressiontaskevents.ts +430 -0
- package/src/models/components/incrementaction.ts +291 -0
- package/src/models/components/index.ts +24 -1
- package/src/models/components/inputparameter.ts +103 -0
- package/src/models/components/jmespathexpression.ts +86 -0
- package/src/models/components/loadtoolfromfiletask.ts +137 -0
- package/src/models/components/nextstep.ts +280 -0
- package/src/models/components/saveaction.ts +281 -0
- package/src/models/components/sayaction.ts +302 -0
- package/src/models/components/setvalueaction.ts +508 -0
- package/src/models/components/step.ts +174 -0
- package/src/models/components/stepeventactions.ts +619 -0
- package/src/models/components/stepstask.ts +102 -0
- package/src/models/components/steptools.ts +76 -0
- package/src/models/components/variable.ts +332 -0
- package/models/components/contexttask.d.ts +0 -32
- package/models/components/contexttask.d.ts.map +0 -1
- package/models/components/contexttask.js.map +0 -1
- package/src/models/components/contexttask.ts +0 -78
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.LoadToolFromFileTask$outboundSchema = exports.LoadToolFromFileTask$inboundSchema = exports.FileT$outboundSchema = exports.FileT$inboundSchema = void 0;
|
|
40
|
+
exports.fileToJSON = fileToJSON;
|
|
41
|
+
exports.fileFromJSON = fileFromJSON;
|
|
42
|
+
exports.loadToolFromFileTaskToJSON = loadToolFromFileTaskToJSON;
|
|
43
|
+
exports.loadToolFromFileTaskFromJSON = loadToolFromFileTaskFromJSON;
|
|
44
|
+
const z = __importStar(require("zod/v3"));
|
|
45
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
+
const contexttaskmetadata_js_1 = require("./contexttaskmetadata.js");
|
|
47
|
+
const contexttoolinfo_js_1 = require("./contexttoolinfo.js");
|
|
48
|
+
const variable_js_1 = require("./variable.js");
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.FileT$inboundSchema = z
|
|
51
|
+
.union([z.string(), z.array(z.string())]);
|
|
52
|
+
/** @internal */
|
|
53
|
+
exports.FileT$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
54
|
+
function fileToJSON(fileT) {
|
|
55
|
+
return JSON.stringify(exports.FileT$outboundSchema.parse(fileT));
|
|
56
|
+
}
|
|
57
|
+
function fileFromJSON(jsonString) {
|
|
58
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FileT$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FileT' from JSON`);
|
|
59
|
+
}
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.LoadToolFromFileTask$inboundSchema = z.object({
|
|
62
|
+
id: z.nullable(z.string()).optional(),
|
|
63
|
+
config: z.nullable(z.record(z.any())).optional(),
|
|
64
|
+
variables: z.nullable(z.array(variable_js_1.Variable$inboundSchema)).optional(),
|
|
65
|
+
metadata: z.nullable(contexttaskmetadata_js_1.ContextTaskMetadata$inboundSchema).optional(),
|
|
66
|
+
tool: z.nullable(contexttoolinfo_js_1.ContextToolInfo$inboundSchema).optional(),
|
|
67
|
+
type: z.literal("import").default("import"),
|
|
68
|
+
version: z.literal("v1alpha").default("v1alpha"),
|
|
69
|
+
file: z.union([z.string(), z.array(z.string())]),
|
|
70
|
+
});
|
|
71
|
+
/** @internal */
|
|
72
|
+
exports.LoadToolFromFileTask$outboundSchema = z.object({
|
|
73
|
+
id: z.nullable(z.string()).optional(),
|
|
74
|
+
config: z.nullable(z.record(z.any())).optional(),
|
|
75
|
+
variables: z.nullable(z.array(variable_js_1.Variable$outboundSchema)).optional(),
|
|
76
|
+
metadata: z.nullable(contexttaskmetadata_js_1.ContextTaskMetadata$outboundSchema).optional(),
|
|
77
|
+
tool: z.nullable(contexttoolinfo_js_1.ContextToolInfo$outboundSchema).optional(),
|
|
78
|
+
type: z.literal("import").default("import"),
|
|
79
|
+
version: z.literal("v1alpha").default("v1alpha"),
|
|
80
|
+
file: z.union([z.string(), z.array(z.string())]),
|
|
81
|
+
});
|
|
82
|
+
function loadToolFromFileTaskToJSON(loadToolFromFileTask) {
|
|
83
|
+
return JSON.stringify(exports.LoadToolFromFileTask$outboundSchema.parse(loadToolFromFileTask));
|
|
84
|
+
}
|
|
85
|
+
function loadToolFromFileTaskFromJSON(jsonString) {
|
|
86
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.LoadToolFromFileTask$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LoadToolFromFileTask' from JSON`);
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=loadtoolfromfiletask.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadtoolfromfiletask.js","sourceRoot":"","sources":["../../src/models/components/loadtoolfromfiletask.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DH,gCAEC;AACD,oCAQC;AA6CD,gEAMC;AACD,oEAQC;AApID,0CAA4B;AAC5B,qDAAiD;AAGjD,qEAKkC;AAClC,6DAK8B;AAC9B,+CAKuB;AA2BvB,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC;KAC1E,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;AAI5C,gBAAgB;AACH,QAAA,oBAAoB,GAI7B,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;AAE/C,SAAgB,UAAU,CAAC,KAAY;IACrC,OAAO,IAAI,CAAC,SAAS,CAAC,4BAAoB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,CAAC;AACD,SAAgB,YAAY,CAC1B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/C,mCAAmC,CACpC,CAAC;AACJ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CAAuB,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClE,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,2DAAkC,CAAC,CAAC,QAAQ,EAAE;IACnE,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,mDAA8B,CAAC,CAAC,QAAQ,EAAE;IAC3D,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,QAAiB,CAAC;IACpD,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,SAAkB,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CACjD,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AACD,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { CaseExpression, CaseExpression$Outbound } from "./caseexpression.js";
|
|
5
|
+
import { CelExpression, CelExpression$Outbound } from "./celexpression.js";
|
|
6
|
+
import { JMESPathExpression, JMESPathExpression$Outbound } from "./jmespathexpression.js";
|
|
7
|
+
export type NextStepIf1 = (CelExpression & {
|
|
8
|
+
type: "cel";
|
|
9
|
+
}) | (JMESPathExpression & {
|
|
10
|
+
type: "jmespath";
|
|
11
|
+
}) | (JMESPathExpression & {
|
|
12
|
+
type: "jp";
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* An expression that must evaluate to true for the action to be applied.
|
|
16
|
+
*/
|
|
17
|
+
export type NextStepIf = CaseExpression | (CelExpression & {
|
|
18
|
+
type: "cel";
|
|
19
|
+
}) | (JMESPathExpression & {
|
|
20
|
+
type: "jmespath";
|
|
21
|
+
}) | (JMESPathExpression & {
|
|
22
|
+
type: "jp";
|
|
23
|
+
}) | string;
|
|
24
|
+
/**
|
|
25
|
+
* Represents a conditional transition to the next step.
|
|
26
|
+
*/
|
|
27
|
+
export type NextStep = {
|
|
28
|
+
/**
|
|
29
|
+
* An expression that must evaluate to true for the action to be applied.
|
|
30
|
+
*/
|
|
31
|
+
if?: CaseExpression | (CelExpression & {
|
|
32
|
+
type: "cel";
|
|
33
|
+
}) | (JMESPathExpression & {
|
|
34
|
+
type: "jmespath";
|
|
35
|
+
}) | (JMESPathExpression & {
|
|
36
|
+
type: "jp";
|
|
37
|
+
}) | string | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* The identifier of the next step.
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
/**
|
|
43
|
+
* List of input field names required for this transition. Validates that specified inputs are collected before allowing transition.
|
|
44
|
+
*/
|
|
45
|
+
requires?: Array<string> | null | undefined;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const NextStepIf1$inboundSchema: z.ZodType<NextStepIf1, z.ZodTypeDef, unknown>;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export type NextStepIf1$Outbound = (CelExpression$Outbound & {
|
|
51
|
+
type: "cel";
|
|
52
|
+
}) | (JMESPathExpression$Outbound & {
|
|
53
|
+
type: "jmespath";
|
|
54
|
+
}) | (JMESPathExpression$Outbound & {
|
|
55
|
+
type: "jp";
|
|
56
|
+
});
|
|
57
|
+
/** @internal */
|
|
58
|
+
export declare const NextStepIf1$outboundSchema: z.ZodType<NextStepIf1$Outbound, z.ZodTypeDef, NextStepIf1>;
|
|
59
|
+
export declare function nextStepIf1ToJSON(nextStepIf1: NextStepIf1): string;
|
|
60
|
+
export declare function nextStepIf1FromJSON(jsonString: string): SafeParseResult<NextStepIf1, SDKValidationError>;
|
|
61
|
+
/** @internal */
|
|
62
|
+
export declare const NextStepIf$inboundSchema: z.ZodType<NextStepIf, z.ZodTypeDef, unknown>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
export type NextStepIf$Outbound = CaseExpression$Outbound | (CelExpression$Outbound & {
|
|
65
|
+
type: "cel";
|
|
66
|
+
}) | (JMESPathExpression$Outbound & {
|
|
67
|
+
type: "jmespath";
|
|
68
|
+
}) | (JMESPathExpression$Outbound & {
|
|
69
|
+
type: "jp";
|
|
70
|
+
}) | string;
|
|
71
|
+
/** @internal */
|
|
72
|
+
export declare const NextStepIf$outboundSchema: z.ZodType<NextStepIf$Outbound, z.ZodTypeDef, NextStepIf>;
|
|
73
|
+
export declare function nextStepIfToJSON(nextStepIf: NextStepIf): string;
|
|
74
|
+
export declare function nextStepIfFromJSON(jsonString: string): SafeParseResult<NextStepIf, SDKValidationError>;
|
|
75
|
+
/** @internal */
|
|
76
|
+
export declare const NextStep$inboundSchema: z.ZodType<NextStep, z.ZodTypeDef, unknown>;
|
|
77
|
+
/** @internal */
|
|
78
|
+
export type NextStep$Outbound = {
|
|
79
|
+
if?: CaseExpression$Outbound | (CelExpression$Outbound & {
|
|
80
|
+
type: "cel";
|
|
81
|
+
}) | (JMESPathExpression$Outbound & {
|
|
82
|
+
type: "jmespath";
|
|
83
|
+
}) | (JMESPathExpression$Outbound & {
|
|
84
|
+
type: "jp";
|
|
85
|
+
}) | string | null | undefined;
|
|
86
|
+
id: string;
|
|
87
|
+
requires?: Array<string> | null | undefined;
|
|
88
|
+
};
|
|
89
|
+
/** @internal */
|
|
90
|
+
export declare const NextStep$outboundSchema: z.ZodType<NextStep$Outbound, z.ZodTypeDef, NextStep>;
|
|
91
|
+
export declare function nextStepToJSON(nextStep: NextStep): string;
|
|
92
|
+
export declare function nextStepFromJSON(jsonString: string): SafeParseResult<NextStep, SDKValidationError>;
|
|
93
|
+
//# sourceMappingURL=nextstep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextstep.d.ts","sourceRoot":"","sources":["../../src/models/components/nextstep.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,WAAW,GACnB,CAAC,aAAa,GAAG;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,GACjC,CAAC,kBAAkB,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,GAC3C,CAAC,kBAAkB,GAAG;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,cAAc,GACd,CAAC,aAAa,GAAG;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,GACjC,CAAC,kBAAkB,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,GAC3C,CAAC,kBAAkB,GAAG;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC,GACrC,MAAM,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;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,UAAU,EACZ,QAAQ,CA2BR,CAAC;AAEH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAEzD;AACD,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.NextStep$outboundSchema = exports.NextStep$inboundSchema = exports.NextStepIf$outboundSchema = exports.NextStepIf$inboundSchema = exports.NextStepIf1$outboundSchema = exports.NextStepIf1$inboundSchema = void 0;
|
|
40
|
+
exports.nextStepIf1ToJSON = nextStepIf1ToJSON;
|
|
41
|
+
exports.nextStepIf1FromJSON = nextStepIf1FromJSON;
|
|
42
|
+
exports.nextStepIfToJSON = nextStepIfToJSON;
|
|
43
|
+
exports.nextStepIfFromJSON = nextStepIfFromJSON;
|
|
44
|
+
exports.nextStepToJSON = nextStepToJSON;
|
|
45
|
+
exports.nextStepFromJSON = nextStepFromJSON;
|
|
46
|
+
const z = __importStar(require("zod/v3"));
|
|
47
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
48
|
+
const caseexpression_js_1 = require("./caseexpression.js");
|
|
49
|
+
const celexpression_js_1 = require("./celexpression.js");
|
|
50
|
+
const jmespathexpression_js_1 = require("./jmespathexpression.js");
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.NextStepIf1$inboundSchema = z.union([
|
|
53
|
+
celexpression_js_1.CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type }))),
|
|
54
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
55
|
+
type: v.type,
|
|
56
|
+
}))),
|
|
57
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type }))),
|
|
58
|
+
]);
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.NextStepIf1$outboundSchema = z.union([
|
|
61
|
+
celexpression_js_1.CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type }))),
|
|
62
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
63
|
+
type: v.type,
|
|
64
|
+
}))),
|
|
65
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type }))),
|
|
66
|
+
]);
|
|
67
|
+
function nextStepIf1ToJSON(nextStepIf1) {
|
|
68
|
+
return JSON.stringify(exports.NextStepIf1$outboundSchema.parse(nextStepIf1));
|
|
69
|
+
}
|
|
70
|
+
function nextStepIf1FromJSON(jsonString) {
|
|
71
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NextStepIf1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NextStepIf1' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
/** @internal */
|
|
74
|
+
exports.NextStepIf$inboundSchema = z.union([
|
|
75
|
+
caseexpression_js_1.CaseExpression$inboundSchema,
|
|
76
|
+
z.union([
|
|
77
|
+
celexpression_js_1.CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type }))),
|
|
78
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
79
|
+
type: v.type,
|
|
80
|
+
}))),
|
|
81
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type }))),
|
|
82
|
+
]),
|
|
83
|
+
z.string(),
|
|
84
|
+
]);
|
|
85
|
+
/** @internal */
|
|
86
|
+
exports.NextStepIf$outboundSchema = z.union([
|
|
87
|
+
caseexpression_js_1.CaseExpression$outboundSchema,
|
|
88
|
+
z.union([
|
|
89
|
+
celexpression_js_1.CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type }))),
|
|
90
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
91
|
+
type: v.type,
|
|
92
|
+
}))),
|
|
93
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type }))),
|
|
94
|
+
]),
|
|
95
|
+
z.string(),
|
|
96
|
+
]);
|
|
97
|
+
function nextStepIfToJSON(nextStepIf) {
|
|
98
|
+
return JSON.stringify(exports.NextStepIf$outboundSchema.parse(nextStepIf));
|
|
99
|
+
}
|
|
100
|
+
function nextStepIfFromJSON(jsonString) {
|
|
101
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NextStepIf$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NextStepIf' from JSON`);
|
|
102
|
+
}
|
|
103
|
+
/** @internal */
|
|
104
|
+
exports.NextStep$inboundSchema = z.object({
|
|
105
|
+
if: z.nullable(z.union([
|
|
106
|
+
caseexpression_js_1.CaseExpression$inboundSchema,
|
|
107
|
+
z.union([
|
|
108
|
+
celexpression_js_1.CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({
|
|
109
|
+
type: v.type,
|
|
110
|
+
}))),
|
|
111
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
112
|
+
type: v.type,
|
|
113
|
+
}))),
|
|
114
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({
|
|
115
|
+
type: v.type,
|
|
116
|
+
}))),
|
|
117
|
+
]),
|
|
118
|
+
z.string(),
|
|
119
|
+
])).optional(),
|
|
120
|
+
id: z.string(),
|
|
121
|
+
requires: z.nullable(z.array(z.string())).optional(),
|
|
122
|
+
});
|
|
123
|
+
/** @internal */
|
|
124
|
+
exports.NextStep$outboundSchema = z.object({
|
|
125
|
+
if: z.nullable(z.union([
|
|
126
|
+
caseexpression_js_1.CaseExpression$outboundSchema,
|
|
127
|
+
z.union([
|
|
128
|
+
celexpression_js_1.CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({
|
|
129
|
+
type: v.type,
|
|
130
|
+
}))),
|
|
131
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
132
|
+
type: v.type,
|
|
133
|
+
}))),
|
|
134
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({
|
|
135
|
+
type: v.type,
|
|
136
|
+
}))),
|
|
137
|
+
]),
|
|
138
|
+
z.string(),
|
|
139
|
+
])).optional(),
|
|
140
|
+
id: z.string(),
|
|
141
|
+
requires: z.nullable(z.array(z.string())).optional(),
|
|
142
|
+
});
|
|
143
|
+
function nextStepToJSON(nextStep) {
|
|
144
|
+
return JSON.stringify(exports.NextStep$outboundSchema.parse(nextStep));
|
|
145
|
+
}
|
|
146
|
+
function nextStepFromJSON(jsonString) {
|
|
147
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.NextStep$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NextStep' from JSON`);
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=nextstep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextstep.js","sourceRoot":"","sources":["../../src/models/components/nextstep.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GH,8CAEC;AACD,kDAQC;AAuDD,4CAEC;AACD,gDAQC;AAiFD,wCAEC;AACD,4CAQC;AAnRD,0CAA4B;AAC5B,qDAAiD;AAGjD,2DAK6B;AAC7B,yDAK4B;AAC5B,mEAKiC;AA0CjC,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,KAAK,CAAC;I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K,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC;AAEH,SAAgB,cAAc,CAAC,QAAkB;IAC/C,OAAO,IAAI,CAAC,SAAS,CAAC,+BAAuB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjE,CAAC;AACD,SAAgB,gBAAgB,CAC9B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { CaseExpression, CaseExpression$Outbound } from "./caseexpression.js";
|
|
5
|
+
import { CelExpression, CelExpression$Outbound } from "./celexpression.js";
|
|
6
|
+
import { JMESPathExpression, JMESPathExpression$Outbound } from "./jmespathexpression.js";
|
|
7
|
+
export type SaveActionIf1 = (CelExpression & {
|
|
8
|
+
type: "cel";
|
|
9
|
+
}) | (JMESPathExpression & {
|
|
10
|
+
type: "jmespath";
|
|
11
|
+
}) | (JMESPathExpression & {
|
|
12
|
+
type: "jp";
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* An expression that must evaluate to true for the action to be applied.
|
|
16
|
+
*/
|
|
17
|
+
export type SaveActionIf = CaseExpression | (CelExpression & {
|
|
18
|
+
type: "cel";
|
|
19
|
+
}) | (JMESPathExpression & {
|
|
20
|
+
type: "jmespath";
|
|
21
|
+
}) | (JMESPathExpression & {
|
|
22
|
+
type: "jp";
|
|
23
|
+
}) | string;
|
|
24
|
+
export type SaveAction = {
|
|
25
|
+
/**
|
|
26
|
+
* An expression that must evaluate to true for the action to be applied.
|
|
27
|
+
*/
|
|
28
|
+
if?: CaseExpression | (CelExpression & {
|
|
29
|
+
type: "cel";
|
|
30
|
+
}) | (JMESPathExpression & {
|
|
31
|
+
type: "jmespath";
|
|
32
|
+
}) | (JMESPathExpression & {
|
|
33
|
+
type: "jp";
|
|
34
|
+
}) | string | null | undefined;
|
|
35
|
+
action?: "save" | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Target name to save (defaults to global variable).
|
|
38
|
+
*/
|
|
39
|
+
name?: string | null | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Input field names to persist; None saves all collected inputs.
|
|
42
|
+
*/
|
|
43
|
+
inputs?: Array<string> | null | undefined;
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const SaveActionIf1$inboundSchema: z.ZodType<SaveActionIf1, z.ZodTypeDef, unknown>;
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type SaveActionIf1$Outbound = (CelExpression$Outbound & {
|
|
49
|
+
type: "cel";
|
|
50
|
+
}) | (JMESPathExpression$Outbound & {
|
|
51
|
+
type: "jmespath";
|
|
52
|
+
}) | (JMESPathExpression$Outbound & {
|
|
53
|
+
type: "jp";
|
|
54
|
+
});
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const SaveActionIf1$outboundSchema: z.ZodType<SaveActionIf1$Outbound, z.ZodTypeDef, SaveActionIf1>;
|
|
57
|
+
export declare function saveActionIf1ToJSON(saveActionIf1: SaveActionIf1): string;
|
|
58
|
+
export declare function saveActionIf1FromJSON(jsonString: string): SafeParseResult<SaveActionIf1, SDKValidationError>;
|
|
59
|
+
/** @internal */
|
|
60
|
+
export declare const SaveActionIf$inboundSchema: z.ZodType<SaveActionIf, z.ZodTypeDef, unknown>;
|
|
61
|
+
/** @internal */
|
|
62
|
+
export type SaveActionIf$Outbound = CaseExpression$Outbound | (CelExpression$Outbound & {
|
|
63
|
+
type: "cel";
|
|
64
|
+
}) | (JMESPathExpression$Outbound & {
|
|
65
|
+
type: "jmespath";
|
|
66
|
+
}) | (JMESPathExpression$Outbound & {
|
|
67
|
+
type: "jp";
|
|
68
|
+
}) | string;
|
|
69
|
+
/** @internal */
|
|
70
|
+
export declare const SaveActionIf$outboundSchema: z.ZodType<SaveActionIf$Outbound, z.ZodTypeDef, SaveActionIf>;
|
|
71
|
+
export declare function saveActionIfToJSON(saveActionIf: SaveActionIf): string;
|
|
72
|
+
export declare function saveActionIfFromJSON(jsonString: string): SafeParseResult<SaveActionIf, SDKValidationError>;
|
|
73
|
+
/** @internal */
|
|
74
|
+
export declare const SaveAction$inboundSchema: z.ZodType<SaveAction, z.ZodTypeDef, unknown>;
|
|
75
|
+
/** @internal */
|
|
76
|
+
export type SaveAction$Outbound = {
|
|
77
|
+
if?: CaseExpression$Outbound | (CelExpression$Outbound & {
|
|
78
|
+
type: "cel";
|
|
79
|
+
}) | (JMESPathExpression$Outbound & {
|
|
80
|
+
type: "jmespath";
|
|
81
|
+
}) | (JMESPathExpression$Outbound & {
|
|
82
|
+
type: "jp";
|
|
83
|
+
}) | string | null | undefined;
|
|
84
|
+
action: "save";
|
|
85
|
+
name?: string | null | undefined;
|
|
86
|
+
inputs?: Array<string> | null | undefined;
|
|
87
|
+
};
|
|
88
|
+
/** @internal */
|
|
89
|
+
export declare const SaveAction$outboundSchema: z.ZodType<SaveAction$Outbound, z.ZodTypeDef, SaveAction>;
|
|
90
|
+
export declare function saveActionToJSON(saveAction: SaveAction): string;
|
|
91
|
+
export declare function saveActionFromJSON(jsonString: string): SafeParseResult<SaveAction, SDKValidationError>;
|
|
92
|
+
//# sourceMappingURL=saveaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saveaction.d.ts","sourceRoot":"","sources":["../../src/models/components/saveaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9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IT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SaveAction$outboundSchema = exports.SaveAction$inboundSchema = exports.SaveActionIf$outboundSchema = exports.SaveActionIf$inboundSchema = exports.SaveActionIf1$outboundSchema = exports.SaveActionIf1$inboundSchema = void 0;
|
|
40
|
+
exports.saveActionIf1ToJSON = saveActionIf1ToJSON;
|
|
41
|
+
exports.saveActionIf1FromJSON = saveActionIf1FromJSON;
|
|
42
|
+
exports.saveActionIfToJSON = saveActionIfToJSON;
|
|
43
|
+
exports.saveActionIfFromJSON = saveActionIfFromJSON;
|
|
44
|
+
exports.saveActionToJSON = saveActionToJSON;
|
|
45
|
+
exports.saveActionFromJSON = saveActionFromJSON;
|
|
46
|
+
const z = __importStar(require("zod/v3"));
|
|
47
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
48
|
+
const caseexpression_js_1 = require("./caseexpression.js");
|
|
49
|
+
const celexpression_js_1 = require("./celexpression.js");
|
|
50
|
+
const jmespathexpression_js_1 = require("./jmespathexpression.js");
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.SaveActionIf1$inboundSchema = z.union([
|
|
53
|
+
celexpression_js_1.CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type }))),
|
|
54
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
55
|
+
type: v.type,
|
|
56
|
+
}))),
|
|
57
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type }))),
|
|
58
|
+
]);
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.SaveActionIf1$outboundSchema = z.union([
|
|
61
|
+
celexpression_js_1.CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type }))),
|
|
62
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
63
|
+
type: v.type,
|
|
64
|
+
}))),
|
|
65
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type }))),
|
|
66
|
+
]);
|
|
67
|
+
function saveActionIf1ToJSON(saveActionIf1) {
|
|
68
|
+
return JSON.stringify(exports.SaveActionIf1$outboundSchema.parse(saveActionIf1));
|
|
69
|
+
}
|
|
70
|
+
function saveActionIf1FromJSON(jsonString) {
|
|
71
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SaveActionIf1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SaveActionIf1' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
/** @internal */
|
|
74
|
+
exports.SaveActionIf$inboundSchema = z.union([
|
|
75
|
+
caseexpression_js_1.CaseExpression$inboundSchema,
|
|
76
|
+
z.union([
|
|
77
|
+
celexpression_js_1.CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type }))),
|
|
78
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
79
|
+
type: v.type,
|
|
80
|
+
}))),
|
|
81
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type }))),
|
|
82
|
+
]),
|
|
83
|
+
z.string(),
|
|
84
|
+
]);
|
|
85
|
+
/** @internal */
|
|
86
|
+
exports.SaveActionIf$outboundSchema = z.union([
|
|
87
|
+
caseexpression_js_1.CaseExpression$outboundSchema,
|
|
88
|
+
z.union([
|
|
89
|
+
celexpression_js_1.CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({ type: v.type }))),
|
|
90
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
91
|
+
type: v.type,
|
|
92
|
+
}))),
|
|
93
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({ type: v.type }))),
|
|
94
|
+
]),
|
|
95
|
+
z.string(),
|
|
96
|
+
]);
|
|
97
|
+
function saveActionIfToJSON(saveActionIf) {
|
|
98
|
+
return JSON.stringify(exports.SaveActionIf$outboundSchema.parse(saveActionIf));
|
|
99
|
+
}
|
|
100
|
+
function saveActionIfFromJSON(jsonString) {
|
|
101
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SaveActionIf$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SaveActionIf' from JSON`);
|
|
102
|
+
}
|
|
103
|
+
/** @internal */
|
|
104
|
+
exports.SaveAction$inboundSchema = z.object({
|
|
105
|
+
if: z.nullable(z.union([
|
|
106
|
+
caseexpression_js_1.CaseExpression$inboundSchema,
|
|
107
|
+
z.union([
|
|
108
|
+
celexpression_js_1.CelExpression$inboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({
|
|
109
|
+
type: v.type,
|
|
110
|
+
}))),
|
|
111
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
112
|
+
type: v.type,
|
|
113
|
+
}))),
|
|
114
|
+
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({
|
|
115
|
+
type: v.type,
|
|
116
|
+
}))),
|
|
117
|
+
]),
|
|
118
|
+
z.string(),
|
|
119
|
+
])).optional(),
|
|
120
|
+
action: z.literal("save").default("save"),
|
|
121
|
+
name: z.nullable(z.string()).optional(),
|
|
122
|
+
inputs: z.nullable(z.array(z.string())).optional(),
|
|
123
|
+
});
|
|
124
|
+
/** @internal */
|
|
125
|
+
exports.SaveAction$outboundSchema = z.object({
|
|
126
|
+
if: z.nullable(z.union([
|
|
127
|
+
caseexpression_js_1.CaseExpression$outboundSchema,
|
|
128
|
+
z.union([
|
|
129
|
+
celexpression_js_1.CelExpression$outboundSchema.and(z.object({ type: z.literal("cel") }).transform((v) => ({
|
|
130
|
+
type: v.type,
|
|
131
|
+
}))),
|
|
132
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") }).transform((v) => ({
|
|
133
|
+
type: v.type,
|
|
134
|
+
}))),
|
|
135
|
+
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") }).transform((v) => ({
|
|
136
|
+
type: v.type,
|
|
137
|
+
}))),
|
|
138
|
+
]),
|
|
139
|
+
z.string(),
|
|
140
|
+
])).optional(),
|
|
141
|
+
action: z.literal("save").default("save"),
|
|
142
|
+
name: z.nullable(z.string()).optional(),
|
|
143
|
+
inputs: z.nullable(z.array(z.string())).optional(),
|
|
144
|
+
});
|
|
145
|
+
function saveActionToJSON(saveAction) {
|
|
146
|
+
return JSON.stringify(exports.SaveAction$outboundSchema.parse(saveAction));
|
|
147
|
+
}
|
|
148
|
+
function saveActionFromJSON(jsonString) {
|
|
149
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SaveAction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SaveAction' from JSON`);
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=saveaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saveaction.js","sourceRoot":"","sources":["../../src/models/components/saveaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GH,kDAEC;AACD,sDAQC;AAuDD,gDAEC;AACD,oDAQC;AAoFD,4CAEC;AACD,gDAQC;AApRD,0CAA4B;AAC5B,qDAAiD;AAGjD,2DAK6B;AAC7B,yDAK4B;AAC5B,mEAKiC;AAwCjC,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,KAAK,CAAC;IACV,8CAA2B,CAAC,GAAG,CAC7B,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,C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