@junobuild/ic-client 3.1.2 → 3.1.3

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 (40) hide show
  1. package/actor.js +1 -1
  2. package/actor.js.map +3 -3
  3. package/actor.mjs +1 -1
  4. package/actor.mjs.map +3 -3
  5. package/declarations/console/console.did.d.ts +228 -218
  6. package/declarations/console/console.factory.certified.did.js +14 -1
  7. package/declarations/console/console.factory.did.js +14 -1
  8. package/declarations/console/console.factory.did.mjs +14 -1
  9. package/declarations/deprecated/console-0-0-14.did.d.ts +186 -186
  10. package/declarations/deprecated/console-0-0-8-patch1.did.d.ts +49 -49
  11. package/declarations/deprecated/mission_control-0-0-13.did.d.ts +173 -173
  12. package/declarations/deprecated/mission_control-0-0-14.did.d.ts +167 -167
  13. package/declarations/deprecated/mission_control-0-0-4.did.d.ts +57 -57
  14. package/declarations/deprecated/observatory-0-0-9.did.d.ts +42 -42
  15. package/declarations/deprecated/orbiter-0-0-6.did.d.ts +111 -111
  16. package/declarations/deprecated/orbiter-0-0-7.did.d.ts +116 -116
  17. package/declarations/deprecated/orbiter-0-0-8.did.d.ts +177 -177
  18. package/declarations/deprecated/orbiter-0-2-0.did.d.ts +203 -203
  19. package/declarations/deprecated/satellite-0-0-16.did.d.ts +174 -170
  20. package/declarations/deprecated/satellite-0-0-17.did.d.ts +185 -181
  21. package/declarations/deprecated/satellite-0-0-21.did.d.ts +216 -212
  22. package/declarations/deprecated/satellite-0-0-22.did.d.ts +211 -207
  23. package/declarations/deprecated/satellite-0-0-8.did.d.ts +125 -121
  24. package/declarations/deprecated/satellite-0-0-9.did.d.ts +139 -135
  25. package/declarations/mission_control/mission_control.did.d.ts +178 -169
  26. package/declarations/mission_control/mission_control.factory.certified.did.js +16 -4
  27. package/declarations/mission_control/mission_control.factory.did.js +16 -4
  28. package/declarations/observatory/observatory.did.d.ts +54 -54
  29. package/declarations/orbiter/orbiter.did.d.ts +206 -206
  30. package/declarations/orbiter/orbiter.factory.certified.did.js +7 -3
  31. package/declarations/orbiter/orbiter.factory.did.js +7 -3
  32. package/declarations/orbiter/orbiter.factory.did.mjs +7 -3
  33. package/declarations/satellite/satellite.did.d.ts +294 -285
  34. package/declarations/satellite/satellite.factory.certified.did.js +1 -0
  35. package/declarations/satellite/satellite.factory.did.js +1 -0
  36. package/declarations/satellite/satellite.factory.did.mjs +1 -0
  37. package/declarations/sputnik/sputnik.did.d.ts +294 -285
  38. package/declarations/sputnik/sputnik.factory.certified.did.js +1 -0
  39. package/declarations/sputnik/sputnik.factory.did.js +1 -0
  40. package/package.json +1 -1
@@ -1,166 +1,166 @@
1
- import type {ActorMethod} from '@dfinity/agent';
2
- import type {IDL} from '@dfinity/candid';
3
- import type {Principal} from '@dfinity/principal';
1
+ import type { ActorMethod } from '@dfinity/agent';
2
+ import type { IDL } from '@dfinity/candid';
3
+ import type { Principal } from '@dfinity/principal';
4
4
 
5
5
  export interface AnalyticKey {
6
- key: string;
7
- collected_at: bigint;
6
+ key: string;
7
+ collected_at: bigint;
8
8
  }
9
9
  export interface AnalyticsBrowsersPageViews {
10
- safari: number;
11
- opera: number;
12
- others: number;
13
- firefox: number;
14
- chrome: number;
10
+ safari: number;
11
+ opera: number;
12
+ others: number;
13
+ firefox: number;
14
+ chrome: number;
15
15
  }
