@lessly/sdk-app 22.2.0 → 23.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-Cfmw2W7q.d.cts → client.gen-D8-4iBy1.d.cts} +394 -178
- package/dist/{client.gen-Cfmw2W7q.d.ts → client.gen-D8-4iBy1.d.ts} +394 -178
- 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 +112 -65
- 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 +112 -65
- 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/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +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.cjs +0 -15
- package/dist/realtime/index.cjs.map +1 -1
- package/dist/realtime/index.d.cts +2 -14
- package/dist/realtime/index.d.ts +2 -14
- package/dist/realtime/index.js +1 -13
- package/dist/realtime/index.js.map +1 -1
- package/dist/tracking/index.cjs +5 -20
- package/dist/tracking/index.cjs.map +1 -1
- package/dist/tracking/index.d.cts +6 -18
- package/dist/tracking/index.d.ts +6 -18
- package/dist/tracking/index.js +5 -17
- package/dist/tracking/index.js.map +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 +7 -2
- package/src/gen/bindings.gen.ts +112 -65
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +57 -30
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/realtime/index.ts +1 -1
- package/src/gen/realtime/queryOptions.gen.ts +0 -19
- package/src/gen/tracking/index.ts +1 -1
- package/src/gen/tracking/queryOptions.gen.ts +7 -25
- package/src/gen/types.gen.ts +386 -171
|
@@ -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 {
|
|
3
|
+
export type { RealtimeArchiveExportInput, RealtimeArchiveExportOutput, RealtimeArchiveExportStatusInput, RealtimeArchiveExportStatusOutput, RealtimeArchiveGetInput, RealtimeArchiveGetOutput, RealtimeGrantCreateInput, RealtimeGrantCreateOutput, RealtimeGrantListInput, RealtimeGrantListOutput, RealtimeGrantRevokeInput, RealtimeGrantRevokeOutput, RealtimeHistoryGetInput, RealtimeHistoryGetOutput, RealtimeMessagesPublishInput, RealtimeMessagesPublishOutput, RealtimeNamespaceCreateInput, RealtimeNamespaceCreateOutput, RealtimeNamespaceDeleteInput, RealtimeNamespaceDeleteOutput, RealtimeNamespaceGetInput, RealtimeNamespaceGetOutput, RealtimeNamespaceListInput, RealtimeNamespaceListOutput, RealtimeNamespaceUpdateInput, RealtimeNamespaceUpdateOutput, RealtimePresenceEnterInput, RealtimePresenceEnterOutput, RealtimePresenceGetInput, RealtimePresenceGetOutput, RealtimePresenceLeaveInput, RealtimePresenceLeaveOutput, RealtimePresenceStatsInput, RealtimePresenceStatsOutput, RealtimePresenceUpdateInput, RealtimePresenceUpdateOutput, RealtimeStatusGetInput, RealtimeStatusGetOutput, RealtimeTokensCreateInput, RealtimeTokensCreateOutput, RealtimeWebhookCreateInput, RealtimeWebhookCreateOutput, RealtimeWebhookDeleteInput, RealtimeWebhookDeleteOutput, RealtimeWebhookDeliveriesListInput, RealtimeWebhookDeliveriesListOutput, RealtimeWebhookGetInput, RealtimeWebhookGetOutput, RealtimeWebhookListInput, RealtimeWebhookListOutput, RealtimeWebhookSecretRotateInput, RealtimeWebhookSecretRotateOutput, RealtimeWebhookUpdateInput, RealtimeWebhookUpdateOutput } from '../types.gen';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { GeneratedClient } from '../client.gen';
|
|
3
3
|
import type {
|
|
4
|
-
RealtimeApikeyCreateInput,
|
|
5
|
-
RealtimeApikeyListInput,
|
|
6
|
-
RealtimeApikeyListOutput,
|
|
7
|
-
RealtimeApikeyRevokeInput,
|
|
8
4
|
RealtimeArchiveExportInput,
|
|
9
5
|
RealtimeArchiveExportStatusInput,
|
|
10
6
|
RealtimeArchiveExportStatusOutput,
|
|
@@ -46,21 +42,6 @@ import type {
|
|
|
46
42
|
RealtimeWebhookUpdateInput,
|
|
47
43
|
} from '../types.gen';
|
|
48
44
|
|
|
49
|
-
export const realtimeApikeyCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
50
|
-
mutationKey: ['realtime', 'apikey', 'create'],
|
|
51
|
-
mutationFn: (input: RealtimeApikeyCreateInput) => sdk['realtime']['apikey']['create'](input),
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export const realtimeApikeyListQueryOptions = (sdk: GeneratedClient, input: RealtimeApikeyListInput) => ({
|
|
55
|
-
queryKey: ['realtime', 'apikey', 'list', input] as const,
|
|
56
|
-
queryFn: () => sdk['realtime']['apikey']['list'](input),
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
export const realtimeApikeyRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
60
|
-
mutationKey: ['realtime', 'apikey', 'revoke'],
|
|
61
|
-
mutationFn: (input: RealtimeApikeyRevokeInput) => sdk['realtime']['apikey']['revoke'](input),
|
|
62
|
-
});
|
|
63
|
-
|
|
64
45
|
export const realtimeArchiveExportMutationOptions = (sdk: GeneratedClient) => ({
|
|
65
46
|
mutationKey: ['realtime', 'archive', 'export'],
|
|
66
47
|
mutationFn: (input: RealtimeArchiveExportInput) => sdk['realtime']['archive']['export'](input),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type {
|
|
3
|
+
export type { TrackingDomainsCreateInput, TrackingDomainsCreateOutput, TrackingDomainsDeleteInput, TrackingDomainsDeleteOutput, TrackingDomainsGetInput, TrackingDomainsGetOutput, TrackingDomainsListInput, TrackingDomainsListOutput, TrackingDomainsVerifyInput, TrackingDomainsVerifyOutput, TrackingEventNamesArchiveInput, TrackingEventNamesArchiveOutput, TrackingEventNamesListInput, TrackingEventNamesListOutput, TrackingEventNamesUnarchiveInput, TrackingEventNamesUnarchiveOutput, TrackingGoogleadsConnectionStatusInput, TrackingGoogleadsConnectionStatusOutput, TrackingGoogleadsConversionActionsInput, TrackingGoogleadsConversionActionsOutput, TrackingGoogleadsFeedbackConfigGetInput, TrackingGoogleadsFeedbackConfigGetOutput, TrackingGoogleadsFeedbackConfigSetInput, TrackingGoogleadsFeedbackConfigSetOutput, TrackingGoogleadsFeedbackRunInput, TrackingGoogleadsFeedbackRunOutput, TrackingGoogleadsFeedbackStatusInput, TrackingGoogleadsFeedbackStatusOutput, TrackingGoogleadsFeedbackUploadsInput, TrackingGoogleadsFeedbackUploadsOutput, TrackingGoogleadsRoasReportInput, TrackingGoogleadsRoasReportOutput, TrackingGoogleadsSyncNowInput, TrackingGoogleadsSyncNowOutput, TrackingGoogleadsTrackingHealthInput, TrackingGoogleadsTrackingHealthOutput, TrackingGoogleadsUsVsPlatformInput, TrackingGoogleadsUsVsPlatformOutput, TrackingIdentityHealthInput, TrackingIdentityHealthOutput, TrackingInstallDomainsCreateInput, TrackingInstallDomainsCreateOutput, TrackingInstallDomainsDeleteInput, TrackingInstallDomainsDeleteOutput, TrackingInstallDomainsListInput, TrackingInstallDomainsListOutput, TrackingLinkDomainsCreateInput, TrackingLinkDomainsCreateOutput, TrackingLinkDomainsDeleteInput, TrackingLinkDomainsDeleteOutput, TrackingLinkDomainsListInput, TrackingLinkDomainsListOutput, TrackingLiveEventsListInput, TrackingLiveEventsListOutput, TrackingProfilesDeleteInput, TrackingProfilesDeleteOutput, TrackingProfilesExportInput, TrackingProfilesExportOutput, TrackingProfilesGetInput, TrackingProfilesGetOutput, TrackingProfilesListInput, TrackingProfilesListOutput, TrackingReportsAttributedJourneyInput, TrackingReportsAttributedJourneyOutput, TrackingReportsEventVolumeInput, TrackingReportsEventVolumeOutput, TrackingReportsRevenueBySourceInput, TrackingReportsRevenueBySourceOutput, TrackingReportsSourcePeopleInput, TrackingReportsSourcePeopleOutput, TrackingSnippetsGetInput, TrackingSnippetsGetOutput } from '../types.gen';
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { GeneratedClient } from '../client.gen';
|
|
3
3
|
import type {
|
|
4
|
-
TrackingApiKeysCreateInput,
|
|
5
|
-
TrackingApiKeysListInput,
|
|
6
|
-
TrackingApiKeysListOutput,
|
|
7
|
-
TrackingApiKeysRevokeInput,
|
|
8
|
-
TrackingApiKeysRotateInput,
|
|
9
4
|
TrackingDomainsCreateInput,
|
|
10
5
|
TrackingDomainsDeleteInput,
|
|
11
6
|
TrackingDomainsGetInput,
|
|
@@ -57,6 +52,8 @@ import type {
|
|
|
57
52
|
TrackingProfilesListOutput,
|
|
58
53
|
TrackingReportsAttributedJourneyInput,
|
|
59
54
|
TrackingReportsAttributedJourneyOutput,
|
|
55
|
+
TrackingReportsEventVolumeInput,
|
|
56
|
+
TrackingReportsEventVolumeOutput,
|
|
60
57
|
TrackingReportsRevenueBySourceInput,
|
|
61
58
|
TrackingReportsRevenueBySourceOutput,
|
|
62
59
|
TrackingReportsSourcePeopleInput,
|
|
@@ -65,26 +62,6 @@ import type {
|
|
|
65
62
|
TrackingSnippetsGetOutput,
|
|
66
63
|
} from '../types.gen';
|
|
67
64
|
|
|
68
|
-
export const trackingApiKeysCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
69
|
-
mutationKey: ['tracking', 'api-keys', 'create'],
|
|
70
|
-
mutationFn: (input: TrackingApiKeysCreateInput) => sdk['tracking']['api-keys']['create'](input),
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
export const trackingApiKeysListQueryOptions = (sdk: GeneratedClient, input: TrackingApiKeysListInput) => ({
|
|
74
|
-
queryKey: ['tracking', 'api-keys', 'list', input] as const,
|
|
75
|
-
queryFn: () => sdk['tracking']['api-keys']['list'](input),
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
export const trackingApiKeysRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
79
|
-
mutationKey: ['tracking', 'api-keys', 'revoke'],
|
|
80
|
-
mutationFn: (input: TrackingApiKeysRevokeInput) => sdk['tracking']['api-keys']['revoke'](input),
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
export const trackingApiKeysRotateMutationOptions = (sdk: GeneratedClient) => ({
|
|
84
|
-
mutationKey: ['tracking', 'api-keys', 'rotate'],
|
|
85
|
-
mutationFn: (input: TrackingApiKeysRotateInput) => sdk['tracking']['api-keys']['rotate'](input),
|
|
86
|
-
});
|
|
87
|
-
|
|
88
65
|
export const trackingDomainsCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
89
66
|
mutationKey: ['tracking', 'domains', 'create'],
|
|
90
67
|
mutationFn: (input: TrackingDomainsCreateInput) => sdk['tracking']['domains']['create'](input),
|
|
@@ -245,6 +222,11 @@ export const trackingReportsAttributedJourneyQueryOptions = (sdk: GeneratedClien
|
|
|
245
222
|
queryFn: () => sdk['tracking']['reports-attributed']['journey'](input),
|
|
246
223
|
});
|
|
247
224
|
|
|
225
|
+
export const trackingReportsEventVolumeQueryOptions = (sdk: GeneratedClient, input: TrackingReportsEventVolumeInput) => ({
|
|
226
|
+
queryKey: ['tracking', 'reports-event', 'volume', input] as const,
|
|
227
|
+
queryFn: () => sdk['tracking']['reports-event']['volume'](input),
|
|
228
|
+
});
|
|
229
|
+
|
|
248
230
|
export const trackingReportsRevenueBySourceQueryOptions = (sdk: GeneratedClient, input: TrackingReportsRevenueBySourceInput) => ({
|
|
249
231
|
queryKey: ['tracking', 'reports-revenue-by', 'source', input] as const,
|
|
250
232
|
queryFn: () => sdk['tracking']['reports-revenue-by']['source'](input),
|