@junobuild/ic-client 6.0.0 → 7.0.0

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.
@@ -0,0 +1,490 @@
1
+ /* eslint-disable */
2
+
3
+ // @ts-nocheck
4
+
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
+ // You should NOT make any changes in this file as it will be overwritten.
7
+ // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
+
9
+ export const idlFactory = ({IDL}) => {
10
+ const Tokens = IDL.Record({e8s: IDL.Nat64});
11
+ const AssertMissionControlCenterArgs = IDL.Record({
12
+ mission_control_id: IDL.Principal,
13
+ user: IDL.Principal
14
+ });
15
+ const OpenIdPrepareDelegationArgs = IDL.Record({
16
+ jwt: IDL.Text,
17
+ session_key: IDL.Vec(IDL.Nat8),
18
+ salt: IDL.Vec(IDL.Nat8)
19
+ });
20
+ const AuthenticationArgs = IDL.Variant({
21
+ OpenId: OpenIdPrepareDelegationArgs
22
+ });
23
+ const PreparedDelegation = IDL.Record({
24
+ user_key: IDL.Vec(IDL.Nat8),
25
+ expiration: IDL.Nat64
26
+ });
27
+ const OpenIdProvider = IDL.Variant({Google: IDL.Null});
28
+ const OpenIdData = IDL.Record({
29
+ name: IDL.Opt(IDL.Text),
30
+ locale: IDL.Opt(IDL.Text),
31
+ family_name: IDL.Opt(IDL.Text),
32
+ email: IDL.Opt(IDL.Text),
33
+ picture: IDL.Opt(IDL.Text),
34
+ given_name: IDL.Opt(IDL.Text)
35
+ });
36
+ const OpenId = IDL.Record({
37
+ provider: OpenIdProvider,
38
+ data: OpenIdData
39
+ });
40
+ const Provider = IDL.Variant({
41
+ InternetIdentity: IDL.Null,
42
+ OpenId: OpenId
43
+ });
44
+ const MissionControl = IDL.Record({
45
+ updated_at: IDL.Nat64,
46
+ credits: Tokens,
47
+ mission_control_id: IDL.Opt(IDL.Principal),
48
+ provider: IDL.Opt(Provider),
49
+ owner: IDL.Principal,
50
+ created_at: IDL.Nat64
51
+ });
52
+ const Authentication = IDL.Record({
53
+ delegation: PreparedDelegation,
54
+ mission_control: MissionControl
55
+ });
56
+ const JwtFindProviderError = IDL.Variant({
57
+ BadClaim: IDL.Text,
58
+ BadSig: IDL.Text,
59
+ NoMatchingProvider: IDL.Null
60
+ });
61
+ const JwtVerifyError = IDL.Variant({
62
+ WrongKeyType: IDL.Null,
63
+ MissingKid: IDL.Null,
64
+ BadClaim: IDL.Text,
65
+ BadSig: IDL.Text,
66
+ NoKeyForKid: IDL.Null
67
+ });
68
+ const GetOrRefreshJwksError = IDL.Variant({
69
+ InvalidConfig: IDL.Text,
70
+ MissingKid: IDL.Null,
71
+ BadClaim: IDL.Text,
72
+ KeyNotFoundCooldown: IDL.Null,
73
+ CertificateNotFound: IDL.Null,
74
+ BadSig: IDL.Text,
75
+ MissingLastAttempt: IDL.Text,
76
+ KeyNotFound: IDL.Null,
77
+ FetchFailed: IDL.Text
78
+ });
79
+ const PrepareDelegationError = IDL.Variant({
80
+ JwtFindProvider: JwtFindProviderError,
81
+ GetCachedJwks: IDL.Null,
82
+ JwtVerify: JwtVerifyError,
83
+ GetOrFetchJwks: GetOrRefreshJwksError,
84
+ DeriveSeedFailed: IDL.Text
85
+ });
86
+ const AuthenticationError = IDL.Variant({
87
+ PrepareDelegation: PrepareDelegationError,
88
+ RegisterUser: IDL.Text
89
+ });
90
+ const Result = IDL.Variant({
91
+ Ok: Authentication,
92
+ Err: AuthenticationError
93
+ });
94
+ const CommitProposal = IDL.Record({
95
+ sha256: IDL.Vec(IDL.Nat8),
96
+ proposal_id: IDL.Nat
97
+ });
98
+ const CommitBatch = IDL.Record({
99
+ batch_id: IDL.Nat,
100
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
101
+ chunk_ids: IDL.Vec(IDL.Nat)
102
+ });
103
+ const CreateCanisterArgs = IDL.Record({
104
+ block_index: IDL.Opt(IDL.Nat64),
105
+ subnet_id: IDL.Opt(IDL.Principal),
106
+ user: IDL.Principal
107
+ });
108
+ const InitStorageMemory = IDL.Variant({
109
+ Heap: IDL.Null,
110
+ Stable: IDL.Null
111
+ });
112
+ const InitStorageArgs = IDL.Record({
113
+ system_memory: IDL.Opt(InitStorageMemory)
114
+ });
115
+ const CreateSatelliteArgs = IDL.Record({
116
+ block_index: IDL.Opt(IDL.Nat64),
117
+ subnet_id: IDL.Opt(IDL.Principal),
118
+ storage: IDL.Opt(InitStorageArgs),
119
+ user: IDL.Principal
120
+ });
121
+ const DeleteControllersArgs = IDL.Record({
122
+ controllers: IDL.Vec(IDL.Principal)
123
+ });
124
+ const DeleteProposalAssets = IDL.Record({
125
+ proposal_ids: IDL.Vec(IDL.Nat)
126
+ });
127
+ const OpenIdProviderDelegationConfig = IDL.Record({
128
+ targets: IDL.Opt(IDL.Vec(IDL.Principal)),
129
+ max_time_to_live: IDL.Opt(IDL.Nat64)
130
+ });
131
+ const OpenIdProviderConfig = IDL.Record({
132
+ delegation: IDL.Opt(OpenIdProviderDelegationConfig),
133
+ client_id: IDL.Text
134
+ });
135
+ const AuthenticationConfigOpenId = IDL.Record({
136
+ observatory_id: IDL.Opt(IDL.Principal),
137
+ providers: IDL.Vec(IDL.Tuple(OpenIdProvider, OpenIdProviderConfig))
138
+ });
139
+ const AuthenticationConfigInternetIdentity = IDL.Record({
140
+ derivation_origin: IDL.Opt(IDL.Text),
141
+ external_alternative_origins: IDL.Opt(IDL.Vec(IDL.Text))
142
+ });
143
+ const AuthenticationRules = IDL.Record({
144
+ allowed_callers: IDL.Vec(IDL.Principal)
145
+ });
146
+ const AuthenticationConfig = IDL.Record({
147
+ updated_at: IDL.Opt(IDL.Nat64),
148
+ openid: IDL.Opt(AuthenticationConfigOpenId),
149
+ created_at: IDL.Opt(IDL.Nat64),
150
+ version: IDL.Opt(IDL.Nat64),
151
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
152
+ rules: IDL.Opt(AuthenticationRules)
153
+ });
154
+ const StorageConfigIFrame = IDL.Variant({
155
+ Deny: IDL.Null,
156
+ AllowAny: IDL.Null,
157
+ SameOrigin: IDL.Null
158
+ });
159
+ const ConfigMaxMemorySize = IDL.Record({
160
+ stable: IDL.Opt(IDL.Nat64),
161
+ heap: IDL.Opt(IDL.Nat64)
162
+ });
163
+ const StorageConfigRawAccess = IDL.Variant({
164
+ Deny: IDL.Null,
165
+ Allow: IDL.Null
166
+ });
167
+ const StorageConfigRedirect = IDL.Record({
168
+ status_code: IDL.Nat16,
169
+ location: IDL.Text
170
+ });
171
+ const StorageConfig = IDL.Record({
172
+ iframe: IDL.Opt(StorageConfigIFrame),
173
+ updated_at: IDL.Opt(IDL.Nat64),
174
+ rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
175
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
176
+ created_at: IDL.Opt(IDL.Nat64),
177
+ version: IDL.Opt(IDL.Nat64),
178
+ max_memory_size: IDL.Opt(ConfigMaxMemorySize),
179
+ raw_access: IDL.Opt(StorageConfigRawAccess),
180
+ redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
181
+ });
182
+ const Config = IDL.Record({
183
+ authentication: IDL.Opt(AuthenticationConfig),
184
+ storage: StorageConfig
185
+ });
186
+ const GetCreateCanisterFeeArgs = IDL.Record({user: IDL.Principal});
187
+ const OpenIdGetDelegationArgs = IDL.Record({
188
+ jwt: IDL.Text,
189
+ session_key: IDL.Vec(IDL.Nat8),
190
+ salt: IDL.Vec(IDL.Nat8),
191
+ expiration: IDL.Nat64
192
+ });
193
+ const GetDelegationArgs = IDL.Variant({OpenId: OpenIdGetDelegationArgs});
194
+ const Delegation = IDL.Record({
195
+ pubkey: IDL.Vec(IDL.Nat8),
196
+ targets: IDL.Opt(IDL.Vec(IDL.Principal)),
197
+ expiration: IDL.Nat64
198
+ });
199
+ const SignedDelegation = IDL.Record({
200
+ signature: IDL.Vec(IDL.Nat8),
201
+ delegation: Delegation
202
+ });
203
+ const GetDelegationError = IDL.Variant({
204
+ JwtFindProvider: JwtFindProviderError,
205
+ GetCachedJwks: IDL.Null,
206
+ NoSuchDelegation: IDL.Null,
207
+ JwtVerify: JwtVerifyError,
208
+ GetOrFetchJwks: GetOrRefreshJwksError,
209
+ DeriveSeedFailed: IDL.Text
210
+ });
211
+ const Result_1 = IDL.Variant({
212
+ Ok: SignedDelegation,
213
+ Err: GetDelegationError
214
+ });
215
+ const ProposalStatus = IDL.Variant({
216
+ Initialized: IDL.Null,
217
+ Failed: IDL.Null,
218
+ Open: IDL.Null,
219
+ Rejected: IDL.Null,
220
+ Executed: IDL.Null,
221
+ Accepted: IDL.Null
222
+ });
223
+ const AssetsUpgradeOptions = IDL.Record({
224
+ clear_existing_assets: IDL.Opt(IDL.Bool)
225
+ });
226
+ const SegmentsDeploymentOptions = IDL.Record({
227
+ orbiter: IDL.Opt(IDL.Text),
228
+ mission_control_version: IDL.Opt(IDL.Text),
229
+ satellite_version: IDL.Opt(IDL.Text)
230
+ });
231
+ const ProposalType = IDL.Variant({
232
+ AssetsUpgrade: AssetsUpgradeOptions,
233
+ SegmentsDeployment: SegmentsDeploymentOptions
234
+ });
235
+ const Proposal = IDL.Record({
236
+ status: ProposalStatus,
237
+ updated_at: IDL.Nat64,
238
+ sha256: IDL.Opt(IDL.Vec(IDL.Nat8)),
239
+ executed_at: IDL.Opt(IDL.Nat64),
240
+ owner: IDL.Principal,
241
+ created_at: IDL.Nat64,
242
+ version: IDL.Opt(IDL.Nat64),
243
+ proposal_type: ProposalType
244
+ });
245
+ const HttpRequest = IDL.Record({
246
+ url: IDL.Text,
247
+ method: IDL.Text,
248
+ body: IDL.Vec(IDL.Nat8),
249
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
250
+ certificate_version: IDL.Opt(IDL.Nat16)
251
+ });
252
+ const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
253
+ const StreamingCallbackToken = IDL.Record({
254
+ memory: Memory,
255
+ token: IDL.Opt(IDL.Text),
256
+ sha256: IDL.Opt(IDL.Vec(IDL.Nat8)),
257
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
258
+ index: IDL.Nat64,
259
+ encoding_type: IDL.Text,
260
+ full_path: IDL.Text
261
+ });
262
+ const StreamingStrategy = IDL.Variant({
263
+ Callback: IDL.Record({
264
+ token: StreamingCallbackToken,
265
+ callback: IDL.Func([], [], ['query'])
266
+ })
267
+ });
268
+ const HttpResponse = IDL.Record({
269
+ body: IDL.Vec(IDL.Nat8),
270
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
271
+ streaming_strategy: IDL.Opt(StreamingStrategy),
272
+ status_code: IDL.Nat16
273
+ });
274
+ const StreamingCallbackHttpResponse = IDL.Record({
275
+ token: IDL.Opt(StreamingCallbackToken),
276
+ body: IDL.Vec(IDL.Nat8)
277
+ });
278
+ const InitAssetKey = IDL.Record({
279
+ token: IDL.Opt(IDL.Text),
280
+ collection: IDL.Text,
281
+ name: IDL.Text,
282
+ description: IDL.Opt(IDL.Text),
283
+ encoding_type: IDL.Opt(IDL.Text),
284
+ full_path: IDL.Text
285
+ });
286
+ const InitUploadResult = IDL.Record({batch_id: IDL.Nat});
287
+ const ListOrderField = IDL.Variant({
288
+ UpdatedAt: IDL.Null,
289
+ Keys: IDL.Null,
290
+ CreatedAt: IDL.Null
291
+ });
292
+ const ListOrder = IDL.Record({field: ListOrderField, desc: IDL.Bool});
293
+ const TimestampMatcher = IDL.Variant({
294
+ Equal: IDL.Nat64,
295
+ Between: IDL.Tuple(IDL.Nat64, IDL.Nat64),
296
+ GreaterThan: IDL.Nat64,
297
+ LessThan: IDL.Nat64
298
+ });
299
+ const ListMatcher = IDL.Record({
300
+ key: IDL.Opt(IDL.Text),
301
+ updated_at: IDL.Opt(TimestampMatcher),
302
+ description: IDL.Opt(IDL.Text),
303
+ created_at: IDL.Opt(TimestampMatcher)
304
+ });
305
+ const ListPaginate = IDL.Record({
306
+ start_after: IDL.Opt(IDL.Text),
307
+ limit: IDL.Opt(IDL.Nat64)
308
+ });
309
+ const ListParams = IDL.Record({
310
+ order: IDL.Opt(ListOrder),
311
+ owner: IDL.Opt(IDL.Principal),
312
+ matcher: IDL.Opt(ListMatcher),
313
+ paginate: IDL.Opt(ListPaginate)
314
+ });
315
+ const AssetKey = IDL.Record({
316
+ token: IDL.Opt(IDL.Text),
317
+ collection: IDL.Text,
318
+ owner: IDL.Principal,
319
+ name: IDL.Text,
320
+ description: IDL.Opt(IDL.Text),
321
+ full_path: IDL.Text
322
+ });
323
+ const AssetEncodingNoContent = IDL.Record({
324
+ modified: IDL.Nat64,
325
+ sha256: IDL.Vec(IDL.Nat8),
326
+ total_length: IDL.Nat
327
+ });
328
+ const AssetNoContent = IDL.Record({
329
+ key: AssetKey,
330
+ updated_at: IDL.Nat64,
331
+ encodings: IDL.Vec(IDL.Tuple(IDL.Text, AssetEncodingNoContent)),
332
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
333
+ created_at: IDL.Nat64,
334
+ version: IDL.Opt(IDL.Nat64)
335
+ });
336
+ const ListResults = IDL.Record({
337
+ matches_pages: IDL.Opt(IDL.Nat64),
338
+ matches_length: IDL.Nat64,
339
+ items_page: IDL.Opt(IDL.Nat64),
340
+ items: IDL.Vec(IDL.Tuple(IDL.Text, AssetNoContent)),
341
+ items_length: IDL.Nat64
342
+ });
343
+ const ControllerScope = IDL.Variant({
344
+ Write: IDL.Null,
345
+ Admin: IDL.Null,
346
+ Submit: IDL.Null
347
+ });
348
+ const Controller = IDL.Record({
349
+ updated_at: IDL.Nat64,
350
+ metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
351
+ created_at: IDL.Nat64,
352
+ scope: ControllerScope,
353
+ expires_at: IDL.Opt(IDL.Nat64)
354
+ });
355
+ const CustomDomain = IDL.Record({
356
+ updated_at: IDL.Nat64,
357
+ created_at: IDL.Nat64,
358
+ version: IDL.Opt(IDL.Nat64),
359
+ bn_id: IDL.Opt(IDL.Text)
360
+ });
361
+ const PaymentStatus = IDL.Variant({
362
+ Refunded: IDL.Null,
363
+ Acknowledged: IDL.Null,
364
+ Completed: IDL.Null
365
+ });
366
+ const Payment = IDL.Record({
367
+ status: PaymentStatus,
368
+ updated_at: IDL.Nat64,
369
+ block_index_payment: IDL.Nat64,
370
+ mission_control_id: IDL.Opt(IDL.Principal),
371
+ created_at: IDL.Nat64,
372
+ block_index_refunded: IDL.Opt(IDL.Nat64)
373
+ });
374
+ const ListProposalsOrder = IDL.Record({desc: IDL.Bool});
375
+ const ListProposalsPaginate = IDL.Record({
376
+ start_after: IDL.Opt(IDL.Nat),
377
+ limit: IDL.Opt(IDL.Nat)
378
+ });
379
+ const ListProposalsParams = IDL.Record({
380
+ order: IDL.Opt(ListProposalsOrder),
381
+ paginate: IDL.Opt(ListProposalsPaginate)
382
+ });
383
+ const ProposalKey = IDL.Record({proposal_id: IDL.Nat});
384
+ const ListProposalResults = IDL.Record({
385
+ matches_length: IDL.Nat64,
386
+ items: IDL.Vec(IDL.Tuple(ProposalKey, Proposal)),
387
+ items_length: IDL.Nat64
388
+ });
389
+ const SetAuthenticationConfig = IDL.Record({
390
+ openid: IDL.Opt(AuthenticationConfigOpenId),
391
+ version: IDL.Opt(IDL.Nat64),
392
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
393
+ rules: IDL.Opt(AuthenticationRules)
394
+ });
395
+ const SetController = IDL.Record({
396
+ metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
397
+ scope: ControllerScope,
398
+ expires_at: IDL.Opt(IDL.Nat64)
399
+ });
400
+ const SetControllersArgs = IDL.Record({
401
+ controller: SetController,
402
+ controllers: IDL.Vec(IDL.Principal)
403
+ });
404
+ const SegmentKind = IDL.Variant({
405
+ Orbiter: IDL.Null,
406
+ MissionControl: IDL.Null,
407
+ Satellite: IDL.Null
408
+ });
409
+ const SetStorageConfig = IDL.Record({
410
+ iframe: IDL.Opt(StorageConfigIFrame),
411
+ rewrites: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
412
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)))),
413
+ version: IDL.Opt(IDL.Nat64),
414
+ max_memory_size: IDL.Opt(ConfigMaxMemorySize),
415
+ raw_access: IDL.Opt(StorageConfigRawAccess),
416
+ redirects: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, StorageConfigRedirect)))
417
+ });
418
+ const RateConfig = IDL.Record({
419
+ max_tokens: IDL.Nat64,
420
+ time_per_token_ns: IDL.Nat64
421
+ });
422
+ const UploadChunk = IDL.Record({
423
+ content: IDL.Vec(IDL.Nat8),
424
+ batch_id: IDL.Nat,
425
+ order_id: IDL.Opt(IDL.Nat)
426
+ });
427
+ const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
428
+
429
+ return IDL.Service({
430
+ add_credits: IDL.Func([IDL.Principal, Tokens], [], []),
431
+ add_invitation_code: IDL.Func([IDL.Text], [], []),
432
+ assert_mission_control_center: IDL.Func([AssertMissionControlCenterArgs], [], ['query']),
433
+ authenticate: IDL.Func([AuthenticationArgs], [Result], []),
434
+ commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
435
+ commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
436
+ commit_proposal_many_assets_upload: IDL.Func([IDL.Vec(CommitBatch)], [], []),
437
+ count_proposals: IDL.Func([], [IDL.Nat64], ['query']),
438
+ create_orbiter: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
439
+ create_satellite: IDL.Func([CreateSatelliteArgs], [IDL.Principal], []),
440
+ del_controllers: IDL.Func([DeleteControllersArgs], [], []),
441
+ del_custom_domain: IDL.Func([IDL.Text], [], []),
442
+ delete_proposal_assets: IDL.Func([DeleteProposalAssets], [], []),
443
+ get_auth_config: IDL.Func([], [IDL.Opt(AuthenticationConfig)], ['query']),
444
+ get_config: IDL.Func([], [Config], ['query']),
445
+ get_create_orbiter_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], ['query']),
446
+ get_create_satellite_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], ['query']),
447
+ get_credits: IDL.Func([], [Tokens], ['query']),
448
+ get_delegation: IDL.Func([GetDelegationArgs], [Result_1], ['query']),
449
+ get_proposal: IDL.Func([IDL.Nat], [IDL.Opt(Proposal)], ['query']),
450
+ get_storage_config: IDL.Func([], [StorageConfig], ['query']),
451
+ get_user_mission_control_center: IDL.Func([], [IDL.Opt(MissionControl)], ['query']),
452
+ http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
453
+ http_request_streaming_callback: IDL.Func(
454
+ [StreamingCallbackToken],
455
+ [StreamingCallbackHttpResponse],
456
+ ['query']
457
+ ),
458
+ init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
459
+ init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
460
+ init_proposal_many_assets_upload: IDL.Func(
461
+ [IDL.Vec(InitAssetKey), IDL.Nat],
462
+ [IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
463
+ []
464
+ ),
465
+ init_user_mission_control_center: IDL.Func([], [MissionControl], []),
466
+ list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
467
+ list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
468
+ list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
469
+ list_payments: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Nat64, Payment))], ['query']),
470
+ list_proposals: IDL.Func([ListProposalsParams], [ListProposalResults], ['query']),
471
+ list_user_mission_control_centers: IDL.Func(
472
+ [],
473
+ [IDL.Vec(IDL.Tuple(IDL.Principal, MissionControl))],
474
+ ['query']
475
+ ),
476
+ reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
477
+ set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []),
478
+ set_controllers: IDL.Func([SetControllersArgs], [], []),
479
+ set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
480
+ set_fee: IDL.Func([SegmentKind, Tokens], [], []),
481
+ set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
482
+ submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
483
+ update_rate_config: IDL.Func([SegmentKind, RateConfig], [], []),
484
+ upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
485
+ });
486
+ };
487
+
488
+ export const init = ({IDL}) => {
489
+ return [];
490
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/ic-client",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "Agent and actor with generated bindings for Juno on the Internet Computer",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",