@lessly/sdk-app 97.1.0 → 97.2.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 +4 -18
- package/dist/_types/gen/client.gen.d.ts +39 -1
- package/dist/_types/gen/mail/index.d.ts +1 -1
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +5 -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 +427 -0
- package/dist/chunk-2ZWQTRUQ.js +11788 -0
- package/dist/chunk-2ZWQTRUQ.js.map +1 -0
- package/dist/index.cjs +274 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -11524
- package/dist/index.js.map +1 -1
- package/dist/mail/index.cjs +5 -0
- package/dist/mail/index.cjs.map +1 -1
- package/dist/mail/index.js +5 -1
- package/dist/mail/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 +261 -1
- package/src/gen/client.gen.ts +74 -0
- package/src/gen/mail/index.ts +1 -1
- package/src/gen/mail/queryOptions.gen.ts +7 -0
- package/src/gen/manifest.gen.ts +23 -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 +475 -0
|
@@ -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-2ZWQTRUQ.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,C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,EAC/H,QAAA,EAAU,CAAC,YAAA,EAAc,UAAA,EAAY,iBAAiB,KAAK,CAAA;AAAA,EAC3D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,UAAU,CAAA,CAAE,eAAe,CAAA,CAAE,KAAK;AACrE,CAAA;;;AC/GO,IAAM,uBAAA,GAA0B,CAAC,GAAA,EAAyB,KAAA,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": "97.
|
|
4
|
+
"version": "97.2.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:1d8d62701a944d328c4e6c779f03f701695a81dbc3e07cc5f948fb753c2b0506"
|
|
214
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -4708,6 +4708,51 @@ export const bindings: BindingsMap = {
|
|
|
4708
4708
|
"path": "/mail/emails/:id",
|
|
4709
4709
|
"readOnly": true
|
|
4710
4710
|
},
|
|
4711
|
+
"list": {
|
|
4712
|
+
"level": "read",
|
|
4713
|
+
"method": "GET",
|
|
4714
|
+
"operationKey": "mail_email_list",
|
|
4715
|
+
"params": [
|
|
4716
|
+
{
|
|
4717
|
+
"in": "query",
|
|
4718
|
+
"name": "status"
|
|
4719
|
+
},
|
|
4720
|
+
{
|
|
4721
|
+
"in": "query",
|
|
4722
|
+
"name": "to"
|
|
4723
|
+
},
|
|
4724
|
+
{
|
|
4725
|
+
"in": "query",
|
|
4726
|
+
"name": "domain"
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
"in": "query",
|
|
4730
|
+
"name": "after"
|
|
4731
|
+
},
|
|
4732
|
+
{
|
|
4733
|
+
"in": "query",
|
|
4734
|
+
"name": "before"
|
|
4735
|
+
},
|
|
4736
|
+
{
|
|
4737
|
+
"in": "query",
|
|
4738
|
+
"name": "q"
|
|
4739
|
+
},
|
|
4740
|
+
{
|
|
4741
|
+
"in": "query",
|
|
4742
|
+
"name": "template_id"
|
|
4743
|
+
},
|
|
4744
|
+
{
|
|
4745
|
+
"in": "query",
|
|
4746
|
+
"name": "limit"
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"in": "query",
|
|
4750
|
+
"name": "cursor"
|
|
4751
|
+
}
|
|
4752
|
+
],
|
|
4753
|
+
"path": "/mail/emails",
|
|
4754
|
+
"readOnly": true
|
|
4755
|
+
},
|
|
4711
4756
|
"send": {
|
|
4712
4757
|
"level": "write",
|
|
4713
4758
|
"method": "POST",
|
|
@@ -7443,6 +7488,213 @@ export const bindings: BindingsMap = {
|
|
|
7443
7488
|
}
|
|
7444
7489
|
}
|
|
7445
7490
|
},
|
|
7491
|
+
"playground": {
|
|
7492
|
+
"analytics": {
|
|
7493
|
+
"overview": {
|
|
7494
|
+
"level": "read",
|
|
7495
|
+
"method": "POST",
|
|
7496
|
+
"operationKey": "playground_analytics_overview",
|
|
7497
|
+
"params": [
|
|
7498
|
+
{
|
|
7499
|
+
"in": "body",
|
|
7500
|
+
"name": "limit"
|
|
7501
|
+
}
|
|
7502
|
+
],
|
|
7503
|
+
"path": "/playground/analytics/overview",
|
|
7504
|
+
"readOnly": true
|
|
7505
|
+
}
|
|
7506
|
+
},
|
|
7507
|
+
"billing": {
|
|
7508
|
+
"entitlements": {
|
|
7509
|
+
"level": "read",
|
|
7510
|
+
"method": "POST",
|
|
7511
|
+
"operationKey": "playground_billing_entitlements",
|
|
7512
|
+
"path": "/playground/billing/entitlements",
|
|
7513
|
+
"readOnly": true
|
|
7514
|
+
},
|
|
7515
|
+
"record-usage": {
|
|
7516
|
+
"level": "write",
|
|
7517
|
+
"method": "POST",
|
|
7518
|
+
"operationKey": "playground_billing_record-usage",
|
|
7519
|
+
"params": [
|
|
7520
|
+
{
|
|
7521
|
+
"in": "body",
|
|
7522
|
+
"name": "value"
|
|
7523
|
+
}
|
|
7524
|
+
],
|
|
7525
|
+
"path": "/playground/billing/usage",
|
|
7526
|
+
"readOnly": false
|
|
7527
|
+
}
|
|
7528
|
+
},
|
|
7529
|
+
"clickup": {
|
|
7530
|
+
"create-task": {
|
|
7531
|
+
"level": "write",
|
|
7532
|
+
"method": "POST",
|
|
7533
|
+
"operationKey": "playground_clickup_create-task",
|
|
7534
|
+
"params": [
|
|
7535
|
+
{
|
|
7536
|
+
"in": "body",
|
|
7537
|
+
"name": "listId"
|
|
7538
|
+
},
|
|
7539
|
+
{
|
|
7540
|
+
"in": "body",
|
|
7541
|
+
"name": "name"
|
|
7542
|
+
}
|
|
7543
|
+
],
|
|
7544
|
+
"path": "/playground/clickup/tasks",
|
|
7545
|
+
"readOnly": false
|
|
7546
|
+
},
|
|
7547
|
+
"get-last-webhook": {
|
|
7548
|
+
"level": "read",
|
|
7549
|
+
"method": "GET",
|
|
7550
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7551
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7552
|
+
"readOnly": true
|
|
7553
|
+
},
|
|
7554
|
+
"get-overview": {
|
|
7555
|
+
"level": "read",
|
|
7556
|
+
"method": "GET",
|
|
7557
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7558
|
+
"path": "/playground/clickup/overview",
|
|
7559
|
+
"readOnly": true
|
|
7560
|
+
}
|
|
7561
|
+
},
|
|
7562
|
+
"echo": {
|
|
7563
|
+
"ping": {
|
|
7564
|
+
"level": "read",
|
|
7565
|
+
"method": "POST",
|
|
7566
|
+
"operationKey": "playground_echo_ping",
|
|
7567
|
+
"params": [
|
|
7568
|
+
{
|
|
7569
|
+
"in": "body",
|
|
7570
|
+
"name": "message"
|
|
7571
|
+
}
|
|
7572
|
+
],
|
|
7573
|
+
"path": "/playground/echo/ping",
|
|
7574
|
+
"readOnly": true
|
|
7575
|
+
}
|
|
7576
|
+
},
|
|
7577
|
+
"gdrive": {
|
|
7578
|
+
"get-last-change": {
|
|
7579
|
+
"level": "read",
|
|
7580
|
+
"method": "GET",
|
|
7581
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7582
|
+
"path": "/playground/gdrive/changes/last",
|
|
7583
|
+
"readOnly": true
|
|
7584
|
+
},
|
|
7585
|
+
"read-file": {
|
|
7586
|
+
"level": "read",
|
|
7587
|
+
"method": "POST",
|
|
7588
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7589
|
+
"params": [
|
|
7590
|
+
{
|
|
7591
|
+
"in": "body",
|
|
7592
|
+
"name": "fileId"
|
|
7593
|
+
}
|
|
7594
|
+
],
|
|
7595
|
+
"path": "/playground/gdrive/file",
|
|
7596
|
+
"readOnly": true
|
|
7597
|
+
}
|
|
7598
|
+
},
|
|
7599
|
+
"googleads": {
|
|
7600
|
+
"read-customer": {
|
|
7601
|
+
"level": "read",
|
|
7602
|
+
"method": "POST",
|
|
7603
|
+
"operationKey": "playground_googleads_read-customer",
|
|
7604
|
+
"path": "/playground/googleads/customer",
|
|
7605
|
+
"readOnly": true
|
|
7606
|
+
}
|
|
7607
|
+
},
|
|
7608
|
+
"lifecycle": {
|
|
7609
|
+
"get-state": {
|
|
7610
|
+
"level": "read",
|
|
7611
|
+
"method": "GET",
|
|
7612
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7613
|
+
"path": "/playground/lifecycle/state",
|
|
7614
|
+
"readOnly": true
|
|
7615
|
+
},
|
|
7616
|
+
"list-events": {
|
|
7617
|
+
"level": "read",
|
|
7618
|
+
"method": "GET",
|
|
7619
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7620
|
+
"path": "/playground/lifecycle/events",
|
|
7621
|
+
"readOnly": true
|
|
7622
|
+
}
|
|
7623
|
+
},
|
|
7624
|
+
"webhook": {
|
|
7625
|
+
"get-last": {
|
|
7626
|
+
"level": "read",
|
|
7627
|
+
"method": "GET",
|
|
7628
|
+
"operationKey": "playground_webhook_get-last",
|
|
7629
|
+
"path": "/playground/webhooks/last",
|
|
7630
|
+
"readOnly": true
|
|
7631
|
+
}
|
|
7632
|
+
},
|
|
7633
|
+
"workflow": {
|
|
7634
|
+
"echo": {
|
|
7635
|
+
"level": "write",
|
|
7636
|
+
"method": "POST",
|
|
7637
|
+
"operationKey": "playground_workflow_echo",
|
|
7638
|
+
"params": [
|
|
7639
|
+
{
|
|
7640
|
+
"in": "body",
|
|
7641
|
+
"name": "note"
|
|
7642
|
+
},
|
|
7643
|
+
{
|
|
7644
|
+
"in": "body",
|
|
7645
|
+
"name": "tags"
|
|
7646
|
+
}
|
|
7647
|
+
],
|
|
7648
|
+
"path": "/playground/workflow/echo",
|
|
7649
|
+
"readOnly": false
|
|
7650
|
+
},
|
|
7651
|
+
"echo-list": {
|
|
7652
|
+
"level": "read",
|
|
7653
|
+
"method": "GET",
|
|
7654
|
+
"operationKey": "playground_workflow_echo-list",
|
|
7655
|
+
"path": "/playground/workflow/echoes",
|
|
7656
|
+
"readOnly": true
|
|
7657
|
+
},
|
|
7658
|
+
"ping": {
|
|
7659
|
+
"level": "write",
|
|
7660
|
+
"method": "POST",
|
|
7661
|
+
"operationKey": "playground_workflow_ping",
|
|
7662
|
+
"params": [
|
|
7663
|
+
{
|
|
7664
|
+
"in": "body",
|
|
7665
|
+
"name": "kind"
|
|
7666
|
+
}
|
|
7667
|
+
],
|
|
7668
|
+
"path": "/playground/workflow/ping",
|
|
7669
|
+
"readOnly": false
|
|
7670
|
+
},
|
|
7671
|
+
"subjects-list": {
|
|
7672
|
+
"level": "read",
|
|
7673
|
+
"method": "GET",
|
|
7674
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
7675
|
+
"params": [
|
|
7676
|
+
{
|
|
7677
|
+
"in": "query",
|
|
7678
|
+
"name": "last_activity_before"
|
|
7679
|
+
},
|
|
7680
|
+
{
|
|
7681
|
+
"in": "query",
|
|
7682
|
+
"name": "last_activity_after"
|
|
7683
|
+
},
|
|
7684
|
+
{
|
|
7685
|
+
"in": "query",
|
|
7686
|
+
"name": "limit"
|
|
7687
|
+
},
|
|
7688
|
+
{
|
|
7689
|
+
"in": "query",
|
|
7690
|
+
"name": "cursor"
|
|
7691
|
+
}
|
|
7692
|
+
],
|
|
7693
|
+
"path": "/playground/workflow/subjects",
|
|
7694
|
+
"readOnly": true
|
|
7695
|
+
}
|
|
7696
|
+
}
|
|
7697
|
+
},
|
|
7446
7698
|
"realtime": {
|
|
7447
7699
|
"archive": {
|
|
7448
7700
|
"export": {
|
|
@@ -11524,4 +11776,12 @@ export const bindings: BindingsMap = {
|
|
|
11524
11776
|
}
|
|
11525
11777
|
};
|
|
11526
11778
|
|
|
11527
|
-
export const wsBindings: WsBindingsMap = {
|
|
11779
|
+
export const wsBindings: WsBindingsMap = {
|
|
11780
|
+
"playground": {
|
|
11781
|
+
"ws": {
|
|
11782
|
+
"echo": {
|
|
11783
|
+
"path": "/playground/ws/echo"
|
|
11784
|
+
}
|
|
11785
|
+
}
|
|
11786
|
+
}
|
|
11787
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -497,6 +497,8 @@ import type {
|
|
|
497
497
|
MailEmailCancelOutput,
|
|
498
498
|
MailEmailGetInput,
|
|
499
499
|
MailEmailGetOutput,
|
|
500
|
+
MailEmailListInput,
|
|
501
|
+
MailEmailListOutput,
|
|
500
502
|
MailEmailSendBatchInput,
|
|
501
503
|
MailEmailSendBatchOutput,
|
|
502
504
|
MailEmailSendInput,
|
|
@@ -803,6 +805,40 @@ import type {
|
|
|
803
805
|
OrganizationXInstallOutput,
|
|
804
806
|
OrganizationYoutubeInstallInput,
|
|
805
807
|
OrganizationYoutubeInstallOutput,
|
|
808
|
+
PlaygroundAnalyticsOverviewInput,
|
|
809
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
810
|
+
PlaygroundBillingEntitlementsInput,
|
|
811
|
+
PlaygroundBillingEntitlementsOutput,
|
|
812
|
+
PlaygroundBillingRecordUsageInput,
|
|
813
|
+
PlaygroundBillingRecordUsageOutput,
|
|
814
|
+
PlaygroundClickupCreateTaskInput,
|
|
815
|
+
PlaygroundClickupCreateTaskOutput,
|
|
816
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
817
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
818
|
+
PlaygroundClickupGetOverviewInput,
|
|
819
|
+
PlaygroundClickupGetOverviewOutput,
|
|
820
|
+
PlaygroundEchoPingInput,
|
|
821
|
+
PlaygroundEchoPingOutput,
|
|
822
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
823
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
824
|
+
PlaygroundGdriveReadFileInput,
|
|
825
|
+
PlaygroundGdriveReadFileOutput,
|
|
826
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
827
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
828
|
+
PlaygroundLifecycleGetStateInput,
|
|
829
|
+
PlaygroundLifecycleGetStateOutput,
|
|
830
|
+
PlaygroundLifecycleListEventsInput,
|
|
831
|
+
PlaygroundLifecycleListEventsOutput,
|
|
832
|
+
PlaygroundWebhookGetLastInput,
|
|
833
|
+
PlaygroundWebhookGetLastOutput,
|
|
834
|
+
PlaygroundWorkflowEchoInput,
|
|
835
|
+
PlaygroundWorkflowEchoListInput,
|
|
836
|
+
PlaygroundWorkflowEchoListOutput,
|
|
837
|
+
PlaygroundWorkflowEchoOutput,
|
|
838
|
+
PlaygroundWorkflowPingInput,
|
|
839
|
+
PlaygroundWorkflowPingOutput,
|
|
840
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
841
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
806
842
|
RealtimeArchiveExportInput,
|
|
807
843
|
RealtimeArchiveExportOutput,
|
|
808
844
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1678,6 +1714,7 @@ export interface GeneratedClient {
|
|
|
1678
1714
|
email: {
|
|
1679
1715
|
cancel: ((input: MailEmailCancelInput) => Promise<MailEmailCancelOutput>) & Operation;
|
|
1680
1716
|
get: ((input: MailEmailGetInput) => Promise<MailEmailGetOutput>) & Operation;
|
|
1717
|
+
list: ((input: MailEmailListInput) => Promise<MailEmailListOutput>) & Operation;
|
|
1681
1718
|
send: ((input: MailEmailSendInput) => Promise<MailEmailSendOutput>) & Operation;
|
|
1682
1719
|
update: ((input: MailEmailUpdateInput) => Promise<MailEmailUpdateOutput>) & Operation;
|
|
1683
1720
|
};
|
|
@@ -1939,6 +1976,43 @@ export interface GeneratedClient {
|
|
|
1939
1976
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
1940
1977
|
};
|
|
1941
1978
|
};
|
|
1979
|
+
playground: {
|
|
1980
|
+
analytics: {
|
|
1981
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
1982
|
+
};
|
|
1983
|
+
billing: {
|
|
1984
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
1985
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
1986
|
+
};
|
|
1987
|
+
clickup: {
|
|
1988
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
1989
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
1990
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
1991
|
+
};
|
|
1992
|
+
echo: {
|
|
1993
|
+
ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
|
|
1994
|
+
};
|
|
1995
|
+
gdrive: {
|
|
1996
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
1997
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
1998
|
+
};
|
|
1999
|
+
googleads: {
|
|
2000
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
2001
|
+
};
|
|
2002
|
+
lifecycle: {
|
|
2003
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
2004
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
2005
|
+
};
|
|
2006
|
+
webhook: {
|
|
2007
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
2008
|
+
};
|
|
2009
|
+
workflow: {
|
|
2010
|
+
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
2011
|
+
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
2012
|
+
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
2013
|
+
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
2014
|
+
};
|
|
2015
|
+
};
|
|
1942
2016
|
realtime: {
|
|
1943
2017
|
archive: {
|
|
1944
2018
|
export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
|
package/src/gen/mail/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { MailApikeyCreateInput, MailApikeyCreateOutput, MailApikeyDeleteInput, MailApikeyDeleteOutput, MailApikeyListInput, MailApikeyListOutput, MailAudienceCreateInput, MailAudienceCreateOutput, MailAudienceDeleteInput, MailAudienceDeleteOutput, MailAudienceGetInput, MailAudienceGetOutput, MailAudienceListInput, MailAudienceListOutput, MailAudienceUpdateInput, MailAudienceUpdateOutput, MailBroadcastCancelInput, MailBroadcastCancelOutput, MailBroadcastCreateInput, MailBroadcastCreateOutput, MailBroadcastDeleteInput, MailBroadcastDeleteOutput, MailBroadcastGetInput, MailBroadcastGetOutput, MailBroadcastListInput, MailBroadcastListOutput, MailBroadcastQueueInput, MailBroadcastQueueOutput, MailBroadcastStatsInput, MailBroadcastStatsOutput, MailBroadcastUpdateInput, MailBroadcastUpdateOutput, MailContactCreateInput, MailContactCreateOutput, MailContactDeleteInput, MailContactDeleteOutput, MailContactGetInput, MailContactGetOutput, MailContactListInput, MailContactListOutput, MailContactUpdateInput, MailContactUpdateOutput, MailDomainAllowedListInput, MailDomainAllowedListOutput, MailDomainCreateInput, MailDomainCreateOutput, MailDomainDeleteInput, MailDomainDeleteOutput, MailDomainGetInput, MailDomainGetOutput, MailDomainListInput, MailDomainListOutput, MailDomainUpdateInput, MailDomainUpdateOutput, MailDomainVerifyInput, MailDomainVerifyOutput, MailEmailCancelInput, MailEmailCancelOutput, MailEmailGetInput, MailEmailGetOutput, MailEmailSendBatchInput, MailEmailSendBatchOutput, MailEmailSendInput, MailEmailSendOutput, MailEmailUpdateInput, MailEmailUpdateOutput, MailReputationGetInput, MailReputationGetOutput, MailStatsGetInput, MailStatsGetOutput, MailSuppressionAddInput, MailSuppressionAddOutput, MailSuppressionListInput, MailSuppressionListOutput, MailSuppressionRemoveInput, MailSuppressionRemoveOutput, MailTemplateArchiveInput, MailTemplateArchiveOutput, MailTemplateCreateInput, MailTemplateCreateOutput, MailTemplateDeleteInput, MailTemplateDeleteOutput, MailTemplateDraftDiscardInput, MailTemplateDraftDiscardOutput, MailTemplateGetInput, MailTemplateGetOutput, MailTemplateListInput, MailTemplateListOutput, MailTemplatePublishInput, MailTemplatePublishOutput, MailTemplateRestoreInput, MailTemplateRestoreOutput, MailTemplateRevisionGetInput, MailTemplateRevisionGetOutput, MailTemplateRevisionListInput, MailTemplateRevisionListOutput, MailTemplateUnarchiveInput, MailTemplateUnarchiveOutput, MailTemplateUpdateInput, MailTemplateUpdateOutput, MailUsageGetInput, MailUsageGetOutput, MailWebhookCreateInput, MailWebhookCreateOutput, MailWebhookDeleteInput, MailWebhookDeleteOutput, MailWebhookDeliveriesListInput, MailWebhookDeliveriesListOutput, MailWebhookGetInput, MailWebhookGetOutput, MailWebhookListInput, MailWebhookListOutput, MailWebhookUpdateInput, MailWebhookUpdateOutput } from '../types.gen';
|
|
3
|
+
export type { MailApikeyCreateInput, MailApikeyCreateOutput, MailApikeyDeleteInput, MailApikeyDeleteOutput, MailApikeyListInput, MailApikeyListOutput, MailAudienceCreateInput, MailAudienceCreateOutput, MailAudienceDeleteInput, MailAudienceDeleteOutput, MailAudienceGetInput, MailAudienceGetOutput, MailAudienceListInput, MailAudienceListOutput, MailAudienceUpdateInput, MailAudienceUpdateOutput, MailBroadcastCancelInput, MailBroadcastCancelOutput, MailBroadcastCreateInput, MailBroadcastCreateOutput, MailBroadcastDeleteInput, MailBroadcastDeleteOutput, MailBroadcastGetInput, MailBroadcastGetOutput, MailBroadcastListInput, MailBroadcastListOutput, MailBroadcastQueueInput, MailBroadcastQueueOutput, MailBroadcastStatsInput, MailBroadcastStatsOutput, MailBroadcastUpdateInput, MailBroadcastUpdateOutput, MailContactCreateInput, MailContactCreateOutput, MailContactDeleteInput, MailContactDeleteOutput, MailContactGetInput, MailContactGetOutput, MailContactListInput, MailContactListOutput, MailContactUpdateInput, MailContactUpdateOutput, MailDomainAllowedListInput, MailDomainAllowedListOutput, MailDomainCreateInput, MailDomainCreateOutput, MailDomainDeleteInput, MailDomainDeleteOutput, MailDomainGetInput, MailDomainGetOutput, MailDomainListInput, MailDomainListOutput, MailDomainUpdateInput, MailDomainUpdateOutput, MailDomainVerifyInput, MailDomainVerifyOutput, MailEmailCancelInput, MailEmailCancelOutput, MailEmailGetInput, MailEmailGetOutput, MailEmailListInput, MailEmailListOutput, MailEmailSendBatchInput, MailEmailSendBatchOutput, MailEmailSendInput, MailEmailSendOutput, MailEmailUpdateInput, MailEmailUpdateOutput, MailReputationGetInput, MailReputationGetOutput, MailStatsGetInput, MailStatsGetOutput, MailSuppressionAddInput, MailSuppressionAddOutput, MailSuppressionListInput, MailSuppressionListOutput, MailSuppressionRemoveInput, MailSuppressionRemoveOutput, MailTemplateArchiveInput, MailTemplateArchiveOutput, MailTemplateCreateInput, MailTemplateCreateOutput, MailTemplateDeleteInput, MailTemplateDeleteOutput, MailTemplateDraftDiscardInput, MailTemplateDraftDiscardOutput, MailTemplateGetInput, MailTemplateGetOutput, MailTemplateListInput, MailTemplateListOutput, MailTemplatePublishInput, MailTemplatePublishOutput, MailTemplateRestoreInput, MailTemplateRestoreOutput, MailTemplateRevisionGetInput, MailTemplateRevisionGetOutput, MailTemplateRevisionListInput, MailTemplateRevisionListOutput, MailTemplateUnarchiveInput, MailTemplateUnarchiveOutput, MailTemplateUpdateInput, MailTemplateUpdateOutput, MailUsageGetInput, MailUsageGetOutput, MailWebhookCreateInput, MailWebhookCreateOutput, MailWebhookDeleteInput, MailWebhookDeleteOutput, MailWebhookDeliveriesListInput, MailWebhookDeliveriesListOutput, MailWebhookGetInput, MailWebhookGetOutput, MailWebhookListInput, MailWebhookListOutput, MailWebhookUpdateInput, MailWebhookUpdateOutput } from '../types.gen';
|
|
@@ -43,6 +43,8 @@ import type {
|
|
|
43
43
|
MailEmailCancelInput,
|
|
44
44
|
MailEmailGetInput,
|
|
45
45
|
MailEmailGetOutput,
|
|
46
|
+
MailEmailListInput,
|
|
47
|
+
MailEmailListOutput,
|
|
46
48
|
MailEmailSendBatchInput,
|
|
47
49
|
MailEmailSendInput,
|
|
48
50
|
MailEmailUpdateInput,
|
|
@@ -233,6 +235,11 @@ export const mailEmailGetQueryOptions = (sdk: GeneratedClient, input: MailEmailG
|
|
|
233
235
|
queryFn: () => sdk['mail']['email']['get'](input),
|
|
234
236
|
});
|
|
235
237
|
|
|
238
|
+
export const mailEmailListQueryOptions = (sdk: GeneratedClient, input: MailEmailListInput) => ({
|
|
239
|
+
queryKey: ['mail', 'email', 'list', input] as const,
|
|
240
|
+
queryFn: () => sdk['mail']['email']['list'](input),
|
|
241
|
+
});
|
|
242
|
+
|
|
236
243
|
export const mailEmailSendMutationOptions = (sdk: GeneratedClient) => ({
|
|
237
244
|
mutationKey: ['mail', 'email', 'send'],
|
|
238
245
|
mutationFn: (input: MailEmailSendInput) => sdk['mail']['email']['send'](input),
|
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',
|
|
@@ -252,6 +252,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
252
252
|
'mail_domain_verify': 'write',
|
|
253
253
|
'mail_email_cancel': 'write',
|
|
254
254
|
'mail_email_get': 'read',
|
|
255
|
+
'mail_email_list': 'read',
|
|
255
256
|
'mail_email_send': 'write',
|
|
256
257
|
'mail_email_send_batch': 'write',
|
|
257
258
|
'mail_email_update': 'write',
|
|
@@ -405,6 +406,23 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
405
406
|
'organization_support_threads_list': 'read',
|
|
406
407
|
'organization_x_install': 'read',
|
|
407
408
|
'organization_youtube_install': 'read',
|
|
409
|
+
'playground_analytics_overview': 'read',
|
|
410
|
+
'playground_billing_entitlements': 'read',
|
|
411
|
+
'playground_billing_record-usage': 'write',
|
|
412
|
+
'playground_clickup_create-task': 'write',
|
|
413
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
414
|
+
'playground_clickup_get-overview': 'read',
|
|
415
|
+
'playground_echo_ping': 'read',
|
|
416
|
+
'playground_gdrive_get-last-change': 'read',
|
|
417
|
+
'playground_gdrive_read-file': 'read',
|
|
418
|
+
'playground_googleads_read-customer': 'read',
|
|
419
|
+
'playground_lifecycle_get-state': 'read',
|
|
420
|
+
'playground_lifecycle_list-events': 'read',
|
|
421
|
+
'playground_webhook_get-last': 'read',
|
|
422
|
+
'playground_workflow_echo': 'write',
|
|
423
|
+
'playground_workflow_echo-list': 'read',
|
|
424
|
+
'playground_workflow_ping': 'write',
|
|
425
|
+
'playground_workflow_subjects-list': 'read',
|
|
408
426
|
'realtime_archive_export': 'admin',
|
|
409
427
|
'realtime_archive_export_status': 'read',
|
|
410
428
|
'realtime_archive_get': 'read',
|
|
@@ -668,6 +686,7 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
668
686
|
'mail_domain_verify': {"label":"Verify domain","options":{"id":"mail_domain_list"},"completion_event":"mail/domain.verified"},
|
|
669
687
|
'mail_email_cancel': {"label":"Cancel email"},
|
|
670
688
|
'mail_email_get': {"pii":["output.from","output.to","output.cc","output.bcc"],"label":"Get email"},
|
|
689
|
+
'mail_email_list': {"pii":["input.to","input.q","output.items[].from","output.items[].to","output.items[].subject"],"label":"List emails"},
|
|
671
690
|
'mail_email_send': {"pii":["input.from","input.to","input.cc","input.bcc","input.reply_to"],"label":"Send email","options":{"template.id":"mail_template_list"},"completion_event":"mail/email.delivered"},
|
|
672
691
|
'mail_email_send_batch': {"pii":["input.emails[].from","input.emails[].to","input.emails[].cc","input.emails[].bcc","input.emails[].reply_to"],"label":"Send email batch"},
|
|
673
692
|
'mail_email_update': {"label":"Reschedule email"},
|
|
@@ -689,6 +708,9 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
689
708
|
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
690
709
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
691
710
|
'mail_usage_get': {"label":"Get usage"},
|
|
711
|
+
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
712
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
713
|
+
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
692
714
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
693
715
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
694
716
|
'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';
|