syllable-sdk 0.1.0-alpha.37 → 0.1.0-alpha.38

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.
Files changed (209) hide show
  1. package/README.md +8 -12
  2. package/docs/sdks/datasources/README.md +10 -10
  3. package/docs/sdks/services/README.md +166 -8
  4. package/docs/sdks/tools/README.md +80 -0
  5. package/docs/sdks/v1/README.md +0 -408
  6. package/funcs/{v1DataSourcesDeleteByName.d.ts → dataSourcesDelete.d.ts} +2 -2
  7. package/funcs/dataSourcesDelete.d.ts.map +1 -0
  8. package/funcs/{v1DataSourcesDeleteByName.js → dataSourcesDelete.js} +7 -10
  9. package/funcs/dataSourcesDelete.js.map +1 -0
  10. package/funcs/dataSourcesGetByName.d.ts.map +1 -1
  11. package/funcs/dataSourcesGetByName.js +2 -5
  12. package/funcs/dataSourcesGetByName.js.map +1 -1
  13. package/funcs/servicesCreate.d.ts +4 -1
  14. package/funcs/servicesCreate.d.ts.map +1 -1
  15. package/funcs/servicesCreate.js +5 -2
  16. package/funcs/servicesCreate.js.map +1 -1
  17. package/funcs/{dataSourcesDataSourcesDeleteByName.d.ts → servicesDelete.d.ts} +4 -4
  18. package/funcs/servicesDelete.d.ts.map +1 -0
  19. package/funcs/{dataSourcesDataSourcesDeleteByName.js → servicesDelete.js} +9 -9
  20. package/funcs/servicesDelete.js.map +1 -0
  21. package/funcs/{v1GetByName.d.ts → servicesGetById.d.ts} +4 -4
  22. package/funcs/servicesGetById.d.ts.map +1 -0
  23. package/funcs/{v1GetByName.js → servicesGetById.js} +10 -10
  24. package/funcs/servicesGetById.js.map +1 -0
  25. package/funcs/servicesList.d.ts +2 -2
  26. package/funcs/servicesList.d.ts.map +1 -1
  27. package/funcs/servicesList.js +2 -2
  28. package/funcs/servicesList.js.map +1 -1
  29. package/funcs/servicesUpdate.d.ts +4 -1
  30. package/funcs/servicesUpdate.d.ts.map +1 -1
  31. package/funcs/servicesUpdate.js +5 -2
  32. package/funcs/servicesUpdate.js.map +1 -1
  33. package/funcs/{v1List.d.ts → toolsDelete.d.ts} +4 -5
  34. package/funcs/toolsDelete.d.ts.map +1 -0
  35. package/funcs/{v1Create.js → toolsDelete.js} +23 -13
  36. package/funcs/toolsDelete.js.map +1 -0
  37. package/jsr.json +1 -1
  38. package/lib/config.d.ts +2 -2
  39. package/lib/config.js +2 -2
  40. package/mintlify/mint.json +10 -0
  41. package/models/components/agentcreate.d.ts +5 -0
  42. package/models/components/agentcreate.d.ts.map +1 -1
  43. package/models/components/agentcreate.js +4 -0
  44. package/models/components/agentcreate.js.map +1 -1
  45. package/models/components/agentresponse.d.ts +5 -0
  46. package/models/components/agentresponse.d.ts.map +1 -1
  47. package/models/components/agentresponse.js +4 -0
  48. package/models/components/agentresponse.js.map +1 -1
  49. package/models/components/agentupdate.d.ts +5 -0
  50. package/models/components/agentupdate.d.ts.map +1 -1
  51. package/models/components/agentupdate.js +4 -0
  52. package/models/components/agentupdate.js.map +1 -1
  53. package/models/components/index.d.ts +4 -4
  54. package/models/components/index.d.ts.map +1 -1
  55. package/models/components/index.js +4 -4
  56. package/models/components/index.js.map +1 -1
  57. package/models/components/listresponseserviceresponse.d.ts +38 -0
  58. package/models/components/listresponseserviceresponse.d.ts.map +1 -0
  59. package/models/components/{listresponseservice.js → listresponseserviceresponse.js} +20 -20
  60. package/models/components/listresponseserviceresponse.js.map +1 -0
  61. package/models/components/servicecreaterequest.d.ts +37 -0
  62. package/models/components/servicecreaterequest.d.ts.map +1 -0
  63. package/models/components/{serviceupdate.js → servicecreaterequest.js} +17 -19
  64. package/models/components/servicecreaterequest.js.map +1 -0
  65. package/models/components/serviceproperties.d.ts +9 -0
  66. package/models/components/serviceproperties.d.ts.map +1 -1
  67. package/models/components/serviceproperties.js +3 -0
  68. package/models/components/serviceproperties.js.map +1 -1
  69. package/models/components/serviceresponse.d.ts +65 -0
  70. package/models/components/serviceresponse.d.ts.map +1 -0
  71. package/models/components/serviceresponse.js +84 -0
  72. package/models/components/serviceresponse.js.map +1 -0
  73. package/models/components/serviceupdaterequest.d.ts +47 -0
  74. package/models/components/serviceupdaterequest.d.ts.map +1 -0
  75. package/models/components/{service.js → serviceupdaterequest.js} +28 -19
  76. package/models/components/serviceupdaterequest.js.map +1 -0
  77. package/models/components/tooldetailresponse.d.ts +49 -4
  78. package/models/components/tooldetailresponse.d.ts.map +1 -1
  79. package/models/components/tooldetailresponse.js +32 -4
  80. package/models/components/tooldetailresponse.js.map +1 -1
  81. package/models/components/toolproperties.d.ts +6 -0
  82. package/models/components/toolproperties.d.ts.map +1 -1
  83. package/models/components/toolproperties.js +2 -0
  84. package/models/components/toolproperties.js.map +1 -1
  85. package/models/components/toolresponse.d.ts +15 -0
  86. package/models/components/toolresponse.d.ts.map +1 -1
  87. package/models/components/toolresponse.js +12 -0
  88. package/models/components/toolresponse.js.map +1 -1
  89. package/models/components/toolupdaterequest.d.ts +5 -0
  90. package/models/components/toolupdaterequest.d.ts.map +1 -1
  91. package/models/components/toolupdaterequest.js +4 -0
  92. package/models/components/toolupdaterequest.js.map +1 -1
  93. package/models/operations/datasourcesdelete.d.ts +31 -0
  94. package/models/operations/datasourcesdelete.d.ts.map +1 -0
  95. package/models/operations/datasourcesdelete.js +70 -0
  96. package/models/operations/datasourcesdelete.js.map +1 -0
  97. package/models/operations/datasourcesgetbyname.d.ts +2 -2
  98. package/models/operations/datasourcesgetbyname.d.ts.map +1 -1
  99. package/models/operations/datasourcesgetbyname.js +11 -2
  100. package/models/operations/datasourcesgetbyname.js.map +1 -1
  101. package/models/operations/index.d.ts +4 -1
  102. package/models/operations/index.d.ts.map +1 -1
  103. package/models/operations/index.js +4 -1
  104. package/models/operations/index.js.map +1 -1
  105. package/models/operations/servicedelete.d.ts +31 -0
  106. package/models/operations/servicedelete.d.ts.map +1 -0
  107. package/models/operations/servicedelete.js +70 -0
  108. package/models/operations/servicedelete.js.map +1 -0
  109. package/models/operations/servicesgetbyid.d.ts +29 -0
  110. package/models/operations/servicesgetbyid.d.ts.map +1 -0
  111. package/models/operations/servicesgetbyid.js +68 -0
  112. package/models/operations/servicesgetbyid.js.map +1 -0
  113. package/models/operations/tooldelete.d.ts +31 -0
  114. package/models/operations/tooldelete.d.ts.map +1 -0
  115. package/models/operations/{datasourcesdeletebyname.js → tooldelete.js} +28 -19
  116. package/models/operations/tooldelete.js.map +1 -0
  117. package/openapi.json +359 -56
  118. package/package.json +1 -1
  119. package/sdk/datasources.d.ts +1 -1
  120. package/sdk/datasources.d.ts.map +1 -1
  121. package/sdk/datasources.js +3 -3
  122. package/sdk/datasources.js.map +1 -1
  123. package/sdk/sdk.d.ts +2 -2
  124. package/sdk/sdk.d.ts.map +1 -1
  125. package/sdk/sdk.js +3 -3
  126. package/sdk/sdk.js.map +1 -1
  127. package/sdk/services.d.ts +24 -4
  128. package/sdk/services.d.ts.map +1 -1
  129. package/sdk/services.js +27 -1
  130. package/sdk/services.js.map +1 -1
  131. package/sdk/tools.d.ts +7 -0
  132. package/sdk/tools.d.ts.map +1 -1
  133. package/sdk/tools.js +10 -0
  134. package/sdk/tools.js.map +1 -1
  135. package/sdk/v1.d.ts +0 -36
  136. package/sdk/v1.d.ts.map +1 -1
  137. package/sdk/v1.js +0 -50
  138. package/sdk/v1.js.map +1 -1
  139. package/src/funcs/{v1Create.ts → dataSourcesDelete.ts} +30 -15
  140. package/src/funcs/dataSourcesGetByName.ts +8 -5
  141. package/src/funcs/servicesCreate.ts +8 -5
  142. package/src/funcs/{dataSourcesDataSourcesDeleteByName.ts → servicesDelete.ts} +8 -9
  143. package/src/funcs/{v1GetByName.ts → servicesGetById.ts} +11 -12
  144. package/src/funcs/servicesList.ts +4 -4
  145. package/src/funcs/servicesUpdate.ts +8 -5
  146. package/src/funcs/{v1DataSourcesDeleteByName.ts → toolsDelete.ts} +8 -9
  147. package/src/lib/config.ts +2 -2
  148. package/src/models/components/agentcreate.ts +9 -0
  149. package/src/models/components/agentresponse.ts +9 -0
  150. package/src/models/components/agentupdate.ts +9 -0
  151. package/src/models/components/index.ts +4 -4
  152. package/src/models/components/{listresponseservice.ts → listresponseserviceresponse.ts} +32 -30
  153. package/src/models/components/servicecreaterequest.ts +76 -0
  154. package/src/models/components/serviceproperties.ts +3 -0
  155. package/src/models/components/serviceresponse.ts +127 -0
  156. package/src/models/components/serviceupdaterequest.ts +99 -0
  157. package/src/models/components/tooldetailresponse.ts +87 -8
  158. package/src/models/components/toolproperties.ts +2 -0
  159. package/src/models/components/toolresponse.ts +29 -0
  160. package/src/models/components/toolupdaterequest.ts +9 -0
  161. package/src/models/operations/datasourcesdelete.ts +79 -0
  162. package/src/models/operations/datasourcesgetbyname.ts +13 -4
  163. package/src/models/operations/index.ts +4 -1
  164. package/src/models/operations/servicedelete.ts +79 -0
  165. package/src/models/operations/servicesgetbyid.ts +75 -0
  166. package/src/models/operations/tooldelete.ts +79 -0
  167. package/src/sdk/datasources.ts +4 -4
  168. package/src/sdk/sdk.ts +5 -5
  169. package/src/sdk/services.ts +48 -6
  170. package/src/sdk/tools.ts +18 -0
  171. package/src/sdk/v1.ts +0 -91
  172. package/funcs/dataSourcesDataSourcesDeleteByName.d.ts.map +0 -1
  173. package/funcs/dataSourcesDataSourcesDeleteByName.js.map +0 -1
  174. package/funcs/v1Create.d.ts +0 -16
  175. package/funcs/v1Create.d.ts.map +0 -1
  176. package/funcs/v1Create.js.map +0 -1
  177. package/funcs/v1DataSourcesDeleteByName.d.ts.map +0 -1
  178. package/funcs/v1DataSourcesDeleteByName.js.map +0 -1
  179. package/funcs/v1GetByName.d.ts.map +0 -1
  180. package/funcs/v1GetByName.js.map +0 -1
  181. package/funcs/v1List.d.ts.map +0 -1
  182. package/funcs/v1List.js +0 -113
  183. package/funcs/v1List.js.map +0 -1
  184. package/funcs/v1Update.d.ts +0 -16
  185. package/funcs/v1Update.d.ts.map +0 -1
  186. package/funcs/v1Update.js +0 -101
  187. package/funcs/v1Update.js.map +0 -1
  188. package/models/components/listresponseservice.d.ts +0 -38
  189. package/models/components/listresponseservice.d.ts.map +0 -1
  190. package/models/components/listresponseservice.js.map +0 -1
  191. package/models/components/service.d.ts +0 -50
  192. package/models/components/service.d.ts.map +0 -1
  193. package/models/components/service.js.map +0 -1
  194. package/models/components/servicecreate.d.ts +0 -37
  195. package/models/components/servicecreate.d.ts.map +0 -1
  196. package/models/components/servicecreate.js +0 -61
  197. package/models/components/servicecreate.js.map +0 -1
  198. package/models/components/serviceupdate.d.ts +0 -42
  199. package/models/components/serviceupdate.d.ts.map +0 -1
  200. package/models/components/serviceupdate.js.map +0 -1
  201. package/models/operations/datasourcesdeletebyname.d.ts +0 -31
  202. package/models/operations/datasourcesdeletebyname.d.ts.map +0 -1
  203. package/models/operations/datasourcesdeletebyname.js.map +0 -1
  204. package/src/funcs/v1List.ts +0 -150
  205. package/src/funcs/v1Update.ts +0 -134
  206. package/src/models/components/service.ts +0 -86
  207. package/src/models/components/servicecreate.ts +0 -72
  208. package/src/models/components/serviceupdate.ts +0 -79
  209. package/src/models/operations/datasourcesdeletebyname.ts +0 -72
