@orq-ai/node 4.13.0-rc.52 → 4.13.0-rc.57

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 (536) hide show
  1. package/README.md +2 -1
  2. package/funcs/apiKeysCreate.d.ts +1 -1
  3. package/funcs/apiKeysCreate.d.ts.map +1 -1
  4. package/funcs/apiKeysCreate.js +1 -1
  5. package/funcs/apiKeysCreate.js.map +1 -1
  6. package/funcs/apiKeysDelete.d.ts +1 -2
  7. package/funcs/apiKeysDelete.d.ts.map +1 -1
  8. package/funcs/apiKeysDelete.js +3 -3
  9. package/funcs/apiKeysDelete.js.map +1 -1
  10. package/funcs/apiKeysGet.d.ts +1 -1
  11. package/funcs/apiKeysGet.d.ts.map +1 -1
  12. package/funcs/apiKeysGet.js +1 -1
  13. package/funcs/apiKeysGet.js.map +1 -1
  14. package/funcs/apiKeysList.d.ts +2 -2
  15. package/funcs/apiKeysList.d.ts.map +1 -1
  16. package/funcs/apiKeysList.js +3 -2
  17. package/funcs/apiKeysList.js.map +1 -1
  18. package/funcs/apiKeysUpdate.d.ts +1 -1
  19. package/funcs/apiKeysUpdate.d.ts.map +1 -1
  20. package/funcs/apiKeysUpdate.js +1 -1
  21. package/funcs/apiKeysUpdate.js.map +1 -1
  22. package/funcs/responsesGet.d.ts +2 -1
  23. package/funcs/responsesGet.d.ts.map +1 -1
  24. package/funcs/responsesGet.js +5 -1
  25. package/funcs/responsesGet.js.map +1 -1
  26. package/funcs/schedulesCreate.d.ts +1 -1
  27. package/funcs/schedulesCreate.js +1 -1
  28. package/funcs/smartRoutersList.js +0 -1
  29. package/funcs/smartRoutersList.js.map +1 -1
  30. package/jsr.json +1 -1
  31. package/lib/config.d.ts +2 -2
  32. package/lib/config.js +2 -2
  33. package/models/components/allprojects.d.ts +0 -5
  34. package/models/components/allprojects.d.ts.map +1 -1
  35. package/models/components/allprojects.js +1 -8
  36. package/models/components/allprojects.js.map +1 -1
  37. package/models/components/apierror.d.ts +14 -0
  38. package/models/components/apierror.d.ts.map +1 -0
  39. package/models/components/{deleteapikeyresponse.js → apierror.js} +12 -6
  40. package/models/components/apierror.js.map +1 -0
  41. package/models/components/apikeybudgetscoperestresponse.d.ts +16 -0
  42. package/models/components/apikeybudgetscoperestresponse.d.ts.map +1 -0
  43. package/models/components/{updateapikeyresponse.js → apikeybudgetscoperestresponse.js} +7 -13
  44. package/models/components/apikeybudgetscoperestresponse.js.map +1 -0
  45. package/models/components/apikeyowner.d.ts +0 -5
  46. package/models/components/apikeyowner.d.ts.map +1 -1
  47. package/models/components/apikeyowner.js +1 -15
  48. package/models/components/apikeyowner.js.map +1 -1
  49. package/models/components/apikeyrestresponse.d.ts +55 -0
  50. package/models/components/apikeyrestresponse.d.ts.map +1 -0
  51. package/models/components/apikeyrestresponse.js +96 -0
  52. package/models/components/apikeyrestresponse.js.map +1 -0
  53. package/models/components/apikeystatus.d.ts +0 -2
  54. package/models/components/apikeystatus.d.ts.map +1 -1
  55. package/models/components/apikeystatus.js +2 -4
  56. package/models/components/apikeystatus.js.map +1 -1
  57. package/models/components/budgetalertrestresponse.d.ts +31 -0
  58. package/models/components/budgetalertrestresponse.d.ts.map +1 -0
  59. package/models/components/{createapikeyresponse.js → budgetalertrestresponse.js} +11 -14
  60. package/models/components/budgetalertrestresponse.js.map +1 -0
  61. package/models/components/budgetlimitsrestresponse.d.ts +28 -0
  62. package/models/components/budgetlimitsrestresponse.d.ts.map +1 -0
  63. package/models/components/budgetlimitsrestresponse.js +53 -0
  64. package/models/components/budgetlimitsrestresponse.js.map +1 -0
  65. package/models/components/{budget.d.ts → budgetrestresponse.d.ts} +16 -16
  66. package/models/components/budgetrestresponse.d.ts.map +1 -0
  67. package/models/components/{budget.js → budgetrestresponse.js} +20 -30
  68. package/models/components/budgetrestresponse.js.map +1 -0
  69. package/models/components/budgetscoperestresponse.d.ts +59 -0
  70. package/models/components/budgetscoperestresponse.d.ts.map +1 -0
  71. package/models/components/budgetscoperestresponse.js +61 -0
  72. package/models/components/budgetscoperestresponse.js.map +1 -0
  73. package/models/components/cacheconfig.d.ts +14 -0
  74. package/models/components/cacheconfig.d.ts.map +1 -0
  75. package/models/components/{legacytokenfamily.js → cacheconfig.js} +10 -9
  76. package/models/components/cacheconfig.js.map +1 -0
  77. package/models/components/createbudgetresponse.d.ts +2 -2
  78. package/models/components/createbudgetresponse.d.ts.map +1 -1
  79. package/models/components/createbudgetresponse.js +2 -2
  80. package/models/components/createbudgetresponse.js.map +1 -1
  81. package/models/components/createwebhookrequest.d.ts +1 -1
  82. package/models/components/evaluatorresponsefunction.js +2 -2
  83. package/models/components/evaluatorresponsehttp.js +2 -2
  84. package/models/components/evaluatorresponsejsonschema.js +2 -2
  85. package/models/components/evaluatorresponsellm.js +2 -2
  86. package/models/components/evaluatorresponsepython.js +2 -2
  87. package/models/components/evaluatorresponseragas.js +2 -2
  88. package/models/components/evaluatorresponsetypescript.js +2 -2
  89. package/models/components/getbudgetresponse.d.ts +2 -2
  90. package/models/components/getbudgetresponse.d.ts.map +1 -1
  91. package/models/components/getbudgetresponse.js +2 -2
  92. package/models/components/getbudgetresponse.js.map +1 -1
  93. package/models/components/identity.d.ts +8 -8
  94. package/models/components/identity.d.ts.map +1 -1
  95. package/models/components/identity.js +12 -14
  96. package/models/components/identity.js.map +1 -1
  97. package/models/components/identitybudgetscoperestresponse.d.ts +16 -0
  98. package/models/components/identitybudgetscoperestresponse.d.ts.map +1 -0
  99. package/models/components/identitybudgetscoperestresponse.js +50 -0
  100. package/models/components/identitybudgetscoperestresponse.js.map +1 -0
  101. package/models/components/index.d.ts +16 -9
  102. package/models/components/index.d.ts.map +1 -1
  103. package/models/components/index.js +16 -9
  104. package/models/components/index.js.map +1 -1
  105. package/models/components/listbudgetsresponse.d.ts +2 -2
  106. package/models/components/listbudgetsresponse.d.ts.map +1 -1
  107. package/models/components/listbudgetsresponse.js +3 -8
  108. package/models/components/listbudgetsresponse.js.map +1 -1
  109. package/models/components/loadbalancerconfig.d.ts +15 -0
  110. package/models/components/loadbalancerconfig.d.ts.map +1 -0
  111. package/models/components/loadbalancerconfig.js +51 -0
  112. package/models/components/loadbalancerconfig.js.map +1 -0
  113. package/models/components/loadbalancermodelconfig.d.ts +14 -0
  114. package/models/components/loadbalancermodelconfig.d.ts.map +1 -0
  115. package/models/components/loadbalancermodelconfig.js +50 -0
  116. package/models/components/loadbalancermodelconfig.js.map +1 -0
  117. package/models/components/mcpaccess.d.ts +0 -5
  118. package/models/components/mcpaccess.d.ts.map +1 -1
  119. package/models/components/mcpaccess.js +1 -18
  120. package/models/components/mcpaccess.js.map +1 -1
  121. package/models/components/modelbudgetscope.d.ts +2 -2
  122. package/models/components/modelbudgetscope.d.ts.map +1 -1
  123. package/models/components/modelbudgetscope.js +2 -2
  124. package/models/components/modelbudgetscope.js.map +1 -1
  125. package/models/components/modelbudgetscoperestresponse.d.ts +17 -0
  126. package/models/components/modelbudgetscoperestresponse.d.ts.map +1 -0
  127. package/models/components/modelbudgetscoperestresponse.js +50 -0
  128. package/models/components/modelbudgetscoperestresponse.js.map +1 -0
  129. package/models/components/permissionmode.d.ts +0 -2
  130. package/models/components/permissionmode.d.ts.map +1 -1
  131. package/models/components/permissionmode.js +2 -4
  132. package/models/components/permissionmode.js.map +1 -1
  133. package/models/components/projectbudgetscoperestresponse.d.ts +13 -0
  134. package/models/components/projectbudgetscoperestresponse.d.ts.map +1 -0
  135. package/models/components/projectbudgetscoperestresponse.js +50 -0
  136. package/models/components/projectbudgetscoperestresponse.js.map +1 -0
  137. package/models/components/projectscope.d.ts +0 -5
  138. package/models/components/projectscope.d.ts.map +1 -1
  139. package/models/components/projectscope.js +1 -11
  140. package/models/components/projectscope.js.map +1 -1
  141. package/models/components/publicschedule.d.ts +13 -5
  142. package/models/components/publicschedule.d.ts.map +1 -1
  143. package/models/components/publicschedule.js +5 -1
  144. package/models/components/publicschedule.js.map +1 -1
  145. package/models/components/publicschedulepayload.d.ts +3 -3
  146. package/models/components/publicschedulepayload.d.ts.map +1 -1
  147. package/models/components/publicschedulepayload.js +2 -2
  148. package/models/components/publicschedulepayload.js.map +1 -1
  149. package/models/components/ratelimitrestresponse.d.ts +16 -0
  150. package/models/components/ratelimitrestresponse.d.ts.map +1 -0
  151. package/models/components/{smartroutermetrics.js → ratelimitrestresponse.js} +7 -9
  152. package/models/components/ratelimitrestresponse.js.map +1 -0
  153. package/models/components/reasoningpart.js +1 -1
  154. package/models/components/resetbudgetconsumptionresponse.d.ts +2 -2
  155. package/models/components/resetbudgetconsumptionresponse.d.ts.map +1 -1
  156. package/models/components/resetbudgetconsumptionresponse.js +2 -2
  157. package/models/components/resetbudgetconsumptionresponse.js.map +1 -1
  158. package/models/components/securityconfig.d.ts +12 -0
  159. package/models/components/securityconfig.d.ts.map +1 -0
  160. package/models/components/securityconfig.js +49 -0
  161. package/models/components/securityconfig.js.map +1 -0
  162. package/models/components/serviceaccountowner.d.ts +0 -5
  163. package/models/components/serviceaccountowner.d.ts.map +1 -1
  164. package/models/components/serviceaccountowner.js +1 -8
  165. package/models/components/serviceaccountowner.js.map +1 -1
  166. package/models/components/singleproject.d.ts +0 -5
  167. package/models/components/singleproject.d.ts.map +1 -1
  168. package/models/components/singleproject.js +1 -14
  169. package/models/components/singleproject.js.map +1 -1
  170. package/models/components/smartrouter.d.ts +0 -2
  171. package/models/components/smartrouter.d.ts.map +1 -1
  172. package/models/components/smartrouter.js +0 -2
  173. package/models/components/smartrouter.js.map +1 -1
  174. package/models/components/timeoutconfig.d.ts +12 -0
  175. package/models/components/timeoutconfig.d.ts.map +1 -0
  176. package/models/components/{getapikeyresponse.js → timeoutconfig.js} +8 -10
  177. package/models/components/timeoutconfig.js.map +1 -0
  178. package/models/components/updatebudgetresponse.d.ts +2 -2
  179. package/models/components/updatebudgetresponse.d.ts.map +1 -1
  180. package/models/components/updatebudgetresponse.js +2 -2
  181. package/models/components/updatebudgetresponse.js.map +1 -1
  182. package/models/components/userowner.d.ts +0 -5
  183. package/models/components/userowner.d.ts.map +1 -1
  184. package/models/components/userowner.js +1 -14
  185. package/models/components/userowner.js.map +1 -1
  186. package/models/components/webhook.d.ts +1 -1
  187. package/models/errors/index.d.ts +1 -0
  188. package/models/errors/index.d.ts.map +1 -1
  189. package/models/errors/index.js +1 -0
  190. package/models/errors/index.js.map +1 -1
  191. package/models/errors/retrieveresponse.d.ts +25 -0
  192. package/models/errors/retrieveresponse.d.ts.map +1 -0
  193. package/models/{components/listapikeysresponse.js → errors/retrieveresponse.js} +29 -16
  194. package/models/errors/retrieveresponse.js.map +1 -0
  195. package/models/operations/billing.js +1 -1
  196. package/models/operations/createagentschedule.d.ts +17 -11
  197. package/models/operations/createagentschedule.d.ts.map +1 -1
  198. package/models/operations/createagentschedule.js +6 -4
  199. package/models/operations/createagentschedule.js.map +1 -1
  200. package/models/operations/createannotationqueue.js +1 -1
  201. package/models/operations/createdataset.js +1 -1
  202. package/models/operations/createdatasetitem.js +5 -5
  203. package/models/operations/createdatasource.js +1 -1
  204. package/models/operations/createrouterresponse.d.ts +18 -0
  205. package/models/operations/createrouterresponse.d.ts.map +1 -1
  206. package/models/operations/createrouterresponse.js +8 -0
  207. package/models/operations/createrouterresponse.js.map +1 -1
  208. package/models/operations/createtool.js +6 -6
  209. package/models/operations/getalltools.js +6 -6
  210. package/models/operations/geteval.js +16 -16
  211. package/models/operations/getv2humanevalsets.js +2 -2
  212. package/models/operations/getv2humanevalsetsid.js +2 -2
  213. package/models/operations/listannotationqueues.js +1 -1
  214. package/models/operations/listdatasetdatapoints.js +5 -5
  215. package/models/operations/listdatasets.js +1 -1
  216. package/models/operations/listdatasources.js +1 -1
  217. package/models/operations/patchv2humanevalsetsid.js +2 -2
  218. package/models/operations/postv2feedbackevaluation.js +4 -4
  219. package/models/operations/postv2humanevalsets.js +2 -2
  220. package/models/operations/retrieveagentschedule.d.ts +13 -5
  221. package/models/operations/retrieveagentschedule.d.ts.map +1 -1
  222. package/models/operations/retrieveagentschedule.js +5 -1
  223. package/models/operations/retrieveagentschedule.js.map +1 -1
  224. package/models/operations/retrieveannotationqueue.js +1 -1
  225. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
  226. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
  227. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
  228. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
  229. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
  230. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
  231. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
  232. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
  233. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
  234. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
  235. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
  236. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
  237. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
  238. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
  239. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
  240. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
  241. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
  242. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
  243. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
  244. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
  245. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
  246. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
  247. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
  248. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
  249. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
  250. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
  251. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
  252. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
  253. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
  254. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
  255. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
  256. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
  257. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
  258. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
  259. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
  260. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
  261. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
  262. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
  263. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
  264. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +2 -2
  265. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
  266. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
  267. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
  268. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
  269. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
  270. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
  271. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
  272. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
  273. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
  274. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
  275. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
  276. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
  277. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
  278. package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
  279. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
  280. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
  281. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
  282. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
  283. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
  284. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
  285. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
  286. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
  287. package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
  288. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
  289. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
  290. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
  291. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
  292. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
  293. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
  294. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
  295. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
  296. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
  297. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
  298. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
  299. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
  300. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
  301. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
  302. package/models/operations/retrievedatapoint.js +5 -5
  303. package/models/operations/retrievedataset.js +1 -1
  304. package/models/operations/retrievedatasource.js +1 -1
  305. package/models/operations/retrievetool.js +6 -6
  306. package/models/operations/runagent.js +1 -1
  307. package/models/operations/smartrouterlist.d.ts +0 -2
  308. package/models/operations/smartrouterlist.d.ts.map +1 -1
  309. package/models/operations/smartrouterlist.js +0 -2
  310. package/models/operations/smartrouterlist.js.map +1 -1
  311. package/models/operations/streamrunagent.js +1 -1
  312. package/models/operations/twenty.js +1 -1
  313. package/models/operations/updateagentschedule.d.ts +22 -11
  314. package/models/operations/updateagentschedule.d.ts.map +1 -1
  315. package/models/operations/updateagentschedule.js +8 -4
  316. package/models/operations/updateagentschedule.js.map +1 -1
  317. package/models/operations/updateannotationqueue.js +1 -1
  318. package/models/operations/updatedatapoint.js +5 -5
  319. package/models/operations/updatedataset.js +1 -1
  320. package/models/operations/updatedatasource.js +1 -1
  321. package/models/operations/updatetool.js +7 -7
  322. package/package.json +3 -3
  323. package/sdk/apikeys.d.ts +6 -6
  324. package/sdk/apikeys.d.ts.map +1 -1
  325. package/sdk/apikeys.js +1 -1
  326. package/sdk/feedback.d.ts +2 -2
  327. package/sdk/feedback.js +2 -2
  328. package/sdk/schedules.d.ts +1 -1
  329. package/sdk/schedules.js +1 -1
  330. package/src/funcs/apiKeysCreate.ts +4 -4
  331. package/src/funcs/apiKeysDelete.ts +6 -6
  332. package/src/funcs/apiKeysGet.ts +4 -4
  333. package/src/funcs/apiKeysList.ts +6 -5
  334. package/src/funcs/apiKeysUpdate.ts +4 -4
  335. package/src/funcs/responsesGet.ts +11 -2
  336. package/src/funcs/schedulesCreate.ts +1 -1
  337. package/src/funcs/smartRoutersList.ts +0 -1
  338. package/src/lib/config.ts +2 -2
  339. package/src/models/components/allprojects.ts +0 -18
  340. package/src/models/components/apierror.ts +39 -0
  341. package/src/models/components/apikeybudgetscoperestresponse.ts +37 -0
  342. package/src/models/components/apikeyowner.ts +0 -27
  343. package/src/models/components/apikeyrestresponse.ts +119 -0
  344. package/src/models/components/apikeystatus.ts +1 -4
  345. package/src/models/components/budgetalertrestresponse.ts +58 -0
  346. package/src/models/components/budgetlimitsrestresponse.ts +51 -0
  347. package/src/models/components/{budget.ts → budgetrestresponse.ts} +47 -47
  348. package/src/models/components/budgetscoperestresponse.ts +103 -0
  349. package/src/models/components/cacheconfig.ts +30 -0
  350. package/src/models/components/createbudgetresponse.ts +6 -3
  351. package/src/models/components/createwebhookrequest.ts +1 -1
  352. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  353. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  354. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  355. package/src/models/components/evaluatorresponsellm.ts +2 -2
  356. package/src/models/components/evaluatorresponsepython.ts +2 -2
  357. package/src/models/components/evaluatorresponseragas.ts +2 -2
  358. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  359. package/src/models/components/getbudgetresponse.ts +6 -3
  360. package/src/models/components/identity.ts +39 -39
  361. package/src/models/components/identitybudgetscoperestresponse.ts +37 -0
  362. package/src/models/components/index.ts +16 -9
  363. package/src/models/components/listbudgetsresponse.ts +7 -9
  364. package/src/models/components/loadbalancerconfig.ts +39 -0
  365. package/src/models/components/loadbalancermodelconfig.ts +34 -0
  366. package/src/models/components/mcpaccess.ts +0 -28
  367. package/src/models/components/modelbudgetscope.ts +4 -4
  368. package/src/models/components/modelbudgetscoperestresponse.ts +38 -0
  369. package/src/models/components/permissionmode.ts +1 -5
  370. package/src/models/components/projectbudgetscoperestresponse.ts +34 -0
  371. package/src/models/components/projectscope.ts +0 -23
  372. package/src/models/components/publicschedule.ts +17 -5
  373. package/src/models/components/publicschedulepayload.ts +5 -5
  374. package/src/models/components/ratelimitrestresponse.ts +37 -0
  375. package/src/models/components/reasoningpart.ts +1 -1
  376. package/src/models/components/resetbudgetconsumptionresponse.ts +6 -3
  377. package/src/models/components/securityconfig.ts +27 -0
  378. package/src/models/components/serviceaccountowner.ts +0 -18
  379. package/src/models/components/singleproject.ts +0 -24
  380. package/src/models/components/smartrouter.ts +0 -6
  381. package/src/models/components/timeoutconfig.ts +32 -0
  382. package/src/models/components/updatebudgetresponse.ts +6 -3
  383. package/src/models/components/userowner.ts +0 -24
  384. package/src/models/components/webhook.ts +1 -1
  385. package/src/models/errors/index.ts +1 -0
  386. package/src/models/errors/retrieveresponse.ts +56 -0
  387. package/src/models/operations/billing.ts +1 -1
  388. package/src/models/operations/createagentschedule.ts +21 -11
  389. package/src/models/operations/createannotationqueue.ts +1 -1
  390. package/src/models/operations/createdataset.ts +1 -1
  391. package/src/models/operations/createdatasetitem.ts +5 -5
  392. package/src/models/operations/createdatasource.ts +1 -1
  393. package/src/models/operations/createrouterresponse.ts +26 -0
  394. package/src/models/operations/createtool.ts +6 -6
  395. package/src/models/operations/getalltools.ts +6 -6
  396. package/src/models/operations/geteval.ts +16 -16
  397. package/src/models/operations/getv2humanevalsets.ts +2 -2
  398. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  399. package/src/models/operations/listannotationqueues.ts +1 -1
  400. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  401. package/src/models/operations/listdatasets.ts +1 -1
  402. package/src/models/operations/listdatasources.ts +1 -1
  403. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  404. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  405. package/src/models/operations/postv2humanevalsets.ts +2 -2
  406. package/src/models/operations/retrieveagentschedule.ts +17 -5
  407. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  408. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
  409. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
  410. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
  411. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
  412. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
  413. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
  414. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
  415. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
  416. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
  417. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
  418. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
  419. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
  420. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
  421. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
  422. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
  423. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
  424. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
  425. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
  426. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
  427. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
  428. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
  429. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
  430. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
  431. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
  432. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
  433. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
  434. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
  435. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
  436. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
  437. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
  438. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
  439. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
  440. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
  441. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
  442. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
  443. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
  444. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
  445. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
  446. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
  447. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
  448. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
  449. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
  450. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
  451. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
  452. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
  453. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
  454. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
  455. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
  456. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
  457. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
  458. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
  459. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
  460. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
  461. package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
  462. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
  463. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
  464. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
  465. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
  466. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
  467. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
  468. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
  469. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
  470. package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
  471. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
  472. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
  473. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
  474. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
  475. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
  476. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
  477. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
  478. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
  479. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
  480. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
  481. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
  482. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
  483. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
  484. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
  485. package/src/models/operations/retrievedatapoint.ts +5 -5
  486. package/src/models/operations/retrievedataset.ts +1 -1
  487. package/src/models/operations/retrievedatasource.ts +1 -1
  488. package/src/models/operations/retrievetool.ts +6 -6
  489. package/src/models/operations/runagent.ts +1 -1
  490. package/src/models/operations/smartrouterlist.ts +0 -4
  491. package/src/models/operations/streamrunagent.ts +1 -1
  492. package/src/models/operations/twenty.ts +1 -1
  493. package/src/models/operations/updateagentschedule.ts +28 -11
  494. package/src/models/operations/updateannotationqueue.ts +1 -1
  495. package/src/models/operations/updatedatapoint.ts +5 -5
  496. package/src/models/operations/updatedataset.ts +1 -1
  497. package/src/models/operations/updatedatasource.ts +1 -1
  498. package/src/models/operations/updatetool.ts +7 -7
  499. package/src/sdk/apikeys.ts +6 -6
  500. package/src/sdk/feedback.ts +2 -2
  501. package/src/sdk/schedules.ts +1 -1
  502. package/models/components/apikey.d.ts +0 -201
  503. package/models/components/apikey.d.ts.map +0 -1
  504. package/models/components/apikey.js +0 -127
  505. package/models/components/apikey.js.map +0 -1
  506. package/models/components/budget.d.ts.map +0 -1
  507. package/models/components/budget.js.map +0 -1
  508. package/models/components/createapikeyresponse.d.ts +0 -22
  509. package/models/components/createapikeyresponse.d.ts.map +0 -1
  510. package/models/components/createapikeyresponse.js.map +0 -1
  511. package/models/components/deleteapikeyresponse.d.ts +0 -8
  512. package/models/components/deleteapikeyresponse.d.ts.map +0 -1
  513. package/models/components/deleteapikeyresponse.js.map +0 -1
  514. package/models/components/getapikeyresponse.d.ts +0 -14
  515. package/models/components/getapikeyresponse.d.ts.map +0 -1
  516. package/models/components/getapikeyresponse.js.map +0 -1
  517. package/models/components/legacytokenfamily.d.ts +0 -12
  518. package/models/components/legacytokenfamily.d.ts.map +0 -1
  519. package/models/components/legacytokenfamily.js.map +0 -1
  520. package/models/components/listapikeysresponse.d.ts +0 -28
  521. package/models/components/listapikeysresponse.d.ts.map +0 -1
  522. package/models/components/listapikeysresponse.js.map +0 -1
  523. package/models/components/smartroutermetrics.d.ts +0 -23
  524. package/models/components/smartroutermetrics.d.ts.map +0 -1
  525. package/models/components/smartroutermetrics.js.map +0 -1
  526. package/models/components/updateapikeyresponse.d.ts +0 -14
  527. package/models/components/updateapikeyresponse.d.ts.map +0 -1
  528. package/models/components/updateapikeyresponse.js.map +0 -1
  529. package/src/models/components/apikey.ts +0 -304
  530. package/src/models/components/createapikeyresponse.ts +0 -49
  531. package/src/models/components/deleteapikeyresponse.ts +0 -27
  532. package/src/models/components/getapikeyresponse.ts +0 -40
  533. package/src/models/components/legacytokenfamily.ts +0 -19
  534. package/src/models/components/listapikeysresponse.ts +0 -56
  535. package/src/models/components/smartroutermetrics.ts +0 -44
  536. package/src/models/components/updateapikeyresponse.ts +0 -40
