@zitadel/api 0.4.0 → 0.6.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 (864) hide show
  1. package/README.md +1 -1
  2. package/dist/{api-factory-Dt5lUjyu.d.mts → api-factory-Durul-IL.d.mts} +13 -3
  3. package/dist/api-factory-Durul-IL.d.mts.map +1 -0
  4. package/dist/{api-factory-C5b1Gqwv.mjs → api-factory-DwzqkuTV.mjs} +16 -6
  5. package/dist/api-factory-DwzqkuTV.mjs.map +1 -0
  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 +2 -2
  9. package/dist/generated/endpoints/zitadelNextGen.mjs +1408 -627
  10. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +20 -1
  12. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  13. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2235 -482
  14. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  15. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +2879 -1013
  16. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  17. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +6411 -4732
  18. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  19. package/dist/generated/model/index.d.mts +2 -2
  20. package/dist/generated/model/index.mjs +92 -1
  21. package/dist/generated/model/index.mjs.map +1 -1
  22. package/dist/generated/operations.d.mts +9 -0
  23. package/dist/generated/operations.d.mts.map +1 -1
  24. package/dist/generated/operations.mjs +481 -153
  25. package/dist/generated/operations.mjs.map +1 -1
  26. package/dist/{index-DGQY1rfH.d.mts → index-D0r_rLRr.d.mts} +17188 -10739
  27. package/dist/index-D0r_rLRr.d.mts.map +1 -0
  28. package/dist/runtime/api-factory.d.mts +1 -1
  29. package/dist/runtime/api-factory.mjs +1 -1
  30. package/dist/runtime/config.d.mts +1 -1
  31. package/dist/runtime/config.mjs +1 -1
  32. package/dist/runtime/fetch.d.mts +1 -1
  33. package/dist/runtime/fetch.mjs +1 -0
  34. package/dist/runtime/fetch.mjs.map +1 -1
  35. package/dist/runtime/paging.d.mts +106 -23
  36. package/dist/runtime/paging.d.mts.map +1 -1
  37. package/dist/runtime/paging.mjs +132 -32
  38. package/dist/runtime/paging.mjs.map +1 -1
  39. package/dist/zitadelNextGen-DgKtevtj.d.mts +1940 -0
  40. package/dist/zitadelNextGen-DgKtevtj.d.mts.map +1 -0
  41. package/package.json +3 -3
  42. package/src/generated/endpoints/zitadelNextGen.faker.ts +36 -8
  43. package/src/generated/endpoints/zitadelNextGen.msw.ts +148 -1
  44. package/src/generated/endpoints/zitadelNextGen.ts +1581 -653
  45. package/src/generated/endpoints/zitadelNextGen.zod.ts +6322 -4751
  46. package/src/generated/model/acceptInvitation200.ts +126 -0
  47. package/src/generated/model/acceptInvitation400.ts +20 -0
  48. package/src/generated/model/acceptInvitation400Details.ts +12 -0
  49. package/src/generated/model/acceptInvitation401.ts +20 -0
  50. package/src/generated/model/acceptInvitation401Details.ts +12 -0
  51. package/src/generated/model/acceptInvitation403.ts +20 -0
  52. package/src/generated/model/acceptInvitation403Details.ts +12 -0
  53. package/src/generated/model/acceptInvitation404.ts +20 -0
  54. package/src/generated/model/acceptInvitation404Details.ts +12 -0
  55. package/src/generated/model/acceptInvitation409.ts +20 -0
  56. package/src/generated/model/acceptInvitation409Details.ts +12 -0
  57. package/src/generated/model/acceptInvitation429.ts +20 -0
  58. package/src/generated/model/acceptInvitation429Details.ts +12 -0
  59. package/src/generated/model/acceptInvitationBody.ts +19 -0
  60. package/src/generated/model/acceptInvitationDefault.ts +99 -0
  61. package/src/generated/model/addOrigin201.ts +5 -0
  62. package/src/generated/model/addOrigin201Kind.ts +3 -0
  63. package/src/generated/model/addOriginBody.ts +17 -5
  64. package/src/generated/model/addOriginBodyKind.ts +4 -0
  65. package/src/generated/model/beginUserPasskeyRegistration201.ts +3 -3
  66. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +6 -6
  67. package/src/generated/model/buildRelease200.ts +15 -15
  68. package/src/generated/model/buildRelease200Metadata.ts +8 -8
  69. package/src/generated/model/buildRelease200PointersItem.ts +13 -12
  70. package/src/generated/model/buildRelease200PointersItemKind.ts +3 -3
  71. package/src/generated/model/buildRelease201.ts +15 -15
  72. package/src/generated/model/buildRelease201Metadata.ts +8 -8
  73. package/src/generated/model/buildRelease201PointersItem.ts +13 -12
  74. package/src/generated/model/buildRelease201PointersItemKind.ts +3 -3
  75. package/src/generated/model/buildRelease400.ts +1 -3
  76. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +3 -3
  77. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +3 -3
  78. package/src/generated/model/buildReleaseBody.ts +19 -16
  79. package/src/generated/model/buildReleaseBodyBundle.ts +31 -28
  80. package/src/generated/model/buildReleaseBodyBundleBranding.ts +26 -24
  81. package/src/generated/model/buildReleaseBodyBundleBrandingLayout.ts +8 -7
  82. package/src/generated/model/buildReleaseBodyBundleBrandingShape.ts +1 -1
  83. package/src/generated/model/buildReleaseBodyBundleBrandingTheme.ts +5 -7
  84. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +8 -8
  85. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDarkPalette.ts +63 -62
  86. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +8 -8
  87. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLightPalette.ts +63 -62
  88. package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +5 -5
  89. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +47 -26
  90. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemAudience.ts +1 -1
  91. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +2 -2
  92. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItem.ts +46 -28
  93. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItem.ts +9 -7
  94. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemKind.ts +2 -2
  95. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +11 -10
  96. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -1
  97. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesKind.ts +4 -3
  98. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitions.ts +40 -20
  99. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsAction.ts +8 -5
  100. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsPurpose.ts +7 -8
  101. package/src/generated/model/buildReleaseBodyBundleIdpsItem.ts +7 -7
  102. package/src/generated/model/buildReleaseBodyBundleIdpsItemClaimMapping.ts +1 -1
  103. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidc.ts +7 -7
  104. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidcStaticAuthorizeParameters.ts +1 -1
  105. package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioning.ts +1 -1
  106. package/src/generated/model/buildReleaseBodyBundleIdpsItemVerifiedClaims.ts +1 -1
  107. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +3 -3
  108. package/src/generated/model/buildReleaseBodyBundleSchemasItem.ts +23 -22
  109. package/src/generated/model/buildReleaseParams.ts +3 -1
  110. package/src/generated/model/cancelInvitation401.ts +20 -0
  111. package/src/generated/model/cancelInvitation401Details.ts +12 -0
  112. package/src/generated/model/cancelInvitation403.ts +20 -0
  113. package/src/generated/model/cancelInvitation403Details.ts +12 -0
  114. package/src/generated/model/cancelInvitation404.ts +20 -0
  115. package/src/generated/model/cancelInvitation404Details.ts +12 -0
  116. package/src/generated/model/cancelInvitationDefault.ts +81 -0
  117. package/src/generated/model/cancelInvitationParams.ts +17 -0
  118. package/src/generated/model/completeClaim409.ts +2 -2
  119. package/src/generated/model/completeClaimBody.ts +1 -1
  120. package/src/generated/model/createApplication200.ts +137 -0
  121. package/src/generated/model/createApplication200ClientSecretsItem.ts +19 -0
  122. package/src/generated/model/createApplication201.ts +137 -0
  123. package/src/generated/model/createApplication201ClientSecretsItem.ts +19 -0
  124. package/src/generated/model/createApplication400.ts +20 -0
  125. package/src/generated/model/createApplication400Details.ts +12 -0
  126. package/src/generated/model/createApplication401.ts +20 -0
  127. package/src/generated/model/createApplication401Details.ts +12 -0
  128. package/src/generated/model/createApplication403.ts +20 -0
  129. package/src/generated/model/createApplication403Details.ts +12 -0
  130. package/src/generated/model/createApplication404.ts +20 -0
  131. package/src/generated/model/createApplication404Details.ts +12 -0
  132. package/src/generated/model/createApplication409.ts +20 -0
  133. package/src/generated/model/createApplication409Details.ts +12 -0
  134. package/src/generated/model/createApplicationBody.ts +20 -0
  135. package/src/generated/model/createApplicationBodyApplication.ts +35 -0
  136. package/src/generated/model/createApplicationBodyApplicationClientsItem.ts +84 -0
  137. package/src/generated/model/createApplicationBodyApplicationClientsItemGrantTypesItem.ts +15 -0
  138. package/src/generated/model/createApplicationBodyApplicationClientsItemType.ts +19 -0
  139. package/src/generated/model/createApplicationDefault.ts +54 -0
  140. package/src/generated/model/createApplicationParams.ts +17 -0
  141. package/src/generated/model/createAuthAttempt201.ts +23 -22
  142. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +9 -7
  143. package/src/generated/model/createAuthAttempt201ChallengesItemState.ts +1 -1
  144. package/src/generated/model/createAuthAttempt201CompletedFactorsItem.ts +2 -2
  145. package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +5 -5
  146. package/src/generated/model/createAuthAttempt201State.ts +2 -2
  147. package/src/generated/model/createAuthAttemptBody.ts +3 -3
  148. package/src/generated/model/createAuthAttemptDefault.ts +63 -0
  149. package/src/generated/model/createBranding201.ts +10 -10
  150. package/src/generated/model/createBranding201Branding.ts +26 -24
  151. package/src/generated/model/createBranding201BrandingLayout.ts +8 -7
  152. package/src/generated/model/createBranding201BrandingShape.ts +1 -1
  153. package/src/generated/model/createBranding201BrandingTheme.ts +5 -7
  154. package/src/generated/model/createBranding201BrandingThemeDark.ts +8 -8
  155. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +63 -62
  156. package/src/generated/model/createBranding201BrandingThemeLight.ts +8 -8
  157. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +63 -62
  158. package/src/generated/model/createBranding201BrandingTypography.ts +5 -5
  159. package/src/generated/model/createBrandingBody.ts +26 -24
  160. package/src/generated/model/createBrandingBodyLayout.ts +8 -7
  161. package/src/generated/model/createBrandingBodyShape.ts +1 -1
  162. package/src/generated/model/createBrandingBodyTheme.ts +5 -7
  163. package/src/generated/model/createBrandingBodyThemeDark.ts +8 -8
  164. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +63 -62
  165. package/src/generated/model/createBrandingBodyThemeLight.ts +8 -8
  166. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +63 -62
  167. package/src/generated/model/createBrandingBodyTypography.ts +5 -5
  168. package/src/generated/model/createBrandingParams.ts +3 -1
  169. package/src/generated/model/createDeployment200.ts +19 -15
  170. package/src/generated/model/createDeployment200Metadata.ts +1 -1
  171. package/src/generated/model/createDeployment200Release.ts +15 -15
  172. package/src/generated/model/createDeployment200ReleaseMetadata.ts +8 -8
  173. package/src/generated/model/createDeployment200ReleasePointersItem.ts +13 -12
  174. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +3 -3
  175. package/src/generated/model/createDeployment200Status.ts +4 -3
  176. package/src/generated/model/createDeployment201.ts +19 -15
  177. package/src/generated/model/createDeployment201Metadata.ts +1 -1
  178. package/src/generated/model/createDeployment201Release.ts +15 -15
  179. package/src/generated/model/createDeployment201ReleaseMetadata.ts +8 -8
  180. package/src/generated/model/createDeployment201ReleasePointersItem.ts +13 -12
  181. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +3 -3
  182. package/src/generated/model/createDeployment201Status.ts +4 -3
  183. package/src/generated/model/createDeployment409.ts +42 -40
  184. package/src/generated/model/createDeploymentBody.ts +4 -10
  185. package/src/generated/model/createDeploymentParams.ts +3 -1
  186. package/src/generated/model/createFlow201.ts +16 -12
  187. package/src/generated/model/createFlow201Branding.ts +26 -24
  188. package/src/generated/model/createFlow201BrandingLayout.ts +8 -7
  189. package/src/generated/model/createFlow201BrandingShape.ts +1 -1
  190. package/src/generated/model/createFlow201BrandingTheme.ts +5 -7
  191. package/src/generated/model/createFlow201BrandingThemeDark.ts +8 -8
  192. package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +63 -62
  193. package/src/generated/model/createFlow201BrandingThemeLight.ts +8 -8
  194. package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +63 -62
  195. package/src/generated/model/createFlow201BrandingTypography.ts +5 -5
  196. package/src/generated/model/createFlow201Step.ts +36 -31
  197. package/src/generated/model/createFlow201StepActionsItem.ts +3 -3
  198. package/src/generated/model/createFlow201StepActionsItemKind.ts +1 -1
  199. package/src/generated/model/createFlow201StepChallenge.ts +4 -3
  200. package/src/generated/model/createFlow201StepComplete.ts +1 -1
  201. package/src/generated/model/createFlow201StepFieldsItem.ts +19 -15
  202. package/src/generated/model/createFlow201StepFieldsItemType.ts +7 -3
  203. package/src/generated/model/createFlow201StepFieldsItemValidation.ts +2 -2
  204. package/src/generated/model/createFlow201StepFieldsItemValidationFormat.ts +1 -1
  205. package/src/generated/model/createFlow201StepGates.ts +10 -8
  206. package/src/generated/model/createFlow201StepGatesConfig.ts +1 -1
  207. package/src/generated/model/createFlow201StepGatesKind.ts +4 -3
  208. package/src/generated/model/createFlow201StepIdentifier.ts +6 -6
  209. package/src/generated/model/createFlow201StepSsoProvidersItem.ts +1 -1
  210. package/src/generated/model/createFlow201StepTexts.ts +1 -1
  211. package/src/generated/model/createFlowBody.ts +7 -2
  212. package/src/generated/model/createFlowBodyHint.ts +4 -1
  213. package/src/generated/model/createFlowBodyPurpose.ts +3 -0
  214. package/src/generated/model/createFlowDefault.ts +9 -0
  215. package/src/generated/model/createFlowDefinition201.ts +22 -10
  216. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +47 -26
  217. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +1 -1
  218. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +2 -2
  219. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +46 -28
  220. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +9 -7
  221. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  222. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +11 -10
  223. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +1 -1
  224. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +4 -3
  225. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +40 -20
  226. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  227. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  228. package/src/generated/model/createFlowDefinition201UserSchema.ts +2 -2
  229. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +2 -1
  230. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +21 -20
  231. package/src/generated/model/createFlowDefinitionBody.ts +22 -12
  232. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +47 -26
  233. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +1 -1
  234. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +2 -2
  235. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +46 -28
  236. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +9 -7
  237. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  238. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +11 -10
  239. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +1 -1
  240. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +4 -3
  241. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +40 -20
  242. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  243. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  244. package/src/generated/model/createGrant201.ts +14 -14
  245. package/src/generated/model/createGrant201ObjectType.ts +1 -1
  246. package/src/generated/model/createGrant201Relation.ts +1 -1
  247. package/src/generated/model/createGrant201Team.ts +7 -7
  248. package/src/generated/model/createGrant201TeamStatus.ts +2 -2
  249. package/src/generated/model/createGrant201User.ts +5 -5
  250. package/src/generated/model/createGrant201UserMetadata.ts +10 -11
  251. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +11 -12
  252. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  253. package/src/generated/model/createGrantBody.ts +12 -12
  254. package/src/generated/model/createGrantBodyRelation.ts +1 -1
  255. package/src/generated/model/createGrantBodyTeam.ts +3 -3
  256. package/src/generated/model/createGrantBodyUser.ts +5 -5
  257. package/src/generated/model/createGrantDefault.ts +9 -0
  258. package/src/generated/model/createGrantParams.ts +3 -1
  259. package/src/generated/model/createHandoff200.ts +9 -10
  260. package/src/generated/model/createIdp200.ts +10 -9
  261. package/src/generated/model/createIdp200Definition.ts +7 -7
  262. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +1 -1
  263. package/src/generated/model/createIdp200DefinitionOidc.ts +7 -7
  264. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  265. package/src/generated/model/createIdp200DefinitionProvisioning.ts +1 -1
  266. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +1 -1
  267. package/src/generated/model/createIdp201.ts +10 -9
  268. package/src/generated/model/createIdp201Definition.ts +7 -7
  269. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +1 -1
  270. package/src/generated/model/createIdp201DefinitionOidc.ts +7 -7
  271. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  272. package/src/generated/model/createIdp201DefinitionProvisioning.ts +1 -1
  273. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +1 -1
  274. package/src/generated/model/createIdpBody.ts +1 -1
  275. package/src/generated/model/createIdpBodyIdp.ts +7 -7
  276. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +1 -1
  277. package/src/generated/model/createIdpBodyIdpOidc.ts +7 -7
  278. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +1 -1
  279. package/src/generated/model/createIdpBodyIdpProvisioning.ts +1 -1
  280. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +1 -1
  281. package/src/generated/model/createIdpParams.ts +3 -1
  282. package/src/generated/model/createInvitation201.ts +136 -0
  283. package/src/generated/model/createInvitation400.ts +20 -0
  284. package/src/generated/model/createInvitation400Details.ts +12 -0
  285. package/src/generated/model/createInvitation401.ts +20 -0
  286. package/src/generated/model/createInvitation401Details.ts +12 -0
  287. package/src/generated/model/createInvitation403.ts +20 -0
  288. package/src/generated/model/createInvitation403Details.ts +12 -0
  289. package/src/generated/model/createInvitation404.ts +20 -0
  290. package/src/generated/model/createInvitation404Details.ts +12 -0
  291. package/src/generated/model/createInvitation409.ts +20 -0
  292. package/src/generated/model/createInvitation409Details.ts +12 -0
  293. package/src/generated/model/createInvitation501.ts +23 -0
  294. package/src/generated/model/createInvitationBody.ts +72 -0
  295. package/src/generated/model/createInvitationDefault.ts +117 -0
  296. package/src/generated/model/createInvitationParams.ts +17 -0
  297. package/src/generated/model/createProject201.ts +10 -5
  298. package/src/generated/model/createProject201OriginsItem.ts +17 -5
  299. package/src/generated/model/createProject201OriginsItemKind.ts +4 -0
  300. package/src/generated/model/createProjectBody.ts +5 -6
  301. package/src/generated/model/createProjectBodyOriginsItem.ts +17 -5
  302. package/src/generated/model/createProjectBodyOriginsItemKind.ts +4 -0
  303. package/src/generated/model/createRelease200.ts +15 -15
  304. package/src/generated/model/createRelease200Metadata.ts +8 -8
  305. package/src/generated/model/createRelease200PointersItem.ts +13 -12
  306. package/src/generated/model/createRelease200PointersItemKind.ts +3 -3
  307. package/src/generated/model/createRelease201.ts +15 -15
  308. package/src/generated/model/createRelease201Metadata.ts +8 -8
  309. package/src/generated/model/createRelease201PointersItem.ts +13 -12
  310. package/src/generated/model/createRelease201PointersItemKind.ts +3 -3
  311. package/src/generated/model/createReleaseBody.ts +7 -11
  312. package/src/generated/model/createReleaseBodyPointersItem.ts +8 -8
  313. package/src/generated/model/createReleaseBodyPointersItemKind.ts +3 -3
  314. package/src/generated/model/createReleaseParams.ts +3 -1
  315. package/src/generated/model/createSchema201.ts +1 -1
  316. package/src/generated/model/createSchemaBody.ts +23 -22
  317. package/src/generated/model/createSchemaParams.ts +4 -2
  318. package/src/generated/model/createSession201.ts +8 -8
  319. package/src/generated/model/createSession201Session.ts +16 -16
  320. package/src/generated/model/createSession201SessionFactorsItem.ts +2 -2
  321. package/src/generated/model/createSession201SessionFactorsItemPayload.ts +5 -5
  322. package/src/generated/model/createSession201SessionState.ts +1 -1
  323. package/src/generated/model/createSession201SessionUser.ts +5 -5
  324. package/src/generated/model/createSessionBody.ts +1 -1
  325. package/src/generated/model/createSessionDefault.ts +9 -0
  326. package/src/generated/model/createTeam201.ts +2 -2
  327. package/src/generated/model/createTeam201Status.ts +2 -2
  328. package/src/generated/model/createTeamBody.ts +1 -1
  329. package/src/generated/model/createTeamParams.ts +3 -1
  330. package/src/generated/model/createUser201.ts +28 -29
  331. package/src/generated/model/createUser201Metadata.ts +10 -11
  332. package/src/generated/model/createUser201MetadataLifecycleOwnerTeam.ts +11 -12
  333. package/src/generated/model/createUser201MetadataLifecycleOwnerTeamStatus.ts +2 -2
  334. package/src/generated/model/createUser201TeamsItem.ts +4 -4
  335. package/src/generated/model/createUserBody.ts +9 -8
  336. package/src/generated/model/createUserParams.ts +4 -2
  337. package/src/generated/model/deleteGrantParams.ts +3 -1
  338. package/src/generated/model/deleteVariableParams.ts +3 -1
  339. package/src/generated/model/evaluatePolicy200.ts +5 -4
  340. package/src/generated/model/evaluatePolicy200Violations.ts +4 -3
  341. package/src/generated/model/evaluatePolicyBody.ts +8 -9
  342. package/src/generated/model/evaluatePolicyParams.ts +3 -1
  343. package/src/generated/model/exchangeHandoff200.ts +8 -8
  344. package/src/generated/model/exchangeHandoff200Session.ts +16 -16
  345. package/src/generated/model/exchangeHandoff200SessionFactorsItem.ts +2 -2
  346. package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +5 -5
  347. package/src/generated/model/exchangeHandoff200SessionState.ts +1 -1
  348. package/src/generated/model/exchangeHandoff200SessionUser.ts +5 -5
  349. package/src/generated/model/exchangeHandoffBody.ts +7 -5
  350. package/src/generated/model/exchangeHandoffParams.ts +3 -1
  351. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +1 -1
  352. package/src/generated/model/getApplicationById200.ts +43 -0
  353. package/src/generated/model/getApplicationById200Definition.ts +35 -0
  354. package/src/generated/model/getApplicationById200DefinitionClientsItem.ts +84 -0
  355. package/src/generated/model/getApplicationById200DefinitionClientsItemGrantTypesItem.ts +15 -0
  356. package/src/generated/model/getApplicationById200DefinitionClientsItemType.ts +19 -0
  357. package/src/generated/model/getApplicationById401.ts +20 -0
  358. package/src/generated/model/getApplicationById401Details.ts +12 -0
  359. package/src/generated/model/getApplicationById403.ts +20 -0
  360. package/src/generated/model/getApplicationById403Details.ts +12 -0
  361. package/src/generated/model/getApplicationById404.ts +20 -0
  362. package/src/generated/model/getApplicationById404Details.ts +12 -0
  363. package/src/generated/model/getApplicationByIdDefault.ts +54 -0
  364. package/src/generated/model/getApplicationByIdParams.ts +17 -0
  365. package/src/generated/model/getAuthAttempt200.ts +23 -22
  366. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +9 -7
  367. package/src/generated/model/getAuthAttempt200ChallengesItemState.ts +1 -1
  368. package/src/generated/model/getAuthAttempt200CompletedFactorsItem.ts +2 -2
  369. package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +5 -5
  370. package/src/generated/model/getAuthAttempt200State.ts +2 -2
  371. package/src/generated/model/getBrandingById200.ts +10 -10
  372. package/src/generated/model/getBrandingById200Branding.ts +26 -24
  373. package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -7
  374. package/src/generated/model/getBrandingById200BrandingShape.ts +1 -1
  375. package/src/generated/model/getBrandingById200BrandingTheme.ts +5 -7
  376. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +8 -8
  377. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +63 -62
  378. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +8 -8
  379. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +63 -62
  380. package/src/generated/model/getBrandingById200BrandingTypography.ts +5 -5
  381. package/src/generated/model/getClaimStatus200.ts +4 -5
  382. package/src/generated/model/getClaimStatusParams.ts +1 -1
  383. package/src/generated/model/getClaimWindow200.ts +6 -6
  384. package/src/generated/model/getClaimWindowParams.ts +1 -1
  385. package/src/generated/model/getDeploymentById200.ts +19 -15
  386. package/src/generated/model/getDeploymentById200Metadata.ts +1 -1
  387. package/src/generated/model/getDeploymentById200Release.ts +15 -15
  388. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +8 -8
  389. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +13 -12
  390. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +3 -3
  391. package/src/generated/model/getDeploymentById200Status.ts +4 -3
  392. package/src/generated/model/getDeploymentByIdParams.ts +3 -1
  393. package/src/generated/model/getDeploymentVariablesParams.ts +3 -1
  394. package/src/generated/model/getEvent200.ts +1984 -1323
  395. package/src/generated/model/getEventParams.ts +3 -1
  396. package/src/generated/model/getFlowDefinition200.ts +22 -10
  397. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +47 -26
  398. package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +1 -1
  399. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +2 -2
  400. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +46 -28
  401. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +9 -7
  402. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  403. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +11 -10
  404. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -1
  405. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +4 -3
  406. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +40 -20
  407. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  408. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  409. package/src/generated/model/getFlowDefinition200UserSchema.ts +2 -2
  410. package/src/generated/model/getFlowDefinition200UserSchemaMetadata.ts +2 -1
  411. package/src/generated/model/getFlowDefinition200UserSchemaSchema.ts +21 -20
  412. package/src/generated/model/getFlowStep200.ts +16 -12
  413. package/src/generated/model/getFlowStep200Branding.ts +26 -24
  414. package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -7
  415. package/src/generated/model/getFlowStep200BrandingShape.ts +1 -1
  416. package/src/generated/model/getFlowStep200BrandingTheme.ts +5 -7
  417. package/src/generated/model/getFlowStep200BrandingThemeDark.ts +8 -8
  418. package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +63 -62
  419. package/src/generated/model/getFlowStep200BrandingThemeLight.ts +8 -8
  420. package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +63 -62
  421. package/src/generated/model/getFlowStep200BrandingTypography.ts +5 -5
  422. package/src/generated/model/getFlowStep200Step.ts +36 -31
  423. package/src/generated/model/getFlowStep200StepActionsItem.ts +3 -3
  424. package/src/generated/model/getFlowStep200StepActionsItemKind.ts +1 -1
  425. package/src/generated/model/getFlowStep200StepChallenge.ts +4 -3
  426. package/src/generated/model/getFlowStep200StepComplete.ts +1 -1
  427. package/src/generated/model/getFlowStep200StepFieldsItem.ts +19 -15
  428. package/src/generated/model/getFlowStep200StepFieldsItemType.ts +7 -3
  429. package/src/generated/model/getFlowStep200StepFieldsItemValidation.ts +2 -2
  430. package/src/generated/model/getFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  431. package/src/generated/model/getFlowStep200StepGates.ts +10 -8
  432. package/src/generated/model/getFlowStep200StepGatesConfig.ts +1 -1
  433. package/src/generated/model/getFlowStep200StepGatesKind.ts +4 -3
  434. package/src/generated/model/getFlowStep200StepIdentifier.ts +6 -6
  435. package/src/generated/model/getFlowStep200StepSsoProvidersItem.ts +1 -1
  436. package/src/generated/model/getFlowStep200StepTexts.ts +1 -1
  437. package/src/generated/model/getFlowStepDefault.ts +18 -0
  438. package/src/generated/model/getGrant200.ts +14 -14
  439. package/src/generated/model/getGrant200ObjectType.ts +1 -1
  440. package/src/generated/model/getGrant200Relation.ts +1 -1
  441. package/src/generated/model/getGrant200Team.ts +7 -7
  442. package/src/generated/model/getGrant200TeamStatus.ts +2 -2
  443. package/src/generated/model/getGrant200User.ts +5 -5
  444. package/src/generated/model/getGrant200UserMetadata.ts +10 -11
  445. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +11 -12
  446. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  447. package/src/generated/model/getGrantDefault.ts +0 -9
  448. package/src/generated/model/getGrantExpandItem.ts +8 -5
  449. package/src/generated/model/getGrantParams.ts +6 -3
  450. package/src/generated/model/getIdpById200.ts +10 -9
  451. package/src/generated/model/getIdpById200Definition.ts +7 -7
  452. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +1 -1
  453. package/src/generated/model/getIdpById200DefinitionOidc.ts +7 -7
  454. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  455. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +1 -1
  456. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +1 -1
  457. package/src/generated/model/getIdpByIdParams.ts +3 -1
  458. package/src/generated/model/getIdpRevisionById200.ts +10 -9
  459. package/src/generated/model/getIdpRevisionById200Definition.ts +7 -7
  460. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +1 -1
  461. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +7 -7
  462. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  463. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +1 -1
  464. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +1 -1
  465. package/src/generated/model/getIdpRevisionByIdParams.ts +3 -1
  466. package/src/generated/model/getInvitation200.ts +126 -0
  467. package/src/generated/model/getInvitation401.ts +20 -0
  468. package/src/generated/model/getInvitation401Details.ts +12 -0
  469. package/src/generated/model/getInvitation403.ts +20 -0
  470. package/src/generated/model/getInvitation403Details.ts +12 -0
  471. package/src/generated/model/getInvitation404.ts +20 -0
  472. package/src/generated/model/getInvitation404Details.ts +12 -0
  473. package/src/generated/model/getInvitationDefault.ts +72 -0
  474. package/src/generated/model/getInvitationParams.ts +17 -0
  475. package/src/generated/model/getMyPasswordState200.ts +2 -2
  476. package/src/generated/model/getMySession200.ts +16 -16
  477. package/src/generated/model/getMySession200FactorsItem.ts +2 -2
  478. package/src/generated/model/getMySession200FactorsItemPayload.ts +5 -5
  479. package/src/generated/model/getMySession200State.ts +1 -1
  480. package/src/generated/model/getMySession200User.ts +5 -5
  481. package/src/generated/model/getMySessionCsrfToken200.ts +1 -1
  482. package/src/generated/model/getMyUser200.ts +28 -29
  483. package/src/generated/model/getMyUser200Metadata.ts +10 -11
  484. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  485. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  486. package/src/generated/model/getMyUser200TeamsItem.ts +4 -4
  487. package/src/generated/model/getMyUserSchema200.ts +4 -4
  488. package/src/generated/model/getMyUserSchema200Metadata.ts +2 -1
  489. package/src/generated/model/getMyUserSchema200Schema.ts +21 -20
  490. package/src/generated/model/getPolicy200.ts +3 -3
  491. package/src/generated/model/getPolicyParams.ts +3 -1
  492. package/src/generated/model/getPolicyRevision200.ts +3 -3
  493. package/src/generated/model/getPolicyRevisionParams.ts +3 -1
  494. package/src/generated/model/getProject200.ts +34 -30
  495. package/src/generated/model/getReleaseById200.ts +15 -15
  496. package/src/generated/model/getReleaseById200Metadata.ts +8 -8
  497. package/src/generated/model/getReleaseById200PointersItem.ts +13 -12
  498. package/src/generated/model/getReleaseById200PointersItemKind.ts +3 -3
  499. package/src/generated/model/getReleaseByIdParams.ts +3 -1
  500. package/src/generated/model/getSchemaById200.ts +4 -4
  501. package/src/generated/model/getSchemaById200Metadata.ts +2 -1
  502. package/src/generated/model/getSchemaById200Schema.ts +21 -20
  503. package/src/generated/model/getSchemaByIdParams.ts +3 -3
  504. package/src/generated/model/getSession200.ts +16 -16
  505. package/src/generated/model/getSession200FactorsItem.ts +2 -2
  506. package/src/generated/model/getSession200FactorsItemPayload.ts +5 -5
  507. package/src/generated/model/getSession200State.ts +1 -1
  508. package/src/generated/model/getSession200User.ts +5 -5
  509. package/src/generated/model/getTeam200.ts +2 -2
  510. package/src/generated/model/getTeam200Status.ts +2 -2
  511. package/src/generated/model/getUserByID200.ts +28 -29
  512. package/src/generated/model/getUserByID200Metadata.ts +10 -11
  513. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  514. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  515. package/src/generated/model/getUserByID200TeamsItem.ts +4 -4
  516. package/src/generated/model/getUserByIDParams.ts +4 -3
  517. package/src/generated/model/getUserPasswordState200.ts +2 -2
  518. package/src/generated/model/getVariable200.ts +4 -4
  519. package/src/generated/model/getVariable200Preview.ts +2 -2
  520. package/src/generated/model/getVariable200Primary.ts +2 -2
  521. package/src/generated/model/getVariableParams.ts +3 -1
  522. package/src/generated/model/getVariables200.ts +4 -4
  523. package/src/generated/model/getVariables200Preview.ts +2 -2
  524. package/src/generated/model/getVariables200Primary.ts +2 -2
  525. package/src/generated/model/getVariablesParams.ts +3 -1
  526. package/src/generated/model/index.ts +138 -0
  527. package/src/generated/model/initClaim201.ts +3 -3
  528. package/src/generated/model/initClaim409.ts +2 -2
  529. package/src/generated/model/issueChallenge201.ts +9 -7
  530. package/src/generated/model/issueChallenge201State.ts +1 -1
  531. package/src/generated/model/issueChallengeBody.ts +2 -2
  532. package/src/generated/model/listBrandingParams.ts +3 -1
  533. package/src/generated/model/listDeployments200DeploymentsItem.ts +19 -15
  534. package/src/generated/model/listDeployments200DeploymentsItemMetadata.ts +1 -1
  535. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +15 -15
  536. package/src/generated/model/listDeployments200DeploymentsItemReleaseMetadata.ts +8 -8
  537. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +13 -12
  538. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +3 -3
  539. package/src/generated/model/listDeployments200DeploymentsItemStatus.ts +4 -3
  540. package/src/generated/model/listDeploymentsExpandItem.ts +4 -4
  541. package/src/generated/model/listDeploymentsParams.ts +3 -1
  542. package/src/generated/model/listEvents200.ts +9 -2
  543. package/src/generated/model/listEvents200DataItem.ts +1984 -1323
  544. package/src/generated/model/listEventsParams.ts +53 -6
  545. package/src/generated/model/listEventsStatusClassItem.ts +18 -0
  546. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +22 -10
  547. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +47 -26
  548. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionAudience.ts +1 -1
  549. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +2 -2
  550. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +46 -28
  551. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +9 -7
  552. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  553. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +11 -10
  554. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -1
  555. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesKind.ts +4 -3
  556. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitions.ts +40 -20
  557. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  558. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  559. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +2 -2
  560. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaMetadata.ts +2 -1
  561. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaSchema.ts +21 -20
  562. package/src/generated/model/listFlowDefinitionsExpandItem.ts +2 -2
  563. package/src/generated/model/listFlowDefinitionsParams.ts +8 -6
  564. package/src/generated/model/listIdpRevisions200.ts +1 -2
  565. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +10 -9
  566. package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +7 -7
  567. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +1 -1
  568. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +7 -7
  569. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  570. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +1 -1
  571. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +1 -1
  572. package/src/generated/model/listIdpRevisionsParams.ts +3 -1
  573. package/src/generated/model/listInvitations200.ts +20 -0
  574. package/src/generated/model/listInvitations200InvitationsItem.ts +126 -0
  575. package/src/generated/model/listInvitations400.ts +20 -0
  576. package/src/generated/model/listInvitations400Details.ts +12 -0
  577. package/src/generated/model/listInvitations401.ts +20 -0
  578. package/src/generated/model/listInvitations401Details.ts +12 -0
  579. package/src/generated/model/listInvitations403.ts +20 -0
  580. package/src/generated/model/listInvitations403Details.ts +12 -0
  581. package/src/generated/model/listInvitations404.ts +20 -0
  582. package/src/generated/model/listInvitations404Details.ts +12 -0
  583. package/src/generated/model/listInvitationsDefault.ts +72 -0
  584. package/src/generated/model/listInvitationsParams.ts +42 -0
  585. package/src/generated/model/listInvitationsStatus.ts +17 -0
  586. package/src/generated/model/listInvitationsType.ts +15 -0
  587. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +2 -2
  588. package/src/generated/model/listMyProjects200.ts +1 -1
  589. package/src/generated/model/listMyProjects200ProjectsItem.ts +2 -3
  590. package/src/generated/model/listMyProjects200ProjectsItemOriginsItem.ts +17 -5
  591. package/src/generated/model/listMyProjects200ProjectsItemOriginsItemKind.ts +4 -0
  592. package/src/generated/model/listMyProjects200ProjectsItemPasswordHash.ts +12 -15
  593. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  594. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParams.ts +15 -18
  595. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  596. package/src/generated/model/listMyProjectsOrder.ts +15 -0
  597. package/src/generated/model/listMyProjectsParams.ts +10 -0
  598. package/src/generated/model/listMyTeams200TeamsItem.ts +4 -4
  599. package/src/generated/model/listPolicies200.ts +2 -2
  600. package/src/generated/model/listPolicies200PoliciesItem.ts +3 -3
  601. package/src/generated/model/listPoliciesParams.ts +3 -1
  602. package/src/generated/model/listPolicyRevisions200.ts +1 -1
  603. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +3 -3
  604. package/src/generated/model/listPolicyRevisionsParams.ts +3 -1
  605. package/src/generated/model/listPreviews200PreviewsItem.ts +4 -5
  606. package/src/generated/model/listProjectAdmins200AdminsItem.ts +3 -3
  607. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +13 -15
  608. package/src/generated/model/listProjectAdmins200AdminsItemUser.ts +5 -5
  609. package/src/generated/model/listReleases200.ts +1 -1
  610. package/src/generated/model/listReleases200ReleasesItem.ts +4 -4
  611. package/src/generated/model/listReleases200ReleasesItemMetadata.ts +8 -8
  612. package/src/generated/model/listReleasesParams.ts +4 -2
  613. package/src/generated/model/listSchemas200.ts +1 -1
  614. package/src/generated/model/listSchemas200SchemasItem.ts +4 -4
  615. package/src/generated/model/listSchemas200SchemasItemMetadata.ts +2 -1
  616. package/src/generated/model/listSchemas200SchemasItemSchema.ts +21 -20
  617. package/src/generated/model/listSchemasExpandItem.ts +2 -2
  618. package/src/generated/model/listSchemasParams.ts +7 -5
  619. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +2 -2
  620. package/src/generated/model/listUserTeams200TeamsItem.ts +4 -4
  621. package/src/generated/model/lookupInvitation200.ts +63 -0
  622. package/src/generated/model/lookupInvitation400.ts +20 -0
  623. package/src/generated/model/lookupInvitation400Details.ts +12 -0
  624. package/src/generated/model/lookupInvitation401.ts +20 -0
  625. package/src/generated/model/lookupInvitation401Details.ts +12 -0
  626. package/src/generated/model/lookupInvitation404.ts +20 -0
  627. package/src/generated/model/lookupInvitation404Details.ts +12 -0
  628. package/src/generated/model/lookupInvitation429.ts +20 -0
  629. package/src/generated/model/lookupInvitation429Details.ts +12 -0
  630. package/src/generated/model/lookupInvitationBody.ts +19 -0
  631. package/src/generated/model/lookupInvitationDefault.ts +72 -0
  632. package/src/generated/model/patchMyUser200.ts +28 -29
  633. package/src/generated/model/patchMyUser200Metadata.ts +10 -11
  634. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  635. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  636. package/src/generated/model/patchMyUser200TeamsItem.ts +4 -4
  637. package/src/generated/model/patchMyUserBody.ts +2 -2
  638. package/src/generated/model/patchProject200.ts +34 -30
  639. package/src/generated/model/patchProjectBody.ts +3 -3
  640. package/src/generated/model/patchProjectBodyPasswordHash.ts +15 -18
  641. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +1 -1
  642. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +15 -18
  643. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +4 -4
  644. package/src/generated/model/patchUserByID200.ts +28 -29
  645. package/src/generated/model/patchUserByID200Metadata.ts +10 -11
  646. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  647. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  648. package/src/generated/model/patchUserByID200TeamsItem.ts +4 -4
  649. package/src/generated/model/patchUserByIDBody.ts +21 -13
  650. package/src/generated/model/publishPolicy201.ts +3 -3
  651. package/src/generated/model/publishPolicyBody.ts +3 -3
  652. package/src/generated/model/publishPolicyParams.ts +3 -1
  653. package/src/generated/model/queryGrants200GrantsItem.ts +14 -14
  654. package/src/generated/model/queryGrants200GrantsItemObjectType.ts +1 -1
  655. package/src/generated/model/queryGrants200GrantsItemRelation.ts +1 -1
  656. package/src/generated/model/queryGrants200GrantsItemTeam.ts +7 -7
  657. package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +2 -2
  658. package/src/generated/model/queryGrants200GrantsItemUser.ts +5 -5
  659. package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +10 -11
  660. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +11 -12
  661. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  662. package/src/generated/model/queryGrantsBody.ts +2 -3
  663. package/src/generated/model/queryGrantsBodyExpandItem.ts +8 -5
  664. package/src/generated/model/queryGrantsBodyFilterItem.ts +5 -6
  665. package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +4 -3
  666. package/src/generated/model/queryGrantsDefault.ts +0 -9
  667. package/src/generated/model/queryGrantsParams.ts +3 -1
  668. package/src/generated/model/queryIdps200.ts +1 -1
  669. package/src/generated/model/queryIdps200IdpsItem.ts +10 -9
  670. package/src/generated/model/queryIdps200IdpsItemDefinition.ts +7 -7
  671. package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +1 -1
  672. package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +7 -7
  673. package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  674. package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +1 -1
  675. package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +1 -1
  676. package/src/generated/model/queryIdpsBody.ts +2 -2
  677. package/src/generated/model/queryIdpsBodyFilterItem.ts +7 -8
  678. package/src/generated/model/queryIdpsBodyFilterItemField.ts +2 -2
  679. package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +4 -3
  680. package/src/generated/model/queryIdpsBodySorting.ts +2 -2
  681. package/src/generated/model/queryIdpsBodySortingField.ts +2 -2
  682. package/src/generated/model/queryIdpsParams.ts +3 -1
  683. package/src/generated/model/queryProjects200ProjectsItem.ts +2 -3
  684. package/src/generated/model/queryProjects200ProjectsItemOriginsItem.ts +17 -5
  685. package/src/generated/model/queryProjects200ProjectsItemOriginsItemKind.ts +4 -0
  686. package/src/generated/model/queryProjects200ProjectsItemPasswordHash.ts +12 -15
  687. package/src/generated/model/queryProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  688. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParams.ts +15 -18
  689. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  690. package/src/generated/model/queryProjectsBodyFilterItem.ts +5 -6
  691. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +4 -3
  692. package/src/generated/model/querySessions200SessionsItem.ts +16 -16
  693. package/src/generated/model/querySessions200SessionsItemFactorsItem.ts +2 -2
  694. package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +5 -5
  695. package/src/generated/model/querySessions200SessionsItemState.ts +1 -1
  696. package/src/generated/model/querySessions200SessionsItemUser.ts +5 -5
  697. package/src/generated/model/querySessionsBodyFilterItem.ts +6 -7
  698. package/src/generated/model/querySessionsBodyFilterItemField.ts +1 -1
  699. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +4 -3
  700. package/src/generated/model/querySessionsBodySorting.ts +2 -3
  701. package/src/generated/model/querySessionsBodySortingField.ts +2 -3
  702. package/src/generated/model/querySessionsParams.ts +3 -1
  703. package/src/generated/model/queryTeams200TeamsItem.ts +2 -2
  704. package/src/generated/model/queryTeams200TeamsItemStatus.ts +2 -2
  705. package/src/generated/model/queryTeamsBodyFilterItem.ts +5 -6
  706. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +4 -3
  707. package/src/generated/model/queryTeamsParams.ts +2 -2
  708. package/src/generated/model/queryUsers200UsersItem.ts +28 -29
  709. package/src/generated/model/queryUsers200UsersItemMetadata.ts +10 -11
  710. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeam.ts +11 -12
  711. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeamStatus.ts +2 -2
  712. package/src/generated/model/queryUsers200UsersItemTeamsItem.ts +4 -4
  713. package/src/generated/model/queryUsersBody.ts +2 -2
  714. package/src/generated/model/queryUsersBodyExpandItem.ts +8 -8
  715. package/src/generated/model/queryUsersBodyFilterItem.ts +23 -17
  716. package/src/generated/model/queryUsersBodyFilterItemField.ts +19 -11
  717. package/src/generated/model/queryUsersBodyFilterItemOperation.ts +4 -3
  718. package/src/generated/model/queryUsersBodySorting.ts +4 -5
  719. package/src/generated/model/queryUsersBodySortingField.ts +4 -5
  720. package/src/generated/model/queryUsersParams.ts +2 -2
  721. package/src/generated/model/rejectInvitation200.ts +126 -0
  722. package/src/generated/model/rejectInvitation400.ts +20 -0
  723. package/src/generated/model/rejectInvitation400Details.ts +12 -0
  724. package/src/generated/model/rejectInvitation401.ts +20 -0
  725. package/src/generated/model/rejectInvitation401Details.ts +12 -0
  726. package/src/generated/model/rejectInvitation403.ts +20 -0
  727. package/src/generated/model/rejectInvitation403Details.ts +12 -0
  728. package/src/generated/model/rejectInvitation404.ts +20 -0
  729. package/src/generated/model/rejectInvitation404Details.ts +12 -0
  730. package/src/generated/model/rejectInvitation429.ts +20 -0
  731. package/src/generated/model/rejectInvitation429Details.ts +12 -0
  732. package/src/generated/model/rejectInvitationBody.ts +19 -0
  733. package/src/generated/model/rejectInvitationDefault.ts +72 -0
  734. package/src/generated/model/removeOriginBody.ts +2 -2
  735. package/src/generated/model/revokeRelease200.ts +15 -15
  736. package/src/generated/model/revokeRelease200Metadata.ts +8 -8
  737. package/src/generated/model/revokeRelease200PointersItem.ts +13 -12
  738. package/src/generated/model/revokeRelease200PointersItemKind.ts +3 -3
  739. package/src/generated/model/revokeRelease409DetailsOriginsItem.ts +3 -0
  740. package/src/generated/model/revokeRelease409DetailsOriginsItemKind.ts +18 -0
  741. package/src/generated/model/revokeReleaseParams.ts +3 -1
  742. package/src/generated/model/rollbackDeployment200.ts +19 -15
  743. package/src/generated/model/rollbackDeployment200Metadata.ts +1 -1
  744. package/src/generated/model/rollbackDeployment200Release.ts +15 -15
  745. package/src/generated/model/rollbackDeployment200ReleaseMetadata.ts +8 -8
  746. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +13 -12
  747. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +3 -3
  748. package/src/generated/model/rollbackDeployment200Status.ts +4 -3
  749. package/src/generated/model/rollbackDeployment201.ts +19 -15
  750. package/src/generated/model/rollbackDeployment201Metadata.ts +1 -1
  751. package/src/generated/model/rollbackDeployment201Release.ts +15 -15
  752. package/src/generated/model/rollbackDeployment201ReleaseMetadata.ts +8 -8
  753. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +13 -12
  754. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +3 -3
  755. package/src/generated/model/rollbackDeployment201Status.ts +4 -3
  756. package/src/generated/model/rollbackDeployment409.ts +42 -40
  757. package/src/generated/model/rollbackDeploymentDefault.ts +0 -9
  758. package/src/generated/model/rollbackDeploymentParams.ts +3 -1
  759. package/src/generated/model/search200.ts +27 -0
  760. package/src/generated/model/search200IncompleteTypesItem.ts +30 -0
  761. package/src/generated/model/search200ResultsItem.ts +54 -0
  762. package/src/generated/model/search200ResultsItemType.ts +30 -0
  763. package/src/generated/model/search400.ts +20 -0
  764. package/src/generated/model/search400Details.ts +12 -0
  765. package/src/generated/model/search401.ts +20 -0
  766. package/src/generated/model/search401Details.ts +12 -0
  767. package/src/generated/model/search403.ts +20 -0
  768. package/src/generated/model/search403Details.ts +12 -0
  769. package/src/generated/model/search404.ts +20 -0
  770. package/src/generated/model/search404Details.ts +12 -0
  771. package/src/generated/model/searchBody.ts +33 -0
  772. package/src/generated/model/searchBodyTypesItem.ts +30 -0
  773. package/src/generated/model/searchDefault.ts +198 -0
  774. package/src/generated/model/searchParams.ts +16 -0
  775. package/src/generated/model/setUserPasswordBody.ts +1 -1
  776. package/src/generated/model/setUserPasswordDefault.ts +63 -0
  777. package/src/generated/model/submitFlowStep200.ts +16 -12
  778. package/src/generated/model/submitFlowStep200Branding.ts +26 -24
  779. package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -7
  780. package/src/generated/model/submitFlowStep200BrandingShape.ts +1 -1
  781. package/src/generated/model/submitFlowStep200BrandingTheme.ts +5 -7
  782. package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +8 -8
  783. package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +63 -62
  784. package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +8 -8
  785. package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +63 -62
  786. package/src/generated/model/submitFlowStep200BrandingTypography.ts +5 -5
  787. package/src/generated/model/submitFlowStep200Step.ts +36 -31
  788. package/src/generated/model/submitFlowStep200StepActionsItem.ts +3 -3
  789. package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +1 -1
  790. package/src/generated/model/submitFlowStep200StepChallenge.ts +4 -3
  791. package/src/generated/model/submitFlowStep200StepComplete.ts +1 -1
  792. package/src/generated/model/submitFlowStep200StepFieldsItem.ts +19 -15
  793. package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +7 -3
  794. package/src/generated/model/submitFlowStep200StepFieldsItemValidation.ts +2 -2
  795. package/src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  796. package/src/generated/model/submitFlowStep200StepGates.ts +10 -8
  797. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +1 -1
  798. package/src/generated/model/submitFlowStep200StepGatesKind.ts +4 -3
  799. package/src/generated/model/submitFlowStep200StepIdentifier.ts +6 -6
  800. package/src/generated/model/submitFlowStep200StepSsoProvidersItem.ts +1 -1
  801. package/src/generated/model/submitFlowStep200StepTexts.ts +1 -1
  802. package/src/generated/model/submitFlowStep400.ts +16 -12
  803. package/src/generated/model/submitFlowStep400Branding.ts +26 -24
  804. package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -7
  805. package/src/generated/model/submitFlowStep400BrandingShape.ts +1 -1
  806. package/src/generated/model/submitFlowStep400BrandingTheme.ts +5 -7
  807. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +8 -8
  808. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +63 -62
  809. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +8 -8
  810. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +63 -62
  811. package/src/generated/model/submitFlowStep400BrandingTypography.ts +5 -5
  812. package/src/generated/model/submitFlowStep400Step.ts +36 -31
  813. package/src/generated/model/submitFlowStep400StepActionsItem.ts +3 -3
  814. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +1 -1
  815. package/src/generated/model/submitFlowStep400StepChallenge.ts +4 -3
  816. package/src/generated/model/submitFlowStep400StepComplete.ts +1 -1
  817. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +19 -15
  818. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +7 -3
  819. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +2 -2
  820. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +1 -1
  821. package/src/generated/model/submitFlowStep400StepGates.ts +10 -8
  822. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +1 -1
  823. package/src/generated/model/submitFlowStep400StepGatesKind.ts +4 -3
  824. package/src/generated/model/submitFlowStep400StepIdentifier.ts +6 -6
  825. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +1 -1
  826. package/src/generated/model/submitFlowStep400StepTexts.ts +1 -1
  827. package/src/generated/model/submitFlowStepBody.ts +10 -7
  828. package/src/generated/model/submitFlowStepBodyChallengeResponse.ts +2 -2
  829. package/src/generated/model/submitFlowStepBodyGateProofs.ts +1 -1
  830. package/src/generated/model/submitFlowStepDefault.ts +18 -0
  831. package/src/generated/model/updateTeam200.ts +2 -2
  832. package/src/generated/model/updateTeam200Status.ts +2 -2
  833. package/src/generated/model/updateTeamBody.ts +1 -1
  834. package/src/generated/model/updateVariables200.ts +4 -4
  835. package/src/generated/model/updateVariables200Preview.ts +2 -2
  836. package/src/generated/model/updateVariables200Primary.ts +2 -2
  837. package/src/generated/model/updateVariablesBody.ts +14 -14
  838. package/src/generated/model/updateVariablesParams.ts +3 -1
  839. package/src/generated/model/userProperty.ts +11 -9
  840. package/src/generated/model/userPropertyProperties.ts +2 -2
  841. package/src/generated/model/userPropertyXUnique.ts +1 -1
  842. package/src/generated/model/verifyChallengeProof200.ts +23 -22
  843. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +9 -7
  844. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +1 -1
  845. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +2 -2
  846. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +5 -5
  847. package/src/generated/model/verifyChallengeProof200State.ts +2 -2
  848. package/src/generated/model/verifyChallengeProofBody.ts +2 -2
  849. package/src/generated/operations.ts +508 -152
  850. package/src/generated/paging.ts +5 -0
  851. package/src/runtime/api-factory.spec.ts +50 -0
  852. package/src/runtime/api-factory.ts +11 -2
  853. package/src/runtime/base-url.spec.ts +1 -1
  854. package/src/runtime/fetch.ts +16 -0
  855. package/src/runtime/paged.spec.ts +11 -0
  856. package/src/runtime/paged.ts +9 -8
  857. package/src/runtime/paging.spec.ts +164 -39
  858. package/src/runtime/paging.ts +162 -43
  859. package/dist/api-factory-C5b1Gqwv.mjs.map +0 -1
  860. package/dist/api-factory-Dt5lUjyu.d.mts.map +0 -1
  861. package/dist/fetch-B-lgjlrf.d.mts.map +0 -1
  862. package/dist/index-DGQY1rfH.d.mts.map +0 -1
  863. package/dist/zitadelNextGen-BVO4sdKD.d.mts +0 -1367
  864. package/dist/zitadelNextGen-BVO4sdKD.d.mts.map +0 -1
