@junobuild/ic-client 7.1.0 → 7.1.1

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 (29) 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 +85 -15
  6. package/declarations/console/console.factory.certified.did.js +86 -15
  7. package/declarations/console/console.factory.did.js +90 -15
  8. package/declarations/console/console.factory.did.mjs +90 -15
  9. package/declarations/deprecated/console-0-2-0.did.d.ts +457 -0
  10. package/declarations/deprecated/console-0-2-0.factory.did.js +487 -0
  11. package/declarations/mission_control/mission_control.did.d.ts +1 -1
  12. package/declarations/mission_control/mission_control.factory.certified.did.js +1 -1
  13. package/declarations/mission_control/mission_control.factory.did.js +1 -1
  14. package/declarations/observatory/observatory.did.d.ts +3 -2
  15. package/declarations/observatory/observatory.factory.certified.did.js +4 -3
  16. package/declarations/observatory/observatory.factory.did.js +4 -3
  17. package/declarations/observatory/observatory.factory.did.mjs +4 -3
  18. package/declarations/orbiter/orbiter.did.d.ts +1 -1
  19. package/declarations/orbiter/orbiter.factory.certified.did.js +1 -1
  20. package/declarations/orbiter/orbiter.factory.did.js +1 -1
  21. package/declarations/orbiter/orbiter.factory.did.mjs +1 -1
  22. package/declarations/satellite/satellite.did.d.ts +1 -1
  23. package/declarations/satellite/satellite.factory.certified.did.js +1 -1
  24. package/declarations/satellite/satellite.factory.did.js +1 -1
  25. package/declarations/satellite/satellite.factory.did.mjs +1 -1
  26. package/declarations/sputnik/sputnik.did.d.ts +1 -1
  27. package/declarations/sputnik/sputnik.factory.certified.did.js +1 -1
  28. package/declarations/sputnik/sputnik.factory.did.js +1 -1
  29. package/package.json +1 -1
