@zitadel/api 0.3.0 → 0.4.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 (67) hide show
  1. package/README.md +17 -3
  2. package/dist/api-factory-C5b1Gqwv.mjs +357 -0
  3. package/dist/api-factory-C5b1Gqwv.mjs.map +1 -0
  4. package/dist/api-factory-Dt5lUjyu.d.mts +212 -0
  5. package/dist/api-factory-Dt5lUjyu.d.mts.map +1 -0
  6. package/dist/{fetch-CtYe0OvX.d.mts → fetch-B-lgjlrf.d.mts} +22 -12
  7. package/dist/fetch-B-lgjlrf.d.mts.map +1 -0
  8. package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.mjs +129 -122
  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.zod.d.mts +33 -26
  13. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  14. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +33 -26
  15. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  16. package/dist/generated/model/index.d.mts +2 -2
  17. package/dist/generated/operations.mjs +1 -1
  18. package/dist/generated/operations.mjs.map +1 -1
  19. package/dist/{index-DAm3tCA7.d.mts → index-DGQY1rfH.d.mts} +66 -4
  20. package/dist/index-DGQY1rfH.d.mts.map +1 -0
  21. package/dist/runtime/api-factory.d.mts +2 -51
  22. package/dist/runtime/api-factory.mjs +3 -62
  23. package/dist/runtime/auth.mjs +1 -1
  24. package/dist/runtime/auth.mjs.map +1 -1
  25. package/dist/runtime/base-url.d.mts +14 -0
  26. package/dist/runtime/base-url.d.mts.map +1 -1
  27. package/dist/runtime/base-url.mjs +22 -1
  28. package/dist/runtime/base-url.mjs.map +1 -1
  29. package/dist/runtime/config.d.mts +1 -1
  30. package/dist/runtime/config.mjs +1 -1
  31. package/dist/runtime/fetch.d.mts +2 -2
  32. package/dist/runtime/fetch.mjs +41 -17
  33. package/dist/runtime/fetch.mjs.map +1 -1
  34. package/dist/runtime/paging.d.mts +35 -0
  35. package/dist/runtime/paging.d.mts.map +1 -0
  36. package/dist/runtime/paging.mjs +38 -0
  37. package/dist/runtime/paging.mjs.map +1 -0
  38. package/dist/{zitadelNextGen-B_VRpP2W.d.mts → zitadelNextGen-BVO4sdKD.d.mts} +37 -30
  39. package/dist/zitadelNextGen-BVO4sdKD.d.mts.map +1 -0
  40. package/package.json +6 -1
  41. package/src/generated/endpoints/zitadelNextGen.ts +131 -124
  42. package/src/generated/endpoints/zitadelNextGen.zod.ts +33 -26
  43. package/src/generated/model/deleteUserByID409.ts +20 -0
  44. package/src/generated/model/deleteUserByID409Details.ts +12 -0
  45. package/src/generated/model/deleteUserByIDDefault.ts +9 -0
  46. package/src/generated/model/getFlowStepDefault.ts +9 -0
  47. package/src/generated/model/index.ts +2 -0
  48. package/src/generated/model/queryTeamsParams.ts +3 -2
  49. package/src/generated/model/submitFlowStepDefault.ts +9 -0
  50. package/src/generated/operations.ts +1 -1
  51. package/src/generated/paging.ts +128 -0
  52. package/src/runtime/api-factory.spec.ts +278 -0
  53. package/src/runtime/api-factory.ts +93 -12
  54. package/src/runtime/auth.ts +1 -1
  55. package/src/runtime/base-url.spec.ts +40 -4
  56. package/src/runtime/base-url.ts +28 -0
  57. package/src/runtime/fetch.spec.ts +51 -0
  58. package/src/runtime/fetch.ts +69 -30
  59. package/src/runtime/paged.spec.ts +104 -0
  60. package/src/runtime/paged.ts +61 -0
  61. package/src/runtime/paging.spec.ts +94 -0
  62. package/src/runtime/paging.ts +58 -0
  63. package/dist/fetch-CtYe0OvX.d.mts.map +0 -1
  64. package/dist/index-DAm3tCA7.d.mts.map +0 -1
  65. package/dist/runtime/api-factory.d.mts.map +0 -1
  66. package/dist/runtime/api-factory.mjs.map +0 -1
  67. package/dist/zitadelNextGen-B_VRpP2W.d.mts.map +0 -1
