botshield-sdk 2.3.0 → 4.0.0

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 (313) hide show
  1. package/README.md +14 -2
  2. package/bin/mcp-server.js +753 -47
  3. package/bin/mcp-server.js.map +30 -24
  4. package/dist/commonjs/funcs/actions-propose-action.d.ts +1 -1
  5. package/dist/commonjs/funcs/actions-propose-action.js +1 -1
  6. package/dist/commonjs/funcs/actions-verify-resolution.d.ts +18 -0
  7. package/dist/commonjs/funcs/actions-verify-resolution.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/actions-verify-resolution.js +129 -0
  9. package/dist/commonjs/funcs/actions-verify-resolution.js.map +1 -0
  10. package/dist/commonjs/funcs/census-confirm-link.d.ts +17 -0
  11. package/dist/commonjs/funcs/census-confirm-link.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/census-confirm-link.js +119 -0
  13. package/dist/commonjs/funcs/census-confirm-link.js.map +1 -0
  14. package/dist/commonjs/funcs/census-create-verification-link.d.ts +2 -0
  15. package/dist/commonjs/funcs/census-create-verification-link.d.ts.map +1 -1
  16. package/dist/commonjs/funcs/census-create-verification-link.js +2 -0
  17. package/dist/commonjs/funcs/census-create-verification-link.js.map +1 -1
  18. package/dist/commonjs/funcs/census-send-by-number.d.ts +18 -0
  19. package/dist/commonjs/funcs/census-send-by-number.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/census-send-by-number.js +123 -0
  21. package/dist/commonjs/funcs/census-send-by-number.js.map +1 -0
  22. package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
  23. package/dist/commonjs/funcs/census-verify-token.js +1 -1
  24. package/dist/commonjs/funcs/gates-actions-request-cancel.d.ts +18 -0
  25. package/dist/commonjs/funcs/gates-actions-request-cancel.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/gates-actions-request-cancel.js +123 -0
  27. package/dist/commonjs/funcs/gates-actions-request-cancel.js.map +1 -0
  28. package/dist/commonjs/funcs/gates-actions-request-status.js +1 -0
  29. package/dist/commonjs/funcs/gates-actions-request-status.js.map +1 -1
  30. package/dist/commonjs/funcs/gates-actions-request.d.ts +1 -1
  31. package/dist/commonjs/funcs/gates-actions-request.js +1 -1
  32. package/dist/commonjs/funcs/gates-actions-update.d.ts +18 -0
  33. package/dist/commonjs/funcs/gates-actions-update.d.ts.map +1 -0
  34. package/dist/commonjs/funcs/gates-actions-update.js +123 -0
  35. package/dist/commonjs/funcs/gates-actions-update.js.map +1 -0
  36. package/dist/commonjs/funcs/verification-get-status.d.ts +1 -1
  37. package/dist/commonjs/funcs/verification-get-status.js +1 -1
  38. package/dist/commonjs/lib/config.d.ts +2 -2
  39. package/dist/commonjs/lib/config.js +2 -2
  40. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  41. package/dist/commonjs/mcp-server/server.js +1 -1
  42. package/dist/commonjs/models/bot-shield-action.d.ts +10 -0
  43. package/dist/commonjs/models/bot-shield-action.d.ts.map +1 -1
  44. package/dist/commonjs/models/bot-shield-action.js +8 -0
  45. package/dist/commonjs/models/bot-shield-action.js.map +1 -1
  46. package/dist/commonjs/models/error-body.d.ts +6 -1
  47. package/dist/commonjs/models/error-body.d.ts.map +1 -1
  48. package/dist/commonjs/models/error-body.js +4 -0
  49. package/dist/commonjs/models/error-body.js.map +1 -1
  50. package/dist/commonjs/models/gate-unavailable-event.d.ts +112 -0
  51. package/dist/commonjs/models/gate-unavailable-event.d.ts.map +1 -0
  52. package/dist/commonjs/models/gate-unavailable-event.js +137 -0
  53. package/dist/commonjs/models/gate-unavailable-event.js.map +1 -0
  54. package/dist/commonjs/models/gates-api-error.d.ts +5 -0
  55. package/dist/commonjs/models/gates-api-error.d.ts.map +1 -1
  56. package/dist/commonjs/models/gates-api-error.js +11 -0
  57. package/dist/commonjs/models/gates-api-error.js.map +1 -1
  58. package/dist/commonjs/models/index.d.ts +1 -0
  59. package/dist/commonjs/models/index.d.ts.map +1 -1
  60. package/dist/commonjs/models/index.js +1 -0
  61. package/dist/commonjs/models/index.js.map +1 -1
  62. package/dist/commonjs/models/operations/actions-propose.d.ts +21 -1
  63. package/dist/commonjs/models/operations/actions-propose.d.ts.map +1 -1
  64. package/dist/commonjs/models/operations/actions-propose.js +16 -0
  65. package/dist/commonjs/models/operations/actions-propose.js.map +1 -1
  66. package/dist/commonjs/models/operations/gates-api-actions-create.d.ts +11 -1
  67. package/dist/commonjs/models/operations/gates-api-actions-create.d.ts.map +1 -1
  68. package/dist/commonjs/models/operations/gates-api-actions-create.js +4 -0
  69. package/dist/commonjs/models/operations/gates-api-actions-create.js.map +1 -1
  70. package/dist/commonjs/models/operations/gates-api-actions-list.d.ts +1 -1
  71. package/dist/commonjs/models/operations/gates-api-actions-request-cancel.d.ts +113 -0
  72. package/dist/commonjs/models/operations/gates-api-actions-request-cancel.d.ts.map +1 -0
  73. package/dist/commonjs/models/operations/gates-api-actions-request-cancel.js +178 -0
  74. package/dist/commonjs/models/operations/gates-api-actions-request-cancel.js.map +1 -0
  75. package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts +5 -0
  76. package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts.map +1 -1
  77. package/dist/commonjs/models/operations/gates-api-actions-request-status.js +2 -0
  78. package/dist/commonjs/models/operations/gates-api-actions-request-status.js.map +1 -1
  79. package/dist/commonjs/models/operations/gates-api-actions-request.d.ts +34 -4
  80. package/dist/commonjs/models/operations/gates-api-actions-request.d.ts.map +1 -1
  81. package/dist/commonjs/models/operations/gates-api-actions-request.js +32 -3
  82. package/dist/commonjs/models/operations/gates-api-actions-request.js.map +1 -1
  83. package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts +1 -1
  84. package/dist/commonjs/models/operations/gates-api-actions-update.d.ts +99 -0
  85. package/dist/commonjs/models/operations/gates-api-actions-update.d.ts.map +1 -0
  86. package/dist/commonjs/models/operations/gates-api-actions-update.js +141 -0
  87. package/dist/commonjs/models/operations/gates-api-actions-update.js.map +1 -0
  88. package/dist/commonjs/models/operations/index.d.ts +5 -0
  89. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  90. package/dist/commonjs/models/operations/index.js +5 -0
  91. package/dist/commonjs/models/operations/index.js.map +1 -1
  92. package/dist/commonjs/models/operations/request-passkey-complete.d.ts +1 -1
  93. package/dist/commonjs/models/operations/sdk-confirm-link.d.ts +130 -0
  94. package/dist/commonjs/models/operations/sdk-confirm-link.d.ts.map +1 -0
  95. package/dist/commonjs/models/operations/sdk-confirm-link.js +205 -0
  96. package/dist/commonjs/models/operations/sdk-confirm-link.js.map +1 -0
  97. package/dist/commonjs/models/operations/sdk-create-session.d.ts +1 -1
  98. package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +43 -2
  99. package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -1
  100. package/dist/commonjs/models/operations/sdk-create-verification-link.js +30 -1
  101. package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
  102. package/dist/commonjs/models/operations/sdk-send-by-number.d.ts +124 -0
  103. package/dist/commonjs/models/operations/sdk-send-by-number.d.ts.map +1 -0
  104. package/dist/commonjs/models/operations/sdk-send-by-number.js +203 -0
  105. package/dist/commonjs/models/operations/sdk-send-by-number.js.map +1 -0
  106. package/dist/commonjs/models/operations/sdk-verify-resolution.d.ts +125 -0
  107. package/dist/commonjs/models/operations/sdk-verify-resolution.d.ts.map +1 -0
  108. package/dist/commonjs/models/operations/sdk-verify-resolution.js +182 -0
  109. package/dist/commonjs/models/operations/sdk-verify-resolution.js.map +1 -0
  110. package/dist/commonjs/models/operations/sdk-verify-token.d.ts +95 -1
  111. package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
  112. package/dist/commonjs/models/operations/sdk-verify-token.js +86 -1
  113. package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
  114. package/dist/commonjs/models/operations/verification-get-status.d.ts +40 -5
  115. package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
  116. package/dist/commonjs/models/operations/verification-get-status.js +33 -2
  117. package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
  118. package/dist/commonjs/models/passes-per-person.d.ts +1 -1
  119. package/dist/commonjs/sdk/actions.d.ts +8 -1
  120. package/dist/commonjs/sdk/actions.d.ts.map +1 -1
  121. package/dist/commonjs/sdk/actions.js +11 -1
  122. package/dist/commonjs/sdk/actions.js.map +1 -1
  123. package/dist/commonjs/sdk/census.d.ts +17 -1
  124. package/dist/commonjs/sdk/census.d.ts.map +1 -1
  125. package/dist/commonjs/sdk/census.js +23 -1
  126. package/dist/commonjs/sdk/census.js.map +1 -1
  127. package/dist/commonjs/sdk/gates-actions.d.ts +15 -1
  128. package/dist/commonjs/sdk/gates-actions.d.ts.map +1 -1
  129. package/dist/commonjs/sdk/gates-actions.js +21 -1
  130. package/dist/commonjs/sdk/gates-actions.js.map +1 -1
  131. package/dist/commonjs/sdk/sdk.d.ts +2 -2
  132. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  133. package/dist/commonjs/sdk/sdk.js +4 -4
  134. package/dist/commonjs/sdk/sdk.js.map +1 -1
  135. package/dist/commonjs/sdk/verification.d.ts +1 -1
  136. package/dist/commonjs/sdk/verification.js +1 -1
  137. package/dist/esm/funcs/actions-propose-action.d.ts +1 -1
  138. package/dist/esm/funcs/actions-propose-action.js +1 -1
  139. package/dist/esm/funcs/actions-verify-resolution.d.ts +18 -0
  140. package/dist/esm/funcs/actions-verify-resolution.d.ts.map +1 -0
  141. package/dist/esm/funcs/actions-verify-resolution.js +93 -0
  142. package/dist/esm/funcs/actions-verify-resolution.js.map +1 -0
  143. package/dist/esm/funcs/census-confirm-link.d.ts +17 -0
  144. package/dist/esm/funcs/census-confirm-link.d.ts.map +1 -0
  145. package/dist/esm/funcs/census-confirm-link.js +83 -0
  146. package/dist/esm/funcs/census-confirm-link.js.map +1 -0
  147. package/dist/esm/funcs/census-create-verification-link.d.ts +2 -0
  148. package/dist/esm/funcs/census-create-verification-link.d.ts.map +1 -1
  149. package/dist/esm/funcs/census-create-verification-link.js +2 -0
  150. package/dist/esm/funcs/census-create-verification-link.js.map +1 -1
  151. package/dist/esm/funcs/census-send-by-number.d.ts +18 -0
  152. package/dist/esm/funcs/census-send-by-number.d.ts.map +1 -0
  153. package/dist/esm/funcs/census-send-by-number.js +87 -0
  154. package/dist/esm/funcs/census-send-by-number.js.map +1 -0
  155. package/dist/esm/funcs/census-verify-token.d.ts +1 -1
  156. package/dist/esm/funcs/census-verify-token.js +1 -1
  157. package/dist/esm/funcs/gates-actions-request-cancel.d.ts +18 -0
  158. package/dist/esm/funcs/gates-actions-request-cancel.d.ts.map +1 -0
  159. package/dist/esm/funcs/gates-actions-request-cancel.js +87 -0
  160. package/dist/esm/funcs/gates-actions-request-cancel.js.map +1 -0
  161. package/dist/esm/funcs/gates-actions-request-status.js +1 -0
  162. package/dist/esm/funcs/gates-actions-request-status.js.map +1 -1
  163. package/dist/esm/funcs/gates-actions-request.d.ts +1 -1
  164. package/dist/esm/funcs/gates-actions-request.js +1 -1
  165. package/dist/esm/funcs/gates-actions-update.d.ts +18 -0
  166. package/dist/esm/funcs/gates-actions-update.d.ts.map +1 -0
  167. package/dist/esm/funcs/gates-actions-update.js +87 -0
  168. package/dist/esm/funcs/gates-actions-update.js.map +1 -0
  169. package/dist/esm/funcs/verification-get-status.d.ts +1 -1
  170. package/dist/esm/funcs/verification-get-status.js +1 -1
  171. package/dist/esm/lib/config.d.ts +2 -2
  172. package/dist/esm/lib/config.js +2 -2
  173. package/dist/esm/mcp-server/mcp-server.js +1 -1
  174. package/dist/esm/mcp-server/server.js +1 -1
  175. package/dist/esm/models/bot-shield-action.d.ts +10 -0
  176. package/dist/esm/models/bot-shield-action.d.ts.map +1 -1
  177. package/dist/esm/models/bot-shield-action.js +8 -0
  178. package/dist/esm/models/bot-shield-action.js.map +1 -1
  179. package/dist/esm/models/error-body.d.ts +6 -1
  180. package/dist/esm/models/error-body.d.ts.map +1 -1
  181. package/dist/esm/models/error-body.js +4 -0
  182. package/dist/esm/models/error-body.js.map +1 -1
  183. package/dist/esm/models/gate-unavailable-event.d.ts +112 -0
  184. package/dist/esm/models/gate-unavailable-event.d.ts.map +1 -0
  185. package/dist/esm/models/gate-unavailable-event.js +99 -0
  186. package/dist/esm/models/gate-unavailable-event.js.map +1 -0
  187. package/dist/esm/models/gates-api-error.d.ts +5 -0
  188. package/dist/esm/models/gates-api-error.d.ts.map +1 -1
  189. package/dist/esm/models/gates-api-error.js +11 -0
  190. package/dist/esm/models/gates-api-error.js.map +1 -1
  191. package/dist/esm/models/index.d.ts +1 -0
  192. package/dist/esm/models/index.d.ts.map +1 -1
  193. package/dist/esm/models/index.js +1 -0
  194. package/dist/esm/models/index.js.map +1 -1
  195. package/dist/esm/models/operations/actions-propose.d.ts +21 -1
  196. package/dist/esm/models/operations/actions-propose.d.ts.map +1 -1
  197. package/dist/esm/models/operations/actions-propose.js +16 -0
  198. package/dist/esm/models/operations/actions-propose.js.map +1 -1
  199. package/dist/esm/models/operations/gates-api-actions-create.d.ts +11 -1
  200. package/dist/esm/models/operations/gates-api-actions-create.d.ts.map +1 -1
  201. package/dist/esm/models/operations/gates-api-actions-create.js +4 -0
  202. package/dist/esm/models/operations/gates-api-actions-create.js.map +1 -1
  203. package/dist/esm/models/operations/gates-api-actions-list.d.ts +1 -1
  204. package/dist/esm/models/operations/gates-api-actions-request-cancel.d.ts +113 -0
  205. package/dist/esm/models/operations/gates-api-actions-request-cancel.d.ts.map +1 -0
  206. package/dist/esm/models/operations/gates-api-actions-request-cancel.js +132 -0
  207. package/dist/esm/models/operations/gates-api-actions-request-cancel.js.map +1 -0
  208. package/dist/esm/models/operations/gates-api-actions-request-status.d.ts +5 -0
  209. package/dist/esm/models/operations/gates-api-actions-request-status.d.ts.map +1 -1
  210. package/dist/esm/models/operations/gates-api-actions-request-status.js +2 -0
  211. package/dist/esm/models/operations/gates-api-actions-request-status.js.map +1 -1
  212. package/dist/esm/models/operations/gates-api-actions-request.d.ts +34 -4
  213. package/dist/esm/models/operations/gates-api-actions-request.d.ts.map +1 -1
  214. package/dist/esm/models/operations/gates-api-actions-request.js +29 -2
  215. package/dist/esm/models/operations/gates-api-actions-request.js.map +1 -1
  216. package/dist/esm/models/operations/gates-api-actions-set-state.d.ts +1 -1
  217. package/dist/esm/models/operations/gates-api-actions-update.d.ts +99 -0
  218. package/dist/esm/models/operations/gates-api-actions-update.d.ts.map +1 -0
  219. package/dist/esm/models/operations/gates-api-actions-update.js +95 -0
  220. package/dist/esm/models/operations/gates-api-actions-update.js.map +1 -0
  221. package/dist/esm/models/operations/index.d.ts +5 -0
  222. package/dist/esm/models/operations/index.d.ts.map +1 -1
  223. package/dist/esm/models/operations/index.js +5 -0
  224. package/dist/esm/models/operations/index.js.map +1 -1
  225. package/dist/esm/models/operations/request-passkey-complete.d.ts +1 -1
  226. package/dist/esm/models/operations/sdk-confirm-link.d.ts +130 -0
  227. package/dist/esm/models/operations/sdk-confirm-link.d.ts.map +1 -0
  228. package/dist/esm/models/operations/sdk-confirm-link.js +157 -0
  229. package/dist/esm/models/operations/sdk-confirm-link.js.map +1 -0
  230. package/dist/esm/models/operations/sdk-create-session.d.ts +1 -1
  231. package/dist/esm/models/operations/sdk-create-verification-link.d.ts +43 -2
  232. package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -1
  233. package/dist/esm/models/operations/sdk-create-verification-link.js +29 -0
  234. package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
  235. package/dist/esm/models/operations/sdk-send-by-number.d.ts +124 -0
  236. package/dist/esm/models/operations/sdk-send-by-number.d.ts.map +1 -0
  237. package/dist/esm/models/operations/sdk-send-by-number.js +155 -0
  238. package/dist/esm/models/operations/sdk-send-by-number.js.map +1 -0
  239. package/dist/esm/models/operations/sdk-verify-resolution.d.ts +125 -0
  240. package/dist/esm/models/operations/sdk-verify-resolution.d.ts.map +1 -0
  241. package/dist/esm/models/operations/sdk-verify-resolution.js +136 -0
  242. package/dist/esm/models/operations/sdk-verify-resolution.js.map +1 -0
  243. package/dist/esm/models/operations/sdk-verify-token.d.ts +95 -1
  244. package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
  245. package/dist/esm/models/operations/sdk-verify-token.js +83 -0
  246. package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
  247. package/dist/esm/models/operations/verification-get-status.d.ts +40 -5
  248. package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
  249. package/dist/esm/models/operations/verification-get-status.js +32 -1
  250. package/dist/esm/models/operations/verification-get-status.js.map +1 -1
  251. package/dist/esm/models/passes-per-person.d.ts +1 -1
  252. package/dist/esm/sdk/actions.d.ts +8 -1
  253. package/dist/esm/sdk/actions.d.ts.map +1 -1
  254. package/dist/esm/sdk/actions.js +11 -1
  255. package/dist/esm/sdk/actions.js.map +1 -1
  256. package/dist/esm/sdk/census.d.ts +17 -1
  257. package/dist/esm/sdk/census.d.ts.map +1 -1
  258. package/dist/esm/sdk/census.js +23 -1
  259. package/dist/esm/sdk/census.js.map +1 -1
  260. package/dist/esm/sdk/gates-actions.d.ts +15 -1
  261. package/dist/esm/sdk/gates-actions.d.ts.map +1 -1
  262. package/dist/esm/sdk/gates-actions.js +21 -1
  263. package/dist/esm/sdk/gates-actions.js.map +1 -1
  264. package/dist/esm/sdk/sdk.d.ts +2 -2
  265. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  266. package/dist/esm/sdk/sdk.js +4 -4
  267. package/dist/esm/sdk/sdk.js.map +1 -1
  268. package/dist/esm/sdk/verification.d.ts +1 -1
  269. package/dist/esm/sdk/verification.js +1 -1
  270. package/jsr.json +1 -1
  271. package/package.json +1 -1
  272. package/src/funcs/actions-propose-action.ts +1 -1
  273. package/src/funcs/actions-verify-resolution.ts +192 -0
  274. package/src/funcs/census-confirm-link.ts +171 -0
  275. package/src/funcs/census-create-verification-link.ts +2 -0
  276. package/src/funcs/census-send-by-number.ts +180 -0
  277. package/src/funcs/census-verify-token.ts +1 -1
  278. package/src/funcs/gates-actions-request-cancel.ts +187 -0
  279. package/src/funcs/gates-actions-request-status.ts +1 -0
  280. package/src/funcs/gates-actions-request.ts +1 -1
  281. package/src/funcs/gates-actions-update.ts +185 -0
  282. package/src/funcs/verification-get-status.ts +1 -1
  283. package/src/lib/config.ts +2 -2
  284. package/src/mcp-server/mcp-server.ts +1 -1
  285. package/src/mcp-server/server.ts +1 -1
  286. package/src/models/bot-shield-action.ts +18 -0
  287. package/src/models/error-body.ts +10 -1
  288. package/src/models/gate-unavailable-event.ts +218 -0
  289. package/src/models/gates-api-error.ts +16 -0
  290. package/src/models/index.ts +1 -0
  291. package/src/models/operations/actions-propose.ts +37 -1
  292. package/src/models/operations/gates-api-actions-create.ts +15 -1
  293. package/src/models/operations/gates-api-actions-list.ts +1 -1
  294. package/src/models/operations/gates-api-actions-request-cancel.ts +339 -0
  295. package/src/models/operations/gates-api-actions-request-status.ts +7 -0
  296. package/src/models/operations/gates-api-actions-request.ts +83 -6
  297. package/src/models/operations/gates-api-actions-set-state.ts +1 -1
  298. package/src/models/operations/gates-api-actions-update.ts +281 -0
  299. package/src/models/operations/index.ts +5 -0
  300. package/src/models/operations/request-passkey-complete.ts +1 -1
  301. package/src/models/operations/sdk-confirm-link.ts +380 -0
  302. package/src/models/operations/sdk-create-session.ts +1 -1
  303. package/src/models/operations/sdk-create-verification-link.ts +69 -2
  304. package/src/models/operations/sdk-send-by-number.ts +372 -0
  305. package/src/models/operations/sdk-verify-resolution.ts +341 -0
  306. package/src/models/operations/sdk-verify-token.ts +189 -1
  307. package/src/models/operations/verification-get-status.ts +67 -5
  308. package/src/models/passes-per-person.ts +1 -1
  309. package/src/sdk/actions.ts +21 -1
  310. package/src/sdk/census.ts +43 -1
  311. package/src/sdk/gates-actions.ts +41 -1
  312. package/src/sdk/sdk.ts +5 -5
  313. package/src/sdk/verification.ts +1 -1
