botshield-sdk 2.0.2 → 2.2.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 (275) hide show
  1. package/README.md +18 -46
  2. package/bin/mcp-server.js +596 -468
  3. package/bin/mcp-server.js.map +32 -29
  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/census-get-partner-config.js +2 -78
  7. package/dist/commonjs/funcs/census-get-partner-config.js.map +1 -1
  8. package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
  9. package/dist/commonjs/funcs/census-verify-token.js +1 -79
  10. package/dist/commonjs/funcs/census-verify-token.js.map +1 -1
  11. package/dist/commonjs/funcs/secured-accounts-get-status.d.ts +18 -0
  12. package/dist/commonjs/funcs/secured-accounts-get-status.d.ts.map +1 -0
  13. package/dist/commonjs/funcs/secured-accounts-get-status.js +126 -0
  14. package/dist/commonjs/funcs/secured-accounts-get-status.js.map +1 -0
  15. package/dist/commonjs/funcs/secured-accounts-list.d.ts +18 -0
  16. package/dist/commonjs/funcs/secured-accounts-list.d.ts.map +1 -0
  17. package/dist/commonjs/funcs/secured-accounts-list.js +129 -0
  18. package/dist/commonjs/funcs/secured-accounts-list.js.map +1 -0
  19. package/dist/commonjs/funcs/secured-accounts-revoke.d.ts +18 -0
  20. package/dist/commonjs/funcs/secured-accounts-revoke.d.ts.map +1 -0
  21. package/dist/commonjs/funcs/secured-accounts-revoke.js +123 -0
  22. package/dist/commonjs/funcs/secured-accounts-revoke.js.map +1 -0
  23. package/dist/commonjs/funcs/verification-get-status.js +0 -78
  24. package/dist/commonjs/funcs/verification-get-status.js.map +1 -1
  25. package/dist/commonjs/lib/config.d.ts +2 -2
  26. package/dist/commonjs/lib/config.js +2 -2
  27. package/dist/commonjs/lib/security.d.ts.map +1 -1
  28. package/dist/commonjs/lib/security.js +0 -91
  29. package/dist/commonjs/lib/security.js.map +1 -1
  30. package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
  31. package/dist/commonjs/mcp-server/cli/start/command.js +0 -104
  32. package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
  33. package/dist/commonjs/mcp-server/cli/start/impl.d.ts +0 -13
  34. package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
  35. package/dist/commonjs/mcp-server/cli/start/impl.js +0 -26
  36. package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
  37. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  38. package/dist/commonjs/mcp-server/server.js +1 -1
  39. package/dist/commonjs/mcp-server/tools/actions-cancel-action.d.ts.map +1 -1
  40. package/dist/commonjs/mcp-server/tools/actions-cancel-action.js +1 -17
  41. package/dist/commonjs/mcp-server/tools/actions-cancel-action.js.map +1 -1
  42. package/dist/commonjs/mcp-server/tools/actions-check-action-status.d.ts.map +1 -1
  43. package/dist/commonjs/mcp-server/tools/actions-check-action-status.js +1 -17
  44. package/dist/commonjs/mcp-server/tools/actions-check-action-status.js.map +1 -1
  45. package/dist/commonjs/mcp-server/tools/actions-propose-action.d.ts.map +1 -1
  46. package/dist/commonjs/mcp-server/tools/actions-propose-action.js +1 -17
  47. package/dist/commonjs/mcp-server/tools/actions-propose-action.js.map +1 -1
  48. package/dist/commonjs/models/error-body.d.ts +43 -8
  49. package/dist/commonjs/models/error-body.d.ts.map +1 -1
  50. package/dist/commonjs/models/error-body.js +51 -1
  51. package/dist/commonjs/models/error-body.js.map +1 -1
  52. package/dist/commonjs/models/operations/actions-cancel.d.ts +1 -1
  53. package/dist/commonjs/models/operations/actions-check-status.d.ts +6 -6
  54. package/dist/commonjs/models/operations/actions-check-status.d.ts.map +1 -1
  55. package/dist/commonjs/models/operations/actions-check-status.js +6 -6
  56. package/dist/commonjs/models/operations/actions-check-status.js.map +1 -1
  57. package/dist/commonjs/models/operations/actions-propose.d.ts +1 -1
  58. package/dist/commonjs/models/operations/index.d.ts +3 -0
  59. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  60. package/dist/commonjs/models/operations/index.js +3 -0
  61. package/dist/commonjs/models/operations/index.js.map +1 -1
  62. package/dist/commonjs/models/operations/sdk-create-session.d.ts +44 -10
  63. package/dist/commonjs/models/operations/sdk-create-session.d.ts.map +1 -1
  64. package/dist/commonjs/models/operations/sdk-create-session.js +32 -11
  65. package/dist/commonjs/models/operations/sdk-create-session.js.map +1 -1
  66. package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +96 -2
  67. package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -1
  68. package/dist/commonjs/models/operations/sdk-create-verification-link.js +58 -1
  69. package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
  70. package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts +23 -27
  71. package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts.map +1 -1
  72. package/dist/commonjs/models/operations/sdk-get-partner-config.js +18 -26
  73. package/dist/commonjs/models/operations/sdk-get-partner-config.js.map +1 -1
  74. package/dist/commonjs/models/operations/sdk-logout.d.ts +1 -1
  75. package/dist/commonjs/models/operations/sdk-revoke-verification.d.ts +14 -4
  76. package/dist/commonjs/models/operations/sdk-revoke-verification.d.ts.map +1 -1
  77. package/dist/commonjs/models/operations/sdk-revoke-verification.js +4 -2
  78. package/dist/commonjs/models/operations/sdk-revoke-verification.js.map +1 -1
  79. package/dist/commonjs/models/operations/sdk-store-signal.d.ts +1 -1
  80. package/dist/commonjs/models/operations/sdk-validate-signal.d.ts +6 -6
  81. package/dist/commonjs/models/operations/sdk-validate-signal.d.ts.map +1 -1
  82. package/dist/commonjs/models/operations/sdk-validate-signal.js +6 -6
  83. package/dist/commonjs/models/operations/sdk-validate-signal.js.map +1 -1
  84. package/dist/commonjs/models/operations/sdk-verify-token.d.ts +78 -27
  85. package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
  86. package/dist/commonjs/models/operations/sdk-verify-token.js +51 -27
  87. package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
  88. package/dist/commonjs/models/operations/secured-accounts-list.d.ts +212 -0
  89. package/dist/commonjs/models/operations/secured-accounts-list.d.ts.map +1 -0
  90. package/dist/commonjs/models/operations/secured-accounts-list.js +254 -0
  91. package/dist/commonjs/models/operations/secured-accounts-list.js.map +1 -0
  92. package/dist/commonjs/models/operations/secured-accounts-revoke.d.ts +130 -0
  93. package/dist/commonjs/models/operations/secured-accounts-revoke.d.ts.map +1 -0
  94. package/dist/commonjs/models/operations/secured-accounts-revoke.js +185 -0
  95. package/dist/commonjs/models/operations/secured-accounts-revoke.js.map +1 -0
  96. package/dist/commonjs/models/operations/secured-accounts-status.d.ts +97 -0
  97. package/dist/commonjs/models/operations/secured-accounts-status.d.ts.map +1 -0
  98. package/dist/commonjs/models/operations/secured-accounts-status.js +163 -0
  99. package/dist/commonjs/models/operations/secured-accounts-status.js.map +1 -0
  100. package/dist/commonjs/models/operations/verification-get-status.d.ts +47 -30
  101. package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
  102. package/dist/commonjs/models/operations/verification-get-status.js +30 -28
  103. package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
  104. package/dist/commonjs/models/security.d.ts +0 -26
  105. package/dist/commonjs/models/security.d.ts.map +1 -1
  106. package/dist/commonjs/models/security.js +0 -26
  107. package/dist/commonjs/models/security.js.map +1 -1
  108. package/dist/commonjs/sdk/actions.d.ts +1 -1
  109. package/dist/commonjs/sdk/actions.js +1 -1
  110. package/dist/commonjs/sdk/census.d.ts +1 -1
  111. package/dist/commonjs/sdk/census.js +1 -1
  112. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  113. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  114. package/dist/commonjs/sdk/sdk.js +5 -0
  115. package/dist/commonjs/sdk/sdk.js.map +1 -1
  116. package/dist/commonjs/sdk/secured-accounts.d.ts +26 -0
  117. package/dist/commonjs/sdk/secured-accounts.d.ts.map +1 -0
  118. package/dist/commonjs/sdk/secured-accounts.js +42 -0
  119. package/dist/commonjs/sdk/secured-accounts.js.map +1 -0
  120. package/dist/esm/funcs/actions-propose-action.d.ts +1 -1
  121. package/dist/esm/funcs/actions-propose-action.js +1 -1
  122. package/dist/esm/funcs/census-get-partner-config.js +2 -78
  123. package/dist/esm/funcs/census-get-partner-config.js.map +1 -1
  124. package/dist/esm/funcs/census-verify-token.d.ts +1 -1
  125. package/dist/esm/funcs/census-verify-token.js +1 -79
  126. package/dist/esm/funcs/census-verify-token.js.map +1 -1
  127. package/dist/esm/funcs/secured-accounts-get-status.d.ts +18 -0
  128. package/dist/esm/funcs/secured-accounts-get-status.d.ts.map +1 -0
  129. package/dist/esm/funcs/secured-accounts-get-status.js +90 -0
  130. package/dist/esm/funcs/secured-accounts-get-status.js.map +1 -0
  131. package/dist/esm/funcs/secured-accounts-list.d.ts +18 -0
  132. package/dist/esm/funcs/secured-accounts-list.d.ts.map +1 -0
  133. package/dist/esm/funcs/secured-accounts-list.js +93 -0
  134. package/dist/esm/funcs/secured-accounts-list.js.map +1 -0
  135. package/dist/esm/funcs/secured-accounts-revoke.d.ts +18 -0
  136. package/dist/esm/funcs/secured-accounts-revoke.d.ts.map +1 -0
  137. package/dist/esm/funcs/secured-accounts-revoke.js +87 -0
  138. package/dist/esm/funcs/secured-accounts-revoke.js.map +1 -0
  139. package/dist/esm/funcs/verification-get-status.js +0 -78
  140. package/dist/esm/funcs/verification-get-status.js.map +1 -1
  141. package/dist/esm/lib/config.d.ts +2 -2
  142. package/dist/esm/lib/config.js +2 -2
  143. package/dist/esm/lib/security.d.ts.map +1 -1
  144. package/dist/esm/lib/security.js +0 -91
  145. package/dist/esm/lib/security.js.map +1 -1
  146. package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
  147. package/dist/esm/mcp-server/cli/start/command.js +0 -104
  148. package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
  149. package/dist/esm/mcp-server/cli/start/impl.d.ts +0 -13
  150. package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
  151. package/dist/esm/mcp-server/cli/start/impl.js +0 -26
  152. package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
  153. package/dist/esm/mcp-server/mcp-server.js +1 -1
  154. package/dist/esm/mcp-server/server.js +1 -1
  155. package/dist/esm/mcp-server/tools/actions-cancel-action.d.ts.map +1 -1
  156. package/dist/esm/mcp-server/tools/actions-cancel-action.js +1 -17
  157. package/dist/esm/mcp-server/tools/actions-cancel-action.js.map +1 -1
  158. package/dist/esm/mcp-server/tools/actions-check-action-status.d.ts.map +1 -1
  159. package/dist/esm/mcp-server/tools/actions-check-action-status.js +1 -17
  160. package/dist/esm/mcp-server/tools/actions-check-action-status.js.map +1 -1
  161. package/dist/esm/mcp-server/tools/actions-propose-action.d.ts.map +1 -1
  162. package/dist/esm/mcp-server/tools/actions-propose-action.js +1 -17
  163. package/dist/esm/mcp-server/tools/actions-propose-action.js.map +1 -1
  164. package/dist/esm/models/error-body.d.ts +43 -8
  165. package/dist/esm/models/error-body.d.ts.map +1 -1
  166. package/dist/esm/models/error-body.js +48 -0
  167. package/dist/esm/models/error-body.js.map +1 -1
  168. package/dist/esm/models/operations/actions-cancel.d.ts +1 -1
  169. package/dist/esm/models/operations/actions-check-status.d.ts +6 -6
  170. package/dist/esm/models/operations/actions-check-status.d.ts.map +1 -1
  171. package/dist/esm/models/operations/actions-check-status.js +5 -5
  172. package/dist/esm/models/operations/actions-check-status.js.map +1 -1
  173. package/dist/esm/models/operations/actions-propose.d.ts +1 -1
  174. package/dist/esm/models/operations/index.d.ts +3 -0
  175. package/dist/esm/models/operations/index.d.ts.map +1 -1
  176. package/dist/esm/models/operations/index.js +3 -0
  177. package/dist/esm/models/operations/index.js.map +1 -1
  178. package/dist/esm/models/operations/sdk-create-session.d.ts +44 -10
  179. package/dist/esm/models/operations/sdk-create-session.d.ts.map +1 -1
  180. package/dist/esm/models/operations/sdk-create-session.js +29 -8
  181. package/dist/esm/models/operations/sdk-create-session.js.map +1 -1
  182. package/dist/esm/models/operations/sdk-create-verification-link.d.ts +96 -2
  183. package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -1
  184. package/dist/esm/models/operations/sdk-create-verification-link.js +57 -0
  185. package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
  186. package/dist/esm/models/operations/sdk-get-partner-config.d.ts +23 -27
  187. package/dist/esm/models/operations/sdk-get-partner-config.d.ts.map +1 -1
  188. package/dist/esm/models/operations/sdk-get-partner-config.js +18 -26
  189. package/dist/esm/models/operations/sdk-get-partner-config.js.map +1 -1
  190. package/dist/esm/models/operations/sdk-logout.d.ts +1 -1
  191. package/dist/esm/models/operations/sdk-revoke-verification.d.ts +14 -4
  192. package/dist/esm/models/operations/sdk-revoke-verification.d.ts.map +1 -1
  193. package/dist/esm/models/operations/sdk-revoke-verification.js +4 -2
  194. package/dist/esm/models/operations/sdk-revoke-verification.js.map +1 -1
  195. package/dist/esm/models/operations/sdk-store-signal.d.ts +1 -1
  196. package/dist/esm/models/operations/sdk-validate-signal.d.ts +6 -6
  197. package/dist/esm/models/operations/sdk-validate-signal.d.ts.map +1 -1
  198. package/dist/esm/models/operations/sdk-validate-signal.js +5 -5
  199. package/dist/esm/models/operations/sdk-validate-signal.js.map +1 -1
  200. package/dist/esm/models/operations/sdk-verify-token.d.ts +78 -27
  201. package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
  202. package/dist/esm/models/operations/sdk-verify-token.js +50 -26
  203. package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
  204. package/dist/esm/models/operations/secured-accounts-list.d.ts +212 -0
  205. package/dist/esm/models/operations/secured-accounts-list.d.ts.map +1 -0
  206. package/dist/esm/models/operations/secured-accounts-list.js +206 -0
  207. package/dist/esm/models/operations/secured-accounts-list.js.map +1 -0
  208. package/dist/esm/models/operations/secured-accounts-revoke.d.ts +130 -0
  209. package/dist/esm/models/operations/secured-accounts-revoke.d.ts.map +1 -0
  210. package/dist/esm/models/operations/secured-accounts-revoke.js +139 -0
  211. package/dist/esm/models/operations/secured-accounts-revoke.js.map +1 -0
  212. package/dist/esm/models/operations/secured-accounts-status.d.ts +97 -0
  213. package/dist/esm/models/operations/secured-accounts-status.d.ts.map +1 -0
  214. package/dist/esm/models/operations/secured-accounts-status.js +117 -0
  215. package/dist/esm/models/operations/secured-accounts-status.js.map +1 -0
  216. package/dist/esm/models/operations/verification-get-status.d.ts +47 -30
  217. package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
  218. package/dist/esm/models/operations/verification-get-status.js +29 -27
  219. package/dist/esm/models/operations/verification-get-status.js.map +1 -1
  220. package/dist/esm/models/security.d.ts +0 -26
  221. package/dist/esm/models/security.d.ts.map +1 -1
  222. package/dist/esm/models/security.js +0 -26
  223. package/dist/esm/models/security.js.map +1 -1
  224. package/dist/esm/sdk/actions.d.ts +1 -1
  225. package/dist/esm/sdk/actions.js +1 -1
  226. package/dist/esm/sdk/census.d.ts +1 -1
  227. package/dist/esm/sdk/census.js +1 -1
  228. package/dist/esm/sdk/sdk.d.ts +3 -0
  229. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  230. package/dist/esm/sdk/sdk.js +5 -0
  231. package/dist/esm/sdk/sdk.js.map +1 -1
  232. package/dist/esm/sdk/secured-accounts.d.ts +26 -0
  233. package/dist/esm/sdk/secured-accounts.d.ts.map +1 -0
  234. package/dist/esm/sdk/secured-accounts.js +38 -0
  235. package/dist/esm/sdk/secured-accounts.js.map +1 -0
  236. package/jsr.json +1 -1
  237. package/package.json +1 -1
  238. package/src/funcs/actions-propose-action.ts +1 -1
  239. package/src/funcs/census-get-partner-config.ts +2 -91
  240. package/src/funcs/census-verify-token.ts +1 -92
  241. package/src/funcs/secured-accounts-get-status.ts +189 -0
  242. package/src/funcs/secured-accounts-list.ts +194 -0
  243. package/src/funcs/secured-accounts-revoke.ts +185 -0
  244. package/src/funcs/verification-get-status.ts +0 -91
  245. package/src/lib/config.ts +2 -2
  246. package/src/lib/security.ts +0 -91
  247. package/src/mcp-server/cli/start/command.ts +0 -104
  248. package/src/mcp-server/cli/start/impl.ts +0 -39
  249. package/src/mcp-server/mcp-server.ts +1 -1
  250. package/src/mcp-server/server.ts +1 -1
  251. package/src/mcp-server/tools/actions-cancel-action.ts +1 -17
  252. package/src/mcp-server/tools/actions-check-action-status.ts +1 -17
  253. package/src/mcp-server/tools/actions-propose-action.ts +1 -17
  254. package/src/models/error-body.ts +95 -8
  255. package/src/models/operations/actions-cancel.ts +1 -1
  256. package/src/models/operations/actions-check-status.ts +18 -10
  257. package/src/models/operations/actions-propose.ts +1 -1
  258. package/src/models/operations/index.ts +3 -0
  259. package/src/models/operations/sdk-create-session.ts +78 -20
  260. package/src/models/operations/sdk-create-verification-link.ts +157 -2
  261. package/src/models/operations/sdk-get-partner-config.ts +41 -53
  262. package/src/models/operations/sdk-logout.ts +1 -1
  263. package/src/models/operations/sdk-revoke-verification.ts +18 -6
  264. package/src/models/operations/sdk-store-signal.ts +1 -1
  265. package/src/models/operations/sdk-validate-signal.ts +16 -10
  266. package/src/models/operations/sdk-verify-token.ts +119 -53
  267. package/src/models/operations/secured-accounts-list.ts +507 -0
  268. package/src/models/operations/secured-accounts-revoke.ts +359 -0
  269. package/src/models/operations/secured-accounts-status.ts +296 -0
  270. package/src/models/operations/verification-get-status.ts +73 -56
  271. package/src/models/security.ts +0 -52
  272. package/src/sdk/actions.ts +1 -1
  273. package/src/sdk/census.ts +1 -1
  274. package/src/sdk/sdk.ts +6 -0
  275. package/src/sdk/secured-accounts.ts +69 -0
