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