botshield-sdk 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/README.md +30 -0
  2. package/bin/mcp-server.js +1230 -42
  3. package/bin/mcp-server.js.map +31 -13
  4. package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
  5. package/dist/commonjs/funcs/census-verify-token.js +1 -1
  6. package/dist/commonjs/funcs/gates-actions-create.d.ts +18 -0
  7. package/dist/commonjs/funcs/gates-actions-create.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/gates-actions-create.js +123 -0
  9. package/dist/commonjs/funcs/gates-actions-create.js.map +1 -0
  10. package/dist/commonjs/funcs/gates-actions-list.d.ts +18 -0
  11. package/dist/commonjs/funcs/gates-actions-list.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/gates-actions-list.js +113 -0
  13. package/dist/commonjs/funcs/gates-actions-list.js.map +1 -0
  14. package/dist/commonjs/funcs/gates-actions-request-status.d.ts +18 -0
  15. package/dist/commonjs/funcs/gates-actions-request-status.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/gates-actions-request-status.js +127 -0
  17. package/dist/commonjs/funcs/gates-actions-request-status.js.map +1 -0
  18. package/dist/commonjs/funcs/gates-actions-request.d.ts +18 -0
  19. package/dist/commonjs/funcs/gates-actions-request.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/gates-actions-request.js +123 -0
  21. package/dist/commonjs/funcs/gates-actions-request.js.map +1 -0
  22. package/dist/commonjs/funcs/gates-actions-set-state.d.ts +18 -0
  23. package/dist/commonjs/funcs/gates-actions-set-state.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/gates-actions-set-state.js +123 -0
  25. package/dist/commonjs/funcs/gates-actions-set-state.js.map +1 -0
  26. package/dist/commonjs/funcs/gates-activate.d.ts +18 -0
  27. package/dist/commonjs/funcs/gates-activate.d.ts.map +1 -0
  28. package/dist/commonjs/funcs/gates-activate.js +123 -0
  29. package/dist/commonjs/funcs/gates-activate.js.map +1 -0
  30. package/dist/commonjs/funcs/gates-cancel.d.ts +18 -0
  31. package/dist/commonjs/funcs/gates-cancel.d.ts.map +1 -0
  32. package/dist/commonjs/funcs/gates-cancel.js +123 -0
  33. package/dist/commonjs/funcs/gates-cancel.js.map +1 -0
  34. package/dist/commonjs/funcs/gates-close.d.ts +18 -0
  35. package/dist/commonjs/funcs/gates-close.d.ts.map +1 -0
  36. package/dist/commonjs/funcs/gates-close.js +123 -0
  37. package/dist/commonjs/funcs/gates-close.js.map +1 -0
  38. package/dist/commonjs/funcs/gates-create.d.ts +18 -0
  39. package/dist/commonjs/funcs/gates-create.d.ts.map +1 -0
  40. package/dist/commonjs/funcs/gates-create.js +123 -0
  41. package/dist/commonjs/funcs/gates-create.js.map +1 -0
  42. package/dist/commonjs/funcs/gates-extend.d.ts +18 -0
  43. package/dist/commonjs/funcs/gates-extend.d.ts.map +1 -0
  44. package/dist/commonjs/funcs/gates-extend.js +123 -0
  45. package/dist/commonjs/funcs/gates-extend.js.map +1 -0
  46. package/dist/commonjs/funcs/gates-get.d.ts +18 -0
  47. package/dist/commonjs/funcs/gates-get.d.ts.map +1 -0
  48. package/dist/commonjs/funcs/gates-get.js +126 -0
  49. package/dist/commonjs/funcs/gates-get.js.map +1 -0
  50. package/dist/commonjs/funcs/gates-list.d.ts +18 -0
  51. package/dist/commonjs/funcs/gates-list.d.ts.map +1 -0
  52. package/dist/commonjs/funcs/gates-list.js +126 -0
  53. package/dist/commonjs/funcs/gates-list.js.map +1 -0
  54. package/dist/commonjs/lib/config.d.ts +2 -2
  55. package/dist/commonjs/lib/config.js +2 -2
  56. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  57. package/dist/commonjs/mcp-server/server.js +1 -1
  58. package/dist/commonjs/models/bot-shield-action.d.ts +71 -0
  59. package/dist/commonjs/models/bot-shield-action.d.ts.map +1 -0
  60. package/dist/commonjs/models/bot-shield-action.js +108 -0
  61. package/dist/commonjs/models/bot-shield-action.js.map +1 -0
  62. package/dist/commonjs/models/gate-policy-doc.d.ts +126 -0
  63. package/dist/commonjs/models/gate-policy-doc.d.ts.map +1 -0
  64. package/dist/commonjs/models/gate-policy-doc.js +125 -0
  65. package/dist/commonjs/models/gate-policy-doc.js.map +1 -0
  66. package/dist/commonjs/models/gate-schedule.d.ts +28 -0
  67. package/dist/commonjs/models/gate-schedule.d.ts.map +1 -0
  68. package/dist/commonjs/models/gate-schedule.js +61 -0
  69. package/dist/commonjs/models/gate-schedule.js.map +1 -0
  70. package/dist/commonjs/models/gate.d.ts +215 -0
  71. package/dist/commonjs/models/gate.d.ts.map +1 -0
  72. package/dist/commonjs/models/gate.js +236 -0
  73. package/dist/commonjs/models/gate.js.map +1 -0
  74. package/dist/commonjs/models/gates-api-error.d.ts +24 -0
  75. package/dist/commonjs/models/gates-api-error.d.ts.map +1 -0
  76. package/dist/commonjs/models/gates-api-error.js +63 -0
  77. package/dist/commonjs/models/gates-api-error.js.map +1 -0
  78. package/dist/commonjs/models/index.d.ts +6 -0
  79. package/dist/commonjs/models/index.d.ts.map +1 -1
  80. package/dist/commonjs/models/index.js +6 -0
  81. package/dist/commonjs/models/index.js.map +1 -1
  82. package/dist/commonjs/models/operations/actions-propose.d.ts +8 -8
  83. package/dist/commonjs/models/operations/actions-propose.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/actions-propose.js +11 -12
  85. package/dist/commonjs/models/operations/actions-propose.js.map +1 -1
  86. package/dist/commonjs/models/operations/gates-api-actions-create.d.ts +94 -0
  87. package/dist/commonjs/models/operations/gates-api-actions-create.d.ts.map +1 -0
  88. package/dist/commonjs/models/operations/gates-api-actions-create.js +139 -0
  89. package/dist/commonjs/models/operations/gates-api-actions-create.js.map +1 -0
  90. package/dist/commonjs/models/operations/gates-api-actions-list.d.ts +65 -0
  91. package/dist/commonjs/models/operations/gates-api-actions-list.d.ts.map +1 -0
  92. package/dist/commonjs/models/operations/gates-api-actions-list.js +119 -0
  93. package/dist/commonjs/models/operations/gates-api-actions-list.js.map +1 -0
  94. package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts +108 -0
  95. package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts.map +1 -0
  96. package/dist/commonjs/models/operations/gates-api-actions-request-status.js +186 -0
  97. package/dist/commonjs/models/operations/gates-api-actions-request-status.js.map +1 -0
  98. package/dist/commonjs/models/operations/gates-api-actions-request.d.ts +128 -0
  99. package/dist/commonjs/models/operations/gates-api-actions-request.d.ts.map +1 -0
  100. package/dist/commonjs/models/operations/gates-api-actions-request.js +189 -0
  101. package/dist/commonjs/models/operations/gates-api-actions-request.js.map +1 -0
  102. package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts +96 -0
  103. package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts.map +1 -0
  104. package/dist/commonjs/models/operations/gates-api-actions-set-state.js +145 -0
  105. package/dist/commonjs/models/operations/gates-api-actions-set-state.js.map +1 -0
  106. package/dist/commonjs/models/operations/gates-api-activate.d.ts +84 -0
  107. package/dist/commonjs/models/operations/gates-api-activate.d.ts.map +1 -0
  108. package/dist/commonjs/models/operations/gates-api-activate.js +135 -0
  109. package/dist/commonjs/models/operations/gates-api-activate.js.map +1 -0
  110. package/dist/commonjs/models/operations/gates-api-cancel.d.ts +84 -0
  111. package/dist/commonjs/models/operations/gates-api-cancel.d.ts.map +1 -0
  112. package/dist/commonjs/models/operations/gates-api-cancel.js +135 -0
  113. package/dist/commonjs/models/operations/gates-api-cancel.js.map +1 -0
  114. package/dist/commonjs/models/operations/gates-api-close.d.ts +89 -0
  115. package/dist/commonjs/models/operations/gates-api-close.d.ts.map +1 -0
  116. package/dist/commonjs/models/operations/gates-api-close.js +145 -0
  117. package/dist/commonjs/models/operations/gates-api-close.js.map +1 -0
  118. package/dist/commonjs/models/operations/gates-api-create.d.ts +173 -0
  119. package/dist/commonjs/models/operations/gates-api-create.d.ts.map +1 -0
  120. package/dist/commonjs/models/operations/gates-api-create.js +198 -0
  121. package/dist/commonjs/models/operations/gates-api-create.js.map +1 -0
  122. package/dist/commonjs/models/operations/gates-api-extend.d.ts +99 -0
  123. package/dist/commonjs/models/operations/gates-api-extend.d.ts.map +1 -0
  124. package/dist/commonjs/models/operations/gates-api-extend.js +141 -0
  125. package/dist/commonjs/models/operations/gates-api-extend.js.map +1 -0
  126. package/dist/commonjs/models/operations/gates-api-get.d.ts +84 -0
  127. package/dist/commonjs/models/operations/gates-api-get.d.ts.map +1 -0
  128. package/dist/commonjs/models/operations/gates-api-get.js +135 -0
  129. package/dist/commonjs/models/operations/gates-api-get.js.map +1 -0
  130. package/dist/commonjs/models/operations/gates-api-list.d.ts +81 -0
  131. package/dist/commonjs/models/operations/gates-api-list.d.ts.map +1 -0
  132. package/dist/commonjs/models/operations/gates-api-list.js +135 -0
  133. package/dist/commonjs/models/operations/gates-api-list.js.map +1 -0
  134. package/dist/commonjs/models/operations/index.d.ts +12 -0
  135. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  136. package/dist/commonjs/models/operations/index.js +12 -0
  137. package/dist/commonjs/models/operations/index.js.map +1 -1
  138. package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +22 -12
  139. package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -1
  140. package/dist/commonjs/models/operations/sdk-create-verification-link.js +17 -11
  141. package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
  142. package/dist/commonjs/models/operations/sdk-verify-token.d.ts +6 -6
  143. package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
  144. package/dist/commonjs/models/operations/sdk-verify-token.js +2 -4
  145. package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
  146. package/dist/commonjs/models/operations/secured-accounts-status.d.ts +5 -5
  147. package/dist/commonjs/models/operations/secured-accounts-status.d.ts.map +1 -1
  148. package/dist/commonjs/models/operations/secured-accounts-status.js +6 -6
  149. package/dist/commonjs/models/operations/secured-accounts-status.js.map +1 -1
  150. package/dist/commonjs/models/operations/verification-get-status.d.ts +141 -0
  151. package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
  152. package/dist/commonjs/models/operations/verification-get-status.js +127 -1
  153. package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
  154. package/dist/commonjs/models/passes-per-person.d.ts +34 -0
  155. package/dist/commonjs/models/passes-per-person.d.ts.map +1 -0
  156. package/dist/commonjs/models/passes-per-person.js +72 -0
  157. package/dist/commonjs/models/passes-per-person.js.map +1 -0
  158. package/dist/commonjs/sdk/census.d.ts +1 -1
  159. package/dist/commonjs/sdk/census.js +1 -1
  160. package/dist/commonjs/sdk/gates-actions.d.ts +40 -0
  161. package/dist/commonjs/sdk/gates-actions.d.ts.map +1 -0
  162. package/dist/commonjs/sdk/gates-actions.js +62 -0
  163. package/dist/commonjs/sdk/gates-actions.js.map +1 -0
  164. package/dist/commonjs/sdk/gates.d.ts +57 -0
  165. package/dist/commonjs/sdk/gates.d.ts.map +1 -0
  166. package/dist/commonjs/sdk/gates.js +87 -0
  167. package/dist/commonjs/sdk/gates.js.map +1 -0
  168. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  169. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  170. package/dist/commonjs/sdk/sdk.js +5 -0
  171. package/dist/commonjs/sdk/sdk.js.map +1 -1
  172. package/dist/esm/funcs/census-verify-token.d.ts +1 -1
  173. package/dist/esm/funcs/census-verify-token.js +1 -1
  174. package/dist/esm/funcs/gates-actions-create.d.ts +18 -0
  175. package/dist/esm/funcs/gates-actions-create.d.ts.map +1 -0
  176. package/dist/esm/funcs/gates-actions-create.js +87 -0
  177. package/dist/esm/funcs/gates-actions-create.js.map +1 -0
  178. package/dist/esm/funcs/gates-actions-list.d.ts +18 -0
  179. package/dist/esm/funcs/gates-actions-list.d.ts.map +1 -0
  180. package/dist/esm/funcs/gates-actions-list.js +77 -0
  181. package/dist/esm/funcs/gates-actions-list.js.map +1 -0
  182. package/dist/esm/funcs/gates-actions-request-status.d.ts +18 -0
  183. package/dist/esm/funcs/gates-actions-request-status.d.ts.map +1 -0
  184. package/dist/esm/funcs/gates-actions-request-status.js +91 -0
  185. package/dist/esm/funcs/gates-actions-request-status.js.map +1 -0
  186. package/dist/esm/funcs/gates-actions-request.d.ts +18 -0
  187. package/dist/esm/funcs/gates-actions-request.d.ts.map +1 -0
  188. package/dist/esm/funcs/gates-actions-request.js +87 -0
  189. package/dist/esm/funcs/gates-actions-request.js.map +1 -0
  190. package/dist/esm/funcs/gates-actions-set-state.d.ts +18 -0
  191. package/dist/esm/funcs/gates-actions-set-state.d.ts.map +1 -0
  192. package/dist/esm/funcs/gates-actions-set-state.js +87 -0
  193. package/dist/esm/funcs/gates-actions-set-state.js.map +1 -0
  194. package/dist/esm/funcs/gates-activate.d.ts +18 -0
  195. package/dist/esm/funcs/gates-activate.d.ts.map +1 -0
  196. package/dist/esm/funcs/gates-activate.js +87 -0
  197. package/dist/esm/funcs/gates-activate.js.map +1 -0
  198. package/dist/esm/funcs/gates-cancel.d.ts +18 -0
  199. package/dist/esm/funcs/gates-cancel.d.ts.map +1 -0
  200. package/dist/esm/funcs/gates-cancel.js +87 -0
  201. package/dist/esm/funcs/gates-cancel.js.map +1 -0
  202. package/dist/esm/funcs/gates-close.d.ts +18 -0
  203. package/dist/esm/funcs/gates-close.d.ts.map +1 -0
  204. package/dist/esm/funcs/gates-close.js +87 -0
  205. package/dist/esm/funcs/gates-close.js.map +1 -0
  206. package/dist/esm/funcs/gates-create.d.ts +18 -0
  207. package/dist/esm/funcs/gates-create.d.ts.map +1 -0
  208. package/dist/esm/funcs/gates-create.js +87 -0
  209. package/dist/esm/funcs/gates-create.js.map +1 -0
  210. package/dist/esm/funcs/gates-extend.d.ts +18 -0
  211. package/dist/esm/funcs/gates-extend.d.ts.map +1 -0
  212. package/dist/esm/funcs/gates-extend.js +87 -0
  213. package/dist/esm/funcs/gates-extend.js.map +1 -0
  214. package/dist/esm/funcs/gates-get.d.ts +18 -0
  215. package/dist/esm/funcs/gates-get.d.ts.map +1 -0
  216. package/dist/esm/funcs/gates-get.js +90 -0
  217. package/dist/esm/funcs/gates-get.js.map +1 -0
  218. package/dist/esm/funcs/gates-list.d.ts +18 -0
  219. package/dist/esm/funcs/gates-list.d.ts.map +1 -0
  220. package/dist/esm/funcs/gates-list.js +90 -0
  221. package/dist/esm/funcs/gates-list.js.map +1 -0
  222. package/dist/esm/lib/config.d.ts +2 -2
  223. package/dist/esm/lib/config.js +2 -2
  224. package/dist/esm/mcp-server/mcp-server.js +1 -1
  225. package/dist/esm/mcp-server/server.js +1 -1
  226. package/dist/esm/models/bot-shield-action.d.ts +71 -0
  227. package/dist/esm/models/bot-shield-action.d.ts.map +1 -0
  228. package/dist/esm/models/bot-shield-action.js +70 -0
  229. package/dist/esm/models/bot-shield-action.js.map +1 -0
  230. package/dist/esm/models/gate-policy-doc.d.ts +126 -0
  231. package/dist/esm/models/gate-policy-doc.d.ts.map +1 -0
  232. package/dist/esm/models/gate-policy-doc.js +87 -0
  233. package/dist/esm/models/gate-policy-doc.js.map +1 -0
  234. package/dist/esm/models/gate-schedule.d.ts +28 -0
  235. package/dist/esm/models/gate-schedule.d.ts.map +1 -0
  236. package/dist/esm/models/gate-schedule.js +23 -0
  237. package/dist/esm/models/gate-schedule.js.map +1 -0
  238. package/dist/esm/models/gate.d.ts +215 -0
  239. package/dist/esm/models/gate.d.ts.map +1 -0
  240. package/dist/esm/models/gate.js +194 -0
  241. package/dist/esm/models/gate.js.map +1 -0
  242. package/dist/esm/models/gates-api-error.d.ts +24 -0
  243. package/dist/esm/models/gates-api-error.d.ts.map +1 -0
  244. package/dist/esm/models/gates-api-error.js +25 -0
  245. package/dist/esm/models/gates-api-error.js.map +1 -0
  246. package/dist/esm/models/index.d.ts +6 -0
  247. package/dist/esm/models/index.d.ts.map +1 -1
  248. package/dist/esm/models/index.js +6 -0
  249. package/dist/esm/models/index.js.map +1 -1
  250. package/dist/esm/models/operations/actions-propose.d.ts +8 -8
  251. package/dist/esm/models/operations/actions-propose.d.ts.map +1 -1
  252. package/dist/esm/models/operations/actions-propose.js +8 -9
  253. package/dist/esm/models/operations/actions-propose.js.map +1 -1
  254. package/dist/esm/models/operations/gates-api-actions-create.d.ts +94 -0
  255. package/dist/esm/models/operations/gates-api-actions-create.d.ts.map +1 -0
  256. package/dist/esm/models/operations/gates-api-actions-create.js +93 -0
  257. package/dist/esm/models/operations/gates-api-actions-create.js.map +1 -0
  258. package/dist/esm/models/operations/gates-api-actions-list.d.ts +65 -0
  259. package/dist/esm/models/operations/gates-api-actions-list.d.ts.map +1 -0
  260. package/dist/esm/models/operations/gates-api-actions-list.js +75 -0
  261. package/dist/esm/models/operations/gates-api-actions-list.js.map +1 -0
  262. package/dist/esm/models/operations/gates-api-actions-request-status.d.ts +108 -0
  263. package/dist/esm/models/operations/gates-api-actions-request-status.d.ts.map +1 -0
  264. package/dist/esm/models/operations/gates-api-actions-request-status.js +140 -0
  265. package/dist/esm/models/operations/gates-api-actions-request-status.js.map +1 -0
  266. package/dist/esm/models/operations/gates-api-actions-request.d.ts +128 -0
  267. package/dist/esm/models/operations/gates-api-actions-request.d.ts.map +1 -0
  268. package/dist/esm/models/operations/gates-api-actions-request.js +143 -0
  269. package/dist/esm/models/operations/gates-api-actions-request.js.map +1 -0
  270. package/dist/esm/models/operations/gates-api-actions-set-state.d.ts +96 -0
  271. package/dist/esm/models/operations/gates-api-actions-set-state.d.ts.map +1 -0
  272. package/dist/esm/models/operations/gates-api-actions-set-state.js +99 -0
  273. package/dist/esm/models/operations/gates-api-actions-set-state.js.map +1 -0
  274. package/dist/esm/models/operations/gates-api-activate.d.ts +84 -0
  275. package/dist/esm/models/operations/gates-api-activate.d.ts.map +1 -0
  276. package/dist/esm/models/operations/gates-api-activate.js +89 -0
  277. package/dist/esm/models/operations/gates-api-activate.js.map +1 -0
  278. package/dist/esm/models/operations/gates-api-cancel.d.ts +84 -0
  279. package/dist/esm/models/operations/gates-api-cancel.d.ts.map +1 -0
  280. package/dist/esm/models/operations/gates-api-cancel.js +89 -0
  281. package/dist/esm/models/operations/gates-api-cancel.js.map +1 -0
  282. package/dist/esm/models/operations/gates-api-close.d.ts +89 -0
  283. package/dist/esm/models/operations/gates-api-close.d.ts.map +1 -0
  284. package/dist/esm/models/operations/gates-api-close.js +99 -0
  285. package/dist/esm/models/operations/gates-api-close.js.map +1 -0
  286. package/dist/esm/models/operations/gates-api-create.d.ts +173 -0
  287. package/dist/esm/models/operations/gates-api-create.d.ts.map +1 -0
  288. package/dist/esm/models/operations/gates-api-create.js +152 -0
  289. package/dist/esm/models/operations/gates-api-create.js.map +1 -0
  290. package/dist/esm/models/operations/gates-api-extend.d.ts +99 -0
  291. package/dist/esm/models/operations/gates-api-extend.d.ts.map +1 -0
  292. package/dist/esm/models/operations/gates-api-extend.js +95 -0
  293. package/dist/esm/models/operations/gates-api-extend.js.map +1 -0
  294. package/dist/esm/models/operations/gates-api-get.d.ts +84 -0
  295. package/dist/esm/models/operations/gates-api-get.d.ts.map +1 -0
  296. package/dist/esm/models/operations/gates-api-get.js +89 -0
  297. package/dist/esm/models/operations/gates-api-get.js.map +1 -0
  298. package/dist/esm/models/operations/gates-api-list.d.ts +81 -0
  299. package/dist/esm/models/operations/gates-api-list.d.ts.map +1 -0
  300. package/dist/esm/models/operations/gates-api-list.js +89 -0
  301. package/dist/esm/models/operations/gates-api-list.js.map +1 -0
  302. package/dist/esm/models/operations/index.d.ts +12 -0
  303. package/dist/esm/models/operations/index.d.ts.map +1 -1
  304. package/dist/esm/models/operations/index.js +12 -0
  305. package/dist/esm/models/operations/index.js.map +1 -1
  306. package/dist/esm/models/operations/sdk-create-verification-link.d.ts +22 -12
  307. package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -1
  308. package/dist/esm/models/operations/sdk-create-verification-link.js +16 -10
  309. package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
  310. package/dist/esm/models/operations/sdk-verify-token.d.ts +6 -6
  311. package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
  312. package/dist/esm/models/operations/sdk-verify-token.js +2 -4
  313. package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
  314. package/dist/esm/models/operations/secured-accounts-status.d.ts +5 -5
  315. package/dist/esm/models/operations/secured-accounts-status.d.ts.map +1 -1
  316. package/dist/esm/models/operations/secured-accounts-status.js +5 -5
  317. package/dist/esm/models/operations/secured-accounts-status.js.map +1 -1
  318. package/dist/esm/models/operations/verification-get-status.d.ts +141 -0
  319. package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
  320. package/dist/esm/models/operations/verification-get-status.js +122 -0
  321. package/dist/esm/models/operations/verification-get-status.js.map +1 -1
  322. package/dist/esm/models/passes-per-person.d.ts +34 -0
  323. package/dist/esm/models/passes-per-person.d.ts.map +1 -0
  324. package/dist/esm/models/passes-per-person.js +34 -0
  325. package/dist/esm/models/passes-per-person.js.map +1 -0
  326. package/dist/esm/sdk/census.d.ts +1 -1
  327. package/dist/esm/sdk/census.js +1 -1
  328. package/dist/esm/sdk/gates-actions.d.ts +40 -0
  329. package/dist/esm/sdk/gates-actions.d.ts.map +1 -0
  330. package/dist/esm/sdk/gates-actions.js +58 -0
  331. package/dist/esm/sdk/gates-actions.js.map +1 -0
  332. package/dist/esm/sdk/gates.d.ts +57 -0
  333. package/dist/esm/sdk/gates.d.ts.map +1 -0
  334. package/dist/esm/sdk/gates.js +83 -0
  335. package/dist/esm/sdk/gates.js.map +1 -0
  336. package/dist/esm/sdk/sdk.d.ts +3 -0
  337. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  338. package/dist/esm/sdk/sdk.js +5 -0
  339. package/dist/esm/sdk/sdk.js.map +1 -1
  340. package/jsr.json +1 -1
  341. package/package.json +1 -1
  342. package/src/funcs/census-verify-token.ts +1 -1
  343. package/src/funcs/gates-actions-create.ts +185 -0
  344. package/src/funcs/gates-actions-list.ts +166 -0
  345. package/src/funcs/gates-actions-request-status.ts +192 -0
  346. package/src/funcs/gates-actions-request.ts +185 -0
  347. package/src/funcs/gates-actions-set-state.ts +185 -0
  348. package/src/funcs/gates-activate.ts +184 -0
  349. package/src/funcs/gates-cancel.ts +184 -0
  350. package/src/funcs/gates-close.ts +184 -0
  351. package/src/funcs/gates-create.ts +184 -0
  352. package/src/funcs/gates-extend.ts +184 -0
  353. package/src/funcs/gates-get.ts +188 -0
  354. package/src/funcs/gates-list.ts +189 -0
  355. package/src/lib/config.ts +2 -2
  356. package/src/mcp-server/mcp-server.ts +1 -1
  357. package/src/mcp-server/server.ts +1 -1
  358. package/src/models/bot-shield-action.ts +156 -0
  359. package/src/models/gate-policy-doc.ts +202 -0
  360. package/src/models/gate-schedule.ts +61 -0
  361. package/src/models/gate.ts +424 -0
  362. package/src/models/gates-api-error.ts +59 -0
  363. package/src/models/index.ts +6 -0
  364. package/src/models/operations/actions-propose.ts +34 -27
  365. package/src/models/operations/gates-api-actions-create.ts +274 -0
  366. package/src/models/operations/gates-api-actions-list.ts +207 -0
  367. package/src/models/operations/gates-api-actions-request-status.ts +342 -0
  368. package/src/models/operations/gates-api-actions-request.ts +359 -0
  369. package/src/models/operations/gates-api-actions-set-state.ts +284 -0
  370. package/src/models/operations/gates-api-activate.ts +250 -0
  371. package/src/models/operations/gates-api-cancel.ts +250 -0
  372. package/src/models/operations/gates-api-close.ts +265 -0
  373. package/src/models/operations/gates-api-create.ts +387 -0
  374. package/src/models/operations/gates-api-extend.ts +271 -0
  375. package/src/models/operations/gates-api-get.ts +248 -0
  376. package/src/models/operations/gates-api-list.ts +247 -0
  377. package/src/models/operations/index.ts +12 -0
  378. package/src/models/operations/sdk-create-verification-link.ts +46 -24
  379. package/src/models/operations/sdk-verify-token.ts +8 -10
  380. package/src/models/operations/secured-accounts-status.ts +17 -9
  381. package/src/models/operations/verification-get-status.ts +281 -0
  382. package/src/models/passes-per-person.ts +74 -0
  383. package/src/sdk/census.ts +1 -1
  384. package/src/sdk/gates-actions.ts +107 -0
  385. package/src/sdk/gates.ts +155 -0
  386. package/src/sdk/sdk.ts +6 -0
