@zitadel/api 0.4.0 → 0.5.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 (715) hide show
  1. package/README.md +1 -1
  2. package/dist/{api-factory-C5b1Gqwv.mjs → api-factory-32Zz3s86.mjs} +8 -6
  3. package/dist/api-factory-32Zz3s86.mjs.map +1 -0
  4. package/dist/{api-factory-Dt5lUjyu.d.mts → api-factory-DbVEEqxe.d.mts} +8 -3
  5. package/dist/{api-factory-Dt5lUjyu.d.mts.map → api-factory-DbVEEqxe.d.mts.map} +1 -1
  6. package/dist/{fetch-B-lgjlrf.d.mts → fetch-BzLvdm6C.d.mts} +14 -1
  7. package/dist/fetch-BzLvdm6C.d.mts.map +1 -0
  8. package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.mjs +984 -625
  10. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +1 -1
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +9 -9
  13. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1024 -659
  15. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  16. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +4797 -4436
  17. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  18. package/dist/generated/model/index.d.mts +1 -1
  19. package/dist/generated/model/index.mjs.map +1 -1
  20. package/dist/generated/operations.d.mts +9 -0
  21. package/dist/generated/operations.d.mts.map +1 -1
  22. package/dist/generated/operations.mjs +266 -153
  23. package/dist/generated/operations.mjs.map +1 -1
  24. package/dist/{index-DGQY1rfH.d.mts → index-BX80Kl-8.d.mts} +9071 -7707
  25. package/dist/{index-DGQY1rfH.d.mts.map → index-BX80Kl-8.d.mts.map} +1 -1
  26. package/dist/runtime/api-factory.d.mts +1 -1
  27. package/dist/runtime/api-factory.mjs +1 -1
  28. package/dist/runtime/config.d.mts +1 -1
  29. package/dist/runtime/config.mjs +1 -1
  30. package/dist/runtime/fetch.d.mts +1 -1
  31. package/dist/runtime/fetch.mjs +1 -0
  32. package/dist/runtime/fetch.mjs.map +1 -1
  33. package/dist/runtime/paging.d.mts +106 -23
  34. package/dist/runtime/paging.d.mts.map +1 -1
  35. package/dist/runtime/paging.mjs +132 -32
  36. package/dist/runtime/paging.mjs.map +1 -1
  37. package/dist/zitadelNextGen-CFrFhq_h.d.mts +1726 -0
  38. package/dist/zitadelNextGen-CFrFhq_h.d.mts.map +1 -0
  39. package/package.json +3 -3
  40. package/src/generated/endpoints/zitadelNextGen.faker.ts +3 -3
  41. package/src/generated/endpoints/zitadelNextGen.ts +1009 -650
  42. package/src/generated/endpoints/zitadelNextGen.zod.ts +4812 -4443
  43. package/src/generated/model/addOrigin201.ts +5 -0
  44. package/src/generated/model/addOrigin201Kind.ts +3 -0
  45. package/src/generated/model/addOriginBody.ts +17 -5
  46. package/src/generated/model/addOriginBodyKind.ts +4 -0
  47. package/src/generated/model/beginUserPasskeyRegistration201.ts +3 -3
  48. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +6 -6
  49. package/src/generated/model/buildRelease200.ts +15 -15
  50. package/src/generated/model/buildRelease200Metadata.ts +8 -8
  51. package/src/generated/model/buildRelease200PointersItem.ts +13 -12
  52. package/src/generated/model/buildRelease200PointersItemKind.ts +3 -3
  53. package/src/generated/model/buildRelease201.ts +15 -15
  54. package/src/generated/model/buildRelease201Metadata.ts +8 -8
  55. package/src/generated/model/buildRelease201PointersItem.ts +13 -12
  56. package/src/generated/model/buildRelease201PointersItemKind.ts +3 -3
  57. package/src/generated/model/buildRelease400.ts +1 -3
  58. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +3 -3
  59. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +3 -3
  60. package/src/generated/model/buildReleaseBody.ts +19 -16
  61. package/src/generated/model/buildReleaseBodyBundle.ts +31 -28
  62. package/src/generated/model/buildReleaseBodyBundleBranding.ts +24 -22
  63. package/src/generated/model/buildReleaseBodyBundleBrandingLayout.ts +8 -7
  64. package/src/generated/model/buildReleaseBodyBundleBrandingShape.ts +1 -1
  65. package/src/generated/model/buildReleaseBodyBundleBrandingTheme.ts +5 -7
  66. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +7 -7
  67. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDarkPalette.ts +63 -62
  68. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +7 -7
  69. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLightPalette.ts +63 -62
  70. package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +4 -4
  71. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +47 -26
  72. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemAudience.ts +1 -1
  73. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +2 -2
  74. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItem.ts +46 -28
  75. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItem.ts +9 -7
  76. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemKind.ts +2 -2
  77. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +11 -10
  78. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -1
  79. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesKind.ts +4 -3
  80. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitions.ts +40 -20
  81. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsAction.ts +8 -5
  82. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsPurpose.ts +7 -8
  83. package/src/generated/model/buildReleaseBodyBundleIdpsItem.ts +7 -7
  84. package/src/generated/model/buildReleaseBodyBundleIdpsItemClaimMapping.ts +1 -1
  85. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidc.ts +7 -7
  86. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidcStaticAuthorizeParameters.ts +1 -1
  87. package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioning.ts +1 -1
  88. package/src/generated/model/buildReleaseBodyBundleIdpsItemVerifiedClaims.ts +1 -1
  89. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +3 -3
  90. package/src/generated/model/buildReleaseBodyBundleSchemasItem.ts +23 -22
  91. package/src/generated/model/buildReleaseParams.ts +3 -1
  92. package/src/generated/model/completeClaim409.ts +2 -2
  93. package/src/generated/model/completeClaimBody.ts +1 -1
  94. package/src/generated/model/createAuthAttempt201.ts +23 -22
  95. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +9 -7
  96. package/src/generated/model/createAuthAttempt201ChallengesItemState.ts +1 -1
  97. package/src/generated/model/createAuthAttempt201CompletedFactorsItem.ts +2 -2
  98. package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +5 -5
  99. package/src/generated/model/createAuthAttempt201State.ts +2 -2
  100. package/src/generated/model/createAuthAttemptBody.ts +3 -3
  101. package/src/generated/model/createAuthAttemptDefault.ts +63 -0
  102. package/src/generated/model/createBranding201.ts +10 -10
  103. package/src/generated/model/createBranding201Branding.ts +24 -22
  104. package/src/generated/model/createBranding201BrandingLayout.ts +8 -7
  105. package/src/generated/model/createBranding201BrandingShape.ts +1 -1
  106. package/src/generated/model/createBranding201BrandingTheme.ts +5 -7
  107. package/src/generated/model/createBranding201BrandingThemeDark.ts +7 -7
  108. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +63 -62
  109. package/src/generated/model/createBranding201BrandingThemeLight.ts +7 -7
  110. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +63 -62
  111. package/src/generated/model/createBranding201BrandingTypography.ts +4 -4
  112. package/src/generated/model/createBrandingBody.ts +24 -22
  113. package/src/generated/model/createBrandingBodyLayout.ts +8 -7
  114. package/src/generated/model/createBrandingBodyShape.ts +1 -1
  115. package/src/generated/model/createBrandingBodyTheme.ts +5 -7
  116. package/src/generated/model/createBrandingBodyThemeDark.ts +7 -7
  117. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +63 -62
  118. package/src/generated/model/createBrandingBodyThemeLight.ts +7 -7
  119. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +63 -62
  120. package/src/generated/model/createBrandingBodyTypography.ts +4 -4
  121. package/src/generated/model/createBrandingParams.ts +3 -1
  122. package/src/generated/model/createDeployment200.ts +16 -14
  123. package/src/generated/model/createDeployment200Metadata.ts +1 -1
  124. package/src/generated/model/createDeployment200Release.ts +15 -15
  125. package/src/generated/model/createDeployment200ReleaseMetadata.ts +8 -8
  126. package/src/generated/model/createDeployment200ReleasePointersItem.ts +13 -12
  127. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +3 -3
  128. package/src/generated/model/createDeployment200Status.ts +3 -3
  129. package/src/generated/model/createDeployment201.ts +16 -14
  130. package/src/generated/model/createDeployment201Metadata.ts +1 -1
  131. package/src/generated/model/createDeployment201Release.ts +15 -15
  132. package/src/generated/model/createDeployment201ReleaseMetadata.ts +8 -8
  133. package/src/generated/model/createDeployment201ReleasePointersItem.ts +13 -12
  134. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +3 -3
  135. package/src/generated/model/createDeployment201Status.ts +3 -3
  136. package/src/generated/model/createDeployment409.ts +41 -40
  137. package/src/generated/model/createDeploymentBody.ts +4 -10
  138. package/src/generated/model/createDeploymentParams.ts +3 -1
  139. package/src/generated/model/createFlow201.ts +16 -12
  140. package/src/generated/model/createFlow201Branding.ts +24 -22
  141. package/src/generated/model/createFlow201BrandingLayout.ts +8 -7
  142. package/src/generated/model/createFlow201BrandingShape.ts +1 -1
  143. package/src/generated/model/createFlow201BrandingTheme.ts +5 -7
  144. package/src/generated/model/createFlow201BrandingThemeDark.ts +7 -7
  145. package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +63 -62
  146. package/src/generated/model/createFlow201BrandingThemeLight.ts +7 -7
  147. package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +63 -62
  148. package/src/generated/model/createFlow201BrandingTypography.ts +4 -4
  149. package/src/generated/model/createFlow201Step.ts +36 -31
  150. package/src/generated/model/createFlow201StepActionsItem.ts +3 -3
  151. package/src/generated/model/createFlow201StepActionsItemKind.ts +1 -1
  152. package/src/generated/model/createFlow201StepChallenge.ts +4 -3
  153. package/src/generated/model/createFlow201StepComplete.ts +1 -1
  154. package/src/generated/model/createFlow201StepFieldsItem.ts +14 -13
  155. package/src/generated/model/createFlow201StepFieldsItemType.ts +1 -1
  156. package/src/generated/model/createFlow201StepFieldsItemValidation.ts +2 -2
  157. package/src/generated/model/createFlow201StepFieldsItemValidationFormat.ts +1 -1
  158. package/src/generated/model/createFlow201StepGates.ts +10 -8
  159. package/src/generated/model/createFlow201StepGatesConfig.ts +1 -1
  160. package/src/generated/model/createFlow201StepGatesKind.ts +4 -3
  161. package/src/generated/model/createFlow201StepIdentifier.ts +6 -6
  162. package/src/generated/model/createFlow201StepSsoProvidersItem.ts +1 -1
  163. package/src/generated/model/createFlow201StepTexts.ts +1 -1
  164. package/src/generated/model/createFlowBody.ts +7 -2
  165. package/src/generated/model/createFlowBodyHint.ts +4 -1
  166. package/src/generated/model/createFlowBodyPurpose.ts +3 -0
  167. package/src/generated/model/createFlowDefault.ts +9 -0
  168. package/src/generated/model/createFlowDefinition201.ts +22 -10
  169. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +47 -26
  170. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +1 -1
  171. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +2 -2
  172. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +46 -28
  173. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +9 -7
  174. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  175. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +11 -10
  176. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +1 -1
  177. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +4 -3
  178. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +40 -20
  179. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  180. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  181. package/src/generated/model/createFlowDefinition201UserSchema.ts +2 -2
  182. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +2 -1
  183. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +21 -20
  184. package/src/generated/model/createFlowDefinitionBody.ts +22 -12
  185. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +47 -26
  186. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +1 -1
  187. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +2 -2
  188. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +46 -28
  189. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +9 -7
  190. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  191. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +11 -10
  192. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +1 -1
  193. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +4 -3
  194. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +40 -20
  195. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  196. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  197. package/src/generated/model/createGrant201.ts +14 -14
  198. package/src/generated/model/createGrant201ObjectType.ts +1 -1
  199. package/src/generated/model/createGrant201Relation.ts +1 -1
  200. package/src/generated/model/createGrant201Team.ts +7 -7
  201. package/src/generated/model/createGrant201TeamStatus.ts +2 -2
  202. package/src/generated/model/createGrant201User.ts +5 -5
  203. package/src/generated/model/createGrant201UserMetadata.ts +10 -11
  204. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +11 -12
  205. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  206. package/src/generated/model/createGrantBody.ts +12 -12
  207. package/src/generated/model/createGrantBodyRelation.ts +1 -1
  208. package/src/generated/model/createGrantBodyTeam.ts +3 -3
  209. package/src/generated/model/createGrantBodyUser.ts +5 -5
  210. package/src/generated/model/createGrantDefault.ts +9 -0
  211. package/src/generated/model/createGrantParams.ts +3 -1
  212. package/src/generated/model/createHandoff200.ts +9 -10
  213. package/src/generated/model/createIdp200.ts +10 -9
  214. package/src/generated/model/createIdp200Definition.ts +7 -7
  215. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +1 -1
  216. package/src/generated/model/createIdp200DefinitionOidc.ts +7 -7
  217. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  218. package/src/generated/model/createIdp200DefinitionProvisioning.ts +1 -1
  219. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +1 -1
  220. package/src/generated/model/createIdp201.ts +10 -9
  221. package/src/generated/model/createIdp201Definition.ts +7 -7
  222. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +1 -1
  223. package/src/generated/model/createIdp201DefinitionOidc.ts +7 -7
  224. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  225. package/src/generated/model/createIdp201DefinitionProvisioning.ts +1 -1
  226. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +1 -1
  227. package/src/generated/model/createIdpBody.ts +1 -1
  228. package/src/generated/model/createIdpBodyIdp.ts +7 -7
  229. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +1 -1
  230. package/src/generated/model/createIdpBodyIdpOidc.ts +7 -7
  231. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +1 -1
  232. package/src/generated/model/createIdpBodyIdpProvisioning.ts +1 -1
  233. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +1 -1
  234. package/src/generated/model/createIdpParams.ts +3 -1
  235. package/src/generated/model/createProject201.ts +10 -5
  236. package/src/generated/model/createProject201OriginsItem.ts +17 -5
  237. package/src/generated/model/createProject201OriginsItemKind.ts +4 -0
  238. package/src/generated/model/createProjectBody.ts +5 -6
  239. package/src/generated/model/createProjectBodyOriginsItem.ts +17 -5
  240. package/src/generated/model/createProjectBodyOriginsItemKind.ts +4 -0
  241. package/src/generated/model/createRelease200.ts +15 -15
  242. package/src/generated/model/createRelease200Metadata.ts +8 -8
  243. package/src/generated/model/createRelease200PointersItem.ts +13 -12
  244. package/src/generated/model/createRelease200PointersItemKind.ts +3 -3
  245. package/src/generated/model/createRelease201.ts +15 -15
  246. package/src/generated/model/createRelease201Metadata.ts +8 -8
  247. package/src/generated/model/createRelease201PointersItem.ts +13 -12
  248. package/src/generated/model/createRelease201PointersItemKind.ts +3 -3
  249. package/src/generated/model/createReleaseBody.ts +7 -11
  250. package/src/generated/model/createReleaseBodyPointersItem.ts +8 -8
  251. package/src/generated/model/createReleaseBodyPointersItemKind.ts +3 -3
  252. package/src/generated/model/createReleaseParams.ts +3 -1
  253. package/src/generated/model/createSchema201.ts +1 -1
  254. package/src/generated/model/createSchemaBody.ts +23 -22
  255. package/src/generated/model/createSchemaParams.ts +4 -2
  256. package/src/generated/model/createSession201.ts +8 -8
  257. package/src/generated/model/createSession201Session.ts +16 -16
  258. package/src/generated/model/createSession201SessionFactorsItem.ts +2 -2
  259. package/src/generated/model/createSession201SessionFactorsItemPayload.ts +5 -5
  260. package/src/generated/model/createSession201SessionState.ts +1 -1
  261. package/src/generated/model/createSession201SessionUser.ts +5 -5
  262. package/src/generated/model/createSessionBody.ts +1 -1
  263. package/src/generated/model/createTeam201.ts +2 -2
  264. package/src/generated/model/createTeam201Status.ts +2 -2
  265. package/src/generated/model/createTeamBody.ts +1 -1
  266. package/src/generated/model/createTeamParams.ts +3 -1
  267. package/src/generated/model/createUser201.ts +28 -29
  268. package/src/generated/model/createUser201Metadata.ts +10 -11
  269. package/src/generated/model/createUser201MetadataLifecycleOwnerTeam.ts +11 -12
  270. package/src/generated/model/createUser201MetadataLifecycleOwnerTeamStatus.ts +2 -2
  271. package/src/generated/model/createUser201TeamsItem.ts +4 -4
  272. package/src/generated/model/createUserBody.ts +9 -8
  273. package/src/generated/model/createUserParams.ts +4 -2
  274. package/src/generated/model/deleteGrantParams.ts +3 -1
  275. package/src/generated/model/deleteVariableParams.ts +3 -1
  276. package/src/generated/model/evaluatePolicy200.ts +5 -4
  277. package/src/generated/model/evaluatePolicy200Violations.ts +4 -3
  278. package/src/generated/model/evaluatePolicyBody.ts +8 -9
  279. package/src/generated/model/evaluatePolicyParams.ts +3 -1
  280. package/src/generated/model/exchangeHandoff200.ts +8 -8
  281. package/src/generated/model/exchangeHandoff200Session.ts +16 -16
  282. package/src/generated/model/exchangeHandoff200SessionFactorsItem.ts +2 -2
  283. package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +5 -5
  284. package/src/generated/model/exchangeHandoff200SessionState.ts +1 -1
  285. package/src/generated/model/exchangeHandoff200SessionUser.ts +5 -5
  286. package/src/generated/model/exchangeHandoffBody.ts +7 -5
  287. package/src/generated/model/exchangeHandoffParams.ts +3 -1
  288. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +1 -1
  289. package/src/generated/model/getAuthAttempt200.ts +23 -22
  290. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +9 -7
  291. package/src/generated/model/getAuthAttempt200ChallengesItemState.ts +1 -1
  292. package/src/generated/model/getAuthAttempt200CompletedFactorsItem.ts +2 -2
  293. package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +5 -5
  294. package/src/generated/model/getAuthAttempt200State.ts +2 -2
  295. package/src/generated/model/getBrandingById200.ts +10 -10
  296. package/src/generated/model/getBrandingById200Branding.ts +24 -22
  297. package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -7
  298. package/src/generated/model/getBrandingById200BrandingShape.ts +1 -1
  299. package/src/generated/model/getBrandingById200BrandingTheme.ts +5 -7
  300. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +7 -7
  301. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +63 -62
  302. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +7 -7
  303. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +63 -62
  304. package/src/generated/model/getBrandingById200BrandingTypography.ts +4 -4
  305. package/src/generated/model/getClaimStatus200.ts +4 -5
  306. package/src/generated/model/getClaimStatusParams.ts +1 -1
  307. package/src/generated/model/getClaimWindow200.ts +6 -6
  308. package/src/generated/model/getClaimWindowParams.ts +1 -1
  309. package/src/generated/model/getDeploymentById200.ts +16 -14
  310. package/src/generated/model/getDeploymentById200Metadata.ts +1 -1
  311. package/src/generated/model/getDeploymentById200Release.ts +15 -15
  312. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +8 -8
  313. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +13 -12
  314. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +3 -3
  315. package/src/generated/model/getDeploymentById200Status.ts +3 -3
  316. package/src/generated/model/getDeploymentByIdParams.ts +3 -1
  317. package/src/generated/model/getDeploymentVariablesParams.ts +3 -1
  318. package/src/generated/model/getEvent200.ts +1574 -1323
  319. package/src/generated/model/getEventParams.ts +3 -1
  320. package/src/generated/model/getFlowDefinition200.ts +22 -10
  321. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +47 -26
  322. package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +1 -1
  323. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +2 -2
  324. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +46 -28
  325. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +9 -7
  326. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  327. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +11 -10
  328. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -1
  329. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +4 -3
  330. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +40 -20
  331. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  332. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  333. package/src/generated/model/getFlowDefinition200UserSchema.ts +2 -2
  334. package/src/generated/model/getFlowDefinition200UserSchemaMetadata.ts +2 -1
  335. package/src/generated/model/getFlowDefinition200UserSchemaSchema.ts +21 -20
  336. package/src/generated/model/getFlowStep200.ts +16 -12
  337. package/src/generated/model/getFlowStep200Branding.ts +24 -22
  338. package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -7
  339. package/src/generated/model/getFlowStep200BrandingShape.ts +1 -1
  340. package/src/generated/model/getFlowStep200BrandingTheme.ts +5 -7
  341. package/src/generated/model/getFlowStep200BrandingThemeDark.ts +7 -7
  342. package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +63 -62
  343. package/src/generated/model/getFlowStep200BrandingThemeLight.ts +7 -7
  344. package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +63 -62
  345. package/src/generated/model/getFlowStep200BrandingTypography.ts +4 -4
  346. package/src/generated/model/getFlowStep200Step.ts +36 -31
  347. package/src/generated/model/getFlowStep200StepActionsItem.ts +3 -3
  348. package/src/generated/model/getFlowStep200StepActionsItemKind.ts +1 -1
  349. package/src/generated/model/getFlowStep200StepChallenge.ts +4 -3
  350. package/src/generated/model/getFlowStep200StepComplete.ts +1 -1
  351. package/src/generated/model/getFlowStep200StepFieldsItem.ts +14 -13
  352. package/src/generated/model/getFlowStep200StepFieldsItemType.ts +1 -1
  353. package/src/generated/model/getFlowStep200StepFieldsItemValidation.ts +2 -2
  354. package/src/generated/model/getFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  355. package/src/generated/model/getFlowStep200StepGates.ts +10 -8
  356. package/src/generated/model/getFlowStep200StepGatesConfig.ts +1 -1
  357. package/src/generated/model/getFlowStep200StepGatesKind.ts +4 -3
  358. package/src/generated/model/getFlowStep200StepIdentifier.ts +6 -6
  359. package/src/generated/model/getFlowStep200StepSsoProvidersItem.ts +1 -1
  360. package/src/generated/model/getFlowStep200StepTexts.ts +1 -1
  361. package/src/generated/model/getFlowStepDefault.ts +18 -0
  362. package/src/generated/model/getGrant200.ts +14 -14
  363. package/src/generated/model/getGrant200ObjectType.ts +1 -1
  364. package/src/generated/model/getGrant200Relation.ts +1 -1
  365. package/src/generated/model/getGrant200Team.ts +7 -7
  366. package/src/generated/model/getGrant200TeamStatus.ts +2 -2
  367. package/src/generated/model/getGrant200User.ts +5 -5
  368. package/src/generated/model/getGrant200UserMetadata.ts +10 -11
  369. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +11 -12
  370. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  371. package/src/generated/model/getGrantDefault.ts +0 -9
  372. package/src/generated/model/getGrantExpandItem.ts +8 -5
  373. package/src/generated/model/getGrantParams.ts +6 -3
  374. package/src/generated/model/getIdpById200.ts +10 -9
  375. package/src/generated/model/getIdpById200Definition.ts +7 -7
  376. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +1 -1
  377. package/src/generated/model/getIdpById200DefinitionOidc.ts +7 -7
  378. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  379. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +1 -1
  380. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +1 -1
  381. package/src/generated/model/getIdpByIdParams.ts +3 -1
  382. package/src/generated/model/getIdpRevisionById200.ts +10 -9
  383. package/src/generated/model/getIdpRevisionById200Definition.ts +7 -7
  384. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +1 -1
  385. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +7 -7
  386. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  387. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +1 -1
  388. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +1 -1
  389. package/src/generated/model/getIdpRevisionByIdParams.ts +3 -1
  390. package/src/generated/model/getMyPasswordState200.ts +2 -2
  391. package/src/generated/model/getMySession200.ts +16 -16
  392. package/src/generated/model/getMySession200FactorsItem.ts +2 -2
  393. package/src/generated/model/getMySession200FactorsItemPayload.ts +5 -5
  394. package/src/generated/model/getMySession200State.ts +1 -1
  395. package/src/generated/model/getMySession200User.ts +5 -5
  396. package/src/generated/model/getMySessionCsrfToken200.ts +1 -1
  397. package/src/generated/model/getMyUser200.ts +28 -29
  398. package/src/generated/model/getMyUser200Metadata.ts +10 -11
  399. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  400. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  401. package/src/generated/model/getMyUser200TeamsItem.ts +4 -4
  402. package/src/generated/model/getMyUserSchema200.ts +4 -4
  403. package/src/generated/model/getMyUserSchema200Metadata.ts +2 -1
  404. package/src/generated/model/getMyUserSchema200Schema.ts +21 -20
  405. package/src/generated/model/getPolicy200.ts +3 -3
  406. package/src/generated/model/getPolicyParams.ts +3 -1
  407. package/src/generated/model/getPolicyRevision200.ts +3 -3
  408. package/src/generated/model/getPolicyRevisionParams.ts +3 -1
  409. package/src/generated/model/getProject200.ts +34 -30
  410. package/src/generated/model/getReleaseById200.ts +15 -15
  411. package/src/generated/model/getReleaseById200Metadata.ts +8 -8
  412. package/src/generated/model/getReleaseById200PointersItem.ts +13 -12
  413. package/src/generated/model/getReleaseById200PointersItemKind.ts +3 -3
  414. package/src/generated/model/getReleaseByIdParams.ts +3 -1
  415. package/src/generated/model/getSchemaById200.ts +4 -4
  416. package/src/generated/model/getSchemaById200Metadata.ts +2 -1
  417. package/src/generated/model/getSchemaById200Schema.ts +21 -20
  418. package/src/generated/model/getSchemaByIdParams.ts +3 -3
  419. package/src/generated/model/getSession200.ts +16 -16
  420. package/src/generated/model/getSession200FactorsItem.ts +2 -2
  421. package/src/generated/model/getSession200FactorsItemPayload.ts +5 -5
  422. package/src/generated/model/getSession200State.ts +1 -1
  423. package/src/generated/model/getSession200User.ts +5 -5
  424. package/src/generated/model/getTeam200.ts +2 -2
  425. package/src/generated/model/getTeam200Status.ts +2 -2
  426. package/src/generated/model/getUserByID200.ts +28 -29
  427. package/src/generated/model/getUserByID200Metadata.ts +10 -11
  428. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  429. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  430. package/src/generated/model/getUserByID200TeamsItem.ts +4 -4
  431. package/src/generated/model/getUserByIDParams.ts +4 -3
  432. package/src/generated/model/getUserPasswordState200.ts +2 -2
  433. package/src/generated/model/getVariable200.ts +4 -4
  434. package/src/generated/model/getVariable200Preview.ts +2 -2
  435. package/src/generated/model/getVariable200Primary.ts +2 -2
  436. package/src/generated/model/getVariableParams.ts +3 -1
  437. package/src/generated/model/getVariables200.ts +4 -4
  438. package/src/generated/model/getVariables200Preview.ts +2 -2
  439. package/src/generated/model/getVariables200Primary.ts +2 -2
  440. package/src/generated/model/getVariablesParams.ts +3 -1
  441. package/src/generated/model/initClaim201.ts +3 -3
  442. package/src/generated/model/initClaim409.ts +2 -2
  443. package/src/generated/model/issueChallenge201.ts +9 -7
  444. package/src/generated/model/issueChallenge201State.ts +1 -1
  445. package/src/generated/model/issueChallengeBody.ts +2 -2
  446. package/src/generated/model/listBrandingParams.ts +3 -1
  447. package/src/generated/model/listDeployments200DeploymentsItem.ts +16 -14
  448. package/src/generated/model/listDeployments200DeploymentsItemMetadata.ts +1 -1
  449. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +15 -15
  450. package/src/generated/model/listDeployments200DeploymentsItemReleaseMetadata.ts +8 -8
  451. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +13 -12
  452. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +3 -3
  453. package/src/generated/model/listDeployments200DeploymentsItemStatus.ts +3 -3
  454. package/src/generated/model/listDeploymentsExpandItem.ts +4 -4
  455. package/src/generated/model/listDeploymentsParams.ts +3 -1
  456. package/src/generated/model/listEvents200.ts +1 -1
  457. package/src/generated/model/listEvents200DataItem.ts +1574 -1323
  458. package/src/generated/model/listEventsParams.ts +34 -6
  459. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +22 -10
  460. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +47 -26
  461. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionAudience.ts +1 -1
  462. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +2 -2
  463. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +46 -28
  464. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +9 -7
  465. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  466. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +11 -10
  467. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -1
  468. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesKind.ts +4 -3
  469. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitions.ts +40 -20
  470. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  471. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  472. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +2 -2
  473. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaMetadata.ts +2 -1
  474. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaSchema.ts +21 -20
  475. package/src/generated/model/listFlowDefinitionsExpandItem.ts +2 -2
  476. package/src/generated/model/listFlowDefinitionsParams.ts +8 -6
  477. package/src/generated/model/listIdpRevisions200.ts +1 -2
  478. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +10 -9
  479. package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +7 -7
  480. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +1 -1
  481. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +7 -7
  482. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  483. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +1 -1
  484. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +1 -1
  485. package/src/generated/model/listIdpRevisionsParams.ts +3 -1
  486. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +2 -2
  487. package/src/generated/model/listMyProjects200.ts +1 -1
  488. package/src/generated/model/listMyProjects200ProjectsItem.ts +2 -3
  489. package/src/generated/model/listMyProjects200ProjectsItemOriginsItem.ts +17 -5
  490. package/src/generated/model/listMyProjects200ProjectsItemOriginsItemKind.ts +4 -0
  491. package/src/generated/model/listMyProjects200ProjectsItemPasswordHash.ts +12 -15
  492. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  493. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParams.ts +15 -18
  494. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  495. package/src/generated/model/listMyTeams200TeamsItem.ts +4 -4
  496. package/src/generated/model/listPolicies200.ts +2 -2
  497. package/src/generated/model/listPolicies200PoliciesItem.ts +3 -3
  498. package/src/generated/model/listPoliciesParams.ts +3 -1
  499. package/src/generated/model/listPolicyRevisions200.ts +1 -1
  500. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +3 -3
  501. package/src/generated/model/listPolicyRevisionsParams.ts +3 -1
  502. package/src/generated/model/listPreviews200PreviewsItem.ts +4 -5
  503. package/src/generated/model/listProjectAdmins200AdminsItem.ts +3 -3
  504. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +13 -15
  505. package/src/generated/model/listProjectAdmins200AdminsItemUser.ts +5 -5
  506. package/src/generated/model/listReleases200.ts +1 -1
  507. package/src/generated/model/listReleases200ReleasesItem.ts +4 -4
  508. package/src/generated/model/listReleases200ReleasesItemMetadata.ts +8 -8
  509. package/src/generated/model/listReleasesParams.ts +4 -2
  510. package/src/generated/model/listSchemas200.ts +1 -1
  511. package/src/generated/model/listSchemas200SchemasItem.ts +4 -4
  512. package/src/generated/model/listSchemas200SchemasItemMetadata.ts +2 -1
  513. package/src/generated/model/listSchemas200SchemasItemSchema.ts +21 -20
  514. package/src/generated/model/listSchemasExpandItem.ts +2 -2
  515. package/src/generated/model/listSchemasParams.ts +7 -5
  516. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +2 -2
  517. package/src/generated/model/listUserTeams200TeamsItem.ts +4 -4
  518. package/src/generated/model/patchMyUser200.ts +28 -29
  519. package/src/generated/model/patchMyUser200Metadata.ts +10 -11
  520. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  521. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  522. package/src/generated/model/patchMyUser200TeamsItem.ts +4 -4
  523. package/src/generated/model/patchMyUserBody.ts +2 -2
  524. package/src/generated/model/patchProject200.ts +34 -30
  525. package/src/generated/model/patchProjectBody.ts +3 -3
  526. package/src/generated/model/patchProjectBodyPasswordHash.ts +15 -18
  527. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +1 -1
  528. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +15 -18
  529. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +4 -4
  530. package/src/generated/model/patchUserByID200.ts +28 -29
  531. package/src/generated/model/patchUserByID200Metadata.ts +10 -11
  532. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  533. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  534. package/src/generated/model/patchUserByID200TeamsItem.ts +4 -4
  535. package/src/generated/model/patchUserByIDBody.ts +21 -13
  536. package/src/generated/model/publishPolicy201.ts +3 -3
  537. package/src/generated/model/publishPolicyBody.ts +3 -3
  538. package/src/generated/model/publishPolicyParams.ts +3 -1
  539. package/src/generated/model/queryGrants200GrantsItem.ts +14 -14
  540. package/src/generated/model/queryGrants200GrantsItemObjectType.ts +1 -1
  541. package/src/generated/model/queryGrants200GrantsItemRelation.ts +1 -1
  542. package/src/generated/model/queryGrants200GrantsItemTeam.ts +7 -7
  543. package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +2 -2
  544. package/src/generated/model/queryGrants200GrantsItemUser.ts +5 -5
  545. package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +10 -11
  546. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +11 -12
  547. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  548. package/src/generated/model/queryGrantsBody.ts +2 -3
  549. package/src/generated/model/queryGrantsBodyExpandItem.ts +8 -5
  550. package/src/generated/model/queryGrantsBodyFilterItem.ts +3 -5
  551. package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +1 -2
  552. package/src/generated/model/queryGrantsDefault.ts +0 -9
  553. package/src/generated/model/queryGrantsParams.ts +3 -1
  554. package/src/generated/model/queryIdps200.ts +1 -1
  555. package/src/generated/model/queryIdps200IdpsItem.ts +10 -9
  556. package/src/generated/model/queryIdps200IdpsItemDefinition.ts +7 -7
  557. package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +1 -1
  558. package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +7 -7
  559. package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  560. package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +1 -1
  561. package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +1 -1
  562. package/src/generated/model/queryIdpsBody.ts +2 -2
  563. package/src/generated/model/queryIdpsBodyFilterItem.ts +5 -7
  564. package/src/generated/model/queryIdpsBodyFilterItemField.ts +2 -2
  565. package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +1 -2
  566. package/src/generated/model/queryIdpsBodySorting.ts +2 -2
  567. package/src/generated/model/queryIdpsBodySortingField.ts +2 -2
  568. package/src/generated/model/queryIdpsParams.ts +3 -1
  569. package/src/generated/model/queryProjects200ProjectsItem.ts +2 -3
  570. package/src/generated/model/queryProjects200ProjectsItemOriginsItem.ts +17 -5
  571. package/src/generated/model/queryProjects200ProjectsItemOriginsItemKind.ts +4 -0
  572. package/src/generated/model/queryProjects200ProjectsItemPasswordHash.ts +12 -15
  573. package/src/generated/model/queryProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  574. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParams.ts +15 -18
  575. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  576. package/src/generated/model/queryProjectsBodyFilterItem.ts +3 -5
  577. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +1 -2
  578. package/src/generated/model/querySessions200SessionsItem.ts +16 -16
  579. package/src/generated/model/querySessions200SessionsItemFactorsItem.ts +2 -2
  580. package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +5 -5
  581. package/src/generated/model/querySessions200SessionsItemState.ts +1 -1
  582. package/src/generated/model/querySessions200SessionsItemUser.ts +5 -5
  583. package/src/generated/model/querySessionsBodyFilterItem.ts +4 -6
  584. package/src/generated/model/querySessionsBodyFilterItemField.ts +1 -1
  585. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +1 -2
  586. package/src/generated/model/querySessionsBodySorting.ts +2 -3
  587. package/src/generated/model/querySessionsBodySortingField.ts +2 -3
  588. package/src/generated/model/querySessionsParams.ts +3 -1
  589. package/src/generated/model/queryTeams200TeamsItem.ts +2 -2
  590. package/src/generated/model/queryTeams200TeamsItemStatus.ts +2 -2
  591. package/src/generated/model/queryTeamsBodyFilterItem.ts +3 -5
  592. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +1 -2
  593. package/src/generated/model/queryTeamsParams.ts +2 -2
  594. package/src/generated/model/queryUsers200UsersItem.ts +28 -29
  595. package/src/generated/model/queryUsers200UsersItemMetadata.ts +10 -11
  596. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeam.ts +11 -12
  597. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeamStatus.ts +2 -2
  598. package/src/generated/model/queryUsers200UsersItemTeamsItem.ts +4 -4
  599. package/src/generated/model/queryUsersBody.ts +2 -2
  600. package/src/generated/model/queryUsersBodyExpandItem.ts +8 -8
  601. package/src/generated/model/queryUsersBodyFilterItem.ts +13 -16
  602. package/src/generated/model/queryUsersBodyFilterItemField.ts +10 -11
  603. package/src/generated/model/queryUsersBodyFilterItemOperation.ts +1 -2
  604. package/src/generated/model/queryUsersBodySorting.ts +4 -5
  605. package/src/generated/model/queryUsersBodySortingField.ts +4 -5
  606. package/src/generated/model/queryUsersParams.ts +2 -2
  607. package/src/generated/model/removeOriginBody.ts +2 -2
  608. package/src/generated/model/revokeRelease200.ts +15 -15
  609. package/src/generated/model/revokeRelease200Metadata.ts +8 -8
  610. package/src/generated/model/revokeRelease200PointersItem.ts +13 -12
  611. package/src/generated/model/revokeRelease200PointersItemKind.ts +3 -3
  612. package/src/generated/model/revokeReleaseParams.ts +3 -1
  613. package/src/generated/model/rollbackDeployment200.ts +16 -14
  614. package/src/generated/model/rollbackDeployment200Metadata.ts +1 -1
  615. package/src/generated/model/rollbackDeployment200Release.ts +15 -15
  616. package/src/generated/model/rollbackDeployment200ReleaseMetadata.ts +8 -8
  617. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +13 -12
  618. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +3 -3
  619. package/src/generated/model/rollbackDeployment200Status.ts +3 -3
  620. package/src/generated/model/rollbackDeployment201.ts +16 -14
  621. package/src/generated/model/rollbackDeployment201Metadata.ts +1 -1
  622. package/src/generated/model/rollbackDeployment201Release.ts +15 -15
  623. package/src/generated/model/rollbackDeployment201ReleaseMetadata.ts +8 -8
  624. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +13 -12
  625. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +3 -3
  626. package/src/generated/model/rollbackDeployment201Status.ts +3 -3
  627. package/src/generated/model/rollbackDeployment409.ts +41 -40
  628. package/src/generated/model/rollbackDeploymentParams.ts +3 -1
  629. package/src/generated/model/setUserPasswordBody.ts +1 -1
  630. package/src/generated/model/setUserPasswordDefault.ts +63 -0
  631. package/src/generated/model/submitFlowStep200.ts +16 -12
  632. package/src/generated/model/submitFlowStep200Branding.ts +24 -22
  633. package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -7
  634. package/src/generated/model/submitFlowStep200BrandingShape.ts +1 -1
  635. package/src/generated/model/submitFlowStep200BrandingTheme.ts +5 -7
  636. package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +7 -7
  637. package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +63 -62
  638. package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +7 -7
  639. package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +63 -62
  640. package/src/generated/model/submitFlowStep200BrandingTypography.ts +4 -4
  641. package/src/generated/model/submitFlowStep200Step.ts +36 -31
  642. package/src/generated/model/submitFlowStep200StepActionsItem.ts +3 -3
  643. package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +1 -1
  644. package/src/generated/model/submitFlowStep200StepChallenge.ts +4 -3
  645. package/src/generated/model/submitFlowStep200StepComplete.ts +1 -1
  646. package/src/generated/model/submitFlowStep200StepFieldsItem.ts +14 -13
  647. package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +1 -1
  648. package/src/generated/model/submitFlowStep200StepFieldsItemValidation.ts +2 -2
  649. package/src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  650. package/src/generated/model/submitFlowStep200StepGates.ts +10 -8
  651. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +1 -1
  652. package/src/generated/model/submitFlowStep200StepGatesKind.ts +4 -3
  653. package/src/generated/model/submitFlowStep200StepIdentifier.ts +6 -6
  654. package/src/generated/model/submitFlowStep200StepSsoProvidersItem.ts +1 -1
  655. package/src/generated/model/submitFlowStep200StepTexts.ts +1 -1
  656. package/src/generated/model/submitFlowStep400.ts +16 -12
  657. package/src/generated/model/submitFlowStep400Branding.ts +24 -22
  658. package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -7
  659. package/src/generated/model/submitFlowStep400BrandingShape.ts +1 -1
  660. package/src/generated/model/submitFlowStep400BrandingTheme.ts +5 -7
  661. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +7 -7
  662. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +63 -62
  663. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +7 -7
  664. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +63 -62
  665. package/src/generated/model/submitFlowStep400BrandingTypography.ts +4 -4
  666. package/src/generated/model/submitFlowStep400Step.ts +36 -31
  667. package/src/generated/model/submitFlowStep400StepActionsItem.ts +3 -3
  668. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +1 -1
  669. package/src/generated/model/submitFlowStep400StepChallenge.ts +4 -3
  670. package/src/generated/model/submitFlowStep400StepComplete.ts +1 -1
  671. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +14 -13
  672. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +1 -1
  673. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +2 -2
  674. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +1 -1
  675. package/src/generated/model/submitFlowStep400StepGates.ts +10 -8
  676. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +1 -1
  677. package/src/generated/model/submitFlowStep400StepGatesKind.ts +4 -3
  678. package/src/generated/model/submitFlowStep400StepIdentifier.ts +6 -6
  679. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +1 -1
  680. package/src/generated/model/submitFlowStep400StepTexts.ts +1 -1
  681. package/src/generated/model/submitFlowStepBody.ts +10 -7
  682. package/src/generated/model/submitFlowStepBodyChallengeResponse.ts +2 -2
  683. package/src/generated/model/submitFlowStepBodyGateProofs.ts +1 -1
  684. package/src/generated/model/submitFlowStepDefault.ts +18 -0
  685. package/src/generated/model/updateTeam200.ts +2 -2
  686. package/src/generated/model/updateTeam200Status.ts +2 -2
  687. package/src/generated/model/updateTeamBody.ts +1 -1
  688. package/src/generated/model/updateVariables200.ts +4 -4
  689. package/src/generated/model/updateVariables200Preview.ts +2 -2
  690. package/src/generated/model/updateVariables200Primary.ts +2 -2
  691. package/src/generated/model/updateVariablesBody.ts +14 -14
  692. package/src/generated/model/updateVariablesParams.ts +3 -1
  693. package/src/generated/model/userProperty.ts +5 -8
  694. package/src/generated/model/userPropertyProperties.ts +2 -2
  695. package/src/generated/model/userPropertyXUnique.ts +1 -1
  696. package/src/generated/model/verifyChallengeProof200.ts +23 -22
  697. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +9 -7
  698. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +1 -1
  699. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +2 -2
  700. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +5 -5
  701. package/src/generated/model/verifyChallengeProof200State.ts +2 -2
  702. package/src/generated/model/verifyChallengeProofBody.ts +2 -2
  703. package/src/generated/operations.ts +277 -152
  704. package/src/runtime/api-factory.spec.ts +50 -0
  705. package/src/runtime/api-factory.ts +11 -2
  706. package/src/runtime/base-url.spec.ts +1 -1
  707. package/src/runtime/fetch.ts +16 -0
  708. package/src/runtime/paged.spec.ts +11 -0
  709. package/src/runtime/paged.ts +9 -8
  710. package/src/runtime/paging.spec.ts +164 -39
  711. package/src/runtime/paging.ts +162 -43
  712. package/dist/api-factory-C5b1Gqwv.mjs.map +0 -1
  713. package/dist/fetch-B-lgjlrf.d.mts.map +0 -1
  714. package/dist/zitadelNextGen-BVO4sdKD.d.mts +0 -1367
  715. package/dist/zitadelNextGen-BVO4sdKD.d.mts.map +0 -1
