@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,313 +1,323 @@
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 AssertMissionControlCenterArgs {
6
- mission_control_id: Principal;
7
- user: Principal;
6
+ mission_control_id: Principal;
7
+ user: Principal;
8
8
  }
9
9
  export interface AssetEncodingNoContent {
10
- modified: bigint;
11
- sha256: Uint8Array | number[];
12
- total_length: bigint;
10
+ modified: bigint;
11
+ sha256: Uint8Array | number[];
12
+ total_length: bigint;
13
13
  }
14
14
  export interface AssetKey {
15
- token: [] | [string];
16
- collection: string;
17
- owner: Principal;
18
- name: string;
19
- description: [] | [string];
20
- full_path: string;
15
+ token: [] | [string];
16
+ collection: string;
17
+ owner: Principal;
18
+ name: string;
19
+ description: [] | [string];
20
+ full_path: string;
21
21
  }
22
22
  export interface AssetNoContent {
23
- key: AssetKey;
24
- updated_at: bigint;
25
- encodings: Array<[string, AssetEncodingNoContent]>;
26
- headers: Array<[string, string]>;
27
- created_at: bigint;
28
- version: [] | [bigint];
23
+ key: AssetKey;
24
+ updated_at: bigint;
25
+ encodings: Array<[string, AssetEncodingNoContent]>;
26
+ headers: Array<[string, string]>;
27
+ created_at: bigint;
28
+ version: [] | [bigint];
29
29
  }
30
30
  export interface AssetsUpgradeOptions {
31
- clear_existing_assets: [] | [boolean];
31
+ clear_existing_assets: [] | [boolean];
32
32
  }
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 CommitProposal {
39
- sha256: Uint8Array | number[];
40
- proposal_id: bigint;
39
+ sha256: Uint8Array | number[];
40
+ proposal_id: bigint;
41
41
  }
42
42
  export interface Config {
43
- storage: StorageConfig;
43
+ storage: StorageConfig;
44
44
  }
45
45
  export interface ConfigMaxMemorySize {
46
- stable: [] | [bigint];
47
- heap: [] | [bigint];
46
+ stable: [] | [bigint];
47
+ heap: [] | [bigint];
48
48
  }
49
49
  export interface Controller {
50
- updated_at: bigint;
51
- metadata: Array<[string, string]>;
52
- created_at: bigint;
53
- scope: ControllerScope;
54
- expires_at: [] | [bigint];
50
+ updated_at: bigint;
51
+ metadata: Array<[string, string]>;
52
+ created_at: bigint;
53
+ scope: ControllerScope;
54
+ expires_at: [] | [bigint];
55
55
  }
56
- export type ControllerScope = {Write: null} | {Admin: null} | {Submit: null};
56
+ export type ControllerScope = { Write: null } | { Admin: null } | { Submit: null };
57
57
  export interface CreateCanisterArgs {
58
- block_index: [] | [bigint];
59
- subnet_id: [] | [Principal];
60
- user: Principal;
58
+ block_index: [] | [bigint];
59
+ subnet_id: [] | [Principal];
60
+ user: Principal;
61
+ }
62
+ export interface CreateSatelliteArgs {
63
+ block_index: [] | [bigint];
64
+ subnet_id: [] | [Principal];
65
+ storage: [] | [InitStorageArgs];
66
+ user: Principal;
61
67
  }
62
68
  export interface CustomDomain {
63
- updated_at: bigint;
64
- created_at: bigint;
65
- version: [] | [bigint];
66
- bn_id: [] | [string];
69
+ updated_at: bigint;
70
+ created_at: bigint;
71
+ version: [] | [bigint];
72
+ bn_id: [] | [string];
67
73
  }
68
74
  export interface DeleteControllersArgs {
69
- controllers: Array<Principal>;
75
+ controllers: Array<Principal>;
70
76
  }
71
77
  export interface DeleteProposalAssets {
72
- proposal_ids: Array<bigint>;
78
+ proposal_ids: Array<bigint>;
73
79
  }
74
80
  export interface GetCreateCanisterFeeArgs {
75
- user: Principal;
81
+ user: Principal;
76
82
  }
