@lessly/sdk-app 105.12.0 → 105.14.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 (35) hide show
  1. package/CHANGELOG.md +8 -20
  2. package/dist/_types/gen/client.gen.d.ts +45 -1
  3. package/dist/_types/gen/content/index.d.ts +1 -1
  4. package/dist/_types/gen/content/queryOptions.gen.d.ts +13 -1
  5. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  6. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  7. package/dist/_types/gen/playground/index.d.ts +3 -0
  8. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  9. package/dist/_types/gen/types.gen.d.ts +1925 -634
  10. package/dist/chunk-A7WRKJPH.js +12260 -0
  11. package/dist/chunk-A7WRKJPH.js.map +1 -0
  12. package/dist/content/index.cjs +15 -0
  13. package/dist/content/index.cjs.map +1 -1
  14. package/dist/content/index.js +13 -1
  15. package/dist/content/index.js.map +1 -1
  16. package/dist/index.cjs +302 -45
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.js +25 -12014
  19. package/dist/index.js.map +1 -1
  20. package/dist/playground/index.cjs +106 -0
  21. package/dist/playground/index.cjs.map +1 -0
  22. package/dist/playground/index.d.cts +1 -0
  23. package/dist/playground/index.d.ts +1 -0
  24. package/dist/playground/index.js +78 -0
  25. package/dist/playground/index.js.map +1 -0
  26. package/package.json +12 -2
  27. package/src/gen/bindings.gen.ts +288 -46
  28. package/src/gen/client.gen.ts +84 -0
  29. package/src/gen/content/index.ts +1 -1
  30. package/src/gen/content/queryOptions.gen.ts +18 -0
  31. package/src/gen/manifest.gen.ts +24 -1
  32. package/src/gen/playground/connect.gen.ts +9 -0
  33. package/src/gen/playground/index.ts +4 -0
  34. package/src/gen/playground/queryOptions.gen.ts +119 -0
  35. package/src/gen/types.gen.ts +2091 -748