@@ -9,26 +9,28 @@ import type { GetFlowStep200StepGatesConfig } from './getFlowStep200StepGatesCon
9
9
  import type { GetFlowStep200StepGatesKind } from './getFlowStep200StepGatesKind.ts';
10
10
 
11
11
  /**
12
- * Security gates that must be satisfied before the step can be submitted.
13
- * The engine injects gates dynamically based on policy, even if they
12
+ * Security gates, the security checks that must be satisfied before the
13
+ * step can be submitted.
14
+ * The server injects gates dynamically based on policy, even if they
14
15
  * are not declared in the flow definition.
15
16
  */
16
17
  export type GetFlowStep200StepGates = {[key: string]: {
17
18
  /**
18
- * The gate category. Only `captcha` is currently defined. Authenticator
19
- * ceremonies (e.g. passkey) are modelled as credential auth_attempts via
20
- * `x-credential` on a field, not as gates.
19
+ * The gate category. Only `captcha` is defined today. Authenticator
20
+ * ceremonies, such as passkey, are not gates: they are modeled as
21
+ * credential authentication attempts (`auth_attempts`) with `x-credential`
22
+ * on a field.
21
23
  */
22
24
  kind: GetFlowStep200StepGatesKind;
23
25
  /**
24
- * Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
25
- * `hcaptcha`. The engine looks up an implementation in its provider
26
+ * The provider within the gate kind, for example `altcha`, `turnstile` or
27
+ * `hcaptcha`. The server looks up an implementation in its provider
26
28
  * registry.
27
29
  */
28
30
  provider: string;
29
31
  /**
30
32
  * Provider-specific configuration consumed by the implementation when
31
- * issuing the per-render challenge. Opaque to the engine.
33
+ * issuing the per-render challenge. Opaque to the server.
32
34
  */
33
35
  config?: GetFlowStep200StepGatesConfig;
34
36
  }};
