@engramx/idl 0.16.0-rc.21 → 0.16.0-rc.23

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.
@@ -21,7 +21,7 @@ export const idlFactory = ({ IDL }) => {
21
21
  sovereignSkipped: IDL.Nat,
22
22
  lowCycles: IDL.Nat,
23
23
  });
24
- const Result_28 = IDL.Variant({ Ok: FleetCycleHealth, Err: Error });
24
+ const Result_31 = IDL.Variant({ Ok: FleetCycleHealth, Err: Error });
25
25
  const FleetSummary = IDL.Record({
26
26
  registrySinceNs: IDL.Opt(IDL.Int),
27
27
  uniqueOwners: IDL.Nat,
@@ -69,7 +69,7 @@ export const idlFactory = ({ IDL }) => {
69
69
  leaf: StandingLeaf,
70
70
  witness: IDL.Vec(IDL.Nat8),
71
71
  });
72
- const Result_27 = IDL.Variant({ Ok: CertifiedStanding, Err: Error });
72
+ const Result_30 = IDL.Variant({ Ok: CertifiedStanding, Err: Error });
73
73
  const AnchorStats = IDL.Record({
74
74
  lastAnchorAtNs: IDL.Opt(IDL.Int),
75
75
  lastEngramAnchorAtNs: IDL.Opt(IDL.Int),
@@ -83,6 +83,7 @@ export const idlFactory = ({ IDL }) => {
83
83
  size: IDL.Nat,
84
84
  });
85
85
  const CertifiedAnchorLeaf = IDL.Record({
86
+ era: IDL.Opt(IDL.Nat),
86
87
  total: IDL.Nat,
87
88
  disputed: IDL.Bool,
88
89
  atNs: IDL.Int,
@@ -91,6 +92,7 @@ export const idlFactory = ({ IDL }) => {
91
92
  conflicts: IDL.Nat,
92
93
  version: IDL.Nat,
93
94
  refusedConflicts: IDL.Nat,
95
+ recoveredAtNs: IDL.Opt(IDL.Int),
94
96
  engram: IDL.Principal,
95
97
  });
96
98
  const CertifiedAnchor = IDL.Record({
@@ -109,18 +111,24 @@ export const idlFactory = ({ IDL }) => {
109
111
  certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
110
112
  witness: IDL.Vec(IDL.Nat8),
111
113
  });
114
+ const ChildSignInOffer = IDL.Record({
115
+ parentActive: IDL.Bool,
116
+ parentIsFirstEngram: IDL.Bool,
117
+ parentOwner: IDL.Opt(IDL.Principal),
118
+ });
119
+ const Result_29 = IDL.Variant({ Ok: ChildSignInOffer, Err: Error });
112
120
  const CustodyMode = IDL.Variant({
113
121
  Sovereign: IDL.Null,
114
122
  Managed: IDL.Null,
115
123
  });
116
- const Result_10 = IDL.Variant({ Ok: CustodyMode, Err: Error });
124
+ const Result_11 = IDL.Variant({ Ok: CustodyMode, Err: Error });
117
125
  const OpenedThrough = IDL.Record({
118
126
  cutOffAtNs: IDL.Opt(IDL.Int),
119
127
  child: IDL.Principal,
120
128
  parent: IDL.Principal,
121
129
  });
122
- const Result_22 = IDL.Variant({ Ok: OpenedThrough, Err: Error });
123
- const Result_26 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
130
+ const Result_24 = IDL.Variant({ Ok: OpenedThrough, Err: Error });
131
+ const Result_28 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
124
132
  const ReleaseClass = IDL.Variant({
125
133
  Security: IDL.Null,
126
134
  Feature: IDL.Null,
@@ -143,7 +151,7 @@ export const idlFactory = ({ IDL }) => {
143
151
  totalEngrams: IDL.Nat,
144
152
  activeEngrams: IDL.Nat,
145
153
  });
146
- const Result_25 = IDL.Variant({ Ok: PrivateMetrics, Err: Error });
154
+ const Result_27 = IDL.Variant({ Ok: PrivateMetrics, Err: Error });
147
155
  const GenesisNote = IDL.Record({
148
156
  predecessorSize: IDL.Opt(IDL.Nat),
149
157
  predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -174,7 +182,7 @@ export const idlFactory = ({ IDL }) => {
174
182
  loanOwed: IDL.Nat,
175
183
  openUntilNs: IDL.Opt(IDL.Int),
176
184
  });
177
- const Result_24 = IDL.Variant({ Ok: RestartStatus, Err: Error });
185
+ const Result_26 = IDL.Variant({ Ok: RestartStatus, Err: Error });
178
186
  const OpeningCounts = IDL.Record({
179
187
  reopened: IDL.Nat,
180
188
  openedThroughParent: IDL.Nat,
@@ -184,7 +192,7 @@ export const idlFactory = ({ IDL }) => {
184
192
  reservationAttemptsRefusedAtCapacity: IDL.Nat,
185
193
  spawnAttemptsRefusedAtCap: IDL.Nat,
186
194
  });
187
- const Result_23 = IDL.Variant({ Ok: OpeningCounts, Err: Error });
195
+ const Result_25 = IDL.Variant({ Ok: OpeningCounts, Err: Error });
188
196
  const PairedSoon = IDL.Record({
189
197
  opened: IDL.Nat,
190
198
  pairedWithin7Days: IDL.Nat,
@@ -202,7 +210,30 @@ export const idlFactory = ({ IDL }) => {
202
210
  throughParent: PairedSoon,
203
211
  agentsByTreesSpanned: TreesSpanned,
204
212
  });
205
- const Result_21 = IDL.Variant({ Ok: ReferralCounts, Err: Error });
213
+ const Result_23 = IDL.Variant({ Ok: ReferralCounts, Err: Error });
214
+ const RegistryClockHealth = IDL.Record({
215
+ nextWakeAtNs: IDL.Opt(IDL.Int),
216
+ lastAttemptAtNs: IDL.Opt(IDL.Int),
217
+ attemptTotal: IDL.Opt(IDL.Nat),
218
+ lastErrorAtNs: IDL.Opt(IDL.Int),
219
+ okTotal: IDL.Opt(IDL.Nat),
220
+ overdue: IDL.Opt(IDL.Nat),
221
+ lastError: IDL.Opt(IDL.Text),
222
+ lastOkAtNs: IDL.Opt(IDL.Int),
223
+ });
224
+ const RegistryHealth = IDL.Record({
225
+ anchors: IDL.Opt(AnchorStats),
226
+ adminRoles: IDL.Opt(AdminRoles),
227
+ atNs: IDL.Opt(IDL.Int),
228
+ clock: IDL.Opt(RegistryClockHealth),
229
+ cycleReserve: IDL.Opt(
230
+ IDL.Record({
231
+ cycleBalance: IDL.Nat,
232
+ minOperatingReserveCycles: IDL.Nat,
233
+ }),
234
+ ),
235
+ });
236
+ const Result_22 = IDL.Variant({ Ok: RegistryHealth, Err: Error });
206
237
  const ReserveGateConfig = IDL.Record({
207
238
  enabled: IDL.Bool,
208
239
  inviteIssuer: IDL.Principal,
@@ -222,13 +253,13 @@ export const idlFactory = ({ IDL }) => {
222
253
  ManualOnly: IDL.Null,
223
254
  AutoUpdate: IDL.Null,
224
255
  });
225
- const Result_20 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
256
+ const Result_21 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
226
257
  const Page_5 = IDL.Record({
227
258
  total: IDL.Nat,
228
259
  withheld: IDL.Nat,
229
260
  items: IDL.Vec(IDL.Principal),
230
261
  });
231
- const Result_17 = IDL.Variant({ Ok: Page_5, Err: Error });
262
+ const Result_18 = IDL.Variant({ Ok: Page_5, Err: Error });
232
263
  const AnchorConflict = IDL.Record({
233
264
  submittedHead: IDL.Vec(IDL.Nat8),
234
265
  atNs: IDL.Int,
@@ -241,8 +272,9 @@ export const idlFactory = ({ IDL }) => {
241
272
  withheld: IDL.Nat,
242
273
  items: IDL.Vec(AnchorConflict),
243
274
  });
244
- const Result_19 = IDL.Variant({ Ok: Page_6, Err: Error });
275
+ const Result_20 = IDL.Variant({ Ok: Page_6, Err: Error });
245
276
  const AnchorView = IDL.Record({
277
+ era: IDL.Opt(IDL.Nat),
246
278
  total: IDL.Nat,
247
279
  disputed: IDL.Bool,
248
280
  atNs: IDL.Int,
@@ -284,7 +316,7 @@ export const idlFactory = ({ IDL }) => {
284
316
  items: IDL.Vec(AuditEntry),
285
317
  hashFirstFrom: IDL.Nat,
286
318
  });
287
- const Result_18 = IDL.Variant({ Ok: RecordPage, Err: Error });
319
+ const Result_19 = IDL.Variant({ Ok: RecordPage, Err: Error });
288
320
  const ChangelogEntry = IDL.Record({
289
321
  atNs: IDL.Int,
290
322
  wasmHash: IDL.Text,
@@ -301,7 +333,7 @@ export const idlFactory = ({ IDL }) => {
301
333
  owner: IDL.Principal,
302
334
  child: IDL.Principal,
303
335
  });
304
- const Result_16 = IDL.Variant({
336
+ const Result_17 = IDL.Variant({
305
337
  Ok: IDL.Vec(OpenedEngram),
306
338
  Err: Error,
307
339
  });
@@ -310,7 +342,7 @@ export const idlFactory = ({ IDL }) => {
310
342
  withheld: IDL.Nat,
311
343
  items: IDL.Vec(AuditEntry),
312
344
  });
313
- const Result_15 = IDL.Variant({ Ok: Page_3, Err: Error });
345
+ const Result_16 = IDL.Variant({ Ok: Page_3, Err: Error });
314
346
  const EndReason = IDL.Variant({
315
347
  Resigned: IDL.Null,
316
348
  OwnerRevoked: IDL.Null,
@@ -341,24 +373,26 @@ export const idlFactory = ({ IDL }) => {
341
373
  withheld: IDL.Nat,
342
374
  items: IDL.Vec(EngagementRow),
343
375
  });
344
- const Result_14 = IDL.Variant({ Ok: Page_2, Err: Error });
376
+ const Result_15 = IDL.Variant({ Ok: Page_2, Err: Error });
345
377
  const Page_1 = IDL.Record({
346
378
  total: IDL.Nat,
347
379
  withheld: IDL.Nat,
348
380
  items: IDL.Vec(EngramRecordView),
349
381
  });
350
- const Result_13 = IDL.Variant({ Ok: Page_1, Err: Error });
382
+ const Result_14 = IDL.Variant({ Ok: Page_1, Err: Error });
351
383
  const Dispute = IDL.Record({ statement: IDL.Text, atNs: IDL.Int });
352
384
  const Page = IDL.Record({
353
385
  total: IDL.Nat,
354
386
  withheld: IDL.Nat,
355
387
  items: IDL.Vec(IDL.Tuple(IDL.Principal, UpdatePreference)),
356
388
  });
357
- const Result_12 = IDL.Variant({ Ok: Page, Err: Error });
358
- const Result_11 = IDL.Variant({ Ok: IDL.Vec(IDL.Text), Err: Error });
389
+ const Result_13 = IDL.Variant({ Ok: Page, Err: Error });
390
+ const Result_12 = IDL.Variant({ Ok: IDL.Vec(IDL.Text), Err: Error });
359
391
  const EngramComputeView = IDL.Record({
360
392
  restartOpenUntilNs: IDL.Opt(IDL.Int),
393
+ recoverOpen: IDL.Opt(IDL.Bool),
361
394
  idlePerDay: IDL.Nat,
395
+ erased: IDL.Opt(IDL.Bool),
362
396
  line: IDL.Nat,
363
397
  quiet: IDL.Bool,
364
398
  eraseAboutNs: IDL.Opt(IDL.Int),
@@ -369,11 +403,21 @@ export const idlFactory = ({ IDL }) => {
369
403
  running: IDL.Null,
370
404
  }),
371
405
  thresholdSecs: IDL.Nat,
406
+ recoveredAtNs: IDL.Opt(IDL.Int),
372
407
  updateWaiting: IDL.Bool,
373
408
  frozen: IDL.Bool,
374
409
  });
375
- const Result_9 = IDL.Variant({ Ok: EngramComputeView, Err: Error });
376
- const Result_1 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
410
+ const Result_10 = IDL.Variant({ Ok: EngramComputeView, Err: Error });
411
+ const Result_2 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
412
+ const RecoverReply = IDL.Record({
413
+ billingLinked: IDL.Bool,
414
+ balance: IDL.Nat,
415
+ finished: IDL.Bool,
416
+ number: IDL.Opt(IDL.Nat),
417
+ restartLoanOwed: IDL.Nat,
418
+ template: IDL.Text,
419
+ });
420
+ const Result_9 = IDL.Variant({ Ok: RecoverReply, Err: Error });
377
421
  const RestartReply = IDL.Record({
378
422
  securityInstalled: IDL.Bool,
379
423
  lentCycles: IDL.Nat,
@@ -415,7 +459,7 @@ export const idlFactory = ({ IDL }) => {
415
459
  inviteCode: IDL.Text,
416
460
  });
417
461
  const EdgeEvent = IDL.Variant({ Ended: Ending, Added: EnrolmentProof });
418
- const Result_2 = IDL.Variant({
462
+ const Result_1 = IDL.Variant({
419
463
  Ok: IDL.Record({ accepted: IDL.Nat }),
420
464
  Err: Error,
421
465
  });
@@ -428,7 +472,7 @@ export const idlFactory = ({ IDL }) => {
428
472
  engramWasmFinalize: IDL.Func([IDL.Text], [Result_7], []),
429
473
  engramWasmInit: IDL.Func([], [Result], []),
430
474
  engramWasmPushChunk: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_7], []),
431
- fleetCycleHealth: IDL.Func([IDL.Nat, IDL.Nat, IDL.Nat], [Result_28], []),
475
+ fleetCycleHealth: IDL.Func([IDL.Nat, IDL.Nat, IDL.Nat], [Result_31], []),
432
476
  fleetSummary: IDL.Func([], [FleetSummary], ['query']),
433
477
  getAbandonedAtNs: IDL.Func([IDL.Principal], [IDL.Opt(IDL.Int)], ['query']),
434
478
  getActivationFunnel: IDL.Func([], [ActivationFunnel], ['query']),
@@ -438,13 +482,14 @@ export const idlFactory = ({ IDL }) => {
438
482
  [IDL.Record({ agents: IDL.Nat, liveEngagements: IDL.Nat })],
439
483
  ['query'],
440
484
  ),
441
- getAgentStanding: IDL.Func([IDL.Principal], [Result_27], ['query']),
485
+ getAgentStanding: IDL.Func([IDL.Principal], [Result_30], ['query']),
442
486
  getAnchorStats: IDL.Func([], [AnchorStats], ['query']),
443
487
  getAuditHead: IDL.Func([], [AuditHead], ['query']),
444
488
  getCertifiedAnchor: IDL.Func([IDL.Principal], [IDL.Opt(CertifiedAnchor)], ['query']),
445
489
  getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
446
490
  getCertifiedBirth: IDL.Func([IDL.Vec(IDL.Nat8)], [IDL.Opt(CertifiedBirth)], ['query']),
447
- getCustodyMode: IDL.Func([IDL.Principal], [Result_10], ['query']),
491
+ getChildSignInOffer: IDL.Func([IDL.Principal], [Result_29], ['query']),
492
+ getCustodyMode: IDL.Func([IDL.Principal], [Result_11], ['query']),
448
493
  getCycleReserveStatus: IDL.Func(
449
494
  [],
450
495
  [
@@ -456,22 +501,24 @@ export const idlFactory = ({ IDL }) => {
456
501
  ['query'],
457
502
  ),
458
503
  getEngramNumberOf: IDL.Func([IDL.Principal], [IDL.Opt(IDL.Nat)], ['query']),
459
- getEngramOpenedThrough: IDL.Func([IDL.Principal], [Result_22], ['query']),
460
- getEngramWasmChunk: IDL.Func([IDL.Nat], [Result_26], ['query']),
504
+ getEngramOpenedThrough: IDL.Func([IDL.Principal], [Result_24], ['query']),
505
+ getEngramWasmChunk: IDL.Func([IDL.Nat], [Result_28], ['query']),
461
506
  getEngramWasmClass: IDL.Func([], [ReleaseClass], ['query']),
462
507
  getEngramWasmHash: IDL.Func([], [IDL.Text], ['query']),
463
508
  getEngramWasmInfo: IDL.Func([], [EngramWasmInfo], ['query']),
464
- getFleetMetrics: IDL.Func([], [Result_25], []),
509
+ getFleetMetrics: IDL.Func([], [Result_27], []),
465
510
  getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
466
511
  getLastUpgrade: IDL.Func([IDL.Principal], [IDL.Opt(LastUpgrade)], ['query']),
467
512
  getMarketCanister: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
468
513
  getMetricsReader: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
469
514
  getMyEngram: IDL.Func([], [IDL.Opt(EngramRecordView)], ['query']),
470
515
  getMyReservation: IDL.Func([], [IDL.Opt(ReservationView)], ['query']),
471
- getMyRestartStatus: IDL.Func([], [Result_24], ['query']),
472
- getOpeningCounts: IDL.Func([], [Result_23], ['query']),
473
- getParentOf: IDL.Func([IDL.Principal], [Result_22], ['query']),
474
- getReferralCounts: IDL.Func([IDL.Vec(IDL.Principal)], [Result_21], ['query']),
516
+ getMyRestartStatus: IDL.Func([], [Result_26], ['query']),
517
+ getOpeningCounts: IDL.Func([], [Result_25], ['query']),
518
+ getParentOf: IDL.Func([IDL.Principal], [Result_24], ['query']),
519
+ getRecoveredAtNs: IDL.Func([IDL.Principal], [IDL.Opt(IDL.Int)], ['query']),
520
+ getReferralCounts: IDL.Func([IDL.Vec(IDL.Principal)], [Result_23], ['query']),
521
+ getRegistryHealth: IDL.Func([], [Result_22], ['query']),
475
522
  getRentBiller: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
476
523
  getReserveGateConfig: IDL.Func([], [ReserveGateConfig], ['query']),
477
524
  getRestartTotals: IDL.Func([], [RestartTotals], ['query']),
@@ -480,7 +527,7 @@ export const idlFactory = ({ IDL }) => {
480
527
  getSponsoredCyclesTotal: IDL.Func([], [IDL.Nat], ['query']),
481
528
  getTreasuryAnchorId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
482
529
  getUpdatePreference: IDL.Func([], [IDL.Opt(UpdatePreference)], ['query']),
483
- getUpgradeFundedTemplate: IDL.Func([IDL.Principal], [Result_20], ['query']),
530
+ getUpgradeFundedTemplate: IDL.Func([IDL.Principal], [Result_21], ['query']),
484
531
  getUpgradeSubsidyTotal: IDL.Func([], [IDL.Nat], ['query']),
485
532
  getUpgradeTopUpFloor: IDL.Func([], [IDL.Nat], ['query']),
486
533
  icrc21_canister_call_consent_message: IDL.Func(
@@ -512,27 +559,28 @@ export const idlFactory = ({ IDL }) => {
512
559
  ),
513
560
  isOfficialEngramWasm: IDL.Func([IDL.Text], [IDL.Bool], ['query']),
514
561
  isRegisteredActiveEngram: IDL.Func([IDL.Principal], [IDL.Bool], ['query']),
515
- listAgentEngrams: IDL.Func([IDL.Principal], [Result_17], ['query']),
516
- listAnchorConflicts: IDL.Func([IDL.Principal, IDL.Nat, IDL.Nat], [Result_19], ['query']),
562
+ listAgentEngrams: IDL.Func([IDL.Principal], [Result_18], ['query']),
563
+ listAnchorConflicts: IDL.Func([IDL.Principal, IDL.Nat, IDL.Nat], [Result_20], ['query']),
517
564
  listAnchors: IDL.Func([IDL.Principal], [IDL.Vec(AnchorView)], ['query']),
518
- listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_18], ['query']),
519
- listAuditViewers: IDL.Func([], [Result_17], ['query']),
565
+ listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_19], ['query']),
566
+ listAuditViewers: IDL.Func([], [Result_18], ['query']),
520
567
  listChangelogEntries: IDL.Func([IDL.Nat, IDL.Nat], [Page_4], ['query']),
521
- listChildrenOf: IDL.Func([IDL.Principal], [Result_16], ['query']),
522
- listDenialEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_15], ['query']),
568
+ listChildrenOf: IDL.Func([IDL.Principal], [Result_17], ['query']),
569
+ listDenialEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_16], ['query']),
523
570
  listEngagementRows: IDL.Func(
524
571
  [IDL.Int, IDL.Nat, IDL.Nat, IDL.Vec(IDL.Principal)],
525
- [Result_14],
572
+ [Result_15],
526
573
  [],
527
574
  ),
528
- listEngrams: IDL.Func([IDL.Nat, IDL.Nat], [Result_13], []),
575
+ listEngrams: IDL.Func([IDL.Nat, IDL.Nat], [Result_14], []),
529
576
  listMyAgentDisputes: IDL.Func([], [IDL.Vec(Dispute)], ['query']),
530
577
  listOfficialEngramWasmHashes: IDL.Func([], [IDL.Vec(IDL.Text)], ['query']),
531
578
  listPredecessors: IDL.Func([IDL.Principal], [IDL.Vec(IDL.Principal)], ['query']),
532
- listUpdatePrefs: IDL.Func([IDL.Nat, IDL.Nat], [Result_12], ['query']),
533
- mintReserveInvites: IDL.Func([IDL.Nat], [Result_11], []),
534
- probeCustodyMode: IDL.Func([], [Result_10], []),
535
- probeMyEngramCompute: IDL.Func([], [Result_9], []),
579
+ listUpdatePrefs: IDL.Func([IDL.Nat, IDL.Nat], [Result_13], ['query']),
580
+ mintReserveInvites: IDL.Func([IDL.Nat], [Result_12], []),
581
+ probeCustodyMode: IDL.Func([], [Result_11], []),
582
+ probeMyEngramCompute: IDL.Func([], [Result_10], []),
583
+ probeOpenedEngramCompute: IDL.Func([IDL.Principal], [Result_10], []),
536
584
  provisionEngram: IDL.Func(
537
585
  [
538
586
  IDL.Opt(
@@ -542,9 +590,10 @@ export const idlFactory = ({ IDL }) => {
542
590
  }),
543
591
  ),
544
592
  ],
545
- [Result_1],
593
+ [Result_2],
546
594
  [],
547
595
  ),
596
+ recoverMyEngram: IDL.Func([], [Result_9], []),
548
597
  removeAuditViewer: IDL.Func([IDL.Principal], [Result], []),
549
598
  reserveEngram: IDL.Func(
550
599
  [
@@ -583,16 +632,26 @@ export const idlFactory = ({ IDL }) => {
583
632
  sysCloseRestart: IDL.Func([], [Result_5], []),
584
633
  sysConfirmOwnershipTransfer: IDL.Func([IDL.Principal], [Result], []),
585
634
  sysMeterEngram: IDL.Func([IDL.Principal], [Result_4], []),
635
+ sysNoteChildSignIn: IDL.Func([IDL.Record({ signIn: IDL.Opt(IDL.Principal) })], [Result], []),
586
636
  sysNoteReset: IDL.Func([], [Result], []),
587
637
  sysNotifyOwnershipTransfer: IDL.Func([IDL.Principal], [Result_3], []),
638
+ sysOpenChild: IDL.Func(
639
+ [
640
+ IDL.Record({
641
+ ownerKey: IDL.Principal,
642
+ signIn: IDL.Opt(IDL.Principal),
643
+ }),
644
+ ],
645
+ [Result_2],
646
+ [],
647
+ ),
588
648
  sysRecordAgentEdge: IDL.Func(
589
649
  [IDL.Record({ root: IDL.Principal, event: EdgeEvent })],
590
650
  [Result],
591
651
  [],
592
652
  ),
593
- sysRepayUpgradeAdvance: IDL.Func([IDL.Record({ advanceId: IDL.Nat })], [Result_2], []),
653
+ sysRepayUpgradeAdvance: IDL.Func([IDL.Record({ advanceId: IDL.Nat })], [Result_1], []),
594
654
  sysRevertOwnershipTransfer: IDL.Func([IDL.Principal], [Result], []),
595
- sysSpawnChild: IDL.Func([IDL.Principal], [Result_1], []),
596
655
  upgradeEngram: IDL.Func([IDL.Principal], [Result], []),
597
656
  upgradeMyEngram: IDL.Func([], [Result], []),
598
657
  verifyEngramActiveOwner: IDL.Func([IDL.Principal, IDL.Principal], [IDL.Bool], ['query']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engramx/idl",
3
- "version": "0.16.0-rc.21",
3
+ "version": "0.16.0-rc.23",
4
4
  "description": "The Candid interfaces of the EngramX canisters (engram, registry, market) — the .did files and the JS/TS IDL factories generated from them, published with every release so code that calls them pins the interface by version.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "EngramX <developer@engramx.ai>",