@lessly/sdk-app 94.1.0 → 95.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 (35) hide show
  1. package/CHANGELOG.md +10 -5
  2. package/dist/_types/gen/client.gen.d.ts +42 -6
  3. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  4. package/dist/_types/gen/organization/index.d.ts +1 -1
  5. package/dist/_types/gen/organization/queryOptions.gen.d.ts +8 -12
  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 +9753 -1313
  10. package/dist/chunk-HIAGROHK.js +11695 -0
  11. package/dist/chunk-HIAGROHK.js.map +1 -0
  12. package/dist/index.cjs +263 -38
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.js +28 -11484
  15. package/dist/index.js.map +1 -1
  16. package/dist/organization/index.cjs +10 -15
  17. package/dist/organization/index.cjs.map +1 -1
  18. package/dist/organization/index.js +9 -13
  19. package/dist/organization/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 +246 -32
  28. package/src/gen/client.gen.ts +79 -11
  29. package/src/gen/manifest.gen.ts +27 -8
  30. package/src/gen/organization/index.ts +1 -1
  31. package/src/gen/organization/queryOptions.gen.ts +11 -17
  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 +9482 -1460
package/dist/index.cjs CHANGED
@@ -2034,6 +2034,10 @@ var bindings = {
2034
2034
  {
2035
2035
  "in": "body",
2036
2036
  "name": "media"
2037
+ },
2038
+ {
2039
+ "in": "body",
2040
+ "name": "targets"
2037
2041
  }
2038
2042
  ],
2039
2043
  "path": "/content/posts",
@@ -2102,6 +2106,10 @@ var bindings = {
2102
2106
  {
2103
2107
  "in": "body",
2104
2108
  "name": "media"
2109
+ },
2110
+ {
2111
+ "in": "body",
2112
+ "name": "targets"
2105
2113
  }
2106
2114
  ],
2107
2115
  "path": "/content/posts/:id",
@@ -2257,10 +2265,6 @@ var bindings = {
2257
2265
  "in": "body",
2258
2266
  "name": "channelId"
2259
2267
  },
