@junobuild/admin 0.0.53 → 0.0.54-next-2024-08-24

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 (28) hide show
  1. package/dist/browser/index.js +7 -7
  2. package/dist/browser/index.js.map +3 -3
  3. package/dist/declarations/ic/ic.did.d.ts +48 -5
  4. package/dist/declarations/ic/ic.factory.did.js +53 -14
  5. package/dist/declarations/ic/ic.factory.did.mjs +53 -14
  6. package/dist/declarations/orbiter/orbiter.did.d.ts +60 -2
  7. package/dist/declarations/orbiter/orbiter.factory.did.js +71 -2
  8. package/dist/declarations/orbiter/orbiter.factory.did.mjs +71 -2
  9. package/dist/node/index.mjs +7 -7
  10. package/dist/node/index.mjs.map +3 -3
  11. package/package.json +7 -8
  12. package/declarations/ic/ic.did.d.ts +0 -301
  13. package/declarations/ic/ic.factory.did.js +0 -339
  14. package/declarations/ic/ic.factory.did.mjs +0 -339
  15. package/declarations/mission_control/mission_control.did.d.ts +0 -115
  16. package/declarations/mission_control/mission_control.factory.did.js +0 -147
  17. package/declarations/orbiter/orbiter.did.d.ts +0 -166
  18. package/declarations/orbiter/orbiter.factory.did.js +0 -197
  19. package/declarations/orbiter/orbiter.factory.did.mjs +0 -197
  20. package/declarations/satellite/satellite-deprecated-no-scope.did.d.ts +0 -183
  21. package/declarations/satellite/satellite-deprecated-no-scope.factory.did.js +0 -194
  22. package/declarations/satellite/satellite-deprecated-no-scope.factory.did.mjs +0 -192
  23. package/declarations/satellite/satellite-deprecated.did.d.ts +0 -182
  24. package/declarations/satellite/satellite-deprecated.factory.did.js +0 -191
  25. package/declarations/satellite/satellite-deprecated.factory.did.mjs +0 -191
  26. package/declarations/satellite/satellite.did.d.ts +0 -277
  27. package/declarations/satellite/satellite.factory.did.js +0 -305
  28. package/declarations/satellite/satellite.factory.did.mjs +0 -305