@@ -8,6 +8,6 @@
8
8
 
9
9
  /**
10
10
  * Provider-specific configuration consumed by the implementation when
11
- * issuing the per-render challenge. Opaque to the engine.
11
+ * issuing the per-render challenge. Opaque to the server.
12
12
  */
13
13
  export type GetFlowStep200StepGatesConfig = { [key: string]: unknown };
@@ -7,9 +7,10 @@
7
7
  */
8
8
 
9
9
  /**
10
- * The gate category. Only `captcha` is currently defined. Authenticator
11
- * ceremonies (e.g. passkey) are modelled as credential auth_attempts via
12
- * `x-credential` on a field, not as gates.
10
+ * The gate category. Only `captcha` is defined today. Authenticator
11
+ * ceremonies, such as passkey, are not gates: they are modeled as
12
+ * credential authentication attempts (`auth_attempts`) with `x-credential`
13
+ * on a field.
13
14
  */
14
15
  export type GetFlowStep200StepGatesKind = typeof GetFlowStep200StepGatesKind[keyof typeof GetFlowStep200StepGatesKind];
15
16
 
@@ -10,26 +10,26 @@
10
10
  * The user's identifier, collected on an earlier step, for this
11
11
  * step's form to carry alongside the password. Present only when the
12
12
  * step collects a password and does not itself collect the
