@zitadel/api 0.1.0-alpha.16 → 0.1.0-alpha.17

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.
@@ -1,2 +1,2 @@
1
- import { $ as getHealth, A as getDeactivateFlowDefinitionUrl, At as issueChallenge, B as getGetKeysUrl, Bt as setUserPassword, C as getCreateFlowUrl, Ct as getTeam, D as getCreateSessionUrl, Dt as getUserInfo, E as getCreateSchemaUrl, Et as getUserByID, F as getFlowStep, Ft as patchProject, G as getGetProjectUrl, H as getGetMySessionUrl, Ht as submitFlowStep, I as getGetAuthAttemptUrl, It as queryProjects, J as getGetSessionUrl, K as getGetReadyUrl, L as getGetFlowDefinitionUrl, Lt as revokeMySession, M as getEndSessionUrl, Mt as listSchemas, N as getExchangeHandoffUrl, Nt as listSessions, O as getCreateTeamUrl, Ot as getVerifyChallengeProofUrl, P as getFlowDefinition, Pt as listUsers, Q as getGetUserInfoUrl, R as getGetFlowStepUrl, Rt as revokeSession, S as getCreateFlowDefinitionUrl, St as getSubmitFlowStepUrl, T as getCreateProjectUrl, Tt as getUpdateFlowDefinitionUrl, U as getGetMyUserUrl, Ut as updateFlowDefinition, V as getGetLiveUrl, Vt as submitFlowEvent, W as getGetOpenIDConfigurationUrl, Wt as verifyChallengeProof, X as getGetTokenUrl, Y as getGetTeamUrl, Z as getGetUserByIDUrl, _ as getActivateFlowDefinitionUrl, _t as getRevokeTokenUrl, a as createFlow, at as getListSessionsUrl, b as getAuthorizeGetUrl, bt as getSetUserPasswordUrl, c as createProject, ct as getMySession, d as createTeam, dt as getPatchProjectUrl, et as getIntrospectUrl, f as createUser, ft as getProject, g as exchangeHandoff, gt as getRevokeSessionUrl, h as endSession, ht as getRevokeMySessionUrl, i as createAuthAttempt, it as getListSchemasUrl, j as getDeleteFlowDefinitionUrl, jt as listFlowDefinitions, k as getCreateUserUrl, kt as introspect, l as createSchema, lt as getMyUser, m as deleteFlowDefinition, mt as getReady, n as authorizeDevice, nt as getKeys, o as createFlowDefinition, ot as getListUsersUrl, p as deactivateFlowDefinition, pt as getQueryProjectsUrl, q as getGetSchemaByIdUrl, r as authorizeGet, rt as getListFlowDefinitionsUrl, s as createHandoff, st as getLive, t as activateFlowDefinition, tt as getIssueChallengeUrl, u as createSession, ut as getOpenIDConfiguration, v as getAuthAttempt, vt as getSchemaById, w as getCreateHandoffUrl, wt as getToken, x as getCreateAuthAttemptUrl, xt as getSubmitFlowEventUrl, y as getAuthorizeDeviceUrl, yt as getSession, z as getGetHealthUrl, zt as revokeToken } from "../../zitadelNextGen-CXFZoHGo.mjs";
1
+ import { $ as getHealth, A as getDeactivateFlowDefinitionUrl, At as issueChallenge, B as getGetKeysUrl, Bt as setUserPassword, C as getCreateFlowUrl, Ct as getTeam, D as getCreateSessionUrl, Dt as getUserInfo, E as getCreateSchemaUrl, Et as getUserByID, F as getFlowStep, Ft as patchProject, G as getGetProjectUrl, H as getGetMySessionUrl, Ht as submitFlowStep, I as getGetAuthAttemptUrl, It as queryProjects, J as getGetSessionUrl, K as getGetReadyUrl, L as getGetFlowDefinitionUrl, Lt as revokeMySession, M as getEndSessionUrl, Mt as listSchemas, N as getExchangeHandoffUrl, Nt as listSessions, O as getCreateTeamUrl, Ot as getVerifyChallengeProofUrl, P as getFlowDefinition, Pt as listUsers, Q as getGetUserInfoUrl, R as getGetFlowStepUrl, Rt as revokeSession, S as getCreateFlowDefinitionUrl, St as getSubmitFlowStepUrl, T as getCreateProjectUrl, Tt as getUpdateFlowDefinitionUrl, U as getGetMyUserUrl, Ut as updateFlowDefinition, V as getGetLiveUrl, Vt as submitFlowEvent, W as getGetOpenIDConfigurationUrl, Wt as verifyChallengeProof, X as getGetTokenUrl, Y as getGetTeamUrl, Z as getGetUserByIDUrl, _ as getActivateFlowDefinitionUrl, _t as getRevokeTokenUrl, a as createFlow, at as getListSessionsUrl, b as getAuthorizeGetUrl, bt as getSetUserPasswordUrl, c as createProject, ct as getMySession, d as createTeam, dt as getPatchProjectUrl, et as getIntrospectUrl, f as createUser, ft as getProject, g as exchangeHandoff, gt as getRevokeSessionUrl, h as endSession, ht as getRevokeMySessionUrl, i as createAuthAttempt, it as getListSchemasUrl, j as getDeleteFlowDefinitionUrl, jt as listFlowDefinitions, k as getCreateUserUrl, kt as introspect, l as createSchema, lt as getMyUser, m as deleteFlowDefinition, mt as getReady, n as authorizeDevice, nt as getKeys, o as createFlowDefinition, ot as getListUsersUrl, p as deactivateFlowDefinition, pt as getQueryProjectsUrl, q as getGetSchemaByIdUrl, r as authorizeGet, rt as getListFlowDefinitionsUrl, s as createHandoff, st as getLive, t as activateFlowDefinition, tt as getIssueChallengeUrl, u as createSession, ut as getOpenIDConfiguration, v as getAuthAttempt, vt as getSchemaById, w as getCreateHandoffUrl, wt as getToken, x as getCreateAuthAttemptUrl, xt as getSubmitFlowEventUrl, y as getAuthorizeDeviceUrl, yt as getSession, z as getGetHealthUrl, zt as revokeToken } from "../../zitadelNextGen-fcgWBw_N.mjs";
2
2
  export { activateFlowDefinition, authorizeDevice, authorizeGet, createAuthAttempt, createFlow, createFlowDefinition, createHandoff, createProject, createSchema, createSession, createTeam, createUser, deactivateFlowDefinition, deleteFlowDefinition, endSession, exchangeHandoff, getActivateFlowDefinitionUrl, getAuthAttempt, getAuthorizeDeviceUrl, getAuthorizeGetUrl, getCreateAuthAttemptUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateHandoffUrl, getCreateProjectUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeactivateFlowDefinitionUrl, getDeleteFlowDefinitionUrl, getEndSessionUrl, getExchangeHandoffUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetHealthUrl, getGetKeysUrl, getGetLiveUrl, getGetMySessionUrl, getGetMyUserUrl, getGetOpenIDConfigurationUrl, getGetProjectUrl, getGetReadyUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetTokenUrl, getGetUserByIDUrl, getGetUserInfoUrl, getHealth, getIntrospectUrl, getIssueChallengeUrl, getKeys, getListFlowDefinitionsUrl, getListSchemasUrl, getListSessionsUrl, getListUsersUrl, getLive, getMySession, getMyUser, getOpenIDConfiguration, getPatchProjectUrl, getProject, getQueryProjectsUrl, getReady, getRevokeMySessionUrl, getRevokeSessionUrl, getRevokeTokenUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowEventUrl, getSubmitFlowStepUrl, getTeam, getToken, getUpdateFlowDefinitionUrl, getUserByID, getUserInfo, getVerifyChallengeProofUrl, introspect, issueChallenge, listFlowDefinitions, listSchemas, listSessions, listUsers, patchProject, queryProjects, revokeMySession, revokeSession, revokeToken, setUserPassword, submitFlowEvent, submitFlowStep, updateFlowDefinition, verifyChallengeProof };
