@lessly/sdk-app 124.0.0 → 124.1.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 +10 -12
- package/dist/_types/gen/client.gen.d.ts +56 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/organization/index.d.ts +1 -1
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +25 -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 +374 -0
- package/dist/chunk-XSWIGIE3.js +12565 -0
- package/dist/chunk-XSWIGIE3.js.map +1 -0
- package/dist/index.cjs +309 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -12270
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +30 -0
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +25 -1
- package/dist/organization/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 +292 -1
- package/src/gen/client.gen.ts +101 -0
- package/src/gen/manifest.gen.ts +27 -1
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +42 -0
- 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 +435 -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-XSWIGIE3.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,KA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,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": "124.
|
|
4
|
+
"version": "124.1.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:83568baaf9cd0a0e5873b361cac6d9ffde73cf9ae4df086f661297339f7670b6"
|
|
214
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -6472,6 +6472,82 @@ export const bindings: BindingsMap = {
|
|
|
6472
6472
|
"readOnly": true
|
|
6473
6473
|
}
|
|
6474
6474
|
},
|
|
6475
|
+
"billing-invoices": {
|
|
6476
|
+
"list": {
|
|
6477
|
+
"level": "read",
|
|
6478
|
+
"method": "GET",
|
|
6479
|
+
"operationKey": "organization_billing_invoices_list",
|
|
6480
|
+
"params": [
|
|
6481
|
+
{
|
|
6482
|
+
"in": "query",
|
|
6483
|
+
"name": "limit"
|
|
6484
|
+
},
|
|
6485
|
+
{
|
|
6486
|
+
"in": "query",
|
|
6487
|
+
"name": "starting_after"
|
|
6488
|
+
}
|
|
6489
|
+
],
|
|
6490
|
+
"path": "/governance/api/v1/billing/invoices",
|
|
6491
|
+
"readOnly": true
|
|
6492
|
+
}
|
|
6493
|
+
},
|
|
6494
|
+
"billing-overview": {
|
|
6495
|
+
"get": {
|
|
6496
|
+
"level": "read",
|
|
6497
|
+
"method": "GET",
|
|
6498
|
+
"operationKey": "organization_billing_overview_get",
|
|
6499
|
+
"path": "/governance/api/v1/billing/overview",
|
|
6500
|
+
"readOnly": true
|
|
6501
|
+
}
|
|
6502
|
+
},
|
|
6503
|
+
"billing-plan": {
|
|
6504
|
+
"get": {
|
|
6505
|
+
"level": "read",
|
|
6506
|
+
"method": "GET",
|
|
6507
|
+
"operationKey": "organization_billing_plan_get",
|
|
6508
|
+
"path": "/governance/api/v1/billing/plan",
|
|
6509
|
+
"readOnly": true
|
|
6510
|
+
}
|
|
6511
|
+
},
|
|
6512
|
+
"billing-product-usage": {
|
|
6513
|
+
"get": {
|
|
6514
|
+
"level": "read",
|
|
6515
|
+
"method": "GET",
|
|
6516
|
+
"operationKey": "organization_billing_product-usage_get",
|
|
6517
|
+
"path": "/governance/api/v1/billing/product-usage",
|
|
6518
|
+
"readOnly": true
|
|
6519
|
+
}
|
|
6520
|
+
},
|
|
6521
|
+
"billing-usage": {
|
|
6522
|
+
"get": {
|
|
6523
|
+
"level": "read",
|
|
6524
|
+
"method": "GET",
|
|
6525
|
+
"operationKey": "organization_billing_usage_get",
|
|
6526
|
+
"params": [
|
|
6527
|
+
{
|
|
6528
|
+
"in": "query",
|
|
6529
|
+
"name": "window"
|
|
6530
|
+
}
|
|
6531
|
+
],
|
|
6532
|
+
"path": "/governance/api/v1/billing/usage",
|
|
6533
|
+
"readOnly": true
|
|
6534
|
+
}
|
|
6535
|
+
},
|
|
6536
|
+
"billing-usage-daily": {
|
|
6537
|
+
"get": {
|
|
6538
|
+
"level": "read",
|
|
6539
|
+
"method": "GET",
|
|
6540
|
+
"operationKey": "organization_billing_usage-daily_get",
|
|
6541
|
+
"params": [
|
|
6542
|
+
{
|
|
6543
|
+
"in": "query",
|
|
6544
|
+
"name": "window"
|
|
6545
|
+
}
|
|
6546
|
+
],
|
|
6547
|
+
"path": "/governance/api/v1/billing/product-usage/daily",
|
|
6548
|
+
"readOnly": true
|
|
6549
|
+
}
|
|
6550
|
+
},
|
|
6475
6551
|
"bindings": {
|
|
6476
6552
|
"list": {
|
|
6477
6553
|
"level": "read",
|
|
@@ -7946,6 +8022,213 @@ export const bindings: BindingsMap = {
|
|
|
7946
8022
|
}
|
|
7947
8023
|
}
|
|
7948
8024
|
},
|
|
8025
|
+
"playground": {
|
|
8026
|
+
"analytics": {
|
|
8027
|
+
"overview": {
|
|
8028
|
+
"level": "read",
|
|
8029
|
+
"method": "POST",
|
|
8030
|
+
"operationKey": "playground_analytics_overview",
|
|
8031
|
+
"params": [
|
|
8032
|
+
{
|
|
8033
|
+
"in": "body",
|
|
8034
|
+
"name": "limit"
|
|
8035
|
+
}
|
|
8036
|
+
],
|
|
8037
|
+
"path": "/playground/analytics/overview",
|
|
8038
|
+
"readOnly": true
|
|
8039
|
+
}
|
|
8040
|
+
},
|
|
8041
|
+
"billing": {
|
|
8042
|
+
"entitlements": {
|
|
8043
|
+
"level": "read",
|
|
8044
|
+
"method": "POST",
|
|
8045
|
+
"operationKey": "playground_billing_entitlements",
|
|
8046
|
+
"path": "/playground/billing/entitlements",
|
|
8047
|
+
"readOnly": true
|
|
8048
|
+
},
|
|
8049
|
+
"record-usage": {
|
|
8050
|
+
"level": "write",
|
|
8051
|
+
"method": "POST",
|
|
8052
|
+
"operationKey": "playground_billing_record-usage",
|
|
8053
|
+
"params": [
|
|
8054
|
+
{
|
|
8055
|
+
"in": "body",
|
|
8056
|
+
"name": "value"
|
|
8057
|
+
}
|
|
8058
|
+
],
|
|
8059
|
+
"path": "/playground/billing/usage",
|
|
8060
|
+
"readOnly": false
|
|
8061
|
+
}
|
|
8062
|
+
},
|
|
8063
|
+
"clickup": {
|
|
8064
|
+
"create-task": {
|
|
8065
|
+
"level": "write",
|
|
8066
|
+
"method": "POST",
|
|
8067
|
+
"operationKey": "playground_clickup_create-task",
|
|
8068
|
+
"params": [
|
|
8069
|
+
{
|
|
8070
|
+
"in": "body",
|
|
8071
|
+
"name": "listId"
|
|
8072
|
+
},
|
|
8073
|
+
{
|
|
8074
|
+
"in": "body",
|
|
8075
|
+
"name": "name"
|
|
8076
|
+
}
|
|
8077
|
+
],
|
|
8078
|
+
"path": "/playground/clickup/tasks",
|
|
8079
|
+
"readOnly": false
|
|
8080
|
+
},
|
|
8081
|
+
"get-last-webhook": {
|
|
8082
|
+
"level": "read",
|
|
8083
|
+
"method": "GET",
|
|
8084
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
8085
|
+
"path": "/playground/clickup/webhooks/last",
|
|
8086
|
+
"readOnly": true
|
|
8087
|
+
},
|
|
8088
|
+
"get-overview": {
|
|
8089
|
+
"level": "read",
|
|
8090
|
+
"method": "GET",
|
|
8091
|
+
"operationKey": "playground_clickup_get-overview",
|
|
8092
|
+
"path": "/playground/clickup/overview",
|
|
8093
|
+
"readOnly": true
|
|
8094
|
+
}
|
|
8095
|
+
},
|
|
8096
|
+
"echo": {
|
|
8097
|
+
"ping": {
|
|
8098
|
+
"level": "read",
|
|
8099
|
+
"method": "POST",
|
|
8100
|
+
"operationKey": "playground_echo_ping",
|
|
8101
|
+
"params": [
|
|
8102
|
+
{
|
|
8103
|
+
"in": "body",
|
|
8104
|
+
"name": "message"
|
|
8105
|
+
}
|
|
8106
|
+
],
|
|
8107
|
+
"path": "/playground/echo/ping",
|
|
8108
|
+
"readOnly": true
|
|
8109
|
+
}
|
|
8110
|
+
},
|
|
8111
|
+
"gdrive": {
|
|
8112
|
+
"get-last-change": {
|
|
8113
|
+
"level": "read",
|
|
8114
|
+
"method": "GET",
|
|
8115
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
8116
|
+
"path": "/playground/gdrive/changes/last",
|
|
8117
|
+
"readOnly": true
|
|
8118
|
+
},
|
|
8119
|
+
"read-file": {
|
|
8120
|
+
"level": "read",
|
|
8121
|
+
"method": "POST",
|
|
8122
|
+
"operationKey": "playground_gdrive_read-file",
|
|
8123
|
+
"params": [
|
|
8124
|
+
{
|
|
8125
|
+
"in": "body",
|
|
8126
|
+
"name": "fileId"
|
|
8127
|
+
}
|
|
8128
|
+
],
|
|
8129
|
+
"path": "/playground/gdrive/file",
|
|
8130
|
+
"readOnly": true
|
|
8131
|
+
}
|
|
8132
|
+
},
|
|
8133
|
+
"googleads": {
|
|
8134
|
+
"read-customer": {
|
|
8135
|
+
"level": "read",
|
|
8136
|
+
"method": "POST",
|
|
8137
|
+
"operationKey": "playground_googleads_read-customer",
|
|
8138
|
+
"path": "/playground/googleads/customer",
|
|
8139
|
+
"readOnly": true
|
|
8140
|
+
}
|
|
8141
|
+
},
|
|
8142
|
+
"lifecycle": {
|
|
8143
|
+
"get-state": {
|
|
8144
|
+
"level": "read",
|
|
8145
|
+
"method": "GET",
|
|
8146
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
8147
|
+
"path": "/playground/lifecycle/state",
|
|
8148
|
+
"readOnly": true
|
|
8149
|
+
},
|
|
8150
|
+
"list-events": {
|
|
8151
|
+
"level": "read",
|
|
8152
|
+
"method": "GET",
|
|
8153
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
8154
|
+
"path": "/playground/lifecycle/events",
|
|
8155
|
+
"readOnly": true
|
|
8156
|
+
}
|
|
8157
|
+
},
|
|
8158
|
+
"webhook": {
|
|
8159
|
+
"get-last": {
|
|
8160
|
+
"level": "read",
|
|
8161
|
+
"method": "GET",
|
|
8162
|
+
"operationKey": "playground_webhook_get-last",
|
|
8163
|
+
"path": "/playground/webhooks/last",
|
|
8164
|
+
"readOnly": true
|
|
8165
|
+
}
|
|
8166
|
+
},
|
|
8167
|
+
"workflow": {
|
|
8168
|
+
"echo": {
|
|
8169
|
+
"level": "write",
|
|
8170
|
+
"method": "POST",
|
|
8171
|
+
"operationKey": "playground_workflow_echo",
|
|
8172
|
+
"params": [
|
|
8173
|
+
{
|
|
8174
|
+
"in": "body",
|
|
8175
|
+
"name": "note"
|
|
8176
|
+
},
|
|
8177
|
+
{
|
|
8178
|
+
"in": "body",
|
|
8179
|
+
"name": "tags"
|
|
8180
|
+
}
|
|
8181
|
+
],
|
|
8182
|
+
"path": "/playground/workflow/echo",
|
|
8183
|
+
"readOnly": false
|
|
8184
|
+
},
|
|
8185
|
+
"echo-list": {
|
|
8186
|
+
"level": "read",
|
|
8187
|
+
"method": "GET",
|
|
8188
|
+
"operationKey": "playground_workflow_echo-list",
|
|
8189
|
+
"path": "/playground/workflow/echoes",
|
|
8190
|
+
"readOnly": true
|
|
8191
|
+
},
|
|
8192
|
+
"ping": {
|
|
8193
|
+
"level": "write",
|
|
8194
|
+
"method": "POST",
|
|
8195
|
+
"operationKey": "playground_workflow_ping",
|
|
8196
|
+
"params": [
|
|
8197
|
+
{
|
|
8198
|
+
"in": "body",
|
|
8199
|
+
"name": "kind"
|
|
8200
|
+
}
|
|
8201
|
+
],
|
|
8202
|
+
"path": "/playground/workflow/ping",
|
|
8203
|
+
"readOnly": false
|
|
8204
|
+
},
|
|
8205
|
+
"subjects-list": {
|
|
8206
|
+
"level": "read",
|
|
8207
|
+
"method": "GET",
|
|
8208
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
8209
|
+
"params": [
|
|
8210
|
+
{
|
|
8211
|
+
"in": "query",
|
|
8212
|
+
"name": "last_activity_before"
|
|
8213
|
+
},
|
|
8214
|
+
{
|
|
8215
|
+
"in": "query",
|
|
8216
|
+
"name": "last_activity_after"
|
|
8217
|
+
},
|
|
8218
|
+
{
|
|
8219
|
+
"in": "query",
|
|
8220
|
+
"name": "limit"
|
|
8221
|
+
},
|
|
8222
|
+
{
|
|
8223
|
+
"in": "query",
|
|
8224
|
+
"name": "cursor"
|
|
8225
|
+
}
|
|
8226
|
+
],
|
|
8227
|
+
"path": "/playground/workflow/subjects",
|
|
8228
|
+
"readOnly": true
|
|
8229
|
+
}
|
|
8230
|
+
}
|
|
8231
|
+
},
|
|
7949
8232
|
"realtime": {
|
|
7950
8233
|
"archive": {
|
|
7951
8234
|
"export": {
|
|
@@ -12270,4 +12553,12 @@ export const bindings: BindingsMap = {
|
|
|
12270
12553
|
}
|
|
12271
12554
|
};
|
|
12272
12555
|
|
|
12273
|
-
export const wsBindings: WsBindingsMap = {
|
|
12556
|
+
export const wsBindings: WsBindingsMap = {
|
|
12557
|
+
"playground": {
|
|
12558
|
+
"ws": {
|
|
12559
|
+
"echo": {
|
|
12560
|
+
"path": "/playground/ws/echo"
|
|
12561
|
+
}
|
|
12562
|
+
}
|
|
12563
|
+
}
|
|
12564
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -661,6 +661,18 @@ import type {
|
|
|
661
661
|
OrganizationBillingBudgetSetOutput,
|
|
662
662
|
OrganizationBillingBudgetsGetInput,
|
|
663
663
|
OrganizationBillingBudgetsGetOutput,
|
|
664
|
+
OrganizationBillingInvoicesListInput,
|
|
665
|
+
OrganizationBillingInvoicesListOutput,
|
|
666
|
+
OrganizationBillingOverviewGetInput,
|
|
667
|
+
OrganizationBillingOverviewGetOutput,
|
|
668
|
+
OrganizationBillingPlanGetInput,
|
|
669
|
+
OrganizationBillingPlanGetOutput,
|
|
670
|
+
OrganizationBillingProductUsageGetInput,
|
|
671
|
+
OrganizationBillingProductUsageGetOutput,
|
|
672
|
+
OrganizationBillingUsageDailyGetInput,
|
|
673
|
+
OrganizationBillingUsageDailyGetOutput,
|
|
674
|
+
OrganizationBillingUsageGetInput,
|
|
675
|
+
OrganizationBillingUsageGetOutput,
|
|
664
676
|
OrganizationBindingsListInput,
|
|
665
677
|
OrganizationBindingsListOutput,
|
|
666
678
|
OrganizationClickupInstallInput,
|
|
@@ -833,6 +845,40 @@ import type {
|
|
|
833
845
|
OrganizationXInstallOutput,
|
|
834
846
|
OrganizationYoutubeInstallInput,
|
|
835
847
|
OrganizationYoutubeInstallOutput,
|
|
848
|
+
PlaygroundAnalyticsOverviewInput,
|
|
849
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
850
|
+
PlaygroundBillingEntitlementsInput,
|
|
851
|
+
PlaygroundBillingEntitlementsOutput,
|
|
852
|
+
PlaygroundBillingRecordUsageInput,
|
|
853
|
+
PlaygroundBillingRecordUsageOutput,
|
|
854
|
+
PlaygroundClickupCreateTaskInput,
|
|
855
|
+
PlaygroundClickupCreateTaskOutput,
|
|
856
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
857
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
858
|
+
PlaygroundClickupGetOverviewInput,
|
|
859
|
+
PlaygroundClickupGetOverviewOutput,
|
|
860
|
+
PlaygroundEchoPingInput,
|
|
861
|
+
PlaygroundEchoPingOutput,
|
|
862
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
863
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
864
|
+
PlaygroundGdriveReadFileInput,
|
|
865
|
+
PlaygroundGdriveReadFileOutput,
|
|
866
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
867
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
868
|
+
PlaygroundLifecycleGetStateInput,
|
|
869
|
+
PlaygroundLifecycleGetStateOutput,
|
|
870
|
+
PlaygroundLifecycleListEventsInput,
|
|
871
|
+
PlaygroundLifecycleListEventsOutput,
|
|
872
|
+
PlaygroundWebhookGetLastInput,
|
|
873
|
+
PlaygroundWebhookGetLastOutput,
|
|
874
|
+
PlaygroundWorkflowEchoInput,
|
|
875
|
+
PlaygroundWorkflowEchoListInput,
|
|
876
|
+
PlaygroundWorkflowEchoListOutput,
|
|
877
|
+
PlaygroundWorkflowEchoOutput,
|
|
878
|
+
PlaygroundWorkflowPingInput,
|
|
879
|
+
PlaygroundWorkflowPingOutput,
|
|
880
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
881
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
836
882
|
RealtimeArchiveExportInput,
|
|
837
883
|
RealtimeArchiveExportOutput,
|
|
838
884
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1874,6 +1920,24 @@ export interface GeneratedClient {
|
|
|
1874
1920
|
'billing-budgets': {
|
|
1875
1921
|
get: ((input: OrganizationBillingBudgetsGetInput) => Promise<OrganizationBillingBudgetsGetOutput>) & Operation;
|
|
1876
1922
|
};
|
|
1923
|
+
'billing-invoices': {
|
|
1924
|
+
list: ((input: OrganizationBillingInvoicesListInput) => Promise<OrganizationBillingInvoicesListOutput>) & Operation;
|
|
1925
|
+
};
|
|
1926
|
+
'billing-overview': {
|
|
1927
|
+
get: ((input: OrganizationBillingOverviewGetInput) => Promise<OrganizationBillingOverviewGetOutput>) & Operation;
|
|
1928
|
+
};
|
|
1929
|
+
'billing-plan': {
|
|
1930
|
+
get: ((input: OrganizationBillingPlanGetInput) => Promise<OrganizationBillingPlanGetOutput>) & Operation;
|
|
1931
|
+
};
|
|
1932
|
+
'billing-product-usage': {
|
|
1933
|
+
get: ((input: OrganizationBillingProductUsageGetInput) => Promise<OrganizationBillingProductUsageGetOutput>) & Operation;
|
|
1934
|
+
};
|
|
1935
|
+
'billing-usage': {
|
|
1936
|
+
get: ((input: OrganizationBillingUsageGetInput) => Promise<OrganizationBillingUsageGetOutput>) & Operation;
|
|
1937
|
+
};
|
|
1938
|
+
'billing-usage-daily': {
|
|
1939
|
+
get: ((input: OrganizationBillingUsageDailyGetInput) => Promise<OrganizationBillingUsageDailyGetOutput>) & Operation;
|
|
1940
|
+
};
|
|
1877
1941
|
bindings: {
|
|
1878
1942
|
list: ((input: OrganizationBindingsListInput) => Promise<OrganizationBindingsListOutput>) & Operation;
|
|
1879
1943
|
};
|
|
@@ -2012,6 +2076,43 @@ export interface GeneratedClient {
|
|
|
2012
2076
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
2013
2077
|
};
|
|
2014
2078
|
};
|
|
2079
|
+
playground: {
|
|
2080
|
+
analytics: {
|
|
2081
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
2082
|
+
};
|
|
2083
|
+
billing: {
|
|
2084
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
2085
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
2086
|
+
};
|
|
2087
|
+
clickup: {
|
|
2088
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
2089
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
2090
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
2091
|
+
};
|
|
2092
|
+
echo: {
|
|
2093
|
+
ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
|
|
2094
|
+
};
|
|
2095
|
+
gdrive: {
|
|
2096
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
2097
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
2098
|
+
};
|
|
2099
|
+
googleads: {
|
|
2100
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
2101
|
+
};
|
|
2102
|
+
lifecycle: {
|
|
2103
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
2104
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
2105
|
+
};
|
|
2106
|
+
webhook: {
|
|
2107
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
2108
|
+
};
|
|
2109
|
+
workflow: {
|
|
2110
|
+
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
2111
|
+
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
2112
|
+
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
2113
|
+
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
2114
|
+
};
|
|
2115
|
+
};
|
|
2015
2116
|
realtime: {
|
|
2016
2117
|
archive: {
|
|
2017
2118
|
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',
|
|
@@ -334,6 +334,12 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
334
334
|
'organization_billing_budget_resume': 'write',
|
|
335
335
|
'organization_billing_budget_set': 'write',
|
|
336
336
|
'organization_billing_budgets_get': 'read',
|
|
337
|
+
'organization_billing_invoices_list': 'read',
|
|
338
|
+
'organization_billing_overview_get': 'read',
|
|
339
|
+
'organization_billing_plan_get': 'read',
|
|
340
|
+
'organization_billing_product-usage_get': 'read',
|
|
341
|
+
'organization_billing_usage-daily_get': 'read',
|
|
342
|
+
'organization_billing_usage_get': 'read',
|
|
337
343
|
'organization_bindings_list': 'read',
|
|
338
344
|
'organization_clickup_install': 'read',
|
|
339
345
|
'organization_clickup_list-installations': 'read',
|
|
@@ -420,6 +426,23 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
420
426
|
'organization_support_threads_list': 'read',
|
|
421
427
|
'organization_x_install': 'read',
|
|
422
428
|
'organization_youtube_install': 'read',
|
|
429
|
+
'playground_analytics_overview': 'read',
|
|
430
|
+
'playground_billing_entitlements': 'read',
|
|
431
|
+
'playground_billing_record-usage': 'write',
|
|
432
|
+
'playground_clickup_create-task': 'write',
|
|
433
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
434
|
+
'playground_clickup_get-overview': 'read',
|
|
435
|
+
'playground_echo_ping': 'read',
|
|
436
|
+
'playground_gdrive_get-last-change': 'read',
|
|
437
|
+
'playground_gdrive_read-file': 'read',
|
|
438
|
+
'playground_googleads_read-customer': 'read',
|
|
439
|
+
'playground_lifecycle_get-state': 'read',
|
|
440
|
+
'playground_lifecycle_list-events': 'read',
|
|
441
|
+
'playground_webhook_get-last': 'read',
|
|
442
|
+
'playground_workflow_echo': 'write',
|
|
443
|
+
'playground_workflow_echo-list': 'read',
|
|
444
|
+
'playground_workflow_ping': 'write',
|
|
445
|
+
'playground_workflow_subjects-list': 'read',
|
|
423
446
|
'realtime_archive_export': 'admin',
|
|
424
447
|
'realtime_archive_export_status': 'read',
|
|
425
448
|
'realtime_archive_get': 'read',
|
|
@@ -714,6 +737,9 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
714
737
|
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
715
738
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
716
739
|
'mail_usage_get': {"label":"Get usage"},
|
|
740
|
+
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
741
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
742
|
+
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
717
743
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
718
744
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
719
745
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|