@@ -0,0 +1,59 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { ApiKeyBudgetScopeRestResponse } from "./apikeybudgetscoperestresponse.js";
5
+ import { IdentityBudgetScopeRestResponse } from "./identitybudgetscoperestresponse.js";
6
+ import { ModelBudgetScopeRestResponse } from "./modelbudgetscoperestresponse.js";
7
+ import { ProjectBudgetScopeRestResponse } from "./projectbudgetscoperestresponse.js";
8
+ import { ProviderBudgetScope } from "./providerbudgetscope.js";
9
+ import { WorkspaceBudgetScope } from "./workspacebudgetscope.js";
10
+ /**
11
+ * BudgetScope is a closed oneof. Exactly one variant must be set. The
12
+ *
13
+ * @remarks
14
+ * six variants are ordered by enforcement precedence (most specific to
15
+ * most general) and mirror the BudgetScopeKind filter enum.
16
+ */
17
+ export type BudgetScopeRestResponse = {
18
+ /**
19
+ * Workspace-wide ceiling. The implicit target is the caller's workspace.
20
+ */
21
+ workspace?: WorkspaceBudgetScope | undefined;
22
+ /**
23
+ * Per-project cap.
24
+ */
25
+ project?: ProjectBudgetScopeRestResponse | undefined;
26
+ /**
27
+ * Per-identity cap. Keyed by the contact's external_id (not the
28
+ *
29
+ * @remarks
30
+ * internal Mongo `_id`) so the scope is stable across imports.
31
+ */
32
+ identity?: IdentityBudgetScopeRestResponse | undefined;
33
+ /**
34
+ * Per-api-key cap. Replaces the legacy embedded `constraints.budget`
35
+ *
36
+ * @remarks
37
+ * on auth.apiKeys.
38
+ */
39
+ apiKey?: ApiKeyBudgetScopeRestResponse | undefined;
40
+ /**
41
+ * Per-provider cap. The value is the provider enum string (e.g.
42
+ *
43
+ * @remarks
44
+ * "openai", "anthropic") drawn from ModelIntegrationIdentifier.
45
+ */
46
+ provider?: ProviderBudgetScope | undefined;
47
+ /**
48
+ * Per-model cap. The value is the FULL model reference as callers send
49
+ *
50
+ * @remarks
51
+ * it ("openai/gpt-4o", or "workspaceKey@openai/gpt-4o" for private
52
+ * models) — NOT the Mongo `_id` of the model master-data document.
53
+ */
54
+ model?: ModelBudgetScopeRestResponse | undefined;
55
+ };
56
+ /** @internal */
57
+ export declare const BudgetScopeRestResponse$inboundSchema: z.ZodType<BudgetScopeRestResponse, z.ZodTypeDef, unknown>;
58
+ export declare function budgetScopeRestResponseFromJSON(jsonString: string): SafeParseResult<BudgetScopeRestResponse, SDKValidationError>;
59
+ //# sourceMappingURL=budgetscoperestresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"budgetscoperestresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/budgetscoperestresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,6BAA6B,EAE9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,+BAA+B,EAEhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,4BAA4B,EAE7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACrD;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;IACvD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACnD;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC3C;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.BudgetScopeRestResponse$inboundSchema = void 0;
40
+ exports.budgetScopeRestResponseFromJSON = budgetScopeRestResponseFromJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ const schemas_js_1 = require("../../lib/schemas.js");
43
+ const apikeybudgetscoperestresponse_js_1 = require("./apikeybudgetscoperestresponse.js");
44
+ const identitybudgetscoperestresponse_js_1 = require("./identitybudgetscoperestresponse.js");
45
+ const modelbudgetscoperestresponse_js_1 = require("./modelbudgetscoperestresponse.js");
46
+ const projectbudgetscoperestresponse_js_1 = require("./projectbudgetscoperestresponse.js");
47
+ const providerbudgetscope_js_1 = require("./providerbudgetscope.js");
48
+ const workspacebudgetscope_js_1 = require("./workspacebudgetscope.js");
49
+ /** @internal */
50
+ exports.BudgetScopeRestResponse$inboundSchema = z.object({
51
+ workspace: workspacebudgetscope_js_1.WorkspaceBudgetScope$inboundSchema.optional(),
52
+ project: projectbudgetscoperestresponse_js_1.ProjectBudgetScopeRestResponse$inboundSchema.optional(),
53
+ identity: identitybudgetscoperestresponse_js_1.IdentityBudgetScopeRestResponse$inboundSchema.optional(),
54
+ apiKey: apikeybudgetscoperestresponse_js_1.ApiKeyBudgetScopeRestResponse$inboundSchema.optional(),
55
+ provider: providerbudgetscope_js_1.ProviderBudgetScope$inboundSchema.optional(),
56
+ model: modelbudgetscoperestresponse_js_1.ModelBudgetScopeRestResponse$inboundSchema.optional(),
57
+ });
58
+ function budgetScopeRestResponseFromJSON(jsonString) {
59
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BudgetScopeRestResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BudgetScopeRestResponse' from JSON`);
60
+ }
61
+ //# sourceMappingURL=budgetscoperestresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"budgetscoperestresponse.js","sourceRoot":"","sources":["../../src/models/components/budgetscoperestresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FH,0EAQC;AAlGD,0CAA4B;AAC5B,qDAAiD;AAGjD,yFAG4C;AAC5C,6FAG8C;AAC9C,uFAG2C;AAC3C,2FAG6C;AAC7C,qEAGkC;AAClC,uEAGmC;AAiDnC,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,4DAAkC,CAAC,QAAQ,EAAE;IACxD,OAAO,EAAE,gFAA4C,CAAC,QAAQ,EAAE;IAChE,QAAQ,EAAE,kFAA6C,CAAC,QAAQ,EAAE;IAClE,MAAM,EAAE,8EAA2C,CAAC,QAAQ,EAAE;IAC9D,QAAQ,EAAE,0DAAiC,CAAC,QAAQ,EAAE;IACtD,KAAK,EAAE,4EAA0C,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as z from "zod/v3";
2
+ export type CacheConfig = {
3
+ ttl?: number | undefined;
4
+ type: string;
5
+ };
6
+ /** @internal */
7
+ export type CacheConfig$Outbound = {
8
+ ttl?: number | undefined;
9
+ type: string;
10
+ };
11
+ /** @internal */
12
+ export declare const CacheConfig$outboundSchema: z.ZodType<CacheConfig$Outbound, z.ZodTypeDef, CacheConfig>;
13
+ export declare function cacheConfigToJSON(cacheConfig: CacheConfig): string;
14
+ //# sourceMappingURL=cacheconfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cacheconfig.d.ts","sourceRoot":"","sources":["../../src/models/components/cacheconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IACjC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAIX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE"}
@@ -36,14 +36,15 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyTokenFamily$inboundSchema = exports.LegacyTokenFamily = void 0;
39
+ exports.CacheConfig$outboundSchema = void 0;
40
+ exports.cacheConfigToJSON = cacheConfigToJSON;
40
41
  const z = __importStar(require("zod/v3"));
