@zitadel/api 0.1.0-alpha.17 → 0.1.0-alpha.19

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 (416) hide show
  1. package/README.md +38 -3
  2. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  3. package/dist/generated/endpoints/zitadelNextGen.mjs +384 -301
  4. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  5. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +34 -26
  6. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  7. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +5349 -623
  8. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +2967 -360
  10. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +2996 -413
  12. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  13. package/dist/generated/model/index.d.mts +2 -2
  14. package/dist/generated/model/index.mjs +167 -69
  15. package/dist/generated/model/index.mjs.map +1 -1
  16. package/dist/{index-C4jNq61U.d.mts → index-Dt_0fSH9.d.mts} +8284 -3183
  17. package/dist/index-Dt_0fSH9.d.mts.map +1 -0
  18. package/dist/runtime/api-factory.d.mts +2 -2
  19. package/dist/runtime/api-factory.d.mts.map +1 -1
  20. package/dist/runtime/api-factory.mjs +3 -2
  21. package/dist/runtime/api-factory.mjs.map +1 -1
  22. package/dist/runtime/config.d.mts +12 -0
  23. package/dist/runtime/config.d.mts.map +1 -1
  24. package/dist/runtime/config.mjs +8 -4
  25. package/dist/runtime/config.mjs.map +1 -1
  26. package/dist/zitadelNextGen-BkDpEAS9.d.mts +539 -0
  27. package/dist/zitadelNextGen-BkDpEAS9.d.mts.map +1 -0
  28. package/package.json +1 -1
  29. package/src/generated/endpoints/zitadelNextGen.msw.ts +5710 -731
  30. package/src/generated/endpoints/zitadelNextGen.ts +466 -440
  31. package/src/generated/endpoints/zitadelNextGen.zod.ts +5527 -1042
  32. package/src/generated/model/completeClaim200.ts +19 -0
  33. package/src/generated/model/{revokeSession404.ts → completeClaim400.ts} +3 -3
  34. package/src/generated/model/{getMyUserDefaultDetails.ts → completeClaim400Details.ts} +1 -1
  35. package/src/generated/model/completeClaim401.ts +24 -0
  36. package/src/generated/model/{revokeSession409.ts → completeClaim404.ts} +3 -3
  37. package/src/generated/model/{listUsersDefaultDetails.ts → completeClaim404Details.ts} +1 -1
  38. package/src/generated/model/completeClaim409.ts +26 -0
  39. package/src/generated/model/completeClaim409Details.ts +14 -0
  40. package/src/generated/model/completeClaim410.ts +24 -0
  41. package/src/generated/model/{authorizeGet400.ts → completeClaim429.ts} +3 -3
  42. package/src/generated/model/{revokeSession404Details.ts → completeClaim429Details.ts} +1 -1
  43. package/src/generated/model/completeClaimBody.ts +18 -0
  44. package/src/generated/model/completeClaimDefault.ts +20 -0
  45. package/src/generated/model/{createProjectDefaultDetails.ts → completeClaimDefaultDetails.ts} +1 -1
  46. package/src/generated/model/createAuthAttempt201.ts +2 -2
  47. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +2 -2
  48. package/src/generated/model/createAuthAttemptDefault.ts +30 -0
  49. package/src/generated/model/createBranding201.ts +31 -0
  50. package/src/generated/model/createBranding201Branding.ts +49 -0
  51. package/src/generated/model/createBranding201BrandingLayout.ts +22 -0
  52. package/src/generated/model/createBranding400.ts +20 -0
  53. package/src/generated/model/{createUserDefaultDetails.ts → createBranding400Details.ts} +1 -1
  54. package/src/generated/model/createBrandingBody.ts +49 -0
  55. package/src/generated/model/createBrandingBodyLayout.ts +22 -0
  56. package/src/generated/model/createBrandingDefault.ts +20 -0
  57. package/src/generated/model/{submitFlowStepDefaultDetails.ts → createBrandingDefaultDetails.ts} +1 -1
  58. package/src/generated/model/{setUserPasswordParams.ts → createBrandingParams.ts} +1 -1
  59. package/src/generated/model/createFlow201.ts +8 -3
  60. package/src/generated/model/createFlow201Branding.ts +23 -7
  61. package/src/generated/model/createFlow201BrandingLayout.ts +2 -1
  62. package/src/generated/model/createFlowDefault.ts +141 -12
  63. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +11 -0
  64. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +11 -0
  65. package/src/generated/model/createFlowDefinitionDefault.ts +101 -12
  66. package/src/generated/model/createHandoffDefault.ts +41 -1
  67. package/src/generated/model/createProject201.ts +4 -4
  68. package/src/generated/model/createProjectBody.ts +2 -2
  69. package/src/generated/model/createProjectDefault.ts +121 -12
  70. package/src/generated/model/createSchemaBody.ts +8 -34
  71. package/src/generated/model/createSession201Session.ts +3 -4
  72. package/src/generated/model/createSession201SessionState.ts +1 -3
  73. package/src/generated/model/createSessionDefault.ts +101 -12
  74. package/src/generated/model/createTeam201.ts +15 -1
  75. package/src/generated/model/createTeam201Status.ts +21 -0
  76. package/src/generated/model/{introspect400.ts → createTeam401.ts} +3 -3
  77. package/src/generated/model/{introspect400Details.ts → createTeam401Details.ts} +1 -1
  78. package/src/generated/model/{endSession400.ts → createTeam403.ts} +3 -3
  79. package/src/generated/model/{endSession400Details.ts → createTeam403Details.ts} +1 -1
  80. package/src/generated/model/createTeam404.ts +20 -0
  81. package/src/generated/model/createTeam404Details.ts +12 -0
  82. package/src/generated/model/createTeam409.ts +20 -0
  83. package/src/generated/model/createTeam409Details.ts +12 -0
  84. package/src/generated/model/createTeamBody.ts +8 -1
  85. package/src/generated/model/createUser201.ts +24 -4
  86. package/src/generated/model/createUser201Attributes.ts +14 -0
  87. package/src/generated/model/createUser201Metadata.ts +24 -0
  88. package/src/generated/model/createUser201MetadataStatus.ts +20 -0
  89. package/src/generated/model/createUser500.ts +20 -0
  90. package/src/generated/model/createUser500Details.ts +12 -0
  91. package/src/generated/model/createUserBody.ts +25 -5
  92. package/src/generated/model/createUserBodyAttributes.ts +14 -0
  93. package/src/generated/model/createUserDefault.ts +81 -12
  94. package/src/generated/model/deleteFlowDefinitionDefault.ts +81 -12
  95. package/src/generated/model/deleteTeam400.ts +20 -0
  96. package/src/generated/model/deleteTeam400Details.ts +12 -0
  97. package/src/generated/model/deleteTeam401.ts +20 -0
  98. package/src/generated/model/deleteTeam401Details.ts +12 -0
  99. package/src/generated/model/deleteTeam403.ts +20 -0
  100. package/src/generated/model/deleteTeam403Details.ts +12 -0
  101. package/src/generated/model/{endSessionDefault.ts → deleteTeamDefault.ts} +3 -3
  102. package/src/generated/model/{endSessionDefaultDetails.ts → deleteTeamDefaultDetails.ts} +1 -1
  103. package/src/generated/model/deleteUserByID401.ts +20 -0
  104. package/src/generated/model/{createFlowDefaultDetails.ts → deleteUserByID401Details.ts} +1 -1
  105. package/src/generated/model/deleteUserByID404.ts +20 -0
  106. package/src/generated/model/{getProjectDefaultDetails.ts → deleteUserByID404Details.ts} +1 -1
  107. package/src/generated/model/deleteUserByIDDefault.ts +69 -0
  108. package/src/generated/model/exchangeHandoff200Session.ts +3 -4
  109. package/src/generated/model/exchangeHandoff200SessionState.ts +1 -3
  110. package/src/generated/model/exchangeHandoffDefault.ts +151 -12
  111. package/src/generated/model/getAuthAttempt200.ts +2 -2
  112. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +2 -2
  113. package/src/generated/model/getAuthAttemptDefault.ts +20 -0
  114. package/src/generated/model/getBrandingById200.ts +31 -0
  115. package/src/generated/model/getBrandingById200Branding.ts +49 -0
  116. package/src/generated/model/getBrandingById200BrandingLayout.ts +22 -0
  117. package/src/generated/model/{authorizeDevice400.ts → getBrandingById404.ts} +3 -3
  118. package/src/generated/model/{getFlowStepDefaultDetails.ts → getBrandingById404Details.ts} +1 -1
  119. package/src/generated/model/{authorizeDeviceDefault.ts → getBrandingByIdDefault.ts} +3 -3
  120. package/src/generated/model/{exchangeHandoffDefaultDetails.ts → getBrandingByIdDefaultDetails.ts} +1 -1
  121. package/src/generated/model/getClaimStatus200.ts +31 -0
  122. package/src/generated/model/getClaimStatus401.ts +20 -0
  123. package/src/generated/model/getClaimStatus401Details.ts +12 -0
  124. package/src/generated/model/getClaimStatus403.ts +24 -0
  125. package/src/generated/model/getClaimStatus404.ts +20 -0
  126. package/src/generated/model/getClaimStatus404Details.ts +12 -0
  127. package/src/generated/model/getClaimStatus410.ts +24 -0
  128. package/src/generated/model/getClaimStatus429.ts +20 -0
  129. package/src/generated/model/getClaimStatus429Details.ts +12 -0
  130. package/src/generated/model/getClaimStatusDefault.ts +20 -0
  131. package/src/generated/model/{authorizeGet400Details.ts → getClaimStatusDefaultDetails.ts} +1 -1
  132. package/src/generated/model/{getFlowDefinitionParams.ts → getClaimStatusParams.ts} +4 -4
  133. package/src/generated/model/getEvent200.ts +1372 -0
  134. package/src/generated/model/{getKeys4xx.ts → getEvent401.ts} +3 -3
  135. package/src/generated/model/{getKeys4xxDetails.ts → getEvent401Details.ts} +1 -1
  136. package/src/generated/model/{getToken4xx.ts → getEvent403.ts} +3 -3
  137. package/src/generated/model/{getToken4xxDetails.ts → getEvent403Details.ts} +1 -1
  138. package/src/generated/model/getEvent404.ts +20 -0
  139. package/src/generated/model/getEvent404Details.ts +12 -0
  140. package/src/generated/model/{getTokenDefault.ts → getEventDefault.ts} +3 -3
  141. package/src/generated/model/{getMySession401Details.ts → getEventDefaultDetails.ts} +1 -1
  142. package/src/generated/model/{getTeamParams.ts → getEventParams.ts} +1 -1
  143. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +11 -0
  144. package/src/generated/model/getFlowDefinitionDefault.ts +71 -12
  145. package/src/generated/model/getFlowStep200.ts +8 -3
  146. package/src/generated/model/getFlowStep200Branding.ts +23 -7
  147. package/src/generated/model/getFlowStep200BrandingLayout.ts +2 -1
  148. package/src/generated/model/getFlowStepDefault.ts +111 -12
  149. package/src/generated/model/getMySession200.ts +3 -4
  150. package/src/generated/model/getMySession200State.ts +1 -3
  151. package/src/generated/model/getMySession401.ts +7 -3
  152. package/src/generated/model/getMySession404.ts +7 -3
  153. package/src/generated/model/getMySessionDefault.ts +21 -1
  154. package/src/generated/model/getMyUser200.ts +30 -1
  155. package/src/generated/model/getMyUser200Attributes.ts +14 -0
  156. package/src/generated/model/getMyUser200Metadata.ts +24 -0
  157. package/src/generated/model/getMyUser200MetadataStatus.ts +20 -0
  158. package/src/generated/model/getMyUserDefault.ts +51 -12
  159. package/src/generated/model/getProject200.ts +3 -3
  160. package/src/generated/model/getProjectDefault.ts +71 -12
  161. package/src/generated/model/getSchemaById200.ts +8 -34
  162. package/src/generated/model/getSchemaByIdParams.ts +0 -5
  163. package/src/generated/model/getSession200.ts +3 -4
  164. package/src/generated/model/getSession200State.ts +1 -3
  165. package/src/generated/model/getSession403.ts +20 -0
  166. package/src/generated/model/getSession403Details.ts +12 -0
  167. package/src/generated/model/getSessionDefault.ts +31 -1
  168. package/src/generated/model/getTeam200.ts +12 -3
  169. package/src/generated/model/getTeam200Status.ts +21 -0
  170. package/src/generated/model/getUserByID200.ts +30 -1
  171. package/src/generated/model/getUserByID200Attributes.ts +14 -0
  172. package/src/generated/model/getUserByID200Metadata.ts +24 -0
  173. package/src/generated/model/getUserByID200MetadataStatus.ts +20 -0
  174. package/src/generated/model/getUserByIDDefault.ts +51 -12
  175. package/src/generated/model/getUserByIDParams.ts +0 -5
  176. package/src/generated/model/index.ts +212 -133
  177. package/src/generated/model/initClaim201.ts +24 -0
  178. package/src/generated/model/initClaim401.ts +20 -0
  179. package/src/generated/model/initClaim401Details.ts +12 -0
  180. package/src/generated/model/initClaim404.ts +24 -0
  181. package/src/generated/model/{activateFlowDefinition400.ts → initClaim409.ts} +10 -4
  182. package/src/generated/model/{deactivateFlowDefinitionParams.ts → initClaim409Details.ts} +5 -6
  183. package/src/generated/model/initClaimDefault.ts +20 -0
  184. package/src/generated/model/{revokeSession409Details.ts → initClaimDefaultDetails.ts} +1 -1
  185. package/src/generated/model/issueChallenge201.ts +2 -2
  186. package/src/generated/model/issueChallengeDefault.ts +22 -2
  187. package/src/generated/model/{activateFlowDefinitionParams.ts → listBranding200Item.ts} +5 -6
  188. package/src/generated/model/{authorizeGetDefault.ts → listBrandingDefault.ts} +3 -3
  189. package/src/generated/model/{authorizeGetDefaultDetails.ts → listBrandingDefaultDetails.ts} +1 -1
  190. package/src/generated/model/{revokeSessionParams.ts → listBrandingParams.ts} +1 -1
  191. package/src/generated/model/listEvents200.ts +19 -0
  192. package/src/generated/model/listEvents200DataItem.ts +1372 -0
  193. package/src/generated/model/listEvents400.ts +20 -0
  194. package/src/generated/model/listEvents400Details.ts +12 -0
  195. package/src/generated/model/listEvents401.ts +20 -0
  196. package/src/generated/model/listEvents401Details.ts +12 -0
  197. package/src/generated/model/listEvents403.ts +20 -0
  198. package/src/generated/model/listEvents403Details.ts +12 -0
  199. package/src/generated/model/listEventsCategoryItem.ts +19 -0
  200. package/src/generated/model/{introspectDefault.ts → listEventsDefault.ts} +3 -3
  201. package/src/generated/model/listEventsDefaultDetails.ts +12 -0
  202. package/src/generated/model/{getMySession404Details.ts → listEventsOrder.ts} +6 -4
  203. package/src/generated/model/listEventsParams.ts +67 -0
  204. package/src/generated/model/listFlowDefinitionsDefault.ts +71 -12
  205. package/src/generated/model/listSchemas200Item.ts +1 -1
  206. package/src/generated/model/listUserPasskeys200.ts +19 -0
  207. package/src/generated/model/listUserPasskeys200PasskeysItem.ts +16 -0
  208. package/src/generated/model/listUserPasskeys400.ts +20 -0
  209. package/src/generated/model/{listSessionsDefaultDetails.ts → listUserPasskeys400Details.ts} +1 -1
  210. package/src/generated/model/listUserPasskeys401.ts +20 -0
  211. package/src/generated/model/{patchProjectDefaultDetails.ts → listUserPasskeys401Details.ts} +1 -1
  212. package/src/generated/model/listUserPasskeys403.ts +20 -0
  213. package/src/generated/model/{authorizeDevice400Details.ts → listUserPasskeys403Details.ts} +1 -1
  214. package/src/generated/model/listUserPasskeys404.ts +20 -0
  215. package/src/generated/model/listUserPasskeys404Details.ts +12 -0
  216. package/src/generated/model/listUserPasskeys500.ts +20 -0
  217. package/src/generated/model/listUserPasskeys500Details.ts +12 -0
  218. package/src/generated/model/listUserPasskeysDefault.ts +59 -0
  219. package/src/generated/model/{listSessionsParams.ts → listUserPasskeysParams.ts} +1 -16
  220. package/src/generated/model/listUserTeams200.ts +19 -0
  221. package/src/generated/model/listUserTeams200TeamsItem.ts +33 -0
  222. package/src/generated/model/listUserTeams200TeamsItemMembershipStatus.ts +21 -0
  223. package/src/generated/model/listUserTeams400.ts +20 -0
  224. package/src/generated/model/listUserTeams400Details.ts +12 -0
  225. package/src/generated/model/listUserTeams401.ts +20 -0
  226. package/src/generated/model/listUserTeams401Details.ts +12 -0
  227. package/src/generated/model/listUserTeams403.ts +20 -0
  228. package/src/generated/model/listUserTeams403Details.ts +12 -0
  229. package/src/generated/model/listUserTeams404.ts +20 -0
  230. package/src/generated/model/listUserTeams404Details.ts +12 -0
  231. package/src/generated/model/listUserTeams500.ts +20 -0
  232. package/src/generated/model/listUserTeams500Details.ts +12 -0
  233. package/src/generated/model/listUserTeamsDefault.ts +59 -0
  234. package/src/generated/model/listUserTeamsParams.ts +24 -0
  235. package/src/generated/model/listUsers200.ts +19 -0
  236. package/src/generated/model/listUsers200UsersItem.ts +38 -0
  237. package/src/generated/model/{getFlowDefinitionDefaultDetails.ts → listUsers200UsersItemAttributes.ts} +4 -2
  238. package/src/generated/model/listUsers200UsersItemMetadata.ts +24 -0
  239. package/src/generated/model/listUsers200UsersItemMetadataStatus.ts +20 -0
  240. package/src/generated/model/listUsersDefault.ts +51 -12
  241. package/src/generated/model/listUsersParams.ts +8 -5
  242. package/src/generated/model/patchProject200.ts +3 -3
  243. package/src/generated/model/patchProjectDefault.ts +81 -12
  244. package/src/generated/model/queryProjects200.ts +2 -1
  245. package/src/generated/model/queryProjects200ProjectsItem.ts +3 -3
  246. package/src/generated/model/queryProjectsBody.ts +4 -1
  247. package/src/generated/model/queryProjectsBodyFilterItem.ts +4 -0
  248. package/src/generated/model/queryProjectsBodyFilterItemField.ts +1 -2
  249. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +4 -0
  250. package/src/generated/model/queryProjectsBodySortingField.ts +1 -2
  251. package/src/generated/model/queryProjectsDefault.ts +71 -12
  252. package/src/generated/model/{listSessions200.ts → querySessions200.ts} +3 -3
  253. package/src/generated/model/{listSessions200SessionsItem.ts → querySessions200SessionsItem.ts} +12 -13
  254. package/src/generated/model/{listSessions200SessionsItemFactorsItem.ts → querySessions200SessionsItemFactorsItem.ts} +5 -5
  255. package/src/generated/model/{listSessions200SessionsItemFactorsItemMethod.ts → querySessions200SessionsItemFactorsItemMethod.ts} +3 -3
  256. package/src/generated/model/{listSessions200SessionsItemFactorsItemPayload.ts → querySessions200SessionsItemFactorsItemPayload.ts} +1 -1
  257. package/src/generated/model/{listSessions200SessionsItemMetadata.ts → querySessions200SessionsItemMetadata.ts} +1 -1
  258. package/src/generated/model/{listSessions200SessionsItemState.ts → querySessions200SessionsItemState.ts} +4 -6
  259. package/src/generated/model/{listSessions200SessionsItemUserAgent.ts → querySessions200SessionsItemUserAgent.ts} +1 -1
  260. package/src/generated/model/querySessions400.ts +20 -0
  261. package/src/generated/model/querySessions400Details.ts +12 -0
  262. package/src/generated/model/querySessions401.ts +20 -0
  263. package/src/generated/model/querySessions401Details.ts +12 -0
  264. package/src/generated/model/querySessions403.ts +20 -0
  265. package/src/generated/model/querySessions403Details.ts +12 -0
  266. package/src/generated/model/querySessionsBody.ts +25 -0
  267. package/src/generated/model/querySessionsBodyFilterItem.ts +32 -0
  268. package/src/generated/model/querySessionsBodyFilterItemField.ts +24 -0
  269. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +30 -0
  270. package/src/generated/model/querySessionsBodySorting.ts +18 -0
  271. package/src/generated/model/querySessionsBodySortingDirection.ts +15 -0
  272. package/src/generated/model/querySessionsBodySortingField.ts +21 -0
  273. package/src/generated/model/querySessionsDefault.ts +79 -0
  274. package/src/generated/model/querySessionsParams.ts +15 -0
  275. package/src/generated/model/queryTeams200.ts +20 -0
  276. package/src/generated/model/queryTeams200TeamsItem.ts +28 -0
  277. package/src/generated/model/queryTeams200TeamsItemStatus.ts +22 -0
  278. package/src/generated/model/queryTeams400.ts +20 -0
  279. package/src/generated/model/queryTeams400Details.ts +12 -0
  280. package/src/generated/model/queryTeams401.ts +20 -0
  281. package/src/generated/model/queryTeams401Details.ts +12 -0
  282. package/src/generated/model/queryTeams403.ts +20 -0
  283. package/src/generated/model/queryTeams403Details.ts +12 -0
  284. package/src/generated/model/queryTeams404.ts +20 -0
  285. package/src/generated/model/queryTeams404Details.ts +12 -0
  286. package/src/generated/model/queryTeams429.ts +20 -0
  287. package/src/generated/model/queryTeams429Details.ts +12 -0
  288. package/src/generated/model/queryTeamsBody.ts +28 -0
  289. package/src/generated/model/queryTeamsBodyFilterItem.ts +31 -0
  290. package/src/generated/model/queryTeamsBodyFilterItemField.ts +23 -0
  291. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +30 -0
  292. package/src/generated/model/queryTeamsBodySorting.ts +19 -0
  293. package/src/generated/model/queryTeamsBodySortingDirection.ts +15 -0
  294. package/src/generated/model/queryTeamsBodySortingField.ts +23 -0
  295. package/src/generated/model/queryTeamsDefault.ts +20 -0
  296. package/src/generated/model/queryTeamsDefaultDetails.ts +12 -0
  297. package/src/generated/model/{getSessionParams.ts → queryTeamsParams.ts} +1 -1
  298. package/src/generated/model/revokeMySession401.ts +7 -3
  299. package/src/generated/model/revokeMySessionDefault.ts +51 -12
  300. package/src/generated/model/revokeSession403.ts +20 -0
  301. package/src/generated/model/revokeSession403Details.ts +12 -0
  302. package/src/generated/model/revokeSessionDefault.ts +61 -12
  303. package/src/generated/model/setUserPasswordBody.ts +1 -1
  304. package/src/generated/model/setUserPasswordDefault.ts +71 -12
  305. package/src/generated/model/submitFlowStep200.ts +8 -3
  306. package/src/generated/model/submitFlowStep200Branding.ts +23 -7
  307. package/src/generated/model/submitFlowStep200BrandingLayout.ts +2 -1
  308. package/src/generated/model/submitFlowStep400.ts +8 -3
  309. package/src/generated/model/submitFlowStep400Branding.ts +23 -7
  310. package/src/generated/model/submitFlowStep400BrandingLayout.ts +2 -1
  311. package/src/generated/model/submitFlowStepDefault.ts +271 -12
  312. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +11 -0
  313. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +11 -0
  314. package/src/generated/model/updateFlowDefinitionDefault.ts +121 -12
  315. package/src/generated/model/updateTeam200.ts +28 -0
  316. package/src/generated/model/updateTeam200Status.ts +21 -0
  317. package/src/generated/model/updateTeam400.ts +20 -0
  318. package/src/generated/model/updateTeam400Details.ts +12 -0
  319. package/src/generated/model/updateTeam401.ts +20 -0
  320. package/src/generated/model/updateTeam401Details.ts +12 -0
  321. package/src/generated/model/updateTeam403.ts +20 -0
  322. package/src/generated/model/updateTeam403Details.ts +12 -0
  323. package/src/generated/model/updateTeam404.ts +20 -0
  324. package/src/generated/model/updateTeam404Details.ts +12 -0
  325. package/src/generated/model/updateTeam409.ts +20 -0
  326. package/src/generated/model/updateTeam409Details.ts +12 -0
  327. package/src/generated/model/{deleteFlowDefinitionParams.ts → updateTeamBody.ts} +5 -4
  328. package/src/generated/model/updateTeamDefault.ts +20 -0
  329. package/src/generated/model/updateTeamDefaultDetails.ts +12 -0
  330. package/src/generated/model/verifyChallengeProof200.ts +2 -2
  331. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +2 -2
  332. package/src/generated/model/verifyChallengeProofDefault.ts +44 -4
  333. package/src/runtime/api-factory.ts +5 -2
  334. package/src/runtime/config.spec.ts +31 -1
  335. package/src/runtime/config.ts +22 -3
  336. package/dist/index-C4jNq61U.d.mts.map +0 -1
  337. package/dist/zitadelNextGen-fcgWBw_N.d.mts +0 -450
  338. package/dist/zitadelNextGen-fcgWBw_N.d.mts.map +0 -1
  339. package/src/generated/model/activateFlowDefinition400Details.ts +0 -12
  340. package/src/generated/model/activateFlowDefinitionDefault.ts +0 -20
  341. package/src/generated/model/activateFlowDefinitionDefaultDetails.ts +0 -12
  342. package/src/generated/model/authorizeDevice200.ts +0 -30
  343. package/src/generated/model/authorizeDeviceDefaultDetails.ts +0 -12
  344. package/src/generated/model/authorizeDeviceParams.ts +0 -25
  345. package/src/generated/model/authorizeGetParams.ts +0 -136
  346. package/src/generated/model/createFlowDefinitionDefaultDetails.ts +0 -12
  347. package/src/generated/model/createSessionDefaultDetails.ts +0 -12
  348. package/src/generated/model/deactivateFlowDefinition400.ts +0 -20
  349. package/src/generated/model/deactivateFlowDefinition400Details.ts +0 -12
  350. package/src/generated/model/deactivateFlowDefinition409.ts +0 -20
  351. package/src/generated/model/deactivateFlowDefinition409Details.ts +0 -12
  352. package/src/generated/model/deactivateFlowDefinitionDefault.ts +0 -20
  353. package/src/generated/model/deactivateFlowDefinitionDefaultDetails.ts +0 -12
  354. package/src/generated/model/deleteFlowDefinitionDefaultDetails.ts +0 -12
  355. package/src/generated/model/endSessionParams.ts +0 -57
  356. package/src/generated/model/getKeys200.ts +0 -12
  357. package/src/generated/model/getKeys200KeysItem.ts +0 -30
  358. package/src/generated/model/getKeysDefault.ts +0 -20
  359. package/src/generated/model/getKeysDefaultDetails.ts +0 -12
  360. package/src/generated/model/getOpenIDConfiguration200.ts +0 -87
  361. package/src/generated/model/getOpenIDConfiguration200ClaimTypesSupportedItem.ts +0 -16
  362. package/src/generated/model/getOpenIDConfiguration200DisplayValuesSupportedItem.ts +0 -17
  363. package/src/generated/model/getOpenIDConfiguration200SubjectTypesSupportedItem.ts +0 -15
  364. package/src/generated/model/getOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem.ts +0 -17
  365. package/src/generated/model/getOpenIDConfiguration4xx.ts +0 -20
  366. package/src/generated/model/getOpenIDConfiguration4xxDetails.ts +0 -12
  367. package/src/generated/model/getOpenIDConfigurationDefault.ts +0 -20
  368. package/src/generated/model/getOpenIDConfigurationDefaultDetails.ts +0 -12
  369. package/src/generated/model/getToken200.ts +0 -18
  370. package/src/generated/model/getTokenBody.ts +0 -40
  371. package/src/generated/model/getTokenBodyGrantType.ts +0 -20
  372. package/src/generated/model/getTokenDefaultDetails.ts +0 -12
  373. package/src/generated/model/getUserByIDDefaultDetails.ts +0 -12
  374. package/src/generated/model/getUserInfo200.ts +0 -24
  375. package/src/generated/model/getUserInfo4xx.ts +0 -20
  376. package/src/generated/model/getUserInfo4xxDetails.ts +0 -12
  377. package/src/generated/model/getUserInfoDefault.ts +0 -20
  378. package/src/generated/model/getUserInfoDefaultDetails.ts +0 -12
  379. package/src/generated/model/introspect200.ts +0 -34
  380. package/src/generated/model/introspectBody.ts +0 -14
  381. package/src/generated/model/introspectDefaultDetails.ts +0 -12
  382. package/src/generated/model/listFlowDefinitionsDefaultDetails.ts +0 -12
  383. package/src/generated/model/listSessions400.ts +0 -20
  384. package/src/generated/model/listSessions400Details.ts +0 -12
  385. package/src/generated/model/listSessions401.ts +0 -20
  386. package/src/generated/model/listSessions401Details.ts +0 -12
  387. package/src/generated/model/listSessions403.ts +0 -20
  388. package/src/generated/model/listSessions403Details.ts +0 -12
  389. package/src/generated/model/listSessionsDefault.ts +0 -20
  390. package/src/generated/model/listSessionsState.ts +0 -16
  391. package/src/generated/model/listUsers200Item.ts +0 -9
  392. package/src/generated/model/queryProjectsDefaultDetails.ts +0 -12
  393. package/src/generated/model/revokeMySession401Details.ts +0 -12
  394. package/src/generated/model/revokeMySession404.ts +0 -20
  395. package/src/generated/model/revokeMySession404Details.ts +0 -12
  396. package/src/generated/model/revokeMySession409.ts +0 -20
  397. package/src/generated/model/revokeMySession409Details.ts +0 -12
  398. package/src/generated/model/revokeMySessionDefaultDetails.ts +0 -12
  399. package/src/generated/model/revokeSessionDefaultDetails.ts +0 -12
  400. package/src/generated/model/revokeToken4xx.ts +0 -20
  401. package/src/generated/model/revokeToken4xxDetails.ts +0 -12
  402. package/src/generated/model/revokeTokenBody.ts +0 -14
  403. package/src/generated/model/revokeTokenDefault.ts +0 -20
  404. package/src/generated/model/revokeTokenDefaultDetails.ts +0 -12
  405. package/src/generated/model/setUserPasswordDefaultDetails.ts +0 -12
  406. package/src/generated/model/submitFlowEvent400.ts +0 -20
  407. package/src/generated/model/submitFlowEvent400Details.ts +0 -12
  408. package/src/generated/model/submitFlowEvent404.ts +0 -20
  409. package/src/generated/model/submitFlowEvent404Details.ts +0 -12
  410. package/src/generated/model/submitFlowEventBody.ts +0 -17
  411. package/src/generated/model/submitFlowEventBodyPayload.ts +0 -12
  412. package/src/generated/model/submitFlowEventBodyType.ts +0 -15
  413. package/src/generated/model/submitFlowEventDefault.ts +0 -20
  414. package/src/generated/model/submitFlowEventDefaultDetails.ts +0 -12
  415. package/src/generated/model/updateFlowDefinitionDefaultDetails.ts +0 -12
  416. package/src/generated/model/updateFlowDefinitionParams.ts +0 -15
