@lessly/sdk-app 103.0.0 → 103.0.1

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 -32
  2. package/dist/_types/gen/client.gen.d.ts +42 -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/tracking/index.d.ts +1 -1
  8. package/dist/_types/gen/tracking/queryOptions.gen.d.ts +9 -1
  9. package/dist/_types/gen/types.gen.d.ts +361 -9
  10. package/dist/chunk-3PMJZ47D.js +11984 -0
  11. package/dist/chunk-3PMJZ47D.js.map +1 -0
  12. package/dist/index.cjs +253 -45
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.js +25 -11787
  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/tracking/index.cjs +10 -0
  23. package/dist/tracking/index.cjs.map +1 -1
  24. package/dist/tracking/index.js +9 -1
  25. package/dist/tracking/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 +79 -0
  29. package/src/gen/manifest.gen.ts +24 -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/tracking/index.ts +1 -1
  34. package/src/gen/tracking/queryOptions.gen.ts +13 -0
  35. package/src/gen/types.gen.ts +412 -9
package/dist/index.cjs CHANGED
@@ -6507,12 +6507,6 @@ var bindings = {
6507
6507
  "level": "read",
6508
6508
  "method": "GET",
6509
6509
  "operationKey": "organization_clickup_install",
6510
- "params": [
6511
- {
6512
- "in": "query",
6513
- "name": "share"
6514
- }
6515
- ],
6516
6510
  "path": "/governance/api/v1/connectors/clickup/install",
6517
6511
  "readOnly": false
6518
6512
  },
@@ -6529,12 +6523,6 @@ var bindings = {
6529
6523
  "level": "read",
6530
6524
  "method": "GET",
6531
6525
  "operationKey": "organization_cloudflare_install",
6532
- "params": [
6533
- {
6534
- "in": "query",
6535
- "name": "share"
6536
- }
6537
- ],
6538
6526
  "path": "/governance/api/v1/connectors/cloudflare/install",
6539
6527
  "readOnly": false
6540
6528
  }
@@ -6855,12 +6843,6 @@ var bindings = {
6855
6843
  "level": "read",
6856
6844
  "method": "GET",
6857
6845
  "operationKey": "organization_gdrive_install",
6858
- "params": [
6859
- {
6860
- "in": "query",
6861
- "name": "share"
6862
- }
6863
- ],
6864
6846
  "path": "/governance/api/v1/connectors/gdrive/install",
6865
6847
  "readOnly": false
6866
6848
  }
@@ -6870,12 +6852,6 @@ var bindings = {
6870
6852
  "level": "read",
6871
6853
  "method": "GET",
6872
6854
  "operationKey": "organization_github_install",
6873
- "params": [
6874
- {
6875
- "in": "query",
6876
- "name": "share"
6877
- }
6878
- ],
6879
6855
  "path": "/governance/api/v1/connectors/github/install",
6880
6856
  "readOnly": false
6881
6857
  },
@@ -7090,12 +7066,6 @@ var bindings = {
7090
7066
  "level": "read",
7091
7067
  "method": "GET",
7092
7068
  "operationKey": "organization_linkedin_member_install",
7093
- "params": [
7094
- {
7095
- "in": "query",
7096
- "name": "share"
7097
- }
7098
- ],
7099
7069
  "path": "/governance/api/v1/connectors/linkedin-member/install",
7100
7070
  "readOnly": false
7101
7071
  }
@@ -7732,12 +7702,6 @@ var bindings = {
7732
7702
  "level": "read",
7733
7703
  "method": "GET",
7734
7704
  "operationKey": "organization_reddit_install",
7735
- "params": [
7736
- {
7737
- "in": "query",
7738
- "name": "share"
7739
- }
7740
- ],
7741
7705
  "path": "/governance/api/v1/connectors/reddit/install",
7742
7706
  "readOnly": false
7743
7707
  }
@@ -7931,12 +7895,6 @@ var bindings = {
7931
7895
  "level": "read",
7932
7896
  "method": "GET",
7933
7897
  "operationKey": "organization_x_install",
7934
- "params": [
7935
- {
7936
- "in": "query",
7937
- "name": "share"
7938
- }
7939
- ],
7940
7898
  "path": "/governance/api/v1/connectors/x/install",
7941
7899
  "readOnly": false
7942
7900
  }
