@zitadel/api 1.0.0-alpha.22 → 1.0.0-alpha.23

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 (458) hide show
  1. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  2. package/dist/generated/endpoints/zitadelNextGen.mjs +401 -57
  3. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  4. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +26 -6
  5. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  6. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +1440 -555
  7. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  8. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1681 -442
  9. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  10. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +1551 -378
  11. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  12. package/dist/generated/model/index.d.mts +2 -2
  13. package/dist/generated/model/index.mjs +403 -87
  14. package/dist/generated/model/index.mjs.map +1 -1
  15. package/dist/{index-DtExHu2p.d.mts → index-ruwZ9xDe.d.mts} +20373 -12622
  16. package/dist/index-ruwZ9xDe.d.mts.map +1 -0
  17. package/dist/runtime/api-factory.d.mts +1 -1
  18. package/dist/{zitadelNextGen-C79YSuEo.d.mts → zitadelNextGen-DPyZep6V.d.mts} +222 -38
  19. package/dist/zitadelNextGen-DPyZep6V.d.mts.map +1 -0
  20. package/package.json +1 -1
  21. package/src/generated/endpoints/zitadelNextGen.msw.ts +2807 -699
  22. package/src/generated/endpoints/zitadelNextGen.ts +529 -61
  23. package/src/generated/endpoints/zitadelNextGen.zod.ts +8492 -4460
  24. package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +8 -1
  25. package/src/generated/model/createBranding201.ts +8 -7
  26. package/src/generated/model/createBranding201Branding.ts +50 -24
  27. package/src/generated/model/createBranding201BrandingLayout.ts +8 -4
  28. package/src/generated/model/createBranding201BrandingShape.ts +31 -0
  29. package/src/generated/model/createBranding201BrandingShapeDensity.ts +19 -0
  30. package/src/generated/model/createBranding201BrandingTheme.ts +37 -0
  31. package/src/generated/model/createBranding201BrandingThemeDark.ts +33 -0
  32. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +222 -0
  33. package/src/generated/model/createBranding201BrandingThemeLight.ts +33 -0
  34. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +222 -0
  35. package/src/generated/model/createBranding201BrandingThemeMode.ts +20 -0
  36. package/src/generated/model/createBranding201BrandingTypography.ts +49 -0
  37. package/src/generated/model/createBrandingBody.ts +50 -24
  38. package/src/generated/model/createBrandingBodyLayout.ts +8 -4
  39. package/src/generated/model/createBrandingBodyShape.ts +31 -0
  40. package/src/generated/model/createBrandingBodyShapeDensity.ts +19 -0
  41. package/src/generated/model/createBrandingBodyTheme.ts +37 -0
  42. package/src/generated/model/createBrandingBodyThemeDark.ts +33 -0
  43. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +222 -0
  44. package/src/generated/model/createBrandingBodyThemeLight.ts +33 -0
  45. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +222 -0
  46. package/src/generated/model/createBrandingBodyThemeMode.ts +20 -0
  47. package/src/generated/model/createBrandingBodyTypography.ts +49 -0
  48. package/src/generated/model/createFlow201.ts +8 -7
  49. package/src/generated/model/createFlow201Branding.ts +50 -24
  50. package/src/generated/model/createFlow201BrandingLayout.ts +8 -4
  51. package/src/generated/model/createFlow201BrandingShape.ts +31 -0
  52. package/src/generated/model/createFlow201BrandingShapeDensity.ts +19 -0
  53. package/src/generated/model/createFlow201BrandingTheme.ts +37 -0
  54. package/src/generated/model/createFlow201BrandingThemeDark.ts +33 -0
  55. package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +222 -0
  56. package/src/generated/model/createFlow201BrandingThemeLight.ts +33 -0
  57. package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +222 -0
  58. package/src/generated/model/createFlow201BrandingThemeMode.ts +20 -0
  59. package/src/generated/model/createFlow201BrandingTypography.ts +49 -0
  60. package/src/generated/model/createFlow201StepActionsItem.ts +17 -20
  61. package/src/generated/model/createFlow201StepActionsItemKind.ts +7 -10
  62. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +1 -3
  63. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +1 -3
  64. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +12 -5
  65. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +10 -7
  66. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +3 -4
  67. package/src/generated/model/createFlowDefinition201UserSchema.ts +9 -1
  68. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +1 -3
  69. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +1 -3
  70. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +12 -5
  71. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +10 -7
  72. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +3 -4
  73. package/src/generated/model/createFlowDefinitionDefault.ts +10 -0
  74. package/src/generated/model/createGrant201.ts +13 -32
  75. package/src/generated/model/createGrant201Team.ts +18 -5
  76. package/src/generated/model/createGrant201TeamStatus.ts +22 -0
  77. package/src/generated/model/createGrant201User.ts +16 -6
  78. package/src/generated/model/createGrant201UserAttributes.ts +14 -0
  79. package/src/generated/model/createGrant201UserMetadata.ts +43 -0
  80. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +43 -0
  81. package/src/generated/model/createGrant201UserMetadataStatus.ts +20 -0
  82. package/src/generated/model/createGrantBody.ts +18 -10
  83. package/src/generated/model/createGrantBodyTeam.ts +25 -0
  84. package/src/generated/model/createGrantBodyUser.ts +29 -0
  85. package/src/generated/model/createIdp200.ts +35 -0
  86. package/src/generated/model/createIdp200Definition.ts +47 -0
  87. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +12 -0
  88. package/src/generated/model/createIdp200DefinitionOauth2.ts +52 -0
  89. package/src/generated/model/createIdp200DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
  90. package/src/generated/model/createIdp200DefinitionOauth2SupplementaryFetch.ts +17 -0
  91. package/src/generated/model/createIdp200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
  92. package/src/generated/model/createIdp200DefinitionOidc.ts +64 -0
  93. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  94. package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  95. package/src/generated/model/createIdp200DefinitionProtocol.ts +18 -0
  96. package/src/generated/model/createIdp200DefinitionProvisioning.ts +15 -0
  97. package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +15 -0
  98. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +12 -0
  99. package/src/generated/model/createIdp201.ts +35 -0
  100. package/src/generated/model/createIdp201Definition.ts +47 -0
  101. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +12 -0
  102. package/src/generated/model/createIdp201DefinitionOauth2.ts +52 -0
  103. package/src/generated/model/createIdp201DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
  104. package/src/generated/model/createIdp201DefinitionOauth2SupplementaryFetch.ts +17 -0
  105. package/src/generated/model/createIdp201DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
  106. package/src/generated/model/createIdp201DefinitionOidc.ts +64 -0
  107. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  108. package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  109. package/src/generated/model/createIdp201DefinitionProtocol.ts +18 -0
  110. package/src/generated/model/createIdp201DefinitionProvisioning.ts +15 -0
  111. package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +15 -0
  112. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +12 -0
  113. package/src/generated/model/{createSchema400.ts → createIdp400.ts} +3 -3
  114. package/src/generated/model/{createSchema409Details.ts → createIdp400Details.ts} +1 -1
  115. package/src/generated/model/{createSchema409.ts → createIdp401.ts} +3 -3
  116. package/src/generated/model/{createSchema400Details.ts → createIdp401Details.ts} +1 -1
  117. package/src/generated/model/createIdp403.ts +20 -0
  118. package/src/generated/model/createIdp403Details.ts +12 -0
  119. package/src/generated/model/createIdp404.ts +20 -0
  120. package/src/generated/model/createIdp404Details.ts +12 -0
  121. package/src/generated/model/createIdpBody.ts +15 -0
  122. package/src/generated/model/createIdpBodyIdp.ts +47 -0
  123. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +12 -0
  124. package/src/generated/model/createIdpBodyIdpOauth2.ts +52 -0
  125. package/src/generated/model/createIdpBodyIdpOauth2StaticAuthorizeParameters.ts +12 -0
  126. package/src/generated/model/createIdpBodyIdpOauth2SupplementaryFetch.ts +17 -0
  127. package/src/generated/model/createIdpBodyIdpOauth2TokenEndpointAuthMethod.ts +18 -0
  128. package/src/generated/model/createIdpBodyIdpOidc.ts +64 -0
  129. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
  130. package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
  131. package/src/generated/model/createIdpBodyIdpProtocol.ts +18 -0
  132. package/src/generated/model/createIdpBodyIdpProvisioning.ts +15 -0
  133. package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +15 -0
  134. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +12 -0
  135. package/src/generated/model/createIdpDefault.ts +39 -0
  136. package/src/generated/model/{deleteFlowDefinition409Details.ts → createIdpParams.ts} +7 -4
  137. package/src/generated/model/createRelease200.ts +3 -1
  138. package/src/generated/model/createRelease201.ts +3 -1
  139. package/src/generated/model/createReleaseBody.ts +8 -0
  140. package/src/generated/model/createReleaseDefault.ts +70 -0
  141. package/src/generated/model/createSchemaBody.ts +9 -1
  142. package/src/generated/model/createSchemaDefault.ts +141 -12
  143. package/src/generated/model/createSession201SessionFactorsItemPayload.ts +8 -1
  144. package/src/generated/model/deleteTeam409.ts +20 -0
  145. package/src/generated/model/deleteTeam409Details.ts +12 -0
  146. package/src/generated/model/deleteVariableDefault.ts +69 -0
  147. package/src/generated/model/deleteVariableParams.ts +26 -0
  148. package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +8 -1
  149. package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +8 -1
  150. package/src/generated/model/getBrandingById200.ts +8 -7
  151. package/src/generated/model/getBrandingById200Branding.ts +50 -24
  152. package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -4
  153. package/src/generated/model/getBrandingById200BrandingShape.ts +31 -0
  154. package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +19 -0
  155. package/src/generated/model/getBrandingById200BrandingTheme.ts +37 -0
  156. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +33 -0
  157. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +222 -0
  158. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +33 -0
  159. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +222 -0
  160. package/src/generated/model/getBrandingById200BrandingThemeMode.ts +20 -0
  161. package/src/generated/model/getBrandingById200BrandingTypography.ts +49 -0
  162. package/src/generated/model/getEvent200.ts +4 -4
  163. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +1 -3
  164. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +1 -3
  165. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +12 -5
  166. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +10 -7
  167. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +3 -4
  168. package/src/generated/model/getFlowDefinition200UserSchema.ts +9 -1
  169. package/src/generated/model/getFlowStep200.ts +8 -7
  170. package/src/generated/model/getFlowStep200Branding.ts +50 -24
  171. package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -4
  172. package/src/generated/model/getFlowStep200BrandingShape.ts +31 -0
  173. package/src/generated/model/getFlowStep200BrandingShapeDensity.ts +19 -0
  174. package/src/generated/model/getFlowStep200BrandingTheme.ts +37 -0
  175. package/src/generated/model/getFlowStep200BrandingThemeDark.ts +33 -0
  176. package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +222 -0
  177. package/src/generated/model/getFlowStep200BrandingThemeLight.ts +33 -0
  178. package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +222 -0
  179. package/src/generated/model/getFlowStep200BrandingThemeMode.ts +20 -0
  180. package/src/generated/model/getFlowStep200BrandingTypography.ts +49 -0
  181. package/src/generated/model/getFlowStep200StepActionsItem.ts +17 -20
  182. package/src/generated/model/getFlowStep200StepActionsItemKind.ts +7 -10
  183. package/src/generated/model/getGrant200.ts +13 -32
  184. package/src/generated/model/getGrant200Team.ts +18 -5
  185. package/src/generated/model/getGrant200TeamStatus.ts +22 -0
  186. package/src/generated/model/getGrant200User.ts +16 -6
  187. package/src/generated/model/getGrant200UserAttributes.ts +14 -0
  188. package/src/generated/model/getGrant200UserMetadata.ts +43 -0
  189. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +43 -0
  190. package/src/generated/model/getGrant200UserMetadataStatus.ts +20 -0
  191. package/src/generated/model/getGrantDefault.ts +20 -0
  192. package/src/generated/model/getGrantExpandItem.ts +29 -0
  193. package/src/generated/model/getGrantParams.ts +7 -0
  194. package/src/generated/model/getIdpById200.ts +35 -0
  195. package/src/generated/model/getIdpById200Definition.ts +47 -0
  196. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +12 -0
  197. package/src/generated/model/getIdpById200DefinitionOauth2.ts +52 -0
  198. package/src/generated/model/getIdpById200DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
  199. package/src/generated/model/getIdpById200DefinitionOauth2SupplementaryFetch.ts +17 -0
  200. package/src/generated/model/getIdpById200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
  201. package/src/generated/model/getIdpById200DefinitionOidc.ts +64 -0
  202. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  203. package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  204. package/src/generated/model/getIdpById200DefinitionProtocol.ts +18 -0
  205. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +15 -0
  206. package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +15 -0
  207. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +12 -0
  208. package/src/generated/model/getIdpById401.ts +20 -0
  209. package/src/generated/model/getIdpById401Details.ts +12 -0
  210. package/src/generated/model/getIdpById403.ts +20 -0
  211. package/src/generated/model/getIdpById403Details.ts +12 -0
  212. package/src/generated/model/getIdpById404.ts +20 -0
  213. package/src/generated/model/getIdpById404Details.ts +12 -0
  214. package/src/generated/model/getIdpByIdDefault.ts +39 -0
  215. package/src/generated/model/getIdpByIdParams.ts +15 -0
  216. package/src/generated/model/getIdpRevisionById200.ts +35 -0
  217. package/src/generated/model/getIdpRevisionById200Definition.ts +47 -0
  218. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +12 -0
  219. package/src/generated/model/getIdpRevisionById200DefinitionOauth2.ts +52 -0
  220. package/src/generated/model/getIdpRevisionById200DefinitionOauth2StaticAuthorizeParameters.ts +14 -0
  221. package/src/generated/model/getIdpRevisionById200DefinitionOauth2SupplementaryFetch.ts +17 -0
  222. package/src/generated/model/getIdpRevisionById200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
  223. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +64 -0
  224. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +14 -0
  225. package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  226. package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +18 -0
  227. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +15 -0
  228. package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +15 -0
  229. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +12 -0
  230. package/src/generated/model/getIdpRevisionById401.ts +20 -0
  231. package/src/generated/model/getIdpRevisionById401Details.ts +12 -0
  232. package/src/generated/model/getIdpRevisionById403.ts +20 -0
  233. package/src/generated/model/getIdpRevisionById403Details.ts +12 -0
  234. package/src/generated/model/getIdpRevisionById404.ts +20 -0
  235. package/src/generated/model/getIdpRevisionById404Details.ts +12 -0
  236. package/src/generated/model/getIdpRevisionByIdDefault.ts +39 -0
  237. package/src/generated/model/getIdpRevisionByIdParams.ts +15 -0
  238. package/src/generated/model/getMySession200FactorsItemPayload.ts +8 -1
  239. package/src/generated/model/getReleaseById200.ts +3 -1
  240. package/src/generated/model/getReleaseByIdDefault.ts +20 -0
  241. package/src/generated/model/getSchemaById200Schema.ts +9 -1
  242. package/src/generated/model/getSchemaByIdDefault.ts +51 -12
  243. package/src/generated/model/getSession200FactorsItemPayload.ts +8 -1
  244. package/src/generated/model/getVariable200.ts +25 -0
  245. package/src/generated/model/getVariableDefault.ts +69 -0
  246. package/src/generated/model/getVariableParams.ts +26 -0
  247. package/src/generated/model/getVariables200.ts +29 -0
  248. package/src/generated/model/getVariablesDefault.ts +69 -0
  249. package/src/generated/model/getVariablesParams.ts +26 -0
  250. package/src/generated/model/index.ts +293 -59
  251. package/src/generated/model/listEvents200DataItem.ts +4 -4
  252. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +1 -3
  253. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +1 -3
  254. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +12 -5
  255. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +10 -7
  256. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +3 -4
  257. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +9 -1
  258. package/src/generated/model/listFlowDefinitionsParams.ts +15 -0
  259. package/src/generated/model/listFlowDefinitionsRevisions.ts +15 -0
  260. package/src/generated/model/listIdpRevisions200.ts +21 -0
  261. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +35 -0
  262. package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +47 -0
  263. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +12 -0
  264. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2.ts +52 -0
  265. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2StaticAuthorizeParameters.ts +14 -0
  266. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2SupplementaryFetch.ts +17 -0
  267. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
  268. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +64 -0
  269. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +14 -0
  270. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  271. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProtocol.ts +18 -0
  272. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +15 -0
  273. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioningCreation.ts +15 -0
  274. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +14 -0
  275. package/src/generated/model/listIdpRevisions401.ts +20 -0
  276. package/src/generated/model/{createSchemaDefaultDetails.ts → listIdpRevisions401Details.ts} +1 -1
  277. package/src/generated/model/listIdpRevisions403.ts +20 -0
  278. package/src/generated/model/listIdpRevisions403Details.ts +12 -0
  279. package/src/generated/model/listIdpRevisions404.ts +20 -0
  280. package/src/generated/model/listIdpRevisions404Details.ts +12 -0
  281. package/src/generated/model/listIdpRevisionsDefault.ts +39 -0
  282. package/src/generated/model/listIdpRevisionsParams.ts +29 -0
  283. package/src/generated/model/listMyProjects200.ts +20 -0
  284. package/src/generated/model/listMyProjects200ProjectsItem.ts +24 -0
  285. package/src/generated/model/listMyProjects400.ts +20 -0
  286. package/src/generated/model/listMyProjects400Details.ts +12 -0
  287. package/src/generated/model/listMyProjects401.ts +24 -0
  288. package/src/generated/model/listMyProjects500.ts +20 -0
  289. package/src/generated/model/listMyProjects500Details.ts +12 -0
  290. package/src/generated/model/listMyProjectsDefault.ts +39 -0
  291. package/src/generated/model/listMyProjectsParams.ts +24 -0
  292. package/src/generated/model/listReleasesDefault.ts +20 -0
  293. package/src/generated/model/listSchemas200SchemasItemSchema.ts +9 -1
  294. package/src/generated/model/listSchemasDefault.ts +51 -12
  295. package/src/generated/model/patchMyUser200.ts +71 -0
  296. package/src/generated/model/patchMyUser200Attributes.ts +14 -0
  297. package/src/generated/model/patchMyUser200Metadata.ts +43 -0
  298. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
  299. package/src/generated/model/patchMyUser200MetadataStatus.ts +20 -0
  300. package/src/generated/model/patchMyUser200TeamsItem.ts +33 -0
  301. package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +21 -0
  302. package/src/generated/model/patchMyUser400.ts +20 -0
  303. package/src/generated/model/patchMyUser400Details.ts +12 -0
  304. package/src/generated/model/patchMyUser401.ts +20 -0
  305. package/src/generated/model/patchMyUser401Details.ts +12 -0
  306. package/src/generated/model/patchMyUser404.ts +24 -0
  307. package/src/generated/model/patchMyUser409.ts +20 -0
  308. package/src/generated/model/patchMyUser409Details.ts +12 -0
  309. package/src/generated/model/patchMyUserBody.ts +25 -0
  310. package/src/generated/model/{listSchemasDefaultDetails.ts → patchMyUserBodyAttributes.ts} +4 -2
  311. package/src/generated/model/{deleteFlowDefinitionDefault.ts → patchMyUserDefault.ts} +8 -8
  312. package/src/generated/model/patchUserByID200.ts +71 -0
  313. package/src/generated/model/patchUserByID200Attributes.ts +14 -0
  314. package/src/generated/model/patchUserByID200Metadata.ts +43 -0
  315. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +43 -0
  316. package/src/generated/model/patchUserByID200MetadataStatus.ts +20 -0
  317. package/src/generated/model/patchUserByID200TeamsItem.ts +33 -0
  318. package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +21 -0
  319. package/src/generated/model/{getSchemaById404.ts → patchUserByID400.ts} +3 -3
  320. package/src/generated/model/{getSchemaById400Details.ts → patchUserByID400Details.ts} +1 -1
  321. package/src/generated/model/{getSchemaById400.ts → patchUserByID401.ts} +3 -3
  322. package/src/generated/model/{getSchemaById404Details.ts → patchUserByID401Details.ts} +1 -1
  323. package/src/generated/model/patchUserByID403.ts +20 -0
  324. package/src/generated/model/patchUserByID403Details.ts +12 -0
  325. package/src/generated/model/patchUserByID404.ts +20 -0
  326. package/src/generated/model/patchUserByID404Details.ts +12 -0
  327. package/src/generated/model/patchUserByID409.ts +20 -0
  328. package/src/generated/model/patchUserByID409Details.ts +12 -0
  329. package/src/generated/model/patchUserByIDBody.ts +39 -0
  330. package/src/generated/model/{getSchemaByIdDefaultDetails.ts → patchUserByIDBodyAttributes.ts} +4 -2
  331. package/src/generated/model/patchUserByIDDefault.ts +89 -0
  332. package/src/generated/model/queryGrants200GrantsItem.ts +13 -32
  333. package/src/generated/model/queryGrants200GrantsItemTeam.ts +18 -5
  334. package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +22 -0
  335. package/src/generated/model/queryGrants200GrantsItemUser.ts +16 -6
  336. package/src/generated/model/queryGrants200GrantsItemUserAttributes.ts +14 -0
  337. package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +43 -0
  338. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +43 -0
  339. package/src/generated/model/queryGrants200GrantsItemUserMetadataStatus.ts +20 -0
  340. package/src/generated/model/queryGrantsBody.ts +3 -2
  341. package/src/generated/model/queryGrantsBodyExpandItem.ts +11 -11
  342. package/src/generated/model/queryGrantsBodyFilterItem.ts +2 -2
  343. package/src/generated/model/queryGrantsBodyFilterItemField.ts +4 -4
  344. package/src/generated/model/queryIdps200.ts +21 -0
  345. package/src/generated/model/queryIdps200IdpsItem.ts +35 -0
  346. package/src/generated/model/queryIdps200IdpsItemDefinition.ts +47 -0
  347. package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +12 -0
  348. package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2.ts +52 -0
  349. package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2StaticAuthorizeParameters.ts +14 -0
  350. package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2SupplementaryFetch.ts +17 -0
  351. package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
  352. package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +64 -0
  353. package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +12 -0
  354. package/src/generated/model/queryIdps200IdpsItemDefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  355. package/src/generated/model/queryIdps200IdpsItemDefinitionProtocol.ts +18 -0
  356. package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +15 -0
  357. package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioningCreation.ts +15 -0
  358. package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +12 -0
  359. package/src/generated/model/queryIdps400.ts +20 -0
  360. package/src/generated/model/queryIdps400Details.ts +12 -0
  361. package/src/generated/model/queryIdps401.ts +20 -0
  362. package/src/generated/model/queryIdps401Details.ts +12 -0
  363. package/src/generated/model/queryIdps403.ts +20 -0
  364. package/src/generated/model/queryIdps403Details.ts +12 -0
  365. package/src/generated/model/queryIdps404.ts +20 -0
  366. package/src/generated/model/queryIdps404Details.ts +12 -0
  367. package/src/generated/model/queryIdpsBody.ts +29 -0
  368. package/src/generated/model/queryIdpsBodyFilterItem.ts +31 -0
  369. package/src/generated/model/queryIdpsBodyFilterItemField.ts +22 -0
  370. package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +30 -0
  371. package/src/generated/model/queryIdpsBodySorting.ts +22 -0
  372. package/src/generated/model/queryIdpsBodySortingDirection.ts +15 -0
  373. package/src/generated/model/queryIdpsBodySortingField.ts +22 -0
  374. package/src/generated/model/queryIdpsDefault.ts +39 -0
  375. package/src/generated/model/queryIdpsParams.ts +15 -0
  376. package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +8 -1
  377. package/src/generated/model/submitFlowStep200.ts +8 -7
  378. package/src/generated/model/submitFlowStep200Branding.ts +50 -24
  379. package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -4
  380. package/src/generated/model/submitFlowStep200BrandingShape.ts +31 -0
  381. package/src/generated/model/submitFlowStep200BrandingShapeDensity.ts +19 -0
  382. package/src/generated/model/submitFlowStep200BrandingTheme.ts +37 -0
  383. package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +33 -0
  384. package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +222 -0
  385. package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +33 -0
  386. package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +222 -0
  387. package/src/generated/model/submitFlowStep200BrandingThemeMode.ts +20 -0
  388. package/src/generated/model/submitFlowStep200BrandingTypography.ts +49 -0
  389. package/src/generated/model/submitFlowStep200StepActionsItem.ts +17 -20
  390. package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +7 -10
  391. package/src/generated/model/submitFlowStep400.ts +8 -7
  392. package/src/generated/model/submitFlowStep400Branding.ts +50 -24
  393. package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -4
  394. package/src/generated/model/submitFlowStep400BrandingShape.ts +31 -0
  395. package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +19 -0
  396. package/src/generated/model/submitFlowStep400BrandingTheme.ts +37 -0
  397. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +33 -0
  398. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +222 -0
  399. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +33 -0
  400. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +222 -0
  401. package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +20 -0
  402. package/src/generated/model/submitFlowStep400BrandingTypography.ts +49 -0
  403. package/src/generated/model/submitFlowStep400StepActionsItem.ts +17 -20
  404. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +7 -10
  405. package/src/generated/model/updateVariables200.ts +29 -0
  406. package/src/generated/model/updateVariablesBody.ts +60 -0
  407. package/src/generated/model/{updateFlowDefinitionDefault.ts → updateVariablesDefault.ts} +22 -12
  408. package/src/generated/model/updateVariablesParams.ts +26 -0
  409. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +8 -1
  410. package/src/generated/model/verifyChallengeProofBody.ts +1 -1
  411. package/src/generated/model/verifyChallengeProofDefault.ts +10 -0
  412. package/dist/index-DtExHu2p.d.mts.map +0 -1
  413. package/dist/zitadelNextGen-C79YSuEo.d.mts.map +0 -1
  414. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
  415. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
  416. package/src/generated/model/createGrant201Principal.ts +0 -147
  417. package/src/generated/model/createGrant201PrincipalType.ts +0 -18
  418. package/src/generated/model/createGrantBodyPrincipalType.ts +0 -18
  419. package/src/generated/model/deleteFlowDefinition409.ts +0 -20
  420. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
  421. package/src/generated/model/getGrant200Principal.ts +0 -147
  422. package/src/generated/model/getGrant200PrincipalType.ts +0 -18
  423. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
  424. package/src/generated/model/queryGrants200GrantsItemPrincipal.ts +0 -147
  425. package/src/generated/model/queryGrants200GrantsItemPrincipalType.ts +0 -18
  426. package/src/generated/model/updateFlowDefinition200.ts +0 -34
  427. package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +0 -73
  428. package/src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts +0 -21
  429. package/src/generated/model/updateFlowDefinition200FlowDefinitionStatus.ts +0 -26
  430. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts +0 -71
  431. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +0 -42
  432. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +0 -31
  433. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts +0 -21
  434. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts +0 -35
  435. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +0 -14
  436. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +0 -20
  437. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +0 -21
  438. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
  439. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +0 -46
  440. package/src/generated/model/updateFlowDefinition200UserSchema.ts +0 -103
  441. package/src/generated/model/updateFlowDefinition400.ts +0 -20
  442. package/src/generated/model/updateFlowDefinition400Details.ts +0 -12
  443. package/src/generated/model/updateFlowDefinition404.ts +0 -20
  444. package/src/generated/model/updateFlowDefinition404Details.ts +0 -12
  445. package/src/generated/model/updateFlowDefinitionBody.ts +0 -30
  446. package/src/generated/model/updateFlowDefinitionBodyFlowDefinition.ts +0 -73
  447. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionAudience.ts +0 -21
  448. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStatus.ts +0 -26
  449. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -71
  450. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -42
  451. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -31
  452. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -21
  453. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -35
  454. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -14
  455. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
  456. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -21
  457. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
  458. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -46
