syllable-sdk 0.1.0-alpha.40 → 0.1.0-alpha.41
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/docs/sdks/tools/README.md +12 -12
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mintlify/mint.json +6 -0
- package/models/components/toolcreaterequest.d.ts +1 -1
- package/models/components/tooldetailresponse.d.ts +1 -1
- package/models/components/toolresponse.d.ts +1 -1
- package/models/components/toolupdaterequest.d.ts +1 -1
- package/openapi.json +48 -15
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/toolcreaterequest.ts +1 -1
- package/src/models/components/tooldetailresponse.ts +1 -1
- package/src/models/components/toolresponse.ts +1 -1
- package/src/models/components/toolupdaterequest.ts +1 -1
|
@@ -101,12 +101,12 @@ const syllableSDK = new SyllableSDK({
|
|
|
101
101
|
|
|
102
102
|
async function run() {
|
|
103
103
|
const result = await syllableSDK.tools.create({
|
|
104
|
-
name: "
|
|
104
|
+
name: "Weather Fetcher",
|
|
105
105
|
definition: {
|
|
106
106
|
tool: {
|
|
107
107
|
function: {
|
|
108
|
-
name: "
|
|
109
|
-
description: "
|
|
108
|
+
name: "weather_fetcher",
|
|
109
|
+
description: "Fetches weather data",
|
|
110
110
|
parameters: {
|
|
111
111
|
|
|
112
112
|
},
|
|
@@ -139,12 +139,12 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
139
139
|
|
|
140
140
|
async function run() {
|
|
141
141
|
const res = await toolsCreate(syllableSDK, {
|
|
142
|
-
name: "
|
|
142
|
+
name: "Weather Fetcher",
|
|
143
143
|
definition: {
|
|
144
144
|
tool: {
|
|
145
145
|
function: {
|
|
146
|
-
name: "
|
|
147
|
-
description: "
|
|
146
|
+
name: "weather_fetcher",
|
|
147
|
+
description: "Fetches weather data",
|
|
148
148
|
parameters: {
|
|
149
149
|
|
|
150
150
|
},
|
|
@@ -202,12 +202,12 @@ const syllableSDK = new SyllableSDK({
|
|
|
202
202
|
|
|
203
203
|
async function run() {
|
|
204
204
|
const result = await syllableSDK.tools.update({
|
|
205
|
-
name: "
|
|
205
|
+
name: "Weather Fetcher",
|
|
206
206
|
definition: {
|
|
207
207
|
tool: {
|
|
208
208
|
function: {
|
|
209
|
-
name: "
|
|
210
|
-
description: "
|
|
209
|
+
name: "weather_fetcher",
|
|
210
|
+
description: "Fetches weather data",
|
|
211
211
|
parameters: {
|
|
212
212
|
|
|
213
213
|
},
|
|
@@ -241,12 +241,12 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
241
241
|
|
|
242
242
|
async function run() {
|
|
243
243
|
const res = await toolsUpdate(syllableSDK, {
|
|
244
|
-
name: "
|
|
244
|
+
name: "Weather Fetcher",
|
|
245
245
|
definition: {
|
|
246
246
|
tool: {
|
|
247
247
|
function: {
|
|
248
|
-
name: "
|
|
249
|
-
description: "
|
|
248
|
+
name: "weather_fetcher",
|
|
249
|
+
description: "Fetches weather data",
|
|
250
250
|
parameters: {
|
|
251
251
|
|
|
252
252
|
},
|
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.41";
|
|
31
31
|
readonly genVersion: "2.506.0";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.41 2.506.0 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.41",
|
|
35
35
|
genVersion: "2.506.0",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.41 2.506.0 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/mintlify/mint.json
CHANGED
|
@@ -169,6 +169,9 @@
|
|
|
169
169
|
"sdk-docs/models/components/daochanneltargetagent",
|
|
170
170
|
"sdk-docs/models/components/daocustommessagerule",
|
|
171
171
|
"sdk-docs/models/components/dashboard",
|
|
172
|
+
"sdk-docs/models/components/dashboardproperties",
|
|
173
|
+
"sdk-docs/models/components/dashboardresponse",
|
|
174
|
+
"sdk-docs/models/components/dashboardtokenresponse",
|
|
172
175
|
"sdk-docs/models/components/datasourcecreaterequest",
|
|
173
176
|
"sdk-docs/models/components/datasourcedetailresponse",
|
|
174
177
|
"sdk-docs/models/components/datasourcemetadataresponse",
|
|
@@ -195,6 +198,7 @@
|
|
|
195
198
|
"sdk-docs/models/components/listresponsechanneltargetresponse",
|
|
196
199
|
"sdk-docs/models/components/listresponseconversation",
|
|
197
200
|
"sdk-docs/models/components/listresponsecustommessageresponse",
|
|
201
|
+
"sdk-docs/models/components/listresponsedashboardresponse",
|
|
198
202
|
"sdk-docs/models/components/listresponsedatasourcemetadataresponse",
|
|
199
203
|
"sdk-docs/models/components/listresponsedirectorymember",
|
|
200
204
|
"sdk-docs/models/components/listresponseevent",
|
|
@@ -300,6 +304,8 @@
|
|
|
300
304
|
"sdk-docs/models/operations/directorymemberupdaterequest",
|
|
301
305
|
"sdk-docs/models/operations/eventslistrequest",
|
|
302
306
|
"sdk-docs/models/operations/generatesessionrecordingurlsrequest",
|
|
307
|
+
"sdk-docs/models/operations/postgetdashboardrequest",
|
|
308
|
+
"sdk-docs/models/operations/postlistdashboardrequest",
|
|
303
309
|
"sdk-docs/models/operations/promptsdeleterequest",
|
|
304
310
|
"sdk-docs/models/operations/promptsgetbyidrequest",
|
|
305
311
|
"sdk-docs/models/operations/promptshistoryrequest",
|
package/openapi.json
CHANGED
|
@@ -10731,7 +10731,10 @@
|
|
|
10731
10731
|
"name": {
|
|
10732
10732
|
"type": "string",
|
|
10733
10733
|
"title": "Name",
|
|
10734
|
-
"description": "The name of the tool"
|
|
10734
|
+
"description": "The name of the tool",
|
|
10735
|
+
"examples": [
|
|
10736
|
+
"Weather Fetcher"
|
|
10737
|
+
]
|
|
10735
10738
|
},
|
|
10736
10739
|
"definition": {
|
|
10737
10740
|
"$ref": "#/components/schemas/ToolDefinition",
|
|
@@ -10740,7 +10743,7 @@
|
|
|
10740
10743
|
"service_id": {
|
|
10741
10744
|
"type": "integer",
|
|
10742
10745
|
"title": "Service Id",
|
|
10743
|
-
"description": "The service this tool belongs
|
|
10746
|
+
"description": "The service to which this tool belongs"
|
|
10744
10747
|
}
|
|
10745
10748
|
},
|
|
10746
10749
|
"type": "object",
|
|
@@ -10825,7 +10828,10 @@
|
|
|
10825
10828
|
"name": {
|
|
10826
10829
|
"type": "string",
|
|
10827
10830
|
"title": "Name",
|
|
10828
|
-
"description": "The name of the tool"
|
|
10831
|
+
"description": "The name of the tool",
|
|
10832
|
+
"examples": [
|
|
10833
|
+
"Weather Fetcher"
|
|
10834
|
+
]
|
|
10829
10835
|
},
|
|
10830
10836
|
"definition": {
|
|
10831
10837
|
"$ref": "#/components/schemas/ToolDefinition",
|
|
@@ -10834,7 +10840,7 @@
|
|
|
10834
10840
|
"service_id": {
|
|
10835
10841
|
"type": "integer",
|
|
10836
10842
|
"title": "Service Id",
|
|
10837
|
-
"description": "The service this tool belongs
|
|
10843
|
+
"description": "The service to which this tool belongs"
|
|
10838
10844
|
},
|
|
10839
10845
|
"id": {
|
|
10840
10846
|
"type": "integer",
|
|
@@ -10874,7 +10880,10 @@
|
|
|
10874
10880
|
"last_updated_by": {
|
|
10875
10881
|
"type": "string",
|
|
10876
10882
|
"title": "Last Updated By",
|
|
10877
|
-
"description": "The email of the user who last updated the tool"
|
|
10883
|
+
"description": "The email of the user who last updated the tool",
|
|
10884
|
+
"examples": [
|
|
10885
|
+
"user@email.com"
|
|
10886
|
+
]
|
|
10878
10887
|
},
|
|
10879
10888
|
"fields": {
|
|
10880
10889
|
"items": {
|
|
@@ -10903,12 +10912,18 @@
|
|
|
10903
10912
|
"name": {
|
|
10904
10913
|
"type": "string",
|
|
10905
10914
|
"title": "Name",
|
|
10906
|
-
"description": "The name of the function/tool call."
|
|
10915
|
+
"description": "The name of the function/tool call.",
|
|
10916
|
+
"examples": [
|
|
10917
|
+
"weather_fetcher"
|
|
10918
|
+
]
|
|
10907
10919
|
},
|
|
10908
10920
|
"description": {
|
|
10909
10921
|
"type": "string",
|
|
10910
10922
|
"title": "Description",
|
|
10911
|
-
"description": "The description of the tool."
|
|
10923
|
+
"description": "The description of the tool.",
|
|
10924
|
+
"examples": [
|
|
10925
|
+
"Fetches weather data"
|
|
10926
|
+
]
|
|
10912
10927
|
},
|
|
10913
10928
|
"parameters": {
|
|
10914
10929
|
"title": "Parameters",
|
|
@@ -10929,7 +10944,10 @@
|
|
|
10929
10944
|
"url": {
|
|
10930
10945
|
"type": "string",
|
|
10931
10946
|
"title": "Url",
|
|
10932
|
-
"description": "The endpoint URL of the external service to call."
|
|
10947
|
+
"description": "The endpoint URL of the external service to call.",
|
|
10948
|
+
"examples": [
|
|
10949
|
+
"https://api.example.com"
|
|
10950
|
+
]
|
|
10933
10951
|
},
|
|
10934
10952
|
"method": {
|
|
10935
10953
|
"$ref": "#/components/schemas/ToolHttpMethod",
|
|
@@ -11028,12 +11046,18 @@
|
|
|
11028
11046
|
"key": {
|
|
11029
11047
|
"type": "string",
|
|
11030
11048
|
"title": "Key",
|
|
11031
|
-
"description": "The name of the parameter to check."
|
|
11049
|
+
"description": "The name of the parameter to check.",
|
|
11050
|
+
"examples": [
|
|
11051
|
+
"key"
|
|
11052
|
+
]
|
|
11032
11053
|
},
|
|
11033
11054
|
"value": {
|
|
11034
11055
|
"type": "string",
|
|
11035
11056
|
"title": "Value",
|
|
11036
|
-
"description": "The value to check against the parameter."
|
|
11057
|
+
"description": "The value to check against the parameter.",
|
|
11058
|
+
"examples": [
|
|
11059
|
+
"value"
|
|
11060
|
+
]
|
|
11037
11061
|
},
|
|
11038
11062
|
"operator": {
|
|
11039
11063
|
"anyOf": [
|
|
@@ -11076,7 +11100,10 @@
|
|
|
11076
11100
|
"name": {
|
|
11077
11101
|
"type": "string",
|
|
11078
11102
|
"title": "Name",
|
|
11079
|
-
"description": "The name of the tool"
|
|
11103
|
+
"description": "The name of the tool",
|
|
11104
|
+
"examples": [
|
|
11105
|
+
"Weather Fetcher"
|
|
11106
|
+
]
|
|
11080
11107
|
},
|
|
11081
11108
|
"definition": {
|
|
11082
11109
|
"$ref": "#/components/schemas/ToolDefinition",
|
|
@@ -11085,7 +11112,7 @@
|
|
|
11085
11112
|
"service_id": {
|
|
11086
11113
|
"type": "integer",
|
|
11087
11114
|
"title": "Service Id",
|
|
11088
|
-
"description": "The service this tool belongs
|
|
11115
|
+
"description": "The service to which this tool belongs"
|
|
11089
11116
|
},
|
|
11090
11117
|
"id": {
|
|
11091
11118
|
"type": "integer",
|
|
@@ -11125,7 +11152,10 @@
|
|
|
11125
11152
|
"last_updated_by": {
|
|
11126
11153
|
"type": "string",
|
|
11127
11154
|
"title": "Last Updated By",
|
|
11128
|
-
"description": "The email of the user who last updated the tool"
|
|
11155
|
+
"description": "The email of the user who last updated the tool",
|
|
11156
|
+
"examples": [
|
|
11157
|
+
"user@email.com"
|
|
11158
|
+
]
|
|
11129
11159
|
}
|
|
11130
11160
|
},
|
|
11131
11161
|
"type": "object",
|
|
@@ -11145,7 +11175,10 @@
|
|
|
11145
11175
|
"name": {
|
|
11146
11176
|
"type": "string",
|
|
11147
11177
|
"title": "Name",
|
|
11148
|
-
"description": "The name of the tool"
|
|
11178
|
+
"description": "The name of the tool",
|
|
11179
|
+
"examples": [
|
|
11180
|
+
"Weather Fetcher"
|
|
11181
|
+
]
|
|
11149
11182
|
},
|
|
11150
11183
|
"definition": {
|
|
11151
11184
|
"$ref": "#/components/schemas/ToolDefinition",
|
|
@@ -11154,7 +11187,7 @@
|
|
|
11154
11187
|
"service_id": {
|
|
11155
11188
|
"type": "integer",
|
|
11156
11189
|
"title": "Service Id",
|
|
11157
|
-
"description": "The service this tool belongs
|
|
11190
|
+
"description": "The service to which this tool belongs"
|
|
11158
11191
|
},
|
|
11159
11192
|
"id": {
|
|
11160
11193
|
"type": "integer",
|
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.41",
|
|
61
61
|
genVersion: "2.506.0",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.41 2.506.0 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|