syllable-sdk 1.0.35 → 1.0.36-rc.1

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 (671) hide show
  1. package/bin/mcp-server.js +334 -173
  2. package/bin/mcp-server.js.map +169 -169
  3. package/funcs/agentsAgentGetAvailableVoices.d.ts.map +1 -1
  4. package/funcs/agentsAgentGetAvailableVoices.js +2 -1
  5. package/funcs/agentsAgentGetAvailableVoices.js.map +1 -1
  6. package/funcs/agentsCreate.d.ts.map +1 -1
  7. package/funcs/agentsCreate.js +2 -1
  8. package/funcs/agentsCreate.js.map +1 -1
  9. package/funcs/agentsDelete.d.ts.map +1 -1
  10. package/funcs/agentsDelete.js +2 -1
  11. package/funcs/agentsDelete.js.map +1 -1
  12. package/funcs/agentsGetById.d.ts.map +1 -1
  13. package/funcs/agentsGetById.js +2 -1
  14. package/funcs/agentsGetById.js.map +1 -1
  15. package/funcs/agentsList.d.ts.map +1 -1
  16. package/funcs/agentsList.js +2 -1
  17. package/funcs/agentsList.js.map +1 -1
  18. package/funcs/agentsTestSendTestMessage.d.ts.map +1 -1
  19. package/funcs/agentsTestSendTestMessage.js +2 -1
  20. package/funcs/agentsTestSendTestMessage.js.map +1 -1
  21. package/funcs/agentsUpdate.d.ts.map +1 -1
  22. package/funcs/agentsUpdate.js +2 -1
  23. package/funcs/agentsUpdate.js.map +1 -1
  24. package/funcs/channelsCreate.d.ts.map +1 -1
  25. package/funcs/channelsCreate.js +2 -1
  26. package/funcs/channelsCreate.js.map +1 -1
  27. package/funcs/channelsDelete.d.ts.map +1 -1
  28. package/funcs/channelsDelete.js +2 -1
  29. package/funcs/channelsDelete.js.map +1 -1
  30. package/funcs/channelsList.d.ts.map +1 -1
  31. package/funcs/channelsList.js +2 -1
  32. package/funcs/channelsList.js.map +1 -1
  33. package/funcs/channelsTargetsAvailableTargets.d.ts.map +1 -1
  34. package/funcs/channelsTargetsAvailableTargets.js +2 -1
  35. package/funcs/channelsTargetsAvailableTargets.js.map +1 -1
  36. package/funcs/channelsTargetsCreate.d.ts.map +1 -1
  37. package/funcs/channelsTargetsCreate.js +2 -1
  38. package/funcs/channelsTargetsCreate.js.map +1 -1
  39. package/funcs/channelsTargetsGetById.d.ts.map +1 -1
  40. package/funcs/channelsTargetsGetById.js +2 -1
  41. package/funcs/channelsTargetsGetById.js.map +1 -1
  42. package/funcs/channelsTargetsList.d.ts.map +1 -1
  43. package/funcs/channelsTargetsList.js +2 -1
  44. package/funcs/channelsTargetsList.js.map +1 -1
  45. package/funcs/channelsTargetsUpdate.d.ts.map +1 -1
  46. package/funcs/channelsTargetsUpdate.js +2 -1
  47. package/funcs/channelsTargetsUpdate.js.map +1 -1
  48. package/funcs/channelsTwilioCreate.d.ts.map +1 -1
  49. package/funcs/channelsTwilioCreate.js +2 -1
  50. package/funcs/channelsTwilioCreate.js.map +1 -1
  51. package/funcs/channelsTwilioGetById.d.ts.map +1 -1
  52. package/funcs/channelsTwilioGetById.js +2 -1
  53. package/funcs/channelsTwilioGetById.js.map +1 -1
  54. package/funcs/channelsTwilioNumbersAdd.d.ts.map +1 -1
  55. package/funcs/channelsTwilioNumbersAdd.js +2 -1
  56. package/funcs/channelsTwilioNumbersAdd.js.map +1 -1
  57. package/funcs/channelsTwilioNumbersList.d.ts.map +1 -1
  58. package/funcs/channelsTwilioNumbersList.js +2 -1
  59. package/funcs/channelsTwilioNumbersList.js.map +1 -1
  60. package/funcs/channelsTwilioNumbersUpdate.d.ts.map +1 -1
  61. package/funcs/channelsTwilioNumbersUpdate.js +2 -1
  62. package/funcs/channelsTwilioNumbersUpdate.js.map +1 -1
  63. package/funcs/channelsTwilioUpdate.d.ts.map +1 -1
  64. package/funcs/channelsTwilioUpdate.js +2 -1
  65. package/funcs/channelsTwilioUpdate.js.map +1 -1
  66. package/funcs/channelsUpdate.d.ts.map +1 -1
  67. package/funcs/channelsUpdate.js +2 -1
  68. package/funcs/channelsUpdate.js.map +1 -1
  69. package/funcs/conversationConfigGetBridgePhrasesConfig.d.ts.map +1 -1
  70. package/funcs/conversationConfigGetBridgePhrasesConfig.js +2 -1
  71. package/funcs/conversationConfigGetBridgePhrasesConfig.js.map +1 -1
  72. package/funcs/conversationConfigUpdateBridgePhrasesConfig.d.ts.map +1 -1
  73. package/funcs/conversationConfigUpdateBridgePhrasesConfig.js +2 -1
  74. package/funcs/conversationConfigUpdateBridgePhrasesConfig.js.map +1 -1
  75. package/funcs/conversationsList.d.ts.map +1 -1
  76. package/funcs/conversationsList.js +2 -1
  77. package/funcs/conversationsList.js.map +1 -1
  78. package/funcs/customMessagesCreate.d.ts.map +1 -1
  79. package/funcs/customMessagesCreate.js +2 -1
  80. package/funcs/customMessagesCreate.js.map +1 -1
  81. package/funcs/customMessagesDelete.d.ts.map +1 -1
  82. package/funcs/customMessagesDelete.js +2 -1
  83. package/funcs/customMessagesDelete.js.map +1 -1
  84. package/funcs/customMessagesGetById.d.ts.map +1 -1
  85. package/funcs/customMessagesGetById.js +2 -1
  86. package/funcs/customMessagesGetById.js.map +1 -1
  87. package/funcs/customMessagesList.d.ts.map +1 -1
  88. package/funcs/customMessagesList.js +2 -1
  89. package/funcs/customMessagesList.js.map +1 -1
  90. package/funcs/customMessagesUpdate.d.ts.map +1 -1
  91. package/funcs/customMessagesUpdate.js +2 -1
  92. package/funcs/customMessagesUpdate.js.map +1 -1
  93. package/funcs/dashboardsPostGetDashboard.d.ts.map +1 -1
  94. package/funcs/dashboardsPostGetDashboard.js +2 -1
  95. package/funcs/dashboardsPostGetDashboard.js.map +1 -1
  96. package/funcs/dashboardsPostListDashboard.d.ts.map +1 -1
  97. package/funcs/dashboardsPostListDashboard.js +2 -1
  98. package/funcs/dashboardsPostListDashboard.js.map +1 -1
  99. package/funcs/dashboardsPostSessionEventsDashboard.d.ts.map +1 -1
  100. package/funcs/dashboardsPostSessionEventsDashboard.js +2 -1
  101. package/funcs/dashboardsPostSessionEventsDashboard.js.map +1 -1
  102. package/funcs/dashboardsPostSessionSummaryDashboard.d.ts.map +1 -1
  103. package/funcs/dashboardsPostSessionSummaryDashboard.js +2 -1
  104. package/funcs/dashboardsPostSessionSummaryDashboard.js.map +1 -1
  105. package/funcs/dashboardsPostSessionTransfersDashboard.d.ts.map +1 -1
  106. package/funcs/dashboardsPostSessionTransfersDashboard.js +2 -1
  107. package/funcs/dashboardsPostSessionTransfersDashboard.js.map +1 -1
  108. package/funcs/dashboardsPostSessionsDashboard.d.ts.map +1 -1
  109. package/funcs/dashboardsPostSessionsDashboard.js +2 -1
  110. package/funcs/dashboardsPostSessionsDashboard.js.map +1 -1
  111. package/funcs/dataSourcesCreate.d.ts.map +1 -1
  112. package/funcs/dataSourcesCreate.js +2 -1
  113. package/funcs/dataSourcesCreate.js.map +1 -1
  114. package/funcs/dataSourcesDelete.d.ts.map +1 -1
  115. package/funcs/dataSourcesDelete.js +2 -1
  116. package/funcs/dataSourcesDelete.js.map +1 -1
  117. package/funcs/dataSourcesGetById.d.ts.map +1 -1
  118. package/funcs/dataSourcesGetById.js +2 -1
  119. package/funcs/dataSourcesGetById.js.map +1 -1
  120. package/funcs/dataSourcesList.d.ts.map +1 -1
  121. package/funcs/dataSourcesList.js +2 -1
  122. package/funcs/dataSourcesList.js.map +1 -1
  123. package/funcs/dataSourcesUpdate.d.ts.map +1 -1
  124. package/funcs/dataSourcesUpdate.js +2 -1
  125. package/funcs/dataSourcesUpdate.js.map +1 -1
  126. package/funcs/directoryCreate.d.ts.map +1 -1
  127. package/funcs/directoryCreate.js +2 -1
  128. package/funcs/directoryCreate.js.map +1 -1
  129. package/funcs/directoryDelete.d.ts.map +1 -1
  130. package/funcs/directoryDelete.js +2 -1
  131. package/funcs/directoryDelete.js.map +1 -1
  132. package/funcs/directoryDirectoryMemberBulkLoad.d.ts.map +1 -1
  133. package/funcs/directoryDirectoryMemberBulkLoad.js +2 -1
  134. package/funcs/directoryDirectoryMemberBulkLoad.js.map +1 -1
  135. package/funcs/directoryDirectoryMemberDownload.d.ts.map +1 -1
  136. package/funcs/directoryDirectoryMemberDownload.js +2 -1
  137. package/funcs/directoryDirectoryMemberDownload.js.map +1 -1
  138. package/funcs/directoryDirectoryMemberHistory.d.ts.map +1 -1
  139. package/funcs/directoryDirectoryMemberHistory.js +2 -1
  140. package/funcs/directoryDirectoryMemberHistory.js.map +1 -1
  141. package/funcs/directoryDirectoryMemberRestore.d.ts.map +1 -1
  142. package/funcs/directoryDirectoryMemberRestore.js +2 -1
  143. package/funcs/directoryDirectoryMemberRestore.js.map +1 -1
  144. package/funcs/directoryDirectoryMemberTestExtension.d.ts.map +1 -1
  145. package/funcs/directoryDirectoryMemberTestExtension.js +2 -1
  146. package/funcs/directoryDirectoryMemberTestExtension.js.map +1 -1
  147. package/funcs/directoryGetById.d.ts.map +1 -1
  148. package/funcs/directoryGetById.js +2 -1
  149. package/funcs/directoryGetById.js.map +1 -1
  150. package/funcs/directoryList.d.ts.map +1 -1
  151. package/funcs/directoryList.js +2 -1
  152. package/funcs/directoryList.js.map +1 -1
  153. package/funcs/directoryUpdate.d.ts.map +1 -1
  154. package/funcs/directoryUpdate.js +2 -1
  155. package/funcs/directoryUpdate.js.map +1 -1
  156. package/funcs/eventsList.d.ts.map +1 -1
  157. package/funcs/eventsList.js +2 -1
  158. package/funcs/eventsList.js.map +1 -1
  159. package/funcs/incidentsCreate.d.ts.map +1 -1
  160. package/funcs/incidentsCreate.js +2 -1
  161. package/funcs/incidentsCreate.js.map +1 -1
  162. package/funcs/incidentsDelete.d.ts.map +1 -1
  163. package/funcs/incidentsDelete.js +2 -1
  164. package/funcs/incidentsDelete.js.map +1 -1
  165. package/funcs/incidentsGetById.d.ts.map +1 -1
  166. package/funcs/incidentsGetById.js +2 -1
  167. package/funcs/incidentsGetById.js.map +1 -1
  168. package/funcs/incidentsIncidentGetOrganizations.d.ts.map +1 -1
  169. package/funcs/incidentsIncidentGetOrganizations.js +2 -1
  170. package/funcs/incidentsIncidentGetOrganizations.js.map +1 -1
  171. package/funcs/incidentsList.d.ts.map +1 -1
  172. package/funcs/incidentsList.js +2 -1
  173. package/funcs/incidentsList.js.map +1 -1
  174. package/funcs/incidentsUpdate.d.ts.map +1 -1
  175. package/funcs/incidentsUpdate.js +2 -1
  176. package/funcs/incidentsUpdate.js.map +1 -1
  177. package/funcs/insightsFoldersCreate.d.ts.map +1 -1
  178. package/funcs/insightsFoldersCreate.js +2 -1
  179. package/funcs/insightsFoldersCreate.js.map +1 -1
  180. package/funcs/insightsFoldersDelete.d.ts.map +1 -1
  181. package/funcs/insightsFoldersDelete.js +2 -1
  182. package/funcs/insightsFoldersDelete.js.map +1 -1
  183. package/funcs/insightsFoldersGetById.d.ts.map +1 -1
  184. package/funcs/insightsFoldersGetById.js +2 -1
  185. package/funcs/insightsFoldersGetById.js.map +1 -1
  186. package/funcs/insightsFoldersList.d.ts.map +1 -1
  187. package/funcs/insightsFoldersList.js +2 -1
  188. package/funcs/insightsFoldersList.js.map +1 -1
  189. package/funcs/insightsFoldersListFiles.d.ts.map +1 -1
  190. package/funcs/insightsFoldersListFiles.js +2 -1
  191. package/funcs/insightsFoldersListFiles.js.map +1 -1
  192. package/funcs/insightsFoldersMoveFiles.d.ts.map +1 -1
  193. package/funcs/insightsFoldersMoveFiles.js +2 -1
  194. package/funcs/insightsFoldersMoveFiles.js.map +1 -1
  195. package/funcs/insightsFoldersUpdate.d.ts.map +1 -1
  196. package/funcs/insightsFoldersUpdate.js +2 -1
  197. package/funcs/insightsFoldersUpdate.js.map +1 -1
  198. package/funcs/insightsFoldersUploadFile.d.ts.map +1 -1
  199. package/funcs/insightsFoldersUploadFile.js +2 -1
  200. package/funcs/insightsFoldersUploadFile.js.map +1 -1
  201. package/funcs/insightsList.d.ts.map +1 -1
  202. package/funcs/insightsList.js +2 -1
  203. package/funcs/insightsList.js.map +1 -1
  204. package/funcs/insightsToolsCreate.d.ts.map +1 -1
  205. package/funcs/insightsToolsCreate.js +2 -1
  206. package/funcs/insightsToolsCreate.js.map +1 -1
  207. package/funcs/insightsToolsDelete.d.ts.map +1 -1
  208. package/funcs/insightsToolsDelete.js +2 -1
  209. package/funcs/insightsToolsDelete.js.map +1 -1
  210. package/funcs/insightsToolsGetById.d.ts.map +1 -1
  211. package/funcs/insightsToolsGetById.js +2 -1
  212. package/funcs/insightsToolsGetById.js.map +1 -1
  213. package/funcs/insightsToolsInsightToolGetDefinitions.d.ts.map +1 -1
  214. package/funcs/insightsToolsInsightToolGetDefinitions.js +2 -1
  215. package/funcs/insightsToolsInsightToolGetDefinitions.js.map +1 -1
  216. package/funcs/insightsToolsInsightsToolTest.d.ts.map +1 -1
  217. package/funcs/insightsToolsInsightsToolTest.js +2 -1
  218. package/funcs/insightsToolsInsightsToolTest.js.map +1 -1
  219. package/funcs/insightsToolsList.d.ts.map +1 -1
  220. package/funcs/insightsToolsList.js +2 -1
  221. package/funcs/insightsToolsList.js.map +1 -1
  222. package/funcs/insightsToolsUpdate.d.ts.map +1 -1
  223. package/funcs/insightsToolsUpdate.js +2 -1
  224. package/funcs/insightsToolsUpdate.js.map +1 -1
  225. package/funcs/insightsWorkflowsActivate.d.ts.map +1 -1
  226. package/funcs/insightsWorkflowsActivate.js +2 -1
  227. package/funcs/insightsWorkflowsActivate.js.map +1 -1
  228. package/funcs/insightsWorkflowsCreate.d.ts.map +1 -1
  229. package/funcs/insightsWorkflowsCreate.js +2 -1
  230. package/funcs/insightsWorkflowsCreate.js.map +1 -1
  231. package/funcs/insightsWorkflowsDelete.d.ts.map +1 -1
  232. package/funcs/insightsWorkflowsDelete.js +2 -1
  233. package/funcs/insightsWorkflowsDelete.js.map +1 -1
  234. package/funcs/insightsWorkflowsGetById.d.ts.map +1 -1
  235. package/funcs/insightsWorkflowsGetById.js +2 -1
  236. package/funcs/insightsWorkflowsGetById.js.map +1 -1
  237. package/funcs/insightsWorkflowsInactivate.d.ts.map +1 -1
  238. package/funcs/insightsWorkflowsInactivate.js +2 -1
  239. package/funcs/insightsWorkflowsInactivate.js.map +1 -1
  240. package/funcs/insightsWorkflowsList.d.ts.map +1 -1
  241. package/funcs/insightsWorkflowsList.js +2 -1
  242. package/funcs/insightsWorkflowsList.js.map +1 -1
  243. package/funcs/insightsWorkflowsQueueWork.d.ts.map +1 -1
  244. package/funcs/insightsWorkflowsQueueWork.js +2 -1
  245. package/funcs/insightsWorkflowsQueueWork.js.map +1 -1
  246. package/funcs/insightsWorkflowsUpdate.d.ts.map +1 -1
  247. package/funcs/insightsWorkflowsUpdate.js +2 -1
  248. package/funcs/insightsWorkflowsUpdate.js.map +1 -1
  249. package/funcs/languageGroupsCreate.d.ts.map +1 -1
  250. package/funcs/languageGroupsCreate.js +2 -1
  251. package/funcs/languageGroupsCreate.js.map +1 -1
  252. package/funcs/languageGroupsDelete.d.ts.map +1 -1
  253. package/funcs/languageGroupsDelete.js +2 -1
  254. package/funcs/languageGroupsDelete.js.map +1 -1
  255. package/funcs/languageGroupsGetById.d.ts.map +1 -1
  256. package/funcs/languageGroupsGetById.js +2 -1
  257. package/funcs/languageGroupsGetById.js.map +1 -1
  258. package/funcs/languageGroupsLanguageGroupsCreateVoiceSample.d.ts.map +1 -1
  259. package/funcs/languageGroupsLanguageGroupsCreateVoiceSample.js +2 -1
  260. package/funcs/languageGroupsLanguageGroupsCreateVoiceSample.js.map +1 -1
  261. package/funcs/languageGroupsList.d.ts.map +1 -1
  262. package/funcs/languageGroupsList.js +2 -1
  263. package/funcs/languageGroupsList.js.map +1 -1
  264. package/funcs/languageGroupsUpdate.d.ts.map +1 -1
  265. package/funcs/languageGroupsUpdate.js +2 -1
  266. package/funcs/languageGroupsUpdate.js.map +1 -1
  267. package/funcs/organizationsCreate.d.ts.map +1 -1
  268. package/funcs/organizationsCreate.js +2 -1
  269. package/funcs/organizationsCreate.js.map +1 -1
  270. package/funcs/organizationsDelete.d.ts.map +1 -1
  271. package/funcs/organizationsDelete.js +2 -1
  272. package/funcs/organizationsDelete.js.map +1 -1
  273. package/funcs/organizationsOrganizationsGet.d.ts.map +1 -1
  274. package/funcs/organizationsOrganizationsGet.js +2 -1
  275. package/funcs/organizationsOrganizationsGet.js.map +1 -1
  276. package/funcs/organizationsUpdate.d.ts.map +1 -1
  277. package/funcs/organizationsUpdate.js +2 -1
  278. package/funcs/organizationsUpdate.js.map +1 -1
  279. package/funcs/outboundBatchesAdd.d.ts.map +1 -1
  280. package/funcs/outboundBatchesAdd.js +2 -1
  281. package/funcs/outboundBatchesAdd.js.map +1 -1
  282. package/funcs/outboundBatchesCreate.d.ts.map +1 -1
  283. package/funcs/outboundBatchesCreate.js +2 -1
  284. package/funcs/outboundBatchesCreate.js.map +1 -1
  285. package/funcs/outboundBatchesDelete.d.ts.map +1 -1
  286. package/funcs/outboundBatchesDelete.js +2 -1
  287. package/funcs/outboundBatchesDelete.js.map +1 -1
  288. package/funcs/outboundBatchesGetById.d.ts.map +1 -1
  289. package/funcs/outboundBatchesGetById.js +2 -1
  290. package/funcs/outboundBatchesGetById.js.map +1 -1
  291. package/funcs/outboundBatchesList.d.ts.map +1 -1
  292. package/funcs/outboundBatchesList.js +2 -1
  293. package/funcs/outboundBatchesList.js.map +1 -1
  294. package/funcs/outboundBatchesRemove.d.ts.map +1 -1
  295. package/funcs/outboundBatchesRemove.js +2 -1
  296. package/funcs/outboundBatchesRemove.js.map +1 -1
  297. package/funcs/outboundBatchesResults.d.ts.map +1 -1
  298. package/funcs/outboundBatchesResults.js +2 -1
  299. package/funcs/outboundBatchesResults.js.map +1 -1
  300. package/funcs/outboundBatchesUpdate.d.ts.map +1 -1
  301. package/funcs/outboundBatchesUpdate.js +2 -1
  302. package/funcs/outboundBatchesUpdate.js.map +1 -1
  303. package/funcs/outboundBatchesUpload.d.ts.map +1 -1
  304. package/funcs/outboundBatchesUpload.js +2 -1
  305. package/funcs/outboundBatchesUpload.js.map +1 -1
  306. package/funcs/outboundCampaignsCreate.d.ts.map +1 -1
  307. package/funcs/outboundCampaignsCreate.js +2 -1
  308. package/funcs/outboundCampaignsCreate.js.map +1 -1
  309. package/funcs/outboundCampaignsDelete.d.ts.map +1 -1
  310. package/funcs/outboundCampaignsDelete.js +2 -1
  311. package/funcs/outboundCampaignsDelete.js.map +1 -1
  312. package/funcs/outboundCampaignsGetById.d.ts.map +1 -1
  313. package/funcs/outboundCampaignsGetById.js +2 -1
  314. package/funcs/outboundCampaignsGetById.js.map +1 -1
  315. package/funcs/outboundCampaignsList.d.ts.map +1 -1
  316. package/funcs/outboundCampaignsList.js +2 -1
  317. package/funcs/outboundCampaignsList.js.map +1 -1
  318. package/funcs/outboundCampaignsUpdate.d.ts.map +1 -1
  319. package/funcs/outboundCampaignsUpdate.js +2 -1
  320. package/funcs/outboundCampaignsUpdate.js.map +1 -1
  321. package/funcs/permissionsList.d.ts.map +1 -1
  322. package/funcs/permissionsList.js +2 -1
  323. package/funcs/permissionsList.js.map +1 -1
  324. package/funcs/promptsCreate.d.ts.map +1 -1
  325. package/funcs/promptsCreate.js +2 -1
  326. package/funcs/promptsCreate.js.map +1 -1
  327. package/funcs/promptsDelete.d.ts.map +1 -1
  328. package/funcs/promptsDelete.js +2 -1
  329. package/funcs/promptsDelete.js.map +1 -1
  330. package/funcs/promptsGetById.d.ts.map +1 -1
  331. package/funcs/promptsGetById.js +2 -1
  332. package/funcs/promptsGetById.js.map +1 -1
  333. package/funcs/promptsList.d.ts.map +1 -1
  334. package/funcs/promptsList.js +2 -1
  335. package/funcs/promptsList.js.map +1 -1
  336. package/funcs/promptsPromptGetSupportedLlms.d.ts.map +1 -1
  337. package/funcs/promptsPromptGetSupportedLlms.js +2 -1
  338. package/funcs/promptsPromptGetSupportedLlms.js.map +1 -1
  339. package/funcs/promptsPromptsHistory.d.ts.map +1 -1
  340. package/funcs/promptsPromptsHistory.js +2 -1
  341. package/funcs/promptsPromptsHistory.js.map +1 -1
  342. package/funcs/promptsUpdate.d.ts.map +1 -1
  343. package/funcs/promptsUpdate.js +2 -1
  344. package/funcs/promptsUpdate.js.map +1 -1
  345. package/funcs/pronunciationsPronunciationsDeleteCsv.d.ts.map +1 -1
  346. package/funcs/pronunciationsPronunciationsDeleteCsv.js +2 -1
  347. package/funcs/pronunciationsPronunciationsDeleteCsv.js.map +1 -1
  348. package/funcs/pronunciationsPronunciationsDownloadCsv.d.ts.map +1 -1
  349. package/funcs/pronunciationsPronunciationsDownloadCsv.js +2 -1
  350. package/funcs/pronunciationsPronunciationsDownloadCsv.js.map +1 -1
  351. package/funcs/pronunciationsPronunciationsGet.d.ts.map +1 -1
  352. package/funcs/pronunciationsPronunciationsGet.js +2 -1
  353. package/funcs/pronunciationsPronunciationsGet.js.map +1 -1
  354. package/funcs/pronunciationsPronunciationsGetMetadata.d.ts.map +1 -1
  355. package/funcs/pronunciationsPronunciationsGetMetadata.js +2 -1
  356. package/funcs/pronunciationsPronunciationsGetMetadata.js.map +1 -1
  357. package/funcs/pronunciationsPronunciationsUploadCsv.d.ts.map +1 -1
  358. package/funcs/pronunciationsPronunciationsUploadCsv.js +2 -1
  359. package/funcs/pronunciationsPronunciationsUploadCsv.js.map +1 -1
  360. package/funcs/rolesCreate.d.ts.map +1 -1
  361. package/funcs/rolesCreate.js +2 -1
  362. package/funcs/rolesCreate.js.map +1 -1
  363. package/funcs/rolesDelete.d.ts.map +1 -1
  364. package/funcs/rolesDelete.js +2 -1
  365. package/funcs/rolesDelete.js.map +1 -1
  366. package/funcs/rolesGetById.d.ts.map +1 -1
  367. package/funcs/rolesGetById.js +2 -1
  368. package/funcs/rolesGetById.js.map +1 -1
  369. package/funcs/rolesList.d.ts.map +1 -1
  370. package/funcs/rolesList.js +2 -1
  371. package/funcs/rolesList.js.map +1 -1
  372. package/funcs/rolesUpdate.d.ts.map +1 -1
  373. package/funcs/rolesUpdate.js +2 -1
  374. package/funcs/rolesUpdate.js.map +1 -1
  375. package/funcs/servicesCreate.d.ts.map +1 -1
  376. package/funcs/servicesCreate.js +2 -1
  377. package/funcs/servicesCreate.js.map +1 -1
  378. package/funcs/servicesDelete.d.ts.map +1 -1
  379. package/funcs/servicesDelete.js +2 -1
  380. package/funcs/servicesDelete.js.map +1 -1
  381. package/funcs/servicesGetById.d.ts.map +1 -1
  382. package/funcs/servicesGetById.js +2 -1
  383. package/funcs/servicesGetById.js.map +1 -1
  384. package/funcs/servicesList.d.ts.map +1 -1
  385. package/funcs/servicesList.js +2 -1
  386. package/funcs/servicesList.js.map +1 -1
  387. package/funcs/servicesUpdate.d.ts.map +1 -1
  388. package/funcs/servicesUpdate.js +2 -1
  389. package/funcs/servicesUpdate.js.map +1 -1
  390. package/funcs/sessionDebugGetSessionDataBySessionId.d.ts.map +1 -1
  391. package/funcs/sessionDebugGetSessionDataBySessionId.js +2 -1
  392. package/funcs/sessionDebugGetSessionDataBySessionId.js.map +1 -1
  393. package/funcs/sessionDebugGetSessionDataBySid.d.ts.map +1 -1
  394. package/funcs/sessionDebugGetSessionDataBySid.js +2 -1
  395. package/funcs/sessionDebugGetSessionDataBySid.js.map +1 -1
  396. package/funcs/sessionDebugGetSessionToolCallResultById.d.ts.map +1 -1
  397. package/funcs/sessionDebugGetSessionToolCallResultById.js +2 -1
  398. package/funcs/sessionDebugGetSessionToolCallResultById.js.map +1 -1
  399. package/funcs/sessionLabelsCreate.d.ts.map +1 -1
  400. package/funcs/sessionLabelsCreate.js +2 -1
  401. package/funcs/sessionLabelsCreate.js.map +1 -1
  402. package/funcs/sessionLabelsGetById.d.ts.map +1 -1
  403. package/funcs/sessionLabelsGetById.js +2 -1
  404. package/funcs/sessionLabelsGetById.js.map +1 -1
  405. package/funcs/sessionLabelsList.d.ts.map +1 -1
  406. package/funcs/sessionLabelsList.js +2 -1
  407. package/funcs/sessionLabelsList.js.map +1 -1
  408. package/funcs/sessionsFullSummaryGetById.d.ts.map +1 -1
  409. package/funcs/sessionsFullSummaryGetById.js +2 -1
  410. package/funcs/sessionsFullSummaryGetById.js.map +1 -1
  411. package/funcs/sessionsGenerateSessionRecordingUrls.d.ts.map +1 -1
  412. package/funcs/sessionsGenerateSessionRecordingUrls.js +2 -1
  413. package/funcs/sessionsGenerateSessionRecordingUrls.js.map +1 -1
  414. package/funcs/sessionsGetById.d.ts.map +1 -1
  415. package/funcs/sessionsGetById.js +2 -1
  416. package/funcs/sessionsGetById.js.map +1 -1
  417. package/funcs/sessionsLatencyGetById.d.ts.map +1 -1
  418. package/funcs/sessionsLatencyGetById.js +2 -1
  419. package/funcs/sessionsLatencyGetById.js.map +1 -1
  420. package/funcs/sessionsList.d.ts.map +1 -1
  421. package/funcs/sessionsList.js +2 -1
  422. package/funcs/sessionsList.js.map +1 -1
  423. package/funcs/sessionsSessionRecordingStream.d.ts.map +1 -1
  424. package/funcs/sessionsSessionRecordingStream.js +2 -1
  425. package/funcs/sessionsSessionRecordingStream.js.map +1 -1
  426. package/funcs/sessionsTranscriptGetById.d.ts.map +1 -1
  427. package/funcs/sessionsTranscriptGetById.js +2 -1
  428. package/funcs/sessionsTranscriptGetById.js.map +1 -1
  429. package/funcs/takeoutsCreate.d.ts.map +1 -1
  430. package/funcs/takeoutsCreate.js +2 -1
  431. package/funcs/takeoutsCreate.js.map +1 -1
  432. package/funcs/takeoutsTakeoutsGetByJobId.d.ts.map +1 -1
  433. package/funcs/takeoutsTakeoutsGetByJobId.js +2 -1
  434. package/funcs/takeoutsTakeoutsGetByJobId.js.map +1 -1
  435. package/funcs/takeoutsTakeoutsGetFile.d.ts.map +1 -1
  436. package/funcs/takeoutsTakeoutsGetFile.js +2 -1
  437. package/funcs/takeoutsTakeoutsGetFile.js.map +1 -1
  438. package/funcs/toolsCreate.d.ts.map +1 -1
  439. package/funcs/toolsCreate.js +2 -1
  440. package/funcs/toolsCreate.js.map +1 -1
  441. package/funcs/toolsDelete.d.ts.map +1 -1
  442. package/funcs/toolsDelete.js +2 -1
  443. package/funcs/toolsDelete.js.map +1 -1
  444. package/funcs/toolsGetByName.d.ts.map +1 -1
  445. package/funcs/toolsGetByName.js +2 -1
  446. package/funcs/toolsGetByName.js.map +1 -1
  447. package/funcs/toolsList.d.ts.map +1 -1
  448. package/funcs/toolsList.js +2 -1
  449. package/funcs/toolsList.js.map +1 -1
  450. package/funcs/toolsUpdate.d.ts.map +1 -1
  451. package/funcs/toolsUpdate.js +2 -1
  452. package/funcs/toolsUpdate.js.map +1 -1
  453. package/funcs/usersCreate.d.ts.map +1 -1
  454. package/funcs/usersCreate.js +2 -1
  455. package/funcs/usersCreate.js.map +1 -1
  456. package/funcs/usersDelete.d.ts.map +1 -1
  457. package/funcs/usersDelete.js +2 -1
  458. package/funcs/usersDelete.js.map +1 -1
  459. package/funcs/usersList.d.ts.map +1 -1
  460. package/funcs/usersList.js +2 -1
  461. package/funcs/usersList.js.map +1 -1
  462. package/funcs/usersUpdate.d.ts.map +1 -1
  463. package/funcs/usersUpdate.js +2 -1
  464. package/funcs/usersUpdate.js.map +1 -1
  465. package/funcs/usersUsersDeleteAccount.d.ts.map +1 -1
  466. package/funcs/usersUsersDeleteAccount.js +2 -1
  467. package/funcs/usersUsersDeleteAccount.js.map +1 -1
  468. package/funcs/usersUsersGetByEmail.d.ts.map +1 -1
  469. package/funcs/usersUsersGetByEmail.js +2 -1
  470. package/funcs/usersUsersGetByEmail.js.map +1 -1
  471. package/funcs/usersUsersSendEmail.d.ts.map +1 -1
  472. package/funcs/usersUsersSendEmail.js +2 -1
  473. package/funcs/usersUsersSendEmail.js.map +1 -1
  474. package/funcs/voiceGroupsCreate.d.ts.map +1 -1
  475. package/funcs/voiceGroupsCreate.js +2 -1
  476. package/funcs/voiceGroupsCreate.js.map +1 -1
  477. package/funcs/voiceGroupsDelete.d.ts.map +1 -1
  478. package/funcs/voiceGroupsDelete.js +2 -1
  479. package/funcs/voiceGroupsDelete.js.map +1 -1
  480. package/funcs/voiceGroupsGetById.d.ts.map +1 -1
  481. package/funcs/voiceGroupsGetById.js +2 -1
  482. package/funcs/voiceGroupsGetById.js.map +1 -1
  483. package/funcs/voiceGroupsList.d.ts.map +1 -1
  484. package/funcs/voiceGroupsList.js +2 -1
  485. package/funcs/voiceGroupsList.js.map +1 -1
  486. package/funcs/voiceGroupsUpdate.d.ts.map +1 -1
  487. package/funcs/voiceGroupsUpdate.js +2 -1
  488. package/funcs/voiceGroupsUpdate.js.map +1 -1
  489. package/funcs/voiceGroupsVoiceGroupsCreateVoiceSample.d.ts.map +1 -1
  490. package/funcs/voiceGroupsVoiceGroupsCreateVoiceSample.js +2 -1
  491. package/funcs/voiceGroupsVoiceGroupsCreateVoiceSample.js.map +1 -1
  492. package/jsr.json +1 -1
  493. package/lib/config.d.ts +3 -3
  494. package/lib/config.js +3 -3
  495. package/lib/config.js.map +1 -1
  496. package/lib/sdks.d.ts +1 -1
  497. package/lib/sdks.d.ts.map +1 -1
  498. package/lib/sdks.js +2 -4
  499. package/lib/sdks.js.map +1 -1
  500. package/mcp-server/mcp-server.js +1 -1
  501. package/mcp-server/mcp-server.js.map +1 -1
  502. package/mcp-server/server.js +1 -1
  503. package/mcp-server/server.js.map +1 -1
  504. package/package.json +1 -1
  505. package/src/funcs/agentsAgentGetAvailableVoices.ts +3 -1
  506. package/src/funcs/agentsCreate.ts +3 -1
  507. package/src/funcs/agentsDelete.ts +3 -1
  508. package/src/funcs/agentsGetById.ts +3 -1
  509. package/src/funcs/agentsList.ts +3 -1
  510. package/src/funcs/agentsTestSendTestMessage.ts +3 -1
  511. package/src/funcs/agentsUpdate.ts +3 -1
  512. package/src/funcs/channelsCreate.ts +3 -1
  513. package/src/funcs/channelsDelete.ts +3 -1
  514. package/src/funcs/channelsList.ts +3 -1
  515. package/src/funcs/channelsTargetsAvailableTargets.ts +3 -1
  516. package/src/funcs/channelsTargetsCreate.ts +3 -1
  517. package/src/funcs/channelsTargetsGetById.ts +3 -1
  518. package/src/funcs/channelsTargetsList.ts +3 -1
  519. package/src/funcs/channelsTargetsUpdate.ts +3 -1
  520. package/src/funcs/channelsTwilioCreate.ts +3 -1
  521. package/src/funcs/channelsTwilioGetById.ts +3 -1
  522. package/src/funcs/channelsTwilioNumbersAdd.ts +3 -1
  523. package/src/funcs/channelsTwilioNumbersList.ts +3 -1
  524. package/src/funcs/channelsTwilioNumbersUpdate.ts +3 -1
  525. package/src/funcs/channelsTwilioUpdate.ts +3 -1
  526. package/src/funcs/channelsUpdate.ts +3 -1
  527. package/src/funcs/conversationConfigGetBridgePhrasesConfig.ts +3 -1
  528. package/src/funcs/conversationConfigUpdateBridgePhrasesConfig.ts +3 -1
  529. package/src/funcs/conversationsList.ts +3 -1
  530. package/src/funcs/customMessagesCreate.ts +3 -1
  531. package/src/funcs/customMessagesDelete.ts +3 -1
  532. package/src/funcs/customMessagesGetById.ts +3 -1
  533. package/src/funcs/customMessagesList.ts +3 -1
  534. package/src/funcs/customMessagesUpdate.ts +3 -1
  535. package/src/funcs/dashboardsPostGetDashboard.ts +3 -1
  536. package/src/funcs/dashboardsPostListDashboard.ts +3 -1
  537. package/src/funcs/dashboardsPostSessionEventsDashboard.ts +3 -1
  538. package/src/funcs/dashboardsPostSessionSummaryDashboard.ts +3 -1
  539. package/src/funcs/dashboardsPostSessionTransfersDashboard.ts +3 -1
  540. package/src/funcs/dashboardsPostSessionsDashboard.ts +3 -1
  541. package/src/funcs/dataSourcesCreate.ts +3 -1
  542. package/src/funcs/dataSourcesDelete.ts +3 -1
  543. package/src/funcs/dataSourcesGetById.ts +3 -1
  544. package/src/funcs/dataSourcesList.ts +3 -1
  545. package/src/funcs/dataSourcesUpdate.ts +3 -1
  546. package/src/funcs/directoryCreate.ts +3 -1
  547. package/src/funcs/directoryDelete.ts +3 -1
  548. package/src/funcs/directoryDirectoryMemberBulkLoad.ts +3 -1
  549. package/src/funcs/directoryDirectoryMemberDownload.ts +3 -1
  550. package/src/funcs/directoryDirectoryMemberHistory.ts +3 -1
  551. package/src/funcs/directoryDirectoryMemberRestore.ts +3 -1
  552. package/src/funcs/directoryDirectoryMemberTestExtension.ts +3 -1
  553. package/src/funcs/directoryGetById.ts +3 -1
  554. package/src/funcs/directoryList.ts +3 -1
  555. package/src/funcs/directoryUpdate.ts +3 -1
  556. package/src/funcs/eventsList.ts +3 -1
  557. package/src/funcs/incidentsCreate.ts +3 -1
  558. package/src/funcs/incidentsDelete.ts +3 -1
  559. package/src/funcs/incidentsGetById.ts +3 -1
  560. package/src/funcs/incidentsIncidentGetOrganizations.ts +3 -1
  561. package/src/funcs/incidentsList.ts +3 -1
  562. package/src/funcs/incidentsUpdate.ts +3 -1
  563. package/src/funcs/insightsFoldersCreate.ts +3 -1
  564. package/src/funcs/insightsFoldersDelete.ts +3 -1
  565. package/src/funcs/insightsFoldersGetById.ts +3 -1
  566. package/src/funcs/insightsFoldersList.ts +3 -1
  567. package/src/funcs/insightsFoldersListFiles.ts +3 -1
  568. package/src/funcs/insightsFoldersMoveFiles.ts +3 -1
  569. package/src/funcs/insightsFoldersUpdate.ts +3 -1
  570. package/src/funcs/insightsFoldersUploadFile.ts +3 -1
  571. package/src/funcs/insightsList.ts +3 -1
  572. package/src/funcs/insightsToolsCreate.ts +3 -1
  573. package/src/funcs/insightsToolsDelete.ts +3 -1
  574. package/src/funcs/insightsToolsGetById.ts +3 -1
  575. package/src/funcs/insightsToolsInsightToolGetDefinitions.ts +3 -1
  576. package/src/funcs/insightsToolsInsightsToolTest.ts +3 -1
  577. package/src/funcs/insightsToolsList.ts +3 -1
  578. package/src/funcs/insightsToolsUpdate.ts +3 -1
  579. package/src/funcs/insightsWorkflowsActivate.ts +3 -1
  580. package/src/funcs/insightsWorkflowsCreate.ts +3 -1
  581. package/src/funcs/insightsWorkflowsDelete.ts +3 -1
  582. package/src/funcs/insightsWorkflowsGetById.ts +3 -1
  583. package/src/funcs/insightsWorkflowsInactivate.ts +3 -1
  584. package/src/funcs/insightsWorkflowsList.ts +3 -1
  585. package/src/funcs/insightsWorkflowsQueueWork.ts +3 -1
  586. package/src/funcs/insightsWorkflowsUpdate.ts +3 -1
  587. package/src/funcs/languageGroupsCreate.ts +3 -1
  588. package/src/funcs/languageGroupsDelete.ts +3 -1
  589. package/src/funcs/languageGroupsGetById.ts +3 -1
  590. package/src/funcs/languageGroupsLanguageGroupsCreateVoiceSample.ts +3 -1
  591. package/src/funcs/languageGroupsList.ts +3 -1
  592. package/src/funcs/languageGroupsUpdate.ts +3 -1
  593. package/src/funcs/organizationsCreate.ts +3 -1
  594. package/src/funcs/organizationsDelete.ts +3 -1
  595. package/src/funcs/organizationsOrganizationsGet.ts +3 -1
  596. package/src/funcs/organizationsUpdate.ts +3 -1
  597. package/src/funcs/outboundBatchesAdd.ts +3 -1
  598. package/src/funcs/outboundBatchesCreate.ts +3 -1
  599. package/src/funcs/outboundBatchesDelete.ts +3 -1
  600. package/src/funcs/outboundBatchesGetById.ts +3 -1
  601. package/src/funcs/outboundBatchesList.ts +3 -1
  602. package/src/funcs/outboundBatchesRemove.ts +3 -1
  603. package/src/funcs/outboundBatchesResults.ts +3 -1
  604. package/src/funcs/outboundBatchesUpdate.ts +3 -1
  605. package/src/funcs/outboundBatchesUpload.ts +3 -1
  606. package/src/funcs/outboundCampaignsCreate.ts +3 -1
  607. package/src/funcs/outboundCampaignsDelete.ts +3 -1
  608. package/src/funcs/outboundCampaignsGetById.ts +3 -1
  609. package/src/funcs/outboundCampaignsList.ts +3 -1
  610. package/src/funcs/outboundCampaignsUpdate.ts +3 -1
  611. package/src/funcs/permissionsList.ts +3 -1
  612. package/src/funcs/promptsCreate.ts +3 -1
  613. package/src/funcs/promptsDelete.ts +3 -1
  614. package/src/funcs/promptsGetById.ts +3 -1
  615. package/src/funcs/promptsList.ts +3 -1
  616. package/src/funcs/promptsPromptGetSupportedLlms.ts +3 -1
  617. package/src/funcs/promptsPromptsHistory.ts +3 -1
  618. package/src/funcs/promptsUpdate.ts +3 -1
  619. package/src/funcs/pronunciationsPronunciationsDeleteCsv.ts +3 -1
  620. package/src/funcs/pronunciationsPronunciationsDownloadCsv.ts +3 -1
  621. package/src/funcs/pronunciationsPronunciationsGet.ts +3 -1
  622. package/src/funcs/pronunciationsPronunciationsGetMetadata.ts +3 -1
  623. package/src/funcs/pronunciationsPronunciationsUploadCsv.ts +3 -1
  624. package/src/funcs/rolesCreate.ts +3 -1
  625. package/src/funcs/rolesDelete.ts +3 -1
  626. package/src/funcs/rolesGetById.ts +3 -1
  627. package/src/funcs/rolesList.ts +3 -1
  628. package/src/funcs/rolesUpdate.ts +3 -1
  629. package/src/funcs/servicesCreate.ts +3 -1
  630. package/src/funcs/servicesDelete.ts +3 -1
  631. package/src/funcs/servicesGetById.ts +3 -1
  632. package/src/funcs/servicesList.ts +3 -1
  633. package/src/funcs/servicesUpdate.ts +3 -1
  634. package/src/funcs/sessionDebugGetSessionDataBySessionId.ts +3 -1
  635. package/src/funcs/sessionDebugGetSessionDataBySid.ts +3 -1
  636. package/src/funcs/sessionDebugGetSessionToolCallResultById.ts +3 -1
  637. package/src/funcs/sessionLabelsCreate.ts +3 -1
  638. package/src/funcs/sessionLabelsGetById.ts +3 -1
  639. package/src/funcs/sessionLabelsList.ts +3 -1
  640. package/src/funcs/sessionsFullSummaryGetById.ts +3 -1
  641. package/src/funcs/sessionsGenerateSessionRecordingUrls.ts +3 -1
  642. package/src/funcs/sessionsGetById.ts +3 -1
  643. package/src/funcs/sessionsLatencyGetById.ts +3 -1
  644. package/src/funcs/sessionsList.ts +3 -1
  645. package/src/funcs/sessionsSessionRecordingStream.ts +3 -1
  646. package/src/funcs/sessionsTranscriptGetById.ts +3 -1
  647. package/src/funcs/takeoutsCreate.ts +3 -1
  648. package/src/funcs/takeoutsTakeoutsGetByJobId.ts +3 -1
  649. package/src/funcs/takeoutsTakeoutsGetFile.ts +3 -1
  650. package/src/funcs/toolsCreate.ts +3 -1
  651. package/src/funcs/toolsDelete.ts +3 -1
  652. package/src/funcs/toolsGetByName.ts +3 -1
  653. package/src/funcs/toolsList.ts +3 -1
  654. package/src/funcs/toolsUpdate.ts +3 -1
  655. package/src/funcs/usersCreate.ts +3 -1
  656. package/src/funcs/usersDelete.ts +3 -1
  657. package/src/funcs/usersList.ts +3 -1
  658. package/src/funcs/usersUpdate.ts +3 -1
  659. package/src/funcs/usersUsersDeleteAccount.ts +3 -1
  660. package/src/funcs/usersUsersGetByEmail.ts +3 -1
  661. package/src/funcs/usersUsersSendEmail.ts +3 -1
  662. package/src/funcs/voiceGroupsCreate.ts +3 -1
  663. package/src/funcs/voiceGroupsDelete.ts +3 -1
  664. package/src/funcs/voiceGroupsGetById.ts +3 -1
  665. package/src/funcs/voiceGroupsList.ts +3 -1
  666. package/src/funcs/voiceGroupsUpdate.ts +3 -1
  667. package/src/funcs/voiceGroupsVoiceGroupsCreateVoiceSample.ts +3 -1
  668. package/src/lib/config.ts +3 -3
  669. package/src/lib/sdks.ts +3 -6
  670. package/src/mcp-server/mcp-server.ts +1 -1
  671. package/src/mcp-server/server.ts +1 -1