@@ -1,180 +1,6 @@
1
1
  import * as zod from "zod";
2
2
 
3
3
  //#region src/generated/endpoints/zitadelNextGen.zod.d.ts
4
- /**
5
- * Retrieve the OpenID Connect configuration
6
- * @summary Get OpenID Connect configuration
7
- */
8
- declare const getOpenIDConfigurationResponseClaimsParameterSupportedDefault = false;
9
- declare const getOpenIDConfigurationResponseRequestParameterSupportedDefault = false;
10
- declare const getOpenIDConfigurationResponseRequestUriParameterSupportedDefault = true;
11
- declare const getOpenIDConfigurationResponseRequireRequestUriRegistrationDefault = false;
12
- declare const GetOpenIDConfigurationResponse: zod.ZodObject<{
13
- issuer: zod.ZodURL;
14
- authorization_endpoint: zod.ZodURL;
15
- token_endpoint: zod.ZodOptional<zod.ZodURL>;
16
- userinfo_endpoint: zod.ZodOptional<zod.ZodURL>;
17
- jwks_uri: zod.ZodURL;
18
- registration_endpoint: zod.ZodOptional<zod.ZodURL>;
19
- scopes_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
20
- response_types_supported: zod.ZodArray<zod.ZodString>;
21
- response_modes_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
22
- grant_types_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
23
- acr_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
24
- subject_types_supported: zod.ZodArray<zod.ZodEnum<{
25
- public: "public";
26
- pairwise: "pairwise";
27
- }>>;
28
- id_token_signing_alg_values_supported: zod.ZodArray<zod.ZodString>;
29
- id_token_encryption_alg_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
30
- id_token_encryption_enc_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
31
- userinfo_signing_alg_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
32
- userinfo_encryption_alg_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
33
- userinfo_encryption_enc_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
34
- request_object_signing_alg_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
35
- request_object_encryption_alg_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
36
- request_object_encryption_enc_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
37
- token_endpoint_auth_methods_supported: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
38
- client_secret_post: "client_secret_post";
39
- client_secret_basic: "client_secret_basic";
40
- client_secret_jwt: "client_secret_jwt";
41
- private_key_jwt: "private_key_jwt";
42
- }>>>;
43
- token_endpoint_auth_signing_alg_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
44
- display_values_supported: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
45
- page: "page";
46
- popup: "popup";
47
- touch: "touch";
48
- wap: "wap";
49
- }>>>;
50
- claim_types_supported: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
51
- normal: "normal";
52
- aggregated: "aggregated";
53
- distributed: "distributed";
54
- }>>>;
55
- claims_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
56
- service_documentation: zod.ZodOptional<zod.ZodURL>;
57
- claims_locales_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
58
- ui_locales_supported: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
59
- claims_parameter_supported: zod.ZodDefault<zod.ZodBoolean>;
60
- request_parameter_supported: zod.ZodDefault<zod.ZodBoolean>;
61
- request_uri_parameter_supported: zod.ZodDefault<zod.ZodBoolean>;
62
- require_request_uri_registration: zod.ZodDefault<zod.ZodBoolean>;
63
- op_policy_uri: zod.ZodOptional<zod.ZodURL>;
64
- op_tos_uri: zod.ZodOptional<zod.ZodURL>;
65
- }, zod.z.core.$strip>;
66
- /**
67
- * @summary Authorize a user
68
- */
69
- declare const AuthorizeGetQueryParams: zod.ZodObject<{
70
- acr_values: zod.ZodOptional<zod.ZodString>;
71
- client_id: zod.ZodString;
72
- code_challenge: zod.ZodOptional<zod.ZodString>;
73
- code_challenge_method: zod.ZodOptional<zod.ZodString>;
74
- display: zod.ZodOptional<zod.ZodString>;
75
- id_token_hint: zod.ZodOptional<zod.ZodString>;
76
- login_hint: zod.ZodOptional<zod.ZodString>;
77
- max_age: zod.ZodOptional<zod.ZodNumber>;
78
- nonce: zod.ZodOptional<zod.ZodString>;
79
- prompt: zod.ZodOptional<zod.ZodString>;
80
- redirect_uri: zod.ZodOptional<zod.ZodString>;
81
- response_mode: zod.ZodOptional<zod.ZodString>;
82
- response_type: zod.ZodString;
83
- scope: zod.ZodOptional<zod.ZodString>;
84
- state: zod.ZodOptional<zod.ZodString>;
85
- ui_locales: zod.ZodOptional<zod.ZodString>;
86
- }, zod.z.core.$strict>;
87
- /**
88
- * @summary Authorize a device
89
- */
90
- declare const AuthorizeDeviceQueryParams: zod.ZodObject<{
91
- client_id: zod.ZodString;
92
- scope: zod.ZodOptional<zod.ZodString>;
93
- }, zod.z.core.$strict>;
94
- declare const AuthorizeDeviceResponse: zod.ZodObject<{
95
- device_code: zod.ZodOptional<zod.ZodString>;
96
- expires_in: zod.ZodOptional<zod.ZodNumber>;
97
- interval: zod.ZodOptional<zod.ZodNumber>;
98
- user_code: zod.ZodOptional<zod.ZodString>;
99
- verification_uri: zod.ZodOptional<zod.ZodString>;
100
- verification_uri_complete: zod.ZodOptional<zod.ZodString>;
101
- }, zod.z.core.$strip>;
102
- /**
103
- * @summary End a session
104
- */
105
- declare const EndSessionQueryParams: zod.ZodObject<{
106
- client_id: zod.ZodOptional<zod.ZodString>;
107
- id_token_hint: zod.ZodOptional<zod.ZodString>;
108
- logout_hint: zod.ZodOptional<zod.ZodString>;
109
- post_logout_redirect_uri: zod.ZodOptional<zod.ZodString>;
110
- state: zod.ZodOptional<zod.ZodString>;
111
- ui_locales: zod.ZodOptional<zod.ZodString>;
112
- }, zod.z.core.$strict>;
113
- /**
114
- * @summary Introspect a token
115
- */
116
- declare const IntrospectResponse: zod.ZodObject<{
117
- active: zod.ZodOptional<zod.ZodBoolean>;
118
- aud: zod.ZodOptional<zod.ZodString>;
119
- client_id: zod.ZodOptional<zod.ZodString>;
120
- exp: zod.ZodOptional<zod.ZodNumber>;
121
- iat: zod.ZodOptional<zod.ZodNumber>;
122
- iss: zod.ZodOptional<zod.ZodString>;
123
- jti: zod.ZodOptional<zod.ZodString>;
124
- nbf: zod.ZodOptional<zod.ZodNumber>;
125
- scope: zod.ZodOptional<zod.ZodString>;
126
- sub: zod.ZodOptional<zod.ZodString>;
127
- token_type: zod.ZodOptional<zod.ZodString>;
128
- username: zod.ZodOptional<zod.ZodString>;
129
- }, zod.z.core.$strip>;
130
- /**
131
- * @summary Get public keys
132
- */
133
- declare const GetKeysResponse: zod.ZodObject<{
134
- keys: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
135
- use: zod.ZodOptional<zod.ZodString>;
136
- kty: zod.ZodOptional<zod.ZodString>;
137
- kid: zod.ZodOptional<zod.ZodString>;
138
- crv: zod.ZodOptional<zod.ZodString>;
139
- alg: zod.ZodOptional<zod.ZodString>;
140
- k: zod.ZodOptional<zod.ZodString>;
141
- x: zod.ZodOptional<zod.ZodString>;
142
- y: zod.ZodOptional<zod.ZodString>;
143
- n: zod.ZodOptional<zod.ZodString>;
144
- e: zod.ZodOptional<zod.ZodString>;
145
- d: zod.ZodOptional<zod.ZodString>;
146
- p: zod.ZodOptional<zod.ZodString>;
147
- q: zod.ZodOptional<zod.ZodString>;
148
- dp: zod.ZodOptional<zod.ZodString>;
149
- dq: zod.ZodOptional<zod.ZodString>;
150
- qi: zod.ZodOptional<zod.ZodString>;
151
- x5c: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
152
- x5u: zod.ZodOptional<zod.ZodString>;
153
- x5t: zod.ZodOptional<zod.ZodString>;
154
- x5tS256: zod.ZodOptional<zod.ZodString>;
155
- }, zod.z.core.$strip>>>;
156
- }, zod.z.core.$strip>;
157
- /**
158
- * @summary Get access token
159
- */
160
- declare const GetTokenResponse: zod.ZodObject<{
161
- access_token: zod.ZodOptional<zod.ZodString>;
162
- token_type: zod.ZodOptional<zod.ZodString>;
163
- expires_in: zod.ZodOptional<zod.ZodNumber>;
164
- refresh_token: zod.ZodOptional<zod.ZodString>;
165
- }, zod.z.core.$strip>;
166
- /**
167
- * @summary Get user info
168
- */
169
- declare const GetUserInfoResponse: zod.ZodObject<{
170
- sub: zod.ZodOptional<zod.ZodString>;
171
- name: zod.ZodOptional<zod.ZodString>;
172
- email: zod.ZodOptional<zod.ZodEmail>;
173
- preferred_username: zod.ZodOptional<zod.ZodString>;
174
- picture: zod.ZodOptional<zod.ZodURL>;
175
- given_name: zod.ZodOptional<zod.ZodString>;
176
- family_name: zod.ZodOptional<zod.ZodString>;
177
- }, zod.z.core.$strip>;
178
4
  /**
179
5
  * @summary Create user
180
6
  */
@@ -184,20 +10,39 @@ declare const CreateUserQueryParams: zod.ZodObject<{
184
10
  project_id: zod.ZodString;
185
11
  team_id: zod.ZodOptional<zod.ZodString>;
186
12
  }, zod.z.core.$strict>;
187
- declare const CreateUserBody: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
13
+ declare const CreateUserBody: zod.ZodObject<{
14
+ schema: zod.ZodString;
15
+ attributes: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
16
+ }, zod.z.core.$strip>;
188
17
  /**
189
18
  * @summary List users
190
19
  */
191
- declare const listUsersQueryOffsetDefault = 0;
192
- declare const listUsersQueryOffsetMin = 0;
193
20
  declare const listUsersQueryLimitDefault = 20;
194
21
  declare const listUsersQueryLimitMax = 100;
195
22
  declare const ListUsersQueryParams: zod.ZodObject<{
196
- offset: zod.ZodDefault<zod.ZodNumber>;
197
23
  limit: zod.ZodDefault<zod.ZodNumber>;
24
+ page_token: zod.ZodOptional<zod.ZodString>;
198
25
  }, zod.z.core.$strict>;
199
- declare const ListUsersResponseItem: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
200
- declare const ListUsersResponse: zod.ZodArray<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
26
+ declare const listUsersResponseUsersItemIdRegExp: RegExp;
27
+ declare const ListUsersResponse: zod.ZodObject<{
28
+ users: zod.ZodArray<zod.ZodObject<{
29
+ id: zod.ZodString;
30
+ schema: zod.ZodString;
31
+ attributes: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
32
+ metadata: zod.ZodObject<{
33
+ created_at: zod.z.ZodISODateTime;
34
+ updated_at: zod.z.ZodISODateTime;
35
+ status: zod.ZodEnum<{
36
+ active: "active";
37
+ suspended: "suspended";
38
+ deactivated: "deactivated";
39
+ pending_purge: "pending_purge";
40
+ }>;
41
+ lifecycle_owner_team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
42
+ }, zod.z.core.$strip>;
43
+ }, zod.z.core.$strip>>;
44
+ next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
45
+ }, zod.z.core.$strip>;
201
46
  /**
202
47
  * @summary Get user by ID
203
48
  */
@@ -205,13 +50,55 @@ declare const getUserByIDPathUserIdRegExp: RegExp;
205
50
  declare const GetUserByIDParams: zod.ZodObject<{
206
51
  user_id: zod.ZodString;
207
52
  }, zod.z.core.$strip>;
208
- declare const getUserByIDQueryProjectIdRegExp: RegExp;
209
53
  declare const getUserByIDQueryTeamIdRegExp: RegExp;
210
54
  declare const GetUserByIDQueryParams: zod.ZodObject<{
211
- project_id: zod.ZodString;
212
55
  team_id: zod.ZodOptional<zod.ZodString>;
213
56
  }, zod.z.core.$strict>;
214
- declare const GetUserByIDResponse: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
57
+ declare const getUserByIDResponseIdRegExp: RegExp;
58
+ declare const GetUserByIDResponse: zod.ZodObject<{
59
+ id: zod.ZodString;
60
+ schema: zod.ZodString;
61
+ attributes: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
62
+ metadata: zod.ZodObject<{
63
+ created_at: zod.z.ZodISODateTime;
64
+ updated_at: zod.z.ZodISODateTime;
65
+ status: zod.ZodEnum<{
66
+ active: "active";
67
+ suspended: "suspended";
68
+ deactivated: "deactivated";
69
+ pending_purge: "pending_purge";
70
+ }>;
71
+ lifecycle_owner_team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
72
+ }, zod.z.core.$strip>;
73
+ }, zod.z.core.$strip>;
74
+ /**
75
+ * @summary Delete user by ID
76
+ */
77
+ declare const deleteUserByIDPathUserIdRegExp: RegExp;
78
+ declare const DeleteUserByIDParams: zod.ZodObject<{
79
+ user_id: zod.ZodString;
80
+ }, zod.z.core.$strip>;
81
+ /**
82
+ * @summary List user passkeys
83
+ */
84
+ declare const listUserPasskeysPathUserIdRegExp: RegExp;
85
+ declare const ListUserPasskeysParams: zod.ZodObject<{
86
+ user_id: zod.ZodString;
87
+ }, zod.z.core.$strip>;
88
+ declare const listUserPasskeysQueryLimitDefault = 20;
89
+ declare const listUserPasskeysQueryLimitMax = 100;
90
+ declare const ListUserPasskeysQueryParams: zod.ZodObject<{
91
+ limit: zod.ZodDefault<zod.ZodNumber>;
92
+ page_token: zod.ZodOptional<zod.ZodString>;
93
+ }, zod.z.core.$strict>;
94
+ declare const ListUserPasskeysResponse: zod.ZodObject<{
95
+ passkeys: zod.ZodArray<zod.ZodObject<{
96
+ id: zod.ZodString;
97
+ name: zod.ZodString;
98
+ created_at: zod.z.ZodISODateTime;
99
+ }, zod.z.core.$strip>>;
100
+ next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
101
+ }, zod.z.core.$strip>;
215
102
  /**
216
103
  * @summary Set user password
217
104
  */
@@ -219,25 +106,72 @@ declare const setUserPasswordPathUserIdRegExp: RegExp;
219
106
  declare const SetUserPasswordParams: zod.ZodObject<{
220
107
  user_id: zod.ZodString;
221
108
  }, zod.z.core.$strip>;
222
- declare const setUserPasswordQueryProjectIdRegExp: RegExp;
223
- declare const SetUserPasswordQueryParams: zod.ZodObject<{
224
- project_id: zod.ZodString;
225
- }, zod.z.core.$strict>;
226
109
  declare const SetUserPasswordBody: zod.ZodObject<{
227
110
  password: zod.ZodString;
228
- isChangeRequired: zod.ZodOptional<zod.ZodBoolean>;
111
+ is_change_required: zod.ZodOptional<zod.ZodBoolean>;
112
+ }, zod.z.core.$strip>;
113
+ /**
114
+ * The user's team roster, ordered by team name. Each entry carries the
115
+ team's name, so a client renders a page without resolving ids one by one.
116
+
117
+ This is the N:N roster and it is not lifecycle ownership: the single team
118
+ that owns the user's lifecycle is reported as `metadata.lifecycle_owner_team_id`
119
+ on the user read endpoints. Memberships the user was removed from are not
120
+ returned.
121
+
122
+ * @summary List the teams a user belongs to
123
+ */
124
+ declare const listUserTeamsPathUserIdRegExp: RegExp;
125
+ declare const ListUserTeamsParams: zod.ZodObject<{
126
+ user_id: zod.ZodString;
127
+ }, zod.z.core.$strip>;
128
+ declare const listUserTeamsQueryLimitDefault = 20;
129
+ declare const listUserTeamsQueryLimitMax = 100;
130
+ declare const ListUserTeamsQueryParams: zod.ZodObject<{
131
+ limit: zod.ZodDefault<zod.ZodNumber>;
132
+ page_token: zod.ZodOptional<zod.ZodString>;
133
+ }, zod.z.core.$strict>;
134
+ declare const ListUserTeamsResponse: zod.ZodObject<{
135
+ teams: zod.ZodArray<zod.ZodObject<{
136
+ id: zod.ZodString;
137
+ name: zod.ZodString;
138
+ membership_status: zod.ZodEnum<{
139
+ pending: "pending";
140
+ active: "active";
141
+ inactive: "inactive";
142
+ }>;
143
+ created_at: zod.z.ZodISODateTime;
144
+ updated_at: zod.z.ZodISODateTime;
145
+ }, zod.z.core.$strip>>;
146
+ next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
229
147
  }, zod.z.core.$strip>;
230
148
  /**
231
149
  * @summary Get my user information
232
150
  */
