@lessly/sdk-app 7.0.0 → 8.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 (55) hide show
  1. package/dist/analytics/index.cjs +11 -0
  2. package/dist/analytics/index.cjs.map +1 -0
  3. package/dist/analytics/index.d.cts +8 -0
  4. package/dist/analytics/index.d.ts +8 -0
  5. package/dist/analytics/index.js +9 -0
  6. package/dist/analytics/index.js.map +1 -0
  7. package/dist/brain/index.cjs +0 -10
  8. package/dist/brain/index.cjs.map +1 -1
  9. package/dist/brain/index.d.cts +2 -10
  10. package/dist/brain/index.d.ts +2 -10
  11. package/dist/brain/index.js +1 -9
  12. package/dist/brain/index.js.map +1 -1
  13. package/dist/{client.gen-oPZGjxpS.d.cts → client.gen-t1yMTANn.d.cts} +2899 -249
  14. package/dist/{client.gen-oPZGjxpS.d.ts → client.gen-t1yMTANn.d.ts} +2899 -249
  15. package/dist/consent/index.d.cts +1 -1
  16. package/dist/consent/index.d.ts +1 -1
  17. package/dist/deployment/index.cjs +531 -0
  18. package/dist/deployment/index.cjs.map +1 -0
  19. package/dist/deployment/index.d.cts +424 -0
  20. package/dist/deployment/index.d.ts +424 -0
  21. package/dist/deployment/index.js +425 -0
  22. package/dist/deployment/index.js.map +1 -0
  23. package/dist/index.cjs +1878 -150
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +1 -1
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +1878 -150
  28. package/dist/index.js.map +1 -1
  29. package/dist/mail/index.d.cts +2 -2
  30. package/dist/mail/index.d.ts +2 -2
  31. package/dist/organization/index.d.cts +1 -1
  32. package/dist/organization/index.d.ts +1 -1
  33. package/dist/playground/index.cjs +66 -0
  34. package/dist/playground/index.cjs.map +1 -0
  35. package/dist/playground/index.d.cts +52 -0
  36. package/dist/playground/index.d.ts +52 -0
  37. package/dist/playground/index.js +53 -0
  38. package/dist/playground/index.js.map +1 -0
  39. package/dist/tracking/index.d.cts +1 -1
  40. package/dist/tracking/index.d.ts +1 -1
  41. package/dist/waitlist/index.d.cts +1 -1
  42. package/dist/waitlist/index.d.ts +1 -1
  43. package/package.json +17 -2
  44. package/src/gen/analytics/index.ts +3 -0
  45. package/src/gen/analytics/queryOptions.gen.ts +11 -0
  46. package/src/gen/bindings.gen.ts +1878 -150
  47. package/src/gen/brain/index.ts +1 -1
  48. package/src/gen/brain/queryOptions.gen.ts +0 -14
  49. package/src/gen/client.gen.ts +450 -8
  50. package/src/gen/deployment/index.ts +3 -0
  51. package/src/gen/deployment/queryOptions.gen.ts +681 -0
  52. package/src/gen/manifest.gen.ts +1 -1
  53. package/src/gen/playground/index.ts +3 -0
  54. package/src/gen/playground/queryOptions.gen.ts +86 -0
  55. package/src/gen/types.gen.ts +2932 -242
@@ -1,2 +1,2 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
- export const namespaces = ['brain', 'consent', 'mail', 'organization', 'tracking', 'waitlist'] as const;
2
+ export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'organization', 'playground', 'tracking', 'waitlist'] as const;
@@ -0,0 +1,3 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ export * from './queryOptions.gen';
3
+ export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput } from '../types.gen';
@@ -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
+ });