@lessly/sdk-app 15.1.0 → 15.1.1

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 (53) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +5 -0
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +6 -2
  6. package/dist/brain/index.d.ts +6 -2
  7. package/dist/brain/index.js +5 -1
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-BeFnNb6g.d.cts → client.gen-CxFsxxHW.d.cts} +232 -3042
  10. package/dist/{client.gen-BeFnNb6g.d.ts → client.gen-CxFsxxHW.d.ts} +232 -3042
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.d.cts +1 -1
  14. package/dist/deployment/index.d.ts +1 -1
  15. package/dist/index.cjs +13 -846
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +13 -846
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/organization/index.d.cts +1 -1
  24. package/dist/organization/index.d.ts +1 -1
  25. package/dist/realtime/index.d.cts +1 -1
  26. package/dist/realtime/index.d.ts +1 -1
  27. package/dist/tracking/index.d.cts +1 -1
  28. package/dist/tracking/index.d.ts +1 -1
  29. package/dist/waitlist/index.d.cts +1 -1
  30. package/dist/waitlist/index.d.ts +1 -1
  31. package/package.json +2 -12
  32. package/src/gen/bindings.gen.ts +13 -846
  33. package/src/gen/brain/index.ts +1 -1
  34. package/src/gen/brain/queryOptions.gen.ts +7 -0
  35. package/src/gen/client.gen.ts +5 -210
  36. package/src/gen/manifest.gen.ts +1 -1
  37. package/src/gen/types.gen.ts +96 -2923
  38. package/dist/playground/index.cjs +0 -66
  39. package/dist/playground/index.cjs.map +0 -1
  40. package/dist/playground/index.d.cts +0 -52
  41. package/dist/playground/index.d.ts +0 -52
  42. package/dist/playground/index.js +0 -53
  43. package/dist/playground/index.js.map +0 -1
  44. package/dist/users/index.cjs +0 -216
  45. package/dist/users/index.cjs.map +0 -1
  46. package/dist/users/index.d.cts +0 -172
  47. package/dist/users/index.d.ts +0 -172
  48. package/dist/users/index.js +0 -173
  49. package/dist/users/index.js.map +0 -1
  50. package/src/gen/playground/index.ts +0 -3
  51. package/src/gen/playground/queryOptions.gen.ts +0 -86
  52. package/src/gen/users/index.ts +0 -3
  53. package/src/gen/users/queryOptions.gen.ts +0 -268
