@zitadel/api 0.1.0-alpha.12 → 0.1.0-alpha.14
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.
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +23 -1
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +4 -2
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +36 -10
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +51 -34
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +45 -25
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.mjs +17 -23
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-1TIHnDrM.d.mts → index-4CTwhwmD.d.mts} +132 -126
- package/dist/index-4CTwhwmD.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/{zitadelNextGen-AAujo87_.d.mts → zitadelNextGen-DDnOEggX.d.mts} +12 -4
- package/dist/zitadelNextGen-DDnOEggX.d.mts.map +1 -0
- package/package.json +26 -5
- package/src/generated/endpoints/zitadelNextGen.msw.ts +42 -9
- package/src/generated/endpoints/zitadelNextGen.ts +34 -0
- package/src/generated/endpoints/zitadelNextGen.zod.ts +76 -39
- package/src/generated/model/createFlow201StepChallengeMethod.ts +1 -0
- package/src/generated/model/createFlowDefinition201.ts +0 -11
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +6 -4
- package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +6 -4
- package/src/generated/model/createProjectBody.ts +5 -0
- package/src/generated/model/createSchemaBody.ts +9 -1
- package/src/generated/model/getFlowDefinition200.ts +0 -11
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +6 -4
- package/src/generated/model/getFlowStep200StepChallengeMethod.ts +1 -0
- package/src/generated/model/getSchemaById200.ts +9 -1
- package/src/generated/model/index.ts +4 -3
- package/src/generated/model/listSchemas200Item.ts +13 -0
- package/src/generated/model/listSchemasDefault.ts +20 -0
- package/src/generated/model/listSchemasDefaultDetails.ts +12 -0
- package/src/generated/model/listSchemasParams.ts +33 -0
- package/src/generated/model/submitFlowStep200StepChallengeMethod.ts +1 -0
- package/src/generated/model/submitFlowStep400StepChallengeMethod.ts +1 -0
- package/src/generated/model/updateFlowDefinition200.ts +0 -11
- package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +6 -4
- package/src/generated/model/updateFlowDefinitionBody.ts +0 -1
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinition.ts +6 -4
- package/dist/index-1TIHnDrM.d.mts.map +0 -1
- package/dist/zitadelNextGen-AAujo87_.d.mts.map +0 -1
- package/src/generated/model/createFlowDefinition201Status.ts +0 -26
- package/src/generated/model/getFlowDefinition200Status.ts +0 -26
- package/src/generated/model/updateFlowDefinition200Status.ts +0 -26
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as getHealth, A as getDeactivateFlowDefinitionUrl, At as
|
|
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, getListSessionsUrl, getListUsersUrl, getLive, getMySession, getMyUser, getOpenIDConfiguration, getProject, getReady, getRevokeMySessionUrl, getRevokeSessionUrl, getRevokeTokenUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowEventUrl, getSubmitFlowStepUrl, getTeam, getToken, getUpdateFlowDefinitionUrl, getUserByID, getUserInfo, getVerifyChallengeProofUrl, introspect, issueChallenge, listFlowDefinitions, listSessions, listUsers, revokeMySession, revokeSession, revokeToken, setUserPassword, submitFlowEvent, submitFlowStep, updateFlowDefinition, verifyChallengeProof };
|
|
1
|
+
import { $ as getHealth, A as getDeactivateFlowDefinitionUrl, At as listSchemas, B as getGetKeysUrl, Bt as verifyChallengeProof, C as getCreateFlowUrl, Ct as getUpdateFlowDefinitionUrl, D as getCreateSessionUrl, Dt as introspect, E as getCreateSchemaUrl, Et as getVerifyChallengeProofUrl, F as getFlowStep, Ft as revokeToken, G as getGetProjectUrl, H as getGetMySessionUrl, I as getGetAuthAttemptUrl, It as setUserPassword, J as getGetSessionUrl, K as getGetReadyUrl, L as getGetFlowDefinitionUrl, Lt as submitFlowEvent, M as getEndSessionUrl, Mt as listUsers, N as getExchangeHandoffUrl, Nt as revokeMySession, O as getCreateTeamUrl, Ot as issueChallenge, P as getFlowDefinition, Pt as revokeSession, Q as getGetUserInfoUrl, R as getGetFlowStepUrl, Rt as submitFlowStep, S as getCreateFlowDefinitionUrl, St as getToken, T as getCreateProjectUrl, Tt as getUserInfo, U as getGetMyUserUrl, V as getGetLiveUrl, W as getGetOpenIDConfigurationUrl, X as getGetTokenUrl, Y as getGetTeamUrl, Z as getGetUserByIDUrl, _ as getActivateFlowDefinitionUrl, _t as getSession, a as createFlow, at as getListSessionsUrl, b as getAuthorizeGetUrl, bt as getSubmitFlowStepUrl, c as createProject, ct as getMySession, d as createTeam, dt as getProject, et as getIntrospectUrl, f as createUser, ft as getReady, g as exchangeHandoff, gt as getSchemaById, h as endSession, ht as getRevokeTokenUrl, i as createAuthAttempt, it as getListSchemasUrl, j as getDeleteFlowDefinitionUrl, jt as listSessions, k as getCreateUserUrl, kt as listFlowDefinitions, l as createSchema, lt as getMyUser, m as deleteFlowDefinition, mt as getRevokeSessionUrl, n as authorizeDevice, nt as getKeys, o as createFlowDefinition, ot as getListUsersUrl, p as deactivateFlowDefinition, pt as getRevokeMySessionUrl, 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 getSetUserPasswordUrl, w as getCreateHandoffUrl, wt as getUserByID, x as getCreateAuthAttemptUrl, xt as getTeam, y as getAuthorizeDeviceUrl, yt as getSubmitFlowEventUrl, z as getGetHealthUrl, zt as updateFlowDefinition } from "../../zitadelNextGen-DDnOEggX.mjs";
|
|
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, getProject, getReady, getRevokeMySessionUrl, getRevokeSessionUrl, getRevokeTokenUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowEventUrl, getSubmitFlowStepUrl, getTeam, getToken, getUpdateFlowDefinitionUrl, getUserByID, getUserInfo, getVerifyChallengeProofUrl, introspect, issueChallenge, listFlowDefinitions, listSchemas, listSessions, listUsers, revokeMySession, revokeSession, revokeToken, setUserPassword, submitFlowEvent, submitFlowStep, updateFlowDefinition, verifyChallengeProof };
|
|
@@ -67,6 +67,7 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
|
|
|
67
67
|
getIssueChallengeUrl: () => getIssueChallengeUrl,
|
|
68
68
|
getKeys: () => getKeys,
|
|
69
69
|
getListFlowDefinitionsUrl: () => getListFlowDefinitionsUrl,
|
|
70
|
+
getListSchemasUrl: () => getListSchemasUrl,
|
|
70
71
|
getListSessionsUrl: () => getListSessionsUrl,
|
|
71
72
|
getListUsersUrl: () => getListUsersUrl,
|
|
72
73
|
getLive: () => getLive,
|
|
@@ -92,6 +93,7 @@ var zitadelNextGen_exports = /* @__PURE__ */ __exportAll({
|
|
|
92
93
|
introspect: () => introspect,
|
|
93
94
|
issueChallenge: () => issueChallenge,
|
|
94
95
|
listFlowDefinitions: () => listFlowDefinitions,
|
|
96
|
+
listSchemas: () => listSchemas,
|
|
95
97
|
listSessions: () => listSessions,
|
|
96
98
|
listUsers: () => listUsers,
|
|
97
99
|
revokeMySession: () => revokeMySession,
|
|
@@ -849,6 +851,26 @@ const createSchema = async (createSchemaBody, params, options) => {
|
|
|
849
851
|
body: JSON.stringify(createSchemaBody)
|
|
850
852
|
});
|
|
851
853
|
};
|
|
854
|
+
const getListSchemasUrl = (params) => {
|
|
855
|
+
const normalizedParams = new URLSearchParams();
|
|
856
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
857
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : value.toString());
|
|
858
|
+
});
|
|
859
|
+
const stringifiedParams = normalizedParams.toString();
|
|
860
|
+
return stringifiedParams.length > 0 ? `${getProxyPath()}/schemas?${stringifiedParams}` : `${getProxyPath()}/schemas`;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Retrieve a list of all schemas available in the system. This endpoint
|
|
864
|
+
supports pagination and filtering based on schema attributes.
|
|
865
|
+
|
|
866
|
+
* @summary List all schemas
|
|
867
|
+
*/
|
|
868
|
+
const listSchemas = async (params, options) => {
|
|
869
|
+
return customFetch(getListSchemasUrl(params), {
|
|
870
|
+
...options,
|
|
871
|
+
method: "GET"
|
|
872
|
+
});
|
|
873
|
+
};
|
|
852
874
|
const getGetSchemaByIdUrl = (id, params) => {
|
|
853
875
|
const normalizedParams = new URLSearchParams();
|
|
854
876
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1057,6 +1079,6 @@ const getTeam = async (teamId, params, options) => {
|
|
|
1057
1079
|
});
|
|
1058
1080
|
};
|
|
1059
1081
|
//#endregion
|
|
1060
|
-
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, getListSessionsUrl, getListUsersUrl, getLive, getMySession, getMyUser, getOpenIDConfiguration, getProject, getReady, getRevokeMySessionUrl, getRevokeSessionUrl, getRevokeTokenUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowEventUrl, getSubmitFlowStepUrl, getTeam, getToken, getUpdateFlowDefinitionUrl, getUserByID, getUserInfo, getVerifyChallengeProofUrl, introspect, issueChallenge, listFlowDefinitions, listSessions, listUsers, revokeMySession, revokeSession, revokeToken, setUserPassword, submitFlowEvent, submitFlowStep, zitadelNextGen_exports as t, updateFlowDefinition, verifyChallengeProof };
|
|
1082
|
+
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, getProject, getReady, getRevokeMySessionUrl, getRevokeSessionUrl, getRevokeTokenUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowEventUrl, getSubmitFlowStepUrl, getTeam, getToken, getUpdateFlowDefinitionUrl, getUserByID, getUserInfo, getVerifyChallengeProofUrl, introspect, issueChallenge, listFlowDefinitions, listSchemas, listSessions, listUsers, revokeMySession, revokeSession, revokeToken, setUserPassword, submitFlowEvent, submitFlowStep, zitadelNextGen_exports as t, updateFlowDefinition, verifyChallengeProof };
|
|
1061
1083
|
|
|
1062
1084
|
//# sourceMappingURL=zitadelNextGen.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zitadelNextGen.mjs","names":[],"sources":["../../../src/generated/endpoints/zitadelNextGen.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Zitadel NextGen\n * This is the next generation of the Zitadel identity platform.\n * OpenAPI spec version: 0.0.1\n */\nimport { getProxyPath } from \"../../runtime/base-url\";\nimport { customFetch } from \"../../runtime/fetch\";\nimport type {\n ActivateFlowDefinitionParams,\n AuthorizeDevice200,\n AuthorizeDeviceParams,\n AuthorizeGetDefault,\n AuthorizeGetParams,\n CreateAuthAttempt201,\n CreateAuthAttemptBody,\n CreateFlow201,\n CreateFlowBody,\n CreateFlowDefinition201,\n CreateFlowDefinitionBody,\n CreateHandoff200,\n CreateProject201,\n CreateProjectBody,\n CreateSchema201,\n CreateSchemaBody,\n CreateSchemaParams,\n CreateSession201,\n CreateSessionBody,\n CreateTeam201,\n CreateTeamBody,\n CreateTeamParams,\n CreateUser201,\n CreateUserBody,\n CreateUserParams,\n DeactivateFlowDefinitionParams,\n DeleteFlowDefinitionParams,\n EndSessionParams,\n ExchangeHandoff200,\n ExchangeHandoffBody,\n ExchangeHandoffParams,\n GetAuthAttempt200,\n GetFlowDefinition200,\n GetFlowDefinitionParams,\n GetFlowStep200,\n GetHealthDefault,\n GetKeys200,\n GetLiveDefault,\n GetMySession200,\n GetMyUser200,\n GetOpenIDConfiguration200,\n GetProject200,\n GetReadyDefault,\n GetSchemaById200,\n GetSchemaByIdParams,\n GetSession200,\n GetSessionParams,\n GetTeam200,\n GetTeamParams,\n GetToken200,\n GetTokenBody,\n GetUserByID200,\n GetUserByIDParams,\n GetUserInfo200,\n Introspect200,\n IntrospectBody,\n IssueChallenge201,\n IssueChallengeBody,\n ListFlowDefinitions200,\n ListFlowDefinitionsParams,\n ListSessions200,\n ListSessionsParams,\n ListUsers200Item,\n ListUsersParams,\n RevokeSessionParams,\n RevokeTokenBody,\n SetUserPasswordBody,\n SetUserPasswordParams,\n SubmitFlowEventBody,\n SubmitFlowStep200,\n SubmitFlowStepBody,\n UpdateFlowDefinition200,\n UpdateFlowDefinitionBody,\n UpdateFlowDefinitionParams,\n VerifyChallengeProof200,\n VerifyChallengeProofBody,\n} from \"../model\";\n\nexport const getGetOpenIDConfigurationUrl = () => {\n return `${getProxyPath()}/.well-known/openid-configuration`;\n};\n\n/**\n * Retrieve the OpenID Connect configuration\n * @summary Get OpenID Connect configuration\n */\nexport const getOpenIDConfiguration = async (\n options?: RequestInit,\n): Promise<GetOpenIDConfiguration200> => {\n return customFetch<GetOpenIDConfiguration200>(getGetOpenIDConfigurationUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getAuthorizeGetUrl = (params: AuthorizeGetParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/auth/authorize?${stringifiedParams}`\n : `${getProxyPath()}/auth/authorize`;\n};\n\n/**\n * @summary Authorize a user\n */\nexport const authorizeGet = async (\n params: AuthorizeGetParams,\n options?: RequestInit,\n): Promise<AuthorizeGetDefault> => {\n return customFetch<AuthorizeGetDefault>(getAuthorizeGetUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getAuthorizeDeviceUrl = (params: AuthorizeDeviceParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/auth/device-authorization?${stringifiedParams}`\n : `${getProxyPath()}/auth/device-authorization`;\n};\n\n/**\n * @summary Authorize a device\n */\nexport const authorizeDevice = async (\n params: AuthorizeDeviceParams,\n options?: RequestInit,\n): Promise<AuthorizeDevice200> => {\n return customFetch<AuthorizeDevice200>(getAuthorizeDeviceUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getEndSessionUrl = (params?: EndSessionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/auth/end-session?${stringifiedParams}`\n : `${getProxyPath()}/auth/end-session`;\n};\n\n/**\n * @summary End a session\n */\nexport const endSession = async (\n params?: EndSessionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getEndSessionUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getIntrospectUrl = () => {\n return `${getProxyPath()}/auth/introspect`;\n};\n\n/**\n * @summary Introspect a token\n */\nexport const introspect = async (\n introspectBody: IntrospectBody,\n options?: RequestInit,\n): Promise<Introspect200> => {\n const formUrlEncoded = new URLSearchParams();\n formUrlEncoded.append(`token`, introspectBody.token);\n if (introspectBody.token_type_hint !== undefined) {\n formUrlEncoded.append(`token_type_hint`, introspectBody.token_type_hint);\n }\n\n return customFetch<Introspect200>(getIntrospectUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\", ...options?.headers },\n body: formUrlEncoded,\n });\n};\n\nexport const getGetKeysUrl = () => {\n return `${getProxyPath()}/auth/keys`;\n};\n\n/**\n * @summary Get public keys\n */\nexport const getKeys = async (options?: RequestInit): Promise<GetKeys200> => {\n return customFetch<GetKeys200>(getGetKeysUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getRevokeTokenUrl = () => {\n return `${getProxyPath()}/auth/revoke`;\n};\n\n/**\n * @summary Revoke an access token or refresh token\n */\nexport const revokeToken = async (\n revokeTokenBody: RevokeTokenBody,\n options?: RequestInit,\n): Promise<void> => {\n const formUrlEncoded = new URLSearchParams();\n if (revokeTokenBody.token !== undefined) {\n formUrlEncoded.append(`token`, revokeTokenBody.token);\n }\n if (revokeTokenBody.token_type_hint !== undefined) {\n formUrlEncoded.append(`token_type_hint`, revokeTokenBody.token_type_hint);\n }\n\n return customFetch<void>(getRevokeTokenUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\", ...options?.headers },\n body: formUrlEncoded,\n });\n};\n\nexport const getGetTokenUrl = () => {\n return `${getProxyPath()}/auth/token`;\n};\n\n/**\n * @summary Get access token\n */\nexport const getToken = async (\n getTokenBody: GetTokenBody,\n options?: RequestInit,\n): Promise<GetToken200> => {\n const formUrlEncoded = new URLSearchParams();\n if (getTokenBody.code !== undefined) {\n formUrlEncoded.append(`code`, getTokenBody.code);\n }\n if (getTokenBody.client_assertion !== undefined) {\n formUrlEncoded.append(`client_assertion`, getTokenBody.client_assertion);\n }\n if (getTokenBody.client_assertion_type !== undefined) {\n formUrlEncoded.append(`client_assertion_type`, getTokenBody.client_assertion_type);\n }\n if (getTokenBody.client_id !== undefined) {\n formUrlEncoded.append(`client_id`, getTokenBody.client_id);\n }\n if (getTokenBody.client_secret !== undefined) {\n formUrlEncoded.append(`client_secret`, getTokenBody.client_secret);\n }\n if (getTokenBody.code_verifier !== undefined) {\n formUrlEncoded.append(`code_verifier`, getTokenBody.code_verifier);\n }\n if (getTokenBody.grant_type !== undefined) {\n formUrlEncoded.append(`grant_type`, getTokenBody.grant_type);\n }\n if (getTokenBody.redirect_uri !== undefined) {\n formUrlEncoded.append(`redirect_uri`, getTokenBody.redirect_uri);\n }\n\n return customFetch<GetToken200>(getGetTokenUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\", ...options?.headers },\n body: formUrlEncoded,\n });\n};\n\nexport const getGetUserInfoUrl = () => {\n return `${getProxyPath()}/auth/userinfo`;\n};\n\n/**\n * @summary Get user info\n */\nexport const getUserInfo = async (options?: RequestInit): Promise<GetUserInfo200> => {\n return customFetch<GetUserInfo200>(getGetUserInfoUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetHealthUrl = () => {\n return `${getProxyPath()}/healthz`;\n};\n\n/**\n * Check whether the server is healthy\n * @summary Check server health\n */\nexport const getHealth = async (options?: RequestInit): Promise<GetHealthDefault> => {\n return customFetch<GetHealthDefault>(getGetHealthUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetLiveUrl = () => {\n return `${getProxyPath()}/livez`;\n};\n\n/**\n * Check whether the server is started\n * @summary Check server liveness\n */\nexport const getLive = async (options?: RequestInit): Promise<GetLiveDefault> => {\n return customFetch<GetLiveDefault>(getGetLiveUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetReadyUrl = () => {\n return `${getProxyPath()}/readyz`;\n};\n\n/**\n * Check whether the server is ready to accept requests\n * @summary Check server readiness\n */\nexport const getReady = async (options?: RequestInit): Promise<GetReadyDefault> => {\n return customFetch<GetReadyDefault>(getGetReadyUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getCreateUserUrl = (params: CreateUserParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/users?${stringifiedParams}`\n : `${getProxyPath()}/users`;\n};\n\n/**\n * @summary Create user\n */\nexport const createUser = async (\n createUserBody: CreateUserBody,\n params: CreateUserParams,\n options?: RequestInit,\n): Promise<CreateUser201> => {\n return customFetch<CreateUser201>(getCreateUserUrl(params), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createUserBody),\n });\n};\n\nexport const getListUsersUrl = (params?: ListUsersParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/users?${stringifiedParams}`\n : `${getProxyPath()}/users`;\n};\n\n/**\n * @summary List users\n */\nexport const listUsers = async (\n params?: ListUsersParams,\n options?: RequestInit,\n): Promise<ListUsers200Item[]> => {\n return customFetch<ListUsers200Item[]>(getListUsersUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetUserByIDUrl = (userId: string, params: GetUserByIDParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/users/${userId}?${stringifiedParams}`\n : `${getProxyPath()}/users/${userId}`;\n};\n\n/**\n * @summary Get user by ID\n */\nexport const getUserByID = async (\n userId: string,\n params: GetUserByIDParams,\n options?: RequestInit,\n): Promise<GetUserByID200> => {\n return customFetch<GetUserByID200>(getGetUserByIDUrl(userId, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getSetUserPasswordUrl = (userId: string, params: SetUserPasswordParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/users/${userId}/password?${stringifiedParams}`\n : `${getProxyPath()}/users/${userId}/password`;\n};\n\n/**\n * @summary Set user password\n */\nexport const setUserPassword = async (\n userId: string,\n setUserPasswordBody: SetUserPasswordBody,\n params: SetUserPasswordParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getSetUserPasswordUrl(userId, params), {\n ...options,\n method: \"PUT\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(setUserPasswordBody),\n });\n};\n\nexport const getGetMyUserUrl = () => {\n return `${getProxyPath()}/users/me`;\n};\n\n/**\n * @summary Get my user information\n */\nexport const getMyUser = async (options?: RequestInit): Promise<GetMyUser200> => {\n return customFetch<GetMyUser200>(getGetMyUserUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getCreateFlowUrl = () => {\n return `${getProxyPath()}/flow`;\n};\n\n/**\n * Resolves a flow definition based on purpose + audience context and returns\nthe first capability step. Creates a new session implicitly unless\n`session_id` is provided (for step-up / reauth on an existing session).\n\nThe response contains an `id` field — the flow handle. Use it as the path\nparameter for all subsequent `/flow/{id}/submit` and `/flow/{id}/event` calls.\n\nThe response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing\nthe flow's orchestration state (current step, collected data, history).\nThe server is stateless between requests — all flow state lives in this\ncookie. The browser sends it automatically on subsequent requests.\n\n * @summary Start a new flow\n */\nexport const createFlow = async (\n createFlowBody: CreateFlowBody,\n options?: RequestInit,\n): Promise<CreateFlow201> => {\n return customFetch<CreateFlow201>(getCreateFlowUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createFlowBody),\n });\n};\n\nexport const getGetFlowStepUrl = (id: string) => {\n return `${getProxyPath()}/flow/${id}`;\n};\n\n/**\n * Returns the current capability step without advancing the state machine.\nUseful for page reloads or re-rendering after a network error.\n\n * @summary Get current step (re-render)\n */\nexport const getFlowStep = async (id: string, options?: RequestInit): Promise<GetFlowStep200> => {\n return customFetch<GetFlowStep200>(getGetFlowStepUrl(id), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getSubmitFlowStepUrl = (id: string) => {\n return `${getProxyPath()}/flow/${id}/submit`;\n};\n\n/**\n * Submits user input for the current step. The server validates,\nprocesses (e.g., verifies a credential), advances the state machine\nthrough any invisible steps, and returns the next visible step.\n\nThe response sets an updated encrypted `HttpOnly` cookie (`_zflow`)\nwith the new flow state. The server is stateless — all orchestration\nstate is carried in this cookie between requests.\n\n**Important:** The `id` in the response may differ from the `id` used in\nthe request. This happens when a flow pivots (pushes a new flow onto the\nstack) or when a stacked flow completes (auto-pops to the parent flow).\nAlways use the `id` from the latest response for the next request.\n\n## Flow completion\n\nWhen `step.type` is `complete`, the flow is terminal. The `step.behavior`\nfield tells the frontend what to do:\n\n| `behavior` | Action |\n|------------- |------------------------------------------------------------|\n| `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). |\n| `show` | Render the step as a success screen (e.g., registration). |\n\nA `complete` step is only returned when the **entire flow stack** is done.\nIf a stacked flow (e.g., recovery pivoted from login) finishes, the server\nauto-pops to the parent flow and returns the parent's next step — the\nfrontend never sees a `complete` for intermediate flows.\n\n * @summary Submit step data and advance\n */\nexport const submitFlowStep = async (\n id: string,\n submitFlowStepBody: SubmitFlowStepBody,\n options?: RequestInit,\n): Promise<SubmitFlowStep200> => {\n return customFetch<SubmitFlowStep200>(getSubmitFlowStepUrl(id), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(submitFlowStepBody),\n });\n};\n\nexport const getSubmitFlowEventUrl = (id: string) => {\n return `${getProxyPath()}/flow/${id}/event`;\n};\n\n/**\n * Submits telemetry or fingerprint data from the frontend.\nDoes not advance the state machine. Used for risk evaluation.\n\n * @summary Submit client-side event\n */\nexport const submitFlowEvent = async (\n id: string,\n submitFlowEventBody: SubmitFlowEventBody,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getSubmitFlowEventUrl(id), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(submitFlowEventBody),\n });\n};\n\nexport const getCreateAuthAttemptUrl = () => {\n return `${getProxyPath()}/auth_attempts`;\n};\n\n/**\n * Starts a new authentication attempt. This is the entry point for the auth_attempts state machine.\n\nAn attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round.\nIt accepts factor challenges, verifies proofs, and completes into a session or handoff token.\n\nAccepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth,\nalso include session_id to add factors to an existing session.\n\n * @summary Create a new authentication attempt\n */\nexport const createAuthAttempt = async (\n createAuthAttemptBody: CreateAuthAttemptBody,\n options?: RequestInit,\n): Promise<CreateAuthAttempt201> => {\n return customFetch<CreateAuthAttempt201>(getCreateAuthAttemptUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createAuthAttemptBody),\n });\n};\n\nexport const getGetAuthAttemptUrl = (attemptId: string) => {\n return `${getProxyPath()}/auth_attempts/${attemptId}`;\n};\n\n/**\n * Polls the current state of an authentication attempt.\n\nReturns the attempt's state, available factors for the next challenge,\nchallenges issued so far, and any errors preventing progress.\n\nUse this for polling during long-running factor verifications (e.g., waiting for\na federated IdP callback or a device flow).\n\n * @summary Get authentication attempt state\n */\nexport const getAuthAttempt = async (\n attemptId: string,\n options?: RequestInit,\n): Promise<GetAuthAttempt200> => {\n return customFetch<GetAuthAttempt200>(getGetAuthAttemptUrl(attemptId), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getIssueChallengeUrl = (attemptId: string) => {\n return `${getProxyPath()}/auth_attempts/${attemptId}/challenges`;\n};\n\n/**\n * Issues a single-factor verification challenge within an auth attempt.\n\nThis advances the authentication state machine by requesting a specific factor method\n(password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details\nincluding method, metadata, and any UI hints. The client then verifies the proof\nby calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.\n\n * @summary Issue a factor challenge\n */\nexport const issueChallenge = async (\n attemptId: string,\n issueChallengeBody: IssueChallengeBody,\n options?: RequestInit,\n): Promise<IssueChallenge201> => {\n return customFetch<IssueChallenge201>(getIssueChallengeUrl(attemptId), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(issueChallengeBody),\n });\n};\n\nexport const getVerifyChallengeProofUrl = (attemptId: string, challengeId: string) => {\n return `${getProxyPath()}/auth_attempts/${attemptId}/challenges/${challengeId}/verify`;\n};\n\n/**\n * Submits a proof (credential, code, assertion) to verify a factor challenge.\n\nThe proof format depends on the challenge method. For example:\n- `password` method: { password: \"…\" }\n- `totp` method: { totp: { code: \"123456\" } }\n- `passkey` method: { passkey: { assertion: \"…\" } }\n- `recovery_code` method: { recovery_code: \"…\" }\n\nOn successful verification, the factor is written to the auth attempt.\nThe attempt moves to the next pending challenge or completes if all required factors are verified.\n\n * @summary Verify a factor proof\n */\nexport const verifyChallengeProof = async (\n attemptId: string,\n challengeId: string,\n verifyChallengeProofBody: VerifyChallengeProofBody,\n options?: RequestInit,\n): Promise<VerifyChallengeProof200> => {\n return customFetch<VerifyChallengeProof200>(getVerifyChallengeProofUrl(attemptId, challengeId), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(verifyChallengeProofBody),\n });\n};\n\nexport const getCreateHandoffUrl = (attemptId: string) => {\n return `${getProxyPath()}/auth_attempts/${attemptId}/handoff`;\n};\n\n/**\n * Completes the authentication attempt and mints a `handoff_token`.\n\nCall this after all required factors have been verified and the attempt is in `completed` state.\nThe handoff token is short-lived (≤60 seconds) and must be exchanged at\nPOST /sessions/exchange to receive the final session and session_token.\n\nThe handoff token is:\n- Single-use (atomic exchange, no retry)\n- Audience-bound (requires matching project key for exchange)\n- Idempotency-safe within a 5-minute window (see conventions)\n\n * @summary Complete authentication and create handoff token\n */\nexport const createHandoff = async (\n attemptId: string,\n options?: RequestInit,\n): Promise<CreateHandoff200> => {\n return customFetch<CreateHandoff200>(getCreateHandoffUrl(attemptId), {\n ...options,\n method: \"POST\",\n });\n};\n\nexport const getCreateProjectUrl = () => {\n return `${getProxyPath()}/projects`;\n};\n\n/**\n * @summary Create project\n */\nexport const createProject = async (\n createProjectBody: CreateProjectBody,\n options?: RequestInit,\n): Promise<CreateProject201> => {\n return customFetch<CreateProject201>(getCreateProjectUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createProjectBody),\n });\n};\n\nexport const getGetProjectUrl = (projectId: string) => {\n return `${getProxyPath()}/projects/${projectId}`;\n};\n\n/**\n * Returns the current state of a project.\n\n * @summary Get project\n */\nexport const getProject = async (\n projectId: string,\n options?: RequestInit,\n): Promise<GetProject200> => {\n return customFetch<GetProject200>(getGetProjectUrl(projectId), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getCreateSessionUrl = () => {\n return `${getProxyPath()}/sessions`;\n};\n\n/**\n * Creates an anonymous session shell with no user and no factors (`state: building`).\n\nThis is optional — an `auth_attempt` will create a session implicitly if none is provided.\nUse this explicitly when you want to:\n- Pre-allocate a `session_id` before the user is known, so device/telemetry signals\n can be correlated with the eventual authenticated session from the start.\n- Track anonymous state (bot detection, device fingerprint) that survives until authentication.\n\nThe returned `session_token` authorises GET and DELETE on this session.\nIt is superseded when a handoff exchange completes — clients must replace it at that point.\n\nAnonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured\nfull session TTL when the first authentication factor is written via a completing `auth_attempt`.\n\n * @summary Create an anonymous session shell\n */\nexport const createSession = async (\n createSessionBody: CreateSessionBody,\n options?: RequestInit,\n): Promise<CreateSession201> => {\n return customFetch<CreateSession201>(getCreateSessionUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createSessionBody),\n });\n};\n\nexport const getListSessionsUrl = (params: ListSessionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/sessions?${stringifiedParams}`\n : `${getProxyPath()}/sessions`;\n};\n\n/**\n * Returns a paginated list of sessions for a project.\nRequires a project service key (OAuth2 client credentials).\n\n * @summary List sessions\n */\nexport const listSessions = async (\n params: ListSessionsParams,\n options?: RequestInit,\n): Promise<ListSessions200> => {\n return customFetch<ListSessions200>(getListSessionsUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getExchangeHandoffUrl = (params: ExchangeHandoffParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/sessions/exchange?${stringifiedParams}`\n : `${getProxyPath()}/sessions/exchange`;\n};\n\n/**\n * Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff`\nand returns the resulting session and a `session_token`.\n\nThe server resolves the originating `auth_attempt` from the token and then:\n\n| Originating auth_attempt | Outcome |\n|---|---|\n| No `session_id` | A new authenticated session is **created**. |\n| `session_id` points to an anonymous shell | Existing session is **upgraded** — user and factors written in, TTL reset to full session TTL. |\n| `session_id` points to an active session (step-up) | Existing session is **upgraded** — new factors merged, `assurance_levels[]` expanded. |\n\nThe response shape is identical in all three cases.\n\nThe `session_token` supersedes any previously issued `session_token` for the same session.\nClients must replace their stored token at this point.\n\nRequires a project service key (OAuth2 client credentials).\n\n * @summary Exchange handoff token for a session\n */\nexport const exchangeHandoff = async (\n exchangeHandoffBody: ExchangeHandoffBody,\n params: ExchangeHandoffParams,\n options?: RequestInit,\n): Promise<ExchangeHandoff200> => {\n return customFetch<ExchangeHandoff200>(getExchangeHandoffUrl(params), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(exchangeHandoffBody),\n });\n};\n\nexport const getGetSessionUrl = (sessionId: string, params: GetSessionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/sessions/${sessionId}?${stringifiedParams}`\n : `${getProxyPath()}/sessions/${sessionId}`;\n};\n\n/**\n * Returns the current state of a session including its factors and all currently\nsatisfied assurance levels.\n\n`assurance_levels[]` may shrink over time as factor freshness windows expire,\nwithout the session itself expiring. Use step-up authentication (a new `auth_attempt`\nagainst the same `session_id`) to restore a dropped assurance level.\n\n * @summary Get session state\n */\nexport const getSession = async (\n sessionId: string,\n params: GetSessionParams,\n options?: RequestInit,\n): Promise<GetSession200> => {\n return customFetch<GetSession200>(getGetSessionUrl(sessionId, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getRevokeSessionUrl = (sessionId: string, params: RevokeSessionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/sessions/${sessionId}?${stringifiedParams}`\n : `${getProxyPath()}/sessions/${sessionId}`;\n};\n\n/**\n * Revokes the session immediately (`state: revoked`). This is the logout operation.\n\nThe session_token issued at creation (or superseded by a handoff exchange) is required.\nAfter revocation, any tokens derived from this session are invalidated.\n\n * @summary Revoke session\n */\nexport const revokeSession = async (\n sessionId: string,\n params: RevokeSessionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getRevokeSessionUrl(sessionId, params), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getGetMySessionUrl = () => {\n return `${getProxyPath()}/sessions/me`;\n};\n\n/**\n * Returns the current state of the current session including its factors and all currently\nsatisfied assurance levels.\n\n`assurance_levels[]` may shrink over time as factor freshness windows expire,\nwithout the session itself expiring. Use step-up authentication (a new `auth_attempt`\nagainst the same `session_id`) to restore a dropped assurance level.\n\n * @summary Get my session state\n */\nexport const getMySession = async (options?: RequestInit): Promise<GetMySession200> => {\n return customFetch<GetMySession200>(getGetMySessionUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getRevokeMySessionUrl = () => {\n return `${getProxyPath()}/sessions/me`;\n};\n\n/**\n * Revokes the session immediately (`state: revoked`). This is the logout operation.\n\nThe __nextgen_session cookie issued at creation (or superseded by a handoff exchange) is required.\nAfter revocation, any tokens derived from this session are invalidated including the cookie itself, which is cleared in the response.\n\n * @summary Revoke my session\n */\nexport const revokeMySession = async (options?: RequestInit): Promise<void> => {\n return customFetch<void>(getRevokeMySessionUrl(), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getCreateSchemaUrl = (params: CreateSchemaParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/schemas?${stringifiedParams}`\n : `${getProxyPath()}/schemas`;\n};\n\n/**\n * Create a new schema. The schema definition must include a unique $id field,\nwhich will be used to identify the schema in future requests. The $id must\nbe a valid URI and should ideally point to the location where the schema\ncan be accessed.\n\nThe schema can either be a concrete schema, e.g. a user schema, or a\nschema-url which will be resolved by the server.\n\n * @summary Create new schema\n */\nexport const createSchema = async (\n createSchemaBody: CreateSchemaBody,\n params: CreateSchemaParams,\n options?: RequestInit,\n): Promise<CreateSchema201> => {\n return customFetch<CreateSchema201>(getCreateSchemaUrl(params), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createSchemaBody),\n });\n};\n\nexport const getGetSchemaByIdUrl = (id: string, params: GetSchemaByIdParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/schemas/${id}?${stringifiedParams}`\n : `${getProxyPath()}/schemas/${id}`;\n};\n\n/**\n * Get a schema by its ID. This will return the default revision of the schema.\n * @summary Get schema by ID\n */\nexport const getSchemaById = async (\n id: string,\n params: GetSchemaByIdParams,\n options?: RequestInit,\n): Promise<GetSchemaById200> => {\n return customFetch<GetSchemaById200>(getGetSchemaByIdUrl(id, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getCreateFlowDefinitionUrl = () => {\n return `${getProxyPath()}/flow_definitions`;\n};\n\n/**\n * Creates a new flow definition.\nFlow definitions are templates that define the sequence of steps (capabilities)\nfor a particular user journey (e.g., registration, login, password reset).\n\nFlow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.\n\n * @summary Create a new flow definition\n */\nexport const createFlowDefinition = async (\n createFlowDefinitionBody: CreateFlowDefinitionBody,\n options?: RequestInit,\n): Promise<CreateFlowDefinition201> => {\n return customFetch<CreateFlowDefinition201>(getCreateFlowDefinitionUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createFlowDefinitionBody),\n });\n};\n\nexport const getListFlowDefinitionsUrl = (params: ListFlowDefinitionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions`;\n};\n\n/**\n * Retrieves a list of all flow definitions.\nThis endpoint can be used to view existing flow definitions and their configurations.\n\n * @summary List flow definitions\n */\nexport const listFlowDefinitions = async (\n params: ListFlowDefinitionsParams,\n options?: RequestInit,\n): Promise<ListFlowDefinitions200> => {\n return customFetch<ListFlowDefinitions200>(getListFlowDefinitionsUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetFlowDefinitionUrl = (id: string, params: GetFlowDefinitionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}`;\n};\n\n/**\n * Get a flow definition by id\n * @summary Get a flow definition by id\n */\nexport const getFlowDefinition = async (\n id: string,\n params: GetFlowDefinitionParams,\n options?: RequestInit,\n): Promise<GetFlowDefinition200> => {\n return customFetch<GetFlowDefinition200>(getGetFlowDefinitionUrl(id, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getUpdateFlowDefinitionUrl = (id: string, params: UpdateFlowDefinitionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}`;\n};\n\n/**\n * Update a flow definition by id. This endpoint replaces the existing flow definition.\nIf `flow_definition.status` is omitted, the current status is preserved\n\n * @summary Update a flow definition by id\n */\nexport const updateFlowDefinition = async (\n id: string,\n updateFlowDefinitionBody: UpdateFlowDefinitionBody,\n params: UpdateFlowDefinitionParams,\n options?: RequestInit,\n): Promise<UpdateFlowDefinition200> => {\n return customFetch<UpdateFlowDefinition200>(getUpdateFlowDefinitionUrl(id, params), {\n ...options,\n method: \"PUT\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(updateFlowDefinitionBody),\n });\n};\n\nexport const getDeleteFlowDefinitionUrl = (id: string, params: DeleteFlowDefinitionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}`;\n};\n\n/**\n * Delete a flow definition by id.\nIf the flow definition is currently being used by a flow, the deletion will fail.\nIf the flow definition is the last active flow definition for a given purpose, the deletion will fail to prevent disruption of new flows being started for that purpose.\n\n * @summary Delete a flow definition by id\n */\nexport const deleteFlowDefinition = async (\n id: string,\n params: DeleteFlowDefinitionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getDeleteFlowDefinitionUrl(id, params), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getActivateFlowDefinitionUrl = (id: string, params: ActivateFlowDefinitionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}/activate?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}/activate`;\n};\n\n/**\n * Activate a flow definition by transitioning it from a `draft` state to an `active` state.\nAlternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.\n\n * @summary Activate a flow definition by ID.\n */\nexport const activateFlowDefinition = async (\n id: string,\n params: ActivateFlowDefinitionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getActivateFlowDefinitionUrl(id, params), {\n ...options,\n method: \"POST\",\n });\n};\n\nexport const getDeactivateFlowDefinitionUrl = (\n id: string,\n params: DeactivateFlowDefinitionParams,\n) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}/deactivate?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}/deactivate`;\n};\n\n/**\n * Deactivates a flow definition in the `active` state by transitioning it to the `draft` state.\nFlow definitions in `draft` state cannot be used to start new flows. Existing flows that use the deactivated flow definition must gracefully handle this.\nAlternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.\n\n * @summary Deactivate a flow definition by ID.\n */\nexport const deactivateFlowDefinition = async (\n id: string,\n params: DeactivateFlowDefinitionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getDeactivateFlowDefinitionUrl(id, params), {\n ...options,\n method: \"POST\",\n });\n};\n\nexport const getCreateTeamUrl = (params: CreateTeamParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/teams?${stringifiedParams}`\n : `${getProxyPath()}/teams`;\n};\n\n/**\n * @summary Create team\n */\nexport const createTeam = async (\n params: CreateTeamParams,\n createTeamBody?: CreateTeamBody,\n options?: RequestInit,\n): Promise<CreateTeam201> => {\n return customFetch<CreateTeam201>(getCreateTeamUrl(params), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createTeamBody),\n });\n};\n\nexport const getGetTeamUrl = (teamId: string, params: GetTeamParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/teams/${teamId}?${stringifiedParams}`\n : `${getProxyPath()}/teams/${teamId}`;\n};\n\n/**\n * Returns the current state of a team.\n\n * @summary Get team\n */\nexport const getTeam = async (\n teamId: string,\n params: GetTeamParams,\n options?: RequestInit,\n): Promise<GetTeam200> => {\n return customFetch<GetTeam200>(getGetTeamUrl(teamId, params), {\n ...options,\n method: \"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Ac,CAAC,SAAS;;;;;;;AAQjC,MAAa,UAAU,OACrB,QACA,QACA,YACwB;AACxB,QAAO,YAAwB,cAAc,QAAQ,OAAO,EAAE;EAC5D,GAAG;EACH,QAAQ;EACT,CAAC"}
|
|
1
|
+
{"version":3,"file":"zitadelNextGen.mjs","names":[],"sources":["../../../src/generated/endpoints/zitadelNextGen.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Zitadel NextGen\n * This is the next generation of the Zitadel identity platform.\n * OpenAPI spec version: 0.0.1\n */\nimport { getProxyPath } from \"../../runtime/base-url\";\nimport { customFetch } from \"../../runtime/fetch\";\nimport type {\n ActivateFlowDefinitionParams,\n AuthorizeDevice200,\n AuthorizeDeviceParams,\n AuthorizeGetDefault,\n AuthorizeGetParams,\n CreateAuthAttempt201,\n CreateAuthAttemptBody,\n CreateFlow201,\n CreateFlowBody,\n CreateFlowDefinition201,\n CreateFlowDefinitionBody,\n CreateHandoff200,\n CreateProject201,\n CreateProjectBody,\n CreateSchema201,\n CreateSchemaBody,\n CreateSchemaParams,\n CreateSession201,\n CreateSessionBody,\n CreateTeam201,\n CreateTeamBody,\n CreateTeamParams,\n CreateUser201,\n CreateUserBody,\n CreateUserParams,\n DeactivateFlowDefinitionParams,\n DeleteFlowDefinitionParams,\n EndSessionParams,\n ExchangeHandoff200,\n ExchangeHandoffBody,\n ExchangeHandoffParams,\n GetAuthAttempt200,\n GetFlowDefinition200,\n GetFlowDefinitionParams,\n GetFlowStep200,\n GetHealthDefault,\n GetKeys200,\n GetLiveDefault,\n GetMySession200,\n GetMyUser200,\n GetOpenIDConfiguration200,\n GetProject200,\n GetReadyDefault,\n GetSchemaById200,\n GetSchemaByIdParams,\n GetSession200,\n GetSessionParams,\n GetTeam200,\n GetTeamParams,\n GetToken200,\n GetTokenBody,\n GetUserByID200,\n GetUserByIDParams,\n GetUserInfo200,\n Introspect200,\n IntrospectBody,\n IssueChallenge201,\n IssueChallengeBody,\n ListFlowDefinitions200,\n ListFlowDefinitionsParams,\n ListSchemas200Item,\n ListSchemasParams,\n ListSessions200,\n ListSessionsParams,\n ListUsers200Item,\n ListUsersParams,\n RevokeSessionParams,\n RevokeTokenBody,\n SetUserPasswordBody,\n SetUserPasswordParams,\n SubmitFlowEventBody,\n SubmitFlowStep200,\n SubmitFlowStepBody,\n UpdateFlowDefinition200,\n UpdateFlowDefinitionBody,\n UpdateFlowDefinitionParams,\n VerifyChallengeProof200,\n VerifyChallengeProofBody,\n} from \"../model\";\n\nexport const getGetOpenIDConfigurationUrl = () => {\n return `${getProxyPath()}/.well-known/openid-configuration`;\n};\n\n/**\n * Retrieve the OpenID Connect configuration\n * @summary Get OpenID Connect configuration\n */\nexport const getOpenIDConfiguration = async (\n options?: RequestInit,\n): Promise<GetOpenIDConfiguration200> => {\n return customFetch<GetOpenIDConfiguration200>(getGetOpenIDConfigurationUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getAuthorizeGetUrl = (params: AuthorizeGetParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/auth/authorize?${stringifiedParams}`\n : `${getProxyPath()}/auth/authorize`;\n};\n\n/**\n * @summary Authorize a user\n */\nexport const authorizeGet = async (\n params: AuthorizeGetParams,\n options?: RequestInit,\n): Promise<AuthorizeGetDefault> => {\n return customFetch<AuthorizeGetDefault>(getAuthorizeGetUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getAuthorizeDeviceUrl = (params: AuthorizeDeviceParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/auth/device-authorization?${stringifiedParams}`\n : `${getProxyPath()}/auth/device-authorization`;\n};\n\n/**\n * @summary Authorize a device\n */\nexport const authorizeDevice = async (\n params: AuthorizeDeviceParams,\n options?: RequestInit,\n): Promise<AuthorizeDevice200> => {\n return customFetch<AuthorizeDevice200>(getAuthorizeDeviceUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getEndSessionUrl = (params?: EndSessionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/auth/end-session?${stringifiedParams}`\n : `${getProxyPath()}/auth/end-session`;\n};\n\n/**\n * @summary End a session\n */\nexport const endSession = async (\n params?: EndSessionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getEndSessionUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getIntrospectUrl = () => {\n return `${getProxyPath()}/auth/introspect`;\n};\n\n/**\n * @summary Introspect a token\n */\nexport const introspect = async (\n introspectBody: IntrospectBody,\n options?: RequestInit,\n): Promise<Introspect200> => {\n const formUrlEncoded = new URLSearchParams();\n formUrlEncoded.append(`token`, introspectBody.token);\n if (introspectBody.token_type_hint !== undefined) {\n formUrlEncoded.append(`token_type_hint`, introspectBody.token_type_hint);\n }\n\n return customFetch<Introspect200>(getIntrospectUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\", ...options?.headers },\n body: formUrlEncoded,\n });\n};\n\nexport const getGetKeysUrl = () => {\n return `${getProxyPath()}/auth/keys`;\n};\n\n/**\n * @summary Get public keys\n */\nexport const getKeys = async (options?: RequestInit): Promise<GetKeys200> => {\n return customFetch<GetKeys200>(getGetKeysUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getRevokeTokenUrl = () => {\n return `${getProxyPath()}/auth/revoke`;\n};\n\n/**\n * @summary Revoke an access token or refresh token\n */\nexport const revokeToken = async (\n revokeTokenBody: RevokeTokenBody,\n options?: RequestInit,\n): Promise<void> => {\n const formUrlEncoded = new URLSearchParams();\n if (revokeTokenBody.token !== undefined) {\n formUrlEncoded.append(`token`, revokeTokenBody.token);\n }\n if (revokeTokenBody.token_type_hint !== undefined) {\n formUrlEncoded.append(`token_type_hint`, revokeTokenBody.token_type_hint);\n }\n\n return customFetch<void>(getRevokeTokenUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\", ...options?.headers },\n body: formUrlEncoded,\n });\n};\n\nexport const getGetTokenUrl = () => {\n return `${getProxyPath()}/auth/token`;\n};\n\n/**\n * @summary Get access token\n */\nexport const getToken = async (\n getTokenBody: GetTokenBody,\n options?: RequestInit,\n): Promise<GetToken200> => {\n const formUrlEncoded = new URLSearchParams();\n if (getTokenBody.code !== undefined) {\n formUrlEncoded.append(`code`, getTokenBody.code);\n }\n if (getTokenBody.client_assertion !== undefined) {\n formUrlEncoded.append(`client_assertion`, getTokenBody.client_assertion);\n }\n if (getTokenBody.client_assertion_type !== undefined) {\n formUrlEncoded.append(`client_assertion_type`, getTokenBody.client_assertion_type);\n }\n if (getTokenBody.client_id !== undefined) {\n formUrlEncoded.append(`client_id`, getTokenBody.client_id);\n }\n if (getTokenBody.client_secret !== undefined) {\n formUrlEncoded.append(`client_secret`, getTokenBody.client_secret);\n }\n if (getTokenBody.code_verifier !== undefined) {\n formUrlEncoded.append(`code_verifier`, getTokenBody.code_verifier);\n }\n if (getTokenBody.grant_type !== undefined) {\n formUrlEncoded.append(`grant_type`, getTokenBody.grant_type);\n }\n if (getTokenBody.redirect_uri !== undefined) {\n formUrlEncoded.append(`redirect_uri`, getTokenBody.redirect_uri);\n }\n\n return customFetch<GetToken200>(getGetTokenUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\", ...options?.headers },\n body: formUrlEncoded,\n });\n};\n\nexport const getGetUserInfoUrl = () => {\n return `${getProxyPath()}/auth/userinfo`;\n};\n\n/**\n * @summary Get user info\n */\nexport const getUserInfo = async (options?: RequestInit): Promise<GetUserInfo200> => {\n return customFetch<GetUserInfo200>(getGetUserInfoUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetHealthUrl = () => {\n return `${getProxyPath()}/healthz`;\n};\n\n/**\n * Check whether the server is healthy\n * @summary Check server health\n */\nexport const getHealth = async (options?: RequestInit): Promise<GetHealthDefault> => {\n return customFetch<GetHealthDefault>(getGetHealthUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetLiveUrl = () => {\n return `${getProxyPath()}/livez`;\n};\n\n/**\n * Check whether the server is started\n * @summary Check server liveness\n */\nexport const getLive = async (options?: RequestInit): Promise<GetLiveDefault> => {\n return customFetch<GetLiveDefault>(getGetLiveUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetReadyUrl = () => {\n return `${getProxyPath()}/readyz`;\n};\n\n/**\n * Check whether the server is ready to accept requests\n * @summary Check server readiness\n */\nexport const getReady = async (options?: RequestInit): Promise<GetReadyDefault> => {\n return customFetch<GetReadyDefault>(getGetReadyUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getCreateUserUrl = (params: CreateUserParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/users?${stringifiedParams}`\n : `${getProxyPath()}/users`;\n};\n\n/**\n * @summary Create user\n */\nexport const createUser = async (\n createUserBody: CreateUserBody,\n params: CreateUserParams,\n options?: RequestInit,\n): Promise<CreateUser201> => {\n return customFetch<CreateUser201>(getCreateUserUrl(params), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createUserBody),\n });\n};\n\nexport const getListUsersUrl = (params?: ListUsersParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/users?${stringifiedParams}`\n : `${getProxyPath()}/users`;\n};\n\n/**\n * @summary List users\n */\nexport const listUsers = async (\n params?: ListUsersParams,\n options?: RequestInit,\n): Promise<ListUsers200Item[]> => {\n return customFetch<ListUsers200Item[]>(getListUsersUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetUserByIDUrl = (userId: string, params: GetUserByIDParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/users/${userId}?${stringifiedParams}`\n : `${getProxyPath()}/users/${userId}`;\n};\n\n/**\n * @summary Get user by ID\n */\nexport const getUserByID = async (\n userId: string,\n params: GetUserByIDParams,\n options?: RequestInit,\n): Promise<GetUserByID200> => {\n return customFetch<GetUserByID200>(getGetUserByIDUrl(userId, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getSetUserPasswordUrl = (userId: string, params: SetUserPasswordParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/users/${userId}/password?${stringifiedParams}`\n : `${getProxyPath()}/users/${userId}/password`;\n};\n\n/**\n * @summary Set user password\n */\nexport const setUserPassword = async (\n userId: string,\n setUserPasswordBody: SetUserPasswordBody,\n params: SetUserPasswordParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getSetUserPasswordUrl(userId, params), {\n ...options,\n method: \"PUT\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(setUserPasswordBody),\n });\n};\n\nexport const getGetMyUserUrl = () => {\n return `${getProxyPath()}/users/me`;\n};\n\n/**\n * @summary Get my user information\n */\nexport const getMyUser = async (options?: RequestInit): Promise<GetMyUser200> => {\n return customFetch<GetMyUser200>(getGetMyUserUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getCreateFlowUrl = () => {\n return `${getProxyPath()}/flow`;\n};\n\n/**\n * Resolves a flow definition based on purpose + audience context and returns\nthe first capability step. Creates a new session implicitly unless\n`session_id` is provided (for step-up / reauth on an existing session).\n\nThe response contains an `id` field — the flow handle. Use it as the path\nparameter for all subsequent `/flow/{id}/submit` and `/flow/{id}/event` calls.\n\nThe response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing\nthe flow's orchestration state (current step, collected data, history).\nThe server is stateless between requests — all flow state lives in this\ncookie. The browser sends it automatically on subsequent requests.\n\n * @summary Start a new flow\n */\nexport const createFlow = async (\n createFlowBody: CreateFlowBody,\n options?: RequestInit,\n): Promise<CreateFlow201> => {\n return customFetch<CreateFlow201>(getCreateFlowUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createFlowBody),\n });\n};\n\nexport const getGetFlowStepUrl = (id: string) => {\n return `${getProxyPath()}/flow/${id}`;\n};\n\n/**\n * Returns the current capability step without advancing the state machine.\nUseful for page reloads or re-rendering after a network error.\n\n * @summary Get current step (re-render)\n */\nexport const getFlowStep = async (id: string, options?: RequestInit): Promise<GetFlowStep200> => {\n return customFetch<GetFlowStep200>(getGetFlowStepUrl(id), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getSubmitFlowStepUrl = (id: string) => {\n return `${getProxyPath()}/flow/${id}/submit`;\n};\n\n/**\n * Submits user input for the current step. The server validates,\nprocesses (e.g., verifies a credential), advances the state machine\nthrough any invisible steps, and returns the next visible step.\n\nThe response sets an updated encrypted `HttpOnly` cookie (`_zflow`)\nwith the new flow state. The server is stateless — all orchestration\nstate is carried in this cookie between requests.\n\n**Important:** The `id` in the response may differ from the `id` used in\nthe request. This happens when a flow pivots (pushes a new flow onto the\nstack) or when a stacked flow completes (auto-pops to the parent flow).\nAlways use the `id` from the latest response for the next request.\n\n## Flow completion\n\nWhen `step.type` is `complete`, the flow is terminal. The `step.behavior`\nfield tells the frontend what to do:\n\n| `behavior` | Action |\n|------------- |------------------------------------------------------------|\n| `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). |\n| `show` | Render the step as a success screen (e.g., registration). |\n\nA `complete` step is only returned when the **entire flow stack** is done.\nIf a stacked flow (e.g., recovery pivoted from login) finishes, the server\nauto-pops to the parent flow and returns the parent's next step — the\nfrontend never sees a `complete` for intermediate flows.\n\n * @summary Submit step data and advance\n */\nexport const submitFlowStep = async (\n id: string,\n submitFlowStepBody: SubmitFlowStepBody,\n options?: RequestInit,\n): Promise<SubmitFlowStep200> => {\n return customFetch<SubmitFlowStep200>(getSubmitFlowStepUrl(id), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(submitFlowStepBody),\n });\n};\n\nexport const getSubmitFlowEventUrl = (id: string) => {\n return `${getProxyPath()}/flow/${id}/event`;\n};\n\n/**\n * Submits telemetry or fingerprint data from the frontend.\nDoes not advance the state machine. Used for risk evaluation.\n\n * @summary Submit client-side event\n */\nexport const submitFlowEvent = async (\n id: string,\n submitFlowEventBody: SubmitFlowEventBody,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getSubmitFlowEventUrl(id), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(submitFlowEventBody),\n });\n};\n\nexport const getCreateAuthAttemptUrl = () => {\n return `${getProxyPath()}/auth_attempts`;\n};\n\n/**\n * Starts a new authentication attempt. This is the entry point for the auth_attempts state machine.\n\nAn attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round.\nIt accepts factor challenges, verifies proofs, and completes into a session or handoff token.\n\nAccepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth,\nalso include session_id to add factors to an existing session.\n\n * @summary Create a new authentication attempt\n */\nexport const createAuthAttempt = async (\n createAuthAttemptBody: CreateAuthAttemptBody,\n options?: RequestInit,\n): Promise<CreateAuthAttempt201> => {\n return customFetch<CreateAuthAttempt201>(getCreateAuthAttemptUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createAuthAttemptBody),\n });\n};\n\nexport const getGetAuthAttemptUrl = (attemptId: string) => {\n return `${getProxyPath()}/auth_attempts/${attemptId}`;\n};\n\n/**\n * Polls the current state of an authentication attempt.\n\nReturns the attempt's state, available factors for the next challenge,\nchallenges issued so far, and any errors preventing progress.\n\nUse this for polling during long-running factor verifications (e.g., waiting for\na federated IdP callback or a device flow).\n\n * @summary Get authentication attempt state\n */\nexport const getAuthAttempt = async (\n attemptId: string,\n options?: RequestInit,\n): Promise<GetAuthAttempt200> => {\n return customFetch<GetAuthAttempt200>(getGetAuthAttemptUrl(attemptId), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getIssueChallengeUrl = (attemptId: string) => {\n return `${getProxyPath()}/auth_attempts/${attemptId}/challenges`;\n};\n\n/**\n * Issues a single-factor verification challenge within an auth attempt.\n\nThis advances the authentication state machine by requesting a specific factor method\n(password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details\nincluding method, metadata, and any UI hints. The client then verifies the proof\nby calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.\n\n * @summary Issue a factor challenge\n */\nexport const issueChallenge = async (\n attemptId: string,\n issueChallengeBody: IssueChallengeBody,\n options?: RequestInit,\n): Promise<IssueChallenge201> => {\n return customFetch<IssueChallenge201>(getIssueChallengeUrl(attemptId), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(issueChallengeBody),\n });\n};\n\nexport const getVerifyChallengeProofUrl = (attemptId: string, challengeId: string) => {\n return `${getProxyPath()}/auth_attempts/${attemptId}/challenges/${challengeId}/verify`;\n};\n\n/**\n * Submits a proof (credential, code, assertion) to verify a factor challenge.\n\nThe proof format depends on the challenge method. For example:\n- `password` method: { password: \"…\" }\n- `totp` method: { totp: { code: \"123456\" } }\n- `passkey` method: { passkey: { assertion: \"…\" } }\n- `recovery_code` method: { recovery_code: \"…\" }\n\nOn successful verification, the factor is written to the auth attempt.\nThe attempt moves to the next pending challenge or completes if all required factors are verified.\n\n * @summary Verify a factor proof\n */\nexport const verifyChallengeProof = async (\n attemptId: string,\n challengeId: string,\n verifyChallengeProofBody: VerifyChallengeProofBody,\n options?: RequestInit,\n): Promise<VerifyChallengeProof200> => {\n return customFetch<VerifyChallengeProof200>(getVerifyChallengeProofUrl(attemptId, challengeId), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(verifyChallengeProofBody),\n });\n};\n\nexport const getCreateHandoffUrl = (attemptId: string) => {\n return `${getProxyPath()}/auth_attempts/${attemptId}/handoff`;\n};\n\n/**\n * Completes the authentication attempt and mints a `handoff_token`.\n\nCall this after all required factors have been verified and the attempt is in `completed` state.\nThe handoff token is short-lived (≤60 seconds) and must be exchanged at\nPOST /sessions/exchange to receive the final session and session_token.\n\nThe handoff token is:\n- Single-use (atomic exchange, no retry)\n- Audience-bound (requires matching project key for exchange)\n- Idempotency-safe within a 5-minute window (see conventions)\n\n * @summary Complete authentication and create handoff token\n */\nexport const createHandoff = async (\n attemptId: string,\n options?: RequestInit,\n): Promise<CreateHandoff200> => {\n return customFetch<CreateHandoff200>(getCreateHandoffUrl(attemptId), {\n ...options,\n method: \"POST\",\n });\n};\n\nexport const getCreateProjectUrl = () => {\n return `${getProxyPath()}/projects`;\n};\n\n/**\n * @summary Create project\n */\nexport const createProject = async (\n createProjectBody: CreateProjectBody,\n options?: RequestInit,\n): Promise<CreateProject201> => {\n return customFetch<CreateProject201>(getCreateProjectUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createProjectBody),\n });\n};\n\nexport const getGetProjectUrl = (projectId: string) => {\n return `${getProxyPath()}/projects/${projectId}`;\n};\n\n/**\n * Returns the current state of a project.\n\n * @summary Get project\n */\nexport const getProject = async (\n projectId: string,\n options?: RequestInit,\n): Promise<GetProject200> => {\n return customFetch<GetProject200>(getGetProjectUrl(projectId), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getCreateSessionUrl = () => {\n return `${getProxyPath()}/sessions`;\n};\n\n/**\n * Creates an anonymous session shell with no user and no factors (`state: building`).\n\nThis is optional — an `auth_attempt` will create a session implicitly if none is provided.\nUse this explicitly when you want to:\n- Pre-allocate a `session_id` before the user is known, so device/telemetry signals\n can be correlated with the eventual authenticated session from the start.\n- Track anonymous state (bot detection, device fingerprint) that survives until authentication.\n\nThe returned `session_token` authorises GET and DELETE on this session.\nIt is superseded when a handoff exchange completes — clients must replace it at that point.\n\nAnonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured\nfull session TTL when the first authentication factor is written via a completing `auth_attempt`.\n\n * @summary Create an anonymous session shell\n */\nexport const createSession = async (\n createSessionBody: CreateSessionBody,\n options?: RequestInit,\n): Promise<CreateSession201> => {\n return customFetch<CreateSession201>(getCreateSessionUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createSessionBody),\n });\n};\n\nexport const getListSessionsUrl = (params: ListSessionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/sessions?${stringifiedParams}`\n : `${getProxyPath()}/sessions`;\n};\n\n/**\n * Returns a paginated list of sessions for a project.\nRequires a project service key (OAuth2 client credentials).\n\n * @summary List sessions\n */\nexport const listSessions = async (\n params: ListSessionsParams,\n options?: RequestInit,\n): Promise<ListSessions200> => {\n return customFetch<ListSessions200>(getListSessionsUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getExchangeHandoffUrl = (params: ExchangeHandoffParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/sessions/exchange?${stringifiedParams}`\n : `${getProxyPath()}/sessions/exchange`;\n};\n\n/**\n * Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff`\nand returns the resulting session and a `session_token`.\n\nThe server resolves the originating `auth_attempt` from the token and then:\n\n| Originating auth_attempt | Outcome |\n|---|---|\n| No `session_id` | A new authenticated session is **created**. |\n| `session_id` points to an anonymous shell | Existing session is **upgraded** — user and factors written in, TTL reset to full session TTL. |\n| `session_id` points to an active session (step-up) | Existing session is **upgraded** — new factors merged, `assurance_levels[]` expanded. |\n\nThe response shape is identical in all three cases.\n\nThe `session_token` supersedes any previously issued `session_token` for the same session.\nClients must replace their stored token at this point.\n\nRequires a project service key (OAuth2 client credentials).\n\n * @summary Exchange handoff token for a session\n */\nexport const exchangeHandoff = async (\n exchangeHandoffBody: ExchangeHandoffBody,\n params: ExchangeHandoffParams,\n options?: RequestInit,\n): Promise<ExchangeHandoff200> => {\n return customFetch<ExchangeHandoff200>(getExchangeHandoffUrl(params), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(exchangeHandoffBody),\n });\n};\n\nexport const getGetSessionUrl = (sessionId: string, params: GetSessionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/sessions/${sessionId}?${stringifiedParams}`\n : `${getProxyPath()}/sessions/${sessionId}`;\n};\n\n/**\n * Returns the current state of a session including its factors and all currently\nsatisfied assurance levels.\n\n`assurance_levels[]` may shrink over time as factor freshness windows expire,\nwithout the session itself expiring. Use step-up authentication (a new `auth_attempt`\nagainst the same `session_id`) to restore a dropped assurance level.\n\n * @summary Get session state\n */\nexport const getSession = async (\n sessionId: string,\n params: GetSessionParams,\n options?: RequestInit,\n): Promise<GetSession200> => {\n return customFetch<GetSession200>(getGetSessionUrl(sessionId, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getRevokeSessionUrl = (sessionId: string, params: RevokeSessionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/sessions/${sessionId}?${stringifiedParams}`\n : `${getProxyPath()}/sessions/${sessionId}`;\n};\n\n/**\n * Revokes the session immediately (`state: revoked`). This is the logout operation.\n\nThe session_token issued at creation (or superseded by a handoff exchange) is required.\nAfter revocation, any tokens derived from this session are invalidated.\n\n * @summary Revoke session\n */\nexport const revokeSession = async (\n sessionId: string,\n params: RevokeSessionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getRevokeSessionUrl(sessionId, params), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getGetMySessionUrl = () => {\n return `${getProxyPath()}/sessions/me`;\n};\n\n/**\n * Returns the current state of the current session including its factors and all currently\nsatisfied assurance levels.\n\n`assurance_levels[]` may shrink over time as factor freshness windows expire,\nwithout the session itself expiring. Use step-up authentication (a new `auth_attempt`\nagainst the same `session_id`) to restore a dropped assurance level.\n\n * @summary Get my session state\n */\nexport const getMySession = async (options?: RequestInit): Promise<GetMySession200> => {\n return customFetch<GetMySession200>(getGetMySessionUrl(), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getRevokeMySessionUrl = () => {\n return `${getProxyPath()}/sessions/me`;\n};\n\n/**\n * Revokes the session immediately (`state: revoked`). This is the logout operation.\n\nThe __nextgen_session cookie issued at creation (or superseded by a handoff exchange) is required.\nAfter revocation, any tokens derived from this session are invalidated including the cookie itself, which is cleared in the response.\n\n * @summary Revoke my session\n */\nexport const revokeMySession = async (options?: RequestInit): Promise<void> => {\n return customFetch<void>(getRevokeMySessionUrl(), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getCreateSchemaUrl = (params: CreateSchemaParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/schemas?${stringifiedParams}`\n : `${getProxyPath()}/schemas`;\n};\n\n/**\n * Create a new schema. The schema definition must include a unique $id field,\nwhich will be used to identify the schema in future requests. The $id must\nbe a valid URI and should ideally point to the location where the schema\ncan be accessed.\n\nThe schema can either be a concrete schema, e.g. a user schema, or a\nschema-url which will be resolved by the server.\n\n * @summary Create new schema\n */\nexport const createSchema = async (\n createSchemaBody: CreateSchemaBody,\n params: CreateSchemaParams,\n options?: RequestInit,\n): Promise<CreateSchema201> => {\n return customFetch<CreateSchema201>(getCreateSchemaUrl(params), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createSchemaBody),\n });\n};\n\nexport const getListSchemasUrl = (params: ListSchemasParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/schemas?${stringifiedParams}`\n : `${getProxyPath()}/schemas`;\n};\n\n/**\n * Retrieve a list of all schemas available in the system. This endpoint\nsupports pagination and filtering based on schema attributes.\n\n * @summary List all schemas\n */\nexport const listSchemas = async (\n params: ListSchemasParams,\n options?: RequestInit,\n): Promise<ListSchemas200Item[]> => {\n return customFetch<ListSchemas200Item[]>(getListSchemasUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetSchemaByIdUrl = (id: string, params: GetSchemaByIdParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/schemas/${id}?${stringifiedParams}`\n : `${getProxyPath()}/schemas/${id}`;\n};\n\n/**\n * Get a schema by its ID. This will return the default revision of the schema.\n * @summary Get schema by ID\n */\nexport const getSchemaById = async (\n id: string,\n params: GetSchemaByIdParams,\n options?: RequestInit,\n): Promise<GetSchemaById200> => {\n return customFetch<GetSchemaById200>(getGetSchemaByIdUrl(id, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getCreateFlowDefinitionUrl = () => {\n return `${getProxyPath()}/flow_definitions`;\n};\n\n/**\n * Creates a new flow definition.\nFlow definitions are templates that define the sequence of steps (capabilities)\nfor a particular user journey (e.g., registration, login, password reset).\n\nFlow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.\n\n * @summary Create a new flow definition\n */\nexport const createFlowDefinition = async (\n createFlowDefinitionBody: CreateFlowDefinitionBody,\n options?: RequestInit,\n): Promise<CreateFlowDefinition201> => {\n return customFetch<CreateFlowDefinition201>(getCreateFlowDefinitionUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createFlowDefinitionBody),\n });\n};\n\nexport const getListFlowDefinitionsUrl = (params: ListFlowDefinitionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions`;\n};\n\n/**\n * Retrieves a list of all flow definitions.\nThis endpoint can be used to view existing flow definitions and their configurations.\n\n * @summary List flow definitions\n */\nexport const listFlowDefinitions = async (\n params: ListFlowDefinitionsParams,\n options?: RequestInit,\n): Promise<ListFlowDefinitions200> => {\n return customFetch<ListFlowDefinitions200>(getListFlowDefinitionsUrl(params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetFlowDefinitionUrl = (id: string, params: GetFlowDefinitionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}`;\n};\n\n/**\n * Get a flow definition by id\n * @summary Get a flow definition by id\n */\nexport const getFlowDefinition = async (\n id: string,\n params: GetFlowDefinitionParams,\n options?: RequestInit,\n): Promise<GetFlowDefinition200> => {\n return customFetch<GetFlowDefinition200>(getGetFlowDefinitionUrl(id, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getUpdateFlowDefinitionUrl = (id: string, params: UpdateFlowDefinitionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}`;\n};\n\n/**\n * Update a flow definition by id. This endpoint replaces the existing flow definition.\nIf `flow_definition.status` is omitted, the current status is preserved\n\n * @summary Update a flow definition by id\n */\nexport const updateFlowDefinition = async (\n id: string,\n updateFlowDefinitionBody: UpdateFlowDefinitionBody,\n params: UpdateFlowDefinitionParams,\n options?: RequestInit,\n): Promise<UpdateFlowDefinition200> => {\n return customFetch<UpdateFlowDefinition200>(getUpdateFlowDefinitionUrl(id, params), {\n ...options,\n method: \"PUT\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(updateFlowDefinitionBody),\n });\n};\n\nexport const getDeleteFlowDefinitionUrl = (id: string, params: DeleteFlowDefinitionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}`;\n};\n\n/**\n * Delete a flow definition by id.\nIf the flow definition is currently being used by a flow, the deletion will fail.\nIf the flow definition is the last active flow definition for a given purpose, the deletion will fail to prevent disruption of new flows being started for that purpose.\n\n * @summary Delete a flow definition by id\n */\nexport const deleteFlowDefinition = async (\n id: string,\n params: DeleteFlowDefinitionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getDeleteFlowDefinitionUrl(id, params), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getActivateFlowDefinitionUrl = (id: string, params: ActivateFlowDefinitionParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}/activate?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}/activate`;\n};\n\n/**\n * Activate a flow definition by transitioning it from a `draft` state to an `active` state.\nAlternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.\n\n * @summary Activate a flow definition by ID.\n */\nexport const activateFlowDefinition = async (\n id: string,\n params: ActivateFlowDefinitionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getActivateFlowDefinitionUrl(id, params), {\n ...options,\n method: \"POST\",\n });\n};\n\nexport const getDeactivateFlowDefinitionUrl = (\n id: string,\n params: DeactivateFlowDefinitionParams,\n) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/flow_definitions/${id}/deactivate?${stringifiedParams}`\n : `${getProxyPath()}/flow_definitions/${id}/deactivate`;\n};\n\n/**\n * Deactivates a flow definition in the `active` state by transitioning it to the `draft` state.\nFlow definitions in `draft` state cannot be used to start new flows. Existing flows that use the deactivated flow definition must gracefully handle this.\nAlternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.\n\n * @summary Deactivate a flow definition by ID.\n */\nexport const deactivateFlowDefinition = async (\n id: string,\n params: DeactivateFlowDefinitionParams,\n options?: RequestInit,\n): Promise<void> => {\n return customFetch<void>(getDeactivateFlowDefinitionUrl(id, params), {\n ...options,\n method: \"POST\",\n });\n};\n\nexport const getCreateTeamUrl = (params: CreateTeamParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/teams?${stringifiedParams}`\n : `${getProxyPath()}/teams`;\n};\n\n/**\n * @summary Create team\n */\nexport const createTeam = async (\n params: CreateTeamParams,\n createTeamBody?: CreateTeamBody,\n options?: RequestInit,\n): Promise<CreateTeam201> => {\n return customFetch<CreateTeam201>(getCreateTeamUrl(params), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\", ...options?.headers },\n body: JSON.stringify(createTeamBody),\n });\n};\n\nexport const getGetTeamUrl = (teamId: string, params: GetTeamParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `${getProxyPath()}/teams/${teamId}?${stringifiedParams}`\n : `${getProxyPath()}/teams/${teamId}`;\n};\n\n/**\n * Returns the current state of a team.\n\n * @summary Get team\n */\nexport const getTeam = async (\n teamId: string,\n params: GetTeamParams,\n options?: RequestInit,\n): Promise<GetTeam200> => {\n return customFetch<GetTeam200>(getGetTeamUrl(teamId, params), {\n ...options,\n method: \"GET\",\n });\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FA,MAAa,qCAAqC;AAChD,QAAO,GAAG,cAAc,CAAC;;;;;;AAO3B,MAAa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C,CAAC,SAAS,CAAC,KAAK,WAAW;AACrD,MAAI,UAAU,KAAA,EACZ,kBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,MAAM,UAAU,CAAC;GAE1E;CAEF,MAAM,oBAAoB,iBAAiB,UAAU;AAErD,QAAO,kBAAkB,SAAS,IAC9B,GAAG,cAAc,CAAC,SAAS,OAAO,GAAG,sBACrC,GAAG,cAAc,CAAC,SAAS;;;;;;;AAQjC,MAAa,UAAU,OACrB,QACA,QACA,YACwB;AACxB,QAAO,YAAwB,cAAc,QAAQ,OAAO,EAAE;EAC5D,GAAG;EACH,QAAQ;EACT,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $s as CreateProject201, Al as AuthorizeDevice200, Ar as GetUserInfo200, Br as GetUserByID200, Ci as GetSchemaById200, Dr as Introspect200, Fn as ListUsers200Item, Gr as GetToken200, Kn as ListSessions200, Li as GetOpenIDConfiguration200, Mo as ExchangeHandoff200, P as UpdateFlowDefinition200, Pi as GetProject200, Sc as CreateFlowDefinition201, St as SubmitFlowStep200, Uc as CreateFlow201, Yi as GetMyUser200, Za as GetFlowDefinition200, fo as GetAuthAttempt200, ha as GetKeys200, hs as CreateUser201, js as CreateSession201, ka as GetFlowStep200, la as GetLiveDefault, li as GetSession200, na as GetMySession200, qs as CreateSchema201, r as VerifyChallengeProof200, rr as ListSchemas200Item, tc as CreateHandoff200, ti as GetTeam200, ul as CreateAuthAttempt201, ur as ListFlowDefinitions200, vr as IssueChallenge201, wi as GetReadyDefault, ws as CreateTeam201, xl as AuthorizeGetDefault, ya as GetHealthDefault } from "../../index-4CTwhwmD.mjs";
|
|
2
2
|
import * as _$msw from "msw";
|
|
3
3
|
import { RequestHandlerOptions, http } from "msw";
|
|
4
4
|
|
|
@@ -29,6 +29,7 @@ declare const getExchangeHandoffResponseMock: (overrideResponse?: Partial<Extrac
|
|
|
29
29
|
declare const getGetSessionResponseMock: (overrideResponse?: Partial<Extract<GetSession200, object>>) => GetSession200;
|
|
30
30
|
declare const getGetMySessionResponseMock: (overrideResponse?: Partial<Extract<GetMySession200, object>>) => GetMySession200;
|
|
31
31
|
declare const getCreateSchemaResponseMock: (overrideResponse?: Partial<Extract<CreateSchema201, object>>) => CreateSchema201;
|
|
32
|
+
declare const getListSchemasResponseMock: () => ListSchemas200Item[];
|
|
32
33
|
declare const getGetSchemaByIdResponseMock: () => GetSchemaById200;
|
|
33
34
|
declare const getCreateFlowDefinitionResponseMock: (overrideResponse?: Partial<Extract<CreateFlowDefinition201, object>>) => CreateFlowDefinition201;
|
|
34
35
|
declare const getListFlowDefinitionsResponseMock: (overrideResponse?: Partial<Extract<ListFlowDefinitions200, object>>) => ListFlowDefinitions200;
|
|
@@ -72,6 +73,7 @@ declare const getRevokeSessionMockHandler: (overrideResponse?: void | ((info: Pa
|
|
|
72
73
|
declare const getGetMySessionMockHandler: (overrideResponse?: GetMySession200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<GetMySession200> | GetMySession200), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
73
74
|
declare const getRevokeMySessionMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
74
75
|
declare const getCreateSchemaMockHandler: (overrideResponse?: CreateSchema201 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CreateSchema201> | CreateSchema201), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
76
|
+
declare const getListSchemasMockHandler: (overrideResponse?: ListSchemas200Item[] | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ListSchemas200Item[]> | ListSchemas200Item[]), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
75
77
|
declare const getGetSchemaByIdMockHandler: (overrideResponse?: GetSchemaById200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<GetSchemaById200> | GetSchemaById200), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
76
78
|
declare const getCreateFlowDefinitionMockHandler: (overrideResponse?: CreateFlowDefinition201 | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<CreateFlowDefinition201> | CreateFlowDefinition201), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
77
79
|
declare const getListFlowDefinitionsMockHandler: (overrideResponse?: ListFlowDefinitions200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ListFlowDefinitions200> | ListFlowDefinitions200), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
@@ -84,5 +86,5 @@ declare const getCreateTeamMockHandler: (overrideResponse?: CreateTeam201 | ((in
|
|
|
84
86
|
declare const getGetTeamMockHandler: (overrideResponse?: GetTeam200 | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<GetTeam200> | GetTeam200), options?: RequestHandlerOptions) => _$msw.HttpHandler;
|
|
85
87
|
declare const getZitadelNextGenMock: () => _$msw.HttpHandler[];
|
|
86
88
|
//#endregion
|
|
87
|
-
export { getActivateFlowDefinitionMockHandler, getAuthorizeDeviceMockHandler, getAuthorizeDeviceResponseMock, getAuthorizeGetMockHandler, getCreateAuthAttemptMockHandler, getCreateAuthAttemptResponseMock, getCreateFlowDefinitionMockHandler, getCreateFlowDefinitionResponseMock, getCreateFlowMockHandler, getCreateFlowResponseMock, getCreateHandoffMockHandler, getCreateHandoffResponseMock, getCreateProjectMockHandler, getCreateProjectResponseMock, getCreateSchemaMockHandler, getCreateSchemaResponseMock, getCreateSessionMockHandler, getCreateSessionResponseMock, getCreateTeamMockHandler, getCreateTeamResponseMock, getCreateUserMockHandler, getCreateUserResponseMock, getDeactivateFlowDefinitionMockHandler, getDeleteFlowDefinitionMockHandler, getEndSessionMockHandler, getExchangeHandoffMockHandler, getExchangeHandoffResponseMock, getGetAuthAttemptMockHandler, getGetAuthAttemptResponseMock, getGetFlowDefinitionMockHandler, getGetFlowDefinitionResponseMock, getGetFlowStepMockHandler, getGetFlowStepResponseMock, getGetHealthMockHandler, getGetKeysMockHandler, getGetKeysResponseMock, getGetLiveMockHandler, getGetMySessionMockHandler, getGetMySessionResponseMock, getGetMyUserMockHandler, getGetMyUserResponseMock, getGetOpenIDConfigurationMockHandler, getGetOpenIDConfigurationResponseMock, getGetProjectMockHandler, getGetProjectResponseMock, getGetReadyMockHandler, getGetSchemaByIdMockHandler, getGetSchemaByIdResponseMock, getGetSessionMockHandler, getGetSessionResponseMock, getGetTeamMockHandler, getGetTeamResponseMock, getGetTokenMockHandler, getGetTokenResponseMock, getGetUserByIDMockHandler, getGetUserByIDResponseMock, getGetUserInfoMockHandler, getGetUserInfoResponseMock, getIntrospectMockHandler, getIntrospectResponseMock, getIssueChallengeMockHandler, getIssueChallengeResponseMock, getListFlowDefinitionsMockHandler, getListFlowDefinitionsResponseMock, getListSessionsMockHandler, getListSessionsResponseMock, getListUsersMockHandler, getListUsersResponseMock, getRevokeMySessionMockHandler, getRevokeSessionMockHandler, getRevokeTokenMockHandler, getSetUserPasswordMockHandler, getSubmitFlowEventMockHandler, getSubmitFlowStepMockHandler, getSubmitFlowStepResponseMock, getUpdateFlowDefinitionMockHandler, getUpdateFlowDefinitionResponseMock, getVerifyChallengeProofMockHandler, getVerifyChallengeProofResponseMock, getZitadelNextGenMock };
|
|
89
|
+
export { getActivateFlowDefinitionMockHandler, getAuthorizeDeviceMockHandler, getAuthorizeDeviceResponseMock, getAuthorizeGetMockHandler, getCreateAuthAttemptMockHandler, getCreateAuthAttemptResponseMock, getCreateFlowDefinitionMockHandler, getCreateFlowDefinitionResponseMock, getCreateFlowMockHandler, getCreateFlowResponseMock, getCreateHandoffMockHandler, getCreateHandoffResponseMock, getCreateProjectMockHandler, getCreateProjectResponseMock, getCreateSchemaMockHandler, getCreateSchemaResponseMock, getCreateSessionMockHandler, getCreateSessionResponseMock, getCreateTeamMockHandler, getCreateTeamResponseMock, getCreateUserMockHandler, getCreateUserResponseMock, getDeactivateFlowDefinitionMockHandler, getDeleteFlowDefinitionMockHandler, getEndSessionMockHandler, getExchangeHandoffMockHandler, getExchangeHandoffResponseMock, getGetAuthAttemptMockHandler, getGetAuthAttemptResponseMock, getGetFlowDefinitionMockHandler, getGetFlowDefinitionResponseMock, getGetFlowStepMockHandler, getGetFlowStepResponseMock, getGetHealthMockHandler, getGetKeysMockHandler, getGetKeysResponseMock, getGetLiveMockHandler, getGetMySessionMockHandler, getGetMySessionResponseMock, getGetMyUserMockHandler, getGetMyUserResponseMock, getGetOpenIDConfigurationMockHandler, getGetOpenIDConfigurationResponseMock, getGetProjectMockHandler, getGetProjectResponseMock, getGetReadyMockHandler, getGetSchemaByIdMockHandler, getGetSchemaByIdResponseMock, getGetSessionMockHandler, getGetSessionResponseMock, getGetTeamMockHandler, getGetTeamResponseMock, getGetTokenMockHandler, getGetTokenResponseMock, getGetUserByIDMockHandler, getGetUserByIDResponseMock, getGetUserInfoMockHandler, getGetUserInfoResponseMock, getIntrospectMockHandler, getIntrospectResponseMock, getIssueChallengeMockHandler, getIssueChallengeResponseMock, getListFlowDefinitionsMockHandler, getListFlowDefinitionsResponseMock, getListSchemasMockHandler, getListSchemasResponseMock, getListSessionsMockHandler, getListSessionsResponseMock, getListUsersMockHandler, getListUsersResponseMock, getRevokeMySessionMockHandler, getRevokeSessionMockHandler, getRevokeTokenMockHandler, getSetUserPasswordMockHandler, getSubmitFlowEventMockHandler, getSubmitFlowStepMockHandler, getSubmitFlowStepResponseMock, getUpdateFlowDefinitionMockHandler, getUpdateFlowDefinitionResponseMock, getVerifyChallengeProofMockHandler, getVerifyChallengeProofResponseMock, getZitadelNextGenMock };
|
|
88
90
|
//# sourceMappingURL=zitadelNextGen.msw.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zitadelNextGen.msw.d.mts","names":[],"sources":["../../../src/generated/endpoints/zitadelNextGen.msw.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"zitadelNext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A,YAAA,IAAA,EAEY,UAAA,CAAW,UAAA,QAAkB,IAAA,CAAK,IAAA,aAAiB,OAAA,4BAC/D,OAAA,GAAU,qBAAA,KAAqB,KAAA,CAAA,WAAA;AAAA,cAepB,wBAAA,GACX,gBAAA,GACI,aAAA,KAEE,IAAA,EAAM,UAAA,CAAW,UAAA,QAAkB,IAAA,CAAK,IAAA,aACrC,OAAA,CAAQ,aAAA,IAAiB,aAAA,GAClC,OAAA,GAAU,qBAAA,KAAqB,KAAA,CAAA,WAAA;AAAA,cAkBpB,qBAAA,GACX,gBAAA,GACI,UAAA,KACE,IAAA,EAAM,UAAA,CAAW,UAAA,QAAkB,IAAA,CAAK,GAAA,aAAgB,OAAA,CAAQ,UAAA,IAAc,UAAA,GACpF,OAAA,GAAU,qBAAA,KAAqB,KAAA,CAAA,WAAA;AAAA,cAiBpB,qBAAA,QAgDZ,KAAA,CAhDiC,WAAA"}
|
|
@@ -498,7 +498,7 @@ const getCreateFlowResponseMock = (overrideResponse = {}) => ({
|
|
|
498
498
|
} })
|
|
499
499
|
})),
|
|
500
500
|
challenge: faker.helpers.arrayElement([{
|
|
501
|
-
method: faker.helpers.arrayElement([faker.helpers.arrayElement(["passkey"]), void 0]),
|
|
501
|
+
method: faker.helpers.arrayElement([faker.helpers.arrayElement(["passkey", "passkey_register"]), void 0]),
|
|
502
502
|
challenge_id: faker.helpers.arrayElement([faker.string.alpha({ length: {
|
|
503
503
|
min: 10,
|
|
504
504
|
max: 20
|
|
@@ -649,7 +649,7 @@ const getGetFlowStepResponseMock = (overrideResponse = {}) => ({
|
|
|
649
649
|
} })
|
|
650
650
|
})),
|
|
651
651
|
challenge: faker.helpers.arrayElement([{
|
|
652
|
-
method: faker.helpers.arrayElement([faker.helpers.arrayElement(["passkey"]), void 0]),
|
|
652
|
+
method: faker.helpers.arrayElement([faker.helpers.arrayElement(["passkey", "passkey_register"]), void 0]),
|
|
653
653
|
challenge_id: faker.helpers.arrayElement([faker.string.alpha({ length: {
|
|
654
654
|
min: 10,
|
|
655
655
|
max: 20
|
|
@@ -800,7 +800,7 @@ const getSubmitFlowStepResponseMock = (overrideResponse = {}) => ({
|
|
|
800
800
|
} })
|
|
801
801
|
})),
|
|
802
802
|
challenge: faker.helpers.arrayElement([{
|
|
803
|
-
method: faker.helpers.arrayElement([faker.helpers.arrayElement(["passkey"]), void 0]),
|
|
803
|
+
method: faker.helpers.arrayElement([faker.helpers.arrayElement(["passkey", "passkey_register"]), void 0]),
|
|
804
804
|
challenge_id: faker.helpers.arrayElement([faker.string.alpha({ length: {
|
|
805
805
|
min: 10,
|
|
806
806
|
max: 20
|
|
@@ -1452,7 +1452,21 @@ const getCreateSchemaResponseMock = (overrideResponse = {}) => ({
|
|
|
1452
1452
|
} }),
|
|
1453
1453
|
...overrideResponse
|
|
1454
1454
|
});
|
|
1455
|
+
const getListSchemasResponseMock = () => Array.from({ length: faker.number.int({
|
|
1456
|
+
min: 1,
|
|
1457
|
+
max: 10
|
|
1458
|
+
}) }, (_, i) => i + 1).map(() => ({
|
|
1459
|
+
id: faker.string.alpha({ length: {
|
|
1460
|
+
min: 10,
|
|
1461
|
+
max: 20
|
|
1462
|
+
} }),
|
|
1463
|
+
createdAt: faker.date.past().toISOString().slice(0, 19) + "Z"
|
|
1464
|
+
}));
|
|
1455
1465
|
const getGetSchemaByIdResponseMock = () => faker.helpers.arrayElement([{
|
|
1466
|
+
objectType: faker.helpers.arrayElement([faker.string.alpha({ length: {
|
|
1467
|
+
min: 10,
|
|
1468
|
+
max: 256
|
|
1469
|
+
} }), void 0]),
|
|
1456
1470
|
kind: "user-schema",
|
|
1457
1471
|
metaSchema: faker.internet.url(),
|
|
1458
1472
|
"x-auth-methods": {
|
|
@@ -1506,11 +1520,13 @@ const getCreateFlowDefinitionResponseMock = (overrideResponse = {}) => ({
|
|
|
1506
1520
|
min: 10,
|
|
1507
1521
|
max: 20
|
|
1508
1522
|
} }),
|
|
1509
|
-
status: faker.helpers.arrayElement(["active", "draft"]),
|
|
1510
1523
|
flow_definition: {
|
|
1511
1524
|
name: faker.helpers.fromRegExp("^[a-z][a-z0-9-]*$"),
|
|
1512
1525
|
status: faker.helpers.arrayElement(["active", "draft"]),
|
|
1513
|
-
user_schema: faker.
|
|
1526
|
+
user_schema: faker.string.alpha({ length: {
|
|
1527
|
+
min: 10,
|
|
1528
|
+
max: 20
|
|
1529
|
+
} }),
|
|
1514
1530
|
purposes: { [faker.string.alphanumeric(5)]: faker.string.alpha({ length: {
|
|
1515
1531
|
min: 10,
|
|
1516
1532
|
max: 20
|
|
@@ -1641,11 +1657,13 @@ const getGetFlowDefinitionResponseMock = (overrideResponse = {}) => ({
|
|
|
1641
1657
|
min: 10,
|
|
1642
1658
|
max: 20
|
|
1643
1659
|
} }),
|
|
1644
|
-
status: faker.helpers.arrayElement(["active", "draft"]),
|
|
1645
1660
|
flow_definition: {
|
|
1646
1661
|
name: faker.helpers.fromRegExp("^[a-z][a-z0-9-]*$"),
|
|
1647
1662
|
status: faker.helpers.arrayElement(["active", "draft"]),
|
|
1648
|
-
user_schema: faker.
|
|
1663
|
+
user_schema: faker.string.alpha({ length: {
|
|
1664
|
+
min: 10,
|
|
1665
|
+
max: 20
|
|
1666
|
+
} }),
|
|
1649
1667
|
purposes: { [faker.string.alphanumeric(5)]: faker.string.alpha({ length: {
|
|
1650
1668
|
min: 10,
|
|
1651
1669
|
max: 20
|
|
@@ -1751,11 +1769,13 @@ const getUpdateFlowDefinitionResponseMock = (overrideResponse = {}) => ({
|
|
|
1751
1769
|
min: 10,
|
|
1752
1770
|
max: 20
|
|
1753
1771
|
} }),
|
|
1754
|
-
status: faker.helpers.arrayElement(["active", "draft"]),
|
|
1755
1772
|
flow_definition: {
|
|
1756
1773
|
name: faker.helpers.fromRegExp("^[a-z][a-z0-9-]*$"),
|
|
1757
1774
|
status: faker.helpers.arrayElement(["active", "draft"]),
|
|
1758
|
-
user_schema: faker.
|
|
1775
|
+
user_schema: faker.string.alpha({ length: {
|
|
1776
|
+
min: 10,
|
|
1777
|
+
max: 20
|
|
1778
|
+
} }),
|
|
1759
1779
|
purposes: { [faker.string.alphanumeric(5)]: faker.string.alpha({ length: {
|
|
1760
1780
|
min: 10,
|
|
1761
1781
|
max: 20
|
|
@@ -2059,6 +2079,11 @@ const getCreateSchemaMockHandler = (overrideResponse, options) => {
|
|
|
2059
2079
|
return HttpResponse.json(overrideResponse !== void 0 ? typeof overrideResponse === "function" ? await overrideResponse(info) : overrideResponse : getCreateSchemaResponseMock(), { status: 201 });
|
|
2060
2080
|
}, options);
|
|
2061
2081
|
};
|
|
2082
|
+
const getListSchemasMockHandler = (overrideResponse, options) => {
|
|
2083
|
+
return http.get("*/schemas", async (info) => {
|
|
2084
|
+
return HttpResponse.json(overrideResponse !== void 0 ? typeof overrideResponse === "function" ? await overrideResponse(info) : overrideResponse : getListSchemasResponseMock(), { status: 200 });
|
|
2085
|
+
}, options);
|
|
2086
|
+
};
|
|
2062
2087
|
const getGetSchemaByIdMockHandler = (overrideResponse, options) => {
|
|
2063
2088
|
return http.get("*/schemas/:id", async (info) => {
|
|
2064
2089
|
return HttpResponse.json(overrideResponse !== void 0 ? typeof overrideResponse === "function" ? await overrideResponse(info) : overrideResponse : getGetSchemaByIdResponseMock(), { status: 200 });
|
|
@@ -2149,6 +2174,7 @@ const getZitadelNextGenMock = () => [
|
|
|
2149
2174
|
getGetMySessionMockHandler(),
|
|
2150
2175
|
getRevokeMySessionMockHandler(),
|
|
2151
2176
|
getCreateSchemaMockHandler(),
|
|
2177
|
+
getListSchemasMockHandler(),
|
|
2152
2178
|
getGetSchemaByIdMockHandler(),
|
|
2153
2179
|
getCreateFlowDefinitionMockHandler(),
|
|
2154
2180
|
getListFlowDefinitionsMockHandler(),
|
|
@@ -2161,6 +2187,6 @@ const getZitadelNextGenMock = () => [
|
|
|
2161
2187
|
getGetTeamMockHandler()
|
|
2162
2188
|
];
|
|
2163
2189
|
//#endregion
|
|
2164
|
-
export { getActivateFlowDefinitionMockHandler, getAuthorizeDeviceMockHandler, getAuthorizeDeviceResponseMock, getAuthorizeGetMockHandler, getCreateAuthAttemptMockHandler, getCreateAuthAttemptResponseMock, getCreateFlowDefinitionMockHandler, getCreateFlowDefinitionResponseMock, getCreateFlowMockHandler, getCreateFlowResponseMock, getCreateHandoffMockHandler, getCreateHandoffResponseMock, getCreateProjectMockHandler, getCreateProjectResponseMock, getCreateSchemaMockHandler, getCreateSchemaResponseMock, getCreateSessionMockHandler, getCreateSessionResponseMock, getCreateTeamMockHandler, getCreateTeamResponseMock, getCreateUserMockHandler, getCreateUserResponseMock, getDeactivateFlowDefinitionMockHandler, getDeleteFlowDefinitionMockHandler, getEndSessionMockHandler, getExchangeHandoffMockHandler, getExchangeHandoffResponseMock, getGetAuthAttemptMockHandler, getGetAuthAttemptResponseMock, getGetFlowDefinitionMockHandler, getGetFlowDefinitionResponseMock, getGetFlowStepMockHandler, getGetFlowStepResponseMock, getGetHealthMockHandler, getGetKeysMockHandler, getGetKeysResponseMock, getGetLiveMockHandler, getGetMySessionMockHandler, getGetMySessionResponseMock, getGetMyUserMockHandler, getGetMyUserResponseMock, getGetOpenIDConfigurationMockHandler, getGetOpenIDConfigurationResponseMock, getGetProjectMockHandler, getGetProjectResponseMock, getGetReadyMockHandler, getGetSchemaByIdMockHandler, getGetSchemaByIdResponseMock, getGetSessionMockHandler, getGetSessionResponseMock, getGetTeamMockHandler, getGetTeamResponseMock, getGetTokenMockHandler, getGetTokenResponseMock, getGetUserByIDMockHandler, getGetUserByIDResponseMock, getGetUserInfoMockHandler, getGetUserInfoResponseMock, getIntrospectMockHandler, getIntrospectResponseMock, getIssueChallengeMockHandler, getIssueChallengeResponseMock, getListFlowDefinitionsMockHandler, getListFlowDefinitionsResponseMock, getListSessionsMockHandler, getListSessionsResponseMock, getListUsersMockHandler, getListUsersResponseMock, getRevokeMySessionMockHandler, getRevokeSessionMockHandler, getRevokeTokenMockHandler, getSetUserPasswordMockHandler, getSubmitFlowEventMockHandler, getSubmitFlowStepMockHandler, getSubmitFlowStepResponseMock, getUpdateFlowDefinitionMockHandler, getUpdateFlowDefinitionResponseMock, getVerifyChallengeProofMockHandler, getVerifyChallengeProofResponseMock, getZitadelNextGenMock };
|
|
2190
|
+
export { getActivateFlowDefinitionMockHandler, getAuthorizeDeviceMockHandler, getAuthorizeDeviceResponseMock, getAuthorizeGetMockHandler, getCreateAuthAttemptMockHandler, getCreateAuthAttemptResponseMock, getCreateFlowDefinitionMockHandler, getCreateFlowDefinitionResponseMock, getCreateFlowMockHandler, getCreateFlowResponseMock, getCreateHandoffMockHandler, getCreateHandoffResponseMock, getCreateProjectMockHandler, getCreateProjectResponseMock, getCreateSchemaMockHandler, getCreateSchemaResponseMock, getCreateSessionMockHandler, getCreateSessionResponseMock, getCreateTeamMockHandler, getCreateTeamResponseMock, getCreateUserMockHandler, getCreateUserResponseMock, getDeactivateFlowDefinitionMockHandler, getDeleteFlowDefinitionMockHandler, getEndSessionMockHandler, getExchangeHandoffMockHandler, getExchangeHandoffResponseMock, getGetAuthAttemptMockHandler, getGetAuthAttemptResponseMock, getGetFlowDefinitionMockHandler, getGetFlowDefinitionResponseMock, getGetFlowStepMockHandler, getGetFlowStepResponseMock, getGetHealthMockHandler, getGetKeysMockHandler, getGetKeysResponseMock, getGetLiveMockHandler, getGetMySessionMockHandler, getGetMySessionResponseMock, getGetMyUserMockHandler, getGetMyUserResponseMock, getGetOpenIDConfigurationMockHandler, getGetOpenIDConfigurationResponseMock, getGetProjectMockHandler, getGetProjectResponseMock, getGetReadyMockHandler, getGetSchemaByIdMockHandler, getGetSchemaByIdResponseMock, getGetSessionMockHandler, getGetSessionResponseMock, getGetTeamMockHandler, getGetTeamResponseMock, getGetTokenMockHandler, getGetTokenResponseMock, getGetUserByIDMockHandler, getGetUserByIDResponseMock, getGetUserInfoMockHandler, getGetUserInfoResponseMock, getIntrospectMockHandler, getIntrospectResponseMock, getIssueChallengeMockHandler, getIssueChallengeResponseMock, getListFlowDefinitionsMockHandler, getListFlowDefinitionsResponseMock, getListSchemasMockHandler, getListSchemasResponseMock, getListSessionsMockHandler, getListSessionsResponseMock, getListUsersMockHandler, getListUsersResponseMock, getRevokeMySessionMockHandler, getRevokeSessionMockHandler, getRevokeTokenMockHandler, getSetUserPasswordMockHandler, getSubmitFlowEventMockHandler, getSubmitFlowStepMockHandler, getSubmitFlowStepResponseMock, getUpdateFlowDefinitionMockHandler, getUpdateFlowDefinitionResponseMock, getVerifyChallengeProofMockHandler, getVerifyChallengeProofResponseMock, getZitadelNextGenMock };
|
|
2165
2191
|
|
|
2166
2192
|
//# sourceMappingURL=zitadelNextGen.msw.mjs.map
|