77
83
  export interface HttpRequest {
78
- url: string;
79
- method: string;
80
- body: Uint8Array | number[];
81
- headers: Array<[string, string]>;
82
- certificate_version: [] | [number];
84
+ url: string;
85
+ method: string;
86
+ body: Uint8Array | number[];
87
+ headers: Array<[string, string]>;
88
+ certificate_version: [] | [number];
83
89
  }
84
90
  export interface HttpResponse {
85
- body: Uint8Array | number[];
86
- headers: Array<[string, string]>;
87
- streaming_strategy: [] | [StreamingStrategy];
88
- status_code: number;
91
+ body: Uint8Array | number[];
92
+ headers: Array<[string, string]>;
93
+ streaming_strategy: [] | [StreamingStrategy];
94
+ status_code: number;
89
95
  }
90
96
  export interface InitAssetKey {
91
- token: [] | [string];
92
- collection: string;
93
- name: string;
94
- description: [] | [string];
95
- encoding_type: [] | [string];
96
- full_path: string;
97
+ token: [] | [string];
98
+ collection: string;
99
+ name: string;
100
+ description: [] | [string];
101
+ encoding_type: [] | [string];
102
+ full_path: string;
103
+ }
104
+ export interface InitStorageArgs {
105
+ system_memory: [] | [InitStorageMemory];
97
106
  }
107
+ export type InitStorageMemory = { Heap: null } | { Stable: null };
98
108
  export interface InitUploadResult {
99
- batch_id: bigint;
109
+ batch_id: bigint;
100
110
  }
101
111
  export interface ListMatcher {
102
- key: [] | [string];
103
- updated_at: [] | [TimestampMatcher];
104
- description: [] | [string];
105
- created_at: [] | [TimestampMatcher];
112
+ key: [] | [string];
113
+ updated_at: [] | [TimestampMatcher];
114
+ description: [] | [string];
115
+ created_at: [] | [TimestampMatcher];
106
116
  }
107
117
  export interface ListOrder {
108
- field: ListOrderField;
109
- desc: boolean;
118
+ field: ListOrderField;
119
+ desc: boolean;
110
120
  }
111
- export type ListOrderField = {UpdatedAt: null} | {Keys: null} | {CreatedAt: null};
121
+ export type ListOrderField = { UpdatedAt: null } | { Keys: null } | { CreatedAt: null };
112
122
  export interface ListPaginate {
113
- start_after: [] | [string];
114
- limit: [] | [bigint];
123
+ start_after: [] | [string];
124
+ limit: [] | [bigint];
115
125
  }
116
126
  export interface ListParams {
117
- order: [] | [ListOrder];
118
- owner: [] | [Principal];
119
- matcher: [] | [ListMatcher];
120
- paginate: [] | [ListPaginate];
127
+ order: [] | [ListOrder];
128
+ owner: [] | [Principal];
129
+ matcher: [] | [ListMatcher];
130
+ paginate: [] | [ListPaginate];
121
131
  }
122
132
  export interface ListProposalResults {
123
- matches_length: bigint;
124
- items: Array<[ProposalKey, Proposal]>;
125
- items_length: bigint;
133
+ matches_length: bigint;
134
+ items: Array<[ProposalKey, Proposal]>;
135
+ items_length: bigint;
126
136
  }
127
137
  export interface ListProposalsOrder {
128
- desc: boolean;
138
+ desc: boolean;
129
139
  }
130
140
  export interface ListProposalsPaginate {
131
- start_after: [] | [bigint];
132
- limit: [] | [bigint];
141
+ start_after: [] | [bigint];
142
+ limit: [] | [bigint];
133
143
  }
134
144
  export interface ListProposalsParams {
135
- order: [] | [ListProposalsOrder];
136
- paginate: [] | [ListProposalsPaginate];
145
+ order: [] | [ListProposalsOrder];
146
+ paginate: [] | [ListProposalsPaginate];
137
147
  }
