@lessly/sdk-app 30.5.0 → 30.6.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 (61) 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 +0 -5
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -6
  6. package/dist/brain/index.d.ts +2 -6
  7. package/dist/brain/index.js +1 -5
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-TuN8pGec.d.cts → client.gen-DK6VpzBG.d.cts} +657 -122
  10. package/dist/{client.gen-TuN8pGec.d.ts → client.gen-DK6VpzBG.d.ts} +657 -122
  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 +248 -36
  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 +248 -36
  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.cjs +0 -5
  24. package/dist/organization/index.cjs.map +1 -1
  25. package/dist/organization/index.d.cts +2 -6
  26. package/dist/organization/index.d.ts +2 -6
  27. package/dist/organization/index.js +1 -5
  28. package/dist/organization/index.js.map +1 -1
  29. package/dist/playground/index.cjs +66 -0
  30. package/dist/playground/index.cjs.map +1 -0
  31. package/dist/playground/index.d.cts +52 -0
  32. package/dist/playground/index.d.ts +52 -0
  33. package/dist/playground/index.js +53 -0
  34. package/dist/playground/index.js.map +1 -0
  35. package/dist/realtime/index.d.cts +1 -1
  36. package/dist/realtime/index.d.ts +1 -1
  37. package/dist/support/index.cjs +40 -0
  38. package/dist/support/index.cjs.map +1 -1
  39. package/dist/support/index.d.cts +34 -2
  40. package/dist/support/index.d.ts +34 -2
  41. package/dist/support/index.js +33 -1
  42. package/dist/support/index.js.map +1 -1
  43. package/dist/tracking/index.d.cts +1 -1
  44. package/dist/tracking/index.d.ts +1 -1
  45. package/dist/users/index.d.cts +1 -1
  46. package/dist/users/index.d.ts +1 -1
  47. package/dist/waitlist/index.d.cts +1 -1
  48. package/dist/waitlist/index.d.ts +1 -1
  49. package/package.json +7 -2
  50. package/src/gen/bindings.gen.ts +248 -36
  51. package/src/gen/brain/index.ts +1 -1
  52. package/src/gen/brain/queryOptions.gen.ts +0 -7
  53. package/src/gen/client.gen.ts +82 -8
  54. package/src/gen/manifest.gen.ts +1 -1
  55. package/src/gen/organization/index.ts +1 -1
  56. package/src/gen/organization/queryOptions.gen.ts +0 -6
  57. package/src/gen/playground/index.ts +3 -0
  58. package/src/gen/playground/queryOptions.gen.ts +86 -0
  59. package/src/gen/support/index.ts +1 -1
  60. package/src/gen/support/queryOptions.gen.ts +51 -0
  61. package/src/gen/types.gen.ts +663 -121
@@ -28,6 +28,17 @@ import type {
28
28
  SupportThreadListOutput,
29
29
  SupportThreadStatusSetInput,
30
30
  SupportThreadUpdateInput,
31
+ SupportWebhookCreateInput,
32
+ SupportWebhookDeleteInput,
33
+ SupportWebhookDeliveriesListInput,
34
+ SupportWebhookDeliveriesListOutput,
35
+ SupportWebhookGetInput,
36
+ SupportWebhookGetOutput,
37
+ SupportWebhookListInput,
38
+ SupportWebhookListOutput,
39
+ SupportWebhookRedeliverInput,
40
+ SupportWebhookRotateSecretInput,
41
+ SupportWebhookUpdateInput,
31
42
  } from '../types.gen';
32
43
 
33
44
  export const supportAgentCreateMutationOptions = (sdk: GeneratedClient) => ({
@@ -129,3 +140,43 @@ export const supportThreadUpdateMutationOptions = (sdk: GeneratedClient) => ({
129
140
  mutationKey: ['support', 'thread', 'update'],
130
141
  mutationFn: (input: SupportThreadUpdateInput) => sdk['support']['thread']['update'](input),
131
142
  });
143
+
144
+ export const supportWebhookCreateMutationOptions = (sdk: GeneratedClient) => ({
145
+ mutationKey: ['support', 'webhook', 'create'],
146
+ mutationFn: (input: SupportWebhookCreateInput) => sdk['support']['webhook']['create'](input),
147
+ });
148
+
149
+ export const supportWebhookDeleteMutationOptions = (sdk: GeneratedClient) => ({
150
+ mutationKey: ['support', 'webhook', 'delete'],
151
+ mutationFn: (input: SupportWebhookDeleteInput) => sdk['support']['webhook']['delete'](input),
152
+ });
153
+
154
+ export const supportWebhookDeliveriesListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookDeliveriesListInput) => ({
155
+ queryKey: ['support', 'webhook-deliveries', 'list', input] as const,
156
+ queryFn: () => sdk['support']['webhook-deliveries']['list'](input),
157
+ });
158
+
159
+ export const supportWebhookGetQueryOptions = (sdk: GeneratedClient, input: SupportWebhookGetInput) => ({
160
+ queryKey: ['support', 'webhook', 'get', input] as const,
161
+ queryFn: () => sdk['support']['webhook']['get'](input),
162
+ });
163
+
164
+ export const supportWebhookListQueryOptions = (sdk: GeneratedClient, input: SupportWebhookListInput) => ({
165
+ queryKey: ['support', 'webhook', 'list', input] as const,
166
+ queryFn: () => sdk['support']['webhook']['list'](input),
167
+ });
168
+
169
+ export const supportWebhookRedeliverMutationOptions = (sdk: GeneratedClient) => ({
170
+ mutationKey: ['support', 'webhook', 'redeliver'],
171
+ mutationFn: (input: SupportWebhookRedeliverInput) => sdk['support']['webhook']['redeliver'](input),
172
+ });
173
+
174
+ export const supportWebhookRotateSecretMutationOptions = (sdk: GeneratedClient) => ({
175
+ mutationKey: ['support', 'webhook-rotate', 'secret'],
176
+ mutationFn: (input: SupportWebhookRotateSecretInput) => sdk['support']['webhook-rotate']['secret'](input),
177
+ });
178
+
179
+ export const supportWebhookUpdateMutationOptions = (sdk: GeneratedClient) => ({
180
+ mutationKey: ['support', 'webhook', 'update'],
181
+ mutationFn: (input: SupportWebhookUpdateInput) => sdk['support']['webhook']['update'](input),
182
+ });