@junobuild/ic-client 8.0.1 → 8.0.2-next-2026-03-20.1
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/actor.js +1 -1
- package/actor.js.map +3 -3
- package/actor.mjs +1 -1
- package/actor.mjs.map +3 -3
- package/declarations/console/console.did.d.ts +18 -18
- package/declarations/console/console.factory.certified.did.js +10 -10
- package/declarations/console/console.factory.did.js +10 -10
- package/declarations/console/console.factory.did.mjs +10 -10
- package/declarations/mission_control/mission_control.did.d.ts +17 -17
- package/declarations/mission_control/mission_control.factory.certified.did.js +12 -12
- package/declarations/mission_control/mission_control.factory.did.js +12 -12
- package/declarations/observatory/observatory.did.d.ts +10 -10
- package/declarations/observatory/observatory.factory.certified.did.js +10 -10
- package/declarations/observatory/observatory.factory.did.js +10 -10
- package/declarations/observatory/observatory.factory.did.mjs +10 -10
- package/declarations/orbiter/orbiter.did.d.ts +17 -17
- package/declarations/orbiter/orbiter.factory.certified.did.js +12 -12
- package/declarations/orbiter/orbiter.factory.did.js +12 -12
- package/declarations/orbiter/orbiter.factory.did.mjs +12 -12
- package/declarations/satellite/satellite.did.d.ts +20 -20
- package/declarations/satellite/satellite.factory.certified.did.js +12 -12
- package/declarations/satellite/satellite.factory.did.js +12 -12
- package/declarations/satellite/satellite.factory.did.mjs +12 -12
- package/declarations/sputnik/sputnik.did.d.ts +20 -20
- package/declarations/sputnik/sputnik.factory.certified.did.js +12 -12
- package/declarations/sputnik/sputnik.factory.did.js +12 -12
- package/package.json +5 -5
|
@@ -10,6 +10,16 @@ import type { ActorMethod } from '@icp-sdk/core/agent';
|
|
|
10
10
|
import type { IDL } from '@icp-sdk/core/candid';
|
|
11
11
|
import type { Principal } from '@icp-sdk/core/principal';
|
|
12
12
|
|
|
13
|
+
export interface AccessKey {
|
|
14
|
+
updated_at: bigint;
|
|
15
|
+
metadata: Array<[string, string]>;
|
|
16
|
+
kind: [] | [AccessKeyKind];
|
|
17
|
+
created_at: bigint;
|
|
18
|
+
scope: AccessKeyScope;
|
|
19
|
+
expires_at: [] | [bigint];
|
|
20
|
+
}
|
|
21
|
+
export type AccessKeyKind = { Emulator: null } | { Automation: null };
|
|
22
|
+
export type AccessKeyScope = { Write: null } | { Admin: null } | { Submit: null };
|
|
13
23
|
export interface AnalyticKey {
|
|
14
24
|
key: string;
|
|
15
25
|
collected_at: bigint;
|
|
@@ -75,16 +85,6 @@ export interface CalendarDate {
|
|
|
75
85
|
month: number;
|
|
76
86
|
year: number;
|
|
77
87
|
}
|
|
78
|
-
export interface Controller {
|
|
79
|
-
updated_at: bigint;
|
|
80
|
-
metadata: Array<[string, string]>;
|
|
81
|
-
kind: [] | [ControllerKind];
|
|
82
|
-
created_at: bigint;
|
|
83
|
-
scope: ControllerScope;
|
|
84
|
-
expires_at: [] | [bigint];
|
|
85
|
-
}
|
|
86
|
-
export type ControllerKind = { Emulator: null } | { Automation: null };
|
|
87
|
-
export type ControllerScope = { Write: null } | { Admin: null } | { Submit: null };
|
|
88
88
|
export interface DelSatelliteConfig {
|
|
89
89
|
version: [] | [bigint];
|
|
90
90
|
}
|
|
@@ -193,14 +193,14 @@ export type Result = { Ok: PageView } | { Err: string };
|
|
|
193
193
|
export type Result_1 = { Ok: null } | { Err: Array<[AnalyticKey, string]> };
|
|
194
194
|
export type Result_2 = { Ok: PerformanceMetric } | { Err: string };
|
|
195
195
|
export type Result_3 = { Ok: TrackEvent } | { Err: string };
|
|
196
|
-
export interface
|
|
196
|
+
export interface SetAccessKey {
|
|
197
197
|
metadata: Array<[string, string]>;
|
|
198
|
-
kind: [] | [
|
|
199
|
-
scope:
|
|
198
|
+
kind: [] | [AccessKeyKind];
|
|
199
|
+
scope: AccessKeyScope;
|
|
200
200
|
expires_at: [] | [bigint];
|
|
201
201
|
}
|
|
202
202
|
export interface SetControllersArgs {
|
|
203
|
-
controller:
|
|
203
|
+
controller: SetAccessKey;
|
|
204
204
|
controllers: Array<Principal>;
|
|
205
205
|
}
|
|
206
206
|
export interface SetPageView {
|
|
@@ -256,7 +256,7 @@ export interface WebVitalsMetric {
|
|
|
256
256
|
delta: number;
|
|
257
257
|
}
|
|
258
258
|
export interface _SERVICE {
|
|
259
|
-
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal,
|
|
259
|
+
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, AccessKey]>>;
|
|
260
260
|
del_satellite_config: ActorMethod<[Principal, DelSatelliteConfig], undefined>;
|
|
261
261
|
deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
|
|
262
262
|
get_page_views: ActorMethod<[GetAnalytics], Array<[AnalyticKey, PageView]>>;
|
|
@@ -272,10 +272,10 @@ export interface _SERVICE {
|
|
|
272
272
|
get_track_events_analytics: ActorMethod<[GetAnalytics], AnalyticsTrackEvents>;
|
|
273
273
|
http_request: ActorMethod<[HttpRequest], HttpResponse>;
|
|
274
274
|
http_request_update: ActorMethod<[HttpRequest], HttpResponse>;
|
|
275
|
-
list_controllers: ActorMethod<[], Array<[Principal,
|
|
275
|
+
list_controllers: ActorMethod<[], Array<[Principal, AccessKey]>>;
|
|
276
276
|
list_satellite_configs: ActorMethod<[], Array<[Principal, OrbiterSatelliteConfig]>>;
|
|
277
277
|
memory_size: ActorMethod<[], MemorySize>;
|
|
278
|
-
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal,
|
|
278
|
+
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, AccessKey]>>;
|
|
279
279
|
set_page_view: ActorMethod<[AnalyticKey, SetPageView], Result>;
|
|
280
280
|
set_page_views: ActorMethod<[Array<[AnalyticKey, SetPageView]>], Result_1>;
|
|
281
281
|
set_performance_metric: ActorMethod<[AnalyticKey, SetPerformanceMetric], Result_2>;
|
|
@@ -13,21 +13,21 @@ export const idlFactory = ({IDL}) => {
|
|
|
13
13
|
const DeleteControllersArgs = IDL.Record({
|
|
14
14
|
controllers: IDL.Vec(IDL.Principal)
|
|
15
15
|
});
|
|
16
|
-
const
|
|
16
|
+
const AccessKeyKind = IDL.Variant({
|
|
17
17
|
Emulator: IDL.Null,
|
|
18
18
|
Automation: IDL.Null
|
|
19
19
|
});
|
|
20
|
-
const
|
|
20
|
+
const AccessKeyScope = IDL.Variant({
|
|
21
21
|
Write: IDL.Null,
|
|
22
22
|
Admin: IDL.Null,
|
|
23
23
|
Submit: IDL.Null
|
|
24
24
|
});
|
|
25
|
-
const
|
|
25
|
+
const AccessKey = IDL.Record({
|
|
26
26
|
updated_at: IDL.Nat64,
|
|
27
27
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
28
|
-
kind: IDL.Opt(
|
|
28
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
29
29
|
created_at: IDL.Nat64,
|
|
30
|
-
scope:
|
|
30
|
+
scope: AccessKeyScope,
|
|
31
31
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
32
32
|
});
|
|
33
33
|
const DelSatelliteConfig = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
@@ -205,14 +205,14 @@ export const idlFactory = ({IDL}) => {
|
|
|
205
205
|
version: IDL.Opt(IDL.Nat64)
|
|
206
206
|
});
|
|
207
207
|
const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
|
|
208
|
-
const
|
|
208
|
+
const SetAccessKey = IDL.Record({
|
|
209
209
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
210
|
-
kind: IDL.Opt(
|
|
211
|
-
scope:
|
|
210
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
211
|
+
scope: AccessKeyScope,
|
|
212
212
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
213
213
|
});
|
|
214
214
|
const SetControllersArgs = IDL.Record({
|
|
215
|
-
controller:
|
|
215
|
+
controller: SetAccessKey,
|
|
216
216
|
controllers: IDL.Vec(IDL.Principal)
|
|
217
217
|
});
|
|
218
218
|
const SetPageView = IDL.Record({
|
|
@@ -263,7 +263,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
263
263
|
return IDL.Service({
|
|
264
264
|
del_controllers: IDL.Func(
|
|
265
265
|
[DeleteControllersArgs],
|
|
266
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
266
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
267
267
|
[]
|
|
268
268
|
),
|
|
269
269
|
del_satellite_config: IDL.Func([IDL.Principal, DelSatelliteConfig], [], []),
|
|
@@ -286,7 +286,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
286
286
|
get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], []),
|
|
287
287
|
http_request: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
288
288
|
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
289
|
-
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
289
|
+
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))], []),
|
|
290
290
|
list_satellite_configs: IDL.Func(
|
|
291
291
|
[],
|
|
292
292
|
[IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
|
|
@@ -295,7 +295,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
295
295
|
memory_size: IDL.Func([], [MemorySize], []),
|
|
296
296
|
set_controllers: IDL.Func(
|
|
297
297
|
[SetControllersArgs],
|
|
298
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
298
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
299
299
|
[]
|
|
300
300
|
),
|
|
301
301
|
set_page_view: IDL.Func([AnalyticKey, SetPageView], [Result], []),
|
|
@@ -13,21 +13,21 @@ export const idlFactory = ({IDL}) => {
|
|
|
13
13
|
const DeleteControllersArgs = IDL.Record({
|
|
14
14
|
controllers: IDL.Vec(IDL.Principal)
|
|
15
15
|
});
|
|
16
|
-
const
|
|
16
|
+
const AccessKeyKind = IDL.Variant({
|
|
17
17
|
Emulator: IDL.Null,
|
|
18
18
|
Automation: IDL.Null
|
|
19
19
|
});
|
|
20
|
-
const
|
|
20
|
+
const AccessKeyScope = IDL.Variant({
|
|
21
21
|
Write: IDL.Null,
|
|
22
22
|
Admin: IDL.Null,
|
|
23
23
|
Submit: IDL.Null
|
|
24
24
|
});
|
|
25
|
-
const
|
|
25
|
+
const AccessKey = IDL.Record({
|
|
26
26
|
updated_at: IDL.Nat64,
|
|
27
27
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
28
|
-
kind: IDL.Opt(
|
|
28
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
29
29
|
created_at: IDL.Nat64,
|
|
30
|
-
scope:
|
|
30
|
+
scope: AccessKeyScope,
|
|
31
31
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
32
32
|
});
|
|
33
33
|
const DelSatelliteConfig = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
@@ -205,14 +205,14 @@ export const idlFactory = ({IDL}) => {
|
|
|
205
205
|
version: IDL.Opt(IDL.Nat64)
|
|
206
206
|
});
|
|
207
207
|
const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
|
|
208
|
-
const
|
|
208
|
+
const SetAccessKey = IDL.Record({
|
|
209
209
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
210
|
-
kind: IDL.Opt(
|
|
211
|
-
scope:
|
|
210
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
211
|
+
scope: AccessKeyScope,
|
|
212
212
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
213
213
|
});
|
|
214
214
|
const SetControllersArgs = IDL.Record({
|
|
215
|
-
controller:
|
|
215
|
+
controller: SetAccessKey,
|
|
216
216
|
controllers: IDL.Vec(IDL.Principal)
|
|
217
217
|
});
|
|
218
218
|
const SetPageView = IDL.Record({
|
|
@@ -263,7 +263,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
263
263
|
return IDL.Service({
|
|
264
264
|
del_controllers: IDL.Func(
|
|
265
265
|
[DeleteControllersArgs],
|
|
266
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
266
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
267
267
|
[]
|
|
268
268
|
),
|
|
269
269
|
del_satellite_config: IDL.Func([IDL.Principal, DelSatelliteConfig], [], []),
|
|
@@ -302,7 +302,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
302
302
|
get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
|
|
303
303
|
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
304
304
|
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
305
|
-
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
305
|
+
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))], ['query']),
|
|
306
306
|
list_satellite_configs: IDL.Func(
|
|
307
307
|
[],
|
|
308
308
|
[IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
|
|
@@ -311,7 +311,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
311
311
|
memory_size: IDL.Func([], [MemorySize], ['query']),
|
|
312
312
|
set_controllers: IDL.Func(
|
|
313
313
|
[SetControllersArgs],
|
|
314
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
314
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
315
315
|
[]
|
|
316
316
|
),
|
|
317
317
|
set_page_view: IDL.Func([AnalyticKey, SetPageView], [Result], []),
|
|
@@ -13,21 +13,21 @@ export const idlFactory = ({IDL}) => {
|
|
|
13
13
|
const DeleteControllersArgs = IDL.Record({
|
|
14
14
|
controllers: IDL.Vec(IDL.Principal)
|
|
15
15
|
});
|
|
16
|
-
const
|
|
16
|
+
const AccessKeyKind = IDL.Variant({
|
|
17
17
|
Emulator: IDL.Null,
|
|
18
18
|
Automation: IDL.Null
|
|
19
19
|
});
|
|
20
|
-
const
|
|
20
|
+
const AccessKeyScope = IDL.Variant({
|
|
21
21
|
Write: IDL.Null,
|
|
22
22
|
Admin: IDL.Null,
|
|
23
23
|
Submit: IDL.Null
|
|
24
24
|
});
|
|
25
|
-
const
|
|
25
|
+
const AccessKey = IDL.Record({
|
|
26
26
|
updated_at: IDL.Nat64,
|
|
27
27
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
28
|
-
kind: IDL.Opt(
|
|
28
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
29
29
|
created_at: IDL.Nat64,
|
|
30
|
-
scope:
|
|
30
|
+
scope: AccessKeyScope,
|
|
31
31
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
32
32
|
});
|
|
33
33
|
const DelSatelliteConfig = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
@@ -205,14 +205,14 @@ export const idlFactory = ({IDL}) => {
|
|
|
205
205
|
version: IDL.Opt(IDL.Nat64)
|
|
206
206
|
});
|
|
207
207
|
const MemorySize = IDL.Record({stable: IDL.Nat64, heap: IDL.Nat64});
|
|
208
|
-
const
|
|
208
|
+
const SetAccessKey = IDL.Record({
|
|
209
209
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
210
|
-
kind: IDL.Opt(
|
|
211
|
-
scope:
|
|
210
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
211
|
+
scope: AccessKeyScope,
|
|
212
212
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
213
213
|
});
|
|
214
214
|
const SetControllersArgs = IDL.Record({
|
|
215
|
-
controller:
|
|
215
|
+
controller: SetAccessKey,
|
|
216
216
|
controllers: IDL.Vec(IDL.Principal)
|
|
217
217
|
});
|
|
218
218
|
const SetPageView = IDL.Record({
|
|
@@ -263,7 +263,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
263
263
|
return IDL.Service({
|
|
264
264
|
del_controllers: IDL.Func(
|
|
265
265
|
[DeleteControllersArgs],
|
|
266
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
266
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
267
267
|
[]
|
|
268
268
|
),
|
|
269
269
|
del_satellite_config: IDL.Func([IDL.Principal, DelSatelliteConfig], [], []),
|
|
@@ -302,7 +302,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
302
302
|
get_track_events_analytics: IDL.Func([GetAnalytics], [AnalyticsTrackEvents], ['query']),
|
|
303
303
|
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
304
304
|
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
305
|
-
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
305
|
+
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))], ['query']),
|
|
306
306
|
list_satellite_configs: IDL.Func(
|
|
307
307
|
[],
|
|
308
308
|
[IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
|
|
@@ -311,7 +311,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
311
311
|
memory_size: IDL.Func([], [MemorySize], ['query']),
|
|
312
312
|
set_controllers: IDL.Func(
|
|
313
313
|
[SetControllersArgs],
|
|
314
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
314
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
315
315
|
[]
|
|
316
316
|
),
|
|
317
317
|
set_page_view: IDL.Func([AnalyticKey, SetPageView], [Result], []),
|
|
@@ -10,6 +10,16 @@ import type { ActorMethod } from '@icp-sdk/core/agent';
|
|
|
10
10
|
import type { IDL } from '@icp-sdk/core/candid';
|
|
11
11
|
import type { Principal } from '@icp-sdk/core/principal';
|
|
12
12
|
|
|
13
|
+
export interface AccessKey {
|
|
14
|
+
updated_at: bigint;
|
|
15
|
+
metadata: Array<[string, string]>;
|
|
16
|
+
kind: [] | [AccessKeyKind];
|
|
17
|
+
created_at: bigint;
|
|
18
|
+
scope: AccessKeyScope;
|
|
19
|
+
expires_at: [] | [bigint];
|
|
20
|
+
}
|
|
21
|
+
export type AccessKeyKind = { Emulator: null } | { Automation: null };
|
|
22
|
+
export type AccessKeyScope = { Write: null } | { Admin: null } | { Submit: null };
|
|
13
23
|
export interface AssetEncodingNoContent {
|
|
14
24
|
modified: bigint;
|
|
15
25
|
sha256: Uint8Array;
|
|
@@ -114,16 +124,6 @@ export interface ConfigMaxMemorySize {
|
|
|
114
124
|
stable: [] | [bigint];
|
|
115
125
|
heap: [] | [bigint];
|
|
116
126
|
}
|
|
117
|
-
export interface Controller {
|
|
118
|
-
updated_at: bigint;
|
|
119
|
-
metadata: Array<[string, string]>;
|
|
120
|
-
kind: [] | [ControllerKind];
|
|
121
|
-
created_at: bigint;
|
|
122
|
-
scope: ControllerScope;
|
|
123
|
-
expires_at: [] | [bigint];
|
|
124
|
-
}
|
|
125
|
-
export type ControllerKind = { Emulator: null } | { Automation: null };
|
|
126
|
-
export type ControllerScope = { Write: null } | { Admin: null } | { Submit: null };
|
|
127
127
|
export interface CustomDomain {
|
|
128
128
|
updated_at: bigint;
|
|
129
129
|
created_at: bigint;
|
|
@@ -407,6 +407,12 @@ export interface SegmentsDeploymentOptions {
|
|
|
407
407
|
mission_control_version: [] | [string];
|
|
408
408
|
satellite_version: [] | [string];
|
|
409
409
|
}
|
|
410
|
+
export interface SetAccessKey {
|
|
411
|
+
metadata: Array<[string, string]>;
|
|
412
|
+
kind: [] | [AccessKeyKind];
|
|
413
|
+
scope: AccessKeyScope;
|
|
414
|
+
expires_at: [] | [bigint];
|
|
415
|
+
}
|
|
410
416
|
export interface SetAuthenticationConfig {
|
|
411
417
|
openid: [] | [AuthenticationConfigOpenId];
|
|
412
418
|
version: [] | [bigint];
|
|
@@ -417,14 +423,8 @@ export interface SetAutomationConfig {
|
|
|
417
423
|
openid: [] | [AutomationConfigOpenId];
|
|
418
424
|
version: [] | [bigint];
|
|
419
425
|
}
|
|
420
|
-
export interface SetController {
|
|
421
|
-
metadata: Array<[string, string]>;
|
|
422
|
-
kind: [] | [ControllerKind];
|
|
423
|
-
scope: ControllerScope;
|
|
424
|
-
expires_at: [] | [bigint];
|
|
425
|
-
}
|
|
426
426
|
export interface SetControllersArgs {
|
|
427
|
-
controller:
|
|
427
|
+
controller: SetAccessKey;
|
|
428
428
|
controllers: Array<Principal>;
|
|
429
429
|
}
|
|
430
430
|
export interface SetDbConfig {
|
|
@@ -527,7 +527,7 @@ export interface _SERVICE {
|
|
|
527
527
|
del_asset: ActorMethod<[string, string], undefined>;
|
|
528
528
|
del_assets: ActorMethod<[string], undefined>;
|
|
529
529
|
del_controller_self: ActorMethod<[], undefined>;
|
|
530
|
-
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal,
|
|
530
|
+
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, AccessKey]>>;
|
|
531
531
|
del_custom_domain: ActorMethod<[string], undefined>;
|
|
532
532
|
del_doc: ActorMethod<[string, string, DelDoc], undefined>;
|
|
533
533
|
del_docs: ActorMethod<[string], undefined>;
|
|
@@ -563,7 +563,7 @@ export interface _SERVICE {
|
|
|
563
563
|
Array<[string, InitUploadResult]>
|
|
564
564
|
>;
|
|
565
565
|
list_assets: ActorMethod<[string, ListParams], ListResults>;
|
|
566
|
-
list_controllers: ActorMethod<[], Array<[Principal,
|
|
566
|
+
list_controllers: ActorMethod<[], Array<[Principal, AccessKey]>>;
|
|
567
567
|
list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
|
|
568
568
|
list_docs: ActorMethod<[string, ListParams], ListResults_1>;
|
|
569
569
|
list_proposals: ActorMethod<[ListProposalsParams], ListProposalResults>;
|
|
@@ -573,7 +573,7 @@ export interface _SERVICE {
|
|
|
573
573
|
set_asset_token: ActorMethod<[string, string, [] | [string]], undefined>;
|
|
574
574
|
set_auth_config: ActorMethod<[SetAuthenticationConfig], AuthenticationConfig>;
|
|
575
575
|
set_automation_config: ActorMethod<[SetAutomationConfig], AutomationConfig>;
|
|
576
|
-
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal,
|
|
576
|
+
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, AccessKey]>>;
|
|
577
577
|
set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
|
|
578
578
|
set_db_config: ActorMethod<[SetDbConfig], DbConfig>;
|
|
579
579
|
set_doc: ActorMethod<[string, string, SetDoc], Doc>;
|
|
@@ -151,21 +151,21 @@ export const idlFactory = ({IDL}) => {
|
|
|
151
151
|
const DeleteControllersArgs = IDL.Record({
|
|
152
152
|
controllers: IDL.Vec(IDL.Principal)
|
|
153
153
|
});
|
|
154
|
-
const
|
|
154
|
+
const AccessKeyKind = IDL.Variant({
|
|
155
155
|
Emulator: IDL.Null,
|
|
156
156
|
Automation: IDL.Null
|
|
157
157
|
});
|
|
158
|
-
const
|
|
158
|
+
const AccessKeyScope = IDL.Variant({
|
|
159
159
|
Write: IDL.Null,
|
|
160
160
|
Admin: IDL.Null,
|
|
161
161
|
Submit: IDL.Null
|
|
162
162
|
});
|
|
163
|
-
const
|
|
163
|
+
const AccessKey = IDL.Record({
|
|
164
164
|
updated_at: IDL.Nat64,
|
|
165
165
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
166
|
-
kind: IDL.Opt(
|
|
166
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
167
167
|
created_at: IDL.Nat64,
|
|
168
|
-
scope:
|
|
168
|
+
scope: AccessKeyScope,
|
|
169
169
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
170
170
|
});
|
|
171
171
|
const DelDoc = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
@@ -469,14 +469,14 @@ export const idlFactory = ({IDL}) => {
|
|
|
469
469
|
openid: IDL.Opt(AutomationConfigOpenId),
|
|
470
470
|
version: IDL.Opt(IDL.Nat64)
|
|
471
471
|
});
|
|
472
|
-
const
|
|
472
|
+
const SetAccessKey = IDL.Record({
|
|
473
473
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
474
|
-
kind: IDL.Opt(
|
|
475
|
-
scope:
|
|
474
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
475
|
+
scope: AccessKeyScope,
|
|
476
476
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
477
477
|
});
|
|
478
478
|
const SetControllersArgs = IDL.Record({
|
|
479
|
-
controller:
|
|
479
|
+
controller: SetAccessKey,
|
|
480
480
|
controllers: IDL.Vec(IDL.Principal)
|
|
481
481
|
});
|
|
482
482
|
const SetDbConfig = IDL.Record({
|
|
@@ -536,7 +536,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
536
536
|
del_controller_self: IDL.Func([], [], []),
|
|
537
537
|
del_controllers: IDL.Func(
|
|
538
538
|
[DeleteControllersArgs],
|
|
539
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
539
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
540
540
|
[]
|
|
541
541
|
),
|
|
542
542
|
del_custom_domain: IDL.Func([IDL.Text], [], []),
|
|
@@ -584,7 +584,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
584
584
|
[]
|
|
585
585
|
),
|
|
586
586
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], []),
|
|
587
|
-
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
587
|
+
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))], []),
|
|
588
588
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], []),
|
|
589
589
|
list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], []),
|
|
590
590
|
list_proposals: IDL.Func([ListProposalsParams], [ListProposalResults], []),
|
|
@@ -596,7 +596,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
596
596
|
set_automation_config: IDL.Func([SetAutomationConfig], [AutomationConfig], []),
|
|
597
597
|
set_controllers: IDL.Func(
|
|
598
598
|
[SetControllersArgs],
|
|
599
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
599
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
600
600
|
[]
|
|
601
601
|
),
|
|
602
602
|
set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
|
|
@@ -151,21 +151,21 @@ export const idlFactory = ({IDL}) => {
|
|
|
151
151
|
const DeleteControllersArgs = IDL.Record({
|
|
152
152
|
controllers: IDL.Vec(IDL.Principal)
|
|
153
153
|
});
|
|
154
|
-
const
|
|
154
|
+
const AccessKeyKind = IDL.Variant({
|
|
155
155
|
Emulator: IDL.Null,
|
|
156
156
|
Automation: IDL.Null
|
|
157
157
|
});
|
|
158
|
-
const
|
|
158
|
+
const AccessKeyScope = IDL.Variant({
|
|
159
159
|
Write: IDL.Null,
|
|
160
160
|
Admin: IDL.Null,
|
|
161
161
|
Submit: IDL.Null
|
|
162
162
|
});
|
|
163
|
-
const
|
|
163
|
+
const AccessKey = IDL.Record({
|
|
164
164
|
updated_at: IDL.Nat64,
|
|
165
165
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
166
|
-
kind: IDL.Opt(
|
|
166
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
167
167
|
created_at: IDL.Nat64,
|
|
168
|
-
scope:
|
|
168
|
+
scope: AccessKeyScope,
|
|
169
169
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
170
170
|
});
|
|
171
171
|
const DelDoc = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
@@ -469,14 +469,14 @@ export const idlFactory = ({IDL}) => {
|
|
|
469
469
|
openid: IDL.Opt(AutomationConfigOpenId),
|
|
470
470
|
version: IDL.Opt(IDL.Nat64)
|
|
471
471
|
});
|
|
472
|
-
const
|
|
472
|
+
const SetAccessKey = IDL.Record({
|
|
473
473
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
474
|
-
kind: IDL.Opt(
|
|
475
|
-
scope:
|
|
474
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
475
|
+
scope: AccessKeyScope,
|
|
476
476
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
477
477
|
});
|
|
478
478
|
const SetControllersArgs = IDL.Record({
|
|
479
|
-
controller:
|
|
479
|
+
controller: SetAccessKey,
|
|
480
480
|
controllers: IDL.Vec(IDL.Principal)
|
|
481
481
|
});
|
|
482
482
|
const SetDbConfig = IDL.Record({
|
|
@@ -536,7 +536,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
536
536
|
del_controller_self: IDL.Func([], [], []),
|
|
537
537
|
del_controllers: IDL.Func(
|
|
538
538
|
[DeleteControllersArgs],
|
|
539
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
539
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
540
540
|
[]
|
|
541
541
|
),
|
|
542
542
|
del_custom_domain: IDL.Func([IDL.Text], [], []),
|
|
@@ -584,7 +584,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
584
584
|
[]
|
|
585
585
|
),
|
|
586
586
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
|
|
587
|
-
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
587
|
+
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))], ['query']),
|
|
588
588
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
|
|
589
589
|
list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], ['query']),
|
|
590
590
|
list_proposals: IDL.Func([ListProposalsParams], [ListProposalResults], ['query']),
|
|
@@ -596,7 +596,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
596
596
|
set_automation_config: IDL.Func([SetAutomationConfig], [AutomationConfig], []),
|
|
597
597
|
set_controllers: IDL.Func(
|
|
598
598
|
[SetControllersArgs],
|
|
599
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
599
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
600
600
|
[]
|
|
601
601
|
),
|
|
602
602
|
set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
|
|
@@ -151,21 +151,21 @@ export const idlFactory = ({IDL}) => {
|
|
|
151
151
|
const DeleteControllersArgs = IDL.Record({
|
|
152
152
|
controllers: IDL.Vec(IDL.Principal)
|
|
153
153
|
});
|
|
154
|
-
const
|
|
154
|
+
const AccessKeyKind = IDL.Variant({
|
|
155
155
|
Emulator: IDL.Null,
|
|
156
156
|
Automation: IDL.Null
|
|
157
157
|
});
|
|
158
|
-
const
|
|
158
|
+
const AccessKeyScope = IDL.Variant({
|
|
159
159
|
Write: IDL.Null,
|
|
160
160
|
Admin: IDL.Null,
|
|
161
161
|
Submit: IDL.Null
|
|
162
162
|
});
|
|
163
|
-
const
|
|
163
|
+
const AccessKey = IDL.Record({
|
|
164
164
|
updated_at: IDL.Nat64,
|
|
165
165
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
166
|
-
kind: IDL.Opt(
|
|
166
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
167
167
|
created_at: IDL.Nat64,
|
|
168
|
-
scope:
|
|
168
|
+
scope: AccessKeyScope,
|
|
169
169
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
170
170
|
});
|
|
171
171
|
const DelDoc = IDL.Record({version: IDL.Opt(IDL.Nat64)});
|
|
@@ -469,14 +469,14 @@ export const idlFactory = ({IDL}) => {
|
|
|
469
469
|
openid: IDL.Opt(AutomationConfigOpenId),
|
|
470
470
|
version: IDL.Opt(IDL.Nat64)
|
|
471
471
|
});
|
|
472
|
-
const
|
|
472
|
+
const SetAccessKey = IDL.Record({
|
|
473
473
|
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
474
|
-
kind: IDL.Opt(
|
|
475
|
-
scope:
|
|
474
|
+
kind: IDL.Opt(AccessKeyKind),
|
|
475
|
+
scope: AccessKeyScope,
|
|
476
476
|
expires_at: IDL.Opt(IDL.Nat64)
|
|
477
477
|
});
|
|
478
478
|
const SetControllersArgs = IDL.Record({
|
|
479
|
-
controller:
|
|
479
|
+
controller: SetAccessKey,
|
|
480
480
|
controllers: IDL.Vec(IDL.Principal)
|
|
481
481
|
});
|
|
482
482
|
const SetDbConfig = IDL.Record({
|
|
@@ -536,7 +536,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
536
536
|
del_controller_self: IDL.Func([], [], []),
|
|
537
537
|
del_controllers: IDL.Func(
|
|
538
538
|
[DeleteControllersArgs],
|
|
539
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
539
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
540
540
|
[]
|
|
541
541
|
),
|
|
542
542
|
del_custom_domain: IDL.Func([IDL.Text], [], []),
|
|
@@ -584,7 +584,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
584
584
|
[]
|
|
585
585
|
),
|
|
586
586
|
list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
|
|
587
|
-
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
587
|
+
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))], ['query']),
|
|
588
588
|
list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
|
|
589
589
|
list_docs: IDL.Func([IDL.Text, ListParams], [ListResults_1], ['query']),
|
|
590
590
|
list_proposals: IDL.Func([ListProposalsParams], [ListProposalResults], ['query']),
|
|
@@ -596,7 +596,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
596
596
|
set_automation_config: IDL.Func([SetAutomationConfig], [AutomationConfig], []),
|
|
597
597
|
set_controllers: IDL.Func(
|
|
598
598
|
[SetControllersArgs],
|
|
599
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal,
|
|
599
|
+
[IDL.Vec(IDL.Tuple(IDL.Principal, AccessKey))],
|
|
600
600
|
[]
|
|
601
601
|
),
|
|
602
602
|
set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
|