138
148
  export interface ListResults {
139
- matches_pages: [] | [bigint];
140
- matches_length: bigint;
141
- items_page: [] | [bigint];
142
- items: Array<[string, AssetNoContent]>;
143
- items_length: bigint;
149
+ matches_pages: [] | [bigint];
150
+ matches_length: bigint;
151
+ items_page: [] | [bigint];
152
+ items: Array<[string, AssetNoContent]>;
153
+ items_length: bigint;
144
154
  }
145
- export type Memory = {Heap: null} | {Stable: null};
155
+ export type Memory = { Heap: null } | { Stable: null };
146
156
  export interface MissionControl {
147
- updated_at: bigint;
148
- credits: Tokens;
149
- mission_control_id: [] | [Principal];
150
- owner: Principal;
151
- created_at: bigint;
157
+ updated_at: bigint;
158
+ credits: Tokens;
159
+ mission_control_id: [] | [Principal];
160
+ owner: Principal;
161
+ created_at: bigint;
152
162
  }
153
163
  export interface Payment {
154
- status: PaymentStatus;
155
- updated_at: bigint;
156
- block_index_payment: bigint;
157
- mission_control_id: [] | [Principal];
158
- created_at: bigint;
159
- block_index_refunded: [] | [bigint];
160
- }
161
- export type PaymentStatus = {Refunded: null} | {Acknowledged: null} | {Completed: null};
164
+ status: PaymentStatus;
165
+ updated_at: bigint;
166
+ block_index_payment: bigint;
167
+ mission_control_id: [] | [Principal];
168
+ created_at: bigint;
169
+ block_index_refunded: [] | [bigint];
170
+ }
171
+ export type PaymentStatus = { Refunded: null } | { Acknowledged: null } | { Completed: null };
162
172
  export interface Proposal {
163
- status: ProposalStatus;
164
- updated_at: bigint;
165
- sha256: [] | [Uint8Array | number[]];
166
- executed_at: [] | [bigint];
167
- owner: Principal;
168
- created_at: bigint;
169
- version: [] | [bigint];
170
- proposal_type: ProposalType;
173
+ status: ProposalStatus;
174
+ updated_at: bigint;
175
+ sha256: [] | [Uint8Array | number[]];
176
+ executed_at: [] | [bigint];
177
+ owner: Principal;
178
+ created_at: bigint;
179
+ version: [] | [bigint];
180
+ proposal_type: ProposalType;
171
181
  }
172
182
  export interface ProposalKey {
173
- proposal_id: bigint;
183
+ proposal_id: bigint;
174
184
  }
175
185
  export type ProposalStatus =
176
- | {Initialized: null}
177
- | {Failed: null}
178
- | {Open: null}
179
- | {Rejected: null}
180
- | {Executed: null}
181
- | {Accepted: null};
186
+ | { Initialized: null }
187
+ | { Failed: null }
188
+ | { Open: null }
189
+ | { Rejected: null }
190
+ | { Executed: null }
191
+ | { Accepted: null };
182
192
  export type ProposalType =
183
- | {AssetsUpgrade: AssetsUpgradeOptions}
184
- | {SegmentsDeployment: SegmentsDeploymentOptions};
193
+ | { AssetsUpgrade: AssetsUpgradeOptions }
194
+ | { SegmentsDeployment: SegmentsDeploymentOptions };
185
195
  export interface RateConfig {
186
- max_tokens: bigint;
187
- time_per_token_ns: bigint;
196
+ max_tokens: bigint;
197
+ time_per_token_ns: bigint;
188
198
  }
189
- export type SegmentKind = {Orbiter: null} | {MissionControl: null} | {Satellite: null};
199
+ export type SegmentKind = { Orbiter: null } | { MissionControl: null } | { Satellite: null };
190
200
  export interface SegmentsDeploymentOptions {
191
- orbiter: [] | [string];
192
- mission_control_version: [] | [string];
193
- satellite_version: [] | [string];
201
+ orbiter: [] | [string];
202
+ mission_control_version: [] | [string];
203
+ satellite_version: [] | [string];
194
204
  }
195
205
  export interface SetController {
196
- metadata: Array<[string, string]>;
197
- scope: ControllerScope;
198
- expires_at: [] | [bigint];
206
+ metadata: Array<[string, string]>;
207
+ scope: ControllerScope;
208
+ expires_at: [] | [bigint];
199
209
  }
