@zitadel/api 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1175) hide show
  1. package/dist/api-factory-B2kd991F.mjs +384 -0
  2. package/dist/api-factory-B2kd991F.mjs.map +1 -0
  3. package/dist/api-factory-DW48-EMM.d.mts +228 -0
  4. package/dist/api-factory-DW48-EMM.d.mts.map +1 -0
  5. package/dist/fetch-BLgYBrzi.d.mts +134 -0
  6. package/dist/fetch-BLgYBrzi.d.mts.map +1 -0
  7. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  8. package/dist/generated/endpoints/zitadelNextGen.mjs +1 -3868
  9. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +257 -143
  10. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2980 -795
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  13. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +2588 -1366
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  15. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +3134 -1943
  16. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  17. package/dist/generated/model/index.d.mts +2 -2
  18. package/dist/generated/model/index.mjs +530 -890
  19. package/dist/generated/model/index.mjs.map +1 -1
  20. package/dist/generated/operations.d.mts +1 -3
  21. package/dist/generated/operations.d.mts.map +1 -1
  22. package/dist/generated/operations.mjs +200 -112
  23. package/dist/generated/operations.mjs.map +1 -1
  24. package/dist/index-REGtKmAu.d.mts +60693 -0
  25. package/dist/index-REGtKmAu.d.mts.map +1 -0
  26. package/dist/rolldown-runtime-D8jQpDG7.mjs +12 -0
  27. package/dist/runtime/api-factory.d.mts +1 -1
  28. package/dist/runtime/api-factory.mjs +1 -2
  29. package/dist/runtime/auth.d.mts +0 -2
  30. package/dist/runtime/auth.d.mts.map +1 -1
  31. package/dist/runtime/auth.mjs +1 -2
  32. package/dist/runtime/base-url.d.mts +0 -2
  33. package/dist/runtime/base-url.d.mts.map +1 -1
  34. package/dist/runtime/base-url.mjs +1 -2
  35. package/dist/runtime/config.d.mts +1 -3
  36. package/dist/runtime/config.d.mts.map +1 -1
  37. package/dist/runtime/config.mjs +2 -3
  38. package/dist/runtime/fetch.d.mts +1 -1
  39. package/dist/runtime/fetch.mjs +2 -3
  40. package/dist/runtime/paging.d.mts +0 -2
  41. package/dist/runtime/paging.d.mts.map +1 -1
  42. package/dist/runtime/paging.mjs +1 -2
  43. package/dist/zitadelNextGen-C2Qcm9jl.d.mts +2034 -0
  44. package/dist/zitadelNextGen-C2Qcm9jl.d.mts.map +1 -0
  45. package/dist/zitadelNextGen-CDqt2m_4.mjs +3509 -0
  46. package/dist/zitadelNextGen-CDqt2m_4.mjs.map +1 -0
  47. package/package.json +8 -10
  48. package/src/generated/endpoints/zitadelNextGen.faker.ts +102 -93
  49. package/src/generated/endpoints/zitadelNextGen.msw.ts +417 -340
  50. package/src/generated/endpoints/zitadelNextGen.ts +630 -1087
  51. package/src/generated/endpoints/zitadelNextGen.zod.ts +2676 -1663
  52. package/src/generated/model/acceptInvitation200.ts +88 -16
  53. package/src/generated/model/acceptInvitationDefault.ts +18 -0
  54. package/src/generated/model/addProjectOrigin201.ts +18 -0
  55. package/src/generated/model/addProjectOrigin201Kind.ts +18 -0
  56. package/src/generated/model/addProjectOriginBody.ts +35 -0
  57. package/src/generated/model/addProjectOriginBodyKind.ts +19 -0
  58. package/src/generated/model/addProjectOriginDefault.ts +135 -0
  59. package/src/generated/model/buildRelease200.ts +4 -4
  60. package/src/generated/model/buildRelease200PointersItem.ts +3 -1
  61. package/src/generated/model/buildRelease200PointersItemKind.ts +2 -1
  62. package/src/generated/model/buildRelease201.ts +4 -4
  63. package/src/generated/model/buildRelease201PointersItem.ts +3 -1
  64. package/src/generated/model/buildRelease201PointersItemKind.ts +2 -1
  65. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +2 -2
  66. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +2 -1
  67. package/src/generated/model/buildReleaseBody.ts +7 -5
  68. package/src/generated/model/buildReleaseBodyBundle.ts +22 -6
  69. package/src/generated/model/buildReleaseBodyBundleBranding.ts +1 -1
  70. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +2 -12
  71. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +2 -9
  72. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -2
  73. package/src/generated/model/buildReleaseBodyBundleOauth.ts +29 -0
  74. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +20 -0
  75. package/src/generated/model/buildReleaseParams.ts +7 -7
  76. package/src/generated/model/cancelInvitationDefault.ts +9 -0
  77. package/src/generated/model/cancelInvitationParams.ts +7 -7
  78. package/src/generated/model/completeProjectClaim200.ts +19 -0
  79. package/src/generated/model/completeProjectClaim400.ts +20 -0
  80. package/src/generated/model/completeProjectClaim400Details.ts +12 -0
  81. package/src/generated/model/completeProjectClaim401.ts +23 -0
  82. package/src/generated/model/completeProjectClaim403.ts +36 -0
  83. package/src/generated/model/completeProjectClaim404.ts +20 -0
  84. package/src/generated/model/completeProjectClaim404Details.ts +12 -0
  85. package/src/generated/model/completeProjectClaim409.ts +25 -0
  86. package/src/generated/model/completeProjectClaim409Details.ts +14 -0
  87. package/src/generated/model/completeProjectClaim410.ts +27 -0
  88. package/src/generated/model/completeProjectClaim429.ts +20 -0
  89. package/src/generated/model/completeProjectClaim429Details.ts +12 -0
  90. package/src/generated/model/completeProjectClaimBody.ts +18 -0
  91. package/src/generated/model/completeProjectClaimDefault.ts +144 -0
  92. package/src/generated/model/completeUserPasskeyRegistration201.ts +19 -0
  93. package/src/generated/model/completeUserPasskeyRegistration400.ts +20 -0
  94. package/src/generated/model/completeUserPasskeyRegistration400Details.ts +12 -0
  95. package/src/generated/model/completeUserPasskeyRegistration401.ts +20 -0
  96. package/src/generated/model/completeUserPasskeyRegistration401Details.ts +12 -0
  97. package/src/generated/model/completeUserPasskeyRegistration403.ts +20 -0
  98. package/src/generated/model/completeUserPasskeyRegistration403Details.ts +12 -0
  99. package/src/generated/model/completeUserPasskeyRegistration404.ts +20 -0
  100. package/src/generated/model/completeUserPasskeyRegistration404Details.ts +12 -0
  101. package/src/generated/model/completeUserPasskeyRegistration429.ts +23 -0
  102. package/src/generated/model/completeUserPasskeyRegistration500.ts +20 -0
  103. package/src/generated/model/completeUserPasskeyRegistration500Details.ts +12 -0
  104. package/src/generated/model/completeUserPasskeyRegistrationBody.ts +21 -0
  105. package/src/generated/model/completeUserPasskeyRegistrationBodyAttestation.ts +12 -0
  106. package/src/generated/model/completeUserPasskeyRegistrationDefault.ts +189 -0
  107. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +1 -1
  108. package/src/generated/model/createAuthAttempt201ChallengesItemPayload.ts +1 -1
  109. package/src/generated/model/createAuthAttemptChallenge201.ts +49 -0
  110. package/src/generated/model/createAuthAttemptChallenge201Method.ts +20 -0
  111. package/src/generated/model/createAuthAttemptChallenge201Payload.ts +34 -0
  112. package/src/generated/model/createAuthAttemptChallenge201State.ts +22 -0
  113. package/src/generated/model/createAuthAttemptChallengeBody.ts +28 -0
  114. package/src/generated/model/createAuthAttemptChallengeBodyMethod.ts +20 -0
  115. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptions.ts +19 -0
  116. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptionsUserVerification.ts +16 -0
  117. package/src/generated/model/createAuthAttemptChallengeDefault.ts +90 -0
  118. package/src/generated/model/createAuthAttemptHandoff200.ts +30 -0
  119. package/src/generated/model/createAuthAttemptHandoff409.ts +20 -0
  120. package/src/generated/model/createAuthAttemptHandoff409Details.ts +12 -0
  121. package/src/generated/model/createAuthAttemptHandoffDefault.ts +99 -0
  122. package/src/generated/model/createDeployment200.ts +2 -2
  123. package/src/generated/model/createDeployment200Release.ts +4 -4
  124. package/src/generated/model/createDeployment200ReleasePointersItem.ts +3 -1
  125. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +2 -1
  126. package/src/generated/model/createDeployment200TargetsItem.ts +0 -5
  127. package/src/generated/model/createDeployment201.ts +2 -2
  128. package/src/generated/model/createDeployment201Release.ts +4 -4
  129. package/src/generated/model/createDeployment201ReleasePointersItem.ts +3 -1
  130. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +2 -1
  131. package/src/generated/model/createDeployment201TargetsItem.ts +0 -5
  132. package/src/generated/model/createDeployment409.ts +8 -11
  133. package/src/generated/model/createDeploymentBody.ts +2 -2
  134. package/src/generated/model/createDeploymentParams.ts +7 -7
  135. package/src/generated/model/createFlow201.ts +1 -1
  136. package/src/generated/model/createFlow201Branding.ts +1 -1
  137. package/src/generated/model/createFlow201StepGates.ts +22 -9
  138. package/src/generated/model/createFlow201StepGatesChallenge.ts +30 -0
  139. package/src/generated/model/createFlow201StepGatesConfig.ts +2 -2
  140. package/src/generated/model/createFlow201StepGatesKind.ts +3 -4
  141. package/src/generated/model/createGrantParams.ts +7 -7
  142. package/src/generated/model/createInvitation201.ts +88 -16
  143. package/src/generated/model/createInvitationBody.ts +4 -4
  144. package/src/generated/model/createInvitationDefault.ts +54 -0
  145. package/src/generated/model/createInvitationParams.ts +7 -7
  146. package/src/generated/model/createProjectClaim201.ts +25 -0
  147. package/src/generated/model/createProjectClaim401.ts +20 -0
  148. package/src/generated/model/createProjectClaim401Details.ts +12 -0
  149. package/src/generated/model/createProjectClaim404.ts +23 -0
  150. package/src/generated/model/createProjectClaim409.ts +25 -0
  151. package/src/generated/model/createProjectClaim409Details.ts +14 -0
  152. package/src/generated/model/createProjectClaim410.ts +23 -0
  153. package/src/generated/model/createProjectClaimDefault.ts +99 -0
  154. package/src/generated/model/createRelease200.ts +4 -4
  155. package/src/generated/model/createRelease200PointersItem.ts +3 -1
  156. package/src/generated/model/createRelease200PointersItemKind.ts +2 -1
  157. package/src/generated/model/createRelease201.ts +4 -4
  158. package/src/generated/model/createRelease201PointersItem.ts +3 -1
  159. package/src/generated/model/createRelease201PointersItemKind.ts +2 -1
  160. package/src/generated/model/createReleaseBodyPointersItem.ts +1 -1
  161. package/src/generated/model/createReleaseBodyPointersItemKind.ts +2 -1
  162. package/src/generated/model/createReleaseParams.ts +7 -7
  163. package/src/generated/model/createTeamParams.ts +7 -7
  164. package/src/generated/model/createUser201.ts +1 -1
  165. package/src/generated/model/createUserBody.ts +1 -1
  166. package/src/generated/model/createUserParams.ts +23 -23
  167. package/src/generated/model/createUserPasskeyRegistration201.ts +25 -0
  168. package/src/generated/model/createUserPasskeyRegistration201Options.ts +13 -0
  169. package/src/generated/model/createUserPasskeyRegistration400.ts +20 -0
  170. package/src/generated/model/createUserPasskeyRegistration400Details.ts +12 -0
  171. package/src/generated/model/createUserPasskeyRegistration401.ts +20 -0
  172. package/src/generated/model/createUserPasskeyRegistration401Details.ts +12 -0
  173. package/src/generated/model/createUserPasskeyRegistration403.ts +20 -0
  174. package/src/generated/model/createUserPasskeyRegistration403Details.ts +12 -0
  175. package/src/generated/model/createUserPasskeyRegistration404.ts +20 -0
  176. package/src/generated/model/createUserPasskeyRegistration404Details.ts +12 -0
  177. package/src/generated/model/createUserPasskeyRegistration500.ts +20 -0
  178. package/src/generated/model/createUserPasskeyRegistration500Details.ts +12 -0
  179. package/src/generated/model/createUserPasskeyRegistrationBody.ts +33 -0
  180. package/src/generated/model/createUserPasskeyRegistrationDefault.ts +126 -0
  181. package/src/generated/model/deactivateTeam400.ts +20 -0
  182. package/src/generated/model/deactivateTeam400Details.ts +12 -0
  183. package/src/generated/model/deactivateTeam401.ts +20 -0
  184. package/src/generated/model/deactivateTeam401Details.ts +12 -0
  185. package/src/generated/model/deactivateTeam403.ts +20 -0
  186. package/src/generated/model/deactivateTeam403Details.ts +12 -0
  187. package/src/generated/model/deactivateTeam409.ts +20 -0
  188. package/src/generated/model/deactivateTeam409Details.ts +12 -0
  189. package/src/generated/model/deactivateTeamDefault.ts +90 -0
  190. package/src/generated/model/deleteGrantParams.ts +7 -7
  191. package/src/generated/model/deleteUser401.ts +20 -0
  192. package/src/generated/model/deleteUser401Details.ts +12 -0
  193. package/src/generated/model/deleteUser404.ts +20 -0
  194. package/src/generated/model/deleteUser404Details.ts +12 -0
  195. package/src/generated/model/deleteUser409.ts +20 -0
  196. package/src/generated/model/deleteUser409Details.ts +12 -0
  197. package/src/generated/model/deleteUserDefault.ts +99 -0
  198. package/src/generated/model/deleteVariableParams.ts +12 -12
  199. package/src/generated/model/evaluatePolicy200.ts +2 -2
  200. package/src/generated/model/evaluatePolicyBody.ts +31 -0
  201. package/src/generated/model/evaluatePolicyParams.ts +7 -7
  202. package/src/generated/model/exchangeHandoffBody.ts +2 -2
  203. package/src/generated/model/exchangeHandoffParams.ts +7 -7
  204. package/src/generated/model/getApplication200.ts +43 -0
  205. package/src/generated/model/getApplication200Definition.ts +35 -0
  206. package/src/generated/model/getApplication200DefinitionClientsItem.ts +84 -0
  207. package/src/generated/model/getApplication200DefinitionClientsItemGrantTypesItem.ts +15 -0
  208. package/src/generated/model/getApplication200DefinitionClientsItemType.ts +19 -0
  209. package/src/generated/model/getApplication401.ts +20 -0
  210. package/src/generated/model/getApplication401Details.ts +12 -0
  211. package/src/generated/model/getApplication403.ts +20 -0
  212. package/src/generated/model/getApplication403Details.ts +12 -0
  213. package/src/generated/model/getApplication404.ts +20 -0
  214. package/src/generated/model/getApplication404Details.ts +12 -0
  215. package/src/generated/model/getApplicationDefault.ts +72 -0
  216. package/src/generated/model/getApplicationParams.ts +17 -0
  217. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +1 -1
  218. package/src/generated/model/getAuthAttempt200ChallengesItemPayload.ts +1 -1
  219. package/src/generated/model/getBranding200.ts +32 -0
  220. package/src/generated/model/getBranding200Branding.ts +80 -0
  221. package/src/generated/model/getBranding200BrandingLayout.ts +27 -0
  222. package/src/generated/model/getBranding200BrandingShape.ts +30 -0
  223. package/src/generated/model/getBranding200BrandingShapeDensity.ts +19 -0
  224. package/src/generated/model/getBranding200BrandingTheme.ts +41 -0
  225. package/src/generated/model/getBranding200BrandingThemeDark.ts +34 -0
  226. package/src/generated/model/getBranding200BrandingThemeDarkPalette.ts +210 -0
  227. package/src/generated/model/getBranding200BrandingThemeLight.ts +34 -0
  228. package/src/generated/model/getBranding200BrandingThemeLightPalette.ts +210 -0
  229. package/src/generated/model/getBranding200BrandingThemeMode.ts +19 -0
  230. package/src/generated/model/getBranding200BrandingTypography.ts +47 -0
  231. package/src/generated/model/getBranding404.ts +20 -0
  232. package/src/generated/model/getBranding404Details.ts +12 -0
  233. package/src/generated/model/getBrandingDefault.ts +72 -0
  234. package/src/generated/model/getDeployment200.ts +78 -0
  235. package/src/generated/model/getDeployment200Kind.ts +18 -0
  236. package/src/generated/model/getDeployment200Metadata.ts +35 -0
  237. package/src/generated/model/getDeployment200MetadataDeployedByType.ts +20 -0
  238. package/src/generated/model/getDeployment200MetadataReason.ts +20 -0
  239. package/src/generated/model/getDeployment200Release.ts +96 -0
  240. package/src/generated/model/getDeployment200ReleaseMetadata.ts +43 -0
  241. package/src/generated/model/getDeployment200ReleaseMetadataCreatedByType.ts +20 -0
  242. package/src/generated/model/getDeployment200ReleasePointersItem.ts +63 -0
  243. package/src/generated/model/getDeployment200ReleasePointersItemKind.ts +29 -0
  244. package/src/generated/model/getDeployment200Status.ts +23 -0
  245. package/src/generated/model/getDeployment200TargetsItem.ts +23 -0
  246. package/src/generated/model/getDeploymentDefault.ts +72 -0
  247. package/src/generated/model/getDeploymentParams.ts +17 -0
  248. package/src/generated/model/getEvent200.ts +1014 -160
  249. package/src/generated/model/getEventParams.ts +7 -7
  250. package/src/generated/model/getFlowDefinition200.ts +2 -2
  251. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +2 -12
  252. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +2 -9
  253. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -2
  254. package/src/generated/model/getFlowDefinition200UserSchema.ts +1 -1
  255. package/src/generated/model/getFlowStep200.ts +1 -1
  256. package/src/generated/model/getFlowStep200Branding.ts +1 -1
  257. package/src/generated/model/getFlowStep200StepGates.ts +22 -9
  258. package/src/generated/model/getFlowStep200StepGatesChallenge.ts +30 -0
  259. package/src/generated/model/getFlowStep200StepGatesConfig.ts +2 -2
  260. package/src/generated/model/getFlowStep200StepGatesKind.ts +3 -4
  261. package/src/generated/model/getFlowStep429.ts +23 -0
  262. package/src/generated/model/getFlowStepDefault.ts +18 -0
  263. package/src/generated/model/getGrantParams.ts +13 -13
  264. package/src/generated/model/getIdp200.ts +39 -0
  265. package/src/generated/model/getIdp200Definition.ts +44 -0
  266. package/src/generated/model/getIdp200DefinitionClaimMapping.ts +12 -0
  267. package/src/generated/model/getIdp200DefinitionOidc.ts +65 -0
  268. package/src/generated/model/getIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  269. package/src/generated/model/getIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  270. package/src/generated/model/getIdp200DefinitionProtocol.ts +17 -0
  271. package/src/generated/model/getIdp200DefinitionProvisioning.ts +15 -0
  272. package/src/generated/model/getIdp200DefinitionProvisioningCreation.ts +15 -0
  273. package/src/generated/model/getIdp200DefinitionVerifiedClaims.ts +12 -0
  274. package/src/generated/model/getIdp401.ts +20 -0
  275. package/src/generated/model/getIdp401Details.ts +12 -0
  276. package/src/generated/model/getIdp403.ts +20 -0
  277. package/src/generated/model/getIdp403Details.ts +12 -0
  278. package/src/generated/model/getIdp404.ts +20 -0
  279. package/src/generated/model/getIdp404Details.ts +12 -0
  280. package/src/generated/model/getIdpDefault.ts +72 -0
  281. package/src/generated/model/getIdpParams.ts +17 -0
  282. package/src/generated/model/getIdpRevision200.ts +39 -0
  283. package/src/generated/model/getIdpRevision200Definition.ts +44 -0
  284. package/src/generated/model/getIdpRevision200DefinitionClaimMapping.ts +12 -0
  285. package/src/generated/model/getIdpRevision200DefinitionOidc.ts +65 -0
  286. package/src/generated/model/getIdpRevision200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  287. package/src/generated/model/getIdpRevision200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  288. package/src/generated/model/getIdpRevision200DefinitionProtocol.ts +17 -0
  289. package/src/generated/model/getIdpRevision200DefinitionProvisioning.ts +15 -0
  290. package/src/generated/model/getIdpRevision200DefinitionProvisioningCreation.ts +15 -0
  291. package/src/generated/model/getIdpRevision200DefinitionVerifiedClaims.ts +12 -0
  292. package/src/generated/model/getIdpRevision401.ts +20 -0
  293. package/src/generated/model/getIdpRevision401Details.ts +12 -0
  294. package/src/generated/model/getIdpRevision403.ts +20 -0
  295. package/src/generated/model/getIdpRevision403Details.ts +12 -0
  296. package/src/generated/model/getIdpRevision404.ts +20 -0
  297. package/src/generated/model/getIdpRevision404Details.ts +12 -0
  298. package/src/generated/model/getIdpRevisionDefault.ts +72 -0
  299. package/src/generated/model/getIdpRevisionParams.ts +17 -0
  300. package/src/generated/model/getInvitation200.ts +88 -16
  301. package/src/generated/model/getInvitationParams.ts +7 -7
  302. package/src/generated/model/getMyPasswordStateParams.ts +16 -16
  303. package/src/generated/model/getMySessionCsrfTokenParams.ts +16 -16
  304. package/src/generated/model/getMySessionParams.ts +16 -16
  305. package/src/generated/model/getMyUser200.ts +1 -1
  306. package/src/generated/model/getMyUserParams.ts +16 -16
  307. package/src/generated/model/getMyUserSchemaParams.ts +16 -16
  308. package/src/generated/model/getOAuthSettings200.ts +33 -0
  309. package/src/generated/model/getOAuthSettings200Oauth.ts +29 -0
  310. package/src/generated/model/getOAuthSettings404.ts +20 -0
  311. package/src/generated/model/getOAuthSettings404Details.ts +12 -0
  312. package/src/generated/model/getOAuthSettingsDefault.ts +72 -0
  313. package/src/generated/model/getPolicy200.ts +36 -0
  314. package/src/generated/model/getPolicyParams.ts +7 -7
  315. package/src/generated/model/getPolicyRevision200.ts +36 -0
  316. package/src/generated/model/getPolicyRevisionParams.ts +7 -7
  317. package/src/generated/model/getProjectClaimStatus200.ts +27 -0
  318. package/src/generated/model/getProjectClaimStatus401.ts +20 -0
  319. package/src/generated/model/getProjectClaimStatus401Details.ts +12 -0
  320. package/src/generated/model/getProjectClaimStatus403.ts +23 -0
  321. package/src/generated/model/getProjectClaimStatus404.ts +20 -0
  322. package/src/generated/model/getProjectClaimStatus404Details.ts +12 -0
  323. package/src/generated/model/getProjectClaimStatus410.ts +27 -0
  324. package/src/generated/model/getProjectClaimStatus429.ts +20 -0
  325. package/src/generated/model/getProjectClaimStatus429Details.ts +12 -0
  326. package/src/generated/model/getProjectClaimStatusDefault.ts +99 -0
  327. package/src/generated/model/getProjectClaimStatusParams.ts +15 -0
  328. package/src/generated/model/getProjectClaimWindow200.ts +23 -0
  329. package/src/generated/model/getProjectClaimWindow404.ts +20 -0
  330. package/src/generated/model/getProjectClaimWindow404Details.ts +12 -0
  331. package/src/generated/model/getProjectClaimWindow429.ts +20 -0
  332. package/src/generated/model/getProjectClaimWindow429Details.ts +12 -0
  333. package/src/generated/model/getProjectClaimWindowDefault.ts +36 -0
  334. package/src/generated/model/getProjectClaimWindowParams.ts +15 -0
  335. package/src/generated/model/getRelease200.ts +96 -0
  336. package/src/generated/model/getRelease200Metadata.ts +43 -0
  337. package/src/generated/model/getRelease200MetadataCreatedByType.ts +20 -0
  338. package/src/generated/model/getRelease200PointersItem.ts +63 -0
  339. package/src/generated/model/getRelease200PointersItemKind.ts +29 -0
  340. package/src/generated/model/getReleaseDefault.ts +72 -0
  341. package/src/generated/model/getReleaseParams.ts +17 -0
  342. package/src/generated/model/getSchema200.ts +31 -0
  343. package/src/generated/model/getSchema200Metadata.ts +18 -0
  344. package/src/generated/model/getSchema200Schema.ts +84 -0
  345. package/src/generated/model/getSchemaDefault.ts +72 -0
  346. package/src/generated/model/getSchemaParams.ts +21 -0
  347. package/src/generated/model/getUser200.ts +76 -0
  348. package/src/generated/model/getUser200Attributes.ts +13 -0
  349. package/src/generated/model/getUser200Metadata.ts +44 -0
  350. package/src/generated/model/getUser200MetadataLifecycleOwnerTeam.ts +43 -0
  351. package/src/generated/model/getUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  352. package/src/generated/model/getUser200MetadataStatus.ts +20 -0
  353. package/src/generated/model/getUser200TeamsItem.ts +33 -0
  354. package/src/generated/model/getUser200TeamsItemMembershipStatus.ts +20 -0
  355. package/src/generated/model/getUser401.ts +20 -0
  356. package/src/generated/model/getUser401Details.ts +12 -0
  357. package/src/generated/model/getUser404.ts +20 -0
  358. package/src/generated/model/getUser404Details.ts +12 -0
  359. package/src/generated/model/getUserDefault.ts +72 -0
  360. package/src/generated/model/getUserParams.ts +31 -0
  361. package/src/generated/model/getVariableParams.ts +12 -12
  362. package/src/generated/model/index.ts +462 -468
  363. package/src/generated/model/listBranding200.ts +20 -0
  364. package/src/generated/model/listBranding200BrandingItem.ts +18 -0
  365. package/src/generated/model/listBrandingParams.ts +20 -7
  366. package/src/generated/model/listDeploymentVariables200.ts +17 -0
  367. package/src/generated/model/listDeploymentVariablesDefault.ts +90 -0
  368. package/src/generated/model/listDeploymentVariablesParams.ts +17 -0
  369. package/src/generated/model/listDeployments200DeploymentsItem.ts +2 -2
  370. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +4 -4
  371. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +3 -1
  372. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +2 -1
  373. package/src/generated/model/listDeployments200DeploymentsItemTargetsItem.ts +0 -5
  374. package/src/generated/model/listDeploymentsParams.ts +42 -39
  375. package/src/generated/model/listEvents200.ts +2 -2
  376. package/src/generated/model/listEvents200EventsItem.ts +5220 -0
  377. package/src/generated/model/listEventsParams.ts +83 -97
  378. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +2 -2
  379. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +2 -12
  380. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +2 -9
  381. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -2
  382. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +1 -1
  383. package/src/generated/model/listFlowDefinitionsExpandItem.ts +1 -1
  384. package/src/generated/model/listFlowDefinitionsParams.ts +44 -48
  385. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +2 -2
  386. package/src/generated/model/listIdpRevisionsParams.ts +20 -20
  387. package/src/generated/model/listInvitations200InvitationsItem.ts +88 -16
  388. package/src/generated/model/listInvitationsExpandItem.ts +25 -0
  389. package/src/generated/model/listInvitationsParams.ts +31 -31
  390. package/src/generated/model/listInvitationsStatusItem.ts +22 -0
  391. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +1 -1
  392. package/src/generated/model/listMyIdentityLinksParams.ts +29 -29
  393. package/src/generated/model/listMyPasskeysParams.ts +29 -29
  394. package/src/generated/model/listMyProjectsParams.ts +52 -46
  395. package/src/generated/model/listMyTeamsParams.ts +29 -29
  396. package/src/generated/model/listPolicies200PoliciesItem.ts +36 -0
  397. package/src/generated/model/listPoliciesOperation.ts +1 -0
  398. package/src/generated/model/listPoliciesParams.ts +22 -24
  399. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +36 -0
  400. package/src/generated/model/listPolicyRevisionsParams.ts +20 -20
  401. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +1 -1
  402. package/src/generated/model/listProjectAdminsParams.ts +13 -13
  403. package/src/generated/model/listProjectMembers200.ts +20 -0
  404. package/src/generated/model/listProjectMembers200MembersItem.ts +38 -0
  405. package/src/generated/model/listProjectMembers200MembersItemRelation.ts +20 -0
  406. package/src/generated/model/listProjectMembers200MembersItemSourcesItem.ts +55 -0
  407. package/src/generated/model/listProjectMembers200MembersItemUser.ts +40 -0
  408. package/src/generated/model/listProjectMembers400.ts +20 -0
  409. package/src/generated/model/listProjectMembers400Details.ts +12 -0
  410. package/src/generated/model/listProjectMembers401.ts +20 -0
  411. package/src/generated/model/listProjectMembers401Details.ts +12 -0
  412. package/src/generated/model/listProjectMembers403.ts +20 -0
  413. package/src/generated/model/listProjectMembers403Details.ts +12 -0
  414. package/src/generated/model/listProjectMembers404.ts +20 -0
  415. package/src/generated/model/listProjectMembers404Details.ts +12 -0
  416. package/src/generated/model/listProjectMembersDefault.ts +81 -0
  417. package/src/generated/model/listProjectMembersParams.ts +29 -0
  418. package/src/generated/model/listProjectMembersRelation.ts +16 -0
  419. package/src/generated/model/listProjectPreviews200.ts +20 -0
  420. package/src/generated/model/listProjectPreviews200PreviewsItem.ts +37 -0
  421. package/src/generated/model/listProjectPreviewsDefault.ts +72 -0
  422. package/src/generated/model/listProjectPreviewsParams.ts +23 -0
  423. package/src/generated/model/listReleases200ReleasesItem.ts +2 -2
  424. package/src/generated/model/listReleasesParams.ts +60 -60
  425. package/src/generated/model/listSchemasParams.ts +54 -56
  426. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +1 -1
  427. package/src/generated/model/listUserIdentityLinksParams.ts +13 -13
  428. package/src/generated/model/listUserPasskeysParams.ts +13 -13
  429. package/src/generated/model/listUserTeamsParams.ts +13 -13
  430. package/src/generated/model/listVariables200.ts +35 -0
  431. package/src/generated/model/listVariables200Preview.ts +20 -0
  432. package/src/generated/model/listVariables200Primary.ts +20 -0
  433. package/src/generated/model/listVariablesDefault.ts +72 -0
  434. package/src/generated/model/listVariablesKind.ts +15 -0
  435. package/src/generated/model/listVariablesParams.ts +23 -0
  436. package/src/generated/model/lookupInvitation200.ts +62 -4
  437. package/src/generated/model/publishApplication200.ts +137 -0
  438. package/src/generated/model/publishApplication200ClientSecretsItem.ts +19 -0
  439. package/src/generated/model/publishApplication201.ts +137 -0
  440. package/src/generated/model/publishApplication201ClientSecretsItem.ts +19 -0
  441. package/src/generated/model/publishApplication400.ts +20 -0
  442. package/src/generated/model/publishApplication400Details.ts +12 -0
  443. package/src/generated/model/publishApplication401.ts +20 -0
  444. package/src/generated/model/publishApplication401Details.ts +12 -0
  445. package/src/generated/model/publishApplication403.ts +20 -0
  446. package/src/generated/model/publishApplication403Details.ts +12 -0
  447. package/src/generated/model/publishApplication404.ts +20 -0
  448. package/src/generated/model/publishApplication404Details.ts +12 -0
  449. package/src/generated/model/publishApplication409.ts +20 -0
  450. package/src/generated/model/publishApplication409Details.ts +12 -0
  451. package/src/generated/model/publishApplicationBody.ts +20 -0
  452. package/src/generated/model/publishApplicationBodyApplication.ts +35 -0
  453. package/src/generated/model/publishApplicationBodyApplicationClientsItem.ts +84 -0
  454. package/src/generated/model/publishApplicationBodyApplicationClientsItemGrantTypesItem.ts +15 -0
  455. package/src/generated/model/publishApplicationBodyApplicationClientsItemType.ts +19 -0
  456. package/src/generated/model/publishApplicationDefault.ts +117 -0
  457. package/src/generated/model/publishApplicationParams.ts +17 -0
  458. package/src/generated/model/publishBranding201.ts +32 -0
  459. package/src/generated/model/publishBranding201Branding.ts +80 -0
  460. package/src/generated/model/publishBranding201BrandingLayout.ts +27 -0
  461. package/src/generated/model/publishBranding201BrandingShape.ts +30 -0
  462. package/src/generated/model/publishBranding201BrandingShapeDensity.ts +19 -0
  463. package/src/generated/model/publishBranding201BrandingTheme.ts +41 -0
  464. package/src/generated/model/publishBranding201BrandingThemeDark.ts +34 -0
  465. package/src/generated/model/publishBranding201BrandingThemeDarkPalette.ts +210 -0
  466. package/src/generated/model/publishBranding201BrandingThemeLight.ts +34 -0
  467. package/src/generated/model/publishBranding201BrandingThemeLightPalette.ts +210 -0
  468. package/src/generated/model/publishBranding201BrandingThemeMode.ts +19 -0
  469. package/src/generated/model/publishBranding201BrandingTypography.ts +47 -0
  470. package/src/generated/model/publishBranding400.ts +20 -0
  471. package/src/generated/model/publishBranding400Details.ts +12 -0
  472. package/src/generated/model/publishBrandingBody.ts +80 -0
  473. package/src/generated/model/publishBrandingBodyLayout.ts +27 -0
  474. package/src/generated/model/publishBrandingBodyShape.ts +30 -0
  475. package/src/generated/model/publishBrandingBodyShapeDensity.ts +19 -0
  476. package/src/generated/model/publishBrandingBodyTheme.ts +41 -0
  477. package/src/generated/model/publishBrandingBodyThemeDark.ts +34 -0
  478. package/src/generated/model/publishBrandingBodyThemeDarkPalette.ts +210 -0
  479. package/src/generated/model/publishBrandingBodyThemeLight.ts +34 -0
  480. package/src/generated/model/publishBrandingBodyThemeLightPalette.ts +210 -0
  481. package/src/generated/model/publishBrandingBodyThemeMode.ts +19 -0
  482. package/src/generated/model/publishBrandingBodyTypography.ts +47 -0
  483. package/src/generated/model/publishBrandingDefault.ts +99 -0
  484. package/src/generated/model/publishBrandingParams.ts +17 -0
  485. package/src/generated/model/publishFlowDefinition201.ts +48 -0
  486. package/src/generated/model/publishFlowDefinition201FlowDefinition.ts +85 -0
  487. package/src/generated/model/publishFlowDefinition201FlowDefinitionAudience.ts +20 -0
  488. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItem.ts +109 -0
  489. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +49 -0
  490. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +29 -0
  491. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemComplete.ts +20 -0
  492. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGates.ts +29 -0
  493. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +12 -0
  494. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +20 -0
  495. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +25 -0
  496. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitions.ts +68 -0
  497. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +28 -0
  498. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  499. package/src/generated/model/publishFlowDefinition201UserSchema.ts +26 -0
  500. package/src/generated/model/publishFlowDefinition201UserSchemaMetadata.ts +18 -0
  501. package/src/generated/model/publishFlowDefinition201UserSchemaSchema.ts +84 -0
  502. package/src/generated/model/publishFlowDefinition400.ts +20 -0
  503. package/src/generated/model/publishFlowDefinition400Details.ts +12 -0
  504. package/src/generated/model/publishFlowDefinitionBody.ts +43 -0
  505. package/src/generated/model/publishFlowDefinitionBodyFlowDefinition.ts +85 -0
  506. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionAudience.ts +20 -0
  507. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItem.ts +109 -0
  508. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +49 -0
  509. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +29 -0
  510. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +20 -0
  511. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +29 -0
  512. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +12 -0
  513. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +20 -0
  514. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +25 -0
  515. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +68 -0
  516. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +28 -0
  517. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  518. package/src/generated/model/publishFlowDefinitionDefault.ts +117 -0
  519. package/src/generated/model/publishIdp200.ts +39 -0
  520. package/src/generated/model/publishIdp200Definition.ts +44 -0
  521. package/src/generated/model/publishIdp200DefinitionClaimMapping.ts +12 -0
  522. package/src/generated/model/publishIdp200DefinitionOidc.ts +65 -0
  523. package/src/generated/model/publishIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  524. package/src/generated/model/publishIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  525. package/src/generated/model/publishIdp200DefinitionProtocol.ts +17 -0
  526. package/src/generated/model/publishIdp200DefinitionProvisioning.ts +15 -0
  527. package/src/generated/model/publishIdp200DefinitionProvisioningCreation.ts +15 -0
  528. package/src/generated/model/publishIdp200DefinitionVerifiedClaims.ts +12 -0
  529. package/src/generated/model/publishIdp201.ts +39 -0
  530. package/src/generated/model/publishIdp201Definition.ts +44 -0
  531. package/src/generated/model/publishIdp201DefinitionClaimMapping.ts +12 -0
  532. package/src/generated/model/publishIdp201DefinitionOidc.ts +65 -0
  533. package/src/generated/model/publishIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  534. package/src/generated/model/publishIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  535. package/src/generated/model/publishIdp201DefinitionProtocol.ts +17 -0
  536. package/src/generated/model/publishIdp201DefinitionProvisioning.ts +15 -0
  537. package/src/generated/model/publishIdp201DefinitionProvisioningCreation.ts +15 -0
  538. package/src/generated/model/publishIdp201DefinitionVerifiedClaims.ts +12 -0
  539. package/src/generated/model/publishIdp400.ts +20 -0
  540. package/src/generated/model/publishIdp400Details.ts +12 -0
  541. package/src/generated/model/publishIdp401.ts +20 -0
  542. package/src/generated/model/publishIdp401Details.ts +12 -0
  543. package/src/generated/model/publishIdp403.ts +20 -0
  544. package/src/generated/model/publishIdp403Details.ts +12 -0
  545. package/src/generated/model/publishIdp404.ts +20 -0
  546. package/src/generated/model/publishIdp404Details.ts +12 -0
  547. package/src/generated/model/publishIdpBody.ts +15 -0
  548. package/src/generated/model/publishIdpBodyIdp.ts +44 -0
  549. package/src/generated/model/publishIdpBodyIdpClaimMapping.ts +12 -0
  550. package/src/generated/model/publishIdpBodyIdpOidc.ts +65 -0
  551. package/src/generated/model/publishIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
  552. package/src/generated/model/publishIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
  553. package/src/generated/model/publishIdpBodyIdpProtocol.ts +17 -0
  554. package/src/generated/model/publishIdpBodyIdpProvisioning.ts +15 -0
  555. package/src/generated/model/publishIdpBodyIdpProvisioningCreation.ts +15 -0
  556. package/src/generated/model/publishIdpBodyIdpVerifiedClaims.ts +12 -0
  557. package/src/generated/model/publishIdpDefault.ts +108 -0
  558. package/src/generated/model/publishIdpParams.ts +17 -0
  559. package/src/generated/model/publishPolicy201.ts +36 -0
  560. package/src/generated/model/publishPolicyBody.ts +20 -0
  561. package/src/generated/model/publishPolicyParams.ts +7 -7
  562. package/src/generated/model/publishSchema201.ts +31 -0
  563. package/src/generated/model/publishSchema201Metadata.ts +18 -0
  564. package/src/generated/model/publishSchema201Schema.ts +84 -0
  565. package/src/generated/model/publishSchemaBody.ts +86 -0
  566. package/src/generated/model/publishSchemaDefault.ts +153 -0
  567. package/src/generated/model/publishSchemaParams.ts +22 -0
  568. package/src/generated/model/queryGrantsParams.ts +7 -7
  569. package/src/generated/model/queryIdps200IdpsItem.ts +2 -2
  570. package/src/generated/model/queryIdpsParams.ts +7 -7
  571. package/src/generated/model/querySessionsParams.ts +7 -7
  572. package/src/generated/model/queryTeamsParams.ts +6 -6
  573. package/src/generated/model/queryUsers200UsersItem.ts +1 -1
  574. package/src/generated/model/queryUsersParams.ts +6 -6
  575. package/src/generated/model/rejectInvitation200.ts +88 -16
  576. package/src/generated/model/rejectInvitationDefault.ts +18 -0
  577. package/src/generated/model/removeProjectOriginBody.ts +15 -0
  578. package/src/generated/model/removeProjectOriginDefault.ts +108 -0
  579. package/src/generated/model/removeProjectPreviewBody.ts +23 -0
  580. package/src/generated/model/removeProjectPreviewDefault.ts +90 -0
  581. package/src/generated/model/revokeMySessionParams.ts +16 -16
  582. package/src/generated/model/revokeRelease200.ts +4 -4
  583. package/src/generated/model/revokeRelease200PointersItem.ts +3 -1
  584. package/src/generated/model/revokeRelease200PointersItemKind.ts +2 -1
  585. package/src/generated/model/revokeReleaseParams.ts +7 -7
  586. package/src/generated/model/rollbackDeployment200.ts +2 -2
  587. package/src/generated/model/rollbackDeployment200Release.ts +4 -4
  588. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +3 -1
  589. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +2 -1
  590. package/src/generated/model/rollbackDeployment200TargetsItem.ts +0 -5
  591. package/src/generated/model/rollbackDeployment201.ts +2 -2
  592. package/src/generated/model/rollbackDeployment201Release.ts +4 -4
  593. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +3 -1
  594. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +2 -1
  595. package/src/generated/model/rollbackDeployment201TargetsItem.ts +0 -5
  596. package/src/generated/model/rollbackDeployment409.ts +8 -11
  597. package/src/generated/model/rollbackDeploymentParams.ts +7 -7
  598. package/src/generated/model/search200.ts +9 -2
  599. package/src/generated/model/searchDefault.ts +2 -74
  600. package/src/generated/model/searchParams.ts +7 -6
  601. package/src/generated/model/setUserPassword429.ts +23 -0
  602. package/src/generated/model/setUserPasswordDefault.ts +9 -0
  603. package/src/generated/model/setVariables200.ts +35 -0
  604. package/src/generated/model/setVariables200Preview.ts +20 -0
  605. package/src/generated/model/setVariables200Primary.ts +20 -0
  606. package/src/generated/model/setVariablesBody.ts +48 -0
  607. package/src/generated/model/setVariablesDefault.ts +162 -0
  608. package/src/generated/model/setVariablesKind.ts +15 -0
  609. package/src/generated/model/setVariablesParams.ts +23 -0
  610. package/src/generated/model/submitFlowStep200.ts +1 -1
  611. package/src/generated/model/submitFlowStep200Branding.ts +1 -1
  612. package/src/generated/model/submitFlowStep200StepGates.ts +22 -9
  613. package/src/generated/model/submitFlowStep200StepGatesChallenge.ts +30 -0
  614. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +2 -2
  615. package/src/generated/model/submitFlowStep200StepGatesKind.ts +3 -4
  616. package/src/generated/model/submitFlowStep400.ts +885 -8
  617. package/src/generated/model/submitFlowStep429.ts +23 -0
  618. package/src/generated/model/submitFlowStepBody.ts +5 -2
  619. package/src/generated/model/submitFlowStepBodyGateProofs.ts +4 -1
  620. package/src/generated/model/submitFlowStepDefault.ts +27 -0
  621. package/src/generated/model/updateMyUser200.ts +76 -0
  622. package/src/generated/model/updateMyUser200Attributes.ts +13 -0
  623. package/src/generated/model/updateMyUser200Metadata.ts +44 -0
  624. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
  625. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  626. package/src/generated/model/updateMyUser200MetadataStatus.ts +20 -0
  627. package/src/generated/model/updateMyUser200TeamsItem.ts +33 -0
  628. package/src/generated/model/updateMyUser200TeamsItemMembershipStatus.ts +20 -0
  629. package/src/generated/model/updateMyUser400.ts +20 -0
  630. package/src/generated/model/updateMyUser400Details.ts +12 -0
  631. package/src/generated/model/updateMyUser401.ts +20 -0
  632. package/src/generated/model/updateMyUser401Details.ts +12 -0
  633. package/src/generated/model/updateMyUser403.ts +20 -0
  634. package/src/generated/model/updateMyUser403Details.ts +12 -0
  635. package/src/generated/model/updateMyUser404.ts +23 -0
  636. package/src/generated/model/updateMyUser409.ts +20 -0
  637. package/src/generated/model/updateMyUser409Details.ts +12 -0
  638. package/src/generated/model/updateMyUserBody.ts +25 -0
  639. package/src/generated/model/updateMyUserBodyAttributes.ts +13 -0
  640. package/src/generated/model/updateMyUserDefault.ts +117 -0
  641. package/src/generated/model/updateMyUserParams.ts +26 -0
  642. package/src/generated/model/updateProject200.ts +96 -0
  643. package/src/generated/model/updateProject400.ts +20 -0
  644. package/src/generated/model/updateProject400Details.ts +12 -0
  645. package/src/generated/model/updateProject401.ts +20 -0
  646. package/src/generated/model/updateProject401Details.ts +12 -0
  647. package/src/generated/model/updateProject404.ts +20 -0
  648. package/src/generated/model/updateProject404Details.ts +12 -0
  649. package/src/generated/model/updateProjectBody.ts +19 -0
  650. package/src/generated/model/updateProjectBodyPasswordHash.ts +40 -0
  651. package/src/generated/model/updateProjectBodyPasswordHashAlgorithm.ts +24 -0
  652. package/src/generated/model/updateProjectBodyPasswordHashParams.ts +44 -0
  653. package/src/generated/model/updateProjectBodyPasswordHashParamsHash.ts +24 -0
  654. package/src/generated/model/updateProjectDefault.ts +117 -0
  655. package/src/generated/model/updateUser200.ts +76 -0
  656. package/src/generated/model/updateUser200Attributes.ts +13 -0
  657. package/src/generated/model/updateUser200Metadata.ts +44 -0
  658. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeam.ts +43 -0
  659. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  660. package/src/generated/model/updateUser200MetadataStatus.ts +20 -0
  661. package/src/generated/model/updateUser200TeamsItem.ts +33 -0
  662. package/src/generated/model/updateUser200TeamsItemMembershipStatus.ts +20 -0
  663. package/src/generated/model/updateUser400.ts +20 -0
  664. package/src/generated/model/updateUser400Details.ts +12 -0
  665. package/src/generated/model/updateUser401.ts +20 -0
  666. package/src/generated/model/updateUser401Details.ts +12 -0
  667. package/src/generated/model/updateUser403.ts +20 -0
  668. package/src/generated/model/updateUser403Details.ts +12 -0
  669. package/src/generated/model/updateUser404.ts +20 -0
  670. package/src/generated/model/updateUser404Details.ts +12 -0
  671. package/src/generated/model/updateUser409.ts +20 -0
  672. package/src/generated/model/updateUser409Details.ts +12 -0
  673. package/src/generated/model/updateUserBody.ts +53 -0
  674. package/src/generated/model/updateUserBodyAttributes.ts +13 -0
  675. package/src/generated/model/updateUserDefault.ts +117 -0
  676. package/src/generated/model/verifyAuthAttemptChallenge200.ts +76 -0
  677. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItem.ts +49 -0
  678. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemMethod.ts +20 -0
  679. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +34 -0
  680. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemState.ts +22 -0
  681. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItem.ts +28 -0
  682. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemMethod.ts +20 -0
  683. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemPayload.ts +37 -0
  684. package/src/generated/model/verifyAuthAttemptChallenge200RequiredFactorsItem.ts +20 -0
  685. package/src/generated/model/verifyAuthAttemptChallenge200State.ts +24 -0
  686. package/src/generated/model/verifyAuthAttemptChallenge409.ts +20 -0
  687. package/src/generated/model/verifyAuthAttemptChallenge409Details.ts +12 -0
  688. package/src/generated/model/verifyAuthAttemptChallenge429.ts +23 -0
  689. package/src/generated/model/verifyAuthAttemptChallengeBody.ts +27 -0
  690. package/src/generated/model/verifyAuthAttemptChallengeDefault.ts +189 -0
  691. package/src/generated/operations.ts +195 -106
  692. package/src/generated/paging.ts +17 -7
  693. package/src/runtime/api-factory.spec.ts +3 -3
  694. package/src/runtime/api-factory.ts +1 -1
  695. package/src/runtime/base-url.spec.ts +5 -5
  696. package/dist/api-factory-Durul-IL.d.mts +0 -222
  697. package/dist/api-factory-Durul-IL.d.mts.map +0 -1
  698. package/dist/api-factory-DwzqkuTV.mjs +0 -367
  699. package/dist/api-factory-DwzqkuTV.mjs.map +0 -1
  700. package/dist/fetch-BzLvdm6C.d.mts +0 -136
  701. package/dist/fetch-BzLvdm6C.d.mts.map +0 -1
  702. package/dist/generated/endpoints/zitadelNextGen.mjs.map +0 -1
  703. package/dist/index-D0r_rLRr.d.mts +0 -60777
  704. package/dist/index-D0r_rLRr.d.mts.map +0 -1
  705. package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
  706. package/dist/zitadelNextGen-DgKtevtj.d.mts +0 -1940
  707. package/dist/zitadelNextGen-DgKtevtj.d.mts.map +0 -1
  708. package/src/generated/model/acceptInvitation429.ts +0 -20
  709. package/src/generated/model/acceptInvitation429Details.ts +0 -12
  710. package/src/generated/model/addOrigin201.ts +0 -18
  711. package/src/generated/model/addOrigin201Kind.ts +0 -18
  712. package/src/generated/model/addOriginBody.ts +0 -35
  713. package/src/generated/model/addOriginBodyKind.ts +0 -19
  714. package/src/generated/model/addOriginDefault.ts +0 -135
  715. package/src/generated/model/beginUserPasskeyRegistration201.ts +0 -25
  716. package/src/generated/model/beginUserPasskeyRegistration201Options.ts +0 -13
  717. package/src/generated/model/beginUserPasskeyRegistration400.ts +0 -20
  718. package/src/generated/model/beginUserPasskeyRegistration400Details.ts +0 -12
  719. package/src/generated/model/beginUserPasskeyRegistration401.ts +0 -20
  720. package/src/generated/model/beginUserPasskeyRegistration401Details.ts +0 -12
  721. package/src/generated/model/beginUserPasskeyRegistration403.ts +0 -20
  722. package/src/generated/model/beginUserPasskeyRegistration403Details.ts +0 -12
  723. package/src/generated/model/beginUserPasskeyRegistration404.ts +0 -20
  724. package/src/generated/model/beginUserPasskeyRegistration404Details.ts +0 -12
  725. package/src/generated/model/beginUserPasskeyRegistration500.ts +0 -20
  726. package/src/generated/model/beginUserPasskeyRegistration500Details.ts +0 -12
  727. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +0 -33
  728. package/src/generated/model/beginUserPasskeyRegistrationDefault.ts +0 -126
  729. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +0 -23
  730. package/src/generated/model/completeClaim200.ts +0 -19
  731. package/src/generated/model/completeClaim400.ts +0 -20
  732. package/src/generated/model/completeClaim400Details.ts +0 -12
  733. package/src/generated/model/completeClaim401.ts +0 -23
  734. package/src/generated/model/completeClaim403.ts +0 -36
  735. package/src/generated/model/completeClaim404.ts +0 -20
  736. package/src/generated/model/completeClaim404Details.ts +0 -12
  737. package/src/generated/model/completeClaim409.ts +0 -25
  738. package/src/generated/model/completeClaim409Details.ts +0 -14
  739. package/src/generated/model/completeClaim410.ts +0 -27
  740. package/src/generated/model/completeClaim429.ts +0 -20
  741. package/src/generated/model/completeClaim429Details.ts +0 -12
  742. package/src/generated/model/completeClaimBody.ts +0 -18
  743. package/src/generated/model/completeClaimDefault.ts +0 -144
  744. package/src/generated/model/createApplication200.ts +0 -137
  745. package/src/generated/model/createApplication200ClientSecretsItem.ts +0 -19
  746. package/src/generated/model/createApplication201.ts +0 -137
  747. package/src/generated/model/createApplication201ClientSecretsItem.ts +0 -19
  748. package/src/generated/model/createApplication400.ts +0 -20
  749. package/src/generated/model/createApplication400Details.ts +0 -12
  750. package/src/generated/model/createApplication401.ts +0 -20
  751. package/src/generated/model/createApplication401Details.ts +0 -12
  752. package/src/generated/model/createApplication403.ts +0 -20
  753. package/src/generated/model/createApplication403Details.ts +0 -12
  754. package/src/generated/model/createApplication404.ts +0 -20
  755. package/src/generated/model/createApplication404Details.ts +0 -12
  756. package/src/generated/model/createApplication409.ts +0 -20
  757. package/src/generated/model/createApplication409Details.ts +0 -12
  758. package/src/generated/model/createApplicationBody.ts +0 -20
  759. package/src/generated/model/createApplicationBodyApplication.ts +0 -35
  760. package/src/generated/model/createApplicationBodyApplicationClientsItem.ts +0 -84
  761. package/src/generated/model/createApplicationBodyApplicationClientsItemGrantTypesItem.ts +0 -15
  762. package/src/generated/model/createApplicationBodyApplicationClientsItemType.ts +0 -19
  763. package/src/generated/model/createApplicationDefault.ts +0 -54
  764. package/src/generated/model/createApplicationParams.ts +0 -17
  765. package/src/generated/model/createBranding201.ts +0 -32
  766. package/src/generated/model/createBranding201Branding.ts +0 -80
  767. package/src/generated/model/createBranding201BrandingLayout.ts +0 -27
  768. package/src/generated/model/createBranding201BrandingShape.ts +0 -30
  769. package/src/generated/model/createBranding201BrandingShapeDensity.ts +0 -19
  770. package/src/generated/model/createBranding201BrandingTheme.ts +0 -41
  771. package/src/generated/model/createBranding201BrandingThemeDark.ts +0 -34
  772. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +0 -210
  773. package/src/generated/model/createBranding201BrandingThemeLight.ts +0 -34
  774. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +0 -210
  775. package/src/generated/model/createBranding201BrandingThemeMode.ts +0 -19
  776. package/src/generated/model/createBranding201BrandingTypography.ts +0 -47
  777. package/src/generated/model/createBranding400.ts +0 -20
  778. package/src/generated/model/createBranding400Details.ts +0 -12
  779. package/src/generated/model/createBrandingBody.ts +0 -80
  780. package/src/generated/model/createBrandingBodyLayout.ts +0 -27
  781. package/src/generated/model/createBrandingBodyShape.ts +0 -30
  782. package/src/generated/model/createBrandingBodyShapeDensity.ts +0 -19
  783. package/src/generated/model/createBrandingBodyTheme.ts +0 -41
  784. package/src/generated/model/createBrandingBodyThemeDark.ts +0 -34
  785. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +0 -210
  786. package/src/generated/model/createBrandingBodyThemeLight.ts +0 -34
  787. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +0 -210
  788. package/src/generated/model/createBrandingBodyThemeMode.ts +0 -19
  789. package/src/generated/model/createBrandingBodyTypography.ts +0 -47
  790. package/src/generated/model/createBrandingDefault.ts +0 -99
  791. package/src/generated/model/createBrandingParams.ts +0 -17
  792. package/src/generated/model/createFlowDefinition201.ts +0 -48
  793. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +0 -95
  794. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +0 -20
  795. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +0 -23
  796. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +0 -109
  797. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +0 -49
  798. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +0 -29
  799. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +0 -20
  800. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +0 -36
  801. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +0 -13
  802. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +0 -20
  803. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +0 -25
  804. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +0 -68
  805. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +0 -28
  806. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  807. package/src/generated/model/createFlowDefinition201UserSchema.ts +0 -26
  808. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +0 -18
  809. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +0 -84
  810. package/src/generated/model/createFlowDefinition400.ts +0 -20
  811. package/src/generated/model/createFlowDefinition400Details.ts +0 -12
  812. package/src/generated/model/createFlowDefinitionBody.ts +0 -45
  813. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +0 -95
  814. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +0 -20
  815. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +0 -23
  816. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -109
  817. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -49
  818. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -29
  819. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -20
  820. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -36
  821. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -13
  822. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
  823. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -25
  824. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -68
  825. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +0 -28
  826. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  827. package/src/generated/model/createFlowDefinitionDefault.ts +0 -117
  828. package/src/generated/model/createHandoff200.ts +0 -30
  829. package/src/generated/model/createHandoff409.ts +0 -20
  830. package/src/generated/model/createHandoff409Details.ts +0 -12
  831. package/src/generated/model/createHandoffDefault.ts +0 -99
  832. package/src/generated/model/createIdp200.ts +0 -39
  833. package/src/generated/model/createIdp200Definition.ts +0 -44
  834. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +0 -12
  835. package/src/generated/model/createIdp200DefinitionOidc.ts +0 -65
  836. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  837. package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  838. package/src/generated/model/createIdp200DefinitionProtocol.ts +0 -17
  839. package/src/generated/model/createIdp200DefinitionProvisioning.ts +0 -15
  840. package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +0 -15
  841. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +0 -12
  842. package/src/generated/model/createIdp201.ts +0 -39
  843. package/src/generated/model/createIdp201Definition.ts +0 -44
  844. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +0 -12
  845. package/src/generated/model/createIdp201DefinitionOidc.ts +0 -65
  846. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  847. package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  848. package/src/generated/model/createIdp201DefinitionProtocol.ts +0 -17
  849. package/src/generated/model/createIdp201DefinitionProvisioning.ts +0 -15
  850. package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +0 -15
  851. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +0 -12
  852. package/src/generated/model/createIdp400.ts +0 -20
  853. package/src/generated/model/createIdp400Details.ts +0 -12
  854. package/src/generated/model/createIdp401.ts +0 -20
  855. package/src/generated/model/createIdp401Details.ts +0 -12
  856. package/src/generated/model/createIdp403.ts +0 -20
  857. package/src/generated/model/createIdp403Details.ts +0 -12
  858. package/src/generated/model/createIdp404.ts +0 -20
  859. package/src/generated/model/createIdp404Details.ts +0 -12
  860. package/src/generated/model/createIdpBody.ts +0 -15
  861. package/src/generated/model/createIdpBodyIdp.ts +0 -44
  862. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +0 -12
  863. package/src/generated/model/createIdpBodyIdpOidc.ts +0 -65
  864. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +0 -12
  865. package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +0 -18
  866. package/src/generated/model/createIdpBodyIdpProtocol.ts +0 -17
  867. package/src/generated/model/createIdpBodyIdpProvisioning.ts +0 -15
  868. package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +0 -15
  869. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +0 -12
  870. package/src/generated/model/createIdpDefault.ts +0 -108
  871. package/src/generated/model/createIdpParams.ts +0 -17
  872. package/src/generated/model/createSchema201.ts +0 -12
  873. package/src/generated/model/createSchemaBody.ts +0 -86
  874. package/src/generated/model/createSchemaDefault.ts +0 -153
  875. package/src/generated/model/createSchemaParams.ts +0 -22
  876. package/src/generated/model/deleteTeam400.ts +0 -20
  877. package/src/generated/model/deleteTeam400Details.ts +0 -12
  878. package/src/generated/model/deleteTeam401.ts +0 -20
  879. package/src/generated/model/deleteTeam401Details.ts +0 -12
  880. package/src/generated/model/deleteTeam403.ts +0 -20
  881. package/src/generated/model/deleteTeam403Details.ts +0 -12
  882. package/src/generated/model/deleteTeam409.ts +0 -20
  883. package/src/generated/model/deleteTeam409Details.ts +0 -12
  884. package/src/generated/model/deleteTeamDefault.ts +0 -90
  885. package/src/generated/model/deleteUserByID401.ts +0 -20
  886. package/src/generated/model/deleteUserByID401Details.ts +0 -12
  887. package/src/generated/model/deleteUserByID404.ts +0 -20
  888. package/src/generated/model/deleteUserByID404Details.ts +0 -12
  889. package/src/generated/model/deleteUserByID409.ts +0 -20
  890. package/src/generated/model/deleteUserByID409Details.ts +0 -12
  891. package/src/generated/model/deleteUserByIDDefault.ts +0 -99
  892. package/src/generated/model/finishUserPasskeyRegistration201.ts +0 -19
  893. package/src/generated/model/finishUserPasskeyRegistration400.ts +0 -20
  894. package/src/generated/model/finishUserPasskeyRegistration400Details.ts +0 -12
  895. package/src/generated/model/finishUserPasskeyRegistration401.ts +0 -20
  896. package/src/generated/model/finishUserPasskeyRegistration401Details.ts +0 -12
  897. package/src/generated/model/finishUserPasskeyRegistration403.ts +0 -20
  898. package/src/generated/model/finishUserPasskeyRegistration403Details.ts +0 -12
  899. package/src/generated/model/finishUserPasskeyRegistration404.ts +0 -20
  900. package/src/generated/model/finishUserPasskeyRegistration404Details.ts +0 -12
  901. package/src/generated/model/finishUserPasskeyRegistration500.ts +0 -20
  902. package/src/generated/model/finishUserPasskeyRegistration500Details.ts +0 -12
  903. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +0 -21
  904. package/src/generated/model/finishUserPasskeyRegistrationBodyAttestation.ts +0 -12
  905. package/src/generated/model/finishUserPasskeyRegistrationDefault.ts +0 -180
  906. package/src/generated/model/getApplicationById200.ts +0 -43
  907. package/src/generated/model/getApplicationById200Definition.ts +0 -35
  908. package/src/generated/model/getApplicationById200DefinitionClientsItem.ts +0 -84
  909. package/src/generated/model/getApplicationById200DefinitionClientsItemGrantTypesItem.ts +0 -15
  910. package/src/generated/model/getApplicationById200DefinitionClientsItemType.ts +0 -19
  911. package/src/generated/model/getApplicationById401.ts +0 -20
  912. package/src/generated/model/getApplicationById401Details.ts +0 -12
  913. package/src/generated/model/getApplicationById403.ts +0 -20
  914. package/src/generated/model/getApplicationById403Details.ts +0 -12
  915. package/src/generated/model/getApplicationById404.ts +0 -20
  916. package/src/generated/model/getApplicationById404Details.ts +0 -12
  917. package/src/generated/model/getApplicationByIdDefault.ts +0 -54
  918. package/src/generated/model/getApplicationByIdParams.ts +0 -17
  919. package/src/generated/model/getBrandingById200.ts +0 -32
  920. package/src/generated/model/getBrandingById200Branding.ts +0 -80
  921. package/src/generated/model/getBrandingById200BrandingLayout.ts +0 -27
  922. package/src/generated/model/getBrandingById200BrandingShape.ts +0 -30
  923. package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +0 -19
  924. package/src/generated/model/getBrandingById200BrandingTheme.ts +0 -41
  925. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +0 -34
  926. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +0 -210
  927. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +0 -34
  928. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +0 -210
  929. package/src/generated/model/getBrandingById200BrandingThemeMode.ts +0 -19
  930. package/src/generated/model/getBrandingById200BrandingTypography.ts +0 -47
  931. package/src/generated/model/getBrandingById404.ts +0 -20
  932. package/src/generated/model/getBrandingById404Details.ts +0 -12
  933. package/src/generated/model/getBrandingByIdDefault.ts +0 -72
  934. package/src/generated/model/getClaimStatus200.ts +0 -27
  935. package/src/generated/model/getClaimStatus401.ts +0 -20
  936. package/src/generated/model/getClaimStatus401Details.ts +0 -12
  937. package/src/generated/model/getClaimStatus403.ts +0 -23
  938. package/src/generated/model/getClaimStatus404.ts +0 -20
  939. package/src/generated/model/getClaimStatus404Details.ts +0 -12
  940. package/src/generated/model/getClaimStatus410.ts +0 -27
  941. package/src/generated/model/getClaimStatus429.ts +0 -20
  942. package/src/generated/model/getClaimStatus429Details.ts +0 -12
  943. package/src/generated/model/getClaimStatusDefault.ts +0 -99
  944. package/src/generated/model/getClaimStatusParams.ts +0 -15
  945. package/src/generated/model/getClaimWindow200.ts +0 -23
  946. package/src/generated/model/getClaimWindow404.ts +0 -20
  947. package/src/generated/model/getClaimWindow404Details.ts +0 -12
  948. package/src/generated/model/getClaimWindow429.ts +0 -20
  949. package/src/generated/model/getClaimWindow429Details.ts +0 -12
  950. package/src/generated/model/getClaimWindowDefault.ts +0 -36
  951. package/src/generated/model/getClaimWindowParams.ts +0 -15
  952. package/src/generated/model/getDeploymentById200.ts +0 -78
  953. package/src/generated/model/getDeploymentById200Kind.ts +0 -18
  954. package/src/generated/model/getDeploymentById200Metadata.ts +0 -35
  955. package/src/generated/model/getDeploymentById200MetadataDeployedByType.ts +0 -20
  956. package/src/generated/model/getDeploymentById200MetadataReason.ts +0 -20
  957. package/src/generated/model/getDeploymentById200Release.ts +0 -96
  958. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +0 -43
  959. package/src/generated/model/getDeploymentById200ReleaseMetadataCreatedByType.ts +0 -20
  960. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +0 -61
  961. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +0 -28
  962. package/src/generated/model/getDeploymentById200Status.ts +0 -23
  963. package/src/generated/model/getDeploymentById200TargetsItem.ts +0 -28
  964. package/src/generated/model/getDeploymentByIdDefault.ts +0 -72
  965. package/src/generated/model/getDeploymentByIdParams.ts +0 -17
  966. package/src/generated/model/getDeploymentVariables200.ts +0 -17
  967. package/src/generated/model/getDeploymentVariablesDefault.ts +0 -90
  968. package/src/generated/model/getDeploymentVariablesParams.ts +0 -17
  969. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +0 -23
  970. package/src/generated/model/getIdpById200.ts +0 -39
  971. package/src/generated/model/getIdpById200Definition.ts +0 -44
  972. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +0 -12
  973. package/src/generated/model/getIdpById200DefinitionOidc.ts +0 -65
  974. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  975. package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  976. package/src/generated/model/getIdpById200DefinitionProtocol.ts +0 -17
  977. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +0 -15
  978. package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +0 -15
  979. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +0 -12
  980. package/src/generated/model/getIdpById401.ts +0 -20
  981. package/src/generated/model/getIdpById401Details.ts +0 -12
  982. package/src/generated/model/getIdpById403.ts +0 -20
  983. package/src/generated/model/getIdpById403Details.ts +0 -12
  984. package/src/generated/model/getIdpById404.ts +0 -20
  985. package/src/generated/model/getIdpById404Details.ts +0 -12
  986. package/src/generated/model/getIdpByIdDefault.ts +0 -72
  987. package/src/generated/model/getIdpByIdParams.ts +0 -17
  988. package/src/generated/model/getIdpRevisionById200.ts +0 -39
  989. package/src/generated/model/getIdpRevisionById200Definition.ts +0 -44
  990. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +0 -12
  991. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +0 -65
  992. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  993. package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  994. package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +0 -17
  995. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +0 -15
  996. package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +0 -15
  997. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +0 -12
  998. package/src/generated/model/getIdpRevisionById401.ts +0 -20
  999. package/src/generated/model/getIdpRevisionById401Details.ts +0 -12
  1000. package/src/generated/model/getIdpRevisionById403.ts +0 -20
  1001. package/src/generated/model/getIdpRevisionById403Details.ts +0 -12
  1002. package/src/generated/model/getIdpRevisionById404.ts +0 -20
  1003. package/src/generated/model/getIdpRevisionById404Details.ts +0 -12
  1004. package/src/generated/model/getIdpRevisionByIdDefault.ts +0 -72
  1005. package/src/generated/model/getIdpRevisionByIdParams.ts +0 -17
  1006. package/src/generated/model/getReleaseById200.ts +0 -96
  1007. package/src/generated/model/getReleaseById200Metadata.ts +0 -43
  1008. package/src/generated/model/getReleaseById200MetadataCreatedByType.ts +0 -20
  1009. package/src/generated/model/getReleaseById200PointersItem.ts +0 -61
  1010. package/src/generated/model/getReleaseById200PointersItemKind.ts +0 -28
  1011. package/src/generated/model/getReleaseByIdDefault.ts +0 -72
  1012. package/src/generated/model/getReleaseByIdParams.ts +0 -17
  1013. package/src/generated/model/getSchemaById200.ts +0 -31
  1014. package/src/generated/model/getSchemaById200Metadata.ts +0 -18
  1015. package/src/generated/model/getSchemaById200Schema.ts +0 -84
  1016. package/src/generated/model/getSchemaByIdDefault.ts +0 -72
  1017. package/src/generated/model/getSchemaByIdParams.ts +0 -21
  1018. package/src/generated/model/getUserByID200.ts +0 -76
  1019. package/src/generated/model/getUserByID200Attributes.ts +0 -13
  1020. package/src/generated/model/getUserByID200Metadata.ts +0 -44
  1021. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1022. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1023. package/src/generated/model/getUserByID200MetadataStatus.ts +0 -20
  1024. package/src/generated/model/getUserByID200TeamsItem.ts +0 -33
  1025. package/src/generated/model/getUserByID200TeamsItemMembershipStatus.ts +0 -20
  1026. package/src/generated/model/getUserByID401.ts +0 -20
  1027. package/src/generated/model/getUserByID401Details.ts +0 -12
  1028. package/src/generated/model/getUserByID404.ts +0 -20
  1029. package/src/generated/model/getUserByID404Details.ts +0 -12
  1030. package/src/generated/model/getUserByIDDefault.ts +0 -72
  1031. package/src/generated/model/getUserByIDParams.ts +0 -31
  1032. package/src/generated/model/getVariables200.ts +0 -35
  1033. package/src/generated/model/getVariables200Preview.ts +0 -20
  1034. package/src/generated/model/getVariables200Primary.ts +0 -20
  1035. package/src/generated/model/getVariablesDefault.ts +0 -72
  1036. package/src/generated/model/getVariablesKind.ts +0 -15
  1037. package/src/generated/model/getVariablesParams.ts +0 -23
  1038. package/src/generated/model/initClaim201.ts +0 -25
  1039. package/src/generated/model/initClaim401.ts +0 -20
  1040. package/src/generated/model/initClaim401Details.ts +0 -12
  1041. package/src/generated/model/initClaim404.ts +0 -23
  1042. package/src/generated/model/initClaim409.ts +0 -25
  1043. package/src/generated/model/initClaim409Details.ts +0 -14
  1044. package/src/generated/model/initClaim410.ts +0 -23
  1045. package/src/generated/model/initClaimDefault.ts +0 -99
  1046. package/src/generated/model/issueChallenge201.ts +0 -49
  1047. package/src/generated/model/issueChallenge201Method.ts +0 -20
  1048. package/src/generated/model/issueChallenge201Payload.ts +0 -34
  1049. package/src/generated/model/issueChallenge201State.ts +0 -22
  1050. package/src/generated/model/issueChallengeBody.ts +0 -28
  1051. package/src/generated/model/issueChallengeBodyMethod.ts +0 -20
  1052. package/src/generated/model/issueChallengeBodyPasskeyOptions.ts +0 -19
  1053. package/src/generated/model/issueChallengeBodyPasskeyOptionsUserVerification.ts +0 -16
  1054. package/src/generated/model/issueChallengeDefault.ts +0 -90
  1055. package/src/generated/model/listBranding200Item.ts +0 -14
  1056. package/src/generated/model/listEvents200DataItem.ts +0 -4366
  1057. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +0 -23
  1058. package/src/generated/model/listInvitationsStatus.ts +0 -17
  1059. package/src/generated/model/listPreviews200.ts +0 -20
  1060. package/src/generated/model/listPreviews200PreviewsItem.ts +0 -37
  1061. package/src/generated/model/listPreviewsDefault.ts +0 -72
  1062. package/src/generated/model/listPreviewsParams.ts +0 -23
  1063. package/src/generated/model/lookupInvitation429.ts +0 -20
  1064. package/src/generated/model/lookupInvitation429Details.ts +0 -12
  1065. package/src/generated/model/patchMyUser200.ts +0 -76
  1066. package/src/generated/model/patchMyUser200Attributes.ts +0 -13
  1067. package/src/generated/model/patchMyUser200Metadata.ts +0 -44
  1068. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +0 -43
  1069. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1070. package/src/generated/model/patchMyUser200MetadataStatus.ts +0 -20
  1071. package/src/generated/model/patchMyUser200TeamsItem.ts +0 -33
  1072. package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +0 -20
  1073. package/src/generated/model/patchMyUser400.ts +0 -20
  1074. package/src/generated/model/patchMyUser400Details.ts +0 -12
  1075. package/src/generated/model/patchMyUser401.ts +0 -20
  1076. package/src/generated/model/patchMyUser401Details.ts +0 -12
  1077. package/src/generated/model/patchMyUser403.ts +0 -20
  1078. package/src/generated/model/patchMyUser403Details.ts +0 -12
  1079. package/src/generated/model/patchMyUser404.ts +0 -23
  1080. package/src/generated/model/patchMyUser409.ts +0 -20
  1081. package/src/generated/model/patchMyUser409Details.ts +0 -12
  1082. package/src/generated/model/patchMyUserBody.ts +0 -25
  1083. package/src/generated/model/patchMyUserBodyAttributes.ts +0 -13
  1084. package/src/generated/model/patchMyUserDefault.ts +0 -117
  1085. package/src/generated/model/patchMyUserParams.ts +0 -26
  1086. package/src/generated/model/patchProject200.ts +0 -96
  1087. package/src/generated/model/patchProject400.ts +0 -20
  1088. package/src/generated/model/patchProject400Details.ts +0 -12
  1089. package/src/generated/model/patchProject401.ts +0 -20
  1090. package/src/generated/model/patchProject401Details.ts +0 -12
  1091. package/src/generated/model/patchProject404.ts +0 -20
  1092. package/src/generated/model/patchProject404Details.ts +0 -12
  1093. package/src/generated/model/patchProjectBody.ts +0 -19
  1094. package/src/generated/model/patchProjectBodyPasswordHash.ts +0 -40
  1095. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +0 -24
  1096. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +0 -44
  1097. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +0 -24
  1098. package/src/generated/model/patchProjectDefault.ts +0 -117
  1099. package/src/generated/model/patchUserByID200.ts +0 -76
  1100. package/src/generated/model/patchUserByID200Attributes.ts +0 -13
  1101. package/src/generated/model/patchUserByID200Metadata.ts +0 -44
  1102. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1103. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1104. package/src/generated/model/patchUserByID200MetadataStatus.ts +0 -20
  1105. package/src/generated/model/patchUserByID200TeamsItem.ts +0 -33
  1106. package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +0 -20
  1107. package/src/generated/model/patchUserByID400.ts +0 -20
  1108. package/src/generated/model/patchUserByID400Details.ts +0 -12
  1109. package/src/generated/model/patchUserByID401.ts +0 -20
  1110. package/src/generated/model/patchUserByID401Details.ts +0 -12
  1111. package/src/generated/model/patchUserByID403.ts +0 -20
  1112. package/src/generated/model/patchUserByID403Details.ts +0 -12
  1113. package/src/generated/model/patchUserByID404.ts +0 -20
  1114. package/src/generated/model/patchUserByID404Details.ts +0 -12
  1115. package/src/generated/model/patchUserByID409.ts +0 -20
  1116. package/src/generated/model/patchUserByID409Details.ts +0 -12
  1117. package/src/generated/model/patchUserByIDBody.ts +0 -53
  1118. package/src/generated/model/patchUserByIDBodyAttributes.ts +0 -13
  1119. package/src/generated/model/patchUserByIDDefault.ts +0 -117
  1120. package/src/generated/model/rejectInvitation429.ts +0 -20
  1121. package/src/generated/model/rejectInvitation429Details.ts +0 -12
  1122. package/src/generated/model/removeOriginBody.ts +0 -15
  1123. package/src/generated/model/removeOriginDefault.ts +0 -108
  1124. package/src/generated/model/removePreviewBody.ts +0 -23
  1125. package/src/generated/model/removePreviewDefault.ts +0 -90
  1126. package/src/generated/model/submitFlowStep400Branding.ts +0 -80
  1127. package/src/generated/model/submitFlowStep400BrandingLayout.ts +0 -27
  1128. package/src/generated/model/submitFlowStep400BrandingShape.ts +0 -30
  1129. package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +0 -19
  1130. package/src/generated/model/submitFlowStep400BrandingTheme.ts +0 -41
  1131. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +0 -34
  1132. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +0 -210
  1133. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +0 -34
  1134. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +0 -210
  1135. package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +0 -19
  1136. package/src/generated/model/submitFlowStep400BrandingTypography.ts +0 -47
  1137. package/src/generated/model/submitFlowStep400Step.ts +0 -142
  1138. package/src/generated/model/submitFlowStep400StepActionsItem.ts +0 -41
  1139. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +0 -27
  1140. package/src/generated/model/submitFlowStep400StepChallenge.ts +0 -36
  1141. package/src/generated/model/submitFlowStep400StepChallengeMethod.ts +0 -18
  1142. package/src/generated/model/submitFlowStep400StepChallengeOptions.ts +0 -15
  1143. package/src/generated/model/submitFlowStep400StepComplete.ts +0 -20
  1144. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +0 -87
  1145. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +0 -34
  1146. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +0 -46
  1147. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +0 -24
  1148. package/src/generated/model/submitFlowStep400StepGates.ts +0 -36
  1149. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +0 -13
  1150. package/src/generated/model/submitFlowStep400StepGatesKind.ts +0 -20
  1151. package/src/generated/model/submitFlowStep400StepIdentifier.ts +0 -58
  1152. package/src/generated/model/submitFlowStep400StepPurpose.ts +0 -26
  1153. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +0 -19
  1154. package/src/generated/model/submitFlowStep400StepTexts.ts +0 -23
  1155. package/src/generated/model/updateVariables200.ts +0 -35
  1156. package/src/generated/model/updateVariables200Preview.ts +0 -20
  1157. package/src/generated/model/updateVariables200Primary.ts +0 -20
  1158. package/src/generated/model/updateVariablesBody.ts +0 -48
  1159. package/src/generated/model/updateVariablesDefault.ts +0 -162
  1160. package/src/generated/model/updateVariablesKind.ts +0 -15
  1161. package/src/generated/model/updateVariablesParams.ts +0 -23
  1162. package/src/generated/model/verifyChallengeProof200.ts +0 -76
  1163. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +0 -49
  1164. package/src/generated/model/verifyChallengeProof200ChallengesItemMethod.ts +0 -20
  1165. package/src/generated/model/verifyChallengeProof200ChallengesItemPayload.ts +0 -34
  1166. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +0 -22
  1167. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +0 -28
  1168. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemMethod.ts +0 -20
  1169. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +0 -37
  1170. package/src/generated/model/verifyChallengeProof200RequiredFactorsItem.ts +0 -20
  1171. package/src/generated/model/verifyChallengeProof200State.ts +0 -24
  1172. package/src/generated/model/verifyChallengeProof409.ts +0 -20
  1173. package/src/generated/model/verifyChallengeProof409Details.ts +0 -12
  1174. package/src/generated/model/verifyChallengeProofBody.ts +0 -27
  1175. package/src/generated/model/verifyChallengeProofDefault.ts +0 -180
