@zitadel/api 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1175) hide show
  1. package/dist/api-factory-B2kd991F.mjs +384 -0
  2. package/dist/api-factory-B2kd991F.mjs.map +1 -0
  3. package/dist/api-factory-DW48-EMM.d.mts +228 -0
  4. package/dist/api-factory-DW48-EMM.d.mts.map +1 -0
  5. package/dist/fetch-BLgYBrzi.d.mts +134 -0
  6. package/dist/fetch-BLgYBrzi.d.mts.map +1 -0
  7. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  8. package/dist/generated/endpoints/zitadelNextGen.mjs +1 -3868
  9. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +257 -143
  10. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2980 -795
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  13. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +2588 -1366
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  15. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +3134 -1943
  16. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  17. package/dist/generated/model/index.d.mts +2 -2
  18. package/dist/generated/model/index.mjs +530 -890
  19. package/dist/generated/model/index.mjs.map +1 -1
  20. package/dist/generated/operations.d.mts +1 -3
  21. package/dist/generated/operations.d.mts.map +1 -1
  22. package/dist/generated/operations.mjs +200 -112
  23. package/dist/generated/operations.mjs.map +1 -1
  24. package/dist/index-REGtKmAu.d.mts +60693 -0
  25. package/dist/index-REGtKmAu.d.mts.map +1 -0
  26. package/dist/rolldown-runtime-D8jQpDG7.mjs +12 -0
  27. package/dist/runtime/api-factory.d.mts +1 -1
  28. package/dist/runtime/api-factory.mjs +1 -2
  29. package/dist/runtime/auth.d.mts +0 -2
  30. package/dist/runtime/auth.d.mts.map +1 -1
  31. package/dist/runtime/auth.mjs +1 -2
  32. package/dist/runtime/base-url.d.mts +0 -2
  33. package/dist/runtime/base-url.d.mts.map +1 -1
  34. package/dist/runtime/base-url.mjs +1 -2
  35. package/dist/runtime/config.d.mts +1 -3
  36. package/dist/runtime/config.d.mts.map +1 -1
  37. package/dist/runtime/config.mjs +2 -3
  38. package/dist/runtime/fetch.d.mts +1 -1
  39. package/dist/runtime/fetch.mjs +2 -3
  40. package/dist/runtime/paging.d.mts +0 -2
  41. package/dist/runtime/paging.d.mts.map +1 -1
  42. package/dist/runtime/paging.mjs +1 -2
  43. package/dist/zitadelNextGen-C2Qcm9jl.d.mts +2034 -0
  44. package/dist/zitadelNextGen-C2Qcm9jl.d.mts.map +1 -0
  45. package/dist/zitadelNextGen-CDqt2m_4.mjs +3509 -0
  46. package/dist/zitadelNextGen-CDqt2m_4.mjs.map +1 -0
  47. package/package.json +8 -10
  48. package/src/generated/endpoints/zitadelNextGen.faker.ts +102 -93
  49. package/src/generated/endpoints/zitadelNextGen.msw.ts +417 -340
  50. package/src/generated/endpoints/zitadelNextGen.ts +630 -1087
  51. package/src/generated/endpoints/zitadelNextGen.zod.ts +2676 -1663
  52. package/src/generated/model/acceptInvitation200.ts +88 -16
  53. package/src/generated/model/acceptInvitationDefault.ts +18 -0
  54. package/src/generated/model/addProjectOrigin201.ts +18 -0
  55. package/src/generated/model/addProjectOrigin201Kind.ts +18 -0
  56. package/src/generated/model/addProjectOriginBody.ts +35 -0
  57. package/src/generated/model/addProjectOriginBodyKind.ts +19 -0
  58. package/src/generated/model/addProjectOriginDefault.ts +135 -0
  59. package/src/generated/model/buildRelease200.ts +4 -4
  60. package/src/generated/model/buildRelease200PointersItem.ts +3 -1
  61. package/src/generated/model/buildRelease200PointersItemKind.ts +2 -1
  62. package/src/generated/model/buildRelease201.ts +4 -4
  63. package/src/generated/model/buildRelease201PointersItem.ts +3 -1
  64. package/src/generated/model/buildRelease201PointersItemKind.ts +2 -1
  65. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +2 -2
  66. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +2 -1
  67. package/src/generated/model/buildReleaseBody.ts +7 -5
  68. package/src/generated/model/buildReleaseBodyBundle.ts +22 -6
  69. package/src/generated/model/buildReleaseBodyBundleBranding.ts +1 -1
  70. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +2 -12
  71. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +2 -9
  72. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -2
  73. package/src/generated/model/buildReleaseBodyBundleOauth.ts +29 -0
  74. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +20 -0
  75. package/src/generated/model/buildReleaseParams.ts +7 -7
  76. package/src/generated/model/cancelInvitationDefault.ts +9 -0
  77. package/src/generated/model/cancelInvitationParams.ts +7 -7
  78. package/src/generated/model/completeProjectClaim200.ts +19 -0
  79. package/src/generated/model/completeProjectClaim400.ts +20 -0
  80. package/src/generated/model/completeProjectClaim400Details.ts +12 -0
  81. package/src/generated/model/completeProjectClaim401.ts +23 -0
  82. package/src/generated/model/completeProjectClaim403.ts +36 -0
  83. package/src/generated/model/completeProjectClaim404.ts +20 -0
  84. package/src/generated/model/completeProjectClaim404Details.ts +12 -0
  85. package/src/generated/model/completeProjectClaim409.ts +25 -0
  86. package/src/generated/model/completeProjectClaim409Details.ts +14 -0
  87. package/src/generated/model/completeProjectClaim410.ts +27 -0
  88. package/src/generated/model/completeProjectClaim429.ts +20 -0
  89. package/src/generated/model/completeProjectClaim429Details.ts +12 -0
  90. package/src/generated/model/completeProjectClaimBody.ts +18 -0
  91. package/src/generated/model/completeProjectClaimDefault.ts +144 -0
  92. package/src/generated/model/completeUserPasskeyRegistration201.ts +19 -0
  93. package/src/generated/model/completeUserPasskeyRegistration400.ts +20 -0
  94. package/src/generated/model/completeUserPasskeyRegistration400Details.ts +12 -0
  95. package/src/generated/model/completeUserPasskeyRegistration401.ts +20 -0
  96. package/src/generated/model/completeUserPasskeyRegistration401Details.ts +12 -0
  97. package/src/generated/model/completeUserPasskeyRegistration403.ts +20 -0
  98. package/src/generated/model/completeUserPasskeyRegistration403Details.ts +12 -0
  99. package/src/generated/model/completeUserPasskeyRegistration404.ts +20 -0
  100. package/src/generated/model/completeUserPasskeyRegistration404Details.ts +12 -0
  101. package/src/generated/model/completeUserPasskeyRegistration429.ts +23 -0
  102. package/src/generated/model/completeUserPasskeyRegistration500.ts +20 -0
  103. package/src/generated/model/completeUserPasskeyRegistration500Details.ts +12 -0
  104. package/src/generated/model/completeUserPasskeyRegistrationBody.ts +21 -0
  105. package/src/generated/model/completeUserPasskeyRegistrationBodyAttestation.ts +12 -0
  106. package/src/generated/model/completeUserPasskeyRegistrationDefault.ts +189 -0
  107. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +1 -1
  108. package/src/generated/model/createAuthAttempt201ChallengesItemPayload.ts +1 -1
  109. package/src/generated/model/createAuthAttemptChallenge201.ts +49 -0
  110. package/src/generated/model/createAuthAttemptChallenge201Method.ts +20 -0
  111. package/src/generated/model/createAuthAttemptChallenge201Payload.ts +34 -0
  112. package/src/generated/model/createAuthAttemptChallenge201State.ts +22 -0
  113. package/src/generated/model/createAuthAttemptChallengeBody.ts +28 -0
  114. package/src/generated/model/createAuthAttemptChallengeBodyMethod.ts +20 -0
  115. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptions.ts +19 -0
  116. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptionsUserVerification.ts +16 -0
  117. package/src/generated/model/createAuthAttemptChallengeDefault.ts +90 -0
  118. package/src/generated/model/createAuthAttemptHandoff200.ts +30 -0
  119. package/src/generated/model/createAuthAttemptHandoff409.ts +20 -0
  120. package/src/generated/model/createAuthAttemptHandoff409Details.ts +12 -0
  121. package/src/generated/model/createAuthAttemptHandoffDefault.ts +99 -0
  122. package/src/generated/model/createDeployment200.ts +2 -2
  123. package/src/generated/model/createDeployment200Release.ts +4 -4
  124. package/src/generated/model/createDeployment200ReleasePointersItem.ts +3 -1
  125. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +2 -1
  126. package/src/generated/model/createDeployment200TargetsItem.ts +0 -5
  127. package/src/generated/model/createDeployment201.ts +2 -2
  128. package/src/generated/model/createDeployment201Release.ts +4 -4
  129. package/src/generated/model/createDeployment201ReleasePointersItem.ts +3 -1
  130. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +2 -1
  131. package/src/generated/model/createDeployment201TargetsItem.ts +0 -5
  132. package/src/generated/model/createDeployment409.ts +8 -11
  133. package/src/generated/model/createDeploymentBody.ts +2 -2
  134. package/src/generated/model/createDeploymentParams.ts +7 -7
  135. package/src/generated/model/createFlow201.ts +1 -1
  136. package/src/generated/model/createFlow201Branding.ts +1 -1
  137. package/src/generated/model/createFlow201StepGates.ts +22 -9
  138. package/src/generated/model/createFlow201StepGatesChallenge.ts +30 -0
  139. package/src/generated/model/createFlow201StepGatesConfig.ts +2 -2
  140. package/src/generated/model/createFlow201StepGatesKind.ts +3 -4
  141. package/src/generated/model/createGrantParams.ts +7 -7
  142. package/src/generated/model/createInvitation201.ts +88 -16
  143. package/src/generated/model/createInvitationBody.ts +4 -4
  144. package/src/generated/model/createInvitationDefault.ts +54 -0
  145. package/src/generated/model/createInvitationParams.ts +7 -7
  146. package/src/generated/model/createProjectClaim201.ts +25 -0
  147. package/src/generated/model/createProjectClaim401.ts +20 -0
  148. package/src/generated/model/createProjectClaim401Details.ts +12 -0
  149. package/src/generated/model/createProjectClaim404.ts +23 -0
  150. package/src/generated/model/createProjectClaim409.ts +25 -0
  151. package/src/generated/model/createProjectClaim409Details.ts +14 -0
  152. package/src/generated/model/createProjectClaim410.ts +23 -0
  153. package/src/generated/model/createProjectClaimDefault.ts +99 -0
  154. package/src/generated/model/createRelease200.ts +4 -4
  155. package/src/generated/model/createRelease200PointersItem.ts +3 -1
  156. package/src/generated/model/createRelease200PointersItemKind.ts +2 -1
  157. package/src/generated/model/createRelease201.ts +4 -4
  158. package/src/generated/model/createRelease201PointersItem.ts +3 -1
  159. package/src/generated/model/createRelease201PointersItemKind.ts +2 -1
  160. package/src/generated/model/createReleaseBodyPointersItem.ts +1 -1
  161. package/src/generated/model/createReleaseBodyPointersItemKind.ts +2 -1
  162. package/src/generated/model/createReleaseParams.ts +7 -7
  163. package/src/generated/model/createTeamParams.ts +7 -7
  164. package/src/generated/model/createUser201.ts +1 -1
  165. package/src/generated/model/createUserBody.ts +1 -1
  166. package/src/generated/model/createUserParams.ts +23 -23
  167. package/src/generated/model/createUserPasskeyRegistration201.ts +25 -0
  168. package/src/generated/model/createUserPasskeyRegistration201Options.ts +13 -0
  169. package/src/generated/model/createUserPasskeyRegistration400.ts +20 -0
  170. package/src/generated/model/createUserPasskeyRegistration400Details.ts +12 -0
  171. package/src/generated/model/createUserPasskeyRegistration401.ts +20 -0
  172. package/src/generated/model/createUserPasskeyRegistration401Details.ts +12 -0
  173. package/src/generated/model/createUserPasskeyRegistration403.ts +20 -0
  174. package/src/generated/model/createUserPasskeyRegistration403Details.ts +12 -0
  175. package/src/generated/model/createUserPasskeyRegistration404.ts +20 -0
  176. package/src/generated/model/createUserPasskeyRegistration404Details.ts +12 -0
  177. package/src/generated/model/createUserPasskeyRegistration500.ts +20 -0
  178. package/src/generated/model/createUserPasskeyRegistration500Details.ts +12 -0
  179. package/src/generated/model/createUserPasskeyRegistrationBody.ts +33 -0
  180. package/src/generated/model/createUserPasskeyRegistrationDefault.ts +126 -0
  181. package/src/generated/model/deactivateTeam400.ts +20 -0
  182. package/src/generated/model/deactivateTeam400Details.ts +12 -0
  183. package/src/generated/model/deactivateTeam401.ts +20 -0
  184. package/src/generated/model/deactivateTeam401Details.ts +12 -0
  185. package/src/generated/model/deactivateTeam403.ts +20 -0
  186. package/src/generated/model/deactivateTeam403Details.ts +12 -0
  187. package/src/generated/model/deactivateTeam409.ts +20 -0
  188. package/src/generated/model/deactivateTeam409Details.ts +12 -0
  189. package/src/generated/model/deactivateTeamDefault.ts +90 -0
  190. package/src/generated/model/deleteGrantParams.ts +7 -7
  191. package/src/generated/model/deleteUser401.ts +20 -0
  192. package/src/generated/model/deleteUser401Details.ts +12 -0
  193. package/src/generated/model/deleteUser404.ts +20 -0
  194. package/src/generated/model/deleteUser404Details.ts +12 -0
  195. package/src/generated/model/deleteUser409.ts +20 -0
  196. package/src/generated/model/deleteUser409Details.ts +12 -0
  197. package/src/generated/model/deleteUserDefault.ts +99 -0
  198. package/src/generated/model/deleteVariableParams.ts +12 -12
  199. package/src/generated/model/evaluatePolicy200.ts +2 -2
  200. package/src/generated/model/evaluatePolicyBody.ts +31 -0
  201. package/src/generated/model/evaluatePolicyParams.ts +7 -7
  202. package/src/generated/model/exchangeHandoffBody.ts +2 -2
  203. package/src/generated/model/exchangeHandoffParams.ts +7 -7
  204. package/src/generated/model/getApplication200.ts +43 -0
  205. package/src/generated/model/getApplication200Definition.ts +35 -0
  206. package/src/generated/model/getApplication200DefinitionClientsItem.ts +84 -0
  207. package/src/generated/model/getApplication200DefinitionClientsItemGrantTypesItem.ts +15 -0
  208. package/src/generated/model/getApplication200DefinitionClientsItemType.ts +19 -0
  209. package/src/generated/model/getApplication401.ts +20 -0
  210. package/src/generated/model/getApplication401Details.ts +12 -0
  211. package/src/generated/model/getApplication403.ts +20 -0
  212. package/src/generated/model/getApplication403Details.ts +12 -0
  213. package/src/generated/model/getApplication404.ts +20 -0
  214. package/src/generated/model/getApplication404Details.ts +12 -0
  215. package/src/generated/model/getApplicationDefault.ts +72 -0
  216. package/src/generated/model/getApplicationParams.ts +17 -0
  217. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +1 -1
  218. package/src/generated/model/getAuthAttempt200ChallengesItemPayload.ts +1 -1
  219. package/src/generated/model/getBranding200.ts +32 -0
  220. package/src/generated/model/getBranding200Branding.ts +80 -0
  221. package/src/generated/model/getBranding200BrandingLayout.ts +27 -0
  222. package/src/generated/model/getBranding200BrandingShape.ts +30 -0
  223. package/src/generated/model/getBranding200BrandingShapeDensity.ts +19 -0
  224. package/src/generated/model/getBranding200BrandingTheme.ts +41 -0
  225. package/src/generated/model/getBranding200BrandingThemeDark.ts +34 -0
  226. package/src/generated/model/getBranding200BrandingThemeDarkPalette.ts +210 -0
  227. package/src/generated/model/getBranding200BrandingThemeLight.ts +34 -0
  228. package/src/generated/model/getBranding200BrandingThemeLightPalette.ts +210 -0
  229. package/src/generated/model/getBranding200BrandingThemeMode.ts +19 -0
  230. package/src/generated/model/getBranding200BrandingTypography.ts +47 -0
  231. package/src/generated/model/getBranding404.ts +20 -0
  232. package/src/generated/model/getBranding404Details.ts +12 -0
  233. package/src/generated/model/getBrandingDefault.ts +72 -0
  234. package/src/generated/model/getDeployment200.ts +78 -0
  235. package/src/generated/model/getDeployment200Kind.ts +18 -0
  236. package/src/generated/model/getDeployment200Metadata.ts +35 -0
  237. package/src/generated/model/getDeployment200MetadataDeployedByType.ts +20 -0
  238. package/src/generated/model/getDeployment200MetadataReason.ts +20 -0
  239. package/src/generated/model/getDeployment200Release.ts +96 -0
  240. package/src/generated/model/getDeployment200ReleaseMetadata.ts +43 -0
  241. package/src/generated/model/getDeployment200ReleaseMetadataCreatedByType.ts +20 -0
  242. package/src/generated/model/getDeployment200ReleasePointersItem.ts +63 -0
  243. package/src/generated/model/getDeployment200ReleasePointersItemKind.ts +29 -0
  244. package/src/generated/model/getDeployment200Status.ts +23 -0
  245. package/src/generated/model/getDeployment200TargetsItem.ts +23 -0
  246. package/src/generated/model/getDeploymentDefault.ts +72 -0
  247. package/src/generated/model/getDeploymentParams.ts +17 -0
  248. package/src/generated/model/getEvent200.ts +1014 -160
  249. package/src/generated/model/getEventParams.ts +7 -7
  250. package/src/generated/model/getFlowDefinition200.ts +2 -2
  251. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +2 -12
  252. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +2 -9
  253. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -2
  254. package/src/generated/model/getFlowDefinition200UserSchema.ts +1 -1
  255. package/src/generated/model/getFlowStep200.ts +1 -1
  256. package/src/generated/model/getFlowStep200Branding.ts +1 -1
  257. package/src/generated/model/getFlowStep200StepGates.ts +22 -9
  258. package/src/generated/model/getFlowStep200StepGatesChallenge.ts +30 -0
  259. package/src/generated/model/getFlowStep200StepGatesConfig.ts +2 -2
  260. package/src/generated/model/getFlowStep200StepGatesKind.ts +3 -4
  261. package/src/generated/model/getFlowStep429.ts +23 -0
  262. package/src/generated/model/getFlowStepDefault.ts +18 -0
  263. package/src/generated/model/getGrantParams.ts +13 -13
  264. package/src/generated/model/getIdp200.ts +39 -0
  265. package/src/generated/model/getIdp200Definition.ts +44 -0
  266. package/src/generated/model/getIdp200DefinitionClaimMapping.ts +12 -0
  267. package/src/generated/model/getIdp200DefinitionOidc.ts +65 -0
  268. package/src/generated/model/getIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  269. package/src/generated/model/getIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  270. package/src/generated/model/getIdp200DefinitionProtocol.ts +17 -0
  271. package/src/generated/model/getIdp200DefinitionProvisioning.ts +15 -0
  272. package/src/generated/model/getIdp200DefinitionProvisioningCreation.ts +15 -0
  273. package/src/generated/model/getIdp200DefinitionVerifiedClaims.ts +12 -0
  274. package/src/generated/model/getIdp401.ts +20 -0
  275. package/src/generated/model/getIdp401Details.ts +12 -0
  276. package/src/generated/model/getIdp403.ts +20 -0
  277. package/src/generated/model/getIdp403Details.ts +12 -0
  278. package/src/generated/model/getIdp404.ts +20 -0
  279. package/src/generated/model/getIdp404Details.ts +12 -0
  280. package/src/generated/model/getIdpDefault.ts +72 -0
  281. package/src/generated/model/getIdpParams.ts +17 -0
  282. package/src/generated/model/getIdpRevision200.ts +39 -0
  283. package/src/generated/model/getIdpRevision200Definition.ts +44 -0
  284. package/src/generated/model/getIdpRevision200DefinitionClaimMapping.ts +12 -0
  285. package/src/generated/model/getIdpRevision200DefinitionOidc.ts +65 -0
  286. package/src/generated/model/getIdpRevision200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  287. package/src/generated/model/getIdpRevision200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  288. package/src/generated/model/getIdpRevision200DefinitionProtocol.ts +17 -0
  289. package/src/generated/model/getIdpRevision200DefinitionProvisioning.ts +15 -0
  290. package/src/generated/model/getIdpRevision200DefinitionProvisioningCreation.ts +15 -0
  291. package/src/generated/model/getIdpRevision200DefinitionVerifiedClaims.ts +12 -0
  292. package/src/generated/model/getIdpRevision401.ts +20 -0
  293. package/src/generated/model/getIdpRevision401Details.ts +12 -0
  294. package/src/generated/model/getIdpRevision403.ts +20 -0
  295. package/src/generated/model/getIdpRevision403Details.ts +12 -0
  296. package/src/generated/model/getIdpRevision404.ts +20 -0
  297. package/src/generated/model/getIdpRevision404Details.ts +12 -0
  298. package/src/generated/model/getIdpRevisionDefault.ts +72 -0
  299. package/src/generated/model/getIdpRevisionParams.ts +17 -0
  300. package/src/generated/model/getInvitation200.ts +88 -16
  301. package/src/generated/model/getInvitationParams.ts +7 -7
  302. package/src/generated/model/getMyPasswordStateParams.ts +16 -16
  303. package/src/generated/model/getMySessionCsrfTokenParams.ts +16 -16
  304. package/src/generated/model/getMySessionParams.ts +16 -16
  305. package/src/generated/model/getMyUser200.ts +1 -1
  306. package/src/generated/model/getMyUserParams.ts +16 -16
  307. package/src/generated/model/getMyUserSchemaParams.ts +16 -16
  308. package/src/generated/model/getOAuthSettings200.ts +33 -0
  309. package/src/generated/model/getOAuthSettings200Oauth.ts +29 -0
  310. package/src/generated/model/getOAuthSettings404.ts +20 -0
  311. package/src/generated/model/getOAuthSettings404Details.ts +12 -0
  312. package/src/generated/model/getOAuthSettingsDefault.ts +72 -0
  313. package/src/generated/model/getPolicy200.ts +36 -0
  314. package/src/generated/model/getPolicyParams.ts +7 -7
  315. package/src/generated/model/getPolicyRevision200.ts +36 -0
  316. package/src/generated/model/getPolicyRevisionParams.ts +7 -7
  317. package/src/generated/model/getProjectClaimStatus200.ts +27 -0
  318. package/src/generated/model/getProjectClaimStatus401.ts +20 -0
  319. package/src/generated/model/getProjectClaimStatus401Details.ts +12 -0
  320. package/src/generated/model/getProjectClaimStatus403.ts +23 -0
  321. package/src/generated/model/getProjectClaimStatus404.ts +20 -0
  322. package/src/generated/model/getProjectClaimStatus404Details.ts +12 -0
  323. package/src/generated/model/getProjectClaimStatus410.ts +27 -0
  324. package/src/generated/model/getProjectClaimStatus429.ts +20 -0
  325. package/src/generated/model/getProjectClaimStatus429Details.ts +12 -0
  326. package/src/generated/model/getProjectClaimStatusDefault.ts +99 -0
  327. package/src/generated/model/getProjectClaimStatusParams.ts +15 -0
  328. package/src/generated/model/getProjectClaimWindow200.ts +23 -0
  329. package/src/generated/model/getProjectClaimWindow404.ts +20 -0
  330. package/src/generated/model/getProjectClaimWindow404Details.ts +12 -0
  331. package/src/generated/model/getProjectClaimWindow429.ts +20 -0
  332. package/src/generated/model/getProjectClaimWindow429Details.ts +12 -0
  333. package/src/generated/model/getProjectClaimWindowDefault.ts +36 -0
  334. package/src/generated/model/getProjectClaimWindowParams.ts +15 -0
  335. package/src/generated/model/getRelease200.ts +96 -0
  336. package/src/generated/model/getRelease200Metadata.ts +43 -0
  337. package/src/generated/model/getRelease200MetadataCreatedByType.ts +20 -0
  338. package/src/generated/model/getRelease200PointersItem.ts +63 -0
  339. package/src/generated/model/getRelease200PointersItemKind.ts +29 -0
  340. package/src/generated/model/getReleaseDefault.ts +72 -0
  341. package/src/generated/model/getReleaseParams.ts +17 -0
  342. package/src/generated/model/getSchema200.ts +31 -0
  343. package/src/generated/model/getSchema200Metadata.ts +18 -0
  344. package/src/generated/model/getSchema200Schema.ts +84 -0
  345. package/src/generated/model/getSchemaDefault.ts +72 -0
  346. package/src/generated/model/getSchemaParams.ts +21 -0
  347. package/src/generated/model/getUser200.ts +76 -0
  348. package/src/generated/model/getUser200Attributes.ts +13 -0
  349. package/src/generated/model/getUser200Metadata.ts +44 -0
  350. package/src/generated/model/getUser200MetadataLifecycleOwnerTeam.ts +43 -0
  351. package/src/generated/model/getUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  352. package/src/generated/model/getUser200MetadataStatus.ts +20 -0
  353. package/src/generated/model/getUser200TeamsItem.ts +33 -0
  354. package/src/generated/model/getUser200TeamsItemMembershipStatus.ts +20 -0
  355. package/src/generated/model/getUser401.ts +20 -0
  356. package/src/generated/model/getUser401Details.ts +12 -0
  357. package/src/generated/model/getUser404.ts +20 -0
  358. package/src/generated/model/getUser404Details.ts +12 -0
  359. package/src/generated/model/getUserDefault.ts +72 -0
  360. package/src/generated/model/getUserParams.ts +31 -0
  361. package/src/generated/model/getVariableParams.ts +12 -12
  362. package/src/generated/model/index.ts +462 -468
  363. package/src/generated/model/listBranding200.ts +20 -0
  364. package/src/generated/model/listBranding200BrandingItem.ts +18 -0
  365. package/src/generated/model/listBrandingParams.ts +20 -7
  366. package/src/generated/model/listDeploymentVariables200.ts +17 -0
  367. package/src/generated/model/listDeploymentVariablesDefault.ts +90 -0
  368. package/src/generated/model/listDeploymentVariablesParams.ts +17 -0
  369. package/src/generated/model/listDeployments200DeploymentsItem.ts +2 -2
  370. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +4 -4
  371. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +3 -1
  372. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +2 -1
  373. package/src/generated/model/listDeployments200DeploymentsItemTargetsItem.ts +0 -5
  374. package/src/generated/model/listDeploymentsParams.ts +42 -39
  375. package/src/generated/model/listEvents200.ts +2 -2
  376. package/src/generated/model/listEvents200EventsItem.ts +5220 -0
  377. package/src/generated/model/listEventsParams.ts +83 -97
  378. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +2 -2
  379. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +2 -12
  380. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +2 -9
  381. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -2
  382. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +1 -1
  383. package/src/generated/model/listFlowDefinitionsExpandItem.ts +1 -1
  384. package/src/generated/model/listFlowDefinitionsParams.ts +44 -48
  385. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +2 -2
  386. package/src/generated/model/listIdpRevisionsParams.ts +20 -20
  387. package/src/generated/model/listInvitations200InvitationsItem.ts +88 -16
  388. package/src/generated/model/listInvitationsExpandItem.ts +25 -0
  389. package/src/generated/model/listInvitationsParams.ts +31 -31
  390. package/src/generated/model/listInvitationsStatusItem.ts +22 -0
  391. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +1 -1
  392. package/src/generated/model/listMyIdentityLinksParams.ts +29 -29
  393. package/src/generated/model/listMyPasskeysParams.ts +29 -29
  394. package/src/generated/model/listMyProjectsParams.ts +52 -46
  395. package/src/generated/model/listMyTeamsParams.ts +29 -29
  396. package/src/generated/model/listPolicies200PoliciesItem.ts +36 -0
  397. package/src/generated/model/listPoliciesOperation.ts +1 -0
  398. package/src/generated/model/listPoliciesParams.ts +22 -24
  399. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +36 -0
  400. package/src/generated/model/listPolicyRevisionsParams.ts +20 -20
  401. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +1 -1
  402. package/src/generated/model/listProjectAdminsParams.ts +13 -13
  403. package/src/generated/model/listProjectMembers200.ts +20 -0
  404. package/src/generated/model/listProjectMembers200MembersItem.ts +38 -0
  405. package/src/generated/model/listProjectMembers200MembersItemRelation.ts +20 -0
  406. package/src/generated/model/listProjectMembers200MembersItemSourcesItem.ts +55 -0
  407. package/src/generated/model/listProjectMembers200MembersItemUser.ts +40 -0
  408. package/src/generated/model/listProjectMembers400.ts +20 -0
  409. package/src/generated/model/listProjectMembers400Details.ts +12 -0
  410. package/src/generated/model/listProjectMembers401.ts +20 -0
  411. package/src/generated/model/listProjectMembers401Details.ts +12 -0
  412. package/src/generated/model/listProjectMembers403.ts +20 -0
  413. package/src/generated/model/listProjectMembers403Details.ts +12 -0
  414. package/src/generated/model/listProjectMembers404.ts +20 -0
  415. package/src/generated/model/listProjectMembers404Details.ts +12 -0
  416. package/src/generated/model/listProjectMembersDefault.ts +81 -0
  417. package/src/generated/model/listProjectMembersParams.ts +29 -0
  418. package/src/generated/model/listProjectMembersRelation.ts +16 -0
  419. package/src/generated/model/listProjectPreviews200.ts +20 -0
  420. package/src/generated/model/listProjectPreviews200PreviewsItem.ts +37 -0
  421. package/src/generated/model/listProjectPreviewsDefault.ts +72 -0
  422. package/src/generated/model/listProjectPreviewsParams.ts +23 -0
  423. package/src/generated/model/listReleases200ReleasesItem.ts +2 -2
  424. package/src/generated/model/listReleasesParams.ts +60 -60
  425. package/src/generated/model/listSchemasParams.ts +54 -56
  426. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +1 -1
  427. package/src/generated/model/listUserIdentityLinksParams.ts +13 -13
  428. package/src/generated/model/listUserPasskeysParams.ts +13 -13
  429. package/src/generated/model/listUserTeamsParams.ts +13 -13
  430. package/src/generated/model/listVariables200.ts +35 -0
  431. package/src/generated/model/listVariables200Preview.ts +20 -0
  432. package/src/generated/model/listVariables200Primary.ts +20 -0
  433. package/src/generated/model/listVariablesDefault.ts +72 -0
  434. package/src/generated/model/listVariablesKind.ts +15 -0
  435. package/src/generated/model/listVariablesParams.ts +23 -0
  436. package/src/generated/model/lookupInvitation200.ts +62 -4
  437. package/src/generated/model/publishApplication200.ts +137 -0
  438. package/src/generated/model/publishApplication200ClientSecretsItem.ts +19 -0
  439. package/src/generated/model/publishApplication201.ts +137 -0
  440. package/src/generated/model/publishApplication201ClientSecretsItem.ts +19 -0
  441. package/src/generated/model/publishApplication400.ts +20 -0
  442. package/src/generated/model/publishApplication400Details.ts +12 -0
  443. package/src/generated/model/publishApplication401.ts +20 -0
  444. package/src/generated/model/publishApplication401Details.ts +12 -0
  445. package/src/generated/model/publishApplication403.ts +20 -0
  446. package/src/generated/model/publishApplication403Details.ts +12 -0
  447. package/src/generated/model/publishApplication404.ts +20 -0
  448. package/src/generated/model/publishApplication404Details.ts +12 -0
  449. package/src/generated/model/publishApplication409.ts +20 -0
  450. package/src/generated/model/publishApplication409Details.ts +12 -0
  451. package/src/generated/model/publishApplicationBody.ts +20 -0
  452. package/src/generated/model/publishApplicationBodyApplication.ts +35 -0
  453. package/src/generated/model/publishApplicationBodyApplicationClientsItem.ts +84 -0
  454. package/src/generated/model/publishApplicationBodyApplicationClientsItemGrantTypesItem.ts +15 -0
  455. package/src/generated/model/publishApplicationBodyApplicationClientsItemType.ts +19 -0
  456. package/src/generated/model/publishApplicationDefault.ts +117 -0
  457. package/src/generated/model/publishApplicationParams.ts +17 -0
  458. package/src/generated/model/publishBranding201.ts +32 -0
  459. package/src/generated/model/publishBranding201Branding.ts +80 -0
  460. package/src/generated/model/publishBranding201BrandingLayout.ts +27 -0
  461. package/src/generated/model/publishBranding201BrandingShape.ts +30 -0
  462. package/src/generated/model/publishBranding201BrandingShapeDensity.ts +19 -0
  463. package/src/generated/model/publishBranding201BrandingTheme.ts +41 -0
  464. package/src/generated/model/publishBranding201BrandingThemeDark.ts +34 -0
  465. package/src/generated/model/publishBranding201BrandingThemeDarkPalette.ts +210 -0
  466. package/src/generated/model/publishBranding201BrandingThemeLight.ts +34 -0
  467. package/src/generated/model/publishBranding201BrandingThemeLightPalette.ts +210 -0
  468. package/src/generated/model/publishBranding201BrandingThemeMode.ts +19 -0
  469. package/src/generated/model/publishBranding201BrandingTypography.ts +47 -0
  470. package/src/generated/model/publishBranding400.ts +20 -0
  471. package/src/generated/model/publishBranding400Details.ts +12 -0
  472. package/src/generated/model/publishBrandingBody.ts +80 -0
  473. package/src/generated/model/publishBrandingBodyLayout.ts +27 -0
  474. package/src/generated/model/publishBrandingBodyShape.ts +30 -0
  475. package/src/generated/model/publishBrandingBodyShapeDensity.ts +19 -0
  476. package/src/generated/model/publishBrandingBodyTheme.ts +41 -0
  477. package/src/generated/model/publishBrandingBodyThemeDark.ts +34 -0
  478. package/src/generated/model/publishBrandingBodyThemeDarkPalette.ts +210 -0
  479. package/src/generated/model/publishBrandingBodyThemeLight.ts +34 -0
  480. package/src/generated/model/publishBrandingBodyThemeLightPalette.ts +210 -0
  481. package/src/generated/model/publishBrandingBodyThemeMode.ts +19 -0
  482. package/src/generated/model/publishBrandingBodyTypography.ts +47 -0
  483. package/src/generated/model/publishBrandingDefault.ts +99 -0
  484. package/src/generated/model/publishBrandingParams.ts +17 -0
  485. package/src/generated/model/publishFlowDefinition201.ts +48 -0
  486. package/src/generated/model/publishFlowDefinition201FlowDefinition.ts +85 -0
  487. package/src/generated/model/publishFlowDefinition201FlowDefinitionAudience.ts +20 -0
  488. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItem.ts +109 -0
  489. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +49 -0
  490. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +29 -0
  491. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemComplete.ts +20 -0
  492. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGates.ts +29 -0
  493. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +12 -0
  494. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +20 -0
  495. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +25 -0
  496. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitions.ts +68 -0
  497. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +28 -0
  498. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  499. package/src/generated/model/publishFlowDefinition201UserSchema.ts +26 -0
  500. package/src/generated/model/publishFlowDefinition201UserSchemaMetadata.ts +18 -0
  501. package/src/generated/model/publishFlowDefinition201UserSchemaSchema.ts +84 -0
  502. package/src/generated/model/publishFlowDefinition400.ts +20 -0
  503. package/src/generated/model/publishFlowDefinition400Details.ts +12 -0
  504. package/src/generated/model/publishFlowDefinitionBody.ts +43 -0
  505. package/src/generated/model/publishFlowDefinitionBodyFlowDefinition.ts +85 -0
  506. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionAudience.ts +20 -0
  507. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItem.ts +109 -0
  508. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +49 -0
  509. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +29 -0
  510. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +20 -0
  511. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +29 -0
  512. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +12 -0
  513. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +20 -0
  514. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +25 -0
  515. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +68 -0
  516. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +28 -0
  517. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  518. package/src/generated/model/publishFlowDefinitionDefault.ts +117 -0
  519. package/src/generated/model/publishIdp200.ts +39 -0
  520. package/src/generated/model/publishIdp200Definition.ts +44 -0
  521. package/src/generated/model/publishIdp200DefinitionClaimMapping.ts +12 -0
  522. package/src/generated/model/publishIdp200DefinitionOidc.ts +65 -0
  523. package/src/generated/model/publishIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  524. package/src/generated/model/publishIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  525. package/src/generated/model/publishIdp200DefinitionProtocol.ts +17 -0
  526. package/src/generated/model/publishIdp200DefinitionProvisioning.ts +15 -0
  527. package/src/generated/model/publishIdp200DefinitionProvisioningCreation.ts +15 -0
  528. package/src/generated/model/publishIdp200DefinitionVerifiedClaims.ts +12 -0
  529. package/src/generated/model/publishIdp201.ts +39 -0
  530. package/src/generated/model/publishIdp201Definition.ts +44 -0
  531. package/src/generated/model/publishIdp201DefinitionClaimMapping.ts +12 -0
  532. package/src/generated/model/publishIdp201DefinitionOidc.ts +65 -0
  533. package/src/generated/model/publishIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  534. package/src/generated/model/publishIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  535. package/src/generated/model/publishIdp201DefinitionProtocol.ts +17 -0
  536. package/src/generated/model/publishIdp201DefinitionProvisioning.ts +15 -0
  537. package/src/generated/model/publishIdp201DefinitionProvisioningCreation.ts +15 -0
  538. package/src/generated/model/publishIdp201DefinitionVerifiedClaims.ts +12 -0
  539. package/src/generated/model/publishIdp400.ts +20 -0
  540. package/src/generated/model/publishIdp400Details.ts +12 -0
  541. package/src/generated/model/publishIdp401.ts +20 -0
  542. package/src/generated/model/publishIdp401Details.ts +12 -0
  543. package/src/generated/model/publishIdp403.ts +20 -0
  544. package/src/generated/model/publishIdp403Details.ts +12 -0
  545. package/src/generated/model/publishIdp404.ts +20 -0
  546. package/src/generated/model/publishIdp404Details.ts +12 -0
  547. package/src/generated/model/publishIdpBody.ts +15 -0
  548. package/src/generated/model/publishIdpBodyIdp.ts +44 -0
  549. package/src/generated/model/publishIdpBodyIdpClaimMapping.ts +12 -0
  550. package/src/generated/model/publishIdpBodyIdpOidc.ts +65 -0
  551. package/src/generated/model/publishIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
  552. package/src/generated/model/publishIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
  553. package/src/generated/model/publishIdpBodyIdpProtocol.ts +17 -0
  554. package/src/generated/model/publishIdpBodyIdpProvisioning.ts +15 -0
  555. package/src/generated/model/publishIdpBodyIdpProvisioningCreation.ts +15 -0
  556. package/src/generated/model/publishIdpBodyIdpVerifiedClaims.ts +12 -0
  557. package/src/generated/model/publishIdpDefault.ts +108 -0
  558. package/src/generated/model/publishIdpParams.ts +17 -0
  559. package/src/generated/model/publishPolicy201.ts +36 -0
  560. package/src/generated/model/publishPolicyBody.ts +20 -0
  561. package/src/generated/model/publishPolicyParams.ts +7 -7
  562. package/src/generated/model/publishSchema201.ts +31 -0
  563. package/src/generated/model/publishSchema201Metadata.ts +18 -0
  564. package/src/generated/model/publishSchema201Schema.ts +84 -0
  565. package/src/generated/model/publishSchemaBody.ts +86 -0
  566. package/src/generated/model/publishSchemaDefault.ts +153 -0
  567. package/src/generated/model/publishSchemaParams.ts +22 -0
  568. package/src/generated/model/queryGrantsParams.ts +7 -7
  569. package/src/generated/model/queryIdps200IdpsItem.ts +2 -2
  570. package/src/generated/model/queryIdpsParams.ts +7 -7
  571. package/src/generated/model/querySessionsParams.ts +7 -7
  572. package/src/generated/model/queryTeamsParams.ts +6 -6
  573. package/src/generated/model/queryUsers200UsersItem.ts +1 -1
  574. package/src/generated/model/queryUsersParams.ts +6 -6
  575. package/src/generated/model/rejectInvitation200.ts +88 -16
  576. package/src/generated/model/rejectInvitationDefault.ts +18 -0
  577. package/src/generated/model/removeProjectOriginBody.ts +15 -0
  578. package/src/generated/model/removeProjectOriginDefault.ts +108 -0
  579. package/src/generated/model/removeProjectPreviewBody.ts +23 -0
  580. package/src/generated/model/removeProjectPreviewDefault.ts +90 -0
  581. package/src/generated/model/revokeMySessionParams.ts +16 -16
  582. package/src/generated/model/revokeRelease200.ts +4 -4
  583. package/src/generated/model/revokeRelease200PointersItem.ts +3 -1
  584. package/src/generated/model/revokeRelease200PointersItemKind.ts +2 -1
  585. package/src/generated/model/revokeReleaseParams.ts +7 -7
  586. package/src/generated/model/rollbackDeployment200.ts +2 -2
  587. package/src/generated/model/rollbackDeployment200Release.ts +4 -4
  588. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +3 -1
  589. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +2 -1
  590. package/src/generated/model/rollbackDeployment200TargetsItem.ts +0 -5
  591. package/src/generated/model/rollbackDeployment201.ts +2 -2
  592. package/src/generated/model/rollbackDeployment201Release.ts +4 -4
  593. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +3 -1
  594. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +2 -1
  595. package/src/generated/model/rollbackDeployment201TargetsItem.ts +0 -5
  596. package/src/generated/model/rollbackDeployment409.ts +8 -11
  597. package/src/generated/model/rollbackDeploymentParams.ts +7 -7
  598. package/src/generated/model/search200.ts +9 -2
  599. package/src/generated/model/searchDefault.ts +2 -74
  600. package/src/generated/model/searchParams.ts +7 -6
  601. package/src/generated/model/setUserPassword429.ts +23 -0
  602. package/src/generated/model/setUserPasswordDefault.ts +9 -0
  603. package/src/generated/model/setVariables200.ts +35 -0
  604. package/src/generated/model/setVariables200Preview.ts +20 -0
  605. package/src/generated/model/setVariables200Primary.ts +20 -0
  606. package/src/generated/model/setVariablesBody.ts +48 -0
  607. package/src/generated/model/setVariablesDefault.ts +162 -0
  608. package/src/generated/model/setVariablesKind.ts +15 -0
  609. package/src/generated/model/setVariablesParams.ts +23 -0
  610. package/src/generated/model/submitFlowStep200.ts +1 -1
  611. package/src/generated/model/submitFlowStep200Branding.ts +1 -1
  612. package/src/generated/model/submitFlowStep200StepGates.ts +22 -9
  613. package/src/generated/model/submitFlowStep200StepGatesChallenge.ts +30 -0
  614. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +2 -2
  615. package/src/generated/model/submitFlowStep200StepGatesKind.ts +3 -4
  616. package/src/generated/model/submitFlowStep400.ts +885 -8
  617. package/src/generated/model/submitFlowStep429.ts +23 -0
  618. package/src/generated/model/submitFlowStepBody.ts +5 -2
  619. package/src/generated/model/submitFlowStepBodyGateProofs.ts +4 -1
  620. package/src/generated/model/submitFlowStepDefault.ts +27 -0
  621. package/src/generated/model/updateMyUser200.ts +76 -0
  622. package/src/generated/model/updateMyUser200Attributes.ts +13 -0
  623. package/src/generated/model/updateMyUser200Metadata.ts +44 -0
  624. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
  625. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  626. package/src/generated/model/updateMyUser200MetadataStatus.ts +20 -0
  627. package/src/generated/model/updateMyUser200TeamsItem.ts +33 -0
  628. package/src/generated/model/updateMyUser200TeamsItemMembershipStatus.ts +20 -0
  629. package/src/generated/model/updateMyUser400.ts +20 -0
  630. package/src/generated/model/updateMyUser400Details.ts +12 -0
  631. package/src/generated/model/updateMyUser401.ts +20 -0
  632. package/src/generated/model/updateMyUser401Details.ts +12 -0
  633. package/src/generated/model/updateMyUser403.ts +20 -0
  634. package/src/generated/model/updateMyUser403Details.ts +12 -0
  635. package/src/generated/model/updateMyUser404.ts +23 -0
  636. package/src/generated/model/updateMyUser409.ts +20 -0
  637. package/src/generated/model/updateMyUser409Details.ts +12 -0
  638. package/src/generated/model/updateMyUserBody.ts +25 -0
  639. package/src/generated/model/updateMyUserBodyAttributes.ts +13 -0
  640. package/src/generated/model/updateMyUserDefault.ts +117 -0
  641. package/src/generated/model/updateMyUserParams.ts +26 -0
  642. package/src/generated/model/updateProject200.ts +96 -0
  643. package/src/generated/model/updateProject400.ts +20 -0
  644. package/src/generated/model/updateProject400Details.ts +12 -0
  645. package/src/generated/model/updateProject401.ts +20 -0
  646. package/src/generated/model/updateProject401Details.ts +12 -0
  647. package/src/generated/model/updateProject404.ts +20 -0
  648. package/src/generated/model/updateProject404Details.ts +12 -0
  649. package/src/generated/model/updateProjectBody.ts +19 -0
  650. package/src/generated/model/updateProjectBodyPasswordHash.ts +40 -0
  651. package/src/generated/model/updateProjectBodyPasswordHashAlgorithm.ts +24 -0
  652. package/src/generated/model/updateProjectBodyPasswordHashParams.ts +44 -0
  653. package/src/generated/model/updateProjectBodyPasswordHashParamsHash.ts +24 -0
  654. package/src/generated/model/updateProjectDefault.ts +117 -0
  655. package/src/generated/model/updateUser200.ts +76 -0
  656. package/src/generated/model/updateUser200Attributes.ts +13 -0
  657. package/src/generated/model/updateUser200Metadata.ts +44 -0
  658. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeam.ts +43 -0
  659. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  660. package/src/generated/model/updateUser200MetadataStatus.ts +20 -0
  661. package/src/generated/model/updateUser200TeamsItem.ts +33 -0
  662. package/src/generated/model/updateUser200TeamsItemMembershipStatus.ts +20 -0
  663. package/src/generated/model/updateUser400.ts +20 -0
  664. package/src/generated/model/updateUser400Details.ts +12 -0
  665. package/src/generated/model/updateUser401.ts +20 -0
  666. package/src/generated/model/updateUser401Details.ts +12 -0
  667. package/src/generated/model/updateUser403.ts +20 -0
  668. package/src/generated/model/updateUser403Details.ts +12 -0
  669. package/src/generated/model/updateUser404.ts +20 -0
  670. package/src/generated/model/updateUser404Details.ts +12 -0
  671. package/src/generated/model/updateUser409.ts +20 -0
  672. package/src/generated/model/updateUser409Details.ts +12 -0
  673. package/src/generated/model/updateUserBody.ts +53 -0
  674. package/src/generated/model/updateUserBodyAttributes.ts +13 -0
  675. package/src/generated/model/updateUserDefault.ts +117 -0
  676. package/src/generated/model/verifyAuthAttemptChallenge200.ts +76 -0
  677. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItem.ts +49 -0
  678. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemMethod.ts +20 -0
  679. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +34 -0
  680. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemState.ts +22 -0
  681. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItem.ts +28 -0
  682. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemMethod.ts +20 -0
  683. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemPayload.ts +37 -0
  684. package/src/generated/model/verifyAuthAttemptChallenge200RequiredFactorsItem.ts +20 -0
  685. package/src/generated/model/verifyAuthAttemptChallenge200State.ts +24 -0
  686. package/src/generated/model/verifyAuthAttemptChallenge409.ts +20 -0
  687. package/src/generated/model/verifyAuthAttemptChallenge409Details.ts +12 -0
  688. package/src/generated/model/verifyAuthAttemptChallenge429.ts +23 -0
  689. package/src/generated/model/verifyAuthAttemptChallengeBody.ts +27 -0
  690. package/src/generated/model/verifyAuthAttemptChallengeDefault.ts +189 -0
  691. package/src/generated/operations.ts +195 -106
  692. package/src/generated/paging.ts +17 -7
  693. package/src/runtime/api-factory.spec.ts +3 -3
  694. package/src/runtime/api-factory.ts +1 -1
  695. package/src/runtime/base-url.spec.ts +5 -5
  696. package/dist/api-factory-Durul-IL.d.mts +0 -222
  697. package/dist/api-factory-Durul-IL.d.mts.map +0 -1
  698. package/dist/api-factory-DwzqkuTV.mjs +0 -367
  699. package/dist/api-factory-DwzqkuTV.mjs.map +0 -1
  700. package/dist/fetch-BzLvdm6C.d.mts +0 -136
  701. package/dist/fetch-BzLvdm6C.d.mts.map +0 -1
  702. package/dist/generated/endpoints/zitadelNextGen.mjs.map +0 -1
  703. package/dist/index-D0r_rLRr.d.mts +0 -60777
  704. package/dist/index-D0r_rLRr.d.mts.map +0 -1
  705. package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
  706. package/dist/zitadelNextGen-DgKtevtj.d.mts +0 -1940
  707. package/dist/zitadelNextGen-DgKtevtj.d.mts.map +0 -1
  708. package/src/generated/model/acceptInvitation429.ts +0 -20
  709. package/src/generated/model/acceptInvitation429Details.ts +0 -12
  710. package/src/generated/model/addOrigin201.ts +0 -18
  711. package/src/generated/model/addOrigin201Kind.ts +0 -18
  712. package/src/generated/model/addOriginBody.ts +0 -35
  713. package/src/generated/model/addOriginBodyKind.ts +0 -19
  714. package/src/generated/model/addOriginDefault.ts +0 -135
  715. package/src/generated/model/beginUserPasskeyRegistration201.ts +0 -25
  716. package/src/generated/model/beginUserPasskeyRegistration201Options.ts +0 -13
  717. package/src/generated/model/beginUserPasskeyRegistration400.ts +0 -20
  718. package/src/generated/model/beginUserPasskeyRegistration400Details.ts +0 -12
  719. package/src/generated/model/beginUserPasskeyRegistration401.ts +0 -20
  720. package/src/generated/model/beginUserPasskeyRegistration401Details.ts +0 -12
  721. package/src/generated/model/beginUserPasskeyRegistration403.ts +0 -20
  722. package/src/generated/model/beginUserPasskeyRegistration403Details.ts +0 -12
  723. package/src/generated/model/beginUserPasskeyRegistration404.ts +0 -20
  724. package/src/generated/model/beginUserPasskeyRegistration404Details.ts +0 -12
  725. package/src/generated/model/beginUserPasskeyRegistration500.ts +0 -20
  726. package/src/generated/model/beginUserPasskeyRegistration500Details.ts +0 -12
  727. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +0 -33
  728. package/src/generated/model/beginUserPasskeyRegistrationDefault.ts +0 -126
  729. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +0 -23
  730. package/src/generated/model/completeClaim200.ts +0 -19
  731. package/src/generated/model/completeClaim400.ts +0 -20
  732. package/src/generated/model/completeClaim400Details.ts +0 -12
  733. package/src/generated/model/completeClaim401.ts +0 -23
  734. package/src/generated/model/completeClaim403.ts +0 -36
  735. package/src/generated/model/completeClaim404.ts +0 -20
  736. package/src/generated/model/completeClaim404Details.ts +0 -12
  737. package/src/generated/model/completeClaim409.ts +0 -25
  738. package/src/generated/model/completeClaim409Details.ts +0 -14
  739. package/src/generated/model/completeClaim410.ts +0 -27
  740. package/src/generated/model/completeClaim429.ts +0 -20
  741. package/src/generated/model/completeClaim429Details.ts +0 -12
  742. package/src/generated/model/completeClaimBody.ts +0 -18
  743. package/src/generated/model/completeClaimDefault.ts +0 -144
  744. package/src/generated/model/createApplication200.ts +0 -137
  745. package/src/generated/model/createApplication200ClientSecretsItem.ts +0 -19
  746. package/src/generated/model/createApplication201.ts +0 -137
  747. package/src/generated/model/createApplication201ClientSecretsItem.ts +0 -19
  748. package/src/generated/model/createApplication400.ts +0 -20
  749. package/src/generated/model/createApplication400Details.ts +0 -12
  750. package/src/generated/model/createApplication401.ts +0 -20
  751. package/src/generated/model/createApplication401Details.ts +0 -12
  752. package/src/generated/model/createApplication403.ts +0 -20
  753. package/src/generated/model/createApplication403Details.ts +0 -12
  754. package/src/generated/model/createApplication404.ts +0 -20
  755. package/src/generated/model/createApplication404Details.ts +0 -12
  756. package/src/generated/model/createApplication409.ts +0 -20
  757. package/src/generated/model/createApplication409Details.ts +0 -12
  758. package/src/generated/model/createApplicationBody.ts +0 -20
  759. package/src/generated/model/createApplicationBodyApplication.ts +0 -35
  760. package/src/generated/model/createApplicationBodyApplicationClientsItem.ts +0 -84
  761. package/src/generated/model/createApplicationBodyApplicationClientsItemGrantTypesItem.ts +0 -15
  762. package/src/generated/model/createApplicationBodyApplicationClientsItemType.ts +0 -19
  763. package/src/generated/model/createApplicationDefault.ts +0 -54
  764. package/src/generated/model/createApplicationParams.ts +0 -17
  765. package/src/generated/model/createBranding201.ts +0 -32
  766. package/src/generated/model/createBranding201Branding.ts +0 -80
  767. package/src/generated/model/createBranding201BrandingLayout.ts +0 -27
  768. package/src/generated/model/createBranding201BrandingShape.ts +0 -30
  769. package/src/generated/model/createBranding201BrandingShapeDensity.ts +0 -19
  770. package/src/generated/model/createBranding201BrandingTheme.ts +0 -41
  771. package/src/generated/model/createBranding201BrandingThemeDark.ts +0 -34
  772. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +0 -210
  773. package/src/generated/model/createBranding201BrandingThemeLight.ts +0 -34
  774. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +0 -210
  775. package/src/generated/model/createBranding201BrandingThemeMode.ts +0 -19
  776. package/src/generated/model/createBranding201BrandingTypography.ts +0 -47
  777. package/src/generated/model/createBranding400.ts +0 -20
  778. package/src/generated/model/createBranding400Details.ts +0 -12
  779. package/src/generated/model/createBrandingBody.ts +0 -80
  780. package/src/generated/model/createBrandingBodyLayout.ts +0 -27
  781. package/src/generated/model/createBrandingBodyShape.ts +0 -30
  782. package/src/generated/model/createBrandingBodyShapeDensity.ts +0 -19
  783. package/src/generated/model/createBrandingBodyTheme.ts +0 -41
  784. package/src/generated/model/createBrandingBodyThemeDark.ts +0 -34
  785. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +0 -210
  786. package/src/generated/model/createBrandingBodyThemeLight.ts +0 -34
  787. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +0 -210
  788. package/src/generated/model/createBrandingBodyThemeMode.ts +0 -19
  789. package/src/generated/model/createBrandingBodyTypography.ts +0 -47
  790. package/src/generated/model/createBrandingDefault.ts +0 -99
  791. package/src/generated/model/createBrandingParams.ts +0 -17
  792. package/src/generated/model/createFlowDefinition201.ts +0 -48
  793. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +0 -95
  794. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +0 -20
  795. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +0 -23
  796. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +0 -109
  797. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +0 -49
  798. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +0 -29
  799. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +0 -20
  800. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +0 -36
  801. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +0 -13
  802. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +0 -20
  803. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +0 -25
  804. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +0 -68
  805. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +0 -28
  806. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  807. package/src/generated/model/createFlowDefinition201UserSchema.ts +0 -26
  808. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +0 -18
  809. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +0 -84
  810. package/src/generated/model/createFlowDefinition400.ts +0 -20
  811. package/src/generated/model/createFlowDefinition400Details.ts +0 -12
  812. package/src/generated/model/createFlowDefinitionBody.ts +0 -45
  813. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +0 -95
  814. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +0 -20
  815. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +0 -23
  816. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -109
  817. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -49
  818. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -29
  819. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -20
  820. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -36
  821. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -13
  822. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
  823. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -25
  824. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -68
  825. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +0 -28
  826. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  827. package/src/generated/model/createFlowDefinitionDefault.ts +0 -117
  828. package/src/generated/model/createHandoff200.ts +0 -30
  829. package/src/generated/model/createHandoff409.ts +0 -20
  830. package/src/generated/model/createHandoff409Details.ts +0 -12
  831. package/src/generated/model/createHandoffDefault.ts +0 -99
  832. package/src/generated/model/createIdp200.ts +0 -39
  833. package/src/generated/model/createIdp200Definition.ts +0 -44
  834. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +0 -12
  835. package/src/generated/model/createIdp200DefinitionOidc.ts +0 -65
  836. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  837. package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  838. package/src/generated/model/createIdp200DefinitionProtocol.ts +0 -17
  839. package/src/generated/model/createIdp200DefinitionProvisioning.ts +0 -15
  840. package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +0 -15
  841. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +0 -12
  842. package/src/generated/model/createIdp201.ts +0 -39
  843. package/src/generated/model/createIdp201Definition.ts +0 -44
  844. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +0 -12
  845. package/src/generated/model/createIdp201DefinitionOidc.ts +0 -65
  846. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  847. package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  848. package/src/generated/model/createIdp201DefinitionProtocol.ts +0 -17
  849. package/src/generated/model/createIdp201DefinitionProvisioning.ts +0 -15
  850. package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +0 -15
  851. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +0 -12
  852. package/src/generated/model/createIdp400.ts +0 -20
  853. package/src/generated/model/createIdp400Details.ts +0 -12
  854. package/src/generated/model/createIdp401.ts +0 -20
  855. package/src/generated/model/createIdp401Details.ts +0 -12
  856. package/src/generated/model/createIdp403.ts +0 -20
  857. package/src/generated/model/createIdp403Details.ts +0 -12
  858. package/src/generated/model/createIdp404.ts +0 -20
  859. package/src/generated/model/createIdp404Details.ts +0 -12
  860. package/src/generated/model/createIdpBody.ts +0 -15
  861. package/src/generated/model/createIdpBodyIdp.ts +0 -44
  862. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +0 -12
  863. package/src/generated/model/createIdpBodyIdpOidc.ts +0 -65
  864. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +0 -12
  865. package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +0 -18
  866. package/src/generated/model/createIdpBodyIdpProtocol.ts +0 -17
  867. package/src/generated/model/createIdpBodyIdpProvisioning.ts +0 -15
  868. package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +0 -15
  869. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +0 -12
  870. package/src/generated/model/createIdpDefault.ts +0 -108
  871. package/src/generated/model/createIdpParams.ts +0 -17
  872. package/src/generated/model/createSchema201.ts +0 -12
  873. package/src/generated/model/createSchemaBody.ts +0 -86
  874. package/src/generated/model/createSchemaDefault.ts +0 -153
  875. package/src/generated/model/createSchemaParams.ts +0 -22
  876. package/src/generated/model/deleteTeam400.ts +0 -20
  877. package/src/generated/model/deleteTeam400Details.ts +0 -12
  878. package/src/generated/model/deleteTeam401.ts +0 -20
  879. package/src/generated/model/deleteTeam401Details.ts +0 -12
  880. package/src/generated/model/deleteTeam403.ts +0 -20
  881. package/src/generated/model/deleteTeam403Details.ts +0 -12
  882. package/src/generated/model/deleteTeam409.ts +0 -20
  883. package/src/generated/model/deleteTeam409Details.ts +0 -12
  884. package/src/generated/model/deleteTeamDefault.ts +0 -90
  885. package/src/generated/model/deleteUserByID401.ts +0 -20
  886. package/src/generated/model/deleteUserByID401Details.ts +0 -12
  887. package/src/generated/model/deleteUserByID404.ts +0 -20
  888. package/src/generated/model/deleteUserByID404Details.ts +0 -12
  889. package/src/generated/model/deleteUserByID409.ts +0 -20
  890. package/src/generated/model/deleteUserByID409Details.ts +0 -12
  891. package/src/generated/model/deleteUserByIDDefault.ts +0 -99
  892. package/src/generated/model/finishUserPasskeyRegistration201.ts +0 -19
  893. package/src/generated/model/finishUserPasskeyRegistration400.ts +0 -20
  894. package/src/generated/model/finishUserPasskeyRegistration400Details.ts +0 -12
  895. package/src/generated/model/finishUserPasskeyRegistration401.ts +0 -20
  896. package/src/generated/model/finishUserPasskeyRegistration401Details.ts +0 -12
  897. package/src/generated/model/finishUserPasskeyRegistration403.ts +0 -20
  898. package/src/generated/model/finishUserPasskeyRegistration403Details.ts +0 -12
  899. package/src/generated/model/finishUserPasskeyRegistration404.ts +0 -20
  900. package/src/generated/model/finishUserPasskeyRegistration404Details.ts +0 -12
  901. package/src/generated/model/finishUserPasskeyRegistration500.ts +0 -20
  902. package/src/generated/model/finishUserPasskeyRegistration500Details.ts +0 -12
  903. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +0 -21
  904. package/src/generated/model/finishUserPasskeyRegistrationBodyAttestation.ts +0 -12
  905. package/src/generated/model/finishUserPasskeyRegistrationDefault.ts +0 -180
  906. package/src/generated/model/getApplicationById200.ts +0 -43
  907. package/src/generated/model/getApplicationById200Definition.ts +0 -35
  908. package/src/generated/model/getApplicationById200DefinitionClientsItem.ts +0 -84
  909. package/src/generated/model/getApplicationById200DefinitionClientsItemGrantTypesItem.ts +0 -15
  910. package/src/generated/model/getApplicationById200DefinitionClientsItemType.ts +0 -19
  911. package/src/generated/model/getApplicationById401.ts +0 -20
  912. package/src/generated/model/getApplicationById401Details.ts +0 -12
  913. package/src/generated/model/getApplicationById403.ts +0 -20
  914. package/src/generated/model/getApplicationById403Details.ts +0 -12
  915. package/src/generated/model/getApplicationById404.ts +0 -20
  916. package/src/generated/model/getApplicationById404Details.ts +0 -12
  917. package/src/generated/model/getApplicationByIdDefault.ts +0 -54
  918. package/src/generated/model/getApplicationByIdParams.ts +0 -17
  919. package/src/generated/model/getBrandingById200.ts +0 -32
  920. package/src/generated/model/getBrandingById200Branding.ts +0 -80
  921. package/src/generated/model/getBrandingById200BrandingLayout.ts +0 -27
  922. package/src/generated/model/getBrandingById200BrandingShape.ts +0 -30
  923. package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +0 -19
  924. package/src/generated/model/getBrandingById200BrandingTheme.ts +0 -41
  925. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +0 -34
  926. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +0 -210
  927. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +0 -34
  928. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +0 -210
  929. package/src/generated/model/getBrandingById200BrandingThemeMode.ts +0 -19
  930. package/src/generated/model/getBrandingById200BrandingTypography.ts +0 -47
  931. package/src/generated/model/getBrandingById404.ts +0 -20
  932. package/src/generated/model/getBrandingById404Details.ts +0 -12
  933. package/src/generated/model/getBrandingByIdDefault.ts +0 -72
  934. package/src/generated/model/getClaimStatus200.ts +0 -27
  935. package/src/generated/model/getClaimStatus401.ts +0 -20
  936. package/src/generated/model/getClaimStatus401Details.ts +0 -12
  937. package/src/generated/model/getClaimStatus403.ts +0 -23
  938. package/src/generated/model/getClaimStatus404.ts +0 -20
  939. package/src/generated/model/getClaimStatus404Details.ts +0 -12
  940. package/src/generated/model/getClaimStatus410.ts +0 -27
  941. package/src/generated/model/getClaimStatus429.ts +0 -20
  942. package/src/generated/model/getClaimStatus429Details.ts +0 -12
  943. package/src/generated/model/getClaimStatusDefault.ts +0 -99
  944. package/src/generated/model/getClaimStatusParams.ts +0 -15
  945. package/src/generated/model/getClaimWindow200.ts +0 -23
  946. package/src/generated/model/getClaimWindow404.ts +0 -20
  947. package/src/generated/model/getClaimWindow404Details.ts +0 -12
  948. package/src/generated/model/getClaimWindow429.ts +0 -20
  949. package/src/generated/model/getClaimWindow429Details.ts +0 -12
  950. package/src/generated/model/getClaimWindowDefault.ts +0 -36
  951. package/src/generated/model/getClaimWindowParams.ts +0 -15
  952. package/src/generated/model/getDeploymentById200.ts +0 -78
  953. package/src/generated/model/getDeploymentById200Kind.ts +0 -18
  954. package/src/generated/model/getDeploymentById200Metadata.ts +0 -35
  955. package/src/generated/model/getDeploymentById200MetadataDeployedByType.ts +0 -20
  956. package/src/generated/model/getDeploymentById200MetadataReason.ts +0 -20
  957. package/src/generated/model/getDeploymentById200Release.ts +0 -96
  958. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +0 -43
  959. package/src/generated/model/getDeploymentById200ReleaseMetadataCreatedByType.ts +0 -20
  960. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +0 -61
  961. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +0 -28
  962. package/src/generated/model/getDeploymentById200Status.ts +0 -23
  963. package/src/generated/model/getDeploymentById200TargetsItem.ts +0 -28
  964. package/src/generated/model/getDeploymentByIdDefault.ts +0 -72
  965. package/src/generated/model/getDeploymentByIdParams.ts +0 -17
  966. package/src/generated/model/getDeploymentVariables200.ts +0 -17
  967. package/src/generated/model/getDeploymentVariablesDefault.ts +0 -90
  968. package/src/generated/model/getDeploymentVariablesParams.ts +0 -17
  969. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +0 -23
  970. package/src/generated/model/getIdpById200.ts +0 -39
  971. package/src/generated/model/getIdpById200Definition.ts +0 -44
  972. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +0 -12
  973. package/src/generated/model/getIdpById200DefinitionOidc.ts +0 -65
  974. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  975. package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  976. package/src/generated/model/getIdpById200DefinitionProtocol.ts +0 -17
  977. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +0 -15
  978. package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +0 -15
  979. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +0 -12
  980. package/src/generated/model/getIdpById401.ts +0 -20
  981. package/src/generated/model/getIdpById401Details.ts +0 -12
  982. package/src/generated/model/getIdpById403.ts +0 -20
  983. package/src/generated/model/getIdpById403Details.ts +0 -12
  984. package/src/generated/model/getIdpById404.ts +0 -20
  985. package/src/generated/model/getIdpById404Details.ts +0 -12
  986. package/src/generated/model/getIdpByIdDefault.ts +0 -72
  987. package/src/generated/model/getIdpByIdParams.ts +0 -17
  988. package/src/generated/model/getIdpRevisionById200.ts +0 -39
  989. package/src/generated/model/getIdpRevisionById200Definition.ts +0 -44
  990. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +0 -12
  991. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +0 -65
  992. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  993. package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  994. package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +0 -17
  995. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +0 -15
  996. package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +0 -15
  997. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +0 -12
  998. package/src/generated/model/getIdpRevisionById401.ts +0 -20
  999. package/src/generated/model/getIdpRevisionById401Details.ts +0 -12
  1000. package/src/generated/model/getIdpRevisionById403.ts +0 -20
  1001. package/src/generated/model/getIdpRevisionById403Details.ts +0 -12
  1002. package/src/generated/model/getIdpRevisionById404.ts +0 -20
  1003. package/src/generated/model/getIdpRevisionById404Details.ts +0 -12
  1004. package/src/generated/model/getIdpRevisionByIdDefault.ts +0 -72
  1005. package/src/generated/model/getIdpRevisionByIdParams.ts +0 -17
  1006. package/src/generated/model/getReleaseById200.ts +0 -96
  1007. package/src/generated/model/getReleaseById200Metadata.ts +0 -43
  1008. package/src/generated/model/getReleaseById200MetadataCreatedByType.ts +0 -20
  1009. package/src/generated/model/getReleaseById200PointersItem.ts +0 -61
  1010. package/src/generated/model/getReleaseById200PointersItemKind.ts +0 -28
  1011. package/src/generated/model/getReleaseByIdDefault.ts +0 -72
  1012. package/src/generated/model/getReleaseByIdParams.ts +0 -17
  1013. package/src/generated/model/getSchemaById200.ts +0 -31
  1014. package/src/generated/model/getSchemaById200Metadata.ts +0 -18
  1015. package/src/generated/model/getSchemaById200Schema.ts +0 -84
  1016. package/src/generated/model/getSchemaByIdDefault.ts +0 -72
  1017. package/src/generated/model/getSchemaByIdParams.ts +0 -21
  1018. package/src/generated/model/getUserByID200.ts +0 -76
  1019. package/src/generated/model/getUserByID200Attributes.ts +0 -13
  1020. package/src/generated/model/getUserByID200Metadata.ts +0 -44
  1021. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1022. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1023. package/src/generated/model/getUserByID200MetadataStatus.ts +0 -20
  1024. package/src/generated/model/getUserByID200TeamsItem.ts +0 -33
  1025. package/src/generated/model/getUserByID200TeamsItemMembershipStatus.ts +0 -20
  1026. package/src/generated/model/getUserByID401.ts +0 -20
  1027. package/src/generated/model/getUserByID401Details.ts +0 -12
  1028. package/src/generated/model/getUserByID404.ts +0 -20
  1029. package/src/generated/model/getUserByID404Details.ts +0 -12
  1030. package/src/generated/model/getUserByIDDefault.ts +0 -72
  1031. package/src/generated/model/getUserByIDParams.ts +0 -31
  1032. package/src/generated/model/getVariables200.ts +0 -35
  1033. package/src/generated/model/getVariables200Preview.ts +0 -20
  1034. package/src/generated/model/getVariables200Primary.ts +0 -20
  1035. package/src/generated/model/getVariablesDefault.ts +0 -72
  1036. package/src/generated/model/getVariablesKind.ts +0 -15
  1037. package/src/generated/model/getVariablesParams.ts +0 -23
  1038. package/src/generated/model/initClaim201.ts +0 -25
  1039. package/src/generated/model/initClaim401.ts +0 -20
  1040. package/src/generated/model/initClaim401Details.ts +0 -12
  1041. package/src/generated/model/initClaim404.ts +0 -23
  1042. package/src/generated/model/initClaim409.ts +0 -25
  1043. package/src/generated/model/initClaim409Details.ts +0 -14
  1044. package/src/generated/model/initClaim410.ts +0 -23
  1045. package/src/generated/model/initClaimDefault.ts +0 -99
  1046. package/src/generated/model/issueChallenge201.ts +0 -49
  1047. package/src/generated/model/issueChallenge201Method.ts +0 -20
  1048. package/src/generated/model/issueChallenge201Payload.ts +0 -34
  1049. package/src/generated/model/issueChallenge201State.ts +0 -22
  1050. package/src/generated/model/issueChallengeBody.ts +0 -28
  1051. package/src/generated/model/issueChallengeBodyMethod.ts +0 -20
  1052. package/src/generated/model/issueChallengeBodyPasskeyOptions.ts +0 -19
  1053. package/src/generated/model/issueChallengeBodyPasskeyOptionsUserVerification.ts +0 -16
  1054. package/src/generated/model/issueChallengeDefault.ts +0 -90
  1055. package/src/generated/model/listBranding200Item.ts +0 -14
  1056. package/src/generated/model/listEvents200DataItem.ts +0 -4366
  1057. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +0 -23
  1058. package/src/generated/model/listInvitationsStatus.ts +0 -17
  1059. package/src/generated/model/listPreviews200.ts +0 -20
  1060. package/src/generated/model/listPreviews200PreviewsItem.ts +0 -37
  1061. package/src/generated/model/listPreviewsDefault.ts +0 -72
  1062. package/src/generated/model/listPreviewsParams.ts +0 -23
  1063. package/src/generated/model/lookupInvitation429.ts +0 -20
  1064. package/src/generated/model/lookupInvitation429Details.ts +0 -12
  1065. package/src/generated/model/patchMyUser200.ts +0 -76
  1066. package/src/generated/model/patchMyUser200Attributes.ts +0 -13
  1067. package/src/generated/model/patchMyUser200Metadata.ts +0 -44
  1068. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +0 -43
  1069. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1070. package/src/generated/model/patchMyUser200MetadataStatus.ts +0 -20
  1071. package/src/generated/model/patchMyUser200TeamsItem.ts +0 -33
  1072. package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +0 -20
  1073. package/src/generated/model/patchMyUser400.ts +0 -20
  1074. package/src/generated/model/patchMyUser400Details.ts +0 -12
  1075. package/src/generated/model/patchMyUser401.ts +0 -20
  1076. package/src/generated/model/patchMyUser401Details.ts +0 -12
  1077. package/src/generated/model/patchMyUser403.ts +0 -20
  1078. package/src/generated/model/patchMyUser403Details.ts +0 -12
  1079. package/src/generated/model/patchMyUser404.ts +0 -23
  1080. package/src/generated/model/patchMyUser409.ts +0 -20
  1081. package/src/generated/model/patchMyUser409Details.ts +0 -12
  1082. package/src/generated/model/patchMyUserBody.ts +0 -25
  1083. package/src/generated/model/patchMyUserBodyAttributes.ts +0 -13
  1084. package/src/generated/model/patchMyUserDefault.ts +0 -117
  1085. package/src/generated/model/patchMyUserParams.ts +0 -26
  1086. package/src/generated/model/patchProject200.ts +0 -96
  1087. package/src/generated/model/patchProject400.ts +0 -20
  1088. package/src/generated/model/patchProject400Details.ts +0 -12
  1089. package/src/generated/model/patchProject401.ts +0 -20
  1090. package/src/generated/model/patchProject401Details.ts +0 -12
  1091. package/src/generated/model/patchProject404.ts +0 -20
  1092. package/src/generated/model/patchProject404Details.ts +0 -12
  1093. package/src/generated/model/patchProjectBody.ts +0 -19
  1094. package/src/generated/model/patchProjectBodyPasswordHash.ts +0 -40
  1095. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +0 -24
  1096. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +0 -44
  1097. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +0 -24
  1098. package/src/generated/model/patchProjectDefault.ts +0 -117
  1099. package/src/generated/model/patchUserByID200.ts +0 -76
  1100. package/src/generated/model/patchUserByID200Attributes.ts +0 -13
  1101. package/src/generated/model/patchUserByID200Metadata.ts +0 -44
  1102. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1103. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1104. package/src/generated/model/patchUserByID200MetadataStatus.ts +0 -20
  1105. package/src/generated/model/patchUserByID200TeamsItem.ts +0 -33
  1106. package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +0 -20
  1107. package/src/generated/model/patchUserByID400.ts +0 -20
  1108. package/src/generated/model/patchUserByID400Details.ts +0 -12
  1109. package/src/generated/model/patchUserByID401.ts +0 -20
  1110. package/src/generated/model/patchUserByID401Details.ts +0 -12
  1111. package/src/generated/model/patchUserByID403.ts +0 -20
  1112. package/src/generated/model/patchUserByID403Details.ts +0 -12
  1113. package/src/generated/model/patchUserByID404.ts +0 -20
  1114. package/src/generated/model/patchUserByID404Details.ts +0 -12
  1115. package/src/generated/model/patchUserByID409.ts +0 -20
  1116. package/src/generated/model/patchUserByID409Details.ts +0 -12
  1117. package/src/generated/model/patchUserByIDBody.ts +0 -53
  1118. package/src/generated/model/patchUserByIDBodyAttributes.ts +0 -13
  1119. package/src/generated/model/patchUserByIDDefault.ts +0 -117
  1120. package/src/generated/model/rejectInvitation429.ts +0 -20
  1121. package/src/generated/model/rejectInvitation429Details.ts +0 -12
  1122. package/src/generated/model/removeOriginBody.ts +0 -15
  1123. package/src/generated/model/removeOriginDefault.ts +0 -108
  1124. package/src/generated/model/removePreviewBody.ts +0 -23
  1125. package/src/generated/model/removePreviewDefault.ts +0 -90
  1126. package/src/generated/model/submitFlowStep400Branding.ts +0 -80
  1127. package/src/generated/model/submitFlowStep400BrandingLayout.ts +0 -27
  1128. package/src/generated/model/submitFlowStep400BrandingShape.ts +0 -30
  1129. package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +0 -19
  1130. package/src/generated/model/submitFlowStep400BrandingTheme.ts +0 -41
  1131. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +0 -34
  1132. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +0 -210
  1133. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +0 -34
  1134. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +0 -210
  1135. package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +0 -19
  1136. package/src/generated/model/submitFlowStep400BrandingTypography.ts +0 -47
  1137. package/src/generated/model/submitFlowStep400Step.ts +0 -142
  1138. package/src/generated/model/submitFlowStep400StepActionsItem.ts +0 -41
  1139. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +0 -27
  1140. package/src/generated/model/submitFlowStep400StepChallenge.ts +0 -36
  1141. package/src/generated/model/submitFlowStep400StepChallengeMethod.ts +0 -18
  1142. package/src/generated/model/submitFlowStep400StepChallengeOptions.ts +0 -15
  1143. package/src/generated/model/submitFlowStep400StepComplete.ts +0 -20
  1144. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +0 -87
  1145. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +0 -34
  1146. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +0 -46
  1147. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +0 -24
  1148. package/src/generated/model/submitFlowStep400StepGates.ts +0 -36
  1149. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +0 -13
  1150. package/src/generated/model/submitFlowStep400StepGatesKind.ts +0 -20
  1151. package/src/generated/model/submitFlowStep400StepIdentifier.ts +0 -58
  1152. package/src/generated/model/submitFlowStep400StepPurpose.ts +0 -26
  1153. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +0 -19
  1154. package/src/generated/model/submitFlowStep400StepTexts.ts +0 -23
  1155. package/src/generated/model/updateVariables200.ts +0 -35
  1156. package/src/generated/model/updateVariables200Preview.ts +0 -20
  1157. package/src/generated/model/updateVariables200Primary.ts +0 -20
  1158. package/src/generated/model/updateVariablesBody.ts +0 -48
  1159. package/src/generated/model/updateVariablesDefault.ts +0 -162
  1160. package/src/generated/model/updateVariablesKind.ts +0 -15
  1161. package/src/generated/model/updateVariablesParams.ts +0 -23
  1162. package/src/generated/model/verifyChallengeProof200.ts +0 -76
  1163. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +0 -49
  1164. package/src/generated/model/verifyChallengeProof200ChallengesItemMethod.ts +0 -20
  1165. package/src/generated/model/verifyChallengeProof200ChallengesItemPayload.ts +0 -34
  1166. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +0 -22
  1167. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +0 -28
  1168. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemMethod.ts +0 -20
  1169. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +0 -37
  1170. package/src/generated/model/verifyChallengeProof200RequiredFactorsItem.ts +0 -20
  1171. package/src/generated/model/verifyChallengeProof200State.ts +0 -24
  1172. package/src/generated/model/verifyChallengeProof409.ts +0 -20
  1173. package/src/generated/model/verifyChallengeProof409Details.ts +0 -12
  1174. package/src/generated/model/verifyChallengeProofBody.ts +0 -27
  1175. package/src/generated/model/verifyChallengeProofDefault.ts +0 -180