200
210
  export interface SetControllersArgs {
201
- controller: SetController;
202
- controllers: Array<Principal>;
211
+ controller: SetController;
212
+ controllers: Array<Principal>;
203
213
  }
204
214
  export interface SetStorageConfig {
205
- iframe: [] | [StorageConfigIFrame];
206
- rewrites: Array<[string, string]>;
207
- headers: Array<[string, Array<[string, string]>]>;
208
- version: [] | [bigint];
209
- max_memory_size: [] | [ConfigMaxMemorySize];
210
- raw_access: [] | [StorageConfigRawAccess];
211
- redirects: [] | [Array<[string, StorageConfigRedirect]>];
215
+ iframe: [] | [StorageConfigIFrame];
216
+ rewrites: Array<[string, string]>;
217
+ headers: Array<[string, Array<[string, string]>]>;
218
+ version: [] | [bigint];
219
+ max_memory_size: [] | [ConfigMaxMemorySize];
220
+ raw_access: [] | [StorageConfigRawAccess];
221
+ redirects: [] | [Array<[string, StorageConfigRedirect]>];
212
222
  }
213
223
  export interface StorageConfig {
214
- iframe: [] | [StorageConfigIFrame];
215
- updated_at: [] | [bigint];
216
- rewrites: Array<[string, string]>;
217
- headers: Array<[string, Array<[string, string]>]>;
218
- created_at: [] | [bigint];
219
- version: [] | [bigint];
220
- max_memory_size: [] | [ConfigMaxMemorySize];
221
- raw_access: [] | [StorageConfigRawAccess];
222
- redirects: [] | [Array<[string, StorageConfigRedirect]>];
223
- }
224
- export type StorageConfigIFrame = {Deny: null} | {AllowAny: null} | {SameOrigin: null};
225
- export type StorageConfigRawAccess = {Deny: null} | {Allow: null};
224
+ iframe: [] | [StorageConfigIFrame];
225
+ updated_at: [] | [bigint];
226
+ rewrites: Array<[string, string]>;
227
+ headers: Array<[string, Array<[string, string]>]>;
228
+ created_at: [] | [bigint];
229
+ version: [] | [bigint];
230
+ max_memory_size: [] | [ConfigMaxMemorySize];
231
+ raw_access: [] | [StorageConfigRawAccess];
232
+ redirects: [] | [Array<[string, StorageConfigRedirect]>];
233
+ }
234
+ export type StorageConfigIFrame = { Deny: null } | { AllowAny: null } | { SameOrigin: null };
235
+ export type StorageConfigRawAccess = { Deny: null } | { Allow: null };
226
236
  export interface StorageConfigRedirect {
227
- status_code: number;
228
- location: string;
237
+ status_code: number;
238
+ location: string;
229
239
  }
230
240
  export interface StreamingCallbackHttpResponse {
231
- token: [] | [StreamingCallbackToken];
232
- body: Uint8Array | number[];
241
+ token: [] | [StreamingCallbackToken];
242
+ body: Uint8Array | number[];
233
243
  }
234
244
  export interface StreamingCallbackToken {
235
- memory: Memory;
236
- token: [] | [string];
237
- sha256: [] | [Uint8Array | number[]];
238
- headers: Array<[string, string]>;
239
- index: bigint;
240
- encoding_type: string;
241
- full_path: string;
245
+ memory: Memory;
246
+ token: [] | [string];
247
+ sha256: [] | [Uint8Array | number[]];
248
+ headers: Array<[string, string]>;
249
+ index: bigint;
250
+ encoding_type: string;
251
+ full_path: string;
242
252
  }
243
253
  export type StreamingStrategy = {
244
- Callback: {
245
- token: StreamingCallbackToken;
246
- callback: [Principal, string];
247
- };
254
+ Callback: {
255
+ token: StreamingCallbackToken;
256
+ callback: [Principal, string];
257
+ };
248
258
  };
249
259
  export type TimestampMatcher =
