syllable-sdk 0.1.0-alpha.58 → 0.1.0-alpha.59
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mintlify/mint.json +19 -27
- package/models/components/sessionaction.d.ts +5 -0
- package/models/components/sessionaction.d.ts.map +1 -1
- package/models/components/sessionaction.js +4 -0
- package/models/components/sessionaction.js.map +1 -1
- package/openapi.json +12 -0
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/sessionaction.ts +9 -0
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.59";
|
|
31
31
|
readonly genVersion: "2.512.4";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.59 2.512.4 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.2",
|
|
34
|
-
sdkVersion: "0.1.0-alpha.
|
|
34
|
+
sdkVersion: "0.1.0-alpha.59",
|
|
35
35
|
genVersion: "2.512.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.59 2.512.4 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/mintlify/mint.json
CHANGED
|
@@ -53,44 +53,36 @@
|
|
|
53
53
|
"pages": [
|
|
54
54
|
"introsyllable/HowSyllableWorks",
|
|
55
55
|
"introsyllable/KeyFeatures",
|
|
56
|
-
"introsyllable/LoginSignup"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
56
|
+
"introsyllable/LoginSignup",
|
|
57
|
+
{
|
|
58
|
+
"group": "Build your first agent",
|
|
59
|
+
"pages": [
|
|
60
|
+
"buildFirstAgent/Quickstart",
|
|
61
|
+
"buildFirstAgent/CreatePrompt",
|
|
62
|
+
"buildFirstAgent/CreateDataSource",
|
|
63
|
+
"buildFirstAgent/CreateTools",
|
|
64
|
+
"buildFirstAgent/CreateMessage",
|
|
65
|
+
"buildFirstAgent/CreateAgent"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
67
68
|
]
|
|
68
69
|
},
|
|
69
70
|
{
|
|
70
71
|
"group": "Workspaces",
|
|
71
72
|
"pages": [
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"pages": [
|
|
75
|
-
"workspaces/Agents",
|
|
76
|
-
"workspaces/SessionConfig"
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"group": "Insights",
|
|
81
|
-
"pages": [
|
|
82
|
-
"workspaces/SessionList",
|
|
83
|
-
"workspaces/SessionDetails"
|
|
84
|
-
]
|
|
85
|
-
}
|
|
73
|
+
"workspaces/Agents",
|
|
74
|
+
"workspaces/Sessions"
|
|
86
75
|
]
|
|
87
76
|
},
|
|
88
77
|
{
|
|
89
78
|
"group": "Resources",
|
|
90
79
|
"pages": [
|
|
91
|
-
"Resources/
|
|
92
|
-
"Resources/Tools",
|
|
80
|
+
"Resources/Channels",
|
|
93
81
|
"Resources/DataSources",
|
|
82
|
+
"Resources/LanguageGroups",
|
|
83
|
+
"Resources/Messages",
|
|
84
|
+
"Resources/Prompts",
|
|
85
|
+
"Resources/Tools",
|
|
94
86
|
"Resources/TelephonyIntegration",
|
|
95
87
|
"Resources/Webchat"
|
|
96
88
|
]
|
|
@@ -21,6 +21,10 @@ export type SessionAction = {
|
|
|
21
21
|
* Response received from the tool API, if applicable
|
|
22
22
|
*/
|
|
23
23
|
toolResult?: string | null | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Error received from the tool API, if applicable
|
|
26
|
+
*/
|
|
27
|
+
toolError?: string | null | undefined;
|
|
24
28
|
};
|
|
25
29
|
/** @internal */
|
|
26
30
|
export declare const SessionAction$inboundSchema: z.ZodType<SessionAction, z.ZodTypeDef, unknown>;
|
|
@@ -30,6 +34,7 @@ export type SessionAction$Outbound = {
|
|
|
30
34
|
tool_name?: string | null | undefined;
|
|
31
35
|
tool_request?: string | null | undefined;
|
|
32
36
|
tool_result?: string | null | undefined;
|
|
37
|
+
tool_error?: string | null | undefined;
|
|
33
38
|
};
|
|
34
39
|
/** @internal */
|
|
35
40
|
export declare const SessionAction$outboundSchema: z.ZodType<SessionAction$Outbound, z.ZodTypeDef, SessionAction>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionaction.d.ts","sourceRoot":"","sources":["../../src/models/components/sessionaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,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AAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAcb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -38,11 +38,13 @@ exports.SessionAction$inboundSchema = z.object({
|
|
|
38
38
|
tool_name: z.nullable(z.string()).optional(),
|
|
39
39
|
tool_request: z.nullable(z.string()).optional(),
|
|
40
40
|
tool_result: z.nullable(z.string()).optional(),
|
|
41
|
+
tool_error: z.nullable(z.string()).optional(),
|
|
41
42
|
}).transform((v) => {
|
|
42
43
|
return (0, primitives_js_1.remap)(v, {
|
|
43
44
|
"tool_name": "toolName",
|
|
44
45
|
"tool_request": "toolRequest",
|
|
45
46
|
"tool_result": "toolResult",
|
|
47
|
+
"tool_error": "toolError",
|
|
46
48
|
});
|
|
47
49
|
});
|
|
48
50
|
/** @internal */
|
|
@@ -51,11 +53,13 @@ exports.SessionAction$outboundSchema = z.object({
|
|
|
51
53
|
toolName: z.nullable(z.string()).optional(),
|
|
52
54
|
toolRequest: z.nullable(z.string()).optional(),
|
|
53
55
|
toolResult: z.nullable(z.string()).optional(),
|
|
56
|
+
toolError: z.nullable(z.string()).optional(),
|
|
54
57
|
}).transform((v) => {
|
|
55
58
|
return (0, primitives_js_1.remap)(v, {
|
|
56
59
|
toolName: "tool_name",
|
|
57
60
|
toolRequest: "tool_request",
|
|
58
61
|
toolResult: "tool_result",
|
|
62
|
+
toolError: "tool_error",
|
|
59
63
|
});
|
|
60
64
|
});
|
|
61
65
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionaction.js","sourceRoot":"","sources":["../../src/models/components/sessionaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sessionaction.js","sourceRoot":"","sources":["../../src/models/components/sessionaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGH,kDAEC;AAED,sDAQC;AA1GD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA8BjD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,WAAW;KAC1B,CAA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V,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
package/openapi.json
CHANGED
|
@@ -12733,6 +12733,18 @@
|
|
|
12733
12733
|
],
|
|
12734
12734
|
"title": "Tool Result",
|
|
12735
12735
|
"description": "Response received from the tool API, if applicable"
|
|
12736
|
+
},
|
|
12737
|
+
"tool_error": {
|
|
12738
|
+
"anyOf": [
|
|
12739
|
+
{
|
|
12740
|
+
"type": "string"
|
|
12741
|
+
},
|
|
12742
|
+
{
|
|
12743
|
+
"type": "null"
|
|
12744
|
+
}
|
|
12745
|
+
],
|
|
12746
|
+
"title": "Tool Error",
|
|
12747
|
+
"description": "Error received from the tool API, if applicable"
|
|
12736
12748
|
}
|
|
12737
12749
|
},
|
|
12738
12750
|
"type": "object",
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.2",
|
|
60
|
-
sdkVersion: "0.1.0-alpha.
|
|
60
|
+
sdkVersion: "0.1.0-alpha.59",
|
|
61
61
|
genVersion: "2.512.4",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.59 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -28,6 +28,10 @@ export type SessionAction = {
|
|
|
28
28
|
* Response received from the tool API, if applicable
|
|
29
29
|
*/
|
|
30
30
|
toolResult?: string | null | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Error received from the tool API, if applicable
|
|
33
|
+
*/
|
|
34
|
+
toolError?: string | null | undefined;
|
|
31
35
|
};
|
|
32
36
|
|
|
33
37
|
/** @internal */
|
|
@@ -40,11 +44,13 @@ export const SessionAction$inboundSchema: z.ZodType<
|
|
|
40
44
|
tool_name: z.nullable(z.string()).optional(),
|
|
41
45
|
tool_request: z.nullable(z.string()).optional(),
|
|
42
46
|
tool_result: z.nullable(z.string()).optional(),
|
|
47
|
+
tool_error: z.nullable(z.string()).optional(),
|
|
43
48
|
}).transform((v) => {
|
|
44
49
|
return remap$(v, {
|
|
45
50
|
"tool_name": "toolName",
|
|
46
51
|
"tool_request": "toolRequest",
|
|
47
52
|
"tool_result": "toolResult",
|
|
53
|
+
"tool_error": "toolError",
|
|
48
54
|
});
|
|
49
55
|
});
|
|
50
56
|
|
|
@@ -54,6 +60,7 @@ export type SessionAction$Outbound = {
|
|
|
54
60
|
tool_name?: string | null | undefined;
|
|
55
61
|
tool_request?: string | null | undefined;
|
|
56
62
|
tool_result?: string | null | undefined;
|
|
63
|
+
tool_error?: string | null | undefined;
|
|
57
64
|
};
|
|
58
65
|
|
|
59
66
|
/** @internal */
|
|
@@ -66,11 +73,13 @@ export const SessionAction$outboundSchema: z.ZodType<
|
|
|
66
73
|
toolName: z.nullable(z.string()).optional(),
|
|
67
74
|
toolRequest: z.nullable(z.string()).optional(),
|
|
68
75
|
toolResult: z.nullable(z.string()).optional(),
|
|
76
|
+
toolError: z.nullable(z.string()).optional(),
|
|
69
77
|
}).transform((v) => {
|
|
70
78
|
return remap$(v, {
|
|
71
79
|
toolName: "tool_name",
|
|
72
80
|
toolRequest: "tool_request",
|
|
73
81
|
toolResult: "tool_result",
|
|
82
|
+
toolError: "tool_error",
|
|
74
83
|
});
|
|
75
84
|
});
|
|
76
85
|
|