@@ -0,0 +1,222 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
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
+ * Semantic colours for one theme side. An omitted key uses the maintained
11
+ default for this side, never the other side's value.
12
+
13
+ Every value is a `BrandingColor`, which is where the accepted forms and the
14
+ reason for them live; what each key paints is below.
15
+
16
+ */
17
+ export type GetFlowStep200BrandingThemeLightPalette = {
18
+ /**
19
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
20
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
21
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
22
+ rejected: the value is written into a stylesheet, so only forms that resolve
23
+ to a colour are stored.
24
+
25
+ The pattern pins the shape — no semicolons, braces, comment markers or
26
+ backslashes, so a value cannot leave its declaration whatever it spells.
27
+ Which names CSS actually knows is the browser's business: an unrecognised
28
+ one is stored and paints nothing, rather than being refused here.
29
+
30
+ * @minLength 1
31
+ * @maxLength 128
32
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
33
+ */
34
+ primary?: string;
35
+ /**
36
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
37
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
38
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
39
+ rejected: the value is written into a stylesheet, so only forms that resolve
40
+ to a colour are stored.
41
+
42
+ The pattern pins the shape — no semicolons, braces, comment markers or
43
+ backslashes, so a value cannot leave its declaration whatever it spells.
44
+ Which names CSS actually knows is the browser's business: an unrecognised
45
+ one is stored and paints nothing, rather than being refused here.
46
+
47
+ * @minLength 1
48
+ * @maxLength 128
49
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
50
+ */
51
+ on_primary?: string;
52
+ /**
53
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
54
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
55
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
56
+ rejected: the value is written into a stylesheet, so only forms that resolve
57
+ to a colour are stored.
58
+
59
+ The pattern pins the shape — no semicolons, braces, comment markers or
60
+ backslashes, so a value cannot leave its declaration whatever it spells.
61
+ Which names CSS actually knows is the browser's business: an unrecognised
62
+ one is stored and paints nothing, rather than being refused here.
63
+
64
+ * @minLength 1
65
+ * @maxLength 128
66
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
67
+ */
68
+ background?: string;
69
+ /**
70
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
71
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
72
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
73
+ rejected: the value is written into a stylesheet, so only forms that resolve
74
+ to a colour are stored.
75
+
76
+ The pattern pins the shape — no semicolons, braces, comment markers or
77
+ backslashes, so a value cannot leave its declaration whatever it spells.
78
+ Which names CSS actually knows is the browser's business: an unrecognised
79
+ one is stored and paints nothing, rather than being refused here.
80
+
81
+ * @minLength 1
82
+ * @maxLength 128
83
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
84
+ */
85
+ surface?: string;
86
+ /**
87
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
88
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
89
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
90
+ rejected: the value is written into a stylesheet, so only forms that resolve
91
+ to a colour are stored.
92
+
93
+ The pattern pins the shape — no semicolons, braces, comment markers or
94
+ backslashes, so a value cannot leave its declaration whatever it spells.
95
+ Which names CSS actually knows is the browser's business: an unrecognised
96
+ one is stored and paints nothing, rather than being refused here.
97
+
98
+ * @minLength 1
99
+ * @maxLength 128
100
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
101
+ */
102
+ muted?: string;
103
+ /**
104
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
105
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
106
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
107
+ rejected: the value is written into a stylesheet, so only forms that resolve
108
+ to a colour are stored.
109
+
110
+ The pattern pins the shape — no semicolons, braces, comment markers or
111
+ backslashes, so a value cannot leave its declaration whatever it spells.
112
+ Which names CSS actually knows is the browser's business: an unrecognised
113
+ one is stored and paints nothing, rather than being refused here.
114
+
115
+ * @minLength 1
116
+ * @maxLength 128
117
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
118
+ */
119
+ border?: string;
120
+ /**
121
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
122
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
123
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
124
+ rejected: the value is written into a stylesheet, so only forms that resolve
125
+ to a colour are stored.
126
+
127
+ The pattern pins the shape — no semicolons, braces, comment markers or
128
+ backslashes, so a value cannot leave its declaration whatever it spells.
129
+ Which names CSS actually knows is the browser's business: an unrecognised
130
+ one is stored and paints nothing, rather than being refused here.
131
+
132
+ * @minLength 1
133
+ * @maxLength 128
134
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
135
+ */
136
+ text?: string;
137
+ /**
138
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
139
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
140
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
141
+ rejected: the value is written into a stylesheet, so only forms that resolve
142
+ to a colour are stored.
143
+
144
+ The pattern pins the shape — no semicolons, braces, comment markers or
145
+ backslashes, so a value cannot leave its declaration whatever it spells.
146
+ Which names CSS actually knows is the browser's business: an unrecognised
147
+ one is stored and paints nothing, rather than being refused here.
148
+
149
+ * @minLength 1
150
+ * @maxLength 128
151
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
152
+ */
153
+ text_muted?: string;
154
+ /**
155
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
156
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
157
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
158
+ rejected: the value is written into a stylesheet, so only forms that resolve
159
+ to a colour are stored.
160
+
161
+ The pattern pins the shape — no semicolons, braces, comment markers or
162
+ backslashes, so a value cannot leave its declaration whatever it spells.
163
+ Which names CSS actually knows is the browser's business: an unrecognised
164
+ one is stored and paints nothing, rather than being refused here.
165
+
166
+ * @minLength 1
167
+ * @maxLength 128
168
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
169
+ */
170
+ link?: string;
171
+ /**
172
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
173
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
174
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
175
+ rejected: the value is written into a stylesheet, so only forms that resolve
176
+ to a colour are stored.
177
+
178
+ The pattern pins the shape — no semicolons, braces, comment markers or
179
+ backslashes, so a value cannot leave its declaration whatever it spells.
180
+ Which names CSS actually knows is the browser's business: an unrecognised
181
+ one is stored and paints nothing, rather than being refused here.
182
+
183
+ * @minLength 1
184
+ * @maxLength 128
185
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
186
+ */
187
+ success?: string;
188
+ /**
189
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
190
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
191
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
192
+ rejected: the value is written into a stylesheet, so only forms that resolve
193
+ to a colour are stored.
194
+
195
+ The pattern pins the shape — no semicolons, braces, comment markers or
196
+ backslashes, so a value cannot leave its declaration whatever it spells.
197
+ Which names CSS actually knows is the browser's business: an unrecognised
198
+ one is stored and paints nothing, rather than being refused here.
199
+
200
+ * @minLength 1
201
+ * @maxLength 128
202
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
203
+ */
204
+ warning?: string;
205
+ /**
206
+ * A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
207
+ function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
208
+ `oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
209
+ rejected: the value is written into a stylesheet, so only forms that resolve
210
+ to a colour are stored.
211
+
212
+ The pattern pins the shape — no semicolons, braces, comment markers or
213
+ backslashes, so a value cannot leave its declaration whatever it spells.
214
+ Which names CSS actually knows is the browser's business: an unrecognised
215
+ one is stored and paints nothing, rather than being refused here.
216
+
217
+ * @minLength 1
218
+ * @maxLength 128
219
+ * @pattern ^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\((?:[0-9a-zA-Z%.,+/# -]|[a-zA-Z][a-zA-Z-]{2,12}\([0-9a-zA-Z%.,+/# -]*\))*\))$
220
+ */
221
+ error?: string;
222
+ };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
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
+ * Which published side may run. `auto` follows the operating system.
11
+
12
+ */
13
+ export type GetFlowStep200BrandingThemeMode =
14
+ (typeof GetFlowStep200BrandingThemeMode)[keyof typeof GetFlowStep200BrandingThemeMode];
15
+
16
+ export const GetFlowStep200BrandingThemeMode = {
17
+ light: "light",
18
+ dark: "dark",
19
+ auto: "auto",
20
+ } as const;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
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
+ * The typeface the login surface renders in. One face covers both body and
11
+ headings; separate heading and mono faces are not modelled yet.
12
+
13
+ */
14
+ export type GetFlowStep200BrandingTypography = {
15
+ /**
16
+ * CSS font stack for body and heading text. Include a generic family so
17
+ the surface still renders when the named face is unavailable.
18
+
19
+ Comma-separated family names, each either an identifier (`Inter`,
20
+ `ui-sans-serif`, `Helvetica Neue`) or a quoted name (`"APK Futural"`).
21
+ Anything else is rejected — the stack is written into a stylesheet, so
22
+ only names are stored, and a quoted name must close the quote it opened.
23
+
24
+ * @minLength 1
25
+ * @maxLength 256
26
+ * @pattern ^ *(?:"[^"\\;{}]*"|'[^'\\;{}]*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)*)(?: *, *(?:"[^"\\;{}]*"|'[^'\\;{}]*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)*))* *$
27
+ */
28
+ font_family?: string;
29
+ /**
30
+ * Stylesheet that loads `font_family` — a Google Fonts CSS URL, for
31
+ example. Must be https; unlike the logo and hero assets there is no
32
+ loopback carve-out. Rejected without `font_family`, which would name
33
+ nothing to paint with.
34
+
35
+ Stored but not applied to an embedded widget: the embedding page loads
36
+ the face, and Zitadel does not inject a stylesheet into a document it
37
+ does not own.
38
+
39
+ * @maxLength 2048
40
+ * @pattern ^[hH][tT][tT][pP][sS]://(?:\[[0-9A-Fa-f:.]+\]|[^/:?#@]+)(?::0*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)
41
+ */
42
+ font_url?: string;
43
+ /**
44
+ * Multiplier on the base text sizes, `1` when omitted.
45
+ * @minimum 0.75
46
+ * @maximum 1.25
47
+ */
48
+ scale?: number;
49
+ };
@@ -8,35 +8,32 @@
8
8
  import type { GetFlowStep200StepActionsItemKind } from "./getFlowStep200StepActionsItemKind";
