@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
@@ -10,25 +10,23 @@ import type { PatchUserByID200Metadata } from './patchUserByID200Metadata.ts';
10
10
  import type { PatchUserByID200TeamsItem } from './patchUserByID200TeamsItem.ts';
11
11
 
12
12
  /**
13
- * A user represents an individual identity in the system. It can be used to
14
- * represent a human user, but also a service account or any other type of
15
- * identity.
13
+ * A user is an individual identity in the system. It can represent a person, a
14
+ * service account or any other type of identity.
16
15
  *
17
16
  * `attributes` is the document that satisfies the user schema named by
18
- * `schema`: its property names and types are defined entirely by that schema,
19
- * and it is what the schema validates. The rest of the object — `id`,
20
- * `schema`, `metadata` — is the server-owned envelope. Keeping the two apart
21
- * means a schema may name a property `id` or `metadata` without colliding with
22
- * the envelope, and closed-world keywords (`additionalProperties: false`,
23
- * `propertyNames`, `unevaluatedProperties`) behave as their author expects.
17
+ * `schema`. That schema defines its property names and types and validates it.
18
+ * The rest of the object (`id`, `schema`, `metadata`) is the server-owned
19
+ * envelope. Keeping the two apart means a schema may name a property `id` or
20
+ * `metadata` without colliding with the envelope. It also means closed-world
21
+ * keywords (`additionalProperties: false`, `propertyNames`,
22
+ * `unevaluatedProperties`) behave as their author expects.
24
23
  */
25
24
  export type PatchUserByID200 = {
26
25
  /** @pattern ^user_[a-zA-Z0-9_-]+$ */
27
26
  id: string;
28
27
  /**
29
- * The schema that defines the content of `attributes`. These schemas can be
30
- * created using the `/schemas` endpoint. A default schema is provided.
31
- * This schema can be retrieved using the same endpoint.
28
+ * The ID of the schema that defines the content of `attributes`.
29
+ * `getSchemaById` (`GET /schemas/{id}`) returns it, and `createSchema` (`POST /schemas`) creates one.
32
30
  */
33
31
  schema: string;
34
32
  /**
@@ -39,39 +37,40 @@ export type PatchUserByID200 = {
39
37
  metadata: PatchUserByID200Metadata;
40
38
  /**
41
39
  * The current value of the user schema's designated identifier
42
- * (`x-identifier`), resolved live at read time. Absent when the schema
40
+ * (`x-identifier`), resolved when the user is read. Absent when the schema
43
41
  * designates no identifier or the user carries no value for it.
44
42
  */
45
43
  readonly identifier?: string;
46
44
  /**
47
- * The schema property `identifier` came from, so clients can reach the
48
- * property's schema for semantics (a mailto link, a field label)
49
- * instead of guessing from the value. Present exactly when
50
- * `identifier` is.
45
+ * The schema property `identifier` came from. With it, a client can read
46
+ * the property's definition for its meaning (a mailto link, a field label)
47
+ * instead of guessing from the value. Present exactly when `identifier` is.
51
48
  */
52
49
  readonly identifier_property?: string;
53
50
  /**
54
- * The `x-display` rendering — the designated properties' values joined
55
- * in list order, resolved live at read time. Purely presentational.
51
+ * The `x-display` rendering: the designated properties' values joined in
52
+ * list order, resolved when the user is read. It is for display only.
56
53
  * Absent when the schema designates no display properties or the user
57
- * carries no values for them. Clients render `display`, falling back
58
- * to `identifier`, then `id`.
54
+ * carries no values for them. Clients render `display`, falling back to
55
+ * `identifier`, then `id`.
59
56
  */
60
57
  readonly display?: string;
61
58
  /**
62
- * The user's team memberships, present only when the request asked for them with
63
- * `expand: ["teams"]` (ADR 059). Absent means it was not requested; `[]`
64
- * means the user has none.
59
+ * The user's team memberships, present only when the request asked for them
60
+ * with `expand: ["teams"]`. Absent means it was not requested; `[]` means
61
+ * the user has none.
65
62
  *
66
- * Deliberately outside `metadata`: memberships are a related collection, not
67
- * part of the server-owned envelope, and it is a different concept from
68
- * `metadata.lifecycle_owner_team_id` (ADR 024).
63
+ * Memberships sit outside `metadata`: they are a related collection, not
64
+ * part of the server-owned envelope, and a different concept from
65
+ * `metadata.lifecycle_owner_team_id`, which names the one team that owns the
66
+ * user's lifecycle.
69
67
  */
70
68
  readonly teams?: readonly PatchUserByID200TeamsItem[];
71
69
  /**
72
70
  * True when the user is on more teams than the embedded list carries. The
73
- * embedded list is capped and cannot be paged; read them all at
74
- * `GET /users/{user_id}/teams`. Present only alongside `teams`.
71
+ * embedded list is capped and cannot be paged; read every team with
72
+ * `listUserTeams` (`GET /users/{user_id}/teams`). Present only alongside
73
+ * `teams`.
75
74
  */
76
75
  readonly teams_truncated?: boolean;
77
76
  };
