@lessly/sdk-app 42.2.0 → 43.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-Cyz4I2yE.d.cts → client.gen-BE8VaNrU.d.cts} +476 -94
- package/dist/{client.gen-Cyz4I2yE.d.ts → client.gen-BE8VaNrU.d.ts} +476 -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 +153 -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 +153 -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 +15 -0
- package/dist/observe/index.cjs.map +1 -1
- package/dist/observe/index.d.cts +14 -2
- package/dist/observe/index.d.ts +14 -2
- package/dist/observe/index.js +13 -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 +153 -13
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +61 -5
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/observe/index.ts +1 -1
- package/src/gen/observe/queryOptions.gen.ts +21 -0
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +482 -92
|
@@ -68,8 +68,6 @@ import type {
|
|
|
68
68
|
BrainProductSharedMemoryResetInput,
|
|
69
69
|
BrainRestoreStatusInput,
|
|
70
70
|
BrainRestoreStatusOutput,
|
|
71
|
-
BrainUsageReportInput,
|
|
72
|
-
BrainUsageReportOutput,
|
|
73
71
|
} from '../types.gen';
|
|
74
72
|
|
|
75
73
|
export const brainBackupCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
@@ -271,8 +269,3 @@ export const brainRestoreStatusQueryOptions = (sdk: GeneratedClient, input: Brai
|
|
|
271
269
|
queryKey: ['brain', 'restore', 'status', input] as const,
|
|
272
270
|
queryFn: () => sdk['brain']['restore']['status'](input),
|
|
273
271
|
});
|
|
274
|
-
|
|
275
|
-
export const brainUsageReportQueryOptions = (sdk: GeneratedClient, input: BrainUsageReportInput) => ({
|
|
276
|
-
queryKey: ['brain', 'usage', 'report', input] as const,
|
|
277
|
-
queryFn: () => sdk['brain']['usage']['report'](input),
|
|
278
|
-
});
|
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,
|
|
@@ -452,8 +450,14 @@ import type {
|
|
|
452
450
|
ObserveIssuesArchiveOutput,
|
|
453
451
|
ObserveIssuesAssignInput,
|
|
454
452
|
ObserveIssuesAssignOutput,
|
|
453
|
+
ObserveIssuesEventInput,
|
|
454
|
+
ObserveIssuesEventOutput,
|
|
455
|
+
ObserveIssuesEventsInput,
|
|
456
|
+
ObserveIssuesEventsOutput,
|
|
455
457
|
ObserveIssuesGetInput,
|
|
456
458
|
ObserveIssuesGetOutput,
|
|
459
|
+
ObserveIssuesHistogramInput,
|
|
460
|
+
ObserveIssuesHistogramOutput,
|
|
457
461
|
ObserveIssuesListInput,
|
|
458
462
|
ObserveIssuesListOutput,
|
|
459
463
|
ObserveIssuesResolveInput,
|
|
@@ -636,6 +640,30 @@ import type {
|
|
|
636
640
|
OrganizationSupportThreadReplyOutput,
|
|
637
641
|
OrganizationSupportThreadsListInput,
|
|
638
642
|
OrganizationSupportThreadsListOutput,
|
|
643
|
+
PlaygroundAnalyticsOverviewInput,
|
|
644
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
645
|
+
PlaygroundBillingEntitlementsInput,
|
|
646
|
+
PlaygroundBillingEntitlementsOutput,
|
|
647
|
+
PlaygroundBillingRecordUsageInput,
|
|
648
|
+
PlaygroundBillingRecordUsageOutput,
|
|
649
|
+
PlaygroundClickupCreateTaskInput,
|
|
650
|
+
PlaygroundClickupCreateTaskOutput,
|
|
651
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
652
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
653
|
+
PlaygroundClickupGetOverviewInput,
|
|
654
|
+
PlaygroundClickupGetOverviewOutput,
|
|
655
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
656
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
657
|
+
PlaygroundGdriveReadFileInput,
|
|
658
|
+
PlaygroundGdriveReadFileOutput,
|
|
659
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
660
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
661
|
+
PlaygroundLifecycleGetStateInput,
|
|
662
|
+
PlaygroundLifecycleGetStateOutput,
|
|
663
|
+
PlaygroundLifecycleListEventsInput,
|
|
664
|
+
PlaygroundLifecycleListEventsOutput,
|
|
665
|
+
PlaygroundWebhookGetLastInput,
|
|
666
|
+
PlaygroundWebhookGetLastOutput,
|
|
639
667
|
RealtimeArchiveExportInput,
|
|
640
668
|
RealtimeArchiveExportOutput,
|
|
641
669
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1043,9 +1071,6 @@ export interface GeneratedClient {
|
|
|
1043
1071
|
restore: {
|
|
1044
1072
|
status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
|
|
1045
1073
|
};
|
|
1046
|
-
usage: {
|
|
1047
|
-
report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
|
|
1048
|
-
};
|
|
1049
1074
|
};
|
|
1050
1075
|
consent: {
|
|
1051
1076
|
'config-cookie-domain': {
|
|
@@ -1375,7 +1400,10 @@ export interface GeneratedClient {
|
|
|
1375
1400
|
issues: {
|
|
1376
1401
|
archive(input: ObserveIssuesArchiveInput): Promise<ObserveIssuesArchiveOutput>;
|
|
1377
1402
|
assign(input: ObserveIssuesAssignInput): Promise<ObserveIssuesAssignOutput>;
|
|
1403
|
+
event(input: ObserveIssuesEventInput): Promise<ObserveIssuesEventOutput>;
|
|
1404
|
+
events(input: ObserveIssuesEventsInput): Promise<ObserveIssuesEventsOutput>;
|
|
1378
1405
|
get(input: ObserveIssuesGetInput): Promise<ObserveIssuesGetOutput>;
|
|
1406
|
+
histogram(input: ObserveIssuesHistogramInput): Promise<ObserveIssuesHistogramOutput>;
|
|
1379
1407
|
list(input: ObserveIssuesListInput): Promise<ObserveIssuesListOutput>;
|
|
1380
1408
|
resolve(input: ObserveIssuesResolveInput): Promise<ObserveIssuesResolveOutput>;
|
|
1381
1409
|
};
|
|
@@ -1531,6 +1559,34 @@ export interface GeneratedClient {
|
|
|
1531
1559
|
list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
|
|
1532
1560
|
};
|
|
1533
1561
|
};
|
|
1562
|
+
playground: {
|
|
1563
|
+
analytics: {
|
|
1564
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1565
|
+
};
|
|
1566
|
+
billing: {
|
|
1567
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1568
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1569
|
+
};
|
|
1570
|
+
clickup: {
|
|
1571
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1572
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1573
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1574
|
+
};
|
|
1575
|
+
gdrive: {
|
|
1576
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1577
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1578
|
+
};
|
|
1579
|
+
googleads: {
|
|
1580
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1581
|
+
};
|
|
1582
|
+
lifecycle: {
|
|
1583
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1584
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1585
|
+
};
|
|
1586
|
+
webhook: {
|
|
1587
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1534
1590
|
realtime: {
|
|
1535
1591
|
archive: {
|
|
1536
1592
|
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, 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';
|
|
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, ObserveIssuesEventInput, ObserveIssuesEventOutput, ObserveIssuesEventsInput, ObserveIssuesEventsOutput, ObserveIssuesGetInput, ObserveIssuesGetOutput, ObserveIssuesHistogramInput, ObserveIssuesHistogramOutput, 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';
|
|
@@ -17,8 +17,14 @@ import type {
|
|
|
17
17
|
ObserveArtifactsResolveOutput,
|
|
18
18
|
ObserveIssuesArchiveInput,
|
|
19
19
|
ObserveIssuesAssignInput,
|
|
20
|
+
ObserveIssuesEventInput,
|
|
21
|
+
ObserveIssuesEventOutput,
|
|
22
|
+
ObserveIssuesEventsInput,
|
|
23
|
+
ObserveIssuesEventsOutput,
|
|
20
24
|
ObserveIssuesGetInput,
|
|
21
25
|
ObserveIssuesGetOutput,
|
|
26
|
+
ObserveIssuesHistogramInput,
|
|
27
|
+
ObserveIssuesHistogramOutput,
|
|
22
28
|
ObserveIssuesListInput,
|
|
23
29
|
ObserveIssuesListOutput,
|
|
24
30
|
ObserveIssuesResolveInput,
|
|
@@ -108,11 +114,26 @@ export const observeIssuesAssignMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
108
114
|
mutationFn: (input: ObserveIssuesAssignInput) => sdk['observe']['issues']['assign'](input),
|
|
109
115
|
});
|
|
110
116
|
|
|
117
|
+
export const observeIssuesEventQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesEventInput) => ({
|
|
118
|
+
queryKey: ['observe', 'issues', 'event', input] as const,
|
|
119
|
+
queryFn: () => sdk['observe']['issues']['event'](input),
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
export const observeIssuesEventsQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesEventsInput) => ({
|
|
123
|
+
queryKey: ['observe', 'issues', 'events', input] as const,
|
|
124
|
+
queryFn: () => sdk['observe']['issues']['events'](input),
|
|
125
|
+
});
|
|
126
|
+
|
|
111
127
|
export const observeIssuesGetQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesGetInput) => ({
|
|
112
128
|
queryKey: ['observe', 'issues', 'get', input] as const,
|
|
113
129
|
queryFn: () => sdk['observe']['issues']['get'](input),
|
|
114
130
|
});
|
|
115
131
|
|
|
132
|
+
export const observeIssuesHistogramQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesHistogramInput) => ({
|
|
133
|
+
queryKey: ['observe', 'issues', 'histogram', input] as const,
|
|
134
|
+
queryFn: () => sdk['observe']['issues']['histogram'](input),
|
|
135
|
+
});
|
|
136
|
+
|
|
116
137
|
export const observeIssuesListQueryOptions = (sdk: GeneratedClient, input: ObserveIssuesListInput) => ({
|
|
117
138
|
queryKey: ['observe', 'issues', 'list', input] as const,
|
|
118
139
|
queryFn: () => sdk['observe']['issues']['list'](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
|
+
});
|