package/openapi.json CHANGED
@@ -1120,7 +1120,7 @@
1120
1120
  }
1121
1121
  }
1122
1122
  },
1123
- "/api/v1/data_sources/{name}": {
1123
+ "/api/v1/data_sources/{data_source_name}": {
1124
1124
  "get": {
1125
1125
  "tags": [
1126
1126
  "data_sources",
@@ -1136,12 +1136,12 @@
1136
1136
  ],
1137
1137
  "parameters": [
1138
1138
  {
1139
- "name": "name",
1139
+ "name": "data_source_name",
1140
1140
  "in": "path",
1141
1141
  "required": true,
1142
1142
  "schema": {
1143
1143
  "type": "string",
1144
- "title": "Name"
1144
+ "title": "Data Source Name"
1145
1145
  }
1146
1146
  }
1147
1147
  ],
@@ -1175,7 +1175,7 @@
1175
1175
  ],
1176
1176
  "summary": "Delete Data Source",
1177
1177
  "description": "Delete a given data source.",
1178
- "operationId": "data_sources_delete_by_name",
1178
+ "operationId": "data_sources_delete",
1179
1179
  "security": [
1180
1180
  {
1181
1181
  "APIKeyHeader": []
@@ -1183,12 +1183,12 @@
1183
1183
  ],
1184
1184
  "parameters": [
1185
1185
  {
1186
- "name": "name",
1186
+ "name": "data_source_name",
1187
1187
  "in": "path",
1188
1188
  "required": true,
1189
1189
  "schema": {
1190
1190
  "type": "string",
1191
- "title": "Name"
1191
+ "title": "Data Source Name"
1192
1192
  }
1193
1193
  },
1194
1194
  {
@@ -2209,7 +2209,7 @@
2209
2209
  "V1"
2210
2210
  ],
2211
2211
  "summary": "Service List",
2212
- "description": "List the existing agents",
2212
+ "description": "List the existing services",
2213
2213
  "operationId": "service_list",
2214
2214
  "security": [
2215
2215
  {
@@ -2363,7 +2363,7 @@
2363
2363
  "content": {
2364
2364
  "application/json": {
2365
2365
  "schema": {
2366
- "$ref": "#/components/schemas/ListResponse_Service_"
2366
+ "$ref": "#/components/schemas/ListResponse_ServiceResponse_"
2367
2367
  }
2368
2368
  }
2369
2369
  }
@@ -2386,6 +2386,7 @@
2386
2386
  "V1"
2387
2387
  ],
2388
2388
  "summary": "Create Service",
2389
+ "description": "Create a new service.",
2389
2390
  "operationId": "service_create",
2390
2391
  "security": [
2391
2392
  {
@@ -2397,7 +2398,7 @@
2397
2398
  "content": {
2398
2399
  "application/json": {
2399
2400
  "schema": {
2400
- "$ref": "#/components/schemas/ServiceCreate"
2401
+ "$ref": "#/components/schemas/ServiceCreateRequest"
2401
2402
  }
2402
2403
  }
2403
2404
  }
@@ -2408,7 +2409,7 @@
2408
2409
  "content": {
2409
2410
  "application/json": {
2410
2411
  "schema": {
2411
- "$ref": "#/components/schemas/Service"
2412
+ "$ref": "#/components/schemas/ServiceResponse"
2412
2413
  }
2413
2414
  }
2414
2415
  }
@@ -2431,6 +2432,7 @@
2431
2432
  "V1"
2432
2433
  ],
2433
2434
  "summary": "Update Service",
2435
+ "description": "Update an existing service.",
2434
2436
  "operationId": "service_update",
2435
2437
  "security": [
2436
2438
  {
@@ -2442,7 +2444,7 @@
2442
2444
  "content": {
2443
2445
  "application/json": {
2444
2446
  "schema": {
2445
- "$ref": "#/components/schemas/ServiceUpdate"
2447
+ "$ref": "#/components/schemas/ServiceUpdateRequest"
2446
2448
  }
2447
2449
  }
2448
2450
  }
@@ -2453,10 +2455,113 @@
2453
2455
  "content": {
2454
2456
  "application/json": {
2455
2457
  "schema": {
2456
- "$ref": "#/components/schemas/Service"
2458
+ "$ref": "#/components/schemas/ServiceResponse"
2459
+ }
2460
+ }
2461
+ }
2462
+ },
2463
+ "422": {
2464
+ "description": "Validation Error",
2465
+ "content": {
2466
+ "application/json": {
2467
+ "schema": {
2468
+ "$ref": "#/components/schemas/HTTPValidationError"
2469
+ }
2470
+ }
2471
+ }
2472
+ }
2473
+ }
2474
+ }
2475
+ },
2476
+ "/api/v1/services/{service_id}": {
2477
+ "get": {
2478
+ "tags": [
2479
+ "services",
2480
+ "V1"
2481
+ ],
2482
+ "summary": "Get Service By Id",
2483
+ "description": "Get a service by its ID",
2484
+ "operationId": "services_get_by_id",
2485
+ "security": [
2486
+ {
2487
+ "APIKeyHeader": []
2488
+ }
2489
+ ],
2490
+ "parameters": [
2491
+ {
2492
+ "name": "service_id",
2493
+ "in": "path",
2494
+ "required": true,
2495
+ "schema": {
2496
+ "type": "integer",
2497
+ "title": "Service Id"
2498
+ }
2499
+ }
2500
+ ],
2501
+ "responses": {
2502
+ "200": {
2503
+ "description": "Successful Response",
2504
+ "content": {
2505
+ "application/json": {
2506
+ "schema": {
2507
+ "$ref": "#/components/schemas/ServiceResponse"
2508
+ }
2509
+ }
2510
+ }
2511
+ },
2512
+ "422": {
2513
+ "description": "Validation Error",
2514
+ "content": {
2515
+ "application/json": {
2516
+ "schema": {
2517
+ "$ref": "#/components/schemas/HTTPValidationError"
2457
2518
  }
2458
2519
  }
2459
2520
  }
2521
+ }
2522
+ }
2523
+ },
2524
+ "delete": {
2525
+ "tags": [
2526
+ "services",
2527
+ "V1"
2528
+ ],
2529
+ "summary": "Delete Service",
2530
+ "description": "Delete a service. A service with linked tools cannot be deleted.",
2531
+ "operationId": "service_delete",
2532
+ "security": [
2533
+ {
2534
+ "APIKeyHeader": []
2535
+ }
2536
+ ],
2537
+ "parameters": [
2538
+ {
2539
+ "name": "service_id",
2540
+ "in": "path",
2541
+ "required": true,
2542
+ "schema": {
2543
+ "type": "integer",
2544
+ "title": "Service Id"
2545
+ }
2546
+ },
2547
+ {
2548
+ "name": "reason",
2549
+ "in": "query",
2550
+ "required": true,
2551
+ "schema": {
2552
+ "type": "string",
2553
+ "title": "Reason"
2554
+ }
2555
+ }
2556
+ ],
2557
+ "responses": {
2558
+ "200": {
2559
+ "description": "Successful Response",
2560
+ "content": {
2561
+ "application/json": {
2562
+ "schema": {}
2563
+ }
2564
+ }
2460
2565
  },
2461
2566
  "422": {
2462
2567
  "description": "Validation Error",
@@ -3431,6 +3536,60 @@
3431
3536
  }
3432
3537
  }
3433
3538
  }
3539
+ },
3540
+ "delete": {
3541
+ "tags": [
3542
+ "tools",
3543
+ "V1"
3544
+ ],
3545
+ "summary": "Delete Tool",
3546
+ "description": "Delete a tool.",
3547
+ "operationId": "tool_delete",
3548
+ "security": [
3549
+ {
3550
+ "APIKeyHeader": []
3551
+ }
3552
+ ],
3553
+ "parameters": [
3554
+ {
3555
+ "name": "tool_name",
3556
+ "in": "path",
3557
+ "required": true,
3558
+ "schema": {
3559
+ "type": "string",
3560
+ "title": "Tool Name"
3561
+ }
3562
+ },
3563
+ {
3564
+ "name": "reason",
3565
+ "in": "query",
3566
+ "required": true,
3567
+ "schema": {
3568
+ "type": "string",
3569
+ "title": "Reason"
3570
+ }
3571
+ }
3572
+ ],
3573
+ "responses": {
3574
+ "200": {
3575
+ "description": "Successful Response",
3576
+ "content": {
3577
+ "application/json": {
3578
+ "schema": {}
3579
+ }
3580
+ }
3581
+ },
3582
+ "422": {
3583
+ "description": "Validation Error",
3584
+ "content": {
3585
+ "application/json": {
3586
+ "schema": {
3587
+ "$ref": "#/components/schemas/HTTPValidationError"
3588
+ }
3589
+ }
3590
+ }
3591
+ }
3592
+ }
3434
3593
  }
3435
3594
  },
3436
3595
  "/api/v1/channels/available-targets": {
@@ -5670,6 +5829,12 @@
5670
5829
  ],
5671
5830
  "title": "Tool Headers",
5672
5831
  "description": "Optional headers to include in tool calls for agent."
5832
+ },
5833
+ "agent_initiated": {
5834
+ "type": "boolean",
5835
+ "title": "Agent Initiated",
5836
+ "description": "Whether the agent initiates conversation with a user after the custom_message is delivered",
5837
+ "default": false
5673
5838
  }
5674
5839
  },
5675
5840
  "type": "object",
@@ -5809,6 +5974,12 @@
5809
5974
  "title": "Tool Headers",
5810
5975
  "description": "Optional headers to include in tool calls for agent."
5811
5976
  },