250
- | {Equal: bigint}
251
- | {Between: [bigint, bigint]}
252
- | {GreaterThan: bigint}
253
- | {LessThan: bigint};
260
+ | { Equal: bigint }
261
+ | { Between: [bigint, bigint] }
262
+ | { GreaterThan: bigint }
263
+ | { LessThan: bigint };
254
264
  export interface Tokens {
255
- e8s: bigint;
265
+ e8s: bigint;
256
266
  }
257
267
  export interface UploadChunk {
258
- content: Uint8Array | number[];
259
- batch_id: bigint;
260
- order_id: [] | [bigint];
268
+ content: Uint8Array | number[];
269
+ batch_id: bigint;
270
+ order_id: [] | [bigint];
261
271
  }
262
272
  export interface UploadChunkResult {
263
- chunk_id: bigint;
273
+ chunk_id: bigint;
264
274
  }
265
275
  export interface _SERVICE {
266
- add_credits: ActorMethod<[Principal, Tokens], undefined>;
267
- add_invitation_code: ActorMethod<[string], undefined>;
268
- assert_mission_control_center: ActorMethod<[AssertMissionControlCenterArgs], undefined>;
269
- commit_proposal: ActorMethod<[CommitProposal], null>;
270
- commit_proposal_asset_upload: ActorMethod<[CommitBatch], undefined>;
271
- commit_proposal_many_assets_upload: ActorMethod<[Array<CommitBatch>], undefined>;
272
- count_proposals: ActorMethod<[], bigint>;
273
- create_orbiter: ActorMethod<[CreateCanisterArgs], Principal>;
274
- create_satellite: ActorMethod<[CreateCanisterArgs], Principal>;
275
- del_controllers: ActorMethod<[DeleteControllersArgs], undefined>;
276
- del_custom_domain: ActorMethod<[string], undefined>;
277
- delete_proposal_assets: ActorMethod<[DeleteProposalAssets], undefined>;
278
- get_config: ActorMethod<[], Config>;
279
- get_create_orbiter_fee: ActorMethod<[GetCreateCanisterFeeArgs], [] | [Tokens]>;
280
- get_create_satellite_fee: ActorMethod<[GetCreateCanisterFeeArgs], [] | [Tokens]>;
281
- get_credits: ActorMethod<[], Tokens>;
282
- get_proposal: ActorMethod<[bigint], [] | [Proposal]>;
283
- get_storage_config: ActorMethod<[], StorageConfig>;
284
- get_user_mission_control_center: ActorMethod<[], [] | [MissionControl]>;
285
- http_request: ActorMethod<[HttpRequest], HttpResponse>;
286
- http_request_streaming_callback: ActorMethod<
287
- [StreamingCallbackToken],
288
- StreamingCallbackHttpResponse
289
- >;
290
- init_proposal: ActorMethod<[ProposalType], [bigint, Proposal]>;
291
- init_proposal_asset_upload: ActorMethod<[InitAssetKey, bigint], InitUploadResult>;
292
- init_proposal_many_assets_upload: ActorMethod<
293
- [Array<InitAssetKey>, bigint],
294
- Array<[string, InitUploadResult]>
295
- >;
296
- init_user_mission_control_center: ActorMethod<[], MissionControl>;
297
- list_assets: ActorMethod<[string, ListParams], ListResults>;
298
- list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
299
- list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
300
- list_payments: ActorMethod<[], Array<[bigint, Payment]>>;
301
- list_proposals: ActorMethod<[ListProposalsParams], ListProposalResults>;
302
- list_user_mission_control_centers: ActorMethod<[], Array<[Principal, MissionControl]>>;
303
- reject_proposal: ActorMethod<[CommitProposal], null>;
304
- set_controllers: ActorMethod<[SetControllersArgs], undefined>;
305
- set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
306
- set_fee: ActorMethod<[SegmentKind, Tokens], undefined>;
307
- set_storage_config: ActorMethod<[SetStorageConfig], StorageConfig>;
308
- submit_proposal: ActorMethod<[bigint], [bigint, Proposal]>;
309
- update_rate_config: ActorMethod<[SegmentKind, RateConfig], undefined>;
310
- upload_proposal_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
276
+ add_credits: ActorMethod<[Principal, Tokens], undefined>;
277
+ add_invitation_code: ActorMethod<[string], undefined>;
278
+ assert_mission_control_center: ActorMethod<[AssertMissionControlCenterArgs], undefined>;
279
+ commit_proposal: ActorMethod<[CommitProposal], null>;
280
+ commit_proposal_asset_upload: ActorMethod<[CommitBatch], undefined>;
281
+ commit_proposal_many_assets_upload: ActorMethod<[Array<CommitBatch>], undefined>;
282
+ count_proposals: ActorMethod<[], bigint>;
283
+ create_orbiter: ActorMethod<[CreateCanisterArgs], Principal>;
284
+ create_satellite: ActorMethod<[CreateSatelliteArgs], Principal>;
285
+ del_controllers: ActorMethod<[DeleteControllersArgs], undefined>;
286
+ del_custom_domain: ActorMethod<[string], undefined>;
287
+ delete_proposal_assets: ActorMethod<[DeleteProposalAssets], undefined>;
288
+ get_config: ActorMethod<[], Config>;
289
+ get_create_orbiter_fee: ActorMethod<[GetCreateCanisterFeeArgs], [] | [Tokens]>;
290
+ get_create_satellite_fee: ActorMethod<[GetCreateCanisterFeeArgs], [] | [Tokens]>;
291
+ get_credits: ActorMethod<[], Tokens>;
292
+ get_proposal: ActorMethod<[bigint], [] | [Proposal]>;
293
+ get_storage_config: ActorMethod<[], StorageConfig>;
294
+ get_user_mission_control_center: ActorMethod<[], [] | [MissionControl]>;
295
+ http_request: ActorMethod<[HttpRequest], HttpResponse>;
296
+ http_request_streaming_callback: ActorMethod<
297
+ [StreamingCallbackToken],
298
+ StreamingCallbackHttpResponse
299
+ >;
300
+ init_proposal: ActorMethod<[ProposalType], [bigint, Proposal]>;
301
+ init_proposal_asset_upload: ActorMethod<[InitAssetKey, bigint], InitUploadResult>;
302
+ init_proposal_many_assets_upload: ActorMethod<
303
+ [Array<InitAssetKey>, bigint],
304
+ Array<[string, InitUploadResult]>
305
+ >;
306
+ init_user_mission_control_center: ActorMethod<[], MissionControl>;
307
+ list_assets: ActorMethod<[string, ListParams], ListResults>;
308
+ list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
309
+ list_custom_domains: ActorMethod<[], Array<[string, CustomDomain]>>;
310
+ list_payments: ActorMethod<[], Array<[bigint, Payment]>>;
311
+ list_proposals: ActorMethod<[ListProposalsParams], ListProposalResults>;
312
+ list_user_mission_control_centers: ActorMethod<[], Array<[Principal, MissionControl]>>;
313
+ reject_proposal: ActorMethod<[CommitProposal], null>;
314
+ set_controllers: ActorMethod<[SetControllersArgs], undefined>;
315
+ set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
316
+ set_fee: ActorMethod<[SegmentKind, Tokens], undefined>;
317
+ set_storage_config: ActorMethod<[SetStorageConfig], StorageConfig>;
318
+ submit_proposal: ActorMethod<[bigint], [bigint, Proposal]>;
319
+ update_rate_config: ActorMethod<[SegmentKind, RateConfig], undefined>;
320
+ upload_proposal_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>;
311
321
  }
