syllable-sdk 0.1.0-alpha.41 → 0.1.0-alpha.42

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 (271) hide show
  1. package/docs/sdks/tools/README.md +24 -0
  2. package/funcs/agentsAgentGetAvailableVoices.d.ts.map +1 -1
  3. package/funcs/agentsAgentGetAvailableVoices.js +1 -0
  4. package/funcs/agentsAgentGetAvailableVoices.js.map +1 -1
  5. package/funcs/agentsCreate.d.ts.map +1 -1
  6. package/funcs/agentsCreate.js +1 -0
  7. package/funcs/agentsCreate.js.map +1 -1
  8. package/funcs/agentsDelete.d.ts.map +1 -1
  9. package/funcs/agentsDelete.js +1 -0
  10. package/funcs/agentsDelete.js.map +1 -1
  11. package/funcs/agentsGetById.d.ts.map +1 -1
  12. package/funcs/agentsGetById.js +1 -0
  13. package/funcs/agentsGetById.js.map +1 -1
  14. package/funcs/agentsList.d.ts.map +1 -1
  15. package/funcs/agentsList.js +1 -0
  16. package/funcs/agentsList.js.map +1 -1
  17. package/funcs/agentsTestSendTestMessage.d.ts.map +1 -1
  18. package/funcs/agentsTestSendTestMessage.js +1 -0
  19. package/funcs/agentsTestSendTestMessage.js.map +1 -1
  20. package/funcs/agentsUpdate.d.ts.map +1 -1
  21. package/funcs/agentsUpdate.js +1 -0
  22. package/funcs/agentsUpdate.js.map +1 -1
  23. package/funcs/channelsDelete.d.ts.map +1 -1
  24. package/funcs/channelsDelete.js +1 -0
  25. package/funcs/channelsDelete.js.map +1 -1
  26. package/funcs/channelsList.d.ts.map +1 -1
  27. package/funcs/channelsList.js +1 -0
  28. package/funcs/channelsList.js.map +1 -1
  29. package/funcs/channelsTargetsAvailableTargets.d.ts.map +1 -1
  30. package/funcs/channelsTargetsAvailableTargets.js +1 -0
  31. package/funcs/channelsTargetsAvailableTargets.js.map +1 -1
  32. package/funcs/channelsTargetsCreate.d.ts.map +1 -1
  33. package/funcs/channelsTargetsCreate.js +1 -0
  34. package/funcs/channelsTargetsCreate.js.map +1 -1
  35. package/funcs/channelsTargetsGetById.d.ts.map +1 -1
  36. package/funcs/channelsTargetsGetById.js +1 -0
  37. package/funcs/channelsTargetsGetById.js.map +1 -1
  38. package/funcs/channelsTargetsList.d.ts.map +1 -1
  39. package/funcs/channelsTargetsList.js +1 -0
  40. package/funcs/channelsTargetsList.js.map +1 -1
  41. package/funcs/channelsTargetsUpdate.d.ts.map +1 -1
  42. package/funcs/channelsTargetsUpdate.js +1 -0
  43. package/funcs/channelsTargetsUpdate.js.map +1 -1
  44. package/funcs/conversationsList.d.ts.map +1 -1
  45. package/funcs/conversationsList.js +1 -0
  46. package/funcs/conversationsList.js.map +1 -1
  47. package/funcs/customMessagesCreate.d.ts.map +1 -1
  48. package/funcs/customMessagesCreate.js +1 -0
  49. package/funcs/customMessagesCreate.js.map +1 -1
  50. package/funcs/customMessagesDelete.d.ts.map +1 -1
  51. package/funcs/customMessagesDelete.js +1 -0
  52. package/funcs/customMessagesDelete.js.map +1 -1
  53. package/funcs/customMessagesGetById.d.ts.map +1 -1
  54. package/funcs/customMessagesGetById.js +1 -0
  55. package/funcs/customMessagesGetById.js.map +1 -1
  56. package/funcs/customMessagesList.d.ts.map +1 -1
  57. package/funcs/customMessagesList.js +1 -0
  58. package/funcs/customMessagesList.js.map +1 -1
  59. package/funcs/customMessagesUpdate.d.ts.map +1 -1
  60. package/funcs/customMessagesUpdate.js +1 -0
  61. package/funcs/customMessagesUpdate.js.map +1 -1
  62. package/funcs/dashboardsPostGetDashboard.d.ts.map +1 -1
  63. package/funcs/dashboardsPostGetDashboard.js +1 -0
  64. package/funcs/dashboardsPostGetDashboard.js.map +1 -1
  65. package/funcs/dashboardsPostListDashboard.d.ts.map +1 -1
  66. package/funcs/dashboardsPostListDashboard.js +1 -0
  67. package/funcs/dashboardsPostListDashboard.js.map +1 -1
  68. package/funcs/dashboardsPostSessionEventsDashboard.d.ts.map +1 -1
  69. package/funcs/dashboardsPostSessionEventsDashboard.js +1 -0
  70. package/funcs/dashboardsPostSessionEventsDashboard.js.map +1 -1
  71. package/funcs/dashboardsPostSessionSummaryDashboard.d.ts.map +1 -1
  72. package/funcs/dashboardsPostSessionSummaryDashboard.js +1 -0
  73. package/funcs/dashboardsPostSessionSummaryDashboard.js.map +1 -1
  74. package/funcs/dashboardsPostSessionTransfersDashboard.d.ts.map +1 -1
  75. package/funcs/dashboardsPostSessionTransfersDashboard.js +1 -0
  76. package/funcs/dashboardsPostSessionTransfersDashboard.js.map +1 -1
  77. package/funcs/dashboardsPostSessionsDashboard.d.ts.map +1 -1
  78. package/funcs/dashboardsPostSessionsDashboard.js +1 -0
  79. package/funcs/dashboardsPostSessionsDashboard.js.map +1 -1
  80. package/funcs/dataSourcesCreate.d.ts.map +1 -1
  81. package/funcs/dataSourcesCreate.js +1 -0
  82. package/funcs/dataSourcesCreate.js.map +1 -1
  83. package/funcs/dataSourcesDelete.d.ts.map +1 -1
  84. package/funcs/dataSourcesDelete.js +1 -0
  85. package/funcs/dataSourcesDelete.js.map +1 -1
  86. package/funcs/dataSourcesGetByName.d.ts.map +1 -1
  87. package/funcs/dataSourcesGetByName.js +1 -0
  88. package/funcs/dataSourcesGetByName.js.map +1 -1
  89. package/funcs/dataSourcesList.d.ts.map +1 -1
  90. package/funcs/dataSourcesList.js +1 -0
  91. package/funcs/dataSourcesList.js.map +1 -1
  92. package/funcs/dataSourcesUpdate.d.ts.map +1 -1
  93. package/funcs/dataSourcesUpdate.js +1 -0
  94. package/funcs/dataSourcesUpdate.js.map +1 -1
  95. package/funcs/eventsList.d.ts.map +1 -1
  96. package/funcs/eventsList.js +1 -0
  97. package/funcs/eventsList.js.map +1 -1
  98. package/funcs/promptsCreate.d.ts.map +1 -1
  99. package/funcs/promptsCreate.js +1 -0
  100. package/funcs/promptsCreate.js.map +1 -1
  101. package/funcs/promptsDelete.d.ts.map +1 -1
  102. package/funcs/promptsDelete.js +1 -0
  103. package/funcs/promptsDelete.js.map +1 -1
  104. package/funcs/promptsGetById.d.ts.map +1 -1
  105. package/funcs/promptsGetById.js +1 -0
  106. package/funcs/promptsGetById.js.map +1 -1
  107. package/funcs/promptsList.d.ts.map +1 -1
  108. package/funcs/promptsList.js +1 -0
  109. package/funcs/promptsList.js.map +1 -1
  110. package/funcs/promptsPromptsHistory.d.ts.map +1 -1
  111. package/funcs/promptsPromptsHistory.js +1 -0
  112. package/funcs/promptsPromptsHistory.js.map +1 -1
  113. package/funcs/promptsUpdate.d.ts.map +1 -1
  114. package/funcs/promptsUpdate.js +1 -0
  115. package/funcs/promptsUpdate.js.map +1 -1
  116. package/funcs/servicesCreate.d.ts.map +1 -1
  117. package/funcs/servicesCreate.js +1 -0
  118. package/funcs/servicesCreate.js.map +1 -1
  119. package/funcs/servicesDelete.d.ts.map +1 -1
  120. package/funcs/servicesDelete.js +1 -0
  121. package/funcs/servicesDelete.js.map +1 -1
  122. package/funcs/servicesGetById.d.ts.map +1 -1
  123. package/funcs/servicesGetById.js +1 -0
  124. package/funcs/servicesGetById.js.map +1 -1
  125. package/funcs/servicesList.d.ts.map +1 -1
  126. package/funcs/servicesList.js +1 -0
  127. package/funcs/servicesList.js.map +1 -1
  128. package/funcs/servicesUpdate.d.ts.map +1 -1
  129. package/funcs/servicesUpdate.js +1 -0
  130. package/funcs/servicesUpdate.js.map +1 -1
  131. package/funcs/sessionLabelsCreate.d.ts.map +1 -1
  132. package/funcs/sessionLabelsCreate.js +1 -0
  133. package/funcs/sessionLabelsCreate.js.map +1 -1
  134. package/funcs/sessionLabelsGetById.d.ts.map +1 -1
  135. package/funcs/sessionLabelsGetById.js +1 -0
  136. package/funcs/sessionLabelsGetById.js.map +1 -1
  137. package/funcs/sessionLabelsList.d.ts.map +1 -1
  138. package/funcs/sessionLabelsList.js +1 -0
  139. package/funcs/sessionLabelsList.js.map +1 -1
  140. package/funcs/sessionsGenerateSessionRecordingUrls.d.ts.map +1 -1
  141. package/funcs/sessionsGenerateSessionRecordingUrls.js +1 -0
  142. package/funcs/sessionsGenerateSessionRecordingUrls.js.map +1 -1
  143. package/funcs/sessionsGetById.d.ts.map +1 -1
  144. package/funcs/sessionsGetById.js +1 -0
  145. package/funcs/sessionsGetById.js.map +1 -1
  146. package/funcs/sessionsList.d.ts.map +1 -1
  147. package/funcs/sessionsList.js +1 -0
  148. package/funcs/sessionsList.js.map +1 -1
  149. package/funcs/sessionsSessionRecordingStream.d.ts.map +1 -1
  150. package/funcs/sessionsSessionRecordingStream.js +1 -0
  151. package/funcs/sessionsSessionRecordingStream.js.map +1 -1
  152. package/funcs/sessionsTranscriptGetById.d.ts.map +1 -1
  153. package/funcs/sessionsTranscriptGetById.js +1 -0
  154. package/funcs/sessionsTranscriptGetById.js.map +1 -1
  155. package/funcs/toolsCreate.d.ts.map +1 -1
  156. package/funcs/toolsCreate.js +1 -0
  157. package/funcs/toolsCreate.js.map +1 -1
  158. package/funcs/toolsDelete.d.ts.map +1 -1
  159. package/funcs/toolsDelete.js +1 -0
  160. package/funcs/toolsDelete.js.map +1 -1
  161. package/funcs/toolsGetByName.d.ts.map +1 -1
  162. package/funcs/toolsGetByName.js +1 -0
  163. package/funcs/toolsGetByName.js.map +1 -1
  164. package/funcs/toolsList.d.ts.map +1 -1
  165. package/funcs/toolsList.js +1 -0
  166. package/funcs/toolsList.js.map +1 -1
  167. package/funcs/toolsUpdate.d.ts.map +1 -1
  168. package/funcs/toolsUpdate.js +1 -0
  169. package/funcs/toolsUpdate.js.map +1 -1
  170. package/funcs/v1PostGetDashboard.d.ts.map +1 -1
  171. package/funcs/v1PostGetDashboard.js +1 -0
  172. package/funcs/v1PostGetDashboard.js.map +1 -1
  173. package/funcs/v1PostListDashboard.d.ts.map +1 -1
  174. package/funcs/v1PostListDashboard.js +1 -0
  175. package/funcs/v1PostListDashboard.js.map +1 -1
  176. package/funcs/v1PostSessionEventsDashboard.d.ts.map +1 -1
  177. package/funcs/v1PostSessionEventsDashboard.js +1 -0
  178. package/funcs/v1PostSessionEventsDashboard.js.map +1 -1
  179. package/funcs/v1PostSessionSummaryDashboard.d.ts.map +1 -1
  180. package/funcs/v1PostSessionSummaryDashboard.js +1 -0
  181. package/funcs/v1PostSessionSummaryDashboard.js.map +1 -1
  182. package/funcs/v1PostSessionTransfersDashboard.d.ts.map +1 -1
  183. package/funcs/v1PostSessionTransfersDashboard.js +1 -0
  184. package/funcs/v1PostSessionTransfersDashboard.js.map +1 -1
  185. package/funcs/v1PostSessionsDashboard.d.ts.map +1 -1
  186. package/funcs/v1PostSessionsDashboard.js +1 -0
  187. package/funcs/v1PostSessionsDashboard.js.map +1 -1
  188. package/hooks/types.d.ts +1 -0
  189. package/hooks/types.d.ts.map +1 -1
  190. package/jsr.json +1 -1
  191. package/lib/config.d.ts +3 -3
  192. package/lib/config.js +3 -3
  193. package/lib/security.d.ts.map +1 -1
  194. package/lib/security.js.map +1 -1
  195. package/models/components/toolcreaterequest.d.ts +1 -1
  196. package/models/components/tooldefinition.d.ts +1 -1
  197. package/models/components/tooldetailresponse.d.ts +1 -1
  198. package/models/components/toolresponse.d.ts +1 -1
  199. package/models/components/toolupdaterequest.d.ts +1 -1
  200. package/openapi.json +1 -1
  201. package/package.json +1 -1
  202. package/src/funcs/agentsAgentGetAvailableVoices.ts +1 -0
  203. package/src/funcs/agentsCreate.ts +1 -0
  204. package/src/funcs/agentsDelete.ts +1 -0
  205. package/src/funcs/agentsGetById.ts +1 -0
  206. package/src/funcs/agentsList.ts +1 -0
  207. package/src/funcs/agentsTestSendTestMessage.ts +1 -0
  208. package/src/funcs/agentsUpdate.ts +1 -0
  209. package/src/funcs/channelsDelete.ts +1 -0
  210. package/src/funcs/channelsList.ts +1 -0
  211. package/src/funcs/channelsTargetsAvailableTargets.ts +1 -0
  212. package/src/funcs/channelsTargetsCreate.ts +1 -0
  213. package/src/funcs/channelsTargetsGetById.ts +1 -0
  214. package/src/funcs/channelsTargetsList.ts +1 -0
  215. package/src/funcs/channelsTargetsUpdate.ts +1 -0
  216. package/src/funcs/conversationsList.ts +1 -0
  217. package/src/funcs/customMessagesCreate.ts +1 -0
  218. package/src/funcs/customMessagesDelete.ts +1 -0
  219. package/src/funcs/customMessagesGetById.ts +1 -0
  220. package/src/funcs/customMessagesList.ts +1 -0
  221. package/src/funcs/customMessagesUpdate.ts +1 -0
  222. package/src/funcs/dashboardsPostGetDashboard.ts +1 -0
  223. package/src/funcs/dashboardsPostListDashboard.ts +1 -0
  224. package/src/funcs/dashboardsPostSessionEventsDashboard.ts +1 -0
  225. package/src/funcs/dashboardsPostSessionSummaryDashboard.ts +1 -0
  226. package/src/funcs/dashboardsPostSessionTransfersDashboard.ts +1 -0
  227. package/src/funcs/dashboardsPostSessionsDashboard.ts +1 -0
  228. package/src/funcs/dataSourcesCreate.ts +1 -0
  229. package/src/funcs/dataSourcesDelete.ts +1 -0
  230. package/src/funcs/dataSourcesGetByName.ts +1 -0
  231. package/src/funcs/dataSourcesList.ts +1 -0
  232. package/src/funcs/dataSourcesUpdate.ts +1 -0
  233. package/src/funcs/eventsList.ts +1 -0
  234. package/src/funcs/promptsCreate.ts +1 -0
  235. package/src/funcs/promptsDelete.ts +1 -0
  236. package/src/funcs/promptsGetById.ts +1 -0
  237. package/src/funcs/promptsList.ts +1 -0
  238. package/src/funcs/promptsPromptsHistory.ts +1 -0
  239. package/src/funcs/promptsUpdate.ts +1 -0
  240. package/src/funcs/servicesCreate.ts +1 -0
  241. package/src/funcs/servicesDelete.ts +1 -0
  242. package/src/funcs/servicesGetById.ts +1 -0
  243. package/src/funcs/servicesList.ts +1 -0
  244. package/src/funcs/servicesUpdate.ts +1 -0
  245. package/src/funcs/sessionLabelsCreate.ts +1 -0
  246. package/src/funcs/sessionLabelsGetById.ts +1 -0
  247. package/src/funcs/sessionLabelsList.ts +1 -0
  248. package/src/funcs/sessionsGenerateSessionRecordingUrls.ts +1 -0
  249. package/src/funcs/sessionsGetById.ts +1 -0
  250. package/src/funcs/sessionsList.ts +1 -0
  251. package/src/funcs/sessionsSessionRecordingStream.ts +1 -0
  252. package/src/funcs/sessionsTranscriptGetById.ts +1 -0
  253. package/src/funcs/toolsCreate.ts +1 -0
  254. package/src/funcs/toolsDelete.ts +1 -0
  255. package/src/funcs/toolsGetByName.ts +1 -0
  256. package/src/funcs/toolsList.ts +1 -0
  257. package/src/funcs/toolsUpdate.ts +1 -0
  258. package/src/funcs/v1PostGetDashboard.ts +1 -0
  259. package/src/funcs/v1PostListDashboard.ts +1 -0
  260. package/src/funcs/v1PostSessionEventsDashboard.ts +1 -0
  261. package/src/funcs/v1PostSessionSummaryDashboard.ts +1 -0
  262. package/src/funcs/v1PostSessionTransfersDashboard.ts +1 -0
  263. package/src/funcs/v1PostSessionsDashboard.ts +1 -0
  264. package/src/hooks/types.ts +1 -0
  265. package/src/lib/config.ts +3 -3
  266. package/src/lib/security.ts +0 -1
  267. package/src/models/components/toolcreaterequest.ts +1 -1
  268. package/src/models/components/tooldefinition.ts +1 -1
  269. package/src/models/components/tooldetailresponse.ts +1 -1
  270. package/src/models/components/toolresponse.ts +1 -1
  271. package/src/models/components/toolupdaterequest.ts +1 -1
