@lessly/sdk-app 108.0.0 → 108.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/CHANGELOG.md +2 -92
  2. package/dist/_types/gen/analytics/index.d.ts +1 -1
  3. package/dist/_types/gen/analytics/queryOptions.gen.d.ts +5 -1
  4. package/dist/_types/gen/client.gen.d.ts +39 -1
  5. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  6. package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
  7. package/dist/_types/gen/playground/index.d.ts +3 -0
  8. package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
  9. package/dist/_types/gen/types.gen.d.ts +37607 -0
  10. package/dist/analytics/index.cjs +5 -0
  11. package/dist/analytics/index.cjs.map +1 -1
  12. package/dist/analytics/index.js +5 -1
  13. package/dist/analytics/index.js.map +1 -1
  14. package/dist/chunk-DU7TTM26.js +12341 -0
  15. package/dist/chunk-DU7TTM26.js.map +1 -0
  16. package/dist/index.cjs +258 -45
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.js +23 -12137
  19. package/dist/index.js.map +1 -1
  20. package/dist/playground/index.cjs +106 -0
  21. package/dist/playground/index.cjs.map +1 -0
  22. package/dist/playground/index.d.cts +1 -0
  23. package/dist/playground/index.d.ts +1 -0
  24. package/dist/playground/index.js +78 -0
  25. package/dist/playground/index.js.map +1 -0
  26. package/package.json +12 -2
  27. package/src/gen/analytics/index.ts +1 -1
  28. package/src/gen/analytics/queryOptions.gen.ts +7 -0
  29. package/src/gen/bindings.gen.ts +246 -46
  30. package/src/gen/client.gen.ts +74 -0
  31. package/src/gen/manifest.gen.ts +22 -1
  32. package/src/gen/playground/connect.gen.ts +9 -0
  33. package/src/gen/playground/index.ts +4 -0
  34. package/src/gen/playground/queryOptions.gen.ts +119 -0
  35. package/src/gen/types.gen.ts +36963 -0
@@ -0,0 +1 @@
1
+ export * from '../_types/gen/playground/index.js';
@@ -0,0 +1 @@
1
+ export * from '../_types/gen/playground/index.js';
@@ -0,0 +1,78 @@
1
+ import { wsBindings } from '../chunk-DU7TTM26.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;AACjE,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,EAAsB,KAAA,MAA+C;AAAA,EAC7H,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,gBAAgB,KAAK,CAAA;AAAA,EACzD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AACnE,CAAA;AAEO,IAAM,2CAAA,GAA8C,CAAC,GAAA,MAA0B;AAAA,EACpF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,cAAc,CAAA;AAAA,EACrD,UAAA,EAAY,CAAC,KAAA,KAA6C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AAC9G,CAAA;AAEO,IAAM,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9E,WAAA,EAAa,CAAC,YAAA,EAAc,UAAA,EAAY,MAAM,CAAA;AAAA,EAC9C,UAAA,EAAY,CAAC,KAAA,KAAuC,GAAA,CAAI,YAAY,EAAE,UAAU,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACjG,CAAA;AAEO,IAAM,sCAAA,GAAyC,CAAC,GAAA,EAAsB,KAAA,MAA4C;AAAA,EACvH,QAAA,EAAU,CAAC,YAAA,EAAc,UAAA,EAAY,aAAa,KAAK,CAAA;AAAA,EACvD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,UAAU,CAAA,CAAE,WAAW,CAAA,CAAE,KAAK;AACjE,CAAA;AAEO,IAAM,qCAAA,GAAwC,CAAC,GAAA,MAA0B;AAAA,EAC9E,WAAA,EAAa,CAAC,YAAA,EAAc,UAAA,EAAY,MAAM,CAAA;AAAA,EAC9C,UAAA,EAAY,CAAC,KAAA,KAAuC,GAAA,CAAI,YAAY,EAAE,UAAU,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AACjG,CAAA;AAEO,IAAM,0CAAA,GAA6C,CAAC,GAAA,EAAsB,KAAA,MAAgD;AAAA,EAC/H,QAAA,EAAU,CAAC,YAAA,EAAc,UAAA,EAAY,iBAAiB,KAAK,CAAA;AAAA,EAC3D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,UAAU,CAAA,CAAE,eAAe,CAAA,CAAE,KAAK;AACrE,CAAA;;;AC/GO,IAAM,uBAAA,GAA0B,CAAC,GAAA,EAAyB,KAAA,KAC/D,GAAA,CAAI,UAAA,CAAW,UAAA,CAAW,YAAY,CAAA,CAAG,IAAI,CAAA,CAAG,MAAM,GAAI,KAAgC","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundEchoPingInput,\n PlaygroundEchoPingOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n PlaygroundWorkflowEchoInput,\n PlaygroundWorkflowEchoListInput,\n PlaygroundWorkflowEchoListOutput,\n PlaygroundWorkflowPingInput,\n PlaygroundWorkflowSubjectsListInput,\n PlaygroundWorkflowSubjectsListOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({\n queryKey: ['playground', 'echo', 'ping', input] as const,\n queryFn: () => sdk['playground']['echo']['ping'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n\nexport const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'echo'],\n mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),\n});\n\nexport const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({\n queryKey: ['playground', 'workflow', 'echo-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['echo-list'](input),\n});\n\nexport const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'workflow', 'ping'],\n mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),\n});\n\nexport const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({\n queryKey: ['playground', 'workflow', 'subjects-list', input] as const,\n queryFn: () => sdk['playground']['workflow']['subjects-list'](input),\n});\n","// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport { wsBindings } from '../bindings.gen';\nimport type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';\nimport type {\n PlaygroundWsEchoInput,\n} from '../types.gen';\n\nexport const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>\n sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
3
  "description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