@@ -1,4 +1,4 @@
1
- import { Ai as GetTeam200, Ca as GetMyUser200, Ec as CreateProject201, Gn as QueryProjects200, Ha as GetKeys200, Hs as CreateUser201, Ia as GetLiveDefault, Jl as AuthorizeGetDefault, Ka as GetHealthDefault, Li as GetSession200, Ll as CreateAuthAttempt201, Mr as ListSchemas200Item, Oc as CreateHandoff200, P as UpdateFlowDefinition200, Qi as GetReadyDefault, St as SubmitFlowStep200, Yc as CreateFlowDefinition201, Zi as GetSchemaById200, Zs as CreateTeam201, ai as GetUserInfo200, as as ExchangeHandoff200, bc as CreateSchema201, bi as GetToken200, ca as GetProject200, da as GetOpenIDConfiguration200, gl as CreateFlow201, hi as GetUserByID200, ic as CreateSession201, ka as GetMySession200, ni as Introspect200, no as GetFlowStep200, nr as PatchProject200, qr as IssueChallenge201, r as VerifyChallengeProof200, ru as AuthorizeDevice200, ur as ListUsers200Item, wo as GetFlowDefinition200, xr as ListSessions200, zo as GetAuthAttempt200, zr as ListFlowDefinitions200 } from "../../index-oloR8wb4.mjs";
1
+ import { Ai as GetTeam200, Ca as GetMyUser200, Ec as CreateProject201, Gn as QueryProjects200, Ha as GetKeys200, Hs as CreateUser201, Ia as GetLiveDefault, Jl as AuthorizeGetDefault, Ka as GetHealthDefault, Li as GetSession200, Ll as CreateAuthAttempt201, Mr as ListSchemas200Item, Oc as CreateHandoff200, P as UpdateFlowDefinition200, Qi as GetReadyDefault, St as SubmitFlowStep200, Yc as CreateFlowDefinition201, Zi as GetSchemaById200, Zs as CreateTeam201, ai as GetUserInfo200, as as ExchangeHandoff200, bc as CreateSchema201, bi as GetToken200, ca as GetProject200, da as GetOpenIDConfiguration200, gl as CreateFlow201, hi as GetUserByID200, ic as CreateSession201, ka as GetMySession200, ni as Introspect200, no as GetFlowStep200, nr as PatchProject200, qr as IssueChallenge201, r as VerifyChallengeProof200, ru as AuthorizeDevice200, ur as ListUsers200Item, wo as GetFlowDefinition200, xr as ListSessions200, zo as GetAuthAttempt200, zr as ListFlowDefinitions200 } from "../../index-C4jNq61U.mjs";
2
2
  import * as _$msw from "msw";