9
9
 
10
10
  /**
11
- * Configuration for a user-invokable action on a step. The `name` is sent
12
- back in the submit request as `action`; the engine resolves the action's
13
- declared `kind` to decide how to handle the submission.
11
+ * An action the engine offers on a runtime step. Every declared action of the
12
+ definition's step appears here, plus the engine-injected `back` whenever
13
+ returning to the previous step is possible.
14
14
 
15
15
  */
16
16
  export type GetFlowStep200StepActionsItem = {
17
- /** Action identifier. Sent back in the submit request as `action`. */
17
+ /**
18
+ * Action identifier. Sent back in the submit request as `action`.
19
+ * @minLength 1
20
+ */
18
21
  name: string;
19
- /** Classifies how the engine handles this action:
20
- - `submit`: collect the step's fields and run validate/dispatch/on_success.
21
- - `passkey`: issue a WebAuthn assertion challenge; the matching transition
22
- fires once the returned assertion verifies.
23
- - `passkey_register`: issue a WebAuthn registration challenge; the matching
24
- transition fires once the returned attestation verifies.
25
- - `navigate`: route through the transition without running the input
26
- pipeline. Used for pure-routing actions declared in the flow definition.
27
- - `back`: return the user to the previous step. Surfaced by the engine
28
- when going back is available.
22
+ /** How the client should treat the action:
23
+ - `submit`: collect the step's fields and submit.
24
+ - `passkey`: run a WebAuthn assertion, then submit the result.
25
+ - `passkey_register`: run a WebAuthn registration, then submit the result.
26
+ - `navigate`: submit without collecting fields; pure routing.
27
+ - `back`: return the user to the previous step. Engine-injected, never
28
+ declared in a flow definition.
29
29
  */
30
30
  kind: GetFlowStep200StepActionsItemKind;
31
31
  /** Marks this as the default/primary action. The runtime template uses
32
- this hint to choose visual emphasis. At most one action per step
33
- should be primary; this is not enforced here.
32
+ this hint to choose visual emphasis.
34
33
  */
35
34
  primary?: boolean;
36
- /** Optional localization key override for the action's label. When
37
- omitted, the engine derives a key from the step and action names.
38
- Display text is resolved client-side from a locale dictionary, never
39
- by the engine.
35
+ /** Localization key for the action's label, resolved client-side from a
36
+ locale dictionary.
40
37
  */
41
38
  text_key?: string;
42
39
  };
