From 4117c7442ba88a405d63ef12bacfde4fc1ed989f Mon Sep 17 00:00:00 2001 From: Ashwin Bhatkal Date: Thu, 22 Jan 2026 15:22:56 +0530 Subject: [PATCH] feature: init open api ts code gen (#10011) * feature: init open api ts code gen * chore: update custom instance to a separate axios instance * chore: update code owners * chore: set up node version in CI * fix: node version * chore: update jsci.yaml * chore: update goci.yaml * chore: rename instance * chore: resolve comments --- .github/CODEOWNERS | 8 + .github/workflows/goci.yaml | 4 + .github/workflows/jsci.yaml | 13 + frontend/.eslintignore | 4 +- frontend/.eslintrc.js | 12 + frontend/orval.config.ts | 97 + frontend/package.json | 4 +- frontend/scripts/post-types-generation.sh | 14 + .../generated/services/authdomains/index.ts | 371 ++++ .../api/generated/services/dashboard/index.ts | 620 ++++++ .../api/generated/services/features/index.ts | 105 + .../api/generated/services/gateway/index.ts | 734 +++++++ .../api/generated/services/global/index.ts | 108 + .../src/api/generated/services/logs/index.ts | 199 ++ .../api/generated/services/metrics/index.ts | 719 ++++++ .../src/api/generated/services/orgs/index.ts | 194 ++ .../generated/services/preferences/index.ts | 599 +++++ .../api/generated/services/sessions/index.ts | 738 +++++++ .../api/generated/services/sigNoz.schemas.ts | 1931 +++++++++++++++++ .../src/api/generated/services/users/index.ts | 1536 +++++++++++++ frontend/src/api/index.ts | 11 + frontend/tsconfig.json | 2 +- frontend/yarn.lock | 1811 +++++++++++++++- 23 files changed, 9796 insertions(+), 38 deletions(-) create mode 100644 frontend/orval.config.ts create mode 100755 frontend/scripts/post-types-generation.sh create mode 100644 frontend/src/api/generated/services/authdomains/index.ts create mode 100644 frontend/src/api/generated/services/dashboard/index.ts create mode 100644 frontend/src/api/generated/services/features/index.ts create mode 100644 frontend/src/api/generated/services/gateway/index.ts create mode 100644 frontend/src/api/generated/services/global/index.ts create mode 100644 frontend/src/api/generated/services/logs/index.ts create mode 100644 frontend/src/api/generated/services/metrics/index.ts create mode 100644 frontend/src/api/generated/services/orgs/index.ts create mode 100644 frontend/src/api/generated/services/preferences/index.ts create mode 100644 frontend/src/api/generated/services/sessions/index.ts create mode 100644 frontend/src/api/generated/services/sigNoz.schemas.ts create mode 100644 frontend/src/api/generated/services/users/index.ts diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2e3b5065dd..6ffd42a765 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -103,10 +103,18 @@ /tests/integration/ @vikrantgupta25 +# OpenAPI types generator + +/frontend/src/api @SigNoz/frontend-maintainers + # Dashboard Owners /frontend/src/hooks/dashboard/ @SigNoz/pulse-frontend +## Dashboard Types + +/frontend/src/api/types/dashboard/ @SigNoz/pulse-frontend + ## Dashboard List /frontend/src/pages/DashboardsListPage/ @SigNoz/pulse-frontend diff --git a/.github/workflows/goci.yaml b/.github/workflows/goci.yaml index 61aec4976c..3838973c5b 100644 --- a/.github/workflows/goci.yaml +++ b/.github/workflows/goci.yaml @@ -65,6 +65,10 @@ jobs: set -ex sudo apt-get update sudo apt-get install -y gcc-aarch64-linux-gnu musl-tools + - name: node-install + uses: actions/setup-node@v5 + with: + node-version: "22" - name: docker-community shell: bash run: | diff --git a/.github/workflows/jsci.yaml b/.github/workflows/jsci.yaml index 1362f5d5e9..81b9f5ddc1 100644 --- a/.github/workflows/jsci.yaml +++ b/.github/workflows/jsci.yaml @@ -17,10 +17,23 @@ jobs: steps: - name: checkout uses: actions/checkout@v4 + - name: setup node + uses: actions/setup-node@v5 + with: + node-version: "22" - name: install run: cd frontend && yarn install - name: tsc run: cd frontend && yarn tsc + tsc2: + if: | + (github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork && github.event.pull_request.user.login != 'dependabot[bot]' && ! contains(github.event.pull_request.labels.*.name, 'safe-to-test')) || + (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe-to-test')) + uses: signoz/primus.workflows/.github/workflows/js-tsc.yaml@main + secrets: inherit + with: + PRIMUS_REF: main + JS_SRC: frontend test: if: | (github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork && github.event.pull_request.user.login != 'dependabot[bot]' && ! contains(github.event.pull_request.labels.*.name, 'safe-to-test')) || diff --git a/frontend/.eslintignore b/frontend/.eslintignore index e9d38dfe02..a2485ee225 100644 --- a/frontend/.eslintignore +++ b/frontend/.eslintignore @@ -2,4 +2,6 @@ node_modules build *.typegen.ts i18-generate-hash.js -src/parser/TraceOperatorParser/** \ No newline at end of file +src/parser/TraceOperatorParser/** + +orval.config.ts \ No newline at end of file diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index 87d004ff50..ee284ea235 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -124,4 +124,16 @@ module.exports = { ], 'react/jsx-props-no-spreading': 'off', }, + overrides: [ + { + files: ['src/api/generated/**/*.ts'], + rules: { + '@typescript-eslint/explicit-function-return-type': 'off', + '@typescript-eslint/explicit-module-boundary-types': 'off', + 'no-nested-ternary': 'off', + '@typescript-eslint/no-unused-vars': 'warn', + 'sonarjs/no-duplicate-string': 'off', + }, + }, + ], }; diff --git a/frontend/orval.config.ts b/frontend/orval.config.ts new file mode 100644 index 0000000000..0856b11a65 --- /dev/null +++ b/frontend/orval.config.ts @@ -0,0 +1,97 @@ +/** + * When making changes to this file, remove this the file name from .eslintignore and tsconfig.json + * The reason this is required because of the moduleResolution being "node". Changing this is a more detailed effort. + * So, until then, we will keep this file ignored for eslint and typescript. + */ + +import { defineConfig } from 'orval'; + +export default defineConfig({ + signoz: { + input: { + target: '../docs/api/openapi.yml', + }, + output: { + target: './src/api/generated/services', + client: 'react-query', + httpClient: 'axios', + mode: 'tags-split', + prettier: true, + headers: true, + clean: true, + override: { + query: { + useQuery: true, + useMutation: true, + useInvalidate: true, + signal: true, + useOperationIdAsQueryKey: true, + }, + useDates: true, + useNamedParameters: true, + enumGenerationType: 'enum', + mutator: { + path: './src/api/index.ts', + name: 'GeneratedAPIInstance', + }, + + jsDoc: { + filter: (schema) => { + const allowlist = [ + 'type', + 'format', + 'maxLength', + 'minLength', + 'description', + 'minimum', + 'maximum', + 'exclusiveMinimum', + 'exclusiveMaximum', + 'pattern', + 'nullable', + 'enum', + ]; + return Object.entries(schema || {}) + .filter(([key]) => allowlist.includes(key)) + .map(([key, value]: [string, any]) => ({ + key, + value, + })) + .sort((a, b) => a.key.length - b.key.length); + }, + }, + + components: { + schemas: { + suffix: 'DTO', + }, + responses: { + suffix: 'Response', + }, + parameters: { + suffix: 'Params', + }, + requestBodies: { + suffix: 'Body', + }, + }, + + // info is of type InfoObject from openapi spec + header: (info: { title: string; version: string }): string[] => [ + `! Do not edit manually`, + `* The file has been auto-generated using Orval for SigNoz`, + `* regenerate with 'yarn generate:api'`, + ...(info.title ? [info.title] : []), + ...(info.version ? [`OpenAPI spec version: ${info.version}`] : []), + ], + + // @ts-expect-error + // propertySortOrder, urlEncodeParameters, aliasCombinedTypes + // are valid options in the document without types + propertySortOrder: 'Alphabetical', + urlEncodeParameters: true, + aliasCombinedTypes: true, + }, + }, + }, +}); diff --git a/frontend/package.json b/frontend/package.json index f69b5132d7..42e9ef9381 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,7 +18,8 @@ "husky:configure": "cd .. && husky install frontend/.husky && cd frontend && chmod ug+x .husky/*", "commitlint": "commitlint --edit $1", "test": "jest", - "test:changedsince": "jest --changedSince=main --coverage --silent" + "test:changedsince": "jest --changedSince=main --coverage --silent", + "generate:api": "orval --config ./orval.config.ts && sh scripts/post-types-generation.sh && prettier --write src/api/generated && (eslint --fix src/api/generated || true)" }, "engines": { "node": ">=16.15.0" @@ -238,6 +239,7 @@ "lint-staged": "^12.5.0", "msw": "1.3.2", "npm-run-all": "latest", + "orval": "7.18.0", "portfinder-sync": "^0.0.2", "postcss": "8.4.38", "prettier": "2.2.1", diff --git a/frontend/scripts/post-types-generation.sh b/frontend/scripts/post-types-generation.sh new file mode 100755 index 0000000000..0feb86fcf4 --- /dev/null +++ b/frontend/scripts/post-types-generation.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Rename tag files to index.ts in services directories +# tags-split creates: services/tagName/tagName.ts -> rename to services/tagName/index.ts +find src/api/generated/services -mindepth 1 -maxdepth 1 -type d | while read -r dir; do + dirname=$(basename "$dir") + tagfile="$dir/$dirname.ts" + if [ -f "$tagfile" ]; then + mv "$tagfile" "$dir/index.ts" + echo "Renamed $tagfile -> $dir/index.ts" + fi +done + +echo "Tag files renamed to index.ts" diff --git a/frontend/src/api/generated/services/authdomains/index.ts b/frontend/src/api/generated/services/authdomains/index.ts new file mode 100644 index 0000000000..b87dd30c47 --- /dev/null +++ b/frontend/src/api/generated/services/authdomains/index.ts @@ -0,0 +1,371 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + AuthtypesPostableAuthDomainDTO, + AuthtypesUpdateableAuthDomainDTO, + CreateAuthDomain200, + DeleteAuthDomainPathParameters, + ListAuthDomains200, + RenderErrorResponseDTO, + UpdateAuthDomainPathParameters, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoint lists all auth domains + * @summary List all auth domains + */ +export const listAuthDomains = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/domains`, + method: 'GET', + signal, + }); + +export const getListAuthDomainsQueryKey = () => ['listAuthDomains'] as const; + +export const getListAuthDomainsQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getListAuthDomainsQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => listAuthDomains(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type ListAuthDomainsQueryResult = NonNullable< + Awaited> +>; +export type ListAuthDomainsQueryError = RenderErrorResponseDTO; + +/** + * @summary List all auth domains + */ + +export function useListAuthDomains< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getListAuthDomainsQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary List all auth domains + */ +export const invalidateListAuthDomains = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getListAuthDomainsQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint creates an auth domain + * @summary Create auth domain + */ +export const createAuthDomain = ( + authtypesPostableAuthDomainDTO: AuthtypesPostableAuthDomainDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/domains`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: authtypesPostableAuthDomainDTO, + signal, + }); + +export const getCreateAuthDomainMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableAuthDomainDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableAuthDomainDTO }, + TContext +> => { + const mutationKey = ['createAuthDomain']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: AuthtypesPostableAuthDomainDTO } + > = (props) => { + const { data } = props ?? {}; + + return createAuthDomain(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreateAuthDomainMutationResult = NonNullable< + Awaited> +>; +export type CreateAuthDomainMutationBody = AuthtypesPostableAuthDomainDTO; +export type CreateAuthDomainMutationError = RenderErrorResponseDTO; + +/** + * @summary Create auth domain + */ +export const useCreateAuthDomain = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableAuthDomainDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: AuthtypesPostableAuthDomainDTO }, + TContext +> => { + const mutationOptions = getCreateAuthDomainMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint deletes an auth domain + * @summary Delete auth domain + */ +export const deleteAuthDomain = ({ id }: DeleteAuthDomainPathParameters) => + GeneratedAPIInstance({ + url: `/api/v1/domains/${id}`, + method: 'DELETE', + }); + +export const getDeleteAuthDomainMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteAuthDomainPathParameters }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteAuthDomainPathParameters }, + TContext +> => { + const mutationKey = ['deleteAuthDomain']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: DeleteAuthDomainPathParameters } + > = (props) => { + const { pathParams } = props ?? {}; + + return deleteAuthDomain(pathParams); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteAuthDomainMutationResult = NonNullable< + Awaited> +>; + +export type DeleteAuthDomainMutationError = RenderErrorResponseDTO; + +/** + * @summary Delete auth domain + */ +export const useDeleteAuthDomain = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteAuthDomainPathParameters }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: DeleteAuthDomainPathParameters }, + TContext +> => { + const mutationOptions = getDeleteAuthDomainMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint updates an auth domain + * @summary Update auth domain + */ +export const updateAuthDomain = ( + { id }: UpdateAuthDomainPathParameters, + authtypesUpdateableAuthDomainDTO: AuthtypesUpdateableAuthDomainDTO, +) => + GeneratedAPIInstance({ + url: `/api/v1/domains/${id}`, + method: 'PUT', + headers: { 'Content-Type': 'application/json' }, + data: authtypesUpdateableAuthDomainDTO, + }); + +export const getUpdateAuthDomainMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateAuthDomainPathParameters; + data: AuthtypesUpdateableAuthDomainDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateAuthDomainPathParameters; + data: AuthtypesUpdateableAuthDomainDTO; + }, + TContext +> => { + const mutationKey = ['updateAuthDomain']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: UpdateAuthDomainPathParameters; + data: AuthtypesUpdateableAuthDomainDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updateAuthDomain(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateAuthDomainMutationResult = NonNullable< + Awaited> +>; +export type UpdateAuthDomainMutationBody = AuthtypesUpdateableAuthDomainDTO; +export type UpdateAuthDomainMutationError = RenderErrorResponseDTO; + +/** + * @summary Update auth domain + */ +export const useUpdateAuthDomain = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateAuthDomainPathParameters; + data: AuthtypesUpdateableAuthDomainDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: UpdateAuthDomainPathParameters; + data: AuthtypesUpdateableAuthDomainDTO; + }, + TContext +> => { + const mutationOptions = getUpdateAuthDomainMutationOptions(options); + + return useMutation(mutationOptions); +}; diff --git a/frontend/src/api/generated/services/dashboard/index.ts b/frontend/src/api/generated/services/dashboard/index.ts new file mode 100644 index 0000000000..ad9418b142 --- /dev/null +++ b/frontend/src/api/generated/services/dashboard/index.ts @@ -0,0 +1,620 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + CreatePublicDashboard201, + CreatePublicDashboardPathParameters, + DashboardtypesPostablePublicDashboardDTO, + DashboardtypesUpdatablePublicDashboardDTO, + DeletePublicDashboardPathParameters, + GetPublicDashboard200, + GetPublicDashboardData200, + GetPublicDashboardDataPathParameters, + GetPublicDashboardPathParameters, + GetPublicDashboardWidgetQueryRange200, + GetPublicDashboardWidgetQueryRangePathParameters, + RenderErrorResponseDTO, + UpdatePublicDashboardPathParameters, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoints deletes the public sharing config and disables the public sharing of a dashboard + * @summary Delete public dashboard + */ +export const deletePublicDashboard = ({ + id, +}: DeletePublicDashboardPathParameters) => + GeneratedAPIInstance({ + url: `/api/v1/dashboards/${id}/public`, + method: 'DELETE', + }); + +export const getDeletePublicDashboardMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeletePublicDashboardPathParameters }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: DeletePublicDashboardPathParameters }, + TContext +> => { + const mutationKey = ['deletePublicDashboard']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: DeletePublicDashboardPathParameters } + > = (props) => { + const { pathParams } = props ?? {}; + + return deletePublicDashboard(pathParams); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type DeletePublicDashboardMutationResult = NonNullable< + Awaited> +>; + +export type DeletePublicDashboardMutationError = RenderErrorResponseDTO; + +/** + * @summary Delete public dashboard + */ +export const useDeletePublicDashboard = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeletePublicDashboardPathParameters }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: DeletePublicDashboardPathParameters }, + TContext +> => { + const mutationOptions = getDeletePublicDashboardMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoints returns public sharing config for a dashboard + * @summary Get public dashboard + */ +export const getPublicDashboard = ( + { id }: GetPublicDashboardPathParameters, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/dashboards/${id}/public`, + method: 'GET', + signal, + }); + +export const getGetPublicDashboardQueryKey = ({ + id, +}: GetPublicDashboardPathParameters) => ['getPublicDashboard'] as const; + +export const getGetPublicDashboardQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id }: GetPublicDashboardPathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? getGetPublicDashboardQueryKey({ id }); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getPublicDashboard({ id }, signal); + + return { + queryKey, + queryFn, + enabled: !!id, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetPublicDashboardQueryResult = NonNullable< + Awaited> +>; +export type GetPublicDashboardQueryError = RenderErrorResponseDTO; + +/** + * @summary Get public dashboard + */ + +export function useGetPublicDashboard< + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id }: GetPublicDashboardPathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetPublicDashboardQueryOptions({ id }, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get public dashboard + */ +export const invalidateGetPublicDashboard = async ( + queryClient: QueryClient, + { id }: GetPublicDashboardPathParameters, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetPublicDashboardQueryKey({ id }) }, + options, + ); + + return queryClient; +}; + +/** + * This endpoints creates public sharing config and enables public sharing of the dashboard + * @summary Create public dashboard + */ +export const createPublicDashboard = ( + { id }: CreatePublicDashboardPathParameters, + dashboardtypesPostablePublicDashboardDTO: DashboardtypesPostablePublicDashboardDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/dashboards/${id}/public`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: dashboardtypesPostablePublicDashboardDTO, + signal, + }); + +export const getCreatePublicDashboardMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: CreatePublicDashboardPathParameters; + data: DashboardtypesPostablePublicDashboardDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: CreatePublicDashboardPathParameters; + data: DashboardtypesPostablePublicDashboardDTO; + }, + TContext +> => { + const mutationKey = ['createPublicDashboard']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: CreatePublicDashboardPathParameters; + data: DashboardtypesPostablePublicDashboardDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return createPublicDashboard(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreatePublicDashboardMutationResult = NonNullable< + Awaited> +>; +export type CreatePublicDashboardMutationBody = DashboardtypesPostablePublicDashboardDTO; +export type CreatePublicDashboardMutationError = RenderErrorResponseDTO; + +/** + * @summary Create public dashboard + */ +export const useCreatePublicDashboard = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: CreatePublicDashboardPathParameters; + data: DashboardtypesPostablePublicDashboardDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: CreatePublicDashboardPathParameters; + data: DashboardtypesPostablePublicDashboardDTO; + }, + TContext +> => { + const mutationOptions = getCreatePublicDashboardMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoints updates the public sharing config for a dashboard + * @summary Update public dashboard + */ +export const updatePublicDashboard = ( + { id }: UpdatePublicDashboardPathParameters, + dashboardtypesUpdatablePublicDashboardDTO: DashboardtypesUpdatablePublicDashboardDTO, +) => + GeneratedAPIInstance({ + url: `/api/v1/dashboards/${id}/public`, + method: 'PUT', + headers: { 'Content-Type': 'application/json' }, + data: dashboardtypesUpdatablePublicDashboardDTO, + }); + +export const getUpdatePublicDashboardMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdatePublicDashboardPathParameters; + data: DashboardtypesUpdatablePublicDashboardDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdatePublicDashboardPathParameters; + data: DashboardtypesUpdatablePublicDashboardDTO; + }, + TContext +> => { + const mutationKey = ['updatePublicDashboard']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: UpdatePublicDashboardPathParameters; + data: DashboardtypesUpdatablePublicDashboardDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updatePublicDashboard(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdatePublicDashboardMutationResult = NonNullable< + Awaited> +>; +export type UpdatePublicDashboardMutationBody = DashboardtypesUpdatablePublicDashboardDTO; +export type UpdatePublicDashboardMutationError = RenderErrorResponseDTO; + +/** + * @summary Update public dashboard + */ +export const useUpdatePublicDashboard = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdatePublicDashboardPathParameters; + data: DashboardtypesUpdatablePublicDashboardDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: UpdatePublicDashboardPathParameters; + data: DashboardtypesUpdatablePublicDashboardDTO; + }, + TContext +> => { + const mutationOptions = getUpdatePublicDashboardMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoints returns the sanitized dashboard data for public access + * @summary Get public dashboard data + */ +export const getPublicDashboardData = ( + { id }: GetPublicDashboardDataPathParameters, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/public/dashboards/${id}`, + method: 'GET', + signal, + }); + +export const getGetPublicDashboardDataQueryKey = ({ + id, +}: GetPublicDashboardDataPathParameters) => ['getPublicDashboardData'] as const; + +export const getGetPublicDashboardDataQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id }: GetPublicDashboardDataPathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? getGetPublicDashboardDataQueryKey({ id }); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getPublicDashboardData({ id }, signal); + + return { + queryKey, + queryFn, + enabled: !!id, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetPublicDashboardDataQueryResult = NonNullable< + Awaited> +>; +export type GetPublicDashboardDataQueryError = RenderErrorResponseDTO; + +/** + * @summary Get public dashboard data + */ + +export function useGetPublicDashboardData< + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id }: GetPublicDashboardDataPathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetPublicDashboardDataQueryOptions({ id }, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get public dashboard data + */ +export const invalidateGetPublicDashboardData = async ( + queryClient: QueryClient, + { id }: GetPublicDashboardDataPathParameters, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetPublicDashboardDataQueryKey({ id }) }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint return query range results for a widget of public dashboard + * @summary Get query range result + */ +export const getPublicDashboardWidgetQueryRange = ( + { id, idx }: GetPublicDashboardWidgetQueryRangePathParameters, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/public/dashboards/${id}/widgets/${idx}/query_range`, + method: 'GET', + signal, + }); + +export const getGetPublicDashboardWidgetQueryRangeQueryKey = ({ + id, + idx, +}: GetPublicDashboardWidgetQueryRangePathParameters) => + ['getPublicDashboardWidgetQueryRange'] as const; + +export const getGetPublicDashboardWidgetQueryRangeQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id, idx }: GetPublicDashboardWidgetQueryRangePathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? + getGetPublicDashboardWidgetQueryRangeQueryKey({ id, idx }); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getPublicDashboardWidgetQueryRange({ id, idx }, signal); + + return { + queryKey, + queryFn, + enabled: !!(id && idx), + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetPublicDashboardWidgetQueryRangeQueryResult = NonNullable< + Awaited> +>; +export type GetPublicDashboardWidgetQueryRangeQueryError = RenderErrorResponseDTO; + +/** + * @summary Get query range result + */ + +export function useGetPublicDashboardWidgetQueryRange< + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id, idx }: GetPublicDashboardWidgetQueryRangePathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetPublicDashboardWidgetQueryRangeQueryOptions( + { id, idx }, + options, + ); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get query range result + */ +export const invalidateGetPublicDashboardWidgetQueryRange = async ( + queryClient: QueryClient, + { id, idx }: GetPublicDashboardWidgetQueryRangePathParameters, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetPublicDashboardWidgetQueryRangeQueryKey({ id, idx }) }, + options, + ); + + return queryClient; +}; diff --git a/frontend/src/api/generated/services/features/index.ts b/frontend/src/api/generated/services/features/index.ts new file mode 100644 index 0000000000..c5dcbce6f8 --- /dev/null +++ b/frontend/src/api/generated/services/features/index.ts @@ -0,0 +1,105 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + QueryClient, + QueryFunction, + QueryKey, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { GetFeatures200, RenderErrorResponseDTO } from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoint returns the supported features and their details + * @summary Get features + */ +export const getFeatures = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/features`, + method: 'GET', + signal, + }); + +export const getGetFeaturesQueryKey = () => ['getFeatures'] as const; + +export const getGetFeaturesQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetFeaturesQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => getFeatures(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetFeaturesQueryResult = NonNullable< + Awaited> +>; +export type GetFeaturesQueryError = RenderErrorResponseDTO; + +/** + * @summary Get features + */ + +export function useGetFeatures< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetFeaturesQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get features + */ +export const invalidateGetFeatures = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetFeaturesQueryKey() }, + options, + ); + + return queryClient; +}; diff --git a/frontend/src/api/generated/services/gateway/index.ts b/frontend/src/api/generated/services/gateway/index.ts new file mode 100644 index 0000000000..2b2e846301 --- /dev/null +++ b/frontend/src/api/generated/services/gateway/index.ts @@ -0,0 +1,734 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + CreateIngestionKey200, + CreateIngestionKeyLimit201, + CreateIngestionKeyLimitPathParameters, + DeleteIngestionKeyLimitPathParameters, + DeleteIngestionKeyPathParameters, + GatewaytypesPostableIngestionKeyDTO, + GatewaytypesPostableIngestionKeyLimitDTO, + GatewaytypesUpdatableIngestionKeyLimitDTO, + GetIngestionKeys200, + RenderErrorResponseDTO, + SearchIngestionKeys200, + UpdateIngestionKeyLimitPathParameters, + UpdateIngestionKeyPathParameters, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoint returns the ingestion keys for a workspace + * @summary Get ingestion keys for workspace + */ +export const getIngestionKeys = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/gateway/ingestion_keys`, + method: 'GET', + signal, + }); + +export const getGetIngestionKeysQueryKey = () => ['getIngestionKeys'] as const; + +export const getGetIngestionKeysQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetIngestionKeysQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => getIngestionKeys(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetIngestionKeysQueryResult = NonNullable< + Awaited> +>; +export type GetIngestionKeysQueryError = RenderErrorResponseDTO; + +/** + * @summary Get ingestion keys for workspace + */ + +export function useGetIngestionKeys< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetIngestionKeysQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get ingestion keys for workspace + */ +export const invalidateGetIngestionKeys = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetIngestionKeysQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint creates an ingestion key for the workspace + * @summary Create ingestion key for workspace + */ +export const createIngestionKey = ( + gatewaytypesPostableIngestionKeyDTO: GatewaytypesPostableIngestionKeyDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v2/gateway/ingestion_keys`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: gatewaytypesPostableIngestionKeyDTO, + signal, + }); + +export const getCreateIngestionKeyMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: GatewaytypesPostableIngestionKeyDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: GatewaytypesPostableIngestionKeyDTO }, + TContext +> => { + const mutationKey = ['createIngestionKey']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: GatewaytypesPostableIngestionKeyDTO } + > = (props) => { + const { data } = props ?? {}; + + return createIngestionKey(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreateIngestionKeyMutationResult = NonNullable< + Awaited> +>; +export type CreateIngestionKeyMutationBody = GatewaytypesPostableIngestionKeyDTO; +export type CreateIngestionKeyMutationError = RenderErrorResponseDTO; + +/** + * @summary Create ingestion key for workspace + */ +export const useCreateIngestionKey = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: GatewaytypesPostableIngestionKeyDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: GatewaytypesPostableIngestionKeyDTO }, + TContext +> => { + const mutationOptions = getCreateIngestionKeyMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint deletes an ingestion key for the workspace + * @summary Delete ingestion key for workspace + */ +export const deleteIngestionKey = ({ + keyId, +}: DeleteIngestionKeyPathParameters) => + GeneratedAPIInstance({ + url: `/api/v2/gateway/ingestion_keys/${keyId}`, + method: 'DELETE', + }); + +export const getDeleteIngestionKeyMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteIngestionKeyPathParameters }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteIngestionKeyPathParameters }, + TContext +> => { + const mutationKey = ['deleteIngestionKey']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: DeleteIngestionKeyPathParameters } + > = (props) => { + const { pathParams } = props ?? {}; + + return deleteIngestionKey(pathParams); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteIngestionKeyMutationResult = NonNullable< + Awaited> +>; + +export type DeleteIngestionKeyMutationError = RenderErrorResponseDTO; + +/** + * @summary Delete ingestion key for workspace + */ +export const useDeleteIngestionKey = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteIngestionKeyPathParameters }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: DeleteIngestionKeyPathParameters }, + TContext +> => { + const mutationOptions = getDeleteIngestionKeyMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint updates an ingestion key for the workspace + * @summary Update ingestion key for workspace + */ +export const updateIngestionKey = ( + { keyId }: UpdateIngestionKeyPathParameters, + gatewaytypesPostableIngestionKeyDTO: GatewaytypesPostableIngestionKeyDTO, +) => + GeneratedAPIInstance({ + url: `/api/v2/gateway/ingestion_keys/${keyId}`, + method: 'PATCH', + headers: { 'Content-Type': 'application/json' }, + data: gatewaytypesPostableIngestionKeyDTO, + }); + +export const getUpdateIngestionKeyMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateIngestionKeyPathParameters; + data: GatewaytypesPostableIngestionKeyDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateIngestionKeyPathParameters; + data: GatewaytypesPostableIngestionKeyDTO; + }, + TContext +> => { + const mutationKey = ['updateIngestionKey']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: UpdateIngestionKeyPathParameters; + data: GatewaytypesPostableIngestionKeyDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updateIngestionKey(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateIngestionKeyMutationResult = NonNullable< + Awaited> +>; +export type UpdateIngestionKeyMutationBody = GatewaytypesPostableIngestionKeyDTO; +export type UpdateIngestionKeyMutationError = RenderErrorResponseDTO; + +/** + * @summary Update ingestion key for workspace + */ +export const useUpdateIngestionKey = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateIngestionKeyPathParameters; + data: GatewaytypesPostableIngestionKeyDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: UpdateIngestionKeyPathParameters; + data: GatewaytypesPostableIngestionKeyDTO; + }, + TContext +> => { + const mutationOptions = getUpdateIngestionKeyMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint creates an ingestion key limit + * @summary Create limit for the ingestion key + */ +export const createIngestionKeyLimit = ( + { keyId }: CreateIngestionKeyLimitPathParameters, + gatewaytypesPostableIngestionKeyLimitDTO: GatewaytypesPostableIngestionKeyLimitDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v2/gateway/ingestion_keys/${keyId}/limits`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: gatewaytypesPostableIngestionKeyLimitDTO, + signal, + }); + +export const getCreateIngestionKeyLimitMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: CreateIngestionKeyLimitPathParameters; + data: GatewaytypesPostableIngestionKeyLimitDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: CreateIngestionKeyLimitPathParameters; + data: GatewaytypesPostableIngestionKeyLimitDTO; + }, + TContext +> => { + const mutationKey = ['createIngestionKeyLimit']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: CreateIngestionKeyLimitPathParameters; + data: GatewaytypesPostableIngestionKeyLimitDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return createIngestionKeyLimit(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreateIngestionKeyLimitMutationResult = NonNullable< + Awaited> +>; +export type CreateIngestionKeyLimitMutationBody = GatewaytypesPostableIngestionKeyLimitDTO; +export type CreateIngestionKeyLimitMutationError = RenderErrorResponseDTO; + +/** + * @summary Create limit for the ingestion key + */ +export const useCreateIngestionKeyLimit = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: CreateIngestionKeyLimitPathParameters; + data: GatewaytypesPostableIngestionKeyLimitDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: CreateIngestionKeyLimitPathParameters; + data: GatewaytypesPostableIngestionKeyLimitDTO; + }, + TContext +> => { + const mutationOptions = getCreateIngestionKeyLimitMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint deletes an ingestion key limit + * @summary Delete limit for the ingestion key + */ +export const deleteIngestionKeyLimit = ({ + limitId, +}: DeleteIngestionKeyLimitPathParameters) => + GeneratedAPIInstance({ + url: `/api/v2/gateway/ingestion_keys/limits/${limitId}`, + method: 'DELETE', + }); + +export const getDeleteIngestionKeyLimitMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteIngestionKeyLimitPathParameters }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteIngestionKeyLimitPathParameters }, + TContext +> => { + const mutationKey = ['deleteIngestionKeyLimit']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: DeleteIngestionKeyLimitPathParameters } + > = (props) => { + const { pathParams } = props ?? {}; + + return deleteIngestionKeyLimit(pathParams); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteIngestionKeyLimitMutationResult = NonNullable< + Awaited> +>; + +export type DeleteIngestionKeyLimitMutationError = RenderErrorResponseDTO; + +/** + * @summary Delete limit for the ingestion key + */ +export const useDeleteIngestionKeyLimit = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteIngestionKeyLimitPathParameters }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: DeleteIngestionKeyLimitPathParameters }, + TContext +> => { + const mutationOptions = getDeleteIngestionKeyLimitMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint updates an ingestion key limit + * @summary Update limit for the ingestion key + */ +export const updateIngestionKeyLimit = ( + { limitId }: UpdateIngestionKeyLimitPathParameters, + gatewaytypesUpdatableIngestionKeyLimitDTO: GatewaytypesUpdatableIngestionKeyLimitDTO, +) => + GeneratedAPIInstance({ + url: `/api/v2/gateway/ingestion_keys/limits/${limitId}`, + method: 'PATCH', + headers: { 'Content-Type': 'application/json' }, + data: gatewaytypesUpdatableIngestionKeyLimitDTO, + }); + +export const getUpdateIngestionKeyLimitMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateIngestionKeyLimitPathParameters; + data: GatewaytypesUpdatableIngestionKeyLimitDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateIngestionKeyLimitPathParameters; + data: GatewaytypesUpdatableIngestionKeyLimitDTO; + }, + TContext +> => { + const mutationKey = ['updateIngestionKeyLimit']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: UpdateIngestionKeyLimitPathParameters; + data: GatewaytypesUpdatableIngestionKeyLimitDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updateIngestionKeyLimit(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateIngestionKeyLimitMutationResult = NonNullable< + Awaited> +>; +export type UpdateIngestionKeyLimitMutationBody = GatewaytypesUpdatableIngestionKeyLimitDTO; +export type UpdateIngestionKeyLimitMutationError = RenderErrorResponseDTO; + +/** + * @summary Update limit for the ingestion key + */ +export const useUpdateIngestionKeyLimit = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateIngestionKeyLimitPathParameters; + data: GatewaytypesUpdatableIngestionKeyLimitDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: UpdateIngestionKeyLimitPathParameters; + data: GatewaytypesUpdatableIngestionKeyLimitDTO; + }, + TContext +> => { + const mutationOptions = getUpdateIngestionKeyLimitMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint returns the ingestion keys for a workspace + * @summary Search ingestion keys for workspace + */ +export const searchIngestionKeys = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/gateway/ingestion_keys/search`, + method: 'GET', + signal, + }); + +export const getSearchIngestionKeysQueryKey = () => + ['searchIngestionKeys'] as const; + +export const getSearchIngestionKeysQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getSearchIngestionKeysQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => searchIngestionKeys(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type SearchIngestionKeysQueryResult = NonNullable< + Awaited> +>; +export type SearchIngestionKeysQueryError = RenderErrorResponseDTO; + +/** + * @summary Search ingestion keys for workspace + */ + +export function useSearchIngestionKeys< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getSearchIngestionKeysQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Search ingestion keys for workspace + */ +export const invalidateSearchIngestionKeys = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getSearchIngestionKeysQueryKey() }, + options, + ); + + return queryClient; +}; diff --git a/frontend/src/api/generated/services/global/index.ts b/frontend/src/api/generated/services/global/index.ts new file mode 100644 index 0000000000..32e6a57e0f --- /dev/null +++ b/frontend/src/api/generated/services/global/index.ts @@ -0,0 +1,108 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + QueryClient, + QueryFunction, + QueryKey, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + GetGlobalConfig200, + RenderErrorResponseDTO, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoints returns global config + * @summary Get global config + */ +export const getGlobalConfig = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/global/config`, + method: 'GET', + signal, + }); + +export const getGetGlobalConfigQueryKey = () => ['getGlobalConfig'] as const; + +export const getGetGlobalConfigQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetGlobalConfigQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => getGlobalConfig(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetGlobalConfigQueryResult = NonNullable< + Awaited> +>; +export type GetGlobalConfigQueryError = RenderErrorResponseDTO; + +/** + * @summary Get global config + */ + +export function useGetGlobalConfig< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetGlobalConfigQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get global config + */ +export const invalidateGetGlobalConfig = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetGlobalConfigQueryKey() }, + options, + ); + + return queryClient; +}; diff --git a/frontend/src/api/generated/services/logs/index.ts b/frontend/src/api/generated/services/logs/index.ts new file mode 100644 index 0000000000..39191945f6 --- /dev/null +++ b/frontend/src/api/generated/services/logs/index.ts @@ -0,0 +1,199 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + ListPromotedAndIndexedPaths200, + PromotetypesPromotePathDTO, + RenderErrorResponseDTO, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoints promotes and indexes paths + * @summary Promote and index paths + */ +export const listPromotedAndIndexedPaths = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/logs/promote_paths`, + method: 'GET', + signal, + }); + +export const getListPromotedAndIndexedPathsQueryKey = () => + ['listPromotedAndIndexedPaths'] as const; + +export const getListPromotedAndIndexedPathsQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? getListPromotedAndIndexedPathsQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => listPromotedAndIndexedPaths(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type ListPromotedAndIndexedPathsQueryResult = NonNullable< + Awaited> +>; +export type ListPromotedAndIndexedPathsQueryError = RenderErrorResponseDTO; + +/** + * @summary Promote and index paths + */ + +export function useListPromotedAndIndexedPaths< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getListPromotedAndIndexedPathsQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Promote and index paths + */ +export const invalidateListPromotedAndIndexedPaths = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getListPromotedAndIndexedPathsQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoints promotes and indexes paths + * @summary Promote and index paths + */ +export const handlePromoteAndIndexPaths = ( + promotetypesPromotePathDTONull: PromotetypesPromotePathDTO[] | null, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/logs/promote_paths`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: promotetypesPromotePathDTONull, + signal, + }); + +export const getHandlePromoteAndIndexPathsMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: PromotetypesPromotePathDTO[] | null }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: PromotetypesPromotePathDTO[] | null }, + TContext +> => { + const mutationKey = ['handlePromoteAndIndexPaths']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: PromotetypesPromotePathDTO[] | null } + > = (props) => { + const { data } = props ?? {}; + + return handlePromoteAndIndexPaths(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type HandlePromoteAndIndexPathsMutationResult = NonNullable< + Awaited> +>; +export type HandlePromoteAndIndexPathsMutationBody = + | PromotetypesPromotePathDTO[] + | null; +export type HandlePromoteAndIndexPathsMutationError = RenderErrorResponseDTO; + +/** + * @summary Promote and index paths + */ +export const useHandlePromoteAndIndexPaths = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: PromotetypesPromotePathDTO[] | null }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: PromotetypesPromotePathDTO[] | null }, + TContext +> => { + const mutationOptions = getHandlePromoteAndIndexPathsMutationOptions(options); + + return useMutation(mutationOptions); +}; diff --git a/frontend/src/api/generated/services/metrics/index.ts b/frontend/src/api/generated/services/metrics/index.ts new file mode 100644 index 0000000000..d7aaeac818 --- /dev/null +++ b/frontend/src/api/generated/services/metrics/index.ts @@ -0,0 +1,719 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + GetMetricAlerts200, + GetMetricAttributes200, + GetMetricDashboards200, + GetMetricHighlights200, + GetMetricMetadata200, + GetMetricsStats200, + GetMetricsTreemap200, + MetricsexplorertypesMetricAttributesRequestDTO, + MetricsexplorertypesStatsRequestDTO, + MetricsexplorertypesTreemapRequestDTO, + MetricsexplorertypesUpdateMetricMetadataRequestDTO, + RenderErrorResponseDTO, + UpdateMetricMetadataPathParameters, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoint returns associated alerts for a specified metric + * @summary Get metric alerts + */ +export const getMetricAlerts = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/metric/alerts`, + method: 'GET', + signal, + }); + +export const getGetMetricAlertsQueryKey = () => ['getMetricAlerts'] as const; + +export const getGetMetricAlertsQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetMetricAlertsQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => getMetricAlerts(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetMetricAlertsQueryResult = NonNullable< + Awaited> +>; +export type GetMetricAlertsQueryError = RenderErrorResponseDTO; + +/** + * @summary Get metric alerts + */ + +export function useGetMetricAlerts< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetMetricAlertsQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get metric alerts + */ +export const invalidateGetMetricAlerts = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetMetricAlertsQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint returns associated dashboards for a specified metric + * @summary Get metric dashboards + */ +export const getMetricDashboards = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/metric/dashboards`, + method: 'GET', + signal, + }); + +export const getGetMetricDashboardsQueryKey = () => + ['getMetricDashboards'] as const; + +export const getGetMetricDashboardsQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetMetricDashboardsQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getMetricDashboards(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetMetricDashboardsQueryResult = NonNullable< + Awaited> +>; +export type GetMetricDashboardsQueryError = RenderErrorResponseDTO; + +/** + * @summary Get metric dashboards + */ + +export function useGetMetricDashboards< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetMetricDashboardsQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get metric dashboards + */ +export const invalidateGetMetricDashboards = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetMetricDashboardsQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint returns highlights like number of datapoints, totaltimeseries, active time series, last received time for a specified metric + * @summary Get metric highlights + */ +export const getMetricHighlights = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/metric/highlights`, + method: 'GET', + signal, + }); + +export const getGetMetricHighlightsQueryKey = () => + ['getMetricHighlights'] as const; + +export const getGetMetricHighlightsQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetMetricHighlightsQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getMetricHighlights(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetMetricHighlightsQueryResult = NonNullable< + Awaited> +>; +export type GetMetricHighlightsQueryError = RenderErrorResponseDTO; + +/** + * @summary Get metric highlights + */ + +export function useGetMetricHighlights< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetMetricHighlightsQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get metric highlights + */ +export const invalidateGetMetricHighlights = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetMetricHighlightsQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint helps to update metadata information like metric description, unit, type, temporality, monotonicity for a specified metric + * @summary Update metric metadata + */ +export const updateMetricMetadata = ( + { metricName }: UpdateMetricMetadataPathParameters, + metricsexplorertypesUpdateMetricMetadataRequestDTO: MetricsexplorertypesUpdateMetricMetadataRequestDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v2/metrics/${metricName}/metadata`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: metricsexplorertypesUpdateMetricMetadataRequestDTO, + signal, + }); + +export const getUpdateMetricMetadataMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateMetricMetadataPathParameters; + data: MetricsexplorertypesUpdateMetricMetadataRequestDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateMetricMetadataPathParameters; + data: MetricsexplorertypesUpdateMetricMetadataRequestDTO; + }, + TContext +> => { + const mutationKey = ['updateMetricMetadata']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: UpdateMetricMetadataPathParameters; + data: MetricsexplorertypesUpdateMetricMetadataRequestDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updateMetricMetadata(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateMetricMetadataMutationResult = NonNullable< + Awaited> +>; +export type UpdateMetricMetadataMutationBody = MetricsexplorertypesUpdateMetricMetadataRequestDTO; +export type UpdateMetricMetadataMutationError = RenderErrorResponseDTO; + +/** + * @summary Update metric metadata + */ +export const useUpdateMetricMetadata = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateMetricMetadataPathParameters; + data: MetricsexplorertypesUpdateMetricMetadataRequestDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: UpdateMetricMetadataPathParameters; + data: MetricsexplorertypesUpdateMetricMetadataRequestDTO; + }, + TContext +> => { + const mutationOptions = getUpdateMetricMetadataMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint returns attribute keys and their unique values for a specified metric + * @summary Get metric attributes + */ +export const getMetricAttributes = ( + metricsexplorertypesMetricAttributesRequestDTO: MetricsexplorertypesMetricAttributesRequestDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v2/metrics/attributes`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: metricsexplorertypesMetricAttributesRequestDTO, + signal, + }); + +export const getGetMetricAttributesMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesMetricAttributesRequestDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesMetricAttributesRequestDTO }, + TContext +> => { + const mutationKey = ['getMetricAttributes']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: MetricsexplorertypesMetricAttributesRequestDTO } + > = (props) => { + const { data } = props ?? {}; + + return getMetricAttributes(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type GetMetricAttributesMutationResult = NonNullable< + Awaited> +>; +export type GetMetricAttributesMutationBody = MetricsexplorertypesMetricAttributesRequestDTO; +export type GetMetricAttributesMutationError = RenderErrorResponseDTO; + +/** + * @summary Get metric attributes + */ +export const useGetMetricAttributes = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesMetricAttributesRequestDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: MetricsexplorertypesMetricAttributesRequestDTO }, + TContext +> => { + const mutationOptions = getGetMetricAttributesMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint returns metadata information like metric description, unit, type, temporality, monotonicity for a specified metric + * @summary Get metric metadata + */ +export const getMetricMetadata = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/metrics/metadata`, + method: 'GET', + signal, + }); + +export const getGetMetricMetadataQueryKey = () => + ['getMetricMetadata'] as const; + +export const getGetMetricMetadataQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetMetricMetadataQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getMetricMetadata(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetMetricMetadataQueryResult = NonNullable< + Awaited> +>; +export type GetMetricMetadataQueryError = RenderErrorResponseDTO; + +/** + * @summary Get metric metadata + */ + +export function useGetMetricMetadata< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetMetricMetadataQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get metric metadata + */ +export const invalidateGetMetricMetadata = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetMetricMetadataQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint provides list of metrics with their number of samples and timeseries for the given time range + * @summary Get metrics statistics + */ +export const getMetricsStats = ( + metricsexplorertypesStatsRequestDTO: MetricsexplorertypesStatsRequestDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v2/metrics/stats`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: metricsexplorertypesStatsRequestDTO, + signal, + }); + +export const getGetMetricsStatsMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesStatsRequestDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesStatsRequestDTO }, + TContext +> => { + const mutationKey = ['getMetricsStats']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: MetricsexplorertypesStatsRequestDTO } + > = (props) => { + const { data } = props ?? {}; + + return getMetricsStats(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type GetMetricsStatsMutationResult = NonNullable< + Awaited> +>; +export type GetMetricsStatsMutationBody = MetricsexplorertypesStatsRequestDTO; +export type GetMetricsStatsMutationError = RenderErrorResponseDTO; + +/** + * @summary Get metrics statistics + */ +export const useGetMetricsStats = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesStatsRequestDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: MetricsexplorertypesStatsRequestDTO }, + TContext +> => { + const mutationOptions = getGetMetricsStatsMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint returns a treemap visualization showing the proportional distribution of metrics by sample count or time series count + * @summary Get metrics treemap + */ +export const getMetricsTreemap = ( + metricsexplorertypesTreemapRequestDTO: MetricsexplorertypesTreemapRequestDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v2/metrics/treemap`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: metricsexplorertypesTreemapRequestDTO, + signal, + }); + +export const getGetMetricsTreemapMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesTreemapRequestDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesTreemapRequestDTO }, + TContext +> => { + const mutationKey = ['getMetricsTreemap']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: MetricsexplorertypesTreemapRequestDTO } + > = (props) => { + const { data } = props ?? {}; + + return getMetricsTreemap(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type GetMetricsTreemapMutationResult = NonNullable< + Awaited> +>; +export type GetMetricsTreemapMutationBody = MetricsexplorertypesTreemapRequestDTO; +export type GetMetricsTreemapMutationError = RenderErrorResponseDTO; + +/** + * @summary Get metrics treemap + */ +export const useGetMetricsTreemap = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: MetricsexplorertypesTreemapRequestDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: MetricsexplorertypesTreemapRequestDTO }, + TContext +> => { + const mutationOptions = getGetMetricsTreemapMutationOptions(options); + + return useMutation(mutationOptions); +}; diff --git a/frontend/src/api/generated/services/orgs/index.ts b/frontend/src/api/generated/services/orgs/index.ts new file mode 100644 index 0000000000..dcdb87b3a0 --- /dev/null +++ b/frontend/src/api/generated/services/orgs/index.ts @@ -0,0 +1,194 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + GetMyOrganization200, + RenderErrorResponseDTO, + TypesOrganizationDTO, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoint returns the organization I belong to + * @summary Get my organization + */ +export const getMyOrganization = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/orgs/me`, + method: 'GET', + signal, + }); + +export const getGetMyOrganizationQueryKey = () => + ['getMyOrganization'] as const; + +export const getGetMyOrganizationQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetMyOrganizationQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getMyOrganization(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetMyOrganizationQueryResult = NonNullable< + Awaited> +>; +export type GetMyOrganizationQueryError = RenderErrorResponseDTO; + +/** + * @summary Get my organization + */ + +export function useGetMyOrganization< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetMyOrganizationQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get my organization + */ +export const invalidateGetMyOrganization = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetMyOrganizationQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint updates the organization I belong to + * @summary Update my organization + */ +export const updateMyOrganization = ( + typesOrganizationDTO: TypesOrganizationDTO, +) => + GeneratedAPIInstance({ + url: `/api/v2/orgs/me`, + method: 'PUT', + headers: { 'Content-Type': 'application/json' }, + data: typesOrganizationDTO, + }); + +export const getUpdateMyOrganizationMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesOrganizationDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: TypesOrganizationDTO }, + TContext +> => { + const mutationKey = ['updateMyOrganization']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: TypesOrganizationDTO } + > = (props) => { + const { data } = props ?? {}; + + return updateMyOrganization(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateMyOrganizationMutationResult = NonNullable< + Awaited> +>; +export type UpdateMyOrganizationMutationBody = TypesOrganizationDTO; +export type UpdateMyOrganizationMutationError = RenderErrorResponseDTO; + +/** + * @summary Update my organization + */ +export const useUpdateMyOrganization = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesOrganizationDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: TypesOrganizationDTO }, + TContext +> => { + const mutationOptions = getUpdateMyOrganizationMutationOptions(options); + + return useMutation(mutationOptions); +}; diff --git a/frontend/src/api/generated/services/preferences/index.ts b/frontend/src/api/generated/services/preferences/index.ts new file mode 100644 index 0000000000..8ecb3128bc --- /dev/null +++ b/frontend/src/api/generated/services/preferences/index.ts @@ -0,0 +1,599 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + GetOrgPreference200, + GetOrgPreferencePathParameters, + GetUserPreference200, + GetUserPreferencePathParameters, + ListOrgPreferences200, + ListUserPreferences200, + PreferencetypesUpdatablePreferenceDTO, + RenderErrorResponseDTO, + UpdateOrgPreferencePathParameters, + UpdateUserPreferencePathParameters, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoint lists all org preferences + * @summary List org preferences + */ +export const listOrgPreferences = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/org/preferences`, + method: 'GET', + signal, + }); + +export const getListOrgPreferencesQueryKey = () => + ['listOrgPreferences'] as const; + +export const getListOrgPreferencesQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getListOrgPreferencesQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => listOrgPreferences(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type ListOrgPreferencesQueryResult = NonNullable< + Awaited> +>; +export type ListOrgPreferencesQueryError = RenderErrorResponseDTO; + +/** + * @summary List org preferences + */ + +export function useListOrgPreferences< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getListOrgPreferencesQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary List org preferences + */ +export const invalidateListOrgPreferences = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getListOrgPreferencesQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint returns the org preference by name + * @summary Get org preference + */ +export const getOrgPreference = ( + { name }: GetOrgPreferencePathParameters, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/org/preferences/${name}`, + method: 'GET', + signal, + }); + +export const getGetOrgPreferenceQueryKey = ({ + name, +}: GetOrgPreferencePathParameters) => ['getOrgPreference'] as const; + +export const getGetOrgPreferenceQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { name }: GetOrgPreferencePathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? getGetOrgPreferenceQueryKey({ name }); + + const queryFn: QueryFunction>> = ({ + signal, + }) => getOrgPreference({ name }, signal); + + return { + queryKey, + queryFn, + enabled: !!name, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetOrgPreferenceQueryResult = NonNullable< + Awaited> +>; +export type GetOrgPreferenceQueryError = RenderErrorResponseDTO; + +/** + * @summary Get org preference + */ + +export function useGetOrgPreference< + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { name }: GetOrgPreferencePathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetOrgPreferenceQueryOptions({ name }, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get org preference + */ +export const invalidateGetOrgPreference = async ( + queryClient: QueryClient, + { name }: GetOrgPreferencePathParameters, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetOrgPreferenceQueryKey({ name }) }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint updates the org preference by name + * @summary Update org preference + */ +export const updateOrgPreference = ( + { name }: UpdateOrgPreferencePathParameters, + preferencetypesUpdatablePreferenceDTO: PreferencetypesUpdatablePreferenceDTO, +) => + GeneratedAPIInstance({ + url: `/api/v1/org/preferences/${name}`, + method: 'PUT', + headers: { 'Content-Type': 'application/json' }, + data: preferencetypesUpdatablePreferenceDTO, + }); + +export const getUpdateOrgPreferenceMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateOrgPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateOrgPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + }, + TContext +> => { + const mutationKey = ['updateOrgPreference']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: UpdateOrgPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updateOrgPreference(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateOrgPreferenceMutationResult = NonNullable< + Awaited> +>; +export type UpdateOrgPreferenceMutationBody = PreferencetypesUpdatablePreferenceDTO; +export type UpdateOrgPreferenceMutationError = RenderErrorResponseDTO; + +/** + * @summary Update org preference + */ +export const useUpdateOrgPreference = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateOrgPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: UpdateOrgPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + }, + TContext +> => { + const mutationOptions = getUpdateOrgPreferenceMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint lists all user preferences + * @summary List user preferences + */ +export const listUserPreferences = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/user/preferences`, + method: 'GET', + signal, + }); + +export const getListUserPreferencesQueryKey = () => + ['listUserPreferences'] as const; + +export const getListUserPreferencesQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getListUserPreferencesQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => listUserPreferences(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type ListUserPreferencesQueryResult = NonNullable< + Awaited> +>; +export type ListUserPreferencesQueryError = RenderErrorResponseDTO; + +/** + * @summary List user preferences + */ + +export function useListUserPreferences< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getListUserPreferencesQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary List user preferences + */ +export const invalidateListUserPreferences = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getListUserPreferencesQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint returns the user preference by name + * @summary Get user preference + */ +export const getUserPreference = ( + { name }: GetUserPreferencePathParameters, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/user/preferences/${name}`, + method: 'GET', + signal, + }); + +export const getGetUserPreferenceQueryKey = ({ + name, +}: GetUserPreferencePathParameters) => ['getUserPreference'] as const; + +export const getGetUserPreferenceQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { name }: GetUserPreferencePathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? getGetUserPreferenceQueryKey({ name }); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getUserPreference({ name }, signal); + + return { + queryKey, + queryFn, + enabled: !!name, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetUserPreferenceQueryResult = NonNullable< + Awaited> +>; +export type GetUserPreferenceQueryError = RenderErrorResponseDTO; + +/** + * @summary Get user preference + */ + +export function useGetUserPreference< + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { name }: GetUserPreferencePathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetUserPreferenceQueryOptions({ name }, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get user preference + */ +export const invalidateGetUserPreference = async ( + queryClient: QueryClient, + { name }: GetUserPreferencePathParameters, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetUserPreferenceQueryKey({ name }) }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint updates the user preference by name + * @summary Update user preference + */ +export const updateUserPreference = ( + { name }: UpdateUserPreferencePathParameters, + preferencetypesUpdatablePreferenceDTO: PreferencetypesUpdatablePreferenceDTO, +) => + GeneratedAPIInstance({ + url: `/api/v1/user/preferences/${name}`, + method: 'PUT', + headers: { 'Content-Type': 'application/json' }, + data: preferencetypesUpdatablePreferenceDTO, + }); + +export const getUpdateUserPreferenceMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateUserPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateUserPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + }, + TContext +> => { + const mutationKey = ['updateUserPreference']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: UpdateUserPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updateUserPreference(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateUserPreferenceMutationResult = NonNullable< + Awaited> +>; +export type UpdateUserPreferenceMutationBody = PreferencetypesUpdatablePreferenceDTO; +export type UpdateUserPreferenceMutationError = RenderErrorResponseDTO; + +/** + * @summary Update user preference + */ +export const useUpdateUserPreference = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: UpdateUserPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: UpdateUserPreferencePathParameters; + data: PreferencetypesUpdatablePreferenceDTO; + }, + TContext +> => { + const mutationOptions = getUpdateUserPreferenceMutationOptions(options); + + return useMutation(mutationOptions); +}; diff --git a/frontend/src/api/generated/services/sessions/index.ts b/frontend/src/api/generated/services/sessions/index.ts new file mode 100644 index 0000000000..ea29fc6151 --- /dev/null +++ b/frontend/src/api/generated/services/sessions/index.ts @@ -0,0 +1,738 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + AuthtypesDeprecatedPostableLoginDTO, + AuthtypesPostableEmailPasswordSessionDTO, + AuthtypesPostableRotateTokenDTO, + CreateSessionByEmailPassword200, + CreateSessionByGoogleCallback303, + CreateSessionByOIDCCallback303, + CreateSessionBySAMLCallback303, + CreateSessionBySAMLCallbackBody, + CreateSessionBySAMLCallbackParams, + DeprecatedCreateSessionByEmailPassword200, + GetSessionContext200, + RenderErrorResponseDTO, + RotateSession200, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoint creates a session for a user using google callback + * @summary Create session by google callback + */ +export const createSessionByGoogleCallback = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/complete/google`, + method: 'GET', + signal, + }); + +export const getCreateSessionByGoogleCallbackQueryKey = () => + ['createSessionByGoogleCallback'] as const; + +export const getCreateSessionByGoogleCallbackQueryOptions = < + TData = Awaited>, + TError = CreateSessionByGoogleCallback303 | RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? getCreateSessionByGoogleCallbackQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => createSessionByGoogleCallback(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type CreateSessionByGoogleCallbackQueryResult = NonNullable< + Awaited> +>; +export type CreateSessionByGoogleCallbackQueryError = + | CreateSessionByGoogleCallback303 + | RenderErrorResponseDTO; + +/** + * @summary Create session by google callback + */ + +export function useCreateSessionByGoogleCallback< + TData = Awaited>, + TError = CreateSessionByGoogleCallback303 | RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getCreateSessionByGoogleCallbackQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Create session by google callback + */ +export const invalidateCreateSessionByGoogleCallback = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getCreateSessionByGoogleCallbackQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint creates a session for a user using oidc callback + * @summary Create session by oidc callback + */ +export const createSessionByOIDCCallback = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/complete/oidc`, + method: 'GET', + signal, + }); + +export const getCreateSessionByOIDCCallbackQueryKey = () => + ['createSessionByOIDCCallback'] as const; + +export const getCreateSessionByOIDCCallbackQueryOptions = < + TData = Awaited>, + TError = CreateSessionByOIDCCallback303 | RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? getCreateSessionByOIDCCallbackQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => createSessionByOIDCCallback(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type CreateSessionByOIDCCallbackQueryResult = NonNullable< + Awaited> +>; +export type CreateSessionByOIDCCallbackQueryError = + | CreateSessionByOIDCCallback303 + | RenderErrorResponseDTO; + +/** + * @summary Create session by oidc callback + */ + +export function useCreateSessionByOIDCCallback< + TData = Awaited>, + TError = CreateSessionByOIDCCallback303 | RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getCreateSessionByOIDCCallbackQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Create session by oidc callback + */ +export const invalidateCreateSessionByOIDCCallback = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getCreateSessionByOIDCCallbackQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint creates a session for a user using saml callback + * @summary Create session by saml callback + */ +export const createSessionBySAMLCallback = ( + createSessionBySAMLCallbackBody: CreateSessionBySAMLCallbackBody, + params?: CreateSessionBySAMLCallbackParams, + signal?: AbortSignal, +) => { + const formUrlEncoded = new URLSearchParams(); + if (createSessionBySAMLCallbackBody.RelayState !== undefined) { + formUrlEncoded.append( + `RelayState`, + createSessionBySAMLCallbackBody.RelayState, + ); + } + if (createSessionBySAMLCallbackBody.SAMLResponse !== undefined) { + formUrlEncoded.append( + `SAMLResponse`, + createSessionBySAMLCallbackBody.SAMLResponse, + ); + } + + return GeneratedAPIInstance({ + url: `/api/v1/complete/saml`, + method: 'POST', + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, + data: formUrlEncoded, + params, + signal, + }); +}; + +export const getCreateSessionBySAMLCallbackMutationOptions = < + TError = CreateSessionBySAMLCallback303 | RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + data: CreateSessionBySAMLCallbackBody; + params?: CreateSessionBySAMLCallbackParams; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + data: CreateSessionBySAMLCallbackBody; + params?: CreateSessionBySAMLCallbackParams; + }, + TContext +> => { + const mutationKey = ['createSessionBySAMLCallback']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + data: CreateSessionBySAMLCallbackBody; + params?: CreateSessionBySAMLCallbackParams; + } + > = (props) => { + const { data, params } = props ?? {}; + + return createSessionBySAMLCallback(data, params); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreateSessionBySAMLCallbackMutationResult = NonNullable< + Awaited> +>; +export type CreateSessionBySAMLCallbackMutationBody = CreateSessionBySAMLCallbackBody; +export type CreateSessionBySAMLCallbackMutationError = + | CreateSessionBySAMLCallback303 + | RenderErrorResponseDTO; + +/** + * @summary Create session by saml callback + */ +export const useCreateSessionBySAMLCallback = < + TError = CreateSessionBySAMLCallback303 | RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + data: CreateSessionBySAMLCallbackBody; + params?: CreateSessionBySAMLCallbackParams; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + data: CreateSessionBySAMLCallbackBody; + params?: CreateSessionBySAMLCallbackParams; + }, + TContext +> => { + const mutationOptions = getCreateSessionBySAMLCallbackMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint is deprecated and will be removed in the future + * @deprecated + * @summary Deprecated create session by email password + */ +export const deprecatedCreateSessionByEmailPassword = ( + authtypesDeprecatedPostableLoginDTO: AuthtypesDeprecatedPostableLoginDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/login`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: authtypesDeprecatedPostableLoginDTO, + signal, + }); + +export const getDeprecatedCreateSessionByEmailPasswordMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesDeprecatedPostableLoginDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesDeprecatedPostableLoginDTO }, + TContext +> => { + const mutationKey = ['deprecatedCreateSessionByEmailPassword']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: AuthtypesDeprecatedPostableLoginDTO } + > = (props) => { + const { data } = props ?? {}; + + return deprecatedCreateSessionByEmailPassword(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type DeprecatedCreateSessionByEmailPasswordMutationResult = NonNullable< + Awaited> +>; +export type DeprecatedCreateSessionByEmailPasswordMutationBody = AuthtypesDeprecatedPostableLoginDTO; +export type DeprecatedCreateSessionByEmailPasswordMutationError = RenderErrorResponseDTO; + +/** + * @deprecated + * @summary Deprecated create session by email password + */ +export const useDeprecatedCreateSessionByEmailPassword = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesDeprecatedPostableLoginDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: AuthtypesDeprecatedPostableLoginDTO }, + TContext +> => { + const mutationOptions = getDeprecatedCreateSessionByEmailPasswordMutationOptions( + options, + ); + + return useMutation(mutationOptions); +}; +/** + * This endpoint deletes the session + * @summary Delete session + */ +export const deleteSession = () => + GeneratedAPIInstance({ + url: `/api/v2/sessions`, + method: 'DELETE', + }); + +export const getDeleteSessionMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + void, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + void, + TContext +> => { + const mutationKey = ['deleteSession']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + void + > = () => deleteSession(); + + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteSessionMutationResult = NonNullable< + Awaited> +>; + +export type DeleteSessionMutationError = RenderErrorResponseDTO; + +/** + * @summary Delete session + */ +export const useDeleteSession = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + void, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + void, + TContext +> => { + const mutationOptions = getDeleteSessionMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint returns the context for the session + * @summary Get session context + */ +export const getSessionContext = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v2/sessions/context`, + method: 'GET', + signal, + }); + +export const getGetSessionContextQueryKey = () => + ['getSessionContext'] as const; + +export const getGetSessionContextQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetSessionContextQueryKey(); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getSessionContext(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetSessionContextQueryResult = NonNullable< + Awaited> +>; +export type GetSessionContextQueryError = RenderErrorResponseDTO; + +/** + * @summary Get session context + */ + +export function useGetSessionContext< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetSessionContextQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get session context + */ +export const invalidateGetSessionContext = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetSessionContextQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint creates a session for a user using email and password. + * @summary Create session by email and password + */ +export const createSessionByEmailPassword = ( + authtypesPostableEmailPasswordSessionDTO: AuthtypesPostableEmailPasswordSessionDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v2/sessions/email_password`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: authtypesPostableEmailPasswordSessionDTO, + signal, + }); + +export const getCreateSessionByEmailPasswordMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableEmailPasswordSessionDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableEmailPasswordSessionDTO }, + TContext +> => { + const mutationKey = ['createSessionByEmailPassword']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: AuthtypesPostableEmailPasswordSessionDTO } + > = (props) => { + const { data } = props ?? {}; + + return createSessionByEmailPassword(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreateSessionByEmailPasswordMutationResult = NonNullable< + Awaited> +>; +export type CreateSessionByEmailPasswordMutationBody = AuthtypesPostableEmailPasswordSessionDTO; +export type CreateSessionByEmailPasswordMutationError = RenderErrorResponseDTO; + +/** + * @summary Create session by email and password + */ +export const useCreateSessionByEmailPassword = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableEmailPasswordSessionDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: AuthtypesPostableEmailPasswordSessionDTO }, + TContext +> => { + const mutationOptions = getCreateSessionByEmailPasswordMutationOptions( + options, + ); + + return useMutation(mutationOptions); +}; +/** + * This endpoint rotates the session + * @summary Rotate session + */ +export const rotateSession = ( + authtypesPostableRotateTokenDTO: AuthtypesPostableRotateTokenDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v2/sessions/rotate`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: authtypesPostableRotateTokenDTO, + signal, + }); + +export const getRotateSessionMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableRotateTokenDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableRotateTokenDTO }, + TContext +> => { + const mutationKey = ['rotateSession']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: AuthtypesPostableRotateTokenDTO } + > = (props) => { + const { data } = props ?? {}; + + return rotateSession(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type RotateSessionMutationResult = NonNullable< + Awaited> +>; +export type RotateSessionMutationBody = AuthtypesPostableRotateTokenDTO; +export type RotateSessionMutationError = RenderErrorResponseDTO; + +/** + * @summary Rotate session + */ +export const useRotateSession = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: AuthtypesPostableRotateTokenDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: AuthtypesPostableRotateTokenDTO }, + TContext +> => { + const mutationOptions = getRotateSessionMutationOptions(options); + + return useMutation(mutationOptions); +}; diff --git a/frontend/src/api/generated/services/sigNoz.schemas.ts b/frontend/src/api/generated/services/sigNoz.schemas.ts new file mode 100644 index 0000000000..213bc6f658 --- /dev/null +++ b/frontend/src/api/generated/services/sigNoz.schemas.ts @@ -0,0 +1,1931 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +export interface AuthtypesAttributeMappingDTO { + /** + * @type string + */ + email?: string; + /** + * @type string + */ + groups?: string; + /** + * @type string + */ + name?: string; + /** + * @type string + */ + role?: string; +} + +export interface AuthtypesAuthDomainConfigDTO { + googleAuthConfig?: AuthtypesGoogleConfigDTO; + oidcConfig?: AuthtypesOIDCConfigDTO; + roleMapping?: AuthtypesRoleMappingDTO; + samlConfig?: AuthtypesSamlConfigDTO; + /** + * @type boolean + */ + ssoEnabled?: boolean; + /** + * @type string + */ + ssoType?: string; +} + +export interface AuthtypesAuthNProviderInfoDTO { + /** + * @type string + * @nullable true + */ + relayStatePath?: string | null; +} + +export interface AuthtypesAuthNSupportDTO { + /** + * @type array + * @nullable true + */ + callback?: AuthtypesCallbackAuthNSupportDTO[] | null; + /** + * @type array + * @nullable true + */ + password?: AuthtypesPasswordAuthNSupportDTO[] | null; +} + +export interface AuthtypesCallbackAuthNSupportDTO { + /** + * @type string + */ + provider?: string; + /** + * @type string + */ + url?: string; +} + +export interface AuthtypesDeprecatedGettableLoginDTO { + /** + * @type string + */ + accessJwt?: string; + /** + * @type string + */ + userId?: string; +} + +export interface AuthtypesDeprecatedPostableLoginDTO { + /** + * @type string + */ + email?: string; + /** + * @type string + */ + password?: string; +} + +export interface AuthtypesGettableAuthDomainDTO { + authNProviderInfo?: AuthtypesAuthNProviderInfoDTO; + /** + * @type string + * @format date-time + */ + createdAt?: Date; + googleAuthConfig?: AuthtypesGoogleConfigDTO; + /** + * @type string + */ + id?: string; + /** + * @type string + */ + name?: string; + oidcConfig?: AuthtypesOIDCConfigDTO; + /** + * @type string + */ + orgId?: string; + roleMapping?: AuthtypesRoleMappingDTO; + samlConfig?: AuthtypesSamlConfigDTO; + /** + * @type boolean + */ + ssoEnabled?: boolean; + /** + * @type string + */ + ssoType?: string; + /** + * @type string + * @format date-time + */ + updatedAt?: Date; +} + +export interface AuthtypesGettableTokenDTO { + /** + * @type string + */ + accessToken?: string; + /** + * @type integer + */ + expiresIn?: number; + /** + * @type string + */ + refreshToken?: string; + /** + * @type string + */ + tokenType?: string; +} + +export type AuthtypesGoogleConfigDTODomainToAdminEmail = { + [key: string]: string; +}; + +export interface AuthtypesGoogleConfigDTO { + /** + * @type array + */ + allowedGroups?: string[]; + /** + * @type string + */ + clientId?: string; + /** + * @type string + */ + clientSecret?: string; + /** + * @type object + */ + domainToAdminEmail?: AuthtypesGoogleConfigDTODomainToAdminEmail; + /** + * @type boolean + */ + fetchGroups?: boolean; + /** + * @type boolean + */ + fetchTransitiveGroupMembership?: boolean; + /** + * @type boolean + */ + insecureSkipEmailVerified?: boolean; + /** + * @type string + */ + redirectURI?: string; + /** + * @type string + */ + serviceAccountJson?: string; +} + +export interface AuthtypesOIDCConfigDTO { + claimMapping?: AuthtypesAttributeMappingDTO; + /** + * @type string + */ + clientId?: string; + /** + * @type string + */ + clientSecret?: string; + /** + * @type boolean + */ + getUserInfo?: boolean; + /** + * @type boolean + */ + insecureSkipEmailVerified?: boolean; + /** + * @type string + */ + issuer?: string; + /** + * @type string + */ + issuerAlias?: string; +} + +export interface AuthtypesOrgSessionContextDTO { + authNSupport?: AuthtypesAuthNSupportDTO; + /** + * @type string + */ + id?: string; + /** + * @type string + */ + name?: string; + warning?: ErrorsJSONDTO; +} + +export interface AuthtypesPasswordAuthNSupportDTO { + /** + * @type string + */ + provider?: string; +} + +export interface AuthtypesPostableAuthDomainDTO { + config?: AuthtypesAuthDomainConfigDTO; + /** + * @type string + */ + name?: string; +} + +export interface AuthtypesPostableEmailPasswordSessionDTO { + /** + * @type string + */ + email?: string; + /** + * @type string + */ + orgId?: string; + /** + * @type string + */ + password?: string; +} + +export interface AuthtypesPostableRotateTokenDTO { + /** + * @type string + */ + refreshToken?: string; +} + +/** + * @nullable + */ +export type AuthtypesRoleMappingDTOGroupMappings = { + [key: string]: string; +} | null; + +export interface AuthtypesRoleMappingDTO { + /** + * @type string + */ + defaultRole?: string; + /** + * @type object + * @nullable true + */ + groupMappings?: AuthtypesRoleMappingDTOGroupMappings; + /** + * @type boolean + */ + useRoleAttribute?: boolean; +} + +export interface AuthtypesSamlConfigDTO { + attributeMapping?: AuthtypesAttributeMappingDTO; + /** + * @type boolean + */ + insecureSkipAuthNRequestsSigned?: boolean; + /** + * @type string + */ + samlCert?: string; + /** + * @type string + */ + samlEntity?: string; + /** + * @type string + */ + samlIdp?: string; +} + +export interface AuthtypesSessionContextDTO { + /** + * @type boolean + */ + exists?: boolean; + /** + * @type array + * @nullable true + */ + orgs?: AuthtypesOrgSessionContextDTO[] | null; +} + +export interface AuthtypesUpdateableAuthDomainDTO { + config?: AuthtypesAuthDomainConfigDTO; +} + +export interface DashboardtypesDashboardDTO { + /** + * @type string + * @format date-time + */ + createdAt?: Date; + /** + * @type string + */ + createdBy?: string; + data?: DashboardtypesStorableDashboardDataDTO; + /** + * @type string + */ + id?: string; + /** + * @type boolean + */ + locked?: boolean; + /** + * @type string + */ + org_id?: string; + /** + * @type string + * @format date-time + */ + updatedAt?: Date; + /** + * @type string + */ + updatedBy?: string; +} + +export interface DashboardtypesGettablePublicDasbhboardDTO { + /** + * @type string + */ + defaultTimeRange?: string; + /** + * @type string + */ + publicPath?: string; + /** + * @type boolean + */ + timeRangeEnabled?: boolean; +} + +export interface DashboardtypesGettablePublicDashboardDataDTO { + dashboard?: DashboardtypesDashboardDTO; + publicDashboard?: DashboardtypesGettablePublicDasbhboardDTO; +} + +export interface DashboardtypesPostablePublicDashboardDTO { + /** + * @type string + */ + defaultTimeRange?: string; + /** + * @type boolean + */ + timeRangeEnabled?: boolean; +} + +export interface DashboardtypesStorableDashboardDataDTO { + [key: string]: unknown; +} + +export interface DashboardtypesUpdatablePublicDashboardDTO { + /** + * @type string + */ + defaultTimeRange?: string; + /** + * @type boolean + */ + timeRangeEnabled?: boolean; +} + +export interface ErrorsJSONDTO { + /** + * @type string + */ + code?: string; + /** + * @type array + */ + errors?: ErrorsResponseerroradditionalDTO[]; + /** + * @type string + */ + message?: string; + /** + * @type string + */ + url?: string; +} + +export interface ErrorsResponseerroradditionalDTO { + /** + * @type string + */ + message?: string; +} + +/** + * @nullable + */ +export type FeaturetypesGettableFeatureDTOVariants = { + [key: string]: unknown; +} | null; + +export interface FeaturetypesGettableFeatureDTO { + /** + * @type string + */ + defaultVariant?: string; + /** + * @type string + */ + description?: string; + /** + * @type string + */ + kind?: string; + /** + * @type string + */ + name?: string; + resolvedValue?: unknown; + /** + * @type string + */ + stage?: string; + /** + * @type object + * @nullable true + */ + variants?: FeaturetypesGettableFeatureDTOVariants; +} + +export interface GatewaytypesGettableCreatedIngestionKeyDTO { + /** + * @type string + */ + id?: string; + /** + * @type string + */ + value?: string; +} + +export interface GatewaytypesGettableCreatedIngestionKeyLimitDTO { + /** + * @type string + */ + id?: string; +} + +export interface GatewaytypesGettableIngestionKeysDTO { + _pagination?: GatewaytypesPaginationDTO; + /** + * @type array + * @nullable true + */ + keys?: GatewaytypesIngestionKeyDTO[] | null; +} + +export interface GatewaytypesIngestionKeyDTO { + /** + * @type string + * @format date-time + */ + created_at?: Date; + /** + * @type string + * @format date-time + */ + expires_at?: Date; + /** + * @type string + */ + id?: string; + /** + * @type array + * @nullable true + */ + limits?: GatewaytypesLimitDTO[] | null; + /** + * @type string + */ + name?: string; + /** + * @type array + * @nullable true + */ + tags?: string[] | null; + /** + * @type string + * @format date-time + */ + updated_at?: Date; + /** + * @type string + */ + value?: string; + /** + * @type string + */ + workspace_id?: string; +} + +export interface GatewaytypesLimitDTO { + config?: GatewaytypesLimitConfigDTO; + /** + * @type string + * @format date-time + */ + created_at?: Date; + /** + * @type string + */ + id?: string; + /** + * @type string + */ + key_id?: string; + metric?: GatewaytypesLimitMetricDTO; + /** + * @type string + */ + signal?: string; + /** + * @type array + * @nullable true + */ + tags?: string[] | null; + /** + * @type string + * @format date-time + */ + updated_at?: Date; +} + +export interface GatewaytypesLimitConfigDTO { + day?: GatewaytypesLimitValueDTO; + second?: GatewaytypesLimitValueDTO; +} + +export interface GatewaytypesLimitMetricDTO { + day?: GatewaytypesLimitMetricValueDTO; + second?: GatewaytypesLimitMetricValueDTO; +} + +export interface GatewaytypesLimitMetricValueDTO { + /** + * @type integer + * @format int64 + */ + count?: number; + /** + * @type integer + * @format int64 + */ + size?: number; +} + +export interface GatewaytypesLimitValueDTO { + /** + * @type integer + * @format int64 + */ + count?: number; + /** + * @type integer + * @format int64 + */ + size?: number; +} + +export interface GatewaytypesPaginationDTO { + /** + * @type integer + */ + page?: number; + /** + * @type integer + */ + pages?: number; + /** + * @type integer + */ + per_page?: number; + /** + * @type integer + */ + total?: number; +} + +export interface GatewaytypesPostableIngestionKeyDTO { + /** + * @type string + * @format date-time + */ + expires_at?: Date; + /** + * @type string + */ + name?: string; + /** + * @type array + * @nullable true + */ + tags?: string[] | null; +} + +export interface GatewaytypesPostableIngestionKeyLimitDTO { + config?: GatewaytypesLimitConfigDTO; + /** + * @type string + */ + signal?: string; + /** + * @type array + * @nullable true + */ + tags?: string[] | null; +} + +export interface GatewaytypesUpdatableIngestionKeyLimitDTO { + config?: GatewaytypesLimitConfigDTO; + /** + * @type array + * @nullable true + */ + tags?: string[] | null; +} + +export interface MetricsexplorertypesMetricAlertDTO { + /** + * @type string + */ + alertId?: string; + /** + * @type string + */ + alertName?: string; +} + +export interface MetricsexplorertypesMetricAlertsResponseDTO { + /** + * @type array + * @nullable true + */ + alerts?: MetricsexplorertypesMetricAlertDTO[] | null; +} + +export interface MetricsexplorertypesMetricAttributeDTO { + /** + * @type string + */ + key?: string; + /** + * @type integer + * @minimum 0 + */ + valueCount?: number; + /** + * @type array + * @nullable true + */ + values?: string[] | null; +} + +export interface MetricsexplorertypesMetricAttributesRequestDTO { + /** + * @type integer + * @nullable true + */ + end?: number | null; + /** + * @type string + */ + metricName?: string; + /** + * @type integer + * @nullable true + */ + start?: number | null; +} + +export interface MetricsexplorertypesMetricAttributesResponseDTO { + /** + * @type array + * @nullable true + */ + attributes?: MetricsexplorertypesMetricAttributeDTO[] | null; + /** + * @type integer + * @format int64 + */ + totalKeys?: number; +} + +export interface MetricsexplorertypesMetricDashboardDTO { + /** + * @type string + */ + dashboardId?: string; + /** + * @type string + */ + dashboardName?: string; + /** + * @type string + */ + widgetId?: string; + /** + * @type string + */ + widgetName?: string; +} + +export interface MetricsexplorertypesMetricDashboardsResponseDTO { + /** + * @type array + * @nullable true + */ + dashboards?: MetricsexplorertypesMetricDashboardDTO[] | null; +} + +export interface MetricsexplorertypesMetricHighlightsResponseDTO { + /** + * @type integer + * @minimum 0 + */ + activeTimeSeries?: number; + /** + * @type integer + * @minimum 0 + */ + dataPoints?: number; + /** + * @type integer + * @minimum 0 + */ + lastReceived?: number; + /** + * @type integer + * @minimum 0 + */ + totalTimeSeries?: number; +} + +export interface MetricsexplorertypesMetricMetadataDTO { + /** + * @type string + */ + description?: string; + /** + * @type boolean + */ + isMonotonic?: boolean; + /** + * @type string + */ + temporality?: string; + /** + * @type string + */ + type?: string; + /** + * @type string + */ + unit?: string; +} + +export interface MetricsexplorertypesStatDTO { + /** + * @type string + */ + description?: string; + /** + * @type string + */ + metricName?: string; + /** + * @type integer + * @minimum 0 + */ + samples?: number; + /** + * @type integer + * @minimum 0 + */ + timeseries?: number; + /** + * @type string + */ + type?: string; + /** + * @type string + */ + unit?: string; +} + +export interface MetricsexplorertypesStatsRequestDTO { + /** + * @type integer + * @format int64 + */ + end?: number; + filter?: Querybuildertypesv5FilterDTO; + /** + * @type integer + */ + limit?: number; + /** + * @type integer + */ + offset?: number; + orderBy?: Querybuildertypesv5OrderByDTO; + /** + * @type integer + * @format int64 + */ + start?: number; +} + +export interface MetricsexplorertypesStatsResponseDTO { + /** + * @type array + * @nullable true + */ + metrics?: MetricsexplorertypesStatDTO[] | null; + /** + * @type integer + * @minimum 0 + */ + total?: number; +} + +export interface MetricsexplorertypesTreemapEntryDTO { + /** + * @type string + */ + metricName?: string; + /** + * @type number + * @format double + */ + percentage?: number; + /** + * @type integer + * @minimum 0 + */ + totalValue?: number; +} + +export interface MetricsexplorertypesTreemapRequestDTO { + /** + * @type integer + * @format int64 + */ + end?: number; + filter?: Querybuildertypesv5FilterDTO; + /** + * @type integer + */ + limit?: number; + /** + * @type string + */ + mode?: string; + /** + * @type integer + * @format int64 + */ + start?: number; +} + +export interface MetricsexplorertypesTreemapResponseDTO { + /** + * @type array + * @nullable true + */ + samples?: MetricsexplorertypesTreemapEntryDTO[] | null; + /** + * @type array + * @nullable true + */ + timeseries?: MetricsexplorertypesTreemapEntryDTO[] | null; +} + +export interface MetricsexplorertypesUpdateMetricMetadataRequestDTO { + /** + * @type string + */ + description?: string; + /** + * @type boolean + */ + isMonotonic?: boolean; + /** + * @type string + */ + metricName?: string; + /** + * @type string + */ + temporality?: string; + /** + * @type string + */ + type?: string; + /** + * @type string + */ + unit?: string; +} + +export interface PreferencetypesPreferenceDTO { + /** + * @type array + * @nullable true + */ + allowedScopes?: string[] | null; + /** + * @type array + * @nullable true + */ + allowedValues?: string[] | null; + defaultValue?: PreferencetypesValueDTO; + /** + * @type string + */ + description?: string; + /** + * @type string + */ + name?: string; + value?: PreferencetypesValueDTO; + /** + * @type string + */ + valueType?: string; +} + +export interface PreferencetypesUpdatablePreferenceDTO { + value?: unknown; +} + +export interface PreferencetypesValueDTO { + [key: string]: unknown; +} + +export interface PromotetypesPromotePathDTO { + /** + * @type array + */ + indexes?: PromotetypesWrappedIndexDTO[]; + /** + * @type string + */ + path?: string; + /** + * @type boolean + */ + promote?: boolean; +} + +export interface PromotetypesWrappedIndexDTO { + /** + * @type string + */ + column_type?: string; + /** + * @type integer + */ + granularity?: number; + /** + * @type string + */ + type?: string; +} + +export type Querybuildertypesv5ExecStatsDTOStepIntervals = { + [key: string]: number; +}; + +export interface Querybuildertypesv5ExecStatsDTO { + /** + * @type integer + * @minimum 0 + */ + bytesScanned?: number; + /** + * @type integer + * @minimum 0 + */ + durationMs?: number; + /** + * @type integer + * @minimum 0 + */ + rowsScanned?: number; + /** + * @type object + */ + stepIntervals?: Querybuildertypesv5ExecStatsDTOStepIntervals; +} + +export interface Querybuildertypesv5FilterDTO { + /** + * @type string + */ + expression?: string; +} + +export interface Querybuildertypesv5OrderByDTO { + /** + * @type string + */ + direction?: string; + key?: Querybuildertypesv5OrderByKeyDTO; +} + +export interface Querybuildertypesv5OrderByKeyDTO { + /** + * @type string + */ + description?: string; + /** + * @type string + */ + fieldContext?: string; + /** + * @type string + */ + fieldDataType?: string; + /** + * @type string + */ + name?: string; + /** + * @type string + */ + signal?: string; + /** + * @type string + */ + unit?: string; +} + +export interface Querybuildertypesv5QueryDataDTO { + /** + * @type array + * @nullable true + */ + results?: unknown[] | null; +} + +export interface Querybuildertypesv5QueryRangeResponseDTO { + data?: Querybuildertypesv5QueryDataDTO; + meta?: Querybuildertypesv5ExecStatsDTO; + /** + * @type string + */ + type?: string; + warning?: Querybuildertypesv5QueryWarnDataDTO; +} + +export interface Querybuildertypesv5QueryWarnDataDTO { + /** + * @type string + */ + message?: string; + /** + * @type string + */ + url?: string; + /** + * @type array + */ + warnings?: Querybuildertypesv5QueryWarnDataAdditionalDTO[]; +} + +export interface Querybuildertypesv5QueryWarnDataAdditionalDTO { + /** + * @type string + */ + message?: string; +} + +export interface RenderErrorResponseDTO { + error?: ErrorsJSONDTO; + /** + * @type string + */ + status?: string; +} + +export interface TypesChangePasswordRequestDTO { + /** + * @type string + */ + newPassword?: string; + /** + * @type string + */ + oldPassword?: string; + /** + * @type string + */ + userId?: string; +} + +export interface TypesGettableAPIKeyDTO { + /** + * @type string + * @format date-time + */ + createdAt?: Date; + /** + * @type string + */ + createdBy?: string; + createdByUser?: TypesUserDTO; + /** + * @type integer + * @format int64 + */ + expiresAt?: number; + /** + * @type string + */ + id?: string; + /** + * @type integer + * @format int64 + */ + lastUsed?: number; + /** + * @type string + */ + name?: string; + /** + * @type boolean + */ + revoked?: boolean; + /** + * @type string + */ + role?: string; + /** + * @type string + */ + token?: string; + /** + * @type string + * @format date-time + */ + updatedAt?: Date; + /** + * @type string + */ + updatedBy?: string; + updatedByUser?: TypesUserDTO; + /** + * @type string + */ + userId?: string; +} + +export interface TypesGettableGlobalConfigDTO { + /** + * @type string + */ + external_url?: string; + /** + * @type string + */ + ingestion_url?: string; +} + +export interface TypesIdentifiableDTO { + /** + * @type string + */ + id?: string; +} + +export interface TypesInviteDTO { + /** + * @type string + * @format date-time + */ + createdAt?: Date; + /** + * @type string + */ + email?: string; + /** + * @type string + */ + id?: string; + /** + * @type string + */ + inviteLink?: string; + /** + * @type string + */ + name?: string; + /** + * @type string + */ + orgId?: string; + /** + * @type string + */ + role?: string; + /** + * @type string + */ + token?: string; + /** + * @type string + * @format date-time + */ + updatedAt?: Date; +} + +export interface TypesOrganizationDTO { + /** + * @type string + */ + alias?: string; + /** + * @type string + * @format date-time + */ + createdAt?: Date; + /** + * @type string + */ + displayName?: string; + /** + * @type string + */ + id?: string; + /** + * @type integer + * @minimum 0 + */ + key?: number; + /** + * @type string + */ + name?: string; + /** + * @type string + * @format date-time + */ + updatedAt?: Date; +} + +export interface TypesPostableAPIKeyDTO { + /** + * @type integer + * @format int64 + */ + expiresInDays?: number; + /** + * @type string + */ + name?: string; + /** + * @type string + */ + role?: string; +} + +export interface TypesPostableAcceptInviteDTO { + /** + * @type string + */ + displayName?: string; + /** + * @type string + */ + password?: string; + /** + * @type string + */ + sourceUrl?: string; + /** + * @type string + */ + token?: string; +} + +export interface TypesPostableInviteDTO { + /** + * @type string + */ + email?: string; + /** + * @type string + */ + frontendBaseUrl?: string; + /** + * @type string + */ + name?: string; + /** + * @type string + */ + role?: string; +} + +export interface TypesPostableResetPasswordDTO { + /** + * @type string + */ + password?: string; + /** + * @type string + */ + token?: string; +} + +export interface TypesResetPasswordTokenDTO { + /** + * @type string + */ + id?: string; + /** + * @type string + */ + passwordId?: string; + /** + * @type string + */ + token?: string; +} + +export interface TypesStorableAPIKeyDTO { + /** + * @type string + * @format date-time + */ + createdAt?: Date; + /** + * @type string + */ + createdBy?: string; + /** + * @type string + */ + id?: string; + /** + * @type string + */ + name?: string; + /** + * @type boolean + */ + revoked?: boolean; + /** + * @type string + */ + role?: string; + /** + * @type string + */ + token?: string; + /** + * @type string + * @format date-time + */ + updatedAt?: Date; + /** + * @type string + */ + updatedBy?: string; + /** + * @type string + */ + userId?: string; +} + +export interface TypesUserDTO { + /** + * @type string + * @format date-time + */ + createdAt?: Date; + /** + * @type string + */ + displayName?: string; + /** + * @type string + */ + email?: string; + /** + * @type string + */ + id?: string; + /** + * @type string + */ + orgId?: string; + /** + * @type string + */ + role?: string; + /** + * @type string + * @format date-time + */ + updatedAt?: Date; +} + +export type ChangePasswordPathParameters = { + id: string; +}; +export type CreateSessionByGoogleCallback303 = { + data?: AuthtypesGettableTokenDTO; + /** + * @type string + */ + status?: string; +}; + +export type CreateSessionByOIDCCallback303 = { + data?: AuthtypesGettableTokenDTO; + /** + * @type string + */ + status?: string; +}; + +export type CreateSessionBySAMLCallbackParams = { + /** + * @type string + * @description undefined + */ + RelayState?: string; + /** + * @type string + * @description undefined + */ + SAMLResponse?: string; +}; + +export type CreateSessionBySAMLCallbackBody = { + /** + * @type string + */ + RelayState?: string; + /** + * @type string + */ + SAMLResponse?: string; +}; + +export type CreateSessionBySAMLCallback303 = { + data?: AuthtypesGettableTokenDTO; + /** + * @type string + */ + status?: string; +}; + +export type DeletePublicDashboardPathParameters = { + id: string; +}; +export type GetPublicDashboardPathParameters = { + id: string; +}; +export type GetPublicDashboard200 = { + data?: DashboardtypesGettablePublicDasbhboardDTO; + /** + * @type string + */ + status?: string; +}; + +export type CreatePublicDashboardPathParameters = { + id: string; +}; +export type CreatePublicDashboard201 = { + data?: TypesIdentifiableDTO; + /** + * @type string + */ + status?: string; +}; + +export type UpdatePublicDashboardPathParameters = { + id: string; +}; +export type ListAuthDomains200 = { + /** + * @type array + */ + data?: AuthtypesGettableAuthDomainDTO[]; + /** + * @type string + */ + status?: string; +}; + +export type CreateAuthDomain200 = { + data?: AuthtypesGettableAuthDomainDTO; + /** + * @type string + */ + status?: string; +}; + +export type DeleteAuthDomainPathParameters = { + id: string; +}; +export type UpdateAuthDomainPathParameters = { + id: string; +}; +export type GetResetPasswordTokenPathParameters = { + id: string; +}; +export type GetResetPasswordToken200 = { + data?: TypesResetPasswordTokenDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetGlobalConfig200 = { + data?: TypesGettableGlobalConfigDTO; + /** + * @type string + */ + status?: string; +}; + +export type ListInvite200 = { + /** + * @type array + */ + data?: TypesInviteDTO[]; + /** + * @type string + */ + status?: string; +}; + +export type CreateInvite201 = { + data?: TypesInviteDTO; + /** + * @type string + */ + status?: string; +}; + +export type DeleteInvitePathParameters = { + id: string; +}; +export type GetInvitePathParameters = { + token: string; +}; +export type GetInvite200 = { + data?: TypesInviteDTO; + /** + * @type string + */ + status?: string; +}; + +export type AcceptInvite201 = { + data?: TypesUserDTO; + /** + * @type string + */ + status?: string; +}; + +export type DeprecatedCreateSessionByEmailPassword200 = { + data?: AuthtypesDeprecatedGettableLoginDTO; + /** + * @type string + */ + status?: string; +}; + +export type ListPromotedAndIndexedPaths200 = { + /** + * @type array + * @nullable true + */ + data?: PromotetypesPromotePathDTO[] | null; + /** + * @type string + */ + status?: string; +}; + +export type ListOrgPreferences200 = { + /** + * @type array + */ + data?: PreferencetypesPreferenceDTO[]; + /** + * @type string + */ + status?: string; +}; + +export type GetOrgPreferencePathParameters = { + name: string; +}; +export type GetOrgPreference200 = { + data?: PreferencetypesPreferenceDTO; + /** + * @type string + */ + status?: string; +}; + +export type UpdateOrgPreferencePathParameters = { + name: string; +}; +export type ListAPIKeys200 = { + /** + * @type array + */ + data?: TypesGettableAPIKeyDTO[]; + /** + * @type string + */ + status?: string; +}; + +export type CreateAPIKey201 = { + data?: TypesGettableAPIKeyDTO; + /** + * @type string + */ + status?: string; +}; + +export type RevokeAPIKeyPathParameters = { + id: string; +}; +export type UpdateAPIKeyPathParameters = { + id: string; +}; +export type GetPublicDashboardDataPathParameters = { + id: string; +}; +export type GetPublicDashboardData200 = { + data?: DashboardtypesGettablePublicDashboardDataDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetPublicDashboardWidgetQueryRangePathParameters = { + id: string; + idx: string; +}; +export type GetPublicDashboardWidgetQueryRange200 = { + data?: Querybuildertypesv5QueryRangeResponseDTO; + /** + * @type string + */ + status?: string; +}; + +export type ListUsers200 = { + /** + * @type array + */ + data?: TypesUserDTO[]; + /** + * @type string + */ + status?: string; +}; + +export type DeleteUserPathParameters = { + id: string; +}; +export type GetUserPathParameters = { + id: string; +}; +export type GetUser200 = { + data?: TypesUserDTO; + /** + * @type string + */ + status?: string; +}; + +export type UpdateUserPathParameters = { + id: string; +}; +export type UpdateUser200 = { + data?: TypesUserDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetMyUser200 = { + data?: TypesUserDTO; + /** + * @type string + */ + status?: string; +}; + +export type ListUserPreferences200 = { + /** + * @type array + */ + data?: PreferencetypesPreferenceDTO[]; + /** + * @type string + */ + status?: string; +}; + +export type GetUserPreferencePathParameters = { + name: string; +}; +export type GetUserPreference200 = { + data?: PreferencetypesPreferenceDTO; + /** + * @type string + */ + status?: string; +}; + +export type UpdateUserPreferencePathParameters = { + name: string; +}; +export type GetFeatures200 = { + /** + * @type array + */ + data?: FeaturetypesGettableFeatureDTO[]; + /** + * @type string + */ + status?: string; +}; + +export type GetIngestionKeys200 = { + data?: GatewaytypesGettableIngestionKeysDTO; + /** + * @type string + */ + status?: string; +}; + +export type CreateIngestionKey200 = { + data?: GatewaytypesGettableCreatedIngestionKeyDTO; + /** + * @type string + */ + status?: string; +}; + +export type DeleteIngestionKeyPathParameters = { + keyId: string; +}; +export type UpdateIngestionKeyPathParameters = { + keyId: string; +}; +export type CreateIngestionKeyLimitPathParameters = { + keyId: string; +}; +export type CreateIngestionKeyLimit201 = { + data?: GatewaytypesGettableCreatedIngestionKeyLimitDTO; + /** + * @type string + */ + status?: string; +}; + +export type DeleteIngestionKeyLimitPathParameters = { + limitId: string; +}; +export type UpdateIngestionKeyLimitPathParameters = { + limitId: string; +}; +export type SearchIngestionKeys200 = { + data?: GatewaytypesGettableIngestionKeysDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetMetricAlerts200 = { + data?: MetricsexplorertypesMetricAlertsResponseDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetMetricDashboards200 = { + data?: MetricsexplorertypesMetricDashboardsResponseDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetMetricHighlights200 = { + data?: MetricsexplorertypesMetricHighlightsResponseDTO; + /** + * @type string + */ + status?: string; +}; + +export type UpdateMetricMetadataPathParameters = { + metricName: string; +}; +export type GetMetricAttributes200 = { + data?: MetricsexplorertypesMetricAttributesResponseDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetMetricMetadata200 = { + data?: MetricsexplorertypesMetricMetadataDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetMetricsStats200 = { + data?: MetricsexplorertypesStatsResponseDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetMetricsTreemap200 = { + data?: MetricsexplorertypesTreemapResponseDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetMyOrganization200 = { + data?: TypesOrganizationDTO; + /** + * @type string + */ + status?: string; +}; + +export type GetSessionContext200 = { + data?: AuthtypesSessionContextDTO; + /** + * @type string + */ + status?: string; +}; + +export type CreateSessionByEmailPassword200 = { + data?: AuthtypesGettableTokenDTO; + /** + * @type string + */ + status?: string; +}; + +export type RotateSession200 = { + data?: AuthtypesGettableTokenDTO; + /** + * @type string + */ + status?: string; +}; diff --git a/frontend/src/api/generated/services/users/index.ts b/frontend/src/api/generated/services/users/index.ts new file mode 100644 index 0000000000..3a94201c81 --- /dev/null +++ b/frontend/src/api/generated/services/users/index.ts @@ -0,0 +1,1536 @@ +/** + * ! Do not edit manually + * * The file has been auto-generated using Orval for SigNoz + * * regenerate with 'yarn generate:api' + * SigNoz + */ +import type { + InvalidateOptions, + MutationFunction, + QueryClient, + QueryFunction, + QueryKey, + UseMutationOptions, + UseMutationResult, + UseQueryOptions, + UseQueryResult, +} from 'react-query'; +import { useMutation, useQuery } from 'react-query'; + +import { GeneratedAPIInstance } from '../../../index'; +import type { + AcceptInvite201, + ChangePasswordPathParameters, + CreateAPIKey201, + CreateInvite201, + DeleteInvitePathParameters, + DeleteUserPathParameters, + GetInvite200, + GetInvitePathParameters, + GetMyUser200, + GetResetPasswordToken200, + GetResetPasswordTokenPathParameters, + GetUser200, + GetUserPathParameters, + ListAPIKeys200, + ListInvite200, + ListUsers200, + RenderErrorResponseDTO, + RevokeAPIKeyPathParameters, + TypesChangePasswordRequestDTO, + TypesPostableAcceptInviteDTO, + TypesPostableAPIKeyDTO, + TypesPostableInviteDTO, + TypesPostableResetPasswordDTO, + TypesStorableAPIKeyDTO, + TypesUserDTO, + UpdateAPIKeyPathParameters, + UpdateUser200, + UpdateUserPathParameters, +} from '../sigNoz.schemas'; + +type AwaitedInput = PromiseLike | T; + +type Awaited = O extends AwaitedInput ? T : never; + +/** + * This endpoint changes the password by id + * @summary Change password + */ +export const changePassword = ( + { id }: ChangePasswordPathParameters, + typesChangePasswordRequestDTO: TypesChangePasswordRequestDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/changePassword/${id}`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: typesChangePasswordRequestDTO, + signal, + }); + +export const getChangePasswordMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: ChangePasswordPathParameters; + data: TypesChangePasswordRequestDTO; + }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { + pathParams: ChangePasswordPathParameters; + data: TypesChangePasswordRequestDTO; + }, + TContext +> => { + const mutationKey = ['changePassword']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { + pathParams: ChangePasswordPathParameters; + data: TypesChangePasswordRequestDTO; + } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return changePassword(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type ChangePasswordMutationResult = NonNullable< + Awaited> +>; +export type ChangePasswordMutationBody = TypesChangePasswordRequestDTO; +export type ChangePasswordMutationError = RenderErrorResponseDTO; + +/** + * @summary Change password + */ +export const useChangePassword = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { + pathParams: ChangePasswordPathParameters; + data: TypesChangePasswordRequestDTO; + }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { + pathParams: ChangePasswordPathParameters; + data: TypesChangePasswordRequestDTO; + }, + TContext +> => { + const mutationOptions = getChangePasswordMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint returns the reset password token by id + * @summary Get reset password token + */ +export const getResetPasswordToken = ( + { id }: GetResetPasswordTokenPathParameters, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/getResetPasswordToken/${id}`, + method: 'GET', + signal, + }); + +export const getGetResetPasswordTokenQueryKey = ({ + id, +}: GetResetPasswordTokenPathParameters) => ['getResetPasswordToken'] as const; + +export const getGetResetPasswordTokenQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id }: GetResetPasswordTokenPathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = + queryOptions?.queryKey ?? getGetResetPasswordTokenQueryKey({ id }); + + const queryFn: QueryFunction< + Awaited> + > = ({ signal }) => getResetPasswordToken({ id }, signal); + + return { + queryKey, + queryFn, + enabled: !!id, + ...queryOptions, + } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetResetPasswordTokenQueryResult = NonNullable< + Awaited> +>; +export type GetResetPasswordTokenQueryError = RenderErrorResponseDTO; + +/** + * @summary Get reset password token + */ + +export function useGetResetPasswordToken< + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id }: GetResetPasswordTokenPathParameters, + options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; + }, +): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetResetPasswordTokenQueryOptions({ id }, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get reset password token + */ +export const invalidateGetResetPasswordToken = async ( + queryClient: QueryClient, + { id }: GetResetPasswordTokenPathParameters, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetResetPasswordTokenQueryKey({ id }) }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint lists all invites + * @summary List invites + */ +export const listInvite = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/invite`, + method: 'GET', + signal, + }); + +export const getListInviteQueryKey = () => ['listInvite'] as const; + +export const getListInviteQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions>, TError, TData>; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getListInviteQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => listInvite(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type ListInviteQueryResult = NonNullable< + Awaited> +>; +export type ListInviteQueryError = RenderErrorResponseDTO; + +/** + * @summary List invites + */ + +export function useListInvite< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions>, TError, TData>; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getListInviteQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary List invites + */ +export const invalidateListInvite = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getListInviteQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint creates an invite for a user + * @summary Create invite + */ +export const createInvite = ( + typesPostableInviteDTO: TypesPostableInviteDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/invite`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: typesPostableInviteDTO, + signal, + }); + +export const getCreateInviteMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableInviteDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableInviteDTO }, + TContext +> => { + const mutationKey = ['createInvite']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: TypesPostableInviteDTO } + > = (props) => { + const { data } = props ?? {}; + + return createInvite(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreateInviteMutationResult = NonNullable< + Awaited> +>; +export type CreateInviteMutationBody = TypesPostableInviteDTO; +export type CreateInviteMutationError = RenderErrorResponseDTO; + +/** + * @summary Create invite + */ +export const useCreateInvite = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableInviteDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: TypesPostableInviteDTO }, + TContext +> => { + const mutationOptions = getCreateInviteMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint deletes an invite by id + * @summary Delete invite + */ +export const deleteInvite = ({ id }: DeleteInvitePathParameters) => + GeneratedAPIInstance({ + url: `/api/v1/invite/${id}`, + method: 'DELETE', + }); + +export const getDeleteInviteMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteInvitePathParameters }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteInvitePathParameters }, + TContext +> => { + const mutationKey = ['deleteInvite']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: DeleteInvitePathParameters } + > = (props) => { + const { pathParams } = props ?? {}; + + return deleteInvite(pathParams); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteInviteMutationResult = NonNullable< + Awaited> +>; + +export type DeleteInviteMutationError = RenderErrorResponseDTO; + +/** + * @summary Delete invite + */ +export const useDeleteInvite = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteInvitePathParameters }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: DeleteInvitePathParameters }, + TContext +> => { + const mutationOptions = getDeleteInviteMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint gets an invite by token + * @summary Get invite + */ +export const getInvite = ( + { token }: GetInvitePathParameters, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/invite/${token}`, + method: 'GET', + signal, + }); + +export const getGetInviteQueryKey = ({ token }: GetInvitePathParameters) => + ['getInvite'] as const; + +export const getGetInviteQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { token }: GetInvitePathParameters, + options?: { + query?: UseQueryOptions>, TError, TData>; + }, +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetInviteQueryKey({ token }); + + const queryFn: QueryFunction>> = ({ + signal, + }) => getInvite({ token }, signal); + + return { + queryKey, + queryFn, + enabled: !!token, + ...queryOptions, + } as UseQueryOptions>, TError, TData> & { + queryKey: QueryKey; + }; +}; + +export type GetInviteQueryResult = NonNullable< + Awaited> +>; +export type GetInviteQueryError = RenderErrorResponseDTO; + +/** + * @summary Get invite + */ + +export function useGetInvite< + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { token }: GetInvitePathParameters, + options?: { + query?: UseQueryOptions>, TError, TData>; + }, +): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetInviteQueryOptions({ token }, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get invite + */ +export const invalidateGetInvite = async ( + queryClient: QueryClient, + { token }: GetInvitePathParameters, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetInviteQueryKey({ token }) }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint accepts an invite by token + * @summary Accept invite + */ +export const acceptInvite = ( + typesPostableAcceptInviteDTO: TypesPostableAcceptInviteDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/invite/accept`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: typesPostableAcceptInviteDTO, + signal, + }); + +export const getAcceptInviteMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableAcceptInviteDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableAcceptInviteDTO }, + TContext +> => { + const mutationKey = ['acceptInvite']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: TypesPostableAcceptInviteDTO } + > = (props) => { + const { data } = props ?? {}; + + return acceptInvite(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type AcceptInviteMutationResult = NonNullable< + Awaited> +>; +export type AcceptInviteMutationBody = TypesPostableAcceptInviteDTO; +export type AcceptInviteMutationError = RenderErrorResponseDTO; + +/** + * @summary Accept invite + */ +export const useAcceptInvite = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableAcceptInviteDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: TypesPostableAcceptInviteDTO }, + TContext +> => { + const mutationOptions = getAcceptInviteMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint creates a bulk invite for a user + * @summary Create bulk invite + */ +export const createBulkInvite = ( + typesPostableInviteDTO: TypesPostableInviteDTO[], + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/invite/bulk`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: typesPostableInviteDTO, + signal, + }); + +export const getCreateBulkInviteMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableInviteDTO[] }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableInviteDTO[] }, + TContext +> => { + const mutationKey = ['createBulkInvite']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: TypesPostableInviteDTO[] } + > = (props) => { + const { data } = props ?? {}; + + return createBulkInvite(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreateBulkInviteMutationResult = NonNullable< + Awaited> +>; +export type CreateBulkInviteMutationBody = TypesPostableInviteDTO[]; +export type CreateBulkInviteMutationError = RenderErrorResponseDTO; + +/** + * @summary Create bulk invite + */ +export const useCreateBulkInvite = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableInviteDTO[] }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: TypesPostableInviteDTO[] }, + TContext +> => { + const mutationOptions = getCreateBulkInviteMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint lists all api keys + * @summary List api keys + */ +export const listAPIKeys = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/pats`, + method: 'GET', + signal, + }); + +export const getListAPIKeysQueryKey = () => ['listAPIKeys'] as const; + +export const getListAPIKeysQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getListAPIKeysQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => listAPIKeys(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type ListAPIKeysQueryResult = NonNullable< + Awaited> +>; +export type ListAPIKeysQueryError = RenderErrorResponseDTO; + +/** + * @summary List api keys + */ + +export function useListAPIKeys< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions< + Awaited>, + TError, + TData + >; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getListAPIKeysQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary List api keys + */ +export const invalidateListAPIKeys = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getListAPIKeysQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint creates an api key + * @summary Create api key + */ +export const createAPIKey = ( + typesPostableAPIKeyDTO: TypesPostableAPIKeyDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/pats`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: typesPostableAPIKeyDTO, + signal, + }); + +export const getCreateAPIKeyMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableAPIKeyDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableAPIKeyDTO }, + TContext +> => { + const mutationKey = ['createAPIKey']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: TypesPostableAPIKeyDTO } + > = (props) => { + const { data } = props ?? {}; + + return createAPIKey(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type CreateAPIKeyMutationResult = NonNullable< + Awaited> +>; +export type CreateAPIKeyMutationBody = TypesPostableAPIKeyDTO; +export type CreateAPIKeyMutationError = RenderErrorResponseDTO; + +/** + * @summary Create api key + */ +export const useCreateAPIKey = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableAPIKeyDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: TypesPostableAPIKeyDTO }, + TContext +> => { + const mutationOptions = getCreateAPIKeyMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint revokes an api key + * @summary Revoke api key + */ +export const revokeAPIKey = ({ id }: RevokeAPIKeyPathParameters) => + GeneratedAPIInstance({ + url: `/api/v1/pats/${id}`, + method: 'DELETE', + }); + +export const getRevokeAPIKeyMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: RevokeAPIKeyPathParameters }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: RevokeAPIKeyPathParameters }, + TContext +> => { + const mutationKey = ['revokeAPIKey']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: RevokeAPIKeyPathParameters } + > = (props) => { + const { pathParams } = props ?? {}; + + return revokeAPIKey(pathParams); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type RevokeAPIKeyMutationResult = NonNullable< + Awaited> +>; + +export type RevokeAPIKeyMutationError = RenderErrorResponseDTO; + +/** + * @summary Revoke api key + */ +export const useRevokeAPIKey = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: RevokeAPIKeyPathParameters }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: RevokeAPIKeyPathParameters }, + TContext +> => { + const mutationOptions = getRevokeAPIKeyMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint updates an api key + * @summary Update api key + */ +export const updateAPIKey = ( + { id }: UpdateAPIKeyPathParameters, + typesStorableAPIKeyDTO: TypesStorableAPIKeyDTO, +) => + GeneratedAPIInstance({ + url: `/api/v1/pats/${id}`, + method: 'PUT', + headers: { 'Content-Type': 'application/json' }, + data: typesStorableAPIKeyDTO, + }); + +export const getUpdateAPIKeyMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: UpdateAPIKeyPathParameters; data: TypesStorableAPIKeyDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: UpdateAPIKeyPathParameters; data: TypesStorableAPIKeyDTO }, + TContext +> => { + const mutationKey = ['updateAPIKey']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: UpdateAPIKeyPathParameters; data: TypesStorableAPIKeyDTO } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updateAPIKey(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateAPIKeyMutationResult = NonNullable< + Awaited> +>; +export type UpdateAPIKeyMutationBody = TypesStorableAPIKeyDTO; +export type UpdateAPIKeyMutationError = RenderErrorResponseDTO; + +/** + * @summary Update api key + */ +export const useUpdateAPIKey = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: UpdateAPIKeyPathParameters; data: TypesStorableAPIKeyDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: UpdateAPIKeyPathParameters; data: TypesStorableAPIKeyDTO }, + TContext +> => { + const mutationOptions = getUpdateAPIKeyMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint resets the password by token + * @summary Reset password + */ +export const resetPassword = ( + typesPostableResetPasswordDTO: TypesPostableResetPasswordDTO, + signal?: AbortSignal, +) => + GeneratedAPIInstance({ + url: `/api/v1/resetPassword`, + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + data: typesPostableResetPasswordDTO, + signal, + }); + +export const getResetPasswordMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableResetPasswordDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableResetPasswordDTO }, + TContext +> => { + const mutationKey = ['resetPassword']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { data: TypesPostableResetPasswordDTO } + > = (props) => { + const { data } = props ?? {}; + + return resetPassword(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type ResetPasswordMutationResult = NonNullable< + Awaited> +>; +export type ResetPasswordMutationBody = TypesPostableResetPasswordDTO; +export type ResetPasswordMutationError = RenderErrorResponseDTO; + +/** + * @summary Reset password + */ +export const useResetPassword = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TypesPostableResetPasswordDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { data: TypesPostableResetPasswordDTO }, + TContext +> => { + const mutationOptions = getResetPasswordMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint lists all users + * @summary List users + */ +export const listUsers = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/user`, + method: 'GET', + signal, + }); + +export const getListUsersQueryKey = () => ['listUsers'] as const; + +export const getListUsersQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions>, TError, TData>; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getListUsersQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => listUsers(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type ListUsersQueryResult = NonNullable< + Awaited> +>; +export type ListUsersQueryError = RenderErrorResponseDTO; + +/** + * @summary List users + */ + +export function useListUsers< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions>, TError, TData>; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getListUsersQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary List users + */ +export const invalidateListUsers = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getListUsersQueryKey() }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint deletes the user by id + * @summary Delete user + */ +export const deleteUser = ({ id }: DeleteUserPathParameters) => + GeneratedAPIInstance({ + url: `/api/v1/user/${id}`, + method: 'DELETE', + }); + +export const getDeleteUserMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteUserPathParameters }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteUserPathParameters }, + TContext +> => { + const mutationKey = ['deleteUser']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: DeleteUserPathParameters } + > = (props) => { + const { pathParams } = props ?? {}; + + return deleteUser(pathParams); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteUserMutationResult = NonNullable< + Awaited> +>; + +export type DeleteUserMutationError = RenderErrorResponseDTO; + +/** + * @summary Delete user + */ +export const useDeleteUser = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: DeleteUserPathParameters }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: DeleteUserPathParameters }, + TContext +> => { + const mutationOptions = getDeleteUserMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint returns the user by id + * @summary Get user + */ +export const getUser = ({ id }: GetUserPathParameters, signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/user/${id}`, + method: 'GET', + signal, + }); + +export const getGetUserQueryKey = ({ id }: GetUserPathParameters) => + ['getUser'] as const; + +export const getGetUserQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id }: GetUserPathParameters, + options?: { + query?: UseQueryOptions>, TError, TData>; + }, +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetUserQueryKey({ id }); + + const queryFn: QueryFunction>> = ({ + signal, + }) => getUser({ id }, signal); + + return { + queryKey, + queryFn, + enabled: !!id, + ...queryOptions, + } as UseQueryOptions>, TError, TData> & { + queryKey: QueryKey; + }; +}; + +export type GetUserQueryResult = NonNullable< + Awaited> +>; +export type GetUserQueryError = RenderErrorResponseDTO; + +/** + * @summary Get user + */ + +export function useGetUser< + TData = Awaited>, + TError = RenderErrorResponseDTO +>( + { id }: GetUserPathParameters, + options?: { + query?: UseQueryOptions>, TError, TData>; + }, +): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetUserQueryOptions({ id }, options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get user + */ +export const invalidateGetUser = async ( + queryClient: QueryClient, + { id }: GetUserPathParameters, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetUserQueryKey({ id }) }, + options, + ); + + return queryClient; +}; + +/** + * This endpoint updates the user by id + * @summary Update user + */ +export const updateUser = ( + { id }: UpdateUserPathParameters, + typesUserDTO: TypesUserDTO, +) => + GeneratedAPIInstance({ + url: `/api/v1/user/${id}`, + method: 'PUT', + headers: { 'Content-Type': 'application/json' }, + data: typesUserDTO, + }); + +export const getUpdateUserMutationOptions = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: UpdateUserPathParameters; data: TypesUserDTO }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { pathParams: UpdateUserPathParameters; data: TypesUserDTO }, + TContext +> => { + const mutationKey = ['updateUser']; + const { mutation: mutationOptions } = options + ? options.mutation && + 'mutationKey' in options.mutation && + options.mutation.mutationKey + ? options + : { ...options, mutation: { ...options.mutation, mutationKey } } + : { mutation: { mutationKey } }; + + const mutationFn: MutationFunction< + Awaited>, + { pathParams: UpdateUserPathParameters; data: TypesUserDTO } + > = (props) => { + const { pathParams, data } = props ?? {}; + + return updateUser(pathParams, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type UpdateUserMutationResult = NonNullable< + Awaited> +>; +export type UpdateUserMutationBody = TypesUserDTO; +export type UpdateUserMutationError = RenderErrorResponseDTO; + +/** + * @summary Update user + */ +export const useUpdateUser = < + TError = RenderErrorResponseDTO, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { pathParams: UpdateUserPathParameters; data: TypesUserDTO }, + TContext + >; +}): UseMutationResult< + Awaited>, + TError, + { pathParams: UpdateUserPathParameters; data: TypesUserDTO }, + TContext +> => { + const mutationOptions = getUpdateUserMutationOptions(options); + + return useMutation(mutationOptions); +}; +/** + * This endpoint returns the user I belong to + * @summary Get my user + */ +export const getMyUser = (signal?: AbortSignal) => + GeneratedAPIInstance({ + url: `/api/v1/user/me`, + method: 'GET', + signal, + }); + +export const getGetMyUserQueryKey = () => ['getMyUser'] as const; + +export const getGetMyUserQueryOptions = < + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions>, TError, TData>; +}) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetMyUserQueryKey(); + + const queryFn: QueryFunction>> = ({ + signal, + }) => getMyUser(signal); + + return { queryKey, queryFn, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetMyUserQueryResult = NonNullable< + Awaited> +>; +export type GetMyUserQueryError = RenderErrorResponseDTO; + +/** + * @summary Get my user + */ + +export function useGetMyUser< + TData = Awaited>, + TError = RenderErrorResponseDTO +>(options?: { + query?: UseQueryOptions>, TError, TData>; +}): UseQueryResult & { queryKey: QueryKey } { + const queryOptions = getGetMyUserQueryOptions(options); + + const query = useQuery(queryOptions) as UseQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +} + +/** + * @summary Get my user + */ +export const invalidateGetMyUser = async ( + queryClient: QueryClient, + options?: InvalidateOptions, +): Promise => { + await queryClient.invalidateQueries( + { queryKey: getGetMyUserQueryKey() }, + options, + ); + + return queryClient; +}; diff --git a/frontend/src/api/index.ts b/frontend/src/api/index.ts index a24cf6be90..7d0c37be9f 100644 --- a/frontend/src/api/index.ts +++ b/frontend/src/api/index.ts @@ -229,6 +229,17 @@ export const GatewayApiV2Instance = axios.create({ baseURL: `${ENVIRONMENT.baseURL}${gatewayApiV2}`, }); +// generated API Instance +export const GeneratedAPIInstance = axios.create({ + baseURL: ENVIRONMENT.baseURL, +}); + +GeneratedAPIInstance.interceptors.request.use(interceptorsRequestResponse); +GeneratedAPIInstance.interceptors.response.use( + interceptorsResponse, + interceptorRejected, +); + GatewayApiV2Instance.interceptors.response.use( interceptorsResponse, interceptorRejected, diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 9408ac345e..21d5c0cbb4 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -31,7 +31,7 @@ ], "types": ["node", "jest"] }, - "exclude": ["node_modules", "src/parser/*.ts", "src/parser/TraceOperatorParser/*.ts"], + "exclude": ["node_modules", "src/parser/*.ts", "src/parser/TraceOperatorParser/*.ts", "orval.config.ts"], "include": [ "./src", "./src/**/*.ts", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 1d40c80afd..0b1c649ff1 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -121,6 +121,43 @@ resize-observer-polyfill "^1.5.1" throttle-debounce "^5.0.0" +"@apidevtools/json-schema-ref-parser@14.0.1": + version "14.0.1" + resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-14.0.1.tgz#3bc445ed2eddf72bc2f9eb2e295c696bdc5be725" + integrity sha512-Oc96zvmxx1fqoSEdUmfmvvb59/KDOnUoJ7s2t7bISyAn0XEz57LCCw8k2Y4Pf3mwKaZLMciESALORLgfe2frCw== + dependencies: + "@types/json-schema" "^7.0.15" + js-yaml "^4.1.0" + +"@apidevtools/openapi-schemas@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz#9fa08017fb59d80538812f03fc7cac5992caaa17" + integrity sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ== + +"@apidevtools/swagger-methods@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz#b789a362e055b0340d04712eafe7027ddc1ac267" + integrity sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg== + +"@apidevtools/swagger-parser@^12.1.0": + version "12.1.0" + resolved "https://registry.yarnpkg.com/@apidevtools/swagger-parser/-/swagger-parser-12.1.0.tgz#ef73e5f9e32c2becef6d95b90fb4481b0fec8fe4" + integrity sha512-e5mJoswsnAX0jG+J09xHFYQXb/bUc5S3pLpMxUuRUA2H8T2kni3yEoyz2R3Dltw5f4A6j6rPNMpWTK+iVDFlng== + dependencies: + "@apidevtools/json-schema-ref-parser" "14.0.1" + "@apidevtools/openapi-schemas" "^2.1.0" + "@apidevtools/swagger-methods" "^3.0.2" + ajv "^8.17.1" + ajv-draft-04 "^1.0.0" + call-me-maybe "^1.0.2" + +"@asyncapi/specs@^6.8.0": + version "6.10.0" + resolved "https://registry.yarnpkg.com/@asyncapi/specs/-/specs-6.10.0.tgz#5f61bec36b95e7fa1c9fe2b866f4798458c6cc57" + integrity sha512-vB5oKLsdrLUORIZ5BXortZTlVyGWWMC1Nud/0LtgxQ3Yn2738HigAD6EVqScvpPsDUI/bcLVsYEXN4dtXQHVng== + dependencies: + "@types/json-schema" "^7.0.11" + "@babel/code-frame@7.12.11": version "7.12.11" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz" @@ -2409,6 +2446,11 @@ style-mod "^4.1.0" w3c-keyname "^2.2.4" +"@commander-js/extra-typings@^14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/@commander-js/extra-typings/-/extra-typings-14.0.0.tgz#a48b73e8e9c80d5c7538d361f9c1fb9b231643d7" + integrity sha512-hIn0ncNaJRLkZrxBIp5AsW/eXEHNKYQBh0aPdoUqNgD+Io3NIykQqpKFyKcuasZhicGaEZJX/JBSIkZ4e5x8Dg== + "@commitlint/cli@^16.3.0": version "16.3.0" resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-16.3.0.tgz#5689f5c2abbb7880d5ff13329251e5648a784b16" @@ -2822,6 +2864,136 @@ resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz" integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== +"@esbuild/aix-ppc64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz#80fcbe36130e58b7670511e888b8e88a259ed76c" + integrity sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA== + +"@esbuild/android-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz#8aa4965f8d0a7982dc21734bf6601323a66da752" + integrity sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg== + +"@esbuild/android-arm@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.12.tgz#300712101f7f50f1d2627a162e6e09b109b6767a" + integrity sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg== + +"@esbuild/android-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.12.tgz#87dfb27161202bdc958ef48bb61b09c758faee16" + integrity sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg== + +"@esbuild/darwin-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz#79197898ec1ff745d21c071e1c7cc3c802f0c1fd" + integrity sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg== + +"@esbuild/darwin-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz#146400a8562133f45c4d2eadcf37ddd09718079e" + integrity sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA== + +"@esbuild/freebsd-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz#1c5f9ba7206e158fd2b24c59fa2d2c8bb47ca0fe" + integrity sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg== + +"@esbuild/freebsd-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz#ea631f4a36beaac4b9279fa0fcc6ca29eaeeb2b3" + integrity sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ== + +"@esbuild/linux-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz#e1066bce58394f1b1141deec8557a5f0a22f5977" + integrity sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ== + +"@esbuild/linux-arm@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz#452cd66b20932d08bdc53a8b61c0e30baf4348b9" + integrity sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw== + +"@esbuild/linux-ia32@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz#b24f8acc45bcf54192c7f2f3be1b53e6551eafe0" + integrity sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA== + +"@esbuild/linux-loong64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz#f9cfffa7fc8322571fbc4c8b3268caf15bd81ad0" + integrity sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng== + +"@esbuild/linux-mips64el@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz#575a14bd74644ffab891adc7d7e60d275296f2cd" + integrity sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw== + +"@esbuild/linux-ppc64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz#75b99c70a95fbd5f7739d7692befe60601591869" + integrity sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA== + +"@esbuild/linux-riscv64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz#2e3259440321a44e79ddf7535c325057da875cd6" + integrity sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w== + +"@esbuild/linux-s390x@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz#17676cabbfe5928da5b2a0d6df5d58cd08db2663" + integrity sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg== + +"@esbuild/linux-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz#0583775685ca82066d04c3507f09524d3cd7a306" + integrity sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw== + +"@esbuild/netbsd-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz#f04c4049cb2e252fe96b16fed90f70746b13f4a4" + integrity sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg== + +"@esbuild/netbsd-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz#77da0d0a0d826d7c921eea3d40292548b258a076" + integrity sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ== + +"@esbuild/openbsd-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz#6296f5867aedef28a81b22ab2009c786a952dccd" + integrity sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A== + +"@esbuild/openbsd-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz#f8d23303360e27b16cf065b23bbff43c14142679" + integrity sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw== + +"@esbuild/openharmony-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz#49e0b768744a3924be0d7fd97dd6ce9b2923d88d" + integrity sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg== + +"@esbuild/sunos-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz#a6ed7d6778d67e528c81fb165b23f4911b9b13d6" + integrity sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w== + +"@esbuild/win32-arm64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz#9ac14c378e1b653af17d08e7d3ce34caef587323" + integrity sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg== + +"@esbuild/win32-ia32@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz#918942dcbbb35cc14fca39afb91b5e6a3d127267" + integrity sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ== + +"@esbuild/win32-x64@0.25.12": + version "0.25.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz#9bdad8176be7811ad148d1f8772359041f46c6c5" + integrity sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA== + "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz" @@ -2844,6 +3016,11 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" +"@exodus/schemasafe@^1.0.0-rc.2": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@exodus/schemasafe/-/schemasafe-1.3.0.tgz#731656abe21e8e769a7f70a4d833e6312fe59b7f" + integrity sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw== + "@faker-js/faker@9.3.0": version "9.3.0" resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-9.3.0.tgz#ef398dab34c67faaa0e348318c905eae3564fa58" @@ -2876,6 +3053,17 @@ resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.6.tgz#22958c042e10b67463997bd6ea7115fe28cbcaf9" integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A== +"@gerrit0/mini-shiki@^3.17.0": + version "3.21.0" + resolved "https://registry.yarnpkg.com/@gerrit0/mini-shiki/-/mini-shiki-3.21.0.tgz#377938e63f29f9f698b00c35dcdebc0c104c1a15" + integrity sha512-9PrsT5DjZA+w3lur/aOIx3FlDeHdyCEFlv9U+fmsVyjPZh61G5SYURQ/1ebe2U63KbDmI2V8IhIUegWb8hjOyg== + dependencies: + "@shikijs/engine-oniguruma" "^3.21.0" + "@shikijs/langs" "^3.21.0" + "@shikijs/themes" "^3.21.0" + "@shikijs/types" "^3.21.0" + "@shikijs/vscode-textmate" "^10.0.2" + "@grafana/data@^11.2.3": version "11.3.0" resolved "https://registry.yarnpkg.com/@grafana/data/-/data-11.3.0.tgz#18a75244aa4e22a23ac6f43f6ecc405fd0e18da8" @@ -2927,6 +3115,29 @@ resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@ibm-cloud/openapi-ruleset-utilities@1.9.0": + version "1.9.0" + resolved "https://registry.yarnpkg.com/@ibm-cloud/openapi-ruleset-utilities/-/openapi-ruleset-utilities-1.9.0.tgz#4fecf175bd3d07ba81df8e5160729cf81da26901" + integrity sha512-AoFbSarOqFBYH+1TZ9Ahkm2IWYSi5v0pBk88fpV+5b3qGJukypX8PwvCWADjuyIccKg48/F73a6hTTkBzDQ2UA== + +"@ibm-cloud/openapi-ruleset@^1.33.1": + version "1.33.5" + resolved "https://registry.yarnpkg.com/@ibm-cloud/openapi-ruleset/-/openapi-ruleset-1.33.5.tgz#1196d2f6c32727c07142294eaf44d739c36c0889" + integrity sha512-oT8USsTulFAA8FiBN0lA2rJqQI2lIt+HP2pdakGQXo3EviL2vqJTgpSCRwjl6mLJL158f1BVcdQUOEFGxomK3w== + dependencies: + "@ibm-cloud/openapi-ruleset-utilities" "1.9.0" + "@stoplight/spectral-formats" "^1.8.2" + "@stoplight/spectral-functions" "^1.9.3" + "@stoplight/spectral-rulesets" "^1.21.3" + chalk "^4.1.2" + inflected "^2.1.0" + jsonschema "^1.5.0" + lodash "^4.17.21" + loglevel "^1.9.2" + loglevel-plugin-prefix "0.8.4" + minimatch "^6.2.0" + validator "^13.15.23" + "@img/sharp-darwin-arm64@0.33.5": version "0.33.5" resolved "https://registry.yarnpkg.com/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz#ef5b5a07862805f1e8145a377c8ba6e98813ca08" @@ -3384,6 +3595,21 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@jsep-plugin/assignment@^1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@jsep-plugin/assignment/-/assignment-1.3.0.tgz#fcfc5417a04933f7ceee786e8ab498aa3ce2b242" + integrity sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ== + +"@jsep-plugin/regex@^1.0.1", "@jsep-plugin/regex@^1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@jsep-plugin/regex/-/regex-1.0.4.tgz#cb2fc423220fa71c609323b9ba7f7d344a755fcc" + integrity sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg== + +"@jsep-plugin/ternary@^1.0.2": + version "1.1.4" + resolved "https://registry.yarnpkg.com/@jsep-plugin/ternary/-/ternary-1.1.4.tgz#1ac778bee799137f116cc108f3bf58b9615c45c3" + integrity sha512-ck5wiqIbqdMX6WRQztBL7ASDty9YLgJ3sSAK5ZpBzXeySvFGCzIvM6UiAI4hTZ22fEcYQVV/zhUbNscggW+Ukg== + "@jsonjoy.com/base64@^1.1.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@jsonjoy.com/base64/-/base64-1.1.2.tgz#cf8ea9dcb849b81c95f14fc0aaa151c6b54d2578" @@ -3572,6 +3798,109 @@ resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-1.0.3.tgz#db9cc719191a62e7d9200f6e7bab21c5b848adca" integrity sha512-Aq58f5HiWdyDlFffbbSjAlv596h/cOnt2DO1w3DOC7OJ5EHs0hd/nycJfiu9RJbT6Yk6F1knnRRXNSpxoIVZ9Q== +"@orval/angular@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/angular/-/angular-7.18.0.tgz#8f1d529833a6540486d016e7ec6db3753f2b5c4b" + integrity sha512-lGHulu1ssQwwT6xU1bTt3HkQscWpDSoCDR3OXKrxXcW6/QW7YbTdbkgPeLky68J7SiI/nK7GK02b2DNSq7g2OQ== + dependencies: + "@orval/core" "7.18.0" + +"@orval/axios@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/axios/-/axios-7.18.0.tgz#a86ef975c05340ed4aaae756d06e17ad87c550cd" + integrity sha512-dx7yo7m8+BwcI4dQ/WBFztTXaC+RgxxPuOpKVO0+9ZSCn5iP1raHwBYvauWYF1NHPDQ6q9p1qpVEm0UUCzrIQg== + dependencies: + "@orval/core" "7.18.0" + +"@orval/core@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/core/-/core-7.18.0.tgz#78a813962bc3bcba6800ff1272448487896610f9" + integrity sha512-KshmrAJ/HpjarTORIcngaCOyx6X50/1F2d9G/IGRi0glzqNmucHyy9Uyr7ZPsq/GcvhfC6WioF9hEYKlKlwIyw== + dependencies: + "@apidevtools/swagger-parser" "^12.1.0" + "@ibm-cloud/openapi-ruleset" "^1.33.1" + "@stoplight/spectral-core" "^1.20.0" + acorn "^8.15.0" + chalk "^4.1.2" + compare-versions "^6.1.1" + debug "^4.4.3" + esbuild "^0.25.11" + esutils "2.0.3" + fs-extra "^11.3.1" + globby "11.1.0" + lodash.isempty "^4.4.0" + lodash.uniq "^4.5.0" + lodash.uniqby "^4.7.0" + lodash.uniqwith "^4.5.0" + micromatch "^4.0.8" + openapi3-ts "4.5.0" + swagger2openapi "^7.0.8" + typedoc "^0.28.14" + +"@orval/fetch@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/fetch/-/fetch-7.18.0.tgz#86c6db53cef9275875a24c8556486e08a76526a5" + integrity sha512-MGFLTlKa4z08h4jUrjP0L7dUhfclmi7YpQlX645wJ0G0IFqMIs7UKEv3MBaJqMjeTF7avsy61+AorTzYHH1gFQ== + dependencies: + "@orval/core" "7.18.0" + openapi3-ts "4.5.0" + +"@orval/hono@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/hono/-/hono-7.18.0.tgz#b378712c33c5f31c96ff127e56e2fbd59f8f3b09" + integrity sha512-TZgnXanB31scSlHQocnCX6OscdwPZrrHMQyFP2Vv/eWXT6O7lmk3HSMohmcZ4yibL7+NEcdylF8tVFpsd/ggGw== + dependencies: + "@orval/core" "7.18.0" + "@orval/zod" "7.18.0" + fs-extra "^11.3.2" + lodash.uniq "^4.5.0" + openapi3-ts "4.5.0" + +"@orval/mcp@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/mcp/-/mcp-7.18.0.tgz#83d29c9421162ab157d09d93666098d3f8283fb9" + integrity sha512-PeXH/Hd7DDaIrcnl6mqxe73WZpM20pnJu8Br1rgG2/LQcE6A8zR0EQxu4pYJ62e2zgo4UDbnuCNU5qbwD8shIA== + dependencies: + "@orval/core" "7.18.0" + "@orval/fetch" "7.18.0" + "@orval/zod" "7.18.0" + openapi3-ts "4.5.0" + +"@orval/mock@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/mock/-/mock-7.18.0.tgz#91d94ab5fb93a82a91025d84791d55de573fcb33" + integrity sha512-gwJYMU3AsRxcaHEiJyqVf8aMkUjfGFbQdJfHYPYVkQXS9HFbwW7wD3XGoStGkB3D8Z8ihLQCJQpIcFsMVSNA+w== + dependencies: + "@orval/core" "7.18.0" + openapi3-ts "4.5.0" + +"@orval/query@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/query/-/query-7.18.0.tgz#959cc4e55b212f24a632c7bdefa6f2e560eeb6bd" + integrity sha512-7Krku3cwQhq8NB/0W562u587ILmmKVuN3oZuhYi4usIPmahZqaITClcg1yLpYzF5aPu4PfQ4xQU/ZZeHjFMhhw== + dependencies: + "@orval/core" "7.18.0" + "@orval/fetch" "7.18.0" + chalk "^4.1.2" + lodash.omitby "^4.6.0" + +"@orval/swr@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/swr/-/swr-7.18.0.tgz#d6f82c187406774c06bc009606f807181a12c8fd" + integrity sha512-gAHbSklattcn77O/yJCfry2Biq5LxMc2Bc8FmHGg+KHctjTqXiOxCH1p6hKGJXTlr17HMW8nGL5Hmlqldm6SaQ== + dependencies: + "@orval/core" "7.18.0" + "@orval/fetch" "7.18.0" + +"@orval/zod@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@orval/zod/-/zod-7.18.0.tgz#2c72dd4aca6bd4bda77cc16828a4c8612f011927" + integrity sha512-uxmBWcoiyHqkeFutULv/CyUYnl86K46n6Fn2yGE5btkwIeBdXyFS3uf7hn31n1n+S5CperZ4NrwM1togSIBHtw== + dependencies: + "@orval/core" "7.18.0" + lodash.uniq "^4.5.0" + openapi3-ts "4.5.0" + "@parcel/watcher-android-arm64@2.5.1": version "2.5.1" resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.5.1.tgz#507f836d7e2042f798c7d07ad19c3546f9848ac1" @@ -4555,6 +4884,41 @@ unplugin "1.0.1" uuid "^9.0.0" +"@shikijs/engine-oniguruma@^3.21.0": + version "3.21.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-3.21.0.tgz#0e666454a03fd85d6c634d9dbe70a63f007a6323" + integrity sha512-OYknTCct6qiwpQDqDdf3iedRdzj6hFlOPv5hMvI+hkWfCKs5mlJ4TXziBG9nyabLwGulrUjHiCq3xCspSzErYQ== + dependencies: + "@shikijs/types" "3.21.0" + "@shikijs/vscode-textmate" "^10.0.2" + +"@shikijs/langs@^3.21.0": + version "3.21.0" + resolved "https://registry.yarnpkg.com/@shikijs/langs/-/langs-3.21.0.tgz#da33400a85c7cba75fc9f4a6b9feb69a6c39c800" + integrity sha512-g6mn5m+Y6GBJ4wxmBYqalK9Sp0CFkUqfNzUy2pJglUginz6ZpWbaWjDB4fbQ/8SHzFjYbtU6Ddlp1pc+PPNDVA== + dependencies: + "@shikijs/types" "3.21.0" + +"@shikijs/themes@^3.21.0": + version "3.21.0" + resolved "https://registry.yarnpkg.com/@shikijs/themes/-/themes-3.21.0.tgz#1955d642ea37d70d1137e6cf47da7dc9c34ff4c0" + integrity sha512-BAE4cr9EDiZyYzwIHEk7JTBJ9CzlPuM4PchfcA5ao1dWXb25nv6hYsoDiBq2aZK9E3dlt3WB78uI96UESD+8Mw== + dependencies: + "@shikijs/types" "3.21.0" + +"@shikijs/types@3.21.0", "@shikijs/types@^3.21.0": + version "3.21.0" + resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-3.21.0.tgz#510d6ddbea65add27980a6ca36cc7bdabc7afe90" + integrity sha512-zGrWOxZ0/+0ovPY7PvBU2gIS9tmhSUUt30jAcNV0Bq0gb2S98gwfjIs1vxlmH5zM7/4YxLamT6ChlqqAJmPPjA== + dependencies: + "@shikijs/vscode-textmate" "^10.0.2" + "@types/hast" "^3.0.4" + +"@shikijs/vscode-textmate@^10.0.2": + version "10.0.2" + resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz#a90ab31d0cc1dfb54c66a69e515bf624fa7b2224" + integrity sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg== + "@signozhq/badge@0.0.2": version "0.0.2" resolved "https://registry.yarnpkg.com/@signozhq/badge/-/badge-0.0.2.tgz#7fab5ce43ee2f48c9c4fddf082c0e91cd0c34ed1" @@ -4801,6 +5165,208 @@ dependencies: "@sinonjs/commons" "^1.7.0" +"@stoplight/better-ajv-errors@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stoplight/better-ajv-errors/-/better-ajv-errors-1.0.3.tgz#d74a5c4da5d786c17188d7f4edec505f089885fa" + integrity sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA== + dependencies: + jsonpointer "^5.0.0" + leven "^3.1.0" + +"@stoplight/json-ref-readers@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz#e5992bae597f228f988f362a4c0304c03a92008b" + integrity sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ== + dependencies: + node-fetch "^2.6.0" + tslib "^1.14.1" + +"@stoplight/json-ref-resolver@~3.1.6": + version "3.1.6" + resolved "https://registry.yarnpkg.com/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.6.tgz#dcf8724472b7d54e8e8952510f39b8ee901dcf56" + integrity sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A== + dependencies: + "@stoplight/json" "^3.21.0" + "@stoplight/path" "^1.3.2" + "@stoplight/types" "^12.3.0 || ^13.0.0" + "@types/urijs" "^1.19.19" + dependency-graph "~0.11.0" + fast-memoize "^2.5.2" + immer "^9.0.6" + lodash "^4.17.21" + tslib "^2.6.0" + urijs "^1.19.11" + +"@stoplight/json@^3.17.0", "@stoplight/json@^3.17.1", "@stoplight/json@^3.20.1", "@stoplight/json@^3.21.0", "@stoplight/json@~3.21.0": + version "3.21.7" + resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.21.7.tgz#102f5fd11921984c96672ce4307850daa1cbfc7b" + integrity sha512-xcJXgKFqv/uCEgtGlPxy3tPA+4I+ZI4vAuMJ885+ThkTHFVkC+0Fm58lA9NlsyjnkpxFh4YiQWpH+KefHdbA0A== + dependencies: + "@stoplight/ordered-object-literal" "^1.0.3" + "@stoplight/path" "^1.3.2" + "@stoplight/types" "^13.6.0" + jsonc-parser "~2.2.1" + lodash "^4.17.21" + safe-stable-stringify "^1.1" + +"@stoplight/ordered-object-literal@^1.0.3", "@stoplight/ordered-object-literal@^1.0.5": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.5.tgz#06689095a4f1a53e9d9a5f0055f707c387af966a" + integrity sha512-COTiuCU5bgMUtbIFBuyyh2/yVVzlr5Om0v5utQDgBCuQUOPgU1DwoffkTfg4UBQOvByi5foF4w4T+H9CoRe5wg== + +"@stoplight/path@1.3.2", "@stoplight/path@^1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@stoplight/path/-/path-1.3.2.tgz#96e591496b72fde0f0cdae01a61d64f065bd9ede" + integrity sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ== + +"@stoplight/spectral-core@^1.19.2", "@stoplight/spectral-core@^1.19.4", "@stoplight/spectral-core@^1.20.0": + version "1.20.0" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-core/-/spectral-core-1.20.0.tgz#26572b66c2307c3562ed5c9c1c5891cf6f72778e" + integrity sha512-5hBP81nCC1zn1hJXL/uxPNRKNcB+/pEIHgCjPRpl/w/qy9yC9ver04tw1W0l/PMiv0UeB5dYgozXVQ4j5a6QQQ== + dependencies: + "@stoplight/better-ajv-errors" "1.0.3" + "@stoplight/json" "~3.21.0" + "@stoplight/path" "1.3.2" + "@stoplight/spectral-parsers" "^1.0.0" + "@stoplight/spectral-ref-resolver" "^1.0.4" + "@stoplight/spectral-runtime" "^1.1.2" + "@stoplight/types" "~13.6.0" + "@types/es-aggregate-error" "^1.0.2" + "@types/json-schema" "^7.0.11" + ajv "^8.17.1" + ajv-errors "~3.0.0" + ajv-formats "~2.1.1" + es-aggregate-error "^1.0.7" + jsonpath-plus "^10.3.0" + lodash "~4.17.21" + lodash.topath "^4.5.2" + minimatch "3.1.2" + nimma "0.2.3" + pony-cause "^1.1.1" + simple-eval "1.0.1" + tslib "^2.8.1" + +"@stoplight/spectral-formats@^1.8.1", "@stoplight/spectral-formats@^1.8.2": + version "1.8.2" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-formats/-/spectral-formats-1.8.2.tgz#d5bbdb5d0802b118c9b8f8bbf72d6f34f4248b54" + integrity sha512-c06HB+rOKfe7tuxg0IdKDEA5XnjL2vrn/m/OVIIxtINtBzphZrOgtRn7epQ5bQF5SWp84Ue7UJWaGgDwVngMFw== + dependencies: + "@stoplight/json" "^3.17.0" + "@stoplight/spectral-core" "^1.19.2" + "@types/json-schema" "^7.0.7" + tslib "^2.8.1" + +"@stoplight/spectral-functions@^1.9.1", "@stoplight/spectral-functions@^1.9.3": + version "1.10.1" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-functions/-/spectral-functions-1.10.1.tgz#3f7e6fb3185a295ae30c9165a8b1530f63e739aa" + integrity sha512-obu8ZfoHxELOapfGsCJixKZXZcffjg+lSoNuttpmUFuDzVLT3VmH8QkPXfOGOL5Pz80BR35ClNAToDkdnYIURg== + dependencies: + "@stoplight/better-ajv-errors" "1.0.3" + "@stoplight/json" "^3.17.1" + "@stoplight/spectral-core" "^1.19.4" + "@stoplight/spectral-formats" "^1.8.1" + "@stoplight/spectral-runtime" "^1.1.2" + ajv "^8.17.1" + ajv-draft-04 "~1.0.0" + ajv-errors "~3.0.0" + ajv-formats "~2.1.1" + lodash "~4.17.21" + tslib "^2.8.1" + +"@stoplight/spectral-parsers@^1.0.0": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-parsers/-/spectral-parsers-1.0.5.tgz#2febd979b2917465759c97fe7375145f86574ff2" + integrity sha512-ANDTp2IHWGvsQDAY85/jQi9ZrF4mRrA5bciNHX+PUxPr4DwS6iv4h+FVWJMVwcEYdpyoIdyL+SRmHdJfQEPmwQ== + dependencies: + "@stoplight/json" "~3.21.0" + "@stoplight/types" "^14.1.1" + "@stoplight/yaml" "~4.3.0" + tslib "^2.8.1" + +"@stoplight/spectral-ref-resolver@^1.0.4": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-ref-resolver/-/spectral-ref-resolver-1.0.5.tgz#2462ae79bbb90b7fcc76b014118a0beeee5e64d5" + integrity sha512-gj3TieX5a9zMW29z3mBlAtDOCgN3GEc1VgZnCVlr5irmR4Qi5LuECuFItAq4pTn5Zu+sW5bqutsCH7D4PkpyAA== + dependencies: + "@stoplight/json-ref-readers" "1.2.2" + "@stoplight/json-ref-resolver" "~3.1.6" + "@stoplight/spectral-runtime" "^1.1.2" + dependency-graph "0.11.0" + tslib "^2.8.1" + +"@stoplight/spectral-rulesets@^1.21.3": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-rulesets/-/spectral-rulesets-1.22.0.tgz#dd17ff8dfdffa2e9ff45e1b57802dd420ca10519" + integrity sha512-l2EY2jiKKLsvnPfGy+pXC0LeGsbJzcQP5G/AojHgf+cwN//VYxW1Wvv4WKFx/CLmLxc42mJYF2juwWofjWYNIQ== + dependencies: + "@asyncapi/specs" "^6.8.0" + "@stoplight/better-ajv-errors" "1.0.3" + "@stoplight/json" "^3.17.0" + "@stoplight/spectral-core" "^1.19.4" + "@stoplight/spectral-formats" "^1.8.1" + "@stoplight/spectral-functions" "^1.9.1" + "@stoplight/spectral-runtime" "^1.1.2" + "@stoplight/types" "^13.6.0" + "@types/json-schema" "^7.0.7" + ajv "^8.17.1" + ajv-formats "~2.1.1" + json-schema-traverse "^1.0.0" + leven "3.1.0" + lodash "~4.17.21" + tslib "^2.8.1" + +"@stoplight/spectral-runtime@^1.1.2": + version "1.1.4" + resolved "https://registry.yarnpkg.com/@stoplight/spectral-runtime/-/spectral-runtime-1.1.4.tgz#6e6f69169d352732b0a9b95e0cc151605c510042" + integrity sha512-YHbhX3dqW0do6DhiPSgSGQzr6yQLlWybhKwWx0cqxjMwxej3TqLv3BXMfIUYFKKUqIwH4Q2mV8rrMM8qD2N0rQ== + dependencies: + "@stoplight/json" "^3.20.1" + "@stoplight/path" "^1.3.2" + "@stoplight/types" "^13.6.0" + abort-controller "^3.0.0" + lodash "^4.17.21" + node-fetch "^2.7.0" + tslib "^2.8.1" + +"@stoplight/types@^12.3.0 || ^13.0.0", "@stoplight/types@^13.6.0": + version "13.20.0" + resolved "https://registry.yarnpkg.com/@stoplight/types/-/types-13.20.0.tgz#d42682f1e3a14a3c60bdf0df08bff4023518763d" + integrity sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA== + dependencies: + "@types/json-schema" "^7.0.4" + utility-types "^3.10.0" + +"@stoplight/types@^14.1.1": + version "14.1.1" + resolved "https://registry.yarnpkg.com/@stoplight/types/-/types-14.1.1.tgz#0dd5761aac25673a951955e984c724c138368b7a" + integrity sha512-/kjtr+0t0tjKr+heVfviO9FrU/uGLc+QNX3fHJc19xsCNYqU7lVhaXxDmEID9BZTjG+/r9pK9xP/xU02XGg65g== + dependencies: + "@types/json-schema" "^7.0.4" + utility-types "^3.10.0" + +"@stoplight/types@~13.6.0": + version "13.6.0" + resolved "https://registry.yarnpkg.com/@stoplight/types/-/types-13.6.0.tgz#96c6aaae05858b36f589821cd52c95aa9b205ce7" + integrity sha512-dzyuzvUjv3m1wmhPfq82lCVYGcXG0xUYgqnWfCq3PCVR4BKFhjdkHrnJ+jIDoMKvXb05AZP/ObQF6+NpDo29IQ== + dependencies: + "@types/json-schema" "^7.0.4" + utility-types "^3.10.0" + +"@stoplight/yaml-ast-parser@0.0.50": + version "0.0.50" + resolved "https://registry.yarnpkg.com/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.50.tgz#ed625a1d9ae63eb61980446e058fa745386ab61e" + integrity sha512-Pb6M8TDO9DtSVla9yXSTAxmo9GVEouq5P40DWXdOie69bXogZTkgvopCq+yEvTMA0F6PEvdJmbtTV3ccIp11VQ== + +"@stoplight/yaml@~4.3.0": + version "4.3.0" + resolved "https://registry.yarnpkg.com/@stoplight/yaml/-/yaml-4.3.0.tgz#ca403157472509812ccec6f277185e7e65d7bd7d" + integrity sha512-JZlVFE6/dYpP9tQmV0/ADfn32L9uFarHWxfcRhReKUnljz1ZiUM5zpX+PH8h5CJs6lao3TuFqnPm9IJJCEkE2w== + dependencies: + "@stoplight/ordered-object-literal" "^1.0.5" + "@stoplight/types" "^14.1.1" + "@stoplight/yaml-ast-parser" "0.0.50" + tslib "^2.2.0" + "@szmarczak/http-timer@^4.0.5": version "4.0.6" resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" @@ -5172,6 +5738,13 @@ dependencies: "@types/trusted-types" "*" +"@types/es-aggregate-error@^1.0.2": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@types/es-aggregate-error/-/es-aggregate-error-1.0.6.tgz#1472dfb0fb1cb4c3f2bd3b2a7b7e19f60a1d66c0" + integrity sha512-qJ7LIFp06h1QE1aVxbVd+zJP2wdaugYXYfd6JxsyRMrYHaxb6itXPogW2tz+ylUJ1n1b+JF1PHyYCfYHm0dvUg== + dependencies: + "@types/node" "*" + "@types/estree-jsx@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/estree-jsx/-/estree-jsx-1.0.0.tgz#7bfc979ab9f692b492017df42520f7f765e98df1" @@ -5238,7 +5811,7 @@ dependencies: "@types/unist" "^2" -"@types/hast@^3.0.0": +"@types/hast@^3.0.0", "@types/hast@^3.0.4": version "3.0.4" resolved "https://registry.yarnpkg.com/@types/hast/-/hast-3.0.4.tgz#1d6b39993b82cea6ad783945b0508c25903e15aa" integrity sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ== @@ -5325,6 +5898,11 @@ resolved "https://registry.yarnpkg.com/@types/js-levenshtein/-/js-levenshtein-1.1.1.tgz#ba05426a43f9e4e30b631941e0aa17bf0c890ed5" integrity sha512-qC4bCqYGy1y/NP7dDVr7KJarn+PbX1nSpwA7JXdu0HxT3QYjO8MJ+cntENtHFVy2dRAyBV23OZ6MxsW1AM1L8g== +"@types/json-schema@^7.0.11", "@types/json-schema@^7.0.15", "@types/json-schema@^7.0.4": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.7", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz" @@ -5702,6 +6280,11 @@ resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.8.tgz#bb197b9639aa1a04cf464a617fe800cccd92ad5c" integrity sha512-d0XxK3YTObnWVp6rZuev3c49+j4Lo8g4L1ZRm9z5L0xpoZycUPshHgczK5gsUMaZOstjVYYi09p5gYvUtfChYw== +"@types/urijs@^1.19.19": + version "1.19.26" + resolved "https://registry.yarnpkg.com/@types/urijs/-/urijs-1.19.26.tgz#500fc9912e0ba01d635480970bdc9ba0f45d7bc6" + integrity sha512-wkXrVzX5yoqLnndOwFsieJA7oKM8cNkOKJtf/3vVGSUFkWDKZvFHpIl9Pvqb/T9UsawBBFMTTD8xu7sK5MWuvg== + "@types/uuid@^8.3.1": version "8.3.4" resolved "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz" @@ -6347,6 +6930,11 @@ acorn@^8.0.0, acorn@^8.0.4, acorn@^8.2.4, acorn@^8.4.1, acorn@^8.7.1, acorn@^8.8 resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== +acorn@^8.15.0: + version "8.15.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.15.0.tgz#a360898bc415edaac46c8241f6383975b930b816" + integrity sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg== + aframe-extras@^6.1: version "6.1.1" resolved "https://registry.npmjs.org/aframe-extras/-/aframe-extras-6.1.1.tgz" @@ -6396,7 +6984,17 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv-formats@^2.1.1: +ajv-draft-04@^1.0.0, ajv-draft-04@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz#3b64761b268ba0b9e668f0b41ba53fce0ad77fc8" + integrity sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw== + +ajv-errors@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-3.0.0.tgz#e54f299f3a3d30fe144161e5f0d8d51196c527bc" + integrity sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ== + +ajv-formats@^2.1.1, ajv-formats@~2.1.1: version "2.1.1" resolved "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz" integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== @@ -6435,7 +7033,7 @@ ajv@^8.0.0, ajv@^8.0.1, ajv@^8.9.0: require-from-string "^2.0.2" uri-js "^4.2.2" -ajv@^8.11.0: +ajv@^8.11.0, ajv@^8.17.1: version "8.17.1" resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6" integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g== @@ -6623,6 +7221,14 @@ array-buffer-byte-length@^1.0.0: call-bind "^1.0.2" is-array-buffer "^3.0.1" +array-buffer-byte-length@^1.0.1, array-buffer-byte-length@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz#384d12a37295aec3769ab022ad323a18a51ccf8b" + integrity sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw== + dependencies: + call-bound "^1.0.3" + is-array-buffer "^3.0.5" + array-flatten@1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz" @@ -6718,6 +7324,19 @@ arraybuffer.prototype.slice@^1.0.1: is-array-buffer "^3.0.2" is-shared-array-buffer "^1.0.2" +arraybuffer.prototype.slice@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz#9d760d84dbdd06d0cbf92c8849615a1a7ab3183c" + integrity sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ== + dependencies: + array-buffer-byte-length "^1.0.1" + call-bind "^1.0.8" + define-properties "^1.2.1" + es-abstract "^1.23.5" + es-errors "^1.3.0" + get-intrinsic "^1.2.6" + is-array-buffer "^3.0.4" + arrify@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" @@ -6743,6 +7362,16 @@ astring@^1.8.0: resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.6.tgz#2c9c157cf1739d67561c56ba896e6948f6b93731" integrity sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg== +astring@^1.8.1: + version "1.9.0" + resolved "https://registry.yarnpkg.com/astring/-/astring-1.9.0.tgz#cc73e6062a7eb03e7d19c22d8b0b3451fd9bfeef" + integrity sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg== + +async-function@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/async-function/-/async-function-1.0.0.tgz#509c9fca60eaf85034c6829838188e4e4c8ffb2b" + integrity sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA== + async-validator@^4.1.0: version "4.2.5" resolved "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz" @@ -6777,6 +7406,13 @@ available-typed-arrays@^1.0.5: resolved "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== +available-typed-arrays@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz#a5cc375d6a03c2efc87a553f3e0b1522def14846" + integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== + dependencies: + possible-typed-array-names "^1.0.0" + axe-core@^4.6.2: version "4.7.0" resolved "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz" @@ -7449,7 +8085,7 @@ cacheable-request@^7.0.2: normalize-url "^6.0.1" responselike "^2.0.0" -call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: +call-bind-apply-helpers@^1.0.0, call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== @@ -7476,6 +8112,29 @@ call-bind@^1.0.7: get-intrinsic "^1.2.4" set-function-length "^1.2.1" +call-bind@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.8.tgz#0736a9660f537e3388826f440d5ec45f744eaa4c" + integrity sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww== + dependencies: + call-bind-apply-helpers "^1.0.0" + es-define-property "^1.0.0" + get-intrinsic "^1.2.4" + set-function-length "^1.2.2" + +call-bound@^1.0.2, call-bound@^1.0.3, call-bound@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.4.tgz#238de935d2a2a692928c538c7ccfa91067fd062a" + integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg== + dependencies: + call-bind-apply-helpers "^1.0.2" + get-intrinsic "^1.3.0" + +call-me-maybe@^1.0.1, call-me-maybe@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.2.tgz#03f964f19522ba643b1b0693acb9152fe2074baa" + integrity sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ== + callsites@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" @@ -7578,7 +8237,7 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1: +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: version "4.1.2" resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -7661,7 +8320,7 @@ chartjs-plugin-annotation@^1.4.0: optionalDependencies: fsevents "~2.3.2" -chokidar@^4.0.0: +chokidar@^4.0.0, chokidar@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-4.0.3.tgz#7be37a4c03c9aee1ecfe862a4a23b2c70c205d30" integrity sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA== @@ -7920,6 +8579,11 @@ commander@^10.0.1: resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== +commander@^14.0.1: + version "14.0.2" + resolved "https://registry.yarnpkg.com/commander/-/commander-14.0.2.tgz#b71fd37fe4069e4c3c7c13925252ada4eba14e8e" + integrity sha512-TywoWNNRbhoD0BXs1P3ZEScW8W5iKrnbithIl0YH+uCmBd0QpPOA8yc82DS3BIE5Ma6FnBVUsJ7wVUDz4dvOWQ== + commander@^7.2.0: version "7.2.0" resolved "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz" @@ -7948,6 +8612,11 @@ compare-func@^2.0.0: array-ify "^1.0.0" dot-prop "^5.1.0" +compare-versions@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-6.1.1.tgz#7af3cc1099ba37d244b3145a9af5201b629148a9" + integrity sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg== + compressible@~2.0.16: version "2.0.18" resolved "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz" @@ -8658,6 +9327,33 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" +data-view-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/data-view-buffer/-/data-view-buffer-1.0.2.tgz#211a03ba95ecaf7798a8c7198d79536211f88570" + integrity sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + is-data-view "^1.0.2" + +data-view-byte-length@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz#9e80f7ca52453ce3e93d25a35318767ea7704735" + integrity sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + is-data-view "^1.0.2" + +data-view-byte-offset@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz#068307f9b71ab76dbbe10291389e020856606191" + integrity sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + is-data-view "^1.0.1" + date-fns-jalali@^4.1.0-0: version "4.1.0-0" resolved "https://registry.yarnpkg.com/date-fns-jalali/-/date-fns-jalali-4.1.0-0.tgz#9c7fb286004fab267a300d3e9f1ada9f10b4b6b0" @@ -8683,7 +9379,7 @@ debounce@^1.2.1: resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== -debug@2.6.9, debug@4, debug@4.3.4, debug@^3.2.6, debug@^3.2.7, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4, debug@^4.3.6, debug@ngokevin/debug#noTimestamp: +debug@2.6.9, debug@4, debug@4.3.4, debug@^3.2.6, debug@^3.2.7, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4, debug@^4.3.6, debug@^4.4.3, debug@ngokevin/debug#noTimestamp: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -8805,7 +9501,7 @@ defer-to-connect@^2.0.0: resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== -define-data-property@^1.1.4: +define-data-property@^1.0.1, define-data-property@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== @@ -8827,6 +9523,15 @@ define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: has-property-descriptors "^1.0.0" object-keys "^1.1.1" +define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== + dependencies: + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + delaunator@5: version "5.0.1" resolved "https://registry.yarnpkg.com/delaunator/-/delaunator-5.0.1.tgz#39032b08053923e924d6094fe2cde1a99cc51278" @@ -8849,6 +9554,11 @@ depd@~1.1.2: resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== +dependency-graph@0.11.0, dependency-graph@~0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.11.0.tgz#ac0ce7ed68a54da22165a85e97a01d53f5eb2e27" + integrity sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg== + dequal@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" @@ -9074,7 +9784,7 @@ dtype@^2.0.0: resolved "https://registry.npmjs.org/dtype/-/dtype-2.0.0.tgz" integrity sha512-s2YVcLKdFGS0hpFqJaTwscsyt0E8nNFdmo73Ocd81xNPj4URI4rj6D60A+vFMIw7BXWlb4yRkEwfBqcZzPGiZg== -dunder-proto@^1.0.1: +dunder-proto@^1.0.0, dunder-proto@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== @@ -9165,6 +9875,14 @@ enquirer@^2.3.5: dependencies: ansi-colors "^4.1.1" +enquirer@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.4.1.tgz#93334b3fbd74fc7097b224ab4a8fb7e40bf4ae56" + integrity sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ== + dependencies: + ansi-colors "^4.1.1" + strip-ansi "^6.0.1" + entities@^2.0.0, entities@^2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz" @@ -9286,6 +10004,80 @@ es-abstract@^1.22.1: unbox-primitive "^1.0.2" which-typed-array "^1.1.10" +es-abstract@^1.23.5, es-abstract@^1.23.9, es-abstract@^1.24.0: + version "1.24.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.24.1.tgz#f0c131ed5ea1bb2411134a8dd94def09c46c7899" + integrity sha512-zHXBLhP+QehSSbsS9Pt23Gg964240DPd6QCf8WpkqEXxQ7fhdZzYsocOr5u7apWonsS5EjZDmTF+/slGMyasvw== + dependencies: + array-buffer-byte-length "^1.0.2" + arraybuffer.prototype.slice "^1.0.4" + available-typed-arrays "^1.0.7" + call-bind "^1.0.8" + call-bound "^1.0.4" + data-view-buffer "^1.0.2" + data-view-byte-length "^1.0.2" + data-view-byte-offset "^1.0.1" + es-define-property "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.1.1" + es-set-tostringtag "^2.1.0" + es-to-primitive "^1.3.0" + function.prototype.name "^1.1.8" + get-intrinsic "^1.3.0" + get-proto "^1.0.1" + get-symbol-description "^1.1.0" + globalthis "^1.0.4" + gopd "^1.2.0" + has-property-descriptors "^1.0.2" + has-proto "^1.2.0" + has-symbols "^1.1.0" + hasown "^2.0.2" + internal-slot "^1.1.0" + is-array-buffer "^3.0.5" + is-callable "^1.2.7" + is-data-view "^1.0.2" + is-negative-zero "^2.0.3" + is-regex "^1.2.1" + is-set "^2.0.3" + is-shared-array-buffer "^1.0.4" + is-string "^1.1.1" + is-typed-array "^1.1.15" + is-weakref "^1.1.1" + math-intrinsics "^1.1.0" + object-inspect "^1.13.4" + object-keys "^1.1.1" + object.assign "^4.1.7" + own-keys "^1.0.1" + regexp.prototype.flags "^1.5.4" + safe-array-concat "^1.1.3" + safe-push-apply "^1.0.0" + safe-regex-test "^1.1.0" + set-proto "^1.0.0" + stop-iteration-iterator "^1.1.0" + string.prototype.trim "^1.2.10" + string.prototype.trimend "^1.0.9" + string.prototype.trimstart "^1.0.8" + typed-array-buffer "^1.0.3" + typed-array-byte-length "^1.0.3" + typed-array-byte-offset "^1.0.4" + typed-array-length "^1.0.7" + unbox-primitive "^1.1.0" + which-typed-array "^1.1.19" + +es-aggregate-error@^1.0.7: + version "1.0.14" + resolved "https://registry.yarnpkg.com/es-aggregate-error/-/es-aggregate-error-1.0.14.tgz#f1a24f833d25056c2ebc92a8c04449374f8f9f65" + integrity sha512-3YxX6rVb07B5TV11AV5wsL7nQCHXNwoHPsQC8S4AmBiqYhyNCJ5BRKXkXyDJvs8QzXN20NgRtxe3dEEQD9NLHA== + dependencies: + define-data-property "^1.1.4" + define-properties "^1.2.1" + es-abstract "^1.24.0" + es-errors "^1.3.0" + function-bind "^1.1.2" + globalthis "^1.0.4" + has-property-descriptors "^1.0.2" + set-function-name "^2.0.2" + es-define-property@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" @@ -9365,6 +10157,52 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +es-to-primitive@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.3.0.tgz#96c89c82cc49fd8794a24835ba3e1ff87f214e18" + integrity sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g== + dependencies: + is-callable "^1.2.7" + is-date-object "^1.0.5" + is-symbol "^1.0.4" + +es6-promise@^3.2.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.3.1.tgz#a08cdde84ccdbf34d027a1451bc91d4bcd28a613" + integrity sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg== + +esbuild@^0.25.11: + version "0.25.12" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.12.tgz#97a1d041f4ab00c2fce2f838d2b9969a2d2a97a5" + integrity sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg== + optionalDependencies: + "@esbuild/aix-ppc64" "0.25.12" + "@esbuild/android-arm" "0.25.12" + "@esbuild/android-arm64" "0.25.12" + "@esbuild/android-x64" "0.25.12" + "@esbuild/darwin-arm64" "0.25.12" + "@esbuild/darwin-x64" "0.25.12" + "@esbuild/freebsd-arm64" "0.25.12" + "@esbuild/freebsd-x64" "0.25.12" + "@esbuild/linux-arm" "0.25.12" + "@esbuild/linux-arm64" "0.25.12" + "@esbuild/linux-ia32" "0.25.12" + "@esbuild/linux-loong64" "0.25.12" + "@esbuild/linux-mips64el" "0.25.12" + "@esbuild/linux-ppc64" "0.25.12" + "@esbuild/linux-riscv64" "0.25.12" + "@esbuild/linux-s390x" "0.25.12" + "@esbuild/linux-x64" "0.25.12" + "@esbuild/netbsd-arm64" "0.25.12" + "@esbuild/netbsd-x64" "0.25.12" + "@esbuild/openbsd-arm64" "0.25.12" + "@esbuild/openbsd-x64" "0.25.12" + "@esbuild/openharmony-arm64" "0.25.12" + "@esbuild/sunos-x64" "0.25.12" + "@esbuild/win32-arm64" "0.25.12" + "@esbuild/win32-ia32" "0.25.12" + "@esbuild/win32-x64" "0.25.12" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" @@ -9689,7 +10527,7 @@ estree-walker@^3.0.0: dependencies: "@types/estree" "^1.0.0" -esutils@^2.0.2: +esutils@2.0.3, esutils@^2.0.2: version "2.0.3" resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== @@ -9863,6 +10701,16 @@ fast-loops@^1.1.3: resolved "https://registry.yarnpkg.com/fast-loops/-/fast-loops-1.1.4.tgz#61bc77d518c0af5073a638c6d9d5c7683f069ce2" integrity sha512-8dbd3XWoKCTms18ize6JmQF1SFnnfj5s0B7rRry22EofgMu7B6LKHVh+XfFqFGsqnbH54xgeO83PzpKI+ODhlg== +fast-memoize@^2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/fast-memoize/-/fast-memoize-2.5.2.tgz#79e3bb6a4ec867ea40ba0e7146816f6cdce9b57e" + integrity sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw== + +fast-safe-stringify@^2.0.7: + version "2.1.1" + resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" + integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== + fast-shallow-equal@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/fast-shallow-equal/-/fast-shallow-equal-1.0.0.tgz" @@ -9992,6 +10840,14 @@ find-cache-dir@^4.0.0: common-path-prefix "^3.0.0" pkg-dir "^7.0.0" +find-up@5.0.0, find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" @@ -10000,14 +10856,6 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - find-up@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" @@ -10065,6 +10913,13 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" +for-each@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.5.tgz#d650688027826920feeb0af747ee7b9421a41d47" + integrity sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg== + dependencies: + is-callable "^1.2.7" + force-graph@1: version "1.43.1" resolved "https://registry.npmjs.org/force-graph/-/force-graph-1.43.1.tgz" @@ -10139,7 +10994,7 @@ fs-extra@^10.0.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^11.0.0: +fs-extra@^11.0.0, fs-extra@^11.3.1, fs-extra@^11.3.2: version "11.3.3" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.3.3.tgz#a27da23b72524e81ac6c3815cc0179b8c74c59ee" integrity sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg== @@ -10183,6 +11038,18 @@ function.prototype.name@^1.1.5: es-abstract "^1.19.0" functions-have-names "^1.2.2" +function.prototype.name@^1.1.6, function.prototype.name@^1.1.8: + version "1.1.8" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.8.tgz#e68e1df7b259a5c949eeef95cdbde53edffabb78" + integrity sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.3" + define-properties "^1.2.1" + functions-have-names "^1.2.3" + hasown "^2.0.2" + is-callable "^1.2.7" + functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz" @@ -10193,6 +11060,11 @@ functions-have-names@^1.2.2, functions-have-names@^1.2.3: resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== +generator-function@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/generator-function/-/generator-function-2.0.1.tgz#0e75dd410d1243687a0ba2e951b94eedb8f737a2" + integrity sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g== + gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" @@ -10246,7 +11118,7 @@ get-intrinsic@^1.2.4: has-symbols "^1.0.3" hasown "^2.0.0" -get-intrinsic@^1.2.6: +get-intrinsic@^1.2.5, get-intrinsic@^1.2.6, get-intrinsic@^1.2.7, get-intrinsic@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== @@ -10300,6 +11172,15 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" +get-symbol-description@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.1.0.tgz#7bdd54e0befe8ffc9f3b4e203220d9f1e881b6ee" + integrity sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + get-intrinsic "^1.2.6" + git-raw-commits@^2.0.0, git-raw-commits@^2.0.11: version "2.0.11" resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.11.tgz#bc3576638071d18655e1cc60d7f524920008d723" @@ -10396,7 +11277,15 @@ globalthis@^1.0.3: dependencies: define-properties "^1.1.3" -globby@^11.0.3, globby@^11.1.0: +globalthis@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236" + integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ== + dependencies: + define-properties "^1.2.1" + gopd "^1.0.1" + +globby@11.1.0, globby@^11.0.3, globby@^11.1.0: version "11.1.0" resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -10521,6 +11410,13 @@ has-proto@^1.0.1: resolved "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz" integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== +has-proto@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.2.0.tgz#5de5a6eabd95fdffd9818b43055e8065e39fe9d5" + integrity sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ== + dependencies: + dunder-proto "^1.0.0" + has-symbols@^1.0.2, has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz" @@ -10994,6 +11890,11 @@ http-status-codes@2.3.0: resolved "https://registry.yarnpkg.com/http-status-codes/-/http-status-codes-2.3.0.tgz#987fefb28c69f92a43aecc77feec2866349a8bfc" integrity sha512-RJ8XvFvpPM/Dmc5SV+dC4y5PCeOhT3x1Hq0NU3rjGeg5a/CqlhZ7uudknPwZFz4aeAXDcbAyaeP7GAo9lvngtA== +http2-client@^1.2.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/http2-client/-/http2-client-1.3.5.tgz#20c9dc909e3cc98284dd20af2432c524086df181" + integrity sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA== + http2-wrapper@^1.0.0-beta.5.2: version "1.0.3" resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" @@ -11129,6 +12030,11 @@ immediate@~3.0.5: resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ== +immer@^9.0.6: + version "9.0.21" + resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.21.tgz#1e025ea31a40f24fb064f1fef23e931496330176" + integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA== + immutable@^4.0.0: version "4.3.0" resolved "https://registry.npmjs.org/immutable/-/immutable-4.3.0.tgz" @@ -11178,6 +12084,11 @@ index-array-by@1, index-array-by@^1.4.0: resolved "https://registry.npmjs.org/index-array-by/-/index-array-by-1.4.1.tgz" integrity sha512-Zu6THdrxQdyTuT2uA5FjUoBEsFHPzHcPIj18FszN6yXKHxSfGcR4TPLabfuT//E25q1Igyx9xta2WMvD/x9P/g== +inflected@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/inflected/-/inflected-2.1.0.tgz#2816ac17a570bbbc8303ca05bca8bf9b3f959687" + integrity sha512-hAEKNxvHf2Iq3H60oMBHkB4wl5jn3TPF3+fXek/sRwAB5gP9xWs4r7aweSF95f99HFoz69pnZTcu8f0SIHV18w== + inflight@^1.0.4: version "1.0.6" resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" @@ -11251,6 +12162,15 @@ internal-slot@^1.0.3, internal-slot@^1.0.4, internal-slot@^1.0.5: has "^1.0.3" side-channel "^1.0.4" +internal-slot@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.1.0.tgz#1eac91762947d2f7056bc838d93e13b2e9604961" + integrity sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw== + dependencies: + es-errors "^1.3.0" + hasown "^2.0.2" + side-channel "^1.1.0" + "internmap@1 - 2", internmap@2.0.3: version "2.0.3" resolved "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz" @@ -11321,6 +12241,15 @@ is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: get-intrinsic "^1.2.0" is-typed-array "^1.1.10" +is-array-buffer@^3.0.4, is-array-buffer@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.5.tgz#65742e1e687bd2cc666253068fd8707fe4d44280" + integrity sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.3" + get-intrinsic "^1.2.6" + is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" @@ -11331,6 +12260,17 @@ is-arrayish@^0.3.1: resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz" integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== +is-async-function@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-async-function/-/is-async-function-2.1.1.tgz#3e69018c8e04e73b738793d020bfe884b9fd3523" + integrity sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ== + dependencies: + async-function "^1.0.0" + call-bound "^1.0.3" + get-proto "^1.0.1" + has-tostringtag "^1.0.2" + safe-regex-test "^1.1.0" + is-bigint@^1.0.1: version "1.0.4" resolved "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz" @@ -11338,6 +12278,13 @@ is-bigint@^1.0.1: dependencies: has-bigints "^1.0.1" +is-bigint@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.1.0.tgz#dda7a3445df57a42583db4228682eba7c4170672" + integrity sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ== + dependencies: + has-bigints "^1.0.2" + is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz" @@ -11353,6 +12300,14 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-boolean-object@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.2.2.tgz#7067f47709809a393c71ff5bb3e135d8a9215d9e" + integrity sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A== + dependencies: + call-bound "^1.0.3" + has-tostringtag "^1.0.2" + is-buffer@^1.0.2: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" @@ -11389,6 +12344,15 @@ is-core-module@^2.13.0: dependencies: has "^1.0.3" +is-data-view@^1.0.1, is-data-view@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-data-view/-/is-data-view-1.0.2.tgz#bae0a41b9688986c2188dda6657e56b8f9e63b8e" + integrity sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw== + dependencies: + call-bound "^1.0.2" + get-intrinsic "^1.2.6" + is-typed-array "^1.1.13" + is-date-object@^1.0.1, is-date-object@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz" @@ -11396,6 +12360,14 @@ is-date-object@^1.0.1, is-date-object@^1.0.5: dependencies: has-tostringtag "^1.0.0" +is-date-object@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.1.0.tgz#ad85541996fc7aa8b2729701d27b7319f95d82f7" + integrity sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg== + dependencies: + call-bound "^1.0.2" + has-tostringtag "^1.0.2" + is-decimal@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" @@ -11416,6 +12388,13 @@ is-extglob@^2.1.1: resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== +is-finalizationregistry@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz#eefdcdc6c94ddd0674d9c85887bf93f944a97c90" + integrity sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg== + dependencies: + call-bound "^1.0.3" + is-fullwidth-code-point@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" @@ -11436,6 +12415,17 @@ is-generator-fn@^2.0.0: resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== +is-generator-function@^1.0.10: + version "1.1.2" + resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.1.2.tgz#ae3b61e3d5ea4e4839b90bad22b02335051a17d5" + integrity sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA== + dependencies: + call-bound "^1.0.4" + generator-function "^2.0.0" + get-proto "^1.0.1" + has-tostringtag "^1.0.2" + safe-regex-test "^1.1.0" + is-generator-function@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" @@ -11477,11 +12467,21 @@ is-map@^2.0.1, is-map@^2.0.2: resolved "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz" integrity sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg== +is-map@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.3.tgz#ede96b7fe1e270b3c4465e3a465658764926d62e" + integrity sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw== + is-negative-zero@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz" integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== +is-negative-zero@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz#ced903a027aca6381b777a5743069d7376a49747" + integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== + is-network-error@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-network-error/-/is-network-error-1.1.0.tgz#d26a760e3770226d11c169052f266a4803d9c997" @@ -11499,6 +12499,14 @@ is-number-object@^1.0.4: dependencies: has-tostringtag "^1.0.0" +is-number-object@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.1.1.tgz#144b21e95a1bc148205dcc2814a9134ec41b2541" + integrity sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw== + dependencies: + call-bound "^1.0.3" + has-tostringtag "^1.0.2" + is-number@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" @@ -11556,11 +12564,26 @@ is-regex@^1.1.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-regex@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.2.1.tgz#76d70a3ed10ef9be48eb577887d74205bf0cad22" + integrity sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g== + dependencies: + call-bound "^1.0.2" + gopd "^1.2.0" + has-tostringtag "^1.0.2" + hasown "^2.0.2" + is-set@^2.0.1, is-set@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz" integrity sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g== +is-set@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.3.tgz#8ab209ea424608141372ded6e0cb200ef1d9d01d" + integrity sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg== + is-shared-array-buffer@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz" @@ -11568,6 +12591,13 @@ is-shared-array-buffer@^1.0.2: dependencies: call-bind "^1.0.2" +is-shared-array-buffer@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz#9b67844bd9b7f246ba0708c3a93e34269c774f6f" + integrity sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A== + dependencies: + call-bound "^1.0.3" + is-stream@^2.0.0: version "2.0.1" resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" @@ -11580,6 +12610,14 @@ is-string@^1.0.5, is-string@^1.0.7: dependencies: has-tostringtag "^1.0.0" +is-string@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.1.1.tgz#92ea3f3d5c5b6e039ca8677e5ac8d07ea773cbb9" + integrity sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA== + dependencies: + call-bound "^1.0.3" + has-tostringtag "^1.0.2" + is-svg@^4.3.1: version "4.4.0" resolved "https://registry.yarnpkg.com/is-svg/-/is-svg-4.4.0.tgz#34db20a38146be5f2b3060154da33d11e6f74b7c" @@ -11594,6 +12632,15 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" +is-symbol@^1.0.4, is-symbol@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.1.1.tgz#f47761279f532e2b05a7024a7506dbbedacd0634" + integrity sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w== + dependencies: + call-bound "^1.0.2" + has-symbols "^1.1.0" + safe-regex-test "^1.1.0" + is-text-path@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz" @@ -11612,6 +12659,13 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.9: gopd "^1.0.1" has-tostringtag "^1.0.0" +is-typed-array@^1.1.13, is-typed-array@^1.1.14, is-typed-array@^1.1.15: + version "1.1.15" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.15.tgz#4bfb4a45b61cee83a5a46fba778e4e8d59c0ce0b" + integrity sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ== + dependencies: + which-typed-array "^1.1.16" + is-typed-array@^1.1.3: version "1.1.12" resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" @@ -11634,6 +12688,11 @@ is-weakmap@^2.0.1: resolved "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz" integrity sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA== +is-weakmap@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.2.tgz#bf72615d649dfe5f699079c54b83e47d1ae19cfd" + integrity sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w== + is-weakref@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz" @@ -11641,6 +12700,13 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" +is-weakref@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.1.1.tgz#eea430182be8d64174bd96bffbc46f21bf3f9293" + integrity sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew== + dependencies: + call-bound "^1.0.3" + is-weakset@^2.0.1: version "2.0.2" resolved "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.2.tgz" @@ -11649,6 +12715,14 @@ is-weakset@^2.0.1: call-bind "^1.0.2" get-intrinsic "^1.1.1" +is-weakset@^2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.4.tgz#c9f5deb0bc1906c6d6f1027f284ddf459249daca" + integrity sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ== + dependencies: + call-bound "^1.0.3" + get-intrinsic "^1.2.6" + is-what@^3.14.1: version "3.14.1" resolved "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz" @@ -12243,6 +13317,11 @@ jest@^27.5.1: import-local "^3.0.2" jest-cli "^27.5.1" +jiti@^2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.6.1.tgz#178ef2fc9a1a594248c20627cd820187a4d78d92" + integrity sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ== + js-base64@^3.7.2: version "3.7.5" resolved "https://registry.npmjs.org/js-base64/-/js-base64-3.7.5.tgz" @@ -12268,6 +13347,13 @@ js-sha3@0.8.0: resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== +js-yaml@4.1.1, js-yaml@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b" + integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA== + dependencies: + argparse "^2.0.1" + js-yaml@^3.13.1: version "3.14.1" resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" @@ -12276,13 +13362,6 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b" - integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA== - dependencies: - argparse "^2.0.1" - jsdom@^16.6.0: version "16.7.0" resolved "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz" @@ -12316,6 +13395,11 @@ jsdom@^16.6.0: ws "^7.4.6" xml-name-validator "^3.0.0" +jsep@^1.2.0, jsep@^1.3.6, jsep@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/jsep/-/jsep-1.4.0.tgz#19feccbfa51d8a79f72480b4b8e40ce2e17152f0" + integrity sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw== + jsesc@^2.5.1: version "2.5.2" resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" @@ -12380,6 +13464,11 @@ json5@^1.0.2: dependencies: minimist "^1.2.0" +jsonc-parser@~2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-2.2.1.tgz#db73cd59d78cce28723199466b2a03d1be1df2bc" + integrity sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w== + jsonfile@^6.0.1: version "6.1.0" resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz" @@ -12394,6 +13483,25 @@ jsonparse@^1.2.0: resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz" integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== +jsonpath-plus@^10.3.0, "jsonpath-plus@^6.0.1 || ^10.1.0": + version "10.3.0" + resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-10.3.0.tgz#59e22e4fa2298c68dfcd70659bb47f0cad525238" + integrity sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA== + dependencies: + "@jsep-plugin/assignment" "^1.3.0" + "@jsep-plugin/regex" "^1.0.4" + jsep "^1.4.0" + +jsonpointer@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-5.0.1.tgz#2110e0af0900fd37467b5907ecd13a7884a1b559" + integrity sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ== + +jsonschema@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.5.0.tgz#f6aceb1ab9123563dd901d05f81f9d4883d3b7d8" + integrity sha512-K+A9hhqbn0f3pJX17Q/7H6yQfD/5OXgdrR5UE12gMXCiN9D5Xq2o5mddV2QEcX/bjla99ASsAAQUyMCCRWAEhw== + "jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.3: version "3.3.3" resolved "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz" @@ -12526,7 +13634,7 @@ less@^4.2.0: needle "^3.1.0" source-map "~0.6.0" -leven@^3.1.0: +leven@3.1.0, leven@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz" integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== @@ -12569,6 +13677,13 @@ lines-and-columns@^1.1.6: resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +linkify-it@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421" + integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ== + dependencies: + uc.micro "^2.0.0" + lint-staged@^12.5.0: version "12.5.0" resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-12.5.0.tgz#d6925747480ae0e380d13988522f9dd8ef9126e3" @@ -12677,6 +13792,11 @@ lodash.debounce@^4.0.8: resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz" integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== +lodash.isempty@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e" + integrity sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg== + lodash.isequal@^4.0.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" @@ -12712,6 +13832,11 @@ lodash.mergewith@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== +lodash.omitby@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/lodash.omitby/-/lodash.omitby-4.6.0.tgz#5c15ff4754ad555016b53c041311e8f079204791" + integrity sha512-5OrRcIVR75M288p4nbI2WLAf3ndw2GD9fyNv3Bc15+WCxJDdZ4lYndSxGd7hnG6PVjiJTeJE2dHEGhIuKGicIQ== + lodash.snakecase@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz#39d714a35357147837aefd64b5dcbb16becd8f8d" @@ -12722,6 +13847,11 @@ lodash.startcase@^4.4.0: resolved "https://registry.yarnpkg.com/lodash.startcase/-/lodash.startcase-4.4.0.tgz#9436e34ed26093ed7ffae1936144350915d9add8" integrity sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg== +lodash.topath@^4.5.2: + version "4.5.2" + resolved "https://registry.yarnpkg.com/lodash.topath/-/lodash.topath-4.5.2.tgz#3616351f3bba61994a0931989660bd03254fd009" + integrity sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg== + lodash.truncate@^4.4.2: version "4.4.2" resolved "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz" @@ -12732,6 +13862,16 @@ lodash.uniq@^4.5.0: resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz" integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== +lodash.uniqby@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302" + integrity sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww== + +lodash.uniqwith@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.uniqwith/-/lodash.uniqwith-4.5.0.tgz#7a0cbf65f43b5928625a9d4d0dc54b18cadc7ef3" + integrity sha512-7lYL8bLopMoy4CTICbxygAUq6CdRJ36vFc80DucPueUee+d5NBRxz3FdT9Pes/HEx5mPoT9jwnsEJWz1N7uq7Q== + lodash.upperfirst@^4.3.1: version "4.3.1" resolved "https://registry.yarnpkg.com/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz#1365edf431480481ef0d1c68957a5ed99d49f7ce" @@ -12742,6 +13882,11 @@ lodash@4.17.21, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17. resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== +lodash@~4.17.21: + version "4.17.23" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.23.tgz#f113b0378386103be4f6893388c73d0bde7f2c5a" + integrity sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w== + log-symbols@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" @@ -12760,6 +13905,16 @@ log-update@^4.0.0: slice-ansi "^4.0.0" wrap-ansi "^6.2.0" +loglevel-plugin-prefix@0.8.4: + version "0.8.4" + resolved "https://registry.yarnpkg.com/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.4.tgz#2fe0e05f1a820317d98d8c123e634c1bd84ff644" + integrity sha512-WpG9CcFAOjz/FtNht+QJeGpvVl/cdR6P0z6OcXSkr8wFJOsV2GRj2j10JLfjuA4aYkcKCNIEqRGCyTife9R8/g== + +loglevel@^1.9.2: + version "1.9.2" + resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.9.2.tgz#c2e028d6c757720107df4e64508530db6621ba08" + integrity sha512-HgMmCqIJSAKqo68l0rS2AanEWfkxaZ5wNiEFb5ggm08lDs9Xl2KxBlX3PTcaD2chBM1gXAYf491/M2Rv8Jwayg== + longest-streak@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" @@ -12831,6 +13986,11 @@ lucide-solid@^0.510.0: resolved "https://registry.yarnpkg.com/lucide-solid/-/lucide-solid-0.510.0.tgz#f5b17397ef1df3017f62f96f4d00e080abfb492f" integrity sha512-G6rKYxURfSLG/zeOCN/BEl2dq2ezujFKPbcHjl7RLJ4bBQwWk4ZF2Swga/8anWglSVZyqYz7HMrrpb8/+vOcXw== +lunr@^2.3.9: + version "2.3.9" + resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" + integrity sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow== + lz-string@^1.4.4: version "1.5.0" resolved "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz" @@ -12897,6 +14057,18 @@ markdown-extensions@^1.0.0: resolved "https://registry.yarnpkg.com/markdown-extensions/-/markdown-extensions-1.1.1.tgz#fea03b539faeaee9b4ef02a3769b455b189f7fc3" integrity sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q== +markdown-it@^14.1.0: + version "14.1.0" + resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.1.0.tgz#3c3c5992883c633db4714ccb4d7b5935d98b7d45" + integrity sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg== + dependencies: + argparse "^2.0.1" + entities "^4.4.0" + linkify-it "^5.0.0" + mdurl "^2.0.0" + punycode.js "^2.3.1" + uc.micro "^2.1.0" + markdown-table@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-3.0.3.tgz#e6331d30e493127e031dd385488b5bd326e4a6bd" @@ -13144,6 +14316,11 @@ mdn-data@2.0.30: resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc" integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA== +mdurl@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0" + integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w== + media-typer@0.3.0: version "0.3.0" resolved "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz" @@ -13681,13 +14858,20 @@ minimalistic-assert@^1.0.0: resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== -minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@3.1.2, minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== dependencies: brace-expansion "^1.1.7" +minimatch@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-6.2.0.tgz#2b70fd13294178c69c04dfc05aebdb97a4e79e42" + integrity sha512-sauLxniAmvnhhRjFwPNnJKaPFYyddAgbYdeUpHULtCT/GhzdCx/MDNy+Y40lBxTQUrMzDE8e0S43Z5uqfO0REg== + dependencies: + brace-expansion "^2.0.1" + minimatch@^8.0.2: version "8.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-8.0.4.tgz#847c1b25c014d4e9a7f68aaf63dedd668a626229" @@ -13695,6 +14879,13 @@ minimatch@^8.0.2: dependencies: brace-expansion "^2.0.1" +minimatch@^9.0.5: + version "9.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== + dependencies: + brace-expansion "^2.0.1" + minimist-options@4.1.0: version "4.1.0" resolved "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz" @@ -13936,6 +15127,19 @@ nice-color-palettes@^1.0.1: new-array "^1.0.0" xhr-request "^1.0.1" +nimma@0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/nimma/-/nimma-0.2.3.tgz#33cd6244ede857d9c8ac45b9d1aad07091559e45" + integrity sha512-1ZOI8J+1PKKGceo/5CT5GfQOG6H8I2BencSK06YarZ2wXwH37BSSUWldqJmMJYA5JfqDqffxDXynt6f11AyKcA== + dependencies: + "@jsep-plugin/regex" "^1.0.1" + "@jsep-plugin/ternary" "^1.0.2" + astring "^1.8.1" + jsep "^1.2.0" + optionalDependencies: + jsonpath-plus "^6.0.1 || ^10.1.0" + lodash.topath "^4.5.2" + no-case@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz" @@ -13949,6 +15153,13 @@ node-addon-api@^7.0.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.1.tgz#1aba6693b0f255258a049d621329329322aad558" integrity sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ== +node-fetch-h2@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/node-fetch-h2/-/node-fetch-h2-2.3.0.tgz#c6188325f9bd3d834020bf0f2d6dc17ced2241ac" + integrity sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg== + dependencies: + http2-client "^1.2.5" + node-fetch@2.6.7: version "2.6.7" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" @@ -13956,7 +15167,7 @@ node-fetch@2.6.7: dependencies: whatwg-url "^5.0.0" -node-fetch@^2.6.7: +node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.7, node-fetch@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -13973,6 +15184,13 @@ node-int64@^0.4.0: resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== +node-readfiles@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/node-readfiles/-/node-readfiles-0.2.0.tgz#dbbd4af12134e2e635c245ef93ffcf6f60673a5d" + integrity sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA== + dependencies: + es6-promise "^3.2.1" + node-releases@^2.0.14: version "2.0.14" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" @@ -14057,6 +15275,52 @@ nwsapi@^2.2.0: resolved "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.4.tgz" integrity sha512-NHj4rzRo0tQdijE9ZqAx6kYDcoRwYwSYzCA8MY3JzfxlrvEU0jhnhJT9BhqhJs7I/dKcrDm6TyulaRqZPIhN5g== +oas-kit-common@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/oas-kit-common/-/oas-kit-common-1.0.8.tgz#6d8cacf6e9097967a4c7ea8bcbcbd77018e1f535" + integrity sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ== + dependencies: + fast-safe-stringify "^2.0.7" + +oas-linter@^3.2.2: + version "3.2.2" + resolved "https://registry.yarnpkg.com/oas-linter/-/oas-linter-3.2.2.tgz#ab6a33736313490659035ca6802dc4b35d48aa1e" + integrity sha512-KEGjPDVoU5K6swgo9hJVA/qYGlwfbFx+Kg2QB/kd7rzV5N8N5Mg6PlsoCMohVnQmo+pzJap/F610qTodKzecGQ== + dependencies: + "@exodus/schemasafe" "^1.0.0-rc.2" + should "^13.2.1" + yaml "^1.10.0" + +oas-resolver@^2.5.6: + version "2.5.6" + resolved "https://registry.yarnpkg.com/oas-resolver/-/oas-resolver-2.5.6.tgz#10430569cb7daca56115c915e611ebc5515c561b" + integrity sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ== + dependencies: + node-fetch-h2 "^2.3.0" + oas-kit-common "^1.0.8" + reftools "^1.1.9" + yaml "^1.10.0" + yargs "^17.0.1" + +oas-schema-walker@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/oas-schema-walker/-/oas-schema-walker-1.1.5.tgz#74c3cd47b70ff8e0b19adada14455b5d3ac38a22" + integrity sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ== + +oas-validator@^5.0.8: + version "5.0.8" + resolved "https://registry.yarnpkg.com/oas-validator/-/oas-validator-5.0.8.tgz#387e90df7cafa2d3ffc83b5fb976052b87e73c28" + integrity sha512-cu20/HE5N5HKqVygs3dt94eYJfBi0TsZvPVXDhbXQHiEityDN+RROTleefoKRKKJ9dFAF2JBkDHgvWj0sjKGmw== + dependencies: + call-me-maybe "^1.0.1" + oas-kit-common "^1.0.8" + oas-linter "^3.2.2" + oas-resolver "^2.5.6" + oas-schema-walker "^1.1.5" + reftools "^1.1.9" + should "^13.2.1" + yaml "^1.10.0" + object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" @@ -14072,6 +15336,11 @@ object-inspect@^1.13.1: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== +object-inspect@^1.13.3, object-inspect@^1.13.4: + version "1.13.4" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" + integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== + object-is@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" @@ -14095,6 +15364,18 @@ object.assign@^4.1.3, object.assign@^4.1.4: has-symbols "^1.0.3" object-keys "^1.1.1" +object.assign@^4.1.7: + version "4.1.7" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.7.tgz#8c14ca1a424c6a561b0bb2a22f66f5049a945d3d" + integrity sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.3" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + has-symbols "^1.1.0" + object-keys "^1.1.1" + object.entries@^1.1.6: version "1.1.6" resolved "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz" @@ -14224,6 +15505,13 @@ open@^10.0.3: is-inside-container "^1.0.0" is-wsl "^3.1.0" +openapi3-ts@4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/openapi3-ts/-/openapi3-ts-4.5.0.tgz#1241fcdac0a711d654dfa74feebc2ce7a210790a" + integrity sha512-jaL+HgTq2Gj5jRcfdutgRGLosCy/hT8sQf6VOy+P+g36cZOjI1iukdPnijC+4CmeRzg/jEllJUboEic2FhxhtQ== + dependencies: + yaml "^2.8.0" + opener@^1.5.2: version "1.5.2" resolved "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz" @@ -14268,6 +15556,40 @@ ora@^5.4.1: strip-ansi "^6.0.0" wcwidth "^1.0.1" +orval@7.18.0: + version "7.18.0" + resolved "https://registry.yarnpkg.com/orval/-/orval-7.18.0.tgz#37f727300f62e470158154b9c5be3c81b4341da2" + integrity sha512-mPGSQeAAxhvRoxMKn22vmmtFa5eoJiwTBUSsrwKjKjC+rJdA3eWOLRiU1ICq2lep22S+3qpEy5WizP5FW26+rg== + dependencies: + "@apidevtools/swagger-parser" "^12.1.0" + "@commander-js/extra-typings" "^14.0.0" + "@orval/angular" "7.18.0" + "@orval/axios" "7.18.0" + "@orval/core" "7.18.0" + "@orval/fetch" "7.18.0" + "@orval/hono" "7.18.0" + "@orval/mcp" "7.18.0" + "@orval/mock" "7.18.0" + "@orval/query" "7.18.0" + "@orval/swr" "7.18.0" + "@orval/zod" "7.18.0" + chalk "^4.1.2" + chokidar "^4.0.3" + commander "^14.0.1" + enquirer "^2.4.1" + execa "^5.1.1" + find-up "5.0.0" + fs-extra "^11.3.2" + jiti "^2.6.1" + js-yaml "4.1.1" + lodash.uniq "^4.5.0" + openapi3-ts "4.5.0" + string-argv "^0.3.2" + tsconfck "^2.1.2" + typedoc "^0.28.14" + typedoc-plugin-coverage "^4.0.2" + typedoc-plugin-markdown "^4.9.0" + outvariant@^1.2.1, outvariant@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/outvariant/-/outvariant-1.4.0.tgz#e742e4bda77692da3eca698ef5bfac62d9fba06e" @@ -14283,6 +15605,15 @@ overlayscrollbars@^2.8.1: resolved "https://registry.yarnpkg.com/overlayscrollbars/-/overlayscrollbars-2.9.2.tgz#056020a3811742b58b754fab6f775d49bd109be9" integrity sha512-iDT84r39i7oWP72diZN2mbJUsn/taCq568aQaIrc84S87PunBT7qtsVltAF2esk7ORTRjQDnfjVYoqqTzgs8QA== +own-keys@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/own-keys/-/own-keys-1.0.1.tgz#e4006910a2bf913585289676eebd6f390cf51358" + integrity sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg== + dependencies: + get-intrinsic "^1.2.6" + object-keys "^1.1.1" + safe-push-apply "^1.0.0" + p-cancelable@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" @@ -14654,6 +15985,11 @@ polished@4: dependencies: "@babel/runtime" "^7.17.8" +pony-cause@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/pony-cause/-/pony-cause-1.1.1.tgz#f795524f83bebbf1878bd3587b45f69143cbf3f9" + integrity sha512-PxkIc/2ZpLiEzQXu5YRDOUgBlfGYBY8156HY5ZcRAwwonMk5W/MrJP2LLkG/hF7GEQzaHo2aS7ho6ZLCOvf+6g== + portfinder-sync@^0.0.2: version "0.0.2" resolved "https://registry.npmjs.org/portfinder-sync/-/portfinder-sync-0.0.2.tgz" @@ -14671,6 +16007,11 @@ portfinder@^1.0.10: debug "^3.2.7" mkdirp "^0.5.6" +possible-typed-array-names@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz#93e3582bc0e5426586d9d07b79ee40fc841de4ae" + integrity sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg== + postcss-calc@^9.0.0: version "9.0.1" resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-9.0.1.tgz#a744fd592438a93d6de0f1434c572670361eb6c6" @@ -15130,6 +16471,11 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" +punycode.js@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode.js/-/punycode.js-2.3.1.tgz#6b53e56ad75588234e79f4affa90972c7dd8cdb7" + integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA== + punycode@^2.1.0, punycode@^2.1.1: version "2.3.0" resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz" @@ -16158,6 +17504,20 @@ redux@^4.0.0, redux@^4.0.4, redux@^4.0.5, redux@^4.2.0: dependencies: "@babel/runtime" "^7.9.2" +reflect.getprototypeof@^1.0.6, reflect.getprototypeof@^1.0.9: + version "1.0.10" + resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz#c629219e78a3316d8b604c765ef68996964e7bf9" + integrity sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw== + dependencies: + call-bind "^1.0.8" + define-properties "^1.2.1" + es-abstract "^1.23.9" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.7" + get-proto "^1.0.1" + which-builtin-type "^1.2.1" + refractor@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.6.0.tgz#ac318f5a0715ead790fcfb0c71f4dd83d977935a" @@ -16177,6 +17537,11 @@ refractor@^4.8.0: hastscript "^7.0.0" parse-entities "^4.0.0" +reftools@^1.1.9: + version "1.1.9" + resolved "https://registry.yarnpkg.com/reftools/-/reftools-1.1.9.tgz#e16e19f662ccd4648605312c06d34e5da3a2b77e" + integrity sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w== + regenerate-unicode-properties@^10.1.0: version "10.1.0" resolved "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz" @@ -16217,6 +17582,18 @@ regexp.prototype.flags@^1.4.3, regexp.prototype.flags@^1.5.0: define-properties "^1.2.0" functions-have-names "^1.2.3" +regexp.prototype.flags@^1.5.4: + version "1.5.4" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz#1ad6c62d44a259007e55b3970e00f746efbcaa19" + integrity sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA== + dependencies: + call-bind "^1.0.8" + define-properties "^1.2.1" + es-errors "^1.3.0" + get-proto "^1.0.1" + gopd "^1.2.0" + set-function-name "^2.0.2" + regexpp@^3.1.0: version "3.2.0" resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz" @@ -16618,6 +17995,17 @@ safe-array-concat@^1.0.0: has-symbols "^1.0.3" isarray "^2.0.5" +safe-array-concat@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.3.tgz#c9e54ec4f603b0bbb8e7e5007a5ee7aecd1538c3" + integrity sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.2" + get-intrinsic "^1.2.6" + has-symbols "^1.1.0" + isarray "^2.0.5" + safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" @@ -16628,6 +18016,14 @@ safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.1.0, safe-buffer@~5.2.0: resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== +safe-push-apply@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/safe-push-apply/-/safe-push-apply-1.0.0.tgz#01850e981c1602d398c85081f360e4e6d03d27f5" + integrity sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA== + dependencies: + es-errors "^1.3.0" + isarray "^2.0.5" + safe-regex-test@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz" @@ -16637,6 +18033,20 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" +safe-regex-test@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.1.0.tgz#7f87dfb67a3150782eaaf18583ff5d1711ac10c1" + integrity sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + is-regex "^1.2.1" + +safe-stable-stringify@^1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz#c8a220ab525cd94e60ebf47ddc404d610dc5d84a" + integrity sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw== + "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" @@ -16807,7 +18217,7 @@ set-cookie-parser@^2.4.6: resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz#131921e50f62ff1a66a461d7d62d7b21d5d15a51" integrity sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ== -set-function-length@^1.2.1: +set-function-length@^1.2.1, set-function-length@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== @@ -16819,11 +18229,30 @@ set-function-length@^1.2.1: gopd "^1.0.1" has-property-descriptors "^1.0.2" +set-function-name@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.2.tgz#16a705c5a0dc2f5e638ca96d8a8cd4e1c2b90985" + integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ== + dependencies: + define-data-property "^1.1.4" + es-errors "^1.3.0" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.2" + set-harmonic-interval@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/set-harmonic-interval/-/set-harmonic-interval-1.0.1.tgz" integrity sha512-AhICkFV84tBP1aWqPwLZqFvAwqEoVA9kxNMniGEUvzOlm4vLmOFLiTT3UZ6bziJTy4bOVpzWGTfSCbmaayGx8g== +set-proto@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/set-proto/-/set-proto-1.0.0.tgz#0760dbcff30b2d7e801fd6e19983e56da337565e" + integrity sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw== + dependencies: + dunder-proto "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + setimmediate@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" @@ -16902,6 +18331,79 @@ shell-quote@^1.8.1: resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.3.tgz#55e40ef33cf5c689902353a3d8cd1a6725f08b4b" integrity sha512-ObmnIF4hXNg1BqhnHmgbDETF8dLPCggZWBjkQfhZpbszZnYur5DUljTcCHii5LC3J5E0yeO/1LIMyH+UvHQgyw== +should-equal@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/should-equal/-/should-equal-2.0.0.tgz#6072cf83047360867e68e98b09d71143d04ee0c3" + integrity sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA== + dependencies: + should-type "^1.4.0" + +should-format@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/should-format/-/should-format-3.0.3.tgz#9bfc8f74fa39205c53d38c34d717303e277124f1" + integrity sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q== + dependencies: + should-type "^1.3.0" + should-type-adaptors "^1.0.1" + +should-type-adaptors@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz#401e7f33b5533033944d5cd8bf2b65027792e27a" + integrity sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA== + dependencies: + should-type "^1.3.0" + should-util "^1.0.0" + +should-type@^1.3.0, should-type@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/should-type/-/should-type-1.4.0.tgz#0756d8ce846dfd09843a6947719dfa0d4cff5cf3" + integrity sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ== + +should-util@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/should-util/-/should-util-1.0.1.tgz#fb0d71338f532a3a149213639e2d32cbea8bcb28" + integrity sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g== + +should@^13.2.1: + version "13.2.3" + resolved "https://registry.yarnpkg.com/should/-/should-13.2.3.tgz#96d8e5acf3e97b49d89b51feaa5ae8d07ef58f10" + integrity sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ== + dependencies: + should-equal "^2.0.0" + should-format "^3.0.3" + should-type "^1.4.0" + should-type-adaptors "^1.0.1" + should-util "^1.0.0" + +side-channel-list@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad" + integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.3" + +side-channel-map@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/side-channel-map/-/side-channel-map-1.0.1.tgz#d6bb6b37902c6fef5174e5f533fab4c732a26f42" + integrity sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + get-intrinsic "^1.2.5" + object-inspect "^1.13.3" + +side-channel-weakmap@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz#11dda19d5368e40ce9ec2bdc1fb0ecbc0790ecea" + integrity sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A== + dependencies: + call-bound "^1.0.2" + es-errors "^1.3.0" + get-intrinsic "^1.2.5" + object-inspect "^1.13.3" + side-channel-map "^1.0.1" + side-channel@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz" @@ -16921,6 +18423,17 @@ side-channel@^1.0.6: get-intrinsic "^1.2.4" object-inspect "^1.13.1" +side-channel@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9" + integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw== + dependencies: + es-errors "^1.3.0" + object-inspect "^1.13.3" + side-channel-list "^1.0.0" + side-channel-map "^1.0.1" + side-channel-weakmap "^1.0.2" + signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" @@ -16931,6 +18444,13 @@ simple-concat@^1.0.0: resolved "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz" integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== +simple-eval@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/simple-eval/-/simple-eval-1.0.1.tgz#f91fc2b1583b7f5b972cdc088b769880087120a5" + integrity sha512-LH7FpTAkeD+y5xQC4fzS+tFtaNlvt3Ib1zKzvhjv/Y+cioV4zIuw4IZr2yhRLu67CWL7FR9/6KXKnjRoZTvGGQ== + dependencies: + jsep "^1.3.6" + simple-get@^2.7.0: version "2.8.2" resolved "https://registry.npmjs.org/simple-get/-/simple-get-2.8.2.tgz" @@ -17201,6 +18721,14 @@ stop-iteration-iterator@^1.0.0: dependencies: internal-slot "^1.0.4" +stop-iteration-iterator@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz#f481ff70a548f6124d0312c3aa14cbfa7aa542ad" + integrity sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ== + dependencies: + es-errors "^1.3.0" + internal-slot "^1.1.0" + stream@^0.0.2: version "0.0.2" resolved "https://registry.npmjs.org/stream/-/stream-0.0.2.tgz" @@ -17230,6 +18758,11 @@ string-argv@^0.3.1: resolved "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz" integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== +string-argv@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" + integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== + string-convert@^0.2.0: version "0.2.1" resolved "https://registry.npmjs.org/string-convert/-/string-convert-0.2.1.tgz" @@ -17289,6 +18822,19 @@ string.prototype.padend@^3.0.0: define-properties "^1.2.0" es-abstract "^1.22.1" +string.prototype.trim@^1.2.10: + version "1.2.10" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz#40b2dd5ee94c959b4dcfb1d65ce72e90da480c81" + integrity sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.2" + define-data-property "^1.1.4" + define-properties "^1.2.1" + es-abstract "^1.23.5" + es-object-atoms "^1.0.0" + has-property-descriptors "^1.0.2" + string.prototype.trim@^1.2.7: version "1.2.7" resolved "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz" @@ -17307,6 +18853,16 @@ string.prototype.trimend@^1.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" +string.prototype.trimend@^1.0.9: + version "1.0.9" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz#62e2731272cd285041b36596054e9f66569b6942" + integrity sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ== + dependencies: + call-bind "^1.0.8" + call-bound "^1.0.2" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + string.prototype.trimstart@^1.0.6: version "1.0.6" resolved "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz" @@ -17316,6 +18872,15 @@ string.prototype.trimstart@^1.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" +string.prototype.trimstart@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz#7ee834dda8c7c17eff3118472bb35bfedaa34dde" + integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" + string_decoder@^1.1.1, string_decoder@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" @@ -17551,6 +19116,23 @@ svgpath@^2.2.1: resolved "https://registry.yarnpkg.com/svgpath/-/svgpath-2.6.0.tgz#5b160ef3d742b7dfd2d721bf90588d3450d7a90d" integrity sha512-OIWR6bKzXvdXYyO4DK/UWa1VA1JeKq8E+0ug2DG98Y/vOmMpfZNj+TIG988HjfYSqtcy/hFOtZq/n/j5GSESNg== +swagger2openapi@^7.0.8: + version "7.0.8" + resolved "https://registry.yarnpkg.com/swagger2openapi/-/swagger2openapi-7.0.8.tgz#12c88d5de776cb1cbba758994930f40ad0afac59" + integrity sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g== + dependencies: + call-me-maybe "^1.0.1" + node-fetch "^2.6.1" + node-fetch-h2 "^2.3.0" + node-readfiles "^0.2.0" + oas-kit-common "^1.0.8" + oas-resolver "^2.5.6" + oas-schema-walker "^1.1.5" + oas-validator "^5.0.8" + reftools "^1.1.9" + yaml "^1.10.0" + yargs "^17.0.1" + symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz" @@ -17888,6 +19470,11 @@ ts-node@^10.2.1, ts-node@^10.8.1: v8-compile-cache-lib "^3.0.1" yn "3.1.1" +tsconfck@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/tsconfck/-/tsconfck-2.1.2.tgz#f667035874fa41d908c1fe4d765345fcb1df6e35" + integrity sha512-ghqN1b0puy3MhhviwO2kGF8SeMDNhEbnKxjK7h6+fvY9JAxqvXi8y5NAHSQv687OVboS2uZIByzGd45/YxrRHg== + tsconfig-paths-webpack-plugin@^3.5.1: version "3.5.2" resolved "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-3.5.2.tgz" @@ -17921,7 +19508,7 @@ tslib@2.7.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== -tslib@^1.8.1: +tslib@^1.14.1, tslib@^1.8.1: version "1.14.1" resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== @@ -17936,7 +19523,7 @@ tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0: resolved "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== -tslib@^2.4.0: +tslib@^2.2.0, tslib@^2.4.0, tslib@^2.6.0, tslib@^2.8.1: version "2.8.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== @@ -18031,6 +19618,15 @@ typed-array-buffer@^1.0.0: get-intrinsic "^1.2.1" is-typed-array "^1.1.10" +typed-array-buffer@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz#a72395450a4869ec033fd549371b47af3a2ee536" + integrity sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw== + dependencies: + call-bound "^1.0.3" + es-errors "^1.3.0" + is-typed-array "^1.1.14" + typed-array-byte-length@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz#d787a24a995711611fb2b87a4052799517b230d0" @@ -18041,6 +19637,17 @@ typed-array-byte-length@^1.0.0: has-proto "^1.0.1" is-typed-array "^1.1.10" +typed-array-byte-length@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz#8407a04f7d78684f3d252aa1a143d2b77b4160ce" + integrity sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg== + dependencies: + call-bind "^1.0.8" + for-each "^0.3.3" + gopd "^1.2.0" + has-proto "^1.2.0" + is-typed-array "^1.1.14" + typed-array-byte-offset@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz#cbbe89b51fdef9cd6aaf07ad4707340abbc4ea0b" @@ -18052,6 +19659,19 @@ typed-array-byte-offset@^1.0.0: has-proto "^1.0.1" is-typed-array "^1.1.10" +typed-array-byte-offset@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz#ae3698b8ec91a8ab945016108aef00d5bff12355" + integrity sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.8" + for-each "^0.3.3" + gopd "^1.2.0" + has-proto "^1.2.0" + is-typed-array "^1.1.15" + reflect.getprototypeof "^1.0.9" + typed-array-length@^1.0.4: version "1.0.4" resolved "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz" @@ -18061,6 +19681,18 @@ typed-array-length@^1.0.4: for-each "^0.3.3" is-typed-array "^1.1.9" +typed-array-length@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.7.tgz#ee4deff984b64be1e118b0de8c9c877d5ce73d3d" + integrity sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg== + dependencies: + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + is-typed-array "^1.1.13" + possible-typed-array-names "^1.0.0" + reflect.getprototypeof "^1.0.6" + typedarray-to-buffer@^3.1.5: version "3.1.5" resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" @@ -18068,6 +19700,27 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" +typedoc-plugin-coverage@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/typedoc-plugin-coverage/-/typedoc-plugin-coverage-4.0.2.tgz#96895bccb0656c1496ba818b000f4baf02223e2f" + integrity sha512-mfn0e7NCqB8x2PfvhXrtmd7KWlsNf1+B2N9y8gR/jexXBLrXl/0e+b2HdG5HaTXGi7i0t2pyQY2VRmq7gtdEHQ== + +typedoc-plugin-markdown@^4.9.0: + version "4.9.0" + resolved "https://registry.yarnpkg.com/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.9.0.tgz#88f37ba2417fc8b93951d457a3a557682ce5e01e" + integrity sha512-9Uu4WR9L7ZBgAl60N/h+jqmPxxvnC9nQAlnnO/OujtG2ubjnKTVUFY1XDhcMY+pCqlX3N2HsQM2QTYZIU9tJuw== + +typedoc@^0.28.14: + version "0.28.16" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.28.16.tgz#3901672c48746587fa24390077d07317a1fd180f" + integrity sha512-x4xW77QC3i5DUFMBp0qjukOTnr/sSg+oEs86nB3LjDslvAmwe/PUGDWbe3GrIqt59oTqoXK5GRK9tAa0sYMiog== + dependencies: + "@gerrit0/mini-shiki" "^3.17.0" + lunr "^2.3.9" + markdown-it "^14.1.0" + minimatch "^9.0.5" + yaml "^2.8.1" + typescript-plugin-css-modules@5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/typescript-plugin-css-modules/-/typescript-plugin-css-modules-5.2.0.tgz#b2be2346fbe95374eace207b821a7747b2e2c376" @@ -18101,6 +19754,11 @@ typescript@^4.0.5, typescript@^4.4.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz#5b4f59e15310ab17a216f5d6cf53ee476ede670f" integrity sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw== +uc.micro@^2.0.0, uc.micro@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.1.0.tgz#f8d3f7d0ec4c3dea35a7e3c8efa4cb8b45c9e7ee" + integrity sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A== + unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz" @@ -18111,6 +19769,16 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +unbox-primitive@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.1.0.tgz#8d9d2c9edeea8460c7f35033a88867944934d1e2" + integrity sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw== + dependencies: + call-bound "^1.0.3" + has-bigints "^1.0.2" + has-symbols "^1.1.0" + which-boxed-primitive "^1.1.1" + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz" @@ -18305,6 +19973,11 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" +urijs@^1.19.11: + version "1.19.11" + resolved "https://registry.yarnpkg.com/urijs/-/urijs-1.19.11.tgz#204b0d6b605ae80bea54bea39280cdb7c9f923cc" + integrity sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ== + url-parse@^1.5.3: version "1.5.10" resolved "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz" @@ -18369,6 +20042,11 @@ utila@~0.4: resolved "https://registry.npmjs.org/utila/-/utila-0.4.0.tgz" integrity sha512-Z0DbgELS9/L/75wZbro8xAnT50pBVFQZ+hUEueGDU5FN51YSCYM+jdxsfCiHjwNP/4LCDD0i/graKpeBnOXKRA== +utility-types@^3.10.0: + version "3.11.0" + resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.11.0.tgz#607c40edb4f258915e901ea7995607fdf319424c" + integrity sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw== + utils-merge@1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz" @@ -18421,6 +20099,11 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +validator@^13.15.23: + version "13.15.26" + resolved "https://registry.yarnpkg.com/validator/-/validator-13.15.26.tgz#36c3deeab30e97806a658728a155c66fcaa5b944" + integrity sha512-spH26xU080ydGggxRyR1Yhcbgx+j3y5jbNXk/8L+iRvdIEQ4uTRH2Sgf2dokud6Q4oAtsbNvJ1Ft+9xmm6IZcA== + value-equal@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/value-equal/-/value-equal-1.0.1.tgz" @@ -18780,6 +20463,36 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" +which-boxed-primitive@^1.1.0, which-boxed-primitive@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz#d76ec27df7fa165f18d5808374a5fe23c29b176e" + integrity sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA== + dependencies: + is-bigint "^1.1.0" + is-boolean-object "^1.2.1" + is-number-object "^1.1.1" + is-string "^1.1.1" + is-symbol "^1.1.1" + +which-builtin-type@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/which-builtin-type/-/which-builtin-type-1.2.1.tgz#89183da1b4907ab089a6b02029cc5d8d6574270e" + integrity sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q== + dependencies: + call-bound "^1.0.2" + function.prototype.name "^1.1.6" + has-tostringtag "^1.0.2" + is-async-function "^2.0.0" + is-date-object "^1.1.0" + is-finalizationregistry "^1.1.0" + is-generator-function "^1.0.10" + is-regex "^1.2.1" + is-weakref "^1.0.2" + isarray "^2.0.5" + which-boxed-primitive "^1.1.0" + which-collection "^1.0.2" + which-typed-array "^1.1.16" + which-collection@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz" @@ -18790,6 +20503,16 @@ which-collection@^1.0.1: is-weakmap "^2.0.1" is-weakset "^2.0.1" +which-collection@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.2.tgz#627ef76243920a107e7ce8e96191debe4b16c2a0" + integrity sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw== + dependencies: + is-map "^2.0.3" + is-set "^2.0.3" + is-weakmap "^2.0.2" + is-weakset "^2.0.3" + which-typed-array@^1.1.10, which-typed-array@^1.1.11, which-typed-array@^1.1.2: version "1.1.11" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.11.tgz#99d691f23c72aab6768680805a271b69761ed61a" @@ -18801,6 +20524,19 @@ which-typed-array@^1.1.10, which-typed-array@^1.1.11, which-typed-array@^1.1.2: gopd "^1.0.1" has-tostringtag "^1.0.0" +which-typed-array@^1.1.16, which-typed-array@^1.1.19: + version "1.1.20" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.20.tgz#3fdb7adfafe0ea69157b1509f3a1cd892bd1d122" + integrity sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.8" + call-bound "^1.0.4" + for-each "^0.3.5" + get-proto "^1.0.1" + gopd "^1.2.0" + has-tostringtag "^1.0.2" + which-typed-array@^1.1.9: version "1.1.9" resolved "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz" @@ -18980,6 +20716,11 @@ yaml@^1.10.0, yaml@^1.10.2: resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== +yaml@^2.8.0, yaml@^2.8.1: + version "2.8.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.2.tgz#5694f25eca0ce9c3e7a9d9e00ce0ddabbd9e35c5" + integrity sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A== + yargs-parser@20.x, yargs-parser@^20.2.2, yargs-parser@^20.2.3: version "20.2.9" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz" @@ -19003,7 +20744,7 @@ yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" -yargs@^17.0.0, yargs@^17.3.1: +yargs@^17.0.0, yargs@^17.0.1, yargs@^17.3.1: version "17.7.2" resolved "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz" integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==