16
16
  export interface AnalyticsClientsPageViews {
17
- browsers: AnalyticsBrowsersPageViews;
18
- devices: AnalyticsDevicesPageViews;
17
+ browsers: AnalyticsBrowsersPageViews;
18
+ devices: AnalyticsDevicesPageViews;
19
19
  }
20
20
  export interface AnalyticsDevicesPageViews {
21
- desktop: number;
22
- others: number;
23
- mobile: number;
21
+ desktop: number;
22
+ others: number;
23
+ mobile: number;
24
24
  }
25
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;
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
32
  }
33
33
  export interface AnalyticsTop10PageViews {
34
- referrers: Array<[string, number]>;
35
- pages: Array<[string, number]>;
34
+ referrers: Array<[string, number]>;
35
+ pages: Array<[string, number]>;
36
36
  }
37
37
  export interface AnalyticsTrackEvents {
38
- total: Array<[string, number]>;
38
+ total: Array<[string, number]>;
39
39
  }
40
40
  export interface CalendarDate {
41
- day: number;
42
- month: number;
43
- year: number;
41
+ day: number;
42
+ month: number;
43
+ year: number;
44
44
  }
45
45
  export interface Controller {
46
- updated_at: bigint;
47
- metadata: Array<[string, string]>;
48
- created_at: bigint;
49
- scope: ControllerScope;
50
- expires_at: [] | [bigint];
46
+ updated_at: bigint;
47
+ metadata: Array<[string, string]>;
48
+ created_at: bigint;
49
+ scope: ControllerScope;
50
+ expires_at: [] | [bigint];
51
51
  }
52
- export type ControllerScope = {Write: null} | {Admin: null};
52
+ export type ControllerScope = { Write: null } | { Admin: null };
53
53
  export interface DelSatelliteConfig {
54
- version: [] | [bigint];
54
+ version: [] | [bigint];
55
55
  }
56
56
  export interface DeleteControllersArgs {
57
- controllers: Array<Principal>;
57
+ controllers: Array<Principal>;
58
58
  }
59
59
  export interface DepositCyclesArgs {
60
- cycles: bigint;
61
- destination_id: Principal;
60
+ cycles: bigint;
61
+ destination_id: Principal;
62
62
  }
63
63
  export interface GetAnalytics {
64
- to: [] | [bigint];
65
- from: [] | [bigint];
66
- satellite_id: [] | [Principal];
64
+ to: [] | [bigint];
65
+ from: [] | [bigint];
66
+ satellite_id: [] | [Principal];
67
67
  }
68
68
  export interface MemorySize {
69
- stable: bigint;
70
- heap: bigint;
69
+ stable: bigint;
70
+ heap: bigint;
71
71
  }
72
72
  export interface OrbiterSatelliteConfig {
73
- updated_at: bigint;
74
- created_at: bigint;
75
- version: [] | [bigint];
76
- enabled: boolean;
73
+ updated_at: bigint;
74
+ created_at: bigint;
75
+ version: [] | [bigint];
76
+ enabled: boolean;
77
77
  }
78
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];
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
90
  }
91
91
  export interface PageViewDevice {
92
- inner_height: number;
93
- inner_width: number;
92
+ inner_height: number;
93
+ inner_width: number;
94
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};
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
98
  export interface SetController {
99
- metadata: Array<[string, string]>;
100
- scope: ControllerScope;
101
- expires_at: [] | [bigint];
99
+ metadata: Array<[string, string]>;
100
+ scope: ControllerScope;
101
+ expires_at: [] | [bigint];
102
102
  }
103
103
  export interface SetControllersArgs {
104
- controller: SetController;
105
- controllers: Array<Principal>;
104
+ controller: SetController;
105
+ controllers: Array<Principal>;
106
106
  }
107
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];
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
118
  }
119
119
  export interface SetSatelliteConfig {
120
- version: [] | [bigint];
121
- enabled: boolean;
120
+ version: [] | [bigint];
121
+ enabled: boolean;
122
122
  }
123
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];
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
131
  }
132
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];
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
140
  }
141
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>;
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
164
  }
165
165
  export declare const idlFactory: IDL.InterfaceFactory;
166
- export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
166
+ export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];