package/bin/mcp-server.js CHANGED
@@ -53072,9 +53072,9 @@ var init_config = __esm(() => {
53072
53072
  SDK_METADATA = {
53073
53073
  language: "typescript",
53074
53074
  openapiDocVersion: "0.0.3",
53075
- sdkVersion: "1.0.35",
53076
- genVersion: "2.879.13",
53077
- userAgent: "speakeasy-sdk/typescript 1.0.35 2.879.13 0.0.3 syllable-sdk"
53075
+ sdkVersion: "1.0.36-rc.1",
53076
+ genVersion: "2.881.2",
53077
+ userAgent: "speakeasy-sdk/typescript 1.0.36-rc.1 2.881.2 0.0.3 syllable-sdk"
53078
53078
  };
53079
53079
  });
53080
53080
 
@@ -53816,13 +53816,13 @@ class ClientSDK {
53816
53816
  return OK2(new Request(input.url, input.options));
53817
53817
  }
53818
53818
  async _do(request, options) {
53819
- const { context, errorCodes } = options;
53819
+ const { context, isErrorStatusCode } = options;
53820
53820
  return retry(async () => {
53821
53821
  const req = await this.#hooks.beforeRequest(context, request.clone());
53822
53822
  await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e));
53823
53823
  let response = await this.#httpClient.request(req);
53824
53824
  try {
53825
- if (matchStatusCode(response, errorCodes)) {
53825
+ if (isErrorStatusCode(response.status)) {
53826
53826
  const result = await this.#hooks.afterError(context, response, null);
53827
53827
  if (result.error) {
53828
53828
  throw result.error;
@@ -53907,8 +53907,6 @@ async function logResponse(logger, res, req) {
53907
53907
  logger.log(await res.clone().json());
53908
53908
  break;
53909
53909
  case (matchContentType(res, "application/jsonl") || jsonlLikeContentTypeRE.test(ct)):
53910
- logger.log(await res.clone().text());
53911
- break;
53912
53910
  case matchContentType(res, "text/event-stream"):
53913
53911
  logger.log(`<${contentType2}>`);
53914
53912
  break;
@@ -64581,7 +64579,7 @@ async function $do(client, options) {
64581
64579
  const req = requestRes.value;
64582
64580
  const doResult = await client._do(req, {
64583
64581
  context: context2,
64584
- errorCodes: ["4XX", "5XX"],
64582
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
64585
64583
  retryConfig: context2.retryConfig,
64586
64584
  retryCodes: context2.retryCodes
64587
64585
  });
@@ -64597,6 +64595,7 @@ async function $do(client, options) {
64597
64595
  }
64598
64596
  var init_agentsAgentGetAvailableVoices = __esm(() => {
64599
64597
  init_v3();
64598
+ init_http();
64600
64599
  init_matchers();
64601
64600
  init_primitives();
64602
64601
  init_security();
@@ -64719,7 +64718,7 @@ async function $do2(client, request, options) {
64719
64718
  const req = requestRes.value;
64720
64719
  const doResult = await client._do(req, {
64721
64720
  context: context2,
64722
- errorCodes: ["400", "422", "4XX", "500", "5XX"],
64721
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
64723
64722
  retryConfig: context2.retryConfig,
64724
64723
  retryCodes: context2.retryCodes
64725
64724
  });
@@ -64738,6 +64737,7 @@ async function $do2(client, request, options) {
64738
64737
  }
64739
64738
  var init_agentsCreate = __esm(() => {
64740
64739
  init_encodings();
64740
+ init_http();
64741
64741
  init_matchers();
64742
64742
  init_primitives();
64743
64743
  init_schemas4();
@@ -68084,7 +68084,7 @@ async function $do3(client, request, options) {
68084
68084
  const req = requestRes.value;
68085
68085
  const doResult = await client._do(req, {
68086
68086
  context: context2,
68087
- errorCodes: ["400", "404", "422", "4XX", "500", "5XX"],
68087
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68088
68088
  retryConfig: context2.retryConfig,
68089
68089
  retryCodes: context2.retryCodes
68090
68090
  });
@@ -68104,6 +68104,7 @@ async function $do3(client, request, options) {
68104
68104
  var init_agentsDelete = __esm(() => {
68105
68105
  init_v3();
68106
68106
  init_encodings();
68107
+ init_http();
68107
68108
  init_matchers();
68108
68109
  init_primitives();
68109
68110
  init_schemas4();
@@ -68191,7 +68192,7 @@ async function $do4(client, request, options) {
68191
68192
  const req = requestRes.value;
68192
68193
  const doResult = await client._do(req, {
68193
68194
  context: context2,
68194
- errorCodes: ["422", "4XX", "5XX"],
68195
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68195
68196
  retryConfig: context2.retryConfig,
68196
68197
  retryCodes: context2.retryCodes
68197
68198
  });
@@ -68210,6 +68211,7 @@ async function $do4(client, request, options) {
68210
68211
  }
68211
68212
  var init_agentsGetById = __esm(() => {
68212
68213
  init_encodings();
68214
+ init_http();
68213
68215
  init_matchers();
68214
68216
  init_primitives();
68215
68217
  init_schemas4();
@@ -68306,7 +68308,7 @@ async function $do5(client, request, options) {
68306
68308
  const req = requestRes.value;
68307
68309
  const doResult = await client._do(req, {
68308
68310
  context: context2,
68309
- errorCodes: ["422", "4XX", "5XX"],
68311
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68310
68312
  retryConfig: context2.retryConfig,
68311
68313
  retryCodes: context2.retryCodes
68312
68314
  });
@@ -68325,6 +68327,7 @@ async function $do5(client, request, options) {
68325
68327
  }
68326
68328
  var init_agentsList = __esm(() => {
68327
68329
  init_encodings();
68330
+ init_http();
68328
68331
  init_matchers();
68329
68332
  init_primitives();
68330
68333
  init_schemas4();
@@ -68410,7 +68413,7 @@ async function $do6(client, request, options) {
68410
68413
  const req = requestRes.value;
68411
68414
  const doResult = await client._do(req, {
68412
68415
  context: context2,
68413
- errorCodes: ["422", "4XX", "5XX"],
68416
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68414
68417
  retryConfig: context2.retryConfig,
68415
68418
  retryCodes: context2.retryCodes
68416
68419
  });
@@ -68429,6 +68432,7 @@ async function $do6(client, request, options) {
68429
68432
  }
68430
68433
  var init_agentsTestSendTestMessage = __esm(() => {
68431
68434
  init_encodings();
68435
+ init_http();
68432
68436
  init_matchers();
68433
68437
  init_primitives();
68434
68438
  init_schemas4();
@@ -68513,7 +68517,7 @@ async function $do7(client, request, options) {
68513
68517
  const req = requestRes.value;
68514
68518
  const doResult = await client._do(req, {
68515
68519
  context: context2,
68516
- errorCodes: ["400", "404", "422", "4XX", "500", "5XX"],
68520
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68517
68521
  retryConfig: context2.retryConfig,
68518
68522
  retryCodes: context2.retryCodes
68519
68523
  });
@@ -68532,6 +68536,7 @@ async function $do7(client, request, options) {
68532
68536
  }
68533
68537
  var init_agentsUpdate = __esm(() => {
68534
68538
  init_encodings();
68539
+ init_http();
68535
68540
  init_matchers();
68536
68541
  init_primitives();
68537
68542
  init_schemas4();
@@ -68616,7 +68621,7 @@ async function $do8(client, request, options) {
68616
68621
  const req = requestRes.value;
68617
68622
  const doResult = await client._do(req, {
68618
68623
  context: context2,
68619
- errorCodes: ["422", "4XX", "5XX"],
68624
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68620
68625
  retryConfig: context2.retryConfig,
68621
68626
  retryCodes: context2.retryCodes
68622
68627
  });
@@ -68635,6 +68640,7 @@ async function $do8(client, request, options) {
68635
68640
  }
68636
68641
  var init_channelsCreate = __esm(() => {
68637
68642
  init_encodings();
68643
+ init_http();
68638
68644
  init_matchers();
68639
68645
  init_primitives();
68640
68646
  init_schemas4();
@@ -68726,7 +68732,7 @@ async function $do9(client, request, options) {
68726
68732
  const req = requestRes.value;
68727
68733
  const doResult = await client._do(req, {
68728
68734
  context: context2,
68729
- errorCodes: ["422", "4XX", "5XX"],
68735
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68730
68736
  retryConfig: context2.retryConfig,
68731
68737
  retryCodes: context2.retryCodes
68732
68738
  });
@@ -68746,6 +68752,7 @@ async function $do9(client, request, options) {
68746
68752
  var init_channelsDelete = __esm(() => {
68747
68753
  init_v3();
68748
68754
  init_encodings();
68755
+ init_http();
68749
68756
  init_matchers();
68750
68757
  init_primitives();
68751
68758
  init_schemas4();
@@ -68841,7 +68848,7 @@ async function $do10(client, request, options) {
68841
68848
  const req = requestRes.value;
68842
68849
  const doResult = await client._do(req, {
68843
68850
  context: context2,
68844
- errorCodes: ["422", "4XX", "5XX"],
68851
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68845
68852
  retryConfig: context2.retryConfig,
68846
68853
  retryCodes: context2.retryCodes
68847
68854
  });
@@ -68860,6 +68867,7 @@ async function $do10(client, request, options) {
68860
68867
  }
68861
68868
  var init_channelsList = __esm(() => {
68862
68869
  init_encodings();
68870
+ init_http();
68863
68871
  init_matchers();
68864
68872
  init_primitives();
68865
68873
  init_schemas4();
@@ -68954,7 +68962,7 @@ async function $do11(client, request, options) {
68954
68962
  const req = requestRes.value;
68955
68963
  const doResult = await client._do(req, {
68956
68964
  context: context2,
68957
- errorCodes: ["422", "4XX", "5XX"],
68965
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
68958
68966
  retryConfig: context2.retryConfig,
68959
68967
  retryCodes: context2.retryCodes
68960
68968
  });
@@ -68973,6 +68981,7 @@ async function $do11(client, request, options) {
68973
68981
  }
68974
68982
  var init_channelsTargetsAvailableTargets = __esm(() => {
68975
68983
  init_encodings();
68984
+ init_http();
68976
68985
  init_matchers();
68977
68986
  init_primitives();
68978
68987
  init_schemas4();
@@ -69066,7 +69075,7 @@ async function $do12(client, request, options) {
69066
69075
  const req = requestRes.value;
69067
69076
  const doResult = await client._do(req, {
69068
69077
  context: context2,
69069
- errorCodes: ["422", "4XX", "5XX"],
69078
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69070
69079
  retryConfig: context2.retryConfig,
69071
69080
  retryCodes: context2.retryCodes
69072
69081
  });
@@ -69085,6 +69094,7 @@ async function $do12(client, request, options) {
69085
69094
  }
69086
69095
  var init_channelsTargetsCreate = __esm(() => {
69087
69096
  init_encodings();
69097
+ init_http();
69088
69098
  init_matchers();
69089
69099
  init_primitives();
69090
69100
  init_schemas4();
@@ -69177,7 +69187,7 @@ async function $do13(client, request, options) {
69177
69187
  const req = requestRes.value;
69178
69188
  const doResult = await client._do(req, {
69179
69189
  context: context2,
69180
- errorCodes: ["422", "4XX", "5XX"],
69190
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69181
69191
  retryConfig: context2.retryConfig,
69182
69192
  retryCodes: context2.retryCodes
69183
69193
  });
@@ -69196,6 +69206,7 @@ async function $do13(client, request, options) {
69196
69206
  }
69197
69207
  var init_channelsTargetsGetById = __esm(() => {
69198
69208
  init_encodings();
69209
+ init_http();
69199
69210
  init_matchers();
69200
69211
  init_primitives();
69201
69212
  init_schemas4();
@@ -69290,7 +69301,7 @@ async function $do14(client, request, options) {
69290
69301
  const req = requestRes.value;
69291
69302
  const doResult = await client._do(req, {
69292
69303
  context: context2,
69293
- errorCodes: ["422", "4XX", "5XX"],
69304
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69294
69305
  retryConfig: context2.retryConfig,
69295
69306
  retryCodes: context2.retryCodes
69296
69307
  });
@@ -69309,6 +69320,7 @@ async function $do14(client, request, options) {
69309
69320
  }
69310
69321
  var init_channelsTargetsList = __esm(() => {
69311
69322
  init_encodings();
69323
+ init_http();
69312
69324
  init_matchers();
69313
69325
  init_primitives();
69314
69326
  init_schemas4();
@@ -69404,7 +69416,7 @@ async function $do15(client, request, options) {
69404
69416
  const req = requestRes.value;
69405
69417
  const doResult = await client._do(req, {
69406
69418
  context: context2,
69407
- errorCodes: ["422", "4XX", "5XX"],
69419
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69408
69420
  retryConfig: context2.retryConfig,
69409
69421
  retryCodes: context2.retryCodes
69410
69422
  });
@@ -69423,6 +69435,7 @@ async function $do15(client, request, options) {
69423
69435
  }
69424
69436
  var init_channelsTargetsUpdate = __esm(() => {
69425
69437
  init_encodings();
69438
+ init_http();
69426
69439
  init_matchers();
69427
69440
  init_primitives();
69428
69441
  init_schemas4();
@@ -69508,7 +69521,7 @@ async function $do16(client, request, options) {
69508
69521
  const req = requestRes.value;
69509
69522
  const doResult = await client._do(req, {
69510
69523
  context: context2,
69511
- errorCodes: ["422", "4XX", "5XX"],
69524
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69512
69525
  retryConfig: context2.retryConfig,
69513
69526
  retryCodes: context2.retryCodes
69514
69527
  });
@@ -69527,6 +69540,7 @@ async function $do16(client, request, options) {
69527
69540
  }
69528
69541
  var init_channelsTwilioCreate = __esm(() => {
69529
69542
  init_encodings();
69543
+ init_http();
69530
69544
  init_matchers();
69531
69545
  init_primitives();
69532
69546
  init_schemas4();
@@ -69614,7 +69628,7 @@ async function $do17(client, request, options) {
69614
69628
  const req = requestRes.value;
69615
69629
  const doResult = await client._do(req, {
69616
69630
  context: context2,
69617
- errorCodes: ["422", "4XX", "5XX"],
69631
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69618
69632
  retryConfig: context2.retryConfig,
69619
69633
  retryCodes: context2.retryCodes
69620
69634
  });
@@ -69633,6 +69647,7 @@ async function $do17(client, request, options) {
69633
69647
  }
69634
69648
  var init_channelsTwilioGetById = __esm(() => {
69635
69649
  init_encodings();
69650
+ init_http();
69636
69651
  init_matchers();
69637
69652
  init_primitives();
69638
69653
  init_schemas4();
@@ -69724,7 +69739,7 @@ async function $do18(client, request, options) {
69724
69739
  const req = requestRes.value;
69725
69740
  const doResult = await client._do(req, {
69726
69741
  context: context2,
69727
- errorCodes: ["422", "4XX", "5XX"],
69742
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69728
69743
  retryConfig: context2.retryConfig,
69729
69744
  retryCodes: context2.retryCodes
69730
69745
  });
@@ -69743,6 +69758,7 @@ async function $do18(client, request, options) {
69743
69758
  }
69744
69759
  var init_channelsTwilioNumbersAdd = __esm(() => {
69745
69760
  init_encodings();
69761
+ init_http();
69746
69762
  init_matchers();
69747
69763
  init_primitives();
69748
69764
  init_schemas4();
@@ -69833,7 +69849,7 @@ async function $do19(client, request, options) {
69833
69849
  const req = requestRes.value;
69834
69850
  const doResult = await client._do(req, {
69835
69851
  context: context2,
69836
- errorCodes: ["422", "4XX", "5XX"],
69852
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69837
69853
  retryConfig: context2.retryConfig,
69838
69854
  retryCodes: context2.retryCodes
69839
69855
  });
@@ -69852,6 +69868,7 @@ async function $do19(client, request, options) {
69852
69868
  }
69853
69869
  var init_channelsTwilioNumbersList = __esm(() => {
69854
69870
  init_encodings();
69871
+ init_http();
69855
69872
  init_matchers();
69856
69873
  init_primitives();
69857
69874
  init_schemas4();
@@ -69945,7 +69962,7 @@ async function $do20(client, request, options) {
69945
69962
  const req = requestRes.value;
69946
69963
  const doResult = await client._do(req, {
69947
69964
  context: context2,
69948
- errorCodes: ["422", "4XX", "5XX"],
69965
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
69949
69966
  retryConfig: context2.retryConfig,
69950
69967
  retryCodes: context2.retryCodes
69951
69968
  });
@@ -69964,6 +69981,7 @@ async function $do20(client, request, options) {
69964
69981
  }
69965
69982
  var init_channelsTwilioNumbersUpdate = __esm(() => {
69966
69983
  init_encodings();
69984
+ init_http();
69967
69985
  init_matchers();
69968
69986
  init_primitives();
69969
69987
  init_schemas4();
@@ -70049,7 +70067,7 @@ async function $do21(client, request, options) {
70049
70067
  const req = requestRes.value;
70050
70068
  const doResult = await client._do(req, {
70051
70069
  context: context2,
70052
- errorCodes: ["422", "4XX", "5XX"],
70070
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70053
70071
  retryConfig: context2.retryConfig,
70054
70072
  retryCodes: context2.retryCodes
70055
70073
  });
@@ -70068,6 +70086,7 @@ async function $do21(client, request, options) {
70068
70086
  }
70069
70087
  var init_channelsTwilioUpdate = __esm(() => {
70070
70088
  init_encodings();
70089
+ init_http();
70071
70090
  init_matchers();
70072
70091
  init_primitives();
70073
70092
  init_schemas4();
@@ -70150,7 +70169,7 @@ async function $do22(client, request, options) {
70150
70169
  const req = requestRes.value;
70151
70170
  const doResult = await client._do(req, {
70152
70171
  context: context2,
70153
- errorCodes: ["422", "4XX", "5XX"],
70172
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70154
70173
  retryConfig: context2.retryConfig,
70155
70174
  retryCodes: context2.retryCodes
70156
70175
  });
@@ -70169,6 +70188,7 @@ async function $do22(client, request, options) {
70169
70188
  }
70170
70189
  var init_channelsUpdate = __esm(() => {
70171
70190
  init_encodings();
70191
+ init_http();
70172
70192
  init_matchers();
70173
70193
  init_primitives();
70174
70194
  init_schemas4();
@@ -70255,7 +70275,7 @@ async function $do23(client, request, options) {
70255
70275
  const req = requestRes.value;
70256
70276
  const doResult = await client._do(req, {
70257
70277
  context: context2,
70258
- errorCodes: ["422", "4XX", "5XX"],
70278
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70259
70279
  retryConfig: context2.retryConfig,
70260
70280
  retryCodes: context2.retryCodes
70261
70281
  });
@@ -70274,6 +70294,7 @@ async function $do23(client, request, options) {
70274
70294
  }
70275
70295
  var init_conversationConfigGetBridgePhrasesConfig = __esm(() => {
70276
70296
  init_encodings();
70297
+ init_http();
70277
70298
  init_matchers();
70278
70299
  init_primitives();
70279
70300
  init_schemas4();
@@ -70366,7 +70387,7 @@ async function $do24(client, request, options) {
70366
70387
  const req = requestRes.value;
70367
70388
  const doResult = await client._do(req, {
70368
70389
  context: context2,
70369
- errorCodes: ["422", "4XX", "5XX"],
70390
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70370
70391
  retryConfig: context2.retryConfig,
70371
70392
  retryCodes: context2.retryCodes
70372
70393
  });
@@ -70385,6 +70406,7 @@ async function $do24(client, request, options) {
70385
70406
  }
70386
70407
  var init_conversationConfigUpdateBridgePhrasesConfig = __esm(() => {
70387
70408
  init_encodings();
70409
+ init_http();
70388
70410
  init_matchers();
70389
70411
  init_primitives();
70390
70412
  init_schemas4();
@@ -70481,7 +70503,7 @@ async function $do25(client, request, options) {
70481
70503
  const req = requestRes.value;
70482
70504
  const doResult = await client._do(req, {
70483
70505
  context: context2,
70484
- errorCodes: ["422", "4XX", "5XX"],
70506
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70485
70507
  retryConfig: context2.retryConfig,
70486
70508
  retryCodes: context2.retryCodes
70487
70509
  });
@@ -70500,6 +70522,7 @@ async function $do25(client, request, options) {
70500
70522
  }
70501
70523
  var init_conversationsList = __esm(() => {
70502
70524
  init_encodings();
70525
+ init_http();
70503
70526
  init_matchers();
70504
70527
  init_primitives();
70505
70528
  init_schemas4();
@@ -70583,7 +70606,7 @@ async function $do26(client, request, options) {
70583
70606
  const req = requestRes.value;
70584
70607
  const doResult = await client._do(req, {
70585
70608
  context: context2,
70586
- errorCodes: ["422", "4XX", "5XX"],
70609
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70587
70610
  retryConfig: context2.retryConfig,
70588
70611
  retryCodes: context2.retryCodes
70589
70612
  });
@@ -70602,6 +70625,7 @@ async function $do26(client, request, options) {
70602
70625
  }
70603
70626
  var init_customMessagesCreate = __esm(() => {
70604
70627
  init_encodings();
70628
+ init_http();
70605
70629
  init_matchers();
70606
70630
  init_primitives();
70607
70631
  init_schemas4();
@@ -70692,7 +70716,7 @@ async function $do27(client, request, options) {
70692
70716
  const req = requestRes.value;
70693
70717
  const doResult = await client._do(req, {
70694
70718
  context: context2,
70695
- errorCodes: ["422", "4XX", "5XX"],
70719
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70696
70720
  retryConfig: context2.retryConfig,
70697
70721
  retryCodes: context2.retryCodes
70698
70722
  });
@@ -70712,6 +70736,7 @@ async function $do27(client, request, options) {
70712
70736
  var init_customMessagesDelete = __esm(() => {
70713
70737
  init_v3();
70714
70738
  init_encodings();
70739
+ init_http();
70715
70740
  init_matchers();
70716
70741
  init_primitives();
70717
70742
  init_schemas4();
@@ -70798,7 +70823,7 @@ async function $do28(client, request, options) {
70798
70823
  const req = requestRes.value;
70799
70824
  const doResult = await client._do(req, {
70800
70825
  context: context2,
70801
- errorCodes: ["422", "4XX", "5XX"],
70826
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70802
70827
  retryConfig: context2.retryConfig,
70803
70828
  retryCodes: context2.retryCodes
70804
70829
  });
@@ -70817,6 +70842,7 @@ async function $do28(client, request, options) {
70817
70842
  }
70818
70843
  var init_customMessagesGetById = __esm(() => {
70819
70844
  init_encodings();
70845
+ init_http();
70820
70846
  init_matchers();
70821
70847
  init_primitives();
70822
70848
  init_schemas4();
@@ -70913,7 +70939,7 @@ async function $do29(client, request, options) {
70913
70939
  const req = requestRes.value;
70914
70940
  const doResult = await client._do(req, {
70915
70941
  context: context2,
70916
- errorCodes: ["422", "4XX", "5XX"],
70942
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
70917
70943
  retryConfig: context2.retryConfig,
70918
70944
  retryCodes: context2.retryCodes
70919
70945
  });
@@ -70932,6 +70958,7 @@ async function $do29(client, request, options) {
70932
70958
  }
70933
70959
  var init_customMessagesList = __esm(() => {
70934
70960
  init_encodings();
70961
+ init_http();
70935
70962
  init_matchers();
70936
70963
  init_primitives();
70937
70964
  init_schemas4();
@@ -71017,7 +71044,7 @@ async function $do30(client, request, options) {
71017
71044
  const req = requestRes.value;
71018
71045
  const doResult = await client._do(req, {
71019
71046
  context: context2,
71020
- errorCodes: ["422", "4XX", "5XX"],
71047
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71021
71048
  retryConfig: context2.retryConfig,
71022
71049
  retryCodes: context2.retryCodes
71023
71050
  });
@@ -71036,6 +71063,7 @@ async function $do30(client, request, options) {
71036
71063
  }
71037
71064
  var init_customMessagesUpdate = __esm(() => {
71038
71065
  init_encodings();
71066
+ init_http();
71039
71067
  init_matchers();
71040
71068
  init_primitives();
71041
71069
  init_schemas4();
@@ -71123,7 +71151,7 @@ async function $do31(client, request, options) {
71123
71151
  const req = requestRes.value;
71124
71152
  const doResult = await client._do(req, {
71125
71153
  context: context2,
71126
- errorCodes: ["422", "4XX", "5XX"],
71154
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71127
71155
  retryConfig: context2.retryConfig,
71128
71156
  retryCodes: context2.retryCodes
71129
71157
  });
@@ -71142,6 +71170,7 @@ async function $do31(client, request, options) {
71142
71170
  }
71143
71171
  var init_dashboardsPostGetDashboard = __esm(() => {
71144
71172
  init_encodings();
71173
+ init_http();
71145
71174
  init_matchers();
71146
71175
  init_primitives();
71147
71176
  init_schemas4();
@@ -71241,7 +71270,7 @@ async function $do32(client, request, options) {
71241
71270
  const req = requestRes.value;
71242
71271
  const doResult = await client._do(req, {
71243
71272
  context: context2,
71244
- errorCodes: ["422", "4XX", "5XX"],
71273
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71245
71274
  retryConfig: context2.retryConfig,
71246
71275
  retryCodes: context2.retryCodes
71247
71276
  });
@@ -71260,6 +71289,7 @@ async function $do32(client, request, options) {
71260
71289
  }
71261
71290
  var init_dashboardsPostListDashboard = __esm(() => {
71262
71291
  init_encodings();
71292
+ init_http();
71263
71293
  init_matchers();
71264
71294
  init_primitives();
71265
71295
  init_schemas4();
@@ -71340,7 +71370,7 @@ async function $do33(client, options) {
71340
71370
  const req = requestRes.value;
71341
71371
  const doResult = await client._do(req, {
71342
71372
  context: context2,
71343
- errorCodes: ["4XX", "5XX"],
71373
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71344
71374
  retryConfig: context2.retryConfig,
71345
71375
  retryCodes: context2.retryCodes
71346
71376
  });
@@ -71355,6 +71385,7 @@ async function $do33(client, options) {
71355
71385
  return [result, { status: "complete", request: req, response }];
71356
71386
  }
71357
71387
  var init_dashboardsPostSessionEventsDashboard = __esm(() => {
71388
+ init_http();
71358
71389
  init_matchers();
71359
71390
  init_primitives();
71360
71391
  init_security();
@@ -71428,7 +71459,7 @@ async function $do34(client, options) {
71428
71459
  const req = requestRes.value;
71429
71460
  const doResult = await client._do(req, {
71430
71461
  context: context2,
71431
- errorCodes: ["4XX", "5XX"],
71462
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71432
71463
  retryConfig: context2.retryConfig,
71433
71464
  retryCodes: context2.retryCodes
71434
71465
  });
@@ -71443,6 +71474,7 @@ async function $do34(client, options) {
71443
71474
  return [result, { status: "complete", request: req, response }];
71444
71475
  }
71445
71476
  var init_dashboardsPostSessionsDashboard = __esm(() => {
71477
+ init_http();
71446
71478
  init_matchers();
71447
71479
  init_primitives();
71448
71480
  init_security();
@@ -71516,7 +71548,7 @@ async function $do35(client, options) {
71516
71548
  const req = requestRes.value;
71517
71549
  const doResult = await client._do(req, {
71518
71550
  context: context2,
71519
- errorCodes: ["4XX", "5XX"],
71551
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71520
71552
  retryConfig: context2.retryConfig,
71521
71553
  retryCodes: context2.retryCodes
71522
71554
  });
@@ -71531,6 +71563,7 @@ async function $do35(client, options) {
71531
71563
  return [result, { status: "complete", request: req, response }];
71532
71564
  }
71533
71565
  var init_dashboardsPostSessionSummaryDashboard = __esm(() => {
71566
+ init_http();
71534
71567
  init_matchers();
71535
71568
  init_primitives();
71536
71569
  init_security();
@@ -71604,7 +71637,7 @@ async function $do36(client, options) {
71604
71637
  const req = requestRes.value;
71605
71638
  const doResult = await client._do(req, {
71606
71639
  context: context2,
71607
- errorCodes: ["4XX", "5XX"],
71640
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71608
71641
  retryConfig: context2.retryConfig,
71609
71642
  retryCodes: context2.retryCodes
71610
71643
  });
@@ -71619,6 +71652,7 @@ async function $do36(client, options) {
71619
71652
  return [result, { status: "complete", request: req, response }];
71620
71653
  }
71621
71654
  var init_dashboardsPostSessionTransfersDashboard = __esm(() => {
71655
+ init_http();
71622
71656
  init_matchers();
71623
71657
  init_primitives();
71624
71658
  init_security();
@@ -71700,7 +71734,7 @@ async function $do37(client, request, options) {
71700
71734
  const req = requestRes.value;
71701
71735
  const doResult = await client._do(req, {
71702
71736
  context: context2,
71703
- errorCodes: ["422", "4XX", "5XX"],
71737
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71704
71738
  retryConfig: context2.retryConfig,
71705
71739
  retryCodes: context2.retryCodes
71706
71740
  });
@@ -71719,6 +71753,7 @@ async function $do37(client, request, options) {
71719
71753
  }
71720
71754
  var init_dataSourcesCreate = __esm(() => {
71721
71755
  init_encodings();
71756
+ init_http();
71722
71757
  init_matchers();
71723
71758
  init_primitives();
71724
71759
  init_schemas4();
@@ -71812,7 +71847,7 @@ async function $do38(client, request, options) {
71812
71847
  const req = requestRes.value;
71813
71848
  const doResult = await client._do(req, {
71814
71849
  context: context2,
71815
- errorCodes: ["422", "4XX", "5XX"],
71850
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71816
71851
  retryConfig: context2.retryConfig,
71817
71852
  retryCodes: context2.retryCodes
71818
71853
  });
@@ -71832,6 +71867,7 @@ async function $do38(client, request, options) {
71832
71867
  var init_dataSourcesDelete = __esm(() => {
71833
71868
  init_v3();
71834
71869
  init_encodings();
71870
+ init_http();
71835
71871
  init_matchers();
71836
71872
  init_primitives();
71837
71873
  init_schemas4();
@@ -71921,7 +71957,7 @@ async function $do39(client, request, options) {
71921
71957
  const req = requestRes.value;
71922
71958
  const doResult = await client._do(req, {
71923
71959
  context: context2,
71924
- errorCodes: ["422", "4XX", "5XX"],
71960
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
71925
71961
  retryConfig: context2.retryConfig,
71926
71962
  retryCodes: context2.retryCodes
71927
71963
  });
@@ -71940,6 +71976,7 @@ async function $do39(client, request, options) {
71940
71976
  }
71941
71977
  var init_dataSourcesGetById = __esm(() => {
71942
71978
  init_encodings();
71979
+ init_http();
71943
71980
  init_matchers();
71944
71981
  init_primitives();
71945
71982
  init_schemas4();
@@ -72036,7 +72073,7 @@ async function $do40(client, request, options) {
72036
72073
  const req = requestRes.value;
72037
72074
  const doResult = await client._do(req, {
72038
72075
  context: context2,
72039
- errorCodes: ["422", "4XX", "5XX"],
72076
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
72040
72077
  retryConfig: context2.retryConfig,
72041
72078
  retryCodes: context2.retryCodes
72042
72079
  });
@@ -72055,6 +72092,7 @@ async function $do40(client, request, options) {
72055
72092
  }
72056
72093
  var init_dataSourcesList = __esm(() => {
72057
72094
  init_encodings();
72095
+ init_http();
72058
72096
  init_matchers();
72059
72097
  init_primitives();
72060
72098
  init_schemas4();
@@ -72140,7 +72178,7 @@ async function $do41(client, request, options) {
72140
72178
  const req = requestRes.value;
72141
72179
  const doResult = await client._do(req, {
72142
72180
  context: context2,
72143
- errorCodes: ["422", "4XX", "5XX"],
72181
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
72144
72182
  retryConfig: context2.retryConfig,
72145
72183
  retryCodes: context2.retryCodes
72146
72184
  });
@@ -72159,6 +72197,7 @@ async function $do41(client, request, options) {
72159
72197
  }
72160
72198
  var init_dataSourcesUpdate = __esm(() => {
72161
72199
  init_encodings();
72200
+ init_http();
72162
72201
  init_matchers();
72163
72202
  init_primitives();
72164
72203
  init_schemas4();
@@ -72249,7 +72288,7 @@ async function $do42(client, request, options) {
72249
72288
  const req = requestRes.value;
72250
72289
  const doResult = await client._do(req, {
72251
72290
  context: context2,
72252
- errorCodes: ["422", "4XX", "5XX"],
72291
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
72253
72292
  retryConfig: context2.retryConfig,
72254
72293
  retryCodes: context2.retryCodes
72255
72294
  });
@@ -72268,6 +72307,7 @@ async function $do42(client, request, options) {
72268
72307
  }
72269
72308
  var init_directoryCreate = __esm(() => {
72270
72309
  init_encodings();
72310
+ init_http();
72271
72311
  init_matchers();
72272
72312
  init_primitives();
72273
72313
  init_schemas4();
@@ -72362,7 +72402,7 @@ async function $do43(client, request, options) {
72362
72402
  const req = requestRes.value;
72363
72403
  const doResult = await client._do(req, {
72364
72404
  context: context2,
72365
- errorCodes: ["400", "404", "422", "4XX", "500", "5XX"],
72405
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
72366
72406
  retryConfig: context2.retryConfig,
72367
72407
  retryCodes: context2.retryCodes
72368
72408
  });
@@ -72382,6 +72422,7 @@ async function $do43(client, request, options) {
72382
72422
  var init_directoryDelete = __esm(() => {
72383
72423
  init_v3();
72384
72424
  init_encodings();
72425
+ init_http();
72385
72426
  init_matchers();
72386
72427
  init_primitives();
72387
72428
  init_schemas4();
@@ -72553,7 +72594,7 @@ async function $do44(client, request, options) {
72553
72594
  const req = requestRes.value;
72554
72595
  const doResult = await client._do(req, {
72555
72596
  context: context2,
72556
- errorCodes: ["400", "404", "412", "422", "4XX", "500", "5XX"],
72597
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
72557
72598
  retryConfig: context2.retryConfig,
72558
72599
  retryCodes: context2.retryCodes
72559
72600
  });
@@ -72573,6 +72614,7 @@ async function $do44(client, request, options) {
72573
72614
  var init_directoryDirectoryMemberBulkLoad = __esm(() => {
72574
72615
  init_v3();
72575
72616
  init_encodings();
72617
+ init_http();
72576
72618
  init_matchers();
72577
72619
  init_primitives();
72578
72620
  init_schemas4();
@@ -72661,7 +72703,7 @@ async function $do45(client, request, options) {
72661
72703
  const req = requestRes.value;
72662
72704
  const doResult = await client._do(req, {
72663
72705
  context: context2,
72664
- errorCodes: ["422", "4XX", "500", "5XX"],
72706
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
72665
72707
  retryConfig: context2.retryConfig,
72666
72708
  retryCodes: context2.retryCodes
72667
72709
  });
@@ -72681,6 +72723,7 @@ async function $do45(client, request, options) {
72681
72723
  var init_directoryDirectoryMemberDownload = __esm(() => {
72682
72724
  init_v3();
72683
72725
  init_encodings();
72726
+ init_http();
72684
72727
  init_matchers();
72685
72728
  init_primitives();
72686
72729
  init_schemas4();
@@ -72777,7 +72820,7 @@ async function $do46(client, request, options) {
72777
72820
  const req = requestRes.value;
72778
72821
  const doResult = await client._do(req, {
72779
72822
  context: context2,
72780
- errorCodes: ["422", "4XX", "5XX"],
72823
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
72781
72824
  retryConfig: context2.retryConfig,
72782
72825
  retryCodes: context2.retryCodes
72783
72826
  });
@@ -72796,6 +72839,7 @@ async function $do46(client, request, options) {
72796
72839
  }
72797
72840
  var init_directoryDirectoryMemberHistory = __esm(() => {
72798
72841
  init_encodings();
72842
+ init_http();
72799
72843
  init_matchers();
72800
72844
  init_primitives();
72801
72845
  init_schemas4();
@@ -72894,7 +72938,7 @@ async function $do47(client, request, options) {
72894
72938
  const req = requestRes.value;
72895
72939
  const doResult = await client._do(req, {
72896
72940
  context: context2,
72897
- errorCodes: ["404", "409", "422", "4XX", "500", "5XX"],
72941
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
72898
72942
  retryConfig: context2.retryConfig,
72899
72943
  retryCodes: context2.retryCodes
72900
72944
  });
@@ -72913,6 +72957,7 @@ async function $do47(client, request, options) {
72913
72957
  }
72914
72958
  var init_directoryDirectoryMemberRestore = __esm(() => {
72915
72959
  init_encodings();
72960
+ init_http();
72916
72961
  init_matchers();
72917
72962
  init_primitives();
72918
72963
  init_schemas4();
@@ -73008,7 +73053,7 @@ async function $do48(client, request, options) {
73008
73053
  const req = requestRes.value;
73009
73054
  const doResult = await client._do(req, {
73010
73055
  context: context2,
73011
- errorCodes: ["422", "4XX", "5XX"],
73056
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73012
73057
  retryConfig: context2.retryConfig,
73013
73058
  retryCodes: context2.retryCodes
73014
73059
  });
@@ -73027,6 +73072,7 @@ async function $do48(client, request, options) {
73027
73072
  }
73028
73073
  var init_directoryDirectoryMemberTestExtension = __esm(() => {
73029
73074
  init_encodings();
73075
+ init_http();
73030
73076
  init_matchers();
73031
73077
  init_primitives();
73032
73078
  init_schemas4();
@@ -73121,7 +73167,7 @@ async function $do49(client, request, options) {
73121
73167
  const req = requestRes.value;
73122
73168
  const doResult = await client._do(req, {
73123
73169
  context: context2,
73124
- errorCodes: ["422", "4XX", "5XX"],
73170
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73125
73171
  retryConfig: context2.retryConfig,
73126
73172
  retryCodes: context2.retryCodes
73127
73173
  });
@@ -73140,6 +73186,7 @@ async function $do49(client, request, options) {
73140
73186
  }
73141
73187
  var init_directoryGetById = __esm(() => {
73142
73188
  init_encodings();
73189
+ init_http();
73143
73190
  init_matchers();
73144
73191
  init_primitives();
73145
73192
  init_schemas4();
@@ -73238,7 +73285,7 @@ async function $do50(client, request, options) {
73238
73285
  const req = requestRes.value;
73239
73286
  const doResult = await client._do(req, {
73240
73287
  context: context2,
73241
- errorCodes: ["422", "4XX", "5XX"],
73288
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73242
73289
  retryConfig: context2.retryConfig,
73243
73290
  retryCodes: context2.retryCodes
73244
73291
  });
@@ -73257,6 +73304,7 @@ async function $do50(client, request, options) {
73257
73304
  }
73258
73305
  var init_directoryList = __esm(() => {
73259
73306
  init_encodings();
73307
+ init_http();
73260
73308
  init_matchers();
73261
73309
  init_primitives();
73262
73310
  init_schemas4();
@@ -73354,7 +73402,7 @@ async function $do51(client, request, options) {
73354
73402
  const req = requestRes.value;
73355
73403
  const doResult = await client._do(req, {
73356
73404
  context: context2,
73357
- errorCodes: ["400", "404", "412", "422", "4XX", "500", "5XX"],
73405
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73358
73406
  retryConfig: context2.retryConfig,
73359
73407
  retryCodes: context2.retryCodes
73360
73408
  });
@@ -73373,6 +73421,7 @@ async function $do51(client, request, options) {
73373
73421
  }
73374
73422
  var init_directoryUpdate = __esm(() => {
73375
73423
  init_encodings();
73424
+ init_http();
73376
73425
  init_matchers();
73377
73426
  init_primitives();
73378
73427
  init_schemas4();
@@ -73469,7 +73518,7 @@ async function $do52(client, request, options) {
73469
73518
  const req = requestRes.value;
73470
73519
  const doResult = await client._do(req, {
73471
73520
  context: context2,
73472
- errorCodes: ["422", "4XX", "5XX"],
73521
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73473
73522
  retryConfig: context2.retryConfig,
73474
73523
  retryCodes: context2.retryCodes
73475
73524
  });
@@ -73488,6 +73537,7 @@ async function $do52(client, request, options) {
73488
73537
  }
73489
73538
  var init_eventsList = __esm(() => {
73490
73539
  init_encodings();
73540
+ init_http();
73491
73541
  init_matchers();
73492
73542
  init_primitives();
73493
73543
  init_schemas4();
@@ -73571,7 +73621,7 @@ async function $do53(client, request, options) {
73571
73621
  const req = requestRes.value;
73572
73622
  const doResult = await client._do(req, {
73573
73623
  context: context2,
73574
- errorCodes: ["422", "4XX", "5XX"],
73624
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73575
73625
  retryConfig: context2.retryConfig,
73576
73626
  retryCodes: context2.retryCodes
73577
73627
  });
@@ -73590,6 +73640,7 @@ async function $do53(client, request, options) {
73590
73640
  }
73591
73641
  var init_incidentsCreate = __esm(() => {
73592
73642
  init_encodings();
73643
+ init_http();
73593
73644
  init_matchers();
73594
73645
  init_primitives();
73595
73646
  init_schemas4();
@@ -73683,7 +73734,7 @@ async function $do54(client, request, options) {
73683
73734
  const req = requestRes.value;
73684
73735
  const doResult = await client._do(req, {
73685
73736
  context: context2,
73686
- errorCodes: ["422", "4XX", "5XX"],
73737
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73687
73738
  retryConfig: context2.retryConfig,
73688
73739
  retryCodes: context2.retryCodes
73689
73740
  });
@@ -73703,6 +73754,7 @@ async function $do54(client, request, options) {
73703
73754
  var init_incidentsDelete = __esm(() => {
73704
73755
  init_v3();
73705
73756
  init_encodings();
73757
+ init_http();
73706
73758
  init_matchers();
73707
73759
  init_primitives();
73708
73760
  init_schemas4();
@@ -73792,7 +73844,7 @@ async function $do55(client, request, options) {
73792
73844
  const req = requestRes.value;
73793
73845
  const doResult = await client._do(req, {
73794
73846
  context: context2,
73795
- errorCodes: ["422", "4XX", "5XX"],
73847
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73796
73848
  retryConfig: context2.retryConfig,
73797
73849
  retryCodes: context2.retryCodes
73798
73850
  });
@@ -73811,6 +73863,7 @@ async function $do55(client, request, options) {
73811
73863
  }
73812
73864
  var init_incidentsGetById = __esm(() => {
73813
73865
  init_encodings();
73866
+ init_http();
73814
73867
  init_matchers();
73815
73868
  init_primitives();
73816
73869
  init_schemas4();
@@ -73888,7 +73941,7 @@ async function $do56(client, options) {
73888
73941
  const req = requestRes.value;
73889
73942
  const doResult = await client._do(req, {
73890
73943
  context: context2,
73891
- errorCodes: ["4XX", "5XX"],
73944
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73892
73945
  retryConfig: context2.retryConfig,
73893
73946
  retryCodes: context2.retryCodes
73894
73947
  });
@@ -73904,6 +73957,7 @@ async function $do56(client, options) {
73904
73957
  }
73905
73958
  var init_incidentsIncidentGetOrganizations = __esm(() => {
73906
73959
  init_v3();
73960
+ init_http();
73907
73961
  init_matchers();
73908
73962
  init_primitives();
73909
73963
  init_security();
@@ -73992,7 +74046,7 @@ async function $do57(client, request, options) {
73992
74046
  const req = requestRes.value;
73993
74047
  const doResult = await client._do(req, {
73994
74048
  context: context2,
73995
- errorCodes: ["422", "4XX", "5XX"],
74049
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
73996
74050
  retryConfig: context2.retryConfig,
73997
74051
  retryCodes: context2.retryCodes
73998
74052
  });
@@ -74011,6 +74065,7 @@ async function $do57(client, request, options) {
74011
74065
  }
74012
74066
  var init_incidentsList = __esm(() => {
74013
74067
  init_encodings();
74068
+ init_http();
74014
74069
  init_matchers();
74015
74070
  init_primitives();
74016
74071
  init_schemas4();
@@ -74096,7 +74151,7 @@ async function $do58(client, request, options) {
74096
74151
  const req = requestRes.value;
74097
74152
  const doResult = await client._do(req, {
74098
74153
  context: context2,
74099
- errorCodes: ["422", "4XX", "5XX"],
74154
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
74100
74155
  retryConfig: context2.retryConfig,
74101
74156
  retryCodes: context2.retryCodes
74102
74157
  });
@@ -74115,6 +74170,7 @@ async function $do58(client, request, options) {
74115
74170
  }
74116
74171
  var init_incidentsUpdate = __esm(() => {
74117
74172
  init_encodings();
74173
+ init_http();
74118
74174
  init_matchers();
74119
74175
  init_primitives();
74120
74176
  init_schemas4();
@@ -74199,7 +74255,7 @@ async function $do59(client, request, options) {
74199
74255
  const req = requestRes.value;
74200
74256
  const doResult = await client._do(req, {
74201
74257
  context: context2,
74202
- errorCodes: ["422", "4XX", "5XX"],
74258
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
74203
74259
  retryConfig: context2.retryConfig,
74204
74260
  retryCodes: context2.retryCodes
74205
74261
  });
@@ -74218,6 +74274,7 @@ async function $do59(client, request, options) {
74218
74274
  }
74219
74275
  var init_insightsFoldersCreate = __esm(() => {
74220
74276
  init_encodings();
74277
+ init_http();
74221
74278
  init_matchers();
74222
74279
  init_primitives();
74223
74280
  init_schemas4();
@@ -74305,7 +74362,7 @@ async function $do60(client, request, options) {
74305
74362
  const req = requestRes.value;
74306
74363
  const doResult = await client._do(req, {
74307
74364
  context: context2,
74308
- errorCodes: ["422", "4XX", "5XX"],
74365
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
74309
74366
  retryConfig: context2.retryConfig,
74310
74367
  retryCodes: context2.retryCodes
74311
74368
  });
@@ -74325,6 +74382,7 @@ async function $do60(client, request, options) {
74325
74382
  var init_insightsFoldersDelete = __esm(() => {
74326
74383
  init_v3();
74327
74384
  init_encodings();
74385
+ init_http();
74328
74386
  init_matchers();
74329
74387
  init_primitives();
74330
74388
  init_schemas4();
@@ -74412,7 +74470,7 @@ async function $do61(client, request, options) {
74412
74470
  const req = requestRes.value;
74413
74471
  const doResult = await client._do(req, {
74414
74472
  context: context2,
74415
- errorCodes: ["422", "4XX", "5XX"],
74473
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
74416
74474
  retryConfig: context2.retryConfig,
74417
74475
  retryCodes: context2.retryCodes
74418
74476
  });
@@ -74431,6 +74489,7 @@ async function $do61(client, request, options) {
74431
74489
  }
74432
74490
  var init_insightsFoldersGetById = __esm(() => {
74433
74491
  init_encodings();
74492
+ init_http();
74434
74493
  init_matchers();
74435
74494
  init_primitives();
74436
74495
  init_schemas4();
@@ -74525,7 +74584,7 @@ async function $do62(client, request, options) {
74525
74584
  const req = requestRes.value;
74526
74585
  const doResult = await client._do(req, {
74527
74586
  context: context2,
74528
- errorCodes: ["422", "4XX", "5XX"],
74587
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
74529
74588
  retryConfig: context2.retryConfig,
74530
74589
  retryCodes: context2.retryCodes
74531
74590
  });
@@ -74544,6 +74603,7 @@ async function $do62(client, request, options) {
74544
74603
  }
74545
74604
  var init_insightsFoldersList = __esm(() => {
74546
74605
  init_encodings();
74606
+ init_http();
74547
74607
  init_matchers();
74548
74608
  init_primitives();
74549
74609
  init_schemas4();
@@ -74644,7 +74704,7 @@ async function $do63(client, request, options) {
74644
74704
  const req = requestRes.value;
74645
74705
  const doResult = await client._do(req, {
74646
74706
  context: context2,
74647
- errorCodes: ["422", "4XX", "5XX"],
74707
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
74648
74708
  retryConfig: context2.retryConfig,
74649
74709
  retryCodes: context2.retryCodes
74650
74710
  });
@@ -74663,6 +74723,7 @@ async function $do63(client, request, options) {
74663
74723
  }
74664
74724
  var init_insightsFoldersListFiles = __esm(() => {
74665
74725
  init_encodings();
74726
+ init_http();
74666
74727
  init_matchers();
74667
74728
  init_primitives();
74668
74729
  init_schemas4();
@@ -74754,7 +74815,7 @@ async function $do64(client, request, options) {
74754
74815
  const req = requestRes.value;
74755
74816
  const doResult = await client._do(req, {
74756
74817
  context: context2,
74757
- errorCodes: ["422", "4XX", "5XX"],
74818
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
74758
74819
  retryConfig: context2.retryConfig,
74759
74820
  retryCodes: context2.retryCodes
74760
74821
  });
@@ -74774,6 +74835,7 @@ async function $do64(client, request, options) {
74774
74835
  var init_insightsFoldersMoveFiles = __esm(() => {
74775
74836
  init_v3();
74776
74837
  init_encodings();
74838
+ init_http();
74777
74839
  init_matchers();
74778
74840
  init_primitives();
74779
74841
  init_schemas4();
@@ -74865,7 +74927,7 @@ async function $do65(client, request, options) {
74865
74927
  const req = requestRes.value;
74866
74928
  const doResult = await client._do(req, {
74867
74929
  context: context2,
74868
- errorCodes: ["422", "4XX", "5XX"],
74930
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
74869
74931
  retryConfig: context2.retryConfig,
74870
74932
  retryCodes: context2.retryCodes
74871
74933
  });
@@ -74884,6 +74946,7 @@ async function $do65(client, request, options) {
74884
74946
  }
74885
74947
  var init_insightsFoldersUpdate = __esm(() => {
74886
74948
  init_encodings();
74949
+ init_http();
74887
74950
  init_matchers();
74888
74951
  init_primitives();
74889
74952
  init_schemas4();
@@ -74999,7 +75062,7 @@ async function $do66(client, request, options) {
74999
75062
  const req = requestRes.value;
75000
75063
  const doResult = await client._do(req, {
75001
75064
  context: context2,
75002
- errorCodes: ["422", "4XX", "5XX"],
75065
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75003
75066
  retryConfig: context2.retryConfig,
75004
75067
  retryCodes: context2.retryCodes
75005
75068
  });
@@ -75018,6 +75081,7 @@ async function $do66(client, request, options) {
75018
75081
  }
75019
75082
  var init_insightsFoldersUploadFile = __esm(() => {
75020
75083
  init_encodings();
75084
+ init_http();
75021
75085
  init_matchers();
75022
75086
  init_primitives();
75023
75087
  init_schemas4();
@@ -75113,7 +75177,7 @@ async function $do67(client, request, options) {
75113
75177
  const req = requestRes.value;
75114
75178
  const doResult = await client._do(req, {
75115
75179
  context: context2,
75116
- errorCodes: ["422", "4XX", "5XX"],
75180
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75117
75181
  retryConfig: context2.retryConfig,
75118
75182
  retryCodes: context2.retryCodes
75119
75183
  });
@@ -75132,6 +75196,7 @@ async function $do67(client, request, options) {
75132
75196
  }
75133
75197
  var init_insightsList = __esm(() => {
75134
75198
  init_encodings();
75199
+ init_http();
75135
75200
  init_matchers();
75136
75201
  init_primitives();
75137
75202
  init_schemas4();
@@ -75217,7 +75282,7 @@ async function $do68(client, request, options) {
75217
75282
  const req = requestRes.value;
75218
75283
  const doResult = await client._do(req, {
75219
75284
  context: context2,
75220
- errorCodes: ["400", "422", "4XX", "500", "5XX"],
75285
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75221
75286
  retryConfig: context2.retryConfig,
75222
75287
  retryCodes: context2.retryCodes
75223
75288
  });
@@ -75236,6 +75301,7 @@ async function $do68(client, request, options) {
75236
75301
  }
75237
75302
  var init_insightsToolsCreate = __esm(() => {
75238
75303
  init_encodings();
75304
+ init_http();
75239
75305
  init_matchers();
75240
75306
  init_primitives();
75241
75307
  init_schemas4();
@@ -75325,7 +75391,7 @@ async function $do69(client, request, options) {
75325
75391
  const req = requestRes.value;
75326
75392
  const doResult = await client._do(req, {
75327
75393
  context: context2,
75328
- errorCodes: ["400", "404", "412", "422", "4XX", "500", "5XX"],
75394
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75329
75395
  retryConfig: context2.retryConfig,
75330
75396
  retryCodes: context2.retryCodes
75331
75397
  });
@@ -75345,6 +75411,7 @@ async function $do69(client, request, options) {
75345
75411
  var init_insightsToolsDelete = __esm(() => {
75346
75412
  init_v3();
75347
75413
  init_encodings();
75414
+ init_http();
75348
75415
  init_matchers();
75349
75416
  init_primitives();
75350
75417
  init_schemas4();
@@ -75434,7 +75501,7 @@ async function $do70(client, request, options) {
75434
75501
  const req = requestRes.value;
75435
75502
  const doResult = await client._do(req, {
75436
75503
  context: context2,
75437
- errorCodes: ["422", "4XX", "5XX"],
75504
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75438
75505
  retryConfig: context2.retryConfig,
75439
75506
  retryCodes: context2.retryCodes
75440
75507
  });
@@ -75453,6 +75520,7 @@ async function $do70(client, request, options) {
75453
75520
  }
75454
75521
  var init_insightsToolsGetById = __esm(() => {
75455
75522
  init_encodings();
75523
+ init_http();
75456
75524
  init_matchers();
75457
75525
  init_primitives();
75458
75526
  init_schemas4();
@@ -75538,7 +75606,7 @@ async function $do71(client, request, options) {
75538
75606
  const req = requestRes.value;
75539
75607
  const doResult = await client._do(req, {
75540
75608
  context: context2,
75541
- errorCodes: ["400", "404", "422", "4XX", "500", "5XX"],
75609
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75542
75610
  retryConfig: context2.retryConfig,
75543
75611
  retryCodes: context2.retryCodes
75544
75612
  });
@@ -75558,6 +75626,7 @@ async function $do71(client, request, options) {
75558
75626
  var init_insightsToolsInsightsToolTest = __esm(() => {
75559
75627
  init_v3();
75560
75628
  init_encodings();
75629
+ init_http();
75561
75630
  init_matchers();
75562
75631
  init_primitives();
75563
75632
  init_schemas4();
@@ -75634,7 +75703,7 @@ async function $do72(client, options) {
75634
75703
  const req = requestRes.value;
75635
75704
  const doResult = await client._do(req, {
75636
75705
  context: context2,
75637
- errorCodes: ["4XX", "5XX"],
75706
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75638
75707
  retryConfig: context2.retryConfig,
75639
75708
  retryCodes: context2.retryCodes
75640
75709
  });
@@ -75650,6 +75719,7 @@ async function $do72(client, options) {
75650
75719
  }
75651
75720
  var init_insightsToolsInsightToolGetDefinitions = __esm(() => {
75652
75721
  init_v3();
75722
+ init_http();
75653
75723
  init_matchers();
75654
75724
  init_primitives();
75655
75725
  init_security();
@@ -75738,7 +75808,7 @@ async function $do73(client, request, options) {
75738
75808
  const req = requestRes.value;
75739
75809
  const doResult = await client._do(req, {
75740
75810
  context: context2,
75741
- errorCodes: ["422", "4XX", "5XX"],
75811
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75742
75812
  retryConfig: context2.retryConfig,
75743
75813
  retryCodes: context2.retryCodes
75744
75814
  });
@@ -75757,6 +75827,7 @@ async function $do73(client, request, options) {
75757
75827
  }
75758
75828
  var init_insightsToolsList = __esm(() => {
75759
75829
  init_encodings();
75830
+ init_http();
75760
75831
  init_matchers();
75761
75832
  init_primitives();
75762
75833
  init_schemas4();
@@ -75848,7 +75919,7 @@ async function $do74(client, request, options) {
75848
75919
  const req = requestRes.value;
75849
75920
  const doResult = await client._do(req, {
75850
75921
  context: context2,
75851
- errorCodes: ["400", "404", "412", "422", "4XX", "500", "5XX"],
75922
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75852
75923
  retryConfig: context2.retryConfig,
75853
75924
  retryCodes: context2.retryCodes
75854
75925
  });
@@ -75867,6 +75938,7 @@ async function $do74(client, request, options) {
75867
75938
  }
75868
75939
  var init_insightsToolsUpdate = __esm(() => {
75869
75940
  init_encodings();
75941
+ init_http();
75870
75942
  init_matchers();
75871
75943
  init_primitives();
75872
75944
  init_schemas4();
@@ -75960,7 +76032,7 @@ async function $do75(client, request, options) {
75960
76032
  const req = requestRes.value;
75961
76033
  const doResult = await client._do(req, {
75962
76034
  context: context2,
75963
- errorCodes: ["404", "422", "4XX", "500", "5XX"],
76035
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
75964
76036
  retryConfig: context2.retryConfig,
75965
76037
  retryCodes: context2.retryCodes
75966
76038
  });
@@ -75979,6 +76051,7 @@ async function $do75(client, request, options) {
75979
76051
  }
75980
76052
  var init_insightsWorkflowsActivate = __esm(() => {
75981
76053
  init_encodings();
76054
+ init_http();
75982
76055
  init_matchers();
75983
76056
  init_primitives();
75984
76057
  init_schemas4();
@@ -76064,7 +76137,7 @@ async function $do76(client, request, options) {
76064
76137
  const req = requestRes.value;
76065
76138
  const doResult = await client._do(req, {
76066
76139
  context: context2,
76067
- errorCodes: ["422", "4XX", "5XX"],
76140
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76068
76141
  retryConfig: context2.retryConfig,
76069
76142
  retryCodes: context2.retryCodes
76070
76143
  });
@@ -76083,6 +76156,7 @@ async function $do76(client, request, options) {
76083
76156
  }
76084
76157
  var init_insightsWorkflowsCreate = __esm(() => {
76085
76158
  init_encodings();
76159
+ init_http();
76086
76160
  init_matchers();
76087
76161
  init_primitives();
76088
76162
  init_schemas4();
@@ -76172,7 +76246,7 @@ async function $do77(client, request, options) {
76172
76246
  const req = requestRes.value;
76173
76247
  const doResult = await client._do(req, {
76174
76248
  context: context2,
76175
- errorCodes: ["400", "404", "422", "4XX", "500", "5XX"],
76249
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76176
76250
  retryConfig: context2.retryConfig,
76177
76251
  retryCodes: context2.retryCodes
76178
76252
  });
@@ -76192,6 +76266,7 @@ async function $do77(client, request, options) {
76192
76266
  var init_insightsWorkflowsDelete = __esm(() => {
76193
76267
  init_v3();
76194
76268
  init_encodings();
76269
+ init_http();
76195
76270
  init_matchers();
76196
76271
  init_primitives();
76197
76272
  init_schemas4();
@@ -76281,7 +76356,7 @@ async function $do78(client, request, options) {
76281
76356
  const req = requestRes.value;
76282
76357
  const doResult = await client._do(req, {
76283
76358
  context: context2,
76284
- errorCodes: ["422", "4XX", "5XX"],
76359
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76285
76360
  retryConfig: context2.retryConfig,
76286
76361
  retryCodes: context2.retryCodes
76287
76362
  });
@@ -76300,6 +76375,7 @@ async function $do78(client, request, options) {
76300
76375
  }
76301
76376
  var init_insightsWorkflowsGetById = __esm(() => {
76302
76377
  init_encodings();
76378
+ init_http();
76303
76379
  init_matchers();
76304
76380
  init_primitives();
76305
76381
  init_schemas4();
@@ -76390,7 +76466,7 @@ async function $do79(client, request, options) {
76390
76466
  const req = requestRes.value;
76391
76467
  const doResult = await client._do(req, {
76392
76468
  context: context2,
76393
- errorCodes: ["404", "422", "4XX", "500", "5XX"],
76469
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76394
76470
  retryConfig: context2.retryConfig,
76395
76471
  retryCodes: context2.retryCodes
76396
76472
  });
@@ -76409,6 +76485,7 @@ async function $do79(client, request, options) {
76409
76485
  }
76410
76486
  var init_insightsWorkflowsInactivate = __esm(() => {
76411
76487
  init_encodings();
76488
+ init_http();
76412
76489
  init_matchers();
76413
76490
  init_primitives();
76414
76491
  init_schemas4();
@@ -76505,7 +76582,7 @@ async function $do80(client, request, options) {
76505
76582
  const req = requestRes.value;
76506
76583
  const doResult = await client._do(req, {
76507
76584
  context: context2,
76508
- errorCodes: ["422", "4XX", "5XX"],
76585
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76509
76586
  retryConfig: context2.retryConfig,
76510
76587
  retryCodes: context2.retryCodes
76511
76588
  });
@@ -76524,6 +76601,7 @@ async function $do80(client, request, options) {
76524
76601
  }
76525
76602
  var init_insightsWorkflowsList = __esm(() => {
76526
76603
  init_encodings();
76604
+ init_http();
76527
76605
  init_matchers();
76528
76606
  init_primitives();
76529
76607
  init_schemas4();
@@ -76609,7 +76687,7 @@ async function $do81(client, request, options) {
76609
76687
  const req = requestRes.value;
76610
76688
  const doResult = await client._do(req, {
76611
76689
  context: context2,
76612
- errorCodes: ["400", "404", "422", "4XX", "500", "5XX"],
76690
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76613
76691
  retryConfig: context2.retryConfig,
76614
76692
  retryCodes: context2.retryCodes
76615
76693
  });
@@ -76629,6 +76707,7 @@ async function $do81(client, request, options) {
76629
76707
  var init_insightsWorkflowsQueueWork = __esm(() => {
76630
76708
  init_v3();
76631
76709
  init_encodings();
76710
+ init_http();
76632
76711
  init_matchers();
76633
76712
  init_primitives();
76634
76713
  init_schemas4();
@@ -76721,7 +76800,7 @@ async function $do82(client, request, options) {
76721
76800
  const req = requestRes.value;
76722
76801
  const doResult = await client._do(req, {
76723
76802
  context: context2,
76724
- errorCodes: ["400", "404", "412", "422", "4XX", "500", "5XX"],
76803
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76725
76804
  retryConfig: context2.retryConfig,
76726
76805
  retryCodes: context2.retryCodes
76727
76806
  });
@@ -76740,6 +76819,7 @@ async function $do82(client, request, options) {
76740
76819
  }
76741
76820
  var init_insightsWorkflowsUpdate = __esm(() => {
76742
76821
  init_encodings();
76822
+ init_http();
76743
76823
  init_matchers();
76744
76824
  init_primitives();
76745
76825
  init_schemas4();
@@ -76825,7 +76905,7 @@ async function $do83(client, request, options) {
76825
76905
  const req = requestRes.value;
76826
76906
  const doResult = await client._do(req, {
76827
76907
  context: context2,
76828
- errorCodes: ["422", "4XX", "5XX"],
76908
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76829
76909
  retryConfig: context2.retryConfig,
76830
76910
  retryCodes: context2.retryCodes
76831
76911
  });
@@ -76844,6 +76924,7 @@ async function $do83(client, request, options) {
76844
76924
  }
76845
76925
  var init_languageGroupsCreate = __esm(() => {
76846
76926
  init_encodings();
76927
+ init_http();
76847
76928
  init_matchers();
76848
76929
  init_primitives();
76849
76930
  init_schemas4();
@@ -76934,7 +77015,7 @@ async function $do84(client, request, options) {
76934
77015
  const req = requestRes.value;
76935
77016
  const doResult = await client._do(req, {
76936
77017
  context: context2,
76937
- errorCodes: ["422", "4XX", "5XX"],
77018
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
76938
77019
  retryConfig: context2.retryConfig,
76939
77020
  retryCodes: context2.retryCodes
76940
77021
  });
@@ -76954,6 +77035,7 @@ async function $do84(client, request, options) {
76954
77035
  var init_languageGroupsDelete = __esm(() => {
76955
77036
  init_v3();
76956
77037
  init_encodings();
77038
+ init_http();
76957
77039
  init_matchers();
76958
77040
  init_primitives();
76959
77041
  init_schemas4();
@@ -77040,7 +77122,7 @@ async function $do85(client, request, options) {
77040
77122
  const req = requestRes.value;
77041
77123
  const doResult = await client._do(req, {
77042
77124
  context: context2,
77043
- errorCodes: ["422", "4XX", "5XX"],
77125
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77044
77126
  retryConfig: context2.retryConfig,
77045
77127
  retryCodes: context2.retryCodes
77046
77128
  });
@@ -77059,6 +77141,7 @@ async function $do85(client, request, options) {
77059
77141
  }
77060
77142
  var init_languageGroupsGetById = __esm(() => {
77061
77143
  init_encodings();
77144
+ init_http();
77062
77145
  init_matchers();
77063
77146
  init_primitives();
77064
77147
  init_schemas4();
@@ -77144,7 +77227,7 @@ async function $do86(client, request, options) {
77144
77227
  const req = requestRes.value;
77145
77228
  const doResult = await client._do(req, {
77146
77229
  context: context2,
77147
- errorCodes: ["422", "4XX", "5XX"],
77230
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77148
77231
  retryConfig: context2.retryConfig,
77149
77232
  retryCodes: context2.retryCodes
77150
77233
  });
@@ -77164,6 +77247,7 @@ async function $do86(client, request, options) {
77164
77247
  var init_languageGroupsLanguageGroupsCreateVoiceSample = __esm(() => {
77165
77248
  init_v3();
77166
77249
  init_encodings();
77250
+ init_http();
77167
77251
  init_matchers();
77168
77252
  init_primitives();
77169
77253
  init_schemas4();
@@ -77259,7 +77343,7 @@ async function $do87(client, request, options) {
77259
77343
  const req = requestRes.value;
77260
77344
  const doResult = await client._do(req, {
77261
77345
  context: context2,
77262
- errorCodes: ["422", "4XX", "5XX"],
77346
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77263
77347
  retryConfig: context2.retryConfig,
77264
77348
  retryCodes: context2.retryCodes
77265
77349
  });
@@ -77278,6 +77362,7 @@ async function $do87(client, request, options) {
77278
77362
  }
77279
77363
  var init_languageGroupsList = __esm(() => {
77280
77364
  init_encodings();
77365
+ init_http();
77281
77366
  init_matchers();
77282
77367
  init_primitives();
77283
77368
  init_schemas4();
@@ -77363,7 +77448,7 @@ async function $do88(client, request, options) {
77363
77448
  const req = requestRes.value;
77364
77449
  const doResult = await client._do(req, {
77365
77450
  context: context2,
77366
- errorCodes: ["422", "4XX", "5XX"],
77451
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77367
77452
  retryConfig: context2.retryConfig,
77368
77453
  retryCodes: context2.retryCodes
77369
77454
  });
@@ -77382,6 +77467,7 @@ async function $do88(client, request, options) {
77382
77467
  }
77383
77468
  var init_languageGroupsUpdate = __esm(() => {
77384
77469
  init_encodings();
77470
+ init_http();
77385
77471
  init_matchers();
77386
77472
  init_primitives();
77387
77473
  init_schemas4();
@@ -77488,7 +77574,7 @@ async function $do89(client, request, options) {
77488
77574
  const req = requestRes.value;
77489
77575
  const doResult = await client._do(req, {
77490
77576
  context: context2,
77491
- errorCodes: ["422", "4XX", "5XX"],
77577
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77492
77578
  retryConfig: context2.retryConfig,
77493
77579
  retryCodes: context2.retryCodes
77494
77580
  });
@@ -77507,6 +77593,7 @@ async function $do89(client, request, options) {
77507
77593
  }
77508
77594
  var init_organizationsCreate = __esm(() => {
77509
77595
  init_encodings();
77596
+ init_http();
77510
77597
  init_matchers();
77511
77598
  init_primitives();
77512
77599
  init_schemas4();
@@ -77594,7 +77681,7 @@ async function $do90(client, request, options) {
77594
77681
  const req = requestRes.value;
77595
77682
  const doResult = await client._do(req, {
77596
77683
  context: context2,
77597
- errorCodes: ["422", "4XX", "5XX"],
77684
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77598
77685
  retryConfig: context2.retryConfig,
77599
77686
  retryCodes: context2.retryCodes
77600
77687
  });
@@ -77614,6 +77701,7 @@ async function $do90(client, request, options) {
77614
77701
  var init_organizationsDelete = __esm(() => {
77615
77702
  init_v3();
77616
77703
  init_encodings();
77704
+ init_http();
77617
77705
  init_matchers();
77618
77706
  init_primitives();
77619
77707
  init_schemas4();
@@ -77690,7 +77778,7 @@ async function $do91(client, options) {
77690
77778
  const req = requestRes.value;
77691
77779
  const doResult = await client._do(req, {
77692
77780
  context: context2,
77693
- errorCodes: ["4XX", "5XX"],
77781
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77694
77782
  retryConfig: context2.retryConfig,
77695
77783
  retryCodes: context2.retryCodes
77696
77784
  });
@@ -77705,6 +77793,7 @@ async function $do91(client, options) {
77705
77793
  return [result, { status: "complete", request: req, response }];
77706
77794
  }
77707
77795
  var init_organizationsOrganizationsGet = __esm(() => {
77796
+ init_http();
77708
77797
  init_matchers();
77709
77798
  init_primitives();
77710
77799
  init_security();
@@ -77809,7 +77898,7 @@ async function $do92(client, request, options) {
77809
77898
  const req = requestRes.value;
77810
77899
  const doResult = await client._do(req, {
77811
77900
  context: context2,
77812
- errorCodes: ["422", "4XX", "5XX"],
77901
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77813
77902
  retryConfig: context2.retryConfig,
77814
77903
  retryCodes: context2.retryCodes
77815
77904
  });
@@ -77828,6 +77917,7 @@ async function $do92(client, request, options) {
77828
77917
  }
77829
77918
  var init_organizationsUpdate = __esm(() => {
77830
77919
  init_encodings();
77920
+ init_http();
77831
77921
  init_matchers();
77832
77922
  init_primitives();
77833
77923
  init_schemas4();
@@ -77921,7 +78011,7 @@ async function $do93(client, request, options) {
77921
78011
  const req = requestRes.value;
77922
78012
  const doResult = await client._do(req, {
77923
78013
  context: context2,
77924
- errorCodes: ["422", "4XX", "5XX"],
78014
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
77925
78015
  retryConfig: context2.retryConfig,
77926
78016
  retryCodes: context2.retryCodes
77927
78017
  });
@@ -77941,6 +78031,7 @@ async function $do93(client, request, options) {
77941
78031
  var init_outboundBatchesAdd = __esm(() => {
77942
78032
  init_v3();
77943
78033
  init_encodings();
78034
+ init_http();
77944
78035
  init_matchers();
77945
78036
  init_primitives();
77946
78037
  init_schemas4();
@@ -78023,7 +78114,7 @@ async function $do94(client, request, options) {
78023
78114
  const req = requestRes.value;
78024
78115
  const doResult = await client._do(req, {
78025
78116
  context: context2,
78026
- errorCodes: ["422", "4XX", "5XX"],
78117
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78027
78118
  retryConfig: context2.retryConfig,
78028
78119
  retryCodes: context2.retryCodes
78029
78120
  });
@@ -78042,6 +78133,7 @@ async function $do94(client, request, options) {
78042
78133
  }
78043
78134
  var init_outboundBatchesCreate = __esm(() => {
78044
78135
  init_encodings();
78136
+ init_http();
78045
78137
  init_matchers();
78046
78138
  init_primitives();
78047
78139
  init_schemas4();
@@ -78132,7 +78224,7 @@ async function $do95(client, request, options) {
78132
78224
  const req = requestRes.value;
78133
78225
  const doResult = await client._do(req, {
78134
78226
  context: context2,
78135
- errorCodes: ["422", "4XX", "5XX"],
78227
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78136
78228
  retryConfig: context2.retryConfig,
78137
78229
  retryCodes: context2.retryCodes
78138
78230
  });
@@ -78152,6 +78244,7 @@ async function $do95(client, request, options) {
78152
78244
  var init_outboundBatchesDelete = __esm(() => {
78153
78245
  init_v3();
78154
78246
  init_encodings();
78247
+ init_http();
78155
78248
  init_matchers();
78156
78249
  init_primitives();
78157
78250
  init_schemas4();
@@ -78239,7 +78332,7 @@ async function $do96(client, request, options) {
78239
78332
  const req = requestRes.value;
78240
78333
  const doResult = await client._do(req, {
78241
78334
  context: context2,
78242
- errorCodes: ["422", "4XX", "5XX"],
78335
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78243
78336
  retryConfig: context2.retryConfig,
78244
78337
  retryCodes: context2.retryCodes
78245
78338
  });
@@ -78258,6 +78351,7 @@ async function $do96(client, request, options) {
78258
78351
  }
78259
78352
  var init_outboundBatchesGetById = __esm(() => {
78260
78353
  init_encodings();
78354
+ init_http();
78261
78355
  init_matchers();
78262
78356
  init_primitives();
78263
78357
  init_schemas4();
@@ -78352,7 +78446,7 @@ async function $do97(client, request, options) {
78352
78446
  const req = requestRes.value;
78353
78447
  const doResult = await client._do(req, {
78354
78448
  context: context2,
78355
- errorCodes: ["422", "4XX", "5XX"],
78449
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78356
78450
  retryConfig: context2.retryConfig,
78357
78451
  retryCodes: context2.retryCodes
78358
78452
  });
@@ -78371,6 +78465,7 @@ async function $do97(client, request, options) {
78371
78465
  }
78372
78466
  var init_outboundBatchesList = __esm(() => {
78373
78467
  init_encodings();
78468
+ init_http();
78374
78469
  init_matchers();
78375
78470
  init_primitives();
78376
78471
  init_schemas4();
@@ -78460,7 +78555,7 @@ async function $do98(client, request, options) {
78460
78555
  const req = requestRes.value;
78461
78556
  const doResult = await client._do(req, {
78462
78557
  context: context2,
78463
- errorCodes: ["422", "4XX", "5XX"],
78558
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78464
78559
  retryConfig: context2.retryConfig,
78465
78560
  retryCodes: context2.retryCodes
78466
78561
  });
@@ -78480,6 +78575,7 @@ async function $do98(client, request, options) {
78480
78575
  var init_outboundBatchesRemove = __esm(() => {
78481
78576
  init_v3();
78482
78577
  init_encodings();
78578
+ init_http();
78483
78579
  init_matchers();
78484
78580
  init_primitives();
78485
78581
  init_schemas4();
@@ -78573,7 +78669,7 @@ async function $do99(client, request, options) {
78573
78669
  const req = requestRes.value;
78574
78670
  const doResult = await client._do(req, {
78575
78671
  context: context2,
78576
- errorCodes: ["422", "4XX", "5XX"],
78672
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78577
78673
  retryConfig: context2.retryConfig,
78578
78674
  retryCodes: context2.retryCodes
78579
78675
  });
@@ -78593,6 +78689,7 @@ async function $do99(client, request, options) {
78593
78689
  var init_outboundBatchesResults = __esm(() => {
78594
78690
  init_v3();
78595
78691
  init_encodings();
78692
+ init_http();
78596
78693
  init_matchers();
78597
78694
  init_primitives();
78598
78695
  init_schemas4();
@@ -78684,7 +78781,7 @@ async function $do100(client, request, options) {
78684
78781
  const req = requestRes.value;
78685
78782
  const doResult = await client._do(req, {
78686
78783
  context: context2,
78687
- errorCodes: ["422", "4XX", "5XX"],
78784
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78688
78785
  retryConfig: context2.retryConfig,
78689
78786
  retryCodes: context2.retryCodes
78690
78787
  });
@@ -78703,6 +78800,7 @@ async function $do100(client, request, options) {
78703
78800
  }
78704
78801
  var init_outboundBatchesUpdate = __esm(() => {
78705
78802
  init_encodings();
78803
+ init_http();
78706
78804
  init_matchers();
78707
78805
  init_primitives();
78708
78806
  init_schemas4();
@@ -78808,7 +78906,7 @@ async function $do101(client, request, options) {
78808
78906
  const req = requestRes.value;
78809
78907
  const doResult = await client._do(req, {
78810
78908
  context: context2,
78811
- errorCodes: ["422", "4XX", "5XX"],
78909
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78812
78910
  retryConfig: context2.retryConfig,
78813
78911
  retryCodes: context2.retryCodes
78814
78912
  });
@@ -78828,6 +78926,7 @@ async function $do101(client, request, options) {
78828
78926
  var init_outboundBatchesUpload = __esm(() => {
78829
78927
  init_v3();
78830
78928
  init_encodings();
78929
+ init_http();
78831
78930
  init_matchers();
78832
78931
  init_primitives();
78833
78932
  init_schemas4();
@@ -78911,7 +79010,7 @@ async function $do102(client, request, options) {
78911
79010
  const req = requestRes.value;
78912
79011
  const doResult = await client._do(req, {
78913
79012
  context: context2,
78914
- errorCodes: ["422", "4XX", "5XX"],
79013
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
78915
79014
  retryConfig: context2.retryConfig,
78916
79015
  retryCodes: context2.retryCodes
78917
79016
  });
@@ -78930,6 +79029,7 @@ async function $do102(client, request, options) {
78930
79029
  }
78931
79030
  var init_outboundCampaignsCreate = __esm(() => {
78932
79031
  init_encodings();
79032
+ init_http();
78933
79033
  init_matchers();
78934
79034
  init_primitives();
78935
79035
  init_schemas4();
@@ -79017,7 +79117,7 @@ async function $do103(client, request, options) {
79017
79117
  const req = requestRes.value;
79018
79118
  const doResult = await client._do(req, {
79019
79119
  context: context2,
79020
- errorCodes: ["422", "4XX", "5XX"],
79120
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79021
79121
  retryConfig: context2.retryConfig,
79022
79122
  retryCodes: context2.retryCodes
79023
79123
  });
@@ -79037,6 +79137,7 @@ async function $do103(client, request, options) {
79037
79137
  var init_outboundCampaignsDelete = __esm(() => {
79038
79138
  init_v3();
79039
79139
  init_encodings();
79140
+ init_http();
79040
79141
  init_matchers();
79041
79142
  init_primitives();
79042
79143
  init_schemas4();
@@ -79124,7 +79225,7 @@ async function $do104(client, request, options) {
79124
79225
  const req = requestRes.value;
79125
79226
  const doResult = await client._do(req, {
79126
79227
  context: context2,
79127
- errorCodes: ["422", "4XX", "5XX"],
79228
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79128
79229
  retryConfig: context2.retryConfig,
79129
79230
  retryCodes: context2.retryCodes
79130
79231
  });
@@ -79143,6 +79244,7 @@ async function $do104(client, request, options) {
79143
79244
  }
79144
79245
  var init_outboundCampaignsGetById = __esm(() => {
79145
79246
  init_encodings();
79247
+ init_http();
79146
79248
  init_matchers();
79147
79249
  init_primitives();
79148
79250
  init_schemas4();
@@ -79237,7 +79339,7 @@ async function $do105(client, request, options) {
79237
79339
  const req = requestRes.value;
79238
79340
  const doResult = await client._do(req, {
79239
79341
  context: context2,
79240
- errorCodes: ["422", "4XX", "5XX"],
79342
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79241
79343
  retryConfig: context2.retryConfig,
79242
79344
  retryCodes: context2.retryCodes
79243
79345
  });
@@ -79256,6 +79358,7 @@ async function $do105(client, request, options) {
79256
79358
  }
79257
79359
  var init_outboundCampaignsList = __esm(() => {
79258
79360
  init_encodings();
79361
+ init_http();
79259
79362
  init_matchers();
79260
79363
  init_primitives();
79261
79364
  init_schemas4();
@@ -79347,7 +79450,7 @@ async function $do106(client, request, options) {
79347
79450
  const req = requestRes.value;
79348
79451
  const doResult = await client._do(req, {
79349
79452
  context: context2,
79350
- errorCodes: ["422", "4XX", "5XX"],
79453
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79351
79454
  retryConfig: context2.retryConfig,
79352
79455
  retryCodes: context2.retryCodes
79353
79456
  });
@@ -79366,6 +79469,7 @@ async function $do106(client, request, options) {
79366
79469
  }
79367
79470
  var init_outboundCampaignsUpdate = __esm(() => {
79368
79471
  init_encodings();
79472
+ init_http();
79369
79473
  init_matchers();
79370
79474
  init_primitives();
79371
79475
  init_schemas4();
@@ -79441,7 +79545,7 @@ async function $do107(client, options) {
79441
79545
  const req = requestRes.value;
79442
79546
  const doResult = await client._do(req, {
79443
79547
  context: context2,
79444
- errorCodes: ["4XX", "5XX"],
79548
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79445
79549
  retryConfig: context2.retryConfig,
79446
79550
  retryCodes: context2.retryCodes
79447
79551
  });
@@ -79457,6 +79561,7 @@ async function $do107(client, options) {
79457
79561
  }
79458
79562
  var init_permissionsList = __esm(() => {
79459
79563
  init_v3();
79564
+ init_http();
79460
79565
  init_matchers();
79461
79566
  init_primitives();
79462
79567
  init_security();
@@ -79534,7 +79639,7 @@ async function $do108(client, request, options) {
79534
79639
  const req = requestRes.value;
79535
79640
  const doResult = await client._do(req, {
79536
79641
  context: context2,
79537
- errorCodes: ["422", "4XX", "5XX"],
79642
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79538
79643
  retryConfig: context2.retryConfig,
79539
79644
  retryCodes: context2.retryCodes
79540
79645
  });
@@ -79553,6 +79658,7 @@ async function $do108(client, request, options) {
79553
79658
  }
79554
79659
  var init_promptsCreate = __esm(() => {
79555
79660
  init_encodings();
79661
+ init_http();
79556
79662
  init_matchers();
79557
79663
  init_primitives();
79558
79664
  init_schemas4();
@@ -79646,7 +79752,7 @@ async function $do109(client, request, options) {
79646
79752
  const req = requestRes.value;
79647
79753
  const doResult = await client._do(req, {
79648
79754
  context: context2,
79649
- errorCodes: ["422", "4XX", "5XX"],
79755
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79650
79756
  retryConfig: context2.retryConfig,
79651
79757
  retryCodes: context2.retryCodes
79652
79758
  });
@@ -79666,6 +79772,7 @@ async function $do109(client, request, options) {
79666
79772
  var init_promptsDelete = __esm(() => {
79667
79773
  init_v3();
79668
79774
  init_encodings();
79775
+ init_http();
79669
79776
  init_matchers();
79670
79777
  init_primitives();
79671
79778
  init_schemas4();
@@ -79755,7 +79862,7 @@ async function $do110(client, request, options) {
79755
79862
  const req = requestRes.value;
79756
79863
  const doResult = await client._do(req, {
79757
79864
  context: context2,
79758
- errorCodes: ["422", "4XX", "5XX"],
79865
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79759
79866
  retryConfig: context2.retryConfig,
79760
79867
  retryCodes: context2.retryCodes
79761
79868
  });
@@ -79774,6 +79881,7 @@ async function $do110(client, request, options) {
79774
79881
  }
79775
79882
  var init_promptsGetById = __esm(() => {
79776
79883
  init_encodings();
79884
+ init_http();
79777
79885
  init_matchers();
79778
79886
  init_primitives();
79779
79887
  init_schemas4();
@@ -79870,7 +79978,7 @@ async function $do111(client, request, options) {
79870
79978
  const req = requestRes.value;
79871
79979
  const doResult = await client._do(req, {
79872
79980
  context: context2,
79873
- errorCodes: ["422", "4XX", "5XX"],
79981
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79874
79982
  retryConfig: context2.retryConfig,
79875
79983
  retryCodes: context2.retryCodes
79876
79984
  });
@@ -79889,6 +79997,7 @@ async function $do111(client, request, options) {
79889
79997
  }
79890
79998
  var init_promptsList = __esm(() => {
79891
79999
  init_encodings();
80000
+ init_http();
79892
80001
  init_matchers();
79893
80002
  init_primitives();
79894
80003
  init_schemas4();
@@ -79966,7 +80075,7 @@ async function $do112(client, options) {
79966
80075
  const req = requestRes.value;
79967
80076
  const doResult = await client._do(req, {
79968
80077
  context: context2,
79969
- errorCodes: ["4XX", "5XX"],
80078
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
79970
80079
  retryConfig: context2.retryConfig,
79971
80080
  retryCodes: context2.retryCodes
79972
80081
  });
@@ -79982,6 +80091,7 @@ async function $do112(client, options) {
79982
80091
  }
79983
80092
  var init_promptsPromptGetSupportedLlms = __esm(() => {
79984
80093
  init_v3();
80094
+ init_http();
79985
80095
  init_matchers();
79986
80096
  init_primitives();
79987
80097
  init_security();
@@ -80064,7 +80174,7 @@ async function $do113(client, request, options) {
80064
80174
  const req = requestRes.value;
80065
80175
  const doResult = await client._do(req, {
80066
80176
  context: context2,
80067
- errorCodes: ["422", "4XX", "5XX"],
80177
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80068
80178
  retryConfig: context2.retryConfig,
80069
80179
  retryCodes: context2.retryCodes
80070
80180
  });
@@ -80084,6 +80194,7 @@ async function $do113(client, request, options) {
80084
80194
  var init_promptsPromptsHistory = __esm(() => {
80085
80195
  init_v3();
80086
80196
  init_encodings();
80197
+ init_http();
80087
80198
  init_matchers();
80088
80199
  init_primitives();
80089
80200
  init_schemas4();
@@ -80169,7 +80280,7 @@ async function $do114(client, request, options) {
80169
80280
  const req = requestRes.value;
80170
80281
  const doResult = await client._do(req, {
80171
80282
  context: context2,
80172
- errorCodes: ["422", "4XX", "5XX"],
80283
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80173
80284
  retryConfig: context2.retryConfig,
80174
80285
  retryCodes: context2.retryCodes
80175
80286
  });
@@ -80188,6 +80299,7 @@ async function $do114(client, request, options) {
80188
80299
  }
80189
80300
  var init_promptsUpdate = __esm(() => {
80190
80301
  init_encodings();
80302
+ init_http();
80191
80303
  init_matchers();
80192
80304
  init_primitives();
80193
80305
  init_schemas4();
@@ -80264,7 +80376,7 @@ async function $do115(client, options) {
80264
80376
  const req = requestRes.value;
80265
80377
  const doResult = await client._do(req, {
80266
80378
  context: context2,
80267
- errorCodes: ["4XX", "5XX"],
80379
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80268
80380
  retryConfig: context2.retryConfig,
80269
80381
  retryCodes: context2.retryCodes
80270
80382
  });
@@ -80280,6 +80392,7 @@ async function $do115(client, options) {
80280
80392
  }
80281
80393
  var init_pronunciationsPronunciationsDeleteCsv = __esm(() => {
80282
80394
  init_v3();
80395
+ init_http();
80283
80396
  init_matchers();
80284
80397
  init_primitives();
80285
80398
  init_security();
@@ -80345,7 +80458,7 @@ async function $do116(client, options) {
80345
80458
  const req = requestRes.value;
80346
80459
  const doResult = await client._do(req, {
80347
80460
  context: context2,
80348
- errorCodes: ["4XX", "5XX"],
80461
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80349
80462
  retryConfig: context2.retryConfig,
80350
80463
  retryCodes: context2.retryCodes
80351
80464
  });
@@ -80363,6 +80476,7 @@ async function $do116(client, options) {
80363
80476
  }
80364
80477
  var init_pronunciationsPronunciationsDownloadCsv = __esm(() => {
80365
80478
  init_v3();
80479
+ init_http();
80366
80480
  init_matchers();
80367
80481
  init_primitives();
80368
80482
  init_security();
@@ -80429,7 +80543,7 @@ async function $do117(client, options) {
80429
80543
  const req = requestRes.value;
80430
80544
  const doResult = await client._do(req, {
80431
80545
  context: context2,
80432
- errorCodes: ["4XX", "5XX"],
80546
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80433
80547
  retryConfig: context2.retryConfig,
80434
80548
  retryCodes: context2.retryCodes
80435
80549
  });
@@ -80444,6 +80558,7 @@ async function $do117(client, options) {
80444
80558
  return [result, { status: "complete", request: req, response }];
80445
80559
  }
80446
80560
  var init_pronunciationsPronunciationsGet = __esm(() => {
80561
+ init_http();
80447
80562
  init_matchers();
80448
80563
  init_primitives();
80449
80564
  init_security();
@@ -80511,7 +80626,7 @@ async function $do118(client, options) {
80511
80626
  const req = requestRes.value;
80512
80627
  const doResult = await client._do(req, {
80513
80628
  context: context2,
80514
- errorCodes: ["4XX", "5XX"],
80629
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80515
80630
  retryConfig: context2.retryConfig,
80516
80631
  retryCodes: context2.retryCodes
80517
80632
  });
@@ -80526,6 +80641,7 @@ async function $do118(client, options) {
80526
80641
  return [result, { status: "complete", request: req, response }];
80527
80642
  }
80528
80643
  var init_pronunciationsPronunciationsGetMetadata = __esm(() => {
80644
+ init_http();
80529
80645
  init_matchers();
80530
80646
  init_primitives();
80531
80647
  init_security();
@@ -80613,7 +80729,7 @@ async function $do119(client, request, options) {
80613
80729
  const req = requestRes.value;
80614
80730
  const doResult = await client._do(req, {
80615
80731
  context: context2,
80616
- errorCodes: ["422", "4XX", "5XX"],
80732
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80617
80733
  retryConfig: context2.retryConfig,
80618
80734
  retryCodes: context2.retryCodes
80619
80735
  });
@@ -80632,6 +80748,7 @@ async function $do119(client, request, options) {
80632
80748
  }
80633
80749
  var init_pronunciationsPronunciationsUploadCsv = __esm(() => {
80634
80750
  init_encodings();
80751
+ init_http();
80635
80752
  init_matchers();
80636
80753
  init_primitives();
80637
80754
  init_schemas4();
@@ -80715,7 +80832,7 @@ async function $do120(client, request, options) {
80715
80832
  const req = requestRes.value;
80716
80833
  const doResult = await client._do(req, {
80717
80834
  context: context2,
80718
- errorCodes: ["422", "4XX", "5XX"],
80835
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80719
80836
  retryConfig: context2.retryConfig,
80720
80837
  retryCodes: context2.retryCodes
80721
80838
  });
@@ -80734,6 +80851,7 @@ async function $do120(client, request, options) {
80734
80851
  }
80735
80852
  var init_rolesCreate = __esm(() => {
80736
80853
  init_encodings();
80854
+ init_http();
80737
80855
  init_matchers();
80738
80856
  init_primitives();
80739
80857
  init_schemas4();
@@ -80828,7 +80946,7 @@ async function $do121(client, request, options) {
80828
80946
  const req = requestRes.value;
80829
80947
  const doResult = await client._do(req, {
80830
80948
  context: context2,
80831
- errorCodes: ["422", "4XX", "5XX"],
80949
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80832
80950
  retryConfig: context2.retryConfig,
80833
80951
  retryCodes: context2.retryCodes
80834
80952
  });
@@ -80848,6 +80966,7 @@ async function $do121(client, request, options) {
80848
80966
  var init_rolesDelete = __esm(() => {
80849
80967
  init_v3();
80850
80968
  init_encodings();
80969
+ init_http();
80851
80970
  init_matchers();
80852
80971
  init_primitives();
80853
80972
  init_schemas4();
@@ -80937,7 +81056,7 @@ async function $do122(client, request, options) {
80937
81056
  const req = requestRes.value;
80938
81057
  const doResult = await client._do(req, {
80939
81058
  context: context2,
80940
- errorCodes: ["422", "4XX", "5XX"],
81059
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
80941
81060
  retryConfig: context2.retryConfig,
80942
81061
  retryCodes: context2.retryCodes
80943
81062
  });
@@ -80956,6 +81075,7 @@ async function $do122(client, request, options) {
80956
81075
  }
80957
81076
  var init_rolesGetById = __esm(() => {
80958
81077
  init_encodings();
81078
+ init_http();
80959
81079
  init_matchers();
80960
81080
  init_primitives();
80961
81081
  init_schemas4();
@@ -81052,7 +81172,7 @@ async function $do123(client, request, options) {
81052
81172
  const req = requestRes.value;
81053
81173
  const doResult = await client._do(req, {
81054
81174
  context: context2,
81055
- errorCodes: ["422", "4XX", "5XX"],
81175
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81056
81176
  retryConfig: context2.retryConfig,
81057
81177
  retryCodes: context2.retryCodes
81058
81178
  });
@@ -81071,6 +81191,7 @@ async function $do123(client, request, options) {
81071
81191
  }
81072
81192
  var init_rolesList = __esm(() => {
81073
81193
  init_encodings();
81194
+ init_http();
81074
81195
  init_matchers();
81075
81196
  init_primitives();
81076
81197
  init_schemas4();
@@ -81156,7 +81277,7 @@ async function $do124(client, request, options) {
81156
81277
  const req = requestRes.value;
81157
81278
  const doResult = await client._do(req, {
81158
81279
  context: context2,
81159
- errorCodes: ["422", "4XX", "5XX"],
81280
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81160
81281
  retryConfig: context2.retryConfig,
81161
81282
  retryCodes: context2.retryCodes
81162
81283
  });
@@ -81175,6 +81296,7 @@ async function $do124(client, request, options) {
81175
81296
  }
81176
81297
  var init_rolesUpdate = __esm(() => {
81177
81298
  init_encodings();
81299
+ init_http();
81178
81300
  init_matchers();
81179
81301
  init_primitives();
81180
81302
  init_schemas4();
@@ -81259,7 +81381,7 @@ async function $do125(client, request, options) {
81259
81381
  const req = requestRes.value;
81260
81382
  const doResult = await client._do(req, {
81261
81383
  context: context2,
81262
- errorCodes: ["422", "4XX", "5XX"],
81384
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81263
81385
  retryConfig: context2.retryConfig,
81264
81386
  retryCodes: context2.retryCodes
81265
81387
  });
@@ -81278,6 +81400,7 @@ async function $do125(client, request, options) {
81278
81400
  }
81279
81401
  var init_servicesCreate = __esm(() => {
81280
81402
  init_encodings();
81403
+ init_http();
81281
81404
  init_matchers();
81282
81405
  init_primitives();
81283
81406
  init_schemas4();
@@ -81371,7 +81494,7 @@ async function $do126(client, request, options) {
81371
81494
  const req = requestRes.value;
81372
81495
  const doResult = await client._do(req, {
81373
81496
  context: context2,
81374
- errorCodes: ["422", "4XX", "5XX"],
81497
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81375
81498
  retryConfig: context2.retryConfig,
81376
81499
  retryCodes: context2.retryCodes
81377
81500
  });
@@ -81391,6 +81514,7 @@ async function $do126(client, request, options) {
81391
81514
  var init_servicesDelete = __esm(() => {
81392
81515
  init_v3();
81393
81516
  init_encodings();
81517
+ init_http();
81394
81518
  init_matchers();
81395
81519
  init_primitives();
81396
81520
  init_schemas4();
@@ -81480,7 +81604,7 @@ async function $do127(client, request, options) {
81480
81604
  const req = requestRes.value;
81481
81605
  const doResult = await client._do(req, {
81482
81606
  context: context2,
81483
- errorCodes: ["422", "4XX", "5XX"],
81607
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81484
81608
  retryConfig: context2.retryConfig,
81485
81609
  retryCodes: context2.retryCodes
81486
81610
  });
@@ -81499,6 +81623,7 @@ async function $do127(client, request, options) {
81499
81623
  }
81500
81624
  var init_servicesGetById = __esm(() => {
81501
81625
  init_encodings();
81626
+ init_http();
81502
81627
  init_matchers();
81503
81628
  init_primitives();
81504
81629
  init_schemas4();
@@ -81595,7 +81720,7 @@ async function $do128(client, request, options) {
81595
81720
  const req = requestRes.value;
81596
81721
  const doResult = await client._do(req, {
81597
81722
  context: context2,
81598
- errorCodes: ["422", "4XX", "5XX"],
81723
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81599
81724
  retryConfig: context2.retryConfig,
81600
81725
  retryCodes: context2.retryCodes
81601
81726
  });
@@ -81614,6 +81739,7 @@ async function $do128(client, request, options) {
81614
81739
  }
81615
81740
  var init_servicesList = __esm(() => {
81616
81741
  init_encodings();
81742
+ init_http();
81617
81743
  init_matchers();
81618
81744
  init_primitives();
81619
81745
  init_schemas4();
@@ -81699,7 +81825,7 @@ async function $do129(client, request, options) {
81699
81825
  const req = requestRes.value;
81700
81826
  const doResult = await client._do(req, {
81701
81827
  context: context2,
81702
- errorCodes: ["422", "4XX", "5XX"],
81828
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81703
81829
  retryConfig: context2.retryConfig,
81704
81830
  retryCodes: context2.retryCodes
81705
81831
  });
@@ -81718,6 +81844,7 @@ async function $do129(client, request, options) {
81718
81844
  }
81719
81845
  var init_servicesUpdate = __esm(() => {
81720
81846
  init_encodings();
81847
+ init_http();
81721
81848
  init_matchers();
81722
81849
  init_primitives();
81723
81850
  init_schemas4();
@@ -81807,7 +81934,7 @@ async function $do130(client, request, options) {
81807
81934
  const req = requestRes.value;
81808
81935
  const doResult = await client._do(req, {
81809
81936
  context: context2,
81810
- errorCodes: ["422", "4XX", "5XX"],
81937
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81811
81938
  retryConfig: context2.retryConfig,
81812
81939
  retryCodes: context2.retryCodes
81813
81940
  });
@@ -81826,6 +81953,7 @@ async function $do130(client, request, options) {
81826
81953
  }
81827
81954
  var init_sessionDebugGetSessionDataBySessionId = __esm(() => {
81828
81955
  init_encodings();
81956
+ init_http();
81829
81957
  init_matchers();
81830
81958
  init_primitives();
81831
81959
  init_schemas4();
@@ -81912,7 +82040,7 @@ async function $do131(client, request, options) {
81912
82040
  const req = requestRes.value;
81913
82041
  const doResult = await client._do(req, {
81914
82042
  context: context2,
81915
- errorCodes: ["422", "4XX", "5XX"],
82043
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
81916
82044
  retryConfig: context2.retryConfig,
81917
82045
  retryCodes: context2.retryCodes
81918
82046
  });
@@ -81931,6 +82059,7 @@ async function $do131(client, request, options) {
81931
82059
  }
81932
82060
  var init_sessionDebugGetSessionDataBySid = __esm(() => {
81933
82061
  init_encodings();
82062
+ init_http();
81934
82063
  init_matchers();
81935
82064
  init_primitives();
81936
82065
  init_schemas4();
@@ -82023,7 +82152,7 @@ async function $do132(client, request, options) {
82023
82152
  const req = requestRes.value;
82024
82153
  const doResult = await client._do(req, {
82025
82154
  context: context2,
82026
- errorCodes: ["422", "4XX", "5XX"],
82155
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82027
82156
  retryConfig: context2.retryConfig,
82028
82157
  retryCodes: context2.retryCodes
82029
82158
  });
@@ -82042,6 +82171,7 @@ async function $do132(client, request, options) {
82042
82171
  }
82043
82172
  var init_sessionDebugGetSessionToolCallResultById = __esm(() => {
82044
82173
  init_encodings();
82174
+ init_http();
82045
82175
  init_matchers();
82046
82176
  init_primitives();
82047
82177
  init_schemas4();
@@ -82125,7 +82255,7 @@ async function $do133(client, request, options) {
82125
82255
  const req = requestRes.value;
82126
82256
  const doResult = await client._do(req, {
82127
82257
  context: context2,
82128
- errorCodes: ["422", "4XX", "5XX"],
82258
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82129
82259
  retryConfig: context2.retryConfig,
82130
82260
  retryCodes: context2.retryCodes
82131
82261
  });
@@ -82144,6 +82274,7 @@ async function $do133(client, request, options) {
82144
82274
  }
82145
82275
  var init_sessionLabelsCreate = __esm(() => {
82146
82276
  init_encodings();
82277
+ init_http();
82147
82278
  init_matchers();
82148
82279
  init_primitives();
82149
82280
  init_schemas4();
@@ -82230,7 +82361,7 @@ async function $do134(client, request, options) {
82230
82361
  const req = requestRes.value;
82231
82362
  const doResult = await client._do(req, {
82232
82363
  context: context2,
82233
- errorCodes: ["422", "4XX", "5XX"],
82364
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82234
82365
  retryConfig: context2.retryConfig,
82235
82366
  retryCodes: context2.retryCodes
82236
82367
  });
@@ -82249,6 +82380,7 @@ async function $do134(client, request, options) {
82249
82380
  }
82250
82381
  var init_sessionLabelsGetById = __esm(() => {
82251
82382
  init_encodings();
82383
+ init_http();
82252
82384
  init_matchers();
82253
82385
  init_primitives();
82254
82386
  init_schemas4();
@@ -82343,7 +82475,7 @@ async function $do135(client, request, options) {
82343
82475
  const req = requestRes.value;
82344
82476
  const doResult = await client._do(req, {
82345
82477
  context: context2,
82346
- errorCodes: ["422", "4XX", "5XX"],
82478
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82347
82479
  retryConfig: context2.retryConfig,
82348
82480
  retryCodes: context2.retryCodes
82349
82481
  });
@@ -82362,6 +82494,7 @@ async function $do135(client, request, options) {
82362
82494
  }
82363
82495
  var init_sessionLabelsList = __esm(() => {
82364
82496
  init_encodings();
82497
+ init_http();
82365
82498
  init_matchers();
82366
82499
  init_primitives();
82367
82500
  init_schemas4();
@@ -82450,7 +82583,7 @@ async function $do136(client, request, options) {
82450
82583
  const req = requestRes.value;
82451
82584
  const doResult = await client._do(req, {
82452
82585
  context: context2,
82453
- errorCodes: ["422", "4XX", "5XX"],
82586
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82454
82587
  retryConfig: context2.retryConfig,
82455
82588
  retryCodes: context2.retryCodes
82456
82589
  });
@@ -82469,6 +82602,7 @@ async function $do136(client, request, options) {
82469
82602
  }
82470
82603
  var init_sessionsFullSummaryGetById = __esm(() => {
82471
82604
  init_encodings();
82605
+ init_http();
82472
82606
  init_matchers();
82473
82607
  init_primitives();
82474
82608
  init_schemas4();
@@ -82557,7 +82691,7 @@ async function $do137(client, request, options) {
82557
82691
  const req = requestRes.value;
82558
82692
  const doResult = await client._do(req, {
82559
82693
  context: context2,
82560
- errorCodes: ["422", "4XX", "5XX"],
82694
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82561
82695
  retryConfig: context2.retryConfig,
82562
82696
  retryCodes: context2.retryCodes
82563
82697
  });
@@ -82576,6 +82710,7 @@ async function $do137(client, request, options) {
82576
82710
  }
82577
82711
  var init_sessionsGenerateSessionRecordingUrls = __esm(() => {
82578
82712
  init_encodings();
82713
+ init_http();
82579
82714
  init_matchers();
82580
82715
  init_primitives();
82581
82716
  init_schemas4();
@@ -82664,7 +82799,7 @@ async function $do138(client, request, options) {
82664
82799
  const req = requestRes.value;
82665
82800
  const doResult = await client._do(req, {
82666
82801
  context: context2,
82667
- errorCodes: ["422", "4XX", "5XX"],
82802
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82668
82803
  retryConfig: context2.retryConfig,
82669
82804
  retryCodes: context2.retryCodes
82670
82805
  });
@@ -82683,6 +82818,7 @@ async function $do138(client, request, options) {
82683
82818
  }
82684
82819
  var init_sessionsGetById = __esm(() => {
82685
82820
  init_encodings();
82821
+ init_http();
82686
82822
  init_matchers();
82687
82823
  init_primitives();
82688
82824
  init_schemas4();
@@ -82771,7 +82907,7 @@ async function $do139(client, request, options) {
82771
82907
  const req = requestRes.value;
82772
82908
  const doResult = await client._do(req, {
82773
82909
  context: context2,
82774
- errorCodes: ["422", "4XX", "5XX"],
82910
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82775
82911
  retryConfig: context2.retryConfig,
82776
82912
  retryCodes: context2.retryCodes
82777
82913
  });
@@ -82790,6 +82926,7 @@ async function $do139(client, request, options) {
82790
82926
  }
82791
82927
  var init_sessionsLatencyGetById = __esm(() => {
82792
82928
  init_encodings();
82929
+ init_http();
82793
82930
  init_matchers();
82794
82931
  init_primitives();
82795
82932
  init_schemas4();
@@ -82884,7 +83021,7 @@ async function $do140(client, request, options) {
82884
83021
  const req = requestRes.value;
82885
83022
  const doResult = await client._do(req, {
82886
83023
  context: context2,
82887
- errorCodes: ["422", "4XX", "5XX"],
83024
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82888
83025
  retryConfig: context2.retryConfig,
82889
83026
  retryCodes: context2.retryCodes
82890
83027
  });
@@ -82903,6 +83040,7 @@ async function $do140(client, request, options) {
82903
83040
  }
82904
83041
  var init_sessionsList = __esm(() => {
82905
83042
  init_encodings();
83043
+ init_http();
82906
83044
  init_matchers();
82907
83045
  init_primitives();
82908
83046
  init_schemas4();
@@ -82989,7 +83127,7 @@ async function $do141(client, request, options) {
82989
83127
  const req = requestRes.value;
82990
83128
  const doResult = await client._do(req, {
82991
83129
  context: context2,
82992
- errorCodes: ["422", "4XX", "5XX"],
83130
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
82993
83131
  retryConfig: context2.retryConfig,
82994
83132
  retryCodes: context2.retryCodes
82995
83133
  });
@@ -83009,6 +83147,7 @@ async function $do141(client, request, options) {
83009
83147
  var init_sessionsSessionRecordingStream = __esm(() => {
83010
83148
  init_v3();
83011
83149
  init_encodings();
83150
+ init_http();
83012
83151
  init_matchers();
83013
83152
  init_primitives();
83014
83153
  init_schemas4();
@@ -83096,7 +83235,7 @@ async function $do142(client, request, options) {
83096
83235
  const req = requestRes.value;
83097
83236
  const doResult = await client._do(req, {
83098
83237
  context: context2,
83099
- errorCodes: ["422", "4XX", "5XX"],
83238
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83100
83239
  retryConfig: context2.retryConfig,
83101
83240
  retryCodes: context2.retryCodes
83102
83241
  });
@@ -83115,6 +83254,7 @@ async function $do142(client, request, options) {
83115
83254
  }
83116
83255
  var init_sessionsTranscriptGetById = __esm(() => {
83117
83256
  init_encodings();
83257
+ init_http();
83118
83258
  init_matchers();
83119
83259
  init_primitives();
83120
83260
  init_schemas4();
@@ -83190,7 +83330,7 @@ async function $do143(client, options) {
83190
83330
  const req = requestRes.value;
83191
83331
  const doResult = await client._do(req, {
83192
83332
  context: context2,
83193
- errorCodes: ["4XX", "5XX"],
83333
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83194
83334
  retryConfig: context2.retryConfig,
83195
83335
  retryCodes: context2.retryCodes
83196
83336
  });
@@ -83205,6 +83345,7 @@ async function $do143(client, options) {
83205
83345
  return [result, { status: "complete", request: req, response }];
83206
83346
  }
83207
83347
  var init_takeoutsCreate = __esm(() => {
83348
+ init_http();
83208
83349
  init_matchers();
83209
83350
  init_primitives();
83210
83351
  init_security();
@@ -83285,7 +83426,7 @@ async function $do144(client, request, options) {
83285
83426
  const req = requestRes.value;
83286
83427
  const doResult = await client._do(req, {
83287
83428
  context: context2,
83288
- errorCodes: ["422", "4XX", "5XX"],
83429
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83289
83430
  retryConfig: context2.retryConfig,
83290
83431
  retryCodes: context2.retryCodes
83291
83432
  });
@@ -83304,6 +83445,7 @@ async function $do144(client, request, options) {
83304
83445
  }
83305
83446
  var init_takeoutsTakeoutsGetByJobId = __esm(() => {
83306
83447
  init_encodings();
83448
+ init_http();
83307
83449
  init_matchers();
83308
83450
  init_primitives();
83309
83451
  init_schemas4();
@@ -83396,7 +83538,7 @@ async function $do145(client, request, options) {
83396
83538
  const req = requestRes.value;
83397
83539
  const doResult = await client._do(req, {
83398
83540
  context: context2,
83399
- errorCodes: ["422", "4XX", "5XX"],
83541
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83400
83542
  retryConfig: context2.retryConfig,
83401
83543
  retryCodes: context2.retryCodes
83402
83544
  });
@@ -83418,6 +83560,7 @@ async function $do145(client, request, options) {
83418
83560
  var init_takeoutsTakeoutsGetFile = __esm(() => {
83419
83561
  init_v3();
83420
83562
  init_encodings();
83563
+ init_http();
83421
83564
  init_matchers();
83422
83565
  init_primitives();
83423
83566
  init_schemas4();
@@ -83500,7 +83643,7 @@ async function $do146(client, request, options) {
83500
83643
  const req = requestRes.value;
83501
83644
  const doResult = await client._do(req, {
83502
83645
  context: context2,
83503
- errorCodes: ["422", "4XX", "5XX"],
83646
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83504
83647
  retryConfig: context2.retryConfig,
83505
83648
  retryCodes: context2.retryCodes
83506
83649
  });
@@ -83519,6 +83662,7 @@ async function $do146(client, request, options) {
83519
83662
  }
83520
83663
  var init_toolsCreate = __esm(() => {
83521
83664
  init_encodings();
83665
+ init_http();
83522
83666
  init_matchers();
83523
83667
  init_primitives();
83524
83668
  init_schemas4();
@@ -83612,7 +83756,7 @@ async function $do147(client, request, options) {
83612
83756
  const req = requestRes.value;
83613
83757
  const doResult = await client._do(req, {
83614
83758
  context: context2,
83615
- errorCodes: ["422", "4XX", "5XX"],
83759
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83616
83760
  retryConfig: context2.retryConfig,
83617
83761
  retryCodes: context2.retryCodes
83618
83762
  });
@@ -83632,6 +83776,7 @@ async function $do147(client, request, options) {
83632
83776
  var init_toolsDelete = __esm(() => {
83633
83777
  init_v3();
83634
83778
  init_encodings();
83779
+ init_http();
83635
83780
  init_matchers();
83636
83781
  init_primitives();
83637
83782
  init_schemas4();
@@ -83721,7 +83866,7 @@ async function $do148(client, request, options) {
83721
83866
  const req = requestRes.value;
83722
83867
  const doResult = await client._do(req, {
83723
83868
  context: context2,
83724
- errorCodes: ["422", "4XX", "5XX"],
83869
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83725
83870
  retryConfig: context2.retryConfig,
83726
83871
  retryCodes: context2.retryCodes
83727
83872
  });
@@ -83740,6 +83885,7 @@ async function $do148(client, request, options) {
83740
83885
  }
83741
83886
  var init_toolsGetByName = __esm(() => {
83742
83887
  init_encodings();
83888
+ init_http();
83743
83889
  init_matchers();
83744
83890
  init_primitives();
83745
83891
  init_schemas4();
@@ -83836,7 +83982,7 @@ async function $do149(client, request, options) {
83836
83982
  const req = requestRes.value;
83837
83983
  const doResult = await client._do(req, {
83838
83984
  context: context2,
83839
- errorCodes: ["422", "4XX", "5XX"],
83985
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83840
83986
  retryConfig: context2.retryConfig,
83841
83987
  retryCodes: context2.retryCodes
83842
83988
  });
@@ -83855,6 +84001,7 @@ async function $do149(client, request, options) {
83855
84001
  }
83856
84002
  var init_toolsList = __esm(() => {
83857
84003
  init_encodings();
84004
+ init_http();
83858
84005
  init_matchers();
83859
84006
  init_primitives();
83860
84007
  init_schemas4();
@@ -83940,7 +84087,7 @@ async function $do150(client, request, options) {
83940
84087
  const req = requestRes.value;
83941
84088
  const doResult = await client._do(req, {
83942
84089
  context: context2,
83943
- errorCodes: ["422", "4XX", "5XX"],
84090
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
83944
84091
  retryConfig: context2.retryConfig,
83945
84092
  retryCodes: context2.retryCodes
83946
84093
  });
@@ -83959,6 +84106,7 @@ async function $do150(client, request, options) {
83959
84106
  }
83960
84107
  var init_toolsUpdate = __esm(() => {
83961
84108
  init_encodings();
84109
+ init_http();
83962
84110
  init_matchers();
83963
84111
  init_primitives();
83964
84112
  init_schemas4();
@@ -84043,7 +84191,7 @@ async function $do151(client, request, options) {
84043
84191
  const req = requestRes.value;
84044
84192
  const doResult = await client._do(req, {
84045
84193
  context: context2,
84046
- errorCodes: ["422", "4XX", "5XX"],
84194
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84047
84195
  retryConfig: context2.retryConfig,
84048
84196
  retryCodes: context2.retryCodes
84049
84197
  });
@@ -84062,6 +84210,7 @@ async function $do151(client, request, options) {
84062
84210
  }
84063
84211
  var init_usersCreate = __esm(() => {
84064
84212
  init_encodings();
84213
+ init_http();
84065
84214
  init_matchers();
84066
84215
  init_primitives();
84067
84216
  init_schemas4();
@@ -84146,7 +84295,7 @@ async function $do152(client, request, options) {
84146
84295
  const req = requestRes.value;
84147
84296
  const doResult = await client._do(req, {
84148
84297
  context: context2,
84149
- errorCodes: ["422", "4XX", "5XX"],
84298
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84150
84299
  retryConfig: context2.retryConfig,
84151
84300
  retryCodes: context2.retryCodes
84152
84301
  });
@@ -84166,6 +84315,7 @@ async function $do152(client, request, options) {
84166
84315
  var init_usersDelete = __esm(() => {
84167
84316
  init_v3();
84168
84317
  init_encodings();
84318
+ init_http();
84169
84319
  init_matchers();
84170
84320
  init_primitives();
84171
84321
  init_schemas4();
@@ -84261,7 +84411,7 @@ async function $do153(client, request, options) {
84261
84411
  const req = requestRes.value;
84262
84412
  const doResult = await client._do(req, {
84263
84413
  context: context2,
84264
- errorCodes: ["422", "4XX", "5XX"],
84414
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84265
84415
  retryConfig: context2.retryConfig,
84266
84416
  retryCodes: context2.retryCodes
84267
84417
  });
@@ -84280,6 +84430,7 @@ async function $do153(client, request, options) {
84280
84430
  }
84281
84431
  var init_usersList = __esm(() => {
84282
84432
  init_encodings();
84433
+ init_http();
84283
84434
  init_matchers();
84284
84435
  init_primitives();
84285
84436
  init_schemas4();
@@ -84365,7 +84516,7 @@ async function $do154(client, request, options) {
84365
84516
  const req = requestRes.value;
84366
84517
  const doResult = await client._do(req, {
84367
84518
  context: context2,
84368
- errorCodes: ["422", "4XX", "5XX"],
84519
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84369
84520
  retryConfig: context2.retryConfig,
84370
84521
  retryCodes: context2.retryCodes
84371
84522
  });
@@ -84384,6 +84535,7 @@ async function $do154(client, request, options) {
84384
84535
  }
84385
84536
  var init_usersUpdate = __esm(() => {
84386
84537
  init_encodings();
84538
+ init_http();
84387
84539
  init_matchers();
84388
84540
  init_primitives();
84389
84541
  init_schemas4();
@@ -84460,7 +84612,7 @@ async function $do155(client, options) {
84460
84612
  const req = requestRes.value;
84461
84613
  const doResult = await client._do(req, {
84462
84614
  context: context2,
84463
- errorCodes: ["4XX", "5XX"],
84615
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84464
84616
  retryConfig: context2.retryConfig,
84465
84617
  retryCodes: context2.retryCodes
84466
84618
  });
@@ -84476,6 +84628,7 @@ async function $do155(client, options) {
84476
84628
  }
84477
84629
  var init_usersUsersDeleteAccount = __esm(() => {
84478
84630
  init_v3();
84631
+ init_http();
84479
84632
  init_matchers();
84480
84633
  init_primitives();
84481
84634
  init_security();
@@ -84558,7 +84711,7 @@ async function $do156(client, request, options) {
84558
84711
  const req = requestRes.value;
84559
84712
  const doResult = await client._do(req, {
84560
84713
  context: context2,
84561
- errorCodes: ["422", "4XX", "5XX"],
84714
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84562
84715
  retryConfig: context2.retryConfig,
84563
84716
  retryCodes: context2.retryCodes
84564
84717
  });
@@ -84577,6 +84730,7 @@ async function $do156(client, request, options) {
84577
84730
  }
84578
84731
  var init_usersUsersGetByEmail = __esm(() => {
84579
84732
  init_encodings();
84733
+ init_http();
84580
84734
  init_matchers();
84581
84735
  init_primitives();
84582
84736
  init_schemas4();
@@ -84671,7 +84825,7 @@ async function $do157(client, request, options) {
84671
84825
  const req = requestRes.value;
84672
84826
  const doResult = await client._do(req, {
84673
84827
  context: context2,
84674
- errorCodes: ["422", "4XX", "5XX"],
84828
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84675
84829
  retryConfig: context2.retryConfig,
84676
84830
  retryCodes: context2.retryCodes
84677
84831
  });
@@ -84691,6 +84845,7 @@ async function $do157(client, request, options) {
84691
84845
  var init_usersUsersSendEmail = __esm(() => {
84692
84846
  init_v3();
84693
84847
  init_encodings();
84848
+ init_http();
84694
84849
  init_matchers();
84695
84850
  init_primitives();
84696
84851
  init_schemas4();
@@ -84775,7 +84930,7 @@ async function $do158(client, request, options) {
84775
84930
  const req = requestRes.value;
84776
84931
  const doResult = await client._do(req, {
84777
84932
  context: context2,
84778
- errorCodes: ["422", "4XX", "5XX"],
84933
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84779
84934
  retryConfig: context2.retryConfig,
84780
84935
  retryCodes: context2.retryCodes
84781
84936
  });
@@ -84794,6 +84949,7 @@ async function $do158(client, request, options) {
84794
84949
  }
84795
84950
  var init_voiceGroupsCreate = __esm(() => {
84796
84951
  init_encodings();
84952
+ init_http();
84797
84953
  init_matchers();
84798
84954
  init_primitives();
84799
84955
  init_schemas4();
@@ -84887,7 +85043,7 @@ async function $do159(client, request, options) {
84887
85043
  const req = requestRes.value;
84888
85044
  const doResult = await client._do(req, {
84889
85045
  context: context2,
84890
- errorCodes: ["422", "4XX", "5XX"],
85046
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
84891
85047
  retryConfig: context2.retryConfig,
84892
85048
  retryCodes: context2.retryCodes
84893
85049
  });
@@ -84907,6 +85063,7 @@ async function $do159(client, request, options) {
84907
85063
  var init_voiceGroupsDelete = __esm(() => {
84908
85064
  init_v3();
84909
85065
  init_encodings();
85066
+ init_http();
84910
85067
  init_matchers();
84911
85068
  init_primitives();
84912
85069
  init_schemas4();
@@ -84996,7 +85153,7 @@ async function $do160(client, request, options) {
84996
85153
  const req = requestRes.value;
84997
85154
  const doResult = await client._do(req, {
84998
85155
  context: context2,
84999
- errorCodes: ["422", "4XX", "5XX"],
85156
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
85000
85157
  retryConfig: context2.retryConfig,
85001
85158
  retryCodes: context2.retryCodes
85002
85159
  });
@@ -85015,6 +85172,7 @@ async function $do160(client, request, options) {
85015
85172
  }
85016
85173
  var init_voiceGroupsGetById = __esm(() => {
85017
85174
  init_encodings();
85175
+ init_http();
85018
85176
  init_matchers();
85019
85177
  init_primitives();
85020
85178
  init_schemas4();
@@ -85111,7 +85269,7 @@ async function $do161(client, request, options) {
85111
85269
  const req = requestRes.value;
85112
85270
  const doResult = await client._do(req, {
85113
85271
  context: context2,
85114
- errorCodes: ["422", "4XX", "5XX"],
85272
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
85115
85273
  retryConfig: context2.retryConfig,
85116
85274
  retryCodes: context2.retryCodes
85117
85275
  });
@@ -85130,6 +85288,7 @@ async function $do161(client, request, options) {
85130
85288
  }
85131
85289
  var init_voiceGroupsList = __esm(() => {
85132
85290
  init_encodings();
85291
+ init_http();
85133
85292
  init_matchers();
85134
85293
  init_primitives();
85135
85294
  init_schemas4();
@@ -85215,7 +85374,7 @@ async function $do162(client, request, options) {
85215
85374
  const req = requestRes.value;
85216
85375
  const doResult = await client._do(req, {
85217
85376
  context: context2,
85218
- errorCodes: ["422", "4XX", "5XX"],
85377
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
85219
85378
  retryConfig: context2.retryConfig,
85220
85379
  retryCodes: context2.retryCodes
85221
85380
  });
@@ -85234,6 +85393,7 @@ async function $do162(client, request, options) {
85234
85393
  }
85235
85394
  var init_voiceGroupsUpdate = __esm(() => {
85236
85395
  init_encodings();
85396
+ init_http();
85237
85397
  init_matchers();
85238
85398
  init_primitives();
85239
85399
  init_schemas4();
@@ -85318,7 +85478,7 @@ async function $do163(client, request, options) {
85318
85478
  const req = requestRes.value;
85319
85479
  const doResult = await client._do(req, {
85320
85480
  context: context2,
85321
- errorCodes: ["422", "4XX", "5XX"],
85481
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
85322
85482
  retryConfig: context2.retryConfig,
85323
85483
  retryCodes: context2.retryCodes
85324
85484
  });
@@ -85338,6 +85498,7 @@ async function $do163(client, request, options) {
85338
85498
  var init_voiceGroupsVoiceGroupsCreateVoiceSample = __esm(() => {
85339
85499
  init_v3();
85340
85500
  init_encodings();
85501
+ init_http();
85341
85502
  init_matchers();
85342
85503
  init_primitives();
85343
85504
  init_schemas4();
@@ -85381,7 +85542,7 @@ Generate voice sample.`,
85381
85542
  function createMCPServer(deps) {
85382
85543
  const server = new McpServer({
85383
85544
  name: "SyllableSDK",
85384
- version: "1.0.35"
85545
+ version: "1.0.36-rc.1"
85385
85546
  });
85386
85547
  const client = new SyllableSDKCore({
85387
85548
  apiKeyHeader: deps.apiKeyHeader,
@@ -86923,7 +87084,7 @@ var routes = ln({
86923
87084
  var app = _e(routes, {
86924
87085
  name: "mcp",
86925
87086
  versionInfo: {
86926
- currentVersion: "1.0.35"
87087
+ currentVersion: "1.0.36-rc.1"
86927
87088
  }
86928
87089
  });
86929
87090
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -86931,5 +87092,5 @@ export {
86931
87092
  app
86932
87093
  };
86933
87094
 
86934
- //# debugId=3EECB9959203A8DB64756E2164756E21
87095
+ //# debugId=7DC307A2528E2EE864756E2164756E21
86935
87096
  //# sourceMappingURL=mcp-server.js.map