@lessly/sdk-app 123.0.0 → 124.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 +1 -1
- package/dist/_types/gen/client.gen.d.ts +1 -38
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/types.gen.d.ts +0 -328
- package/dist/index.cjs +0 -227
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12270 -22
- package/dist/index.js.map +1 -1
- package/package.json +2 -12
- package/src/gen/bindings.gen.ts +1 -216
- package/src/gen/client.gen.ts +0 -71
- package/src/gen/manifest.gen.ts +1 -21
- package/src/gen/types.gen.ts +0 -374
- package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
- package/dist/_types/gen/playground/index.d.ts +0 -3
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -70
- package/dist/chunk-TBHRQSEU.js +0 -12489
- package/dist/chunk-TBHRQSEU.js.map +0 -1
- package/dist/playground/index.cjs +0 -106
- package/dist/playground/index.cjs.map +0 -1
- package/dist/playground/index.d.cts +0 -1
- package/dist/playground/index.d.ts +0 -1
- package/dist/playground/index.js +0 -78
- package/dist/playground/index.js.map +0 -1
- package/src/gen/playground/connect.gen.ts +0 -9
- package/src/gen/playground/index.ts +0 -4
- package/src/gen/playground/queryOptions.gen.ts +0 -119
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
3
|
"description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "124.0.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
|
|
@@ -159,16 +159,6 @@
|
|
|
159
159
|
"default": "./dist/organization/index.cjs"
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
|
-
"./playground": {
|
|
163
|
-
"import": {
|
|
164
|
-
"types": "./dist/playground/index.d.ts",
|
|
165
|
-
"default": "./dist/playground/index.js"
|
|
166
|
-
},
|
|
167
|
-
"require": {
|
|
168
|
-
"types": "./dist/playground/index.d.cts",
|
|
169
|
-
"default": "./dist/playground/index.cjs"
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
162
|
"./realtime": {
|
|
173
163
|
"import": {
|
|
174
164
|
"types": "./dist/realtime/index.d.ts",
|
|
@@ -220,5 +210,5 @@
|
|
|
220
210
|
}
|
|
221
211
|
}
|
|
222
212
|
},
|
|
223
|
-
"sdkContentHash": "sha256:
|
|
213
|
+
"sdkContentHash": "sha256:dee0c4651cba0d235477c5ce003cab2f13eb0608691f90bb17f42ebd9c5e9997"
|
|
224
214
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -7946,213 +7946,6 @@ export const bindings: BindingsMap = {
|
|
|
7946
7946
|
}
|
|
7947
7947
|
}
|
|
7948
7948
|
},
|
|
7949
|
-
"playground": {
|
|
7950
|
-
"analytics": {
|
|
7951
|
-
"overview": {
|
|
7952
|
-
"level": "read",
|
|
7953
|
-
"method": "POST",
|
|
7954
|
-
"operationKey": "playground_analytics_overview",
|
|
7955
|
-
"params": [
|
|
7956
|
-
{
|
|
7957
|
-
"in": "body",
|
|
7958
|
-
"name": "limit"
|
|
7959
|
-
}
|
|
7960
|
-
],
|
|
7961
|
-
"path": "/playground/analytics/overview",
|
|
7962
|
-
"readOnly": true
|
|
7963
|
-
}
|
|
7964
|
-
},
|
|
7965
|
-
"billing": {
|
|
7966
|
-
"entitlements": {
|
|
7967
|
-
"level": "read",
|
|
7968
|
-
"method": "POST",
|
|
7969
|
-
"operationKey": "playground_billing_entitlements",
|
|
7970
|
-
"path": "/playground/billing/entitlements",
|
|
7971
|
-
"readOnly": true
|
|
7972
|
-
},
|
|
7973
|
-
"record-usage": {
|
|
7974
|
-
"level": "write",
|
|
7975
|
-
"method": "POST",
|
|
7976
|
-
"operationKey": "playground_billing_record-usage",
|
|
7977
|
-
"params": [
|
|
7978
|
-
{
|
|
7979
|
-
"in": "body",
|
|
7980
|
-
"name": "value"
|
|
7981
|
-
}
|
|
7982
|
-
],
|
|
7983
|
-
"path": "/playground/billing/usage",
|
|
7984
|
-
"readOnly": false
|
|
7985
|
-
}
|
|
7986
|
-
},
|
|
7987
|
-
"clickup": {
|
|
7988
|
-
"create-task": {
|
|
7989
|
-
"level": "write",
|
|
7990
|
-
"method": "POST",
|
|
7991
|
-
"operationKey": "playground_clickup_create-task",
|
|
7992
|
-
"params": [
|
|
7993
|
-
{
|
|
7994
|
-
"in": "body",
|
|
7995
|
-
"name": "listId"
|
|
7996
|
-
},
|
|
7997
|
-
{
|
|
7998
|
-
"in": "body",
|
|
7999
|
-
"name": "name"
|
|
8000
|
-
}
|
|
8001
|
-
],
|
|
8002
|
-
"path": "/playground/clickup/tasks",
|
|
8003
|
-
"readOnly": false
|
|
8004
|
-
},
|
|
8005
|
-
"get-last-webhook": {
|
|
8006
|
-
"level": "read",
|
|
8007
|
-
"method": "GET",
|
|
8008
|
-
"operationKey": "playground_clickup_get-last-webhook",
|
|
8009
|
-
"path": "/playground/clickup/webhooks/last",
|
|
8010
|
-
"readOnly": true
|
|
8011
|
-
},
|
|
8012
|
-
"get-overview": {
|
|
8013
|
-
"level": "read",
|
|
8014
|
-
"method": "GET",
|
|
8015
|
-
"operationKey": "playground_clickup_get-overview",
|
|
8016
|
-
"path": "/playground/clickup/overview",
|
|
8017
|
-
"readOnly": true
|
|
8018
|
-
}
|
|
8019
|
-
},
|
|
8020
|
-
"echo": {
|
|
8021
|
-
"ping": {
|
|
8022
|
-
"level": "read",
|
|
8023
|
-
"method": "POST",
|
|
8024
|
-
"operationKey": "playground_echo_ping",
|
|
8025
|
-
"params": [
|
|
8026
|
-
{
|
|
8027
|
-
"in": "body",
|
|
8028
|
-
"name": "message"
|
|
8029
|
-
}
|
|
8030
|
-
],
|
|
8031
|
-
"path": "/playground/echo/ping",
|
|
8032
|
-
"readOnly": true
|
|
8033
|
-
}
|
|
8034
|
-
},
|
|
8035
|
-
"gdrive": {
|
|
8036
|
-
"get-last-change": {
|
|
8037
|
-
"level": "read",
|
|
8038
|
-
"method": "GET",
|
|
8039
|
-
"operationKey": "playground_gdrive_get-last-change",
|
|
8040
|
-
"path": "/playground/gdrive/changes/last",
|
|
8041
|
-
"readOnly": true
|
|
8042
|
-
},
|
|
8043
|
-
"read-file": {
|
|
8044
|
-
"level": "read",
|
|
8045
|
-
"method": "POST",
|
|
8046
|
-
"operationKey": "playground_gdrive_read-file",
|
|
8047
|
-
"params": [
|
|
8048
|
-
{
|
|
8049
|
-
"in": "body",
|
|
8050
|
-
"name": "fileId"
|
|
8051
|
-
}
|
|
8052
|
-
],
|
|
8053
|
-
"path": "/playground/gdrive/file",
|
|
8054
|
-
"readOnly": true
|
|
8055
|
-
}
|
|
8056
|
-
},
|
|
8057
|
-
"googleads": {
|
|
8058
|
-
"read-customer": {
|
|
8059
|
-
"level": "read",
|
|
8060
|
-
"method": "POST",
|
|
8061
|
-
"operationKey": "playground_googleads_read-customer",
|
|
8062
|
-
"path": "/playground/googleads/customer",
|
|
8063
|
-
"readOnly": true
|
|
8064
|
-
}
|
|
8065
|
-
},
|
|
8066
|
-
"lifecycle": {
|
|
8067
|
-
"get-state": {
|
|
8068
|
-
"level": "read",
|
|
8069
|
-
"method": "GET",
|
|
8070
|
-
"operationKey": "playground_lifecycle_get-state",
|
|
8071
|
-
"path": "/playground/lifecycle/state",
|
|
8072
|
-
"readOnly": true
|
|
8073
|
-
},
|
|
8074
|
-
"list-events": {
|
|
8075
|
-
"level": "read",
|
|
8076
|
-
"method": "GET",
|
|
8077
|
-
"operationKey": "playground_lifecycle_list-events",
|
|
8078
|
-
"path": "/playground/lifecycle/events",
|
|
8079
|
-
"readOnly": true
|
|
8080
|
-
}
|
|
8081
|
-
},
|
|
8082
|
-
"webhook": {
|
|
8083
|
-
"get-last": {
|
|
8084
|
-
"level": "read",
|
|
8085
|
-
"method": "GET",
|
|
8086
|
-
"operationKey": "playground_webhook_get-last",
|
|
8087
|
-
"path": "/playground/webhooks/last",
|
|
8088
|
-
"readOnly": true
|
|
8089
|
-
}
|
|
8090
|
-
},
|
|
8091
|
-
"workflow": {
|
|
8092
|
-
"echo": {
|
|
8093
|
-
"level": "write",
|
|
8094
|
-
"method": "POST",
|
|
8095
|
-
"operationKey": "playground_workflow_echo",
|
|
8096
|
-
"params": [
|
|
8097
|
-
{
|
|
8098
|
-
"in": "body",
|
|
8099
|
-
"name": "note"
|
|
8100
|
-
},
|
|
8101
|
-
{
|
|
8102
|
-
"in": "body",
|
|
8103
|
-
"name": "tags"
|
|
8104
|
-
}
|
|
8105
|
-
],
|
|
8106
|
-
"path": "/playground/workflow/echo",
|
|
8107
|
-
"readOnly": false
|
|
8108
|
-
},
|
|
8109
|
-
"echo-list": {
|
|
8110
|
-
"level": "read",
|
|
8111
|
-
"method": "GET",
|
|
8112
|
-
"operationKey": "playground_workflow_echo-list",
|
|
8113
|
-
"path": "/playground/workflow/echoes",
|
|
8114
|
-
"readOnly": true
|
|
8115
|
-
},
|
|
8116
|
-
"ping": {
|
|
8117
|
-
"level": "write",
|
|
8118
|
-
"method": "POST",
|
|
8119
|
-
"operationKey": "playground_workflow_ping",
|
|
8120
|
-
"params": [
|
|
8121
|
-
{
|
|
8122
|
-
"in": "body",
|
|
8123
|
-
"name": "kind"
|
|
8124
|
-
}
|
|
8125
|
-
],
|
|
8126
|
-
"path": "/playground/workflow/ping",
|
|
8127
|
-
"readOnly": false
|
|
8128
|
-
},
|
|
8129
|
-
"subjects-list": {
|
|
8130
|
-
"level": "read",
|
|
8131
|
-
"method": "GET",
|
|
8132
|
-
"operationKey": "playground_workflow_subjects-list",
|
|
8133
|
-
"params": [
|
|
8134
|
-
{
|
|
8135
|
-
"in": "query",
|
|
8136
|
-
"name": "last_activity_before"
|
|
8137
|
-
},
|
|
8138
|
-
{
|
|
8139
|
-
"in": "query",
|
|
8140
|
-
"name": "last_activity_after"
|
|
8141
|
-
},
|
|
8142
|
-
{
|
|
8143
|
-
"in": "query",
|
|
8144
|
-
"name": "limit"
|
|
8145
|
-
},
|
|
8146
|
-
{
|
|
8147
|
-
"in": "query",
|
|
8148
|
-
"name": "cursor"
|
|
8149
|
-
}
|
|
8150
|
-
],
|
|
8151
|
-
"path": "/playground/workflow/subjects",
|
|
8152
|
-
"readOnly": true
|
|
8153
|
-
}
|
|
8154
|
-
}
|
|
8155
|
-
},
|
|
8156
7949
|
"realtime": {
|
|
8157
7950
|
"archive": {
|
|
8158
7951
|
"export": {
|
|
@@ -12477,12 +12270,4 @@ export const bindings: BindingsMap = {
|
|
|
12477
12270
|
}
|
|
12478
12271
|
};
|
|
12479
12272
|
|
|
12480
|
-
export const wsBindings: WsBindingsMap = {
|
|
12481
|
-
"playground": {
|
|
12482
|
-
"ws": {
|
|
12483
|
-
"echo": {
|
|
12484
|
-
"path": "/playground/ws/echo"
|
|
12485
|
-
}
|
|
12486
|
-
}
|
|
12487
|
-
}
|
|
12488
|
-
};
|
|
12273
|
+
export const wsBindings: WsBindingsMap = {};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -833,40 +833,6 @@ import type {
|
|
|
833
833
|
OrganizationXInstallOutput,
|
|
834
834
|
OrganizationYoutubeInstallInput,
|
|
835
835
|
OrganizationYoutubeInstallOutput,
|
|
836
|
-
PlaygroundAnalyticsOverviewInput,
|
|
837
|
-
PlaygroundAnalyticsOverviewOutput,
|
|
838
|
-
PlaygroundBillingEntitlementsInput,
|
|
839
|
-
PlaygroundBillingEntitlementsOutput,
|
|
840
|
-
PlaygroundBillingRecordUsageInput,
|
|
841
|
-
PlaygroundBillingRecordUsageOutput,
|
|
842
|
-
PlaygroundClickupCreateTaskInput,
|
|
843
|
-
PlaygroundClickupCreateTaskOutput,
|
|
844
|
-
PlaygroundClickupGetLastWebhookInput,
|
|
845
|
-
PlaygroundClickupGetLastWebhookOutput,
|
|
846
|
-
PlaygroundClickupGetOverviewInput,
|
|
847
|
-
PlaygroundClickupGetOverviewOutput,
|
|
848
|
-
PlaygroundEchoPingInput,
|
|
849
|
-
PlaygroundEchoPingOutput,
|
|
850
|
-
PlaygroundGdriveGetLastChangeInput,
|
|
851
|
-
PlaygroundGdriveGetLastChangeOutput,
|
|
852
|
-
PlaygroundGdriveReadFileInput,
|
|
853
|
-
PlaygroundGdriveReadFileOutput,
|
|
854
|
-
PlaygroundGoogleadsReadCustomerInput,
|
|
855
|
-
PlaygroundGoogleadsReadCustomerOutput,
|
|
856
|
-
PlaygroundLifecycleGetStateInput,
|
|
857
|
-
PlaygroundLifecycleGetStateOutput,
|
|
858
|
-
PlaygroundLifecycleListEventsInput,
|
|
859
|
-
PlaygroundLifecycleListEventsOutput,
|
|
860
|
-
PlaygroundWebhookGetLastInput,
|
|
861
|
-
PlaygroundWebhookGetLastOutput,
|
|
862
|
-
PlaygroundWorkflowEchoInput,
|
|
863
|
-
PlaygroundWorkflowEchoListInput,
|
|
864
|
-
PlaygroundWorkflowEchoListOutput,
|
|
865
|
-
PlaygroundWorkflowEchoOutput,
|
|
866
|
-
PlaygroundWorkflowPingInput,
|
|
867
|
-
PlaygroundWorkflowPingOutput,
|
|
868
|
-
PlaygroundWorkflowSubjectsListInput,
|
|
869
|
-
PlaygroundWorkflowSubjectsListOutput,
|
|
870
836
|
RealtimeArchiveExportInput,
|
|
871
837
|
RealtimeArchiveExportOutput,
|
|
872
838
|
RealtimeArchiveExportStatusInput,
|
|
@@ -2046,43 +2012,6 @@ export interface GeneratedClient {
|
|
|
2046
2012
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
2047
2013
|
};
|
|
2048
2014
|
};
|
|
2049
|
-
playground: {
|
|
2050
|
-
analytics: {
|
|
2051
|
-
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
2052
|
-
};
|
|
2053
|
-
billing: {
|
|
2054
|
-
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
2055
|
-
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
2056
|
-
};
|
|
2057
|
-
clickup: {
|
|
2058
|
-
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
2059
|
-
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
2060
|
-
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
2061
|
-
};
|
|
2062
|
-
echo: {
|
|
2063
|
-
ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
|
|
2064
|
-
};
|
|
2065
|
-
gdrive: {
|
|
2066
|
-
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
2067
|
-
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
2068
|
-
};
|
|
2069
|
-
googleads: {
|
|
2070
|
-
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
2071
|
-
};
|
|
2072
|
-
lifecycle: {
|
|
2073
|
-
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
2074
|
-
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
2075
|
-
};
|
|
2076
|
-
webhook: {
|
|
2077
|
-
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
2078
|
-
};
|
|
2079
|
-
workflow: {
|
|
2080
|
-
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
2081
|
-
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
2082
|
-
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
2083
|
-
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
2084
|
-
};
|
|
2085
|
-
};
|
|
2086
2015
|
realtime: {
|
|
2087
2016
|
archive: {
|
|
2088
2017
|
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, ToolComposition } from '../runtime/types';
|
|
3
3
|
|
|
4
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', '
|
|
4
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
|
|
5
5
|
|
|
6
6
|
export const operations: Record<string, ToolLevel> = {
|
|
7
7
|
'analytics_catalog_get': 'read',
|
|
@@ -420,23 +420,6 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
420
420
|
'organization_support_threads_list': 'read',
|
|
421
421
|
'organization_x_install': 'read',
|
|
422
422
|
'organization_youtube_install': 'read',
|
|
423
|
-
'playground_analytics_overview': 'read',
|
|
424
|
-
'playground_billing_entitlements': 'read',
|
|
425
|
-
'playground_billing_record-usage': 'write',
|
|
426
|
-
'playground_clickup_create-task': 'write',
|
|
427
|
-
'playground_clickup_get-last-webhook': 'read',
|
|
428
|
-
'playground_clickup_get-overview': 'read',
|
|
429
|
-
'playground_echo_ping': 'read',
|
|
430
|
-
'playground_gdrive_get-last-change': 'read',
|
|
431
|
-
'playground_gdrive_read-file': 'read',
|
|
432
|
-
'playground_googleads_read-customer': 'read',
|
|
433
|
-
'playground_lifecycle_get-state': 'read',
|
|
434
|
-
'playground_lifecycle_list-events': 'read',
|
|
435
|
-
'playground_webhook_get-last': 'read',
|
|
436
|
-
'playground_workflow_echo': 'write',
|
|
437
|
-
'playground_workflow_echo-list': 'read',
|
|
438
|
-
'playground_workflow_ping': 'write',
|
|
439
|
-
'playground_workflow_subjects-list': 'read',
|
|
440
423
|
'realtime_archive_export': 'admin',
|
|
441
424
|
'realtime_archive_export_status': 'read',
|
|
442
425
|
'realtime_archive_get': 'read',
|
|
@@ -731,9 +714,6 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
731
714
|
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
732
715
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
733
716
|
'mail_usage_get': {"label":"Get usage"},
|
|
734
|
-
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
735
|
-
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
736
|
-
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
737
717
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
738
718
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
739
719
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|