@lessly/sdk-app 116.0.0 → 116.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +5 -33
  2. package/dist/_types/gen/client.gen.d.ts +40 -1
  3. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  4. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  5. package/dist/_types/gen/playground/index.d.ts +3 -0
  6. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  7. package/dist/_types/gen/support/index.d.ts +1 -1
  8. package/dist/_types/gen/support/queryOptions.gen.d.ts +9 -1
  9. package/dist/_types/gen/types.gen.d.ts +391 -0
  10. package/dist/chunk-LH7IJHII.js +12399 -0
  11. package/dist/chunk-LH7IJHII.js.map +1 -0
  12. package/dist/index.cjs +252 -45
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.js +24 -12202
  15. package/dist/index.js.map +1 -1
  16. package/dist/playground/index.cjs +106 -0
  17. package/dist/playground/index.cjs.map +1 -0
  18. package/dist/playground/index.d.cts +1 -0
  19. package/dist/playground/index.d.ts +1 -0
  20. package/dist/playground/index.js +78 -0
  21. package/dist/playground/index.js.map +1 -0
  22. package/dist/support/index.cjs +10 -0
  23. package/dist/support/index.cjs.map +1 -1
  24. package/dist/support/index.js +9 -1
  25. package/dist/support/index.js.map +1 -1
  26. package/package.json +12 -2
  27. package/src/gen/bindings.gen.ts +239 -46
  28. package/src/gen/client.gen.ts +77 -0
  29. package/src/gen/manifest.gen.ts +23 -1
  30. package/src/gen/playground/connect.gen.ts +9 -0
  31. package/src/gen/playground/index.ts +4 -0
  32. package/src/gen/playground/queryOptions.gen.ts +119 -0
  33. package/src/gen/support/index.ts +1 -1
  34. package/src/gen/support/queryOptions.gen.ts +12 -0
  35. package/src/gen/types.gen.ts +441 -0
@@ -6454,12 +6454,6 @@ export const bindings: BindingsMap = {
6454
6454
  "level": "read",
6455
6455
  "method": "GET",
6456
6456
  "operationKey": "organization_clickup_install",
6457
- "params": [
6458
- {
6459
- "in": "query",
6460
- "name": "share"
6461
- }
6462
- ],
6463
6457
  "path": "/governance/api/v1/connectors/clickup/install",
6464
6458
  "readOnly": false
6465
6459
  },
@@ -6476,12 +6470,6 @@ export const bindings: BindingsMap = {
6476
6470
  "level": "read",
6477
6471
  "method": "GET",
6478
6472
  "operationKey": "organization_cloudflare_install",
6479
- "params": [
6480
- {
6481
- "in": "query",
6482
- "name": "share"
6483
- }
6484
- ],
6485
6473
  "path": "/governance/api/v1/connectors/cloudflare/install",
6486
6474
  "readOnly": false
6487
6475
  }
@@ -6802,12 +6790,6 @@ export const bindings: BindingsMap = {
6802
6790
  "level": "read",
6803
6791
  "method": "GET",
6804
6792
  "operationKey": "organization_gdrive_install",
6805
- "params": [
6806
- {
6807
- "in": "query",
6808
- "name": "share"
6809
- }
6810
- ],
6811
6793
  "path": "/governance/api/v1/connectors/gdrive/install",
6812
6794
  "readOnly": false
6813
6795
  }
@@ -6817,12 +6799,6 @@ export const bindings: BindingsMap = {
6817
6799
  "level": "read",
6818
6800
  "method": "GET",
6819
6801
  "operationKey": "organization_github_install",
6820
- "params": [
6821
- {
6822
- "in": "query",
6823
- "name": "share"
6824
- }
6825
- ],
6826
6802
  "path": "/governance/api/v1/connectors/github/install",
6827
6803
  "readOnly": false
6828
6804
  },
