@junobuild/admin 0.0.36 → 0.0.38-next-2023-12-08

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.
@@ -1,14 +1,6 @@
1
1
  import type {ActorMethod} from '@dfinity/agent';
2
2
  import type {Principal} from '@dfinity/principal';
3
3
 
4
- export interface CanisterStatusResponse {
5
- status: CanisterStatusType;
6
- memory_size: bigint;
7
- cycles: bigint;
8
- settings: DefiniteCanisterSettings;
9
- idle_cycles_burned_per_day: bigint;
10
- module_hash: [] | [Uint8Array | number[]];
11
- }
12
4
  export type CanisterStatusType = {stopped: null} | {stopping: null} | {running: null};
13
5
  export interface Controller {
14
6
  updated_at: bigint;
@@ -28,6 +20,10 @@ export interface DefiniteCanisterSettings {
28
20
  memory_allocation: bigint;
29
21
  compute_allocation: bigint;
30
22
  }
23
+ export interface DepositCyclesArgs {
24
+ cycles: bigint;
25
+ destination_id: Principal;
26
+ }
31
27
  export interface Orbiter {
32
28
  updated_at: bigint;
33
29
  orbiter_id: Principal;
@@ -41,9 +37,17 @@ export interface Satellite {
41
37
  created_at: bigint;
42
38
  satellite_id: Principal;
43
39
  }
40
+ export interface SegmentCanisterStatus {
41
+ status: CanisterStatusType;
42
+ memory_size: bigint;
43
+ cycles: bigint;
44
+ settings: DefiniteCanisterSettings;
45
+ idle_cycles_burned_per_day: bigint;
46
+ module_hash: [] | [Uint8Array | number[]];
47
+ }
44
48
  export interface SegmentStatus {
45
49
  id: Principal;
46
- status: CanisterStatusResponse;
50
+ status: SegmentCanisterStatus;
47
51
  metadata: [] | [Array<[string, string]>];
48
52
  status_at: bigint;
49
53
  }
@@ -72,8 +76,11 @@ export interface _SERVICE {
72
76
  create_orbiter: ActorMethod<[[] | [string]], Orbiter>;
73
77
  create_satellite: ActorMethod<[string], Satellite>;
74
78
  del_mission_control_controllers: ActorMethod<[Array<Principal>], undefined>;
79
+ del_orbiter: ActorMethod<[Principal, bigint], undefined>;
75
80
  del_orbiters_controllers: ActorMethod<[Array<Principal>, Array<Principal>], undefined>;
81
+ del_satellite: ActorMethod<[Principal, bigint], undefined>;
76
82
  del_satellites_controllers: ActorMethod<[Array<Principal>, Array<Principal>], undefined>;
83
+ deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
77
84
  get_user: ActorMethod<[], Principal>;
78
85
  list_mission_control_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
79
86
  list_mission_control_statuses: ActorMethod<[], Array<[bigint, Result]>>;
@@ -85,6 +92,7 @@ export interface _SERVICE {
85
92
  remove_satellites_controllers: ActorMethod<[Array<Principal>, Array<Principal>], undefined>;
86
93
  set_metadata: ActorMethod<[Array<[string, string]>], undefined>;
87
94
  set_mission_control_controllers: ActorMethod<[Array<Principal>, SetController], undefined>;
95
+ set_orbiter: ActorMethod<[Principal, [] | [string]], Orbiter>;
88
96
  set_orbiter_metadata: ActorMethod<[Principal, Array<[string, string]>], Orbiter>;
89
97
  set_orbiters_controllers: ActorMethod<
90
98
  [Array<Principal>, Array<Principal>, SetController],
@@ -12,6 +12,10 @@ export const idlFactory = ({IDL}) => {
12
12
  created_at: IDL.Nat64,
13
13
  satellite_id: IDL.Principal
14
14
  });
15
+ const DepositCyclesArgs = IDL.Record({
16
+ cycles: IDL.Nat,
17
+ destination_id: IDL.Principal
18
+ });
15
19
  const ControllerScope = IDL.Variant({
16
20
  Write: IDL.Null,
17
21
  Admin: IDL.Null
@@ -34,7 +38,7 @@ export const idlFactory = ({IDL}) => {
34
38
  memory_allocation: IDL.Nat,
35
39
  compute_allocation: IDL.Nat
36
40
  });
37
- const CanisterStatusResponse = IDL.Record({
41
+ const SegmentCanisterStatus = IDL.Record({
38
42
  status: CanisterStatusType,
39
43
  memory_size: IDL.Nat,
40
44
  cycles: IDL.Nat,
@@ -44,7 +48,7 @@ export const idlFactory = ({IDL}) => {
44
48
  });
45
49
  const SegmentStatus = IDL.Record({
46
50
  id: IDL.Principal,
47
- status: CanisterStatusResponse,
51
+ status: SegmentCanisterStatus,
48
52
  metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
49
53
  status_at: IDL.Nat64
50
54
  });
@@ -76,8 +80,11 @@ export const idlFactory = ({IDL}) => {
76
80
  create_orbiter: IDL.Func([IDL.Opt(IDL.Text)], [Orbiter], []),
77
81
  create_satellite: IDL.Func([IDL.Text], [Satellite], []),
78
82
  del_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal)], [], []),
83
+ del_orbiter: IDL.Func([IDL.Principal, IDL.Nat], [], []),
79
84
  del_orbiters_controllers: IDL.Func([IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal)], [], []),
85
+ del_satellite: IDL.Func([IDL.Principal, IDL.Nat], [], []),
80
86
  del_satellites_controllers: IDL.Func([IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal)], [], []),
87
+ deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
81
88
  get_user: IDL.Func([], [IDL.Principal], ['query']),
82
89
  list_mission_control_controllers: IDL.Func(
83
90
  [],
@@ -105,6 +112,7 @@ export const idlFactory = ({IDL}) => {
105
112
  ),
106
113
  set_metadata: IDL.Func([IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], [], []),
107
114
  set_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal), SetController], [], []),
115
+ set_orbiter: IDL.Func([IDL.Principal, IDL.Opt(IDL.Text)], [Orbiter], []),
108
116
  set_orbiter_metadata: IDL.Func(
109
117
  [IDL.Principal, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))],
