@lessly/sdk-app 42.0.0 → 42.1.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-Cumsa8PY.d.cts → client.gen-BsYUM5lP.d.cts} +391 -94
- package/dist/{client.gen-Cumsa8PY.d.ts → client.gen-BsYUM5lP.d.ts} +391 -94
- 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 +172 -13
- 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 +172 -13
- 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 +10 -0
- package/dist/observe/index.cjs.map +1 -1
- package/dist/observe/index.d.cts +10 -2
- package/dist/observe/index.d.ts +10 -2
- package/dist/observe/index.js +9 -1
- package/dist/observe/index.js.map +1 -1
- 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.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +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 +7 -2
- package/src/gen/bindings.gen.ts +172 -13
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +60 -5
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/observe/index.ts +1 -1
- package/src/gen/observe/queryOptions.gen.ts +14 -0
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +394 -92
package/src/gen/client.gen.ts
CHANGED
|
@@ -82,8 +82,6 @@ import type {
|
|
|
82
82
|
BrainProductSharedMemoryResetOutput,
|
|
83
83
|
BrainRestoreStatusInput,
|
|
84
84
|
BrainRestoreStatusOutput,
|
|
85
|
-
BrainUsageReportInput,
|
|
86
|
-
BrainUsageReportOutput,
|
|
87
85
|
ConsentConfigCookieDomainUpsertInput,
|
|
88
86
|
ConsentConfigCookieDomainUpsertOutput,
|
|
89
87
|
ConsentConfigCustomizationUpsertInput,
|
|
@@ -470,6 +468,10 @@ import type {
|
|
|
470
468
|
ObserveLogsSearchOutput,
|
|
471
469
|
ObserveLogsTailInput,
|
|
472
470
|
ObserveLogsTailOutput,
|
|
471
|
+
ObserveMetricsListInput,
|
|
472
|
+
ObserveMetricsListOutput,
|
|
473
|
+
ObserveMetricsQueryInput,
|
|
474
|
+
ObserveMetricsQueryOutput,
|
|
473
475
|
ObserveTracesGetInput,
|
|
474
476
|
ObserveTracesGetOutput,
|
|
475
477
|
ObserveTracesSearchInput,
|
|
@@ -632,6 +634,30 @@ import type {
|
|
|
632
634
|
OrganizationSupportThreadReplyOutput,
|
|
633
635
|
OrganizationSupportThreadsListInput,
|
|
634
636
|
OrganizationSupportThreadsListOutput,
|
|
637
|
+
PlaygroundAnalyticsOverviewInput,
|
|
638
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
639
|
+
PlaygroundBillingEntitlementsInput,
|
|
640
|
+
PlaygroundBillingEntitlementsOutput,
|
|
641
|
+
PlaygroundBillingRecordUsageInput,
|
|
642
|
+
PlaygroundBillingRecordUsageOutput,
|
|
643
|
+
PlaygroundClickupCreateTaskInput,
|
|
644
|
+
PlaygroundClickupCreateTaskOutput,
|
|
645
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
646
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
647
|
+
PlaygroundClickupGetOverviewInput,
|
|
648
|
+
PlaygroundClickupGetOverviewOutput,
|
|
649
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
650
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
651
|
+
PlaygroundGdriveReadFileInput,
|
|
652
|
+
PlaygroundGdriveReadFileOutput,
|
|
653
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
654
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
655
|
+
PlaygroundLifecycleGetStateInput,
|
|
656
|
+
PlaygroundLifecycleGetStateOutput,
|
|
657
|
+
PlaygroundLifecycleListEventsInput,
|
|
658
|
+
PlaygroundLifecycleListEventsOutput,
|
|
659
|
+
PlaygroundWebhookGetLastInput,
|
|
660
|
+
PlaygroundWebhookGetLastOutput,
|
|
635
661
|
RealtimeArchiveExportInput,
|
|
636
662
|
RealtimeArchiveExportOutput,
|
|
637
663
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1039,9 +1065,6 @@ export interface GeneratedClient {
|
|
|
1039
1065
|
restore: {
|
|
1040
1066
|
status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
|
|
1041
1067
|
};
|
|
1042
|
-
usage: {
|
|
1043
|
-
report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
|
|
1044
|
-
};
|
|
1045
1068
|
};
|
|
1046
1069
|
consent: {
|
|
1047
1070
|
'config-cookie-domain': {
|
|
@@ -1385,6 +1408,10 @@ export interface GeneratedClient {
|
|
|
1385
1408
|
search(input: ObserveLogsSearchInput): Promise<ObserveLogsSearchOutput>;
|
|
1386
1409
|
tail(input: ObserveLogsTailInput): Promise<ObserveLogsTailOutput>;
|
|
1387
1410
|
};
|
|
1411
|
+
metrics: {
|
|
1412
|
+
list(input: ObserveMetricsListInput): Promise<ObserveMetricsListOutput>;
|
|
1413
|
+
query(input: ObserveMetricsQueryInput): Promise<ObserveMetricsQueryOutput>;
|
|
1414
|
+
};
|
|
1388
1415
|
traces: {
|
|
1389
1416
|
get(input: ObserveTracesGetInput): Promise<ObserveTracesGetOutput>;
|
|
1390
1417
|
search(input: ObserveTracesSearchInput): Promise<ObserveTracesSearchOutput>;
|
|
@@ -1523,6 +1550,34 @@ export interface GeneratedClient {
|
|
|
1523
1550
|
list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
|
|
1524
1551
|
};
|
|
1525
1552
|
};
|
|
1553
|
+
playground: {
|
|
1554
|
+
analytics: {
|
|
1555
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1556
|
+
};
|
|
1557
|
+
billing: {
|
|
1558
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1559
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1560
|
+
};
|
|
1561
|
+
clickup: {
|
|
1562
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1563
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1564
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1565
|
+
};
|
|
1566
|
+
gdrive: {
|
|
1567
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1568
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1569
|
+
};
|
|
1570
|
+
googleads: {
|
|
1571
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1572
|
+
};
|
|
1573
|
+
lifecycle: {
|
|
1574
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1575
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1576
|
+
};
|
|
1577
|
+
webhook: {
|
|
1578
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1526
1581
|
realtime: {
|
|
1527
1582
|
archive: {
|
|
1528
1583
|
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
2
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
package/src/gen/observe/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 { ObserveAlertsCreateInput, ObserveAlertsCreateOutput, ObserveAlertsDeleteInput, ObserveAlertsDeleteOutput, ObserveAlertsEventsListInput, ObserveAlertsEventsListOutput, ObserveAlertsGetInput, ObserveAlertsGetOutput, ObserveAlertsListInput, ObserveAlertsListOutput, ObserveAlertsUpdateInput, ObserveAlertsUpdateOutput, ObserveArtifactsDeleteInput, ObserveArtifactsDeleteOutput, ObserveArtifactsListInput, ObserveArtifactsListOutput, ObserveArtifactsResolveInput, ObserveArtifactsResolveOutput, ObserveIssuesArchiveInput, ObserveIssuesArchiveOutput, ObserveIssuesAssignInput, ObserveIssuesAssignOutput, ObserveIssuesGetInput, ObserveIssuesGetOutput, ObserveIssuesListInput, ObserveIssuesListOutput, ObserveIssuesResolveInput, ObserveIssuesResolveOutput, ObserveKeysCreateInput, ObserveKeysCreateOutput, ObserveKeysListInput, ObserveKeysListOutput, ObserveKeysRevokeInput, ObserveKeysRevokeOutput, ObserveLogsFacetsInput, ObserveLogsFacetsOutput, ObserveLogsSearchInput, ObserveLogsSearchOutput, ObserveLogsTailInput, ObserveLogsTailOutput, ObserveTracesGetInput, ObserveTracesGetOutput, ObserveTracesSearchInput, ObserveTracesSearchOutput, ObserveWebhooksCreateInput, ObserveWebhooksCreateOutput, ObserveWebhooksDeleteInput, ObserveWebhooksDeleteOutput, ObserveWebhooksDeliveriesListInput, ObserveWebhooksDeliveriesListOutput, ObserveWebhooksGetInput, ObserveWebhooksGetOutput, ObserveWebhooksListInput, ObserveWebhooksListOutput, ObserveWebhooksRedeliverInput, ObserveWebhooksRedeliverOutput, ObserveWebhooksRotateSecretInput, ObserveWebhooksRotateSecretOutput, ObserveWebhooksUpdateInput, ObserveWebhooksUpdateOutput } from '../types.gen';
|
|
3
|
+
export type { ObserveAlertsCreateInput, ObserveAlertsCreateOutput, ObserveAlertsDeleteInput, ObserveAlertsDeleteOutput, ObserveAlertsEventsListInput, ObserveAlertsEventsListOutput, ObserveAlertsGetInput, ObserveAlertsGetOutput, ObserveAlertsListInput, ObserveAlertsListOutput, ObserveAlertsUpdateInput, ObserveAlertsUpdateOutput, ObserveArtifactsDeleteInput, ObserveArtifactsDeleteOutput, ObserveArtifactsListInput, ObserveArtifactsListOutput, ObserveArtifactsResolveInput, ObserveArtifactsResolveOutput, ObserveIssuesArchiveInput, ObserveIssuesArchiveOutput, ObserveIssuesAssignInput, ObserveIssuesAssignOutput, ObserveIssuesGetInput, ObserveIssuesGetOutput, ObserveIssuesListInput, ObserveIssuesListOutput, ObserveIssuesResolveInput, ObserveIssuesResolveOutput, ObserveKeysCreateInput, ObserveKeysCreateOutput, ObserveKeysListInput, ObserveKeysListOutput, ObserveKeysRevokeInput, ObserveKeysRevokeOutput, ObserveLogsFacetsInput, ObserveLogsFacetsOutput, ObserveLogsSearchInput, ObserveLogsSearchOutput, ObserveLogsTailInput, ObserveLogsTailOutput, ObserveMetricsListInput, ObserveMetricsListOutput, ObserveMetricsQueryInput, ObserveMetricsQueryOutput, ObserveTracesGetInput, ObserveTracesGetOutput, ObserveTracesSearchInput, ObserveTracesSearchOutput, ObserveWebhooksCreateInput, ObserveWebhooksCreateOutput, ObserveWebhooksDeleteInput, ObserveWebhooksDeleteOutput, ObserveWebhooksDeliveriesListInput, ObserveWebhooksDeliveriesListOutput, ObserveWebhooksGetInput, ObserveWebhooksGetOutput, ObserveWebhooksListInput, ObserveWebhooksListOutput, ObserveWebhooksRedeliverInput, ObserveWebhooksRedeliverOutput, ObserveWebhooksRotateSecretInput, ObserveWebhooksRotateSecretOutput, ObserveWebhooksUpdateInput, ObserveWebhooksUpdateOutput } from '../types.gen';
|
|
@@ -32,6 +32,10 @@ import type {
|
|
|
32
32
|
ObserveLogsSearchOutput,
|
|
33
33
|
ObserveLogsTailInput,
|
|
34
34
|
ObserveLogsTailOutput,
|
|
35
|
+
ObserveMetricsListInput,
|
|
36
|
+
ObserveMetricsListOutput,
|
|
37
|
+
ObserveMetricsQueryInput,
|
|
38
|
+
ObserveMetricsQueryOutput,
|
|
35
39
|
ObserveTracesGetInput,
|
|
36
40
|
ObserveTracesGetOutput,
|
|
37
41
|
ObserveTracesSearchInput,
|
|
@@ -149,6 +153,16 @@ export const observeLogsTailQueryOptions = (sdk: GeneratedClient, input: Observe
|
|
|
149
153
|
queryFn: () => sdk['observe']['logs']['tail'](input),
|
|
150
154
|
});
|
|
151
155
|
|
|
156
|
+
export const observeMetricsListQueryOptions = (sdk: GeneratedClient, input: ObserveMetricsListInput) => ({
|
|
157
|
+
queryKey: ['observe', 'metrics', 'list', input] as const,
|
|
158
|
+
queryFn: () => sdk['observe']['metrics']['list'](input),
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
export const observeMetricsQueryQueryOptions = (sdk: GeneratedClient, input: ObserveMetricsQueryInput) => ({
|
|
162
|
+
queryKey: ['observe', 'metrics', 'query', input] as const,
|
|
163
|
+
queryFn: () => sdk['observe']['metrics']['query'](input),
|
|
164
|
+
});
|
|
165
|
+
|
|
152
166
|
export const observeTracesGetQueryOptions = (sdk: GeneratedClient, input: ObserveTracesGetInput) => ({
|
|
153
167
|
queryKey: ['observe', 'traces', 'get', input] as const,
|
|
154
168
|
queryFn: () => sdk['observe']['traces']['get'](input),
|
|
@@ -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
|
+
});
|