@zitadel/api 0.1.0 → 0.3.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 (232) hide show
  1. package/dist/{fetch-DD3lSbnp.d.mts → fetch-CtYe0OvX.d.mts} +8 -2
  2. package/dist/fetch-CtYe0OvX.d.mts.map +1 -0
  3. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  4. package/dist/generated/endpoints/zitadelNextGen.mjs +291 -44
  5. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  6. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +17 -4
  7. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  8. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +3184 -1471
  9. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  10. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1342 -85
  11. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  12. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +1865 -648
  13. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  14. package/dist/generated/model/index.d.mts +2 -2
  15. package/dist/generated/model/index.mjs +76 -65
  16. package/dist/generated/model/index.mjs.map +1 -1
  17. package/dist/generated/operations.mjs +202 -29
  18. package/dist/generated/operations.mjs.map +1 -1
  19. package/dist/{index-DuuFQkA8.d.mts → index-DAm3tCA7.d.mts} +6562 -1257
  20. package/dist/index-DAm3tCA7.d.mts.map +1 -0
  21. package/dist/runtime/api-factory.d.mts +1 -1
  22. package/dist/runtime/fetch.d.mts +1 -1
  23. package/dist/runtime/fetch.mjs +9 -2
  24. package/dist/runtime/fetch.mjs.map +1 -1
  25. package/dist/{zitadelNextGen-BdUDEEuX.d.mts → zitadelNextGen-B_VRpP2W.d.mts} +165 -39
  26. package/dist/zitadelNextGen-B_VRpP2W.d.mts.map +1 -0
  27. package/package.json +3 -2
  28. package/src/generated/endpoints/zitadelNextGen.faker.ts +46 -25
  29. package/src/generated/endpoints/zitadelNextGen.msw.ts +106 -13
  30. package/src/generated/endpoints/zitadelNextGen.ts +404 -54
  31. package/src/generated/endpoints/zitadelNextGen.zod.ts +1159 -133
  32. package/src/generated/model/addOriginDefault.ts +27 -0
  33. package/src/generated/model/beginUserPasskeyRegistrationDefault.ts +18 -0
  34. package/src/generated/model/buildRelease200PointersItem.ts +2 -0
  35. package/src/generated/model/buildRelease200PointersItemKind.ts +1 -0
  36. package/src/generated/model/buildRelease201PointersItem.ts +2 -0
  37. package/src/generated/model/buildRelease201PointersItemKind.ts +1 -0
  38. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +1 -0
  39. package/src/generated/model/buildReleaseBody.ts +3 -3
  40. package/src/generated/model/buildReleaseBodyBundle.ts +20 -3
  41. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +47 -0
  42. package/src/generated/model/buildReleaseDefault.ts +36 -0
  43. package/src/generated/model/createAuthAttemptDefault.ts +27 -0
  44. package/src/generated/model/createBrandingDefault.ts +18 -0
  45. package/src/generated/model/createDeployment200ReleasePointersItem.ts +2 -0
  46. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +1 -0
  47. package/src/generated/model/createDeployment201ReleasePointersItem.ts +2 -0
  48. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +1 -0
  49. package/src/generated/model/createDeployment409.ts +3 -1
  50. package/src/generated/model/createDeploymentBody.ts +2 -4
  51. package/src/generated/model/createDeploymentDefault.ts +54 -0
  52. package/src/generated/model/createFlow201Step.ts +19 -0
  53. package/src/generated/model/createFlow201StepPurpose.ts +26 -0
  54. package/src/generated/model/createFlowDefault.ts +18 -0
  55. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +5 -0
  56. package/src/generated/model/createFlowDefinitionDefault.ts +18 -0
  57. package/src/generated/model/createGrant201Team.ts +4 -1
  58. package/src/generated/model/createGrantDefault.ts +18 -0
  59. package/src/generated/model/createHandoffDefault.ts +18 -0
  60. package/src/generated/model/createIdpDefault.ts +18 -0
  61. package/src/generated/model/createRelease200PointersItem.ts +2 -0
  62. package/src/generated/model/createRelease200PointersItemKind.ts +1 -0
  63. package/src/generated/model/createRelease201PointersItem.ts +2 -0
  64. package/src/generated/model/createRelease201PointersItemKind.ts +1 -0
  65. package/src/generated/model/createReleaseBodyPointersItemKind.ts +1 -0
  66. package/src/generated/model/createReleaseDefault.ts +18 -0
  67. package/src/generated/model/createSchemaDefault.ts +18 -0
  68. package/src/generated/model/createSessionDefault.ts +18 -0
  69. package/src/generated/model/createTeamDefault.ts +18 -0
  70. package/src/generated/model/createUserDefault.ts +18 -0
  71. package/src/generated/model/deleteGrantDefault.ts +18 -0
  72. package/src/generated/model/deleteTeamDefault.ts +18 -0
  73. package/src/generated/model/deleteUserByIDDefault.ts +18 -0
  74. package/src/generated/model/deleteVariableDefault.ts +18 -0
  75. package/src/generated/model/evaluatePolicy200.ts +30 -0
  76. package/src/generated/model/evaluatePolicy200Violations.ts +14 -0
  77. package/src/generated/model/evaluatePolicyBody.ts +82 -0
  78. package/src/generated/model/evaluatePolicyDefault.ts +90 -0
  79. package/src/generated/model/evaluatePolicyParams.ts +15 -0
  80. package/src/generated/model/exchangeHandoffDefault.ts +36 -0
  81. package/src/generated/model/finishUserPasskeyRegistrationDefault.ts +18 -0
  82. package/src/generated/model/getAuthAttemptDefault.ts +18 -0
  83. package/src/generated/model/getBrandingByIdDefault.ts +18 -0
  84. package/src/generated/model/getClaimStatusDefault.ts +18 -0
  85. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +2 -0
  86. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +1 -0
  87. package/src/generated/model/getDeploymentByIdDefault.ts +18 -0
  88. package/src/generated/model/getDeploymentVariablesDefault.ts +9 -0
  89. package/src/generated/model/getEvent200.ts +788 -0
  90. package/src/generated/model/getEventDefault.ts +18 -0
  91. package/src/generated/model/getFlowDefinition200UserSchemaMetadata.ts +5 -0
  92. package/src/generated/model/getFlowDefinitionDefault.ts +18 -0
  93. package/src/generated/model/getFlowStep200Step.ts +19 -0
  94. package/src/generated/model/getFlowStep200StepPurpose.ts +26 -0
  95. package/src/generated/model/getFlowStepDefault.ts +36 -0
  96. package/src/generated/model/getGrant200Team.ts +4 -1
  97. package/src/generated/model/getGrantDefault.ts +18 -0
  98. package/src/generated/model/getIdpByIdDefault.ts +18 -0
  99. package/src/generated/model/getIdpRevisionByIdDefault.ts +18 -0
  100. package/src/generated/model/getMyPasswordStateDefault.ts +18 -0
  101. package/src/generated/model/getMySessionCsrfTokenDefault.ts +18 -0
  102. package/src/generated/model/getMySessionDefault.ts +18 -0
  103. package/src/generated/model/getMyUserDefault.ts +18 -0
  104. package/src/generated/model/getMyUserSchema200Metadata.ts +5 -0
  105. package/src/generated/model/getMyUserSchemaDefault.ts +18 -0
  106. package/src/generated/model/getPolicy200.ts +62 -0
  107. package/src/generated/model/getPolicyDefault.ts +72 -0
  108. package/src/generated/model/getPolicyParams.ts +15 -0
  109. package/src/generated/model/getPolicyRevision200.ts +62 -0
  110. package/src/generated/model/getPolicyRevisionDefault.ts +72 -0
  111. package/src/generated/model/getPolicyRevisionParams.ts +15 -0
  112. package/src/generated/model/getProject200.ts +64 -6
  113. package/src/generated/model/getReleaseById200PointersItem.ts +2 -0
  114. package/src/generated/model/getReleaseById200PointersItemKind.ts +1 -0
  115. package/src/generated/model/getReleaseByIdDefault.ts +18 -0
  116. package/src/generated/model/getSchemaById200Metadata.ts +5 -0
  117. package/src/generated/model/getSchemaByIdDefault.ts +18 -0
  118. package/src/generated/model/getSessionDefault.ts +18 -0
  119. package/src/generated/model/getTeamDefault.ts +18 -0
  120. package/src/generated/model/getUserByIDDefault.ts +18 -0
  121. package/src/generated/model/getUserPasswordStateDefault.ts +18 -0
  122. package/src/generated/model/getVariableDefault.ts +18 -0
  123. package/src/generated/model/getVariablesDefault.ts +18 -0
  124. package/src/generated/model/index.ts +44 -21
  125. package/src/generated/model/initClaimDefault.ts +18 -0
  126. package/src/generated/model/issueChallengeDefault.ts +18 -0
  127. package/src/generated/model/listBrandingDefault.ts +18 -0
  128. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +2 -0
  129. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +1 -0
  130. package/src/generated/model/listDeploymentsDefault.ts +18 -0
  131. package/src/generated/model/listEvents200DataItem.ts +788 -0
  132. package/src/generated/model/listEventsDefault.ts +18 -0
  133. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaMetadata.ts +5 -0
  134. package/src/generated/model/listFlowDefinitionsDefault.ts +18 -0
  135. package/src/generated/model/listIdpRevisionsDefault.ts +18 -0
  136. package/src/generated/model/listMyIdentityLinksDefault.ts +18 -0
  137. package/src/generated/model/listMyPasskeysDefault.ts +18 -0
  138. package/src/generated/model/listMyProjectsDefault.ts +18 -0
  139. package/src/generated/model/listMyProjectsParams.ts +8 -0
  140. package/src/generated/model/listMyTeamsDefault.ts +18 -0
  141. package/src/generated/model/listPolicies200.ts +21 -0
  142. package/src/generated/model/listPolicies200PoliciesItem.ts +62 -0
  143. package/src/generated/model/listPoliciesDefault.ts +72 -0
  144. package/src/generated/model/listPoliciesOperation.ts +14 -0
  145. package/src/generated/model/listPoliciesParams.ts +33 -0
  146. package/src/generated/model/listPolicyRevisions200.ts +20 -0
  147. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +62 -0
  148. package/src/generated/model/listPolicyRevisionsDefault.ts +72 -0
  149. package/src/generated/model/listPolicyRevisionsParams.ts +28 -0
  150. package/src/generated/model/listPreviewsDefault.ts +9 -0
  151. package/src/generated/model/listProjectAdmins200.ts +20 -0
  152. package/src/generated/model/listProjectAdmins200AdminsItem.ts +31 -0
  153. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +57 -0
  154. package/src/generated/model/listProjectAdmins200AdminsItemUser.ts +40 -0
  155. package/src/generated/model/{createAuthAttempt409.ts → listProjectAdmins400.ts} +3 -3
  156. package/src/generated/model/{createAuthAttempt409Details.ts → listProjectAdmins400Details.ts} +1 -1
  157. package/src/generated/model/{issueChallenge409.ts → listProjectAdmins401.ts} +3 -3
  158. package/src/generated/model/{issueChallenge409Details.ts → listProjectAdmins401Details.ts} +1 -1
  159. package/src/generated/model/{getAuthAttempt409.ts → listProjectAdmins403.ts} +3 -3
  160. package/src/generated/model/{getHealth4xxDetails.ts → listProjectAdmins403Details.ts} +1 -1
  161. package/src/generated/model/{getHealth4xx.ts → listProjectAdmins404.ts} +3 -3
  162. package/src/generated/model/{getAuthAttempt409Details.ts → listProjectAdmins404Details.ts} +1 -1
  163. package/src/generated/model/listProjectAdminsDefault.ts +81 -0
  164. package/src/generated/model/listProjectAdminsParams.ts +23 -0
  165. package/src/generated/model/listReleasesDefault.ts +18 -0
  166. package/src/generated/model/listSchemas200SchemasItemMetadata.ts +5 -0
  167. package/src/generated/model/listSchemasDefault.ts +18 -0
  168. package/src/generated/model/listSchemasExpandItem.ts +28 -0
  169. package/src/generated/model/listSchemasParams.ts +5 -0
  170. package/src/generated/model/listUserIdentityLinksDefault.ts +18 -0
  171. package/src/generated/model/listUserPasskeysDefault.ts +18 -0
  172. package/src/generated/model/listUserTeamsDefault.ts +18 -0
  173. package/src/generated/model/patchMyUserDefault.ts +18 -0
  174. package/src/generated/model/patchProject200.ts +64 -6
  175. package/src/generated/model/patchProjectDefault.ts +18 -0
  176. package/src/generated/model/patchUserByIDDefault.ts +18 -0
  177. package/src/generated/model/publishPolicy201.ts +62 -0
  178. package/src/generated/model/publishPolicyBody.ts +47 -0
  179. package/src/generated/model/publishPolicyDefault.ts +99 -0
  180. package/src/generated/model/publishPolicyParams.ts +15 -0
  181. package/src/generated/model/queryGrants200GrantsItemTeam.ts +4 -1
  182. package/src/generated/model/queryGrantsDefault.ts +9 -0
  183. package/src/generated/model/queryIdpsDefault.ts +9 -0
  184. package/src/generated/model/queryProjectsDefault.ts +9 -0
  185. package/src/generated/model/querySessionsDefault.ts +9 -0
  186. package/src/generated/model/queryTeamsDefault.ts +9 -0
  187. package/src/generated/model/queryUsersBodyFilterItem.ts +11 -3
  188. package/src/generated/model/queryUsersBodyFilterItemField.ts +12 -3
  189. package/src/generated/model/queryUsersDefault.ts +9 -0
  190. package/src/generated/model/removeOriginDefault.ts +27 -0
  191. package/src/generated/model/removePreviewDefault.ts +18 -0
  192. package/src/generated/model/revokeMySessionDefault.ts +18 -0
  193. package/src/generated/model/revokeRelease200PointersItem.ts +2 -0
  194. package/src/generated/model/revokeRelease200PointersItemKind.ts +1 -0
  195. package/src/generated/model/revokeRelease409DetailsOriginsItem.ts +9 -1
  196. package/src/generated/model/revokeReleaseDefault.ts +63 -0
  197. package/src/generated/model/revokeSessionDefault.ts +18 -0
  198. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +2 -0
  199. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +1 -0
  200. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +2 -0
  201. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +1 -0
  202. package/src/generated/model/rollbackDeployment409.ts +3 -1
  203. package/src/generated/model/rollbackDeploymentDefault.ts +99 -0
  204. package/src/generated/model/setUserPasswordDefault.ts +18 -0
  205. package/src/generated/model/submitFlowStep200Step.ts +19 -0
  206. package/src/generated/model/submitFlowStep200StepPurpose.ts +26 -0
  207. package/src/generated/model/submitFlowStep400Step.ts +19 -0
  208. package/src/generated/model/submitFlowStep400StepPurpose.ts +26 -0
  209. package/src/generated/model/submitFlowStepDefault.ts +36 -0
  210. package/src/generated/model/updateTeamDefault.ts +18 -0
  211. package/src/generated/model/updateVariablesDefault.ts +18 -0
  212. package/src/generated/model/verifyChallengeProofDefault.ts +18 -0
  213. package/src/generated/operations.ts +212 -29
  214. package/src/runtime/config.spec.ts +2 -2
  215. package/src/runtime/fetch.spec.ts +13 -1
  216. package/src/runtime/fetch.ts +15 -2
  217. package/dist/fetch-DD3lSbnp.d.mts.map +0 -1
  218. package/dist/index-DuuFQkA8.d.mts.map +0 -1
  219. package/dist/zitadelNextGen-BdUDEEuX.d.mts.map +0 -1
  220. package/src/generated/model/getHealthDefault.ts +0 -27
  221. package/src/generated/model/getProject200OriginsItem.ts +0 -23
  222. package/src/generated/model/getProject200OriginsItemKind.ts +0 -15
  223. package/src/generated/model/getProject200PasswordHash.ts +0 -42
  224. package/src/generated/model/getProject200PasswordHashAlgorithm.ts +0 -24
  225. package/src/generated/model/getProject200PasswordHashParams.ts +0 -47
  226. package/src/generated/model/getProject200PasswordHashParamsHash.ts +0 -24
  227. package/src/generated/model/patchProject200OriginsItem.ts +0 -23
  228. package/src/generated/model/patchProject200OriginsItemKind.ts +0 -15
  229. package/src/generated/model/patchProject200PasswordHash.ts +0 -42
  230. package/src/generated/model/patchProject200PasswordHashAlgorithm.ts +0 -24
  231. package/src/generated/model/patchProject200PasswordHashParams.ts +0 -47
  232. package/src/generated/model/patchProject200PasswordHashParamsHash.ts +0 -24
