@lessly/sdk-app 44.0.0 → 45.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 (59) 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.cjs +0 -5
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -6
  6. package/dist/brain/index.d.ts +2 -6
  7. package/dist/brain/index.js +1 -5
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-BsjxuDLy.d.cts → client.gen-BC3cJSSd.d.cts} +4680 -387
  10. package/dist/{client.gen-BsjxuDLy.d.ts → client.gen-BC3cJSSd.d.ts} +4680 -387
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/content/index.cjs +161 -0
  14. package/dist/content/index.cjs.map +1 -0
  15. package/dist/content/index.d.cts +128 -0
  16. package/dist/content/index.d.ts +128 -0
  17. package/dist/content/index.js +129 -0
  18. package/dist/content/index.js.map +1 -0
  19. package/dist/deployment/index.d.cts +1 -1
  20. package/dist/deployment/index.d.ts +1 -1
  21. package/dist/index.cjs +750 -138
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +750 -138
  26. package/dist/index.js.map +1 -1
  27. package/dist/mail/index.d.cts +2 -2
  28. package/dist/mail/index.d.ts +2 -2
  29. package/dist/observe/index.d.cts +1 -1
  30. package/dist/observe/index.d.ts +1 -1
  31. package/dist/organization/index.d.cts +1 -1
  32. package/dist/organization/index.d.ts +1 -1
  33. package/dist/playground/index.cjs +66 -0
  34. package/dist/playground/index.cjs.map +1 -0
  35. package/dist/playground/index.d.cts +52 -0
  36. package/dist/playground/index.d.ts +52 -0
  37. package/dist/playground/index.js +53 -0
  38. package/dist/playground/index.js.map +1 -0
  39. package/dist/realtime/index.d.cts +1 -1
  40. package/dist/realtime/index.d.ts +1 -1
  41. package/dist/support/index.d.cts +1 -1
  42. package/dist/support/index.d.ts +1 -1
  43. package/dist/tracking/index.d.cts +1 -1
  44. package/dist/tracking/index.d.ts +1 -1
  45. package/dist/users/index.d.cts +1 -1
  46. package/dist/users/index.d.ts +1 -1
  47. package/dist/waitlist/index.d.cts +1 -1
  48. package/dist/waitlist/index.d.ts +1 -1
  49. package/package.json +12 -2
  50. package/src/gen/bindings.gen.ts +750 -138
  51. package/src/gen/brain/index.ts +1 -1
  52. package/src/gen/brain/queryOptions.gen.ts +0 -7
  53. package/src/gen/client.gen.ts +165 -5
  54. package/src/gen/content/index.ts +3 -0
  55. package/src/gen/content/queryOptions.gen.ts +202 -0
  56. package/src/gen/manifest.gen.ts +1 -1
  57. package/src/gen/playground/index.ts +3 -0
  58. package/src/gen/playground/queryOptions.gen.ts +86 -0
  59. package/src/gen/types.gen.ts +4296 -217
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput, BrainUsageReportInput, BrainUsageReportOutput } from '../types.gen';
3
+ export type { BrainBackupCreateInput, BrainBackupCreateOutput, BrainBackupRestoreInput, BrainBackupRestoreOutput, BrainBackupStatusInput, BrainBackupStatusOutput, BrainBackupsListInput, BrainBackupsListOutput, BrainClickupChannelsListInput, BrainClickupChannelsListOutput, BrainClickupConnectionsListInput, BrainClickupConnectionsListOutput, BrainClickupListsListInput, BrainClickupListsListOutput, BrainClickupSpacesListInput, BrainClickupSpacesListOutput, BrainCognitionDigestInput, BrainCognitionDigestOutput, BrainCognitionStatusInput, BrainCognitionStatusOutput, BrainCognitionSweepInput, BrainCognitionSweepOutput, BrainConnectorBranchesListInput, BrainConnectorBranchesListOutput, BrainConnectorConnectionsListInput, BrainConnectorConnectionsListOutput, BrainConnectorReposListInput, BrainConnectorReposListOutput, BrainDaemonBatchStatusInput, BrainDaemonBatchStatusOutput, BrainDaemonCreateInput, BrainDaemonCreateOutput, BrainDaemonGetInput, BrainDaemonGetOutput, BrainDaemonReingestInput, BrainDaemonReingestOutput, BrainDaemonRemoveInput, BrainDaemonRemoveOutput, BrainDaemonRunInput, BrainDaemonRunItemsInput, BrainDaemonRunItemsOutput, BrainDaemonRunOutput, BrainDaemonRunsInput, BrainDaemonRunsOutput, BrainDaemonStatusInput, BrainDaemonStatusOutput, BrainDaemonUpdateInput, BrainDaemonUpdateOutput, BrainDaemonsListInput, BrainDaemonsListOutput, BrainGdriveConnectionsListInput, BrainGdriveConnectionsListOutput, BrainKnowledgeEntityMemoriesInput, BrainKnowledgeEntityMemoriesOutput, BrainKnowledgeGraphInput, BrainKnowledgeGraphOutput, BrainKnowledgeNeighborhoodInput, BrainKnowledgeNeighborhoodOutput, BrainKnowledgeRelationsInput, BrainKnowledgeRelationsOutput, BrainKnowledgeSearchInput, BrainKnowledgeSearchOutput, BrainMemoryAddInput, BrainMemoryAddOutput, BrainMemoryDeleteInput, BrainMemoryDeleteOutput, BrainMemoryGetInput, BrainMemoryGetOutput, BrainMemoryListInput, BrainMemoryListOutput, BrainMemorySearchInput, BrainMemorySearchOutput, BrainMemoryStatsInput, BrainMemoryStatsOutput, BrainMemoryUpdateInput, BrainMemoryUpdateOutput, BrainProductSharedMemoryResetInput, BrainProductSharedMemoryResetOutput, BrainRestoreStatusInput, BrainRestoreStatusOutput } from '../types.gen';
@@ -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
- });
@@ -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,68 @@ import type {
114
112
  ConsentRecordsExportOutput,
115
113
  ConsentStatsGetInput,
116
114
  ConsentStatsGetOutput,
115
+ ContentChannelsBindInput,
116
+ ContentChannelsBindOutput,
117
+ ContentChannelsGetInput,
118
+ ContentChannelsGetOutput,
119
+ ContentChannelsListInput,
120
+ ContentChannelsListOutput,
121
+ ContentChannelsResumeInput,
122
+ ContentChannelsResumeOutput,
123
+ ContentChannelsUnbindInput,
124
+ ContentChannelsUnbindOutput,
125
+ ContentChannelsUpdateInput,
126
+ ContentChannelsUpdateOutput,
127
+ ContentMediaCreateUploadUrlInput,
128
+ ContentMediaCreateUploadUrlOutput,
129
+ ContentMediaFinalizeInput,
130
+ ContentMediaFinalizeOutput,
131
+ ContentMediaGetInput,
132
+ ContentMediaGetOutput,
133
+ ContentMediaListInput,
134
+ ContentMediaListOutput,
135
+ ContentMediaUploadInput,
136
+ ContentMediaUploadOutput,
137
+ ContentMetricsChannelSeriesInput,
138
+ ContentMetricsChannelSeriesOutput,
139
+ ContentMetricsPostSeriesInput,
140
+ ContentMetricsPostSeriesOutput,
141
+ ContentPostsApproveInput,
142
+ ContentPostsApproveOutput,
143
+ ContentPostsAttachMediaInput,
144
+ ContentPostsAttachMediaOutput,
145
+ ContentPostsCreateInput,
146
+ ContentPostsCreateOutput,
147
+ ContentPostsDetachMediaInput,
148
+ ContentPostsDetachMediaOutput,
149
+ ContentPostsGetInput,
150
+ ContentPostsGetOutput,
151
+ ContentPostsListInput,
152
+ ContentPostsListOutput,
153
+ ContentPostsSubmitInput,
154
+ ContentPostsSubmitOutput,
155
+ ContentPostsUpdateInput,
156
+ ContentPostsUpdateOutput,
157
+ ContentPostsVersionsInput,
158
+ ContentPostsVersionsOutput,
159
+ ContentPublicationsCancelInput,
160
+ ContentPublicationsCancelOutput,
161
+ ContentPublicationsConfirmInput,
162
+ ContentPublicationsConfirmOutput,
163
+ ContentPublicationsGetInput,
164
+ ContentPublicationsGetOutput,
165
+ ContentPublicationsListInput,
166
+ ContentPublicationsListOutput,
167
+ ContentPublicationsPublishInput,
168
+ ContentPublicationsPublishOutput,
169
+ ContentPublicationsRemindInput,
170
+ ContentPublicationsRemindOutput,
171
+ ContentPublicationsRescheduleInput,
172
+ ContentPublicationsRescheduleOutput,
173
+ ContentPublicationsScheduleInput,
174
+ ContentPublicationsScheduleOutput,
175
+ ContentPublicationsValidateInput,
176
+ ContentPublicationsValidateOutput,
117
177
  DeploymentAlertCreateInput,
118
178
  DeploymentAlertCreateOutput,
119
179
  DeploymentAlertDeleteInput,
@@ -642,6 +702,30 @@ import type {
642
702
  OrganizationSupportThreadReplyOutput,
643
703
  OrganizationSupportThreadsListInput,
644
704
  OrganizationSupportThreadsListOutput,
705
+ PlaygroundAnalyticsOverviewInput,
706
+ PlaygroundAnalyticsOverviewOutput,
707
+ PlaygroundBillingEntitlementsInput,
708
+ PlaygroundBillingEntitlementsOutput,
709
+ PlaygroundBillingRecordUsageInput,
710
+ PlaygroundBillingRecordUsageOutput,
711
+ PlaygroundClickupCreateTaskInput,
712
+ PlaygroundClickupCreateTaskOutput,
713
+ PlaygroundClickupGetLastWebhookInput,
714
+ PlaygroundClickupGetLastWebhookOutput,
715
+ PlaygroundClickupGetOverviewInput,
716
+ PlaygroundClickupGetOverviewOutput,
717
+ PlaygroundGdriveGetLastChangeInput,
718
+ PlaygroundGdriveGetLastChangeOutput,
719
+ PlaygroundGdriveReadFileInput,
720
+ PlaygroundGdriveReadFileOutput,
721
+ PlaygroundGoogleadsReadCustomerInput,
722
+ PlaygroundGoogleadsReadCustomerOutput,
723
+ PlaygroundLifecycleGetStateInput,
724
+ PlaygroundLifecycleGetStateOutput,
725
+ PlaygroundLifecycleListEventsInput,
726
+ PlaygroundLifecycleListEventsOutput,
727
+ PlaygroundWebhookGetLastInput,
728
+ PlaygroundWebhookGetLastOutput,
645
729
  RealtimeArchiveExportInput,
646
730
  RealtimeArchiveExportOutput,
647
731
  RealtimeArchiveExportStatusInput,
@@ -1049,9 +1133,6 @@ export interface GeneratedClient {
1049
1133
  restore: {
1050
1134
  status(input: BrainRestoreStatusInput): Promise<BrainRestoreStatusOutput>;
1051
1135
  };
1052
- usage: {
1053
- report(input: BrainUsageReportInput): Promise<BrainUsageReportOutput>;
1054
- };
1055
1136
  };
1056
1137
  consent: {
1057
1138
  'config-cookie-domain': {
@@ -1094,6 +1175,57 @@ export interface GeneratedClient {
1094
1175
  get(input: ConsentStatsGetInput): Promise<ConsentStatsGetOutput>;
1095
1176
  };
1096
1177
  };
1178
+ content: {
1179
+ channels: {
1180
+ bind(input: ContentChannelsBindInput): Promise<ContentChannelsBindOutput>;
1181
+ get(input: ContentChannelsGetInput): Promise<ContentChannelsGetOutput>;
1182
+ list(input: ContentChannelsListInput): Promise<ContentChannelsListOutput>;
1183
+ resume(input: ContentChannelsResumeInput): Promise<ContentChannelsResumeOutput>;
1184
+ unbind(input: ContentChannelsUnbindInput): Promise<ContentChannelsUnbindOutput>;
1185
+ update(input: ContentChannelsUpdateInput): Promise<ContentChannelsUpdateOutput>;
1186
+ };
1187
+ media: {
1188
+ finalize(input: ContentMediaFinalizeInput): Promise<ContentMediaFinalizeOutput>;
1189
+ get(input: ContentMediaGetInput): Promise<ContentMediaGetOutput>;
1190
+ list(input: ContentMediaListInput): Promise<ContentMediaListOutput>;
1191
+ upload(input: ContentMediaUploadInput): Promise<ContentMediaUploadOutput>;
1192
+ };
1193
+ 'media-create-upload': {
1194
+ url(input: ContentMediaCreateUploadUrlInput): Promise<ContentMediaCreateUploadUrlOutput>;
1195
+ };
1196
+ 'metrics-channel': {
1197
+ series(input: ContentMetricsChannelSeriesInput): Promise<ContentMetricsChannelSeriesOutput>;
1198
+ };
1199
+ 'metrics-post': {
1200
+ series(input: ContentMetricsPostSeriesInput): Promise<ContentMetricsPostSeriesOutput>;
1201
+ };
1202
+ posts: {
1203
+ approve(input: ContentPostsApproveInput): Promise<ContentPostsApproveOutput>;
1204
+ create(input: ContentPostsCreateInput): Promise<ContentPostsCreateOutput>;
1205
+ get(input: ContentPostsGetInput): Promise<ContentPostsGetOutput>;
1206
+ list(input: ContentPostsListInput): Promise<ContentPostsListOutput>;
1207
+ submit(input: ContentPostsSubmitInput): Promise<ContentPostsSubmitOutput>;
1208
+ update(input: ContentPostsUpdateInput): Promise<ContentPostsUpdateOutput>;
1209
+ versions(input: ContentPostsVersionsInput): Promise<ContentPostsVersionsOutput>;
1210
+ };
1211
+ 'posts-attach': {
1212
+ media(input: ContentPostsAttachMediaInput): Promise<ContentPostsAttachMediaOutput>;
1213
+ };
1214
+ 'posts-detach': {
1215
+ media(input: ContentPostsDetachMediaInput): Promise<ContentPostsDetachMediaOutput>;
1216
+ };
1217
+ publications: {
1218
+ cancel(input: ContentPublicationsCancelInput): Promise<ContentPublicationsCancelOutput>;
1219
+ confirm(input: ContentPublicationsConfirmInput): Promise<ContentPublicationsConfirmOutput>;
1220
+ get(input: ContentPublicationsGetInput): Promise<ContentPublicationsGetOutput>;
1221
+ list(input: ContentPublicationsListInput): Promise<ContentPublicationsListOutput>;
1222
+ publish(input: ContentPublicationsPublishInput): Promise<ContentPublicationsPublishOutput>;
1223
+ remind(input: ContentPublicationsRemindInput): Promise<ContentPublicationsRemindOutput>;
1224
+ reschedule(input: ContentPublicationsRescheduleInput): Promise<ContentPublicationsRescheduleOutput>;
1225
+ schedule(input: ContentPublicationsScheduleInput): Promise<ContentPublicationsScheduleOutput>;
1226
+ validate(input: ContentPublicationsValidateInput): Promise<ContentPublicationsValidateOutput>;
1227
+ };
1228
+ };
1097
1229
  deployment: {
1098
1230
  alert: {
1099
1231
  create(input: DeploymentAlertCreateInput): Promise<DeploymentAlertCreateOutput>;
@@ -1540,6 +1672,34 @@ export interface GeneratedClient {
1540
1672
  list(input: OrganizationSupportThreadsListInput): Promise<OrganizationSupportThreadsListOutput>;
1541
1673
  };
1542
1674
  };
1675
+ playground: {
1676
+ analytics: {
1677
+ overview(input: PlaygroundAnalyticsOverviewInput): Promise<PlaygroundAnalyticsOverviewOutput>;
1678
+ };
1679
+ billing: {
1680
+ entitlements(input: PlaygroundBillingEntitlementsInput): Promise<PlaygroundBillingEntitlementsOutput>;
1681
+ 'record-usage'(input: PlaygroundBillingRecordUsageInput): Promise<PlaygroundBillingRecordUsageOutput>;
1682
+ };
1683
+ clickup: {
1684
+ 'create-task'(input: PlaygroundClickupCreateTaskInput): Promise<PlaygroundClickupCreateTaskOutput>;
1685
+ 'get-last-webhook'(input: PlaygroundClickupGetLastWebhookInput): Promise<PlaygroundClickupGetLastWebhookOutput>;
1686
+ 'get-overview'(input: PlaygroundClickupGetOverviewInput): Promise<PlaygroundClickupGetOverviewOutput>;
1687
+ };
1688
+ gdrive: {
1689
+ 'get-last-change'(input: PlaygroundGdriveGetLastChangeInput): Promise<PlaygroundGdriveGetLastChangeOutput>;
1690
+ 'read-file'(input: PlaygroundGdriveReadFileInput): Promise<PlaygroundGdriveReadFileOutput>;
1691
+ };
1692
+ googleads: {
1693
+ 'read-customer'(input: PlaygroundGoogleadsReadCustomerInput): Promise<PlaygroundGoogleadsReadCustomerOutput>;
1694
+ };
1695
+ lifecycle: {
1696
+ 'get-state'(input: PlaygroundLifecycleGetStateInput): Promise<PlaygroundLifecycleGetStateOutput>;
1697
+ 'list-events'(input: PlaygroundLifecycleListEventsInput): Promise<PlaygroundLifecycleListEventsOutput>;
1698
+ };
1699
+ webhook: {
1700
+ 'get-last'(input: PlaygroundWebhookGetLastInput): Promise<PlaygroundWebhookGetLastOutput>;
1701
+ };
1702
+ };
1543
1703
  realtime: {
1544
1704
  archive: {
1545
1705
  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 { ContentChannelsBindInput, ContentChannelsBindOutput, ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsResumeInput, ContentChannelsResumeOutput, ContentChannelsUnbindInput, ContentChannelsUnbindOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentMediaCreateUploadUrlInput, ContentMediaCreateUploadUrlOutput, ContentMediaFinalizeInput, ContentMediaFinalizeOutput, ContentMediaGetInput, ContentMediaGetOutput, ContentMediaListInput, ContentMediaListOutput, ContentMediaUploadInput, ContentMediaUploadOutput, ContentMetricsChannelSeriesInput, ContentMetricsChannelSeriesOutput, ContentMetricsPostSeriesInput, ContentMetricsPostSeriesOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsAttachMediaInput, ContentPostsAttachMediaOutput, ContentPostsCreateInput, ContentPostsCreateOutput, ContentPostsDetachMediaInput, ContentPostsDetachMediaOutput, 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, ContentPublicationsValidateInput, ContentPublicationsValidateOutput } from '../types.gen';
@@ -0,0 +1,202 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ import type { GeneratedClient } from '../client.gen';
3
+ import type {
4
+ ContentChannelsBindInput,
5
+ ContentChannelsGetInput,
6
+ ContentChannelsGetOutput,
7
+ ContentChannelsListInput,
8
+ ContentChannelsListOutput,
9
+ ContentChannelsResumeInput,
10
+ ContentChannelsUnbindInput,
11
+ ContentChannelsUpdateInput,
12
+ ContentMediaCreateUploadUrlInput,
13
+ ContentMediaFinalizeInput,
14
+ ContentMediaGetInput,
15
+ ContentMediaGetOutput,
16
+ ContentMediaListInput,
17
+ ContentMediaListOutput,
18
+ ContentMediaUploadInput,
19
+ ContentMetricsChannelSeriesInput,
20
+ ContentMetricsChannelSeriesOutput,
21
+ ContentMetricsPostSeriesInput,
22
+ ContentMetricsPostSeriesOutput,
23
+ ContentPostsApproveInput,
24
+ ContentPostsAttachMediaInput,
25
+ ContentPostsCreateInput,
26
+ ContentPostsDetachMediaInput,
27
+ ContentPostsGetInput,
28
+ ContentPostsGetOutput,
29
+ ContentPostsListInput,
30
+ ContentPostsListOutput,
31
+ ContentPostsSubmitInput,
32
+ ContentPostsUpdateInput,
33
+ ContentPostsVersionsInput,
34
+ ContentPostsVersionsOutput,
35
+ ContentPublicationsCancelInput,
36
+ ContentPublicationsConfirmInput,
37
+ ContentPublicationsGetInput,
38
+ ContentPublicationsGetOutput,
39
+ ContentPublicationsListInput,
40
+ ContentPublicationsListOutput,
41
+ ContentPublicationsPublishInput,
42
+ ContentPublicationsRemindInput,
43
+ ContentPublicationsRescheduleInput,
44
+ ContentPublicationsScheduleInput,
45
+ ContentPublicationsValidateInput,
46
+ ContentPublicationsValidateOutput,
47
+ } from '../types.gen';
48
+
49
+ export const contentChannelsBindMutationOptions = (sdk: GeneratedClient) => ({
50
+ mutationKey: ['content', 'channels', 'bind'],
51
+ mutationFn: (input: ContentChannelsBindInput) => sdk['content']['channels']['bind'](input),
52
+ });
53
+
54
+ export const contentChannelsGetQueryOptions = (sdk: GeneratedClient, input: ContentChannelsGetInput) => ({
55
+ queryKey: ['content', 'channels', 'get', input] as const,
56
+ queryFn: () => sdk['content']['channels']['get'](input),
57
+ });
58
+
59
+ export const contentChannelsListQueryOptions = (sdk: GeneratedClient, input: ContentChannelsListInput) => ({
60
+ queryKey: ['content', 'channels', 'list', input] as const,
61
+ queryFn: () => sdk['content']['channels']['list'](input),
62
+ });
63
+
64
+ export const contentChannelsResumeMutationOptions = (sdk: GeneratedClient) => ({
65
+ mutationKey: ['content', 'channels', 'resume'],
66
+ mutationFn: (input: ContentChannelsResumeInput) => sdk['content']['channels']['resume'](input),
67
+ });
68
+
69
+ export const contentChannelsUnbindMutationOptions = (sdk: GeneratedClient) => ({
70
+ mutationKey: ['content', 'channels', 'unbind'],
71
+ mutationFn: (input: ContentChannelsUnbindInput) => sdk['content']['channels']['unbind'](input),
72
+ });
73
+
74
+ export const contentChannelsUpdateMutationOptions = (sdk: GeneratedClient) => ({
75
+ mutationKey: ['content', 'channels', 'update'],
76
+ mutationFn: (input: ContentChannelsUpdateInput) => sdk['content']['channels']['update'](input),
77
+ });
78
+
79
+ export const contentMediaCreateUploadUrlMutationOptions = (sdk: GeneratedClient) => ({
80
+ mutationKey: ['content', 'media-create-upload', 'url'],
81
+ mutationFn: (input: ContentMediaCreateUploadUrlInput) => sdk['content']['media-create-upload']['url'](input),
82
+ });
83
+
84
+ export const contentMediaFinalizeMutationOptions = (sdk: GeneratedClient) => ({
85
+ mutationKey: ['content', 'media', 'finalize'],
86
+ mutationFn: (input: ContentMediaFinalizeInput) => sdk['content']['media']['finalize'](input),
87
+ });
88
+
89
+ export const contentMediaGetQueryOptions = (sdk: GeneratedClient, input: ContentMediaGetInput) => ({
90
+ queryKey: ['content', 'media', 'get', input] as const,
91
+ queryFn: () => sdk['content']['media']['get'](input),
92
+ });
93
+
94
+ export const contentMediaListQueryOptions = (sdk: GeneratedClient, input: ContentMediaListInput) => ({
95
+ queryKey: ['content', 'media', 'list', input] as const,
96
+ queryFn: () => sdk['content']['media']['list'](input),
97
+ });
98
+
99
+ export const contentMediaUploadMutationOptions = (sdk: GeneratedClient) => ({
100
+ mutationKey: ['content', 'media', 'upload'],
101
+ mutationFn: (input: ContentMediaUploadInput) => sdk['content']['media']['upload'](input),
102
+ });
103
+
104
+ export const contentMetricsChannelSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsChannelSeriesInput) => ({
105
+ queryKey: ['content', 'metrics-channel', 'series', input] as const,
106
+ queryFn: () => sdk['content']['metrics-channel']['series'](input),
107
+ });
108
+
109
+ export const contentMetricsPostSeriesQueryOptions = (sdk: GeneratedClient, input: ContentMetricsPostSeriesInput) => ({
110
+ queryKey: ['content', 'metrics-post', 'series', input] as const,
111
+ queryFn: () => sdk['content']['metrics-post']['series'](input),
112
+ });
113
+
114
+ export const contentPostsApproveMutationOptions = (sdk: GeneratedClient) => ({
115
+ mutationKey: ['content', 'posts', 'approve'],
116
+ mutationFn: (input: ContentPostsApproveInput) => sdk['content']['posts']['approve'](input),
117
+ });
118
+
119
+ export const contentPostsAttachMediaMutationOptions = (sdk: GeneratedClient) => ({
120
+ mutationKey: ['content', 'posts-attach', 'media'],
121
+ mutationFn: (input: ContentPostsAttachMediaInput) => sdk['content']['posts-attach']['media'](input),
122
+ });
123
+
124
+ export const contentPostsCreateMutationOptions = (sdk: GeneratedClient) => ({
125
+ mutationKey: ['content', 'posts', 'create'],
126
+ mutationFn: (input: ContentPostsCreateInput) => sdk['content']['posts']['create'](input),
127
+ });
128
+
129
+ export const contentPostsDetachMediaMutationOptions = (sdk: GeneratedClient) => ({
130
+ mutationKey: ['content', 'posts-detach', 'media'],
131
+ mutationFn: (input: ContentPostsDetachMediaInput) => sdk['content']['posts-detach']['media'](input),
132
+ });
133
+
134
+ export const contentPostsGetQueryOptions = (sdk: GeneratedClient, input: ContentPostsGetInput) => ({
135
+ queryKey: ['content', 'posts', 'get', input] as const,
136
+ queryFn: () => sdk['content']['posts']['get'](input),
137
+ });
138
+
139
+ export const contentPostsListQueryOptions = (sdk: GeneratedClient, input: ContentPostsListInput) => ({
140
+ queryKey: ['content', 'posts', 'list', input] as const,
141
+ queryFn: () => sdk['content']['posts']['list'](input),
142
+ });
143
+
144
+ export const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({
145
+ mutationKey: ['content', 'posts', 'submit'],
146
+ mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),
147
+ });
148
+
149
+ export const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({
150
+ mutationKey: ['content', 'posts', 'update'],
151
+ mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),
152
+ });
153
+
154
+ export const contentPostsVersionsQueryOptions = (sdk: GeneratedClient, input: ContentPostsVersionsInput) => ({
155
+ queryKey: ['content', 'posts', 'versions', input] as const,
156
+ queryFn: () => sdk['content']['posts']['versions'](input),
157
+ });
158
+
159
+ export const contentPublicationsCancelMutationOptions = (sdk: GeneratedClient) => ({
160
+ mutationKey: ['content', 'publications', 'cancel'],
161
+ mutationFn: (input: ContentPublicationsCancelInput) => sdk['content']['publications']['cancel'](input),
162
+ });
163
+
164
+ export const contentPublicationsConfirmMutationOptions = (sdk: GeneratedClient) => ({
165
+ mutationKey: ['content', 'publications', 'confirm'],
166
+ mutationFn: (input: ContentPublicationsConfirmInput) => sdk['content']['publications']['confirm'](input),
167
+ });
168
+
169
+ export const contentPublicationsGetQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsGetInput) => ({
170
+ queryKey: ['content', 'publications', 'get', input] as const,
171
+ queryFn: () => sdk['content']['publications']['get'](input),
172
+ });
173
+
174
+ export const contentPublicationsListQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsListInput) => ({
175
+ queryKey: ['content', 'publications', 'list', input] as const,
176
+ queryFn: () => sdk['content']['publications']['list'](input),
177
+ });
178
+
179
+ export const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient) => ({
180
+ mutationKey: ['content', 'publications', 'publish'],
181
+ mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),
182
+ });
183
+
184
+ export const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({
185
+ mutationKey: ['content', 'publications', 'remind'],
186
+ mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),
187
+ });
188
+
189
+ export const contentPublicationsRescheduleMutationOptions = (sdk: GeneratedClient) => ({
190
+ mutationKey: ['content', 'publications', 'reschedule'],
191
+ mutationFn: (input: ContentPublicationsRescheduleInput) => sdk['content']['publications']['reschedule'](input),
192
+ });
193
+
194
+ export const contentPublicationsScheduleMutationOptions = (sdk: GeneratedClient) => ({
195
+ mutationKey: ['content', 'publications', 'schedule'],
196
+ mutationFn: (input: ContentPublicationsScheduleInput) => sdk['content']['publications']['schedule'](input),
197
+ });
198
+
199
+ export const contentPublicationsValidateQueryOptions = (sdk: GeneratedClient, input: ContentPublicationsValidateInput) => ({
200
+ queryKey: ['content', 'publications', 'validate', input] as const,
201
+ queryFn: () => sdk['content']['publications']['validate'](input),
202
+ });
@@ -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
+ });