@@ -7037,12 +7013,6 @@ export const bindings: BindingsMap = {
7037
7013
  "level": "read",
7038
7014
  "method": "GET",
7039
7015
  "operationKey": "organization_linkedin_member_install",
7040
- "params": [
7041
- {
7042
- "in": "query",
7043
- "name": "share"
7044
- }
7045
- ],
7046
7016
  "path": "/governance/api/v1/connectors/linkedin-member/install",
7047
7017
  "readOnly": false
7048
7018
  }
@@ -7679,12 +7649,6 @@ export const bindings: BindingsMap = {
7679
7649
  "level": "read",
7680
7650
  "method": "GET",
7681
7651
  "operationKey": "organization_reddit_install",
7682
- "params": [
7683
- {
7684
- "in": "query",
7685
- "name": "share"
7686
- }
7687
- ],
7688
7652
  "path": "/governance/api/v1/connectors/reddit/install",
7689
7653
  "readOnly": false
7690
7654
  }
@@ -7878,12 +7842,6 @@ export const bindings: BindingsMap = {
7878
7842
  "level": "read",
7879
7843
  "method": "GET",
7880
7844
  "operationKey": "organization_x_install",
7881
- "params": [
7882
- {
7883
- "in": "query",
7884
- "name": "share"
7885
- }
7886
- ],
7887
7845
  "path": "/governance/api/v1/connectors/x/install",
7888
7846
  "readOnly": false
7889
7847
  }
