@squonk/account-server-client 4.3.1 → 4.4.0-4-4.2174798239
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/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/api/actions/actions.cjs +85 -0
- package/dist/api/actions/actions.cjs.map +1 -0
- package/dist/api/actions/actions.d.cts +74 -0
- package/dist/api/actions/actions.d.cts.map +1 -0
- package/dist/api/actions/actions.d.ts +74 -0
- package/dist/api/actions/actions.d.ts.map +1 -0
- package/dist/api/actions/actions.js +79 -0
- package/dist/api/actions/actions.js.map +1 -0
- package/dist/api/api.schemas.cjs +142 -0
- package/dist/api/api.schemas.cjs.map +1 -0
- package/dist/api/api.schemas.d.cts +1032 -0
- package/dist/api/api.schemas.d.cts.map +1 -0
- package/dist/api/api.schemas.d.ts +1032 -0
- package/dist/api/api.schemas.d.ts.map +1 -0
- package/dist/api/api.schemas.js +118 -0
- package/dist/api/api.schemas.js.map +1 -0
- package/dist/api/asset/asset.cjs +464 -0
- package/dist/api/asset/asset.cjs.map +1 -0
- package/{asset → dist/api/asset}/asset.d.cts +132 -130
- package/dist/api/asset/asset.d.cts.map +1 -0
- package/{asset → dist/api/asset}/asset.d.ts +132 -130
- package/dist/api/asset/asset.d.ts.map +1 -0
- package/dist/api/asset/asset.js +431 -0
- package/dist/api/asset/asset.js.map +1 -0
- package/dist/api/charges/charges.cjs +272 -0
- package/dist/api/charges/charges.cjs.map +1 -0
- package/{charges → dist/api/charges}/charges.d.cts +106 -104
- package/dist/api/charges/charges.d.cts.map +1 -0
- package/{charges → dist/api/charges}/charges.d.ts +106 -104
- package/dist/api/charges/charges.d.ts.map +1 -0
- package/dist/api/charges/charges.js +248 -0
- package/dist/api/charges/charges.js.map +1 -0
- package/dist/api/event-stream/event-stream.cjs +230 -0
- package/dist/api/event-stream/event-stream.cjs.map +1 -0
- package/{event-stream → dist/api/event-stream}/event-stream.d.cts +75 -73
- package/dist/api/event-stream/event-stream.d.cts.map +1 -0
- package/{event-stream → dist/api/event-stream}/event-stream.d.ts +75 -73
- package/dist/api/event-stream/event-stream.d.ts.map +1 -0
- package/dist/api/event-stream/event-stream.js +212 -0
- package/dist/api/event-stream/event-stream.js.map +1 -0
- package/dist/api/merchant/merchant.cjs +139 -0
- package/dist/api/merchant/merchant.cjs.map +1 -0
- package/{merchant → dist/api/merchant}/merchant.d.cts +56 -54
- package/dist/api/merchant/merchant.d.cts.map +1 -0
- package/{merchant → dist/api/merchant}/merchant.d.ts +56 -54
- package/dist/api/merchant/merchant.d.ts.map +1 -0
- package/dist/api/merchant/merchant.js +127 -0
- package/dist/api/merchant/merchant.js.map +1 -0
- package/dist/api/organisation/organisation.cjs +341 -0
- package/dist/api/organisation/organisation.cjs.map +1 -0
- package/{organisation → dist/api/organisation}/organisation.d.cts +112 -110
- package/dist/api/organisation/organisation.d.cts.map +1 -0
- package/{organisation → dist/api/organisation}/organisation.d.ts +112 -110
- package/dist/api/organisation/organisation.d.ts.map +1 -0
- package/dist/api/organisation/organisation.js +314 -0
- package/dist/api/organisation/organisation.js.map +1 -0
- package/dist/api/product/product.cjs +513 -0
- package/dist/api/product/product.cjs.map +1 -0
- package/{product → dist/api/product}/product.d.cts +188 -186
- package/dist/api/product/product.d.cts.map +1 -0
- package/{product → dist/api/product}/product.d.ts +188 -186
- package/dist/api/product/product.d.ts.map +1 -0
- package/dist/api/product/product.js +468 -0
- package/dist/api/product/product.js.map +1 -0
- package/dist/api/state/state.cjs +76 -0
- package/dist/api/state/state.cjs.map +1 -0
- package/dist/api/state/state.d.cts +66 -0
- package/dist/api/state/state.d.cts.map +1 -0
- package/dist/api/state/state.d.ts +66 -0
- package/dist/api/state/state.d.ts.map +1 -0
- package/dist/api/state/state.js +70 -0
- package/dist/api/state/state.js.map +1 -0
- package/dist/api/unit/unit.cjs +568 -0
- package/dist/api/unit/unit.cjs.map +1 -0
- package/{unit → dist/api/unit}/unit.d.cts +167 -165
- package/dist/api/unit/unit.d.cts.map +1 -0
- package/{unit → dist/api/unit}/unit.d.ts +167 -165
- package/dist/api/unit/unit.d.ts.map +1 -0
- package/dist/api/unit/unit.js +523 -0
- package/dist/api/unit/unit.js.map +1 -0
- package/dist/api/user/user.cjs +380 -0
- package/dist/api/user/user.cjs.map +1 -0
- package/{user → dist/api/user}/user.d.cts +129 -127
- package/dist/api/user/user.d.cts.map +1 -0
- package/{user → dist/api/user}/user.d.ts +129 -127
- package/dist/api/user/user.d.ts.map +1 -0
- package/dist/api/user/user.js +350 -0
- package/dist/api/user/user.js.map +1 -0
- package/dist/custom-instance.cjs +49 -0
- package/dist/custom-instance.cjs.map +1 -0
- package/dist/custom-instance.d.cts +22 -0
- package/dist/custom-instance.d.cts.map +1 -0
- package/dist/custom-instance.d.ts +22 -0
- package/dist/custom-instance.d.ts.map +1 -0
- package/dist/custom-instance.js +44 -0
- package/dist/custom-instance.js.map +1 -0
- package/dist/index.cjs +31 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -0
- package/dist/options-mutator.cjs +24 -0
- package/dist/options-mutator.cjs.map +1 -0
- package/dist/options-mutator.js +23 -0
- package/dist/options-mutator.js.map +1 -0
- package/orval.config.ts +24 -0
- package/package.json +163 -16
- package/pnpm-workspace.yaml +3 -0
- package/src/api/actions/actions.ts +249 -0
- package/src/{account-server-api.schemas.ts → api/api.schemas.ts} +82 -2
- package/src/{asset → api/asset}/asset.ts +8 -8
- package/src/{charges → api/charges}/charges.ts +9 -9
- package/src/{event-stream → api/event-stream}/event-stream.ts +7 -7
- package/src/{merchant → api/merchant}/merchant.ts +7 -7
- package/src/{organisation → api/organisation}/organisation.ts +8 -8
- package/src/{product → api/product}/product.ts +10 -10
- package/src/{state → api/state}/state.ts +6 -6
- package/src/{unit → api/unit}/unit.ts +9 -9
- package/src/{user → api/user}/user.ts +9 -9
- package/src/index.ts +2 -2
- package/src/options-mutator.ts +2 -2
- package/tsconfig.json +29 -0
- package/tsdown.config.ts +52 -0
- package/asset/asset.cjs +0 -281
- package/asset/asset.cjs.map +0 -1
- package/asset/asset.js +0 -281
- package/asset/asset.js.map +0 -1
- package/asset/package.json +0 -7
- package/charges/charges.cjs +0 -176
- package/charges/charges.cjs.map +0 -1
- package/charges/charges.js +0 -176
- package/charges/charges.js.map +0 -1
- package/charges/package.json +0 -7
- package/chunk-3WKSNKHE.js +0 -25
- package/chunk-3WKSNKHE.js.map +0 -1
- package/chunk-NY2VJJG7.cjs +0 -25
- package/chunk-NY2VJJG7.cjs.map +0 -1
- package/chunk-RB2KVIEK.cjs +0 -27
- package/chunk-RB2KVIEK.cjs.map +0 -1
- package/chunk-XYDLYMQ2.js +0 -27
- package/chunk-XYDLYMQ2.js.map +0 -1
- package/event-stream/event-stream.cjs +0 -144
- package/event-stream/event-stream.cjs.map +0 -1
- package/event-stream/event-stream.js +0 -144
- package/event-stream/event-stream.js.map +0 -1
- package/event-stream/package.json +0 -7
- package/index.cjs +0 -142
- package/index.cjs.map +0 -1
- package/index.d.cts +0 -979
- package/index.d.ts +0 -979
- package/index.js +0 -142
- package/index.js.map +0 -1
- package/merchant/merchant.cjs +0 -91
- package/merchant/merchant.cjs.map +0 -1
- package/merchant/merchant.js +0 -91
- package/merchant/merchant.js.map +0 -1
- package/merchant/package.json +0 -7
- package/organisation/organisation.cjs +0 -213
- package/organisation/organisation.cjs.map +0 -1
- package/organisation/organisation.js +0 -213
- package/organisation/organisation.js.map +0 -1
- package/organisation/package.json +0 -7
- package/product/package.json +0 -7
- package/product/product.cjs +0 -341
- package/product/product.cjs.map +0 -1
- package/product/product.js +0 -341
- package/product/product.js.map +0 -1
- package/state/package.json +0 -7
- package/state/state.cjs +0 -53
- package/state/state.cjs.map +0 -1
- package/state/state.d.cts +0 -64
- package/state/state.d.ts +0 -64
- package/state/state.js +0 -53
- package/state/state.js.map +0 -1
- package/unit/package.json +0 -7
- package/unit/unit.cjs +0 -339
- package/unit/unit.cjs.map +0 -1
- package/unit/unit.js +0 -339
- package/unit/unit.js.map +0 -1
- package/user/package.json +0 -7
- package/user/user.cjs +0 -226
- package/user/user.cjs.map +0 -1
- package/user/user.js +0 -226
- package/user/user.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { AsError, EventStreamGetPostResponse, EventStreamPostBodyBody, EventStreamVersionGetResponse } from "../api.schemas.cjs";
|
|
2
|
+
import { ErrorType, customInstance } from "../../custom-instance.cjs";
|
|
3
|
+
import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
4
4
|
|
|
5
|
+
//#region src/api/event-stream/event-stream.d.ts
|
|
5
6
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6
7
|
/**
|
|
7
8
|
* Gets the details of the installed event stream, which includes its **protocol**, and **name**.
|
|
@@ -11,56 +12,56 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
|
11
12
|
declare const getEventStreamVersion: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamVersionGetResponse>;
|
|
12
13
|
declare const getGetEventStreamVersionQueryKey: () => readonly ["/event-stream/version"];
|
|
13
14
|
declare const useGetEventStreamVersionQueryOptions: <TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
16
|
+
request?: SecondParameter<typeof customInstance>;
|
|
16
17
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData> & {
|
|
17
|
-
|
|
18
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
18
19
|
};
|
|
19
20
|
type GetEventStreamVersionQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreamVersion>>>;
|
|
20
21
|
type GetEventStreamVersionQueryError = ErrorType<void | AsError>;
|
|
21
22
|
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options: {
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, Awaited<ReturnType<typeof getEventStreamVersion>>>, "initialData">;
|
|
24
|
+
request?: SecondParameter<typeof customInstance>;
|
|
24
25
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
25
|
-
|
|
26
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
26
27
|
};
|
|
27
28
|
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, Awaited<ReturnType<typeof getEventStreamVersion>>>, "initialData">;
|
|
30
|
+
request?: SecondParameter<typeof customInstance>;
|
|
30
31
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
31
|
-
|
|
32
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
32
33
|
};
|
|
33
34
|
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
36
|
+
request?: SecondParameter<typeof customInstance>;
|
|
36
37
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
37
|
-
|
|
38
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
38
39
|
};
|
|
39
40
|
declare const useGetEventStreamVersionSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
42
|
+
request?: SecondParameter<typeof customInstance>;
|
|
42
43
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData> & {
|
|
43
|
-
|
|
44
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
44
45
|
};
|
|
45
46
|
type GetEventStreamVersionSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreamVersion>>>;
|
|
46
47
|
type GetEventStreamVersionSuspenseQueryError = ErrorType<void | AsError>;
|
|
47
48
|
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options: {
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
50
|
+
request?: SecondParameter<typeof customInstance>;
|
|
50
51
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
51
|
-
|
|
52
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
52
53
|
};
|
|
53
54
|
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
56
|
+
request?: SecondParameter<typeof customInstance>;
|
|
56
57
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
57
|
-
|
|
58
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
58
59
|
};
|
|
59
60
|
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
62
|
+
request?: SecondParameter<typeof customInstance>;
|
|
62
63
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
63
|
-
|
|
64
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
64
65
|
};
|
|
65
66
|
/**
|
|
66
67
|
* 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.
|
|
@@ -70,56 +71,56 @@ declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typ
|
|
|
70
71
|
declare const getEventStream: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamGetPostResponse>;
|
|
71
72
|
declare const getGetEventStreamQueryKey: () => readonly ["/event-stream"];
|
|
72
73
|
declare const useGetEventStreamQueryOptions: <TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
75
|
+
request?: SecondParameter<typeof customInstance>;
|
|
75
76
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData> & {
|
|
76
|
-
|
|
77
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
77
78
|
};
|
|
78
79
|
type GetEventStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;
|
|
79
80
|
type GetEventStreamQueryError = ErrorType<void | AsError>;
|
|
80
81
|
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options: {
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStream>>, TError, Awaited<ReturnType<typeof getEventStream>>>, "initialData">;
|
|
83
|
+
request?: SecondParameter<typeof customInstance>;
|
|
83
84
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
84
|
-
|
|
85
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
85
86
|
};
|
|
86
87
|
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStream>>, TError, Awaited<ReturnType<typeof getEventStream>>>, "initialData">;
|
|
89
|
+
request?: SecondParameter<typeof customInstance>;
|
|
89
90
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
90
|
-
|
|
91
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
91
92
|
};
|
|
92
93
|
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
95
|
+
request?: SecondParameter<typeof customInstance>;
|
|
95
96
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
96
|
-
|
|
97
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
97
98
|
};
|
|
98
99
|
declare const useGetEventStreamSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
101
|
+
request?: SecondParameter<typeof customInstance>;
|
|
101
102
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData> & {
|
|
102
|
-
|
|
103
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
103
104
|
};
|
|
104
105
|
type GetEventStreamSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;
|
|
105
106
|
type GetEventStreamSuspenseQueryError = ErrorType<void | AsError>;
|
|
106
107
|
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options: {
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
109
|
+
request?: SecondParameter<typeof customInstance>;
|
|
109
110
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
110
|
-
|
|
111
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
111
112
|
};
|
|
112
113
|
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
115
|
+
request?: SecondParameter<typeof customInstance>;
|
|
115
116
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
116
|
-
|
|
117
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
117
118
|
};
|
|
118
119
|
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
121
|
+
request?: SecondParameter<typeof customInstance>;
|
|
121
122
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
122
|
-
|
|
123
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
123
124
|
};
|
|
124
125
|
/**
|
|
125
126
|
* 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.
|
|
@@ -136,12 +137,12 @@ A user is only permitted one event stream.
|
|
|
136
137
|
*/
|
|
137
138
|
declare const createEventStream: (eventStreamPostBodyBody: EventStreamPostBodyBody, options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamGetPostResponse>;
|
|
138
139
|
declare const useCreateEventStreamMutationOptions: <TError = ErrorType<AsError | void>, TContext = unknown>(options?: {
|
|
139
|
-
|
|
140
|
-
data: EventStreamPostBodyBody;
|
|
141
|
-
}, TContext>;
|
|
142
|
-
request?: SecondParameter<typeof customInstance>;
|
|
143
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
140
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
144
141
|
data: EventStreamPostBodyBody;
|
|
142
|
+
}, TContext>;
|
|
143
|
+
request?: SecondParameter<typeof customInstance>;
|
|
144
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
145
|
+
data: EventStreamPostBodyBody;
|
|
145
146
|
}, TContext>;
|
|
146
147
|
type CreateEventStreamMutationResult = NonNullable<Awaited<ReturnType<typeof createEventStream>>>;
|
|
147
148
|
type CreateEventStreamMutationBody = EventStreamPostBodyBody;
|
|
@@ -150,12 +151,12 @@ type CreateEventStreamMutationError = ErrorType<AsError | void>;
|
|
|
150
151
|
* @summary Create a new event stream
|
|
151
152
|
*/
|
|
152
153
|
declare const useCreateEventStream: <TError = ErrorType<AsError | void>, TContext = unknown>(options?: {
|
|
153
|
-
|
|
154
|
-
data: EventStreamPostBodyBody;
|
|
155
|
-
}, TContext>;
|
|
156
|
-
request?: SecondParameter<typeof customInstance>;
|
|
157
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
154
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
158
155
|
data: EventStreamPostBodyBody;
|
|
156
|
+
}, TContext>;
|
|
157
|
+
request?: SecondParameter<typeof customInstance>;
|
|
158
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
159
|
+
data: EventStreamPostBodyBody;
|
|
159
160
|
}, TContext>;
|
|
160
161
|
/**
|
|
161
162
|
* You must be the user who created the event stream.
|
|
@@ -164,12 +165,12 @@ declare const useCreateEventStream: <TError = ErrorType<AsError | void>, TContex
|
|
|
164
165
|
*/
|
|
165
166
|
declare const deleteEventStream: (eventStreamId: number, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
166
167
|
declare const useDeleteEventStreamMutationOptions: <TError = ErrorType<void | AsError>, TContext = unknown>(options?: {
|
|
167
|
-
|
|
168
|
-
eventStreamId: number;
|
|
169
|
-
}, TContext>;
|
|
170
|
-
request?: SecondParameter<typeof customInstance>;
|
|
171
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
168
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
172
169
|
eventStreamId: number;
|
|
170
|
+
}, TContext>;
|
|
171
|
+
request?: SecondParameter<typeof customInstance>;
|
|
172
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
173
|
+
eventStreamId: number;
|
|
173
174
|
}, TContext>;
|
|
174
175
|
type DeleteEventStreamMutationResult = NonNullable<Awaited<ReturnType<typeof deleteEventStream>>>;
|
|
175
176
|
type DeleteEventStreamMutationError = ErrorType<void | AsError>;
|
|
@@ -177,12 +178,13 @@ type DeleteEventStreamMutationError = ErrorType<void | AsError>;
|
|
|
177
178
|
* @summary Deletes an existing event stream (that you created)
|
|
178
179
|
*/
|
|
179
180
|
declare const useDeleteEventStream: <TError = ErrorType<void | AsError>, TContext = unknown>(options?: {
|
|
180
|
-
|
|
181
|
-
eventStreamId: number;
|
|
182
|
-
}, TContext>;
|
|
183
|
-
request?: SecondParameter<typeof customInstance>;
|
|
184
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
181
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
185
182
|
eventStreamId: number;
|
|
183
|
+
}, TContext>;
|
|
184
|
+
request?: SecondParameter<typeof customInstance>;
|
|
185
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
186
|
+
eventStreamId: number;
|
|
186
187
|
}, TContext>;
|
|
187
|
-
|
|
188
|
-
export {
|
|
188
|
+
//#endregion
|
|
189
|
+
export { CreateEventStreamMutationBody, CreateEventStreamMutationError, CreateEventStreamMutationResult, DeleteEventStreamMutationError, DeleteEventStreamMutationResult, GetEventStreamQueryError, GetEventStreamQueryResult, GetEventStreamSuspenseQueryError, GetEventStreamSuspenseQueryResult, GetEventStreamVersionQueryError, GetEventStreamVersionQueryResult, GetEventStreamVersionSuspenseQueryError, GetEventStreamVersionSuspenseQueryResult, createEventStream, deleteEventStream, getEventStream, getEventStreamVersion, getGetEventStreamQueryKey, getGetEventStreamVersionQueryKey, useCreateEventStream, useCreateEventStreamMutationOptions, useDeleteEventStream, useDeleteEventStreamMutationOptions, useGetEventStream, useGetEventStreamQueryOptions, useGetEventStreamSuspense, useGetEventStreamSuspenseQueryOptions, useGetEventStreamVersion, useGetEventStreamVersionQueryOptions, useGetEventStreamVersionSuspense, useGetEventStreamVersionSuspenseQueryOptions };
|
|
190
|
+
//# sourceMappingURL=event-stream.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-stream.d.cts","names":[],"sources":["../../../src/api/event-stream/event-stream.ts"],"sourcesContent":[],"mappings":";;;;;KAwCK,yDAAyD,WAAW;AAJlB;AAWvD;;;;AAEsB,cAFT,qBAES,EAAA,CAAA,OAAA,CAAA,EADV,eACU,CAAA,OADa,cACb,CAAA,EAAA,MAAA,CAAA,EAAX,WAAW,EAAA,GAAA,OAAA,CAAA,6BAAA,CAAA;AAAA,cAQT,gCARS,EAAA,GAAA,GAAA,SAAA,CAAA,uBAAA,CAAA;AAAA,cAYT,oCAZS,EAAA,CAAA,QAaZ,OAbY,CAaJ,UAbI,CAAA,OAac,qBAbd,CAAA,CAAA,EAAA,SAcX,SAdW,CAAA,IAAA,GAcM,OAdN,CAAA,CAAA,CAAA,OAac,CAbd,EAAA;EAQT,KAAA,CAAA,EAQH,OARG,CAST,eATS,CASO,OAPnB,CAO2B,UAP3B,CAAA,OAO6C,qBAP7C,CAAA,CAAA,EAOsE,MAPtE,EAO8E,KAP9E,CAAA,CAAA;EAEY,OAAA,CAAA,EAOD,eAPC,CAAA,OAOsB,cAgBlC,CAAA;CAtBmC,EAAA,GAiBV,eAjBU,CAkBhC,OAlBgC,CAkBxB,UAlBwB,CAAA,OAkBN,qBAlBM,CAAA,CAAA,EAmBhC,MAnBgC,EAoBhC,KApBgC,CAAA,GAAA;EAAlB,QAAA,EAqBA,OArBA,CAqBQ,QArBR,EAqBkB,KArBlB,EAqByB,MArBzB,CAAA;CAAR;AACkB,KAuBhB,gCAAA,GAAmC,WAvBnB,CAwB1B,OAxB0B,CAwBlB,UAxBkB,CAAA,OAwBA,qBAxBA,CAAA,CAAA,CAAA;AAAjB,KA0BC,+BAAA,GAAkC,SA1BnC,CAAA,IAAA,GA0BoD,OA1BpD,CAAA;AAGmC,i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,EAAA,GAkblC,iBAlbkC,CAmbnC,OAnbmC,CAmb3B,UAnb2B,CAAA,OAmbT,iBAnbS,CAAA,CAAA,EAobnC,MApbmC,EAAA;EAAvB,aAAA,EAAA,MAAA;CAEE,EAobd,QApbc,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { AsError, EventStreamGetPostResponse, EventStreamPostBodyBody, EventStreamVersionGetResponse } from "../api.schemas.js";
|
|
2
|
+
import { ErrorType, customInstance } from "../../custom-instance.js";
|
|
3
|
+
import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
4
4
|
|
|
5
|
+
//#region src/api/event-stream/event-stream.d.ts
|
|
5
6
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6
7
|
/**
|
|
7
8
|
* Gets the details of the installed event stream, which includes its **protocol**, and **name**.
|
|
@@ -11,56 +12,56 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
|
11
12
|
declare const getEventStreamVersion: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamVersionGetResponse>;
|
|
12
13
|
declare const getGetEventStreamVersionQueryKey: () => readonly ["/event-stream/version"];
|
|
13
14
|
declare const useGetEventStreamVersionQueryOptions: <TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
16
|
+
request?: SecondParameter<typeof customInstance>;
|
|
16
17
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData> & {
|
|
17
|
-
|
|
18
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
18
19
|
};
|
|
19
20
|
type GetEventStreamVersionQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreamVersion>>>;
|
|
20
21
|
type GetEventStreamVersionQueryError = ErrorType<void | AsError>;
|
|
21
22
|
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options: {
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, Awaited<ReturnType<typeof getEventStreamVersion>>>, "initialData">;
|
|
24
|
+
request?: SecondParameter<typeof customInstance>;
|
|
24
25
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
25
|
-
|
|
26
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
26
27
|
};
|
|
27
28
|
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, Awaited<ReturnType<typeof getEventStreamVersion>>>, "initialData">;
|
|
30
|
+
request?: SecondParameter<typeof customInstance>;
|
|
30
31
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
31
|
-
|
|
32
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
32
33
|
};
|
|
33
34
|
declare function useGetEventStreamVersion<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
36
|
+
request?: SecondParameter<typeof customInstance>;
|
|
36
37
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
37
|
-
|
|
38
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
38
39
|
};
|
|
39
40
|
declare const useGetEventStreamVersionSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
42
|
+
request?: SecondParameter<typeof customInstance>;
|
|
42
43
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData> & {
|
|
43
|
-
|
|
44
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
44
45
|
};
|
|
45
46
|
type GetEventStreamVersionSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreamVersion>>>;
|
|
46
47
|
type GetEventStreamVersionSuspenseQueryError = ErrorType<void | AsError>;
|
|
47
48
|
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options: {
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
50
|
+
request?: SecondParameter<typeof customInstance>;
|
|
50
51
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
51
|
-
|
|
52
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
52
53
|
};
|
|
53
54
|
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
56
|
+
request?: SecondParameter<typeof customInstance>;
|
|
56
57
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
57
|
-
|
|
58
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
58
59
|
};
|
|
59
60
|
declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typeof getEventStreamVersion>>, TError = ErrorType<void | AsError>>(options?: {
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreamVersion>>, TError, TData>>;
|
|
62
|
+
request?: SecondParameter<typeof customInstance>;
|
|
62
63
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
63
|
-
|
|
64
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
64
65
|
};
|
|
65
66
|
/**
|
|
66
67
|
* 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.
|
|
@@ -70,56 +71,56 @@ declare function useGetEventStreamVersionSuspense<TData = Awaited<ReturnType<typ
|
|
|
70
71
|
declare const getEventStream: (options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamGetPostResponse>;
|
|
71
72
|
declare const getGetEventStreamQueryKey: () => readonly ["/event-stream"];
|
|
72
73
|
declare const useGetEventStreamQueryOptions: <TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
75
|
+
request?: SecondParameter<typeof customInstance>;
|
|
75
76
|
}) => UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData> & {
|
|
76
|
-
|
|
77
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
77
78
|
};
|
|
78
79
|
type GetEventStreamQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;
|
|
79
80
|
type GetEventStreamQueryError = ErrorType<void | AsError>;
|
|
80
81
|
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options: {
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStream>>, TError, Awaited<ReturnType<typeof getEventStream>>>, "initialData">;
|
|
83
|
+
request?: SecondParameter<typeof customInstance>;
|
|
83
84
|
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
84
|
-
|
|
85
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
85
86
|
};
|
|
86
87
|
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof getEventStream>>, TError, Awaited<ReturnType<typeof getEventStream>>>, "initialData">;
|
|
89
|
+
request?: SecondParameter<typeof customInstance>;
|
|
89
90
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
90
|
-
|
|
91
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
91
92
|
};
|
|
92
93
|
declare function useGetEventStream<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
95
|
+
request?: SecondParameter<typeof customInstance>;
|
|
95
96
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
96
|
-
|
|
97
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
97
98
|
};
|
|
98
99
|
declare const useGetEventStreamSuspenseQueryOptions: <TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
101
|
+
request?: SecondParameter<typeof customInstance>;
|
|
101
102
|
}) => UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData> & {
|
|
102
|
-
|
|
103
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
103
104
|
};
|
|
104
105
|
type GetEventStreamSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStream>>>;
|
|
105
106
|
type GetEventStreamSuspenseQueryError = ErrorType<void | AsError>;
|
|
106
107
|
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options: {
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
109
|
+
request?: SecondParameter<typeof customInstance>;
|
|
109
110
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
110
|
-
|
|
111
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
111
112
|
};
|
|
112
113
|
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
115
|
+
request?: SecondParameter<typeof customInstance>;
|
|
115
116
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
116
|
-
|
|
117
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
117
118
|
};
|
|
118
119
|
declare function useGetEventStreamSuspense<TData = Awaited<ReturnType<typeof getEventStream>>, TError = ErrorType<void | AsError>>(options?: {
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStream>>, TError, TData>>;
|
|
121
|
+
request?: SecondParameter<typeof customInstance>;
|
|
121
122
|
}, queryClient?: QueryClient): UseSuspenseQueryResult<TData, TError> & {
|
|
122
|
-
|
|
123
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
123
124
|
};
|
|
124
125
|
/**
|
|
125
126
|
* 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.
|
|
@@ -136,12 +137,12 @@ A user is only permitted one event stream.
|
|
|
136
137
|
*/
|
|
137
138
|
declare const createEventStream: (eventStreamPostBodyBody: EventStreamPostBodyBody, options?: SecondParameter<typeof customInstance>, signal?: AbortSignal) => Promise<EventStreamGetPostResponse>;
|
|
138
139
|
declare const useCreateEventStreamMutationOptions: <TError = ErrorType<AsError | void>, TContext = unknown>(options?: {
|
|
139
|
-
|
|
140
|
-
data: EventStreamPostBodyBody;
|
|
141
|
-
}, TContext>;
|
|
142
|
-
request?: SecondParameter<typeof customInstance>;
|
|
143
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
140
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
144
141
|
data: EventStreamPostBodyBody;
|
|
142
|
+
}, TContext>;
|
|
143
|
+
request?: SecondParameter<typeof customInstance>;
|
|
144
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
145
|
+
data: EventStreamPostBodyBody;
|
|
145
146
|
}, TContext>;
|
|
146
147
|
type CreateEventStreamMutationResult = NonNullable<Awaited<ReturnType<typeof createEventStream>>>;
|
|
147
148
|
type CreateEventStreamMutationBody = EventStreamPostBodyBody;
|
|
@@ -150,12 +151,12 @@ type CreateEventStreamMutationError = ErrorType<AsError | void>;
|
|
|
150
151
|
* @summary Create a new event stream
|
|
151
152
|
*/
|
|
152
153
|
declare const useCreateEventStream: <TError = ErrorType<AsError | void>, TContext = unknown>(options?: {
|
|
153
|
-
|
|
154
|
-
data: EventStreamPostBodyBody;
|
|
155
|
-
}, TContext>;
|
|
156
|
-
request?: SecondParameter<typeof customInstance>;
|
|
157
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
154
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
158
155
|
data: EventStreamPostBodyBody;
|
|
156
|
+
}, TContext>;
|
|
157
|
+
request?: SecondParameter<typeof customInstance>;
|
|
158
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof createEventStream>>, TError, {
|
|
159
|
+
data: EventStreamPostBodyBody;
|
|
159
160
|
}, TContext>;
|
|
160
161
|
/**
|
|
161
162
|
* You must be the user who created the event stream.
|
|
@@ -164,12 +165,12 @@ declare const useCreateEventStream: <TError = ErrorType<AsError | void>, TContex
|
|
|
164
165
|
*/
|
|
165
166
|
declare const deleteEventStream: (eventStreamId: number, options?: SecondParameter<typeof customInstance>) => Promise<void>;
|
|
166
167
|
declare const useDeleteEventStreamMutationOptions: <TError = ErrorType<void | AsError>, TContext = unknown>(options?: {
|
|
167
|
-
|
|
168
|
-
eventStreamId: number;
|
|
169
|
-
}, TContext>;
|
|
170
|
-
request?: SecondParameter<typeof customInstance>;
|
|
171
|
-
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
168
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
172
169
|
eventStreamId: number;
|
|
170
|
+
}, TContext>;
|
|
171
|
+
request?: SecondParameter<typeof customInstance>;
|
|
172
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
173
|
+
eventStreamId: number;
|
|
173
174
|
}, TContext>;
|
|
174
175
|
type DeleteEventStreamMutationResult = NonNullable<Awaited<ReturnType<typeof deleteEventStream>>>;
|
|
175
176
|
type DeleteEventStreamMutationError = ErrorType<void | AsError>;
|
|
@@ -177,12 +178,13 @@ type DeleteEventStreamMutationError = ErrorType<void | AsError>;
|
|
|
177
178
|
* @summary Deletes an existing event stream (that you created)
|
|
178
179
|
*/
|
|
179
180
|
declare const useDeleteEventStream: <TError = ErrorType<void | AsError>, TContext = unknown>(options?: {
|
|
180
|
-
|
|
181
|
-
eventStreamId: number;
|
|
182
|
-
}, TContext>;
|
|
183
|
-
request?: SecondParameter<typeof customInstance>;
|
|
184
|
-
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
181
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
185
182
|
eventStreamId: number;
|
|
183
|
+
}, TContext>;
|
|
184
|
+
request?: SecondParameter<typeof customInstance>;
|
|
185
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteEventStream>>, TError, {
|
|
186
|
+
eventStreamId: number;
|
|
186
187
|
}, TContext>;
|
|
187
|
-
|
|
188
|
-
export {
|
|
188
|
+
//#endregion
|
|
189
|
+
export { CreateEventStreamMutationBody, CreateEventStreamMutationError, CreateEventStreamMutationResult, DeleteEventStreamMutationError, DeleteEventStreamMutationResult, GetEventStreamQueryError, GetEventStreamQueryResult, GetEventStreamSuspenseQueryError, GetEventStreamSuspenseQueryResult, GetEventStreamVersionQueryError, GetEventStreamVersionQueryResult, GetEventStreamVersionSuspenseQueryError, GetEventStreamVersionSuspenseQueryResult, createEventStream, deleteEventStream, getEventStream, getEventStreamVersion, getGetEventStreamQueryKey, getGetEventStreamVersionQueryKey, useCreateEventStream, useCreateEventStreamMutationOptions, useDeleteEventStream, useDeleteEventStreamMutationOptions, useGetEventStream, useGetEventStreamQueryOptions, useGetEventStreamSuspense, useGetEventStreamSuspenseQueryOptions, useGetEventStreamVersion, useGetEventStreamVersionQueryOptions, useGetEventStreamVersionSuspense, useGetEventStreamVersionSuspenseQueryOptions };
|
|
190
|
+
//# sourceMappingURL=event-stream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-stream.d.ts","names":[],"sources":["../../../src/api/event-stream/event-stream.ts"],"sourcesContent":[],"mappings":";;;;;KAwCK,yDAAyD,WAAW;AAJlB;AAWvD;;;;AAEsB,cAFT,qBAES,EAAA,CAAA,OAAA,CAAA,EADV,eACU,CAAA,OADa,cACb,CAAA,EAAA,MAAA,CAAA,EAAX,WAAW,EAAA,GAAA,OAAA,CAAA,6BAAA,CAAA;AAAA,cAQT,gCARS,EAAA,GAAA,GAAA,SAAA,CAAA,uBAAA,CAAA;AAAA,cAYT,oCAZS,EAAA,CAAA,QAaZ,OAbY,CAaJ,UAbI,CAAA,OAac,qBAbd,CAAA,CAAA,EAAA,SAcX,SAdW,CAAA,IAAA,GAcM,OAdN,CAAA,CAAA,CAAA,OAac,CAbd,EAAA;EAQT,KAAA,CAAA,EAQH,OARG,CAST,eATS,CASO,OAPnB,CAO2B,UAP3B,CAAA,OAO6C,qBAP7C,CAAA,CAAA,EAOsE,MAPtE,EAO8E,KAP9E,CAAA,CAAA;EAEY,OAAA,CAAA,EAOD,eAPC,CAAA,OAOsB,cAgBlC,CAAA;CAtBmC,EAAA,GAiBV,eAjBU,CAkBhC,OAlBgC,CAkBxB,UAlBwB,CAAA,OAkBN,qBAlBM,CAAA,CAAA,EAmBhC,MAnBgC,EAoBhC,KApBgC,CAAA,GAAA;EAAlB,QAAA,EAqBA,OArBA,CAqBQ,QArBR,EAqBkB,KArBlB,EAqByB,MArBzB,CAAA;CAAR;AACkB,KAuBhB,gCAAA,GAAmC,WAvBnB,CAwB1B,OAxB0B,CAwBlB,UAxBkB,CAAA,OAwBA,qBAxBA,CAAA,CAAA,CAAA;AAAjB,KA0BC,+BAAA,GAAkC,SA1BnC,CAAA,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