@@ -97,7 +97,7 @@ export type SDKCreateVerificationLinkRequest = {
97
97
  */
98
98
  act?: string | undefined;
99
99
  /**
100
- * What the person is confirming, shown verbatim on their card (e.g. "Trade with sam_k — 2 GA for $180"). Only with `act` (`act_label_without_act`). Display only — it is NOT in the token; bind terms through `act` (e.g. a hash of them), which the token carries.
100
+ * What the person is confirming, shown verbatim on their card (e.g. "Trade with sam_k — 2 GA for $180"). Only with `act` (`act_label_without_act`). Plain words only: a link, a domain or a URI scheme is refused (`act_label_has_link`). Display only — it is NOT in the token; bind terms through `act` (e.g. a hash of them), which the token carries.
101
101
  */
102
102
  actLabel?: string | undefined;
103
103
  };
@@ -120,6 +120,31 @@ export type SDKCreateVerificationLinkOrganization = {
120
120
  id?: string | undefined;
121
121
  };
122
122
 
123
+ /**
124
+ * Present when you sent `partner_user_ref`. `pushed`: the customer's phone was asked. `not_delivered`: nothing was pushed (the customer has turned off checks from you, has no phone set up, or the push was skipped or could not be sent; see `push_skipped`). The check still exists and still answers. `not_linked`: this account is not verified with BotShield, so nothing was pushed.
125
+ */
126
+ export const Delivery = {
127
+ Pushed: "pushed",
128
+ NotDelivered: "not_delivered",
129
+ NotLinked: "not_linked",
130
+ } as const;
131
+ /**
132
+ * Present when you sent `partner_user_ref`. `pushed`: the customer's phone was asked. `not_delivered`: nothing was pushed (the customer has turned off checks from you, has no phone set up, or the push was skipped or could not be sent; see `push_skipped`). The check still exists and still answers. `not_linked`: this account is not verified with BotShield, so nothing was pushed.
133
+ */
134
+ export type Delivery = OpenEnum<typeof Delivery>;
135
+
136
+ /**
137
+ * Present only when the account is linked but its phones were not pushed for one of these reasons. `daily_cap`: you have sent this customer the most checks allowed in 24 hours. `unavailable`: BotShield could not read this customer's recent checks, so it pushed nothing (fails closed). The request is still created either way.
138
+ */
139
+ export const PushSkipped = {
140
+ DailyCap: "daily_cap",
141
+ Unavailable: "unavailable",
142
+ } as const;
143
+ /**
144
+ * Present only when the account is linked but its phones were not pushed for one of these reasons. `daily_cap`: you have sent this customer the most checks allowed in 24 hours. `unavailable`: BotShield could not read this customer's recent checks, so it pushed nothing (fails closed). The request is still created either way.
145
+ */
146
+ export type PushSkipped = OpenEnum<typeof PushSkipped>;
147
+
123
148
  /**
124
149
  * The gate's type. An Age Gate never notarizes (widget suppresses the chip).
125
150
  */
