@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,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
- 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];
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
- batch_id: bigint;
35
- headers: Array<[string, string]>;
36
- chunk_ids: Array<bigint>;
34
+ batch_id: bigint;
35
+ headers: Array<[string, string]>;
36
+ chunk_ids: Array<bigint>;
37
37
  }
38
38
  export interface Config {
39
- db: [] | [DbConfig];
40
- authentication: [] | [AuthenticationConfig];
41
- storage: StorageConfig;
39
+ db: [] | [DbConfig];
40
+ authentication: [] | [AuthenticationConfig];
41
+ storage: StorageConfig;
42
42
  }
43
43
  export interface ConfigMaxMemorySize {
44
- stable: [] | [bigint];
45
- heap: [] | [bigint];
44
+ stable: [] | [bigint];
45
+ heap: [] | [bigint];
46
46
  }
47
47
  export interface Controller {
48
- updated_at: bigint;
49
- metadata: Array<[string, string]>;
50
- created_at: bigint;
51
- scope: ControllerScope;
52
- expires_at: [] | [bigint];
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
- updated_at: bigint;
57
- created_at: bigint;
58
- version: [] | [bigint];
59
- bn_id: [] | [string];
56
+ updated_at: bigint;
57
+ created_at: bigint;
58
+ version: [] | [bigint];
59
+ bn_id: [] | [string];
60
60
  }
61
61
  export interface DbConfig {
62
- max_memory_size: [] | [ConfigMaxMemorySize];
62
+ max_memory_size: [] | [ConfigMaxMemorySize];
63
63
  }
64
64
  export interface DelDoc {
65
- version: [] | [bigint];
65
+ version: [] | [bigint];
66
66
  }
67
67
  export interface DelRule {
68
- version: [] | [bigint];
68
+ version: [] | [bigint];
69
69
  }
70
70
  export interface DeleteControllersArgs {
71
- controllers: Array<Principal>;
71
+ controllers: Array<Principal>;
72
72
  }
73
73
  export interface DepositCyclesArgs {
74
- cycles: bigint;
75
- destination_id: Principal;
74
+ cycles: bigint;
75
+ destination_id: Principal;
76
76
  }
77
77
  export interface Doc {
78
- updated_at: bigint;
79
- owner: Principal;
80
- data: Uint8Array | number[];
81
- description: [] | [string];
82
- created_at: bigint;
83
- version: [] | [bigint];
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
- url: string;
87
- method: string;
88
- body: Uint8Array | number[];
89
- headers: Array<[string, string]>;
90
- certificate_version: [] | [number];
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
- body: Uint8Array | number[];
94
- headers: Array<[string, string]>;
95
- streaming_strategy: [] | [StreamingStrategy];
96
- status_code: number;
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
- token: [] | [string];
100
- collection: string;
101
- name: string;
102
- description: [] | [string];
103
- encoding_type: [] | [string];
104
- full_path: string;
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
- batch_id: bigint;
107
+ batch_id: bigint;
108
108
  }
109
109
  export interface ListMatcher {
110
- key: [] | [string];
111
- updated_at: [] | [TimestampMatcher];
112
- description: [] | [string];
113
- created_at: [] | [TimestampMatcher];
110
+ key: [] | [string];
111
+ updated_at: [] | [TimestampMatcher];
112
+ description: [] | [string];
113
+ created_at: [] | [TimestampMatcher];
114
114
  }
115
115
  export interface ListOrder {
116
- field: ListOrderField;
117
- desc: boolean;
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
- start_after: [] | [string];
122
- limit: [] | [bigint];
121
+ start_after: [] | [string];
122
+ limit: [] | [bigint];
123
123
  }
124
124
  export interface ListParams {
125
- order: [] | [ListOrder];
126
- owner: [] | [Principal];
127
- matcher: [] | [ListMatcher];
128
- paginate: [] | [ListPaginate];
125
+ order: [] | [ListOrder];
126
+ owner: [] | [Principal];
127
+ matcher: [] | [ListMatcher];
128
+ paginate: [] | [ListPaginate];
129
129
  }
130
130
  export interface ListResults {
131
- matches_pages: [] | [bigint];
132
- matches_length: bigint;
133
- items_page: [] | [bigint];
134
- items: Array<[string, AssetNoContent]>;
135
- items_length: bigint;
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
- matches_pages: [] | [bigint];
139
- matches_length: bigint;
140
- items_page: [] | [bigint];
141
- items: Array<[string, Doc]>;
142
- items_length: bigint;
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
- stable: bigint;
147
- heap: bigint;
148
- }
149
- export type Permission = {Controllers: null} | {Private: null} | {Public: null} | {Managed: null};
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
- max_tokens: bigint;
152
- time_per_token_ns: bigint;
155
+ max_tokens: bigint;
156
+ time_per_token_ns: bigint;
153
157
  }