2260
- {
2261
- "in": "body",
2262
- "name": "text"
2263
- },
2264
2268
  {
2265
2269
  "in": "body",
2266
2270
  "name": "idempotencyKey"
@@ -2316,10 +2320,6 @@ var bindings = {
2316
2320
  "in": "body",
2317
2321
  "name": "scheduledAt"
2318
2322
  },
2319
- {
2320
- "in": "body",
2321
- "name": "text"
2322
- },
2323
2323
  {
2324
2324
  "in": "body",
2325
2325
  "name": "idempotencyKey"
@@ -6175,48 +6175,47 @@ var bindings = {
6175
6175
  "readOnly": true
6176
6176
  }
6177
6177
  },
6178
- "billing-budget": {
6178
+ "billing-budgets": {
6179
+ "get": {
6180
+ "level": "read",
6181
+ "method": "GET",
6182
+ "operationKey": "organization_billing_budgets_get",
6183
+ "path": "/governance/api/v1/billing/budgets",
6184
+ "readOnly": true
6185
+ }
6186
+ },
6187
+ "billing-caps": {
6179
6188
  "clear": {
6180
6189
  "level": "write",
6181
6190
  "method": "DELETE",
6182
- "operationKey": "organization_billing_budget_clear",
6183
- "path": "/governance/api/v1/billing/budgets",
6184
- "readOnly": false
6185
- },
6186
- "resume": {
6187
- "level": "write",
6188
- "method": "POST",
6189
- "operationKey": "organization_billing_budget_resume",
6190
- "path": "/governance/api/v1/billing/budgets/resume",
6191
+ "operationKey": "organization_billing_caps_clear",
6192
+ "params": [
6193
+ {
6194
+ "in": "body",
6195
+ "name": "productId"
6196
+ }
6197
+ ],
6198
+ "path": "/governance/api/v1/billing/budgets/cap",
6191
6199
  "readOnly": false
6192
6200
  },
6193
6201
  "set": {
6194
6202
  "level": "write",
6195
6203
  "method": "PUT",
6196
- "operationKey": "organization_billing_budget_set",
6204
+ "operationKey": "organization_billing_caps_set",
6197
6205
  "params": [
6198
6206
  {
6199
6207
  "in": "body",
6200
- "name": "amount_minor"
6208
+ "name": "productId"
6201
6209
  },
6202
6210
  {
6203
6211
  "in": "body",
6204
- "name": "action"
6212
+ "name": "cap_minor"
6205
6213
  }
6206
6214
  ],
6207
- "path": "/governance/api/v1/billing/budgets",
6215
+ "path": "/governance/api/v1/billing/budgets/cap",
6208
6216
  "readOnly": false
6209
6217
  }
6210
6218
  },
6211
- "billing-budgets": {
6212
- "get": {
6213
- "level": "read",
6214
- "method": "GET",
6215
- "operationKey": "organization_billing_budgets_get",
6216
- "path": "/governance/api/v1/billing/budgets",
6217
- "readOnly": true
6218
- }
6219
- },
6220
6219
  "bindings": {
6221
6220
  "list": {
6222
6221
  "level": "read",
@@ -7643,6 +7642,213 @@ var bindings = {
7643
7642
  }
7644
7643
  }
7645
7644
  },
7645
+ "playground": {
7646
+ "analytics": {
7647
+ "overview": {
7648
+ "level": "read",
7649
+ "method": "POST",
7650
+ "operationKey": "playground_analytics_overview",
7651
+ "params": [
7652
+ {
7653
+ "in": "body",
7654
+ "name": "limit"
7655
+ }
7656
+ ],
7657
+ "path": "/playground/analytics/overview",
7658
+ "readOnly": true
7659
+ }
7660
+ },
7661
+ "billing": {
7662
+ "entitlements": {
7663
+ "level": "read",
7664
+ "method": "POST",
7665
+ "operationKey": "playground_billing_entitlements",
7666
+ "path": "/playground/billing/entitlements",
7667
+ "readOnly": true
7668
+ },
7669
+ "record-usage": {
7670
+ "level": "write",
7671
+ "method": "POST",
7672
+ "operationKey": "playground_billing_record-usage",
7673
+ "params": [
7674
+ {
7675
+ "in": "body",
7676
+ "name": "value"
7677
+ }
7678
+ ],
7679
+ "path": "/playground/billing/usage",
7680
+ "readOnly": false
7681
+ }
7682
+ },
7683
+ "clickup": {
7684
+ "create-task": {
7685
+ "level": "write",
7686
+ "method": "POST",
7687
+ "operationKey": "playground_clickup_create-task",
7688
+ "params": [
7689
+ {
7690
+ "in": "body",
7691
+ "name": "listId"
7692
+ },
7693
+ {
7694
+ "in": "body",
7695
+ "name": "name"
7696
+ }
7697
+ ],
7698
+ "path": "/playground/clickup/tasks",
7699
+ "readOnly": false
7700
+ },
7701
+ "get-last-webhook": {
7702
+ "level": "read",
7703
+ "method": "GET",
7704
+ "operationKey": "playground_clickup_get-last-webhook",
7705
+ "path": "/playground/clickup/webhooks/last",
7706
+ "readOnly": true
7707
+ },
7708
+ "get-overview": {
7709
+ "level": "read",
7710
+ "method": "GET",
7711
+ "operationKey": "playground_clickup_get-overview",
7712
+ "path": "/playground/clickup/overview",
7713
+ "readOnly": true
7714
+ }
7715
+ },
7716
+ "echo": {
7717
+ "ping": {
7718
+ "level": "read",
7719
+ "method": "POST",
7720
+ "operationKey": "playground_echo_ping",
7721
+ "params": [
7722
+ {
7723
+ "in": "body",
7724
+ "name": "message"
7725
+ }
7726
+ ],
7727
+ "path": "/playground/echo/ping",
7728
+ "readOnly": true
7729
+ }
7730
+ },
7731
+ "gdrive": {
7732
+ "get-last-change": {
7733
+ "level": "read",
7734
+ "method": "GET",
7735
+ "operationKey": "playground_gdrive_get-last-change",
7736
+ "path": "/playground/gdrive/changes/last",
7737
+ "readOnly": true
7738
+ },
7739
+ "read-file": {
7740
+ "level": "read",
7741
+ "method": "POST",
7742
+ "operationKey": "playground_gdrive_read-file",
7743
+ "params": [
7744
+ {
7745
+ "in": "body",
7746
+ "name": "fileId"
7747
+ }
7748
+ ],
7749
+ "path": "/playground/gdrive/file",
7750
+ "readOnly": true
7751
+ }
7752
+ },
7753
+ "googleads": {
7754
+ "read-customer": {
7755
+ "level": "read",
7756
+ "method": "POST",
7757
+ "operationKey": "playground_googleads_read-customer",
7758
+ "path": "/playground/googleads/customer",
7759
+ "readOnly": true
7760
+ }
7761
+ },
7762
+ "lifecycle": {
7763
+ "get-state": {
7764
+ "level": "read",
7765
+ "method": "GET",
7766
+ "operationKey": "playground_lifecycle_get-state",
7767
+ "path": "/playground/lifecycle/state",
7768
+ "readOnly": true
7769
+ },
7770
+ "list-events": {
7771
+ "level": "read",
7772
+ "method": "GET",
7773
+ "operationKey": "playground_lifecycle_list-events",
7774
+ "path": "/playground/lifecycle/events",
7775
+ "readOnly": true
7776
+ }
7777
+ },
7778
+ "webhook": {
7779
+ "get-last": {
7780
+ "level": "read",
7781
+ "method": "GET",
7782
+ "operationKey": "playground_webhook_get-last",
7783
+ "path": "/playground/webhooks/last",
7784
+ "readOnly": true
7785
+ }
7786
+ },
7787
+ "workflow": {
7788
+ "echo": {
7789
+ "level": "write",
7790
+ "method": "POST",
7791
+ "operationKey": "playground_workflow_echo",
7792
+ "params": [
7793
+ {
7794
+ "in": "body",
7795
+ "name": "note"
7796
+ },
7797
+ {
7798
+ "in": "body",
7799
+ "name": "tags"
7800
+ }
7801
+ ],
7802
+ "path": "/playground/workflow/echo",
7803
+ "readOnly": false
7804
+ },
7805
+ "echo-list": {
7806
+ "level": "read",
7807
+ "method": "GET",
7808
+ "operationKey": "playground_workflow_echo-list",
7809
+ "path": "/playground/workflow/echoes",
7810
+ "readOnly": true
7811
+ },
7812
+ "ping": {
7813
+ "level": "write",
7814
+ "method": "POST",
7815
+ "operationKey": "playground_workflow_ping",
7816
+ "params": [
7817
+ {
7818
+ "in": "body",
7819
+ "name": "kind"
7820
+ }
7821
+ ],
7822
+ "path": "/playground/workflow/ping",
7823
+ "readOnly": false
7824
+ },
7825
+ "subjects-list": {
7826
+ "level": "read",
7827
+ "method": "GET",
7828
+ "operationKey": "playground_workflow_subjects-list",
7829
+ "params": [
7830
+ {
7831
+ "in": "query",
7832
+ "name": "last_activity_before"
7833
+ },
7834
+ {
7835
+ "in": "query",
7836
+ "name": "last_activity_after"
7837
+ },
7838
+ {
7839
+ "in": "query",
7840
+ "name": "limit"
7841
+ },
7842
+ {
7843
+ "in": "query",
7844
+ "name": "cursor"
7845
+ }
7846
+ ],
7847
+ "path": "/playground/workflow/subjects",
7848
+ "readOnly": true
7849
+ }
7850
+ }
7851
+ },
7646
7852
  "realtime": {
7647
7853
  "archive": {
7648
7854
  "export": {
@@ -12026,10 +12232,9 @@ var operations = {
12026
12232
  "observe_webhooks_rotate_secret": "admin",
12027
12233
  "observe_webhooks_update": "write",
12028
12234
  "organization_auth_me": "read",
12029
- "organization_billing_budget_clear": "write",
12030
- "organization_billing_budget_resume": "write",
12031
- "organization_billing_budget_set": "write",
12032
12235
  "organization_billing_budgets_get": "read",
12236
+ "organization_billing_caps_clear": "write",
12237
+ "organization_billing_caps_set": "write",
12033
12238
  "organization_bindings_list": "read",
12034
12239
  "organization_clickup_install": "read",
12035
12240
  "organization_clickup_list-installations": "read",
@@ -12116,6 +12321,23 @@ var operations = {
12116
12321
  "organization_support_threads_list": "read",
12117
12322
  "organization_x_install": "read",
12118
12323
  "organization_youtube_install": "read",
12324
+ "playground_analytics_overview": "read",
12325
+ "playground_billing_entitlements": "read",
12326
+ "playground_billing_record-usage": "write",
12327
+ "playground_clickup_create-task": "write",
12328
+ "playground_clickup_get-last-webhook": "read",
12329
+ "playground_clickup_get-overview": "read",
12330
+ "playground_echo_ping": "read",
12331
+ "playground_gdrive_get-last-change": "read",
12332
+ "playground_gdrive_read-file": "read",
12333
+ "playground_googleads_read-customer": "read",
12334
+ "playground_lifecycle_get-state": "read",
12335
+ "playground_lifecycle_list-events": "read",
12336
+ "playground_webhook_get-last": "read",
12337
+ "playground_workflow_echo": "write",
12338
+ "playground_workflow_echo-list": "read",
12339
+ "playground_workflow_ping": "write",
12340
+ "playground_workflow_subjects-list": "read",
12119
12341
  "realtime_archive_export": "admin",
12120
12342
  "realtime_archive_export_status": "read",
12121
12343
  "realtime_archive_get": "read",
@@ -12345,10 +12567,10 @@ var compositions = {
12345
12567
  "brain_memory_update": { "pii": ["input.content"], "label": "Update memory", "options": { "memory_id": "brain_memory_list" } },
12346
12568
  "brain_usage_report": { "label": "Get usage report" },
12347
12569
  "content_metrics_post_series": { "label": "Read post metrics", "options": { "id": "content_publications_list" } },
12348
- "content_posts_create": { "pii": ["output.author", "output.text", "output.media"], "label": "Create draft post" },
12349
- "content_posts_get": { "pii": ["output.author", "output.text", "output.media"], "label": "Get post", "options": { "id": "content_posts_list" } },
12350
- "content_posts_list": { "pii": ["output.posts[].author", "output.posts[].text", "output.posts[].media"], "label": "List posts" },
12351
- "content_posts_submit": { "pii": ["output.author", "output.text", "output.media"], "label": "Submit post for approval", "options": { "id": "content_posts_list" } },
12570
+ "content_posts_create": { "pii": ["output.author", "output.text", "output.media", "output.targets"], "label": "Create draft post" },
12571
+ "content_posts_get": { "pii": ["output.author", "output.text", "output.media", "output.targets"], "label": "Get post", "options": { "id": "content_posts_list" } },
12572
+ "content_posts_list": { "pii": ["output.posts[].author", "output.posts[].text", "output.posts[].media", "output.posts[].targets"], "label": "List posts" },
12573
+ "content_posts_submit": { "pii": ["output.author", "output.text", "output.media", "output.targets"], "label": "Submit post for approval", "options": { "id": "content_posts_list" } },
12352
12574
  "content_publications_cancel": { "label": "Cancel publication", "options": { "id": "content_publications_list" } },
12353
12575
  "content_publications_publish": { "label": "Publish now", "options": { "postId": "content_posts_list", "channelId": "content_channels_list" }, "completion_event": "content/publication.settled" },
12354
12576
  "content_publications_schedule": { "label": "Schedule publication", "options": { "postId": "content_posts_list", "channelId": "content_channels_list" }, "completion_event": "content/publication.settled" },
@@ -12398,6 +12620,9 @@ var compositions = {
12398
12620
  "mail_template_unarchive": { "label": "Unarchive template", "options": { "id": "mail_template_list" } },
12399
12621
  "mail_template_update": { "label": "Update template", "options": { "id": "mail_template_list" } },
12400
12622
  "mail_usage_get": { "label": "Get usage" },
12623
+ "playground_workflow_echo": { "pii": ["input.note", "output.note"], "label": "Store workflow echo", "completion_event": "playground/workflow.echoed" },
12624
+ "playground_workflow_ping": { "label": "Fire workflow ping", "completion_event": "playground/workflow.ping" },
12625
+ "playground_workflow_subjects-list": { "pii": ["output.items[].display_name"], "label": "List workflow subjects" },
12401
12626
  "support_agent_create": { "pii": ["input.lesslyUserId", "output.lesslyUserId"], "label": "Create agent" },
12402
12627
  "support_agent_get": { "pii": ["output.lesslyUserId"], "label": "Get agent", "options": { "id": "support_agent_list" } },
12403
12628
  "support_agent_list": { "pii": ["output.agents[].lesslyUserId"], "label": "List agents" },