@@ -188,6 +213,14 @@ export type SDKCreateVerificationLinkDataData = {
188
213
  * Number of the user's registered devices the request was pushed to (0 when the user is unknown or has no devices).
189
214
  */
190
215
  pushedToDevices: number;
216
+ /**
217
+ * Present when you sent `partner_user_ref`. `pushed`: the customer's phone was asked. `not_delivered`: nothing was pushed (the customer has turned off checks from you, has no phone set up, or the push was skipped or could not be sent; see `push_skipped`). The check still exists and still answers. `not_linked`: this account is not verified with BotShield, so nothing was pushed.
218
+ */
219
+ delivery?: Delivery | undefined;
220
+ /**
221
+ * Present only when the account is linked but its phones were not pushed for one of these reasons. `daily_cap`: you have sent this customer the most checks allowed in 24 hours. `unavailable`: BotShield could not read this customer's recent checks, so it pushed nothing (fails closed). The request is still created either way.
222
+ */
223
+ pushSkipped?: PushSkipped | undefined;
191
224
  /**
192
225
  * The gate's type. An Age Gate never notarizes (widget suppresses the chip).
193
226
  */
@@ -225,7 +258,7 @@ export type SDKCreateVerificationLinkData = {
225
258
  };
226
259
 
227
260
  /**
228
- * Verification link created. NOTE: handler errors also arrive here (HTTP 200) as data.error — codes for this operation: 400 (partner not found / gate not active), 401, 403 (gate not in the token allowlist), 409 (pending request already exists — call revoke-verification). BotShield Actions and linking codes (`data.error.code`): `act_label_without_act` (400), `action_not_a_gate` (400), `action_invalid` (400 — act malformed), `action_not_found` (400 — no action with that key here), `action_off` (409), `action_requires_user_ref` (400), `link_requires_user_ref` (400 — the gate's policy is `link: required` and no partner_user_ref was sent).
261
+ * Verification link created. NOTE: handler errors also arrive here (HTTP 200) as data.error — codes for this operation: 400 (partner not found / gate not active), 401, 403 (gate not in the token allowlist), 409 (pending request already exists — call revoke-verification). BotShield Actions and linking codes (`data.error.code`): `act_label_without_act` (400), `act_label_has_link` (400 — `act_label` may not contain a link, a domain or a URI scheme), `action_not_a_gate` (400), `action_invalid` (400 — act malformed), `action_not_found` (400 — no action with that key here), `action_off` (409), `action_requires_user_ref` (400), `link_requires_user_ref` (400 — the gate's policy is `link: required` and no partner_user_ref was sent), `account_reconfirm_required` (409 — the customer changed their phone number without approval from another phone; only the link ceremony (`notarize`) can be started for this partner_user_ref until they confirm the account again from your signed-in page). A development key over its limit: `RATE_LIMITED`.
229
262
  */
230
263
  export type SDKCreateVerificationLinkResponse = {
231
264
  data: SDKCreateVerificationLinkData;
@@ -472,6 +505,32 @@ export function sdkCreateVerificationLinkOrganizationFromJSON(
472
505
  );
473
506
  }
474
507
 
508
+ /** @internal */
509
+ export const Delivery$inboundSchema: z.ZodType<
510
+ Delivery,
511
+ z.ZodTypeDef,
512
+ unknown
513
+ > = openEnums.inboundSchema(Delivery);
514
+ /** @internal */
515
+ export const Delivery$outboundSchema: z.ZodType<
516
+ string,
517
+ z.ZodTypeDef,
518
+ Delivery
519
+ > = openEnums.outboundSchema(Delivery);
520
+
521
+ /** @internal */
522
+ export const PushSkipped$inboundSchema: z.ZodType<
523
+ PushSkipped,
524
+ z.ZodTypeDef,
525
+ unknown
526
+ > = openEnums.inboundSchema(PushSkipped);
527
+ /** @internal */
528
+ export const PushSkipped$outboundSchema: z.ZodType<
529
+ string,
530
+ z.ZodTypeDef,
531
+ PushSkipped
532
+ > = openEnums.outboundSchema(PushSkipped);
533
+
475
534
  /** @internal */
476
535
  export const SDKCreateVerificationLinkGateType$inboundSchema: z.ZodType<
477
536
  SDKCreateVerificationLinkGateType,
@@ -533,6 +592,8 @@ export const SDKCreateVerificationLinkDataData$inboundSchema: z.ZodType<
533
592
  z.lazy(() => SDKCreateVerificationLinkOrganization$inboundSchema),
534
593
  ),
