@lessly/sdk-app 93.0.0 → 94.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.
- package/CHANGELOG.md +48 -11
- package/dist/_types/gen/client.gen.d.ts +42 -6
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/organization/index.d.ts +1 -1
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +8 -12
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/types.gen.d.ts +9720 -1345
- package/dist/chunk-HIAGROHK.js +11695 -0
- package/dist/chunk-HIAGROHK.js.map +1 -0
- package/dist/index.cjs +263 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -11484
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +10 -15
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +9 -13
- package/dist/organization/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +246 -32
- package/src/gen/client.gen.ts +79 -11
- package/src/gen/manifest.gen.ts +27 -8
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +11 -17
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/types.gen.ts +9450 -1493
package/dist/index.cjs
CHANGED
|
@@ -2013,6 +2013,10 @@ var bindings = {
|
|
|
2013
2013
|
{
|
|
2014
2014
|
"in": "body",
|
|
2015
2015
|
"name": "media"
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"in": "body",
|
|
2019
|
+
"name": "targets"
|
|
2016
2020
|
}
|
|
2017
2021
|
],
|
|
2018
2022
|
"path": "/content/posts",
|
|
@@ -2081,6 +2085,10 @@ var bindings = {
|
|
|
2081
2085
|
{
|
|
2082
2086
|
"in": "body",
|
|
2083
2087
|
"name": "media"
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"in": "body",
|
|
2091
|
+
"name": "targets"
|
|
2084
2092
|
}
|
|
2085
2093
|
],
|
|
2086
2094
|
"path": "/content/posts/:id",
|
|
@@ -2236,10 +2244,6 @@ var bindings = {
|
|
|
2236
2244
|
"in": "body",
|
|
2237
2245
|
"name": "channelId"
|
|
2238
2246
|
},
|
|
2239
|
-
{
|
|
2240
|
-
"in": "body",
|
|
2241
|
-
"name": "text"
|
|
2242
|
-
},
|
|
2243
2247
|
{
|
|
2244
2248
|
"in": "body",
|
|
2245
2249
|
"name": "idempotencyKey"
|
|
@@ -2295,10 +2299,6 @@ var bindings = {
|
|
|
2295
2299
|
"in": "body",
|
|
2296
2300
|
"name": "scheduledAt"
|
|
2297
2301
|
},
|
|
2298
|
-
{
|
|
2299
|
-
"in": "body",
|
|
2300
|
-
"name": "text"
|
|
2301
|
-
},
|
|
2302
2302
|
{
|
|
2303
2303
|
"in": "body",
|
|
2304
2304
|
"name": "idempotencyKey"
|
|
@@ -6154,48 +6154,47 @@ var bindings = {
|
|
|
6154
6154
|
"readOnly": true
|
|
6155
6155
|
}
|
|
6156
6156
|
},
|
|
6157
|
-
"billing-
|
|
6157
|
+
"billing-budgets": {
|
|
6158
|
+
"get": {
|
|
6159
|
+
"level": "read",
|
|
6160
|
+
"method": "GET",
|
|
6161
|
+
"operationKey": "organization_billing_budgets_get",
|
|
6162
|
+
"path": "/governance/api/v1/billing/budgets",
|
|
6163
|
+
"readOnly": true
|
|
6164
|
+
}
|
|
6165
|
+
},
|
|
6166
|
+
"billing-caps": {
|
|
6158
6167
|
"clear": {
|
|
6159
6168
|
"level": "write",
|
|
6160
6169
|
"method": "DELETE",
|
|
6161
|
-
"operationKey": "
|
|
6162
|
-
"
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
"
|
|
6169
|
-
"path": "/governance/api/v1/billing/budgets/resume",
|
|
6170
|
+
"operationKey": "organization_billing_caps_clear",
|
|
6171
|
+
"params": [
|
|
6172
|
+
{
|
|
6173
|
+
"in": "body",
|
|
6174
|
+
"name": "productId"
|
|
6175
|
+
}
|
|
6176
|
+
],
|
|
6177
|
+
"path": "/governance/api/v1/billing/budgets/cap",
|
|
6170
6178
|
"readOnly": false
|
|
6171
6179
|
},
|
|
6172
6180
|
"set": {
|
|
6173
6181
|
"level": "write",
|
|
6174
6182
|
"method": "PUT",
|
|
6175
|
-
"operationKey": "
|
|
6183
|
+
"operationKey": "organization_billing_caps_set",
|
|
6176
6184
|
"params": [
|
|
6177
6185
|
{
|
|
6178
6186
|
"in": "body",
|
|
6179
|
-
"name": "
|
|
6187
|
+
"name": "productId"
|
|
6180
6188
|
},
|
|
6181
6189
|
{
|
|
6182
6190
|
"in": "body",
|
|
6183
|
-
"name": "
|
|
6191
|
+
"name": "cap_minor"
|
|
6184
6192
|
}
|
|
6185
6193
|
],
|
|
6186
|
-
"path": "/governance/api/v1/billing/budgets",
|
|
6194
|
+
"path": "/governance/api/v1/billing/budgets/cap",
|
|
6187
6195
|
"readOnly": false
|
|
6188
6196
|
}
|
|
6189
6197
|
},
|
|
6190
|
-
"billing-budgets": {
|
|
6191
|
-
"get": {
|
|
6192
|
-
"level": "read",
|
|
6193
|
-
"method": "GET",
|
|
6194
|
-
"operationKey": "organization_billing_budgets_get",
|
|
6195
|
-
"path": "/governance/api/v1/billing/budgets",
|
|
6196
|
-
"readOnly": true
|
|
6197
|
-
}
|
|
6198
|
-
},
|
|
6199
6198
|
"bindings": {
|
|
6200
6199
|
"list": {
|
|
6201
6200
|
"level": "read",
|
|
@@ -7622,6 +7621,213 @@ var bindings = {
|
|
|
7622
7621
|
}
|
|
7623
7622
|
}
|
|
7624
7623
|
},
|
|
7624
|
+
"playground": {
|
|
7625
|
+
"analytics": {
|
|
7626
|
+
"overview": {
|
|
7627
|
+
"level": "read",
|
|
7628
|
+
"method": "POST",
|
|
7629
|
+
"operationKey": "playground_analytics_overview",
|
|
7630
|
+
"params": [
|
|
7631
|
+
{
|
|
7632
|
+
"in": "body",
|
|
7633
|
+
"name": "limit"
|
|
7634
|
+
}
|
|
7635
|
+
],
|
|
7636
|
+
"path": "/playground/analytics/overview",
|
|
7637
|
+
"readOnly": true
|
|
7638
|
+
}
|
|
7639
|
+
},
|
|
7640
|
+
"billing": {
|
|
7641
|
+
"entitlements": {
|
|
7642
|
+
"level": "read",
|
|
7643
|
+
"method": "POST",
|
|
7644
|
+
"operationKey": "playground_billing_entitlements",
|
|
7645
|
+
"path": "/playground/billing/entitlements",
|
|
7646
|
+
"readOnly": true
|
|
7647
|
+
},
|
|
7648
|
+
"record-usage": {
|
|
7649
|
+
"level": "write",
|
|
7650
|
+
"method": "POST",
|
|
7651
|
+
"operationKey": "playground_billing_record-usage",
|
|
7652
|
+
"params": [
|
|
7653
|
+
{
|
|
7654
|
+
"in": "body",
|
|
7655
|
+
"name": "value"
|
|
7656
|
+
}
|
|
7657
|
+
],
|
|
7658
|
+
"path": "/playground/billing/usage",
|
|
7659
|
+
"readOnly": false
|
|
7660
|
+
}
|
|
7661
|
+
},
|
|
7662
|
+
"clickup": {
|
|
7663
|
+
"create-task": {
|
|
7664
|
+
"level": "write",
|
|
7665
|
+
"method": "POST",
|
|
7666
|
+
"operationKey": "playground_clickup_create-task",
|
|
7667
|
+
"params": [
|
|
7668
|
+
{
|
|
7669
|
+
"in": "body",
|
|
7670
|
+
"name": "listId"
|
|
7671
|
+
},
|
|
7672
|
+
{
|
|
7673
|
+
"in": "body",
|
|
7674
|
+
"name": "name"
|
|
7675
|
+
}
|
|
7676
|
+
],
|
|
7677
|
+
"path": "/playground/clickup/tasks",
|
|
7678
|
+
"readOnly": false
|
|
7679
|
+
},
|
|
7680
|
+
"get-last-webhook": {
|
|
7681
|
+
"level": "read",
|
|
7682
|
+
"method": "GET",
|
|
7683
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7684
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7685
|
+
"readOnly": true
|
|
7686
|
+
},
|
|
7687
|
+
"get-overview": {
|
|
7688
|
+
"level": "read",
|
|
7689
|
+
"method": "GET",
|
|
7690
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7691
|
+
"path": "/playground/clickup/overview",
|
|
7692
|
+
"readOnly": true
|
|
7693
|
+
}
|
|
7694
|
+
},
|
|
7695
|
+
"echo": {
|
|
7696
|
+
"ping": {
|
|
7697
|
+
"level": "read",
|
|
7698
|
+
"method": "POST",
|
|
7699
|
+
"operationKey": "playground_echo_ping",
|
|
7700
|
+
"params": [
|
|
7701
|
+
{
|
|
7702
|
+
"in": "body",
|
|
7703
|
+
"name": "message"
|
|
7704
|
+
}
|
|
7705
|
+
],
|
|
7706
|
+
"path": "/playground/echo/ping",
|
|
7707
|
+
"readOnly": true
|
|
7708
|
+
}
|
|
7709
|
+
},
|
|
7710
|
+
"gdrive": {
|
|
7711
|
+
"get-last-change": {
|
|
7712
|
+
"level": "read",
|
|
7713
|
+
"method": "GET",
|
|
7714
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7715
|
+
"path": "/playground/gdrive/changes/last",
|
|
7716
|
+
"readOnly": true
|
|
7717
|
+
},
|
|
7718
|
+
"read-file": {
|
|
7719
|
+
"level": "read",
|
|
7720
|
+
"method": "POST",
|
|
7721
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7722
|
+
"params": [
|
|
7723
|
+
{
|
|
7724
|
+
"in": "body",
|
|
7725
|
+
"name": "fileId"
|
|
7726
|
+
}
|
|
7727
|
+
],
|
|
7728
|
+
"path": "/playground/gdrive/file",
|
|
7729
|
+
"readOnly": true
|
|
7730
|
+
}
|
|
7731
|
+
},
|
|
7732
|
+
"googleads": {
|
|
7733
|
+
"read-customer": {
|
|
7734
|
+
"level": "read",
|
|
7735
|
+
"method": "POST",
|
|
7736
|
+
"operationKey": "playground_googleads_read-customer",
|
|
7737
|
+
"path": "/playground/googleads/customer",
|
|
7738
|
+
"readOnly": true
|
|
7739
|
+
}
|
|
7740
|
+
},
|
|
7741
|
+
"lifecycle": {
|
|
7742
|
+
"get-state": {
|
|
7743
|
+
"level": "read",
|
|
7744
|
+
"method": "GET",
|
|
7745
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7746
|
+
"path": "/playground/lifecycle/state",
|
|
7747
|
+
"readOnly": true
|
|
7748
|
+
},
|
|
7749
|
+
"list-events": {
|
|
7750
|
+
"level": "read",
|
|
7751
|
+
"method": "GET",
|
|
7752
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7753
|
+
"path": "/playground/lifecycle/events",
|
|
7754
|
+
"readOnly": true
|
|
7755
|
+
}
|
|
7756
|
+
},
|
|
7757
|
+
"webhook": {
|
|
7758
|
+
"get-last": {
|
|
7759
|
+
"level": "read",
|
|
7760
|
+
"method": "GET",
|
|
7761
|
+
"operationKey": "playground_webhook_get-last",
|
|
7762
|
+
"path": "/playground/webhooks/last",
|
|
7763
|
+
"readOnly": true
|
|
7764
|
+
}
|
|
7765
|
+
},
|
|
7766
|
+
"workflow": {
|
|
7767
|
+
"echo": {
|
|
7768
|
+
"level": "write",
|
|
7769
|
+
"method": "POST",
|
|
7770
|
+
"operationKey": "playground_workflow_echo",
|
|
7771
|
+
"params": [
|
|
7772
|
+
{
|
|
7773
|
+
"in": "body",
|
|
7774
|
+
"name": "note"
|
|
7775
|
+
},
|
|
7776
|
+
{
|
|
7777
|
+
"in": "body",
|
|
7778
|
+
"name": "tags"
|
|
7779
|
+
}
|
|
7780
|
+
],
|
|
7781
|
+
"path": "/playground/workflow/echo",
|
|
7782
|
+
"readOnly": false
|
|
7783
|
+
},
|
|
7784
|
+
"echo-list": {
|
|
7785
|
+
"level": "read",
|
|
7786
|
+
"method": "GET",
|
|
7787
|
+
"operationKey": "playground_workflow_echo-list",
|
|
7788
|
+
"path": "/playground/workflow/echoes",
|
|
7789
|
+
"readOnly": true
|
|
7790
|
+
},
|
|
7791
|
+
"ping": {
|
|
7792
|
+
"level": "write",
|
|
7793
|
+
"method": "POST",
|
|
7794
|
+
"operationKey": "playground_workflow_ping",
|
|
7795
|
+
"params": [
|
|
7796
|
+
{
|
|
7797
|
+
"in": "body",
|
|
7798
|
+
"name": "kind"
|
|
7799
|
+
}
|
|
7800
|
+
],
|
|
7801
|
+
"path": "/playground/workflow/ping",
|
|
7802
|
+
"readOnly": false
|
|
7803
|
+
},
|
|
7804
|
+
"subjects-list": {
|
|
7805
|
+
"level": "read",
|
|
7806
|
+
"method": "GET",
|
|
7807
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
7808
|
+
"params": [
|
|
7809
|
+
{
|
|
7810
|
+
"in": "query",
|
|
7811
|
+
"name": "last_activity_before"
|
|
7812
|
+
},
|
|
7813
|
+
{
|
|
7814
|
+
"in": "query",
|
|
7815
|
+
"name": "last_activity_after"
|
|
7816
|
+
},
|
|
7817
|
+
{
|
|
7818
|
+
"in": "query",
|
|
7819
|
+
"name": "limit"
|
|
7820
|
+
},
|
|
7821
|
+
{
|
|
7822
|
+
"in": "query",
|
|
7823
|
+
"name": "cursor"
|
|
7824
|
+
}
|
|
7825
|
+
],
|
|
7826
|
+
"path": "/playground/workflow/subjects",
|
|
7827
|
+
"readOnly": true
|
|
7828
|
+
}
|
|
7829
|
+
}
|
|
7830
|
+
},
|
|
7625
7831
|
"realtime": {
|
|
7626
7832
|
"archive": {
|
|
7627
7833
|
"export": {
|
|
@@ -12005,10 +12211,9 @@ var operations = {
|
|
|
12005
12211
|
"observe_webhooks_rotate_secret": "admin",
|
|
12006
12212
|
"observe_webhooks_update": "write",
|
|
12007
12213
|
"organization_auth_me": "read",
|
|
12008
|
-
"organization_billing_budget_clear": "write",
|
|
12009
|
-
"organization_billing_budget_resume": "write",
|
|
12010
|
-
"organization_billing_budget_set": "write",
|
|
12011
12214
|
"organization_billing_budgets_get": "read",
|
|
12215
|
+
"organization_billing_caps_clear": "write",
|
|
12216
|
+
"organization_billing_caps_set": "write",
|
|
12012
12217
|
"organization_bindings_list": "read",
|
|
12013
12218
|
"organization_clickup_install": "read",
|
|
12014
12219
|
"organization_clickup_list-installations": "read",
|
|
@@ -12095,6 +12300,23 @@ var operations = {
|
|
|
12095
12300
|
"organization_support_threads_list": "read",
|
|
12096
12301
|
"organization_x_install": "read",
|
|
12097
12302
|
"organization_youtube_install": "read",
|
|
12303
|
+
"playground_analytics_overview": "read",
|
|
12304
|
+
"playground_billing_entitlements": "read",
|
|
12305
|
+
"playground_billing_record-usage": "write",
|
|
12306
|
+
"playground_clickup_create-task": "write",
|
|
12307
|
+
"playground_clickup_get-last-webhook": "read",
|
|
12308
|
+
"playground_clickup_get-overview": "read",
|
|
12309
|
+
"playground_echo_ping": "read",
|
|
12310
|
+
"playground_gdrive_get-last-change": "read",
|
|
12311
|
+
"playground_gdrive_read-file": "read",
|
|
12312
|
+
"playground_googleads_read-customer": "read",
|
|
12313
|
+
"playground_lifecycle_get-state": "read",
|
|
12314
|
+
"playground_lifecycle_list-events": "read",
|
|
12315
|
+
"playground_webhook_get-last": "read",
|
|
12316
|
+
"playground_workflow_echo": "write",
|
|
12317
|
+
"playground_workflow_echo-list": "read",
|
|
12318
|
+
"playground_workflow_ping": "write",
|
|
12319
|
+
"playground_workflow_subjects-list": "read",
|
|
12098
12320
|
"realtime_archive_export": "admin",
|
|
12099
12321
|
"realtime_archive_export_status": "read",
|
|
12100
12322
|
"realtime_archive_get": "read",
|
|
@@ -12324,10 +12546,10 @@ var compositions = {
|
|
|
12324
12546
|
"brain_memory_update": { "pii": ["input.content"], "label": "Update memory", "options": { "memory_id": "brain_memory_list" } },
|
|
12325
12547
|
"brain_usage_report": { "label": "Get usage report" },
|
|
12326
12548
|
"content_metrics_post_series": { "label": "Read post metrics", "options": { "id": "content_publications_list" } },
|
|
12327
|
-
"content_posts_create": { "pii": ["output.author", "output.text", "output.media"], "label": "Create draft post" },
|
|
12328
|
-
"content_posts_get": { "pii": ["output.author", "output.text", "output.media"], "label": "Get post", "options": { "id": "content_posts_list" } },
|
|
12329
|
-
"content_posts_list": { "pii": ["output.posts[].author", "output.posts[].text", "output.posts[].media"], "label": "List posts" },
|
|
12330
|
-
"content_posts_submit": { "pii": ["output.author", "output.text", "output.media"], "label": "Submit post for approval", "options": { "id": "content_posts_list" } },
|
|
12549
|
+
"content_posts_create": { "pii": ["output.author", "output.text", "output.media", "output.targets"], "label": "Create draft post" },
|
|
12550
|
+
"content_posts_get": { "pii": ["output.author", "output.text", "output.media", "output.targets"], "label": "Get post", "options": { "id": "content_posts_list" } },
|
|
12551
|
+
"content_posts_list": { "pii": ["output.posts[].author", "output.posts[].text", "output.posts[].media", "output.posts[].targets"], "label": "List posts" },
|
|
12552
|
+
"content_posts_submit": { "pii": ["output.author", "output.text", "output.media", "output.targets"], "label": "Submit post for approval", "options": { "id": "content_posts_list" } },
|
|
12331
12553
|
"content_publications_cancel": { "label": "Cancel publication", "options": { "id": "content_publications_list" } },
|
|
12332
12554
|
"content_publications_publish": { "label": "Publish now", "options": { "postId": "content_posts_list", "channelId": "content_channels_list" }, "completion_event": "content/publication.settled" },
|
|
12333
12555
|
"content_publications_schedule": { "label": "Schedule publication", "options": { "postId": "content_posts_list", "channelId": "content_channels_list" }, "completion_event": "content/publication.settled" },
|
|
@@ -12377,6 +12599,9 @@ var compositions = {
|
|
|
12377
12599
|
"mail_template_unarchive": { "label": "Unarchive template", "options": { "id": "mail_template_list" } },
|
|
12378
12600
|
"mail_template_update": { "label": "Update template", "options": { "id": "mail_template_list" } },
|
|
12379
12601
|
"mail_usage_get": { "label": "Get usage" },
|
|
12602
|
+
"playground_workflow_echo": { "pii": ["input.note", "output.note"], "label": "Store workflow echo", "completion_event": "playground/workflow.echoed" },
|
|
12603
|
+
"playground_workflow_ping": { "label": "Fire workflow ping", "completion_event": "playground/workflow.ping" },
|
|
12604
|
+
"playground_workflow_subjects-list": { "pii": ["output.items[].display_name"], "label": "List workflow subjects" },
|
|
12380
12605
|
"support_agent_create": { "pii": ["input.lesslyUserId", "output.lesslyUserId"], "label": "Create agent" },
|
|
12381
12606
|
"support_agent_get": { "pii": ["output.lesslyUserId"], "label": "Get agent", "options": { "id": "support_agent_list" } },
|
|
12382
12607
|
"support_agent_list": { "pii": ["output.agents[].lesslyUserId"], "label": "List agents" },
|