@@ -8,13 +8,13 @@
8
8
  import type { CreateGrant201TeamStatus } from './createGrant201TeamStatus.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 CreateGrant201Team = {
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 CreateGrant201Team = {
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?: CreateGrant201TeamStatus;
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 CreateGrant201TeamStatus = typeof CreateGrant201TeamStatus[keyof typeof CreateGrant201TeamStatus];
16
16
 
@@ -9,10 +9,10 @@ import type { CreateGrant201UserAttributes } from './createGrant201UserAttribute
9
9
  import type { CreateGrant201UserMetadata } from './createGrant201UserMetadata.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 CreateGrant201User = {
18
18
  /** @pattern ^user_[a-zA-Z0-9_-]+$ */
@@ -31,8 +31,8 @@ export type CreateGrant201User = {
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 CreateGrant201UserMetadata = {
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?: CreateGrant201UserMetadataLifecycleOwnerTeam;
45
44
  };
@@ -9,21 +9,20 @@ import type { CreateGrant201UserMetadataLifecycleOwnerTeamStatus } from './creat
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 CreateGrant201UserMetadataLifecycleOwnerTeam = {
29
28
  /** The unique identifier of the team. */
@@ -33,8 +32,8 @@ export type CreateGrant201UserMetadataLifecycleOwnerTeam = {
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: CreateGrant201UserMetadataLifecycleOwnerTeamStatus;
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 CreateGrant201UserMetadataLifecycleOwnerTeamStatus = typeof CreateGrant201UserMetadataLifecycleOwnerTeamStatus[keyof typeof CreateGrant201UserMetadataLifecycleOwnerTeamStatus];
16
16
 
@@ -10,29 +10,29 @@ import type { CreateGrantBodyTeam } from './createGrantBodyTeam.ts';
10
10
  import type { CreateGrantBodyUser } from './createGrantBodyUser.ts';
11
11
 
12
12
  /**
13
- * Bind a user or a team. Exactly one of `user` or `team`. Shared fields are
14
- * `relation` and optional `expires_at`. Sending both locators or neither is
15
- * `grant.invalid`.
13
+ * Gives a user or a team a role on the project. Send exactly one of `user` or
14
+ * `team`. Shared fields are `relation` and optional `expires_at`. Sending both
15
+ * locators or neither is `grant.invalid`.
16
16
  */
17
17
  export type CreateGrantBody = {
18
- /** Catalog relation on `object_type` `project`. `team` (owning-team) is not allowed. */
18
+ /** The role on the project (`object_type` `project`). `team` (owning-team) is not allowed. */
19
19
  relation: CreateGrantBodyRelation;
20
20
  /**
21
21
  * Optional expiry. Must be in the future when set. Expiry stops
22
- * authorization but does not free the unique binding; DELETE the grant
23
- * before posting the same principal and relation again.
22
+ * authorization but does not free the binding: delete the grant
23
+ * before creating the same principal and relation again.
24
24
  */
25
25
  expires_at?: string;
26
26
  /**
27
- * Name a user with exactly one of `user_id` or `identifier`. Sending both
28
- * or neither is `grant.invalid`. Unknown properties are rejected by
29
- * `additionalProperties: false` as `req.invalid` before the handler runs.
27
+ * Names a user with exactly one of `user_id` or `identifier`. Sending both
28
+ * or neither is `grant.invalid`. Unknown properties are rejected as
29
+ * `req.invalid`.
30
30
  */
31
31
  user?: CreateGrantBodyUser;
32
32
  /**
33
- * Name a team with exactly one of `team_id` or `name`. Sending both
34
- * or neither is `grant.invalid`. Unknown properties are rejected by
35
- * `additionalProperties: false` as `req.invalid` before the handler runs.
33
+ * Names a team with exactly one of `team_id` or `name`. Sending both
34
+ * or neither is `grant.invalid`. Unknown properties are rejected as
35
+ * `req.invalid`.
36
36
  */
37
37
  team?: CreateGrantBodyTeam;
38
38
  };
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Catalog relation on `object_type` `project`. `team` (owning-team) is not allowed.
10
+ * The role on the project (`object_type` `project`). `team` (owning-team) is not allowed.
11
11
  */
12
12
  export type CreateGrantBodyRelation = typeof CreateGrantBodyRelation[keyof typeof CreateGrantBodyRelation];
13
13
 
@@ -7,9 +7,9 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Name a team with exactly one of `team_id` or `name`. Sending both
11
- * or neither is `grant.invalid`. Unknown properties are rejected by
12
- * `additionalProperties: false` as `req.invalid` before the handler runs.
10
+ * Names a team with exactly one of `team_id` or `name`. Sending both
11
+ * or neither is `grant.invalid`. Unknown properties are rejected as
12
+ * `req.invalid`.
13
13
  */
14
14
  export type CreateGrantBodyTeam = {
15
15
  /** @pattern ^[a-zA-Z0-9_-]+$ */
@@ -7,17 +7,17 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Name a user with exactly one of `user_id` or `identifier`. Sending both
11
- * or neither is `grant.invalid`. Unknown properties are rejected by
12
- * `additionalProperties: false` as `req.invalid` before the handler runs.
10
+ * Names a user with exactly one of `user_id` or `identifier`. Sending both
11
+ * or neither is `grant.invalid`. Unknown properties are rejected as
12
+ * `req.invalid`.
13
13
  */
14
14
  export type CreateGrantBodyUser = {
15
15
  /** @pattern ^user_[a-zA-Z0-9_-]+$ */
16
16
  user_id?: string;
17
17
  /**
18
18
  * The user schema's designated identifier (`x-identifier`), looked
19
- * up in the platform project. Create answers 202 with no body on
20
- * every outcome: a hit, a duplicate, a miss, and several matches are
19
+ * up in the platform project. Create answers `202` with no body on
20
+ * every outcome. A hit, a duplicate, a miss and several matches are
21
21
  * indistinguishable, and a miss or several matches write nothing.
22
22
  * The server logs the lookup outcome. Granting the session caller's
23
23
  * own resolved user is `grant.invalid`.
@@ -85,6 +85,15 @@ export type CreateGrantDefault = {
85
85
  message: string;
86
86
  /** Additional error-specific context. */
87
87
  details?: { [key: string]: unknown };
88
+ } & {
89
+ code: 'grant.project_unclaimed';
90
+ } | {
91
+ /** Stable machine-readable error code. */
92
+ code: string;
93
+ /** Human-readable explanation of the error. */
94
+ message: string;
95
+ /** Additional error-specific context. */
96
+ details?: { [key: string]: unknown };
88
97
  } & {
89
98
  code: 'internal';
90
99
  } | {
@@ -8,7 +8,9 @@
8
8
 
9
9
  export type CreateGrantParams = {
10
10
  /**
11
- * The unique identifier of the project
11
+ * The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
12
+ * it as "Project id" in its summary and as `project_id` with `--json`, and
13
+ * writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
12
14
  * @pattern ^[a-zA-Z0-9_-]+$
13
15
  */
14
16
  project_id: string;
@@ -7,25 +7,24 @@
7
7
  */
8
8
 
9
9
  /**
10
- * The handoff token and metadata for session exchange.
10
+ * The handoff token and its expiry.
11
11
  *
12
- * This is a short-lived credential (TTL ≤ 60 seconds) that the client must exchange
13
- * at POST /sessions/exchange to receive the final session and session_token.
14
- * The handoff token is single-use and audience-bound to the project.
12
+ * The handoff token is a short-lived credential, valid for 60 seconds at most.
13
+ * The client exchanges it at `POST /sessions/exchange` to receive the final
14
+ * session and `session_token`. It is single-use and bound to the project.
15
15
  */
16
16
  export type CreateHandoff200 = {
17
17
  /**
18
18
  * The short-lived handoff token for session exchange.
19
19
  *
20
- * Exchange at: POST /sessions/exchange
20
+ * Exchange at: `POST /sessions/exchange`
21
21
  *
22
22
  * Requirements:
23
- * - Single-use (atomic GETDEL on exchange)
24
- * - TTL ≤ 60 seconds
25
- * - Audience-bound to project (exchange requires sk_proj_… for matching project)
26
- * - Idempotency-safe (Category B, 5-minute window)
23
+ * - Single-use
24
+ * - Valid for 60 seconds at most
25
+ * - Bound to the project: the exchange needs `sk_proj_…` of the matching project
27
26
  */
28
27
  handoff_token: string;
29
- /** When this handoff token expires */
28
+ /** When this handoff token expires. */
30
29
  expires_at: string;
31
30
  };
@@ -8,30 +8,31 @@
8
8
  import type { CreateIdp200Definition } from './createIdp200Definition.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 CreateIdp200 = {
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: CreateIdp200Definition;
@@ -13,14 +13,14 @@ import type { CreateIdp200DefinitionVerifiedClaims } from './createIdp200Definit
13
13
 
14
14
  export type CreateIdp200Definition = {
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: CreateIdp200DefinitionProtocol;
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 CreateIdp200Definition = {
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?: CreateIdp200DefinitionClaimMapping;
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?: CreateIdp200DefinitionVerifiedClaims;
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?: CreateIdp200DefinitionProvisioning;
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?: CreateIdp200DefinitionOidc;
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 CreateIdp200DefinitionClaimMapping = {[key: string]: string};
@@ -9,11 +9,11 @@ import type { CreateIdp200DefinitionOidcStaticAuthorizeParameters } from './crea
9
9
  import type { CreateIdp200DefinitionOidcTokenEndpointAuthMethod } from './createIdp200DefinitionOidcTokenEndpointAuthMethod.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 CreateIdp200DefinitionOidc = {
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 CreateIdp200DefinitionOidc = {
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?: CreateIdp200DefinitionOidcTokenEndpointAuthMethod;
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?: CreateIdp200DefinitionOidcStaticAuthorizeParameters;
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 CreateIdp200DefinitionOidcStaticAuthorizeParameters = {[key: string]: string};
@@ -8,7 +8,7 @@
8
8
  import type { CreateIdp200DefinitionProvisioningCreation } from './createIdp200DefinitionProvisioningCreation.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 CreateIdp200DefinitionProvisioning = {
14
14
  creation?: CreateIdp200DefinitionProvisioningCreation;
@@ -7,6 +7,6 @@
7
7
  */
8
8
 
9
9
  /**
10
- * 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.
10
+ * 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.
11
11
  */
12
12
  export type CreateIdp200DefinitionVerifiedClaims = {[key: string]: boolean | string};
@@ -8,30 +8,31 @@
8
8
  import type { CreateIdp201Definition } from './createIdp201Definition.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 CreateIdp201 = {
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: CreateIdp201Definition;
@@ -13,14 +13,14 @@ import type { CreateIdp201DefinitionVerifiedClaims } from './createIdp201Definit
13
13
 
14
14
  export type CreateIdp201Definition = {
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: CreateIdp201DefinitionProtocol;
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 CreateIdp201Definition = {
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?: CreateIdp201DefinitionClaimMapping;
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?: CreateIdp201DefinitionVerifiedClaims;
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?: CreateIdp201DefinitionProvisioning;
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?: CreateIdp201DefinitionOidc;
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 CreateIdp201DefinitionClaimMapping = {[key: string]: string};