233
- declare const GetMyUserResponse: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
151
+ declare const getMyUserResponseIdRegExp: RegExp;
152
+ declare const GetMyUserResponse: zod.ZodObject<{
153
+ id: zod.ZodString;
154
+ schema: zod.ZodString;
155
+ attributes: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
156
+ metadata: zod.ZodObject<{
157
+ created_at: zod.z.ZodISODateTime;
158
+ updated_at: zod.z.ZodISODateTime;
159
+ status: zod.ZodEnum<{
160
+ active: "active";
161
+ suspended: "suspended";
162
+ deactivated: "deactivated";
163
+ pending_purge: "pending_purge";
164
+ }>;
165
+ lifecycle_owner_team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
166
+ }, zod.z.core.$strip>;
167
+ }, zod.z.core.$strip>;
234
168
  /**
235
169
  * Resolves a flow definition based on purpose + audience context and returns
236
170
  the first capability step. Creates a new session implicitly unless
237
171
  `session_id` is provided (for step-up / reauth on an existing session).
238
172
 
239
173
  The response contains an `id` field — the flow handle. Use it as the path
240
- parameter for all subsequent `/flow/{id}/submit` and `/flow/{id}/event` calls.
174
+ parameter for all subsequent `/flow/{id}/submit` calls.
241
175
 
242
176
  The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing
243
177
  the flow's orchestration state (current step, collected data, history).
@@ -292,6 +226,7 @@ declare const getFlowStepResponseStepActionsDefault: never[];
292
226
  declare const getFlowStepResponseStepGatesDefault: {};
293
227
  declare const getFlowStepResponseStepSsoProvidersDefault: never[];
294
228
  declare const getFlowStepResponseBrandingLayoutDefault = "centered";
229
+ declare const getFlowStepResponseBrandingLiquidTemplateMax = 131072;
295
230
  declare const GetFlowStepResponse: zod.ZodObject<{
296
231
  id: zod.ZodString;
297
232
  session_id: zod.ZodString;
@@ -442,6 +377,7 @@ declare const submitFlowStepResponseStepActionsDefault: never[];
442
377
  declare const submitFlowStepResponseStepGatesDefault: {};
443
378
  declare const submitFlowStepResponseStepSsoProvidersDefault: never[];
444
379
  declare const submitFlowStepResponseBrandingLayoutDefault = "centered";
380
+ declare const submitFlowStepResponseBrandingLiquidTemplateMax = 131072;
445
381
  declare const SubmitFlowStepResponse: zod.ZodObject<{
446
382
  id: zod.ZodString;
447
383
  session_id: zod.ZodString;
@@ -534,23 +470,6 @@ declare const SubmitFlowStepResponse: zod.ZodObject<{
534
470
  handoff_token: zod.ZodOptional<zod.ZodString>;
535
471
  handoff_token_expires_at: zod.ZodOptional<zod.z.ZodISODateTime>;
536
472
  }, zod.z.core.$strip>;
537
- /**
538
- * Submits telemetry or fingerprint data from the frontend.
539
- Does not advance the state machine. Used for risk evaluation.
540
-
541
- * @summary Submit client-side event
542
- */
543
- declare const SubmitFlowEventParams: zod.ZodObject<{
544
- id: zod.ZodString;
545
- }, zod.z.core.$strip>;
546
- declare const SubmitFlowEventBody: zod.ZodObject<{
547
- session_token: zod.ZodOptional<zod.ZodString>;
548
- type: zod.ZodEnum<{
549
- fingerprint: "fingerprint";
550
- telemetry: "telemetry";
551
- }>;
552
- payload: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
553
- }, zod.z.core.$strip>;
554
473
  /**
555
474
  * Starts a new authentication attempt. This is the entry point for the auth_attempts state machine.
556
475
 
@@ -594,8 +513,8 @@ declare const GetAuthAttemptResponse: zod.ZodObject<{
594
513
  attempt_id: zod.ZodString;
595
514
  project_id: zod.ZodString;
596
515
  state: zod.ZodEnum<{
597
- in_progress: "in_progress";
598
516
  completed: "completed";
517
+ in_progress: "in_progress";
599
518
  failed: "failed";
600
519
  expired: "expired";
601
520
  }>;
@@ -634,9 +553,9 @@ declare const GetAuthAttemptResponse: zod.ZodObject<{
634
553
  identifier: "identifier";
635
554
  }>;
636
555
  state: zod.ZodEnum<{
556
+ pending: "pending";
637
557
  failed: "failed";
638
558
  expired: "expired";
639
- pending: "pending";
640
559
  }>;
641
560
  created_at: zod.z.ZodISODateTime;
642
561
  expires_at: zod.ZodOptional<zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>>;
@@ -733,8 +652,8 @@ declare const VerifyChallengeProofResponse: zod.ZodObject<{
733
652
  attempt_id: zod.ZodString;
734
653
  project_id: zod.ZodString;
735
654
  state: zod.ZodEnum<{
736
- in_progress: "in_progress";
737
655
  completed: "completed";
656
+ in_progress: "in_progress";
738
657
  failed: "failed";
739
658
  expired: "expired";
740
659
  }>;
@@ -773,9 +692,9 @@ declare const VerifyChallengeProofResponse: zod.ZodObject<{
773
692
  identifier: "identifier";
774
693
  }>;
775
694
  state: zod.ZodEnum<{
695
+ pending: "pending";
776
696
  failed: "failed";
777
697
  expired: "expired";
778
- pending: "pending";
779
698
  }>;
780
699
  created_at: zod.z.ZodISODateTime;
781
700
  expires_at: zod.ZodOptional<zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>>;
@@ -831,8 +750,8 @@ declare const CreateHandoffResponse: zod.ZodObject<{
831
750
  declare const createProjectBodySeedDefaultsDefault = true;
832
751
  declare const CreateProjectBody: zod.ZodObject<{
833
752
  name: zod.ZodString;
834
- previewOrigins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
835
- seedDefaults: zod.ZodDefault<zod.ZodBoolean>;
753
+ preview_origins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
754
+ seed_defaults: zod.ZodDefault<zod.ZodBoolean>;
836
755
  }, zod.z.core.$strip>;
837
756
  /**
838
757
  * @summary Query projects
@@ -844,8 +763,7 @@ declare const QueryProjectsBody: zod.ZodObject<{
844
763
  page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
845
764
  sorting: zod.ZodOptional<zod.ZodObject<{
846
765
  field: zod.ZodEnum<{
847
- name: "name";
848
- createdAt: "createdAt";
766
+ created_at: "created_at";
849
767
  }>;
850
768
  direction: zod.ZodEnum<{
851
769
  asc: "asc";
@@ -854,8 +772,7 @@ declare const QueryProjectsBody: zod.ZodObject<{
854
772
  }, zod.z.core.$strip>>;
855
773
  filter: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
856
774
  field: zod.ZodEnum<{
857
- name: "name";
858
- createdAt: "createdAt";
775
+ created_at: "created_at";
859
776
  }>;
860
777
  value: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>>;
861
778
  operation: zod.ZodEnum<{
@@ -874,9 +791,9 @@ declare const QueryProjectsResponse: zod.ZodObject<{
874
791
  projects: zod.ZodArray<zod.ZodObject<{
875
792
  id: zod.ZodString;
876
793
  name: zod.ZodString;
877
- previewOrigins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
878
- createdAt: zod.z.ZodISODateTime;
879
- updatedAt: zod.z.ZodISODateTime;
794
+ preview_origins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
795
+ created_at: zod.z.ZodISODateTime;
796
+ updated_at: zod.z.ZodISODateTime;
880
797
  }, zod.z.core.$strip>>;
881
798
  next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
882
799
  }, zod.z.core.$strip>;
@@ -892,9 +809,9 @@ declare const GetProjectParams: zod.ZodObject<{
892
809
  declare const GetProjectResponse: zod.ZodObject<{
893
810
  id: zod.ZodString;
894
811
  name: zod.ZodString;
895
- previewOrigins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
896
- createdAt: zod.z.ZodISODateTime;
897
- updatedAt: zod.z.ZodISODateTime;
812
+ preview_origins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
813
+ created_at: zod.z.ZodISODateTime;
814
+ updated_at: zod.z.ZodISODateTime;
898
815
  }, zod.z.core.$strip>;
899
816
  /**
900
817
  * Updates the state of a project.
@@ -911,9 +828,74 @@ declare const PatchProjectBody: zod.ZodObject<{
911
828
  declare const PatchProjectResponse: zod.ZodObject<{
912
829
  id: zod.ZodString;
913
830
  name: zod.ZodString;
914
- previewOrigins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
915
- createdAt: zod.z.ZodISODateTime;
916
- updatedAt: zod.z.ZodISODateTime;
831
+ preview_origins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
832
+ created_at: zod.z.ZodISODateTime;
833
+ updated_at: zod.z.ZodISODateTime;
834
+ }, zod.z.core.$strip>;
835
+ /**
836
+ * Starts a claim challenge for an unclaimed project. Authenticated by the
837
+ project secret, this mints a single-use, short-lived challenge and returns
838
+ the `claim_url` the developer opens in a browser to complete the claim,
839
+ together with the `challenge_id` the CLI polls with. The exact expiry is
840
+ carried by `expires_at` on the response.
841
+
842
+ * @summary Initialize a project claim
843
+ */
844
+ declare const initClaimPathProjectIdRegExp: RegExp;
845
+ declare const InitClaimParams: zod.ZodObject<{
846
+ project_id: zod.ZodString;
847
+ }, zod.z.core.$strip>;
848
+ /**
849
+ * Polled by the CLI while a browser completes the claim. Authorized by the
850
+ project secret that initiated the challenge. Returns `pending`, or
851
+ `completed` with the owning team, the claim timestamp, and the dashboard
852
+ URL once the browser leg has finished.
853
+
854
+ * @summary Get claim status
855
+ */
856
+ declare const getClaimStatusPathProjectIdRegExp: RegExp;
857
+ declare const GetClaimStatusParams: zod.ZodObject<{
858
+ project_id: zod.ZodString;
859
+ }, zod.z.core.$strip>;
860
+ declare const getClaimStatusQueryChallengeIdRegExp: RegExp;
861
+ declare const GetClaimStatusQueryParams: zod.ZodObject<{
862
+ challenge_id: zod.ZodString;
863
+ }, zod.z.core.$strict>;
864
+ declare const getClaimStatusResponseTwoTeamIdRegExp: RegExp;
865
+ declare const GetClaimStatusResponse: zod.ZodUnion<readonly [zod.ZodObject<{
866
+ status: zod.ZodEnum<{
867
+ pending: "pending";
868
+ }>;
869
+ }, zod.z.core.$strip>, zod.ZodObject<{
870
+ status: zod.ZodEnum<{
871
+ completed: "completed";
872
+ }>;
873
+ team_id: zod.ZodString;
874
+ claimed_at: zod.z.ZodISODateTime;
875
+ dashboard_url: zod.ZodURL;
876
+ }, zod.z.core.$strip>]>;
877
+ /**
878
+ * Called by the browser after the developer authenticates on the claim page.
879
+ Authenticated by the `__nextgen_session` cookie, it attaches the project to
880
+ the developer's personal team using the `challenge_id` from the claim URL as
881
+ its single-use, browser-safe authorization.
882
+
883
+ * @summary Complete a project claim
884
+ */
885
+ declare const completeClaimPathProjectIdRegExp: RegExp;
886
+ declare const CompleteClaimParams: zod.ZodObject<{
887
+ project_id: zod.ZodString;
888
+ }, zod.z.core.$strip>;
889
+ declare const completeClaimBodyChallengeIdRegExp: RegExp;
890
+ declare const CompleteClaimBody: zod.ZodObject<{
891
+ challenge_id: zod.ZodString;
892
+ }, zod.z.core.$strip>;
893
+ declare const completeClaimResponseProjectIdRegExp: RegExp;
894
+ declare const completeClaimResponseTeamIdRegExp: RegExp;
895
+ declare const CompleteClaimResponse: zod.ZodObject<{
896
+ project_id: zod.ZodString;
897
+ team_id: zod.ZodString;
898
+ claimed_at: zod.z.ZodISODateTime;
917
899
  }, zod.z.core.$strip>;
918
900
  /**
919
901
  * Creates an anonymous session shell with no user and no factors (`state: building`).
@@ -924,8 +906,16 @@ Use this explicitly when you want to:
924
906
  can be correlated with the eventual authenticated session from the start.
925
907
  - Track anonymous state (bot detection, device fingerprint) that survives until authentication.
926
908
 
927
- The returned `session_token` authorises GET and DELETE on this session.
928
- It is superseded when a handoff exchange completes — clients must replace it at that point.
909
+ Creating a session is an app-plane operation on the project credential
910
+ (`session.write`). The returned `session_token` is a session credential for the
911
+ end-user client, not a management scope: it is delivered as the
912
+ `__nextgen_session` cookie and authorises the self-service operations
913
+ `GET /sessions/me` and `DELETE /sessions/me` (`nextgenSession` scheme). The
914
+ by-id operations `GET /sessions/{session_id}` and `DELETE /sessions/{session_id}`
915
+ are operator endpoints and require `session.read` / `session.delete` instead.
916
+
917
+ The `session_token` is superseded when a handoff exchange completes — clients must
918
+ replace it at that point.
929
919
 
930
920
  Anonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured
931
921
  full session TTL when the first authentication factor is written via a completing `auth_attempt`.
@@ -941,32 +931,55 @@ declare const CreateSessionBody: zod.ZodObject<{
941
931
  }, zod.z.core.$strip>>;
942
932
  }, zod.z.core.$strip>;
943
933
  /**
944
- * Returns a paginated list of sessions for a project.
945
- Requires a project service key (OAuth2 client credentials).
934
+ * Returns the sessions of a project, paginated with a cursor.
935
+ Sessions of every lifecycle state are returned; each carries its `state`.
936
+ Requires `session.read` permission.
946
937
 
947
- * @summary List sessions
938
+ * @summary Query sessions
948
939
  */