@@ -7946,14 +7904,215 @@ var bindings = {
7946
7904
  "level": "read",
7947
7905
  "method": "GET",
7948
7906
  "operationKey": "organization_youtube_install",
7907
+ "path": "/governance/api/v1/connectors/youtube/install",
7908
+ "readOnly": false
7909
+ }
7910
+ }
7911
+ },
7912
+ "playground": {
7913
+ "analytics": {
7914
+ "overview": {
7915
+ "level": "read",
7916
+ "method": "POST",
7917
+ "operationKey": "playground_analytics_overview",
7949
7918
  "params": [
7950
7919
  {
7951
- "in": "query",
7952
- "name": "share"
7920
+ "in": "body",
7921
+ "name": "limit"
7953
7922
  }
7954
7923
  ],
7955
- "path": "/governance/api/v1/connectors/youtube/install",
7924
+ "path": "/playground/analytics/overview",
7925
+ "readOnly": true
7926
+ }
7927
+ },
7928
+ "billing": {
7929
+ "entitlements": {
7930
+ "level": "read",
7931
+ "method": "POST",
7932
+ "operationKey": "playground_billing_entitlements",
7933
+ "path": "/playground/billing/entitlements",
7934
+ "readOnly": true
7935
+ },
7936
+ "record-usage": {
7937
+ "level": "write",
7938
+ "method": "POST",
7939
+ "operationKey": "playground_billing_record-usage",
7940
+ "params": [
7941
+ {
7942
+ "in": "body",
7943
+ "name": "value"
7944
+ }
7945
+ ],
7946
+ "path": "/playground/billing/usage",
7947
+ "readOnly": false
7948
+ }
7949
+ },
7950
+ "clickup": {
7951
+ "create-task": {
7952
+ "level": "write",
7953
+ "method": "POST",
7954
+ "operationKey": "playground_clickup_create-task",
7955
+ "params": [
7956
+ {
7957
+ "in": "body",
7958
+ "name": "listId"
7959
+ },
7960
+ {
7961
+ "in": "body",
7962
+ "name": "name"
7963
+ }
7964
+ ],
7965
+ "path": "/playground/clickup/tasks",
7966
+ "readOnly": false
7967
+ },
7968
+ "get-last-webhook": {
7969
+ "level": "read",
7970
+ "method": "GET",
7971
+ "operationKey": "playground_clickup_get-last-webhook",
7972
+ "path": "/playground/clickup/webhooks/last",
7973
+ "readOnly": true
7974
+ },
7975
+ "get-overview": {
7976
+ "level": "read",
7977
+ "method": "GET",
7978
+ "operationKey": "playground_clickup_get-overview",
7979
+ "path": "/playground/clickup/overview",
7980
+ "readOnly": true
7981
+ }
7982
+ },
7983
+ "echo": {
7984
+ "ping": {
7985
+ "level": "read",
7986
+ "method": "POST",
7987
+ "operationKey": "playground_echo_ping",
7988
+ "params": [
7989
+ {
7990
+ "in": "body",
7991
+ "name": "message"
7992
+ }
7993
+ ],
7994
+ "path": "/playground/echo/ping",
7995
+ "readOnly": true
7996
+ }
7997
+ },
7998
+ "gdrive": {
7999
+ "get-last-change": {
8000
+ "level": "read",
8001
+ "method": "GET",
8002
+ "operationKey": "playground_gdrive_get-last-change",
8003
+ "path": "/playground/gdrive/changes/last",
8004
+ "readOnly": true
8005
+ },
8006
+ "read-file": {
8007
+ "level": "read",
8008
+ "method": "POST",
8009
+ "operationKey": "playground_gdrive_read-file",
8010
+ "params": [
8011
+ {
8012
+ "in": "body",
8013
+ "name": "fileId"
8014
+ }
8015
+ ],
8016
+ "path": "/playground/gdrive/file",
8017
+ "readOnly": true
8018
+ }
8019
+ },
8020
+ "googleads": {
8021
+ "read-customer": {
8022
+ "level": "read",
8023
+ "method": "POST",
8024
+ "operationKey": "playground_googleads_read-customer",
8025
+ "path": "/playground/googleads/customer",
8026
+ "readOnly": true
8027
+ }
8028
+ },
8029
+ "lifecycle": {
8030
+ "get-state": {
8031
+ "level": "read",
8032
+ "method": "GET",
8033
+ "operationKey": "playground_lifecycle_get-state",
8034
+ "path": "/playground/lifecycle/state",
8035
+ "readOnly": true
8036
+ },
8037
+ "list-events": {
8038
+ "level": "read",
8039
+ "method": "GET",
8040
+ "operationKey": "playground_lifecycle_list-events",
8041
+ "path": "/playground/lifecycle/events",
8042
+ "readOnly": true
8043
+ }
8044
+ },
8045
+ "webhook": {
8046
+ "get-last": {
8047
+ "level": "read",
8048
+ "method": "GET",
8049
+ "operationKey": "playground_webhook_get-last",
8050
+ "path": "/playground/webhooks/last",
8051
+ "readOnly": true
8052
+ }
8053
+ },
8054
+ "workflow": {
8055
+ "echo": {
8056
+ "level": "write",
8057
+ "method": "POST",
8058
+ "operationKey": "playground_workflow_echo",
8059
+ "params": [
8060
+ {
8061
+ "in": "body",
8062
+ "name": "note"
8063
+ },
8064
+ {
8065
+ "in": "body",
8066
+ "name": "tags"
8067
+ }
8068
+ ],
8069
+ "path": "/playground/workflow/echo",
7956
8070
  "readOnly": false
8071
+ },
8072
+ "echo-list": {
8073
+ "level": "read",
8074
+ "method": "GET",
8075
+ "operationKey": "playground_workflow_echo-list",
8076
+ "path": "/playground/workflow/echoes",
8077
+ "readOnly": true
8078
+ },
8079
+ "ping": {
8080
+ "level": "write",
8081
+ "method": "POST",
8082
+ "operationKey": "playground_workflow_ping",
8083
+ "params": [
8084
+ {
8085
+ "in": "body",
8086
+ "name": "kind"
8087
+ }
8088
+ ],
8089
+ "path": "/playground/workflow/ping",
8090
+ "readOnly": false
8091
+ },
8092
+ "subjects-list": {
8093
+ "level": "read",
8094
+ "method": "GET",
8095
+ "operationKey": "playground_workflow_subjects-list",
8096
+ "params": [
8097
+ {
8098
+ "in": "query",
8099
+ "name": "last_activity_before"
8100
+ },
8101
+ {
8102
+ "in": "query",
8103
+ "name": "last_activity_after"
8104
+ },
8105
+ {
8106
+ "in": "query",
8107
+ "name": "limit"
8108
+ },
8109
+ {
8110
+ "in": "query",
8111
+ "name": "cursor"
8112
+ }
8113
+ ],
8114
+ "path": "/playground/workflow/subjects",
8115
+ "readOnly": true
7957
8116
  }
7958
8117
  }
7959
8118
  },