535
594
  pushed_to_devices: types.number(),
595
+ delivery: types.optional(Delivery$inboundSchema),
596
+ push_skipped: types.optional(PushSkipped$inboundSchema),
536
597
  gate_type: types.optional(SDKCreateVerificationLinkGateType$inboundSchema),
537
598
  age_threshold: types.optional(
538
599
  SDKCreateVerificationLinkAgeThreshold$inboundSchema,
@@ -553,6 +614,7 @@ export const SDKCreateVerificationLinkDataData$inboundSchema: z.ZodType<
553
614
  "sdk_type": "sdkType",
554
615
  "auth_mode": "authMode",
555
616
  "pushed_to_devices": "pushedToDevices",
617
+ "push_skipped": "pushSkipped",
556
618
  "gate_type": "gateType",
557
619
  "age_threshold": "ageThreshold",
558
620
  "notarize_fallback_reason": "notarizeFallbackReason",
@@ -570,6 +632,8 @@ export type SDKCreateVerificationLinkDataData$Outbound = {
570
632
  scope?: string | undefined;
571
633
  organization?: SDKCreateVerificationLinkOrganization$Outbound | undefined;
572
634
  pushed_to_devices: number;
635
+ delivery?: string | undefined;
636
+ push_skipped?: string | undefined;
573
637
  gate_type?: string | undefined;
574
638
  age_threshold?: number | undefined;
575
639
  trusted?: boolean | undefined;
@@ -596,6 +660,8 @@ export const SDKCreateVerificationLinkDataData$outboundSchema: z.ZodType<
596
660
  SDKCreateVerificationLinkOrganization$outboundSchema
597
661
  ).optional(),
598
662
  pushedToDevices: z.number().int(),
663
+ delivery: Delivery$outboundSchema.optional(),
664
+ pushSkipped: PushSkipped$outboundSchema.optional(),
599
665
  gateType: SDKCreateVerificationLinkGateType$outboundSchema.optional(),
600
666
  ageThreshold: SDKCreateVerificationLinkAgeThreshold$outboundSchema.optional(),
601
667
  trusted: z.boolean().optional(),
@@ -613,6 +679,7 @@ export const SDKCreateVerificationLinkDataData$outboundSchema: z.ZodType<
613
679
  sdkType: "sdk_type",
614
680
  authMode: "auth_mode",
615
681
  pushedToDevices: "pushed_to_devices",
682
+ pushSkipped: "push_skipped",
616
683
  gateType: "gate_type",
617
684
  ageThreshold: "age_threshold",
618
685
  notarizeFallbackReason: "notarize_fallback_reason",
@@ -0,0 +1,372 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import * as types from "../../types/primitives.js";
11
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
12
+
13
+ export type SDKSendByNumberSecurity = {
14
+ apiKeyAuth: string;
15
+ };
16
+
17
+ export type SDKSendByNumberRequest = {
18
+ /**
19
+ * The customer's mobile number (E.164, or a 10-digit US number). Used for one lookup, then dropped.
20
+ */
21
+ phoneNumber: string;
22
+ /**
23
+ * A live BotShield Action key. Its name is the reason the person reads.
24
+ */
25
+ act: string;
26
+ /**
27
+ * Your own line on the card. No links.
28
+ */
29
+ actLabel?: string | undefined;
30
+ };
31
+
32
+ export const SDKSendByNumberStatus = {
33
+ Sent: "sent",
34
+ } as const;
35
+ export type SDKSendByNumberStatus = ClosedEnum<typeof SDKSendByNumberStatus>;
36
+
37
+ export type SDKSendByNumberDataData = {
38
+ status?: SDKSendByNumberStatus | undefined;
39
+ requestId?: string | undefined;
40
+ expiresAt?: Date | undefined;
41
+ /**
42
+ * Show this to your customer; they pick it in the app.
43
+ */
44
+ matchNumber?: number | undefined;
45
+ };
46
+
47
+ export type SDKSendByNumberError = {
48
+ code?: string | undefined;
49
+ message?: string | undefined;
50
+ statusCode?: number | undefined;
51
+ retryAfterSeconds?: number | undefined;
52
+ };
53
+
54
+ export type SDKSendByNumberData = {
55
+ data?: SDKSendByNumberDataData | undefined;
56
+ error?: SDKSendByNumberError | undefined;
57
+ };
58
+
59
+ /**
60
+ * Result. NOTE: handler errors arrive here (HTTP 200) as data.error — codes: secret_key_required · invalid_key · phone_invalid · action_invalid · action_not_found · action_off · act_label_has_link · org_not_verified · send_rate_limited · unanswered_limit_reached · unavailable.
61
+ */
62
+ export type SDKSendByNumberResponse = {
63
+ data?: SDKSendByNumberData | undefined;
64
+ };
65
+
66
+ /** @internal */
67
+ export const SDKSendByNumberSecurity$inboundSchema: z.ZodType<
68
+ SDKSendByNumberSecurity,
69
+ z.ZodTypeDef,
70
+ unknown
71
+ > = z.object({
72
+ ApiKeyAuth: types.string(),
73
+ }).transform((v) => {
74
+ return remap$(v, {
75
+ "ApiKeyAuth": "apiKeyAuth",
76
+ });
77
+ });
78
+ /** @internal */
79
+ export type SDKSendByNumberSecurity$Outbound = {
80
+ ApiKeyAuth: string;
81
+ };
82
+
83
+ /** @internal */
84
+ export const SDKSendByNumberSecurity$outboundSchema: z.ZodType<
85
+ SDKSendByNumberSecurity$Outbound,
86
+ z.ZodTypeDef,
87
+ SDKSendByNumberSecurity
88
+ > = z.object({
89
+ apiKeyAuth: z.string(),
90
+ }).transform((v) => {
91
+ return remap$(v, {
92
+ apiKeyAuth: "ApiKeyAuth",
93
+ });
94
+ });
95
+
96
+ export function sdkSendByNumberSecurityToJSON(
97
+ sdkSendByNumberSecurity: SDKSendByNumberSecurity,
98
+ ): string {
99
+ return JSON.stringify(
100
+ SDKSendByNumberSecurity$outboundSchema.parse(sdkSendByNumberSecurity),
101
+ );
102
+ }
103
+ export function sdkSendByNumberSecurityFromJSON(
104
+ jsonString: string,
105
+ ): SafeParseResult<SDKSendByNumberSecurity, SDKValidationError> {
106
+ return safeParse(
107
+ jsonString,
108
+ (x) => SDKSendByNumberSecurity$inboundSchema.parse(JSON.parse(x)),
109
+ `Failed to parse 'SDKSendByNumberSecurity' from JSON`,
110
+ );
111
+ }
112
+
113
+ /** @internal */
114
+ export const SDKSendByNumberRequest$inboundSchema: z.ZodType<
115
+ SDKSendByNumberRequest,
116
+ z.ZodTypeDef,
117
+ unknown
118
+ > = z.object({
119
+ phone_number: types.string(),
120
+ act: types.string(),
121
+ act_label: types.optional(types.string()),
122
+ }).transform((v) => {
123
+ return remap$(v, {
124
+ "phone_number": "phoneNumber",
125
+ "act_label": "actLabel",
126
+ });
127
+ });
128
+ /** @internal */
129
+ export type SDKSendByNumberRequest$Outbound = {
130
+ phone_number: string;
131
+ act: string;
132
+ act_label?: string | undefined;
133
+ };
134
+
135
+ /** @internal */
136
+ export const SDKSendByNumberRequest$outboundSchema: z.ZodType<
137
+ SDKSendByNumberRequest$Outbound,
138
+ z.ZodTypeDef,
139
+ SDKSendByNumberRequest
140
+ > = z.object({
141
+ phoneNumber: z.string(),
142
+ act: z.string(),
143
+ actLabel: z.string().optional(),
144
+ }).transform((v) => {
145
+ return remap$(v, {
146
+ phoneNumber: "phone_number",
147
+ actLabel: "act_label",
148
+ });
149
+ });
150
+
151
+ export function sdkSendByNumberRequestToJSON(
152
+ sdkSendByNumberRequest: SDKSendByNumberRequest,
153
+ ): string {
154
+ return JSON.stringify(
155
+ SDKSendByNumberRequest$outboundSchema.parse(sdkSendByNumberRequest),
156
+ );
157
+ }
158
+ export function sdkSendByNumberRequestFromJSON(
159
+ jsonString: string,
160
+ ): SafeParseResult<SDKSendByNumberRequest, SDKValidationError> {
161
+ return safeParse(
162
+ jsonString,
163
+ (x) => SDKSendByNumberRequest$inboundSchema.parse(JSON.parse(x)),
164
+ `Failed to parse 'SDKSendByNumberRequest' from JSON`,
165
+ );
166
+ }
167
+
168
+ /** @internal */
169
+ export const SDKSendByNumberStatus$inboundSchema: z.ZodNativeEnum<
170
+ typeof SDKSendByNumberStatus
171
+ > = z.nativeEnum(SDKSendByNumberStatus);
172
+ /** @internal */
173
+ export const SDKSendByNumberStatus$outboundSchema: z.ZodNativeEnum<
174
+ typeof SDKSendByNumberStatus
175
+ > = SDKSendByNumberStatus$inboundSchema;
176
+
177
+ /** @internal */
178
+ export const SDKSendByNumberDataData$inboundSchema: z.ZodType<
179
+ SDKSendByNumberDataData,
180
+ z.ZodTypeDef,
181
+ unknown
182
+ > = z.object({
183
+ status: types.optional(SDKSendByNumberStatus$inboundSchema),
184
+ request_id: types.optional(types.string()),
185
+ expires_at: types.optional(types.date()),
186
+ match_number: types.optional(types.number()),
187
+ }).transform((v) => {
188
+ return remap$(v, {
189
+ "request_id": "requestId",
190
+ "expires_at": "expiresAt",
191
+ "match_number": "matchNumber",
192
+ });
193
+ });
194
+ /** @internal */
195
+ export type SDKSendByNumberDataData$Outbound = {
196
+ status?: string | undefined;
197
+ request_id?: string | undefined;
198
+ expires_at?: string | undefined;
199
+ match_number?: number | undefined;
200
+ };
201
+
202
+ /** @internal */
203
+ export const SDKSendByNumberDataData$outboundSchema: z.ZodType<
204
+ SDKSendByNumberDataData$Outbound,
205
+ z.ZodTypeDef,
206
+ SDKSendByNumberDataData
207
+ > = z.object({
208
+ status: SDKSendByNumberStatus$outboundSchema.optional(),
209
+ requestId: z.string().optional(),
210
+ expiresAt: z.date().transform(v => v.toISOString()).optional(),
211
+ matchNumber: z.number().int().optional(),
212
+ }).transform((v) => {
213
+ return remap$(v, {
214
+ requestId: "request_id",
215
+ expiresAt: "expires_at",
216
+ matchNumber: "match_number",
217
+ });
218
+ });
219
+
220
+ export function sdkSendByNumberDataDataToJSON(
221
+ sdkSendByNumberDataData: SDKSendByNumberDataData,
222
+ ): string {
223
+ return JSON.stringify(
224
+ SDKSendByNumberDataData$outboundSchema.parse(sdkSendByNumberDataData),
225
+ );
226
+ }
227
+ export function sdkSendByNumberDataDataFromJSON(
228
+ jsonString: string,
229
+ ): SafeParseResult<SDKSendByNumberDataData, SDKValidationError> {
230
+ return safeParse(
231
+ jsonString,
232
+ (x) => SDKSendByNumberDataData$inboundSchema.parse(JSON.parse(x)),
233
+ `Failed to parse 'SDKSendByNumberDataData' from JSON`,
234
+ );
235
+ }
236
+
237
+ /** @internal */
238
+ export const SDKSendByNumberError$inboundSchema: z.ZodType<
239
+ SDKSendByNumberError,
240
+ z.ZodTypeDef,
241
+ unknown
242
+ > = z.object({
243
+ code: types.optional(types.string()),
244
+ message: types.optional(types.string()),
245
+ statusCode: types.optional(types.number()),
246
+ retry_after_seconds: types.optional(types.number()),
247
+ }).transform((v) => {
248
+ return remap$(v, {
249
+ "retry_after_seconds": "retryAfterSeconds",
250
+ });
251
+ });
252
+ /** @internal */
253
+ export type SDKSendByNumberError$Outbound = {
254
+ code?: string | undefined;
255
+ message?: string | undefined;
256
+ statusCode?: number | undefined;
257
+ retry_after_seconds?: number | undefined;
258
+ };
259
+
260
+ /** @internal */
261
+ export const SDKSendByNumberError$outboundSchema: z.ZodType<
262
+ SDKSendByNumberError$Outbound,
263
+ z.ZodTypeDef,
264
+ SDKSendByNumberError
265
+ > = z.object({
266
+ code: z.string().optional(),
267
+ message: z.string().optional(),
268
+ statusCode: z.number().int().optional(),
269
+ retryAfterSeconds: z.number().int().optional(),
270
+ }).transform((v) => {
271
+ return remap$(v, {
272
+ retryAfterSeconds: "retry_after_seconds",
273
+ });
274
+ });
275
+
276
+ export function sdkSendByNumberErrorToJSON(
277
+ sdkSendByNumberError: SDKSendByNumberError,
278
+ ): string {
279
+ return JSON.stringify(
280
+ SDKSendByNumberError$outboundSchema.parse(sdkSendByNumberError),
281
+ );
282
+ }
283
+ export function sdkSendByNumberErrorFromJSON(
284
+ jsonString: string,
285
+ ): SafeParseResult<SDKSendByNumberError, SDKValidationError> {
286
+ return safeParse(
287
+ jsonString,
288
+ (x) => SDKSendByNumberError$inboundSchema.parse(JSON.parse(x)),
289
+ `Failed to parse 'SDKSendByNumberError' from JSON`,
290
+ );
291
+ }
292
+
293
+ /** @internal */
294
+ export const SDKSendByNumberData$inboundSchema: z.ZodType<
295
+ SDKSendByNumberData,
296
+ z.ZodTypeDef,
297
+ unknown
298
+ > = z.object({
299
+ data: types.optional(z.lazy(() => SDKSendByNumberDataData$inboundSchema)),
300
+ error: types.optional(z.lazy(() => SDKSendByNumberError$inboundSchema)),
301
+ });
302
+ /** @internal */
303
+ export type SDKSendByNumberData$Outbound = {
304
+ data?: SDKSendByNumberDataData$Outbound | undefined;
305
+ error?: SDKSendByNumberError$Outbound | undefined;
306
+ };
307
+
308
+ /** @internal */
309
+ export const SDKSendByNumberData$outboundSchema: z.ZodType<
310
+ SDKSendByNumberData$Outbound,
311
+ z.ZodTypeDef,
312
+ SDKSendByNumberData
313
+ > = z.object({
314
+ data: z.lazy(() => SDKSendByNumberDataData$outboundSchema).optional(),
315
+ error: z.lazy(() => SDKSendByNumberError$outboundSchema).optional(),
316
+ });
317
+
318
+ export function sdkSendByNumberDataToJSON(
319
+ sdkSendByNumberData: SDKSendByNumberData,
320
+ ): string {
321
+ return JSON.stringify(
322
+ SDKSendByNumberData$outboundSchema.parse(sdkSendByNumberData),
323
+ );
324
+ }
325
+ export function sdkSendByNumberDataFromJSON(
326
+ jsonString: string,
327
+ ): SafeParseResult<SDKSendByNumberData, SDKValidationError> {
328
+ return safeParse(
329
+ jsonString,
330
+ (x) => SDKSendByNumberData$inboundSchema.parse(JSON.parse(x)),
331
+ `Failed to parse 'SDKSendByNumberData' from JSON`,
332
+ );
333
+ }
334
+
335
+ /** @internal */
336
+ export const SDKSendByNumberResponse$inboundSchema: z.ZodType<
337
+ SDKSendByNumberResponse,
338
+ z.ZodTypeDef,
339
+ unknown
340
+ > = z.object({
341
+ data: types.optional(z.lazy(() => SDKSendByNumberData$inboundSchema)),
342
+ });
343
+ /** @internal */
344
+ export type SDKSendByNumberResponse$Outbound = {
345
+ data?: SDKSendByNumberData$Outbound | undefined;
346
+ };
347
+
348
+ /** @internal */
349
+ export const SDKSendByNumberResponse$outboundSchema: z.ZodType<
350
+ SDKSendByNumberResponse$Outbound,
351
+ z.ZodTypeDef,
352
+ SDKSendByNumberResponse
353
+ > = z.object({
354
+ data: z.lazy(() => SDKSendByNumberData$outboundSchema).optional(),
355
+ });
356
+
357
+ export function sdkSendByNumberResponseToJSON(
358
+ sdkSendByNumberResponse: SDKSendByNumberResponse,
359
+ ): string {
360
+ return JSON.stringify(
361
+ SDKSendByNumberResponse$outboundSchema.parse(sdkSendByNumberResponse),
362
+ );
363
+ }
364
+ export function sdkSendByNumberResponseFromJSON(
365
+ jsonString: string,
366
+ ): SafeParseResult<SDKSendByNumberResponse, SDKValidationError> {
367
+ return safeParse(
368
+ jsonString,
369
+ (x) => SDKSendByNumberResponse$inboundSchema.parse(JSON.parse(x)),
370
+ `Failed to parse 'SDKSendByNumberResponse' from JSON`,
371
+ );
372
+ }