@lumeweb/portal-sdk 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/account/generated/accountAPI.schemas.d.ts +427 -20
- package/dist/esm/account/generated/billing.d.ts +688 -0
- package/dist/esm/account/generated/billing.js +444 -0
- package/dist/esm/account/generated/billing.js.map +1 -0
- package/dist/esm/account/generated/default.d.ts +118 -97
- package/dist/esm/account/generated/default.js +181 -41
- package/dist/esm/account/generated/default.js.map +1 -1
- package/dist/esm/account/generated/index.d.ts +3 -3
- package/dist/esm/account/generated/index.js +2 -2
- package/dist/esm/account/generated/quota.d.ts +35 -0
- package/dist/esm/account/generated/quota.js +28 -0
- package/dist/esm/account/generated/quota.js.map +1 -0
- package/dist/esm/account.d.ts +0 -1
- package/dist/esm/account.js.map +1 -1
- package/dist/esm/http-utils.d.ts +0 -1
- package/dist/esm/http-utils.js.map +1 -1
- package/dist/esm/index.d.ts +5 -3
- package/dist/esm/index.js +4 -2
- package/dist/esm/openapi.d.ts +3 -3
- package/dist/esm/openapi.js +2 -2
- package/dist/esm/query-utils.d.ts +0 -1
- package/dist/esm/types.js.map +1 -1
- package/package.json +5 -5
- package/dist/cjs/account/generated/accountAPI.schemas.cjs +0 -0
- package/dist/cjs/account/generated/accountAPI.schemas.d.cts +0 -239
- package/dist/cjs/account/generated/default.cjs +0 -676
- package/dist/cjs/account/generated/default.cjs.map +0 -1
- package/dist/cjs/account/generated/default.d.cts +0 -923
- package/dist/cjs/account/generated/index.cjs +0 -58
- package/dist/cjs/account/generated/index.d.cts +0 -3
- package/dist/cjs/account.cjs +0 -348
- package/dist/cjs/account.cjs.map +0 -1
- package/dist/cjs/account.d.cts +0 -200
- package/dist/cjs/http-utils.cjs +0 -87
- package/dist/cjs/http-utils.cjs.map +0 -1
- package/dist/cjs/http-utils.d.cts +0 -54
- package/dist/cjs/index.cjs +0 -75
- package/dist/cjs/index.d.cts +0 -8
- package/dist/cjs/openapi.cjs +0 -58
- package/dist/cjs/openapi.d.cts +0 -3
- package/dist/cjs/query-utils.cjs +0 -44
- package/dist/cjs/query-utils.cjs.map +0 -1
- package/dist/cjs/query-utils.d.cts +0 -65
- package/dist/cjs/sdk.cjs +0 -20
- package/dist/cjs/sdk.cjs.map +0 -1
- package/dist/cjs/sdk.d.cts +0 -12
- package/dist/cjs/types.cjs +0 -116
- package/dist/cjs/types.cjs.map +0 -1
- package/dist/cjs/types.d.cts +0 -58
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.js","names":[],"sources":["../../../../src/account/generated/default.ts"],"sourcesContent":["/**\n * Generated by orval v7.18.0 🍺\n * Do not edit manually.\n * Account API\n * API endpoints for managing user accounts, authentication, and API keys.\n * OpenAPI spec version: develop\n */\nimport type {\n APIKeyCreateRequest,\n APIKeyResponseResponse,\n AccountInfoResponse,\n AccountPermissionsResponse,\n CreateAPIKeyResponse,\n Error,\n ErrorResponse,\n GetApiAccountKeysParams,\n GetApiOperationsParams,\n LoginRequest,\n LoginResponse,\n OTPDisableRequest,\n OTPGenerateResponse,\n OTPValidateRequest,\n OTPVerifyRequest,\n OperationDetailResponse,\n OperationFiltersResponseResponse,\n OperationListItemResponse,\n PasswordResetRequest,\n PasswordResetVerifyRequest,\n PongResponse,\n PostApiAccountAvatarBody,\n PostApiAccountVerifyEmailParams,\n RegisterRequest,\n ResendVerifyEmailRequest,\n UpdateEmailRequest,\n UpdatePasswordRequest,\n UpdateProfileRequest,\n UploadLimitResponse,\n Uuid,\n VerifyEmailRequest\n} from './accountAPI.schemas';\n\n\n\n/**\n * Initiates the process to delete the authenticated user's account.\n * @summary Request account deletion\n */\nexport type deleteApiAccountResponse200 = {\n data: void\n status: 200\n}\n\nexport type deleteApiAccountResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type deleteApiAccountResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type deleteApiAccountResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type deleteApiAccountResponseSuccess = (deleteApiAccountResponse200) & {\n headers: Headers;\n};\nexport type deleteApiAccountResponseError = (deleteApiAccountResponse400 | deleteApiAccountResponse404 | deleteApiAccountResponse500) & {\n headers: Headers;\n};\n\nexport type deleteApiAccountResponse = (deleteApiAccountResponseSuccess | deleteApiAccountResponseError)\n\nexport const getDeleteApiAccountUrl = () => {\n\n\n \n\n return `/api/api/account`\n}\n\nexport const deleteApiAccount = async ( options?: RequestInit): Promise<deleteApiAccountResponse> => {\n \n const res = await fetch(getDeleteApiAccountUrl(),\n { \n ...options,\n method: 'DELETE'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: deleteApiAccountResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as deleteApiAccountResponse\n}\n\n\n/**\n * Retrieves information about the authenticated user's account.\n * @summary Get account information\n */\nexport type getApiAccountResponse200 = {\n data: AccountInfoResponse\n status: 200\n}\n\nexport type getApiAccountResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type getApiAccountResponseSuccess = (getApiAccountResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountResponseError = (getApiAccountResponse400 | getApiAccountResponse401 | getApiAccountResponse403 | getApiAccountResponse404 | getApiAccountResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountResponse = (getApiAccountResponseSuccess | getApiAccountResponseError)\n\nexport const getGetApiAccountUrl = () => {\n\n\n \n\n return `/api/api/account`\n}\n\nexport const getApiAccount = async ( options?: RequestInit): Promise<getApiAccountResponse> => {\n \n const res = await fetch(getGetApiAccountUrl(),\n { \n ...options,\n method: 'GET'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: getApiAccountResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountResponse\n}\n\n\n/**\n * Updates the authenticated user's profile information. Email cannot be updated through this endpoint.\n * @summary Update profile information\n */\nexport type patchApiAccountResponse200 = {\n data: void\n status: 200\n}\n\nexport type patchApiAccountResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type patchApiAccountResponse401 = {\n data: Error\n status: 401\n}\n\nexport type patchApiAccountResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type patchApiAccountResponse404 = {\n data: Error\n status: 404\n}\n\nexport type patchApiAccountResponse500 = {\n data: Error\n status: 500\n}\n \nexport type patchApiAccountResponseSuccess = (patchApiAccountResponse200) & {\n headers: Headers;\n};\nexport type patchApiAccountResponseError = (patchApiAccountResponse400 | patchApiAccountResponse401 | patchApiAccountResponse403 | patchApiAccountResponse404 | patchApiAccountResponse500) & {\n headers: Headers;\n};\n\nexport type patchApiAccountResponse = (patchApiAccountResponseSuccess | patchApiAccountResponseError)\n\nexport const getPatchApiAccountUrl = () => {\n\n\n \n\n return `/api/api/account`\n}\n\nexport const patchApiAccount = async (updateProfileRequest: UpdateProfileRequest, options?: RequestInit): Promise<patchApiAccountResponse> => {\n \n const res = await fetch(getPatchApiAccountUrl(),\n { \n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n updateProfileRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: patchApiAccountResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as patchApiAccountResponse\n}\n\n\n/**\n * Retrieves the authenticated user's profile picture\n * @summary Get Avatar\n */\nexport type getApiAccountAvatarResponse200 = {\n data: void\n status: 200\n}\n\nexport type getApiAccountAvatarResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountAvatarResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountAvatarResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type getApiAccountAvatarResponseSuccess = (getApiAccountAvatarResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountAvatarResponseError = (getApiAccountAvatarResponse400 | getApiAccountAvatarResponse404 | getApiAccountAvatarResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountAvatarResponse = (getApiAccountAvatarResponseSuccess | getApiAccountAvatarResponseError)\n\nexport const getGetApiAccountAvatarUrl = () => {\n\n\n \n\n return `/api/api/account/avatar`\n}\n\nexport const getApiAccountAvatar = async ( options?: RequestInit): Promise<getApiAccountAvatarResponse> => {\n \n const res = await fetch(getGetApiAccountAvatarUrl(),\n { \n ...options,\n method: 'GET'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: getApiAccountAvatarResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountAvatarResponse\n}\n\n\n/**\n * Uploads a profile picture/avatar\n * @summary Upload Avatar\n */\nexport type postApiAccountAvatarResponse200 = {\n data: ErrorResponse\n status: 200\n}\n\nexport type postApiAccountAvatarResponse204 = {\n data: void\n status: 204\n}\n\nexport type postApiAccountAvatarResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountAvatarResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountAvatarResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAccountAvatarResponseSuccess = (postApiAccountAvatarResponse200 | postApiAccountAvatarResponse204) & {\n headers: Headers;\n};\nexport type postApiAccountAvatarResponseError = (postApiAccountAvatarResponse400 | postApiAccountAvatarResponse404 | postApiAccountAvatarResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountAvatarResponse = (postApiAccountAvatarResponseSuccess | postApiAccountAvatarResponseError)\n\nexport const getPostApiAccountAvatarUrl = () => {\n\n\n \n\n return `/api/api/account/avatar`\n}\n\nexport const postApiAccountAvatar = async (postApiAccountAvatarBody: PostApiAccountAvatarBody, options?: RequestInit): Promise<postApiAccountAvatarResponse> => {\n const formData = new FormData();\nformData.append(`file`, postApiAccountAvatarBody.file)\n\n const res = await fetch(getPostApiAccountAvatarUrl(),\n { \n ...options,\n method: 'POST'\n ,\n body: \n formData,\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAccountAvatarResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountAvatarResponse\n}\n\n\n/**\n * Retrieves a list of API keys for the authenticated user.\n * @summary List API Keys\n */\nexport type getApiAccountKeysResponse200 = {\n data: APIKeyResponseResponse\n status: 200\n}\n\nexport type getApiAccountKeysResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountKeysResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountKeysResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type getApiAccountKeysResponseSuccess = (getApiAccountKeysResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountKeysResponseError = (getApiAccountKeysResponse400 | getApiAccountKeysResponse404 | getApiAccountKeysResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountKeysResponse = (getApiAccountKeysResponseSuccess | getApiAccountKeysResponseError)\n\nexport const getGetApiAccountKeysUrl = (params?: GetApiAccountKeysParams,) => {\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' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/api/account/keys?${stringifiedParams}` : `/api/api/account/keys`\n}\n\nexport const getApiAccountKeys = async (params?: GetApiAccountKeysParams, options?: RequestInit): Promise<getApiAccountKeysResponse> => {\n \n const res = await fetch(getGetApiAccountKeysUrl(params),\n { \n ...options,\n method: 'GET'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: getApiAccountKeysResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountKeysResponse\n}\n\n\n/**\n * Creates a new API key for the authenticated user.\n * @summary Create API Key\n */\nexport type postApiAccountKeysResponse200 = {\n data: CreateAPIKeyResponse\n status: 200\n}\n\nexport type postApiAccountKeysResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountKeysResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountKeysResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAccountKeysResponseSuccess = (postApiAccountKeysResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountKeysResponseError = (postApiAccountKeysResponse400 | postApiAccountKeysResponse404 | postApiAccountKeysResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountKeysResponse = (postApiAccountKeysResponseSuccess | postApiAccountKeysResponseError)\n\nexport const getPostApiAccountKeysUrl = () => {\n\n\n \n\n return `/api/api/account/keys`\n}\n\nexport const postApiAccountKeys = async (aPIKeyCreateRequest: APIKeyCreateRequest, options?: RequestInit): Promise<postApiAccountKeysResponse> => {\n \n const res = await fetch(getPostApiAccountKeysUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n aPIKeyCreateRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAccountKeysResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountKeysResponse\n}\n\n\n/**\n * Deletes a specific API key for the authenticated user.\n * @summary Delete API Key\n */\nexport type deleteApiAccountKeysKeyIDResponse200 = {\n data: void\n status: 200\n}\n\nexport type deleteApiAccountKeysKeyIDResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type deleteApiAccountKeysKeyIDResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type deleteApiAccountKeysKeyIDResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type deleteApiAccountKeysKeyIDResponseSuccess = (deleteApiAccountKeysKeyIDResponse200) & {\n headers: Headers;\n};\nexport type deleteApiAccountKeysKeyIDResponseError = (deleteApiAccountKeysKeyIDResponse400 | deleteApiAccountKeysKeyIDResponse404 | deleteApiAccountKeysKeyIDResponse500) & {\n headers: Headers;\n};\n\nexport type deleteApiAccountKeysKeyIDResponse = (deleteApiAccountKeysKeyIDResponseSuccess | deleteApiAccountKeysKeyIDResponseError)\n\nexport const getDeleteApiAccountKeysKeyIDUrl = (keyID: Uuid,) => {\n\n\n \n\n return `/api/api/account/keys/${keyID}`\n}\n\nexport const deleteApiAccountKeysKeyID = async (keyID: Uuid, options?: RequestInit): Promise<deleteApiAccountKeysKeyIDResponse> => {\n \n const res = await fetch(getDeleteApiAccountKeysKeyIDUrl(keyID),\n { \n ...options,\n method: 'DELETE'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: deleteApiAccountKeysKeyIDResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as deleteApiAccountKeysKeyIDResponse\n}\n\n\n/**\n * Resets the user's password using a token received via email.\n * @summary Confirm password reset\n */\nexport type postApiAccountPasswordResetConfirmResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountPasswordResetConfirmResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountPasswordResetConfirmResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountPasswordResetConfirmResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAccountPasswordResetConfirmResponseSuccess = (postApiAccountPasswordResetConfirmResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountPasswordResetConfirmResponseError = (postApiAccountPasswordResetConfirmResponse400 | postApiAccountPasswordResetConfirmResponse404 | postApiAccountPasswordResetConfirmResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountPasswordResetConfirmResponse = (postApiAccountPasswordResetConfirmResponseSuccess | postApiAccountPasswordResetConfirmResponseError)\n\nexport const getPostApiAccountPasswordResetConfirmUrl = () => {\n\n\n \n\n return `/api/api/account/password-reset/confirm`\n}\n\nexport const postApiAccountPasswordResetConfirm = async (passwordResetVerifyRequest: PasswordResetVerifyRequest, options?: RequestInit): Promise<postApiAccountPasswordResetConfirmResponse> => {\n \n const res = await fetch(getPostApiAccountPasswordResetConfirmUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n passwordResetVerifyRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAccountPasswordResetConfirmResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountPasswordResetConfirmResponse\n}\n\n\n/**\n * Initiates the password reset process by sending a reset link to the user's email.\n * @summary Request password reset\n */\nexport type postApiAccountPasswordResetRequestResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountPasswordResetRequestResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountPasswordResetRequestResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountPasswordResetRequestResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountPasswordResetRequestResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountPasswordResetRequestResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAccountPasswordResetRequestResponseSuccess = (postApiAccountPasswordResetRequestResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountPasswordResetRequestResponseError = (postApiAccountPasswordResetRequestResponse400 | postApiAccountPasswordResetRequestResponse401 | postApiAccountPasswordResetRequestResponse403 | postApiAccountPasswordResetRequestResponse404 | postApiAccountPasswordResetRequestResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountPasswordResetRequestResponse = (postApiAccountPasswordResetRequestResponseSuccess | postApiAccountPasswordResetRequestResponseError)\n\nexport const getPostApiAccountPasswordResetRequestUrl = () => {\n\n\n \n\n return `/api/api/account/password-reset/request`\n}\n\nexport const postApiAccountPasswordResetRequest = async (passwordResetRequest: PasswordResetRequest, options?: RequestInit): Promise<postApiAccountPasswordResetRequestResponse> => {\n \n const res = await fetch(getPostApiAccountPasswordResetRequestUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n passwordResetRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAccountPasswordResetRequestResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountPasswordResetRequestResponse\n}\n\n\n/**\n * Retrieves the access control policies and model for the authenticated user.\n * @summary Get account permissions\n */\nexport type getApiAccountPermissionsResponse200 = {\n data: AccountPermissionsResponse\n status: 200\n}\n\nexport type getApiAccountPermissionsResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountPermissionsResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountPermissionsResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type getApiAccountPermissionsResponseSuccess = (getApiAccountPermissionsResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountPermissionsResponseError = (getApiAccountPermissionsResponse400 | getApiAccountPermissionsResponse404 | getApiAccountPermissionsResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountPermissionsResponse = (getApiAccountPermissionsResponseSuccess | getApiAccountPermissionsResponseError)\n\nexport const getGetApiAccountPermissionsUrl = () => {\n\n\n \n\n return `/api/api/account/permissions`\n}\n\nexport const getApiAccountPermissions = async ( options?: RequestInit): Promise<getApiAccountPermissionsResponse> => {\n \n const res = await fetch(getGetApiAccountPermissionsUrl(),\n { \n ...options,\n method: 'GET'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: getApiAccountPermissionsResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountPermissionsResponse\n}\n\n\n/**\n * Updates the authenticated user's email address.\n * @summary Update email address\n */\nexport type postApiAccountUpdateEmailResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountUpdateEmailResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountUpdateEmailResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountUpdateEmailResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAccountUpdateEmailResponseSuccess = (postApiAccountUpdateEmailResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountUpdateEmailResponseError = (postApiAccountUpdateEmailResponse400 | postApiAccountUpdateEmailResponse404 | postApiAccountUpdateEmailResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountUpdateEmailResponse = (postApiAccountUpdateEmailResponseSuccess | postApiAccountUpdateEmailResponseError)\n\nexport const getPostApiAccountUpdateEmailUrl = () => {\n\n\n \n\n return `/api/api/account/update-email`\n}\n\nexport const postApiAccountUpdateEmail = async (updateEmailRequest: UpdateEmailRequest, options?: RequestInit): Promise<postApiAccountUpdateEmailResponse> => {\n \n const res = await fetch(getPostApiAccountUpdateEmailUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n updateEmailRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAccountUpdateEmailResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountUpdateEmailResponse\n}\n\n\n/**\n * Updates the authenticated user's password.\n * @summary Update password\n */\nexport type postApiAccountUpdatePasswordResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountUpdatePasswordResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountUpdatePasswordResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountUpdatePasswordResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAccountUpdatePasswordResponseSuccess = (postApiAccountUpdatePasswordResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountUpdatePasswordResponseError = (postApiAccountUpdatePasswordResponse400 | postApiAccountUpdatePasswordResponse404 | postApiAccountUpdatePasswordResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountUpdatePasswordResponse = (postApiAccountUpdatePasswordResponseSuccess | postApiAccountUpdatePasswordResponseError)\n\nexport const getPostApiAccountUpdatePasswordUrl = () => {\n\n\n \n\n return `/api/api/account/update-password`\n}\n\nexport const postApiAccountUpdatePassword = async (updatePasswordRequest: UpdatePasswordRequest, options?: RequestInit): Promise<postApiAccountUpdatePasswordResponse> => {\n \n const res = await fetch(getPostApiAccountUpdatePasswordUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n updatePasswordRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAccountUpdatePasswordResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountUpdatePasswordResponse\n}\n\n\n/**\n * Verifies a user's email address using a token sent via email. Optionally auto-login user if they don't have 2FA enabled.\n * @summary Verify email address\n */\nexport type postApiAccountVerifyEmailResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountVerifyEmailResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountVerifyEmailResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountVerifyEmailResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAccountVerifyEmailResponseSuccess = (postApiAccountVerifyEmailResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountVerifyEmailResponseError = (postApiAccountVerifyEmailResponse400 | postApiAccountVerifyEmailResponse404 | postApiAccountVerifyEmailResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountVerifyEmailResponse = (postApiAccountVerifyEmailResponseSuccess | postApiAccountVerifyEmailResponseError)\n\nexport const getPostApiAccountVerifyEmailUrl = (params?: PostApiAccountVerifyEmailParams,) => {\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' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/api/account/verify-email?${stringifiedParams}` : `/api/api/account/verify-email`\n}\n\nexport const postApiAccountVerifyEmail = async (verifyEmailRequest: VerifyEmailRequest,\n params?: PostApiAccountVerifyEmailParams, options?: RequestInit): Promise<postApiAccountVerifyEmailResponse> => {\n \n const res = await fetch(getPostApiAccountVerifyEmailUrl(params),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n verifyEmailRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAccountVerifyEmailResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountVerifyEmailResponse\n}\n\n\n/**\n * Resends the email verification link to the user's email address.\n * @summary Resend email verification\n */\nexport type postApiAccountVerifyEmailResendResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountVerifyEmailResendResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountVerifyEmailResendResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountVerifyEmailResendResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAccountVerifyEmailResendResponseSuccess = (postApiAccountVerifyEmailResendResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountVerifyEmailResendResponseError = (postApiAccountVerifyEmailResendResponse400 | postApiAccountVerifyEmailResendResponse404 | postApiAccountVerifyEmailResendResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountVerifyEmailResendResponse = (postApiAccountVerifyEmailResendResponseSuccess | postApiAccountVerifyEmailResendResponseError)\n\nexport const getPostApiAccountVerifyEmailResendUrl = () => {\n\n\n \n\n return `/api/api/account/verify-email/resend`\n}\n\nexport const postApiAccountVerifyEmailResend = async (resendVerifyEmailRequest: ResendVerifyEmailRequest, options?: RequestInit): Promise<postApiAccountVerifyEmailResendResponse> => {\n \n const res = await fetch(getPostApiAccountVerifyEmailResendUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n resendVerifyEmailRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAccountVerifyEmailResendResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountVerifyEmailResendResponse\n}\n\n\n/**\n * Exchanges an API key for a JWT.\n * @summary Authenticate with API Key\n */\nexport type postApiAuthKeyResponse200 = {\n data: LoginResponse\n status: 200\n}\n\nexport type postApiAuthKeyResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthKeyResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthKeyResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthKeyResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthKeyResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAuthKeyResponseSuccess = (postApiAuthKeyResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthKeyResponseError = (postApiAuthKeyResponse400 | postApiAuthKeyResponse401 | postApiAuthKeyResponse403 | postApiAuthKeyResponse404 | postApiAuthKeyResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthKeyResponse = (postApiAuthKeyResponseSuccess | postApiAuthKeyResponseError)\n\nexport const getPostApiAuthKeyUrl = () => {\n\n\n \n\n return `/api/api/auth/key`\n}\n\nexport const postApiAuthKey = async ( options?: RequestInit): Promise<postApiAuthKeyResponse> => {\n \n const res = await fetch(getPostApiAuthKeyUrl(),\n { \n ...options,\n method: 'POST'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthKeyResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthKeyResponse\n}\n\n\n/**\n * Authenticates a user using email and password.\n * @summary Login with email and password\n */\nexport type postApiAuthLoginResponse200 = {\n data: LoginResponse\n status: 200\n}\n\nexport type postApiAuthLoginResponse302 = {\n data: void\n status: 302\n}\n\nexport type postApiAuthLoginResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthLoginResponse401 = {\n data: Error\n status: 401\n}\n\nexport type postApiAuthLoginResponse403 = {\n data: Error\n status: 403\n}\n\nexport type postApiAuthLoginResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthLoginResponse500 = {\n data: Error\n status: 500\n}\n \nexport type postApiAuthLoginResponseSuccess = (postApiAuthLoginResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthLoginResponseError = (postApiAuthLoginResponse302 | postApiAuthLoginResponse400 | postApiAuthLoginResponse401 | postApiAuthLoginResponse403 | postApiAuthLoginResponse404 | postApiAuthLoginResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthLoginResponse = (postApiAuthLoginResponseSuccess | postApiAuthLoginResponseError)\n\nexport const getPostApiAuthLoginUrl = () => {\n\n\n \n\n return `/api/api/auth/login`\n}\n\nexport const postApiAuthLogin = async (loginRequest: LoginRequest, options?: RequestInit): Promise<postApiAuthLoginResponse> => {\n \n const res = await fetch(getPostApiAuthLoginUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n loginRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthLoginResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthLoginResponse\n}\n\n\n/**\n * Logs out the current user by clearing the authentication cookie.\n * @summary Logout\n */\nexport type postApiAuthLogoutResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAuthLogoutResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthLogoutResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthLogoutResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthLogoutResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthLogoutResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAuthLogoutResponseSuccess = (postApiAuthLogoutResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthLogoutResponseError = (postApiAuthLogoutResponse400 | postApiAuthLogoutResponse401 | postApiAuthLogoutResponse403 | postApiAuthLogoutResponse404 | postApiAuthLogoutResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthLogoutResponse = (postApiAuthLogoutResponseSuccess | postApiAuthLogoutResponseError)\n\nexport const getPostApiAuthLogoutUrl = () => {\n\n\n \n\n return `/api/api/auth/logout`\n}\n\nexport const postApiAuthLogout = async ( options?: RequestInit): Promise<postApiAuthLogoutResponse> => {\n \n const res = await fetch(getPostApiAuthLogoutUrl(),\n { \n ...options,\n method: 'POST'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthLogoutResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthLogoutResponse\n}\n\n\n/**\n * Disables 2FA for the authenticated user.\n * @summary Disable OTP\n */\nexport type postApiAuthOtpDisableResponse200 = {\n data: ErrorResponse\n status: 200\n}\n\nexport type postApiAuthOtpDisableResponse204 = {\n data: void\n status: 204\n}\n\nexport type postApiAuthOtpDisableResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthOtpDisableResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthOtpDisableResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAuthOtpDisableResponseSuccess = (postApiAuthOtpDisableResponse200 | postApiAuthOtpDisableResponse204) & {\n headers: Headers;\n};\nexport type postApiAuthOtpDisableResponseError = (postApiAuthOtpDisableResponse400 | postApiAuthOtpDisableResponse404 | postApiAuthOtpDisableResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthOtpDisableResponse = (postApiAuthOtpDisableResponseSuccess | postApiAuthOtpDisableResponseError)\n\nexport const getPostApiAuthOtpDisableUrl = () => {\n\n\n \n\n return `/api/api/auth/otp/disable`\n}\n\nexport const postApiAuthOtpDisable = async (oTPDisableRequest: OTPDisableRequest, options?: RequestInit): Promise<postApiAuthOtpDisableResponse> => {\n \n const res = await fetch(getPostApiAuthOtpDisableUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n oTPDisableRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthOtpDisableResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthOtpDisableResponse\n}\n\n\n/**\n * Generates a new OTP secret for the authenticated user.\n * @summary Generate OTP secret\n */\nexport type postApiAuthOtpGenerateResponse200 = {\n data: OTPGenerateResponse\n status: 200\n}\n\nexport type postApiAuthOtpGenerateResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthOtpGenerateResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthOtpGenerateResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthOtpGenerateResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthOtpGenerateResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAuthOtpGenerateResponseSuccess = (postApiAuthOtpGenerateResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthOtpGenerateResponseError = (postApiAuthOtpGenerateResponse400 | postApiAuthOtpGenerateResponse401 | postApiAuthOtpGenerateResponse403 | postApiAuthOtpGenerateResponse404 | postApiAuthOtpGenerateResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthOtpGenerateResponse = (postApiAuthOtpGenerateResponseSuccess | postApiAuthOtpGenerateResponseError)\n\nexport const getPostApiAuthOtpGenerateUrl = () => {\n\n\n \n\n return `/api/api/auth/otp/generate`\n}\n\nexport const postApiAuthOtpGenerate = async ( options?: RequestInit): Promise<postApiAuthOtpGenerateResponse> => {\n \n const res = await fetch(getPostApiAuthOtpGenerateUrl(),\n { \n ...options,\n method: 'POST'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthOtpGenerateResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthOtpGenerateResponse\n}\n\n\n/**\n * Validates an OTP code to complete 2FA login.\n * @summary Validate OTP code\n */\nexport type postApiAuthOtpValidateResponse200 = {\n data: ErrorResponse\n status: 200\n}\n\nexport type postApiAuthOtpValidateResponse302 = {\n data: void\n status: 302\n}\n\nexport type postApiAuthOtpValidateResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthOtpValidateResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthOtpValidateResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthOtpValidateResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthOtpValidateResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAuthOtpValidateResponseSuccess = (postApiAuthOtpValidateResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthOtpValidateResponseError = (postApiAuthOtpValidateResponse302 | postApiAuthOtpValidateResponse400 | postApiAuthOtpValidateResponse401 | postApiAuthOtpValidateResponse403 | postApiAuthOtpValidateResponse404 | postApiAuthOtpValidateResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthOtpValidateResponse = (postApiAuthOtpValidateResponseSuccess | postApiAuthOtpValidateResponseError)\n\nexport const getPostApiAuthOtpValidateUrl = () => {\n\n\n \n\n return `/api/api/auth/otp/validate`\n}\n\nexport const postApiAuthOtpValidate = async (oTPValidateRequest: OTPValidateRequest, options?: RequestInit): Promise<postApiAuthOtpValidateResponse> => {\n \n const res = await fetch(getPostApiAuthOtpValidateUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n oTPValidateRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthOtpValidateResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthOtpValidateResponse\n}\n\n\n/**\n * Verifies an OTP code and enables 2FA for the authenticated user.\n * @summary Verify and enable OTP\n */\nexport type postApiAuthOtpVerifyResponse200 = {\n data: ErrorResponse\n status: 200\n}\n\nexport type postApiAuthOtpVerifyResponse204 = {\n data: void\n status: 204\n}\n\nexport type postApiAuthOtpVerifyResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthOtpVerifyResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthOtpVerifyResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type postApiAuthOtpVerifyResponseSuccess = (postApiAuthOtpVerifyResponse200 | postApiAuthOtpVerifyResponse204) & {\n headers: Headers;\n};\nexport type postApiAuthOtpVerifyResponseError = (postApiAuthOtpVerifyResponse400 | postApiAuthOtpVerifyResponse404 | postApiAuthOtpVerifyResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthOtpVerifyResponse = (postApiAuthOtpVerifyResponseSuccess | postApiAuthOtpVerifyResponseError)\n\nexport const getPostApiAuthOtpVerifyUrl = () => {\n\n\n \n\n return `/api/api/auth/otp/verify`\n}\n\nexport const postApiAuthOtpVerify = async (oTPVerifyRequest: OTPVerifyRequest, options?: RequestInit): Promise<postApiAuthOtpVerifyResponse> => {\n \n const res = await fetch(getPostApiAuthOtpVerifyUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n oTPVerifyRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthOtpVerifyResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthOtpVerifyResponse\n}\n\n\n/**\n * Checks if the user is authenticated and returns a pong response.\n * @summary Ping authenticated endpoint\n */\nexport type postApiAuthPingResponse200 = {\n data: PongResponse\n status: 200\n}\n\nexport type postApiAuthPingResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthPingResponse401 = {\n data: Error\n status: 401\n}\n\nexport type postApiAuthPingResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthPingResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthPingResponse500 = {\n data: Error\n status: 500\n}\n \nexport type postApiAuthPingResponseSuccess = (postApiAuthPingResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthPingResponseError = (postApiAuthPingResponse400 | postApiAuthPingResponse401 | postApiAuthPingResponse403 | postApiAuthPingResponse404 | postApiAuthPingResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthPingResponse = (postApiAuthPingResponseSuccess | postApiAuthPingResponseError)\n\nexport const getPostApiAuthPingUrl = () => {\n\n\n \n\n return `/api/api/auth/ping`\n}\n\nexport const postApiAuthPing = async ( options?: RequestInit): Promise<postApiAuthPingResponse> => {\n \n const res = await fetch(getPostApiAuthPingUrl(),\n { \n ...options,\n method: 'POST'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthPingResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthPingResponse\n}\n\n\n/**\n * Creates a new user account with email and password.\n * @summary Register a new account\n */\nexport type postApiAuthRegisterResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAuthRegisterResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthRegisterResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthRegisterResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthRegisterResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthRegisterResponse409 = {\n data: Error\n status: 409\n}\n\nexport type postApiAuthRegisterResponse500 = {\n data: Error\n status: 500\n}\n \nexport type postApiAuthRegisterResponseSuccess = (postApiAuthRegisterResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthRegisterResponseError = (postApiAuthRegisterResponse400 | postApiAuthRegisterResponse401 | postApiAuthRegisterResponse403 | postApiAuthRegisterResponse404 | postApiAuthRegisterResponse409 | postApiAuthRegisterResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthRegisterResponse = (postApiAuthRegisterResponseSuccess | postApiAuthRegisterResponseError)\n\nexport const getPostApiAuthRegisterUrl = () => {\n\n\n \n\n return `/api/api/auth/register`\n}\n\nexport const postApiAuthRegister = async (registerRequest: RegisterRequest, options?: RequestInit): Promise<postApiAuthRegisterResponse> => {\n \n const res = await fetch(getPostApiAuthRegisterUrl(),\n { \n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(\n registerRequest,)\n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: postApiAuthRegisterResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthRegisterResponse\n}\n\n\n/**\n * Retrieve a list of operations, with filtering, searching, and pagination support.\n * @summary List Operations\n */\nexport type getApiOperationsResponse200 = {\n data: OperationListItemResponse\n status: 200\n}\n\nexport type getApiOperationsResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiOperationsResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiOperationsResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type getApiOperationsResponseSuccess = (getApiOperationsResponse200) & {\n headers: Headers;\n};\nexport type getApiOperationsResponseError = (getApiOperationsResponse400 | getApiOperationsResponse404 | getApiOperationsResponse500) & {\n headers: Headers;\n};\n\nexport type getApiOperationsResponse = (getApiOperationsResponseSuccess | getApiOperationsResponseError)\n\nexport const getGetApiOperationsUrl = (params?: GetApiOperationsParams,) => {\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' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/api/operations?${stringifiedParams}` : `/api/api/operations`\n}\n\nexport const getApiOperations = async (params?: GetApiOperationsParams, options?: RequestInit): Promise<getApiOperationsResponse> => {\n \n const res = await fetch(getGetApiOperationsUrl(params),\n { \n ...options,\n method: 'GET'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: getApiOperationsResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiOperationsResponse\n}\n\n\n/**\n * Retrieve detailed information for a specific operation by its ID.\n * @summary Get Operation Details\n */\nexport type getApiOperationsIdResponse200 = {\n data: OperationDetailResponse\n status: 200\n}\n\nexport type getApiOperationsIdResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiOperationsIdResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiOperationsIdResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type getApiOperationsIdResponseSuccess = (getApiOperationsIdResponse200) & {\n headers: Headers;\n};\nexport type getApiOperationsIdResponseError = (getApiOperationsIdResponse400 | getApiOperationsIdResponse404 | getApiOperationsIdResponse500) & {\n headers: Headers;\n};\n\nexport type getApiOperationsIdResponse = (getApiOperationsIdResponseSuccess | getApiOperationsIdResponseError)\n\nexport const getGetApiOperationsIdUrl = (id: number,) => {\n\n\n \n\n return `/api/api/operations/${id}`\n}\n\nexport const getApiOperationsId = async (id: number, options?: RequestInit): Promise<getApiOperationsIdResponse> => {\n \n const res = await fetch(getGetApiOperationsIdUrl(id),\n { \n ...options,\n method: 'GET'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: getApiOperationsIdResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiOperationsIdResponse\n}\n\n\n/**\n * Retrieves distinct filter values for operations (statuses, operations, protocols)\n * @summary Get Operation Filters\n */\nexport type getApiOperationsFiltersResponse200 = {\n data: OperationFiltersResponseResponse\n status: 200\n}\n\nexport type getApiOperationsFiltersResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiOperationsFiltersResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiOperationsFiltersResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type getApiOperationsFiltersResponseSuccess = (getApiOperationsFiltersResponse200) & {\n headers: Headers;\n};\nexport type getApiOperationsFiltersResponseError = (getApiOperationsFiltersResponse400 | getApiOperationsFiltersResponse404 | getApiOperationsFiltersResponse500) & {\n headers: Headers;\n};\n\nexport type getApiOperationsFiltersResponse = (getApiOperationsFiltersResponseSuccess | getApiOperationsFiltersResponseError)\n\nexport const getGetApiOperationsFiltersUrl = () => {\n\n\n \n\n return `/api/api/operations/filters`\n}\n\nexport const getApiOperationsFilters = async ( options?: RequestInit): Promise<getApiOperationsFiltersResponse> => {\n \n const res = await fetch(getGetApiOperationsFiltersUrl(),\n { \n ...options,\n method: 'GET'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: getApiOperationsFiltersResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiOperationsFiltersResponse\n}\n\n\n/**\n * Retrieves the maximum allowed upload size.\n * @summary Get upload limit\n */\nexport type getApiUploadLimitResponse200 = {\n data: UploadLimitResponse\n status: 200\n}\n\nexport type getApiUploadLimitResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiUploadLimitResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiUploadLimitResponse500 = {\n data: ErrorResponse\n status: 500\n}\n \nexport type getApiUploadLimitResponseSuccess = (getApiUploadLimitResponse200) & {\n headers: Headers;\n};\nexport type getApiUploadLimitResponseError = (getApiUploadLimitResponse400 | getApiUploadLimitResponse404 | getApiUploadLimitResponse500) & {\n headers: Headers;\n};\n\nexport type getApiUploadLimitResponse = (getApiUploadLimitResponseSuccess | getApiUploadLimitResponseError)\n\nexport const getGetApiUploadLimitUrl = () => {\n\n\n \n\n return `/api/api/upload-limit`\n}\n\nexport const getApiUploadLimit = async ( options?: RequestInit): Promise<getApiUploadLimitResponse> => {\n \n const res = await fetch(getGetApiUploadLimitUrl(),\n { \n ...options,\n method: 'GET'\n \n \n }\n)\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n \n const data: getApiUploadLimitResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiUploadLimitResponse\n}\n\n\n"],"mappings":";AA4EA,MAAa,+BAA+B;AAK1C,QAAO;;AAGT,MAAa,mBAAmB,OAAQ,YAA6D;CAEnG,MAAM,MAAM,MAAM,MAAM,wBAAwB,EAChD;EACE,GAAG;EACH,QAAQ;EAGT,CACF;CAEC,MAAM,OAAO;EAAC;EAAK;EAAK;EAAI,CAAC,SAAS,IAAI,OAAO,GAAG,OAAO,MAAM,IAAI,MAAM;AAG3E,QAAO;EAAE,MADsC,OAAO,KAAK,MAAM,KAAK,GAAG,EAAE;EAC5D,QAAQ,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S;;AAqC3D,MAAa,sCAAsC;AAKjD,QAAO;;AAGT,MAAa,0BAA0B,OAAQ,YAAoE;CAEjH,MAAM,MAAM,MAAM,MAAM,+BAA+B,EACvD;EACE,GAAG;EACH,QAAQ;EAGT,CACF;CAEC,MAAM,OAAO;EAAC;EAAK;EAAK;EAAI,CAAC,SAAS,IAAI,OAAO,GAAG,OAAO,MAAM,IAAI,MAAM;AAG3E,QAAO;EAAE,MAD6C,OAAO,KAAK,MAAM,KAAK,GAAG,EAAE;EACnE,QAAQ,IAAI;EAAQ,SAAS,IAAI;EAAS;;AAqC3D,MAAa,gCAAgC;AAK3C,QAAO;;AAGT,MAAa,oBAAoB,OAAQ,YAA8D;CAErG,MAAM,MAAM,MAAM,MAAM,yBAAyB,EACjD;EACE,GAAG;EACH,QAAQ;EAGT,CACF;CAEC,MAAM,OAAO;EAAC;EAAK;EAAK;EAAI,CAAC,SAAS,IAAI,OAAO,GAAG,OAAO,MAAM,IAAI,MAAM;AAG3E,QAAO;EAAE,MADuC,OAAO,KAAK,MAAM,KAAK,GAAG,EAAE;EAC7D,QAAQ,IAAI;EAAQ,SAAS,IAAI;EAAS"}
|
|
1
|
+
{"version":3,"file":"default.js","names":[],"sources":["../../../../src/account/generated/default.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Account API\n * API endpoints for managing user accounts, authentication, and API keys.\n * OpenAPI spec version: v0.2.7-0.20260418132608-572560c6efd0\n */\nimport type {\n APIKeyCreateRequest,\n APIKeyListResponse,\n AccountInfoResponse,\n AccountPermissionsResponse,\n CreateAPIKeyResponse,\n Error,\n ErrorResponse,\n GetApiAccountKeysParams,\n GetApiAccountQuotaHistoryParams,\n GetApiOperationsParams,\n LoginRequest,\n LoginResponse,\n OTPDisableRequest,\n OTPGenerateResponse,\n OTPValidateRequest,\n OTPVerifyRequest,\n OperationDetailResponse,\n OperationFiltersResponseResponse,\n OperationListItemResponse,\n PasswordResetRequest,\n PasswordResetVerifyRequest,\n PongResponse,\n PostApiAccountAvatarBody,\n PostApiAccountVerifyEmailParams,\n QuotaHistoryResponse,\n RegisterRequest,\n ResendVerifyEmailRequest,\n StringUUIDSchema,\n UpdateEmailRequest,\n UpdatePasswordRequest,\n UpdateProfileRequest,\n UploadLimitResponse,\n VerifyEmailRequest\n} from './accountAPI.schemas';\n\n\n\nexport type deleteApiAccountResponse200 = {\n data: void\n status: 200\n}\n\nexport type deleteApiAccountResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type deleteApiAccountResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type deleteApiAccountResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type deleteApiAccountResponseSuccess = (deleteApiAccountResponse200) & {\n headers: Headers;\n};\nexport type deleteApiAccountResponseError = (deleteApiAccountResponse400 | deleteApiAccountResponse404 | deleteApiAccountResponse500) & {\n headers: Headers;\n};\n\nexport type deleteApiAccountResponse = (deleteApiAccountResponseSuccess | deleteApiAccountResponseError)\n\nexport const getDeleteApiAccountUrl = () => {\n\n\n\n\n return `/api/account`\n}\n\n/**\n * Initiates the process to delete the authenticated user's account.\n * @summary Request account deletion\n */\nexport const deleteApiAccount = async ( options?: RequestInit): Promise<deleteApiAccountResponse> => {\n\n const res = await fetch(getDeleteApiAccountUrl(),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: deleteApiAccountResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as deleteApiAccountResponse\n}\n\n\nexport type getApiAccountResponse200 = {\n data: AccountInfoResponse\n status: 200\n}\n\nexport type getApiAccountResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountResponseSuccess = (getApiAccountResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountResponseError = (getApiAccountResponse400 | getApiAccountResponse401 | getApiAccountResponse403 | getApiAccountResponse404 | getApiAccountResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountResponse = (getApiAccountResponseSuccess | getApiAccountResponseError)\n\nexport const getGetApiAccountUrl = () => {\n\n\n\n\n return `/api/account`\n}\n\n/**\n * Retrieves information about the authenticated user's account.\n * @summary Get account information\n */\nexport const getApiAccount = async ( options?: RequestInit): Promise<getApiAccountResponse> => {\n\n const res = await fetch(getGetApiAccountUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountResponse\n}\n\n\nexport type patchApiAccountResponse200 = {\n data: void\n status: 200\n}\n\nexport type patchApiAccountResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type patchApiAccountResponse401 = {\n data: Error\n status: 401\n}\n\nexport type patchApiAccountResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type patchApiAccountResponse404 = {\n data: Error\n status: 404\n}\n\nexport type patchApiAccountResponse500 = {\n data: Error\n status: 500\n}\n\nexport type patchApiAccountResponseSuccess = (patchApiAccountResponse200) & {\n headers: Headers;\n};\nexport type patchApiAccountResponseError = (patchApiAccountResponse400 | patchApiAccountResponse401 | patchApiAccountResponse403 | patchApiAccountResponse404 | patchApiAccountResponse500) & {\n headers: Headers;\n};\n\nexport type patchApiAccountResponse = (patchApiAccountResponseSuccess | patchApiAccountResponseError)\n\nexport const getPatchApiAccountUrl = () => {\n\n\n\n\n return `/api/account`\n}\n\n/**\n * Updates the authenticated user's profile information. Email cannot be updated through this endpoint.\n * @summary Update profile information\n */\nexport const patchApiAccount = async (updateProfileRequest: UpdateProfileRequest, options?: RequestInit): Promise<patchApiAccountResponse> => {\n\n const res = await fetch(getPatchApiAccountUrl(),\n {\n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(updateProfileRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: patchApiAccountResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as patchApiAccountResponse\n}\n\n\nexport type getApiAccountAvatarResponse200 = {\n data: void\n status: 200\n}\n\nexport type getApiAccountAvatarResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountAvatarResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountAvatarResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountAvatarResponseSuccess = (getApiAccountAvatarResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountAvatarResponseError = (getApiAccountAvatarResponse400 | getApiAccountAvatarResponse404 | getApiAccountAvatarResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountAvatarResponse = (getApiAccountAvatarResponseSuccess | getApiAccountAvatarResponseError)\n\nexport const getGetApiAccountAvatarUrl = () => {\n\n\n\n\n return `/api/account/avatar`\n}\n\n/**\n * Retrieves the authenticated user's profile picture\n * @summary Get Avatar\n */\nexport const getApiAccountAvatar = async ( options?: RequestInit): Promise<getApiAccountAvatarResponse> => {\n\n const res = await fetch(getGetApiAccountAvatarUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountAvatarResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as getApiAccountAvatarResponse\n}\n\n\nexport type postApiAccountAvatarResponse200 = {\n data: ErrorResponse\n status: 200\n}\n\nexport type postApiAccountAvatarResponse204 = {\n data: void\n status: 204\n}\n\nexport type postApiAccountAvatarResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountAvatarResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountAvatarResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountAvatarResponseSuccess = (postApiAccountAvatarResponse200 | postApiAccountAvatarResponse204) & {\n headers: Headers;\n};\nexport type postApiAccountAvatarResponseError = (postApiAccountAvatarResponse400 | postApiAccountAvatarResponse404 | postApiAccountAvatarResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountAvatarResponse = (postApiAccountAvatarResponseSuccess | postApiAccountAvatarResponseError)\n\nexport const getPostApiAccountAvatarUrl = () => {\n\n\n\n\n return `/api/account/avatar`\n}\n\n/**\n * Uploads a profile picture/avatar\n * @summary Upload Avatar\n */\nexport const postApiAccountAvatar = async (postApiAccountAvatarBody: PostApiAccountAvatarBody, options?: RequestInit): Promise<postApiAccountAvatarResponse> => {\n const formData = new FormData();\nformData.append(`file`, postApiAccountAvatarBody.file);\n\n const res = await fetch(getPostApiAccountAvatarUrl(),\n {\n ...options,\n method: 'POST'\n ,\n body: formData\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountAvatarResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountAvatarResponse\n}\n\n\nexport type getApiAccountKeysResponse200 = {\n data: APIKeyListResponse\n status: 200\n}\n\nexport type getApiAccountKeysResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountKeysResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountKeysResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountKeysResponseSuccess = (getApiAccountKeysResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountKeysResponseError = (getApiAccountKeysResponse400 | getApiAccountKeysResponse404 | getApiAccountKeysResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountKeysResponse = (getApiAccountKeysResponseSuccess | getApiAccountKeysResponseError)\n\nexport const getGetApiAccountKeysUrl = (params?: GetApiAccountKeysParams,) => {\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' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/account/keys?${stringifiedParams}` : `/api/account/keys`\n}\n\n/**\n * Retrieves a list of API keys for the authenticated user.\n * @summary List API Keys\n */\nexport const getApiAccountKeys = async (params?: GetApiAccountKeysParams, options?: RequestInit): Promise<getApiAccountKeysResponse> => {\n\n const res = await fetch(getGetApiAccountKeysUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountKeysResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountKeysResponse\n}\n\n\nexport type postApiAccountKeysResponse200 = {\n data: CreateAPIKeyResponse\n status: 200\n}\n\nexport type postApiAccountKeysResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountKeysResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountKeysResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountKeysResponseSuccess = (postApiAccountKeysResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountKeysResponseError = (postApiAccountKeysResponse400 | postApiAccountKeysResponse404 | postApiAccountKeysResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountKeysResponse = (postApiAccountKeysResponseSuccess | postApiAccountKeysResponseError)\n\nexport const getPostApiAccountKeysUrl = () => {\n\n\n\n\n return `/api/account/keys`\n}\n\n/**\n * Creates a new API key for the authenticated user.\n * @summary Create API Key\n */\nexport const postApiAccountKeys = async (aPIKeyCreateRequest: APIKeyCreateRequest, options?: RequestInit): Promise<postApiAccountKeysResponse> => {\n\n const res = await fetch(getPostApiAccountKeysUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(aPIKeyCreateRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountKeysResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountKeysResponse\n}\n\n\nexport type deleteApiAccountKeysKeyIDResponse200 = {\n data: void\n status: 200\n}\n\nexport type deleteApiAccountKeysKeyIDResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type deleteApiAccountKeysKeyIDResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type deleteApiAccountKeysKeyIDResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type deleteApiAccountKeysKeyIDResponseSuccess = (deleteApiAccountKeysKeyIDResponse200) & {\n headers: Headers;\n};\nexport type deleteApiAccountKeysKeyIDResponseError = (deleteApiAccountKeysKeyIDResponse400 | deleteApiAccountKeysKeyIDResponse404 | deleteApiAccountKeysKeyIDResponse500) & {\n headers: Headers;\n};\n\nexport type deleteApiAccountKeysKeyIDResponse = (deleteApiAccountKeysKeyIDResponseSuccess | deleteApiAccountKeysKeyIDResponseError)\n\nexport const getDeleteApiAccountKeysKeyIDUrl = (keyID: StringUUIDSchema,) => {\n\n\n\n\n return `/api/account/keys/${keyID}`\n}\n\n/**\n * Deletes a specific API key for the authenticated user.\n * @summary Delete API Key\n */\nexport const deleteApiAccountKeysKeyID = async (keyID: StringUUIDSchema, options?: RequestInit): Promise<deleteApiAccountKeysKeyIDResponse> => {\n\n const res = await fetch(getDeleteApiAccountKeysKeyIDUrl(keyID),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: deleteApiAccountKeysKeyIDResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as deleteApiAccountKeysKeyIDResponse\n}\n\n\nexport type postApiAccountPasswordResetConfirmResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountPasswordResetConfirmResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountPasswordResetConfirmResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountPasswordResetConfirmResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountPasswordResetConfirmResponseSuccess = (postApiAccountPasswordResetConfirmResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountPasswordResetConfirmResponseError = (postApiAccountPasswordResetConfirmResponse400 | postApiAccountPasswordResetConfirmResponse404 | postApiAccountPasswordResetConfirmResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountPasswordResetConfirmResponse = (postApiAccountPasswordResetConfirmResponseSuccess | postApiAccountPasswordResetConfirmResponseError)\n\nexport const getPostApiAccountPasswordResetConfirmUrl = () => {\n\n\n\n\n return `/api/account/password-reset/confirm`\n}\n\n/**\n * Resets the user's password using a token received via email.\n * @summary Confirm password reset\n */\nexport const postApiAccountPasswordResetConfirm = async (passwordResetVerifyRequest: PasswordResetVerifyRequest, options?: RequestInit): Promise<postApiAccountPasswordResetConfirmResponse> => {\n\n const res = await fetch(getPostApiAccountPasswordResetConfirmUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(passwordResetVerifyRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountPasswordResetConfirmResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as postApiAccountPasswordResetConfirmResponse\n}\n\n\nexport type postApiAccountPasswordResetRequestResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountPasswordResetRequestResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountPasswordResetRequestResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountPasswordResetRequestResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountPasswordResetRequestResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountPasswordResetRequestResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountPasswordResetRequestResponseSuccess = (postApiAccountPasswordResetRequestResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountPasswordResetRequestResponseError = (postApiAccountPasswordResetRequestResponse400 | postApiAccountPasswordResetRequestResponse401 | postApiAccountPasswordResetRequestResponse403 | postApiAccountPasswordResetRequestResponse404 | postApiAccountPasswordResetRequestResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountPasswordResetRequestResponse = (postApiAccountPasswordResetRequestResponseSuccess | postApiAccountPasswordResetRequestResponseError)\n\nexport const getPostApiAccountPasswordResetRequestUrl = () => {\n\n\n\n\n return `/api/account/password-reset/request`\n}\n\n/**\n * Initiates the password reset process by sending a reset link to the user's email.\n * @summary Request password reset\n */\nexport const postApiAccountPasswordResetRequest = async (passwordResetRequest: PasswordResetRequest, options?: RequestInit): Promise<postApiAccountPasswordResetRequestResponse> => {\n\n const res = await fetch(getPostApiAccountPasswordResetRequestUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(passwordResetRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountPasswordResetRequestResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as postApiAccountPasswordResetRequestResponse\n}\n\n\nexport type getApiAccountPermissionsResponse200 = {\n data: AccountPermissionsResponse\n status: 200\n}\n\nexport type getApiAccountPermissionsResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountPermissionsResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountPermissionsResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountPermissionsResponseSuccess = (getApiAccountPermissionsResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountPermissionsResponseError = (getApiAccountPermissionsResponse400 | getApiAccountPermissionsResponse404 | getApiAccountPermissionsResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountPermissionsResponse = (getApiAccountPermissionsResponseSuccess | getApiAccountPermissionsResponseError)\n\nexport const getGetApiAccountPermissionsUrl = () => {\n\n\n\n\n return `/api/account/permissions`\n}\n\n/**\n * Retrieves the access control policies and model for the authenticated user.\n * @summary Get account permissions\n */\nexport const getApiAccountPermissions = async ( options?: RequestInit): Promise<getApiAccountPermissionsResponse> => {\n\n const res = await fetch(getGetApiAccountPermissionsUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountPermissionsResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountPermissionsResponse\n}\n\n\nexport type getApiAccountQuotaHistoryResponse200 = {\n data: QuotaHistoryResponse\n status: 200\n}\n\nexport type getApiAccountQuotaHistoryResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountQuotaHistoryResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountQuotaHistoryResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountQuotaHistoryResponseSuccess = (getApiAccountQuotaHistoryResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountQuotaHistoryResponseError = (getApiAccountQuotaHistoryResponse400 | getApiAccountQuotaHistoryResponse404 | getApiAccountQuotaHistoryResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountQuotaHistoryResponse = (getApiAccountQuotaHistoryResponseSuccess | getApiAccountQuotaHistoryResponseError)\n\nexport const getGetApiAccountQuotaHistoryUrl = (params?: GetApiAccountQuotaHistoryParams,) => {\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' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/account/quota/history?${stringifiedParams}` : `/api/account/quota/history`\n}\n\n/**\n * Retrieves historical quota usage data for charting and analytics.\n * @summary Get quota usage history\n */\nexport const getApiAccountQuotaHistory = async (params?: GetApiAccountQuotaHistoryParams, options?: RequestInit): Promise<getApiAccountQuotaHistoryResponse> => {\n\n const res = await fetch(getGetApiAccountQuotaHistoryUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountQuotaHistoryResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountQuotaHistoryResponse\n}\n\n\nexport type postApiAccountUpdateEmailResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountUpdateEmailResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountUpdateEmailResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountUpdateEmailResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountUpdateEmailResponseSuccess = (postApiAccountUpdateEmailResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountUpdateEmailResponseError = (postApiAccountUpdateEmailResponse400 | postApiAccountUpdateEmailResponse404 | postApiAccountUpdateEmailResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountUpdateEmailResponse = (postApiAccountUpdateEmailResponseSuccess | postApiAccountUpdateEmailResponseError)\n\nexport const getPostApiAccountUpdateEmailUrl = () => {\n\n\n\n\n return `/api/account/update-email`\n}\n\n/**\n * Updates the authenticated user's email address.\n * @summary Update email address\n */\nexport const postApiAccountUpdateEmail = async (updateEmailRequest: UpdateEmailRequest, options?: RequestInit): Promise<postApiAccountUpdateEmailResponse> => {\n\n const res = await fetch(getPostApiAccountUpdateEmailUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(updateEmailRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountUpdateEmailResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as postApiAccountUpdateEmailResponse\n}\n\n\nexport type postApiAccountUpdatePasswordResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountUpdatePasswordResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountUpdatePasswordResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountUpdatePasswordResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountUpdatePasswordResponseSuccess = (postApiAccountUpdatePasswordResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountUpdatePasswordResponseError = (postApiAccountUpdatePasswordResponse400 | postApiAccountUpdatePasswordResponse404 | postApiAccountUpdatePasswordResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountUpdatePasswordResponse = (postApiAccountUpdatePasswordResponseSuccess | postApiAccountUpdatePasswordResponseError)\n\nexport const getPostApiAccountUpdatePasswordUrl = () => {\n\n\n\n\n return `/api/account/update-password`\n}\n\n/**\n * Updates the authenticated user's password.\n * @summary Update password\n */\nexport const postApiAccountUpdatePassword = async (updatePasswordRequest: UpdatePasswordRequest, options?: RequestInit): Promise<postApiAccountUpdatePasswordResponse> => {\n\n const res = await fetch(getPostApiAccountUpdatePasswordUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(updatePasswordRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountUpdatePasswordResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as postApiAccountUpdatePasswordResponse\n}\n\n\nexport type postApiAccountVerifyEmailResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountVerifyEmailResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountVerifyEmailResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountVerifyEmailResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountVerifyEmailResponseSuccess = (postApiAccountVerifyEmailResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountVerifyEmailResponseError = (postApiAccountVerifyEmailResponse400 | postApiAccountVerifyEmailResponse404 | postApiAccountVerifyEmailResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountVerifyEmailResponse = (postApiAccountVerifyEmailResponseSuccess | postApiAccountVerifyEmailResponseError)\n\nexport const getPostApiAccountVerifyEmailUrl = (params?: PostApiAccountVerifyEmailParams,) => {\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' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/account/verify-email?${stringifiedParams}` : `/api/account/verify-email`\n}\n\n/**\n * Verifies a user's email address using a token sent via email. Optionally auto-login user if they don't have 2FA enabled.\n * @summary Verify email address\n */\nexport const postApiAccountVerifyEmail = async (verifyEmailRequest: VerifyEmailRequest,\n params?: PostApiAccountVerifyEmailParams, options?: RequestInit): Promise<postApiAccountVerifyEmailResponse> => {\n\n const res = await fetch(getPostApiAccountVerifyEmailUrl(params),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(verifyEmailRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountVerifyEmailResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as postApiAccountVerifyEmailResponse\n}\n\n\nexport type postApiAccountVerifyEmailResendResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAccountVerifyEmailResendResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountVerifyEmailResendResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountVerifyEmailResendResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountVerifyEmailResendResponseSuccess = (postApiAccountVerifyEmailResendResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountVerifyEmailResendResponseError = (postApiAccountVerifyEmailResendResponse400 | postApiAccountVerifyEmailResendResponse404 | postApiAccountVerifyEmailResendResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountVerifyEmailResendResponse = (postApiAccountVerifyEmailResendResponseSuccess | postApiAccountVerifyEmailResendResponseError)\n\nexport const getPostApiAccountVerifyEmailResendUrl = () => {\n\n\n\n\n return `/api/account/verify-email/resend`\n}\n\n/**\n * Resends the email verification link to the user's email address.\n * @summary Resend email verification\n */\nexport const postApiAccountVerifyEmailResend = async (resendVerifyEmailRequest: ResendVerifyEmailRequest, options?: RequestInit): Promise<postApiAccountVerifyEmailResendResponse> => {\n\n const res = await fetch(getPostApiAccountVerifyEmailResendUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(resendVerifyEmailRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountVerifyEmailResendResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as postApiAccountVerifyEmailResendResponse\n}\n\n\nexport type postApiAuthKeyResponse200 = {\n data: LoginResponse\n status: 200\n}\n\nexport type postApiAuthKeyResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthKeyResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthKeyResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthKeyResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthKeyResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAuthKeyResponseSuccess = (postApiAuthKeyResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthKeyResponseError = (postApiAuthKeyResponse400 | postApiAuthKeyResponse401 | postApiAuthKeyResponse403 | postApiAuthKeyResponse404 | postApiAuthKeyResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthKeyResponse = (postApiAuthKeyResponseSuccess | postApiAuthKeyResponseError)\n\nexport const getPostApiAuthKeyUrl = () => {\n\n\n\n\n return `/api/auth/key`\n}\n\n/**\n * Exchanges an API key for a JWT.\n * @summary Authenticate with API Key\n */\nexport const postApiAuthKey = async ( options?: RequestInit): Promise<postApiAuthKeyResponse> => {\n\n const res = await fetch(getPostApiAuthKeyUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthKeyResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthKeyResponse\n}\n\n\nexport type postApiAuthLoginResponse200 = {\n data: LoginResponse\n status: 200\n}\n\nexport type postApiAuthLoginResponse302 = {\n data: void\n status: 302\n}\n\nexport type postApiAuthLoginResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthLoginResponse401 = {\n data: Error\n status: 401\n}\n\nexport type postApiAuthLoginResponse403 = {\n data: Error\n status: 403\n}\n\nexport type postApiAuthLoginResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthLoginResponse500 = {\n data: Error\n status: 500\n}\n\nexport type postApiAuthLoginResponseSuccess = (postApiAuthLoginResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthLoginResponseError = (postApiAuthLoginResponse302 | postApiAuthLoginResponse400 | postApiAuthLoginResponse401 | postApiAuthLoginResponse403 | postApiAuthLoginResponse404 | postApiAuthLoginResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthLoginResponse = (postApiAuthLoginResponseSuccess | postApiAuthLoginResponseError)\n\nexport const getPostApiAuthLoginUrl = () => {\n\n\n\n\n return `/api/auth/login`\n}\n\n/**\n * Authenticates a user using email and password.\n * @summary Login with email and password\n */\nexport const postApiAuthLogin = async (loginRequest: LoginRequest, options?: RequestInit): Promise<postApiAuthLoginResponse> => {\n\n const res = await fetch(getPostApiAuthLoginUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(loginRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthLoginResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthLoginResponse\n}\n\n\nexport type postApiAuthLogoutResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAuthLogoutResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthLogoutResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthLogoutResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthLogoutResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthLogoutResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAuthLogoutResponseSuccess = (postApiAuthLogoutResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthLogoutResponseError = (postApiAuthLogoutResponse400 | postApiAuthLogoutResponse401 | postApiAuthLogoutResponse403 | postApiAuthLogoutResponse404 | postApiAuthLogoutResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthLogoutResponse = (postApiAuthLogoutResponseSuccess | postApiAuthLogoutResponseError)\n\nexport const getPostApiAuthLogoutUrl = () => {\n\n\n\n\n return `/api/auth/logout`\n}\n\n/**\n * Logs out the current user by clearing the authentication cookie.\n * @summary Logout\n */\nexport const postApiAuthLogout = async ( options?: RequestInit): Promise<postApiAuthLogoutResponse> => {\n\n const res = await fetch(getPostApiAuthLogoutUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthLogoutResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as postApiAuthLogoutResponse\n}\n\n\nexport type postApiAuthOtpDisableResponse200 = {\n data: ErrorResponse\n status: 200\n}\n\nexport type postApiAuthOtpDisableResponse204 = {\n data: void\n status: 204\n}\n\nexport type postApiAuthOtpDisableResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthOtpDisableResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthOtpDisableResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAuthOtpDisableResponseSuccess = (postApiAuthOtpDisableResponse200 | postApiAuthOtpDisableResponse204) & {\n headers: Headers;\n};\nexport type postApiAuthOtpDisableResponseError = (postApiAuthOtpDisableResponse400 | postApiAuthOtpDisableResponse404 | postApiAuthOtpDisableResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthOtpDisableResponse = (postApiAuthOtpDisableResponseSuccess | postApiAuthOtpDisableResponseError)\n\nexport const getPostApiAuthOtpDisableUrl = () => {\n\n\n\n\n return `/api/auth/otp/disable`\n}\n\n/**\n * Disables 2FA for the authenticated user.\n * @summary Disable OTP\n */\nexport const postApiAuthOtpDisable = async (oTPDisableRequest: OTPDisableRequest, options?: RequestInit): Promise<postApiAuthOtpDisableResponse> => {\n\n const res = await fetch(getPostApiAuthOtpDisableUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(oTPDisableRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthOtpDisableResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthOtpDisableResponse\n}\n\n\nexport type postApiAuthOtpGenerateResponse200 = {\n data: OTPGenerateResponse\n status: 200\n}\n\nexport type postApiAuthOtpGenerateResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthOtpGenerateResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthOtpGenerateResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthOtpGenerateResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthOtpGenerateResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAuthOtpGenerateResponseSuccess = (postApiAuthOtpGenerateResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthOtpGenerateResponseError = (postApiAuthOtpGenerateResponse400 | postApiAuthOtpGenerateResponse401 | postApiAuthOtpGenerateResponse403 | postApiAuthOtpGenerateResponse404 | postApiAuthOtpGenerateResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthOtpGenerateResponse = (postApiAuthOtpGenerateResponseSuccess | postApiAuthOtpGenerateResponseError)\n\nexport const getPostApiAuthOtpGenerateUrl = () => {\n\n\n\n\n return `/api/auth/otp/generate`\n}\n\n/**\n * Generates a new OTP secret for the authenticated user.\n * @summary Generate OTP secret\n */\nexport const postApiAuthOtpGenerate = async ( options?: RequestInit): Promise<postApiAuthOtpGenerateResponse> => {\n\n const res = await fetch(getPostApiAuthOtpGenerateUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthOtpGenerateResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthOtpGenerateResponse\n}\n\n\nexport type postApiAuthOtpValidateResponse302 = {\n data: void\n status: 302\n}\n\nexport type postApiAuthOtpValidateResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthOtpValidateResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthOtpValidateResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthOtpValidateResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthOtpValidateResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\n;\nexport type postApiAuthOtpValidateResponseError = (postApiAuthOtpValidateResponse302 | postApiAuthOtpValidateResponse400 | postApiAuthOtpValidateResponse401 | postApiAuthOtpValidateResponse403 | postApiAuthOtpValidateResponse404 | postApiAuthOtpValidateResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthOtpValidateResponse = (postApiAuthOtpValidateResponseError)\n\nexport const getPostApiAuthOtpValidateUrl = () => {\n\n\n\n\n return `/api/auth/otp/validate`\n}\n\n/**\n * Validates an OTP code to complete 2FA login.\n * @summary Validate OTP code\n */\nexport const postApiAuthOtpValidate = async (oTPValidateRequest: OTPValidateRequest, options?: RequestInit): Promise<postApiAuthOtpValidateResponse> => {\n\n const res = await fetch(getPostApiAuthOtpValidateUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(oTPValidateRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthOtpValidateResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthOtpValidateResponse\n}\n\n\nexport type postApiAuthOtpVerifyResponse200 = {\n data: ErrorResponse\n status: 200\n}\n\nexport type postApiAuthOtpVerifyResponse204 = {\n data: void\n status: 204\n}\n\nexport type postApiAuthOtpVerifyResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthOtpVerifyResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthOtpVerifyResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAuthOtpVerifyResponseSuccess = (postApiAuthOtpVerifyResponse200 | postApiAuthOtpVerifyResponse204) & {\n headers: Headers;\n};\nexport type postApiAuthOtpVerifyResponseError = (postApiAuthOtpVerifyResponse400 | postApiAuthOtpVerifyResponse404 | postApiAuthOtpVerifyResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthOtpVerifyResponse = (postApiAuthOtpVerifyResponseSuccess | postApiAuthOtpVerifyResponseError)\n\nexport const getPostApiAuthOtpVerifyUrl = () => {\n\n\n\n\n return `/api/auth/otp/verify`\n}\n\n/**\n * Verifies an OTP code and enables 2FA for the authenticated user.\n * @summary Verify and enable OTP\n */\nexport const postApiAuthOtpVerify = async (oTPVerifyRequest: OTPVerifyRequest, options?: RequestInit): Promise<postApiAuthOtpVerifyResponse> => {\n\n const res = await fetch(getPostApiAuthOtpVerifyUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(oTPVerifyRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthOtpVerifyResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthOtpVerifyResponse\n}\n\n\nexport type postApiAuthPingResponse200 = {\n data: PongResponse\n status: 200\n}\n\nexport type postApiAuthPingResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthPingResponse401 = {\n data: Error\n status: 401\n}\n\nexport type postApiAuthPingResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthPingResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthPingResponse500 = {\n data: Error\n status: 500\n}\n\nexport type postApiAuthPingResponseSuccess = (postApiAuthPingResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthPingResponseError = (postApiAuthPingResponse400 | postApiAuthPingResponse401 | postApiAuthPingResponse403 | postApiAuthPingResponse404 | postApiAuthPingResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthPingResponse = (postApiAuthPingResponseSuccess | postApiAuthPingResponseError)\n\nexport const getPostApiAuthPingUrl = () => {\n\n\n\n\n return `/api/auth/ping`\n}\n\n/**\n * Checks if the user is authenticated and returns a pong response.\n * @summary Ping authenticated endpoint\n */\nexport const postApiAuthPing = async ( options?: RequestInit): Promise<postApiAuthPingResponse> => {\n\n const res = await fetch(getPostApiAuthPingUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthPingResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAuthPingResponse\n}\n\n\nexport type postApiAuthRegisterResponse200 = {\n data: void\n status: 200\n}\n\nexport type postApiAuthRegisterResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAuthRegisterResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAuthRegisterResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAuthRegisterResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAuthRegisterResponse409 = {\n data: Error\n status: 409\n}\n\nexport type postApiAuthRegisterResponse500 = {\n data: Error\n status: 500\n}\n\nexport type postApiAuthRegisterResponseSuccess = (postApiAuthRegisterResponse200) & {\n headers: Headers;\n};\nexport type postApiAuthRegisterResponseError = (postApiAuthRegisterResponse400 | postApiAuthRegisterResponse401 | postApiAuthRegisterResponse403 | postApiAuthRegisterResponse404 | postApiAuthRegisterResponse409 | postApiAuthRegisterResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAuthRegisterResponse = (postApiAuthRegisterResponseSuccess | postApiAuthRegisterResponseError)\n\nexport const getPostApiAuthRegisterUrl = () => {\n\n\n\n\n return `/api/auth/register`\n}\n\n/**\n * Creates a new user account with email and password.\n * @summary Register a new account\n */\nexport const postApiAuthRegister = async (registerRequest: RegisterRequest, options?: RequestInit): Promise<postApiAuthRegisterResponse> => {\n\n const res = await fetch(getPostApiAuthRegisterUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(registerRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAuthRegisterResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as postApiAuthRegisterResponse\n}\n\n\nexport type getApiOperationsResponse200 = {\n data: OperationListItemResponse\n status: 200\n}\n\nexport type getApiOperationsResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiOperationsResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiOperationsResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiOperationsResponseSuccess = (getApiOperationsResponse200) & {\n headers: Headers;\n};\nexport type getApiOperationsResponseError = (getApiOperationsResponse400 | getApiOperationsResponse404 | getApiOperationsResponse500) & {\n headers: Headers;\n};\n\nexport type getApiOperationsResponse = (getApiOperationsResponseSuccess | getApiOperationsResponseError)\n\nexport const getGetApiOperationsUrl = (params?: GetApiOperationsParams,) => {\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' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/operations?${stringifiedParams}` : `/api/operations`\n}\n\n/**\n * Retrieve a list of operations, with filtering, searching, and pagination support.\n * @summary List Operations\n */\nexport const getApiOperations = async (params?: GetApiOperationsParams, options?: RequestInit): Promise<getApiOperationsResponse> => {\n\n const res = await fetch(getGetApiOperationsUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiOperationsResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiOperationsResponse\n}\n\n\nexport type getApiOperationsIdResponse200 = {\n data: OperationDetailResponse\n status: 200\n}\n\nexport type getApiOperationsIdResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiOperationsIdResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiOperationsIdResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiOperationsIdResponseSuccess = (getApiOperationsIdResponse200) & {\n headers: Headers;\n};\nexport type getApiOperationsIdResponseError = (getApiOperationsIdResponse400 | getApiOperationsIdResponse404 | getApiOperationsIdResponse500) & {\n headers: Headers;\n};\n\nexport type getApiOperationsIdResponse = (getApiOperationsIdResponseSuccess | getApiOperationsIdResponseError)\n\nexport const getGetApiOperationsIdUrl = (id: number,) => {\n\n\n\n\n return `/api/operations/${id}`\n}\n\n/**\n * Retrieve detailed information for a specific operation by its ID.\n * @summary Get Operation Details\n */\nexport const getApiOperationsId = async (id: number, options?: RequestInit): Promise<getApiOperationsIdResponse> => {\n\n const res = await fetch(getGetApiOperationsIdUrl(id),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiOperationsIdResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiOperationsIdResponse\n}\n\n\nexport type getApiOperationsFiltersResponse200 = {\n data: OperationFiltersResponseResponse\n status: 200\n}\n\nexport type getApiOperationsFiltersResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiOperationsFiltersResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiOperationsFiltersResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiOperationsFiltersResponseSuccess = (getApiOperationsFiltersResponse200) & {\n headers: Headers;\n};\nexport type getApiOperationsFiltersResponseError = (getApiOperationsFiltersResponse400 | getApiOperationsFiltersResponse404 | getApiOperationsFiltersResponse500) & {\n headers: Headers;\n};\n\nexport type getApiOperationsFiltersResponse = (getApiOperationsFiltersResponseSuccess | getApiOperationsFiltersResponseError)\n\nexport const getGetApiOperationsFiltersUrl = () => {\n\n\n\n\n return `/api/operations/filters`\n}\n\n/**\n * Retrieves distinct filter values for operations (statuses, operations, protocols)\n * @summary Get Operation Filters\n */\nexport const getApiOperationsFilters = async ( options?: RequestInit): Promise<getApiOperationsFiltersResponse> => {\n\n const res = await fetch(getGetApiOperationsFiltersUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiOperationsFiltersResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiOperationsFiltersResponse\n}\n\n\nexport type getApiUploadLimitResponse200 = {\n data: UploadLimitResponse\n status: 200\n}\n\nexport type getApiUploadLimitResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiUploadLimitResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiUploadLimitResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiUploadLimitResponseSuccess = (getApiUploadLimitResponse200) & {\n headers: Headers;\n};\nexport type getApiUploadLimitResponseError = (getApiUploadLimitResponse400 | getApiUploadLimitResponse404 | getApiUploadLimitResponse500) & {\n headers: Headers;\n};\n\nexport type getApiUploadLimitResponse = (getApiUploadLimitResponseSuccess | getApiUploadLimitResponseError)\n\nexport const getGetApiUploadLimitUrl = () => {\n\n\n\n\n return `/api/upload-limit`\n}\n\n/**\n * Retrieves the maximum allowed upload size.\n * @summary Get upload limit\n */\nexport const getApiUploadLimit = async ( options?: RequestInit): Promise<getApiUploadLimitResponse> => {\n\n const res = await fetch(getGetApiUploadLimitUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiUploadLimitResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiUploadLimitResponse\n}\n\n\n"],"mappings":";AA0EA,MAAa,+BAA+B;AAK1C,QAAO;;;;;;AAOT,MAAa,mBAAmB,OAAQ,YAA6D;CAEnG,MAAM,MAAM,MAAM,MAAM,wBAAwB,EAChD;EACE,GAAG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,QAAQ,IAAI;EAAQ,SAAS,IAAI;EAAS;;AAiC3D,MAAa,gCAAgC;AAK3C,QAAO;;;;;;AAOT,MAAa,oBAAoB,OAAQ,YAA8D;CAErG,MAAM,MAAM,MAAM,MAAM,yBAAyB,EACjD;EACE,GAAG;EACH,QAAQ;EAGT,CACF;CAGC,MAAM,OAAO;EAAC;EAAK;EAAK;EAAI,CAAC,SAAS,IAAI,OAAO,GAAG,OAAO,MAAM,IAAI,MAAM;AAG3E,QAAO;EAAE,MADuC,OAAO,KAAK,MAAM,KAAK,GAAG,EAAE;EAC7D,QAAQ,IAAI;EAAQ,SAAS,IAAI;EAAS"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { APIKeyCreateRequest,
|
|
2
|
-
import { deleteApiAccount, deleteApiAccountKeysKeyID, deleteApiAccountKeysKeyIDResponse, deleteApiAccountKeysKeyIDResponse200, deleteApiAccountKeysKeyIDResponse400, deleteApiAccountKeysKeyIDResponse404, deleteApiAccountKeysKeyIDResponse500, deleteApiAccountKeysKeyIDResponseError, deleteApiAccountKeysKeyIDResponseSuccess, deleteApiAccountResponse, deleteApiAccountResponse200, deleteApiAccountResponse400, deleteApiAccountResponse404, deleteApiAccountResponse500, deleteApiAccountResponseError, deleteApiAccountResponseSuccess, getApiAccount, getApiAccountAvatar, getApiAccountAvatarResponse, getApiAccountAvatarResponse200, getApiAccountAvatarResponse400, getApiAccountAvatarResponse404, getApiAccountAvatarResponse500, getApiAccountAvatarResponseError, getApiAccountAvatarResponseSuccess, getApiAccountKeys, getApiAccountKeysResponse, getApiAccountKeysResponse200, getApiAccountKeysResponse400, getApiAccountKeysResponse404, getApiAccountKeysResponse500, getApiAccountKeysResponseError, getApiAccountKeysResponseSuccess, getApiAccountPermissions, getApiAccountPermissionsResponse, getApiAccountPermissionsResponse200, getApiAccountPermissionsResponse400, getApiAccountPermissionsResponse404, getApiAccountPermissionsResponse500, getApiAccountPermissionsResponseError, getApiAccountPermissionsResponseSuccess, getApiAccountResponse, getApiAccountResponse200, getApiAccountResponse400, getApiAccountResponse401, getApiAccountResponse403, getApiAccountResponse404, getApiAccountResponse500, getApiAccountResponseError, getApiAccountResponseSuccess, getApiOperations, getApiOperationsFilters, getApiOperationsFiltersResponse, getApiOperationsFiltersResponse200, getApiOperationsFiltersResponse400, getApiOperationsFiltersResponse404, getApiOperationsFiltersResponse500, getApiOperationsFiltersResponseError, getApiOperationsFiltersResponseSuccess, getApiOperationsId, getApiOperationsIdResponse, getApiOperationsIdResponse200, getApiOperationsIdResponse400, getApiOperationsIdResponse404, getApiOperationsIdResponse500, getApiOperationsIdResponseError, getApiOperationsIdResponseSuccess, getApiOperationsResponse, getApiOperationsResponse200, getApiOperationsResponse400, getApiOperationsResponse404, getApiOperationsResponse500, getApiOperationsResponseError, getApiOperationsResponseSuccess, getApiUploadLimit, getApiUploadLimitResponse, getApiUploadLimitResponse200, getApiUploadLimitResponse400, getApiUploadLimitResponse404, getApiUploadLimitResponse500, getApiUploadLimitResponseError, getApiUploadLimitResponseSuccess, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, patchApiAccountResponse, patchApiAccountResponse200, patchApiAccountResponse400, patchApiAccountResponse401, patchApiAccountResponse403, patchApiAccountResponse404, patchApiAccountResponse500, patchApiAccountResponseError, patchApiAccountResponseSuccess, postApiAccountAvatar, postApiAccountAvatarResponse, postApiAccountAvatarResponse200, postApiAccountAvatarResponse204, postApiAccountAvatarResponse400, postApiAccountAvatarResponse404, postApiAccountAvatarResponse500, postApiAccountAvatarResponseError, postApiAccountAvatarResponseSuccess, postApiAccountKeys, postApiAccountKeysResponse, postApiAccountKeysResponse200, postApiAccountKeysResponse400, postApiAccountKeysResponse404, postApiAccountKeysResponse500, postApiAccountKeysResponseError, postApiAccountKeysResponseSuccess, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetConfirmResponse, postApiAccountPasswordResetConfirmResponse200, postApiAccountPasswordResetConfirmResponse400, postApiAccountPasswordResetConfirmResponse404, postApiAccountPasswordResetConfirmResponse500, postApiAccountPasswordResetConfirmResponseError, postApiAccountPasswordResetConfirmResponseSuccess, postApiAccountPasswordResetRequest, postApiAccountPasswordResetRequestResponse, postApiAccountPasswordResetRequestResponse200, postApiAccountPasswordResetRequestResponse400, postApiAccountPasswordResetRequestResponse401, postApiAccountPasswordResetRequestResponse403, postApiAccountPasswordResetRequestResponse404, postApiAccountPasswordResetRequestResponse500, postApiAccountPasswordResetRequestResponseError, postApiAccountPasswordResetRequestResponseSuccess, postApiAccountUpdateEmail, postApiAccountUpdateEmailResponse, postApiAccountUpdateEmailResponse200, postApiAccountUpdateEmailResponse400, postApiAccountUpdateEmailResponse404, postApiAccountUpdateEmailResponse500, postApiAccountUpdateEmailResponseError, postApiAccountUpdateEmailResponseSuccess, postApiAccountUpdatePassword, postApiAccountUpdatePasswordResponse, postApiAccountUpdatePasswordResponse200, postApiAccountUpdatePasswordResponse400, postApiAccountUpdatePasswordResponse404, postApiAccountUpdatePasswordResponse500, postApiAccountUpdatePasswordResponseError, postApiAccountUpdatePasswordResponseSuccess, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAccountVerifyEmailResendResponse, postApiAccountVerifyEmailResendResponse200, postApiAccountVerifyEmailResendResponse400, postApiAccountVerifyEmailResendResponse404, postApiAccountVerifyEmailResendResponse500, postApiAccountVerifyEmailResendResponseError, postApiAccountVerifyEmailResendResponseSuccess, postApiAccountVerifyEmailResponse, postApiAccountVerifyEmailResponse200, postApiAccountVerifyEmailResponse400, postApiAccountVerifyEmailResponse404, postApiAccountVerifyEmailResponse500, postApiAccountVerifyEmailResponseError, postApiAccountVerifyEmailResponseSuccess, postApiAuthKey, postApiAuthKeyResponse, postApiAuthKeyResponse200, postApiAuthKeyResponse400, postApiAuthKeyResponse401, postApiAuthKeyResponse403, postApiAuthKeyResponse404, postApiAuthKeyResponse500, postApiAuthKeyResponseError, postApiAuthKeyResponseSuccess, postApiAuthLogin, postApiAuthLoginResponse, postApiAuthLoginResponse200, postApiAuthLoginResponse302, postApiAuthLoginResponse400, postApiAuthLoginResponse401, postApiAuthLoginResponse403, postApiAuthLoginResponse404, postApiAuthLoginResponse500, postApiAuthLoginResponseError, postApiAuthLoginResponseSuccess, postApiAuthLogout, postApiAuthLogoutResponse, postApiAuthLogoutResponse200, postApiAuthLogoutResponse400, postApiAuthLogoutResponse401, postApiAuthLogoutResponse403, postApiAuthLogoutResponse404, postApiAuthLogoutResponse500, postApiAuthLogoutResponseError, postApiAuthLogoutResponseSuccess, postApiAuthOtpDisable, postApiAuthOtpDisableResponse, postApiAuthOtpDisableResponse200, postApiAuthOtpDisableResponse204, postApiAuthOtpDisableResponse400, postApiAuthOtpDisableResponse404, postApiAuthOtpDisableResponse500, postApiAuthOtpDisableResponseError, postApiAuthOtpDisableResponseSuccess, postApiAuthOtpGenerate, postApiAuthOtpGenerateResponse, postApiAuthOtpGenerateResponse200, postApiAuthOtpGenerateResponse400, postApiAuthOtpGenerateResponse401, postApiAuthOtpGenerateResponse403, postApiAuthOtpGenerateResponse404, postApiAuthOtpGenerateResponse500, postApiAuthOtpGenerateResponseError, postApiAuthOtpGenerateResponseSuccess, postApiAuthOtpValidate, postApiAuthOtpValidateResponse,
|
|
3
|
-
export { APIKeyCreateRequest, APIKeyResponse, APIKeyResponseResponse, AccessModel, AccessModelDef, AccessPolicy, AccountInfoResponse, AccountPermissionsResponse, BinUUID, BinaryUUID, CreateAPIKeyResponse, Error, ErrorResponse, GetApiAccountKeysParams, GetApiOperationsParams, LoginRequest, LoginResponse, OTPDisableRequest, OTPGenerateResponse, OTPValidateRequest, OTPVerifyRequest, OperationDetailResponse, OperationFilterItem, OperationFiltersResponse, OperationFiltersResponseData, OperationFiltersResponseResponse, OperationListItem, OperationListItemResponse, PasswordResetRequest, PasswordResetVerifyRequest, PongResponse, PostApiAccountAvatarBody, PostApiAccountVerifyEmailParams, RegisterRequest, ResendVerifyEmailRequest, UpdateEmailRequest, UpdatePasswordRequest, UpdateProfileRequest, UploadLimitResponse, Uuid, VerifyEmailRequest, deleteApiAccount, deleteApiAccountKeysKeyID, deleteApiAccountKeysKeyIDResponse, deleteApiAccountKeysKeyIDResponse200, deleteApiAccountKeysKeyIDResponse400, deleteApiAccountKeysKeyIDResponse404, deleteApiAccountKeysKeyIDResponse500, deleteApiAccountKeysKeyIDResponseError, deleteApiAccountKeysKeyIDResponseSuccess, deleteApiAccountResponse, deleteApiAccountResponse200, deleteApiAccountResponse400, deleteApiAccountResponse404, deleteApiAccountResponse500, deleteApiAccountResponseError, deleteApiAccountResponseSuccess, getApiAccount, getApiAccountAvatar, getApiAccountAvatarResponse, getApiAccountAvatarResponse200, getApiAccountAvatarResponse400, getApiAccountAvatarResponse404, getApiAccountAvatarResponse500, getApiAccountAvatarResponseError, getApiAccountAvatarResponseSuccess, getApiAccountKeys, getApiAccountKeysResponse, getApiAccountKeysResponse200, getApiAccountKeysResponse400, getApiAccountKeysResponse404, getApiAccountKeysResponse500, getApiAccountKeysResponseError, getApiAccountKeysResponseSuccess, getApiAccountPermissions, getApiAccountPermissionsResponse, getApiAccountPermissionsResponse200, getApiAccountPermissionsResponse400, getApiAccountPermissionsResponse404, getApiAccountPermissionsResponse500, getApiAccountPermissionsResponseError, getApiAccountPermissionsResponseSuccess, getApiAccountResponse, getApiAccountResponse200, getApiAccountResponse400, getApiAccountResponse401, getApiAccountResponse403, getApiAccountResponse404, getApiAccountResponse500, getApiAccountResponseError, getApiAccountResponseSuccess, getApiOperations, getApiOperationsFilters, getApiOperationsFiltersResponse, getApiOperationsFiltersResponse200, getApiOperationsFiltersResponse400, getApiOperationsFiltersResponse404, getApiOperationsFiltersResponse500, getApiOperationsFiltersResponseError, getApiOperationsFiltersResponseSuccess, getApiOperationsId, getApiOperationsIdResponse, getApiOperationsIdResponse200, getApiOperationsIdResponse400, getApiOperationsIdResponse404, getApiOperationsIdResponse500, getApiOperationsIdResponseError, getApiOperationsIdResponseSuccess, getApiOperationsResponse, getApiOperationsResponse200, getApiOperationsResponse400, getApiOperationsResponse404, getApiOperationsResponse500, getApiOperationsResponseError, getApiOperationsResponseSuccess, getApiUploadLimit, getApiUploadLimitResponse, getApiUploadLimitResponse200, getApiUploadLimitResponse400, getApiUploadLimitResponse404, getApiUploadLimitResponse500, getApiUploadLimitResponseError, getApiUploadLimitResponseSuccess, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, patchApiAccountResponse, patchApiAccountResponse200, patchApiAccountResponse400, patchApiAccountResponse401, patchApiAccountResponse403, patchApiAccountResponse404, patchApiAccountResponse500, patchApiAccountResponseError, patchApiAccountResponseSuccess, postApiAccountAvatar, postApiAccountAvatarResponse, postApiAccountAvatarResponse200, postApiAccountAvatarResponse204, postApiAccountAvatarResponse400, postApiAccountAvatarResponse404, postApiAccountAvatarResponse500, postApiAccountAvatarResponseError, postApiAccountAvatarResponseSuccess, postApiAccountKeys, postApiAccountKeysResponse, postApiAccountKeysResponse200, postApiAccountKeysResponse400, postApiAccountKeysResponse404, postApiAccountKeysResponse500, postApiAccountKeysResponseError, postApiAccountKeysResponseSuccess, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetConfirmResponse, postApiAccountPasswordResetConfirmResponse200, postApiAccountPasswordResetConfirmResponse400, postApiAccountPasswordResetConfirmResponse404, postApiAccountPasswordResetConfirmResponse500, postApiAccountPasswordResetConfirmResponseError, postApiAccountPasswordResetConfirmResponseSuccess, postApiAccountPasswordResetRequest, postApiAccountPasswordResetRequestResponse, postApiAccountPasswordResetRequestResponse200, postApiAccountPasswordResetRequestResponse400, postApiAccountPasswordResetRequestResponse401, postApiAccountPasswordResetRequestResponse403, postApiAccountPasswordResetRequestResponse404, postApiAccountPasswordResetRequestResponse500, postApiAccountPasswordResetRequestResponseError, postApiAccountPasswordResetRequestResponseSuccess, postApiAccountUpdateEmail, postApiAccountUpdateEmailResponse, postApiAccountUpdateEmailResponse200, postApiAccountUpdateEmailResponse400, postApiAccountUpdateEmailResponse404, postApiAccountUpdateEmailResponse500, postApiAccountUpdateEmailResponseError, postApiAccountUpdateEmailResponseSuccess, postApiAccountUpdatePassword, postApiAccountUpdatePasswordResponse, postApiAccountUpdatePasswordResponse200, postApiAccountUpdatePasswordResponse400, postApiAccountUpdatePasswordResponse404, postApiAccountUpdatePasswordResponse500, postApiAccountUpdatePasswordResponseError, postApiAccountUpdatePasswordResponseSuccess, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAccountVerifyEmailResendResponse, postApiAccountVerifyEmailResendResponse200, postApiAccountVerifyEmailResendResponse400, postApiAccountVerifyEmailResendResponse404, postApiAccountVerifyEmailResendResponse500, postApiAccountVerifyEmailResendResponseError, postApiAccountVerifyEmailResendResponseSuccess, postApiAccountVerifyEmailResponse, postApiAccountVerifyEmailResponse200, postApiAccountVerifyEmailResponse400, postApiAccountVerifyEmailResponse404, postApiAccountVerifyEmailResponse500, postApiAccountVerifyEmailResponseError, postApiAccountVerifyEmailResponseSuccess, postApiAuthKey, postApiAuthKeyResponse, postApiAuthKeyResponse200, postApiAuthKeyResponse400, postApiAuthKeyResponse401, postApiAuthKeyResponse403, postApiAuthKeyResponse404, postApiAuthKeyResponse500, postApiAuthKeyResponseError, postApiAuthKeyResponseSuccess, postApiAuthLogin, postApiAuthLoginResponse, postApiAuthLoginResponse200, postApiAuthLoginResponse302, postApiAuthLoginResponse400, postApiAuthLoginResponse401, postApiAuthLoginResponse403, postApiAuthLoginResponse404, postApiAuthLoginResponse500, postApiAuthLoginResponseError, postApiAuthLoginResponseSuccess, postApiAuthLogout, postApiAuthLogoutResponse, postApiAuthLogoutResponse200, postApiAuthLogoutResponse400, postApiAuthLogoutResponse401, postApiAuthLogoutResponse403, postApiAuthLogoutResponse404, postApiAuthLogoutResponse500, postApiAuthLogoutResponseError, postApiAuthLogoutResponseSuccess, postApiAuthOtpDisable, postApiAuthOtpDisableResponse, postApiAuthOtpDisableResponse200, postApiAuthOtpDisableResponse204, postApiAuthOtpDisableResponse400, postApiAuthOtpDisableResponse404, postApiAuthOtpDisableResponse500, postApiAuthOtpDisableResponseError, postApiAuthOtpDisableResponseSuccess, postApiAuthOtpGenerate, postApiAuthOtpGenerateResponse, postApiAuthOtpGenerateResponse200, postApiAuthOtpGenerateResponse400, postApiAuthOtpGenerateResponse401, postApiAuthOtpGenerateResponse403, postApiAuthOtpGenerateResponse404, postApiAuthOtpGenerateResponse500, postApiAuthOtpGenerateResponseError, postApiAuthOtpGenerateResponseSuccess, postApiAuthOtpValidate, postApiAuthOtpValidateResponse, postApiAuthOtpValidateResponse200, postApiAuthOtpValidateResponse302, postApiAuthOtpValidateResponse400, postApiAuthOtpValidateResponse401, postApiAuthOtpValidateResponse403, postApiAuthOtpValidateResponse404, postApiAuthOtpValidateResponse500, postApiAuthOtpValidateResponseError, postApiAuthOtpValidateResponseSuccess, postApiAuthOtpVerify, postApiAuthOtpVerifyResponse, postApiAuthOtpVerifyResponse200, postApiAuthOtpVerifyResponse204, postApiAuthOtpVerifyResponse400, postApiAuthOtpVerifyResponse404, postApiAuthOtpVerifyResponse500, postApiAuthOtpVerifyResponseError, postApiAuthOtpVerifyResponseSuccess, postApiAuthPing, postApiAuthPingResponse, postApiAuthPingResponse200, postApiAuthPingResponse400, postApiAuthPingResponse401, postApiAuthPingResponse403, postApiAuthPingResponse404, postApiAuthPingResponse500, postApiAuthPingResponseError, postApiAuthPingResponseSuccess, postApiAuthRegister, postApiAuthRegisterResponse, postApiAuthRegisterResponse200, postApiAuthRegisterResponse400, postApiAuthRegisterResponse401, postApiAuthRegisterResponse403, postApiAuthRegisterResponse404, postApiAuthRegisterResponse409, postApiAuthRegisterResponse500, postApiAuthRegisterResponseError, postApiAuthRegisterResponseSuccess };
|
|
1
|
+
import { APIEndpointInfoResponse, APIKeyCreateRequest, APIKeyListResponse, APIKeyResponse, AccessModel, AccessModelDef, AccessPolicy, AccountInfoResponse, AccountPermissionsResponse, BalanceResponse, BinaryUUID, ChangePlanRequest, CheckoutSessionStatusResponse, CheckoutUIFragment, CheckoutUIFragmentMetadata, CheckoutUIResponse, CheckoutUIResponseMetadata, CreateAPIKeyResponse, Decimal, Error, ErrorResponse, GatewayAbilities, GatewayListResponse, GatewayPublicInfo, GetApiAccountBillingCheckoutSessionSessionIdStatusParams, GetApiAccountBillingCheckoutUiPlanIdParams, GetApiAccountKeysParams, GetApiAccountQuotaHistoryParams, GetApiOperationsParams, LoginRequest, LoginResponse, ManagementCapabilitiesResponse, ManagementCapabilitiesResponseAdminOperations, ManagementCapabilitiesResponseOperations, ManagementRequest, ManagementResultResponse, OTPDisableRequest, OTPGenerateResponse, OTPValidateRequest, OTPVerifyRequest, OperationDetailResponse, OperationFilterItem, OperationFiltersResponse, OperationFiltersResponseData, OperationFiltersResponseResponse, OperationListItem, OperationListItemResponse, PasswordResetRequest, PasswordResetVerifyRequest, PongResponse, PostApiAccountAvatarBody, PostApiAccountBillingWebhooksGatewayTypeBody, PostApiAccountVerifyEmailParams, PublicPricingPlanPeriodDTO, PublicPricingPlanResponse, PublicPricingPlansListResponse, QuotaHistoryResponse, QuotaStatusResponse, QuotaTypeStatus, RegisterRequest, ResendVerifyEmailRequest, StringUUIDSchema, SubscriptionStatusResponse, UpdateEmailRequest, UpdatePasswordRequest, UpdateProfileRequest, UploadLimitResponse, UsagePoint, UserCreditItem, UserCreditsListResponse, Uuid, VerifyEmailRequest, WindowInfo } from "./accountAPI.schemas.js";
|
|
2
|
+
import { deleteApiAccount, deleteApiAccountKeysKeyID, deleteApiAccountKeysKeyIDResponse, deleteApiAccountKeysKeyIDResponse200, deleteApiAccountKeysKeyIDResponse400, deleteApiAccountKeysKeyIDResponse404, deleteApiAccountKeysKeyIDResponse500, deleteApiAccountKeysKeyIDResponseError, deleteApiAccountKeysKeyIDResponseSuccess, deleteApiAccountResponse, deleteApiAccountResponse200, deleteApiAccountResponse400, deleteApiAccountResponse404, deleteApiAccountResponse500, deleteApiAccountResponseError, deleteApiAccountResponseSuccess, getApiAccount, getApiAccountAvatar, getApiAccountAvatarResponse, getApiAccountAvatarResponse200, getApiAccountAvatarResponse400, getApiAccountAvatarResponse404, getApiAccountAvatarResponse500, getApiAccountAvatarResponseError, getApiAccountAvatarResponseSuccess, getApiAccountKeys, getApiAccountKeysResponse, getApiAccountKeysResponse200, getApiAccountKeysResponse400, getApiAccountKeysResponse404, getApiAccountKeysResponse500, getApiAccountKeysResponseError, getApiAccountKeysResponseSuccess, getApiAccountPermissions, getApiAccountPermissionsResponse, getApiAccountPermissionsResponse200, getApiAccountPermissionsResponse400, getApiAccountPermissionsResponse404, getApiAccountPermissionsResponse500, getApiAccountPermissionsResponseError, getApiAccountPermissionsResponseSuccess, getApiAccountQuotaHistory, getApiAccountQuotaHistoryResponse, getApiAccountQuotaHistoryResponse200, getApiAccountQuotaHistoryResponse400, getApiAccountQuotaHistoryResponse404, getApiAccountQuotaHistoryResponse500, getApiAccountQuotaHistoryResponseError, getApiAccountQuotaHistoryResponseSuccess, getApiAccountResponse, getApiAccountResponse200, getApiAccountResponse400, getApiAccountResponse401, getApiAccountResponse403, getApiAccountResponse404, getApiAccountResponse500, getApiAccountResponseError, getApiAccountResponseSuccess, getApiOperations, getApiOperationsFilters, getApiOperationsFiltersResponse, getApiOperationsFiltersResponse200, getApiOperationsFiltersResponse400, getApiOperationsFiltersResponse404, getApiOperationsFiltersResponse500, getApiOperationsFiltersResponseError, getApiOperationsFiltersResponseSuccess, getApiOperationsId, getApiOperationsIdResponse, getApiOperationsIdResponse200, getApiOperationsIdResponse400, getApiOperationsIdResponse404, getApiOperationsIdResponse500, getApiOperationsIdResponseError, getApiOperationsIdResponseSuccess, getApiOperationsResponse, getApiOperationsResponse200, getApiOperationsResponse400, getApiOperationsResponse404, getApiOperationsResponse500, getApiOperationsResponseError, getApiOperationsResponseSuccess, getApiUploadLimit, getApiUploadLimitResponse, getApiUploadLimitResponse200, getApiUploadLimitResponse400, getApiUploadLimitResponse404, getApiUploadLimitResponse500, getApiUploadLimitResponseError, getApiUploadLimitResponseSuccess, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountQuotaHistoryUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, patchApiAccountResponse, patchApiAccountResponse200, patchApiAccountResponse400, patchApiAccountResponse401, patchApiAccountResponse403, patchApiAccountResponse404, patchApiAccountResponse500, patchApiAccountResponseError, patchApiAccountResponseSuccess, postApiAccountAvatar, postApiAccountAvatarResponse, postApiAccountAvatarResponse200, postApiAccountAvatarResponse204, postApiAccountAvatarResponse400, postApiAccountAvatarResponse404, postApiAccountAvatarResponse500, postApiAccountAvatarResponseError, postApiAccountAvatarResponseSuccess, postApiAccountKeys, postApiAccountKeysResponse, postApiAccountKeysResponse200, postApiAccountKeysResponse400, postApiAccountKeysResponse404, postApiAccountKeysResponse500, postApiAccountKeysResponseError, postApiAccountKeysResponseSuccess, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetConfirmResponse, postApiAccountPasswordResetConfirmResponse200, postApiAccountPasswordResetConfirmResponse400, postApiAccountPasswordResetConfirmResponse404, postApiAccountPasswordResetConfirmResponse500, postApiAccountPasswordResetConfirmResponseError, postApiAccountPasswordResetConfirmResponseSuccess, postApiAccountPasswordResetRequest, postApiAccountPasswordResetRequestResponse, postApiAccountPasswordResetRequestResponse200, postApiAccountPasswordResetRequestResponse400, postApiAccountPasswordResetRequestResponse401, postApiAccountPasswordResetRequestResponse403, postApiAccountPasswordResetRequestResponse404, postApiAccountPasswordResetRequestResponse500, postApiAccountPasswordResetRequestResponseError, postApiAccountPasswordResetRequestResponseSuccess, postApiAccountUpdateEmail, postApiAccountUpdateEmailResponse, postApiAccountUpdateEmailResponse200, postApiAccountUpdateEmailResponse400, postApiAccountUpdateEmailResponse404, postApiAccountUpdateEmailResponse500, postApiAccountUpdateEmailResponseError, postApiAccountUpdateEmailResponseSuccess, postApiAccountUpdatePassword, postApiAccountUpdatePasswordResponse, postApiAccountUpdatePasswordResponse200, postApiAccountUpdatePasswordResponse400, postApiAccountUpdatePasswordResponse404, postApiAccountUpdatePasswordResponse500, postApiAccountUpdatePasswordResponseError, postApiAccountUpdatePasswordResponseSuccess, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAccountVerifyEmailResendResponse, postApiAccountVerifyEmailResendResponse200, postApiAccountVerifyEmailResendResponse400, postApiAccountVerifyEmailResendResponse404, postApiAccountVerifyEmailResendResponse500, postApiAccountVerifyEmailResendResponseError, postApiAccountVerifyEmailResendResponseSuccess, postApiAccountVerifyEmailResponse, postApiAccountVerifyEmailResponse200, postApiAccountVerifyEmailResponse400, postApiAccountVerifyEmailResponse404, postApiAccountVerifyEmailResponse500, postApiAccountVerifyEmailResponseError, postApiAccountVerifyEmailResponseSuccess, postApiAuthKey, postApiAuthKeyResponse, postApiAuthKeyResponse200, postApiAuthKeyResponse400, postApiAuthKeyResponse401, postApiAuthKeyResponse403, postApiAuthKeyResponse404, postApiAuthKeyResponse500, postApiAuthKeyResponseError, postApiAuthKeyResponseSuccess, postApiAuthLogin, postApiAuthLoginResponse, postApiAuthLoginResponse200, postApiAuthLoginResponse302, postApiAuthLoginResponse400, postApiAuthLoginResponse401, postApiAuthLoginResponse403, postApiAuthLoginResponse404, postApiAuthLoginResponse500, postApiAuthLoginResponseError, postApiAuthLoginResponseSuccess, postApiAuthLogout, postApiAuthLogoutResponse, postApiAuthLogoutResponse200, postApiAuthLogoutResponse400, postApiAuthLogoutResponse401, postApiAuthLogoutResponse403, postApiAuthLogoutResponse404, postApiAuthLogoutResponse500, postApiAuthLogoutResponseError, postApiAuthLogoutResponseSuccess, postApiAuthOtpDisable, postApiAuthOtpDisableResponse, postApiAuthOtpDisableResponse200, postApiAuthOtpDisableResponse204, postApiAuthOtpDisableResponse400, postApiAuthOtpDisableResponse404, postApiAuthOtpDisableResponse500, postApiAuthOtpDisableResponseError, postApiAuthOtpDisableResponseSuccess, postApiAuthOtpGenerate, postApiAuthOtpGenerateResponse, postApiAuthOtpGenerateResponse200, postApiAuthOtpGenerateResponse400, postApiAuthOtpGenerateResponse401, postApiAuthOtpGenerateResponse403, postApiAuthOtpGenerateResponse404, postApiAuthOtpGenerateResponse500, postApiAuthOtpGenerateResponseError, postApiAuthOtpGenerateResponseSuccess, postApiAuthOtpValidate, postApiAuthOtpValidateResponse, postApiAuthOtpValidateResponse302, postApiAuthOtpValidateResponse400, postApiAuthOtpValidateResponse401, postApiAuthOtpValidateResponse403, postApiAuthOtpValidateResponse404, postApiAuthOtpValidateResponse500, postApiAuthOtpValidateResponseError, postApiAuthOtpVerify, postApiAuthOtpVerifyResponse, postApiAuthOtpVerifyResponse200, postApiAuthOtpVerifyResponse204, postApiAuthOtpVerifyResponse400, postApiAuthOtpVerifyResponse404, postApiAuthOtpVerifyResponse500, postApiAuthOtpVerifyResponseError, postApiAuthOtpVerifyResponseSuccess, postApiAuthPing, postApiAuthPingResponse, postApiAuthPingResponse200, postApiAuthPingResponse400, postApiAuthPingResponse401, postApiAuthPingResponse403, postApiAuthPingResponse404, postApiAuthPingResponse500, postApiAuthPingResponseError, postApiAuthPingResponseSuccess, postApiAuthRegister, postApiAuthRegisterResponse, postApiAuthRegisterResponse200, postApiAuthRegisterResponse400, postApiAuthRegisterResponse401, postApiAuthRegisterResponse403, postApiAuthRegisterResponse404, postApiAuthRegisterResponse409, postApiAuthRegisterResponse500, postApiAuthRegisterResponseError, postApiAuthRegisterResponseSuccess } from "./default.js";
|
|
3
|
+
export { APIEndpointInfoResponse, APIKeyCreateRequest, APIKeyListResponse, APIKeyResponse, AccessModel, AccessModelDef, AccessPolicy, AccountInfoResponse, AccountPermissionsResponse, BalanceResponse, BinaryUUID, ChangePlanRequest, CheckoutSessionStatusResponse, CheckoutUIFragment, CheckoutUIFragmentMetadata, CheckoutUIResponse, CheckoutUIResponseMetadata, CreateAPIKeyResponse, Decimal, Error, ErrorResponse, GatewayAbilities, GatewayListResponse, GatewayPublicInfo, GetApiAccountBillingCheckoutSessionSessionIdStatusParams, GetApiAccountBillingCheckoutUiPlanIdParams, GetApiAccountKeysParams, GetApiAccountQuotaHistoryParams, GetApiOperationsParams, LoginRequest, LoginResponse, ManagementCapabilitiesResponse, ManagementCapabilitiesResponseAdminOperations, ManagementCapabilitiesResponseOperations, ManagementRequest, ManagementResultResponse, OTPDisableRequest, OTPGenerateResponse, OTPValidateRequest, OTPVerifyRequest, OperationDetailResponse, OperationFilterItem, OperationFiltersResponse, OperationFiltersResponseData, OperationFiltersResponseResponse, OperationListItem, OperationListItemResponse, PasswordResetRequest, PasswordResetVerifyRequest, PongResponse, PostApiAccountAvatarBody, PostApiAccountBillingWebhooksGatewayTypeBody, PostApiAccountVerifyEmailParams, PublicPricingPlanPeriodDTO, PublicPricingPlanResponse, PublicPricingPlansListResponse, QuotaHistoryResponse, QuotaStatusResponse, QuotaTypeStatus, RegisterRequest, ResendVerifyEmailRequest, StringUUIDSchema, SubscriptionStatusResponse, UpdateEmailRequest, UpdatePasswordRequest, UpdateProfileRequest, UploadLimitResponse, UsagePoint, UserCreditItem, UserCreditsListResponse, Uuid, VerifyEmailRequest, WindowInfo, deleteApiAccount, deleteApiAccountKeysKeyID, deleteApiAccountKeysKeyIDResponse, deleteApiAccountKeysKeyIDResponse200, deleteApiAccountKeysKeyIDResponse400, deleteApiAccountKeysKeyIDResponse404, deleteApiAccountKeysKeyIDResponse500, deleteApiAccountKeysKeyIDResponseError, deleteApiAccountKeysKeyIDResponseSuccess, deleteApiAccountResponse, deleteApiAccountResponse200, deleteApiAccountResponse400, deleteApiAccountResponse404, deleteApiAccountResponse500, deleteApiAccountResponseError, deleteApiAccountResponseSuccess, getApiAccount, getApiAccountAvatar, getApiAccountAvatarResponse, getApiAccountAvatarResponse200, getApiAccountAvatarResponse400, getApiAccountAvatarResponse404, getApiAccountAvatarResponse500, getApiAccountAvatarResponseError, getApiAccountAvatarResponseSuccess, getApiAccountKeys, getApiAccountKeysResponse, getApiAccountKeysResponse200, getApiAccountKeysResponse400, getApiAccountKeysResponse404, getApiAccountKeysResponse500, getApiAccountKeysResponseError, getApiAccountKeysResponseSuccess, getApiAccountPermissions, getApiAccountPermissionsResponse, getApiAccountPermissionsResponse200, getApiAccountPermissionsResponse400, getApiAccountPermissionsResponse404, getApiAccountPermissionsResponse500, getApiAccountPermissionsResponseError, getApiAccountPermissionsResponseSuccess, getApiAccountQuotaHistory, getApiAccountQuotaHistoryResponse, getApiAccountQuotaHistoryResponse200, getApiAccountQuotaHistoryResponse400, getApiAccountQuotaHistoryResponse404, getApiAccountQuotaHistoryResponse500, getApiAccountQuotaHistoryResponseError, getApiAccountQuotaHistoryResponseSuccess, getApiAccountResponse, getApiAccountResponse200, getApiAccountResponse400, getApiAccountResponse401, getApiAccountResponse403, getApiAccountResponse404, getApiAccountResponse500, getApiAccountResponseError, getApiAccountResponseSuccess, getApiOperations, getApiOperationsFilters, getApiOperationsFiltersResponse, getApiOperationsFiltersResponse200, getApiOperationsFiltersResponse400, getApiOperationsFiltersResponse404, getApiOperationsFiltersResponse500, getApiOperationsFiltersResponseError, getApiOperationsFiltersResponseSuccess, getApiOperationsId, getApiOperationsIdResponse, getApiOperationsIdResponse200, getApiOperationsIdResponse400, getApiOperationsIdResponse404, getApiOperationsIdResponse500, getApiOperationsIdResponseError, getApiOperationsIdResponseSuccess, getApiOperationsResponse, getApiOperationsResponse200, getApiOperationsResponse400, getApiOperationsResponse404, getApiOperationsResponse500, getApiOperationsResponseError, getApiOperationsResponseSuccess, getApiUploadLimit, getApiUploadLimitResponse, getApiUploadLimitResponse200, getApiUploadLimitResponse400, getApiUploadLimitResponse404, getApiUploadLimitResponse500, getApiUploadLimitResponseError, getApiUploadLimitResponseSuccess, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountQuotaHistoryUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, patchApiAccountResponse, patchApiAccountResponse200, patchApiAccountResponse400, patchApiAccountResponse401, patchApiAccountResponse403, patchApiAccountResponse404, patchApiAccountResponse500, patchApiAccountResponseError, patchApiAccountResponseSuccess, postApiAccountAvatar, postApiAccountAvatarResponse, postApiAccountAvatarResponse200, postApiAccountAvatarResponse204, postApiAccountAvatarResponse400, postApiAccountAvatarResponse404, postApiAccountAvatarResponse500, postApiAccountAvatarResponseError, postApiAccountAvatarResponseSuccess, postApiAccountKeys, postApiAccountKeysResponse, postApiAccountKeysResponse200, postApiAccountKeysResponse400, postApiAccountKeysResponse404, postApiAccountKeysResponse500, postApiAccountKeysResponseError, postApiAccountKeysResponseSuccess, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetConfirmResponse, postApiAccountPasswordResetConfirmResponse200, postApiAccountPasswordResetConfirmResponse400, postApiAccountPasswordResetConfirmResponse404, postApiAccountPasswordResetConfirmResponse500, postApiAccountPasswordResetConfirmResponseError, postApiAccountPasswordResetConfirmResponseSuccess, postApiAccountPasswordResetRequest, postApiAccountPasswordResetRequestResponse, postApiAccountPasswordResetRequestResponse200, postApiAccountPasswordResetRequestResponse400, postApiAccountPasswordResetRequestResponse401, postApiAccountPasswordResetRequestResponse403, postApiAccountPasswordResetRequestResponse404, postApiAccountPasswordResetRequestResponse500, postApiAccountPasswordResetRequestResponseError, postApiAccountPasswordResetRequestResponseSuccess, postApiAccountUpdateEmail, postApiAccountUpdateEmailResponse, postApiAccountUpdateEmailResponse200, postApiAccountUpdateEmailResponse400, postApiAccountUpdateEmailResponse404, postApiAccountUpdateEmailResponse500, postApiAccountUpdateEmailResponseError, postApiAccountUpdateEmailResponseSuccess, postApiAccountUpdatePassword, postApiAccountUpdatePasswordResponse, postApiAccountUpdatePasswordResponse200, postApiAccountUpdatePasswordResponse400, postApiAccountUpdatePasswordResponse404, postApiAccountUpdatePasswordResponse500, postApiAccountUpdatePasswordResponseError, postApiAccountUpdatePasswordResponseSuccess, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAccountVerifyEmailResendResponse, postApiAccountVerifyEmailResendResponse200, postApiAccountVerifyEmailResendResponse400, postApiAccountVerifyEmailResendResponse404, postApiAccountVerifyEmailResendResponse500, postApiAccountVerifyEmailResendResponseError, postApiAccountVerifyEmailResendResponseSuccess, postApiAccountVerifyEmailResponse, postApiAccountVerifyEmailResponse200, postApiAccountVerifyEmailResponse400, postApiAccountVerifyEmailResponse404, postApiAccountVerifyEmailResponse500, postApiAccountVerifyEmailResponseError, postApiAccountVerifyEmailResponseSuccess, postApiAuthKey, postApiAuthKeyResponse, postApiAuthKeyResponse200, postApiAuthKeyResponse400, postApiAuthKeyResponse401, postApiAuthKeyResponse403, postApiAuthKeyResponse404, postApiAuthKeyResponse500, postApiAuthKeyResponseError, postApiAuthKeyResponseSuccess, postApiAuthLogin, postApiAuthLoginResponse, postApiAuthLoginResponse200, postApiAuthLoginResponse302, postApiAuthLoginResponse400, postApiAuthLoginResponse401, postApiAuthLoginResponse403, postApiAuthLoginResponse404, postApiAuthLoginResponse500, postApiAuthLoginResponseError, postApiAuthLoginResponseSuccess, postApiAuthLogout, postApiAuthLogoutResponse, postApiAuthLogoutResponse200, postApiAuthLogoutResponse400, postApiAuthLogoutResponse401, postApiAuthLogoutResponse403, postApiAuthLogoutResponse404, postApiAuthLogoutResponse500, postApiAuthLogoutResponseError, postApiAuthLogoutResponseSuccess, postApiAuthOtpDisable, postApiAuthOtpDisableResponse, postApiAuthOtpDisableResponse200, postApiAuthOtpDisableResponse204, postApiAuthOtpDisableResponse400, postApiAuthOtpDisableResponse404, postApiAuthOtpDisableResponse500, postApiAuthOtpDisableResponseError, postApiAuthOtpDisableResponseSuccess, postApiAuthOtpGenerate, postApiAuthOtpGenerateResponse, postApiAuthOtpGenerateResponse200, postApiAuthOtpGenerateResponse400, postApiAuthOtpGenerateResponse401, postApiAuthOtpGenerateResponse403, postApiAuthOtpGenerateResponse404, postApiAuthOtpGenerateResponse500, postApiAuthOtpGenerateResponseError, postApiAuthOtpGenerateResponseSuccess, postApiAuthOtpValidate, postApiAuthOtpValidateResponse, postApiAuthOtpValidateResponse302, postApiAuthOtpValidateResponse400, postApiAuthOtpValidateResponse401, postApiAuthOtpValidateResponse403, postApiAuthOtpValidateResponse404, postApiAuthOtpValidateResponse500, postApiAuthOtpValidateResponseError, postApiAuthOtpVerify, postApiAuthOtpVerifyResponse, postApiAuthOtpVerifyResponse200, postApiAuthOtpVerifyResponse204, postApiAuthOtpVerifyResponse400, postApiAuthOtpVerifyResponse404, postApiAuthOtpVerifyResponse500, postApiAuthOtpVerifyResponseError, postApiAuthOtpVerifyResponseSuccess, postApiAuthPing, postApiAuthPingResponse, postApiAuthPingResponse200, postApiAuthPingResponse400, postApiAuthPingResponse401, postApiAuthPingResponse403, postApiAuthPingResponse404, postApiAuthPingResponse500, postApiAuthPingResponseError, postApiAuthPingResponseSuccess, postApiAuthRegister, postApiAuthRegisterResponse, postApiAuthRegisterResponse200, postApiAuthRegisterResponse400, postApiAuthRegisterResponse401, postApiAuthRegisterResponse403, postApiAuthRegisterResponse404, postApiAuthRegisterResponse409, postApiAuthRegisterResponse500, postApiAuthRegisterResponseError, postApiAuthRegisterResponseSuccess };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { deleteApiAccount, deleteApiAccountKeysKeyID, getApiAccount, getApiAccountAvatar, getApiAccountKeys, getApiAccountPermissions, getApiOperations, getApiOperationsFilters, getApiOperationsId, getApiUploadLimit, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, postApiAccountAvatar, postApiAccountKeys, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetRequest, postApiAccountUpdateEmail, postApiAccountUpdatePassword, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAuthKey, postApiAuthLogin, postApiAuthLogout, postApiAuthOtpDisable, postApiAuthOtpGenerate, postApiAuthOtpValidate, postApiAuthOtpVerify, postApiAuthPing, postApiAuthRegister } from "./default.js";
|
|
1
|
+
import { deleteApiAccount, deleteApiAccountKeysKeyID, getApiAccount, getApiAccountAvatar, getApiAccountKeys, getApiAccountPermissions, getApiAccountQuotaHistory, getApiOperations, getApiOperationsFilters, getApiOperationsId, getApiUploadLimit, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountQuotaHistoryUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, postApiAccountAvatar, postApiAccountKeys, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetRequest, postApiAccountUpdateEmail, postApiAccountUpdatePassword, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAuthKey, postApiAuthLogin, postApiAuthLogout, postApiAuthOtpDisable, postApiAuthOtpGenerate, postApiAuthOtpValidate, postApiAuthOtpVerify, postApiAuthPing, postApiAuthRegister } from "./default.js";
|
|
2
2
|
|
|
3
|
-
export { deleteApiAccount, deleteApiAccountKeysKeyID, getApiAccount, getApiAccountAvatar, getApiAccountKeys, getApiAccountPermissions, getApiOperations, getApiOperationsFilters, getApiOperationsId, getApiUploadLimit, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, postApiAccountAvatar, postApiAccountKeys, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetRequest, postApiAccountUpdateEmail, postApiAccountUpdatePassword, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAuthKey, postApiAuthLogin, postApiAuthLogout, postApiAuthOtpDisable, postApiAuthOtpGenerate, postApiAuthOtpValidate, postApiAuthOtpVerify, postApiAuthPing, postApiAuthRegister };
|
|
3
|
+
export { deleteApiAccount, deleteApiAccountKeysKeyID, getApiAccount, getApiAccountAvatar, getApiAccountKeys, getApiAccountPermissions, getApiAccountQuotaHistory, getApiOperations, getApiOperationsFilters, getApiOperationsId, getApiUploadLimit, getDeleteApiAccountKeysKeyIDUrl, getDeleteApiAccountUrl, getGetApiAccountAvatarUrl, getGetApiAccountKeysUrl, getGetApiAccountPermissionsUrl, getGetApiAccountQuotaHistoryUrl, getGetApiAccountUrl, getGetApiOperationsFiltersUrl, getGetApiOperationsIdUrl, getGetApiOperationsUrl, getGetApiUploadLimitUrl, getPatchApiAccountUrl, getPostApiAccountAvatarUrl, getPostApiAccountKeysUrl, getPostApiAccountPasswordResetConfirmUrl, getPostApiAccountPasswordResetRequestUrl, getPostApiAccountUpdateEmailUrl, getPostApiAccountUpdatePasswordUrl, getPostApiAccountVerifyEmailResendUrl, getPostApiAccountVerifyEmailUrl, getPostApiAuthKeyUrl, getPostApiAuthLoginUrl, getPostApiAuthLogoutUrl, getPostApiAuthOtpDisableUrl, getPostApiAuthOtpGenerateUrl, getPostApiAuthOtpValidateUrl, getPostApiAuthOtpVerifyUrl, getPostApiAuthPingUrl, getPostApiAuthRegisterUrl, patchApiAccount, postApiAccountAvatar, postApiAccountKeys, postApiAccountPasswordResetConfirm, postApiAccountPasswordResetRequest, postApiAccountUpdateEmail, postApiAccountUpdatePassword, postApiAccountVerifyEmail, postApiAccountVerifyEmailResend, postApiAuthKey, postApiAuthLogin, postApiAuthLogout, postApiAuthOtpDisable, postApiAuthOtpGenerate, postApiAuthOtpValidate, postApiAuthOtpVerify, postApiAuthPing, postApiAuthRegister };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ErrorResponse, QuotaStatusResponse } from "./accountAPI.schemas.js";
|
|
2
|
+
|
|
3
|
+
//#region src/account/generated/quota.d.ts
|
|
4
|
+
type getApiAccountQuotaResponse200 = {
|
|
5
|
+
data: QuotaStatusResponse;
|
|
6
|
+
status: 200;
|
|
7
|
+
};
|
|
8
|
+
type getApiAccountQuotaResponse400 = {
|
|
9
|
+
data: ErrorResponse;
|
|
10
|
+
status: 400;
|
|
11
|
+
};
|
|
12
|
+
type getApiAccountQuotaResponse404 = {
|
|
13
|
+
data: ErrorResponse;
|
|
14
|
+
status: 404;
|
|
15
|
+
};
|
|
16
|
+
type getApiAccountQuotaResponse500 = {
|
|
17
|
+
data: ErrorResponse;
|
|
18
|
+
status: 500;
|
|
19
|
+
};
|
|
20
|
+
type getApiAccountQuotaResponseSuccess = (getApiAccountQuotaResponse200) & {
|
|
21
|
+
headers: Headers;
|
|
22
|
+
};
|
|
23
|
+
type getApiAccountQuotaResponseError = (getApiAccountQuotaResponse400 | getApiAccountQuotaResponse404 | getApiAccountQuotaResponse500) & {
|
|
24
|
+
headers: Headers;
|
|
25
|
+
};
|
|
26
|
+
type getApiAccountQuotaResponse = (getApiAccountQuotaResponseSuccess | getApiAccountQuotaResponseError);
|
|
27
|
+
declare const getGetApiAccountQuotaUrl: () => string;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve the current quota status including upload and download usage, limits, and remaining allowance for the authenticated user.
|
|
30
|
+
* @summary Get current quota status
|
|
31
|
+
*/
|
|
32
|
+
declare const getApiAccountQuota: (options?: RequestInit) => Promise<getApiAccountQuotaResponse>;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { getApiAccountQuota, getApiAccountQuotaResponse, getApiAccountQuotaResponse200, getApiAccountQuotaResponse400, getApiAccountQuotaResponse404, getApiAccountQuotaResponse500, getApiAccountQuotaResponseError, getApiAccountQuotaResponseSuccess, getGetApiAccountQuotaUrl };
|
|
35
|
+
//# sourceMappingURL=quota.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region src/account/generated/quota.ts
|
|
2
|
+
const getGetApiAccountQuotaUrl = () => {
|
|
3
|
+
return `/api/account/quota`;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve the current quota status including upload and download usage, limits, and remaining allowance for the authenticated user.
|
|
7
|
+
* @summary Get current quota status
|
|
8
|
+
*/
|
|
9
|
+
const getApiAccountQuota = async (options) => {
|
|
10
|
+
const res = await fetch(getGetApiAccountQuotaUrl(), {
|
|
11
|
+
...options,
|
|
12
|
+
method: "GET"
|
|
13
|
+
});
|
|
14
|
+
const body = [
|
|
15
|
+
204,
|
|
16
|
+
205,
|
|
17
|
+
304
|
|
18
|
+
].includes(res.status) ? null : await res.text();
|
|
19
|
+
return {
|
|
20
|
+
data: body ? JSON.parse(body) : {},
|
|
21
|
+
status: res.status,
|
|
22
|
+
headers: res.headers
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { getApiAccountQuota, getGetApiAccountQuotaUrl };
|
|
28
|
+
//# sourceMappingURL=quota.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quota.js","names":[],"sources":["../../../../src/account/generated/quota.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Account API\n * API endpoints for managing user accounts, authentication, and API keys.\n * OpenAPI spec version: v0.2.7-0.20260418132608-572560c6efd0\n */\nimport type {\n ErrorResponse,\n QuotaStatusResponse\n} from './accountAPI.schemas';\n\n\n\nexport type getApiAccountQuotaResponse200 = {\n data: QuotaStatusResponse\n status: 200\n}\n\nexport type getApiAccountQuotaResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountQuotaResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountQuotaResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountQuotaResponseSuccess = (getApiAccountQuotaResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountQuotaResponseError = (getApiAccountQuotaResponse400 | getApiAccountQuotaResponse404 | getApiAccountQuotaResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountQuotaResponse = (getApiAccountQuotaResponseSuccess | getApiAccountQuotaResponseError)\n\nexport const getGetApiAccountQuotaUrl = () => {\n\n\n\n\n return `/api/account/quota`\n}\n\n/**\n * Retrieve the current quota status including upload and download usage, limits, and remaining allowance for the authenticated user.\n * @summary Get current quota status\n */\nexport const getApiAccountQuota = async ( options?: RequestInit): Promise<getApiAccountQuotaResponse> => {\n\n const res = await fetch(getGetApiAccountQuotaUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountQuotaResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountQuotaResponse\n}\n\n\n"],"mappings":";AA2CA,MAAa,iCAAiC;AAK5C,QAAO;;;;;;AAOT,MAAa,qBAAqB,OAAQ,YAA+D;CAEvG,MAAM,MAAM,MAAM,MAAM,0BAA0B,EAClD;EACE,GAAG;EACH,QAAQ;EAGT,CACF;CAGC,MAAM,OAAO;EAAC;EAAK;EAAK;EAAI,CAAC,SAAS,IAAI,OAAO,GAAG,OAAO,MAAM,IAAI,MAAM;AAG3E,QAAO;EAAE,MADwC,OAAO,KAAK,MAAM,KAAK,GAAG,EAAE;EAC9D,QAAQ,IAAI;EAAQ,SAAS,IAAI;EAAS"}
|
package/dist/esm/account.d.ts
CHANGED
package/dist/esm/account.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","names":[],"sources":["../../src/account.ts"],"sourcesContent":["import type { RequestInit } from \"@/types\";\nimport {\n AccountError,\n handleFetchError,\n handleUnknownError,\n OperationPollingOptions,\n Result,\n} from \"@/types\";\n\nimport {\n AccountInfoResponse,\n GetApiOperationsParams,\n LoginRequest,\n LoginResponse,\n OperationDetailResponse,\n OperationFiltersResponseResponse,\n OperationListItemResponse,\n OTPDisableRequest,\n OTPGenerateResponse,\n OTPValidateRequest,\n OTPVerifyRequest,\n PasswordResetRequest,\n PasswordResetVerifyRequest,\n PongResponse,\n RegisterRequest,\n ResendVerifyEmailRequest,\n UploadLimitResponse,\n VerifyEmailRequest,\n} from \"@/account/generated\";\nimport type {\n OperationsListParams,\n} from \"@/query-utils\";\nimport { buildOperationsQueryParams } from \"@/query-utils\";\nimport { delay, parseResponse, poll } from \"@/http-utils\";\n\n/**\n * Operation status constants\n */\nconst OPERATION_STATUS = {\n COMPLETED: \"completed\",\n FAILED: \"failed\",\n ERROR: \"error\",\n PENDING: \"pending\",\n RUNNING: \"running\",\n} as const;\n\n/**\n * Default settled states for operations\n */\nconst DEFAULT_SETTLED_STATES = [\n OPERATION_STATUS.COMPLETED,\n OPERATION_STATUS.FAILED,\n OPERATION_STATUS.ERROR,\n] as const;\n\ntype SettledState = typeof DEFAULT_SETTLED_STATES[number];\n\nexport { DEFAULT_SETTLED_STATES, OPERATION_STATUS, type SettledState };\n\nexport class AccountApi {\n private _jwtToken?: string;\n private readonly apiUrl: string;\n\n /**\n * Gets the current JWT token\n * @returns {string|undefined} The current JWT token or undefined if not set\n */\n private get jwtToken(): string | undefined {\n return this._jwtToken;\n }\n\n /**\n * Creates a new AccountApi instance\n * @param {string} apiUrl - The base API URL\n */\n constructor(apiUrl: string) {\n const apiUrlParsed = new URL(apiUrl);\n apiUrlParsed.hostname = `account.${apiUrlParsed.hostname}`;\n this.apiUrl = apiUrlParsed.toString();\n }\n\n /**\n * Clears the current JWT token\n */\n public clearToken(): void {\n this._jwtToken = undefined;\n }\n\n /**\n * Confirm a password reset\n * @param passwordResetVerifyRequest Password reset verification details\n * @returns Result indicating success or failure\n */\n public async confirmPasswordReset(\n passwordResetVerifyRequest: PasswordResetVerifyRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/password-reset/confirm\", {\n body: JSON.stringify(passwordResetVerifyRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Disable OTP for two-factor authentication\n * @param otpDisableRequest OTP disable request details\n * @returns Result indicating success or failure\n */\n public async disableOtp(\n otpDisableRequest: OTPDisableRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/auth/otp/disable\", {\n body: JSON.stringify(otpDisableRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Generate OTP for two-factor authentication\n * @returns Result containing OTP response\n */\n public async generateOtp(): Promise<Result<OTPGenerateResponse>> {\n return this.fetchJson<OTPGenerateResponse>(\"/api/auth/otp/generate\", {\n method: \"GET\",\n });\n }\n\n /**\n * Get account information\n * @returns Result containing account info\n */\n public async info(): Promise<Result<AccountInfoResponse>> {\n return this.fetchJson<AccountInfoResponse>(\"/api/account\", {\n method: \"GET\",\n });\n }\n\n /**\n * Login to the account service\n * @param loginRequest Login credentials\n * @returns Result containing login response or error\n */\n public async login(\n loginRequest: LoginRequest,\n ): Promise<Result<LoginResponse>> {\n const result = await this.fetchJson<LoginResponse>(\"/api/auth/login\", {\n body: JSON.stringify(loginRequest),\n method: \"POST\",\n });\n\n if (result.success && result.data?.token) {\n this.setToken(result.data.token);\n }\n\n return result;\n }\n\n /**\n * Logout from the account service\n * @returns Result indicating success or failure\n */\n public async logout(): Promise<Result<void>> {\n const result = await this.fetchJson<void>(\"/api/auth/logout\", {\n method: \"POST\",\n });\n\n if (result.success) {\n this.clearToken();\n }\n\n return result;\n }\n\n /**\n * Check authentication status\n * @returns Result containing ping response\n */\n public async ping(): Promise<Result<PongResponse>> {\n const result = await this.fetchJson<PongResponse>(\"/api/auth/ping\", {\n method: \"POST\",\n });\n\n if (result.success && result.data?.token) {\n this.setToken(result.data.token);\n }\n\n return result;\n }\n\n /**\n * Register a new account\n * @param registerRequest Registration details\n * @returns Result indicating success or failure\n */\n public async register(\n registerRequest: RegisterRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/auth/register\", {\n body: JSON.stringify(registerRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Request account deletion\n * @returns Result indicating success or failure\n */\n public async requestAccountDeletion(): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/delete\", {\n method: \"DELETE\",\n });\n }\n\n /**\n * Request email verification to be resent\n * @param resendRequest Email details for verification\n * @returns Result indicating success or failure\n */\n public async requestEmailVerification(\n resendRequest: ResendVerifyEmailRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/verify-email/resend\", {\n body: JSON.stringify(resendRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Request a password reset\n * @param passwordResetRequest Password reset request details\n * @returns Result indicating success or failure\n */\n public async requestPasswordReset(\n passwordResetRequest: PasswordResetRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/password-reset/request\", {\n body: JSON.stringify(passwordResetRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Sets the JWT token for authentication\n * @param {string} token - The JWT token to set\n */\n public setToken(token: string): void {\n this._jwtToken = token;\n }\n\n /**\n * Update account email address\n * @param email New email address\n * @param password Current password for verification\n * @returns Result indicating success or failure\n */\n public async updateEmail(\n email: string,\n password: string,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/update-email\", {\n body: JSON.stringify({ email, password }),\n method: \"POST\",\n });\n }\n\n /**\n * Update account password\n * @param currentPassword Current password for verification\n * @param newPassword New password to set\n * @returns Result indicating success or failure\n */\n public async updatePassword(\n currentPassword: string,\n newPassword: string,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/update-password\", {\n body: JSON.stringify({\n current_password: currentPassword,\n new_password: newPassword,\n }),\n method: \"POST\",\n });\n }\n\n /**\n * Get upload limit information\n * @returns Result containing upload limit info\n */\n public async uploadLimit(): Promise<Result<UploadLimitResponse>> {\n return this.fetchJson<UploadLimitResponse>(\"/api/upload-limit\", {\n method: \"GET\",\n });\n }\n\n /**\n * Validate OTP for two-factor authentication login\n * @param otpValidateRequest OTP validation details\n * @returns Result containing login response\n */\n public async validateOtp(\n otpValidateRequest: OTPValidateRequest,\n ): Promise<Result<LoginResponse>> {\n const result = await this.fetchJson<LoginResponse>(\n \"/api/auth/otp/validate\",\n {\n body: JSON.stringify(otpValidateRequest),\n method: \"POST\",\n },\n );\n\n if (result.success && result.data?.token) {\n this.setToken(result.data.token);\n }\n\n return result;\n }\n\n /**\n * Verify email address\n * @param verifyEmailRequest Email verification details\n * @param login Optional flag to enable auto-login after verification\n * @returns Result indicating success or failure\n */\n public async verifyEmail(\n verifyEmailRequest: VerifyEmailRequest,\n login?: boolean,\n ): Promise<Result<void>> {\n const url = new URL(\"/api/account/verify-email\", this.apiUrl);\n if (login === true) {\n url.searchParams.set(\"login\", \"true\");\n }\n return this.fetchJson<void>(url.toString(), {\n body: JSON.stringify(verifyEmailRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Verify OTP for enabling two-factor authentication\n * @param otpVerifyRequest OTP verification details\n * @returns Result indicating success or failure\n */\n public async verifyOtp(\n otpVerifyRequest: OTPVerifyRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/auth/otp/verify\", {\n body: JSON.stringify(otpVerifyRequest),\n method: \"POST\",\n });\n }\n\n /**\n * List operations with filtering, searching, and pagination\n * \n * @param params Query parameters using query-builder helpers\n * @returns Result containing list of operations\n * \n * @example\n * ```ts\n * const result = await accountApi.listOperations({\n * filters: [\n * { field: \"status\", operator: \"eq\", value: \"completed\" },\n * { field: \"operation\", operator: \"in\", value: [\"upload\", \"download\"] }\n * ],\n * sorters: [{ field: \"id\", order: \"desc\" }],\n * pagination: { start: 0, end: 20, page: 1, pageSize: 20 },\n * search: \"myfile\"\n * });\n * ```\n */\n public async listOperations(\n params?: OperationsListParams,\n ): Promise<Result<OperationListItemResponse>> {\n const url = new URL(\"/api/operations\", this.apiUrl);\n \n if (params) {\n const searchParams = buildOperationsQueryParams(params);\n searchParams.forEach((value, key) => {\n url.searchParams.append(key, value);\n });\n }\n \n return this.fetchJson<OperationListItemResponse>(url.toString(), {\n method: \"GET\",\n });\n }\n\n /**\n * Get detailed information for a specific operation\n * @param id The operation ID\n * @returns Result containing operation details\n */\n public async getOperation(\n id: number,\n ): Promise<Result<OperationDetailResponse>> {\n return this.fetchJson<OperationDetailResponse>(`/api/operations/${id}`, {\n method: \"GET\",\n });\n }\n\n /**\n * Get available filter values for operations\n * @returns Result containing filter options\n */\n public async getOperationFilters(): Promise<Result<OperationFiltersResponseResponse>> {\n return this.fetchJson<OperationFiltersResponseResponse>(\"/api/operations/filters\", {\n method: \"GET\",\n });\n }\n\n /**\n * Wait for an operation to complete or reach a settled state\n * @param id The operation ID to wait for\n * @param options Polling options (interval, timeout, settledStates)\n * @returns Result containing the final operation details\n */\n public async waitForOperation(\n id: number,\n options: OperationPollingOptions = {},\n ): Promise<Result<OperationDetailResponse>> {\n const {\n interval = 2000,\n timeout = 300000,\n settledStates = DEFAULT_SETTLED_STATES,\n } = options;\n\n const settledStatesSet = new Set(settledStates);\n\n return poll(\n () => this.getOperation(id),\n (operation) => {\n return !!(operation.status && settledStatesSet.has(operation.status.toLowerCase()));\n },\n { interval, timeout },\n );\n }\n\n /**\n * Builds fetch options with authorization headers\n * @param {RequestInit} [init] - Optional initial request options\n * @returns {RequestInit} The constructed request options\n * @private\n */\n private buildOptions(init: RequestInit = {}): RequestInit {\n const headers: Record<string, string> = {\n \"Content-Type\": \"application/json\",\n ...init.headers!,\n };\n\n if (this.jwtToken) {\n headers.Authorization = `Bearer ${this.jwtToken}`;\n }\n\n return {\n ...init,\n credentials: \"include\",\n headers,\n };\n }\n\n /**\n * Makes a JSON request to the API\n * @template T\n * @param {string} input - The API endpoint path or absolute URL\n * @param {RequestInit} [init] - Optional request initialization\n * @returns {Promise<Result<T>>} Promise resolving to the result\n * @private\n */\n private async fetchJson<T>(\n input: string,\n init: RequestInit = {},\n ): Promise<Result<T>> {\n try {\n const response = await fetch(\n new URL(input, this.apiUrl).toString(),\n this.buildOptions(init),\n );\n\n if (!response.ok) {\n return {\n error: await handleFetchError(response),\n success: false,\n };\n }\n\n const data = await parseResponse<T>(response);\n return {\n data,\n success: true,\n };\n } catch (e) {\n let error: AccountError;\n if (e instanceof Response) {\n error = await handleFetchError(e);\n } else {\n error = await handleUnknownError(e);\n }\n return {\n error,\n success: false,\n };\n }\n }\n}\n"],"mappings":";;;;;;;;AAsCA,MAAM,mBAAmB;CACvB,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,SAAS;CACV;;;;AAKD,MAAM,yBAAyB;CAC7B,iBAAiB;CACjB,iBAAiB;CACjB,iBAAiB;CAClB;AAMD,IAAa,aAAb,MAAwB;CACtB,AAAQ;CACR,AAAiB;;;;;CAMjB,IAAY,WAA+B;AACzC,SAAO,KAAK;;;;;;CAOd,YAAY,QAAgB;EAC1B,MAAM,eAAe,IAAI,IAAI,OAAO;AACpC,eAAa,WAAW,WAAW,aAAa;AAChD,OAAK,SAAS,aAAa,UAAU;;;;;CAMvC,AAAO,aAAmB;AACxB,OAAK,YAAY;;;;;;;CAQnB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,IAAI;AACJ,OAAI,aAAa,SACf,SAAQ,MAAM,iBAAiB,EAAE;OAEjC,SAAQ,MAAM,mBAAmB,EAAE;AAErC,UAAO;IACL;IACA,SAAS;IACV"}
|
|
1
|
+
{"version":3,"file":"account.js","names":[],"sources":["../../src/account.ts"],"sourcesContent":["import type { RequestInit } from \"@/types\";\nimport {\n AccountError,\n handleFetchError,\n handleUnknownError,\n OperationPollingOptions,\n Result,\n} from \"@/types\";\n\nimport {\n AccountInfoResponse,\n GetApiOperationsParams,\n LoginRequest,\n LoginResponse,\n OperationDetailResponse,\n OperationFiltersResponseResponse,\n OperationListItemResponse,\n OTPDisableRequest,\n OTPGenerateResponse,\n OTPValidateRequest,\n OTPVerifyRequest,\n PasswordResetRequest,\n PasswordResetVerifyRequest,\n PongResponse,\n RegisterRequest,\n ResendVerifyEmailRequest,\n UploadLimitResponse,\n VerifyEmailRequest,\n} from \"@/account/generated\";\nimport type {\n OperationsListParams,\n} from \"@/query-utils\";\nimport { buildOperationsQueryParams } from \"@/query-utils\";\nimport { delay, parseResponse, poll } from \"@/http-utils\";\n\n/**\n * Operation status constants\n */\nconst OPERATION_STATUS = {\n COMPLETED: \"completed\",\n FAILED: \"failed\",\n ERROR: \"error\",\n PENDING: \"pending\",\n RUNNING: \"running\",\n} as const;\n\n/**\n * Default settled states for operations\n */\nconst DEFAULT_SETTLED_STATES = [\n OPERATION_STATUS.COMPLETED,\n OPERATION_STATUS.FAILED,\n OPERATION_STATUS.ERROR,\n] as const;\n\ntype SettledState = typeof DEFAULT_SETTLED_STATES[number];\n\nexport { DEFAULT_SETTLED_STATES, OPERATION_STATUS, type SettledState };\n\nexport class AccountApi {\n private _jwtToken?: string;\n private readonly apiUrl: string;\n\n /**\n * Gets the current JWT token\n * @returns {string|undefined} The current JWT token or undefined if not set\n */\n private get jwtToken(): string | undefined {\n return this._jwtToken;\n }\n\n /**\n * Creates a new AccountApi instance\n * @param {string} apiUrl - The base API URL\n */\n constructor(apiUrl: string) {\n const apiUrlParsed = new URL(apiUrl);\n apiUrlParsed.hostname = `account.${apiUrlParsed.hostname}`;\n this.apiUrl = apiUrlParsed.toString();\n }\n\n /**\n * Clears the current JWT token\n */\n public clearToken(): void {\n this._jwtToken = undefined;\n }\n\n /**\n * Confirm a password reset\n * @param passwordResetVerifyRequest Password reset verification details\n * @returns Result indicating success or failure\n */\n public async confirmPasswordReset(\n passwordResetVerifyRequest: PasswordResetVerifyRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/password-reset/confirm\", {\n body: JSON.stringify(passwordResetVerifyRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Disable OTP for two-factor authentication\n * @param otpDisableRequest OTP disable request details\n * @returns Result indicating success or failure\n */\n public async disableOtp(\n otpDisableRequest: OTPDisableRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/auth/otp/disable\", {\n body: JSON.stringify(otpDisableRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Generate OTP for two-factor authentication\n * @returns Result containing OTP response\n */\n public async generateOtp(): Promise<Result<OTPGenerateResponse>> {\n return this.fetchJson<OTPGenerateResponse>(\"/api/auth/otp/generate\", {\n method: \"GET\",\n });\n }\n\n /**\n * Get account information\n * @returns Result containing account info\n */\n public async info(): Promise<Result<AccountInfoResponse>> {\n return this.fetchJson<AccountInfoResponse>(\"/api/account\", {\n method: \"GET\",\n });\n }\n\n /**\n * Login to the account service\n * @param loginRequest Login credentials\n * @returns Result containing login response or error\n */\n public async login(\n loginRequest: LoginRequest,\n ): Promise<Result<LoginResponse>> {\n const result = await this.fetchJson<LoginResponse>(\"/api/auth/login\", {\n body: JSON.stringify(loginRequest),\n method: \"POST\",\n });\n\n if (result.success && result.data?.token) {\n this.setToken(result.data.token);\n }\n\n return result;\n }\n\n /**\n * Logout from the account service\n * @returns Result indicating success or failure\n */\n public async logout(): Promise<Result<void>> {\n const result = await this.fetchJson<void>(\"/api/auth/logout\", {\n method: \"POST\",\n });\n\n if (result.success) {\n this.clearToken();\n }\n\n return result;\n }\n\n /**\n * Check authentication status\n * @returns Result containing ping response\n */\n public async ping(): Promise<Result<PongResponse>> {\n const result = await this.fetchJson<PongResponse>(\"/api/auth/ping\", {\n method: \"POST\",\n });\n\n if (result.success && result.data?.token) {\n this.setToken(result.data.token);\n }\n\n return result;\n }\n\n /**\n * Register a new account\n * @param registerRequest Registration details\n * @returns Result indicating success or failure\n */\n public async register(\n registerRequest: RegisterRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/auth/register\", {\n body: JSON.stringify(registerRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Request account deletion\n * @returns Result indicating success or failure\n */\n public async requestAccountDeletion(): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/delete\", {\n method: \"DELETE\",\n });\n }\n\n /**\n * Request email verification to be resent\n * @param resendRequest Email details for verification\n * @returns Result indicating success or failure\n */\n public async requestEmailVerification(\n resendRequest: ResendVerifyEmailRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/verify-email/resend\", {\n body: JSON.stringify(resendRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Request a password reset\n * @param passwordResetRequest Password reset request details\n * @returns Result indicating success or failure\n */\n public async requestPasswordReset(\n passwordResetRequest: PasswordResetRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/password-reset/request\", {\n body: JSON.stringify(passwordResetRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Sets the JWT token for authentication\n * @param {string} token - The JWT token to set\n */\n public setToken(token: string): void {\n this._jwtToken = token;\n }\n\n /**\n * Update account email address\n * @param email New email address\n * @param password Current password for verification\n * @returns Result indicating success or failure\n */\n public async updateEmail(\n email: string,\n password: string,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/update-email\", {\n body: JSON.stringify({ email, password }),\n method: \"POST\",\n });\n }\n\n /**\n * Update account password\n * @param currentPassword Current password for verification\n * @param newPassword New password to set\n * @returns Result indicating success or failure\n */\n public async updatePassword(\n currentPassword: string,\n newPassword: string,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/account/update-password\", {\n body: JSON.stringify({\n current_password: currentPassword,\n new_password: newPassword,\n }),\n method: \"POST\",\n });\n }\n\n /**\n * Get upload limit information\n * @returns Result containing upload limit info\n */\n public async uploadLimit(): Promise<Result<UploadLimitResponse>> {\n return this.fetchJson<UploadLimitResponse>(\"/api/upload-limit\", {\n method: \"GET\",\n });\n }\n\n /**\n * Validate OTP for two-factor authentication login\n * @param otpValidateRequest OTP validation details\n * @returns Result containing login response\n */\n public async validateOtp(\n otpValidateRequest: OTPValidateRequest,\n ): Promise<Result<LoginResponse>> {\n const result = await this.fetchJson<LoginResponse>(\n \"/api/auth/otp/validate\",\n {\n body: JSON.stringify(otpValidateRequest),\n method: \"POST\",\n },\n );\n\n if (result.success && result.data?.token) {\n this.setToken(result.data.token);\n }\n\n return result;\n }\n\n /**\n * Verify email address\n * @param verifyEmailRequest Email verification details\n * @param login Optional flag to enable auto-login after verification\n * @returns Result indicating success or failure\n */\n public async verifyEmail(\n verifyEmailRequest: VerifyEmailRequest,\n login?: boolean,\n ): Promise<Result<void>> {\n const url = new URL(\"/api/account/verify-email\", this.apiUrl);\n if (login === true) {\n url.searchParams.set(\"login\", \"true\");\n }\n return this.fetchJson<void>(url.toString(), {\n body: JSON.stringify(verifyEmailRequest),\n method: \"POST\",\n });\n }\n\n /**\n * Verify OTP for enabling two-factor authentication\n * @param otpVerifyRequest OTP verification details\n * @returns Result indicating success or failure\n */\n public async verifyOtp(\n otpVerifyRequest: OTPVerifyRequest,\n ): Promise<Result<void>> {\n return this.fetchJson<void>(\"/api/auth/otp/verify\", {\n body: JSON.stringify(otpVerifyRequest),\n method: \"POST\",\n });\n }\n\n /**\n * List operations with filtering, searching, and pagination\n * \n * @param params Query parameters using query-builder helpers\n * @returns Result containing list of operations\n * \n * @example\n * ```ts\n * const result = await accountApi.listOperations({\n * filters: [\n * { field: \"status\", operator: \"eq\", value: \"completed\" },\n * { field: \"operation\", operator: \"in\", value: [\"upload\", \"download\"] }\n * ],\n * sorters: [{ field: \"id\", order: \"desc\" }],\n * pagination: { start: 0, end: 20, page: 1, pageSize: 20 },\n * search: \"myfile\"\n * });\n * ```\n */\n public async listOperations(\n params?: OperationsListParams,\n ): Promise<Result<OperationListItemResponse>> {\n const url = new URL(\"/api/operations\", this.apiUrl);\n \n if (params) {\n const searchParams = buildOperationsQueryParams(params);\n searchParams.forEach((value, key) => {\n url.searchParams.append(key, value);\n });\n }\n \n return this.fetchJson<OperationListItemResponse>(url.toString(), {\n method: \"GET\",\n });\n }\n\n /**\n * Get detailed information for a specific operation\n * @param id The operation ID\n * @returns Result containing operation details\n */\n public async getOperation(\n id: number,\n ): Promise<Result<OperationDetailResponse>> {\n return this.fetchJson<OperationDetailResponse>(`/api/operations/${id}`, {\n method: \"GET\",\n });\n }\n\n /**\n * Get available filter values for operations\n * @returns Result containing filter options\n */\n public async getOperationFilters(): Promise<Result<OperationFiltersResponseResponse>> {\n return this.fetchJson<OperationFiltersResponseResponse>(\"/api/operations/filters\", {\n method: \"GET\",\n });\n }\n\n /**\n * Wait for an operation to complete or reach a settled state\n * @param id The operation ID to wait for\n * @param options Polling options (interval, timeout, settledStates)\n * @returns Result containing the final operation details\n */\n public async waitForOperation(\n id: number,\n options: OperationPollingOptions = {},\n ): Promise<Result<OperationDetailResponse>> {\n const {\n interval = 2000,\n timeout = 300000,\n settledStates = DEFAULT_SETTLED_STATES,\n } = options;\n\n const settledStatesSet = new Set(settledStates);\n\n return poll(\n () => this.getOperation(id),\n (operation) => {\n return !!(operation.status && settledStatesSet.has(operation.status.toLowerCase()));\n },\n { interval, timeout },\n );\n }\n\n /**\n * Builds fetch options with authorization headers\n * @param {RequestInit} [init] - Optional initial request options\n * @returns {RequestInit} The constructed request options\n * @private\n */\n private buildOptions(init: RequestInit = {}): RequestInit {\n const headers: Record<string, string> = {\n \"Content-Type\": \"application/json\",\n ...init.headers!,\n };\n\n if (this.jwtToken) {\n headers.Authorization = `Bearer ${this.jwtToken}`;\n }\n\n return {\n ...init,\n credentials: \"include\",\n headers,\n };\n }\n\n /**\n * Makes a JSON request to the API\n * @template T\n * @param {string} input - The API endpoint path or absolute URL\n * @param {RequestInit} [init] - Optional request initialization\n * @returns {Promise<Result<T>>} Promise resolving to the result\n * @private\n */\n private async fetchJson<T>(\n input: string,\n init: RequestInit = {},\n ): Promise<Result<T>> {\n try {\n const response = await fetch(\n new URL(input, this.apiUrl).toString(),\n this.buildOptions(init),\n );\n\n if (!response.ok) {\n return {\n error: await handleFetchError(response),\n success: false,\n };\n }\n\n const data = await parseResponse<T>(response);\n return {\n data,\n success: true,\n };\n } catch (e) {\n let error: AccountError;\n if (e instanceof Response) {\n error = await handleFetchError(e);\n } else {\n error = await handleUnknownError(e);\n }\n return {\n error,\n success: false,\n };\n }\n }\n}\n"],"mappings":";;;;;;;;AAsCA,MAAM,mBAAmB;CACvB,WAAW;CACX,QAAQ;CACR,OAAO;CACP,SAAS;CACT,SAAS;CACV;;;;AAKD,MAAM,yBAAyB;CAC7B,iBAAiB;CACjB,iBAAiB;CACjB,iBAAiB;CAClB;AAMD,IAAa,aAAb,MAAwB;CACtB,AAAQ;CACR,AAAiB;;;;;CAMjB,IAAY,WAA+B;AACzC,SAAO,KAAK;;;;;;CAOd,YAAY,QAAgB;EAC1B,MAAM,eAAe,IAAI,IAAI,OAAO;AACpC,eAAa,WAAW,WAAW,aAAa;AAChD,OAAK,SAAS,aAAa,UAAU;;;;;CAMvC,AAAO,aAAmB;AACxB,OAAK,YAAY;;;;;;;CAQnB,MAAa,qBACX,4BACuB;AACvB,SAAO,KAAK,UAAgB,uCAAuC;GACjE,MAAM,KAAK,UAAU,2BAA2B;GAChD,QAAQ;GACT,CAAC;;;;;;;CAQJ,MAAa,WACX,mBACuB;AACvB,SAAO,KAAK,UAAgB,yBAAyB;GACnD,MAAM,KAAK,UAAU,kBAAkB;GACvC,QAAQ;GACT,C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