@zitadel/api 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/{api-factory-BPmRCU7u.mjs → api-factory-ConF3NN2.mjs} +14 -2
  2. package/dist/api-factory-ConF3NN2.mjs.map +1 -0
  3. package/dist/{api-factory-DCzYxpdV.d.mts → api-factory-DOg9w_Du.d.mts} +8 -3
  4. package/dist/api-factory-DOg9w_Du.d.mts.map +1 -0
  5. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  6. package/dist/generated/endpoints/zitadelNextGen.mjs +1 -1
  7. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +225 -109
  8. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +737 -41
  10. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +607 -194
  12. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  13. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +801 -359
  14. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  15. package/dist/generated/model/index.d.mts +2 -2
  16. package/dist/generated/model/index.mjs +17 -3
  17. package/dist/generated/model/index.mjs.map +1 -1
  18. package/dist/generated/operations.d.mts.map +1 -1
  19. package/dist/generated/operations.mjs +46 -4
  20. package/dist/generated/operations.mjs.map +1 -1
  21. package/dist/{index-BwYxe7Dw.d.mts → index-REGtKmAu.d.mts} +1466 -327
  22. package/dist/index-REGtKmAu.d.mts.map +1 -0
  23. package/dist/runtime/api-factory.d.mts +1 -1
  24. package/dist/runtime/api-factory.mjs +1 -1
  25. package/dist/runtime/config.d.mts +1 -1
  26. package/dist/runtime/config.mjs +1 -1
  27. package/dist/{zitadelNextGen-DsPFGqLs.mjs → zitadelNextGen-CVFzR-dx.mjs} +154 -570
  28. package/dist/zitadelNextGen-CVFzR-dx.mjs.map +1 -0
  29. package/dist/{zitadelNextGen-SGK-fW1x.d.mts → zitadelNextGen-tszErftX.d.mts} +78 -32
  30. package/dist/zitadelNextGen-tszErftX.d.mts.map +1 -0
  31. package/package.json +2 -2
  32. package/src/generated/endpoints/zitadelNextGen.faker.ts +14 -10
  33. package/src/generated/endpoints/zitadelNextGen.msw.ts +278 -216
  34. package/src/generated/endpoints/zitadelNextGen.ts +222 -748
  35. package/src/generated/endpoints/zitadelNextGen.zod.ts +687 -324
  36. package/src/generated/model/acceptInvitation200.ts +84 -12
  37. package/src/generated/model/acceptInvitationDefault.ts +18 -0
  38. package/src/generated/model/buildReleaseBodyBundle.ts +1 -2
  39. package/src/generated/model/buildReleaseBodyBundleOauth.ts +1 -2
  40. package/src/generated/model/buildReleaseParams.ts +7 -7
  41. package/src/generated/model/cancelInvitationParams.ts +7 -7
  42. package/src/generated/model/createAuthAttempt201ChallengesItemPayload.ts +1 -1
  43. package/src/generated/model/createAuthAttemptChallenge201Payload.ts +1 -1
  44. package/src/generated/model/createDeploymentParams.ts +7 -7
  45. package/src/generated/model/createGrantParams.ts +7 -7
  46. package/src/generated/model/createInvitation201.ts +84 -12
  47. package/src/generated/model/createInvitationBody.ts +4 -4
  48. package/src/generated/model/createInvitationParams.ts +7 -7
  49. package/src/generated/model/createReleaseParams.ts +7 -7
  50. package/src/generated/model/createTeamParams.ts +7 -7
  51. package/src/generated/model/createUserParams.ts +23 -23
  52. package/src/generated/model/deleteGrantParams.ts +7 -7
  53. package/src/generated/model/deleteVariableParams.ts +12 -12
  54. package/src/generated/model/evaluatePolicyParams.ts +7 -7
  55. package/src/generated/model/exchangeHandoffParams.ts +7 -7
  56. package/src/generated/model/getApplicationParams.ts +7 -7
  57. package/src/generated/model/getAuthAttempt200ChallengesItemPayload.ts +1 -1
  58. package/src/generated/model/getDeploymentParams.ts +7 -7
  59. package/src/generated/model/getEvent200.ts +192 -10
  60. package/src/generated/model/getEventParams.ts +7 -7
  61. package/src/generated/model/getGrantParams.ts +13 -13
  62. package/src/generated/model/getIdpParams.ts +7 -7
  63. package/src/generated/model/getIdpRevisionParams.ts +7 -7
  64. package/src/generated/model/getInvitation200.ts +84 -12
  65. package/src/generated/model/getInvitationParams.ts +7 -7
  66. package/src/generated/model/getMyPasswordStateParams.ts +16 -16
  67. package/src/generated/model/getMySessionCsrfTokenParams.ts +16 -16
  68. package/src/generated/model/getMySessionParams.ts +16 -16
  69. package/src/generated/model/getMyUserParams.ts +16 -16
  70. package/src/generated/model/getMyUserSchemaParams.ts +16 -16
  71. package/src/generated/model/getOAuthSettings200.ts +1 -2
  72. package/src/generated/model/getOAuthSettings200Oauth.ts +1 -2
  73. package/src/generated/model/getOAuthSettingsDefault.ts +18 -0
  74. package/src/generated/model/getPolicyParams.ts +7 -7
  75. package/src/generated/model/getPolicyRevisionParams.ts +7 -7
  76. package/src/generated/model/getProjectClaimStatusParams.ts +5 -5
  77. package/src/generated/model/getProjectClaimWindowParams.ts +5 -5
  78. package/src/generated/model/getReleaseParams.ts +7 -7
  79. package/src/generated/model/getSchemaParams.ts +11 -11
  80. package/src/generated/model/getUserParams.ts +21 -21
  81. package/src/generated/model/getVariableParams.ts +12 -12
  82. package/src/generated/model/index.ts +18 -7
  83. package/src/generated/model/listBrandingParams.ts +20 -20
  84. package/src/generated/model/listDeploymentVariablesParams.ts +7 -7
  85. package/src/generated/model/listDeploymentsParams.ts +42 -44
  86. package/src/generated/model/listEvents200EventsItem.ts +192 -10
  87. package/src/generated/model/listEventsParams.ts +83 -105
  88. package/src/generated/model/listFlowDefinitionsParams.ts +44 -48
  89. package/src/generated/model/listIdpRevisionsParams.ts +20 -20
  90. package/src/generated/model/listInvitations200InvitationsItem.ts +84 -12
  91. package/src/generated/model/listInvitationsExpandItem.ts +25 -0
  92. package/src/generated/model/listInvitationsParams.ts +31 -31
  93. package/src/generated/model/listInvitationsStatusItem.ts +22 -0
  94. package/src/generated/model/listMyIdentityLinksParams.ts +29 -29
  95. package/src/generated/model/listMyPasskeysParams.ts +29 -29
  96. package/src/generated/model/listMyProjectsParams.ts +52 -52
  97. package/src/generated/model/listMyTeamsParams.ts +29 -29
  98. package/src/generated/model/listPoliciesParams.ts +22 -24
  99. package/src/generated/model/listPolicyRevisionsParams.ts +20 -20
  100. package/src/generated/model/listProjectAdminsParams.ts +13 -13
  101. package/src/generated/model/listProjectMembers200.ts +20 -0
  102. package/src/generated/model/listProjectMembers200MembersItem.ts +38 -0
  103. package/src/generated/model/listProjectMembers200MembersItemRelation.ts +20 -0
  104. package/src/generated/model/listProjectMembers200MembersItemSourcesItem.ts +55 -0
  105. package/src/generated/model/listProjectMembers200MembersItemUser.ts +40 -0
  106. package/src/generated/model/{acceptInvitation429.ts → listProjectMembers400.ts} +3 -3
  107. package/src/generated/model/{lookupInvitation429Details.ts → listProjectMembers400Details.ts} +1 -1
  108. package/src/generated/model/{lookupInvitation429.ts → listProjectMembers401.ts} +3 -3
  109. package/src/generated/model/{acceptInvitation429Details.ts → listProjectMembers401Details.ts} +1 -1
  110. package/src/generated/model/{rejectInvitation429.ts → listProjectMembers403.ts} +3 -3
  111. package/src/generated/model/{rejectInvitation429Details.ts → listProjectMembers403Details.ts} +1 -1
  112. package/src/generated/model/listProjectMembers404.ts +20 -0
  113. package/src/generated/model/listProjectMembers404Details.ts +12 -0
  114. package/src/generated/model/listProjectMembersDefault.ts +81 -0
  115. package/src/generated/model/listProjectMembersParams.ts +29 -0
  116. package/src/generated/model/listProjectMembersRelation.ts +16 -0
  117. package/src/generated/model/listProjectPreviewsParams.ts +13 -13
  118. package/src/generated/model/listReleasesParams.ts +60 -60
  119. package/src/generated/model/listSchemasParams.ts +54 -56
  120. package/src/generated/model/listUserIdentityLinksParams.ts +13 -13
  121. package/src/generated/model/listUserPasskeysParams.ts +13 -13
  122. package/src/generated/model/listUserTeamsParams.ts +13 -13
  123. package/src/generated/model/listVariablesParams.ts +12 -12
  124. package/src/generated/model/lookupInvitation200.ts +58 -0
  125. package/src/generated/model/publishApplicationParams.ts +7 -7
  126. package/src/generated/model/publishBrandingParams.ts +7 -7
  127. package/src/generated/model/publishIdpParams.ts +7 -7
  128. package/src/generated/model/publishPolicyParams.ts +7 -7
  129. package/src/generated/model/publishSchemaParams.ts +12 -12
  130. package/src/generated/model/queryGrantsParams.ts +7 -7
  131. package/src/generated/model/queryIdpsParams.ts +7 -7
  132. package/src/generated/model/querySessionsParams.ts +7 -7
  133. package/src/generated/model/queryTeamsParams.ts +6 -6
  134. package/src/generated/model/queryUsersParams.ts +6 -6
  135. package/src/generated/model/rejectInvitation200.ts +84 -12
  136. package/src/generated/model/rejectInvitationDefault.ts +18 -0
  137. package/src/generated/model/revokeMySessionParams.ts +16 -16
  138. package/src/generated/model/revokeReleaseParams.ts +7 -7
  139. package/src/generated/model/rollbackDeploymentParams.ts +7 -7
  140. package/src/generated/model/searchParams.ts +7 -7
  141. package/src/generated/model/setVariablesParams.ts +12 -12
  142. package/src/generated/model/updateMyUserParams.ts +16 -16
  143. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +1 -1
  144. package/src/generated/operations.ts +46 -4
  145. package/src/generated/paging.ts +5 -0
  146. package/dist/api-factory-BPmRCU7u.mjs.map +0 -1
  147. package/dist/api-factory-DCzYxpdV.d.mts.map +0 -1
  148. package/dist/index-BwYxe7Dw.d.mts.map +0 -1
  149. package/dist/zitadelNextGen-DsPFGqLs.mjs.map +0 -1
  150. package/dist/zitadelNextGen-SGK-fW1x.d.mts.map +0 -1
  151. package/src/generated/model/listInvitationsStatus.ts +0 -17
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zitadelNextGen-CVFzR-dx.mjs","names":[],"sources":["../src/generated/endpoints/zitadelNextGen.ts"],"sourcesContent":["/**\n * Generated by orval 🍺\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 {\n getApiBaseUrl\n} from '../../runtime/base-url';\n\nimport type {\n AcceptInvitation200,\n AcceptInvitationBody,\n AddProjectOrigin201,\n AddProjectOriginBody,\n BuildRelease200,\n BuildRelease201,\n BuildReleaseBody,\n BuildReleaseParams,\n CancelInvitationParams,\n CompleteProjectClaim200,\n CompleteProjectClaimBody,\n CompleteUserPasskeyRegistration201,\n CompleteUserPasskeyRegistrationBody,\n CreateAuthAttempt201,\n CreateAuthAttemptBody,\n CreateAuthAttemptChallenge201,\n CreateAuthAttemptChallengeBody,\n CreateAuthAttemptHandoff200,\n CreateDeployment200,\n CreateDeployment201,\n CreateDeploymentBody,\n CreateDeploymentParams,\n CreateFlow201,\n CreateFlowBody,\n CreateGrant201,\n CreateGrantBody,\n CreateGrantParams,\n CreateInvitation201,\n CreateInvitationBody,\n CreateInvitationParams,\n CreateProject201,\n CreateProjectBody,\n CreateProjectClaim201,\n CreateRelease200,\n CreateRelease201,\n CreateReleaseBody,\n CreateReleaseParams,\n CreateSession201,\n CreateSessionBody,\n CreateTeam201,\n CreateTeamBody,\n CreateTeamParams,\n CreateUser201,\n CreateUserBody,\n CreateUserParams,\n CreateUserPasskeyRegistration201,\n CreateUserPasskeyRegistrationBody,\n DeleteGrantParams,\n DeleteVariableParams,\n EvaluatePolicy200,\n EvaluatePolicyBody,\n EvaluatePolicyParams,\n ExchangeHandoff200,\n ExchangeHandoffBody,\n ExchangeHandoffParams,\n GetApplication200,\n GetApplicationParams,\n GetAuthAttempt200,\n GetBranding200,\n GetDeployment200,\n GetDeploymentParams,\n GetEvent200,\n GetEventParams,\n GetFlowDefinition200,\n GetFlowStep200,\n GetGrant200,\n GetGrantParams,\n GetIdp200,\n GetIdpParams,\n GetIdpRevision200,\n GetIdpRevisionParams,\n GetInvitation200,\n GetInvitationParams,\n GetLiveDefault,\n GetMyPasswordState200,\n GetMyPasswordStateParams,\n GetMySession200,\n GetMySessionCsrfToken200,\n GetMySessionCsrfTokenParams,\n GetMySessionParams,\n GetMyUser200,\n GetMyUserParams,\n GetMyUserSchema200,\n GetMyUserSchemaParams,\n GetOAuthSettings200,\n GetPolicy200,\n GetPolicyParams,\n GetPolicyRevision200,\n GetPolicyRevisionParams,\n GetProject200,\n GetProjectClaimStatus200,\n GetProjectClaimStatusParams,\n GetProjectClaimWindow200,\n GetProjectClaimWindowParams,\n GetReadyDefault,\n GetRelease200,\n GetReleaseParams,\n GetSchema200,\n GetSchemaParams,\n GetSession200,\n GetTeam200,\n GetUser200,\n GetUserParams,\n GetUserPasswordState200,\n GetVariable200,\n GetVariableParams,\n ListBranding200,\n ListBrandingParams,\n ListDeploymentVariables200,\n ListDeploymentVariablesParams,\n ListDeployments200,\n ListDeploymentsParams,\n ListEvents200,\n ListEventsParams,\n ListFlowDefinitions200,\n ListFlowDefinitionsParams,\n ListIdpRevisions200,\n ListIdpRevisionsParams,\n ListInvitations200,\n ListInvitationsParams,\n ListMyIdentityLinks200,\n ListMyIdentityLinksParams,\n ListMyPasskeys200,\n ListMyPasskeysParams,\n ListMyProjects200,\n ListMyProjectsParams,\n ListMyTeams200,\n ListMyTeamsParams,\n ListPolicies200,\n ListPoliciesParams,\n ListPolicyRevisions200,\n ListPolicyRevisionsParams,\n ListProjectAdmins200,\n ListProjectAdminsParams,\n ListProjectMembers200,\n ListProjectMembersParams,\n ListProjectPreviews200,\n ListProjectPreviewsParams,\n ListReleases200,\n ListReleasesParams,\n ListSchemas200,\n ListSchemasParams,\n ListUserIdentityLinks200,\n ListUserIdentityLinksParams,\n ListUserPasskeys200,\n ListUserPasskeysParams,\n ListUserTeams200,\n ListUserTeamsParams,\n ListVariables200,\n ListVariablesParams,\n LookupInvitation200,\n LookupInvitationBody,\n PublishApplication200,\n PublishApplication201,\n PublishApplicationBody,\n PublishApplicationParams,\n PublishBranding201,\n PublishBrandingBody,\n PublishBrandingParams,\n PublishFlowDefinition201,\n PublishFlowDefinitionBody,\n PublishIdp200,\n PublishIdp201,\n PublishIdpBody,\n PublishIdpParams,\n PublishPolicy201,\n PublishPolicyBody,\n PublishPolicyParams,\n PublishSchema201,\n PublishSchemaBody,\n PublishSchemaParams,\n QueryGrants200,\n QueryGrantsBody,\n QueryGrantsParams,\n QueryIdps200,\n QueryIdpsBody,\n QueryIdpsParams,\n QueryProjects200,\n QueryProjectsBody,\n QuerySessions200,\n QuerySessionsBody,\n QuerySessionsParams,\n QueryTeams200,\n QueryTeamsBody,\n QueryTeamsParams,\n QueryUsers200,\n QueryUsersBody,\n QueryUsersParams,\n RejectInvitation200,\n RejectInvitationBody,\n RemoveProjectOriginBody,\n RemoveProjectPreviewBody,\n RevokeMySessionParams,\n RevokeRelease200,\n RevokeReleaseParams,\n RollbackDeployment200,\n RollbackDeployment201,\n RollbackDeploymentBody,\n RollbackDeploymentParams,\n Search200,\n SearchBody,\n SearchParams,\n SetUserPasswordBody,\n SetVariables200,\n SetVariablesBody,\n SetVariablesParams,\n SubmitFlowStep200,\n SubmitFlowStepBody,\n UpdateMyUser200,\n UpdateMyUserBody,\n UpdateMyUserParams,\n UpdateProject200,\n UpdateProjectBody,\n UpdateTeam200,\n UpdateTeamBody,\n UpdateUser200,\n UpdateUserBody,\n VerifyAuthAttemptChallenge200,\n VerifyAuthAttemptChallengeBody\n} from '../model';\n\nimport { customFetch } from '../../runtime/fetch.ts';\n\nconst getHeaders = (...sources: (RequestInit['headers'] | Record<string, string | undefined>)[]) => {\n const seen = new Set<string>();\n const layers: [string, string | readonly string[]][][] = [];\n for (const source of sources.reverse()) {\n if (!source) continue;\n const entries = source instanceof Headers\n ? source.entries()\n : Symbol.iterator in source\n ? Array.from(source as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string])\n : Object.entries<string | readonly string[] | undefined>(source);\n const layer: [string, string | readonly string[]][] = [];\n for (const [name, value] of entries) {\n if (value !== undefined && !seen.has(name.toLowerCase())) layer.push([name, value]);\n }\n for (const [name] of layer) seen.add(name.toLowerCase());\n layers.push(layer);\n }\n return Object.fromEntries(layers.reverse().flat()) as Extract<RequestInit['headers'], Record<string, unknown>>;\n};\n\nexport const getGetLiveUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/livez`\n}\n\n/**\n * Answers `ok` while the server process serves HTTP, and checks nothing\n * behind it.\n *\n * A liveness probe tells an orchestrator such as Kubernetes whether to\n * restart the process. Point it at `/livez` at the root, where the probes\n * stay, not under `/api/v1`. It never checks the database, so an outage of\n * the database does not restart every instance. `GET /readyz` takes an\n * instance out of rotation instead.\n * @summary Check the server's liveness\n */\nexport const getLive = async ( options?: Parameters<typeof customFetch>[1]): Promise<GetLiveDefault> => {\n\n return customFetch<GetLiveDefault>(getGetLiveUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetReadyUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/readyz`\n}\n\n/**\n * Answers `ok` when the server can serve requests, which takes its database\n * answering within a second, and `fail` with `503` otherwise.\n *\n * A readiness probe tells an orchestrator such as Kubernetes whether to send\n * the instance requests. Point it at `/readyz` at the root, where the probes\n * stay, not under `/api/v1`, so that a server whose database does not answer\n * gets no requests until it does. The check is one round trip to the\n * database.\n * @summary Check the server's readiness\n */\nexport const getReady = async ( options?: Parameters<typeof customFetch>[1]): Promise<GetReadyDefault> => {\n\n return customFetch<GetReadyDefault>(getGetReadyUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCreateUserUrl = (params: CreateUserParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users?${stringifiedParams}` : `${getApiBaseUrl()}/users`\n}\n\n/**\n * Creates a user whose attributes satisfy the user schema named in the request.\n *\n * The server assigns the user's ID and returns it. `schema` is the `id` of a\n * schema, as `publishSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it. With\n * `team_id`, the user also becomes an active member of that team. A value the\n * schema marks unique that another user already holds is refused with `409`;\n * send a different value.\n * @summary Create a user\n */\nexport const createUser = async (createUserBody: CreateUserBody,\n params: CreateUserParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateUser201> => {\n\n return customFetch<CreateUser201>(getCreateUserUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createUserBody)\n }\n);}\n\n\n\nexport const getQueryUsersUrl = (params?: QueryUsersParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/query?${stringifiedParams}` : `${getApiBaseUrl()}/users/query`\n}\n\n/**\n * Returns the users of a project, paginated with a cursor.\n *\n * `project_id` names the project to list; without it, the credential's own\n * project is listed.\n *\n * Accepts either a project secret (`oauth2`) or a user-bound console\n * session cookie (`sessionCookie`). Cookie-authenticated requests\n * follow the scheme's CSRF rules (`sessionCookie`).\n *\n * With a project secret, embedding `teams` with `expand`, or filtering by\n * `team_id`, also needs `team_membership.read`. Embedding\n * `lifecycle_owner_team` needs `team.read`. A console session carries no\n * scopes: it may do both when it may read the whole project, and gets\n * `403 user.permission_denied` otherwise.\n * @summary Query users\n */\nexport const queryUsers = async (queryUsersBody: QueryUsersBody,\n params?: QueryUsersParams, options?: Parameters<typeof customFetch>[1]): Promise<QueryUsers200> => {\n\n return customFetch<QueryUsers200>(getQueryUsersUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(queryUsersBody)\n }\n);}\n\n\n\nexport const getGetUserUrl = (userId: string,\n params?: GetUserParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}?${stringifiedParams}` : `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}`\n}\n\n/**\n * Returns a user by ID, with the attributes its schema defines.\n *\n * With `team_id`, the user is returned only while they are an active member\n * of that team.\n * @summary Get a user by ID\n */\nexport const getUser = async (userId: string,\n params?: GetUserParams, options?: Parameters<typeof customFetch>[1]): Promise<GetUser200> => {\n\n return customFetch<GetUser200>(getGetUserUrl(userId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getUpdateUserUrl = (userId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}`\n}\n\n/**\n * Partially updates a user's schema-defined attributes, and optionally\n * moves the user to another registered schema. The merged result is\n * validated against the schema before commit. Concurrent writes are\n * last-write-wins.\n *\n * To move the user, send `schema` with the `id` of a registered schema, as\n * `publishSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it.\n *\n * To ask whether a patch would succeed, send it with `\"dry_run\": true`. It takes\n * the same permission and answers the same status and `details` as the real\n * request, and it changes nothing and emits no `user.updated`. The request\n * itself is still recorded as `request.api`, like any other API call. A `200`\n * holds for the moment of the check: a unique value that is free then can be\n * taken before the real request, which then answers `409`.\n *\n * `dry_run` is a body field so that a server from before it refuses the\n * request as malformed (`400 req.invalid`) instead of applying the patch.\n * @summary Update a user by ID\n */\nexport const updateUser = async (userId: string,\n updateUserBody: UpdateUserBody, options?: Parameters<typeof customFetch>[1]): Promise<UpdateUser200> => {\n\n return customFetch<UpdateUser200>(getUpdateUserUrl(userId),\n {\n ...options,\n method: 'PATCH',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(updateUserBody)\n }\n);}\n\n\n\nexport const getDeleteUserUrl = (userId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}`\n}\n\n/**\n * Deletes a user, removes them from every team they belong to, and revokes\n * every grant they hold, on any project.\n *\n * The user is removed, not deactivated, and the deletion emits `user.deleted`,\n * plus `authz.revoked` for each grant on that grant's project.\n * With a project secret the request is idempotent: deleting a user that exists\n * in no project succeeds without changing anything. Deleting the last active\n * member of a project's owning team returns 409 `proj.last_owner` and changes\n * nothing.\n * @summary Delete a user by ID\n */\nexport const deleteUser = async (userId: string, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getDeleteUserUrl(userId),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\n\nexport const getListUserIdentityLinksUrl = (userId: string,\n params?: ListUserIdentityLinksParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/identity_links?${stringifiedParams}` : `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/identity_links`\n}\n\n/**\n * Lists the identity provider accounts a sign-in linked to the user, oldest\n * first. The provider's subject and claims, the data it asserts about the\n * account, are never returned.\n * @summary List the provider accounts linked to a user\n */\nexport const listUserIdentityLinks = async (userId: string,\n params?: ListUserIdentityLinksParams, options?: Parameters<typeof customFetch>[1]): Promise<ListUserIdentityLinks200> => {\n\n return customFetch<ListUserIdentityLinks200>(getListUserIdentityLinksUrl(userId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListUserPasskeysUrl = (userId: string,\n params?: ListUserPasskeysParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/passkeys?${stringifiedParams}` : `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/passkeys`\n}\n\n/**\n * Lists the passkeys registered for a user, newest first, paginated with a\n * cursor. A passkey is a WebAuthn credential that signs a user in without a\n * password.\n *\n * Each passkey carries its ID, its name and when it was registered, never the\n * credential itself.\n * @summary List a user's passkeys\n */\nexport const listUserPasskeys = async (userId: string,\n params?: ListUserPasskeysParams, options?: Parameters<typeof customFetch>[1]): Promise<ListUserPasskeys200> => {\n\n return customFetch<ListUserPasskeys200>(getListUserPasskeysUrl(userId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCreateUserPasskeyRegistrationUrl = (userId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/passkeys/registrations`\n}\n\n/**\n * Starts a WebAuthn registration ceremony for the user and returns the\n * creation options for `navigator.credentials.create()`. A passkey is\n * registered in two steps: this one returns options for the browser, and\n * `completeUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations/{registration_id}`) verifies the browser's answer.\n *\n * Complete the ceremony with\n * `POST /users/{user_id}/passkeys/registrations/{registration_id}` within five\n * minutes, using the `registration_id` this response returns. Credentials\n * already registered for the user are excluded automatically.\n * @summary Begin a passkey registration\n */\nexport const createUserPasskeyRegistration = async (userId: string,\n createUserPasskeyRegistrationBody: CreateUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateUserPasskeyRegistration201> => {\n\n return customFetch<CreateUserPasskeyRegistration201>(getCreateUserPasskeyRegistrationUrl(userId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createUserPasskeyRegistrationBody)\n }\n);}\n\n\n\nexport const getCompleteUserPasskeyRegistrationUrl = (userId: string,\n registrationId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/passkeys/registrations/${encodeURIComponent(String(registrationId))}`\n}\n\n/**\n * Verifies the attestation against the registration ceremony and stores\n * the new passkey for the user. `registration_id` is the one that\n * `createUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations`)\n * returned when it started the ceremony. The attestation is\n * the browser's answer from `navigator.credentials.create()`.\n *\n * A rejected attestation leaves the ceremony open for a retry. An expired ceremony answers\n * `att.stale_challenge`: begin a new registration. An unknown or\n * already-consumed registration ID answers `att.not_found`.\n * @summary Finish a passkey registration\n */\nexport const completeUserPasskeyRegistration = async (userId: string,\n registrationId: string,\n completeUserPasskeyRegistrationBody: CompleteUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]): Promise<CompleteUserPasskeyRegistration201> => {\n\n return customFetch<CompleteUserPasskeyRegistration201>(getCompleteUserPasskeyRegistrationUrl(userId,registrationId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(completeUserPasskeyRegistrationBody)\n }\n);}\n\n\n\nexport const getGetUserPasswordStateUrl = (userId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/password`\n}\n\n/**\n * Returns when the user's current password was set, and leaves `set_at` out\n * when the user has none. The password and its hash are never returned;\n * `setUserPassword` (`PUT` on the same path) sets one.\n * @summary Get a user's password state\n */\nexport const getUserPasswordState = async (userId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetUserPasswordState200> => {\n\n return customFetch<GetUserPasswordState200>(getGetUserPasswordStateUrl(userId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getSetUserPasswordUrl = (userId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/password`\n}\n\n/**\n * Sets a user's password, hashed with the project's current password hashing\n * policy.\n *\n * The new password replaces the current one, and setting it emits\n * `auth.factor.password.set`. A password the project's password policy\n * refuses answers `user.password_policy_violation`; send one that meets the\n * policy.\n *\n * The password policy is the one in the release that serves the caller's\n * `Origin`, chosen as `createFlow` (`POST /flows`) chooses it. A frontend on a\n * preview URL gets that preview's policy, and one on a primary origin the\n * newest primary deployment's. A request with no `Origin`, or from the\n * console when the project does not list the console's origin, gets the\n * project's newest primary deployment.\n *\n * If the request is refused:\n * - `403 proj.origin_not_allowed`: the project admits no such origin. Add it\n * with `zitadel origin add`.\n * - `403 proj.preview_not_live`: the origin matches a preview pattern but has\n * no live preview. Run `zitadel preview` on the branch.\n * - `409 rel.not_deployed`: nothing is deployed to the origin. Run\n * `zitadel deploy`.\n * - `409 rel.no_default`: the request names no origin and the project has no\n * primary deployment. Run `zitadel deploy`.\n * - `409 rel.revoked`: the release that serves the origin is revoked.\n * @summary Set a user's password\n */\nexport const setUserPassword = async (userId: string,\n setUserPasswordBody: SetUserPasswordBody, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getSetUserPasswordUrl(userId),\n {\n ...options,\n method: 'PUT',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(setUserPasswordBody)\n }\n);}\n\n\n\nexport const getListUserTeamsUrl = (userId: string,\n params?: ListUserTeamsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/teams?${stringifiedParams}` : `${getApiBaseUrl()}/users/${encodeURIComponent(String(userId))}/teams`\n}\n\n/**\n * Lists the teams a user belongs to, ordered by team name. Each entry carries\n * the team's name, so a client renders a page without resolving IDs one by\n * one.\n *\n * This is the user's team memberships, not lifecycle ownership: the single\n * team that owns the user's lifecycle is reported as\n * `metadata.lifecycle_owner_team_id` on the user read endpoints. Memberships\n * the user was removed from are not returned.\n * @summary List the teams a user belongs to\n */\nexport const listUserTeams = async (userId: string,\n params?: ListUserTeamsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListUserTeams200> => {\n\n return customFetch<ListUserTeams200>(getListUserTeamsUrl(userId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetMyUserUrl = (params?: GetMyUserParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/me?${stringifiedParams}` : `${getApiBaseUrl()}/users/me`\n}\n\n/**\n * Returns the user signed in to the session that authenticates the request.\n *\n * The project and the user both come from the session cookie, so a caller only\n * ever reads their own user.\n *\n * With `project_id`, the user is returned only when the session belongs to\n * that project.\n * @summary Get my user information\n */\nexport const getMyUser = async (params?: GetMyUserParams, options?: Parameters<typeof customFetch>[1]): Promise<GetMyUser200> => {\n\n return customFetch<GetMyUser200>(getGetMyUserUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getUpdateMyUserUrl = (params?: UpdateMyUserParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/me?${stringifiedParams}` : `${getApiBaseUrl()}/users/me`\n}\n\n/**\n * Partially updates the caller's own schema-defined attributes. The merged\n * result is validated against the user's schema before commit. Concurrent\n * writes are last-write-wins.\n *\n * With `project_id`, the user is updated only when the session belongs to\n * that project.\n * @summary Update my user information\n */\nexport const updateMyUser = async (updateMyUserBody: UpdateMyUserBody,\n params?: UpdateMyUserParams, options?: Parameters<typeof customFetch>[1]): Promise<UpdateMyUser200> => {\n\n return customFetch<UpdateMyUser200>(getUpdateMyUserUrl(params),\n {\n ...options,\n method: 'PATCH',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(updateMyUserBody)\n }\n);}\n\n\n\nexport const getListMyIdentityLinksUrl = (params?: ListMyIdentityLinksParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/me/identity_links?${stringifiedParams}` : `${getApiBaseUrl()}/users/me/identity_links`\n}\n\n/**\n * Lists the identity provider accounts a sign-in linked to the signed-in user,\n * oldest first. The provider's subject and claims, the data it asserts about\n * the account, are never returned.\n *\n * With `project_id`, the links are listed only when the session belongs to\n * that project.\n * @summary List the provider accounts linked to me\n */\nexport const listMyIdentityLinks = async (params?: ListMyIdentityLinksParams, options?: Parameters<typeof customFetch>[1]): Promise<ListMyIdentityLinks200> => {\n\n return customFetch<ListMyIdentityLinks200>(getListMyIdentityLinksUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListMyPasskeysUrl = (params?: ListMyPasskeysParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/me/passkeys?${stringifiedParams}` : `${getApiBaseUrl()}/users/me/passkeys`\n}\n\n/**\n * Lists the signed-in user's own passkeys, newest first, paginated with a\n * cursor. A passkey is a WebAuthn credential that signs a user in without a\n * password. Each passkey carries its ID, its name and when it was registered,\n * never the credential itself.\n *\n * With `project_id`, the passkeys are listed only when the session belongs to\n * that project.\n * @summary List my passkeys\n */\nexport const listMyPasskeys = async (params?: ListMyPasskeysParams, options?: Parameters<typeof customFetch>[1]): Promise<ListMyPasskeys200> => {\n\n return customFetch<ListMyPasskeys200>(getListMyPasskeysUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetMyPasswordStateUrl = (params?: GetMyPasswordStateParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/me/password?${stringifiedParams}` : `${getApiBaseUrl()}/users/me/password`\n}\n\n/**\n * Returns when the signed-in user's current password was set, and leaves\n * `set_at` out when they have none. The password and its hash are never\n * returned.\n *\n * With `project_id`, the state is read only when the session belongs to that\n * project.\n * @summary Get my password state\n */\nexport const getMyPasswordState = async (params?: GetMyPasswordStateParams, options?: Parameters<typeof customFetch>[1]): Promise<GetMyPasswordState200> => {\n\n return customFetch<GetMyPasswordState200>(getGetMyPasswordStateUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListMyProjectsUrl = (params?: ListMyProjectsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/me/projects?${stringifiedParams}` : `${getApiBaseUrl()}/users/me/projects`\n}\n\n/**\n * Lists the projects the signed-in user can act on: those they hold an active\n * grant on, either directly or through a team they are a member of. For a\n * platform operator, someone who runs the deployment, that is every project of\n * the deployment. Ordered by project ID unless `order` asks for creation\n * time, and paged with an opaque cursor.\n *\n * This is not the same question as `queryProjects` (`POST /projects/query`), which answers with the one\n * project the calling credential is bound to. Here the session is the caller\n * and the grants are the answer, so the list spans projects.\n *\n * With `name_contains`, only the projects whose name contains that text are\n * listed. The search runs on the server together with the grants, so it\n * reaches every project the user can act on, however many there are, and\n * pages like the full list.\n *\n * With `project_id`, the projects are listed only when the session belongs to\n * that project. It names the project the session was signed in to, not one to\n * list.\n *\n * With `exclude_platform`, the deployment's reserved platform project is left\n * out: the project the console signs in to, which holds the console's\n * accounts rather than an application's users. A deployment without one lists\n * the same projects either way.\n * @summary List the projects I can act on\n */\nexport const listMyProjects = async (params?: ListMyProjectsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListMyProjects200> => {\n\n return customFetch<ListMyProjects200>(getListMyProjectsUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetMyUserSchemaUrl = (params?: GetMyUserSchemaParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/me/schema?${stringifiedParams}` : `${getApiBaseUrl()}/users/me/schema`\n}\n\n/**\n * Returns the schema that validates the signed-in user's own record.\n *\n * With `project_id`, the schema is returned only when the session belongs to\n * that project.\n * @summary Get my user schema\n */\nexport const getMyUserSchema = async (params?: GetMyUserSchemaParams, options?: Parameters<typeof customFetch>[1]): Promise<GetMyUserSchema200> => {\n\n return customFetch<GetMyUserSchema200>(getGetMyUserSchemaUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListMyTeamsUrl = (params?: ListMyTeamsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/users/me/teams?${stringifiedParams}` : `${getApiBaseUrl()}/users/me/teams`\n}\n\n/**\n * Lists the teams the signed-in user belongs to, ordered by team name.\n *\n * With `project_id`, the teams are listed only when the session belongs to\n * that project.\n * @summary List the teams I belong to\n */\nexport const listMyTeams = async (params?: ListMyTeamsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListMyTeams200> => {\n\n return customFetch<ListMyTeams200>(getListMyTeamsUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCreateFlowUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/flows`\n}\n\n/**\n * Starts a flow: resolves a flow definition from the request's purpose and\n * audience, and returns the first step.\n *\n * The flow endpoints are the runtime calls the login component\n * (`<zitadel-login>`) makes, step by step. It starts a flow here, renders the\n * step it gets back, and submits the user's input with `submitFlowStep` (`POST /flows/{flow_id}/submit`) to\n * get the next step. This call creates a new session implicitly, unless\n * `session_id` is provided together with that session's `session_token`\n * (for step-up or reauthentication on an existing session).\n *\n * The browser `Origin` header selects which deployment serves this attempt.\n * The server checks the origin against the project's origin patterns and live\n * previews, and the deployment that origin serves is the target: the\n * project's newest primary deployment when it names a primary origin, or the\n * newest live deployment to a preview URL. A\n * deployment is a release, the immutable bundle of the project's\n * configuration, made live at an origin. The deployment's release supplies\n * flow definitions, user schemas and branding. The resolved deployment is\n * sealed into the `_zflow` cookie so later steps keep the same\n * configuration.\n *\n * - An origin that matches no pattern answers `403` with\n * `proj.origin_not_allowed`, including when the project lists no origins.\n * Add the origin with `zitadel origin add`.\n * - An origin that matches a preview pattern with no live preview answers\n * `403` with `proj.preview_not_live`. Run `zitadel preview` on the branch.\n * - Nothing deployed to a listed origin or a live preview answers `409`\n * with `rel.not_deployed`. Run `zitadel deploy`: a primary origin added\n * since the last deploy serves nothing until the next one.\n * - A loopback origin the project does not list answers `409` with\n * `rel.not_deployed` too, as no deployment can name it. Add it with\n * `zitadel origin add <origin> --kind primary`, then run `zitadel deploy`.\n * - A revoked release answers `409` with `rel.revoked`.\n *\n * A request with no `Origin` passes the check, and so does the server's own\n * origin, from which its console previews a project's login. Both are served\n * the project's newest primary deployment unless the project lists that\n * origin; with no primary deployment they answer `409` with\n * `rel.no_default`. A loopback origin passes the check and is its own\n * target. A step submitted from the server's own origin is still refused\n * unless the project lists it.\n *\n * The response contains an `id` field, the flow handle. Use it as the path\n * parameter for all subsequent `/flows/{flow_id}/submit` calls.\n *\n * The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing\n * the flow's orchestration state (current step, collected data, history).\n * The server is stateless between requests: all flow state lives in this\n * cookie. The browser sends it automatically on subsequent requests.\n * @summary Start a flow\n */\nexport const createFlow = async (createFlowBody: CreateFlowBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateFlow201> => {\n\n return customFetch<CreateFlow201>(getCreateFlowUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createFlowBody)\n }\n);}\n\n\n\nexport const getGetFlowStepUrl = (flowId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/flows/${encodeURIComponent(String(flowId))}`\n}\n\n/**\n * Returns the current step of a flow without advancing it. Use it to render\n * the step again after a page reload or a network error.\n *\n * The flow endpoints are the runtime calls the login component\n * (`<zitadel-login>`) makes, step by step. `createFlow` (`POST /flows`) starts a flow, and\n * `submitFlowStep` (`POST /flows/{flow_id}/submit`) advances it.\n *\n * For a sign-up step, prepares `step.gates.signup_pow.challenge`: one that\n * creates its user on submit, or one carrying a passkey registration that\n * creates its user.\n * Reuses challenges with more than a minute remaining; otherwise issues a\n * new one. If this render resolves parked SSO state, it first returns the\n * updated cookie; fetch the step again to obtain its puzzle.\n *\n * Reuses the deployment sealed into `_zflow` at `createFlow`; it does not\n * re-resolve from `Origin`. If that release was revoked since the attempt\n * started, the response is `409` with `rel.revoked`.\n * @summary Get the current step of a flow\n */\nexport const getFlowStep = async (flowId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetFlowStep200> => {\n\n return customFetch<GetFlowStep200>(getGetFlowStepUrl(flowId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getSubmitFlowStepUrl = (flowId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/flows/${encodeURIComponent(String(flowId))}/submit`\n}\n\n/**\n * Submits the user's input for the current step of a flow. The server\n * validates it, processes it (for example, verifies a credential), advances\n * the flow through any invisible steps, and returns the next visible step.\n * The flow endpoints are the runtime calls the login component\n * (`<zitadel-login>`) makes, step by step; `createFlow` (`POST /flows`) starts a flow.\n *\n * The response sets an updated encrypted `HttpOnly` cookie (`_zflow`)\n * with the new flow state. The server is stateless: all orchestration\n * state is carried in this cookie between requests.\n *\n * Sign-up additionally requires a single-use `gate_proofs.signup_pow`\n * solution for `step.gates.signup_pow`: a password sign-up (`create_user`)\n * sends it with the submit, and a passkey registration that creates its user\n * sends it with the attestation in `challenge_response`. Pending\n * challenges and rate counters are stored on the server. Invalid or spent\n * proofs return `403 flow.proof_invalid`; exhausted per-flow budgets return\n * `429 flow.rate_limited`. GET the current step to obtain or refresh its\n * challenge before solving. Start and Submit announce the gate without a puzzle.\n *\n * **Important:** The `id` in the response may differ from the `id` used in\n * the request. This happens when a flow pivots (pushes a new flow onto the\n * stack) or when a stacked flow completes (auto-pops to the parent flow).\n * Always use the `id` from the latest response for the next request.\n *\n * ## Flow completion\n *\n * When `step.type` is `complete`, the flow is terminal. The `step.behavior`\n * field 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, such as registration. |\n *\n * A `complete` step is only returned when the **entire flow stack** is done.\n * If a stacked flow (for example, recovery pivoted from login) finishes, the\n * server auto-pops to the parent flow and returns the parent's next step.\n * The frontend never sees a `complete` for intermediate flows.\n *\n * ## External sign-in\n *\n * `{action: \"sso\", sso_provider_id, return_target}` on a step that offers\n * `sso_providers` returns the server-emitted `sso-redirect` step, whose\n * `redirect_url` the frontend navigates to.\n *\n * - The flow state does not change, but `_zflow` is re-sealed like on\n * every response, so its ten-minute window restarts at this submission;\n * the external sign-in and the return must complete within it.\n * - A second `Set-Cookie` line carries the browser-binding cookie the\n * callback checks: `HttpOnly`, `Path=/`, `SameSite=Lax`.\n * - On every host except http loopback it is `__Host-_zsso` with `Secure`.\n * - When the request host is http loopback (local development, where\n * Safari rejects `Secure`), it is `_zsso` with no `Secure`; the\n * `__Host-` prefix is dropped because it requires `Secure`.\n *\n * An identity provider (an external sign-in such as Google) whose\n * `client_id` is a `${{ NAME }}` reference has it filled from the project's\n * variables. A provider the server cannot start a sign-in with, including a\n * reference with no variable behind it, re-renders the step with\n * `error.sso_unavailable`.\n *\n * Reuses the deployment sealed into `_zflow` at `createFlow`; it does not\n * re-resolve from `Origin`. If that release was revoked since the attempt\n * started, the response is `409` with `rel.revoked`.\n * @summary Submit a flow step\n */\nexport const submitFlowStep = async (flowId: string,\n submitFlowStepBody: SubmitFlowStepBody, options?: Parameters<typeof customFetch>[1]): Promise<SubmitFlowStep200> => {\n\n return customFetch<SubmitFlowStep200>(getSubmitFlowStepUrl(flowId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(submitFlowStepBody)\n }\n);}\n\n\n\nexport const getCreateAuthAttemptUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/auth_attempts`\n}\n\n/**\n * Creates an authentication attempt, one sign-in round that expires 15 minutes after creation.\n *\n * An authentication attempt collects the proofs for one sign-in and ends in a\n * handoff token. A handoff token is the short-lived, single-use credential that\n * a completed attempt hands to the session exchange. A client makes these calls\n * in order:\n *\n * 1. `createAuthAttempt` (`POST /auth_attempts`) creates the attempt.\n * 2. `createAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges`) issues a challenge, a request to prove one factor such as\n * `identifier`, `password` or `passkey`.\n * 3. `verifyAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify`) submits the proof for that challenge: the\n * credential, code or assertion. Repeat steps 2 and 3 until\n * `getAuthAttempt` (`GET /auth_attempts/{attempt_id}`) reports state `completed`, which means every factor in\n * `required_factors` is verified.\n * 4. `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`) completes the attempt and returns the `handoff_token`.\n * 5. `exchangeHandoff` (`POST /sessions/exchange`) exchanges the handoff token\n * for the session and its `session_token`.\n *\n * The body takes a `project_id` and a `challenge_nonce` (from\n * `POST /bootstrap/challenge`). For step-up authentication, which adds factors\n * to an existing session, also send that session's `session_id` and its\n * `session_token`, as `createSession` (`POST /sessions`) or `exchangeHandoff` returned them.\n * The attempt's `attempt_id` in the response is the ID every later call takes.\n *\n * The project comes from the project secret. A body `project_id` that names\n * another project answers `403` with `proj.mismatch`: send the credential's own\n * project. The attempt seals the project's newest primary deployment, whatever\n * the caller's `Origin`. With none it answers `409` with `rel.no_default`, and a\n * revoked release answers `409` with `rel.revoked`.\n * @summary Create an authentication attempt\n */\nexport const createAuthAttempt = async (createAuthAttemptBody: CreateAuthAttemptBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateAuthAttempt201> => {\n\n return customFetch<CreateAuthAttempt201>(getCreateAuthAttemptUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createAuthAttemptBody)\n }\n);}\n\n\n\nexport const getGetAuthAttemptUrl = (attemptId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/auth_attempts/${encodeURIComponent(String(attemptId))}`\n}\n\n/**\n * Returns the current state of an authentication attempt, one sign-in round.\n *\n * The response holds the attempt's state, available factors for the next\n * challenge, challenges issued so far, and any errors preventing progress.\n *\n * Use it to poll during long-running factor verifications, for example waiting\n * for a federated identity provider (IdP) callback or a device flow.\n * @summary Get an authentication attempt by ID\n */\nexport const getAuthAttempt = async (attemptId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetAuthAttempt200> => {\n\n return customFetch<GetAuthAttempt200>(getGetAuthAttemptUrl(attemptId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCreateAuthAttemptChallengeUrl = (attemptId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/auth_attempts/${encodeURIComponent(String(attemptId))}/challenges`\n}\n\n/**\n * Issues a challenge, a request to prove one factor, within an authentication attempt.\n *\n * A challenge names one factor method, such as password, passkey, TOTP or OTP\n * via SMS. The response carries the challenge's `challenge_id`, method,\n * metadata and any UI hints. The client then submits the proof with\n * `verifyAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify`), using that `challenge_id`.\n * @summary Issue a factor challenge\n */\nexport const createAuthAttemptChallenge = async (attemptId: string,\n createAuthAttemptChallengeBody: CreateAuthAttemptChallengeBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateAuthAttemptChallenge201> => {\n\n return customFetch<CreateAuthAttemptChallenge201>(getCreateAuthAttemptChallengeUrl(attemptId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createAuthAttemptChallengeBody)\n }\n);}\n\n\n\nexport const getVerifyAuthAttemptChallengeUrl = (attemptId: string,\n challengeId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/auth_attempts/${encodeURIComponent(String(attemptId))}/challenges/${encodeURIComponent(String(challengeId))}/verify`\n}\n\n/**\n * Verifies a challenge by submitting its proof: the credential, code or assertion for the factor.\n *\n * The proof format depends on the challenge method. For example:\n *\n * - `password` method: { password: \"…\" }\n * - `totp` method: { totp: { code: \"123456\" } }\n * - `passkey` method: { passkey: { assertion: \"…\" } }\n * - `recovery_code` method: { recovery_code: \"…\" }\n *\n * On success, the factor is recorded on the authentication attempt. The\n * attempt moves to the next pending challenge, or completes when every required\n * factor is verified. Then call `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`).\n *\n * A `409` with `att.proof_rejected` means the proof was wrong. Check it and try\n * again. There is no retry limit: you can retry until the attempt expires.\n * @summary Verify a challenge proof\n */\nexport const verifyAuthAttemptChallenge = async (attemptId: string,\n challengeId: string,\n verifyAuthAttemptChallengeBody: VerifyAuthAttemptChallengeBody, options?: Parameters<typeof customFetch>[1]): Promise<VerifyAuthAttemptChallenge200> => {\n\n return customFetch<VerifyAuthAttemptChallenge200>(getVerifyAuthAttemptChallengeUrl(attemptId,challengeId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(verifyAuthAttemptChallengeBody)\n }\n);}\n\n\n\nexport const getCreateAuthAttemptHandoffUrl = (attemptId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/auth_attempts/${encodeURIComponent(String(attemptId))}/handoff`\n}\n\n/**\n * Completes an authentication attempt and mints a `handoff_token`.\n *\n * A handoff token is the short-lived credential that a completed attempt hands\n * to the session exchange. Call this after every required factor is verified and\n * the attempt is in `completed` state. Otherwise it answers `409` with\n * `att.not_completed`: verify the remaining factors, then call again.\n *\n * Exchange the token at `POST /sessions/exchange` (`exchangeHandoff` (`POST /sessions/exchange`)) within 60\n * seconds to receive the session and its `session_token`. The handoff token is:\n *\n * - Single-use: exchange it once, with no retry.\n * - Bound to the project: the exchange needs the same project's credential.\n * - Created once: a second call answers `409 att.already_handed_off`, even\n * with the same idempotency key.\n *\n * A revoked release is refused when the handoff is exchanged, not here. A\n * release is the configuration that `zitadel deploy` publishes.\n * @summary Complete an authentication attempt and create a handoff token\n */\nexport const createAuthAttemptHandoff = async (attemptId: string, options?: Parameters<typeof customFetch>[1]): Promise<CreateAuthAttemptHandoff200> => {\n\n return customFetch<CreateAuthAttemptHandoff200>(getCreateAuthAttemptHandoffUrl(attemptId),\n {\n ...options,\n method: 'POST'\n\n\n }\n);}\n\n\n\nexport const getCreateProjectUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/projects`\n}\n\n/**\n * Creates a project and returns its project secret and preview secret, which no\n * other endpoint returns.\n *\n * A project is the top-level boundary that holds users, sessions and\n * configuration. It has no owning team until someone claims it; see `createProjectClaim` (`POST /projects/{project_id}/claim/init`).\n *\n * The request needs no credential and is rate-limited. On `429`, wait and retry.\n * Unless `seed_defaults` is `false`, the project starts with a default user schema\n * and flow. The CLI sets it to `false` and uploads its own from `.zitadel/`.\n * @summary Create a project\n */\nexport const createProject = async (createProjectBody: CreateProjectBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateProject201> => {\n\n return customFetch<CreateProject201>(getCreateProjectUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createProjectBody)\n }\n);}\n\n\n\nexport const getQueryProjectsUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/projects/query`\n}\n\n/**\n * Returns the project the project secret belongs to, as a page of at most one\n * project.\n *\n * A credential is scoped to one project today, so the filters and sorting\n * apply to that project alone. A signed-in person lists the projects they can\n * act on with `GET /users/me/projects`.\n * @summary Query projects\n */\nexport const queryProjects = async (queryProjectsBody: QueryProjectsBody, options?: Parameters<typeof customFetch>[1]): Promise<QueryProjects200> => {\n\n return customFetch<QueryProjects200>(getQueryProjectsUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(queryProjectsBody)\n }\n);}\n\n\n\nexport const getGetProjectUrl = (projectId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}`\n}\n\n/**\n * Returns a project's current state: its name, origins, password hashing\n * method and owning team.\n *\n * Authenticate with the project secret, or with the session of a signed-in\n * person who holds a grant on the project.\n * @summary Get a project by ID\n */\nexport const getProject = async (projectId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetProject200> => {\n\n return customFetch<GetProject200>(getGetProjectUrl(projectId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getUpdateProjectUrl = (projectId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}`\n}\n\n/**\n * Updates a project's name or password hashing method.\n *\n * Fields you leave out keep their value. Sending `password_hash: null` drops\n * the project's own method and returns to the server default. A change of\n * method rewrites no stored password: each moves to the new method when its\n * owner next signs in or sets a new password.\n *\n * Authenticate with the project secret, or with the session of a signed-in\n * person who can act on the project.\n * @summary Update a project\n */\nexport const updateProject = async (projectId: string,\n updateProjectBody: UpdateProjectBody, options?: Parameters<typeof customFetch>[1]): Promise<UpdateProject200> => {\n\n return customFetch<UpdateProject200>(getUpdateProjectUrl(projectId),\n {\n ...options,\n method: 'PATCH',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(updateProjectBody)\n }\n);}\n\n\n\nexport const getListProjectAdminsUrl = (projectId: string,\n params?: ListProjectAdminsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/admins?${stringifiedParams}` : `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/admins`\n}\n\n/**\n * Lists the people who can administer a project, and how each of them\n * holds that access.\n *\n * A person appears once, with one entry in `sources` per way they hold it:\n *\n * - `owning_team`: an active member of the team that owns the project, the\n * team a claim attaches the project to. Removing a grant does not remove\n * this access. It ends only when the person leaves the team or the\n * project changes owner.\n * - `grant`: an unexpired `admin` grant on the project, which is a role\n * given to the person (`grant_id` only) or to a team they are an active\n * member of (`grant_id` and `team`). Revoking that grant removes this\n * source.\n *\n * The list follows the authorization check. A person who left a team, or\n * whose team or user was deactivated, is not listed through it. Grants that\n * expired or carry a lower role are left out. A person whose only access is a\n * `viewer` or `editor` grant is not an admin and is not listed. Like the\n * check, a direct user grant requires an active user, so a suspended\n * person's direct grant is not listed.\n *\n * Every caller who passes the project read check sees every listed admin\n * and every team name on `sources`. Co-membership no longer filters the\n * roster.\n *\n * The list is ordered by `user_id` and paginated with `page_token`.\n * Authenticate with a project secret (`oauth2`), or with the session cookie\n * (`sessionCookie`) of a signed-in person who can read the project.\n * @summary List the admins of a project\n */\nexport const listProjectAdmins = async (projectId: string,\n params?: ListProjectAdminsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListProjectAdmins200> => {\n\n return customFetch<ListProjectAdmins200>(getListProjectAdminsUrl(projectId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListProjectMembersUrl = (projectId: string,\n params?: ListProjectMembersParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/members?${stringifiedParams}` : `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/members`\n}\n\n/**\n * Lists the people who have a role on a project, with each person's strongest\n * role and how they hold it.\n *\n * A person appears once, with their strongest `relation` (`viewer`, `editor`\n * or `admin`; a stronger role includes the weaker ones) and one entry in\n * `sources` per way they hold that role:\n *\n * - `owning_team`: an active member of the team that owns the project, the\n * team a claim attaches the project to. It holds `admin`. Removing a grant\n * does not remove this access. It ends only when the person leaves the\n * team or the project changes owner.\n * - `grant`: an unexpired grant on the project, which is a role given to the\n * person (`grant_id` only) or to a team they are an active member of\n * (`grant_id` and `team`). Revoking that grant removes this source.\n *\n * Grants of a weaker role than the person's strongest are not in `sources`;\n * they still show in the project's grants (`queryGrants`,\n * `POST /grants/query`).\n *\n * Pass `relation` to list only the people whose strongest role is at least\n * that strong: `relation=admin` lists the people who can administer the\n * project.\n *\n * The list follows the authorization check. A person who left a team, or\n * whose team or user was deactivated, is not listed through it. Expired\n * grants are left out. Like the check, a direct user grant requires an\n * active user, so a suspended person's direct grant is not listed.\n *\n * Every caller who passes the project read check sees every listed person\n * and every team name on `sources`. Co-membership no longer filters the\n * roster.\n *\n * The list is ordered by `user_id` and paginated with `page_token`.\n * Authenticate with a project secret (`oauth2`), or with the session cookie\n * (`sessionCookie`) of a signed-in person who can read the project.\n * @summary List the members of a project\n */\nexport const listProjectMembers = async (projectId: string,\n params?: ListProjectMembersParams, options?: Parameters<typeof customFetch>[1]): Promise<ListProjectMembers200> => {\n\n return customFetch<ListProjectMembers200>(getListProjectMembersUrl(projectId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCreateProjectClaimUrl = (projectId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/claim/init`\n}\n\n/**\n * Starts a claim, which attaches a project created before sign-in to a\n * team, and returns the `claim_url` to open in a browser.\n *\n * A claim [attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim)\n * so that the team's members administer it. This operation mints a\n * single-use, short-lived challenge for an unclaimed project. The developer\n * opens `claim_url`, signs in and completes the claim in the browser; see\n * `completeProjectClaim` (`POST /projects/{project_id}/claim/complete`). Poll `getProjectClaimStatus` (`GET /projects/{project_id}/claim/status`) with the returned `challenge_id`,\n * as `zitadel claim` does. The response's `expires_at` carries the exact expiry.\n *\n * Authenticate with the project secret that `createProject` (`POST /projects`) returns as\n * `project_secret`.\n *\n * A `409` means a team already claimed the project, and its details name\n * that team. A `410` means the project's 14-day claim window has closed,\n * which is final.\n * @summary Initialize a project claim\n */\nexport const createProjectClaim = async (projectId: string, options?: Parameters<typeof customFetch>[1]): Promise<CreateProjectClaim201> => {\n\n return customFetch<CreateProjectClaim201>(getCreateProjectClaimUrl(projectId),\n {\n ...options,\n method: 'POST'\n\n\n }\n);}\n\n\n\nexport const getGetProjectClaimStatusUrl = (projectId: string,\n params: GetProjectClaimStatusParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/claim/status?${stringifiedParams}` : `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/claim/status`\n}\n\n/**\n * Returns the status of a claim challenge, `pending` or `completed`, while a\n * browser completes the claim.\n *\n * A [claim attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim).\n * `zitadel claim` polls this operation after `createProjectClaim` (`POST /projects/{project_id}/claim/init`) starts the claim.\n * Once the project is claimed, the response is `completed` with the owning\n * team, the claim timestamp and the dashboard URL.\n *\n * The claim itself, not the polled challenge, decides the status. A project\n * claimed through another concurrent challenge also reports `completed`. A\n * completed claim keeps reporting `completed` past this challenge's expiry\n * and past the project's claim window.\n *\n * Pass the `challenge_id` that `createProjectClaim` returns. Authenticate with the\n * project secret that started the challenge. On `410` with `proj.claim_expired`, call\n * `createProjectClaim` again for a fresh challenge.\n * @summary Get the status of a project claim\n */\nexport const getProjectClaimStatus = async (projectId: string,\n params: GetProjectClaimStatusParams, options?: Parameters<typeof customFetch>[1]): Promise<GetProjectClaimStatus200> => {\n\n return customFetch<GetProjectClaimStatus200>(getGetProjectClaimStatusUrl(projectId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCompleteProjectClaimUrl = (projectId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/claim/complete`\n}\n\n/**\n * Completes a claim by attaching the project to the signed-in developer's\n * personal team.\n *\n * A [claim attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim),\n * so that the team's members administer it. The claim page in the browser\n * calls this operation after the developer signs in, with the session cookie.\n * The `challenge_id` from the claim URL that `createProjectClaim` (`POST /projects/{project_id}/claim/init`) returns is the\n * request's single-use, browser-safe authorization.\n *\n * Claims are first-claim-wins and spend the challenge. If a team already\n * claimed the project, the request answers `409`. If the challenge lapsed\n * (`410` with `proj.claim_expired`), call `createProjectClaim` again for a fresh one.\n * @summary Complete a project claim\n */\nexport const completeProjectClaim = async (projectId: string,\n completeProjectClaimBody: CompleteProjectClaimBody, options?: Parameters<typeof customFetch>[1]): Promise<CompleteProjectClaim200> => {\n\n return customFetch<CompleteProjectClaim200>(getCompleteProjectClaimUrl(projectId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(completeProjectClaimBody)\n }\n);}\n\n\n\nexport const getGetProjectClaimWindowUrl = (projectId: string,\n params: GetProjectClaimWindowParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/claim/window?${stringifiedParams}` : `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/claim/window`\n}\n\n/**\n * Returns when a project's claim window closes and whether it has already\n * closed.\n *\n * The claim window is the 14 days after a project is created during which a\n * team can [claim it](https://preview.zitadel.com/docs/concepts/project-team-user#claim). The claim page\n * in the browser calls this operation to show how long is left.\n *\n * The request needs no credential, because the claim page calls it before the\n * developer has signed in. Holding the `challenge_id` from the claim URL that\n * `createProjectClaim` (`POST /projects/{project_id}/claim/init`) returns is the authorization, the same one `completeProjectClaim` (`POST /projects/{project_id}/claim/complete`)\n * accepts. The response reveals only the window, never the project itself.\n * Unlike `completeProjectClaim` it spends nothing, so reloading the page is safe.\n * @summary Get the claim window for a project\n */\nexport const getProjectClaimWindow = async (projectId: string,\n params: GetProjectClaimWindowParams, options?: Parameters<typeof customFetch>[1]): Promise<GetProjectClaimWindow200> => {\n\n return customFetch<GetProjectClaimWindow200>(getGetProjectClaimWindowUrl(projectId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getAddProjectOriginUrl = (projectId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/origins`\n}\n\n/**\n * Adds an origin pattern, a `pattern` and its `kind`, to the project's origins.\n *\n * An origin pattern says which web origins the project accepts. A `primary`\n * pattern must be an exact URL with no wildcard. A `preview` pattern may\n * include a single DNS-label wildcard.\n *\n * While the project has no patterns, it admits no origin except a loopback\n * origin, so the first pattern you add opens it to the origins that\n * pattern matches. Admitting an origin is not serving it: a new `primary`\n * origin answers `rel.not_deployed` until the next deploy to primary\n * (`zitadel deploy`).\n *\n * Adding a pattern that already exists with the same kind is idempotent and\n * answers `201` with the stored origin. If the pattern exists with the other\n * kind, the request is refused with `origin.kind_conflict`: remove it with\n * `removeProjectOrigin` (`POST /projects/{project_id}/origins/remove`), then add it again.\n * @summary Add an origin pattern\n */\nexport const addProjectOrigin = async (projectId: string,\n addProjectOriginBody: AddProjectOriginBody, options?: Parameters<typeof customFetch>[1]): Promise<AddProjectOrigin201> => {\n\n return customFetch<AddProjectOrigin201>(getAddProjectOriginUrl(projectId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(addProjectOriginBody)\n }\n);}\n\n\n\nexport const getRemoveProjectOriginUrl = (projectId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/origins/remove`\n}\n\n/**\n * Removes one origin pattern from the project's origins.\n *\n * Requests from URLs only that pattern admitted are refused from then on.\n * Live previews and deployment history are untouched. Removing the last\n * pattern leaves an empty list, which admits no origin except a loopback\n * origin.\n * Removing a pattern that is already absent is idempotent and answers `204`.\n *\n * The body's `pattern` is a pattern `addProjectOrigin` (`POST /projects/{project_id}/origins`) stored.\n * @summary Remove an origin pattern\n */\nexport const removeProjectOrigin = async (projectId: string,\n removeProjectOriginBody: RemoveProjectOriginBody, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getRemoveProjectOriginUrl(projectId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(removeProjectOriginBody)\n }\n);}\n\n\n\nexport const getListProjectPreviewsUrl = (projectId: string,\n params?: ListProjectPreviewsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/previews?${stringifiedParams}` : `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/previews`\n}\n\n/**\n * Lists the project's live previews, newest first by `created_at`.\n *\n * A preview is a URL with a deployment on it, served until it expires.\n * An expired or removed preview is not listed. What was deployed to it stays\n * in `GET /deployments`.\n * @summary List a project's previews\n */\nexport const listProjectPreviews = async (projectId: string,\n params?: ListProjectPreviewsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListProjectPreviews200> => {\n\n return customFetch<ListProjectPreviews200>(getListProjectPreviewsUrl(projectId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getRemoveProjectPreviewUrl = (projectId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/projects/${encodeURIComponent(String(projectId))}/previews/remove`\n}\n\n/**\n * Ends a preview before it expires: the URL stops being served at once.\n *\n * The deployments to it stay in the history. The call is idempotent.\n * A URL with no live preview answers `204` too. That includes one that\n * expired or was removed before, so a cleanup that races the expiry still\n * succeeds.\n *\n * The URL travels in the body rather than the path because an origin\n * contains `/`. Take it from `listProjectPreviews` (`GET /projects/{project_id}/previews`).\n * @summary Remove a preview\n */\nexport const removeProjectPreview = async (projectId: string,\n removeProjectPreviewBody: RemoveProjectPreviewBody, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getRemoveProjectPreviewUrl(projectId),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(removeProjectPreviewBody)\n }\n);}\n\n\n\nexport const getCreateSessionUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/sessions`\n}\n\n/**\n * Creates an anonymous session with no user and no factors (`state: building`).\n *\n * A session is the durable record of a signed-in user. This call is optional: an\n * authentication attempt creates a session implicitly if none is provided.\n * Create one explicitly when you want to:\n *\n * - Pre-allocate a `session_id` before the user is known, so device and 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 *\n * The session belongs to the project of the project secret. A `project_id` that\n * names another project answers `403` with `proj.mismatch` and creates nothing:\n * send the credential's own project.\n *\n * Creating a session runs on the project credential (`session.write`). The returned\n * `session_token` is a session credential for the end-user client, not a\n * management scope. It is delivered as the `__Host-zitadel_session` cookie\n * (`zitadel_session` over plain http to a loopback host) and authorises the\n * self-service operations `GET /sessions/me` and `DELETE /sessions/me`\n * (`sessionCookie` scheme). The by-id operations `GET /sessions/{session_id}`\n * and `DELETE /sessions/{session_id}` are operator endpoints and require\n * `session.read` / `session.delete` instead.\n *\n * The `session_token` is superseded when a handoff exchange completes. Clients\n * must replace it at that point.\n *\n * Anonymous sessions expire after 10 minutes. The lifetime resets to the\n * configured full session lifetime when a completing authentication attempt\n * writes the first authentication factor.\n * @summary Create an anonymous session\n */\nexport const createSession = async (createSessionBody: CreateSessionBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateSession201> => {\n\n return customFetch<CreateSession201>(getCreateSessionUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createSessionBody)\n }\n);}\n\n\n\nexport const getQuerySessionsUrl = (params: QuerySessionsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/sessions/query?${stringifiedParams}` : `${getApiBaseUrl()}/sessions/query`\n}\n\n/**\n * Returns a page of a project's sessions.\n *\n * Sessions of every lifecycle state are returned; each carries its `state`.\n * Requires the `session.read` scope.\n * @summary Query sessions\n */\nexport const querySessions = async (querySessionsBody: QuerySessionsBody,\n params: QuerySessionsParams, options?: Parameters<typeof customFetch>[1]): Promise<QuerySessions200> => {\n\n return customFetch<QuerySessions200>(getQuerySessionsUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(querySessionsBody)\n }\n);}\n\n\n\nexport const getExchangeHandoffUrl = (params: ExchangeHandoffParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/sessions/exchange?${stringifiedParams}` : `${getApiBaseUrl()}/sessions/exchange`\n}\n\n/**\n * Exchanges a handoff token for a session and a `session_token`.\n *\n * A handoff token is the short-lived, single-use credential that\n * `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`) returns as `handoff_token` once an authentication attempt is\n * complete. This call consumes it. It is the last step of the sign-in sequence:\n * create the attempt, issue a challenge, verify the proof, create the handoff,\n * exchange it.\n *\n * The server resolves the originating authentication attempt from the token and then:\n *\n * | Originating authentication attempt | Outcome |\n * |---|---|\n * | No `session_id` | A new authenticated session is **created**. |\n * | `session_id` points to an anonymous session | Existing session is **upgraded**: user and factors written in, lifetime reset to the full session lifetime. |\n * | `session_id` points to an active session (step-up) | Existing session is **upgraded**: new factors merged, `assurance_levels[]` expanded. |\n *\n * The response shape is identical in all three cases.\n *\n * The `session_token` supersedes any previously issued `session_token` for the\n * same session. Clients must replace their stored token at this point.\n *\n * Requires a project service key (OAuth2 client credentials). The project comes\n * from the project secret. A query `project_id` that disagrees answers `403`\n * with `proj.mismatch`.\n *\n * The exchange resolves a deployment the same way as other runtime operations.\n * A deployment makes a release live, and a release is the configuration that\n * `zitadel deploy` publishes. With no browser `Origin` and\n * nothing deployed to the resolved target, the response is `409` with\n * `rel.not_deployed`: run `zitadel deploy`, then retry. A revoked release\n * answers `409` with `rel.revoked`.\n * @summary Exchange a handoff token for a session\n */\nexport const exchangeHandoff = async (exchangeHandoffBody: ExchangeHandoffBody,\n params: ExchangeHandoffParams, options?: Parameters<typeof customFetch>[1]): Promise<ExchangeHandoff200> => {\n\n return customFetch<ExchangeHandoff200>(getExchangeHandoffUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(exchangeHandoffBody)\n }\n);}\n\n\n\nexport const getGetSessionUrl = (sessionId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/sessions/${encodeURIComponent(String(sessionId))}`\n}\n\n/**\n * Returns the current state of a session, including its factors and all currently satisfied assurance levels.\n *\n * An assurance level is a profile, such as `urn:nist:aal:2`, that the\n * session's verified factors satisfy. `assurance_levels[]` may shrink over time\n * as factor freshness windows expire, without the session itself expiring.\n * To restore a dropped level, use step-up authentication: create an\n * authentication attempt with the same `session_id`.\n * @summary Get a session by ID\n */\nexport const getSession = async (sessionId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetSession200> => {\n\n return customFetch<GetSession200>(getGetSessionUrl(sessionId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getRevokeSessionUrl = (sessionId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/sessions/${encodeURIComponent(String(sessionId))}`\n}\n\n/**\n * Revokes a session by deleting it, immediately and for good. A later\n * `getSession` (`GET /sessions/{session_id}`) for it answers `404`.\n *\n * This is the operator revoke path. It requires the `session.delete` scope on a\n * project-bound credential. End-user sign-out with the session cookie is\n * `DELETE /sessions/me` (`sessionCookie` scheme).\n *\n * Idempotent: revoking a session that does not exist, or was already revoked,\n * still returns `204`. After revocation, any tokens derived from the session are\n * invalidated.\n * @summary Revoke a session\n */\nexport const revokeSession = async (sessionId: string, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getRevokeSessionUrl(sessionId),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\n\nexport const getGetMySessionUrl = (params?: GetMySessionParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/sessions/me?${stringifiedParams}` : `${getApiBaseUrl()}/sessions/me`\n}\n\n/**\n * Returns the current state of the caller's session, including its factors and all currently satisfied assurance levels.\n *\n * With `project_id`, the session is returned only when it belongs to that project.\n *\n * An assurance level is a profile, such as `urn:nist:aal:2`, that the\n * session's verified factors satisfy. `assurance_levels[]` may shrink over time\n * as factor freshness windows expire, without the session itself expiring.\n * To restore a dropped level, use step-up authentication: create an\n * authentication attempt with the same `session_id`.\n * @summary Get my session\n */\nexport const getMySession = async (params?: GetMySessionParams, options?: Parameters<typeof customFetch>[1]): Promise<GetMySession200> => {\n\n return customFetch<GetMySession200>(getGetMySessionUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getRevokeMySessionUrl = (params?: RevokeMySessionParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/sessions/me?${stringifiedParams}` : `${getApiBaseUrl()}/sessions/me`\n}\n\n/**\n * Revokes the caller's own session by deleting it, which signs the user out.\n *\n * The request needs the session cookie issued at creation (or superseded by a\n * handoff exchange). It also needs the session's CSRF token from\n * `GET /sessions/me/csrf` in the `X-Zitadel-CSRF` header. Idempotent: if the session is already gone,\n * this still returns `204`. Any tokens derived from the session are\n * invalidated, and the response clears the cookie.\n *\n * With `project_id`, only a session of that project is revoked. A session of\n * another project is left alone, and so is its cookie.\n * @summary Revoke my session\n */\nexport const revokeMySession = async (params?: RevokeMySessionParams, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getRevokeMySessionUrl(params),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\n\nexport const getGetMySessionCsrfTokenUrl = (params?: GetMySessionCsrfTokenParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/sessions/me/csrf?${stringifiedParams}` : `${getApiBaseUrl()}/sessions/me/csrf`\n}\n\n/**\n * Returns the session-bound token that protects against cross-site request\n * forgery (CSRF). Browser code sends it in the `X-Zitadel-CSRF` header on the\n * state-changing requests that the session cookie authenticates and that\n * require it; see the `sessionCookie` scheme. It authorizes nothing on its\n * own: the HttpOnly cookie is still the credential, and a cross-site page\n * cannot read this response. It stays the same for the life of the session,\n * so a client fetches it once per session.\n *\n * With `project_id`, the token is returned only when the session belongs to\n * that project.\n * @summary Get my session's CSRF token\n */\nexport const getMySessionCsrfToken = async (params?: GetMySessionCsrfTokenParams, options?: Parameters<typeof customFetch>[1]): Promise<GetMySessionCsrfToken200> => {\n\n return customFetch<GetMySessionCsrfToken200>(getGetMySessionCsrfTokenUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getPublishSchemaUrl = (params: PublishSchemaParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/schemas?${stringifiedParams}` : `${getApiBaseUrl()}/schemas`\n}\n\n/**\n * Publishes a user schema, the JSON Schema that says which attributes a user\n * has and which attribute identifies the user.\n *\n * The request is either a user schema (`kind: user-schema`) or a schema URL\n * (`kind: schema-url`) that the server resolves. The response is the stored\n * schema, as `getSchema` (`GET /schemas/{schema_id}`) returns it; its `id` is\n * what `createUser` (`POST /users`) takes as `schema`.\n *\n * The optional `$id` is the JSON Schema document URI that identifies the\n * schema in later requests. It is a stable identity for GitOps, not a\n * free-form resource key. When `$id` is omitted, the server generates a\n * `sch_*` URL. When provided, `$id` must be unique within the project and\n * should ideally be a valid URI pointing at where the schema can be accessed.\n * A `$id` that already exists in the project is refused; pick another or\n * omit it.\n * @summary Publish a schema\n */\nexport const publishSchema = async (publishSchemaBody: PublishSchemaBody,\n params: PublishSchemaParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishSchema201> => {\n\n return customFetch<PublishSchema201>(getPublishSchemaUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(publishSchemaBody)\n }\n);}\n\n\n\nexport const getListSchemasUrl = (params: ListSchemasParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n const explodeParameters = [\"expand\"];\n\n if (Array.isArray(value) && explodeParameters.includes(key)) {\n value.forEach((v) => {\n normalizedParams.append(key, v === null ? 'null' : String(v));\n });\n return;\n }\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/schemas?${stringifiedParams}` : `${getApiBaseUrl()}/schemas`\n}\n\n/**\n * Lists the schemas of a project, newest first, paginated with a cursor.\n * Filter by `object_type` or `kind`, and choose which revisions to return\n * with `revisions`.\n *\n * A schema's `id` is what `createUser` (`POST /users`) takes as `schema`.\n * @summary List schemas\n */\nexport const listSchemas = async (params: ListSchemasParams, options?: Parameters<typeof customFetch>[1]): Promise<ListSchemas200> => {\n\n return customFetch<ListSchemas200>(getListSchemasUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetSchemaUrl = (schemaId: string,\n params?: GetSchemaParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/schemas/${encodeURIComponent(String(schemaId))}?${stringifiedParams}` : `${getApiBaseUrl()}/schemas/${encodeURIComponent(String(schemaId))}`\n}\n\n/**\n * Returns a schema by ID. A schema ID identifies one immutable revision, so\n * this returns exactly that revision. To find the current revision of an\n * object type, call `listSchemas` (`GET /schemas`) with `revisions=latest`.\n *\n * Schema IDs are unique within a project, not across projects (the seeded\n * default schema carries the same `$id` in every project). A console\n * session that manages more than one project names the project with\n * `project_id`; without it, the ID is resolved in the credential's own\n * project when it is ambiguous. A project secret always resolves in its\n * own project and ignores `project_id`.\n * @summary Get a schema by ID\n */\nexport const getSchema = async (schemaId: string,\n params?: GetSchemaParams, options?: Parameters<typeof customFetch>[1]): Promise<GetSchema200> => {\n\n return customFetch<GetSchema200>(getGetSchemaUrl(schemaId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getPublishFlowDefinitionUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/flow_definitions`\n}\n\n/**\n * Publishes a new revision of a flow definition, creating the flow definition\n * on its first publish. It records a `flowdef.created` event.\n *\n * A [flow definition](https://preview.zitadel.com/docs/concepts/flows-and-schemas) is a template that\n * defines the sequence of steps (capabilities) for one user journey, such as\n * registration, login or password reset. The body follows the flow\n * definition schema, which includes the flow's purpose, audience and steps.\n *\n * Every call allocates a new opaque ID. That `id` is the `revision_id` a\n * release pins for `kind: flow_definition`.\n *\n * Revisions of one flow share its `name`. Posting a definition under an\n * existing `name` publishes a new revision of that flow, which is not a\n * conflict. List with `name` to see a flow's revisions, newest by creation\n * time first.\n * @summary Publish a flow definition\n */\nexport const publishFlowDefinition = async (publishFlowDefinitionBody: PublishFlowDefinitionBody, options?: Parameters<typeof customFetch>[1]): Promise<PublishFlowDefinition201> => {\n\n return customFetch<PublishFlowDefinition201>(getPublishFlowDefinitionUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(publishFlowDefinitionBody)\n }\n);}\n\n\n\nexport const getListFlowDefinitionsUrl = (params: ListFlowDefinitionsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n const explodeParameters = [\"expand\"];\n\n if (Array.isArray(value) && explodeParameters.includes(key)) {\n value.forEach((v) => {\n normalizedParams.append(key, v === null ? 'null' : String(v));\n });\n return;\n }\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/flow_definitions?${stringifiedParams}` : `${getApiBaseUrl()}/flow_definitions`\n}\n\n/**\n * Lists the project's flow definitions with their configurations, newest by\n * creation time first. A flow definition sets which step of a sign-in\n * renders when, and which fields each step collects.\n *\n * The `id` of an entry is the flow definition ID that `getFlowDefinition` (`GET /flow_definitions/{flow_definition_id}`)\n * takes. Filter by `name` to list the revisions of one flow.\n * @summary List flow definitions\n */\nexport const listFlowDefinitions = async (params: ListFlowDefinitionsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListFlowDefinitions200> => {\n\n return customFetch<ListFlowDefinitions200>(getListFlowDefinitionsUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetFlowDefinitionUrl = (flowDefinitionId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/flow_definitions/${encodeURIComponent(String(flowDefinitionId))}`\n}\n\n/**\n * Returns one flow definition revision. Pass the `id` that\n * `publishFlowDefinition` (`POST /flow_definitions`) or `listFlowDefinitions` (`GET /flow_definitions`) returns.\n * @summary Get a flow definition by ID\n */\nexport const getFlowDefinition = async (flowDefinitionId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetFlowDefinition200> => {\n\n return customFetch<GetFlowDefinition200>(getGetFlowDefinitionUrl(flowDefinitionId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCreateTeamUrl = (params: CreateTeamParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/teams?${stringifiedParams}` : `${getApiBaseUrl()}/teams`\n}\n\n/**\n * Creates a team in the project, with a name no other team in the project has.\n *\n * A team groups users inside a project and can represent a customer. A taken\n * name is refused with `409 team.already_exists`: choose another name. The\n * new team has no members yet.\n * @summary Create a team\n */\nexport const createTeam = async (createTeamBody: CreateTeamBody,\n params: CreateTeamParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateTeam201> => {\n\n return customFetch<CreateTeam201>(getCreateTeamUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createTeamBody)\n }\n);}\n\n\n\nexport const getQueryTeamsUrl = (params?: QueryTeamsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/teams/query?${stringifiedParams}` : `${getApiBaseUrl()}/teams/query`\n}\n\n/**\n * Returns a page of a project's teams.\n *\n * Pass the response's `next_page_token` as `page_token` to fetch the next\n * page. `project_id` names the project to list; without it, the credential's\n * own project is listed.\n * @summary Query teams\n */\nexport const queryTeams = async (queryTeamsBody: QueryTeamsBody,\n params?: QueryTeamsParams, options?: Parameters<typeof customFetch>[1]): Promise<QueryTeams200> => {\n\n return customFetch<QueryTeams200>(getQueryTeamsUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(queryTeamsBody)\n }\n);}\n\n\n\nexport const getGetTeamUrl = (teamId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/teams/${encodeURIComponent(String(teamId))}`\n}\n\n/**\n * Returns a team, a group of users inside a project, by ID.\n *\n * A deactivated team is still returned, with status `deactivated`.\n * @summary Get a team by ID\n */\nexport const getTeam = async (teamId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetTeam200> => {\n\n return customFetch<GetTeam200>(getGetTeamUrl(teamId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getDeactivateTeamUrl = (teamId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/teams/${encodeURIComponent(String(teamId))}`\n}\n\n/**\n * Deactivates a team and removes its memberships.\n *\n * The team is kept rather than erased: `getTeam` (`GET /teams/{team_id}`) still returns it with\n * status `deactivated`. The users whose lifecycle the team owns are\n * deactivated with it.\n *\n * The request is idempotent. Deleting a team that is already deactivated\n * or does not exist succeeds without changing anything.\n *\n * A team that still owns a project is refused with `409 team.owns_project`.\n * Deactivating it would leave the project owned by a deactivated team and so\n * unmanageable. No endpoint ends a team's ownership of a project yet, so for\n * now such a team cannot be deactivated through the API.\n * @summary Deactivate a team\n */\nexport const deactivateTeam = async (teamId: string, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getDeactivateTeamUrl(teamId),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\n\nexport const getUpdateTeamUrl = (teamId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/teams/${encodeURIComponent(String(teamId))}`\n}\n\n/**\n * Renames an active team.\n *\n * Only active teams can be updated. A deactivated team answers `404`. The new\n * name must be unique within the project, and a taken name answers `409`:\n * choose another name.\n * @summary Update a team\n */\nexport const updateTeam = async (teamId: string,\n updateTeamBody: UpdateTeamBody, options?: Parameters<typeof customFetch>[1]): Promise<UpdateTeam200> => {\n\n return customFetch<UpdateTeam200>(getUpdateTeamUrl(teamId),\n {\n ...options,\n method: 'PATCH',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(updateTeamBody)\n }\n);}\n\n\n\nexport const getSearchUrl = (params?: SearchParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/search?${stringifiedParams}` : `${getApiBaseUrl()}/search`\n}\n\n/**\n * Finds the resources of one project, or of the projects a person can act on, that match a text, across resource types.\n *\n * `query` is what the person typed and `types` names the kinds of result to\n * look for; only those are searched. Each result is a reference: its `type`,\n * its `id`, its `project_id`, a `title` and sometimes a `subtitle`. Read the\n * resource itself with the type's own operation, for example `getUser`\n * (`GET /users/{user_id}`) or `getTeam` (`GET /teams/{team_id}`), in the\n * result's project.\n *\n * What a type matches on:\n * - `user`: the start of the value they carry as `identifier` or of a part\n * of their `display` name, from three characters on\n * - `team`: its name\n * - `schema`: the `title` and the `objectType` of a user schema\n * - `flow_definition`: its name\n * - `idp`: the `slug` and the `display_name` of an identity provider\n * connection\n *\n * A user matches from the start of a value. Every other type matches from\n * the start of a name or of a word in it, so `staff` finds \"Partner Staff\"\n * and `sso` finds `partner-sso`. Matching ignores case. A `query` that is the\n * `id` of a resource of a requested type finds that one. A schema and a flow\n * definition are found at their newest revision.\n *\n * `project_id` names the project to search. Without it, a project secret\n * searches its own project, and a console session searches the projects the\n * person can act on: the ones `listMyProjects` (`GET /users/me/projects`)\n * lists, at most the newest 10 by when each was created (`order=desc`).\n * `more_projects` says the person can act on more than that; search one of\n * the others by naming it. A caller with access to part of a project finds\n * only what that access covers.\n *\n * Authenticate with the project secret (`oauth2`) or a console session cookie\n * (`sessionCookie`). A preview secret is refused, as on every management\n * operation.\n *\n * Results come best match first, at most `limit_per_type` of each type\n * across every searched project, and types can be mixed in the order.\n * `incomplete_types` lists the types that have more to show: page those with\n * the type's own list, such as `queryUsers` (`POST /users/query`) or\n * `queryTeams` (`POST /teams/query`).\n *\n * How text is matched and ranked can change, and later versions can match\n * more of a resource. Treat the results as suggestions; to filter by an exact\n * rule, use the type's own list.\n * @summary Search projects\n */\nexport const search = async (searchBody: SearchBody,\n params?: SearchParams, options?: Parameters<typeof customFetch>[1]): Promise<Search200> => {\n\n return customFetch<Search200>(getSearchUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(searchBody)\n }\n);}\n\n\n\nexport const getPublishBrandingUrl = (params: PublishBrandingParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/branding?${stringifiedParams}` : `${getApiBaseUrl()}/branding`\n}\n\n/**\n * Publishes a new immutable branding revision for the project, and records a\n * `branding.created` event. Branding revisions cannot be updated or deleted.\n * Every edit publishes a new revision. Flow responses carry the branding\n * revision the request's release pins.\n *\n * The `id` of the new revision is the revision ID a release pins for\n * `kind: branding`.\n *\n * The `liquid_template` is validated lexically on save (size, encoding,\n * banned patterns such as `<script>` tags, inline event handlers, and the\n * `| raw` filter). Authoritative LiquidJS validation runs at authoring\n * time, in `zitadel deploy` and `zitadel deploy --dry-run`.\n * @summary Publish a branding revision\n */\nexport const publishBranding = async (publishBrandingBody: PublishBrandingBody,\n params: PublishBrandingParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishBranding201> => {\n\n return customFetch<PublishBranding201>(getPublishBrandingUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(publishBrandingBody)\n }\n);}\n\n\n\nexport const getListBrandingUrl = (params: ListBrandingParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/branding?${stringifiedParams}` : `${getApiBaseUrl()}/branding`\n}\n\n/**\n * Lists a project's branding revisions, newest first, paginated with a cursor.\n * The first entry of the first page is the newest revision.\n *\n * Every publish adds a revision, so the list grows without bound. Pass\n * `next_page_token` back as `page_token` to read the next page.\n *\n * The `id` of an entry is the revision ID that `getBranding` (`GET /branding/{branding_id}`) takes and\n * that a release pins for `kind: branding`.\n * @summary List branding revisions\n */\nexport const listBranding = async (params: ListBrandingParams, options?: Parameters<typeof customFetch>[1]): Promise<ListBranding200> => {\n\n return customFetch<ListBranding200>(getListBrandingUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetBrandingUrl = (brandingId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/branding/${encodeURIComponent(String(brandingId))}`\n}\n\n/**\n * Returns one branding revision, including its stored configuration. Pass the\n * `id` that `publishBranding` (`POST /branding`) or `listBranding` (`GET /branding`) returns.\n * @summary Get a branding revision by ID\n */\nexport const getBranding = async (brandingId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetBranding200> => {\n\n return customFetch<GetBranding200>(getGetBrandingUrl(brandingId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetOAuthSettingsUrl = (oauthSettingsId: string,) => {\n\n\n\n\n return `${getApiBaseUrl()}/oauth_settings/${encodeURIComponent(String(oauthSettingsId))}`\n}\n\n/**\n * Returns one OAuth settings revision, including its stored settings. Pass\n * the `revision_id` of the `kind: oauth` pointer on a release, which\n * `buildRelease` (`POST /releases/build`) and `getRelease`\n * (`GET /releases/{release_id}`) return.\n *\n * A release is the only writer of OAuth settings, so there is no operation\n * that publishes a revision on its own: put `oauth` in the bundle that\n * `buildRelease` takes.\n * @summary Get an OAuth settings revision by ID\n */\nexport const getOAuthSettings = async (oauthSettingsId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetOAuthSettings200> => {\n\n return customFetch<GetOAuthSettings200>(getGetOAuthSettingsUrl(oauthSettingsId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getPublishIdpUrl = (params: PublishIdpParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps?${stringifiedParams}` : `${getApiBaseUrl()}/idps`\n}\n\n/**\n * Creates or revises an identity provider, an external sign-in such as\n * Google, from its connection document. If the slug does not already exist,\n * a new identity provider is created. If one with that slug already exists,\n * a revision is created.\n *\n * A revision gets a new `revision_id` and does not modify the identity\n * provider's `id`. Identity links, which tie a user to an account at the\n * provider, keep resolving. Releases and authentication attempts stay pinned\n * to the revision they captured.\n *\n * Identity fields are fixed for the life of the identity provider and a\n * revision that changes one is rejected: `protocol`, `subject_claim`, and\n * `issuer`, the field that names the authority. Their values decide which provider\n * account a stored subject belongs to, so changing one would silently\n * repoint existing identities at a different provider.\n *\n * `subject_claim` is optional, and `sub` is used as the default value. If a\n * revision updates `subject_claim` to a different value than the one set\n * during creation, the request is rejected.\n *\n * OIDC is the only protocol.\n *\n * The document is validated against the `idp-connection.json` schema before\n * anything is stored. The rules the server applies when it starts a sign-in\n * then run on the document, so a document that could never start one is\n * refused here with `idp.endpoints_partial`: the OIDC block sets an endpoint\n * without the others. Set no endpoint, and discovery fills them, or set\n * `authorization_endpoint`, `token_endpoint`, `jwks_uri`, and\n * `userinfo_endpoint`. `userinfo_endpoint` may be left out when\n * `id_token_mapping` is on, but setting it alone still counts as setting an\n * endpoint. The details list the missing endpoints.\n *\n * A refused document stores nothing, and on a revise the current revision\n * stays unchanged.\n * @summary Create or revise an identity provider\n */\nexport const publishIdp = async (publishIdpBody: PublishIdpBody,\n params: PublishIdpParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishIdp200 | PublishIdp201> => {\n\n return customFetch<PublishIdp200 | PublishIdp201>(getPublishIdpUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(publishIdpBody)\n }\n);}\n\n\n\nexport const getQueryIdpsUrl = (params: QueryIdpsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps/query?${stringifiedParams}` : `${getApiBaseUrl()}/idps/query`\n}\n\n/**\n * Returns the identity providers of a project, external sign-ins such as\n * Google, paginated with a cursor. Each identity provider appears once, with\n * its newest revision.\n * @summary Query identity providers\n */\nexport const queryIdps = async (queryIdpsBody: QueryIdpsBody,\n params: QueryIdpsParams, options?: Parameters<typeof customFetch>[1]): Promise<QueryIdps200> => {\n\n return customFetch<QueryIdps200>(getQueryIdpsUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(queryIdpsBody)\n }\n);}\n\n\n\nexport const getGetIdpUrl = (idpId: string,\n params: GetIdpParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps/${encodeURIComponent(String(idpId))}?${stringifiedParams}` : `${getApiBaseUrl()}/idps/${encodeURIComponent(String(idpId))}`\n}\n\n/**\n * Returns an identity provider, an external sign-in such as Google, by ID at\n * its newest revision. `listIdpRevisions` (`GET /idps/{idp_id}/revisions`) lists\n * every revision of it.\n *\n * The lookup is scoped to the project in `project_id`.\n * @summary Get an identity provider by ID\n */\nexport const getIdp = async (idpId: string,\n params: GetIdpParams, options?: Parameters<typeof customFetch>[1]): Promise<GetIdp200> => {\n\n return customFetch<GetIdp200>(getGetIdpUrl(idpId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListIdpRevisionsUrl = (idpId: string,\n params: ListIdpRevisionsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps/${encodeURIComponent(String(idpId))}/revisions?${stringifiedParams}` : `${getApiBaseUrl()}/idps/${encodeURIComponent(String(idpId))}/revisions`\n}\n\n/**\n * Lists every revision of one identity provider, an external sign-in such as\n * Google, newest first, paginated with a cursor. The order is fixed, so there\n * is no `sorting`.\n *\n * The lookup is scoped to the project in `project_id`.\n * @summary List the revisions of an identity provider\n */\nexport const listIdpRevisions = async (idpId: string,\n params: ListIdpRevisionsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListIdpRevisions200> => {\n\n return customFetch<ListIdpRevisions200>(getListIdpRevisionsUrl(idpId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetIdpRevisionUrl = (revisionId: string,\n params: GetIdpRevisionParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps/revisions/${encodeURIComponent(String(revisionId))}?${stringifiedParams}` : `${getApiBaseUrl()}/idps/revisions/${encodeURIComponent(String(revisionId))}`\n}\n\n/**\n * Returns one revision of an identity provider, an external sign-in such as\n * Google, by its `revision_id`, the value an authentication attempt or a\n * release pins.\n *\n * The lookup is scoped to the project in `project_id`.\n * @summary Get a revision of an identity provider\n */\nexport const getIdpRevision = async (revisionId: string,\n params: GetIdpRevisionParams, options?: Parameters<typeof customFetch>[1]): Promise<GetIdpRevision200> => {\n\n return customFetch<GetIdpRevision200>(getGetIdpRevisionUrl(revisionId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getPublishApplicationUrl = (params: PublishApplicationParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/applications?${stringifiedParams}` : `${getApiBaseUrl()}/applications`\n}\n\n/**\n * Creates or revises a registered application that authenticates its users\n * via Zitadel. If the slug does not already exist in the project, a new\n * application is created. If one with that slug already exists, a revision\n * is created.\n *\n * A revision gets a new `revision_id` and does not modify the application's\n * `id`. Sending an unchanged document also creates a revision. Each client\n * is matched to the stored one by its slug and keeps its `client_id`: a\n * revision that changes a client's `client_id` is rejected with\n * `app.field_immutable`. A revision keeps every client of the\n * stored document: one that omits a client is also rejected with\n * `app.field_immutable`, since removing a client is not available\n * yet. A client with a new slug is a new client. It takes the `client_id`\n * the document supplies, or the server generates one, and every response\n * carries it in `definition`. A `client_id` another client of the project\n * holds, or ever held, is rejected with `app.client_id_taken`.\n *\n * Every new client gets a secret, generated by the server and returned once\n * in `client_secrets`. The server stores only its hash, so no later read\n * returns it.\n *\n * The document is validated against the `application.json` schema before\n * anything is stored, and then against the rules the authorization server\n * applies: `refresh_token` comes with `authorization_code`, a client with\n * `authorization_code` has at least one redirect URI, and each redirect\n * URI meets the rules `redirect_uris` states. A document that breaks one\n * is refused with `app.invalid`, whose details identify the\n * setting.\n *\n * If the document is refused, no change is stored and an existing\n * application keeps its current revision.\n * @summary Create or revise a registered application\n */\nexport const publishApplication = async (publishApplicationBody: PublishApplicationBody,\n params: PublishApplicationParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishApplication200 | PublishApplication201> => {\n\n return customFetch<PublishApplication200 | PublishApplication201>(getPublishApplicationUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(publishApplicationBody)\n }\n);}\n\n\n\nexport const getGetApplicationUrl = (applicationId: string,\n params: GetApplicationParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/applications/${encodeURIComponent(String(applicationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/applications/${encodeURIComponent(String(applicationId))}`\n}\n\n/**\n * Returns an application that authenticates its users via Zitadel, by ID\n * at its newest revision, with each client's `client_id` in `definition`. It\n * never returns a client secret: `publishApplication` (`POST /applications`)\n * shows one once, when it creates the client.\n *\n * The lookup is scoped to the project in `project_id`.\n * @summary Get an application by ID\n */\nexport const getApplication = async (applicationId: string,\n params: GetApplicationParams, options?: Parameters<typeof customFetch>[1]): Promise<GetApplication200> => {\n\n return customFetch<GetApplication200>(getGetApplicationUrl(applicationId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListPoliciesUrl = (params: ListPoliciesParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/policies?${stringifiedParams}` : `${getApiBaseUrl()}/policies`\n}\n\n/**\n * Lists the project's policies, one per operation, each as its newest\n * revision.\n *\n * A policy holds a project's rules for one operation, such as setting a\n * password. The list is ordered by `created_at` (first publish) and then\n * `id`. Filter by `operation` to read the policy of one operation; a project\n * that never published one gets an empty list.\n *\n * The lookup is scoped to the project in `project_id`.\n * @summary List policies\n */\nexport const listPolicies = async (params: ListPoliciesParams, options?: Parameters<typeof customFetch>[1]): Promise<ListPolicies200> => {\n\n return customFetch<ListPolicies200>(getListPoliciesUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getPublishPolicyUrl = (params: PublishPolicyParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/policies?${stringifiedParams}` : `${getApiBaseUrl()}/policies`\n}\n\n/**\n * Publishes the project's policy for an operation as a new immutable\n * revision, creating the policy on its first publish. A revision applies\n * once a deployed release pins it. Nothing already stored is\n * re-evaluated, so a stricter password policy applies the next time a\n * password is set.\n *\n * A policy holds a project's rules for one operation, such as setting a\n * password. The first publish records a `policy.created` event and every\n * later one a `policy.updated` event.\n *\n * The request is typed by `operation`. An unknown operation or setting, or\n * a value of the wrong type or outside its bounds, answers `req.invalid`\n * like any malformed request.\n *\n * The operation's template then checks the config again, together with the\n * rules that relate settings to each other (a `min_length` above\n * `max_length`), and answers `pol.invalid`. Its `details.details.violations`\n * lists everything that failed, settings first, then rules.\n * `{\"setting\": \"min_length\"}` names one setting. `{\"config_rule\":\n * \"min_length_not_above_max_length\", \"settings\": [\"min_length\",\n * \"max_length\"]}` names a rule across settings, with the settings it reads.\n * Fix what the violations list and publish again. To check a config without\n * publishing it, call `evaluatePolicy` (`POST /policies/evaluate`).\n *\n * A setting left out is off, and `{}` switches every rule off; there are no\n * defaults.\n * @summary Publish a policy\n */\nexport const publishPolicy = async (publishPolicyBody: PublishPolicyBody,\n params: PublishPolicyParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishPolicy201> => {\n\n return customFetch<PublishPolicy201>(getPublishPolicyUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(publishPolicyBody)\n }\n);}\n\n\n\nexport const getEvaluatePolicyUrl = (params: EvaluatePolicyParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/policies/evaluate?${stringifiedParams}` : `${getApiBaseUrl()}/policies/evaluate`\n}\n\n/**\n * Evaluates a policy config against one request, without side effects, and\n * answers the decision the operation would reach. A policy holds a\n * project's rules for one operation, such as setting a password.\n *\n * Nothing is read from or written to the project. The config is the one in\n * the body, checked exactly as a publish checks it, so an invalid config\n * answers `pol.invalid` with the same violations. Fix the settings the\n * violations list and send the request again.\n *\n * `input` is what the operation's request carries, in the operation's own\n * terms (a password, not its length). The server derives what the policy\n * checks with the code the live operation runs, guards included. `facts`\n * states what the operation would look up at runtime, such as whether the\n * candidate matches one of the user's kept passwords.\n *\n * The decision and the names of the failed rules hold wherever the\n * operation runs. `code` and `violations` are what an API call answers. A\n * login flow shows the same rules as field errors on the password field\n * (`error.x-auth-methods#password_<rule>` in `step.error`).\n *\n * This operation does not choose which policy a project or release applies.\n * Read that policy, for example with `getPolicy` (`GET /policies/{policy_id}`), and pass its `config`.\n *\n * The caller needs read access to the project in `project_id`.\n * @summary Evaluate a policy\n */\nexport const evaluatePolicy = async (evaluatePolicyBody: EvaluatePolicyBody,\n params: EvaluatePolicyParams, options?: Parameters<typeof customFetch>[1]): Promise<EvaluatePolicy200> => {\n\n return customFetch<EvaluatePolicy200>(getEvaluatePolicyUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(evaluatePolicyBody)\n }\n);}\n\n\n\nexport const getGetPolicyUrl = (policyId: string,\n params: GetPolicyParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/policies/${encodeURIComponent(String(policyId))}?${stringifiedParams}` : `${getApiBaseUrl()}/policies/${encodeURIComponent(String(policyId))}`\n}\n\n/**\n * Returns a policy as its newest revision. A revision applies once a deployed\n * release pins it.\n *\n * A policy holds a project's rules for one operation, such as setting a\n * password. Pass the `id` that `listPolicies` (`GET /policies`) or `publishPolicy` (`POST /policies`) returns.\n *\n * The lookup is scoped to the project in `project_id`: a policy of another\n * project answers not found exactly as an unknown ID does.\n * @summary Get a policy by ID\n */\nexport const getPolicy = async (policyId: string,\n params: GetPolicyParams, options?: Parameters<typeof customFetch>[1]): Promise<GetPolicy200> => {\n\n return customFetch<GetPolicy200>(getGetPolicyUrl(policyId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListPolicyRevisionsUrl = (policyId: string,\n params: ListPolicyRevisionsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/policies/${encodeURIComponent(String(policyId))}/revisions?${stringifiedParams}` : `${getApiBaseUrl()}/policies/${encodeURIComponent(String(policyId))}/revisions`\n}\n\n/**\n * Lists every revision of one policy, newest first, one page at a time. The\n * order is fixed, so there is no `sorting`.\n *\n * Each publish of a policy adds a revision. Pass the policy `id` that\n * `listPolicies` (`GET /policies`) or `publishPolicy` (`POST /policies`) returns.\n *\n * The lookup is scoped to the project in `project_id`: a policy of another\n * project answers not found exactly as an unknown ID does.\n * @summary List the revisions of a policy\n */\nexport const listPolicyRevisions = async (policyId: string,\n params: ListPolicyRevisionsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListPolicyRevisions200> => {\n\n return customFetch<ListPolicyRevisions200>(getListPolicyRevisionsUrl(policyId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetPolicyRevisionUrl = (revisionId: string,\n params: GetPolicyRevisionParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/policies/revisions/${encodeURIComponent(String(revisionId))}?${stringifiedParams}` : `${getApiBaseUrl()}/policies/revisions/${encodeURIComponent(String(revisionId))}`\n}\n\n/**\n * Returns one revision of a policy, the newest or an older one.\n *\n * Pass the `revision_id` that `publishPolicy` (`POST /policies`) or `listPolicyRevisions` (`GET /policies/{policy_id}/revisions`)\n * returns.\n *\n * The lookup is scoped to the project in `project_id`: a revision of another\n * project answers not found exactly as an unknown ID does.\n * @summary Get a policy revision by ID\n */\nexport const getPolicyRevision = async (revisionId: string,\n params: GetPolicyRevisionParams, options?: Parameters<typeof customFetch>[1]): Promise<GetPolicyRevision200> => {\n\n return customFetch<GetPolicyRevision200>(getGetPolicyRevisionUrl(revisionId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCreateReleaseUrl = (params: CreateReleaseParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/releases?${stringifiedParams}` : `${getApiBaseUrl()}/releases`\n}\n\n/**\n * Creates a release from existing revisions, given as `(kind, revision_id)`\n * pairs. To build one from files on disk, use `buildRelease` (`POST /releases/build`)\n * (`POST /releases/build`).\n *\n * A release is a snapshot of the project's configuration: it pins one\n * revision of each resource it includes, and it is not tied to an origin.\n * Take each `revision_id` from the operation that created the revision, for\n * example the `id` that `publishBranding` (`POST /branding`) or `publishFlowDefinition` (`POST /flow_definitions`) returns.\n *\n * Each revision must exist in the project and is recorded under the handle\n * it declares. The release must be complete and consistent:\n *\n * - Every handle its revisions name must be in the release: a flow's\n * `user_schema`, and the identity provider (IdP) connections named by a\n * flow step's `sso_providers` or a schema's `x-auth-methods.sso.providers`.\n * A missing one answers `rel.unresolved_reference`, naming the resource and\n * the handle, for example `flow_definition default-login: user_schema\n * human-user not found`. Add the missing revision to the request.\n * - Every flow is validated as on save, against the user schema revision in\n * the release. A flow that fails answers `rel.invalid`, with the reason in\n * `details`. Fix the flow and send the request again.\n *\n * The call is idempotent on the set of revisions: the same revisions with a\n * different `message` answer `200` with the existing release. A new release\n * answers `201`.\n *\n * Creating a release does not deploy it. Pass the returned `id` to\n * `createDeployment` (`POST /deployments`) to make the release live.\n * @summary Create a release\n */\nexport const createRelease = async (createReleaseBody: CreateReleaseBody,\n params: CreateReleaseParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateRelease200 | CreateRelease201> => {\n\n return customFetch<CreateRelease200 | CreateRelease201>(getCreateReleaseUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createReleaseBody)\n }\n);}\n\n\n\nexport const getListReleasesUrl = (params: ListReleasesParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/releases?${stringifiedParams}` : `${getApiBaseUrl()}/releases`\n}\n\n/**\n * Lists the project's releases, newest first. A release is a snapshot of the\n * project's configuration.\n *\n * Entries carry the digest, the metadata and `revoked_at`. The pinned set is\n * omitted: read one release with `getRelease` (`GET /releases/{release_id}`) to get its pointers.\n *\n * The `id` of an entry is the release ID that `getRelease`,\n * `revokeRelease` (`POST /releases/{release_id}/revoke`) and `createDeployment` (`POST /deployments`) take.\n *\n * `content_hash` looks a release up by its content, as the CLI does when a\n * person types the digest a transcript printed. The project holds at most\n * one release per digest, so the filtered list has one entry or none. An\n * unknown digest is an empty list rather than an error. Paths take the\n * `rel_` ID only, so use the matched entry's `id` there.\n * @summary List releases\n */\nexport const listReleases = async (params: ListReleasesParams, options?: Parameters<typeof customFetch>[1]): Promise<ListReleases200> => {\n\n return customFetch<ListReleases200>(getListReleasesUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getBuildReleaseUrl = (params: BuildReleaseParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/releases/build?${stringifiedParams}` : `${getApiBaseUrl()}/releases/build`\n}\n\n/**\n * Builds a release from the resources in `.zitadel/` as authored on disk,\n * grouped by kind, in one transaction.\n *\n * A release is a snapshot of the project's configuration. A failure anywhere\n * leaves no revision and no release. The caller records nothing. The CLI's\n * `deploy` command builds its release with this operation.\n *\n * If the project already holds a release with the same content, the same\n * `content_hash`, the request answers `200` with that release and allocates\n * nothing, however long ago it was built. Metadata is excluded from the\n * comparison, so the same content under a different `message` is the same\n * release.\n *\n * Otherwise every resource is compared with the project's newest revision of\n * the same handle. Unchanged content reuses that revision, and changed\n * content allocates a new one. The request answers `201` with the new\n * release. A policy whose config matches only an older revision allocates a\n * new one too, so the policy reads back as the config the build carried.\n *\n * A structurally malformed request is refused while decoding with\n * `req.invalid`, naming the offending fields. A well-formed bundle is then\n * checked resource by resource, as each kind's create endpoint checks it,\n * and every failure is reported at once. The request answers `400` with\n * `rel.invalid`, and `details.resources` lists each resource that failed.\n * Fix each listed resource and build again. A handle that resolves neither\n * in the bundle nor in the project answers `rel.unresolved_reference`,\n * naming the pointer and the handle. Add the missing resource to the bundle.\n *\n * Building writes revisions, so besides `release.write` it needs the write\n * scope of every kind the bundle carries a resource of: `schema.write`,\n * `flow_definition.write`, `branding.write`, `idp.write`, `policy.write`\n * and `oauth_settings.write`, as the per-kind create endpoints do. A missing scope answers `403` with\n * `rel.permission_denied`, naming the kind. Request a token with that scope.\n * An empty kind needs no scope.\n *\n * Building a release does not deploy it. A release is not tied to an origin,\n * and the same release can later be deployed to any number of origins\n * unchanged. Pass the returned `id` to `createDeployment` (`POST /deployments`).\n * @summary Build a release from files\n */\nexport const buildRelease = async (buildReleaseBody: BuildReleaseBody,\n params: BuildReleaseParams, options?: Parameters<typeof customFetch>[1]): Promise<BuildRelease200 | BuildRelease201> => {\n\n return customFetch<BuildRelease200 | BuildRelease201>(getBuildReleaseUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(buildReleaseBody)\n }\n);}\n\n\n\nexport const getGetReleaseUrl = (releaseId: string,\n params: GetReleaseParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/releases/${encodeURIComponent(String(releaseId))}?${stringifiedParams}` : `${getApiBaseUrl()}/releases/${encodeURIComponent(String(releaseId))}`\n}\n\n/**\n * Returns one release: its digest, its metadata, whether it was revoked, and\n * the `(kind, handle, revision_id)` tuples it pins. A release is a snapshot\n * of the project's configuration.\n *\n * The path takes the `rel_` ID only: the `id` that `createRelease` (`POST /releases`),\n * `buildRelease` (`POST /releases/build`) or `listReleases` (`GET /releases`) returns. To find a release from its\n * digest, list with the `content_hash` filter and read the matched entry's\n * `id`.\n *\n * The response does not embed resource content. Resolve each `revision_id`\n * through the per-kind read endpoints when the bytes are needed.\n *\n * The lookup is scoped to the project in `project_id`. A release ID\n * belonging to another project answers not found exactly as an unknown ID\n * does, so the endpoint cannot be used to probe for releases in projects the\n * caller cannot read.\n * @summary Get a release by ID\n */\nexport const getRelease = async (releaseId: string,\n params: GetReleaseParams, options?: Parameters<typeof customFetch>[1]): Promise<GetRelease200> => {\n\n return customFetch<GetRelease200>(getGetReleaseUrl(releaseId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getRevokeReleaseUrl = (releaseId: string,\n params: RevokeReleaseParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/releases/${encodeURIComponent(String(releaseId))}/revoke?${stringifiedParams}` : `${getApiBaseUrl()}/releases/${encodeURIComponent(String(releaseId))}/revoke`\n}\n\n/**\n * Revokes a release, so that its content is never served again. Pass the\n * `id` that `createRelease` (`POST /releases`), `buildRelease` (`POST /releases/build`) or `listReleases` (`GET /releases`) returns. It\n * records a `release.revoked` event.\n *\n * From then on the release cannot be deployed. Every path that would serve\n * it refuses it with `rel.revoked`, including a build that pins its digest.\n *\n * A release that any origin still serves cannot be revoked. An origin serves\n * the release of the newest deployment to it, so the call answers `409` with\n * `rel.in_use`, naming each such origin, that deployment and whether the\n * origin is primary or a preview. Deploy another release to a primary origin\n * or roll it back, and remove a preview, then revoke. Revoking therefore\n * never takes an origin down. Deployments that named the release earlier stay in\n * the history.\n *\n * The call is idempotent: revoking a release that is already revoked answers\n * `200` with the release unchanged, and `revoked_at` still names the first\n * revocation. There is no un-revoke. To serve that configuration again,\n * change it and build a new release: rebuilding unchanged content returns\n * the same revoked release.\n *\n * The call takes no body. The lookup is scoped to the project in\n * `project_id`, so a release ID of another project answers not found exactly\n * as an unknown ID does.\n * @summary Revoke a release\n */\nexport const revokeRelease = async (releaseId: string,\n params: RevokeReleaseParams, options?: Parameters<typeof customFetch>[1]): Promise<RevokeRelease200> => {\n\n return customFetch<RevokeRelease200>(getRevokeReleaseUrl(releaseId,params),\n {\n ...options,\n method: 'POST'\n\n\n }\n);}\n\n\n\nexport const getCreateGrantUrl = (params: CreateGrantParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/grants?${stringifiedParams}` : `${getApiBaseUrl()}/grants`\n}\n\n/**\n * Creates a grant that gives a user or a team the `project.viewer`, `project.editor` or `project.admin` role on a project.\n *\n * The project is the one named by the `project_id` query parameter. Name the\n * principal with `user` (`user_id` or `identifier`) or `team` (`team_id` or\n * `name`). The `id` in the response (`asgn_<opaque>`) is the grant ID that\n * `getGrant` (`GET /grants/{grant_id}`) and `deleteGrant` (`DELETE /grants/{grant_id}`) take. Owning-team (`project.team`) grants are not\n * created here: a claim, which attaches a project to a team, creates them.\n *\n * An unrevoked grant with the same principal and relation holds that binding\n * even after `expires_at`. Revoke it with `deleteGrant` before you create it\n * again.\n *\n * Create does not accept `expand`. The `user_id` and team locators return `201`,\n * whose `user` and `team` carry only `user_id` and `team_id`. They still answer\n * `404` or `409` when the principal is missing or the grant already exists.\n * Creating by `user.identifier` answers `202` with no body on every outcome.\n * Granting the session caller's own user is `grant.invalid` on either user\n * locator. A `201` grant names its user or team by ID only: read it back\n * with `getGrant` for the identifier and display name. A `202` returns no\n * grant ID: find the grant with `queryGrants` (`POST /grants/query`), filtered by `user_id`.\n *\n * Authenticate with a project secret (`oauth2`) or a console session cookie\n * (`sessionCookie`). A session caller is authorized as the signed-in person\n * against the target project, even when the session belongs to another project.\n * Cookie requests follow that scheme's CSRF rules.\n * @summary Create a grant\n */\nexport const createGrant = async (createGrantBody: CreateGrantBody,\n params: CreateGrantParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateGrant201 | void> => {\n\n return customFetch<CreateGrant201 | void>(getCreateGrantUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createGrantBody)\n }\n);}\n\n\n\nexport const getQueryGrantsUrl = (params: QueryGrantsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/grants/query?${stringifiedParams}` : `${getApiBaseUrl()}/grants/query`\n}\n\n/**\n * Returns a page of a project's grants.\n *\n * Only unrevoked grants this API manages are listed, which bind a user or team\n * to the viewer, editor or admin role. Expired grants are included, so a client\n * can revoke them with `deleteGrant` (`DELETE /grants/{grant_id}`) before it grants the same binding again.\n * Project-secret setup (`sk_proj`) and owning-team (`relation=team`) rows are\n * not returned. Requires `project.read`.\n *\n * `expand: [\"principal\"]` adds envelope fields on `user` and `team`. Expanding\n * requires read access to the principal's home project (the platform project\n * when the server has one), for project secrets and for console sessions alike.\n * A caller without it gets `403` `user.permission_denied`.\n *\n * Authenticate with a project secret (`oauth2`) or a console session cookie\n * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.\n * @summary Query grants\n */\nexport const queryGrants = async (queryGrantsBody: QueryGrantsBody,\n params: QueryGrantsParams, options?: Parameters<typeof customFetch>[1]): Promise<QueryGrants200> => {\n\n return customFetch<QueryGrants200>(getQueryGrantsUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(queryGrantsBody)\n }\n);}\n\n\n\nexport const getGetGrantUrl = (grantId: string,\n params: GetGrantParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n const explodeParameters = [\"expand\"];\n\n if (Array.isArray(value) && explodeParameters.includes(key)) {\n value.forEach((v) => {\n normalizedParams.append(key, v === null ? 'null' : String(v));\n });\n return;\n }\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/grants/${encodeURIComponent(String(grantId))}?${stringifiedParams}` : `${getApiBaseUrl()}/grants/${encodeURIComponent(String(grantId))}`\n}\n\n/**\n * Returns a grant by ID, when this API manages it and it has not been revoked.\n *\n * This API manages grants that bind a user or team to the viewer, editor or\n * admin role. An expired grant is still returned, so you can revoke it with\n * `deleteGrant` (`DELETE /grants/{grant_id}`) before you grant the same binding again. Authorization still\n * ignores expired grants. Send `project_id` as well as the grant ID.\n * Misses, revoked grants, project-secret setup rows (`sk_proj`), owning-team\n * (`relation=team`) rows and grants of another project all return `404`.\n *\n * `expand=principal` adds envelope fields on `user` or `team`. Expanding\n * requires read access to the principal's home project (the platform project\n * when the server has one), for project secrets and for console sessions alike.\n * A caller without it gets `403` `user.permission_denied`.\n *\n * Authenticate with a project secret (`oauth2`) or a console session cookie\n * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.\n * @summary Get a grant by ID\n */\nexport const getGrant = async (grantId: string,\n params: GetGrantParams, options?: Parameters<typeof customFetch>[1]): Promise<GetGrant200> => {\n\n return customFetch<GetGrant200>(getGetGrantUrl(grantId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getDeleteGrantUrl = (grantId: string,\n params: DeleteGrantParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/grants/${encodeURIComponent(String(grantId))}?${stringifiedParams}` : `${getApiBaseUrl()}/grants/${encodeURIComponent(String(grantId))}`\n}\n\n/**\n * Revokes a grant this API manages and emits `authz.revoked`.\n *\n * A revoked grant cannot be restored: create a new one. Already-revoked, missing,\n * project-secret setup and owning-team grants return `404`. Expired grants can\n * still be revoked, so the binding can be reused.\n *\n * Authenticate with a project secret (`oauth2`) or a console session cookie\n * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.\n * @summary Revoke a grant\n */\nexport const deleteGrant = async (grantId: string,\n params: DeleteGrantParams, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getDeleteGrantUrl(grantId,params),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\n\nexport const getCreateInvitationUrl = (params: CreateInvitationParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations?${stringifiedParams}` : `${getApiBaseUrl()}/invitations`\n}\n\n/**\n * Creates an invitation for a project, or replaces an existing one, and\n * returns the invitation and its one-shot link.\n *\n * Send `type` and the object named after it. `project_member` takes\n * `relation` (`viewer`, `editor` or `admin`). `team_member` takes `team_id`\n * and `role`, and answers `501` `not_implemented` until team invitations\n * ship. Optional `metadata.name` (1–200 characters) labels who the link is\n * for. Optional `replaces_invitation_id` replaces that invitation: the new\n * row keeps the original's `journey_id`, and the original is deleted in the\n * same transaction unless it was accepted.\n *\n * The `link` appears only in this response. Share it out of band; whoever\n * opens it and is signed in can redeem the role. It expires in 72 hours.\n * Refused for an unclaimed project, on a server without a platform project,\n * and when the project already has 100 pending unexpired invitations.\n *\n * Authenticate with a project secret (`oauth2`) or a console session cookie\n * (`sessionCookie`). Creation needs the same project `admin` check as\n * `createGrant` (`POST /grants`). Cookie requests follow that scheme's CSRF\n * rules.\n * @summary Create an invitation\n */\nexport const createInvitation = async (createInvitationBody: CreateInvitationBody,\n params: CreateInvitationParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateInvitation201> => {\n\n return customFetch<CreateInvitation201>(getCreateInvitationUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createInvitationBody)\n }\n);}\n\n\n\nexport const getListInvitationsUrl = (params: ListInvitationsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n const explodeParameters = [\"status\",\"expand\"];\n\n if (Array.isArray(value) && explodeParameters.includes(key)) {\n value.forEach((v) => {\n normalizedParams.append(key, v === null ? 'null' : String(v));\n });\n return;\n }\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations?${stringifiedParams}` : `${getApiBaseUrl()}/invitations`\n}\n\n/**\n * Lists a project's invitations, newest first, in any status, paginated with\n * `limit` and `page_token`.\n *\n * Optional `status` and `type` filters narrow the page. Repeat `status` to\n * match any of several statuses, for example\n * `status=pending&status=expired&status=rejected`. `expired` is derived on\n * read from `expires_at`. `expand=inviter` adds `inviter` to each\n * invitation. Authenticate with a project secret (`oauth2`) or\n * a console session cookie (`sessionCookie`). Listing needs the same project\n * `admin` check as `createGrant` (`POST /grants`).\n * @summary List invitations\n */\nexport const listInvitations = async (params: ListInvitationsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListInvitations200> => {\n\n return customFetch<ListInvitations200>(getListInvitationsUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getLookupInvitationUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/invitations/lookup`\n}\n\n/**\n * Returns a lean view of the invitation for the signed-in accept page:\n * project, role, inviter and expiry.\n *\n * Send the plaintext token from the invitation link fragment. Every unknown\n * or finished token answers the same opaque `404`. Authenticate with a\n * platform-project user session cookie (`sessionCookie`). Lookup is a read:\n * same-origin cookie requests need no `X-Zitadel-CSRF` token (accept and\n * reject still do).\n * @summary Look up an invitation by token\n */\nexport const lookupInvitation = async (lookupInvitationBody: LookupInvitationBody, options?: Parameters<typeof customFetch>[1]): Promise<LookupInvitation200> => {\n\n return customFetch<LookupInvitation200>(getLookupInvitationUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(lookupInvitationBody)\n }\n);}\n\n\n\nexport const getAcceptInvitationUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/invitations/accept`\n}\n\n/**\n * Accepts a pending invitation for the signed-in user and returns the updated\n * invitation.\n *\n * Send the plaintext token from the invitation link fragment. Acceptance\n * grants the invitation's role (a project grant for `project_member`) when\n * the invitation is pending and unexpired, the project is active and claimed,\n * and the creator still holds `admin` unless `created_by` is null. The\n * inviter cannot accept their own invitation. Every unknown or finished token\n * answers the same opaque `404`.\n *\n * Authenticate with a platform-project user session cookie (`sessionCookie`).\n * Cookie requests follow that scheme's CSRF rules.\n * @summary Accept an invitation\n */\nexport const acceptInvitation = async (acceptInvitationBody: AcceptInvitationBody, options?: Parameters<typeof customFetch>[1]): Promise<AcceptInvitation200> => {\n\n return customFetch<AcceptInvitation200>(getAcceptInvitationUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(acceptInvitationBody)\n }\n);}\n\n\n\nexport const getRejectInvitationUrl = () => {\n\n\n\n\n return `${getApiBaseUrl()}/invitations/reject`\n}\n\n/**\n * Declines a pending invitation for the signed-in user and returns the\n * updated invitation with status `rejected`.\n *\n * Send the plaintext token from the invitation link fragment. The\n * invitation keeps its metadata for administrators, but this response\n * returns `metadata` as null. The inviter cannot decline their own invitation; an administrator\n * cancels it instead. Every unknown or finished token answers the same\n * opaque `404`.\n * Authenticate with a platform-project user session cookie (`sessionCookie`).\n * Cookie requests follow that scheme's CSRF rules.\n * @summary Decline an invitation\n */\nexport const rejectInvitation = async (rejectInvitationBody: RejectInvitationBody, options?: Parameters<typeof customFetch>[1]): Promise<RejectInvitation200> => {\n\n return customFetch<RejectInvitation200>(getRejectInvitationUrl(),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(rejectInvitationBody)\n }\n);}\n\n\n\nexport const getGetInvitationUrl = (invitationId: string,\n params: GetInvitationParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}`\n}\n\n/**\n * Returns one invitation by ID for the project named by `project_id`.\n *\n * The response never includes the redeem token or the create-time `link`.\n * Authenticate with a project secret (`oauth2`) or a console session cookie\n * (`sessionCookie`). Reading needs the same project `admin` check as\n * `createGrant` (`POST /grants`).\n * @summary Get an invitation\n */\nexport const getInvitation = async (invitationId: string,\n params: GetInvitationParams, options?: Parameters<typeof customFetch>[1]): Promise<GetInvitation200> => {\n\n return customFetch<GetInvitation200>(getGetInvitationUrl(invitationId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getCancelInvitationUrl = (invitationId: string,\n params: CancelInvitationParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}`\n}\n\n/**\n * Deletes a pending, expired or rejected invitation, with its metadata. A\n * pending invitation's link can no longer be redeemed. An accepted\n * invitation answers the same opaque `404` as a miss.\n *\n * Authenticate with a project secret (`oauth2`) or a console session cookie\n * (`sessionCookie`). Cancelling needs the same project `admin` check as\n * `createGrant` (`POST /grants`). Cookie requests follow that scheme's CSRF\n * rules.\n * @summary Cancel an invitation\n */\nexport const cancelInvitation = async (invitationId: string,\n params: CancelInvitationParams, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getCancelInvitationUrl(invitationId,params),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\n\nexport const getListEventsUrl = (params: ListEventsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n const explodeParameters = [\"category\",\"event_type\",\"operation_id\",\"status_class\"];\n\n if (Array.isArray(value) && explodeParameters.includes(key)) {\n value.forEach((v) => {\n normalizedParams.append(key, v === null ? 'null' : String(v));\n });\n return;\n }\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/events?${stringifiedParams}` : `${getApiBaseUrl()}/events`\n}\n\n/**\n * Lists a project's audit events, newest first. Pass `order=asc` for oldest\n * first. Requires `events.read`.\n *\n * A project that is not claimed yet returns an empty list: its events are\n * stored but stay invisible until the\n * [claim](https://preview.zitadel.com/docs/concepts/project-team-user#claim) succeeds. The deployment's\n * platform operators read them from the start.\n *\n * Team-scoped credentials see only the events whose `team_id` matches the\n * credential's team. Team-scoped credentials are not issued today.\n *\n * Each item carries an `event_type` that says which type of event it is, and\n * the matching `payload`. To read one event, pass its `id` to `getEvent` (`GET /events/{event_id}`).\n *\n * Filters combine. These are answered from an index and fill their pages: no\n * filter, `category`, `event_type`, `status_class`, `operation_id` with or\n * without `status_class`, `request_id`, `flow_id`, and `session_id`,\n * `entity_id`, `user_id`, `actor_id` or `entity_type` with or without\n * `category`, each with or without the time bounds. Any other filter or combination is\n * matched event by event, over at most a few thousand events per request.\n * Such a page can hold fewer events than `limit`, or none, and still carry\n * `next_page_token`: keep passing the token until a response has none.\n * @summary List events\n */\nexport const listEvents = async (params: ListEventsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListEvents200> => {\n\n return customFetch<ListEvents200>(getListEventsUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetEventUrl = (eventId: string,\n params: GetEventParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/events/${encodeURIComponent(String(eventId))}?${stringifiedParams}` : `${getApiBaseUrl()}/events/${encodeURIComponent(String(eventId))}`\n}\n\n/**\n * Returns one event of a project by its ID. Requires `events.read`.\n *\n * Pass the `id` of an event that `listEvents` (`GET /events`) returns, with its\n * `project_id`. An unknown ID and the ID of another project's event both\n * answer `404`.\n *\n * A project that is not claimed yet also answers `404`: its events are\n * stored but stay invisible until the\n * [claim](https://preview.zitadel.com/docs/concepts/project-team-user#claim) succeeds. The deployment's\n * platform operators read them from the start.\n * @summary Get an event by ID\n */\nexport const getEvent = async (eventId: string,\n params: GetEventParams, options?: Parameters<typeof customFetch>[1]): Promise<GetEvent200> => {\n\n return customFetch<GetEvent200>(getGetEventUrl(eventId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getListVariablesUrl = (params: ListVariablesParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/variables?${stringifiedParams}` : `${getApiBaseUrl()}/variables`\n}\n\n/**\n * Returns the project's variables, keyed by name, each with its value for\n * each kind: `primary` for primary origins and `preview` for preview URLs.\n * With `kind`, only that kind's values are returned.\n *\n * Secret values are not returned. A secret appears as `{\"secret\": true}`,\n * which says a value is held without disclosing it.\n * @summary Get a project's variables\n */\nexport const listVariables = async (params: ListVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<ListVariables200> => {\n\n return customFetch<ListVariables200>(getListVariablesUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getSetVariablesUrl = (params: SetVariablesParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/variables?${stringifiedParams}` : `${getApiBaseUrl()}/variables`\n}\n\n/**\n * Sets, replaces and removes the project's variables for the requested\n * kind, in one request. Names not in the body are untouched. Existing\n * deployments keep the values they froze.\n *\n * A bare scalar enters a non-secret value. `{\"value\": …, \"secret\": true}`\n * stores the value encrypted under the project's active `secret` key, after\n * which it can be referenced but not read back. `null` removes the name\n * (RFC 7386), which is how several variables are removed in one request.\n * Removing a name the project does not hold is a no-op rather than an error.\n *\n * Without `kind`, a plain value is written for both kinds. A secret is\n * written for `primary` only and removes the name's `preview` value, so a\n * preview never keeps a plaintext copy. Set a preview secret with\n * `kind=preview`. `null` removes the name from both kinds.\n *\n * The body is applied whole or not at all, so a rejected request leaves the\n * project's variables exactly as they were. Fix what the error reports and\n * send the request again. Writing the same name twice replaces the value\n * rather than duplicating it, which makes a retry safe.\n *\n * Each kind written records a `variable.set` event, and each kind removed a\n * `variable.removed` event. The value never appears in either.\n * @summary Update a project's variables\n */\nexport const setVariables = async (setVariablesBody: SetVariablesBody,\n params: SetVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<SetVariables200> => {\n\n return customFetch<SetVariables200>(getSetVariablesUrl(params),\n {\n ...options,\n method: 'PATCH',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(setVariablesBody)\n }\n);}\n\n\n\nexport const getGetVariableUrl = (variableName: string,\n params: GetVariableParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/variables/${encodeURIComponent(String(variableName))}?${stringifiedParams}` : `${getApiBaseUrl()}/variables/${encodeURIComponent(String(variableName))}`\n}\n\n/**\n * Returns one variable by name, with its value for each kind. A variable\n * holds a value per kind: `primary` for primary origins and `preview` for\n * preview URLs.\n *\n * Pass the name of a variable the project holds, as `listVariables` (`GET /variables`) lists\n * it. A name with no value for the requested kind answers `var.not_found`;\n * set it with `setVariables` (`PATCH /variables`). A secret reads back as `{\"secret\": true}`.\n * @summary Get a variable by name\n */\nexport const getVariable = async (variableName: string,\n params: GetVariableParams, options?: Parameters<typeof customFetch>[1]): Promise<GetVariable200> => {\n\n return customFetch<GetVariable200>(getGetVariableUrl(variableName,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getDeleteVariableUrl = (variableName: string,\n params: DeleteVariableParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/variables/${encodeURIComponent(String(variableName))}?${stringifiedParams}` : `${getApiBaseUrl()}/variables/${encodeURIComponent(String(variableName))}`\n}\n\n/**\n * Deletes a variable for the requested kind, or for both kinds without\n * `kind`. Existing deployments keep the values they froze. Each kind removed\n * records a `variable.removed` event.\n *\n * A name with no value for that kind answers `var.not_found`: there is\n * nothing to delete. `listVariables` (`GET /variables`) lists the names the project holds. To\n * remove several names in one request, or to remove a name that may already\n * be absent, send `null` for each name to `setVariables` (`PATCH /variables`).\n * @summary Delete a variable by name\n */\nexport const deleteVariable = async (variableName: string,\n params: DeleteVariableParams, options?: Parameters<typeof customFetch>[1]): Promise<void> => {\n\n return customFetch<void>(getDeleteVariableUrl(variableName,params),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\n\nexport const getCreateDeploymentUrl = (params: CreateDeploymentParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/deployments?${stringifiedParams}` : `${getApiBaseUrl()}/deployments`\n}\n\n/**\n * Creates a deployment: it makes a release live on the project's primary\n * origins or on preview URLs.\n *\n * A release is a snapshot of the project's configuration. A deployment makes\n * a release live on origins and freezes the project's variable values for\n * its kind, with no fallback between primary and preview values. The call is\n * atomic: on success every target serves the release and the deployment is\n * recorded, and it records a `deployment.created` event. On failure nothing\n * changes and nothing is recorded.\n *\n * Name the release by exactly one of `release_id` or `content_hash`. Take the\n * release ID from the `id` that `createRelease` (`POST /releases`), `buildRelease` (`POST /releases/build`) or\n * `listReleases` (`GET /releases`) returns. The release must already exist in the project.\n * `targets` is `primary`, which means every primary origin, or a list of\n * preview URLs. `[\"primary\"]`, which clients released before this shape\n * send, still deploys to every primary origin until 1.0.0; its answer\n * carries a `Deprecation` header (RFC 9745) and a `Link` to these docs.\n *\n * The project's newest primary deployment also serves every request with no\n * `Origin`, such as a backend, a native app or the CLI, and the console's\n * login preview of a project that does not list the console's origin. A\n * preview URL serves only itself.\n *\n * `primary` records the project's current primary origins. One added later\n * serves nothing until the next deployment to `primary`; one removed stops\n * being served at once.\n *\n * A deployment to `primary` changes nothing when the project's newest\n * primary deployment has the same release and frozen values and covers\n * exactly the current primary origins. The call then answers `200` with that\n * deployment. Any other request writes a new deployment and answers `201`.\n * For preview URLs, that deployment renews their previews.\n *\n * If the request is refused, fix the cause and send it again:\n * - `400 dep.invalid`: the request names both or neither of `release_id` and\n * `content_hash`, names a primary origin among the preview URLs, sends\n * `primary` for a project with no primary origin, sends\n * `ttl` with `primary`, or sends a `ttl` above 365 days (`P365D`). Correct\n * the request.\n * - `400 dep.variables_missing`: a variable the release references has no\n * value for the kind. `details` names the kind and every missing variable.\n * Set each one for that kind with `setVariables` (`PATCH /variables`), then deploy again.\n * - `403 proj.origin_not_allowed`: a preview URL matches no preview pattern\n * of the project, or is a loopback URL. Use a URL that matches a pattern.\n * - `404 rel.not_found`: the release ID or digest names no release in this\n * project. List the project's releases with `listReleases`.\n * - `409 dep.conflict`: `expected_deployment_id` is not the deployment this\n * write replaces, and `details.deployment` is that deployment. Inspect it,\n * then retry with its ID as `expected_deployment_id`, or stop.\n * - `409 rel.revoked`: the release is revoked and cannot be deployed. Change\n * the configuration and build a new release, or deploy a release that is\n * not revoked. Rebuilding unchanged content returns the same revoked release.\n * @summary Create a deployment\n */\nexport const createDeployment = async (createDeploymentBody: CreateDeploymentBody,\n params: CreateDeploymentParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateDeployment200 | CreateDeployment201> => {\n\n return customFetch<CreateDeployment200 | CreateDeployment201>(getCreateDeploymentUrl(params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(createDeploymentBody)\n }\n);}\n\n\n\nexport const getListDeploymentsUrl = (params: ListDeploymentsParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n const explodeParameters = [\"expand\"];\n\n if (Array.isArray(value) && explodeParameters.includes(key)) {\n value.forEach((v) => {\n normalizedParams.append(key, v === null ? 'null' : String(v));\n });\n return;\n }\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/deployments?${stringifiedParams}` : `${getApiBaseUrl()}/deployments`\n}\n\n/**\n * Lists the project's deployments: the history of what ran where and when,\n * or with `live=true` what is served now.\n *\n * A deployment makes a release live on origins. By default the list is the\n * history, newest first: every deployment of the project, with every target\n * it made the release live on. With `origin`, it is the history of that\n * origin alone. With `release_id`, it is every deployment of that release,\n * superseded ones included.\n *\n * With `live=true`, the list is what is served now, newest first. It holds\n * the project's newest primary deployment with every origin it names, an\n * origin the project no longer lists included: that deployment also serves\n * requests with no `Origin`, so it stays live. It also holds the newest\n * deployment to each live preview URL, narrowed to the URLs it still\n * serves. Combined with `origin`, it is the one deployment that origin\n * serves, or empty, as it is for an origin the project no longer lists.\n * Combined with `release_id`, it is the deployments of the live view that\n * serve that release: the primary deployment only when it is of that\n * release, and the previews serving it.\n *\n * The `id` of an entry is the deployment ID that `getDeployment` (`GET /deployments/{deployment_id}`),\n * `listDeploymentVariables` (`GET /deployments/{deployment_id}/variables`) and `rollbackDeployment` (`POST /deployments/{deployment_id}/rollback`) take.\n *\n * `expand: [\"release\"]` embeds the release each deployment made live. It\n * requires `release.read` and does not change the ordering or the page\n * tokens.\n * @summary List deployments\n */\nexport const listDeployments = async (params: ListDeploymentsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListDeployments200> => {\n\n return customFetch<ListDeployments200>(getListDeploymentsUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getGetDeploymentUrl = (deploymentId: string,\n params: GetDeploymentParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/deployments/${encodeURIComponent(String(deploymentId))}?${stringifiedParams}` : `${getApiBaseUrl()}/deployments/${encodeURIComponent(String(deploymentId))}`\n}\n\n/**\n * Returns one deployment: the release it made live, the origins it made it\n * live on, and whether they still serve it.\n *\n * Pass the `id` that `createDeployment` (`POST /deployments`), `rollbackDeployment` (`POST /deployments/{deployment_id}/rollback`) or\n * `listDeployments` (`GET /deployments`) returns.\n *\n * The lookup is scoped to the project in `project_id`. A deployment ID\n * belonging to another project answers not found exactly as an unknown ID\n * does, so the endpoint cannot be used to probe for deployments in projects\n * the caller cannot read.\n * @summary Get a deployment by ID\n */\nexport const getDeployment = async (deploymentId: string,\n params: GetDeploymentParams, options?: Parameters<typeof customFetch>[1]): Promise<GetDeployment200> => {\n\n return customFetch<GetDeployment200>(getGetDeploymentUrl(deploymentId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\nexport const getRollbackDeploymentUrl = (deploymentId: string,\n params: RollbackDeploymentParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/deployments/${encodeURIComponent(String(deploymentId))}/rollback?${stringifiedParams}` : `${getApiBaseUrl()}/deployments/${encodeURIComponent(String(deploymentId))}/rollback`\n}\n\n/**\n * Rolls back to an earlier deployment by deploying its release again to the\n * same origins, with the same variable values. A listed primary origin that\n * deployment left out serves nothing until the next deployment to `primary`,\n * and one it named serves its release again, even when the live deployment\n * left it out.\n *\n * A release is a snapshot of the project's configuration. A deployment makes\n * a release live on origins and freezes the project's variable values with\n * it.\n *\n * The deployment ID in the path is the deployment to return to, not the one\n * to undo. Take it from the `id` that `listDeployments` (`GET /deployments`) returns, which lists\n * the newest deployment first.\n *\n * A rollback is a new deployment, not an undo. It has `reason: rollback`,\n * and its `rollback_to` names the deployment you returned to. It uses the\n * variable values that deployment froze, not the project's current ones, and\n * creates no release.\n *\n * To guard against a deployment that landed since you looked, set\n * `expected_deployment_id` in the request body to the newest primary\n * deployment, the one live now. The call then fails with `409 dep.conflict`\n * if another deployment has replaced it.\n *\n * A rollback is idempotent like a deployment to `primary`. When nothing\n * would change, it answers `200` with the newest primary deployment.\n *\n * If the request is refused:\n * - `400 dep.invalid`: the deployment went to preview URLs, which cannot be\n * rolled back. Deploy to the preview again with `createDeployment` (`POST /deployments`).\n * - `404 dep.not_found`: no deployment of the project has that ID, or that\n * deployment recorded no variables to restore, so it cannot be a rollback\n * target. List them with `listDeployments` and pick another.\n * - `409 dep.conflict`: `expected_deployment_id` is not the project's\n * newest primary deployment, and `details.deployment` is that deployment.\n * Inspect it, then retry with its ID, or stop.\n * - `409 rel.revoked`: the release of that deployment is revoked and cannot\n * be deployed. Roll back to a deployment of a release that is not revoked.\n * @summary Roll back to a deployment\n */\nexport const rollbackDeployment = async (deploymentId: string,\n params: RollbackDeploymentParams,\n rollbackDeploymentBody?: RollbackDeploymentBody, options?: Parameters<typeof customFetch>[1]): Promise<RollbackDeployment200 | RollbackDeployment201> => {\n\n return customFetch<RollbackDeployment200 | RollbackDeployment201>(getRollbackDeploymentUrl(deploymentId,params),\n {\n ...options,\n method: 'POST',\n headers: getHeaders({ 'Content-Type': 'application/json' }, options?.headers),\n body: JSON.stringify(rollbackDeploymentBody)\n }\n);}\n\n\n\nexport const getListDeploymentVariablesUrl = (deploymentId: string,\n params: ListDeploymentVariablesParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/deployments/${encodeURIComponent(String(deploymentId))}/variables?${stringifiedParams}` : `${getApiBaseUrl()}/deployments/${encodeURIComponent(String(deploymentId))}/variables`\n}\n\n/**\n * Returns the variable values the deployment froze when it was made. Later\n * changes to the project's variables do not affect them. A secret reads\n * back as `{\"secret\": true}`.\n *\n * Pass the `id` that `createDeployment` (`POST /deployments`) or `listDeployments` (`GET /deployments`) returns.\n * @summary Get a deployment's variables\n */\nexport const listDeploymentVariables = async (deploymentId: string,\n params: ListDeploymentVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<ListDeploymentVariables200> => {\n\n return customFetch<ListDeploymentVariables200>(getListDeploymentVariablesUrl(deploymentId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2OA,MAAM,cAAc,GAAG,YAA6E;CAClG,MAAM,uBAAO,IAAI,IAAY;CAC7B,MAAM,SAAmD,CAAC;CAC1D,KAAK,MAAM,UAAU,QAAQ,QAAQ,GAAG;EACtC,IAAI,CAAC,QAAQ;EACb,MAAM,UAAU,kBAAkB,UAC9B,OAAO,QAAQ,IACf,OAAO,YAAY,SACjB,MAAM,KAAK,SAAuC,UAAU,MAAM,KAAK,KAAK,CAAqB,IACjG,OAAO,QAAgD,MAAM;EACnE,MAAM,QAAgD,CAAC;EACvD,KAAK,MAAM,CAAC,MAAM,UAAU,SAC1B,IAAI,UAAU,KAAA,KAAa,CAAC,KAAK,IAAI,KAAK,YAAY,CAAC,GAAG,MAAM,KAAK,CAAC,MAAM,KAAK,CAAC;EAEpF,KAAK,MAAM,CAAC,SAAS,OAAO,KAAK,IAAI,KAAK,YAAY,CAAC;EACvD,OAAO,KAAK,KAAK;CACnB;CACA,OAAO,OAAO,YAAY,OAAO,QAAQ,CAAC,CAAC,KAAK,CAAC;AACnD;AAEA,MAAa,sBAAsB;CAKjC,OAAO,GAAG,cAAc,EAAE;AAC5B;;;;;;;;;;;;AAaA,MAAa,UAAU,OAAQ,YAAyE;CAEtG,OAAO,YAA4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