@@ -1,5 +1,5 @@
1
- import { $C as BuildReleaseBody, $r as QuerySessionsBody, Ah as GetEventParams, Ao as PatchProject200, Bf as GetMyUserParams, Bx as CreateFlow201, C as UpdateTeamBody, Cd as GetUserByIDParams, Cg as GetBrandingById200, Cp as GetLiveDefault, DC as CreateAuthAttempt201, Dc as ListPolicies200, Ds as ListUserIdentityLinksParams, ES as CreateDeployment201, E_ as EvaluatePolicyParams, Ef as GetPolicyRevisionParams, Ep as GetIdpRevisionByIdParams, Ev as CreateTeamBody, Ey as CreateProject201, Fa as QueryGrants200, Fc as ListMyTeams200, Fl as ListFlowDefinitionsParams, Fm as GetFlowStep200, Fu as ListBrandingParams, Gi as QueryIdpsParams, Hd as GetTeam200, Hh as GetDeploymentByIdParams, Hl as ListFlowDefinitions200, Hv as CreateSessionBody, Ig as GetAuthAttempt200, J_ as DeleteGrantParams, Jr as QueryTeams200, Kc as ListMyProjects200, Kf as GetMyUser200, Ks as ListSchemas200, Kv as CreateSession201, L as SubmitFlowStepBody, Lb as CreateGrant201, Lf as GetMyUserSchema200, Li as QueryProjects200, Lu as ListBranding200Item, Mf as GetMyUserSchemaParams, No as PatchMyUserBody, O_ as EvaluatePolicyBody, Of as GetPolicyRevision200, P as UpdateTeam200, Pp as GetIdpRevisionById200, QS as CreateBrandingBody, Qa as PatchUserByIDBody, Qo as ListUserTeamsParams, Qp as GetIdpById200, Qs as ListReleases200, RC as CompleteClaimBody, RS as CreateDeployment200, Rc as ListMyProjectsParams, Rh as GetEvent200, Sc as ListPolicyRevisions200, Sd as GetUserPasswordState200, Si as QueryProjectsBody, Sn as RollbackDeployment200, Sp as GetMyPasswordState200, Su as ListDeployments200, Tf as GetProject200, Ts as ListUserPasskeys200, Uu as IssueChallenge201, Vh as GetDeploymentVariables200, Vs as ListSchemasParams, Wh as GetDeploymentById200, Wn as RevokeRelease200, Wo as PatchMyUser200, Wp as GetIdpByIdParams, Ww as BuildRelease201, XC as CompleteClaim200, XS as CreateBrandingParams, Xa as PublishPolicy201, Xs as ListReleasesParams, Ya as PublishPolicyBody, Yb as CreateFlowDefinitionBody, Yn as RevokeMySessionParams, Yw as BuildRelease200, Yy as CreateIdp201, ZC as BuildReleaseParams, Zd as GetSession200, Zr as QuerySessionsParams, Zt as SetUserPasswordBody, _T as AddOrigin201, __ as ExchangeHandoff200, _f as GetReadyDefault, _m as GetGrant200, _u as ListEvents200, a as VerifyChallengeProof200, a_ as FinishUserPasskeyRegistration201, ab as CreateIdp200, af as GetSchemaByIdParams, ay as CreateReleaseParams, bc as ListPolicyRevisionsParams, br as QueryUsers200, bt as SubmitFlowStep200, c_ as ExchangeHandoffBody, ca as QueryIdps200, cg as GetClaimWindow200, cl as ListMyIdentityLinksParams, cm as GetGrantParams, dC as CreateBranding201, ed as InitClaim201, el as ListMyPasskeysParams, ep as GetMySessionParams, fT as BeginUserPasskeyRegistration201, fc as ListProjectAdmins200, ff as GetReleaseById200, fh as GetFlowDefinition200, fi as QuerySessions200, fx as CreateFlowDefinition201, gS as CreateDeploymentParams, gc as ListPreviewsParams, gl as ListIdpRevisionsParams, gv as CreateUser201, h as UpdateVariablesParams, hT as AddOriginBody, hy as CreateRelease200, id as GetVariables200, in as RollbackDeploymentParams, ir as QueryUsersParams, iv as CreateUserBody, iy as CreateSchema201, j_ as DeleteVariableParams, jf as GetPolicy200, jo as PatchMyUserParams, jr as QueryTeamsBody, jx as CreateFlowBody, jy as CreateIdpBody, k_ as EvaluatePolicy200, kc as ListMyTeamsParams, kd as GetUserByID200, kf as GetPolicyParams, kr as QueryTeamsParams, ky as CreateIdpParams, lg as GetClaimStatusParams, ml as ListMyIdentityLinks200, n as VerifyChallengeProofBody, nc as ListProjectAdminsParams, ng as GetClaimWindowParams, np as GetMySessionCsrfTokenParams, nv as CreateUserParams, o_ as ExchangeHandoffParams, ol as ListMyPasskeys200, on as RollbackDeploymentBody, op as GetMySessionCsrfToken200, or as QueryUsersBody, ps as ListUserPasskeysParams, qa as PublishPolicyParams, qg as FinishUserPasskeyRegistrationBody, qi as QueryIdpsBody, rr as RemoveOriginBody, ry as CreateSchemaBody, sd as GetVariableParams, sf as GetSchemaById200, su as ListEventsParams, sy as CreateReleaseBody, tT as BeginUserPasskeyRegistrationBody, td as GetVariablesParams, tr as RemovePreviewBody, ty as CreateSchemaParams, ud as GetVariable200, uf as GetReleaseByIdParams, un as RollbackDeployment201, uo as PatchUserByID200, up as GetMySession200, us as ListUserTeams200, uy as CreateRelease201, v as UpdateVariablesBody, vS as CreateDeploymentBody, vb as CreateHandoff200, vc as ListPreviews200, vp as GetMyPasswordStateParams, wC as CreateAuthAttemptBody, wc as ListPoliciesParams, wl as ListIdpRevisions200, wv as CreateTeamParams, xa as QueryGrantsBody, xb as CreateGrantBody, xy as CreateProjectBody, y as UpdateVariables200, ya as QueryGrantsParams, yb as CreateGrantParams, yg as GetClaimStatus200, yo as PatchProjectBody, yu as ListDeploymentsParams, zh as GetDeploymentVariablesParams, zn as RevokeReleaseParams, zs as ListUserIdentityLinks200, zu as IssueChallengeBody, zv as CreateTeam201 } from "./index-DAm3tCA7.mjs";
2
- import { s as customFetch } from "./fetch-CtYe0OvX.mjs";
1
+ import { $C as BuildReleaseParams, $r as QuerySessionsBody, Ah as GetEventParams, Ao as PatchProject200, BC as CompleteClaimBody, BS as CreateDeployment200, Bf as GetMyUserParams, C as UpdateTeamBody, Cb as CreateGrantBody, Cd as GetUserByIDParams, Cg as GetBrandingById200, Cp as GetLiveDefault, Cy as CreateProjectBody, Dc as ListPolicies200, Ds as ListUserIdentityLinksParams, EC as CreateAuthAttemptBody, E_ as EvaluatePolicyParams, Ef as GetPolicyRevisionParams, Ep as GetIdpRevisionByIdParams, Ev as CreateTeamParams, Fa as QueryGrants200, Fc as ListMyTeams200, Fl as ListFlowDefinitionsParams, Fm as GetFlowStep200, Fu as ListBrandingParams, Gi as QueryIdpsParams, Hd as GetTeam200, Hh as GetDeploymentByIdParams, Hl as ListFlowDefinitions200, Hx as CreateFlow201, Ig as GetAuthAttempt200, Jr as QueryTeams200, Jv as CreateSession201, Kc as ListMyProjects200, Kf as GetMyUser200, Ks as ListSchemas200, Kw as BuildRelease201, L as SubmitFlowStepBody, Lf as GetMyUserSchema200, Li as QueryProjects200, Lu as ListBranding200Item, Mf as GetMyUserSchemaParams, No as PatchMyUserBody, Nx as CreateFlowBody, Ny as CreateIdpBody, OS as CreateDeployment201, O_ as EvaluatePolicyBody, Of as GetPolicyRevision200, Ov as CreateTeamBody, Oy as CreateProject201, P as UpdateTeam200, Pp as GetIdpRevisionById200, QC as CompleteClaim200, QS as CreateBrandingParams, Qa as PatchUserByIDBody, Qo as ListUserTeamsParams, Qp as GetIdpById200, Qs as ListReleases200, Rc as ListMyProjectsParams, Rh as GetEvent200, Sc as ListPolicyRevisions200, Sd as GetUserPasswordState200, Si as QueryProjectsBody, Sn as RollbackDeployment200, Sp as GetMyPasswordState200, Su as ListDeployments200, Tf as GetProject200, Ts as ListUserPasskeys200, Uu as IssueChallenge201, Vh as GetDeploymentVariables200, Vs as ListSchemasParams, Vv as CreateTeam201, Wh as GetDeploymentById200, Wn as RevokeRelease200, Wo as PatchMyUser200, Wp as GetIdpByIdParams, Wv as CreateSessionBody, X_ as DeleteGrantParams, Xa as PublishPolicy201, Xs as ListReleasesParams, Ya as PublishPolicyBody, Yn as RevokeMySessionParams, Zb as CreateFlowDefinitionBody, Zd as GetSession200, Zr as QuerySessionsParams, Zt as SetUserPasswordBody, Zw as BuildRelease200, Zy as CreateIdp201, _T as AddOriginBody, __ as ExchangeHandoff200, _f as GetReadyDefault, _m as GetGrant200, _u as ListEvents200, _y as CreateRelease200, a as VerifyChallengeProof200, a_ as FinishUserPasskeyRegistration201, af as GetSchemaByIdParams, ay as CreateSchemaBody, bS as CreateDeploymentBody, bb as CreateHandoff200, bc as ListPolicyRevisionsParams, br as QueryUsers200, bt as SubmitFlowStep200, c_ as ExchangeHandoffBody, ca as QueryIdps200, cg as GetClaimWindow200, cl as ListMyIdentityLinksParams, cm as GetGrantParams, eC as CreateBrandingBody, ed as InitClaim201, el as ListMyPasskeysParams, ep as GetMySessionParams, fc as ListProjectAdmins200, ff as GetReleaseById200, fh as GetFlowDefinition200, fi as QuerySessions200, fy as CreateRelease201, gc as ListPreviewsParams, gl as ListIdpRevisionsParams, h as UpdateVariablesParams, id as GetVariables200, in as RollbackDeploymentParams, ir as QueryUsersParams, iv as CreateUserParams, j_ as DeleteVariableParams, jf as GetPolicy200, jo as PatchMyUserParams, jr as QueryTeamsBody, jy as CreateIdpParams, kC as CreateAuthAttempt201, k_ as EvaluatePolicy200, kc as ListMyTeamsParams, kd as GetUserByID200, kf as GetPolicyParams, kr as QueryTeamsParams, lg as GetClaimStatusParams, ly as CreateReleaseBody, mT as BeginUserPasskeyRegistration201, ml as ListMyIdentityLinks200, mx as CreateFlowDefinition201, n as VerifyChallengeProofBody, nc as ListProjectAdminsParams, ng as GetClaimWindowParams, np as GetMySessionCsrfTokenParams, o_ as ExchangeHandoffParams, ol as ListMyPasskeys200, on as RollbackDeploymentBody, op as GetMySessionCsrfToken200, or as QueryUsersBody, ov as CreateUserBody, oy as CreateSchema201, pC as CreateBranding201, ps as ListUserPasskeysParams, qa as PublishPolicyParams, qg as FinishUserPasskeyRegistrationBody, qi as QueryIdpsBody, rT as BeginUserPasskeyRegistrationBody, rr as RemoveOriginBody, ry as CreateSchemaParams, sb as CreateIdp200, sd as GetVariableParams, sf as GetSchemaById200, su as ListEventsParams, sy as CreateReleaseParams, td as GetVariablesParams, tr as RemovePreviewBody, tw as BuildReleaseBody, ud as GetVariable200, uf as GetReleaseByIdParams, un as RollbackDeployment201, uo as PatchUserByID200, up as GetMySession200, us as ListUserTeams200, v as UpdateVariablesBody, vS as CreateDeploymentParams, vc as ListPreviews200, vp as GetMyPasswordStateParams, vv as CreateUser201, wc as ListPoliciesParams, wl as ListIdpRevisions200, xa as QueryGrantsBody, xb as CreateGrantParams, y as UpdateVariables200, yT as AddOrigin201, ya as QueryGrantsParams, yg as GetClaimStatus200, yo as PatchProjectBody, yu as ListDeploymentsParams, zb as CreateGrant201, zh as GetDeploymentVariablesParams, zn as RevokeReleaseParams, zs as ListUserIdentityLinks200, zu as IssueChallengeBody } from "./index-DGQY1rfH.mjs";
2
+ import { c as customFetch } from "./fetch-B-lgjlrf.mjs";
3
3
  declare namespace zitadelNextGen_d_exports {
4
4
  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 };
