@orq-ai/node 4.14.0-rc.12 → 4.14.0-rc.13

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 (408) hide show
  1. package/README.md +56 -37
  2. package/funcs/workspaceSecurityAddIPRange.d.ts +18 -0
  3. package/funcs/workspaceSecurityAddIPRange.d.ts.map +1 -0
  4. package/funcs/workspaceSecurityAddIPRange.js +122 -0
  5. package/funcs/workspaceSecurityAddIPRange.js.map +1 -0
  6. package/funcs/workspaceSecurityCreateDomain.d.ts +18 -0
  7. package/funcs/workspaceSecurityCreateDomain.d.ts.map +1 -0
  8. package/funcs/workspaceSecurityCreateDomain.js +124 -0
  9. package/funcs/workspaceSecurityCreateDomain.js.map +1 -0
  10. package/funcs/workspaceSecurityDeleteDomain.d.ts +17 -0
  11. package/funcs/workspaceSecurityDeleteDomain.d.ts.map +1 -0
  12. package/funcs/workspaceSecurityDeleteDomain.js +125 -0
  13. package/funcs/workspaceSecurityDeleteDomain.js.map +1 -0
  14. package/funcs/workspaceSecurityDeleteIPRange.d.ts +17 -0
  15. package/funcs/workspaceSecurityDeleteIPRange.d.ts.map +1 -0
  16. package/funcs/workspaceSecurityDeleteIPRange.js +125 -0
  17. package/funcs/workspaceSecurityDeleteIPRange.js.map +1 -0
  18. package/funcs/workspaceSecurityGetIPAllowlist.d.ts +18 -0
  19. package/funcs/workspaceSecurityGetIPAllowlist.d.ts.map +1 -0
  20. package/funcs/workspaceSecurityGetIPAllowlist.js +121 -0
  21. package/funcs/workspaceSecurityGetIPAllowlist.js.map +1 -0
  22. package/funcs/workspaceSecurityListDomains.d.ts +18 -0
  23. package/funcs/workspaceSecurityListDomains.d.ts.map +1 -0
  24. package/funcs/workspaceSecurityListDomains.js +121 -0
  25. package/funcs/workspaceSecurityListDomains.js.map +1 -0
  26. package/funcs/workspaceSecurityUpdateIPAllowlist.d.ts +18 -0
  27. package/funcs/workspaceSecurityUpdateIPAllowlist.d.ts.map +1 -0
  28. package/funcs/workspaceSecurityUpdateIPAllowlist.js +124 -0
  29. package/funcs/workspaceSecurityUpdateIPAllowlist.js.map +1 -0
  30. package/funcs/workspaceSecurityVerifyDomain.d.ts +18 -0
  31. package/funcs/workspaceSecurityVerifyDomain.d.ts.map +1 -0
  32. package/funcs/workspaceSecurityVerifyDomain.js +125 -0
  33. package/funcs/workspaceSecurityVerifyDomain.js.map +1 -0
  34. package/jsr.json +1 -1
  35. package/lib/config.d.ts +2 -2
  36. package/lib/config.js +2 -2
  37. package/models/components/addiprangerequest.d.ts +14 -0
  38. package/models/components/addiprangerequest.d.ts.map +1 -0
  39. package/models/components/addiprangerequest.js +50 -0
  40. package/models/components/addiprangerequest.js.map +1 -0
  41. package/models/components/addiprangeresponse.d.ts +11 -0
  42. package/models/components/addiprangeresponse.d.ts.map +1 -0
  43. package/models/components/addiprangeresponse.js +51 -0
  44. package/models/components/addiprangeresponse.js.map +1 -0
  45. package/models/components/createdomainrequest.d.ts +12 -0
  46. package/models/components/createdomainrequest.d.ts.map +1 -0
  47. package/models/components/createdomainrequest.js +49 -0
  48. package/models/components/createdomainrequest.js.map +1 -0
  49. package/models/components/createdomainresponse.d.ts +11 -0
  50. package/models/components/createdomainresponse.d.ts.map +1 -0
  51. package/models/components/createdomainresponse.js +51 -0
  52. package/models/components/createdomainresponse.js.map +1 -0
  53. package/models/components/domainverification.d.ts +19 -0
  54. package/models/components/domainverification.d.ts.map +1 -0
  55. package/models/components/domainverification.js +71 -0
  56. package/models/components/domainverification.js.map +1 -0
  57. package/models/components/domainverificationstatus.d.ts +11 -0
  58. package/models/components/domainverificationstatus.d.ts.map +1 -0
  59. package/models/components/domainverificationstatus.js +48 -0
  60. package/models/components/domainverificationstatus.js.map +1 -0
  61. package/models/components/evaluatorresponsefunction.js +2 -2
  62. package/models/components/evaluatorresponsehttp.js +2 -2
  63. package/models/components/evaluatorresponsejsonschema.js +2 -2
  64. package/models/components/evaluatorresponsellm.js +2 -2
  65. package/models/components/evaluatorresponsepython.js +2 -2
  66. package/models/components/evaluatorresponseragas.js +2 -2
  67. package/models/components/evaluatorresponsetypescript.js +2 -2
  68. package/models/components/getipallowlistresponse.d.ts +12 -0
  69. package/models/components/getipallowlistresponse.d.ts.map +1 -0
  70. package/models/components/getipallowlistresponse.js +58 -0
  71. package/models/components/getipallowlistresponse.js.map +1 -0
  72. package/models/components/index.d.ts +13 -0
  73. package/models/components/index.d.ts.map +1 -1
  74. package/models/components/index.js +13 -0
  75. package/models/components/index.js.map +1 -1
  76. package/models/components/ipallowlist.d.ts +12 -0
  77. package/models/components/ipallowlist.d.ts.map +1 -0
  78. package/models/components/ipallowlist.js +52 -0
  79. package/models/components/ipallowlist.js.map +1 -0
  80. package/models/components/iprange.d.ts +14 -0
  81. package/models/components/iprange.d.ts.map +1 -0
  82. package/models/components/iprange.js +60 -0
  83. package/models/components/iprange.js.map +1 -0
  84. package/models/components/listdomainsresponse.d.ts +11 -0
  85. package/models/components/listdomainsresponse.d.ts.map +1 -0
  86. package/models/components/listdomainsresponse.js +51 -0
  87. package/models/components/listdomainsresponse.js.map +1 -0
  88. package/models/components/reasoningpart.js +1 -1
  89. package/models/components/updateipallowlistrequest.d.ts +12 -0
  90. package/models/components/updateipallowlistrequest.d.ts.map +1 -0
  91. package/models/components/updateipallowlistrequest.js +49 -0
  92. package/models/components/updateipallowlistrequest.js.map +1 -0
  93. package/models/components/updateipallowlistresponse.d.ts +11 -0
  94. package/models/components/updateipallowlistresponse.d.ts.map +1 -0
  95. package/models/components/updateipallowlistresponse.js +56 -0
  96. package/models/components/updateipallowlistresponse.js.map +1 -0
  97. package/models/components/verifydomainresponse.d.ts +11 -0
  98. package/models/components/verifydomainresponse.d.ts.map +1 -0
  99. package/models/components/verifydomainresponse.js +51 -0
  100. package/models/components/verifydomainresponse.js.map +1 -0
  101. package/models/operations/createannotationqueue.js +1 -1
  102. package/models/operations/createdataset.js +1 -1
  103. package/models/operations/createdatasetitem.js +5 -5
  104. package/models/operations/createdatasource.js +1 -1
  105. package/models/operations/createtool.js +6 -6
  106. package/models/operations/getalltools.js +6 -6
  107. package/models/operations/geteval.js +16 -16
  108. package/models/operations/getv2humanevalsets.js +2 -2
  109. package/models/operations/getv2humanevalsetsid.js +2 -2
  110. package/models/operations/index.d.ts +8 -0
  111. package/models/operations/index.d.ts.map +1 -1
  112. package/models/operations/index.js +8 -0
  113. package/models/operations/index.js.map +1 -1
  114. package/models/operations/listannotationqueues.js +1 -1
  115. package/models/operations/listdatasetdatapoints.js +5 -5
  116. package/models/operations/listdatasets.js +1 -1
  117. package/models/operations/listdatasources.js +1 -1
  118. package/models/operations/patchv2humanevalsetsid.js +2 -2
  119. package/models/operations/postv2feedbackevaluation.js +4 -4
  120. package/models/operations/postv2humanevalsets.js +2 -2
  121. package/models/operations/responsebodynodes.js +33 -33
  122. package/models/operations/retrieveannotationqueue.js +1 -1
  123. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.js +31 -31
  124. package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.js +6 -6
  125. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.js +16 -16
  126. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.js +14 -14
  127. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.js +18 -18
  128. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.js +16 -16
  129. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.js +2 -2
  130. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.js +16 -16
  131. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.js +2 -2
  132. package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.js +16 -16
  133. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.js +34 -34
  134. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.js +7 -7
  135. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.js +32 -32
  136. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.js +15 -15
  137. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.js +2 -2
  138. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.js +19 -19
  139. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.js +4 -4
  140. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.js +17 -17
  141. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.js +30 -30
  142. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.js +15 -15
  143. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.js +7 -7
  144. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.js +21 -21
  145. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.js +4 -4
  146. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.js +17 -17
  147. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.js +24 -24
  148. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.js +5 -5
  149. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.js +19 -19
  150. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.js +1 -1
  151. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.js +32 -32
  152. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.js +11 -11
  153. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.js +26 -26
  154. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.js +5 -5
  155. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.js +19 -19
  156. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.js +2 -2
  157. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.js +1 -1
  158. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.js +32 -32
  159. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.js +3 -3
  160. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.js +15 -15
  161. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.js +30 -30
  162. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.js +11 -11
  163. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
  164. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.js +1 -1
  165. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.js +19 -19
  166. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.js +26 -26
  167. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.js +11 -11
  168. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.js +28 -28
  169. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.js +11 -11
  170. package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.js +25 -25
  171. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.js +28 -28
  172. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.js +20 -20
  173. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.js +20 -20
  174. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.js +28 -28
  175. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.js +24 -24
  176. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.js +20 -20
  177. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.js +24 -24
  178. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.js +24 -24
  179. package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.js +24 -24
  180. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.js +2 -2
  181. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.js +18 -18
  182. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.js +4 -4
  183. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.js +30 -30
  184. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.js +30 -30
  185. package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.js +4 -4
  186. package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
  187. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.js +1 -1
  188. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.js +33 -33
  189. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.js +31 -31
  190. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.js +1 -1
  191. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.js +1 -1
  192. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.js +32 -32
  193. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.js +1 -1
  194. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.js +1 -1
  195. package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.js +1 -1
  196. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.js +10 -10
  197. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.js +8 -8
  198. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.js +10 -10
  199. package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.js +8 -8
  200. package/models/operations/retrievedatapoint.js +5 -5
  201. package/models/operations/retrievedataset.js +1 -1
  202. package/models/operations/retrievedatasource.js +1 -1
  203. package/models/operations/retrievetool.js +6 -6
  204. package/models/operations/runagent.js +1 -1
  205. package/models/operations/streamrunagent.js +1 -1
  206. package/models/operations/summary4.js +10 -10
  207. package/models/operations/twentythree.js +1 -1
  208. package/models/operations/updateannotationqueue.js +1 -1
  209. package/models/operations/updatedatapoint.js +5 -5
  210. package/models/operations/updatedataset.js +1 -1
  211. package/models/operations/updatedatasource.js +1 -1
  212. package/models/operations/updatetool.js +7 -7
  213. package/models/operations/workspacesecurityaddiprange.d.ts +15 -0
  214. package/models/operations/workspacesecurityaddiprange.d.ts.map +1 -0
  215. package/models/operations/workspacesecurityaddiprange.js +57 -0
  216. package/models/operations/workspacesecurityaddiprange.js.map +1 -0
  217. package/models/operations/workspacesecuritycreatedomain.d.ts +15 -0
  218. package/models/operations/workspacesecuritycreatedomain.d.ts.map +1 -0
  219. package/models/operations/workspacesecuritycreatedomain.js +57 -0
  220. package/models/operations/workspacesecuritycreatedomain.js.map +1 -0
  221. package/models/operations/workspacesecuritydeletedomain.d.ts +14 -0
  222. package/models/operations/workspacesecuritydeletedomain.d.ts.map +1 -0
  223. package/models/operations/workspacesecuritydeletedomain.js +56 -0
  224. package/models/operations/workspacesecuritydeletedomain.js.map +1 -0
  225. package/models/operations/workspacesecuritydeleteiprange.d.ts +14 -0
  226. package/models/operations/workspacesecuritydeleteiprange.d.ts.map +1 -0
  227. package/models/operations/workspacesecuritydeleteiprange.js +56 -0
  228. package/models/operations/workspacesecuritydeleteiprange.js.map +1 -0
  229. package/models/operations/workspacesecuritygetipallowlist.d.ts +12 -0
  230. package/models/operations/workspacesecuritygetipallowlist.d.ts.map +1 -0
  231. package/models/operations/workspacesecuritygetipallowlist.js +54 -0
  232. package/models/operations/workspacesecuritygetipallowlist.js.map +1 -0
  233. package/models/operations/workspacesecuritylistdomains.d.ts +12 -0
  234. package/models/operations/workspacesecuritylistdomains.d.ts.map +1 -0
  235. package/models/operations/workspacesecuritylistdomains.js +54 -0
  236. package/models/operations/workspacesecuritylistdomains.js.map +1 -0
  237. package/models/operations/workspacesecurityupdateipallowlist.d.ts +15 -0
  238. package/models/operations/workspacesecurityupdateipallowlist.d.ts.map +1 -0
  239. package/models/operations/workspacesecurityupdateipallowlist.js +57 -0
  240. package/models/operations/workspacesecurityupdateipallowlist.js.map +1 -0
  241. package/models/operations/workspacesecurityverifydomain.d.ts +14 -0
  242. package/models/operations/workspacesecurityverifydomain.d.ts.map +1 -0
  243. package/models/operations/workspacesecurityverifydomain.js +56 -0
  244. package/models/operations/workspacesecurityverifydomain.js.map +1 -0
  245. package/package.json +7 -7
  246. package/sdk/feedback.d.ts +1 -4
  247. package/sdk/feedback.d.ts.map +1 -1
  248. package/sdk/feedback.js +1 -4
  249. package/sdk/feedback.js.map +1 -1
  250. package/sdk/sdk.d.ts +3 -0
  251. package/sdk/sdk.d.ts.map +1 -1
  252. package/sdk/sdk.js +4 -0
  253. package/sdk/sdk.js.map +1 -1
  254. package/sdk/workspacesecurity.d.ts +62 -0
  255. package/sdk/workspacesecurity.d.ts.map +1 -0
  256. package/sdk/workspacesecurity.js +92 -0
  257. package/sdk/workspacesecurity.js.map +1 -0
  258. package/src/funcs/workspaceSecurityAddIPRange.ts +172 -0
  259. package/src/funcs/workspaceSecurityCreateDomain.ts +174 -0
  260. package/src/funcs/workspaceSecurityDeleteDomain.ts +177 -0
  261. package/src/funcs/workspaceSecurityDeleteIPRange.ts +177 -0
  262. package/src/funcs/workspaceSecurityGetIPAllowlist.ts +171 -0
  263. package/src/funcs/workspaceSecurityListDomains.ts +171 -0
  264. package/src/funcs/workspaceSecurityUpdateIPAllowlist.ts +174 -0
  265. package/src/funcs/workspaceSecurityVerifyDomain.ts +177 -0
  266. package/src/lib/config.ts +2 -2
  267. package/src/models/components/addiprangerequest.ts +34 -0
  268. package/src/models/components/addiprangeresponse.ts +32 -0
  269. package/src/models/components/createdomainrequest.ts +31 -0
  270. package/src/models/components/createdomainresponse.ts +35 -0
  271. package/src/models/components/domainverification.ts +63 -0
  272. package/src/models/components/domainverificationstatus.ts +20 -0
  273. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  274. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  275. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  276. package/src/models/components/evaluatorresponsellm.ts +2 -2
  277. package/src/models/components/evaluatorresponsepython.ts +2 -2
  278. package/src/models/components/evaluatorresponseragas.ts +2 -2
  279. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  280. package/src/models/components/getipallowlistresponse.ts +40 -0
  281. package/src/models/components/index.ts +13 -0
  282. package/src/models/components/ipallowlist.ts +34 -0
  283. package/src/models/components/iprange.ts +44 -0
  284. package/src/models/components/listdomainsresponse.ts +35 -0
  285. package/src/models/components/reasoningpart.ts +1 -1
  286. package/src/models/components/updateipallowlistrequest.ts +31 -0
  287. package/src/models/components/updateipallowlistresponse.ts +37 -0
  288. package/src/models/components/verifydomainresponse.ts +35 -0
  289. package/src/models/operations/createannotationqueue.ts +1 -1
  290. package/src/models/operations/createdataset.ts +1 -1
  291. package/src/models/operations/createdatasetitem.ts +5 -5
  292. package/src/models/operations/createdatasource.ts +1 -1
  293. package/src/models/operations/createtool.ts +6 -6
  294. package/src/models/operations/getalltools.ts +6 -6
  295. package/src/models/operations/geteval.ts +16 -16
  296. package/src/models/operations/getv2humanevalsets.ts +2 -2
  297. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  298. package/src/models/operations/index.ts +8 -0
  299. package/src/models/operations/listannotationqueues.ts +1 -1
  300. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  301. package/src/models/operations/listdatasets.ts +1 -1
  302. package/src/models/operations/listdatasources.ts +1 -1
  303. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  304. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  305. package/src/models/operations/postv2humanevalsets.ts +2 -2
  306. package/src/models/operations/responsebodynodes.ts +33 -33
  307. package/src/models/operations/retrieveannotationqueue.ts +1 -1
  308. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody204.ts +31 -31
  309. package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutput2.ts +6 -6
  310. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody13attributes5.ts +16 -16
  311. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody19attributeslogprobs.ts +14 -14
  312. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributes8.ts +18 -18
  313. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody24attributesopenresponsesoutput44type.ts +16 -16
  314. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody257.ts +2 -2
  315. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributesopenresponsesoutput44type.ts +16 -16
  316. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody307.ts +2 -2
  317. package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody44.ts +16 -16
  318. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse1.ts +34 -34
  319. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse20015.ts +7 -7
  320. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody102.ts +32 -32
  321. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq10kind.ts +15 -15
  322. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorqsource.ts +2 -2
  323. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody13attributesorq8kind.ts +19 -19
  324. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1417.ts +4 -4
  325. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq9evaluationtype.ts +17 -17
  326. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody16attributesstatus.ts +30 -30
  327. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq10evaluatorconfigtype.ts +15 -15
  328. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq14outputschema.ts +7 -7
  329. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq7annotator.ts +21 -21
  330. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq16annotator.ts +4 -4
  331. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq9annotator.ts +17 -17
  332. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorq5outputschema.ts +24 -24
  333. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq15outputschema.ts +5 -5
  334. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq8annotator.ts +19 -19
  335. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq19kind.ts +1 -1
  336. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25status.ts +32 -32
  337. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody26attributesorq12status.ts +11 -11
  338. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorq4evaluationtype.ts +26 -26
  339. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq15outputschema.ts +5 -5
  340. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq8annotator.ts +19 -19
  341. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2source.ts +2 -2
  342. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq19kind.ts +1 -1
  343. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30status.ts +32 -32
  344. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq17type.ts +3 -3
  345. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorqvalue.ts +15 -15
  346. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesevaluatorconfigtype.ts +30 -30
  347. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3413.ts +11 -11
  348. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
  349. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq19outputschema.ts +1 -1
  350. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq8outputschema.ts +19 -19
  351. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq4kind.ts +26 -26
  352. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq12status.ts +11 -11
  353. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorqannotator.ts +28 -28
  354. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq12evaluatorconfigtype.ts +11 -11
  355. package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponseevaluatorconfigtype.ts +25 -25
  356. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse2008.ts +28 -28
  357. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody11attributestype.ts +20 -20
  358. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody173.ts +20 -20
  359. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody18attributesopenresponses6role.ts +28 -28
  360. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26attributesopenresponsestype.ts +24 -24
  361. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody321.ts +20 -20
  362. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody345.ts +24 -24
  363. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody7attributesopenresponsestype.ts +24 -24
  364. package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody9attributesrole.ts +24 -24
  365. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody10role.ts +2 -2
  366. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody155.ts +18 -18
  367. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody16status.ts +4 -4
  368. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody23attributes1.ts +30 -30
  369. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody28attributes1.ts +30 -30
  370. package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody333.ts +4 -4
  371. package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
  372. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10evaluation.ts +1 -1
  373. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12nodes.ts +33 -33
  374. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14attributesresponse.ts +31 -31
  375. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16score.ts +1 -1
  376. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27choice.ts +1 -1
  377. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31otlp.ts +32 -32
  378. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33provider.ts +1 -1
  379. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson6response.ts +1 -1
  380. package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8tool.ts +1 -1
  381. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody22attributestype.ts +10 -10
  382. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody27logprobs.ts +8 -8
  383. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody353.ts +10 -10
  384. package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody6type.ts +8 -8
  385. package/src/models/operations/retrievedatapoint.ts +5 -5
  386. package/src/models/operations/retrievedataset.ts +1 -1
  387. package/src/models/operations/retrievedatasource.ts +1 -1
  388. package/src/models/operations/retrievetool.ts +6 -6
  389. package/src/models/operations/runagent.ts +1 -1
  390. package/src/models/operations/streamrunagent.ts +1 -1
  391. package/src/models/operations/summary4.ts +10 -10
  392. package/src/models/operations/twentythree.ts +1 -1
  393. package/src/models/operations/updateannotationqueue.ts +1 -1
  394. package/src/models/operations/updatedatapoint.ts +5 -5
  395. package/src/models/operations/updatedataset.ts +1 -1
  396. package/src/models/operations/updatedatasource.ts +1 -1
  397. package/src/models/operations/updatetool.ts +7 -7
  398. package/src/models/operations/workspacesecurityaddiprange.ts +43 -0
  399. package/src/models/operations/workspacesecuritycreatedomain.ts +43 -0
  400. package/src/models/operations/workspacesecuritydeletedomain.ts +42 -0
  401. package/src/models/operations/workspacesecuritydeleteiprange.ts +42 -0
  402. package/src/models/operations/workspacesecuritygetipallowlist.ts +39 -0
  403. package/src/models/operations/workspacesecuritylistdomains.ts +38 -0
  404. package/src/models/operations/workspacesecurityupdateipallowlist.ts +46 -0
  405. package/src/models/operations/workspacesecurityverifydomain.ts +42 -0
  406. package/src/sdk/feedback.ts +1 -4
  407. package/src/sdk/sdk.ts +6 -0
  408. package/src/sdk/workspacesecurity.ts +154 -0