@@ -7893,14 +7851,215 @@ export const bindings: BindingsMap = {
7893
7851
  "level": "read",
7894
7852
  "method": "GET",
7895
7853
  "operationKey": "organization_youtube_install",
7854
+ "path": "/governance/api/v1/connectors/youtube/install",
7855
+ "readOnly": false
7856
+ }
7857
+ }
7858
+ },
7859
+ "playground": {
7860
+ "analytics": {
7861
+ "overview": {
7862
+ "level": "read",
7863
+ "method": "POST",
7864
+ "operationKey": "playground_analytics_overview",
7896
7865
  "params": [
7897
7866
  {
7898
- "in": "query",
7899
- "name": "share"
7867
+ "in": "body",
7868
+ "name": "limit"
7900
7869
  }
7901
7870
  ],
7902
- "path": "/governance/api/v1/connectors/youtube/install",
7871
+ "path": "/playground/analytics/overview",
7872
+ "readOnly": true
7873
+ }
7874
+ },
7875
+ "billing": {
7876
+ "entitlements": {
7877
+ "level": "read",
7878
+ "method": "POST",
7879
+ "operationKey": "playground_billing_entitlements",
7880
+ "path": "/playground/billing/entitlements",
7881
+ "readOnly": true
7882
+ },
7883
+ "record-usage": {
7884
+ "level": "write",
7885
+ "method": "POST",
7886
+ "operationKey": "playground_billing_record-usage",
7887
+ "params": [
7888
+ {
7889
+ "in": "body",
7890
+ "name": "value"
7891
+ }
7892
+ ],
7893
+ "path": "/playground/billing/usage",
7894
+ "readOnly": false
7895
+ }
7896
+ },
7897
+ "clickup": {
7898
+ "create-task": {
7899
+ "level": "write",
7900
+ "method": "POST",
7901
+ "operationKey": "playground_clickup_create-task",
7902
+ "params": [
7903
+ {
7904
+ "in": "body",
7905
+ "name": "listId"
7906
+ },
7907
+ {
7908
+ "in": "body",
7909
+ "name": "name"
7910
+ }
7911
+ ],
7912
+ "path": "/playground/clickup/tasks",
7903
7913
  "readOnly": false
7914
+ },
7915
+ "get-last-webhook": {
7916
+ "level": "read",
7917
+ "method": "GET",
7918
+ "operationKey": "playground_clickup_get-last-webhook",
7919
+ "path": "/playground/clickup/webhooks/last",
7920
+ "readOnly": true
7921
+ },
7922
+ "get-overview": {
7923
+ "level": "read",
7924
+ "method": "GET",
7925
+ "operationKey": "playground_clickup_get-overview",
7926
+ "path": "/playground/clickup/overview",
7927
+ "readOnly": true
7928
+ }
7929
+ },
7930
+ "echo": {
7931
+ "ping": {
7932
+ "level": "read",
7933
+ "method": "POST",
7934
+ "operationKey": "playground_echo_ping",
7935
+ "params": [
7936
+ {
7937
+ "in": "body",
7938
+ "name": "message"
7939
+ }
7940
+ ],
7941
+ "path": "/playground/echo/ping",
7942
+ "readOnly": true
7943
+ }
7944
+ },
7945
+ "gdrive": {
7946
+ "get-last-change": {
7947
+ "level": "read",
7948
+ "method": "GET",
7949
+ "operationKey": "playground_gdrive_get-last-change",
7950
+ "path": "/playground/gdrive/changes/last",
7951
+ "readOnly": true
7952
+ },
7953
+ "read-file": {
7954
+ "level": "read",
7955
+ "method": "POST",
7956
+ "operationKey": "playground_gdrive_read-file",
7957
+ "params": [
7958
+ {
7959
+ "in": "body",
7960
+ "name": "fileId"
7961
+ }
7962
+ ],
7963
+ "path": "/playground/gdrive/file",
7964
+ "readOnly": true
7965
+ }
7966
+ },
7967
+ "googleads": {
7968
+ "read-customer": {
7969
+ "level": "read",
7970
+ "method": "POST",
7971
+ "operationKey": "playground_googleads_read-customer",
7972
+ "path": "/playground/googleads/customer",
7973
+ "readOnly": true
7974
+ }
7975
+ },
7976
+ "lifecycle": {
7977
+ "get-state": {
7978
+ "level": "read",
7979
+ "method": "GET",
7980
+ "operationKey": "playground_lifecycle_get-state",
7981
+ "path": "/playground/lifecycle/state",
7982
+ "readOnly": true
7983
+ },
7984
+ "list-events": {
7985
+ "level": "read",
7986
+ "method": "GET",
7987
+ "operationKey": "playground_lifecycle_list-events",
7988
+ "path": "/playground/lifecycle/events",
7989
+ "readOnly": true
7990
+ }
7991
+ },
7992
+ "webhook": {
7993
+ "get-last": {
7994
+ "level": "read",
7995
+ "method": "GET",
7996
+ "operationKey": "playground_webhook_get-last",
7997
+ "path": "/playground/webhooks/last",
7998
+ "readOnly": true
7999
+ }
8000
+ },
8001
+ "workflow": {
8002
+ "echo": {
8003
+ "level": "write",
8004
+ "method": "POST",
8005
+ "operationKey": "playground_workflow_echo",
8006
+ "params": [
8007
+ {
8008
+ "in": "body",
8009
+ "name": "note"
8010
+ },
8011
+ {
8012
+ "in": "body",
8013
+ "name": "tags"
8014
+ }
8015
+ ],
8016
+ "path": "/playground/workflow/echo",
8017
+ "readOnly": false
8018
+ },
8019
+ "echo-list": {
8020
+ "level": "read",
8021
+ "method": "GET",
8022
+ "operationKey": "playground_workflow_echo-list",
8023
+ "path": "/playground/workflow/echoes",
8024
+ "readOnly": true
8025
+ },
8026
+ "ping": {
8027
+ "level": "write",
8028
+ "method": "POST",
8029
+ "operationKey": "playground_workflow_ping",
8030
+ "params": [
8031
+ {
8032
+ "in": "body",
8033
+ "name": "kind"
8034
+ }
8035
+ ],
8036
+ "path": "/playground/workflow/ping",
8037
+ "readOnly": false
8038
+ },
8039
+ "subjects-list": {
8040
+ "level": "read",
8041
+ "method": "GET",
8042
+ "operationKey": "playground_workflow_subjects-list",
8043
+ "params": [
8044
+ {
8045
+ "in": "query",
8046
+ "name": "last_activity_before"
8047
+ },
8048
+ {
8049
+ "in": "query",
8050
+ "name": "last_activity_after"
8051
+ },
8052
+ {
8053
+ "in": "query",
8054
+ "name": "limit"
8055
+ },
8056
+ {
8057
+ "in": "query",
8058
+ "name": "cursor"
8059
+ }
8060
+ ],
8061
+ "path": "/playground/workflow/subjects",
8062
+ "readOnly": true
7904
8063
  }
7905
8064
  }
7906
8065
  },