3
3
  import { RequestHandlerOptions, http } from "msw";
4
4
 
@@ -295,7 +295,7 @@ const GetFlowStepResponse = zod.object({
295
295
  title_key: zod.string().optional().describe("Localization key for the step heading."),
296
296
  description_key: zod.union([zod.string(), zod.null()]).optional().describe("Localization key for explanatory text.")
297
297
  }).optional().describe("Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\nThe backend never sends display text — only semantic keys.\n"),
298
- error: zod.union([zod.string(), zod.null()]).optional().describe("Error from a previous failed submission. Field-validation failures\ncarry localisation text keys: `error.<field>_<rule>` per violation\n(e.g. `error.email_required`; the `format` rule is spelled\n`error.<field>_invalid`), multiple violations joined with `\"; \"`.\nField names appear verbatim, so clients localise unknown keys via\nthe generic `error.field_<rule>` catalog entries. Other failures\ncarry a verbatim diagnostic token instead (e.g. `user_not_found`,\n`auth_attempt.password_invalid`).\n"),
298
+ error: zod.union([zod.string(), zod.null()]).optional().describe("Error from a previous failed submission. Field-validation failures\ncarry localisation text keys: `error.<field>_<rule>` per violation\n(e.g. `error.email_required`; the `format` rule is spelled\n`error.<field>_invalid`), multiple violations joined with `\"; \"`.\nField names appear verbatim, so clients localise unknown keys via\nthe generic `error.field_<rule>` catalog entries. Other engine\nfailures carry `error.*` catalog keys as well (e.g.\n`error.invalid_credentials`, `error.passkey_invalid`); a\nnon-`error.` payload is an outcome token (e.g. `user_not_found`)\nthat clients keep verbatim.\n"),
299
299
  complete: zod.enum(["redirect", "show"]).optional().describe("Present only on terminal steps. Tells the frontend what to do:\n- redirect: navigate to redirect_uri immediately (OIDC/SAML done)\n- show: render the step as a success screen (e.g., registration confirmed)\n"),
300
300
  redirect_url: zod.url().optional().describe("URL to navigate to (e.g., SSO provider redirect)."),
301
301
  fields: zod.array(zod.object({
@@ -430,7 +430,7 @@ const SubmitFlowStepResponse = zod.object({
430
430
  title_key: zod.string().optional().describe("Localization key for the step heading."),
431
431
  description_key: zod.union([zod.string(), zod.null()]).optional().describe("Localization key for explanatory text.")
432
432
  }).optional().describe("Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\nThe backend never sends display text — only semantic keys.\n"),
433
- error: zod.union([zod.string(), zod.null()]).optional().describe("Error from a previous failed submission. Field-validation failures\ncarry localisation text keys: `error.<field>_<rule>` per violation\n(e.g. `error.email_required`; the `format` rule is spelled\n`error.<field>_invalid`), multiple violations joined with `\"; \"`.\nField names appear verbatim, so clients localise unknown keys via\nthe generic `error.field_<rule>` catalog entries. Other failures\ncarry a verbatim diagnostic token instead (e.g. `user_not_found`,\n`auth_attempt.password_invalid`).\n"),
433
+ error: zod.union([zod.string(), zod.null()]).optional().describe("Error from a previous failed submission. Field-validation failures\ncarry localisation text keys: `error.<field>_<rule>` per violation\n(e.g. `error.email_required`; the `format` rule is spelled\n`error.<field>_invalid`), multiple violations joined with `\"; \"`.\nField names appear verbatim, so clients localise unknown keys via\nthe generic `error.field_<rule>` catalog entries. Other engine\nfailures carry `error.*` catalog keys as well (e.g.\n`error.invalid_credentials`, `error.passkey_invalid`); a\nnon-`error.` payload is an outcome token (e.g. `user_not_found`)\nthat clients keep verbatim.\n"),
434
434
  complete: zod.enum(["redirect", "show"]).optional().describe("Present only on terminal steps. Tells the frontend what to do:\n- redirect: navigate to redirect_uri immediately (OIDC/SAML done)\n- show: render the step as a success screen (e.g., registration confirmed)\n"),
435
435
  redirect_url: zod.url().optional().describe("URL to navigate to (e.g., SSO provider redirect)."),
436
436
  fields: zod.array(zod.object({