312
322
  export declare const idlFactory: IDL.InterfaceFactory;
313
- export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
323
+ export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
@@ -19,6 +19,19 @@ export const idlFactory = ({IDL}) => {
19
19
  subnet_id: IDL.Opt(IDL.Principal),
20
20
  user: IDL.Principal
21
21
  });
22
+ const InitStorageMemory = IDL.Variant({
23
+ Heap: IDL.Null,
24
+ Stable: IDL.Null
25
+ });
26
+ const InitStorageArgs = IDL.Record({
27
+ system_memory: IDL.Opt(InitStorageMemory)
28
+ });
29
+ const CreateSatelliteArgs = IDL.Record({
30
+ block_index: IDL.Opt(IDL.Nat64),
31
+ subnet_id: IDL.Opt(IDL.Principal),
32
+ storage: IDL.Opt(InitStorageArgs),
33
+ user: IDL.Principal
34
+ });
22
35
  const DeleteControllersArgs = IDL.Record({
23
36
  controllers: IDL.Vec(IDL.Principal)
24
37
  });
@@ -278,7 +291,7 @@ export const idlFactory = ({IDL}) => {
278
291
  commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
279
292
  count_proposals: IDL.Func([], [IDL.Nat64], []),
280
293
  create_orbiter: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
281
- create_satellite: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
294
+ create_satellite: IDL.Func([CreateSatelliteArgs], [IDL.Principal], []),
282
295
  del_controllers: IDL.Func([DeleteControllersArgs], [], []),
283
296
  del_custom_domain: IDL.Func([IDL.Text], [], []),
284
297
  delete_proposal_assets: IDL.Func([DeleteProposalAssets], [], []),
@@ -19,6 +19,19 @@ export const idlFactory = ({IDL}) => {
19
19
  subnet_id: IDL.Opt(IDL.Principal),
20
20
  user: IDL.Principal
21
21
  });