41
- exports.LegacyTokenFamily = {
42
- LegacyTokenFamilyUnspecified: "LEGACY_TOKEN_FAMILY_UNSPECIFIED",
43
- LegacyTokenFamilyRouterJwt: "LEGACY_TOKEN_FAMILY_ROUTER_JWT",
44
- LegacyTokenFamilyProjectJwt: "LEGACY_TOKEN_FAMILY_PROJECT_JWT",
45
- LegacyTokenFamilyWorkspaceJwt: "LEGACY_TOKEN_FAMILY_WORKSPACE_JWT",
46
- };
47
42
  /** @internal */
48
- exports.LegacyTokenFamily$inboundSchema = z.nativeEnum(exports.LegacyTokenFamily);
49
- //# sourceMappingURL=legacytokenfamily.js.map
43
+ exports.CacheConfig$outboundSchema = z.object({
44
+ ttl: z.number().int().optional(),
45
+ type: z.string(),
46
+ });
47
+ function cacheConfigToJSON(cacheConfig) {
48
+ return JSON.stringify(exports.CacheConfig$outboundSchema.parse(cacheConfig));
49
+ }
50
+ //# sourceMappingURL=cacheconfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cacheconfig.js","sourceRoot":"","sources":["../../src/models/components/cacheconfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBH,8CAEC;AAzBD,0CAA4B;AAa5B,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import * as z from "zod/v3";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { Budget } from "./budget.js";
4
+ import { BudgetRestResponse } from "./budgetrestresponse.js";
5
5
  export type CreateBudgetResponse = {
6
6
  /**
7
7
  * Newly created budget.
8
8
  */
9
- budget?: Budget | undefined;
9
+ budget: BudgetRestResponse;
10
10
  };
