@lessly/sdk-app 65.0.0 → 65.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/dist/_types/gen/client.gen.d.ts +39 -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 +13 -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 +62 -0
- package/dist/_types/gen/types.gen.d.ts +328 -0
- package/dist/chunk-Z3HG67EN.js +11085 -0
- package/dist/chunk-Z3HG67EN.js.map +1 -0
- package/dist/index.cjs +261 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -10834
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +15 -0
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +13 -1
- package/dist/organization/index.js.map +1 -1
- package/dist/playground/index.cjs +96 -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 +70 -0
- package/dist/playground/index.js.map +1 -0
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +249 -1
- package/src/gen/client.gen.ts +74 -0
- package/src/gen/manifest.gen.ts +21 -1
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +19 -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 +105 -0
- package/src/gen/types.gen.ts +376 -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,70 @@
|
|
|
1
|
+
import { wsBindings } from '../chunk-Z3HG67EN.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 playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
|
|
29
|
+
queryKey: ["playground", "gdrive", "get-last-change", input],
|
|
30
|
+
queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
|
|
31
|
+
});
|
|
32
|
+
var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
|
|
33
|
+
queryKey: ["playground", "gdrive", "read-file", input],
|
|
34
|
+
queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
|
|
35
|
+
});
|
|
36
|
+
var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
|
|
37
|
+
queryKey: ["playground", "googleads", "read-customer", input],
|
|
38
|
+
queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
|
|
39
|
+
});
|
|
40
|
+
var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
|
|
41
|
+
queryKey: ["playground", "lifecycle", "get-state", input],
|
|
42
|
+
queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
|
|
43
|
+
});
|
|
44
|
+
var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
|
|
45
|
+
queryKey: ["playground", "lifecycle", "list-events", input],
|
|
46
|
+
queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
|
|
47
|
+
});
|
|
48
|
+
var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
|
|
49
|
+
queryKey: ["playground", "webhook", "get-last", input],
|
|
50
|
+
queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
|
|
51
|
+
});
|
|
52
|
+
var playgroundWorkflowEchoMutationOptions = (sdk) => ({
|
|
53
|
+
mutationKey: ["playground", "workflow", "echo"],
|
|
54
|
+
mutationFn: (input) => sdk["playground"]["workflow"]["echo"](input)
|
|
55
|
+
});
|
|
56
|
+
var playgroundWorkflowEchoListQueryOptions = (sdk, input) => ({
|
|
57
|
+
queryKey: ["playground", "workflow", "echo-list", input],
|
|
58
|
+
queryFn: () => sdk["playground"]["workflow"]["echo-list"](input)
|
|
59
|
+
});
|
|
60
|
+
var playgroundWorkflowPingMutationOptions = (sdk) => ({
|
|
61
|
+
mutationKey: ["playground", "workflow", "ping"],
|
|
62
|
+
mutationFn: (input) => sdk["playground"]["workflow"]["ping"](input)
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
// src/gen/playground/connect.gen.ts
|
|
66
|
+
var playgroundWsEchoConnect = (sdk, input) => sdk.openStream(wsBindings["playground"]["ws"]["echo"], input);
|
|
67
|
+
|
|
68
|
+
export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions, playgroundWorkflowEchoListQueryOptions, playgroundWorkflowEchoMutationOptions, playgroundWorkflowPingMutationOptions, playgroundWsEchoConnect };
|
|
69
|
+
//# sourceMappingURL=index.js.map
|
|
70
|
+
//# 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":"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","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 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} 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 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","// 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "65.
|
|
3
|
+
"version": "65.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -148,6 +148,16 @@
|
|
|
148
148
|
"default": "./dist/organization/index.cjs"
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
+
"./playground": {
|
|
152
|
+
"import": {
|
|
153
|
+
"types": "./dist/playground/index.d.ts",
|
|
154
|
+
"default": "./dist/playground/index.js"
|
|
155
|
+
},
|
|
156
|
+
"require": {
|
|
157
|
+
"types": "./dist/playground/index.d.cts",
|
|
158
|
+
"default": "./dist/playground/index.cjs"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
151
161
|
"./realtime": {
|
|
152
162
|
"import": {
|
|
153
163
|
"types": "./dist/realtime/index.d.ts",
|
|
@@ -209,5 +219,5 @@
|
|
|
209
219
|
}
|
|
210
220
|
}
|
|
211
221
|
},
|
|
212
|
-
"sdkContentHash": "sha256:
|
|
222
|
+
"sdkContentHash": "sha256:50ee697cb69dfa37812bda488ffbd1710a59d0d4b1c1a50ee22a8b43d063ca10"
|
|
213
223
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -6659,6 +6659,79 @@ export const bindings: BindingsMap = {
|
|
|
6659
6659
|
"readOnly": true
|
|
6660
6660
|
}
|
|
6661
6661
|
},
|
|
6662
|
+
"principal-grants": {
|
|
6663
|
+
"approve": {
|
|
6664
|
+
"level": "write",
|
|
6665
|
+
"method": "POST",
|
|
6666
|
+
"operationKey": "organization_principal-grants_approve",
|
|
6667
|
+
"params": [
|
|
6668
|
+
{
|
|
6669
|
+
"in": "path",
|
|
6670
|
+
"name": "productId"
|
|
6671
|
+
},
|
|
6672
|
+
{
|
|
6673
|
+
"in": "body",
|
|
6674
|
+
"name": "principalKind"
|
|
6675
|
+
},
|
|
6676
|
+
{
|
|
6677
|
+
"in": "body",
|
|
6678
|
+
"name": "principalId"
|
|
6679
|
+
},
|
|
6680
|
+
{
|
|
6681
|
+
"in": "body",
|
|
6682
|
+
"name": "tools"
|
|
6683
|
+
}
|
|
6684
|
+
],
|
|
6685
|
+
"path": "/governance/api/v1/products/:productId/principal-grants/approve",
|
|
6686
|
+
"readOnly": false
|
|
6687
|
+
},
|
|
6688
|
+
"list": {
|
|
6689
|
+
"level": "read",
|
|
6690
|
+
"method": "GET",
|
|
6691
|
+
"operationKey": "organization_principal-grants_list",
|
|
6692
|
+
"params": [
|
|
6693
|
+
{
|
|
6694
|
+
"in": "path",
|
|
6695
|
+
"name": "productId"
|
|
6696
|
+
},
|
|
6697
|
+
{
|
|
6698
|
+
"in": "query",
|
|
6699
|
+
"name": "principalKind"
|
|
6700
|
+
}
|
|
6701
|
+
],
|
|
6702
|
+
"path": "/governance/api/v1/products/:productId/principal-grants",
|
|
6703
|
+
"readOnly": true
|
|
6704
|
+
},
|
|
6705
|
+
"revoke": {
|
|
6706
|
+
"level": "admin",
|
|
6707
|
+
"method": "POST",
|
|
6708
|
+
"operationKey": "organization_principal-grants_revoke",
|
|
6709
|
+
"params": [
|
|
6710
|
+
{
|
|
6711
|
+
"in": "path",
|
|
6712
|
+
"name": "productId"
|
|
6713
|
+
},
|
|
6714
|
+
{
|
|
6715
|
+
"in": "body",
|
|
6716
|
+
"name": "principalKind"
|
|
6717
|
+
},
|
|
6718
|
+
{
|
|
6719
|
+
"in": "body",
|
|
6720
|
+
"name": "principalId"
|
|
6721
|
+
},
|
|
6722
|
+
{
|
|
6723
|
+
"in": "body",
|
|
6724
|
+
"name": "tools"
|
|
6725
|
+
},
|
|
6726
|
+
{
|
|
6727
|
+
"in": "body",
|
|
6728
|
+
"name": "reason"
|
|
6729
|
+
}
|
|
6730
|
+
],
|
|
6731
|
+
"path": "/governance/api/v1/products/:productId/principal-grants/revoke",
|
|
6732
|
+
"readOnly": false
|
|
6733
|
+
}
|
|
6734
|
+
},
|
|
6662
6735
|
"product": {
|
|
6663
6736
|
"create": {
|
|
6664
6737
|
"level": "write",
|
|
@@ -7116,6 +7189,173 @@ export const bindings: BindingsMap = {
|
|
|
7116
7189
|
}
|
|
7117
7190
|
}
|
|
7118
7191
|
},
|
|
7192
|
+
"playground": {
|
|
7193
|
+
"analytics": {
|
|
7194
|
+
"overview": {
|
|
7195
|
+
"level": "read",
|
|
7196
|
+
"method": "POST",
|
|
7197
|
+
"operationKey": "playground_analytics_overview",
|
|
7198
|
+
"params": [
|
|
7199
|
+
{
|
|
7200
|
+
"in": "body",
|
|
7201
|
+
"name": "limit"
|
|
7202
|
+
}
|
|
7203
|
+
],
|
|
7204
|
+
"path": "/playground/analytics/overview",
|
|
7205
|
+
"readOnly": true
|
|
7206
|
+
}
|
|
7207
|
+
},
|
|
7208
|
+
"billing": {
|
|
7209
|
+
"entitlements": {
|
|
7210
|
+
"level": "read",
|
|
7211
|
+
"method": "POST",
|
|
7212
|
+
"operationKey": "playground_billing_entitlements",
|
|
7213
|
+
"path": "/playground/billing/entitlements",
|
|
7214
|
+
"readOnly": true
|
|
7215
|
+
},
|
|
7216
|
+
"record-usage": {
|
|
7217
|
+
"level": "write",
|
|
7218
|
+
"method": "POST",
|
|
7219
|
+
"operationKey": "playground_billing_record-usage",
|
|
7220
|
+
"params": [
|
|
7221
|
+
{
|
|
7222
|
+
"in": "body",
|
|
7223
|
+
"name": "value"
|
|
7224
|
+
}
|
|
7225
|
+
],
|
|
7226
|
+
"path": "/playground/billing/usage",
|
|
7227
|
+
"readOnly": false
|
|
7228
|
+
}
|
|
7229
|
+
},
|
|
7230
|
+
"clickup": {
|
|
7231
|
+
"create-task": {
|
|
7232
|
+
"level": "write",
|
|
7233
|
+
"method": "POST",
|
|
7234
|
+
"operationKey": "playground_clickup_create-task",
|
|
7235
|
+
"params": [
|
|
7236
|
+
{
|
|
7237
|
+
"in": "body",
|
|
7238
|
+
"name": "listId"
|
|
7239
|
+
},
|
|
7240
|
+
{
|
|
7241
|
+
"in": "body",
|
|
7242
|
+
"name": "name"
|
|
7243
|
+
}
|
|
7244
|
+
],
|
|
7245
|
+
"path": "/playground/clickup/tasks",
|
|
7246
|
+
"readOnly": false
|
|
7247
|
+
},
|
|
7248
|
+
"get-last-webhook": {
|
|
7249
|
+
"level": "read",
|
|
7250
|
+
"method": "GET",
|
|
7251
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7252
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7253
|
+
"readOnly": true
|
|
7254
|
+
},
|
|
7255
|
+
"get-overview": {
|
|
7256
|
+
"level": "read",
|
|
7257
|
+
"method": "GET",
|
|
7258
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7259
|
+
"path": "/playground/clickup/overview",
|
|
7260
|
+
"readOnly": true
|
|
7261
|
+
}
|
|
7262
|
+
},
|
|
7263
|
+
"gdrive": {
|
|
7264
|
+
"get-last-change": {
|
|
7265
|
+
"level": "read",
|
|
7266
|
+
"method": "GET",
|
|
7267
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7268
|
+
"path": "/playground/gdrive/changes/last",
|
|
7269
|
+
"readOnly": true
|
|
7270
|
+
},
|
|
7271
|
+
"read-file": {
|
|
7272
|
+
"level": "read",
|
|
7273
|
+
"method": "POST",
|
|
7274
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7275
|
+
"params": [
|
|
7276
|
+
{
|
|
7277
|
+
"in": "body",
|
|
7278
|
+
"name": "fileId"
|
|
7279
|
+
}
|
|
7280
|
+
],
|
|
7281
|
+
"path": "/playground/gdrive/file",
|
|
7282
|
+
"readOnly": true
|
|
7283
|
+
}
|
|
7284
|
+
},
|
|
7285
|
+
"googleads": {
|
|
7286
|
+
"read-customer": {
|
|
7287
|
+
"level": "read",
|
|
7288
|
+
"method": "POST",
|
|
7289
|
+
"operationKey": "playground_googleads_read-customer",
|
|
7290
|
+
"path": "/playground/googleads/customer",
|
|
7291
|
+
"readOnly": true
|
|
7292
|
+
}
|
|
7293
|
+
},
|
|
7294
|
+
"lifecycle": {
|
|
7295
|
+
"get-state": {
|
|
7296
|
+
"level": "read",
|
|
7297
|
+
"method": "GET",
|
|
7298
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7299
|
+
"path": "/playground/lifecycle/state",
|
|
7300
|
+
"readOnly": true
|
|
7301
|
+
},
|
|
7302
|
+
"list-events": {
|
|
7303
|
+
"level": "read",
|
|
7304
|
+
"method": "GET",
|
|
7305
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7306
|
+
"path": "/playground/lifecycle/events",
|
|
7307
|
+
"readOnly": true
|
|
7308
|
+
}
|
|
7309
|
+
},
|
|
7310
|
+
"webhook": {
|
|
7311
|
+
"get-last": {
|
|
7312
|
+
"level": "read",
|
|
7313
|
+
"method": "GET",
|
|
7314
|
+
"operationKey": "playground_webhook_get-last",
|
|
7315
|
+
"path": "/playground/webhooks/last",
|
|
7316
|
+
"readOnly": true
|
|
7317
|
+
}
|
|
7318
|
+
},
|
|
7319
|
+
"workflow": {
|
|
7320
|
+
"echo": {
|
|
7321
|
+
"level": "write",
|
|
7322
|
+
"method": "POST",
|
|
7323
|
+
"operationKey": "playground_workflow_echo",
|
|
7324
|
+
"params": [
|
|
7325
|
+
{
|
|
7326
|
+
"in": "body",
|
|
7327
|
+
"name": "note"
|
|
7328
|
+
},
|
|
7329
|
+
{
|
|
7330
|
+
"in": "body",
|
|
7331
|
+
"name": "tags"
|
|
7332
|
+
}
|
|
7333
|
+
],
|
|
7334
|
+
"path": "/playground/workflow/echo",
|
|
7335
|
+
"readOnly": false
|
|
7336
|
+
},
|
|
7337
|
+
"echo-list": {
|
|
7338
|
+
"level": "read",
|
|
7339
|
+
"method": "GET",
|
|
7340
|
+
"operationKey": "playground_workflow_echo-list",
|
|
7341
|
+
"path": "/playground/workflow/echoes",
|
|
7342
|
+
"readOnly": true
|
|
7343
|
+
},
|
|
7344
|
+
"ping": {
|
|
7345
|
+
"level": "write",
|
|
7346
|
+
"method": "POST",
|
|
7347
|
+
"operationKey": "playground_workflow_ping",
|
|
7348
|
+
"params": [
|
|
7349
|
+
{
|
|
7350
|
+
"in": "body",
|
|
7351
|
+
"name": "kind"
|
|
7352
|
+
}
|
|
7353
|
+
],
|
|
7354
|
+
"path": "/playground/workflow/ping",
|
|
7355
|
+
"readOnly": false
|
|
7356
|
+
}
|
|
7357
|
+
}
|
|
7358
|
+
},
|
|
7119
7359
|
"realtime": {
|
|
7120
7360
|
"archive": {
|
|
7121
7361
|
"export": {
|
|
@@ -10833,4 +11073,12 @@ export const bindings: BindingsMap = {
|
|
|
10833
11073
|
}
|
|
10834
11074
|
};
|
|
10835
11075
|
|
|
10836
|
-
export const wsBindings: WsBindingsMap = {
|
|
11076
|
+
export const wsBindings: WsBindingsMap = {
|
|
11077
|
+
"playground": {
|
|
11078
|
+
"ws": {
|
|
11079
|
+
"echo": {
|
|
11080
|
+
"path": "/playground/ws/echo"
|
|
11081
|
+
}
|
|
11082
|
+
}
|
|
11083
|
+
}
|
|
11084
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -711,6 +711,12 @@ import type {
|
|
|
711
711
|
OrganizationMembersAssignRoleOutput,
|
|
712
712
|
OrganizationPermissionCatalogInput,
|
|
713
713
|
OrganizationPermissionCatalogOutput,
|
|
714
|
+
OrganizationPrincipalGrantsApproveInput,
|
|
715
|
+
OrganizationPrincipalGrantsApproveOutput,
|
|
716
|
+
OrganizationPrincipalGrantsListInput,
|
|
717
|
+
OrganizationPrincipalGrantsListOutput,
|
|
718
|
+
OrganizationPrincipalGrantsRevokeInput,
|
|
719
|
+
OrganizationPrincipalGrantsRevokeOutput,
|
|
714
720
|
OrganizationProductCreateInput,
|
|
715
721
|
OrganizationProductCreateOutput,
|
|
716
722
|
OrganizationProductListAccessInput,
|
|
@@ -769,6 +775,36 @@ import type {
|
|
|
769
775
|
OrganizationXInstallOutput,
|
|
770
776
|
OrganizationYoutubeInstallInput,
|
|
771
777
|
OrganizationYoutubeInstallOutput,
|
|
778
|
+
PlaygroundAnalyticsOverviewInput,
|
|
779
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
780
|
+
PlaygroundBillingEntitlementsInput,
|
|
781
|
+
PlaygroundBillingEntitlementsOutput,
|
|
782
|
+
PlaygroundBillingRecordUsageInput,
|
|
783
|
+
PlaygroundBillingRecordUsageOutput,
|
|
784
|
+
PlaygroundClickupCreateTaskInput,
|
|
785
|
+
PlaygroundClickupCreateTaskOutput,
|
|
786
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
787
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
788
|
+
PlaygroundClickupGetOverviewInput,
|
|
789
|
+
PlaygroundClickupGetOverviewOutput,
|
|
790
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
791
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
792
|
+
PlaygroundGdriveReadFileInput,
|
|
793
|
+
PlaygroundGdriveReadFileOutput,
|
|
794
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
795
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
796
|
+
PlaygroundLifecycleGetStateInput,
|
|
797
|
+
PlaygroundLifecycleGetStateOutput,
|
|
798
|
+
PlaygroundLifecycleListEventsInput,
|
|
799
|
+
PlaygroundLifecycleListEventsOutput,
|
|
800
|
+
PlaygroundWebhookGetLastInput,
|
|
801
|
+
PlaygroundWebhookGetLastOutput,
|
|
802
|
+
PlaygroundWorkflowEchoInput,
|
|
803
|
+
PlaygroundWorkflowEchoListInput,
|
|
804
|
+
PlaygroundWorkflowEchoListOutput,
|
|
805
|
+
PlaygroundWorkflowEchoOutput,
|
|
806
|
+
PlaygroundWorkflowPingInput,
|
|
807
|
+
PlaygroundWorkflowPingOutput,
|
|
772
808
|
RealtimeArchiveExportInput,
|
|
773
809
|
RealtimeArchiveExportOutput,
|
|
774
810
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1789,6 +1825,11 @@ export interface GeneratedClient {
|
|
|
1789
1825
|
permission: {
|
|
1790
1826
|
catalog: ((input: OrganizationPermissionCatalogInput) => Promise<OrganizationPermissionCatalogOutput>) & Operation;
|
|
1791
1827
|
};
|
|
1828
|
+
'principal-grants': {
|
|
1829
|
+
approve: ((input: OrganizationPrincipalGrantsApproveInput) => Promise<OrganizationPrincipalGrantsApproveOutput>) & Operation;
|
|
1830
|
+
list: ((input: OrganizationPrincipalGrantsListInput) => Promise<OrganizationPrincipalGrantsListOutput>) & Operation;
|
|
1831
|
+
revoke: ((input: OrganizationPrincipalGrantsRevokeInput) => Promise<OrganizationPrincipalGrantsRevokeOutput>) & Operation;
|
|
1832
|
+
};
|
|
1792
1833
|
product: {
|
|
1793
1834
|
create: ((input: OrganizationProductCreateInput) => Promise<OrganizationProductCreateOutput>) & Operation;
|
|
1794
1835
|
list: ((input: OrganizationProductListInput) => Promise<OrganizationProductListOutput>) & Operation;
|
|
@@ -1838,6 +1879,39 @@ export interface GeneratedClient {
|
|
|
1838
1879
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
1839
1880
|
};
|
|
1840
1881
|
};
|
|
1882
|
+
playground: {
|
|
1883
|
+
analytics: {
|
|
1884
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
1885
|
+
};
|
|
1886
|
+
billing: {
|
|
1887
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
1888
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
1889
|
+
};
|
|
1890
|
+
clickup: {
|
|
1891
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
1892
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
1893
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
1894
|
+
};
|
|
1895
|
+
gdrive: {
|
|
1896
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
1897
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
1898
|
+
};
|
|
1899
|
+
googleads: {
|
|
1900
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
1901
|
+
};
|
|
1902
|
+
lifecycle: {
|
|
1903
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
1904
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
1905
|
+
};
|
|
1906
|
+
webhook: {
|
|
1907
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
1908
|
+
};
|
|
1909
|
+
workflow: {
|
|
1910
|
+
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
1911
|
+
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
1912
|
+
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
1913
|
+
};
|
|
1914
|
+
};
|
|
1841
1915
|
realtime: {
|
|
1842
1916
|
archive: {
|
|
1843
1917
|
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', 'waitlist', 'workflow'] as const;
|
|
4
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'waitlist', 'workflow'] as const;
|
|
5
5
|
|
|
6
6
|
export const operations: Record<string, ToolLevel> = {
|
|
7
7
|
'analytics_catalog_get': 'read',
|
|
@@ -359,6 +359,9 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
359
359
|
'organization_member_unshare-product': 'admin',
|
|
360
360
|
'organization_members_assign-role': 'admin',
|
|
361
361
|
'organization_permission_catalog': 'read',
|
|
362
|
+
'organization_principal-grants_approve': 'write',
|
|
363
|
+
'organization_principal-grants_list': 'read',
|
|
364
|
+
'organization_principal-grants_revoke': 'admin',
|
|
362
365
|
'organization_product_create': 'write',
|
|
363
366
|
'organization_product_list': 'read',
|
|
364
367
|
'organization_product_list-access': 'read',
|
|
@@ -388,6 +391,21 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
388
391
|
'organization_support_threads_list': 'read',
|
|
389
392
|
'organization_x_install': 'read',
|
|
390
393
|
'organization_youtube_install': 'read',
|
|
394
|
+
'playground_analytics_overview': 'read',
|
|
395
|
+
'playground_billing_entitlements': 'read',
|
|
396
|
+
'playground_billing_record-usage': 'write',
|
|
397
|
+
'playground_clickup_create-task': 'write',
|
|
398
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
399
|
+
'playground_clickup_get-overview': 'read',
|
|
400
|
+
'playground_gdrive_get-last-change': 'read',
|
|
401
|
+
'playground_gdrive_read-file': 'read',
|
|
402
|
+
'playground_googleads_read-customer': 'read',
|
|
403
|
+
'playground_lifecycle_get-state': 'read',
|
|
404
|
+
'playground_lifecycle_list-events': 'read',
|
|
405
|
+
'playground_webhook_get-last': 'read',
|
|
406
|
+
'playground_workflow_echo': 'write',
|
|
407
|
+
'playground_workflow_echo-list': 'read',
|
|
408
|
+
'playground_workflow_ping': 'write',
|
|
391
409
|
'realtime_archive_export': 'admin',
|
|
392
410
|
'realtime_archive_export_status': 'read',
|
|
393
411
|
'realtime_archive_get': 'read',
|
|
@@ -619,4 +637,6 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
619
637
|
'mail_template_publish': {"label":"Publish template"},
|
|
620
638
|
'mail_template_update': {"label":"Update template"},
|
|
621
639
|
'mail_usage_get': {"label":"Get usage"},
|
|
640
|
+
'playground_workflow_echo': {"pii":["input.note"],"label":"Store workflow echo"},
|
|
641
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
622
642
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
|
|
3
|
+
export type { OrganizationAuthMeInput, OrganizationAuthMeOutput, OrganizationBillingBudgetsGetInput, OrganizationBillingBudgetsGetOutput, OrganizationBillingCapsClearInput, OrganizationBillingCapsClearOutput, OrganizationBillingCapsSetInput, OrganizationBillingCapsSetOutput, OrganizationBindingsListInput, OrganizationBindingsListOutput, OrganizationClickupInstallInput, OrganizationClickupInstallOutput, OrganizationClickupListInstallationsInput, OrganizationClickupListInstallationsOutput, OrganizationCloudflareInstallInput, OrganizationCloudflareInstallOutput, OrganizationConnectorsApproveRequestInput, OrganizationConnectorsApproveRequestOutput, OrganizationConnectorsAttachInput, OrganizationConnectorsAttachOutput, OrganizationConnectorsDeleteInput, OrganizationConnectorsDeleteOutput, OrganizationConnectorsDenyRequestInput, OrganizationConnectorsDenyRequestOutput, OrganizationConnectorsDetachInput, OrganizationConnectorsDetachOutput, OrganizationConnectorsListAttachmentsInput, OrganizationConnectorsListAttachmentsOutput, OrganizationConnectorsListAvailableInput, OrganizationConnectorsListAvailableOutput, OrganizationConnectorsListInput, OrganizationConnectorsListOrgInput, OrganizationConnectorsListOrgOutput, OrganizationConnectorsListOutput, OrganizationConnectorsListRequestsInput, OrganizationConnectorsListRequestsOutput, OrganizationConnectorsRemoveInput, OrganizationConnectorsRemoveOutput, OrganizationConnectorsRequestInput, OrganizationConnectorsRequestOutput, OrganizationCreateInput, OrganizationCreateOutput, OrganizationDomainsAddInput, OrganizationDomainsAddOutput, OrganizationDomainsGetInput, OrganizationDomainsGetOutput, OrganizationDomainsListInput, OrganizationDomainsListOutput, OrganizationDomainsRemoveInput, OrganizationDomainsRemoveOutput, OrganizationDomainsSetModeInput, OrganizationDomainsSetModeOutput, OrganizationExtensionsListInstalledInput, OrganizationExtensionsListInstalledOutput, OrganizationFeedbackSubmitInput, OrganizationFeedbackSubmitOutput, OrganizationGdriveInstallInput, OrganizationGdriveInstallOutput, OrganizationGithubInstallInput, OrganizationGithubInstallOutput, OrganizationGithubListInstallationsInput, OrganizationGithubListInstallationsOutput, OrganizationGoogleadsInstallInput, OrganizationGoogleadsInstallOutput, OrganizationGroupsCreateInput, OrganizationGroupsCreateOutput, OrganizationGroupsDeleteInput, OrganizationGroupsDeleteOutput, OrganizationGroupsGetInput, OrganizationGroupsGetOutput, OrganizationGroupsGrantRemoveInput, OrganizationGroupsGrantRemoveOutput, OrganizationGroupsGrantSetInput, OrganizationGroupsGrantSetOutput, OrganizationGroupsListInput, OrganizationGroupsListOutput, OrganizationGroupsMemberAddInput, OrganizationGroupsMemberAddOutput, OrganizationGroupsMemberRemoveInput, OrganizationGroupsMemberRemoveOutput, OrganizationGroupsUpdateInput, OrganizationGroupsUpdateOutput, OrganizationLinkedinMemberInstallInput, OrganizationLinkedinMemberInstallOutput, OrganizationListInput, OrganizationListOutput, OrganizationMemberAcceptInviteInput, OrganizationMemberAcceptInviteOutput, OrganizationMemberInviteInput, OrganizationMemberInviteOutput, OrganizationMemberListInput, OrganizationMemberListInvitationsInput, OrganizationMemberListInvitationsOutput, OrganizationMemberListOutput, OrganizationMemberListProductAccessInput, OrganizationMemberListProductAccessOutput, OrganizationMemberRemoveInput, OrganizationMemberRemoveOutput, OrganizationMemberRevokeInvitationInput, OrganizationMemberRevokeInvitationOutput, OrganizationMemberSetRoleInput, OrganizationMemberSetRoleOutput, OrganizationMemberShareProductInput, OrganizationMemberShareProductOutput, OrganizationMemberUnshareProductInput, OrganizationMemberUnshareProductOutput, OrganizationMembersAssignRoleInput, OrganizationMembersAssignRoleOutput, OrganizationPermissionCatalogInput, OrganizationPermissionCatalogOutput, OrganizationPrincipalGrantsApproveInput, OrganizationPrincipalGrantsApproveOutput, OrganizationPrincipalGrantsListInput, OrganizationPrincipalGrantsListOutput, OrganizationPrincipalGrantsRevokeInput, OrganizationPrincipalGrantsRevokeOutput, OrganizationProductCreateInput, OrganizationProductCreateOutput, OrganizationProductListAccessInput, OrganizationProductListAccessOutput, OrganizationProductListInput, OrganizationProductListMembersInput, OrganizationProductListMembersOutput, OrganizationProductListOutput, OrganizationProductListRolesInput, OrganizationProductListRolesOutput, OrganizationProductMeInput, OrganizationProductMeOutput, OrganizationProductRevokeAccessInput, OrganizationProductRevokeAccessOutput, OrganizationProductSelectInput, OrganizationProductSelectOutput, OrganizationProductSetAccessInput, OrganizationProductSetAccessOutput, OrganizationProductUpdateInput, OrganizationProductUpdateOutput, OrganizationPublicKeysCreateInput, OrganizationPublicKeysCreateOutput, OrganizationPublicKeysListInput, OrganizationPublicKeysListOutput, OrganizationPublicKeysRevokeInput, OrganizationPublicKeysRevokeOutput, OrganizationPublicKeysUpdateScopeInput, OrganizationPublicKeysUpdateScopeOutput, OrganizationPublicRoutesListInput, OrganizationPublicRoutesListOutput, OrganizationRedditInstallInput, OrganizationRedditInstallOutput, OrganizationRolesCreateInput, OrganizationRolesCreateOutput, OrganizationRolesDeleteInput, OrganizationRolesDeleteOutput, OrganizationRolesGetInput, OrganizationRolesGetOutput, OrganizationRolesListInput, OrganizationRolesListOutput, OrganizationRolesUpdateInput, OrganizationRolesUpdateOutput, OrganizationSecurityMfaEnableInput, OrganizationSecurityMfaEnableOutput, OrganizationSelectInput, OrganizationSelectOutput, OrganizationSupportThreadCreateInput, OrganizationSupportThreadCreateOutput, OrganizationSupportThreadGetInput, OrganizationSupportThreadGetOutput, OrganizationSupportThreadReplyInput, OrganizationSupportThreadReplyOutput, OrganizationSupportThreadsListInput, OrganizationSupportThreadsListOutput, OrganizationXInstallInput, OrganizationXInstallOutput, OrganizationYoutubeInstallInput, OrganizationYoutubeInstallOutput } from '../types.gen';
|
|
@@ -76,6 +76,10 @@ import type {
|
|
|
76
76
|
OrganizationMembersAssignRoleInput,
|
|
77
77
|
OrganizationPermissionCatalogInput,
|
|
78
78
|
OrganizationPermissionCatalogOutput,
|
|
79
|
+
OrganizationPrincipalGrantsApproveInput,
|
|
80
|
+
OrganizationPrincipalGrantsListInput,
|
|
81
|
+
OrganizationPrincipalGrantsListOutput,
|
|
82
|
+
OrganizationPrincipalGrantsRevokeInput,
|
|
79
83
|
OrganizationProductCreateInput,
|
|
80
84
|
OrganizationProductListAccessInput,
|
|
81
85
|
OrganizationProductListAccessOutput,
|
|
@@ -393,6 +397,21 @@ export const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient,
|
|
|
393
397
|
queryFn: () => sdk['organization']['permission']['catalog'](input),
|
|
394
398
|
});
|
|
395
399
|
|
|
400
|
+
export const organizationPrincipalGrantsApproveMutationOptions = (sdk: GeneratedClient) => ({
|
|
401
|
+
mutationKey: ['organization', 'principal-grants', 'approve'],
|
|
402
|
+
mutationFn: (input: OrganizationPrincipalGrantsApproveInput) => sdk['organization']['principal-grants']['approve'](input),
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
export const organizationPrincipalGrantsListQueryOptions = (sdk: GeneratedClient, input: OrganizationPrincipalGrantsListInput) => ({
|
|
406
|
+
queryKey: ['organization', 'principal-grants', 'list', input] as const,
|
|
407
|
+
queryFn: () => sdk['organization']['principal-grants']['list'](input),
|
|
408
|
+
});
|
|
409
|
+
|
|
410
|
+
export const organizationPrincipalGrantsRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
411
|
+
mutationKey: ['organization', 'principal-grants', 'revoke'],
|
|
412
|
+
mutationFn: (input: OrganizationPrincipalGrantsRevokeInput) => sdk['organization']['principal-grants']['revoke'](input),
|
|
413
|
+
});
|
|
414
|
+
|
|
396
415
|
export const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
397
416
|
mutationKey: ['organization', 'product', 'create'],
|
|
398
417
|
mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),
|
|
@@ -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, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWsEchoInput } from '../types.gen';
|