@lessly/sdk-app 105.12.0 → 105.14.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 +8 -20
- package/dist/_types/gen/client.gen.d.ts +45 -1
- package/dist/_types/gen/content/index.d.ts +1 -1
- package/dist/_types/gen/content/queryOptions.gen.d.ts +13 -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 +1925 -634
- package/dist/chunk-A7WRKJPH.js +12260 -0
- package/dist/chunk-A7WRKJPH.js.map +1 -0
- package/dist/content/index.cjs +15 -0
- package/dist/content/index.cjs.map +1 -1
- package/dist/content/index.js +13 -1
- package/dist/content/index.js.map +1 -1
- package/dist/index.cjs +302 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +25 -12014
- 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 +288 -46
- package/src/gen/client.gen.ts +84 -0
- package/src/gen/content/index.ts +1 -1
- package/src/gen/content/queryOptions.gen.ts +18 -0
- package/src/gen/manifest.gen.ts +24 -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 +2091 -748
|
@@ -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-A7WRKJPH.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;AACj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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": "105.
|
|
4
|
+
"version": "105.14.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:7d9714f1af50ba8bc459d4469fee7fceed254e16f4a0c68a7f992425254c213b"
|
|
214
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -2063,6 +2063,25 @@ export const bindings: BindingsMap = {
|
|
|
2063
2063
|
"readOnly": false
|
|
2064
2064
|
}
|
|
2065
2065
|
},
|
|
2066
|
+
"posts-skip": {
|
|
2067
|
+
"output": {
|
|
2068
|
+
"level": "write",
|
|
2069
|
+
"method": "POST",
|
|
2070
|
+
"operationKey": "content_posts_skip_output",
|
|
2071
|
+
"params": [
|
|
2072
|
+
{
|
|
2073
|
+
"in": "path",
|
|
2074
|
+
"name": "postId"
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"in": "body",
|
|
2078
|
+
"name": "variantId"
|
|
2079
|
+
}
|
|
2080
|
+
],
|
|
2081
|
+
"path": "/content/posts/:postId/skip-output",
|
|
2082
|
+
"readOnly": false
|
|
2083
|
+
}
|
|
2084
|
+
},
|
|
2066
2085
|
"posts-to": {
|
|
2067
2086
|
"draft": {
|
|
2068
2087
|
"level": "write",
|
|
@@ -2091,6 +2110,25 @@ export const bindings: BindingsMap = {
|
|
|
2091
2110
|
"readOnly": false
|
|
2092
2111
|
}
|
|
2093
2112
|
},
|
|
2113
|
+
"posts-unskip": {
|
|
2114
|
+
"output": {
|
|
2115
|
+
"level": "write",
|
|
2116
|
+
"method": "POST",
|
|
2117
|
+
"operationKey": "content_posts_unskip_output",
|
|
2118
|
+
"params": [
|
|
2119
|
+
{
|
|
2120
|
+
"in": "path",
|
|
2121
|
+
"name": "postId"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"in": "body",
|
|
2125
|
+
"name": "variantId"
|
|
2126
|
+
}
|
|
2127
|
+
],
|
|
2128
|
+
"path": "/content/posts/:postId/unskip-output",
|
|
2129
|
+
"readOnly": false
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2094
2132
|
"publications": {
|
|
2095
2133
|
"cancel": {
|
|
2096
2134
|
"level": "write",
|
|
@@ -2100,6 +2138,10 @@ export const bindings: BindingsMap = {
|
|
|
2100
2138
|
{
|
|
2101
2139
|
"in": "path",
|
|
2102
2140
|
"name": "id"
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"in": "body",
|
|
2144
|
+
"name": "checkedNotLive"
|
|
2103
2145
|
}
|
|
2104
2146
|
],
|
|
2105
2147
|
"path": "/content/publications/:id/cancel",
|
|
@@ -2201,6 +2243,39 @@ export const bindings: BindingsMap = {
|
|
|
2201
2243
|
"path": "/content/publications/publish",
|
|
2202
2244
|
"readOnly": false
|
|
2203
2245
|
},
|
|
2246
|
+
"record": {
|
|
2247
|
+
"level": "write",
|
|
2248
|
+
"method": "POST",
|
|
2249
|
+
"operationKey": "content_publications_record",
|
|
2250
|
+
"params": [
|
|
2251
|
+
{
|
|
2252
|
+
"in": "body",
|
|
2253
|
+
"name": "postId"
|
|
2254
|
+
},
|
|
2255
|
+
{
|
|
2256
|
+
"in": "body",
|
|
2257
|
+
"name": "variantId"
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"in": "body",
|
|
2261
|
+
"name": "channelId"
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"in": "body",
|
|
2265
|
+
"name": "externalUrl"
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"in": "body",
|
|
2269
|
+
"name": "externalId"
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"in": "body",
|
|
2273
|
+
"name": "publishedAt"
|
|
2274
|
+
}
|
|
2275
|
+
],
|
|
2276
|
+
"path": "/content/publications/record",
|
|
2277
|
+
"readOnly": false
|
|
2278
|
+
},
|
|
2204
2279
|
"remind": {
|
|
2205
2280
|
"level": "write",
|
|
2206
2281
|
"method": "POST",
|
|
@@ -6266,12 +6341,6 @@ export const bindings: BindingsMap = {
|
|
|
6266
6341
|
"level": "read",
|
|
6267
6342
|
"method": "GET",
|
|
6268
6343
|
"operationKey": "organization_clickup_install",
|
|
6269
|
-
"params": [
|
|
6270
|
-
{
|
|
6271
|
-
"in": "query",
|
|
6272
|
-
"name": "share"
|
|
6273
|
-
}
|
|
6274
|
-
],
|
|
6275
6344
|
"path": "/governance/api/v1/connectors/clickup/install",
|
|
6276
6345
|
"readOnly": false
|
|
6277
6346
|
},
|
|
@@ -6288,12 +6357,6 @@ export const bindings: BindingsMap = {
|
|
|
6288
6357
|
"level": "read",
|
|
6289
6358
|
"method": "GET",
|
|
6290
6359
|
"operationKey": "organization_cloudflare_install",
|
|
6291
|
-
"params": [
|
|
6292
|
-
{
|
|
6293
|
-
"in": "query",
|
|
6294
|
-
"name": "share"
|
|
6295
|
-
}
|
|
6296
|
-
],
|
|
6297
6360
|
"path": "/governance/api/v1/connectors/cloudflare/install",
|
|
6298
6361
|
"readOnly": false
|
|
6299
6362
|
}
|
|
@@ -6614,12 +6677,6 @@ export const bindings: BindingsMap = {
|
|
|
6614
6677
|
"level": "read",
|
|
6615
6678
|
"method": "GET",
|
|
6616
6679
|
"operationKey": "organization_gdrive_install",
|
|
6617
|
-
"params": [
|
|
6618
|
-
{
|
|
6619
|
-
"in": "query",
|
|
6620
|
-
"name": "share"
|
|
6621
|
-
}
|
|
6622
|
-
],
|
|
6623
6680
|
"path": "/governance/api/v1/connectors/gdrive/install",
|
|
6624
6681
|
"readOnly": false
|
|
6625
6682
|
}
|
|
@@ -6629,12 +6686,6 @@ export const bindings: BindingsMap = {
|
|
|
6629
6686
|
"level": "read",
|
|
6630
6687
|
"method": "GET",
|
|
6631
6688
|
"operationKey": "organization_github_install",
|
|
6632
|
-
"params": [
|
|
6633
|
-
{
|
|
6634
|
-
"in": "query",
|
|
6635
|
-
"name": "share"
|
|
6636
|
-
}
|
|
6637
|
-
],
|
|
6638
6689
|
"path": "/governance/api/v1/connectors/github/install",
|
|
6639
6690
|
"readOnly": false
|
|
6640
6691
|
},
|
|
@@ -6849,12 +6900,6 @@ export const bindings: BindingsMap = {
|
|
|
6849
6900
|
"level": "read",
|
|
6850
6901
|
"method": "GET",
|
|
6851
6902
|
"operationKey": "organization_linkedin_member_install",
|
|
6852
|
-
"params": [
|
|
6853
|
-
{
|
|
6854
|
-
"in": "query",
|
|
6855
|
-
"name": "share"
|
|
6856
|
-
}
|
|
6857
|
-
],
|
|
6858
6903
|
"path": "/governance/api/v1/connectors/linkedin-member/install",
|
|
6859
6904
|
"readOnly": false
|
|
6860
6905
|
}
|
|
@@ -7491,12 +7536,6 @@ export const bindings: BindingsMap = {
|
|
|
7491
7536
|
"level": "read",
|
|
7492
7537
|
"method": "GET",
|
|
7493
7538
|
"operationKey": "organization_reddit_install",
|
|
7494
|
-
"params": [
|
|
7495
|
-
{
|
|
7496
|
-
"in": "query",
|
|
7497
|
-
"name": "share"
|
|
7498
|
-
}
|
|
7499
|
-
],
|
|
7500
7539
|
"path": "/governance/api/v1/connectors/reddit/install",
|
|
7501
7540
|
"readOnly": false
|
|
7502
7541
|
}
|
|
@@ -7690,12 +7729,6 @@ export const bindings: BindingsMap = {
|
|
|
7690
7729
|
"level": "read",
|
|
7691
7730
|
"method": "GET",
|
|
7692
7731
|
"operationKey": "organization_x_install",
|
|
7693
|
-
"params": [
|
|
7694
|
-
{
|
|
7695
|
-
"in": "query",
|
|
7696
|
-
"name": "share"
|
|
7697
|
-
}
|
|
7698
|
-
],
|
|
7699
7732
|
"path": "/governance/api/v1/connectors/x/install",
|
|
7700
7733
|
"readOnly": false
|
|
7701
7734
|
}
|
|
@@ -7705,15 +7738,216 @@ export const bindings: BindingsMap = {
|
|
|
7705
7738
|
"level": "read",
|
|
7706
7739
|
"method": "GET",
|
|
7707
7740
|
"operationKey": "organization_youtube_install",
|
|
7741
|
+
"path": "/governance/api/v1/connectors/youtube/install",
|
|
7742
|
+
"readOnly": false
|
|
7743
|
+
}
|
|
7744
|
+
}
|
|
7745
|
+
},
|
|
7746
|
+
"playground": {
|
|
7747
|
+
"analytics": {
|
|
7748
|
+
"overview": {
|
|
7749
|
+
"level": "read",
|
|
7750
|
+
"method": "POST",
|
|
7751
|
+
"operationKey": "playground_analytics_overview",
|
|
7708
7752
|
"params": [
|
|
7709
7753
|
{
|
|
7710
|
-
"in": "
|
|
7711
|
-
"name": "
|
|
7754
|
+
"in": "body",
|
|
7755
|
+
"name": "limit"
|
|
7712
7756
|
}
|
|
7713
7757
|
],
|
|
7714
|
-
"path": "/
|
|
7758
|
+
"path": "/playground/analytics/overview",
|
|
7759
|
+
"readOnly": true
|
|
7760
|
+
}
|
|
7761
|
+
},
|
|
7762
|
+
"billing": {
|
|
7763
|
+
"entitlements": {
|
|
7764
|
+
"level": "read",
|
|
7765
|
+
"method": "POST",
|
|
7766
|
+
"operationKey": "playground_billing_entitlements",
|
|
7767
|
+
"path": "/playground/billing/entitlements",
|
|
7768
|
+
"readOnly": true
|
|
7769
|
+
},
|
|
7770
|
+
"record-usage": {
|
|
7771
|
+
"level": "write",
|
|
7772
|
+
"method": "POST",
|
|
7773
|
+
"operationKey": "playground_billing_record-usage",
|
|
7774
|
+
"params": [
|
|
7775
|
+
{
|
|
7776
|
+
"in": "body",
|
|
7777
|
+
"name": "value"
|
|
7778
|
+
}
|
|
7779
|
+
],
|
|
7780
|
+
"path": "/playground/billing/usage",
|
|
7715
7781
|
"readOnly": false
|
|
7716
7782
|
}
|
|
7783
|
+
},
|
|
7784
|
+
"clickup": {
|
|
7785
|
+
"create-task": {
|
|
7786
|
+
"level": "write",
|
|
7787
|
+
"method": "POST",
|
|
7788
|
+
"operationKey": "playground_clickup_create-task",
|
|
7789
|
+
"params": [
|
|
7790
|
+
{
|
|
7791
|
+
"in": "body",
|
|
7792
|
+
"name": "listId"
|
|
7793
|
+
},
|
|
7794
|
+
{
|
|
7795
|
+
"in": "body",
|
|
7796
|
+
"name": "name"
|
|
7797
|
+
}
|
|
7798
|
+
],
|
|
7799
|
+
"path": "/playground/clickup/tasks",
|
|
7800
|
+
"readOnly": false
|
|
7801
|
+
},
|
|
7802
|
+
"get-last-webhook": {
|
|
7803
|
+
"level": "read",
|
|
7804
|
+
"method": "GET",
|
|
7805
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7806
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7807
|
+
"readOnly": true
|
|
7808
|
+
},
|
|
7809
|
+
"get-overview": {
|
|
7810
|
+
"level": "read",
|
|
7811
|
+
"method": "GET",
|
|
7812
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7813
|
+
"path": "/playground/clickup/overview",
|
|
7814
|
+
"readOnly": true
|
|
7815
|
+
}
|
|
7816
|
+
},
|
|
7817
|
+
"echo": {
|
|
7818
|
+
"ping": {
|
|
7819
|
+
"level": "read",
|
|
7820
|
+
"method": "POST",
|
|
7821
|
+
"operationKey": "playground_echo_ping",
|
|
7822
|
+
"params": [
|
|
7823
|
+
{
|
|
7824
|
+
"in": "body",
|
|
7825
|
+
"name": "message"
|
|
7826
|
+
}
|
|
7827
|
+
],
|
|
7828
|
+
"path": "/playground/echo/ping",
|
|
7829
|
+
"readOnly": true
|
|
7830
|
+
}
|
|
7831
|
+
},
|
|
7832
|
+
"gdrive": {
|
|
7833
|
+
"get-last-change": {
|
|
7834
|
+
"level": "read",
|
|
7835
|
+
"method": "GET",
|
|
7836
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7837
|
+
"path": "/playground/gdrive/changes/last",
|
|
7838
|
+
"readOnly": true
|
|
7839
|
+
},
|
|
7840
|
+
"read-file": {
|
|
7841
|
+
"level": "read",
|
|
7842
|
+
"method": "POST",
|
|
7843
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7844
|
+
"params": [
|
|
7845
|
+
{
|
|
7846
|
+
"in": "body",
|
|
7847
|
+
"name": "fileId"
|
|
7848
|
+
}
|
|
7849
|
+
],
|
|
7850
|
+
"path": "/playground/gdrive/file",
|
|
7851
|
+
"readOnly": true
|
|
7852
|
+
}
|
|
7853
|
+
},
|
|
7854
|
+
"googleads": {
|
|
7855
|
+
"read-customer": {
|
|
7856
|
+
"level": "read",
|
|
7857
|
+
"method": "POST",
|
|
7858
|
+
"operationKey": "playground_googleads_read-customer",
|
|
7859
|
+
"path": "/playground/googleads/customer",
|
|
7860
|
+
"readOnly": true
|
|
7861
|
+
}
|
|
7862
|
+
},
|
|
7863
|
+
"lifecycle": {
|
|
7864
|
+
"get-state": {
|
|
7865
|
+
"level": "read",
|
|
7866
|
+
"method": "GET",
|
|
7867
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7868
|
+
"path": "/playground/lifecycle/state",
|
|
7869
|
+
"readOnly": true
|
|
7870
|
+
},
|
|
7871
|
+
"list-events": {
|
|
7872
|
+
"level": "read",
|
|
7873
|
+
"method": "GET",
|
|
7874
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7875
|
+
"path": "/playground/lifecycle/events",
|
|
7876
|
+
"readOnly": true
|
|
7877
|
+
}
|
|
7878
|
+
},
|
|
7879
|
+
"webhook": {
|
|
7880
|
+
"get-last": {
|
|
7881
|
+
"level": "read",
|
|
7882
|
+
"method": "GET",
|
|
7883
|
+
"operationKey": "playground_webhook_get-last",
|
|
7884
|
+
"path": "/playground/webhooks/last",
|
|
7885
|
+
"readOnly": true
|
|
7886
|
+
}
|
|
7887
|
+
},
|
|
7888
|
+
"workflow": {
|
|
7889
|
+
"echo": {
|
|
7890
|
+
"level": "write",
|
|
7891
|
+
"method": "POST",
|
|
7892
|
+
"operationKey": "playground_workflow_echo",
|
|
7893
|
+
"params": [
|
|
7894
|
+
{
|
|
7895
|
+
"in": "body",
|
|
7896
|
+
"name": "note"
|
|
7897
|
+
},
|
|
7898
|
+
{
|
|
7899
|
+
"in": "body",
|
|
7900
|
+
"name": "tags"
|
|
7901
|
+
}
|
|
7902
|
+
],
|
|
7903
|
+
"path": "/playground/workflow/echo",
|
|
7904
|
+
"readOnly": false
|
|
7905
|
+
},
|
|
7906
|
+
"echo-list": {
|
|
7907
|
+
"level": "read",
|
|
7908
|
+
"method": "GET",
|
|
7909
|
+
"operationKey": "playground_workflow_echo-list",
|
|
7910
|
+
"path": "/playground/workflow/echoes",
|
|
7911
|
+
"readOnly": true
|
|
7912
|
+
},
|
|
7913
|
+
"ping": {
|
|
7914
|
+
"level": "write",
|
|
7915
|
+
"method": "POST",
|
|
7916
|
+
"operationKey": "playground_workflow_ping",
|
|
7917
|
+
"params": [
|
|
7918
|
+
{
|
|
7919
|
+
"in": "body",
|
|
7920
|
+
"name": "kind"
|
|
7921
|
+
}
|
|
7922
|
+
],
|
|
7923
|
+
"path": "/playground/workflow/ping",
|
|
7924
|
+
"readOnly": false
|
|
7925
|
+
},
|
|
7926
|
+
"subjects-list": {
|
|
7927
|
+
"level": "read",
|
|
7928
|
+
"method": "GET",
|
|
7929
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
7930
|
+
"params": [
|
|
7931
|
+
{
|
|
7932
|
+
"in": "query",
|
|
7933
|
+
"name": "last_activity_before"
|
|
7934
|
+
},
|
|
7935
|
+
{
|
|
7936
|
+
"in": "query",
|
|
7937
|
+
"name": "last_activity_after"
|
|
7938
|
+
},
|
|
7939
|
+
{
|
|
7940
|
+
"in": "query",
|
|
7941
|
+
"name": "limit"
|
|
7942
|
+
},
|
|
7943
|
+
{
|
|
7944
|
+
"in": "query",
|
|
7945
|
+
"name": "cursor"
|
|
7946
|
+
}
|
|
7947
|
+
],
|
|
7948
|
+
"path": "/playground/workflow/subjects",
|
|
7949
|
+
"readOnly": true
|
|
7950
|
+
}
|
|
7717
7951
|
}
|
|
7718
7952
|
},
|
|
7719
7953
|
"realtime": {
|
|
@@ -12014,4 +12248,12 @@ export const bindings: BindingsMap = {
|
|
|
12014
12248
|
}
|
|
12015
12249
|
};
|
|
12016
12250
|
|
|
12017
|
-
export const wsBindings: WsBindingsMap = {
|
|
12251
|
+
export const wsBindings: WsBindingsMap = {
|
|
12252
|
+
"playground": {
|
|
12253
|
+
"ws": {
|
|
12254
|
+
"echo": {
|
|
12255
|
+
"path": "/playground/ws/echo"
|
|
12256
|
+
}
|
|
12257
|
+
}
|
|
12258
|
+
}
|
|
12259
|
+
};
|