@@ -1,86 +0,0 @@
1
- // AUTOGENERATED by scripts/generate.ts — do not edit.
2
- import type { GeneratedClient } from '../client.gen';
3
- import type {
4
- PlaygroundAnalyticsOverviewInput,
5
- PlaygroundAnalyticsOverviewOutput,
6
- PlaygroundBillingEntitlementsInput,
7
- PlaygroundBillingEntitlementsOutput,
8
- PlaygroundBillingRecordUsageInput,
9
- PlaygroundClickupCreateTaskInput,
10
- PlaygroundClickupGetLastWebhookInput,
11
- PlaygroundClickupGetLastWebhookOutput,
12
- PlaygroundClickupGetOverviewInput,
13
- PlaygroundClickupGetOverviewOutput,
14
- PlaygroundGdriveGetLastChangeInput,
15
- PlaygroundGdriveGetLastChangeOutput,
16
- PlaygroundGdriveReadFileInput,
17
- PlaygroundGdriveReadFileOutput,
18
- PlaygroundGoogleadsReadCustomerInput,
19
- PlaygroundGoogleadsReadCustomerOutput,
20
- PlaygroundLifecycleGetStateInput,
21
- PlaygroundLifecycleGetStateOutput,
22
- PlaygroundLifecycleListEventsInput,
23
- PlaygroundLifecycleListEventsOutput,
24
- PlaygroundWebhookGetLastInput,
25
- PlaygroundWebhookGetLastOutput,
26
- } from '../types.gen';
27
-
28
- export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
29
- queryKey: ['playground', 'analytics', 'overview', input] as const,
30
- queryFn: () => sdk['playground']['analytics']['overview'](input),
31
- });
32
-
33
- export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
34
- queryKey: ['playground', 'billing', 'entitlements', input] as const,
35
- queryFn: () => sdk['playground']['billing']['entitlements'](input),
36
- });
37
-
38
- export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
39
- mutationKey: ['playground', 'billing', 'record-usage'],
40
- mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
41
- });
42
-
43
- export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
44
- mutationKey: ['playground', 'clickup', 'create-task'],
45
- mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
46
- });
47
-
48
- export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
49
- queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
50
- queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
51
- });
52
-
53
- export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
54
- queryKey: ['playground', 'clickup', 'get-overview', input] as const,
55
- queryFn: () => sdk['playground']['clickup']['get-overview'](input),
56
- });
57
-
58
- export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
59
- queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
60
- queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
61
- });
62
-
63
- export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
64
- queryKey: ['playground', 'gdrive', 'read-file', input] as const,
65
- queryFn: () => sdk['playground']['gdrive']['read-file'](input),
66
- });
67
-
68
- export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
69
- queryKey: ['playground', 'googleads', 'read-customer', input] as const,
70
- queryFn: () => sdk['playground']['googleads']['read-customer'](input),
71
- });
72
-
73
- export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
74
- queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
75
- queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
76
- });
77
-
78
- export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
79
- queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
80
- queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
81
- });
82
-
83
- export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
84
- queryKey: ['playground', 'webhook', 'get-last', input] as const,
85
- queryFn: () => sdk['playground']['webhook']['get-last'](input),
86
- });
@@ -1,3 +0,0 @@
1
- // AUTOGENERATED by scripts/generate.ts — do not edit.
2
- export * from './queryOptions.gen';
3
- export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersEraseInput, UsersUsersEraseOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistEraseInput, UsersWaitlistEraseOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.gen';
@@ -1,268 +0,0 @@
1
- // AUTOGENERATED by scripts/generate.ts — do not edit.
2
- import type { GeneratedClient } from '../client.gen';
3
- import type {
4
- UsersApikeysCreateInput,
5
- UsersApikeysListInput,
6
- UsersApikeysListOutput,
7
- UsersApikeysRevokeInput,
8
- UsersAuditListInput,
9
- UsersAuditListOutput,
10
- UsersConfigGetInput,
11
- UsersConfigGetOutput,
12
- UsersConfigUpsertInput,
13
- UsersFactorsListInput,
14
- UsersFactorsListOutput,
15
- UsersFactorsResetInput,
16
- UsersKeysListInput,
17
- UsersKeysListOutput,
18
- UsersKeysRevokeInput,
19
- UsersKeysRotateInput,
20
- UsersOpsRetentionGetInput,
21
- UsersOpsSloGetInput,
22
- UsersSessionsGetInput,
23
- UsersSessionsGetOutput,
24
- UsersSessionsImpersonateInput,
25
- UsersSessionsListInput,
26
- UsersSessionsListOutput,
27
- UsersSessionsRevokeInput,
28
- UsersStatsGetInput,
29
- UsersUsersBanInput,
30
- UsersUsersCreateInput,
31
- UsersUsersDeleteInput,
32
- UsersUsersEraseInput,
33
- UsersUsersExportInput,
34
- UsersUsersGetInput,
35
- UsersUsersGetOutput,
36
- UsersUsersImportInput,
37
- UsersUsersInviteInput,
38
- UsersUsersListInput,
39
- UsersUsersListOutput,
40
- UsersUsersSetPrimaryIdentifierInput,
41
- UsersUsersUnbanInput,
42
- UsersUsersUpdateInput,
43
- UsersWaitlistEraseInput,
44
- UsersWaitlistFunnelInput,
45
- UsersWaitlistImportInput,
46
- UsersWaitlistInviteInput,
47
- UsersWaitlistListInput,
48
- UsersWebhooksCreateInput,
49
- UsersWebhooksDeleteInput,
50
- UsersWebhooksDeliveriesListInput,
51
- UsersWebhooksDeliveriesListOutput,
52
- UsersWebhooksGetInput,
53
- UsersWebhooksGetOutput,
54
- UsersWebhooksListInput,
55
- UsersWebhooksListOutput,
56
- UsersWebhooksRotateSecretInput,
57
- UsersWebhooksUpdateInput,
58
- } from '../types.gen';
59
-
60
- export const usersApikeysCreateMutationOptions = (sdk: GeneratedClient) => ({
61
- mutationKey: ['users', 'apikeys', 'create'],
62
- mutationFn: (input: UsersApikeysCreateInput) => sdk['users']['apikeys']['create'](input),
63
- });
64
-
65
- export const usersApikeysListQueryOptions = (sdk: GeneratedClient, input: UsersApikeysListInput) => ({
66
- queryKey: ['users', 'apikeys', 'list', input] as const,
67
- queryFn: () => sdk['users']['apikeys']['list'](input),
68
- });
69
-
70
- export const usersApikeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
71
- mutationKey: ['users', 'apikeys', 'revoke'],
72
- mutationFn: (input: UsersApikeysRevokeInput) => sdk['users']['apikeys']['revoke'](input),
73
- });
74
-
75
- export const usersAuditListQueryOptions = (sdk: GeneratedClient, input: UsersAuditListInput) => ({
76
- queryKey: ['users', 'audit', 'list', input] as const,
77
- queryFn: () => sdk['users']['audit']['list'](input),
78
- });
79
-
80
- export const usersConfigGetQueryOptions = (sdk: GeneratedClient, input: UsersConfigGetInput) => ({
81
- queryKey: ['users', 'config', 'get', input] as const,
82
- queryFn: () => sdk['users']['config']['get'](input),
83
- });
84
-
85
- export const usersConfigUpsertMutationOptions = (sdk: GeneratedClient) => ({
86
- mutationKey: ['users', 'config', 'upsert'],
87
- mutationFn: (input: UsersConfigUpsertInput) => sdk['users']['config']['upsert'](input),
88
- });
89
-
90
- export const usersFactorsListQueryOptions = (sdk: GeneratedClient, input: UsersFactorsListInput) => ({
91
- queryKey: ['users', 'factors', 'list', input] as const,
92
- queryFn: () => sdk['users']['factors']['list'](input),
93
- });
94
-
95
- export const usersFactorsResetMutationOptions = (sdk: GeneratedClient) => ({
96
- mutationKey: ['users', 'factors', 'reset'],
97
- mutationFn: (input: UsersFactorsResetInput) => sdk['users']['factors']['reset'](input),
98
- });
99
-
100
- export const usersKeysListQueryOptions = (sdk: GeneratedClient, input: UsersKeysListInput) => ({
101
- queryKey: ['users', 'keys', 'list', input] as const,
102
- queryFn: () => sdk['users']['keys']['list'](input),
103
- });
104
-
105
- export const usersKeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
106
- mutationKey: ['users', 'keys', 'revoke'],
107
- mutationFn: (input: UsersKeysRevokeInput) => sdk['users']['keys']['revoke'](input),
108
- });
109
-
110
- export const usersKeysRotateMutationOptions = (sdk: GeneratedClient) => ({
111
- mutationKey: ['users', 'keys', 'rotate'],
112
- mutationFn: (input: UsersKeysRotateInput) => sdk['users']['keys']['rotate'](input),
113
- });
114
-
115
- export const usersOpsRetentionGetMutationOptions = (sdk: GeneratedClient) => ({
116
- mutationKey: ['users', 'ops-retention', 'get'],
117
- mutationFn: (input: UsersOpsRetentionGetInput) => sdk['users']['ops-retention']['get'](input),
118
- });
119
-
120
- export const usersOpsSloGetMutationOptions = (sdk: GeneratedClient) => ({
121
- mutationKey: ['users', 'ops-slo', 'get'],
122
- mutationFn: (input: UsersOpsSloGetInput) => sdk['users']['ops-slo']['get'](input),
123
- });
124
-
125
- export const usersSessionsGetQueryOptions = (sdk: GeneratedClient, input: UsersSessionsGetInput) => ({
126
- queryKey: ['users', 'sessions', 'get', input] as const,
127
- queryFn: () => sdk['users']['sessions']['get'](input),
128
- });
129
-
130
- export const usersSessionsImpersonateMutationOptions = (sdk: GeneratedClient) => ({
131
- mutationKey: ['users', 'sessions', 'impersonate'],
132
- mutationFn: (input: UsersSessionsImpersonateInput) => sdk['users']['sessions']['impersonate'](input),
133
- });
134
-
135
- export const usersSessionsListQueryOptions = (sdk: GeneratedClient, input: UsersSessionsListInput) => ({
136
- queryKey: ['users', 'sessions', 'list', input] as const,
137
- queryFn: () => sdk['users']['sessions']['list'](input),
138
- });
139
-
140
- export const usersSessionsRevokeMutationOptions = (sdk: GeneratedClient) => ({
141
- mutationKey: ['users', 'sessions', 'revoke'],
142
- mutationFn: (input: UsersSessionsRevokeInput) => sdk['users']['sessions']['revoke'](input),
143
- });
144
-
145
- export const usersStatsGetMutationOptions = (sdk: GeneratedClient) => ({
146
- mutationKey: ['users', 'stats', 'get'],
147
- mutationFn: (input: UsersStatsGetInput) => sdk['users']['stats']['get'](input),
148
- });
149
-
150
- export const usersUsersBanMutationOptions = (sdk: GeneratedClient) => ({
151
- mutationKey: ['users', 'users', 'ban'],
152
- mutationFn: (input: UsersUsersBanInput) => sdk['users']['users']['ban'](input),
153
- });
154
-
155
- export const usersUsersCreateMutationOptions = (sdk: GeneratedClient) => ({
156
- mutationKey: ['users', 'users', 'create'],
157
- mutationFn: (input: UsersUsersCreateInput) => sdk['users']['users']['create'](input),
158
- });
159
-
160
- export const usersUsersDeleteMutationOptions = (sdk: GeneratedClient) => ({
161
- mutationKey: ['users', 'users', 'delete'],
162
- mutationFn: (input: UsersUsersDeleteInput) => sdk['users']['users']['delete'](input),
163
- });
164
-
165
- export const usersUsersEraseMutationOptions = (sdk: GeneratedClient) => ({
166
- mutationKey: ['users', 'users', 'erase'],
167
- mutationFn: (input: UsersUsersEraseInput) => sdk['users']['users']['erase'](input),
168
- });
169
-
170
- export const usersUsersExportMutationOptions = (sdk: GeneratedClient) => ({
171
- mutationKey: ['users', 'users', 'export'],
172
- mutationFn: (input: UsersUsersExportInput) => sdk['users']['users']['export'](input),
173
- });
174
-
175
- export const usersUsersGetQueryOptions = (sdk: GeneratedClient, input: UsersUsersGetInput) => ({
176
- queryKey: ['users', 'users', 'get', input] as const,
177
- queryFn: () => sdk['users']['users']['get'](input),
178
- });
179
-
180
- export const usersUsersImportMutationOptions = (sdk: GeneratedClient) => ({
181
- mutationKey: ['users', 'users', 'import'],
182
- mutationFn: (input: UsersUsersImportInput) => sdk['users']['users']['import'](input),
183
- });
184
-
185
- export const usersUsersInviteMutationOptions = (sdk: GeneratedClient) => ({
186
- mutationKey: ['users', 'users', 'invite'],
187
- mutationFn: (input: UsersUsersInviteInput) => sdk['users']['users']['invite'](input),
188
- });
189
-
190
- export const usersUsersListQueryOptions = (sdk: GeneratedClient, input: UsersUsersListInput) => ({
191
- queryKey: ['users', 'users', 'list', input] as const,
192
- queryFn: () => sdk['users']['users']['list'](input),
193
- });
194
-
195
- export const usersUsersSetPrimaryIdentifierMutationOptions = (sdk: GeneratedClient) => ({
196
- mutationKey: ['users', 'users-set-primary', 'identifier'],
197
- mutationFn: (input: UsersUsersSetPrimaryIdentifierInput) => sdk['users']['users-set-primary']['identifier'](input),
198
- });
199
-
200
- export const usersUsersUnbanMutationOptions = (sdk: GeneratedClient) => ({
201
- mutationKey: ['users', 'users', 'unban'],
202
- mutationFn: (input: UsersUsersUnbanInput) => sdk['users']['users']['unban'](input),
203
- });
204
-
205
- export const usersUsersUpdateMutationOptions = (sdk: GeneratedClient) => ({
206
- mutationKey: ['users', 'users', 'update'],
207
- mutationFn: (input: UsersUsersUpdateInput) => sdk['users']['users']['update'](input),
208
- });
209
-
210
- export const usersWaitlistEraseMutationOptions = (sdk: GeneratedClient) => ({
211
- mutationKey: ['users', 'waitlist', 'erase'],
212
- mutationFn: (input: UsersWaitlistEraseInput) => sdk['users']['waitlist']['erase'](input),
213
- });
214
-
215
- export const usersWaitlistFunnelMutationOptions = (sdk: GeneratedClient) => ({
216
- mutationKey: ['users', 'waitlist', 'funnel'],
217
- mutationFn: (input: UsersWaitlistFunnelInput) => sdk['users']['waitlist']['funnel'](input),
218
- });
219
-
220
- export const usersWaitlistImportMutationOptions = (sdk: GeneratedClient) => ({
221
- mutationKey: ['users', 'waitlist', 'import'],
222
- mutationFn: (input: UsersWaitlistImportInput) => sdk['users']['waitlist']['import'](input),
223
- });
224
-
225
- export const usersWaitlistInviteMutationOptions = (sdk: GeneratedClient) => ({
226
- mutationKey: ['users', 'waitlist', 'invite'],
227
- mutationFn: (input: UsersWaitlistInviteInput) => sdk['users']['waitlist']['invite'](input),
228
- });
229
-
230
- export const usersWaitlistListMutationOptions = (sdk: GeneratedClient) => ({
231
- mutationKey: ['users', 'waitlist', 'list'],
232
- mutationFn: (input: UsersWaitlistListInput) => sdk['users']['waitlist']['list'](input),
233
- });
234
-
235
- export const usersWebhooksCreateMutationOptions = (sdk: GeneratedClient) => ({
236
- mutationKey: ['users', 'webhooks', 'create'],
237
- mutationFn: (input: UsersWebhooksCreateInput) => sdk['users']['webhooks']['create'](input),
238
- });
239
-
240
- export const usersWebhooksDeleteMutationOptions = (sdk: GeneratedClient) => ({
241
- mutationKey: ['users', 'webhooks', 'delete'],
242
- mutationFn: (input: UsersWebhooksDeleteInput) => sdk['users']['webhooks']['delete'](input),
243
- });
244
-
245
- export const usersWebhooksDeliveriesListQueryOptions = (sdk: GeneratedClient, input: UsersWebhooksDeliveriesListInput) => ({
246
- queryKey: ['users', 'webhooks-deliveries', 'list', input] as const,
247
- queryFn: () => sdk['users']['webhooks-deliveries']['list'](input),
248
- });
249
-
250
- export const usersWebhooksGetQueryOptions = (sdk: GeneratedClient, input: UsersWebhooksGetInput) => ({
251
- queryKey: ['users', 'webhooks', 'get', input] as const,
252
- queryFn: () => sdk['users']['webhooks']['get'](input),
253
- });
254
-
255
- export const usersWebhooksListQueryOptions = (sdk: GeneratedClient, input: UsersWebhooksListInput) => ({
256
- queryKey: ['users', 'webhooks', 'list', input] as const,
257
- queryFn: () => sdk['users']['webhooks']['list'](input),
258
- });
259
-
260
- export const usersWebhooksRotateSecretMutationOptions = (sdk: GeneratedClient) => ({
261
- mutationKey: ['users', 'webhooks-rotate', 'secret'],
262
- mutationFn: (input: UsersWebhooksRotateSecretInput) => sdk['users']['webhooks-rotate']['secret'](input),
263
- });
264
-
265
- export const usersWebhooksUpdateMutationOptions = (sdk: GeneratedClient) => ({
266
- mutationKey: ['users', 'webhooks', 'update'],
267
- mutationFn: (input: UsersWebhooksUpdateInput) => sdk['users']['webhooks']['update'](input),
268
- });