@@ -1,4366 +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: 'invitation.accepted';
1959
- /**
1960
- * Payload for `invitation.accepted`. The invitation ID is the event's
1961
- * `entity_id`, and `user_id` is the user who redeemed the link. Discriminate
1962
- * on `type`; the object named after it says what the invitation granted. Grant
1963
- * events the acceptance writes, such as `authz.granted`, carry this event's
1964
- * `request_id`. There are none when the user already holds an identical
1965
- * active grant.
1966
- */
1967
- payload: {
1968
- /** Shared by an invitation and every invitation that replaces it. */
1969
- journey_id: string;
1970
- user_id: string;
1971
- } & ({
1972
- type: 'project_member';
1973
- /** Type-specific input for a `project_member` invitation. */
1974
- project_member: {
1975
- /** The project role the accepter receives, as in `POST /grants`. */
1976
- relation: 'viewer' | 'editor' | 'admin';
1977
- };
1978
- }) | {
1979
- /** Shared by an invitation and every invitation that replaces it. */
1980
- journey_id: string;
1981
- user_id: string;
1982
- } & {
1983
- type: 'team_member';
1984
- /** Type-specific input for a `team_member` invitation. */
1985
- team_member: {
1986
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1987
- team_id: string;
1988
- /** The team role the accepter receives. */
1989
- role: 'member';
1990
- };
1991
- };
1992
- }) | ({
1993
- /** The event ID, in the form `evt_<opaque>`. */
1994
- id: string;
1995
- /** @pattern ^[a-zA-Z0-9_-]+$ */
1996
- project_id: string;
1997
- /** The team the actor operated under when the event was emitted, if any. */
1998
- team_id?: string | null;
1999
- /**
2000
- * The event type, dot-separated, for example `user.created`. It says which
2001
- * `payload` the event carries.
2002
- */
2003
- event_type: string;
2004
- /** The category of the event. */
2005
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2006
- /** When the action happened, on the server's clock. */
2007
- occurred_at: string;
2008
- /** When the event was stored, on the server's clock. */
2009
- created_at: string;
2010
- /** The ID of the actor that triggered the event. */
2011
- actor_id?: string | null;
2012
- /** The kind of actor that triggered the event. */
2013
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2014
- /** The type of resource the event affected. */
2015
- entity_type?: string | null;
2016
- /** The ID of the resource the event affected. */
2017
- entity_id?: string | null;
2018
- /** The application or agent that produced the event. */
2019
- client_id: string;
2020
- /** The ID of the token in use when the event was emitted, when there was one. */
2021
- token_id?: string;
2022
- /** The kind of delegation. Absent when unset. */
2023
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2024
- delegation_id?: string;
2025
- grantor?: string;
2026
- /** A device fingerprint ID that correlates events from the same device. */
2027
- fingerprint?: string;
2028
- /**
2029
- * The ID of the HTTP request that caused the event. Events of one request
2030
- * share it. Only the `request.api` event of a request carries
2031
- * `metadata.client`.
2032
- */
2033
- request_id?: string | null;
2034
- /** The ID of the session the event belongs to. */
2035
- session_id?: string | null;
2036
- /** An ID that correlates the events of one login flow. */
2037
- flow_id?: string | null;
2038
- /**
2039
- * Metadata the server records when it emits the event, already redacted when
2040
- * written. An event from an API request (`request.api`) may set `client`
2041
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2042
- * not a live risk-evaluator input.
2043
- */
2044
- metadata?: {
2045
- /**
2046
- * What authorized the request, when it was not a grant on the event's
2047
- * project. Every event of such a request carries it.
2048
- */
2049
- authorization?: {
2050
- /**
2051
- * `platform_operator`: the deployment's platform operator relation,
2052
- * which administers every project.
2053
- */
2054
- path: 'platform_operator';
2055
- /** The project the actor's user belongs to. */
2056
- actor_home_project_id?: string;
2057
- };
2058
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2059
- client?: {
2060
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2061
- ip?: string;
2062
- /** The observed `User-Agent` header. */
2063
- user_agent?: string;
2064
- /** The `Origin` header, when present. */
2065
- origin?: string;
2066
- };
2067
- [key: string]: unknown;
2068
- };
2069
- }) & ({
2070
- event_type: 'invitation.cancelled';
2071
- /**
2072
- * Payload for `invitation.cancelled`. The invitation ID is the event's
2073
- * `entity_id`. Discriminate on `reason`: `cancelled` when an administrator
2074
- * cancelled it, `replaced` when a replacement cancelled it, which then names
2075
- * the replacement in `replaced_by_invitation_id`.
2076
- */
2077
- payload: {
2078
- /** Shared by an invitation and every invitation that replaces it. */
2079
- journey_id: string;
2080
- reason: 'cancelled';
2081
- } | {
2082
- /** Shared by an invitation and every invitation that replaces it. */
2083
- journey_id: string;
2084
- reason: 'replaced';
2085
- /** The invitation that replaced this one. */
2086
- replaced_by_invitation_id: string;
2087
- };
2088
- }) | ({
2089
- /** The event ID, in the form `evt_<opaque>`. */
2090
- id: string;
2091
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2092
- project_id: string;
2093
- /** The team the actor operated under when the event was emitted, if any. */
2094
- team_id?: string | null;
2095
- /**
2096
- * The event type, dot-separated, for example `user.created`. It says which
2097
- * `payload` the event carries.
2098
- */
2099
- event_type: string;
2100
- /** The category of the event. */
2101
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2102
- /** When the action happened, on the server's clock. */
2103
- occurred_at: string;
2104
- /** When the event was stored, on the server's clock. */
2105
- created_at: string;
2106
- /** The ID of the actor that triggered the event. */
2107
- actor_id?: string | null;
2108
- /** The kind of actor that triggered the event. */
2109
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2110
- /** The type of resource the event affected. */
2111
- entity_type?: string | null;
2112
- /** The ID of the resource the event affected. */
2113
- entity_id?: string | null;
2114
- /** The application or agent that produced the event. */
2115
- client_id: string;
2116
- /** The ID of the token in use when the event was emitted, when there was one. */
2117
- token_id?: string;
2118
- /** The kind of delegation. Absent when unset. */
2119
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2120
- delegation_id?: string;
2121
- grantor?: string;
2122
- /** A device fingerprint ID that correlates events from the same device. */
2123
- fingerprint?: string;
2124
- /**
2125
- * The ID of the HTTP request that caused the event. Events of one request
2126
- * share it. Only the `request.api` event of a request carries
2127
- * `metadata.client`.
2128
- */
2129
- request_id?: string | null;
2130
- /** The ID of the session the event belongs to. */
2131
- session_id?: string | null;
2132
- /** An ID that correlates the events of one login flow. */
2133
- flow_id?: string | null;
2134
- /**
2135
- * Metadata the server records when it emits the event, already redacted when
2136
- * written. An event from an API request (`request.api`) may set `client`
2137
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2138
- * not a live risk-evaluator input.
2139
- */
2140
- metadata?: {
2141
- /**
2142
- * What authorized the request, when it was not a grant on the event's
2143
- * project. Every event of such a request carries it.
2144
- */
2145
- authorization?: {
2146
- /**
2147
- * `platform_operator`: the deployment's platform operator relation,
2148
- * which administers every project.
2149
- */
2150
- path: 'platform_operator';
2151
- /** The project the actor's user belongs to. */
2152
- actor_home_project_id?: string;
2153
- };
2154
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2155
- client?: {
2156
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2157
- ip?: string;
2158
- /** The observed `User-Agent` header. */
2159
- user_agent?: string;
2160
- /** The `Origin` header, when present. */
2161
- origin?: string;
2162
- };
2163
- [key: string]: unknown;
2164
- };
2165
- }) & ({
2166
- event_type: 'invitation.created';
2167
- /**
2168
- * Payload for `invitation.created`. The invitation ID is the event's
2169
- * `entity_id`. Discriminate on `type`; the object named after it says what
2170
- * the invitation's link grants. The metadata entered at creation and the
2171
- * link's token never appear.
2172
- */
2173
- payload: {
2174
- /** Shared by an invitation and every invitation that replaces it. */
2175
- journey_id: string;
2176
- /** The invitation this one replaces, when it was created as a replacement. */
2177
- replaces_invitation_id?: string;
2178
- expires_at: string;
2179
- } & ({
2180
- type: 'project_member';
2181
- /** Type-specific input for a `project_member` invitation. */
2182
- project_member: {
2183
- /** The project role the accepter receives, as in `POST /grants`. */
2184
- relation: 'viewer' | 'editor' | 'admin';
2185
- };
2186
- }) | {
2187
- /** Shared by an invitation and every invitation that replaces it. */
2188
- journey_id: string;
2189
- /** The invitation this one replaces, when it was created as a replacement. */
2190
- replaces_invitation_id?: string;
2191
- expires_at: string;
2192
- } & {
2193
- type: 'team_member';
2194
- /** Type-specific input for a `team_member` invitation. */
2195
- team_member: {
2196
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2197
- team_id: string;
2198
- /** The team role the accepter receives. */
2199
- role: 'member';
2200
- };
2201
- };
2202
- }) | ({
2203
- /** The event ID, in the form `evt_<opaque>`. */
2204
- id: string;
2205
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2206
- project_id: string;
2207
- /** The team the actor operated under when the event was emitted, if any. */
2208
- team_id?: string | null;
2209
- /**
2210
- * The event type, dot-separated, for example `user.created`. It says which
2211
- * `payload` the event carries.
2212
- */
2213
- event_type: string;
2214
- /** The category of the event. */
2215
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2216
- /** When the action happened, on the server's clock. */
2217
- occurred_at: string;
2218
- /** When the event was stored, on the server's clock. */
2219
- created_at: string;
2220
- /** The ID of the actor that triggered the event. */
2221
- actor_id?: string | null;
2222
- /** The kind of actor that triggered the event. */
2223
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2224
- /** The type of resource the event affected. */
2225
- entity_type?: string | null;
2226
- /** The ID of the resource the event affected. */
2227
- entity_id?: string | null;
2228
- /** The application or agent that produced the event. */
2229
- client_id: string;
2230
- /** The ID of the token in use when the event was emitted, when there was one. */
2231
- token_id?: string;
2232
- /** The kind of delegation. Absent when unset. */
2233
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2234
- delegation_id?: string;
2235
- grantor?: string;
2236
- /** A device fingerprint ID that correlates events from the same device. */
2237
- fingerprint?: string;
2238
- /**
2239
- * The ID of the HTTP request that caused the event. Events of one request
2240
- * share it. Only the `request.api` event of a request carries
2241
- * `metadata.client`.
2242
- */
2243
- request_id?: string | null;
2244
- /** The ID of the session the event belongs to. */
2245
- session_id?: string | null;
2246
- /** An ID that correlates the events of one login flow. */
2247
- flow_id?: string | null;
2248
- /**
2249
- * Metadata the server records when it emits the event, already redacted when
2250
- * written. An event from an API request (`request.api`) may set `client`
2251
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2252
- * not a live risk-evaluator input.
2253
- */
2254
- metadata?: {
2255
- /**
2256
- * What authorized the request, when it was not a grant on the event's
2257
- * project. Every event of such a request carries it.
2258
- */
2259
- authorization?: {
2260
- /**
2261
- * `platform_operator`: the deployment's platform operator relation,
2262
- * which administers every project.
2263
- */
2264
- path: 'platform_operator';
2265
- /** The project the actor's user belongs to. */
2266
- actor_home_project_id?: string;
2267
- };
2268
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2269
- client?: {
2270
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2271
- ip?: string;
2272
- /** The observed `User-Agent` header. */
2273
- user_agent?: string;
2274
- /** The `Origin` header, when present. */
2275
- origin?: string;
2276
- };
2277
- [key: string]: unknown;
2278
- };
2279
- }) & {
2280
- event_type: 'invitation.rejected';
2281
- /**
2282
- * Payload for `invitation.rejected`. The invitation ID is the event's
2283
- * `entity_id`, and `user_id` is the user who declined it.
2284
- */
2285
- payload: {
2286
- /** Shared by an invitation and every invitation that replaces it. */
2287
- journey_id: string;
2288
- user_id: string;
2289
- };
2290
- } | ({
2291
- /** The event ID, in the form `evt_<opaque>`. */
2292
- id: string;
2293
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2294
- project_id: string;
2295
- /** The team the actor operated under when the event was emitted, if any. */
2296
- team_id?: string | null;
2297
- /**
2298
- * The event type, dot-separated, for example `user.created`. It says which
2299
- * `payload` the event carries.
2300
- */
2301
- event_type: string;
2302
- /** The category of the event. */
2303
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2304
- /** When the action happened, on the server's clock. */
2305
- occurred_at: string;
2306
- /** When the event was stored, on the server's clock. */
2307
- created_at: string;
2308
- /** The ID of the actor that triggered the event. */
2309
- actor_id?: string | null;
2310
- /** The kind of actor that triggered the event. */
2311
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2312
- /** The type of resource the event affected. */
2313
- entity_type?: string | null;
2314
- /** The ID of the resource the event affected. */
2315
- entity_id?: string | null;
2316
- /** The application or agent that produced the event. */
2317
- client_id: string;
2318
- /** The ID of the token in use when the event was emitted, when there was one. */
2319
- token_id?: string;
2320
- /** The kind of delegation. Absent when unset. */
2321
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2322
- delegation_id?: string;
2323
- grantor?: string;
2324
- /** A device fingerprint ID that correlates events from the same device. */
2325
- fingerprint?: string;
2326
- /**
2327
- * The ID of the HTTP request that caused the event. Events of one request
2328
- * share it. Only the `request.api` event of a request carries
2329
- * `metadata.client`.
2330
- */
2331
- request_id?: string | null;
2332
- /** The ID of the session the event belongs to. */
2333
- session_id?: string | null;
2334
- /** An ID that correlates the events of one login flow. */
2335
- flow_id?: string | null;
2336
- /**
2337
- * Metadata the server records when it emits the event, already redacted when
2338
- * written. An event from an API request (`request.api`) may set `client`
2339
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2340
- * not a live risk-evaluator input.
2341
- */
2342
- metadata?: {
2343
- /**
2344
- * What authorized the request, when it was not a grant on the event's
2345
- * project. Every event of such a request carries it.
2346
- */
2347
- authorization?: {
2348
- /**
2349
- * `platform_operator`: the deployment's platform operator relation,
2350
- * which administers every project.
2351
- */
2352
- path: 'platform_operator';
2353
- /** The project the actor's user belongs to. */
2354
- actor_home_project_id?: string;
2355
- };
2356
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2357
- client?: {
2358
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2359
- ip?: string;
2360
- /** The observed `User-Agent` header. */
2361
- user_agent?: string;
2362
- /** The `Origin` header, when present. */
2363
- origin?: string;
2364
- };
2365
- [key: string]: unknown;
2366
- };
2367
- }) & ({
2368
- event_type: 'origin.added';
2369
- /** Payload for `origin.added` and `origin.removed`. */
2370
- payload: {
2371
- pattern: string;
2372
- kind: 'primary' | 'preview';
2373
- };
2374
- }) | ({
2375
- /** The event ID, in the form `evt_<opaque>`. */
2376
- id: string;
2377
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2378
- project_id: string;
2379
- /** The team the actor operated under when the event was emitted, if any. */
2380
- team_id?: string | null;
2381
- /**
2382
- * The event type, dot-separated, for example `user.created`. It says which
2383
- * `payload` the event carries.
2384
- */
2385
- event_type: string;
2386
- /** The category of the event. */
2387
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2388
- /** When the action happened, on the server's clock. */
2389
- occurred_at: string;
2390
- /** When the event was stored, on the server's clock. */
2391
- created_at: string;
2392
- /** The ID of the actor that triggered the event. */
2393
- actor_id?: string | null;
2394
- /** The kind of actor that triggered the event. */
2395
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2396
- /** The type of resource the event affected. */
2397
- entity_type?: string | null;
2398
- /** The ID of the resource the event affected. */
2399
- entity_id?: string | null;
2400
- /** The application or agent that produced the event. */
2401
- client_id: string;
2402
- /** The ID of the token in use when the event was emitted, when there was one. */
2403
- token_id?: string;
2404
- /** The kind of delegation. Absent when unset. */
2405
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2406
- delegation_id?: string;
2407
- grantor?: string;
2408
- /** A device fingerprint ID that correlates events from the same device. */
2409
- fingerprint?: string;
2410
- /**
2411
- * The ID of the HTTP request that caused the event. Events of one request
2412
- * share it. Only the `request.api` event of a request carries
2413
- * `metadata.client`.
2414
- */
2415
- request_id?: string | null;
2416
- /** The ID of the session the event belongs to. */
2417
- session_id?: string | null;
2418
- /** An ID that correlates the events of one login flow. */
2419
- flow_id?: string | null;
2420
- /**
2421
- * Metadata the server records when it emits the event, already redacted when
2422
- * written. An event from an API request (`request.api`) may set `client`
2423
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2424
- * not a live risk-evaluator input.
2425
- */
2426
- metadata?: {
2427
- /**
2428
- * What authorized the request, when it was not a grant on the event's
2429
- * project. Every event of such a request carries it.
2430
- */
2431
- authorization?: {
2432
- /**
2433
- * `platform_operator`: the deployment's platform operator relation,
2434
- * which administers every project.
2435
- */
2436
- path: 'platform_operator';
2437
- /** The project the actor's user belongs to. */
2438
- actor_home_project_id?: string;
2439
- };
2440
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2441
- client?: {
2442
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2443
- ip?: string;
2444
- /** The observed `User-Agent` header. */
2445
- user_agent?: string;
2446
- /** The `Origin` header, when present. */
2447
- origin?: string;
2448
- };
2449
- [key: string]: unknown;
2450
- };
2451
- }) & ({
2452
- event_type: 'origin.removed';
2453
- /** Payload for `origin.added` and `origin.removed`. */
2454
- payload: {
2455
- pattern: string;
2456
- kind: 'primary' | 'preview';
2457
- };
2458
- }) | ({
2459
- /** The event ID, in the form `evt_<opaque>`. */
2460
- id: string;
2461
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2462
- project_id: string;
2463
- /** The team the actor operated under when the event was emitted, if any. */
2464
- team_id?: string | null;
2465
- /**
2466
- * The event type, dot-separated, for example `user.created`. It says which
2467
- * `payload` the event carries.
2468
- */
2469
- event_type: string;
2470
- /** The category of the event. */
2471
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2472
- /** When the action happened, on the server's clock. */
2473
- occurred_at: string;
2474
- /** When the event was stored, on the server's clock. */
2475
- created_at: string;
2476
- /** The ID of the actor that triggered the event. */
2477
- actor_id?: string | null;
2478
- /** The kind of actor that triggered the event. */
2479
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2480
- /** The type of resource the event affected. */
2481
- entity_type?: string | null;
2482
- /** The ID of the resource the event affected. */
2483
- entity_id?: string | null;
2484
- /** The application or agent that produced the event. */
2485
- client_id: string;
2486
- /** The ID of the token in use when the event was emitted, when there was one. */
2487
- token_id?: string;
2488
- /** The kind of delegation. Absent when unset. */
2489
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2490
- delegation_id?: string;
2491
- grantor?: string;
2492
- /** A device fingerprint ID that correlates events from the same device. */
2493
- fingerprint?: string;
2494
- /**
2495
- * The ID of the HTTP request that caused the event. Events of one request
2496
- * share it. Only the `request.api` event of a request carries
2497
- * `metadata.client`.
2498
- */
2499
- request_id?: string | null;
2500
- /** The ID of the session the event belongs to. */
2501
- session_id?: string | null;
2502
- /** An ID that correlates the events of one login flow. */
2503
- flow_id?: string | null;
2504
- /**
2505
- * Metadata the server records when it emits the event, already redacted when
2506
- * written. An event from an API request (`request.api`) may set `client`
2507
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2508
- * not a live risk-evaluator input.
2509
- */
2510
- metadata?: {
2511
- /**
2512
- * What authorized the request, when it was not a grant on the event's
2513
- * project. Every event of such a request carries it.
2514
- */
2515
- authorization?: {
2516
- /**
2517
- * `platform_operator`: the deployment's platform operator relation,
2518
- * which administers every project.
2519
- */
2520
- path: 'platform_operator';
2521
- /** The project the actor's user belongs to. */
2522
- actor_home_project_id?: string;
2523
- };
2524
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2525
- client?: {
2526
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2527
- ip?: string;
2528
- /** The observed `User-Agent` header. */
2529
- user_agent?: string;
2530
- /** The `Origin` header, when present. */
2531
- origin?: string;
2532
- };
2533
- [key: string]: unknown;
2534
- };
2535
- }) & {
2536
- event_type: 'policy.created';
2537
- /**
2538
- * Payload for `policy.created`, the first publish of an operation's policy,
2539
- * and `policy.updated`, every later publish. The policy ID is the event's
2540
- * `entity_id`. `config` holds the published settings, which are configuration
2541
- * values, never user data.
2542
- */
2543
- payload: {
2544
- /** The operation the policy guards, for example `auth.factor.password.set`. */
2545
- operation: string;
2546
- /** The revision the publish appended. */
2547
- revision_id: string;
2548
- /** The settings as published. */
2549
- config: { [key: string]: unknown };
2550
- };
2551
- } | ({
2552
- /** The event ID, in the form `evt_<opaque>`. */
2553
- id: string;
2554
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2555
- project_id: string;
2556
- /** The team the actor operated under when the event was emitted, if any. */
2557
- team_id?: string | null;
2558
- /**
2559
- * The event type, dot-separated, for example `user.created`. It says which
2560
- * `payload` the event carries.
2561
- */
2562
- event_type: string;
2563
- /** The category of the event. */
2564
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2565
- /** When the action happened, on the server's clock. */
2566
- occurred_at: string;
2567
- /** When the event was stored, on the server's clock. */
2568
- created_at: string;
2569
- /** The ID of the actor that triggered the event. */
2570
- actor_id?: string | null;
2571
- /** The kind of actor that triggered the event. */
2572
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2573
- /** The type of resource the event affected. */
2574
- entity_type?: string | null;
2575
- /** The ID of the resource the event affected. */
2576
- entity_id?: string | null;
2577
- /** The application or agent that produced the event. */
2578
- client_id: string;
2579
- /** The ID of the token in use when the event was emitted, when there was one. */
2580
- token_id?: string;
2581
- /** The kind of delegation. Absent when unset. */
2582
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2583
- delegation_id?: string;
2584
- grantor?: string;
2585
- /** A device fingerprint ID that correlates events from the same device. */
2586
- fingerprint?: string;
2587
- /**
2588
- * The ID of the HTTP request that caused the event. Events of one request
2589
- * share it. Only the `request.api` event of a request carries
2590
- * `metadata.client`.
2591
- */
2592
- request_id?: string | null;
2593
- /** The ID of the session the event belongs to. */
2594
- session_id?: string | null;
2595
- /** An ID that correlates the events of one login flow. */
2596
- flow_id?: string | null;
2597
- /**
2598
- * Metadata the server records when it emits the event, already redacted when
2599
- * written. An event from an API request (`request.api`) may set `client`
2600
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2601
- * not a live risk-evaluator input.
2602
- */
2603
- metadata?: {
2604
- /**
2605
- * What authorized the request, when it was not a grant on the event's
2606
- * project. Every event of such a request carries it.
2607
- */
2608
- authorization?: {
2609
- /**
2610
- * `platform_operator`: the deployment's platform operator relation,
2611
- * which administers every project.
2612
- */
2613
- path: 'platform_operator';
2614
- /** The project the actor's user belongs to. */
2615
- actor_home_project_id?: string;
2616
- };
2617
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2618
- client?: {
2619
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2620
- ip?: string;
2621
- /** The observed `User-Agent` header. */
2622
- user_agent?: string;
2623
- /** The `Origin` header, when present. */
2624
- origin?: string;
2625
- };
2626
- [key: string]: unknown;
2627
- };
2628
- }) & {
2629
- event_type: 'policy.updated';
2630
- /**
2631
- * Payload for `policy.created`, the first publish of an operation's policy,
2632
- * and `policy.updated`, every later publish. The policy ID is the event's
2633
- * `entity_id`. `config` holds the published settings, which are configuration
2634
- * values, never user data.
2635
- */
2636
- payload: {
2637
- /** The operation the policy guards, for example `auth.factor.password.set`. */
2638
- operation: string;
2639
- /** The revision the publish appended. */
2640
- revision_id: string;
2641
- /** The settings as published. */
2642
- config: { [key: string]: unknown };
2643
- };
2644
- } | ({
2645
- /** The event ID, in the form `evt_<opaque>`. */
2646
- id: string;
2647
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2648
- project_id: string;
2649
- /** The team the actor operated under when the event was emitted, if any. */
2650
- team_id?: string | null;
2651
- /**
2652
- * The event type, dot-separated, for example `user.created`. It says which
2653
- * `payload` the event carries.
2654
- */
2655
- event_type: string;
2656
- /** The category of the event. */
2657
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2658
- /** When the action happened, on the server's clock. */
2659
- occurred_at: string;
2660
- /** When the event was stored, on the server's clock. */
2661
- created_at: string;
2662
- /** The ID of the actor that triggered the event. */
2663
- actor_id?: string | null;
2664
- /** The kind of actor that triggered the event. */
2665
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2666
- /** The type of resource the event affected. */
2667
- entity_type?: string | null;
2668
- /** The ID of the resource the event affected. */
2669
- entity_id?: string | null;
2670
- /** The application or agent that produced the event. */
2671
- client_id: string;
2672
- /** The ID of the token in use when the event was emitted, when there was one. */
2673
- token_id?: string;
2674
- /** The kind of delegation. Absent when unset. */
2675
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2676
- delegation_id?: string;
2677
- grantor?: string;
2678
- /** A device fingerprint ID that correlates events from the same device. */
2679
- fingerprint?: string;
2680
- /**
2681
- * The ID of the HTTP request that caused the event. Events of one request
2682
- * share it. Only the `request.api` event of a request carries
2683
- * `metadata.client`.
2684
- */
2685
- request_id?: string | null;
2686
- /** The ID of the session the event belongs to. */
2687
- session_id?: string | null;
2688
- /** An ID that correlates the events of one login flow. */
2689
- flow_id?: string | null;
2690
- /**
2691
- * Metadata the server records when it emits the event, already redacted when
2692
- * written. An event from an API request (`request.api`) may set `client`
2693
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2694
- * not a live risk-evaluator input.
2695
- */
2696
- metadata?: {
2697
- /**
2698
- * What authorized the request, when it was not a grant on the event's
2699
- * project. Every event of such a request carries it.
2700
- */
2701
- authorization?: {
2702
- /**
2703
- * `platform_operator`: the deployment's platform operator relation,
2704
- * which administers every project.
2705
- */
2706
- path: 'platform_operator';
2707
- /** The project the actor's user belongs to. */
2708
- actor_home_project_id?: string;
2709
- };
2710
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2711
- client?: {
2712
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2713
- ip?: string;
2714
- /** The observed `User-Agent` header. */
2715
- user_agent?: string;
2716
- /** The `Origin` header, when present. */
2717
- origin?: string;
2718
- };
2719
- [key: string]: unknown;
2720
- };
2721
- }) & {
2722
- event_type: 'preview.removed';
2723
- /**
2724
- * Empty payload for event types with no typed fields, for example
2725
- * `project.deleted`, `user.deleted` and `session.expired`.
2726
- */
2727
- payload: { [key: string]: unknown };
2728
- } | ({
2729
- /** The event ID, in the form `evt_<opaque>`. */
2730
- id: string;
2731
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2732
- project_id: string;
2733
- /** The team the actor operated under when the event was emitted, if any. */
2734
- team_id?: string | null;
2735
- /**
2736
- * The event type, dot-separated, for example `user.created`. It says which
2737
- * `payload` the event carries.
2738
- */
2739
- event_type: string;
2740
- /** The category of the event. */
2741
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2742
- /** When the action happened, on the server's clock. */
2743
- occurred_at: string;
2744
- /** When the event was stored, on the server's clock. */
2745
- created_at: string;
2746
- /** The ID of the actor that triggered the event. */
2747
- actor_id?: string | null;
2748
- /** The kind of actor that triggered the event. */
2749
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2750
- /** The type of resource the event affected. */
2751
- entity_type?: string | null;
2752
- /** The ID of the resource the event affected. */
2753
- entity_id?: string | null;
2754
- /** The application or agent that produced the event. */
2755
- client_id: string;
2756
- /** The ID of the token in use when the event was emitted, when there was one. */
2757
- token_id?: string;
2758
- /** The kind of delegation. Absent when unset. */
2759
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2760
- delegation_id?: string;
2761
- grantor?: string;
2762
- /** A device fingerprint ID that correlates events from the same device. */
2763
- fingerprint?: string;
2764
- /**
2765
- * The ID of the HTTP request that caused the event. Events of one request
2766
- * share it. Only the `request.api` event of a request carries
2767
- * `metadata.client`.
2768
- */
2769
- request_id?: string | null;
2770
- /** The ID of the session the event belongs to. */
2771
- session_id?: string | null;
2772
- /** An ID that correlates the events of one login flow. */
2773
- flow_id?: string | null;
2774
- /**
2775
- * Metadata the server records when it emits the event, already redacted when
2776
- * written. An event from an API request (`request.api`) may set `client`
2777
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2778
- * not a live risk-evaluator input.
2779
- */
2780
- metadata?: {
2781
- /**
2782
- * What authorized the request, when it was not a grant on the event's
2783
- * project. Every event of such a request carries it.
2784
- */
2785
- authorization?: {
2786
- /**
2787
- * `platform_operator`: the deployment's platform operator relation,
2788
- * which administers every project.
2789
- */
2790
- path: 'platform_operator';
2791
- /** The project the actor's user belongs to. */
2792
- actor_home_project_id?: string;
2793
- };
2794
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2795
- client?: {
2796
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2797
- ip?: string;
2798
- /** The observed `User-Agent` header. */
2799
- user_agent?: string;
2800
- /** The `Origin` header, when present. */
2801
- origin?: string;
2802
- };
2803
- [key: string]: unknown;
2804
- };
2805
- }) & ({
2806
- event_type: 'project.created';
2807
- /**
2808
- * Payload for `project.created`, which holds every field, and
2809
- * `project.updated`, which holds only the changed fields.
2810
- */
2811
- payload: {
2812
- name?: string;
2813
- origins?: ({
2814
- /**
2815
- * The origin pattern: an exact origin for `primary`, or an origin with at
2816
- * most one `*` for `preview`.
2817
- */
2818
- pattern: string;
2819
- /**
2820
- * What the pattern is for: `primary` admits requests from the URLs it
2821
- * matches, `preview` bounds which URLs a preview deploy may register.
2822
- */
2823
- kind: 'primary' | 'preview';
2824
- })[];
2825
- /**
2826
- * The password hashing algorithm the project switched to. The empty string
2827
- * means it was handed back to the server default. Absent when the update
2828
- * did not touch hashing.
2829
- */
2830
- password_hash_algorithm?: 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: 'project.deleted';
2911
- /**
2912
- * Empty payload for event types with no typed fields, for example
2913
- * `project.deleted`, `user.deleted` and `session.expired`.
2914
- */
2915
- payload: { [key: string]: unknown };
2916
- } | ({
2917
- /** The event ID, in the form `evt_<opaque>`. */
2918
- id: string;
2919
- /** @pattern ^[a-zA-Z0-9_-]+$ */
2920
- project_id: string;
2921
- /** The team the actor operated under when the event was emitted, if any. */
2922
- team_id?: string | null;
2923
- /**
2924
- * The event type, dot-separated, for example `user.created`. It says which
2925
- * `payload` the event carries.
2926
- */
2927
- event_type: string;
2928
- /** The category of the event. */
2929
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
2930
- /** When the action happened, on the server's clock. */
2931
- occurred_at: string;
2932
- /** When the event was stored, on the server's clock. */
2933
- created_at: string;
2934
- /** The ID of the actor that triggered the event. */
2935
- actor_id?: string | null;
2936
- /** The kind of actor that triggered the event. */
2937
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
2938
- /** The type of resource the event affected. */
2939
- entity_type?: string | null;
2940
- /** The ID of the resource the event affected. */
2941
- entity_id?: string | null;
2942
- /** The application or agent that produced the event. */
2943
- client_id: string;
2944
- /** The ID of the token in use when the event was emitted, when there was one. */
2945
- token_id?: string;
2946
- /** The kind of delegation. Absent when unset. */
2947
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
2948
- delegation_id?: string;
2949
- grantor?: string;
2950
- /** A device fingerprint ID that correlates events from the same device. */
2951
- fingerprint?: string;
2952
- /**
2953
- * The ID of the HTTP request that caused the event. Events of one request
2954
- * share it. Only the `request.api` event of a request carries
2955
- * `metadata.client`.
2956
- */
2957
- request_id?: string | null;
2958
- /** The ID of the session the event belongs to. */
2959
- session_id?: string | null;
2960
- /** An ID that correlates the events of one login flow. */
2961
- flow_id?: string | null;
2962
- /**
2963
- * Metadata the server records when it emits the event, already redacted when
2964
- * written. An event from an API request (`request.api`) may set `client`
2965
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
2966
- * not a live risk-evaluator input.
2967
- */
2968
- metadata?: {
2969
- /**
2970
- * What authorized the request, when it was not a grant on the event's
2971
- * project. Every event of such a request carries it.
2972
- */
2973
- authorization?: {
2974
- /**
2975
- * `platform_operator`: the deployment's platform operator relation,
2976
- * which administers every project.
2977
- */
2978
- path: 'platform_operator';
2979
- /** The project the actor's user belongs to. */
2980
- actor_home_project_id?: string;
2981
- };
2982
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
2983
- client?: {
2984
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
2985
- ip?: string;
2986
- /** The observed `User-Agent` header. */
2987
- user_agent?: string;
2988
- /** The `Origin` header, when present. */
2989
- origin?: string;
2990
- };
2991
- [key: string]: unknown;
2992
- };
2993
- }) & ({
2994
- event_type: 'project.updated';
2995
- /**
2996
- * Payload for `project.created`, which holds every field, and
2997
- * `project.updated`, which holds only the changed fields.
2998
- */
2999
- payload: {
3000
- name?: string;
3001
- origins?: ({
3002
- /**
3003
- * The origin pattern: an exact origin for `primary`, or an origin with at
3004
- * most one `*` for `preview`.
3005
- */
3006
- pattern: string;
3007
- /**
3008
- * What the pattern is for: `primary` admits requests from the URLs it
3009
- * matches, `preview` bounds which URLs a preview deploy may register.
3010
- */
3011
- kind: 'primary' | 'preview';
3012
- })[];
3013
- /**
3014
- * The password hashing algorithm the project switched to. The empty string
3015
- * means it was handed back to the server default. Absent when the update
3016
- * did not touch hashing.
3017
- */
3018
- password_hash_algorithm?: string;
3019
- };
3020
- }) | ({
3021
- /** The event ID, in the form `evt_<opaque>`. */
3022
- id: string;
3023
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3024
- project_id: string;
3025
- /** The team the actor operated under when the event was emitted, if any. */
3026
- team_id?: string | null;
3027
- /**
3028
- * The event type, dot-separated, for example `user.created`. It says which
3029
- * `payload` the event carries.
3030
- */
3031
- event_type: string;
3032
- /** The category of the event. */
3033
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3034
- /** When the action happened, on the server's clock. */
3035
- occurred_at: string;
3036
- /** When the event was stored, on the server's clock. */
3037
- created_at: string;
3038
- /** The ID of the actor that triggered the event. */
3039
- actor_id?: string | null;
3040
- /** The kind of actor that triggered the event. */
3041
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3042
- /** The type of resource the event affected. */
3043
- entity_type?: string | null;
3044
- /** The ID of the resource the event affected. */
3045
- entity_id?: string | null;
3046
- /** The application or agent that produced the event. */
3047
- client_id: string;
3048
- /** The ID of the token in use when the event was emitted, when there was one. */
3049
- token_id?: string;
3050
- /** The kind of delegation. Absent when unset. */
3051
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3052
- delegation_id?: string;
3053
- grantor?: string;
3054
- /** A device fingerprint ID that correlates events from the same device. */
3055
- fingerprint?: string;
3056
- /**
3057
- * The ID of the HTTP request that caused the event. Events of one request
3058
- * share it. Only the `request.api` event of a request carries
3059
- * `metadata.client`.
3060
- */
3061
- request_id?: string | null;
3062
- /** The ID of the session the event belongs to. */
3063
- session_id?: string | null;
3064
- /** An ID that correlates the events of one login flow. */
3065
- flow_id?: string | null;
3066
- /**
3067
- * Metadata the server records when it emits the event, already redacted when
3068
- * written. An event from an API request (`request.api`) may set `client`
3069
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3070
- * not a live risk-evaluator input.
3071
- */
3072
- metadata?: {
3073
- /**
3074
- * What authorized the request, when it was not a grant on the event's
3075
- * project. Every event of such a request carries it.
3076
- */
3077
- authorization?: {
3078
- /**
3079
- * `platform_operator`: the deployment's platform operator relation,
3080
- * which administers every project.
3081
- */
3082
- path: 'platform_operator';
3083
- /** The project the actor's user belongs to. */
3084
- actor_home_project_id?: string;
3085
- };
3086
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3087
- client?: {
3088
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3089
- ip?: string;
3090
- /** The observed `User-Agent` header. */
3091
- user_agent?: string;
3092
- /** The `Origin` header, when present. */
3093
- origin?: string;
3094
- };
3095
- [key: string]: unknown;
3096
- };
3097
- }) & {
3098
- event_type: 'release.created';
3099
- /**
3100
- * Payload for `release.created`. The release ID is the event's `entity_id`.
3101
- * The payload repeats the pinned set, the revisions the
3102
- * [release](https://preview.zitadel.com/docs/concepts/repo-config) freezes, so the event stream shows
3103
- * what a release contained without reading the release itself.
3104
- */
3105
- payload: {
3106
- content_hash?: string;
3107
- message?: string;
3108
- git_sha?: string;
3109
- git_dirty?: boolean;
3110
- pointers?: {
3111
- kind?: string;
3112
- handle?: string;
3113
- revision_id?: string;
3114
- }[];
3115
- };
3116
- } | ({
3117
- /** The event ID, in the form `evt_<opaque>`. */
3118
- id: string;
3119
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3120
- project_id: string;
3121
- /** The team the actor operated under when the event was emitted, if any. */
3122
- team_id?: string | null;
3123
- /**
3124
- * The event type, dot-separated, for example `user.created`. It says which
3125
- * `payload` the event carries.
3126
- */
3127
- event_type: string;
3128
- /** The category of the event. */
3129
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3130
- /** When the action happened, on the server's clock. */
3131
- occurred_at: string;
3132
- /** When the event was stored, on the server's clock. */
3133
- created_at: string;
3134
- /** The ID of the actor that triggered the event. */
3135
- actor_id?: string | null;
3136
- /** The kind of actor that triggered the event. */
3137
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3138
- /** The type of resource the event affected. */
3139
- entity_type?: string | null;
3140
- /** The ID of the resource the event affected. */
3141
- entity_id?: string | null;
3142
- /** The application or agent that produced the event. */
3143
- client_id: string;
3144
- /** The ID of the token in use when the event was emitted, when there was one. */
3145
- token_id?: string;
3146
- /** The kind of delegation. Absent when unset. */
3147
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3148
- delegation_id?: string;
3149
- grantor?: string;
3150
- /** A device fingerprint ID that correlates events from the same device. */
3151
- fingerprint?: string;
3152
- /**
3153
- * The ID of the HTTP request that caused the event. Events of one request
3154
- * share it. Only the `request.api` event of a request carries
3155
- * `metadata.client`.
3156
- */
3157
- request_id?: string | null;
3158
- /** The ID of the session the event belongs to. */
3159
- session_id?: string | null;
3160
- /** An ID that correlates the events of one login flow. */
3161
- flow_id?: string | null;
3162
- /**
3163
- * Metadata the server records when it emits the event, already redacted when
3164
- * written. An event from an API request (`request.api`) may set `client`
3165
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3166
- * not a live risk-evaluator input.
3167
- */
3168
- metadata?: {
3169
- /**
3170
- * What authorized the request, when it was not a grant on the event's
3171
- * project. Every event of such a request carries it.
3172
- */
3173
- authorization?: {
3174
- /**
3175
- * `platform_operator`: the deployment's platform operator relation,
3176
- * which administers every project.
3177
- */
3178
- path: 'platform_operator';
3179
- /** The project the actor's user belongs to. */
3180
- actor_home_project_id?: string;
3181
- };
3182
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3183
- client?: {
3184
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3185
- ip?: string;
3186
- /** The observed `User-Agent` header. */
3187
- user_agent?: string;
3188
- /** The `Origin` header, when present. */
3189
- origin?: string;
3190
- };
3191
- [key: string]: unknown;
3192
- };
3193
- }) & {
3194
- event_type: 'release.revoked';
3195
- /**
3196
- * Payload for `release.revoked`. The release ID is the event's `entity_id`.
3197
- * The payload repeats the content hash, which is how the CLI prints a
3198
- * [release](https://preview.zitadel.com/docs/concepts/repo-config) and how builds pin it.
3199
- */
3200
- payload: {
3201
- /**
3202
- * The content digest of a release: `sha256:` followed by 64 lowercase hex
3203
- * characters. Always the full digest; no short form is accepted anywhere.
3204
- *
3205
- * The digest covers the content of the resources the release pins and
3206
- * nothing else. Revision ids, metadata and the project are not part of it.
3207
- * A bundle that carries every resource it references therefore has the same
3208
- * digest on every project, and a client can compute it before sending
3209
- * anything. When a bundle leaves a referenced resource to the project, the
3210
- * release pins the project's revision of it too, and the digest covers that
3211
- * resource as the project holds it.
3212
- *
3213
- * To compute it:
3214
- *
3215
- * 1. Take every resource in the release as the `bundle` of
3216
- * `POST /releases/build` carries it, with `kind` set to `schema`,
3217
- * `flow_definition`, `branding` or `idp`, and `handle` set to the
3218
- * schema's `objectType`, the flow definition's `name`, `default` for
3219
- * branding, or the identity provider's `slug`.
3220
- * A `schema-url` entry's content is the entry as written, and its handle
3221
- * is the `objectType` of the document the URL serves.
3222
- * 2. Build the JSON document
3223
- * `{"version": 1, "resources": [{"kind": …, "handle": …, "content": …}, …]}`,
3224
- * with `resources` sorted by `kind`, then by `handle`.
3225
- * 3. Serialise that document as canonical JSON (RFC 8785).
3226
- * 4. The digest is the SHA-256 of those bytes, written as `sha256:` and
3227
- * lowercase hex.
3228
- *
3229
- * A release built from `pointers` has the digest its pinned revisions would
3230
- * have if they were sent as a bundle.
3231
- *
3232
- * The digest identifies a release on the wire but never appears in a path,
3233
- * which takes the `rel_` id. Fields that look a release up by content say
3234
- * so by name: the `content_hash` filter of `GET /releases`, and
3235
- * `content_hash` in place of `release_id` on `POST /deployments`.
3236
- * @minLength 71
3237
- * @maxLength 71
3238
- * @pattern ^sha256:[0-9a-f]{64}$
3239
- */
3240
- content_hash: string;
3241
- };
3242
- } | ({
3243
- /** The event ID, in the form `evt_<opaque>`. */
3244
- id: string;
3245
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3246
- project_id: string;
3247
- /** The team the actor operated under when the event was emitted, if any. */
3248
- team_id?: string | null;
3249
- /**
3250
- * The event type, dot-separated, for example `user.created`. It says which
3251
- * `payload` the event carries.
3252
- */
3253
- event_type: string;
3254
- /** The category of the event. */
3255
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3256
- /** When the action happened, on the server's clock. */
3257
- occurred_at: string;
3258
- /** When the event was stored, on the server's clock. */
3259
- created_at: string;
3260
- /** The ID of the actor that triggered the event. */
3261
- actor_id?: string | null;
3262
- /** The kind of actor that triggered the event. */
3263
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3264
- /** The type of resource the event affected. */
3265
- entity_type?: string | null;
3266
- /** The ID of the resource the event affected. */
3267
- entity_id?: string | null;
3268
- /** The application or agent that produced the event. */
3269
- client_id: string;
3270
- /** The ID of the token in use when the event was emitted, when there was one. */
3271
- token_id?: string;
3272
- /** The kind of delegation. Absent when unset. */
3273
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3274
- delegation_id?: string;
3275
- grantor?: string;
3276
- /** A device fingerprint ID that correlates events from the same device. */
3277
- fingerprint?: string;
3278
- /**
3279
- * The ID of the HTTP request that caused the event. Events of one request
3280
- * share it. Only the `request.api` event of a request carries
3281
- * `metadata.client`.
3282
- */
3283
- request_id?: string | null;
3284
- /** The ID of the session the event belongs to. */
3285
- session_id?: string | null;
3286
- /** An ID that correlates the events of one login flow. */
3287
- flow_id?: string | null;
3288
- /**
3289
- * Metadata the server records when it emits the event, already redacted when
3290
- * written. An event from an API request (`request.api`) may set `client`
3291
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3292
- * not a live risk-evaluator input.
3293
- */
3294
- metadata?: {
3295
- /**
3296
- * What authorized the request, when it was not a grant on the event's
3297
- * project. Every event of such a request carries it.
3298
- */
3299
- authorization?: {
3300
- /**
3301
- * `platform_operator`: the deployment's platform operator relation,
3302
- * which administers every project.
3303
- */
3304
- path: 'platform_operator';
3305
- /** The project the actor's user belongs to. */
3306
- actor_home_project_id?: string;
3307
- };
3308
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3309
- client?: {
3310
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3311
- ip?: string;
3312
- /** The observed `User-Agent` header. */
3313
- user_agent?: string;
3314
- /** The `Origin` header, when present. */
3315
- origin?: string;
3316
- };
3317
- [key: string]: unknown;
3318
- };
3319
- }) & ({
3320
- event_type: 'request.api';
3321
- /** Payload for `request.api` events. */
3322
- payload: {
3323
- operation_id: string;
3324
- /** HTTP method. */
3325
- method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
3326
- route_template: string;
3327
- /**
3328
- * @minimum 100
3329
- * @maximum 599
3330
- */
3331
- status: number;
3332
- /** @minimum 0 */
3333
- duration_ms: number;
3334
- };
3335
- }) | ({
3336
- /** The event ID, in the form `evt_<opaque>`. */
3337
- id: string;
3338
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3339
- project_id: string;
3340
- /** The team the actor operated under when the event was emitted, if any. */
3341
- team_id?: string | null;
3342
- /**
3343
- * The event type, dot-separated, for example `user.created`. It says which
3344
- * `payload` the event carries.
3345
- */
3346
- event_type: string;
3347
- /** The category of the event. */
3348
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3349
- /** When the action happened, on the server's clock. */
3350
- occurred_at: string;
3351
- /** When the event was stored, on the server's clock. */
3352
- created_at: string;
3353
- /** The ID of the actor that triggered the event. */
3354
- actor_id?: string | null;
3355
- /** The kind of actor that triggered the event. */
3356
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3357
- /** The type of resource the event affected. */
3358
- entity_type?: string | null;
3359
- /** The ID of the resource the event affected. */
3360
- entity_id?: string | null;
3361
- /** The application or agent that produced the event. */
3362
- client_id: string;
3363
- /** The ID of the token in use when the event was emitted, when there was one. */
3364
- token_id?: string;
3365
- /** The kind of delegation. Absent when unset. */
3366
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3367
- delegation_id?: string;
3368
- grantor?: string;
3369
- /** A device fingerprint ID that correlates events from the same device. */
3370
- fingerprint?: string;
3371
- /**
3372
- * The ID of the HTTP request that caused the event. Events of one request
3373
- * share it. Only the `request.api` event of a request carries
3374
- * `metadata.client`.
3375
- */
3376
- request_id?: string | null;
3377
- /** The ID of the session the event belongs to. */
3378
- session_id?: string | null;
3379
- /** An ID that correlates the events of one login flow. */
3380
- flow_id?: string | null;
3381
- /**
3382
- * Metadata the server records when it emits the event, already redacted when
3383
- * written. An event from an API request (`request.api`) may set `client`
3384
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3385
- * not a live risk-evaluator input.
3386
- */
3387
- metadata?: {
3388
- /**
3389
- * What authorized the request, when it was not a grant on the event's
3390
- * project. Every event of such a request carries it.
3391
- */
3392
- authorization?: {
3393
- /**
3394
- * `platform_operator`: the deployment's platform operator relation,
3395
- * which administers every project.
3396
- */
3397
- path: 'platform_operator';
3398
- /** The project the actor's user belongs to. */
3399
- actor_home_project_id?: string;
3400
- };
3401
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3402
- client?: {
3403
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3404
- ip?: string;
3405
- /** The observed `User-Agent` header. */
3406
- user_agent?: string;
3407
- /** The `Origin` header, when present. */
3408
- origin?: string;
3409
- };
3410
- [key: string]: unknown;
3411
- };
3412
- }) & {
3413
- event_type: 'schema.created';
3414
- /**
3415
- * Payload for `schema.created`. It leaves out the schema document, which the
3416
- * customer writes and which has no size bound; the event's `entity_id`
3417
- * identifies the schema that was created.
3418
- */
3419
- payload: {
3420
- /**
3421
- * The kind the stored document declares. `unknown` when the schema was
3422
- * stored without parsing its document.
3423
- */
3424
- kind?: string;
3425
- /**
3426
- * The customer-chosen object type the schema describes. Absent when the
3427
- * document declares none.
3428
- */
3429
- object_type?: string;
3430
- };
3431
- } | ({
3432
- /** The event ID, in the form `evt_<opaque>`. */
3433
- id: string;
3434
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3435
- project_id: string;
3436
- /** The team the actor operated under when the event was emitted, if any. */
3437
- team_id?: string | null;
3438
- /**
3439
- * The event type, dot-separated, for example `user.created`. It says which
3440
- * `payload` the event carries.
3441
- */
3442
- event_type: string;
3443
- /** The category of the event. */
3444
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3445
- /** When the action happened, on the server's clock. */
3446
- occurred_at: string;
3447
- /** When the event was stored, on the server's clock. */
3448
- created_at: string;
3449
- /** The ID of the actor that triggered the event. */
3450
- actor_id?: string | null;
3451
- /** The kind of actor that triggered the event. */
3452
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3453
- /** The type of resource the event affected. */
3454
- entity_type?: string | null;
3455
- /** The ID of the resource the event affected. */
3456
- entity_id?: string | null;
3457
- /** The application or agent that produced the event. */
3458
- client_id: string;
3459
- /** The ID of the token in use when the event was emitted, when there was one. */
3460
- token_id?: string;
3461
- /** The kind of delegation. Absent when unset. */
3462
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3463
- delegation_id?: string;
3464
- grantor?: string;
3465
- /** A device fingerprint ID that correlates events from the same device. */
3466
- fingerprint?: string;
3467
- /**
3468
- * The ID of the HTTP request that caused the event. Events of one request
3469
- * share it. Only the `request.api` event of a request carries
3470
- * `metadata.client`.
3471
- */
3472
- request_id?: string | null;
3473
- /** The ID of the session the event belongs to. */
3474
- session_id?: string | null;
3475
- /** An ID that correlates the events of one login flow. */
3476
- flow_id?: string | null;
3477
- /**
3478
- * Metadata the server records when it emits the event, already redacted when
3479
- * written. An event from an API request (`request.api`) may set `client`
3480
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3481
- * not a live risk-evaluator input.
3482
- */
3483
- metadata?: {
3484
- /**
3485
- * What authorized the request, when it was not a grant on the event's
3486
- * project. Every event of such a request carries it.
3487
- */
3488
- authorization?: {
3489
- /**
3490
- * `platform_operator`: the deployment's platform operator relation,
3491
- * which administers every project.
3492
- */
3493
- path: 'platform_operator';
3494
- /** The project the actor's user belongs to. */
3495
- actor_home_project_id?: string;
3496
- };
3497
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3498
- client?: {
3499
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3500
- ip?: string;
3501
- /** The observed `User-Agent` header. */
3502
- user_agent?: string;
3503
- /** The `Origin` header, when present. */
3504
- origin?: string;
3505
- };
3506
- [key: string]: unknown;
3507
- };
3508
- }) & {
3509
- event_type: 'session.deleted';
3510
- /** Payload for `session.deleted` events. */
3511
- payload: {
3512
- reason?: string;
3513
- };
3514
- } | ({
3515
- /** The event ID, in the form `evt_<opaque>`. */
3516
- id: string;
3517
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3518
- project_id: string;
3519
- /** The team the actor operated under when the event was emitted, if any. */
3520
- team_id?: string | null;
3521
- /**
3522
- * The event type, dot-separated, for example `user.created`. It says which
3523
- * `payload` the event carries.
3524
- */
3525
- event_type: string;
3526
- /** The category of the event. */
3527
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3528
- /** When the action happened, on the server's clock. */
3529
- occurred_at: string;
3530
- /** When the event was stored, on the server's clock. */
3531
- created_at: string;
3532
- /** The ID of the actor that triggered the event. */
3533
- actor_id?: string | null;
3534
- /** The kind of actor that triggered the event. */
3535
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3536
- /** The type of resource the event affected. */
3537
- entity_type?: string | null;
3538
- /** The ID of the resource the event affected. */
3539
- entity_id?: string | null;
3540
- /** The application or agent that produced the event. */
3541
- client_id: string;
3542
- /** The ID of the token in use when the event was emitted, when there was one. */
3543
- token_id?: string;
3544
- /** The kind of delegation. Absent when unset. */
3545
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3546
- delegation_id?: string;
3547
- grantor?: string;
3548
- /** A device fingerprint ID that correlates events from the same device. */
3549
- fingerprint?: string;
3550
- /**
3551
- * The ID of the HTTP request that caused the event. Events of one request
3552
- * share it. Only the `request.api` event of a request carries
3553
- * `metadata.client`.
3554
- */
3555
- request_id?: string | null;
3556
- /** The ID of the session the event belongs to. */
3557
- session_id?: string | null;
3558
- /** An ID that correlates the events of one login flow. */
3559
- flow_id?: string | null;
3560
- /**
3561
- * Metadata the server records when it emits the event, already redacted when
3562
- * written. An event from an API request (`request.api`) may set `client`
3563
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3564
- * not a live risk-evaluator input.
3565
- */
3566
- metadata?: {
3567
- /**
3568
- * What authorized the request, when it was not a grant on the event's
3569
- * project. Every event of such a request carries it.
3570
- */
3571
- authorization?: {
3572
- /**
3573
- * `platform_operator`: the deployment's platform operator relation,
3574
- * which administers every project.
3575
- */
3576
- path: 'platform_operator';
3577
- /** The project the actor's user belongs to. */
3578
- actor_home_project_id?: string;
3579
- };
3580
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3581
- client?: {
3582
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3583
- ip?: string;
3584
- /** The observed `User-Agent` header. */
3585
- user_agent?: string;
3586
- /** The `Origin` header, when present. */
3587
- origin?: string;
3588
- };
3589
- [key: string]: unknown;
3590
- };
3591
- }) & {
3592
- event_type: 'session.established';
3593
- /** Payload for `session.established` events. */
3594
- payload: {
3595
- user_id?: string;
3596
- };
3597
- } | ({
3598
- /** The event ID, in the form `evt_<opaque>`. */
3599
- id: string;
3600
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3601
- project_id: string;
3602
- /** The team the actor operated under when the event was emitted, if any. */
3603
- team_id?: string | null;
3604
- /**
3605
- * The event type, dot-separated, for example `user.created`. It says which
3606
- * `payload` the event carries.
3607
- */
3608
- event_type: string;
3609
- /** The category of the event. */
3610
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3611
- /** When the action happened, on the server's clock. */
3612
- occurred_at: string;
3613
- /** When the event was stored, on the server's clock. */
3614
- created_at: string;
3615
- /** The ID of the actor that triggered the event. */
3616
- actor_id?: string | null;
3617
- /** The kind of actor that triggered the event. */
3618
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3619
- /** The type of resource the event affected. */
3620
- entity_type?: string | null;
3621
- /** The ID of the resource the event affected. */
3622
- entity_id?: string | null;
3623
- /** The application or agent that produced the event. */
3624
- client_id: string;
3625
- /** The ID of the token in use when the event was emitted, when there was one. */
3626
- token_id?: string;
3627
- /** The kind of delegation. Absent when unset. */
3628
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3629
- delegation_id?: string;
3630
- grantor?: string;
3631
- /** A device fingerprint ID that correlates events from the same device. */
3632
- fingerprint?: string;
3633
- /**
3634
- * The ID of the HTTP request that caused the event. Events of one request
3635
- * share it. Only the `request.api` event of a request carries
3636
- * `metadata.client`.
3637
- */
3638
- request_id?: string | null;
3639
- /** The ID of the session the event belongs to. */
3640
- session_id?: string | null;
3641
- /** An ID that correlates the events of one login flow. */
3642
- flow_id?: string | null;
3643
- /**
3644
- * Metadata the server records when it emits the event, already redacted when
3645
- * written. An event from an API request (`request.api`) may set `client`
3646
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3647
- * not a live risk-evaluator input.
3648
- */
3649
- metadata?: {
3650
- /**
3651
- * What authorized the request, when it was not a grant on the event's
3652
- * project. Every event of such a request carries it.
3653
- */
3654
- authorization?: {
3655
- /**
3656
- * `platform_operator`: the deployment's platform operator relation,
3657
- * which administers every project.
3658
- */
3659
- path: 'platform_operator';
3660
- /** The project the actor's user belongs to. */
3661
- actor_home_project_id?: string;
3662
- };
3663
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3664
- client?: {
3665
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3666
- ip?: string;
3667
- /** The observed `User-Agent` header. */
3668
- user_agent?: string;
3669
- /** The `Origin` header, when present. */
3670
- origin?: string;
3671
- };
3672
- [key: string]: unknown;
3673
- };
3674
- }) & {
3675
- event_type: 'team.created';
3676
- /**
3677
- * Payload for `team.created`, which holds every field, and `team.updated`,
3678
- * which holds only the changed fields.
3679
- */
3680
- payload: {
3681
- name?: string;
3682
- };
3683
- } | ({
3684
- /** The event ID, in the form `evt_<opaque>`. */
3685
- id: string;
3686
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3687
- project_id: string;
3688
- /** The team the actor operated under when the event was emitted, if any. */
3689
- team_id?: string | null;
3690
- /**
3691
- * The event type, dot-separated, for example `user.created`. It says which
3692
- * `payload` the event carries.
3693
- */
3694
- event_type: string;
3695
- /** The category of the event. */
3696
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3697
- /** When the action happened, on the server's clock. */
3698
- occurred_at: string;
3699
- /** When the event was stored, on the server's clock. */
3700
- created_at: string;
3701
- /** The ID of the actor that triggered the event. */
3702
- actor_id?: string | null;
3703
- /** The kind of actor that triggered the event. */
3704
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3705
- /** The type of resource the event affected. */
3706
- entity_type?: string | null;
3707
- /** The ID of the resource the event affected. */
3708
- entity_id?: string | null;
3709
- /** The application or agent that produced the event. */
3710
- client_id: string;
3711
- /** The ID of the token in use when the event was emitted, when there was one. */
3712
- token_id?: string;
3713
- /** The kind of delegation. Absent when unset. */
3714
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3715
- delegation_id?: string;
3716
- grantor?: string;
3717
- /** A device fingerprint ID that correlates events from the same device. */
3718
- fingerprint?: string;
3719
- /**
3720
- * The ID of the HTTP request that caused the event. Events of one request
3721
- * share it. Only the `request.api` event of a request carries
3722
- * `metadata.client`.
3723
- */
3724
- request_id?: string | null;
3725
- /** The ID of the session the event belongs to. */
3726
- session_id?: string | null;
3727
- /** An ID that correlates the events of one login flow. */
3728
- flow_id?: string | null;
3729
- /**
3730
- * Metadata the server records when it emits the event, already redacted when
3731
- * written. An event from an API request (`request.api`) may set `client`
3732
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3733
- * not a live risk-evaluator input.
3734
- */
3735
- metadata?: {
3736
- /**
3737
- * What authorized the request, when it was not a grant on the event's
3738
- * project. Every event of such a request carries it.
3739
- */
3740
- authorization?: {
3741
- /**
3742
- * `platform_operator`: the deployment's platform operator relation,
3743
- * which administers every project.
3744
- */
3745
- path: 'platform_operator';
3746
- /** The project the actor's user belongs to. */
3747
- actor_home_project_id?: string;
3748
- };
3749
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3750
- client?: {
3751
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3752
- ip?: string;
3753
- /** The observed `User-Agent` header. */
3754
- user_agent?: string;
3755
- /** The `Origin` header, when present. */
3756
- origin?: string;
3757
- };
3758
- [key: string]: unknown;
3759
- };
3760
- }) & {
3761
- event_type: 'team.deactivated';
3762
- /**
3763
- * Empty payload for event types with no typed fields, for example
3764
- * `project.deleted`, `user.deleted` and `session.expired`.
3765
- */
3766
- payload: { [key: string]: unknown };
3767
- } | ({
3768
- /** The event ID, in the form `evt_<opaque>`. */
3769
- id: string;
3770
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3771
- project_id: string;
3772
- /** The team the actor operated under when the event was emitted, if any. */
3773
- team_id?: string | null;
3774
- /**
3775
- * The event type, dot-separated, for example `user.created`. It says which
3776
- * `payload` the event carries.
3777
- */
3778
- event_type: string;
3779
- /** The category of the event. */
3780
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3781
- /** When the action happened, on the server's clock. */
3782
- occurred_at: string;
3783
- /** When the event was stored, on the server's clock. */
3784
- created_at: string;
3785
- /** The ID of the actor that triggered the event. */
3786
- actor_id?: string | null;
3787
- /** The kind of actor that triggered the event. */
3788
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3789
- /** The type of resource the event affected. */
3790
- entity_type?: string | null;
3791
- /** The ID of the resource the event affected. */
3792
- entity_id?: string | null;
3793
- /** The application or agent that produced the event. */
3794
- client_id: string;
3795
- /** The ID of the token in use when the event was emitted, when there was one. */
3796
- token_id?: string;
3797
- /** The kind of delegation. Absent when unset. */
3798
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3799
- delegation_id?: string;
3800
- grantor?: string;
3801
- /** A device fingerprint ID that correlates events from the same device. */
3802
- fingerprint?: string;
3803
- /**
3804
- * The ID of the HTTP request that caused the event. Events of one request
3805
- * share it. Only the `request.api` event of a request carries
3806
- * `metadata.client`.
3807
- */
3808
- request_id?: string | null;
3809
- /** The ID of the session the event belongs to. */
3810
- session_id?: string | null;
3811
- /** An ID that correlates the events of one login flow. */
3812
- flow_id?: string | null;
3813
- /**
3814
- * Metadata the server records when it emits the event, already redacted when
3815
- * written. An event from an API request (`request.api`) may set `client`
3816
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3817
- * not a live risk-evaluator input.
3818
- */
3819
- metadata?: {
3820
- /**
3821
- * What authorized the request, when it was not a grant on the event's
3822
- * project. Every event of such a request carries it.
3823
- */
3824
- authorization?: {
3825
- /**
3826
- * `platform_operator`: the deployment's platform operator relation,
3827
- * which administers every project.
3828
- */
3829
- path: 'platform_operator';
3830
- /** The project the actor's user belongs to. */
3831
- actor_home_project_id?: string;
3832
- };
3833
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3834
- client?: {
3835
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3836
- ip?: string;
3837
- /** The observed `User-Agent` header. */
3838
- user_agent?: string;
3839
- /** The `Origin` header, when present. */
3840
- origin?: string;
3841
- };
3842
- [key: string]: unknown;
3843
- };
3844
- }) & {
3845
- event_type: 'team.updated';
3846
- /**
3847
- * Payload for `team.created`, which holds every field, and `team.updated`,
3848
- * which holds only the changed fields.
3849
- */
3850
- payload: {
3851
- name?: string;
3852
- };
3853
- } | ({
3854
- /** The event ID, in the form `evt_<opaque>`. */
3855
- id: string;
3856
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3857
- project_id: string;
3858
- /** The team the actor operated under when the event was emitted, if any. */
3859
- team_id?: string | null;
3860
- /**
3861
- * The event type, dot-separated, for example `user.created`. It says which
3862
- * `payload` the event carries.
3863
- */
3864
- event_type: string;
3865
- /** The category of the event. */
3866
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3867
- /** When the action happened, on the server's clock. */
3868
- occurred_at: string;
3869
- /** When the event was stored, on the server's clock. */
3870
- created_at: string;
3871
- /** The ID of the actor that triggered the event. */
3872
- actor_id?: string | null;
3873
- /** The kind of actor that triggered the event. */
3874
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3875
- /** The type of resource the event affected. */
3876
- entity_type?: string | null;
3877
- /** The ID of the resource the event affected. */
3878
- entity_id?: string | null;
3879
- /** The application or agent that produced the event. */
3880
- client_id: string;
3881
- /** The ID of the token in use when the event was emitted, when there was one. */
3882
- token_id?: string;
3883
- /** The kind of delegation. Absent when unset. */
3884
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3885
- delegation_id?: string;
3886
- grantor?: string;
3887
- /** A device fingerprint ID that correlates events from the same device. */
3888
- fingerprint?: string;
3889
- /**
3890
- * The ID of the HTTP request that caused the event. Events of one request
3891
- * share it. Only the `request.api` event of a request carries
3892
- * `metadata.client`.
3893
- */
3894
- request_id?: string | null;
3895
- /** The ID of the session the event belongs to. */
3896
- session_id?: string | null;
3897
- /** An ID that correlates the events of one login flow. */
3898
- flow_id?: string | null;
3899
- /**
3900
- * Metadata the server records when it emits the event, already redacted when
3901
- * written. An event from an API request (`request.api`) may set `client`
3902
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3903
- * not a live risk-evaluator input.
3904
- */
3905
- metadata?: {
3906
- /**
3907
- * What authorized the request, when it was not a grant on the event's
3908
- * project. Every event of such a request carries it.
3909
- */
3910
- authorization?: {
3911
- /**
3912
- * `platform_operator`: the deployment's platform operator relation,
3913
- * which administers every project.
3914
- */
3915
- path: 'platform_operator';
3916
- /** The project the actor's user belongs to. */
3917
- actor_home_project_id?: string;
3918
- };
3919
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
3920
- client?: {
3921
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
3922
- ip?: string;
3923
- /** The observed `User-Agent` header. */
3924
- user_agent?: string;
3925
- /** The `Origin` header, when present. */
3926
- origin?: string;
3927
- };
3928
- [key: string]: unknown;
3929
- };
3930
- }) & {
3931
- event_type: 'user.create.failed';
3932
- /** Payload for `user.create.failed` events. */
3933
- payload: {
3934
- /** The name of the unique constraint that was already taken. */
3935
- key_name?: string;
3936
- };
3937
- } | ({
3938
- /** The event ID, in the form `evt_<opaque>`. */
3939
- id: string;
3940
- /** @pattern ^[a-zA-Z0-9_-]+$ */
3941
- project_id: string;
3942
- /** The team the actor operated under when the event was emitted, if any. */
3943
- team_id?: string | null;
3944
- /**
3945
- * The event type, dot-separated, for example `user.created`. It says which
3946
- * `payload` the event carries.
3947
- */
3948
- event_type: string;
3949
- /** The category of the event. */
3950
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
3951
- /** When the action happened, on the server's clock. */
3952
- occurred_at: string;
3953
- /** When the event was stored, on the server's clock. */
3954
- created_at: string;
3955
- /** The ID of the actor that triggered the event. */
3956
- actor_id?: string | null;
3957
- /** The kind of actor that triggered the event. */
3958
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
3959
- /** The type of resource the event affected. */
3960
- entity_type?: string | null;
3961
- /** The ID of the resource the event affected. */
3962
- entity_id?: string | null;
3963
- /** The application or agent that produced the event. */
3964
- client_id: string;
3965
- /** The ID of the token in use when the event was emitted, when there was one. */
3966
- token_id?: string;
3967
- /** The kind of delegation. Absent when unset. */
3968
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
3969
- delegation_id?: string;
3970
- grantor?: string;
3971
- /** A device fingerprint ID that correlates events from the same device. */
3972
- fingerprint?: string;
3973
- /**
3974
- * The ID of the HTTP request that caused the event. Events of one request
3975
- * share it. Only the `request.api` event of a request carries
3976
- * `metadata.client`.
3977
- */
3978
- request_id?: string | null;
3979
- /** The ID of the session the event belongs to. */
3980
- session_id?: string | null;
3981
- /** An ID that correlates the events of one login flow. */
3982
- flow_id?: string | null;
3983
- /**
3984
- * Metadata the server records when it emits the event, already redacted when
3985
- * written. An event from an API request (`request.api`) may set `client`
3986
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
3987
- * not a live risk-evaluator input.
3988
- */
3989
- metadata?: {
3990
- /**
3991
- * What authorized the request, when it was not a grant on the event's
3992
- * project. Every event of such a request carries it.
3993
- */
3994
- authorization?: {
3995
- /**
3996
- * `platform_operator`: the deployment's platform operator relation,
3997
- * which administers every project.
3998
- */
3999
- path: 'platform_operator';
4000
- /** The project the actor's user belongs to. */
4001
- actor_home_project_id?: string;
4002
- };
4003
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
4004
- client?: {
4005
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
4006
- ip?: string;
4007
- /** The observed `User-Agent` header. */
4008
- user_agent?: string;
4009
- /** The `Origin` header, when present. */
4010
- origin?: string;
4011
- };
4012
- [key: string]: unknown;
4013
- };
4014
- }) & {
4015
- event_type: 'user.created';
4016
- /**
4017
- * Payload for `user.created`. The user's ID is the event's `entity_id`;
4018
- * attribute values appear only for schema fields marked `x-audit`.
4019
- */
4020
- payload: {
4021
- schema_id?: string;
4022
- attribute_keys?: string[];
4023
- attributes?: { [key: string]: unknown };
4024
- };
4025
- } | ({
4026
- /** The event ID, in the form `evt_<opaque>`. */
4027
- id: string;
4028
- /** @pattern ^[a-zA-Z0-9_-]+$ */
4029
- project_id: string;
4030
- /** The team the actor operated under when the event was emitted, if any. */
4031
- team_id?: string | null;
4032
- /**
4033
- * The event type, dot-separated, for example `user.created`. It says which
4034
- * `payload` the event carries.
4035
- */
4036
- event_type: string;
4037
- /** The category of the event. */
4038
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
4039
- /** When the action happened, on the server's clock. */
4040
- occurred_at: string;
4041
- /** When the event was stored, on the server's clock. */
4042
- created_at: string;
4043
- /** The ID of the actor that triggered the event. */
4044
- actor_id?: string | null;
4045
- /** The kind of actor that triggered the event. */
4046
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
4047
- /** The type of resource the event affected. */
4048
- entity_type?: string | null;
4049
- /** The ID of the resource the event affected. */
4050
- entity_id?: string | null;
4051
- /** The application or agent that produced the event. */
4052
- client_id: string;
4053
- /** The ID of the token in use when the event was emitted, when there was one. */
4054
- token_id?: string;
4055
- /** The kind of delegation. Absent when unset. */
4056
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
4057
- delegation_id?: string;
4058
- grantor?: string;
4059
- /** A device fingerprint ID that correlates events from the same device. */
4060
- fingerprint?: string;
4061
- /**
4062
- * The ID of the HTTP request that caused the event. Events of one request
4063
- * share it. Only the `request.api` event of a request carries
4064
- * `metadata.client`.
4065
- */
4066
- request_id?: string | null;
4067
- /** The ID of the session the event belongs to. */
4068
- session_id?: string | null;
4069
- /** An ID that correlates the events of one login flow. */
4070
- flow_id?: string | null;
4071
- /**
4072
- * Metadata the server records when it emits the event, already redacted when
4073
- * written. An event from an API request (`request.api`) may set `client`
4074
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
4075
- * not a live risk-evaluator input.
4076
- */
4077
- metadata?: {
4078
- /**
4079
- * What authorized the request, when it was not a grant on the event's
4080
- * project. Every event of such a request carries it.
4081
- */
4082
- authorization?: {
4083
- /**
4084
- * `platform_operator`: the deployment's platform operator relation,
4085
- * which administers every project.
4086
- */
4087
- path: 'platform_operator';
4088
- /** The project the actor's user belongs to. */
4089
- actor_home_project_id?: string;
4090
- };
4091
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
4092
- client?: {
4093
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
4094
- ip?: string;
4095
- /** The observed `User-Agent` header. */
4096
- user_agent?: string;
4097
- /** The `Origin` header, when present. */
4098
- origin?: string;
4099
- };
4100
- [key: string]: unknown;
4101
- };
4102
- }) & {
4103
- event_type: 'user.deleted';
4104
- /**
4105
- * Empty payload for event types with no typed fields, for example
4106
- * `project.deleted`, `user.deleted` and `session.expired`.
4107
- */
4108
- payload: { [key: string]: unknown };
4109
- } | ({
4110
- /** The event ID, in the form `evt_<opaque>`. */
4111
- id: string;
4112
- /** @pattern ^[a-zA-Z0-9_-]+$ */
4113
- project_id: string;
4114
- /** The team the actor operated under when the event was emitted, if any. */
4115
- team_id?: string | null;
4116
- /**
4117
- * The event type, dot-separated, for example `user.created`. It says which
4118
- * `payload` the event carries.
4119
- */
4120
- event_type: string;
4121
- /** The category of the event. */
4122
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
4123
- /** When the action happened, on the server's clock. */
4124
- occurred_at: string;
4125
- /** When the event was stored, on the server's clock. */
4126
- created_at: string;
4127
- /** The ID of the actor that triggered the event. */
4128
- actor_id?: string | null;
4129
- /** The kind of actor that triggered the event. */
4130
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
4131
- /** The type of resource the event affected. */
4132
- entity_type?: string | null;
4133
- /** The ID of the resource the event affected. */
4134
- entity_id?: string | null;
4135
- /** The application or agent that produced the event. */
4136
- client_id: string;
4137
- /** The ID of the token in use when the event was emitted, when there was one. */
4138
- token_id?: string;
4139
- /** The kind of delegation. Absent when unset. */
4140
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
4141
- delegation_id?: string;
4142
- grantor?: string;
4143
- /** A device fingerprint ID that correlates events from the same device. */
4144
- fingerprint?: string;
4145
- /**
4146
- * The ID of the HTTP request that caused the event. Events of one request
4147
- * share it. Only the `request.api` event of a request carries
4148
- * `metadata.client`.
4149
- */
4150
- request_id?: string | null;
4151
- /** The ID of the session the event belongs to. */
4152
- session_id?: string | null;
4153
- /** An ID that correlates the events of one login flow. */
4154
- flow_id?: string | null;
4155
- /**
4156
- * Metadata the server records when it emits the event, already redacted when
4157
- * written. An event from an API request (`request.api`) may set `client`
4158
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
4159
- * not a live risk-evaluator input.
4160
- */
4161
- metadata?: {
4162
- /**
4163
- * What authorized the request, when it was not a grant on the event's
4164
- * project. Every event of such a request carries it.
4165
- */
4166
- authorization?: {
4167
- /**
4168
- * `platform_operator`: the deployment's platform operator relation,
4169
- * which administers every project.
4170
- */
4171
- path: 'platform_operator';
4172
- /** The project the actor's user belongs to. */
4173
- actor_home_project_id?: string;
4174
- };
4175
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
4176
- client?: {
4177
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
4178
- ip?: string;
4179
- /** The observed `User-Agent` header. */
4180
- user_agent?: string;
4181
- /** The `Origin` header, when present. */
4182
- origin?: string;
4183
- };
4184
- [key: string]: unknown;
4185
- };
4186
- }) & {
4187
- event_type: 'user.updated';
4188
- /**
4189
- * Payload for `user.updated`. The attribute rules are those of `user.created`:
4190
- * the keys written, plus values only for fields marked `x-audit`.
4191
- */
4192
- payload: {
4193
- attribute_keys?: string[];
4194
- attributes?: { [key: string]: unknown };
4195
- };
4196
- } | ({
4197
- /** The event ID, in the form `evt_<opaque>`. */
4198
- id: string;
4199
- /** @pattern ^[a-zA-Z0-9_-]+$ */
4200
- project_id: string;
4201
- /** The team the actor operated under when the event was emitted, if any. */
4202
- team_id?: string | null;
4203
- /**
4204
- * The event type, dot-separated, for example `user.created`. It says which
4205
- * `payload` the event carries.
4206
- */
4207
- event_type: string;
4208
- /** The category of the event. */
4209
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
4210
- /** When the action happened, on the server's clock. */
4211
- occurred_at: string;
4212
- /** When the event was stored, on the server's clock. */
4213
- created_at: string;
4214
- /** The ID of the actor that triggered the event. */
4215
- actor_id?: string | null;
4216
- /** The kind of actor that triggered the event. */
4217
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
4218
- /** The type of resource the event affected. */
4219
- entity_type?: string | null;
4220
- /** The ID of the resource the event affected. */
4221
- entity_id?: string | null;
4222
- /** The application or agent that produced the event. */
4223
- client_id: string;
4224
- /** The ID of the token in use when the event was emitted, when there was one. */
4225
- token_id?: string;
4226
- /** The kind of delegation. Absent when unset. */
4227
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
4228
- delegation_id?: string;
4229
- grantor?: string;
4230
- /** A device fingerprint ID that correlates events from the same device. */
4231
- fingerprint?: string;
4232
- /**
4233
- * The ID of the HTTP request that caused the event. Events of one request
4234
- * share it. Only the `request.api` event of a request carries
4235
- * `metadata.client`.
4236
- */
4237
- request_id?: string | null;
4238
- /** The ID of the session the event belongs to. */
4239
- session_id?: string | null;
4240
- /** An ID that correlates the events of one login flow. */
4241
- flow_id?: string | null;
4242
- /**
4243
- * Metadata the server records when it emits the event, already redacted when
4244
- * written. An event from an API request (`request.api`) may set `client`
4245
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
4246
- * not a live risk-evaluator input.
4247
- */
4248
- metadata?: {
4249
- /**
4250
- * What authorized the request, when it was not a grant on the event's
4251
- * project. Every event of such a request carries it.
4252
- */
4253
- authorization?: {
4254
- /**
4255
- * `platform_operator`: the deployment's platform operator relation,
4256
- * which administers every project.
4257
- */
4258
- path: 'platform_operator';
4259
- /** The project the actor's user belongs to. */
4260
- actor_home_project_id?: string;
4261
- };
4262
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
4263
- client?: {
4264
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
4265
- ip?: string;
4266
- /** The observed `User-Agent` header. */
4267
- user_agent?: string;
4268
- /** The `Origin` header, when present. */
4269
- origin?: string;
4270
- };
4271
- [key: string]: unknown;
4272
- };
4273
- }) & ({
4274
- event_type: 'variable.removed';
4275
- /** Payload for `variable.removed` events, one value of the variable removed. */
4276
- payload: {
4277
- kind?: 'primary' | 'preview';
4278
- };
4279
- }) | ({
4280
- /** The event ID, in the form `evt_<opaque>`. */
4281
- id: string;
4282
- /** @pattern ^[a-zA-Z0-9_-]+$ */
4283
- project_id: string;
4284
- /** The team the actor operated under when the event was emitted, if any. */
4285
- team_id?: string | null;
4286
- /**
4287
- * The event type, dot-separated, for example `user.created`. It says which
4288
- * `payload` the event carries.
4289
- */
4290
- event_type: string;
4291
- /** The category of the event. */
4292
- category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
4293
- /** When the action happened, on the server's clock. */
4294
- occurred_at: string;
4295
- /** When the event was stored, on the server's clock. */
4296
- created_at: string;
4297
- /** The ID of the actor that triggered the event. */
4298
- actor_id?: string | null;
4299
- /** The kind of actor that triggered the event. */
4300
- actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
4301
- /** The type of resource the event affected. */
4302
- entity_type?: string | null;
4303
- /** The ID of the resource the event affected. */
4304
- entity_id?: string | null;
4305
- /** The application or agent that produced the event. */
4306
- client_id: string;
4307
- /** The ID of the token in use when the event was emitted, when there was one. */
4308
- token_id?: string;
4309
- /** The kind of delegation. Absent when unset. */
4310
- delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
4311
- delegation_id?: string;
4312
- grantor?: string;
4313
- /** A device fingerprint ID that correlates events from the same device. */
4314
- fingerprint?: string;
4315
- /**
4316
- * The ID of the HTTP request that caused the event. Events of one request
4317
- * share it. Only the `request.api` event of a request carries
4318
- * `metadata.client`.
4319
- */
4320
- request_id?: string | null;
4321
- /** The ID of the session the event belongs to. */
4322
- session_id?: string | null;
4323
- /** An ID that correlates the events of one login flow. */
4324
- flow_id?: string | null;
4325
- /**
4326
- * Metadata the server records when it emits the event, already redacted when
4327
- * written. An event from an API request (`request.api`) may set `client`
4328
- * (`ip`, `user_agent`, `origin`), so a SIEM can join it on `request_id`. It is
4329
- * not a live risk-evaluator input.
4330
- */
4331
- metadata?: {
4332
- /**
4333
- * What authorized the request, when it was not a grant on the event's
4334
- * project. Every event of such a request carries it.
4335
- */
4336
- authorization?: {
4337
- /**
4338
- * `platform_operator`: the deployment's platform operator relation,
4339
- * which administers every project.
4340
- */
4341
- path: 'platform_operator';
4342
- /** The project the actor's user belongs to. */
4343
- actor_home_project_id?: string;
4344
- };
4345
- /** The observed HTTP requestor context, set only on events from an API request (`request.api`). */
4346
- client?: {
4347
- /** The client IP, from the first `X-Forwarded-For` hop or the remote address. */
4348
- ip?: string;
4349
- /** The observed `User-Agent` header. */
4350
- user_agent?: string;
4351
- /** The `Origin` header, when present. */
4352
- origin?: string;
4353
- };
4354
- [key: string]: unknown;
4355
- };
4356
- }) & ({
4357
- event_type: 'variable.set';
4358
- /**
4359
- * Payload for `variable.set` events: one value of the variable entered or
4360
- * replaced. The value is never included, plain or encrypted.
4361
- */
4362
- payload: {
4363
- kind?: 'primary' | 'preview';
4364
- secret?: boolean;
4365
- };
4366
- });