@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.
Files changed (71) 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-B78AtFRC.d.cts +41744 -0
  10. package/dist/client.gen-B78AtFRC.d.ts +41744 -0
  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 +894 -215
  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 +894 -215
  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 +126 -0
  24. package/dist/observe/index.cjs.map +1 -0
  25. package/dist/observe/index.d.cts +100 -0
  26. package/dist/observe/index.d.ts +100 -0
  27. package/dist/observe/index.js +101 -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 +25 -0
  44. package/dist/support/index.cjs.map +1 -1
  45. package/dist/support/index.d.cts +22 -2
  46. package/dist/support/index.d.ts +22 -2
  47. package/dist/support/index.js +21 -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 +894 -215
  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 +184 -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 +161 -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 +32 -0
  69. package/src/gen/types.gen.ts +20412 -1980
  70. package/dist/client.gen-BSiYBjET.d.cts +0 -21947
  71. 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
+ });
@@ -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),