949
- declare const listSessionsQueryLimitDefault = 20;
950
- declare const listSessionsQueryLimitMax = 100;
951
- declare const listSessionsQueryProjectIdRegExp: RegExp;
952
- declare const listSessionsQueryUserIdRegExp: RegExp;
953
- declare const ListSessionsQueryParams: zod.ZodObject<{
954
- limit: zod.ZodDefault<zod.ZodNumber>;
955
- page_token: zod.ZodOptional<zod.ZodString>;
940
+ declare const querySessionsQueryProjectIdRegExp: RegExp;
941
+ declare const QuerySessionsQueryParams: zod.ZodObject<{
956
942
  project_id: zod.ZodString;
957
- state: zod.ZodOptional<zod.ZodEnum<{
958
- active: "active";
959
- expired: "expired";
960
- building: "building";
961
- revoked: "revoked";
962
- }>>;
963
- user_id: zod.ZodOptional<zod.ZodString>;
964
943
  }, zod.z.core.$strict>;
965
- declare const listSessionsResponseSessionsItemSessionIdRegExp: RegExp;
966
- declare const listSessionsResponseSessionsItemProjectIdRegExp: RegExp;
967
- declare const listSessionsResponseSessionsItemUserIdOneRegExp: RegExp;
968
- declare const listSessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp: RegExp;
969
- declare const ListSessionsResponse: zod.ZodObject<{
944
+ declare const querySessionsBodyLimitDefault = 20;
945
+ declare const querySessionsBodyLimitMax = 100;
946
+ declare const QuerySessionsBody: zod.ZodObject<{
947
+ limit: zod.ZodDefault<zod.ZodNumber>;
948
+ page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
949
+ sorting: zod.ZodOptional<zod.ZodObject<{
950
+ field: zod.ZodEnum<{
951
+ user_id: "user_id";
952
+ created_at: "created_at";
953
+ }>;
954
+ direction: zod.ZodEnum<{
955
+ asc: "asc";
956
+ desc: "desc";
957
+ }>;
958
+ }, zod.z.core.$strip>>;
959
+ filter: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
960
+ field: zod.ZodEnum<{
961
+ state: "state";
962
+ user_id: "user_id";
963
+ created_at: "created_at";
964
+ }>;
965
+ value: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>>;
966
+ operation: zod.ZodEnum<{
967
+ equals: "equals";
968
+ not_equals: "not_equals";
969
+ contains: "contains";
970
+ not_contains: "not_contains";
971
+ less_than: "less_than";
972
+ less_than_or_equal: "less_than_or_equal";
973
+ greater_than: "greater_than";
974
+ greater_than_or_equal: "greater_than_or_equal";
975
+ }>;
976
+ }, zod.z.core.$strip>>>;
977
+ }, zod.z.core.$strip>;
978
+ declare const querySessionsResponseSessionsItemSessionIdRegExp: RegExp;
979
+ declare const querySessionsResponseSessionsItemProjectIdRegExp: RegExp;
980
+ declare const querySessionsResponseSessionsItemUserIdOneRegExp: RegExp;
981
+ declare const querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp: RegExp;
982
+ declare const QuerySessionsResponse: zod.ZodObject<{
970
983
  sessions: zod.ZodArray<zod.ZodObject<{
971
984
  session_id: zod.ZodString;
972
985
  project_id: zod.ZodString;
@@ -974,7 +987,6 @@ declare const ListSessionsResponse: zod.ZodObject<{
974
987
  active: "active";
975
988
  expired: "expired";
976
989
  building: "building";
977
- revoked: "revoked";
978
990
  }>;
979
991
  user_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
980
992
  name: zod.ZodOptional<zod.ZodString>;
@@ -1054,7 +1066,6 @@ declare const ExchangeHandoffResponse: zod.ZodObject<{
1054
1066
  active: "active";
1055
1067
  expired: "expired";
1056
1068
  building: "building";
1057
- revoked: "revoked";
1058
1069
  }>;
1059
1070
  user_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1060
1071
  name: zod.ZodOptional<zod.ZodString>;
@@ -1104,10 +1115,6 @@ declare const getSessionPathSessionIdRegExp: RegExp;
1104
1115
  declare const GetSessionParams: zod.ZodObject<{
1105
1116
  session_id: zod.ZodString;
1106
1117
  }, zod.z.core.$strip>;
1107
- declare const getSessionQueryProjectIdRegExp: RegExp;
1108
- declare const GetSessionQueryParams: zod.ZodObject<{
1109
- project_id: zod.ZodString;
1110
- }, zod.z.core.$strict>;
1111
1118
  declare const getSessionResponseSessionIdRegExp: RegExp;
1112
1119
  declare const getSessionResponseProjectIdRegExp: RegExp;
1113
1120
  declare const getSessionResponseUserIdOneRegExp: RegExp;
@@ -1119,7 +1126,6 @@ declare const GetSessionResponse: zod.ZodObject<{
1119
1126
  active: "active";
1120
1127
  expired: "expired";
1121
1128
  building: "building";
1122
- revoked: "revoked";
1123
1129
  }>;
1124
1130
  user_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1125
1131
  name: zod.ZodOptional<zod.ZodString>;
@@ -1154,10 +1160,15 @@ declare const GetSessionResponse: zod.ZodObject<{
1154
1160
  expires_at: zod.z.ZodISODateTime;
1155
1161
  }, zod.z.core.$strip>;
1156
1162
  /**
1157
- * Revokes the session immediately (`state: revoked`). This is the logout operation.
1163
+ * Permanently deletes the session, terminating it immediately.
1158
1164
 
1159
- The session_token issued at creation (or superseded by a handoff exchange) is required.
1160
- After revocation, any tokens derived from this session are invalidated.
1165
+ This is the operator revoke path and requires the `session.delete` scope on a
1166
+ project-bound credential. End-user logout with the `__nextgen_session` cookie is
1167
+ `DELETE /sessions/me` (`nextgenSession` scheme).
1168
+
1169
+ Idempotent: deleting a session that does not exist (or was already deleted)
1170
+ still returns 204. After deletion, any tokens derived from the session are
1171
+ invalidated.
1161
1172
 
1162
1173
  * @summary Revoke session
1163
1174
  */
@@ -1165,10 +1176,6 @@ declare const revokeSessionPathSessionIdRegExp: RegExp;
1165
1176
  declare const RevokeSessionParams: zod.ZodObject<{
1166
1177
  session_id: zod.ZodString;
1167
1178
  }, zod.z.core.$strip>;
1168
- declare const revokeSessionQueryProjectIdRegExp: RegExp;
1169
- declare const RevokeSessionQueryParams: zod.ZodObject<{
1170
- project_id: zod.ZodString;
1171
- }, zod.z.core.$strict>;
1172
1179
  /**
1173
1180
  * Returns the current state of the current session including its factors and all currently
1174
1181
  satisfied assurance levels.
@@ -1190,7 +1197,6 @@ declare const GetMySessionResponse: zod.ZodObject<{
1190
1197
  active: "active";
1191
1198
  expired: "expired";
1192
1199
  building: "building";
1193
- revoked: "revoked";
1194
1200
  }>;
1195
1201
  user_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1196
1202
  name: zod.ZodOptional<zod.ZodString>;
@@ -1225,10 +1231,12 @@ declare const GetMySessionResponse: zod.ZodObject<{
1225
1231
  expires_at: zod.z.ZodISODateTime;
1226
1232
  }, zod.z.core.$strip>;
1227
1233
  /**
1228
- * Create a new schema. The schema definition must include a unique $id field,
1229
- which will be used to identify the schema in future requests. The $id must
1230
- be a valid URI and should ideally point to the location where the schema
1231
- can be accessed.
1234
+ * Create a new schema. The optional `$id` field is the JSON Schema document
1235
+ URI used to identify the schema in future requests (GitOps-stable identity,
1236
+ not a free-form resource primary key). When `$id` is omitted, the server
1237
+ generates a `sch_*` URL. When provided, `$id` must be unique within the
1238
+ project and should ideally be a valid URI pointing at where the schema can
1239
+ be accessed.
1232
1240
 
1233
1241
  The schema can either be a concrete schema, e.g. a user schema, or a
1234
1242
  schema-url which will be resolved by the server.
@@ -1242,14 +1250,7 @@ declare const CreateSchemaQueryParams: zod.ZodObject<{
1242
1250
  team_id: zod.ZodOptional<zod.ZodString>;
1243
1251
  }, zod.z.core.$strict>;
1244
1252
  declare const createSchemaBodyOneObjectTypeMax = 256;
1245
- declare const createSchemaBodyOneXAuthMethodsPasswordPositionMin = 0;
1246
- declare const createSchemaBodyOneXAuthMethodsPasskeyPositionMin = 0;
1247
- declare const createSchemaBodyOneXAuthMethodsMagicLinkPositionMin = 0;
1248
- declare const createSchemaBodyOneXAuthMethodsSsoPositionMin = 0;
1249
- declare const createSchemaBodyOneXAuthMethodsOtpPositionMin = 0;
1250
- declare const createSchemaBodyOnePropertiesXEditableDefault = true;
1251
- declare const createSchemaBodyOnePropertiesXSensitiveDefault = false;
1252
- declare const createSchemaBodyOnePropertiesXMfaDefault = false;
1253
+ declare const createSchemaBodyOnePropertiesXAuditDefault = false;
1253
1254
  declare const CreateSchemaBody: zod.ZodUnion<readonly [zod.ZodObject<{
1254
1255
  objectType: zod.ZodOptional<zod.ZodString>;
1255
1256
  kind: zod.ZodLiteral<"user-schema">;
@@ -1257,36 +1258,28 @@ declare const CreateSchemaBody: zod.ZodUnion<readonly [zod.ZodObject<{
1257
1258
  "x-auth-methods": zod.ZodObject<{
1258
1259
  password: zod.ZodOptional<zod.ZodObject<{
1259
1260
  enabled: zod.ZodBoolean;
1260
- position: zod.ZodNumber;
1261
1261
  }, zod.z.core.$strip>>;
1262
1262
  passkey: zod.ZodOptional<zod.ZodObject<{
1263
1263
  enabled: zod.ZodBoolean;
1264
- position: zod.ZodNumber;
1265
1264
  }, zod.z.core.$strip>>;
1266
1265
  magic_link: zod.ZodOptional<zod.ZodObject<{
1267
1266
  enabled: zod.ZodBoolean;
1268
- position: zod.ZodNumber;
1269
1267
  }, zod.z.core.$strip>>;
1270
1268
  sso: zod.ZodOptional<zod.ZodObject<{
1271
1269
  enabled: zod.ZodBoolean;
1272
- position: zod.ZodNumber;
1273
1270
  }, zod.z.core.$strip>>;
1274
1271
  otp: zod.ZodOptional<zod.ZodObject<{
1275
1272
  enabled: zod.ZodBoolean;
1276
- position: zod.ZodNumber;
1277
1273
  }, zod.z.core.$strip>>;
1278
1274
  }, zod.z.core.$strip>;
1279
1275
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
1280
- "x-verify": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1281
1276
  "x-unique": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
1282
1277
  unspecified: "unspecified";
1283
1278
  project: "project";
1284
1279
  team: "team";
1285
1280
  }>, zod.ZodNull]>>;
1286
1281
  "x-claim": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1287
- "x-editable": zod.ZodDefault<zod.ZodBoolean>;
1288
- "x-sensitive": zod.ZodDefault<zod.ZodBoolean>;
1289
- "x-mfa": zod.ZodDefault<zod.ZodBoolean>;
1282
+ "x-audit": zod.ZodDefault<zod.ZodBoolean>;
1290
1283
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1291
1284
  }, zod.z.core.$strip>>>;
1292
1285
  }, zod.z.core.$strip>, zod.ZodObject<{
@@ -1311,11 +1304,11 @@ declare const ListSchemasQueryParams: zod.ZodObject<{
1311
1304
  }, zod.z.core.$strict>;
1312
1305
  declare const ListSchemasResponseItem: zod.ZodObject<{
1313
1306
  id: zod.ZodString;
1314
- createdAt: zod.z.ZodISODateTime;
1307
+ created_at: zod.z.ZodISODateTime;
1315
1308
  }, zod.z.core.$strip>;
1316
1309
  declare const ListSchemasResponse: zod.ZodArray<zod.ZodObject<{
1317
1310
  id: zod.ZodString;
1318
- createdAt: zod.z.ZodISODateTime;
1311
+ created_at: zod.z.ZodISODateTime;
1319
1312
  }, zod.z.core.$strip>>;
1320
1313
  /**
1321
1314
  * Get a schema by its ID. This will return the default revision of the schema.
@@ -1324,21 +1317,12 @@ declare const ListSchemasResponse: zod.ZodArray<zod.ZodObject<{
1324
1317
  declare const GetSchemaByIdParams: zod.ZodObject<{
1325
1318
  id: zod.ZodString;
1326
1319
  }, zod.z.core.$strip>;
1327
- declare const getSchemaByIdQueryProjectIdRegExp: RegExp;
1328
1320
  declare const getSchemaByIdQueryTeamIdRegExp: RegExp;
1329
1321
  declare const GetSchemaByIdQueryParams: zod.ZodObject<{
1330
- project_id: zod.ZodString;
1331
1322
  team_id: zod.ZodOptional<zod.ZodString>;
1332
1323
  }, zod.z.core.$strict>;
1333
1324
  declare const getSchemaByIdResponseOneObjectTypeMax = 256;
1334
- declare const getSchemaByIdResponseOneXAuthMethodsPasswordPositionMin = 0;
1335
- declare const getSchemaByIdResponseOneXAuthMethodsPasskeyPositionMin = 0;
1336
- declare const getSchemaByIdResponseOneXAuthMethodsMagicLinkPositionMin = 0;
1337
- declare const getSchemaByIdResponseOneXAuthMethodsSsoPositionMin = 0;
1338
- declare const getSchemaByIdResponseOneXAuthMethodsOtpPositionMin = 0;
1339
- declare const getSchemaByIdResponseOnePropertiesXEditableDefault = true;
1340
- declare const getSchemaByIdResponseOnePropertiesXSensitiveDefault = false;
1341
- declare const getSchemaByIdResponseOnePropertiesXMfaDefault = false;
1325
+ declare const getSchemaByIdResponseOnePropertiesXAuditDefault = false;
1342
1326
  declare const GetSchemaByIdResponse: zod.ZodObject<{
1343
1327
  objectType: zod.ZodOptional<zod.ZodString>;
1344
1328
  kind: zod.ZodLiteral<"user-schema">;
@@ -1346,36 +1330,28 @@ declare const GetSchemaByIdResponse: zod.ZodObject<{
1346
1330
  "x-auth-methods": zod.ZodObject<{
1347
1331
  password: zod.ZodOptional<zod.ZodObject<{
1348
1332
  enabled: zod.ZodBoolean;
1349
- position: zod.ZodNumber;
1350
1333
  }, zod.z.core.$strip>>;
1351
1334
  passkey: zod.ZodOptional<zod.ZodObject<{
1352
1335
  enabled: zod.ZodBoolean;
1353
- position: zod.ZodNumber;
1354
1336
  }, zod.z.core.$strip>>;
1355
1337
  magic_link: zod.ZodOptional<zod.ZodObject<{
1356
1338
  enabled: zod.ZodBoolean;
1357
- position: zod.ZodNumber;
1358
1339
  }, zod.z.core.$strip>>;
1359
1340
  sso: zod.ZodOptional<zod.ZodObject<{
1360
1341
  enabled: zod.ZodBoolean;
1361
- position: zod.ZodNumber;
1362
1342
  }, zod.z.core.$strip>>;
1363
1343
  otp: zod.ZodOptional<zod.ZodObject<{
1364
1344
  enabled: zod.ZodBoolean;
1365
- position: zod.ZodNumber;
1366
1345
  }, zod.z.core.$strip>>;
1367
1346
  }, zod.z.core.$strip>;
1368
1347
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
1369
- "x-verify": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1370
1348
  "x-unique": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
1371
1349
  unspecified: "unspecified";
1372
1350
  project: "project";
1373
1351
  team: "team";
1374
1352
  }>, zod.ZodNull]>>;
1375
1353
  "x-claim": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1376
- "x-editable": zod.ZodDefault<zod.ZodBoolean>;
1377
- "x-sensitive": zod.ZodDefault<zod.ZodBoolean>;
1378
- "x-mfa": zod.ZodDefault<zod.ZodBoolean>;
1354
+ "x-audit": zod.ZodDefault<zod.ZodBoolean>;
1379
1355
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
1380
1356
  }, zod.z.core.$strip>>>;
1381
1357
  }, zod.z.core.$strip>;
@@ -1450,6 +1426,14 @@ declare const CreateFlowDefinitionBody: zod.ZodObject<{
1450
1426
  switch: "switch";
1451
1427
  pivot: "pivot";
1452
1428
  }>, zod.ZodNull]>>;
1429
+ purpose: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
1430
+ login: "login";
1431
+ register: "register";
1432
+ recovery: "recovery";
1433
+ profiling: "profiling";
1434
+ reauth: "reauth";
1435
+ link_account: "link_account";
1436
+ }>, zod.ZodNull]>>;
1453
1437
  }, zod.z.core.$strip>>>;
1454
1438
  }, zod.z.core.$strip>>;
1455
1439
  }, zod.z.core.$strip>;
@@ -1499,10 +1483,6 @@ declare const ListFlowDefinitionsResponse: zod.ZodObject<{
1499
1483
  declare const GetFlowDefinitionParams: zod.ZodObject<{
1500
1484
  id: zod.ZodString;
1501
1485
  }, zod.z.core.$strip>;
1502
- declare const getFlowDefinitionQueryProjectIdRegExp: RegExp;
1503
- declare const GetFlowDefinitionQueryParams: zod.ZodObject<{
1504
- project_id: zod.ZodString;
1505
- }, zod.z.core.$strict>;
1506
1486
  declare const getFlowDefinitionResponseFlowDefinitionNameRegExp: RegExp;
1507
1487
  declare const getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault: never[];
1508
1488
  declare const getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault = false;
@@ -1564,6 +1544,14 @@ declare const GetFlowDefinitionResponse: zod.ZodObject<{
1564
1544
  switch: "switch";
1565
1545
  pivot: "pivot";
1566
1546
  }>, zod.ZodNull]>>;
1547
+ purpose: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
1548
+ login: "login";
1549
+ register: "register";
1550
+ recovery: "recovery";
1551
+ profiling: "profiling";
1552
+ reauth: "reauth";
1553
+ link_account: "link_account";
1554
+ }>, zod.ZodNull]>>;
1567
1555
  }, zod.z.core.$strip>>>;
1568
1556
  }, zod.z.core.$strip>>;
1569
1557
  }, zod.z.core.$strip>;
@@ -1579,10 +1567,6 @@ If `flow_definition.status` is omitted, the current status is preserved
1579
1567
  declare const UpdateFlowDefinitionParams: zod.ZodObject<{
1580
1568
  id: zod.ZodString;
1581
1569
  }, zod.z.core.$strip>;
1582
- declare const updateFlowDefinitionQueryProjectIdRegExp: RegExp;
1583
- declare const UpdateFlowDefinitionQueryParams: zod.ZodObject<{
1584
- project_id: zod.ZodString;
1585
- }, zod.z.core.$strict>;
1586
1570
  declare const updateFlowDefinitionBodyFlowDefinitionNameRegExp: RegExp;
1587
1571
  declare const updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault: never[];
1588
1572
  declare const updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault = false;
@@ -1643,6 +1627,14 @@ declare const UpdateFlowDefinitionBody: zod.ZodObject<{
1643
1627
  switch: "switch";
1644
1628
  pivot: "pivot";
1645
1629
  }>, zod.ZodNull]>>;
1630
+ purpose: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
1631
+ login: "login";
1632
+ register: "register";
1633
+ recovery: "recovery";
1634
+ profiling: "profiling";
1635
+ reauth: "reauth";
1636
+ link_account: "link_account";
1637
+ }>, zod.ZodNull]>>;
1646
1638
  }, zod.z.core.$strip>>>;
1647
1639
  }, zod.z.core.$strip>>;
1648
1640
  }, zod.z.core.$strip>;
@@ -1708,6 +1700,14 @@ declare const UpdateFlowDefinitionResponse: zod.ZodObject<{
1708
1700
  switch: "switch";
1709
1701
  pivot: "pivot";
1710
1702
  }>, zod.ZodNull]>>;
1703
+ purpose: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
1704
+ login: "login";
1705
+ register: "register";
1706
+ recovery: "recovery";
1707
+ profiling: "profiling";
1708
+ reauth: "reauth";
1709
+ link_account: "link_account";
1710
+ }>, zod.ZodNull]>>;
1711
1711
  }, zod.z.core.$strip>>>;
1712
1712
  }, zod.z.core.$strip>>;
1713
1713
  }, zod.z.core.$strip>;
@@ -1724,37 +1724,6 @@ If the flow definition is the last active flow definition for a given purpose, t
1724
1724
  declare const DeleteFlowDefinitionParams: zod.ZodObject<{
1725
1725
  id: zod.ZodString;
1726
1726
  }, zod.z.core.$strip>;
1727
- declare const deleteFlowDefinitionQueryProjectIdRegExp: RegExp;
1728
- declare const DeleteFlowDefinitionQueryParams: zod.ZodObject<{
1729
- project_id: zod.ZodString;
1730
- }, zod.z.core.$strict>;
1731
- /**
1732
- * Activate a flow definition by transitioning it from a `draft` state to an `active` state.
1733
- Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.
1734
-
1735
- * @summary Activate a flow definition by ID.
1736
- */
1737
- declare const ActivateFlowDefinitionParams: zod.ZodObject<{
1738
- id: zod.ZodString;
1739
- }, zod.z.core.$strip>;
1740
- declare const activateFlowDefinitionQueryProjectIdRegExp: RegExp;
1741
- declare const ActivateFlowDefinitionQueryParams: zod.ZodObject<{
1742
- project_id: zod.ZodString;
1743
- }, zod.z.core.$strict>;
1744
- /**
1745
- * Deactivates a flow definition in the `active` state by transitioning it to the `draft` state.
1746
- Flow definitions in `draft` state cannot be used to start new flows. Existing flows that use the deactivated flow definition must gracefully handle this.
1747
- Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.
1748
-
1749
- * @summary Deactivate a flow definition by ID.
1750
- */
1751
- declare const DeactivateFlowDefinitionParams: zod.ZodObject<{
1752
- id: zod.ZodString;
1753
- }, zod.z.core.$strip>;
1754
- declare const deactivateFlowDefinitionQueryProjectIdRegExp: RegExp;
1755
- declare const DeactivateFlowDefinitionQueryParams: zod.ZodObject<{
1756
- project_id: zod.ZodString;
1757
- }, zod.z.core.$strict>;
1758
1727
  /**
1759
1728
  * @summary Create team
1760
1729
  */
@@ -1762,25 +1731,2663 @@ declare const createTeamQueryProjectIdRegExp: RegExp;
1762
1731
  declare const CreateTeamQueryParams: zod.ZodObject<{
1763
1732
  project_id: zod.ZodString;
1764
1733
  }, zod.z.core.$strict>;
1765
- declare const CreateTeamBody: zod.ZodObject<{}, zod.z.core.$loose>;
1734
+ declare const createTeamBodyNameMax = 200;
1735
+ declare const CreateTeamBody: zod.ZodObject<{
1736
+ name: zod.ZodString;
1737
+ }, zod.z.core.$strip>;
1766
1738
  /**
1767
- * Returns the current state of a team.
1739
+ * Returns the teams of a project, paginated with a cursor.
1768
1740
 
1769
- * @summary Get team
1741
+ * @summary Query teams
1770
1742
  */
1771
- declare const getTeamPathTeamIdRegExp: RegExp;
1772
- declare const GetTeamParams: zod.ZodObject<{
1773
- team_id: zod.ZodString;
1774
- }, zod.z.core.$strip>;
1775
- declare const getTeamQueryProjectIdRegExp: RegExp;
1776
- declare const GetTeamQueryParams: zod.ZodObject<{
1743
+ declare const queryTeamsQueryProjectIdRegExp: RegExp;
1744
+ declare const QueryTeamsQueryParams: zod.ZodObject<{
1777
1745
  project_id: zod.ZodString;
1778
1746
  }, zod.z.core.$strict>;
1779
- declare const GetTeamResponse: zod.ZodObject<{
1780
- id: zod.ZodString;
1781
- createdAt: zod.z.ZodISODateTime;
1782
- updatedAt: zod.z.ZodISODateTime;
1747
+ declare const queryTeamsBodyLimitDefault = 20;
1748
+ declare const queryTeamsBodyLimitMax = 100;
1749
+ declare const QueryTeamsBody: zod.ZodObject<{
1750
+ limit: zod.ZodDefault<zod.ZodNumber>;
1751
+ page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1752
+ sorting: zod.ZodOptional<zod.ZodObject<{
1753
+ field: zod.ZodEnum<{
1754
+ created_at: "created_at";
1755
+ name: "name";
1756
+ status: "status";
1757
+ }>;
1758
+ direction: zod.ZodEnum<{
1759
+ asc: "asc";
1760
+ desc: "desc";
1761
+ }>;
1762
+ }, zod.z.core.$strip>>;
1763
+ filter: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
1764
+ field: zod.ZodEnum<{
1765
+ created_at: "created_at";
1766
+ name: "name";
1767
+ status: "status";
1768
+ }>;
1769
+ value: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodNull]>>;
1770
+ operation: zod.ZodEnum<{
1771
+ equals: "equals";
1772
+ not_equals: "not_equals";
1773
+ contains: "contains";
1774
+ not_contains: "not_contains";
1775
+ less_than: "less_than";
1776
+ less_than_or_equal: "less_than_or_equal";
1777
+ greater_than: "greater_than";
1778
+ greater_than_or_equal: "greater_than_or_equal";
1779
+ }>;
1780
+ }, zod.z.core.$strip>>>;
1783
1781
  }, zod.z.core.$strip>;
1782
+ declare const QueryTeamsResponse: zod.ZodObject<{
1783
+ teams: zod.ZodArray<zod.ZodObject<{
1784
+ id: zod.ZodString;
1785
+ name: zod.ZodString;
1786
+ status: zod.ZodEnum<{
1787
+ active: "active";
1788
+ deactivated: "deactivated";
1789
+ }>;
1790
+ created_at: zod.z.ZodISODateTime;
1791
+ updated_at: zod.z.ZodISODateTime;
1792
+ }, zod.z.core.$strip>>;
1793
+ next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
1794
+ }, zod.z.core.$strip>;
1795
+ /**
1796
+ * Returns a Team by its id.
1797
+
1798
+ * @summary Get team
1799
+ */
1800
+ declare const getTeamPathTeamIdRegExp: RegExp;
1801
+ declare const GetTeamParams: zod.ZodObject<{
1802
+ team_id: zod.ZodString;
1803
+ }, zod.z.core.$strip>;
1804
+ declare const GetTeamResponse: zod.ZodObject<{
1805
+ id: zod.ZodString;
1806
+ name: zod.ZodString;
1807
+ status: zod.ZodEnum<{
1808
+ active: "active";
1809
+ deactivated: "deactivated";
1810
+ }>;
1811
+ created_at: zod.z.ZodISODateTime;
1812
+ updated_at: zod.z.ZodISODateTime;
1813
+ }, zod.z.core.$strip>;
1814
+ /**
1815
+ * Deactivates the team.
1816
+
1817
+ The team is tombstoned rather than erased: it stays readable through
1818
+ getTeam with status `deactivated`. Its memberships are removed and the
1819
+ users whose lifecycle it owns are deactivated with it.
1820
+
1821
+ The request is idempotent. Deleting a team that is already deactivated
1822
+ or doesn't exist succeeds without changing anything.
1823
+
1824
+ * @summary Delete team
1825
+ */
1826
+ declare const deleteTeamPathTeamIdRegExp: RegExp;
1827
+ declare const DeleteTeamParams: zod.ZodObject<{
1828
+ team_id: zod.ZodString;
1829
+ }, zod.z.core.$strip>;
1830
+ /**
1831
+ * Update team. Only active teams can be updated.
1832
+
1833
+ * @summary Update team
1834
+ */
1835
+ declare const updateTeamPathTeamIdRegExp: RegExp;
1836
+ declare const UpdateTeamParams: zod.ZodObject<{
1837
+ team_id: zod.ZodString;
1838
+ }, zod.z.core.$strip>;
1839
+ declare const updateTeamBodyNameMax = 200;
1840
+ declare const UpdateTeamBody: zod.ZodObject<{
1841
+ name: zod.ZodOptional<zod.ZodString>;
1842
+ }, zod.z.core.$strip>;
1843
+ declare const UpdateTeamResponse: zod.ZodObject<{
1844
+ id: zod.ZodString;
1845
+ name: zod.ZodString;
1846
+ status: zod.ZodEnum<{
1847
+ active: "active";
1848
+ deactivated: "deactivated";
1849
+ }>;
1850
+ created_at: zod.z.ZodISODateTime;
1851
+ updated_at: zod.z.ZodISODateTime;
1852
+ }, zod.z.core.$strip>;
1853
+ /**
1854
+ * Publishes a new immutable branding revision for the project. Branding
1855
+ revisions cannot be updated or deleted; every edit publishes a new
1856
+ revision, and flow responses resolve the latest revision per project
1857
+ (see ADR 040).
1858
+
1859
+ The `liquid_template` is validated lexically on save (size, encoding,
1860
+ banned patterns such as `<script>` tags, inline event handlers, and the
1861
+ `| raw` filter). Authoritative LiquidJS validation runs at authoring
1862
+ time via `zitadel plan` / `zitadel apply`.
1863
+
1864
+ * @summary Publish a new branding revision
1865
+ */
1866
+ declare const createBrandingQueryProjectIdRegExp: RegExp;
1867
+ declare const CreateBrandingQueryParams: zod.ZodObject<{
1868
+ project_id: zod.ZodString;
1869
+ }, zod.z.core.$strict>;
1870
+ declare const createBrandingBodyLayoutDefault = "centered";
1871
+ declare const createBrandingBodyLiquidTemplateMax = 131072;
1872
+ declare const CreateBrandingBody: zod.ZodObject<{
1873
+ layout: zod.ZodDefault<zod.ZodEnum<{
1874
+ centered: "centered";
1875
+ split: "split";
1876
+ }>>;
1877
+ liquid_template: zod.ZodOptional<zod.ZodString>;
1878
+ logo_url: zod.ZodOptional<zod.ZodURL>;
1879
+ font_url: zod.ZodOptional<zod.ZodURL>;
1880
+ hero_url: zod.ZodOptional<zod.ZodURL>;
1881
+ }, zod.z.core.$strip>;
1882
+ /**
1883
+ * Lists branding revisions for the project, newest first, capped at the
1884
+ 100 most recent. The first entry is the revision flow responses
1885
+ currently resolve. Deliberately unpaginated in v1 — list endpoints
1886
+ gain a real query mechanism together (ADR 031); advertising pagination
1887
+ parameters the server ignores would be worse than none.
1888
+
1889
+ * @summary List branding revisions
1890
+ */
1891
+ declare const listBrandingQueryProjectIdRegExp: RegExp;
1892
+ declare const ListBrandingQueryParams: zod.ZodObject<{
1893
+ project_id: zod.ZodString;
1894
+ }, zod.z.core.$strict>;
1895
+ declare const ListBrandingResponseItem: zod.ZodObject<{
1896
+ id: zod.ZodString;
1897
+ created_at: zod.z.ZodISODateTime;
1898
+ }, zod.z.core.$strip>;
1899
+ declare const ListBrandingResponse: zod.ZodArray<zod.ZodObject<{
1900
+ id: zod.ZodString;
1901
+ created_at: zod.z.ZodISODateTime;
1902
+ }, zod.z.core.$strip>>;
1903
+ /**
1904
+ * Retrieves a single branding revision, including its stored configuration.
1905
+ * @summary Get a branding revision by ID
1906
+ */
1907
+ declare const GetBrandingByIdParams: zod.ZodObject<{
1908
+ id: zod.ZodString;
1909
+ }, zod.z.core.$strip>;
1910
+ declare const getBrandingByIdResponseBrandingLayoutDefault = "centered";
1911
+ declare const getBrandingByIdResponseBrandingLiquidTemplateMax = 131072;
1912
+ declare const GetBrandingByIdResponse: zod.ZodObject<{
1913
+ id: zod.ZodString;
1914
+ created_at: zod.z.ZodISODateTime;
1915
+ branding: zod.ZodObject<{
1916
+ layout: zod.ZodDefault<zod.ZodEnum<{
1917
+ centered: "centered";
1918
+ split: "split";
1919
+ }>>;
1920
+ liquid_template: zod.ZodOptional<zod.ZodString>;
1921
+ logo_url: zod.ZodOptional<zod.ZodURL>;
1922
+ font_url: zod.ZodOptional<zod.ZodURL>;
1923
+ hero_url: zod.ZodOptional<zod.ZodURL>;
1924
+ }, zod.z.core.$strip>;
1925
+ }, zod.z.core.$strip>;
1926
+ /**
1927
+ * Returns project-scoped audit events, newest-first by keyset on
1928
+ `(created_at, id)` (ADR 027 / ADR 049). Pass `order=asc` for oldest-first.
1929
+ Requires `events.read`.
1930
+
1931
+ Pre-claim projects return an empty list (events are stored but not
1932
+ visible until claim succeeds). Team-scoped credentials see only events
1933
+ whose emit-time `team_id` matches the credential team (enforced when
1934
+ team-scoped tokens exist).
1935
+
1936
+ Clients discriminate each item via `event_type` (OpenAPI Event oneOf) —
1937
+ see docs/design/api/events-catalog.md.
1938
+
1939
+ * @summary List events
1940
+ */
1941
+ declare const listEventsQueryProjectIdRegExp: RegExp;
1942
+ declare const listEventsQueryOrderDefault = "desc";
1943
+ declare const listEventsQueryLimitDefault = 20;
1944
+ declare const listEventsQueryLimitMax = 100;
1945
+ declare const ListEventsQueryParams: zod.ZodObject<{
1946
+ project_id: zod.ZodString;
1947
+ category: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
1948
+ session: "session";
1949
+ request: "request";
1950
+ auth: "auth";
1951
+ admin: "admin";
1952
+ entity: "entity";
1953
+ signal: "signal";
1954
+ }>>>;
1955
+ event_type: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1956
+ actor_id: zod.ZodOptional<zod.ZodString>;
1957
+ client_id: zod.ZodOptional<zod.ZodString>;
1958
+ session_id: zod.ZodOptional<zod.ZodString>;
1959
+ flow_id: zod.ZodOptional<zod.ZodString>;
1960
+ request_id: zod.ZodOptional<zod.ZodString>;
1961
+ fingerprint: zod.ZodOptional<zod.ZodString>;
1962
+ entity_type: zod.ZodOptional<zod.ZodString>;
1963
+ entity_id: zod.ZodOptional<zod.ZodString>;
1964
+ team_id: zod.ZodOptional<zod.ZodString>;
1965
+ created_after: zod.ZodOptional<zod.z.ZodISODateTime>;
1966
+ created_before: zod.ZodOptional<zod.z.ZodISODateTime>;
1967
+ order: zod.ZodDefault<zod.ZodEnum<{
1968
+ asc: "asc";
1969
+ desc: "desc";
1970
+ }>>;
1971
+ page_token: zod.ZodOptional<zod.ZodString>;
1972
+ limit: zod.ZodDefault<zod.ZodNumber>;
1973
+ }, zod.z.core.$strict>;
1974
+ declare const listEventsResponseDataItemOneOneProjectIdRegExp: RegExp;
1975
+ declare const listEventsResponseDataItemTwoOneProjectIdRegExp: RegExp;
1976
+ declare const listEventsResponseDataItemThreeOneProjectIdRegExp: RegExp;
1977
+ declare const listEventsResponseDataItemFourOneProjectIdRegExp: RegExp;
1978
+ declare const listEventsResponseDataItemFiveOneProjectIdRegExp: RegExp;
1979
+ declare const listEventsResponseDataItemSixOneProjectIdRegExp: RegExp;
1980
+ declare const listEventsResponseDataItemSevenOneProjectIdRegExp: RegExp;
1981
+ declare const listEventsResponseDataItemEightOneProjectIdRegExp: RegExp;
1982
+ declare const listEventsResponseDataItemNineOneProjectIdRegExp: RegExp;
1983
+ declare const listEventsResponseDataItemOnezeroOneProjectIdRegExp: RegExp;
1984
+ declare const listEventsResponseDataItemOneoneOneProjectIdRegExp: RegExp;
1985
+ declare const listEventsResponseDataItemOnetwoOneProjectIdRegExp: RegExp;
1986
+ declare const listEventsResponseDataItemOnethreeOneProjectIdRegExp: RegExp;
1987
+ declare const listEventsResponseDataItemOnefourOneProjectIdRegExp: RegExp;
1988
+ declare const listEventsResponseDataItemOnefiveOneProjectIdRegExp: RegExp;
1989
+ declare const listEventsResponseDataItemOnesixOneProjectIdRegExp: RegExp;
1990
+ declare const listEventsResponseDataItemOnesevenOneProjectIdRegExp: RegExp;
1991
+ declare const listEventsResponseDataItemOnesevenTwoPayloadStatusMin = 100;
1992
+ declare const listEventsResponseDataItemOnesevenTwoPayloadStatusMax = 599;
1993
+ declare const listEventsResponseDataItemOnesevenTwoPayloadDurationMsMin = 0;
1994
+ declare const listEventsResponseDataItemOneeightOneProjectIdRegExp: RegExp;
1995
+ declare const listEventsResponseDataItemOnenineOneProjectIdRegExp: RegExp;
1996
+ declare const listEventsResponseDataItemTwozeroOneProjectIdRegExp: RegExp;
1997
+ declare const listEventsResponseDataItemTwooneOneProjectIdRegExp: RegExp;
1998
+ declare const listEventsResponseDataItemTwotwoOneProjectIdRegExp: RegExp;
1999
+ declare const listEventsResponseDataItemTwothreeOneProjectIdRegExp: RegExp;
2000
+ declare const listEventsResponseDataItemTwofourOneProjectIdRegExp: RegExp;
2001
+ declare const listEventsResponseDataItemTwofiveOneProjectIdRegExp: RegExp;
2002
+ declare const listEventsResponseDataItemTwosixOneProjectIdRegExp: RegExp;
2003
+ declare const ListEventsResponse: zod.ZodObject<{
2004
+ data: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodIntersection<zod.ZodObject<{
2005
+ id: zod.ZodString;
2006
+ project_id: zod.ZodString;
2007
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2008
+ event_type: zod.ZodString;
2009
+ category: zod.ZodEnum<{
2010
+ session: "session";
2011
+ request: "request";
2012
+ auth: "auth";
2013
+ admin: "admin";
2014
+ entity: "entity";
2015
+ signal: "signal";
2016
+ }>;
2017
+ occurred_at: zod.z.ZodISODateTime;
2018
+ created_at: zod.z.ZodISODateTime;
2019
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2020
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2021
+ human: "human";
2022
+ service: "service";
2023
+ system: "system";
2024
+ agent: "agent";
2025
+ }>, zod.ZodNull]>>;
2026
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2027
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2028
+ client_id: zod.ZodString;
2029
+ token_id: zod.ZodOptional<zod.ZodString>;
2030
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2031
+ direct: "direct";
2032
+ delegated: "delegated";
2033
+ pat_shared: "pat_shared";
2034
+ exchanged: "exchanged";
2035
+ }>>;
2036
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2037
+ grantor: zod.ZodOptional<zod.ZodString>;
2038
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2039
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2040
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2041
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2042
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2043
+ }, zod.z.core.$strip>, zod.ZodObject<{
2044
+ event_type: zod.ZodLiteral<"auth.attempt.created">;
2045
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
2046
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2047
+ id: zod.ZodString;
2048
+ project_id: zod.ZodString;
2049
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2050
+ event_type: zod.ZodString;
2051
+ category: zod.ZodEnum<{
2052
+ session: "session";
2053
+ request: "request";
2054
+ auth: "auth";
2055
+ admin: "admin";
2056
+ entity: "entity";
2057
+ signal: "signal";
2058
+ }>;
2059
+ occurred_at: zod.z.ZodISODateTime;
2060
+ created_at: zod.z.ZodISODateTime;
2061
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2062
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2063
+ human: "human";
2064
+ service: "service";
2065
+ system: "system";
2066
+ agent: "agent";
2067
+ }>, zod.ZodNull]>>;
2068
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2069
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2070
+ client_id: zod.ZodString;
2071
+ token_id: zod.ZodOptional<zod.ZodString>;
2072
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2073
+ direct: "direct";
2074
+ delegated: "delegated";
2075
+ pat_shared: "pat_shared";
2076
+ exchanged: "exchanged";
2077
+ }>>;
2078
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2079
+ grantor: zod.ZodOptional<zod.ZodString>;
2080
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2081
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2082
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2083
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2084
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2085
+ }, zod.z.core.$strip>, zod.ZodObject<{
2086
+ event_type: zod.ZodLiteral<"auth.attempt.handed_off">;
2087
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
2088
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2089
+ id: zod.ZodString;
2090
+ project_id: zod.ZodString;
2091
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2092
+ event_type: zod.ZodString;
2093
+ category: zod.ZodEnum<{
2094
+ session: "session";
2095
+ request: "request";
2096
+ auth: "auth";
2097
+ admin: "admin";
2098
+ entity: "entity";
2099
+ signal: "signal";
2100
+ }>;
2101
+ occurred_at: zod.z.ZodISODateTime;
2102
+ created_at: zod.z.ZodISODateTime;
2103
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2104
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2105
+ human: "human";
2106
+ service: "service";
2107
+ system: "system";
2108
+ agent: "agent";
2109
+ }>, zod.ZodNull]>>;
2110
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2111
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2112
+ client_id: zod.ZodString;
2113
+ token_id: zod.ZodOptional<zod.ZodString>;
2114
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2115
+ direct: "direct";
2116
+ delegated: "delegated";
2117
+ pat_shared: "pat_shared";
2118
+ exchanged: "exchanged";
2119
+ }>>;
2120
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2121
+ grantor: zod.ZodOptional<zod.ZodString>;
2122
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2123
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2124
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2125
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2126
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2127
+ }, zod.z.core.$strip>, zod.ZodObject<{
2128
+ event_type: zod.ZodLiteral<"auth.check.failed">;
2129
+ payload: zod.ZodObject<{
2130
+ check_id: zod.ZodString;
2131
+ check_type: zod.ZodOptional<zod.ZodString>;
2132
+ auth_attempt_id: zod.ZodOptional<zod.ZodString>;
2133
+ }, zod.z.core.$strip>;
2134
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2135
+ id: zod.ZodString;
2136
+ project_id: zod.ZodString;
2137
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2138
+ event_type: zod.ZodString;
2139
+ category: zod.ZodEnum<{
2140
+ session: "session";
2141
+ request: "request";
2142
+ auth: "auth";
2143
+ admin: "admin";
2144
+ entity: "entity";
2145
+ signal: "signal";
2146
+ }>;
2147
+ occurred_at: zod.z.ZodISODateTime;
2148
+ created_at: zod.z.ZodISODateTime;
2149
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2150
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2151
+ human: "human";
2152
+ service: "service";
2153
+ system: "system";
2154
+ agent: "agent";
2155
+ }>, zod.ZodNull]>>;
2156
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2157
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2158
+ client_id: zod.ZodString;
2159
+ token_id: zod.ZodOptional<zod.ZodString>;
2160
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2161
+ direct: "direct";
2162
+ delegated: "delegated";
2163
+ pat_shared: "pat_shared";
2164
+ exchanged: "exchanged";
2165
+ }>>;
2166
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2167
+ grantor: zod.ZodOptional<zod.ZodString>;
2168
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2169
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2170
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2171
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2172
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2173
+ }, zod.z.core.$strip>, zod.ZodObject<{
2174
+ event_type: zod.ZodLiteral<"auth.check.succeeded">;
2175
+ payload: zod.ZodObject<{
2176
+ check_id: zod.ZodString;
2177
+ check_type: zod.ZodOptional<zod.ZodString>;
2178
+ auth_attempt_id: zod.ZodOptional<zod.ZodString>;
2179
+ }, zod.z.core.$strip>;
2180
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2181
+ id: zod.ZodString;
2182
+ project_id: zod.ZodString;
2183
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2184
+ event_type: zod.ZodString;
2185
+ category: zod.ZodEnum<{
2186
+ session: "session";
2187
+ request: "request";
2188
+ auth: "auth";
2189
+ admin: "admin";
2190
+ entity: "entity";
2191
+ signal: "signal";
2192
+ }>;
2193
+ occurred_at: zod.z.ZodISODateTime;
2194
+ created_at: zod.z.ZodISODateTime;
2195
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2196
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2197
+ human: "human";
2198
+ service: "service";
2199
+ system: "system";
2200
+ agent: "agent";
2201
+ }>, zod.ZodNull]>>;
2202
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2203
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2204
+ client_id: zod.ZodString;
2205
+ token_id: zod.ZodOptional<zod.ZodString>;
2206
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2207
+ direct: "direct";
2208
+ delegated: "delegated";
2209
+ pat_shared: "pat_shared";
2210
+ exchanged: "exchanged";
2211
+ }>>;
2212
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2213
+ grantor: zod.ZodOptional<zod.ZodString>;
2214
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2215
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2216
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2217
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2218
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2219
+ }, zod.z.core.$strip>, zod.ZodObject<{
2220
+ event_type: zod.ZodLiteral<"auth.factor.passkey.enrolled">;
2221
+ payload: zod.ZodObject<{
2222
+ user_id: zod.ZodString;
2223
+ factor_id: zod.ZodOptional<zod.ZodString>;
2224
+ }, zod.z.core.$strip>;
2225
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2226
+ id: zod.ZodString;
2227
+ project_id: zod.ZodString;
2228
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2229
+ event_type: zod.ZodString;
2230
+ category: zod.ZodEnum<{
2231
+ session: "session";
2232
+ request: "request";
2233
+ auth: "auth";
2234
+ admin: "admin";
2235
+ entity: "entity";
2236
+ signal: "signal";
2237
+ }>;
2238
+ occurred_at: zod.z.ZodISODateTime;
2239
+ created_at: zod.z.ZodISODateTime;
2240
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2241
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2242
+ human: "human";
2243
+ service: "service";
2244
+ system: "system";
2245
+ agent: "agent";
2246
+ }>, zod.ZodNull]>>;
2247
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2248
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2249
+ client_id: zod.ZodString;
2250
+ token_id: zod.ZodOptional<zod.ZodString>;
2251
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2252
+ direct: "direct";
2253
+ delegated: "delegated";
2254
+ pat_shared: "pat_shared";
2255
+ exchanged: "exchanged";
2256
+ }>>;
2257
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2258
+ grantor: zod.ZodOptional<zod.ZodString>;
2259
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2260
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2261
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2262
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2263
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2264
+ }, zod.z.core.$strip>, zod.ZodObject<{
2265
+ event_type: zod.ZodLiteral<"auth.factor.password.set">;
2266
+ payload: zod.ZodObject<{
2267
+ user_id: zod.ZodString;
2268
+ factor_id: zod.ZodOptional<zod.ZodString>;
2269
+ }, zod.z.core.$strip>;
2270
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2271
+ id: zod.ZodString;
2272
+ project_id: zod.ZodString;
2273
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2274
+ event_type: zod.ZodString;
2275
+ category: zod.ZodEnum<{
2276
+ session: "session";
2277
+ request: "request";
2278
+ auth: "auth";
2279
+ admin: "admin";
2280
+ entity: "entity";
2281
+ signal: "signal";
2282
+ }>;
2283
+ occurred_at: zod.z.ZodISODateTime;
2284
+ created_at: zod.z.ZodISODateTime;
2285
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2286
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2287
+ human: "human";
2288
+ service: "service";
2289
+ system: "system";
2290
+ agent: "agent";
2291
+ }>, zod.ZodNull]>>;
2292
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2293
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2294
+ client_id: zod.ZodString;
2295
+ token_id: zod.ZodOptional<zod.ZodString>;
2296
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2297
+ direct: "direct";
2298
+ delegated: "delegated";
2299
+ pat_shared: "pat_shared";
2300
+ exchanged: "exchanged";
2301
+ }>>;
2302
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2303
+ grantor: zod.ZodOptional<zod.ZodString>;
2304
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2305
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2306
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2307
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2308
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2309
+ }, zod.z.core.$strip>, zod.ZodObject<{
2310
+ event_type: zod.ZodLiteral<"auth.token.issued">;
2311
+ payload: zod.ZodObject<{
2312
+ scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2313
+ }, zod.z.core.$strip>;
2314
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2315
+ id: zod.ZodString;
2316
+ project_id: zod.ZodString;
2317
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2318
+ event_type: zod.ZodString;
2319
+ category: zod.ZodEnum<{
2320
+ session: "session";
2321
+ request: "request";
2322
+ auth: "auth";
2323
+ admin: "admin";
2324
+ entity: "entity";
2325
+ signal: "signal";
2326
+ }>;
2327
+ occurred_at: zod.z.ZodISODateTime;
2328
+ created_at: zod.z.ZodISODateTime;
2329
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2330
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2331
+ human: "human";
2332
+ service: "service";
2333
+ system: "system";
2334
+ agent: "agent";
2335
+ }>, zod.ZodNull]>>;
2336
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2337
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2338
+ client_id: zod.ZodString;
2339
+ token_id: zod.ZodOptional<zod.ZodString>;
2340
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2341
+ direct: "direct";
2342
+ delegated: "delegated";
2343
+ pat_shared: "pat_shared";
2344
+ exchanged: "exchanged";
2345
+ }>>;
2346
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2347
+ grantor: zod.ZodOptional<zod.ZodString>;
2348
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2349
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2350
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2351
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2352
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2353
+ }, zod.z.core.$strip>, zod.ZodObject<{
2354
+ event_type: zod.ZodLiteral<"auth.token.revoked">;
2355
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
2356
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2357
+ id: zod.ZodString;
2358
+ project_id: zod.ZodString;
2359
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2360
+ event_type: zod.ZodString;
2361
+ category: zod.ZodEnum<{
2362
+ session: "session";
2363
+ request: "request";
2364
+ auth: "auth";
2365
+ admin: "admin";
2366
+ entity: "entity";
2367
+ signal: "signal";
2368
+ }>;
2369
+ occurred_at: zod.z.ZodISODateTime;
2370
+ created_at: zod.z.ZodISODateTime;
2371
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2372
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2373
+ human: "human";
2374
+ service: "service";
2375
+ system: "system";
2376
+ agent: "agent";
2377
+ }>, zod.ZodNull]>>;
2378
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2379
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2380
+ client_id: zod.ZodString;
2381
+ token_id: zod.ZodOptional<zod.ZodString>;
2382
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2383
+ direct: "direct";
2384
+ delegated: "delegated";
2385
+ pat_shared: "pat_shared";
2386
+ exchanged: "exchanged";
2387
+ }>>;
2388
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2389
+ grantor: zod.ZodOptional<zod.ZodString>;
2390
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2391
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2392
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2393
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2394
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2395
+ }, zod.z.core.$strip>, zod.ZodObject<{
2396
+ event_type: zod.ZodLiteral<"authz.granted">;
2397
+ payload: zod.ZodObject<{
2398
+ principal_type: zod.ZodOptional<zod.ZodString>;
2399
+ principal_id: zod.ZodOptional<zod.ZodString>;
2400
+ relation: zod.ZodOptional<zod.ZodString>;
2401
+ }, zod.z.core.$strip>;
2402
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2403
+ id: zod.ZodString;
2404
+ project_id: zod.ZodString;
2405
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2406
+ event_type: zod.ZodString;
2407
+ category: zod.ZodEnum<{
2408
+ session: "session";
2409
+ request: "request";
2410
+ auth: "auth";
2411
+ admin: "admin";
2412
+ entity: "entity";
2413
+ signal: "signal";
2414
+ }>;
2415
+ occurred_at: zod.z.ZodISODateTime;
2416
+ created_at: zod.z.ZodISODateTime;
2417
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2418
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2419
+ human: "human";
2420
+ service: "service";
2421
+ system: "system";
2422
+ agent: "agent";
2423
+ }>, zod.ZodNull]>>;
2424
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2425
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2426
+ client_id: zod.ZodString;
2427
+ token_id: zod.ZodOptional<zod.ZodString>;
2428
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2429
+ direct: "direct";
2430
+ delegated: "delegated";
2431
+ pat_shared: "pat_shared";
2432
+ exchanged: "exchanged";
2433
+ }>>;
2434
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2435
+ grantor: zod.ZodOptional<zod.ZodString>;
2436
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2437
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2438
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2439
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2440
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2441
+ }, zod.z.core.$strip>, zod.ZodObject<{
2442
+ event_type: zod.ZodLiteral<"branding.created">;
2443
+ payload: zod.ZodObject<{
2444
+ layout: zod.ZodOptional<zod.ZodString>;
2445
+ logo_url: zod.ZodOptional<zod.ZodString>;
2446
+ font_url: zod.ZodOptional<zod.ZodString>;
2447
+ hero_url: zod.ZodOptional<zod.ZodString>;
2448
+ }, zod.z.core.$strip>;
2449
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2450
+ id: zod.ZodString;
2451
+ project_id: zod.ZodString;
2452
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2453
+ event_type: zod.ZodString;
2454
+ category: zod.ZodEnum<{
2455
+ session: "session";
2456
+ request: "request";
2457
+ auth: "auth";
2458
+ admin: "admin";
2459
+ entity: "entity";
2460
+ signal: "signal";
2461
+ }>;
2462
+ occurred_at: zod.z.ZodISODateTime;
2463
+ created_at: zod.z.ZodISODateTime;
2464
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2465
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2466
+ human: "human";
2467
+ service: "service";
2468
+ system: "system";
2469
+ agent: "agent";
2470
+ }>, zod.ZodNull]>>;
2471
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2472
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2473
+ client_id: zod.ZodString;
2474
+ token_id: zod.ZodOptional<zod.ZodString>;
2475
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2476
+ direct: "direct";
2477
+ delegated: "delegated";
2478
+ pat_shared: "pat_shared";
2479
+ exchanged: "exchanged";
2480
+ }>>;
2481
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2482
+ grantor: zod.ZodOptional<zod.ZodString>;
2483
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2484
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2485
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2486
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2487
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2488
+ }, zod.z.core.$strip>, zod.ZodObject<{
2489
+ event_type: zod.ZodLiteral<"flowdef.created">;
2490
+ payload: zod.ZodObject<{
2491
+ name: zod.ZodOptional<zod.ZodString>;
2492
+ status: zod.ZodOptional<zod.ZodString>;
2493
+ user_schema: zod.ZodOptional<zod.ZodString>;
2494
+ purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
2495
+ audience: zod.ZodOptional<zod.ZodObject<{
2496
+ app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2497
+ team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2498
+ }, zod.z.core.$strip>>;
2499
+ }, zod.z.core.$strip>;
2500
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2501
+ id: zod.ZodString;
2502
+ project_id: zod.ZodString;
2503
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2504
+ event_type: zod.ZodString;
2505
+ category: zod.ZodEnum<{
2506
+ session: "session";
2507
+ request: "request";
2508
+ auth: "auth";
2509
+ admin: "admin";
2510
+ entity: "entity";
2511
+ signal: "signal";
2512
+ }>;
2513
+ occurred_at: zod.z.ZodISODateTime;
2514
+ created_at: zod.z.ZodISODateTime;
2515
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2516
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2517
+ human: "human";
2518
+ service: "service";
2519
+ system: "system";
2520
+ agent: "agent";
2521
+ }>, zod.ZodNull]>>;
2522
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2523
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2524
+ client_id: zod.ZodString;
2525
+ token_id: zod.ZodOptional<zod.ZodString>;
2526
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2527
+ direct: "direct";
2528
+ delegated: "delegated";
2529
+ pat_shared: "pat_shared";
2530
+ exchanged: "exchanged";
2531
+ }>>;
2532
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2533
+ grantor: zod.ZodOptional<zod.ZodString>;
2534
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2535
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2536
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2537
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2538
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2539
+ }, zod.z.core.$strip>, zod.ZodObject<{
2540
+ event_type: zod.ZodLiteral<"flowdef.deleted">;
2541
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
2542
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2543
+ id: zod.ZodString;
2544
+ project_id: zod.ZodString;
2545
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2546
+ event_type: zod.ZodString;
2547
+ category: zod.ZodEnum<{
2548
+ session: "session";
2549
+ request: "request";
2550
+ auth: "auth";
2551
+ admin: "admin";
2552
+ entity: "entity";
2553
+ signal: "signal";
2554
+ }>;
2555
+ occurred_at: zod.z.ZodISODateTime;
2556
+ created_at: zod.z.ZodISODateTime;
2557
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2558
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2559
+ human: "human";
2560
+ service: "service";
2561
+ system: "system";
2562
+ agent: "agent";
2563
+ }>, zod.ZodNull]>>;
2564
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2565
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2566
+ client_id: zod.ZodString;
2567
+ token_id: zod.ZodOptional<zod.ZodString>;
2568
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2569
+ direct: "direct";
2570
+ delegated: "delegated";
2571
+ pat_shared: "pat_shared";
2572
+ exchanged: "exchanged";
2573
+ }>>;
2574
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2575
+ grantor: zod.ZodOptional<zod.ZodString>;
2576
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2577
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2578
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2579
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2580
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2581
+ }, zod.z.core.$strip>, zod.ZodObject<{
2582
+ event_type: zod.ZodLiteral<"flowdef.updated">;
2583
+ payload: zod.ZodObject<{
2584
+ name: zod.ZodOptional<zod.ZodString>;
2585
+ status: zod.ZodOptional<zod.ZodString>;
2586
+ user_schema: zod.ZodOptional<zod.ZodString>;
2587
+ purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
2588
+ audience: zod.ZodOptional<zod.ZodObject<{
2589
+ app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2590
+ team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2591
+ }, zod.z.core.$strip>>;
2592
+ }, zod.z.core.$strip>;
2593
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2594
+ id: zod.ZodString;
2595
+ project_id: zod.ZodString;
2596
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2597
+ event_type: zod.ZodString;
2598
+ category: zod.ZodEnum<{
2599
+ session: "session";
2600
+ request: "request";
2601
+ auth: "auth";
2602
+ admin: "admin";
2603
+ entity: "entity";
2604
+ signal: "signal";
2605
+ }>;
2606
+ occurred_at: zod.z.ZodISODateTime;
2607
+ created_at: zod.z.ZodISODateTime;
2608
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2609
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2610
+ human: "human";
2611
+ service: "service";
2612
+ system: "system";
2613
+ agent: "agent";
2614
+ }>, zod.ZodNull]>>;
2615
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2616
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2617
+ client_id: zod.ZodString;
2618
+ token_id: zod.ZodOptional<zod.ZodString>;
2619
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2620
+ direct: "direct";
2621
+ delegated: "delegated";
2622
+ pat_shared: "pat_shared";
2623
+ exchanged: "exchanged";
2624
+ }>>;
2625
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2626
+ grantor: zod.ZodOptional<zod.ZodString>;
2627
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2628
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2629
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2630
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2631
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2632
+ }, zod.z.core.$strip>, zod.ZodObject<{
2633
+ event_type: zod.ZodLiteral<"project.created">;
2634
+ payload: zod.ZodObject<{
2635
+ name: zod.ZodOptional<zod.ZodString>;
2636
+ preview_origins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2637
+ }, zod.z.core.$strip>;
2638
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2639
+ id: zod.ZodString;
2640
+ project_id: zod.ZodString;
2641
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2642
+ event_type: zod.ZodString;
2643
+ category: zod.ZodEnum<{
2644
+ session: "session";
2645
+ request: "request";
2646
+ auth: "auth";
2647
+ admin: "admin";
2648
+ entity: "entity";
2649
+ signal: "signal";
2650
+ }>;
2651
+ occurred_at: zod.z.ZodISODateTime;
2652
+ created_at: zod.z.ZodISODateTime;
2653
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2654
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2655
+ human: "human";
2656
+ service: "service";
2657
+ system: "system";
2658
+ agent: "agent";
2659
+ }>, zod.ZodNull]>>;
2660
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2661
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2662
+ client_id: zod.ZodString;
2663
+ token_id: zod.ZodOptional<zod.ZodString>;
2664
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2665
+ direct: "direct";
2666
+ delegated: "delegated";
2667
+ pat_shared: "pat_shared";
2668
+ exchanged: "exchanged";
2669
+ }>>;
2670
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2671
+ grantor: zod.ZodOptional<zod.ZodString>;
2672
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2673
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2674
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2675
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2676
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2677
+ }, zod.z.core.$strip>, zod.ZodObject<{
2678
+ event_type: zod.ZodLiteral<"project.deleted">;
2679
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
2680
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2681
+ id: zod.ZodString;
2682
+ project_id: zod.ZodString;
2683
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2684
+ event_type: zod.ZodString;
2685
+ category: zod.ZodEnum<{
2686
+ session: "session";
2687
+ request: "request";
2688
+ auth: "auth";
2689
+ admin: "admin";
2690
+ entity: "entity";
2691
+ signal: "signal";
2692
+ }>;
2693
+ occurred_at: zod.z.ZodISODateTime;
2694
+ created_at: zod.z.ZodISODateTime;
2695
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2696
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2697
+ human: "human";
2698
+ service: "service";
2699
+ system: "system";
2700
+ agent: "agent";
2701
+ }>, zod.ZodNull]>>;
2702
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2703
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2704
+ client_id: zod.ZodString;
2705
+ token_id: zod.ZodOptional<zod.ZodString>;
2706
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2707
+ direct: "direct";
2708
+ delegated: "delegated";
2709
+ pat_shared: "pat_shared";
2710
+ exchanged: "exchanged";
2711
+ }>>;
2712
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2713
+ grantor: zod.ZodOptional<zod.ZodString>;
2714
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2715
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2716
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2717
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2718
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2719
+ }, zod.z.core.$strip>, zod.ZodObject<{
2720
+ event_type: zod.ZodLiteral<"project.updated">;
2721
+ payload: zod.ZodObject<{
2722
+ name: zod.ZodOptional<zod.ZodString>;
2723
+ preview_origins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2724
+ }, zod.z.core.$strip>;
2725
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2726
+ id: zod.ZodString;
2727
+ project_id: zod.ZodString;
2728
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2729
+ event_type: zod.ZodString;
2730
+ category: zod.ZodEnum<{
2731
+ session: "session";
2732
+ request: "request";
2733
+ auth: "auth";
2734
+ admin: "admin";
2735
+ entity: "entity";
2736
+ signal: "signal";
2737
+ }>;
2738
+ occurred_at: zod.z.ZodISODateTime;
2739
+ created_at: zod.z.ZodISODateTime;
2740
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2741
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2742
+ human: "human";
2743
+ service: "service";
2744
+ system: "system";
2745
+ agent: "agent";
2746
+ }>, zod.ZodNull]>>;
2747
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2748
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2749
+ client_id: zod.ZodString;
2750
+ token_id: zod.ZodOptional<zod.ZodString>;
2751
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2752
+ direct: "direct";
2753
+ delegated: "delegated";
2754
+ pat_shared: "pat_shared";
2755
+ exchanged: "exchanged";
2756
+ }>>;
2757
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2758
+ grantor: zod.ZodOptional<zod.ZodString>;
2759
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2760
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2761
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2762
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2763
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2764
+ }, zod.z.core.$strip>, zod.ZodObject<{
2765
+ event_type: zod.ZodLiteral<"request.api">;
2766
+ payload: zod.ZodObject<{
2767
+ operation_id: zod.ZodString;
2768
+ method: zod.ZodEnum<{
2769
+ GET: "GET";
2770
+ POST: "POST";
2771
+ PUT: "PUT";
2772
+ PATCH: "PATCH";
2773
+ DELETE: "DELETE";
2774
+ HEAD: "HEAD";
2775
+ OPTIONS: "OPTIONS";
2776
+ }>;
2777
+ route_template: zod.ZodString;
2778
+ status: zod.ZodNumber;
2779
+ duration_ms: zod.ZodNumber;
2780
+ }, zod.z.core.$strip>;
2781
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2782
+ id: zod.ZodString;
2783
+ project_id: zod.ZodString;
2784
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2785
+ event_type: zod.ZodString;
2786
+ category: zod.ZodEnum<{
2787
+ session: "session";
2788
+ request: "request";
2789
+ auth: "auth";
2790
+ admin: "admin";
2791
+ entity: "entity";
2792
+ signal: "signal";
2793
+ }>;
2794
+ occurred_at: zod.z.ZodISODateTime;
2795
+ created_at: zod.z.ZodISODateTime;
2796
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2797
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2798
+ human: "human";
2799
+ service: "service";
2800
+ system: "system";
2801
+ agent: "agent";
2802
+ }>, zod.ZodNull]>>;
2803
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2804
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2805
+ client_id: zod.ZodString;
2806
+ token_id: zod.ZodOptional<zod.ZodString>;
2807
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2808
+ direct: "direct";
2809
+ delegated: "delegated";
2810
+ pat_shared: "pat_shared";
2811
+ exchanged: "exchanged";
2812
+ }>>;
2813
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2814
+ grantor: zod.ZodOptional<zod.ZodString>;
2815
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2816
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2817
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2818
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2819
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2820
+ }, zod.z.core.$strip>, zod.ZodObject<{
2821
+ event_type: zod.ZodLiteral<"schema.created">;
2822
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
2823
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2824
+ id: zod.ZodString;
2825
+ project_id: zod.ZodString;
2826
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2827
+ event_type: zod.ZodString;
2828
+ category: zod.ZodEnum<{
2829
+ session: "session";
2830
+ request: "request";
2831
+ auth: "auth";
2832
+ admin: "admin";
2833
+ entity: "entity";
2834
+ signal: "signal";
2835
+ }>;
2836
+ occurred_at: zod.z.ZodISODateTime;
2837
+ created_at: zod.z.ZodISODateTime;
2838
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2839
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2840
+ human: "human";
2841
+ service: "service";
2842
+ system: "system";
2843
+ agent: "agent";
2844
+ }>, zod.ZodNull]>>;
2845
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2846
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2847
+ client_id: zod.ZodString;
2848
+ token_id: zod.ZodOptional<zod.ZodString>;
2849
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2850
+ direct: "direct";
2851
+ delegated: "delegated";
2852
+ pat_shared: "pat_shared";
2853
+ exchanged: "exchanged";
2854
+ }>>;
2855
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2856
+ grantor: zod.ZodOptional<zod.ZodString>;
2857
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2858
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2859
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2860
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2861
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2862
+ }, zod.z.core.$strip>, zod.ZodObject<{
2863
+ event_type: zod.ZodLiteral<"session.deleted">;
2864
+ payload: zod.ZodObject<{
2865
+ reason: zod.ZodOptional<zod.ZodString>;
2866
+ }, zod.z.core.$strip>;
2867
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2868
+ id: zod.ZodString;
2869
+ project_id: zod.ZodString;
2870
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2871
+ event_type: zod.ZodString;
2872
+ category: zod.ZodEnum<{
2873
+ session: "session";
2874
+ request: "request";
2875
+ auth: "auth";
2876
+ admin: "admin";
2877
+ entity: "entity";
2878
+ signal: "signal";
2879
+ }>;
2880
+ occurred_at: zod.z.ZodISODateTime;
2881
+ created_at: zod.z.ZodISODateTime;
2882
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2883
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2884
+ human: "human";
2885
+ service: "service";
2886
+ system: "system";
2887
+ agent: "agent";
2888
+ }>, zod.ZodNull]>>;
2889
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2890
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2891
+ client_id: zod.ZodString;
2892
+ token_id: zod.ZodOptional<zod.ZodString>;
2893
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2894
+ direct: "direct";
2895
+ delegated: "delegated";
2896
+ pat_shared: "pat_shared";
2897
+ exchanged: "exchanged";
2898
+ }>>;
2899
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2900
+ grantor: zod.ZodOptional<zod.ZodString>;
2901
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2902
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2903
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2904
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2905
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2906
+ }, zod.z.core.$strip>, zod.ZodObject<{
2907
+ event_type: zod.ZodLiteral<"session.established">;
2908
+ payload: zod.ZodObject<{
2909
+ user_id: zod.ZodOptional<zod.ZodString>;
2910
+ }, zod.z.core.$strip>;
2911
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2912
+ id: zod.ZodString;
2913
+ project_id: zod.ZodString;
2914
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2915
+ event_type: zod.ZodString;
2916
+ category: zod.ZodEnum<{
2917
+ session: "session";
2918
+ request: "request";
2919
+ auth: "auth";
2920
+ admin: "admin";
2921
+ entity: "entity";
2922
+ signal: "signal";
2923
+ }>;
2924
+ occurred_at: zod.z.ZodISODateTime;
2925
+ created_at: zod.z.ZodISODateTime;
2926
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2927
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2928
+ human: "human";
2929
+ service: "service";
2930
+ system: "system";
2931
+ agent: "agent";
2932
+ }>, zod.ZodNull]>>;
2933
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2934
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2935
+ client_id: zod.ZodString;
2936
+ token_id: zod.ZodOptional<zod.ZodString>;
2937
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2938
+ direct: "direct";
2939
+ delegated: "delegated";
2940
+ pat_shared: "pat_shared";
2941
+ exchanged: "exchanged";
2942
+ }>>;
2943
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2944
+ grantor: zod.ZodOptional<zod.ZodString>;
2945
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2946
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2947
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2948
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2949
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2950
+ }, zod.z.core.$strip>, zod.ZodObject<{
2951
+ event_type: zod.ZodLiteral<"team.created">;
2952
+ payload: zod.ZodObject<{
2953
+ name: zod.ZodOptional<zod.ZodString>;
2954
+ }, zod.z.core.$strip>;
2955
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2956
+ id: zod.ZodString;
2957
+ project_id: zod.ZodString;
2958
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2959
+ event_type: zod.ZodString;
2960
+ category: zod.ZodEnum<{
2961
+ session: "session";
2962
+ request: "request";
2963
+ auth: "auth";
2964
+ admin: "admin";
2965
+ entity: "entity";
2966
+ signal: "signal";
2967
+ }>;
2968
+ occurred_at: zod.z.ZodISODateTime;
2969
+ created_at: zod.z.ZodISODateTime;
2970
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2971
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
2972
+ human: "human";
2973
+ service: "service";
2974
+ system: "system";
2975
+ agent: "agent";
2976
+ }>, zod.ZodNull]>>;
2977
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2978
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2979
+ client_id: zod.ZodString;
2980
+ token_id: zod.ZodOptional<zod.ZodString>;
2981
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
2982
+ direct: "direct";
2983
+ delegated: "delegated";
2984
+ pat_shared: "pat_shared";
2985
+ exchanged: "exchanged";
2986
+ }>>;
2987
+ delegation_id: zod.ZodOptional<zod.ZodString>;
2988
+ grantor: zod.ZodOptional<zod.ZodString>;
2989
+ fingerprint: zod.ZodOptional<zod.ZodString>;
2990
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2991
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2992
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
2993
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
2994
+ }, zod.z.core.$strip>, zod.ZodObject<{
2995
+ event_type: zod.ZodLiteral<"team.deactivated">;
2996
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
2997
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
2998
+ id: zod.ZodString;
2999
+ project_id: zod.ZodString;
3000
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3001
+ event_type: zod.ZodString;
3002
+ category: zod.ZodEnum<{
3003
+ session: "session";
3004
+ request: "request";
3005
+ auth: "auth";
3006
+ admin: "admin";
3007
+ entity: "entity";
3008
+ signal: "signal";
3009
+ }>;
3010
+ occurred_at: zod.z.ZodISODateTime;
3011
+ created_at: zod.z.ZodISODateTime;
3012
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3013
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3014
+ human: "human";
3015
+ service: "service";
3016
+ system: "system";
3017
+ agent: "agent";
3018
+ }>, zod.ZodNull]>>;
3019
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3020
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3021
+ client_id: zod.ZodString;
3022
+ token_id: zod.ZodOptional<zod.ZodString>;
3023
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3024
+ direct: "direct";
3025
+ delegated: "delegated";
3026
+ pat_shared: "pat_shared";
3027
+ exchanged: "exchanged";
3028
+ }>>;
3029
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3030
+ grantor: zod.ZodOptional<zod.ZodString>;
3031
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3032
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3033
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3034
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3035
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3036
+ }, zod.z.core.$strip>, zod.ZodObject<{
3037
+ event_type: zod.ZodLiteral<"team.updated">;
3038
+ payload: zod.ZodObject<{
3039
+ name: zod.ZodOptional<zod.ZodString>;
3040
+ }, zod.z.core.$strip>;
3041
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3042
+ id: zod.ZodString;
3043
+ project_id: zod.ZodString;
3044
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3045
+ event_type: zod.ZodString;
3046
+ category: zod.ZodEnum<{
3047
+ session: "session";
3048
+ request: "request";
3049
+ auth: "auth";
3050
+ admin: "admin";
3051
+ entity: "entity";
3052
+ signal: "signal";
3053
+ }>;
3054
+ occurred_at: zod.z.ZodISODateTime;
3055
+ created_at: zod.z.ZodISODateTime;
3056
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3057
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3058
+ human: "human";
3059
+ service: "service";
3060
+ system: "system";
3061
+ agent: "agent";
3062
+ }>, zod.ZodNull]>>;
3063
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3064
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3065
+ client_id: zod.ZodString;
3066
+ token_id: zod.ZodOptional<zod.ZodString>;
3067
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3068
+ direct: "direct";
3069
+ delegated: "delegated";
3070
+ pat_shared: "pat_shared";
3071
+ exchanged: "exchanged";
3072
+ }>>;
3073
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3074
+ grantor: zod.ZodOptional<zod.ZodString>;
3075
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3076
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3077
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3078
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3079
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3080
+ }, zod.z.core.$strip>, zod.ZodObject<{
3081
+ event_type: zod.ZodLiteral<"user.create.failed">;
3082
+ payload: zod.ZodObject<{
3083
+ key_name: zod.ZodOptional<zod.ZodString>;
3084
+ }, zod.z.core.$strip>;
3085
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3086
+ id: zod.ZodString;
3087
+ project_id: zod.ZodString;
3088
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3089
+ event_type: zod.ZodString;
3090
+ category: zod.ZodEnum<{
3091
+ session: "session";
3092
+ request: "request";
3093
+ auth: "auth";
3094
+ admin: "admin";
3095
+ entity: "entity";
3096
+ signal: "signal";
3097
+ }>;
3098
+ occurred_at: zod.z.ZodISODateTime;
3099
+ created_at: zod.z.ZodISODateTime;
3100
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3101
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3102
+ human: "human";
3103
+ service: "service";
3104
+ system: "system";
3105
+ agent: "agent";
3106
+ }>, zod.ZodNull]>>;
3107
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3108
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3109
+ client_id: zod.ZodString;
3110
+ token_id: zod.ZodOptional<zod.ZodString>;
3111
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3112
+ direct: "direct";
3113
+ delegated: "delegated";
3114
+ pat_shared: "pat_shared";
3115
+ exchanged: "exchanged";
3116
+ }>>;
3117
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3118
+ grantor: zod.ZodOptional<zod.ZodString>;
3119
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3120
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3121
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3122
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3123
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3124
+ }, zod.z.core.$strip>, zod.ZodObject<{
3125
+ event_type: zod.ZodLiteral<"user.created">;
3126
+ payload: zod.ZodObject<{
3127
+ schema_id: zod.ZodOptional<zod.ZodString>;
3128
+ attribute_keys: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
3129
+ attributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3130
+ }, zod.z.core.$strip>;
3131
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3132
+ id: zod.ZodString;
3133
+ project_id: zod.ZodString;
3134
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3135
+ event_type: zod.ZodString;
3136
+ category: zod.ZodEnum<{
3137
+ session: "session";
3138
+ request: "request";
3139
+ auth: "auth";
3140
+ admin: "admin";
3141
+ entity: "entity";
3142
+ signal: "signal";
3143
+ }>;
3144
+ occurred_at: zod.z.ZodISODateTime;
3145
+ created_at: zod.z.ZodISODateTime;
3146
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3147
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3148
+ human: "human";
3149
+ service: "service";
3150
+ system: "system";
3151
+ agent: "agent";
3152
+ }>, zod.ZodNull]>>;
3153
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3154
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3155
+ client_id: zod.ZodString;
3156
+ token_id: zod.ZodOptional<zod.ZodString>;
3157
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3158
+ direct: "direct";
3159
+ delegated: "delegated";
3160
+ pat_shared: "pat_shared";
3161
+ exchanged: "exchanged";
3162
+ }>>;
3163
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3164
+ grantor: zod.ZodOptional<zod.ZodString>;
3165
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3166
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3167
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3168
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3169
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3170
+ }, zod.z.core.$strip>, zod.ZodObject<{
3171
+ event_type: zod.ZodLiteral<"user.deleted">;
3172
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
3173
+ }, zod.z.core.$strip>>]>>;
3174
+ next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3175
+ }, zod.z.core.$strip>;
3176
+ /**
3177
+ * Loads a single event by `(project_id, id)`. Requires `events.read`.
3178
+ Events are not registered in `resource_scope_index`; project scope is
3179
+ required on the query (ADR 049). Misses and cross-project ids return 404.
3180
+
3181
+ Pre-claim projects return 404 (stored events stay invisible until claim).
3182
+
3183
+ * @summary Get event by ID
3184
+ */
3185
+ declare const GetEventParams: zod.ZodObject<{
3186
+ id: zod.ZodString;
3187
+ }, zod.z.core.$strip>;
3188
+ declare const getEventQueryProjectIdRegExp: RegExp;
3189
+ declare const GetEventQueryParams: zod.ZodObject<{
3190
+ project_id: zod.ZodString;
3191
+ }, zod.z.core.$strict>;
3192
+ declare const getEventResponseOneOneProjectIdRegExp: RegExp;
3193
+ declare const getEventResponseTwoOneProjectIdRegExp: RegExp;
3194
+ declare const getEventResponseThreeOneProjectIdRegExp: RegExp;
3195
+ declare const getEventResponseFourOneProjectIdRegExp: RegExp;
3196
+ declare const getEventResponseFiveOneProjectIdRegExp: RegExp;
3197
+ declare const getEventResponseSixOneProjectIdRegExp: RegExp;
3198
+ declare const getEventResponseSevenOneProjectIdRegExp: RegExp;
3199
+ declare const getEventResponseEightOneProjectIdRegExp: RegExp;
3200
+ declare const getEventResponseNineOneProjectIdRegExp: RegExp;
3201
+ declare const getEventResponseOnezeroOneProjectIdRegExp: RegExp;
3202
+ declare const getEventResponseOneoneOneProjectIdRegExp: RegExp;
3203
+ declare const getEventResponseOnetwoOneProjectIdRegExp: RegExp;
3204
+ declare const getEventResponseOnethreeOneProjectIdRegExp: RegExp;
3205
+ declare const getEventResponseOnefourOneProjectIdRegExp: RegExp;
3206
+ declare const getEventResponseOnefiveOneProjectIdRegExp: RegExp;
3207
+ declare const getEventResponseOnesixOneProjectIdRegExp: RegExp;
3208
+ declare const getEventResponseOnesevenOneProjectIdRegExp: RegExp;
3209
+ declare const getEventResponseOnesevenTwoPayloadStatusMin = 100;
3210
+ declare const getEventResponseOnesevenTwoPayloadStatusMax = 599;
3211
+ declare const getEventResponseOnesevenTwoPayloadDurationMsMin = 0;
3212
+ declare const getEventResponseOneeightOneProjectIdRegExp: RegExp;
3213
+ declare const getEventResponseOnenineOneProjectIdRegExp: RegExp;
3214
+ declare const getEventResponseTwozeroOneProjectIdRegExp: RegExp;
3215
+ declare const getEventResponseTwooneOneProjectIdRegExp: RegExp;
3216
+ declare const getEventResponseTwotwoOneProjectIdRegExp: RegExp;
3217
+ declare const getEventResponseTwothreeOneProjectIdRegExp: RegExp;
3218
+ declare const getEventResponseTwofourOneProjectIdRegExp: RegExp;
3219
+ declare const getEventResponseTwofiveOneProjectIdRegExp: RegExp;
3220
+ declare const getEventResponseTwosixOneProjectIdRegExp: RegExp;
3221
+ declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersection<zod.ZodObject<{
3222
+ id: zod.ZodString;
3223
+ project_id: zod.ZodString;
3224
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3225
+ event_type: zod.ZodString;
3226
+ category: zod.ZodEnum<{
3227
+ session: "session";
3228
+ request: "request";
3229
+ auth: "auth";
3230
+ admin: "admin";
3231
+ entity: "entity";
3232
+ signal: "signal";
3233
+ }>;
3234
+ occurred_at: zod.z.ZodISODateTime;
3235
+ created_at: zod.z.ZodISODateTime;
3236
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3237
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3238
+ human: "human";
3239
+ service: "service";
3240
+ system: "system";
3241
+ agent: "agent";
3242
+ }>, zod.ZodNull]>>;
3243
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3244
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3245
+ client_id: zod.ZodString;
3246
+ token_id: zod.ZodOptional<zod.ZodString>;
3247
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3248
+ direct: "direct";
3249
+ delegated: "delegated";
3250
+ pat_shared: "pat_shared";
3251
+ exchanged: "exchanged";
3252
+ }>>;
3253
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3254
+ grantor: zod.ZodOptional<zod.ZodString>;
3255
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3256
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3257
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3258
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3259
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3260
+ }, zod.z.core.$strip>, zod.ZodObject<{
3261
+ event_type: zod.ZodLiteral<"auth.attempt.created">;
3262
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
3263
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3264
+ id: zod.ZodString;
3265
+ project_id: zod.ZodString;
3266
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3267
+ event_type: zod.ZodString;
3268
+ category: zod.ZodEnum<{
3269
+ session: "session";
3270
+ request: "request";
3271
+ auth: "auth";
3272
+ admin: "admin";
3273
+ entity: "entity";
3274
+ signal: "signal";
3275
+ }>;
3276
+ occurred_at: zod.z.ZodISODateTime;
3277
+ created_at: zod.z.ZodISODateTime;
3278
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3279
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3280
+ human: "human";
3281
+ service: "service";
3282
+ system: "system";
3283
+ agent: "agent";
3284
+ }>, zod.ZodNull]>>;
3285
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3286
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3287
+ client_id: zod.ZodString;
3288
+ token_id: zod.ZodOptional<zod.ZodString>;
3289
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3290
+ direct: "direct";
3291
+ delegated: "delegated";
3292
+ pat_shared: "pat_shared";
3293
+ exchanged: "exchanged";
3294
+ }>>;
3295
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3296
+ grantor: zod.ZodOptional<zod.ZodString>;
3297
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3298
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3299
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3300
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3301
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3302
+ }, zod.z.core.$strip>, zod.ZodObject<{
3303
+ event_type: zod.ZodLiteral<"auth.attempt.handed_off">;
3304
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
3305
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3306
+ id: zod.ZodString;
3307
+ project_id: zod.ZodString;
3308
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3309
+ event_type: zod.ZodString;
3310
+ category: zod.ZodEnum<{
3311
+ session: "session";
3312
+ request: "request";
3313
+ auth: "auth";
3314
+ admin: "admin";
3315
+ entity: "entity";
3316
+ signal: "signal";
3317
+ }>;
3318
+ occurred_at: zod.z.ZodISODateTime;
3319
+ created_at: zod.z.ZodISODateTime;
3320
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3321
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3322
+ human: "human";
3323
+ service: "service";
3324
+ system: "system";
3325
+ agent: "agent";
3326
+ }>, zod.ZodNull]>>;
3327
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3328
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3329
+ client_id: zod.ZodString;
3330
+ token_id: zod.ZodOptional<zod.ZodString>;
3331
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3332
+ direct: "direct";
3333
+ delegated: "delegated";
3334
+ pat_shared: "pat_shared";
3335
+ exchanged: "exchanged";
3336
+ }>>;
3337
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3338
+ grantor: zod.ZodOptional<zod.ZodString>;
3339
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3340
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3341
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3342
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3343
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3344
+ }, zod.z.core.$strip>, zod.ZodObject<{
3345
+ event_type: zod.ZodLiteral<"auth.check.failed">;
3346
+ payload: zod.ZodObject<{
3347
+ check_id: zod.ZodString;
3348
+ check_type: zod.ZodOptional<zod.ZodString>;
3349
+ auth_attempt_id: zod.ZodOptional<zod.ZodString>;
3350
+ }, zod.z.core.$strip>;
3351
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3352
+ id: zod.ZodString;
3353
+ project_id: zod.ZodString;
3354
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3355
+ event_type: zod.ZodString;
3356
+ category: zod.ZodEnum<{
3357
+ session: "session";
3358
+ request: "request";
3359
+ auth: "auth";
3360
+ admin: "admin";
3361
+ entity: "entity";
3362
+ signal: "signal";
3363
+ }>;
3364
+ occurred_at: zod.z.ZodISODateTime;
3365
+ created_at: zod.z.ZodISODateTime;
3366
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3367
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3368
+ human: "human";
3369
+ service: "service";
3370
+ system: "system";
3371
+ agent: "agent";
3372
+ }>, zod.ZodNull]>>;
3373
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3374
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3375
+ client_id: zod.ZodString;
3376
+ token_id: zod.ZodOptional<zod.ZodString>;
3377
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3378
+ direct: "direct";
3379
+ delegated: "delegated";
3380
+ pat_shared: "pat_shared";
3381
+ exchanged: "exchanged";
3382
+ }>>;
3383
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3384
+ grantor: zod.ZodOptional<zod.ZodString>;
3385
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3386
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3387
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3388
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3389
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3390
+ }, zod.z.core.$strip>, zod.ZodObject<{
3391
+ event_type: zod.ZodLiteral<"auth.check.succeeded">;
3392
+ payload: zod.ZodObject<{
3393
+ check_id: zod.ZodString;
3394
+ check_type: zod.ZodOptional<zod.ZodString>;
3395
+ auth_attempt_id: zod.ZodOptional<zod.ZodString>;
3396
+ }, zod.z.core.$strip>;
3397
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3398
+ id: zod.ZodString;
3399
+ project_id: zod.ZodString;
3400
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3401
+ event_type: zod.ZodString;
3402
+ category: zod.ZodEnum<{
3403
+ session: "session";
3404
+ request: "request";
3405
+ auth: "auth";
3406
+ admin: "admin";
3407
+ entity: "entity";
3408
+ signal: "signal";
3409
+ }>;
3410
+ occurred_at: zod.z.ZodISODateTime;
3411
+ created_at: zod.z.ZodISODateTime;
3412
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3413
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3414
+ human: "human";
3415
+ service: "service";
3416
+ system: "system";
3417
+ agent: "agent";
3418
+ }>, zod.ZodNull]>>;
3419
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3420
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3421
+ client_id: zod.ZodString;
3422
+ token_id: zod.ZodOptional<zod.ZodString>;
3423
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3424
+ direct: "direct";
3425
+ delegated: "delegated";
3426
+ pat_shared: "pat_shared";
3427
+ exchanged: "exchanged";
3428
+ }>>;
3429
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3430
+ grantor: zod.ZodOptional<zod.ZodString>;
3431
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3432
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3433
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3434
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3435
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3436
+ }, zod.z.core.$strip>, zod.ZodObject<{
3437
+ event_type: zod.ZodLiteral<"auth.factor.passkey.enrolled">;
3438
+ payload: zod.ZodObject<{
3439
+ user_id: zod.ZodString;
3440
+ factor_id: zod.ZodOptional<zod.ZodString>;
3441
+ }, zod.z.core.$strip>;
3442
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3443
+ id: zod.ZodString;
3444
+ project_id: zod.ZodString;
3445
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3446
+ event_type: zod.ZodString;
3447
+ category: zod.ZodEnum<{
3448
+ session: "session";
3449
+ request: "request";
3450
+ auth: "auth";
3451
+ admin: "admin";
3452
+ entity: "entity";
3453
+ signal: "signal";
3454
+ }>;
3455
+ occurred_at: zod.z.ZodISODateTime;
3456
+ created_at: zod.z.ZodISODateTime;
3457
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3458
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3459
+ human: "human";
3460
+ service: "service";
3461
+ system: "system";
3462
+ agent: "agent";
3463
+ }>, zod.ZodNull]>>;
3464
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3465
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3466
+ client_id: zod.ZodString;
3467
+ token_id: zod.ZodOptional<zod.ZodString>;
3468
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3469
+ direct: "direct";
3470
+ delegated: "delegated";
3471
+ pat_shared: "pat_shared";
3472
+ exchanged: "exchanged";
3473
+ }>>;
3474
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3475
+ grantor: zod.ZodOptional<zod.ZodString>;
3476
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3477
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3478
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3479
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3480
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3481
+ }, zod.z.core.$strip>, zod.ZodObject<{
3482
+ event_type: zod.ZodLiteral<"auth.factor.password.set">;
3483
+ payload: zod.ZodObject<{
3484
+ user_id: zod.ZodString;
3485
+ factor_id: zod.ZodOptional<zod.ZodString>;
3486
+ }, zod.z.core.$strip>;
3487
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3488
+ id: zod.ZodString;
3489
+ project_id: zod.ZodString;
3490
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3491
+ event_type: zod.ZodString;
3492
+ category: zod.ZodEnum<{
3493
+ session: "session";
3494
+ request: "request";
3495
+ auth: "auth";
3496
+ admin: "admin";
3497
+ entity: "entity";
3498
+ signal: "signal";
3499
+ }>;
3500
+ occurred_at: zod.z.ZodISODateTime;
3501
+ created_at: zod.z.ZodISODateTime;
3502
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3503
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3504
+ human: "human";
3505
+ service: "service";
3506
+ system: "system";
3507
+ agent: "agent";
3508
+ }>, zod.ZodNull]>>;
3509
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3510
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3511
+ client_id: zod.ZodString;
3512
+ token_id: zod.ZodOptional<zod.ZodString>;
3513
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3514
+ direct: "direct";
3515
+ delegated: "delegated";
3516
+ pat_shared: "pat_shared";
3517
+ exchanged: "exchanged";
3518
+ }>>;
3519
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3520
+ grantor: zod.ZodOptional<zod.ZodString>;
3521
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3522
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3523
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3524
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3525
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3526
+ }, zod.z.core.$strip>, zod.ZodObject<{
3527
+ event_type: zod.ZodLiteral<"auth.token.issued">;
3528
+ payload: zod.ZodObject<{
3529
+ scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
3530
+ }, zod.z.core.$strip>;
3531
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3532
+ id: zod.ZodString;
3533
+ project_id: zod.ZodString;
3534
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3535
+ event_type: zod.ZodString;
3536
+ category: zod.ZodEnum<{
3537
+ session: "session";
3538
+ request: "request";
3539
+ auth: "auth";
3540
+ admin: "admin";
3541
+ entity: "entity";
3542
+ signal: "signal";
3543
+ }>;
3544
+ occurred_at: zod.z.ZodISODateTime;
3545
+ created_at: zod.z.ZodISODateTime;
3546
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3547
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3548
+ human: "human";
3549
+ service: "service";
3550
+ system: "system";
3551
+ agent: "agent";
3552
+ }>, zod.ZodNull]>>;
3553
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3554
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3555
+ client_id: zod.ZodString;
3556
+ token_id: zod.ZodOptional<zod.ZodString>;
3557
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3558
+ direct: "direct";
3559
+ delegated: "delegated";
3560
+ pat_shared: "pat_shared";
3561
+ exchanged: "exchanged";
3562
+ }>>;
3563
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3564
+ grantor: zod.ZodOptional<zod.ZodString>;
3565
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3566
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3567
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3568
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3569
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3570
+ }, zod.z.core.$strip>, zod.ZodObject<{
3571
+ event_type: zod.ZodLiteral<"auth.token.revoked">;
3572
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
3573
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3574
+ id: zod.ZodString;
3575
+ project_id: zod.ZodString;
3576
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3577
+ event_type: zod.ZodString;
3578
+ category: zod.ZodEnum<{
3579
+ session: "session";
3580
+ request: "request";
3581
+ auth: "auth";
3582
+ admin: "admin";
3583
+ entity: "entity";
3584
+ signal: "signal";
3585
+ }>;
3586
+ occurred_at: zod.z.ZodISODateTime;
3587
+ created_at: zod.z.ZodISODateTime;
3588
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3589
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3590
+ human: "human";
3591
+ service: "service";
3592
+ system: "system";
3593
+ agent: "agent";
3594
+ }>, zod.ZodNull]>>;
3595
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3596
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3597
+ client_id: zod.ZodString;
3598
+ token_id: zod.ZodOptional<zod.ZodString>;
3599
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3600
+ direct: "direct";
3601
+ delegated: "delegated";
3602
+ pat_shared: "pat_shared";
3603
+ exchanged: "exchanged";
3604
+ }>>;
3605
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3606
+ grantor: zod.ZodOptional<zod.ZodString>;
3607
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3608
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3609
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3610
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3611
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3612
+ }, zod.z.core.$strip>, zod.ZodObject<{
3613
+ event_type: zod.ZodLiteral<"authz.granted">;
3614
+ payload: zod.ZodObject<{
3615
+ principal_type: zod.ZodOptional<zod.ZodString>;
3616
+ principal_id: zod.ZodOptional<zod.ZodString>;
3617
+ relation: zod.ZodOptional<zod.ZodString>;
3618
+ }, zod.z.core.$strip>;
3619
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3620
+ id: zod.ZodString;
3621
+ project_id: zod.ZodString;
3622
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3623
+ event_type: zod.ZodString;
3624
+ category: zod.ZodEnum<{
3625
+ session: "session";
3626
+ request: "request";
3627
+ auth: "auth";
3628
+ admin: "admin";
3629
+ entity: "entity";
3630
+ signal: "signal";
3631
+ }>;
3632
+ occurred_at: zod.z.ZodISODateTime;
3633
+ created_at: zod.z.ZodISODateTime;
3634
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3635
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3636
+ human: "human";
3637
+ service: "service";
3638
+ system: "system";
3639
+ agent: "agent";
3640
+ }>, zod.ZodNull]>>;
3641
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3642
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3643
+ client_id: zod.ZodString;
3644
+ token_id: zod.ZodOptional<zod.ZodString>;
3645
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3646
+ direct: "direct";
3647
+ delegated: "delegated";
3648
+ pat_shared: "pat_shared";
3649
+ exchanged: "exchanged";
3650
+ }>>;
3651
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3652
+ grantor: zod.ZodOptional<zod.ZodString>;
3653
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3654
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3655
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3656
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3657
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3658
+ }, zod.z.core.$strip>, zod.ZodObject<{
3659
+ event_type: zod.ZodLiteral<"branding.created">;
3660
+ payload: zod.ZodObject<{
3661
+ layout: zod.ZodOptional<zod.ZodString>;
3662
+ logo_url: zod.ZodOptional<zod.ZodString>;
3663
+ font_url: zod.ZodOptional<zod.ZodString>;
3664
+ hero_url: zod.ZodOptional<zod.ZodString>;
3665
+ }, zod.z.core.$strip>;
3666
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3667
+ id: zod.ZodString;
3668
+ project_id: zod.ZodString;
3669
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3670
+ event_type: zod.ZodString;
3671
+ category: zod.ZodEnum<{
3672
+ session: "session";
3673
+ request: "request";
3674
+ auth: "auth";
3675
+ admin: "admin";
3676
+ entity: "entity";
3677
+ signal: "signal";
3678
+ }>;
3679
+ occurred_at: zod.z.ZodISODateTime;
3680
+ created_at: zod.z.ZodISODateTime;
3681
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3682
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3683
+ human: "human";
3684
+ service: "service";
3685
+ system: "system";
3686
+ agent: "agent";
3687
+ }>, zod.ZodNull]>>;
3688
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3689
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3690
+ client_id: zod.ZodString;
3691
+ token_id: zod.ZodOptional<zod.ZodString>;
3692
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3693
+ direct: "direct";
3694
+ delegated: "delegated";
3695
+ pat_shared: "pat_shared";
3696
+ exchanged: "exchanged";
3697
+ }>>;
3698
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3699
+ grantor: zod.ZodOptional<zod.ZodString>;
3700
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3701
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3702
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3703
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3704
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3705
+ }, zod.z.core.$strip>, zod.ZodObject<{
3706
+ event_type: zod.ZodLiteral<"flowdef.created">;
3707
+ payload: zod.ZodObject<{
3708
+ name: zod.ZodOptional<zod.ZodString>;
3709
+ status: zod.ZodOptional<zod.ZodString>;
3710
+ user_schema: zod.ZodOptional<zod.ZodString>;
3711
+ purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
3712
+ audience: zod.ZodOptional<zod.ZodObject<{
3713
+ app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
3714
+ team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
3715
+ }, zod.z.core.$strip>>;
3716
+ }, zod.z.core.$strip>;
3717
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3718
+ id: zod.ZodString;
3719
+ project_id: zod.ZodString;
3720
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3721
+ event_type: zod.ZodString;
3722
+ category: zod.ZodEnum<{
3723
+ session: "session";
3724
+ request: "request";
3725
+ auth: "auth";
3726
+ admin: "admin";
3727
+ entity: "entity";
3728
+ signal: "signal";
3729
+ }>;
3730
+ occurred_at: zod.z.ZodISODateTime;
3731
+ created_at: zod.z.ZodISODateTime;
3732
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3733
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3734
+ human: "human";
3735
+ service: "service";
3736
+ system: "system";
3737
+ agent: "agent";
3738
+ }>, zod.ZodNull]>>;
3739
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3740
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3741
+ client_id: zod.ZodString;
3742
+ token_id: zod.ZodOptional<zod.ZodString>;
3743
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3744
+ direct: "direct";
3745
+ delegated: "delegated";
3746
+ pat_shared: "pat_shared";
3747
+ exchanged: "exchanged";
3748
+ }>>;
3749
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3750
+ grantor: zod.ZodOptional<zod.ZodString>;
3751
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3752
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3753
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3754
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3755
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3756
+ }, zod.z.core.$strip>, zod.ZodObject<{
3757
+ event_type: zod.ZodLiteral<"flowdef.deleted">;
3758
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
3759
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3760
+ id: zod.ZodString;
3761
+ project_id: zod.ZodString;
3762
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3763
+ event_type: zod.ZodString;
3764
+ category: zod.ZodEnum<{
3765
+ session: "session";
3766
+ request: "request";
3767
+ auth: "auth";
3768
+ admin: "admin";
3769
+ entity: "entity";
3770
+ signal: "signal";
3771
+ }>;
3772
+ occurred_at: zod.z.ZodISODateTime;
3773
+ created_at: zod.z.ZodISODateTime;
3774
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3775
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3776
+ human: "human";
3777
+ service: "service";
3778
+ system: "system";
3779
+ agent: "agent";
3780
+ }>, zod.ZodNull]>>;
3781
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3782
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3783
+ client_id: zod.ZodString;
3784
+ token_id: zod.ZodOptional<zod.ZodString>;
3785
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3786
+ direct: "direct";
3787
+ delegated: "delegated";
3788
+ pat_shared: "pat_shared";
3789
+ exchanged: "exchanged";
3790
+ }>>;
3791
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3792
+ grantor: zod.ZodOptional<zod.ZodString>;
3793
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3794
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3795
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3796
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3797
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3798
+ }, zod.z.core.$strip>, zod.ZodObject<{
3799
+ event_type: zod.ZodLiteral<"flowdef.updated">;
3800
+ payload: zod.ZodObject<{
3801
+ name: zod.ZodOptional<zod.ZodString>;
3802
+ status: zod.ZodOptional<zod.ZodString>;
3803
+ user_schema: zod.ZodOptional<zod.ZodString>;
3804
+ purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
3805
+ audience: zod.ZodOptional<zod.ZodObject<{
3806
+ app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
3807
+ team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
3808
+ }, zod.z.core.$strip>>;
3809
+ }, zod.z.core.$strip>;
3810
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3811
+ id: zod.ZodString;
3812
+ project_id: zod.ZodString;
3813
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3814
+ event_type: zod.ZodString;
3815
+ category: zod.ZodEnum<{
3816
+ session: "session";
3817
+ request: "request";
3818
+ auth: "auth";
3819
+ admin: "admin";
3820
+ entity: "entity";
3821
+ signal: "signal";
3822
+ }>;
3823
+ occurred_at: zod.z.ZodISODateTime;
3824
+ created_at: zod.z.ZodISODateTime;
3825
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3826
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3827
+ human: "human";
3828
+ service: "service";
3829
+ system: "system";
3830
+ agent: "agent";
3831
+ }>, zod.ZodNull]>>;
3832
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3833
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3834
+ client_id: zod.ZodString;
3835
+ token_id: zod.ZodOptional<zod.ZodString>;
3836
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3837
+ direct: "direct";
3838
+ delegated: "delegated";
3839
+ pat_shared: "pat_shared";
3840
+ exchanged: "exchanged";
3841
+ }>>;
3842
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3843
+ grantor: zod.ZodOptional<zod.ZodString>;
3844
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3845
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3846
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3847
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3848
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3849
+ }, zod.z.core.$strip>, zod.ZodObject<{
3850
+ event_type: zod.ZodLiteral<"project.created">;
3851
+ payload: zod.ZodObject<{
3852
+ name: zod.ZodOptional<zod.ZodString>;
3853
+ preview_origins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
3854
+ }, zod.z.core.$strip>;
3855
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3856
+ id: zod.ZodString;
3857
+ project_id: zod.ZodString;
3858
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3859
+ event_type: zod.ZodString;
3860
+ category: zod.ZodEnum<{
3861
+ session: "session";
3862
+ request: "request";
3863
+ auth: "auth";
3864
+ admin: "admin";
3865
+ entity: "entity";
3866
+ signal: "signal";
3867
+ }>;
3868
+ occurred_at: zod.z.ZodISODateTime;
3869
+ created_at: zod.z.ZodISODateTime;
3870
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3871
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3872
+ human: "human";
3873
+ service: "service";
3874
+ system: "system";
3875
+ agent: "agent";
3876
+ }>, zod.ZodNull]>>;
3877
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3878
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3879
+ client_id: zod.ZodString;
3880
+ token_id: zod.ZodOptional<zod.ZodString>;
3881
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3882
+ direct: "direct";
3883
+ delegated: "delegated";
3884
+ pat_shared: "pat_shared";
3885
+ exchanged: "exchanged";
3886
+ }>>;
3887
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3888
+ grantor: zod.ZodOptional<zod.ZodString>;
3889
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3890
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3891
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3892
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3893
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3894
+ }, zod.z.core.$strip>, zod.ZodObject<{
3895
+ event_type: zod.ZodLiteral<"project.deleted">;
3896
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
3897
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3898
+ id: zod.ZodString;
3899
+ project_id: zod.ZodString;
3900
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3901
+ event_type: zod.ZodString;
3902
+ category: zod.ZodEnum<{
3903
+ session: "session";
3904
+ request: "request";
3905
+ auth: "auth";
3906
+ admin: "admin";
3907
+ entity: "entity";
3908
+ signal: "signal";
3909
+ }>;
3910
+ occurred_at: zod.z.ZodISODateTime;
3911
+ created_at: zod.z.ZodISODateTime;
3912
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3913
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3914
+ human: "human";
3915
+ service: "service";
3916
+ system: "system";
3917
+ agent: "agent";
3918
+ }>, zod.ZodNull]>>;
3919
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3920
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3921
+ client_id: zod.ZodString;
3922
+ token_id: zod.ZodOptional<zod.ZodString>;
3923
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3924
+ direct: "direct";
3925
+ delegated: "delegated";
3926
+ pat_shared: "pat_shared";
3927
+ exchanged: "exchanged";
3928
+ }>>;
3929
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3930
+ grantor: zod.ZodOptional<zod.ZodString>;
3931
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3932
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3933
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3934
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3935
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3936
+ }, zod.z.core.$strip>, zod.ZodObject<{
3937
+ event_type: zod.ZodLiteral<"project.updated">;
3938
+ payload: zod.ZodObject<{
3939
+ name: zod.ZodOptional<zod.ZodString>;
3940
+ preview_origins: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
3941
+ }, zod.z.core.$strip>;
3942
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3943
+ id: zod.ZodString;
3944
+ project_id: zod.ZodString;
3945
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3946
+ event_type: zod.ZodString;
3947
+ category: zod.ZodEnum<{
3948
+ session: "session";
3949
+ request: "request";
3950
+ auth: "auth";
3951
+ admin: "admin";
3952
+ entity: "entity";
3953
+ signal: "signal";
3954
+ }>;
3955
+ occurred_at: zod.z.ZodISODateTime;
3956
+ created_at: zod.z.ZodISODateTime;
3957
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3958
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
3959
+ human: "human";
3960
+ service: "service";
3961
+ system: "system";
3962
+ agent: "agent";
3963
+ }>, zod.ZodNull]>>;
3964
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3965
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3966
+ client_id: zod.ZodString;
3967
+ token_id: zod.ZodOptional<zod.ZodString>;
3968
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
3969
+ direct: "direct";
3970
+ delegated: "delegated";
3971
+ pat_shared: "pat_shared";
3972
+ exchanged: "exchanged";
3973
+ }>>;
3974
+ delegation_id: zod.ZodOptional<zod.ZodString>;
3975
+ grantor: zod.ZodOptional<zod.ZodString>;
3976
+ fingerprint: zod.ZodOptional<zod.ZodString>;
3977
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3978
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3979
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
3980
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
3981
+ }, zod.z.core.$strip>, zod.ZodObject<{
3982
+ event_type: zod.ZodLiteral<"request.api">;
3983
+ payload: zod.ZodObject<{
3984
+ operation_id: zod.ZodString;
3985
+ method: zod.ZodEnum<{
3986
+ GET: "GET";
3987
+ POST: "POST";
3988
+ PUT: "PUT";
3989
+ PATCH: "PATCH";
3990
+ DELETE: "DELETE";
3991
+ HEAD: "HEAD";
3992
+ OPTIONS: "OPTIONS";
3993
+ }>;
3994
+ route_template: zod.ZodString;
3995
+ status: zod.ZodNumber;
3996
+ duration_ms: zod.ZodNumber;
3997
+ }, zod.z.core.$strip>;
3998
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
3999
+ id: zod.ZodString;
4000
+ project_id: zod.ZodString;
4001
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4002
+ event_type: zod.ZodString;
4003
+ category: zod.ZodEnum<{
4004
+ session: "session";
4005
+ request: "request";
4006
+ auth: "auth";
4007
+ admin: "admin";
4008
+ entity: "entity";
4009
+ signal: "signal";
4010
+ }>;
4011
+ occurred_at: zod.z.ZodISODateTime;
4012
+ created_at: zod.z.ZodISODateTime;
4013
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4014
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4015
+ human: "human";
4016
+ service: "service";
4017
+ system: "system";
4018
+ agent: "agent";
4019
+ }>, zod.ZodNull]>>;
4020
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4021
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4022
+ client_id: zod.ZodString;
4023
+ token_id: zod.ZodOptional<zod.ZodString>;
4024
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4025
+ direct: "direct";
4026
+ delegated: "delegated";
4027
+ pat_shared: "pat_shared";
4028
+ exchanged: "exchanged";
4029
+ }>>;
4030
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4031
+ grantor: zod.ZodOptional<zod.ZodString>;
4032
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4033
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4034
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4035
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4036
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4037
+ }, zod.z.core.$strip>, zod.ZodObject<{
4038
+ event_type: zod.ZodLiteral<"schema.created">;
4039
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
4040
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
4041
+ id: zod.ZodString;
4042
+ project_id: zod.ZodString;
4043
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4044
+ event_type: zod.ZodString;
4045
+ category: zod.ZodEnum<{
4046
+ session: "session";
4047
+ request: "request";
4048
+ auth: "auth";
4049
+ admin: "admin";
4050
+ entity: "entity";
4051
+ signal: "signal";
4052
+ }>;
4053
+ occurred_at: zod.z.ZodISODateTime;
4054
+ created_at: zod.z.ZodISODateTime;
4055
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4056
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4057
+ human: "human";
4058
+ service: "service";
4059
+ system: "system";
4060
+ agent: "agent";
4061
+ }>, zod.ZodNull]>>;
4062
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4063
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4064
+ client_id: zod.ZodString;
4065
+ token_id: zod.ZodOptional<zod.ZodString>;
4066
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4067
+ direct: "direct";
4068
+ delegated: "delegated";
4069
+ pat_shared: "pat_shared";
4070
+ exchanged: "exchanged";
4071
+ }>>;
4072
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4073
+ grantor: zod.ZodOptional<zod.ZodString>;
4074
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4075
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4076
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4077
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4078
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4079
+ }, zod.z.core.$strip>, zod.ZodObject<{
4080
+ event_type: zod.ZodLiteral<"session.deleted">;
4081
+ payload: zod.ZodObject<{
4082
+ reason: zod.ZodOptional<zod.ZodString>;
4083
+ }, zod.z.core.$strip>;
4084
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
4085
+ id: zod.ZodString;
4086
+ project_id: zod.ZodString;
4087
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4088
+ event_type: zod.ZodString;
4089
+ category: zod.ZodEnum<{
4090
+ session: "session";
4091
+ request: "request";
4092
+ auth: "auth";
4093
+ admin: "admin";
4094
+ entity: "entity";
4095
+ signal: "signal";
4096
+ }>;
4097
+ occurred_at: zod.z.ZodISODateTime;
4098
+ created_at: zod.z.ZodISODateTime;
4099
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4100
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4101
+ human: "human";
4102
+ service: "service";
4103
+ system: "system";
4104
+ agent: "agent";
4105
+ }>, zod.ZodNull]>>;
4106
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4107
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4108
+ client_id: zod.ZodString;
4109
+ token_id: zod.ZodOptional<zod.ZodString>;
4110
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4111
+ direct: "direct";
4112
+ delegated: "delegated";
4113
+ pat_shared: "pat_shared";
4114
+ exchanged: "exchanged";
4115
+ }>>;
4116
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4117
+ grantor: zod.ZodOptional<zod.ZodString>;
4118
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4119
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4120
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4121
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4122
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4123
+ }, zod.z.core.$strip>, zod.ZodObject<{
4124
+ event_type: zod.ZodLiteral<"session.established">;
4125
+ payload: zod.ZodObject<{
4126
+ user_id: zod.ZodOptional<zod.ZodString>;
4127
+ }, zod.z.core.$strip>;
4128
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
4129
+ id: zod.ZodString;
4130
+ project_id: zod.ZodString;
4131
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4132
+ event_type: zod.ZodString;
4133
+ category: zod.ZodEnum<{
4134
+ session: "session";
4135
+ request: "request";
4136
+ auth: "auth";
4137
+ admin: "admin";
4138
+ entity: "entity";
4139
+ signal: "signal";
4140
+ }>;
4141
+ occurred_at: zod.z.ZodISODateTime;
4142
+ created_at: zod.z.ZodISODateTime;
4143
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4144
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4145
+ human: "human";
4146
+ service: "service";
4147
+ system: "system";
4148
+ agent: "agent";
4149
+ }>, zod.ZodNull]>>;
4150
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4151
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4152
+ client_id: zod.ZodString;
4153
+ token_id: zod.ZodOptional<zod.ZodString>;
4154
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4155
+ direct: "direct";
4156
+ delegated: "delegated";
4157
+ pat_shared: "pat_shared";
4158
+ exchanged: "exchanged";
4159
+ }>>;
4160
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4161
+ grantor: zod.ZodOptional<zod.ZodString>;
4162
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4163
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4164
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4165
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4166
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4167
+ }, zod.z.core.$strip>, zod.ZodObject<{
4168
+ event_type: zod.ZodLiteral<"team.created">;
4169
+ payload: zod.ZodObject<{
4170
+ name: zod.ZodOptional<zod.ZodString>;
4171
+ }, zod.z.core.$strip>;
4172
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
4173
+ id: zod.ZodString;
4174
+ project_id: zod.ZodString;
4175
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4176
+ event_type: zod.ZodString;
4177
+ category: zod.ZodEnum<{
4178
+ session: "session";
4179
+ request: "request";
4180
+ auth: "auth";
4181
+ admin: "admin";
4182
+ entity: "entity";
4183
+ signal: "signal";
4184
+ }>;
4185
+ occurred_at: zod.z.ZodISODateTime;
4186
+ created_at: zod.z.ZodISODateTime;
4187
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4188
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4189
+ human: "human";
4190
+ service: "service";
4191
+ system: "system";
4192
+ agent: "agent";
4193
+ }>, zod.ZodNull]>>;
4194
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4195
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4196
+ client_id: zod.ZodString;
4197
+ token_id: zod.ZodOptional<zod.ZodString>;
4198
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4199
+ direct: "direct";
4200
+ delegated: "delegated";
4201
+ pat_shared: "pat_shared";
4202
+ exchanged: "exchanged";
4203
+ }>>;
4204
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4205
+ grantor: zod.ZodOptional<zod.ZodString>;
4206
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4207
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4208
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4209
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4210
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4211
+ }, zod.z.core.$strip>, zod.ZodObject<{
4212
+ event_type: zod.ZodLiteral<"team.deactivated">;
4213
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
4214
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
4215
+ id: zod.ZodString;
4216
+ project_id: zod.ZodString;
4217
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4218
+ event_type: zod.ZodString;
4219
+ category: zod.ZodEnum<{
4220
+ session: "session";
4221
+ request: "request";
4222
+ auth: "auth";
4223
+ admin: "admin";
4224
+ entity: "entity";
4225
+ signal: "signal";
4226
+ }>;
4227
+ occurred_at: zod.z.ZodISODateTime;
4228
+ created_at: zod.z.ZodISODateTime;
4229
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4230
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4231
+ human: "human";
4232
+ service: "service";
4233
+ system: "system";
4234
+ agent: "agent";
4235
+ }>, zod.ZodNull]>>;
4236
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4237
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4238
+ client_id: zod.ZodString;
4239
+ token_id: zod.ZodOptional<zod.ZodString>;
4240
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4241
+ direct: "direct";
4242
+ delegated: "delegated";
4243
+ pat_shared: "pat_shared";
4244
+ exchanged: "exchanged";
4245
+ }>>;
4246
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4247
+ grantor: zod.ZodOptional<zod.ZodString>;
4248
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4249
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4250
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4251
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4252
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4253
+ }, zod.z.core.$strip>, zod.ZodObject<{
4254
+ event_type: zod.ZodLiteral<"team.updated">;
4255
+ payload: zod.ZodObject<{
4256
+ name: zod.ZodOptional<zod.ZodString>;
4257
+ }, zod.z.core.$strip>;
4258
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
4259
+ id: zod.ZodString;
4260
+ project_id: zod.ZodString;
4261
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4262
+ event_type: zod.ZodString;
4263
+ category: zod.ZodEnum<{
4264
+ session: "session";
4265
+ request: "request";
4266
+ auth: "auth";
4267
+ admin: "admin";
4268
+ entity: "entity";
4269
+ signal: "signal";
4270
+ }>;
4271
+ occurred_at: zod.z.ZodISODateTime;
4272
+ created_at: zod.z.ZodISODateTime;
4273
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4274
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4275
+ human: "human";
4276
+ service: "service";
4277
+ system: "system";
4278
+ agent: "agent";
4279
+ }>, zod.ZodNull]>>;
4280
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4281
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4282
+ client_id: zod.ZodString;
4283
+ token_id: zod.ZodOptional<zod.ZodString>;
4284
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4285
+ direct: "direct";
4286
+ delegated: "delegated";
4287
+ pat_shared: "pat_shared";
4288
+ exchanged: "exchanged";
4289
+ }>>;
4290
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4291
+ grantor: zod.ZodOptional<zod.ZodString>;
4292
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4293
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4294
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4295
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4296
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4297
+ }, zod.z.core.$strip>, zod.ZodObject<{
4298
+ event_type: zod.ZodLiteral<"user.create.failed">;
4299
+ payload: zod.ZodObject<{
4300
+ key_name: zod.ZodOptional<zod.ZodString>;
4301
+ }, zod.z.core.$strip>;
4302
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
4303
+ id: zod.ZodString;
4304
+ project_id: zod.ZodString;
4305
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4306
+ event_type: zod.ZodString;
4307
+ category: zod.ZodEnum<{
4308
+ session: "session";
4309
+ request: "request";
4310
+ auth: "auth";
4311
+ admin: "admin";
4312
+ entity: "entity";
4313
+ signal: "signal";
4314
+ }>;
4315
+ occurred_at: zod.z.ZodISODateTime;
4316
+ created_at: zod.z.ZodISODateTime;
4317
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4318
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4319
+ human: "human";
4320
+ service: "service";
4321
+ system: "system";
4322
+ agent: "agent";
4323
+ }>, zod.ZodNull]>>;
4324
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4325
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4326
+ client_id: zod.ZodString;
4327
+ token_id: zod.ZodOptional<zod.ZodString>;
4328
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4329
+ direct: "direct";
4330
+ delegated: "delegated";
4331
+ pat_shared: "pat_shared";
4332
+ exchanged: "exchanged";
4333
+ }>>;
4334
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4335
+ grantor: zod.ZodOptional<zod.ZodString>;
4336
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4337
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4338
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4339
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4340
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4341
+ }, zod.z.core.$strip>, zod.ZodObject<{
4342
+ event_type: zod.ZodLiteral<"user.created">;
4343
+ payload: zod.ZodObject<{
4344
+ schema_id: zod.ZodOptional<zod.ZodString>;
4345
+ attribute_keys: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
4346
+ attributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4347
+ }, zod.z.core.$strip>;
4348
+ }, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
4349
+ id: zod.ZodString;
4350
+ project_id: zod.ZodString;
4351
+ team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4352
+ event_type: zod.ZodString;
4353
+ category: zod.ZodEnum<{
4354
+ session: "session";
4355
+ request: "request";
4356
+ auth: "auth";
4357
+ admin: "admin";
4358
+ entity: "entity";
4359
+ signal: "signal";
4360
+ }>;
4361
+ occurred_at: zod.z.ZodISODateTime;
4362
+ created_at: zod.z.ZodISODateTime;
4363
+ actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4364
+ actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
4365
+ human: "human";
4366
+ service: "service";
4367
+ system: "system";
4368
+ agent: "agent";
4369
+ }>, zod.ZodNull]>>;
4370
+ entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4371
+ entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4372
+ client_id: zod.ZodString;
4373
+ token_id: zod.ZodOptional<zod.ZodString>;
4374
+ delegation_type: zod.ZodOptional<zod.ZodEnum<{
4375
+ direct: "direct";
4376
+ delegated: "delegated";
4377
+ pat_shared: "pat_shared";
4378
+ exchanged: "exchanged";
4379
+ }>>;
4380
+ delegation_id: zod.ZodOptional<zod.ZodString>;
4381
+ grantor: zod.ZodOptional<zod.ZodString>;
4382
+ fingerprint: zod.ZodOptional<zod.ZodString>;
4383
+ request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4384
+ session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4385
+ flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
4386
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
4387
+ }, zod.z.core.$strip>, zod.ZodObject<{
4388
+ event_type: zod.ZodLiteral<"user.deleted">;
4389
+ payload: zod.ZodObject<{}, zod.z.core.$strip>;
4390
+ }, zod.z.core.$strip>>]>;
1784
4391
  //#endregion