154
158
  export interface Rule {
155
- max_capacity: [] | [number];
156
- memory: [] | [Memory];
157
- updated_at: bigint;
158
- max_size: [] | [bigint];
159
- read: Permission;
160
- created_at: bigint;
161
- version: [] | [bigint];
162
- mutable_permissions: [] | [boolean];
163
- rate_config: [] | [RateConfig];
164
- write: Permission;
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
- metadata: Array<[string, string]>;
168
- scope: ControllerScope;
169
- expires_at: [] | [bigint];
171
+ metadata: Array<[string, string]>;
172
+ scope: ControllerScope;
173
+ expires_at: [] | [bigint];
170
174
  }
171
175
  export interface SetControllersArgs {
172
- controller: SetController;
173
- controllers: Array<Principal>;
176
+ controller: SetController;
177
+ controllers: Array<Principal>;
174
178
  }
175
179
  export interface SetDoc {
176
- data: Uint8Array | number[];
177
- description: [] | [string];
178
- version: [] | [bigint];
180
+ data: Uint8Array | number[];
181
+ description: [] | [string];
182
+ version: [] | [bigint];
179
183
  }
180
184
  export interface SetRule {
181
- max_capacity: [] | [number];
182
- memory: [] | [Memory];
183
- max_size: [] | [bigint];
184
- read: Permission;
185
- version: [] | [bigint];
186
- mutable_permissions: [] | [boolean];
187
- rate_config: [] | [RateConfig];
188
- write: Permission;
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
- items_count: number;
195
+ items_count: 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 UserUsage {
240
- updated_at: bigint;
241
- created_at: bigint;
242
- version: [] | [bigint];
243
- items_count: number;
244
+ updated_at: bigint;
245
+ created_at: bigint;
246
+ version: [] | [bigint];
247
+ items_count: number;
244
248
  }
245
249
  export interface _SERVICE {
246
- build_version: ActorMethod<[], string>;
247
- commit_asset_upload: ActorMethod<[CommitBatch], undefined>;
248
- count_assets: ActorMethod<[string, ListParams], bigint>;
249
- count_collection_assets: ActorMethod<[string], bigint>;
250
- count_collection_docs: ActorMethod<[string], bigint>;
251
- count_docs: ActorMethod<[string, ListParams], bigint>;
252
- del_asset: ActorMethod<[string, string], undefined>;
253
- del_assets: ActorMethod<[string], undefined>;
254
- del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
255
- del_custom_domain: ActorMethod<[string], undefined>;
256
- del_doc: ActorMethod<[string, string, DelDoc], undefined>;
257
- del_docs: ActorMethod<[string], undefined>;
258
- del_filtered_assets: ActorMethod<[string, ListParams], undefined>;
259
- del_filtered_docs: ActorMethod<[string, ListParams], undefined>;
260
- del_many_assets: ActorMethod<[Array<[string, string]>], undefined>;
261
- del_many_docs: ActorMethod<[Array<[string, string, DelDoc]>], undefined>;
262
- del_rule: ActorMethod<[CollectionType, string, DelRule], undefined>;
263
- deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
264
- get_asset: ActorMethod<[string, string], [] | [AssetNoContent]>;
265
- get_auth_config: ActorMethod<[], [] | [AuthenticationConfig]>;
266
- get_config: ActorMethod<[], Config>;
267
- get_db_config: ActorMethod<[], [] | [DbConfig]>;
268
- get_doc: ActorMethod<[string, string], [] | [Doc]>;
269
- get_many_assets: ActorMethod<[Array<[string, string]>], Array<[string, [] | [AssetNoContent]]>>;
270
- get_many_docs: ActorMethod<[Array<[string, string]>], Array<[string, [] | [Doc]]>>;
271
- get_rule: ActorMethod<[CollectionType, string], [] | [Rule]>;
272
- get_storage_config: ActorMethod<[], StorageConfig>;
273
- get_user_usage: ActorMethod<[string, CollectionType, [] | [Principal]], [] | [UserUsage]>;
274
- http_request: ActorMethod<[HttpRequest], HttpResponse>;
275
- http_request_streaming_callback: ActorMethod<
276
- [StreamingCallbackToken],
277
- StreamingCallbackHttpResponse
278
- >;
279
- init_asset_upload: ActorMethod<[InitAssetKey], InitUploadResult>;
280
- list_assets: ActorMethod<[string, ListParams], ListResults>;
281
- list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
282
- list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
283
- list_docs: ActorMethod<[string, ListParams], ListResults_1>;
284
- list_rules: ActorMethod<[CollectionType], Array<[string, Rule]>>;
285
- memory_size: ActorMethod<[], MemorySize>;
286
- set_auth_config: ActorMethod<[AuthenticationConfig], undefined>;
287
- set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
288
- set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
289
- set_db_config: ActorMethod<[DbConfig], undefined>;
290
- set_doc: ActorMethod<[string, string, SetDoc], Doc>;
291
- set_many_docs: ActorMethod<[Array<[string, string, SetDoc]>], Array<[string, Doc]>>;
292
- set_rule: ActorMethod<[CollectionType, string, SetRule], Rule>;
293
- set_storage_config: ActorMethod<[StorageConfig], undefined>;
294
- set_user_usage: ActorMethod<[string, CollectionType, Principal, SetUserUsage], UserUsage>;
295
- upload_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
296
- version: ActorMethod<[], string>;
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[];