@@ -1,166 +0,0 @@
1
- import type {ActorMethod} from '@dfinity/agent';
2
- import type {IDL} from '@dfinity/candid';
3
- import type {Principal} from '@dfinity/principal';
4
-
5
- export interface AnalyticKey {
6
- key: string;
7
- collected_at: bigint;
8
- }
9
- export interface AnalyticsBrowsersPageViews {
10
- safari: number;
11
- opera: number;
12
- others: number;
13
- firefox: number;
14
- chrome: number;
15
- }
16
- export interface AnalyticsClientsPageViews {
17
- browsers: AnalyticsBrowsersPageViews;
18
- devices: AnalyticsDevicesPageViews;
19
- }
20
- export interface AnalyticsDevicesPageViews {
21
- desktop: number;
22
- others: number;
23
- mobile: number;
24
- }
25
- export interface AnalyticsMetricsPageViews {
26
- bounce_rate: number;
27
- average_page_views_per_session: number;
28
- daily_total_page_views: Array<[CalendarDate, number]>;
29
- total_page_views: number;
30
- unique_page_views: bigint;
31
- unique_sessions: bigint;
32
- }
33
- export interface AnalyticsTop10PageViews {
34
- referrers: Array<[string, number]>;
35
- pages: Array<[string, number]>;
36
- }
37
- export interface AnalyticsTrackEvents {
38
- total: Array<[string, number]>;
39
- }
40
- export interface CalendarDate {
41
- day: number;
42
- month: number;
43
- year: number;
44
- }
45
- export interface Controller {
46
- updated_at: bigint;
47
- metadata: Array<[string, string]>;
48
- created_at: bigint;
49
- scope: ControllerScope;
50
- expires_at: [] | [bigint];
51
- }
52
- export type ControllerScope = {Write: null} | {Admin: null};
53
- export interface DelSatelliteConfig {
54
- version: [] | [bigint];
55
- }
56
- export interface DeleteControllersArgs {
57
- controllers: Array<Principal>;
58
- }
59
- export interface DepositCyclesArgs {
60
- cycles: bigint;
61
- destination_id: Principal;
62
- }
63
- export interface GetAnalytics {
64
- to: [] | [bigint];
65
- from: [] | [bigint];
66
- satellite_id: [] | [Principal];
67
- }
68
- export interface MemorySize {
69
- stable: bigint;
70
- heap: bigint;
71
- }
72
- export interface OrbiterSatelliteConfig {
73
- updated_at: bigint;
74
- created_at: bigint;
75
- version: [] | [bigint];
76
- enabled: boolean;
77
- }
78
- export interface PageView {
79
- title: string;
80
- updated_at: bigint;
81
- referrer: [] | [string];
82
- time_zone: string;
83
- session_id: string;
84
- href: string;
85
- created_at: bigint;
86
- satellite_id: Principal;
87
- device: PageViewDevice;
88
- version: [] | [bigint];
89
- user_agent: [] | [string];
90
- }
91
- export interface PageViewDevice {
92
- inner_height: number;
93
- inner_width: number;
94
- }
95
- export type Result = {Ok: PageView} | {Err: string};
96
- export type Result_1 = {Ok: null} | {Err: Array<[AnalyticKey, string]>};
97
- export type Result_2 = {Ok: TrackEvent} | {Err: string};
98
- export interface SetController {
99
- metadata: Array<[string, string]>;
100
- scope: ControllerScope;
101
- expires_at: [] | [bigint];
102
- }
103
- export interface SetControllersArgs {
104
- controller: SetController;
105
- controllers: Array<Principal>;
106
- }
107
- export interface SetPageView {
108
- title: string;
109
- updated_at: [] | [bigint];
110
- referrer: [] | [string];
111
- time_zone: string;
112
- session_id: string;
113
- href: string;
114
- satellite_id: Principal;
115
- device: PageViewDevice;
116
- version: [] | [bigint];
117
- user_agent: [] | [string];
118
- }
119
- export interface SetSatelliteConfig {
120
- version: [] | [bigint];
121
- enabled: boolean;
122
- }
123
- export interface SetTrackEvent {
124
- updated_at: [] | [bigint];
125
- session_id: string;
126
- metadata: [] | [Array<[string, string]>];
127
- name: string;
128
- satellite_id: Principal;
129
- version: [] | [bigint];
130
- user_agent: [] | [string];
131
- }
132
- export interface TrackEvent {
133
- updated_at: bigint;
134
- session_id: string;
135
- metadata: [] | [Array<[string, string]>];
136
- name: string;
137
- created_at: bigint;
138
- satellite_id: Principal;
139
- version: [] | [bigint];
140
- }
141
- export interface _SERVICE {
142
- del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
143
- del_satellite_config: ActorMethod<[Principal, DelSatelliteConfig], undefined>;
144
- deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
145
- get_page_views: ActorMethod<[GetAnalytics], Array<[AnalyticKey, PageView]>>;
146
- get_page_views_analytics_clients: ActorMethod<[GetAnalytics], AnalyticsClientsPageViews>;
147
- get_page_views_analytics_metrics: ActorMethod<[GetAnalytics], AnalyticsMetricsPageViews>;
148
- get_page_views_analytics_top_10: ActorMethod<[GetAnalytics], AnalyticsTop10PageViews>;
149
- get_track_events: ActorMethod<[GetAnalytics], Array<[AnalyticKey, TrackEvent]>>;
150
- get_track_events_analytics: ActorMethod<[GetAnalytics], AnalyticsTrackEvents>;
151
- list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
152
- list_satellite_configs: ActorMethod<[], Array<[Principal, OrbiterSatelliteConfig]>>;
153
- memory_size: ActorMethod<[], MemorySize>;
154
- set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
155
- set_page_view: ActorMethod<[AnalyticKey, SetPageView], Result>;
156
- set_page_views: ActorMethod<[Array<[AnalyticKey, SetPageView]>], Result_1>;
157
- set_satellite_configs: ActorMethod<
158
- [Array<[Principal, SetSatelliteConfig]>],
159
- Array<[Principal, OrbiterSatelliteConfig]>
160
- >;
161
- set_track_event: ActorMethod<[AnalyticKey, SetTrackEvent], Result_2>;
162
- set_track_events: ActorMethod<[Array<[AnalyticKey, SetTrackEvent]>], Result_1>;
163
- version: ActorMethod<[], string>;
164
- }
165
- export declare const idlFactory: IDL.InterfaceFactory;
166
- export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
@@ -1,197 +0,0 @@
1
- // @ts-ignore
2
- export const idlFactory = ({IDL}) => {
3
- const DeleteControllersArgs = IDL.Record({
4
- controllers: IDL.Vec(IDL.Principal)
5
- });
6
- const ControllerScope = IDL.Variant({
7
- Write: IDL.Null,
8
- Admin: IDL.Null
9
- });
10
- const Controller = IDL.Record({
11
- updated_at: IDL.Nat64,
12
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
13
- created_at: IDL.Nat64,
14
- scope: ControllerScope,
15
- expires_at: IDL.Opt(IDL.Nat64)
16
- });
17
- const DelSatelliteConfig = IDL.Record({version: IDL.Opt(IDL.Nat64)});
18
- const DepositCyclesArgs = IDL.Record({
19
- cycles: IDL.Nat,
20
- destination_id: IDL.Principal
21
- });
22
- const GetAnalytics = IDL.Record({
23
- to: IDL.Opt(IDL.Nat64),
24
- from: IDL.Opt(IDL.Nat64),
25
- satellite_id: IDL.Opt(IDL.Principal)
26
- });
27
- const AnalyticKey = IDL.Record({
28
- key: IDL.Text,
29
- collected_at: IDL.Nat64
30
- });
31
- const PageViewDevice = IDL.Record({
32
- inner_height: IDL.Nat16,
33
- inner_width: IDL.Nat16
34
- });
35
- const PageView = IDL.Record({
36
- title: IDL.Text,
37
- updated_at: IDL.Nat64,
38
- referrer: IDL.Opt(IDL.Text),
39
- time_zone: IDL.Text,
40
- session_id: IDL.Text,
41
- href: IDL.Text,
42
- created_at: IDL.Nat64,
43
- satellite_id: IDL.Principal,
44
- device: PageViewDevice,
45
- version: IDL.Opt(IDL.Nat64),
46
- user_agent: IDL.Opt(IDL.Text)
47
- });
48
- const AnalyticsBrowsersPageViews = IDL.Record({
49
- safari: IDL.Float64,
50
- opera: IDL.Float64,
51
- others: IDL.Float64,
52
- firefox: IDL.Float64,
53
- chrome: IDL.Float64
54
- });
55
- const AnalyticsDevicesPageViews = IDL.Record({
56
- desktop: IDL.Float64,
57
- others: IDL.Float64,
58
- mobile: IDL.Float64
59
- });
60
- const AnalyticsClientsPageViews = IDL.Record({
61
- browsers: AnalyticsBrowsersPageViews,
62
- devices: AnalyticsDevicesPageViews
63
- });
64
- const CalendarDate = IDL.Record({
65
- day: IDL.Nat8,
66
- month: IDL.Nat8,
67
- year: IDL.Int32
68
- });
69
- const AnalyticsMetricsPageViews = IDL.Record({
70
- bounce_rate: IDL.Float64,
71
- average_page_views_per_session: IDL.Float64,
72
- daily_total_page_views: IDL.Vec(IDL.Tuple(CalendarDate, IDL.Nat32)),
73
- total_page_views: IDL.Nat32,
74
- unique_page_views: IDL.Nat64,
75
- unique_sessions: IDL.Nat64
76
- });
77
- const AnalyticsTop10PageViews = IDL.Record({
78
- referrers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
79
- pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
80
- });
81
- const TrackEvent = IDL.Record({
82
- updated_at: IDL.Nat64,
83
- session_id: IDL.Text,
84
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
85
- name: IDL.Text,
86
- created_at: IDL.Nat64,
87
- satellite_id: IDL.Principal,
88
- version: IDL.Opt(IDL.Nat64)
89
- });
90
- const AnalyticsTrackEvents = IDL.Record({
91
- total: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
92
- });
93
- const OrbiterSatelliteConfig = IDL.Record({
94
- updated_at: IDL.Nat64,
95
- created_at: IDL.Nat64,
96
- version: IDL.Opt(IDL.Nat64),
97
- enabled: IDL.Bool
98
- });
99
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
100
- const SetController = IDL.Record({
101
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
102
- scope: ControllerScope,
103
- expires_at: IDL.Opt(IDL.Nat64)
104
- });
105
- const SetControllersArgs = IDL.Record({
106
- controller: SetController,
107
- controllers: IDL.Vec(IDL.Principal)
108
- });
109
- const SetPageView = IDL.Record({
110
- title: IDL.Text,
111
- updated_at: IDL.Opt(IDL.Nat64),
112
- referrer: IDL.Opt(IDL.Text),
113
- time_zone: IDL.Text,
114
- session_id: IDL.Text,
115
- href: IDL.Text,
116
- satellite_id: IDL.Principal,
117
- device: PageViewDevice,
118
- version: IDL.Opt(IDL.Nat64),
119
- user_agent: IDL.Opt(IDL.Text)
120
- });
121
- const Result = IDL.Variant({Ok: PageView, Err: IDL.Text});
122
- const Result_1 = IDL.Variant({
123
- Ok: IDL.Null,
124
- Err: IDL.Vec(IDL.Tuple(AnalyticKey, IDL.Text))
125
- });
126
- const SetSatelliteConfig = IDL.Record({
127
- version: IDL.Opt(IDL.Nat64),
128
- enabled: IDL.Bool
129
- });
130
- const SetTrackEvent = IDL.Record({
131
- updated_at: IDL.Opt(IDL.Nat64),
132
- session_id: IDL.Text,
133
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
134
- name: IDL.Text,
135
- satellite_id: IDL.Principal,
136
- version: IDL.Opt(IDL.Nat64),
137
- user_agent: IDL.Opt(IDL.Text)
138
- });
139
- const Result_2 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
140
- return IDL.Service({
141
- del_controllers: IDL.Func(
142
- [DeleteControllersArgs],
143
- [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
144
- []
145
- ),
146
- del_satellite_config: IDL.Func([IDL.Principal, DelSatelliteConfig], [], []),
147
- deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
148
- get_page_views: IDL.Func(
149
- [GetAnalytics],
150
- [IDL.Vec(IDL.Tuple(AnalyticKey, PageView))],
151
- ['query']
152
- ),
153
- get_page_views_analytics_clients: IDL.Func(
154
- [GetAnalytics],
155
- [AnalyticsClientsPageViews],
156
- ['query']
157
- ),
158
- get_page_views_analytics_metrics: IDL.Func(
159
- [GetAnalytics],
160
- [AnalyticsMetricsPageViews],
161
- ['query']
162
- ),
163
- get_page_views_analytics_top_10: IDL.Func([GetAnalytics], [AnalyticsTop10PageViews], ['query']),
164
- get_track_events: IDL.Func(
165
- [GetAnalytics],
166
- [IDL.Vec(IDL.Tuple(AnalyticKey, TrackEvent))],
167
- ['query']
168
- ),
169
- get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
170
- list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
171
- list_satellite_configs: IDL.Func(
172
- [],
173
- [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
174
- ['query']
175
- ),
176
- memory_size: IDL.Func([], [MemorySize], ['query']),
177
- set_controllers: IDL.Func(
178
- [SetControllersArgs],
179
- [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
180
- []
181
- ),
182
- set_page_view: IDL.Func([AnalyticKey, SetPageView], [Result], []),
183
- set_page_views: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetPageView))], [Result_1], []),
184
- set_satellite_configs: IDL.Func(
185
- [IDL.Vec(IDL.Tuple(IDL.Principal, SetSatelliteConfig))],
186
- [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
187
- []
188
- ),
189
- set_track_event: IDL.Func([AnalyticKey, SetTrackEvent], [Result_2], []),
190
- set_track_events: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetTrackEvent))], [Result_1], []),
191
- version: IDL.Func([], [IDL.Text], ['query'])
192
- });
193
- };
194
- // @ts-ignore
195
- export const init = ({IDL}) => {
196
- return [];
197
- };
@@ -1,197 +0,0 @@
1
- // @ts-ignore
2
- export const idlFactory = ({IDL}) => {
3
- const DeleteControllersArgs = IDL.Record({
4
- controllers: IDL.Vec(IDL.Principal)
5
- });
6
- const ControllerScope = IDL.Variant({
7
- Write: IDL.Null,
8
- Admin: IDL.Null
9
- });
10
- const Controller = IDL.Record({
11
- updated_at: IDL.Nat64,
12
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
13
- created_at: IDL.Nat64,
14
- scope: ControllerScope,
15
- expires_at: IDL.Opt(IDL.Nat64)
16
- });
17
- const DelSatelliteConfig = IDL.Record({version: IDL.Opt(IDL.Nat64)});
18
- const DepositCyclesArgs = IDL.Record({
19
- cycles: IDL.Nat,
20
- destination_id: IDL.Principal
21
- });
22
- const GetAnalytics = IDL.Record({
23
- to: IDL.Opt(IDL.Nat64),
24
- from: IDL.Opt(IDL.Nat64),
25
- satellite_id: IDL.Opt(IDL.Principal)
26
- });
27
- const AnalyticKey = IDL.Record({
28
- key: IDL.Text,
29
- collected_at: IDL.Nat64
30
- });
31
- const PageViewDevice = IDL.Record({
32
- inner_height: IDL.Nat16,
33
- inner_width: IDL.Nat16
34
- });
35
- const PageView = IDL.Record({
36
- title: IDL.Text,
37
- updated_at: IDL.Nat64,
38
- referrer: IDL.Opt(IDL.Text),
39
- time_zone: IDL.Text,
40
- session_id: IDL.Text,
41
- href: IDL.Text,
42
- created_at: IDL.Nat64,
43
- satellite_id: IDL.Principal,
44
- device: PageViewDevice,
45
- version: IDL.Opt(IDL.Nat64),
46
- user_agent: IDL.Opt(IDL.Text)
47
- });
48
- const AnalyticsBrowsersPageViews = IDL.Record({
49
- safari: IDL.Float64,
50
- opera: IDL.Float64,
51
- others: IDL.Float64,
52
- firefox: IDL.Float64,
53
- chrome: IDL.Float64
54
- });
55
- const AnalyticsDevicesPageViews = IDL.Record({
56
- desktop: IDL.Float64,
57
- others: IDL.Float64,
58
- mobile: IDL.Float64
59
- });
60
- const AnalyticsClientsPageViews = IDL.Record({
61
- browsers: AnalyticsBrowsersPageViews,
62
- devices: AnalyticsDevicesPageViews
63
- });
64
- const CalendarDate = IDL.Record({
65
- day: IDL.Nat8,
66
- month: IDL.Nat8,
67
- year: IDL.Int32
68
- });
69
- const AnalyticsMetricsPageViews = IDL.Record({
70
- bounce_rate: IDL.Float64,
71
- average_page_views_per_session: IDL.Float64,
72
- daily_total_page_views: IDL.Vec(IDL.Tuple(CalendarDate, IDL.Nat32)),
73
- total_page_views: IDL.Nat32,
74
- unique_page_views: IDL.Nat64,
75
- unique_sessions: IDL.Nat64
76
- });
77
- const AnalyticsTop10PageViews = IDL.Record({
78
- referrers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32)),
79
- pages: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
80
- });
81
- const TrackEvent = IDL.Record({
82
- updated_at: IDL.Nat64,
83
- session_id: IDL.Text,
84
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
85
- name: IDL.Text,
86
- created_at: IDL.Nat64,
87
- satellite_id: IDL.Principal,
88
- version: IDL.Opt(IDL.Nat64)
89
- });
90
- const AnalyticsTrackEvents = IDL.Record({
91
- total: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Nat32))
92
- });
93
- const OrbiterSatelliteConfig = IDL.Record({
94
- updated_at: IDL.Nat64,
95
- created_at: IDL.Nat64,
96
- version: IDL.Opt(IDL.Nat64),
97
- enabled: IDL.Bool
98
- });
99
- const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
100
- const SetController = IDL.Record({
101
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
102
- scope: ControllerScope,
103
- expires_at: IDL.Opt(IDL.Nat64)
104
- });
105
- const SetControllersArgs = IDL.Record({
106
- controller: SetController,
107
- controllers: IDL.Vec(IDL.Principal)
108
- });
109
- const SetPageView = IDL.Record({
110
- title: IDL.Text,
111
- updated_at: IDL.Opt(IDL.Nat64),
112
- referrer: IDL.Opt(IDL.Text),
113
- time_zone: IDL.Text,
114
- session_id: IDL.Text,
115
- href: IDL.Text,
116
- satellite_id: IDL.Principal,
117
- device: PageViewDevice,
118
- version: IDL.Opt(IDL.Nat64),
119
- user_agent: IDL.Opt(IDL.Text)
120
- });
121
- const Result = IDL.Variant({Ok: PageView, Err: IDL.Text});
122
- const Result_1 = IDL.Variant({
123
- Ok: IDL.Null,
124
- Err: IDL.Vec(IDL.Tuple(AnalyticKey, IDL.Text))
125
- });
126
- const SetSatelliteConfig = IDL.Record({
127
- version: IDL.Opt(IDL.Nat64),
128
- enabled: IDL.Bool
129
- });
130
- const SetTrackEvent = IDL.Record({
131
- updated_at: IDL.Opt(IDL.Nat64),
132
- session_id: IDL.Text,
133
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
134
- name: IDL.Text,
135
- satellite_id: IDL.Principal,
136
- version: IDL.Opt(IDL.Nat64),
137
- user_agent: IDL.Opt(IDL.Text)
138
- });
139
- const Result_2 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
140
- return IDL.Service({
141
- del_controllers: IDL.Func(
142
- [DeleteControllersArgs],
143
- [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
144
- []
145
- ),
146
- del_satellite_config: IDL.Func([IDL.Principal, DelSatelliteConfig], [], []),
147
- deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
148
- get_page_views: IDL.Func(
149
- [GetAnalytics],
150
- [IDL.Vec(IDL.Tuple(AnalyticKey, PageView))],
151
- ['query']
152
- ),
153
- get_page_views_analytics_clients: IDL.Func(
154
- [GetAnalytics],
155
- [AnalyticsClientsPageViews],
156
- ['query']
157
- ),
158
- get_page_views_analytics_metrics: IDL.Func(
159
- [GetAnalytics],
160
- [AnalyticsMetricsPageViews],
161
- ['query']
162
- ),
163
- get_page_views_analytics_top_10: IDL.Func([GetAnalytics], [AnalyticsTop10PageViews], ['query']),
164
- get_track_events: IDL.Func(
165
- [GetAnalytics],
166
- [IDL.Vec(IDL.Tuple(AnalyticKey, TrackEvent))],
167
- ['query']
168
- ),
169
- get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
170
- list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
171
- list_satellite_configs: IDL.Func(
172
- [],
173
- [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
174
- ['query']
175
- ),
176
- memory_size: IDL.Func([], [MemorySize], ['query']),
177
- set_controllers: IDL.Func(
178
- [SetControllersArgs],
179
- [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
180
- []
181
- ),
182
- set_page_view: IDL.Func([AnalyticKey, SetPageView], [Result], []),
183
- set_page_views: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetPageView))], [Result_1], []),
184
- set_satellite_configs: IDL.Func(
185
- [IDL.Vec(IDL.Tuple(IDL.Principal, SetSatelliteConfig))],
186
- [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
187
- []
188
- ),
189
- set_track_event: IDL.Func([AnalyticKey, SetTrackEvent], [Result_2], []),
190
- set_track_events: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetTrackEvent))], [Result_1], []),
191
- version: IDL.Func([], [IDL.Text], ['query'])
192
- });
193
- };
194
- // @ts-ignore
195
- export const init = ({IDL}) => {
196
- return [];
197
- };