@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.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -6
- package/dist/brain/index.d.ts +2 -6
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-p_iZK5OO.d.cts → client.gen-CvgJUdcU.d.cts} +4041 -1698
- package/dist/{client.gen-p_iZK5OO.d.ts → client.gen-CvgJUdcU.d.ts} +4041 -1698
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +621 -69
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +621 -69
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.cjs +71 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +56 -0
- package/dist/observe/index.d.ts +56 -0
- package/dist/observe/index.js +57 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/organization/index.cjs +33 -18
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.d.cts +27 -15
- package/dist/organization/index.d.ts +27 -15
- package/dist/organization/index.js +27 -15
- package/dist/organization/index.js.map +1 -1
- package/dist/playground/index.cjs +66 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +52 -0
- package/dist/playground/index.d.ts +52 -0
- package/dist/playground/index.js +53 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.cjs +55 -0
- package/dist/support/index.cjs.map +1 -1
- package/dist/support/index.d.cts +46 -2
- package/dist/support/index.d.ts +46 -2
- package/dist/support/index.js +45 -1
- package/dist/support/index.js.map +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +621 -69
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +163 -17
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +89 -0
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +41 -21
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/support/index.ts +1 -1
- package/src/gen/support/queryOptions.gen.ts +71 -0
- package/src/gen/types.gen.ts +4130 -1799
package/src/gen/support/index.ts
CHANGED
|
@@ -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),
|