@lessly/sdk-app 86.0.0 → 87.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_types/gen/client.gen.d.ts +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 +1951 -43
- package/dist/chunk-EMK3O6JA.js +11397 -0
- package/dist/chunk-EMK3O6JA.js.map +1 -0
- package/dist/index.cjs +240 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +33 -11200
- 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 +218 -3
- package/src/gen/client.gen.ts +71 -0
- package/src/gen/manifest.gen.ts +32 -23
- 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 +1977 -23
|
@@ -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-EMK3O6JA.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,CAAE,KAAK;A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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": "87.0.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
|
|
@@ -158,6 +158,16 @@
|
|
|
158
158
|
"default": "./dist/organization/index.cjs"
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
+
"./playground": {
|
|
162
|
+
"import": {
|
|
163
|
+
"types": "./dist/playground/index.d.ts",
|
|
164
|
+
"default": "./dist/playground/index.js"
|
|
165
|
+
},
|
|
166
|
+
"require": {
|
|
167
|
+
"types": "./dist/playground/index.d.cts",
|
|
168
|
+
"default": "./dist/playground/index.cjs"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
161
171
|
"./realtime": {
|
|
162
172
|
"import": {
|
|
163
173
|
"types": "./dist/realtime/index.d.ts",
|
|
@@ -209,5 +219,5 @@
|
|
|
209
219
|
}
|
|
210
220
|
}
|
|
211
221
|
},
|
|
212
|
-
"sdkContentHash": "sha256:
|
|
222
|
+
"sdkContentHash": "sha256:c4d3e9f5f9cf4ad5a58819e1c502a1b5e5e4e8bab57be5f09527d02382ffea35"
|
|
213
223
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -7270,6 +7270,213 @@ export const bindings: BindingsMap = {
|
|
|
7270
7270
|
}
|
|
7271
7271
|
}
|
|
7272
7272
|
},
|
|
7273
|
+
"playground": {
|
|
7274
|
+
"analytics": {
|
|
7275
|
+
"overview": {
|
|
7276
|
+
"level": "read",
|
|
7277
|
+
"method": "POST",
|
|
7278
|
+
"operationKey": "playground_analytics_overview",
|
|
7279
|
+
"params": [
|
|
7280
|
+
{
|
|
7281
|
+
"in": "body",
|
|
7282
|
+
"name": "limit"
|
|
7283
|
+
}
|
|
7284
|
+
],
|
|
7285
|
+
"path": "/playground/analytics/overview",
|
|
7286
|
+
"readOnly": true
|
|
7287
|
+
}
|
|
7288
|
+
},
|
|
7289
|
+
"billing": {
|
|
7290
|
+
"entitlements": {
|
|
7291
|
+
"level": "read",
|
|
7292
|
+
"method": "POST",
|
|
7293
|
+
"operationKey": "playground_billing_entitlements",
|
|
7294
|
+
"path": "/playground/billing/entitlements",
|
|
7295
|
+
"readOnly": true
|
|
7296
|
+
},
|
|
7297
|
+
"record-usage": {
|
|
7298
|
+
"level": "write",
|
|
7299
|
+
"method": "POST",
|
|
7300
|
+
"operationKey": "playground_billing_record-usage",
|
|
7301
|
+
"params": [
|
|
7302
|
+
{
|
|
7303
|
+
"in": "body",
|
|
7304
|
+
"name": "value"
|
|
7305
|
+
}
|
|
7306
|
+
],
|
|
7307
|
+
"path": "/playground/billing/usage",
|
|
7308
|
+
"readOnly": false
|
|
7309
|
+
}
|
|
7310
|
+
},
|
|
7311
|
+
"clickup": {
|
|
7312
|
+
"create-task": {
|
|
7313
|
+
"level": "write",
|
|
7314
|
+
"method": "POST",
|
|
7315
|
+
"operationKey": "playground_clickup_create-task",
|
|
7316
|
+
"params": [
|
|
7317
|
+
{
|
|
7318
|
+
"in": "body",
|
|
7319
|
+
"name": "listId"
|
|
7320
|
+
},
|
|
7321
|
+
{
|
|
7322
|
+
"in": "body",
|
|
7323
|
+
"name": "name"
|
|
7324
|
+
}
|
|
7325
|
+
],
|
|
7326
|
+
"path": "/playground/clickup/tasks",
|
|
7327
|
+
"readOnly": false
|
|
7328
|
+
},
|
|
7329
|
+
"get-last-webhook": {
|
|
7330
|
+
"level": "read",
|
|
7331
|
+
"method": "GET",
|
|
7332
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7333
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7334
|
+
"readOnly": true
|
|
7335
|
+
},
|
|
7336
|
+
"get-overview": {
|
|
7337
|
+
"level": "read",
|
|
7338
|
+
"method": "GET",
|
|
7339
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7340
|
+
"path": "/playground/clickup/overview",
|
|
7341
|
+
"readOnly": true
|
|
7342
|
+
}
|
|
7343
|
+
},
|
|
7344
|
+
"echo": {
|
|
7345
|
+
"ping": {
|
|
7346
|
+
"level": "read",
|
|
7347
|
+
"method": "POST",
|
|
7348
|
+
"operationKey": "playground_echo_ping",
|
|
7349
|
+
"params": [
|
|
7350
|
+
{
|
|
7351
|
+
"in": "body",
|
|
7352
|
+
"name": "message"
|
|
7353
|
+
}
|
|
7354
|
+
],
|
|
7355
|
+
"path": "/playground/echo/ping",
|
|
7356
|
+
"readOnly": true
|
|
7357
|
+
}
|
|
7358
|
+
},
|
|
7359
|
+
"gdrive": {
|
|
7360
|
+
"get-last-change": {
|
|
7361
|
+
"level": "read",
|
|
7362
|
+
"method": "GET",
|
|
7363
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7364
|
+
"path": "/playground/gdrive/changes/last",
|
|
7365
|
+
"readOnly": true
|
|
7366
|
+
},
|
|
7367
|
+
"read-file": {
|
|
7368
|
+
"level": "read",
|
|
7369
|
+
"method": "POST",
|
|
7370
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7371
|
+
"params": [
|
|
7372
|
+
{
|
|
7373
|
+
"in": "body",
|
|
7374
|
+
"name": "fileId"
|
|
7375
|
+
}
|
|
7376
|
+
],
|
|
7377
|
+
"path": "/playground/gdrive/file",
|
|
7378
|
+
"readOnly": true
|
|
7379
|
+
}
|
|
7380
|
+
},
|
|
7381
|
+
"googleads": {
|
|
7382
|
+
"read-customer": {
|
|
7383
|
+
"level": "read",
|
|
7384
|
+
"method": "POST",
|
|
7385
|
+
"operationKey": "playground_googleads_read-customer",
|
|
7386
|
+
"path": "/playground/googleads/customer",
|
|
7387
|
+
"readOnly": true
|
|
7388
|
+
}
|
|
7389
|
+
},
|
|
7390
|
+
"lifecycle": {
|
|
7391
|
+
"get-state": {
|
|
7392
|
+
"level": "read",
|
|
7393
|
+
"method": "GET",
|
|
7394
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7395
|
+
"path": "/playground/lifecycle/state",
|
|
7396
|
+
"readOnly": true
|
|
7397
|
+
},
|
|
7398
|
+
"list-events": {
|
|
7399
|
+
"level": "read",
|
|
7400
|
+
"method": "GET",
|
|
7401
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7402
|
+
"path": "/playground/lifecycle/events",
|
|
7403
|
+
"readOnly": true
|
|
7404
|
+
}
|
|
7405
|
+
},
|
|
7406
|
+
"webhook": {
|
|
7407
|
+
"get-last": {
|
|
7408
|
+
"level": "read",
|
|
7409
|
+
"method": "GET",
|
|
7410
|
+
"operationKey": "playground_webhook_get-last",
|
|
7411
|
+
"path": "/playground/webhooks/last",
|
|
7412
|
+
"readOnly": true
|
|
7413
|
+
}
|
|
7414
|
+
},
|
|
7415
|
+
"workflow": {
|
|
7416
|
+
"echo": {
|
|
7417
|
+
"level": "write",
|
|
7418
|
+
"method": "POST",
|
|
7419
|
+
"operationKey": "playground_workflow_echo",
|
|
7420
|
+
"params": [
|
|
7421
|
+
{
|
|
7422
|
+
"in": "body",
|
|
7423
|
+
"name": "note"
|
|
7424
|
+
},
|
|
7425
|
+
{
|
|
7426
|
+
"in": "body",
|
|
7427
|
+
"name": "tags"
|
|
7428
|
+
}
|
|
7429
|
+
],
|
|
7430
|
+
"path": "/playground/workflow/echo",
|
|
7431
|
+
"readOnly": false
|
|
7432
|
+
},
|
|
7433
|
+
"echo-list": {
|
|
7434
|
+
"level": "read",
|
|
7435
|
+
"method": "GET",
|
|
7436
|
+
"operationKey": "playground_workflow_echo-list",
|
|
7437
|
+
"path": "/playground/workflow/echoes",
|
|
7438
|
+
"readOnly": true
|
|
7439
|
+
},
|
|
7440
|
+
"ping": {
|
|
7441
|
+
"level": "write",
|
|
7442
|
+
"method": "POST",
|
|
7443
|
+
"operationKey": "playground_workflow_ping",
|
|
7444
|
+
"params": [
|
|
7445
|
+
{
|
|
7446
|
+
"in": "body",
|
|
7447
|
+
"name": "kind"
|
|
7448
|
+
}
|
|
7449
|
+
],
|
|
7450
|
+
"path": "/playground/workflow/ping",
|
|
7451
|
+
"readOnly": false
|
|
7452
|
+
},
|
|
7453
|
+
"subjects-list": {
|
|
7454
|
+
"level": "read",
|
|
7455
|
+
"method": "GET",
|
|
7456
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
7457
|
+
"params": [
|
|
7458
|
+
{
|
|
7459
|
+
"in": "query",
|
|
7460
|
+
"name": "last_activity_before"
|
|
7461
|
+
},
|
|
7462
|
+
{
|
|
7463
|
+
"in": "query",
|
|
7464
|
+
"name": "last_activity_after"
|
|
7465
|
+
},
|
|
7466
|
+
{
|
|
7467
|
+
"in": "query",
|
|
7468
|
+
"name": "limit"
|
|
7469
|
+
},
|
|
7470
|
+
{
|
|
7471
|
+
"in": "query",
|
|
7472
|
+
"name": "cursor"
|
|
7473
|
+
}
|
|
7474
|
+
],
|
|
7475
|
+
"path": "/playground/workflow/subjects",
|
|
7476
|
+
"readOnly": true
|
|
7477
|
+
}
|
|
7478
|
+
}
|
|
7479
|
+
},
|
|
7273
7480
|
"realtime": {
|
|
7274
7481
|
"archive": {
|
|
7275
7482
|
"export": {
|
|
@@ -10840,7 +11047,7 @@ export const bindings: BindingsMap = {
|
|
|
10840
11047
|
"readOnly": true
|
|
10841
11048
|
},
|
|
10842
11049
|
"set": {
|
|
10843
|
-
"level": "
|
|
11050
|
+
"level": "admin",
|
|
10844
11051
|
"method": "POST",
|
|
10845
11052
|
"operationKey": "workflow_killswitch_set",
|
|
10846
11053
|
"params": [
|
|
@@ -11150,7 +11357,7 @@ export const bindings: BindingsMap = {
|
|
|
11150
11357
|
},
|
|
11151
11358
|
"wait-list": {
|
|
11152
11359
|
"all": {
|
|
11153
|
-
"level": "
|
|
11360
|
+
"level": "admin",
|
|
11154
11361
|
"method": "GET",
|
|
11155
11362
|
"operationKey": "workflow_wait_list_all",
|
|
11156
11363
|
"params": [
|
|
@@ -11178,4 +11385,12 @@ export const bindings: BindingsMap = {
|
|
|
11178
11385
|
}
|
|
11179
11386
|
};
|
|
11180
11387
|
|
|
11181
|
-
export const wsBindings: WsBindingsMap = {
|
|
11388
|
+
export const wsBindings: WsBindingsMap = {
|
|
11389
|
+
"playground": {
|
|
11390
|
+
"ws": {
|
|
11391
|
+
"echo": {
|
|
11392
|
+
"path": "/playground/ws/echo"
|
|
11393
|
+
}
|
|
11394
|
+
}
|
|
11395
|
+
}
|
|
11396
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -781,6 +781,40 @@ import type {
|
|
|
781
781
|
OrganizationXInstallOutput,
|
|
782
782
|
OrganizationYoutubeInstallInput,
|
|
783
783
|
OrganizationYoutubeInstallOutput,
|
|
784
|
+
PlaygroundAnalyticsOverviewInput,
|
|
785
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
786
|
+
PlaygroundBillingEntitlementsInput,
|
|
787
|
+
PlaygroundBillingEntitlementsOutput,
|
|
788
|
+
PlaygroundBillingRecordUsageInput,
|
|
789
|
+
PlaygroundBillingRecordUsageOutput,
|
|
790
|
+
PlaygroundClickupCreateTaskInput,
|
|
791
|
+
PlaygroundClickupCreateTaskOutput,
|
|
792
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
793
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
794
|
+
PlaygroundClickupGetOverviewInput,
|
|
795
|
+
PlaygroundClickupGetOverviewOutput,
|
|
796
|
+
PlaygroundEchoPingInput,
|
|
797
|
+
PlaygroundEchoPingOutput,
|
|
798
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
799
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
800
|
+
PlaygroundGdriveReadFileInput,
|
|
801
|
+
PlaygroundGdriveReadFileOutput,
|
|
802
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
803
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
804
|
+
PlaygroundLifecycleGetStateInput,
|
|
805
|
+
PlaygroundLifecycleGetStateOutput,
|
|
806
|
+
PlaygroundLifecycleListEventsInput,
|
|
807
|
+
PlaygroundLifecycleListEventsOutput,
|
|
808
|
+
PlaygroundWebhookGetLastInput,
|
|
809
|
+
PlaygroundWebhookGetLastOutput,
|
|
810
|
+
PlaygroundWorkflowEchoInput,
|
|
811
|
+
PlaygroundWorkflowEchoListInput,
|
|
812
|
+
PlaygroundWorkflowEchoListOutput,
|
|
813
|
+
PlaygroundWorkflowEchoOutput,
|
|
814
|
+
PlaygroundWorkflowPingInput,
|
|
815
|
+
PlaygroundWorkflowPingOutput,
|
|
816
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
817
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
784
818
|
RealtimeArchiveExportInput,
|
|
785
819
|
RealtimeArchiveExportOutput,
|
|
786
820
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1886,6 +1920,43 @@ export interface GeneratedClient {
|
|
|
1886
1920
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
1887
1921
|
};
|
|
1888
1922
|
};
|
|
1923
|
+
playground: {
|
|
1924
|
+
analytics: {
|
|
1925
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
1926
|
+
};
|
|
1927
|
+
billing: {
|
|
1928
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
1929
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
1930
|
+
};
|
|
1931
|
+
clickup: {
|
|
1932
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
1933
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
1934
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
1935
|
+
};
|
|
1936
|
+
echo: {
|
|
1937
|
+
ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
|
|
1938
|
+
};
|
|
1939
|
+
gdrive: {
|
|
1940
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
1941
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
1942
|
+
};
|
|
1943
|
+
googleads: {
|
|
1944
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
1945
|
+
};
|
|
1946
|
+
lifecycle: {
|
|
1947
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
1948
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
1949
|
+
};
|
|
1950
|
+
webhook: {
|
|
1951
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
1952
|
+
};
|
|
1953
|
+
workflow: {
|
|
1954
|
+
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
1955
|
+
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
1956
|
+
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
1957
|
+
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
1958
|
+
};
|
|
1959
|
+
};
|
|
1889
1960
|
realtime: {
|
|
1890
1961
|
archive: {
|
|
1891
1962
|
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',
|
|
@@ -394,6 +394,23 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
394
394
|
'organization_support_threads_list': 'read',
|
|
395
395
|
'organization_x_install': 'read',
|
|
396
396
|
'organization_youtube_install': 'read',
|
|
397
|
+
'playground_analytics_overview': 'read',
|
|
398
|
+
'playground_billing_entitlements': 'read',
|
|
399
|
+
'playground_billing_record-usage': 'write',
|
|
400
|
+
'playground_clickup_create-task': 'write',
|
|
401
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
402
|
+
'playground_clickup_get-overview': 'read',
|
|
403
|
+
'playground_echo_ping': 'read',
|
|
404
|
+
'playground_gdrive_get-last-change': 'read',
|
|
405
|
+
'playground_gdrive_read-file': 'read',
|
|
406
|
+
'playground_googleads_read-customer': 'read',
|
|
407
|
+
'playground_lifecycle_get-state': 'read',
|
|
408
|
+
'playground_lifecycle_list-events': 'read',
|
|
409
|
+
'playground_webhook_get-last': 'read',
|
|
410
|
+
'playground_workflow_echo': 'write',
|
|
411
|
+
'playground_workflow_echo-list': 'read',
|
|
412
|
+
'playground_workflow_ping': 'write',
|
|
413
|
+
'playground_workflow_subjects-list': 'read',
|
|
397
414
|
'realtime_archive_export': 'admin',
|
|
398
415
|
'realtime_archive_export_status': 'read',
|
|
399
416
|
'realtime_archive_get': 'read',
|
|
@@ -579,7 +596,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
579
596
|
'workflow_health_list': 'read',
|
|
580
597
|
'workflow_health_ping': 'read',
|
|
581
598
|
'workflow_killswitch_get': 'read',
|
|
582
|
-
'workflow_killswitch_set': '
|
|
599
|
+
'workflow_killswitch_set': 'admin',
|
|
583
600
|
'workflow_run_cancel': 'write',
|
|
584
601
|
'workflow_run_get': 'read',
|
|
585
602
|
'workflow_run_list': 'read',
|
|
@@ -594,7 +611,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
594
611
|
'workflow_version_list': 'read',
|
|
595
612
|
'workflow_wait_get': 'read',
|
|
596
613
|
'workflow_wait_list': 'read',
|
|
597
|
-
'workflow_wait_list_all': '
|
|
614
|
+
'workflow_wait_list_all': 'admin',
|
|
598
615
|
'workflow_wait_resolve': 'write',
|
|
599
616
|
};
|
|
600
617
|
|
|
@@ -667,6 +684,9 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
667
684
|
'mail_template_publish': {"label":"Publish template","options":{"id":"mail_template_list"}},
|
|
668
685
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
669
686
|
'mail_usage_get': {"label":"Get usage"},
|
|
687
|
+
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
688
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
689
|
+
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
670
690
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
671
691
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
672
692
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|
|
@@ -707,41 +727,30 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
707
727
|
'support_thread_list': {"pii":["input.authorExternalId","output.threads[].title","output.threads[].authorExternalId","output.threads[].authorDisplay"],"label":"List support threads","options":{"labelIds":"support_label_list","statusId":"support_status_list","assignedAgentId":"support_agent_list"}},
|
|
708
728
|
'support_thread_status_set': {"pii":["output.title","output.authorExternalId","output.authorDisplay"],"label":"Move support thread to status","options":{"id":"support_thread_list","statusId":"support_status_list"}},
|
|
709
729
|
'support_thread_update': {"pii":["input.title","output.title","output.authorExternalId","output.authorDisplay"],"label":"Update support thread","options":{"id":"support_thread_list","labelIds":"support_label_list"}},
|
|
710
|
-
'tracking_domains_create': {"label":"Claim tracking host","options":{"domainId":"tracking_domains_list"}},
|
|
711
|
-
'tracking_domains_delete': {"label":"Release domain binding","options":{"bindingId":"tracking_domains_list"}},
|
|
712
730
|
'tracking_domains_get': {"label":"Get domain binding","options":{"bindingId":"tracking_domains_list"}},
|
|
713
731
|
'tracking_domains_list': {"label":"List tracking domains"},
|
|
714
|
-
'tracking_domains_verify': {"label":"Verify domain binding","options":{"bindingId":"tracking_domains_list"},"completion_event":"tracking/domain.verification-completed"},
|
|
715
|
-
'tracking_event-names_archive': {"label":"Archive event name","options":{"name":"tracking_event-names_list"}},
|
|
716
732
|
'tracking_event-names_list': {"label":"List event names"},
|
|
717
|
-
'
|
|
718
|
-
'tracking_event-names_unarchive': {"label":"Unarchive event name","options":{"name":"tracking_event-names_list"}},
|
|
719
|
-
'tracking_googleads_connection_status': {"label":"Google Ads connection status"},
|
|
733
|
+
'tracking_googleads_connection_status': {"label":"Check Google Ads connection"},
|
|
720
734
|
'tracking_googleads_conversion_actions': {"label":"List Google conversion actions"},
|
|
721
735
|
'tracking_googleads_feedback_config_get': {"label":"Get conversion-feedback config"},
|
|
722
|
-
'tracking_googleads_feedback_config_set': {"label":"Set conversion-feedback config","options":{"rules[].event":"tracking_event-names_list","rules[].conversionAction":"tracking_googleads_conversion_actions"}},
|
|
723
736
|
'tracking_googleads_feedback_run': {"label":"Run conversion-feedback upload","completion_event":"tracking/googleads.feedback-completed"},
|
|
724
|
-
'tracking_googleads_feedback_status': {"label":"
|
|
725
|
-
'tracking_googleads_roas_report': {"label":"Google Ads ROAS
|
|
737
|
+
'tracking_googleads_feedback_status': {"label":"Check conversion-feedback status"},
|
|
738
|
+
'tracking_googleads_roas_report': {"label":"Report Google Ads ROAS","options":{"domain":"tracking_install-domains_list"}},
|
|
726
739
|
'tracking_googleads_sync_now': {"label":"Sync Google Ads data","completion_event":"tracking/googleads.sync-completed"},
|
|
727
|
-
'tracking_googleads_tracking_health': {"pii":["output.sampleUntaggedUrls"],"label":"Google Ads tracking health"},
|
|
728
|
-
'tracking_googleads_us_vs_platform': {"label":"
|
|
740
|
+
'tracking_googleads_tracking_health': {"pii":["output.sampleUntaggedUrls"],"label":"Check Google Ads tracking health"},
|
|
741
|
+
'tracking_googleads_us_vs_platform': {"label":"Compare our data with Google Ads","options":{"domain":"tracking_install-domains_list"}},
|
|
729
742
|
'tracking_identity_health': {"label":"Identity match-rate health"},
|
|
730
|
-
'tracking_install-domains_create': {"label":"Register install domain"},
|
|
731
|
-
'tracking_install-domains_delete': {"label":"Unregister install domain","options":{"domain":"tracking_install-domains_list"}},
|
|
732
743
|
'tracking_install-domains_list': {"label":"List install-verification domains"},
|
|
733
|
-
'tracking_link-domains_create': {"label":"Add domain to linking group"},
|
|
734
|
-
'tracking_link-domains_delete': {"label":"Remove domain from linking group","options":{"domain":"tracking_link-domains_list"}},
|
|
735
744
|
'tracking_link-domains_list': {"label":"List cross-domain linking group"},
|
|
736
745
|
'tracking_live-events_list': {"pii":["output.events[].anonymousId","output.events[].url","output.events[].title","output.events[].source.referrer"],"label":"List live events","options":{"domain":"tracking_install-domains_list"}},
|
|
737
746
|
'tracking_profiles_delete': {"pii":["input.profileId","output.profileId"],"label":"Erase person (GDPR)","completion_event":"tracking/profile.erasure-completed"},
|
|
738
747
|
'tracking_profiles_export': {"pii":["input.profileId","output.profile.profileId","output.signals.emails","output.signals.phones","output.signals.clickIds[].value","output.journey[].url","output.journey[].title","output.journey[].referrer","output.journey[].source.clickId"],"label":"Export person"},
|
|
739
748
|
'tracking_profiles_get': {"pii":["input.profileId","output.profile.profileId","output.signals.emails","output.signals.phones","output.signals.clickIds[].value","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Get person"},
|
|
740
749
|
'tracking_profiles_list': {"pii":["input.email","output.profiles[].profileId","output.profiles[].emails"],"label":"List people"},
|
|
741
|
-
'tracking_reports_attributed_journey': {"pii":["input.profileId","output.profileId","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"
|
|
742
|
-
'tracking_reports_event_volume': {"label":"
|
|
743
|
-
'tracking_reports_revenue_by_source': {"label":"
|
|
744
|
-
'tracking_reports_source_people': {"pii":["output.people[].profileId"],"label":"
|
|
750
|
+
'tracking_reports_attributed_journey': {"pii":["input.profileId","output.profileId","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Explain attributed journey"},
|
|
751
|
+
'tracking_reports_event_volume': {"label":"Report event volume","options":{"domain":"tracking_install-domains_list"}},
|
|
752
|
+
'tracking_reports_revenue_by_source': {"label":"Report revenue by source","options":{"domain":"tracking_install-domains_list"}},
|
|
753
|
+
'tracking_reports_source_people': {"pii":["output.people[].profileId"],"label":"List people behind a source","options":{"domain":"tracking_install-domains_list"}},
|
|
745
754
|
'tracking_snippets_get': {"label":"Get tracking snippet"},
|
|
746
755
|
'users_apikeys_create': {"label":"Create API key","secrets":["output.key"]},
|
|
747
756
|
'users_apikeys_get': {"label":"Get API key","options":{"id":"users_apikeys_list"}},
|
|
@@ -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';
|