@zitadel/api 0.5.0 → 0.7.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 (1199) hide show
  1. package/dist/api-factory-BPmRCU7u.mjs +372 -0
  2. package/dist/api-factory-BPmRCU7u.mjs.map +1 -0
  3. package/dist/api-factory-DCzYxpdV.d.mts +223 -0
  4. package/dist/api-factory-DCzYxpdV.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 -3446
  9. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +84 -67
  10. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +4201 -959
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  13. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +3480 -1169
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  15. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +4016 -1948
  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 +573 -856
  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 +360 -99
  23. package/dist/generated/operations.mjs.map +1 -1
  24. package/dist/index-BwYxe7Dw.d.mts +59554 -0
  25. package/dist/index-BwYxe7Dw.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-DsPFGqLs.mjs +3926 -0
  44. package/dist/zitadelNextGen-DsPFGqLs.mjs.map +1 -0
  45. package/dist/zitadelNextGen-SGK-fW1x.d.mts +1989 -0
  46. package/dist/zitadelNextGen-SGK-fW1x.d.mts.map +1 -0
  47. package/package.json +7 -9
  48. package/src/generated/endpoints/zitadelNextGen.faker.ts +117 -84
  49. package/src/generated/endpoints/zitadelNextGen.msw.ts +325 -163
  50. package/src/generated/endpoints/zitadelNextGen.ts +954 -315
  51. package/src/generated/endpoints/zitadelNextGen.zod.ts +3571 -1718
  52. package/src/generated/model/acceptInvitation200.ts +126 -0
  53. package/src/generated/model/acceptInvitation400.ts +20 -0
  54. package/src/generated/model/acceptInvitation400Details.ts +12 -0
  55. package/src/generated/model/acceptInvitation401.ts +20 -0
  56. package/src/generated/model/acceptInvitation401Details.ts +12 -0
  57. package/src/generated/model/acceptInvitation403.ts +20 -0
  58. package/src/generated/model/acceptInvitation403Details.ts +12 -0
  59. package/src/generated/model/acceptInvitation404.ts +20 -0
  60. package/src/generated/model/acceptInvitation404Details.ts +12 -0
  61. package/src/generated/model/acceptInvitation409.ts +20 -0
  62. package/src/generated/model/acceptInvitation409Details.ts +12 -0
  63. package/src/generated/model/acceptInvitation429.ts +20 -0
  64. package/src/generated/model/acceptInvitation429Details.ts +12 -0
  65. package/src/generated/model/acceptInvitationBody.ts +19 -0
  66. package/src/generated/model/acceptInvitationDefault.ts +99 -0
  67. package/src/generated/model/addProjectOrigin201.ts +18 -0
  68. package/src/generated/model/addProjectOrigin201Kind.ts +18 -0
  69. package/src/generated/model/addProjectOriginBody.ts +35 -0
  70. package/src/generated/model/addProjectOriginBodyKind.ts +19 -0
  71. package/src/generated/model/addProjectOriginDefault.ts +135 -0
  72. package/src/generated/model/buildRelease200.ts +4 -4
  73. package/src/generated/model/buildRelease200PointersItem.ts +3 -1
  74. package/src/generated/model/buildRelease200PointersItemKind.ts +2 -1
  75. package/src/generated/model/buildRelease201.ts +4 -4
  76. package/src/generated/model/buildRelease201PointersItem.ts +3 -1
  77. package/src/generated/model/buildRelease201PointersItemKind.ts +2 -1
  78. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +2 -2
  79. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +2 -1
  80. package/src/generated/model/buildReleaseBody.ts +7 -5
  81. package/src/generated/model/buildReleaseBodyBundle.ts +23 -6
  82. package/src/generated/model/buildReleaseBodyBundleBranding.ts +3 -3
  83. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +1 -1
  84. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +1 -1
  85. package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +1 -1
  86. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +2 -12
  87. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +2 -9
  88. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -2
  89. package/src/generated/model/buildReleaseBodyBundleOauth.ts +30 -0
  90. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +20 -0
  91. package/src/generated/model/cancelInvitation401.ts +20 -0
  92. package/src/generated/model/cancelInvitation401Details.ts +12 -0
  93. package/src/generated/model/cancelInvitation403.ts +20 -0
  94. package/src/generated/model/cancelInvitation403Details.ts +12 -0
  95. package/src/generated/model/cancelInvitation404.ts +20 -0
  96. package/src/generated/model/cancelInvitation404Details.ts +12 -0
  97. package/src/generated/model/cancelInvitationDefault.ts +90 -0
  98. package/src/generated/model/cancelInvitationParams.ts +17 -0
  99. package/src/generated/model/completeProjectClaim200.ts +19 -0
  100. package/src/generated/model/completeProjectClaim400.ts +20 -0
  101. package/src/generated/model/completeProjectClaim400Details.ts +12 -0
  102. package/src/generated/model/completeProjectClaim401.ts +23 -0
  103. package/src/generated/model/completeProjectClaim403.ts +36 -0
  104. package/src/generated/model/completeProjectClaim404.ts +20 -0
  105. package/src/generated/model/completeProjectClaim404Details.ts +12 -0
  106. package/src/generated/model/completeProjectClaim409.ts +25 -0
  107. package/src/generated/model/completeProjectClaim409Details.ts +14 -0
  108. package/src/generated/model/completeProjectClaim410.ts +27 -0
  109. package/src/generated/model/completeProjectClaim429.ts +20 -0
  110. package/src/generated/model/completeProjectClaim429Details.ts +12 -0
  111. package/src/generated/model/completeProjectClaimBody.ts +18 -0
  112. package/src/generated/model/completeProjectClaimDefault.ts +144 -0
  113. package/src/generated/model/completeUserPasskeyRegistration201.ts +19 -0
  114. package/src/generated/model/completeUserPasskeyRegistration400.ts +20 -0
  115. package/src/generated/model/completeUserPasskeyRegistration400Details.ts +12 -0
  116. package/src/generated/model/completeUserPasskeyRegistration401.ts +20 -0
  117. package/src/generated/model/completeUserPasskeyRegistration401Details.ts +12 -0
  118. package/src/generated/model/completeUserPasskeyRegistration403.ts +20 -0
  119. package/src/generated/model/completeUserPasskeyRegistration403Details.ts +12 -0
  120. package/src/generated/model/completeUserPasskeyRegistration404.ts +20 -0
  121. package/src/generated/model/completeUserPasskeyRegistration404Details.ts +12 -0
  122. package/src/generated/model/completeUserPasskeyRegistration429.ts +23 -0
  123. package/src/generated/model/completeUserPasskeyRegistration500.ts +20 -0
  124. package/src/generated/model/completeUserPasskeyRegistration500Details.ts +12 -0
  125. package/src/generated/model/completeUserPasskeyRegistrationBody.ts +21 -0
  126. package/src/generated/model/completeUserPasskeyRegistrationBodyAttestation.ts +12 -0
  127. package/src/generated/model/completeUserPasskeyRegistrationDefault.ts +189 -0
  128. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +1 -1
  129. package/src/generated/model/createAuthAttemptChallenge201.ts +49 -0
  130. package/src/generated/model/createAuthAttemptChallenge201Method.ts +20 -0
  131. package/src/generated/model/createAuthAttemptChallenge201Payload.ts +34 -0
  132. package/src/generated/model/createAuthAttemptChallenge201State.ts +22 -0
  133. package/src/generated/model/createAuthAttemptChallengeBody.ts +28 -0
  134. package/src/generated/model/createAuthAttemptChallengeBodyMethod.ts +20 -0
  135. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptions.ts +19 -0
  136. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptionsUserVerification.ts +16 -0
  137. package/src/generated/model/createAuthAttemptChallengeDefault.ts +90 -0
  138. package/src/generated/model/createAuthAttemptHandoff200.ts +30 -0
  139. package/src/generated/model/createAuthAttemptHandoff409.ts +20 -0
  140. package/src/generated/model/createAuthAttemptHandoff409Details.ts +12 -0
  141. package/src/generated/model/createAuthAttemptHandoffDefault.ts +99 -0
  142. package/src/generated/model/createDeployment200.ts +9 -7
  143. package/src/generated/model/createDeployment200Release.ts +4 -4
  144. package/src/generated/model/createDeployment200ReleasePointersItem.ts +3 -1
  145. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +2 -1
  146. package/src/generated/model/createDeployment200Status.ts +4 -3
  147. package/src/generated/model/createDeployment200TargetsItem.ts +0 -5
  148. package/src/generated/model/createDeployment201.ts +9 -7
  149. package/src/generated/model/createDeployment201Release.ts +4 -4
  150. package/src/generated/model/createDeployment201ReleasePointersItem.ts +3 -1
  151. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +2 -1
  152. package/src/generated/model/createDeployment201Status.ts +4 -3
  153. package/src/generated/model/createDeployment201TargetsItem.ts +0 -5
  154. package/src/generated/model/createDeployment409.ts +12 -14
  155. package/src/generated/model/createDeploymentBody.ts +2 -2
  156. package/src/generated/model/createFlow201.ts +1 -1
  157. package/src/generated/model/createFlow201Branding.ts +3 -3
  158. package/src/generated/model/createFlow201BrandingThemeDark.ts +1 -1
  159. package/src/generated/model/createFlow201BrandingThemeLight.ts +1 -1
  160. package/src/generated/model/createFlow201BrandingTypography.ts +1 -1
  161. package/src/generated/model/createFlow201StepFieldsItem.ts +6 -3
  162. package/src/generated/model/createFlow201StepFieldsItemType.ts +7 -3
  163. package/src/generated/model/createFlow201StepGates.ts +22 -9
  164. package/src/generated/model/createFlow201StepGatesChallenge.ts +30 -0
  165. package/src/generated/model/createFlow201StepGatesConfig.ts +2 -2
  166. package/src/generated/model/createFlow201StepGatesKind.ts +3 -4
  167. package/src/generated/model/createInvitation201.ts +136 -0
  168. package/src/generated/model/createInvitation400.ts +20 -0
  169. package/src/generated/model/createInvitation400Details.ts +12 -0
  170. package/src/generated/model/createInvitation401.ts +20 -0
  171. package/src/generated/model/createInvitation401Details.ts +12 -0
  172. package/src/generated/model/createInvitation403.ts +20 -0
  173. package/src/generated/model/createInvitation403Details.ts +12 -0
  174. package/src/generated/model/createInvitation404.ts +20 -0
  175. package/src/generated/model/createInvitation404Details.ts +12 -0
  176. package/src/generated/model/createInvitation409.ts +20 -0
  177. package/src/generated/model/createInvitation409Details.ts +12 -0
  178. package/src/generated/model/createInvitation501.ts +23 -0
  179. package/src/generated/model/createInvitationBody.ts +72 -0
  180. package/src/generated/model/createInvitationDefault.ts +171 -0
  181. package/src/generated/model/createInvitationParams.ts +17 -0
  182. package/src/generated/model/createProjectClaim201.ts +25 -0
  183. package/src/generated/model/createProjectClaim401.ts +20 -0
  184. package/src/generated/model/createProjectClaim401Details.ts +12 -0
  185. package/src/generated/model/createProjectClaim404.ts +23 -0
  186. package/src/generated/model/createProjectClaim409.ts +25 -0
  187. package/src/generated/model/createProjectClaim409Details.ts +14 -0
  188. package/src/generated/model/createProjectClaim410.ts +23 -0
  189. package/src/generated/model/createProjectClaimDefault.ts +99 -0
  190. package/src/generated/model/createRelease200.ts +4 -4
  191. package/src/generated/model/createRelease200PointersItem.ts +3 -1
  192. package/src/generated/model/createRelease200PointersItemKind.ts +2 -1
  193. package/src/generated/model/createRelease201.ts +4 -4
  194. package/src/generated/model/createRelease201PointersItem.ts +3 -1
  195. package/src/generated/model/createRelease201PointersItemKind.ts +2 -1
  196. package/src/generated/model/createReleaseBodyPointersItem.ts +1 -1
  197. package/src/generated/model/createReleaseBodyPointersItemKind.ts +2 -1
  198. package/src/generated/model/createSessionDefault.ts +9 -0
  199. package/src/generated/model/createUser201.ts +1 -1
  200. package/src/generated/model/createUserBody.ts +1 -1
  201. package/src/generated/model/createUserPasskeyRegistration201.ts +25 -0
  202. package/src/generated/model/createUserPasskeyRegistration201Options.ts +13 -0
  203. package/src/generated/model/createUserPasskeyRegistration400.ts +20 -0
  204. package/src/generated/model/createUserPasskeyRegistration400Details.ts +12 -0
  205. package/src/generated/model/createUserPasskeyRegistration401.ts +20 -0
  206. package/src/generated/model/createUserPasskeyRegistration401Details.ts +12 -0
  207. package/src/generated/model/createUserPasskeyRegistration403.ts +20 -0
  208. package/src/generated/model/createUserPasskeyRegistration403Details.ts +12 -0
  209. package/src/generated/model/createUserPasskeyRegistration404.ts +20 -0
  210. package/src/generated/model/createUserPasskeyRegistration404Details.ts +12 -0
  211. package/src/generated/model/createUserPasskeyRegistration500.ts +20 -0
  212. package/src/generated/model/createUserPasskeyRegistration500Details.ts +12 -0
  213. package/src/generated/model/createUserPasskeyRegistrationBody.ts +33 -0
  214. package/src/generated/model/createUserPasskeyRegistrationDefault.ts +126 -0
  215. package/src/generated/model/deactivateTeam400.ts +20 -0
  216. package/src/generated/model/deactivateTeam400Details.ts +12 -0
  217. package/src/generated/model/deactivateTeam401.ts +20 -0
  218. package/src/generated/model/deactivateTeam401Details.ts +12 -0
  219. package/src/generated/model/deactivateTeam403.ts +20 -0
  220. package/src/generated/model/deactivateTeam403Details.ts +12 -0
  221. package/src/generated/model/deactivateTeam409.ts +20 -0
  222. package/src/generated/model/deactivateTeam409Details.ts +12 -0
  223. package/src/generated/model/deactivateTeamDefault.ts +90 -0
  224. package/src/generated/model/deleteUser401.ts +20 -0
  225. package/src/generated/model/deleteUser401Details.ts +12 -0
  226. package/src/generated/model/deleteUser404.ts +20 -0
  227. package/src/generated/model/deleteUser404Details.ts +12 -0
  228. package/src/generated/model/deleteUser409.ts +20 -0
  229. package/src/generated/model/deleteUser409Details.ts +12 -0
  230. package/src/generated/model/deleteUserDefault.ts +99 -0
  231. package/src/generated/model/evaluatePolicy200.ts +2 -2
  232. package/src/generated/model/evaluatePolicyBody.ts +31 -0
  233. package/src/generated/model/exchangeHandoffBody.ts +2 -2
  234. package/src/generated/model/getApplication200.ts +43 -0
  235. package/src/generated/model/getApplication200Definition.ts +35 -0
  236. package/src/generated/model/getApplication200DefinitionClientsItem.ts +84 -0
  237. package/src/generated/model/getApplication200DefinitionClientsItemGrantTypesItem.ts +15 -0
  238. package/src/generated/model/getApplication200DefinitionClientsItemType.ts +19 -0
  239. package/src/generated/model/getApplication401.ts +20 -0
  240. package/src/generated/model/getApplication401Details.ts +12 -0
  241. package/src/generated/model/getApplication403.ts +20 -0
  242. package/src/generated/model/getApplication403Details.ts +12 -0
  243. package/src/generated/model/getApplication404.ts +20 -0
  244. package/src/generated/model/getApplication404Details.ts +12 -0
  245. package/src/generated/model/getApplicationDefault.ts +72 -0
  246. package/src/generated/model/getApplicationParams.ts +17 -0
  247. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +1 -1
  248. package/src/generated/model/getBranding200.ts +32 -0
  249. package/src/generated/model/getBranding200Branding.ts +80 -0
  250. package/src/generated/model/getBranding200BrandingLayout.ts +27 -0
  251. package/src/generated/model/getBranding200BrandingShape.ts +30 -0
  252. package/src/generated/model/getBranding200BrandingShapeDensity.ts +19 -0
  253. package/src/generated/model/getBranding200BrandingTheme.ts +41 -0
  254. package/src/generated/model/getBranding200BrandingThemeDark.ts +34 -0
  255. package/src/generated/model/getBranding200BrandingThemeDarkPalette.ts +210 -0
  256. package/src/generated/model/getBranding200BrandingThemeLight.ts +34 -0
  257. package/src/generated/model/getBranding200BrandingThemeLightPalette.ts +210 -0
  258. package/src/generated/model/getBranding200BrandingThemeMode.ts +19 -0
  259. package/src/generated/model/getBranding200BrandingTypography.ts +47 -0
  260. package/src/generated/model/getBranding404.ts +20 -0
  261. package/src/generated/model/getBranding404Details.ts +12 -0
  262. package/src/generated/model/getBrandingDefault.ts +72 -0
  263. package/src/generated/model/getDeployment200.ts +78 -0
  264. package/src/generated/model/getDeployment200Kind.ts +18 -0
  265. package/src/generated/model/getDeployment200Metadata.ts +35 -0
  266. package/src/generated/model/getDeployment200MetadataDeployedByType.ts +20 -0
  267. package/src/generated/model/getDeployment200MetadataReason.ts +20 -0
  268. package/src/generated/model/getDeployment200Release.ts +96 -0
  269. package/src/generated/model/getDeployment200ReleaseMetadata.ts +43 -0
  270. package/src/generated/model/getDeployment200ReleaseMetadataCreatedByType.ts +20 -0
  271. package/src/generated/model/getDeployment200ReleasePointersItem.ts +63 -0
  272. package/src/generated/model/getDeployment200ReleasePointersItemKind.ts +29 -0
  273. package/src/generated/model/getDeployment200Status.ts +23 -0
  274. package/src/generated/model/getDeployment200TargetsItem.ts +23 -0
  275. package/src/generated/model/getDeploymentDefault.ts +72 -0
  276. package/src/generated/model/getDeploymentParams.ts +17 -0
  277. package/src/generated/model/getEvent200.ts +1275 -193
  278. package/src/generated/model/getFlowDefinition200.ts +2 -2
  279. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +2 -12
  280. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +2 -9
  281. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -2
  282. package/src/generated/model/getFlowDefinition200UserSchema.ts +1 -1
  283. package/src/generated/model/getFlowStep200.ts +1 -1
  284. package/src/generated/model/getFlowStep200Branding.ts +3 -3
  285. package/src/generated/model/getFlowStep200BrandingThemeDark.ts +1 -1
  286. package/src/generated/model/getFlowStep200BrandingThemeLight.ts +1 -1
  287. package/src/generated/model/getFlowStep200BrandingTypography.ts +1 -1
  288. package/src/generated/model/getFlowStep200StepFieldsItem.ts +6 -3
  289. package/src/generated/model/getFlowStep200StepFieldsItemType.ts +7 -3
  290. package/src/generated/model/getFlowStep200StepGates.ts +22 -9
  291. package/src/generated/model/getFlowStep200StepGatesChallenge.ts +30 -0
  292. package/src/generated/model/getFlowStep200StepGatesConfig.ts +2 -2
  293. package/src/generated/model/getFlowStep200StepGatesKind.ts +3 -4
  294. package/src/generated/model/getFlowStep429.ts +23 -0
  295. package/src/generated/model/getFlowStepDefault.ts +18 -0
  296. package/src/generated/model/getIdp200.ts +39 -0
  297. package/src/generated/model/getIdp200Definition.ts +44 -0
  298. package/src/generated/model/getIdp200DefinitionClaimMapping.ts +12 -0
  299. package/src/generated/model/getIdp200DefinitionOidc.ts +65 -0
  300. package/src/generated/model/getIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  301. package/src/generated/model/getIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  302. package/src/generated/model/getIdp200DefinitionProtocol.ts +17 -0
  303. package/src/generated/model/getIdp200DefinitionProvisioning.ts +15 -0
  304. package/src/generated/model/getIdp200DefinitionProvisioningCreation.ts +15 -0
  305. package/src/generated/model/getIdp200DefinitionVerifiedClaims.ts +12 -0
  306. package/src/generated/model/getIdp401.ts +20 -0
  307. package/src/generated/model/getIdp401Details.ts +12 -0
  308. package/src/generated/model/getIdp403.ts +20 -0
  309. package/src/generated/model/getIdp403Details.ts +12 -0
  310. package/src/generated/model/getIdp404.ts +20 -0
  311. package/src/generated/model/getIdp404Details.ts +12 -0
  312. package/src/generated/model/getIdpDefault.ts +72 -0
  313. package/src/generated/model/getIdpParams.ts +17 -0
  314. package/src/generated/model/getIdpRevision200.ts +39 -0
  315. package/src/generated/model/getIdpRevision200Definition.ts +44 -0
  316. package/src/generated/model/getIdpRevision200DefinitionClaimMapping.ts +12 -0
  317. package/src/generated/model/getIdpRevision200DefinitionOidc.ts +65 -0
  318. package/src/generated/model/getIdpRevision200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  319. package/src/generated/model/getIdpRevision200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  320. package/src/generated/model/getIdpRevision200DefinitionProtocol.ts +17 -0
  321. package/src/generated/model/getIdpRevision200DefinitionProvisioning.ts +15 -0
  322. package/src/generated/model/getIdpRevision200DefinitionProvisioningCreation.ts +15 -0
  323. package/src/generated/model/getIdpRevision200DefinitionVerifiedClaims.ts +12 -0
  324. package/src/generated/model/getIdpRevision401.ts +20 -0
  325. package/src/generated/model/getIdpRevision401Details.ts +12 -0
  326. package/src/generated/model/getIdpRevision403.ts +20 -0
  327. package/src/generated/model/getIdpRevision403Details.ts +12 -0
  328. package/src/generated/model/getIdpRevision404.ts +20 -0
  329. package/src/generated/model/getIdpRevision404Details.ts +12 -0
  330. package/src/generated/model/getIdpRevisionDefault.ts +72 -0
  331. package/src/generated/model/getIdpRevisionParams.ts +17 -0
  332. package/src/generated/model/getInvitation200.ts +126 -0
  333. package/src/generated/model/getInvitation401.ts +20 -0
  334. package/src/generated/model/getInvitation401Details.ts +12 -0
  335. package/src/generated/model/getInvitation403.ts +20 -0
  336. package/src/generated/model/getInvitation403Details.ts +12 -0
  337. package/src/generated/model/getInvitation404.ts +20 -0
  338. package/src/generated/model/getInvitation404Details.ts +12 -0
  339. package/src/generated/model/getInvitationDefault.ts +72 -0
  340. package/src/generated/model/getInvitationParams.ts +17 -0
  341. package/src/generated/model/getMyUser200.ts +1 -1
  342. package/src/generated/model/getOAuthSettings200.ts +34 -0
  343. package/src/generated/model/getOAuthSettings200Oauth.ts +30 -0
  344. package/src/generated/model/getOAuthSettings404.ts +20 -0
  345. package/src/generated/model/getOAuthSettings404Details.ts +12 -0
  346. package/src/generated/model/getOAuthSettingsDefault.ts +54 -0
  347. package/src/generated/model/getPolicy200.ts +36 -0
  348. package/src/generated/model/getPolicyRevision200.ts +36 -0
  349. package/src/generated/model/getProjectClaimStatus200.ts +27 -0
  350. package/src/generated/model/getProjectClaimStatus401.ts +20 -0
  351. package/src/generated/model/getProjectClaimStatus401Details.ts +12 -0
  352. package/src/generated/model/getProjectClaimStatus403.ts +23 -0
  353. package/src/generated/model/getProjectClaimStatus404.ts +20 -0
  354. package/src/generated/model/getProjectClaimStatus404Details.ts +12 -0
  355. package/src/generated/model/getProjectClaimStatus410.ts +27 -0
  356. package/src/generated/model/getProjectClaimStatus429.ts +20 -0
  357. package/src/generated/model/getProjectClaimStatus429Details.ts +12 -0
  358. package/src/generated/model/getProjectClaimStatusDefault.ts +99 -0
  359. package/src/generated/model/getProjectClaimStatusParams.ts +15 -0
  360. package/src/generated/model/getProjectClaimWindow200.ts +23 -0
  361. package/src/generated/model/getProjectClaimWindow404.ts +20 -0
  362. package/src/generated/model/getProjectClaimWindow404Details.ts +12 -0
  363. package/src/generated/model/getProjectClaimWindow429.ts +20 -0
  364. package/src/generated/model/getProjectClaimWindow429Details.ts +12 -0
  365. package/src/generated/model/getProjectClaimWindowDefault.ts +36 -0
  366. package/src/generated/model/getProjectClaimWindowParams.ts +15 -0
  367. package/src/generated/model/getRelease200.ts +96 -0
  368. package/src/generated/model/getRelease200Metadata.ts +43 -0
  369. package/src/generated/model/getRelease200MetadataCreatedByType.ts +20 -0
  370. package/src/generated/model/getRelease200PointersItem.ts +63 -0
  371. package/src/generated/model/getRelease200PointersItemKind.ts +29 -0
  372. package/src/generated/model/getReleaseDefault.ts +72 -0
  373. package/src/generated/model/getReleaseParams.ts +17 -0
  374. package/src/generated/model/getSchema200.ts +31 -0
  375. package/src/generated/model/getSchema200Metadata.ts +18 -0
  376. package/src/generated/model/getSchema200Schema.ts +84 -0
  377. package/src/generated/model/getSchemaDefault.ts +72 -0
  378. package/src/generated/model/getSchemaParams.ts +21 -0
  379. package/src/generated/model/getUser200.ts +76 -0
  380. package/src/generated/model/getUser200Attributes.ts +13 -0
  381. package/src/generated/model/getUser200Metadata.ts +44 -0
  382. package/src/generated/model/getUser200MetadataLifecycleOwnerTeam.ts +43 -0
  383. package/src/generated/model/getUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  384. package/src/generated/model/getUser200MetadataStatus.ts +20 -0
  385. package/src/generated/model/getUser200TeamsItem.ts +33 -0
  386. package/src/generated/model/getUser200TeamsItemMembershipStatus.ts +20 -0
  387. package/src/generated/model/getUser401.ts +20 -0
  388. package/src/generated/model/getUser401Details.ts +12 -0
  389. package/src/generated/model/getUser404.ts +20 -0
  390. package/src/generated/model/getUser404Details.ts +12 -0
  391. package/src/generated/model/getUserDefault.ts +72 -0
  392. package/src/generated/model/getUserParams.ts +31 -0
  393. package/src/generated/model/index.ts +548 -427
  394. package/src/generated/model/listBranding200.ts +20 -0
  395. package/src/generated/model/listBranding200BrandingItem.ts +18 -0
  396. package/src/generated/model/listBrandingParams.ts +13 -0
  397. package/src/generated/model/listDeploymentVariables200.ts +17 -0
  398. package/src/generated/model/listDeploymentVariablesDefault.ts +90 -0
  399. package/src/generated/model/listDeploymentVariablesParams.ts +17 -0
  400. package/src/generated/model/listDeployments200DeploymentsItem.ts +9 -7
  401. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +4 -4
  402. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +3 -1
  403. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +2 -1
  404. package/src/generated/model/listDeployments200DeploymentsItemStatus.ts +4 -3
  405. package/src/generated/model/listDeployments200DeploymentsItemTargetsItem.ts +0 -5
  406. package/src/generated/model/listDeploymentsParams.ts +5 -0
  407. package/src/generated/model/listEvents200.ts +10 -3
  408. package/src/generated/model/listEvents200EventsItem.ts +5038 -0
  409. package/src/generated/model/listEventsParams.ts +28 -1
  410. package/src/generated/model/listEventsStatusClassItem.ts +18 -0
  411. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +2 -2
  412. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +2 -12
  413. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +2 -9
  414. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -2
  415. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +1 -1
  416. package/src/generated/model/listFlowDefinitionsExpandItem.ts +1 -1
  417. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +2 -2
  418. package/src/generated/model/listInvitations200.ts +20 -0
  419. package/src/generated/model/listInvitations200InvitationsItem.ts +126 -0
  420. package/src/generated/model/listInvitations400.ts +20 -0
  421. package/src/generated/model/listInvitations400Details.ts +12 -0
  422. package/src/generated/model/listInvitations401.ts +20 -0
  423. package/src/generated/model/listInvitations401Details.ts +12 -0
  424. package/src/generated/model/listInvitations403.ts +20 -0
  425. package/src/generated/model/listInvitations403Details.ts +12 -0
  426. package/src/generated/model/listInvitations404.ts +20 -0
  427. package/src/generated/model/listInvitations404Details.ts +12 -0
  428. package/src/generated/model/listInvitationsDefault.ts +72 -0
  429. package/src/generated/model/listInvitationsParams.ts +42 -0
  430. package/src/generated/model/listInvitationsStatus.ts +17 -0
  431. package/src/generated/model/listInvitationsType.ts +15 -0
  432. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +1 -1
  433. package/src/generated/model/listMyProjectsOrder.ts +15 -0
  434. package/src/generated/model/listMyProjectsParams.ts +16 -0
  435. package/src/generated/model/listPolicies200PoliciesItem.ts +36 -0
  436. package/src/generated/model/listPoliciesOperation.ts +1 -0
  437. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +36 -0
  438. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +1 -1
  439. package/src/generated/model/listProjectPreviews200.ts +20 -0
  440. package/src/generated/model/listProjectPreviews200PreviewsItem.ts +37 -0
  441. package/src/generated/model/listProjectPreviewsDefault.ts +72 -0
  442. package/src/generated/model/listProjectPreviewsParams.ts +23 -0
  443. package/src/generated/model/listReleases200ReleasesItem.ts +2 -2
  444. package/src/generated/model/listReleasesParams.ts +2 -2
  445. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +1 -1
  446. package/src/generated/model/listVariables200.ts +35 -0
  447. package/src/generated/model/listVariables200Preview.ts +20 -0
  448. package/src/generated/model/listVariables200Primary.ts +20 -0
  449. package/src/generated/model/listVariablesDefault.ts +72 -0
  450. package/src/generated/model/listVariablesKind.ts +15 -0
  451. package/src/generated/model/listVariablesParams.ts +23 -0
  452. package/src/generated/model/lookupInvitation200.ts +63 -0
  453. package/src/generated/model/lookupInvitation400.ts +20 -0
  454. package/src/generated/model/lookupInvitation400Details.ts +12 -0
  455. package/src/generated/model/lookupInvitation401.ts +20 -0
  456. package/src/generated/model/lookupInvitation401Details.ts +12 -0
  457. package/src/generated/model/lookupInvitation404.ts +20 -0
  458. package/src/generated/model/lookupInvitation404Details.ts +12 -0
  459. package/src/generated/model/lookupInvitation429.ts +20 -0
  460. package/src/generated/model/lookupInvitation429Details.ts +12 -0
  461. package/src/generated/model/lookupInvitationBody.ts +19 -0
  462. package/src/generated/model/lookupInvitationDefault.ts +72 -0
  463. package/src/generated/model/publishApplication200.ts +137 -0
  464. package/src/generated/model/publishApplication200ClientSecretsItem.ts +19 -0
  465. package/src/generated/model/publishApplication201.ts +137 -0
  466. package/src/generated/model/publishApplication201ClientSecretsItem.ts +19 -0
  467. package/src/generated/model/publishApplication400.ts +20 -0
  468. package/src/generated/model/publishApplication400Details.ts +12 -0
  469. package/src/generated/model/publishApplication401.ts +20 -0
  470. package/src/generated/model/publishApplication401Details.ts +12 -0
  471. package/src/generated/model/publishApplication403.ts +20 -0
  472. package/src/generated/model/publishApplication403Details.ts +12 -0
  473. package/src/generated/model/publishApplication404.ts +20 -0
  474. package/src/generated/model/publishApplication404Details.ts +12 -0
  475. package/src/generated/model/publishApplication409.ts +20 -0
  476. package/src/generated/model/publishApplication409Details.ts +12 -0
  477. package/src/generated/model/publishApplicationBody.ts +20 -0
  478. package/src/generated/model/publishApplicationBodyApplication.ts +35 -0
  479. package/src/generated/model/publishApplicationBodyApplicationClientsItem.ts +84 -0
  480. package/src/generated/model/publishApplicationBodyApplicationClientsItemGrantTypesItem.ts +15 -0
  481. package/src/generated/model/publishApplicationBodyApplicationClientsItemType.ts +19 -0
  482. package/src/generated/model/publishApplicationDefault.ts +117 -0
  483. package/src/generated/model/publishApplicationParams.ts +17 -0
  484. package/src/generated/model/publishBranding201.ts +32 -0
  485. package/src/generated/model/publishBranding201Branding.ts +80 -0
  486. package/src/generated/model/publishBranding201BrandingLayout.ts +27 -0
  487. package/src/generated/model/publishBranding201BrandingShape.ts +30 -0
  488. package/src/generated/model/publishBranding201BrandingShapeDensity.ts +19 -0
  489. package/src/generated/model/publishBranding201BrandingTheme.ts +41 -0
  490. package/src/generated/model/publishBranding201BrandingThemeDark.ts +34 -0
  491. package/src/generated/model/publishBranding201BrandingThemeDarkPalette.ts +210 -0
  492. package/src/generated/model/publishBranding201BrandingThemeLight.ts +34 -0
  493. package/src/generated/model/publishBranding201BrandingThemeLightPalette.ts +210 -0
  494. package/src/generated/model/publishBranding201BrandingThemeMode.ts +19 -0
  495. package/src/generated/model/publishBranding201BrandingTypography.ts +47 -0
  496. package/src/generated/model/publishBranding400.ts +20 -0
  497. package/src/generated/model/publishBranding400Details.ts +12 -0
  498. package/src/generated/model/publishBrandingBody.ts +80 -0
  499. package/src/generated/model/publishBrandingBodyLayout.ts +27 -0
  500. package/src/generated/model/publishBrandingBodyShape.ts +30 -0
  501. package/src/generated/model/publishBrandingBodyShapeDensity.ts +19 -0
  502. package/src/generated/model/publishBrandingBodyTheme.ts +41 -0
  503. package/src/generated/model/publishBrandingBodyThemeDark.ts +34 -0
  504. package/src/generated/model/publishBrandingBodyThemeDarkPalette.ts +210 -0
  505. package/src/generated/model/publishBrandingBodyThemeLight.ts +34 -0
  506. package/src/generated/model/publishBrandingBodyThemeLightPalette.ts +210 -0
  507. package/src/generated/model/publishBrandingBodyThemeMode.ts +19 -0
  508. package/src/generated/model/publishBrandingBodyTypography.ts +47 -0
  509. package/src/generated/model/publishBrandingDefault.ts +99 -0
  510. package/src/generated/model/publishBrandingParams.ts +17 -0
  511. package/src/generated/model/publishFlowDefinition201.ts +48 -0
  512. package/src/generated/model/publishFlowDefinition201FlowDefinition.ts +85 -0
  513. package/src/generated/model/publishFlowDefinition201FlowDefinitionAudience.ts +20 -0
  514. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItem.ts +109 -0
  515. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +49 -0
  516. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +29 -0
  517. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemComplete.ts +20 -0
  518. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGates.ts +29 -0
  519. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +12 -0
  520. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +20 -0
  521. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +25 -0
  522. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitions.ts +68 -0
  523. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +28 -0
  524. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  525. package/src/generated/model/publishFlowDefinition201UserSchema.ts +26 -0
  526. package/src/generated/model/publishFlowDefinition201UserSchemaMetadata.ts +18 -0
  527. package/src/generated/model/publishFlowDefinition201UserSchemaSchema.ts +84 -0
  528. package/src/generated/model/publishFlowDefinition400.ts +20 -0
  529. package/src/generated/model/publishFlowDefinition400Details.ts +12 -0
  530. package/src/generated/model/publishFlowDefinitionBody.ts +43 -0
  531. package/src/generated/model/publishFlowDefinitionBodyFlowDefinition.ts +85 -0
  532. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionAudience.ts +20 -0
  533. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItem.ts +109 -0
  534. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +49 -0
  535. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +29 -0
  536. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +20 -0
  537. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +29 -0
  538. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +12 -0
  539. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +20 -0
  540. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +25 -0
  541. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +68 -0
  542. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +28 -0
  543. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  544. package/src/generated/model/publishFlowDefinitionDefault.ts +117 -0
  545. package/src/generated/model/publishIdp200.ts +39 -0
  546. package/src/generated/model/publishIdp200Definition.ts +44 -0
  547. package/src/generated/model/publishIdp200DefinitionClaimMapping.ts +12 -0
  548. package/src/generated/model/publishIdp200DefinitionOidc.ts +65 -0
  549. package/src/generated/model/publishIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  550. package/src/generated/model/publishIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  551. package/src/generated/model/publishIdp200DefinitionProtocol.ts +17 -0
  552. package/src/generated/model/publishIdp200DefinitionProvisioning.ts +15 -0
  553. package/src/generated/model/publishIdp200DefinitionProvisioningCreation.ts +15 -0
  554. package/src/generated/model/publishIdp200DefinitionVerifiedClaims.ts +12 -0
  555. package/src/generated/model/publishIdp201.ts +39 -0
  556. package/src/generated/model/publishIdp201Definition.ts +44 -0
  557. package/src/generated/model/publishIdp201DefinitionClaimMapping.ts +12 -0
  558. package/src/generated/model/publishIdp201DefinitionOidc.ts +65 -0
  559. package/src/generated/model/publishIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  560. package/src/generated/model/publishIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  561. package/src/generated/model/publishIdp201DefinitionProtocol.ts +17 -0
  562. package/src/generated/model/publishIdp201DefinitionProvisioning.ts +15 -0
  563. package/src/generated/model/publishIdp201DefinitionProvisioningCreation.ts +15 -0
  564. package/src/generated/model/publishIdp201DefinitionVerifiedClaims.ts +12 -0
  565. package/src/generated/model/publishIdp400.ts +20 -0
  566. package/src/generated/model/publishIdp400Details.ts +12 -0
  567. package/src/generated/model/publishIdp401.ts +20 -0
  568. package/src/generated/model/publishIdp401Details.ts +12 -0
  569. package/src/generated/model/publishIdp403.ts +20 -0
  570. package/src/generated/model/publishIdp403Details.ts +12 -0
  571. package/src/generated/model/publishIdp404.ts +20 -0
  572. package/src/generated/model/publishIdp404Details.ts +12 -0
  573. package/src/generated/model/publishIdpBody.ts +15 -0
  574. package/src/generated/model/publishIdpBodyIdp.ts +44 -0
  575. package/src/generated/model/publishIdpBodyIdpClaimMapping.ts +12 -0
  576. package/src/generated/model/publishIdpBodyIdpOidc.ts +65 -0
  577. package/src/generated/model/publishIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
  578. package/src/generated/model/publishIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
  579. package/src/generated/model/publishIdpBodyIdpProtocol.ts +17 -0
  580. package/src/generated/model/publishIdpBodyIdpProvisioning.ts +15 -0
  581. package/src/generated/model/publishIdpBodyIdpProvisioningCreation.ts +15 -0
  582. package/src/generated/model/publishIdpBodyIdpVerifiedClaims.ts +12 -0
  583. package/src/generated/model/publishIdpDefault.ts +108 -0
  584. package/src/generated/model/publishIdpParams.ts +17 -0
  585. package/src/generated/model/publishPolicy201.ts +36 -0
  586. package/src/generated/model/publishPolicyBody.ts +20 -0
  587. package/src/generated/model/publishSchema201.ts +31 -0
  588. package/src/generated/model/publishSchema201Metadata.ts +18 -0
  589. package/src/generated/model/publishSchema201Schema.ts +84 -0
  590. package/src/generated/model/publishSchemaBody.ts +86 -0
  591. package/src/generated/model/publishSchemaDefault.ts +153 -0
  592. package/src/generated/model/publishSchemaParams.ts +22 -0
  593. package/src/generated/model/queryGrantsBodyFilterItem.ts +2 -1
  594. package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +3 -1
  595. package/src/generated/model/queryIdps200IdpsItem.ts +2 -2
  596. package/src/generated/model/queryIdpsBodyFilterItem.ts +2 -1
  597. package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +3 -1
  598. package/src/generated/model/queryProjectsBodyFilterItem.ts +2 -1
  599. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +3 -1
  600. package/src/generated/model/querySessionsBodyFilterItem.ts +2 -1
  601. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +3 -1
  602. package/src/generated/model/queryTeamsBodyFilterItem.ts +2 -1
  603. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +3 -1
  604. package/src/generated/model/queryUsers200UsersItem.ts +1 -1
  605. package/src/generated/model/queryUsersBodyFilterItem.ts +12 -3
  606. package/src/generated/model/queryUsersBodyFilterItemField.ts +11 -2
  607. package/src/generated/model/queryUsersBodyFilterItemOperation.ts +3 -1
  608. package/src/generated/model/rejectInvitation200.ts +126 -0
  609. package/src/generated/model/rejectInvitation400.ts +20 -0
  610. package/src/generated/model/rejectInvitation400Details.ts +12 -0
  611. package/src/generated/model/rejectInvitation401.ts +20 -0
  612. package/src/generated/model/rejectInvitation401Details.ts +12 -0
  613. package/src/generated/model/rejectInvitation403.ts +20 -0
  614. package/src/generated/model/rejectInvitation403Details.ts +12 -0
  615. package/src/generated/model/rejectInvitation404.ts +20 -0
  616. package/src/generated/model/rejectInvitation404Details.ts +12 -0
  617. package/src/generated/model/rejectInvitation429.ts +20 -0
  618. package/src/generated/model/rejectInvitation429Details.ts +12 -0
  619. package/src/generated/model/rejectInvitationBody.ts +19 -0
  620. package/src/generated/model/rejectInvitationDefault.ts +72 -0
  621. package/src/generated/model/removeProjectOriginBody.ts +15 -0
  622. package/src/generated/model/removeProjectOriginDefault.ts +108 -0
  623. package/src/generated/model/removeProjectPreviewBody.ts +23 -0
  624. package/src/generated/model/removeProjectPreviewDefault.ts +90 -0
  625. package/src/generated/model/revokeRelease200.ts +4 -4
  626. package/src/generated/model/revokeRelease200PointersItem.ts +3 -1
  627. package/src/generated/model/revokeRelease200PointersItemKind.ts +2 -1
  628. package/src/generated/model/revokeRelease409DetailsOriginsItem.ts +3 -0
  629. package/src/generated/model/revokeRelease409DetailsOriginsItemKind.ts +18 -0
  630. package/src/generated/model/rollbackDeployment200.ts +9 -7
  631. package/src/generated/model/rollbackDeployment200Release.ts +4 -4
  632. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +3 -1
  633. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +2 -1
  634. package/src/generated/model/rollbackDeployment200Status.ts +4 -3
  635. package/src/generated/model/rollbackDeployment200TargetsItem.ts +0 -5
  636. package/src/generated/model/rollbackDeployment201.ts +9 -7
  637. package/src/generated/model/rollbackDeployment201Release.ts +4 -4
  638. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +3 -1
  639. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +2 -1
  640. package/src/generated/model/rollbackDeployment201Status.ts +4 -3
  641. package/src/generated/model/rollbackDeployment201TargetsItem.ts +0 -5
  642. package/src/generated/model/rollbackDeployment409.ts +12 -14
  643. package/src/generated/model/rollbackDeploymentDefault.ts +0 -9
  644. package/src/generated/model/search200.ts +34 -0
  645. package/src/generated/model/search200IncompleteTypesItem.ts +30 -0
  646. package/src/generated/model/search200ResultsItem.ts +54 -0
  647. package/src/generated/model/search200ResultsItemType.ts +30 -0
  648. package/src/generated/model/search400.ts +20 -0
  649. package/src/generated/model/search400Details.ts +12 -0
  650. package/src/generated/model/search401.ts +20 -0
  651. package/src/generated/model/search401Details.ts +12 -0
  652. package/src/generated/model/search403.ts +20 -0
  653. package/src/generated/model/search403Details.ts +12 -0
  654. package/src/generated/model/search404.ts +20 -0
  655. package/src/generated/model/search404Details.ts +12 -0
  656. package/src/generated/model/searchBody.ts +33 -0
  657. package/src/generated/model/searchBodyTypesItem.ts +30 -0
  658. package/src/generated/model/searchDefault.ts +126 -0
  659. package/src/generated/model/searchParams.ts +17 -0
  660. package/src/generated/model/setUserPassword429.ts +23 -0
  661. package/src/generated/model/setUserPasswordDefault.ts +9 -0
  662. package/src/generated/model/setVariables200.ts +35 -0
  663. package/src/generated/model/setVariables200Preview.ts +20 -0
  664. package/src/generated/model/setVariables200Primary.ts +20 -0
  665. package/src/generated/model/setVariablesBody.ts +48 -0
  666. package/src/generated/model/setVariablesDefault.ts +162 -0
  667. package/src/generated/model/setVariablesKind.ts +15 -0
  668. package/src/generated/model/setVariablesParams.ts +23 -0
  669. package/src/generated/model/submitFlowStep200.ts +1 -1
  670. package/src/generated/model/submitFlowStep200Branding.ts +3 -3
  671. package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +1 -1
  672. package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +1 -1
  673. package/src/generated/model/submitFlowStep200BrandingTypography.ts +1 -1
  674. package/src/generated/model/submitFlowStep200StepFieldsItem.ts +6 -3
  675. package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +7 -3
  676. package/src/generated/model/submitFlowStep200StepGates.ts +22 -9
  677. package/src/generated/model/submitFlowStep200StepGatesChallenge.ts +30 -0
  678. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +2 -2
  679. package/src/generated/model/submitFlowStep200StepGatesKind.ts +3 -4
  680. package/src/generated/model/submitFlowStep400.ts +885 -8
  681. package/src/generated/model/submitFlowStep429.ts +23 -0
  682. package/src/generated/model/submitFlowStepBody.ts +5 -2
  683. package/src/generated/model/submitFlowStepBodyGateProofs.ts +4 -1
  684. package/src/generated/model/submitFlowStepDefault.ts +27 -0
  685. package/src/generated/model/updateMyUser200.ts +76 -0
  686. package/src/generated/model/updateMyUser200Attributes.ts +13 -0
  687. package/src/generated/model/updateMyUser200Metadata.ts +44 -0
  688. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
  689. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  690. package/src/generated/model/updateMyUser200MetadataStatus.ts +20 -0
  691. package/src/generated/model/updateMyUser200TeamsItem.ts +33 -0
  692. package/src/generated/model/updateMyUser200TeamsItemMembershipStatus.ts +20 -0
  693. package/src/generated/model/updateMyUser400.ts +20 -0
  694. package/src/generated/model/updateMyUser400Details.ts +12 -0
  695. package/src/generated/model/updateMyUser401.ts +20 -0
  696. package/src/generated/model/updateMyUser401Details.ts +12 -0
  697. package/src/generated/model/updateMyUser403.ts +20 -0
  698. package/src/generated/model/updateMyUser403Details.ts +12 -0
  699. package/src/generated/model/updateMyUser404.ts +23 -0
  700. package/src/generated/model/updateMyUser409.ts +20 -0
  701. package/src/generated/model/updateMyUser409Details.ts +12 -0
  702. package/src/generated/model/updateMyUserBody.ts +25 -0
  703. package/src/generated/model/updateMyUserBodyAttributes.ts +13 -0
  704. package/src/generated/model/updateMyUserDefault.ts +117 -0
  705. package/src/generated/model/updateMyUserParams.ts +26 -0
  706. package/src/generated/model/updateProject200.ts +96 -0
  707. package/src/generated/model/updateProject400.ts +20 -0
  708. package/src/generated/model/updateProject400Details.ts +12 -0
  709. package/src/generated/model/updateProject401.ts +20 -0
  710. package/src/generated/model/updateProject401Details.ts +12 -0
  711. package/src/generated/model/updateProject404.ts +20 -0
  712. package/src/generated/model/updateProject404Details.ts +12 -0
  713. package/src/generated/model/updateProjectBody.ts +19 -0
  714. package/src/generated/model/updateProjectBodyPasswordHash.ts +40 -0
  715. package/src/generated/model/updateProjectBodyPasswordHashAlgorithm.ts +24 -0
  716. package/src/generated/model/updateProjectBodyPasswordHashParams.ts +44 -0
  717. package/src/generated/model/updateProjectBodyPasswordHashParamsHash.ts +24 -0
  718. package/src/generated/model/updateProjectDefault.ts +117 -0
  719. package/src/generated/model/updateUser200.ts +76 -0
  720. package/src/generated/model/updateUser200Attributes.ts +13 -0
  721. package/src/generated/model/updateUser200Metadata.ts +44 -0
  722. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeam.ts +43 -0
  723. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  724. package/src/generated/model/updateUser200MetadataStatus.ts +20 -0
  725. package/src/generated/model/updateUser200TeamsItem.ts +33 -0
  726. package/src/generated/model/updateUser200TeamsItemMembershipStatus.ts +20 -0
  727. package/src/generated/model/updateUser400.ts +20 -0
  728. package/src/generated/model/updateUser400Details.ts +12 -0
  729. package/src/generated/model/updateUser401.ts +20 -0
  730. package/src/generated/model/updateUser401Details.ts +12 -0
  731. package/src/generated/model/updateUser403.ts +20 -0
  732. package/src/generated/model/updateUser403Details.ts +12 -0
  733. package/src/generated/model/updateUser404.ts +20 -0
  734. package/src/generated/model/updateUser404Details.ts +12 -0
  735. package/src/generated/model/updateUser409.ts +20 -0
  736. package/src/generated/model/updateUser409Details.ts +12 -0
  737. package/src/generated/model/updateUserBody.ts +53 -0
  738. package/src/generated/model/updateUserBodyAttributes.ts +13 -0
  739. package/src/generated/model/updateUserDefault.ts +117 -0
  740. package/src/generated/model/userProperty.ts +6 -1
  741. package/src/generated/model/verifyAuthAttemptChallenge200.ts +76 -0
  742. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItem.ts +49 -0
  743. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemMethod.ts +20 -0
  744. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +34 -0
  745. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemState.ts +22 -0
  746. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItem.ts +28 -0
  747. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemMethod.ts +20 -0
  748. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemPayload.ts +37 -0
  749. package/src/generated/model/verifyAuthAttemptChallenge200RequiredFactorsItem.ts +20 -0
  750. package/src/generated/model/verifyAuthAttemptChallenge200State.ts +24 -0
  751. package/src/generated/model/verifyAuthAttemptChallenge409.ts +20 -0
  752. package/src/generated/model/verifyAuthAttemptChallenge409Details.ts +12 -0
  753. package/src/generated/model/verifyAuthAttemptChallenge429.ts +23 -0
  754. package/src/generated/model/verifyAuthAttemptChallengeBody.ts +27 -0
  755. package/src/generated/model/verifyAuthAttemptChallengeDefault.ts +189 -0
  756. package/src/generated/operations.ts +371 -93
  757. package/src/generated/paging.ts +17 -7
  758. package/src/runtime/api-factory.spec.ts +3 -3
  759. package/src/runtime/api-factory.ts +1 -1
  760. package/src/runtime/base-url.spec.ts +5 -5
  761. package/dist/api-factory-32Zz3s86.mjs +0 -359
  762. package/dist/api-factory-32Zz3s86.mjs.map +0 -1
  763. package/dist/api-factory-DbVEEqxe.d.mts +0 -217
  764. package/dist/api-factory-DbVEEqxe.d.mts.map +0 -1
  765. package/dist/fetch-BzLvdm6C.d.mts +0 -136
  766. package/dist/fetch-BzLvdm6C.d.mts.map +0 -1
  767. package/dist/generated/endpoints/zitadelNextGen.mjs.map +0 -1
  768. package/dist/index-BX80Kl-8.d.mts +0 -55692
  769. package/dist/index-BX80Kl-8.d.mts.map +0 -1
  770. package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
  771. package/dist/zitadelNextGen-CFrFhq_h.d.mts +0 -1726
  772. package/dist/zitadelNextGen-CFrFhq_h.d.mts.map +0 -1
  773. package/src/generated/model/addOrigin201.ts +0 -18
  774. package/src/generated/model/addOrigin201Kind.ts +0 -18
  775. package/src/generated/model/addOriginBody.ts +0 -35
  776. package/src/generated/model/addOriginBodyKind.ts +0 -19
  777. package/src/generated/model/addOriginDefault.ts +0 -135
  778. package/src/generated/model/beginUserPasskeyRegistration201.ts +0 -25
  779. package/src/generated/model/beginUserPasskeyRegistration201Options.ts +0 -13
  780. package/src/generated/model/beginUserPasskeyRegistration400.ts +0 -20
  781. package/src/generated/model/beginUserPasskeyRegistration400Details.ts +0 -12
  782. package/src/generated/model/beginUserPasskeyRegistration401.ts +0 -20
  783. package/src/generated/model/beginUserPasskeyRegistration401Details.ts +0 -12
  784. package/src/generated/model/beginUserPasskeyRegistration403.ts +0 -20
  785. package/src/generated/model/beginUserPasskeyRegistration403Details.ts +0 -12
  786. package/src/generated/model/beginUserPasskeyRegistration404.ts +0 -20
  787. package/src/generated/model/beginUserPasskeyRegistration404Details.ts +0 -12
  788. package/src/generated/model/beginUserPasskeyRegistration500.ts +0 -20
  789. package/src/generated/model/beginUserPasskeyRegistration500Details.ts +0 -12
  790. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +0 -33
  791. package/src/generated/model/beginUserPasskeyRegistrationDefault.ts +0 -126
  792. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +0 -23
  793. package/src/generated/model/completeClaim200.ts +0 -19
  794. package/src/generated/model/completeClaim400.ts +0 -20
  795. package/src/generated/model/completeClaim400Details.ts +0 -12
  796. package/src/generated/model/completeClaim401.ts +0 -23
  797. package/src/generated/model/completeClaim403.ts +0 -36
  798. package/src/generated/model/completeClaim404.ts +0 -20
  799. package/src/generated/model/completeClaim404Details.ts +0 -12
  800. package/src/generated/model/completeClaim409.ts +0 -25
  801. package/src/generated/model/completeClaim409Details.ts +0 -14
  802. package/src/generated/model/completeClaim410.ts +0 -27
  803. package/src/generated/model/completeClaim429.ts +0 -20
  804. package/src/generated/model/completeClaim429Details.ts +0 -12
  805. package/src/generated/model/completeClaimBody.ts +0 -18
  806. package/src/generated/model/completeClaimDefault.ts +0 -144
  807. package/src/generated/model/createBranding201.ts +0 -32
  808. package/src/generated/model/createBranding201Branding.ts +0 -80
  809. package/src/generated/model/createBranding201BrandingLayout.ts +0 -27
  810. package/src/generated/model/createBranding201BrandingShape.ts +0 -30
  811. package/src/generated/model/createBranding201BrandingShapeDensity.ts +0 -19
  812. package/src/generated/model/createBranding201BrandingTheme.ts +0 -41
  813. package/src/generated/model/createBranding201BrandingThemeDark.ts +0 -34
  814. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +0 -210
  815. package/src/generated/model/createBranding201BrandingThemeLight.ts +0 -34
  816. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +0 -210
  817. package/src/generated/model/createBranding201BrandingThemeMode.ts +0 -19
  818. package/src/generated/model/createBranding201BrandingTypography.ts +0 -47
  819. package/src/generated/model/createBranding400.ts +0 -20
  820. package/src/generated/model/createBranding400Details.ts +0 -12
  821. package/src/generated/model/createBrandingBody.ts +0 -80
  822. package/src/generated/model/createBrandingBodyLayout.ts +0 -27
  823. package/src/generated/model/createBrandingBodyShape.ts +0 -30
  824. package/src/generated/model/createBrandingBodyShapeDensity.ts +0 -19
  825. package/src/generated/model/createBrandingBodyTheme.ts +0 -41
  826. package/src/generated/model/createBrandingBodyThemeDark.ts +0 -34
  827. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +0 -210
  828. package/src/generated/model/createBrandingBodyThemeLight.ts +0 -34
  829. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +0 -210
  830. package/src/generated/model/createBrandingBodyThemeMode.ts +0 -19
  831. package/src/generated/model/createBrandingBodyTypography.ts +0 -47
  832. package/src/generated/model/createBrandingDefault.ts +0 -99
  833. package/src/generated/model/createBrandingParams.ts +0 -17
  834. package/src/generated/model/createFlowDefinition201.ts +0 -48
  835. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +0 -95
  836. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +0 -20
  837. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +0 -23
  838. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +0 -109
  839. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +0 -49
  840. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +0 -29
  841. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +0 -20
  842. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +0 -36
  843. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +0 -13
  844. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +0 -20
  845. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +0 -25
  846. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +0 -68
  847. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +0 -28
  848. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  849. package/src/generated/model/createFlowDefinition201UserSchema.ts +0 -26
  850. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +0 -18
  851. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +0 -84
  852. package/src/generated/model/createFlowDefinition400.ts +0 -20
  853. package/src/generated/model/createFlowDefinition400Details.ts +0 -12
  854. package/src/generated/model/createFlowDefinitionBody.ts +0 -45
  855. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +0 -95
  856. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +0 -20
  857. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +0 -23
  858. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -109
  859. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -49
  860. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -29
  861. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -20
  862. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -36
  863. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -13
  864. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
  865. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -25
  866. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -68
  867. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +0 -28
  868. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  869. package/src/generated/model/createFlowDefinitionDefault.ts +0 -117
  870. package/src/generated/model/createHandoff200.ts +0 -30
  871. package/src/generated/model/createHandoff409.ts +0 -20
  872. package/src/generated/model/createHandoff409Details.ts +0 -12
  873. package/src/generated/model/createHandoffDefault.ts +0 -99
  874. package/src/generated/model/createIdp200.ts +0 -39
  875. package/src/generated/model/createIdp200Definition.ts +0 -44
  876. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +0 -12
  877. package/src/generated/model/createIdp200DefinitionOidc.ts +0 -65
  878. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  879. package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  880. package/src/generated/model/createIdp200DefinitionProtocol.ts +0 -17
  881. package/src/generated/model/createIdp200DefinitionProvisioning.ts +0 -15
  882. package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +0 -15
  883. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +0 -12
  884. package/src/generated/model/createIdp201.ts +0 -39
  885. package/src/generated/model/createIdp201Definition.ts +0 -44
  886. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +0 -12
  887. package/src/generated/model/createIdp201DefinitionOidc.ts +0 -65
  888. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  889. package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  890. package/src/generated/model/createIdp201DefinitionProtocol.ts +0 -17
  891. package/src/generated/model/createIdp201DefinitionProvisioning.ts +0 -15
  892. package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +0 -15
  893. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +0 -12
  894. package/src/generated/model/createIdp400.ts +0 -20
  895. package/src/generated/model/createIdp400Details.ts +0 -12
  896. package/src/generated/model/createIdp401.ts +0 -20
  897. package/src/generated/model/createIdp401Details.ts +0 -12
  898. package/src/generated/model/createIdp403.ts +0 -20
  899. package/src/generated/model/createIdp403Details.ts +0 -12
  900. package/src/generated/model/createIdp404.ts +0 -20
  901. package/src/generated/model/createIdp404Details.ts +0 -12
  902. package/src/generated/model/createIdpBody.ts +0 -15
  903. package/src/generated/model/createIdpBodyIdp.ts +0 -44
  904. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +0 -12
  905. package/src/generated/model/createIdpBodyIdpOidc.ts +0 -65
  906. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +0 -12
  907. package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +0 -18
  908. package/src/generated/model/createIdpBodyIdpProtocol.ts +0 -17
  909. package/src/generated/model/createIdpBodyIdpProvisioning.ts +0 -15
  910. package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +0 -15
  911. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +0 -12
  912. package/src/generated/model/createIdpDefault.ts +0 -108
  913. package/src/generated/model/createIdpParams.ts +0 -17
  914. package/src/generated/model/createSchema201.ts +0 -12
  915. package/src/generated/model/createSchemaBody.ts +0 -86
  916. package/src/generated/model/createSchemaDefault.ts +0 -153
  917. package/src/generated/model/createSchemaParams.ts +0 -22
  918. package/src/generated/model/deleteTeam400.ts +0 -20
  919. package/src/generated/model/deleteTeam400Details.ts +0 -12
  920. package/src/generated/model/deleteTeam401.ts +0 -20
  921. package/src/generated/model/deleteTeam401Details.ts +0 -12
  922. package/src/generated/model/deleteTeam403.ts +0 -20
  923. package/src/generated/model/deleteTeam403Details.ts +0 -12
  924. package/src/generated/model/deleteTeam409.ts +0 -20
  925. package/src/generated/model/deleteTeam409Details.ts +0 -12
  926. package/src/generated/model/deleteTeamDefault.ts +0 -90
  927. package/src/generated/model/deleteUserByID401.ts +0 -20
  928. package/src/generated/model/deleteUserByID401Details.ts +0 -12
  929. package/src/generated/model/deleteUserByID404.ts +0 -20
  930. package/src/generated/model/deleteUserByID404Details.ts +0 -12
  931. package/src/generated/model/deleteUserByID409.ts +0 -20
  932. package/src/generated/model/deleteUserByID409Details.ts +0 -12
  933. package/src/generated/model/deleteUserByIDDefault.ts +0 -99
  934. package/src/generated/model/finishUserPasskeyRegistration201.ts +0 -19
  935. package/src/generated/model/finishUserPasskeyRegistration400.ts +0 -20
  936. package/src/generated/model/finishUserPasskeyRegistration400Details.ts +0 -12
  937. package/src/generated/model/finishUserPasskeyRegistration401.ts +0 -20
  938. package/src/generated/model/finishUserPasskeyRegistration401Details.ts +0 -12
  939. package/src/generated/model/finishUserPasskeyRegistration403.ts +0 -20
  940. package/src/generated/model/finishUserPasskeyRegistration403Details.ts +0 -12
  941. package/src/generated/model/finishUserPasskeyRegistration404.ts +0 -20
  942. package/src/generated/model/finishUserPasskeyRegistration404Details.ts +0 -12
  943. package/src/generated/model/finishUserPasskeyRegistration500.ts +0 -20
  944. package/src/generated/model/finishUserPasskeyRegistration500Details.ts +0 -12
  945. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +0 -21
  946. package/src/generated/model/finishUserPasskeyRegistrationBodyAttestation.ts +0 -12
  947. package/src/generated/model/finishUserPasskeyRegistrationDefault.ts +0 -180
  948. package/src/generated/model/getBrandingById200.ts +0 -32
  949. package/src/generated/model/getBrandingById200Branding.ts +0 -80
  950. package/src/generated/model/getBrandingById200BrandingLayout.ts +0 -27
  951. package/src/generated/model/getBrandingById200BrandingShape.ts +0 -30
  952. package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +0 -19
  953. package/src/generated/model/getBrandingById200BrandingTheme.ts +0 -41
  954. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +0 -34
  955. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +0 -210
  956. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +0 -34
  957. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +0 -210
  958. package/src/generated/model/getBrandingById200BrandingThemeMode.ts +0 -19
  959. package/src/generated/model/getBrandingById200BrandingTypography.ts +0 -47
  960. package/src/generated/model/getBrandingById404.ts +0 -20
  961. package/src/generated/model/getBrandingById404Details.ts +0 -12
  962. package/src/generated/model/getBrandingByIdDefault.ts +0 -72
  963. package/src/generated/model/getClaimStatus200.ts +0 -27
  964. package/src/generated/model/getClaimStatus401.ts +0 -20
  965. package/src/generated/model/getClaimStatus401Details.ts +0 -12
  966. package/src/generated/model/getClaimStatus403.ts +0 -23
  967. package/src/generated/model/getClaimStatus404.ts +0 -20
  968. package/src/generated/model/getClaimStatus404Details.ts +0 -12
  969. package/src/generated/model/getClaimStatus410.ts +0 -27
  970. package/src/generated/model/getClaimStatus429.ts +0 -20
  971. package/src/generated/model/getClaimStatus429Details.ts +0 -12
  972. package/src/generated/model/getClaimStatusDefault.ts +0 -99
  973. package/src/generated/model/getClaimStatusParams.ts +0 -15
  974. package/src/generated/model/getClaimWindow200.ts +0 -23
  975. package/src/generated/model/getClaimWindow404.ts +0 -20
  976. package/src/generated/model/getClaimWindow404Details.ts +0 -12
  977. package/src/generated/model/getClaimWindow429.ts +0 -20
  978. package/src/generated/model/getClaimWindow429Details.ts +0 -12
  979. package/src/generated/model/getClaimWindowDefault.ts +0 -36
  980. package/src/generated/model/getClaimWindowParams.ts +0 -15
  981. package/src/generated/model/getDeploymentById200.ts +0 -76
  982. package/src/generated/model/getDeploymentById200Kind.ts +0 -18
  983. package/src/generated/model/getDeploymentById200Metadata.ts +0 -35
  984. package/src/generated/model/getDeploymentById200MetadataDeployedByType.ts +0 -20
  985. package/src/generated/model/getDeploymentById200MetadataReason.ts +0 -20
  986. package/src/generated/model/getDeploymentById200Release.ts +0 -96
  987. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +0 -43
  988. package/src/generated/model/getDeploymentById200ReleaseMetadataCreatedByType.ts +0 -20
  989. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +0 -61
  990. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +0 -28
  991. package/src/generated/model/getDeploymentById200Status.ts +0 -22
  992. package/src/generated/model/getDeploymentById200TargetsItem.ts +0 -28
  993. package/src/generated/model/getDeploymentByIdDefault.ts +0 -72
  994. package/src/generated/model/getDeploymentByIdParams.ts +0 -17
  995. package/src/generated/model/getDeploymentVariables200.ts +0 -17
  996. package/src/generated/model/getDeploymentVariablesDefault.ts +0 -90
  997. package/src/generated/model/getDeploymentVariablesParams.ts +0 -17
  998. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +0 -23
  999. package/src/generated/model/getIdpById200.ts +0 -39
  1000. package/src/generated/model/getIdpById200Definition.ts +0 -44
  1001. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +0 -12
  1002. package/src/generated/model/getIdpById200DefinitionOidc.ts +0 -65
  1003. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  1004. package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  1005. package/src/generated/model/getIdpById200DefinitionProtocol.ts +0 -17
  1006. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +0 -15
  1007. package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +0 -15
  1008. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +0 -12
  1009. package/src/generated/model/getIdpById401.ts +0 -20
  1010. package/src/generated/model/getIdpById401Details.ts +0 -12
  1011. package/src/generated/model/getIdpById403.ts +0 -20
  1012. package/src/generated/model/getIdpById403Details.ts +0 -12
  1013. package/src/generated/model/getIdpById404.ts +0 -20
  1014. package/src/generated/model/getIdpById404Details.ts +0 -12
  1015. package/src/generated/model/getIdpByIdDefault.ts +0 -72
  1016. package/src/generated/model/getIdpByIdParams.ts +0 -17
  1017. package/src/generated/model/getIdpRevisionById200.ts +0 -39
  1018. package/src/generated/model/getIdpRevisionById200Definition.ts +0 -44
  1019. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +0 -12
  1020. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +0 -65
  1021. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  1022. package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  1023. package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +0 -17
  1024. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +0 -15
  1025. package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +0 -15
  1026. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +0 -12
  1027. package/src/generated/model/getIdpRevisionById401.ts +0 -20
  1028. package/src/generated/model/getIdpRevisionById401Details.ts +0 -12
  1029. package/src/generated/model/getIdpRevisionById403.ts +0 -20
  1030. package/src/generated/model/getIdpRevisionById403Details.ts +0 -12
  1031. package/src/generated/model/getIdpRevisionById404.ts +0 -20
  1032. package/src/generated/model/getIdpRevisionById404Details.ts +0 -12
  1033. package/src/generated/model/getIdpRevisionByIdDefault.ts +0 -72
  1034. package/src/generated/model/getIdpRevisionByIdParams.ts +0 -17
  1035. package/src/generated/model/getReleaseById200.ts +0 -96
  1036. package/src/generated/model/getReleaseById200Metadata.ts +0 -43
  1037. package/src/generated/model/getReleaseById200MetadataCreatedByType.ts +0 -20
  1038. package/src/generated/model/getReleaseById200PointersItem.ts +0 -61
  1039. package/src/generated/model/getReleaseById200PointersItemKind.ts +0 -28
  1040. package/src/generated/model/getReleaseByIdDefault.ts +0 -72
  1041. package/src/generated/model/getReleaseByIdParams.ts +0 -17
  1042. package/src/generated/model/getSchemaById200.ts +0 -31
  1043. package/src/generated/model/getSchemaById200Metadata.ts +0 -18
  1044. package/src/generated/model/getSchemaById200Schema.ts +0 -84
  1045. package/src/generated/model/getSchemaByIdDefault.ts +0 -72
  1046. package/src/generated/model/getSchemaByIdParams.ts +0 -21
  1047. package/src/generated/model/getUserByID200.ts +0 -76
  1048. package/src/generated/model/getUserByID200Attributes.ts +0 -13
  1049. package/src/generated/model/getUserByID200Metadata.ts +0 -44
  1050. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1051. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1052. package/src/generated/model/getUserByID200MetadataStatus.ts +0 -20
  1053. package/src/generated/model/getUserByID200TeamsItem.ts +0 -33
  1054. package/src/generated/model/getUserByID200TeamsItemMembershipStatus.ts +0 -20
  1055. package/src/generated/model/getUserByID401.ts +0 -20
  1056. package/src/generated/model/getUserByID401Details.ts +0 -12
  1057. package/src/generated/model/getUserByID404.ts +0 -20
  1058. package/src/generated/model/getUserByID404Details.ts +0 -12
  1059. package/src/generated/model/getUserByIDDefault.ts +0 -72
  1060. package/src/generated/model/getUserByIDParams.ts +0 -31
  1061. package/src/generated/model/getVariables200.ts +0 -35
  1062. package/src/generated/model/getVariables200Preview.ts +0 -20
  1063. package/src/generated/model/getVariables200Primary.ts +0 -20
  1064. package/src/generated/model/getVariablesDefault.ts +0 -72
  1065. package/src/generated/model/getVariablesKind.ts +0 -15
  1066. package/src/generated/model/getVariablesParams.ts +0 -23
  1067. package/src/generated/model/initClaim201.ts +0 -25
  1068. package/src/generated/model/initClaim401.ts +0 -20
  1069. package/src/generated/model/initClaim401Details.ts +0 -12
  1070. package/src/generated/model/initClaim404.ts +0 -23
  1071. package/src/generated/model/initClaim409.ts +0 -25
  1072. package/src/generated/model/initClaim409Details.ts +0 -14
  1073. package/src/generated/model/initClaim410.ts +0 -23
  1074. package/src/generated/model/initClaimDefault.ts +0 -99
  1075. package/src/generated/model/issueChallenge201.ts +0 -49
  1076. package/src/generated/model/issueChallenge201Method.ts +0 -20
  1077. package/src/generated/model/issueChallenge201Payload.ts +0 -34
  1078. package/src/generated/model/issueChallenge201State.ts +0 -22
  1079. package/src/generated/model/issueChallengeBody.ts +0 -28
  1080. package/src/generated/model/issueChallengeBodyMethod.ts +0 -20
  1081. package/src/generated/model/issueChallengeBodyPasskeyOptions.ts +0 -19
  1082. package/src/generated/model/issueChallengeBodyPasskeyOptionsUserVerification.ts +0 -16
  1083. package/src/generated/model/issueChallengeDefault.ts +0 -90
  1084. package/src/generated/model/listBranding200Item.ts +0 -14
  1085. package/src/generated/model/listEvents200DataItem.ts +0 -3956
  1086. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +0 -23
  1087. package/src/generated/model/listPreviews200.ts +0 -20
  1088. package/src/generated/model/listPreviews200PreviewsItem.ts +0 -37
  1089. package/src/generated/model/listPreviewsDefault.ts +0 -72
  1090. package/src/generated/model/listPreviewsParams.ts +0 -23
  1091. package/src/generated/model/patchMyUser200.ts +0 -76
  1092. package/src/generated/model/patchMyUser200Attributes.ts +0 -13
  1093. package/src/generated/model/patchMyUser200Metadata.ts +0 -44
  1094. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +0 -43
  1095. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1096. package/src/generated/model/patchMyUser200MetadataStatus.ts +0 -20
  1097. package/src/generated/model/patchMyUser200TeamsItem.ts +0 -33
  1098. package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +0 -20
  1099. package/src/generated/model/patchMyUser400.ts +0 -20
  1100. package/src/generated/model/patchMyUser400Details.ts +0 -12
  1101. package/src/generated/model/patchMyUser401.ts +0 -20
  1102. package/src/generated/model/patchMyUser401Details.ts +0 -12
  1103. package/src/generated/model/patchMyUser403.ts +0 -20
  1104. package/src/generated/model/patchMyUser403Details.ts +0 -12
  1105. package/src/generated/model/patchMyUser404.ts +0 -23
  1106. package/src/generated/model/patchMyUser409.ts +0 -20
  1107. package/src/generated/model/patchMyUser409Details.ts +0 -12
  1108. package/src/generated/model/patchMyUserBody.ts +0 -25
  1109. package/src/generated/model/patchMyUserBodyAttributes.ts +0 -13
  1110. package/src/generated/model/patchMyUserDefault.ts +0 -117
  1111. package/src/generated/model/patchMyUserParams.ts +0 -26
  1112. package/src/generated/model/patchProject200.ts +0 -96
  1113. package/src/generated/model/patchProject400.ts +0 -20
  1114. package/src/generated/model/patchProject400Details.ts +0 -12
  1115. package/src/generated/model/patchProject401.ts +0 -20
  1116. package/src/generated/model/patchProject401Details.ts +0 -12
  1117. package/src/generated/model/patchProject404.ts +0 -20
  1118. package/src/generated/model/patchProject404Details.ts +0 -12
  1119. package/src/generated/model/patchProjectBody.ts +0 -19
  1120. package/src/generated/model/patchProjectBodyPasswordHash.ts +0 -40
  1121. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +0 -24
  1122. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +0 -44
  1123. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +0 -24
  1124. package/src/generated/model/patchProjectDefault.ts +0 -117
  1125. package/src/generated/model/patchUserByID200.ts +0 -76
  1126. package/src/generated/model/patchUserByID200Attributes.ts +0 -13
  1127. package/src/generated/model/patchUserByID200Metadata.ts +0 -44
  1128. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1129. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1130. package/src/generated/model/patchUserByID200MetadataStatus.ts +0 -20
  1131. package/src/generated/model/patchUserByID200TeamsItem.ts +0 -33
  1132. package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +0 -20
  1133. package/src/generated/model/patchUserByID400.ts +0 -20
  1134. package/src/generated/model/patchUserByID400Details.ts +0 -12
  1135. package/src/generated/model/patchUserByID401.ts +0 -20
  1136. package/src/generated/model/patchUserByID401Details.ts +0 -12
  1137. package/src/generated/model/patchUserByID403.ts +0 -20
  1138. package/src/generated/model/patchUserByID403Details.ts +0 -12
  1139. package/src/generated/model/patchUserByID404.ts +0 -20
  1140. package/src/generated/model/patchUserByID404Details.ts +0 -12
  1141. package/src/generated/model/patchUserByID409.ts +0 -20
  1142. package/src/generated/model/patchUserByID409Details.ts +0 -12
  1143. package/src/generated/model/patchUserByIDBody.ts +0 -53
  1144. package/src/generated/model/patchUserByIDBodyAttributes.ts +0 -13
  1145. package/src/generated/model/patchUserByIDDefault.ts +0 -117
  1146. package/src/generated/model/removeOriginBody.ts +0 -15
  1147. package/src/generated/model/removeOriginDefault.ts +0 -108
  1148. package/src/generated/model/removePreviewBody.ts +0 -23
  1149. package/src/generated/model/removePreviewDefault.ts +0 -90
  1150. package/src/generated/model/submitFlowStep400Branding.ts +0 -80
  1151. package/src/generated/model/submitFlowStep400BrandingLayout.ts +0 -27
  1152. package/src/generated/model/submitFlowStep400BrandingShape.ts +0 -30
  1153. package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +0 -19
  1154. package/src/generated/model/submitFlowStep400BrandingTheme.ts +0 -41
  1155. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +0 -34
  1156. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +0 -210
  1157. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +0 -34
  1158. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +0 -210
  1159. package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +0 -19
  1160. package/src/generated/model/submitFlowStep400BrandingTypography.ts +0 -47
  1161. package/src/generated/model/submitFlowStep400Step.ts +0 -142
  1162. package/src/generated/model/submitFlowStep400StepActionsItem.ts +0 -41
  1163. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +0 -27
  1164. package/src/generated/model/submitFlowStep400StepChallenge.ts +0 -36
  1165. package/src/generated/model/submitFlowStep400StepChallengeMethod.ts +0 -18
  1166. package/src/generated/model/submitFlowStep400StepChallengeOptions.ts +0 -15
  1167. package/src/generated/model/submitFlowStep400StepComplete.ts +0 -20
  1168. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +0 -84
  1169. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +0 -30
  1170. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +0 -46
  1171. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +0 -24
  1172. package/src/generated/model/submitFlowStep400StepGates.ts +0 -36
  1173. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +0 -13
  1174. package/src/generated/model/submitFlowStep400StepGatesKind.ts +0 -20
  1175. package/src/generated/model/submitFlowStep400StepIdentifier.ts +0 -58
  1176. package/src/generated/model/submitFlowStep400StepPurpose.ts +0 -26
  1177. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +0 -19
  1178. package/src/generated/model/submitFlowStep400StepTexts.ts +0 -23
  1179. package/src/generated/model/updateVariables200.ts +0 -35
  1180. package/src/generated/model/updateVariables200Preview.ts +0 -20
  1181. package/src/generated/model/updateVariables200Primary.ts +0 -20
  1182. package/src/generated/model/updateVariablesBody.ts +0 -48
  1183. package/src/generated/model/updateVariablesDefault.ts +0 -162
  1184. package/src/generated/model/updateVariablesKind.ts +0 -15
  1185. package/src/generated/model/updateVariablesParams.ts +0 -23
  1186. package/src/generated/model/verifyChallengeProof200.ts +0 -76
  1187. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +0 -49
  1188. package/src/generated/model/verifyChallengeProof200ChallengesItemMethod.ts +0 -20
  1189. package/src/generated/model/verifyChallengeProof200ChallengesItemPayload.ts +0 -34
  1190. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +0 -22
  1191. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +0 -28
  1192. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemMethod.ts +0 -20
  1193. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +0 -37
  1194. package/src/generated/model/verifyChallengeProof200RequiredFactorsItem.ts +0 -20
  1195. package/src/generated/model/verifyChallengeProof200State.ts +0 -24
  1196. package/src/generated/model/verifyChallengeProof409.ts +0 -20
  1197. package/src/generated/model/verifyChallengeProof409Details.ts +0 -12
  1198. package/src/generated/model/verifyChallengeProofBody.ts +0 -27
  1199. package/src/generated/model/verifyChallengeProofDefault.ts +0 -180
