@zitadel/api 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (731) hide show
  1. package/README.md +17 -3
  2. package/dist/api-factory-32Zz3s86.mjs +359 -0
  3. package/dist/api-factory-32Zz3s86.mjs.map +1 -0
  4. package/dist/api-factory-DbVEEqxe.d.mts +217 -0
  5. package/dist/api-factory-DbVEEqxe.d.mts.map +1 -0
  6. package/dist/{fetch-CtYe0OvX.d.mts → fetch-BzLvdm6C.d.mts} +35 -12
  7. package/dist/fetch-BzLvdm6C.d.mts.map +1 -0
  8. package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.mjs +1099 -733
  10. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +1 -1
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +9 -9
  13. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1029 -657
  15. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  16. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +4801 -4433
  17. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  18. package/dist/generated/model/index.d.mts +2 -2
  19. package/dist/generated/model/index.mjs.map +1 -1
  20. package/dist/generated/operations.d.mts +9 -0
  21. package/dist/generated/operations.d.mts.map +1 -1
  22. package/dist/generated/operations.mjs +267 -154
  23. package/dist/generated/operations.mjs.map +1 -1
  24. package/dist/{index-DAm3tCA7.d.mts → index-BX80Kl-8.d.mts} +9183 -7757
  25. package/dist/index-BX80Kl-8.d.mts.map +1 -0
  26. package/dist/runtime/api-factory.d.mts +2 -51
  27. package/dist/runtime/api-factory.mjs +3 -62
  28. package/dist/runtime/auth.mjs +1 -1
  29. package/dist/runtime/auth.mjs.map +1 -1
  30. package/dist/runtime/base-url.d.mts +14 -0
  31. package/dist/runtime/base-url.d.mts.map +1 -1
  32. package/dist/runtime/base-url.mjs +22 -1
  33. package/dist/runtime/base-url.mjs.map +1 -1
  34. package/dist/runtime/config.d.mts +1 -1
  35. package/dist/runtime/config.mjs +1 -1
  36. package/dist/runtime/fetch.d.mts +2 -2
  37. package/dist/runtime/fetch.mjs +42 -17
  38. package/dist/runtime/fetch.mjs.map +1 -1
  39. package/dist/runtime/paging.d.mts +118 -0
  40. package/dist/runtime/paging.d.mts.map +1 -0
  41. package/dist/runtime/paging.mjs +138 -0
  42. package/dist/runtime/paging.mjs.map +1 -0
  43. package/dist/zitadelNextGen-CFrFhq_h.d.mts +1726 -0
  44. package/dist/zitadelNextGen-CFrFhq_h.d.mts.map +1 -0
  45. package/package.json +8 -3
  46. package/src/generated/endpoints/zitadelNextGen.faker.ts +3 -3
  47. package/src/generated/endpoints/zitadelNextGen.ts +1112 -746
  48. package/src/generated/endpoints/zitadelNextGen.zod.ts +4816 -4440
  49. package/src/generated/model/addOrigin201.ts +5 -0
  50. package/src/generated/model/addOrigin201Kind.ts +3 -0
  51. package/src/generated/model/addOriginBody.ts +17 -5
  52. package/src/generated/model/addOriginBodyKind.ts +4 -0
  53. package/src/generated/model/beginUserPasskeyRegistration201.ts +3 -3
  54. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +6 -6
  55. package/src/generated/model/buildRelease200.ts +15 -15
  56. package/src/generated/model/buildRelease200Metadata.ts +8 -8
  57. package/src/generated/model/buildRelease200PointersItem.ts +13 -12
  58. package/src/generated/model/buildRelease200PointersItemKind.ts +3 -3
  59. package/src/generated/model/buildRelease201.ts +15 -15
  60. package/src/generated/model/buildRelease201Metadata.ts +8 -8
  61. package/src/generated/model/buildRelease201PointersItem.ts +13 -12
  62. package/src/generated/model/buildRelease201PointersItemKind.ts +3 -3
  63. package/src/generated/model/buildRelease400.ts +1 -3
  64. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +3 -3
  65. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +3 -3
  66. package/src/generated/model/buildReleaseBody.ts +19 -16
  67. package/src/generated/model/buildReleaseBodyBundle.ts +31 -28
  68. package/src/generated/model/buildReleaseBodyBundleBranding.ts +24 -22
  69. package/src/generated/model/buildReleaseBodyBundleBrandingLayout.ts +8 -7
  70. package/src/generated/model/buildReleaseBodyBundleBrandingShape.ts +1 -1
  71. package/src/generated/model/buildReleaseBodyBundleBrandingTheme.ts +5 -7
  72. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +7 -7
  73. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDarkPalette.ts +63 -62
  74. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +7 -7
  75. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLightPalette.ts +63 -62
  76. package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +4 -4
  77. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +47 -26
  78. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemAudience.ts +1 -1
  79. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +2 -2
  80. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItem.ts +46 -28
  81. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItem.ts +9 -7
  82. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemKind.ts +2 -2
  83. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +11 -10
  84. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -1
  85. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesKind.ts +4 -3
  86. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitions.ts +40 -20
  87. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsAction.ts +8 -5
  88. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsPurpose.ts +7 -8
  89. package/src/generated/model/buildReleaseBodyBundleIdpsItem.ts +7 -7
  90. package/src/generated/model/buildReleaseBodyBundleIdpsItemClaimMapping.ts +1 -1
  91. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidc.ts +7 -7
  92. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidcStaticAuthorizeParameters.ts +1 -1
  93. package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioning.ts +1 -1
  94. package/src/generated/model/buildReleaseBodyBundleIdpsItemVerifiedClaims.ts +1 -1
  95. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +3 -3
  96. package/src/generated/model/buildReleaseBodyBundleSchemasItem.ts +23 -22
  97. package/src/generated/model/buildReleaseParams.ts +3 -1
  98. package/src/generated/model/completeClaim409.ts +2 -2
  99. package/src/generated/model/completeClaimBody.ts +1 -1
  100. package/src/generated/model/createAuthAttempt201.ts +23 -22
  101. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +9 -7
  102. package/src/generated/model/createAuthAttempt201ChallengesItemState.ts +1 -1
  103. package/src/generated/model/createAuthAttempt201CompletedFactorsItem.ts +2 -2
  104. package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +5 -5
  105. package/src/generated/model/createAuthAttempt201State.ts +2 -2
  106. package/src/generated/model/createAuthAttemptBody.ts +3 -3
  107. package/src/generated/model/createAuthAttemptDefault.ts +63 -0
  108. package/src/generated/model/createBranding201.ts +10 -10
  109. package/src/generated/model/createBranding201Branding.ts +24 -22
  110. package/src/generated/model/createBranding201BrandingLayout.ts +8 -7
  111. package/src/generated/model/createBranding201BrandingShape.ts +1 -1
  112. package/src/generated/model/createBranding201BrandingTheme.ts +5 -7
  113. package/src/generated/model/createBranding201BrandingThemeDark.ts +7 -7
  114. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +63 -62
  115. package/src/generated/model/createBranding201BrandingThemeLight.ts +7 -7
  116. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +63 -62
  117. package/src/generated/model/createBranding201BrandingTypography.ts +4 -4
  118. package/src/generated/model/createBrandingBody.ts +24 -22
  119. package/src/generated/model/createBrandingBodyLayout.ts +8 -7
  120. package/src/generated/model/createBrandingBodyShape.ts +1 -1
  121. package/src/generated/model/createBrandingBodyTheme.ts +5 -7
  122. package/src/generated/model/createBrandingBodyThemeDark.ts +7 -7
  123. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +63 -62
  124. package/src/generated/model/createBrandingBodyThemeLight.ts +7 -7
  125. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +63 -62
  126. package/src/generated/model/createBrandingBodyTypography.ts +4 -4
  127. package/src/generated/model/createBrandingParams.ts +3 -1
  128. package/src/generated/model/createDeployment200.ts +16 -14
  129. package/src/generated/model/createDeployment200Metadata.ts +1 -1
  130. package/src/generated/model/createDeployment200Release.ts +15 -15
  131. package/src/generated/model/createDeployment200ReleaseMetadata.ts +8 -8
  132. package/src/generated/model/createDeployment200ReleasePointersItem.ts +13 -12
  133. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +3 -3
  134. package/src/generated/model/createDeployment200Status.ts +3 -3
  135. package/src/generated/model/createDeployment201.ts +16 -14
  136. package/src/generated/model/createDeployment201Metadata.ts +1 -1
  137. package/src/generated/model/createDeployment201Release.ts +15 -15
  138. package/src/generated/model/createDeployment201ReleaseMetadata.ts +8 -8
  139. package/src/generated/model/createDeployment201ReleasePointersItem.ts +13 -12
  140. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +3 -3
  141. package/src/generated/model/createDeployment201Status.ts +3 -3
  142. package/src/generated/model/createDeployment409.ts +41 -40
  143. package/src/generated/model/createDeploymentBody.ts +4 -10
  144. package/src/generated/model/createDeploymentParams.ts +3 -1
  145. package/src/generated/model/createFlow201.ts +16 -12
  146. package/src/generated/model/createFlow201Branding.ts +24 -22
  147. package/src/generated/model/createFlow201BrandingLayout.ts +8 -7
  148. package/src/generated/model/createFlow201BrandingShape.ts +1 -1
  149. package/src/generated/model/createFlow201BrandingTheme.ts +5 -7
  150. package/src/generated/model/createFlow201BrandingThemeDark.ts +7 -7
  151. package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +63 -62
  152. package/src/generated/model/createFlow201BrandingThemeLight.ts +7 -7
  153. package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +63 -62
  154. package/src/generated/model/createFlow201BrandingTypography.ts +4 -4
  155. package/src/generated/model/createFlow201Step.ts +36 -31
  156. package/src/generated/model/createFlow201StepActionsItem.ts +3 -3
  157. package/src/generated/model/createFlow201StepActionsItemKind.ts +1 -1
  158. package/src/generated/model/createFlow201StepChallenge.ts +4 -3
  159. package/src/generated/model/createFlow201StepComplete.ts +1 -1
  160. package/src/generated/model/createFlow201StepFieldsItem.ts +14 -13
  161. package/src/generated/model/createFlow201StepFieldsItemType.ts +1 -1
  162. package/src/generated/model/createFlow201StepFieldsItemValidation.ts +2 -2
  163. package/src/generated/model/createFlow201StepFieldsItemValidationFormat.ts +1 -1
  164. package/src/generated/model/createFlow201StepGates.ts +10 -8
  165. package/src/generated/model/createFlow201StepGatesConfig.ts +1 -1
  166. package/src/generated/model/createFlow201StepGatesKind.ts +4 -3
  167. package/src/generated/model/createFlow201StepIdentifier.ts +6 -6
  168. package/src/generated/model/createFlow201StepSsoProvidersItem.ts +1 -1
  169. package/src/generated/model/createFlow201StepTexts.ts +1 -1
  170. package/src/generated/model/createFlowBody.ts +7 -2
  171. package/src/generated/model/createFlowBodyHint.ts +4 -1
  172. package/src/generated/model/createFlowBodyPurpose.ts +3 -0
  173. package/src/generated/model/createFlowDefault.ts +9 -0
  174. package/src/generated/model/createFlowDefinition201.ts +22 -10
  175. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +47 -26
  176. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +1 -1
  177. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +2 -2
  178. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +46 -28
  179. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +9 -7
  180. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  181. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +11 -10
  182. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +1 -1
  183. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +4 -3
  184. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +40 -20
  185. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  186. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  187. package/src/generated/model/createFlowDefinition201UserSchema.ts +2 -2
  188. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +2 -1
  189. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +21 -20
  190. package/src/generated/model/createFlowDefinitionBody.ts +22 -12
  191. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +47 -26
  192. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +1 -1
  193. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +2 -2
  194. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +46 -28
  195. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +9 -7
  196. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  197. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +11 -10
  198. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +1 -1
  199. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +4 -3
  200. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +40 -20
  201. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  202. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  203. package/src/generated/model/createGrant201.ts +14 -14
  204. package/src/generated/model/createGrant201ObjectType.ts +1 -1
  205. package/src/generated/model/createGrant201Relation.ts +1 -1
  206. package/src/generated/model/createGrant201Team.ts +7 -7
  207. package/src/generated/model/createGrant201TeamStatus.ts +2 -2
  208. package/src/generated/model/createGrant201User.ts +5 -5
  209. package/src/generated/model/createGrant201UserMetadata.ts +10 -11
  210. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +11 -12
  211. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  212. package/src/generated/model/createGrantBody.ts +12 -12
  213. package/src/generated/model/createGrantBodyRelation.ts +1 -1
  214. package/src/generated/model/createGrantBodyTeam.ts +3 -3
  215. package/src/generated/model/createGrantBodyUser.ts +5 -5
  216. package/src/generated/model/createGrantDefault.ts +9 -0
  217. package/src/generated/model/createGrantParams.ts +3 -1
  218. package/src/generated/model/createHandoff200.ts +9 -10
  219. package/src/generated/model/createIdp200.ts +10 -9
  220. package/src/generated/model/createIdp200Definition.ts +7 -7
  221. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +1 -1
  222. package/src/generated/model/createIdp200DefinitionOidc.ts +7 -7
  223. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  224. package/src/generated/model/createIdp200DefinitionProvisioning.ts +1 -1
  225. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +1 -1
  226. package/src/generated/model/createIdp201.ts +10 -9
  227. package/src/generated/model/createIdp201Definition.ts +7 -7
  228. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +1 -1
  229. package/src/generated/model/createIdp201DefinitionOidc.ts +7 -7
  230. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  231. package/src/generated/model/createIdp201DefinitionProvisioning.ts +1 -1
  232. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +1 -1
  233. package/src/generated/model/createIdpBody.ts +1 -1
  234. package/src/generated/model/createIdpBodyIdp.ts +7 -7
  235. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +1 -1
  236. package/src/generated/model/createIdpBodyIdpOidc.ts +7 -7
  237. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +1 -1
  238. package/src/generated/model/createIdpBodyIdpProvisioning.ts +1 -1
  239. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +1 -1
  240. package/src/generated/model/createIdpParams.ts +3 -1
  241. package/src/generated/model/createProject201.ts +10 -5
  242. package/src/generated/model/createProject201OriginsItem.ts +17 -5
  243. package/src/generated/model/createProject201OriginsItemKind.ts +4 -0
  244. package/src/generated/model/createProjectBody.ts +5 -6
  245. package/src/generated/model/createProjectBodyOriginsItem.ts +17 -5
  246. package/src/generated/model/createProjectBodyOriginsItemKind.ts +4 -0
  247. package/src/generated/model/createRelease200.ts +15 -15
  248. package/src/generated/model/createRelease200Metadata.ts +8 -8
  249. package/src/generated/model/createRelease200PointersItem.ts +13 -12
  250. package/src/generated/model/createRelease200PointersItemKind.ts +3 -3
  251. package/src/generated/model/createRelease201.ts +15 -15
  252. package/src/generated/model/createRelease201Metadata.ts +8 -8
  253. package/src/generated/model/createRelease201PointersItem.ts +13 -12
  254. package/src/generated/model/createRelease201PointersItemKind.ts +3 -3
  255. package/src/generated/model/createReleaseBody.ts +7 -11
  256. package/src/generated/model/createReleaseBodyPointersItem.ts +8 -8
  257. package/src/generated/model/createReleaseBodyPointersItemKind.ts +3 -3
  258. package/src/generated/model/createReleaseParams.ts +3 -1
  259. package/src/generated/model/createSchema201.ts +1 -1
  260. package/src/generated/model/createSchemaBody.ts +23 -22
  261. package/src/generated/model/createSchemaParams.ts +4 -2
  262. package/src/generated/model/createSession201.ts +8 -8
  263. package/src/generated/model/createSession201Session.ts +16 -16
  264. package/src/generated/model/createSession201SessionFactorsItem.ts +2 -2
  265. package/src/generated/model/createSession201SessionFactorsItemPayload.ts +5 -5
  266. package/src/generated/model/createSession201SessionState.ts +1 -1
  267. package/src/generated/model/createSession201SessionUser.ts +5 -5
  268. package/src/generated/model/createSessionBody.ts +1 -1
  269. package/src/generated/model/createTeam201.ts +2 -2
  270. package/src/generated/model/createTeam201Status.ts +2 -2
  271. package/src/generated/model/createTeamBody.ts +1 -1
  272. package/src/generated/model/createTeamParams.ts +3 -1
  273. package/src/generated/model/createUser201.ts +28 -29
  274. package/src/generated/model/createUser201Metadata.ts +10 -11
  275. package/src/generated/model/createUser201MetadataLifecycleOwnerTeam.ts +11 -12
  276. package/src/generated/model/createUser201MetadataLifecycleOwnerTeamStatus.ts +2 -2
  277. package/src/generated/model/createUser201TeamsItem.ts +4 -4
  278. package/src/generated/model/createUserBody.ts +9 -8
  279. package/src/generated/model/createUserParams.ts +4 -2
  280. package/src/generated/model/deleteGrantParams.ts +3 -1
  281. package/src/generated/model/deleteUserByID409.ts +20 -0
  282. package/src/generated/model/deleteUserByID409Details.ts +12 -0
  283. package/src/generated/model/deleteUserByIDDefault.ts +9 -0
  284. package/src/generated/model/deleteVariableParams.ts +3 -1
  285. package/src/generated/model/evaluatePolicy200.ts +5 -4
  286. package/src/generated/model/evaluatePolicy200Violations.ts +4 -3
  287. package/src/generated/model/evaluatePolicyBody.ts +8 -9
  288. package/src/generated/model/evaluatePolicyParams.ts +3 -1
  289. package/src/generated/model/exchangeHandoff200.ts +8 -8
  290. package/src/generated/model/exchangeHandoff200Session.ts +16 -16
  291. package/src/generated/model/exchangeHandoff200SessionFactorsItem.ts +2 -2
  292. package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +5 -5
  293. package/src/generated/model/exchangeHandoff200SessionState.ts +1 -1
  294. package/src/generated/model/exchangeHandoff200SessionUser.ts +5 -5
  295. package/src/generated/model/exchangeHandoffBody.ts +7 -5
  296. package/src/generated/model/exchangeHandoffParams.ts +3 -1
  297. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +1 -1
  298. package/src/generated/model/getAuthAttempt200.ts +23 -22
  299. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +9 -7
  300. package/src/generated/model/getAuthAttempt200ChallengesItemState.ts +1 -1
  301. package/src/generated/model/getAuthAttempt200CompletedFactorsItem.ts +2 -2
  302. package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +5 -5
  303. package/src/generated/model/getAuthAttempt200State.ts +2 -2
  304. package/src/generated/model/getBrandingById200.ts +10 -10
  305. package/src/generated/model/getBrandingById200Branding.ts +24 -22
  306. package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -7
  307. package/src/generated/model/getBrandingById200BrandingShape.ts +1 -1
  308. package/src/generated/model/getBrandingById200BrandingTheme.ts +5 -7
  309. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +7 -7
  310. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +63 -62
  311. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +7 -7
  312. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +63 -62
  313. package/src/generated/model/getBrandingById200BrandingTypography.ts +4 -4
  314. package/src/generated/model/getClaimStatus200.ts +4 -5
  315. package/src/generated/model/getClaimStatusParams.ts +1 -1
  316. package/src/generated/model/getClaimWindow200.ts +6 -6
  317. package/src/generated/model/getClaimWindowParams.ts +1 -1
  318. package/src/generated/model/getDeploymentById200.ts +16 -14
  319. package/src/generated/model/getDeploymentById200Metadata.ts +1 -1
  320. package/src/generated/model/getDeploymentById200Release.ts +15 -15
  321. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +8 -8
  322. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +13 -12
  323. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +3 -3
  324. package/src/generated/model/getDeploymentById200Status.ts +3 -3
  325. package/src/generated/model/getDeploymentByIdParams.ts +3 -1
  326. package/src/generated/model/getDeploymentVariablesParams.ts +3 -1
  327. package/src/generated/model/getEvent200.ts +1574 -1323
  328. package/src/generated/model/getEventParams.ts +3 -1
  329. package/src/generated/model/getFlowDefinition200.ts +22 -10
  330. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +47 -26
  331. package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +1 -1
  332. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +2 -2
  333. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +46 -28
  334. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +9 -7
  335. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  336. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +11 -10
  337. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -1
  338. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +4 -3
  339. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +40 -20
  340. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  341. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  342. package/src/generated/model/getFlowDefinition200UserSchema.ts +2 -2
  343. package/src/generated/model/getFlowDefinition200UserSchemaMetadata.ts +2 -1
  344. package/src/generated/model/getFlowDefinition200UserSchemaSchema.ts +21 -20
  345. package/src/generated/model/getFlowStep200.ts +16 -12
  346. package/src/generated/model/getFlowStep200Branding.ts +24 -22
  347. package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -7
  348. package/src/generated/model/getFlowStep200BrandingShape.ts +1 -1
  349. package/src/generated/model/getFlowStep200BrandingTheme.ts +5 -7
  350. package/src/generated/model/getFlowStep200BrandingThemeDark.ts +7 -7
  351. package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +63 -62
  352. package/src/generated/model/getFlowStep200BrandingThemeLight.ts +7 -7
  353. package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +63 -62
  354. package/src/generated/model/getFlowStep200BrandingTypography.ts +4 -4
  355. package/src/generated/model/getFlowStep200Step.ts +36 -31
  356. package/src/generated/model/getFlowStep200StepActionsItem.ts +3 -3
  357. package/src/generated/model/getFlowStep200StepActionsItemKind.ts +1 -1
  358. package/src/generated/model/getFlowStep200StepChallenge.ts +4 -3
  359. package/src/generated/model/getFlowStep200StepComplete.ts +1 -1
  360. package/src/generated/model/getFlowStep200StepFieldsItem.ts +14 -13
  361. package/src/generated/model/getFlowStep200StepFieldsItemType.ts +1 -1
  362. package/src/generated/model/getFlowStep200StepFieldsItemValidation.ts +2 -2
  363. package/src/generated/model/getFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  364. package/src/generated/model/getFlowStep200StepGates.ts +10 -8
  365. package/src/generated/model/getFlowStep200StepGatesConfig.ts +1 -1
  366. package/src/generated/model/getFlowStep200StepGatesKind.ts +4 -3
  367. package/src/generated/model/getFlowStep200StepIdentifier.ts +6 -6
  368. package/src/generated/model/getFlowStep200StepSsoProvidersItem.ts +1 -1
  369. package/src/generated/model/getFlowStep200StepTexts.ts +1 -1
  370. package/src/generated/model/getFlowStepDefault.ts +27 -0
  371. package/src/generated/model/getGrant200.ts +14 -14
  372. package/src/generated/model/getGrant200ObjectType.ts +1 -1
  373. package/src/generated/model/getGrant200Relation.ts +1 -1
  374. package/src/generated/model/getGrant200Team.ts +7 -7
  375. package/src/generated/model/getGrant200TeamStatus.ts +2 -2
  376. package/src/generated/model/getGrant200User.ts +5 -5
  377. package/src/generated/model/getGrant200UserMetadata.ts +10 -11
  378. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +11 -12
  379. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  380. package/src/generated/model/getGrantDefault.ts +0 -9
  381. package/src/generated/model/getGrantExpandItem.ts +8 -5
  382. package/src/generated/model/getGrantParams.ts +6 -3
  383. package/src/generated/model/getIdpById200.ts +10 -9
  384. package/src/generated/model/getIdpById200Definition.ts +7 -7
  385. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +1 -1
  386. package/src/generated/model/getIdpById200DefinitionOidc.ts +7 -7
  387. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  388. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +1 -1
  389. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +1 -1
  390. package/src/generated/model/getIdpByIdParams.ts +3 -1
  391. package/src/generated/model/getIdpRevisionById200.ts +10 -9
  392. package/src/generated/model/getIdpRevisionById200Definition.ts +7 -7
  393. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +1 -1
  394. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +7 -7
  395. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  396. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +1 -1
  397. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +1 -1
  398. package/src/generated/model/getIdpRevisionByIdParams.ts +3 -1
  399. package/src/generated/model/getMyPasswordState200.ts +2 -2
  400. package/src/generated/model/getMySession200.ts +16 -16
  401. package/src/generated/model/getMySession200FactorsItem.ts +2 -2
  402. package/src/generated/model/getMySession200FactorsItemPayload.ts +5 -5
  403. package/src/generated/model/getMySession200State.ts +1 -1
  404. package/src/generated/model/getMySession200User.ts +5 -5
  405. package/src/generated/model/getMySessionCsrfToken200.ts +1 -1
  406. package/src/generated/model/getMyUser200.ts +28 -29
  407. package/src/generated/model/getMyUser200Metadata.ts +10 -11
  408. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  409. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  410. package/src/generated/model/getMyUser200TeamsItem.ts +4 -4
  411. package/src/generated/model/getMyUserSchema200.ts +4 -4
  412. package/src/generated/model/getMyUserSchema200Metadata.ts +2 -1
  413. package/src/generated/model/getMyUserSchema200Schema.ts +21 -20
  414. package/src/generated/model/getPolicy200.ts +3 -3
  415. package/src/generated/model/getPolicyParams.ts +3 -1
  416. package/src/generated/model/getPolicyRevision200.ts +3 -3
  417. package/src/generated/model/getPolicyRevisionParams.ts +3 -1
  418. package/src/generated/model/getProject200.ts +34 -30
  419. package/src/generated/model/getReleaseById200.ts +15 -15
  420. package/src/generated/model/getReleaseById200Metadata.ts +8 -8
  421. package/src/generated/model/getReleaseById200PointersItem.ts +13 -12
  422. package/src/generated/model/getReleaseById200PointersItemKind.ts +3 -3
  423. package/src/generated/model/getReleaseByIdParams.ts +3 -1
  424. package/src/generated/model/getSchemaById200.ts +4 -4
  425. package/src/generated/model/getSchemaById200Metadata.ts +2 -1
  426. package/src/generated/model/getSchemaById200Schema.ts +21 -20
  427. package/src/generated/model/getSchemaByIdParams.ts +3 -3
  428. package/src/generated/model/getSession200.ts +16 -16
  429. package/src/generated/model/getSession200FactorsItem.ts +2 -2
  430. package/src/generated/model/getSession200FactorsItemPayload.ts +5 -5
  431. package/src/generated/model/getSession200State.ts +1 -1
  432. package/src/generated/model/getSession200User.ts +5 -5
  433. package/src/generated/model/getTeam200.ts +2 -2
  434. package/src/generated/model/getTeam200Status.ts +2 -2
  435. package/src/generated/model/getUserByID200.ts +28 -29
  436. package/src/generated/model/getUserByID200Metadata.ts +10 -11
  437. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  438. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  439. package/src/generated/model/getUserByID200TeamsItem.ts +4 -4
  440. package/src/generated/model/getUserByIDParams.ts +4 -3
  441. package/src/generated/model/getUserPasswordState200.ts +2 -2
  442. package/src/generated/model/getVariable200.ts +4 -4
  443. package/src/generated/model/getVariable200Preview.ts +2 -2
  444. package/src/generated/model/getVariable200Primary.ts +2 -2
  445. package/src/generated/model/getVariableParams.ts +3 -1
  446. package/src/generated/model/getVariables200.ts +4 -4
  447. package/src/generated/model/getVariables200Preview.ts +2 -2
  448. package/src/generated/model/getVariables200Primary.ts +2 -2
  449. package/src/generated/model/getVariablesParams.ts +3 -1
  450. package/src/generated/model/index.ts +2 -0
  451. package/src/generated/model/initClaim201.ts +3 -3
  452. package/src/generated/model/initClaim409.ts +2 -2
  453. package/src/generated/model/issueChallenge201.ts +9 -7
  454. package/src/generated/model/issueChallenge201State.ts +1 -1
  455. package/src/generated/model/issueChallengeBody.ts +2 -2
  456. package/src/generated/model/listBrandingParams.ts +3 -1
  457. package/src/generated/model/listDeployments200DeploymentsItem.ts +16 -14
  458. package/src/generated/model/listDeployments200DeploymentsItemMetadata.ts +1 -1
  459. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +15 -15
  460. package/src/generated/model/listDeployments200DeploymentsItemReleaseMetadata.ts +8 -8
  461. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +13 -12
  462. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +3 -3
  463. package/src/generated/model/listDeployments200DeploymentsItemStatus.ts +3 -3
  464. package/src/generated/model/listDeploymentsExpandItem.ts +4 -4
  465. package/src/generated/model/listDeploymentsParams.ts +3 -1
  466. package/src/generated/model/listEvents200.ts +1 -1
  467. package/src/generated/model/listEvents200DataItem.ts +1574 -1323
  468. package/src/generated/model/listEventsParams.ts +34 -6
  469. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +22 -10
  470. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +47 -26
  471. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionAudience.ts +1 -1
  472. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +2 -2
  473. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +46 -28
  474. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +9 -7
  475. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  476. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +11 -10
  477. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -1
  478. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesKind.ts +4 -3
  479. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitions.ts +40 -20
  480. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  481. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  482. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +2 -2
  483. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaMetadata.ts +2 -1
  484. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaSchema.ts +21 -20
  485. package/src/generated/model/listFlowDefinitionsExpandItem.ts +2 -2
  486. package/src/generated/model/listFlowDefinitionsParams.ts +8 -6
  487. package/src/generated/model/listIdpRevisions200.ts +1 -2
  488. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +10 -9
  489. package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +7 -7
  490. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +1 -1
  491. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +7 -7
  492. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  493. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +1 -1
  494. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +1 -1
  495. package/src/generated/model/listIdpRevisionsParams.ts +3 -1
  496. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +2 -2
  497. package/src/generated/model/listMyProjects200.ts +1 -1
  498. package/src/generated/model/listMyProjects200ProjectsItem.ts +2 -3
  499. package/src/generated/model/listMyProjects200ProjectsItemOriginsItem.ts +17 -5
  500. package/src/generated/model/listMyProjects200ProjectsItemOriginsItemKind.ts +4 -0
  501. package/src/generated/model/listMyProjects200ProjectsItemPasswordHash.ts +12 -15
  502. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  503. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParams.ts +15 -18
  504. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  505. package/src/generated/model/listMyTeams200TeamsItem.ts +4 -4
  506. package/src/generated/model/listPolicies200.ts +2 -2
  507. package/src/generated/model/listPolicies200PoliciesItem.ts +3 -3
  508. package/src/generated/model/listPoliciesParams.ts +3 -1
  509. package/src/generated/model/listPolicyRevisions200.ts +1 -1
  510. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +3 -3
  511. package/src/generated/model/listPolicyRevisionsParams.ts +3 -1
  512. package/src/generated/model/listPreviews200PreviewsItem.ts +4 -5
  513. package/src/generated/model/listProjectAdmins200AdminsItem.ts +3 -3
  514. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +13 -15
  515. package/src/generated/model/listProjectAdmins200AdminsItemUser.ts +5 -5
  516. package/src/generated/model/listReleases200.ts +1 -1
  517. package/src/generated/model/listReleases200ReleasesItem.ts +4 -4
  518. package/src/generated/model/listReleases200ReleasesItemMetadata.ts +8 -8
  519. package/src/generated/model/listReleasesParams.ts +4 -2
  520. package/src/generated/model/listSchemas200.ts +1 -1
  521. package/src/generated/model/listSchemas200SchemasItem.ts +4 -4
  522. package/src/generated/model/listSchemas200SchemasItemMetadata.ts +2 -1
  523. package/src/generated/model/listSchemas200SchemasItemSchema.ts +21 -20
  524. package/src/generated/model/listSchemasExpandItem.ts +2 -2
  525. package/src/generated/model/listSchemasParams.ts +7 -5
  526. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +2 -2
  527. package/src/generated/model/listUserTeams200TeamsItem.ts +4 -4
  528. package/src/generated/model/patchMyUser200.ts +28 -29
  529. package/src/generated/model/patchMyUser200Metadata.ts +10 -11
  530. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  531. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  532. package/src/generated/model/patchMyUser200TeamsItem.ts +4 -4
  533. package/src/generated/model/patchMyUserBody.ts +2 -2
  534. package/src/generated/model/patchProject200.ts +34 -30
  535. package/src/generated/model/patchProjectBody.ts +3 -3
  536. package/src/generated/model/patchProjectBodyPasswordHash.ts +15 -18
  537. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +1 -1
  538. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +15 -18
  539. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +4 -4
  540. package/src/generated/model/patchUserByID200.ts +28 -29
  541. package/src/generated/model/patchUserByID200Metadata.ts +10 -11
  542. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  543. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  544. package/src/generated/model/patchUserByID200TeamsItem.ts +4 -4
  545. package/src/generated/model/patchUserByIDBody.ts +21 -13
  546. package/src/generated/model/publishPolicy201.ts +3 -3
  547. package/src/generated/model/publishPolicyBody.ts +3 -3
  548. package/src/generated/model/publishPolicyParams.ts +3 -1
  549. package/src/generated/model/queryGrants200GrantsItem.ts +14 -14
  550. package/src/generated/model/queryGrants200GrantsItemObjectType.ts +1 -1
  551. package/src/generated/model/queryGrants200GrantsItemRelation.ts +1 -1
  552. package/src/generated/model/queryGrants200GrantsItemTeam.ts +7 -7
  553. package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +2 -2
  554. package/src/generated/model/queryGrants200GrantsItemUser.ts +5 -5
  555. package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +10 -11
  556. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +11 -12
  557. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  558. package/src/generated/model/queryGrantsBody.ts +2 -3
  559. package/src/generated/model/queryGrantsBodyExpandItem.ts +8 -5
  560. package/src/generated/model/queryGrantsBodyFilterItem.ts +3 -5
  561. package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +1 -2
  562. package/src/generated/model/queryGrantsDefault.ts +0 -9
  563. package/src/generated/model/queryGrantsParams.ts +3 -1
  564. package/src/generated/model/queryIdps200.ts +1 -1
  565. package/src/generated/model/queryIdps200IdpsItem.ts +10 -9
  566. package/src/generated/model/queryIdps200IdpsItemDefinition.ts +7 -7
  567. package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +1 -1
  568. package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +7 -7
  569. package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  570. package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +1 -1
  571. package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +1 -1
  572. package/src/generated/model/queryIdpsBody.ts +2 -2
  573. package/src/generated/model/queryIdpsBodyFilterItem.ts +5 -7
  574. package/src/generated/model/queryIdpsBodyFilterItemField.ts +2 -2
  575. package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +1 -2
  576. package/src/generated/model/queryIdpsBodySorting.ts +2 -2
  577. package/src/generated/model/queryIdpsBodySortingField.ts +2 -2
  578. package/src/generated/model/queryIdpsParams.ts +3 -1
  579. package/src/generated/model/queryProjects200ProjectsItem.ts +2 -3
  580. package/src/generated/model/queryProjects200ProjectsItemOriginsItem.ts +17 -5
  581. package/src/generated/model/queryProjects200ProjectsItemOriginsItemKind.ts +4 -0
  582. package/src/generated/model/queryProjects200ProjectsItemPasswordHash.ts +12 -15
  583. package/src/generated/model/queryProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  584. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParams.ts +15 -18
  585. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  586. package/src/generated/model/queryProjectsBodyFilterItem.ts +3 -5
  587. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +1 -2
  588. package/src/generated/model/querySessions200SessionsItem.ts +16 -16
  589. package/src/generated/model/querySessions200SessionsItemFactorsItem.ts +2 -2
  590. package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +5 -5
  591. package/src/generated/model/querySessions200SessionsItemState.ts +1 -1
  592. package/src/generated/model/querySessions200SessionsItemUser.ts +5 -5
  593. package/src/generated/model/querySessionsBodyFilterItem.ts +4 -6
  594. package/src/generated/model/querySessionsBodyFilterItemField.ts +1 -1
  595. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +1 -2
  596. package/src/generated/model/querySessionsBodySorting.ts +2 -3
  597. package/src/generated/model/querySessionsBodySortingField.ts +2 -3
  598. package/src/generated/model/querySessionsParams.ts +3 -1
  599. package/src/generated/model/queryTeams200TeamsItem.ts +2 -2
  600. package/src/generated/model/queryTeams200TeamsItemStatus.ts +2 -2
  601. package/src/generated/model/queryTeamsBodyFilterItem.ts +3 -5
  602. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +1 -2
  603. package/src/generated/model/queryTeamsParams.ts +3 -2
  604. package/src/generated/model/queryUsers200UsersItem.ts +28 -29
  605. package/src/generated/model/queryUsers200UsersItemMetadata.ts +10 -11
  606. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeam.ts +11 -12
  607. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeamStatus.ts +2 -2
  608. package/src/generated/model/queryUsers200UsersItemTeamsItem.ts +4 -4
  609. package/src/generated/model/queryUsersBody.ts +2 -2
  610. package/src/generated/model/queryUsersBodyExpandItem.ts +8 -8
  611. package/src/generated/model/queryUsersBodyFilterItem.ts +13 -16
  612. package/src/generated/model/queryUsersBodyFilterItemField.ts +10 -11
  613. package/src/generated/model/queryUsersBodyFilterItemOperation.ts +1 -2
  614. package/src/generated/model/queryUsersBodySorting.ts +4 -5
  615. package/src/generated/model/queryUsersBodySortingField.ts +4 -5
  616. package/src/generated/model/queryUsersParams.ts +2 -2
  617. package/src/generated/model/removeOriginBody.ts +2 -2
  618. package/src/generated/model/revokeRelease200.ts +15 -15
  619. package/src/generated/model/revokeRelease200Metadata.ts +8 -8
  620. package/src/generated/model/revokeRelease200PointersItem.ts +13 -12
  621. package/src/generated/model/revokeRelease200PointersItemKind.ts +3 -3
  622. package/src/generated/model/revokeReleaseParams.ts +3 -1
  623. package/src/generated/model/rollbackDeployment200.ts +16 -14
  624. package/src/generated/model/rollbackDeployment200Metadata.ts +1 -1
  625. package/src/generated/model/rollbackDeployment200Release.ts +15 -15
  626. package/src/generated/model/rollbackDeployment200ReleaseMetadata.ts +8 -8
  627. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +13 -12
  628. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +3 -3
  629. package/src/generated/model/rollbackDeployment200Status.ts +3 -3
  630. package/src/generated/model/rollbackDeployment201.ts +16 -14
  631. package/src/generated/model/rollbackDeployment201Metadata.ts +1 -1
  632. package/src/generated/model/rollbackDeployment201Release.ts +15 -15
  633. package/src/generated/model/rollbackDeployment201ReleaseMetadata.ts +8 -8
  634. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +13 -12
  635. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +3 -3
  636. package/src/generated/model/rollbackDeployment201Status.ts +3 -3
  637. package/src/generated/model/rollbackDeployment409.ts +41 -40
  638. package/src/generated/model/rollbackDeploymentParams.ts +3 -1
  639. package/src/generated/model/setUserPasswordBody.ts +1 -1
  640. package/src/generated/model/setUserPasswordDefault.ts +63 -0
  641. package/src/generated/model/submitFlowStep200.ts +16 -12
  642. package/src/generated/model/submitFlowStep200Branding.ts +24 -22
  643. package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -7
  644. package/src/generated/model/submitFlowStep200BrandingShape.ts +1 -1
  645. package/src/generated/model/submitFlowStep200BrandingTheme.ts +5 -7
  646. package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +7 -7
  647. package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +63 -62
  648. package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +7 -7
  649. package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +63 -62
  650. package/src/generated/model/submitFlowStep200BrandingTypography.ts +4 -4
  651. package/src/generated/model/submitFlowStep200Step.ts +36 -31
  652. package/src/generated/model/submitFlowStep200StepActionsItem.ts +3 -3
  653. package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +1 -1
  654. package/src/generated/model/submitFlowStep200StepChallenge.ts +4 -3
  655. package/src/generated/model/submitFlowStep200StepComplete.ts +1 -1
  656. package/src/generated/model/submitFlowStep200StepFieldsItem.ts +14 -13
  657. package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +1 -1
  658. package/src/generated/model/submitFlowStep200StepFieldsItemValidation.ts +2 -2
  659. package/src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  660. package/src/generated/model/submitFlowStep200StepGates.ts +10 -8
  661. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +1 -1
  662. package/src/generated/model/submitFlowStep200StepGatesKind.ts +4 -3
  663. package/src/generated/model/submitFlowStep200StepIdentifier.ts +6 -6
  664. package/src/generated/model/submitFlowStep200StepSsoProvidersItem.ts +1 -1
  665. package/src/generated/model/submitFlowStep200StepTexts.ts +1 -1
  666. package/src/generated/model/submitFlowStep400.ts +16 -12
  667. package/src/generated/model/submitFlowStep400Branding.ts +24 -22
  668. package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -7
  669. package/src/generated/model/submitFlowStep400BrandingShape.ts +1 -1
  670. package/src/generated/model/submitFlowStep400BrandingTheme.ts +5 -7
  671. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +7 -7
  672. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +63 -62
  673. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +7 -7
  674. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +63 -62
  675. package/src/generated/model/submitFlowStep400BrandingTypography.ts +4 -4
  676. package/src/generated/model/submitFlowStep400Step.ts +36 -31
  677. package/src/generated/model/submitFlowStep400StepActionsItem.ts +3 -3
  678. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +1 -1
  679. package/src/generated/model/submitFlowStep400StepChallenge.ts +4 -3
  680. package/src/generated/model/submitFlowStep400StepComplete.ts +1 -1
  681. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +14 -13
  682. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +1 -1
  683. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +2 -2
  684. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +1 -1
  685. package/src/generated/model/submitFlowStep400StepGates.ts +10 -8
  686. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +1 -1
  687. package/src/generated/model/submitFlowStep400StepGatesKind.ts +4 -3
  688. package/src/generated/model/submitFlowStep400StepIdentifier.ts +6 -6
  689. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +1 -1
  690. package/src/generated/model/submitFlowStep400StepTexts.ts +1 -1
  691. package/src/generated/model/submitFlowStepBody.ts +10 -7
  692. package/src/generated/model/submitFlowStepBodyChallengeResponse.ts +2 -2
  693. package/src/generated/model/submitFlowStepBodyGateProofs.ts +1 -1
  694. package/src/generated/model/submitFlowStepDefault.ts +27 -0
  695. package/src/generated/model/updateTeam200.ts +2 -2
  696. package/src/generated/model/updateTeam200Status.ts +2 -2
  697. package/src/generated/model/updateTeamBody.ts +1 -1
  698. package/src/generated/model/updateVariables200.ts +4 -4
  699. package/src/generated/model/updateVariables200Preview.ts +2 -2
  700. package/src/generated/model/updateVariables200Primary.ts +2 -2
  701. package/src/generated/model/updateVariablesBody.ts +14 -14
  702. package/src/generated/model/updateVariablesParams.ts +3 -1
  703. package/src/generated/model/userProperty.ts +5 -8
  704. package/src/generated/model/userPropertyProperties.ts +2 -2
  705. package/src/generated/model/userPropertyXUnique.ts +1 -1
  706. package/src/generated/model/verifyChallengeProof200.ts +23 -22
  707. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +9 -7
  708. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +1 -1
  709. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +2 -2
  710. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +5 -5
  711. package/src/generated/model/verifyChallengeProof200State.ts +2 -2
  712. package/src/generated/model/verifyChallengeProofBody.ts +2 -2
  713. package/src/generated/operations.ts +278 -153
  714. package/src/generated/paging.ts +128 -0
  715. package/src/runtime/api-factory.spec.ts +328 -0
  716. package/src/runtime/api-factory.ts +103 -13
  717. package/src/runtime/auth.ts +1 -1
  718. package/src/runtime/base-url.spec.ts +40 -4
  719. package/src/runtime/base-url.ts +28 -0
  720. package/src/runtime/fetch.spec.ts +51 -0
  721. package/src/runtime/fetch.ts +85 -30
  722. package/src/runtime/paged.spec.ts +115 -0
  723. package/src/runtime/paged.ts +62 -0
  724. package/src/runtime/paging.spec.ts +219 -0
  725. package/src/runtime/paging.ts +177 -0
  726. package/dist/fetch-CtYe0OvX.d.mts.map +0 -1
  727. package/dist/index-DAm3tCA7.d.mts.map +0 -1
  728. package/dist/runtime/api-factory.d.mts.map +0 -1
  729. package/dist/runtime/api-factory.mjs.map +0 -1
  730. package/dist/zitadelNextGen-B_VRpP2W.d.mts +0 -1360
  731. package/dist/zitadelNextGen-B_VRpP2W.d.mts.map +0 -1