@@ -10092,6 +10251,32 @@ var bindings = {
10092
10251
  "readOnly": true
10093
10252
  }
10094
10253
  },
10254
+ "recording-settings": {
10255
+ "get": {
10256
+ "level": "read",
10257
+ "method": "GET",
10258
+ "operationKey": "tracking_recording-settings_get",
10259
+ "path": "/tracking/recording-settings",
10260
+ "readOnly": true
10261
+ },
10262
+ "set": {
10263
+ "level": "write",
10264
+ "method": "PUT",
10265
+ "operationKey": "tracking_recording-settings_set",
10266
+ "params": [
10267
+ {
10268
+ "in": "body",
10269
+ "name": "enabled"
10270
+ },
10271
+ {
10272
+ "in": "body",
10273
+ "name": "sampleRate"
10274
+ }
10275
+ ],
10276
+ "path": "/tracking/recording-settings",
10277
+ "readOnly": false
10278
+ }
10279
+ },
10095
10280
  "reports-attributed": {
10096
10281
  "journey": {
10097
10282
  "level": "read",
@@ -12450,6 +12635,23 @@ var operations = {
12450
12635
  "organization_support_threads_list": "read",
12451
12636
  "organization_x_install": "read",
12452
12637
  "organization_youtube_install": "read",
12638
+ "playground_analytics_overview": "read",
12639
+ "playground_billing_entitlements": "read",
12640
+ "playground_billing_record-usage": "write",
12641
+ "playground_clickup_create-task": "write",
12642
+ "playground_clickup_get-last-webhook": "read",
12643
+ "playground_clickup_get-overview": "read",
12644
+ "playground_echo_ping": "read",
12645
+ "playground_gdrive_get-last-change": "read",
12646
+ "playground_gdrive_read-file": "read",
12647
+ "playground_googleads_read-customer": "read",
12648
+ "playground_lifecycle_get-state": "read",
12649
+ "playground_lifecycle_list-events": "read",
12650
+ "playground_webhook_get-last": "read",
12651
+ "playground_workflow_echo": "write",
12652
+ "playground_workflow_echo-list": "read",
12653
+ "playground_workflow_ping": "write",
12654
+ "playground_workflow_subjects-list": "read",
12453
12655
  "realtime_archive_export": "admin",
12454
12656
  "realtime_archive_export_status": "read",
12455
12657
  "realtime_archive_get": "read",
@@ -12562,6 +12764,8 @@ var operations = {
12562
12764
  "tracking_profiles_export": "read",
12563
12765
  "tracking_profiles_get": "read",
12564
12766
  "tracking_profiles_list": "read",
12767
+ "tracking_recording-settings_get": "read",
12768
+ "tracking_recording-settings_set": "write",
12565
12769
  "tracking_reports_attributed_journey": "read",
12566
12770
  "tracking_reports_event_volume": "read",
12567
12771
  "tracking_reports_revenue_by_source": "read",
@@ -12734,6 +12938,9 @@ var compositions = {
12734
12938
  "mail_template_unarchive": { "label": "Unarchive template", "options": { "id": "mail_template_list" } },
12735
12939
  "mail_template_update": { "label": "Update template", "options": { "id": "mail_template_list" } },
12736
12940
  "mail_usage_get": { "label": "Get usage" },
12941
+ "playground_workflow_echo": { "pii": ["input.note", "output.note"], "label": "Store workflow echo", "completion_event": "playground/workflow.echoed" },
12942
+ "playground_workflow_ping": { "label": "Fire workflow ping", "completion_event": "playground/workflow.ping" },
12943
+ "playground_workflow_subjects-list": { "pii": ["output.items[].display_name"], "label": "List workflow subjects" },
12737
12944
  "support_agent_create": { "pii": ["input.lesslyUserId", "output.lesslyUserId"], "label": "Create agent" },
12738
12945
  "support_agent_get": { "pii": ["output.lesslyUserId"], "label": "Get agent", "options": { "id": "support_agent_list" } },
12739
12946
  "support_agent_list": { "pii": ["output.agents[].lesslyUserId"], "label": "List agents" },
@@ -12795,6 +13002,7 @@ var compositions = {
12795
13002
  "tracking_profiles_export": { "pii": ["input.profileId", "output.profile.profileId", "output.signals.emails", "output.signals.phones", "output.signals.clickIds[].value", "output.journey[].url", "output.journey[].title", "output.journey[].referrer", "output.journey[].source.clickId"], "label": "Export person" },
12796
13003
  "tracking_profiles_get": { "pii": ["input.profileId", "output.profile.profileId", "output.signals.emails", "output.signals.phones", "output.signals.clickIds[].value", "output.journey.events[].url", "output.journey.events[].title", "output.journey.events[].referrer", "output.journey.events[].source.clickId"], "label": "Get person" },
12797
13004
  "tracking_profiles_list": { "pii": ["input.email", "output.profiles[].profileId", "output.profiles[].emails"], "label": "List people" },
13005
+ "tracking_recording-settings_get": { "label": "Get session recording settings" },
12798
13006
  "tracking_reports_attributed_journey": { "pii": ["input.profileId", "output.profileId", "output.journey.events[].url", "output.journey.events[].title", "output.journey.events[].referrer", "output.journey.events[].source.clickId"], "label": "Explain attributed journey" },
12799
13007
  "tracking_reports_event_volume": { "label": "Report event volume", "options": { "domain": "tracking_install-domains_list" } },
12800
13008
  "tracking_reports_revenue_by_source": { "label": "Report revenue by source", "options": { "domain": "tracking_install-domains_list" } },