@lessly/sdk-app 96.0.0 → 96.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -59
- package/dist/_types/gen/client.gen.d.ts +42 -6
- 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 +8 -12
- 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 +340 -24
- package/dist/chunk-DVWGP4BN.js +11704 -0
- package/dist/chunk-DVWGP4BN.js.map +1 -0
- package/dist/index.cjs +251 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -11489
- package/dist/index.js.map +1 -1
- package/dist/organization/index.cjs +10 -15
- package/dist/organization/index.cjs.map +1 -1
- package/dist/organization/index.js +9 -13
- 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 +238 -24
- package/src/gen/client.gen.ts +79 -11
- package/src/gen/manifest.gen.ts +23 -4
- package/src/gen/organization/index.ts +1 -1
- package/src/gen/organization/queryOptions.gen.ts +11 -17
- 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 +386 -28
|
@@ -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-DVWGP4BN.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": "96.0.
|
|
4
|
+
"version": "96.0.1",
|
|
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:ab1552a40ad366ca84fdb91f64c27cacef95580c37a0bd54041b46857703d697"
|
|
214
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -5937,48 +5937,47 @@ export const bindings: BindingsMap = {
|
|
|
5937
5937
|
"readOnly": true
|
|
5938
5938
|
}
|
|
5939
5939
|
},
|
|
5940
|
-
"billing-
|
|
5940
|
+
"billing-budgets": {
|
|
5941
|
+
"get": {
|
|
5942
|
+
"level": "read",
|
|
5943
|
+
"method": "GET",
|
|
5944
|
+
"operationKey": "organization_billing_budgets_get",
|
|
5945
|
+
"path": "/governance/api/v1/billing/budgets",
|
|
5946
|
+
"readOnly": true
|
|
5947
|
+
}
|
|
5948
|
+
},
|
|
5949
|
+
"billing-caps": {
|
|
5941
5950
|
"clear": {
|
|
5942
5951
|
"level": "write",
|
|
5943
5952
|
"method": "DELETE",
|
|
5944
|
-
"operationKey": "
|
|
5945
|
-
"
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
"
|
|
5952
|
-
"path": "/governance/api/v1/billing/budgets/resume",
|
|
5953
|
+
"operationKey": "organization_billing_caps_clear",
|
|
5954
|
+
"params": [
|
|
5955
|
+
{
|
|
5956
|
+
"in": "body",
|
|
5957
|
+
"name": "productId"
|
|
5958
|
+
}
|
|
5959
|
+
],
|
|
5960
|
+
"path": "/governance/api/v1/billing/budgets/cap",
|
|
5953
5961
|
"readOnly": false
|
|
5954
5962
|
},
|
|
5955
5963
|
"set": {
|
|
5956
5964
|
"level": "write",
|
|
5957
5965
|
"method": "PUT",
|
|
5958
|
-
"operationKey": "
|
|
5966
|
+
"operationKey": "organization_billing_caps_set",
|
|
5959
5967
|
"params": [
|
|
5960
5968
|
{
|
|
5961
5969
|
"in": "body",
|
|
5962
|
-
"name": "
|
|
5970
|
+
"name": "productId"
|
|
5963
5971
|
},
|
|
5964
5972
|
{
|
|
5965
5973
|
"in": "body",
|
|
5966
|
-
"name": "
|
|
5974
|
+
"name": "cap_minor"
|
|
5967
5975
|
}
|
|
5968
5976
|
],
|
|
5969
|
-
"path": "/governance/api/v1/billing/budgets",
|
|
5977
|
+
"path": "/governance/api/v1/billing/budgets/cap",
|
|
5970
5978
|
"readOnly": false
|
|
5971
5979
|
}
|
|
5972
5980
|
},
|
|
5973
|
-
"billing-budgets": {
|
|
5974
|
-
"get": {
|
|
5975
|
-
"level": "read",
|
|
5976
|
-
"method": "GET",
|
|
5977
|
-
"operationKey": "organization_billing_budgets_get",
|
|
5978
|
-
"path": "/governance/api/v1/billing/budgets",
|
|
5979
|
-
"readOnly": true
|
|
5980
|
-
}
|
|
5981
|
-
},
|
|
5982
5981
|
"bindings": {
|
|
5983
5982
|
"list": {
|
|
5984
5983
|
"level": "read",
|
|
@@ -7405,6 +7404,213 @@ export const bindings: BindingsMap = {
|
|
|
7405
7404
|
}
|
|
7406
7405
|
}
|
|
7407
7406
|
},
|
|
7407
|
+
"playground": {
|
|
7408
|
+
"analytics": {
|
|
7409
|
+
"overview": {
|
|
7410
|
+
"level": "read",
|
|
7411
|
+
"method": "POST",
|
|
7412
|
+
"operationKey": "playground_analytics_overview",
|
|
7413
|
+
"params": [
|
|
7414
|
+
{
|
|
7415
|
+
"in": "body",
|
|
7416
|
+
"name": "limit"
|
|
7417
|
+
}
|
|
7418
|
+
],
|
|
7419
|
+
"path": "/playground/analytics/overview",
|
|
7420
|
+
"readOnly": true
|
|
7421
|
+
}
|
|
7422
|
+
},
|
|
7423
|
+
"billing": {
|
|
7424
|
+
"entitlements": {
|
|
7425
|
+
"level": "read",
|
|
7426
|
+
"method": "POST",
|
|
7427
|
+
"operationKey": "playground_billing_entitlements",
|
|
7428
|
+
"path": "/playground/billing/entitlements",
|
|
7429
|
+
"readOnly": true
|
|
7430
|
+
},
|
|
7431
|
+
"record-usage": {
|
|
7432
|
+
"level": "write",
|
|
7433
|
+
"method": "POST",
|
|
7434
|
+
"operationKey": "playground_billing_record-usage",
|
|
7435
|
+
"params": [
|
|
7436
|
+
{
|
|
7437
|
+
"in": "body",
|
|
7438
|
+
"name": "value"
|
|
7439
|
+
}
|
|
7440
|
+
],
|
|
7441
|
+
"path": "/playground/billing/usage",
|
|
7442
|
+
"readOnly": false
|
|
7443
|
+
}
|
|
7444
|
+
},
|
|
7445
|
+
"clickup": {
|
|
7446
|
+
"create-task": {
|
|
7447
|
+
"level": "write",
|
|
7448
|
+
"method": "POST",
|
|
7449
|
+
"operationKey": "playground_clickup_create-task",
|
|
7450
|
+
"params": [
|
|
7451
|
+
{
|
|
7452
|
+
"in": "body",
|
|
7453
|
+
"name": "listId"
|
|
7454
|
+
},
|
|
7455
|
+
{
|
|
7456
|
+
"in": "body",
|
|
7457
|
+
"name": "name"
|
|
7458
|
+
}
|
|
7459
|
+
],
|
|
7460
|
+
"path": "/playground/clickup/tasks",
|
|
7461
|
+
"readOnly": false
|
|
7462
|
+
},
|
|
7463
|
+
"get-last-webhook": {
|
|
7464
|
+
"level": "read",
|
|
7465
|
+
"method": "GET",
|
|
7466
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7467
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7468
|
+
"readOnly": true
|
|
7469
|
+
},
|
|
7470
|
+
"get-overview": {
|
|
7471
|
+
"level": "read",
|
|
7472
|
+
"method": "GET",
|
|
7473
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7474
|
+
"path": "/playground/clickup/overview",
|
|
7475
|
+
"readOnly": true
|
|
7476
|
+
}
|
|
7477
|
+
},
|
|
7478
|
+
"echo": {
|
|
7479
|
+
"ping": {
|
|
7480
|
+
"level": "read",
|
|
7481
|
+
"method": "POST",
|
|
7482
|
+
"operationKey": "playground_echo_ping",
|
|
7483
|
+
"params": [
|
|
7484
|
+
{
|
|
7485
|
+
"in": "body",
|
|
7486
|
+
"name": "message"
|
|
7487
|
+
}
|
|
7488
|
+
],
|
|
7489
|
+
"path": "/playground/echo/ping",
|
|
7490
|
+
"readOnly": true
|
|
7491
|
+
}
|
|
7492
|
+
},
|
|
7493
|
+
"gdrive": {
|
|
7494
|
+
"get-last-change": {
|
|
7495
|
+
"level": "read",
|
|
7496
|
+
"method": "GET",
|
|
7497
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7498
|
+
"path": "/playground/gdrive/changes/last",
|
|
7499
|
+
"readOnly": true
|
|
7500
|
+
},
|
|
7501
|
+
"read-file": {
|
|
7502
|
+
"level": "read",
|
|
7503
|
+
"method": "POST",
|
|
7504
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7505
|
+
"params": [
|
|
7506
|
+
{
|
|
7507
|
+
"in": "body",
|
|
7508
|
+
"name": "fileId"
|
|
7509
|
+
}
|
|
7510
|
+
],
|
|
7511
|
+
"path": "/playground/gdrive/file",
|
|
7512
|
+
"readOnly": true
|
|
7513
|
+
}
|
|
7514
|
+
},
|
|
7515
|
+
"googleads": {
|
|
7516
|
+
"read-customer": {
|
|
7517
|
+
"level": "read",
|
|
7518
|
+
"method": "POST",
|
|
7519
|
+
"operationKey": "playground_googleads_read-customer",
|
|
7520
|
+
"path": "/playground/googleads/customer",
|
|
7521
|
+
"readOnly": true
|
|
7522
|
+
}
|
|
7523
|
+
},
|
|
7524
|
+
"lifecycle": {
|
|
7525
|
+
"get-state": {
|
|
7526
|
+
"level": "read",
|
|
7527
|
+
"method": "GET",
|
|
7528
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7529
|
+
"path": "/playground/lifecycle/state",
|
|
7530
|
+
"readOnly": true
|
|
7531
|
+
},
|
|
7532
|
+
"list-events": {
|
|
7533
|
+
"level": "read",
|
|
7534
|
+
"method": "GET",
|
|
7535
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7536
|
+
"path": "/playground/lifecycle/events",
|
|
7537
|
+
"readOnly": true
|
|
7538
|
+
}
|
|
7539
|
+
},
|
|
7540
|
+
"webhook": {
|
|
7541
|
+
"get-last": {
|
|
7542
|
+
"level": "read",
|
|
7543
|
+
"method": "GET",
|
|
7544
|
+
"operationKey": "playground_webhook_get-last",
|
|
7545
|
+
"path": "/playground/webhooks/last",
|
|
7546
|
+
"readOnly": true
|
|
7547
|
+
}
|
|
7548
|
+
},
|
|
7549
|
+
"workflow": {
|
|
7550
|
+
"echo": {
|
|
7551
|
+
"level": "write",
|
|
7552
|
+
"method": "POST",
|
|
7553
|
+
"operationKey": "playground_workflow_echo",
|
|
7554
|
+
"params": [
|
|
7555
|
+
{
|
|
7556
|
+
"in": "body",
|
|
7557
|
+
"name": "note"
|
|
7558
|
+
},
|
|
7559
|
+
{
|
|
7560
|
+
"in": "body",
|
|
7561
|
+
"name": "tags"
|
|
7562
|
+
}
|
|
7563
|
+
],
|
|
7564
|
+
"path": "/playground/workflow/echo",
|
|
7565
|
+
"readOnly": false
|
|
7566
|
+
},
|
|
7567
|
+
"echo-list": {
|
|
7568
|
+
"level": "read",
|
|
7569
|
+
"method": "GET",
|
|
7570
|
+
"operationKey": "playground_workflow_echo-list",
|
|
7571
|
+
"path": "/playground/workflow/echoes",
|
|
7572
|
+
"readOnly": true
|
|
7573
|
+
},
|
|
7574
|
+
"ping": {
|
|
7575
|
+
"level": "write",
|
|
7576
|
+
"method": "POST",
|
|
7577
|
+
"operationKey": "playground_workflow_ping",
|
|
7578
|
+
"params": [
|
|
7579
|
+
{
|
|
7580
|
+
"in": "body",
|
|
7581
|
+
"name": "kind"
|
|
7582
|
+
}
|
|
7583
|
+
],
|
|
7584
|
+
"path": "/playground/workflow/ping",
|
|
7585
|
+
"readOnly": false
|
|
7586
|
+
},
|
|
7587
|
+
"subjects-list": {
|
|
7588
|
+
"level": "read",
|
|
7589
|
+
"method": "GET",
|
|
7590
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
7591
|
+
"params": [
|
|
7592
|
+
{
|
|
7593
|
+
"in": "query",
|
|
7594
|
+
"name": "last_activity_before"
|
|
7595
|
+
},
|
|
7596
|
+
{
|
|
7597
|
+
"in": "query",
|
|
7598
|
+
"name": "last_activity_after"
|
|
7599
|
+
},
|
|
7600
|
+
{
|
|
7601
|
+
"in": "query",
|
|
7602
|
+
"name": "limit"
|
|
7603
|
+
},
|
|
7604
|
+
{
|
|
7605
|
+
"in": "query",
|
|
7606
|
+
"name": "cursor"
|
|
7607
|
+
}
|
|
7608
|
+
],
|
|
7609
|
+
"path": "/playground/workflow/subjects",
|
|
7610
|
+
"readOnly": true
|
|
7611
|
+
}
|
|
7612
|
+
}
|
|
7613
|
+
},
|
|
7408
7614
|
"realtime": {
|
|
7409
7615
|
"archive": {
|
|
7410
7616
|
"export": {
|
|
@@ -11486,4 +11692,12 @@ export const bindings: BindingsMap = {
|
|
|
11486
11692
|
}
|
|
11487
11693
|
};
|
|
11488
11694
|
|
|
11489
|
-
export const wsBindings: WsBindingsMap = {
|
|
11695
|
+
export const wsBindings: WsBindingsMap = {
|
|
11696
|
+
"playground": {
|
|
11697
|
+
"ws": {
|
|
11698
|
+
"echo": {
|
|
11699
|
+
"path": "/playground/ws/echo"
|
|
11700
|
+
}
|
|
11701
|
+
}
|
|
11702
|
+
}
|
|
11703
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -619,14 +619,12 @@ import type {
|
|
|
619
619
|
ObserveWebhooksUpdateOutput,
|
|
620
620
|
OrganizationAuthMeInput,
|
|
621
621
|
OrganizationAuthMeOutput,
|
|
622
|
-
OrganizationBillingBudgetClearInput,
|
|
623
|
-
OrganizationBillingBudgetClearOutput,
|
|
624
|
-
OrganizationBillingBudgetResumeInput,
|
|
625
|
-
OrganizationBillingBudgetResumeOutput,
|
|
626
|
-
OrganizationBillingBudgetSetInput,
|
|
627
|
-
OrganizationBillingBudgetSetOutput,
|
|
628
622
|
OrganizationBillingBudgetsGetInput,
|
|
629
623
|
OrganizationBillingBudgetsGetOutput,
|
|
624
|
+
OrganizationBillingCapsClearInput,
|
|
625
|
+
OrganizationBillingCapsClearOutput,
|
|
626
|
+
OrganizationBillingCapsSetInput,
|
|
627
|
+
OrganizationBillingCapsSetOutput,
|
|
630
628
|
OrganizationBindingsListInput,
|
|
631
629
|
OrganizationBindingsListOutput,
|
|
632
630
|
OrganizationClickupInstallInput,
|
|
@@ -799,6 +797,40 @@ import type {
|
|
|
799
797
|
OrganizationXInstallOutput,
|
|
800
798
|
OrganizationYoutubeInstallInput,
|
|
801
799
|
OrganizationYoutubeInstallOutput,
|
|
800
|
+
PlaygroundAnalyticsOverviewInput,
|
|
801
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
802
|
+
PlaygroundBillingEntitlementsInput,
|
|
803
|
+
PlaygroundBillingEntitlementsOutput,
|
|
804
|
+
PlaygroundBillingRecordUsageInput,
|
|
805
|
+
PlaygroundBillingRecordUsageOutput,
|
|
806
|
+
PlaygroundClickupCreateTaskInput,
|
|
807
|
+
PlaygroundClickupCreateTaskOutput,
|
|
808
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
809
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
810
|
+
PlaygroundClickupGetOverviewInput,
|
|
811
|
+
PlaygroundClickupGetOverviewOutput,
|
|
812
|
+
PlaygroundEchoPingInput,
|
|
813
|
+
PlaygroundEchoPingOutput,
|
|
814
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
815
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
816
|
+
PlaygroundGdriveReadFileInput,
|
|
817
|
+
PlaygroundGdriveReadFileOutput,
|
|
818
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
819
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
820
|
+
PlaygroundLifecycleGetStateInput,
|
|
821
|
+
PlaygroundLifecycleGetStateOutput,
|
|
822
|
+
PlaygroundLifecycleListEventsInput,
|
|
823
|
+
PlaygroundLifecycleListEventsOutput,
|
|
824
|
+
PlaygroundWebhookGetLastInput,
|
|
825
|
+
PlaygroundWebhookGetLastOutput,
|
|
826
|
+
PlaygroundWorkflowEchoInput,
|
|
827
|
+
PlaygroundWorkflowEchoListInput,
|
|
828
|
+
PlaygroundWorkflowEchoListOutput,
|
|
829
|
+
PlaygroundWorkflowEchoOutput,
|
|
830
|
+
PlaygroundWorkflowPingInput,
|
|
831
|
+
PlaygroundWorkflowPingOutput,
|
|
832
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
833
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
802
834
|
RealtimeArchiveExportInput,
|
|
803
835
|
RealtimeArchiveExportOutput,
|
|
804
836
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1783,14 +1815,13 @@ export interface GeneratedClient {
|
|
|
1783
1815
|
auth: {
|
|
1784
1816
|
me: ((input: OrganizationAuthMeInput) => Promise<OrganizationAuthMeOutput>) & Operation;
|
|
1785
1817
|
};
|
|
1786
|
-
'billing-budget': {
|
|
1787
|
-
clear: ((input: OrganizationBillingBudgetClearInput) => Promise<OrganizationBillingBudgetClearOutput>) & Operation;
|
|
1788
|
-
resume: ((input: OrganizationBillingBudgetResumeInput) => Promise<OrganizationBillingBudgetResumeOutput>) & Operation;
|
|
1789
|
-
set: ((input: OrganizationBillingBudgetSetInput) => Promise<OrganizationBillingBudgetSetOutput>) & Operation;
|
|
1790
|
-
};
|
|
1791
1818
|
'billing-budgets': {
|
|
1792
1819
|
get: ((input: OrganizationBillingBudgetsGetInput) => Promise<OrganizationBillingBudgetsGetOutput>) & Operation;
|
|
1793
1820
|
};
|
|
1821
|
+
'billing-caps': {
|
|
1822
|
+
clear: ((input: OrganizationBillingCapsClearInput) => Promise<OrganizationBillingCapsClearOutput>) & Operation;
|
|
1823
|
+
set: ((input: OrganizationBillingCapsSetInput) => Promise<OrganizationBillingCapsSetOutput>) & Operation;
|
|
1824
|
+
};
|
|
1794
1825
|
bindings: {
|
|
1795
1826
|
list: ((input: OrganizationBindingsListInput) => Promise<OrganizationBindingsListOutput>) & Operation;
|
|
1796
1827
|
};
|
|
@@ -1929,6 +1960,43 @@ export interface GeneratedClient {
|
|
|
1929
1960
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
1930
1961
|
};
|
|
1931
1962
|
};
|
|
1963
|
+
playground: {
|
|
1964
|
+
analytics: {
|
|
1965
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
1966
|
+
};
|
|
1967
|
+
billing: {
|
|
1968
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
1969
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
1970
|
+
};
|
|
1971
|
+
clickup: {
|
|
1972
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
1973
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
1974
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
1975
|
+
};
|
|
1976
|
+
echo: {
|
|
1977
|
+
ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
|
|
1978
|
+
};
|
|
1979
|
+
gdrive: {
|
|
1980
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
1981
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
1982
|
+
};
|
|
1983
|
+
googleads: {
|
|
1984
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
1985
|
+
};
|
|
1986
|
+
lifecycle: {
|
|
1987
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
1988
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
1989
|
+
};
|
|
1990
|
+
webhook: {
|
|
1991
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
1992
|
+
};
|
|
1993
|
+
workflow: {
|
|
1994
|
+
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
1995
|
+
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
1996
|
+
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
1997
|
+
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
1932
2000
|
realtime: {
|
|
1933
2001
|
archive: {
|
|
1934
2002
|
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',
|
|
@@ -313,10 +313,9 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
313
313
|
'observe_webhooks_rotate_secret': 'admin',
|
|
314
314
|
'observe_webhooks_update': 'write',
|
|
315
315
|
'organization_auth_me': 'read',
|
|
316
|
-
'organization_billing_budget_clear': 'write',
|
|
317
|
-
'organization_billing_budget_resume': 'write',
|
|
318
|
-
'organization_billing_budget_set': 'write',
|
|
319
316
|
'organization_billing_budgets_get': 'read',
|
|
317
|
+
'organization_billing_caps_clear': 'write',
|
|
318
|
+
'organization_billing_caps_set': 'write',
|
|
320
319
|
'organization_bindings_list': 'read',
|
|
321
320
|
'organization_clickup_install': 'read',
|
|
322
321
|
'organization_clickup_list-installations': 'read',
|
|
@@ -403,6 +402,23 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
403
402
|
'organization_support_threads_list': 'read',
|
|
404
403
|
'organization_x_install': 'read',
|
|
405
404
|
'organization_youtube_install': 'read',
|
|
405
|
+
'playground_analytics_overview': 'read',
|
|
406
|
+
'playground_billing_entitlements': 'read',
|
|
407
|
+
'playground_billing_record-usage': 'write',
|
|
408
|
+
'playground_clickup_create-task': 'write',
|
|
409
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
410
|
+
'playground_clickup_get-overview': 'read',
|
|
411
|
+
'playground_echo_ping': 'read',
|
|
412
|
+
'playground_gdrive_get-last-change': 'read',
|
|
413
|
+
'playground_gdrive_read-file': 'read',
|
|
414
|
+
'playground_googleads_read-customer': 'read',
|
|
415
|
+
'playground_lifecycle_get-state': 'read',
|
|
416
|
+
'playground_lifecycle_list-events': 'read',
|
|
417
|
+
'playground_webhook_get-last': 'read',
|
|
418
|
+
'playground_workflow_echo': 'write',
|
|
419
|
+
'playground_workflow_echo-list': 'read',
|
|
420
|
+
'playground_workflow_ping': 'write',
|
|
421
|
+
'playground_workflow_subjects-list': 'read',
|
|
406
422
|
'realtime_archive_export': 'admin',
|
|
407
423
|
'realtime_archive_export_status': 'read',
|
|
408
424
|
'realtime_archive_get': 'read',
|
|
@@ -687,6 +703,9 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
687
703
|
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
688
704
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
689
705
|
'mail_usage_get': {"label":"Get usage"},
|
|
706
|
+
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
707
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
708
|
+
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
690
709
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
691
710
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
692
711
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|
|
@@ -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,
|
|
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, OrganizationProductErasureGetInput, OrganizationProductErasureGetOutput, OrganizationProductErasureListInput, OrganizationProductErasureListOutput, OrganizationProductErasureRequestInput, OrganizationProductErasureRequestOutput, 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';
|