@@ -16,7 +16,13 @@ declare class ApiError extends Error {
16
16
  readonly status: number;
17
17
  readonly url: string;
18
18
  readonly body: unknown;
19
- constructor(status: number, url: string, body: unknown, message: string);
19
+ /**
20
+ * The server's ID for the request, from its `X-Request-Id` header: the
21
+ * reference that finds the request in the server's logs, to show beside the
22
+ * error. `undefined` when the response carried none, as from a proxy.
23
+ */
24
+ readonly requestId: string | undefined;
25
+ constructor(status: number, url: string, body: unknown, message: string, requestId?: string);
20
26
  }
21
27
  /**
22
28
  * Thrown when a request got no response at all: the connection was refused or
@@ -104,4 +110,4 @@ declare function apiErrorCode(errorOrBody: unknown): string | undefined;
104
110
  declare function apiErrorMessage(error: ApiError): string;
105
111
  //#endregion
106
112
  export { apiErrorCode as a, request as c, RequestPolicy as i, setRequestPolicy as l, CSRF_HEADER as n, apiErrorMessage as o, NetworkError as r, customFetch as s, ApiError as t };
107
- //# sourceMappingURL=fetch-DD3lSbnp.d.mts.map
113
+ //# sourceMappingURL=fetch-CtYe0OvX.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-CtYe0OvX.d.mts","names":[],"sources":["../src/runtime/fetch.ts"],"mappings":";;cAGa;;;;;;;;;;;;cAmBA,iBAAiB;WACnB;WACA;WACA;;;;;;WAMA;EAEG,YAAA,gBAAgB,aAAa,eAAe,iBAAiB;;;;;;;;;;;;cAoB9D,qBAAqB;WACvB;;WAEA;EAGP,YAAA,aACA,mCACA,iBACA,UAAU;;;;;;;KAcF;;EAEV,SAAS;;EAET;;iBAKc,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;iBA0BnB,YAAY,GAAG,aAAa,SAAS,cAAc,QAAQ;;;;;;;;;;;;;;;;iBAyF3D,QAAQ,eAC5B,aACA,MAAM,aACN,SAAQ,eACR,QAAQ,KAAK,aAAa,QAAQ,KACjC;EAAU,KAAK;EAAU,SAAS;;;;;;;iBAiErB,aAAa;;;;;;;;iBAYb,gBAAgB,OAAO"}
@@ -1,2 +1,2 @@
1
- import { $ as getEvent, $n as patchMyUser, $t as getListUserTeamsUrl, A as getClaimStatus, An as getUpdateVariablesUrl, At as getGetUserPasswordStateUrl, B as getCreateIdpUrl, Bn as listEvents, Bt as getListDeploymentsUrl, C as exchangeHandoff, Cn as getRollbackDeploymentUrl, Ct as getGetProjectUrl, D as getBeginUserPasskeyRegistrationUrl, Dn as getSubmitFlowStepUrl, Dt as getGetSessionUrl, E as getAuthAttempt, En as getSetUserPasswordUrl, Et as getGetSchemaByIdUrl, F as getCreateDeploymentUrl, Fn as getVerifyChallengeProofUrl, Ft as getIdpById, G as getCreateTeamUrl, Gn as listMyProjects, Gt as getListMyPasskeysUrl, H as getCreateReleaseUrl, Hn as listIdpRevisions, Ht as getListFlowDefinitionsUrl, I as getCreateFlowDefinitionUrl, In as initClaim, It as getIdpRevisionById, J as getDeleteTeamUrl, Jn as listReleases, Jt as getListPreviewsUrl, K as getCreateUserUrl, Kn as listMyTeams, Kt as getListMyProjectsUrl, L as getCreateFlowUrl, Ln as issueChallenge, Lt as getInitClaimUrl, M as getCompleteClaimUrl, Mn as getUserPasswordState, Mt as getGetVariablesUrl, N as getCreateAuthAttemptUrl, Nn as getVariable, Nt as getGrant, O as getBrandingById, On as getTeam, Ot as getGetTeamUrl, P as getCreateBrandingUrl, Pn as getVariables, Pt as getHealth, Q as getDeploymentVariables, Qn as listUserTeams, Qt as getListUserPasskeysUrl, R as getCreateGrantUrl, Rn as listBranding, Rt as getIssueChallengeUrl, S as deleteVariable, Sn as getRevokeSessionUrl, St as getGetMyUserUrl, T as getAddOriginUrl, Tn as getSession, Tt as getGetReleaseByIdUrl, U as getCreateSchemaUrl, Un as listMyIdentityLinks, Ut as getListIdpRevisionsUrl, V as getCreateProjectUrl, Vn as listFlowDefinitions, Vt as getListEventsUrl, W as getCreateSessionUrl, Wn as listMyPasskeys, Wt as getListMyIdentityLinksUrl, X as getDeleteVariableUrl, Xn as listUserIdentityLinks, Xt as getListSchemasUrl, Y as getDeleteUserByIDUrl, Yn as listSchemas, Yt as getListReleasesUrl, Z as getDeploymentById, Zn as listUserPasskeys, Zt as getListUserIdentityLinksUrl, _ as createTeam, _n as getReleaseById, _r as updateVariables, _t as getGetLiveUrl, a as createAuthAttempt, an as getMyUserSchema, ar as querySessions, at as getGetBrandingByIdUrl, b as deleteTeam, bn as getRevokeMySessionUrl, bt as getGetMySessionUrl, c as createFlow, cn as getPatchUserByIDUrl, cr as removeOrigin, ct as getGetDeploymentByIdUrl, d as createHandoff, dn as getQueryIdpsUrl, dr as revokeRelease, dt as getGetFlowDefinitionUrl, en as getLive, er as patchProject, et as getExchangeHandoffUrl, f as createIdp, fn as getQueryProjectsUrl, fr as revokeSession, ft as getGetFlowStepUrl, g as createSession, gn as getReady, gr as updateTeam, gt as getGetIdpRevisionByIdUrl, h as createSchema, hn as getQueryUsersUrl, hr as submitFlowStep, ht as getGetIdpByIdUrl, i as completeClaim, in as getMyUser, ir as queryProjects, it as getGetAuthAttemptUrl, j as getClaimWindow, jn as getUserByID, jt as getGetVariableUrl, k as getBuildReleaseUrl, kn as getUpdateTeamUrl, kt as getGetUserByIDUrl, l as createFlowDefinition, ln as getProject, lr as removePreview, lt as getGetDeploymentVariablesUrl, m as createRelease, mn as getQueryTeamsUrl, mr as setUserPassword, mt as getGetHealthUrl, n as beginUserPasskeyRegistration, nn as getMySession, nr as queryGrants, nt as getFlowDefinition, o as createBranding, on as getPatchMyUserUrl, or as queryTeams, ot as getGetClaimStatusUrl, p as createProject, pn as getQuerySessionsUrl, pr as rollbackDeployment, pt as getGetGrantUrl, q as getDeleteGrantUrl, qn as listPreviews, qt as getListMyTeamsUrl, r as buildRelease, rn as getMySessionCsrfToken, rr as queryIdps, rt as getFlowStep, s as createDeployment, sn as getPatchProjectUrl, sr as queryUsers, st as getGetClaimWindowUrl, t as addOrigin, tn as getMyPasswordState, tr as patchUserByID, tt as getFinishUserPasskeyRegistrationUrl, u as createGrant, un as getQueryGrantsUrl, ur as revokeMySession, ut as getGetEventUrl, v as createUser, vn as getRemoveOriginUrl, vr as verifyChallengeProof, vt as getGetMyPasswordStateUrl, w as finishUserPasskeyRegistration, wn as getSchemaById, wt as getGetReadyUrl, x as deleteUserByID, xn as getRevokeReleaseUrl, xt as getGetMyUserSchemaUrl, y as deleteGrant, yn as getRemovePreviewUrl, yt as getGetMySessionCsrfTokenUrl, z as getCreateHandoffUrl, zn as listDeployments, zt as getListBrandingUrl } from "../../zitadelNextGen-BdUDEEuX.mjs";
2
- export { addOrigin, beginUserPasskeyRegistration, buildRelease, completeClaim, createAuthAttempt, createBranding, createDeployment, createFlow, createFlowDefinition, createGrant, createHandoff, createIdp, createProject, createRelease, createSchema, createSession, createTeam, createUser, deleteGrant, deleteTeam, deleteUserByID, deleteVariable, exchangeHandoff, finishUserPasskeyRegistration, getAddOriginUrl, getAuthAttempt, getBeginUserPasskeyRegistrationUrl, getBrandingById, getBuildReleaseUrl, getClaimStatus, getClaimWindow, getCompleteClaimUrl, getCreateAuthAttemptUrl, getCreateBrandingUrl, getCreateDeploymentUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateGrantUrl, getCreateHandoffUrl, getCreateIdpUrl, getCreateProjectUrl, getCreateReleaseUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeleteGrantUrl, getDeleteTeamUrl, getDeleteUserByIDUrl, getDeleteVariableUrl, getDeploymentById, getDeploymentVariables, getEvent, getExchangeHandoffUrl, getFinishUserPasskeyRegistrationUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetBrandingByIdUrl, getGetClaimStatusUrl, getGetClaimWindowUrl, getGetDeploymentByIdUrl, getGetDeploymentVariablesUrl, getGetEventUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetGrantUrl, getGetHealthUrl, getGetIdpByIdUrl, getGetIdpRevisionByIdUrl, getGetLiveUrl, getGetMyPasswordStateUrl, getGetMySessionCsrfTokenUrl, getGetMySessionUrl, getGetMyUserSchemaUrl, getGetMyUserUrl, getGetProjectUrl, getGetReadyUrl, getGetReleaseByIdUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetUserByIDUrl, getGetUserPasswordStateUrl, getGetVariableUrl, getGetVariablesUrl, getGrant, getHealth, getIdpById, getIdpRevisionById, getInitClaimUrl, getIssueChallengeUrl, getListBrandingUrl, getListDeploymentsUrl, getListEventsUrl, getListFlowDefinitionsUrl, getListIdpRevisionsUrl, getListMyIdentityLinksUrl, getListMyPasskeysUrl, getListMyProjectsUrl, getListMyTeamsUrl, getListPreviewsUrl, getListReleasesUrl, getListSchemasUrl, getListUserIdentityLinksUrl, getListUserPasskeysUrl, getListUserTeamsUrl, getLive, getMyPasswordState, getMySession, getMySessionCsrfToken, getMyUser, getMyUserSchema, getPatchMyUserUrl, getPatchProjectUrl, getPatchUserByIDUrl, getProject, getQueryGrantsUrl, getQueryIdpsUrl, getQueryProjectsUrl, getQuerySessionsUrl, getQueryTeamsUrl, getQueryUsersUrl, getReady, getReleaseById, getRemoveOriginUrl, getRemovePreviewUrl, getRevokeMySessionUrl, getRevokeReleaseUrl, getRevokeSessionUrl, getRollbackDeploymentUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowStepUrl, getTeam, getUpdateTeamUrl, getUpdateVariablesUrl, getUserByID, getUserPasswordState, getVariable, getVariables, getVerifyChallengeProofUrl, initClaim, issueChallenge, listBranding, listDeployments, listEvents, listFlowDefinitions, listIdpRevisions, listMyIdentityLinks, listMyPasskeys, listMyProjects, listMyTeams, listPreviews, listReleases, listSchemas, listUserIdentityLinks, listUserPasskeys, listUserTeams, patchMyUser, patchProject, patchUserByID, queryGrants, queryIdps, queryProjects, querySessions, queryTeams, queryUsers, removeOrigin, removePreview, revokeMySession, revokeRelease, revokeSession, rollbackDeployment, setUserPassword, submitFlowStep, updateTeam, updateVariables, verifyChallengeProof };
1
+ import { $ as getDeploymentVariables, $n as listMyProjects, $t as getListProjectAdminsUrl, A as getBuildReleaseUrl, An as getRevokeSessionUrl, Ar as verifyChallengeProof, At as getGetSessionUrl, B as getCreateHandoffUrl, Bn as getUserPasswordState, Bt as getIssueChallengeUrl, C as evaluatePolicy, Cn as getQueryUsersUrl, Cr as revokeRelease, Ct as getGetMyUserUrl, D as getAuthAttempt, Dn as getRemovePreviewUrl, Dr as submitFlowStep, Dt as getGetReadyUrl, E as getAddOriginUrl, En as getRemoveOriginUrl, Er as setUserPassword, Et as getGetProjectUrl, F as getCreateBrandingUrl, Fn as getSubmitFlowStepUrl, Ft as getGetVariablesUrl, G as getCreateSessionUrl, Gn as issueChallenge, Gt as getListIdpRevisionsUrl, H as getCreateProjectUrl, Hn as getVariables, Ht as getListDeploymentsUrl, I as getCreateDeploymentUrl, In as getTeam, It as getGrant, J as getDeleteGrantUrl, Jn as listEvents, Jt as getListMyProjectsUrl, K as getCreateTeamUrl, Kn as listBranding, Kt as getListMyIdentityLinksUrl, L as getCreateFlowDefinitionUrl, Ln as getUpdateTeamUrl, Lt as getIdpById, M as getClaimWindow, Mn as getSchemaById, Mt as getGetUserByIDUrl, N as getCompleteClaimUrl, Nn as getSession, Nt as getGetUserPasswordStateUrl, O as getBeginUserPasskeyRegistrationUrl, On as getRevokeMySessionUrl, Or as updateTeam, Ot as getGetReleaseByIdUrl, P as getCreateAuthAttemptUrl, Pn as getSetUserPasswordUrl, Pt as getGetVariableUrl, Q as getDeploymentById, Qn as listMyPasskeys, Qt as getListPreviewsUrl, R as getCreateFlowUrl, Rn as getUpdateVariablesUrl, Rt as getIdpRevisionById, S as deleteVariable, Sn as getQueryTeamsUrl, Sr as revokeMySession, St as getGetMyUserSchemaUrl, T as finishUserPasskeyRegistration, Tn as getReleaseById, Tr as rollbackDeployment, Tt as getGetPolicyUrl, U as getCreateReleaseUrl, Un as getVerifyChallengeProofUrl, Ut as getListEventsUrl, V as getCreateIdpUrl, Vn as getVariable, Vt as getListBrandingUrl, W as getCreateSchemaUrl, Wn as initClaim, Wt as getListFlowDefinitionsUrl, X as getDeleteUserByIDUrl, Xn as listIdpRevisions, Xt as getListPoliciesUrl, Y as getDeleteTeamUrl, Yn as listFlowDefinitions, Yt as getListMyTeamsUrl, Z as getDeleteVariableUrl, Zn as listMyIdentityLinks, Zt as getListPolicyRevisionsUrl, _ as createTeam, _n as getPublishPolicyUrl, _r as querySessions, _t as getGetIdpRevisionByIdUrl, a as createAuthAttempt, an as getLive, ar as listReleases, at as getFlowStep, b as deleteTeam, bn as getQueryProjectsUrl, br as removeOrigin, bt as getGetMySessionCsrfTokenUrl, c as createFlow, cn as getMySessionCsrfToken, cr as listUserPasskeys, ct as getGetClaimStatusUrl, d as createHandoff, dn as getPatchMyUserUrl, dr as patchProject, dt as getGetDeploymentVariablesUrl, en as getListReleasesUrl, er as listMyTeams, et as getEvaluatePolicyUrl, f as createIdp, fn as getPatchProjectUrl, fr as patchUserByID, ft as getGetEventUrl, g as createSession, gn as getProject, gr as queryProjects, gt as getGetIdpByIdUrl, h as createSchema, hn as getPolicyRevision, hr as queryIdps, ht as getGetGrantUrl, i as completeClaim, in as getListUserTeamsUrl, ir as listProjectAdmins, it as getFlowDefinition, j as getClaimStatus, jn as getRollbackDeploymentUrl, jt as getGetTeamUrl, k as getBrandingById, kn as getRevokeReleaseUrl, kr as updateVariables, kt as getGetSchemaByIdUrl, l as createFlowDefinition, ln as getMyUser, lr as listUserTeams, lt as getGetClaimWindowUrl, m as createRelease, mn as getPolicy, mr as queryGrants, mt as getGetFlowStepUrl, n as beginUserPasskeyRegistration, nn as getListUserIdentityLinksUrl, nr as listPolicyRevisions, nt as getExchangeHandoffUrl, o as createBranding, on as getMyPasswordState, or as listSchemas, ot as getGetAuthAttemptUrl, p as createProject, pn as getPatchUserByIDUrl, pr as publishPolicy, pt as getGetFlowDefinitionUrl, q as getCreateUserUrl, qn as listDeployments, qt as getListMyPasskeysUrl, r as buildRelease, rn as getListUserPasskeysUrl, rr as listPreviews, rt as getFinishUserPasskeyRegistrationUrl, s as createDeployment, sn as getMySession, sr as listUserIdentityLinks, st as getGetBrandingByIdUrl, t as addOrigin, tn as getListSchemasUrl, tr as listPolicies, tt as getEvent, u as createGrant, un as getMyUserSchema, ur as patchMyUser, ut as getGetDeploymentByIdUrl, v as createUser, vn as getQueryGrantsUrl, vr as queryTeams, vt as getGetLiveUrl, w as exchangeHandoff, wn as getReady, wr as revokeSession, wt as getGetPolicyRevisionUrl, x as deleteUserByID, xn as getQuerySessionsUrl, xr as removePreview, xt as getGetMySessionUrl, y as deleteGrant, yn as getQueryIdpsUrl, yr as queryUsers, yt as getGetMyPasswordStateUrl, z as getCreateGrantUrl, zn as getUserByID, zt as getInitClaimUrl } from "../../zitadelNextGen-B_VRpP2W.mjs";
2
+ export { addOrigin, beginUserPasskeyRegistration, buildRelease, completeClaim, createAuthAttempt, createBranding, createDeployment, createFlow, createFlowDefinition, createGrant, createHandoff, createIdp, createProject, createRelease, createSchema, createSession, createTeam, createUser, deleteGrant, deleteTeam, deleteUserByID, deleteVariable, evaluatePolicy, exchangeHandoff, finishUserPasskeyRegistration, getAddOriginUrl, getAuthAttempt, getBeginUserPasskeyRegistrationUrl, getBrandingById, getBuildReleaseUrl, getClaimStatus, getClaimWindow, getCompleteClaimUrl, getCreateAuthAttemptUrl, getCreateBrandingUrl, getCreateDeploymentUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateGrantUrl, getCreateHandoffUrl, getCreateIdpUrl, getCreateProjectUrl, getCreateReleaseUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeleteGrantUrl, getDeleteTeamUrl, getDeleteUserByIDUrl, getDeleteVariableUrl, getDeploymentById, getDeploymentVariables, getEvaluatePolicyUrl, getEvent, getExchangeHandoffUrl, getFinishUserPasskeyRegistrationUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetBrandingByIdUrl, getGetClaimStatusUrl, getGetClaimWindowUrl, getGetDeploymentByIdUrl, getGetDeploymentVariablesUrl, getGetEventUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetGrantUrl, getGetIdpByIdUrl, getGetIdpRevisionByIdUrl, getGetLiveUrl, getGetMyPasswordStateUrl, getGetMySessionCsrfTokenUrl, getGetMySessionUrl, getGetMyUserSchemaUrl, getGetMyUserUrl, getGetPolicyRevisionUrl, getGetPolicyUrl, getGetProjectUrl, getGetReadyUrl, getGetReleaseByIdUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetUserByIDUrl, getGetUserPasswordStateUrl, getGetVariableUrl, getGetVariablesUrl, getGrant, getIdpById, getIdpRevisionById, getInitClaimUrl, getIssueChallengeUrl, getListBrandingUrl, getListDeploymentsUrl, getListEventsUrl, getListFlowDefinitionsUrl, getListIdpRevisionsUrl, getListMyIdentityLinksUrl, getListMyPasskeysUrl, getListMyProjectsUrl, getListMyTeamsUrl, getListPoliciesUrl, getListPolicyRevisionsUrl, getListPreviewsUrl, getListProjectAdminsUrl, getListReleasesUrl, getListSchemasUrl, getListUserIdentityLinksUrl, getListUserPasskeysUrl, getListUserTeamsUrl, getLive, getMyPasswordState, getMySession, getMySessionCsrfToken, getMyUser, getMyUserSchema, getPatchMyUserUrl, getPatchProjectUrl, getPatchUserByIDUrl, getPolicy, getPolicyRevision, getProject, getPublishPolicyUrl, getQueryGrantsUrl, getQueryIdpsUrl, getQueryProjectsUrl, getQuerySessionsUrl, getQueryTeamsUrl, getQueryUsersUrl, getReady, getReleaseById, getRemoveOriginUrl, getRemovePreviewUrl, getRevokeMySessionUrl, getRevokeReleaseUrl, getRevokeSessionUrl, getRollbackDeploymentUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowStepUrl, getTeam, getUpdateTeamUrl, getUpdateVariablesUrl, getUserByID, getUserPasswordState, getVariable, getVariables, getVerifyChallengeProofUrl, initClaim, issueChallenge, listBranding, listDeployments, listEvents, listFlowDefinitions, listIdpRevisions, listMyIdentityLinks, listMyPasskeys, listMyProjects, listMyTeams, listPolicies, listPolicyRevisions, listPreviews, listProjectAdmins, listReleases, listSchemas, listUserIdentityLinks, listUserPasskeys, listUserTeams, patchMyUser, patchProject, patchUserByID, publishPolicy, queryGrants, queryIdps, queryProjects, querySessions, queryTeams, queryUsers, removeOrigin, removePreview, revokeMySession, revokeRelease, revokeSession, rollbackDeployment, setUserPassword, submitFlowStep, updateTeam, updateVariables, verifyChallengeProof };
@@ -32,6 +32,7 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
32
32
  deleteTeam: () => deleteTeam,
33
33
  deleteUserByID: () => deleteUserByID,
34
34
  deleteVariable: () => deleteVariable,
35
+ evaluatePolicy: () => evaluatePolicy,
35
36
  exchangeHandoff: () => exchangeHandoff,
36
37
  finishUserPasskeyRegistration: () => finishUserPasskeyRegistration,
37
38
  getAddOriginUrl: () => getAddOriginUrl,
@@ -62,6 +63,7 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
62
63
  getDeleteVariableUrl: () => getDeleteVariableUrl,
63
64
  getDeploymentById: () => getDeploymentById,
64
65
  getDeploymentVariables: () => getDeploymentVariables,
66
+ getEvaluatePolicyUrl: () => getEvaluatePolicyUrl,
65
67
  getEvent: () => getEvent,
66
68
  getExchangeHandoffUrl: () => getExchangeHandoffUrl,
67
69
  getFinishUserPasskeyRegistrationUrl: () => getFinishUserPasskeyRegistrationUrl,
@@ -77,7 +79,6 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
77
79
  getGetFlowDefinitionUrl: () => getGetFlowDefinitionUrl,
78
80
  getGetFlowStepUrl: () => getGetFlowStepUrl,
79
81
  getGetGrantUrl: () => getGetGrantUrl,
80
- getGetHealthUrl: () => getGetHealthUrl,
81
82
  getGetIdpByIdUrl: () => getGetIdpByIdUrl,
82
83
  getGetIdpRevisionByIdUrl: () => getGetIdpRevisionByIdUrl,
83
84
  getGetLiveUrl: () => getGetLiveUrl,
@@ -86,6 +87,8 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
86
87
  getGetMySessionUrl: () => getGetMySessionUrl,
87
88
  getGetMyUserSchemaUrl: () => getGetMyUserSchemaUrl,
88
89
  getGetMyUserUrl: () => getGetMyUserUrl,
90
+ getGetPolicyRevisionUrl: () => getGetPolicyRevisionUrl,
91
+ getGetPolicyUrl: () => getGetPolicyUrl,
89
92
  getGetProjectUrl: () => getGetProjectUrl,
90
93
  getGetReadyUrl: () => getGetReadyUrl,
91
94
  getGetReleaseByIdUrl: () => getGetReleaseByIdUrl,
@@ -97,7 +100,6 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
97
100
  getGetVariableUrl: () => getGetVariableUrl,
98
101
  getGetVariablesUrl: () => getGetVariablesUrl,
99
102
  getGrant: () => getGrant,
100
- getHealth: () => getHealth,
101
103
  getIdpById: () => getIdpById,
102
104
  getIdpRevisionById: () => getIdpRevisionById,
103
105
  getInitClaimUrl: () => getInitClaimUrl,
@@ -111,7 +113,10 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
111
113
  getListMyPasskeysUrl: () => getListMyPasskeysUrl,
112
114
  getListMyProjectsUrl: () => getListMyProjectsUrl,
113
115
  getListMyTeamsUrl: () => getListMyTeamsUrl,
116
+ getListPoliciesUrl: () => getListPoliciesUrl,
117
+ getListPolicyRevisionsUrl: () => getListPolicyRevisionsUrl,
114
118
  getListPreviewsUrl: () => getListPreviewsUrl,
119
+ getListProjectAdminsUrl: () => getListProjectAdminsUrl,
115
120
  getListReleasesUrl: () => getListReleasesUrl,
116
121
  getListSchemasUrl: () => getListSchemasUrl,
117
122
  getListUserIdentityLinksUrl: () => getListUserIdentityLinksUrl,
@@ -126,7 +131,10 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
126
131
  getPatchMyUserUrl: () => getPatchMyUserUrl,
127
132
  getPatchProjectUrl: () => getPatchProjectUrl,
128
133
  getPatchUserByIDUrl: () => getPatchUserByIDUrl,
134
+ getPolicy: () => getPolicy,
135
+ getPolicyRevision: () => getPolicyRevision,
129
136
  getProject: () => getProject,
137
+ getPublishPolicyUrl: () => getPublishPolicyUrl,
130
138
  getQueryGrantsUrl: () => getQueryGrantsUrl,
131
139
  getQueryIdpsUrl: () => getQueryIdpsUrl,
132
140
  getQueryProjectsUrl: () => getQueryProjectsUrl,
@@ -164,7 +172,10 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
164
172
  listMyPasskeys: () => listMyPasskeys,
165
173
  listMyProjects: () => listMyProjects,
166
174
  listMyTeams: () => listMyTeams,
175
+ listPolicies: () => listPolicies,
176
+ listPolicyRevisions: () => listPolicyRevisions,
167
177
  listPreviews: () => listPreviews,
178
+ listProjectAdmins: () => listProjectAdmins,
168
179
  listReleases: () => listReleases,
169
180
  listSchemas: () => listSchemas,
170
181
  listUserIdentityLinks: () => listUserIdentityLinks,
@@ -173,6 +184,7 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
173
184
  patchMyUser: () => patchMyUser,
174
185
  patchProject: () => patchProject,
175
186
  patchUserByID: () => patchUserByID,
187
+ publishPolicy: () => publishPolicy,
176
188
  queryGrants: () => queryGrants,
177
189
  queryIdps: () => queryIdps,
178
190
  queryProjects: () => queryProjects,
@@ -191,24 +203,15 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
191
203
  updateVariables: () => updateVariables,
192
204
  verifyChallengeProof: () => verifyChallengeProof
193
205
  });
194
- const getGetHealthUrl = () => {
195
- return `${getProxyPath()}/healthz`;
196
- };
197
- /**
198
- * Check whether the server is healthy
199
- * @summary Check server health
200
- */
201
- const getHealth = async (options) => {
202
- return customFetch(getGetHealthUrl(), {
203
- ...options,
204
- method: "GET"
205
- });
206
- };
207
206
  const getGetLiveUrl = () => {
208
207
  return `${getProxyPath()}/livez`;
209
208
  };
