@junobuild/admin 0.2.0-next-2025-05-01 → 0.2.0-next-2025-05-04
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/browser/index.js +1 -1
- package/dist/browser/index.js.map +3 -3
- package/dist/declarations/orbiter/orbiter.did.d.ts +38 -0
- package/dist/declarations/orbiter/orbiter.factory.certified.did.js +39 -1
- package/dist/declarations/orbiter/orbiter.factory.did.js +39 -1
- package/dist/declarations/orbiter/orbiter.factory.did.mjs +39 -1
- package/dist/node/index.mjs +1 -1
- package/dist/node/index.mjs.map +3 -3
- package/package.json +1 -1
|
@@ -15,11 +15,14 @@ export interface AnalyticsBrowsersPageViews {
|
|
|
15
15
|
}
|
|
16
16
|
export interface AnalyticsClientsPageViews {
|
|
17
17
|
browsers: AnalyticsBrowsersPageViews;
|
|
18
|
+
operating_systems: [] | [AnalyticsOperatingSystemsPageViews];
|
|
18
19
|
devices: AnalyticsDevicesPageViews;
|
|
19
20
|
}
|
|
20
21
|
export interface AnalyticsDevicesPageViews {
|
|
21
22
|
desktop: number;
|
|
23
|
+
laptop: [] | [number];
|
|
22
24
|
others: number;
|
|
25
|
+
tablet: [] | [number];
|
|
23
26
|
mobile: number;
|
|
24
27
|
}
|
|
25
28
|
export interface AnalyticsMetricsPageViews {
|
|
@@ -30,9 +33,18 @@ export interface AnalyticsMetricsPageViews {
|
|
|
30
33
|
unique_page_views: bigint;
|
|
31
34
|
unique_sessions: bigint;
|
|
32
35
|
}
|
|
36
|
+
export interface AnalyticsOperatingSystemsPageViews {
|
|
37
|
+
ios: number;
|
|
38
|
+
macos: number;
|
|
39
|
+
others: number;
|
|
40
|
+
linux: number;
|
|
41
|
+
android: number;
|
|
42
|
+
windows: number;
|
|
43
|
+
}
|
|
33
44
|
export interface AnalyticsTop10PageViews {
|
|
34
45
|
referrers: Array<[string, number]>;
|
|
35
46
|
pages: Array<[string, number]>;
|
|
47
|
+
time_zones: [] | [Array<[string, number]>];
|
|
36
48
|
}
|
|
37
49
|
export interface AnalyticsTrackEvents {
|
|
38
50
|
total: Array<[string, number]>;
|
|
@@ -76,6 +88,19 @@ export interface GetAnalytics {
|
|
|
76
88
|
from: [] | [bigint];
|
|
77
89
|
satellite_id: [] | [Principal];
|
|
78
90
|
}
|
|
91
|
+
export interface HttpRequest {
|
|
92
|
+
url: string;
|
|
93
|
+
method: string;
|
|
94
|
+
body: Uint8Array | number[];
|
|
95
|
+
headers: Array<[string, string]>;
|
|
96
|
+
certificate_version: [] | [number];
|
|
97
|
+
}
|
|
98
|
+
export interface HttpResponse {
|
|
99
|
+
body: Uint8Array | number[];
|
|
100
|
+
headers: Array<[string, string]>;
|
|
101
|
+
upgrade: [] | [boolean];
|
|
102
|
+
status_code: number;
|
|
103
|
+
}
|
|
79
104
|
export interface MemorySize {
|
|
80
105
|
stable: bigint;
|
|
81
106
|
heap: bigint;
|
|
@@ -90,6 +115,7 @@ export type NavigationType =
|
|
|
90
115
|
export interface OrbiterSatelliteConfig {
|
|
91
116
|
updated_at: bigint;
|
|
92
117
|
features: [] | [OrbiterSatelliteFeatures];
|
|
118
|
+
restricted_origin: [] | [string];
|
|
93
119
|
created_at: bigint;
|
|
94
120
|
version: [] | [bigint];
|
|
95
121
|
}
|
|
@@ -99,6 +125,7 @@ export interface OrbiterSatelliteFeatures {
|
|
|
99
125
|
page_views: boolean;
|
|
100
126
|
}
|
|
101
127
|
export interface PageView {
|
|
128
|
+
client: [] | [PageViewClient];
|
|
102
129
|
title: string;
|
|
103
130
|
updated_at: bigint;
|
|
104
131
|
referrer: [] | [string];
|
|
@@ -111,8 +138,15 @@ export interface PageView {
|
|
|
111
138
|
version: [] | [bigint];
|
|
112
139
|
user_agent: [] | [string];
|
|
113
140
|
}
|
|
141
|
+
export interface PageViewClient {
|
|
142
|
+
os: string;
|
|
143
|
+
device: [] | [string];
|
|
144
|
+
browser: string;
|
|
145
|
+
}
|
|
114
146
|
export interface PageViewDevice {
|
|
115
147
|
inner_height: number;
|
|
148
|
+
screen_height: [] | [number];
|
|
149
|
+
screen_width: [] | [number];
|
|
116
150
|
inner_width: number;
|
|
117
151
|
}
|
|
118
152
|
export type PerformanceData = {WebVitalsMetric: WebVitalsMetric};
|
|
@@ -146,6 +180,7 @@ export interface SetControllersArgs {
|
|
|
146
180
|
controllers: Array<Principal>;
|
|
147
181
|
}
|
|
148
182
|
export interface SetPageView {
|
|
183
|
+
client: [] | [PageViewClient];
|
|
149
184
|
title: string;
|
|
150
185
|
updated_at: [] | [bigint];
|
|
151
186
|
referrer: [] | [string];
|
|
@@ -168,6 +203,7 @@ export interface SetPerformanceMetric {
|
|
|
168
203
|
}
|
|
169
204
|
export interface SetSatelliteConfig {
|
|
170
205
|
features: [] | [OrbiterSatelliteFeatures];
|
|
206
|
+
restricted_origin: [] | [string];
|
|
171
207
|
version: [] | [bigint];
|
|
172
208
|
}
|
|
173
209
|
export interface SetTrackEvent {
|
|
@@ -209,6 +245,8 @@ export interface _SERVICE {
|
|
|
209
245
|
>;
|
|
210
246
|
get_track_events: ActorMethod<[GetAnalytics], Array<[AnalyticKey, TrackEvent]>>;
|
|
211
247
|
get_track_events_analytics: ActorMethod<[GetAnalytics], AnalyticsTrackEvents>;
|
|
248
|
+
http_request: ActorMethod<[HttpRequest], HttpResponse>;
|
|
249
|
+
http_request_update: ActorMethod<[HttpRequest], HttpResponse>;
|
|
212
250
|
list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
|
|
213
251
|
list_satellite_configs: ActorMethod<[], Array<[Principal, OrbiterSatelliteConfig]>>;
|
|
214
252
|
memory_size: ActorMethod<[], MemorySize>;
|
|
@@ -28,11 +28,19 @@ export const idlFactory = ({IDL}) => {
|
|
|
28
28
|
key: IDL.Text,
|
|
29
29
|
collected_at: IDL.Nat64
|
|
30
30
|
});
|
|
31
|
+
const PageViewClient = IDL.Record({
|
|
32
|
+
os: IDL.Text,
|
|
33
|
+
device: IDL.Opt(IDL.Text),
|
|
34
|
+
browser: IDL.Text
|
|
35
|
+
});
|
|
31
36
|
const PageViewDevice = IDL.Record({
|
|
32
37
|
inner_height: IDL.Nat16,
|
|
38
|
+
screen_height: IDL.Opt(IDL.Nat16),
|
|
39
|
+
screen_width: IDL.Opt(IDL.Nat16),
|
|
33
40
|
inner_width: IDL.Nat16
|
|
34
41
|
});
|
|
35
42
|
const PageView = IDL.Record({
|
|
43
|
+
client: IDL.Opt(PageViewClient),
|
|
36
44
|
title: IDL.Text,
|
|
37
45
|
updated_at: IDL.Nat64,
|
|
38
46
|
referrer: IDL.Opt(IDL.Text),
|
|
@@ -52,13 +60,24 @@ export const idlFactory = ({IDL}) => {
|
|
|
52
60
|
firefox: IDL.Float64,
|
|
53
61
|
chrome: IDL.Float64
|
|
54
62
|
});
|
|
63
|
+
const AnalyticsOperatingSystemsPageViews = IDL.Record({
|
|
64
|
+
ios: IDL.Float64,
|
|
65
|
+
macos: IDL.Float64,
|
|
66
|
+
others: IDL.Float64,
|
|
67
|
+
linux: IDL.Float64,
|
|
68
|
+
android: IDL.Float64,
|
|
69
|
+
windows: IDL.Float64
|
|
70
|
+
});
|
|
55
71
|
const AnalyticsDevicesPageViews = IDL.Record({
|
|
56
72
|
desktop: IDL.Float64,
|
|
73
|
+
laptop: IDL.Opt(IDL.Float64),
|
|
57
74
|
others: IDL.Float64,
|
|
75
|
+
tablet: IDL.Opt(IDL.Float64),
|
|
58
76
|
mobile: IDL.Float64
|
|
59
77
|
});
|
|
60
78
|
const AnalyticsClientsPageViews = IDL.Record({
|
|
61
79
|
browsers: AnalyticsBrowsersPageViews,
|
|
80
|
+
operating_systems: IDL.Opt(AnalyticsOperatingSystemsPageViews),
|
|
62
81
|
devices: AnalyticsDevicesPageViews
|
|
63
82
|
});
|
|
64
83
|
const CalendarDate = IDL.Record({
|
|
@@ -76,7 +95,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
76
95
|
});
|
|
77
96
|
const AnalyticsTop10PageViews = IDL.Record({
|
|
78
97
|
referrers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
|
|
79
|
-
pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
|
|
98
|
+
pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
|
|
99
|
+
time_zones: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)))
|
|
80
100
|
});
|
|
81
101
|
const NavigationType = IDL.Variant({
|
|
82
102
|
Navigate: IDL.Null,
|
|
@@ -133,6 +153,19 @@ export const idlFactory = ({IDL}) => {
|
|
|
133
153
|
const AnalyticsTrackEvents = IDL.Record({
|
|
134
154
|
total: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
|
|
135
155
|
});
|
|
156
|
+
const HttpRequest = IDL.Record({
|
|
157
|
+
url: IDL.Text,
|
|
158
|
+
method: IDL.Text,
|
|
159
|
+
body: IDL.Vec(IDL.Nat8),
|
|
160
|
+
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
161
|
+
certificate_version: IDL.Opt(IDL.Nat16)
|
|
162
|
+
});
|
|
163
|
+
const HttpResponse = IDL.Record({
|
|
164
|
+
body: IDL.Vec(IDL.Nat8),
|
|
165
|
+
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
166
|
+
upgrade: IDL.Opt(IDL.Bool),
|
|
167
|
+
status_code: IDL.Nat16
|
|
168
|
+
});
|
|
136
169
|
const OrbiterSatelliteFeatures = IDL.Record({
|
|
137
170
|
performance_metrics: IDL.Bool,
|
|
138
171
|
track_events: IDL.Bool,
|
|
@@ -141,6 +174,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
141
174
|
const OrbiterSatelliteConfig = IDL.Record({
|
|
142
175
|
updated_at: IDL.Nat64,
|
|
143
176
|
features: IDL.Opt(OrbiterSatelliteFeatures),
|
|
177
|
+
restricted_origin: IDL.Opt(IDL.Text),
|
|
144
178
|
created_at: IDL.Nat64,
|
|
145
179
|
version: IDL.Opt(IDL.Nat64)
|
|
146
180
|
});
|
|
@@ -155,6 +189,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
155
189
|
controllers: IDL.Vec(IDL.Principal)
|
|
156
190
|
});
|
|
157
191
|
const SetPageView = IDL.Record({
|
|
192
|
+
client: IDL.Opt(PageViewClient),
|
|
158
193
|
title: IDL.Text,
|
|
159
194
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
160
195
|
referrer: IDL.Opt(IDL.Text),
|
|
@@ -183,6 +218,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
183
218
|
const Result_2 = IDL.Variant({Ok: PerformanceMetric, Err: IDL.Text});
|
|
184
219
|
const SetSatelliteConfig = IDL.Record({
|
|
185
220
|
features: IDL.Opt(OrbiterSatelliteFeatures),
|
|
221
|
+
restricted_origin: IDL.Opt(IDL.Text),
|
|
186
222
|
version: IDL.Opt(IDL.Nat64)
|
|
187
223
|
});
|
|
188
224
|
const SetTrackEvent = IDL.Record({
|
|
@@ -219,6 +255,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
219
255
|
),
|
|
220
256
|
get_track_events: IDL.Func([GetAnalytics], [IDL.Vec(IDL.Tuple(AnalyticKey, TrackEvent))], []),
|
|
221
257
|
get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], []),
|
|
258
|
+
http_request: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
259
|
+
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
222
260
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], []),
|
|
223
261
|
list_satellite_configs: IDL.Func(
|
|
224
262
|
[],
|
|
@@ -28,11 +28,19 @@ export const idlFactory = ({IDL}) => {
|
|
|
28
28
|
key: IDL.Text,
|
|
29
29
|
collected_at: IDL.Nat64
|
|
30
30
|
});
|
|
31
|
+
const PageViewClient = IDL.Record({
|
|
32
|
+
os: IDL.Text,
|
|
33
|
+
device: IDL.Opt(IDL.Text),
|
|
34
|
+
browser: IDL.Text
|
|
35
|
+
});
|
|
31
36
|
const PageViewDevice = IDL.Record({
|
|
32
37
|
inner_height: IDL.Nat16,
|
|
38
|
+
screen_height: IDL.Opt(IDL.Nat16),
|
|
39
|
+
screen_width: IDL.Opt(IDL.Nat16),
|
|
33
40
|
inner_width: IDL.Nat16
|
|
34
41
|
});
|
|
35
42
|
const PageView = IDL.Record({
|
|
43
|
+
client: IDL.Opt(PageViewClient),
|
|
36
44
|
title: IDL.Text,
|
|
37
45
|
updated_at: IDL.Nat64,
|
|
38
46
|
referrer: IDL.Opt(IDL.Text),
|
|
@@ -52,13 +60,24 @@ export const idlFactory = ({IDL}) => {
|
|
|
52
60
|
firefox: IDL.Float64,
|
|
53
61
|
chrome: IDL.Float64
|
|
54
62
|
});
|
|
63
|
+
const AnalyticsOperatingSystemsPageViews = IDL.Record({
|
|
64
|
+
ios: IDL.Float64,
|
|
65
|
+
macos: IDL.Float64,
|
|
66
|
+
others: IDL.Float64,
|
|
67
|
+
linux: IDL.Float64,
|
|
68
|
+
android: IDL.Float64,
|
|
69
|
+
windows: IDL.Float64
|
|
70
|
+
});
|
|
55
71
|
const AnalyticsDevicesPageViews = IDL.Record({
|
|
56
72
|
desktop: IDL.Float64,
|
|
73
|
+
laptop: IDL.Opt(IDL.Float64),
|
|
57
74
|
others: IDL.Float64,
|
|
75
|
+
tablet: IDL.Opt(IDL.Float64),
|
|
58
76
|
mobile: IDL.Float64
|
|
59
77
|
});
|
|
60
78
|
const AnalyticsClientsPageViews = IDL.Record({
|
|
61
79
|
browsers: AnalyticsBrowsersPageViews,
|
|
80
|
+
operating_systems: IDL.Opt(AnalyticsOperatingSystemsPageViews),
|
|
62
81
|
devices: AnalyticsDevicesPageViews
|
|
63
82
|
});
|
|
64
83
|
const CalendarDate = IDL.Record({
|
|
@@ -76,7 +95,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
76
95
|
});
|
|
77
96
|
const AnalyticsTop10PageViews = IDL.Record({
|
|
78
97
|
referrers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
|
|
79
|
-
pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
|
|
98
|
+
pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
|
|
99
|
+
time_zones: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)))
|
|
80
100
|
});
|
|
81
101
|
const NavigationType = IDL.Variant({
|
|
82
102
|
Navigate: IDL.Null,
|
|
@@ -133,6 +153,19 @@ export const idlFactory = ({IDL}) => {
|
|
|
133
153
|
const AnalyticsTrackEvents = IDL.Record({
|
|
134
154
|
total: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
|
|
135
155
|
});
|
|
156
|
+
const HttpRequest = IDL.Record({
|
|
157
|
+
url: IDL.Text,
|
|
158
|
+
method: IDL.Text,
|
|
159
|
+
body: IDL.Vec(IDL.Nat8),
|
|
160
|
+
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
161
|
+
certificate_version: IDL.Opt(IDL.Nat16)
|
|
162
|
+
});
|
|
163
|
+
const HttpResponse = IDL.Record({
|
|
164
|
+
body: IDL.Vec(IDL.Nat8),
|
|
165
|
+
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
166
|
+
upgrade: IDL.Opt(IDL.Bool),
|
|
167
|
+
status_code: IDL.Nat16
|
|
168
|
+
});
|
|
136
169
|
const OrbiterSatelliteFeatures = IDL.Record({
|
|
137
170
|
performance_metrics: IDL.Bool,
|
|
138
171
|
track_events: IDL.Bool,
|
|
@@ -141,6 +174,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
141
174
|
const OrbiterSatelliteConfig = IDL.Record({
|
|
142
175
|
updated_at: IDL.Nat64,
|
|
143
176
|
features: IDL.Opt(OrbiterSatelliteFeatures),
|
|
177
|
+
restricted_origin: IDL.Opt(IDL.Text),
|
|
144
178
|
created_at: IDL.Nat64,
|
|
145
179
|
version: IDL.Opt(IDL.Nat64)
|
|
146
180
|
});
|
|
@@ -155,6 +189,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
155
189
|
controllers: IDL.Vec(IDL.Principal)
|
|
156
190
|
});
|
|
157
191
|
const SetPageView = IDL.Record({
|
|
192
|
+
client: IDL.Opt(PageViewClient),
|
|
158
193
|
title: IDL.Text,
|
|
159
194
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
160
195
|
referrer: IDL.Opt(IDL.Text),
|
|
@@ -183,6 +218,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
183
218
|
const Result_2 = IDL.Variant({Ok: PerformanceMetric, Err: IDL.Text});
|
|
184
219
|
const SetSatelliteConfig = IDL.Record({
|
|
185
220
|
features: IDL.Opt(OrbiterSatelliteFeatures),
|
|
221
|
+
restricted_origin: IDL.Opt(IDL.Text),
|
|
186
222
|
version: IDL.Opt(IDL.Nat64)
|
|
187
223
|
});
|
|
188
224
|
const SetTrackEvent = IDL.Record({
|
|
@@ -235,6 +271,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
235
271
|
['query']
|
|
236
272
|
),
|
|
237
273
|
get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
|
|
274
|
+
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
275
|
+
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
238
276
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
239
277
|
list_satellite_configs: IDL.Func(
|
|
240
278
|
[],
|
|
@@ -28,11 +28,19 @@ export const idlFactory = ({IDL}) => {
|
|
|
28
28
|
key: IDL.Text,
|
|
29
29
|
collected_at: IDL.Nat64
|
|
30
30
|
});
|
|
31
|
+
const PageViewClient = IDL.Record({
|
|
32
|
+
os: IDL.Text,
|
|
33
|
+
device: IDL.Opt(IDL.Text),
|
|
34
|
+
browser: IDL.Text
|
|
35
|
+
});
|
|
31
36
|
const PageViewDevice = IDL.Record({
|
|
32
37
|
inner_height: IDL.Nat16,
|
|
38
|
+
screen_height: IDL.Opt(IDL.Nat16),
|
|
39
|
+
screen_width: IDL.Opt(IDL.Nat16),
|
|
33
40
|
inner_width: IDL.Nat16
|
|
34
41
|
});
|
|
35
42
|
const PageView = IDL.Record({
|
|
43
|
+
client: IDL.Opt(PageViewClient),
|
|
36
44
|
title: IDL.Text,
|
|
37
45
|
updated_at: IDL.Nat64,
|
|
38
46
|
referrer: IDL.Opt(IDL.Text),
|
|
@@ -52,13 +60,24 @@ export const idlFactory = ({IDL}) => {
|
|
|
52
60
|
firefox: IDL.Float64,
|
|
53
61
|
chrome: IDL.Float64
|
|
54
62
|
});
|
|
63
|
+
const AnalyticsOperatingSystemsPageViews = IDL.Record({
|
|
64
|
+
ios: IDL.Float64,
|
|
65
|
+
macos: IDL.Float64,
|
|
66
|
+
others: IDL.Float64,
|
|
67
|
+
linux: IDL.Float64,
|
|
68
|
+
android: IDL.Float64,
|
|
69
|
+
windows: IDL.Float64
|
|
70
|
+
});
|
|
55
71
|
const AnalyticsDevicesPageViews = IDL.Record({
|
|
56
72
|
desktop: IDL.Float64,
|
|
73
|
+
laptop: IDL.Opt(IDL.Float64),
|
|
57
74
|
others: IDL.Float64,
|
|
75
|
+
tablet: IDL.Opt(IDL.Float64),
|
|
58
76
|
mobile: IDL.Float64
|
|
59
77
|
});
|
|
60
78
|
const AnalyticsClientsPageViews = IDL.Record({
|
|
61
79
|
browsers: AnalyticsBrowsersPageViews,
|
|
80
|
+
operating_systems: IDL.Opt(AnalyticsOperatingSystemsPageViews),
|
|
62
81
|
devices: AnalyticsDevicesPageViews
|
|
63
82
|
});
|
|
64
83
|
const CalendarDate = IDL.Record({
|
|
@@ -76,7 +95,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
76
95
|
});
|
|
77
96
|
const AnalyticsTop10PageViews = IDL.Record({
|
|
78
97
|
referrers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
|
|
79
|
-
pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
|
|
98
|
+
pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
|
|
99
|
+
time_zones: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)))
|
|
80
100
|
});
|
|
81
101
|
const NavigationType = IDL.Variant({
|
|
82
102
|
Navigate: IDL.Null,
|
|
@@ -133,6 +153,19 @@ export const idlFactory = ({IDL}) => {
|
|
|
133
153
|
const AnalyticsTrackEvents = IDL.Record({
|
|
134
154
|
total: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
|
|
135
155
|
});
|
|
156
|
+
const HttpRequest = IDL.Record({
|
|
157
|
+
url: IDL.Text,
|
|
158
|
+
method: IDL.Text,
|
|
159
|
+
body: IDL.Vec(IDL.Nat8),
|
|
160
|
+
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
161
|
+
certificate_version: IDL.Opt(IDL.Nat16)
|
|
162
|
+
});
|
|
163
|
+
const HttpResponse = IDL.Record({
|
|
164
|
+
body: IDL.Vec(IDL.Nat8),
|
|
165
|
+
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
166
|
+
upgrade: IDL.Opt(IDL.Bool),
|
|
167
|
+
status_code: IDL.Nat16
|
|
168
|
+
});
|
|
136
169
|
const OrbiterSatelliteFeatures = IDL.Record({
|
|
137
170
|
performance_metrics: IDL.Bool,
|
|
138
171
|
track_events: IDL.Bool,
|
|
@@ -141,6 +174,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
141
174
|
const OrbiterSatelliteConfig = IDL.Record({
|
|
142
175
|
updated_at: IDL.Nat64,
|
|
143
176
|
features: IDL.Opt(OrbiterSatelliteFeatures),
|
|
177
|
+
restricted_origin: IDL.Opt(IDL.Text),
|
|
144
178
|
created_at: IDL.Nat64,
|
|
145
179
|
version: IDL.Opt(IDL.Nat64)
|
|
146
180
|
});
|
|
@@ -155,6 +189,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
155
189
|
controllers: IDL.Vec(IDL.Principal)
|
|
156
190
|
});
|
|
157
191
|
const SetPageView = IDL.Record({
|
|
192
|
+
client: IDL.Opt(PageViewClient),
|
|
158
193
|
title: IDL.Text,
|
|
159
194
|
updated_at: IDL.Opt(IDL.Nat64),
|
|
160
195
|
referrer: IDL.Opt(IDL.Text),
|
|
@@ -183,6 +218,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
183
218
|
const Result_2 = IDL.Variant({Ok: PerformanceMetric, Err: IDL.Text});
|
|
184
219
|
const SetSatelliteConfig = IDL.Record({
|
|
185
220
|
features: IDL.Opt(OrbiterSatelliteFeatures),
|
|
221
|
+
restricted_origin: IDL.Opt(IDL.Text),
|
|
186
222
|
version: IDL.Opt(IDL.Nat64)
|
|
187
223
|
});
|
|
188
224
|
const SetTrackEvent = IDL.Record({
|
|
@@ -235,6 +271,8 @@ export const idlFactory = ({IDL}) => {
|
|
|
235
271
|
['query']
|
|
236
272
|
),
|
|
237
273
|
get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
|
|
274
|
+
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
275
|
+
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
238
276
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
239
277
|
list_satellite_configs: IDL.Func(
|
|
240
278
|
[],
|