@@ -0,0 +1,487 @@
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 Account = 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
+ account: Account
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 CreateOrbiterArgs = 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 SegmentKind = IDL.Variant({
187
+ Orbiter: IDL.Null,
188
+ MissionControl: IDL.Null,
189
+ Satellite: IDL.Null
190
+ });
191
+ const GetCreateCanisterFeeArgs = IDL.Record({user: IDL.Principal});
192
+ const OpenIdGetDelegationArgs = IDL.Record({
193
+ jwt: IDL.Text,
194
+ session_key: IDL.Vec(IDL.Nat8),
195
+ salt: IDL.Vec(IDL.Nat8),
196
+ expiration: IDL.Nat64
197
+ });
198
+ const GetDelegationArgs = IDL.Variant({OpenId: OpenIdGetDelegationArgs});
199
+ const Delegation = IDL.Record({
200
+ pubkey: IDL.Vec(IDL.Nat8),
201
+ targets: IDL.Opt(IDL.Vec(IDL.Principal)),
202
+ expiration: IDL.Nat64
203
+ });
204
+ const SignedDelegation = IDL.Record({
205
+ signature: IDL.Vec(IDL.Nat8),
206
+ delegation: Delegation
207
+ });
208
+ const GetDelegationError = IDL.Variant({
209
+ JwtFindProvider: JwtFindProviderError,
210
+ GetCachedJwks: IDL.Null,
211
+ NoSuchDelegation: IDL.Null,
212
+ JwtVerify: JwtVerifyError,
213
+ GetOrFetchJwks: GetOrRefreshJwksError,
214
+ DeriveSeedFailed: IDL.Text
215
+ });
216
+ const Result_1 = IDL.Variant({
217
+ Ok: SignedDelegation,
218
+ Err: GetDelegationError
219
+ });
220
+ const ProposalStatus = IDL.Variant({
221
+ Initialized: IDL.Null,
222
+ Failed: IDL.Null,
223
+ Open: IDL.Null,
224
+ Rejected: IDL.Null,
225
+ Executed: IDL.Null,
226
+ Accepted: IDL.Null
227
+ });
228
+ const AssetsUpgradeOptions = IDL.Record({
229
+ clear_existing_assets: IDL.Opt(IDL.Bool)
230
+ });
231
+ const SegmentsDeploymentOptions = IDL.Record({
232
+ orbiter: IDL.Opt(IDL.Text),
233
+ mission_control_version: IDL.Opt(IDL.Text),
234
+ satellite_version: IDL.Opt(IDL.Text)
235
+ });
236
+ const ProposalType = IDL.Variant({
237
+ AssetsUpgrade: AssetsUpgradeOptions,
238
+ SegmentsDeployment: SegmentsDeploymentOptions
239
+ });
240
+ const Proposal = IDL.Record({
241
+ status: ProposalStatus,
242
+ updated_at: IDL.Nat64,
243
+ sha256: IDL.Opt(IDL.Vec(IDL.Nat8)),
244
+ executed_at: IDL.Opt(IDL.Nat64),
245
+ owner: IDL.Principal,
246
+ created_at: IDL.Nat64,
247
+ version: IDL.Opt(IDL.Nat64),
248
+ proposal_type: ProposalType
249
+ });
250
+ const HttpRequest = IDL.Record({
251
+ url: IDL.Text,
252
+ method: IDL.Text,
253
+ body: IDL.Vec(IDL.Nat8),
254
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
255
+ certificate_version: IDL.Opt(IDL.Nat16)
256
+ });
257
+ const Memory = IDL.Variant({Heap: IDL.Null, Stable: IDL.Null});
258
+ const StreamingCallbackToken = IDL.Record({
259
+ memory: Memory,
260
+ token: IDL.Opt(IDL.Text),
261
+ sha256: IDL.Opt(IDL.Vec(IDL.Nat8)),
262
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
263
+ index: IDL.Nat64,
264
+ encoding_type: IDL.Text,
265
+ full_path: IDL.Text
266
+ });
267
+ const StreamingStrategy = IDL.Variant({
268
+ Callback: IDL.Record({
269
+ token: StreamingCallbackToken,
270
+ callback: IDL.Func([], [], ['query'])
271
+ })
272
+ });
273
+ const HttpResponse = IDL.Record({
274
+ body: IDL.Vec(IDL.Nat8),
275
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
276
+ streaming_strategy: IDL.Opt(StreamingStrategy),
277
+ status_code: IDL.Nat16
278
+ });
279
+ const StreamingCallbackHttpResponse = IDL.Record({
280
+ token: IDL.Opt(StreamingCallbackToken),
281
+ body: IDL.Vec(IDL.Nat8)
282
+ });
283
+ const InitAssetKey = IDL.Record({
284
+ token: IDL.Opt(IDL.Text),
285
+ collection: IDL.Text,
286
+ name: IDL.Text,
287
+ description: IDL.Opt(IDL.Text),
288
+ encoding_type: IDL.Opt(IDL.Text),
289
+ full_path: IDL.Text
290
+ });
291
+ const InitUploadResult = IDL.Record({batch_id: IDL.Nat});
292
+ const ListOrderField = IDL.Variant({
293
+ UpdatedAt: IDL.Null,
294
+ Keys: IDL.Null,
295
+ CreatedAt: IDL.Null
296
+ });
297
+ const ListOrder = IDL.Record({field: ListOrderField, desc: IDL.Bool});
298
+ const TimestampMatcher = IDL.Variant({
299
+ Equal: IDL.Nat64,
300
+ Between: IDL.Tuple(IDL.Nat64, IDL.Nat64),
301
+ GreaterThan: IDL.Nat64,
302
+ LessThan: IDL.Nat64
303
+ });
304
+ const ListMatcher = IDL.Record({
305
+ key: IDL.Opt(IDL.Text),
306
+ updated_at: IDL.Opt(TimestampMatcher),
307
+ description: IDL.Opt(IDL.Text),
308
+ created_at: IDL.Opt(TimestampMatcher)
309
+ });
310
+ const ListPaginate = IDL.Record({
311
+ start_after: IDL.Opt(IDL.Text),
312
+ limit: IDL.Opt(IDL.Nat64)
313
+ });
314
+ const ListParams = IDL.Record({
315
+ order: IDL.Opt(ListOrder),
316
+ owner: IDL.Opt(IDL.Principal),
317
+ matcher: IDL.Opt(ListMatcher),
318
+ paginate: IDL.Opt(ListPaginate)
319
+ });
320
+ const AssetKey = IDL.Record({
321
+ token: IDL.Opt(IDL.Text),
322
+ collection: IDL.Text,
323
+ owner: IDL.Principal,
324
+ name: IDL.Text,
325
+ description: IDL.Opt(IDL.Text),
326
+ full_path: IDL.Text
327
+ });
328
+ const AssetEncodingNoContent = IDL.Record({
329
+ modified: IDL.Nat64,
330
+ sha256: IDL.Vec(IDL.Nat8),
331
+ total_length: IDL.Nat
332
+ });
333
+ const AssetNoContent = IDL.Record({
334
+ key: AssetKey,
335
+ updated_at: IDL.Nat64,
336
+ encodings: IDL.Vec(IDL.Tuple(IDL.Text, AssetEncodingNoContent)),
337
+ headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
338
+ created_at: IDL.Nat64,
339
+ version: IDL.Opt(IDL.Nat64)
340
+ });
341
+ const ListResults = IDL.Record({
342
+ matches_pages: IDL.Opt(IDL.Nat64),
343
+ matches_length: IDL.Nat64,
344
+ items_page: IDL.Opt(IDL.Nat64),
345
+ items: IDL.Vec(IDL.Tuple(IDL.Text, AssetNoContent)),
346
+ items_length: IDL.Nat64
347
+ });
348
+ const ControllerScope = IDL.Variant({
349
+ Write: IDL.Null,
350
+ Admin: IDL.Null,
351
+ Submit: IDL.Null
352
+ });
353
+ const Controller = IDL.Record({
354
+ updated_at: IDL.Nat64,
355
+ metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
356
+ created_at: IDL.Nat64,
357
+ scope: ControllerScope,
358
+ expires_at: IDL.Opt(IDL.Nat64)
359
+ });
360
+ const CustomDomain = IDL.Record({
361
+ updated_at: IDL.Nat64,
362
+ created_at: IDL.Nat64,
363
+ version: IDL.Opt(IDL.Nat64),
364
+ bn_id: IDL.Opt(IDL.Text)
365
+ });
366
+ const PaymentStatus = IDL.Variant({
367
+ Refunded: IDL.Null,
368
+ Acknowledged: IDL.Null,
369
+ Completed: IDL.Null
370
+ });
371
+ const Payment = IDL.Record({
372
+ status: PaymentStatus,
373
+ updated_at: IDL.Nat64,
374
+ block_index_payment: IDL.Nat64,
375
+ mission_control_id: IDL.Opt(IDL.Principal),
376
+ created_at: IDL.Nat64,
377
+ block_index_refunded: IDL.Opt(IDL.Nat64)
378
+ });
379
+ const ListProposalsOrder = IDL.Record({desc: IDL.Bool});
380
+ const ListProposalsPaginate = IDL.Record({
381
+ start_after: IDL.Opt(IDL.Nat),
382
+ limit: IDL.Opt(IDL.Nat)
383
+ });
384
+ const ListProposalsParams = IDL.Record({
385
+ order: IDL.Opt(ListProposalsOrder),
386
+ paginate: IDL.Opt(ListProposalsPaginate)
387
+ });
388
+ const ProposalKey = IDL.Record({proposal_id: IDL.Nat});
389
+ const ListProposalResults = IDL.Record({
390
+ matches_length: IDL.Nat64,
391
+ items: IDL.Vec(IDL.Tuple(ProposalKey, Proposal)),
392
+ items_length: IDL.Nat64
393
+ });
394
+ const SetAuthenticationConfig = IDL.Record({
395
+ openid: IDL.Opt(AuthenticationConfigOpenId),
396
+ version: IDL.Opt(IDL.Nat64),
397
+ internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
398
+ rules: IDL.Opt(AuthenticationRules)
399
+ });
400
+ const SetController = IDL.Record({
401
+ metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
402
+ scope: ControllerScope,
403
+ expires_at: IDL.Opt(IDL.Nat64)
404
+ });
405
+ const SetControllersArgs = IDL.Record({
406
+ controller: SetController,
407
+ controllers: IDL.Vec(IDL.Principal)
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([CreateOrbiterArgs], [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_account: IDL.Func([], [IDL.Opt(Account)], ['query']),
444
+ get_auth_config: IDL.Func([], [IDL.Opt(AuthenticationConfig)], ['query']),
445
+ get_config: IDL.Func([], [Config], ['query']),
446
+ get_create_fee: IDL.Func([SegmentKind], [IDL.Opt(Tokens)], ['query']),
447
+ get_create_orbiter_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], ['query']),
448
+ get_create_satellite_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], ['query']),
449
+ get_credits: IDL.Func([], [Tokens], ['query']),
450
+ get_delegation: IDL.Func([GetDelegationArgs], [Result_1], ['query']),
451
+ get_proposal: IDL.Func([IDL.Nat], [IDL.Opt(Proposal)], ['query']),
452
+ get_storage_config: IDL.Func([], [StorageConfig], ['query']),
453
+ http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
454
+ http_request_streaming_callback: IDL.Func(
455
+ [StreamingCallbackToken],
456
+ [StreamingCallbackHttpResponse],
457
+ ['query']
458
+ ),
459
+ init_proposal: IDL.Func([ProposalType], [IDL.Nat, Proposal], []),
460
+ init_proposal_asset_upload: IDL.Func([InitAssetKey, IDL.Nat], [InitUploadResult], []),
461
+ init_proposal_many_assets_upload: IDL.Func(
462
+ [IDL.Vec(InitAssetKey), IDL.Nat],
463
+ [IDL.Vec(IDL.Tuple(IDL.Text, InitUploadResult))],
464
+ []
465
+ ),
466
+ init_user_mission_control_center: IDL.Func([], [Account], []),
467
+ list_accounts: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Account))], ['query']),
468
+ list_assets: IDL.Func([IDL.Text, ListParams], [ListResults], ['query']),
469
+ list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
470
+ list_custom_domains: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Text, CustomDomain))], ['query']),
471
+ list_payments: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Nat64, Payment))], ['query']),
472
+ list_proposals: IDL.Func([ListProposalsParams], [ListProposalResults], ['query']),
473
+ reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
474
+ set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []),
475
+ set_controllers: IDL.Func([SetControllersArgs], [], []),
476
+ set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []),
477
+ set_fee: IDL.Func([SegmentKind, Tokens], [], []),
478
+ set_storage_config: IDL.Func([SetStorageConfig], [StorageConfig], []),
479
+ submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []),
480
+ update_rate_config: IDL.Func([SegmentKind, RateConfig], [], []),
481
+ upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
482
+ });
483
+ };
484
+
485
+ export const init = ({IDL}) => {
486
+ return [];
487
+ };
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -131,14 +131,15 @@ export interface _SERVICE {
131
131
  del_controllers: ActorMethod<[DeleteControllersArgs], undefined>;
132
132
  get_notify_status: ActorMethod<[GetNotifications], NotifyStatus>;
133
133
  get_openid_certificate: ActorMethod<[GetOpenIdCertificateArgs], [] | [OpenIdCertificate]>;
134
+ is_openid_monitoring_enabled: ActorMethod<[], boolean>;
134
135
  list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
135
136
  notify: ActorMethod<[NotifyArgs], undefined>;
136
137
  ping: ActorMethod<[NotifyArgs], undefined>;
137
138
  set_controllers: ActorMethod<[SetControllersArgs], undefined>;
138
139
  set_env: ActorMethod<[Env], undefined>;
140
+ set_rate_config: ActorMethod<[RateKind, RateConfig], undefined>;
139
141
  start_openid_monitoring: ActorMethod<[], undefined>;
140
142
  stop_openid_monitoring: ActorMethod<[], undefined>;
141
- update_rate_config: ActorMethod<[RateKind, RateConfig], undefined>;
142
143
  }
