@lessly/sdk-app 52.1.0 → 52.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/analytics/index.d.ts +2 -0
- package/dist/_types/gen/analytics/queryOptions.gen.d.ts +46 -0
- package/dist/_types/gen/bindings.gen.d.ts +3 -0
- package/dist/_types/gen/brain/index.d.ts +2 -0
- package/dist/_types/gen/brain/queryOptions.gen.d.ts +162 -0
- package/dist/_types/gen/client.gen.d.ts +983 -0
- package/dist/_types/gen/consent/index.d.ts +2 -0
- package/dist/_types/gen/consent/queryOptions.gen.d.ts +62 -0
- package/dist/_types/gen/content/index.d.ts +2 -0
- package/dist/_types/gen/content/queryOptions.gen.d.ts +126 -0
- package/dist/_types/gen/deployment/index.d.ts +2 -0
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +438 -0
- package/dist/_types/gen/mail/index.d.ts +2 -0
- package/dist/_types/gen/mail/queryOptions.gen.d.ts +206 -0
- package/dist/_types/gen/manifest.gen.d.ts +1 -0
- package/dist/_types/gen/observe/index.d.ts +2 -0
- package/dist/_types/gen/observe/queryOptions.gen.d.ts +142 -0
- package/dist/_types/gen/organization/index.d.ts +2 -0
- package/dist/_types/gen/organization/queryOptions.gen.d.ts +286 -0
- 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 +50 -0
- package/dist/_types/gen/realtime/index.d.ts +2 -0
- package/dist/_types/gen/realtime/queryOptions.gen.d.ts +114 -0
- package/dist/_types/gen/support/index.d.ts +2 -0
- package/dist/_types/gen/support/queryOptions.gen.d.ts +178 -0
- package/dist/_types/gen/tracking/index.d.ts +2 -0
- package/dist/_types/gen/tracking/queryOptions.gen.d.ts +146 -0
- package/dist/_types/gen/types.gen.d.ts +97920 -0
- package/dist/_types/gen/users/index.d.ts +2 -0
- package/dist/_types/gen/users/queryOptions.gen.d.ts +178 -0
- package/dist/_types/gen/waitlist/index.d.ts +2 -0
- package/dist/_types/gen/waitlist/queryOptions.gen.d.ts +30 -0
- package/dist/_types/index.d.ts +7 -0
- package/dist/_types/package.json +1 -0
- package/dist/_types/runtime/connectStream.d.ts +15 -0
- package/dist/_types/runtime/createLesslyApp.d.ts +6 -0
- package/dist/_types/runtime/csrf.d.ts +1 -0
- package/dist/_types/runtime/errors.d.ts +7 -0
- package/dist/_types/runtime/name.d.ts +26 -0
- package/dist/_types/runtime/request.d.ts +9 -0
- package/dist/{types-gTIUAUsP.d.cts → _types/runtime/types.d.ts} +18 -20
- package/dist/analytics/index.cjs +35 -0
- package/dist/analytics/index.cjs.map +1 -1
- package/dist/analytics/index.d.cts +1 -20
- package/dist/analytics/index.d.ts +1 -20
- package/dist/analytics/index.js +29 -1
- package/dist/analytics/index.js.map +1 -1
- package/dist/brain/index.d.cts +1 -164
- package/dist/brain/index.d.ts +1 -164
- package/dist/{chunk-7ZYVSB5J.js → chunk-4XZXPEXP.js} +191 -2
- package/dist/chunk-4XZXPEXP.js.map +1 -0
- package/dist/consent/index.d.cts +1 -64
- package/dist/consent/index.d.ts +1 -64
- package/dist/content/index.d.cts +1 -128
- package/dist/content/index.d.ts +1 -128
- package/dist/deployment/index.d.cts +1 -440
- package/dist/deployment/index.d.ts +1 -440
- package/dist/index.cjs +189 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -32
- package/dist/index.d.ts +1 -32
- package/dist/index.js +1 -1
- package/dist/mail/index.d.cts +1 -209
- package/dist/mail/index.d.ts +1 -209
- package/dist/observe/index.d.cts +1 -144
- package/dist/observe/index.d.ts +1 -144
- package/dist/organization/index.d.cts +1 -288
- package/dist/organization/index.d.ts +1 -288
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.d.cts +1 -55
- package/dist/playground/index.d.ts +1 -55
- package/dist/playground/index.js +1 -1
- package/dist/realtime/index.d.cts +1 -116
- package/dist/realtime/index.d.ts +1 -116
- package/dist/support/index.d.cts +1 -180
- package/dist/support/index.d.ts +1 -180
- package/dist/tracking/index.d.cts +1 -148
- package/dist/tracking/index.d.ts +1 -148
- package/dist/users/index.d.cts +1 -180
- package/dist/users/index.d.ts +1 -180
- package/dist/waitlist/index.d.cts +1 -32
- package/dist/waitlist/index.d.ts +1 -32
- package/package.json +123 -48
- package/src/gen/analytics/index.ts +1 -1
- package/src/gen/analytics/queryOptions.gen.ts +46 -0
- package/src/gen/bindings.gen.ts +189 -0
- package/src/gen/client.gen.ts +25 -0
- package/src/gen/types.gen.ts +46915 -0
- package/dist/chunk-7ZYVSB5J.js.map +0 -1
- package/dist/client.gen-cA-2Hpsz.d.cts +0 -47130
- package/dist/client.gen-cA-2Hpsz.d.ts +0 -47130
- package/dist/types-gTIUAUsP.d.ts +0 -82
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "52.
|
|
3
|
+
"version": "52.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"generate": "tsx scripts/generate.ts fixtures/catalog.sample.json",
|
|
21
21
|
"ci": "tsx scripts/ci-run.ts",
|
|
22
22
|
"sync-exports": "tsx scripts/sync-exports.ts",
|
|
23
|
-
"build": "npm run sync-exports && tsup",
|
|
23
|
+
"build": "npm run sync-exports && tsup && tsx scripts/emit-dts.ts",
|
|
24
24
|
"prepublishOnly": "npm run build",
|
|
25
25
|
"publish:npmjs": "npm publish --registry https://registry.npmjs.org/ --@lessly:registry=https://registry.npmjs.org/",
|
|
26
26
|
"typecheck": "tsc --noEmit",
|
|
@@ -36,80 +36,155 @@
|
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
38
|
".": {
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/index.d.ts",
|
|
41
|
+
"default": "./dist/index.js"
|
|
42
|
+
},
|
|
43
|
+
"require": {
|
|
44
|
+
"types": "./dist/index.d.cts",
|
|
45
|
+
"default": "./dist/index.cjs"
|
|
46
|
+
}
|
|
42
47
|
},
|
|
43
48
|
"./analytics": {
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
49
|
+
"import": {
|
|
50
|
+
"types": "./dist/analytics/index.d.ts",
|
|
51
|
+
"default": "./dist/analytics/index.js"
|
|
52
|
+
},
|
|
53
|
+
"require": {
|
|
54
|
+
"types": "./dist/analytics/index.d.cts",
|
|
55
|
+
"default": "./dist/analytics/index.cjs"
|
|
56
|
+
}
|
|
47
57
|
},
|
|
48
58
|
"./brain": {
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
"import": {
|
|
60
|
+
"types": "./dist/brain/index.d.ts",
|
|
61
|
+
"default": "./dist/brain/index.js"
|
|
62
|
+
},
|
|
63
|
+
"require": {
|
|
64
|
+
"types": "./dist/brain/index.d.cts",
|
|
65
|
+
"default": "./dist/brain/index.cjs"
|
|
66
|
+
}
|
|
52
67
|
},
|
|
53
68
|
"./consent": {
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
69
|
+
"import": {
|
|
70
|
+
"types": "./dist/consent/index.d.ts",
|
|
71
|
+
"default": "./dist/consent/index.js"
|
|
72
|
+
},
|
|
73
|
+
"require": {
|
|
74
|
+
"types": "./dist/consent/index.d.cts",
|
|
75
|
+
"default": "./dist/consent/index.cjs"
|
|
76
|
+
}
|
|
57
77
|
},
|
|
58
78
|
"./content": {
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
79
|
+
"import": {
|
|
80
|
+
"types": "./dist/content/index.d.ts",
|
|
81
|
+
"default": "./dist/content/index.js"
|
|
82
|
+
},
|
|
83
|
+
"require": {
|
|
84
|
+
"types": "./dist/content/index.d.cts",
|
|
85
|
+
"default": "./dist/content/index.cjs"
|
|
86
|
+
}
|
|
62
87
|
},
|
|
63
88
|
"./deployment": {
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
89
|
+
"import": {
|
|
90
|
+
"types": "./dist/deployment/index.d.ts",
|
|
91
|
+
"default": "./dist/deployment/index.js"
|
|
92
|
+
},
|
|
93
|
+
"require": {
|
|
94
|
+
"types": "./dist/deployment/index.d.cts",
|
|
95
|
+
"default": "./dist/deployment/index.cjs"
|
|
96
|
+
}
|
|
67
97
|
},
|
|
68
98
|
"./mail": {
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
99
|
+
"import": {
|
|
100
|
+
"types": "./dist/mail/index.d.ts",
|
|
101
|
+
"default": "./dist/mail/index.js"
|
|
102
|
+
},
|
|
103
|
+
"require": {
|
|
104
|
+
"types": "./dist/mail/index.d.cts",
|
|
105
|
+
"default": "./dist/mail/index.cjs"
|
|
106
|
+
}
|
|
72
107
|
},
|
|
73
108
|
"./observe": {
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
109
|
+
"import": {
|
|
110
|
+
"types": "./dist/observe/index.d.ts",
|
|
111
|
+
"default": "./dist/observe/index.js"
|
|
112
|
+
},
|
|
113
|
+
"require": {
|
|
114
|
+
"types": "./dist/observe/index.d.cts",
|
|
115
|
+
"default": "./dist/observe/index.cjs"
|
|
116
|
+
}
|
|
77
117
|
},
|
|
78
118
|
"./organization": {
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
119
|
+
"import": {
|
|
120
|
+
"types": "./dist/organization/index.d.ts",
|
|
121
|
+
"default": "./dist/organization/index.js"
|
|
122
|
+
},
|
|
123
|
+
"require": {
|
|
124
|
+
"types": "./dist/organization/index.d.cts",
|
|
125
|
+
"default": "./dist/organization/index.cjs"
|
|
126
|
+
}
|
|
82
127
|
},
|
|
83
128
|
"./playground": {
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
129
|
+
"import": {
|
|
130
|
+
"types": "./dist/playground/index.d.ts",
|
|
131
|
+
"default": "./dist/playground/index.js"
|
|
132
|
+
},
|
|
133
|
+
"require": {
|
|
134
|
+
"types": "./dist/playground/index.d.cts",
|
|
135
|
+
"default": "./dist/playground/index.cjs"
|
|
136
|
+
}
|
|
87
137
|
},
|
|
88
138
|
"./realtime": {
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
139
|
+
"import": {
|
|
140
|
+
"types": "./dist/realtime/index.d.ts",
|
|
141
|
+
"default": "./dist/realtime/index.js"
|
|
142
|
+
},
|
|
143
|
+
"require": {
|
|
144
|
+
"types": "./dist/realtime/index.d.cts",
|
|
145
|
+
"default": "./dist/realtime/index.cjs"
|
|
146
|
+
}
|
|
92
147
|
},
|
|
93
148
|
"./support": {
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
149
|
+
"import": {
|
|
150
|
+
"types": "./dist/support/index.d.ts",
|
|
151
|
+
"default": "./dist/support/index.js"
|
|
152
|
+
},
|
|
153
|
+
"require": {
|
|
154
|
+
"types": "./dist/support/index.d.cts",
|
|
155
|
+
"default": "./dist/support/index.cjs"
|
|
156
|
+
}
|
|
97
157
|
},
|
|
98
158
|
"./tracking": {
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
159
|
+
"import": {
|
|
160
|
+
"types": "./dist/tracking/index.d.ts",
|
|
161
|
+
"default": "./dist/tracking/index.js"
|
|
162
|
+
},
|
|
163
|
+
"require": {
|
|
164
|
+
"types": "./dist/tracking/index.d.cts",
|
|
165
|
+
"default": "./dist/tracking/index.cjs"
|
|
166
|
+
}
|
|
102
167
|
},
|
|
103
168
|
"./users": {
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
169
|
+
"import": {
|
|
170
|
+
"types": "./dist/users/index.d.ts",
|
|
171
|
+
"default": "./dist/users/index.js"
|
|
172
|
+
},
|
|
173
|
+
"require": {
|
|
174
|
+
"types": "./dist/users/index.d.cts",
|
|
175
|
+
"default": "./dist/users/index.cjs"
|
|
176
|
+
}
|
|
107
177
|
},
|
|
108
178
|
"./waitlist": {
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
179
|
+
"import": {
|
|
180
|
+
"types": "./dist/waitlist/index.d.ts",
|
|
181
|
+
"default": "./dist/waitlist/index.js"
|
|
182
|
+
},
|
|
183
|
+
"require": {
|
|
184
|
+
"types": "./dist/waitlist/index.d.cts",
|
|
185
|
+
"default": "./dist/waitlist/index.cjs"
|
|
186
|
+
}
|
|
112
187
|
}
|
|
113
188
|
},
|
|
114
|
-
"sdkContentHash": "sha256:
|
|
189
|
+
"sdkContentHash": "sha256:88b527e9ff4ad4fd7a883934a3ed22fbe823e73e330840f433d978fd1d4c5599"
|
|
115
190
|
}
|
|
@@ -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, AnalyticsMetricQueryInput, AnalyticsMetricQueryOutput, AnalyticsPersonTimelineInput, AnalyticsPersonTimelineOutput, AnalyticsQueryRunInput, AnalyticsQueryRunOutput } from '../types.gen';
|
|
3
|
+
export type { AnalyticsCatalogGetInput, AnalyticsCatalogGetOutput, AnalyticsFunnelRunInput, AnalyticsFunnelRunOutput, AnalyticsInsightCreateInput, AnalyticsInsightCreateOutput, AnalyticsInsightDeleteInput, AnalyticsInsightDeleteOutput, AnalyticsInsightGetInput, AnalyticsInsightGetOutput, AnalyticsInsightListInput, AnalyticsInsightListOutput, AnalyticsInsightRunInput, AnalyticsInsightRunOutput, AnalyticsInsightUpdateInput, AnalyticsInsightUpdateOutput, AnalyticsMetricQueryInput, AnalyticsMetricQueryOutput, AnalyticsPersonTimelineInput, AnalyticsPersonTimelineOutput, AnalyticsQueryRunInput, AnalyticsQueryRunOutput } from '../types.gen';
|
|
@@ -3,6 +3,17 @@ import type { GeneratedClient } from '../client.gen';
|
|
|
3
3
|
import type {
|
|
4
4
|
AnalyticsCatalogGetInput,
|
|
5
5
|
AnalyticsCatalogGetOutput,
|
|
6
|
+
AnalyticsFunnelRunInput,
|
|
7
|
+
AnalyticsFunnelRunOutput,
|
|
8
|
+
AnalyticsInsightCreateInput,
|
|
9
|
+
AnalyticsInsightDeleteInput,
|
|
10
|
+
AnalyticsInsightGetInput,
|
|
11
|
+
AnalyticsInsightGetOutput,
|
|
12
|
+
AnalyticsInsightListInput,
|
|
13
|
+
AnalyticsInsightListOutput,
|
|
14
|
+
AnalyticsInsightRunInput,
|
|
15
|
+
AnalyticsInsightRunOutput,
|
|
16
|
+
AnalyticsInsightUpdateInput,
|
|
6
17
|
AnalyticsMetricQueryInput,
|
|
7
18
|
AnalyticsMetricQueryOutput,
|
|
8
19
|
AnalyticsPersonTimelineInput,
|
|
@@ -16,6 +27,41 @@ export const analyticsCatalogGetQueryOptions = (sdk: GeneratedClient, input: Ana
|
|
|
16
27
|
queryFn: () => sdk['analytics']['catalog']['get'](input),
|
|
17
28
|
});
|
|
18
29
|
|
|
30
|
+
export const analyticsFunnelRunQueryOptions = (sdk: GeneratedClient, input: AnalyticsFunnelRunInput) => ({
|
|
31
|
+
queryKey: ['analytics', 'funnel', 'run', input] as const,
|
|
32
|
+
queryFn: () => sdk['analytics']['funnel']['run'](input),
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export const analyticsInsightCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
36
|
+
mutationKey: ['analytics', 'insight', 'create'],
|
|
37
|
+
mutationFn: (input: AnalyticsInsightCreateInput) => sdk['analytics']['insight']['create'](input),
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export const analyticsInsightDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
41
|
+
mutationKey: ['analytics', 'insight', 'delete'],
|
|
42
|
+
mutationFn: (input: AnalyticsInsightDeleteInput) => sdk['analytics']['insight']['delete'](input),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export const analyticsInsightGetQueryOptions = (sdk: GeneratedClient, input: AnalyticsInsightGetInput) => ({
|
|
46
|
+
queryKey: ['analytics', 'insight', 'get', input] as const,
|
|
47
|
+
queryFn: () => sdk['analytics']['insight']['get'](input),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export const analyticsInsightListQueryOptions = (sdk: GeneratedClient, input: AnalyticsInsightListInput) => ({
|
|
51
|
+
queryKey: ['analytics', 'insight', 'list', input] as const,
|
|
52
|
+
queryFn: () => sdk['analytics']['insight']['list'](input),
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
export const analyticsInsightRunQueryOptions = (sdk: GeneratedClient, input: AnalyticsInsightRunInput) => ({
|
|
56
|
+
queryKey: ['analytics', 'insight', 'run', input] as const,
|
|
57
|
+
queryFn: () => sdk['analytics']['insight']['run'](input),
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
export const analyticsInsightUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
61
|
+
mutationKey: ['analytics', 'insight', 'update'],
|
|
62
|
+
mutationFn: (input: AnalyticsInsightUpdateInput) => sdk['analytics']['insight']['update'](input),
|
|
63
|
+
});
|
|
64
|
+
|
|
19
65
|
export const analyticsMetricQueryQueryOptions = (sdk: GeneratedClient, input: AnalyticsMetricQueryInput) => ({
|
|
20
66
|
queryKey: ['analytics', 'metric', 'query', input] as const,
|
|
21
67
|
queryFn: () => sdk['analytics']['metric']['query'](input),
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -10,6 +10,195 @@ export const bindings: BindingsMap = {
|
|
|
10
10
|
"readOnly": true
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
+
"funnel": {
|
|
14
|
+
"run": {
|
|
15
|
+
"method": "POST",
|
|
16
|
+
"params": [
|
|
17
|
+
{
|
|
18
|
+
"in": "body",
|
|
19
|
+
"name": "steps"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"in": "body",
|
|
23
|
+
"name": "from"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"in": "body",
|
|
27
|
+
"name": "to"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"in": "body",
|
|
31
|
+
"name": "window_days"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"in": "body",
|
|
35
|
+
"name": "grain"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"path": "/analytics/funnels/run",
|
|
39
|
+
"readOnly": true
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"insight": {
|
|
43
|
+
"create": {
|
|
44
|
+
"method": "POST",
|
|
45
|
+
"params": [
|
|
46
|
+
{
|
|
47
|
+
"in": "body",
|
|
48
|
+
"name": "slug"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"in": "body",
|
|
52
|
+
"name": "name"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"in": "body",
|
|
56
|
+
"name": "description"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"in": "body",
|
|
60
|
+
"name": "kind"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"in": "body",
|
|
64
|
+
"name": "series"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"in": "body",
|
|
68
|
+
"name": "formula"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"in": "body",
|
|
72
|
+
"name": "window"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"in": "body",
|
|
76
|
+
"name": "grain"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"in": "body",
|
|
80
|
+
"name": "display"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"in": "body",
|
|
84
|
+
"name": "tags"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"in": "body",
|
|
88
|
+
"name": "target"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"path": "/analytics/insights",
|
|
92
|
+
"readOnly": false
|
|
93
|
+
},
|
|
94
|
+
"delete": {
|
|
95
|
+
"method": "DELETE",
|
|
96
|
+
"params": [
|
|
97
|
+
{
|
|
98
|
+
"in": "path",
|
|
99
|
+
"name": "id"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"path": "/analytics/insights/:id",
|
|
103
|
+
"readOnly": false
|
|
104
|
+
},
|
|
105
|
+
"get": {
|
|
106
|
+
"method": "GET",
|
|
107
|
+
"params": [
|
|
108
|
+
{
|
|
109
|
+
"in": "path",
|
|
110
|
+
"name": "idOrSlug"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"path": "/analytics/insights/:idOrSlug",
|
|
114
|
+
"readOnly": true
|
|
115
|
+
},
|
|
116
|
+
"list": {
|
|
117
|
+
"method": "GET",
|
|
118
|
+
"params": [
|
|
119
|
+
{
|
|
120
|
+
"in": "query",
|
|
121
|
+
"name": "tag"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"in": "query",
|
|
125
|
+
"name": "q"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"path": "/analytics/insights",
|
|
129
|
+
"readOnly": true
|
|
130
|
+
},
|
|
131
|
+
"run": {
|
|
132
|
+
"method": "POST",
|
|
133
|
+
"params": [
|
|
134
|
+
{
|
|
135
|
+
"in": "body",
|
|
136
|
+
"name": "from"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"in": "body",
|
|
140
|
+
"name": "to"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"in": "path",
|
|
144
|
+
"name": "idOrSlug"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"path": "/analytics/insights/:idOrSlug/run",
|
|
148
|
+
"readOnly": true
|
|
149
|
+
},
|
|
150
|
+
"update": {
|
|
151
|
+
"method": "PATCH",
|
|
152
|
+
"params": [
|
|
153
|
+
{
|
|
154
|
+
"in": "body",
|
|
155
|
+
"name": "name"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"in": "body",
|
|
159
|
+
"name": "description"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"in": "body",
|
|
163
|
+
"name": "kind"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"in": "body",
|
|
167
|
+
"name": "series"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"in": "body",
|
|
171
|
+
"name": "formula"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"in": "body",
|
|
175
|
+
"name": "window"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"in": "body",
|
|
179
|
+
"name": "grain"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"in": "body",
|
|
183
|
+
"name": "display"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"in": "body",
|
|
187
|
+
"name": "tags"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"in": "body",
|
|
191
|
+
"name": "target"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"in": "path",
|
|
195
|
+
"name": "id"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"path": "/analytics/insights/:id",
|
|
199
|
+
"readOnly": false
|
|
200
|
+
}
|
|
201
|
+
},
|
|
13
202
|
"metric": {
|
|
14
203
|
"query": {
|
|
15
204
|
"method": "POST",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
import type {
|
|
3
3
|
AnalyticsCatalogGetInput,
|
|
4
4
|
AnalyticsCatalogGetOutput,
|
|
5
|
+
AnalyticsFunnelRunInput,
|
|
6
|
+
AnalyticsFunnelRunOutput,
|
|
7
|
+
AnalyticsInsightCreateInput,
|
|
8
|
+
AnalyticsInsightCreateOutput,
|
|
9
|
+
AnalyticsInsightDeleteInput,
|
|
10
|
+
AnalyticsInsightDeleteOutput,
|
|
11
|
+
AnalyticsInsightGetInput,
|
|
12
|
+
AnalyticsInsightGetOutput,
|
|
13
|
+
AnalyticsInsightListInput,
|
|
14
|
+
AnalyticsInsightListOutput,
|
|
15
|
+
AnalyticsInsightRunInput,
|
|
16
|
+
AnalyticsInsightRunOutput,
|
|
17
|
+
AnalyticsInsightUpdateInput,
|
|
18
|
+
AnalyticsInsightUpdateOutput,
|
|
5
19
|
AnalyticsMetricQueryInput,
|
|
6
20
|
AnalyticsMetricQueryOutput,
|
|
7
21
|
AnalyticsPersonTimelineInput,
|
|
@@ -1061,6 +1075,17 @@ export interface GeneratedClient {
|
|
|
1061
1075
|
catalog: {
|
|
1062
1076
|
get(input: AnalyticsCatalogGetInput): Promise<AnalyticsCatalogGetOutput>;
|
|
1063
1077
|
};
|
|
1078
|
+
funnel: {
|
|
1079
|
+
run(input: AnalyticsFunnelRunInput): Promise<AnalyticsFunnelRunOutput>;
|
|
1080
|
+
};
|
|
1081
|
+
insight: {
|
|
1082
|
+
create(input: AnalyticsInsightCreateInput): Promise<AnalyticsInsightCreateOutput>;
|
|
1083
|
+
delete(input: AnalyticsInsightDeleteInput): Promise<AnalyticsInsightDeleteOutput>;
|
|
1084
|
+
get(input: AnalyticsInsightGetInput): Promise<AnalyticsInsightGetOutput>;
|
|
1085
|
+
list(input: AnalyticsInsightListInput): Promise<AnalyticsInsightListOutput>;
|
|
1086
|
+
run(input: AnalyticsInsightRunInput): Promise<AnalyticsInsightRunOutput>;
|
|
1087
|
+
update(input: AnalyticsInsightUpdateInput): Promise<AnalyticsInsightUpdateOutput>;
|
|
1088
|
+
};
|
|
1064
1089
|
metric: {
|
|
1065
1090
|
query(input: AnalyticsMetricQueryInput): Promise<AnalyticsMetricQueryOutput>;
|
|
1066
1091
|
};
|