5
5
  }
@@ -7,9 +7,10 @@ declare const getGetLiveUrl: () => string;
7
7
  /**
8
8
  * Answers `ok` while the server process serves HTTP, and checks nothing behind it.
9
9
  *
10
- * Point a liveness probe here. It never checks the database, so an outage
11
- * of the database does not restart every instance; `GET /readyz` takes an
12
- * instance out of rotation instead.
10
+ * Point a liveness probe at `/livez` at the root, where the probes stay,
11
+ * not under `/api/v1`. It never checks the database, so an outage of the
12
+ * database does not restart every instance; `GET /readyz` takes an instance
13
+ * out of rotation instead.
13
14
  * @summary Check server liveness
14
15
  */
15
16
  declare const getLive: (options?: Parameters<typeof customFetch>[1]) => Promise<GetLiveDefault>;
@@ -17,9 +18,9 @@ declare const getGetReadyUrl: () => string;
17
18
  /**
18
19
  * Answers whether the server can serve requests, which takes its database answering within a second.
19
20
  *
20
- * Point a readiness probe here, so that a server whose database does not
21
- * answer gets no requests until it does. The check is one round trip to the
22
- * database.
21
+ * Point a readiness probe at `/readyz` at the root, where the probes stay,
22
+ * not under `/api/v1`, so that a server whose database does not answer gets
23
+ * no requests until it does. The check is one round trip to the database.
23
24
  * @summary Check server readiness
24
25
  */
