@lessly/sdk-app 44.0.0 → 44.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-BsjxuDLy.d.cts → client.gen-DlCqQAIZ.d.cts} +1392 -94
- package/dist/{client.gen-BsjxuDLy.d.ts → client.gen-DlCqQAIZ.d.ts} +1392 -94
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/content/index.cjs +96 -0
- package/dist/content/index.cjs.map +1 -0
- package/dist/content/index.d.cts +76 -0
- package/dist/content/index.d.ts +76 -0
- package/dist/content/index.js +77 -0
- package/dist/content/index.js.map +1 -0
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +406 -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 +406 -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.d.cts +1 -1
- package/dist/observe/index.d.ts +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 +12 -2
- package/src/gen/bindings.gen.ts +406 -13
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +114 -5
- package/src/gen/content/index.ts +3 -0
- package/src/gen/content/queryOptions.gen.ts +119 -0
- 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/types.gen.ts +1500 -187
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,
|
|
@@ -114,6 +112,42 @@ import type {
|
|
|
114
112
|
ConsentRecordsExportOutput,
|
|
115
113
|
ConsentStatsGetInput,
|
|
116
114
|
ConsentStatsGetOutput,
|
|
115
|
+
ContentChannelsGetInput,
|
|
116
|
+
ContentChannelsGetOutput,
|
|
117
|
+
ContentChannelsListInput,
|
|
118
|
+
ContentChannelsListOutput,
|
|
119
|
+
ContentChannelsUpdateInput,
|
|
120
|
+
ContentChannelsUpdateOutput,
|
|
121
|
+
ContentPostsApproveInput,
|
|
122
|
+
ContentPostsApproveOutput,
|
|
123
|
+
ContentPostsCreateInput,
|
|
124
|
+
ContentPostsCreateOutput,
|
|
125
|
+
ContentPostsGetInput,
|
|
126
|
+
ContentPostsGetOutput,
|
|
127
|
+
ContentPostsListInput,
|
|
128
|
+
ContentPostsListOutput,
|
|
129
|
+
ContentPostsSubmitInput,
|
|
130
|
+
ContentPostsSubmitOutput,
|
|
131
|
+
ContentPostsUpdateInput,
|
|
132
|
+
ContentPostsUpdateOutput,
|
|
133
|
+
ContentPostsVersionsInput,
|
|
134
|
+
ContentPostsVersionsOutput,
|
|
135
|
+
ContentPublicationsCancelInput,
|
|
136
|
+
ContentPublicationsCancelOutput,
|
|
137
|
+
ContentPublicationsConfirmInput,
|
|
138
|
+
ContentPublicationsConfirmOutput,
|
|
139
|
+
ContentPublicationsGetInput,
|
|
140
|
+
ContentPublicationsGetOutput,
|
|
141
|
+
ContentPublicationsListInput,
|
|
142
|
+
ContentPublicationsListOutput,
|
|
143
|
+
ContentPublicationsPublishInput,
|
|
144
|
+
ContentPublicationsPublishOutput,
|
|
145
|
+
ContentPublicationsRemindInput,
|
|
146
|
+
ContentPublicationsRemindOutput,
|
|
147
|
+
ContentPublicationsRescheduleInput,
|
|
148
|
+
ContentPublicationsRescheduleOutput,
|
|
149
|
+
ContentPublicationsScheduleInput,
|
|
150
|
+
ContentPublicationsScheduleOutput,
|
|
117
151
|
DeploymentAlertCreateInput,
|
|
118
152
|
DeploymentAlertCreateOutput,
|
|
119
153
|
DeploymentAlertDeleteInput,
|
|
@@ -642,6 +676,30 @@ import type {
|
|
|
642
676
|
OrganizationSupportThreadReplyOutput,
|
|
643
677
|
OrganizationSupportThreadsListInput,
|
|
644
678
|
OrganizationSupportThreadsListOutput,
|
|
679
|
+
PlaygroundAnalyticsOverviewInput,
|
|
680
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
681
|
+
PlaygroundBillingEntitlementsInput,
|
|
682
|
+
PlaygroundBillingEntitlementsOutput,
|
|
683
|
+
PlaygroundBillingRecordUsageInput,
|
|
684
|
+
PlaygroundBillingRecordUsageOutput,
|
|
685
|
+
PlaygroundClickupCreateTaskInput,
|
|
686
|
+
PlaygroundClickupCreateTaskOutput,
|
|
687
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
688
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
689
|
+
PlaygroundClickupGetOverviewInput,
|
|
690
|
+
PlaygroundClickupGetOverviewOutput,
|
|
691
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
692
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
693
|
+
PlaygroundGdriveReadFileInput,
|
|
694
|
+
PlaygroundGdriveReadFileOutput,
|
|
695
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
696
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
697
|
+
PlaygroundLifecycleGetStateInput,
|
|
698
|
+
PlaygroundLifecycleGetStateOutput,
|
|
699
|
+
PlaygroundLifecycleListEventsInput,
|
|
700
|
+
PlaygroundLifecycleListEventsOutput,
|
|
701
|
+
PlaygroundWebhookGetLastInput,
|
|
702
|
+
PlaygroundWebhookGetLastOutput,
|
|
645
703
|
RealtimeArchiveExportInput,
|
|
646
704
|
RealtimeArchiveExportOutput,
|
|
647
705
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1049,9 +1107,6 @@ export interface GeneratedClient {
|
|
|
1049
1107
|
restore: {
|
|
1050
1108
|
status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
|
|
1051
1109
|
};
|
|
1052
|
-
usage: {
|
|
1053
|
-
report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
|
|
1054
|
-
};
|
|
1055
1110
|
};
|
|
1056
1111
|
consent: {
|
|
1057
1112
|
'config-cookie-domain': {
|
|
@@ -1094,6 +1149,32 @@ export interface GeneratedClient {
|
|
|
1094
1149
|
get(input: ConsentStatsGetInput): Promise<ConsentStatsGetOutput>;
|
|
1095
1150
|
};
|
|
1096
1151
|
};
|
|
1152
|
+
content: {
|
|
1153
|
+
channels: {
|
|
1154
|
+
get(input: ContentChannelsGetInput): Promise<ContentChannelsGetOutput>;
|
|
1155
|
+
list(input: ContentChannelsListInput): Promise<ContentChannelsListOutput>;
|
|
1156
|
+
update(input: ContentChannelsUpdateInput): Promise<ContentChannelsUpdateOutput>;
|
|
1157
|
+
};
|
|
1158
|
+
posts: {
|
|
1159
|
+
approve(input: ContentPostsApproveInput): Promise<ContentPostsApproveOutput>;
|
|
1160
|
+
create(input: ContentPostsCreateInput): Promise<ContentPostsCreateOutput>;
|
|
1161
|
+
get(input: ContentPostsGetInput): Promise<ContentPostsGetOutput>;
|
|
1162
|
+
list(input: ContentPostsListInput): Promise<ContentPostsListOutput>;
|
|
1163
|
+
submit(input: ContentPostsSubmitInput): Promise<ContentPostsSubmitOutput>;
|
|
1164
|
+
update(input: ContentPostsUpdateInput): Promise<ContentPostsUpdateOutput>;
|
|
1165
|
+
versions(input: ContentPostsVersionsInput): Promise<ContentPostsVersionsOutput>;
|
|
1166
|
+
};
|
|
1167
|
+
publications: {
|
|
1168
|
+
cancel(input: ContentPublicationsCancelInput): Promise<ContentPublicationsCancelOutput>;
|
|
1169
|
+
confirm(input: ContentPublicationsConfirmInput): Promise<ContentPublicationsConfirmOutput>;
|
|
1170
|
+
get(input: ContentPublicationsGetInput): Promise<ContentPublicationsGetOutput>;
|
|
1171
|
+
list(input: ContentPublicationsListInput): Promise<ContentPublicationsListOutput>;
|
|
1172
|
+
publish(input: ContentPublicationsPublishInput): Promise<ContentPublicationsPublishOutput>;
|
|
1173
|
+
remind(input: ContentPublicationsRemindInput): Promise<ContentPublicationsRemindOutput>;
|
|
1174
|
+
reschedule(input: ContentPublicationsRescheduleInput): Promise<ContentPublicationsRescheduleOutput>;
|
|
1175
|
+
schedule(input: ContentPublicationsScheduleInput): Promise<ContentPublicationsScheduleOutput>;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1097
1178
|
deployment: {
|
|
1098
1179
|
alert: {
|
|
1099
1180
|
create(input: DeploymentAlertCreateInput): Promise<DeploymentAlertCreateOutput>;
|
|
@@ -1540,6 +1621,34 @@ export interface GeneratedClient {
|
|
|
1540
1621
|
list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
|
|
1541
1622
|
};
|
|
1542
1623
|
};
|
|
1624
|
+
playground: {
|
|
1625
|
+
analytics: {
|
|
1626
|
+
overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
|
|
1627
|
+
};
|
|
1628
|
+
billing: {
|
|
1629
|
+
entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
|
|
1630
|
+
'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
|
|
1631
|
+
};
|
|
1632
|
+
clickup: {
|
|
1633
|
+
'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
|
|
1634
|
+
'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
|
|
1635
|
+
'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
|
|
1636
|
+
};
|
|
1637
|
+
gdrive: {
|
|
1638
|
+
'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
|
|
1639
|
+
'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
|
|
1640
|
+
};
|
|
1641
|
+
googleads: {
|
|
1642
|
+
'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
|
|
1643
|
+
};
|
|
1644
|
+
lifecycle: {
|
|
1645
|
+
'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
|
|
1646
|
+
'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
|
|
1647
|
+
};
|
|
1648
|
+
webhook: {
|
|
1649
|
+
'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
|
|
1650
|
+
};
|
|
1651
|
+
};
|
|
1543
1652
|
realtime: {
|
|
1544
1653
|
archive: {
|
|
1545
1654
|
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export type { ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsCreateInput, ContentPostsCreateOutput, ContentPostsGetInput, ContentPostsGetOutput, ContentPostsListInput, ContentPostsListOutput, ContentPostsSubmitInput, ContentPostsSubmitOutput, ContentPostsUpdateInput, ContentPostsUpdateOutput, ContentPostsVersionsInput, ContentPostsVersionsOutput, ContentPublicationsCancelInput, ContentPublicationsCancelOutput, ContentPublicationsConfirmInput, ContentPublicationsConfirmOutput, ContentPublicationsGetInput, ContentPublicationsGetOutput, ContentPublicationsListInput, ContentPublicationsListOutput, ContentPublicationsPublishInput, ContentPublicationsPublishOutput, ContentPublicationsRemindInput, ContentPublicationsRemindOutput, ContentPublicationsRescheduleInput, ContentPublicationsRescheduleOutput, ContentPublicationsScheduleInput, ContentPublicationsScheduleOutput } from '../types.gen';
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
ContentChannelsGetInput,
|
|
5
|
+
ContentChannelsGetOutput,
|
|
6
|
+
ContentChannelsListInput,
|
|
7
|
+
ContentChannelsListOutput,
|
|
8
|
+
ContentChannelsUpdateInput,
|
|
9
|
+
ContentPostsApproveInput,
|
|
10
|
+
ContentPostsCreateInput,
|
|
11
|
+
ContentPostsGetInput,
|
|
12
|
+
ContentPostsGetOutput,
|
|
13
|
+
ContentPostsListInput,
|
|
14
|
+
ContentPostsListOutput,
|
|
15
|
+
ContentPostsSubmitInput,
|
|
16
|
+
ContentPostsUpdateInput,
|
|
17
|
+
ContentPostsVersionsInput,
|
|
18
|
+
ContentPostsVersionsOutput,
|
|
19
|
+
ContentPublicationsCancelInput,
|
|
20
|
+
ContentPublicationsConfirmInput,
|
|
21
|
+
ContentPublicationsGetInput,
|
|
22
|
+
ContentPublicationsGetOutput,
|
|
23
|
+
ContentPublicationsListInput,
|
|
24
|
+
ContentPublicationsListOutput,
|
|
25
|
+
ContentPublicationsPublishInput,
|
|
26
|
+
ContentPublicationsRemindInput,
|
|
27
|
+
ContentPublicationsRescheduleInput,
|
|
28
|
+
ContentPublicationsScheduleInput,
|
|
29
|
+
} from '../types.gen';
|
|
30
|
+
|
|
31
|
+
export const contentChannelsGetQueryOptions = (sdk: GeneratedClient, input: ContentChannelsGetInput) => ({
|
|
32
|
+
queryKey: ['content', 'channels', 'get', input] as const,
|
|
33
|
+
queryFn: () => sdk['content']['channels']['get'](input),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export const contentChannelsListQueryOptions = (sdk: GeneratedClient, input: ContentChannelsListInput) => ({
|
|
37
|
+
queryKey: ['content', 'channels', 'list', input] as const,
|
|
38
|
+
queryFn: () => sdk['content']['channels']['list'](input),
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export const contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
42
|
+
mutationKey: ['content', 'channels', 'update'],
|
|
43
|
+
mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](input),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export const contentPostsApproveMutationOptions = (sdk: GeneratedClient) => ({
|
|
47
|
+
mutationKey: ['content', 'posts', 'approve'],
|
|
48
|
+
mutationFn: (input: ContentPostsApproveInput) => sdk['content']['posts']['approve'](input),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export const contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
52
|
+
mutationKey: ['content', 'posts', 'create'],
|
|
53
|
+
mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](input),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export const contentPostsGetQueryOptions = (sdk: GeneratedClient, input: ContentPostsGetInput) => ({
|
|
57
|
+
queryKey: ['content', 'posts', 'get', input] as const,
|
|
58
|
+
queryFn: () => sdk['content']['posts']['get'](input),
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export const contentPostsListQueryOptions = (sdk: GeneratedClient, input: ContentPostsListInput) => ({
|
|
62
|
+
queryKey: ['content', 'posts', 'list', input] as const,
|
|
63
|
+
queryFn: () => sdk['content']['posts']['list'](input),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({
|
|
67
|
+
mutationKey: ['content', 'posts', 'submit'],
|
|
68
|
+
mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
72
|
+
mutationKey: ['content', 'posts', 'update'],
|
|
73
|
+
mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export const contentPostsVersionsQueryOptions = (sdk: GeneratedClient, input: ContentPostsVersionsInput) => ({
|
|
77
|
+
queryKey: ['content', 'posts', 'versions', input] as const,
|
|
78
|
+
queryFn: () => sdk['content']['posts']['versions'](input),
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export const contentPublicationsCancelMutationOptions = (sdk: GeneratedClient) => ({
|
|
82
|
+
mutationKey: ['content', 'publications', 'cancel'],
|
|
83
|
+
mutationFn: (input: ContentPublicationsCancelInput) => sdk['content']['publications']['cancel'](input),
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export const contentPublicationsConfirmMutationOptions = (sdk: GeneratedClient) => ({
|
|
87
|
+
mutationKey: ['content', 'publications', 'confirm'],
|
|
88
|
+
mutationFn: (input: ContentPublicationsConfirmInput) => sdk['content']['publications']['confirm'](input),
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
export const contentPublicationsGetQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsGetInput) => ({
|
|
92
|
+
queryKey: ['content', 'publications', 'get', input] as const,
|
|
93
|
+
queryFn: () => sdk['content']['publications']['get'](input),
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export const contentPublicationsListQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsListInput) => ({
|
|
97
|
+
queryKey: ['content', 'publications', 'list', input] as const,
|
|
98
|
+
queryFn: () => sdk['content']['publications']['list'](input),
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
export const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient) => ({
|
|
102
|
+
mutationKey: ['content', 'publications', 'publish'],
|
|
103
|
+
mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
export const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({
|
|
107
|
+
mutationKey: ['content', 'publications', 'remind'],
|
|
108
|
+
mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
export const contentPublicationsRescheduleMutationOptions = (sdk: GeneratedClient) => ({
|
|
112
|
+
mutationKey: ['content', 'publications', 'reschedule'],
|
|
113
|
+
mutationFn: (input: ContentPublicationsRescheduleInput) => sdk['content']['publications']['reschedule'](input),
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
export const contentPublicationsScheduleMutationOptions = (sdk: GeneratedClient) => ({
|
|
117
|
+
mutationKey: ['content', 'publications', 'schedule'],
|
|
118
|
+
mutationFn: (input: ContentPublicationsScheduleInput) => sdk['content']['publications']['schedule'](input),
|
|
119
|
+
});
|
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', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', '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
|
+
});
|