@lepsto/sdk-app 84.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +233 -0
- package/dist/_types/gen/analytics/index.d.ts +2 -0
- package/dist/_types/gen/analytics/queryOptions.gen.d.ts +74 -0
- package/dist/_types/gen/bindings.gen.d.ts +3 -0
- package/dist/_types/gen/brain/index.d.ts +2 -0
- package/dist/_types/gen/brain/queryOptions.gen.d.ts +166 -0
- package/dist/_types/gen/client.gen.d.ts +1087 -0
- package/dist/_types/gen/consent/index.d.ts +2 -0
- package/dist/_types/gen/consent/queryOptions.gen.d.ts +62 -0
- package/dist/_types/gen/content/index.d.ts +2 -0
- package/dist/_types/gen/content/queryOptions.gen.d.ts +126 -0
- package/dist/_types/gen/deployment/index.d.ts +2 -0
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +438 -0
- package/dist/_types/gen/mail/index.d.ts +2 -0
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +206 -0
- package/dist/_types/gen/manifest.gen.d.ts +4 -0
- package/dist/_types/gen/observe/index.d.ts +2 -0
- package/dist/_types/gen/observe/queryOptions.gen.d.ts +142 -0
- package/dist/_types/gen/organization/index.d.ts +2 -0
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +362 -0
- package/dist/_types/gen/realtime/index.d.ts +2 -0
- package/dist/_types/gen/realtime/queryOptions.gen.d.ts +114 -0
- package/dist/_types/gen/support/index.d.ts +2 -0
- package/dist/_types/gen/support/queryOptions.gen.d.ts +206 -0
- package/dist/_types/gen/tracking/index.d.ts +2 -0
- package/dist/_types/gen/tracking/queryOptions.gen.d.ts +150 -0
- package/dist/_types/gen/types.gen.d.ts +126011 -0
- package/dist/_types/gen/users/index.d.ts +2 -0
- package/dist/_types/gen/users/queryOptions.gen.d.ts +182 -0
- package/dist/_types/gen/waitlist/index.d.ts +2 -0
- package/dist/_types/gen/waitlist/queryOptions.gen.d.ts +30 -0
- package/dist/_types/gen/workflow/index.d.ts +2 -0
- package/dist/_types/gen/workflow/queryOptions.gen.d.ts +166 -0
- package/dist/_types/index.d.ts +11 -0
- package/dist/_types/package.json +1 -0
- package/dist/_types/react/index.d.ts +33 -0
- package/dist/_types/runtime/access-reason.d.ts +27 -0
- package/dist/_types/runtime/access.d.ts +40 -0
- package/dist/_types/runtime/compositions.d.ts +16 -0
- package/dist/_types/runtime/connectStream.d.ts +15 -0
- package/dist/_types/runtime/createLesslyApp.d.ts +10 -0
- package/dist/_types/runtime/csrf.d.ts +1 -0
- package/dist/_types/runtime/errors.d.ts +18 -0
- package/dist/_types/runtime/name.d.ts +26 -0
- package/dist/_types/runtime/operations.d.ts +13 -0
- package/dist/_types/runtime/permission-match.d.ts +62 -0
- package/dist/_types/runtime/request.d.ts +9 -0
- package/dist/_types/runtime/types.d.ts +129 -0
- package/dist/analytics/index.cjs +96 -0
- package/dist/analytics/index.cjs.map +1 -0
- package/dist/analytics/index.d.cts +1 -0
- package/dist/analytics/index.d.ts +1 -0
- package/dist/analytics/index.js +77 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/brain/index.cjs +211 -0
- package/dist/brain/index.cjs.map +1 -0
- package/dist/brain/index.d.cts +1 -0
- package/dist/brain/index.d.ts +1 -0
- package/dist/brain/index.js +169 -0
- package/dist/brain/index.js.map +1 -0
- package/dist/consent/index.cjs +81 -0
- package/dist/consent/index.cjs.map +1 -0
- package/dist/consent/index.d.cts +1 -0
- package/dist/consent/index.d.ts +1 -0
- package/dist/consent/index.js +65 -0
- package/dist/consent/index.js.map +1 -0
- package/dist/content/index.cjs +161 -0
- package/dist/content/index.cjs.map +1 -0
- package/dist/content/index.d.cts +1 -0
- package/dist/content/index.d.ts +1 -0
- package/dist/content/index.js +129 -0
- package/dist/content/index.js.map +1 -0
- package/dist/deployment/index.cjs +551 -0
- package/dist/deployment/index.cjs.map +1 -0
- package/dist/deployment/index.d.cts +1 -0
- package/dist/deployment/index.d.ts +1 -0
- package/dist/deployment/index.js +441 -0
- package/dist/deployment/index.js.map +1 -0
- package/dist/index.cjs +12565 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12557 -0
- package/dist/index.js.map +1 -0
- package/dist/mail/index.cjs +261 -0
- package/dist/mail/index.cjs.map +1 -0
- package/dist/mail/index.d.cts +1 -0
- package/dist/mail/index.d.ts +1 -0
- package/dist/mail/index.js +209 -0
- package/dist/mail/index.js.map +1 -0
- package/dist/observe/index.cjs +181 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +1 -0
- package/dist/observe/index.d.ts +1 -0
- package/dist/observe/index.js +145 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/organization/index.cjs +456 -0
- package/dist/organization/index.cjs.map +1 -0
- package/dist/organization/index.d.cts +1 -0
- package/dist/organization/index.d.ts +1 -0
- package/dist/organization/index.js +365 -0
- package/dist/organization/index.js.map +1 -0
- package/dist/react/index.cjs +29 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +1 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +26 -0
- package/dist/react/index.js.map +1 -0
- package/dist/realtime/index.cjs +146 -0
- package/dist/realtime/index.cjs.map +1 -0
- package/dist/realtime/index.d.cts +1 -0
- package/dist/realtime/index.d.ts +1 -0
- package/dist/realtime/index.js +117 -0
- package/dist/realtime/index.js.map +1 -0
- package/dist/support/index.cjs +261 -0
- package/dist/support/index.cjs.map +1 -0
- package/dist/support/index.d.cts +1 -0
- package/dist/support/index.d.ts +1 -0
- package/dist/support/index.js +209 -0
- package/dist/support/index.js.map +1 -0
- package/dist/tracking/index.cjs +191 -0
- package/dist/tracking/index.cjs.map +1 -0
- package/dist/tracking/index.d.cts +1 -0
- package/dist/tracking/index.d.ts +1 -0
- package/dist/tracking/index.js +153 -0
- package/dist/tracking/index.js.map +1 -0
- package/dist/users/index.cjs +231 -0
- package/dist/users/index.cjs.map +1 -0
- package/dist/users/index.d.cts +1 -0
- package/dist/users/index.d.ts +1 -0
- package/dist/users/index.js +185 -0
- package/dist/users/index.js.map +1 -0
- package/dist/waitlist/index.cjs +41 -0
- package/dist/waitlist/index.cjs.map +1 -0
- package/dist/waitlist/index.d.cts +1 -0
- package/dist/waitlist/index.d.ts +1 -0
- package/dist/waitlist/index.js +33 -0
- package/dist/waitlist/index.js.map +1 -0
- package/dist/workflow/index.cjs +211 -0
- package/dist/workflow/index.cjs.map +1 -0
- package/dist/workflow/index.d.cts +1 -0
- package/dist/workflow/index.d.ts +1 -0
- package/dist/workflow/index.js +169 -0
- package/dist/workflow/index.js.map +1 -0
- package/docs/README.md +89 -0
- package/docs/recipes/access.md +781 -0
- package/docs/recipes/federation.md +285 -0
- package/docs/recipes/local-dev.md +111 -0
- package/docs/recipes/sdk-usage.md +194 -0
- package/docs/rules.md +522 -0
- package/package.json +212 -0
- package/src/gen/analytics/index.ts +3 -0
- package/src/gen/analytics/queryOptions.gen.ts +124 -0
- package/src/gen/bindings.gen.ts +11330 -0
- package/src/gen/brain/index.ts +3 -0
- package/src/gen/brain/queryOptions.gen.ts +278 -0
- package/src/gen/client.gen.ts +2288 -0
- package/src/gen/consent/index.ts +3 -0
- package/src/gen/consent/queryOptions.gen.ts +102 -0
- package/src/gen/content/index.ts +3 -0
- package/src/gen/content/queryOptions.gen.ts +202 -0
- package/src/gen/deployment/index.ts +3 -0
- package/src/gen/deployment/queryOptions.gen.ts +707 -0
- package/src/gen/mail/index.ts +3 -0
- package/src/gen/mail/queryOptions.gen.ts +331 -0
- package/src/gen/manifest.gen.ts +780 -0
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +235 -0
- package/src/gen/organization/index.ts +3 -0
- package/src/gen/organization/queryOptions.gen.ts +578 -0
- package/src/gen/realtime/index.ts +3 -0
- package/src/gen/realtime/queryOptions.gen.ts +185 -0
- package/src/gen/support/index.ts +3 -0
- package/src/gen/support/queryOptions.gen.ts +331 -0
- package/src/gen/tracking/index.ts +3 -0
- package/src/gen/tracking/queryOptions.gen.ts +249 -0
- package/src/gen/types.gen.ts +119506 -0
- package/src/gen/users/index.ts +3 -0
- package/src/gen/users/queryOptions.gen.ts +295 -0
- package/src/gen/waitlist/index.ts +3 -0
- package/src/gen/waitlist/queryOptions.gen.ts +50 -0
- package/src/gen/workflow/index.ts +3 -0
- package/src/gen/workflow/queryOptions.gen.ts +274 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { ObserveAlertsCreateInput, ObserveAlertsCreateOutput, ObserveAlertsDeleteInput, ObserveAlertsDeleteOutput, ObserveAlertsEventsListInput, ObserveAlertsEventsListOutput, ObserveAlertsGetInput, ObserveAlertsGetOutput, ObserveAlertsListInput, ObserveAlertsListOutput, ObserveAlertsUpdateInput, ObserveAlertsUpdateOutput, ObserveArtifactsDeleteInput, ObserveArtifactsDeleteOutput, ObserveArtifactsListInput, ObserveArtifactsListOutput, ObserveArtifactsResolveInput, ObserveArtifactsResolveOutput, ObserveIssuesArchiveInput, ObserveIssuesArchiveOutput, ObserveIssuesAssignInput, ObserveIssuesAssignOutput, ObserveIssuesEventInput, ObserveIssuesEventOutput, ObserveIssuesEventsInput, ObserveIssuesEventsOutput, ObserveIssuesGetInput, ObserveIssuesGetOutput, ObserveIssuesHistogramInput, ObserveIssuesHistogramOutput, ObserveIssuesListInput, ObserveIssuesListOutput, ObserveIssuesResolveInput, ObserveIssuesResolveOutput, ObserveKeysCreateInput, ObserveKeysCreateOutput, ObserveKeysListInput, ObserveKeysListOutput, ObserveKeysRevokeInput, ObserveKeysRevokeOutput, ObserveLogsFacetsInput, ObserveLogsFacetsOutput, ObserveLogsSearchInput, ObserveLogsSearchOutput, ObserveLogsTailInput, ObserveLogsTailOutput, ObserveMetricsListInput, ObserveMetricsListOutput, ObserveMetricsQueryInput, ObserveMetricsQueryOutput, ObserveTracesGetInput, ObserveTracesGetOutput, ObserveTracesSearchInput, ObserveTracesSearchOutput, ObserveWebhooksCreateInput, ObserveWebhooksCreateOutput, ObserveWebhooksDeleteInput, ObserveWebhooksDeleteOutput, ObserveWebhooksDeliveriesListInput, ObserveWebhooksDeliveriesListOutput, ObserveWebhooksGetInput, ObserveWebhooksGetOutput, ObserveWebhooksListInput, ObserveWebhooksListOutput, ObserveWebhooksRedeliverInput, ObserveWebhooksRedeliverOutput, ObserveWebhooksRotateSecretInput, ObserveWebhooksRotateSecretOutput, ObserveWebhooksUpdateInput, ObserveWebhooksUpdateOutput } from '../types.gen';
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
ObserveAlertsCreateInput,
|
|
5
|
+
ObserveAlertsDeleteInput,
|
|
6
|
+
ObserveAlertsEventsListInput,
|
|
7
|
+
ObserveAlertsEventsListOutput,
|
|
8
|
+
ObserveAlertsGetInput,
|
|
9
|
+
ObserveAlertsGetOutput,
|
|
10
|
+
ObserveAlertsListInput,
|
|
11
|
+
ObserveAlertsListOutput,
|
|
12
|
+
ObserveAlertsUpdateInput,
|
|
13
|
+
ObserveArtifactsDeleteInput,
|
|
14
|
+
ObserveArtifactsListInput,
|
|
15
|
+
ObserveArtifactsListOutput,
|
|
16
|
+
ObserveArtifactsResolveInput,
|
|
17
|
+
ObserveArtifactsResolveOutput,
|
|
18
|
+
ObserveIssuesArchiveInput,
|
|
19
|
+
ObserveIssuesAssignInput,
|
|
20
|
+
ObserveIssuesEventInput,
|
|
21
|
+
ObserveIssuesEventOutput,
|
|
22
|
+
ObserveIssuesEventsInput,
|
|
23
|
+
ObserveIssuesEventsOutput,
|
|
24
|
+
ObserveIssuesGetInput,
|
|
25
|
+
ObserveIssuesGetOutput,
|
|
26
|
+
ObserveIssuesHistogramInput,
|
|
27
|
+
ObserveIssuesHistogramOutput,
|
|
28
|
+
ObserveIssuesListInput,
|
|
29
|
+
ObserveIssuesListOutput,
|
|
30
|
+
ObserveIssuesResolveInput,
|
|
31
|
+
ObserveKeysCreateInput,
|
|
32
|
+
ObserveKeysListInput,
|
|
33
|
+
ObserveKeysListOutput,
|
|
34
|
+
ObserveKeysRevokeInput,
|
|
35
|
+
ObserveLogsFacetsInput,
|
|
36
|
+
ObserveLogsFacetsOutput,
|
|
37
|
+
ObserveLogsSearchInput,
|
|
38
|
+
ObserveLogsSearchOutput,
|
|
39
|
+
ObserveLogsTailInput,
|
|
40
|
+
ObserveLogsTailOutput,
|
|
41
|
+
ObserveMetricsListInput,
|
|
42
|
+
ObserveMetricsListOutput,
|
|
43
|
+
ObserveMetricsQueryInput,
|
|
44
|
+
ObserveMetricsQueryOutput,
|
|
45
|
+
ObserveTracesGetInput,
|
|
46
|
+
ObserveTracesGetOutput,
|
|
47
|
+
ObserveTracesSearchInput,
|
|
48
|
+
ObserveTracesSearchOutput,
|
|
49
|
+
ObserveWebhooksCreateInput,
|
|
50
|
+
ObserveWebhooksDeleteInput,
|
|
51
|
+
ObserveWebhooksDeliveriesListInput,
|
|
52
|
+
ObserveWebhooksDeliveriesListOutput,
|
|
53
|
+
ObserveWebhooksGetInput,
|
|
54
|
+
ObserveWebhooksGetOutput,
|
|
55
|
+
ObserveWebhooksListInput,
|
|
56
|
+
ObserveWebhooksListOutput,
|
|
57
|
+
ObserveWebhooksRedeliverInput,
|
|
58
|
+
ObserveWebhooksRotateSecretInput,
|
|
59
|
+
ObserveWebhooksUpdateInput,
|
|
60
|
+
} from '../types.gen';
|
|
61
|
+
|
|
62
|
+
export const observeAlertsCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
63
|
+
mutationKey: ['observe', 'alerts', 'create'],
|
|
64
|
+
mutationFn: (input: ObserveAlertsCreateInput) => sdk['observe']['alerts']['create'](input),
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export const observeAlertsDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
68
|
+
mutationKey: ['observe', 'alerts', 'delete'],
|
|
69
|
+
mutationFn: (input: ObserveAlertsDeleteInput) => sdk['observe']['alerts']['delete'](input),
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
export const observeAlertsEventsListQueryOptions = (sdk: GeneratedClient, input: ObserveAlertsEventsListInput) => ({
|
|
73
|
+
queryKey: ['observe', 'alerts-events', 'list', input] as const,
|
|
74
|
+
queryFn: () => sdk['observe']['alerts-events']['list'](input),
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export const observeAlertsGetQueryOptions = (sdk: GeneratedClient, input: ObserveAlertsGetInput) => ({
|
|
78
|
+
queryKey: ['observe', 'alerts', 'get', input] as const,
|
|
79
|
+
queryFn: () => sdk['observe']['alerts']['get'](input),
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
export const observeAlertsListQueryOptions = (sdk: GeneratedClient, input: ObserveAlertsListInput) => ({
|
|
83
|
+
queryKey: ['observe', 'alerts', 'list', input] as const,
|
|
84
|
+
queryFn: () => sdk['observe']['alerts']['list'](input),
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
export const observeAlertsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
88
|
+
mutationKey: ['observe', 'alerts', 'update'],
|
|
89
|
+
mutationFn: (input: ObserveAlertsUpdateInput) => sdk['observe']['alerts']['update'](input),
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
export const observeArtifactsDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
93
|
+
mutationKey: ['observe', 'artifacts', 'delete'],
|
|
94
|
+
mutationFn: (input: ObserveArtifactsDeleteInput) => sdk['observe']['artifacts']['delete'](input),
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
export const observeArtifactsListQueryOptions = (sdk: GeneratedClient, input: ObserveArtifactsListInput) => ({
|
|
98
|
+
queryKey: ['observe', 'artifacts', 'list', input] as const,
|
|
99
|
+
queryFn: () => sdk['observe']['artifacts']['list'](input),
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
export const observeArtifactsResolveQueryOptions = (sdk: GeneratedClient, input: ObserveArtifactsResolveInput) => ({
|
|
103
|
+
queryKey: ['observe', 'artifacts', 'resolve', input] as const,
|
|
104
|
+
queryFn: () => sdk['observe']['artifacts']['resolve'](input),
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
export const observeIssuesArchiveMutationOptions = (sdk: GeneratedClient) => ({
|
|
108
|
+
mutationKey: ['observe', 'issues', 'archive'],
|
|
109
|
+
mutationFn: (input: ObserveIssuesArchiveInput) => sdk['observe']['issues']['archive'](input),
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
export const observeIssuesAssignMutationOptions = (sdk: GeneratedClient) => ({
|
|
113
|
+
mutationKey: ['observe', 'issues', 'assign'],
|
|
114
|
+
mutationFn: (input: ObserveIssuesAssignInput) => sdk['observe']['issues']['assign'](input),
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
export const observeIssuesEventQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesEventInput) => ({
|
|
118
|
+
queryKey: ['observe', 'issues', 'event', input] as const,
|
|
119
|
+
queryFn: () => sdk['observe']['issues']['event'](input),
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
export const observeIssuesEventsQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesEventsInput) => ({
|
|
123
|
+
queryKey: ['observe', 'issues', 'events', input] as const,
|
|
124
|
+
queryFn: () => sdk['observe']['issues']['events'](input),
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
export const observeIssuesGetQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesGetInput) => ({
|
|
128
|
+
queryKey: ['observe', 'issues', 'get', input] as const,
|
|
129
|
+
queryFn: () => sdk['observe']['issues']['get'](input),
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
export const observeIssuesHistogramQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesHistogramInput) => ({
|
|
133
|
+
queryKey: ['observe', 'issues', 'histogram', input] as const,
|
|
134
|
+
queryFn: () => sdk['observe']['issues']['histogram'](input),
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
export const observeIssuesListQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesListInput) => ({
|
|
138
|
+
queryKey: ['observe', 'issues', 'list', input] as const,
|
|
139
|
+
queryFn: () => sdk['observe']['issues']['list'](input),
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
export const observeIssuesResolveMutationOptions = (sdk: GeneratedClient) => ({
|
|
143
|
+
mutationKey: ['observe', 'issues', 'resolve'],
|
|
144
|
+
mutationFn: (input: ObserveIssuesResolveInput) => sdk['observe']['issues']['resolve'](input),
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
export const observeKeysCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
148
|
+
mutationKey: ['observe', 'keys', 'create'],
|
|
149
|
+
mutationFn: (input: ObserveKeysCreateInput) => sdk['observe']['keys']['create'](input),
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
export const observeKeysListQueryOptions = (sdk: GeneratedClient, input: ObserveKeysListInput) => ({
|
|
153
|
+
queryKey: ['observe', 'keys', 'list', input] as const,
|
|
154
|
+
queryFn: () => sdk['observe']['keys']['list'](input),
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
export const observeKeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
158
|
+
mutationKey: ['observe', 'keys', 'revoke'],
|
|
159
|
+
mutationFn: (input: ObserveKeysRevokeInput) => sdk['observe']['keys']['revoke'](input),
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
export const observeLogsFacetsQueryOptions = (sdk: GeneratedClient, input: ObserveLogsFacetsInput) => ({
|
|
163
|
+
queryKey: ['observe', 'logs', 'facets', input] as const,
|
|
164
|
+
queryFn: () => sdk['observe']['logs']['facets'](input),
|
|
165
|
+
});
|
|
166
|
+
|
|
167
|
+
export const observeLogsSearchQueryOptions = (sdk: GeneratedClient, input: ObserveLogsSearchInput) => ({
|
|
168
|
+
queryKey: ['observe', 'logs', 'search', input] as const,
|
|
169
|
+
queryFn: () => sdk['observe']['logs']['search'](input),
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
export const observeLogsTailQueryOptions = (sdk: GeneratedClient, input: ObserveLogsTailInput) => ({
|
|
173
|
+
queryKey: ['observe', 'logs', 'tail', input] as const,
|
|
174
|
+
queryFn: () => sdk['observe']['logs']['tail'](input),
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
export const observeMetricsListQueryOptions = (sdk: GeneratedClient, input: ObserveMetricsListInput) => ({
|
|
178
|
+
queryKey: ['observe', 'metrics', 'list', input] as const,
|
|
179
|
+
queryFn: () => sdk['observe']['metrics']['list'](input),
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
export const observeMetricsQueryQueryOptions = (sdk: GeneratedClient, input: ObserveMetricsQueryInput) => ({
|
|
183
|
+
queryKey: ['observe', 'metrics', 'query', input] as const,
|
|
184
|
+
queryFn: () => sdk['observe']['metrics']['query'](input),
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
export const observeTracesGetQueryOptions = (sdk: GeneratedClient, input: ObserveTracesGetInput) => ({
|
|
188
|
+
queryKey: ['observe', 'traces', 'get', input] as const,
|
|
189
|
+
queryFn: () => sdk['observe']['traces']['get'](input),
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
export const observeTracesSearchQueryOptions = (sdk: GeneratedClient, input: ObserveTracesSearchInput) => ({
|
|
193
|
+
queryKey: ['observe', 'traces', 'search', input] as const,
|
|
194
|
+
queryFn: () => sdk['observe']['traces']['search'](input),
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
export const observeWebhooksCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
198
|
+
mutationKey: ['observe', 'webhooks', 'create'],
|
|
199
|
+
mutationFn: (input: ObserveWebhooksCreateInput) => sdk['observe']['webhooks']['create'](input),
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
export const observeWebhooksDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
203
|
+
mutationKey: ['observe', 'webhooks', 'delete'],
|
|
204
|
+
mutationFn: (input: ObserveWebhooksDeleteInput) => sdk['observe']['webhooks']['delete'](input),
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
export const observeWebhooksDeliveriesListQueryOptions = (sdk: GeneratedClient, input: ObserveWebhooksDeliveriesListInput) => ({
|
|
208
|
+
queryKey: ['observe', 'webhooks-deliveries', 'list', input] as const,
|
|
209
|
+
queryFn: () => sdk['observe']['webhooks-deliveries']['list'](input),
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
export const observeWebhooksGetQueryOptions = (sdk: GeneratedClient, input: ObserveWebhooksGetInput) => ({
|
|
213
|
+
queryKey: ['observe', 'webhooks', 'get', input] as const,
|
|
214
|
+
queryFn: () => sdk['observe']['webhooks']['get'](input),
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
export const observeWebhooksListQueryOptions = (sdk: GeneratedClient, input: ObserveWebhooksListInput) => ({
|
|
218
|
+
queryKey: ['observe', 'webhooks', 'list', input] as const,
|
|
219
|
+
queryFn: () => sdk['observe']['webhooks']['list'](input),
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
export const observeWebhooksRedeliverMutationOptions = (sdk: GeneratedClient) => ({
|
|
223
|
+
mutationKey: ['observe', 'webhooks', 'redeliver'],
|
|
224
|
+
mutationFn: (input: ObserveWebhooksRedeliverInput) => sdk['observe']['webhooks']['redeliver'](input),
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
export const observeWebhooksRotateSecretMutationOptions = (sdk: GeneratedClient) => ({
|
|
228
|
+
mutationKey: ['observe', 'webhooks-rotate', 'secret'],
|
|
229
|
+
mutationFn: (input: ObserveWebhooksRotateSecretInput) => sdk['observe']['webhooks-rotate']['secret'](input),
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
export const observeWebhooksUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
233
|
+
mutationKey: ['observe', 'webhooks', 'update'],
|
|
234
|
+
mutationFn: (input: ObserveWebhooksUpdateInput) => sdk['observe']['webhooks']['update'](input),
|
|
235
|
+
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationPrincipalGrantsApproveInput, OrganizationPrincipalGrantsApproveOutput, OrganizationPrincipalGrantsListInput, OrganizationPrincipalGrantsListOutput, OrganizationPrincipalGrantsRevokeInput, OrganizationPrincipalGrantsRevokeOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductErasureGetInput, OrganizationProductErasureGetOutput, OrganizationProductErasureListInput, OrganizationProductErasureListOutput, OrganizationProductErasureRequestInput, OrganizationProductErasureRequestOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
|