@squonk/account-server-client 4.4.0-4-4.2197467763 → 4.4.0-4-4.2200269934
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/actions/actions.cjs +4 -4
- package/dist/api/actions/actions.cjs.map +1 -1
- package/dist/api/actions/actions.d.cts +35 -17
- package/dist/api/actions/actions.d.cts.map +1 -1
- package/dist/api/actions/actions.d.ts +35 -17
- package/dist/api/actions/actions.d.ts.map +1 -1
- package/dist/api/actions/actions.fetch.cjs +4 -4
- package/dist/api/actions/actions.fetch.cjs.map +1 -1
- package/dist/api/actions/actions.fetch.d.cts +35 -17
- package/dist/api/actions/actions.fetch.d.cts.map +1 -1
- package/dist/api/actions/actions.fetch.d.ts +35 -17
- package/dist/api/actions/actions.fetch.d.ts.map +1 -1
- package/dist/api/actions/actions.fetch.js +4 -4
- package/dist/api/actions/actions.fetch.js.map +1 -1
- package/dist/api/actions/actions.js +4 -4
- package/dist/api/actions/actions.js.map +1 -1
- package/dist/api/asset/asset.cjs +22 -22
- package/dist/api/asset/asset.cjs.map +1 -1
- package/dist/api/asset/asset.d.cts +76 -40
- package/dist/api/asset/asset.d.cts.map +1 -1
- package/dist/api/asset/asset.d.ts +76 -40
- package/dist/api/asset/asset.d.ts.map +1 -1
- package/dist/api/asset/asset.fetch.cjs +22 -22
- package/dist/api/asset/asset.fetch.cjs.map +1 -1
- package/dist/api/asset/asset.fetch.d.cts +76 -40
- package/dist/api/asset/asset.fetch.d.cts.map +1 -1
- package/dist/api/asset/asset.fetch.d.ts +76 -40
- package/dist/api/asset/asset.fetch.d.ts.map +1 -1
- package/dist/api/asset/asset.fetch.js +22 -22
- package/dist/api/asset/asset.fetch.js.map +1 -1
- package/dist/api/asset/asset.js +22 -22
- package/dist/api/asset/asset.js.map +1 -1
- package/dist/api/charges/charges.cjs +16 -16
- package/dist/api/charges/charges.cjs.map +1 -1
- package/dist/api/charges/charges.d.cts +137 -65
- package/dist/api/charges/charges.d.cts.map +1 -1
- package/dist/api/charges/charges.d.ts +137 -65
- package/dist/api/charges/charges.d.ts.map +1 -1
- package/dist/api/charges/charges.fetch.cjs +16 -16
- package/dist/api/charges/charges.fetch.cjs.map +1 -1
- package/dist/api/charges/charges.fetch.d.cts +137 -65
- package/dist/api/charges/charges.fetch.d.cts.map +1 -1
- package/dist/api/charges/charges.fetch.d.ts +137 -65
- package/dist/api/charges/charges.fetch.d.ts.map +1 -1
- package/dist/api/charges/charges.fetch.js +16 -16
- package/dist/api/charges/charges.fetch.js.map +1 -1
- package/dist/api/charges/charges.js +16 -16
- package/dist/api/charges/charges.js.map +1 -1
- package/dist/api/event-stream/event-stream.cjs +12 -12
- package/dist/api/event-stream/event-stream.cjs.map +1 -1
- package/dist/api/event-stream/event-stream.d.cts +71 -35
- package/dist/api/event-stream/event-stream.d.cts.map +1 -1
- package/dist/api/event-stream/event-stream.d.ts +71 -35
- package/dist/api/event-stream/event-stream.d.ts.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.cjs +12 -12
- package/dist/api/event-stream/event-stream.fetch.cjs.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.d.cts +71 -35
- package/dist/api/event-stream/event-stream.fetch.d.cts.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.d.ts +71 -35
- package/dist/api/event-stream/event-stream.fetch.d.ts.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.js +12 -12
- package/dist/api/event-stream/event-stream.fetch.js.map +1 -1
- package/dist/api/event-stream/event-stream.js +12 -12
- package/dist/api/event-stream/event-stream.js.map +1 -1
- package/dist/api/merchant/merchant.cjs +8 -8
- package/dist/api/merchant/merchant.cjs.map +1 -1
- package/dist/api/merchant/merchant.d.cts +69 -33
- package/dist/api/merchant/merchant.d.cts.map +1 -1
- package/dist/api/merchant/merchant.d.ts +69 -33
- package/dist/api/merchant/merchant.d.ts.map +1 -1
- package/dist/api/merchant/merchant.fetch.cjs +8 -8
- package/dist/api/merchant/merchant.fetch.cjs.map +1 -1
- package/dist/api/merchant/merchant.fetch.d.cts +69 -33
- package/dist/api/merchant/merchant.fetch.d.cts.map +1 -1
- package/dist/api/merchant/merchant.fetch.d.ts +69 -33
- package/dist/api/merchant/merchant.fetch.d.ts.map +1 -1
- package/dist/api/merchant/merchant.fetch.js +8 -8
- package/dist/api/merchant/merchant.fetch.js.map +1 -1
- package/dist/api/merchant/merchant.js +8 -8
- package/dist/api/merchant/merchant.js.map +1 -1
- package/dist/api/organisation/organisation.cjs +18 -18
- package/dist/api/organisation/organisation.cjs.map +1 -1
- package/dist/api/organisation/organisation.d.cts +106 -52
- package/dist/api/organisation/organisation.d.cts.map +1 -1
- package/dist/api/organisation/organisation.d.ts +106 -52
- package/dist/api/organisation/organisation.d.ts.map +1 -1
- package/dist/api/organisation/organisation.fetch.cjs +18 -18
- package/dist/api/organisation/organisation.fetch.cjs.map +1 -1
- package/dist/api/organisation/organisation.fetch.d.cts +106 -52
- package/dist/api/organisation/organisation.fetch.d.cts.map +1 -1
- package/dist/api/organisation/organisation.fetch.d.ts +106 -52
- package/dist/api/organisation/organisation.fetch.d.ts.map +1 -1
- package/dist/api/organisation/organisation.fetch.js +18 -18
- package/dist/api/organisation/organisation.fetch.js.map +1 -1
- package/dist/api/organisation/organisation.js +18 -18
- package/dist/api/organisation/organisation.js.map +1 -1
- package/dist/api/product/product.cjs +30 -30
- package/dist/api/product/product.cjs.map +1 -1
- package/dist/api/product/product.d.cts +208 -100
- package/dist/api/product/product.d.cts.map +1 -1
- package/dist/api/product/product.d.ts +208 -100
- package/dist/api/product/product.d.ts.map +1 -1
- package/dist/api/product/product.fetch.cjs +30 -30
- package/dist/api/product/product.fetch.cjs.map +1 -1
- package/dist/api/product/product.fetch.d.cts +208 -100
- package/dist/api/product/product.fetch.d.cts.map +1 -1
- package/dist/api/product/product.fetch.d.ts +208 -100
- package/dist/api/product/product.fetch.d.ts.map +1 -1
- package/dist/api/product/product.fetch.js +30 -30
- package/dist/api/product/product.fetch.js.map +1 -1
- package/dist/api/product/product.js +30 -30
- package/dist/api/product/product.js.map +1 -1
- package/dist/api/state/state.cjs +4 -4
- package/dist/api/state/state.cjs.map +1 -1
- package/dist/api/state/state.d.cts +35 -17
- package/dist/api/state/state.d.cts.map +1 -1
- package/dist/api/state/state.d.ts +35 -17
- package/dist/api/state/state.d.ts.map +1 -1
- package/dist/api/state/state.fetch.cjs +4 -4
- package/dist/api/state/state.fetch.cjs.map +1 -1
- package/dist/api/state/state.fetch.d.cts +35 -17
- package/dist/api/state/state.fetch.d.cts.map +1 -1
- package/dist/api/state/state.fetch.d.ts +35 -17
- package/dist/api/state/state.fetch.d.ts.map +1 -1
- package/dist/api/state/state.fetch.js +4 -4
- package/dist/api/state/state.fetch.js.map +1 -1
- package/dist/api/state/state.js +4 -4
- package/dist/api/state/state.js.map +1 -1
- package/dist/api/unit/unit.cjs +30 -30
- package/dist/api/unit/unit.cjs.map +1 -1
- package/dist/api/unit/unit.d.cts +144 -72
- package/dist/api/unit/unit.d.cts.map +1 -1
- package/dist/api/unit/unit.d.ts +144 -72
- package/dist/api/unit/unit.d.ts.map +1 -1
- package/dist/api/unit/unit.fetch.cjs +30 -30
- package/dist/api/unit/unit.fetch.cjs.map +1 -1
- package/dist/api/unit/unit.fetch.d.cts +144 -72
- package/dist/api/unit/unit.fetch.d.cts.map +1 -1
- package/dist/api/unit/unit.fetch.d.ts +144 -72
- package/dist/api/unit/unit.fetch.d.ts.map +1 -1
- package/dist/api/unit/unit.fetch.js +30 -30
- package/dist/api/unit/unit.fetch.js.map +1 -1
- package/dist/api/unit/unit.js +30 -30
- package/dist/api/unit/unit.js.map +1 -1
- package/dist/api/user/user.cjs +20 -20
- package/dist/api/user/user.cjs.map +1 -1
- package/dist/api/user/user.d.cts +107 -53
- package/dist/api/user/user.d.cts.map +1 -1
- package/dist/api/user/user.d.ts +107 -53
- package/dist/api/user/user.d.ts.map +1 -1
- package/dist/api/user/user.fetch.cjs +20 -20
- package/dist/api/user/user.fetch.cjs.map +1 -1
- package/dist/api/user/user.fetch.d.cts +107 -53
- package/dist/api/user/user.fetch.d.cts.map +1 -1
- package/dist/api/user/user.fetch.d.ts +107 -53
- package/dist/api/user/user.fetch.d.ts.map +1 -1
- package/dist/api/user/user.fetch.js +20 -20
- package/dist/api/user/user.fetch.js.map +1 -1
- package/dist/api/user/user.js +20 -20
- package/dist/api/user/user.js.map +1 -1
- package/package.json +7 -5
- package/src/api/actions/actions.fetch.ts +103 -12
- package/src/api/actions/actions.ts +103 -12
- package/src/api/asset/asset.fetch.ts +303 -94
- package/src/api/asset/asset.ts +303 -94
- package/src/api/charges/charges.fetch.ts +456 -54
- package/src/api/charges/charges.ts +456 -54
- package/src/api/event-stream/event-stream.fetch.ts +262 -58
- package/src/api/event-stream/event-stream.ts +262 -58
- package/src/api/merchant/merchant.fetch.ts +212 -28
- package/src/api/merchant/merchant.ts +212 -28
- package/src/api/organisation/organisation.fetch.ts +381 -86
- package/src/api/organisation/organisation.ts +381 -86
- package/src/api/product/product.fetch.ts +724 -130
- package/src/api/product/product.ts +724 -130
- package/src/api/state/state.fetch.ts +105 -16
- package/src/api/state/state.ts +105 -16
- package/src/api/unit/unit.fetch.ts +521 -146
- package/src/api/unit/unit.ts +521 -146
- package/src/api/user/user.fetch.ts +401 -101
- package/src/api/user/user.ts +401 -101
- package/tests/README.md +98 -0
- package/tests/component.test.tsx +191 -0
- package/tests/tsconfig.json +7 -0
- package/tests/type-tests.tsx +196 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-stream.cjs","names":["customInstance","queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreamVersion>>>","queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStream>>>","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createEventStream>>,\n { data: EventStreamPostBodyBody }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteEventStream>>,\n { eventStreamId: number }\n >"],"sources":["../../../src/api/event-stream/event-stream.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\nimport { useMutation, useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n InvalidateOptions,\n MutationFunction,\n QueryClient,\n QueryFunction,\n QueryKey,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type {\n AsError,\n EventStreamGetPostResponse,\n EventStreamPostBodyBody,\n EventStreamVersionGetResponse,\n} from \".././api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * Gets the details of the installed event stream, which includes its **protocol**, and **name**.\n\n * @summary Gets the details of the installed event stream\n */\nexport const getEventStreamVersion = (\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<EventStreamVersionGetResponse>(\n { url: `/event-stream/version`, method: \"GET\", signal },\n options,\n );\n};\n\nexport const getGetEventStreamVersionQueryKey = () => {\n return [\"account-server\", \"event-stream\", \"version\"] as const;\n};\n\nexport const getGetEventStreamVersionQueryOptions = <\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>;\n request?: SecondParameter<typeof customInstance>;\n}) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetEventStreamVersionQueryKey();\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreamVersion>>> = ({ signal }) =>\n getEventStreamVersion(requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError,\n TData\n > & { queryKey: QueryKey };\n};\n\nexport type GetEventStreamVersionQueryResult = NonNullable<\n Awaited<ReturnType<typeof getEventStreamVersion>>\n>;\nexport type GetEventStreamVersionQueryError = ErrorType<void | AsError>;\n\n/**\n * @summary Gets the details of the installed event stream\n */\n\nexport function useGetEventStreamVersion<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>;\n request?: SecondParameter<typeof customInstance>;\n}): UseQueryResult<TData, TError> & { queryKey: QueryKey } {\n const queryOptions = getGetEventStreamVersionQueryOptions(options);\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets the details of the installed event stream\n */\nexport const invalidateGetEventStreamVersion = async (\n queryClient: QueryClient,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetEventStreamVersionQueryKey() }, options);\n\n return queryClient;\n};\n\nexport const getGetEventStreamVersionSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>;\n request?: SecondParameter<typeof customInstance>;\n}) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetEventStreamVersionQueryKey();\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreamVersion>>> = ({ signal }) =>\n getEventStreamVersion(requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError,\n TData\n > & { queryKey: QueryKey };\n};\n\nexport type GetEventStreamVersionSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getEventStreamVersion>>\n>;\nexport type GetEventStreamVersionSuspenseQueryError = ErrorType<void | AsError>;\n\n/**\n * @summary Gets the details of the installed event stream\n */\n\nexport function useGetEventStreamVersionSuspense<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>;\n request?: SecondParameter<typeof customInstance>;\n}): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } {\n const queryOptions = getGetEventStreamVersionSuspenseQueryOptions(options);\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & {\n queryKey: QueryKey;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Gets the details of your event stream, if you have created one. The response includes the event stream **id** and the **location** where events can be accessed.\n\n * @summary Gets the details of your event stream\n */\nexport const getEventStream = (\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<EventStreamGetPostResponse>(\n { url: `/event-stream`, method: \"GET\", signal },\n options,\n );\n};\n\nexport const getGetEventStreamQueryKey = () => {\n return [\"account-server\", \"event-stream\"] as const;\n};\n\nexport const getGetEventStreamQueryOptions = <\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>;\n request?: SecondParameter<typeof customInstance>;\n}) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetEventStreamQueryKey();\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStream>>> = ({ signal }) =>\n getEventStream(requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getEventStream>>,\n TError,\n TData\n > & { queryKey: QueryKey };\n};\n\nexport type GetEventStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;\nexport type GetEventStreamQueryError = ErrorType<void | AsError>;\n\n/**\n * @summary Gets the details of your event stream\n */\n\nexport function useGetEventStream<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>;\n request?: SecondParameter<typeof customInstance>;\n}): UseQueryResult<TData, TError> & { queryKey: QueryKey } {\n const queryOptions = getGetEventStreamQueryOptions(options);\n\n const query = useQuery(queryOptions) as UseQueryResult<TData, TError> & { queryKey: QueryKey };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets the details of your event stream\n */\nexport const invalidateGetEventStream = async (\n queryClient: QueryClient,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetEventStreamQueryKey() }, options);\n\n return queryClient;\n};\n\nexport const getGetEventStreamSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>;\n request?: SecondParameter<typeof customInstance>;\n}) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetEventStreamQueryKey();\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStream>>> = ({ signal }) =>\n getEventStream(requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getEventStream>>,\n TError,\n TData\n > & { queryKey: QueryKey };\n};\n\nexport type GetEventStreamSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getEventStream>>\n>;\nexport type GetEventStreamSuspenseQueryError = ErrorType<void | AsError>;\n\n/**\n * @summary Gets the details of your event stream\n */\n\nexport function useGetEventStreamSuspense<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>;\n request?: SecondParameter<typeof customInstance>;\n}): UseSuspenseQueryResult<TData, TError> & { queryKey: QueryKey } {\n const queryOptions = getGetEventStreamSuspenseQueryOptions(options);\n\n const query = useSuspenseQuery(queryOptions) as UseSuspenseQueryResult<TData, TError> & {\n queryKey: QueryKey;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Creates a new event stream for the authenticated user. Event streams deliver near-real-time events to the user, typically through a long-running *Socket*. The protocol is dependent on the Event Stream Service that has been installed. Our **Python FastAPI WebSocket** service is one such service.\n\nEvents are delivered to the client using the a `format` chosen here. Internally, events are **Protocol Buffer** objects that are delivered, by default as a single-line string using `MessageToString`. This is the `PROTOCOL_STRING` format. Clients can choose to receive messages as a JSON string using the format `JSON_STRING`. Using JSON strings will incur a small processing penalty but they are useful if the client does not have access to a library that can decode protocol buffer strings.\n\nThe response will include the event stream **id** and the **location** where events can be accessed.\n\nThe event streaming service is an optional component of the Account Server. If a service is not installed you will receive a corresponding **404** error response.\n\nA user is only permitted one event stream.\n\n * @summary Create a new event stream\n */\nexport const createEventStream = (\n eventStreamPostBodyBody: EventStreamPostBodyBody,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<EventStreamGetPostResponse>(\n {\n url: `/event-stream`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: eventStreamPostBodyBody,\n signal,\n },\n options,\n );\n};\n\nexport const getCreateEventStreamMutationOptions = <\n TError = ErrorType<AsError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createEventStream>>,\n TError,\n { data: EventStreamPostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof createEventStream>>,\n TError,\n { data: EventStreamPostBodyBody },\n TContext\n> => {\n const mutationKey = [\"createEventStream\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createEventStream>>,\n { data: EventStreamPostBodyBody }\n > = (props) => {\n const { data } = props ?? {};\n\n return createEventStream(data, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type CreateEventStreamMutationResult = NonNullable<\n Awaited<ReturnType<typeof createEventStream>>\n>;\nexport type CreateEventStreamMutationBody = EventStreamPostBodyBody;\nexport type CreateEventStreamMutationError = ErrorType<AsError | void>;\n\n/**\n * @summary Create a new event stream\n */\nexport const useCreateEventStream = <\n TError = ErrorType<AsError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createEventStream>>,\n TError,\n { data: EventStreamPostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationResult<\n Awaited<ReturnType<typeof createEventStream>>,\n TError,\n { data: EventStreamPostBodyBody },\n TContext\n> => {\n const mutationOptions = getCreateEventStreamMutationOptions(options);\n\n return useMutation(mutationOptions);\n};\n/**\n * You must be the user who created the event stream.\n\n * @summary Deletes an existing event stream (that you created)\n */\nexport const deleteEventStream = (\n eventStreamId: number,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>({ url: `/event-stream/${eventStreamId}`, method: \"DELETE\" }, options);\n};\n\nexport const getDeleteEventStreamMutationOptions = <\n TError = ErrorType<void | AsError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteEventStream>>,\n TError,\n { eventStreamId: number },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deleteEventStream>>,\n TError,\n { eventStreamId: number },\n TContext\n> => {\n const mutationKey = [\"deleteEventStream\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteEventStream>>,\n { eventStreamId: number }\n > = (props) => {\n const { eventStreamId } = props ?? {};\n\n return deleteEventStream(eventStreamId, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type DeleteEventStreamMutationResult = NonNullable<\n Awaited<ReturnType<typeof deleteEventStream>>\n>;\n\nexport type DeleteEventStreamMutationError = ErrorType<void | AsError>;\n\n/**\n * @summary Deletes an existing event stream (that you created)\n */\nexport const useDeleteEventStream = <\n TError = ErrorType<void | AsError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteEventStream>>,\n TError,\n { eventStreamId: number },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationResult<\n Awaited<ReturnType<typeof deleteEventStream>>,\n TError,\n { eventStreamId: number },\n TContext\n> => {\n const mutationOptions = getDeleteEventStreamMutationOptions(options);\n\n return useMutation(mutationOptions);\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA0CA,MAAa,yBACX,SACA,WACG;AACH,QAAOA,oCACL;EAAE,KAAK;EAAyB,QAAQ;EAAO;EAAQ,EACvD,QACD;;AAGH,MAAa,yCAAyC;AACpD,QAAO;EAAC;EAAkB;EAAgB;EAAU;;AAGtD,MAAa,wCAGX,YAGI;CACJ,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,kCAAkC;CAE7E,MAAMC,WAA6E,EAAE,aACnF,sBAAsB,gBAAgB,OAA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C,MAAM,EAAE,UAAU,iBAAiB,SAAS,mBAAmB,UAC3D,QAAQ,YAAY,iBAAiB,QAAQ,YAAY,QAAQ,SAAS,cACxE,UACA;EAAE,GAAG;EAAS,UAAU;GAAE,GAAG,QAAQ;GAAU;GAAa;EAAE,GAChE;EAAE,UAAU,EAAE,aAAa;EAAE,SAAS;EAAW;CAErD,MAAMI,cAGD,UAAU;EACb,MAAM,EAAE,kBAAkB,SAAS,EAAE;AAErC,SAAO,kBAAkB,eAAe,eAAe;;AAGzD,QAAO;EAAE;EAAY,GAAG;EAAiB;;;;;AAY3C,MAAa,wBAGX,YAaG;AAGH,gDAFwB,oCAAoC,QAAQ,CAEjC"}
|
|
1
|
+
{"version":3,"file":"event-stream.cjs","names":["customInstance","queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreamVersion>>>","queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStream>>>","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createEventStream>>,\n { data: EventStreamPostBodyBody }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteEventStream>>,\n { eventStreamId: number }\n >"],"sources":["../../../src/api/event-stream/event-stream.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\nimport { useMutation, useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n MutationFunction,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type {\n AsError,\n EventStreamGetPostResponse,\n EventStreamPostBodyBody,\n EventStreamVersionGetResponse,\n} from \".././api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * Gets the details of the installed event stream, which includes its **protocol**, and **name**.\n\n * @summary Gets the details of the installed event stream\n */\nexport const getEventStreamVersion = (\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<EventStreamVersionGetResponse>(\n { url: `/event-stream/version`, method: \"GET\", signal },\n options,\n );\n};\n\nexport const getGetEventStreamVersionQueryKey = () => {\n return [\"account-server\", \"event-stream\", \"version\"] as const;\n};\n\nexport const getGetEventStreamVersionQueryOptions = <\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n}) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetEventStreamVersionQueryKey();\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreamVersion>>> = ({ signal }) =>\n getEventStreamVersion(requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetEventStreamVersionQueryResult = NonNullable<\n Awaited<ReturnType<typeof getEventStreamVersion>>\n>;\nexport type GetEventStreamVersionQueryError = ErrorType<void | AsError>;\n\nexport function useGetEventStreamVersion<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(\n options: {\n query: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n > &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError,\n Awaited<ReturnType<typeof getEventStreamVersion>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetEventStreamVersion<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n > &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError,\n Awaited<ReturnType<typeof getEventStreamVersion>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetEventStreamVersion<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets the details of the installed event stream\n */\n\nexport function useGetEventStreamVersion<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetEventStreamVersionQueryOptions(options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets the details of the installed event stream\n */\nexport const invalidateGetEventStreamVersion = async (\n queryClient: QueryClient,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetEventStreamVersionQueryKey() }, options);\n\n return queryClient;\n};\n\nexport const getGetEventStreamVersionSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n}) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetEventStreamVersionQueryKey();\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreamVersion>>> = ({ signal }) =>\n getEventStreamVersion(requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetEventStreamVersionSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getEventStreamVersion>>\n>;\nexport type GetEventStreamVersionSuspenseQueryError = ErrorType<void | AsError>;\n\nexport function useGetEventStreamVersionSuspense<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetEventStreamVersionSuspense<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetEventStreamVersionSuspense<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets the details of the installed event stream\n */\n\nexport function useGetEventStreamVersionSuspense<\n TData = Awaited<ReturnType<typeof getEventStreamVersion>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetEventStreamVersionSuspenseQueryOptions(options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Gets the details of your event stream, if you have created one. The response includes the event stream **id** and the **location** where events can be accessed.\n\n * @summary Gets the details of your event stream\n */\nexport const getEventStream = (\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<EventStreamGetPostResponse>(\n { url: `/event-stream`, method: \"GET\", signal },\n options,\n );\n};\n\nexport const getGetEventStreamQueryKey = () => {\n return [\"account-server\", \"event-stream\"] as const;\n};\n\nexport const getGetEventStreamQueryOptions = <\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n}) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetEventStreamQueryKey();\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStream>>> = ({ signal }) =>\n getEventStream(requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getEventStream>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetEventStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;\nexport type GetEventStreamQueryError = ErrorType<void | AsError>;\n\nexport function useGetEventStream<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getEventStream>>,\n TError,\n Awaited<ReturnType<typeof getEventStream>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetEventStream<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getEventStream>>,\n TError,\n Awaited<ReturnType<typeof getEventStream>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetEventStream<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets the details of your event stream\n */\n\nexport function useGetEventStream<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetEventStreamQueryOptions(options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets the details of your event stream\n */\nexport const invalidateGetEventStream = async (\n queryClient: QueryClient,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetEventStreamQueryKey() }, options);\n\n return queryClient;\n};\n\nexport const getGetEventStreamSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n}) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetEventStreamQueryKey();\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStream>>> = ({ signal }) =>\n getEventStream(requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getEventStream>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetEventStreamSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getEventStream>>\n>;\nexport type GetEventStreamSuspenseQueryError = ErrorType<void | AsError>;\n\nexport function useGetEventStreamSuspense<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetEventStreamSuspense<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetEventStreamSuspense<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets the details of your event stream\n */\n\nexport function useGetEventStreamSuspense<\n TData = Awaited<ReturnType<typeof getEventStream>>,\n TError = ErrorType<void | AsError>,\n>(\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetEventStreamSuspenseQueryOptions(options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Creates a new event stream for the authenticated user. Event streams deliver near-real-time events to the user, typically through a long-running *Socket*. The protocol is dependent on the Event Stream Service that has been installed. Our **Python FastAPI WebSocket** service is one such service.\n\nEvents are delivered to the client using the a `format` chosen here. Internally, events are **Protocol Buffer** objects that are delivered, by default as a single-line string using `MessageToString`. This is the `PROTOCOL_STRING` format. Clients can choose to receive messages as a JSON string using the format `JSON_STRING`. Using JSON strings will incur a small processing penalty but they are useful if the client does not have access to a library that can decode protocol buffer strings.\n\nThe response will include the event stream **id** and the **location** where events can be accessed.\n\nThe event streaming service is an optional component of the Account Server. If a service is not installed you will receive a corresponding **404** error response.\n\nA user is only permitted one event stream.\n\n * @summary Create a new event stream\n */\nexport const createEventStream = (\n eventStreamPostBodyBody: EventStreamPostBodyBody,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<EventStreamGetPostResponse>(\n {\n url: `/event-stream`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: eventStreamPostBodyBody,\n signal,\n },\n options,\n );\n};\n\nexport const getCreateEventStreamMutationOptions = <\n TError = ErrorType<AsError | void>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createEventStream>>,\n TError,\n { data: EventStreamPostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof createEventStream>>,\n TError,\n { data: EventStreamPostBodyBody },\n TContext\n> => {\n const mutationKey = [\"createEventStream\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createEventStream>>,\n { data: EventStreamPostBodyBody }\n > = (props) => {\n const { data } = props ?? {};\n\n return createEventStream(data, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type CreateEventStreamMutationResult = NonNullable<\n Awaited<ReturnType<typeof createEventStream>>\n>;\nexport type CreateEventStreamMutationBody = EventStreamPostBodyBody;\nexport type CreateEventStreamMutationError = ErrorType<AsError | void>;\n\n/**\n * @summary Create a new event stream\n */\nexport const useCreateEventStream = <TError = ErrorType<AsError | void>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createEventStream>>,\n TError,\n { data: EventStreamPostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof createEventStream>>,\n TError,\n { data: EventStreamPostBodyBody },\n TContext\n> => {\n const mutationOptions = getCreateEventStreamMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * You must be the user who created the event stream.\n\n * @summary Deletes an existing event stream (that you created)\n */\nexport const deleteEventStream = (\n eventStreamId: number,\n options?: SecondParameter<typeof customInstance>,\n) => {\n return customInstance<void>({ url: `/event-stream/${eventStreamId}`, method: \"DELETE\" }, options);\n};\n\nexport const getDeleteEventStreamMutationOptions = <\n TError = ErrorType<void | AsError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteEventStream>>,\n TError,\n { eventStreamId: number },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deleteEventStream>>,\n TError,\n { eventStreamId: number },\n TContext\n> => {\n const mutationKey = [\"deleteEventStream\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteEventStream>>,\n { eventStreamId: number }\n > = (props) => {\n const { eventStreamId } = props ?? {};\n\n return deleteEventStream(eventStreamId, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type DeleteEventStreamMutationResult = NonNullable<\n Awaited<ReturnType<typeof deleteEventStream>>\n>;\n\nexport type DeleteEventStreamMutationError = ErrorType<void | AsError>;\n\n/**\n * @summary Deletes an existing event stream (that you created)\n */\nexport const useDeleteEventStream = <TError = ErrorType<void | AsError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteEventStream>>,\n TError,\n { eventStreamId: number },\n TContext\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deleteEventStream>>,\n TError,\n { eventStreamId: number },\n TContext\n> => {\n const mutationOptions = getDeleteEventStreamMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA8CA,MAAa,yBACX,SACA,WACG;AACH,QAAOA,oCACL;EAAE,KAAK;EAAyB,QAAQ;EAAO;EAAQ,EACvD,QACD;;AAGH,MAAa,yCAAyC;AACpD,QAAO;EAAC;EAAkB;EAAgB;EAAU;;AAGtD,MAAa,wCAGX,YAKI;CACJ,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,kCAAkC;CAE7E,MAAMC,WAA6E,EAAE,aACnF,sBAAsB,gBAAgB,OAAO;AAE/C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AAoE/C,SAAgB,yBAId,SAMA,aACwE;CACxE,MAAM,eAAe,qCAAqC,QAAQ;CAElE,MAAM,6CAAiB,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,kCAAkC,OAC7C,aACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,kCAAkC,EAAE,EAAE,Q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U;EACb,MAAM,EAAE,kBAAkB,SAAS,EAAE;AAErC,SAAO,kBAAkB,eAAe,eAAe;;AAGzD,QAAO;EAAE;EAAY,GAAG;EAAiB;;;;;AAY3C,MAAa,wBACX,SASA,gBAMG;AAGH,gDAFwB,oCAAoC,QAAQ,EAEhC,YAAY"}
|
|
@@ -3,7 +3,7 @@ import { EventStreamGetPostResponse } from "../api-schemas/eventStreamGetPostRes
|
|
|
3
3
|
import { EventStreamPostBodyBody } from "../api-schemas/eventStreamPostBodyBody.cjs";
|
|
4
4
|
import { EventStreamVersionGetResponse } from "../api-schemas/eventStreamVersionGetResponse.cjs";
|
|
5
5
|
import { ErrorType, customInstance } from "../../custom-axios.cjs";
|
|
6
|
-
import { InvalidateOptions, QueryClient, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
6
|
+
import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, InvalidateOptions, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
7
7
|
|
|
8
8
|
//#region src/api/event-stream/event-stream.d.ts
|
|
9
9
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
@@ -15,42 +15,60 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
|
15
15
|
declare const getEventStreamVersion: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamVersionGetResponse>;
|
|
16
16
|
declare const getGetEventStreamVersionQueryKey: () => readonly ["account-server", "event-stream", "version"];
|
|
17
17
|
declare const getGetEventStreamVersionQueryOptions: <TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
18
|
-
query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData
|
|
18
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
19
19
|
request?: SecondParameter<typeof customInstance>;
|
|
20
20
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData> & {
|
|
21
|
-
queryKey: QueryKey
|
|
21
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
22
22
|
};
|
|
23
23
|
type GetEventStreamVersionQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreamVersion>>>;
|
|
24
24
|
type GetEventStreamVersionQueryError = ErrorType<void | AsError>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options: {
|
|
26
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, Awaited<ReturnType<typeof getEventStreamVersion>>>, "initialData">;
|
|
27
|
+
request?: SecondParameter<typeof customInstance>;
|
|
28
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
29
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
30
|
+
};
|
|
31
|
+
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
32
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, Awaited<ReturnType<typeof getEventStreamVersion>>>, "initialData">;
|
|
33
|
+
request?: SecondParameter<typeof customInstance>;
|
|
34
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
35
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
36
|
+
};
|
|
28
37
|
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
29
|
-
query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData
|
|
38
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
30
39
|
request?: SecondParameter<typeof customInstance>;
|
|
31
|
-
}): UseQueryResult<TData, TError> & {
|
|
32
|
-
queryKey: QueryKey
|
|
40
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
41
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
33
42
|
};
|
|
34
43
|
/**
|
|
35
44
|
* @summary Gets the details of the installed event stream
|
|
36
45
|
*/
|
|
37
46
|
declare const invalidateGetEventStreamVersion: (queryClient: QueryClient, options?: InvalidateOptions) => Promise<QueryClient>;
|
|
38
47
|
declare const getGetEventStreamVersionSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
39
|
-
query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData
|
|
48
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
40
49
|
request?: SecondParameter<typeof customInstance>;
|
|
41
50
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData> & {
|
|
42
|
-
queryKey: QueryKey
|
|
51
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
43
52
|
};
|
|
44
53
|
type GetEventStreamVersionSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreamVersion>>>;
|
|
45
54
|
type GetEventStreamVersionSuspenseQueryError = ErrorType<void | AsError>;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options: {
|
|
56
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
57
|
+
request?: SecondParameter<typeof customInstance>;
|
|
58
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
59
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
60
|
+
};
|
|
61
|
+
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
62
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
63
|
+
request?: SecondParameter<typeof customInstance>;
|
|
64
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
65
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
66
|
+
};
|
|
49
67
|
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
50
|
-
query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData
|
|
68
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
51
69
|
request?: SecondParameter<typeof customInstance>;
|
|
52
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
53
|
-
queryKey: QueryKey
|
|
70
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
71
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
54
72
|
};
|
|
55
73
|
/**
|
|
56
74
|
* Gets the details of your event stream, if you have created one. The response includes the event stream **id** and the **location** where events can be accessed.
|
|
@@ -60,42 +78,60 @@ declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typ
|
|
|
60
78
|
declare const getEventStream: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamGetPostResponse>;
|
|
61
79
|
declare const getGetEventStreamQueryKey: () => readonly ["account-server", "event-stream"];
|
|
62
80
|
declare const getGetEventStreamQueryOptions: <TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
63
|
-
query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData
|
|
81
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
64
82
|
request?: SecondParameter<typeof customInstance>;
|
|
65
83
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData> & {
|
|
66
|
-
queryKey: QueryKey
|
|
84
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
67
85
|
};
|
|
68
86
|
type GetEventStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;
|
|
69
87
|
type GetEventStreamQueryError = ErrorType<void | AsError>;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
88
|
+
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options: {
|
|
89
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStream>>, TError, Awaited<ReturnType<typeof getEventStream>>>, "initialData">;
|
|
90
|
+
request?: SecondParameter<typeof customInstance>;
|
|
91
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
92
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
93
|
+
};
|
|
94
|
+
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
95
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStream>>, TError, Awaited<ReturnType<typeof getEventStream>>>, "initialData">;
|
|
96
|
+
request?: SecondParameter<typeof customInstance>;
|
|
97
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
98
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
99
|
+
};
|
|
73
100
|
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
74
|
-
query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData
|
|
101
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
75
102
|
request?: SecondParameter<typeof customInstance>;
|
|
76
|
-
}): UseQueryResult<TData, TError> & {
|
|
77
|
-
queryKey: QueryKey
|
|
103
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
104
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
78
105
|
};
|
|
79
106
|
/**
|
|
80
107
|
* @summary Gets the details of your event stream
|
|
81
108
|
*/
|
|
82
109
|
declare const invalidateGetEventStream: (queryClient: QueryClient, options?: InvalidateOptions) => Promise<QueryClient>;
|
|
83
110
|
declare const getGetEventStreamSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
84
|
-
query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData
|
|
111
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
85
112
|
request?: SecondParameter<typeof customInstance>;
|
|
86
113
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData> & {
|
|
87
|
-
queryKey: QueryKey
|
|
114
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
88
115
|
};
|
|
89
116
|
type GetEventStreamSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;
|
|
90
117
|
type GetEventStreamSuspenseQueryError = ErrorType<void | AsError>;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
118
|
+
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options: {
|
|
119
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
120
|
+
request?: SecondParameter<typeof customInstance>;
|
|
121
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
122
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
123
|
+
};
|
|
124
|
+
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
125
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
126
|
+
request?: SecondParameter<typeof customInstance>;
|
|
127
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
128
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
129
|
+
};
|
|
94
130
|
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
95
|
-
query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData
|
|
131
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
96
132
|
request?: SecondParameter<typeof customInstance>;
|
|
97
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
98
|
-
queryKey: QueryKey
|
|
133
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
134
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
99
135
|
};
|
|
100
136
|
/**
|
|
101
137
|
* Creates a new event stream for the authenticated user. Event streams deliver near-real-time events to the user, typically through a long-running *Socket*. The protocol is dependent on the Event Stream Service that has been installed. Our **Python FastAPI WebSocket** service is one such service.
|
|
@@ -130,7 +166,7 @@ declare const useCreateEventStream: <TError = ErrorType<AsError | void>, TContex
|
|
|
130
166
|
data: EventStreamPostBodyBody;
|
|
131
167
|
}, TContext>;
|
|
132
168
|
request?: SecondParameter<typeof customInstance>;
|
|
133
|
-
}) => UseMutationResult<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
169
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
134
170
|
data: EventStreamPostBodyBody;
|
|
135
171
|
}, TContext>;
|
|
136
172
|
/**
|
|
@@ -157,7 +193,7 @@ declare const useDeleteEventStream: <TError = ErrorType<void | AsError>, TContex
|
|
|
157
193
|
eventStreamId: number;
|
|
158
194
|
}, TContext>;
|
|
159
195
|
request?: SecondParameter<typeof customInstance>;
|
|
160
|
-
}) => UseMutationResult<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
196
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
161
197
|
eventStreamId: number;
|
|
162
198
|
}, TContext>;
|
|
163
199
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-stream.d.cts","names":[],"sources":["../../../src/api/event-stream/event-stream.ts"],"sourcesContent":[],"mappings":";;;;;;;;KAmCK,yDAAyD,WAAW;;;;AAFrB;AASpD;AACmC,cADtB,qBACsB,EAAA,CAAA,OAAA,CAAA,EAAvB,eAAuB,CAAA,OAAA,cAAA,CAAA,EAAA,MAAA,CAAA,EACxB,WADwB,EAAA,GACb,OADa,CACb,6BADa,CAAA;AAAvB,cASC,gCATD,EAAA,GAAA,GAAA,SAAA,CAAA,gBAAA,EAAA,cAAA,EAAA,SAAA,CAAA;AACD,cAYE,oCAZF,EAAA,CAAA,QAaD,OAbC,CAaO,UAbP,CAAA,OAayB,qBAbzB,CAAA,CAAA,EAAA,SAcA,SAdA,CAAA,IAAA,GAciB,OAdjB,CAAA,CAAA,CAAA,OAAW,C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ventStreamGetPostRes
|
|
|
3
3
|
import { EventStreamPostBodyBody } from "../api-schemas/eventStreamPostBodyBody.js";
|
|
4
4
|
import { EventStreamVersionGetResponse } from "../api-schemas/eventStreamVersionGetResponse.js";
|
|
5
5
|
import { ErrorType, customInstance } from "../../custom-axios.js";
|
|
6
|
-
import { InvalidateOptions, QueryClient, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
6
|
+
import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, InvalidateOptions, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
7
7
|
|
|
8
8
|
//#region src/api/event-stream/event-stream.d.ts
|
|
9
9
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
@@ -15,42 +15,60 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
|
15
15
|
declare const getEventStreamVersion: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamVersionGetResponse>;
|
|
16
16
|
declare const getGetEventStreamVersionQueryKey: () => readonly ["account-server", "event-stream", "version"];
|
|
17
17
|
declare const getGetEventStreamVersionQueryOptions: <TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
18
|
-
query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData
|
|
18
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
19
19
|
request?: SecondParameter<typeof customInstance>;
|
|
20
20
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData> & {
|
|
21
|
-
queryKey: QueryKey
|
|
21
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
22
22
|
};
|
|
23
23
|
type GetEventStreamVersionQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreamVersion>>>;
|
|
24
24
|
type GetEventStreamVersionQueryError = ErrorType<void | AsError>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options: {
|
|
26
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, Awaited<ReturnType<typeof getEventStreamVersion>>>, "initialData">;
|
|
27
|
+
request?: SecondParameter<typeof customInstance>;
|
|
28
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
29
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
30
|
+
};
|
|
31
|
+
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
32
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, Awaited<ReturnType<typeof getEventStreamVersion>>>, "initialData">;
|
|
33
|
+
request?: SecondParameter<typeof customInstance>;
|
|
34
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
35
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
36
|
+
};
|
|
28
37
|
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
29
|
-
query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData
|
|
38
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
30
39
|
request?: SecondParameter<typeof customInstance>;
|
|
31
|
-
}): UseQueryResult<TData, TError> & {
|
|
32
|
-
queryKey: QueryKey
|
|
40
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
41
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
33
42
|
};
|
|
34
43
|
/**
|
|
35
44
|
* @summary Gets the details of the installed event stream
|
|
36
45
|
*/
|
|
37
46
|
declare const invalidateGetEventStreamVersion: (queryClient: QueryClient, options?: InvalidateOptions) => Promise<QueryClient>;
|
|
38
47
|
declare const getGetEventStreamVersionSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
39
|
-
query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData
|
|
48
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
40
49
|
request?: SecondParameter<typeof customInstance>;
|
|
41
50
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData> & {
|
|
42
|
-
queryKey: QueryKey
|
|
51
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
43
52
|
};
|
|
44
53
|
type GetEventStreamVersionSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreamVersion>>>;
|
|
45
54
|
type GetEventStreamVersionSuspenseQueryError = ErrorType<void | AsError>;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options: {
|
|
56
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
57
|
+
request?: SecondParameter<typeof customInstance>;
|
|
58
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
59
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
60
|
+
};
|
|
61
|
+
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
62
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
63
|
+
request?: SecondParameter<typeof customInstance>;
|
|
64
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
65
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
66
|
+
};
|
|
49
67
|
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
50
|
-
query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData
|
|
68
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
51
69
|
request?: SecondParameter<typeof customInstance>;
|
|
52
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
53
|
-
queryKey: QueryKey
|
|
70
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
71
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
54
72
|
};
|
|
55
73
|
/**
|
|
56
74
|
* Gets the details of your event stream, if you have created one. The response includes the event stream **id** and the **location** where events can be accessed.
|
|
@@ -60,42 +78,60 @@ declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typ
|
|
|
60
78
|
declare const getEventStream: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamGetPostResponse>;
|
|
61
79
|
declare const getGetEventStreamQueryKey: () => readonly ["account-server", "event-stream"];
|
|
62
80
|
declare const getGetEventStreamQueryOptions: <TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
63
|
-
query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData
|
|
81
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
64
82
|
request?: SecondParameter<typeof customInstance>;
|
|
65
83
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData> & {
|
|
66
|
-
queryKey: QueryKey
|
|
84
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
67
85
|
};
|
|
68
86
|
type GetEventStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;
|
|
69
87
|
type GetEventStreamQueryError = ErrorType<void | AsError>;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
88
|
+
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options: {
|
|
89
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStream>>, TError, Awaited<ReturnType<typeof getEventStream>>>, "initialData">;
|
|
90
|
+
request?: SecondParameter<typeof customInstance>;
|
|
91
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
92
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
93
|
+
};
|
|
94
|
+
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
95
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStream>>, TError, Awaited<ReturnType<typeof getEventStream>>>, "initialData">;
|
|
96
|
+
request?: SecondParameter<typeof customInstance>;
|
|
97
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
98
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
99
|
+
};
|
|
73
100
|
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
74
|
-
query?: UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData
|
|
101
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
75
102
|
request?: SecondParameter<typeof customInstance>;
|
|
76
|
-
}): UseQueryResult<TData, TError> & {
|
|
77
|
-
queryKey: QueryKey
|
|
103
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
104
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
78
105
|
};
|
|
79
106
|
/**
|
|
80
107
|
* @summary Gets the details of your event stream
|
|
81
108
|
*/
|
|
82
109
|
declare const invalidateGetEventStream: (queryClient: QueryClient, options?: InvalidateOptions) => Promise<QueryClient>;
|
|
83
110
|
declare const getGetEventStreamSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
84
|
-
query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData
|
|
111
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
85
112
|
request?: SecondParameter<typeof customInstance>;
|
|
86
113
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData> & {
|
|
87
|
-
queryKey: QueryKey
|
|
114
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
88
115
|
};
|
|
89
116
|
type GetEventStreamSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;
|
|
90
117
|
type GetEventStreamSuspenseQueryError = ErrorType<void | AsError>;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
118
|
+
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options: {
|
|
119
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
120
|
+
request?: SecondParameter<typeof customInstance>;
|
|
121
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
122
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
123
|
+
};
|
|
124
|
+
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
125
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
126
|
+
request?: SecondParameter<typeof customInstance>;
|
|
127
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
128
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
129
|
+
};
|
|
94
130
|
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
95
|
-
query?: UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData
|
|
131
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
96
132
|
request?: SecondParameter<typeof customInstance>;
|
|
97
|
-
}): UseSuspenseQueryResult<TData, TError> & {
|
|
98
|
-
queryKey: QueryKey
|
|
133
|
+
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
134
|
+
queryKey: DataTag<QueryKey, TData>;
|
|
99
135
|
};
|
|
100
136
|
/**
|
|
101
137
|
* Creates a new event stream for the authenticated user. Event streams deliver near-real-time events to the user, typically through a long-running *Socket*. The protocol is dependent on the Event Stream Service that has been installed. Our **Python FastAPI WebSocket** service is one such service.
|
|
@@ -130,7 +166,7 @@ declare const useCreateEventStream: <TError = ErrorType<AsError | void>, TContex
|
|
|
130
166
|
data: EventStreamPostBodyBody;
|
|
131
167
|
}, TContext>;
|
|
132
168
|
request?: SecondParameter<typeof customInstance>;
|
|
133
|
-
}) => UseMutationResult<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
169
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
134
170
|
data: EventStreamPostBodyBody;
|
|
135
171
|
}, TContext>;
|
|
136
172
|
/**
|
|
@@ -157,7 +193,7 @@ declare const useDeleteEventStream: <TError = ErrorType<void | AsError>, TContex
|
|
|
157
193
|
eventStreamId: number;
|
|
158
194
|
}, TContext>;
|
|
159
195
|
request?: SecondParameter<typeof customInstance>;
|
|
160
|
-
}) => UseMutationResult<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
196
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
161
197
|
eventStreamId: number;
|
|
162
198
|
}, TContext>;
|
|
163
199
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-stream.d.ts","names":[],"sources":["../../../src/api/event-stream/event-stream.ts"],"sourcesContent":[],"mappings":";;;;;;;;KAmCK,yDAAyD,WAAW;;;;AAFrB;AASpD;AACmC,cADtB,qBACsB,EAAA,CAAA,OAAA,CAAA,EAAvB,eAAuB,CAAA,OAAA,cAAA,CAAA,EAAA,MAAA,CAAA,EACxB,WADwB,EAAA,GACb,OADa,CACb,6BADa,CAAA;AAAvB,cASC,gCATD,EAAA,GAAA,GAAA,SAAA,CAAA,gBAAA,EAAA,cAAA,EAAA,SAAA,CAAA;AACD,cAYE,oCAZF,EAAA,CAAA,QAaD,OAbC,CAaO,UAbP,CAAA,OAayB,qBAbzB,CAAA,CAAA,EAAA,SAcA,SAdA,CAAA,IAAA,GAciB,OAdjB,CAAA,CAAA,CAAA,OAAW,CAAX,EAAA;EAAW,KAAA,CAAA,EAgBZ,eAhBY,CAgBI,OAhBJ,CAgBY,UAhBZ,CAAA,OAgB8B,qBAhB9B,CAAA,CAAA,EAgBuD,MAhBvD,EAgB+D,KAhB/D,CAAA;EAAA,OAAA,CAAA,EAiBV,eAjBU,CAAA,OAiBa,cAjBb,CAAA;CAAA,EAAA,GA0B6B,eA1B7B,CA2BlB,OA3BkB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