syllable-sdk 0.1.0-alpha.37 → 0.1.0-alpha.39
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/README.md +9 -43
- package/docs/sdks/datasources/README.md +10 -10
- package/docs/sdks/services/README.md +166 -8
- package/docs/sdks/tools/README.md +80 -0
- package/docs/sdks/v1/README.md +0 -408
- package/funcs/{v1DataSourcesDeleteByName.d.ts → dataSourcesDelete.d.ts} +2 -2
- package/funcs/dataSourcesDelete.d.ts.map +1 -0
- package/funcs/{v1DataSourcesDeleteByName.js → dataSourcesDelete.js} +7 -10
- package/funcs/dataSourcesDelete.js.map +1 -0
- package/funcs/dataSourcesGetByName.d.ts.map +1 -1
- package/funcs/dataSourcesGetByName.js +2 -5
- package/funcs/dataSourcesGetByName.js.map +1 -1
- package/funcs/servicesCreate.d.ts +4 -1
- package/funcs/servicesCreate.d.ts.map +1 -1
- package/funcs/servicesCreate.js +5 -2
- package/funcs/servicesCreate.js.map +1 -1
- package/funcs/{dataSourcesDataSourcesDeleteByName.d.ts → servicesDelete.d.ts} +4 -4
- package/funcs/servicesDelete.d.ts.map +1 -0
- package/funcs/{dataSourcesDataSourcesDeleteByName.js → servicesDelete.js} +9 -9
- package/funcs/servicesDelete.js.map +1 -0
- package/funcs/{v1GetByName.d.ts → servicesGetById.d.ts} +4 -4
- package/funcs/servicesGetById.d.ts.map +1 -0
- package/funcs/{v1GetByName.js → servicesGetById.js} +10 -10
- package/funcs/servicesGetById.js.map +1 -0
- package/funcs/servicesList.d.ts +2 -2
- package/funcs/servicesList.d.ts.map +1 -1
- package/funcs/servicesList.js +2 -2
- package/funcs/servicesList.js.map +1 -1
- package/funcs/servicesUpdate.d.ts +4 -1
- package/funcs/servicesUpdate.d.ts.map +1 -1
- package/funcs/servicesUpdate.js +5 -2
- package/funcs/servicesUpdate.js.map +1 -1
- package/funcs/{v1List.d.ts → toolsDelete.d.ts} +4 -5
- package/funcs/toolsDelete.d.ts.map +1 -0
- package/funcs/{v1Create.js → toolsDelete.js} +23 -13
- package/funcs/toolsDelete.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +4 -8
- package/lib/config.js.map +1 -1
- package/mintlify/mint.json +18 -0
- package/models/components/agentcreate.d.ts +5 -0
- package/models/components/agentcreate.d.ts.map +1 -1
- package/models/components/agentcreate.js +4 -0
- package/models/components/agentcreate.js.map +1 -1
- package/models/components/agentresponse.d.ts +5 -0
- package/models/components/agentresponse.d.ts.map +1 -1
- package/models/components/agentresponse.js +4 -0
- package/models/components/agentresponse.js.map +1 -1
- package/models/components/agentupdate.d.ts +5 -0
- package/models/components/agentupdate.d.ts.map +1 -1
- package/models/components/agentupdate.js +4 -0
- package/models/components/agentupdate.js.map +1 -1
- package/models/components/index.d.ts +4 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -4
- package/models/components/index.js.map +1 -1
- package/models/components/listresponseserviceresponse.d.ts +38 -0
- package/models/components/listresponseserviceresponse.d.ts.map +1 -0
- package/models/components/{listresponseservice.js → listresponseserviceresponse.js} +20 -20
- package/models/components/listresponseserviceresponse.js.map +1 -0
- package/models/components/servicecreaterequest.d.ts +37 -0
- package/models/components/servicecreaterequest.d.ts.map +1 -0
- package/models/components/{serviceupdate.js → servicecreaterequest.js} +17 -19
- package/models/components/servicecreaterequest.js.map +1 -0
- package/models/components/serviceproperties.d.ts +9 -0
- package/models/components/serviceproperties.d.ts.map +1 -1
- package/models/components/serviceproperties.js +3 -0
- package/models/components/serviceproperties.js.map +1 -1
- package/models/components/serviceresponse.d.ts +65 -0
- package/models/components/serviceresponse.d.ts.map +1 -0
- package/models/components/serviceresponse.js +84 -0
- package/models/components/serviceresponse.js.map +1 -0
- package/models/components/serviceupdaterequest.d.ts +47 -0
- package/models/components/serviceupdaterequest.d.ts.map +1 -0
- package/models/components/{service.js → serviceupdaterequest.js} +28 -19
- package/models/components/serviceupdaterequest.js.map +1 -0
- package/models/components/tooldetailresponse.d.ts +49 -4
- package/models/components/tooldetailresponse.d.ts.map +1 -1
- package/models/components/tooldetailresponse.js +32 -4
- package/models/components/tooldetailresponse.js.map +1 -1
- package/models/components/toolproperties.d.ts +6 -0
- package/models/components/toolproperties.d.ts.map +1 -1
- package/models/components/toolproperties.js +2 -0
- package/models/components/toolproperties.js.map +1 -1
- package/models/components/toolresponse.d.ts +15 -0
- package/models/components/toolresponse.d.ts.map +1 -1
- package/models/components/toolresponse.js +12 -0
- package/models/components/toolresponse.js.map +1 -1
- package/models/components/toolupdaterequest.d.ts +5 -0
- package/models/components/toolupdaterequest.d.ts.map +1 -1
- package/models/components/toolupdaterequest.js +4 -0
- package/models/components/toolupdaterequest.js.map +1 -1
- package/models/operations/datasourcesdelete.d.ts +31 -0
- package/models/operations/datasourcesdelete.d.ts.map +1 -0
- package/models/operations/datasourcesdelete.js +70 -0
- package/models/operations/datasourcesdelete.js.map +1 -0
- package/models/operations/datasourcesgetbyname.d.ts +2 -2
- package/models/operations/datasourcesgetbyname.d.ts.map +1 -1
- package/models/operations/datasourcesgetbyname.js +11 -2
- package/models/operations/datasourcesgetbyname.js.map +1 -1
- package/models/operations/index.d.ts +4 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/servicedelete.d.ts +31 -0
- package/models/operations/servicedelete.d.ts.map +1 -0
- package/models/operations/servicedelete.js +70 -0
- package/models/operations/servicedelete.js.map +1 -0
- package/models/operations/servicesgetbyid.d.ts +29 -0
- package/models/operations/servicesgetbyid.d.ts.map +1 -0
- package/models/operations/servicesgetbyid.js +68 -0
- package/models/operations/servicesgetbyid.js.map +1 -0
- package/models/operations/tooldelete.d.ts +31 -0
- package/models/operations/tooldelete.d.ts.map +1 -0
- package/models/operations/{datasourcesdeletebyname.js → tooldelete.js} +28 -19
- package/models/operations/tooldelete.js.map +1 -0
- package/openapi.json +360 -61
- package/package.json +1 -1
- package/sdk/datasources.d.ts +1 -1
- package/sdk/datasources.d.ts.map +1 -1
- package/sdk/datasources.js +3 -3
- package/sdk/datasources.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/services.d.ts +24 -4
- package/sdk/services.d.ts.map +1 -1
- package/sdk/services.js +27 -1
- package/sdk/services.js.map +1 -1
- package/sdk/tools.d.ts +7 -0
- package/sdk/tools.d.ts.map +1 -1
- package/sdk/tools.js +10 -0
- package/sdk/tools.js.map +1 -1
- package/sdk/v1.d.ts +0 -36
- package/sdk/v1.d.ts.map +1 -1
- package/sdk/v1.js +0 -50
- package/sdk/v1.js.map +1 -1
- package/src/funcs/{v1Create.ts → dataSourcesDelete.ts} +30 -15
- package/src/funcs/dataSourcesGetByName.ts +8 -5
- package/src/funcs/servicesCreate.ts +8 -5
- package/src/funcs/{dataSourcesDataSourcesDeleteByName.ts → servicesDelete.ts} +8 -9
- package/src/funcs/{v1GetByName.ts → servicesGetById.ts} +11 -12
- package/src/funcs/servicesList.ts +4 -4
- package/src/funcs/servicesUpdate.ts +8 -5
- package/src/funcs/{v1DataSourcesDeleteByName.ts → toolsDelete.ts} +8 -9
- package/src/lib/config.ts +4 -8
- package/src/models/components/agentcreate.ts +9 -0
- package/src/models/components/agentresponse.ts +9 -0
- package/src/models/components/agentupdate.ts +9 -0
- package/src/models/components/index.ts +4 -4
- package/src/models/components/{listresponseservice.ts → listresponseserviceresponse.ts} +32 -30
- package/src/models/components/servicecreaterequest.ts +76 -0
- package/src/models/components/serviceproperties.ts +3 -0
- package/src/models/components/serviceresponse.ts +127 -0
- package/src/models/components/serviceupdaterequest.ts +99 -0
- package/src/models/components/tooldetailresponse.ts +87 -8
- package/src/models/components/toolproperties.ts +2 -0
- package/src/models/components/toolresponse.ts +29 -0
- package/src/models/components/toolupdaterequest.ts +9 -0
- package/src/models/operations/datasourcesdelete.ts +79 -0
- package/src/models/operations/datasourcesgetbyname.ts +13 -4
- package/src/models/operations/index.ts +4 -1
- package/src/models/operations/servicedelete.ts +79 -0
- package/src/models/operations/servicesgetbyid.ts +75 -0
- package/src/models/operations/tooldelete.ts +79 -0
- package/src/sdk/datasources.ts +4 -4
- package/src/sdk/sdk.ts +5 -5
- package/src/sdk/services.ts +48 -6
- package/src/sdk/tools.ts +18 -0
- package/src/sdk/v1.ts +0 -91
- package/funcs/dataSourcesDataSourcesDeleteByName.d.ts.map +0 -1
- package/funcs/dataSourcesDataSourcesDeleteByName.js.map +0 -1
- package/funcs/v1Create.d.ts +0 -16
- package/funcs/v1Create.d.ts.map +0 -1
- package/funcs/v1Create.js.map +0 -1
- package/funcs/v1DataSourcesDeleteByName.d.ts.map +0 -1
- package/funcs/v1DataSourcesDeleteByName.js.map +0 -1
- package/funcs/v1GetByName.d.ts.map +0 -1
- package/funcs/v1GetByName.js.map +0 -1
- package/funcs/v1List.d.ts.map +0 -1
- package/funcs/v1List.js +0 -113
- package/funcs/v1List.js.map +0 -1
- package/funcs/v1Update.d.ts +0 -16
- package/funcs/v1Update.d.ts.map +0 -1
- package/funcs/v1Update.js +0 -101
- package/funcs/v1Update.js.map +0 -1
- package/models/components/listresponseservice.d.ts +0 -38
- package/models/components/listresponseservice.d.ts.map +0 -1
- package/models/components/listresponseservice.js.map +0 -1
- package/models/components/service.d.ts +0 -50
- package/models/components/service.d.ts.map +0 -1
- package/models/components/service.js.map +0 -1
- package/models/components/servicecreate.d.ts +0 -37
- package/models/components/servicecreate.d.ts.map +0 -1
- package/models/components/servicecreate.js +0 -61
- package/models/components/servicecreate.js.map +0 -1
- package/models/components/serviceupdate.d.ts +0 -42
- package/models/components/serviceupdate.d.ts.map +0 -1
- package/models/components/serviceupdate.js.map +0 -1
- package/models/operations/datasourcesdeletebyname.d.ts +0 -31
- package/models/operations/datasourcesdeletebyname.d.ts.map +0 -1
- package/models/operations/datasourcesdeletebyname.js.map +0 -1
- package/src/funcs/v1List.ts +0 -150
- package/src/funcs/v1Update.ts +0 -134
- package/src/models/components/service.ts +0 -86
- package/src/models/components/servicecreate.ts +0 -72
- package/src/models/components/serviceupdate.ts +0 -79
- package/src/models/operations/datasourcesdeletebyname.ts +0 -72
package/openapi.json
CHANGED
|
@@ -7,12 +7,8 @@
|
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
10
|
-
"url": "https://api.syllable.
|
|
10
|
+
"url": "https://api.syllable.cloud",
|
|
11
11
|
"description": "API server"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"url": "https://trial.api.syllable.ai",
|
|
15
|
-
"description": "Trial API server"
|
|
16
12
|
}
|
|
17
13
|
],
|
|
18
14
|
"paths": {
|
|
@@ -1120,7 +1116,7 @@
|
|
|
1120
1116
|
}
|
|
1121
1117
|
}
|
|
1122
1118
|
},
|
|
1123
|
-
"/api/v1/data_sources/{
|
|
1119
|
+
"/api/v1/data_sources/{data_source_name}": {
|
|
1124
1120
|
"get": {
|
|
1125
1121
|
"tags": [
|
|
1126
1122
|
"data_sources",
|
|
@@ -1136,12 +1132,12 @@
|
|
|
1136
1132
|
],
|
|
1137
1133
|
"parameters": [
|
|
1138
1134
|
{
|
|
1139
|
-
"name": "
|
|
1135
|
+
"name": "data_source_name",
|
|
1140
1136
|
"in": "path",
|
|
1141
1137
|
"required": true,
|
|
1142
1138
|
"schema": {
|
|
1143
1139
|
"type": "string",
|
|
1144
|
-
"title": "Name"
|
|
1140
|
+
"title": "Data Source Name"
|
|
1145
1141
|
}
|
|
1146
1142
|
}
|
|
1147
1143
|
],
|
|
@@ -1175,7 +1171,7 @@
|
|
|
1175
1171
|
],
|
|
1176
1172
|
"summary": "Delete Data Source",
|
|
1177
1173
|
"description": "Delete a given data source.",
|
|
1178
|
-
"operationId": "
|
|
1174
|
+
"operationId": "data_sources_delete",
|
|
1179
1175
|
"security": [
|
|
1180
1176
|
{
|
|
1181
1177
|
"APIKeyHeader": []
|
|
@@ -1183,12 +1179,12 @@
|
|
|
1183
1179
|
],
|
|
1184
1180
|
"parameters": [
|
|
1185
1181
|
{
|
|
1186
|
-
"name": "
|
|
1182
|
+
"name": "data_source_name",
|
|
1187
1183
|
"in": "path",
|
|
1188
1184
|
"required": true,
|
|
1189
1185
|
"schema": {
|
|
1190
1186
|
"type": "string",
|
|
1191
|
-
"title": "Name"
|
|
1187
|
+
"title": "Data Source Name"
|
|
1192
1188
|
}
|
|
1193
1189
|
},
|
|
1194
1190
|
{
|
|
@@ -2209,7 +2205,7 @@
|
|
|
2209
2205
|
"V1"
|
|
2210
2206
|
],
|
|
2211
2207
|
"summary": "Service List",
|
|
2212
|
-
"description": "List the existing
|
|
2208
|
+
"description": "List the existing services",
|
|
2213
2209
|
"operationId": "service_list",
|
|
2214
2210
|
"security": [
|
|
2215
2211
|
{
|
|
@@ -2363,7 +2359,7 @@
|
|
|
2363
2359
|
"content": {
|
|
2364
2360
|
"application/json": {
|
|
2365
2361
|
"schema": {
|
|
2366
|
-
"$ref": "#/components/schemas/
|
|
2362
|
+
"$ref": "#/components/schemas/ListResponse_ServiceResponse_"
|
|
2367
2363
|
}
|
|
2368
2364
|
}
|
|
2369
2365
|
}
|
|
@@ -2386,6 +2382,7 @@
|
|
|
2386
2382
|
"V1"
|
|
2387
2383
|
],
|
|
2388
2384
|
"summary": "Create Service",
|
|
2385
|
+
"description": "Create a new service.",
|
|
2389
2386
|
"operationId": "service_create",
|
|
2390
2387
|
"security": [
|
|
2391
2388
|
{
|
|
@@ -2397,7 +2394,7 @@
|
|
|
2397
2394
|
"content": {
|
|
2398
2395
|
"application/json": {
|
|
2399
2396
|
"schema": {
|
|
2400
|
-
"$ref": "#/components/schemas/
|
|
2397
|
+
"$ref": "#/components/schemas/ServiceCreateRequest"
|
|
2401
2398
|
}
|
|
2402
2399
|
}
|
|
2403
2400
|
}
|
|
@@ -2408,7 +2405,7 @@
|
|
|
2408
2405
|
"content": {
|
|
2409
2406
|
"application/json": {
|
|
2410
2407
|
"schema": {
|
|
2411
|
-
"$ref": "#/components/schemas/
|
|
2408
|
+
"$ref": "#/components/schemas/ServiceResponse"
|
|
2412
2409
|
}
|
|
2413
2410
|
}
|
|
2414
2411
|
}
|
|
@@ -2431,6 +2428,7 @@
|
|
|
2431
2428
|
"V1"
|
|
2432
2429
|
],
|
|
2433
2430
|
"summary": "Update Service",
|
|
2431
|
+
"description": "Update an existing service.",
|
|
2434
2432
|
"operationId": "service_update",
|
|
2435
2433
|
"security": [
|
|
2436
2434
|
{
|
|
@@ -2442,7 +2440,7 @@
|
|
|
2442
2440
|
"content": {
|
|
2443
2441
|
"application/json": {
|
|
2444
2442
|
"schema": {
|
|
2445
|
-
"$ref": "#/components/schemas/
|
|
2443
|
+
"$ref": "#/components/schemas/ServiceUpdateRequest"
|
|
2446
2444
|
}
|
|
2447
2445
|
}
|
|
2448
2446
|
}
|
|
@@ -2453,7 +2451,7 @@
|
|
|
2453
2451
|
"content": {
|
|
2454
2452
|
"application/json": {
|
|
2455
2453
|
"schema": {
|
|
2456
|
-
"$ref": "#/components/schemas/
|
|
2454
|
+
"$ref": "#/components/schemas/ServiceResponse"
|
|
2457
2455
|
}
|
|
2458
2456
|
}
|
|
2459
2457
|
}
|
|
@@ -2471,6 +2469,109 @@
|
|
|
2471
2469
|
}
|
|
2472
2470
|
}
|
|
2473
2471
|
},
|
|
2472
|
+
"/api/v1/services/{service_id}": {
|
|
2473
|
+
"get": {
|
|
2474
|
+
"tags": [
|
|
2475
|
+
"services",
|
|
2476
|
+
"V1"
|
|
2477
|
+
],
|
|
2478
|
+
"summary": "Get Service By Id",
|
|
2479
|
+
"description": "Get a service by its ID",
|
|
2480
|
+
"operationId": "services_get_by_id",
|
|
2481
|
+
"security": [
|
|
2482
|
+
{
|
|
2483
|
+
"APIKeyHeader": []
|
|
2484
|
+
}
|
|
2485
|
+
],
|
|
2486
|
+
"parameters": [
|
|
2487
|
+
{
|
|
2488
|
+
"name": "service_id",
|
|
2489
|
+
"in": "path",
|
|
2490
|
+
"required": true,
|
|
2491
|
+
"schema": {
|
|
2492
|
+
"type": "integer",
|
|
2493
|
+
"title": "Service Id"
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2496
|
+
],
|
|
2497
|
+
"responses": {
|
|
2498
|
+
"200": {
|
|
2499
|
+
"description": "Successful Response",
|
|
2500
|
+
"content": {
|
|
2501
|
+
"application/json": {
|
|
2502
|
+
"schema": {
|
|
2503
|
+
"$ref": "#/components/schemas/ServiceResponse"
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
},
|
|
2508
|
+
"422": {
|
|
2509
|
+
"description": "Validation Error",
|
|
2510
|
+
"content": {
|
|
2511
|
+
"application/json": {
|
|
2512
|
+
"schema": {
|
|
2513
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
2514
|
+
}
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
"delete": {
|
|
2521
|
+
"tags": [
|
|
2522
|
+
"services",
|
|
2523
|
+
"V1"
|
|
2524
|
+
],
|
|
2525
|
+
"summary": "Delete Service",
|
|
2526
|
+
"description": "Delete a service. A service with linked tools cannot be deleted.",
|
|
2527
|
+
"operationId": "service_delete",
|
|
2528
|
+
"security": [
|
|
2529
|
+
{
|
|
2530
|
+
"APIKeyHeader": []
|
|
2531
|
+
}
|
|
2532
|
+
],
|
|
2533
|
+
"parameters": [
|
|
2534
|
+
{
|
|
2535
|
+
"name": "service_id",
|
|
2536
|
+
"in": "path",
|
|
2537
|
+
"required": true,
|
|
2538
|
+
"schema": {
|
|
2539
|
+
"type": "integer",
|
|
2540
|
+
"title": "Service Id"
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"name": "reason",
|
|
2545
|
+
"in": "query",
|
|
2546
|
+
"required": true,
|
|
2547
|
+
"schema": {
|
|
2548
|
+
"type": "string",
|
|
2549
|
+
"title": "Reason"
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
],
|
|
2553
|
+
"responses": {
|
|
2554
|
+
"200": {
|
|
2555
|
+
"description": "Successful Response",
|
|
2556
|
+
"content": {
|
|
2557
|
+
"application/json": {
|
|
2558
|
+
"schema": {}
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
},
|
|
2562
|
+
"422": {
|
|
2563
|
+
"description": "Validation Error",
|
|
2564
|
+
"content": {
|
|
2565
|
+
"application/json": {
|
|
2566
|
+
"schema": {
|
|
2567
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2474
2575
|
"/api/v1/session_labels/{session_label_id}": {
|
|
2475
2576
|
"get": {
|
|
2476
2577
|
"tags": [
|
|
@@ -3431,6 +3532,60 @@
|
|
|
3431
3532
|
}
|
|
3432
3533
|
}
|
|
3433
3534
|
}
|
|
3535
|
+
},
|
|
3536
|
+
"delete": {
|
|
3537
|
+
"tags": [
|
|
3538
|
+
"tools",
|
|
3539
|
+
"V1"
|
|
3540
|
+
],
|
|
3541
|
+
"summary": "Delete Tool",
|
|
3542
|
+
"description": "Delete a tool.",
|
|
3543
|
+
"operationId": "tool_delete",
|
|
3544
|
+
"security": [
|
|
3545
|
+
{
|
|
3546
|
+
"APIKeyHeader": []
|
|
3547
|
+
}
|
|
3548
|
+
],
|
|
3549
|
+
"parameters": [
|
|
3550
|
+
{
|
|
3551
|
+
"name": "tool_name",
|
|
3552
|
+
"in": "path",
|
|
3553
|
+
"required": true,
|
|
3554
|
+
"schema": {
|
|
3555
|
+
"type": "string",
|
|
3556
|
+
"title": "Tool Name"
|
|
3557
|
+
}
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"name": "reason",
|
|
3561
|
+
"in": "query",
|
|
3562
|
+
"required": true,
|
|
3563
|
+
"schema": {
|
|
3564
|
+
"type": "string",
|
|
3565
|
+
"title": "Reason"
|
|
3566
|
+
}
|
|
3567
|
+
}
|
|
3568
|
+
],
|
|
3569
|
+
"responses": {
|
|
3570
|
+
"200": {
|
|
3571
|
+
"description": "Successful Response",
|
|
3572
|
+
"content": {
|
|
3573
|
+
"application/json": {
|
|
3574
|
+
"schema": {}
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3577
|
+
},
|
|
3578
|
+
"422": {
|
|
3579
|
+
"description": "Validation Error",
|
|
3580
|
+
"content": {
|
|
3581
|
+
"application/json": {
|
|
3582
|
+
"schema": {
|
|
3583
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3434
3589
|
}
|
|
3435
3590
|
},
|
|
3436
3591
|
"/api/v1/channels/available-targets": {
|
|
@@ -5670,6 +5825,12 @@
|
|
|
5670
5825
|
],
|
|
5671
5826
|
"title": "Tool Headers",
|
|
5672
5827
|
"description": "Optional headers to include in tool calls for agent."
|
|
5828
|
+
},
|
|
5829
|
+
"agent_initiated": {
|
|
5830
|
+
"type": "boolean",
|
|
5831
|
+
"title": "Agent Initiated",
|
|
5832
|
+
"description": "Whether the agent initiates conversation with a user after the custom_message is delivered",
|
|
5833
|
+
"default": false
|
|
5673
5834
|
}
|
|
5674
5835
|
},
|
|
5675
5836
|
"type": "object",
|
|
@@ -5809,6 +5970,12 @@
|
|
|
5809
5970
|
"title": "Tool Headers",
|
|
5810
5971
|
"description": "Optional headers to include in tool calls for agent."
|
|
5811
5972
|
},
|
|
5973
|
+
"agent_initiated": {
|
|
5974
|
+
"type": "boolean",
|
|
5975
|
+
"title": "Agent Initiated",
|
|
5976
|
+
"description": "Whether the agent initiates conversation with a user after the custom_message is delivered",
|
|
5977
|
+
"default": false
|
|
5978
|
+
},
|
|
5812
5979
|
"id": {
|
|
5813
5980
|
"type": "integer",
|
|
5814
5981
|
"title": "Id",
|
|
@@ -6033,6 +6200,12 @@
|
|
|
6033
6200
|
"title": "Tool Headers",
|
|
6034
6201
|
"description": "Optional headers to include in tool calls for agent."
|
|
6035
6202
|
},
|
|
6203
|
+
"agent_initiated": {
|
|
6204
|
+
"type": "boolean",
|
|
6205
|
+
"title": "Agent Initiated",
|
|
6206
|
+
"description": "Whether the agent initiates conversation with a user after the custom_message is delivered",
|
|
6207
|
+
"default": false
|
|
6208
|
+
},
|
|
6036
6209
|
"id": {
|
|
6037
6210
|
"type": "integer",
|
|
6038
6211
|
"title": "Id",
|
|
@@ -8535,11 +8708,11 @@
|
|
|
8535
8708
|
],
|
|
8536
8709
|
"title": "ListResponse[PromptResponse]"
|
|
8537
8710
|
},
|
|
8538
|
-
"
|
|
8711
|
+
"ListResponse_ServiceResponse_": {
|
|
8539
8712
|
"properties": {
|
|
8540
8713
|
"items": {
|
|
8541
8714
|
"items": {
|
|
8542
|
-
"$ref": "#/components/schemas/
|
|
8715
|
+
"$ref": "#/components/schemas/ServiceResponse"
|
|
8543
8716
|
},
|
|
8544
8717
|
"type": "array",
|
|
8545
8718
|
"title": "Items"
|
|
@@ -8581,7 +8754,7 @@
|
|
|
8581
8754
|
"page",
|
|
8582
8755
|
"page_size"
|
|
8583
8756
|
],
|
|
8584
|
-
"title": "ListResponse[
|
|
8757
|
+
"title": "ListResponse[ServiceResponse]"
|
|
8585
8758
|
},
|
|
8586
8759
|
"ListResponse_SessionLabel_": {
|
|
8587
8760
|
"properties": {
|
|
@@ -9271,7 +9444,7 @@
|
|
|
9271
9444
|
],
|
|
9272
9445
|
"title": "RequestStatus"
|
|
9273
9446
|
},
|
|
9274
|
-
"
|
|
9447
|
+
"ServiceCreateRequest": {
|
|
9275
9448
|
"properties": {
|
|
9276
9449
|
"name": {
|
|
9277
9450
|
"type": "string",
|
|
@@ -9282,32 +9455,27 @@
|
|
|
9282
9455
|
"type": "string",
|
|
9283
9456
|
"title": "Description",
|
|
9284
9457
|
"description": "The description of the service"
|
|
9285
|
-
},
|
|
9286
|
-
"id": {
|
|
9287
|
-
"type": "integer",
|
|
9288
|
-
"title": "Id",
|
|
9289
|
-
"description": "The ID of the service"
|
|
9290
|
-
},
|
|
9291
|
-
"tools": {
|
|
9292
|
-
"items": {
|
|
9293
|
-
"type": "string"
|
|
9294
|
-
},
|
|
9295
|
-
"type": "array",
|
|
9296
|
-
"title": "Tools",
|
|
9297
|
-
"description": "Names of the tools that belong to the service"
|
|
9298
9458
|
}
|
|
9299
9459
|
},
|
|
9300
9460
|
"type": "object",
|
|
9301
9461
|
"required": [
|
|
9302
9462
|
"name",
|
|
9303
|
-
"description"
|
|
9463
|
+
"description"
|
|
9464
|
+
],
|
|
9465
|
+
"title": "ServiceCreateRequest"
|
|
9466
|
+
},
|
|
9467
|
+
"ServiceProperties": {
|
|
9468
|
+
"type": "string",
|
|
9469
|
+
"enum": [
|
|
9304
9470
|
"id",
|
|
9305
|
-
"
|
|
9471
|
+
"name",
|
|
9472
|
+
"description",
|
|
9473
|
+
"updated_at",
|
|
9474
|
+
"last_updated_by"
|
|
9306
9475
|
],
|
|
9307
|
-
"title": "
|
|
9308
|
-
"description": "A service is a collection of tools."
|
|
9476
|
+
"title": "ServiceProperties"
|
|
9309
9477
|
},
|
|
9310
|
-
"
|
|
9478
|
+
"ServiceResponse": {
|
|
9311
9479
|
"properties": {
|
|
9312
9480
|
"name": {
|
|
9313
9481
|
"type": "string",
|
|
@@ -9318,24 +9486,57 @@
|
|
|
9318
9486
|
"type": "string",
|
|
9319
9487
|
"title": "Description",
|
|
9320
9488
|
"description": "The description of the service"
|
|
9489
|
+
},
|
|
9490
|
+
"id": {
|
|
9491
|
+
"type": "integer",
|
|
9492
|
+
"title": "Id",
|
|
9493
|
+
"description": "The ID of the service"
|
|
9494
|
+
},
|
|
9495
|
+
"last_updated_comments": {
|
|
9496
|
+
"anyOf": [
|
|
9497
|
+
{
|
|
9498
|
+
"type": "string"
|
|
9499
|
+
},
|
|
9500
|
+
{
|
|
9501
|
+
"type": "null"
|
|
9502
|
+
}
|
|
9503
|
+
],
|
|
9504
|
+
"title": "Last Updated Comments",
|
|
9505
|
+
"description": "Update comments"
|
|
9506
|
+
},
|
|
9507
|
+
"last_updated": {
|
|
9508
|
+
"type": "string",
|
|
9509
|
+
"format": "date-time",
|
|
9510
|
+
"title": "Last Updated",
|
|
9511
|
+
"description": "The timestamp of the most recent update to the service"
|
|
9512
|
+
},
|
|
9513
|
+
"last_updated_by": {
|
|
9514
|
+
"type": "string",
|
|
9515
|
+
"title": "Last Updated By",
|
|
9516
|
+
"description": "The email of the user who last updated the service"
|
|
9517
|
+
},
|
|
9518
|
+
"tools": {
|
|
9519
|
+
"items": {
|
|
9520
|
+
"type": "string"
|
|
9521
|
+
},
|
|
9522
|
+
"type": "array",
|
|
9523
|
+
"title": "Tools",
|
|
9524
|
+
"description": "Names of tools that belong to the service"
|
|
9321
9525
|
}
|
|
9322
9526
|
},
|
|
9323
9527
|
"type": "object",
|
|
9324
9528
|
"required": [
|
|
9325
9529
|
"name",
|
|
9326
|
-
"description"
|
|
9327
|
-
],
|
|
9328
|
-
"title": "ServiceCreate"
|
|
9329
|
-
},
|
|
9330
|
-
"ServiceProperties": {
|
|
9331
|
-
"type": "string",
|
|
9332
|
-
"enum": [
|
|
9530
|
+
"description",
|
|
9333
9531
|
"id",
|
|
9334
|
-
"
|
|
9532
|
+
"last_updated",
|
|
9533
|
+
"last_updated_by",
|
|
9534
|
+
"tools"
|
|
9335
9535
|
],
|
|
9336
|
-
"title": "
|
|
9536
|
+
"title": "ServiceResponse",
|
|
9537
|
+
"description": "A service is a collection of tools."
|
|
9337
9538
|
},
|
|
9338
|
-
"
|
|
9539
|
+
"ServiceUpdateRequest": {
|
|
9339
9540
|
"properties": {
|
|
9340
9541
|
"name": {
|
|
9341
9542
|
"type": "string",
|
|
@@ -9351,6 +9552,18 @@
|
|
|
9351
9552
|
"type": "integer",
|
|
9352
9553
|
"title": "Id",
|
|
9353
9554
|
"description": "The ID of the service"
|
|
9555
|
+
},
|
|
9556
|
+
"last_updated_comments": {
|
|
9557
|
+
"anyOf": [
|
|
9558
|
+
{
|
|
9559
|
+
"type": "string"
|
|
9560
|
+
},
|
|
9561
|
+
{
|
|
9562
|
+
"type": "null"
|
|
9563
|
+
}
|
|
9564
|
+
],
|
|
9565
|
+
"title": "Last Updated Comments",
|
|
9566
|
+
"description": "Update comments"
|
|
9354
9567
|
}
|
|
9355
9568
|
},
|
|
9356
9569
|
"type": "object",
|
|
@@ -9359,7 +9572,7 @@
|
|
|
9359
9572
|
"description",
|
|
9360
9573
|
"id"
|
|
9361
9574
|
],
|
|
9362
|
-
"title": "
|
|
9575
|
+
"title": "ServiceUpdateRequest"
|
|
9363
9576
|
},
|
|
9364
9577
|
"Session": {
|
|
9365
9578
|
"properties": {
|
|
@@ -10238,34 +10451,81 @@
|
|
|
10238
10451
|
},
|
|
10239
10452
|
"ToolDetailResponse": {
|
|
10240
10453
|
"properties": {
|
|
10454
|
+
"name": {
|
|
10455
|
+
"type": "string",
|
|
10456
|
+
"title": "Name",
|
|
10457
|
+
"description": "The name of the tool"
|
|
10458
|
+
},
|
|
10459
|
+
"definition": {
|
|
10460
|
+
"$ref": "#/components/schemas/ToolDefinition",
|
|
10461
|
+
"description": "The definition of the tool"
|
|
10462
|
+
},
|
|
10463
|
+
"service_id": {
|
|
10464
|
+
"type": "integer",
|
|
10465
|
+
"title": "Service Id",
|
|
10466
|
+
"description": "The service this tool belongs to"
|
|
10467
|
+
},
|
|
10241
10468
|
"id": {
|
|
10242
10469
|
"type": "integer",
|
|
10243
|
-
"title": "Id"
|
|
10470
|
+
"title": "Id",
|
|
10471
|
+
"description": "The ID of the tool"
|
|
10244
10472
|
},
|
|
10245
|
-
"
|
|
10473
|
+
"last_updated_comments": {
|
|
10474
|
+
"anyOf": [
|
|
10475
|
+
{
|
|
10476
|
+
"type": "string"
|
|
10477
|
+
},
|
|
10478
|
+
{
|
|
10479
|
+
"type": "null"
|
|
10480
|
+
}
|
|
10481
|
+
],
|
|
10482
|
+
"title": "Last Updated Comments",
|
|
10483
|
+
"description": "Update comments"
|
|
10484
|
+
},
|
|
10485
|
+
"service_name": {
|
|
10486
|
+
"anyOf": [
|
|
10487
|
+
{
|
|
10488
|
+
"type": "string"
|
|
10489
|
+
},
|
|
10490
|
+
{
|
|
10491
|
+
"type": "null"
|
|
10492
|
+
}
|
|
10493
|
+
],
|
|
10494
|
+
"title": "Service Name",
|
|
10495
|
+
"description": "The name of the service to which the tool belongs"
|
|
10496
|
+
},
|
|
10497
|
+
"last_updated": {
|
|
10246
10498
|
"type": "string",
|
|
10247
|
-
"
|
|
10499
|
+
"format": "date-time",
|
|
10500
|
+
"title": "Last Updated",
|
|
10501
|
+
"description": "The timestamp of the most recent update to the service"
|
|
10248
10502
|
},
|
|
10249
|
-
"
|
|
10503
|
+
"last_updated_by": {
|
|
10250
10504
|
"type": "string",
|
|
10251
|
-
"title": "
|
|
10505
|
+
"title": "Last Updated By",
|
|
10506
|
+
"description": "The email of the user who last updated the tool"
|
|
10252
10507
|
},
|
|
10253
10508
|
"fields": {
|
|
10254
10509
|
"items": {
|
|
10255
10510
|
"type": "string"
|
|
10256
10511
|
},
|
|
10257
10512
|
"type": "array",
|
|
10258
|
-
"title": "Fields"
|
|
10513
|
+
"title": "Fields",
|
|
10514
|
+
"description": "Fields that the tool accepts as input"
|
|
10259
10515
|
}
|
|
10260
10516
|
},
|
|
10261
10517
|
"type": "object",
|
|
10262
10518
|
"required": [
|
|
10263
|
-
"id",
|
|
10264
10519
|
"name",
|
|
10265
|
-
"
|
|
10520
|
+
"definition",
|
|
10521
|
+
"service_id",
|
|
10522
|
+
"id",
|
|
10523
|
+
"last_updated",
|
|
10524
|
+
"last_updated_by",
|
|
10266
10525
|
"fields"
|
|
10267
10526
|
],
|
|
10268
|
-
"title": "ToolDetailResponse"
|
|
10527
|
+
"title": "ToolDetailResponse",
|
|
10528
|
+
"description": "A tool is a function that an agent can call to perform actions like accessing databases,\nmaking API calls, or processing data. For an agent to have access to a tool, the prompt\nassociated with that agent should be linked to the tool and include instructions to use it."
|
|
10269
10529
|
},
|
|
10270
10530
|
"ToolFunction": {
|
|
10271
10531
|
"properties": {
|
|
@@ -10435,7 +10695,9 @@
|
|
|
10435
10695
|
"name",
|
|
10436
10696
|
"service_name",
|
|
10437
10697
|
"definition",
|
|
10438
|
-
"service_id"
|
|
10698
|
+
"service_id",
|
|
10699
|
+
"updated_at",
|
|
10700
|
+
"last_updated_by"
|
|
10439
10701
|
],
|
|
10440
10702
|
"title": "ToolProperties"
|
|
10441
10703
|
},
|
|
@@ -10460,6 +10722,18 @@
|
|
|
10460
10722
|
"title": "Id",
|
|
10461
10723
|
"description": "The ID of the tool"
|
|
10462
10724
|
},
|
|
10725
|
+
"last_updated_comments": {
|
|
10726
|
+
"anyOf": [
|
|
10727
|
+
{
|
|
10728
|
+
"type": "string"
|
|
10729
|
+
},
|
|
10730
|
+
{
|
|
10731
|
+
"type": "null"
|
|
10732
|
+
}
|
|
10733
|
+
],
|
|
10734
|
+
"title": "Last Updated Comments",
|
|
10735
|
+
"description": "Update comments"
|
|
10736
|
+
},
|
|
10463
10737
|
"service_name": {
|
|
10464
10738
|
"anyOf": [
|
|
10465
10739
|
{
|
|
@@ -10471,6 +10745,17 @@
|
|
|
10471
10745
|
],
|
|
10472
10746
|
"title": "Service Name",
|
|
10473
10747
|
"description": "The name of the service to which the tool belongs"
|
|
10748
|
+
},
|
|
10749
|
+
"last_updated": {
|
|
10750
|
+
"type": "string",
|
|
10751
|
+
"format": "date-time",
|
|
10752
|
+
"title": "Last Updated",
|
|
10753
|
+
"description": "The timestamp of the most recent update to the service"
|
|
10754
|
+
},
|
|
10755
|
+
"last_updated_by": {
|
|
10756
|
+
"type": "string",
|
|
10757
|
+
"title": "Last Updated By",
|
|
10758
|
+
"description": "The email of the user who last updated the tool"
|
|
10474
10759
|
}
|
|
10475
10760
|
},
|
|
10476
10761
|
"type": "object",
|
|
@@ -10478,7 +10763,9 @@
|
|
|
10478
10763
|
"name",
|
|
10479
10764
|
"definition",
|
|
10480
10765
|
"service_id",
|
|
10481
|
-
"id"
|
|
10766
|
+
"id",
|
|
10767
|
+
"last_updated",
|
|
10768
|
+
"last_updated_by"
|
|
10482
10769
|
],
|
|
10483
10770
|
"title": "ToolResponse",
|
|
10484
10771
|
"description": "A tool is a function that an agent can call to perform actions like accessing databases,\nmaking API calls, or processing data. For an agent to have access to a tool, the prompt\nassociated with that agent should be linked to the tool and include instructions to use it."
|
|
@@ -10503,6 +10790,18 @@
|
|
|
10503
10790
|
"type": "integer",
|
|
10504
10791
|
"title": "Id",
|
|
10505
10792
|
"description": "The ID of the tool"
|
|
10793
|
+
},
|
|
10794
|
+
"last_updated_comments": {
|
|
10795
|
+
"anyOf": [
|
|
10796
|
+
{
|
|
10797
|
+
"type": "string"
|
|
10798
|
+
},
|
|
10799
|
+
{
|
|
10800
|
+
"type": "null"
|
|
10801
|
+
}
|
|
10802
|
+
],
|
|
10803
|
+
"title": "Last Updated Comments",
|
|
10804
|
+
"description": "Update comments"
|
|
10506
10805
|
}
|
|
10507
10806
|
},
|
|
10508
10807
|
"type": "object",
|
package/package.json
CHANGED
package/sdk/datasources.d.ts
CHANGED
|
@@ -36,6 +36,6 @@ export declare class DataSources extends ClientSDK {
|
|
|
36
36
|
* @remarks
|
|
37
37
|
* Delete a given data source.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
delete(request: operations.DataSourcesDeleteRequest, options?: RequestOptions): Promise<any>;
|
|
40
40
|
}
|
|
41
41
|
//# sourceMappingURL=datasources.d.ts.map
|