package/bin/mcp-server.js CHANGED
@@ -47249,9 +47249,9 @@ var init_config = __esm(() => {
47249
47249
  SDK_METADATA = {
47250
47250
  language: "typescript",
47251
47251
  openapiDocVersion: "2.0.0",
47252
- sdkVersion: "2.2.0",
47252
+ sdkVersion: "2.2.1",
47253
47253
  genVersion: "2.934.1",
47254
- userAgent: "speakeasy-sdk/typescript 2.2.0 2.934.1 2.0.0 botshield-sdk"
47254
+ userAgent: "speakeasy-sdk/typescript 2.2.1 2.934.1 2.0.0 botshield-sdk"
47255
47255
  };
47256
47256
  });
47257
47257
 
@@ -48926,6 +48926,61 @@ var init_primitives2 = __esm(() => {
48926
48926
  init_unrecognized();
48927
48927
  });
48928
48928
 
48929
+ // src/models/bot-shield-action.ts
48930
+ var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
48931
+ var init_bot_shield_action = __esm(() => {
48932
+ init_v3();
48933
+ init_primitives();
48934
+ init_enums();
48935
+ init_primitives2();
48936
+ BotShieldActionState = {
48937
+ Live: "live",
48938
+ Off: "off"
48939
+ };
48940
+ BotShieldActionEnvironment = {
48941
+ Development: "development",
48942
+ Production: "production"
48943
+ };
48944
+ BotShieldActionState$inboundSchema = inboundSchema(BotShieldActionState);
48945
+ BotShieldActionState$outboundSchema = outboundSchema(BotShieldActionState);
48946
+ BotShieldActionEnvironment$inboundSchema = inboundSchema(BotShieldActionEnvironment);
48947
+ BotShieldActionEnvironment$outboundSchema = outboundSchema(BotShieldActionEnvironment);
48948
+ BotShieldAction$inboundSchema = objectType({
48949
+ id: string4(),
48950
+ name: string4(),
48951
+ act_key: string4(),
48952
+ where_url: nullable3(string4()),
48953
+ state: BotShieldActionState$inboundSchema,
48954
+ environment: BotShieldActionEnvironment$inboundSchema,
48955
+ placed_at: date4(),
48956
+ turned_off_at: nullable3(date4())
48957
+ }).transform((v) => {
48958
+ return remap(v, {
48959
+ act_key: "actKey",
48960
+ where_url: "whereUrl",
48961
+ placed_at: "placedAt",
48962
+ turned_off_at: "turnedOffAt"
48963
+ });
48964
+ });
48965
+ BotShieldAction$outboundSchema = objectType({
48966
+ id: stringType(),
48967
+ name: stringType(),
48968
+ actKey: stringType(),
48969
+ whereUrl: nullableType(stringType()),
48970
+ state: BotShieldActionState$outboundSchema,
48971
+ environment: BotShieldActionEnvironment$outboundSchema,
48972
+ placedAt: dateType().transform((v) => v.toISOString()),
48973
+ turnedOffAt: nullableType(dateType().transform((v) => v.toISOString()))
48974
+ }).transform((v) => {
48975
+ return remap(v, {
48976
+ actKey: "act_key",
48977
+ whereUrl: "where_url",
48978
+ placedAt: "placed_at",
48979
+ turnedOffAt: "turned_off_at"
48980
+ });
48981
+ });
48982
+ });
48983
+
48929
48984
  // src/models/error-body.ts
