@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.
- 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 +228 -218
- package/declarations/console/console.factory.certified.did.js +14 -1
- package/declarations/console/console.factory.did.js +14 -1
- package/declarations/console/console.factory.did.mjs +14 -1
- package/declarations/deprecated/console-0-0-14.did.d.ts +186 -186
- package/declarations/deprecated/console-0-0-8-patch1.did.d.ts +49 -49
- package/declarations/deprecated/mission_control-0-0-13.did.d.ts +173 -173
- package/declarations/deprecated/mission_control-0-0-14.did.d.ts +167 -167
- package/declarations/deprecated/mission_control-0-0-4.did.d.ts +57 -57
- package/declarations/deprecated/observatory-0-0-9.did.d.ts +42 -42
- package/declarations/deprecated/orbiter-0-0-6.did.d.ts +111 -111
- package/declarations/deprecated/orbiter-0-0-7.did.d.ts +116 -116
- package/declarations/deprecated/orbiter-0-0-8.did.d.ts +177 -177
- package/declarations/deprecated/orbiter-0-2-0.did.d.ts +203 -203
- package/declarations/deprecated/satellite-0-0-16.did.d.ts +174 -170
- package/declarations/deprecated/satellite-0-0-17.did.d.ts +185 -181
- package/declarations/deprecated/satellite-0-0-21.did.d.ts +216 -212
- package/declarations/deprecated/satellite-0-0-22.did.d.ts +211 -207
- package/declarations/deprecated/satellite-0-0-8.did.d.ts +125 -121
- package/declarations/deprecated/satellite-0-0-9.did.d.ts +139 -135
- package/declarations/mission_control/mission_control.did.d.ts +178 -169
- package/declarations/mission_control/mission_control.factory.certified.did.js +16 -4
- package/declarations/mission_control/mission_control.factory.did.js +16 -4
- package/declarations/observatory/observatory.did.d.ts +54 -54
- package/declarations/orbiter/orbiter.did.d.ts +206 -206
- package/declarations/orbiter/orbiter.factory.certified.did.js +7 -3
- package/declarations/orbiter/orbiter.factory.did.js +7 -3
- package/declarations/orbiter/orbiter.factory.did.mjs +7 -3
- package/declarations/satellite/satellite.did.d.ts +294 -285
- package/declarations/satellite/satellite.factory.certified.did.js +1 -0
- package/declarations/satellite/satellite.factory.did.js +1 -0
- package/declarations/satellite/satellite.factory.did.mjs +1 -0
- package/declarations/sputnik/sputnik.did.d.ts +294 -285
- package/declarations/sputnik/sputnik.factory.certified.did.js +1 -0
- package/declarations/sputnik/sputnik.factory.did.js +1 -0
- package/package.json +1 -1
|
@@ -1,299 +1,303 @@
|
|
|
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 AssetEncodingNoContent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
modified: bigint;
|
|
7
|
+
sha256: Uint8Array | number[];
|
|
8
|
+
total_length: bigint;
|
|
9
9
|
}
|
|
10
10
|
export interface AssetKey {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
token: [] | [string];
|
|
12
|
+
collection: string;
|
|
13
|
+
owner: Principal;
|
|
14
|
+
name: string;
|
|
15
|
+
description: [] | [string];
|
|
16
|
+
full_path: string;
|
|
17
17
|
}
|
|
18
18
|
export interface AssetNoContent {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
key: AssetKey;
|
|
20
|
+
updated_at: bigint;
|
|
21
|
+
encodings: Array<[string, AssetEncodingNoContent]>;
|
|
22
|
+
headers: Array<[string, string]>;
|
|
23
|
+
created_at: bigint;
|
|
24
|
+
version: [] | [bigint];
|
|
25
25
|
}
|
|
26
26
|
export interface AuthenticationConfig {
|
|
27
|
-
|
|
27
|
+
internet_identity: [] | [AuthenticationConfigInternetIdentity];
|
|
28
28
|
}
|
|
29
29
|
export interface AuthenticationConfigInternetIdentity {
|
|
30
|
-
|
|
30
|
+
derivation_origin: [] | [string];
|
|
31
31
|
}
|
|
32
|
-
export type CollectionType = {Db: null} | {Storage: null};
|
|
32
|
+
export type CollectionType = { Db: null } | { Storage: null };
|
|
33
33
|
export interface CommitBatch {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
batch_id: bigint;
|
|
35
|
+
headers: Array<[string, string]>;
|
|
36
|
+
chunk_ids: Array<bigint>;
|
|
37
37
|
}
|
|
38
38
|
export interface Config {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
db: [] | [DbConfig];
|
|
40
|
+
authentication: [] | [AuthenticationConfig];
|
|
41
|
+
storage: StorageConfig;
|
|
42
42
|
}
|
|
43
43
|
export interface ConfigMaxMemorySize {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
stable: [] | [bigint];
|
|
45
|
+
heap: [] | [bigint];
|
|
46
46
|
}
|
|
47
47
|
export interface Controller {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
updated_at: bigint;
|
|
49
|
+
metadata: Array<[string, string]>;
|
|
50
|
+
created_at: bigint;
|
|
51
|
+
scope: ControllerScope;
|
|
52
|
+
expires_at: [] | [bigint];
|
|
53
53
|
}
|
|
54
|
-
export type ControllerScope = {Write: null} | {Admin: null};
|
|
54
|
+
export type ControllerScope = { Write: null } | { Admin: null };
|
|
55
55
|
export interface CustomDomain {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
updated_at: bigint;
|
|
57
|
+
created_at: bigint;
|
|
58
|
+
version: [] | [bigint];
|
|
59
|
+
bn_id: [] | [string];
|
|
60
60
|
}
|
|
61
61
|
export interface DbConfig {
|
|
62
|
-
|
|
62
|
+
max_memory_size: [] | [ConfigMaxMemorySize];
|
|
63
63
|
}
|
|
64
64
|
export interface DelDoc {
|
|
65
|
-
|
|
65
|
+
version: [] | [bigint];
|
|
66
66
|
}
|
|
67
67
|
export interface DelRule {
|
|
68
|
-
|
|
68
|
+
version: [] | [bigint];
|
|
69
69
|
}
|
|
70
70
|
export interface DeleteControllersArgs {
|
|
71
|
-
|
|
71
|
+
controllers: Array<Principal>;
|
|
72
72
|
}
|
|
73
73
|
export interface DepositCyclesArgs {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
cycles: bigint;
|
|
75
|
+
destination_id: Principal;
|
|
76
76
|
}
|
|
77
77
|
export interface Doc {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
78
|
+
updated_at: bigint;
|
|
79
|
+
owner: Principal;
|
|
80
|
+
data: Uint8Array | number[];
|
|
81
|
+
description: [] | [string];
|
|
82
|
+
created_at: bigint;
|
|
83
|
+
version: [] | [bigint];
|
|
84
84
|
}
|
|
85
85
|
export interface HttpRequest {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
url: string;
|
|
87
|
+
method: string;
|
|
88
|
+
body: Uint8Array | number[];
|
|
89
|
+
headers: Array<[string, string]>;
|
|
90
|
+
certificate_version: [] | [number];
|
|
91
91
|
}
|
|
92
92
|
export interface HttpResponse {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
body: Uint8Array | number[];
|
|
94
|
+
headers: Array<[string, string]>;
|
|
95
|
+
streaming_strategy: [] | [StreamingStrategy];
|
|
96
|
+
status_code: number;
|
|
97
97
|
}
|
|
98
98
|
export interface InitAssetKey {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
99
|
+
token: [] | [string];
|
|
100
|
+
collection: string;
|
|
101
|
+
name: string;
|
|
102
|
+
description: [] | [string];
|
|
103
|
+
encoding_type: [] | [string];
|
|
104
|
+
full_path: string;
|
|
105
105
|
}
|
|
106
106
|
export interface InitUploadResult {
|
|
107
|
-
|
|
107
|
+
batch_id: bigint;
|
|
108
108
|
}
|
|
109
109
|
export interface ListMatcher {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
key: [] | [string];
|
|
111
|
+
updated_at: [] | [TimestampMatcher];
|
|
112
|
+
description: [] | [string];
|
|
113
|
+
created_at: [] | [TimestampMatcher];
|
|
114
114
|
}
|
|
115
115
|
export interface ListOrder {
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
field: ListOrderField;
|
|
117
|
+
desc: boolean;
|
|
118
118
|
}
|
|
119
|
-
export type ListOrderField = {UpdatedAt: null} | {Keys: null} | {CreatedAt: null};
|
|
119
|
+
export type ListOrderField = { UpdatedAt: null } | { Keys: null } | { CreatedAt: null };
|
|
120
120
|
export interface ListPaginate {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
start_after: [] | [string];
|
|
122
|
+
limit: [] | [bigint];
|
|
123
123
|
}
|
|
124
124
|
export interface ListParams {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
order: [] | [ListOrder];
|
|
126
|
+
owner: [] | [Principal];
|
|
127
|
+
matcher: [] | [ListMatcher];
|
|
128
|
+
paginate: [] | [ListPaginate];
|
|
129
129
|
}
|
|
130
130
|
export interface ListResults {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
131
|
+
matches_pages: [] | [bigint];
|
|
132
|
+
matches_length: bigint;
|
|
133
|
+
items_page: [] | [bigint];
|
|
134
|
+
items: Array<[string, AssetNoContent]>;
|
|
135
|
+
items_length: bigint;
|
|
136
136
|
}
|
|
137
137
|
export interface ListResults_1 {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
matches_pages: [] | [bigint];
|
|
139
|
+
matches_length: bigint;
|
|
140
|
+
items_page: [] | [bigint];
|
|
141
|
+
items: Array<[string, Doc]>;
|
|
142
|
+
items_length: bigint;
|
|
143
143
|
}
|
|
144
|
-
export type Memory = {Heap: null} | {Stable: null};
|
|
144
|
+
export type Memory = { Heap: null } | { Stable: null };
|
|
145
145
|
export interface MemorySize {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
export type Permission =
|
|
146
|
+
stable: bigint;
|
|
147
|
+
heap: bigint;
|
|
148
|
+
}
|
|
149
|
+
export type Permission =
|
|
150
|
+
| { Controllers: null }
|
|
151
|
+
| { Private: null }
|
|
152
|
+
| { Public: null }
|
|
153
|
+
| { Managed: null };
|
|
150
154
|
export interface RateConfig {
|
|
151
|
-
|
|
152
|
-
|
|
155
|
+
max_tokens: bigint;
|
|
156
|
+
time_per_token_ns: bigint;
|
|
153
157
|
}
|
|
154
158
|
export interface Rule {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
159
|
+
max_capacity: [] | [number];
|
|
160
|
+
memory: [] | [Memory];
|
|
161
|
+
updated_at: bigint;
|
|
162
|
+
max_size: [] | [bigint];
|
|
163
|
+
read: Permission;
|
|
164
|
+
created_at: bigint;
|
|
165
|
+
version: [] | [bigint];
|
|
166
|
+
mutable_permissions: [] | [boolean];
|
|
167
|
+
rate_config: [] | [RateConfig];
|
|
168
|
+
write: Permission;
|
|
165
169
|
}
|
|
166
170
|
export interface SetController {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
171
|
+
metadata: Array<[string, string]>;
|
|
172
|
+
scope: ControllerScope;
|
|
173
|
+
expires_at: [] | [bigint];
|
|
170
174
|
}
|
|
171
175
|
export interface SetControllersArgs {
|
|
172
|
-
|
|
173
|
-
|
|
176
|
+
controller: SetController;
|
|
177
|
+
controllers: Array<Principal>;
|
|
174
178
|
}
|
|
175
179
|
export interface SetDoc {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
180
|
+
data: Uint8Array | number[];
|
|
181
|
+
description: [] | [string];
|
|
182
|
+
version: [] | [bigint];
|
|
179
183
|
}
|
|
180
184
|
export interface SetRule {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
max_capacity: [] | [number];
|
|
186
|
+
memory: [] | [Memory];
|
|
187
|
+
max_size: [] | [bigint];
|
|
188
|
+
read: Permission;
|
|
189
|
+
version: [] | [bigint];
|
|
190
|
+
mutable_permissions: [] | [boolean];
|
|
191
|
+
rate_config: [] | [RateConfig];
|
|
192
|
+
write: Permission;
|
|
189
193
|
}
|
|
190
194
|
export interface SetUserUsage {
|
|
191
|
-
|
|
195
|
+
items_count: number;
|
|
192
196
|
}
|
|
193
197
|
export interface StorageConfig {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
export type StorageConfigIFrame = {Deny: null} | {AllowAny: null} | {SameOrigin: null};
|
|
202
|
-
export type StorageConfigRawAccess = {Deny: null} | {Allow: null};
|
|
198
|
+
iframe: [] | [StorageConfigIFrame];
|
|
199
|
+
rewrites: Array<[string, string]>;
|
|
200
|
+
headers: Array<[string, Array<[string, string]>]>;
|
|
201
|
+
max_memory_size: [] | [ConfigMaxMemorySize];
|
|
202
|
+
raw_access: [] | [StorageConfigRawAccess];
|
|
203
|
+
redirects: [] | [Array<[string, StorageConfigRedirect]>];
|
|
204
|
+
}
|
|
205
|
+
export type StorageConfigIFrame = { Deny: null } | { AllowAny: null } | { SameOrigin: null };
|
|
206
|
+
export type StorageConfigRawAccess = { Deny: null } | { Allow: null };
|
|
203
207
|
export interface StorageConfigRedirect {
|
|
204
|
-
|
|
205
|
-
|
|
208
|
+
status_code: number;
|
|
209
|
+
location: string;
|
|
206
210
|
}
|
|
207
211
|
export interface StreamingCallbackHttpResponse {
|
|
208
|
-
|
|
209
|
-
|
|
212
|
+
token: [] | [StreamingCallbackToken];
|
|
213
|
+
body: Uint8Array | number[];
|
|
210
214
|
}
|
|
211
215
|
export interface StreamingCallbackToken {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
memory: Memory;
|
|
217
|
+
token: [] | [string];
|
|
218
|
+
sha256: [] | [Uint8Array | number[]];
|
|
219
|
+
headers: Array<[string, string]>;
|
|
220
|
+
index: bigint;
|
|
221
|
+
encoding_type: string;
|
|
222
|
+
full_path: string;
|
|
219
223
|
}
|
|
220
224
|
export type StreamingStrategy = {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
+
Callback: {
|
|
226
|
+
token: StreamingCallbackToken;
|
|
227
|
+
callback: [Principal, string];
|
|
228
|
+
};
|
|
225
229
|
};
|
|
226
230
|
export type TimestampMatcher =
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
+
| { Equal: bigint }
|
|
232
|
+
| { Between: [bigint, bigint] }
|
|
233
|
+
| { GreaterThan: bigint }
|
|
234
|
+
| { LessThan: bigint };
|
|
231
235
|
export interface UploadChunk {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
236
|
+
content: Uint8Array | number[];
|
|
237
|
+
batch_id: bigint;
|
|
238
|
+
order_id: [] | [bigint];
|
|
235
239
|
}
|
|
236
240
|
export interface UploadChunkResult {
|
|
237
|
-
|
|
241
|
+
chunk_id: bigint;
|
|
238
242
|
}
|
|
239
243
|
export interface UserUsage {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
+
updated_at: bigint;
|
|
245
|
+
created_at: bigint;
|
|
246
|
+
version: [] | [bigint];
|
|
247
|
+
items_count: number;
|
|
244
248
|
}
|
|
245
249
|
export interface _SERVICE {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
250
|
+
build_version: ActorMethod<[], string>;
|
|
251
|
+
commit_asset_upload: ActorMethod<[CommitBatch], undefined>;
|
|
252
|
+
count_assets: ActorMethod<[string, ListParams], bigint>;
|
|
253
|
+
count_collection_assets: ActorMethod<[string], bigint>;
|
|
254
|
+
count_collection_docs: ActorMethod<[string], bigint>;
|
|
255
|
+
count_docs: ActorMethod<[string, ListParams], bigint>;
|
|
256
|
+
del_asset: ActorMethod<[string, string], undefined>;
|
|
257
|
+
del_assets: ActorMethod<[string], undefined>;
|
|
258
|
+
del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
|
|
259
|
+
del_custom_domain: ActorMethod<[string], undefined>;
|
|
260
|
+
del_doc: ActorMethod<[string, string, DelDoc], undefined>;
|
|
261
|
+
del_docs: ActorMethod<[string], undefined>;
|
|
262
|
+
del_filtered_assets: ActorMethod<[string, ListParams], undefined>;
|
|
263
|
+
del_filtered_docs: ActorMethod<[string, ListParams], undefined>;
|
|
264
|
+
del_many_assets: ActorMethod<[Array<[string, string]>], undefined>;
|
|
265
|
+
del_many_docs: ActorMethod<[Array<[string, string, DelDoc]>], undefined>;
|
|
266
|
+
del_rule: ActorMethod<[CollectionType, string, DelRule], undefined>;
|
|
267
|
+
deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
|
|
268
|
+
get_asset: ActorMethod<[string, string], [] | [AssetNoContent]>;
|
|
269
|
+
get_auth_config: ActorMethod<[], [] | [AuthenticationConfig]>;
|
|
270
|
+
get_config: ActorMethod<[], Config>;
|
|
271
|
+
get_db_config: ActorMethod<[], [] | [DbConfig]>;
|
|
272
|
+
get_doc: ActorMethod<[string, string], [] | [Doc]>;
|
|
273
|
+
get_many_assets: ActorMethod<[Array<[string, string]>], Array<[string, [] | [AssetNoContent]]>>;
|
|
274
|
+
get_many_docs: ActorMethod<[Array<[string, string]>], Array<[string, [] | [Doc]]>>;
|
|
275
|
+
get_rule: ActorMethod<[CollectionType, string], [] | [Rule]>;
|
|
276
|
+
get_storage_config: ActorMethod<[], StorageConfig>;
|
|
277
|
+
get_user_usage: ActorMethod<[string, CollectionType, [] | [Principal]], [] | [UserUsage]>;
|
|
278
|
+
http_request: ActorMethod<[HttpRequest], HttpResponse>;
|
|
279
|
+
http_request_streaming_callback: ActorMethod<
|
|
280
|
+
[StreamingCallbackToken],
|
|
281
|
+
StreamingCallbackHttpResponse
|
|
282
|
+
>;
|
|
283
|
+
init_asset_upload: ActorMethod<[InitAssetKey], InitUploadResult>;
|
|
284
|
+
list_assets: ActorMethod<[string, ListParams], ListResults>;
|
|
285
|
+
list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
|
|
286
|
+
list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
|
|
287
|
+
list_docs: ActorMethod<[string, ListParams], ListResults_1>;
|
|
288
|
+
list_rules: ActorMethod<[CollectionType], Array<[string, Rule]>>;
|
|
289
|
+
memory_size: ActorMethod<[], MemorySize>;
|
|
290
|
+
set_auth_config: ActorMethod<[AuthenticationConfig], undefined>;
|
|
291
|
+
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
|
|
292
|
+
set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
|
|
293
|
+
set_db_config: ActorMethod<[DbConfig], undefined>;
|
|
294
|
+
set_doc: ActorMethod<[string, string, SetDoc], Doc>;
|
|
295
|
+
set_many_docs: ActorMethod<[Array<[string, string, SetDoc]>], Array<[string, Doc]>>;
|
|
296
|
+
set_rule: ActorMethod<[CollectionType, string, SetRule], Rule>;
|
|
297
|
+
set_storage_config: ActorMethod<[StorageConfig], undefined>;
|
|
298
|
+
set_user_usage: ActorMethod<[string, CollectionType, Principal, SetUserUsage], UserUsage>;
|
|
299
|
+
upload_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
|
|
300
|
+
version: ActorMethod<[], string>;
|
|
297
301
|
}
|
|
298
302
|
export declare const idlFactory: IDL.InterfaceFactory;
|
|
299
|
-
export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
|
|
303
|
+
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
|