@@ -8557,6 +8716,19 @@ export const bindings: BindingsMap = {
8557
8716
  "path": "/support/attachments",
8558
8717
  "readOnly": false
8559
8718
  },
8719
+ "delete": {
8720
+ "level": "write",
8721
+ "method": "DELETE",
8722
+ "operationKey": "support_attachment_delete",
8723
+ "params": [
8724
+ {
8725
+ "in": "path",
8726
+ "name": "id"
8727
+ }
8728
+ ],
8729
+ "path": "/support/attachments/:id",
8730
+ "readOnly": false
8731
+ },
8560
8732
  "finalize": {
8561
8733
  "level": "write",
8562
8734
  "method": "POST",
@@ -8569,6 +8741,19 @@ export const bindings: BindingsMap = {
8569
8741
  ],
8570
8742
  "path": "/support/attachments/finalize",
8571
8743
  "readOnly": false
8744
+ },
8745
+ "purge": {
8746
+ "level": "write",
8747
+ "method": "POST",
8748
+ "operationKey": "support_attachment_purge",
8749
+ "params": [
8750
+ {
8751
+ "in": "body",
8752
+ "name": "threadId"
8753
+ }
8754
+ ],
8755
+ "path": "/support/attachments/purge",
8756
+ "readOnly": false
8572
8757
  }
8573
8758
  },
8574
8759
  "label": {
@@ -12202,4 +12387,12 @@ export const bindings: BindingsMap = {
12202
12387
  }
12203
12388
  };
12204
12389
 