143
144
  export declare const idlFactory: IDL.InterfaceFactory;
144
145
  export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -129,14 +129,15 @@ export const idlFactory = ({IDL}) => {
129
129
  del_controllers: IDL.Func([DeleteControllersArgs], [], []),
130
130
  get_notify_status: IDL.Func([GetNotifications], [NotifyStatus], []),
131
131
  get_openid_certificate: IDL.Func([GetOpenIdCertificateArgs], [IDL.Opt(OpenIdCertificate)], []),
132
+ is_openid_monitoring_enabled: IDL.Func([], [IDL.Bool], []),
132
133
  list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], []),
133
134
  notify: IDL.Func([NotifyArgs], [], []),
134
135
  ping: IDL.Func([NotifyArgs], [], []),
135
136
  set_controllers: IDL.Func([SetControllersArgs], [], []),
136
137
  set_env: IDL.Func([Env], [], []),
138
+ set_rate_config: IDL.Func([RateKind, RateConfig], [], []),
137
139
  start_openid_monitoring: IDL.Func([], [], []),
138
- stop_openid_monitoring: IDL.Func([], [], []),
139
- update_rate_config: IDL.Func([RateKind, RateConfig], [], [])
140
+ stop_openid_monitoring: IDL.Func([], [], [])
140
141
  });