@@ -9,21 +9,20 @@ import type { PatchMyUser200MetadataLifecycleOwnerTeamStatus } from './patchMyUs
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 PatchMyUser200MetadataLifecycleOwnerTeam = {
29
28
  /** The unique identifier of the team. */
@@ -33,8 +32,8 @@ export type PatchMyUser200MetadataLifecycleOwnerTeam = {
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: PatchMyUser200MetadataLifecycleOwnerTeamStatus;
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 PatchMyUser200MetadataLifecycleOwnerTeamStatus = typeof PatchMyUser200MetadataLifecycleOwnerTeamStatus[keyof typeof PatchMyUser200MetadataLifecycleOwnerTeamStatus];
16
16
 
@@ -8,13 +8,13 @@
8
8
  import type { PatchMyUser200TeamsItemMembershipStatus } from './patchMyUser200TeamsItemMembershipStatus.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 PatchMyUser200TeamsItem = {
20
20
  /** The unique identifier of the team. */
@@ -13,8 +13,8 @@ import type { PatchMyUserBodyAttributes } from './patchMyUserBodyAttributes.ts';
13
13
  * `null` deletes the attribute, and any other value replaces the stored one.
14
14
  * The merged result is validated as a whole against the user's schema.
15
15
  *
16
- * Unlike `PATCH /users/{user_id}`, the schema pointer cannot be moved here:
17
- * schema upgrades are a management operation.
16
+ * Unlike `PatchUserByID` (`PATCH /users/{user_id}`), this request cannot move
17
+ * the user to another schema: schema upgrades are a management operation.
18
18
  */
19
19
  export type PatchMyUserBody = {
20
20
  /**
@@ -7,8 +7,8 @@
7
7
  */
8
8
 
9
9
  /**
10
- * The current state of a project, as returned for that one project. It adds
11
- * the owning team to the fields every project listing carries.
10
+ * The current state of one project. It adds the owning team to the fields
11
+ * every project listing carries.
12
12
  */
13
13
  export type PatchProject200 = ({
14
14
  /** The unique identifier of the project. */
@@ -16,12 +16,19 @@ export type PatchProject200 = ({
16
16
  /** The name of the project. */
17
17
  name: string;
18
18
  /**
19
- * The project's origins. An empty list means every origin is admitted
20
- * until the first pattern is added. Loopback origins are admitted without
21
- * a pattern.
19
+ * The project's origins. An empty list admits no origin except a loopback
20
+ * origin, which is admitted without a pattern.
22
21
  */
23
22
  origins: ({
23
+ /**
24
+ * The origin pattern: an exact origin for `primary`, or an origin with at
25
+ * most one `*` for `preview`.
26
+ */
24
27
  pattern: string;
28
+ /**
29
+ * What the pattern is for: `primary` admits requests from the URLs it
30
+ * matches, `preview` bounds which URLs a preview deploy may register.
31
+ */
25
32
  kind: 'primary' | 'preview';
26
33
  })[];
27
34
  /** The time when the project was created. */
@@ -34,29 +41,26 @@ export type PatchProject200 = ({
34
41
  */
35
42
  password_hash?: {
36
43
  /**
37
- * The hashing algorithm. Only algorithms that can hash appear here; the
44
+ * The hashing algorithm. Only algorithms that can hash appear here. The
38
45
  * legacy encodings the server can still verify for imported users
39
46
  * (md5, phpass, drupal7) are not among them.
40
47
  */
41
48
  algorithm: 'argon2i' | 'argon2id' | 'bcrypt' | 'scrypt' | 'pbkdf2' | 'sha2';
42
49
  /**
43
- * The algorithm's cost parameters. Exactly the parameters the chosen
44
- * algorithm takes must be given: `time`, `memory` and `threads` for argon2i
45
- * and argon2id; `cost` for bcrypt and scrypt; `rounds` and `hash` for
46
- * pbkdf2 and sha2. A parameter another algorithm takes is rejected rather
47
- * than ignored, and a missing one is not filled in from a default, because
48
- * cost is the whole of a hashing method's strength.
50
+ * The algorithm's cost parameters. Give exactly the parameters the chosen
51
+ * algorithm takes: `time`, `memory` and `threads` for argon2i and argon2id;
52
+ * `cost` for bcrypt and scrypt; `rounds` and `hash` for pbkdf2 and sha2.
53
+ * A parameter another algorithm takes is rejected rather than ignored.
54
+ * A missing one is not filled in from a default, because cost is the whole
55
+ * of a hashing method's strength.
49
56
  *
50
57
  * The properties below are the union across algorithms, so which of them
51
- * apply, and for `hash` which of its values, depends on `algorithm`. They
52
- * are not modelled per algorithm here because the code generator renders a
53
- * conditional schema as an untyped object, which would cost every client
54
- * the types for the whole policy.
58
+ * apply, and which `hash` values, depends on `algorithm`.
55
59
  *
56
- * Values outside the limits the deployment configured are rejected, as is
57
- * an algorithm the deployment cannot verify: hashing with a method that
58
- * cannot be read back would lock out every user whose password was written
59
- * that way.
60
+ * Values outside the limits the deployment configured are rejected. So is
61
+ * an algorithm the deployment cannot verify, because hashing with a method
62
+ * that cannot be read back would lock out every user whose password was
63
+ * written that way.
60
64
  */
61
65
  params: {
62
66
  /** argon2 passes over memory. */
@@ -70,23 +74,23 @@ export type PatchProject200 = ({
70
74
  /** pbkdf2 or sha2 iteration count. */
71
75
  rounds?: number;
72
76
  /**
73
- * The underlying hash. pbkdf2 takes any of the values listed here; sha2
74
- * takes only `sha256` and `sha512`, because it is the crypt(3) scheme,
75
- * which has no other form. Any other combination is rejected with
76
- * `proj.password_hash_invalid`.
77
+ * The underlying hash. pbkdf2 takes any of the values listed here.
78
+ * sha2 takes only `sha256` and `sha512`, because it is the crypt(3)
79
+ * scheme, which has no other form. Any other combination is rejected
80
+ * with `proj.password_hash_invalid`.
77
81
  */
78
82
  hash?: 'sha1' | 'sha224' | 'sha256' | 'sha384' | 'sha512';
79
83
  };
80
84
  } | null;
81
85
  }) & ({
82
86
  /**
83
- * The team that owns the project (ADR 054 §2), which is how its
84
- * members administer it. Null when no team owns the project, for
85
- * example before it is claimed.
87
+ * The team that owns the project, which is how its members administer
88
+ * it. Null when no team owns the project, for example before it is
89
+ * claimed.
86
90
  *
87
- * The team lives in the platform project, so its id is an opaque
88
- * reference here. `GET /projects/{project_id}/admins` lists the
89
- * people who administer the project through it.
91
+ * The team lives in the platform project, so treat this ID as opaque.
92
+ * `GET /projects/{project_id}/admins` lists the people who administer
93
+ * the project through it.
90
94
  */
91
95
  owning_team_id: string | null;
92
96
  });
@@ -11,9 +11,9 @@ export type PatchProjectBody = {
11
11
  /** The name of the project. */
12
12
  name?: null | string;
13
13
  /**
14
- * The method this project's passwords are hashed with. Send null to drop the
15
- * project's own method and go back to the server default; leave the field
16
- * out to keep whatever the project has.
14
+ * The method this project's passwords are hashed with. Send `null` to drop
15
+ * the project's own method and go back to the server default. Leave the
16
+ * field out to keep whatever the project has.
17
17
  */
18
18
  password_hash?: PatchProjectBodyPasswordHash;
19
19
  };
@@ -9,35 +9,32 @@ import type { PatchProjectBodyPasswordHashAlgorithm } from './patchProjectBodyPa
9
9
  import type { PatchProjectBodyPasswordHashParams } from './patchProjectBodyPasswordHashParams.ts';
10
10
 
11
11
  /**
12
- * The method this project's passwords are hashed with. Send null to drop the
13
- * project's own method and go back to the server default; leave the field
14
- * out to keep whatever the project has.
12
+ * The method this project's passwords are hashed with. Send `null` to drop
13
+ * the project's own method and go back to the server default. Leave the
14
+ * field out to keep whatever the project has.
15
15
  */
16
16
  export type PatchProjectBodyPasswordHash = {
17
17
  /**
18
- * The hashing algorithm. Only algorithms that can hash appear here; the
18
+ * The hashing algorithm. Only algorithms that can hash appear here. The
19
19
  * legacy encodings the server can still verify for imported users
20
20
  * (md5, phpass, drupal7) are not among them.
21
21
  */
22
22
  algorithm: PatchProjectBodyPasswordHashAlgorithm;
23
23
  /**
24
- * The algorithm's cost parameters. Exactly the parameters the chosen
25
- * algorithm takes must be given: `time`, `memory` and `threads` for argon2i
26
- * and argon2id; `cost` for bcrypt and scrypt; `rounds` and `hash` for
27
- * pbkdf2 and sha2. A parameter another algorithm takes is rejected rather
28
- * than ignored, and a missing one is not filled in from a default, because
29
- * cost is the whole of a hashing method's strength.
24
+ * The algorithm's cost parameters. Give exactly the parameters the chosen
25
+ * algorithm takes: `time`, `memory` and `threads` for argon2i and argon2id;
26
+ * `cost` for bcrypt and scrypt; `rounds` and `hash` for pbkdf2 and sha2.
27
+ * A parameter another algorithm takes is rejected rather than ignored.
28
+ * A missing one is not filled in from a default, because cost is the whole
29
+ * of a hashing method's strength.
30
30
  *
31
31
  * The properties below are the union across algorithms, so which of them
32
- * apply, and for `hash` which of its values, depends on `algorithm`. They
33
- * are not modelled per algorithm here because the code generator renders a
34
- * conditional schema as an untyped object, which would cost every client
35
- * the types for the whole policy.
32
+ * apply, and which `hash` values, depends on `algorithm`.
36
33
  *
37
- * Values outside the limits the deployment configured are rejected, as is
38
- * an algorithm the deployment cannot verify: hashing with a method that
39
- * cannot be read back would lock out every user whose password was written
40
- * that way.
34
+ * Values outside the limits the deployment configured are rejected. So is
35
+ * an algorithm the deployment cannot verify, because hashing with a method
36
+ * that cannot be read back would lock out every user whose password was
37
+ * written that way.
41
38
  */
42
39
  params: PatchProjectBodyPasswordHashParams;
43
40
  } | null;
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  /**
10
- * The hashing algorithm. Only algorithms that can hash appear here; the
10
+ * The hashing algorithm. Only algorithms that can hash appear here. The
11
11
  * legacy encodings the server can still verify for imported users
12
12
  * (md5, phpass, drupal7) are not among them.
13
13
  */
@@ -8,23 +8,20 @@
8
8
  import type { PatchProjectBodyPasswordHashParamsHash } from './patchProjectBodyPasswordHashParamsHash.ts';
9
9
 
10
10
  /**
11
- * The algorithm's cost parameters. Exactly the parameters the chosen
12
- * algorithm takes must be given: `time`, `memory` and `threads` for argon2i
13
- * and argon2id; `cost` for bcrypt and scrypt; `rounds` and `hash` for
14
- * pbkdf2 and sha2. A parameter another algorithm takes is rejected rather
15
- * than ignored, and a missing one is not filled in from a default, because
16
- * cost is the whole of a hashing method's strength.
11
+ * The algorithm's cost parameters. Give exactly the parameters the chosen
12
+ * algorithm takes: `time`, `memory` and `threads` for argon2i and argon2id;
13
+ * `cost` for bcrypt and scrypt; `rounds` and `hash` for pbkdf2 and sha2.
14
+ * A parameter another algorithm takes is rejected rather than ignored.
15
+ * A missing one is not filled in from a default, because cost is the whole
16
+ * of a hashing method's strength.
17
17
  *
18
18
  * The properties below are the union across algorithms, so which of them
19
- * apply, and for `hash` which of its values, depends on `algorithm`. They
20
- * are not modelled per algorithm here because the code generator renders a
21
- * conditional schema as an untyped object, which would cost every client
22
- * the types for the whole policy.
19
+ * apply, and which `hash` values, depends on `algorithm`.
23
20
  *
24
- * Values outside the limits the deployment configured are rejected, as is
25
- * an algorithm the deployment cannot verify: hashing with a method that
26
- * cannot be read back would lock out every user whose password was written
27
- * that way.
21
+ * Values outside the limits the deployment configured are rejected. So is
22
+ * an algorithm the deployment cannot verify, because hashing with a method
23
+ * that cannot be read back would lock out every user whose password was
24
+ * written that way.
28
25
  */
29
26
  export type PatchProjectBodyPasswordHashParams = {
30
27
  /** argon2 passes over memory. */
@@ -38,10 +35,10 @@ export type PatchProjectBodyPasswordHashParams = {
38
35
  /** pbkdf2 or sha2 iteration count. */
39
36
  rounds?: number;
40
37
  /**
41
- * The underlying hash. pbkdf2 takes any of the values listed here; sha2
42
- * takes only `sha256` and `sha512`, because it is the crypt(3) scheme,
43
- * which has no other form. Any other combination is rejected with
44
- * `proj.password_hash_invalid`.
38
+ * The underlying hash. pbkdf2 takes any of the values listed here.
39
+ * sha2 takes only `sha256` and `sha512`, because it is the crypt(3)
40
+ * scheme, which has no other form. Any other combination is rejected
41
+ * with `proj.password_hash_invalid`.
45
42
  */
46
43
  hash?: PatchProjectBodyPasswordHashParamsHash;
47
44
  };
@@ -7,10 +7,10 @@
7
7
  */
8
8
 
9
9
  /**
10
- * The underlying hash. pbkdf2 takes any of the values listed here; sha2
11
- * takes only `sha256` and `sha512`, because it is the crypt(3) scheme,
12
- * which has no other form. Any other combination is rejected with
13
- * `proj.password_hash_invalid`.
10
+ * The underlying hash. pbkdf2 takes any of the values listed here.
11
+ * sha2 takes only `sha256` and `sha512`, because it is the crypt(3)
12
+ * scheme, which has no other form. Any other combination is rejected
13
+ * with `proj.password_hash_invalid`.
14
14
  */
15
15
  export type PatchProjectBodyPasswordHashParamsHash = typeof PatchProjectBodyPasswordHashParamsHash[keyof typeof PatchProjectBodyPasswordHashParamsHash];
16
16
 
@@ -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. */