@lessly/sdk-app 32.1.2 → 34.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 (69) 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-p_iZK5OO.d.cts → client.gen-CvgJUdcU.d.cts} +4041 -1698
  10. package/dist/{client.gen-p_iZK5OO.d.ts → client.gen-CvgJUdcU.d.ts} +4041 -1698
  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 +621 -69
  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 +621 -69
  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/observe/index.cjs +71 -0
  24. package/dist/observe/index.cjs.map +1 -0
  25. package/dist/observe/index.d.cts +56 -0
  26. package/dist/observe/index.d.ts +56 -0
  27. package/dist/observe/index.js +57 -0
  28. package/dist/observe/index.js.map +1 -0
  29. package/dist/organization/index.cjs +33 -18
  30. package/dist/organization/index.cjs.map +1 -1
  31. package/dist/organization/index.d.cts +27 -15
  32. package/dist/organization/index.d.ts +27 -15
  33. package/dist/organization/index.js +27 -15
  34. package/dist/organization/index.js.map +1 -1
  35. package/dist/playground/index.cjs +66 -0
  36. package/dist/playground/index.cjs.map +1 -0
  37. package/dist/playground/index.d.cts +52 -0
  38. package/dist/playground/index.d.ts +52 -0
  39. package/dist/playground/index.js +53 -0
  40. package/dist/playground/index.js.map +1 -0
  41. package/dist/realtime/index.d.cts +1 -1
  42. package/dist/realtime/index.d.ts +1 -1
  43. package/dist/support/index.cjs +55 -0
  44. package/dist/support/index.cjs.map +1 -1
  45. package/dist/support/index.d.cts +46 -2
  46. package/dist/support/index.d.ts +46 -2
  47. package/dist/support/index.js +45 -1
  48. package/dist/support/index.js.map +1 -1
  49. package/dist/tracking/index.d.cts +1 -1
  50. package/dist/tracking/index.d.ts +1 -1
  51. package/dist/users/index.d.cts +1 -1
  52. package/dist/users/index.d.ts +1 -1
  53. package/dist/waitlist/index.d.cts +1 -1
  54. package/dist/waitlist/index.d.ts +1 -1
  55. package/package.json +12 -2
  56. package/src/gen/bindings.gen.ts +621 -69
  57. package/src/gen/brain/index.ts +1 -1
  58. package/src/gen/brain/queryOptions.gen.ts +0 -7
  59. package/src/gen/client.gen.ts +163 -17
  60. package/src/gen/manifest.gen.ts +1 -1
  61. package/src/gen/observe/index.ts +3 -0
  62. package/src/gen/observe/queryOptions.gen.ts +89 -0
  63. package/src/gen/organization/index.ts +1 -1
  64. package/src/gen/organization/queryOptions.gen.ts +41 -21
  65. package/src/gen/playground/index.ts +3 -0
  66. package/src/gen/playground/queryOptions.gen.ts +86 -0
  67. package/src/gen/support/index.ts +1 -1
  68. package/src/gen/support/queryOptions.gen.ts +71 -0
  69. package/src/gen/types.gen.ts +4130 -1799
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { SupportAgentCreateInput, SupportAgentCreateOutput, SupportAgentGetInput, SupportAgentGetOutput, SupportAgentListInput, SupportAgentListOutput, SupportAgentUpdateInput, SupportAgentUpdateOutput, SupportAttachmentCreateInput, SupportAttachmentCreateOutput, SupportAttachmentFinalizeInput, SupportAttachmentFinalizeOutput, SupportLabelCreateInput, SupportLabelCreateOutput, SupportLabelListInput, SupportLabelListOutput, SupportMessageCreateInput, SupportMessageCreateOutput, SupportMessageListInput, SupportMessageListOutput, SupportStatusArchiveInput, SupportStatusArchiveOutput, SupportStatusCreateInput, SupportStatusCreateOutput, SupportStatusListInput, SupportStatusListOutput, SupportStatusUpdateInput, SupportStatusUpdateOutput, SupportThreadAssignInput, SupportThreadAssignOutput, SupportThreadCreateInput, SupportThreadCreateOutput, SupportThreadGetInput, SupportThreadGetOutput, SupportThreadListInput, SupportThreadListOutput, SupportThreadStatusSetInput, SupportThreadStatusSetOutput, SupportThreadUpdateInput, SupportThreadUpdateOutput, SupportWebhookCreateInput, SupportWebhookCreateOutput, SupportWebhookDeleteInput, SupportWebhookDeleteOutput, SupportWebhookDeliveriesListInput, SupportWebhookDeliveriesListOutput, SupportWebhookGetInput, SupportWebhookGetOutput, SupportWebhookListInput, SupportWebhookListOutput, SupportWebhookRedeliverInput, SupportWebhookRedeliverOutput, SupportWebhookRotateSecretInput, SupportWebhookRotateSecretOutput, SupportWebhookUpdateInput, SupportWebhookUpdateOutput } from '../types.gen';
3
+ export type { SupportAgentCreateInput, SupportAgentCreateOutput, SupportAgentGetInput, SupportAgentGetOutput, SupportAgentListInput, SupportAgentListOutput, SupportAgentUpdateInput, SupportAgentUpdateOutput, SupportAttachmentCreateInput, SupportAttachmentCreateOutput, SupportAttachmentFinalizeInput, SupportAttachmentFinalizeOutput, SupportLabelCreateInput, SupportLabelCreateOutput, SupportLabelListInput, SupportLabelListOutput, SupportMessageCreateInput, SupportMessageCreateOutput, SupportMessageListInput, SupportMessageListOutput, SupportResponseEscalateInput, SupportResponseEscalateOutput, SupportResponseGetInput, SupportResponseGetOutput, SupportResponseListInput, SupportResponseListOutput, SupportStatusArchiveInput, SupportStatusArchiveOutput, SupportStatusCreateInput, SupportStatusCreateOutput, SupportStatusListInput, SupportStatusListOutput, SupportStatusUpdateInput, SupportStatusUpdateOutput, SupportSurveyArchiveInput, SupportSurveyArchiveOutput, SupportSurveyCreateInput, SupportSurveyCreateOutput, SupportSurveyGetInput, SupportSurveyGetOutput, SupportSurveyListInput, SupportSurveyListOutput, SupportSurveyPublishInput, SupportSurveyPublishOutput, SupportSurveyStatsInput, SupportSurveyStatsOutput, SupportSurveyUnpublishInput, SupportSurveyUnpublishOutput, SupportSurveyUpdateInput, SupportSurveyUpdateOutput, SupportThreadAssignInput, SupportThreadAssignOutput, SupportThreadCreateInput, SupportThreadCreateOutput, SupportThreadGetInput, SupportThreadGetOutput, SupportThreadListInput, SupportThreadListOutput, SupportThreadStatusSetInput, SupportThreadStatusSetOutput, SupportThreadUpdateInput, SupportThreadUpdateOutput, SupportWebhookCreateInput, SupportWebhookCreateOutput, SupportWebhookDeleteInput, SupportWebhookDeleteOutput, SupportWebhookDeliveriesListInput, SupportWebhookDeliveriesListOutput, SupportWebhookGetInput, SupportWebhookGetOutput, SupportWebhookListInput, SupportWebhookListOutput, SupportWebhookRedeliverInput, SupportWebhookRedeliverOutput, SupportWebhookRotateSecretInput, SupportWebhookRotateSecretOutput, SupportWebhookUpdateInput, SupportWebhookUpdateOutput } from '../types.gen';
@@ -15,11 +15,27 @@ import type {
15
15
  SupportMessageCreateInput,
16
16
  SupportMessageListInput,
17
17
  SupportMessageListOutput,
18
+ SupportResponseEscalateInput,
19
+ SupportResponseGetInput,
20
+ SupportResponseGetOutput,
21
+ SupportResponseListInput,
22
+ SupportResponseListOutput,
18
23
  SupportStatusArchiveInput,
19
24
  SupportStatusCreateInput,
20
25
  SupportStatusListInput,
21
26
  SupportStatusListOutput,
22
27
  SupportStatusUpdateInput,
28
+ SupportSurveyArchiveInput,
29
+ SupportSurveyCreateInput,
30
+ SupportSurveyGetInput,
31
+ SupportSurveyGetOutput,
32
+ SupportSurveyListInput,
33
+ SupportSurveyListOutput,
34
+ SupportSurveyPublishInput,
35
+ SupportSurveyStatsInput,
36
+ SupportSurveyStatsOutput,
37
+ SupportSurveyUnpublishInput,
38
+ SupportSurveyUpdateInput,
23
39
  SupportThreadAssignInput,
24
40
  SupportThreadCreateInput,
25
41
  SupportThreadGetInput,
@@ -91,6 +107,21 @@ export const supportMessageListQueryOptions = (sdk: GeneratedClient, input: Supp
91
107
  queryFn: () => sdk['support']['message']['list'](input),
92
108
  });