1785
- export { ActivateFlowDefinitionParams, ActivateFlowDefinitionQueryParams, AuthorizeDeviceQueryParams, AuthorizeDeviceResponse, AuthorizeGetQueryParams, CreateAuthAttemptBody, CreateFlowBody, CreateFlowDefinitionBody, CreateHandoffHeader, CreateHandoffParams, CreateHandoffResponse, CreateProjectBody, CreateSchemaBody, CreateSchemaQueryParams, CreateSessionBody, CreateTeamBody, CreateTeamQueryParams, CreateUserBody, CreateUserQueryParams, DeactivateFlowDefinitionParams, DeactivateFlowDefinitionQueryParams, DeleteFlowDefinitionParams, DeleteFlowDefinitionQueryParams, EndSessionQueryParams, ExchangeHandoffBody, ExchangeHandoffHeader, ExchangeHandoffQueryParams, ExchangeHandoffResponse, GetAuthAttemptParams, GetAuthAttemptResponse, GetFlowDefinitionParams, GetFlowDefinitionQueryParams, GetFlowDefinitionResponse, GetFlowStepParams, GetFlowStepResponse, GetKeysResponse, GetMySessionResponse, GetMyUserResponse, GetOpenIDConfigurationResponse, GetProjectParams, GetProjectResponse, GetSchemaByIdParams, GetSchemaByIdQueryParams, GetSchemaByIdResponse, GetSessionParams, GetSessionQueryParams, GetSessionResponse, GetTeamParams, GetTeamQueryParams, GetTeamResponse, GetTokenResponse, GetUserByIDParams, GetUserByIDQueryParams, GetUserByIDResponse, GetUserInfoResponse, IntrospectResponse, IssueChallengeBody, IssueChallengeParams, ListFlowDefinitionsQueryParams, ListFlowDefinitionsResponse, ListSchemasQueryParams, ListSchemasResponse, ListSchemasResponseItem, ListSessionsQueryParams, ListSessionsResponse, ListUsersQueryParams, ListUsersResponse, ListUsersResponseItem, PatchProjectBody, PatchProjectParams, PatchProjectResponse, QueryProjectsBody, QueryProjectsResponse, RevokeSessionParams, RevokeSessionQueryParams, SetUserPasswordBody, SetUserPasswordParams, SetUserPasswordQueryParams, SubmitFlowEventBody, SubmitFlowEventParams, SubmitFlowStepBody, SubmitFlowStepHeader, SubmitFlowStepParams, SubmitFlowStepResponse, UpdateFlowDefinitionBody, UpdateFlowDefinitionParams, UpdateFlowDefinitionQueryParams, UpdateFlowDefinitionResponse, VerifyChallengeProofBody, VerifyChallengeProofHeader, VerifyChallengeProofParams, VerifyChallengeProofResponse, activateFlowDefinitionQueryProjectIdRegExp, createAuthAttemptBodyProjectIdRegExp, createAuthAttemptBodySessionIdOneRegExp, createFlowBodyDryRunDefault, createFlowBodyFlowDefinitionNameRegExp, createFlowBodyProjectIdRegExp, createFlowBodySchemaVersionRegExp, createFlowDefinitionBodyFlowDefinitionNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionBodyProjectIdRegExp, createHandoffPathAttemptIdRegExp, createProjectBodySeedDefaultsDefault, createSchemaBodyOneObjectTypeMax, createSchemaBodyOnePropertiesXEditableDefault, createSchemaBodyOnePropertiesXMfaDefault, createSchemaBodyOnePropertiesXSensitiveDefault, createSchemaBodyOneXAuthMethodsMagicLinkPositionMin, createSchemaBodyOneXAuthMethodsOtpPositionMin, createSchemaBodyOneXAuthMethodsPasskeyPositionMin, createSchemaBodyOneXAuthMethodsPasswordPositionMin, createSchemaBodyOneXAuthMethodsSsoPositionMin, createSchemaQueryProjectIdRegExp, createSchemaQueryTeamIdRegExp, createSessionBodyProjectIdRegExp, createTeamQueryProjectIdRegExp, createUserQueryProjectIdRegExp, createUserQueryTeamIdRegExp, deactivateFlowDefinitionQueryProjectIdRegExp, deleteFlowDefinitionQueryProjectIdRegExp, exchangeHandoffQueryProjectIdRegExp, exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp, exchangeHandoffResponseSessionProjectIdRegExp, exchangeHandoffResponseSessionSessionIdRegExp, exchangeHandoffResponseSessionUserIdOneRegExp, getAuthAttemptPathAttemptIdRegExp, getAuthAttemptResponseAttemptIdRegExp, getAuthAttemptResponseChallengesItemChallengeIdRegExp, getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, getAuthAttemptResponseProjectIdRegExp, getAuthAttemptResponseSessionIdOneRegExp, getAuthAttemptResponseUserIdOneRegExp, getFlowDefinitionQueryProjectIdRegExp, getFlowDefinitionResponseFlowDefinitionNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, getFlowStepResponseBrandingLayoutDefault, getFlowStepResponseStepActionsDefault, getFlowStepResponseStepActionsItemPrimaryDefault, getFlowStepResponseStepFieldsDefault, getFlowStepResponseStepFieldsItemRequiredDefault, getFlowStepResponseStepFieldsItemValidationMaxLengthMin, getFlowStepResponseStepFieldsItemValidationMinLengthMin, getFlowStepResponseStepGatesDefault, getFlowStepResponseStepSsoProvidersDefault, getMySessionResponseFactorsItemPayloadOneUserIdRegExp, getMySessionResponseProjectIdRegExp, getMySessionResponseSessionIdRegExp, getMySessionResponseUserIdOneRegExp, getOpenIDConfigurationResponseClaimsParameterSupportedDefault, getOpenIDConfigurationResponseRequestParameterSupportedDefault, getOpenIDConfigurationResponseRequestUriParameterSupportedDefault, getOpenIDConfigurationResponseRequireRequestUriRegistrationDefault, getProjectPathProjectIdRegExp, getSchemaByIdQueryProjectIdRegExp, getSchemaByIdQueryTeamIdRegExp, getSchemaByIdResponseOneObjectTypeMax, getSchemaByIdResponseOnePropertiesXEditableDefault, getSchemaByIdResponseOnePropertiesXMfaDefault, getSchemaByIdResponseOnePropertiesXSensitiveDefault, getSchemaByIdResponseOneXAuthMethodsMagicLinkPositionMin, getSchemaByIdResponseOneXAuthMethodsOtpPositionMin, getSchemaByIdResponseOneXAuthMethodsPasskeyPositionMin, getSchemaByIdResponseOneXAuthMethodsPasswordPositionMin, getSchemaByIdResponseOneXAuthMethodsSsoPositionMin, getSessionPathSessionIdRegExp, getSessionQueryProjectIdRegExp, getSessionResponseFactorsItemPayloadOneUserIdRegExp, getSessionResponseProjectIdRegExp, getSessionResponseSessionIdRegExp, getSessionResponseUserIdOneRegExp, getTeamPathTeamIdRegExp, getTeamQueryProjectIdRegExp, getUserByIDPathUserIdRegExp, getUserByIDQueryProjectIdRegExp, getUserByIDQueryTeamIdRegExp, issueChallengePathAttemptIdRegExp, listFlowDefinitionsQueryLimitDefault, listFlowDefinitionsQueryLimitMax, listFlowDefinitionsQueryProjectIdRegExp, listFlowDefinitionsResponseFlowDefinitionsItemNameRegExp, listSchemasQueryObjectTypeMax, listSchemasQueryOffsetDefault, listSchemasQueryOffsetMin, listSchemasQueryProjectIdRegExp, listSessionsQueryLimitDefault, listSessionsQueryLimitMax, listSessionsQueryProjectIdRegExp, listSessionsQueryUserIdRegExp, listSessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp, listSessionsResponseSessionsItemProjectIdRegExp, listSessionsResponseSessionsItemSessionIdRegExp, listSessionsResponseSessionsItemUserIdOneRegExp, listUsersQueryLimitDefault, listUsersQueryLimitMax, listUsersQueryOffsetDefault, listUsersQueryOffsetMin, patchProjectPathProjectIdRegExp, queryProjectsBodyLimitDefault, queryProjectsBodyLimitMax, revokeSessionPathSessionIdRegExp, revokeSessionQueryProjectIdRegExp, setUserPasswordPathUserIdRegExp, setUserPasswordQueryProjectIdRegExp, submitFlowStepResponseBrandingLayoutDefault, submitFlowStepResponseStepActionsDefault, submitFlowStepResponseStepActionsItemPrimaryDefault, submitFlowStepResponseStepFieldsDefault, submitFlowStepResponseStepFieldsItemRequiredDefault, submitFlowStepResponseStepFieldsItemValidationMaxLengthMin, submitFlowStepResponseStepFieldsItemValidationMinLengthMin, submitFlowStepResponseStepGatesDefault, submitFlowStepResponseStepSsoProvidersDefault, updateFlowDefinitionBodyFlowDefinitionNameRegExp, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, updateFlowDefinitionQueryProjectIdRegExp, updateFlowDefinitionResponseFlowDefinitionNameRegExp, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, verifyChallengeProofPathAttemptIdRegExp, verifyChallengeProofPathChallengeIdRegExp, verifyChallengeProofResponseAttemptIdRegExp, verifyChallengeProofResponseChallengesItemChallengeIdRegExp, verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp, verifyChallengeProofResponseProjectIdRegExp, verifyChallengeProofResponseSessionIdOneRegExp, verifyChallengeProofResponseUserIdOneRegExp };
4392
+ export { CompleteClaimBody, CompleteClaimParams, CompleteClaimResponse, CreateAuthAttemptBody, CreateBrandingBody, CreateBrandingQueryParams, CreateFlowBody, CreateFlowDefinitionBody, CreateHandoffHeader, CreateHandoffParams, CreateHandoffResponse, CreateProjectBody, CreateSchemaBody, CreateSchemaQueryParams, CreateSessionBody, CreateTeamBody, CreateTeamQueryParams, CreateUserBody, CreateUserQueryParams, DeleteFlowDefinitionParams, DeleteTeamParams, DeleteUserByIDParams, ExchangeHandoffBody, ExchangeHandoffHeader, ExchangeHandoffQueryParams, ExchangeHandoffResponse, GetAuthAttemptParams, GetAuthAttemptResponse, GetBrandingByIdParams, GetBrandingByIdResponse, GetClaimStatusParams, GetClaimStatusQueryParams, GetClaimStatusResponse, GetEventParams, GetEventQueryParams, GetEventResponse, GetFlowDefinitionParams, GetFlowDefinitionResponse, GetFlowStepParams, GetFlowStepResponse, GetMySessionResponse, GetMyUserResponse, GetProjectParams, GetProjectResponse, GetSchemaByIdParams, GetSchemaByIdQueryParams, GetSchemaByIdResponse, GetSessionParams, GetSessionResponse, GetTeamParams, GetTeamResponse, GetUserByIDParams, GetUserByIDQueryParams, GetUserByIDResponse, InitClaimParams, IssueChallengeBody, IssueChallengeParams, ListBrandingQueryParams, ListBrandingResponse, ListBrandingResponseItem, ListEventsQueryParams, ListEventsResponse, ListFlowDefinitionsQueryParams, ListFlowDefinitionsResponse, ListSchemasQueryParams, ListSchemasResponse, ListSchemasResponseItem, ListUserPasskeysParams, ListUserPasskeysQueryParams, ListUserPasskeysResponse, ListUserTeamsParams, ListUserTeamsQueryParams, ListUserTeamsResponse, ListUsersQueryParams, ListUsersResponse, PatchProjectBody, PatchProjectParams, PatchProjectResponse, QueryProjectsBody, QueryProjectsResponse, QuerySessionsBody, QuerySessionsQueryParams, QuerySessionsResponse, QueryTeamsBody, QueryTeamsQueryParams, QueryTeamsResponse, RevokeSessionParams, SetUserPasswordBody, SetUserPasswordParams, SubmitFlowStepBody, SubmitFlowStepHeader, SubmitFlowStepParams, SubmitFlowStepResponse, UpdateFlowDefinitionBody, UpdateFlowDefinitionParams, UpdateFlowDefinitionResponse, UpdateTeamBody, UpdateTeamParams, UpdateTeamResponse, VerifyChallengeProofBody, VerifyChallengeProofHeader, VerifyChallengeProofParams, VerifyChallengeProofResponse, completeClaimBodyChallengeIdRegExp, completeClaimPathProjectIdRegExp, completeClaimResponseProjectIdRegExp, completeClaimResponseTeamIdRegExp, createAuthAttemptBodyProjectIdRegExp, createAuthAttemptBodySessionIdOneRegExp, createBrandingBodyLayoutDefault, createBrandingBodyLiquidTemplateMax, createBrandingQueryProjectIdRegExp, createFlowBodyDryRunDefault, createFlowBodyFlowDefinitionNameRegExp, createFlowBodyProjectIdRegExp, createFlowBodySchemaVersionRegExp, createFlowDefinitionBodyFlowDefinitionNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionBodyProjectIdRegExp, createHandoffPathAttemptIdRegExp, createProjectBodySeedDefaultsDefault, createSchemaBodyOneObjectTypeMax, createSchemaBodyOnePropertiesXAuditDefault, createSchemaQueryProjectIdRegExp, createSchemaQueryTeamIdRegExp, createSessionBodyProjectIdRegExp, createTeamBodyNameMax, createTeamQueryProjectIdRegExp, createUserQueryProjectIdRegExp, createUserQueryTeamIdRegExp, deleteTeamPathTeamIdRegExp, deleteUserByIDPathUserIdRegExp, exchangeHandoffQueryProjectIdRegExp, exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp, exchangeHandoffResponseSessionProjectIdRegExp, exchangeHandoffResponseSessionSessionIdRegExp, exchangeHandoffResponseSessionUserIdOneRegExp, getAuthAttemptPathAttemptIdRegExp, getAuthAttemptResponseAttemptIdRegExp, getAuthAttemptResponseChallengesItemChallengeIdRegExp, getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, getAuthAttemptResponseProjectIdRegExp, getAuthAttemptResponseSessionIdOneRegExp, getAuthAttemptResponseUserIdOneRegExp, getBrandingByIdResponseBrandingLayoutDefault, getBrandingByIdResponseBrandingLiquidTemplateMax, getClaimStatusPathProjectIdRegExp, getClaimStatusQueryChallengeIdRegExp, getClaimStatusResponseTwoTeamIdRegExp, getEventQueryProjectIdRegExp, getEventResponseEightOneProjectIdRegExp, getEventResponseFiveOneProjectIdRegExp, getEventResponseFourOneProjectIdRegExp, getEventResponseNineOneProjectIdRegExp, getEventResponseOneOneProjectIdRegExp, getEventResponseOneeightOneProjectIdRegExp, getEventResponseOnefiveOneProjectIdRegExp, getEventResponseOnefourOneProjectIdRegExp, getEventResponseOnenineOneProjectIdRegExp, getEventResponseOneoneOneProjectIdRegExp, getEventResponseOnesevenOneProjectIdRegExp, getEventResponseOnesevenTwoPayloadDurationMsMin, getEventResponseOnesevenTwoPayloadStatusMax, getEventResponseOnesevenTwoPayloadStatusMin, getEventResponseOnesixOneProjectIdRegExp, getEventResponseOnethreeOneProjectIdRegExp, getEventResponseOnetwoOneProjectIdRegExp, getEventResponseOnezeroOneProjectIdRegExp, getEventResponseSevenOneProjectIdRegExp, getEventResponseSixOneProjectIdRegExp, getEventResponseThreeOneProjectIdRegExp, getEventResponseTwoOneProjectIdRegExp, getEventResponseTwofiveOneProjectIdRegExp, getEventResponseTwofourOneProjectIdRegExp, getEventResponseTwooneOneProjectIdRegExp, getEventResponseTwosixOneProjectIdRegExp, getEventResponseTwothreeOneProjectIdRegExp, getEventResponseTwotwoOneProjectIdRegExp, getEventResponseTwozeroOneProjectIdRegExp, getFlowDefinitionResponseFlowDefinitionNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, getFlowStepResponseBrandingLayoutDefault, getFlowStepResponseBrandingLiquidTemplateMax, getFlowStepResponseStepActionsDefault, getFlowStepResponseStepActionsItemPrimaryDefault, getFlowStepResponseStepFieldsDefault, getFlowStepResponseStepFieldsItemRequiredDefault, getFlowStepResponseStepFieldsItemValidationMaxLengthMin, getFlowStepResponseStepFieldsItemValidationMinLengthMin, getFlowStepResponseStepGatesDefault, getFlowStepResponseStepSsoProvidersDefault, getMySessionResponseFactorsItemPayloadOneUserIdRegExp, getMySessionResponseProjectIdRegExp, getMySessionResponseSessionIdRegExp, getMySessionResponseUserIdOneRegExp, getMyUserResponseIdRegExp, getProjectPathProjectIdRegExp, getSchemaByIdQueryTeamIdRegExp, getSchemaByIdResponseOneObjectTypeMax, getSchemaByIdResponseOnePropertiesXAuditDefault, getSessionPathSessionIdRegExp, getSessionResponseFactorsItemPayloadOneUserIdRegExp, getSessionResponseProjectIdRegExp, getSessionResponseSessionIdRegExp, getSessionResponseUserIdOneRegExp, getTeamPathTeamIdRegExp, getUserByIDPathUserIdRegExp, getUserByIDQueryTeamIdRegExp, getUserByIDResponseIdRegExp, initClaimPathProjectIdRegExp, issueChallengePathAttemptIdRegExp, listBrandingQueryProjectIdRegExp, listEventsQueryLimitDefault, listEventsQueryLimitMax, listEventsQueryOrderDefault, listEventsQueryProjectIdRegExp, listEventsResponseDataItemEightOneProjectIdRegExp, listEventsResponseDataItemFiveOneProjectIdRegExp, listEventsResponseDataItemFourOneProjectIdRegExp, listEventsResponseDataItemNineOneProjectIdRegExp, listEventsResponseDataItemOneOneProjectIdRegExp, listEventsResponseDataItemOneeightOneProjectIdRegExp, listEventsResponseDataItemOnefiveOneProjectIdRegExp, listEventsResponseDataItemOnefourOneProjectIdRegExp, listEventsResponseDataItemOnenineOneProjectIdRegExp, listEventsResponseDataItemOneoneOneProjectIdRegExp, listEventsResponseDataItemOnesevenOneProjectIdRegExp, listEventsResponseDataItemOnesevenTwoPayloadDurationMsMin, listEventsResponseDataItemOnesevenTwoPayloadStatusMax, listEventsResponseDataItemOnesevenTwoPayloadStatusMin, listEventsResponseDataItemOnesixOneProjectIdRegExp, listEventsResponseDataItemOnethreeOneProjectIdRegExp, listEventsResponseDataItemOnetwoOneProjectIdRegExp, listEventsResponseDataItemOnezeroOneProjectIdRegExp, listEventsResponseDataItemSevenOneProjectIdRegExp, listEventsResponseDataItemSixOneProjectIdRegExp, listEventsResponseDataItemThreeOneProjectIdRegExp, listEventsResponseDataItemTwoOneProjectIdRegExp, listEventsResponseDataItemTwofiveOneProjectIdRegExp, listEventsResponseDataItemTwofourOneProjectIdRegExp, listEventsResponseDataItemTwooneOneProjectIdRegExp, listEventsResponseDataItemTwosixOneProjectIdRegExp, listEventsResponseDataItemTwothreeOneProjectIdRegExp, listEventsResponseDataItemTwotwoOneProjectIdRegExp, listEventsResponseDataItemTwozeroOneProjectIdRegExp, listFlowDefinitionsQueryLimitDefault, listFlowDefinitionsQueryLimitMax, listFlowDefinitionsQueryProjectIdRegExp, listFlowDefinitionsResponseFlowDefinitionsItemNameRegExp, listSchemasQueryObjectTypeMax, listSchemasQueryOffsetDefault, listSchemasQueryOffsetMin, listSchemasQueryProjectIdRegExp, listUserPasskeysPathUserIdRegExp, listUserPasskeysQueryLimitDefault, listUserPasskeysQueryLimitMax, listUserTeamsPathUserIdRegExp, listUserTeamsQueryLimitDefault, listUserTeamsQueryLimitMax, listUsersQueryLimitDefault, listUsersQueryLimitMax, listUsersResponseUsersItemIdRegExp, patchProjectPathProjectIdRegExp, queryProjectsBodyLimitDefault, queryProjectsBodyLimitMax, querySessionsBodyLimitDefault, querySessionsBodyLimitMax, querySessionsQueryProjectIdRegExp, querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp, querySessionsResponseSessionsItemProjectIdRegExp, querySessionsResponseSessionsItemSessionIdRegExp, querySessionsResponseSessionsItemUserIdOneRegExp, queryTeamsBodyLimitDefault, queryTeamsBodyLimitMax, queryTeamsQueryProjectIdRegExp, revokeSessionPathSessionIdRegExp, setUserPasswordPathUserIdRegExp, submitFlowStepResponseBrandingLayoutDefault, submitFlowStepResponseBrandingLiquidTemplateMax, submitFlowStepResponseStepActionsDefault, submitFlowStepResponseStepActionsItemPrimaryDefault, submitFlowStepResponseStepFieldsDefault, submitFlowStepResponseStepFieldsItemRequiredDefault, submitFlowStepResponseStepFieldsItemValidationMaxLengthMin, submitFlowStepResponseStepFieldsItemValidationMinLengthMin, submitFlowStepResponseStepGatesDefault, submitFlowStepResponseStepSsoProvidersDefault, updateFlowDefinitionBodyFlowDefinitionNameRegExp, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, updateFlowDefinitionResponseFlowDefinitionNameRegExp, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, updateTeamBodyNameMax, updateTeamPathTeamIdRegExp, verifyChallengeProofPathAttemptIdRegExp, verifyChallengeProofPathChallengeIdRegExp, verifyChallengeProofResponseAttemptIdRegExp, verifyChallengeProofResponseChallengesItemChallengeIdRegExp, verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp, verifyChallengeProofResponseProjectIdRegExp, verifyChallengeProofResponseSessionIdOneRegExp, verifyChallengeProofResponseUserIdOneRegExp };
1786
4393
  //# sourceMappingURL=zitadelNextGen.zod.d.mts.map