@@ -7,16 +7,13 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Classifies how the engine handles this action:
11
- - `submit`: collect the step's fields and run validate/dispatch/on_success.
12
- - `passkey`: issue a WebAuthn assertion challenge; the matching transition
13
- fires once the returned assertion verifies.
14
- - `passkey_register`: issue a WebAuthn registration challenge; the matching
15
- transition fires once the returned attestation verifies.
16
- - `navigate`: route through the transition without running the input
17
- pipeline. Used for pure-routing actions declared in the flow definition.
18
- - `back`: return the user to the previous step. Surfaced by the engine
19
- when going back is available.
10
+ * How the client should treat the action:
11
+ - `submit`: collect the step's fields and submit.
12
+ - `passkey`: run a WebAuthn assertion, then submit the result.
13
+ - `passkey_register`: run a WebAuthn registration, then submit the result.
14
+ - `navigate`: submit without collecting fields; pure routing.
15
+ - `back`: return the user to the previous step. Engine-injected, never
16
+ declared in a flow definition.
20
17
 
21
18
  */
22
19
  export type GetFlowStep200StepActionsItemKind =
@@ -6,24 +6,22 @@
6
6
  * OpenAPI spec version: 0.0.1
7
7
  */
8
8
  import type { GetGrant200ObjectType } from "./getGrant200ObjectType";