@@ -1,3956 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Zitadel NextGen
5
- * This is the next generation of the Zitadel identity platform.
6
- * OpenAPI spec version: 0.0.1
7
- */
8
-
9
- /**
10
- * An event of any type. Read event_type to tell which type it is; each type
11
- * carries its own typed payload.
12
- */
13
- export type ListEvents200DataItem = ({
14
- /** The event ID, in the form `evt_<opaque>`. */
15
- id: string;
16
- /** @pattern ^[a-zA-Z0-9_-]+$ */
17
- project_id: string;
18
- /** The team the actor operated under when the event was emitted, if any. */
19
- team_id?: string | null;
20
- /**
21
- * The event type, dot-separated, for example `user.created`. It says which
22
- * `payload` the event carries.
23
- */
24
- event_type: string;
25
- /** The category of the event. */
26
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
27
- /** When the action happened, on the server's clock. */
28
- occurred_at: string;
29
- /** When the event was stored, on the server's clock. */
30
- created_at: string;
31
- /** The ID of the actor that triggered the event. */
32
- actor_id?: string | null;
33
- /** The kind of actor that triggered the event. */
34
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
35
- /** The type of resource the event affected. */
36
- entity_type?: string | null;
37
- /** The ID of the resource the event affected. */
38
- entity_id?: string | null;
39
- /** The application or agent that produced the event. */
40
- client_id: string;
41
- /** The ID of the token in use when the event was emitted, when there was one. */
42
- token_id?: string;
43
- /** The kind of delegation. Absent when unset. */
44
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
45
- delegation_id?: string;
46
- grantor?: string;
47
- /** A device fingerprint ID that correlates events from the same device. */
48
- fingerprint?: string;
49
- /**
50
- * The ID of the HTTP request that caused the event. Events of one request
51
- * share it. Only the `request.api` event of a request carries
52
- * `metadata.client`.
53
- */
54
- request_id?: string | null;
55
- /** The ID of the session the event belongs to. */
56
- session_id?: string | null;
57
- /** An ID that correlates the events of one login flow. */
58
- flow_id?: string | null;
59
- /**
60
- * Metadata the server records when it emits the event, already redacted when
61
- * written. An event from an API request (`request.api`) may set `client`
62
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
63
- * not a live risk-evaluator input.
64
- */
65
- metadata?: {
66
- /**
67
- * What authorized the request, when it was not a grant on the event's
68
- * project. Every event of such a request carries it.
69
- */
70
- authorization?: {
71
- /**
72
- * `platform_operator`: the deployment's platform operator relation,
73
- * which administers every project.
74
- */
75
- path: 'platform_operator';
76
- /** The project the actor's user belongs to. */
77
- actor_home_project_id?: string;
78
- };
79
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
80
- client?: {
81
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
82
- ip?: string;
83
- /** The observed `User-Agent` header. */
84
- user_agent?: string;
85
- /** The `Origin` header, when present. */
86
- origin?: string;
87
- };
88
- [key: string]: unknown;
89
- };
90
- }) & {
91
- event_type: 'auth.attempt.created';
92
- /**
93
- * Empty payload for event types with no typed fields, for example
94
- * `project.deleted`, `user.deleted` and `session.expired`.
95
- */
96
- payload: { [key: string]: unknown };
97
- } | ({
98
- /** The event ID, in the form `evt_<opaque>`. */
99
- id: string;
100
- /** @pattern ^[a-zA-Z0-9_-]+$ */
101
- project_id: string;
102
- /** The team the actor operated under when the event was emitted, if any. */
103
- team_id?: string | null;
104
- /**
105
- * The event type, dot-separated, for example `user.created`. It says which
106
- * `payload` the event carries.
107
- */
108
- event_type: string;
109
- /** The category of the event. */
110
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
111
- /** When the action happened, on the server's clock. */
112
- occurred_at: string;
113
- /** When the event was stored, on the server's clock. */
114
- created_at: string;
115
- /** The ID of the actor that triggered the event. */
116
- actor_id?: string | null;
117
- /** The kind of actor that triggered the event. */
118
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
119
- /** The type of resource the event affected. */
120
- entity_type?: string | null;
121
- /** The ID of the resource the event affected. */
122
- entity_id?: string | null;
123
- /** The application or agent that produced the event. */
124
- client_id: string;
125
- /** The ID of the token in use when the event was emitted, when there was one. */
126
- token_id?: string;
127
- /** The kind of delegation. Absent when unset. */
128
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
129
- delegation_id?: string;
130
- grantor?: string;
131
- /** A device fingerprint ID that correlates events from the same device. */
132
- fingerprint?: string;
133
- /**
134
- * The ID of the HTTP request that caused the event. Events of one request
135
- * share it. Only the `request.api` event of a request carries
136
- * `metadata.client`.
137
- */
138
- request_id?: string | null;
139
- /** The ID of the session the event belongs to. */
140
- session_id?: string | null;
141
- /** An ID that correlates the events of one login flow. */
142
- flow_id?: string | null;
143
- /**
144
- * Metadata the server records when it emits the event, already redacted when
145
- * written. An event from an API request (`request.api`) may set `client`
146
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
147
- * not a live risk-evaluator input.
148
- */
149
- metadata?: {
150
- /**
151
- * What authorized the request, when it was not a grant on the event's
152
- * project. Every event of such a request carries it.
153
- */
154
- authorization?: {
155
- /**
156
- * `platform_operator`: the deployment's platform operator relation,
157
- * which administers every project.
158
- */
159
- path: 'platform_operator';
160
- /** The project the actor's user belongs to. */
161
- actor_home_project_id?: string;
162
- };
163
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
164
- client?: {
165
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
166
- ip?: string;
167
- /** The observed `User-Agent` header. */
168
- user_agent?: string;
169
- /** The `Origin` header, when present. */
170
- origin?: string;
171
- };
172
- [key: string]: unknown;
173
- };
174
- }) & {
175
- event_type: 'auth.attempt.handed_off';
176
- /**
177
- * Empty payload for event types with no typed fields, for example
178
- * `project.deleted`, `user.deleted` and `session.expired`.
179
- */
180
- payload: { [key: string]: unknown };
181
- } | ({
182
- /** The event ID, in the form `evt_<opaque>`. */
183
- id: string;
184
- /** @pattern ^[a-zA-Z0-9_-]+$ */
185
- project_id: string;
186
- /** The team the actor operated under when the event was emitted, if any. */
187
- team_id?: string | null;
188
- /**
189
- * The event type, dot-separated, for example `user.created`. It says which
190
- * `payload` the event carries.
191
- */
192
- event_type: string;
193
- /** The category of the event. */
194
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
195
- /** When the action happened, on the server's clock. */
196
- occurred_at: string;
197
- /** When the event was stored, on the server's clock. */
198
- created_at: string;
199
- /** The ID of the actor that triggered the event. */
200
- actor_id?: string | null;
201
- /** The kind of actor that triggered the event. */
202
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
203
- /** The type of resource the event affected. */
204
- entity_type?: string | null;
205
- /** The ID of the resource the event affected. */
206
- entity_id?: string | null;
207
- /** The application or agent that produced the event. */
208
- client_id: string;
209
- /** The ID of the token in use when the event was emitted, when there was one. */
210
- token_id?: string;
211
- /** The kind of delegation. Absent when unset. */
212
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
213
- delegation_id?: string;
214
- grantor?: string;
215
- /** A device fingerprint ID that correlates events from the same device. */
216
- fingerprint?: string;
217
- /**
218
- * The ID of the HTTP request that caused the event. Events of one request
219
- * share it. Only the `request.api` event of a request carries
220
- * `metadata.client`.
221
- */
222
- request_id?: string | null;
223
- /** The ID of the session the event belongs to. */
224
- session_id?: string | null;
225
- /** An ID that correlates the events of one login flow. */
226
- flow_id?: string | null;
227
- /**
228
- * Metadata the server records when it emits the event, already redacted when
229
- * written. An event from an API request (`request.api`) may set `client`
230
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
231
- * not a live risk-evaluator input.
232
- */
233
- metadata?: {
234
- /**
235
- * What authorized the request, when it was not a grant on the event's
236
- * project. Every event of such a request carries it.
237
- */
238
- authorization?: {
239
- /**
240
- * `platform_operator`: the deployment's platform operator relation,
241
- * which administers every project.
242
- */
243
- path: 'platform_operator';
244
- /** The project the actor's user belongs to. */
245
- actor_home_project_id?: string;
246
- };
247
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
248
- client?: {
249
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
250
- ip?: string;
251
- /** The observed `User-Agent` header. */
252
- user_agent?: string;
253
- /** The `Origin` header, when present. */
254
- origin?: string;
255
- };
256
- [key: string]: unknown;
257
- };
258
- }) & {
259
- event_type: 'auth.check.failed';
260
- /**
261
- * Payload for `auth.check.failed`, `auth.check.succeeded`,
262
- * `auth.sso.authorization.failed`, `auth.sso.exchange.failed` and
263
- * `auth.sso.exchange.succeeded`.
264
- * `auth_attempt_id` joins the check to its authentication attempt, so a SIEM
265
- * tool can correlate them.
266
- */
267
- payload: {
268
- check_id: string;
269
- check_type?: string;
270
- auth_attempt_id?: string;
271
- };
272
- } | ({
273
- /** The event ID, in the form `evt_<opaque>`. */
274
- id: string;
275
- /** @pattern ^[a-zA-Z0-9_-]+$ */
276
- project_id: string;
277
- /** The team the actor operated under when the event was emitted, if any. */
278
- team_id?: string | null;
279
- /**
280
- * The event type, dot-separated, for example `user.created`. It says which
281
- * `payload` the event carries.
282
- */
283
- event_type: string;
284
- /** The category of the event. */
285
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
286
- /** When the action happened, on the server's clock. */
287
- occurred_at: string;
288
- /** When the event was stored, on the server's clock. */
289
- created_at: string;
290
- /** The ID of the actor that triggered the event. */
291
- actor_id?: string | null;
292
- /** The kind of actor that triggered the event. */
293
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
294
- /** The type of resource the event affected. */
295
- entity_type?: string | null;
296
- /** The ID of the resource the event affected. */
297
- entity_id?: string | null;
298
- /** The application or agent that produced the event. */
299
- client_id: string;
300
- /** The ID of the token in use when the event was emitted, when there was one. */
301
- token_id?: string;
302
- /** The kind of delegation. Absent when unset. */
303
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
304
- delegation_id?: string;
305
- grantor?: string;
306
- /** A device fingerprint ID that correlates events from the same device. */
307
- fingerprint?: string;
308
- /**
309
- * The ID of the HTTP request that caused the event. Events of one request
310
- * share it. Only the `request.api` event of a request carries
311
- * `metadata.client`.
312
- */
313
- request_id?: string | null;
314
- /** The ID of the session the event belongs to. */
315
- session_id?: string | null;
316
- /** An ID that correlates the events of one login flow. */
317
- flow_id?: string | null;
318
- /**
319
- * Metadata the server records when it emits the event, already redacted when
320
- * written. An event from an API request (`request.api`) may set `client`
321
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
322
- * not a live risk-evaluator input.
323
- */
324
- metadata?: {
325
- /**
326
- * What authorized the request, when it was not a grant on the event's
327
- * project. Every event of such a request carries it.
328
- */
329
- authorization?: {
330
- /**
331
- * `platform_operator`: the deployment's platform operator relation,
332
- * which administers every project.
333
- */
334
- path: 'platform_operator';
335
- /** The project the actor's user belongs to. */
336
- actor_home_project_id?: string;
337
- };
338
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
339
- client?: {
340
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
341
- ip?: string;
342
- /** The observed `User-Agent` header. */
343
- user_agent?: string;
344
- /** The `Origin` header, when present. */
345
- origin?: string;
346
- };
347
- [key: string]: unknown;
348
- };
349
- }) & {
350
- event_type: 'auth.check.succeeded';
351
- /**
352
- * Payload for `auth.check.failed`, `auth.check.succeeded`,
353
- * `auth.sso.authorization.failed`, `auth.sso.exchange.failed` and
354
- * `auth.sso.exchange.succeeded`.
355
- * `auth_attempt_id` joins the check to its authentication attempt, so a SIEM
356
- * tool can correlate them.
357
- */
358
- payload: {
359
- check_id: string;
360
- check_type?: string;
361
- auth_attempt_id?: string;
362
- };
363
- } | ({
364
- /** The event ID, in the form `evt_<opaque>`. */
365
- id: string;
366
- /** @pattern ^[a-zA-Z0-9_-]+$ */
367
- project_id: string;
368
- /** The team the actor operated under when the event was emitted, if any. */
369
- team_id?: string | null;
370
- /**
371
- * The event type, dot-separated, for example `user.created`. It says which
372
- * `payload` the event carries.
373
- */
374
- event_type: string;
375
- /** The category of the event. */
376
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
377
- /** When the action happened, on the server's clock. */
378
- occurred_at: string;
379
- /** When the event was stored, on the server's clock. */
380
- created_at: string;
381
- /** The ID of the actor that triggered the event. */
382
- actor_id?: string | null;
383
- /** The kind of actor that triggered the event. */
384
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
385
- /** The type of resource the event affected. */
386
- entity_type?: string | null;
387
- /** The ID of the resource the event affected. */
388
- entity_id?: string | null;
389
- /** The application or agent that produced the event. */
390
- client_id: string;
391
- /** The ID of the token in use when the event was emitted, when there was one. */
392
- token_id?: string;
393
- /** The kind of delegation. Absent when unset. */
394
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
395
- delegation_id?: string;
396
- grantor?: string;
397
- /** A device fingerprint ID that correlates events from the same device. */
398
- fingerprint?: string;
399
- /**
400
- * The ID of the HTTP request that caused the event. Events of one request
401
- * share it. Only the `request.api` event of a request carries
402
- * `metadata.client`.
403
- */
404
- request_id?: string | null;
405
- /** The ID of the session the event belongs to. */
406
- session_id?: string | null;
407
- /** An ID that correlates the events of one login flow. */
408
- flow_id?: string | null;
409
- /**
410
- * Metadata the server records when it emits the event, already redacted when
411
- * written. An event from an API request (`request.api`) may set `client`
412
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
413
- * not a live risk-evaluator input.
414
- */
415
- metadata?: {
416
- /**
417
- * What authorized the request, when it was not a grant on the event's
418
- * project. Every event of such a request carries it.
419
- */
420
- authorization?: {
421
- /**
422
- * `platform_operator`: the deployment's platform operator relation,
423
- * which administers every project.
424
- */
425
- path: 'platform_operator';
426
- /** The project the actor's user belongs to. */
427
- actor_home_project_id?: string;
428
- };
429
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
430
- client?: {
431
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
432
- ip?: string;
433
- /** The observed `User-Agent` header. */
434
- user_agent?: string;
435
- /** The `Origin` header, when present. */
436
- origin?: string;
437
- };
438
- [key: string]: unknown;
439
- };
440
- }) & {
441
- event_type: 'auth.factor.passkey.enrolled';
442
- /** Payload for `auth.factor.*` events. */
443
- payload: {
444
- user_id: string;
445
- factor_id?: string;
446
- };
447
- } | ({
448
- /** The event ID, in the form `evt_<opaque>`. */
449
- id: string;
450
- /** @pattern ^[a-zA-Z0-9_-]+$ */
451
- project_id: string;
452
- /** The team the actor operated under when the event was emitted, if any. */
453
- team_id?: string | null;
454
- /**
455
- * The event type, dot-separated, for example `user.created`. It says which
456
- * `payload` the event carries.
457
- */
458
- event_type: string;
459
- /** The category of the event. */
460
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
461
- /** When the action happened, on the server's clock. */
462
- occurred_at: string;
463
- /** When the event was stored, on the server's clock. */
464
- created_at: string;
465
- /** The ID of the actor that triggered the event. */
466
- actor_id?: string | null;
467
- /** The kind of actor that triggered the event. */
468
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
469
- /** The type of resource the event affected. */
470
- entity_type?: string | null;
471
- /** The ID of the resource the event affected. */
472
- entity_id?: string | null;
473
- /** The application or agent that produced the event. */
474
- client_id: string;
475
- /** The ID of the token in use when the event was emitted, when there was one. */
476
- token_id?: string;
477
- /** The kind of delegation. Absent when unset. */
478
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
479
- delegation_id?: string;
480
- grantor?: string;
481
- /** A device fingerprint ID that correlates events from the same device. */
482
- fingerprint?: string;
483
- /**
484
- * The ID of the HTTP request that caused the event. Events of one request
485
- * share it. Only the `request.api` event of a request carries
486
- * `metadata.client`.
487
- */
488
- request_id?: string | null;
489
- /** The ID of the session the event belongs to. */
490
- session_id?: string | null;
491
- /** An ID that correlates the events of one login flow. */
492
- flow_id?: string | null;
493
- /**
494
- * Metadata the server records when it emits the event, already redacted when
495
- * written. An event from an API request (`request.api`) may set `client`
496
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
497
- * not a live risk-evaluator input.
498
- */
499
- metadata?: {
500
- /**
501
- * What authorized the request, when it was not a grant on the event's
502
- * project. Every event of such a request carries it.
503
- */
504
- authorization?: {
505
- /**
506
- * `platform_operator`: the deployment's platform operator relation,
507
- * which administers every project.
508
- */
509
- path: 'platform_operator';
510
- /** The project the actor's user belongs to. */
511
- actor_home_project_id?: string;
512
- };
513
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
514
- client?: {
515
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
516
- ip?: string;
517
- /** The observed `User-Agent` header. */
518
- user_agent?: string;
519
- /** The `Origin` header, when present. */
520
- origin?: string;
521
- };
522
- [key: string]: unknown;
523
- };
524
- }) & {
525
- event_type: 'auth.factor.password.set';
526
- /** Payload for `auth.factor.*` events. */
527
- payload: {
528
- user_id: string;
529
- factor_id?: string;
530
- };
531
- } | ({
532
- /** The event ID, in the form `evt_<opaque>`. */
533
- id: string;
534
- /** @pattern ^[a-zA-Z0-9_-]+$ */
535
- project_id: string;
536
- /** The team the actor operated under when the event was emitted, if any. */
537
- team_id?: string | null;
538
- /**
539
- * The event type, dot-separated, for example `user.created`. It says which
540
- * `payload` the event carries.
541
- */
542
- event_type: string;
543
- /** The category of the event. */
544
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
545
- /** When the action happened, on the server's clock. */
546
- occurred_at: string;
547
- /** When the event was stored, on the server's clock. */
548
- created_at: string;
549
- /** The ID of the actor that triggered the event. */
550
- actor_id?: string | null;
551
- /** The kind of actor that triggered the event. */
552
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
553
- /** The type of resource the event affected. */
554
- entity_type?: string | null;
555
- /** The ID of the resource the event affected. */
556
- entity_id?: string | null;
557
- /** The application or agent that produced the event. */
558
- client_id: string;
559
- /** The ID of the token in use when the event was emitted, when there was one. */
560
- token_id?: string;
561
- /** The kind of delegation. Absent when unset. */
562
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
563
- delegation_id?: string;
564
- grantor?: string;
565
- /** A device fingerprint ID that correlates events from the same device. */
566
- fingerprint?: string;
567
- /**
568
- * The ID of the HTTP request that caused the event. Events of one request
569
- * share it. Only the `request.api` event of a request carries
570
- * `metadata.client`.
571
- */
572
- request_id?: string | null;
573
- /** The ID of the session the event belongs to. */
574
- session_id?: string | null;
575
- /** An ID that correlates the events of one login flow. */
576
- flow_id?: string | null;
577
- /**
578
- * Metadata the server records when it emits the event, already redacted when
579
- * written. An event from an API request (`request.api`) may set `client`
580
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
581
- * not a live risk-evaluator input.
582
- */
583
- metadata?: {
584
- /**
585
- * What authorized the request, when it was not a grant on the event's
586
- * project. Every event of such a request carries it.
587
- */
588
- authorization?: {
589
- /**
590
- * `platform_operator`: the deployment's platform operator relation,
591
- * which administers every project.
592
- */
593
- path: 'platform_operator';
594
- /** The project the actor's user belongs to. */
595
- actor_home_project_id?: string;
596
- };
597
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
598
- client?: {
599
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
600
- ip?: string;
601
- /** The observed `User-Agent` header. */
602
- user_agent?: string;
603
- /** The `Origin` header, when present. */
604
- origin?: string;
605
- };
606
- [key: string]: unknown;
607
- };
608
- }) & {
609
- event_type: 'auth.sso.authorization.failed';
610
- /**
611
- * Payload for `auth.check.failed`, `auth.check.succeeded`,
612
- * `auth.sso.authorization.failed`, `auth.sso.exchange.failed` and
613
- * `auth.sso.exchange.succeeded`.
614
- * `auth_attempt_id` joins the check to its authentication attempt, so a SIEM
615
- * tool can correlate them.
616
- */
617
- payload: {
618
- check_id: string;
619
- check_type?: string;
620
- auth_attempt_id?: string;
621
- };
622
- } | ({
623
- /** The event ID, in the form `evt_<opaque>`. */
624
- id: string;
625
- /** @pattern ^[a-zA-Z0-9_-]+$ */
626
- project_id: string;
627
- /** The team the actor operated under when the event was emitted, if any. */
628
- team_id?: string | null;
629
- /**
630
- * The event type, dot-separated, for example `user.created`. It says which
631
- * `payload` the event carries.
632
- */
633
- event_type: string;
634
- /** The category of the event. */
635
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
636
- /** When the action happened, on the server's clock. */
637
- occurred_at: string;
638
- /** When the event was stored, on the server's clock. */
639
- created_at: string;
640
- /** The ID of the actor that triggered the event. */
641
- actor_id?: string | null;
642
- /** The kind of actor that triggered the event. */
643
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
644
- /** The type of resource the event affected. */
645
- entity_type?: string | null;
646
- /** The ID of the resource the event affected. */
647
- entity_id?: string | null;
648
- /** The application or agent that produced the event. */
649
- client_id: string;
650
- /** The ID of the token in use when the event was emitted, when there was one. */
651
- token_id?: string;
652
- /** The kind of delegation. Absent when unset. */
653
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
654
- delegation_id?: string;
655
- grantor?: string;
656
- /** A device fingerprint ID that correlates events from the same device. */
657
- fingerprint?: string;
658
- /**
659
- * The ID of the HTTP request that caused the event. Events of one request
660
- * share it. Only the `request.api` event of a request carries
661
- * `metadata.client`.
662
- */
663
- request_id?: string | null;
664
- /** The ID of the session the event belongs to. */
665
- session_id?: string | null;
666
- /** An ID that correlates the events of one login flow. */
667
- flow_id?: string | null;
668
- /**
669
- * Metadata the server records when it emits the event, already redacted when
670
- * written. An event from an API request (`request.api`) may set `client`
671
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
672
- * not a live risk-evaluator input.
673
- */
674
- metadata?: {
675
- /**
676
- * What authorized the request, when it was not a grant on the event's
677
- * project. Every event of such a request carries it.
678
- */
679
- authorization?: {
680
- /**
681
- * `platform_operator`: the deployment's platform operator relation,
682
- * which administers every project.
683
- */
684
- path: 'platform_operator';
685
- /** The project the actor's user belongs to. */
686
- actor_home_project_id?: string;
687
- };
688
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
689
- client?: {
690
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
691
- ip?: string;
692
- /** The observed `User-Agent` header. */
693
- user_agent?: string;
694
- /** The `Origin` header, when present. */
695
- origin?: string;
696
- };
697
- [key: string]: unknown;
698
- };
699
- }) & {
700
- event_type: 'auth.sso.exchange.failed';
701
- /**
702
- * Payload for `auth.check.failed`, `auth.check.succeeded`,
703
- * `auth.sso.authorization.failed`, `auth.sso.exchange.failed` and
704
- * `auth.sso.exchange.succeeded`.
705
- * `auth_attempt_id` joins the check to its authentication attempt, so a SIEM
706
- * tool can correlate them.
707
- */
708
- payload: {
709
- check_id: string;
710
- check_type?: string;
711
- auth_attempt_id?: string;
712
- };
713
- } | ({
714
- /** The event ID, in the form `evt_<opaque>`. */
715
- id: string;
716
- /** @pattern ^[a-zA-Z0-9_-]+$ */
717
- project_id: string;
718
- /** The team the actor operated under when the event was emitted, if any. */
719
- team_id?: string | null;
720
- /**
721
- * The event type, dot-separated, for example `user.created`. It says which
722
- * `payload` the event carries.
723
- */
724
- event_type: string;
725
- /** The category of the event. */
726
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
727
- /** When the action happened, on the server's clock. */
728
- occurred_at: string;
729
- /** When the event was stored, on the server's clock. */
730
- created_at: string;
731
- /** The ID of the actor that triggered the event. */
732
- actor_id?: string | null;
733
- /** The kind of actor that triggered the event. */
734
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
735
- /** The type of resource the event affected. */
736
- entity_type?: string | null;
737
- /** The ID of the resource the event affected. */
738
- entity_id?: string | null;
739
- /** The application or agent that produced the event. */
740
- client_id: string;
741
- /** The ID of the token in use when the event was emitted, when there was one. */
742
- token_id?: string;
743
- /** The kind of delegation. Absent when unset. */
744
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
745
- delegation_id?: string;
746
- grantor?: string;
747
- /** A device fingerprint ID that correlates events from the same device. */
748
- fingerprint?: string;
749
- /**
750
- * The ID of the HTTP request that caused the event. Events of one request
751
- * share it. Only the `request.api` event of a request carries
752
- * `metadata.client`.
753
- */
754
- request_id?: string | null;
755
- /** The ID of the session the event belongs to. */
756
- session_id?: string | null;
757
- /** An ID that correlates the events of one login flow. */
758
- flow_id?: string | null;
759
- /**
760
- * Metadata the server records when it emits the event, already redacted when
761
- * written. An event from an API request (`request.api`) may set `client`
762
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
763
- * not a live risk-evaluator input.
764
- */
765
- metadata?: {
766
- /**
767
- * What authorized the request, when it was not a grant on the event's
768
- * project. Every event of such a request carries it.
769
- */
770
- authorization?: {
771
- /**
772
- * `platform_operator`: the deployment's platform operator relation,
773
- * which administers every project.
774
- */
775
- path: 'platform_operator';
776
- /** The project the actor's user belongs to. */
777
- actor_home_project_id?: string;
778
- };
779
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
780
- client?: {
781
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
782
- ip?: string;
783
- /** The observed `User-Agent` header. */
784
- user_agent?: string;
785
- /** The `Origin` header, when present. */
786
- origin?: string;
787
- };
788
- [key: string]: unknown;
789
- };
790
- }) & {
791
- event_type: 'auth.sso.exchange.succeeded';
792
- /**
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.
798
- */
799
- payload: {
800
- check_id: string;
801
- check_type?: string;
802
- auth_attempt_id?: string;
803
- };
804
- } | ({
805
- /** The event ID, in the form `evt_<opaque>`. */
806
- id: string;
807
- /** @pattern ^[a-zA-Z0-9_-]+$ */
808
- project_id: string;
809
- /** The team the actor operated under when the event was emitted, if any. */
810
- team_id?: string | null;
811
- /**
812
- * The event type, dot-separated, for example `user.created`. It says which
813
- * `payload` the event carries.
814
- */
815
- event_type: string;
816
- /** The category of the event. */
817
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
818
- /** When the action happened, on the server's clock. */
819
- occurred_at: string;
820
- /** When the event was stored, on the server's clock. */
821
- created_at: string;
822
- /** The ID of the actor that triggered the event. */
823
- actor_id?: string | null;
824
- /** The kind of actor that triggered the event. */
825
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
826
- /** The type of resource the event affected. */
827
- entity_type?: string | null;
828
- /** The ID of the resource the event affected. */
829
- entity_id?: string | null;
830
- /** The application or agent that produced the event. */
831
- client_id: string;
832
- /** The ID of the token in use when the event was emitted, when there was one. */
833
- token_id?: string;
834
- /** The kind of delegation. Absent when unset. */
835
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
836
- delegation_id?: string;
837
- grantor?: string;
838
- /** A device fingerprint ID that correlates events from the same device. */
839
- fingerprint?: string;
840
- /**
841
- * The ID of the HTTP request that caused the event. Events of one request
842
- * share it. Only the `request.api` event of a request carries
843
- * `metadata.client`.
844
- */
845
- request_id?: string | null;
846
- /** The ID of the session the event belongs to. */
847
- session_id?: string | null;
848
- /** An ID that correlates the events of one login flow. */
849
- flow_id?: string | null;
850
- /**
851
- * Metadata the server records when it emits the event, already redacted when
852
- * written. An event from an API request (`request.api`) may set `client`
853
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
854
- * not a live risk-evaluator input.
855
- */
856
- metadata?: {
857
- /**
858
- * What authorized the request, when it was not a grant on the event's
859
- * project. Every event of such a request carries it.
860
- */
861
- authorization?: {
862
- /**
863
- * `platform_operator`: the deployment's platform operator relation,
864
- * which administers every project.
865
- */
866
- path: 'platform_operator';
867
- /** The project the actor's user belongs to. */
868
- actor_home_project_id?: string;
869
- };
870
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
871
- client?: {
872
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
873
- ip?: string;
874
- /** The observed `User-Agent` header. */
875
- user_agent?: string;
876
- /** The `Origin` header, when present. */
877
- origin?: string;
878
- };
879
- [key: string]: unknown;
880
- };
881
- }) & {
882
- event_type: 'auth.token.issued';
883
- /** Payload for `auth.token.issued` events. */
884
- payload: {
885
- scopes?: string[];
886
- };
887
- } | ({
888
- /** The event ID, in the form `evt_<opaque>`. */
889
- id: string;
890
- /** @pattern ^[a-zA-Z0-9_-]+$ */
891
- project_id: string;
892
- /** The team the actor operated under when the event was emitted, if any. */
893
- team_id?: string | null;
894
- /**
895
- * The event type, dot-separated, for example `user.created`. It says which
896
- * `payload` the event carries.
897
- */
898
- event_type: string;
899
- /** The category of the event. */
900
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
901
- /** When the action happened, on the server's clock. */
902
- occurred_at: string;
903
- /** When the event was stored, on the server's clock. */
904
- created_at: string;
905
- /** The ID of the actor that triggered the event. */
906
- actor_id?: string | null;
907
- /** The kind of actor that triggered the event. */
908
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
909
- /** The type of resource the event affected. */
910
- entity_type?: string | null;
911
- /** The ID of the resource the event affected. */
912
- entity_id?: string | null;
913
- /** The application or agent that produced the event. */
914
- client_id: string;
915
- /** The ID of the token in use when the event was emitted, when there was one. */
916
- token_id?: string;
917
- /** The kind of delegation. Absent when unset. */
918
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
919
- delegation_id?: string;
920
- grantor?: string;
921
- /** A device fingerprint ID that correlates events from the same device. */
922
- fingerprint?: string;
923
- /**
924
- * The ID of the HTTP request that caused the event. Events of one request
925
- * share it. Only the `request.api` event of a request carries
926
- * `metadata.client`.
927
- */
928
- request_id?: string | null;
929
- /** The ID of the session the event belongs to. */
930
- session_id?: string | null;
931
- /** An ID that correlates the events of one login flow. */
932
- flow_id?: string | null;
933
- /**
934
- * Metadata the server records when it emits the event, already redacted when
935
- * written. An event from an API request (`request.api`) may set `client`
936
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
937
- * not a live risk-evaluator input.
938
- */
939
- metadata?: {
940
- /**
941
- * What authorized the request, when it was not a grant on the event's
942
- * project. Every event of such a request carries it.
943
- */
944
- authorization?: {
945
- /**
946
- * `platform_operator`: the deployment's platform operator relation,
947
- * which administers every project.
948
- */
949
- path: 'platform_operator';
950
- /** The project the actor's user belongs to. */
951
- actor_home_project_id?: string;
952
- };
953
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
954
- client?: {
955
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
956
- ip?: string;
957
- /** The observed `User-Agent` header. */
958
- user_agent?: string;
959
- /** The `Origin` header, when present. */
960
- origin?: string;
961
- };
962
- [key: string]: unknown;
963
- };
964
- }) & {
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 };
971
- } | ({
972
- /** The event ID, in the form `evt_<opaque>`. */
973
- id: string;
974
- /** @pattern ^[a-zA-Z0-9_-]+$ */
975
- project_id: string;
976
- /** The team the actor operated under when the event was emitted, if any. */
977
- team_id?: string | null;
978
- /**
979
- * The event type, dot-separated, for example `user.created`. It says which
980
- * `payload` the event carries.
981
- */
982
- event_type: string;
983
- /** The category of the event. */
984
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
985
- /** When the action happened, on the server's clock. */
986
- occurred_at: string;
987
- /** When the event was stored, on the server's clock. */
988
- created_at: string;
989
- /** The ID of the actor that triggered the event. */
990
- actor_id?: string | null;
991
- /** The kind of actor that triggered the event. */
992
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
993
- /** The type of resource the event affected. */
994
- entity_type?: string | null;
995
- /** The ID of the resource the event affected. */
996
- entity_id?: string | null;
997
- /** The application or agent that produced the event. */
998
- client_id: string;
999
- /** The ID of the token in use when the event was emitted, when there was one. */
1000
- token_id?: string;
1001
- /** The kind of delegation. Absent when unset. */
1002
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1003
- delegation_id?: string;
1004
- grantor?: string;
1005
- /** A device fingerprint ID that correlates events from the same device. */
1006
- fingerprint?: string;
1007
- /**
1008
- * The ID of the HTTP request that caused the event. Events of one request
1009
- * share it. Only the `request.api` event of a request carries
1010
- * `metadata.client`.
1011
- */
1012
- request_id?: string | null;
1013
- /** The ID of the session the event belongs to. */
1014
- session_id?: string | null;
1015
- /** An ID that correlates the events of one login flow. */
1016
- flow_id?: string | null;
1017
- /**
1018
- * Metadata the server records when it emits the event, already redacted when
1019
- * written. An event from an API request (`request.api`) may set `client`
1020
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1021
- * not a live risk-evaluator input.
1022
- */
1023
- metadata?: {
1024
- /**
1025
- * What authorized the request, when it was not a grant on the event's
1026
- * project. Every event of such a request carries it.
1027
- */
1028
- authorization?: {
1029
- /**
1030
- * `platform_operator`: the deployment's platform operator relation,
1031
- * which administers every project.
1032
- */
1033
- path: 'platform_operator';
1034
- /** The project the actor's user belongs to. */
1035
- actor_home_project_id?: string;
1036
- };
1037
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1038
- client?: {
1039
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1040
- ip?: string;
1041
- /** The observed `User-Agent` header. */
1042
- user_agent?: string;
1043
- /** The `Origin` header, when present. */
1044
- origin?: string;
1045
- };
1046
- [key: string]: unknown;
1047
- };
1048
- }) & {
1049
- event_type: 'authz.granted';
1050
- /** Payload for `authz.granted` events. */
1051
- payload: {
1052
- principal_type?: string;
1053
- principal_id?: string;
1054
- relation?: 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. */
1071
- occurred_at: string;
1072
- /** When the event was stored, on the server's clock. */
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
- /** The application or agent that produced the event. */
1083
- client_id: string;
1084
- /** The ID of the token in use when the event was emitted, when there was one. */
1085
- token_id?: string;
1086
- /** The kind of delegation. Absent when unset. */
1087
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1088
- delegation_id?: string;
1089
- grantor?: string;
1090
- /** A device fingerprint ID that correlates events from the same device. */
1091
- fingerprint?: string;
1092
- /**
1093
- * The ID of the HTTP request that caused the event. Events of one request
1094
- * share it. Only the `request.api` event of a request carries
1095
- * `metadata.client`.
1096
- */
1097
- request_id?: string | null;
1098
- /** The ID of the session the event belongs to. */
1099
- session_id?: string | null;
1100
- /** An ID that correlates the events of one login flow. */
1101
- flow_id?: string | null;
1102
- /**
1103
- * Metadata the server records when it emits the event, already redacted when
1104
- * written. An event from an API request (`request.api`) may set `client`
1105
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1106
- * not a live risk-evaluator input.
1107
- */
1108
- metadata?: {
1109
- /**
1110
- * What authorized the request, when it was not a grant on the event's
1111
- * project. Every event of such a request carries it.
1112
- */
1113
- authorization?: {
1114
- /**
1115
- * `platform_operator`: the deployment's platform operator relation,
1116
- * which administers every project.
1117
- */
1118
- path: 'platform_operator';
1119
- /** The project the actor's user belongs to. */
1120
- actor_home_project_id?: string;
1121
- };
1122
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1123
- client?: {
1124
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1125
- ip?: string;
1126
- /** The observed `User-Agent` header. */
1127
- user_agent?: string;
1128
- /** The `Origin` header, when present. */
1129
- origin?: string;
1130
- };
1131
- [key: string]: unknown;
1132
- };
1133
- }) & {
1134
- event_type: 'authz.revoked';
1135
- /** Payload for `authz.granted` events. */
1136
- payload: {
1137
- principal_type?: string;
1138
- principal_id?: string;
1139
- relation?: string;
1140
- };
1141
- } | ({
1142
- /** The event ID, in the form `evt_<opaque>`. */
1143
- id: string;
1144
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1145
- project_id: string;
1146
- /** The team the actor operated under when the event was emitted, if any. */
1147
- team_id?: string | null;
1148
- /**
1149
- * The event type, dot-separated, for example `user.created`. It says which
1150
- * `payload` the event carries.
1151
- */
1152
- event_type: string;
1153
- /** The category of the event. */
1154
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1155
- /** When the action happened, on the server's clock. */
1156
- occurred_at: string;
1157
- /** When the event was stored, on the server's clock. */
1158
- created_at: string;
1159
- /** The ID of the actor that triggered the event. */
1160
- actor_id?: string | null;
1161
- /** The kind of actor that triggered the event. */
1162
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1163
- /** The type of resource the event affected. */
1164
- entity_type?: string | null;
1165
- /** The ID of the resource the event affected. */
1166
- entity_id?: string | null;
1167
- /** The application or agent that produced the event. */
1168
- client_id: string;
1169
- /** The ID of the token in use when the event was emitted, when there was one. */
1170
- token_id?: string;
1171
- /** The kind of delegation. Absent when unset. */
1172
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1173
- delegation_id?: string;
1174
- grantor?: string;
1175
- /** A device fingerprint ID that correlates events from the same device. */
1176
- fingerprint?: string;
1177
- /**
1178
- * The ID of the HTTP request that caused the event. Events of one request
1179
- * share it. Only the `request.api` event of a request carries
1180
- * `metadata.client`.
1181
- */
1182
- request_id?: string | null;
1183
- /** The ID of the session the event belongs to. */
1184
- session_id?: string | null;
1185
- /** An ID that correlates the events of one login flow. */
1186
- flow_id?: string | null;
1187
- /**
1188
- * Metadata the server records when it emits the event, already redacted when
1189
- * written. An event from an API request (`request.api`) may set `client`
1190
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1191
- * not a live risk-evaluator input.
1192
- */
1193
- metadata?: {
1194
- /**
1195
- * What authorized the request, when it was not a grant on the event's
1196
- * project. Every event of such a request carries it.
1197
- */
1198
- authorization?: {
1199
- /**
1200
- * `platform_operator`: the deployment's platform operator relation,
1201
- * which administers every project.
1202
- */
1203
- path: 'platform_operator';
1204
- /** The project the actor's user belongs to. */
1205
- actor_home_project_id?: string;
1206
- };
1207
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1208
- client?: {
1209
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1210
- ip?: string;
1211
- /** The observed `User-Agent` header. */
1212
- user_agent?: string;
1213
- /** The `Origin` header, when present. */
1214
- origin?: string;
1215
- };
1216
- [key: string]: unknown;
1217
- };
1218
- }) & {
1219
- event_type: 'branding.created';
1220
- /**
1221
- * Payload for `branding.created`. It holds only the fields listed here and
1222
- * leaves out `liquid_template`.
1223
- */
1224
- payload: {
1225
- layout?: string;
1226
- logo_url?: string;
1227
- font_url?: string;
1228
- hero_url?: string;
1229
- };
1230
- } | ({
1231
- /** The event ID, in the form `evt_<opaque>`. */
1232
- id: string;
1233
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1234
- project_id: string;
1235
- /** The team the actor operated under when the event was emitted, if any. */
1236
- team_id?: string | null;
1237
- /**
1238
- * The event type, dot-separated, for example `user.created`. It says which
1239
- * `payload` the event carries.
1240
- */
1241
- event_type: string;
1242
- /** The category of the event. */
1243
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1244
- /** When the action happened, on the server's clock. */
1245
- occurred_at: string;
1246
- /** When the event was stored, on the server's clock. */
1247
- created_at: string;
1248
- /** The ID of the actor that triggered the event. */
1249
- actor_id?: string | null;
1250
- /** The kind of actor that triggered the event. */
1251
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1252
- /** The type of resource the event affected. */
1253
- entity_type?: string | null;
1254
- /** The ID of the resource the event affected. */
1255
- entity_id?: string | null;
1256
- /** The application or agent that produced the event. */
1257
- client_id: string;
1258
- /** The ID of the token in use when the event was emitted, when there was one. */
1259
- token_id?: string;
1260
- /** The kind of delegation. Absent when unset. */
1261
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1262
- delegation_id?: string;
1263
- grantor?: string;
1264
- /** A device fingerprint ID that correlates events from the same device. */
1265
- fingerprint?: string;
1266
- /**
1267
- * The ID of the HTTP request that caused the event. Events of one request
1268
- * share it. Only the `request.api` event of a request carries
1269
- * `metadata.client`.
1270
- */
1271
- request_id?: string | null;
1272
- /** The ID of the session the event belongs to. */
1273
- session_id?: string | null;
1274
- /** An ID that correlates the events of one login flow. */
1275
- flow_id?: string | null;
1276
- /**
1277
- * Metadata the server records when it emits the event, already redacted when
1278
- * written. An event from an API request (`request.api`) may set `client`
1279
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1280
- * not a live risk-evaluator input.
1281
- */
1282
- metadata?: {
1283
- /**
1284
- * What authorized the request, when it was not a grant on the event's
1285
- * project. Every event of such a request carries it.
1286
- */
1287
- authorization?: {
1288
- /**
1289
- * `platform_operator`: the deployment's platform operator relation,
1290
- * which administers every project.
1291
- */
1292
- path: 'platform_operator';
1293
- /** The project the actor's user belongs to. */
1294
- actor_home_project_id?: string;
1295
- };
1296
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1297
- client?: {
1298
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1299
- ip?: string;
1300
- /** The observed `User-Agent` header. */
1301
- user_agent?: string;
1302
- /** The `Origin` header, when present. */
1303
- origin?: string;
1304
- };
1305
- [key: string]: unknown;
1306
- };
1307
- }) & {
1308
- event_type: 'deployment.created';
1309
- /**
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.
1312
- */
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
- };
1321
- } | ({
1322
- /** The event ID, in the form `evt_<opaque>`. */
1323
- id: string;
1324
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1325
- project_id: string;
1326
- /** The team the actor operated under when the event was emitted, if any. */
1327
- team_id?: string | null;
1328
- /**
1329
- * The event type, dot-separated, for example `user.created`. It says which
1330
- * `payload` the event carries.
1331
- */
1332
- event_type: string;
1333
- /** The category of the event. */
1334
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1335
- /** When the action happened, on the server's clock. */
1336
- occurred_at: string;
1337
- /** When the event was stored, on the server's clock. */
1338
- created_at: string;
1339
- /** The ID of the actor that triggered the event. */
1340
- actor_id?: string | null;
1341
- /** The kind of actor that triggered the event. */
1342
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1343
- /** The type of resource the event affected. */
1344
- entity_type?: string | null;
1345
- /** The ID of the resource the event affected. */
1346
- entity_id?: string | null;
1347
- /** The application or agent that produced the event. */
1348
- client_id: string;
1349
- /** The ID of the token in use when the event was emitted, when there was one. */
1350
- token_id?: string;
1351
- /** The kind of delegation. Absent when unset. */
1352
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1353
- delegation_id?: string;
1354
- grantor?: string;
1355
- /** A device fingerprint ID that correlates events from the same device. */
1356
- fingerprint?: string;
1357
- /**
1358
- * The ID of the HTTP request that caused the event. Events of one request
1359
- * share it. Only the `request.api` event of a request carries
1360
- * `metadata.client`.
1361
- */
1362
- request_id?: string | null;
1363
- /** The ID of the session the event belongs to. */
1364
- session_id?: string | null;
1365
- /** An ID that correlates the events of one login flow. */
1366
- flow_id?: string | null;
1367
- /**
1368
- * Metadata the server records when it emits the event, already redacted when
1369
- * written. An event from an API request (`request.api`) may set `client`
1370
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1371
- * not a live risk-evaluator input.
1372
- */
1373
- metadata?: {
1374
- /**
1375
- * What authorized the request, when it was not a grant on the event's
1376
- * project. Every event of such a request carries it.
1377
- */
1378
- authorization?: {
1379
- /**
1380
- * `platform_operator`: the deployment's platform operator relation,
1381
- * which administers every project.
1382
- */
1383
- path: 'platform_operator';
1384
- /** The project the actor's user belongs to. */
1385
- actor_home_project_id?: string;
1386
- };
1387
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1388
- client?: {
1389
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1390
- ip?: string;
1391
- /** The observed `User-Agent` header. */
1392
- user_agent?: string;
1393
- /** The `Origin` header, when present. */
1394
- origin?: string;
1395
- };
1396
- [key: string]: unknown;
1397
- };
1398
- }) & {
1399
- event_type: 'flowdef.created';
1400
- /**
1401
- * Payload for `flowdef.created`: the fields of the created flow definition
1402
- * revision, without its steps. The retired `flowdef.updated` event carries the
1403
- * changed fields in the same shape.
1404
- */
1405
- payload: {
1406
- name?: string;
1407
- status?: string;
1408
- user_schema?: string;
1409
- purposes?: {[key: string]: string};
1410
- audience?: {
1411
- app_ids?: string[];
1412
- team_ids?: string[];
1413
- };
1414
- };
1415
- } | ({
1416
- /** The event ID, in the form `evt_<opaque>`. */
1417
- id: string;
1418
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1419
- project_id: string;
1420
- /** The team the actor operated under when the event was emitted, if any. */
1421
- team_id?: string | null;
1422
- /**
1423
- * The event type, dot-separated, for example `user.created`. It says which
1424
- * `payload` the event carries.
1425
- */
1426
- event_type: string;
1427
- /** The category of the event. */
1428
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1429
- /** When the action happened, on the server's clock. */
1430
- occurred_at: string;
1431
- /** When the event was stored, on the server's clock. */
1432
- created_at: string;
1433
- /** The ID of the actor that triggered the event. */
1434
- actor_id?: string | null;
1435
- /** The kind of actor that triggered the event. */
1436
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1437
- /** The type of resource the event affected. */
1438
- entity_type?: string | null;
1439
- /** The ID of the resource the event affected. */
1440
- entity_id?: string | null;
1441
- /** The application or agent that produced the event. */
1442
- client_id: string;
1443
- /** The ID of the token in use when the event was emitted, when there was one. */
1444
- token_id?: string;
1445
- /** The kind of delegation. Absent when unset. */
1446
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1447
- delegation_id?: string;
1448
- grantor?: string;
1449
- /** A device fingerprint ID that correlates events from the same device. */
1450
- fingerprint?: string;
1451
- /**
1452
- * The ID of the HTTP request that caused the event. Events of one request
1453
- * share it. Only the `request.api` event of a request carries
1454
- * `metadata.client`.
1455
- */
1456
- request_id?: string | null;
1457
- /** The ID of the session the event belongs to. */
1458
- session_id?: string | null;
1459
- /** An ID that correlates the events of one login flow. */
1460
- flow_id?: string | null;
1461
- /**
1462
- * Metadata the server records when it emits the event, already redacted when
1463
- * written. An event from an API request (`request.api`) may set `client`
1464
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1465
- * not a live risk-evaluator input.
1466
- */
1467
- metadata?: {
1468
- /**
1469
- * What authorized the request, when it was not a grant on the event's
1470
- * project. Every event of such a request carries it.
1471
- */
1472
- authorization?: {
1473
- /**
1474
- * `platform_operator`: the deployment's platform operator relation,
1475
- * which administers every project.
1476
- */
1477
- path: 'platform_operator';
1478
- /** The project the actor's user belongs to. */
1479
- actor_home_project_id?: string;
1480
- };
1481
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1482
- client?: {
1483
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1484
- ip?: string;
1485
- /** The observed `User-Agent` header. */
1486
- user_agent?: string;
1487
- /** The `Origin` header, when present. */
1488
- origin?: string;
1489
- };
1490
- [key: string]: unknown;
1491
- };
1492
- }) & {
1493
- event_type: 'flowdef.deleted';
1494
- /**
1495
- * Empty payload for event types with no typed fields, for example
1496
- * `project.deleted`, `user.deleted` and `session.expired`.
1497
- */
1498
- payload: { [key: string]: unknown };
1499
- } | ({
1500
- /** The event ID, in the form `evt_<opaque>`. */
1501
- id: string;
1502
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1503
- project_id: string;
1504
- /** The team the actor operated under when the event was emitted, if any. */
1505
- team_id?: string | null;
1506
- /**
1507
- * The event type, dot-separated, for example `user.created`. It says which
1508
- * `payload` the event carries.
1509
- */
1510
- event_type: string;
1511
- /** The category of the event. */
1512
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1513
- /** When the action happened, on the server's clock. */
1514
- occurred_at: string;
1515
- /** When the event was stored, on the server's clock. */
1516
- created_at: string;
1517
- /** The ID of the actor that triggered the event. */
1518
- actor_id?: string | null;
1519
- /** The kind of actor that triggered the event. */
1520
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1521
- /** The type of resource the event affected. */
1522
- entity_type?: string | null;
1523
- /** The ID of the resource the event affected. */
1524
- entity_id?: string | null;
1525
- /** The application or agent that produced the event. */
1526
- client_id: string;
1527
- /** The ID of the token in use when the event was emitted, when there was one. */
1528
- token_id?: string;
1529
- /** The kind of delegation. Absent when unset. */
1530
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1531
- delegation_id?: string;
1532
- grantor?: string;
1533
- /** A device fingerprint ID that correlates events from the same device. */
1534
- fingerprint?: string;
1535
- /**
1536
- * The ID of the HTTP request that caused the event. Events of one request
1537
- * share it. Only the `request.api` event of a request carries
1538
- * `metadata.client`.
1539
- */
1540
- request_id?: string | null;
1541
- /** The ID of the session the event belongs to. */
1542
- session_id?: string | null;
1543
- /** An ID that correlates the events of one login flow. */
1544
- flow_id?: string | null;
1545
- /**
1546
- * Metadata the server records when it emits the event, already redacted when
1547
- * written. An event from an API request (`request.api`) may set `client`
1548
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1549
- * not a live risk-evaluator input.
1550
- */
1551
- metadata?: {
1552
- /**
1553
- * What authorized the request, when it was not a grant on the event's
1554
- * project. Every event of such a request carries it.
1555
- */
1556
- authorization?: {
1557
- /**
1558
- * `platform_operator`: the deployment's platform operator relation,
1559
- * which administers every project.
1560
- */
1561
- path: 'platform_operator';
1562
- /** The project the actor's user belongs to. */
1563
- actor_home_project_id?: string;
1564
- };
1565
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1566
- client?: {
1567
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1568
- ip?: string;
1569
- /** The observed `User-Agent` header. */
1570
- user_agent?: string;
1571
- /** The `Origin` header, when present. */
1572
- origin?: string;
1573
- };
1574
- [key: string]: unknown;
1575
- };
1576
- }) & {
1577
- event_type: 'flowdef.updated';
1578
- /**
1579
- * Payload for `flowdef.created`: the fields of the created flow definition
1580
- * revision, without its steps. The retired `flowdef.updated` event carries the
1581
- * changed fields in the same shape.
1582
- */
1583
- payload: {
1584
- name?: string;
1585
- status?: string;
1586
- user_schema?: string;
1587
- purposes?: {[key: string]: string};
1588
- audience?: {
1589
- app_ids?: string[];
1590
- team_ids?: string[];
1591
- };
1592
- };
1593
- } | ({
1594
- /** The event ID, in the form `evt_<opaque>`. */
1595
- id: string;
1596
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1597
- project_id: string;
1598
- /** The team the actor operated under when the event was emitted, if any. */
1599
- team_id?: string | null;
1600
- /**
1601
- * The event type, dot-separated, for example `user.created`. It says which
1602
- * `payload` the event carries.
1603
- */
1604
- event_type: string;
1605
- /** The category of the event. */
1606
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1607
- /** When the action happened, on the server's clock. */
1608
- occurred_at: string;
1609
- /** When the event was stored, on the server's clock. */
1610
- created_at: string;
1611
- /** The ID of the actor that triggered the event. */
1612
- actor_id?: string | null;
1613
- /** The kind of actor that triggered the event. */
1614
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1615
- /** The type of resource the event affected. */
1616
- entity_type?: string | null;
1617
- /** The ID of the resource the event affected. */
1618
- entity_id?: string | null;
1619
- /** The application or agent that produced the event. */
1620
- client_id: string;
1621
- /** The ID of the token in use when the event was emitted, when there was one. */
1622
- token_id?: string;
1623
- /** The kind of delegation. Absent when unset. */
1624
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1625
- delegation_id?: string;
1626
- grantor?: string;
1627
- /** A device fingerprint ID that correlates events from the same device. */
1628
- fingerprint?: string;
1629
- /**
1630
- * The ID of the HTTP request that caused the event. Events of one request
1631
- * share it. Only the `request.api` event of a request carries
1632
- * `metadata.client`.
1633
- */
1634
- request_id?: string | null;
1635
- /** The ID of the session the event belongs to. */
1636
- session_id?: string | null;
1637
- /** An ID that correlates the events of one login flow. */
1638
- flow_id?: string | null;
1639
- /**
1640
- * Metadata the server records when it emits the event, already redacted when
1641
- * written. An event from an API request (`request.api`) may set `client`
1642
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1643
- * not a live risk-evaluator input.
1644
- */
1645
- metadata?: {
1646
- /**
1647
- * What authorized the request, when it was not a grant on the event's
1648
- * project. Every event of such a request carries it.
1649
- */
1650
- authorization?: {
1651
- /**
1652
- * `platform_operator`: the deployment's platform operator relation,
1653
- * which administers every project.
1654
- */
1655
- path: 'platform_operator';
1656
- /** The project the actor's user belongs to. */
1657
- actor_home_project_id?: string;
1658
- };
1659
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1660
- client?: {
1661
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1662
- ip?: string;
1663
- /** The observed `User-Agent` header. */
1664
- user_agent?: string;
1665
- /** The `Origin` header, when present. */
1666
- origin?: string;
1667
- };
1668
- [key: string]: unknown;
1669
- };
1670
- }) & {
1671
- event_type: 'idp.created';
1672
- /**
1673
- * Payload for `idp.created`, which holds every field, and `idp.updated`, which
1674
- * holds only the changed fields plus the new `revision_id`. The identity
1675
- * provider (IdP) connection ID is the event's `entity_id`. The connection
1676
- * document, and with it the reference to its `client_secret`, is never
1677
- * included.
1678
- */
1679
- payload: {
1680
- slug?: string;
1681
- protocol?: string;
1682
- /**
1683
- * The rendering template hint. On `idp.updated`, the empty string means
1684
- * the revision removed it.
1685
- */
1686
- template?: string;
1687
- display_name?: string;
1688
- /** The revision the write appended. */
1689
- revision_id: string;
1690
- };
1691
- } | ({
1692
- /** The event ID, in the form `evt_<opaque>`. */
1693
- id: string;
1694
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1695
- project_id: string;
1696
- /** The team the actor operated under when the event was emitted, if any. */
1697
- team_id?: string | null;
1698
- /**
1699
- * The event type, dot-separated, for example `user.created`. It says which
1700
- * `payload` the event carries.
1701
- */
1702
- event_type: string;
1703
- /** The category of the event. */
1704
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1705
- /** When the action happened, on the server's clock. */
1706
- occurred_at: string;
1707
- /** When the event was stored, on the server's clock. */
1708
- created_at: string;
1709
- /** The ID of the actor that triggered the event. */
1710
- actor_id?: string | null;
1711
- /** The kind of actor that triggered the event. */
1712
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1713
- /** The type of resource the event affected. */
1714
- entity_type?: string | null;
1715
- /** The ID of the resource the event affected. */
1716
- entity_id?: string | null;
1717
- /** The application or agent that produced the event. */
1718
- client_id: string;
1719
- /** The ID of the token in use when the event was emitted, when there was one. */
1720
- token_id?: string;
1721
- /** The kind of delegation. Absent when unset. */
1722
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1723
- delegation_id?: string;
1724
- grantor?: string;
1725
- /** A device fingerprint ID that correlates events from the same device. */
1726
- fingerprint?: string;
1727
- /**
1728
- * The ID of the HTTP request that caused the event. Events of one request
1729
- * share it. Only the `request.api` event of a request carries
1730
- * `metadata.client`.
1731
- */
1732
- request_id?: string | null;
1733
- /** The ID of the session the event belongs to. */
1734
- session_id?: string | null;
1735
- /** An ID that correlates the events of one login flow. */
1736
- flow_id?: string | null;
1737
- /**
1738
- * Metadata the server records when it emits the event, already redacted when
1739
- * written. An event from an API request (`request.api`) may set `client`
1740
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1741
- * not a live risk-evaluator input.
1742
- */
1743
- metadata?: {
1744
- /**
1745
- * What authorized the request, when it was not a grant on the event's
1746
- * project. Every event of such a request carries it.
1747
- */
1748
- authorization?: {
1749
- /**
1750
- * `platform_operator`: the deployment's platform operator relation,
1751
- * which administers every project.
1752
- */
1753
- path: 'platform_operator';
1754
- /** The project the actor's user belongs to. */
1755
- actor_home_project_id?: string;
1756
- };
1757
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1758
- client?: {
1759
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1760
- ip?: string;
1761
- /** The observed `User-Agent` header. */
1762
- user_agent?: string;
1763
- /** The `Origin` header, when present. */
1764
- origin?: string;
1765
- };
1766
- [key: string]: unknown;
1767
- };
1768
- }) & {
1769
- event_type: 'idp.identity_link.created';
1770
- /**
1771
- * Payload for `idp.identity_link.created`, sent when a sign-in through an
1772
- * identity provider (IdP) creates a user and links the provider account to it.
1773
- * The link ID is the event's `entity_id`. The provider's subject and claims, the
1774
- * profile data it sends about the account, are never included.
1775
- */
1776
- payload: {
1777
- /** The IdP connection the account signed in through. */
1778
- connection_id: string;
1779
- /** The user the provider account is linked to. */
1780
- user_id: string;
1781
- };
1782
- } | ({
1783
- /** The event ID, in the form `evt_<opaque>`. */
1784
- id: string;
1785
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1786
- project_id: string;
1787
- /** The team the actor operated under when the event was emitted, if any. */
1788
- team_id?: string | null;
1789
- /**
1790
- * The event type, dot-separated, for example `user.created`. It says which
1791
- * `payload` the event carries.
1792
- */
1793
- event_type: string;
1794
- /** The category of the event. */
1795
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1796
- /** When the action happened, on the server's clock. */
1797
- occurred_at: string;
1798
- /** When the event was stored, on the server's clock. */
1799
- created_at: string;
1800
- /** The ID of the actor that triggered the event. */
1801
- actor_id?: string | null;
1802
- /** The kind of actor that triggered the event. */
1803
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1804
- /** The type of resource the event affected. */
1805
- entity_type?: string | null;
1806
- /** The ID of the resource the event affected. */
1807
- entity_id?: string | null;
1808
- /** The application or agent that produced the event. */
1809
- client_id: string;
1810
- /** The ID of the token in use when the event was emitted, when there was one. */
1811
- token_id?: string;
1812
- /** The kind of delegation. Absent when unset. */
1813
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1814
- delegation_id?: string;
1815
- grantor?: string;
1816
- /** A device fingerprint ID that correlates events from the same device. */
1817
- fingerprint?: string;
1818
- /**
1819
- * The ID of the HTTP request that caused the event. Events of one request
1820
- * share it. Only the `request.api` event of a request carries
1821
- * `metadata.client`.
1822
- */
1823
- request_id?: string | null;
1824
- /** The ID of the session the event belongs to. */
1825
- session_id?: string | null;
1826
- /** An ID that correlates the events of one login flow. */
1827
- flow_id?: string | null;
1828
- /**
1829
- * Metadata the server records when it emits the event, already redacted when
1830
- * written. An event from an API request (`request.api`) may set `client`
1831
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1832
- * not a live risk-evaluator input.
1833
- */
1834
- metadata?: {
1835
- /**
1836
- * What authorized the request, when it was not a grant on the event's
1837
- * project. Every event of such a request carries it.
1838
- */
1839
- authorization?: {
1840
- /**
1841
- * `platform_operator`: the deployment's platform operator relation,
1842
- * which administers every project.
1843
- */
1844
- path: 'platform_operator';
1845
- /** The project the actor's user belongs to. */
1846
- actor_home_project_id?: string;
1847
- };
1848
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1849
- client?: {
1850
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1851
- ip?: string;
1852
- /** The observed `User-Agent` header. */
1853
- user_agent?: string;
1854
- /** The `Origin` header, when present. */
1855
- origin?: string;
1856
- };
1857
- [key: string]: unknown;
1858
- };
1859
- }) & {
1860
- event_type: 'idp.updated';
1861
- /**
1862
- * Payload for `idp.created`, which holds every field, and `idp.updated`, which
1863
- * holds only the changed fields plus the new `revision_id`. The identity
1864
- * provider (IdP) connection ID is the event's `entity_id`. The connection
1865
- * document, and with it the reference to its `client_secret`, is never
1866
- * included.
1867
- */
1868
- payload: {
1869
- slug?: string;
1870
- protocol?: string;
1871
- /**
1872
- * The rendering template hint. On `idp.updated`, the empty string means
1873
- * the revision removed it.
1874
- */
1875
- template?: string;
1876
- display_name?: string;
1877
- /** The revision the write appended. */
1878
- revision_id: string;
1879
- };
1880
- } | ({
1881
- /** The event ID, in the form `evt_<opaque>`. */
1882
- id: string;
1883
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1884
- project_id: string;
1885
- /** The team the actor operated under when the event was emitted, if any. */
1886
- team_id?: string | null;
1887
- /**
1888
- * The event type, dot-separated, for example `user.created`. It says which
1889
- * `payload` the event carries.
1890
- */
1891
- event_type: string;
1892
- /** The category of the event. */
1893
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1894
- /** When the action happened, on the server's clock. */
1895
- occurred_at: string;
1896
- /** When the event was stored, on the server's clock. */
1897
- created_at: string;
1898
- /** The ID of the actor that triggered the event. */
1899
- actor_id?: string | null;
1900
- /** The kind of actor that triggered the event. */
1901
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1902
- /** The type of resource the event affected. */
1903
- entity_type?: string | null;
1904
- /** The ID of the resource the event affected. */
1905
- entity_id?: string | null;
1906
- /** The application or agent that produced the event. */
1907
- client_id: string;
1908
- /** The ID of the token in use when the event was emitted, when there was one. */
1909
- token_id?: string;
1910
- /** The kind of delegation. Absent when unset. */
1911
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1912
- delegation_id?: string;
1913
- grantor?: string;
1914
- /** A device fingerprint ID that correlates events from the same device. */
1915
- fingerprint?: string;
1916
- /**
1917
- * The ID of the HTTP request that caused the event. Events of one request
1918
- * share it. Only the `request.api` event of a request carries
1919
- * `metadata.client`.
1920
- */
1921
- request_id?: string | null;
1922
- /** The ID of the session the event belongs to. */
1923
- session_id?: string | null;
1924
- /** An ID that correlates the events of one login flow. */
1925
- flow_id?: string | null;
1926
- /**
1927
- * Metadata the server records when it emits the event, already redacted when
1928
- * written. An event from an API request (`request.api`) may set `client`
1929
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
1930
- * not a live risk-evaluator input.
1931
- */
1932
- metadata?: {
1933
- /**
1934
- * What authorized the request, when it was not a grant on the event's
1935
- * project. Every event of such a request carries it.
1936
- */
1937
- authorization?: {
1938
- /**
1939
- * `platform_operator`: the deployment's platform operator relation,
1940
- * which administers every project.
1941
- */
1942
- path: 'platform_operator';
1943
- /** The project the actor's user belongs to. */
1944
- actor_home_project_id?: string;
1945
- };
1946
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
1947
- client?: {
1948
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
1949
- ip?: string;
1950
- /** The observed `User-Agent` header. */
1951
- user_agent?: string;
1952
- /** The `Origin` header, when present. */
1953
- origin?: string;
1954
- };
1955
- [key: string]: unknown;
1956
- };
1957
- }) & ({
1958
- event_type: 'origin.added';
1959
- /** Payload for `origin.added` and `origin.removed`. */
1960
- payload: {
1961
- pattern: string;
1962
- kind: 'primary' | 'preview';
1963
- };
1964
- }) | ({
1965
- /** The event ID, in the form `evt_<opaque>`. */
1966
- id: string;
1967
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1968
- project_id: string;
1969
- /** The team the actor operated under when the event was emitted, if any. */
1970
- team_id?: string | null;
1971
- /**
1972
- * The event type, dot-separated, for example `user.created`. It says which
1973
- * `payload` the event carries.
1974
- */
1975
- event_type: string;
1976
- /** The category of the event. */
1977
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
1978
- /** When the action happened, on the server's clock. */
1979
- occurred_at: string;
1980
- /** When the event was stored, on the server's clock. */
1981
- created_at: string;
1982
- /** The ID of the actor that triggered the event. */
1983
- actor_id?: string | null;
1984
- /** The kind of actor that triggered the event. */
1985
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
1986
- /** The type of resource the event affected. */
1987
- entity_type?: string | null;
1988
- /** The ID of the resource the event affected. */
1989
- entity_id?: string | null;
1990
- /** The application or agent that produced the event. */
1991
- client_id: string;
1992
- /** The ID of the token in use when the event was emitted, when there was one. */
1993
- token_id?: string;
1994
- /** The kind of delegation. Absent when unset. */
1995
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
1996
- delegation_id?: string;
1997
- grantor?: string;
1998
- /** A device fingerprint ID that correlates events from the same device. */
1999
- fingerprint?: string;
2000
- /**
2001
- * The ID of the HTTP request that caused the event. Events of one request
2002
- * share it. Only the `request.api` event of a request carries
2003
- * `metadata.client`.
2004
- */
2005
- request_id?: string | null;
2006
- /** The ID of the session the event belongs to. */
2007
- session_id?: string | null;
2008
- /** An ID that correlates the events of one login flow. */
2009
- flow_id?: string | null;
2010
- /**
2011
- * Metadata the server records when it emits the event, already redacted when
2012
- * written. An event from an API request (`request.api`) may set `client`
2013
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2014
- * not a live risk-evaluator input.
2015
- */
2016
- metadata?: {
2017
- /**
2018
- * What authorized the request, when it was not a grant on the event's
2019
- * project. Every event of such a request carries it.
2020
- */
2021
- authorization?: {
2022
- /**
2023
- * `platform_operator`: the deployment's platform operator relation,
2024
- * which administers every project.
2025
- */
2026
- path: 'platform_operator';
2027
- /** The project the actor's user belongs to. */
2028
- actor_home_project_id?: string;
2029
- };
2030
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2031
- client?: {
2032
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2033
- ip?: string;
2034
- /** The observed `User-Agent` header. */
2035
- user_agent?: string;
2036
- /** The `Origin` header, when present. */
2037
- origin?: string;
2038
- };
2039
- [key: string]: unknown;
2040
- };
2041
- }) & ({
2042
- event_type: 'origin.removed';
2043
- /** Payload for `origin.added` and `origin.removed`. */
2044
- payload: {
2045
- pattern: string;
2046
- kind: 'primary' | 'preview';
2047
- };
2048
- }) | ({
2049
- /** The event ID, in the form `evt_<opaque>`. */
2050
- id: string;
2051
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2052
- project_id: string;
2053
- /** The team the actor operated under when the event was emitted, if any. */
2054
- team_id?: string | null;
2055
- /**
2056
- * The event type, dot-separated, for example `user.created`. It says which
2057
- * `payload` the event carries.
2058
- */
2059
- event_type: string;
2060
- /** The category of the event. */
2061
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2062
- /** When the action happened, on the server's clock. */
2063
- occurred_at: string;
2064
- /** When the event was stored, on the server's clock. */
2065
- created_at: string;
2066
- /** The ID of the actor that triggered the event. */
2067
- actor_id?: string | null;
2068
- /** The kind of actor that triggered the event. */
2069
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2070
- /** The type of resource the event affected. */
2071
- entity_type?: string | null;
2072
- /** The ID of the resource the event affected. */
2073
- entity_id?: string | null;
2074
- /** The application or agent that produced the event. */
2075
- client_id: string;
2076
- /** The ID of the token in use when the event was emitted, when there was one. */
2077
- token_id?: string;
2078
- /** The kind of delegation. Absent when unset. */
2079
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2080
- delegation_id?: string;
2081
- grantor?: string;
2082
- /** A device fingerprint ID that correlates events from the same device. */
2083
- fingerprint?: string;
2084
- /**
2085
- * The ID of the HTTP request that caused the event. Events of one request
2086
- * share it. Only the `request.api` event of a request carries
2087
- * `metadata.client`.
2088
- */
2089
- request_id?: string | null;
2090
- /** The ID of the session the event belongs to. */
2091
- session_id?: string | null;
2092
- /** An ID that correlates the events of one login flow. */
2093
- flow_id?: string | null;
2094
- /**
2095
- * Metadata the server records when it emits the event, already redacted when
2096
- * written. An event from an API request (`request.api`) may set `client`
2097
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2098
- * not a live risk-evaluator input.
2099
- */
2100
- metadata?: {
2101
- /**
2102
- * What authorized the request, when it was not a grant on the event's
2103
- * project. Every event of such a request carries it.
2104
- */
2105
- authorization?: {
2106
- /**
2107
- * `platform_operator`: the deployment's platform operator relation,
2108
- * which administers every project.
2109
- */
2110
- path: 'platform_operator';
2111
- /** The project the actor's user belongs to. */
2112
- actor_home_project_id?: string;
2113
- };
2114
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2115
- client?: {
2116
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2117
- ip?: string;
2118
- /** The observed `User-Agent` header. */
2119
- user_agent?: string;
2120
- /** The `Origin` header, when present. */
2121
- origin?: string;
2122
- };
2123
- [key: string]: unknown;
2124
- };
2125
- }) & {
2126
- event_type: 'policy.created';
2127
- /**
2128
- * Payload for `policy.created`, the first publish of an operation's policy,
2129
- * and `policy.updated`, every later publish. The policy ID is the event's
2130
- * `entity_id`. `config` holds the published settings, which are configuration
2131
- * values, never user data.
2132
- */
2133
- payload: {
2134
- /** The operation the policy guards, for example `auth.factor.password.set`. */
2135
- operation: string;
2136
- /** The revision the publish appended. */
2137
- revision_id: string;
2138
- /** The settings as published. */
2139
- config: { [key: string]: unknown };
2140
- };
2141
- } | ({
2142
- /** The event ID, in the form `evt_<opaque>`. */
2143
- id: string;
2144
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2145
- project_id: string;
2146
- /** The team the actor operated under when the event was emitted, if any. */
2147
- team_id?: string | null;
2148
- /**
2149
- * The event type, dot-separated, for example `user.created`. It says which
2150
- * `payload` the event carries.
2151
- */
2152
- event_type: string;
2153
- /** The category of the event. */
2154
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2155
- /** When the action happened, on the server's clock. */
2156
- occurred_at: string;
2157
- /** When the event was stored, on the server's clock. */
2158
- created_at: string;
2159
- /** The ID of the actor that triggered the event. */
2160
- actor_id?: string | null;
2161
- /** The kind of actor that triggered the event. */
2162
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2163
- /** The type of resource the event affected. */
2164
- entity_type?: string | null;
2165
- /** The ID of the resource the event affected. */
2166
- entity_id?: string | null;
2167
- /** The application or agent that produced the event. */
2168
- client_id: string;
2169
- /** The ID of the token in use when the event was emitted, when there was one. */
2170
- token_id?: string;
2171
- /** The kind of delegation. Absent when unset. */
2172
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2173
- delegation_id?: string;
2174
- grantor?: string;
2175
- /** A device fingerprint ID that correlates events from the same device. */
2176
- fingerprint?: string;
2177
- /**
2178
- * The ID of the HTTP request that caused the event. Events of one request
2179
- * share it. Only the `request.api` event of a request carries
2180
- * `metadata.client`.
2181
- */
2182
- request_id?: string | null;
2183
- /** The ID of the session the event belongs to. */
2184
- session_id?: string | null;
2185
- /** An ID that correlates the events of one login flow. */
2186
- flow_id?: string | null;
2187
- /**
2188
- * Metadata the server records when it emits the event, already redacted when
2189
- * written. An event from an API request (`request.api`) may set `client`
2190
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2191
- * not a live risk-evaluator input.
2192
- */
2193
- metadata?: {
2194
- /**
2195
- * What authorized the request, when it was not a grant on the event's
2196
- * project. Every event of such a request carries it.
2197
- */
2198
- authorization?: {
2199
- /**
2200
- * `platform_operator`: the deployment's platform operator relation,
2201
- * which administers every project.
2202
- */
2203
- path: 'platform_operator';
2204
- /** The project the actor's user belongs to. */
2205
- actor_home_project_id?: string;
2206
- };
2207
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2208
- client?: {
2209
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2210
- ip?: string;
2211
- /** The observed `User-Agent` header. */
2212
- user_agent?: string;
2213
- /** The `Origin` header, when present. */
2214
- origin?: string;
2215
- };
2216
- [key: string]: unknown;
2217
- };
2218
- }) & {
2219
- event_type: 'policy.updated';
2220
- /**
2221
- * Payload for `policy.created`, the first publish of an operation's policy,
2222
- * and `policy.updated`, every later publish. The policy ID is the event's
2223
- * `entity_id`. `config` holds the published settings, which are configuration
2224
- * values, never user data.
2225
- */
2226
- payload: {
2227
- /** The operation the policy guards, for example `auth.factor.password.set`. */
2228
- operation: string;
2229
- /** The revision the publish appended. */
2230
- revision_id: string;
2231
- /** The settings as published. */
2232
- config: { [key: string]: unknown };
2233
- };
2234
- } | ({
2235
- /** The event ID, in the form `evt_<opaque>`. */
2236
- id: string;
2237
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2238
- project_id: string;
2239
- /** The team the actor operated under when the event was emitted, if any. */
2240
- team_id?: string | null;
2241
- /**
2242
- * The event type, dot-separated, for example `user.created`. It says which
2243
- * `payload` the event carries.
2244
- */
2245
- event_type: string;
2246
- /** The category of the event. */
2247
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2248
- /** When the action happened, on the server's clock. */
2249
- occurred_at: string;
2250
- /** When the event was stored, on the server's clock. */
2251
- created_at: string;
2252
- /** The ID of the actor that triggered the event. */
2253
- actor_id?: string | null;
2254
- /** The kind of actor that triggered the event. */
2255
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2256
- /** The type of resource the event affected. */
2257
- entity_type?: string | null;
2258
- /** The ID of the resource the event affected. */
2259
- entity_id?: string | null;
2260
- /** The application or agent that produced the event. */
2261
- client_id: string;
2262
- /** The ID of the token in use when the event was emitted, when there was one. */
2263
- token_id?: string;
2264
- /** The kind of delegation. Absent when unset. */
2265
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2266
- delegation_id?: string;
2267
- grantor?: string;
2268
- /** A device fingerprint ID that correlates events from the same device. */
2269
- fingerprint?: string;
2270
- /**
2271
- * The ID of the HTTP request that caused the event. Events of one request
2272
- * share it. Only the `request.api` event of a request carries
2273
- * `metadata.client`.
2274
- */
2275
- request_id?: string | null;
2276
- /** The ID of the session the event belongs to. */
2277
- session_id?: string | null;
2278
- /** An ID that correlates the events of one login flow. */
2279
- flow_id?: string | null;
2280
- /**
2281
- * Metadata the server records when it emits the event, already redacted when
2282
- * written. An event from an API request (`request.api`) may set `client`
2283
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2284
- * not a live risk-evaluator input.
2285
- */
2286
- metadata?: {
2287
- /**
2288
- * What authorized the request, when it was not a grant on the event's
2289
- * project. Every event of such a request carries it.
2290
- */
2291
- authorization?: {
2292
- /**
2293
- * `platform_operator`: the deployment's platform operator relation,
2294
- * which administers every project.
2295
- */
2296
- path: 'platform_operator';
2297
- /** The project the actor's user belongs to. */
2298
- actor_home_project_id?: string;
2299
- };
2300
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2301
- client?: {
2302
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2303
- ip?: string;
2304
- /** The observed `User-Agent` header. */
2305
- user_agent?: string;
2306
- /** The `Origin` header, when present. */
2307
- origin?: string;
2308
- };
2309
- [key: string]: unknown;
2310
- };
2311
- }) & {
2312
- event_type: 'preview.removed';
2313
- /**
2314
- * Empty payload for event types with no typed fields, for example
2315
- * `project.deleted`, `user.deleted` and `session.expired`.
2316
- */
2317
- payload: { [key: string]: unknown };
2318
- } | ({
2319
- /** The event ID, in the form `evt_<opaque>`. */
2320
- id: string;
2321
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2322
- project_id: string;
2323
- /** The team the actor operated under when the event was emitted, if any. */
2324
- team_id?: string | null;
2325
- /**
2326
- * The event type, dot-separated, for example `user.created`. It says which
2327
- * `payload` the event carries.
2328
- */
2329
- event_type: string;
2330
- /** The category of the event. */
2331
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2332
- /** When the action happened, on the server's clock. */
2333
- occurred_at: string;
2334
- /** When the event was stored, on the server's clock. */
2335
- created_at: string;
2336
- /** The ID of the actor that triggered the event. */
2337
- actor_id?: string | null;
2338
- /** The kind of actor that triggered the event. */
2339
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2340
- /** The type of resource the event affected. */
2341
- entity_type?: string | null;
2342
- /** The ID of the resource the event affected. */
2343
- entity_id?: string | null;
2344
- /** The application or agent that produced the event. */
2345
- client_id: string;
2346
- /** The ID of the token in use when the event was emitted, when there was one. */
2347
- token_id?: string;
2348
- /** The kind of delegation. Absent when unset. */
2349
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2350
- delegation_id?: string;
2351
- grantor?: string;
2352
- /** A device fingerprint ID that correlates events from the same device. */
2353
- fingerprint?: string;
2354
- /**
2355
- * The ID of the HTTP request that caused the event. Events of one request
2356
- * share it. Only the `request.api` event of a request carries
2357
- * `metadata.client`.
2358
- */
2359
- request_id?: string | null;
2360
- /** The ID of the session the event belongs to. */
2361
- session_id?: string | null;
2362
- /** An ID that correlates the events of one login flow. */
2363
- flow_id?: string | null;
2364
- /**
2365
- * Metadata the server records when it emits the event, already redacted when
2366
- * written. An event from an API request (`request.api`) may set `client`
2367
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2368
- * not a live risk-evaluator input.
2369
- */
2370
- metadata?: {
2371
- /**
2372
- * What authorized the request, when it was not a grant on the event's
2373
- * project. Every event of such a request carries it.
2374
- */
2375
- authorization?: {
2376
- /**
2377
- * `platform_operator`: the deployment's platform operator relation,
2378
- * which administers every project.
2379
- */
2380
- path: 'platform_operator';
2381
- /** The project the actor's user belongs to. */
2382
- actor_home_project_id?: string;
2383
- };
2384
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2385
- client?: {
2386
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2387
- ip?: string;
2388
- /** The observed `User-Agent` header. */
2389
- user_agent?: string;
2390
- /** The `Origin` header, when present. */
2391
- origin?: string;
2392
- };
2393
- [key: string]: unknown;
2394
- };
2395
- }) & ({
2396
- event_type: 'project.created';
2397
- /**
2398
- * Payload for `project.created`, which holds every field, and
2399
- * `project.updated`, which holds only the changed fields.
2400
- */
2401
- payload: {
2402
- name?: string;
2403
- origins?: ({
2404
- /**
2405
- * The origin pattern: an exact origin for `primary`, or an origin with at
2406
- * most one `*` for `preview`.
2407
- */
2408
- pattern: string;
2409
- /**
2410
- * What the pattern is for: `primary` admits requests from the URLs it
2411
- * matches, `preview` bounds which URLs a preview deploy may register.
2412
- */
2413
- kind: 'primary' | 'preview';
2414
- })[];
2415
- /**
2416
- * The password hashing algorithm the project switched to. The empty string
2417
- * means it was handed back to the server default. Absent when the update
2418
- * did not touch hashing.
2419
- */
2420
- password_hash_algorithm?: string;
2421
- };
2422
- }) | ({
2423
- /** The event ID, in the form `evt_<opaque>`. */
2424
- id: string;
2425
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2426
- project_id: string;
2427
- /** The team the actor operated under when the event was emitted, if any. */
2428
- team_id?: string | null;
2429
- /**
2430
- * The event type, dot-separated, for example `user.created`. It says which
2431
- * `payload` the event carries.
2432
- */
2433
- event_type: string;
2434
- /** The category of the event. */
2435
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2436
- /** When the action happened, on the server's clock. */
2437
- occurred_at: string;
2438
- /** When the event was stored, on the server's clock. */
2439
- created_at: string;
2440
- /** The ID of the actor that triggered the event. */
2441
- actor_id?: string | null;
2442
- /** The kind of actor that triggered the event. */
2443
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2444
- /** The type of resource the event affected. */
2445
- entity_type?: string | null;
2446
- /** The ID of the resource the event affected. */
2447
- entity_id?: string | null;
2448
- /** The application or agent that produced the event. */
2449
- client_id: string;
2450
- /** The ID of the token in use when the event was emitted, when there was one. */
2451
- token_id?: string;
2452
- /** The kind of delegation. Absent when unset. */
2453
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2454
- delegation_id?: string;
2455
- grantor?: string;
2456
- /** A device fingerprint ID that correlates events from the same device. */
2457
- fingerprint?: string;
2458
- /**
2459
- * The ID of the HTTP request that caused the event. Events of one request
2460
- * share it. Only the `request.api` event of a request carries
2461
- * `metadata.client`.
2462
- */
2463
- request_id?: string | null;
2464
- /** The ID of the session the event belongs to. */
2465
- session_id?: string | null;
2466
- /** An ID that correlates the events of one login flow. */
2467
- flow_id?: string | null;
2468
- /**
2469
- * Metadata the server records when it emits the event, already redacted when
2470
- * written. An event from an API request (`request.api`) may set `client`
2471
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2472
- * not a live risk-evaluator input.
2473
- */
2474
- metadata?: {
2475
- /**
2476
- * What authorized the request, when it was not a grant on the event's
2477
- * project. Every event of such a request carries it.
2478
- */
2479
- authorization?: {
2480
- /**
2481
- * `platform_operator`: the deployment's platform operator relation,
2482
- * which administers every project.
2483
- */
2484
- path: 'platform_operator';
2485
- /** The project the actor's user belongs to. */
2486
- actor_home_project_id?: string;
2487
- };
2488
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2489
- client?: {
2490
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2491
- ip?: string;
2492
- /** The observed `User-Agent` header. */
2493
- user_agent?: string;
2494
- /** The `Origin` header, when present. */
2495
- origin?: string;
2496
- };
2497
- [key: string]: unknown;
2498
- };
2499
- }) & {
2500
- event_type: 'project.deleted';
2501
- /**
2502
- * Empty payload for event types with no typed fields, for example
2503
- * `project.deleted`, `user.deleted` and `session.expired`.
2504
- */
2505
- payload: { [key: string]: unknown };
2506
- } | ({
2507
- /** The event ID, in the form `evt_<opaque>`. */
2508
- id: string;
2509
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2510
- project_id: string;
2511
- /** The team the actor operated under when the event was emitted, if any. */
2512
- team_id?: string | null;
2513
- /**
2514
- * The event type, dot-separated, for example `user.created`. It says which
2515
- * `payload` the event carries.
2516
- */
2517
- event_type: string;
2518
- /** The category of the event. */
2519
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2520
- /** When the action happened, on the server's clock. */
2521
- occurred_at: string;
2522
- /** When the event was stored, on the server's clock. */
2523
- created_at: string;
2524
- /** The ID of the actor that triggered the event. */
2525
- actor_id?: string | null;
2526
- /** The kind of actor that triggered the event. */
2527
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2528
- /** The type of resource the event affected. */
2529
- entity_type?: string | null;
2530
- /** The ID of the resource the event affected. */
2531
- entity_id?: string | null;
2532
- /** The application or agent that produced the event. */
2533
- client_id: string;
2534
- /** The ID of the token in use when the event was emitted, when there was one. */
2535
- token_id?: string;
2536
- /** The kind of delegation. Absent when unset. */
2537
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2538
- delegation_id?: string;
2539
- grantor?: string;
2540
- /** A device fingerprint ID that correlates events from the same device. */
2541
- fingerprint?: string;
2542
- /**
2543
- * The ID of the HTTP request that caused the event. Events of one request
2544
- * share it. Only the `request.api` event of a request carries
2545
- * `metadata.client`.
2546
- */
2547
- request_id?: string | null;
2548
- /** The ID of the session the event belongs to. */
2549
- session_id?: string | null;
2550
- /** An ID that correlates the events of one login flow. */
2551
- flow_id?: string | null;
2552
- /**
2553
- * Metadata the server records when it emits the event, already redacted when
2554
- * written. An event from an API request (`request.api`) may set `client`
2555
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2556
- * not a live risk-evaluator input.
2557
- */
2558
- metadata?: {
2559
- /**
2560
- * What authorized the request, when it was not a grant on the event's
2561
- * project. Every event of such a request carries it.
2562
- */
2563
- authorization?: {
2564
- /**
2565
- * `platform_operator`: the deployment's platform operator relation,
2566
- * which administers every project.
2567
- */
2568
- path: 'platform_operator';
2569
- /** The project the actor's user belongs to. */
2570
- actor_home_project_id?: string;
2571
- };
2572
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2573
- client?: {
2574
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2575
- ip?: string;
2576
- /** The observed `User-Agent` header. */
2577
- user_agent?: string;
2578
- /** The `Origin` header, when present. */
2579
- origin?: string;
2580
- };
2581
- [key: string]: unknown;
2582
- };
2583
- }) & ({
2584
- event_type: 'project.updated';
2585
- /**
2586
- * Payload for `project.created`, which holds every field, and
2587
- * `project.updated`, which holds only the changed fields.
2588
- */
2589
- payload: {
2590
- name?: string;
2591
- origins?: ({
2592
- /**
2593
- * The origin pattern: an exact origin for `primary`, or an origin with at
2594
- * most one `*` for `preview`.
2595
- */
2596
- pattern: string;
2597
- /**
2598
- * What the pattern is for: `primary` admits requests from the URLs it
2599
- * matches, `preview` bounds which URLs a preview deploy may register.
2600
- */
2601
- kind: 'primary' | 'preview';
2602
- })[];
2603
- /**
2604
- * The password hashing algorithm the project switched to. The empty string
2605
- * means it was handed back to the server default. Absent when the update
2606
- * did not touch hashing.
2607
- */
2608
- password_hash_algorithm?: string;
2609
- };
2610
- }) | ({
2611
- /** The event ID, in the form `evt_<opaque>`. */
2612
- id: string;
2613
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2614
- project_id: string;
2615
- /** The team the actor operated under when the event was emitted, if any. */
2616
- team_id?: string | null;
2617
- /**
2618
- * The event type, dot-separated, for example `user.created`. It says which
2619
- * `payload` the event carries.
2620
- */
2621
- event_type: string;
2622
- /** The category of the event. */
2623
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2624
- /** When the action happened, on the server's clock. */
2625
- occurred_at: string;
2626
- /** When the event was stored, on the server's clock. */
2627
- created_at: string;
2628
- /** The ID of the actor that triggered the event. */
2629
- actor_id?: string | null;
2630
- /** The kind of actor that triggered the event. */
2631
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2632
- /** The type of resource the event affected. */
2633
- entity_type?: string | null;
2634
- /** The ID of the resource the event affected. */
2635
- entity_id?: string | null;
2636
- /** The application or agent that produced the event. */
2637
- client_id: string;
2638
- /** The ID of the token in use when the event was emitted, when there was one. */
2639
- token_id?: string;
2640
- /** The kind of delegation. Absent when unset. */
2641
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2642
- delegation_id?: string;
2643
- grantor?: string;
2644
- /** A device fingerprint ID that correlates events from the same device. */
2645
- fingerprint?: string;
2646
- /**
2647
- * The ID of the HTTP request that caused the event. Events of one request
2648
- * share it. Only the `request.api` event of a request carries
2649
- * `metadata.client`.
2650
- */
2651
- request_id?: string | null;
2652
- /** The ID of the session the event belongs to. */
2653
- session_id?: string | null;
2654
- /** An ID that correlates the events of one login flow. */
2655
- flow_id?: string | null;
2656
- /**
2657
- * Metadata the server records when it emits the event, already redacted when
2658
- * written. An event from an API request (`request.api`) may set `client`
2659
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2660
- * not a live risk-evaluator input.
2661
- */
2662
- metadata?: {
2663
- /**
2664
- * What authorized the request, when it was not a grant on the event's
2665
- * project. Every event of such a request carries it.
2666
- */
2667
- authorization?: {
2668
- /**
2669
- * `platform_operator`: the deployment's platform operator relation,
2670
- * which administers every project.
2671
- */
2672
- path: 'platform_operator';
2673
- /** The project the actor's user belongs to. */
2674
- actor_home_project_id?: string;
2675
- };
2676
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2677
- client?: {
2678
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2679
- ip?: string;
2680
- /** The observed `User-Agent` header. */
2681
- user_agent?: string;
2682
- /** The `Origin` header, when present. */
2683
- origin?: string;
2684
- };
2685
- [key: string]: unknown;
2686
- };
2687
- }) & {
2688
- event_type: 'release.created';
2689
- /**
2690
- * Payload for `release.created`. The release ID is the event's `entity_id`.
2691
- * The payload repeats the pinned set, the revisions the
2692
- * [release](https://preview.zitadel.com/docs/concepts/repo-config) freezes, so the event stream shows
2693
- * what a release contained without reading the release itself.
2694
- */
2695
- payload: {
2696
- content_hash?: string;
2697
- message?: string;
2698
- git_sha?: string;
2699
- git_dirty?: boolean;
2700
- pointers?: {
2701
- kind?: string;
2702
- handle?: string;
2703
- revision_id?: string;
2704
- }[];
2705
- };
2706
- } | ({
2707
- /** The event ID, in the form `evt_<opaque>`. */
2708
- id: string;
2709
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2710
- project_id: string;
2711
- /** The team the actor operated under when the event was emitted, if any. */
2712
- team_id?: string | null;
2713
- /**
2714
- * The event type, dot-separated, for example `user.created`. It says which
2715
- * `payload` the event carries.
2716
- */
2717
- event_type: string;
2718
- /** The category of the event. */
2719
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2720
- /** When the action happened, on the server's clock. */
2721
- occurred_at: string;
2722
- /** When the event was stored, on the server's clock. */
2723
- created_at: string;
2724
- /** The ID of the actor that triggered the event. */
2725
- actor_id?: string | null;
2726
- /** The kind of actor that triggered the event. */
2727
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2728
- /** The type of resource the event affected. */
2729
- entity_type?: string | null;
2730
- /** The ID of the resource the event affected. */
2731
- entity_id?: string | null;
2732
- /** The application or agent that produced the event. */
2733
- client_id: string;
2734
- /** The ID of the token in use when the event was emitted, when there was one. */
2735
- token_id?: string;
2736
- /** The kind of delegation. Absent when unset. */
2737
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2738
- delegation_id?: string;
2739
- grantor?: string;
2740
- /** A device fingerprint ID that correlates events from the same device. */
2741
- fingerprint?: string;
2742
- /**
2743
- * The ID of the HTTP request that caused the event. Events of one request
2744
- * share it. Only the `request.api` event of a request carries
2745
- * `metadata.client`.
2746
- */
2747
- request_id?: string | null;
2748
- /** The ID of the session the event belongs to. */
2749
- session_id?: string | null;
2750
- /** An ID that correlates the events of one login flow. */
2751
- flow_id?: string | null;
2752
- /**
2753
- * Metadata the server records when it emits the event, already redacted when
2754
- * written. An event from an API request (`request.api`) may set `client`
2755
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2756
- * not a live risk-evaluator input.
2757
- */
2758
- metadata?: {
2759
- /**
2760
- * What authorized the request, when it was not a grant on the event's
2761
- * project. Every event of such a request carries it.
2762
- */
2763
- authorization?: {
2764
- /**
2765
- * `platform_operator`: the deployment's platform operator relation,
2766
- * which administers every project.
2767
- */
2768
- path: 'platform_operator';
2769
- /** The project the actor's user belongs to. */
2770
- actor_home_project_id?: string;
2771
- };
2772
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2773
- client?: {
2774
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2775
- ip?: string;
2776
- /** The observed `User-Agent` header. */
2777
- user_agent?: string;
2778
- /** The `Origin` header, when present. */
2779
- origin?: string;
2780
- };
2781
- [key: string]: unknown;
2782
- };
2783
- }) & {
2784
- event_type: 'release.revoked';
2785
- /**
2786
- * Payload for `release.revoked`. The release ID is the event's `entity_id`.
2787
- * The payload repeats the content hash, which is how the CLI prints a
2788
- * [release](https://preview.zitadel.com/docs/concepts/repo-config) and how builds pin it.
2789
- */
2790
- payload: {
2791
- /**
2792
- * The content digest of a release: `sha256:` followed by 64 lowercase hex
2793
- * characters. Always the full digest; no short form is accepted anywhere.
2794
- *
2795
- * The digest covers the content of the resources the release pins and
2796
- * nothing else. Revision ids, metadata and the project are not part of it.
2797
- * A bundle that carries every resource it references therefore has the same
2798
- * digest on every project, and a client can compute it before sending
2799
- * anything. When a bundle leaves a referenced resource to the project, the
2800
- * release pins the project's revision of it too, and the digest covers that
2801
- * resource as the project holds it.
2802
- *
2803
- * To compute it:
2804
- *
2805
- * 1. Take every resource in the release as the `bundle` of
2806
- * `POST /releases/build` carries it, with `kind` set to `schema`,
2807
- * `flow_definition`, `branding` or `idp`, and `handle` set to the
2808
- * schema's `objectType`, the flow definition's `name`, `default` for
2809
- * branding, or the identity provider's `slug`.
2810
- * A `schema-url` entry's content is the entry as written, and its handle
2811
- * is the `objectType` of the document the URL serves.
2812
- * 2. Build the JSON document
2813
- * `{"version": 1, "resources": [{"kind": …, "handle": …, "content": …}, …]}`,
2814
- * with `resources` sorted by `kind`, then by `handle`.
2815
- * 3. Serialise that document as canonical JSON (RFC 8785).
2816
- * 4. The digest is the SHA-256 of those bytes, written as `sha256:` and
2817
- * lowercase hex.
2818
- *
2819
- * A release built from `pointers` has the digest its pinned revisions would
2820
- * have if they were sent as a bundle.
2821
- *
2822
- * The digest identifies a release on the wire but never appears in a path,
2823
- * which takes the `rel_` id. Fields that look a release up by content say
2824
- * so by name: the `content_hash` filter of `GET /releases`, and
2825
- * `content_hash` in place of `release_id` on `POST /deployments`.
2826
- * @minLength 71
2827
- * @maxLength 71
2828
- * @pattern ^sha256:[0-9a-f]{64}$
2829
- */
2830
- content_hash: string;
2831
- };
2832
- } | ({
2833
- /** The event ID, in the form `evt_<opaque>`. */
2834
- id: string;
2835
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2836
- project_id: string;
2837
- /** The team the actor operated under when the event was emitted, if any. */
2838
- team_id?: string | null;
2839
- /**
2840
- * The event type, dot-separated, for example `user.created`. It says which
2841
- * `payload` the event carries.
2842
- */
2843
- event_type: string;
2844
- /** The category of the event. */
2845
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2846
- /** When the action happened, on the server's clock. */
2847
- occurred_at: string;
2848
- /** When the event was stored, on the server's clock. */
2849
- created_at: string;
2850
- /** The ID of the actor that triggered the event. */
2851
- actor_id?: string | null;
2852
- /** The kind of actor that triggered the event. */
2853
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2854
- /** The type of resource the event affected. */
2855
- entity_type?: string | null;
2856
- /** The ID of the resource the event affected. */
2857
- entity_id?: string | null;
2858
- /** The application or agent that produced the event. */
2859
- client_id: string;
2860
- /** The ID of the token in use when the event was emitted, when there was one. */
2861
- token_id?: string;
2862
- /** The kind of delegation. Absent when unset. */
2863
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2864
- delegation_id?: string;
2865
- grantor?: string;
2866
- /** A device fingerprint ID that correlates events from the same device. */
2867
- fingerprint?: string;
2868
- /**
2869
- * The ID of the HTTP request that caused the event. Events of one request
2870
- * share it. Only the `request.api` event of a request carries
2871
- * `metadata.client`.
2872
- */
2873
- request_id?: string | null;
2874
- /** The ID of the session the event belongs to. */
2875
- session_id?: string | null;
2876
- /** An ID that correlates the events of one login flow. */
2877
- flow_id?: string | null;
2878
- /**
2879
- * Metadata the server records when it emits the event, already redacted when
2880
- * written. An event from an API request (`request.api`) may set `client`
2881
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2882
- * not a live risk-evaluator input.
2883
- */
2884
- metadata?: {
2885
- /**
2886
- * What authorized the request, when it was not a grant on the event's
2887
- * project. Every event of such a request carries it.
2888
- */
2889
- authorization?: {
2890
- /**
2891
- * `platform_operator`: the deployment's platform operator relation,
2892
- * which administers every project.
2893
- */
2894
- path: 'platform_operator';
2895
- /** The project the actor's user belongs to. */
2896
- actor_home_project_id?: string;
2897
- };
2898
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2899
- client?: {
2900
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2901
- ip?: string;
2902
- /** The observed `User-Agent` header. */
2903
- user_agent?: string;
2904
- /** The `Origin` header, when present. */
2905
- origin?: string;
2906
- };
2907
- [key: string]: unknown;
2908
- };
2909
- }) & ({
2910
- event_type: 'request.api';
2911
- /** Payload for `request.api` events. */
2912
- payload: {
2913
- operation_id: string;
2914
- /** HTTP method. */
2915
- method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
2916
- route_template: string;
2917
- /**
2918
- * @minimum 100
2919
- * @maximum 599
2920
- */
2921
- status: number;
2922
- /** @minimum 0 */
2923
- duration_ms: number;
2924
- };
2925
- }) | ({
2926
- /** The event ID, in the form `evt_<opaque>`. */
2927
- id: string;
2928
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2929
- project_id: string;
2930
- /** The team the actor operated under when the event was emitted, if any. */
2931
- team_id?: string | null;
2932
- /**
2933
- * The event type, dot-separated, for example `user.created`. It says which
2934
- * `payload` the event carries.
2935
- */
2936
- event_type: string;
2937
- /** The category of the event. */
2938
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2939
- /** When the action happened, on the server's clock. */
2940
- occurred_at: string;
2941
- /** When the event was stored, on the server's clock. */
2942
- created_at: string;
2943
- /** The ID of the actor that triggered the event. */
2944
- actor_id?: string | null;
2945
- /** The kind of actor that triggered the event. */
2946
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2947
- /** The type of resource the event affected. */
2948
- entity_type?: string | null;
2949
- /** The ID of the resource the event affected. */
2950
- entity_id?: string | null;
2951
- /** The application or agent that produced the event. */
2952
- client_id: string;
2953
- /** The ID of the token in use when the event was emitted, when there was one. */
2954
- token_id?: string;
2955
- /** The kind of delegation. Absent when unset. */
2956
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2957
- delegation_id?: string;
2958
- grantor?: string;
2959
- /** A device fingerprint ID that correlates events from the same device. */
2960
- fingerprint?: string;
2961
- /**
2962
- * The ID of the HTTP request that caused the event. Events of one request
2963
- * share it. Only the `request.api` event of a request carries
2964
- * `metadata.client`.
2965
- */
2966
- request_id?: string | null;
2967
- /** The ID of the session the event belongs to. */
2968
- session_id?: string | null;
2969
- /** An ID that correlates the events of one login flow. */
2970
- flow_id?: string | null;
2971
- /**
2972
- * Metadata the server records when it emits the event, already redacted when
2973
- * written. An event from an API request (`request.api`) may set `client`
2974
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2975
- * not a live risk-evaluator input.
2976
- */
2977
- metadata?: {
2978
- /**
2979
- * What authorized the request, when it was not a grant on the event's
2980
- * project. Every event of such a request carries it.
2981
- */
2982
- authorization?: {
2983
- /**
2984
- * `platform_operator`: the deployment's platform operator relation,
2985
- * which administers every project.
2986
- */
2987
- path: 'platform_operator';
2988
- /** The project the actor's user belongs to. */
2989
- actor_home_project_id?: string;
2990
- };
2991
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2992
- client?: {
2993
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2994
- ip?: string;
2995
- /** The observed `User-Agent` header. */
2996
- user_agent?: string;
2997
- /** The `Origin` header, when present. */
2998
- origin?: string;
2999
- };
3000
- [key: string]: unknown;
3001
- };
3002
- }) & {
3003
- event_type: 'schema.created';
3004
- /**
3005
- * Payload for `schema.created`. It leaves out the schema document, which the
3006
- * customer writes and which has no size bound; the event's `entity_id`
3007
- * identifies the schema that was created.
3008
- */
3009
- payload: {
3010
- /**
3011
- * The kind the stored document declares. `unknown` when the schema was
3012
- * stored without parsing its document.
3013
- */
3014
- kind?: string;
3015
- /**
3016
- * The customer-chosen object type the schema describes. Absent when the
3017
- * document declares none.
3018
- */
3019
- object_type?: string;
3020
- };
3021
- } | ({
3022
- /** The event ID, in the form `evt_<opaque>`. */
3023
- id: string;
3024
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3025
- project_id: string;
3026
- /** The team the actor operated under when the event was emitted, if any. */
3027
- team_id?: string | null;
3028
- /**
3029
- * The event type, dot-separated, for example `user.created`. It says which
3030
- * `payload` the event carries.
3031
- */
3032
- event_type: string;
3033
- /** The category of the event. */
3034
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3035
- /** When the action happened, on the server's clock. */
3036
- occurred_at: string;
3037
- /** When the event was stored, on the server's clock. */
3038
- created_at: string;
3039
- /** The ID of the actor that triggered the event. */
3040
- actor_id?: string | null;
3041
- /** The kind of actor that triggered the event. */
3042
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3043
- /** The type of resource the event affected. */
3044
- entity_type?: string | null;
3045
- /** The ID of the resource the event affected. */
3046
- entity_id?: string | null;
3047
- /** The application or agent that produced the event. */
3048
- client_id: string;
3049
- /** The ID of the token in use when the event was emitted, when there was one. */
3050
- token_id?: string;
3051
- /** The kind of delegation. Absent when unset. */
3052
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3053
- delegation_id?: string;
3054
- grantor?: string;
3055
- /** A device fingerprint ID that correlates events from the same device. */
3056
- fingerprint?: string;
3057
- /**
3058
- * The ID of the HTTP request that caused the event. Events of one request
3059
- * share it. Only the `request.api` event of a request carries
3060
- * `metadata.client`.
3061
- */
3062
- request_id?: string | null;
3063
- /** The ID of the session the event belongs to. */
3064
- session_id?: string | null;
3065
- /** An ID that correlates the events of one login flow. */
3066
- flow_id?: string | null;
3067
- /**
3068
- * Metadata the server records when it emits the event, already redacted when
3069
- * written. An event from an API request (`request.api`) may set `client`
3070
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3071
- * not a live risk-evaluator input.
3072
- */
3073
- metadata?: {
3074
- /**
3075
- * What authorized the request, when it was not a grant on the event's
3076
- * project. Every event of such a request carries it.
3077
- */
3078
- authorization?: {
3079
- /**
3080
- * `platform_operator`: the deployment's platform operator relation,
3081
- * which administers every project.
3082
- */
3083
- path: 'platform_operator';
3084
- /** The project the actor's user belongs to. */
3085
- actor_home_project_id?: string;
3086
- };
3087
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3088
- client?: {
3089
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3090
- ip?: string;
3091
- /** The observed `User-Agent` header. */
3092
- user_agent?: string;
3093
- /** The `Origin` header, when present. */
3094
- origin?: string;
3095
- };
3096
- [key: string]: unknown;
3097
- };
3098
- }) & {
3099
- event_type: 'session.deleted';
3100
- /** Payload for `session.deleted` events. */
3101
- payload: {
3102
- reason?: string;
3103
- };
3104
- } | ({
3105
- /** The event ID, in the form `evt_<opaque>`. */
3106
- id: string;
3107
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3108
- project_id: string;
3109
- /** The team the actor operated under when the event was emitted, if any. */
3110
- team_id?: string | null;
3111
- /**
3112
- * The event type, dot-separated, for example `user.created`. It says which
3113
- * `payload` the event carries.
3114
- */
3115
- event_type: string;
3116
- /** The category of the event. */
3117
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3118
- /** When the action happened, on the server's clock. */
3119
- occurred_at: string;
3120
- /** When the event was stored, on the server's clock. */
3121
- created_at: string;
3122
- /** The ID of the actor that triggered the event. */
3123
- actor_id?: string | null;
3124
- /** The kind of actor that triggered the event. */
3125
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3126
- /** The type of resource the event affected. */
3127
- entity_type?: string | null;
3128
- /** The ID of the resource the event affected. */
3129
- entity_id?: string | null;
3130
- /** The application or agent that produced the event. */
3131
- client_id: string;
3132
- /** The ID of the token in use when the event was emitted, when there was one. */
3133
- token_id?: string;
3134
- /** The kind of delegation. Absent when unset. */
3135
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3136
- delegation_id?: string;
3137
- grantor?: string;
3138
- /** A device fingerprint ID that correlates events from the same device. */
3139
- fingerprint?: string;
3140
- /**
3141
- * The ID of the HTTP request that caused the event. Events of one request
3142
- * share it. Only the `request.api` event of a request carries
3143
- * `metadata.client`.
3144
- */
3145
- request_id?: string | null;
3146
- /** The ID of the session the event belongs to. */
3147
- session_id?: string | null;
3148
- /** An ID that correlates the events of one login flow. */
3149
- flow_id?: string | null;
3150
- /**
3151
- * Metadata the server records when it emits the event, already redacted when
3152
- * written. An event from an API request (`request.api`) may set `client`
3153
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3154
- * not a live risk-evaluator input.
3155
- */
3156
- metadata?: {
3157
- /**
3158
- * What authorized the request, when it was not a grant on the event's
3159
- * project. Every event of such a request carries it.
3160
- */
3161
- authorization?: {
3162
- /**
3163
- * `platform_operator`: the deployment's platform operator relation,
3164
- * which administers every project.
3165
- */
3166
- path: 'platform_operator';
3167
- /** The project the actor's user belongs to. */
3168
- actor_home_project_id?: string;
3169
- };
3170
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3171
- client?: {
3172
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3173
- ip?: string;
3174
- /** The observed `User-Agent` header. */
3175
- user_agent?: string;
3176
- /** The `Origin` header, when present. */
3177
- origin?: string;
3178
- };
3179
- [key: string]: unknown;
3180
- };
3181
- }) & {
3182
- event_type: 'session.established';
3183
- /** Payload for `session.established` events. */
3184
- payload: {
3185
- user_id?: string;
3186
- };
3187
- } | ({
3188
- /** The event ID, in the form `evt_<opaque>`. */
3189
- id: string;
3190
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3191
- project_id: string;
3192
- /** The team the actor operated under when the event was emitted, if any. */
3193
- team_id?: string | null;
3194
- /**
3195
- * The event type, dot-separated, for example `user.created`. It says which
3196
- * `payload` the event carries.
3197
- */
3198
- event_type: string;
3199
- /** The category of the event. */
3200
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3201
- /** When the action happened, on the server's clock. */
3202
- occurred_at: string;
3203
- /** When the event was stored, on the server's clock. */
3204
- created_at: string;
3205
- /** The ID of the actor that triggered the event. */
3206
- actor_id?: string | null;
3207
- /** The kind of actor that triggered the event. */
3208
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3209
- /** The type of resource the event affected. */
3210
- entity_type?: string | null;
3211
- /** The ID of the resource the event affected. */
3212
- entity_id?: string | null;
3213
- /** The application or agent that produced the event. */
3214
- client_id: string;
3215
- /** The ID of the token in use when the event was emitted, when there was one. */
3216
- token_id?: string;
3217
- /** The kind of delegation. Absent when unset. */
3218
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3219
- delegation_id?: string;
3220
- grantor?: string;
3221
- /** A device fingerprint ID that correlates events from the same device. */
3222
- fingerprint?: string;
3223
- /**
3224
- * The ID of the HTTP request that caused the event. Events of one request
3225
- * share it. Only the `request.api` event of a request carries
3226
- * `metadata.client`.
3227
- */
3228
- request_id?: string | null;
3229
- /** The ID of the session the event belongs to. */
3230
- session_id?: string | null;
3231
- /** An ID that correlates the events of one login flow. */
3232
- flow_id?: string | null;
3233
- /**
3234
- * Metadata the server records when it emits the event, already redacted when
3235
- * written. An event from an API request (`request.api`) may set `client`
3236
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3237
- * not a live risk-evaluator input.
3238
- */
3239
- metadata?: {
3240
- /**
3241
- * What authorized the request, when it was not a grant on the event's
3242
- * project. Every event of such a request carries it.
3243
- */
3244
- authorization?: {
3245
- /**
3246
- * `platform_operator`: the deployment's platform operator relation,
3247
- * which administers every project.
3248
- */
3249
- path: 'platform_operator';
3250
- /** The project the actor's user belongs to. */
3251
- actor_home_project_id?: string;
3252
- };
3253
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3254
- client?: {
3255
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3256
- ip?: string;
3257
- /** The observed `User-Agent` header. */
3258
- user_agent?: string;
3259
- /** The `Origin` header, when present. */
3260
- origin?: string;
3261
- };
3262
- [key: string]: unknown;
3263
- };
3264
- }) & {
3265
- event_type: 'team.created';
3266
- /**
3267
- * Payload for `team.created`, which holds every field, and `team.updated`,
3268
- * which holds only the changed fields.
3269
- */
3270
- payload: {
3271
- name?: string;
3272
- };
3273
- } | ({
3274
- /** The event ID, in the form `evt_<opaque>`. */
3275
- id: string;
3276
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3277
- project_id: string;
3278
- /** The team the actor operated under when the event was emitted, if any. */
3279
- team_id?: string | null;
3280
- /**
3281
- * The event type, dot-separated, for example `user.created`. It says which
3282
- * `payload` the event carries.
3283
- */
3284
- event_type: string;
3285
- /** The category of the event. */
3286
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3287
- /** When the action happened, on the server's clock. */
3288
- occurred_at: string;
3289
- /** When the event was stored, on the server's clock. */
3290
- created_at: string;
3291
- /** The ID of the actor that triggered the event. */
3292
- actor_id?: string | null;
3293
- /** The kind of actor that triggered the event. */
3294
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3295
- /** The type of resource the event affected. */
3296
- entity_type?: string | null;
3297
- /** The ID of the resource the event affected. */
3298
- entity_id?: string | null;
3299
- /** The application or agent that produced the event. */
3300
- client_id: string;
3301
- /** The ID of the token in use when the event was emitted, when there was one. */
3302
- token_id?: string;
3303
- /** The kind of delegation. Absent when unset. */
3304
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3305
- delegation_id?: string;
3306
- grantor?: string;
3307
- /** A device fingerprint ID that correlates events from the same device. */
3308
- fingerprint?: string;
3309
- /**
3310
- * The ID of the HTTP request that caused the event. Events of one request
3311
- * share it. Only the `request.api` event of a request carries
3312
- * `metadata.client`.
3313
- */
3314
- request_id?: string | null;
3315
- /** The ID of the session the event belongs to. */
3316
- session_id?: string | null;
3317
- /** An ID that correlates the events of one login flow. */
3318
- flow_id?: string | null;
3319
- /**
3320
- * Metadata the server records when it emits the event, already redacted when
3321
- * written. An event from an API request (`request.api`) may set `client`
3322
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3323
- * not a live risk-evaluator input.
3324
- */
3325
- metadata?: {
3326
- /**
3327
- * What authorized the request, when it was not a grant on the event's
3328
- * project. Every event of such a request carries it.
3329
- */
3330
- authorization?: {
3331
- /**
3332
- * `platform_operator`: the deployment's platform operator relation,
3333
- * which administers every project.
3334
- */
3335
- path: 'platform_operator';
3336
- /** The project the actor's user belongs to. */
3337
- actor_home_project_id?: string;
3338
- };
3339
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3340
- client?: {
3341
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3342
- ip?: string;
3343
- /** The observed `User-Agent` header. */
3344
- user_agent?: string;
3345
- /** The `Origin` header, when present. */
3346
- origin?: string;
3347
- };
3348
- [key: string]: unknown;
3349
- };
3350
- }) & {
3351
- event_type: 'team.deactivated';
3352
- /**
3353
- * Empty payload for event types with no typed fields, for example
3354
- * `project.deleted`, `user.deleted` and `session.expired`.
3355
- */
3356
- payload: { [key: string]: unknown };
3357
- } | ({
3358
- /** The event ID, in the form `evt_<opaque>`. */
3359
- id: string;
3360
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3361
- project_id: string;
3362
- /** The team the actor operated under when the event was emitted, if any. */
3363
- team_id?: string | null;
3364
- /**
3365
- * The event type, dot-separated, for example `user.created`. It says which
3366
- * `payload` the event carries.
3367
- */
3368
- event_type: string;
3369
- /** The category of the event. */
3370
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3371
- /** When the action happened, on the server's clock. */
3372
- occurred_at: string;
3373
- /** When the event was stored, on the server's clock. */
3374
- created_at: string;
3375
- /** The ID of the actor that triggered the event. */
3376
- actor_id?: string | null;
3377
- /** The kind of actor that triggered the event. */
3378
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3379
- /** The type of resource the event affected. */
3380
- entity_type?: string | null;
3381
- /** The ID of the resource the event affected. */
3382
- entity_id?: string | null;
3383
- /** The application or agent that produced the event. */
3384
- client_id: string;
3385
- /** The ID of the token in use when the event was emitted, when there was one. */
3386
- token_id?: string;
3387
- /** The kind of delegation. Absent when unset. */
3388
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3389
- delegation_id?: string;
3390
- grantor?: string;
3391
- /** A device fingerprint ID that correlates events from the same device. */
3392
- fingerprint?: string;
3393
- /**
3394
- * The ID of the HTTP request that caused the event. Events of one request
3395
- * share it. Only the `request.api` event of a request carries
3396
- * `metadata.client`.
3397
- */
3398
- request_id?: string | null;
3399
- /** The ID of the session the event belongs to. */
3400
- session_id?: string | null;
3401
- /** An ID that correlates the events of one login flow. */
3402
- flow_id?: string | null;
3403
- /**
3404
- * Metadata the server records when it emits the event, already redacted when
3405
- * written. An event from an API request (`request.api`) may set `client`
3406
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3407
- * not a live risk-evaluator input.
3408
- */
3409
- metadata?: {
3410
- /**
3411
- * What authorized the request, when it was not a grant on the event's
3412
- * project. Every event of such a request carries it.
3413
- */
3414
- authorization?: {
3415
- /**
3416
- * `platform_operator`: the deployment's platform operator relation,
3417
- * which administers every project.
3418
- */
3419
- path: 'platform_operator';
3420
- /** The project the actor's user belongs to. */
3421
- actor_home_project_id?: string;
3422
- };
3423
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3424
- client?: {
3425
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3426
- ip?: string;
3427
- /** The observed `User-Agent` header. */
3428
- user_agent?: string;
3429
- /** The `Origin` header, when present. */
3430
- origin?: string;
3431
- };
3432
- [key: string]: unknown;
3433
- };
3434
- }) & {
3435
- event_type: 'team.updated';
3436
- /**
3437
- * Payload for `team.created`, which holds every field, and `team.updated`,
3438
- * which holds only the changed fields.
3439
- */
3440
- payload: {
3441
- name?: string;
3442
- };
3443
- } | ({
3444
- /** The event ID, in the form `evt_<opaque>`. */
3445
- id: string;
3446
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3447
- project_id: string;
3448
- /** The team the actor operated under when the event was emitted, if any. */
3449
- team_id?: string | null;
3450
- /**
3451
- * The event type, dot-separated, for example `user.created`. It says which
3452
- * `payload` the event carries.
3453
- */
3454
- event_type: string;
3455
- /** The category of the event. */
3456
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3457
- /** When the action happened, on the server's clock. */
3458
- occurred_at: string;
3459
- /** When the event was stored, on the server's clock. */
3460
- created_at: string;
3461
- /** The ID of the actor that triggered the event. */
3462
- actor_id?: string | null;
3463
- /** The kind of actor that triggered the event. */
3464
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3465
- /** The type of resource the event affected. */
3466
- entity_type?: string | null;
3467
- /** The ID of the resource the event affected. */
3468
- entity_id?: string | null;
3469
- /** The application or agent that produced the event. */
3470
- client_id: string;
3471
- /** The ID of the token in use when the event was emitted, when there was one. */
3472
- token_id?: string;
3473
- /** The kind of delegation. Absent when unset. */
3474
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3475
- delegation_id?: string;
3476
- grantor?: string;
3477
- /** A device fingerprint ID that correlates events from the same device. */
3478
- fingerprint?: string;
3479
- /**
3480
- * The ID of the HTTP request that caused the event. Events of one request
3481
- * share it. Only the `request.api` event of a request carries
3482
- * `metadata.client`.
3483
- */
3484
- request_id?: string | null;
3485
- /** The ID of the session the event belongs to. */
3486
- session_id?: string | null;
3487
- /** An ID that correlates the events of one login flow. */
3488
- flow_id?: string | null;
3489
- /**
3490
- * Metadata the server records when it emits the event, already redacted when
3491
- * written. An event from an API request (`request.api`) may set `client`
3492
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3493
- * not a live risk-evaluator input.
3494
- */
3495
- metadata?: {
3496
- /**
3497
- * What authorized the request, when it was not a grant on the event's
3498
- * project. Every event of such a request carries it.
3499
- */
3500
- authorization?: {
3501
- /**
3502
- * `platform_operator`: the deployment's platform operator relation,
3503
- * which administers every project.
3504
- */
3505
- path: 'platform_operator';
3506
- /** The project the actor's user belongs to. */
3507
- actor_home_project_id?: string;
3508
- };
3509
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3510
- client?: {
3511
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3512
- ip?: string;
3513
- /** The observed `User-Agent` header. */
3514
- user_agent?: string;
3515
- /** The `Origin` header, when present. */
3516
- origin?: string;
3517
- };
3518
- [key: string]: unknown;
3519
- };
3520
- }) & {
3521
- event_type: 'user.create.failed';
3522
- /** Payload for `user.create.failed` events. */
3523
- payload: {
3524
- /** The name of the unique constraint that was already taken. */
3525
- key_name?: string;
3526
- };
3527
- } | ({
3528
- /** The event ID, in the form `evt_<opaque>`. */
3529
- id: string;
3530
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3531
- project_id: string;
3532
- /** The team the actor operated under when the event was emitted, if any. */
3533
- team_id?: string | null;
3534
- /**
3535
- * The event type, dot-separated, for example `user.created`. It says which
3536
- * `payload` the event carries.
3537
- */
3538
- event_type: string;
3539
- /** The category of the event. */
3540
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3541
- /** When the action happened, on the server's clock. */
3542
- occurred_at: string;
3543
- /** When the event was stored, on the server's clock. */
3544
- created_at: string;
3545
- /** The ID of the actor that triggered the event. */
3546
- actor_id?: string | null;
3547
- /** The kind of actor that triggered the event. */
3548
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3549
- /** The type of resource the event affected. */
3550
- entity_type?: string | null;
3551
- /** The ID of the resource the event affected. */
3552
- entity_id?: string | null;
3553
- /** The application or agent that produced the event. */
3554
- client_id: string;
3555
- /** The ID of the token in use when the event was emitted, when there was one. */
3556
- token_id?: string;
3557
- /** The kind of delegation. Absent when unset. */
3558
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3559
- delegation_id?: string;
3560
- grantor?: string;
3561
- /** A device fingerprint ID that correlates events from the same device. */
3562
- fingerprint?: string;
3563
- /**
3564
- * The ID of the HTTP request that caused the event. Events of one request
3565
- * share it. Only the `request.api` event of a request carries
3566
- * `metadata.client`.
3567
- */
3568
- request_id?: string | null;
3569
- /** The ID of the session the event belongs to. */
3570
- session_id?: string | null;
3571
- /** An ID that correlates the events of one login flow. */
3572
- flow_id?: string | null;
3573
- /**
3574
- * Metadata the server records when it emits the event, already redacted when
3575
- * written. An event from an API request (`request.api`) may set `client`
3576
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3577
- * not a live risk-evaluator input.
3578
- */
3579
- metadata?: {
3580
- /**
3581
- * What authorized the request, when it was not a grant on the event's
3582
- * project. Every event of such a request carries it.
3583
- */
3584
- authorization?: {
3585
- /**
3586
- * `platform_operator`: the deployment's platform operator relation,
3587
- * which administers every project.
3588
- */
3589
- path: 'platform_operator';
3590
- /** The project the actor's user belongs to. */
3591
- actor_home_project_id?: string;
3592
- };
3593
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3594
- client?: {
3595
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3596
- ip?: string;
3597
- /** The observed `User-Agent` header. */
3598
- user_agent?: string;
3599
- /** The `Origin` header, when present. */
3600
- origin?: string;
3601
- };
3602
- [key: string]: unknown;
3603
- };
3604
- }) & {
3605
- event_type: 'user.created';
3606
- /**
3607
- * Payload for `user.created`. The user's ID is the event's `entity_id`;
3608
- * attribute values appear only for schema fields marked `x-audit`.
3609
- */
3610
- payload: {
3611
- schema_id?: string;
3612
- attribute_keys?: string[];
3613
- attributes?: { [key: string]: unknown };
3614
- };
3615
- } | ({
3616
- /** The event ID, in the form `evt_<opaque>`. */
3617
- id: string;
3618
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3619
- project_id: string;
3620
- /** The team the actor operated under when the event was emitted, if any. */
3621
- team_id?: string | null;
3622
- /**
3623
- * The event type, dot-separated, for example `user.created`. It says which
3624
- * `payload` the event carries.
3625
- */
3626
- event_type: string;
3627
- /** The category of the event. */
3628
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3629
- /** When the action happened, on the server's clock. */
3630
- occurred_at: string;
3631
- /** When the event was stored, on the server's clock. */
3632
- created_at: string;
3633
- /** The ID of the actor that triggered the event. */
3634
- actor_id?: string | null;
3635
- /** The kind of actor that triggered the event. */
3636
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3637
- /** The type of resource the event affected. */
3638
- entity_type?: string | null;
3639
- /** The ID of the resource the event affected. */
3640
- entity_id?: string | null;
3641
- /** The application or agent that produced the event. */
3642
- client_id: string;
3643
- /** The ID of the token in use when the event was emitted, when there was one. */
3644
- token_id?: string;
3645
- /** The kind of delegation. Absent when unset. */
3646
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3647
- delegation_id?: string;
3648
- grantor?: string;
3649
- /** A device fingerprint ID that correlates events from the same device. */
3650
- fingerprint?: string;
3651
- /**
3652
- * The ID of the HTTP request that caused the event. Events of one request
3653
- * share it. Only the `request.api` event of a request carries
3654
- * `metadata.client`.
3655
- */
3656
- request_id?: string | null;
3657
- /** The ID of the session the event belongs to. */
3658
- session_id?: string | null;
3659
- /** An ID that correlates the events of one login flow. */
3660
- flow_id?: string | null;
3661
- /**
3662
- * Metadata the server records when it emits the event, already redacted when
3663
- * written. An event from an API request (`request.api`) may set `client`
3664
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3665
- * not a live risk-evaluator input.
3666
- */
3667
- metadata?: {
3668
- /**
3669
- * What authorized the request, when it was not a grant on the event's
3670
- * project. Every event of such a request carries it.
3671
- */
3672
- authorization?: {
3673
- /**
3674
- * `platform_operator`: the deployment's platform operator relation,
3675
- * which administers every project.
3676
- */
3677
- path: 'platform_operator';
3678
- /** The project the actor's user belongs to. */
3679
- actor_home_project_id?: string;
3680
- };
3681
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3682
- client?: {
3683
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3684
- ip?: string;
3685
- /** The observed `User-Agent` header. */
3686
- user_agent?: string;
3687
- /** The `Origin` header, when present. */
3688
- origin?: string;
3689
- };
3690
- [key: string]: unknown;
3691
- };
3692
- }) & {
3693
- event_type: 'user.deleted';
3694
- /**
3695
- * Empty payload for event types with no typed fields, for example
3696
- * `project.deleted`, `user.deleted` and `session.expired`.
3697
- */
3698
- payload: { [key: string]: unknown };
3699
- } | ({
3700
- /** The event ID, in the form `evt_<opaque>`. */
3701
- id: string;
3702
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3703
- project_id: string;
3704
- /** The team the actor operated under when the event was emitted, if any. */
3705
- team_id?: string | null;
3706
- /**
3707
- * The event type, dot-separated, for example `user.created`. It says which
3708
- * `payload` the event carries.
3709
- */
3710
- event_type: string;
3711
- /** The category of the event. */
3712
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3713
- /** When the action happened, on the server's clock. */
3714
- occurred_at: string;
3715
- /** When the event was stored, on the server's clock. */
3716
- created_at: string;
3717
- /** The ID of the actor that triggered the event. */
3718
- actor_id?: string | null;
3719
- /** The kind of actor that triggered the event. */
3720
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3721
- /** The type of resource the event affected. */
3722
- entity_type?: string | null;
3723
- /** The ID of the resource the event affected. */
3724
- entity_id?: string | null;
3725
- /** The application or agent that produced the event. */
3726
- client_id: string;
3727
- /** The ID of the token in use when the event was emitted, when there was one. */
3728
- token_id?: string;
3729
- /** The kind of delegation. Absent when unset. */
3730
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3731
- delegation_id?: string;
3732
- grantor?: string;
3733
- /** A device fingerprint ID that correlates events from the same device. */
3734
- fingerprint?: string;
3735
- /**
3736
- * The ID of the HTTP request that caused the event. Events of one request
3737
- * share it. Only the `request.api` event of a request carries
3738
- * `metadata.client`.
3739
- */
3740
- request_id?: string | null;
3741
- /** The ID of the session the event belongs to. */
3742
- session_id?: string | null;
3743
- /** An ID that correlates the events of one login flow. */
3744
- flow_id?: string | null;
3745
- /**
3746
- * Metadata the server records when it emits the event, already redacted when
3747
- * written. An event from an API request (`request.api`) may set `client`
3748
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3749
- * not a live risk-evaluator input.
3750
- */
3751
- metadata?: {
3752
- /**
3753
- * What authorized the request, when it was not a grant on the event's
3754
- * project. Every event of such a request carries it.
3755
- */
3756
- authorization?: {
3757
- /**
3758
- * `platform_operator`: the deployment's platform operator relation,
3759
- * which administers every project.
3760
- */
3761
- path: 'platform_operator';
3762
- /** The project the actor's user belongs to. */
3763
- actor_home_project_id?: string;
3764
- };
3765
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3766
- client?: {
3767
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3768
- ip?: string;
3769
- /** The observed `User-Agent` header. */
3770
- user_agent?: string;
3771
- /** The `Origin` header, when present. */
3772
- origin?: string;
3773
- };
3774
- [key: string]: unknown;
3775
- };
3776
- }) & {
3777
- event_type: 'user.updated';
3778
- /**
3779
- * Payload for `user.updated`. The attribute rules are those of `user.created`:
3780
- * the keys written, plus values only for fields marked `x-audit`.
3781
- */
3782
- payload: {
3783
- attribute_keys?: string[];
3784
- attributes?: { [key: string]: unknown };
3785
- };
3786
- } | ({
3787
- /** The event ID, in the form `evt_<opaque>`. */
3788
- id: string;
3789
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3790
- project_id: string;
3791
- /** The team the actor operated under when the event was emitted, if any. */
3792
- team_id?: string | null;
3793
- /**
3794
- * The event type, dot-separated, for example `user.created`. It says which
3795
- * `payload` the event carries.
3796
- */
3797
- event_type: string;
3798
- /** The category of the event. */
3799
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3800
- /** When the action happened, on the server's clock. */
3801
- occurred_at: string;
3802
- /** When the event was stored, on the server's clock. */
3803
- created_at: string;
3804
- /** The ID of the actor that triggered the event. */
3805
- actor_id?: string | null;
3806
- /** The kind of actor that triggered the event. */
3807
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3808
- /** The type of resource the event affected. */
3809
- entity_type?: string | null;
3810
- /** The ID of the resource the event affected. */
3811
- entity_id?: string | null;
3812
- /** The application or agent that produced the event. */
3813
- client_id: string;
3814
- /** The ID of the token in use when the event was emitted, when there was one. */
3815
- token_id?: string;
3816
- /** The kind of delegation. Absent when unset. */
3817
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3818
- delegation_id?: string;
3819
- grantor?: string;
3820
- /** A device fingerprint ID that correlates events from the same device. */
3821
- fingerprint?: string;
3822
- /**
3823
- * The ID of the HTTP request that caused the event. Events of one request
3824
- * share it. Only the `request.api` event of a request carries
3825
- * `metadata.client`.
3826
- */
3827
- request_id?: string | null;
3828
- /** The ID of the session the event belongs to. */
3829
- session_id?: string | null;
3830
- /** An ID that correlates the events of one login flow. */
3831
- flow_id?: string | null;
3832
- /**
3833
- * Metadata the server records when it emits the event, already redacted when
3834
- * written. An event from an API request (`request.api`) may set `client`
3835
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3836
- * not a live risk-evaluator input.
3837
- */
3838
- metadata?: {
3839
- /**
3840
- * What authorized the request, when it was not a grant on the event's
3841
- * project. Every event of such a request carries it.
3842
- */
3843
- authorization?: {
3844
- /**
3845
- * `platform_operator`: the deployment's platform operator relation,
3846
- * which administers every project.
3847
- */
3848
- path: 'platform_operator';
3849
- /** The project the actor's user belongs to. */
3850
- actor_home_project_id?: string;
3851
- };
3852
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3853
- client?: {
3854
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3855
- ip?: string;
3856
- /** The observed `User-Agent` header. */
3857
- user_agent?: string;
3858
- /** The `Origin` header, when present. */
3859
- origin?: string;
3860
- };
3861
- [key: string]: unknown;
3862
- };
3863
- }) & ({
3864
- event_type: 'variable.removed';
3865
- /** Payload for `variable.removed` events, one value of the variable removed. */
3866
- payload: {
3867
- kind?: 'primary' | 'preview';
3868
- };
3869
- }) | ({
3870
- /** The event ID, in the form `evt_<opaque>`. */
3871
- id: string;
3872
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3873
- project_id: string;
3874
- /** The team the actor operated under when the event was emitted, if any. */
3875
- team_id?: string | null;
3876
- /**
3877
- * The event type, dot-separated, for example `user.created`. It says which
3878
- * `payload` the event carries.
3879
- */
3880
- event_type: string;
3881
- /** The category of the event. */
3882
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3883
- /** When the action happened, on the server's clock. */
3884
- occurred_at: string;
3885
- /** When the event was stored, on the server's clock. */
3886
- created_at: string;
3887
- /** The ID of the actor that triggered the event. */
3888
- actor_id?: string | null;
3889
- /** The kind of actor that triggered the event. */
3890
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3891
- /** The type of resource the event affected. */
3892
- entity_type?: string | null;
3893
- /** The ID of the resource the event affected. */
3894
- entity_id?: string | null;
3895
- /** The application or agent that produced the event. */
3896
- client_id: string;
3897
- /** The ID of the token in use when the event was emitted, when there was one. */
3898
- token_id?: string;
3899
- /** The kind of delegation. Absent when unset. */
3900
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3901
- delegation_id?: string;
3902
- grantor?: string;
3903
- /** A device fingerprint ID that correlates events from the same device. */
3904
- fingerprint?: string;
3905
- /**
3906
- * The ID of the HTTP request that caused the event. Events of one request
3907
- * share it. Only the `request.api` event of a request carries
3908
- * `metadata.client`.
3909
- */
3910
- request_id?: string | null;
3911
- /** The ID of the session the event belongs to. */
3912
- session_id?: string | null;
3913
- /** An ID that correlates the events of one login flow. */
3914
- flow_id?: string | null;
3915
- /**
3916
- * Metadata the server records when it emits the event, already redacted when
3917
- * written. An event from an API request (`request.api`) may set `client`
3918
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3919
- * not a live risk-evaluator input.
3920
- */
3921
- metadata?: {
3922
- /**
3923
- * What authorized the request, when it was not a grant on the event's
3924
- * project. Every event of such a request carries it.
3925
- */
3926
- authorization?: {
3927
- /**
3928
- * `platform_operator`: the deployment's platform operator relation,
3929
- * which administers every project.
3930
- */
3931
- path: 'platform_operator';
3932
- /** The project the actor's user belongs to. */
3933
- actor_home_project_id?: string;
3934
- };
3935
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3936
- client?: {
3937
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3938
- ip?: string;
3939
- /** The observed `User-Agent` header. */
3940
- user_agent?: string;
3941
- /** The `Origin` header, when present. */
3942
- origin?: string;
3943
- };
3944
- [key: string]: unknown;
3945
- };
3946
- }) & ({
3947
- event_type: 'variable.set';
3948
- /**
3949
- * Payload for `variable.set` events: one value of the variable entered or
3950
- * replaced. The value is never included, plain or encrypted.
3951
- */
3952
- payload: {
3953
- kind?: 'primary' | 'preview';
3954
- secret?: boolean;
3955
- };
3956
- });