210
209
  /**
211
- * Check whether the server is started
210
+ * Answers `ok` while the server process serves HTTP, and checks nothing behind it.
211
+ *
212
+ * Point a liveness probe here. It never checks the database, so an outage
213
+ * of the database does not restart every instance; `GET /readyz` takes an
214
+ * instance out of rotation instead.
212
215
  * @summary Check server liveness
213
216
  */
214
217
  const getLive = async (options) => {
@@ -221,7 +224,11 @@ const getGetReadyUrl = () => {
221
224
  return `${getProxyPath()}/readyz`;
222
225
  };
223
226
  /**
224
- * Check whether the server is ready to accept requests
227
+ * Answers whether the server can serve requests, which takes its database answering within a second.
228
+ *
229
+ * Point a readiness probe here, so that a server whose database does not
230
+ * answer gets no requests until it does. The check is one round trip to the
231
+ * database.
225
232
  * @summary Check server readiness
226
233
  */
227
234
  const getReady = async (options) => {
@@ -357,9 +364,11 @@ const getDeleteUserByIDUrl = (userId) => {
357
364
  return `${getProxyPath()}/users/${encodeURIComponent(String(userId))}`;
358
365
  };
359
366
  /**
360
- * Deletes a user and removes them from every team they belong to.
367
+ * Deletes a user, removes them from every team they belong to, and revokes
368
+ * every grant they hold, on any project.
361
369
  *
362
- * The user is removed, not deactivated, and the deletion emits `user.deleted`.
370
+ * The user is removed, not deactivated, and the deletion emits `user.deleted`,
371
+ * plus `authz.revoked` for each grant on that grant's project.
363
372
  * With a project secret the request is idempotent: deleting a user that exists
364
373
  * in no project succeeds without changing anything.
365
374
  * @summary Delete user by ID
@@ -678,14 +687,20 @@ const getListMyProjectsUrl = (params) => {
678
687
  return stringifiedParams.length > 0 ? `${getProxyPath()}/users/me/projects?${stringifiedParams}` : `${getProxyPath()}/users/me/projects`;
679
688
  };
680
689
  /**
681
- * The projects the signed-in user holds an active grant on, either directly or
682
- * through a team they are a member of. Ordered by project id and paged with an
683
- * opaque cursor.
690
+ * The projects the signed-in user can act on: those they hold an active grant
691
+ * on, either directly or through a team they are a member of. For a platform
692
+ * operator (ADR 075) that is every project of the deployment. Ordered by
693
+ * project id and paged with an opaque cursor.
684
694
  *
685
695
  * This is not the same question as `queryProjects`, which answers with the one
686
696
  * project the calling credential is bound to. Here the session is the caller
687
697
  * and the grants are the answer, so the list spans projects.
688
698
  *
699
+ * With `name_contains`, only the projects whose name contains that text are
700
+ * listed. The search runs on the server together with the grants, so it
701
+ * reaches every project the user can act on, however many there are, and
702
+ * pages like the full list.
703
+ *
689
704
  * With `project_id`, the projects are listed only when the session belongs to
690
705
  * that project. It names the project the session was signed in to, not one to
691
706
  * list.
@@ -758,7 +773,10 @@ const getCreateFlowUrl = () => {
758
773
  * pattern with no live preview answers `403` with `proj.preview_not_live`;
759
774
  * nothing deployed to the target answers `409` with `rel.not_deployed`; a
760
775
  * revoked release answers `409` with `rel.revoked`. A request with no
761
- * `Origin` passes the gate and still needs a deployment target.
776
+ * `Origin` passes the gate and still needs a deployment target. A loopback
777
+ * origin passes it too, and so does the server's own origin, from which its
778
+ * console previews a project's login; a step submitted from the server's
779
+ * own origin is still refused unless the project lists it.
762
780
  *
763
781
  * The response contains an `id` field — the flow handle. Use it as the path
764
782
  * parameter for all subsequent `/flow/{id}/submit` calls.
@@ -896,10 +914,10 @@ const getCreateAuthAttemptUrl = () => {
896
914
  * also include session_id and that session's session_token to add factors to an existing session.
897
915
  *
898
916
  * The project comes from the project secret. A body `project_id` that disagrees
899
- * answers `403` with `proj.mismatch`. The attempt resolves a deployment the
900
- * same way as other runtime operations and seals it; with no browser `Origin`
901
- * and nothing deployed to the resolved target the response is `409` with
902
- * `rel.not_deployed`. A revoked release answers `409` with `rel.revoked`.
917
+ * answers `403` with `proj.mismatch`. Sealed `deployment_id` / `release_id` are
918
+ * filled only when create runs with a runtime resolution already on the
919
+ * context (the flow create path); this HTTP entry point does not resolve
920
+ * Origin or refuse a revoked release itself.
903
921
  * @summary Create a new authentication attempt
904
922
  */
905
923
  const createAuthAttempt = async (createAuthAttemptBody, options) => {
@@ -932,9 +950,6 @@ const getGetAuthAttemptUrl = (attemptId) => {
932
950
  *
933
951
  * Use this for polling during long-running factor verifications (e.g., waiting for
934
952
  * a federated IdP callback or a device flow).
935
- *
936
- * Reuses the deployment sealed when the attempt was created. If that release
937
- * was revoked since, the response is `409` with `rel.revoked`.
938
953
  * @summary Get authentication attempt state
939
954
  */
940
955
  const getAuthAttempt = async (attemptId, options) => {
@@ -953,9 +968,6 @@ const getIssueChallengeUrl = (attemptId) => {
953
968
  * (password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details
954
969
  * including method, metadata, and any UI hints. The client then verifies the proof
955
970
  * by calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.
956
- *
957
- * Reuses the deployment sealed when the attempt was created. If that release
958
- * was revoked since, the response is `409` with `rel.revoked`.
959
971
  * @summary Issue a factor challenge
960
972
  */
961
973
  const issueChallenge = async (attemptId, issueChallengeBody, options) => {
@@ -991,9 +1003,6 @@ const getVerifyChallengeProofUrl = (attemptId, challengeId) => {
991
1003
  *
992
1004
  * On successful verification, the factor is written to the auth attempt.
993
1005
  * The attempt moves to the next pending challenge or completes if all required factors are verified.
994
- *
995
- * Reuses the deployment sealed when the attempt was created. If that release
996
- * was revoked since, the response is `409` with `rel.revoked`.
997
1006
  * @summary Verify a factor proof
998
1007
  */
999
1008
  const verifyChallengeProof = async (attemptId, challengeId, verifyChallengeProofBody, options) => {
@@ -1030,8 +1039,7 @@ const getCreateHandoffUrl = (attemptId) => {
1030
1039
  * - Audience-bound (requires matching project key for exchange)
1031
1040
  * - Idempotency-safe within a 5-minute window (see conventions)
1032
1041
  *
1033
- * Reuses the deployment sealed when the attempt was created. If that release
1034
- * was revoked since, the response is `409` with `rel.revoked`.
1042
+ * Revoke refusal for a sealed release happens at handoff exchange, not here.
1035
1043
  * @summary Complete authentication and create handoff token
1036
1044
  */
1037
1045
  const createHandoff = async (attemptId, options) => {
@@ -1141,6 +1149,51 @@ const patchProject = async (projectId, patchProjectBody, options) => {
1141
1149
  body: JSON.stringify(patchProjectBody)
1142
1150
  });
1143
1151
  };
1152
+ const getListProjectAdminsUrl = (projectId, params) => {
1153
+ const normalizedParams = new URLSearchParams();
1154
+ Object.entries(params || {}).forEach(([key, value]) => {
1155
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
1156
+ });
1157
+ const stringifiedParams = normalizedParams.toString();
1158
+ return stringifiedParams.length > 0 ? `${getProxyPath()}/projects/${encodeURIComponent(String(projectId))}/admins?${stringifiedParams}` : `${getProxyPath()}/projects/${encodeURIComponent(String(projectId))}/admins`;
1159
+ };
1160
+ /**
1161
+ * Lists the people who can administer the project, and how each of them
1162
+ * gets that access. A person appears once, with one entry in `sources` per
1163
+ * way they hold it:
1164
+ *
1165
+ * - `owning_team`: an active member of the team that owns the project
1166
+ * (ADR 054 §2). Removing a grant does not remove this access; it ends
1167
+ * only when the person leaves the team or the project changes owner.
1168
+ * - `grant`: an unexpired `admin` grant on the project, either to the
1169
+ * person (`grant_id` only) or to a team they are an active member of
1170
+ * (`grant_id` and `team`). Revoking that grant removes this source.
1171
+ *
1172
+ * The list follows the authorization check: team membership is read from
1173
+ * the same membership projection the check expands, so a person who left a
1174
+ * team, or whose team or user was deactivated, is not listed through it.
1175
+ * Grants that expired or carry a lower role are left out. A person whose
1176
+ * only access is a `viewer` or `editor` grant is not an admin and is not
1177
+ * listed. Like the check, the list does not look at a person's user status
1178
+ * beyond that, so a direct grant to a suspended person is listed.
1179
+ *
1180
+ * A person whose access comes only through teams the caller is not a
1181
+ * member of is left out, and a team the caller is not in is named by
1182
+ * `team_id` only. The grant to such a team still shows in the project's
1183
+ * grants.
1184
+ *
1185
+ * Ordered by `user_id` and paginated with `page_token`.
1186
+ *
1187
+ * Accepts either a project secret (`oauth2`) or a user-bound Console
1188
+ * session cookie (`nextgenSession`) that can read the project.
1189
+ * @summary List project admins
1190
+ */
1191
+ const listProjectAdmins = async (projectId, params, options) => {
1192
+ return customFetch(getListProjectAdminsUrl(projectId, params), {
1193
+ ...options,
1194
+ method: "GET"
1195
+ });
1196
+ };
1144
1197
  const getInitClaimUrl = (projectId) => {
1145
1198
  return `${getProxyPath()}/projects/${encodeURIComponent(String(projectId))}/claim/init`;
1146
1199
  };
@@ -1640,6 +1693,12 @@ const createSchema = async (createSchemaBody, params, options) => {
1640
1693
  const getListSchemasUrl = (params) => {
1641
1694
  const normalizedParams = new URLSearchParams();
1642
1695
  Object.entries(params || {}).forEach(([key, value]) => {
1696
+ if (Array.isArray(value) && ["expand"].includes(key)) {
1697
+ value.forEach((v) => {
1698
+ normalizedParams.append(key, v === null ? "null" : String(v));
1699
+ });
1700
+ return;
1701
+ }
1643
1702
  if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
1644
1703
  });
1645
1704
  const stringifiedParams = normalizedParams.toString();
@@ -2116,6 +2175,192 @@ const getIdpRevisionById = async (revisionId, params, options) => {
2116
2175
  method: "GET"
2117
2176
  });
2118
2177
  };
2178
+ const getListPoliciesUrl = (params) => {
2179
+ const normalizedParams = new URLSearchParams();
2180
+ Object.entries(params || {}).forEach(([key, value]) => {
2181
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
2182
+ });
2183
+ const stringifiedParams = normalizedParams.toString();
2184
+ return stringifiedParams.length > 0 ? `${getProxyPath()}/policies?${stringifiedParams}` : `${getProxyPath()}/policies`;
2185
+ };
2186
+ /**
2187
+ * Lists the project's policies, one per operation, each as its newest
2188
+ * revision, ordered by `created_at` (first publish) and then `id`. Filter
2189
+ * by `operation` to read the policy of one operation; a project that never
2190
+ * published one gets an empty list.
2191
+ *
2192
+ * The lookup is scoped to the project in `project_id`.
2193
+ * @summary List policies
2194
+ */
2195
+ const listPolicies = async (params, options) => {
2196
+ return customFetch(getListPoliciesUrl(params), {
2197
+ ...options,
2198
+ method: "GET"
2199
+ });
2200
+ };
2201
+ const getPublishPolicyUrl = (params) => {
2202
+ const normalizedParams = new URLSearchParams();
2203
+ Object.entries(params || {}).forEach(([key, value]) => {
2204
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
2205
+ });
2206
+ const stringifiedParams = normalizedParams.toString();
2207
+ return stringifiedParams.length > 0 ? `${getProxyPath()}/policies?${stringifiedParams}` : `${getProxyPath()}/policies`;
2208
+ };
2209
+ /**
2210
+ * Publishes the project's policy for an operation as a new immutable
2211
+ * revision, creating the policy on its first publish. The newest revision
2212
+ * applies to the next time the operation runs; nothing already stored is
2213
+ * re-evaluated, so a stricter password policy applies the next time a
2214
+ * password is set.
2215
+ *
2216
+ * The request is typed by `operation`: an unknown operation or setting, or
2217
+ * a value of the wrong type or outside its bounds, answers `req.invalid`
2218
+ * like any malformed request. The operation's template then checks the
2219
+ * config again, together with the rules that relate settings to each other
2220
+ * (a `min_length` above `max_length`), and answers `pol.invalid`. Its
2221
+ * `details.details.violations` lists everything that failed, settings
2222
+ * first, then rules: `{"setting": "min_length"}` for one setting, or
2223
+ * `{"config_rule": "min_length_not_above_max_length", "settings":
2224
+ * ["min_length", "max_length"]}` for a rule across settings, with the
2225
+ * settings it reads. A setting left out is off, and `{}` switches every
2226
+ * rule off; there are no defaults.
2227
+ * @summary Publish a policy
2228
+ */
2229
+ const publishPolicy = async (publishPolicyBody, params, options) => {
2230
+ const getHeaders = (h) => {
2231
+ if (!h) return {};
2232
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
2233
+ if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
2234
+ const headers = {};
2235
+ for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
2236
+ return headers;
2237
+ };
2238
+ return customFetch(getPublishPolicyUrl(params), {
2239
+ ...options,
2240
+ method: "POST",
2241
+ headers: {
2242
+ "Content-Type": "application/json",
2243
+ ...getHeaders(options?.headers)
2244
+ },
2245
+ body: JSON.stringify(publishPolicyBody)
2246
+ });
2247
+ };
2248
+ const getEvaluatePolicyUrl = (params) => {
2249
+ const normalizedParams = new URLSearchParams();
2250
+ Object.entries(params || {}).forEach(([key, value]) => {
2251
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
2252
+ });
2253
+ const stringifiedParams = normalizedParams.toString();
2254
+ return stringifiedParams.length > 0 ? `${getProxyPath()}/policies/evaluate?${stringifiedParams}` : `${getProxyPath()}/policies/evaluate`;
2255
+ };
2256
+ /**
2257
+ * Evaluates a policy config against one request, without side effects, and
2258
+ * answers the decision the operation would reach. Nothing is read from or
2259
+ * written to the project: the config is the one in the body, checked
2260
+ * exactly as a publish checks it, so an invalid config answers `pol.invalid`
2261
+ * with the same violations.
2262
+ *
2263
+ * `input` is what the operation's request carries, in the operation's own
2264
+ * terms (a password, not its length): the server derives what the policy
2265
+ * checks with the code the live operation runs, guards included. `facts`
2266
+ * states what the operation would look up at runtime, such as whether the
2267
+ * candidate matches one of the user's kept passwords.
2268
+ *
2269
+ * The decision and the names of the failed rules hold wherever the
2270
+ * operation runs. `code` and `violations` are what an API call answers; a
2271
+ * login flow shows the same rules as field errors on the password field
2272
+ * (`error.x-auth-methods#password_<rule>` in `step.error`).
2273
+ *
2274
+ * Which policy a project or release applies is not decided here: read it
2275
+ * and pass its config.
2276
+ *
2277
+ * The caller needs read access to the project in `project_id`.
2278
+ * @summary Evaluate a policy
2279
+ */
2280
+ const evaluatePolicy = async (evaluatePolicyBody, params, options) => {
2281
+ const getHeaders = (h) => {
2282
+ if (!h) return {};
2283
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
2284
+ if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
2285
+ const headers = {};
2286
+ for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
2287
+ return headers;
2288
+ };
2289
+ return customFetch(getEvaluatePolicyUrl(params), {
2290
+ ...options,
2291
+ method: "POST",
2292
+ headers: {
2293
+ "Content-Type": "application/json",
2294
+ ...getHeaders(options?.headers)
2295
+ },
2296
+ body: JSON.stringify(evaluatePolicyBody)
2297
+ });
2298
+ };
2299
+ const getGetPolicyUrl = (policyId, params) => {
2300
+ const normalizedParams = new URLSearchParams();
2301
+ Object.entries(params || {}).forEach(([key, value]) => {
2302
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
2303
+ });
2304
+ const stringifiedParams = normalizedParams.toString();
2305
+ return stringifiedParams.length > 0 ? `${getProxyPath()}/policies/${encodeURIComponent(String(policyId))}?${stringifiedParams}` : `${getProxyPath()}/policies/${encodeURIComponent(String(policyId))}`;
2306
+ };
2307
+ /**
2308
+ * Reads a policy as its newest revision, the one that applies the next time
2309
+ * its operation runs.
2310
+ *
2311
+ * The lookup is scoped to the project in `project_id`: a policy of another
2312
+ * project answers not found exactly as an unknown id does.
2313
+ * @summary Get a policy
2314
+ */
2315
+ const getPolicy = async (policyId, params, options) => {
2316
+ return customFetch(getGetPolicyUrl(policyId, params), {
2317
+ ...options,
2318
+ method: "GET"
2319
+ });
2320
+ };
2321
+ const getListPolicyRevisionsUrl = (policyId, params) => {
2322
+ const normalizedParams = new URLSearchParams();
2323
+ Object.entries(params || {}).forEach(([key, value]) => {
2324
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
2325
+ });
2326
+ const stringifiedParams = normalizedParams.toString();
2327
+ return stringifiedParams.length > 0 ? `${getProxyPath()}/policies/${encodeURIComponent(String(policyId))}/revisions?${stringifiedParams}` : `${getProxyPath()}/policies/${encodeURIComponent(String(policyId))}/revisions`;
2328
+ };
2329
+ /**
2330
+ * Returns every revision of one policy, newest first, paginated with a
2331
+ * cursor. The order is fixed, so there is no `sorting`.
2332
+ *
2333
+ * The lookup is scoped to the project in `project_id`: a policy of another
2334
+ * project answers not found exactly as an unknown id does.
2335
+ * @summary List the revisions of a policy
2336
+ */
2337
+ const listPolicyRevisions = async (policyId, params, options) => {
2338
+ return customFetch(getListPolicyRevisionsUrl(policyId, params), {
2339
+ ...options,
2340
+ method: "GET"
2341
+ });
2342
+ };
2343
+ const getGetPolicyRevisionUrl = (revisionId, params) => {
2344
+ const normalizedParams = new URLSearchParams();
2345
+ Object.entries(params || {}).forEach(([key, value]) => {
2346
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
2347
+ });
2348
+ const stringifiedParams = normalizedParams.toString();
2349
+ return stringifiedParams.length > 0 ? `${getProxyPath()}/policies/revisions/${encodeURIComponent(String(revisionId))}?${stringifiedParams}` : `${getProxyPath()}/policies/revisions/${encodeURIComponent(String(revisionId))}`;
2350
+ };
2351
+ /**
2352
+ * Reads one revision of a policy, newest or not.
2353
+ *
2354
+ * The lookup is scoped to the project in `project_id`: a revision of another
2355
+ * project answers not found exactly as an unknown id does.
2356
+ * @summary Get a policy revision
2357
+ */
2358
+ const getPolicyRevision = async (revisionId, params, options) => {
2359
+ return customFetch(getGetPolicyRevisionUrl(revisionId, params), {
2360
+ ...options,
2361
+ method: "GET"
2362
+ });
2363
+ };
2119
2364
  const getCreateReleaseUrl = (params) => {
2120
2365
  const normalizedParams = new URLSearchParams();
2121
2366
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -2211,7 +2456,9 @@ const getBuildReleaseUrl = (params) => {
2211
2456
  * allocates nothing, however long ago it was built. Otherwise every resource is compared against the
2212
2457
  * project's newest revision of the same handle: unchanged content reuses
2213
2458
  * that revision, changed content allocates a new one, and the request
2214
- * answers `201` with the new release. Metadata is excluded from the
2459
+ * answers `201` with the new release. A policy whose config matches only an
2460
+ * older revision allocates a new one too, so a request that resolves no
2461
+ * release, which reads the newest revision, applies it as well. Metadata is excluded from the
2215
2462
  * comparison, so the same content under a different `message` is the same
2216
2463
  * release.
2217
2464
  *
@@ -2225,8 +2472,8 @@ const getBuildReleaseUrl = (params) => {
2225
2472
  *
2226
2473
  * Building writes revisions, so besides `release.write` it needs the write
2227
2474
  * scope of every kind the bundle carries a resource of: `schema.write`,
2228
- * `flow_definition.write`, `branding.write` and `idp.write`, as the
2229
- * per-kind create endpoints do. A missing scope answers `403` with `rel.permission_denied`,
2475
+ * `flow_definition.write`, `branding.write`, `idp.write` and
2476
+ * `policy.write`, as the per-kind create endpoints do. A missing scope answers `403` with `rel.permission_denied`,
2230
2477
  * naming the kind. An empty kind needs no scope.
2231
2478
  *
2232
2479
  * Building a release does not deploy it. A release is not tied to an
@@ -2672,11 +2919,11 @@ const getCreateDeploymentUrl = (params) => {
2672
2919
  * - `400 dep.invalid`: both or neither of `release_id` and `content_hash`;
2673
2920
  * a primary origin named exactly; `primary` mixed with preview URLs;
2674
2921
  * `primary` on a project with no primary origin; `ttl` with `primary`;
2675
- * `ttl` above the project's maximum.
2922
+ * `ttl` above 365 days (`P365D`).
2676
2923
  * - `400 dep.variables_missing`: a referenced variable has no value for
2677
2924
  * the kind; `details` names the kind and every missing variable.
2678
2925
  * - `403 proj.origin_not_allowed`: a preview URL matches no preview
2679
- * pattern.
2926
+ * pattern, or is a loopback URL.
2680
2927
  * - `404 rel.not_found`: the release id or digest names no release here.
2681
2928
  * - `409 dep.conflict`: `expected_deployment_id` is not the deployment
2682
2929
  * this write replaces; `details.deployment` is that deployment.
@@ -2828,6 +3075,6 @@ const getDeploymentVariables = async (deploymentId, params, options) => {
2828
3075
  });
2829
3076
  };
2830
3077
  //#endregion
2831
- export { addOrigin, beginUserPasskeyRegistration, buildRelease, completeClaim, createAuthAttempt, createBranding, createDeployment, createFlow, createFlowDefinition, createGrant, createHandoff, createIdp, createProject, createRelease, createSchema, createSession, createTeam, createUser, deleteGrant, deleteTeam, deleteUserByID, deleteVariable, exchangeHandoff, finishUserPasskeyRegistration, getAddOriginUrl, getAuthAttempt, getBeginUserPasskeyRegistrationUrl, getBrandingById, getBuildReleaseUrl, getClaimStatus, getClaimWindow, getCompleteClaimUrl, getCreateAuthAttemptUrl, getCreateBrandingUrl, getCreateDeploymentUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateGrantUrl, getCreateHandoffUrl, getCreateIdpUrl, getCreateProjectUrl, getCreateReleaseUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeleteGrantUrl, getDeleteTeamUrl, getDeleteUserByIDUrl, getDeleteVariableUrl, getDeploymentById, getDeploymentVariables, getEvent, getExchangeHandoffUrl, getFinishUserPasskeyRegistrationUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetBrandingByIdUrl, getGetClaimStatusUrl, getGetClaimWindowUrl, getGetDeploymentByIdUrl, getGetDeploymentVariablesUrl, getGetEventUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetGrantUrl, getGetHealthUrl, getGetIdpByIdUrl, getGetIdpRevisionByIdUrl, getGetLiveUrl, getGetMyPasswordStateUrl, getGetMySessionCsrfTokenUrl, getGetMySessionUrl, getGetMyUserSchemaUrl, getGetMyUserUrl, getGetProjectUrl, getGetReadyUrl, getGetReleaseByIdUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetUserByIDUrl, getGetUserPasswordStateUrl, getGetVariableUrl, getGetVariablesUrl, getGrant, getHealth, getIdpById, getIdpRevisionById, getInitClaimUrl, getIssueChallengeUrl, getListBrandingUrl, getListDeploymentsUrl, getListEventsUrl, getListFlowDefinitionsUrl, getListIdpRevisionsUrl, getListMyIdentityLinksUrl, getListMyPasskeysUrl, getListMyProjectsUrl, getListMyTeamsUrl, getListPreviewsUrl, getListReleasesUrl, getListSchemasUrl, getListUserIdentityLinksUrl, getListUserPasskeysUrl, getListUserTeamsUrl, getLive, getMyPasswordState, getMySession, getMySessionCsrfToken, getMyUser, getMyUserSchema, getPatchMyUserUrl, getPatchProjectUrl, getPatchUserByIDUrl, getProject, getQueryGrantsUrl, getQueryIdpsUrl, getQueryProjectsUrl, getQuerySessionsUrl, getQueryTeamsUrl, getQueryUsersUrl, getReady, getReleaseById, getRemoveOriginUrl, getRemovePreviewUrl, getRevokeMySessionUrl, getRevokeReleaseUrl, getRevokeSessionUrl, getRollbackDeploymentUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowStepUrl, getTeam, getUpdateTeamUrl, getUpdateVariablesUrl, getUserByID, getUserPasswordState, getVariable, getVariables, getVerifyChallengeProofUrl, initClaim, issueChallenge, listBranding, listDeployments, listEvents, listFlowDefinitions, listIdpRevisions, listMyIdentityLinks, listMyPasskeys, listMyProjects, listMyTeams, listPreviews, listReleases, listSchemas, listUserIdentityLinks, listUserPasskeys, listUserTeams, patchMyUser, patchProject, patchUserByID, queryGrants, queryIdps, queryProjects, querySessions, queryTeams, queryUsers, removeOrigin, removePreview, revokeMySession, revokeRelease, revokeSession, rollbackDeployment, setUserPassword, submitFlowStep, zitadelNextGen_exports as t, updateTeam, updateVariables, verifyChallengeProof };
3078
+ export { addOrigin, beginUserPasskeyRegistration, buildRelease, completeClaim, createAuthAttempt, createBranding, createDeployment, createFlow, createFlowDefinition, createGrant, createHandoff, createIdp, createProject, createRelease, createSchema, createSession, createTeam, createUser, deleteGrant, deleteTeam, deleteUserByID, deleteVariable, evaluatePolicy, exchangeHandoff, finishUserPasskeyRegistration, getAddOriginUrl, getAuthAttempt, getBeginUserPasskeyRegistrationUrl, getBrandingById, getBuildReleaseUrl, getClaimStatus, getClaimWindow, getCompleteClaimUrl, getCreateAuthAttemptUrl, getCreateBrandingUrl, getCreateDeploymentUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateGrantUrl, getCreateHandoffUrl, getCreateIdpUrl, getCreateProjectUrl, getCreateReleaseUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeleteGrantUrl, getDeleteTeamUrl, getDeleteUserByIDUrl, getDeleteVariableUrl, getDeploymentById, getDeploymentVariables, getEvaluatePolicyUrl, getEvent, getExchangeHandoffUrl, getFinishUserPasskeyRegistrationUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetBrandingByIdUrl, getGetClaimStatusUrl, getGetClaimWindowUrl, getGetDeploymentByIdUrl, getGetDeploymentVariablesUrl, getGetEventUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetGrantUrl, getGetIdpByIdUrl, getGetIdpRevisionByIdUrl, getGetLiveUrl, getGetMyPasswordStateUrl, getGetMySessionCsrfTokenUrl, getGetMySessionUrl, getGetMyUserSchemaUrl, getGetMyUserUrl, getGetPolicyRevisionUrl, getGetPolicyUrl, getGetProjectUrl, getGetReadyUrl, getGetReleaseByIdUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetUserByIDUrl, getGetUserPasswordStateUrl, getGetVariableUrl, getGetVariablesUrl, getGrant, getIdpById, getIdpRevisionById, getInitClaimUrl, getIssueChallengeUrl, getListBrandingUrl, getListDeploymentsUrl, getListEventsUrl, getListFlowDefinitionsUrl, getListIdpRevisionsUrl, getListMyIdentityLinksUrl, getListMyPasskeysUrl, getListMyProjectsUrl, getListMyTeamsUrl, getListPoliciesUrl, getListPolicyRevisionsUrl, getListPreviewsUrl, getListProjectAdminsUrl, getListReleasesUrl, getListSchemasUrl, getListUserIdentityLinksUrl, getListUserPasskeysUrl, getListUserTeamsUrl, getLive, getMyPasswordState, getMySession, getMySessionCsrfToken, getMyUser, getMyUserSchema, getPatchMyUserUrl, getPatchProjectUrl, getPatchUserByIDUrl, getPolicy, getPolicyRevision, getProject, getPublishPolicyUrl, getQueryGrantsUrl, getQueryIdpsUrl, getQueryProjectsUrl, getQuerySessionsUrl, getQueryTeamsUrl, getQueryUsersUrl, getReady, getReleaseById, getRemoveOriginUrl, getRemovePreviewUrl, getRevokeMySessionUrl, getRevokeReleaseUrl, getRevokeSessionUrl, getRollbackDeploymentUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowStepUrl, getTeam, getUpdateTeamUrl, getUpdateVariablesUrl, getUserByID, getUserPasswordState, getVariable, getVariables, getVerifyChallengeProofUrl, initClaim, issueChallenge, listBranding, listDeployments, listEvents, listFlowDefinitions, listIdpRevisions, listMyIdentityLinks, listMyPasskeys, listMyProjects, listMyTeams, listPolicies, listPolicyRevisions, listPreviews, listProjectAdmins, listReleases, listSchemas, listUserIdentityLinks, listUserPasskeys, listUserTeams, patchMyUser, patchProject, patchUserByID, publishPolicy, queryGrants, queryIdps, queryProjects, querySessions, queryTeams, queryUsers, removeOrigin, removePreview, revokeMySession, revokeRelease, revokeSession, rollbackDeployment, setUserPassword, submitFlowStep, zitadelNextGen_exports as t, updateTeam, updateVariables, verifyChallengeProof };
2832
3079
 
2833
3080
  //# sourceMappingURL=zitadelNextGen.mjs.map