48930
48985
  var Reason, Violation$inboundSchema, Violation$outboundSchema, Reason$inboundSchema, Reason$outboundSchema, Limits$inboundSchema, Limits$outboundSchema, ErrorBody$inboundSchema, ErrorBody$outboundSchema;
48931
48986
  var init_error_body = __esm(() => {
@@ -49022,6 +49077,262 @@ var init_error_response = __esm(() => {
49022
49077
  });
49023
49078
  });
49024
49079
 
49080
+ // src/models/gate-schedule.ts
49081
+ var GateSchedule$inboundSchema, GateSchedule$outboundSchema;
49082
+ var init_gate_schedule = __esm(() => {
49083
+ init_v3();
49084
+ init_primitives2();
49085
+ GateSchedule$inboundSchema = objectType({
49086
+ opensAt: nullableType(date4()).optional(),
49087
+ closesAt: nullableType(date4()).optional()
49088
+ });
49089
+ GateSchedule$outboundSchema = objectType({
49090
+ opensAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
49091
+ closesAt: nullableType(dateType().transform((v) => v.toISOString())).optional()
49092
+ });
49093
+ });
49094
+
49095
+ // src/models/passes-per-person.ts
49096
+ var Window, Window$inboundSchema, Window$outboundSchema, PassesPerPerson$inboundSchema, PassesPerPerson$outboundSchema;
49097
+ var init_passes_per_person = __esm(() => {
49098
+ init_v3();
49099
+ init_enums();
49100
+ init_primitives2();
49101
+ Window = {
49102
+ Day: "day",
49103
+ Week: "week",
49104
+ Thirtyd: "30d",
49105
+ Ever: "ever"
49106
+ };
49107
+ Window$inboundSchema = inboundSchema(Window);
49108
+ Window$outboundSchema = outboundSchema(Window);
49109
+ PassesPerPerson$inboundSchema = objectType({
49110
+ limit: number4(),
49111
+ window: Window$inboundSchema
49112
+ });
49113
+ PassesPerPerson$outboundSchema = objectType({
49114
+ limit: numberType().int(),
49115
+ window: Window$outboundSchema
49116
+ });
49117
+ });
49118
+
49119
+ // src/models/gate-policy-doc.ts
49120
+ var Version, GatePolicyDocPreset, GatePolicyDocLink, Asks, Version$inboundSchema, Version$outboundSchema, GatePolicyDocPreset$inboundSchema, GatePolicyDocPreset$outboundSchema, GatePolicyDocLink$inboundSchema, GatePolicyDocLink$outboundSchema, Asks$inboundSchema, Asks$outboundSchema, GatePolicyDoc$inboundSchema, GatePolicyDoc$outboundSchema;
49121
+ var init_gate_policy_doc = __esm(() => {
49122
+ init_v3();
49123
+ init_primitives2();
49124
+ init_gate_schedule();
49125
+ init_passes_per_person();
49126
+ Version = {
49127
+ One: 1,
49128
+ Two: 2,
49129
+ Three: 3
49130
+ };
49131
+ GatePolicyDocPreset = {
49132
+ Presale: "presale",
49133
+ Promo: "promo",
49134
+ Drop: "drop",
49135
+ Vote: "vote",
49136
+ Reservation: "reservation",
49137
+ Claim: "claim"
49138
+ };
49139
+ GatePolicyDocLink = {
49140
+ Required: "required",
49141
+ Optional: "optional",
49142
+ Never: "never"
49143
+ };
49144
+ Asks = {
49145
+ Always: "always"
49146
+ };
49147
+ Version$inboundSchema = nativeEnumType(Version);
49148
+ Version$outboundSchema = Version$inboundSchema;
49149
+ GatePolicyDocPreset$inboundSchema = nativeEnumType(GatePolicyDocPreset);
49150
+ GatePolicyDocPreset$outboundSchema = GatePolicyDocPreset$inboundSchema;
49151
+ GatePolicyDocLink$inboundSchema = nativeEnumType(GatePolicyDocLink);
49152
+ GatePolicyDocLink$outboundSchema = GatePolicyDocLink$inboundSchema;
49153
+ Asks$inboundSchema = nativeEnumType(Asks);
49154
+ Asks$outboundSchema = Asks$inboundSchema;
49155
+ GatePolicyDoc$inboundSchema = objectType({
49156
+ version: Version$inboundSchema,
49157
+ preset: nullableType(GatePolicyDocPreset$inboundSchema).optional(),
49158
+ link: optional3(GatePolicyDocLink$inboundSchema),
49159
+ signedUp: optional3(boolean4()),
49160
+ schedule: optional3(GateSchedule$inboundSchema),
49161
+ asks: optional3(Asks$inboundSchema),
49162
+ passesPerPerson: nullableType(PassesPerPerson$inboundSchema).optional(),
49163
+ realDaysAtLeast: optional3(number4())
49164
+ });
49165
+ GatePolicyDoc$outboundSchema = objectType({
49166
+ version: Version$outboundSchema,
49167
+ preset: nullableType(GatePolicyDocPreset$outboundSchema).optional(),
49168
+ link: GatePolicyDocLink$outboundSchema.optional(),
49169
+ signedUp: booleanType().optional(),
49170
+ schedule: GateSchedule$outboundSchema.optional(),
49171
+ asks: Asks$outboundSchema.optional(),
49172
+ passesPerPerson: nullableType(PassesPerPerson$outboundSchema).optional(),
49173
+ realDaysAtLeast: numberType().int().optional()
49174
+ });
49175
+ });
49176
+
49177
+ // src/models/gate.ts
49178
+ var Status, GateState, GateEnvironment, GatePreset, GateType, AgeThreshold, GateLink, Status$inboundSchema, Status$outboundSchema, GateState$inboundSchema, GateState$outboundSchema, GateEnvironment$inboundSchema, GateEnvironment$outboundSchema, GatePreset$inboundSchema, GatePreset$outboundSchema, GateType$inboundSchema, GateType$outboundSchema, AgeThreshold$inboundSchema, AgeThreshold$outboundSchema, GateLink$inboundSchema, GateLink$outboundSchema, Schedule$inboundSchema, Schedule$outboundSchema, Policy$inboundSchema, Policy$outboundSchema, Gate$inboundSchema, Gate$outboundSchema;
49179
+ var init_gate = __esm(() => {
49180
+ init_v3();
49181
+ init_primitives();
49182
+ init_enums();
49183
+ init_primitives2();
49184
+ init_passes_per_person();
49185
+ Status = {
49186
+ Draft: "draft",
49187
+ Active: "active",
49188
+ Closed: "closed"
49189
+ };
49190
+ GateState = {
49191
+ Scheduled: "scheduled",
49192
+ Open: "open",
49193
+ Closed: "closed"
49194
+ };
49195
+ GateEnvironment = {
49196
+ Development: "development",
49197
+ Production: "production"
49198
+ };
49199
+ GatePreset = {
49200
+ Presale: "presale",
49201
+ Promo: "promo",
49202
+ Drop: "drop",
49203
+ Vote: "vote",
49204
+ Reservation: "reservation",
49205
+ Claim: "claim"
49206
+ };
49207
+ GateType = {
49208
+ Human: "human",
49209
+ Age: "age"
49210
+ };
49211
+ AgeThreshold = {
49212
+ Thirteen: 13,
49213
+ Eighteen: 18,
49214
+ TwentyOne: 21
49215
+ };
49216
+ GateLink = {
49217
+ Required: "required",
49218
+ Optional: "optional",
49219
+ Never: "never"
49220
+ };
49221
+ Status$inboundSchema = inboundSchema(Status);
49222
+ Status$outboundSchema = outboundSchema(Status);
49223
+ GateState$inboundSchema = inboundSchema(GateState);
49224
+ GateState$outboundSchema = outboundSchema(GateState);
49225
+ GateEnvironment$inboundSchema = inboundSchema(GateEnvironment);
49226
+ GateEnvironment$outboundSchema = outboundSchema(GateEnvironment);
49227
+ GatePreset$inboundSchema = inboundSchema(GatePreset);
49228
+ GatePreset$outboundSchema = outboundSchema(GatePreset);
49229
+ GateType$inboundSchema = inboundSchema(GateType);
49230
+ GateType$outboundSchema = outboundSchema(GateType);
49231
+ AgeThreshold$inboundSchema = inboundSchemaInt(AgeThreshold);
49232
+ AgeThreshold$outboundSchema = outboundSchemaInt(AgeThreshold);
49233
+ GateLink$inboundSchema = inboundSchema(GateLink);
49234
+ GateLink$outboundSchema = outboundSchema(GateLink);
49235
+ Schedule$inboundSchema = objectType({
49236
+ opensAt: nullable3(date4()),
49237
+ closesAt: nullable3(date4())
49238
+ });
49239
+ Schedule$outboundSchema = objectType({
49240
+ opensAt: nullableType(dateType().transform((v) => v.toISOString())),
49241
+ closesAt: nullableType(dateType().transform((v) => v.toISOString()))
49242
+ });
49243
+ Policy$inboundSchema = objectType({
49244
+ preset: nullable3(GatePreset$inboundSchema),
49245
+ gate_type: GateType$inboundSchema,
49246
+ age_threshold: nullable3(AgeThreshold$inboundSchema),
49247
+ signed_up: boolean4(),
49248
+ link: GateLink$inboundSchema,
49249
+ passes_per_person: nullable3(PassesPerPerson$inboundSchema),
49250
+ real_days_at_least: number4(),
49251
+ schedule: lazyType(() => Schedule$inboundSchema),
49252
+ line: string4()
49253
+ }).transform((v) => {
49254
+ return remap(v, {
49255
+ gate_type: "gateType",
49256
+ age_threshold: "ageThreshold",
49257
+ signed_up: "signedUp",
49258
+ passes_per_person: "passesPerPerson",
49259
+ real_days_at_least: "realDaysAtLeast"
49260
+ });
49261
+ });
49262
+ Policy$outboundSchema = objectType({
49263
+ preset: nullableType(GatePreset$outboundSchema),
49264
+ gateType: GateType$outboundSchema,
49265
+ ageThreshold: nullableType(AgeThreshold$outboundSchema),
49266
+ signedUp: booleanType(),
49267
+ link: GateLink$outboundSchema,
49268
+ passesPerPerson: nullableType(PassesPerPerson$outboundSchema),
49269
+ realDaysAtLeast: numberType().int(),
49270
+ schedule: lazyType(() => Schedule$outboundSchema),
49271
+ line: stringType()
49272
+ }).transform((v) => {
49273
+ return remap(v, {
49274
+ gateType: "gate_type",
49275
+ ageThreshold: "age_threshold",
49276
+ signedUp: "signed_up",
49277
+ passesPerPerson: "passes_per_person",
49278
+ realDaysAtLeast: "real_days_at_least"
49279
+ });
49280
+ });
49281
+ Gate$inboundSchema = objectType({
49282
+ key: string4(),
49283
+ name: string4(),
49284
+ message: nullable3(string4()),
49285
+ status: Status$inboundSchema,
49286
+ state: nullable3(GateState$inboundSchema),
49287
+ environment: GateEnvironment$inboundSchema,
49288
+ destination_url: nullable3(string4()),
49289
+ policy: nullable3(lazyType(() => Policy$inboundSchema)),
49290
+ placed_at: date4(),
49291
+ placed_by_api: boolean4()
49292
+ }).transform((v) => {
49293
+ return remap(v, {
49294
+ destination_url: "destinationUrl",
49295
+ placed_at: "placedAt",
49296
+ placed_by_api: "placedByApi"
49297
+ });
49298
+ });
49299
+ Gate$outboundSchema = objectType({
49300
+ key: stringType(),
49301
+ name: stringType(),
49302
+ message: nullableType(stringType()),
49303
+ status: Status$outboundSchema,
49304
+ state: nullableType(GateState$outboundSchema),
49305
+ environment: GateEnvironment$outboundSchema,
49306
+ destinationUrl: nullableType(stringType()),
49307
+ policy: nullableType(lazyType(() => Policy$outboundSchema)),
49308
+ placedAt: dateType().transform((v) => v.toISOString()),
49309
+ placedByApi: booleanType()
49310
+ }).transform((v) => {
49311
+ return remap(v, {
49312
+ destinationUrl: "destination_url",
49313
+ placedAt: "placed_at",
49314
+ placedByApi: "placed_by_api"
49315
+ });
49316
+ });
49317
+ });
49318
+
49319
+ // src/models/gates-api-error.ts
49320
+ var GatesApiError$inboundSchema, GatesApiError$outboundSchema;
49321
+ var init_gates_api_error = __esm(() => {
49322
+ init_v3();
49323
+ init_primitives2();
49324
+ GatesApiError$inboundSchema = objectType({
49325
+ message: string4(),
49326
+ statusCode: number4(),
49327
+ code: string4()
49328
+ });
49329
+ GatesApiError$outboundSchema = objectType({
49330
+ message: stringType(),
49331
+ statusCode: numberType().int(),
49332
+ code: stringType()
49333
+ });
49334
+ });
49335
+
49025
49336
  // src/models/invalid-input-error.ts