4
- "version": "108.0.0",
4
+ "version": "108.1.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
@@ -159,6 +159,16 @@
159
159
  "default": "./dist/organization/index.cjs"
160
160
  }
161
161
  },
162
+ "./playground": {
163
+ "import": {
164
+ "types": "./dist/playground/index.d.ts",
165
+ "default": "./dist/playground/index.js"
166
+ },
167
+ "require": {
168
+ "types": "./dist/playground/index.d.cts",
169
+ "default": "./dist/playground/index.cjs"
170
+ }
171
+ },
162
172
  "./realtime": {
163
173
  "import": {
164
174
  "types": "./dist/realtime/index.d.ts",
@@ -210,5 +220,5 @@
210
220
  }
211
221
  }
212
222
  },
213
- "sdkContentHash": "sha256:80def9d1a1d8c2b047c2359c88f8749fd134e8559a97e6b0fd70fc3ed80efb8c"
223
+ "sdkContentHash": "sha256:15af12c840e5326ceb7c9fb47c45bf4c2601a73c98659f7f134b554b9e32bf37"
214
224
  }
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { AnalyticsCatalogGetInput, AnalyticsCatalogGetOutput, AnalyticsDashboardCreateInput, AnalyticsDashboardCreateOutput, AnalyticsDashboardDeleteInput, AnalyticsDashboardDeleteOutput, AnalyticsDashboardGetInput, AnalyticsDashboardGetOutput, AnalyticsDashboardListInput, AnalyticsDashboardListOutput, AnalyticsDashboardRunInput, AnalyticsDashboardRunOutput, AnalyticsDashboardUpdateInput, AnalyticsDashboardUpdateOutput, AnalyticsFunnelRunInput, AnalyticsFunnelRunOutput, AnalyticsInsightCreateInput, AnalyticsInsightCreateOutput, AnalyticsInsightDeleteInput, AnalyticsInsightDeleteOutput, AnalyticsInsightGetInput, AnalyticsInsightGetOutput, AnalyticsInsightListInput, AnalyticsInsightListOutput, AnalyticsInsightRunInput, AnalyticsInsightRunOutput, AnalyticsInsightUpdateInput, AnalyticsInsightUpdateOutput, AnalyticsMetricQueryInput, AnalyticsMetricQueryOutput, AnalyticsPersonTimelineInput, AnalyticsPersonTimelineOutput, AnalyticsQueryRunInput, AnalyticsQueryRunOutput, AnalyticsRetentionRunInput, AnalyticsRetentionRunOutput } from '../types.gen';
3
+ export type { AnalyticsCatalogGetInput, AnalyticsCatalogGetOutput, AnalyticsDashboardCreateInput, AnalyticsDashboardCreateOutput, AnalyticsDashboardDeleteInput, AnalyticsDashboardDeleteOutput, AnalyticsDashboardGetInput, AnalyticsDashboardGetOutput, AnalyticsDashboardListInput, AnalyticsDashboardListOutput, AnalyticsDashboardRunInput, AnalyticsDashboardRunOutput, AnalyticsDashboardTileRunInput, AnalyticsDashboardTileRunOutput, AnalyticsDashboardUpdateInput, AnalyticsDashboardUpdateOutput, AnalyticsFunnelRunInput, AnalyticsFunnelRunOutput, AnalyticsInsightCreateInput, AnalyticsInsightCreateOutput, AnalyticsInsightDeleteInput, AnalyticsInsightDeleteOutput, AnalyticsInsightGetInput, AnalyticsInsightGetOutput, AnalyticsInsightListInput, AnalyticsInsightListOutput, AnalyticsInsightRunInput, AnalyticsInsightRunOutput, AnalyticsInsightUpdateInput, AnalyticsInsightUpdateOutput, AnalyticsMetricQueryInput, AnalyticsMetricQueryOutput, AnalyticsPersonTimelineInput, AnalyticsPersonTimelineOutput, AnalyticsQueryRunInput, AnalyticsQueryRunOutput, AnalyticsRetentionRunInput, AnalyticsRetentionRunOutput } from '../types.gen';
@@ -11,6 +11,8 @@ import type {
11
11
  AnalyticsDashboardListOutput,
12
12
  AnalyticsDashboardRunInput,
13
13
  AnalyticsDashboardRunOutput,
14
+ AnalyticsDashboardTileRunInput,
15
+ AnalyticsDashboardTileRunOutput,
14
16
  AnalyticsDashboardUpdateInput,
15
17
  AnalyticsFunnelRunInput,
16
18
  AnalyticsFunnelRunOutput,
@@ -63,6 +65,11 @@ export const analyticsDashboardRunQueryOptions = (sdk: GeneratedClient, input: A
63
65
  queryFn: () => sdk['analytics']['dashboard']['run'](input),
64
66
  });