@@ -69,6 +69,7 @@ export async function agentsCreate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "agent_create",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -77,6 +77,7 @@ export async function agentsDelete(
77
77
  const requestSecurity = resolveGlobalSecurity(securityInput);
78
78
 
79
79
  const context = {
80
+ baseURL: options?.serverURL ?? "",
80
81
  operationID: "agent_delete",
81
82
  oAuth2Scopes: [],
82
83
 
@@ -76,6 +76,7 @@ export async function agentsGetById(
76
76
  const requestSecurity = resolveGlobalSecurity(securityInput);
77
77
 
78
78
  const context = {
79
+ baseURL: options?.serverURL ?? "",
79
80
  operationID: "agent_get_by_id",
80
81
  oAuth2Scopes: [],
81
82
 
@@ -81,6 +81,7 @@ export async function agentsList(
81
81
  const requestSecurity = resolveGlobalSecurity(securityInput);
82
82
 
83
83
  const context = {
84
+ baseURL: options?.serverURL ?? "",
84
85
  operationID: "agent_list",
85
86
  oAuth2Scopes: [],
86
87
 
@@ -69,6 +69,7 @@ export async function agentsTestSendTestMessage(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "send_test_message",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -69,6 +69,7 @@ export async function agentsUpdate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "agent_update",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -81,6 +81,7 @@ export async function channelsDelete(
81
81
  const requestSecurity = resolveGlobalSecurity(securityInput);
82
82
 
83
83
  const context = {
84
+ baseURL: options?.serverURL ?? "",
84
85
  operationID: "channel_targets_delete",
85
86
  oAuth2Scopes: [],
86
87
 
@@ -78,6 +78,7 @@ export async function channelsList(
78
78
  const requestSecurity = resolveGlobalSecurity(securityInput);
79
79
 
80
80
  const context = {
81
+ baseURL: options?.serverURL ?? "",
81
82
  operationID: "channels_list",
82
83
  oAuth2Scopes: [],
83
84
 
@@ -81,6 +81,7 @@ export async function channelsTargetsAvailableTargets(
81
81
  const requestSecurity = resolveGlobalSecurity(securityInput);
82
82
 
83
83
  const context = {
84
+ baseURL: options?.serverURL ?? "",
84
85
  operationID: "available_targets",
85
86
  oAuth2Scopes: [],
86
87
 
@@ -77,6 +77,7 @@ export async function channelsTargetsCreate(
77
77
  const requestSecurity = resolveGlobalSecurity(securityInput);
78
78
 
79
79
  const context = {
80
+ baseURL: options?.serverURL ?? "",
80
81
  operationID: "channel_targets_create",
81
82
  oAuth2Scopes: [],
82
83
 
@@ -80,6 +80,7 @@ export async function channelsTargetsGetById(
80
80
  const requestSecurity = resolveGlobalSecurity(securityInput);
81
81
 
82
82
  const context = {
83
+ baseURL: options?.serverURL ?? "",
83
84
  operationID: "channel_targets_get_by_id",
84
85
  oAuth2Scopes: [],
85
86
 
@@ -78,6 +78,7 @@ export async function channelsTargetsList(
78
78
  const requestSecurity = resolveGlobalSecurity(securityInput);
79
79
 
80
80
  const context = {
81
+ baseURL: options?.serverURL ?? "",
81
82
  operationID: "channel_targets_list",
82
83
  oAuth2Scopes: [],
83
84
 
@@ -86,6 +86,7 @@ export async function channelsTargetsUpdate(
86
86
  const requestSecurity = resolveGlobalSecurity(securityInput);
87
87
 
88
88
  const context = {
89
+ baseURL: options?.serverURL ?? "",
89
90
  operationID: "channel_targets_update",
90
91
  oAuth2Scopes: [],
91
92
 
@@ -78,6 +78,7 @@ export async function conversationsList(
78
78
  const requestSecurity = resolveGlobalSecurity(securityInput);
79
79
 
80
80
  const context = {
81
+ baseURL: options?.serverURL ?? "",
81
82
  operationID: "conversations_list",
82
83
  oAuth2Scopes: [],
83
84
 
@@ -70,6 +70,7 @@ export async function customMessagesCreate(
70
70
  const requestSecurity = resolveGlobalSecurity(securityInput);
71
71
 
72
72
  const context = {
73
+ baseURL: options?.serverURL ?? "",
73
74
  operationID: "custom_messages_create",
74
75
  oAuth2Scopes: [],
75
76
 
@@ -84,6 +84,7 @@ export async function customMessagesDelete(
84
84
  const requestSecurity = resolveGlobalSecurity(securityInput);
85
85
 
86
86
  const context = {
87
+ baseURL: options?.serverURL ?? "",
87
88
  operationID: "custom_messages_delete",
88
89
  oAuth2Scopes: [],
89
90
 
@@ -80,6 +80,7 @@ export async function customMessagesGetById(
80
80
  const requestSecurity = resolveGlobalSecurity(securityInput);
81
81
 
82
82
  const context = {
83
+ baseURL: options?.serverURL ?? "",
83
84
  operationID: "custom_message_get_by_id",
84
85
  oAuth2Scopes: [],
85
86
 
@@ -81,6 +81,7 @@ export async function customMessagesList(
81
81
  const requestSecurity = resolveGlobalSecurity(securityInput);
82
82
 
83
83
  const context = {
84
+ baseURL: options?.serverURL ?? "",
84
85
  operationID: "custom_messages_list",
85
86
  oAuth2Scopes: [],
86
87
 
@@ -70,6 +70,7 @@ export async function customMessagesUpdate(
70
70
  const requestSecurity = resolveGlobalSecurity(securityInput);
71
71
 
72
72
  const context = {
73
+ baseURL: options?.serverURL ?? "",
73
74
  operationID: "custom_messages_update",
74
75
  oAuth2Scopes: [],
75
76
 
@@ -76,6 +76,7 @@ export async function dashboardsPostGetDashboard(
76
76
  const requestSecurity = resolveGlobalSecurity(securityInput);
77
77
 
78
78
  const context = {
79
+ baseURL: options?.serverURL ?? "",
79
80
  operationID: "post_get_dashboard",
80
81
  oAuth2Scopes: [],
81
82
 
@@ -84,6 +84,7 @@ export async function dashboardsPostListDashboard(
84
84
  const requestSecurity = resolveGlobalSecurity(securityInput);
85
85
 
86
86
  const context = {
87
+ baseURL: options?.serverURL ?? "",
87
88
  operationID: "post_list_dashboard",
88
89
  oAuth2Scopes: [],
89
90
 
@@ -58,6 +58,7 @@ export async function dashboardsPostSessionEventsDashboard(
58
58
  const requestSecurity = resolveGlobalSecurity(securityInput);
59
59
 
60
60
  const context = {
61
+ baseURL: options?.serverURL ?? "",
61
62
  operationID: "post_session_events_dashboard",
62
63
  oAuth2Scopes: [],
63
64
 
@@ -58,6 +58,7 @@ export async function dashboardsPostSessionSummaryDashboard(
58
58
  const requestSecurity = resolveGlobalSecurity(securityInput);
59
59
 
60
60
  const context = {
61
+ baseURL: options?.serverURL ?? "",
61
62
  operationID: "post_session_summary_dashboard",
62
63
  oAuth2Scopes: [],
63
64
 
@@ -58,6 +58,7 @@ export async function dashboardsPostSessionTransfersDashboard(
58
58
  const requestSecurity = resolveGlobalSecurity(securityInput);
59
59
 
60
60
  const context = {
61
+ baseURL: options?.serverURL ?? "",
61
62
  operationID: "post_session_transfers_dashboard",
62
63
  oAuth2Scopes: [],
63
64
 
@@ -58,6 +58,7 @@ export async function dashboardsPostSessionsDashboard(
58
58
  const requestSecurity = resolveGlobalSecurity(securityInput);
59
59
 
60
60
  const context = {
61
+ baseURL: options?.serverURL ?? "",
61
62
  operationID: "post_sessions_dashboard",
62
63
  oAuth2Scopes: [],
63
64
 
@@ -69,6 +69,7 @@ export async function dataSourcesCreate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "data_sources_create",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -83,6 +83,7 @@ export async function dataSourcesDelete(
83
83
  const requestSecurity = resolveGlobalSecurity(securityInput);
84
84
 
85
85
  const context = {
86
+ baseURL: options?.serverURL ?? "",
86
87
  operationID: "data_sources_delete",
87
88
  oAuth2Scopes: [],
88
89
 
@@ -80,6 +80,7 @@ export async function dataSourcesGetByName(
80
80
  const requestSecurity = resolveGlobalSecurity(securityInput);
81
81
 
82
82
  const context = {
83
+ baseURL: options?.serverURL ?? "",
83
84
  operationID: "data_sources_get_by_name",
84
85
  oAuth2Scopes: [],
85
86
 
@@ -81,6 +81,7 @@ export async function dataSourcesList(
81
81
  const requestSecurity = resolveGlobalSecurity(securityInput);
82
82
 
83
83
  const context = {
84
+ baseURL: options?.serverURL ?? "",
84
85
  operationID: "data_sources_list",
85
86
  oAuth2Scopes: [],
86
87
 
@@ -69,6 +69,7 @@ export async function dataSourcesUpdate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "data_sources_update",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -78,6 +78,7 @@ export async function eventsList(
78
78
  const requestSecurity = resolveGlobalSecurity(securityInput);
79
79
 
80
80
  const context = {
81
+ baseURL: options?.serverURL ?? "",
81
82
  operationID: "events_list",
82
83
  oAuth2Scopes: [],
83
84
 
@@ -69,6 +69,7 @@ export async function promptsCreate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "prompts_create",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -80,6 +80,7 @@ export async function promptsDelete(
80
80
  const requestSecurity = resolveGlobalSecurity(securityInput);
81
81
 
82
82
  const context = {
83
+ baseURL: options?.serverURL ?? "",
83
84
  operationID: "prompts_delete",
84
85
  oAuth2Scopes: [],
85
86
 
@@ -76,6 +76,7 @@ export async function promptsGetById(
76
76
  const requestSecurity = resolveGlobalSecurity(securityInput);
77
77
 
78
78
  const context = {
79
+ baseURL: options?.serverURL ?? "",
79
80
  operationID: "prompts_get_by_id",
80
81
  oAuth2Scopes: [],
81
82
 
@@ -81,6 +81,7 @@ export async function promptsList(
81
81
  const requestSecurity = resolveGlobalSecurity(securityInput);
82
82
 
83
83
  const context = {
84
+ baseURL: options?.serverURL ?? "",
84
85
  operationID: "prompts_list",
85
86
  oAuth2Scopes: [],
86
87
 
@@ -77,6 +77,7 @@ export async function promptsPromptsHistory(
77
77
  const requestSecurity = resolveGlobalSecurity(securityInput);
78
78
 
79
79
  const context = {
80
+ baseURL: options?.serverURL ?? "",
80
81
  operationID: "prompts_history",
81
82
  oAuth2Scopes: [],
82
83
 
@@ -69,6 +69,7 @@ export async function promptsUpdate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "prompts_update",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -69,6 +69,7 @@ export async function servicesCreate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "service_create",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -80,6 +80,7 @@ export async function servicesDelete(
80
80
  const requestSecurity = resolveGlobalSecurity(securityInput);
81
81
 
82
82
  const context = {
83
+ baseURL: options?.serverURL ?? "",
83
84
  operationID: "service_delete",
84
85
  oAuth2Scopes: [],
85
86
 
@@ -76,6 +76,7 @@ export async function servicesGetById(
76
76
  const requestSecurity = resolveGlobalSecurity(securityInput);
77
77
 
78
78
  const context = {
79
+ baseURL: options?.serverURL ?? "",
79
80
  operationID: "services_get_by_id",
80
81
  oAuth2Scopes: [],
81
82
 
@@ -81,6 +81,7 @@ export async function servicesList(
81
81
  const requestSecurity = resolveGlobalSecurity(securityInput);
82
82
 
83
83
  const context = {
84
+ baseURL: options?.serverURL ?? "",
84
85
  operationID: "service_list",
85
86
  oAuth2Scopes: [],
86
87
 
@@ -69,6 +69,7 @@ export async function servicesUpdate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "service_update",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -69,6 +69,7 @@ export async function sessionLabelsCreate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "session_label_create",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -77,6 +77,7 @@ export async function sessionLabelsGetById(
77
77
  const requestSecurity = resolveGlobalSecurity(securityInput);
78
78
 
79
79
  const context = {
80
+ baseURL: options?.serverURL ?? "",
80
81
  operationID: "session_label_get_by_id",
81
82
  oAuth2Scopes: [],
82
83
 
@@ -78,6 +78,7 @@ export async function sessionLabelsList(
78
78
  const requestSecurity = resolveGlobalSecurity(securityInput);
79
79
 
80
80
  const context = {
81
+ baseURL: options?.serverURL ?? "",
81
82
  operationID: "session_labels_list",
82
83
  oAuth2Scopes: [],
83
84
 
@@ -78,6 +78,7 @@ export async function sessionsGenerateSessionRecordingUrls(
78
78
  const requestSecurity = resolveGlobalSecurity(securityInput);
79
79
 
80
80
  const context = {
81
+ baseURL: options?.serverURL ?? "",
81
82
  operationID: "generate_session_recording_urls",
82
83
  oAuth2Scopes: [],
83
84
 
@@ -73,6 +73,7 @@ export async function sessionsGetById(
73
73
  const requestSecurity = resolveGlobalSecurity(securityInput);
74
74
 
75
75
  const context = {
76
+ baseURL: options?.serverURL ?? "",
76
77
  operationID: "session_get_by_id",
77
78
  oAuth2Scopes: [],
78
79
 
@@ -78,6 +78,7 @@ export async function sessionsList(
78
78
  const requestSecurity = resolveGlobalSecurity(securityInput);
79
79
 
80
80
  const context = {
81
+ baseURL: options?.serverURL ?? "",
81
82
  operationID: "sessions_list",
82
83
  oAuth2Scopes: [],
83
84
 
@@ -71,6 +71,7 @@ export async function sessionsSessionRecordingStream(
71
71
  const requestSecurity = resolveGlobalSecurity(securityInput);
72
72
 
73
73
  const context = {
74
+ baseURL: options?.serverURL ?? "",
74
75
  operationID: "session_recording_stream",
75
76
  oAuth2Scopes: [],
76
77
 
@@ -76,6 +76,7 @@ export async function sessionsTranscriptGetById(
76
76
  const requestSecurity = resolveGlobalSecurity(securityInput);
77
77
 
78
78
  const context = {
79
+ baseURL: options?.serverURL ?? "",
79
80
  operationID: "session_transcript_get_by_id",
80
81
  oAuth2Scopes: [],
81
82
 
@@ -69,6 +69,7 @@ export async function toolsCreate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "tool_create",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -80,6 +80,7 @@ export async function toolsDelete(
80
80
  const requestSecurity = resolveGlobalSecurity(securityInput);
81
81
 
82
82
  const context = {
83
+ baseURL: options?.serverURL ?? "",
83
84
  operationID: "tool_delete",
84
85
  oAuth2Scopes: [],
85
86
 
@@ -76,6 +76,7 @@ export async function toolsGetByName(
76
76
  const requestSecurity = resolveGlobalSecurity(securityInput);
77
77
 
78
78
  const context = {
79
+ baseURL: options?.serverURL ?? "",
79
80
  operationID: "tool_get_by_name",
80
81
  oAuth2Scopes: [],
81
82
 
@@ -81,6 +81,7 @@ export async function toolsList(
81
81
  const requestSecurity = resolveGlobalSecurity(securityInput);
82
82
 
83
83
  const context = {
84
+ baseURL: options?.serverURL ?? "",
84
85
  operationID: "tool_list",
85
86
  oAuth2Scopes: [],
86
87
 
@@ -69,6 +69,7 @@ export async function toolsUpdate(
69
69
  const requestSecurity = resolveGlobalSecurity(securityInput);
70
70
 
71
71
  const context = {
72
+ baseURL: options?.serverURL ?? "",
72
73
  operationID: "tool_update",
73
74
  oAuth2Scopes: [],
74
75
 
@@ -76,6 +76,7 @@ export async function v1PostGetDashboard(
76
76
  const requestSecurity = resolveGlobalSecurity(securityInput);
77
77
 
78
78
  const context = {
79
+ baseURL: options?.serverURL ?? "",
79
80
  operationID: "post_get_dashboard",
80
81
  oAuth2Scopes: [],
81
82
 
@@ -84,6 +84,7 @@ export async function v1PostListDashboard(
84
84
  const requestSecurity = resolveGlobalSecurity(securityInput);
85
85
 
86
86
  const context = {
87
+ baseURL: options?.serverURL ?? "",
87
88
  operationID: "post_list_dashboard",
88
89
  oAuth2Scopes: [],
89
90
 
@@ -58,6 +58,7 @@ export async function v1PostSessionEventsDashboard(
58
58
  const requestSecurity = resolveGlobalSecurity(securityInput);
59
59
 
60
60
  const context = {
61
+ baseURL: options?.serverURL ?? "",
61
62
  operationID: "post_session_events_dashboard",
62
63
  oAuth2Scopes: [],
63
64
 
@@ -58,6 +58,7 @@ export async function v1PostSessionSummaryDashboard(
58
58
  const requestSecurity = resolveGlobalSecurity(securityInput);
59
59
 
60
60
  const context = {
61
+ baseURL: options?.serverURL ?? "",
61
62
  operationID: "post_session_summary_dashboard",
62
63
  oAuth2Scopes: [],
63
64
 
@@ -58,6 +58,7 @@ export async function v1PostSessionTransfersDashboard(
58
58
  const requestSecurity = resolveGlobalSecurity(securityInput);
59
59
 
60
60
  const context = {
61
+ baseURL: options?.serverURL ?? "",
61
62
  operationID: "post_session_transfers_dashboard",
62
63
  oAuth2Scopes: [],
63
64
 
@@ -58,6 +58,7 @@ export async function v1PostSessionsDashboard(
58
58
  const requestSecurity = resolveGlobalSecurity(securityInput);
59
59
 
60
60
  const context = {
61
+ baseURL: options?.serverURL ?? "",
61
62
  operationID: "post_sessions_dashboard",
62
63
  oAuth2Scopes: [],
63
64
 
@@ -7,6 +7,7 @@ import { RetryConfig } from "../lib/retries.js";
7
7
  import { SecurityState } from "../lib/security.js";
8
8
 
9
9
  export type HookContext = {
10
+ baseURL: string | URL;
10
11
  operationID: string;
11
12
  oAuth2Scopes?: string[];
12
13
  securitySource?: any | (() => Promise<any>);
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.41",
61
- genVersion: "2.506.0",
60
+ sdkVersion: "0.1.0-alpha.42",
61
+ genVersion: "2.511.2",
62
62
  userAgent:
63
- "speakeasy-sdk/typescript 0.1.0-alpha.41 2.506.0 0.0.2 syllable-sdk",
63
+ "speakeasy-sdk/typescript 0.1.0-alpha.42 2.511.2 0.0.2 syllable-sdk",
64
64
  } as const;
@@ -4,7 +4,6 @@
4
4
 
5
5
  import * as components from "../models/components/index.js";
6
6
  import { env } from "./env.js";
7
-
8
7
  type OAuth2PasswordFlow = {
9
8
  username: string;
10
9
  password?: string | undefined;
@@ -20,7 +20,7 @@ export type ToolCreateRequest = {
20
20
  */
21
21
  name: string;
22
22
  /**
23
- * A tool that can be called from an LLM during the conversation.
23
+ * A tool that can be called from an LLM during the conversation. See https://docs.syllable.ai/Resources/Tools.
24
24
  */
25
25
  definition: ToolDefinition;
26
26
  /**
@@ -40,7 +40,7 @@ export type Type = ClosedEnum<typeof Type>;
40
40
  export type Defaults = any | { [k: string]: ToolParameterDefault };
41
41
 
42
42
  /**
43
- * A tool that can be called from an LLM during the conversation.
43
+ * A tool that can be called from an LLM during the conversation. See https://docs.syllable.ai/Resources/Tools.
44
44
  */
45
45
  export type ToolDefinition = {
46
46
  /**
@@ -27,7 +27,7 @@ export type ToolDetailResponse = {
27
27
  */
28
28
  name: string;
29
29
  /**
30
- * A tool that can be called from an LLM during the conversation.
30
+ * A tool that can be called from an LLM during the conversation. See https://docs.syllable.ai/Resources/Tools.
31
31
  */
32
32
  definition: ToolDefinition;
33
33
  /**
@@ -27,7 +27,7 @@ export type ToolResponse = {
27
27
  */
28
28
  name: string;
29
29
  /**
30
- * A tool that can be called from an LLM during the conversation.
30
+ * A tool that can be called from an LLM during the conversation. See https://docs.syllable.ai/Resources/Tools.
31
31
  */
32
32
  definition: ToolDefinition;
33
33
  /**