13
- * identifier — a step that collects the identifier carries it in
13
+ * identifier: a step that collects the identifier carries it in
14
14
  * `fields` instead, and needs nothing here.
15
15
  *
16
16
  * A password manager saves an identifier and a password as one
17
17
  * credential, and reads both from the same form. A step that
18
18
  * collects only the password leaves it nothing to pair with, so the
19
- * engine hands the identifier back here.
19
+ * server hands the identifier back here.
20
20
  *
21
21
  * **What the client does with it.** Add one input to the same form
22
22
  * element as the password, carrying `value` and `autocomplete` as
23
23
  * given, and:
24
24
  *
25
- * - *with no `name`* — a control without a name is never submitted,
25
+ * - *with no `name`*: a control without a name is never submitted,
26
26
  * so the form data stays exactly the step's `fields`. That is what
27
- * keeps this input from reaching the engine as an unknown field,
27
+ * keeps this input from reaching the server as an unknown field,
28
28
  * whether the client builds its submission from `fields` or from
29
29
  * whatever the form contains;
30
- * - *read-only* — the engine already resolved the user from this
30
+ * - *read-only*: the server already resolved the user from this
31
31
  * value, so a changed one would not change who is signing in;
32
- * - *hidden from view* — the user supplied it on the previous step
32
+ * - *hidden from view*: the user supplied it on the previous step
33
33
  * and is not being asked for it again. Prefer hiding a real input