49026
49337
  var InvalidInputErrorError$inboundSchema, InvalidInputErrorError$outboundSchema;
49027
49338
  var init_invalid_input_error = __esm(() => {
@@ -49056,9 +49367,15 @@ var init_security2 = __esm(() => {
49056
49367
 
49057
49368
  // src/models/index.ts
49058
49369
  var init_models = __esm(() => {
49370
+ init_bot_shield_action();
49059
49371
  init_error_body();
49060
49372
  init_error_response();
49373
+ init_gate_policy_doc();
49374
+ init_gate_schedule();
49375
+ init_gate();
49376
+ init_gates_api_error();
49061
49377
  init_invalid_input_error();
49378
+ init_passes_per_person();
49062
49379
  init_security2();
49063
49380
  });
49064
49381
 
@@ -49315,7 +49632,7 @@ var init_actions_check_status = __esm(() => {
49315
49632
  });
49316
49633
 
49317
49634
  // src/models/operations/actions-propose.ts
49318
- var ActionsProposeStatus, SummaryDetail$inboundSchema, SummaryDetail$outboundSchema, Action$inboundSchema, Action$outboundSchema, ActionsProposeRequest$inboundSchema, ActionsProposeRequest$outboundSchema, ActionsProposeStatus$inboundSchema, ActionsProposeStatus$outboundSchema, ActionsProposeDataData$inboundSchema, ActionsProposeDataData$outboundSchema, ActionsProposeData$inboundSchema, ActionsProposeData$outboundSchema, ActionsProposeResponse$inboundSchema, ActionsProposeResponse$outboundSchema;
49635
+ var ActionsProposeStatus, SummaryDetail$inboundSchema, SummaryDetail$outboundSchema, ActionsProposeAction$inboundSchema, ActionsProposeAction$outboundSchema, ActionsProposeRequest$inboundSchema, ActionsProposeRequest$outboundSchema, ActionsProposeStatus$inboundSchema, ActionsProposeStatus$outboundSchema, ActionsProposeDataData$inboundSchema, ActionsProposeDataData$outboundSchema, ActionsProposeData$inboundSchema, ActionsProposeData$outboundSchema, ActionsProposeResponse$inboundSchema, ActionsProposeResponse$outboundSchema;
49319
49636
  var init_actions_propose = __esm(() => {
49320
49637
  init_v3();
49321
49638
  init_primitives();
@@ -49337,7 +49654,7 @@ var init_actions_propose = __esm(() => {
49337
49654
  label: stringType().optional(),
49338
49655
  value: stringType().optional()
49339
49656
  });
49340
- Action$inboundSchema = objectType({
49657
+ ActionsProposeAction$inboundSchema = objectType({
49341
49658
  summary_title: string4(),
49342
49659
  summary_detail: optional3(lazyType(() => SummaryDetail$inboundSchema)),
49343
49660
  category: string4(),
@@ -49349,7 +49666,7 @@ var init_actions_propose = __esm(() => {
49349
49666
  trusted_account_id: "trustedAccountId"
49350
49667
  });
49351
49668
  });
49352
- Action$outboundSchema = objectType({
49669
+ ActionsProposeAction$outboundSchema = objectType({
49353
49670
  summaryTitle: stringType(),
49354
49671
  summaryDetail: lazyType(() => SummaryDetail$outboundSchema).optional(),
49355
49672
  category: stringType(),
@@ -49366,7 +49683,7 @@ var init_actions_propose = __esm(() => {
49366
49683
  opaque_id: optional3(string4()),
49367
49684
  botshield_user_id: optional3(string4()),
49368
49685
  user_email: optional3(string4()),
49369
- action: lazyType(() => Action$inboundSchema),
49686
+ action: lazyType(() => ActionsProposeAction$inboundSchema),
49370
49687
  adaptive_card_payload: optional3(recordType(anyType())),
49371
49688
  ttl_seconds: number4().default(600)
49372
49689
  }).transform((v) => {
@@ -49384,7 +49701,7 @@ var init_actions_propose = __esm(() => {
49384
49701
  opaqueId: stringType().optional(),
49385
49702
  botshieldUserId: stringType().optional(),
49386
49703
  userEmail: stringType().optional(),
49387
- action: lazyType(() => Action$outboundSchema),
49704
+ action: lazyType(() => ActionsProposeAction$outboundSchema),
49388
49705
  adaptiveCardPayload: recordType(anyType()).optional(),
49389
49706
  ttlSeconds: numberType().int().default(600)
49390
49707
  }).transform((v) => {
@@ -49439,6 +49756,767 @@ var init_actions_propose = __esm(() => {
49439
49756
  });
49440
49757
  });
49441
49758
 
49759
+ // src/models/operations/gates-api-actions-create.ts
49760
+ var GatesApiActionsCreateSecurity$inboundSchema, GatesApiActionsCreateSecurity$outboundSchema, GatesApiActionsCreateRequest$inboundSchema, GatesApiActionsCreateRequest$outboundSchema, GatesApiActionsCreateDataData$inboundSchema, GatesApiActionsCreateDataData$outboundSchema, GatesApiActionsCreateData$inboundSchema, GatesApiActionsCreateData$outboundSchema, GatesApiActionsCreateResponse$inboundSchema, GatesApiActionsCreateResponse$outboundSchema;
49761
+ var init_gates_api_actions_create = __esm(() => {
49762
+ init_v3();
49763
+ init_primitives();
49764
+ init_primitives2();
49765
+ init_models();
49766
+ GatesApiActionsCreateSecurity$inboundSchema = objectType({
49767
+ GatesKeyAuth: string4()
49768
+ }).transform((v) => {
49769
+ return remap(v, {
49770
+ GatesKeyAuth: "gatesKeyAuth"
49771
+ });
49772
+ });
49773
+ GatesApiActionsCreateSecurity$outboundSchema = objectType({
49774
+ gatesKeyAuth: stringType()
49775
+ }).transform((v) => {
49776
+ return remap(v, {
49777
+ gatesKeyAuth: "GatesKeyAuth"
49778
+ });
49779
+ });
49780
+ GatesApiActionsCreateRequest$inboundSchema = objectType({
49781
+ name: string4(),
49782
+ actKey: string4(),
49783
+ whereUrl: optional3(string4())
49784
+ });
49785
+ GatesApiActionsCreateRequest$outboundSchema = objectType({
49786
+ name: stringType(),
49787
+ actKey: stringType(),
49788
+ whereUrl: stringType().optional()
49789
+ });
49790
+ GatesApiActionsCreateDataData$inboundSchema = objectType({
49791
+ action: BotShieldAction$inboundSchema
49792
+ });
49793
+ GatesApiActionsCreateDataData$outboundSchema = objectType({
49794
+ action: BotShieldAction$outboundSchema
49795
+ });
49796
+ GatesApiActionsCreateData$inboundSchema = objectType({
49797
+ data: optional3(lazyType(() => GatesApiActionsCreateDataData$inboundSchema)),
49798
+ error: optional3(GatesApiError$inboundSchema)
49799
+ });
49800
+ GatesApiActionsCreateData$outboundSchema = objectType({
49801
+ data: lazyType(() => GatesApiActionsCreateDataData$outboundSchema).optional(),
49802
+ error: GatesApiError$outboundSchema.optional()
49803
+ });
49804
+ GatesApiActionsCreateResponse$inboundSchema = objectType({
49805
+ data: lazyType(() => GatesApiActionsCreateData$inboundSchema)
49806
+ });
49807
+ GatesApiActionsCreateResponse$outboundSchema = objectType({
49808
+ data: lazyType(() => GatesApiActionsCreateData$outboundSchema)
49809
+ });
49810
+ });
49811
+
49812
+ // src/models/operations/gates-api-actions-list.ts
49813
+ var GatesApiActionsListSecurity$inboundSchema, GatesApiActionsListSecurity$outboundSchema, GatesApiActionsListDataData$inboundSchema, GatesApiActionsListDataData$outboundSchema, GatesApiActionsListData$inboundSchema, GatesApiActionsListData$outboundSchema, GatesApiActionsListResponse$inboundSchema, GatesApiActionsListResponse$outboundSchema;
49814
+ var init_gates_api_actions_list = __esm(() => {
49815
+ init_v3();
49816
+ init_primitives();
49817
+ init_primitives2();
49818
+ init_models();
49819
+ GatesApiActionsListSecurity$inboundSchema = objectType({
49820
+ GatesKeyAuth: string4()
49821
+ }).transform((v) => {
49822
+ return remap(v, {
49823
+ GatesKeyAuth: "gatesKeyAuth"
49824
+ });
49825
+ });
49826
+ GatesApiActionsListSecurity$outboundSchema = objectType({
49827
+ gatesKeyAuth: stringType()
49828
+ }).transform((v) => {
49829
+ return remap(v, {
49830
+ gatesKeyAuth: "GatesKeyAuth"
49831
+ });
49832
+ });
49833
+ GatesApiActionsListDataData$inboundSchema = objectType({
49834
+ actions: arrayType(BotShieldAction$inboundSchema)
49835
+ });
49836
+ GatesApiActionsListDataData$outboundSchema = objectType({
49837
+ actions: arrayType(BotShieldAction$outboundSchema)
49838
+ });
49839
+ GatesApiActionsListData$inboundSchema = objectType({
49840
+ data: optional3(lazyType(() => GatesApiActionsListDataData$inboundSchema)),
49841
+ error: optional3(GatesApiError$inboundSchema)
49842
+ });
49843
+ GatesApiActionsListData$outboundSchema = objectType({
49844
+ data: lazyType(() => GatesApiActionsListDataData$outboundSchema).optional(),
49845
+ error: GatesApiError$outboundSchema.optional()
49846
+ });
49847
+ GatesApiActionsListResponse$inboundSchema = objectType({
49848
+ data: lazyType(() => GatesApiActionsListData$inboundSchema)
49849
+ });
49850
+ GatesApiActionsListResponse$outboundSchema = objectType({
49851
+ data: lazyType(() => GatesApiActionsListData$outboundSchema)
49852
+ });
49853
+ });
49854
+
49855
+ // src/models/operations/gates-api-actions-request-status.ts
49856
+ var GatesApiActionsRequestStatusStatus, GatesApiActionsRequestStatusSecurity$inboundSchema, GatesApiActionsRequestStatusSecurity$outboundSchema, GatesApiActionsRequestStatusRequest$inboundSchema, GatesApiActionsRequestStatusRequest$outboundSchema, GatesApiActionsRequestStatusStatus$inboundSchema, GatesApiActionsRequestStatusStatus$outboundSchema, GatesApiActionsRequestStatusDataData$inboundSchema, GatesApiActionsRequestStatusDataData$outboundSchema, GatesApiActionsRequestStatusData$inboundSchema, GatesApiActionsRequestStatusData$outboundSchema, GatesApiActionsRequestStatusResponse$inboundSchema, GatesApiActionsRequestStatusResponse$outboundSchema;
49857
+ var init_gates_api_actions_request_status = __esm(() => {
49858
+ init_v3();
49859
+ init_primitives();
49860
+ init_enums();
49861
+ init_primitives2();
49862
+ init_models();
49863
+ GatesApiActionsRequestStatusStatus = {
49864
+ Queued: "queued",
49865
+ Approved: "approved",
49866
+ Denied: "denied",
49867
+ Expired: "expired",
49868
+ Cancelled: "cancelled"
49869
+ };
49870
+ GatesApiActionsRequestStatusSecurity$inboundSchema = objectType({
49871
+ GatesKeyAuth: string4()
49872
+ }).transform((v) => {
49873
+ return remap(v, {
49874
+ GatesKeyAuth: "gatesKeyAuth"
49875
+ });
49876
+ });
49877
+ GatesApiActionsRequestStatusSecurity$outboundSchema = objectType({
49878
+ gatesKeyAuth: stringType()
49879
+ }).transform((v) => {
49880
+ return remap(v, {
49881
+ gatesKeyAuth: "GatesKeyAuth"
49882
+ });
49883
+ });
49884
+ GatesApiActionsRequestStatusRequest$inboundSchema = objectType({
49885
+ request_id: string4(),
49886
+ wait_seconds: optional3(number4())
49887
+ }).transform((v) => {
49888
+ return remap(v, {
49889
+ request_id: "requestId",
49890
+ wait_seconds: "waitSeconds"
49891
+ });
49892
+ });
49893
+ GatesApiActionsRequestStatusRequest$outboundSchema = objectType({
49894
+ requestId: stringType(),
49895
+ waitSeconds: numberType().int().optional()
49896
+ }).transform((v) => {
49897
+ return remap(v, {
49898
+ requestId: "request_id",
49899
+ waitSeconds: "wait_seconds"
49900
+ });
49901
+ });
49902
+ GatesApiActionsRequestStatusStatus$inboundSchema = inboundSchema(GatesApiActionsRequestStatusStatus);
49903
+ GatesApiActionsRequestStatusStatus$outboundSchema = outboundSchema(GatesApiActionsRequestStatusStatus);
49904
+ GatesApiActionsRequestStatusDataData$inboundSchema = objectType({
49905
+ request_id: string4(),
49906
+ status: GatesApiActionsRequestStatusStatus$inboundSchema,
49907
+ act: string4(),
49908
+ expires_at: date4(),
49909
+ resolved_at: nullableType(date4()).optional(),
49910
+ token: nullableType(string4()).optional(),
49911
+ token_expires_in: optional3(number4())
49912
+ }).transform((v) => {
49913
+ return remap(v, {
49914
+ request_id: "requestId",
49915
+ expires_at: "expiresAt",
49916
+ resolved_at: "resolvedAt",
49917
+ token_expires_in: "tokenExpiresIn"
49918
+ });
49919
+ });
49920
+ GatesApiActionsRequestStatusDataData$outboundSchema = objectType({
49921
+ requestId: stringType(),
49922
+ status: GatesApiActionsRequestStatusStatus$outboundSchema,
49923
+ act: stringType(),
49924
+ expiresAt: dateType().transform((v) => v.toISOString()),
49925
+ resolvedAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
49926
+ token: nullableType(stringType()).optional(),
49927
+ tokenExpiresIn: numberType().int().optional()
49928
+ }).transform((v) => {
49929
+ return remap(v, {
49930
+ requestId: "request_id",
49931
+ expiresAt: "expires_at",
49932
+ resolvedAt: "resolved_at",
49933
+ tokenExpiresIn: "token_expires_in"
49934
+ });
49935
+ });
49936
+ GatesApiActionsRequestStatusData$inboundSchema = objectType({
49937
+ data: optional3(lazyType(() => GatesApiActionsRequestStatusDataData$inboundSchema)),
49938
+ error: optional3(GatesApiError$inboundSchema)
49939
+ });
49940
+ GatesApiActionsRequestStatusData$outboundSchema = objectType({
49941
+ data: lazyType(() => GatesApiActionsRequestStatusDataData$outboundSchema).optional(),
49942
+ error: GatesApiError$outboundSchema.optional()
49943
+ });
49944
+ GatesApiActionsRequestStatusResponse$inboundSchema = objectType({
49945
+ data: lazyType(() => GatesApiActionsRequestStatusData$inboundSchema)
49946
+ });
49947
+ GatesApiActionsRequestStatusResponse$outboundSchema = objectType({
49948
+ data: lazyType(() => GatesApiActionsRequestStatusData$outboundSchema)
49949
+ });
49950
+ });
49951
+
49952
+ // src/models/operations/gates-api-actions-request.ts
49953
+ var GatesApiActionsRequestStatus, GatesApiActionsRequestSecurity$inboundSchema, GatesApiActionsRequestSecurity$outboundSchema, GatesApiActionsRequestRequest$inboundSchema, GatesApiActionsRequestRequest$outboundSchema, GatesApiActionsRequestStatus$inboundSchema, GatesApiActionsRequestStatus$outboundSchema, GatesApiActionsRequestDataData$inboundSchema, GatesApiActionsRequestDataData$outboundSchema, GatesApiActionsRequestData$inboundSchema, GatesApiActionsRequestData$outboundSchema, GatesApiActionsRequestResponse$inboundSchema, GatesApiActionsRequestResponse$outboundSchema;
49954
+ var init_gates_api_actions_request = __esm(() => {
49955
+ init_v3();
49956
+ init_primitives();
49957
+ init_enums();
49958
+ init_primitives2();
49959
+ init_models();
49960
+ GatesApiActionsRequestStatus = {
49961
+ Queued: "queued",
49962
+ Approved: "approved",
49963
+ Denied: "denied",
49964
+ Expired: "expired",
49965
+ Cancelled: "cancelled"
49966
+ };
49967
+ GatesApiActionsRequestSecurity$inboundSchema = objectType({
49968
+ GatesKeyAuth: string4()
49969
+ }).transform((v) => {
49970
+ return remap(v, {
49971
+ GatesKeyAuth: "gatesKeyAuth"
49972
+ });
49973
+ });
49974
+ GatesApiActionsRequestSecurity$outboundSchema = objectType({
49975
+ gatesKeyAuth: stringType()
49976
+ }).transform((v) => {
49977
+ return remap(v, {
49978
+ gatesKeyAuth: "GatesKeyAuth"
49979
+ });
49980
+ });
49981
+ GatesApiActionsRequestRequest$inboundSchema = objectType({
49982
+ request_id: string4(),
49983
+ agent: string4(),
49984
+ act: string4(),
49985
+ act_label: optional3(string4()),
49986
+ partner_user_ref: string4(),
49987
+ requested_by: optional3(string4()),
49988
+ ttl_seconds: number4().default(600)
49989
+ }).transform((v) => {
49990
+ return remap(v, {
49991
+ request_id: "requestId",
49992
+ act_label: "actLabel",
49993
+ partner_user_ref: "partnerUserRef",
49994
+ requested_by: "requestedBy",
49995
+ ttl_seconds: "ttlSeconds"
49996
+ });
49997
+ });
49998
+ GatesApiActionsRequestRequest$outboundSchema = objectType({
49999
+ requestId: stringType(),
50000
+ agent: stringType(),
50001
+ act: stringType(),
50002
+ actLabel: stringType().optional(),
50003
+ partnerUserRef: stringType(),
50004
+ requestedBy: stringType().optional(),
50005
+ ttlSeconds: numberType().int().default(600)
50006
+ }).transform((v) => {
50007
+ return remap(v, {
50008
+ requestId: "request_id",
50009
+ actLabel: "act_label",
50010
+ partnerUserRef: "partner_user_ref",
50011
+ requestedBy: "requested_by",
50012
+ ttlSeconds: "ttl_seconds"
50013
+ });
50014
+ });
50015
+ GatesApiActionsRequestStatus$inboundSchema = inboundSchema(GatesApiActionsRequestStatus);
50016
+ GatesApiActionsRequestStatus$outboundSchema = outboundSchema(GatesApiActionsRequestStatus);
50017
+ GatesApiActionsRequestDataData$inboundSchema = objectType({
50018
+ request_id: string4(),
50019
+ status: GatesApiActionsRequestStatus$inboundSchema,
50020
+ expires_at: date4()
50021
+ }).transform((v) => {
50022
+ return remap(v, {
50023
+ request_id: "requestId",
50024
+ expires_at: "expiresAt"
50025
+ });
50026
+ });
50027
+ GatesApiActionsRequestDataData$outboundSchema = objectType({
50028
+ requestId: stringType(),
50029
+ status: GatesApiActionsRequestStatus$outboundSchema,
50030
+ expiresAt: dateType().transform((v) => v.toISOString())
50031
+ }).transform((v) => {
50032
+ return remap(v, {
50033
+ requestId: "request_id",
50034
+ expiresAt: "expires_at"
50035
+ });
50036
+ });
50037
+ GatesApiActionsRequestData$inboundSchema = objectType({
50038
+ data: optional3(lazyType(() => GatesApiActionsRequestDataData$inboundSchema)),
50039
+ error: optional3(GatesApiError$inboundSchema)
50040
+ });
50041
+ GatesApiActionsRequestData$outboundSchema = objectType({
50042
+ data: lazyType(() => GatesApiActionsRequestDataData$outboundSchema).optional(),
50043
+ error: GatesApiError$outboundSchema.optional()
50044
+ });
50045
+ GatesApiActionsRequestResponse$inboundSchema = objectType({
50046
+ data: lazyType(() => GatesApiActionsRequestData$inboundSchema)
50047
+ });
50048
+ GatesApiActionsRequestResponse$outboundSchema = objectType({
50049
+ data: lazyType(() => GatesApiActionsRequestData$outboundSchema)
50050
+ });
50051
+ });
50052
+
50053
+ // src/models/operations/gates-api-actions-set-state.ts
50054
+ var GatesApiActionsSetStateState, GatesApiActionsSetStateSecurity$inboundSchema, GatesApiActionsSetStateSecurity$outboundSchema, GatesApiActionsSetStateState$inboundSchema, GatesApiActionsSetStateState$outboundSchema, GatesApiActionsSetStateRequest$inboundSchema, GatesApiActionsSetStateRequest$outboundSchema, GatesApiActionsSetStateDataData$inboundSchema, GatesApiActionsSetStateDataData$outboundSchema, GatesApiActionsSetStateData$inboundSchema, GatesApiActionsSetStateData$outboundSchema, GatesApiActionsSetStateResponse$inboundSchema, GatesApiActionsSetStateResponse$outboundSchema;
50055
+ var init_gates_api_actions_set_state = __esm(() => {
50056
+ init_v3();
50057
+ init_primitives();
50058
+ init_primitives2();
50059
+ init_models();
50060
+ GatesApiActionsSetStateState = {
50061
+ Live: "live",
50062
+ Off: "off"
50063
+ };
50064
+ GatesApiActionsSetStateSecurity$inboundSchema = objectType({
50065
+ GatesKeyAuth: string4()
50066
+ }).transform((v) => {
50067
+ return remap(v, {
50068
+ GatesKeyAuth: "gatesKeyAuth"
50069
+ });
50070
+ });
50071
+ GatesApiActionsSetStateSecurity$outboundSchema = objectType({
50072
+ gatesKeyAuth: stringType()
50073
+ }).transform((v) => {
50074
+ return remap(v, {
50075
+ gatesKeyAuth: "GatesKeyAuth"
50076
+ });
50077
+ });
50078
+ GatesApiActionsSetStateState$inboundSchema = nativeEnumType(GatesApiActionsSetStateState);
50079
+ GatesApiActionsSetStateState$outboundSchema = GatesApiActionsSetStateState$inboundSchema;
50080
+ GatesApiActionsSetStateRequest$inboundSchema = objectType({
50081
+ actKey: string4(),
50082
+ state: GatesApiActionsSetStateState$inboundSchema
50083
+ });
50084
+ GatesApiActionsSetStateRequest$outboundSchema = objectType({
50085
+ actKey: stringType(),
50086
+ state: GatesApiActionsSetStateState$outboundSchema
50087
+ });
50088
+ GatesApiActionsSetStateDataData$inboundSchema = objectType({
50089
+ action: BotShieldAction$inboundSchema
50090
+ });
50091
+ GatesApiActionsSetStateDataData$outboundSchema = objectType({
50092
+ action: BotShieldAction$outboundSchema
50093
+ });
50094
+ GatesApiActionsSetStateData$inboundSchema = objectType({
50095
+ data: optional3(lazyType(() => GatesApiActionsSetStateDataData$inboundSchema)),
50096
+ error: optional3(GatesApiError$inboundSchema)
50097
+ });
50098
+ GatesApiActionsSetStateData$outboundSchema = objectType({
50099
+ data: lazyType(() => GatesApiActionsSetStateDataData$outboundSchema).optional(),
50100
+ error: GatesApiError$outboundSchema.optional()
50101
+ });
50102
+ GatesApiActionsSetStateResponse$inboundSchema = objectType({
50103
+ data: lazyType(() => GatesApiActionsSetStateData$inboundSchema)
50104
+ });
50105
+ GatesApiActionsSetStateResponse$outboundSchema = objectType({
50106
+ data: lazyType(() => GatesApiActionsSetStateData$outboundSchema)
50107
+ });
50108
+ });
50109
+
50110
+ // src/models/operations/gates-api-activate.ts
50111
+ var GatesApiActivateSecurity$inboundSchema, GatesApiActivateSecurity$outboundSchema, GatesApiActivateRequest$inboundSchema, GatesApiActivateRequest$outboundSchema, GatesApiActivateDataData$inboundSchema, GatesApiActivateDataData$outboundSchema, GatesApiActivateData$inboundSchema, GatesApiActivateData$outboundSchema, GatesApiActivateResponse$inboundSchema, GatesApiActivateResponse$outboundSchema;
50112
+ var init_gates_api_activate = __esm(() => {
50113
+ init_v3();
50114
+ init_primitives();
50115
+ init_primitives2();
50116
+ init_models();
50117
+ GatesApiActivateSecurity$inboundSchema = objectType({
50118
+ GatesKeyAuth: string4()
50119
+ }).transform((v) => {
50120
+ return remap(v, {
50121
+ GatesKeyAuth: "gatesKeyAuth"
50122
+ });
50123
+ });
50124
+ GatesApiActivateSecurity$outboundSchema = objectType({
50125
+ gatesKeyAuth: stringType()
50126
+ }).transform((v) => {
50127
+ return remap(v, {
50128
+ gatesKeyAuth: "GatesKeyAuth"
50129
+ });
50130
+ });
50131
+ GatesApiActivateRequest$inboundSchema = objectType({
50132
+ key: string4()
50133
+ });
50134
+ GatesApiActivateRequest$outboundSchema = objectType({
50135
+ key: stringType()
50136
+ });
50137
+ GatesApiActivateDataData$inboundSchema = objectType({
50138
+ gate: Gate$inboundSchema
50139
+ });
50140
+ GatesApiActivateDataData$outboundSchema = objectType({
50141
+ gate: Gate$outboundSchema
50142
+ });
50143
+ GatesApiActivateData$inboundSchema = objectType({
50144
+ data: optional3(lazyType(() => GatesApiActivateDataData$inboundSchema)),
50145
+ error: optional3(GatesApiError$inboundSchema)
50146
+ });
50147
+ GatesApiActivateData$outboundSchema = objectType({
50148
+ data: lazyType(() => GatesApiActivateDataData$outboundSchema).optional(),
50149
+ error: GatesApiError$outboundSchema.optional()
50150
+ });
50151
+ GatesApiActivateResponse$inboundSchema = objectType({
50152
+ data: lazyType(() => GatesApiActivateData$inboundSchema)
50153
+ });
50154
+ GatesApiActivateResponse$outboundSchema = objectType({
50155
+ data: lazyType(() => GatesApiActivateData$outboundSchema)
50156
+ });
50157
+ });
50158
+
50159
+ // src/models/operations/gates-api-cancel.ts
50160
+ var GatesApiCancelSecurity$inboundSchema, GatesApiCancelSecurity$outboundSchema, GatesApiCancelRequest$inboundSchema, GatesApiCancelRequest$outboundSchema, GatesApiCancelDataData$inboundSchema, GatesApiCancelDataData$outboundSchema, GatesApiCancelData$inboundSchema, GatesApiCancelData$outboundSchema, GatesApiCancelResponse$inboundSchema, GatesApiCancelResponse$outboundSchema;
50161
+ var init_gates_api_cancel = __esm(() => {
50162
+ init_v3();
50163
+ init_primitives();
50164
+ init_primitives2();
50165
+ init_models();
50166
+ GatesApiCancelSecurity$inboundSchema = objectType({
50167
+ GatesKeyAuth: string4()
50168
+ }).transform((v) => {
50169
+ return remap(v, {
50170
+ GatesKeyAuth: "gatesKeyAuth"
50171
+ });
50172
+ });
50173
+ GatesApiCancelSecurity$outboundSchema = objectType({
50174
+ gatesKeyAuth: stringType()
50175
+ }).transform((v) => {
50176
+ return remap(v, {
50177
+ gatesKeyAuth: "GatesKeyAuth"
50178
+ });
50179
+ });
50180
+ GatesApiCancelRequest$inboundSchema = objectType({
50181
+ key: string4()
50182
+ });
50183
+ GatesApiCancelRequest$outboundSchema = objectType({
50184
+ key: stringType()
50185
+ });
50186
+ GatesApiCancelDataData$inboundSchema = objectType({
50187
+ cancelled: boolean4()
50188
+ });
50189
+ GatesApiCancelDataData$outboundSchema = objectType({
50190
+ cancelled: booleanType()
50191
+ });
50192
+ GatesApiCancelData$inboundSchema = objectType({
50193
+ data: optional3(lazyType(() => GatesApiCancelDataData$inboundSchema)),
50194
+ error: optional3(GatesApiError$inboundSchema)
50195
+ });
50196
+ GatesApiCancelData$outboundSchema = objectType({
50197
+ data: lazyType(() => GatesApiCancelDataData$outboundSchema).optional(),
50198
+ error: GatesApiError$outboundSchema.optional()
50199
+ });
50200
+ GatesApiCancelResponse$inboundSchema = objectType({
50201
+ data: lazyType(() => GatesApiCancelData$inboundSchema)
50202
+ });
50203
+ GatesApiCancelResponse$outboundSchema = objectType({
50204
+ data: lazyType(() => GatesApiCancelData$outboundSchema)
50205
+ });
50206
+ });
50207
+
50208
+ // src/models/operations/gates-api-close.ts
50209
+ var GatesApiCloseSecurity$inboundSchema, GatesApiCloseSecurity$outboundSchema, GatesApiCloseRequest$inboundSchema, GatesApiCloseRequest$outboundSchema, GatesApiCloseDataData$inboundSchema, GatesApiCloseDataData$outboundSchema, GatesApiCloseData$inboundSchema, GatesApiCloseData$outboundSchema, GatesApiCloseResponse$inboundSchema, GatesApiCloseResponse$outboundSchema;
50210
+ var init_gates_api_close = __esm(() => {
50211
+ init_v3();
50212
+ init_primitives();
50213
+ init_primitives2();
50214
+ init_models();
50215
+ GatesApiCloseSecurity$inboundSchema = objectType({
50216
+ GatesKeyAuth: string4()
50217
+ }).transform((v) => {
50218
+ return remap(v, {
50219
+ GatesKeyAuth: "gatesKeyAuth"
50220
+ });
50221
+ });
50222
+ GatesApiCloseSecurity$outboundSchema = objectType({
50223
+ gatesKeyAuth: stringType()
50224
+ }).transform((v) => {
50225
+ return remap(v, {
50226
+ gatesKeyAuth: "GatesKeyAuth"
50227
+ });
50228
+ });
50229
+ GatesApiCloseRequest$inboundSchema = objectType({
50230
+ key: string4()
50231
+ });
50232
+ GatesApiCloseRequest$outboundSchema = objectType({
50233
+ key: stringType()
50234
+ });
50235
+ GatesApiCloseDataData$inboundSchema = objectType({
50236
+ closed: boolean4(),
50237
+ already_closed: optional3(boolean4())
50238
+ }).transform((v) => {
50239
+ return remap(v, {
50240
+ already_closed: "alreadyClosed"
50241
+ });
50242
+ });
50243
+ GatesApiCloseDataData$outboundSchema = objectType({
50244
+ closed: booleanType(),
50245
+ alreadyClosed: booleanType().optional()
50246
+ }).transform((v) => {
50247
+ return remap(v, {
50248
+ alreadyClosed: "already_closed"
50249
+ });
50250
+ });
50251
+ GatesApiCloseData$inboundSchema = objectType({
50252
+ data: optional3(lazyType(() => GatesApiCloseDataData$inboundSchema)),
50253
+ error: optional3(GatesApiError$inboundSchema)
50254
+ });
50255
+ GatesApiCloseData$outboundSchema = objectType({
50256
+ data: lazyType(() => GatesApiCloseDataData$outboundSchema).optional(),
50257
+ error: GatesApiError$outboundSchema.optional()
50258
+ });
50259
+ GatesApiCloseResponse$inboundSchema = objectType({
50260
+ data: lazyType(() => GatesApiCloseData$inboundSchema)
50261
+ });
50262
+ GatesApiCloseResponse$outboundSchema = objectType({
50263
+ data: lazyType(() => GatesApiCloseData$outboundSchema)
50264
+ });
50265
+ });
50266
+
50267
+ // src/models/operations/gates-api-create.ts
50268
+ var GatesApiCreateGateType, GatesApiCreateAgeThreshold, GatesApiCreatePreset, GatesApiCreateSecurity$inboundSchema, GatesApiCreateSecurity$outboundSchema, GatesApiCreateGateType$inboundSchema, GatesApiCreateGateType$outboundSchema, GatesApiCreateAgeThreshold$inboundSchema, GatesApiCreateAgeThreshold$outboundSchema, GatesApiCreatePreset$inboundSchema, GatesApiCreatePreset$outboundSchema, GatesApiCreateRequest$inboundSchema, GatesApiCreateRequest$outboundSchema, GatesApiCreateDataData$inboundSchema, GatesApiCreateDataData$outboundSchema, GatesApiCreateData$inboundSchema, GatesApiCreateData$outboundSchema, GatesApiCreateResponse$inboundSchema, GatesApiCreateResponse$outboundSchema;
50269
+ var init_gates_api_create = __esm(() => {
50270
+ init_v3();
50271
+ init_primitives();
50272
+ init_primitives2();
50273
+ init_models();
50274
+ GatesApiCreateGateType = {
50275
+ Human: "human",
50276
+ Age: "age"
50277
+ };
50278
+ GatesApiCreateAgeThreshold = {
50279
+ Thirteen: 13,
50280
+ Eighteen: 18,
50281
+ TwentyOne: 21
50282
+ };
50283
+ GatesApiCreatePreset = {
50284
+ Presale: "presale",
50285
+ Promo: "promo",
50286
+ Drop: "drop",
50287
+ Vote: "vote",
50288
+ Reservation: "reservation",
50289
+ Claim: "claim"
50290
+ };
50291
+ GatesApiCreateSecurity$inboundSchema = objectType({
50292
+ GatesKeyAuth: string4()
50293
+ }).transform((v) => {
50294
+ return remap(v, {
50295
+ GatesKeyAuth: "gatesKeyAuth"
50296
+ });
50297
+ });
50298
+ GatesApiCreateSecurity$outboundSchema = objectType({
50299
+ gatesKeyAuth: stringType()
50300
+ }).transform((v) => {
50301
+ return remap(v, {
50302
+ gatesKeyAuth: "GatesKeyAuth"
50303
+ });
50304
+ });
50305
+ GatesApiCreateGateType$inboundSchema = nativeEnumType(GatesApiCreateGateType);
50306
+ GatesApiCreateGateType$outboundSchema = GatesApiCreateGateType$inboundSchema;
50307
+ GatesApiCreateAgeThreshold$inboundSchema = nativeEnumType(GatesApiCreateAgeThreshold);
50308
+ GatesApiCreateAgeThreshold$outboundSchema = GatesApiCreateAgeThreshold$inboundSchema;
50309
+ GatesApiCreatePreset$inboundSchema = nativeEnumType(GatesApiCreatePreset);
50310
+ GatesApiCreatePreset$outboundSchema = GatesApiCreatePreset$inboundSchema;
50311
+ GatesApiCreateRequest$inboundSchema = objectType({
50312
+ key: string4(),
50313
+ name: string4(),
50314
+ message: optional3(string4()),
50315
+ gateType: GatesApiCreateGateType$inboundSchema.default("human"),
50316
+ ageThreshold: optional3(GatesApiCreateAgeThreshold$inboundSchema),
50317
+ preset: optional3(GatesApiCreatePreset$inboundSchema),
50318
+ policy: optional3(GatePolicyDoc$inboundSchema),
50319
+ destinationUrl: optional3(string4()),
50320
+ activate: boolean4().default(false)
50321
+ });
50322
+ GatesApiCreateRequest$outboundSchema = objectType({
50323
+ key: stringType(),
50324
+ name: stringType(),
50325
+ message: stringType().optional(),
50326
+ gateType: GatesApiCreateGateType$outboundSchema.default("human"),
50327
+ ageThreshold: GatesApiCreateAgeThreshold$outboundSchema.optional(),
50328
+ preset: GatesApiCreatePreset$outboundSchema.optional(),
50329
+ policy: GatePolicyDoc$outboundSchema.optional(),
50330
+ destinationUrl: stringType().optional(),
50331
+ activate: booleanType().default(false)
50332
+ });
50333
+ GatesApiCreateDataData$inboundSchema = objectType({
50334
+ gate: Gate$inboundSchema,
50335
+ activated: boolean4(),
50336
+ activation_error: optional3(GatesApiError$inboundSchema)
50337
+ }).transform((v) => {
50338
+ return remap(v, {
50339
+ activation_error: "activationError"
50340
+ });
50341
+ });
50342
+ GatesApiCreateDataData$outboundSchema = objectType({
50343
+ gate: Gate$outboundSchema,
50344
+ activated: booleanType(),
50345
+ activationError: GatesApiError$outboundSchema.optional()
50346
+ }).transform((v) => {
50347
+ return remap(v, {
50348
+ activationError: "activation_error"
50349
+ });
50350
+ });
50351
+ GatesApiCreateData$inboundSchema = objectType({
50352
+ data: optional3(lazyType(() => GatesApiCreateDataData$inboundSchema)),
50353
+ error: optional3(GatesApiError$inboundSchema)
50354
+ });
50355
+ GatesApiCreateData$outboundSchema = objectType({
50356
+ data: lazyType(() => GatesApiCreateDataData$outboundSchema).optional(),
50357
+ error: GatesApiError$outboundSchema.optional()
50358
+ });
50359
+ GatesApiCreateResponse$inboundSchema = objectType({
50360
+ data: lazyType(() => GatesApiCreateData$inboundSchema)
50361
+ });
50362
+ GatesApiCreateResponse$outboundSchema = objectType({
50363
+ data: lazyType(() => GatesApiCreateData$outboundSchema)
50364
+ });
50365
+ });
50366
+
50367
+ // src/models/operations/gates-api-extend.ts
50368
+ var GatesApiExtendSecurity$inboundSchema, GatesApiExtendSecurity$outboundSchema, GatesApiExtendRequest$inboundSchema, GatesApiExtendRequest$outboundSchema, GatesApiExtendDataData$inboundSchema, GatesApiExtendDataData$outboundSchema, GatesApiExtendData$inboundSchema, GatesApiExtendData$outboundSchema, GatesApiExtendResponse$inboundSchema, GatesApiExtendResponse$outboundSchema;
50369
+ var init_gates_api_extend = __esm(() => {
50370
+ init_v3();
50371
+ init_primitives();
50372
+ init_primitives2();
50373
+ init_models();
50374
+ GatesApiExtendSecurity$inboundSchema = objectType({
50375
+ GatesKeyAuth: string4()
50376
+ }).transform((v) => {
50377
+ return remap(v, {
50378
+ GatesKeyAuth: "gatesKeyAuth"
50379
+ });
50380
+ });
50381
+ GatesApiExtendSecurity$outboundSchema = objectType({
50382
+ gatesKeyAuth: stringType()
50383
+ }).transform((v) => {
50384
+ return remap(v, {
50385
+ gatesKeyAuth: "GatesKeyAuth"
50386
+ });
50387
+ });
50388
+ GatesApiExtendRequest$inboundSchema = objectType({
50389
+ key: string4(),
50390
+ closesAt: date4()
50391
+ });
50392
+ GatesApiExtendRequest$outboundSchema = objectType({
50393
+ key: stringType(),
50394
+ closesAt: dateType().transform((v) => v.toISOString())
50395
+ });
50396
+ GatesApiExtendDataData$inboundSchema = objectType({
50397
+ gate: Gate$inboundSchema,
50398
+ extended: boolean4(),
50399
+ version: number4()
50400
+ });
50401
+ GatesApiExtendDataData$outboundSchema = objectType({
50402
+ gate: Gate$outboundSchema,
50403
+ extended: booleanType(),
50404
+ version: numberType().int()
50405
+ });
50406
+ GatesApiExtendData$inboundSchema = objectType({
50407
+ data: optional3(lazyType(() => GatesApiExtendDataData$inboundSchema)),
50408
+ error: optional3(GatesApiError$inboundSchema)
50409
+ });
50410
+ GatesApiExtendData$outboundSchema = objectType({
50411
+ data: lazyType(() => GatesApiExtendDataData$outboundSchema).optional(),
50412
+ error: GatesApiError$outboundSchema.optional()
50413
+ });
50414
+ GatesApiExtendResponse$inboundSchema = objectType({
50415
+ data: lazyType(() => GatesApiExtendData$inboundSchema)
50416
+ });
50417
+ GatesApiExtendResponse$outboundSchema = objectType({
50418
+ data: lazyType(() => GatesApiExtendData$outboundSchema)
50419
+ });
50420
+ });
50421
+
50422
+ // src/models/operations/gates-api-get.ts
50423
+ var GatesApiGetSecurity$inboundSchema, GatesApiGetSecurity$outboundSchema, GatesApiGetRequest$inboundSchema, GatesApiGetRequest$outboundSchema, GatesApiGetDataData$inboundSchema, GatesApiGetDataData$outboundSchema, GatesApiGetData$inboundSchema, GatesApiGetData$outboundSchema, GatesApiGetResponse$inboundSchema, GatesApiGetResponse$outboundSchema;
50424
+ var init_gates_api_get = __esm(() => {
50425
+ init_v3();
50426
+ init_primitives();
50427
+ init_primitives2();
50428
+ init_models();
50429
+ GatesApiGetSecurity$inboundSchema = objectType({
50430
+ GatesKeyAuth: string4()
50431
+ }).transform((v) => {
50432
+ return remap(v, {
50433
+ GatesKeyAuth: "gatesKeyAuth"
50434
+ });
50435
+ });
50436
+ GatesApiGetSecurity$outboundSchema = objectType({
50437
+ gatesKeyAuth: stringType()
50438
+ }).transform((v) => {
50439
+ return remap(v, {
50440
+ gatesKeyAuth: "GatesKeyAuth"
50441
+ });
50442
+ });
50443
+ GatesApiGetRequest$inboundSchema = objectType({
50444
+ key: string4()
50445
+ });
50446
+ GatesApiGetRequest$outboundSchema = objectType({
50447
+ key: stringType()
50448
+ });
50449
+ GatesApiGetDataData$inboundSchema = objectType({
50450
+ gate: Gate$inboundSchema
50451
+ });
50452
+ GatesApiGetDataData$outboundSchema = objectType({
50453
+ gate: Gate$outboundSchema
50454
+ });
50455
+ GatesApiGetData$inboundSchema = objectType({
50456
+ data: optional3(lazyType(() => GatesApiGetDataData$inboundSchema)),
50457
+ error: optional3(GatesApiError$inboundSchema)
50458
+ });
50459
+ GatesApiGetData$outboundSchema = objectType({
50460
+ data: lazyType(() => GatesApiGetDataData$outboundSchema).optional(),
50461
+ error: GatesApiError$outboundSchema.optional()
50462
+ });
50463
+ GatesApiGetResponse$inboundSchema = objectType({
50464
+ data: lazyType(() => GatesApiGetData$inboundSchema)
50465
+ });
50466
+ GatesApiGetResponse$outboundSchema = objectType({
50467
+ data: lazyType(() => GatesApiGetData$outboundSchema)
50468
+ });
50469
+ });
50470
+
50471
+ // src/models/operations/gates-api-list.ts
50472
+ var GatesApiListSecurity$inboundSchema, GatesApiListSecurity$outboundSchema, GatesApiListRequest$inboundSchema, GatesApiListRequest$outboundSchema, GatesApiListDataData$inboundSchema, GatesApiListDataData$outboundSchema, GatesApiListData$inboundSchema, GatesApiListData$outboundSchema, GatesApiListResponse$inboundSchema, GatesApiListResponse$outboundSchema;
50473
+ var init_gates_api_list = __esm(() => {
50474
+ init_v3();
50475
+ init_primitives();
50476
+ init_primitives2();
50477
+ init_models();
50478
+ GatesApiListSecurity$inboundSchema = objectType({
50479
+ GatesKeyAuth: string4()
50480
+ }).transform((v) => {
50481
+ return remap(v, {
50482
+ GatesKeyAuth: "gatesKeyAuth"
50483
+ });
50484
+ });
50485
+ GatesApiListSecurity$outboundSchema = objectType({
50486
+ gatesKeyAuth: stringType()
50487
+ }).transform((v) => {
50488
+ return remap(v, {
50489
+ gatesKeyAuth: "GatesKeyAuth"
50490
+ });
50491
+ });
50492
+ GatesApiListRequest$inboundSchema = objectType({
50493
+ limit: number4().default(50)
50494
+ });
50495
+ GatesApiListRequest$outboundSchema = objectType({
50496
+ limit: numberType().int().default(50)
50497
+ });
50498
+ GatesApiListDataData$inboundSchema = objectType({
50499
+ gates: arrayType(Gate$inboundSchema)
50500
+ });
50501
+ GatesApiListDataData$outboundSchema = objectType({
50502
+ gates: arrayType(Gate$outboundSchema)
50503
+ });
50504
+ GatesApiListData$inboundSchema = objectType({
50505
+ data: optional3(lazyType(() => GatesApiListDataData$inboundSchema)),
50506
+ error: optional3(GatesApiError$inboundSchema)
50507
+ });
50508
+ GatesApiListData$outboundSchema = objectType({
50509
+ data: lazyType(() => GatesApiListDataData$outboundSchema).optional(),
50510
+ error: GatesApiError$outboundSchema.optional()
50511
+ });
50512
+ GatesApiListResponse$inboundSchema = objectType({
50513
+ data: lazyType(() => GatesApiListData$inboundSchema)
50514
+ });
50515
+ GatesApiListResponse$outboundSchema = objectType({
50516
+ data: lazyType(() => GatesApiListData$outboundSchema)
50517
+ });
50518
+ });
50519
+
49442
50520
  // src/models/operations/sdk-create-session.ts
49443
50521
  var SDKCreateSessionEnvironment, SDKCreateSessionNotarizeFallbackReason, SDKCreateSessionSecurity$inboundSchema, SDKCreateSessionSecurity$outboundSchema, SDKCreateSessionRequest$inboundSchema, SDKCreateSessionRequest$outboundSchema, SDKCreateSessionEnvironment$inboundSchema, SDKCreateSessionEnvironment$outboundSchema, SDKCreateSessionOrganization$inboundSchema, SDKCreateSessionOrganization$outboundSchema, SDKCreateSessionNotarizeFallbackReason$inboundSchema, SDKCreateSessionNotarizeFallbackReason$outboundSchema, DataNotarizeRequiresUserRef$inboundSchema, DataNotarizeRequiresUserRef$outboundSchema, SDKCreateSessionData$inboundSchema, SDKCreateSessionData$outboundSchema, SDKCreateSessionResponse$inboundSchema, SDKCreateSessionResponse$outboundSchema;
49444
50522
  var init_sdk_create_session = __esm(() => {
@@ -49559,7 +50637,7 @@ var init_sdk_create_session = __esm(() => {
49559
50637
  });
49560
50638
 
49561
50639
  // src/models/operations/sdk-create-verification-link.ts
49562
- var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, GateType, AgeThreshold, SDKCreateVerificationLinkNotarizeFallbackReason, SDKCreateVerificationLinkSecurity$inboundSchema, SDKCreateVerificationLinkSecurity$outboundSchema, SDKTypeRequest$inboundSchema, SDKTypeRequest$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, SDKCreateVerificationLinkRequest$inboundSchema, SDKCreateVerificationLinkRequest$outboundSchema, SDKCreateVerificationLinkSDKTypeResponse$inboundSchema, SDKCreateVerificationLinkSDKTypeResponse$outboundSchema, AuthMode$inboundSchema, AuthMode$outboundSchema, SDKCreateVerificationLinkOrganization$inboundSchema, SDKCreateVerificationLinkOrganization$outboundSchema, GateType$inboundSchema, GateType$outboundSchema, AgeThreshold$inboundSchema, AgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
50640
+ var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, SDKCreateVerificationLinkGateType, SDKCreateVerificationLinkAgeThreshold, SDKCreateVerificationLinkNotarizeFallbackReason, SDKCreateVerificationLinkSecurity$inboundSchema, SDKCreateVerificationLinkSecurity$outboundSchema, SDKTypeRequest$inboundSchema, SDKTypeRequest$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, SDKCreateVerificationLinkRequest$inboundSchema, SDKCreateVerificationLinkRequest$outboundSchema, SDKCreateVerificationLinkSDKTypeResponse$inboundSchema, SDKCreateVerificationLinkSDKTypeResponse$outboundSchema, AuthMode$inboundSchema, AuthMode$outboundSchema, SDKCreateVerificationLinkOrganization$inboundSchema, SDKCreateVerificationLinkOrganization$outboundSchema, SDKCreateVerificationLinkGateType$inboundSchema, SDKCreateVerificationLinkGateType$outboundSchema, SDKCreateVerificationLinkAgeThreshold$inboundSchema, SDKCreateVerificationLinkAgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
49563
50641
  var init_sdk_create_verification_link = __esm(() => {
49564
50642
  init_v3();
49565
50643
  init_primitives();
@@ -49582,11 +50660,11 @@ var init_sdk_create_verification_link = __esm(() => {
49582
50660
  LinkedAccount: "linked-account",
49583
50661
  Private: "private"
49584
50662
  };
49585
- GateType = {
50663
+ SDKCreateVerificationLinkGateType = {
49586
50664
  Human: "human",
49587
50665
  Age: "age"
49588
50666
  };
49589
- AgeThreshold = {
50667
+ SDKCreateVerificationLinkAgeThreshold = {
49590
50668
  Thirteen: 13,
49591
50669
  Eighteen: 18,
49592
50670
  TwentyOne: 21
@@ -49627,7 +50705,9 @@ var init_sdk_create_verification_link = __esm(() => {
49627
50705
  parent_request_id: optional3(string4()),
49628
50706
  metadata: optional3(recordType(anyType())),
49629
50707
  notarize: optional3(boolean4()),
49630
- gate: optional3(string4())
50708
+ gate: optional3(string4()),
50709
+ act: optional3(string4()),
50710
+ act_label: optional3(string4())
49631
50711
  }).transform((v) => {
49632
50712
  return remap(v, {
49633
50713
  user_email: "userEmail",
@@ -49637,7 +50717,8 @@ var init_sdk_create_verification_link = __esm(() => {
49637
50717
  botshield_user_id: "botshieldUserId",
49638
50718
  partner_user_ref: "partnerUserRef",
49639
50719
  link_on_verify: "linkOnVerify",
49640
- parent_request_id: "parentRequestId"
50720
+ parent_request_id: "parentRequestId",
50721
+ act_label: "actLabel"
49641
50722
  });
49642
50723
  });
49643
50724
  SDKCreateVerificationLinkRequest$outboundSchema = objectType({
@@ -49653,7 +50734,9 @@ var init_sdk_create_verification_link = __esm(() => {
49653
50734
  parentRequestId: stringType().optional(),
49654
50735
  metadata: recordType(anyType()).optional(),
49655
50736
  notarize: booleanType().optional(),
49656
- gate: stringType().optional()
50737
+ gate: stringType().optional(),
50738
+ act: stringType().optional(),
50739
+ actLabel: stringType().optional()
49657
50740
  }).transform((v) => {
49658
50741
  return remap(v, {
49659
50742
  userEmail: "user_email",
@@ -49663,7 +50746,8 @@ var init_sdk_create_verification_link = __esm(() => {
49663
50746
  botshieldUserId: "botshield_user_id",
49664
50747
  partnerUserRef: "partner_user_ref",
49665
50748
  linkOnVerify: "link_on_verify",
49666
- parentRequestId: "parent_request_id"
50749
+ parentRequestId: "parent_request_id",
50750
+ actLabel: "act_label"
49667
50751
  });
49668
50752
  });
49669
50753
  SDKCreateVerificationLinkSDKTypeResponse$inboundSchema = inboundSchema(SDKCreateVerificationLinkSDKTypeResponse);
@@ -49676,10 +50760,10 @@ var init_sdk_create_verification_link = __esm(() => {
49676
50760
  SDKCreateVerificationLinkOrganization$outboundSchema = objectType({
49677
50761
  id: stringType().optional()
49678
50762
  });
49679
- GateType$inboundSchema = inboundSchema(GateType);
49680
- GateType$outboundSchema = outboundSchema(GateType);
49681
- AgeThreshold$inboundSchema = inboundSchemaInt(AgeThreshold);
49682
- AgeThreshold$outboundSchema = outboundSchemaInt(AgeThreshold);
50763
+ SDKCreateVerificationLinkGateType$inboundSchema = inboundSchema(SDKCreateVerificationLinkGateType);
50764
+ SDKCreateVerificationLinkGateType$outboundSchema = outboundSchema(SDKCreateVerificationLinkGateType);
50765
+ SDKCreateVerificationLinkAgeThreshold$inboundSchema = inboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
50766
+ SDKCreateVerificationLinkAgeThreshold$outboundSchema = outboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
49683
50767
  SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema = inboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
49684
50768
  SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema = outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
49685
50769
  SDKCreateVerificationLinkDataData$inboundSchema = objectType({
@@ -49693,8 +50777,8 @@ var init_sdk_create_verification_link = __esm(() => {
49693
50777
  scope: optional3(string4()),
49694
50778
  organization: optional3(lazyType(() => SDKCreateVerificationLinkOrganization$inboundSchema)),
49695
50779
  pushed_to_devices: number4(),
49696
- gate_type: optional3(GateType$inboundSchema),
49697
- age_threshold: optional3(AgeThreshold$inboundSchema),
50780
+ gate_type: optional3(SDKCreateVerificationLinkGateType$inboundSchema),
50781
+ age_threshold: optional3(SDKCreateVerificationLinkAgeThreshold$inboundSchema),
49698
50782
  trusted: optional3(boolean4()),
49699
50783
  notarize: optional3(boolean4()),
49700
50784
  notarize_fallback_reason: optional3(SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema),
@@ -49725,8 +50809,8 @@ var init_sdk_create_verification_link = __esm(() => {
49725
50809
  scope: stringType().optional(),
49726
50810
  organization: lazyType(() => SDKCreateVerificationLinkOrganization$outboundSchema).optional(),
49727
50811
  pushedToDevices: numberType().int(),
49728
- gateType: GateType$outboundSchema.optional(),
49729
- ageThreshold: AgeThreshold$outboundSchema.optional(),
50812
+ gateType: SDKCreateVerificationLinkGateType$outboundSchema.optional(),
50813
+ ageThreshold: SDKCreateVerificationLinkAgeThreshold$outboundSchema.optional(),
49730
50814
  trusted: booleanType().optional(),
49731
50815
  notarize: booleanType().optional(),
49732
50816
  notarizeFallbackReason: SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema.optional(),
@@ -50211,7 +51295,8 @@ var init_sdk_verify_token = __esm(() => {
50211
51295
  trusted: optional3(boolean4()),
50212
51296
  trusted_since: optional3(date4()),
50213
51297
  last_pass_at: optional3(date4()),
50214
- audience: nullableType(string4()).optional()
51298
+ audience: nullableType(string4()).optional(),
51299
+ act: optional3(string4())
50215
51300
  }).transform((v) => {
50216
51301
  return remap(v, {
50217
51302
  request_id: "requestId",
@@ -50235,7 +51320,8 @@ var init_sdk_verify_token = __esm(() => {
50235
51320
  trusted: booleanType().optional(),
50236
51321
  trustedSince: dateType().transform((v) => v.toISOString()).optional(),
50237
51322
  lastPassAt: dateType().transform((v) => v.toISOString()).optional(),
50238
- audience: nullableType(stringType()).optional()
51323
+ audience: nullableType(stringType()).optional(),
51324
+ act: stringType().optional()
50239
51325
  }).transform((v) => {
50240
51326
  return remap(v, {
50241
51327
  requestId: "request_id",
@@ -50255,12 +51341,10 @@ var init_sdk_verify_token = __esm(() => {
50255
51341
  expired_at: nullableType(date4()).optional(),
50256
51342
  claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
50257
51343
  replayed: optional3(boolean4()),
50258
- strict_single_use_from: optional3(date4()),
50259
51344
  verdict: optional3(SDKVerifyTokenVerdict$inboundSchema)
50260
51345
  }).transform((v) => {
50261
51346
  return remap(v, {
50262
- expired_at: "expiredAt",
50263
- strict_single_use_from: "strictSingleUseFrom"
51347
+ expired_at: "expiredAt"
50264
51348
  });
50265
51349
  });
50266
51350
  SDKVerifyTokenDataData$outboundSchema = objectType({
@@ -50269,12 +51353,10 @@ var init_sdk_verify_token = __esm(() => {
50269
51353
  expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
50270
51354
  claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
50271
51355
  replayed: booleanType().optional(),
50272
- strictSingleUseFrom: dateType().transform((v) => v.toISOString()).optional(),
50273
51356
  verdict: SDKVerifyTokenVerdict$outboundSchema.optional()
50274
51357
  }).transform((v) => {
50275
51358
  return remap(v, {
50276
- expiredAt: "expired_at",
50277
- strictSingleUseFrom: "strict_single_use_from"
51359
+ expiredAt: "expired_at"
50278
51360
  });
50279
51361
  });
50280
51362
  SDKVerifyTokenData$inboundSchema = objectType({
@@ -50523,14 +51605,14 @@ var init_secured_accounts_revoke = __esm(() => {
50523
51605
  });
50524
51606
 
50525
51607
  // src/models/operations/secured-accounts-status.ts
50526
- var State, SecuredAccountsStatusSecurity$inboundSchema, SecuredAccountsStatusSecurity$outboundSchema, SecuredAccountsStatusRequest$inboundSchema, SecuredAccountsStatusRequest$outboundSchema, State$inboundSchema, State$outboundSchema, SecuredAccountsStatusDataData$inboundSchema, SecuredAccountsStatusDataData$outboundSchema, SecuredAccountsStatusData$inboundSchema, SecuredAccountsStatusData$outboundSchema, SecuredAccountsStatusResponse$inboundSchema, SecuredAccountsStatusResponse$outboundSchema;
51608
+ var SecuredAccountsStatusState, SecuredAccountsStatusSecurity$inboundSchema, SecuredAccountsStatusSecurity$outboundSchema, SecuredAccountsStatusRequest$inboundSchema, SecuredAccountsStatusRequest$outboundSchema, SecuredAccountsStatusState$inboundSchema, SecuredAccountsStatusState$outboundSchema, SecuredAccountsStatusDataData$inboundSchema, SecuredAccountsStatusDataData$outboundSchema, SecuredAccountsStatusData$inboundSchema, SecuredAccountsStatusData$outboundSchema, SecuredAccountsStatusResponse$inboundSchema, SecuredAccountsStatusResponse$outboundSchema;
50527
51609
  var init_secured_accounts_status = __esm(() => {
50528
51610
  init_v3();
50529
51611
  init_primitives();
50530
51612
  init_enums();
50531
51613
  init_primitives2();
50532
51614
  init_models();
50533
- State = {
51615
+ SecuredAccountsStatusState = {
50534
51616
  None: "none",
50535
51617
  Fresh: "fresh",
50536
51618
  Stale: "stale"
@@ -50563,10 +51645,10 @@ var init_secured_accounts_status = __esm(() => {
50563
51645
  platformUserRef: "platform_user_ref"
50564
51646
  });
50565
51647
  });
50566
- State$inboundSchema = inboundSchema(State);
50567
- State$outboundSchema = outboundSchema(State);
51648
+ SecuredAccountsStatusState$inboundSchema = inboundSchema(SecuredAccountsStatusState);
51649
+ SecuredAccountsStatusState$outboundSchema = outboundSchema(SecuredAccountsStatusState);
50568
51650
  SecuredAccountsStatusDataData$inboundSchema = objectType({
50569
- state: State$inboundSchema,
51651
+ state: SecuredAccountsStatusState$inboundSchema,
50570
51652
  fresh_until: nullable3(date4())
50571
51653
  }).transform((v) => {
50572
51654
  return remap(v, {
@@ -50574,7 +51656,7 @@ var init_secured_accounts_status = __esm(() => {
50574
51656
  });
50575
51657
  });
50576
51658
  SecuredAccountsStatusDataData$outboundSchema = objectType({
50577
- state: State$outboundSchema,
51659
+ state: SecuredAccountsStatusState$outboundSchema,
50578
51660
  freshUntil: nullableType(dateType().transform((v) => v.toISOString()))
50579
51661
  }).transform((v) => {
50580
51662
  return remap(v, {
@@ -50598,7 +51680,7 @@ var init_secured_accounts_status = __esm(() => {
50598
51680
  });
50599
51681
 
50600
51682
  // src/models/operations/verification-get-status.ts
50601
- var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusReason, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusReason$inboundSchema, VerificationGetStatusReason$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
51683
+ var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusReason, VerificationGetStatusPreset, Link, VerificationGetStatusState, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusReason$inboundSchema, VerificationGetStatusReason$outboundSchema, VerificationGetStatusPreset$inboundSchema, VerificationGetStatusPreset$outboundSchema, Link$inboundSchema, Link$outboundSchema, VerificationGetStatusState$inboundSchema, VerificationGetStatusState$outboundSchema, Gate$inboundSchema2, Gate$outboundSchema2, VerificationGetStatusAction$inboundSchema, VerificationGetStatusAction$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
50602
51684
  var init_verification_get_status = __esm(() => {
50603
51685
  init_v3();
50604
51686
  init_primitives();
@@ -50625,6 +51707,24 @@ var init_verification_get_status = __esm(() => {
50625
51707
  RealDaysNotMet: "real_days_not_met",
50626
51708
  Unavailable: "unavailable"
50627
51709
  };
51710
+ VerificationGetStatusPreset = {
51711
+ Presale: "presale",
51712
+ Promo: "promo",
51713
+ Drop: "drop",
51714
+ Vote: "vote",
51715
+ Reservation: "reservation",
51716
+ Claim: "claim"
51717
+ };
51718
+ Link = {
51719
+ Required: "required",
51720
+ Optional: "optional",
51721
+ Never: "never"
51722
+ };
51723
+ VerificationGetStatusState = {
51724
+ Scheduled: "scheduled",
51725
+ Open: "open",
51726
+ Closed: "closed"
51727
+ };
50628
51728
  VerificationGetStatusSecurity$inboundSchema = objectType({
50629
51729
  apiKeyAuth: optional3(string4()),
50630
51730
  apiKeyAuth1: optional3(string4())
@@ -50679,6 +51779,78 @@ var init_verification_get_status = __esm(() => {
50679
51779
  });
50680
51780
  VerificationGetStatusReason$inboundSchema = inboundSchema(VerificationGetStatusReason);
50681
51781
  VerificationGetStatusReason$outboundSchema = outboundSchema(VerificationGetStatusReason);
51782
+ VerificationGetStatusPreset$inboundSchema = inboundSchema(VerificationGetStatusPreset);
51783
+ VerificationGetStatusPreset$outboundSchema = outboundSchema(VerificationGetStatusPreset);
51784
+ Link$inboundSchema = inboundSchema(Link);
51785
+ Link$outboundSchema = outboundSchema(Link);
51786
+ VerificationGetStatusState$inboundSchema = inboundSchema(VerificationGetStatusState);
51787
+ VerificationGetStatusState$outboundSchema = outboundSchema(VerificationGetStatusState);
51788
+ Gate$inboundSchema2 = objectType({
51789
+ gate_name: nullableType(string4()).optional(),
51790
+ message: nullableType(string4()).optional(),
51791
+ destination_url: nullableType(string4()).optional(),
51792
+ destination_host: nullableType(string4()).optional(),
51793
+ preset: nullableType(VerificationGetStatusPreset$inboundSchema).optional(),
51794
+ link: optional3(Link$inboundSchema),
51795
+ linked: nullableType(boolean4()).optional(),
51796
+ signed_up_required: optional3(boolean4()),
51797
+ per_person: nullableType(PassesPerPerson$inboundSchema).optional(),
51798
+ real_days: optional3(number4()),
51799
+ policy_line: optional3(string4()),
51800
+ state: optional3(VerificationGetStatusState$inboundSchema),
51801
+ opens_at: nullableType(date4()).optional(),
51802
+ closes_at: nullableType(date4()).optional()
51803
+ }).transform((v) => {
51804
+ return remap(v, {
51805
+ gate_name: "gateName",
51806
+ destination_url: "destinationUrl",
51807
+ destination_host: "destinationHost",
51808
+ signed_up_required: "signedUpRequired",
51809
+ per_person: "perPerson",
51810
+ real_days: "realDays",
51811
+ policy_line: "policyLine",
51812
+ opens_at: "opensAt",
51813
+ closes_at: "closesAt"
51814
+ });
51815
+ });
51816
+ Gate$outboundSchema2 = objectType({
51817
+ gateName: nullableType(stringType()).optional(),
51818
+ message: nullableType(stringType()).optional(),
51819
+ destinationUrl: nullableType(stringType()).optional(),
51820
+ destinationHost: nullableType(stringType()).optional(),
51821
+ preset: nullableType(VerificationGetStatusPreset$outboundSchema).optional(),
51822
+ link: Link$outboundSchema.optional(),
51823
+ linked: nullableType(booleanType()).optional(),
51824
+ signedUpRequired: booleanType().optional(),
51825
+ perPerson: nullableType(PassesPerPerson$outboundSchema).optional(),
51826
+ realDays: numberType().int().optional(),
51827
+ policyLine: stringType().optional(),
51828
+ state: VerificationGetStatusState$outboundSchema.optional(),
51829
+ opensAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
51830
+ closesAt: nullableType(dateType().transform((v) => v.toISOString())).optional()
51831
+ }).transform((v) => {
51832
+ return remap(v, {
51833
+ gateName: "gate_name",
51834
+ destinationUrl: "destination_url",
51835
+ destinationHost: "destination_host",
51836
+ signedUpRequired: "signed_up_required",
51837
+ perPerson: "per_person",
51838
+ realDays: "real_days",
51839
+ policyLine: "policy_line",
51840
+ opensAt: "opens_at",
51841
+ closesAt: "closes_at"
51842
+ });
51843
+ });
51844
+ VerificationGetStatusAction$inboundSchema = objectType({
51845
+ name: string4(),
51846
+ label: nullable3(string4()),
51847
+ linked: nullable3(boolean4())
51848
+ });
51849
+ VerificationGetStatusAction$outboundSchema = objectType({
51850
+ name: stringType(),
51851
+ label: nullableType(stringType()),
51852
+ linked: nullableType(booleanType())
51853
+ });
50682
51854
  VerificationGetStatusData$inboundSchema = objectType({
50683
51855
  found: optional3(boolean4()),
50684
51856
  status: optional3(VerificationGetStatusStatus$inboundSchema),
@@ -50700,7 +51872,9 @@ var init_verification_get_status = __esm(() => {
50700
51872
  trusted: nullableType(boolean4()).optional(),
50701
51873
  first_time: nullableType(boolean4()).optional(),
50702
51874
  notarize: optional3(boolean4()),
50703
- organization_name: nullableType(string4()).optional()
51875
+ organization_name: nullableType(string4()).optional(),
51876
+ gate: nullableType(lazyType(() => Gate$inboundSchema2)).optional(),
51877
+ action: nullableType(lazyType(() => VerificationGetStatusAction$inboundSchema)).optional()
50704
51878
  }).transform((v) => {
50705
51879
  return remap(v, {
50706
51880
  request_id: "requestId",
@@ -50738,7 +51912,9 @@ var init_verification_get_status = __esm(() => {
50738
51912
  trusted: nullableType(booleanType()).optional(),
50739
51913
  firstTime: nullableType(booleanType()).optional(),
50740
51914
  notarize: booleanType().optional(),
50741
- organizationName: nullableType(stringType()).optional()
51915
+ organizationName: nullableType(stringType()).optional(),
51916
+ gate: nullableType(lazyType(() => Gate$outboundSchema2)).optional(),
51917
+ action: nullableType(lazyType(() => VerificationGetStatusAction$outboundSchema)).optional()
50742
51918
  }).transform((v) => {
50743
51919
  return remap(v, {
50744
51920
  requestId: "request_id",
@@ -50768,6 +51944,18 @@ var init_operations = __esm(() => {
50768
51944
  init_actions_cancel();
50769
51945
  init_actions_check_status();
50770
51946
  init_actions_propose();
51947
+ init_gates_api_actions_create();
51948
+ init_gates_api_actions_list();
51949
+ init_gates_api_actions_request_status();
51950
+ init_gates_api_actions_request();
51951
+ init_gates_api_actions_set_state();
51952
+ init_gates_api_activate();
51953
+ init_gates_api_cancel();
51954
+ init_gates_api_close();
51955
+ init_gates_api_create();
51956
+ init_gates_api_extend();
51957
+ init_gates_api_get();
51958
+ init_gates_api_list();
50771
51959
  init_sdk_create_session();
50772
51960
  init_sdk_create_verification_link();
50773
51961
  init_sdk_get_partner_config();
@@ -51125,7 +52313,7 @@ var init_actions_propose_action2 = __esm(() => {
51125
52313
  function createMCPServer(deps) {
51126
52314
  const server = new McpServer({
51127
52315
  name: "BotShield",
51128
- version: "2.2.0"
52316
+ version: "2.2.1"
51129
52317
  });
51130
52318
  const client = new BotShieldCore({
51131
52319
  security: deps.security,
@@ -53441,7 +54629,7 @@ var routes = buildRouteMap({
53441
54629
  var app = buildApplication(routes, {
53442
54630
  name: "mcp",
53443
54631
  versionInfo: {
53444
- currentVersion: "2.2.0"
54632
+ currentVersion: "2.2.1"
53445
54633
  }
53446
54634
  });
53447
54635
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -53449,5 +54637,5 @@ export {
53449
54637
  app
53450
54638
  };
53451
54639
 
53452
- //# debugId=0010EADC0EADD90264756E2164756E21
54640
+ //# debugId=D67899DE7C194ADC64756E2164756E21
53453
54641
  //# sourceMappingURL=mcp-server.js.map