12205
- export const wsBindings: WsBindingsMap = {};
12390
+ export const wsBindings: WsBindingsMap = {
12391
+ "playground": {
12392
+ "ws": {
12393
+ "echo": {
12394
+ "path": "/playground/ws/echo"
12395
+ }
12396
+ }
12397
+ }
12398
+ };
@@ -829,6 +829,40 @@ import type {
829
829
  OrganizationXInstallOutput,
830
830
  OrganizationYoutubeInstallInput,
831
831
  OrganizationYoutubeInstallOutput,
832
+ PlaygroundAnalyticsOverviewInput,
833
+ PlaygroundAnalyticsOverviewOutput,
834
+ PlaygroundBillingEntitlementsInput,
835
+ PlaygroundBillingEntitlementsOutput,
836
+ PlaygroundBillingRecordUsageInput,
837
+ PlaygroundBillingRecordUsageOutput,
838
+ PlaygroundClickupCreateTaskInput,
839
+ PlaygroundClickupCreateTaskOutput,
840
+ PlaygroundClickupGetLastWebhookInput,
841
+ PlaygroundClickupGetLastWebhookOutput,
842
+ PlaygroundClickupGetOverviewInput,
843
+ PlaygroundClickupGetOverviewOutput,
844
+ PlaygroundEchoPingInput,
845
+ PlaygroundEchoPingOutput,
846
+ PlaygroundGdriveGetLastChangeInput,
847
+ PlaygroundGdriveGetLastChangeOutput,
848
+ PlaygroundGdriveReadFileInput,
849
+ PlaygroundGdriveReadFileOutput,
850
+ PlaygroundGoogleadsReadCustomerInput,
851
+ PlaygroundGoogleadsReadCustomerOutput,
852
+ PlaygroundLifecycleGetStateInput,
853
+ PlaygroundLifecycleGetStateOutput,
854
+ PlaygroundLifecycleListEventsInput,
855
+ PlaygroundLifecycleListEventsOutput,
856
+ PlaygroundWebhookGetLastInput,
857
+ PlaygroundWebhookGetLastOutput,
858
+ PlaygroundWorkflowEchoInput,
859
+ PlaygroundWorkflowEchoListInput,
860
+ PlaygroundWorkflowEchoListOutput,
861
+ PlaygroundWorkflowEchoOutput,
862
+ PlaygroundWorkflowPingInput,
863
+ PlaygroundWorkflowPingOutput,
864
+ PlaygroundWorkflowSubjectsListInput,
865
+ PlaygroundWorkflowSubjectsListOutput,
832
866
  RealtimeArchiveExportInput,
833
867
  RealtimeArchiveExportOutput,
834
868
  RealtimeArchiveExportStatusInput,
@@ -895,8 +929,12 @@ import type {
895
929
  SupportAgentUpdateOutput,
896
930
  SupportAttachmentCreateInput,
897
931
  SupportAttachmentCreateOutput,
932
+ SupportAttachmentDeleteInput,
933
+ SupportAttachmentDeleteOutput,
898
934
  SupportAttachmentFinalizeInput,
899
935
  SupportAttachmentFinalizeOutput,
936
+ SupportAttachmentPurgeInput,
937
+ SupportAttachmentPurgeOutput,
900
938
  SupportLabelCreateInput,
901
939
  SupportLabelCreateOutput,
902
940
  SupportLabelGetInput,
@@ -2000,6 +2038,43 @@ export interface GeneratedClient {
2000
2038
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
2001
2039
  };
2002
2040
  };
2041
+ playground: {
2042
+ analytics: {
2043
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2044
+ };
2045
+ billing: {
2046
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2047
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2048
+ };
2049
+ clickup: {
2050
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2051
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2052
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2053
+ };
2054
+ echo: {
2055
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2056
+ };
2057
+ gdrive: {
2058
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2059
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2060
+ };
2061
+ googleads: {
2062
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2063
+ };
2064
+ lifecycle: {
2065
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2066
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2067
+ };
2068
+ webhook: {
2069
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2070
+ };
2071
+ workflow: {
2072
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2073
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2074
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2075
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2076
+ };
2077
+ };
2003
2078
  realtime: {
2004
2079
  archive: {
2005
2080
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
@@ -2065,7 +2140,9 @@ export interface GeneratedClient {
2065
2140
  };
2066
2141
  attachment: {
2067
2142
  create: ((input: SupportAttachmentCreateInput) => Promise<SupportAttachmentCreateOutput>) & Operation;
2143
+ delete: ((input: SupportAttachmentDeleteInput) => Promise<SupportAttachmentDeleteOutput>) & Operation;
2068
2144
  finalize: ((input: SupportAttachmentFinalizeInput) => Promise<SupportAttachmentFinalizeOutput>) & Operation;
2145
+ purge: ((input: SupportAttachmentPurgeInput) => Promise<SupportAttachmentPurgeOutput>) & Operation;
2069
2146
  };
2070
2147
  label: {
2071
2148
  create: ((input: SupportLabelCreateInput) => Promise<SupportLabelCreateOutput>) & Operation;
@@ -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',
@@ -418,6 +418,23 @@ export const operations: Record<string, ToolLevel> = {
418
418
  'organization_support_threads_list': 'read',
419
419
  'organization_x_install': 'read',
420
420
  'organization_youtube_install': 'read',
421
+ 'playground_analytics_overview': 'read',
422
+ 'playground_billing_entitlements': 'read',
423
+ 'playground_billing_record-usage': 'write',
424
+ 'playground_clickup_create-task': 'write',
425
+ 'playground_clickup_get-last-webhook': 'read',
426
+ 'playground_clickup_get-overview': 'read',
427
+ 'playground_echo_ping': 'read',
428
+ 'playground_gdrive_get-last-change': 'read',
429
+ 'playground_gdrive_read-file': 'read',
430
+ 'playground_googleads_read-customer': 'read',
431
+ 'playground_lifecycle_get-state': 'read',
432
+ 'playground_lifecycle_list-events': 'read',
433
+ 'playground_webhook_get-last': 'read',
434
+ 'playground_workflow_echo': 'write',
435
+ 'playground_workflow_echo-list': 'read',
436
+ 'playground_workflow_ping': 'write',
437
+ 'playground_workflow_subjects-list': 'read',
421
438
  'realtime_archive_export': 'admin',
422
439
  'realtime_archive_export_status': 'read',
423
440
  'realtime_archive_get': 'read',
@@ -451,7 +468,9 @@ export const operations: Record<string, ToolLevel> = {
451
468
  'support_agent_list': 'read',
452
469
  'support_agent_update': 'write',
453
470
  'support_attachment_create': 'write',
471
+ 'support_attachment_delete': 'write',
454
472
  'support_attachment_finalize': 'write',
473
+ 'support_attachment_purge': 'write',
455
474
  'support_label_create': 'write',
456
475
  'support_label_get': 'read',
457
476
  'support_label_list': 'read',
@@ -710,6 +729,9 @@ export const compositions: Record<string, ToolComposition> = {
710
729
  'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
711
730
  'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
712
731
  'mail_usage_get': {"label":"Get usage"},
732
+ 'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
733
+ 'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
734
+ 'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
713
735
  'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
714
736
  'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
715
737
  '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
+ });
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { SupportAgentCreateInput, SupportAgentCreateOutput, SupportAgentGetInput, SupportAgentGetOutput, SupportAgentListInput, SupportAgentListOutput, SupportAgentUpdateInput, SupportAgentUpdateOutput, SupportAttachmentCreateInput, SupportAttachmentCreateOutput, SupportAttachmentFinalizeInput, SupportAttachmentFinalizeOutput, SupportLabelCreateInput, SupportLabelCreateOutput, SupportLabelGetInput, SupportLabelGetOutput, SupportLabelListInput, SupportLabelListOutput, SupportMessageCreateInput, SupportMessageCreateOutput, SupportMessageDeleteAnyInput, SupportMessageDeleteAnyOutput, SupportMessageDeleteInput, SupportMessageDeleteOutput, SupportMessageGetInput, SupportMessageGetOutput, SupportMessageListInput, SupportMessageListOutput, SupportMessageRevisionsListInput, SupportMessageRevisionsListOutput, SupportMessageUpdateInput, SupportMessageUpdateOutput, SupportResponseEscalateInput, SupportResponseEscalateOutput, SupportResponseGetInput, SupportResponseGetOutput, SupportResponseListInput, SupportResponseListOutput, SupportRuleCreateInput, SupportRuleCreateOutput, SupportRuleDeleteInput, SupportRuleDeleteOutput, SupportRuleGetInput, SupportRuleGetOutput, SupportRuleListInput, SupportRuleListOutput, SupportRuleUpdateInput, SupportRuleUpdateOutput, SupportStatusArchiveInput, SupportStatusArchiveOutput, SupportStatusCreateInput, SupportStatusCreateOutput, SupportStatusGetInput, SupportStatusGetOutput, SupportStatusListInput, SupportStatusListOutput, SupportStatusUpdateInput, SupportStatusUpdateOutput, SupportSurveyArchiveInput, SupportSurveyArchiveOutput, SupportSurveyCreateInput, SupportSurveyCreateOutput, SupportSurveyGetInput, SupportSurveyGetOutput, SupportSurveyListInput, SupportSurveyListOutput, SupportSurveyPublishInput, SupportSurveyPublishOutput, SupportSurveyStatsInput, SupportSurveyStatsOutput, SupportSurveyUnpublishInput, SupportSurveyUnpublishOutput, SupportSurveyUpdateInput, SupportSurveyUpdateOutput, SupportThreadAssignInput, SupportThreadAssignOutput, SupportThreadCreateInput, SupportThreadCreateOutput, SupportThreadGetInput, SupportThreadGetOutput, SupportThreadListInput, SupportThreadListOutput, SupportThreadStatusSetInput, SupportThreadStatusSetOutput, SupportThreadUpdateInput, SupportThreadUpdateOutput, SupportWebhookCreateInput, SupportWebhookCreateOutput, SupportWebhookDeleteInput, SupportWebhookDeleteOutput, SupportWebhookDeliveriesListInput, SupportWebhookDeliveriesListOutput, SupportWebhookGetInput, SupportWebhookGetOutput, SupportWebhookListInput, SupportWebhookListOutput, SupportWebhookRedeliverInput, SupportWebhookRedeliverOutput, SupportWebhookRotateSecretInput, SupportWebhookRotateSecretOutput, SupportWebhookUpdateInput, SupportWebhookUpdateOutput } from '../types.gen';
3
+ export type { SupportAgentCreateInput, SupportAgentCreateOutput, SupportAgentGetInput, SupportAgentGetOutput, SupportAgentListInput, SupportAgentListOutput, SupportAgentUpdateInput, SupportAgentUpdateOutput, SupportAttachmentCreateInput, SupportAttachmentCreateOutput, SupportAttachmentDeleteInput, SupportAttachmentDeleteOutput, SupportAttachmentFinalizeInput, SupportAttachmentFinalizeOutput, SupportAttachmentPurgeInput, SupportAttachmentPurgeOutput, SupportLabelCreateInput, SupportLabelCreateOutput, SupportLabelGetInput, SupportLabelGetOutput, SupportLabelListInput, SupportLabelListOutput, SupportMessageCreateInput, SupportMessageCreateOutput, SupportMessageDeleteAnyInput, SupportMessageDeleteAnyOutput, SupportMessageDeleteInput, SupportMessageDeleteOutput, SupportMessageGetInput, SupportMessageGetOutput, SupportMessageListInput, SupportMessageListOutput, SupportMessageRevisionsListInput, SupportMessageRevisionsListOutput, SupportMessageUpdateInput, SupportMessageUpdateOutput, SupportResponseEscalateInput, SupportResponseEscalateOutput, SupportResponseGetInput, SupportResponseGetOutput, SupportResponseListInput, SupportResponseListOutput, SupportRuleCreateInput, SupportRuleCreateOutput, SupportRuleDeleteInput, SupportRuleDeleteOutput, SupportRuleGetInput, SupportRuleGetOutput, SupportRuleListInput, SupportRuleListOutput, SupportRuleUpdateInput, SupportRuleUpdateOutput, SupportStatusArchiveInput, SupportStatusArchiveOutput, SupportStatusCreateInput, SupportStatusCreateOutput, SupportStatusGetInput, SupportStatusGetOutput, SupportStatusListInput, SupportStatusListOutput, SupportStatusUpdateInput, SupportStatusUpdateOutput, SupportSurveyArchiveInput, SupportSurveyArchiveOutput, SupportSurveyCreateInput, SupportSurveyCreateOutput, SupportSurveyGetInput, SupportSurveyGetOutput, SupportSurveyListInput, SupportSurveyListOutput, SupportSurveyPublishInput, SupportSurveyPublishOutput, SupportSurveyStatsInput, SupportSurveyStatsOutput, SupportSurveyUnpublishInput, SupportSurveyUnpublishOutput, SupportSurveyUpdateInput, SupportSurveyUpdateOutput, SupportThreadAssignInput, SupportThreadAssignOutput, SupportThreadCreateInput, SupportThreadCreateOutput, SupportThreadGetInput, SupportThreadGetOutput, SupportThreadListInput, SupportThreadListOutput, SupportThreadStatusSetInput, SupportThreadStatusSetOutput, SupportThreadUpdateInput, SupportThreadUpdateOutput, SupportWebhookCreateInput, SupportWebhookCreateOutput, SupportWebhookDeleteInput, SupportWebhookDeleteOutput, SupportWebhookDeliveriesListInput, SupportWebhookDeliveriesListOutput, SupportWebhookGetInput, SupportWebhookGetOutput, SupportWebhookListInput, SupportWebhookListOutput, SupportWebhookRedeliverInput, SupportWebhookRedeliverOutput, SupportWebhookRotateSecretInput, SupportWebhookRotateSecretOutput, SupportWebhookUpdateInput, SupportWebhookUpdateOutput } from '../types.gen';