110
118
  [Orbiter],
@@ -19,11 +19,20 @@ export interface DelSatelliteConfig {
19
19
  export interface DeleteControllersArgs {
20
20
  controllers: Array<Principal>;
21
21
  }
22
+ export interface DepositCyclesArgs {
23
+ cycles: bigint;
24
+ destination_id: Principal;
25
+ }
22
26
  export interface GetAnalytics {
23
27
  to: [] | [bigint];
24
28
  from: [] | [bigint];
25
29
  satellite_id: [] | [Principal];
26
30
  }
31
+ export interface OrbiterSatelliteConfig {
32
+ updated_at: bigint;
33
+ created_at: bigint;
34
+ enabled: boolean;
35
+ }
27
36
  export interface PageView {
28
37
  title: string;
29
38
  updated_at: bigint;
@@ -43,11 +52,6 @@ export interface PageViewDevice {
43
52
  export type Result = {Ok: PageView} | {Err: string};
44
53
  export type Result_1 = {Ok: null} | {Err: Array<[AnalyticKey, string]>};
45
54
  export type Result_2 = {Ok: TrackEvent} | {Err: string};
46
- export interface SatelliteConfig {
47
- updated_at: bigint;
48
- created_at: bigint;
49
- enabled: boolean;
50
- }
51
55
  export interface SetController {
52
56
  metadata: Array<[string, string]>;
53
57
  scope: ControllerScope;
@@ -91,16 +95,17 @@ export interface TrackEvent {
91
95
  export interface _SERVICE {
92
96
  del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
93
97
  del_satellite_config: ActorMethod<[Principal, DelSatelliteConfig], undefined>;
98
+ deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
94
99
  get_page_views: ActorMethod<[GetAnalytics], Array<[AnalyticKey, PageView]>>;
95
100
  get_track_events: ActorMethod<[GetAnalytics], Array<[AnalyticKey, TrackEvent]>>;
96
101
  list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
97
- list_satellite_configs: ActorMethod<[], Array<[Principal, SatelliteConfig]>>;
102
+ list_satellite_configs: ActorMethod<[], Array<[Principal, OrbiterSatelliteConfig]>>;
98
103
  set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
99
104
  set_page_view: ActorMethod<[AnalyticKey, SetPageView], Result>;
100
105
  set_page_views: ActorMethod<[Array<[AnalyticKey, SetPageView]>], Result_1>;
101
106
  set_satellite_configs: ActorMethod<
102
107
  [Array<[Principal, SetSatelliteConfig]>],
103
- Array<[Principal, SatelliteConfig]>
108
+ Array<[Principal, OrbiterSatelliteConfig]>
104
109
  >;
105
110
  set_track_event: ActorMethod<[AnalyticKey, SetTrackEvent], Result_2>;
106
111
  set_track_events: ActorMethod<[Array<[AnalyticKey, SetTrackEvent]>], Result_1>;
@@ -15,6 +15,10 @@ export const idlFactory = ({IDL}) => {
15
15
  expires_at: IDL.Opt(IDL.Nat64)
16
16
  });
17
17
  const DelSatelliteConfig = IDL.Record({updated_at: IDL.Opt(IDL.Nat64)});
18
+ const DepositCyclesArgs = IDL.Record({
19
+ cycles: IDL.Nat,
20
+ destination_id: IDL.Principal
21
+ });
18
22
  const GetAnalytics = IDL.Record({
19
23
  to: IDL.Opt(IDL.Nat64),
20
24
  from: IDL.Opt(IDL.Nat64),
@@ -48,7 +52,7 @@ export const idlFactory = ({IDL}) => {
48
52
  created_at: IDL.Nat64,
49
53
  satellite_id: IDL.Principal
50
54
  });
51
- const SatelliteConfig = IDL.Record({
55
+ const OrbiterSatelliteConfig = IDL.Record({
52
56
  updated_at: IDL.Nat64,
53
57
  created_at: IDL.Nat64,
54
58
  enabled: IDL.Bool
@@ -98,6 +102,7 @@ export const idlFactory = ({IDL}) => {
98
102
  []
99
103
  ),
100
104
  del_satellite_config: IDL.Func([IDL.Principal, DelSatelliteConfig], [], []),
105
+ deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
101
106
  get_page_views: IDL.Func(
102
107
  [GetAnalytics],
103
108
  [IDL.Vec(IDL.Tuple(AnalyticKey, PageView))],
@@ -111,7 +116,7 @@ export const idlFactory = ({IDL}) => {
111
116
  list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
112
117
  list_satellite_configs: IDL.Func(
113
118
  [],
114
- [IDL.Vec(IDL.Tuple(IDL.Principal, SatelliteConfig))],
119
+ [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
115
120
  ['query']
116
121
  ),
117
122
  set_controllers: IDL.Func(
@@ -123,7 +128,7 @@ export const idlFactory = ({IDL}) => {
123
128
  set_page_views: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetPageView))], [Result_1], []),
124
129
  set_satellite_configs: IDL.Func(
125
130
  [IDL.Vec(IDL.Tuple(IDL.Principal, SetSatelliteConfig))],
126
- [IDL.Vec(IDL.Tuple(IDL.Principal, SatelliteConfig))],
131
+ [IDL.Vec(IDL.Tuple(IDL.Principal, OrbiterSatelliteConfig))],
127
132
  []
128
133
  ),
129
134
  set_track_event: IDL.Func([AnalyticKey, SetTrackEvent], [Result_2], []),
@@ -48,6 +48,10 @@ export interface DelDoc {
48
48
  export interface DeleteControllersArgs {
49
49
  controllers: Array<Principal>;
50
50
  }
51
+ export interface DepositCyclesArgs {
52
+ cycles: bigint;
53
+ destination_id: Principal;
54
+ }
51
55
  export interface Doc {
52
56
  updated_at: bigint;
53
57
  owner: Principal;
@@ -60,6 +64,7 @@ export interface HttpRequest {
60
64
  method: string;
61
65
  body: Uint8Array | number[];
62
66
  headers: Array<[string, string]>;
67
+ certificate_version: [] | [number];
63
68
  }
64
69
  export interface HttpResponse {
65
70
  body: Uint8Array | number[];
@@ -146,8 +151,15 @@ export interface SetRule {
146
151
  write: Permission;
147
152
  }
148
153
  export interface StorageConfig {
154
+ iframe: [] | [StorageConfigIFrame];
149
155
  rewrites: Array<[string, string]>;
150
156
  headers: Array<[string, Array<[string, string]>]>;
157
+ redirects: [] | [Array<[string, StorageConfigRedirect]>];
158
+ }
159
+ export type StorageConfigIFrame = {Deny: null} | {AllowAny: null} | {SameOrigin: null};
160
+ export interface StorageConfigRedirect {
161
+ status_code: number;
162
+ location: string;
151
163
  }
152
164
  export interface StreamingCallbackHttpResponse {
153
165
  token: [] | [StreamingCallbackToken];
@@ -183,9 +195,14 @@ export interface _SERVICE {
183
195
  del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
184
196
  del_custom_domain: ActorMethod<[string], undefined>;
185
197
  del_doc: ActorMethod<[string, string, DelDoc], undefined>;
198
+ del_docs: ActorMethod<[string], undefined>;
199
+ del_many_assets: ActorMethod<[Array<[string, string]>], undefined>;
200
+ del_many_docs: ActorMethod<[Array<[string, string, DelDoc]>], undefined>;
186
201
  del_rule: ActorMethod<[RulesType, string, DelDoc], undefined>;
202
+ deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
187
203
  get_config: ActorMethod<[], Config>;
188
204
  get_doc: ActorMethod<[string, string], [] | [Doc]>;
205
+ get_many_docs: ActorMethod<[Array<[string, string]>], Array<[string, [] | [Doc]]>>;
189
206
  http_request: ActorMethod<[HttpRequest], HttpResponse>;
190
207
  http_request_streaming_callback: ActorMethod<
191
208
  [StreamingCallbackToken],
@@ -201,6 +218,7 @@ export interface _SERVICE {
201
218
  set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
202
219
  set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
203
220
  set_doc: ActorMethod<[string, string, SetDoc], Doc>;
221
+ set_many_docs: ActorMethod<[Array<[string, string, SetDoc]>], Array<[string, Doc]>>;
204
222
  set_rule: ActorMethod<[RulesType, string, SetRule], undefined>;
205
223
  upload_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
206
224
  version: ActorMethod<[], string>;
@@ -21,9 +21,24 @@ export const idlFactory = ({IDL}) => {
21
21
  });
22
22
  const DelDoc = IDL.Record({updated_at: IDL.Opt(IDL.Nat64)});
23
23
  const RulesType = IDL.Variant({Db: IDL.Null, Storage: IDL.Null});
24
+ const DepositCyclesArgs = IDL.Record({
25
+ cycles: IDL.Nat,
26
+ destination_id: IDL.Principal
27
+ });
28
+ const StorageConfigIFrame = IDL.Variant({
29
+ Deny: IDL.Null,
30
+ AllowAny: IDL.Null,
31
+ SameOrigin: IDL.Null
32
+ });
33
+ const StorageConfigRedirect = IDL.Record({
34
+ status_code: IDL.Nat16,
35
+ location: IDL.Text
36
+ });
24
37
  const StorageConfig = IDL.Record({
38
+ iframe: IDL.Opt(StorageConfigIFrame),
25
39
  rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
26
- headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))))
40
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
41
+ redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
27
42
  });
28
43
  const Config = IDL.Record({storage: StorageConfig});
29
44
  const Doc = IDL.Record({
@@ -37,7 +52,8 @@ export const idlFactory = ({IDL}) => {
37
52
  url: IDL.Text,
38
53
  method: IDL.Text,
39
54
  body: IDL.Vec(IDL.Nat8),
40
- headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))
55
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
56
+ certificate_version: IDL.Opt(IDL.Nat16)
41
57
  });
42
58
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
43
59
  const StreamingCallbackToken = IDL.Record({
@@ -187,9 +203,18 @@ export const idlFactory = ({IDL}) => {
187
203
  ),
188
204
  del_custom_domain: IDL.Func([IDL.Text], [], []),
189
205
  del_doc: IDL.Func([IDL.Text, IDL.Text, DelDoc], [], []),
206
+ del_docs: IDL.Func([IDL.Text], [], []),
207
+ del_many_assets: IDL.Func([IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], [], []),
208
+ del_many_docs: IDL.Func([IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text, DelDoc))], [], []),
190
209
  del_rule: IDL.Func([RulesType, IDL.Text, DelDoc], [], []),
210
+ deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
191
211
  get_config: IDL.Func([], [Config], []),
192
212
  get_doc: IDL.Func([IDL.Text, IDL.Text], [IDL.Opt(Doc)], ['query']),
213
+ get_many_docs: IDL.Func(
214
+ [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))],
215
+ [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Opt(Doc)))],
216
+ ['query']
217
+ ),
193
218
  http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
194
219
  http_request_streaming_callback: IDL.Func(
195
220
  [StreamingCallbackToken],
@@ -210,6 +235,11 @@ export const idlFactory = ({IDL}) => {
210
235
  ),
211
236
  set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
212
237
  set_doc: IDL.Func([IDL.Text, IDL.Text, SetDoc], [Doc], []),
238
+ set_many_docs: IDL.Func(
239
+ [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text, SetDoc))],
240
+ [IDL.Vec(IDL.Tuple(IDL.Text, Doc))],
241
+ []
242
+ ),
213
243
  set_rule: IDL.Func([RulesType, IDL.Text, SetRule], [], []),
214
244
  upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
215
245
  version: IDL.Func([], [IDL.Text], ['query'])
@@ -21,9 +21,24 @@ export const idlFactory = ({IDL}) => {
21
21
  });
22
22
  const DelDoc = IDL.Record({updated_at: IDL.Opt(IDL.Nat64)});
23
23
  const RulesType = IDL.Variant({Db: IDL.Null, Storage: IDL.Null});
24
+ const DepositCyclesArgs = IDL.Record({
25
+ cycles: IDL.Nat,
26
+ destination_id: IDL.Principal
27
+ });
28
+ const StorageConfigIFrame = IDL.Variant({
29
+ Deny: IDL.Null,
30
+ AllowAny: IDL.Null,
31
+ SameOrigin: IDL.Null
32
+ });
33
+ const StorageConfigRedirect = IDL.Record({
34
+ status_code: IDL.Nat16,
35
+ location: IDL.Text
36
+ });
24
37
  const StorageConfig = IDL.Record({
38
+ iframe: IDL.Opt(StorageConfigIFrame),
25
39
  rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
26
- headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))))
40
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
41
+ redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
27
42
  });
28
43
  const Config = IDL.Record({storage: StorageConfig});
29
44
  const Doc = IDL.Record({
@@ -37,7 +52,8 @@ export const idlFactory = ({IDL}) => {
37
52
  url: IDL.Text,
38
53
  method: IDL.Text,
39
54
  body: IDL.Vec(IDL.Nat8),
40
- headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))
55
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
56
+ certificate_version: IDL.Opt(IDL.Nat16)
41
57
  });
