@lessly/sdk-app 36.0.0 → 36.2.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-B78AtFRC.d.cts +41744 -0
- package/dist/client.gen-B78AtFRC.d.ts +41744 -0
- 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 +894 -215
- 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 +894 -215
- 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 +126 -0
- package/dist/observe/index.cjs.map +1 -0
- package/dist/observe/index.d.cts +100 -0
- package/dist/observe/index.d.ts +100 -0
- package/dist/observe/index.js +101 -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 +25 -0
- package/dist/support/index.cjs.map +1 -1
- package/dist/support/index.d.cts +22 -2
- package/dist/support/index.d.ts +22 -2
- package/dist/support/index.js +21 -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 +894 -215
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +184 -17
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/observe/index.ts +3 -0
- package/src/gen/observe/queryOptions.gen.ts +161 -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 +32 -0
- package/src/gen/types.gen.ts +20412 -1980
- package/dist/client.gen-BSiYBjET.d.cts +0 -21947
- package/dist/client.gen-BSiYBjET.d.ts +0 -21947
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
});
|
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, 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';
|
|
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, SupportRuleCreateInput, SupportRuleCreateOutput, SupportRuleDeleteInput, SupportRuleDeleteOutput, SupportRuleGetInput, SupportRuleGetOutput, SupportRuleListInput, SupportRuleListOutput, SupportRuleUpdateInput, SupportRuleUpdateOutput, 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';
|
|
@@ -20,6 +20,13 @@ import type {
|
|
|
20
20
|
SupportResponseGetOutput,
|
|
21
21
|
SupportResponseListInput,
|
|
22
22
|
SupportResponseListOutput,
|
|
23
|
+
SupportRuleCreateInput,
|
|
24
|
+
SupportRuleDeleteInput,
|
|
25
|
+
SupportRuleGetInput,
|
|
26
|
+
SupportRuleGetOutput,
|
|
27
|
+
SupportRuleListInput,
|
|
28
|
+
SupportRuleListOutput,
|
|
29
|
+
SupportRuleUpdateInput,
|
|
23
30
|
SupportStatusArchiveInput,
|
|
24
31
|
SupportStatusCreateInput,
|
|
25
32
|
SupportStatusListInput,
|
|
@@ -122,6 +129,31 @@ export const supportResponseListQueryOptions = (sdk: GeneratedClient, input: Sup
|
|
|
122
129
|
queryFn: () => sdk['support']['response']['list'](input),
|
|
123
130
|
});
|
|
124
131
|
|
|
132
|
+
export const supportRuleCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
133
|
+
mutationKey: ['support', 'rule', 'create'],
|
|
134
|
+
mutationFn: (input: SupportRuleCreateInput) => sdk['support']['rule']['create'](input),
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
export const supportRuleDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
138
|
+
mutationKey: ['support', 'rule', 'delete'],
|
|
139
|
+
mutationFn: (input: SupportRuleDeleteInput) => sdk['support']['rule']['delete'](input),
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
export const supportRuleGetQueryOptions = (sdk: GeneratedClient, input: SupportRuleGetInput) => ({
|
|
143
|
+
queryKey: ['support', 'rule', 'get', input] as const,
|
|
144
|
+
queryFn: () => sdk['support']['rule']['get'](input),
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
export const supportRuleListQueryOptions = (sdk: GeneratedClient, input: SupportRuleListInput) => ({
|
|
148
|
+
queryKey: ['support', 'rule', 'list', input] as const,
|
|
149
|
+
queryFn: () => sdk['support']['rule']['list'](input),
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
export const supportRuleUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
153
|
+
mutationKey: ['support', 'rule', 'update'],
|
|
154
|
+
mutationFn: (input: SupportRuleUpdateInput) => sdk['support']['rule']['update'](input),
|
|
155
|
+
});
|
|
156
|
+
|
|
125
157
|
export const supportStatusArchiveMutationOptions = (sdk: GeneratedClient) => ({
|
|
126
158
|
mutationKey: ['support', 'status', 'archive'],
|
|
127
159
|
mutationFn: (input: SupportStatusArchiveInput) => sdk['support']['status']['archive'](input),
|