141
142
  };
142
143
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -129,14 +129,15 @@ export const idlFactory = ({IDL}) => {
129
129
  del_controllers: IDL.Func([DeleteControllersArgs], [], []),
130
130
  get_notify_status: IDL.Func([GetNotifications], [NotifyStatus], ['query']),
131
131
  get_openid_certificate: IDL.Func([GetOpenIdCertificateArgs], [IDL.Opt(OpenIdCertificate)], []),
132
+ is_openid_monitoring_enabled: IDL.Func([], [IDL.Bool], []),
132
133
  list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
133
134
  notify: IDL.Func([NotifyArgs], [], []),
134
135
  ping: IDL.Func([NotifyArgs], [], []),
135
136
  set_controllers: IDL.Func([SetControllersArgs], [], []),
136
137
  set_env: IDL.Func([Env], [], []),
138
+ set_rate_config: IDL.Func([RateKind, RateConfig], [], []),
137
139
  start_openid_monitoring: IDL.Func([], [], []),
138
- stop_openid_monitoring: IDL.Func([], [], []),
139
- update_rate_config: IDL.Func([RateKind, RateConfig], [], [])
140
+ stop_openid_monitoring: IDL.Func([], [], [])
140
141
  });
141
142
  };
142
143
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -129,14 +129,15 @@ export const idlFactory = ({IDL}) => {
129
129
  del_controllers: IDL.Func([DeleteControllersArgs], [], []),
130
130
  get_notify_status: IDL.Func([GetNotifications], [NotifyStatus], ['query']),
131
131
  get_openid_certificate: IDL.Func([GetOpenIdCertificateArgs], [IDL.Opt(OpenIdCertificate)], []),
132
+ is_openid_monitoring_enabled: IDL.Func([], [IDL.Bool], []),
132
133
  list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
133
134
  notify: IDL.Func([NotifyArgs], [], []),
134
135
  ping: IDL.Func([NotifyArgs], [], []),
135
136
  set_controllers: IDL.Func([SetControllersArgs], [], []),
136
137
  set_env: IDL.Func([Env], [], []),
138
+ set_rate_config: IDL.Func([RateKind, RateConfig], [], []),
137
139
  start_openid_monitoring: IDL.Func([], [], []),
138
- stop_openid_monitoring: IDL.Func([], [], []),
139
- update_rate_config: IDL.Func([RateKind, RateConfig], [], [])
140
+ stop_openid_monitoring: IDL.Func([], [], [])
140
141
  });
141
142
  };
142
143
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  // @ts-nocheck
4
4
 
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
5
+ // This file was automatically generated by @icp-sdk/bindgen@0.2.1.
6
6
  // You should NOT make any changes in this file as it will be overwritten.
7
7
  // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
8