42
58
  const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
43
59
  const StreamingCallbackToken = IDL.Record({
@@ -187,9 +203,18 @@ export const idlFactory = ({IDL}) => {
187
203
  ),
188
204
  del_custom_domain: IDL.Func([IDL.Text], [], []),
189
205
  del_doc: IDL.Func([IDL.Text, IDL.Text, DelDoc], [], []),
206
+ del_docs: IDL.Func([IDL.Text], [], []),
207
+ del_many_assets: IDL.Func([IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], [], []),
208
+ del_many_docs: IDL.Func([IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text, DelDoc))], [], []),
190
209
  del_rule: IDL.Func([RulesType, IDL.Text, DelDoc], [], []),
210
+ deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
191
211
  get_config: IDL.Func([], [Config], []),
192
212
  get_doc: IDL.Func([IDL.Text, IDL.Text], [IDL.Opt(Doc)], ['query']),
213
+ get_many_docs: IDL.Func(
214
+ [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))],
215
+ [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Opt(Doc)))],
216
+ ['query']
217
+ ),
193
218
  http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
194
219
  http_request_streaming_callback: IDL.Func(
195
220
  [StreamingCallbackToken],
@@ -210,6 +235,11 @@ export const idlFactory = ({IDL}) => {
210
235
  ),
211
236
  set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
212
237
  set_doc: IDL.Func([IDL.Text, IDL.Text, SetDoc], [Doc], []),
238
+ set_many_docs: IDL.Func(
239
+ [IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text, SetDoc))],
240
+ [IDL.Vec(IDL.Tuple(IDL.Text, Doc))],
241
+ []
242
+ ),
213
243
  set_rule: IDL.Func([RulesType, IDL.Text, SetRule], [], []),
214
244
  upload_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []),
215
245
  version: IDL.Func([], [IDL.Text], ['query'])