@@ -20,26 +20,25 @@ export type PatchUserByID200Metadata = {
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?: PatchUserByID200MetadataLifecycleOwnerTeam;
45
44
  };
@@ -9,21 +9,20 @@ import type { PatchUserByID200MetadataLifecycleOwnerTeamStatus } from './patchUs
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 PatchUserByID200MetadataLifecycleOwnerTeam = {
29
28
  /** The unique identifier of the team. */
@@ -33,8 +32,8 @@ export type PatchUserByID200MetadataLifecycleOwnerTeam = {
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: PatchUserByID200MetadataLifecycleOwnerTeamStatus;
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 PatchUserByID200MetadataLifecycleOwnerTeamStatus = typeof PatchUserByID200MetadataLifecycleOwnerTeamStatus[keyof typeof PatchUserByID200MetadataLifecycleOwnerTeamStatus];
16
16
 
@@ -8,13 +8,13 @@
8
8
  import type { PatchUserByID200TeamsItemMembershipStatus } from './patchUserByID200TeamsItemMembershipStatus.ts';
9
9
 
10
10
  /**
11
- * One entry of a user's team roster: a team the user belongs to, with the
11
+ * One entry of a user's team memberships: a team the user belongs to, with the
12
12
  * membership's participation state. The team's `name` travels with the entry, so
13
13
  * a page renders without a follow-up `POST /teams/query` per row.
14
14
  *
15
- * Roster membership is not lifecycle ownership. A user can belong to many teams
16
- * while still owning their own lifecycle — that single owning team is reported
17
- * as `metadata.lifecycle_owner_team_id` on the user itself.
15
+ * Membership is not lifecycle ownership. A user can belong to many teams while
16
+ * still owning their own lifecycle. That single owning team is reported as
17
+ * `metadata.lifecycle_owner_team_id` on the user itself.
18
18
  */
19
19
  export type PatchUserByID200TeamsItem = {
20
20
  /** The unique identifier of the team. */
@@ -18,25 +18,33 @@ import type { PatchUserByIDBodyAttributes } from './patchUserByIDBodyAttributes.
18
18
  * is validated as a whole against the user's schema, so a patch that deletes
19
19
  * or invalidates a required property is rejected with `req.invalid`.
20
20
  *
21
- * `schema` moves the user to another registered schema — the ADR 009 §4
22
- * upgrade mechanism. The target must be a revision of the user's current
23
- * schema (the same `objectType`), newer or older; a schema of another
24
- * `objectType` is rejected with `user.invalid`. A schema stored without an
25
- * `objectType` is a revision of nothing, so a user cannot move to or from
26
- * one. The request must be
27
- * self-contained: merged attributes are validated against the new schema
28
- * before commit, and every uniqueness claim is recomputed under the new
29
- * schema's annotations. Values removed by an earlier move are not restored
30
- * by moving back.
21
+ * `schema` moves the user to another registered schema, which is how a user
22
+ * upgrades to a newer schema revision. The target must be a revision of the
23
+ * user's current schema (the same `objectType`), newer or older; a schema of
24
+ * another `objectType` is rejected with `user.invalid`. A schema stored
25
+ * without an `objectType` is a revision of nothing, so a user cannot move to
26
+ * or from one. The request must be self-contained: merged attributes are
27
+ * validated against the new schema before commit, and every uniqueness claim
28
+ * is recomputed under the new schema's annotations. Values removed by an
29
+ * earlier move are not restored by moving back.
31
30
  */
32
31
  export type PatchUserByIDBody = {
33
32
  /**
34
- * The schema the user follows after this patch. Omit it to keep the
35
- * current schema. The schema must already be registered via `/schemas`
36
- * and be a revision of the user's current schema.
33
+ * The ID of the schema the user follows after this patch: the `id` that
34
+ * `createSchema` (`POST /schemas`) returns or `listSchemas` (`GET /schemas`) lists. Omit it to keep the
35
+ * current schema. The schema must already be registered and be a revision
36
+ * of the user's current schema.
37
37
  * @minLength 1
38
38
  */
39
39
  schema?: string;
40
+ /**
41
+ * Set to `true` to check the patch without applying it. The response is
42
+ * what the real request would answer now; a `200` holds the user as the
43
+ * patch would leave them, with `metadata.updated_at` unchanged. Leave it
44
+ * out to apply the patch. A server from before this field refuses the
45
+ * request with `400` and changes nothing.
46
+ */
47
+ dry_run?: boolean;
40
48
  /**
41
49
  * The changed attributes only. `null` deletes an attribute; omitted
42
50
  * keys are untouched.
@@ -7,9 +7,9 @@
7
7
  */
8
8
 
9
9
  /**
10
- * One revision of a project's policy for an operation (ADR 066), typed by
11
- * `operation`. `id` is shared by every revision of the operation's policy;
12
- * `revision_id` names this revision.
10
+ * One revision of a project's policy for an operation, typed by `operation`.
11
+ * `id` is shared by every revision of the operation's policy; `revision_id`
12
+ * names this revision.
13
13
  */
14
14
  export type PublishPolicy201 = {
15
15
  /**
@@ -8,9 +8,9 @@
8
8
 
9
9
  /**
10
10
  * One publish of the project's policy for an operation. `operation` selects
11
- * the operation's template, and `config` sets that template's settings; a
12
- * setting left out is off, and `{}` switches every rule off. The settings each
13
- * operation accepts are listed in the policy catalog.
11
+ * the operation's template, and `config` sets that template's settings. A
12
+ * setting left out is off, and `{}` switches every rule off. The policy catalog
13
+ * lists the settings each operation accepts.
14
14
  */
15
15
  export type PublishPolicyBody = {
16
16
  /** The operation the policy guards. */
@@ -8,7 +8,9 @@
8
8
 
9
9
  export type PublishPolicyParams = {
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;
@@ -11,19 +11,19 @@ import type { QueryGrants200GrantsItemTeam } from './queryGrants200GrantsItemTea
11
11
  import type { QueryGrants200GrantsItemUser } from './queryGrants200GrantsItemUser.ts';
12
12
 
13
13
  /**
14
- * A collaboration grant binding a user or a team to a project relation.
15
- * Discriminate on which of `user` or `team` is present. Those objects are
16
- * always refs (`user_id` / `team_id`); expand adds extra fields on the same
17
- * object rather than a sibling.
14
+ * A collaboration grant: it gives a user or a team a role on a project.
15
+ * Check which of `user` or `team` is present. Those objects are always refs
16
+ * (`user_id` / `team_id`); expand adds extra fields on the same object rather
17
+ * than a sibling.
18
18
  */
19
19
  export type QueryGrants200GrantsItem = {
20
20
  /** Managed assignment id (`asgn_<opaque>`). */
21
21
  id: string;
22
- /** Project this grant is scoped to. */
22
+ /** The project this grant is scoped to. */
23
23
  project_id: string;
24
- /** Catalog object type. Always `project` for this API. */
24
+ /** The type of object the role applies to. Always `project` for this API. */
25
25
  object_type: QueryGrants200GrantsItemObjectType;
26
- /** Catalog relation on the project. */
26
+ /** The role on the project. */
27
27
  relation: QueryGrants200GrantsItemRelation;
28
28
  /** When the grant was created. */
29
29
  created_at: string;
@@ -33,17 +33,17 @@ export type QueryGrants200GrantsItem = {
33
33
  */
34
34
  expires_at?: string | null;
35
35
  /**
36
- * User bound by this grant. Always a user-ref (`user_id`, never `id`).
36
+ * The user who holds this grant. Always a user-ref (`user_id`, never `id`).
37
37
  * `expand: ["principal"]` adds the User envelope fields `schema`,
38
- * `attributes`, and `metadata` on this same object. Missing users degrade to
39
- * `user_id` only, with or without expand (ADR 059 grant exception).
38
+ * `attributes` and `metadata` on this same object. A missing user degrades to
39
+ * `user_id` only, with or without expand.
40
40
  */
41
41
  user?: QueryGrants200GrantsItemUser;
42
42
  /**
43
- * Team bound by this grant. Always a team-ref (`team_id`, never `id`).
44
- * `expand: ["principal"]` adds `status`, `created_at`, and `updated_at` on
45
- * this same object. Missing teams degrade to `team_id` only, with or without
46
- * expand (ADR 059 grant exception).
43
+ * The team that holds this grant. Always a team-ref (`team_id`, never `id`).
44
+ * `expand: ["principal"]` adds `status`, `created_at` and `updated_at` on
45
+ * this same object. A missing team degrades to `team_id` only, with or
46
+ * without expand.
47
47
  */
48
48
  team?: QueryGrants200GrantsItemTeam;
49
49
  };
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Catalog object type. Always `project` for this API.
10
+ * The type of object the role applies to. Always `project` for this API.
11
11
  */
12
12
  export type QueryGrants200GrantsItemObjectType = typeof QueryGrants200GrantsItemObjectType[keyof typeof QueryGrants200GrantsItemObjectType];
13
13
 
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Catalog relation on the project.
10
+ * The role on the project.
11
11
  */
12
12
  export type QueryGrants200GrantsItemRelation = typeof QueryGrants200GrantsItemRelation[keyof typeof QueryGrants200GrantsItemRelation];
13
13
 
@@ -8,13 +8,13 @@
8
8
  import type { QueryGrants200GrantsItemTeamStatus } from './queryGrants200GrantsItemTeamStatus.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 QueryGrants200GrantsItemTeam = {
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 QueryGrants200GrantsItemTeam = {
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?: QueryGrants200GrantsItemTeamStatus;
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 QueryGrants200GrantsItemTeamStatus = typeof QueryGrants200GrantsItemTeamStatus[keyof typeof QueryGrants200GrantsItemTeamStatus];
16
16
 
@@ -9,10 +9,10 @@ import type { QueryGrants200GrantsItemUserAttributes } from './queryGrants200Gra
9
9
  import type { QueryGrants200GrantsItemUserMetadata } from './queryGrants200GrantsItemUserMetadata.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 QueryGrants200GrantsItemUser = {
18
18
  /** @pattern ^user_[a-zA-Z0-9_-]+$ */
@@ -31,8 +31,8 @@ export type QueryGrants200GrantsItemUser = {
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 QueryGrants200GrantsItemUserMetadata = {
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?: QueryGrants200GrantsItemUserMetadataLifecycleOwnerTeam;
45
44
  };
@@ -9,21 +9,20 @@ import type { QueryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus } fro
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 QueryGrants200GrantsItemUserMetadataLifecycleOwnerTeam = {
29
28
  /** The unique identifier of the team. */
@@ -33,8 +32,8 @@ export type QueryGrants200GrantsItemUserMetadataLifecycleOwnerTeam = {
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: QueryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus;
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 QueryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus = typeof QueryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus[keyof typeof QueryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus];
16
16
 
@@ -25,9 +25,8 @@ export type QueryGrantsBody = {
25
25
  */
26
26
  page_token?: string | null;
27
27
  /**
28
- * Extra principal fields to add onto each grant's `user` or `team`
29
- * (ADR 059 grant exception). Omit it and those objects stay refs. An
30
- * unrecognised value is rejected.
28
+ * Extra principal fields to add onto each grant's `user` or `team`. Omit
29
+ * it and those objects stay refs. An unrecognised value is rejected.
31
30
  */
32
31
  expand?: QueryGrantsBodyExpandItem[];
33
32
  sorting?: QueryGrantsBodySorting;
@@ -15,11 +15,14 @@
15
15
  * `team_id`) is always present. If the user or team cannot be loaded, the
16
16
  * object stays id-only — the same shape as not expanding.
17
17
  *
18
- * Expanding requires `user.read` and `team.read` in addition to
19
- * `project.read` for project secrets. Both are checked once for the whole
20
- * request. If the caller lacks either, the request is 403; extras are not
21
- * omitted silently. A user-bound Console session that already passed the
22
- * project Check may expand without those scopes.
18
+ * Expanding requires read on the whole of the principal's home project (the
19
+ * platform project when the server has one), checked once per home project.
20
+ * A project secret of another project never has it, and a session has it
21
+ * only with a grant that covers the whole of that project. A caller without
22
+ * it gets 403 `user.permission_denied`; extras
23
+ * are never omitted silently. Without `expand`, every caller who may read
24
+ * the grants sees `user_id`, `identifier` and `display`, or the team's
25
+ * `name`.
23
26
  */
24
27
  export type QueryGrantsBodyExpandItem = typeof QueryGrantsBodyExpandItem[keyof typeof QueryGrantsBodyExpandItem];
25
28
 
@@ -19,18 +19,17 @@ export type QueryGrantsBodyFilterItem = {
19
19
  */
20
20
  field: QueryGrantsBodyFilterItemField;
21
21
  /**
22
- * Filter-value specifies which values can be filtered by a query endpoint. This
23
- * is a union of types. When a value is specified which is not assignable to the
24
- * field which is being filtered, a 400 error will be returned.
22
+ * The value a query endpoint filters by. It is a union of types. A value that
23
+ * cannot be assigned to the field being filtered answers `400`.
25
24
  */
26
25
  value?: string | number | boolean | null;
27
26
  /**
28
- * Filter operation defines the operations which can be used when filtering on a
29
- * query endpoint.
27
+ * The operation a filter applies to a field on a query endpoint.
30
28
  *
31
29
  * On text fields, `contains` is a case-insensitive substring match. `equals`
32
30
  * compares the whole value and is case-sensitive unless the field documents
33
- * otherwise.
31
+ * otherwise. `starts_with` is a case-insensitive match on the start of the
32
+ * value, answered from an index; only the fields that name it accept it.
34
33
  */
35
34
  operation: QueryGrantsBodyFilterItemOperation;
36
35
  };
@@ -7,12 +7,12 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Filter operation defines the operations which can be used when filtering on a
11
- * query endpoint.
10
+ * The operation a filter applies to a field on a query endpoint.
12
11
  *
13
12
  * On text fields, `contains` is a case-insensitive substring match. `equals`
14
13
  * compares the whole value and is case-sensitive unless the field documents
15
- * otherwise.
14
+ * otherwise. `starts_with` is a case-insensitive match on the start of the
15
+ * value, answered from an index; only the fields that name it accept it.
16
16
  */
17
17
  export type QueryGrantsBodyFilterItemOperation = typeof QueryGrantsBodyFilterItemOperation[keyof typeof QueryGrantsBodyFilterItemOperation];
18
18
 
@@ -22,6 +22,7 @@ export const QueryGrantsBodyFilterItemOperation = {
22
22
  not_equals: 'not_equals',
23
23
  contains: 'contains',
24
24
  not_contains: 'not_contains',
25
+ starts_with: 'starts_with',
25
26
  less_than: 'less_than',
26
27
  less_than_or_equal: 'less_than_or_equal',
27
28
  greater_than: 'greater_than',