93
109
 
110
+ export const supportResponseEscalateMutationOptions = (sdk: GeneratedClient) => ({
111
+ mutationKey: ['support', 'response', 'escalate'],
112
+ mutationFn: (input: SupportResponseEscalateInput) => sdk['support']['response']['escalate'](input),
113
+ });
114
+
115
+ export const supportResponseGetQueryOptions = (sdk: GeneratedClient, input: SupportResponseGetInput) => ({
116
+ queryKey: ['support', 'response', 'get', input] as const,
117
+ queryFn: () => sdk['support']['response']['get'](input),
118
+ });
119
+
120
+ export const supportResponseListQueryOptions = (sdk: GeneratedClient, input: SupportResponseListInput) => ({
121
+ queryKey: ['support', 'response', 'list', input] as const,
122
+ queryFn: () => sdk['support']['response']['list'](input),
123
+ });
124
+
94
125
  export const supportStatusArchiveMutationOptions = (sdk: GeneratedClient) => ({
95
126
  mutationKey: ['support', 'status', 'archive'],
96
127
  mutationFn: (input: SupportStatusArchiveInput) => sdk['support']['status']['archive'](input),
@@ -111,6 +142,46 @@ export const supportStatusUpdateMutationOptions = (sdk: GeneratedClient) => ({
111
142
  mutationFn: (input: SupportStatusUpdateInput) => sdk['support']['status']['update'](input),
112
143
  });
113
144
 
145
+ export const supportSurveyArchiveMutationOptions = (sdk: GeneratedClient) => ({
146
+ mutationKey: ['support', 'survey', 'archive'],
147
+ mutationFn: (input: SupportSurveyArchiveInput) => sdk['support']['survey']['archive'](input),
148
+ });
149
+
150
+ export const supportSurveyCreateMutationOptions = (sdk: GeneratedClient) => ({
151
+ mutationKey: ['support', 'survey', 'create'],
152
+ mutationFn: (input: SupportSurveyCreateInput) => sdk['support']['survey']['create'](input),
153
+ });
154
+
155
+ export const supportSurveyGetQueryOptions = (sdk: GeneratedClient, input: SupportSurveyGetInput) => ({
156
+ queryKey: ['support', 'survey', 'get', input] as const,
157
+ queryFn: () => sdk['support']['survey']['get'](input),
158
+ });
159
+
160
+ export const supportSurveyListQueryOptions = (sdk: GeneratedClient, input: SupportSurveyListInput) => ({
161
+ queryKey: ['support', 'survey', 'list', input] as const,
162
+ queryFn: () => sdk['support']['survey']['list'](input),
163
+ });
164
+
165
+ export const supportSurveyPublishMutationOptions = (sdk: GeneratedClient) => ({
166
+ mutationKey: ['support', 'survey', 'publish'],
167
+ mutationFn: (input: SupportSurveyPublishInput) => sdk['support']['survey']['publish'](input),
168
+ });
169
+
170
+ export const supportSurveyStatsQueryOptions = (sdk: GeneratedClient, input: SupportSurveyStatsInput) => ({
171
+ queryKey: ['support', 'survey', 'stats', input] as const,
172
+ queryFn: () => sdk['support']['survey']['stats'](input),
173
+ });
174
+
175
+ export const supportSurveyUnpublishMutationOptions = (sdk: GeneratedClient) => ({
176
+ mutationKey: ['support', 'survey', 'unpublish'],
177
+ mutationFn: (input: SupportSurveyUnpublishInput) => sdk['support']['survey']['unpublish'](input),
178
+ });
179
+
180
+ export const supportSurveyUpdateMutationOptions = (sdk: GeneratedClient) => ({
181
+ mutationKey: ['support', 'survey', 'update'],
182
+ mutationFn: (input: SupportSurveyUpdateInput) => sdk['support']['survey']['update'](input),
183
+ });
184
+
114
185
  export const supportThreadAssignMutationOptions = (sdk: GeneratedClient) => ({
115
186
  mutationKey: ['support', 'thread', 'assign'],
116
187
  mutationFn: (input: SupportThreadAssignInput) => sdk['support']['thread']['assign'](input),