34
34
  * with CSS over `type="hidden"`: a manager looks for a
35
35
  * credential-shaped control, and a hidden-typed input is easy to
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  /**
10
- * An available SSO identity provider.
10
+ * An identity provider (an external sign-in such as Google) that a step offers.
11
11
  */
12
12
  export type GetFlowStep200StepSsoProvidersItem = {
13
13
  /** Provider instance identifier. */
@@ -8,7 +8,7 @@
8
8
 
9
9
  /**
10
10
  * Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.
11
- * The backend never sends display text — only semantic keys.
11
+ * The server never sends display text, only semantic keys.
12
12
  */
13
13
  export type GetFlowStep200StepTexts = {
14
14
  /** Localization key for the step heading. */
@@ -157,6 +157,15 @@ export type GetFlowStepDefault = {
157
157
  message: string;
158
158
  /** Additional error-specific context. */
159
159
  details?: { [key: string]: unknown };
160
+ } & {
161
+ code: 'flow.sso_user_schema_mismatch';
162
+ } | {
163
+ /** Stable machine-readable error code. */
164
+ code: string;
165
+ /** Human-readable explanation of the error. */
166
+ message: string;
167
+ /** Additional error-specific context. */
168
+ details?: { [key: string]: unknown };
160
169
  } & {
161
170
  code: 'flow.unsupported';
162
171
  } | {
@@ -247,6 +256,15 @@ export type GetFlowStepDefault = {
247
256
  message: string;
248
257
  /** Additional error-specific context. */
249
258
  details?: { [key: string]: unknown };
259
+ } & {
260
+ code: 'rel.not_deployed';
261
+ } | {
262
+ /** Stable machine-readable error code. */
263
+ code: string;
264
+ /** Human-readable explanation of the error. */
265
+ message: string;
266
+ /** Additional error-specific context. */
267
+ details?: { [key: string]: unknown };
250
268
  } & {
251
269
  code: 'rel.not_found';
252
270
  } | {
@@ -11,19 +11,19 @@ import type { GetGrant200Team } from './getGrant200Team.ts';
11
11
  import type { GetGrant200User } from './getGrant200User.ts';
12
12
 
13
13
  /**
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.
14
+ * A collaboration grant: it gives a user or a team a role on a project.
15
+ * Check which of `user` or `team` is present. Those objects are always refs
16
+ * (`user_id` / `team_id`); expand adds extra fields on the same object rather
17
+ * than a sibling.
18
18
  */
19
19
  export type GetGrant200 = {
20
20
  /** Managed assignment id (`asgn_<opaque>`). */
21
21
  id: string;
22
- /** Project this grant is scoped to. */
22
+ /** The project this grant is scoped to. */
23
23
  project_id: string;
24
- /** Catalog object type. Always `project` for this API. */
24
+ /** The type of object the role applies to. Always `project` for this API. */
25
25
  object_type: GetGrant200ObjectType;
26
- /** Catalog relation on the project. */
26
+ /** The role on the project. */
27
27
  relation: GetGrant200Relation;
28
28
  /** When the grant was created. */
29
29
  created_at: string;
@@ -33,17 +33,17 @@ export type GetGrant200 = {
33
33
  */
34
34
  expires_at?: string | null;
35
35
  /**
36
- * User bound by this grant. Always a user-ref (`user_id`, never `id`).
36
+ * The user who holds this grant. Always a user-ref (`user_id`, never `id`).
37
37
  * `expand: ["principal"]` adds the User envelope fields `schema`,
38
- * `attributes`, and `metadata` on this same object. Missing users degrade to
39
- * `user_id` only, with or without expand (ADR 059 grant exception).
38
+ * `attributes` and `metadata` on this same object. A missing user degrades to
39
+ * `user_id` only, with or without expand.
40
40
  */
41
41
  user?: GetGrant200User;
42
42
  /**
43
- * Team bound by this grant. Always a team-ref (`team_id`, never `id`).
44
- * `expand: ["principal"]` adds `status`, `created_at`, and `updated_at` on
45
- * this same object. Missing teams degrade to `team_id` only, with or without
46
- * expand (ADR 059 grant exception).
43
+ * The team that holds this grant. Always a team-ref (`team_id`, never `id`).
44
+ * `expand: ["principal"]` adds `status`, `created_at` and `updated_at` on
45
+ * this same object. A missing team degrades to `team_id` only, with or
46
+ * without expand.
47
47
  */
48
48
  team?: GetGrant200Team;
49
49
  };
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Catalog object type. Always `project` for this API.
10
+ * The type of object the role applies to. Always `project` for this API.
11
11
  */
12
12
  export type GetGrant200ObjectType = typeof GetGrant200ObjectType[keyof typeof GetGrant200ObjectType];
13
13
 
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Catalog relation on the project.
10
+ * The role on the project.
11
11
  */
12
12
  export type GetGrant200Relation = typeof GetGrant200Relation[keyof typeof GetGrant200Relation];
13
13
 
@@ -8,13 +8,13 @@
8
8
  import type { GetGrant200TeamStatus } from './getGrant200TeamStatus.ts';
9
9
 
10
10
  /**
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).
11
+ * The team that holds 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. A missing team degrades to `team_id` only, with or
14
+ * without expand.
15
15
  */
16
16
  export type GetGrant200Team = {
17
- /** The referenced team's id (`team_<opaque>`). Always present. */
17
+ /** The referenced team's ID (`team_<opaque>`). Always present. */
18
18
  team_id: string;
19
19
  /**
20
20
  * The team's name. Absent when the team can no longer be loaded, or where
@@ -25,8 +25,8 @@ export type GetGrant200Team = {
25
25
  /**
26
26
  * The lifecycle state of a team.
27
27
  *
28
- * active: The team is available for use.
29
- * deactivated: The team is no longer active but is retained for historical and audit purposes.
28
+ * - `active`: the team is available for use.
29
+ * - `deactivated`: the team is no longer active but is retained for historical and audit purposes.
30
30
  */
31
31
  status?: GetGrant200TeamStatus;
32
32
  /** When the team was created. Present only when expand loaded the team. */
@@ -9,8 +9,8 @@
9
9
  /**
10
10
  * The lifecycle state of a team.
11
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.
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
14
  */
15
15
  export type GetGrant200TeamStatus = typeof GetGrant200TeamStatus[keyof typeof GetGrant200TeamStatus];
16
16
 
@@ -9,10 +9,10 @@ import type { GetGrant200UserAttributes } from './getGrant200UserAttributes.ts';
9
9
  import type { GetGrant200UserMetadata } from './getGrant200UserMetadata.ts';
10
10
 
11
11
  /**
12
- * User bound by this grant. Always a user-ref (`user_id`, never `id`).
12
+ * The user who holds this grant. Always a user-ref (`user_id`, never `id`).
13
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).
14
+ * `attributes` and `metadata` on this same object. A missing user degrades to
15
+ * `user_id` only, with or without expand.
16
16
  */
17
17
  export type GetGrant200User = {
18
18
  /** @pattern ^user_[a-zA-Z0-9_-]+$ */
@@ -31,8 +31,8 @@ export type GetGrant200User = {
31
31
  */
32
32
  identifier_property?: string;
33
33
  /**
34
- * The `x-display` rendering — the designated properties' values joined
35
- * in list order. Purely presentational, with no source attribution.
34
+ * The `x-display` rendering: the designated properties' values joined
35
+ * in list order. It is for display only and names no source.
36
36
  * Absent when the schema designates no display properties or the user
37
37
  * carries no values for them.
38
38
  */
@@ -20,26 +20,25 @@ export type GetGrant200UserMetadata = {
20
20
  * user is self-owned. This is a single team and a different concept from
21
21
  * the user's team memberships: it decides who may deprovision the user, not
22
22
  * which teams the user collaborates in. Memberships are their own paginated
23
- * resource — `GET /users/{user_id}/teams`.
23
+ * resource, read with `listUserTeams` (`GET /users/{user_id}/teams`).
24
24
  */
25
25
  lifecycle_owner_team_id?: string | null;
26
26
  /**
27
27
  * The team named by `lifecycle_owner_team_id`, present only when the
28
- * request asked for it with `expand: ["lifecycle_owner_team"]` (ADR 059).
29
- * Absent means it was not requested; `null` means the user is self-owned
30
- * and there is no owner to resolve.
28
+ * request asked for it with `expand: ["lifecycle_owner_team"]`. Absent
29
+ * means it was not requested; `null` means the user is self-owned and
30
+ * there is no owner to resolve.
31
31
  *
32
32
  * Requesting it does not guarantee it is present on every user. Today
33
- * `team.read` is checked once for the whole request, so it is; once that
33
+ * `team.read` is checked once for the whole request, so it is. Once that
34
34
  * check is per team, a page may contain a user whose owner the caller may
35
- * not read, and such a row answers with neither the team nor `null` —
36
- * `null` already means self-owned. What it answers with instead is decided
37
- * with the granular scopes (#420); do not read the two cases above as the
35
+ * not read. Such a row answers with neither the team nor `null`, because
36
+ * `null` already means self-owned. Do not treat the two cases above as the
38
37
  * complete set.
39
38
  *
40
- * This is the same representation `GET /teams/{team_id}` serves. It is a
41
- * single team, not a collection, so it carries no cap and no truncation
42
- * flag.
39
+ * This is the same representation `getTeam` (`GET /teams/{team_id}`)
40
+ * serves. It is a single team, not a collection, so it carries no cap and
41
+ * no truncation flag.
43
42
  */
44
43
  readonly lifecycle_owner_team?: GetGrant200UserMetadataLifecycleOwnerTeam;
45
44
  };
@@ -9,21 +9,20 @@ import type { GetGrant200UserMetadataLifecycleOwnerTeamStatus } from './getGrant
9
9
 
10
10
  /**
11
11
  * The team named by `lifecycle_owner_team_id`, present only when the
12
- * request asked for it with `expand: ["lifecycle_owner_team"]` (ADR 059).
13
- * Absent means it was not requested; `null` means the user is self-owned
14
- * and there is no owner to resolve.
12
+ * request asked for it with `expand: ["lifecycle_owner_team"]`. Absent
13
+ * means it was not requested; `null` means the user is self-owned and
14
+ * there is no owner to resolve.
15
15
  *
16
16
  * Requesting it does not guarantee it is present on every user. Today
17
- * `team.read` is checked once for the whole request, so it is; once that
17
+ * `team.read` is checked once for the whole request, so it is. Once that
18
18
  * check is per team, a page may contain a user whose owner the caller may
19
- * not read, and such a row answers with neither the team nor `null` —
20
- * `null` already means self-owned. What it answers with instead is decided
21
- * with the granular scopes (#420); do not read the two cases above as the
19
+ * not read. Such a row answers with neither the team nor `null`, because
20
+ * `null` already means self-owned. Do not treat the two cases above as the
22
21
  * complete set.
23
22
  *
24
- * This is the same representation `GET /teams/{team_id}` serves. It is a
25
- * single team, not a collection, so it carries no cap and no truncation
26
- * flag.
23
+ * This is the same representation `getTeam` (`GET /teams/{team_id}`)
24
+ * serves. It is a single team, not a collection, so it carries no cap and
25
+ * no truncation flag.
27
26
  */
28
27
  export type GetGrant200UserMetadataLifecycleOwnerTeam = {
29
28
  /** The unique identifier of the team. */
@@ -33,8 +32,8 @@ export type GetGrant200UserMetadataLifecycleOwnerTeam = {
33
32
  /**
34
33
  * The lifecycle state of a team.
35
34
  *
36
- * active: The team is available for use.
37
- * deactivated: The team is no longer active but is retained for historical and audit purposes.
35
+ * - `active`: the team is available for use.
36
+ * - `deactivated`: the team is no longer active but is retained for historical and audit purposes.
38
37
  */
39
38
  status: GetGrant200UserMetadataLifecycleOwnerTeamStatus;
40
39
  /** The time when the team was created. */
@@ -9,8 +9,8 @@
9
9
  /**
10
10
  * The lifecycle state of a team.
11
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.
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
14
  */
15
15
  export type GetGrant200UserMetadataLifecycleOwnerTeamStatus = typeof GetGrant200UserMetadataLifecycleOwnerTeamStatus[keyof typeof GetGrant200UserMetadataLifecycleOwnerTeamStatus];
16
16
 
@@ -67,15 +67,6 @@ export type GetGrantDefault = {
67
67
  message: string;
68
68
  /** Additional error-specific context. */
69
69
  details?: { [key: string]: unknown };
70
- } & {
71
- code: 'team.permission_denied';
72
- } | {
73
- /** Stable machine-readable error code. */
74
- code: string;
75
- /** Human-readable explanation of the error. */
76
- message: string;
77
- /** Additional error-specific context. */
78
- details?: { [key: string]: unknown };
79
70
  } & {
80
71
  code: 'unavailable';
81
72
  } | {
@@ -15,11 +15,14 @@
15
15
  * `team_id`) is always present. If the user or team cannot be loaded, the
16
16
  * object stays id-only — the same shape as not expanding.
17
17
  *
18
- * Expanding requires `user.read` and `team.read` in addition to
19
- * `project.read` for project secrets. Both are checked once for the whole
20
- * request. If the caller lacks either, the request is 403; extras are not
21
- * omitted silently. A user-bound Console session that already passed the
22
- * project Check may expand without those scopes.
18
+ * Expanding requires read on the whole of the principal's home project (the
19
+ * platform project when the server has one), checked once per home project.
20
+ * A project secret of another project never has it, and a session has it
21
+ * only with a grant that covers the whole of that project. A caller without
22
+ * it gets 403 `user.permission_denied`; extras
23
+ * are never omitted silently. Without `expand`, every caller who may read
24
+ * the grants sees `user_id`, `identifier` and `display`, or the team's
25
+ * `name`.
23
26
  */
24
27
  export type GetGrantExpandItem = typeof GetGrantExpandItem[keyof typeof GetGrantExpandItem];
25
28
 
@@ -9,13 +9,16 @@ import type { GetGrantExpandItem } from './getGrantExpandItem.ts';
9
9
 
10
10
  export type GetGrantParams = {
11
11
  /**
12
- * The unique identifier of the project
12
+ * The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
13
+ * it as "Project id" in its summary and as `project_id` with `--json`, and
14
+ * writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
13
15
  * @pattern ^[a-zA-Z0-9_-]+$
14
16
  */
15
17
  project_id: string;
16
18
  /**
17
- * Extra principal fields to add onto `user` or `team`. Same enum and
18
- * `user.read` + `team.read` gate as `POST /grants/query`.
19
+ * Extra principal fields to add onto `user` or `team`. It takes the same
20
+ * values and needs the same `user.read` and `team.read` scopes as
21
+ * `POST /grants/query`.
19
22
  */
20
23
  expand?: GetGrantExpandItem[];
21
24
  };
@@ -8,30 +8,31 @@
8
8
  import type { GetIdpById200Definition } from './getIdpById200Definition.ts';
9
9
 
10
10
  /**
11
- * An identity provider connection.
11
+ * An identity provider, with its connection document as `definition`.
12
12
  */
13
13
  export type GetIdpById200 = {
14
14
  /**
15
- * A unique connection id, generated when the connection is created, and shared by
16
- * every revision. This id is referenced by the identity links.
15
+ * A unique ID, generated when the identity provider is created and shared
16
+ * by every revision. The identity links reference this ID.
17
17
  */
18
18
  id: string;
19
19
  /**
20
- * The id of the revision this row holds, pinned by auth attempts and
21
- * releases. `GET /idps/{id}` and the query return the newest one;
22
- * `GET /idps/revisions/{revision_id}` returns the requested revision.
20
+ * The ID of the revision this entry holds, pinned by authentication
21
+ * attempts and releases. `getIdpById` (`GET /idps/{id}`) and `queryIdps` (`POST /idps/query`)
22
+ * return the newest one; `getIdpRevisionById` (`GET /idps/revisions/{revision_id}`)
23
+ * (`GET /idps/revisions/{revision_id}`) returns the requested revision.
23
24
  */
24
25
  revision_id: string;
25
26
  /**
26
27
  * The identifier by which user schemas and flow definitions reference the
27
- * connection. Fixed for the life of the connection.
28
+ * identity provider. Fixed for the life of the identity provider.
28
29
  */
29
30
  slug: string;
30
- /** When the connection was created. */
31
+ /** When the identity provider was created. */
31
32
  created_at: string;
32
33
  /**
33
34
  * When this revision was created. On the newest revision, that is when
34
- * the connection was last revised.
35
+ * the identity provider was last revised.
35
36
  */
36
37
  updated_at: string;
37
38
  definition: GetIdpById200Definition;
@@ -13,14 +13,14 @@ import type { GetIdpById200DefinitionVerifiedClaims } from './getIdpById200Defin
13
13
 
14
14
  export type GetIdpById200Definition = {
15
15
  /**
16
- * Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project.
16
+ * Stable identifier of the identity provider. User schemas (`x-auth-methods.sso.providers`) and flow steps (`sso_providers`) reference it. Unique within the project.
17
17
  * @maxLength 64
18
18
  * @pattern ^[a-z0-9][a-z0-9_-]*$
19
19
  */
20
20
  slug: string;
21
21
  /** The protocol used by the identity provider. OIDC is the only protocol. */
22
22
  protocol: GetIdpById200DefinitionProtocol;
23
- /** Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks. */
23
+ /** A hint for rendering the provider (logo, colors). It carries no protocol behavior: behavior comes only from the protocol blocks. */
24
24
  template?: string;
25
25
  /**
26
26
  * Shown to the user on the sign-in button.
@@ -29,16 +29,16 @@ export type GetIdpById200Definition = {
29
29
  */
30
30
  display_name: string;
31
31
  /**
32
- * Claim carrying the provider's stable subject identifier. Optional; the engine uses `sub` per spec. Override it where `sub` is pairwise, e.g. Entra `oid`.
32
+ * The claim (a named piece of user data the provider returns) that carries the provider's stable subject identifier. Optional; the server uses `sub`, as the OIDC specification defines. Override it where `sub` is pairwise, for example Entra `oid`.
33
33
  * @minLength 1
34
34
  */
35
35
  subject_claim?: string;
36
- /** Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored. */
36
+ /** Maps user schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored. */
37
37
  claim_mapping?: GetIdpById200DefinitionClaimMapping;
38
- /** Maps a verifiable user-schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from claim_mapping, which carries values, not verification state. */
38
+ /** Maps a verifiable user schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from `claim_mapping`, which carries values, not verification state. */
39
39
  verified_claims?: GetIdpById200DefinitionVerifiedClaims;
40
- /** How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state. */
40
+ /** How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step (the step that asks the user for missing data) when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties is not available yet. These are not available yet either: the `auto_only` value, which creates the user from complete claims or fails without collecting; the linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey; and `is_auto_update`, together with per-property verification state. */
41
41
  provisioning?: GetIdpById200DefinitionProvisioning;
42
- /** OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial. */
42
+ /** OIDC settings of the identity provider. Endpoints come from the issuer's discovery document (its `.well-known` document). A provider that exposes no `.well-known` document names them all instead: `authorization_endpoint`, `token_endpoint`, `jwks_uri`, and `userinfo_endpoint` unless `id_token_mapping` is set. Setting any endpoint without the others is rejected with `idp.endpoints_partial`; set all of them or none. */
43
43
  oidc?: GetIdpById200DefinitionOidc;
44
44
  };
@@ -7,6 +7,6 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.
10
+ * Maps user schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.
11
11
  */
12
12
  export type GetIdpById200DefinitionClaimMapping = {[key: string]: string};
@@ -9,11 +9,11 @@ import type { GetIdpById200DefinitionOidcStaticAuthorizeParameters } from './get
9
9
  import type { GetIdpById200DefinitionOidcTokenEndpointAuthMethod } from './getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts';
10
10
 
11
11
  /**
12
- * OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial.
12
+ * OIDC settings of the identity provider. Endpoints come from the issuer's discovery document (its `.well-known` document). A provider that exposes no `.well-known` document names them all instead: `authorization_endpoint`, `token_endpoint`, `jwks_uri`, and `userinfo_endpoint` unless `id_token_mapping` is set. Setting any endpoint without the others is rejected with `idp.endpoints_partial`; set all of them or none.
13
13
  */
14
14
  export type GetIdpById200DefinitionOidc = {
15
15
  /**
16
- * Discovery base. Endpoints are resolved from its .well-known document unless the connection names them all.
16
+ * Discovery base. Endpoints are resolved from its `.well-known` document unless the document names them all.
17
17
  * @pattern ^(https://[^\s/?#]+|http://(localhost|127\.0\.0\.1)(:[0-9]+)?)(/[^\s?#]*)?$
18
18
  */
19
19
  issuer: string;
@@ -40,26 +40,26 @@ export type GetIdpById200DefinitionOidc = {
40
40
  */
41
41
  userinfo_endpoint?: string;
42
42
  /**
43
- * Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.
43
+ * Either a literal, when all environments use the same client, or a `${{ NAME }}` reference to a variable, when each environment has its own client.
44
44
  * @minLength 1
45
45
  * @maxLength 512
46
46
  */
47
47
  client_id: string;
48
48
  /**
49
- * A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.
49
+ * A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The server resolves it against the environment serving the request.
50
50
  * @pattern ^\$\{\{ *[A-Za-z0-9_]+ *\}\}$
51
51
  */
52
52
  client_secret: string;
53
53
  /** How the client authenticates at the token endpoint. */
54
54
  token_endpoint_auth_method?: GetIdpById200DefinitionOidcTokenEndpointAuthMethod;
55
55
  /**
56
- * Must contain `openid` - without it the provider returns no id_token and the connection is not OIDC. Enforced by `required` + `contains`; the `default` is a UI-prefill hint only - validators never inject it, so an omitted `scopes` is rejected regardless.
56
+ * Must contain `openid`: without it the provider returns no id_token and the sign-in is not OIDC. An omitted `scopes` is rejected. The default (`openid`, `profile`, `email`) only pre-fills editors; validators never inject it.
57
57
  * @minItems 1
58
58
  * @items.minLength 1
59
59
  */
60
60
  scopes: string[];
61
- /** Send PKCE (code_challenge/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them. */
61
+ /** Send PKCE (`code_challenge` and `code_verifier`), which binds the code exchange to the client that started it. Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them. */
62
62
  pkce_enabled?: boolean;
63
- /** Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL. */
63
+ /** Extra provider-specific authorize parameters (for example `prompt`). Protocol parameters the server sets are reserved and rejected by `propertyNames`: the server composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL. */
64
64
  static_authorize_parameters?: GetIdpById200DefinitionOidcStaticAuthorizeParameters;
65
65
  };
@@ -7,6 +7,6 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.
10
+ * Extra provider-specific authorize parameters (for example `prompt`). Protocol parameters the server sets are reserved and rejected by `propertyNames`: the server composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.
11
11
  */
12
12
  export type GetIdpById200DefinitionOidcStaticAuthorizeParameters = {[key: string]: string};
@@ -8,7 +8,7 @@
8
8
  import type { GetIdpById200DefinitionProvisioningCreation } from './getIdpById200DefinitionProvisioningCreation.ts';
9
9
 
10
10
  /**
11
- * How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state.
11
+ * How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step (the step that asks the user for missing data) when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties is not available yet. These are not available yet either: the `auto_only` value, which creates the user from complete claims or fails without collecting; the linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey; and `is_auto_update`, together with per-property verification state.
12
12
  */
13
13
  export type GetIdpById200DefinitionProvisioning = {
14
14
  creation?: GetIdpById200DefinitionProvisioningCreation;