@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.
Files changed (183) hide show
  1. package/README.md +233 -0
  2. package/dist/_types/gen/analytics/index.d.ts +2 -0
  3. package/dist/_types/gen/analytics/queryOptions.gen.d.ts +74 -0
  4. package/dist/_types/gen/bindings.gen.d.ts +3 -0
  5. package/dist/_types/gen/brain/index.d.ts +2 -0
  6. package/dist/_types/gen/brain/queryOptions.gen.d.ts +166 -0
  7. package/dist/_types/gen/client.gen.d.ts +1087 -0
  8. package/dist/_types/gen/consent/index.d.ts +2 -0
  9. package/dist/_types/gen/consent/queryOptions.gen.d.ts +62 -0
  10. package/dist/_types/gen/content/index.d.ts +2 -0
  11. package/dist/_types/gen/content/queryOptions.gen.d.ts +126 -0
  12. package/dist/_types/gen/deployment/index.d.ts +2 -0
  13. package/dist/_types/gen/deployment/queryOptions.gen.d.ts +438 -0
  14. package/dist/_types/gen/mail/index.d.ts +2 -0
  15. package/dist/_types/gen/mail/queryOptions.gen.d.ts +206 -0
  16. package/dist/_types/gen/manifest.gen.d.ts +4 -0
  17. package/dist/_types/gen/observe/index.d.ts +2 -0
  18. package/dist/_types/gen/observe/queryOptions.gen.d.ts +142 -0
  19. package/dist/_types/gen/organization/index.d.ts +2 -0
  20. package/dist/_types/gen/organization/queryOptions.gen.d.ts +362 -0
  21. package/dist/_types/gen/realtime/index.d.ts +2 -0
  22. package/dist/_types/gen/realtime/queryOptions.gen.d.ts +114 -0
  23. package/dist/_types/gen/support/index.d.ts +2 -0
  24. package/dist/_types/gen/support/queryOptions.gen.d.ts +206 -0
  25. package/dist/_types/gen/tracking/index.d.ts +2 -0
  26. package/dist/_types/gen/tracking/queryOptions.gen.d.ts +150 -0
  27. package/dist/_types/gen/types.gen.d.ts +126011 -0
  28. package/dist/_types/gen/users/index.d.ts +2 -0
  29. package/dist/_types/gen/users/queryOptions.gen.d.ts +182 -0
  30. package/dist/_types/gen/waitlist/index.d.ts +2 -0
  31. package/dist/_types/gen/waitlist/queryOptions.gen.d.ts +30 -0
  32. package/dist/_types/gen/workflow/index.d.ts +2 -0
  33. package/dist/_types/gen/workflow/queryOptions.gen.d.ts +166 -0
  34. package/dist/_types/index.d.ts +11 -0
  35. package/dist/_types/package.json +1 -0
  36. package/dist/_types/react/index.d.ts +33 -0
  37. package/dist/_types/runtime/access-reason.d.ts +27 -0
  38. package/dist/_types/runtime/access.d.ts +40 -0
  39. package/dist/_types/runtime/compositions.d.ts +16 -0
  40. package/dist/_types/runtime/connectStream.d.ts +15 -0
  41. package/dist/_types/runtime/createLesslyApp.d.ts +10 -0
  42. package/dist/_types/runtime/csrf.d.ts +1 -0
  43. package/dist/_types/runtime/errors.d.ts +18 -0
  44. package/dist/_types/runtime/name.d.ts +26 -0
  45. package/dist/_types/runtime/operations.d.ts +13 -0
  46. package/dist/_types/runtime/permission-match.d.ts +62 -0
  47. package/dist/_types/runtime/request.d.ts +9 -0
  48. package/dist/_types/runtime/types.d.ts +129 -0
  49. package/dist/analytics/index.cjs +96 -0
  50. package/dist/analytics/index.cjs.map +1 -0
  51. package/dist/analytics/index.d.cts +1 -0
  52. package/dist/analytics/index.d.ts +1 -0
  53. package/dist/analytics/index.js +77 -0
  54. package/dist/analytics/index.js.map +1 -0
  55. package/dist/brain/index.cjs +211 -0
  56. package/dist/brain/index.cjs.map +1 -0
  57. package/dist/brain/index.d.cts +1 -0
  58. package/dist/brain/index.d.ts +1 -0
  59. package/dist/brain/index.js +169 -0
  60. package/dist/brain/index.js.map +1 -0
  61. package/dist/consent/index.cjs +81 -0
  62. package/dist/consent/index.cjs.map +1 -0
  63. package/dist/consent/index.d.cts +1 -0
  64. package/dist/consent/index.d.ts +1 -0
  65. package/dist/consent/index.js +65 -0
  66. package/dist/consent/index.js.map +1 -0
  67. package/dist/content/index.cjs +161 -0
  68. package/dist/content/index.cjs.map +1 -0
  69. package/dist/content/index.d.cts +1 -0
  70. package/dist/content/index.d.ts +1 -0
  71. package/dist/content/index.js +129 -0
  72. package/dist/content/index.js.map +1 -0
  73. package/dist/deployment/index.cjs +551 -0
  74. package/dist/deployment/index.cjs.map +1 -0
  75. package/dist/deployment/index.d.cts +1 -0
  76. package/dist/deployment/index.d.ts +1 -0
  77. package/dist/deployment/index.js +441 -0
  78. package/dist/deployment/index.js.map +1 -0
  79. package/dist/index.cjs +12565 -0
  80. package/dist/index.cjs.map +1 -0
  81. package/dist/index.d.cts +1 -0
  82. package/dist/index.d.ts +1 -0
  83. package/dist/index.js +12557 -0
  84. package/dist/index.js.map +1 -0
  85. package/dist/mail/index.cjs +261 -0
  86. package/dist/mail/index.cjs.map +1 -0
  87. package/dist/mail/index.d.cts +1 -0
  88. package/dist/mail/index.d.ts +1 -0
  89. package/dist/mail/index.js +209 -0
  90. package/dist/mail/index.js.map +1 -0
  91. package/dist/observe/index.cjs +181 -0
  92. package/dist/observe/index.cjs.map +1 -0
  93. package/dist/observe/index.d.cts +1 -0
  94. package/dist/observe/index.d.ts +1 -0
  95. package/dist/observe/index.js +145 -0
  96. package/dist/observe/index.js.map +1 -0
  97. package/dist/organization/index.cjs +456 -0
  98. package/dist/organization/index.cjs.map +1 -0
  99. package/dist/organization/index.d.cts +1 -0
  100. package/dist/organization/index.d.ts +1 -0
  101. package/dist/organization/index.js +365 -0
  102. package/dist/organization/index.js.map +1 -0
  103. package/dist/react/index.cjs +29 -0
  104. package/dist/react/index.cjs.map +1 -0
  105. package/dist/react/index.d.cts +1 -0
  106. package/dist/react/index.d.ts +1 -0
  107. package/dist/react/index.js +26 -0
  108. package/dist/react/index.js.map +1 -0
  109. package/dist/realtime/index.cjs +146 -0
  110. package/dist/realtime/index.cjs.map +1 -0
  111. package/dist/realtime/index.d.cts +1 -0
  112. package/dist/realtime/index.d.ts +1 -0
  113. package/dist/realtime/index.js +117 -0
  114. package/dist/realtime/index.js.map +1 -0
  115. package/dist/support/index.cjs +261 -0
  116. package/dist/support/index.cjs.map +1 -0
  117. package/dist/support/index.d.cts +1 -0
  118. package/dist/support/index.d.ts +1 -0
  119. package/dist/support/index.js +209 -0
  120. package/dist/support/index.js.map +1 -0
  121. package/dist/tracking/index.cjs +191 -0
  122. package/dist/tracking/index.cjs.map +1 -0
  123. package/dist/tracking/index.d.cts +1 -0
  124. package/dist/tracking/index.d.ts +1 -0
  125. package/dist/tracking/index.js +153 -0
  126. package/dist/tracking/index.js.map +1 -0
  127. package/dist/users/index.cjs +231 -0
  128. package/dist/users/index.cjs.map +1 -0
  129. package/dist/users/index.d.cts +1 -0
  130. package/dist/users/index.d.ts +1 -0
  131. package/dist/users/index.js +185 -0
  132. package/dist/users/index.js.map +1 -0
  133. package/dist/waitlist/index.cjs +41 -0
  134. package/dist/waitlist/index.cjs.map +1 -0
  135. package/dist/waitlist/index.d.cts +1 -0
  136. package/dist/waitlist/index.d.ts +1 -0
  137. package/dist/waitlist/index.js +33 -0
  138. package/dist/waitlist/index.js.map +1 -0
  139. package/dist/workflow/index.cjs +211 -0
  140. package/dist/workflow/index.cjs.map +1 -0
  141. package/dist/workflow/index.d.cts +1 -0
  142. package/dist/workflow/index.d.ts +1 -0
  143. package/dist/workflow/index.js +169 -0
  144. package/dist/workflow/index.js.map +1 -0
  145. package/docs/README.md +89 -0
  146. package/docs/recipes/access.md +781 -0
  147. package/docs/recipes/federation.md +285 -0
  148. package/docs/recipes/local-dev.md +111 -0
  149. package/docs/recipes/sdk-usage.md +194 -0
  150. package/docs/rules.md +522 -0
  151. package/package.json +212 -0
  152. package/src/gen/analytics/index.ts +3 -0
  153. package/src/gen/analytics/queryOptions.gen.ts +124 -0
  154. package/src/gen/bindings.gen.ts +11330 -0
  155. package/src/gen/brain/index.ts +3 -0
  156. package/src/gen/brain/queryOptions.gen.ts +278 -0
  157. package/src/gen/client.gen.ts +2288 -0
  158. package/src/gen/consent/index.ts +3 -0
  159. package/src/gen/consent/queryOptions.gen.ts +102 -0
  160. package/src/gen/content/index.ts +3 -0
  161. package/src/gen/content/queryOptions.gen.ts +202 -0
  162. package/src/gen/deployment/index.ts +3 -0
  163. package/src/gen/deployment/queryOptions.gen.ts +707 -0
  164. package/src/gen/mail/index.ts +3 -0
  165. package/src/gen/mail/queryOptions.gen.ts +331 -0
  166. package/src/gen/manifest.gen.ts +780 -0
  167. package/src/gen/observe/index.ts +3 -0
  168. package/src/gen/observe/queryOptions.gen.ts +235 -0
  169. package/src/gen/organization/index.ts +3 -0
  170. package/src/gen/organization/queryOptions.gen.ts +578 -0
  171. package/src/gen/realtime/index.ts +3 -0
  172. package/src/gen/realtime/queryOptions.gen.ts +185 -0
  173. package/src/gen/support/index.ts +3 -0
  174. package/src/gen/support/queryOptions.gen.ts +331 -0
  175. package/src/gen/tracking/index.ts +3 -0
  176. package/src/gen/tracking/queryOptions.gen.ts +249 -0
  177. package/src/gen/types.gen.ts +119506 -0
  178. package/src/gen/users/index.ts +3 -0
  179. package/src/gen/users/queryOptions.gen.ts +295 -0
  180. package/src/gen/waitlist/index.ts +3 -0
  181. package/src/gen/waitlist/queryOptions.gen.ts +50 -0
  182. package/src/gen/workflow/index.ts +3 -0
  183. 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';