22
+ const InitStorageMemory = IDL.Variant({
23
+ Heap: IDL.Null,
24
+ Stable: IDL.Null
25
+ });
26
+ const InitStorageArgs = IDL.Record({
27
+ system_memory: IDL.Opt(InitStorageMemory)
28
+ });
29
+ const CreateSatelliteArgs = IDL.Record({
30
+ block_index: IDL.Opt(IDL.Nat64),
31
+ subnet_id: IDL.Opt(IDL.Principal),
32
+ storage: IDL.Opt(InitStorageArgs),
33
+ user: IDL.Principal
34
+ });
22
35
  const DeleteControllersArgs = IDL.Record({
23
36
  controllers: IDL.Vec(IDL.Principal)
24
37
  });
@@ -278,7 +291,7 @@ export const idlFactory = ({IDL}) => {
278
291
  commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
279
292
  count_proposals: IDL.Func([], [IDL.Nat64], ['query']),
280
293
  create_orbiter: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
281
- create_satellite: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
294
+ create_satellite: IDL.Func([CreateSatelliteArgs], [IDL.Principal], []),
282
295
  del_controllers: IDL.Func([DeleteControllersArgs], [], []),
283
296
  del_custom_domain: IDL.Func([IDL.Text], [], []),
284
297
  delete_proposal_assets: IDL.Func([DeleteProposalAssets], [], []),
@@ -19,6 +19,19 @@ export const idlFactory = ({IDL}) => {
19
19
  subnet_id: IDL.Opt(IDL.Principal),
20
20
  user: IDL.Principal
21
21
  });
22
+ const InitStorageMemory = IDL.Variant({
23
+ Heap: IDL.Null,
24
+ Stable: IDL.Null
25
+ });
26
+ const InitStorageArgs = IDL.Record({
27
+ system_memory: IDL.Opt(InitStorageMemory)
28
+ });
29
+ const CreateSatelliteArgs = IDL.Record({
30
+ block_index: IDL.Opt(IDL.Nat64),
31
+ subnet_id: IDL.Opt(IDL.Principal),
32
+ storage: IDL.Opt(InitStorageArgs),
33
+ user: IDL.Principal
34
+ });
22
35
  const DeleteControllersArgs = IDL.Record({
23
36
  controllers: IDL.Vec(IDL.Principal)
24
37
  });
@@ -278,7 +291,7 @@ export const idlFactory = ({IDL}) => {
278
291
  commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
279
292
  count_proposals: IDL.Func([], [IDL.Nat64], ['query']),
280
293
  create_orbiter: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
281
- create_satellite: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
294
+ create_satellite: IDL.Func([CreateSatelliteArgs], [IDL.Principal], []),
282
295
  del_controllers: IDL.Func([DeleteControllersArgs], [], []),
283
296
  del_custom_domain: IDL.Func([IDL.Text], [], []),
284
297
  delete_proposal_assets: IDL.Func([DeleteProposalAssets], [], []),