@lessly/sdk-app 121.3.0 → 121.4.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 +5 -14
- 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 +379 -4
- package/dist/chunk-UICB65JB.js +12441 -0
- package/dist/chunk-UICB65JB.js.map +1 -0
- package/dist/index.cjs +241 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -12255
- 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 +22 -2
- 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 +425 -4
|
@@ -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-UICB65JB.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,cAAc,CAAA,C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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": "121.
|
|
4
|
+
"version": "121.4.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:525a72a6a712ea48e6f69580a78e6cbb26277cb5439d0ec0f34699a7f920f62a"
|
|
214
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -1175,6 +1175,10 @@ export const bindings: BindingsMap = {
|
|
|
1175
1175
|
"in": "body",
|
|
1176
1176
|
"name": "content"
|
|
1177
1177
|
},
|
|
1178
|
+
{
|
|
1179
|
+
"in": "body",
|
|
1180
|
+
"name": "idempotency_key"
|
|
1181
|
+
},
|
|
1178
1182
|
{
|
|
1179
1183
|
"in": "body",
|
|
1180
1184
|
"name": "metadata"
|
|
@@ -1186,6 +1190,10 @@ export const bindings: BindingsMap = {
|
|
|
1186
1190
|
{
|
|
1187
1191
|
"in": "body",
|
|
1188
1192
|
"name": "source_authority"
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"in": "body",
|
|
1196
|
+
"name": "extract"
|
|
1189
1197
|
}
|
|
1190
1198
|
],
|
|
1191
1199
|
"path": "/brain/memory",
|
|
@@ -1199,6 +1207,10 @@ export const bindings: BindingsMap = {
|
|
|
1199
1207
|
{
|
|
1200
1208
|
"in": "path",
|
|
1201
1209
|
"name": "memory_id"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"in": "body",
|
|
1213
|
+
"name": "idempotency_key"
|
|
1202
1214
|
}
|
|
1203
1215
|
],
|
|
1204
1216
|
"path": "/brain/memory/:memory_id",
|
|
@@ -1288,6 +1300,10 @@ export const bindings: BindingsMap = {
|
|
|
1288
1300
|
{
|
|
1289
1301
|
"in": "body",
|
|
1290
1302
|
"name": "content"
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"in": "body",
|
|
1306
|
+
"name": "idempotency_key"
|
|
1291
1307
|
}
|
|
1292
1308
|
],
|
|
1293
1309
|
"path": "/brain/memory/:memory_id",
|
|
@@ -6480,12 +6496,6 @@ export const bindings: BindingsMap = {
|
|
|
6480
6496
|
"level": "read",
|
|
6481
6497
|
"method": "GET",
|
|
6482
6498
|
"operationKey": "organization_clickup_install",
|
|
6483
|
-
"params": [
|
|
6484
|
-
{
|
|
6485
|
-
"in": "query",
|
|
6486
|
-
"name": "share"
|
|
6487
|
-
}
|
|
6488
|
-
],
|
|
6489
6499
|
"path": "/governance/api/v1/connectors/clickup/install",
|
|
6490
6500
|
"readOnly": false
|
|
6491
6501
|
},
|
|
@@ -6502,12 +6512,6 @@ export const bindings: BindingsMap = {
|
|
|
6502
6512
|
"level": "read",
|
|
6503
6513
|
"method": "GET",
|
|
6504
6514
|
"operationKey": "organization_cloudflare_install",
|
|
6505
|
-
"params": [
|
|
6506
|
-
{
|
|
6507
|
-
"in": "query",
|
|
6508
|
-
"name": "share"
|
|
6509
|
-
}
|
|
6510
|
-
],
|
|
6511
6515
|
"path": "/governance/api/v1/connectors/cloudflare/install",
|
|
6512
6516
|
"readOnly": false
|
|
6513
6517
|
}
|
|
@@ -6828,12 +6832,6 @@ export const bindings: BindingsMap = {
|
|
|
6828
6832
|
"level": "read",
|
|
6829
6833
|
"method": "GET",
|
|
6830
6834
|
"operationKey": "organization_gdrive_install",
|
|
6831
|
-
"params": [
|
|
6832
|
-
{
|
|
6833
|
-
"in": "query",
|
|
6834
|
-
"name": "share"
|
|
6835
|
-
}
|
|
6836
|
-
],
|
|
6837
6835
|
"path": "/governance/api/v1/connectors/gdrive/install",
|
|
6838
6836
|
"readOnly": false
|
|
6839
6837
|
}
|
|
@@ -6843,12 +6841,6 @@ export const bindings: BindingsMap = {
|
|
|
6843
6841
|
"level": "read",
|
|
6844
6842
|
"method": "GET",
|
|
6845
6843
|
"operationKey": "organization_github_install",
|
|
6846
|
-
"params": [
|
|
6847
|
-
{
|
|
6848
|
-
"in": "query",
|
|
6849
|
-
"name": "share"
|
|
6850
|
-
}
|
|
6851
|
-
],
|
|
6852
6844
|
"path": "/governance/api/v1/connectors/github/install",
|
|
6853
6845
|
"readOnly": false
|
|
6854
6846
|
},
|
|
@@ -7063,12 +7055,6 @@ export const bindings: BindingsMap = {
|
|
|
7063
7055
|
"level": "read",
|
|
7064
7056
|
"method": "GET",
|
|
7065
7057
|
"operationKey": "organization_linkedin_member_install",
|
|
7066
|
-
"params": [
|
|
7067
|
-
{
|
|
7068
|
-
"in": "query",
|
|
7069
|
-
"name": "share"
|
|
7070
|
-
}
|
|
7071
|
-
],
|
|
7072
7058
|
"path": "/governance/api/v1/connectors/linkedin-member/install",
|
|
7073
7059
|
"readOnly": false
|
|
7074
7060
|
}
|
|
@@ -7705,12 +7691,6 @@ export const bindings: BindingsMap = {
|
|
|
7705
7691
|
"level": "read",
|
|
7706
7692
|
"method": "GET",
|
|
7707
7693
|
"operationKey": "organization_reddit_install",
|
|
7708
|
-
"params": [
|
|
7709
|
-
{
|
|
7710
|
-
"in": "query",
|
|
7711
|
-
"name": "share"
|
|
7712
|
-
}
|
|
7713
|
-
],
|
|
7714
7694
|
"path": "/governance/api/v1/connectors/reddit/install",
|
|
7715
7695
|
"readOnly": false
|
|
7716
7696
|
}
|
|
@@ -7904,12 +7884,6 @@ export const bindings: BindingsMap = {
|
|
|
7904
7884
|
"level": "read",
|
|
7905
7885
|
"method": "GET",
|
|
7906
7886
|
"operationKey": "organization_x_install",
|
|
7907
|
-
"params": [
|
|
7908
|
-
{
|
|
7909
|
-
"in": "query",
|
|
7910
|
-
"name": "share"
|
|
7911
|
-
}
|
|
7912
|
-
],
|
|
7913
7887
|
"path": "/governance/api/v1/connectors/x/install",
|
|
7914
7888
|
"readOnly": false
|
|
7915
7889
|
}
|
|
@@ -7919,15 +7893,216 @@ export const bindings: BindingsMap = {
|
|
|
7919
7893
|
"level": "read",
|
|
7920
7894
|
"method": "GET",
|
|
7921
7895
|
"operationKey": "organization_youtube_install",
|
|
7896
|
+
"path": "/governance/api/v1/connectors/youtube/install",
|
|
7897
|
+
"readOnly": false
|
|
7898
|
+
}
|
|
7899
|
+
}
|
|
7900
|
+
},
|
|
7901
|
+
"playground": {
|
|
7902
|
+
"analytics": {
|
|
7903
|
+
"overview": {
|
|
7904
|
+
"level": "read",
|
|
7905
|
+
"method": "POST",
|
|
7906
|
+
"operationKey": "playground_analytics_overview",
|
|
7922
7907
|
"params": [
|
|
7923
7908
|
{
|
|
7924
|
-
"in": "
|
|
7925
|
-
"name": "
|
|
7909
|
+
"in": "body",
|
|
7910
|
+
"name": "limit"
|
|
7926
7911
|
}
|
|
7927
7912
|
],
|
|
7928
|
-
"path": "/
|
|
7913
|
+
"path": "/playground/analytics/overview",
|
|
7914
|
+
"readOnly": true
|
|
7915
|
+
}
|
|
7916
|
+
},
|
|
7917
|
+
"billing": {
|
|
7918
|
+
"entitlements": {
|
|
7919
|
+
"level": "read",
|
|
7920
|
+
"method": "POST",
|
|
7921
|
+
"operationKey": "playground_billing_entitlements",
|
|
7922
|
+
"path": "/playground/billing/entitlements",
|
|
7923
|
+
"readOnly": true
|
|
7924
|
+
},
|
|
7925
|
+
"record-usage": {
|
|
7926
|
+
"level": "write",
|
|
7927
|
+
"method": "POST",
|
|
7928
|
+
"operationKey": "playground_billing_record-usage",
|
|
7929
|
+
"params": [
|
|
7930
|
+
{
|
|
7931
|
+
"in": "body",
|
|
7932
|
+
"name": "value"
|
|
7933
|
+
}
|
|
7934
|
+
],
|
|
7935
|
+
"path": "/playground/billing/usage",
|
|
7929
7936
|
"readOnly": false
|
|
7930
7937
|
}
|
|
7938
|
+
},
|
|
7939
|
+
"clickup": {
|
|
7940
|
+
"create-task": {
|
|
7941
|
+
"level": "write",
|
|
7942
|
+
"method": "POST",
|
|
7943
|
+
"operationKey": "playground_clickup_create-task",
|
|
7944
|
+
"params": [
|
|
7945
|
+
{
|
|
7946
|
+
"in": "body",
|
|
7947
|
+
"name": "listId"
|
|
7948
|
+
},
|
|
7949
|
+
{
|
|
7950
|
+
"in": "body",
|
|
7951
|
+
"name": "name"
|
|
7952
|
+
}
|
|
7953
|
+
],
|
|
7954
|
+
"path": "/playground/clickup/tasks",
|
|
7955
|
+
"readOnly": false
|
|
7956
|
+
},
|
|
7957
|
+
"get-last-webhook": {
|
|
7958
|
+
"level": "read",
|
|
7959
|
+
"method": "GET",
|
|
7960
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7961
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7962
|
+
"readOnly": true
|
|
7963
|
+
},
|
|
7964
|
+
"get-overview": {
|
|
7965
|
+
"level": "read",
|
|
7966
|
+
"method": "GET",
|
|
7967
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7968
|
+
"path": "/playground/clickup/overview",
|
|
7969
|
+
"readOnly": true
|
|
7970
|
+
}
|
|
7971
|
+
},
|
|
7972
|
+
"echo": {
|
|
7973
|
+
"ping": {
|
|
7974
|
+
"level": "read",
|
|
7975
|
+
"method": "POST",
|
|
7976
|
+
"operationKey": "playground_echo_ping",
|
|
7977
|
+
"params": [
|
|
7978
|
+
{
|
|
7979
|
+
"in": "body",
|
|
7980
|
+
"name": "message"
|
|
7981
|
+
}
|
|
7982
|
+
],
|
|
7983
|
+
"path": "/playground/echo/ping",
|
|
7984
|
+
"readOnly": true
|
|
7985
|
+
}
|
|
7986
|
+
},
|
|
7987
|
+
"gdrive": {
|
|
7988
|
+
"get-last-change": {
|
|
7989
|
+
"level": "read",
|
|
7990
|
+
"method": "GET",
|
|
7991
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7992
|
+
"path": "/playground/gdrive/changes/last",
|
|
7993
|
+
"readOnly": true
|
|
7994
|
+
},
|
|
7995
|
+
"read-file": {
|
|
7996
|
+
"level": "read",
|
|
7997
|
+
"method": "POST",
|
|
7998
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7999
|
+
"params": [
|
|
8000
|
+
{
|
|
8001
|
+
"in": "body",
|
|
8002
|
+
"name": "fileId"
|
|
8003
|
+
}
|
|
8004
|
+
],
|
|
8005
|
+
"path": "/playground/gdrive/file",
|
|
8006
|
+
"readOnly": true
|
|
8007
|
+
}
|
|
8008
|
+
},
|
|
8009
|
+
"googleads": {
|
|
8010
|
+
"read-customer": {
|
|
8011
|
+
"level": "read",
|
|
8012
|
+
"method": "POST",
|
|
8013
|
+
"operationKey": "playground_googleads_read-customer",
|
|
8014
|
+
"path": "/playground/googleads/customer",
|
|
8015
|
+
"readOnly": true
|
|
8016
|
+
}
|
|
8017
|
+
},
|
|
8018
|
+
"lifecycle": {
|
|
8019
|
+
"get-state": {
|
|
8020
|
+
"level": "read",
|
|
8021
|
+
"method": "GET",
|
|
8022
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
8023
|
+
"path": "/playground/lifecycle/state",
|
|
8024
|
+
"readOnly": true
|
|
8025
|
+
},
|
|
8026
|
+
"list-events": {
|
|
8027
|
+
"level": "read",
|
|
8028
|
+
"method": "GET",
|
|
8029
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
8030
|
+
"path": "/playground/lifecycle/events",
|
|
8031
|
+
"readOnly": true
|
|
8032
|
+
}
|
|
8033
|
+
},
|
|
8034
|
+
"webhook": {
|
|
8035
|
+
"get-last": {
|
|
8036
|
+
"level": "read",
|
|
8037
|
+
"method": "GET",
|
|
8038
|
+
"operationKey": "playground_webhook_get-last",
|
|
8039
|
+
"path": "/playground/webhooks/last",
|
|
8040
|
+
"readOnly": true
|
|
8041
|
+
}
|
|
8042
|
+
},
|
|
8043
|
+
"workflow": {
|
|
8044
|
+
"echo": {
|
|
8045
|
+
"level": "write",
|
|
8046
|
+
"method": "POST",
|
|
8047
|
+
"operationKey": "playground_workflow_echo",
|
|
8048
|
+
"params": [
|
|
8049
|
+
{
|
|
8050
|
+
"in": "body",
|
|
8051
|
+
"name": "note"
|
|
8052
|
+
},
|
|
8053
|
+
{
|
|
8054
|
+
"in": "body",
|
|
8055
|
+
"name": "tags"
|
|
8056
|
+
}
|
|
8057
|
+
],
|
|
8058
|
+
"path": "/playground/workflow/echo",
|
|
8059
|
+
"readOnly": false
|
|
8060
|
+
},
|
|
8061
|
+
"echo-list": {
|
|
8062
|
+
"level": "read",
|
|
8063
|
+
"method": "GET",
|
|
8064
|
+
"operationKey": "playground_workflow_echo-list",
|
|
8065
|
+
"path": "/playground/workflow/echoes",
|
|
8066
|
+
"readOnly": true
|
|
8067
|
+
},
|
|
8068
|
+
"ping": {
|
|
8069
|
+
"level": "write",
|
|
8070
|
+
"method": "POST",
|
|
8071
|
+
"operationKey": "playground_workflow_ping",
|
|
8072
|
+
"params": [
|
|
8073
|
+
{
|
|
8074
|
+
"in": "body",
|
|
8075
|
+
"name": "kind"
|
|
8076
|
+
}
|
|
8077
|
+
],
|
|
8078
|
+
"path": "/playground/workflow/ping",
|
|
8079
|
+
"readOnly": false
|
|
8080
|
+
},
|
|
8081
|
+
"subjects-list": {
|
|
8082
|
+
"level": "read",
|
|
8083
|
+
"method": "GET",
|
|
8084
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
8085
|
+
"params": [
|
|
8086
|
+
{
|
|
8087
|
+
"in": "query",
|
|
8088
|
+
"name": "last_activity_before"
|
|
8089
|
+
},
|
|
8090
|
+
{
|
|
8091
|
+
"in": "query",
|
|
8092
|
+
"name": "last_activity_after"
|
|
8093
|
+
},
|
|
8094
|
+
{
|
|
8095
|
+
"in": "query",
|
|
8096
|
+
"name": "limit"
|
|
8097
|
+
},
|
|
8098
|
+
{
|
|
8099
|
+
"in": "query",
|
|
8100
|
+
"name": "cursor"
|
|
8101
|
+
}
|
|
8102
|
+
],
|
|
8103
|
+
"path": "/playground/workflow/subjects",
|
|
8104
|
+
"readOnly": true
|
|
8105
|
+
}
|
|
7931
8106
|
}
|
|
7932
8107
|
},
|
|
7933
8108
|
"realtime": {
|
|
@@ -12254,4 +12429,12 @@ export const bindings: BindingsMap = {
|
|
|
12254
12429
|
}
|
|
12255
12430
|
};
|
|
12256
12431
|
|
|
12257
|
-
export const wsBindings: WsBindingsMap = {
|
|
12432
|
+
export const wsBindings: WsBindingsMap = {
|
|
12433
|
+
"playground": {
|
|
12434
|
+
"ws": {
|
|
12435
|
+
"echo": {
|
|
12436
|
+
"path": "/playground/ws/echo"
|
|
12437
|
+
}
|
|
12438
|
+
}
|
|
12439
|
+
}
|
|
12440
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -833,6 +833,40 @@ 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,
|
|
836
870
|
RealtimeArchiveExportInput,
|
|
837
871
|
RealtimeArchiveExportOutput,
|
|
838
872
|
RealtimeArchiveExportStatusInput,
|
|
@@ -2012,6 +2046,43 @@ export interface GeneratedClient {
|
|
|
2012
2046
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
2013
2047
|
};
|
|
2014
2048
|
};
|
|
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
|
+
};
|
|
2015
2086
|
realtime: {
|
|
2016
2087
|
archive: {
|
|
2017
2088
|
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',
|
|
@@ -420,6 +420,23 @@ 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',
|
|
423
440
|
'realtime_archive_export': 'admin',
|
|
424
441
|
'realtime_archive_export_status': 'read',
|
|
425
442
|
'realtime_archive_get': 'read',
|
|
@@ -655,7 +672,7 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
655
672
|
'brain_memory_delete': {"label":"Delete memory","options":{"memory_id":"brain_memory_list"}},
|
|
656
673
|
'brain_memory_get': {"pii":["output.content"],"label":"Get memory","options":{"memory_id":"brain_memory_list"}},
|
|
657
674
|
'brain_memory_list': {"pii":["output.memories[].content","output.memories[].custom"],"label":"List memories"},
|
|
658
|
-
'brain_memory_search': {"pii":["input.query","output.profile[].content","output.normal[].content","output.proactive[].content"],"label":"Search memories"},
|
|
675
|
+
'brain_memory_search': {"pii":["input.query","output.profile[].content","output.profile[].source.content","output.normal[].content","output.normal[].source.content","output.proactive[].content","output.proactive[].source.content"],"label":"Search memories"},
|
|
659
676
|
'brain_memory_stats': {"label":"Memory stats"},
|
|
660
677
|
'brain_memory_update': {"pii":["input.content"],"label":"Update memory","options":{"memory_id":"brain_memory_list"}},
|
|
661
678
|
'brain_usage_report': {"label":"Get usage report"},
|
|
@@ -714,6 +731,9 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
714
731
|
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
715
732
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
716
733
|
'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"},
|
|
717
737
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
718
738
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
719
739
|
'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';
|