@lessly/sdk-app 107.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.
- package/CHANGELOG.md +2 -48
- package/dist/_types/gen/analytics/index.d.ts +1 -1
- package/dist/_types/gen/analytics/queryOptions.gen.d.ts +5 -1
- package/dist/_types/gen/client.gen.d.ts +2 -1
- package/dist/_types/gen/types.gen.d.ts +37281 -0
- package/dist/analytics/index.cjs +5 -0
- package/dist/analytics/index.cjs.map +1 -1
- package/dist/analytics/index.js +5 -1
- package/dist/analytics/index.js.map +1 -1
- package/dist/{chunk-YT5LGJSM.js → chunk-DU7TTM26.js} +35 -2
- package/dist/chunk-DU7TTM26.js.map +1 -0
- package/dist/index.cjs +34 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/package.json +2 -2
- package/src/gen/analytics/index.ts +1 -1
- package/src/gen/analytics/queryOptions.gen.ts +7 -0
- package/src/gen/bindings.gen.ts +33 -0
- package/src/gen/client.gen.ts +3 -0
- package/src/gen/manifest.gen.ts +1 -0
- package/src/gen/types.gen.ts +36591 -0
- package/dist/chunk-YT5LGJSM.js.map +0 -1
package/dist/playground/index.js
CHANGED
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": "
|
|
4
|
+
"version": "108.1.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
|
|
@@ -220,5 +220,5 @@
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
|
-
"sdkContentHash": "sha256:
|
|
223
|
+
"sdkContentHash": "sha256:15af12c840e5326ceb7c9fb47c45bf4c2601a73c98659f7f134b554b9e32bf37"
|
|
224
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),
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -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",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -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,
|
|
@@ -1302,6 +1304,7 @@ export interface GeneratedClient {
|
|
|
1302
1304
|
get: ((input: AnalyticsDashboardGetInput) => Promise<AnalyticsDashboardGetOutput>) & Operation;
|
|
1303
1305
|
list: ((input: AnalyticsDashboardListInput) => Promise<AnalyticsDashboardListOutput>) & Operation;
|
|
1304
1306
|
run: ((input: AnalyticsDashboardRunInput) => Promise<AnalyticsDashboardRunOutput>) & Operation;
|
|
1307
|
+
'tile-run': ((input: AnalyticsDashboardTileRunInput) => Promise<AnalyticsDashboardTileRunOutput>) & Operation;
|
|
1305
1308
|
update: ((input: AnalyticsDashboardUpdateInput) => Promise<AnalyticsDashboardUpdateOutput>) & Operation;
|
|
1306
1309
|
};
|
|
1307
1310
|
funnel: {
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -10,6 +10,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
10
10
|
'analytics_dashboard_get': 'read',
|
|
11
11
|
'analytics_dashboard_list': 'read',
|
|
12
12
|
'analytics_dashboard_run': 'read',
|
|
13
|
+
'analytics_dashboard_tile-run': 'read',
|
|
13
14
|
'analytics_dashboard_update': 'write',
|
|
14
15
|
'analytics_funnel_run': 'read',
|
|
15
16
|
'analytics_insight_create': 'write',
|