25
26
  declare const getReady: (options?: Parameters<typeof customFetch>[1]) => Promise<GetReadyDefault>;
@@ -41,8 +42,8 @@ declare const getQueryUsersUrl: (params?: QueryUsersParams) => string;
41
42
  * project is listed.
42
43
  *
43
44
  * Accepts either a project secret (`oauth2`) or a user-bound Console
44
- * session cookie (`nextgenSession`). Cookie-authenticated requests
45
- * follow the scheme's CSRF rules (`nextgenSession`).
45
+ * session cookie (`sessionCookie`). Cookie-authenticated requests
46
+ * follow the scheme's CSRF rules (`sessionCookie`).
46
47
  * @summary Query users
47
48
  */
48
49
  declare const queryUsers: (queryUsersBody: QueryUsersBody, params?: QueryUsersParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryUsers200>;
@@ -72,7 +73,9 @@ declare const getDeleteUserByIDUrl: (userId: string) => string;
72
73
  * The user is removed, not deactivated, and the deletion emits `user.deleted`,
73
74
  * plus `authz.revoked` for each grant on that grant's project.
74
75
  * With a project secret the request is idempotent: deleting a user that exists
75
- * in no project succeeds without changing anything.
76
+ * in no project succeeds without changing anything. Deleting the last active
77
+ * member of a project's owning team returns 409 `proj.last_owner` and changes
78
+ * nothing.
76
79
  * @summary Delete user by ID
77
80
  */
78
81
  declare const deleteUserByID: (userId: string, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
@@ -475,7 +478,7 @@ declare const getListProjectAdminsUrl: (projectId: string, params?: ListProjectA
475
478
  * Ordered by `user_id` and paginated with `page_token`.
476
479
  *
477
480
  * Accepts either a project secret (`oauth2`) or a user-bound Console
478
- * session cookie (`nextgenSession`) that can read the project.
481
+ * session cookie (`sessionCookie`) that can read the project.
479
482
  * @summary List project admins
480
483
  */
481
484
  declare const listProjectAdmins: (projectId: string, params?: ListProjectAdminsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListProjectAdmins200>;
@@ -505,7 +508,7 @@ declare const getClaimStatus: (projectId: string, params: GetClaimStatusParams,
505
508
  declare const getCompleteClaimUrl: (projectId: string) => string;
506
509
  /**
507
510
  * Called by the browser after the developer authenticates on the claim page.
508
- * Authenticated by the `__nextgen_session` cookie, it attaches the project to
511
+ * Authenticated by the session cookie, it attaches the project to
509
512
  * the developer's personal team using the `challenge_id` from the claim URL as
510
513
  * its single-use, browser-safe authorization.
511
514
  * @summary Complete a project claim
@@ -575,8 +578,9 @@ declare const getCreateSessionUrl: () => string;
575
578
  * Creating a session is an app-plane operation on the project credential
576
579
  * (`session.write`). The returned `session_token` is a session credential for the
577
580
  * end-user client, not a management scope: it is delivered as the
578
- * `__nextgen_session` cookie and authorises the self-service operations
579
- * `GET /sessions/me` and `DELETE /sessions/me` (`nextgenSession` scheme). The
581
+ * `__Host-zitadel_session` cookie (`zitadel_session` over plain http to a
582
+ * loopback host) and authorises the self-service operations
583
+ * `GET /sessions/me` and `DELETE /sessions/me` (`sessionCookie` scheme). The
580
584
  * by-id operations `GET /sessions/{session_id}` and `DELETE /sessions/{session_id}`
581
585
  * are operator endpoints and require `session.read` / `session.delete` instead.
582
586
  *
@@ -641,8 +645,8 @@ declare const getRevokeSessionUrl: (sessionId: string) => string;
641
645
  * Permanently deletes the session, terminating it immediately.
642
646
  *
643
647
  * This is the operator revoke path and requires the `session.delete` scope on a
644
- * project-bound credential. End-user logout with the `__nextgen_session` cookie is
645
- * `DELETE /sessions/me` (`nextgenSession` scheme).
648
+ * project-bound credential. End-user logout with the session cookie is
649
+ * `DELETE /sessions/me` (`sessionCookie` scheme).
646
650
  *
647
651
  * Idempotent: deleting a session that does not exist (or was already deleted)
648
652
  * still returns 204. After deletion, any tokens derived from the session are
@@ -667,7 +671,7 @@ declare const getRevokeMySessionUrl: (params?: RevokeMySessionParams) => string;
667
671
  /**
668
672
  * Logs out by permanently deleting the session.
669
673
  *
670
- * The `__nextgen_session` cookie issued at creation (or superseded by a handoff
674
+ * The session cookie issued at creation (or superseded by a handoff
671
675
  * exchange) is required, with the session's token from `GET /sessions/me/csrf`
672
676
  * in the `X-Zitadel-CSRF` header. Idempotent: if the session is already gone
673
677
  * this still returns 204. Any tokens derived from the session are invalidated,
@@ -683,7 +687,7 @@ declare const getGetMySessionCsrfTokenUrl: (params?: GetMySessionCsrfTokenParams
683
687
  * Returns the session-bound token for cross-site request forgery protection
684
688
  * (ADR 053 §5). Browser code sends it in the `X-Zitadel-CSRF` header on the
685
689
  * state-changing requests the session cookie authenticates that require it
686
- * — see the `nextgenSession` scheme. It authorizes nothing on its own: the
690
+ * — see the `sessionCookie` scheme. It authorizes nothing on its own: the
687
691
  * HttpOnly cookie is still the credential, and a cross-site page cannot
688
692
  * read this response. It stays the same for the life of the session, so a
689
693
  * client fetches it once per session.
@@ -767,12 +771,15 @@ declare const getCreateTeamUrl: (params: CreateTeamParams) => string;
767
771
  * @summary Create team
768
772
  */
769
773
  declare const createTeam: (createTeamBody: CreateTeamBody, params: CreateTeamParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateTeam201>;
770
- declare const getQueryTeamsUrl: (params: QueryTeamsParams) => string;
774
+ declare const getQueryTeamsUrl: (params?: QueryTeamsParams) => string;
771
775
  /**
772
776
  * Returns the teams of a project, paginated with a cursor.
777
+ *
778
+ * `project_id` names the project to list; without it, the credential's own
779
+ * project is listed.
773
780
  * @summary Query teams
774
781
  */
775
- declare const queryTeams: (queryTeamsBody: QueryTeamsBody, params: QueryTeamsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryTeams200>;
782
+ declare const queryTeams: (queryTeamsBody: QueryTeamsBody, params?: QueryTeamsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryTeams200>;
776
783
  declare const getGetTeamUrl: (teamId: string) => string;
777
784
  /**
778
785
  * Returns a Team by its id.
@@ -1128,9 +1135,9 @@ declare const getCreateGrantUrl: (params: CreateGrantParams) => string;
1128
1135
  * identifier and display.
1129
1136
  *
1130
1137
  * Accepts either a project secret (`oauth2`) or a user-bound Console
1131
- * session cookie (`nextgenSession`). Session callers are authorized as
1138
+ * session cookie (`sessionCookie`). Session callers are authorized as
1132
1139
  * the human against the target project (home may differ). Cookie-authenticated
1133
- * requests follow the scheme's CSRF rules (`nextgenSession`).
1140
+ * requests follow the scheme's CSRF rules (`sessionCookie`).
1134
1141
  * @summary Create grant
1135
1142
  */
1136
1143
  declare const createGrant: (createGrantBody: CreateGrantBody, params: CreateGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateGrant201 | void>;
@@ -1150,8 +1157,8 @@ declare const getQueryGrantsUrl: (params: QueryGrantsParams) => string;
1150
1157
  * the project Check may expand without those scopes.
1151
1158
  *
1152
1159
  * Accepts either a project secret (`oauth2`) or a user-bound Console
1153
- * session cookie (`nextgenSession`). Cookie-authenticated requests
1154
- * follow the scheme's CSRF rules (`nextgenSession`).
1160
+ * session cookie (`sessionCookie`). Cookie-authenticated requests
1161
+ * follow the scheme's CSRF rules (`sessionCookie`).
1155
1162
  * @summary Query grants
1156
1163
  */
1157
1164
  declare const queryGrants: (queryGrantsBody: QueryGrantsBody, params: QueryGrantsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryGrants200>;
@@ -1171,8 +1178,8 @@ declare const getGetGrantUrl: (id: string, params: GetGrantParams) => string;
1171
1178
  * Check may expand without those scopes.
1172
1179
  *
1173
1180
  * Accepts either a project secret (`oauth2`) or a user-bound Console
1174
- * session cookie (`nextgenSession`). Cookie-authenticated requests
1175
- * follow the scheme's CSRF rules (`nextgenSession`).
1181
+ * session cookie (`sessionCookie`). Cookie-authenticated requests
1182
+ * follow the scheme's CSRF rules (`sessionCookie`).
1176
1183
  * @summary Get grant
1177
1184
  */
1178
1185
  declare const getGrant: (id: string, params: GetGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetGrant200>;
@@ -1184,8 +1191,8 @@ declare const getDeleteGrantUrl: (id: string, params: DeleteGrantParams) => stri
1184
1191
  * revoked so the unique binding can be reused.
1185
1192
  *
1186
1193
  * Accepts either a project secret (`oauth2`) or a user-bound Console
1187
- * session cookie (`nextgenSession`). Cookie-authenticated requests
1188
- * follow the scheme's CSRF rules (`nextgenSession`).
1194
+ * session cookie (`sessionCookie`). Cookie-authenticated requests
1195
+ * follow the scheme's CSRF rules (`sessionCookie`).
1189
1196
  * @summary Revoke grant
1190
1197
  */
1191
1198
  declare const deleteGrant: (id: string, params: DeleteGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
@@ -1357,4 +1364,4 @@ declare const getGetDeploymentVariablesUrl: (deploymentId: string, params: GetDe
1357
1364
  declare const getDeploymentVariables: (deploymentId: string, params: GetDeploymentVariablesParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetDeploymentVariables200>;
1358
1365
  //#endregion
1359
1366
  export { getDeploymentVariables as $, listMyProjects as $n, getListProjectAdminsUrl as $t, getBuildReleaseUrl as A, getRevokeSessionUrl as An, verifyChallengeProof as Ar, getGetSessionUrl as At, getCreateHandoffUrl as B, getUserPasswordState as Bn, getIssueChallengeUrl as Bt, evaluatePolicy as C, getQueryUsersUrl as Cn, revokeRelease as Cr, getGetMyUserUrl as Ct, getAuthAttempt as D, getRemovePreviewUrl as Dn, submitFlowStep as Dr, getGetReadyUrl as Dt, getAddOriginUrl as E, getRemoveOriginUrl as En, setUserPassword as Er, getGetProjectUrl as Et, getCreateBrandingUrl as F, getSubmitFlowStepUrl as Fn, getGetVariablesUrl as Ft, getCreateSessionUrl as G, issueChallenge as Gn, getListIdpRevisionsUrl as Gt, getCreateProjectUrl as H, getVariables as Hn, getListDeploymentsUrl as Ht, getCreateDeploymentUrl as I, getTeam as In, getGrant as It, getDeleteGrantUrl as J, listEvents as Jn, getListMyProjectsUrl as Jt, getCreateTeamUrl as K, listBranding as Kn, getListMyIdentityLinksUrl as Kt, getCreateFlowDefinitionUrl as L, getUpdateTeamUrl as Ln, getIdpById as Lt, getClaimWindow as M, getSchemaById as Mn, getGetUserByIDUrl as Mt, getCompleteClaimUrl as N, getSession as Nn, getGetUserPasswordStateUrl as Nt, getBeginUserPasskeyRegistrationUrl as O, getRevokeMySessionUrl as On, updateTeam as Or, getGetReleaseByIdUrl as Ot, getCreateAuthAttemptUrl as P, getSetUserPasswordUrl as Pn, getGetVariableUrl as Pt, getDeploymentById as Q, listMyPasskeys as Qn, getListPreviewsUrl as Qt, getCreateFlowUrl as R, getUpdateVariablesUrl as Rn, getIdpRevisionById as Rt, deleteVariable as S, getQueryTeamsUrl as Sn, revokeMySession as Sr, getGetMyUserSchemaUrl as St, finishUserPasskeyRegistration as T, getReleaseById as Tn, rollbackDeployment as Tr, getGetPolicyUrl as Tt, getCreateReleaseUrl as U, getVerifyChallengeProofUrl as Un, getListEventsUrl as Ut, getCreateIdpUrl as V, getVariable as Vn, getListBrandingUrl as Vt, getCreateSchemaUrl as W, initClaim as Wn, getListFlowDefinitionsUrl as Wt, getDeleteUserByIDUrl as X, listIdpRevisions as Xn, getListPoliciesUrl as Xt, getDeleteTeamUrl as Y, listFlowDefinitions as Yn, getListMyTeamsUrl as Yt, getDeleteVariableUrl as Z, listMyIdentityLinks as Zn, getListPolicyRevisionsUrl as Zt, createTeam as _, getPublishPolicyUrl as _n, querySessions as _r, getGetIdpRevisionByIdUrl as _t, createAuthAttempt as a, getLive as an, listReleases as ar, getFlowStep as at, deleteTeam as b, getQueryProjectsUrl as bn, removeOrigin as br, getGetMySessionCsrfTokenUrl as bt, createFlow as c, getMySessionCsrfToken as cn, listUserPasskeys as cr, getGetClaimStatusUrl as ct, createHandoff as d, getPatchMyUserUrl as dn, patchProject as dr, getGetDeploymentVariablesUrl as dt, getListReleasesUrl as en, listMyTeams as er, getEvaluatePolicyUrl as et, createIdp as f, getPatchProjectUrl as fn, patchUserByID as fr, getGetEventUrl as ft, createSession as g, getProject as gn, queryProjects as gr, getGetIdpByIdUrl as gt, createSchema as h, getPolicyRevision as hn, queryIdps as hr, getGetGrantUrl as ht, completeClaim as i, getListUserTeamsUrl as in, listProjectAdmins as ir, getFlowDefinition as it, getClaimStatus as j, getRollbackDeploymentUrl as jn, zitadelNextGen_d_exports as jr, getGetTeamUrl as jt, getBrandingById as k, getRevokeReleaseUrl as kn, updateVariables as kr, getGetSchemaByIdUrl as kt, createFlowDefinition as l, getMyUser as ln, listUserTeams as lr, getGetClaimWindowUrl as lt, createRelease as m, getPolicy as mn, queryGrants as mr, getGetFlowStepUrl as mt, beginUserPasskeyRegistration as n, getListUserIdentityLinksUrl as nn, listPolicyRevisions as nr, getExchangeHandoffUrl as nt, createBranding as o, getMyPasswordState as on, listSchemas as or, getGetAuthAttemptUrl as ot, createProject as p, getPatchUserByIDUrl as pn, publishPolicy as pr, getGetFlowDefinitionUrl as pt, getCreateUserUrl as q, listDeployments as qn, getListMyPasskeysUrl as qt, buildRelease as r, getListUserPasskeysUrl as rn, listPreviews as rr, getFinishUserPasskeyRegistrationUrl as rt, createDeployment as s, getMySession as sn, listUserIdentityLinks as sr, getGetBrandingByIdUrl as st, addOrigin as t, getListSchemasUrl as tn, listPolicies as tr, getEvent as tt, createGrant as u, getMyUserSchema as un, patchMyUser as ur, getGetDeploymentByIdUrl as ut, createUser as v, getQueryGrantsUrl as vn, queryTeams as vr, getGetLiveUrl as vt, exchangeHandoff as w, getReady as wn, revokeSession as wr, getGetPolicyRevisionUrl as wt, deleteUserByID as x, getQuerySessionsUrl as xn, removePreview as xr, getGetMySessionUrl as xt, deleteGrant as y, getQueryIdpsUrl as yn, queryUsers as yr, getGetMyPasswordStateUrl as yt, getCreateGrantUrl as z, getUserByID as zn, getInitClaimUrl as zt };
1360
- //# sourceMappingURL=zitadelNextGen-B_VRpP2W.d.mts.map
1367
+ //# sourceMappingURL=zitadelNextGen-BVO4sdKD.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zitadelNextGen-BVO4sdKD.d.mts","names":[],"sources":["../src/generated/endpoints/zitadelNextGen.ts"],"mappings":";;;;;cAiNa;;;;;;;;;;cAiBA,UAAkB,UAAU,kBAAkB,oBAAkB,QAAQ;cAaxE;;;;;;;;;cAgBA,WAAmB,UAAU,kBAAkB,oBAAkB,QAAQ;cAazE,mBAAoB,QAAQ;;;;;;;;;cAuB5B,aAAoB,gBAAgB,gBAC7C,QAAQ,kBAAkB,UAAU,kBAAkB,oBAAkB,QAAQ;cA2BvE,mBAAoB,SAAS;;;;;;;;;;;;cA0B7B,aAAoB,gBAAgB,gBAC7C,SAAS,kBAAkB,UAAU,kBAAkB,oBAAkB,QAAQ;cA2BxE,oBAAqB,gBAC9B,SAAS;;;;;;;;cAsBA,cAAqB,gBAC9B,SAAS,mBAAmB,UAAU,kBAAkB,oBAAkB,QAAQ;cAazE,sBAAuB;;;;;;;;cAevB,gBAAuB,gBAChC,mBAAmB,mBAAmB,UAAU,kBAAkB,oBAAkB,QAAQ;cA2BnF,uBAAwB;;;;;;;;;;;;;cAoBxB,iBAAwB,gBAAgB,UAAU,kBAAkB,oBAAkB;cAatF,8BAA+B,gBACxC,SAAS;;;;;;cAoBA,wBAA+B,gB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,wBAAwB,UAAU,kBAAkB,oBAAkB,QAAQ,sBAAsB;cA2BnG,wBAAyB,QAAQ;;;;;;;;;;;;;;;;;;;cAyCjC,kBAAyB,QAAQ,uBAAuB,UAAU,kBAAkB,oBAAkB,QAAQ;cAa9G,0BAA2B,sBACpC,QAAQ;;;;;;;;;;cAwBC,oBAA2B,sBACpC,QAAQ,yBAAyB,UAAU,kBAAkB,oBAAkB,QAAQ;cAa9E,2BAA4B,sBACrC,QAAQ;;;;;;;;;;;;;;;;;;cAgCC,qBAA4B,sBACrC,QAAQ,0BACR,yBAAyB,wBAAwB,UAAU,kBAAkB,oBAAkB,QAAQ,wBAAwB;cA2BtH,+BAAgC,sBACzC,QAAQ;;;;;;;cAqBC,yBAAgC,sBACzC,QAAQ,8BAA8B,UAAU,kBAAkB,oBAAkB,QAAQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zitadel/api",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Generated TypeScript API client for the pre-release Zitadel preview.",
5
5
  "homepage": "https://github.com/zitadel/nextgen/tree/main/packages/api#readme",
6
6
  "bugs": {
@@ -57,6 +57,11 @@
57
57
  "types": "./dist/runtime/auth.d.mts",
58
58
  "import": "./dist/runtime/auth.mjs"
59
59
  },
60
+ "./runtime/paging": {
61
+ "@zitadel/source": "./src/runtime/paging.ts",
62
+ "types": "./dist/runtime/paging.d.mts",
63
+ "import": "./dist/runtime/paging.mjs"
64
+ },
60
65
  "./runtime/fetch": {
61
66
  "@zitadel/source": "./src/runtime/fetch.ts",
62
67
  "types": "./dist/runtime/fetch.d.mts",