9
- import type { GetGrant200Principal } from "./getGrant200Principal";
10
- import type { GetGrant200PrincipalType } from "./getGrant200PrincipalType";
11
9
  import type { GetGrant200Relation } from "./getGrant200Relation";
12
10
  import type { GetGrant200Team } from "./getGrant200Team";
13
11
  import type { GetGrant200User } from "./getGrant200User";
14
12
 
15
13
  /**
16
- * A collaboration grant binding a principal to a project relation.
14
+ * A collaboration grant binding a user or a team to a project relation.
15
+ Discriminate on which of `user` or `team` is present. Those objects are
16
+ always refs (`user_id` / `team_id`); expand adds extra fields on the same
17
+ object rather than a sibling.
18
+
17
19
  */
18
20
  export type GetGrant200 = {
19
21
  /** Managed assignment id (`asgn_<opaque>`). */
20
22
  id: string;
21
23
  /** Project this grant is scoped to. */
22
24
  project_id: string;
23
- /** Kind of principal bound by this grant. */
24
- principal_type: GetGrant200PrincipalType;
25
- /** Principal id (`user_<opaque>` or `team_<opaque>`). */
26
- principal_id: string;
27
25
  /** Catalog object type. Always `project` for this API. */
28
26
  object_type: GetGrant200ObjectType;
29
27
  /** Catalog relation on the project. */
@@ -34,33 +32,16 @@ export type GetGrant200 = {
34
32
  returns expired unrevoked grants; authorization ignores them.
35
33
  */
36
34
  expires_at?: string | null;
37
- /** A resolved reference to a user (ADR 058 §3). Fields are role-named, not
38
- property-named, so responses can mix users from different schemas.
39
- `identifier` and `display` are resolved independently from the user
40
- schema's `x-identifier` and `x-display` designations, live at read time.
41
- Clients render `display`, falling back to `identifier`, then `user_id`.
42
- Missing or deleted users degrade to `user_id` only.
35
+ /** User bound by this grant. Always a user-ref (`user_id`, never `id`).
36
+ `expand: ["principal"]` adds the User envelope fields `schema`,
37
+ `attributes`, and `metadata` on this same object. Missing users degrade to
38
+ `user_id` only, with or without expand (ADR 059 grant exception).
43
39
  */
44
40
  user?: GetGrant200User;
45
- /** A resolved reference to a team. Carries the team's id and name so a grant
46
- list is readable without embedding the full Team body. Id and display ride
47
- `project.read` (ADR 059 rule 8): a reference field carrying only the
48
- target's id and display strings needs no gate of its own. Missing or
49
- deleted teams degrade to `team_id` only.
41
+ /** Team bound by this grant. Always a team-ref (`team_id`, never `id`).
42
+ `expand: ["principal"]` adds `status`, `created_at`, and `updated_at` on
43
+ this same object. Missing teams degrade to `team_id` only, with or without
44
+ expand (ADR 059 grant exception).
50
45
  */
51
46
  team?: GetGrant200Team;
52
- /** The principal named by `principal_id`, present only when the request
53
- asked for it with `expand: ["principal"]` (ADR 059). Absent means it
54
- was not requested; `null` means the principal cannot be loaded
55
- (deleted or missing). GET and create never set this field.
56
-
57
- When present, the body is the same representation `GET /users/{id}`
58
- serves for `principal_type=user`, or `GET /teams/{id}` for
59
- `principal_type=team`. Discriminate with the grant's existing
60
- `principal_type`.
61
-
62
- Requires `user.read` and `team.read` in addition to `project.read`.
63
- Both are checked on the whole request before the list.
64
- */
65
- readonly principal?: GetGrant200Principal;
66
47
  };
@@ -5,13 +5,13 @@
5
5
  * This is the next generation of the Zitadel identity platform.
6
6
  * OpenAPI spec version: 0.0.1
7
7
  */
8
+ import type { GetGrant200TeamStatus } from "./getGrant200TeamStatus";
8
9
 
9
10
  /**
10
- * A resolved reference to a team. Carries the team's id and name so a grant
11
- list is readable without embedding the full Team body. Id and display ride
12
- `project.read` (ADR 059 rule 8): a reference field carrying only the
13
- target's id and display strings needs no gate of its own. Missing or
14
- deleted teams degrade to `team_id` only.
11
+ * Team bound by this grant. Always a team-ref (`team_id`, never `id`).
12
+ `expand: ["principal"]` adds `status`, `created_at`, and `updated_at` on
13
+ this same object. Missing teams degrade to `team_id` only, with or without
14
+ expand (ADR 059 grant exception).
15
15
 
16
16
  */
17
17
  export type GetGrant200Team = {
@@ -19,4 +19,17 @@ export type GetGrant200Team = {
19
19
  team_id: string;
20
20
  /** The team's name. Absent when the team can no longer be loaded. */
21
21
  name?: string;
22
+ } & {
23
+ /** The lifecycle state of a team.
24
+
25
+ active: The team is available for use.
26
+ deactivated: The team is no longer active but is retained for historical and audit purposes.
27
+ */
28
+ status?: GetGrant200TeamStatus;
29
+ /** When the team was created. Present only when expand loaded the team.
30
+ */
31
+ created_at?: string;
32
+ /** When the team was last updated. Present only when expand loaded the team.
33
+ */
34
+ updated_at?: string;
22
35
  };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
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
+ * The lifecycle state of a team.
11
+
12
+ active: The team is available for use.
13
+ deactivated: The team is no longer active but is retained for historical and audit purposes.
14
+
15
+ */
16
+ export type GetGrant200TeamStatus =
17
+ (typeof GetGrant200TeamStatus)[keyof typeof GetGrant200TeamStatus];
18
+
19
+ export const GetGrant200TeamStatus = {
20
+ active: "active",
21
+ deactivated: "deactivated",
22
+ } as const;
@@ -5,14 +5,14 @@
5
5
  * This is the next generation of the Zitadel identity platform.
6
6
  * OpenAPI spec version: 0.0.1
7
7
  */
8
+ import type { GetGrant200UserAttributes } from "./getGrant200UserAttributes";
9
+ import type { GetGrant200UserMetadata } from "./getGrant200UserMetadata";
8
10
 
9
11
  /**
10
- * A resolved reference to a user (ADR 058 §3). Fields are role-named, not
11
- property-named, so responses can mix users from different schemas.
12
- `identifier` and `display` are resolved independently from the user
13
- schema's `x-identifier` and `x-display` designations, live at read time.
14
- Clients render `display`, falling back to `identifier`, then `user_id`.
15
- Missing or deleted users degrade to `user_id` only.
12
+ * User bound by this grant. Always a user-ref (`user_id`, never `id`).
13
+ `expand: ["principal"]` adds the User envelope fields `schema`,
14
+ `attributes`, and `metadata` on this same object. Missing users degrade to
15
+ `user_id` only, with or without expand (ADR 059 grant exception).
16
16
 
17
17
  */
18
18
  export type GetGrant200User = {
@@ -35,4 +35,14 @@ export type GetGrant200User = {
35
35
  carries no values for them.
36
36
  */
37
37
  display?: string;
38
+ } & {
39
+ /** The schema that defines `attributes`. Present only when the request
40
+ asked for `expand: ["principal"]` and the user could be loaded.
41
+ */
42
+ schema?: string;
43
+ /** The user's content, satisfying the schema named by `schema`. Property
44
+ names and types are determined entirely by that schema.
45
+ */
46
+ attributes?: GetGrant200UserAttributes;
47
+ metadata?: GetGrant200UserMetadata;
38
48
  };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
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
+ * The user's content, satisfying the schema named by `schema`. Property
11
+ names and types are determined entirely by that schema.
12
+
13
+ */
14
+ export type GetGrant200UserAttributes = { [key: string]: unknown };
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
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
+ import type { GetGrant200UserMetadataLifecycleOwnerTeam } from "./getGrant200UserMetadataLifecycleOwnerTeam";
9
+ import type { GetGrant200UserMetadataStatus } from "./getGrant200UserMetadataStatus";
10
+
11
+ export type GetGrant200UserMetadata = {
12
+ /** The time when the user was created. */
13
+ created_at: string;
14
+ /** The time when the user was last updated. */
15
+ updated_at: string;
16
+ /** The status of the user. */
17
+ status: GetGrant200UserMetadataStatus;
18
+ /** The team that owns this user's identity lifecycle, or `null` when the
19
+ user is self-owned. This is a single team and a different concept from
20
+ the user's team memberships: it decides who may deprovision the user, not
21
+ which teams the user collaborates in. Memberships are their own paginated
22
+ resource — `GET /users/{user_id}/teams`.
23
+ */
24
+ lifecycle_owner_team_id?: string | null;
25
+ /** The team named by `lifecycle_owner_team_id`, present only when the
26
+ request asked for it with `expand: ["lifecycle_owner_team"]` (ADR 059).
27
+ Absent means it was not requested; `null` means the user is self-owned
28
+ and there is no owner to resolve.
29
+
30
+ Requesting it does not guarantee it is present on every user. Today
31
+ `team.read` is checked once for the whole request, so it is; once that
32
+ check is per team, a page may contain a user whose owner the caller may
33
+ not read, and such a row answers with neither the team nor `null` —
34
+ `null` already means self-owned. What it answers with instead is decided
35
+ with the granular scopes (#420); do not read the two cases above as the
36
+ complete set.
37
+
38
+ This is the same representation `GET /teams/{team_id}` serves. It is a
39
+ single team, not a collection, so it carries no cap and no truncation
40
+ flag.
41
+ */
42
+ readonly lifecycle_owner_team?: GetGrant200UserMetadataLifecycleOwnerTeam;
43
+ };
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
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
+ * The team named by `lifecycle_owner_team_id`, present only when the
11
+ request asked for it with `expand: ["lifecycle_owner_team"]` (ADR 059).
12
+ Absent means it was not requested; `null` means the user is self-owned
13
+ and there is no owner to resolve.
14
+
15
+ Requesting it does not guarantee it is present on every user. Today
16
+ `team.read` is checked once for the whole request, so it is; once that
17
+ check is per team, a page may contain a user whose owner the caller may
18
+ not read, and such a row answers with neither the team nor `null` —
19
+ `null` already means self-owned. What it answers with instead is decided
20
+ with the granular scopes (#420); do not read the two cases above as the
21
+ complete set.
22
+
23
+ This is the same representation `GET /teams/{team_id}` serves. It is a
24
+ single team, not a collection, so it carries no cap and no truncation
25
+ flag.
26
+
27
+ */
28
+ export type GetGrant200UserMetadataLifecycleOwnerTeam = {
29
+ /** The unique identifier of the team. */
30
+ id: string;
31
+ /** The name of the team. */
32
+ name: string;
33
+ /** The lifecycle state of a team.
34
+
35
+ active: The team is available for use.
36
+ deactivated: The team is no longer active but is retained for historical and audit purposes.
37
+ */
38
+ status: "active" | "deactivated";
39
+ /** The time when the team was created. */
40
+ created_at: string;
41
+ /** The time when the team was last updated. */
42
+ updated_at: string;
43
+ } | null;