@lessly/sdk-app 61.0.2 → 61.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.
- package/dist/_types/gen/client.gen.d.ts +29 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- 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 +50 -0
- package/dist/_types/gen/types.gen.d.ts +192 -0
- package/dist/_types/index.d.ts +2 -1
- package/dist/_types/react/index.d.ts +33 -0
- package/dist/_types/runtime/access.d.ts +40 -0
- package/dist/_types/runtime/createLesslyApp.d.ts +4 -0
- package/dist/_types/runtime/errors.d.ts +11 -0
- package/dist/_types/runtime/permission-match.d.ts +62 -0
- package/dist/chunk-T4K7L6V5.js +10218 -0
- package/dist/chunk-T4K7L6V5.js.map +1 -0
- package/dist/index.cjs +857 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +699 -10073
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +81 -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 +58 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/react/index.cjs +29 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +1 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +26 -0
- package/dist/react/index.js.map +1 -0
- package/docs/README.md +1 -0
- package/docs/recipes/access.md +177 -0
- package/docs/rules.md +33 -0
- package/package.json +35 -2
- package/src/gen/bindings.gen.ts +163 -27
- package/src/gen/client.gen.ts +52 -0
- package/src/gen/manifest.gen.ts +39 -27
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +227 -0
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -474,7 +474,7 @@ export const bindings: BindingsMap = {
|
|
|
474
474
|
"readOnly": false
|
|
475
475
|
},
|
|
476
476
|
"restore": {
|
|
477
|
-
"level": "
|
|
477
|
+
"level": "admin",
|
|
478
478
|
"method": "POST",
|
|
479
479
|
"operationKey": "brain_backup_restore",
|
|
480
480
|
"params": [
|
|
@@ -1071,7 +1071,7 @@ export const bindings: BindingsMap = {
|
|
|
1071
1071
|
"readOnly": false
|
|
1072
1072
|
},
|
|
1073
1073
|
"delete": {
|
|
1074
|
-
"level": "
|
|
1074
|
+
"level": "write",
|
|
1075
1075
|
"method": "DELETE",
|
|
1076
1076
|
"operationKey": "brain_memory_delete",
|
|
1077
1077
|
"params": [
|
|
@@ -1175,7 +1175,7 @@ export const bindings: BindingsMap = {
|
|
|
1175
1175
|
},
|
|
1176
1176
|
"product-shared-memory": {
|
|
1177
1177
|
"reset": {
|
|
1178
|
-
"level": "
|
|
1178
|
+
"level": "admin",
|
|
1179
1179
|
"method": "POST",
|
|
1180
1180
|
"operationKey": "brain_product_shared_memory_reset",
|
|
1181
1181
|
"params": [
|
|
@@ -1230,7 +1230,7 @@ export const bindings: BindingsMap = {
|
|
|
1230
1230
|
"consent": {
|
|
1231
1231
|
"config-cookie-domain": {
|
|
1232
1232
|
"upsert": {
|
|
1233
|
-
"level": "
|
|
1233
|
+
"level": "admin",
|
|
1234
1234
|
"method": "PATCH",
|
|
1235
1235
|
"operationKey": "consent_config_cookie_domain_upsert",
|
|
1236
1236
|
"params": [
|
|
@@ -1481,7 +1481,7 @@ export const bindings: BindingsMap = {
|
|
|
1481
1481
|
},
|
|
1482
1482
|
"records": {
|
|
1483
1483
|
"export": {
|
|
1484
|
-
"level": "
|
|
1484
|
+
"level": "admin",
|
|
1485
1485
|
"method": "POST",
|
|
1486
1486
|
"operationKey": "consent_records_export",
|
|
1487
1487
|
"params": [
|
|
@@ -4087,7 +4087,7 @@ export const bindings: BindingsMap = {
|
|
|
4087
4087
|
"mail": {
|
|
4088
4088
|
"apikey": {
|
|
4089
4089
|
"create": {
|
|
4090
|
-
"level": "
|
|
4090
|
+
"level": "admin",
|
|
4091
4091
|
"method": "POST",
|
|
4092
4092
|
"operationKey": "mail_apikey_create",
|
|
4093
4093
|
"params": [
|
|
@@ -4504,7 +4504,7 @@ export const bindings: BindingsMap = {
|
|
|
4504
4504
|
},
|
|
4505
4505
|
"domain": {
|
|
4506
4506
|
"create": {
|
|
4507
|
-
"level": "
|
|
4507
|
+
"level": "admin",
|
|
4508
4508
|
"method": "POST",
|
|
4509
4509
|
"operationKey": "mail_domain_create",
|
|
4510
4510
|
"params": [
|
|
@@ -4554,7 +4554,7 @@ export const bindings: BindingsMap = {
|
|
|
4554
4554
|
"readOnly": true
|
|
4555
4555
|
},
|
|
4556
4556
|
"update": {
|
|
4557
|
-
"level": "
|
|
4557
|
+
"level": "admin",
|
|
4558
4558
|
"method": "PATCH",
|
|
4559
4559
|
"operationKey": "mail_domain_update",
|
|
4560
4560
|
"params": [
|
|
@@ -4924,7 +4924,7 @@ export const bindings: BindingsMap = {
|
|
|
4924
4924
|
},
|
|
4925
4925
|
"webhook": {
|
|
4926
4926
|
"create": {
|
|
4927
|
-
"level": "
|
|
4927
|
+
"level": "admin",
|
|
4928
4928
|
"method": "POST",
|
|
4929
4929
|
"operationKey": "mail_webhook_create",
|
|
4930
4930
|
"params": [
|
|
@@ -4978,7 +4978,7 @@ export const bindings: BindingsMap = {
|
|
|
4978
4978
|
"readOnly": true
|
|
4979
4979
|
},
|
|
4980
4980
|
"update": {
|
|
4981
|
-
"level": "
|
|
4981
|
+
"level": "admin",
|
|
4982
4982
|
"method": "PATCH",
|
|
4983
4983
|
"operationKey": "mail_webhook_update",
|
|
4984
4984
|
"params": [
|
|
@@ -5191,7 +5191,7 @@ export const bindings: BindingsMap = {
|
|
|
5191
5191
|
},
|
|
5192
5192
|
"issues": {
|
|
5193
5193
|
"archive": {
|
|
5194
|
-
"level": "
|
|
5194
|
+
"level": "write",
|
|
5195
5195
|
"method": "POST",
|
|
5196
5196
|
"operationKey": "observe_issues_archive",
|
|
5197
5197
|
"params": [
|
|
@@ -5720,7 +5720,7 @@ export const bindings: BindingsMap = {
|
|
|
5720
5720
|
},
|
|
5721
5721
|
"webhooks-rotate": {
|
|
5722
5722
|
"secret": {
|
|
5723
|
-
"level": "
|
|
5723
|
+
"level": "admin",
|
|
5724
5724
|
"method": "POST",
|
|
5725
5725
|
"operationKey": "observe_webhooks_rotate_secret",
|
|
5726
5726
|
"params": [
|
|
@@ -6897,10 +6897,138 @@ export const bindings: BindingsMap = {
|
|
|
6897
6897
|
}
|
|
6898
6898
|
}
|
|
6899
6899
|
},
|
|
6900
|
+
"playground": {
|
|
6901
|
+
"analytics": {
|
|
6902
|
+
"overview": {
|
|
6903
|
+
"level": "read",
|
|
6904
|
+
"method": "POST",
|
|
6905
|
+
"operationKey": "playground_analytics_overview",
|
|
6906
|
+
"params": [
|
|
6907
|
+
{
|
|
6908
|
+
"in": "body",
|
|
6909
|
+
"name": "limit"
|
|
6910
|
+
}
|
|
6911
|
+
],
|
|
6912
|
+
"path": "/playground/analytics/overview",
|
|
6913
|
+
"readOnly": true
|
|
6914
|
+
}
|
|
6915
|
+
},
|
|
6916
|
+
"billing": {
|
|
6917
|
+
"entitlements": {
|
|
6918
|
+
"level": "read",
|
|
6919
|
+
"method": "POST",
|
|
6920
|
+
"operationKey": "playground_billing_entitlements",
|
|
6921
|
+
"path": "/playground/billing/entitlements",
|
|
6922
|
+
"readOnly": true
|
|
6923
|
+
},
|
|
6924
|
+
"record-usage": {
|
|
6925
|
+
"level": "write",
|
|
6926
|
+
"method": "POST",
|
|
6927
|
+
"operationKey": "playground_billing_record-usage",
|
|
6928
|
+
"params": [
|
|
6929
|
+
{
|
|
6930
|
+
"in": "body",
|
|
6931
|
+
"name": "value"
|
|
6932
|
+
}
|
|
6933
|
+
],
|
|
6934
|
+
"path": "/playground/billing/usage",
|
|
6935
|
+
"readOnly": false
|
|
6936
|
+
}
|
|
6937
|
+
},
|
|
6938
|
+
"clickup": {
|
|
6939
|
+
"create-task": {
|
|
6940
|
+
"level": "write",
|
|
6941
|
+
"method": "POST",
|
|
6942
|
+
"operationKey": "playground_clickup_create-task",
|
|
6943
|
+
"params": [
|
|
6944
|
+
{
|
|
6945
|
+
"in": "body",
|
|
6946
|
+
"name": "listId"
|
|
6947
|
+
},
|
|
6948
|
+
{
|
|
6949
|
+
"in": "body",
|
|
6950
|
+
"name": "name"
|
|
6951
|
+
}
|
|
6952
|
+
],
|
|
6953
|
+
"path": "/playground/clickup/tasks",
|
|
6954
|
+
"readOnly": false
|
|
6955
|
+
},
|
|
6956
|
+
"get-last-webhook": {
|
|
6957
|
+
"level": "read",
|
|
6958
|
+
"method": "GET",
|
|
6959
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
6960
|
+
"path": "/playground/clickup/webhooks/last",
|
|
6961
|
+
"readOnly": true
|
|
6962
|
+
},
|
|
6963
|
+
"get-overview": {
|
|
6964
|
+
"level": "read",
|
|
6965
|
+
"method": "GET",
|
|
6966
|
+
"operationKey": "playground_clickup_get-overview",
|
|
6967
|
+
"path": "/playground/clickup/overview",
|
|
6968
|
+
"readOnly": true
|
|
6969
|
+
}
|
|
6970
|
+
},
|
|
6971
|
+
"gdrive": {
|
|
6972
|
+
"get-last-change": {
|
|
6973
|
+
"level": "read",
|
|
6974
|
+
"method": "GET",
|
|
6975
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
6976
|
+
"path": "/playground/gdrive/changes/last",
|
|
6977
|
+
"readOnly": true
|
|
6978
|
+
},
|
|
6979
|
+
"read-file": {
|
|
6980
|
+
"level": "read",
|
|
6981
|
+
"method": "POST",
|
|
6982
|
+
"operationKey": "playground_gdrive_read-file",
|
|
6983
|
+
"params": [
|
|
6984
|
+
{
|
|
6985
|
+
"in": "body",
|
|
6986
|
+
"name": "fileId"
|
|
6987
|
+
}
|
|
6988
|
+
],
|
|
6989
|
+
"path": "/playground/gdrive/file",
|
|
6990
|
+
"readOnly": true
|
|
6991
|
+
}
|
|
6992
|
+
},
|
|
6993
|
+
"googleads": {
|
|
6994
|
+
"read-customer": {
|
|
6995
|
+
"level": "read",
|
|
6996
|
+
"method": "POST",
|
|
6997
|
+
"operationKey": "playground_googleads_read-customer",
|
|
6998
|
+
"path": "/playground/googleads/customer",
|
|
6999
|
+
"readOnly": true
|
|
7000
|
+
}
|
|
7001
|
+
},
|
|
7002
|
+
"lifecycle": {
|
|
7003
|
+
"get-state": {
|
|
7004
|
+
"level": "read",
|
|
7005
|
+
"method": "GET",
|
|
7006
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7007
|
+
"path": "/playground/lifecycle/state",
|
|
7008
|
+
"readOnly": true
|
|
7009
|
+
},
|
|
7010
|
+
"list-events": {
|
|
7011
|
+
"level": "read",
|
|
7012
|
+
"method": "GET",
|
|
7013
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7014
|
+
"path": "/playground/lifecycle/events",
|
|
7015
|
+
"readOnly": true
|
|
7016
|
+
}
|
|
7017
|
+
},
|
|
7018
|
+
"webhook": {
|
|
7019
|
+
"get-last": {
|
|
7020
|
+
"level": "read",
|
|
7021
|
+
"method": "GET",
|
|
7022
|
+
"operationKey": "playground_webhook_get-last",
|
|
7023
|
+
"path": "/playground/webhooks/last",
|
|
7024
|
+
"readOnly": true
|
|
7025
|
+
}
|
|
7026
|
+
}
|
|
7027
|
+
},
|
|
6900
7028
|
"realtime": {
|
|
6901
7029
|
"archive": {
|
|
6902
7030
|
"export": {
|
|
6903
|
-
"level": "
|
|
7031
|
+
"level": "admin",
|
|
6904
7032
|
"method": "POST",
|
|
6905
7033
|
"operationKey": "realtime_archive_export",
|
|
6906
7034
|
"params": [
|
|
@@ -6959,7 +7087,7 @@ export const bindings: BindingsMap = {
|
|
|
6959
7087
|
},
|
|
6960
7088
|
"grant": {
|
|
6961
7089
|
"create": {
|
|
6962
|
-
"level": "
|
|
7090
|
+
"level": "admin",
|
|
6963
7091
|
"method": "POST",
|
|
6964
7092
|
"operationKey": "realtime_grant_create",
|
|
6965
7093
|
"params": [
|
|
@@ -7423,7 +7551,7 @@ export const bindings: BindingsMap = {
|
|
|
7423
7551
|
},
|
|
7424
7552
|
"webhook-secret": {
|
|
7425
7553
|
"rotate": {
|
|
7426
|
-
"level": "
|
|
7554
|
+
"level": "admin",
|
|
7427
7555
|
"method": "POST",
|
|
7428
7556
|
"operationKey": "realtime_webhook_secret_rotate",
|
|
7429
7557
|
"params": [
|
|
@@ -8022,7 +8150,7 @@ export const bindings: BindingsMap = {
|
|
|
8022
8150
|
"readOnly": true
|
|
8023
8151
|
},
|
|
8024
8152
|
"publish": {
|
|
8025
|
-
"level": "
|
|
8153
|
+
"level": "admin",
|
|
8026
8154
|
"method": "POST",
|
|
8027
8155
|
"operationKey": "support_survey_publish",
|
|
8028
8156
|
"params": [
|
|
@@ -8056,7 +8184,7 @@ export const bindings: BindingsMap = {
|
|
|
8056
8184
|
"readOnly": true
|
|
8057
8185
|
},
|
|
8058
8186
|
"unpublish": {
|
|
8059
|
-
"level": "
|
|
8187
|
+
"level": "admin",
|
|
8060
8188
|
"method": "POST",
|
|
8061
8189
|
"operationKey": "support_survey_unpublish",
|
|
8062
8190
|
"params": [
|
|
@@ -8270,7 +8398,7 @@ export const bindings: BindingsMap = {
|
|
|
8270
8398
|
},
|
|
8271
8399
|
"webhook": {
|
|
8272
8400
|
"create": {
|
|
8273
|
-
"level": "
|
|
8401
|
+
"level": "admin",
|
|
8274
8402
|
"method": "POST",
|
|
8275
8403
|
"operationKey": "support_webhook_create",
|
|
8276
8404
|
"params": [
|
|
@@ -8304,7 +8432,7 @@ export const bindings: BindingsMap = {
|
|
|
8304
8432
|
"readOnly": false
|
|
8305
8433
|
},
|
|
8306
8434
|
"get": {
|
|
8307
|
-
"level": "
|
|
8435
|
+
"level": "admin",
|
|
8308
8436
|
"method": "GET",
|
|
8309
8437
|
"operationKey": "support_webhook_get",
|
|
8310
8438
|
"params": [
|
|
@@ -8317,14 +8445,14 @@ export const bindings: BindingsMap = {
|
|
|
8317
8445
|
"readOnly": true
|
|
8318
8446
|
},
|
|
8319
8447
|
"list": {
|
|
8320
|
-
"level": "
|
|
8448
|
+
"level": "admin",
|
|
8321
8449
|
"method": "GET",
|
|
8322
8450
|
"operationKey": "support_webhook_list",
|
|
8323
8451
|
"path": "/support/webhooks",
|
|
8324
8452
|
"readOnly": true
|
|
8325
8453
|
},
|
|
8326
8454
|
"redeliver": {
|
|
8327
|
-
"level": "
|
|
8455
|
+
"level": "admin",
|
|
8328
8456
|
"method": "POST",
|
|
8329
8457
|
"operationKey": "support_webhook_redeliver",
|
|
8330
8458
|
"params": [
|
|
@@ -8337,7 +8465,7 @@ export const bindings: BindingsMap = {
|
|
|
8337
8465
|
"readOnly": false
|
|
8338
8466
|
},
|
|
8339
8467
|
"update": {
|
|
8340
|
-
"level": "
|
|
8468
|
+
"level": "admin",
|
|
8341
8469
|
"method": "PATCH",
|
|
8342
8470
|
"operationKey": "support_webhook_update",
|
|
8343
8471
|
"params": [
|
|
@@ -8368,7 +8496,7 @@ export const bindings: BindingsMap = {
|
|
|
8368
8496
|
},
|
|
8369
8497
|
"webhook-deliveries": {
|
|
8370
8498
|
"list": {
|
|
8371
|
-
"level": "
|
|
8499
|
+
"level": "admin",
|
|
8372
8500
|
"method": "GET",
|
|
8373
8501
|
"operationKey": "support_webhook_deliveries_list",
|
|
8374
8502
|
"params": [
|
|
@@ -8407,7 +8535,7 @@ export const bindings: BindingsMap = {
|
|
|
8407
8535
|
},
|
|
8408
8536
|
"webhook-rotate": {
|
|
8409
8537
|
"secret": {
|
|
8410
|
-
"level": "
|
|
8538
|
+
"level": "admin",
|
|
8411
8539
|
"method": "POST",
|
|
8412
8540
|
"operationKey": "support_webhook_rotate_secret",
|
|
8413
8541
|
"params": [
|
|
@@ -8493,7 +8621,7 @@ export const bindings: BindingsMap = {
|
|
|
8493
8621
|
},
|
|
8494
8622
|
"event-names": {
|
|
8495
8623
|
"archive": {
|
|
8496
|
-
"level": "
|
|
8624
|
+
"level": "write",
|
|
8497
8625
|
"method": "POST",
|
|
8498
8626
|
"operationKey": "tracking_event-names_archive",
|
|
8499
8627
|
"params": [
|
|
@@ -8531,7 +8659,7 @@ export const bindings: BindingsMap = {
|
|
|
8531
8659
|
"readOnly": true
|
|
8532
8660
|
},
|
|
8533
8661
|
"unarchive": {
|
|
8534
|
-
"level": "
|
|
8662
|
+
"level": "write",
|
|
8535
8663
|
"method": "POST",
|
|
8536
8664
|
"operationKey": "tracking_event-names_unarchive",
|
|
8537
8665
|
"params": [
|
|
@@ -10078,4 +10206,12 @@ export const bindings: BindingsMap = {
|
|
|
10078
10206
|
}
|
|
10079
10207
|
};
|
|
10080
10208
|
|
|
10081
|
-
export const wsBindings: WsBindingsMap = {
|
|
10209
|
+
export const wsBindings: WsBindingsMap = {
|
|
10210
|
+
"playground": {
|
|
10211
|
+
"ws": {
|
|
10212
|
+
"echo": {
|
|
10213
|
+
"path": "/playground/ws/echo"
|
|
10214
|
+
}
|
|
10215
|
+
}
|
|
10216
|
+
}
|
|
10217
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -743,6 +743,30 @@ import type {
|
|
|
743
743
|
OrganizationSupportThreadReplyOutput,
|
|
744
744
|
OrganizationSupportThreadsListInput,
|
|
745
745
|
OrganizationSupportThreadsListOutput,
|
|
746
|
+
PlaygroundAnalyticsOverviewInput,
|
|
747
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
748
|
+
PlaygroundBillingEntitlementsInput,
|
|
749
|
+
PlaygroundBillingEntitlementsOutput,
|
|
750
|
+
PlaygroundBillingRecordUsageInput,
|
|
751
|
+
PlaygroundBillingRecordUsageOutput,
|
|
752
|
+
PlaygroundClickupCreateTaskInput,
|
|
753
|
+
PlaygroundClickupCreateTaskOutput,
|
|
754
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
755
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
756
|
+
PlaygroundClickupGetOverviewInput,
|
|
757
|
+
PlaygroundClickupGetOverviewOutput,
|
|
758
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
759
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
760
|
+
PlaygroundGdriveReadFileInput,
|
|
761
|
+
PlaygroundGdriveReadFileOutput,
|
|
762
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
763
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
764
|
+
PlaygroundLifecycleGetStateInput,
|
|
765
|
+
PlaygroundLifecycleGetStateOutput,
|
|
766
|
+
PlaygroundLifecycleListEventsInput,
|
|
767
|
+
PlaygroundLifecycleListEventsOutput,
|
|
768
|
+
PlaygroundWebhookGetLastInput,
|
|
769
|
+
PlaygroundWebhookGetLastOutput,
|
|
746
770
|
RealtimeArchiveExportInput,
|
|
747
771
|
RealtimeArchiveExportOutput,
|
|
748
772
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1729,6 +1753,34 @@ export interface GeneratedClient {
|
|
|
1729
1753
|
list: ((input: OrganizationSupportThreadsListInput) => Promise<OrganizationSupportThreadsListOutput>) & Operation;
|
|
1730
1754
|
};
|
|
1731
1755
|
};
|
|
1756
|
+
playground: {
|
|
1757
|
+
analytics: {
|
|
1758
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
1759
|
+
};
|
|
1760
|
+
billing: {
|
|
1761
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
1762
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
1763
|
+
};
|
|
1764
|
+
clickup: {
|
|
1765
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
1766
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
1767
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
1768
|
+
};
|
|
1769
|
+
gdrive: {
|
|
1770
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
1771
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
1772
|
+
};
|
|
1773
|
+
googleads: {
|
|
1774
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
1775
|
+
};
|
|
1776
|
+
lifecycle: {
|
|
1777
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
1778
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
1779
|
+
};
|
|
1780
|
+
webhook: {
|
|
1781
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
1782
|
+
};
|
|
1783
|
+
};
|
|
1732
1784
|
realtime: {
|
|
1733
1785
|
archive: {
|
|
1734
1786
|
export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { ToolLevel } from '../runtime/types';
|
|
3
3
|
|
|
4
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
4
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist'] as const;
|
|
5
5
|
|
|
6
6
|
export const operations: Record<string, ToolLevel> = {
|
|
7
7
|
'analytics_catalog_get': 'read',
|
|
@@ -23,7 +23,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
23
23
|
'analytics_query_run': 'read',
|
|
24
24
|
'analytics_retention_run': 'read',
|
|
25
25
|
'brain_backup_create': 'write',
|
|
26
|
-
'brain_backup_restore': '
|
|
26
|
+
'brain_backup_restore': 'admin',
|
|
27
27
|
'brain_backup_status': 'read',
|
|
28
28
|
'brain_backups_list': 'read',
|
|
29
29
|
'brain_clickup_channels_list': 'read',
|
|
@@ -54,16 +54,16 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
54
54
|
'brain_knowledge_relations': 'read',
|
|
55
55
|
'brain_knowledge_search': 'read',
|
|
56
56
|
'brain_memory_add': 'write',
|
|
57
|
-
'brain_memory_delete': '
|
|
57
|
+
'brain_memory_delete': 'write',
|
|
58
58
|
'brain_memory_get': 'read',
|
|
59
59
|
'brain_memory_list': 'read',
|
|
60
60
|
'brain_memory_search': 'read',
|
|
61
61
|
'brain_memory_stats': 'read',
|
|
62
62
|
'brain_memory_update': 'write',
|
|
63
|
-
'brain_product_shared_memory_reset': '
|
|
63
|
+
'brain_product_shared_memory_reset': 'admin',
|
|
64
64
|
'brain_restore_status': 'read',
|
|
65
65
|
'brain_usage_report': 'read',
|
|
66
|
-
'consent_config_cookie_domain_upsert': '
|
|
66
|
+
'consent_config_cookie_domain_upsert': 'admin',
|
|
67
67
|
'consent_config_customization_upsert': 'write',
|
|
68
68
|
'consent_config_floating_icon_upsert': 'write',
|
|
69
69
|
'consent_config_theme_upsert': 'write',
|
|
@@ -76,7 +76,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
76
76
|
'consent_providers_delete': 'admin',
|
|
77
77
|
'consent_providers_list': 'read',
|
|
78
78
|
'consent_providers_update': 'write',
|
|
79
|
-
'consent_records_export': '
|
|
79
|
+
'consent_records_export': 'admin',
|
|
80
80
|
'consent_stats_get': 'read',
|
|
81
81
|
'content_channels_bind': 'write',
|
|
82
82
|
'content_channels_get': 'read',
|
|
@@ -218,7 +218,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
218
218
|
'deployment_volume_get': 'read',
|
|
219
219
|
'deployment_volume_list': 'read',
|
|
220
220
|
'deployment_volume_resize': 'write',
|
|
221
|
-
'mail_apikey_create': '
|
|
221
|
+
'mail_apikey_create': 'admin',
|
|
222
222
|
'mail_apikey_delete': 'admin',
|
|
223
223
|
'mail_apikey_list': 'read',
|
|
224
224
|
'mail_audience_create': 'write',
|
|
@@ -240,11 +240,11 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
240
240
|
'mail_contact_list': 'read',
|
|
241
241
|
'mail_contact_update': 'write',
|
|
242
242
|
'mail_domain_allowed_list': 'read',
|
|
243
|
-
'mail_domain_create': '
|
|
243
|
+
'mail_domain_create': 'admin',
|
|
244
244
|
'mail_domain_delete': 'admin',
|
|
245
245
|
'mail_domain_get': 'read',
|
|
246
246
|
'mail_domain_list': 'read',
|
|
247
|
-
'mail_domain_update': '
|
|
247
|
+
'mail_domain_update': 'admin',
|
|
248
248
|
'mail_domain_verify': 'write',
|
|
249
249
|
'mail_email_cancel': 'write',
|
|
250
250
|
'mail_email_get': 'read',
|
|
@@ -263,12 +263,12 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
263
263
|
'mail_template_publish': 'write',
|
|
264
264
|
'mail_template_update': 'write',
|
|
265
265
|
'mail_usage_get': 'read',
|
|
266
|
-
'mail_webhook_create': '
|
|
266
|
+
'mail_webhook_create': 'admin',
|
|
267
267
|
'mail_webhook_delete': 'admin',
|
|
268
268
|
'mail_webhook_deliveries_list': 'read',
|
|
269
269
|
'mail_webhook_get': 'read',
|
|
270
270
|
'mail_webhook_list': 'read',
|
|
271
|
-
'mail_webhook_update': '
|
|
271
|
+
'mail_webhook_update': 'admin',
|
|
272
272
|
'observe_alerts_create': 'write',
|
|
273
273
|
'observe_alerts_delete': 'admin',
|
|
274
274
|
'observe_alerts_events_list': 'read',
|
|
@@ -278,7 +278,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
278
278
|
'observe_artifacts_delete': 'admin',
|
|
279
279
|
'observe_artifacts_list': 'read',
|
|
280
280
|
'observe_artifacts_resolve': 'read',
|
|
281
|
-
'observe_issues_archive': '
|
|
281
|
+
'observe_issues_archive': 'write',
|
|
282
282
|
'observe_issues_assign': 'write',
|
|
283
283
|
'observe_issues_event': 'read',
|
|
284
284
|
'observe_issues_events': 'read',
|
|
@@ -302,7 +302,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
302
302
|
'observe_webhooks_get': 'read',
|
|
303
303
|
'observe_webhooks_list': 'read',
|
|
304
304
|
'observe_webhooks_redeliver': 'write',
|
|
305
|
-
'observe_webhooks_rotate_secret': '
|
|
305
|
+
'observe_webhooks_rotate_secret': 'admin',
|
|
306
306
|
'observe_webhooks_update': 'write',
|
|
307
307
|
'organization_auth_me': 'read',
|
|
308
308
|
'organization_billing_budgets_get': 'read',
|
|
@@ -375,10 +375,22 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
375
375
|
'organization_support_thread_get': 'read',
|
|
376
376
|
'organization_support_thread_reply': 'write',
|
|
377
377
|
'organization_support_threads_list': 'read',
|
|
378
|
-
'
|
|
378
|
+
'playground_analytics_overview': 'read',
|
|
379
|
+
'playground_billing_entitlements': 'read',
|
|
380
|
+
'playground_billing_record-usage': 'write',
|
|
381
|
+
'playground_clickup_create-task': 'write',
|
|
382
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
383
|
+
'playground_clickup_get-overview': 'read',
|
|
384
|
+
'playground_gdrive_get-last-change': 'read',
|
|
385
|
+
'playground_gdrive_read-file': 'read',
|
|
386
|
+
'playground_googleads_read-customer': 'read',
|
|
387
|
+
'playground_lifecycle_get-state': 'read',
|
|
388
|
+
'playground_lifecycle_list-events': 'read',
|
|
389
|
+
'playground_webhook_get-last': 'read',
|
|
390
|
+
'realtime_archive_export': 'admin',
|
|
379
391
|
'realtime_archive_export_status': 'read',
|
|
380
392
|
'realtime_archive_get': 'read',
|
|
381
|
-
'realtime_grant_create': '
|
|
393
|
+
'realtime_grant_create': 'admin',
|
|
382
394
|
'realtime_grant_list': 'read',
|
|
383
395
|
'realtime_grant_revoke': 'admin',
|
|
384
396
|
'realtime_history_get': 'read',
|
|
@@ -401,7 +413,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
401
413
|
'realtime_webhook_deliveries_list': 'read',
|
|
402
414
|
'realtime_webhook_get': 'read',
|
|
403
415
|
'realtime_webhook_list': 'read',
|
|
404
|
-
'realtime_webhook_secret_rotate': '
|
|
416
|
+
'realtime_webhook_secret_rotate': 'admin',
|
|
405
417
|
'realtime_webhook_update': 'write',
|
|
406
418
|
'support_agent_create': 'write',
|
|
407
419
|
'support_agent_get': 'read',
|
|
@@ -429,9 +441,9 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
429
441
|
'support_survey_create': 'write',
|
|
430
442
|
'support_survey_get': 'read',
|
|
431
443
|
'support_survey_list': 'read',
|
|
432
|
-
'support_survey_publish': '
|
|
444
|
+
'support_survey_publish': 'admin',
|
|
433
445
|
'support_survey_stats': 'read',
|
|
434
|
-
'support_survey_unpublish': '
|
|
446
|
+
'support_survey_unpublish': 'admin',
|
|
435
447
|
'support_survey_update': 'write',
|
|
436
448
|
'support_thread_assign': 'write',
|
|
437
449
|
'support_thread_create': 'write',
|
|
@@ -439,22 +451,22 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
439
451
|
'support_thread_list': 'read',
|
|
440
452
|
'support_thread_status_set': 'write',
|
|
441
453
|
'support_thread_update': 'write',
|
|
442
|
-
'support_webhook_create': '
|
|
454
|
+
'support_webhook_create': 'admin',
|
|
443
455
|
'support_webhook_delete': 'admin',
|
|
444
|
-
'support_webhook_deliveries_list': '
|
|
445
|
-
'support_webhook_get': '
|
|
446
|
-
'support_webhook_list': '
|
|
447
|
-
'support_webhook_redeliver': '
|
|
448
|
-
'support_webhook_rotate_secret': '
|
|
449
|
-
'support_webhook_update': '
|
|
456
|
+
'support_webhook_deliveries_list': 'admin',
|
|
457
|
+
'support_webhook_get': 'admin',
|
|
458
|
+
'support_webhook_list': 'admin',
|
|
459
|
+
'support_webhook_redeliver': 'admin',
|
|
460
|
+
'support_webhook_rotate_secret': 'admin',
|
|
461
|
+
'support_webhook_update': 'admin',
|
|
450
462
|
'tracking_domains_create': 'write',
|
|
451
463
|
'tracking_domains_delete': 'admin',
|
|
452
464
|
'tracking_domains_get': 'read',
|
|
453
465
|
'tracking_domains_list': 'read',
|
|
454
466
|
'tracking_domains_verify': 'write',
|
|
455
|
-
'tracking_event-names_archive': '
|
|
467
|
+
'tracking_event-names_archive': 'write',
|
|
456
468
|
'tracking_event-names_list': 'read',
|
|
457
|
-
'tracking_event-names_unarchive': '
|
|
469
|
+
'tracking_event-names_unarchive': 'write',
|
|
458
470
|
'tracking_googleads_connection_status': 'read',
|
|
459
471
|
'tracking_googleads_conversion_actions': 'read',
|
|
460
472
|
'tracking_googleads_feedback_config_get': 'read',
|
|
@@ -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, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWsEchoInput } from '../types.gen';
|