11
11
  /** @internal */
12
12
  export declare const CreateBudgetResponse$inboundSchema: z.ZodType<CreateBudgetResponse, z.ZodTypeDef, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"createbudgetresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createbudgetresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
1
+ {"version":3,"file":"createbudgetresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createbudgetresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -40,10 +40,10 @@ exports.CreateBudgetResponse$inboundSchema = void 0;
40
40
  exports.createBudgetResponseFromJSON = createBudgetResponseFromJSON;
41
41
  const z = __importStar(require("zod/v3"));
42
42
  const schemas_js_1 = require("../../lib/schemas.js");
43
- const budget_js_1 = require("./budget.js");
43
+ const budgetrestresponse_js_1 = require("./budgetrestresponse.js");
44
44
  /** @internal */
45
45
  exports.CreateBudgetResponse$inboundSchema = z.object({
46
- budget: budget_js_1.Budget$inboundSchema.optional(),
46
+ budget: budgetrestresponse_js_1.BudgetRestResponse$inboundSchema,
47
47
  });
48
48
  function createBudgetResponseFromJSON(jsonString) {
49
49
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateBudgetResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateBudgetResponse' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"createbudgetresponse.js","sourceRoot":"","sources":["../../src/models/components/createbudgetresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,oEAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,2CAA2D;AAS3D,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,gCAAoB,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createbudgetresponse.js","sourceRoot":"","sources":["../../src/models/components/createbudgetresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,oEAQC;AAjCD,0CAA4B;AAC5B,qDAAiD;AAGjD,mEAGiC;AASjC,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,wDAAgC;CACzC,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
@@ -36,7 +36,7 @@ export type CreateWebhookRequest = {
36
36
  */
37
37
  events: Array<string>;
38
38
  /**
39
- * Signing secret returned by `GET /v2/webhooks/secret`.
39
+ * Signing secret returned by `GET /v2/webhooks/secret`. Deliveries set `X-Orq-Signature` to the lowercase hexadecimal HMAC-SHA256 of the exact request body bytes.
40
40
  */
41
41
  secret: string;
42
42
  /**
@@ -366,8 +366,8 @@ function functionParamsFromJSON(jsonString) {
366
366
  exports.EvaluatorResponseFunction$inboundSchema = z.object({
367
367
  _id: z.string(),
368
368
  description: z.string(),
369
- created: z.string().default("2026-08-06T11:51:19.227Z"),
370
- updated: z.string().default("2026-08-06T11:51:19.227Z"),
369
+ created: z.string().default("2026-08-07T07:22:35.553Z"),
370
+ updated: z.string().default("2026-08-07T07:22:35.553Z"),
371
371
  updated_by_id: z.nullable(z.string()).optional(),
372
372
  project_id: z.string().optional(),
373
373
  guardrail_config: z.any().optional(),
@@ -52,8 +52,8 @@ exports.Method$inboundSchema = z
52
52
  exports.EvaluatorResponseHttp$inboundSchema = z.object({
53
53
  _id: z.string(),
54
54
  description: z.string(),
55
- created: z.string().default("2026-08-06T11:51:19.227Z"),
56
- updated: z.string().default("2026-08-06T11:51:19.227Z"),
55
+ created: z.string().default("2026-08-07T07:22:35.553Z"),
56
+ updated: z.string().default("2026-08-07T07:22:35.553Z"),
57
57
  updated_by_id: z.nullable(z.string()).optional(),
58
58
  project_id: z.string().optional(),
59
59
  guardrail_config: z.any().optional(),
@@ -45,8 +45,8 @@ const schemas_js_1 = require("../../lib/schemas.js");
45
45
  exports.EvaluatorResponseJsonSchema$inboundSchema = z.object({
46
46
  _id: z.string(),
47
47
  description: z.string(),
48
- created: z.string().default("2026-08-06T11:51:19.227Z"),
49
- updated: z.string().default("2026-08-06T11:51:19.227Z"),
48
+ created: z.string().default("2026-08-07T07:22:35.553Z"),
49
+ updated: z.string().default("2026-08-07T07:22:35.553Z"),
50
50
  updated_by_id: z.nullable(z.string()).optional(),
51
51
  project_id: z.string().optional(),
52
52
  guardrail_config: z.any().optional(),
@@ -150,8 +150,8 @@ function juryFromJSON(jsonString) {
150
150
  exports.EvaluatorResponseLlm$inboundSchema = z.object({
151
151
  _id: z.string(),
152
152
  description: z.string(),
153
- created: z.string().default("2026-08-06T11:51:19.227Z"),
154
- updated: z.string().default("2026-08-06T11:51:19.227Z"),
153
+ created: z.string().default("2026-08-07T07:22:35.553Z"),
154
+ updated: z.string().default("2026-08-07T07:22:35.553Z"),
155
155
  updated_by_id: z.nullable(z.string()).optional(),
156
156
  project_id: z.string().optional(),
157
157
  guardrail_config: z.any().optional(),
@@ -45,8 +45,8 @@ const schemas_js_1 = require("../../lib/schemas.js");
45
45
  exports.EvaluatorResponsePython$inboundSchema = z.object({
46
46
  _id: z.string(),
47
47
  description: z.string(),
48
- created: z.string().default("2026-08-06T11:51:19.227Z"),
49
- updated: z.string().default("2026-08-06T11:51:19.227Z"),
48
+ created: z.string().default("2026-08-07T07:22:35.553Z"),
49
+ updated: z.string().default("2026-08-07T07:22:35.553Z"),
50
50
  updated_by_id: z.nullable(z.string()).optional(),
51
51
  project_id: z.string().optional(),
52
52
  guardrail_config: z.any().optional(),
@@ -62,8 +62,8 @@ exports.RagasMetric$inboundSchema = z
62
62
  exports.EvaluatorResponseRagas$inboundSchema = z.object({
63
63
  _id: z.string(),
64
64
  description: z.string(),
65
- created: z.string().default("2026-08-06T11:51:19.227Z"),
66
- updated: z.string().default("2026-08-06T11:51:19.227Z"),
65
+ created: z.string().default("2026-08-07T07:22:35.553Z"),
66
+ updated: z.string().default("2026-08-07T07:22:35.553Z"),
67
67
  updated_by_id: z.nullable(z.string()).optional(),
68
68
  project_id: z.string().optional(),
69
69
  guardrail_config: z.any().optional(),
@@ -45,8 +45,8 @@ const schemas_js_1 = require("../../lib/schemas.js");
45
45
  exports.EvaluatorResponseTypescript$inboundSchema = z.object({
46
46
  _id: z.string(),
47
47
  description: z.string(),
48
- created: z.string().default("2026-08-06T11:51:19.227Z"),
49
- updated: z.string().default("2026-08-06T11:51:19.227Z"),
48
+ created: z.string().default("2026-08-07T07:22:35.553Z"),
49
+ updated: z.string().default("2026-08-07T07:22:35.553Z"),
50
50
  updated_by_id: z.nullable(z.string()).optional(),
51
51
  project_id: z.string().optional(),
52
52
  guardrail_config: z.any().optional(),
@@ -1,12 +1,12 @@
1
1
  import * as z from "zod/v3";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { Budget } from "./budget.js";
4
+ import { BudgetRestResponse } from "./budgetrestresponse.js";
5
5
  export type GetBudgetResponse = {
6
6
  /**
7
7
  * Requested budget.
8
8
  */
9
- budget?: Budget | undefined;
9
+ budget: BudgetRestResponse;
10
10
  };
11
11
  /** @internal */
12
12
  export declare const GetBudgetResponse$inboundSchema: z.ZodType<GetBudgetResponse, z.ZodTypeDef, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"getbudgetresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getbudgetresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAwB,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
1
+ {"version":3,"file":"getbudgetresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getbudgetresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
@@ -40,10 +40,10 @@ exports.GetBudgetResponse$inboundSchema = void 0;
40
40
  exports.getBudgetResponseFromJSON = getBudgetResponseFromJSON;
41
41
  const z = __importStar(require("zod/v3"));
42
42
  const schemas_js_1 = require("../../lib/schemas.js");
43
- const budget_js_1 = require("./budget.js");
43
+ const budgetrestresponse_js_1 = require("./budgetrestresponse.js");
44
44
  /** @internal */
45
45
  exports.GetBudgetResponse$inboundSchema = z.object({
46
- budget: budget_js_1.Budget$inboundSchema.optional(),
46
+ budget: budgetrestresponse_js_1.BudgetRestResponse$inboundSchema,
47
47
  });
48
48
  function getBudgetResponseFromJSON(jsonString) {
49
49
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetBudgetResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetBudgetResponse' from JSON`);
@@ -1 +1 @@
1
- {"version":3,"file":"getbudgetresponse.js","sourceRoot":"","sources":["../../src/models/components/getbudgetresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,8DAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,2CAA2D;AAS3D,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,gCAAoB,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"getbudgetresponse.js","sourceRoot":"","sources":["../../src/models/components/getbudgetresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,8DAQC;AAjCD,0CAA4B;AAC5B,qDAAiD;AAGjD,mEAGiC;AASjC,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,wDAAgC;CACzC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
@@ -17,8 +17,8 @@ import { RateLimit } from "./ratelimit.js";
17
17
  * Live consumption (`usage`) is not attached on this path — call the
18
18
  * Budgets API for current spend.
19
19
  */
20
- export type IdentityBudget = {
21
- budgetId?: string | undefined;
20
+ export type Budget = {
21
+ budgetId: string;
22
22
  /**
23
23
  * Denormalized metadata for UI rendering, list filters, and the
24
24
  *
@@ -46,7 +46,7 @@ export type IdentityBudget = {
46
46
  * of `amount`, `token_limit`, or RateLimit.requests_per_minute MUST be
47
47
  * set on a Budget; that invariant is enforced by the handler.
48
48
  */
49
- limits?: BudgetLimits | undefined;
49
+ limits: BudgetLimits;
50
50
  /**
51
51
  * RateLimit is the per-minute request ceiling. Enforced via atomic
52
52
  *
@@ -56,8 +56,8 @@ export type IdentityBudget = {
56
56
  rateLimit?: RateLimit | undefined;
57
57
  isActive?: boolean | undefined;
58
58
  expiresAt?: Date | undefined;
59
- createdAt?: Date | undefined;
60
- updatedAt?: Date | undefined;
59
+ createdAt: Date;
60
+ updatedAt: Date;
61
61
  /**
62
62
  * Live consumption for the current period, read from the Redis
63
63
  *
@@ -138,11 +138,11 @@ export type Identity = {
138
138
  * Live consumption (`usage`) is not attached on this path — call the
139
139
  * Budgets API for current spend.
140
140
  */
141
- budget?: IdentityBudget | undefined;
141
+ budget?: Budget | undefined;
142
142
  };
143
143
  /** @internal */
144
- export declare const IdentityBudget$inboundSchema: z.ZodType<IdentityBudget, z.ZodTypeDef, unknown>;
145
- export declare function identityBudgetFromJSON(jsonString: string): SafeParseResult<IdentityBudget, SDKValidationError>;
144
+ export declare const Budget$inboundSchema: z.ZodType<Budget, z.ZodTypeDef, unknown>;
145
+ export declare function budgetFromJSON(jsonString: string): SafeParseResult<Budget, SDKValidationError>;
146
146
  /** @internal */
147
147
  export declare const Identity$inboundSchema: z.ZodType<Identity, z.ZodTypeDef, unknown>;
148
148
  export declare function identityFromJSON(jsonString: string): SafeParseResult<Identity, SDKValidationError>;
@@ -1 +1 @@
1
- {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/models/components/identity.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,WAAW,EAA6B,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAA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E,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC5C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CA4BtE,CAAC;AAEL,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CAsBP,CAAC;AAEH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C"}
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Identity$inboundSchema = exports.IdentityBudget$inboundSchema = void 0;
40
- exports.identityBudgetFromJSON = identityBudgetFromJSON;
39
+ exports.Identity$inboundSchema = exports.Budget$inboundSchema = void 0;
40
+ exports.budgetFromJSON = budgetFromJSON;
41
41
  exports.identityFromJSON = identityFromJSON;
42
42
  const z = __importStar(require("zod/v3"));
43
43
  const primitives_js_1 = require("../../lib/primitives.js");
@@ -50,19 +50,17 @@ const budgetusage_js_1 = require("./budgetusage.js");
50
50
  const identitymetrics_js_1 = require("./identitymetrics.js");
51
51
  const ratelimit_js_1 = require("./ratelimit.js");
52
52
  /** @internal */
53
- exports.IdentityBudget$inboundSchema = z.object({
54
- budget_id: z.string().optional(),
53
+ exports.Budget$inboundSchema = z
54
+ .object({
55
+ budget_id: z.string(),
55
56
  scope: budgetscope_js_1.BudgetScope$inboundSchema.optional(),
56
57
  match: budgetmatch_js_1.BudgetMatch$inboundSchema.optional(),
57
- limits: budgetlimits_js_1.BudgetLimits$inboundSchema.optional(),
58
+ limits: budgetlimits_js_1.BudgetLimits$inboundSchema,
58
59
  rate_limit: ratelimit_js_1.RateLimit$inboundSchema.optional(),
59
60
  is_active: z.boolean().optional(),
60
- expires_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
61
- .optional(),
62
- created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
63
- .optional(),
64
- updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
65
- .optional(),
61
+ expires_at: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
62
+ created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
63
+ updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
66
64
  usage: budgetusage_js_1.BudgetUsage$inboundSchema.optional(),
67
65
  alerts: z.array(budgetalert_js_1.BudgetAlert$inboundSchema).optional(),
68
66
  }).transform((v) => {
@@ -75,8 +73,8 @@ exports.IdentityBudget$inboundSchema = z.object({
75
73
  "updated_at": "updatedAt",
76
74
  });
77
75
  });
78
- function identityBudgetFromJSON(jsonString) {
79
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IdentityBudget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IdentityBudget' from JSON`);
76
+ function budgetFromJSON(jsonString) {
77
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Budget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Budget' from JSON`);
80
78
  }
81
79
  /** @internal */
82
80
  exports.Identity$inboundSchema = z.object({
@@ -91,7 +89,7 @@ exports.Identity$inboundSchema = z.object({
91
89
  created: z.string(),
92
90
  updated: z.string(),
93
91
  metrics: identitymetrics_js_1.IdentityMetrics$inboundSchema.optional(),
94
- budget: z.lazy(() => exports.IdentityBudget$inboundSchema).optional(),
92
+ budget: z.lazy(() => exports.Budget$inboundSchema).optional(),
95
93
  }).transform((v) => {
96
94
  return (0, primitives_js_1.remap)(v, {
97
95
  "_id": "id",
@@ -1 +1 @@
1
- {"version":3,"file":"identity.js","sourceRoot":"","sources":["../../src/models/components/identity.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqLH,wDAQC;AA8BD,4CAQC;AAjOD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,qDAA0E;AAC1E,uDAA6E;AAC7E,qDAA0E;AAC1E,qDAA0E;AAC1E,qDAA0E;AAC1E,6DAG8B;AAC9B,iDAAoE;AAsIpE,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,0CAAyB,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,0CAAyB,CAAC,QAAQ,EAAE;IAC3C,MAAM,EAAE,4CAA0B,CAAC,QAAQ,EAAE;IAC7C,UAAU,EAAE,sCAAuB,CAAC,QAAQ,EAAE;IAC9C,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SAC1E,QAAQ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B,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,KAAK,EAAE,IAAI;QACX,aAAa,EAAE,YAAY;QAC3B,cAAc,EAAE,aAAa;QAC7B,cAAc,EAAE,aAAa;QAC7B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,gBAAgB,CAC9B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ /**
5
+ * Per-identity cap. Keyed by the contact's external_id (not the
6
+ *
7
+ * @remarks
8
+ * internal Mongo `_id`) so the scope is stable across imports.
9
+ */
10
+ export type IdentityBudgetScopeRestResponse = {
11
+ identityExternalId?: string | undefined;
12
+ };
13
+ /** @internal */
14
+ export declare const IdentityBudgetScopeRestResponse$inboundSchema: z.ZodType<IdentityBudgetScopeRestResponse, z.ZodTypeDef, unknown>;
15
+ export declare function identityBudgetScopeRestResponseFromJSON(jsonString: string): SafeParseResult<IdentityBudgetScopeRestResponse, SDKValidationError>;
16
+ //# sourceMappingURL=identitybudgetscoperestresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identitybudgetscoperestresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/identitybudgetscoperestresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;GAKG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.IdentityBudgetScopeRestResponse$inboundSchema = void 0;
40
+ exports.identityBudgetScopeRestResponseFromJSON = identityBudgetScopeRestResponseFromJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ const schemas_js_1 = require("../../lib/schemas.js");
43
+ /** @internal */
44
+ exports.IdentityBudgetScopeRestResponse$inboundSchema = z.object({
45
+ identityExternalId: z.string().optional(),
46
+ });
47
+ function identityBudgetScopeRestResponseFromJSON(jsonString) {
48
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IdentityBudgetScopeRestResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IdentityBudgetScopeRestResponse' from JSON`);
49
+ }
50
+ //# sourceMappingURL=identitybudgetscoperestresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identitybudgetscoperestresponse.js","sourceRoot":"","sources":["../../src/models/components/identitybudgetscoperestresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,0FAQC;AAhCD,0CAA4B;AAC5B,qDAAiD;AAcjD,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}