@@ -0,0 +1,125 @@
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.workspaceSecurityVerifyDomain = workspaceSecurityVerifyDomain;
40
+ const encodings_js_1 = require("../lib/encodings.js");
41
+ const http_js_1 = require("../lib/http.js");
42
+ const M = __importStar(require("../lib/matchers.js"));
43
+ const primitives_js_1 = require("../lib/primitives.js");
44
+ const schemas_js_1 = require("../lib/schemas.js");
45
+ const security_js_1 = require("../lib/security.js");
46
+ const url_js_1 = require("../lib/url.js");
47
+ const components = __importStar(require("../models/components/index.js"));
48
+ const operations = __importStar(require("../models/operations/index.js"));
49
+ const async_js_1 = require("../types/async.js");
50
+ /**
51
+ * Verify a domain
52
+ *
53
+ * @remarks
54
+ * Checks DNS for the expected TXT record and marks the domain as verified when it matches.
55
+ */
56
+ function workspaceSecurityVerifyDomain(client, request, options) {
57
+ return new async_js_1.APIPromise($do(client, request, options));
58
+ }
59
+ async function $do(client, request, options) {
60
+ const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.WorkspaceSecurityVerifyDomainRequest$outboundSchema.parse(value), "Input validation failed");
61
+ if (!parsed.ok) {
62
+ return [parsed, { status: "invalid" }];
63
+ }
64
+ const payload = parsed.value;
65
+ const body = null;
66
+ const pathParams = {
67
+ domain_id: (0, encodings_js_1.encodeSimple)("domain_id", payload.domain_id, {
68
+ explode: false,
69
+ charEncoding: "percent",
70
+ }),
71
+ workspace_key: (0, encodings_js_1.encodeSimple)("workspace_key", payload.workspace_key, {
72
+ explode: false,
73
+ charEncoding: "percent",
74
+ }),
75
+ };
76
+ const path = (0, url_js_1.pathToFunc)("/v2/{workspace_key}/domains/{domain_id}/verify")(pathParams);
77
+ const headers = new Headers((0, primitives_js_1.compactMap)({
78
+ Accept: "application/json",
79
+ }));
80
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
81
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
82
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
83
+ const context = {
84
+ options: client._options,
85
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
86
+ operationID: "WorkspaceSecurityVerifyDomain",
87
+ oAuth2Scopes: null,
88
+ resolvedSecurity: requestSecurity,
89
+ securitySource: client._options.apiKey,
90
+ retryConfig: options?.retries
91
+ || client._options.retryConfig
92
+ || { strategy: "none" },
93
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
94
+ };
95
+ const requestRes = client._createRequest(context, {
96
+ security: requestSecurity,
97
+ method: "POST",
98
+ baseURL: options?.serverURL,
99
+ path: path,
100
+ headers: headers,
101
+ body: body,
102
+ userAgent: client._options.userAgent,
103
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
104
+ }, options);
105
+ if (!requestRes.ok) {
106
+ return [requestRes, { status: "invalid" }];
107
+ }
108
+ const req = requestRes.value;
109
+ const doResult = await client._do(req, {
110
+ context,
111
+ isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
112
+ retryConfig: context.retryConfig,
113
+ retryCodes: context.retryCodes,
114
+ });
115
+ if (!doResult.ok) {
116
+ return [doResult, { status: "request-error", request: req }];
117
+ }
118
+ const response = doResult.value;
119
+ const [result] = await M.match(M.json(200, components.VerifyDomainResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
120
+ if (!result.ok) {
121
+ return [result, { status: "complete", request: req, response }];
122
+ }
123
+ return [result, { status: "complete", request: req, response }];
124
+ }
125
+ //# sourceMappingURL=workspaceSecurityVerifyDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityVerifyDomain.js","sourceRoot":"","sources":["../src/funcs/workspaceSecurityVerifyDomain.ts"],"names":[],"mappings":"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"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@orq-ai/node",
5
- "version": "4.14.0-rc.12",
5
+ "version": "4.14.0-rc.13",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "2.0";
34
- readonly sdkVersion: "4.14.0-rc.12";
34
+ readonly sdkVersion: "4.14.0-rc.13";
35
35
  readonly genVersion: "2.928.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 4.14.0-rc.12 2.928.0 2.0 @orq-ai/node";
36
+ readonly userAgent: "speakeasy-sdk/typescript 4.14.0-rc.13 2.928.0 2.0 @orq-ai/node";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
28
28
  exports.SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "2.0",
31
- sdkVersion: "4.14.0-rc.12",
31
+ sdkVersion: "4.14.0-rc.13",
32
32
  genVersion: "2.928.0",
33
- userAgent: "speakeasy-sdk/typescript 4.14.0-rc.12 2.928.0 2.0 @orq-ai/node",
33
+ userAgent: "speakeasy-sdk/typescript 4.14.0-rc.13 2.928.0 2.0 @orq-ai/node",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -0,0 +1,14 @@
1
+ import * as z from "zod/v3";
2
+ export type AddIPRangeRequest = {
3
+ cidr?: string | undefined;
4
+ description?: string | undefined;
5
+ };
6
+ /** @internal */
7
+ export type AddIPRangeRequest$Outbound = {
8
+ cidr?: string | undefined;
9
+ description?: string | undefined;
10
+ };
11
+ /** @internal */
12
+ export declare const AddIPRangeRequest$outboundSchema: z.ZodType<AddIPRangeRequest$Outbound, z.ZodTypeDef, AddIPRangeRequest>;
13
+ export declare function addIPRangeRequestToJSON(addIPRangeRequest: AddIPRangeRequest): string;
14
+ //# sourceMappingURL=addiprangerequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addiprangerequest.d.ts","sourceRoot":"","sources":["../../src/models/components/addiprangerequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAIjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
@@ -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.AddIPRangeRequest$outboundSchema = void 0;
40
+ exports.addIPRangeRequestToJSON = addIPRangeRequestToJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ /** @internal */
43
+ exports.AddIPRangeRequest$outboundSchema = z.object({
44
+ cidr: z.string().optional(),
45
+ description: z.string().optional(),
46
+ });
47
+ function addIPRangeRequestToJSON(addIPRangeRequest) {
48
+ return JSON.stringify(exports.AddIPRangeRequest$outboundSchema.parse(addIPRangeRequest));
49
+ }
50
+ //# sourceMappingURL=addiprangerequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addiprangerequest.js","sourceRoot":"","sources":["../../src/models/components/addiprangerequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBH,0DAMC;AA7BD,0CAA4B;AAa5B,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,11 @@
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 { IPRange } from "./iprange.js";
5
+ export type AddIPRangeResponse = {
6
+ range: IPRange;
7
+ };
8
+ /** @internal */
9
+ export declare const AddIPRangeResponse$inboundSchema: z.ZodType<AddIPRangeResponse, z.ZodTypeDef, unknown>;
10
+ export declare function addIPRangeResponseFromJSON(jsonString: string): SafeParseResult<AddIPRangeResponse, SDKValidationError>;
11
+ //# sourceMappingURL=addiprangeresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addiprangeresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/addiprangeresponse.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,OAAO,EAAyB,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -0,0 +1,51 @@
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.AddIPRangeResponse$inboundSchema = void 0;
40
+ exports.addIPRangeResponseFromJSON = addIPRangeResponseFromJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ const schemas_js_1 = require("../../lib/schemas.js");
43
+ const iprange_js_1 = require("./iprange.js");
44
+ /** @internal */
45
+ exports.AddIPRangeResponse$inboundSchema = z.object({
46
+ range: iprange_js_1.IPRange$inboundSchema,
47
+ });
48
+ function addIPRangeResponseFromJSON(jsonString) {
49
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AddIPRangeResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AddIPRangeResponse' from JSON`);
50
+ }
51
+ //# sourceMappingURL=addiprangeresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addiprangeresponse.js","sourceRoot":"","sources":["../../src/models/components/addiprangeresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBH,gEAQC;AA3BD,0CAA4B;AAC5B,qDAAiD;AAGjD,6CAA8D;AAM9D,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,kCAAqB;CAC7B,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,12 @@
1
+ import * as z from "zod/v3";
2
+ export type CreateDomainRequest = {
3
+ domain?: string | undefined;
4
+ };
5
+ /** @internal */
6
+ export type CreateDomainRequest$Outbound = {
7
+ domain?: string | undefined;
8
+ };
9
+ /** @internal */
10
+ export declare const CreateDomainRequest$outboundSchema: z.ZodType<CreateDomainRequest$Outbound, z.ZodTypeDef, CreateDomainRequest>;
11
+ export declare function createDomainRequestToJSON(createDomainRequest: CreateDomainRequest): string;
12
+ //# sourceMappingURL=createdomainrequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createdomainrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/createdomainrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAGnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
@@ -0,0 +1,49 @@
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.CreateDomainRequest$outboundSchema = void 0;
40
+ exports.createDomainRequestToJSON = createDomainRequestToJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ /** @internal */
43
+ exports.CreateDomainRequest$outboundSchema = z.object({
44
+ domain: z.string().optional(),
45
+ });
46
+ function createDomainRequestToJSON(createDomainRequest) {
47
+ return JSON.stringify(exports.CreateDomainRequest$outboundSchema.parse(createDomainRequest));
48
+ }
49
+ //# sourceMappingURL=createdomainrequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createdomainrequest.js","sourceRoot":"","sources":["../../src/models/components/createdomainrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBH,8DAMC;AA1BD,0CAA4B;AAW5B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,11 @@
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 { DomainVerification } from "./domainverification.js";
5
+ export type CreateDomainResponse = {
6
+ domain: DomainVerification;
7
+ };
8
+ /** @internal */
9
+ export declare const CreateDomainResponse$inboundSchema: z.ZodType<CreateDomainResponse, z.ZodTypeDef, unknown>;
10
+ export declare function createDomainResponseFromJSON(jsonString: string): SafeParseResult<CreateDomainResponse, SDKValidationError>;
11
+ //# sourceMappingURL=createdomainresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createdomainresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createdomainresponse.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,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"}
@@ -0,0 +1,51 @@
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.CreateDomainResponse$inboundSchema = void 0;
40
+ exports.createDomainResponseFromJSON = createDomainResponseFromJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ const schemas_js_1 = require("../../lib/schemas.js");
43
+ const domainverification_js_1 = require("./domainverification.js");
44
+ /** @internal */
45
+ exports.CreateDomainResponse$inboundSchema = z.object({
46
+ domain: domainverification_js_1.DomainVerification$inboundSchema,
47
+ });
48
+ function createDomainResponseFromJSON(jsonString) {
49
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateDomainResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateDomainResponse' from JSON`);
50
+ }
51
+ //# sourceMappingURL=createdomainresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createdomainresponse.js","sourceRoot":"","sources":["../../src/models/components/createdomainresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,oEAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAGjD,mEAGiC;AAMjC,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"}
@@ -0,0 +1,19 @@
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 { DomainVerificationStatus } from "./domainverificationstatus.js";
5
+ export type DomainVerification = {
6
+ id: string;
7
+ domain: string;
8
+ status: DomainVerificationStatus;
9
+ txtName: string;
10
+ txtValue: string;
11
+ createdAt: Date;
12
+ expiresAt?: Date | undefined;
13
+ verifiedAt?: Date | undefined;
14
+ createdById?: string | undefined;
15
+ };
16
+ /** @internal */
17
+ export declare const DomainVerification$inboundSchema: z.ZodType<DomainVerification, z.ZodTypeDef, unknown>;
18
+ export declare function domainVerificationFromJSON(jsonString: string): SafeParseResult<DomainVerification, SDKValidationError>;
19
+ //# sourceMappingURL=domainverification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainverification.d.ts","sourceRoot":"","sources":["../../src/models/components/domainverification.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,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,wBAAwB,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B,UAAU,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAsBP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -0,0 +1,71 @@
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.DomainVerification$inboundSchema = void 0;
40
+ exports.domainVerificationFromJSON = domainVerificationFromJSON;
41
+ const z = __importStar(require("zod/v3"));
42
+ const primitives_js_1 = require("../../lib/primitives.js");
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const domainverificationstatus_js_1 = require("./domainverificationstatus.js");
45
+ /** @internal */
46
+ exports.DomainVerification$inboundSchema = z.object({
47
+ id: z.string(),
48
+ domain: z.string(),
49
+ status: domainverificationstatus_js_1.DomainVerificationStatus$inboundSchema,
50
+ txt_name: z.string(),
51
+ txt_value: z.string(),
52
+ created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
53
+ expires_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
54
+ .optional(),
55
+ verified_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
56
+ .optional(),
57
+ created_by_id: z.string().optional(),
58
+ }).transform((v) => {
59
+ return (0, primitives_js_1.remap)(v, {
60
+ "txt_name": "txtName",
61
+ "txt_value": "txtValue",
62
+ "created_at": "createdAt",
63
+ "expires_at": "expiresAt",
64
+ "verified_at": "verifiedAt",
65
+ "created_by_id": "createdById",
66
+ });
67
+ });
68
+ function domainVerificationFromJSON(jsonString) {
69
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DomainVerification$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DomainVerification' from JSON`);
70
+ }
71
+ //# sourceMappingURL=domainverification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainverification.js","sourceRoot":"","sources":["../../src/models/components/domainverification.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDH,gEAQC;AA1DD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,+EAGuC;AAcvC,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,oEAAsC;IAC9C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,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;IAC7E,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,EAAE;IACb,WAAW,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;SAC3E,QAAQ,EAAE;IACb,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,WAAW,EAAE,UAAU;QACvB,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,WAAW;QACzB,aAAa,EAAE,YAAY;QAC3B,eAAe,EAAE,aAAa;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as z from "zod/v3";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ export declare const DomainVerificationStatus: {
4
+ readonly DomainVerificationStatusUnspecified: "DOMAIN_VERIFICATION_STATUS_UNSPECIFIED";
5
+ readonly DomainVerificationStatusPending: "DOMAIN_VERIFICATION_STATUS_PENDING";
6
+ readonly DomainVerificationStatusVerified: "DOMAIN_VERIFICATION_STATUS_VERIFIED";
7
+ };
8
+ export type DomainVerificationStatus = ClosedEnum<typeof DomainVerificationStatus>;
9
+ /** @internal */
10
+ export declare const DomainVerificationStatus$inboundSchema: z.ZodNativeEnum<typeof DomainVerificationStatus>;
11
+ //# sourceMappingURL=domainverificationstatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainverificationstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/domainverificationstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,aAAa,CAClE,OAAO,wBAAwB,CACS,CAAC"}
@@ -0,0 +1,48 @@
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.DomainVerificationStatus$inboundSchema = exports.DomainVerificationStatus = void 0;
40
+ const z = __importStar(require("zod/v3"));
41
+ exports.DomainVerificationStatus = {
42
+ DomainVerificationStatusUnspecified: "DOMAIN_VERIFICATION_STATUS_UNSPECIFIED",
43
+ DomainVerificationStatusPending: "DOMAIN_VERIFICATION_STATUS_PENDING",
44
+ DomainVerificationStatusVerified: "DOMAIN_VERIFICATION_STATUS_VERIFIED",
45
+ };
46
+ /** @internal */
47
+ exports.DomainVerificationStatus$inboundSchema = z.nativeEnum(exports.DomainVerificationStatus);
48
+ //# sourceMappingURL=domainverificationstatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainverificationstatus.js","sourceRoot":"","sources":["../../src/models/components/domainverificationstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,wBAAwB,GAAG;IACtC,mCAAmC,EAAE,wCAAwC;IAC7E,+BAA+B,EAAE,oCAAoC;IACrE,gCAAgC,EAAE,qCAAqC;CAC/D,CAAC;AAKX,gBAAgB;AACH,QAAA,sCAAsC,GAE/C,CAAC,CAAC,UAAU,CAAC,gCAAwB,CAAC,CAAC"}