@@ -24,9 +24,9 @@ export type GetEvent200 = ({
24
24
  event_type: string;
25
25
  /** The category of the event. */
26
26
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
27
- /** When the action happened, on the server's clock. */
27
+ /** When the action happened, on the server's clock, to the millisecond. */
28
28
  occurred_at: string;
29
- /** When the event was stored, on the server's clock. */
29
+ /** When the event was stored, on the server's clock, to the millisecond. */
30
30
  created_at: string;
31
31
  /** The ID of the actor that triggered the event. */
32
32
  actor_id?: string | null;
@@ -36,6 +36,218 @@ export type GetEvent200 = ({
36
36
  entity_type?: string | null;
37
37
  /** The ID of the resource the event affected. */
38
38
  entity_id?: string | null;
39
+ /**
40
+ * The ID of the user the event concerns, whoever triggered it: the user a
41
+ * session, a token, a sign-in check or a credential belongs to, or the
42
+ * user a change was made to. Absent on an event that concerns no user.
43
+ */
44
+ user_id?: string | null;
45
+ /** The application or agent that produced the event. */
46
+ client_id: string;
47
+ /** The ID of the token in use when the event was emitted, when there was one. */
48
+ token_id?: string;
49
+ /** The kind of delegation. Absent when unset. */
50
+ delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
51
+ delegation_id?: string;
52
+ grantor?: string;
53
+ /** A device fingerprint ID that correlates events from the same device. */
54
+ fingerprint?: string;
55
+ /**
56
+ * The ID of the HTTP request that caused the event. Events of one request
57
+ * share it. Only the `request.api` event of a request carries
58
+ * `metadata.client`.
59
+ */
60
+ request_id?: string | null;
61
+ /** The ID of the session the event belongs to. */
62
+ session_id?: string | null;
63
+ /** An ID that correlates the events of one login flow. */
64
+ flow_id?: string | null;
65
+ /**
66
+ * Metadata the server records when it emits the event, already redacted when
67
+ * written. An event from an API request (`request.api`) may set `client`
68
+ * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
69
+ * not a live risk-evaluator input.
70
+ */
71
+ metadata?: {
72
+ /**
73
+ * What authorized the request, when it was not a grant on the event's
74
+ * project. Every event of such a request carries it.
75
+ */
76
+ authorization?: {
77
+ /**
78
+ * `platform_operator`: the deployment's platform operator relation,
79
+ * which administers every project.
80
+ */
81
+ path: 'platform_operator';
82
+ /** The project the actor's user belongs to. */
83
+ actor_home_project_id?: string;
84
+ };
85
+ /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
86
+ client?: {
87
+ /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
88
+ ip?: string;
89
+ /** The observed `User-Agent` header. */
90
+ user_agent?: string;
91
+ /** The `Origin` header, when present. */
92
+ origin?: string;
93
+ };
94
+ [key: string]: unknown;
95
+ };
96
+ }) & {
97
+ event_type: 'application.created';
98
+ /**
99
+ * Payload for `application.created`, which holds every field, and
100
+ * `application.updated`, which holds the new `revision_id`, `name` when it
101
+ * changed, and `client_ids` when the revision added a client. The application
102
+ * ID is the event's `entity_id`. The application document and the client
103
+ * secrets are never included.
104
+ */
105
+ payload: {
106
+ slug?: string;
107
+ name?: string;
108
+ /**
109
+ * The `client_id` of each client the write created. Each of them got a new
110
+ * secret.
111
+ */
112
+ client_ids?: string[];
113
+ /** The revision the write appended. */
114
+ revision_id: string;
115
+ };
116
+ } | ({
117
+ /** The event ID, in the form `evt_<opaque>`. */
118
+ id: string;
119
+ /** @pattern ^[a-zA-Z0-9_-]+$ */
120
+ project_id: string;
121
+ /** The team the actor operated under when the event was emitted, if any. */
122
+ team_id?: string | null;
123
+ /**
124
+ * The event type, dot-separated, for example `user.created`. It says which
125
+ * `payload` the event carries.
126
+ */
127
+ event_type: string;
128
+ /** The category of the event. */
129
+ category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
130
+ /** When the action happened, on the server's clock, to the millisecond. */
131
+ occurred_at: string;
132
+ /** When the event was stored, on the server's clock, to the millisecond. */
133
+ created_at: string;
134
+ /** The ID of the actor that triggered the event. */
135
+ actor_id?: string | null;
136
+ /** The kind of actor that triggered the event. */
137
+ actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
138
+ /** The type of resource the event affected. */
139
+ entity_type?: string | null;
140
+ /** The ID of the resource the event affected. */
141
+ entity_id?: string | null;
142
+ /**
143
+ * The ID of the user the event concerns, whoever triggered it: the user a
144
+ * session, a token, a sign-in check or a credential belongs to, or the
145
+ * user a change was made to. Absent on an event that concerns no user.
146
+ */
147
+ user_id?: string | null;
148
+ /** The application or agent that produced the event. */
149
+ client_id: string;
150
+ /** The ID of the token in use when the event was emitted, when there was one. */
151
+ token_id?: string;
152
+ /** The kind of delegation. Absent when unset. */
153
+ delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
154
+ delegation_id?: string;
155
+ grantor?: string;
156
+ /** A device fingerprint ID that correlates events from the same device. */
157
+ fingerprint?: string;
158
+ /**
159
+ * The ID of the HTTP request that caused the event. Events of one request
160
+ * share it. Only the `request.api` event of a request carries
161
+ * `metadata.client`.
162
+ */
163
+ request_id?: string | null;
164
+ /** The ID of the session the event belongs to. */
165
+ session_id?: string | null;
166
+ /** An ID that correlates the events of one login flow. */
167
+ flow_id?: string | null;
168
+ /**
169
+ * Metadata the server records when it emits the event, already redacted when
170
+ * written. An event from an API request (`request.api`) may set `client`
171
+ * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
172
+ * not a live risk-evaluator input.
173
+ */
174
+ metadata?: {
175
+ /**
176
+ * What authorized the request, when it was not a grant on the event's
177
+ * project. Every event of such a request carries it.
178
+ */
179
+ authorization?: {
180
+ /**
181
+ * `platform_operator`: the deployment's platform operator relation,
182
+ * which administers every project.
183
+ */
184
+ path: 'platform_operator';
185
+ /** The project the actor's user belongs to. */
186
+ actor_home_project_id?: string;
187
+ };
188
+ /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
189
+ client?: {
190
+ /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
191
+ ip?: string;
192
+ /** The observed `User-Agent` header. */
193
+ user_agent?: string;
194
+ /** The `Origin` header, when present. */
195
+ origin?: string;
196
+ };
197
+ [key: string]: unknown;
198
+ };
199
+ }) & {
200
+ event_type: 'application.updated';
201
+ /**
202
+ * Payload for `application.created`, which holds every field, and
203
+ * `application.updated`, which holds the new `revision_id`, `name` when it
204
+ * changed, and `client_ids` when the revision added a client. The application
205
+ * ID is the event's `entity_id`. The application document and the client
206
+ * secrets are never included.
207
+ */
208
+ payload: {
209
+ slug?: string;
210
+ name?: string;
211
+ /**
212
+ * The `client_id` of each client the write created. Each of them got a new
213
+ * secret.
214
+ */
215
+ client_ids?: string[];
216
+ /** The revision the write appended. */
217
+ revision_id: string;
218
+ };
219
+ } | ({
220
+ /** The event ID, in the form `evt_<opaque>`. */
221
+ id: string;
222
+ /** @pattern ^[a-zA-Z0-9_-]+$ */
223
+ project_id: string;
224
+ /** The team the actor operated under when the event was emitted, if any. */
225
+ team_id?: string | null;
226
+ /**
227
+ * The event type, dot-separated, for example `user.created`. It says which
228
+ * `payload` the event carries.
229
+ */
230
+ event_type: string;
231
+ /** The category of the event. */
232
+ category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
233
+ /** When the action happened, on the server's clock, to the millisecond. */
234
+ occurred_at: string;
235
+ /** When the event was stored, on the server's clock, to the millisecond. */
236
+ created_at: string;
237
+ /** The ID of the actor that triggered the event. */
238
+ actor_id?: string | null;
239
+ /** The kind of actor that triggered the event. */
240
+ actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
241
+ /** The type of resource the event affected. */
242
+ entity_type?: string | null;
243
+ /** The ID of the resource the event affected. */
244
+ entity_id?: string | null;
245
+ /**
246
+ * The ID of the user the event concerns, whoever triggered it: the user a
247
+ * session, a token, a sign-in check or a credential belongs to, or the
248
+ * user a change was made to. Absent on an event that concerns no user.
249
+ */
250
+ user_id?: string | null;
39
251
  /** The application or agent that produced the event. */
40
252
  client_id: string;
41
253
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -93,7 +305,7 @@ export type GetEvent200 = ({
93
305
  * Empty payload for event types with no typed fields, for example
94
306
  * `project.deleted`, `user.deleted` and `session.expired`.
95
307
  */
96
- payload: { [key: string]: unknown };
308
+ payload: { [key: string]: never };
97
309
  } | ({
98
310
  /** The event ID, in the form `evt_<opaque>`. */
99
311
  id: string;
@@ -108,9 +320,9 @@ export type GetEvent200 = ({
108
320
  event_type: string;
109
321
  /** The category of the event. */
110
322
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
111
- /** When the action happened, on the server's clock. */
323
+ /** When the action happened, on the server's clock, to the millisecond. */
112
324
  occurred_at: string;
113
- /** When the event was stored, on the server's clock. */
325
+ /** When the event was stored, on the server's clock, to the millisecond. */
114
326
  created_at: string;
115
327
  /** The ID of the actor that triggered the event. */
116
328
  actor_id?: string | null;
@@ -120,6 +332,12 @@ export type GetEvent200 = ({
120
332
  entity_type?: string | null;
121
333
  /** The ID of the resource the event affected. */
122
334
  entity_id?: string | null;
335
+ /**
336
+ * The ID of the user the event concerns, whoever triggered it: the user a
337
+ * session, a token, a sign-in check or a credential belongs to, or the
338
+ * user a change was made to. Absent on an event that concerns no user.
339
+ */
340
+ user_id?: string | null;
123
341
  /** The application or agent that produced the event. */
124
342
  client_id: string;
125
343
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -177,7 +395,7 @@ export type GetEvent200 = ({
177
395
  * Empty payload for event types with no typed fields, for example
178
396
  * `project.deleted`, `user.deleted` and `session.expired`.
179
397
  */
180
- payload: { [key: string]: unknown };
398
+ payload: { [key: string]: never };
181
399
  } | ({
182
400
  /** The event ID, in the form `evt_<opaque>`. */
183
401
  id: string;
@@ -192,9 +410,9 @@ export type GetEvent200 = ({
192
410
  event_type: string;
193
411
  /** The category of the event. */
194
412
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
195
- /** When the action happened, on the server's clock. */
413
+ /** When the action happened, on the server's clock, to the millisecond. */
196
414
  occurred_at: string;
197
- /** When the event was stored, on the server's clock. */
415
+ /** When the event was stored, on the server's clock, to the millisecond. */
198
416
  created_at: string;
199
417
  /** The ID of the actor that triggered the event. */
200
418
  actor_id?: string | null;
@@ -204,6 +422,12 @@ export type GetEvent200 = ({
204
422
  entity_type?: string | null;
205
423
  /** The ID of the resource the event affected. */
206
424
  entity_id?: string | null;
425
+ /**
426
+ * The ID of the user the event concerns, whoever triggered it: the user a
427
+ * session, a token, a sign-in check or a credential belongs to, or the
428
+ * user a change was made to. Absent on an event that concerns no user.
429
+ */
430
+ user_id?: string | null;
207
431
  /** The application or agent that produced the event. */
208
432
  client_id: string;
209
433
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -283,9 +507,9 @@ export type GetEvent200 = ({
283
507
  event_type: string;
284
508
  /** The category of the event. */
285
509
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
286
- /** When the action happened, on the server's clock. */
510
+ /** When the action happened, on the server's clock, to the millisecond. */
287
511
  occurred_at: string;
288
- /** When the event was stored, on the server's clock. */
512
+ /** When the event was stored, on the server's clock, to the millisecond. */
289
513
  created_at: string;
290
514
  /** The ID of the actor that triggered the event. */
291
515
  actor_id?: string | null;
@@ -295,6 +519,12 @@ export type GetEvent200 = ({
295
519
  entity_type?: string | null;
296
520
  /** The ID of the resource the event affected. */
297
521
  entity_id?: string | null;
522
+ /**
523
+ * The ID of the user the event concerns, whoever triggered it: the user a
524
+ * session, a token, a sign-in check or a credential belongs to, or the
525
+ * user a change was made to. Absent on an event that concerns no user.
526
+ */
527
+ user_id?: string | null;
298
528
  /** The application or agent that produced the event. */
299
529
  client_id: string;
300
530
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -374,9 +604,9 @@ export type GetEvent200 = ({
374
604
  event_type: string;
375
605
  /** The category of the event. */
376
606
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
377
- /** When the action happened, on the server's clock. */
607
+ /** When the action happened, on the server's clock, to the millisecond. */
378
608
  occurred_at: string;
379
- /** When the event was stored, on the server's clock. */
609
+ /** When the event was stored, on the server's clock, to the millisecond. */
380
610
  created_at: string;
381
611
  /** The ID of the actor that triggered the event. */
382
612
  actor_id?: string | null;
@@ -386,6 +616,12 @@ export type GetEvent200 = ({
386
616
  entity_type?: string | null;
387
617
  /** The ID of the resource the event affected. */
388
618
  entity_id?: string | null;
619
+ /**
620
+ * The ID of the user the event concerns, whoever triggered it: the user a
621
+ * session, a token, a sign-in check or a credential belongs to, or the
622
+ * user a change was made to. Absent on an event that concerns no user.
623
+ */
624
+ user_id?: string | null;
389
625
  /** The application or agent that produced the event. */
390
626
  client_id: string;
391
627
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -458,9 +694,9 @@ export type GetEvent200 = ({
458
694
  event_type: string;
459
695
  /** The category of the event. */
460
696
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
461
- /** When the action happened, on the server's clock. */
697
+ /** When the action happened, on the server's clock, to the millisecond. */
462
698
  occurred_at: string;
463
- /** When the event was stored, on the server's clock. */
699
+ /** When the event was stored, on the server's clock, to the millisecond. */
464
700
  created_at: string;
465
701
  /** The ID of the actor that triggered the event. */
466
702
  actor_id?: string | null;
@@ -470,6 +706,12 @@ export type GetEvent200 = ({
470
706
  entity_type?: string | null;
471
707
  /** The ID of the resource the event affected. */
472
708
  entity_id?: string | null;
709
+ /**
710
+ * The ID of the user the event concerns, whoever triggered it: the user a
711
+ * session, a token, a sign-in check or a credential belongs to, or the
712
+ * user a change was made to. Absent on an event that concerns no user.
713
+ */
714
+ user_id?: string | null;
473
715
  /** The application or agent that produced the event. */
474
716
  client_id: string;
475
717
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -542,9 +784,9 @@ export type GetEvent200 = ({
542
784
  event_type: string;
543
785
  /** The category of the event. */
544
786
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
545
- /** When the action happened, on the server's clock. */
787
+ /** When the action happened, on the server's clock, to the millisecond. */
546
788
  occurred_at: string;
547
- /** When the event was stored, on the server's clock. */
789
+ /** When the event was stored, on the server's clock, to the millisecond. */
548
790
  created_at: string;
549
791
  /** The ID of the actor that triggered the event. */
550
792
  actor_id?: string | null;
@@ -554,6 +796,101 @@ export type GetEvent200 = ({
554
796
  entity_type?: string | null;
555
797
  /** The ID of the resource the event affected. */
556
798
  entity_id?: string | null;
799
+ /**
800
+ * The ID of the user the event concerns, whoever triggered it: the user a
801
+ * session, a token, a sign-in check or a credential belongs to, or the
802
+ * user a change was made to. Absent on an event that concerns no user.
803
+ */
804
+ user_id?: string | null;
805
+ /** The application or agent that produced the event. */
806
+ client_id: string;
807
+ /** The ID of the token in use when the event was emitted, when there was one. */
808
+ token_id?: string;
809
+ /** The kind of delegation. Absent when unset. */
810
+ delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
811
+ delegation_id?: string;
812
+ grantor?: string;
813
+ /** A device fingerprint ID that correlates events from the same device. */
814
+ fingerprint?: string;
815
+ /**
816
+ * The ID of the HTTP request that caused the event. Events of one request
817
+ * share it. Only the `request.api` event of a request carries
818
+ * `metadata.client`.
819
+ */
820
+ request_id?: string | null;
821
+ /** The ID of the session the event belongs to. */
822
+ session_id?: string | null;
823
+ /** An ID that correlates the events of one login flow. */
824
+ flow_id?: string | null;
825
+ /**
826
+ * Metadata the server records when it emits the event, already redacted when
827
+ * written. An event from an API request (`request.api`) may set `client`
828
+ * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
829
+ * not a live risk-evaluator input.
830
+ */
831
+ metadata?: {
832
+ /**
833
+ * What authorized the request, when it was not a grant on the event's
834
+ * project. Every event of such a request carries it.
835
+ */
836
+ authorization?: {
837
+ /**
838
+ * `platform_operator`: the deployment's platform operator relation,
839
+ * which administers every project.
840
+ */
841
+ path: 'platform_operator';
842
+ /** The project the actor's user belongs to. */
843
+ actor_home_project_id?: string;
844
+ };
845
+ /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
846
+ client?: {
847
+ /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
848
+ ip?: string;
849
+ /** The observed `User-Agent` header. */
850
+ user_agent?: string;
851
+ /** The `Origin` header, when present. */
852
+ origin?: string;
853
+ };
854
+ [key: string]: unknown;
855
+ };
856
+ }) & {
857
+ event_type: 'auth.request.created';
858
+ /** Payload for `auth.request.created` events. */
859
+ payload: {
860
+ client_id: string;
861
+ };
862
+ } | ({
863
+ /** The event ID, in the form `evt_<opaque>`. */
864
+ id: string;
865
+ /** @pattern ^[a-zA-Z0-9_-]+$ */
866
+ project_id: string;
867
+ /** The team the actor operated under when the event was emitted, if any. */
868
+ team_id?: string | null;
869
+ /**
870
+ * The event type, dot-separated, for example `user.created`. It says which
871
+ * `payload` the event carries.
872
+ */
873
+ event_type: string;
874
+ /** The category of the event. */
875
+ category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
876
+ /** When the action happened, on the server's clock, to the millisecond. */
877
+ occurred_at: string;
878
+ /** When the event was stored, on the server's clock, to the millisecond. */
879
+ created_at: string;
880
+ /** The ID of the actor that triggered the event. */
881
+ actor_id?: string | null;
882
+ /** The kind of actor that triggered the event. */
883
+ actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
884
+ /** The type of resource the event affected. */
885
+ entity_type?: string | null;
886
+ /** The ID of the resource the event affected. */
887
+ entity_id?: string | null;
888
+ /**
889
+ * The ID of the user the event concerns, whoever triggered it: the user a
890
+ * session, a token, a sign-in check or a credential belongs to, or the
891
+ * user a change was made to. Absent on an event that concerns no user.
892
+ */
893
+ user_id?: string | null;
557
894
  /** The application or agent that produced the event. */
558
895
  client_id: string;
559
896
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -633,9 +970,9 @@ export type GetEvent200 = ({
633
970
  event_type: string;
634
971
  /** The category of the event. */
635
972
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
636
- /** When the action happened, on the server's clock. */
973
+ /** When the action happened, on the server's clock, to the millisecond. */
637
974
  occurred_at: string;
638
- /** When the event was stored, on the server's clock. */
975
+ /** When the event was stored, on the server's clock, to the millisecond. */
639
976
  created_at: string;
640
977
  /** The ID of the actor that triggered the event. */
641
978
  actor_id?: string | null;
@@ -645,6 +982,12 @@ export type GetEvent200 = ({
645
982
  entity_type?: string | null;
646
983
  /** The ID of the resource the event affected. */
647
984
  entity_id?: string | null;
985
+ /**
986
+ * The ID of the user the event concerns, whoever triggered it: the user a
987
+ * session, a token, a sign-in check or a credential belongs to, or the
988
+ * user a change was made to. Absent on an event that concerns no user.
989
+ */
990
+ user_id?: string | null;
648
991
  /** The application or agent that produced the event. */
649
992
  client_id: string;
650
993
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -706,9 +1049,195 @@ export type GetEvent200 = ({
706
1049
  * tool can correlate them.
707
1050
  */
708
1051
  payload: {
709
- check_id: string;
710
- check_type?: string;
711
- auth_attempt_id?: string;
1052
+ check_id: string;
1053
+ check_type?: string;
1054
+ auth_attempt_id?: string;
1055
+ };
1056
+ } | ({
1057
+ /** The event ID, in the form `evt_<opaque>`. */
1058
+ id: string;
1059
+ /** @pattern ^[a-zA-Z0-9_-]+$ */
1060
+ project_id: string;
1061
+ /** The team the actor operated under when the event was emitted, if any. */
1062
+ team_id?: string | null;
1063
+ /**
1064
+ * The event type, dot-separated, for example `user.created`. It says which
1065
+ * `payload` the event carries.
1066
+ */
1067
+ event_type: string;
1068
+ /** The category of the event. */
1069
+ category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1070
+ /** When the action happened, on the server's clock, to the millisecond. */
1071
+ occurred_at: string;
1072
+ /** When the event was stored, on the server's clock, to the millisecond. */
1073
+ created_at: string;
1074
+ /** The ID of the actor that triggered the event. */
1075
+ actor_id?: string | null;
1076
+ /** The kind of actor that triggered the event. */
1077
+ actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1078
+ /** The type of resource the event affected. */
1079
+ entity_type?: string | null;
1080
+ /** The ID of the resource the event affected. */
1081
+ entity_id?: string | null;
1082
+ /**
1083
+ * The ID of the user the event concerns, whoever triggered it: the user a
1084
+ * session, a token, a sign-in check or a credential belongs to, or the
1085
+ * user a change was made to. Absent on an event that concerns no user.
1086
+ */
1087
+ user_id?: string | null;
1088
+ /** The application or agent that produced the event. */
1089
+ client_id: string;
1090
+ /** The ID of the token in use when the event was emitted, when there was one. */
1091
+ token_id?: string;
1092
+ /** The kind of delegation. Absent when unset. */
1093
+ delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1094
+ delegation_id?: string;
1095
+ grantor?: string;
1096
+ /** A device fingerprint ID that correlates events from the same device. */
1097
+ fingerprint?: string;
1098
+ /**
1099
+ * The ID of the HTTP request that caused the event. Events of one request
1100
+ * share it. Only the `request.api` event of a request carries
1101
+ * `metadata.client`.
1102
+ */
1103
+ request_id?: string | null;
1104
+ /** The ID of the session the event belongs to. */
1105
+ session_id?: string | null;
1106
+ /** An ID that correlates the events of one login flow. */
1107
+ flow_id?: string | null;
1108
+ /**
1109
+ * Metadata the server records when it emits the event, already redacted when
1110
+ * written. An event from an API request (`request.api`) may set `client`
1111
+ * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1112
+ * not a live risk-evaluator input.
1113
+ */
1114
+ metadata?: {
1115
+ /**
1116
+ * What authorized the request, when it was not a grant on the event's
1117
+ * project. Every event of such a request carries it.
1118
+ */
1119
+ authorization?: {
1120
+ /**
1121
+ * `platform_operator`: the deployment's platform operator relation,
1122
+ * which administers every project.
1123
+ */
1124
+ path: 'platform_operator';
1125
+ /** The project the actor's user belongs to. */
1126
+ actor_home_project_id?: string;
1127
+ };
1128
+ /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1129
+ client?: {
1130
+ /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1131
+ ip?: string;
1132
+ /** The observed `User-Agent` header. */
1133
+ user_agent?: string;
1134
+ /** The `Origin` header, when present. */
1135
+ origin?: string;
1136
+ };
1137
+ [key: string]: unknown;
1138
+ };
1139
+ }) & {
1140
+ event_type: 'auth.sso.exchange.succeeded';
1141
+ /**
1142
+ * Payload for `auth.check.failed`, `auth.check.succeeded`,
1143
+ * `auth.sso.authorization.failed`, `auth.sso.exchange.failed` and
1144
+ * `auth.sso.exchange.succeeded`.
1145
+ * `auth_attempt_id` joins the check to its authentication attempt, so a SIEM
1146
+ * tool can correlate them.
1147
+ */
1148
+ payload: {
1149
+ check_id: string;
1150
+ check_type?: string;
1151
+ auth_attempt_id?: string;
1152
+ };
1153
+ } | ({
1154
+ /** The event ID, in the form `evt_<opaque>`. */
1155
+ id: string;
1156
+ /** @pattern ^[a-zA-Z0-9_-]+$ */
1157
+ project_id: string;
1158
+ /** The team the actor operated under when the event was emitted, if any. */
1159
+ team_id?: string | null;
1160
+ /**
1161
+ * The event type, dot-separated, for example `user.created`. It says which
1162
+ * `payload` the event carries.
1163
+ */
1164
+ event_type: string;
1165
+ /** The category of the event. */
1166
+ category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1167
+ /** When the action happened, on the server's clock, to the millisecond. */
1168
+ occurred_at: string;
1169
+ /** When the event was stored, on the server's clock, to the millisecond. */
1170
+ created_at: string;
1171
+ /** The ID of the actor that triggered the event. */
1172
+ actor_id?: string | null;
1173
+ /** The kind of actor that triggered the event. */
1174
+ actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1175
+ /** The type of resource the event affected. */
1176
+ entity_type?: string | null;
1177
+ /** The ID of the resource the event affected. */
1178
+ entity_id?: string | null;
1179
+ /**
1180
+ * The ID of the user the event concerns, whoever triggered it: the user a
1181
+ * session, a token, a sign-in check or a credential belongs to, or the
1182
+ * user a change was made to. Absent on an event that concerns no user.
1183
+ */
1184
+ user_id?: string | null;
1185
+ /** The application or agent that produced the event. */
1186
+ client_id: string;
1187
+ /** The ID of the token in use when the event was emitted, when there was one. */
1188
+ token_id?: string;
1189
+ /** The kind of delegation. Absent when unset. */
1190
+ delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1191
+ delegation_id?: string;
1192
+ grantor?: string;
1193
+ /** A device fingerprint ID that correlates events from the same device. */
1194
+ fingerprint?: string;
1195
+ /**
1196
+ * The ID of the HTTP request that caused the event. Events of one request
1197
+ * share it. Only the `request.api` event of a request carries
1198
+ * `metadata.client`.
1199
+ */
1200
+ request_id?: string | null;
1201
+ /** The ID of the session the event belongs to. */
1202
+ session_id?: string | null;
1203
+ /** An ID that correlates the events of one login flow. */
1204
+ flow_id?: string | null;
1205
+ /**
1206
+ * Metadata the server records when it emits the event, already redacted when
1207
+ * written. An event from an API request (`request.api`) may set `client`
1208
+ * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1209
+ * not a live risk-evaluator input.
1210
+ */
1211
+ metadata?: {
1212
+ /**
1213
+ * What authorized the request, when it was not a grant on the event's
1214
+ * project. Every event of such a request carries it.
1215
+ */
1216
+ authorization?: {
1217
+ /**
1218
+ * `platform_operator`: the deployment's platform operator relation,
1219
+ * which administers every project.
1220
+ */
1221
+ path: 'platform_operator';
1222
+ /** The project the actor's user belongs to. */
1223
+ actor_home_project_id?: string;
1224
+ };
1225
+ /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1226
+ client?: {
1227
+ /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1228
+ ip?: string;
1229
+ /** The observed `User-Agent` header. */
1230
+ user_agent?: string;
1231
+ /** The `Origin` header, when present. */
1232
+ origin?: string;
1233
+ };
1234
+ [key: string]: unknown;
1235
+ };
1236
+ }) & {
1237
+ event_type: 'auth.token.issued';
1238
+ /** Payload for `auth.token.issued` events. */
1239
+ payload: {
1240
+ scopes?: string[];
712
1241
  };
713
1242
  } | ({
714
1243
  /** The event ID, in the form `evt_<opaque>`. */
@@ -724,9 +1253,9 @@ export type GetEvent200 = ({
724
1253
  event_type: string;
725
1254
  /** The category of the event. */
726
1255
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
727
- /** When the action happened, on the server's clock. */
1256
+ /** When the action happened, on the server's clock, to the millisecond. */
728
1257
  occurred_at: string;
729
- /** When the event was stored, on the server's clock. */
1258
+ /** When the event was stored, on the server's clock, to the millisecond. */
730
1259
  created_at: string;
731
1260
  /** The ID of the actor that triggered the event. */
732
1261
  actor_id?: string | null;
@@ -736,6 +1265,12 @@ export type GetEvent200 = ({
736
1265
  entity_type?: string | null;
737
1266
  /** The ID of the resource the event affected. */
738
1267
  entity_id?: string | null;
1268
+ /**
1269
+ * The ID of the user the event concerns, whoever triggered it: the user a
1270
+ * session, a token, a sign-in check or a credential belongs to, or the
1271
+ * user a change was made to. Absent on an event that concerns no user.
1272
+ */
1273
+ user_id?: string | null;
739
1274
  /** The application or agent that produced the event. */
740
1275
  client_id: string;
741
1276
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -788,19 +1323,12 @@ export type GetEvent200 = ({
788
1323
  [key: string]: unknown;
789
1324
  };
790
1325
  }) & {
791
- event_type: 'auth.sso.exchange.succeeded';
1326
+ event_type: 'auth.token.revoked';
792
1327
  /**
793
- * Payload for `auth.check.failed`, `auth.check.succeeded`,
794
- * `auth.sso.authorization.failed`, `auth.sso.exchange.failed` and
795
- * `auth.sso.exchange.succeeded`.
796
- * `auth_attempt_id` joins the check to its authentication attempt, so a SIEM
797
- * tool can correlate them.
1328
+ * Empty payload for event types with no typed fields, for example
1329
+ * `project.deleted`, `user.deleted` and `session.expired`.
798
1330
  */
799
- payload: {
800
- check_id: string;
801
- check_type?: string;
802
- auth_attempt_id?: string;
803
- };
1331
+ payload: { [key: string]: never };
804
1332
  } | ({
805
1333
  /** The event ID, in the form `evt_<opaque>`. */
806
1334
  id: string;
@@ -815,9 +1343,9 @@ export type GetEvent200 = ({
815
1343
  event_type: string;
816
1344
  /** The category of the event. */
817
1345
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
818
- /** When the action happened, on the server's clock. */
1346
+ /** When the action happened, on the server's clock, to the millisecond. */
819
1347
  occurred_at: string;
820
- /** When the event was stored, on the server's clock. */
1348
+ /** When the event was stored, on the server's clock, to the millisecond. */
821
1349
  created_at: string;
822
1350
  /** The ID of the actor that triggered the event. */
823
1351
  actor_id?: string | null;
@@ -827,6 +1355,12 @@ export type GetEvent200 = ({
827
1355
  entity_type?: string | null;
828
1356
  /** The ID of the resource the event affected. */
829
1357
  entity_id?: string | null;
1358
+ /**
1359
+ * The ID of the user the event concerns, whoever triggered it: the user a
1360
+ * session, a token, a sign-in check or a credential belongs to, or the
1361
+ * user a change was made to. Absent on an event that concerns no user.
1362
+ */
1363
+ user_id?: string | null;
830
1364
  /** The application or agent that produced the event. */
831
1365
  client_id: string;
832
1366
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -879,10 +1413,12 @@ export type GetEvent200 = ({
879
1413
  [key: string]: unknown;
880
1414
  };
881
1415
  }) & {
882
- event_type: 'auth.token.issued';
883
- /** Payload for `auth.token.issued` events. */
1416
+ event_type: 'authz.granted';
1417
+ /** Payload for `authz.granted` events. */
884
1418
  payload: {
885
- scopes?: string[];
1419
+ principal_type?: string;
1420
+ principal_id?: string;
1421
+ relation?: string;
886
1422
  };
887
1423
  } | ({
888
1424
  /** The event ID, in the form `evt_<opaque>`. */
@@ -898,9 +1434,9 @@ export type GetEvent200 = ({
898
1434
  event_type: string;
899
1435
  /** The category of the event. */
900
1436
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
901
- /** When the action happened, on the server's clock. */
1437
+ /** When the action happened, on the server's clock, to the millisecond. */
902
1438
  occurred_at: string;
903
- /** When the event was stored, on the server's clock. */
1439
+ /** When the event was stored, on the server's clock, to the millisecond. */
904
1440
  created_at: string;
905
1441
  /** The ID of the actor that triggered the event. */
906
1442
  actor_id?: string | null;
@@ -910,6 +1446,12 @@ export type GetEvent200 = ({
910
1446
  entity_type?: string | null;
911
1447
  /** The ID of the resource the event affected. */
912
1448
  entity_id?: string | null;
1449
+ /**
1450
+ * The ID of the user the event concerns, whoever triggered it: the user a
1451
+ * session, a token, a sign-in check or a credential belongs to, or the
1452
+ * user a change was made to. Absent on an event that concerns no user.
1453
+ */
1454
+ user_id?: string | null;
913
1455
  /** The application or agent that produced the event. */
914
1456
  client_id: string;
915
1457
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -962,12 +1504,13 @@ export type GetEvent200 = ({
962
1504
  [key: string]: unknown;
963
1505
  };
964
1506
  }) & {
965
- event_type: 'auth.token.revoked';
966
- /**
967
- * Empty payload for event types with no typed fields, for example
968
- * `project.deleted`, `user.deleted` and `session.expired`.
969
- */
970
- payload: { [key: string]: unknown };
1507
+ event_type: 'authz.revoked';
1508
+ /** Payload for `authz.granted` events. */
1509
+ payload: {
1510
+ principal_type?: string;
1511
+ principal_id?: string;
1512
+ relation?: string;
1513
+ };
971
1514
  } | ({
972
1515
  /** The event ID, in the form `evt_<opaque>`. */
973
1516
  id: string;
@@ -982,9 +1525,9 @@ export type GetEvent200 = ({
982
1525
  event_type: string;
983
1526
  /** The category of the event. */
984
1527
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
985
- /** When the action happened, on the server's clock. */
1528
+ /** When the action happened, on the server's clock, to the millisecond. */
986
1529
  occurred_at: string;
987
- /** When the event was stored, on the server's clock. */
1530
+ /** When the event was stored, on the server's clock, to the millisecond. */
988
1531
  created_at: string;
989
1532
  /** The ID of the actor that triggered the event. */
990
1533
  actor_id?: string | null;
@@ -994,6 +1537,12 @@ export type GetEvent200 = ({
994
1537
  entity_type?: string | null;
995
1538
  /** The ID of the resource the event affected. */
996
1539
  entity_id?: string | null;
1540
+ /**
1541
+ * The ID of the user the event concerns, whoever triggered it: the user a
1542
+ * session, a token, a sign-in check or a credential belongs to, or the
1543
+ * user a change was made to. Absent on an event that concerns no user.
1544
+ */
1545
+ user_id?: string | null;
997
1546
  /** The application or agent that produced the event. */
998
1547
  client_id: string;
999
1548
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1046,12 +1595,16 @@ export type GetEvent200 = ({
1046
1595
  [key: string]: unknown;
1047
1596
  };
1048
1597
  }) & {
1049
- event_type: 'authz.granted';
1050
- /** Payload for `authz.granted` events. */
1598
+ event_type: 'branding.created';
1599
+ /**
1600
+ * Payload for `branding.created`. It holds only the fields listed here and
1601
+ * leaves out `liquid_template`.
1602
+ */
1051
1603
  payload: {
1052
- principal_type?: string;
1053
- principal_id?: string;
1054
- relation?: string;
1604
+ layout?: string;
1605
+ logo_url?: string;
1606
+ font_url?: string;
1607
+ hero_url?: string;
1055
1608
  };
1056
1609
  } | ({
1057
1610
  /** The event ID, in the form `evt_<opaque>`. */
@@ -1067,9 +1620,9 @@ export type GetEvent200 = ({
1067
1620
  event_type: string;
1068
1621
  /** The category of the event. */
1069
1622
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1070
- /** When the action happened, on the server's clock. */
1623
+ /** When the action happened, on the server's clock, to the millisecond. */
1071
1624
  occurred_at: string;
1072
- /** When the event was stored, on the server's clock. */
1625
+ /** When the event was stored, on the server's clock, to the millisecond. */
1073
1626
  created_at: string;
1074
1627
  /** The ID of the actor that triggered the event. */
1075
1628
  actor_id?: string | null;
@@ -1079,6 +1632,12 @@ export type GetEvent200 = ({
1079
1632
  entity_type?: string | null;
1080
1633
  /** The ID of the resource the event affected. */
1081
1634
  entity_id?: string | null;
1635
+ /**
1636
+ * The ID of the user the event concerns, whoever triggered it: the user a
1637
+ * session, a token, a sign-in check or a credential belongs to, or the
1638
+ * user a change was made to. Absent on an event that concerns no user.
1639
+ */
1640
+ user_id?: string | null;
1082
1641
  /** The application or agent that produced the event. */
1083
1642
  client_id: string;
1084
1643
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1131,12 +1690,18 @@ export type GetEvent200 = ({
1131
1690
  [key: string]: unknown;
1132
1691
  };
1133
1692
  }) & {
1134
- event_type: 'authz.revoked';
1135
- /** Payload for `authz.granted` events. */
1693
+ event_type: 'deployment.created';
1694
+ /**
1695
+ * Payload for `deployment.created`. The deployment ID is the event's
1696
+ * `entity_id`; the fields here say which release went live on which origins.
1697
+ */
1136
1698
  payload: {
1137
- principal_type?: string;
1138
- principal_id?: string;
1139
- relation?: string;
1699
+ release_id?: string;
1700
+ /** The origins the release went live on, sorted. */
1701
+ targets?: string[];
1702
+ reason?: string;
1703
+ message?: string;
1704
+ rollback_to?: string;
1140
1705
  };
1141
1706
  } | ({
1142
1707
  /** The event ID, in the form `evt_<opaque>`. */
@@ -1152,9 +1717,9 @@ export type GetEvent200 = ({
1152
1717
  event_type: string;
1153
1718
  /** The category of the event. */
1154
1719
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1155
- /** When the action happened, on the server's clock. */
1720
+ /** When the action happened, on the server's clock, to the millisecond. */
1156
1721
  occurred_at: string;
1157
- /** When the event was stored, on the server's clock. */
1722
+ /** When the event was stored, on the server's clock, to the millisecond. */
1158
1723
  created_at: string;
1159
1724
  /** The ID of the actor that triggered the event. */
1160
1725
  actor_id?: string | null;
@@ -1164,6 +1729,12 @@ export type GetEvent200 = ({
1164
1729
  entity_type?: string | null;
1165
1730
  /** The ID of the resource the event affected. */
1166
1731
  entity_id?: string | null;
1732
+ /**
1733
+ * The ID of the user the event concerns, whoever triggered it: the user a
1734
+ * session, a token, a sign-in check or a credential belongs to, or the
1735
+ * user a change was made to. Absent on an event that concerns no user.
1736
+ */
1737
+ user_id?: string | null;
1167
1738
  /** The application or agent that produced the event. */
1168
1739
  client_id: string;
1169
1740
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1216,17 +1787,12 @@ export type GetEvent200 = ({
1216
1787
  [key: string]: unknown;
1217
1788
  };
1218
1789
  }) & {
1219
- event_type: 'branding.created';
1790
+ event_type: 'flow.signup_challenge.consumed';
1220
1791
  /**
1221
- * Payload for `branding.created`. It holds only the fields listed here and
1222
- * leaves out `liquid_template`.
1792
+ * Empty payload for event types with no typed fields, for example
1793
+ * `project.deleted`, `user.deleted` and `session.expired`.
1223
1794
  */
1224
- payload: {
1225
- layout?: string;
1226
- logo_url?: string;
1227
- font_url?: string;
1228
- hero_url?: string;
1229
- };
1795
+ payload: { [key: string]: never };
1230
1796
  } | ({
1231
1797
  /** The event ID, in the form `evt_<opaque>`. */
1232
1798
  id: string;
@@ -1241,9 +1807,9 @@ export type GetEvent200 = ({
1241
1807
  event_type: string;
1242
1808
  /** The category of the event. */
1243
1809
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1244
- /** When the action happened, on the server's clock. */
1810
+ /** When the action happened, on the server's clock, to the millisecond. */
1245
1811
  occurred_at: string;
1246
- /** When the event was stored, on the server's clock. */
1812
+ /** When the event was stored, on the server's clock, to the millisecond. */
1247
1813
  created_at: string;
1248
1814
  /** The ID of the actor that triggered the event. */
1249
1815
  actor_id?: string | null;
@@ -1253,6 +1819,12 @@ export type GetEvent200 = ({
1253
1819
  entity_type?: string | null;
1254
1820
  /** The ID of the resource the event affected. */
1255
1821
  entity_id?: string | null;
1822
+ /**
1823
+ * The ID of the user the event concerns, whoever triggered it: the user a
1824
+ * session, a token, a sign-in check or a credential belongs to, or the
1825
+ * user a change was made to. Absent on an event that concerns no user.
1826
+ */
1827
+ user_id?: string | null;
1256
1828
  /** The application or agent that produced the event. */
1257
1829
  client_id: string;
1258
1830
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1305,19 +1877,12 @@ export type GetEvent200 = ({
1305
1877
  [key: string]: unknown;
1306
1878
  };
1307
1879
  }) & {
1308
- event_type: 'deployment.created';
1880
+ event_type: 'flow.signup_challenge.issued';
1309
1881
  /**
1310
- * Payload for `deployment.created`. The deployment ID is the event's
1311
- * `entity_id`; the fields here say which release went live on which origins.
1882
+ * Empty payload for event types with no typed fields, for example
1883
+ * `project.deleted`, `user.deleted` and `session.expired`.
1312
1884
  */
1313
- payload: {
1314
- release_id?: string;
1315
- /** The origins the release went live on, sorted. */
1316
- targets?: string[];
1317
- reason?: string;
1318
- message?: string;
1319
- rollback_to?: string;
1320
- };
1885
+ payload: { [key: string]: never };
1321
1886
  } | ({
1322
1887
  /** The event ID, in the form `evt_<opaque>`. */
1323
1888
  id: string;
@@ -1332,9 +1897,9 @@ export type GetEvent200 = ({
1332
1897
  event_type: string;
1333
1898
  /** The category of the event. */
1334
1899
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1335
- /** When the action happened, on the server's clock. */
1900
+ /** When the action happened, on the server's clock, to the millisecond. */
1336
1901
  occurred_at: string;
1337
- /** When the event was stored, on the server's clock. */
1902
+ /** When the event was stored, on the server's clock, to the millisecond. */
1338
1903
  created_at: string;
1339
1904
  /** The ID of the actor that triggered the event. */
1340
1905
  actor_id?: string | null;
@@ -1344,6 +1909,12 @@ export type GetEvent200 = ({
1344
1909
  entity_type?: string | null;
1345
1910
  /** The ID of the resource the event affected. */
1346
1911
  entity_id?: string | null;
1912
+ /**
1913
+ * The ID of the user the event concerns, whoever triggered it: the user a
1914
+ * session, a token, a sign-in check or a credential belongs to, or the
1915
+ * user a change was made to. Absent on an event that concerns no user.
1916
+ */
1917
+ user_id?: string | null;
1347
1918
  /** The application or agent that produced the event. */
1348
1919
  client_id: string;
1349
1920
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1404,7 +1975,6 @@ export type GetEvent200 = ({
1404
1975
  */
1405
1976
  payload: {
1406
1977
  name?: string;
1407
- status?: string;
1408
1978
  user_schema?: string;
1409
1979
  purposes?: {[key: string]: string};
1410
1980
  audience?: {
@@ -1426,9 +1996,9 @@ export type GetEvent200 = ({
1426
1996
  event_type: string;
1427
1997
  /** The category of the event. */
1428
1998
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1429
- /** When the action happened, on the server's clock. */
1999
+ /** When the action happened, on the server's clock, to the millisecond. */
1430
2000
  occurred_at: string;
1431
- /** When the event was stored, on the server's clock. */
2001
+ /** When the event was stored, on the server's clock, to the millisecond. */
1432
2002
  created_at: string;
1433
2003
  /** The ID of the actor that triggered the event. */
1434
2004
  actor_id?: string | null;
@@ -1438,6 +2008,12 @@ export type GetEvent200 = ({
1438
2008
  entity_type?: string | null;
1439
2009
  /** The ID of the resource the event affected. */
1440
2010
  entity_id?: string | null;
2011
+ /**
2012
+ * The ID of the user the event concerns, whoever triggered it: the user a
2013
+ * session, a token, a sign-in check or a credential belongs to, or the
2014
+ * user a change was made to. Absent on an event that concerns no user.
2015
+ */
2016
+ user_id?: string | null;
1441
2017
  /** The application or agent that produced the event. */
1442
2018
  client_id: string;
1443
2019
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1495,7 +2071,7 @@ export type GetEvent200 = ({
1495
2071
  * Empty payload for event types with no typed fields, for example
1496
2072
  * `project.deleted`, `user.deleted` and `session.expired`.
1497
2073
  */
1498
- payload: { [key: string]: unknown };
2074
+ payload: { [key: string]: never };
1499
2075
  } | ({
1500
2076
  /** The event ID, in the form `evt_<opaque>`. */
1501
2077
  id: string;
@@ -1510,9 +2086,9 @@ export type GetEvent200 = ({
1510
2086
  event_type: string;
1511
2087
  /** The category of the event. */
1512
2088
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1513
- /** When the action happened, on the server's clock. */
2089
+ /** When the action happened, on the server's clock, to the millisecond. */
1514
2090
  occurred_at: string;
1515
- /** When the event was stored, on the server's clock. */
2091
+ /** When the event was stored, on the server's clock, to the millisecond. */
1516
2092
  created_at: string;
1517
2093
  /** The ID of the actor that triggered the event. */
1518
2094
  actor_id?: string | null;
@@ -1522,6 +2098,12 @@ export type GetEvent200 = ({
1522
2098
  entity_type?: string | null;
1523
2099
  /** The ID of the resource the event affected. */
1524
2100
  entity_id?: string | null;
2101
+ /**
2102
+ * The ID of the user the event concerns, whoever triggered it: the user a
2103
+ * session, a token, a sign-in check or a credential belongs to, or the
2104
+ * user a change was made to. Absent on an event that concerns no user.
2105
+ */
2106
+ user_id?: string | null;
1525
2107
  /** The application or agent that produced the event. */
1526
2108
  client_id: string;
1527
2109
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1582,7 +2164,6 @@ export type GetEvent200 = ({
1582
2164
  */
1583
2165
  payload: {
1584
2166
  name?: string;
1585
- status?: string;
1586
2167
  user_schema?: string;
1587
2168
  purposes?: {[key: string]: string};
1588
2169
  audience?: {
@@ -1604,9 +2185,9 @@ export type GetEvent200 = ({
1604
2185
  event_type: string;
1605
2186
  /** The category of the event. */
1606
2187
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1607
- /** When the action happened, on the server's clock. */
2188
+ /** When the action happened, on the server's clock, to the millisecond. */
1608
2189
  occurred_at: string;
1609
- /** When the event was stored, on the server's clock. */
2190
+ /** When the event was stored, on the server's clock, to the millisecond. */
1610
2191
  created_at: string;
1611
2192
  /** The ID of the actor that triggered the event. */
1612
2193
  actor_id?: string | null;
@@ -1616,6 +2197,12 @@ export type GetEvent200 = ({
1616
2197
  entity_type?: string | null;
1617
2198
  /** The ID of the resource the event affected. */
1618
2199
  entity_id?: string | null;
2200
+ /**
2201
+ * The ID of the user the event concerns, whoever triggered it: the user a
2202
+ * session, a token, a sign-in check or a credential belongs to, or the
2203
+ * user a change was made to. Absent on an event that concerns no user.
2204
+ */
2205
+ user_id?: string | null;
1619
2206
  /** The application or agent that produced the event. */
1620
2207
  client_id: string;
1621
2208
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1702,9 +2289,9 @@ export type GetEvent200 = ({
1702
2289
  event_type: string;
1703
2290
  /** The category of the event. */
1704
2291
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1705
- /** When the action happened, on the server's clock. */
2292
+ /** When the action happened, on the server's clock, to the millisecond. */
1706
2293
  occurred_at: string;
1707
- /** When the event was stored, on the server's clock. */
2294
+ /** When the event was stored, on the server's clock, to the millisecond. */
1708
2295
  created_at: string;
1709
2296
  /** The ID of the actor that triggered the event. */
1710
2297
  actor_id?: string | null;
@@ -1714,6 +2301,12 @@ export type GetEvent200 = ({
1714
2301
  entity_type?: string | null;
1715
2302
  /** The ID of the resource the event affected. */
1716
2303
  entity_id?: string | null;
2304
+ /**
2305
+ * The ID of the user the event concerns, whoever triggered it: the user a
2306
+ * session, a token, a sign-in check or a credential belongs to, or the
2307
+ * user a change was made to. Absent on an event that concerns no user.
2308
+ */
2309
+ user_id?: string | null;
1717
2310
  /** The application or agent that produced the event. */
1718
2311
  client_id: string;
1719
2312
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1793,9 +2386,9 @@ export type GetEvent200 = ({
1793
2386
  event_type: string;
1794
2387
  /** The category of the event. */
1795
2388
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1796
- /** When the action happened, on the server's clock. */
2389
+ /** When the action happened, on the server's clock, to the millisecond. */
1797
2390
  occurred_at: string;
1798
- /** When the event was stored, on the server's clock. */
2391
+ /** When the event was stored, on the server's clock, to the millisecond. */
1799
2392
  created_at: string;
1800
2393
  /** The ID of the actor that triggered the event. */
1801
2394
  actor_id?: string | null;
@@ -1805,6 +2398,12 @@ export type GetEvent200 = ({
1805
2398
  entity_type?: string | null;
1806
2399
  /** The ID of the resource the event affected. */
1807
2400
  entity_id?: string | null;
2401
+ /**
2402
+ * The ID of the user the event concerns, whoever triggered it: the user a
2403
+ * session, a token, a sign-in check or a credential belongs to, or the
2404
+ * user a change was made to. Absent on an event that concerns no user.
2405
+ */
2406
+ user_id?: string | null;
1808
2407
  /** The application or agent that produced the event. */
1809
2408
  client_id: string;
1810
2409
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -1891,9 +2490,9 @@ export type GetEvent200 = ({
1891
2490
  event_type: string;
1892
2491
  /** The category of the event. */
1893
2492
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1894
- /** When the action happened, on the server's clock. */
2493
+ /** When the action happened, on the server's clock, to the millisecond. */
1895
2494
  occurred_at: string;
1896
- /** When the event was stored, on the server's clock. */
2495
+ /** When the event was stored, on the server's clock, to the millisecond. */
1897
2496
  created_at: string;
1898
2497
  /** The ID of the actor that triggered the event. */
1899
2498
  actor_id?: string | null;
@@ -1903,6 +2502,12 @@ export type GetEvent200 = ({
1903
2502
  entity_type?: string | null;
1904
2503
  /** The ID of the resource the event affected. */
1905
2504
  entity_id?: string | null;
2505
+ /**
2506
+ * The ID of the user the event concerns, whoever triggered it: the user a
2507
+ * session, a token, a sign-in check or a credential belongs to, or the
2508
+ * user a change was made to. Absent on an event that concerns no user.
2509
+ */
2510
+ user_id?: string | null;
1906
2511
  /** The application or agent that produced the event. */
1907
2512
  client_id: string;
1908
2513
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2003,9 +2608,9 @@ export type GetEvent200 = ({
2003
2608
  event_type: string;
2004
2609
  /** The category of the event. */
2005
2610
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2006
- /** When the action happened, on the server's clock. */
2611
+ /** When the action happened, on the server's clock, to the millisecond. */
2007
2612
  occurred_at: string;
2008
- /** When the event was stored, on the server's clock. */
2613
+ /** When the event was stored, on the server's clock, to the millisecond. */
2009
2614
  created_at: string;
2010
2615
  /** The ID of the actor that triggered the event. */
2011
2616
  actor_id?: string | null;
@@ -2015,6 +2620,12 @@ export type GetEvent200 = ({
2015
2620
  entity_type?: string | null;
2016
2621
  /** The ID of the resource the event affected. */
2017
2622
  entity_id?: string | null;
2623
+ /**
2624
+ * The ID of the user the event concerns, whoever triggered it: the user a
2625
+ * session, a token, a sign-in check or a credential belongs to, or the
2626
+ * user a change was made to. Absent on an event that concerns no user.
2627
+ */
2628
+ user_id?: string | null;
2018
2629
  /** The application or agent that produced the event. */
2019
2630
  client_id: string;
2020
2631
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2099,9 +2710,9 @@ export type GetEvent200 = ({
2099
2710
  event_type: string;
2100
2711
  /** The category of the event. */
2101
2712
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2102
- /** When the action happened, on the server's clock. */
2713
+ /** When the action happened, on the server's clock, to the millisecond. */
2103
2714
  occurred_at: string;
2104
- /** When the event was stored, on the server's clock. */
2715
+ /** When the event was stored, on the server's clock, to the millisecond. */
2105
2716
  created_at: string;
2106
2717
  /** The ID of the actor that triggered the event. */
2107
2718
  actor_id?: string | null;
@@ -2111,6 +2722,12 @@ export type GetEvent200 = ({
2111
2722
  entity_type?: string | null;
2112
2723
  /** The ID of the resource the event affected. */
2113
2724
  entity_id?: string | null;
2725
+ /**
2726
+ * The ID of the user the event concerns, whoever triggered it: the user a
2727
+ * session, a token, a sign-in check or a credential belongs to, or the
2728
+ * user a change was made to. Absent on an event that concerns no user.
2729
+ */
2730
+ user_id?: string | null;
2114
2731
  /** The application or agent that produced the event. */
2115
2732
  client_id: string;
2116
2733
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2213,9 +2830,9 @@ export type GetEvent200 = ({
2213
2830
  event_type: string;
2214
2831
  /** The category of the event. */
2215
2832
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2216
- /** When the action happened, on the server's clock. */
2833
+ /** When the action happened, on the server's clock, to the millisecond. */
2217
2834
  occurred_at: string;
2218
- /** When the event was stored, on the server's clock. */
2835
+ /** When the event was stored, on the server's clock, to the millisecond. */
2219
2836
  created_at: string;
2220
2837
  /** The ID of the actor that triggered the event. */
2221
2838
  actor_id?: string | null;
@@ -2225,6 +2842,12 @@ export type GetEvent200 = ({
2225
2842
  entity_type?: string | null;
2226
2843
  /** The ID of the resource the event affected. */
2227
2844
  entity_id?: string | null;
2845
+ /**
2846
+ * The ID of the user the event concerns, whoever triggered it: the user a
2847
+ * session, a token, a sign-in check or a credential belongs to, or the
2848
+ * user a change was made to. Absent on an event that concerns no user.
2849
+ */
2850
+ user_id?: string | null;
2228
2851
  /** The application or agent that produced the event. */
2229
2852
  client_id: string;
2230
2853
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2301,9 +2924,9 @@ export type GetEvent200 = ({
2301
2924
  event_type: string;
2302
2925
  /** The category of the event. */
2303
2926
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2304
- /** When the action happened, on the server's clock. */
2927
+ /** When the action happened, on the server's clock, to the millisecond. */
2305
2928
  occurred_at: string;
2306
- /** When the event was stored, on the server's clock. */
2929
+ /** When the event was stored, on the server's clock, to the millisecond. */
2307
2930
  created_at: string;
2308
2931
  /** The ID of the actor that triggered the event. */
2309
2932
  actor_id?: string | null;
@@ -2313,6 +2936,105 @@ export type GetEvent200 = ({
2313
2936
  entity_type?: string | null;
2314
2937
  /** The ID of the resource the event affected. */
2315
2938
  entity_id?: string | null;
2939
+ /**
2940
+ * The ID of the user the event concerns, whoever triggered it: the user a
2941
+ * session, a token, a sign-in check or a credential belongs to, or the
2942
+ * user a change was made to. Absent on an event that concerns no user.
2943
+ */
2944
+ user_id?: string | null;
2945
+ /** The application or agent that produced the event. */
2946
+ client_id: string;
2947
+ /** The ID of the token in use when the event was emitted, when there was one. */
2948
+ token_id?: string;
2949
+ /** The kind of delegation. Absent when unset. */
2950
+ delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2951
+ delegation_id?: string;
2952
+ grantor?: string;
2953
+ /** A device fingerprint ID that correlates events from the same device. */
2954
+ fingerprint?: string;
2955
+ /**
2956
+ * The ID of the HTTP request that caused the event. Events of one request
2957
+ * share it. Only the `request.api` event of a request carries
2958
+ * `metadata.client`.
2959
+ */
2960
+ request_id?: string | null;
2961
+ /** The ID of the session the event belongs to. */
2962
+ session_id?: string | null;
2963
+ /** An ID that correlates the events of one login flow. */
2964
+ flow_id?: string | null;
2965
+ /**
2966
+ * Metadata the server records when it emits the event, already redacted when
2967
+ * written. An event from an API request (`request.api`) may set `client`
2968
+ * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2969
+ * not a live risk-evaluator input.
2970
+ */
2971
+ metadata?: {
2972
+ /**
2973
+ * What authorized the request, when it was not a grant on the event's
2974
+ * project. Every event of such a request carries it.
2975
+ */
2976
+ authorization?: {
2977
+ /**
2978
+ * `platform_operator`: the deployment's platform operator relation,
2979
+ * which administers every project.
2980
+ */
2981
+ path: 'platform_operator';
2982
+ /** The project the actor's user belongs to. */
2983
+ actor_home_project_id?: string;
2984
+ };
2985
+ /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2986
+ client?: {
2987
+ /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2988
+ ip?: string;
2989
+ /** The observed `User-Agent` header. */
2990
+ user_agent?: string;
2991
+ /** The `Origin` header, when present. */
2992
+ origin?: string;
2993
+ };
2994
+ [key: string]: unknown;
2995
+ };
2996
+ }) & {
2997
+ event_type: 'oauth_settings.created';
2998
+ /**
2999
+ * Payload for `oauth_settings.created`: the settings the new revision holds.
3000
+ * The revision id is the event's `entity_id`.
3001
+ */
3002
+ payload: {
3003
+ /** Whether the project's OAuth authorization server answers. */
3004
+ enabled: boolean;
3005
+ };
3006
+ } | ({
3007
+ /** The event ID, in the form `evt_<opaque>`. */
3008
+ id: string;
3009
+ /** @pattern ^[a-zA-Z0-9_-]+$ */
3010
+ project_id: string;
3011
+ /** The team the actor operated under when the event was emitted, if any. */
3012
+ team_id?: string | null;
3013
+ /**
3014
+ * The event type, dot-separated, for example `user.created`. It says which
3015
+ * `payload` the event carries.
3016
+ */
3017
+ event_type: string;
3018
+ /** The category of the event. */
3019
+ category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3020
+ /** When the action happened, on the server's clock, to the millisecond. */
3021
+ occurred_at: string;
3022
+ /** When the event was stored, on the server's clock, to the millisecond. */
3023
+ created_at: string;
3024
+ /** The ID of the actor that triggered the event. */
3025
+ actor_id?: string | null;
3026
+ /** The kind of actor that triggered the event. */
3027
+ actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3028
+ /** The type of resource the event affected. */
3029
+ entity_type?: string | null;
3030
+ /** The ID of the resource the event affected. */
3031
+ entity_id?: string | null;
3032
+ /**
3033
+ * The ID of the user the event concerns, whoever triggered it: the user a
3034
+ * session, a token, a sign-in check or a credential belongs to, or the
3035
+ * user a change was made to. Absent on an event that concerns no user.
3036
+ */
3037
+ user_id?: string | null;
2316
3038
  /** The application or agent that produced the event. */
2317
3039
  client_id: string;
2318
3040
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2385,9 +3107,9 @@ export type GetEvent200 = ({
2385
3107
  event_type: string;
2386
3108
  /** The category of the event. */
2387
3109
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2388
- /** When the action happened, on the server's clock. */
3110
+ /** When the action happened, on the server's clock, to the millisecond. */
2389
3111
  occurred_at: string;
2390
- /** When the event was stored, on the server's clock. */
3112
+ /** When the event was stored, on the server's clock, to the millisecond. */
2391
3113
  created_at: string;
2392
3114
  /** The ID of the actor that triggered the event. */
2393
3115
  actor_id?: string | null;
@@ -2397,6 +3119,12 @@ export type GetEvent200 = ({
2397
3119
  entity_type?: string | null;
2398
3120
  /** The ID of the resource the event affected. */
2399
3121
  entity_id?: string | null;
3122
+ /**
3123
+ * The ID of the user the event concerns, whoever triggered it: the user a
3124
+ * session, a token, a sign-in check or a credential belongs to, or the
3125
+ * user a change was made to. Absent on an event that concerns no user.
3126
+ */
3127
+ user_id?: string | null;
2400
3128
  /** The application or agent that produced the event. */
2401
3129
  client_id: string;
2402
3130
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2469,9 +3197,9 @@ export type GetEvent200 = ({
2469
3197
  event_type: string;
2470
3198
  /** The category of the event. */
2471
3199
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2472
- /** When the action happened, on the server's clock. */
3200
+ /** When the action happened, on the server's clock, to the millisecond. */
2473
3201
  occurred_at: string;
2474
- /** When the event was stored, on the server's clock. */
3202
+ /** When the event was stored, on the server's clock, to the millisecond. */
2475
3203
  created_at: string;
2476
3204
  /** The ID of the actor that triggered the event. */
2477
3205
  actor_id?: string | null;
@@ -2481,6 +3209,12 @@ export type GetEvent200 = ({
2481
3209
  entity_type?: string | null;
2482
3210
  /** The ID of the resource the event affected. */
2483
3211
  entity_id?: string | null;
3212
+ /**
3213
+ * The ID of the user the event concerns, whoever triggered it: the user a
3214
+ * session, a token, a sign-in check or a credential belongs to, or the
3215
+ * user a change was made to. Absent on an event that concerns no user.
3216
+ */
3217
+ user_id?: string | null;
2484
3218
  /** The application or agent that produced the event. */
2485
3219
  client_id: string;
2486
3220
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2562,9 +3296,9 @@ export type GetEvent200 = ({
2562
3296
  event_type: string;
2563
3297
  /** The category of the event. */
2564
3298
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2565
- /** When the action happened, on the server's clock. */
3299
+ /** When the action happened, on the server's clock, to the millisecond. */
2566
3300
  occurred_at: string;
2567
- /** When the event was stored, on the server's clock. */
3301
+ /** When the event was stored, on the server's clock, to the millisecond. */
2568
3302
  created_at: string;
2569
3303
  /** The ID of the actor that triggered the event. */
2570
3304
  actor_id?: string | null;
@@ -2574,6 +3308,12 @@ export type GetEvent200 = ({
2574
3308
  entity_type?: string | null;
2575
3309
  /** The ID of the resource the event affected. */
2576
3310
  entity_id?: string | null;
3311
+ /**
3312
+ * The ID of the user the event concerns, whoever triggered it: the user a
3313
+ * session, a token, a sign-in check or a credential belongs to, or the
3314
+ * user a change was made to. Absent on an event that concerns no user.
3315
+ */
3316
+ user_id?: string | null;
2577
3317
  /** The application or agent that produced the event. */
2578
3318
  client_id: string;
2579
3319
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2655,9 +3395,9 @@ export type GetEvent200 = ({
2655
3395
  event_type: string;
2656
3396
  /** The category of the event. */
2657
3397
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2658
- /** When the action happened, on the server's clock. */
3398
+ /** When the action happened, on the server's clock, to the millisecond. */
2659
3399
  occurred_at: string;
2660
- /** When the event was stored, on the server's clock. */
3400
+ /** When the event was stored, on the server's clock, to the millisecond. */
2661
3401
  created_at: string;
2662
3402
  /** The ID of the actor that triggered the event. */
2663
3403
  actor_id?: string | null;
@@ -2667,6 +3407,12 @@ export type GetEvent200 = ({
2667
3407
  entity_type?: string | null;
2668
3408
  /** The ID of the resource the event affected. */
2669
3409
  entity_id?: string | null;
3410
+ /**
3411
+ * The ID of the user the event concerns, whoever triggered it: the user a
3412
+ * session, a token, a sign-in check or a credential belongs to, or the
3413
+ * user a change was made to. Absent on an event that concerns no user.
3414
+ */
3415
+ user_id?: string | null;
2670
3416
  /** The application or agent that produced the event. */
2671
3417
  client_id: string;
2672
3418
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2724,7 +3470,7 @@ export type GetEvent200 = ({
2724
3470
  * Empty payload for event types with no typed fields, for example
2725
3471
  * `project.deleted`, `user.deleted` and `session.expired`.
2726
3472
  */
2727
- payload: { [key: string]: unknown };
3473
+ payload: { [key: string]: never };
2728
3474
  } | ({
2729
3475
  /** The event ID, in the form `evt_<opaque>`. */
2730
3476
  id: string;
@@ -2739,9 +3485,9 @@ export type GetEvent200 = ({
2739
3485
  event_type: string;
2740
3486
  /** The category of the event. */
2741
3487
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2742
- /** When the action happened, on the server's clock. */
3488
+ /** When the action happened, on the server's clock, to the millisecond. */
2743
3489
  occurred_at: string;
2744
- /** When the event was stored, on the server's clock. */
3490
+ /** When the event was stored, on the server's clock, to the millisecond. */
2745
3491
  created_at: string;
2746
3492
  /** The ID of the actor that triggered the event. */
2747
3493
  actor_id?: string | null;
@@ -2751,6 +3497,12 @@ export type GetEvent200 = ({
2751
3497
  entity_type?: string | null;
2752
3498
  /** The ID of the resource the event affected. */
2753
3499
  entity_id?: string | null;
3500
+ /**
3501
+ * The ID of the user the event concerns, whoever triggered it: the user a
3502
+ * session, a token, a sign-in check or a credential belongs to, or the
3503
+ * user a change was made to. Absent on an event that concerns no user.
3504
+ */
3505
+ user_id?: string | null;
2754
3506
  /** The application or agent that produced the event. */
2755
3507
  client_id: string;
2756
3508
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2843,9 +3595,9 @@ export type GetEvent200 = ({
2843
3595
  event_type: string;
2844
3596
  /** The category of the event. */
2845
3597
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2846
- /** When the action happened, on the server's clock. */
3598
+ /** When the action happened, on the server's clock, to the millisecond. */
2847
3599
  occurred_at: string;
2848
- /** When the event was stored, on the server's clock. */
3600
+ /** When the event was stored, on the server's clock, to the millisecond. */
2849
3601
  created_at: string;
2850
3602
  /** The ID of the actor that triggered the event. */
2851
3603
  actor_id?: string | null;
@@ -2855,6 +3607,12 @@ export type GetEvent200 = ({
2855
3607
  entity_type?: string | null;
2856
3608
  /** The ID of the resource the event affected. */
2857
3609
  entity_id?: string | null;
3610
+ /**
3611
+ * The ID of the user the event concerns, whoever triggered it: the user a
3612
+ * session, a token, a sign-in check or a credential belongs to, or the
3613
+ * user a change was made to. Absent on an event that concerns no user.
3614
+ */
3615
+ user_id?: string | null;
2858
3616
  /** The application or agent that produced the event. */
2859
3617
  client_id: string;
2860
3618
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -2912,7 +3670,7 @@ export type GetEvent200 = ({
2912
3670
  * Empty payload for event types with no typed fields, for example
2913
3671
  * `project.deleted`, `user.deleted` and `session.expired`.
2914
3672
  */
2915
- payload: { [key: string]: unknown };
3673
+ payload: { [key: string]: never };
2916
3674
  } | ({
2917
3675
  /** The event ID, in the form `evt_<opaque>`. */
2918
3676
  id: string;
@@ -2927,9 +3685,9 @@ export type GetEvent200 = ({
2927
3685
  event_type: string;
2928
3686
  /** The category of the event. */
2929
3687
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2930
- /** When the action happened, on the server's clock. */
3688
+ /** When the action happened, on the server's clock, to the millisecond. */
2931
3689
  occurred_at: string;
2932
- /** When the event was stored, on the server's clock. */
3690
+ /** When the event was stored, on the server's clock, to the millisecond. */
2933
3691
  created_at: string;
2934
3692
  /** The ID of the actor that triggered the event. */
2935
3693
  actor_id?: string | null;
@@ -2939,6 +3697,12 @@ export type GetEvent200 = ({
2939
3697
  entity_type?: string | null;
2940
3698
  /** The ID of the resource the event affected. */
2941
3699
  entity_id?: string | null;
3700
+ /**
3701
+ * The ID of the user the event concerns, whoever triggered it: the user a
3702
+ * session, a token, a sign-in check or a credential belongs to, or the
3703
+ * user a change was made to. Absent on an event that concerns no user.
3704
+ */
3705
+ user_id?: string | null;
2942
3706
  /** The application or agent that produced the event. */
2943
3707
  client_id: string;
2944
3708
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3031,9 +3795,9 @@ export type GetEvent200 = ({
3031
3795
  event_type: string;
3032
3796
  /** The category of the event. */
3033
3797
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3034
- /** When the action happened, on the server's clock. */
3798
+ /** When the action happened, on the server's clock, to the millisecond. */
3035
3799
  occurred_at: string;
3036
- /** When the event was stored, on the server's clock. */
3800
+ /** When the event was stored, on the server's clock, to the millisecond. */
3037
3801
  created_at: string;
3038
3802
  /** The ID of the actor that triggered the event. */
3039
3803
  actor_id?: string | null;
@@ -3043,6 +3807,12 @@ export type GetEvent200 = ({
3043
3807
  entity_type?: string | null;
3044
3808
  /** The ID of the resource the event affected. */
3045
3809
  entity_id?: string | null;
3810
+ /**
3811
+ * The ID of the user the event concerns, whoever triggered it: the user a
3812
+ * session, a token, a sign-in check or a credential belongs to, or the
3813
+ * user a change was made to. Absent on an event that concerns no user.
3814
+ */
3815
+ user_id?: string | null;
3046
3816
  /** The application or agent that produced the event. */
3047
3817
  client_id: string;
3048
3818
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3127,9 +3897,9 @@ export type GetEvent200 = ({
3127
3897
  event_type: string;
3128
3898
  /** The category of the event. */
3129
3899
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3130
- /** When the action happened, on the server's clock. */
3900
+ /** When the action happened, on the server's clock, to the millisecond. */
3131
3901
  occurred_at: string;
3132
- /** When the event was stored, on the server's clock. */
3902
+ /** When the event was stored, on the server's clock, to the millisecond. */
3133
3903
  created_at: string;
3134
3904
  /** The ID of the actor that triggered the event. */
3135
3905
  actor_id?: string | null;
@@ -3139,6 +3909,12 @@ export type GetEvent200 = ({
3139
3909
  entity_type?: string | null;
3140
3910
  /** The ID of the resource the event affected. */
3141
3911
  entity_id?: string | null;
3912
+ /**
3913
+ * The ID of the user the event concerns, whoever triggered it: the user a
3914
+ * session, a token, a sign-in check or a credential belongs to, or the
3915
+ * user a change was made to. Absent on an event that concerns no user.
3916
+ */
3917
+ user_id?: string | null;
3142
3918
  /** The application or agent that produced the event. */
3143
3919
  client_id: string;
3144
3920
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3214,9 +3990,9 @@ export type GetEvent200 = ({
3214
3990
  *
3215
3991
  * 1. Take every resource in the release as the `bundle` of
3216
3992
  * `POST /releases/build` carries it, with `kind` set to `schema`,
3217
- * `flow_definition`, `branding` or `idp`, and `handle` set to the
3993
+ * `flow_definition`, `branding`, `idp` or `oauth`, and `handle` set to the
3218
3994
  * schema's `objectType`, the flow definition's `name`, `default` for
3219
- * branding, or the identity provider's `slug`.
3995
+ * branding and oauth, or the identity provider's `slug`.
3220
3996
  * A `schema-url` entry's content is the entry as written, and its handle
3221
3997
  * is the `objectType` of the document the URL serves.
3222
3998
  * 2. Build the JSON document
@@ -3253,9 +4029,9 @@ export type GetEvent200 = ({
3253
4029
  event_type: string;
3254
4030
  /** The category of the event. */
3255
4031
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3256
- /** When the action happened, on the server's clock. */
4032
+ /** When the action happened, on the server's clock, to the millisecond. */
3257
4033
  occurred_at: string;
3258
- /** When the event was stored, on the server's clock. */
4034
+ /** When the event was stored, on the server's clock, to the millisecond. */
3259
4035
  created_at: string;
3260
4036
  /** The ID of the actor that triggered the event. */
3261
4037
  actor_id?: string | null;
@@ -3265,6 +4041,12 @@ export type GetEvent200 = ({
3265
4041
  entity_type?: string | null;
3266
4042
  /** The ID of the resource the event affected. */
3267
4043
  entity_id?: string | null;
4044
+ /**
4045
+ * The ID of the user the event concerns, whoever triggered it: the user a
4046
+ * session, a token, a sign-in check or a credential belongs to, or the
4047
+ * user a change was made to. Absent on an event that concerns no user.
4048
+ */
4049
+ user_id?: string | null;
3268
4050
  /** The application or agent that produced the event. */
3269
4051
  client_id: string;
3270
4052
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3346,9 +4128,9 @@ export type GetEvent200 = ({
3346
4128
  event_type: string;
3347
4129
  /** The category of the event. */
3348
4130
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3349
- /** When the action happened, on the server's clock. */
4131
+ /** When the action happened, on the server's clock, to the millisecond. */
3350
4132
  occurred_at: string;
3351
- /** When the event was stored, on the server's clock. */
4133
+ /** When the event was stored, on the server's clock, to the millisecond. */
3352
4134
  created_at: string;
3353
4135
  /** The ID of the actor that triggered the event. */
3354
4136
  actor_id?: string | null;
@@ -3358,6 +4140,12 @@ export type GetEvent200 = ({
3358
4140
  entity_type?: string | null;
3359
4141
  /** The ID of the resource the event affected. */
3360
4142
  entity_id?: string | null;
4143
+ /**
4144
+ * The ID of the user the event concerns, whoever triggered it: the user a
4145
+ * session, a token, a sign-in check or a credential belongs to, or the
4146
+ * user a change was made to. Absent on an event that concerns no user.
4147
+ */
4148
+ user_id?: string | null;
3361
4149
  /** The application or agent that produced the event. */
3362
4150
  client_id: string;
3363
4151
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3442,9 +4230,9 @@ export type GetEvent200 = ({
3442
4230
  event_type: string;
3443
4231
  /** The category of the event. */
3444
4232
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3445
- /** When the action happened, on the server's clock. */
4233
+ /** When the action happened, on the server's clock, to the millisecond. */
3446
4234
  occurred_at: string;
3447
- /** When the event was stored, on the server's clock. */
4235
+ /** When the event was stored, on the server's clock, to the millisecond. */
3448
4236
  created_at: string;
3449
4237
  /** The ID of the actor that triggered the event. */
3450
4238
  actor_id?: string | null;
@@ -3454,6 +4242,12 @@ export type GetEvent200 = ({
3454
4242
  entity_type?: string | null;
3455
4243
  /** The ID of the resource the event affected. */
3456
4244
  entity_id?: string | null;
4245
+ /**
4246
+ * The ID of the user the event concerns, whoever triggered it: the user a
4247
+ * session, a token, a sign-in check or a credential belongs to, or the
4248
+ * user a change was made to. Absent on an event that concerns no user.
4249
+ */
4250
+ user_id?: string | null;
3457
4251
  /** The application or agent that produced the event. */
3458
4252
  client_id: string;
3459
4253
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3525,9 +4319,9 @@ export type GetEvent200 = ({
3525
4319
  event_type: string;
3526
4320
  /** The category of the event. */
3527
4321
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3528
- /** When the action happened, on the server's clock. */
4322
+ /** When the action happened, on the server's clock, to the millisecond. */
3529
4323
  occurred_at: string;
3530
- /** When the event was stored, on the server's clock. */
4324
+ /** When the event was stored, on the server's clock, to the millisecond. */
3531
4325
  created_at: string;
3532
4326
  /** The ID of the actor that triggered the event. */
3533
4327
  actor_id?: string | null;
@@ -3537,6 +4331,12 @@ export type GetEvent200 = ({
3537
4331
  entity_type?: string | null;
3538
4332
  /** The ID of the resource the event affected. */
3539
4333
  entity_id?: string | null;
4334
+ /**
4335
+ * The ID of the user the event concerns, whoever triggered it: the user a
4336
+ * session, a token, a sign-in check or a credential belongs to, or the
4337
+ * user a change was made to. Absent on an event that concerns no user.
4338
+ */
4339
+ user_id?: string | null;
3540
4340
  /** The application or agent that produced the event. */
3541
4341
  client_id: string;
3542
4342
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3608,9 +4408,9 @@ export type GetEvent200 = ({
3608
4408
  event_type: string;
3609
4409
  /** The category of the event. */
3610
4410
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3611
- /** When the action happened, on the server's clock. */
4411
+ /** When the action happened, on the server's clock, to the millisecond. */
3612
4412
  occurred_at: string;
3613
- /** When the event was stored, on the server's clock. */
4413
+ /** When the event was stored, on the server's clock, to the millisecond. */
3614
4414
  created_at: string;
3615
4415
  /** The ID of the actor that triggered the event. */
3616
4416
  actor_id?: string | null;
@@ -3620,6 +4420,12 @@ export type GetEvent200 = ({
3620
4420
  entity_type?: string | null;
3621
4421
  /** The ID of the resource the event affected. */
3622
4422
  entity_id?: string | null;
4423
+ /**
4424
+ * The ID of the user the event concerns, whoever triggered it: the user a
4425
+ * session, a token, a sign-in check or a credential belongs to, or the
4426
+ * user a change was made to. Absent on an event that concerns no user.
4427
+ */
4428
+ user_id?: string | null;
3623
4429
  /** The application or agent that produced the event. */
3624
4430
  client_id: string;
3625
4431
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3694,9 +4500,9 @@ export type GetEvent200 = ({
3694
4500
  event_type: string;
3695
4501
  /** The category of the event. */
3696
4502
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3697
- /** When the action happened, on the server's clock. */
4503
+ /** When the action happened, on the server's clock, to the millisecond. */
3698
4504
  occurred_at: string;
3699
- /** When the event was stored, on the server's clock. */
4505
+ /** When the event was stored, on the server's clock, to the millisecond. */
3700
4506
  created_at: string;
3701
4507
  /** The ID of the actor that triggered the event. */
3702
4508
  actor_id?: string | null;
@@ -3706,6 +4512,12 @@ export type GetEvent200 = ({
3706
4512
  entity_type?: string | null;
3707
4513
  /** The ID of the resource the event affected. */
3708
4514
  entity_id?: string | null;
4515
+ /**
4516
+ * The ID of the user the event concerns, whoever triggered it: the user a
4517
+ * session, a token, a sign-in check or a credential belongs to, or the
4518
+ * user a change was made to. Absent on an event that concerns no user.
4519
+ */
4520
+ user_id?: string | null;
3709
4521
  /** The application or agent that produced the event. */
3710
4522
  client_id: string;
3711
4523
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3763,7 +4575,7 @@ export type GetEvent200 = ({
3763
4575
  * Empty payload for event types with no typed fields, for example
3764
4576
  * `project.deleted`, `user.deleted` and `session.expired`.
3765
4577
  */
3766
- payload: { [key: string]: unknown };
4578
+ payload: { [key: string]: never };
3767
4579
  } | ({
3768
4580
  /** The event ID, in the form `evt_<opaque>`. */
3769
4581
  id: string;
@@ -3778,9 +4590,9 @@ export type GetEvent200 = ({
3778
4590
  event_type: string;
3779
4591
  /** The category of the event. */
3780
4592
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3781
- /** When the action happened, on the server's clock. */
4593
+ /** When the action happened, on the server's clock, to the millisecond. */
3782
4594
  occurred_at: string;
3783
- /** When the event was stored, on the server's clock. */
4595
+ /** When the event was stored, on the server's clock, to the millisecond. */
3784
4596
  created_at: string;
3785
4597
  /** The ID of the actor that triggered the event. */
3786
4598
  actor_id?: string | null;
@@ -3790,6 +4602,12 @@ export type GetEvent200 = ({
3790
4602
  entity_type?: string | null;
3791
4603
  /** The ID of the resource the event affected. */
3792
4604
  entity_id?: string | null;
4605
+ /**
4606
+ * The ID of the user the event concerns, whoever triggered it: the user a
4607
+ * session, a token, a sign-in check or a credential belongs to, or the
4608
+ * user a change was made to. Absent on an event that concerns no user.
4609
+ */
4610
+ user_id?: string | null;
3793
4611
  /** The application or agent that produced the event. */
3794
4612
  client_id: string;
3795
4613
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3864,9 +4682,9 @@ export type GetEvent200 = ({
3864
4682
  event_type: string;
3865
4683
  /** The category of the event. */
3866
4684
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3867
- /** When the action happened, on the server's clock. */
4685
+ /** When the action happened, on the server's clock, to the millisecond. */
3868
4686
  occurred_at: string;
3869
- /** When the event was stored, on the server's clock. */
4687
+ /** When the event was stored, on the server's clock, to the millisecond. */
3870
4688
  created_at: string;
3871
4689
  /** The ID of the actor that triggered the event. */
3872
4690
  actor_id?: string | null;
@@ -3876,6 +4694,12 @@ export type GetEvent200 = ({
3876
4694
  entity_type?: string | null;
3877
4695
  /** The ID of the resource the event affected. */
3878
4696
  entity_id?: string | null;
4697
+ /**
4698
+ * The ID of the user the event concerns, whoever triggered it: the user a
4699
+ * session, a token, a sign-in check or a credential belongs to, or the
4700
+ * user a change was made to. Absent on an event that concerns no user.
4701
+ */
4702
+ user_id?: string | null;
3879
4703
  /** The application or agent that produced the event. */
3880
4704
  client_id: string;
3881
4705
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -3948,9 +4772,9 @@ export type GetEvent200 = ({
3948
4772
  event_type: string;
3949
4773
  /** The category of the event. */
3950
4774
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3951
- /** When the action happened, on the server's clock. */
4775
+ /** When the action happened, on the server's clock, to the millisecond. */
3952
4776
  occurred_at: string;
3953
- /** When the event was stored, on the server's clock. */
4777
+ /** When the event was stored, on the server's clock, to the millisecond. */
3954
4778
  created_at: string;
3955
4779
  /** The ID of the actor that triggered the event. */
3956
4780
  actor_id?: string | null;
@@ -3960,6 +4784,12 @@ export type GetEvent200 = ({
3960
4784
  entity_type?: string | null;
3961
4785
  /** The ID of the resource the event affected. */
3962
4786
  entity_id?: string | null;
4787
+ /**
4788
+ * The ID of the user the event concerns, whoever triggered it: the user a
4789
+ * session, a token, a sign-in check or a credential belongs to, or the
4790
+ * user a change was made to. Absent on an event that concerns no user.
4791
+ */
4792
+ user_id?: string | null;
3963
4793
  /** The application or agent that produced the event. */
3964
4794
  client_id: string;
3965
4795
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -4036,9 +4866,9 @@ export type GetEvent200 = ({
4036
4866
  event_type: string;
4037
4867
  /** The category of the event. */
4038
4868
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
4039
- /** When the action happened, on the server's clock. */
4869
+ /** When the action happened, on the server's clock, to the millisecond. */
4040
4870
  occurred_at: string;
4041
- /** When the event was stored, on the server's clock. */
4871
+ /** When the event was stored, on the server's clock, to the millisecond. */
4042
4872
  created_at: string;
4043
4873
  /** The ID of the actor that triggered the event. */
4044
4874
  actor_id?: string | null;
@@ -4048,6 +4878,12 @@ export type GetEvent200 = ({
4048
4878
  entity_type?: string | null;
4049
4879
  /** The ID of the resource the event affected. */
4050
4880
  entity_id?: string | null;
4881
+ /**
4882
+ * The ID of the user the event concerns, whoever triggered it: the user a
4883
+ * session, a token, a sign-in check or a credential belongs to, or the
4884
+ * user a change was made to. Absent on an event that concerns no user.
4885
+ */
4886
+ user_id?: string | null;
4051
4887
  /** The application or agent that produced the event. */
4052
4888
  client_id: string;
4053
4889
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -4105,7 +4941,7 @@ export type GetEvent200 = ({
4105
4941
  * Empty payload for event types with no typed fields, for example
4106
4942
  * `project.deleted`, `user.deleted` and `session.expired`.
4107
4943
  */
4108
- payload: { [key: string]: unknown };
4944
+ payload: { [key: string]: never };
4109
4945
  } | ({
4110
4946
  /** The event ID, in the form `evt_<opaque>`. */
4111
4947
  id: string;
@@ -4120,9 +4956,9 @@ export type GetEvent200 = ({
4120
4956
  event_type: string;
4121
4957
  /** The category of the event. */
4122
4958
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
4123
- /** When the action happened, on the server's clock. */
4959
+ /** When the action happened, on the server's clock, to the millisecond. */
4124
4960
  occurred_at: string;
4125
- /** When the event was stored, on the server's clock. */
4961
+ /** When the event was stored, on the server's clock, to the millisecond. */
4126
4962
  created_at: string;
4127
4963
  /** The ID of the actor that triggered the event. */
4128
4964
  actor_id?: string | null;
@@ -4132,6 +4968,12 @@ export type GetEvent200 = ({
4132
4968
  entity_type?: string | null;
4133
4969
  /** The ID of the resource the event affected. */
4134
4970
  entity_id?: string | null;
4971
+ /**
4972
+ * The ID of the user the event concerns, whoever triggered it: the user a
4973
+ * session, a token, a sign-in check or a credential belongs to, or the
4974
+ * user a change was made to. Absent on an event that concerns no user.
4975
+ */
4976
+ user_id?: string | null;
4135
4977
  /** The application or agent that produced the event. */
4136
4978
  client_id: string;
4137
4979
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -4207,9 +5049,9 @@ export type GetEvent200 = ({
4207
5049
  event_type: string;
4208
5050
  /** The category of the event. */
4209
5051
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
4210
- /** When the action happened, on the server's clock. */
5052
+ /** When the action happened, on the server's clock, to the millisecond. */
4211
5053
  occurred_at: string;
4212
- /** When the event was stored, on the server's clock. */
5054
+ /** When the event was stored, on the server's clock, to the millisecond. */
4213
5055
  created_at: string;
4214
5056
  /** The ID of the actor that triggered the event. */
4215
5057
  actor_id?: string | null;
@@ -4219,6 +5061,12 @@ export type GetEvent200 = ({
4219
5061
  entity_type?: string | null;
4220
5062
  /** The ID of the resource the event affected. */
4221
5063
  entity_id?: string | null;
5064
+ /**
5065
+ * The ID of the user the event concerns, whoever triggered it: the user a
5066
+ * session, a token, a sign-in check or a credential belongs to, or the
5067
+ * user a change was made to. Absent on an event that concerns no user.
5068
+ */
5069
+ user_id?: string | null;
4222
5070
  /** The application or agent that produced the event. */
4223
5071
  client_id: string;
4224
5072
  /** The ID of the token in use when the event was emitted, when there was one. */
@@ -4290,9 +5138,9 @@ export type GetEvent200 = ({
4290
5138
  event_type: string;
4291
5139
  /** The category of the event. */
4292
5140
  category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
4293
- /** When the action happened, on the server's clock. */
5141
+ /** When the action happened, on the server's clock, to the millisecond. */
4294
5142
  occurred_at: string;
4295
- /** When the event was stored, on the server's clock. */
5143
+ /** When the event was stored, on the server's clock, to the millisecond. */
4296
5144
  created_at: string;
4297
5145
  /** The ID of the actor that triggered the event. */
4298
5146
  actor_id?: string | null;
@@ -4302,6 +5150,12 @@ export type GetEvent200 = ({
4302
5150
  entity_type?: string | null;
4303
5151
  /** The ID of the resource the event affected. */
4304
5152
  entity_id?: string | null;
5153
+ /**
5154
+ * The ID of the user the event concerns, whoever triggered it: the user a
5155
+ * session, a token, a sign-in check or a credential belongs to, or the
5156
+ * user a change was made to. Absent on an event that concerns no user.
5157
+ */
5158
+ user_id?: string | null;
4305
5159
  /** The application or agent that produced the event. */
4306
5160
  client_id: string;
4307
5161
  /** The ID of the token in use when the event was emitted, when there was one. */