5977
+ "agent_initiated": {
5978
+ "type": "boolean",
5979
+ "title": "Agent Initiated",
5980
+ "description": "Whether the agent initiates conversation with a user after the custom_message is delivered",
5981
+ "default": false
5982
+ },
5812
5983
  "id": {
5813
5984
  "type": "integer",
5814
5985
  "title": "Id",
@@ -6033,6 +6204,12 @@
6033
6204
  "title": "Tool Headers",
6034
6205
  "description": "Optional headers to include in tool calls for agent."
6035
6206
  },
6207
+ "agent_initiated": {
6208
+ "type": "boolean",
6209
+ "title": "Agent Initiated",
6210
+ "description": "Whether the agent initiates conversation with a user after the custom_message is delivered",
6211
+ "default": false
6212
+ },
6036
6213
  "id": {
6037
6214
  "type": "integer",
6038
6215
  "title": "Id",
@@ -8535,11 +8712,11 @@
8535
8712
  ],
8536
8713
  "title": "ListResponse[PromptResponse]"
8537
8714
  },
8538
- "ListResponse_Service_": {
8715
+ "ListResponse_ServiceResponse_": {
8539
8716
  "properties": {
8540
8717
  "items": {
8541
8718
  "items": {
8542
- "$ref": "#/components/schemas/Service"
8719
+ "$ref": "#/components/schemas/ServiceResponse"
8543
8720
  },
8544
8721
  "type": "array",
8545
8722
  "title": "Items"
@@ -8581,7 +8758,7 @@
8581
8758
  "page",
8582
8759
  "page_size"
8583
8760
  ],
8584
- "title": "ListResponse[Service]"
8761
+ "title": "ListResponse[ServiceResponse]"
8585
8762
  },
8586
8763
  "ListResponse_SessionLabel_": {
8587
8764
  "properties": {
@@ -9271,7 +9448,7 @@
9271
9448
  ],
9272
9449
  "title": "RequestStatus"
9273
9450
  },
9274
- "Service": {
9451
+ "ServiceCreateRequest": {
9275
9452
  "properties": {
9276
9453
  "name": {
9277
9454
  "type": "string",
@@ -9282,32 +9459,27 @@
9282
9459
  "type": "string",
9283
9460
  "title": "Description",
9284
9461
  "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
9462
  }
9299
9463
  },
9300
9464
  "type": "object",
9301
9465
  "required": [
9302
9466
  "name",
9303
- "description",
9467
+ "description"
9468
+ ],
9469
+ "title": "ServiceCreateRequest"
9470
+ },
9471
+ "ServiceProperties": {
9472
+ "type": "string",
9473
+ "enum": [
9304
9474
  "id",
9305
- "tools"
9475
+ "name",
9476
+ "description",
9477
+ "updated_at",
9478
+ "last_updated_by"
9306
9479
  ],
9307
- "title": "Service",
9308
- "description": "A service is a collection of tools."
9480
+ "title": "ServiceProperties"
9309
9481
  },
9310
- "ServiceCreate": {
9482
+ "ServiceResponse": {
9311
9483
  "properties": {
9312
9484
  "name": {
9313
9485
  "type": "string",
@@ -9318,24 +9490,57 @@
9318
9490
  "type": "string",
9319
9491
  "title": "Description",
9320
9492
  "description": "The description of the service"
9493
+ },
9494
+ "id": {
9495
+ "type": "integer",
9496
+ "title": "Id",
9497
+ "description": "The ID of the service"
9498
+ },
9499
+ "last_updated_comments": {
9500
+ "anyOf": [
9501
+ {
9502
+ "type": "string"
9503
+ },
9504
+ {
9505
+ "type": "null"
9506
+ }
9507
+ ],
9508
+ "title": "Last Updated Comments",
9509
+ "description": "Update comments"
9510
+ },
9511
+ "last_updated": {
9512
+ "type": "string",
9513
+ "format": "date-time",
9514
+ "title": "Last Updated",
9515
+ "description": "The timestamp of the most recent update to the service"
9516
+ },
9517
+ "last_updated_by": {
9518
+ "type": "string",
9519
+ "title": "Last Updated By",
9520
+ "description": "The email of the user who last updated the service"
9521
+ },
9522
+ "tools": {
9523
+ "items": {
9524
+ "type": "string"
9525
+ },
9526
+ "type": "array",
9527
+ "title": "Tools",
9528
+ "description": "Names of tools that belong to the service"
9321
9529
  }
9322
9530
  },
9323
9531
  "type": "object",
9324
9532
  "required": [
9325
9533
  "name",
9326
- "description"
9327
- ],
9328
- "title": "ServiceCreate"
9329
- },
9330
- "ServiceProperties": {
9331
- "type": "string",
9332
- "enum": [
9534
+ "description",
9333
9535
  "id",
9334
- "name"
9536
+ "last_updated",
9537
+ "last_updated_by",
9538
+ "tools"
9335
9539
  ],
9336
- "title": "ServiceProperties"
9540
+ "title": "ServiceResponse",
9541
+ "description": "A service is a collection of tools."
9337
9542
  },
9338
- "ServiceUpdate": {
9543
+ "ServiceUpdateRequest": {
9339
9544
  "properties": {
9340
9545
  "name": {
9341
9546
  "type": "string",
@@ -9351,6 +9556,18 @@
9351
9556
  "type": "integer",
9352
9557
  "title": "Id",
9353
9558
  "description": "The ID of the service"
9559
+ },
9560
+ "last_updated_comments": {
9561
+ "anyOf": [
9562
+ {
9563
+ "type": "string"
9564
+ },
9565
+ {
9566
+ "type": "null"
9567
+ }
9568
+ ],
9569
+ "title": "Last Updated Comments",
9570
+ "description": "Update comments"
9354
9571
  }
9355
9572
  },
9356
9573
  "type": "object",
@@ -9359,7 +9576,7 @@
9359
9576
  "description",
9360
9577
  "id"
9361
9578
  ],
9362
- "title": "ServiceUpdate"
9579
+ "title": "ServiceUpdateRequest"
9363
9580
  },
9364
9581
  "Session": {
9365
9582
  "properties": {
@@ -10238,34 +10455,81 @@
10238
10455
  },
10239
10456
  "ToolDetailResponse": {
10240
10457
  "properties": {
10458
+ "name": {
10459
+ "type": "string",
10460
+ "title": "Name",
10461
+ "description": "The name of the tool"
10462
+ },
10463
+ "definition": {
10464
+ "$ref": "#/components/schemas/ToolDefinition",
10465
+ "description": "The definition of the tool"
10466
+ },
10467
+ "service_id": {
10468
+ "type": "integer",
10469
+ "title": "Service Id",
10470
+ "description": "The service this tool belongs to"
10471
+ },
10241
10472
  "id": {
10242
10473
  "type": "integer",
10243
- "title": "Id"
10474
+ "title": "Id",
10475
+ "description": "The ID of the tool"
10244
10476
  },
10245
- "name": {
10477
+ "last_updated_comments": {
10478
+ "anyOf": [
10479
+ {
10480
+ "type": "string"
10481
+ },
10482
+ {
10483
+ "type": "null"
10484
+ }
10485
+ ],
10486
+ "title": "Last Updated Comments",
10487
+ "description": "Update comments"
10488
+ },
10489
+ "service_name": {
10490
+ "anyOf": [
10491
+ {
10492
+ "type": "string"
10493
+ },
10494
+ {
10495
+ "type": "null"
10496
+ }
10497
+ ],
10498
+ "title": "Service Name",
10499
+ "description": "The name of the service to which the tool belongs"
10500
+ },
10501
+ "last_updated": {
10246
10502
  "type": "string",
10247
- "title": "Name"
10503
+ "format": "date-time",
10504
+ "title": "Last Updated",
10505
+ "description": "The timestamp of the most recent update to the service"
10248
10506
  },
10249
- "description": {
10507
+ "last_updated_by": {
10250
10508
  "type": "string",
10251
- "title": "Description"
10509
+ "title": "Last Updated By",
10510
+ "description": "The email of the user who last updated the tool"
10252
10511
  },
10253
10512
  "fields": {
10254
10513
  "items": {
10255
10514
  "type": "string"
10256
10515
  },
10257
10516
  "type": "array",
10258
- "title": "Fields"
10517
+ "title": "Fields",
10518
+ "description": "Fields that the tool accepts as input"
10259
10519
  }
10260
10520
  },
10261
10521
  "type": "object",
10262
10522
  "required": [
10263
- "id",
10264
10523
  "name",
10265
- "description",
10524
+ "definition",
10525
+ "service_id",
10526
+ "id",
10527
+ "last_updated",
10528
+ "last_updated_by",
10266
10529
  "fields"
10267
10530
  ],
10268
- "title": "ToolDetailResponse"
10531
+ "title": "ToolDetailResponse",
10532
+ "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
10533
  },
10270
10534
  "ToolFunction": {
10271
10535
  "properties": {
@@ -10435,7 +10699,9 @@
10435
10699
  "name",
10436
10700
  "service_name",
10437
10701
  "definition",
10438
- "service_id"
10702
+ "service_id",
10703
+ "updated_at",
10704
+ "last_updated_by"
10439
10705
  ],
10440
10706
  "title": "ToolProperties"
10441
10707
  },
@@ -10460,6 +10726,18 @@
10460
10726
  "title": "Id",
10461
10727
  "description": "The ID of the tool"
10462
10728
  },
10729
+ "last_updated_comments": {
10730
+ "anyOf": [
10731
+ {
10732
+ "type": "string"
10733
+ },
10734
+ {
10735
+ "type": "null"
10736
+ }
10737
+ ],
10738
+ "title": "Last Updated Comments",
10739
+ "description": "Update comments"
10740
+ },
10463
10741
  "service_name": {
10464
10742
  "anyOf": [
10465
10743
  {
@@ -10471,6 +10749,17 @@
10471
10749
  ],
10472
10750
  "title": "Service Name",
10473
10751
  "description": "The name of the service to which the tool belongs"
10752
+ },
10753
+ "last_updated": {
10754
+ "type": "string",
10755
+ "format": "date-time",
10756
+ "title": "Last Updated",
10757
+ "description": "The timestamp of the most recent update to the service"
10758
+ },
10759
+ "last_updated_by": {
10760
+ "type": "string",
10761
+ "title": "Last Updated By",
10762
+ "description": "The email of the user who last updated the tool"
10474
10763
  }
10475
10764
  },
10476
10765
  "type": "object",
@@ -10478,7 +10767,9 @@
10478
10767
  "name",
10479
10768
  "definition",
10480
10769
  "service_id",
10481
- "id"
10770
+ "id",
10771
+ "last_updated",
10772
+ "last_updated_by"
10482
10773
  ],
10483
10774
  "title": "ToolResponse",
10484
10775
  "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 +10794,18 @@
10503
10794
  "type": "integer",
10504
10795
  "title": "Id",
10505
10796
  "description": "The ID of the tool"
10797
+ },
10798
+ "last_updated_comments": {
10799
+ "anyOf": [
10800
+ {
10801
+ "type": "string"
10802
+ },
10803
+ {
10804
+ "type": "null"
10805
+ }
10806
+ ],
10807
+ "title": "Last Updated Comments",
10808
+ "description": "Update comments"
10506
10809
  }
10507
10810
  },
10508
10811
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syllable-sdk",
3
- "version": "0.1.0-alpha.37",
3
+ "version": "0.1.0-alpha.38",
4
4
  "author": "Speakeasy",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
@@ -36,6 +36,6 @@ export declare class DataSources extends ClientSDK {
36
36
  * @remarks
37
37
  * Delete a given data source.
38
38
  */
39
- dataSourcesDeleteByName(request: operations.DataSourcesDeleteByNameRequest, options?: RequestOptions): Promise<any>;
39
+ delete(request: operations.DataSourcesDeleteRequest, options?: RequestOptions): Promise<any>;
40
40
  }
41
41
  //# sourceMappingURL=datasources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"datasources.d.ts","sourceRoot":"","sources":["../src/sdk/datasources.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,WAAY,SAAQ,SAAS;IACxC;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;IAQ7D;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,SAAS,CACb,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,uBAAuB,CAC3B,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,GAAG,CAAC;CAOhB"}
1
+ {"version":3,"file":"datasources.d.ts","sourceRoot":"","sources":["../src/sdk/datasources.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,WAAY,SAAQ,SAAS;IACxC;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sCAAsC,CAAC;IAQ7D;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,SAAS,CACb,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,GAAG,CAAC;CAOhB"}