@@ -199,12 +199,16 @@ import type {
199
199
  ContentPostsListOutput,
200
200
  ContentPostsMoveInput,
201
201
  ContentPostsMoveOutput,
202
+ ContentPostsSkipOutputInput,
203
+ ContentPostsSkipOutputOutput,
202
204
  ContentPostsSubmitInput,
203
205
  ContentPostsSubmitOutput,
204
206
  ContentPostsToDraftInput,
205
207
  ContentPostsToDraftOutput,
206
208
  ContentPostsToIdeaInput,
207
209
  ContentPostsToIdeaOutput,
210
+ ContentPostsUnskipOutputInput,
211
+ ContentPostsUnskipOutputOutput,
208
212
  ContentPostsUpdateInput,
209
213
  ContentPostsUpdateOutput,
210
214
  ContentPostsVersionsInput,
@@ -219,6 +223,8 @@ import type {
219
223
  ContentPublicationsListOutput,
220
224
  ContentPublicationsPublishInput,
221
225
  ContentPublicationsPublishOutput,
226
+ ContentPublicationsRecordInput,
227
+ ContentPublicationsRecordOutput,
222
228
  ContentPublicationsRemindInput,
223
229
  ContentPublicationsRemindOutput,
224
230
  ContentPublicationsRescheduleInput,
@@ -821,6 +827,40 @@ import type {
821
827
  OrganizationXInstallOutput,
822
828
  OrganizationYoutubeInstallInput,
823
829
  OrganizationYoutubeInstallOutput,
830
+ PlaygroundAnalyticsOverviewInput,
831
+ PlaygroundAnalyticsOverviewOutput,
832
+ PlaygroundBillingEntitlementsInput,
833
+ PlaygroundBillingEntitlementsOutput,
834
+ PlaygroundBillingRecordUsageInput,
835
+ PlaygroundBillingRecordUsageOutput,
836
+ PlaygroundClickupCreateTaskInput,
837
+ PlaygroundClickupCreateTaskOutput,
838
+ PlaygroundClickupGetLastWebhookInput,
839
+ PlaygroundClickupGetLastWebhookOutput,
840
+ PlaygroundClickupGetOverviewInput,
841
+ PlaygroundClickupGetOverviewOutput,
842
+ PlaygroundEchoPingInput,
843
+ PlaygroundEchoPingOutput,
844
+ PlaygroundGdriveGetLastChangeInput,
845
+ PlaygroundGdriveGetLastChangeOutput,
846
+ PlaygroundGdriveReadFileInput,
847
+ PlaygroundGdriveReadFileOutput,
848
+ PlaygroundGoogleadsReadCustomerInput,
849
+ PlaygroundGoogleadsReadCustomerOutput,
850
+ PlaygroundLifecycleGetStateInput,
851
+ PlaygroundLifecycleGetStateOutput,
852
+ PlaygroundLifecycleListEventsInput,
853
+ PlaygroundLifecycleListEventsOutput,
854
+ PlaygroundWebhookGetLastInput,
855
+ PlaygroundWebhookGetLastOutput,
856
+ PlaygroundWorkflowEchoInput,
857
+ PlaygroundWorkflowEchoListInput,
858
+ PlaygroundWorkflowEchoListOutput,
859
+ PlaygroundWorkflowEchoOutput,
860
+ PlaygroundWorkflowPingInput,
861
+ PlaygroundWorkflowPingOutput,
862
+ PlaygroundWorkflowSubjectsListInput,
863
+ PlaygroundWorkflowSubjectsListOutput,
824
864
  RealtimeArchiveExportInput,
825
865
  RealtimeArchiveExportOutput,
826
866
  RealtimeArchiveExportStatusInput,
@@ -1461,16 +1501,23 @@ export interface GeneratedClient {
1461
1501
  'posts-detach': {
1462
1502
  media: ((input: ContentPostsDetachMediaInput) => Promise<ContentPostsDetachMediaOutput>) & Operation;
1463
1503
  };
1504
+ 'posts-skip': {
1505
+ output: ((input: ContentPostsSkipOutputInput) => Promise<ContentPostsSkipOutputOutput>) & Operation;
1506
+ };
1464
1507
  'posts-to': {
1465
1508
  draft: ((input: ContentPostsToDraftInput) => Promise<ContentPostsToDraftOutput>) & Operation;
1466
1509
  idea: ((input: ContentPostsToIdeaInput) => Promise<ContentPostsToIdeaOutput>) & Operation;
1467
1510
  };
1511
+ 'posts-unskip': {
1512
+ output: ((input: ContentPostsUnskipOutputInput) => Promise<ContentPostsUnskipOutputOutput>) & Operation;
1513
+ };
1468
1514
  publications: {
1469
1515
  cancel: ((input: ContentPublicationsCancelInput) => Promise<ContentPublicationsCancelOutput>) & Operation;
1470
1516
  confirm: ((input: ContentPublicationsConfirmInput) => Promise<ContentPublicationsConfirmOutput>) & Operation;
1471
1517
  get: ((input: ContentPublicationsGetInput) => Promise<ContentPublicationsGetOutput>) & Operation;
1472
1518
  list: ((input: ContentPublicationsListInput) => Promise<ContentPublicationsListOutput>) & Operation;
1473
1519
  publish: ((input: ContentPublicationsPublishInput) => Promise<ContentPublicationsPublishOutput>) & Operation;
1520
+ record: ((input: ContentPublicationsRecordInput) => Promise<ContentPublicationsRecordOutput>) & Operation;
1474
1521
  remind: ((input: ContentPublicationsRemindInput) => Promise<ContentPublicationsRemindOutput>) & Operation;
1475
1522
  reschedule: ((input: ContentPublicationsRescheduleInput) => Promise<ContentPublicationsRescheduleOutput>) & Operation;
1476
1523
  schedule: ((input: ContentPublicationsScheduleInput) => Promise<ContentPublicationsScheduleOutput>) & Operation;
@@ -1984,6 +2031,43 @@ export interface GeneratedClient {
1984
2031
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1985
2032
  };
1986
2033
  };
2034
+ playground: {
2035
+ analytics: {
2036
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2037
+ };
2038
+ billing: {
2039
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2040
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2041
+ };
2042
+ clickup: {
2043
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2044
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2045
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2046
+ };
2047
+ echo: {
2048
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2049
+ };
2050
+ gdrive: {
2051
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2052
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2053
+ };
2054
+ googleads: {
2055
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2056
+ };
2057
+ lifecycle: {
2058
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2059
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2060
+ };
2061
+ webhook: {
2062
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2063
+ };
2064
+ workflow: {
2065
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2066
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2067
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2068
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2069
+ };
2070
+ };
1987
2071
  realtime: {
1988
2072
  archive: {
1989
2073
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { ContentChannelsBindInput, ContentChannelsBindOutput, ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsResumeInput, ContentChannelsResumeOutput, ContentChannelsUnbindInput, ContentChannelsUnbindOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentFoldersCreateInput, ContentFoldersCreateOutput, ContentFoldersDeleteInput, ContentFoldersDeleteOutput, ContentFoldersListInput, ContentFoldersListOutput, ContentFoldersUpdateInput, ContentFoldersUpdateOutput, ContentMediaCreateUploadUrlInput, ContentMediaCreateUploadUrlOutput, ContentMediaFinalizeInput, ContentMediaFinalizeOutput, ContentMediaGetInput, ContentMediaGetOutput, ContentMediaListInput, ContentMediaListOutput, ContentMediaUploadInput, ContentMediaUploadOutput, ContentMetricsChannelSeriesInput, ContentMetricsChannelSeriesOutput, ContentMetricsPostSeriesInput, ContentMetricsPostSeriesOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsAttachMediaInput, ContentPostsAttachMediaOutput, ContentPostsCreateInput, ContentPostsCreateOutput, ContentPostsDeleteInput, ContentPostsDeleteOutput, ContentPostsDetachMediaInput, ContentPostsDetachMediaOutput, ContentPostsGetInput, ContentPostsGetOutput, ContentPostsListInput, ContentPostsListOutput, ContentPostsMoveInput, ContentPostsMoveOutput, ContentPostsSubmitInput, ContentPostsSubmitOutput, ContentPostsToDraftInput, ContentPostsToDraftOutput, ContentPostsToIdeaInput, ContentPostsToIdeaOutput, 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';
3
+ export type { ContentChannelsBindInput, ContentChannelsBindOutput, ContentChannelsGetInput, ContentChannelsGetOutput, ContentChannelsListInput, ContentChannelsListOutput, ContentChannelsResumeInput, ContentChannelsResumeOutput, ContentChannelsUnbindInput, ContentChannelsUnbindOutput, ContentChannelsUpdateInput, ContentChannelsUpdateOutput, ContentFoldersCreateInput, ContentFoldersCreateOutput, ContentFoldersDeleteInput, ContentFoldersDeleteOutput, ContentFoldersListInput, ContentFoldersListOutput, ContentFoldersUpdateInput, ContentFoldersUpdateOutput, ContentMediaCreateUploadUrlInput, ContentMediaCreateUploadUrlOutput, ContentMediaFinalizeInput, ContentMediaFinalizeOutput, ContentMediaGetInput, ContentMediaGetOutput, ContentMediaListInput, ContentMediaListOutput, ContentMediaUploadInput, ContentMediaUploadOutput, ContentMetricsChannelSeriesInput, ContentMetricsChannelSeriesOutput, ContentMetricsPostSeriesInput, ContentMetricsPostSeriesOutput, ContentPostsApproveInput, ContentPostsApproveOutput, ContentPostsAttachMediaInput, ContentPostsAttachMediaOutput, ContentPostsCreateInput, ContentPostsCreateOutput, ContentPostsDeleteInput, ContentPostsDeleteOutput, ContentPostsDetachMediaInput, ContentPostsDetachMediaOutput, ContentPostsGetInput, ContentPostsGetOutput, ContentPostsListInput, ContentPostsListOutput, ContentPostsMoveInput, ContentPostsMoveOutput, ContentPostsSkipOutputInput, ContentPostsSkipOutputOutput, ContentPostsSubmitInput, ContentPostsSubmitOutput, ContentPostsToDraftInput, ContentPostsToDraftOutput, ContentPostsToIdeaInput, ContentPostsToIdeaOutput, ContentPostsUnskipOutputInput, ContentPostsUnskipOutputOutput, ContentPostsUpdateInput, ContentPostsUpdateOutput, ContentPostsVersionsInput, ContentPostsVersionsOutput, ContentPublicationsCancelInput, ContentPublicationsCancelOutput, ContentPublicationsConfirmInput, ContentPublicationsConfirmOutput, ContentPublicationsGetInput, ContentPublicationsGetOutput, ContentPublicationsListInput, ContentPublicationsListOutput, ContentPublicationsPublishInput, ContentPublicationsPublishOutput, ContentPublicationsRecordInput, ContentPublicationsRecordOutput, ContentPublicationsRemindInput, ContentPublicationsRemindOutput, ContentPublicationsRescheduleInput, ContentPublicationsRescheduleOutput, ContentPublicationsScheduleInput, ContentPublicationsScheduleOutput, ContentPublicationsValidateInput, ContentPublicationsValidateOutput } from '../types.gen';
@@ -35,9 +35,11 @@ import type {
35
35
  ContentPostsListInput,
36
36
  ContentPostsListOutput,
37
37
  ContentPostsMoveInput,
38
+ ContentPostsSkipOutputInput,
38
39
  ContentPostsSubmitInput,
39
40
  ContentPostsToDraftInput,
40
41
  ContentPostsToIdeaInput,
42
+ ContentPostsUnskipOutputInput,
41
43
  ContentPostsUpdateInput,
42
44
  ContentPostsVersionsInput,
43
45
  ContentPostsVersionsOutput,
@@ -48,6 +50,7 @@ import type {
48
50
  ContentPublicationsListInput,
49
51
  ContentPublicationsListOutput,
50
52
  ContentPublicationsPublishInput,
53
+ ContentPublicationsRecordInput,
51
54
  ContentPublicationsRemindInput,
52
55
  ContentPublicationsRescheduleInput,
53
56
  ContentPublicationsScheduleInput,
@@ -180,6 +183,11 @@ export const contentPostsMoveMutationOptions = (sdk: GeneratedClient) => ({
180
183
  mutationFn: (input: ContentPostsMoveInput) => sdk['content']['posts']['move'](input),
181
184
  });
182
185
 
186
+ export const contentPostsSkipOutputMutationOptions = (sdk: GeneratedClient) => ({
187
+ mutationKey: ['content', 'posts-skip', 'output'],
188
+ mutationFn: (input: ContentPostsSkipOutputInput) => sdk['content']['posts-skip']['output'](input),
189
+ });
190
+
183
191
  export const contentPostsSubmitMutationOptions = (sdk: GeneratedClient) => ({
184
192
  mutationKey: ['content', 'posts', 'submit'],
185
193
  mutationFn: (input: ContentPostsSubmitInput) => sdk['content']['posts']['submit'](input),
@@ -195,6 +203,11 @@ export const contentPostsToIdeaMutationOptions = (sdk: GeneratedClient) => ({
195
203
  mutationFn: (input: ContentPostsToIdeaInput) => sdk['content']['posts-to']['idea'](input),
196
204
  });
197
205
 
206
+ export const contentPostsUnskipOutputMutationOptions = (sdk: GeneratedClient) => ({
207
+ mutationKey: ['content', 'posts-unskip', 'output'],
208
+ mutationFn: (input: ContentPostsUnskipOutputInput) => sdk['content']['posts-unskip']['output'](input),
209
+ });
210
+
198
211
  export const contentPostsUpdateMutationOptions = (sdk: GeneratedClient) => ({
199
212
  mutationKey: ['content', 'posts', 'update'],
200
213
  mutationFn: (input: ContentPostsUpdateInput) => sdk['content']['posts']['update'](input),
@@ -230,6 +243,11 @@ export const contentPublicationsPublishMutationOptions = (sdk: GeneratedClient)
230
243
  mutationFn: (input: ContentPublicationsPublishInput) => sdk['content']['publications']['publish'](input),
231
244
  });
232
245
 
246
+ export const contentPublicationsRecordMutationOptions = (sdk: GeneratedClient) => ({
247
+ mutationKey: ['content', 'publications', 'record'],
248
+ mutationFn: (input: ContentPublicationsRecordInput) => sdk['content']['publications']['record'](input),
249
+ });
250
+
233
251
  export const contentPublicationsRemindMutationOptions = (sdk: GeneratedClient) => ({
234
252
  mutationKey: ['content', 'publications', 'remind'],
235
253
  mutationFn: (input: ContentPublicationsRemindInput) => sdk['content']['publications']['remind'](input),
@@ -1,7 +1,7 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  import type { ToolLevel, ToolComposition } from '../runtime/types';
3
3
 
4
- export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
4
+ export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
5
5
 
6
6
  export const operations: Record<string, ToolLevel> = {
7
7
  'analytics_catalog_get': 'read',
@@ -103,9 +103,11 @@ export const operations: Record<string, ToolLevel> = {
103
103
  'content_posts_get': 'read',
104
104
  'content_posts_list': 'read',
105
105
  'content_posts_move': 'admin',
106
+ 'content_posts_skip_output': 'write',
106
107
  'content_posts_submit': 'write',
107
108
  'content_posts_to_draft': 'write',
108
109
  'content_posts_to_idea': 'write',
110
+ 'content_posts_unskip_output': 'write',
109
111
  'content_posts_update': 'write',
110
112
  'content_posts_versions': 'read',
111
113
  'content_publications_cancel': 'write',
@@ -113,6 +115,7 @@ export const operations: Record<string, ToolLevel> = {
113
115
  'content_publications_get': 'read',
114
116
  'content_publications_list': 'read',
115
117
  'content_publications_publish': 'write',
118
+ 'content_publications_record': 'write',
116
119
  'content_publications_remind': 'write',
117
120
  'content_publications_reschedule': 'write',
118
121
  'content_publications_schedule': 'write',
@@ -414,6 +417,23 @@ export const operations: Record<string, ToolLevel> = {
414
417
  'organization_support_threads_list': 'read',
415
418
  'organization_x_install': 'read',
416
419
  'organization_youtube_install': 'read',
420
+ 'playground_analytics_overview': 'read',
421
+ 'playground_billing_entitlements': 'read',
422
+ 'playground_billing_record-usage': 'write',
423
+ 'playground_clickup_create-task': 'write',
424
+ 'playground_clickup_get-last-webhook': 'read',
425
+ 'playground_clickup_get-overview': 'read',
426
+ 'playground_echo_ping': 'read',
427
+ 'playground_gdrive_get-last-change': 'read',
428
+ 'playground_gdrive_read-file': 'read',
429
+ 'playground_googleads_read-customer': 'read',
430
+ 'playground_lifecycle_get-state': 'read',
431
+ 'playground_lifecycle_list-events': 'read',
432
+ 'playground_webhook_get-last': 'read',
433
+ 'playground_workflow_echo': 'write',
434
+ 'playground_workflow_echo-list': 'read',
435
+ 'playground_workflow_ping': 'write',
436
+ 'playground_workflow_subjects-list': 'read',
417
437
  'realtime_archive_export': 'admin',
418
438
  'realtime_archive_export_status': 'read',
419
439
  'realtime_archive_get': 'read',
@@ -706,6 +726,9 @@ export const compositions: Record<string, ToolComposition> = {
706
726
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
707
727
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
708
728
  'mail_usage_get': {"label":"Get usage"},
729
+ 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
730
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
731
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
709
732
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
710
733
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
711
734
  'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
@@ -0,0 +1,9 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ import { wsBindings } from '../bindings.gen';
3
+ import type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';
4
+ import type {
5
+ PlaygroundWsEchoInput,
6
+ } from '../types.gen';
7
+
8
+ export const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>
9
+ sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);
@@ -0,0 +1,4 @@
1
+ // AUTOGENERATED by scripts/generate.ts — do not edit.
2
+ export * from './queryOptions.gen';
3
+ export * from './connect.gen';
4
+ export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundEchoPingInput, PlaygroundEchoPingOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } 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
+ PlaygroundAnalyticsOverviewInput,
5
+ PlaygroundAnalyticsOverviewOutput,
6
+ PlaygroundBillingEntitlementsInput,
7
+ PlaygroundBillingEntitlementsOutput,
8
+ PlaygroundBillingRecordUsageInput,
9
+ PlaygroundClickupCreateTaskInput,
10
+ PlaygroundClickupGetLastWebhookInput,
11
+ PlaygroundClickupGetLastWebhookOutput,
12
+ PlaygroundClickupGetOverviewInput,
13
+ PlaygroundClickupGetOverviewOutput,
14
+ PlaygroundEchoPingInput,
15
+ PlaygroundEchoPingOutput,
16
+ PlaygroundGdriveGetLastChangeInput,
17
+ PlaygroundGdriveGetLastChangeOutput,
18
+ PlaygroundGdriveReadFileInput,
19
+ PlaygroundGdriveReadFileOutput,
20
+ PlaygroundGoogleadsReadCustomerInput,
21
+ PlaygroundGoogleadsReadCustomerOutput,
22
+ PlaygroundLifecycleGetStateInput,
23
+ PlaygroundLifecycleGetStateOutput,
24
+ PlaygroundLifecycleListEventsInput,
25
+ PlaygroundLifecycleListEventsOutput,
26
+ PlaygroundWebhookGetLastInput,
27
+ PlaygroundWebhookGetLastOutput,
28
+ PlaygroundWorkflowEchoInput,
29
+ PlaygroundWorkflowEchoListInput,
30
+ PlaygroundWorkflowEchoListOutput,
31
+ PlaygroundWorkflowPingInput,
32
+ PlaygroundWorkflowSubjectsListInput,
33
+ PlaygroundWorkflowSubjectsListOutput,
34
+ } from '../types.gen';
35
+
36
+ export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
37
+ queryKey: ['playground', 'analytics', 'overview', input] as const,
38
+ queryFn: () => sdk['playground']['analytics']['overview'](input),
39
+ });
40
+
41
+ export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
42
+ queryKey: ['playground', 'billing', 'entitlements', input] as const,
43
+ queryFn: () => sdk['playground']['billing']['entitlements'](input),
44
+ });
45
+
46
+ export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
47
+ mutationKey: ['playground', 'billing', 'record-usage'],
48
+ mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
49
+ });
50
+
51
+ export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
52
+ mutationKey: ['playground', 'clickup', 'create-task'],
53
+ mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
54
+ });
55
+
56
+ export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
57
+ queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
58
+ queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
59
+ });
60
+
61
+ export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
62
+ queryKey: ['playground', 'clickup', 'get-overview', input] as const,
63
+ queryFn: () => sdk['playground']['clickup']['get-overview'](input),
64
+ });
65
+
66
+ export const playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({
67
+ queryKey: ['playground', 'echo', 'ping', input] as const,
68
+ queryFn: () => sdk['playground']['echo']['ping'](input),
69
+ });
70
+
71
+ export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
72
+ queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
73
+ queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
74
+ });
75
+
76
+ export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
77
+ queryKey: ['playground', 'gdrive', 'read-file', input] as const,
78
+ queryFn: () => sdk['playground']['gdrive']['read-file'](input),
79
+ });
80
+
81
+ export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
82
+ queryKey: ['playground', 'googleads', 'read-customer', input] as const,
83
+ queryFn: () => sdk['playground']['googleads']['read-customer'](input),
84
+ });
85
+
86
+ export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
87
+ queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
88
+ queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
89
+ });
90
+
91
+ export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
92
+ queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
93
+ queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
94
+ });
95
+
96
+ export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
97
+ queryKey: ['playground', 'webhook', 'get-last', input] as const,
98
+ queryFn: () => sdk['playground']['webhook']['get-last'](input),
99
+ });
100
+
101
+ export const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({
102
+ mutationKey: ['playground', 'workflow', 'echo'],
103
+ mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),
104
+ });
105
+
106
+ export const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({
107
+ queryKey: ['playground', 'workflow', 'echo-list', input] as const,
108
+ queryFn: () => sdk['playground']['workflow']['echo-list'](input),
109
+ });
110
+
111
+ export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({
112
+ mutationKey: ['playground', 'workflow', 'ping'],
113
+ mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
114
+ });
115
+
116
+ export const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({
117
+ queryKey: ['playground', 'workflow', 'subjects-list', input] as const,
118
+ queryFn: () => sdk['playground']['workflow']['subjects-list'](input),
119
+ });