syllable-sdk 1.0.14-rc.1 → 1.0.14-rc.3
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 +295 -269
- package/bin/mcp-server.js.map +26 -26
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +9 -0
- package/lib/encodings.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/callaction.d.ts +7 -19
- package/models/components/callaction.d.ts.map +1 -1
- package/models/components/callaction.js +8 -8
- package/models/components/callaction.js.map +1 -1
- package/models/components/celexpression.d.ts +1 -1
- package/models/components/celexpression.d.ts.map +1 -1
- package/models/components/celexpression.js +2 -2
- package/models/components/celexpression.js.map +1 -1
- package/models/components/conditionaltext.d.ts +6 -18
- package/models/components/conditionaltext.d.ts.map +1 -1
- package/models/components/conditionaltext.js +6 -6
- package/models/components/conditionaltext.js.map +1 -1
- package/models/components/conditionalvalue.d.ts +12 -36
- package/models/components/conditionalvalue.d.ts.map +1 -1
- package/models/components/conditionalvalue.js +12 -12
- package/models/components/conditionalvalue.js.map +1 -1
- package/models/components/context.d.ts +8 -104
- package/models/components/context.d.ts.map +1 -1
- package/models/components/context.js +48 -48
- package/models/components/context.js.map +1 -1
- package/models/components/eventtask.d.ts +1 -1
- package/models/components/eventtask.d.ts.map +1 -1
- package/models/components/eventtask.js +2 -2
- package/models/components/eventtask.js.map +1 -1
- package/models/components/eventtaskevents.d.ts +4 -44
- package/models/components/eventtaskevents.d.ts.map +1 -1
- package/models/components/eventtaskevents.js +20 -20
- package/models/components/eventtaskevents.js.map +1 -1
- package/models/components/expressiontask.d.ts +7 -19
- package/models/components/expressiontask.d.ts.map +1 -1
- package/models/components/expressiontask.js +8 -8
- package/models/components/expressiontask.js.map +1 -1
- package/models/components/expressiontaskevents.d.ts +8 -88
- package/models/components/expressiontaskevents.d.ts.map +1 -1
- package/models/components/expressiontaskevents.js +40 -40
- package/models/components/expressiontaskevents.js.map +1 -1
- package/models/components/incrementaction.d.ts +7 -19
- package/models/components/incrementaction.d.ts.map +1 -1
- package/models/components/incrementaction.js +8 -8
- package/models/components/incrementaction.js.map +1 -1
- package/models/components/loadtoolfromfiletask.d.ts +1 -1
- package/models/components/loadtoolfromfiletask.d.ts.map +1 -1
- package/models/components/loadtoolfromfiletask.js +2 -2
- package/models/components/loadtoolfromfiletask.js.map +1 -1
- package/models/components/nextstep.d.ts +6 -18
- package/models/components/nextstep.d.ts.map +1 -1
- package/models/components/nextstep.js +6 -6
- package/models/components/nextstep.js.map +1 -1
- package/models/components/saveaction.d.ts +7 -19
- package/models/components/saveaction.d.ts.map +1 -1
- package/models/components/saveaction.js +8 -8
- package/models/components/saveaction.js.map +1 -1
- package/models/components/sayaction.d.ts +7 -19
- package/models/components/sayaction.d.ts.map +1 -1
- package/models/components/sayaction.js +8 -8
- package/models/components/sayaction.js.map +1 -1
- package/models/components/setvalueaction.d.ts +13 -37
- package/models/components/setvalueaction.d.ts.map +1 -1
- package/models/components/setvalueaction.js +14 -14
- package/models/components/setvalueaction.js.map +1 -1
- package/models/components/step.d.ts +1 -1
- package/models/components/stepeventactions.d.ts +27 -133
- package/models/components/stepeventactions.d.ts.map +1 -1
- package/models/components/stepeventactions.js +91 -61
- package/models/components/stepeventactions.js.map +1 -1
- package/models/components/stepstask.d.ts +1 -1
- package/models/components/stepstask.d.ts.map +1 -1
- package/models/components/stepstask.js +2 -2
- package/models/components/stepstask.js.map +1 -1
- package/models/components/toolparametertransformcondition.d.ts +1 -1
- package/models/components/toolparametertransformcondition.d.ts.map +1 -1
- package/models/components/toolparametertransformcondition.js +2 -2
- package/models/components/toolparametertransformcondition.js.map +1 -1
- package/models/components/variable.d.ts +6 -18
- package/models/components/variable.d.ts.map +1 -1
- package/models/components/variable.js +6 -6
- package/models/components/variable.js.map +1 -1
- package/openapi.json +67 -34
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +13 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/callaction.ts +15 -15
- package/src/models/components/celexpression.ts +3 -3
- package/src/models/components/conditionaltext.ts +12 -12
- package/src/models/components/conditionalvalue.ts +24 -24
- package/src/models/components/context.ts +87 -149
- package/src/models/components/eventtask.ts +3 -3
- package/src/models/components/eventtaskevents.ts +36 -48
- package/src/models/components/expressiontask.ts +15 -15
- package/src/models/components/expressiontaskevents.ts +72 -96
- package/src/models/components/incrementaction.ts +15 -15
- package/src/models/components/loadtoolfromfiletask.ts +3 -3
- package/src/models/components/nextstep.ts +12 -12
- package/src/models/components/saveaction.ts +15 -15
- package/src/models/components/sayaction.ts +15 -15
- package/src/models/components/setvalueaction.ts +27 -27
- package/src/models/components/step.ts +1 -1
- package/src/models/components/stepeventactions.ts +182 -145
- package/src/models/components/stepstask.ts +3 -3
- package/src/models/components/toolparametertransformcondition.ts +3 -3
- package/src/models/components/variable.ts +12 -12
- package/src/types/unrecognized.ts +9 -1
- package/tsconfig.json +1 -2
- package/types/unrecognized.d.ts +7 -1
- package/types/unrecognized.d.ts.map +1 -1
- package/types/unrecognized.js +9 -1
- package/types/unrecognized.js.map +1 -1
|
@@ -5,9 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
import { CaseExpression, CaseExpression$Outbound } from "./caseexpression.js";
|
|
6
6
|
import { CelExpression, CelExpression$Outbound } from "./celexpression.js";
|
|
7
7
|
import { JMESPathExpression, JMESPathExpression$Outbound } from "./jmespathexpression.js";
|
|
8
|
-
export type One =
|
|
9
|
-
type: "cel";
|
|
10
|
-
}) | (JMESPathExpression & {
|
|
8
|
+
export type One = CelExpression | (JMESPathExpression & {
|
|
11
9
|
type: "jmespath";
|
|
12
10
|
}) | (JMESPathExpression & {
|
|
13
11
|
type: "jp";
|
|
@@ -15,9 +13,7 @@ export type One = (CelExpression & {
|
|
|
15
13
|
/**
|
|
16
14
|
* Expression to compute initial value (mutually exclusive with value).
|
|
17
15
|
*/
|
|
18
|
-
export type VariableValueFrom = CaseExpression |
|
|
19
|
-
type: "cel";
|
|
20
|
-
}) | (JMESPathExpression & {
|
|
16
|
+
export type VariableValueFrom = CaseExpression | CelExpression | (JMESPathExpression & {
|
|
21
17
|
type: "jmespath";
|
|
22
18
|
}) | (JMESPathExpression & {
|
|
23
19
|
type: "jp";
|
|
@@ -40,9 +36,7 @@ export type Variable = {
|
|
|
40
36
|
/**
|
|
41
37
|
* Expression to compute initial value (mutually exclusive with value).
|
|
42
38
|
*/
|
|
43
|
-
valueFrom?: CaseExpression |
|
|
44
|
-
type: "cel";
|
|
45
|
-
}) | (JMESPathExpression & {
|
|
39
|
+
valueFrom?: CaseExpression | CelExpression | (JMESPathExpression & {
|
|
46
40
|
type: "jmespath";
|
|
47
41
|
}) | (JMESPathExpression & {
|
|
48
42
|
type: "jp";
|
|
@@ -62,9 +56,7 @@ export type Variable = {
|
|
|
62
56
|
/** @internal */
|
|
63
57
|
export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
|
|
64
58
|
/** @internal */
|
|
65
|
-
export type One$Outbound =
|
|
66
|
-
type: "cel";
|
|
67
|
-
}) | (JMESPathExpression$Outbound & {
|
|
59
|
+
export type One$Outbound = CelExpression$Outbound | (JMESPathExpression$Outbound & {
|
|
68
60
|
type: "jmespath";
|
|
69
61
|
}) | (JMESPathExpression$Outbound & {
|
|
70
62
|
type: "jp";
|
|
@@ -76,9 +68,7 @@ export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SD
|
|
|
76
68
|
/** @internal */
|
|
77
69
|
export declare const VariableValueFrom$inboundSchema: z.ZodType<VariableValueFrom, z.ZodTypeDef, unknown>;
|
|
78
70
|
/** @internal */
|
|
79
|
-
export type VariableValueFrom$Outbound = CaseExpression$Outbound |
|
|
80
|
-
type: "cel";
|
|
81
|
-
}) | (JMESPathExpression$Outbound & {
|
|
71
|
+
export type VariableValueFrom$Outbound = CaseExpression$Outbound | CelExpression$Outbound | (JMESPathExpression$Outbound & {
|
|
82
72
|
type: "jmespath";
|
|
83
73
|
}) | (JMESPathExpression$Outbound & {
|
|
84
74
|
type: "jp";
|
|
@@ -96,9 +86,7 @@ export declare const Variable$inboundSchema: z.ZodType<Variable, z.ZodTypeDef, u
|
|
|
96
86
|
/** @internal */
|
|
97
87
|
export type Variable$Outbound = {
|
|
98
88
|
value?: any | null | undefined;
|
|
99
|
-
value_from?: CaseExpression$Outbound |
|
|
100
|
-
type: "cel";
|
|
101
|
-
}) | (JMESPathExpression$Outbound & {
|
|
89
|
+
value_from?: CaseExpression$Outbound | CelExpression$Outbound | (JMESPathExpression$Outbound & {
|
|
102
90
|
type: "jmespath";
|
|
103
91
|
}) | (JMESPathExpression$Outbound & {
|
|
104
92
|
type: "jp";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../src/models/components/variable.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,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,GAAG,GACX,
|
|
1
|
+
{"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../src/models/components/variable.ts"],"names":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,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAC7C,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,QAAQ,CA8BR,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"}
|
|
@@ -60,14 +60,14 @@ exports.VariableType = {
|
|
|
60
60
|
};
|
|
61
61
|
/** @internal */
|
|
62
62
|
exports.One$inboundSchema = z.union([
|
|
63
|
-
celexpression_js_1.CelExpression$inboundSchema
|
|
63
|
+
celexpression_js_1.CelExpression$inboundSchema,
|
|
64
64
|
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") })),
|
|
65
65
|
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
|
|
66
66
|
]);
|
|
67
67
|
/** @internal */
|
|
68
68
|
exports.One$outboundSchema = z
|
|
69
69
|
.union([
|
|
70
|
-
celexpression_js_1.CelExpression$outboundSchema
|
|
70
|
+
celexpression_js_1.CelExpression$outboundSchema,
|
|
71
71
|
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") })),
|
|
72
72
|
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
|
|
73
73
|
]);
|
|
@@ -81,7 +81,7 @@ function oneFromJSON(jsonString) {
|
|
|
81
81
|
exports.VariableValueFrom$inboundSchema = z.union([
|
|
82
82
|
caseexpression_js_1.CaseExpression$inboundSchema,
|
|
83
83
|
z.union([
|
|
84
|
-
celexpression_js_1.CelExpression$inboundSchema
|
|
84
|
+
celexpression_js_1.CelExpression$inboundSchema,
|
|
85
85
|
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") })),
|
|
86
86
|
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
|
|
87
87
|
]),
|
|
@@ -91,7 +91,7 @@ exports.VariableValueFrom$inboundSchema = z.union([
|
|
|
91
91
|
exports.VariableValueFrom$outboundSchema = z.union([
|
|
92
92
|
caseexpression_js_1.CaseExpression$outboundSchema,
|
|
93
93
|
z.union([
|
|
94
|
-
celexpression_js_1.CelExpression$outboundSchema
|
|
94
|
+
celexpression_js_1.CelExpression$outboundSchema,
|
|
95
95
|
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") })),
|
|
96
96
|
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
|
|
97
97
|
]),
|
|
@@ -113,7 +113,7 @@ exports.Variable$inboundSchema = z.object({
|
|
|
113
113
|
value_from: z.nullable(z.union([
|
|
114
114
|
caseexpression_js_1.CaseExpression$inboundSchema,
|
|
115
115
|
z.union([
|
|
116
|
-
celexpression_js_1.CelExpression$inboundSchema
|
|
116
|
+
celexpression_js_1.CelExpression$inboundSchema,
|
|
117
117
|
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jmespath") })),
|
|
118
118
|
jmespathexpression_js_1.JMESPathExpression$inboundSchema.and(z.object({ type: z.literal("jp") })),
|
|
119
119
|
]),
|
|
@@ -138,7 +138,7 @@ exports.Variable$outboundSchema = z.object({
|
|
|
138
138
|
valueFrom: z.nullable(z.union([
|
|
139
139
|
caseexpression_js_1.CaseExpression$outboundSchema,
|
|
140
140
|
z.union([
|
|
141
|
-
celexpression_js_1.CelExpression$outboundSchema
|
|
141
|
+
celexpression_js_1.CelExpression$outboundSchema,
|
|
142
142
|
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jmespath") })),
|
|
143
143
|
jmespathexpression_js_1.JMESPathExpression$outboundSchema.and(z.object({ type: z.literal("jp") })),
|
|
144
144
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variable.js","sourceRoot":"","sources":["../../src/models/components/variable.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GH,8BAEC;AACD,kCAQC;AA2CD,0DAMC;AACD,8DAQC;AAqGD,wCAEC;AACD,4CAQC;AA/RD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAIjD,2DAK6B;AAC7B,yDAK4B;AAC5B,mEAKiC;AAiBpB,QAAA,YAAY,GAAG;IAC1B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAgCX,gBAAgB;AACH,QAAA,iBAAiB,GAA0C,CAAC,CAAC,KAAK,CAC7E;IACE,8CAA2B
|
|
1
|
+
{"version":3,"file":"variable.js","sourceRoot":"","sources":["../../src/models/components/variable.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;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AAC,EAClD,sCAAsC,CACvC,CAAC;AACJ,CAAC"}
|
package/openapi.json
CHANGED
|
@@ -13939,7 +13939,7 @@
|
|
|
13939
13939
|
"title": "Batch Id",
|
|
13940
13940
|
"description": "Unique ID for conversation batch",
|
|
13941
13941
|
"examples": [
|
|
13942
|
-
"
|
|
13942
|
+
"20251202.9"
|
|
13943
13943
|
]
|
|
13944
13944
|
},
|
|
13945
13945
|
"campaign_id": {
|
|
@@ -13963,7 +13963,7 @@
|
|
|
13963
13963
|
"title": "Expires On",
|
|
13964
13964
|
"description": "Timestamp of batch expiration",
|
|
13965
13965
|
"examples": [
|
|
13966
|
-
"2025-
|
|
13966
|
+
"2025-12-03T00:00:00Z"
|
|
13967
13967
|
]
|
|
13968
13968
|
},
|
|
13969
13969
|
"paused": {
|
|
@@ -14016,7 +14016,7 @@
|
|
|
14016
14016
|
"title": "Created At",
|
|
14017
14017
|
"description": "Timestamp of batch creation",
|
|
14018
14018
|
"examples": [
|
|
14019
|
-
"2025-
|
|
14019
|
+
"2025-12-02T00:00:00Z"
|
|
14020
14020
|
]
|
|
14021
14021
|
},
|
|
14022
14022
|
"deleted_at": {
|
|
@@ -14032,7 +14032,7 @@
|
|
|
14032
14032
|
"title": "Deleted At",
|
|
14033
14033
|
"description": "Timestamp of batch deletion",
|
|
14034
14034
|
"examples": [
|
|
14035
|
-
"2025-
|
|
14035
|
+
"2025-12-02T00:00:00Z"
|
|
14036
14036
|
]
|
|
14037
14037
|
},
|
|
14038
14038
|
"deleted_reason": {
|
|
@@ -14063,7 +14063,7 @@
|
|
|
14063
14063
|
"title": "Last Updated At",
|
|
14064
14064
|
"description": "Timestamp of last change to batch",
|
|
14065
14065
|
"examples": [
|
|
14066
|
-
"2025-
|
|
14066
|
+
"2025-12-02T00:00:00Z"
|
|
14067
14067
|
]
|
|
14068
14068
|
},
|
|
14069
14069
|
"last_updated_by": {
|
|
@@ -14974,7 +14974,7 @@
|
|
|
14974
14974
|
"title": "Batch Id",
|
|
14975
14975
|
"description": "Unique ID for conversation batch",
|
|
14976
14976
|
"examples": [
|
|
14977
|
-
"
|
|
14977
|
+
"20251202.9"
|
|
14978
14978
|
]
|
|
14979
14979
|
},
|
|
14980
14980
|
"campaign_id": {
|
|
@@ -14998,7 +14998,7 @@
|
|
|
14998
14998
|
"title": "Expires On",
|
|
14999
14999
|
"description": "Timestamp of batch expiration",
|
|
15000
15000
|
"examples": [
|
|
15001
|
-
"2025-
|
|
15001
|
+
"2025-12-03T00:00:00Z"
|
|
15002
15002
|
]
|
|
15003
15003
|
},
|
|
15004
15004
|
"paused": {
|
|
@@ -15051,7 +15051,7 @@
|
|
|
15051
15051
|
"title": "Created At",
|
|
15052
15052
|
"description": "Timestamp of batch creation",
|
|
15053
15053
|
"examples": [
|
|
15054
|
-
"2025-
|
|
15054
|
+
"2025-12-02T00:00:00Z"
|
|
15055
15055
|
]
|
|
15056
15056
|
},
|
|
15057
15057
|
"deleted_at": {
|
|
@@ -15067,7 +15067,7 @@
|
|
|
15067
15067
|
"title": "Deleted At",
|
|
15068
15068
|
"description": "Timestamp of batch deletion",
|
|
15069
15069
|
"examples": [
|
|
15070
|
-
"2025-
|
|
15070
|
+
"2025-12-02T00:00:00Z"
|
|
15071
15071
|
]
|
|
15072
15072
|
},
|
|
15073
15073
|
"deleted_reason": {
|
|
@@ -15098,7 +15098,7 @@
|
|
|
15098
15098
|
"title": "Last Updated At",
|
|
15099
15099
|
"description": "Timestamp of last change to batch",
|
|
15100
15100
|
"examples": [
|
|
15101
|
-
"2025-
|
|
15101
|
+
"2025-12-02T00:00:00Z"
|
|
15102
15102
|
]
|
|
15103
15103
|
},
|
|
15104
15104
|
"last_updated_by": {
|
|
@@ -15141,7 +15141,7 @@
|
|
|
15141
15141
|
"title": "Batch Id",
|
|
15142
15142
|
"description": "Unique ID for conversation batch",
|
|
15143
15143
|
"examples": [
|
|
15144
|
-
"
|
|
15144
|
+
"20251202.9"
|
|
15145
15145
|
]
|
|
15146
15146
|
},
|
|
15147
15147
|
"campaign_id": {
|
|
@@ -15165,7 +15165,7 @@
|
|
|
15165
15165
|
"title": "Expires On",
|
|
15166
15166
|
"description": "Timestamp of batch expiration",
|
|
15167
15167
|
"examples": [
|
|
15168
|
-
"2025-
|
|
15168
|
+
"2025-12-03T00:00:00Z"
|
|
15169
15169
|
]
|
|
15170
15170
|
},
|
|
15171
15171
|
"paused": {
|
|
@@ -15314,7 +15314,7 @@
|
|
|
15314
15314
|
"title": "Created At",
|
|
15315
15315
|
"description": "Timestamp of request creation",
|
|
15316
15316
|
"examples": [
|
|
15317
|
-
"2025-
|
|
15317
|
+
"2025-12-01T00:00:00Z"
|
|
15318
15318
|
]
|
|
15319
15319
|
},
|
|
15320
15320
|
"sent_at": {
|
|
@@ -15330,7 +15330,7 @@
|
|
|
15330
15330
|
"title": "Sent At",
|
|
15331
15331
|
"description": "Timestamp at which request was sent",
|
|
15332
15332
|
"examples": [
|
|
15333
|
-
"2025-
|
|
15333
|
+
"2025-12-02T00:00:00Z"
|
|
15334
15334
|
]
|
|
15335
15335
|
},
|
|
15336
15336
|
"attempt_count": {
|
|
@@ -18176,7 +18176,7 @@
|
|
|
18176
18176
|
"title": "Created At",
|
|
18177
18177
|
"description": "Timestamp at which insight upload folder was created",
|
|
18178
18178
|
"examples": [
|
|
18179
|
-
"2025-
|
|
18179
|
+
"2025-12-01T00:00:00Z"
|
|
18180
18180
|
]
|
|
18181
18181
|
},
|
|
18182
18182
|
"updated_at": {
|
|
@@ -18185,7 +18185,7 @@
|
|
|
18185
18185
|
"title": "Updated At",
|
|
18186
18186
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
18187
18187
|
"examples": [
|
|
18188
|
-
"2025-
|
|
18188
|
+
"2025-12-02T00:00:00Z"
|
|
18189
18189
|
]
|
|
18190
18190
|
},
|
|
18191
18191
|
"last_updated_by": {
|
|
@@ -19041,7 +19041,7 @@
|
|
|
19041
19041
|
"title": "Created At",
|
|
19042
19042
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
19043
19043
|
"examples": [
|
|
19044
|
-
"2025-
|
|
19044
|
+
"2025-12-01T00:00:00Z"
|
|
19045
19045
|
]
|
|
19046
19046
|
},
|
|
19047
19047
|
"updated_at": {
|
|
@@ -19050,7 +19050,7 @@
|
|
|
19050
19050
|
"title": "Updated At",
|
|
19051
19051
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
19052
19052
|
"examples": [
|
|
19053
|
-
"2025-
|
|
19053
|
+
"2025-12-02T00:00:00Z"
|
|
19054
19054
|
]
|
|
19055
19055
|
},
|
|
19056
19056
|
"last_updated_by": {
|
|
@@ -19431,7 +19431,7 @@
|
|
|
19431
19431
|
"title": "Start Datetime",
|
|
19432
19432
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
19433
19433
|
"examples": [
|
|
19434
|
-
"2025-
|
|
19434
|
+
"2025-12-01T00:00:00Z"
|
|
19435
19435
|
]
|
|
19436
19436
|
},
|
|
19437
19437
|
"end_datetime": {
|
|
@@ -19447,7 +19447,7 @@
|
|
|
19447
19447
|
"title": "End Datetime",
|
|
19448
19448
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
19449
19449
|
"examples": [
|
|
19450
|
-
"2025-
|
|
19450
|
+
"2025-12-02T00:00:00Z"
|
|
19451
19451
|
]
|
|
19452
19452
|
}
|
|
19453
19453
|
},
|
|
@@ -19522,7 +19522,7 @@
|
|
|
19522
19522
|
"title": "Start Datetime",
|
|
19523
19523
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
19524
19524
|
"examples": [
|
|
19525
|
-
"2025-
|
|
19525
|
+
"2025-12-01T00:00:00Z"
|
|
19526
19526
|
]
|
|
19527
19527
|
},
|
|
19528
19528
|
"end_datetime": {
|
|
@@ -19538,7 +19538,7 @@
|
|
|
19538
19538
|
"title": "End Datetime",
|
|
19539
19539
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
19540
19540
|
"examples": [
|
|
19541
|
-
"2025-
|
|
19541
|
+
"2025-12-02T00:00:00Z"
|
|
19542
19542
|
]
|
|
19543
19543
|
},
|
|
19544
19544
|
"id": {
|
|
@@ -19591,7 +19591,7 @@
|
|
|
19591
19591
|
"title": "Created At",
|
|
19592
19592
|
"description": "Timestamp at which the insight workflow was created",
|
|
19593
19593
|
"examples": [
|
|
19594
|
-
"2025-
|
|
19594
|
+
"2025-12-01T00:00:00Z"
|
|
19595
19595
|
]
|
|
19596
19596
|
},
|
|
19597
19597
|
"updated_at": {
|
|
@@ -19600,7 +19600,7 @@
|
|
|
19600
19600
|
"title": "Updated At",
|
|
19601
19601
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
19602
19602
|
"examples": [
|
|
19603
|
-
"2025-
|
|
19603
|
+
"2025-12-02T00:00:00Z"
|
|
19604
19604
|
]
|
|
19605
19605
|
},
|
|
19606
19606
|
"last_updated_by": {
|
|
@@ -19696,7 +19696,7 @@
|
|
|
19696
19696
|
"title": "Created At",
|
|
19697
19697
|
"description": "Timestamp at which insight upload folder was created",
|
|
19698
19698
|
"examples": [
|
|
19699
|
-
"2025-
|
|
19699
|
+
"2025-12-01T00:00:00Z"
|
|
19700
19700
|
]
|
|
19701
19701
|
},
|
|
19702
19702
|
"updated_at": {
|
|
@@ -19705,7 +19705,7 @@
|
|
|
19705
19705
|
"title": "Updated At",
|
|
19706
19706
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
19707
19707
|
"examples": [
|
|
19708
|
-
"2025-
|
|
19708
|
+
"2025-12-02T00:00:00Z"
|
|
19709
19709
|
]
|
|
19710
19710
|
},
|
|
19711
19711
|
"last_updated_by": {
|
|
@@ -19940,7 +19940,7 @@
|
|
|
19940
19940
|
"title": "Created At",
|
|
19941
19941
|
"description": "Timestamp at which insight tool result was created",
|
|
19942
19942
|
"examples": [
|
|
19943
|
-
"2025-
|
|
19943
|
+
"2025-12-01T00:00:00Z"
|
|
19944
19944
|
]
|
|
19945
19945
|
},
|
|
19946
19946
|
"updated_at": {
|
|
@@ -19949,7 +19949,7 @@
|
|
|
19949
19949
|
"title": "Updated At",
|
|
19950
19950
|
"description": "Timestamp at which insight tool result was last updated",
|
|
19951
19951
|
"examples": [
|
|
19952
|
-
"2025-
|
|
19952
|
+
"2025-12-02T00:00:00Z"
|
|
19953
19953
|
]
|
|
19954
19954
|
},
|
|
19955
19955
|
"upload_file_metadata": {
|
|
@@ -20094,7 +20094,7 @@
|
|
|
20094
20094
|
"title": "Start Time",
|
|
20095
20095
|
"description": "Start time of the uploaded file",
|
|
20096
20096
|
"examples": [
|
|
20097
|
-
"2025-
|
|
20097
|
+
"2025-12-01T00:00:00Z"
|
|
20098
20098
|
]
|
|
20099
20099
|
},
|
|
20100
20100
|
"end_time": {
|
|
@@ -20110,7 +20110,7 @@
|
|
|
20110
20110
|
"title": "End Time",
|
|
20111
20111
|
"description": "End time of the uploaded file",
|
|
20112
20112
|
"examples": [
|
|
20113
|
-
"2025-
|
|
20113
|
+
"2025-12-02T00:00:00Z"
|
|
20114
20114
|
]
|
|
20115
20115
|
},
|
|
20116
20116
|
"error_message": {
|
|
@@ -20165,7 +20165,7 @@
|
|
|
20165
20165
|
"title": "Created At",
|
|
20166
20166
|
"description": "Timestamp at which insight upload file was created",
|
|
20167
20167
|
"examples": [
|
|
20168
|
-
"2025-
|
|
20168
|
+
"2025-12-01T00:00:00Z"
|
|
20169
20169
|
]
|
|
20170
20170
|
}
|
|
20171
20171
|
},
|
|
@@ -23524,7 +23524,7 @@
|
|
|
23524
23524
|
"title": "Created At",
|
|
23525
23525
|
"description": "Timestamp of campaign creation",
|
|
23526
23526
|
"examples": [
|
|
23527
|
-
"2025-
|
|
23527
|
+
"2025-12-02T00:00:00Z"
|
|
23528
23528
|
]
|
|
23529
23529
|
},
|
|
23530
23530
|
"updated_at": {
|
|
@@ -23533,7 +23533,7 @@
|
|
|
23533
23533
|
"title": "Updated At",
|
|
23534
23534
|
"description": "Timestamp of campaign update",
|
|
23535
23535
|
"examples": [
|
|
23536
|
-
"2025-
|
|
23536
|
+
"2025-12-02T00:00:00Z"
|
|
23537
23537
|
]
|
|
23538
23538
|
},
|
|
23539
23539
|
"last_updated_by": {
|
|
@@ -26592,6 +26592,39 @@
|
|
|
26592
26592
|
"title": "Enter",
|
|
26593
26593
|
"description": "Actions to execute when entering a step (before collecting inputs)."
|
|
26594
26594
|
},
|
|
26595
|
+
"presubmit": {
|
|
26596
|
+
"anyOf": [
|
|
26597
|
+
{
|
|
26598
|
+
"items": {
|
|
26599
|
+
"oneOf": [
|
|
26600
|
+
{
|
|
26601
|
+
"$ref": "#/components/schemas/SetValueAction"
|
|
26602
|
+
},
|
|
26603
|
+
{
|
|
26604
|
+
"$ref": "#/components/schemas/IncrementAction"
|
|
26605
|
+
},
|
|
26606
|
+
{
|
|
26607
|
+
"$ref": "#/components/schemas/SaveAction"
|
|
26608
|
+
}
|
|
26609
|
+
],
|
|
26610
|
+
"discriminator": {
|
|
26611
|
+
"propertyName": "action",
|
|
26612
|
+
"mapping": {
|
|
26613
|
+
"inc": "#/components/schemas/IncrementAction",
|
|
26614
|
+
"save": "#/components/schemas/SaveAction",
|
|
26615
|
+
"set": "#/components/schemas/SetValueAction"
|
|
26616
|
+
}
|
|
26617
|
+
}
|
|
26618
|
+
},
|
|
26619
|
+
"type": "array"
|
|
26620
|
+
},
|
|
26621
|
+
{
|
|
26622
|
+
"type": "null"
|
|
26623
|
+
}
|
|
26624
|
+
],
|
|
26625
|
+
"title": "Presubmit",
|
|
26626
|
+
"description": "Actions to execute before validation (data-mutation only: set, inc, save). Use this to set default values for required fields that would otherwise fail validation."
|
|
26627
|
+
},
|
|
26595
26628
|
"submit": {
|
|
26596
26629
|
"anyOf": [
|
|
26597
26630
|
{
|
|
@@ -26636,7 +26669,7 @@
|
|
|
26636
26669
|
},
|
|
26637
26670
|
"type": "object",
|
|
26638
26671
|
"title": "StepEventActions",
|
|
26639
|
-
"description": "Actions to perform when events occur (enter, submit)."
|
|
26672
|
+
"description": "Actions to perform when events occur (enter, presubmit, submit)."
|
|
26640
26673
|
},
|
|
26641
26674
|
"StepTools": {
|
|
26642
26675
|
"properties": {
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.2",
|
|
64
|
-
sdkVersion: "1.0.14-rc.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.14-rc.
|
|
64
|
+
sdkVersion: "1.0.14-rc.3",
|
|
65
|
+
genVersion: "2.768.1",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.14-rc.3 2.768.1 0.0.2 syllable-sdk",
|
|
67
67
|
} as const;
|
package/src/lib/encodings.ts
CHANGED
|
@@ -427,6 +427,7 @@ export function queryJoin(...args: (string | undefined)[]): string {
|
|
|
427
427
|
type QueryEncoderOptions = {
|
|
428
428
|
explode?: boolean;
|
|
429
429
|
charEncoding?: "percent" | "none";
|
|
430
|
+
allowEmptyValue?: string[];
|
|
430
431
|
};
|
|
431
432
|
|
|
432
433
|
type QueryEncoder = (
|
|
@@ -451,7 +452,19 @@ export function queryEncoder(f: QueryEncoder): BulkQueryEncoder {
|
|
|
451
452
|
charEncoding: options?.charEncoding ?? "percent",
|
|
452
453
|
};
|
|
453
454
|
|
|
455
|
+
const allowEmptySet = new Set(options?.allowEmptyValue ?? []);
|
|
456
|
+
|
|
454
457
|
const encoded = Object.entries(values).map(([key, value]) => {
|
|
458
|
+
if (allowEmptySet.has(key)) {
|
|
459
|
+
if (
|
|
460
|
+
value === undefined
|
|
461
|
+
|| value === null
|
|
462
|
+
|| value === ""
|
|
463
|
+
|| (Array.isArray(value) && value.length === 0)
|
|
464
|
+
) {
|
|
465
|
+
return `${encodeURIComponent(key)}=`;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
455
468
|
return f(key, value, opts);
|
|
456
469
|
});
|
|
457
470
|
return queryJoin(...encoded);
|
package/src/mcp-server/server.ts
CHANGED