65
67
 
68
+ export const analyticsDashboardTileRunQueryOptions = (sdk: GeneratedClient, input: AnalyticsDashboardTileRunInput) => ({
69
+ queryKey: ['analytics', 'dashboard', 'tile-run', input] as const,
70
+ queryFn: () => sdk['analytics']['dashboard']['tile-run'](input),
71
+ });
72
+
66
73
  export const analyticsDashboardUpdateMutationOptions = (sdk: GeneratedClient) => ({
67
74
  mutationKey: ['analytics', 'dashboard', 'update'],
68
75
  mutationFn: (input: AnalyticsDashboardUpdateInput) => sdk['analytics']['dashboard']['update'](input),
@@ -114,6 +114,39 @@ export const bindings: BindingsMap = {
114
114
  "path": "/analytics/dashboards/:idOrSlug/run",
115
115
  "readOnly": true
116
116
  },
117
+ "tile-run": {
118
+ "level": "read",
119
+ "method": "POST",
120
+ "operationKey": "analytics_dashboard_tile-run",
121
+ "params": [
122
+ {
123
+ "in": "body",
124
+ "name": "from"
125
+ },
126
+ {
127
+ "in": "body",
128
+ "name": "to"
129
+ },
130
+ {
131
+ "in": "body",
132
+ "name": "filters"
133
+ },
134
+ {
135
+ "in": "body",
136
+ "name": "compare"
137
+ },
138
+ {
139
+ "in": "path",
140
+ "name": "idOrSlug"
141
+ },
142
+ {
143
+ "in": "path",
144
+ "name": "tileId"
145
+ }
146
+ ],
147
+ "path": "/analytics/dashboards/:idOrSlug/tiles/:tileId/run",
148
+ "readOnly": true
149
+ },
117
150
  "update": {
118
151
  "level": "write",
119
152
  "method": "PATCH",
@@ -6389,12 +6422,6 @@ export const bindings: BindingsMap = {
6389
6422
  "level": "read",
6390
6423
  "method": "GET",
6391
6424
  "operationKey": "organization_clickup_install",
6392
- "params": [
6393
- {
6394
- "in": "query",
6395
- "name": "share"
6396
- }
6397
- ],
6398
6425
  "path": "/governance/api/v1/connectors/clickup/install",
6399
6426
  "readOnly": false
6400
6427
  },
@@ -6411,12 +6438,6 @@ export const bindings: BindingsMap = {
6411
6438
  "level": "read",
6412
6439
  "method": "GET",
6413
6440
  "operationKey": "organization_cloudflare_install",
6414
- "params": [
6415
- {
6416
- "in": "query",
6417
- "name": "share"
6418
- }
6419
- ],
6420
6441
  "path": "/governance/api/v1/connectors/cloudflare/install",
6421
6442
  "readOnly": false
6422
6443
  }
@@ -6737,12 +6758,6 @@ export const bindings: BindingsMap = {
6737
6758
  "level": "read",
6738
6759
  "method": "GET",
6739
6760
  "operationKey": "organization_gdrive_install",
6740
- "params": [
6741
- {
6742
- "in": "query",
6743
- "name": "share"
6744
- }
6745
- ],
6746
6761
  "path": "/governance/api/v1/connectors/gdrive/install",
6747
6762
  "readOnly": false
6748
6763
  }
@@ -6752,12 +6767,6 @@ export const bindings: BindingsMap = {
6752
6767
  "level": "read",
6753
6768
  "method": "GET",
6754
6769
  "operationKey": "organization_github_install",
6755
- "params": [
6756
- {
6757
- "in": "query",
6758
- "name": "share"
6759
- }
6760
- ],
6761
6770
  "path": "/governance/api/v1/connectors/github/install",
6762
6771
  "readOnly": false
6763
6772
  },
@@ -6972,12 +6981,6 @@ export const bindings: BindingsMap = {
6972
6981
  "level": "read",
6973
6982
  "method": "GET",
6974
6983
  "operationKey": "organization_linkedin_member_install",
6975
- "params": [
6976
- {
6977
- "in": "query",
6978
- "name": "share"
6979
- }
6980
- ],
6981
6984
  "path": "/governance/api/v1/connectors/linkedin-member/install",
6982
6985
  "readOnly": false
6983
6986
  }
@@ -7614,12 +7617,6 @@ export const bindings: BindingsMap = {
7614
7617
  "level": "read",
7615
7618
  "method": "GET",
7616
7619
  "operationKey": "organization_reddit_install",
7617
- "params": [
7618
- {
7619
- "in": "query",
7620
- "name": "share"
7621
- }
7622
- ],
7623
7620
  "path": "/governance/api/v1/connectors/reddit/install",
7624
7621
  "readOnly": false
7625
7622
  }
@@ -7813,12 +7810,6 @@ export const bindings: BindingsMap = {
7813
7810
  "level": "read",
7814
7811
  "method": "GET",
7815
7812
  "operationKey": "organization_x_install",
7816
- "params": [
7817
- {
7818
- "in": "query",
7819
- "name": "share"
7820
- }
7821
- ],
7822
7813
  "path": "/governance/api/v1/connectors/x/install",
7823
7814
  "readOnly": false
7824
7815
  }
@@ -7828,15 +7819,216 @@ export const bindings: BindingsMap = {
7828
7819
  "level": "read",
7829
7820
  "method": "GET",
7830
7821
  "operationKey": "organization_youtube_install",
7822
+ "path": "/governance/api/v1/connectors/youtube/install",
7823
+ "readOnly": false
7824
+ }
7825
+ }
7826
+ },
7827
+ "playground": {
7828
+ "analytics": {
7829
+ "overview": {
7830
+ "level": "read",
7831
+ "method": "POST",
7832
+ "operationKey": "playground_analytics_overview",
7831
7833
  "params": [
7832
7834
  {
7833
- "in": "query",
7834
- "name": "share"
7835
+ "in": "body",
7836
+ "name": "limit"
7835
7837
  }
7836
7838
  ],
7837
- "path": "/governance/api/v1/connectors/youtube/install",
7839
+ "path": "/playground/analytics/overview",
7840
+ "readOnly": true
7841
+ }
7842
+ },
7843
+ "billing": {
7844
+ "entitlements": {
7845
+ "level": "read",
7846
+ "method": "POST",
7847
+ "operationKey": "playground_billing_entitlements",
7848
+ "path": "/playground/billing/entitlements",
7849
+ "readOnly": true
7850
+ },
7851
+ "record-usage": {
7852
+ "level": "write",
7853
+ "method": "POST",
7854
+ "operationKey": "playground_billing_record-usage",
7855
+ "params": [
7856
+ {
7857
+ "in": "body",
7858
+ "name": "value"
7859
+ }
7860
+ ],
7861
+ "path": "/playground/billing/usage",
7838
7862
  "readOnly": false
7839
7863
  }
7864
+ },
7865
+ "clickup": {
7866
+ "create-task": {
7867
+ "level": "write",
7868
+ "method": "POST",
7869
+ "operationKey": "playground_clickup_create-task",
7870
+ "params": [
7871
+ {
7872
+ "in": "body",
7873
+ "name": "listId"
7874
+ },
7875
+ {
7876
+ "in": "body",
7877
+ "name": "name"
7878
+ }
7879
+ ],
7880
+ "path": "/playground/clickup/tasks",
7881
+ "readOnly": false
7882
+ },
7883
+ "get-last-webhook": {
7884
+ "level": "read",
7885
+ "method": "GET",
7886
+ "operationKey": "playground_clickup_get-last-webhook",
7887
+ "path": "/playground/clickup/webhooks/last",
7888
+ "readOnly": true
7889
+ },
7890
+ "get-overview": {
7891
+ "level": "read",
7892
+ "method": "GET",
7893
+ "operationKey": "playground_clickup_get-overview",
7894
+ "path": "/playground/clickup/overview",
7895
+ "readOnly": true
7896
+ }
7897
+ },
7898
+ "echo": {
7899
+ "ping": {
7900
+ "level": "read",
7901
+ "method": "POST",
7902
+ "operationKey": "playground_echo_ping",
7903
+ "params": [
7904
+ {
7905
+ "in": "body",
7906
+ "name": "message"
7907
+ }
7908
+ ],
7909
+ "path": "/playground/echo/ping",
7910
+ "readOnly": true
7911
+ }
7912
+ },
7913
+ "gdrive": {
7914
+ "get-last-change": {
7915
+ "level": "read",
7916
+ "method": "GET",
7917
+ "operationKey": "playground_gdrive_get-last-change",
7918
+ "path": "/playground/gdrive/changes/last",
7919
+ "readOnly": true
7920
+ },
7921
+ "read-file": {
7922
+ "level": "read",
7923
+ "method": "POST",
7924
+ "operationKey": "playground_gdrive_read-file",
7925
+ "params": [
7926
+ {
7927
+ "in": "body",
7928
+ "name": "fileId"
7929
+ }
7930
+ ],
7931
+ "path": "/playground/gdrive/file",
7932
+ "readOnly": true
7933
+ }
7934
+ },
7935
+ "googleads": {
7936
+ "read-customer": {
7937
+ "level": "read",
7938
+ "method": "POST",
7939
+ "operationKey": "playground_googleads_read-customer",
7940
+ "path": "/playground/googleads/customer",
7941
+ "readOnly": true
7942
+ }
7943
+ },
7944
+ "lifecycle": {
7945
+ "get-state": {
7946
+ "level": "read",
7947
+ "method": "GET",
7948
+ "operationKey": "playground_lifecycle_get-state",
7949
+ "path": "/playground/lifecycle/state",
7950
+ "readOnly": true
7951
+ },
7952
+ "list-events": {
7953
+ "level": "read",
7954
+ "method": "GET",
7955
+ "operationKey": "playground_lifecycle_list-events",
7956
+ "path": "/playground/lifecycle/events",
7957
+ "readOnly": true
7958
+ }
7959
+ },
7960
+ "webhook": {
7961
+ "get-last": {
7962
+ "level": "read",
7963
+ "method": "GET",
7964
+ "operationKey": "playground_webhook_get-last",
7965
+ "path": "/playground/webhooks/last",
7966
+ "readOnly": true
7967
+ }
7968
+ },
7969
+ "workflow": {
7970
+ "echo": {
7971
+ "level": "write",
7972
+ "method": "POST",
7973
+ "operationKey": "playground_workflow_echo",
7974
+ "params": [
7975
+ {
7976
+ "in": "body",
7977
+ "name": "note"
7978
+ },
7979
+ {
7980
+ "in": "body",
7981
+ "name": "tags"
7982
+ }
7983
+ ],
7984
+ "path": "/playground/workflow/echo",
7985
+ "readOnly": false
7986
+ },
7987
+ "echo-list": {
7988
+ "level": "read",
7989
+ "method": "GET",
7990
+ "operationKey": "playground_workflow_echo-list",
7991
+ "path": "/playground/workflow/echoes",
7992
+ "readOnly": true
7993
+ },
7994
+ "ping": {
7995
+ "level": "write",
7996
+ "method": "POST",
7997
+ "operationKey": "playground_workflow_ping",
7998
+ "params": [
7999
+ {
8000
+ "in": "body",
8001
+ "name": "kind"
8002
+ }
8003
+ ],
8004
+ "path": "/playground/workflow/ping",
8005
+ "readOnly": false
8006
+ },
8007
+ "subjects-list": {
8008
+ "level": "read",
8009
+ "method": "GET",
8010
+ "operationKey": "playground_workflow_subjects-list",
8011
+ "params": [
8012
+ {
8013
+ "in": "query",
8014
+ "name": "last_activity_before"
8015
+ },
8016
+ {
8017
+ "in": "query",
8018
+ "name": "last_activity_after"
8019
+ },
8020
+ {
8021
+ "in": "query",
8022
+ "name": "limit"
8023
+ },
8024
+ {
8025
+ "in": "query",
8026
+ "name": "cursor"
8027
+ }
8028
+ ],
8029
+ "path": "/playground/workflow/subjects",
8030
+ "readOnly": true
8031
+ }
7840
8032
  }
7841
8033
  },
7842
8034
  "realtime": {
@@ -12137,4 +12329,12 @@ export const bindings: BindingsMap = {
12137
12329
  }
12138
12330
  };
12139
12331
 
12140
- export const wsBindings: WsBindingsMap = {};
12332
+ export const wsBindings: WsBindingsMap = {
12333
+ "playground": {
12334
+ "ws": {
12335
+ "echo": {
12336
+ "path": "/playground/ws/echo"
12337
+ }
12338
+ }
12339
+ }
12340
+ };
@@ -13,6 +13,8 @@ import type {
13
13
  AnalyticsDashboardListOutput,
14
14
  AnalyticsDashboardRunInput,
15
15
  AnalyticsDashboardRunOutput,
16
+ AnalyticsDashboardTileRunInput,
17
+ AnalyticsDashboardTileRunOutput,
16
18
  AnalyticsDashboardUpdateInput,
17
19
  AnalyticsDashboardUpdateOutput,
18
20
  AnalyticsFunnelRunInput,
@@ -827,6 +829,40 @@ import type {
827
829
  OrganizationXInstallOutput,
828
830
  OrganizationYoutubeInstallInput,
829
831
  OrganizationYoutubeInstallOutput,
832
+ PlaygroundAnalyticsOverviewInput,
833
+ PlaygroundAnalyticsOverviewOutput,
834
+ PlaygroundBillingEntitlementsInput,
835
+ PlaygroundBillingEntitlementsOutput,
836
+ PlaygroundBillingRecordUsageInput,
837
+ PlaygroundBillingRecordUsageOutput,
838
+ PlaygroundClickupCreateTaskInput,
839
+ PlaygroundClickupCreateTaskOutput,
840
+ PlaygroundClickupGetLastWebhookInput,
841
+ PlaygroundClickupGetLastWebhookOutput,
842
+ PlaygroundClickupGetOverviewInput,
843
+ PlaygroundClickupGetOverviewOutput,
844
+ PlaygroundEchoPingInput,
845
+ PlaygroundEchoPingOutput,
846
+ PlaygroundGdriveGetLastChangeInput,
847
+ PlaygroundGdriveGetLastChangeOutput,
848
+ PlaygroundGdriveReadFileInput,
849
+ PlaygroundGdriveReadFileOutput,
850
+ PlaygroundGoogleadsReadCustomerInput,
851
+ PlaygroundGoogleadsReadCustomerOutput,
852
+ PlaygroundLifecycleGetStateInput,
853
+ PlaygroundLifecycleGetStateOutput,
854
+ PlaygroundLifecycleListEventsInput,
855
+ PlaygroundLifecycleListEventsOutput,
856
+ PlaygroundWebhookGetLastInput,
857
+ PlaygroundWebhookGetLastOutput,
858
+ PlaygroundWorkflowEchoInput,
859
+ PlaygroundWorkflowEchoListInput,
860
+ PlaygroundWorkflowEchoListOutput,
861
+ PlaygroundWorkflowEchoOutput,
862
+ PlaygroundWorkflowPingInput,
863
+ PlaygroundWorkflowPingOutput,
864
+ PlaygroundWorkflowSubjectsListInput,
865
+ PlaygroundWorkflowSubjectsListOutput,
830
866
  RealtimeArchiveExportInput,
831
867
  RealtimeArchiveExportOutput,
832
868
  RealtimeArchiveExportStatusInput,
@@ -1268,6 +1304,7 @@ export interface GeneratedClient {
1268
1304
  get: ((input: AnalyticsDashboardGetInput) => Promise<AnalyticsDashboardGetOutput>) & Operation;
1269
1305
  list: ((input: AnalyticsDashboardListInput) => Promise<AnalyticsDashboardListOutput>) & Operation;
1270
1306
  run: ((input: AnalyticsDashboardRunInput) => Promise<AnalyticsDashboardRunOutput>) & Operation;
1307
+ 'tile-run': ((input: AnalyticsDashboardTileRunInput) => Promise<AnalyticsDashboardTileRunOutput>) & Operation;
1271
1308
  update: ((input: AnalyticsDashboardUpdateInput) => Promise<AnalyticsDashboardUpdateOutput>) & Operation;
1272
1309
  };
1273
1310
  funnel: {
@@ -1997,6 +2034,43 @@ export interface GeneratedClient {
1997
2034
  install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
1998
2035
  };
1999
2036
  };
2037
+ playground: {
2038
+ analytics: {
2039
+ overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
2040
+ };
2041
+ billing: {
2042
+ entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
2043
+ 'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
2044
+ };
2045
+ clickup: {
2046
+ 'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
2047
+ 'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
2048
+ 'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
2049
+ };
2050
+ echo: {
2051
+ ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
2052
+ };
2053
+ gdrive: {
2054
+ 'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
2055
+ 'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
2056
+ };
2057
+ googleads: {
2058
+ 'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
2059
+ };
2060
+ lifecycle: {
2061
+ 'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
2062
+ 'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
2063
+ };
2064
+ webhook: {
2065
+ 'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
2066
+ };
2067
+ workflow: {
2068
+ echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
2069
+ 'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
2070
+ ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
2071
+ 'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
2072
+ };
2073
+ };
2000
2074
  realtime: {
2001
2075
  archive: {
2002
2076
  export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;