@@ -34,14 +34,16 @@ export type ActionsCheckStatusStatus = OpenEnum<
34
34
  /**
35
35
  * null until status is approved or denied.
36
36
  */
37
- export const Verdict = {
37
+ export const ActionsCheckStatusVerdict = {
38
38
  Approve: "approve",
39
39
  Denied: "denied",
40
40
  } as const;
41
41
  /**
42
42
  * null until status is approved or denied.
43
43
  */
44
- export type Verdict = OpenEnum<typeof Verdict>;
44
+ export type ActionsCheckStatusVerdict = OpenEnum<
45
+ typeof ActionsCheckStatusVerdict
46
+ >;
45
47
 
46
48
  export type ActionsCheckStatusDataData = {
47
49
  status: ActionsCheckStatusStatus;
@@ -55,7 +57,7 @@ export type ActionsCheckStatusDataData = {
55
57
  /**
56
58
  * null until status is approved or denied.
57
59
  */
58
- verdict?: Verdict | null | undefined;
60
+ verdict?: ActionsCheckStatusVerdict | null | undefined;
59
61
  /**
60
62
  * Whether the callback webhook has been confirmed delivered.
61
63
  */
@@ -66,7 +68,7 @@ export type ActionsCheckStatusDataData = {
66
68
  export type ActionsCheckStatusData = {
67
69
  data?: ActionsCheckStatusDataData | undefined;
68
70
  /**
69
- * Handler error. Arrives inside data.error with HTTP 200 — check for it before reading the result.
71
+ * Handler error. Arrives inside `data.error` with HTTP 200. Check for it before reading the result.
70
72
  */
71
73
  error?: models.ErrorBody | undefined;
72
74
  };
@@ -144,11 +146,17 @@ export const ActionsCheckStatusStatus$outboundSchema: z.ZodType<
144
146
  > = openEnums.outboundSchema(ActionsCheckStatusStatus);
145
147
 
146
148
  /** @internal */
147
- export const Verdict$inboundSchema: z.ZodType<Verdict, z.ZodTypeDef, unknown> =
148
- openEnums.inboundSchema(Verdict);
149
+ export const ActionsCheckStatusVerdict$inboundSchema: z.ZodType<
150
+ ActionsCheckStatusVerdict,
151
+ z.ZodTypeDef,
152
+ unknown
153
+ > = openEnums.inboundSchema(ActionsCheckStatusVerdict);
149
154
  /** @internal */
150
- export const Verdict$outboundSchema: z.ZodType<string, z.ZodTypeDef, Verdict> =
151
- openEnums.outboundSchema(Verdict);
155
+ export const ActionsCheckStatusVerdict$outboundSchema: z.ZodType<
156
+ string,
157
+ z.ZodTypeDef,
158
+ ActionsCheckStatusVerdict
159
+ > = openEnums.outboundSchema(ActionsCheckStatusVerdict);
152
160
 
153
161
  /** @internal */
154
162
  export const ActionsCheckStatusDataData$inboundSchema: z.ZodType<
@@ -161,7 +169,7 @@ export const ActionsCheckStatusDataData$inboundSchema: z.ZodType<
161
169
  resolved_at: z.nullable(types.date()).optional(),
162
170
  ceremony_id: z.nullable(types.string()).optional(),
163
171
  resolution_jwt: z.nullable(types.string()).optional(),
164
- verdict: z.nullable(Verdict$inboundSchema).optional(),
172
+ verdict: z.nullable(ActionsCheckStatusVerdict$inboundSchema).optional(),
165
173
  delivered: types.optional(types.boolean()),
166
174
  callback_attempts: types.optional(types.number()),
167
175
  }).transform((v) => {
@@ -196,7 +204,7 @@ export const ActionsCheckStatusDataData$outboundSchema: z.ZodType<
196
204
  resolvedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
197
205
  ceremonyId: z.nullable(z.string()).optional(),
198
206
  resolutionJwt: z.nullable(z.string()).optional(),
199
- verdict: z.nullable(Verdict$outboundSchema).optional(),
207
+ verdict: z.nullable(ActionsCheckStatusVerdict$outboundSchema).optional(),
200
208
  delivered: z.boolean().optional(),
201
209
  callbackAttempts: z.number().int().optional(),
202
210
  }).transform((v) => {
@@ -106,7 +106,7 @@ export type ActionsProposeDataData = {
106
106
  export type ActionsProposeData = {
107
107
  data?: ActionsProposeDataData | undefined;
108
108
  /**
109
- * Handler error. Arrives inside data.error with HTTP 200 — check for it before reading the result.
109
+ * Handler error. Arrives inside `data.error` with HTTP 200. Check for it before reading the result.
110
110
  */
111
111
  error?: models.ErrorBody | undefined;
112
112
  };
@@ -13,4 +13,7 @@ export * from "./sdk-revoke-verification.js";
13
13
  export * from "./sdk-store-signal.js";
14
14
  export * from "./sdk-validate-signal.js";
15
15
  export * from "./sdk-verify-token.js";
16
+ export * from "./secured-accounts-list.js";
17
+ export * from "./secured-accounts-revoke.js";
18
+ export * from "./secured-accounts-status.js";
16
19
  export * from "./verification-get-status.js";
@@ -6,7 +6,7 @@ import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
8
  import * as openEnums from "../../types/enums.js";
9
- import { OpenEnum } from "../../types/enums.js";
9
+ import { ClosedEnum, OpenEnum } from "../../types/enums.js";
10
10
  import { Result as SafeParseResult } from "../../types/fp.js";
11
11
  import * as types from "../../types/primitives.js";
12
12
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
@@ -22,6 +22,10 @@ export type SDKCreateSessionRequest = {
22
22
  */
23
23
  partnerUserId?: string | undefined;
24
24
  metadata?: { [k: string]: any } | undefined;
25
+ /**
26
+ * GA 3.0: request a notarize ceremony ("Secure your account with BotShield") for this window. A request, not a decision: the gate's Console switch (Notarize account with BotShield) is the authority and is applied when the verification link is minted. Requires partner_user_id; without it the field is ignored and the response carries notarize_fallback_reason = notarize_requires_user_ref.
27
+ */
28
+ notarize?: boolean | undefined;
25
29
  };
26
30
 
27
31
  /**
@@ -46,7 +50,20 @@ export type SDKCreateSessionOrganization = {
46
50
  environment: SDKCreateSessionEnvironment;
47
51
  };
48
52
 
49
- export type SDKCreateSessionDataData = {
53
+ /**
54
+ * GA 3.0: present when notarize was requested but could not be applied.
55
+ */
56
+ export const SDKCreateSessionNotarizeFallbackReason = {
57
+ NotarizeRequiresUserRef: "notarize_requires_user_ref",
58
+ } as const;
59
+ /**
60
+ * GA 3.0: present when notarize was requested but could not be applied.
61
+ */
62
+ export type SDKCreateSessionNotarizeFallbackReason = ClosedEnum<
63
+ typeof SDKCreateSessionNotarizeFallbackReason
64
+ >;
65
+
66
+ export type DataNotarizeRequiresUserRef = {
50
67
  /**
51
68
  * Canonical grant token (Bearer bss_*)
52
69
  */
@@ -60,12 +77,24 @@ export type SDKCreateSessionDataData = {
60
77
  expiresAt: Date;
61
78
  expiresInSeconds: number;
62
79
  organization: SDKCreateSessionOrganization;
80
+ /**
81
+ * GA 3.0 Secured Accounts: true when an active Secured Account binding exists for (your platform, platform-user-ref). The widget skips the "Link BotShield ID" chip when true.
82
+ */
83
+ trusted?: boolean | undefined;
84
+ /**
85
+ * GA 3.0: this window requests a notarize ceremony. The decision is made at sdk/create-verification-link, where the gate's Console switch is applied.
86
+ */
87
+ notarize?: boolean | undefined;
88
+ /**
89
+ * GA 3.0: present when notarize was requested but could not be applied.
90
+ */
91
+ notarizeFallbackReason?: SDKCreateSessionNotarizeFallbackReason | undefined;
63
92
  };
64
93
 
65
94
  export type SDKCreateSessionData = {
66
- data?: SDKCreateSessionDataData | undefined;
95
+ data?: DataNotarizeRequiresUserRef | undefined;
67
96
  /**
68
- * Handler error. Arrives inside data.error with HTTP 200 — check for it before reading the result.
97
+ * Handler error. Arrives inside `data.error` with HTTP 200. Check for it before reading the result.
69
98
  */
70
99
  error?: models.ErrorBody | undefined;
71
100
  };
@@ -132,6 +161,7 @@ export const SDKCreateSessionRequest$inboundSchema: z.ZodType<
132
161
  > = z.object({
133
162
  partner_user_id: types.optional(types.string()),
134
163
  metadata: types.optional(z.record(z.any())),
164
+ notarize: types.optional(types.boolean()),
135
165
  }).transform((v) => {
136
166
  return remap$(v, {
137
167
  "partner_user_id": "partnerUserId",
@@ -141,6 +171,7 @@ export const SDKCreateSessionRequest$inboundSchema: z.ZodType<
141
171
  export type SDKCreateSessionRequest$Outbound = {
142
172
  partner_user_id?: string | undefined;
143
173
  metadata?: { [k: string]: any } | undefined;
174
+ notarize?: boolean | undefined;
144
175
  };
145
176
 
146
177
  /** @internal */
@@ -151,6 +182,7 @@ export const SDKCreateSessionRequest$outboundSchema: z.ZodType<
151
182
  > = z.object({
152
183
  partnerUserId: z.string().optional(),
153
184
  metadata: z.record(z.any()).optional(),
185
+ notarize: z.boolean().optional(),
154
186
  }).transform((v) => {
155
187
  return remap$(v, {
156
188
  partnerUserId: "partner_user_id",
@@ -232,8 +264,18 @@ export function sdkCreateSessionOrganizationFromJSON(
232
264
  }
233
265
 
234
266
  /** @internal */
235
- export const SDKCreateSessionDataData$inboundSchema: z.ZodType<
236
- SDKCreateSessionDataData,
267
+ export const SDKCreateSessionNotarizeFallbackReason$inboundSchema:
268
+ z.ZodNativeEnum<typeof SDKCreateSessionNotarizeFallbackReason> = z.nativeEnum(
269
+ SDKCreateSessionNotarizeFallbackReason,
270
+ );
271
+ /** @internal */
272
+ export const SDKCreateSessionNotarizeFallbackReason$outboundSchema:
273
+ z.ZodNativeEnum<typeof SDKCreateSessionNotarizeFallbackReason> =
274
+ SDKCreateSessionNotarizeFallbackReason$inboundSchema;
275
+
276
+ /** @internal */
277
+ export const DataNotarizeRequiresUserRef$inboundSchema: z.ZodType<
278
+ DataNotarizeRequiresUserRef,
237
279
  z.ZodTypeDef,
238
280
  unknown
239
281
  > = z.object({
@@ -244,6 +286,11 @@ export const SDKCreateSessionDataData$inboundSchema: z.ZodType<
244
286
  expires_at: types.date(),
245
287
  expires_in_seconds: types.number(),
246
288
  organization: z.lazy(() => SDKCreateSessionOrganization$inboundSchema),
289
+ trusted: types.optional(types.boolean()),
290
+ notarize: types.optional(types.boolean()),
291
+ notarize_fallback_reason: types.optional(
292
+ SDKCreateSessionNotarizeFallbackReason$inboundSchema,
293
+ ),
247
294
  }).transform((v) => {
248
295
  return remap$(v, {
249
296
  "anchor_grant_token": "anchorGrantToken",
@@ -252,10 +299,11 @@ export const SDKCreateSessionDataData$inboundSchema: z.ZodType<
252
299
  "session_token": "sessionToken",
253
300
  "expires_at": "expiresAt",
254
301
  "expires_in_seconds": "expiresInSeconds",
302
+ "notarize_fallback_reason": "notarizeFallbackReason",
255
303
  });
256
304
  });
257
305
  /** @internal */
258
- export type SDKCreateSessionDataData$Outbound = {
306
+ export type DataNotarizeRequiresUserRef$Outbound = {
259
307
  anchor_grant_token: string;
260
308
  anchor_grant_expires_at: string;
261
309
  anchor_grant_expires_in_seconds: number;
@@ -263,13 +311,16 @@ export type SDKCreateSessionDataData$Outbound = {
263
311
  expires_at: string;
264
312
  expires_in_seconds: number;
265
313
  organization: SDKCreateSessionOrganization$Outbound;
314
+ trusted?: boolean | undefined;
315
+ notarize?: boolean | undefined;
316
+ notarize_fallback_reason?: string | undefined;
266
317
  };
267
318
 
268
319
  /** @internal */
269
- export const SDKCreateSessionDataData$outboundSchema: z.ZodType<
270
- SDKCreateSessionDataData$Outbound,
320
+ export const DataNotarizeRequiresUserRef$outboundSchema: z.ZodType<
321
+ DataNotarizeRequiresUserRef$Outbound,
271
322
  z.ZodTypeDef,
272
- SDKCreateSessionDataData
323
+ DataNotarizeRequiresUserRef
273
324
  > = z.object({
274
325
  anchorGrantToken: z.string(),
275
326
  anchorGrantExpiresAt: z.date().transform(v => v.toISOString()),
@@ -278,6 +329,10 @@ export const SDKCreateSessionDataData$outboundSchema: z.ZodType<
278
329
  expiresAt: z.date().transform(v => v.toISOString()),
279
330
  expiresInSeconds: z.number().int(),
280
331
  organization: z.lazy(() => SDKCreateSessionOrganization$outboundSchema),
332
+ trusted: z.boolean().optional(),
333
+ notarize: z.boolean().optional(),
334
+ notarizeFallbackReason: SDKCreateSessionNotarizeFallbackReason$outboundSchema
335
+ .optional(),
281
336
  }).transform((v) => {
282
337
  return remap$(v, {
283
338
  anchorGrantToken: "anchor_grant_token",
@@ -286,23 +341,26 @@ export const SDKCreateSessionDataData$outboundSchema: z.ZodType<
286
341
  sessionToken: "session_token",
287
342
  expiresAt: "expires_at",
288
343
  expiresInSeconds: "expires_in_seconds",
344
+ notarizeFallbackReason: "notarize_fallback_reason",
289
345
  });
290
346
  });
291
347
 
292
- export function sdkCreateSessionDataDataToJSON(
293
- sdkCreateSessionDataData: SDKCreateSessionDataData,
348
+ export function dataNotarizeRequiresUserRefToJSON(
349
+ dataNotarizeRequiresUserRef: DataNotarizeRequiresUserRef,
294
350
  ): string {
295
351
  return JSON.stringify(
296
- SDKCreateSessionDataData$outboundSchema.parse(sdkCreateSessionDataData),
352
+ DataNotarizeRequiresUserRef$outboundSchema.parse(
353
+ dataNotarizeRequiresUserRef,
354
+ ),
297
355
  );
298
356
  }
299
- export function sdkCreateSessionDataDataFromJSON(
357
+ export function dataNotarizeRequiresUserRefFromJSON(
300
358
  jsonString: string,
301
- ): SafeParseResult<SDKCreateSessionDataData, SDKValidationError> {
359
+ ): SafeParseResult<DataNotarizeRequiresUserRef, SDKValidationError> {
302
360
  return safeParse(
303
361
  jsonString,
304
- (x) => SDKCreateSessionDataData$inboundSchema.parse(JSON.parse(x)),
305
- `Failed to parse 'SDKCreateSessionDataData' from JSON`,
362
+ (x) => DataNotarizeRequiresUserRef$inboundSchema.parse(JSON.parse(x)),
363
+ `Failed to parse 'DataNotarizeRequiresUserRef' from JSON`,
306
364
  );
307
365
  }
308
366
 
@@ -312,12 +370,12 @@ export const SDKCreateSessionData$inboundSchema: z.ZodType<
312
370
  z.ZodTypeDef,
313
371
  unknown
314
372
  > = z.object({
315
- data: types.optional(z.lazy(() => SDKCreateSessionDataData$inboundSchema)),
373
+ data: types.optional(z.lazy(() => DataNotarizeRequiresUserRef$inboundSchema)),
316
374
  error: types.optional(models.ErrorBody$inboundSchema),
317
375
  });
318
376
  /** @internal */
319
377
  export type SDKCreateSessionData$Outbound = {
320
- data?: SDKCreateSessionDataData$Outbound | undefined;
378
+ data?: DataNotarizeRequiresUserRef$Outbound | undefined;
321
379
  error?: models.ErrorBody$Outbound | undefined;
322
380
  };
323
381
 
@@ -327,7 +385,7 @@ export const SDKCreateSessionData$outboundSchema: z.ZodType<
327
385
  z.ZodTypeDef,
328
386
  SDKCreateSessionData
329
387
  > = z.object({
330
- data: z.lazy(() => SDKCreateSessionDataData$outboundSchema).optional(),
388
+ data: z.lazy(() => DataNotarizeRequiresUserRef$outboundSchema).optional(),
331
389
  error: models.ErrorBody$outboundSchema.optional(),
332
390
  });
333
391
 
@@ -57,7 +57,9 @@ export type SDKCreateVerificationLinkRequest = {
57
57
  */
58
58
  webhookUrl?: string | undefined;
59
59
  /**
60
- * The gate this request runs (the gate's action name, as listed in the Console under BotShield Gate).
60
+ * The gate this request runs (the gate's action name, as listed in the Console under BotShield Gate). **Deprecated (alias window, sunset 2027-01-15):** use `gate`. Accepted through the window; responses carry both. https://docs.botshield.ai/changelog/alias-window
61
+ *
62
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
61
63
  */
62
64
  scope?: string | undefined;
63
65
  sdkType?: SDKTypeRequest | undefined;
@@ -82,6 +84,14 @@ export type SDKCreateVerificationLinkRequest = {
82
84
  */
83
85
  parentRequestId?: string | undefined;
84
86
  metadata?: { [k: string]: any } | undefined;
87
+ /**
88
+ * GA 3.0: run this ceremony as a notarize ceremony. The gate's Console switch (notarize_enabled) is the authority: the ceremony runs only when the switch is on. `true` with the switch off falls back to a plain verification with notarize_fallback_reason = notarize_not_enabled. `false` opts this placement out. Absent → inherited from the grant window, else offered when the switch is on. Requires partner_user_ref; never on an Age Gate. verification/complete writes the Secured Account binding in the same transaction as the completion.
89
+ */
90
+ notarize?: boolean | undefined;
91
+ /**
92
+ * The gate this request runs (the gate's action name, as listed in the Console under BotShield Gate).
93
+ */
94
+ gate?: string | undefined;
85
95
  };
86
96
 
87
97
  export const SDKCreateVerificationLinkSDKTypeResponse = {
@@ -102,6 +112,46 @@ export type SDKCreateVerificationLinkOrganization = {
102
112
  id?: string | undefined;
103
113
  };
104
114
 
115
+ /**
116
+ * The gate's type. An Age Gate never notarizes (widget suppresses the chip).
117
+ */
118
+ export const GateType = {
119
+ Human: "human",
120
+ Age: "age",
121
+ } as const;
122
+ /**
123
+ * The gate's type. An Age Gate never notarizes (widget suppresses the chip).
124
+ */
125
+ export type GateType = OpenEnum<typeof GateType>;
126
+
127
+ /**
128
+ * Age Gate only.
129
+ */
130
+ export const AgeThreshold = {
131
+ Thirteen: 13,
132
+ Eighteen: 18,
133
+ TwentyOne: 21,
134
+ } as const;
135
+ /**
136
+ * Age Gate only.
137
+ */
138
+ export type AgeThreshold = OpenEnum<typeof AgeThreshold>;
139
+
140
+ /**
141
+ * GA 3.0: present when notarize was requested but could not be applied. notarize_not_enabled = the gate's Console switch is off; the switch is the authority and the request field cannot turn the offer on.
142
+ */
143
+ export const SDKCreateVerificationLinkNotarizeFallbackReason = {
144
+ NotarizeNotEnabled: "notarize_not_enabled",
145
+ NotarizeRequiresUserRef: "notarize_requires_user_ref",
146
+ AgeGate: "age_gate",
147
+ } as const;
148
+ /**
149
+ * GA 3.0: present when notarize was requested but could not be applied. notarize_not_enabled = the gate's Console switch is off; the switch is the authority and the request field cannot turn the offer on.
150
+ */
151
+ export type SDKCreateVerificationLinkNotarizeFallbackReason = OpenEnum<
152
+ typeof SDKCreateVerificationLinkNotarizeFallbackReason
153
+ >;
154
+
105
155
  export type SDKCreateVerificationLinkDataData = {
106
156
  requestId: string;
107
157
  deepLink: string;
@@ -115,18 +165,49 @@ export type SDKCreateVerificationLinkDataData = {
115
165
  expiresAt: Date;
116
166
  sdkType?: SDKCreateVerificationLinkSDKTypeResponse | undefined;
117
167
  authMode?: AuthMode | undefined;
168
+ /**
169
+ * Deprecated alias of `gate` — present through the alias window (sunset 2027-01-15).
170
+ *
171
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
172
+ */
118
173
  scope?: string | undefined;
119
174
  organization?: SDKCreateVerificationLinkOrganization | undefined;
120
175
  /**
121
176
  * Number of the user's registered devices the request was pushed to (0 when the user is unknown or has no devices).
122
177
  */
123
178
  pushedToDevices: number;
179
+ /**
180
+ * The gate's type. An Age Gate never notarizes (widget suppresses the chip).
181
+ */
182
+ gateType?: GateType | undefined;
183
+ /**
184
+ * Age Gate only.
185
+ */
186
+ ageThreshold?: AgeThreshold | undefined;
187
+ /**
188
+ * GA 3.0 Secured Accounts: true when an active Secured Account binding exists for (your platform, platform-user-ref). The widget skips the "Link BotShield ID" chip when true.
189
+ */
190
+ trusted?: boolean | undefined;
191
+ /**
192
+ * GA 3.0: this ceremony will write a Secured Account binding.
193
+ */
194
+ notarize?: boolean | undefined;
195
+ /**
196
+ * GA 3.0: present when notarize was requested but could not be applied. notarize_not_enabled = the gate's Console switch is off; the switch is the authority and the request field cannot turn the offer on.
197
+ */
198
+ notarizeFallbackReason?:
199
+ | SDKCreateVerificationLinkNotarizeFallbackReason
200
+ | undefined;
201
+ /**
202
+ * The gate (canonical since 3.0).
203
+ */
204
+ gate?: string | undefined;
124
205
  };
125
206
 
126
207
  export type SDKCreateVerificationLinkData = {
127
208
  data?: SDKCreateVerificationLinkDataData | undefined;
128
209
  /**
129
- * Handler error. Arrives inside data.error with HTTP 200 — check for it before reading the result.
210
+ * Handler error. Arrives inside `data.error` with HTTP 200. Check for it before reading the result.
130
211
  */
131
212
  error?: models.ErrorBody | undefined;
132
213
  };
@@ -221,6 +302,8 @@ export const SDKCreateVerificationLinkRequest$inboundSchema: z.ZodType<
221
302
  link_on_verify: types.boolean().default(true),
222
303
  parent_request_id: types.optional(types.string()),
223
304
  metadata: types.optional(z.record(z.any())),
305
+ notarize: types.optional(types.boolean()),
306
+ gate: types.optional(types.string()),
224
307
  }).transform((v) => {
225
308
  return remap$(v, {
226
309
  "user_email": "userEmail",
@@ -246,6 +329,8 @@ export type SDKCreateVerificationLinkRequest$Outbound = {
246
329
  link_on_verify: boolean;
247
330
  parent_request_id?: string | undefined;
248
331
  metadata?: { [k: string]: any } | undefined;
332
+ notarize?: boolean | undefined;
333
+ gate?: string | undefined;
249
334
  };
250
335
 
251
336
  /** @internal */
@@ -265,6 +350,8 @@ export const SDKCreateVerificationLinkRequest$outboundSchema: z.ZodType<
265
350
  linkOnVerify: z.boolean().default(true),
266
351
  parentRequestId: z.string().optional(),
267
352
  metadata: z.record(z.any()).optional(),
353
+ notarize: z.boolean().optional(),
354
+ gate: z.string().optional(),
268
355
  }).transform((v) => {
269
356
  return remap$(v, {
270
357
  userEmail: "user_email",
@@ -365,6 +452,47 @@ export function sdkCreateVerificationLinkOrganizationFromJSON(
365
452
  );
366
453
  }
367
454
 
455
+ /** @internal */
456
+ export const GateType$inboundSchema: z.ZodType<
457
+ GateType,
458
+ z.ZodTypeDef,
459
+ unknown
460
+ > = openEnums.inboundSchema(GateType);
461
+ /** @internal */
462
+ export const GateType$outboundSchema: z.ZodType<
463
+ string,
464
+ z.ZodTypeDef,
465
+ GateType
466
+ > = openEnums.outboundSchema(GateType);
467
+
468
+ /** @internal */
469
+ export const AgeThreshold$inboundSchema: z.ZodType<
470
+ AgeThreshold,
471
+ z.ZodTypeDef,
472
+ unknown
473
+ > = openEnums.inboundSchemaInt(AgeThreshold);
474
+ /** @internal */
475
+ export const AgeThreshold$outboundSchema: z.ZodType<
476
+ number,
477
+ z.ZodTypeDef,
478
+ AgeThreshold
479
+ > = openEnums.outboundSchemaInt(AgeThreshold);
480
+
481
+ /** @internal */
482
+ export const SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema:
483
+ z.ZodType<
484
+ SDKCreateVerificationLinkNotarizeFallbackReason,
485
+ z.ZodTypeDef,
486
+ unknown
487
+ > = openEnums.inboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
488
+ /** @internal */
489
+ export const SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema:
490
+ z.ZodType<
491
+ string,
492
+ z.ZodTypeDef,
493
+ SDKCreateVerificationLinkNotarizeFallbackReason
494
+ > = openEnums.outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
495
+
368
496
  /** @internal */
369
497
  export const SDKCreateVerificationLinkDataData$inboundSchema: z.ZodType<
370
498
  SDKCreateVerificationLinkDataData,
@@ -385,6 +513,14 @@ export const SDKCreateVerificationLinkDataData$inboundSchema: z.ZodType<
385
513
  z.lazy(() => SDKCreateVerificationLinkOrganization$inboundSchema),
386
514
  ),
387
515
  pushed_to_devices: types.number(),
516
+ gate_type: types.optional(GateType$inboundSchema),
517
+ age_threshold: types.optional(AgeThreshold$inboundSchema),
518
+ trusted: types.optional(types.boolean()),
519
+ notarize: types.optional(types.boolean()),
520
+ notarize_fallback_reason: types.optional(
521
+ SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema,
522
+ ),
523
+ gate: types.optional(types.string()),
388
524
  }).transform((v) => {
389
525
  return remap$(v, {
390
526
  "request_id": "requestId",
@@ -395,6 +531,9 @@ export const SDKCreateVerificationLinkDataData$inboundSchema: z.ZodType<
395
531
  "sdk_type": "sdkType",
396
532
  "auth_mode": "authMode",
397
533
  "pushed_to_devices": "pushedToDevices",
534
+ "gate_type": "gateType",
535
+ "age_threshold": "ageThreshold",
536
+ "notarize_fallback_reason": "notarizeFallbackReason",
398
537
  });
399
538
  });
400
539
  /** @internal */
@@ -409,6 +548,12 @@ export type SDKCreateVerificationLinkDataData$Outbound = {
409
548
  scope?: string | undefined;
410
549
  organization?: SDKCreateVerificationLinkOrganization$Outbound | undefined;
411
550
  pushed_to_devices: number;
551
+ gate_type?: string | undefined;
552
+ age_threshold?: number | undefined;
553
+ trusted?: boolean | undefined;
554
+ notarize?: boolean | undefined;
555
+ notarize_fallback_reason?: string | undefined;
556
+ gate?: string | undefined;
412
557
  };
413
558
 
414
559
  /** @internal */
@@ -429,6 +574,13 @@ export const SDKCreateVerificationLinkDataData$outboundSchema: z.ZodType<
429
574
  SDKCreateVerificationLinkOrganization$outboundSchema
430
575
  ).optional(),
431
576
  pushedToDevices: z.number().int(),
577
+ gateType: GateType$outboundSchema.optional(),
578
+ ageThreshold: AgeThreshold$outboundSchema.optional(),
579
+ trusted: z.boolean().optional(),
580
+ notarize: z.boolean().optional(),
581
+ notarizeFallbackReason:
582
+ SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema.optional(),
583
+ gate: z.string().optional(),
432
584
  }).transform((v) => {
433
585
  return remap$(v, {
434
586
  requestId: "request_id",
@@ -439,6 +591,9 @@ export const SDKCreateVerificationLinkDataData$outboundSchema: z.ZodType<
439
591
  sdkType: "sdk_type",
440
592
  authMode: "auth_mode",
441
593
  pushedToDevices: "pushed_to_devices",
594
+ gateType: "gate_type",
595
+ ageThreshold: "age_threshold",
596
+ notarizeFallbackReason: "notarize_fallback_reason",
442
597
  });
443
598
  });
444
599