@lessly/sdk-app 125.0.0 → 126.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 -326
- package/dist/index.cjs +0 -227
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12346 -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 -372
- 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-XSWIGIE3.js +0 -12565
- package/dist/chunk-XSWIGIE3.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": "126.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:9fda68010517cf69aeaf04da06c107a19a696e52afbcdff18c4bd61b3423dd6f"
|
|
224
214
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -8022,213 +8022,6 @@ export const bindings: BindingsMap = {
|
|
|
8022
8022
|
}
|
|
8023
8023
|
}
|
|
8024
8024
|
},
|
|
8025
|
-
"playground": {
|
|
8026
|
-
"analytics": {
|
|
8027
|
-
"overview": {
|
|
8028
|
-
"level": "read",
|
|
8029
|
-
"method": "POST",
|
|
8030
|
-
"operationKey": "playground_analytics_overview",
|
|
8031
|
-
"params": [
|
|
8032
|
-
{
|
|
8033
|
-
"in": "body",
|
|
8034
|
-
"name": "limit"
|
|
8035
|
-
}
|
|
8036
|
-
],
|
|
8037
|
-
"path": "/playground/analytics/overview",
|
|
8038
|
-
"readOnly": true
|
|
8039
|
-
}
|
|
8040
|
-
},
|
|
8041
|
-
"billing": {
|
|
8042
|
-
"entitlements": {
|
|
8043
|
-
"level": "read",
|
|
8044
|
-
"method": "POST",
|
|
8045
|
-
"operationKey": "playground_billing_entitlements",
|
|
8046
|
-
"path": "/playground/billing/entitlements",
|
|
8047
|
-
"readOnly": true
|
|
8048
|
-
},
|
|
8049
|
-
"record-usage": {
|
|
8050
|
-
"level": "write",
|
|
8051
|
-
"method": "POST",
|
|
8052
|
-
"operationKey": "playground_billing_record-usage",
|
|
8053
|
-
"params": [
|
|
8054
|
-
{
|
|
8055
|
-
"in": "body",
|
|
8056
|
-
"name": "value"
|
|
8057
|
-
}
|
|
8058
|
-
],
|
|
8059
|
-
"path": "/playground/billing/usage",
|
|
8060
|
-
"readOnly": false
|
|
8061
|
-
}
|
|
8062
|
-
},
|
|
8063
|
-
"clickup": {
|
|
8064
|
-
"create-task": {
|
|
8065
|
-
"level": "write",
|
|
8066
|
-
"method": "POST",
|
|
8067
|
-
"operationKey": "playground_clickup_create-task",
|
|
8068
|
-
"params": [
|
|
8069
|
-
{
|
|
8070
|
-
"in": "body",
|
|
8071
|
-
"name": "listId"
|
|
8072
|
-
},
|
|
8073
|
-
{
|
|
8074
|
-
"in": "body",
|
|
8075
|
-
"name": "name"
|
|
8076
|
-
}
|
|
8077
|
-
],
|
|
8078
|
-
"path": "/playground/clickup/tasks",
|
|
8079
|
-
"readOnly": false
|
|
8080
|
-
},
|
|
8081
|
-
"get-last-webhook": {
|
|
8082
|
-
"level": "read",
|
|
8083
|
-
"method": "GET",
|
|
8084
|
-
"operationKey": "playground_clickup_get-last-webhook",
|
|
8085
|
-
"path": "/playground/clickup/webhooks/last",
|
|
8086
|
-
"readOnly": true
|
|
8087
|
-
},
|
|
8088
|
-
"get-overview": {
|
|
8089
|
-
"level": "read",
|
|
8090
|
-
"method": "GET",
|
|
8091
|
-
"operationKey": "playground_clickup_get-overview",
|
|
8092
|
-
"path": "/playground/clickup/overview",
|
|
8093
|
-
"readOnly": true
|
|
8094
|
-
}
|
|
8095
|
-
},
|
|
8096
|
-
"echo": {
|
|
8097
|
-
"ping": {
|
|
8098
|
-
"level": "read",
|
|
8099
|
-
"method": "POST",
|
|
8100
|
-
"operationKey": "playground_echo_ping",
|
|
8101
|
-
"params": [
|
|
8102
|
-
{
|
|
8103
|
-
"in": "body",
|
|
8104
|
-
"name": "message"
|
|
8105
|
-
}
|
|
8106
|
-
],
|
|
8107
|
-
"path": "/playground/echo/ping",
|
|
8108
|
-
"readOnly": true
|
|
8109
|
-
}
|
|
8110
|
-
},
|
|
8111
|
-
"gdrive": {
|
|
8112
|
-
"get-last-change": {
|
|
8113
|
-
"level": "read",
|
|
8114
|
-
"method": "GET",
|
|
8115
|
-
"operationKey": "playground_gdrive_get-last-change",
|
|
8116
|
-
"path": "/playground/gdrive/changes/last",
|
|
8117
|
-
"readOnly": true
|
|
8118
|
-
},
|
|
8119
|
-
"read-file": {
|
|
8120
|
-
"level": "read",
|
|
8121
|
-
"method": "POST",
|
|
8122
|
-
"operationKey": "playground_gdrive_read-file",
|
|
8123
|
-
"params": [
|
|
8124
|
-
{
|
|
8125
|
-
"in": "body",
|
|
8126
|
-
"name": "fileId"
|
|
8127
|
-
}
|
|
8128
|
-
],
|
|
8129
|
-
"path": "/playground/gdrive/file",
|
|
8130
|
-
"readOnly": true
|
|
8131
|
-
}
|
|
8132
|
-
},
|
|
8133
|
-
"googleads": {
|
|
8134
|
-
"read-customer": {
|
|
8135
|
-
"level": "read",
|
|
8136
|
-
"method": "POST",
|
|
8137
|
-
"operationKey": "playground_googleads_read-customer",
|
|
8138
|
-
"path": "/playground/googleads/customer",
|
|
8139
|
-
"readOnly": true
|
|
8140
|
-
}
|
|
8141
|
-
},
|
|
8142
|
-
"lifecycle": {
|
|
8143
|
-
"get-state": {
|
|
8144
|
-
"level": "read",
|
|
8145
|
-
"method": "GET",
|
|
8146
|
-
"operationKey": "playground_lifecycle_get-state",
|
|
8147
|
-
"path": "/playground/lifecycle/state",
|
|
8148
|
-
"readOnly": true
|
|
8149
|
-
},
|
|
8150
|
-
"list-events": {
|
|
8151
|
-
"level": "read",
|
|
8152
|
-
"method": "GET",
|
|
8153
|
-
"operationKey": "playground_lifecycle_list-events",
|
|
8154
|
-
"path": "/playground/lifecycle/events",
|
|
8155
|
-
"readOnly": true
|
|
8156
|
-
}
|
|
8157
|
-
},
|
|
8158
|
-
"webhook": {
|
|
8159
|
-
"get-last": {
|
|
8160
|
-
"level": "read",
|
|
8161
|
-
"method": "GET",
|
|
8162
|
-
"operationKey": "playground_webhook_get-last",
|
|
8163
|
-
"path": "/playground/webhooks/last",
|
|
8164
|
-
"readOnly": true
|
|
8165
|
-
}
|
|
8166
|
-
},
|
|
8167
|
-
"workflow": {
|
|
8168
|
-
"echo": {
|
|
8169
|
-
"level": "write",
|
|
8170
|
-
"method": "POST",
|
|
8171
|
-
"operationKey": "playground_workflow_echo",
|
|
8172
|
-
"params": [
|
|
8173
|
-
{
|
|
8174
|
-
"in": "body",
|
|
8175
|
-
"name": "note"
|
|
8176
|
-
},
|
|
8177
|
-
{
|
|
8178
|
-
"in": "body",
|
|
8179
|
-
"name": "tags"
|
|
8180
|
-
}
|
|
8181
|
-
],
|
|
8182
|
-
"path": "/playground/workflow/echo",
|
|
8183
|
-
"readOnly": false
|
|
8184
|
-
},
|
|
8185
|
-
"echo-list": {
|
|
8186
|
-
"level": "read",
|
|
8187
|
-
"method": "GET",
|
|
8188
|
-
"operationKey": "playground_workflow_echo-list",
|
|
8189
|
-
"path": "/playground/workflow/echoes",
|
|
8190
|
-
"readOnly": true
|
|
8191
|
-
},
|
|
8192
|
-
"ping": {
|
|
8193
|
-
"level": "write",
|
|
8194
|
-
"method": "POST",
|
|
8195
|
-
"operationKey": "playground_workflow_ping",
|
|
8196
|
-
"params": [
|
|
8197
|
-
{
|
|
8198
|
-
"in": "body",
|
|
8199
|
-
"name": "kind"
|
|
8200
|
-
}
|
|
8201
|
-
],
|
|
8202
|
-
"path": "/playground/workflow/ping",
|
|
8203
|
-
"readOnly": false
|
|
8204
|
-
},
|
|
8205
|
-
"subjects-list": {
|
|
8206
|
-
"level": "read",
|
|
8207
|
-
"method": "GET",
|
|
8208
|
-
"operationKey": "playground_workflow_subjects-list",
|
|
8209
|
-
"params": [
|
|
8210
|
-
{
|
|
8211
|
-
"in": "query",
|
|
8212
|
-
"name": "last_activity_before"
|
|
8213
|
-
},
|
|
8214
|
-
{
|
|
8215
|
-
"in": "query",
|
|
8216
|
-
"name": "last_activity_after"
|
|
8217
|
-
},
|
|
8218
|
-
{
|
|
8219
|
-
"in": "query",
|
|
8220
|
-
"name": "limit"
|
|
8221
|
-
},
|
|
8222
|
-
{
|
|
8223
|
-
"in": "query",
|
|
8224
|
-
"name": "cursor"
|
|
8225
|
-
}
|
|
8226
|
-
],
|
|
8227
|
-
"path": "/playground/workflow/subjects",
|
|
8228
|
-
"readOnly": true
|
|
8229
|
-
}
|
|
8230
|
-
}
|
|
8231
|
-
},
|
|
8232
8025
|
"realtime": {
|
|
8233
8026
|
"archive": {
|
|
8234
8027
|
"export": {
|
|
@@ -12553,12 +12346,4 @@ export const bindings: BindingsMap = {
|
|
|
12553
12346
|
}
|
|
12554
12347
|
};
|
|
12555
12348
|
|
|
12556
|
-
export const wsBindings: WsBindingsMap = {
|
|
12557
|
-
"playground": {
|
|
12558
|
-
"ws": {
|
|
12559
|
-
"echo": {
|
|
12560
|
-
"path": "/playground/ws/echo"
|
|
12561
|
-
}
|
|
12562
|
-
}
|
|
12563
|
-
}
|
|
12564
|
-
};
|
|
12349
|
+
export const wsBindings: WsBindingsMap = {};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -845,40 +845,6 @@ import type {
|
|
|
845
845
|
OrganizationXInstallOutput,
|
|
846
846
|
OrganizationYoutubeInstallInput,
|
|
847
847
|
OrganizationYoutubeInstallOutput,
|
|
848
|
-
PlaygroundAnalyticsOverviewInput,
|
|
849
|
-
PlaygroundAnalyticsOverviewOutput,
|
|
850
|
-
PlaygroundBillingEntitlementsInput,
|
|
851
|
-
PlaygroundBillingEntitlementsOutput,
|
|
852
|
-
PlaygroundBillingRecordUsageInput,
|
|
853
|
-
PlaygroundBillingRecordUsageOutput,
|
|
854
|
-
PlaygroundClickupCreateTaskInput,
|
|
855
|
-
PlaygroundClickupCreateTaskOutput,
|
|
856
|
-
PlaygroundClickupGetLastWebhookInput,
|
|
857
|
-
PlaygroundClickupGetLastWebhookOutput,
|
|
858
|
-
PlaygroundClickupGetOverviewInput,
|
|
859
|
-
PlaygroundClickupGetOverviewOutput,
|
|
860
|
-
PlaygroundEchoPingInput,
|
|
861
|
-
PlaygroundEchoPingOutput,
|
|
862
|
-
PlaygroundGdriveGetLastChangeInput,
|
|
863
|
-
PlaygroundGdriveGetLastChangeOutput,
|
|
864
|
-
PlaygroundGdriveReadFileInput,
|
|
865
|
-
PlaygroundGdriveReadFileOutput,
|
|
866
|
-
PlaygroundGoogleadsReadCustomerInput,
|
|
867
|
-
PlaygroundGoogleadsReadCustomerOutput,
|
|
868
|
-
PlaygroundLifecycleGetStateInput,
|
|
869
|
-
PlaygroundLifecycleGetStateOutput,
|
|
870
|
-
PlaygroundLifecycleListEventsInput,
|
|
871
|
-
PlaygroundLifecycleListEventsOutput,
|
|
872
|
-
PlaygroundWebhookGetLastInput,
|
|
873
|
-
PlaygroundWebhookGetLastOutput,
|
|
874
|
-
PlaygroundWorkflowEchoInput,
|
|
875
|
-
PlaygroundWorkflowEchoListInput,
|
|
876
|
-
PlaygroundWorkflowEchoListOutput,
|
|
877
|
-
PlaygroundWorkflowEchoOutput,
|
|
878
|
-
PlaygroundWorkflowPingInput,
|
|
879
|
-
PlaygroundWorkflowPingOutput,
|
|
880
|
-
PlaygroundWorkflowSubjectsListInput,
|
|
881
|
-
PlaygroundWorkflowSubjectsListOutput,
|
|
882
848
|
RealtimeArchiveExportInput,
|
|
883
849
|
RealtimeArchiveExportOutput,
|
|
884
850
|
RealtimeArchiveExportStatusInput,
|
|
@@ -2076,43 +2042,6 @@ export interface GeneratedClient {
|
|
|
2076
2042
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
2077
2043
|
};
|
|
2078
2044
|
};
|
|
2079
|
-
playground: {
|
|
2080
|
-
analytics: {
|
|
2081
|
-
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
2082
|
-
};
|
|
2083
|
-
billing: {
|
|
2084
|
-
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
2085
|
-
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
2086
|
-
};
|
|
2087
|
-
clickup: {
|
|
2088
|
-
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
2089
|
-
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
2090
|
-
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
2091
|
-
};
|
|
2092
|
-
echo: {
|
|
2093
|
-
ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
|
|
2094
|
-
};
|
|
2095
|
-
gdrive: {
|
|
2096
|
-
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
2097
|
-
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
2098
|
-
};
|
|
2099
|
-
googleads: {
|
|
2100
|
-
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
2101
|
-
};
|
|
2102
|
-
lifecycle: {
|
|
2103
|
-
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
2104
|
-
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
2105
|
-
};
|
|
2106
|
-
webhook: {
|
|
2107
|
-
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
2108
|
-
};
|
|
2109
|
-
workflow: {
|
|
2110
|
-
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
2111
|
-
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
2112
|
-
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
2113
|
-
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
2114
|
-
};
|
|
2115
|
-
};
|
|
2116
2045
|
realtime: {
|
|
2117
2046
|
archive: {
|
|
2118
2047
|
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',
|
|
@@ -426,23 +426,6 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
426
426
|
'organization_support_threads_list': 'read',
|
|
427
427
|
'organization_x_install': 'read',
|
|
428
428
|
'organization_youtube_install': 'read',
|
|
429
|
-
'playground_analytics_overview': 'read',
|
|
430
|
-
'playground_billing_entitlements': 'read',
|
|
431
|
-
'playground_billing_record-usage': 'write',
|
|
432
|
-
'playground_clickup_create-task': 'write',
|
|
433
|
-
'playground_clickup_get-last-webhook': 'read',
|
|
434
|
-
'playground_clickup_get-overview': 'read',
|
|
435
|
-
'playground_echo_ping': 'read',
|
|
436
|
-
'playground_gdrive_get-last-change': 'read',
|
|
437
|
-
'playground_gdrive_read-file': 'read',
|
|
438
|
-
'playground_googleads_read-customer': 'read',
|
|
439
|
-
'playground_lifecycle_get-state': 'read',
|
|
440
|
-
'playground_lifecycle_list-events': 'read',
|
|
441
|
-
'playground_webhook_get-last': 'read',
|
|
442
|
-
'playground_workflow_echo': 'write',
|
|
443
|
-
'playground_workflow_echo-list': 'read',
|
|
444
|
-
'playground_workflow_ping': 'write',
|
|
445
|
-
'playground_workflow_subjects-list': 'read',
|
|
446
429
|
'realtime_archive_export': 'admin',
|
|
447
430
|
'realtime_archive_export_status': 'read',
|
|
448
431
|
'realtime_archive_get': 'read',
|
|
@@ -737,9 +720,6 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
737
720
|
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
738
721
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
739
722
|
'mail_usage_get': {"label":"Get usage"},
|
|
740
|
-
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
741
|
-
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
742
|
-
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
743
723
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
744
724
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
745
725
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|