@lessly/sdk-app 48.0.3 → 49.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 (49) 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.d.cts +1 -1
  4. package/dist/brain/index.d.ts +1 -1
  5. package/dist/{client.gen-DqvpKriz.d.cts → client.gen-CLRsCNvG.d.cts} +1 -217
  6. package/dist/{client.gen-DqvpKriz.d.ts → client.gen-CLRsCNvG.d.ts} +1 -217
  7. package/dist/consent/index.d.cts +1 -1
  8. package/dist/consent/index.d.ts +1 -1
  9. package/dist/content/index.d.cts +1 -1
  10. package/dist/content/index.d.ts +1 -1
  11. package/dist/deployment/index.d.cts +1 -1
  12. package/dist/deployment/index.d.ts +1 -1
  13. package/dist/index.cjs +67 -104
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +72 -3
  16. package/dist/index.d.ts +72 -3
  17. package/dist/index.js +67 -105
  18. package/dist/index.js.map +1 -1
  19. package/dist/mail/index.d.cts +2 -2
  20. package/dist/mail/index.d.ts +2 -2
  21. package/dist/observe/index.d.cts +1 -1
  22. package/dist/observe/index.d.ts +1 -1
  23. package/dist/organization/index.d.cts +1 -1
  24. package/dist/organization/index.d.ts +1 -1
  25. package/dist/realtime/index.d.cts +1 -1
  26. package/dist/realtime/index.d.ts +1 -1
  27. package/dist/support/index.d.cts +1 -1
  28. package/dist/support/index.d.ts +1 -1
  29. package/dist/tracking/index.d.cts +1 -1
  30. package/dist/tracking/index.d.ts +1 -1
  31. package/dist/users/index.d.cts +1 -1
  32. package/dist/users/index.d.ts +1 -1
  33. package/dist/waitlist/index.d.cts +1 -1
  34. package/dist/waitlist/index.d.ts +1 -1
  35. package/docs/recipes/sdk-usage.md +50 -0
  36. package/docs/rules.md +13 -0
  37. package/package.json +2 -7
  38. package/src/gen/bindings.gen.ts +3 -105
  39. package/src/gen/client.gen.ts +0 -52
  40. package/src/gen/manifest.gen.ts +1 -1
  41. package/src/gen/types.gen.ts +0 -220
  42. package/dist/playground/index.cjs +0 -66
  43. package/dist/playground/index.cjs.map +0 -1
  44. package/dist/playground/index.d.cts +0 -52
  45. package/dist/playground/index.d.ts +0 -52
  46. package/dist/playground/index.js +0 -53
  47. package/dist/playground/index.js.map +0 -1
  48. package/src/gen/playground/index.ts +0 -3
  49. package/src/gen/playground/queryOptions.gen.ts +0 -86
@@ -1,86 +0,0 @@
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
- });