@orq-ai/node 4.14.0-rc.11 → 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 +1 -1
  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.workspaceSecurityDeleteIPRange = workspaceSecurityDeleteIPRange;
40
+ const z = __importStar(require("zod/v3"));
41
+ const encodings_js_1 = require("../lib/encodings.js");
42
+ const http_js_1 = require("../lib/http.js");
43
+ const M = __importStar(require("../lib/matchers.js"));
44
+ const primitives_js_1 = require("../lib/primitives.js");
45
+ const schemas_js_1 = require("../lib/schemas.js");
46
+ const security_js_1 = require("../lib/security.js");
47
+ const url_js_1 = require("../lib/url.js");
48
+ const operations = __importStar(require("../models/operations/index.js"));
49
+ const async_js_1 = require("../types/async.js");
50
+ /**
51
+ * Delete an IP range
52
+ *
53
+ * @remarks
54
+ * Permanently removes a CIDR range from the workspace allowlist.
55
+ */
56
+ function workspaceSecurityDeleteIPRange(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.WorkspaceSecurityDeleteIPRangeRequest$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
+ range_id: (0, encodings_js_1.encodeSimple)("range_id", payload.range_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}/ip-allowlist/entries/{range_id}")(pathParams);
77
+ const headers = new Headers((0, primitives_js_1.compactMap)({
78
+ Accept: "*/*",
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: "WorkspaceSecurityDeleteIPRange",
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: "DELETE",
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.nil(200, z.void()), 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=workspaceSecurityDeleteIPRange.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityDeleteIPRange.js","sourceRoot":"","sources":["../src/funcs/workspaceSecurityDeleteIPRange.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,wEAsBC;AApDD,0CAA4B;AAE5B,sDAAmD;AACnD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAW3C,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,8BAA8B,CAC5C,MAAe,EACf,OAAyD,EACzD,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAAyD,EACzD,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,oDAAoD,CAAC,KAAK,CACnE,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,UAAU,GAAG;QACjB,QAAQ,EAAE,IAAA,2BAAY,EAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE;YACnD,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,SAAS;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B,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { OrqCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import * as components from "../models/components/index.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import { OrqError } from "../models/errors/orqerror.js";
6
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { APIPromise } from "../types/async.js";
10
+ import { Result } from "../types/fp.js";
11
+ /**
12
+ * Retrieve the IP allowlist
13
+ *
14
+ * @remarks
15
+ * Returns the workspace IP allowlist and the current caller IP when available.
16
+ */
17
+ export declare function workspaceSecurityGetIPAllowlist(client: OrqCore, request: operations.WorkspaceSecurityGetIPAllowlistRequest, options?: RequestOptions): APIPromise<Result<components.GetIPAllowlistResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
+ //# sourceMappingURL=workspaceSecurityGetIPAllowlist.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityGetIPAllowlist.d.ts","sourceRoot":"","sources":["../src/funcs/workspaceSecurityGetIPAllowlist.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -0,0 +1,121 @@
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.workspaceSecurityGetIPAllowlist = workspaceSecurityGetIPAllowlist;
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
+ * Retrieve the IP allowlist
52
+ *
53
+ * @remarks
54
+ * Returns the workspace IP allowlist and the current caller IP when available.
55
+ */
56
+ function workspaceSecurityGetIPAllowlist(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.WorkspaceSecurityGetIPAllowlistRequest$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
+ workspace_key: (0, encodings_js_1.encodeSimple)("workspace_key", payload.workspace_key, {
68
+ explode: false,
69
+ charEncoding: "percent",
70
+ }),
71
+ };
72
+ const path = (0, url_js_1.pathToFunc)("/v2/{workspace_key}/ip-allowlist")(pathParams);
73
+ const headers = new Headers((0, primitives_js_1.compactMap)({
74
+ Accept: "application/json",
75
+ }));
76
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
77
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
78
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
79
+ const context = {
80
+ options: client._options,
81
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
82
+ operationID: "WorkspaceSecurityGetIPAllowlist",
83
+ oAuth2Scopes: null,
84
+ resolvedSecurity: requestSecurity,
85
+ securitySource: client._options.apiKey,
86
+ retryConfig: options?.retries
87
+ || client._options.retryConfig
88
+ || { strategy: "none" },
89
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
90
+ };
91
+ const requestRes = client._createRequest(context, {
92
+ security: requestSecurity,
93
+ method: "GET",
94
+ baseURL: options?.serverURL,
95
+ path: path,
96
+ headers: headers,
97
+ body: body,
98
+ userAgent: client._options.userAgent,
99
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
100
+ }, options);
101
+ if (!requestRes.ok) {
102
+ return [requestRes, { status: "invalid" }];
103
+ }
104
+ const req = requestRes.value;
105
+ const doResult = await client._do(req, {
106
+ context,
107
+ isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
108
+ retryConfig: context.retryConfig,
109
+ retryCodes: context.retryCodes,
110
+ });
111
+ if (!doResult.ok) {
112
+ return [doResult, { status: "request-error", request: req }];
113
+ }
114
+ const response = doResult.value;
115
+ const [result] = await M.match(M.json(200, components.GetIPAllowlistResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
116
+ if (!result.ok) {
117
+ return [result, { status: "complete", request: req, response }];
118
+ }
119
+ return [result, { status: "complete", request: req, response }];
120
+ }
121
+ //# sourceMappingURL=workspaceSecurityGetIPAllowlist.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityGetIPAllowlist.js","sourceRoot":"","sources":["../src/funcs/workspaceSecurityGetIPAllowlist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,0EAsBC;AAnDD,sDAAmD;AACnD,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,+BAA+B,CAC7C,MAAe,EACf,OAA0D,EAC1D,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAA0D,EAC1D,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,qDAAqD,CAAC,KAAK,CACpE,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,UAAU,GAAG;QACjB,aAAa,EAAE,IAAA,2BAAY,EAAC,eAAe,EAAE,OAAO,CAAC,aAAa,EAAE;YAClE,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,SAAS;SACxB,CAAC;KACH,CAAC;IACF,MAAM,IA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ED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { OrqCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import * as components from "../models/components/index.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import { OrqError } from "../models/errors/orqerror.js";
6
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { APIPromise } from "../types/async.js";
10
+ import { Result } from "../types/fp.js";
11
+ /**
12
+ * List verified domains
13
+ *
14
+ * @remarks
15
+ * Lists domain-verification records for the workspace.
16
+ */
17
+ export declare function workspaceSecurityListDomains(client: OrqCore, request: operations.WorkspaceSecurityListDomainsRequest, options?: RequestOptions): APIPromise<Result<components.ListDomainsResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
+ //# sourceMappingURL=workspaceSecurityListDomains.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityListDomains.d.ts","sourceRoot":"","sources":["../src/funcs/workspaceSecurityListDomains.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,mCAAmC,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,mBAAmB,EAC5B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -0,0 +1,121 @@
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.workspaceSecurityListDomains = workspaceSecurityListDomains;
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
+ * List verified domains
52
+ *
53
+ * @remarks
54
+ * Lists domain-verification records for the workspace.
55
+ */
56
+ function workspaceSecurityListDomains(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.WorkspaceSecurityListDomainsRequest$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
+ workspace_key: (0, encodings_js_1.encodeSimple)("workspace_key", payload.workspace_key, {
68
+ explode: false,
69
+ charEncoding: "percent",
70
+ }),
71
+ };
72
+ const path = (0, url_js_1.pathToFunc)("/v2/{workspace_key}/domains")(pathParams);
73
+ const headers = new Headers((0, primitives_js_1.compactMap)({
74
+ Accept: "application/json",
75
+ }));
76
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
77
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
78
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
79
+ const context = {
80
+ options: client._options,
81
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
82
+ operationID: "WorkspaceSecurityListDomains",
83
+ oAuth2Scopes: null,
84
+ resolvedSecurity: requestSecurity,
85
+ securitySource: client._options.apiKey,
86
+ retryConfig: options?.retries
87
+ || client._options.retryConfig
88
+ || { strategy: "none" },
89
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
90
+ };
91
+ const requestRes = client._createRequest(context, {
92
+ security: requestSecurity,
93
+ method: "GET",
94
+ baseURL: options?.serverURL,
95
+ path: path,
96
+ headers: headers,
97
+ body: body,
98
+ userAgent: client._options.userAgent,
99
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
100
+ }, options);
101
+ if (!requestRes.ok) {
102
+ return [requestRes, { status: "invalid" }];
103
+ }
104
+ const req = requestRes.value;
105
+ const doResult = await client._do(req, {
106
+ context,
107
+ isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
108
+ retryConfig: context.retryConfig,
109
+ retryCodes: context.retryCodes,
110
+ });
111
+ if (!doResult.ok) {
112
+ return [doResult, { status: "request-error", request: req }];
113
+ }
114
+ const response = doResult.value;
115
+ const [result] = await M.match(M.json(200, components.ListDomainsResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
116
+ if (!result.ok) {
117
+ return [result, { status: "complete", request: req, response }];
118
+ }
119
+ return [result, { status: "complete", request: req, response }];
120
+ }
121
+ //# sourceMappingURL=workspaceSecurityListDomains.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityListDomains.js","sourceRoot":"","sources":["../src/funcs/workspaceSecurityListDomains.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,oEAsBC;AAnDD,s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QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,iBAAiB,EAAE,CAAC,UAAkB,EAAE,EAAE,CACxC,IAAA,yBAAe,EAAC,EAAE,MAAM,EAAE,UAAU,EAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACrE,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,iCAAiC,CAAC,EACzD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { OrqCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import * as components from "../models/components/index.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import { OrqError } from "../models/errors/orqerror.js";
6
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { APIPromise } from "../types/async.js";
10
+ import { Result } from "../types/fp.js";
11
+ /**
12
+ * Enable or disable the IP allowlist
13
+ *
14
+ * @remarks
15
+ * Updates the workspace-level allowlist switch. Every listed range applies while the allowlist is enabled.
16
+ */
17
+ export declare function workspaceSecurityUpdateIPAllowlist(client: OrqCore, request: operations.WorkspaceSecurityUpdateIPAllowlistRequest, options?: RequestOptions): APIPromise<Result<components.UpdateIPAllowlistResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
+ //# sourceMappingURL=workspaceSecurityUpdateIPAllowlist.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityUpdateIPAllowlist.d.ts","sourceRoot":"","sources":["../src/funcs/workspaceSecurityUpdateIPAllowlist.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,yCAAyC,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,yBAAyB,EAClC,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -0,0 +1,124 @@
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.workspaceSecurityUpdateIPAllowlist = workspaceSecurityUpdateIPAllowlist;
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
+ * Enable or disable the IP allowlist
52
+ *
53
+ * @remarks
54
+ * Updates the workspace-level allowlist switch. Every listed range applies while the allowlist is enabled.
55
+ */
56
+ function workspaceSecurityUpdateIPAllowlist(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.WorkspaceSecurityUpdateIPAllowlistRequest$outboundSchema.parse(value), "Input validation failed");
61
+ if (!parsed.ok) {
62
+ return [parsed, { status: "invalid" }];
63
+ }
64
+ const payload = parsed.value;
65
+ const body = (0, encodings_js_1.encodeJSON)("body", payload.UpdateIPAllowlistRequest, {
66
+ explode: true,
67
+ });
68
+ const pathParams = {
69
+ workspace_key: (0, encodings_js_1.encodeSimple)("workspace_key", payload.workspace_key, {
70
+ explode: false,
71
+ charEncoding: "percent",
72
+ }),
73
+ };
74
+ const path = (0, url_js_1.pathToFunc)("/v2/{workspace_key}/ip-allowlist")(pathParams);
75
+ const headers = new Headers((0, primitives_js_1.compactMap)({
76
+ "Content-Type": "application/json",
77
+ Accept: "application/json",
78
+ }));
79
+ const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
80
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
81
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
82
+ const context = {
83
+ options: client._options,
84
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
85
+ operationID: "WorkspaceSecurityUpdateIPAllowlist",
86
+ oAuth2Scopes: null,
87
+ resolvedSecurity: requestSecurity,
88
+ securitySource: client._options.apiKey,
89
+ retryConfig: options?.retries
90
+ || client._options.retryConfig
91
+ || { strategy: "none" },
92
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
93
+ };
94
+ const requestRes = client._createRequest(context, {
95
+ security: requestSecurity,
96
+ method: "PATCH",
97
+ baseURL: options?.serverURL,
98
+ path: path,
99
+ headers: headers,
100
+ body: body,
101
+ userAgent: client._options.userAgent,
102
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
103
+ }, options);
104
+ if (!requestRes.ok) {
105
+ return [requestRes, { status: "invalid" }];
106
+ }
107
+ const req = requestRes.value;
108
+ const doResult = await client._do(req, {
109
+ context,
110
+ isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
111
+ retryConfig: context.retryConfig,
112
+ retryCodes: context.retryCodes,
113
+ });
114
+ if (!doResult.ok) {
115
+ return [doResult, { status: "request-error", request: req }];
116
+ }
117
+ const response = doResult.value;
118
+ const [result] = await M.match(M.json(200, components.UpdateIPAllowlistResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
119
+ if (!result.ok) {
120
+ return [result, { status: "complete", request: req, response }];
121
+ }
122
+ return [result, { status: "complete", request: req, response }];
123
+ }
124
+ //# sourceMappingURL=workspaceSecurityUpdateIPAllowlist.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityUpdateIPAllowlist.js","sourceRoot":"","sources":["../src/funcs/workspaceSecurityUpdateIPAllowlist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,gFAsBC;AAnDD,sDAA+D;AAC/D,4CAA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* as components from "../models/components/index.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import { OrqError } from "../models/errors/orqerror.js";
6
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
7
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
8
+ import * as operations from "../models/operations/index.js";
9
+ import { APIPromise } from "../types/async.js";
10
+ import { Result } from "../types/fp.js";
11
+ /**
12
+ * Verify a domain
13
+ *
14
+ * @remarks
15
+ * Checks DNS for the expected TXT record and marks the domain as verified when it matches.
16
+ */
17
+ export declare function workspaceSecurityVerifyDomain(client: OrqCore, request: operations.WorkspaceSecurityVerifyDomainRequest, options?: RequestOptions): APIPromise<Result<components.VerifyDomainResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
18
+ //# sourceMappingURL=workspaceSecurityVerifyDomain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaceSecurityVerifyDomain.d.ts","sourceRoot":"","sources":["../src/funcs/workspaceSecurityVerifyDomain.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAMrC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,UAAU,CAAC,oCAAoC,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,oBAAoB,EAC7B,QAAQ,GACR,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}