@lessly/sdk-app 108.2.0 → 109.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 +37 -2
- package/dist/_types/gen/client.gen.d.ts +38 -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 +70 -0
- package/dist/_types/gen/types.gen.d.ts +1960 -25
- package/dist/chunk-GTBSBXG4.js +12357 -0
- package/dist/chunk-GTBSBXG4.js.map +1 -0
- package/dist/index.cjs +240 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -12170
- package/dist/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 +229 -46
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +21 -1
- 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 +12540 -10685
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../_types/gen/playground/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../_types/gen/playground/index.js';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { wsBindings } from '../chunk-GTBSBXG4.js';
|
|
2
|
+
|
|
3
|
+
// src/gen/playground/queryOptions.gen.ts
|
|
4
|
+
var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
|
|
5
|
+
queryKey: ["playground", "analytics", "overview", input],
|
|
6
|
+
queryFn: () => sdk["playground"]["analytics"]["overview"](input)
|
|
7
|
+
});
|
|
8
|
+
var playgroundBillingEntitlementsQueryOptions = (sdk, input) => ({
|
|
9
|
+
queryKey: ["playground", "billing", "entitlements", input],
|
|
10
|
+
queryFn: () => sdk["playground"]["billing"]["entitlements"](input)
|
|
11
|
+
});
|
|
12
|
+
var playgroundBillingRecordUsageMutationOptions = (sdk) => ({
|
|
13
|
+
mutationKey: ["playground", "billing", "record-usage"],
|
|
14
|
+
mutationFn: (input) => sdk["playground"]["billing"]["record-usage"](input)
|
|
15
|
+
});
|
|
16
|
+
var playgroundClickupCreateTaskMutationOptions = (sdk) => ({
|
|
17
|
+
mutationKey: ["playground", "clickup", "create-task"],
|
|
18
|
+
mutationFn: (input) => sdk["playground"]["clickup"]["create-task"](input)
|
|
19
|
+
});
|
|
20
|
+
var playgroundClickupGetLastWebhookQueryOptions = (sdk, input) => ({
|
|
21
|
+
queryKey: ["playground", "clickup", "get-last-webhook", input],
|
|
22
|
+
queryFn: () => sdk["playground"]["clickup"]["get-last-webhook"](input)
|
|
23
|
+
});
|
|
24
|
+
var playgroundClickupGetOverviewQueryOptions = (sdk, input) => ({
|
|
25
|
+
queryKey: ["playground", "clickup", "get-overview", input],
|
|
26
|
+
queryFn: () => sdk["playground"]["clickup"]["get-overview"](input)
|
|
27
|
+
});
|
|
28
|
+
var playgroundEchoPingQueryOptions = (sdk, input) => ({
|
|
29
|
+
queryKey: ["playground", "echo", "ping", input],
|
|
30
|
+
queryFn: () => sdk["playground"]["echo"]["ping"](input)
|
|
31
|
+
});
|
|
32
|
+
var playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
|
|
33
|
+
queryKey: ["playground", "gdrive", "get-last-change", input],
|
|
34
|
+
queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
|
|
35
|
+
});
|
|
36
|
+
var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
|
|
37
|
+
queryKey: ["playground", "gdrive", "read-file", input],
|
|
38
|
+
queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
|
|
39
|
+
});
|
|
40
|
+
var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
|
|
41
|
+
queryKey: ["playground", "googleads", "read-customer", input],
|
|
42
|
+
queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
|
|
43
|
+
});
|
|
44
|
+
var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
|
|
45
|
+
queryKey: ["playground", "lifecycle", "get-state", input],
|
|
46
|
+
queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
|
|
47
|
+
});
|
|
48
|
+
var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
|
|
49
|
+
queryKey: ["playground", "lifecycle", "list-events", input],
|
|
50
|
+
queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
|
|
51
|
+
});
|
|
52
|
+
var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
|
|
53
|
+
queryKey: ["playground", "webhook", "get-last", input],
|
|
54
|
+
queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
|
|
55
|
+
});
|
|
56
|
+
var playgroundWorkflowEchoMutationOptions = (sdk) => ({
|
|
57
|
+
mutationKey: ["playground", "workflow", "echo"],
|
|
58
|
+
mutationFn: (input) => sdk["playground"]["workflow"]["echo"](input)
|
|
59
|
+
});
|
|
60
|
+
var playgroundWorkflowEchoListQueryOptions = (sdk, input) => ({
|
|
61
|
+
queryKey: ["playground", "workflow", "echo-list", input],
|
|
62
|
+
queryFn: () => sdk["playground"]["workflow"]["echo-list"](input)
|
|
63
|
+
});
|
|
64
|
+
var playgroundWorkflowPingMutationOptions = (sdk) => ({
|
|
65
|
+
mutationKey: ["playground", "workflow", "ping"],
|
|
66
|
+
mutationFn: (input) => sdk["playground"]["workflow"]["ping"](input)
|
|
67
|
+
});
|
|
68
|
+
var playgroundWorkflowSubjectsListQueryOptions = (sdk, input) => ({
|
|
69
|
+
queryKey: ["playground", "workflow", "subjects-list", input],
|
|
70
|
+
queryFn: () => sdk["playground"]["workflow"]["subjects-list"](input)
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
// src/gen/playground/connect.gen.ts
|
|
74
|
+
var playgroundWsEchoConnect = (sdk, input) => sdk.openStream(wsBindings["playground"]["ws"]["echo"], input);
|
|
75
|
+
|
|
76
|
+
export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundEchoPingQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWorkflowSubjectsListQueryOptions, playgroundWsEchoConnect };
|
|
77
|
+
//# sourceMappingURL=index.js.map
|
|
78
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts","../../src/gen/playground/connect.gen.ts"],"names":[],"mappings":";;;AAmCO,IAAM,uCAAA,GAA0C,CAAC,GAAA,EAAsB,KAAA,MAA6C;AAAA,EACzH,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,YAAY,KAAK,CAAA;AAAA,EACvD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AACjE,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,EAAsB,KAAA,MAA+C;AAAA,EAC7H,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,gBAAgB,KAAK,CAAA;AAAA,EACzD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cA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AA,KAC/D,GAAA,CAAI,UAAA,CAAW,UAAA,CAAW,YAAY,CAAA,CAAG,IAAI,CAAA,CAAG,MAAM,GAAI,KAAgC","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundEchoPingInput,\n PlaygroundEchoPingOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n PlaygroundWorkflowEchoInput,\n PlaygroundWorkflowEchoListInput,\n PlaygroundWorkflowEchoListOutput,\n PlaygroundWorkflowPingInput,\n PlaygroundWorkflowSubjectsListInput,\n PlaygroundWorkflowSubjectsListOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({\n queryKey: ['playground', 'echo', 'ping', input] as const,\n queryFn: () => sdk['playground']['echo']['ping'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n\nexport const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'echo'],\n mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),\n});\n\nexport const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({\n queryKey: ['playground', 'workflow', 'echo-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['echo-list'](input),\n});\n\nexport const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'ping'],\n mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),\n});\n\nexport const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({\n queryKey: ['playground', 'workflow', 'subjects-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['subjects-list'](input),\n});\n","// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport { wsBindings } from '../bindings.gen';\nimport type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';\nimport type {\n PlaygroundWsEchoInput,\n} from '../types.gen';\n\nexport const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>\n sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);\n"]}
|
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": "109.0.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
|
|
@@ -159,6 +159,16 @@
|
|
|
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
|
+
},
|
|
162
172
|
"./realtime": {
|
|
163
173
|
"import": {
|
|
164
174
|
"types": "./dist/realtime/index.d.ts",
|
|
@@ -210,5 +220,5 @@
|
|
|
210
220
|
}
|
|
211
221
|
}
|
|
212
222
|
},
|
|
213
|
-
"sdkContentHash": "sha256:
|
|
223
|
+
"sdkContentHash": "sha256:a8280c77c12e99982cc0ade13d7d1347b914e52943db6a99600c0da93964c38f"
|
|
214
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -250,6 +250,14 @@ export const bindings: BindingsMap = {
|
|
|
250
250
|
"in": "body",
|
|
251
251
|
"name": "formula_format"
|
|
252
252
|
},
|
|
253
|
+
{
|
|
254
|
+
"in": "body",
|
|
255
|
+
"name": "formulas"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"in": "body",
|
|
259
|
+
"name": "rows_label"
|
|
260
|
+
},
|
|
253
261
|
{
|
|
254
262
|
"in": "body",
|
|
255
263
|
"name": "window"
|
|
@@ -379,6 +387,14 @@ export const bindings: BindingsMap = {
|
|
|
379
387
|
"in": "body",
|
|
380
388
|
"name": "formula_format"
|
|
381
389
|
},
|
|
390
|
+
{
|
|
391
|
+
"in": "body",
|
|
392
|
+
"name": "formulas"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"in": "body",
|
|
396
|
+
"name": "rows_label"
|
|
397
|
+
},
|
|
382
398
|
{
|
|
383
399
|
"in": "body",
|
|
384
400
|
"name": "window"
|
|
@@ -6422,12 +6438,6 @@ export const bindings: BindingsMap = {
|
|
|
6422
6438
|
"level": "read",
|
|
6423
6439
|
"method": "GET",
|
|
6424
6440
|
"operationKey": "organization_clickup_install",
|
|
6425
|
-
"params": [
|
|
6426
|
-
{
|
|
6427
|
-
"in": "query",
|
|
6428
|
-
"name": "share"
|
|
6429
|
-
}
|
|
6430
|
-
],
|
|
6431
6441
|
"path": "/governance/api/v1/connectors/clickup/install",
|
|
6432
6442
|
"readOnly": false
|
|
6433
6443
|
},
|
|
@@ -6444,12 +6454,6 @@ export const bindings: BindingsMap = {
|
|
|
6444
6454
|
"level": "read",
|
|
6445
6455
|
"method": "GET",
|
|
6446
6456
|
"operationKey": "organization_cloudflare_install",
|
|
6447
|
-
"params": [
|
|
6448
|
-
{
|
|
6449
|
-
"in": "query",
|
|
6450
|
-
"name": "share"
|
|
6451
|
-
}
|
|
6452
|
-
],
|
|
6453
6457
|
"path": "/governance/api/v1/connectors/cloudflare/install",
|
|
6454
6458
|
"readOnly": false
|
|
6455
6459
|
}
|
|
@@ -6770,12 +6774,6 @@ export const bindings: BindingsMap = {
|
|
|
6770
6774
|
"level": "read",
|
|
6771
6775
|
"method": "GET",
|
|
6772
6776
|
"operationKey": "organization_gdrive_install",
|
|
6773
|
-
"params": [
|
|
6774
|
-
{
|
|
6775
|
-
"in": "query",
|
|
6776
|
-
"name": "share"
|
|
6777
|
-
}
|
|
6778
|
-
],
|
|
6779
6777
|
"path": "/governance/api/v1/connectors/gdrive/install",
|
|
6780
6778
|
"readOnly": false
|
|
6781
6779
|
}
|
|
@@ -6785,12 +6783,6 @@ export const bindings: BindingsMap = {
|
|
|
6785
6783
|
"level": "read",
|
|
6786
6784
|
"method": "GET",
|
|
6787
6785
|
"operationKey": "organization_github_install",
|
|
6788
|
-
"params": [
|
|
6789
|
-
{
|
|
6790
|
-
"in": "query",
|
|
6791
|
-
"name": "share"
|
|
6792
|
-
}
|
|
6793
|
-
],
|
|
6794
6786
|
"path": "/governance/api/v1/connectors/github/install",
|
|
6795
6787
|
"readOnly": false
|
|
6796
6788
|
},
|
|
@@ -7005,12 +6997,6 @@ export const bindings: BindingsMap = {
|
|
|
7005
6997
|
"level": "read",
|
|
7006
6998
|
"method": "GET",
|
|
7007
6999
|
"operationKey": "organization_linkedin_member_install",
|
|
7008
|
-
"params": [
|
|
7009
|
-
{
|
|
7010
|
-
"in": "query",
|
|
7011
|
-
"name": "share"
|
|
7012
|
-
}
|
|
7013
|
-
],
|
|
7014
7000
|
"path": "/governance/api/v1/connectors/linkedin-member/install",
|
|
7015
7001
|
"readOnly": false
|
|
7016
7002
|
}
|
|
@@ -7647,12 +7633,6 @@ export const bindings: BindingsMap = {
|
|
|
7647
7633
|
"level": "read",
|
|
7648
7634
|
"method": "GET",
|
|
7649
7635
|
"operationKey": "organization_reddit_install",
|
|
7650
|
-
"params": [
|
|
7651
|
-
{
|
|
7652
|
-
"in": "query",
|
|
7653
|
-
"name": "share"
|
|
7654
|
-
}
|
|
7655
|
-
],
|
|
7656
7636
|
"path": "/governance/api/v1/connectors/reddit/install",
|
|
7657
7637
|
"readOnly": false
|
|
7658
7638
|
}
|
|
@@ -7846,12 +7826,6 @@ export const bindings: BindingsMap = {
|
|
|
7846
7826
|
"level": "read",
|
|
7847
7827
|
"method": "GET",
|
|
7848
7828
|
"operationKey": "organization_x_install",
|
|
7849
|
-
"params": [
|
|
7850
|
-
{
|
|
7851
|
-
"in": "query",
|
|
7852
|
-
"name": "share"
|
|
7853
|
-
}
|
|
7854
|
-
],
|
|
7855
7829
|
"path": "/governance/api/v1/connectors/x/install",
|
|
7856
7830
|
"readOnly": false
|
|
7857
7831
|
}
|
|
@@ -7861,14 +7835,215 @@ export const bindings: BindingsMap = {
|
|
|
7861
7835
|
"level": "read",
|
|
7862
7836
|
"method": "GET",
|
|
7863
7837
|
"operationKey": "organization_youtube_install",
|
|
7838
|
+
"path": "/governance/api/v1/connectors/youtube/install",
|
|
7839
|
+
"readOnly": false
|
|
7840
|
+
}
|
|
7841
|
+
}
|
|
7842
|
+
},
|
|
7843
|
+
"playground": {
|
|
7844
|
+
"analytics": {
|
|
7845
|
+
"overview": {
|
|
7846
|
+
"level": "read",
|
|
7847
|
+
"method": "POST",
|
|
7848
|
+
"operationKey": "playground_analytics_overview",
|
|
7864
7849
|
"params": [
|
|
7865
7850
|
{
|
|
7866
|
-
"in": "
|
|
7867
|
-
"name": "
|
|
7851
|
+
"in": "body",
|
|
7852
|
+
"name": "limit"
|
|
7868
7853
|
}
|
|
7869
7854
|
],
|
|
7870
|
-
"path": "/
|
|
7855
|
+
"path": "/playground/analytics/overview",
|
|
7856
|
+
"readOnly": true
|
|
7857
|
+
}
|
|
7858
|
+
},
|
|
7859
|
+
"billing": {
|
|
7860
|
+
"entitlements": {
|
|
7861
|
+
"level": "read",
|
|
7862
|
+
"method": "POST",
|
|
7863
|
+
"operationKey": "playground_billing_entitlements",
|
|
7864
|
+
"path": "/playground/billing/entitlements",
|
|
7865
|
+
"readOnly": true
|
|
7866
|
+
},
|
|
7867
|
+
"record-usage": {
|
|
7868
|
+
"level": "write",
|
|
7869
|
+
"method": "POST",
|
|
7870
|
+
"operationKey": "playground_billing_record-usage",
|
|
7871
|
+
"params": [
|
|
7872
|
+
{
|
|
7873
|
+
"in": "body",
|
|
7874
|
+
"name": "value"
|
|
7875
|
+
}
|
|
7876
|
+
],
|
|
7877
|
+
"path": "/playground/billing/usage",
|
|
7878
|
+
"readOnly": false
|
|
7879
|
+
}
|
|
7880
|
+
},
|
|
7881
|
+
"clickup": {
|
|
7882
|
+
"create-task": {
|
|
7883
|
+
"level": "write",
|
|
7884
|
+
"method": "POST",
|
|
7885
|
+
"operationKey": "playground_clickup_create-task",
|
|
7886
|
+
"params": [
|
|
7887
|
+
{
|
|
7888
|
+
"in": "body",
|
|
7889
|
+
"name": "listId"
|
|
7890
|
+
},
|
|
7891
|
+
{
|
|
7892
|
+
"in": "body",
|
|
7893
|
+
"name": "name"
|
|
7894
|
+
}
|
|
7895
|
+
],
|
|
7896
|
+
"path": "/playground/clickup/tasks",
|
|
7897
|
+
"readOnly": false
|
|
7898
|
+
},
|
|
7899
|
+
"get-last-webhook": {
|
|
7900
|
+
"level": "read",
|
|
7901
|
+
"method": "GET",
|
|
7902
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7903
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7904
|
+
"readOnly": true
|
|
7905
|
+
},
|
|
7906
|
+
"get-overview": {
|
|
7907
|
+
"level": "read",
|
|
7908
|
+
"method": "GET",
|
|
7909
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7910
|
+
"path": "/playground/clickup/overview",
|
|
7911
|
+
"readOnly": true
|
|
7912
|
+
}
|
|
7913
|
+
},
|
|
7914
|
+
"echo": {
|
|
7915
|
+
"ping": {
|
|
7916
|
+
"level": "read",
|
|
7917
|
+
"method": "POST",
|
|
7918
|
+
"operationKey": "playground_echo_ping",
|
|
7919
|
+
"params": [
|
|
7920
|
+
{
|
|
7921
|
+
"in": "body",
|
|
7922
|
+
"name": "message"
|
|
7923
|
+
}
|
|
7924
|
+
],
|
|
7925
|
+
"path": "/playground/echo/ping",
|
|
7926
|
+
"readOnly": true
|
|
7927
|
+
}
|
|
7928
|
+
},
|
|
7929
|
+
"gdrive": {
|
|
7930
|
+
"get-last-change": {
|
|
7931
|
+
"level": "read",
|
|
7932
|
+
"method": "GET",
|
|
7933
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7934
|
+
"path": "/playground/gdrive/changes/last",
|
|
7935
|
+
"readOnly": true
|
|
7936
|
+
},
|
|
7937
|
+
"read-file": {
|
|
7938
|
+
"level": "read",
|
|
7939
|
+
"method": "POST",
|
|
7940
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7941
|
+
"params": [
|
|
7942
|
+
{
|
|
7943
|
+
"in": "body",
|
|
7944
|
+
"name": "fileId"
|
|
7945
|
+
}
|
|
7946
|
+
],
|
|
7947
|
+
"path": "/playground/gdrive/file",
|
|
7948
|
+
"readOnly": true
|
|
7949
|
+
}
|
|
7950
|
+
},
|
|
7951
|
+
"googleads": {
|
|
7952
|
+
"read-customer": {
|
|
7953
|
+
"level": "read",
|
|
7954
|
+
"method": "POST",
|
|
7955
|
+
"operationKey": "playground_googleads_read-customer",
|
|
7956
|
+
"path": "/playground/googleads/customer",
|
|
7957
|
+
"readOnly": true
|
|
7958
|
+
}
|
|
7959
|
+
},
|
|
7960
|
+
"lifecycle": {
|
|
7961
|
+
"get-state": {
|
|
7962
|
+
"level": "read",
|
|
7963
|
+
"method": "GET",
|
|
7964
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7965
|
+
"path": "/playground/lifecycle/state",
|
|
7966
|
+
"readOnly": true
|
|
7967
|
+
},
|
|
7968
|
+
"list-events": {
|
|
7969
|
+
"level": "read",
|
|
7970
|
+
"method": "GET",
|
|
7971
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7972
|
+
"path": "/playground/lifecycle/events",
|
|
7973
|
+
"readOnly": true
|
|
7974
|
+
}
|
|
7975
|
+
},
|
|
7976
|
+
"webhook": {
|
|
7977
|
+
"get-last": {
|
|
7978
|
+
"level": "read",
|
|
7979
|
+
"method": "GET",
|
|
7980
|
+
"operationKey": "playground_webhook_get-last",
|
|
7981
|
+
"path": "/playground/webhooks/last",
|
|
7982
|
+
"readOnly": true
|
|
7983
|
+
}
|
|
7984
|
+
},
|
|
7985
|
+
"workflow": {
|
|
7986
|
+
"echo": {
|
|
7987
|
+
"level": "write",
|
|
7988
|
+
"method": "POST",
|
|
7989
|
+
"operationKey": "playground_workflow_echo",
|
|
7990
|
+
"params": [
|
|
7991
|
+
{
|
|
7992
|
+
"in": "body",
|
|
7993
|
+
"name": "note"
|
|
7994
|
+
},
|
|
7995
|
+
{
|
|
7996
|
+
"in": "body",
|
|
7997
|
+
"name": "tags"
|
|
7998
|
+
}
|
|
7999
|
+
],
|
|
8000
|
+
"path": "/playground/workflow/echo",
|
|
8001
|
+
"readOnly": false
|
|
8002
|
+
},
|
|
8003
|
+
"echo-list": {
|
|
8004
|
+
"level": "read",
|
|
8005
|
+
"method": "GET",
|
|
8006
|
+
"operationKey": "playground_workflow_echo-list",
|
|
8007
|
+
"path": "/playground/workflow/echoes",
|
|
8008
|
+
"readOnly": true
|
|
8009
|
+
},
|
|
8010
|
+
"ping": {
|
|
8011
|
+
"level": "write",
|
|
8012
|
+
"method": "POST",
|
|
8013
|
+
"operationKey": "playground_workflow_ping",
|
|
8014
|
+
"params": [
|
|
8015
|
+
{
|
|
8016
|
+
"in": "body",
|
|
8017
|
+
"name": "kind"
|
|
8018
|
+
}
|
|
8019
|
+
],
|
|
8020
|
+
"path": "/playground/workflow/ping",
|
|
7871
8021
|
"readOnly": false
|
|
8022
|
+
},
|
|
8023
|
+
"subjects-list": {
|
|
8024
|
+
"level": "read",
|
|
8025
|
+
"method": "GET",
|
|
8026
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
8027
|
+
"params": [
|
|
8028
|
+
{
|
|
8029
|
+
"in": "query",
|
|
8030
|
+
"name": "last_activity_before"
|
|
8031
|
+
},
|
|
8032
|
+
{
|
|
8033
|
+
"in": "query",
|
|
8034
|
+
"name": "last_activity_after"
|
|
8035
|
+
},
|
|
8036
|
+
{
|
|
8037
|
+
"in": "query",
|
|
8038
|
+
"name": "limit"
|
|
8039
|
+
},
|
|
8040
|
+
{
|
|
8041
|
+
"in": "query",
|
|
8042
|
+
"name": "cursor"
|
|
8043
|
+
}
|
|
8044
|
+
],
|
|
8045
|
+
"path": "/playground/workflow/subjects",
|
|
8046
|
+
"readOnly": true
|
|
7872
8047
|
}
|
|
7873
8048
|
}
|
|
7874
8049
|
},
|
|
@@ -12170,4 +12345,12 @@ export const bindings: BindingsMap = {
|
|
|
12170
12345
|
}
|
|
12171
12346
|
};
|
|
12172
12347
|
|
|
12173
|
-
export const wsBindings: WsBindingsMap = {
|
|
12348
|
+
export const wsBindings: WsBindingsMap = {
|
|
12349
|
+
"playground": {
|
|
12350
|
+
"ws": {
|
|
12351
|
+
"echo": {
|
|
12352
|
+
"path": "/playground/ws/echo"
|
|
12353
|
+
}
|
|
12354
|
+
}
|
|
12355
|
+
}
|
|
12356
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -829,6 +829,40 @@ import type {
|
|
|
829
829
|
OrganizationXInstallOutput,
|
|
830
830
|
OrganizationYoutubeInstallInput,
|
|
831
831
|
OrganizationYoutubeInstallOutput,
|
|
832
|
+
PlaygroundAnalyticsOverviewInput,
|
|
833
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
834
|
+
PlaygroundBillingEntitlementsInput,
|
|
835
|
+
PlaygroundBillingEntitlementsOutput,
|
|
836
|
+
PlaygroundBillingRecordUsageInput,
|
|
837
|
+
PlaygroundBillingRecordUsageOutput,
|
|
838
|
+
PlaygroundClickupCreateTaskInput,
|
|
839
|
+
PlaygroundClickupCreateTaskOutput,
|
|
840
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
841
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
842
|
+
PlaygroundClickupGetOverviewInput,
|
|
843
|
+
PlaygroundClickupGetOverviewOutput,
|
|
844
|
+
PlaygroundEchoPingInput,
|
|
845
|
+
PlaygroundEchoPingOutput,
|
|
846
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
847
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
848
|
+
PlaygroundGdriveReadFileInput,
|
|
849
|
+
PlaygroundGdriveReadFileOutput,
|
|
850
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
851
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
852
|
+
PlaygroundLifecycleGetStateInput,
|
|
853
|
+
PlaygroundLifecycleGetStateOutput,
|
|
854
|
+
PlaygroundLifecycleListEventsInput,
|
|
855
|
+
PlaygroundLifecycleListEventsOutput,
|
|
856
|
+
PlaygroundWebhookGetLastInput,
|
|
857
|
+
PlaygroundWebhookGetLastOutput,
|
|
858
|
+
PlaygroundWorkflowEchoInput,
|
|
859
|
+
PlaygroundWorkflowEchoListInput,
|
|
860
|
+
PlaygroundWorkflowEchoListOutput,
|
|
861
|
+
PlaygroundWorkflowEchoOutput,
|
|
862
|
+
PlaygroundWorkflowPingInput,
|
|
863
|
+
PlaygroundWorkflowPingOutput,
|
|
864
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
865
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
832
866
|
RealtimeArchiveExportInput,
|
|
833
867
|
RealtimeArchiveExportOutput,
|
|
834
868
|
RealtimeArchiveExportStatusInput,
|
|
@@ -2000,6 +2034,43 @@ export interface GeneratedClient {
|
|
|
2000
2034
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
2001
2035
|
};
|
|
2002
2036
|
};
|
|
2037
|
+
playground: {
|
|
2038
|
+
analytics: {
|
|
2039
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
2040
|
+
};
|
|
2041
|
+
billing: {
|
|
2042
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
2043
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
2044
|
+
};
|
|
2045
|
+
clickup: {
|
|
2046
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
2047
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
2048
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
2049
|
+
};
|
|
2050
|
+
echo: {
|
|
2051
|
+
ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
|
|
2052
|
+
};
|
|
2053
|
+
gdrive: {
|
|
2054
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
2055
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
2056
|
+
};
|
|
2057
|
+
googleads: {
|
|
2058
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
2059
|
+
};
|
|
2060
|
+
lifecycle: {
|
|
2061
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
2062
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
2063
|
+
};
|
|
2064
|
+
webhook: {
|
|
2065
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
2066
|
+
};
|
|
2067
|
+
workflow: {
|
|
2068
|
+
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
2069
|
+
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
2070
|
+
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
2071
|
+
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
2072
|
+
};
|
|
2073
|
+
};
|
|
2003
2074
|
realtime: {
|
|
2004
2075
|
archive: {
|
|
2005
2076
|
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', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
|
|
4
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
|
|
5
5
|
|
|
6
6
|
export const operations: Record<string, ToolLevel> = {
|
|
7
7
|
'analytics_catalog_get': 'read',
|
|
@@ -418,6 +418,23 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
418
418
|
'organization_support_threads_list': 'read',
|
|
419
419
|
'organization_x_install': 'read',
|
|
420
420
|
'organization_youtube_install': 'read',
|
|
421
|
+
'playground_analytics_overview': 'read',
|
|
422
|
+
'playground_billing_entitlements': 'read',
|
|
423
|
+
'playground_billing_record-usage': 'write',
|
|
424
|
+
'playground_clickup_create-task': 'write',
|
|
425
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
426
|
+
'playground_clickup_get-overview': 'read',
|
|
427
|
+
'playground_echo_ping': 'read',
|
|
428
|
+
'playground_gdrive_get-last-change': 'read',
|
|
429
|
+
'playground_gdrive_read-file': 'read',
|
|
430
|
+
'playground_googleads_read-customer': 'read',
|
|
431
|
+
'playground_lifecycle_get-state': 'read',
|
|
432
|
+
'playground_lifecycle_list-events': 'read',
|
|
433
|
+
'playground_webhook_get-last': 'read',
|
|
434
|
+
'playground_workflow_echo': 'write',
|
|
435
|
+
'playground_workflow_echo-list': 'read',
|
|
436
|
+
'playground_workflow_ping': 'write',
|
|
437
|
+
'playground_workflow_subjects-list': 'read',
|
|
421
438
|
'realtime_archive_export': 'admin',
|
|
422
439
|
'realtime_archive_export_status': 'read',
|
|
423
440
|
'realtime_archive_get': 'read',
|
|
@@ -710,6 +727,9 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
710
727
|
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
711
728
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
712
729
|
'mail_usage_get': {"label":"Get usage"},
|
|
730
|
+
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
731
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
732
|
+
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
713
733
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
714
734
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
715
735
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|
|
@@ -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, PlaygroundEchoPingInput, PlaygroundEchoPingOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen';
|