@junobuild/admin 0.2.0 → 0.3.0-next-2025-05-20

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.
@@ -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,9 +88,18 @@ export interface GetAnalytics {
76
88
  from: [] | [bigint];
77
89
  satellite_id: [] | [Principal];
78
90
  }
79
- export interface MemorySize {
80
- stable: bigint;
81
- heap: bigint;
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;
82
103
  }
83
104
  export type NavigationType =
84
105
  | {Navigate: null}
@@ -90,6 +111,7 @@ export type NavigationType =
90
111
  export interface OrbiterSatelliteConfig {
91
112
  updated_at: bigint;
92
113
  features: [] | [OrbiterSatelliteFeatures];
114
+ restricted_origin: [] | [string];
93
115
  created_at: bigint;
94
116
  version: [] | [bigint];
95
117
  }
@@ -99,6 +121,7 @@ export interface OrbiterSatelliteFeatures {
99
121
  page_views: boolean;
100
122
  }
101
123
  export interface PageView {
124
+ client: [] | [PageViewClient];
102
125
  title: string;
103
126
  updated_at: bigint;
104
127
  referrer: [] | [string];
@@ -111,8 +134,15 @@ export interface PageView {
111
134
  version: [] | [bigint];
112
135
  user_agent: [] | [string];
113
136
  }
137
+ export interface PageViewClient {
138
+ os: string;
139
+ device: [] | [string];
140
+ browser: string;
141
+ }
114
142
  export interface PageViewDevice {
115
143
  inner_height: number;
144
+ screen_height: [] | [number];
145
+ screen_width: [] | [number];
116
146
  inner_width: number;
117
147
  }
118
148
  export type PerformanceData = {WebVitalsMetric: WebVitalsMetric};
@@ -146,6 +176,7 @@ export interface SetControllersArgs {
146
176
  controllers: Array<Principal>;
147
177
  }
148
178
  export interface SetPageView {
179
+ client: [] | [PageViewClient];
149
180
  title: string;
150
181
  updated_at: [] | [bigint];
151
182
  referrer: [] | [string];
@@ -168,6 +199,7 @@ export interface SetPerformanceMetric {
168
199
  }
169
200
  export interface SetSatelliteConfig {
170
201
  features: [] | [OrbiterSatelliteFeatures];
202
+ restricted_origin: [] | [string];
171
203
  version: [] | [bigint];
172
204
  }
173
205
  export interface SetTrackEvent {
@@ -209,9 +241,10 @@ export interface _SERVICE {
209
241
  >;
210
242
  get_track_events: ActorMethod<[GetAnalytics], Array<[AnalyticKey, TrackEvent]>>;
211
243
  get_track_events_analytics: ActorMethod<[GetAnalytics], AnalyticsTrackEvents>;
244
+ http_request: ActorMethod<[HttpRequest], HttpResponse>;
245
+ http_request_update: ActorMethod<[HttpRequest], HttpResponse>;
212
246
  list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
213
247
  list_satellite_configs: ActorMethod<[], Array<[Principal, OrbiterSatelliteConfig]>>;
214
- memory_size: ActorMethod<[], MemorySize>;
215
248
  set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
216
249
  set_page_view: ActorMethod<[AnalyticKey, SetPageView], Result>;
217
250
  set_page_views: ActorMethod<[Array<[AnalyticKey, SetPageView]>], Result_1>;
@@ -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,10 +174,10 @@ 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
  });
147
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
148
181
  const SetController = IDL.Record({
149
182
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
150
183
  scope: ControllerScope,
@@ -155,6 +188,7 @@ export const idlFactory = ({IDL}) => {
155
188
  controllers: IDL.Vec(IDL.Principal)
156
189
  });
157
190
  const SetPageView = IDL.Record({
191
+ client: IDL.Opt(PageViewClient),
158
192
  title: IDL.Text,
159
193
  updated_at: IDL.Opt(IDL.Nat64),
160
194
  referrer: IDL.Opt(IDL.Text),
@@ -183,6 +217,7 @@ export const idlFactory = ({IDL}) => {
183
217
  const Result_2 = IDL.Variant({Ok: PerformanceMetric, Err: IDL.Text});
184
218
  const SetSatelliteConfig = IDL.Record({
185
219
  features: IDL.Opt(OrbiterSatelliteFeatures),
220
+ restricted_origin: IDL.Opt(IDL.Text),
186
221
  version: IDL.Opt(IDL.Nat64)
187
222
  });
188
223
  const SetTrackEvent = IDL.Record({
@@ -219,13 +254,14 @@ export const idlFactory = ({IDL}) => {
219
254
  ),
220
255
  get_track_events: IDL.Func([GetAnalytics], [IDL.Vec(IDL.Tuple(AnalyticKey, TrackEvent))], []),
221
256
  get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], []),
257
+ http_request: IDL.Func([HttpRequest], [HttpResponse], []),
258
+ http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
222
259
  list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], []),
223
260
  list_satellite_configs: IDL.Func(
224
261
  [],
225
262
  [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
226
263
  []
227
264
  ),
228
- memory_size: IDL.Func([], [MemorySize], []),
229
265
  set_controllers: IDL.Func(
230
266
  [SetControllersArgs],
231
267
  [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
@@ -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,10 +174,10 @@ 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
  });
147
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
148
181
  const SetController = IDL.Record({
149
182
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
150
183
  scope: ControllerScope,
@@ -155,6 +188,7 @@ export const idlFactory = ({IDL}) => {
155
188
  controllers: IDL.Vec(IDL.Principal)
156
189
  });
157
190
  const SetPageView = IDL.Record({
191
+ client: IDL.Opt(PageViewClient),
158
192
  title: IDL.Text,
159
193
  updated_at: IDL.Opt(IDL.Nat64),
160
194
  referrer: IDL.Opt(IDL.Text),
@@ -183,6 +217,7 @@ export const idlFactory = ({IDL}) => {
183
217
  const Result_2 = IDL.Variant({Ok: PerformanceMetric, Err: IDL.Text});
184
218
  const SetSatelliteConfig = IDL.Record({
185
219
  features: IDL.Opt(OrbiterSatelliteFeatures),
220
+ restricted_origin: IDL.Opt(IDL.Text),
186
221
  version: IDL.Opt(IDL.Nat64)
187
222
  });
188
223
  const SetTrackEvent = IDL.Record({
@@ -235,13 +270,14 @@ export const idlFactory = ({IDL}) => {
235
270
  ['query']
236
271
  ),
237
272
  get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
273
+ http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
274
+ http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
238
275
  list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
239
276
  list_satellite_configs: IDL.Func(
240
277
  [],
241
278
  [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
242
279
  ['query']
243
280
  ),
244
- memory_size: IDL.Func([], [MemorySize], ['query']),
245
281
  set_controllers: IDL.Func(
246
282
  [SetControllersArgs],
247
283
  [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
@@ -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,10 +174,10 @@ 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
  });
147
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
148
181
  const SetController = IDL.Record({
149
182
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
150
183
  scope: ControllerScope,
@@ -155,6 +188,7 @@ export const idlFactory = ({IDL}) => {
155
188
  controllers: IDL.Vec(IDL.Principal)
156
189
  });
157
190
  const SetPageView = IDL.Record({
191
+ client: IDL.Opt(PageViewClient),
158
192
  title: IDL.Text,
159
193
  updated_at: IDL.Opt(IDL.Nat64),
160
194
  referrer: IDL.Opt(IDL.Text),
@@ -183,6 +217,7 @@ export const idlFactory = ({IDL}) => {
183
217
  const Result_2 = IDL.Variant({Ok: PerformanceMetric, Err: IDL.Text});
184
218
  const SetSatelliteConfig = IDL.Record({
185
219
  features: IDL.Opt(OrbiterSatelliteFeatures),
220
+ restricted_origin: IDL.Opt(IDL.Text),
186
221
  version: IDL.Opt(IDL.Nat64)
187
222
  });
188
223
  const SetTrackEvent = IDL.Record({
@@ -235,13 +270,14 @@ export const idlFactory = ({IDL}) => {
235
270
  ['query']
236
271
  ),
237
272
  get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
273
+ http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
274
+ http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
238
275
  list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
239
276
  list_satellite_configs: IDL.Func(
240
277
  [],
241
278
  [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
242
279
  ['query']
243
280
  ),
244
- memory_size: IDL.Func([], [MemorySize], ['query']),
245
281
  set_controllers: IDL.Func(
246
282
  [SetControllersArgs],
247
283
  [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
@@ -143,10 +143,6 @@ export interface ListResults_1 {
143
143
  items_length: bigint;
144
144
  }
145
145
  export type Memory = {Heap: null} | {Stable: null};
146
- export interface MemorySize {
147
- stable: bigint;
148
- heap: bigint;
149
- }
150
146
  export type Permission = {Controllers: null} | {Private: null} | {Public: null} | {Managed: null};
151
147
  export interface RateConfig {
152
148
  max_tokens: bigint;
@@ -274,7 +270,6 @@ export interface _SERVICE {
274
270
  list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
275
271
  list_docs: ActorMethod<[string, ListParams], ListResults_1>;
276
272
  list_rules: ActorMethod<[CollectionType], Array<[string, Rule]>>;
277
- memory_size: ActorMethod<[], MemorySize>;
278
273
  set_auth_config: ActorMethod<[AuthenticationConfig], undefined>;
279
274
  set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
280
275
  set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
@@ -208,7 +208,6 @@ export const idlFactory = ({IDL}) => {
208
208
  items: IDL.Vec(IDL.Tuple(IDL.Text, Doc)),
209
209
  items_length: IDL.Nat64
210
210
  });
211
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
212
211
  const SetController = IDL.Record({
213
212
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
214
213
  scope: ControllerScope,
@@ -291,7 +290,6 @@ export const idlFactory = ({IDL}) => {
291
290
  list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], []),
292
291
  list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], []),
293
292
  list_rules: IDL.Func([CollectionType], [IDL.Vec(IDL.Tuple(IDL.Text, Rule))], []),
294
- memory_size: IDL.Func([], [MemorySize], []),
295
293
  set_auth_config: IDL.Func([AuthenticationConfig], [], []),
296
294
  set_controllers: IDL.Func(
297
295
  [SetControllersArgs],
@@ -208,7 +208,6 @@ export const idlFactory = ({IDL}) => {
208
208
  items: IDL.Vec(IDL.Tuple(IDL.Text, Doc)),
209
209
  items_length: IDL.Nat64
210
210
  });
211
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
212
211
  const SetController = IDL.Record({
213
212
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
214
213
  scope: ControllerScope,
@@ -291,7 +290,6 @@ export const idlFactory = ({IDL}) => {
291
290
  list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
292
291
  list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], ['query']),
293
292
  list_rules: IDL.Func([CollectionType], [IDL.Vec(IDL.Tuple(IDL.Text, Rule))], ['query']),
294
- memory_size: IDL.Func([], [MemorySize], ['query']),
295
293
  set_auth_config: IDL.Func([AuthenticationConfig], [], []),
296
294
  set_controllers: IDL.Func(
297
295
  [SetControllersArgs],
@@ -208,7 +208,6 @@ export const idlFactory = ({IDL}) => {
208
208
  items: IDL.Vec(IDL.Tuple(IDL.Text, Doc)),
209
209
  items_length: IDL.Nat64
210
210
  });
211
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
212
211
  const SetController = IDL.Record({
213
212
  metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
214
213
  scope: ControllerScope,
@@ -291,7 +290,6 @@ export const idlFactory = ({IDL}) => {
291
290
  list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
292
291
  list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], ['query']),
293
292
  list_rules: IDL.Func([CollectionType], [IDL.Vec(IDL.Tuple(IDL.Text, Rule))], ['query']),
294
- memory_size: IDL.Func([], [MemorySize], ['query']),
295
293
  set_auth_config: IDL.Func([AuthenticationConfig], [], []),
296
294
  set_controllers: IDL.Func(
297
295
  [SetControllersArgs],