@engramx/idl 0.16.0-rc.16 → 0.16.0-rc.18
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.
- package/dist/engram.did +253 -172
- package/dist/engram.idl.d.ts +246 -170
- package/dist/engram.idl.js +210 -169
- package/dist/registry.did +351 -73
- package/dist/registry.idl.d.ts +334 -73
- package/dist/registry.idl.js +113 -47
- package/package.json +1 -1
package/dist/engram.idl.js
CHANGED
|
@@ -87,14 +87,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
87
87
|
Unavailable: IDL.Text,
|
|
88
88
|
Conflict: IDL.Text,
|
|
89
89
|
});
|
|
90
|
-
const
|
|
90
|
+
const Result_82 = IDL.Variant({ Ok: AgentRecord, Err: Error });
|
|
91
91
|
const HttpHeader = IDL.Record({ value: IDL.Text, name: IDL.Text });
|
|
92
92
|
const HttpRequestResult = IDL.Record({
|
|
93
93
|
status: IDL.Nat,
|
|
94
94
|
body: IDL.Vec(IDL.Nat8),
|
|
95
95
|
headers: IDL.Vec(HttpHeader),
|
|
96
96
|
});
|
|
97
|
-
const
|
|
97
|
+
const Result_81 = IDL.Variant({
|
|
98
98
|
Ok: IDL.Record({ activatesAtNs: IDL.Int }),
|
|
99
99
|
Err: Error,
|
|
100
100
|
});
|
|
@@ -107,7 +107,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
107
107
|
cooloffEndsAtNs: IDL.Int,
|
|
108
108
|
typeId: IDL.Vec(IDL.Nat8),
|
|
109
109
|
});
|
|
110
|
-
const
|
|
110
|
+
const Result_80 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
|
|
111
111
|
const GuardianPermissions = IDL.Record({
|
|
112
112
|
canFreezePayments: IDL.Bool,
|
|
113
113
|
canRevokeAgents: IDL.Bool,
|
|
@@ -115,7 +115,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
115
115
|
canPauseWrites: IDL.Bool,
|
|
116
116
|
});
|
|
117
117
|
const Result_1 = IDL.Variant({ Ok: IDL.Null, Err: Error });
|
|
118
|
-
const
|
|
118
|
+
const Result_13 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
|
|
119
119
|
const MemorySource = IDL.Variant({
|
|
120
120
|
sessionTranscript: IDL.Null,
|
|
121
121
|
human: IDL.Null,
|
|
@@ -146,14 +146,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
146
146
|
historyBytesDelta: IDL.Int,
|
|
147
147
|
opCount: IDL.Nat,
|
|
148
148
|
});
|
|
149
|
-
const
|
|
149
|
+
const Result_79 = IDL.Variant({ Ok: CondenseResult, Err: Error });
|
|
150
150
|
const BackupType = IDL.Variant({
|
|
151
151
|
PartialSnapshot: IDL.Null,
|
|
152
152
|
IncrementalDiff: IDL.Null,
|
|
153
153
|
FullSnapshot: IDL.Null,
|
|
154
154
|
});
|
|
155
|
-
const
|
|
156
|
-
const
|
|
155
|
+
const Result_52 = IDL.Variant({ Ok: IDL.Text, Err: Error });
|
|
156
|
+
const Result_68 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
|
|
157
157
|
const MemoryRangeExport = IDL.Record({
|
|
158
158
|
seq: IDL.Nat,
|
|
159
159
|
toSeq: IDL.Nat,
|
|
@@ -163,7 +163,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
163
163
|
fromSeq: IDL.Nat,
|
|
164
164
|
authorFilter: IDL.Opt(IDL.Principal),
|
|
165
165
|
});
|
|
166
|
-
const
|
|
166
|
+
const Result_78 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
|
|
167
167
|
const AlertConfig = IDL.Record({
|
|
168
168
|
url: IDL.Opt(IDL.Text),
|
|
169
169
|
money: IDL.Bool,
|
|
@@ -180,8 +180,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
180
180
|
disabled: IDL.Bool,
|
|
181
181
|
config: AlertConfig,
|
|
182
182
|
});
|
|
183
|
-
const
|
|
184
|
-
const
|
|
183
|
+
const Result_66 = IDL.Variant({ Ok: AlertStatus, Err: Error });
|
|
184
|
+
const Result_62 = IDL.Variant({
|
|
185
185
|
Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
|
|
186
186
|
Err: Error,
|
|
187
187
|
});
|
|
@@ -198,7 +198,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
198
198
|
withheld: IDL.Nat,
|
|
199
199
|
items: IDL.Vec(OwnerRow),
|
|
200
200
|
});
|
|
201
|
-
const
|
|
201
|
+
const Result_76 = IDL.Variant({ Ok: Page_25, Err: Error });
|
|
202
202
|
const Role = IDL.Variant({
|
|
203
203
|
Anonymous: IDL.Null,
|
|
204
204
|
Viewer: IDL.Null,
|
|
@@ -237,7 +237,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
237
237
|
earliest: IDL.Nat,
|
|
238
238
|
capped: IDL.Bool,
|
|
239
239
|
});
|
|
240
|
-
const
|
|
240
|
+
const Result_75 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
|
|
241
241
|
const AnchorPushStatus = IDL.Record({
|
|
242
242
|
anchorTickAtNs: IDL.Opt(IDL.Int),
|
|
243
243
|
okAtNs: IDL.Opt(IDL.Int),
|
|
@@ -273,13 +273,23 @@ export const idlFactory = ({ IDL }) => {
|
|
|
273
273
|
chunkCount: IDL.Nat,
|
|
274
274
|
parentBackupId: IDL.Opt(IDL.Text),
|
|
275
275
|
});
|
|
276
|
-
const
|
|
276
|
+
const Result_74 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
|
|
277
277
|
const BackupRetention = IDL.Record({
|
|
278
278
|
maxBackups: IDL.Nat,
|
|
279
279
|
isDefault: IDL.Bool,
|
|
280
280
|
dbType: IDL.Text,
|
|
281
281
|
});
|
|
282
|
-
const
|
|
282
|
+
const Result_73 = IDL.Variant({ Ok: BackupRetention, Err: Error });
|
|
283
|
+
const BirthRecord = IDL.Record({
|
|
284
|
+
bornAtNs: IDL.Int,
|
|
285
|
+
parentFingerprint: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
286
|
+
child: IDL.Principal,
|
|
287
|
+
secret: IDL.Vec(IDL.Nat8),
|
|
288
|
+
version: IDL.Nat,
|
|
289
|
+
number: IDL.Nat,
|
|
290
|
+
parent: IDL.Opt(IDL.Principal),
|
|
291
|
+
});
|
|
292
|
+
const Result_72 = IDL.Variant({ Ok: IDL.Vec(BirthRecord), Err: Error });
|
|
283
293
|
const BrakeRole = IDL.Variant({ Guardian: IDL.Null, Owner: IDL.Null });
|
|
284
294
|
const BrakePull = IDL.Record({
|
|
285
295
|
by: IDL.Principal,
|
|
@@ -292,7 +302,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
292
302
|
pull: IDL.Opt(BrakePull),
|
|
293
303
|
});
|
|
294
304
|
const Brakes = IDL.Record({ payments: BrakeState, writes: BrakeState });
|
|
295
|
-
const
|
|
305
|
+
const Result_71 = IDL.Variant({ Ok: Brakes, Err: Error });
|
|
296
306
|
const CertifiedAuditHead = IDL.Record({
|
|
297
307
|
total: IDL.Nat,
|
|
298
308
|
certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -304,14 +314,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
304
314
|
root: IDL.Principal,
|
|
305
315
|
remaining: IDL.Nat,
|
|
306
316
|
});
|
|
307
|
-
const
|
|
317
|
+
const Result_70 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
|
|
308
318
|
const ChildOpening = IDL.Record({
|
|
309
319
|
attachCycles: IDL.Nat,
|
|
310
320
|
balance: IDL.Nat,
|
|
311
321
|
allowances: IDL.Vec(ChildAllowanceRow),
|
|
312
322
|
floorCycles: IDL.Nat,
|
|
313
323
|
});
|
|
314
|
-
const
|
|
324
|
+
const Result_69 = IDL.Variant({ Ok: ChildOpening, Err: Error });
|
|
315
325
|
const ServiceEntry = IDL.Record({
|
|
316
326
|
endpoint: IDL.Text,
|
|
317
327
|
name: IDL.Text,
|
|
@@ -329,7 +339,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
329
339
|
pay: IDL.Text,
|
|
330
340
|
engramRegistration: IDL.Text,
|
|
331
341
|
});
|
|
332
|
-
const
|
|
342
|
+
const Result_67 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
|
|
333
343
|
const GenesisNote = IDL.Record({
|
|
334
344
|
predecessorSize: IDL.Opt(IDL.Nat),
|
|
335
345
|
predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -373,7 +383,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
373
383
|
versions: IDL.Vec(MemoryVersionSummary),
|
|
374
384
|
evictedCount: IDL.Nat,
|
|
375
385
|
});
|
|
376
|
-
const
|
|
386
|
+
const Result_65 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
|
|
377
387
|
const MemoryMaintainStatus = IDL.Record({
|
|
378
388
|
attachOk: IDL.Bool,
|
|
379
389
|
attachDetail: IDL.Text,
|
|
@@ -401,7 +411,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
401
411
|
entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
|
|
402
412
|
guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
|
|
403
413
|
});
|
|
404
|
-
const
|
|
414
|
+
const Result_64 = IDL.Variant({
|
|
405
415
|
Ok: MemoryRetentionPolicy,
|
|
406
416
|
Err: Error,
|
|
407
417
|
});
|
|
@@ -416,7 +426,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
416
426
|
name: IDL.Text,
|
|
417
427
|
addedAtNs: IDL.Int,
|
|
418
428
|
});
|
|
419
|
-
const
|
|
429
|
+
const Result_16 = IDL.Variant({ Ok: GuardianRecord, Err: Error });
|
|
420
430
|
const OwnerConsole = IDL.Record({
|
|
421
431
|
pendingApprovalCount: IDL.Nat,
|
|
422
432
|
memoryKeyEpoch: IDL.Nat,
|
|
@@ -426,19 +436,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
426
436
|
cyclesBalance: IDL.Nat,
|
|
427
437
|
unknownSessionRefusals: IDL.Nat,
|
|
428
438
|
});
|
|
429
|
-
const
|
|
439
|
+
const Result_63 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
|
|
430
440
|
const SigningFloorStatus = IDL.Record({
|
|
431
441
|
floor: IDL.Nat,
|
|
432
442
|
signaturesAboveFloor: IDL.Nat,
|
|
433
443
|
balance: IDL.Nat,
|
|
434
444
|
perSignature: IDL.Nat,
|
|
435
445
|
});
|
|
436
|
-
const
|
|
446
|
+
const Result_61 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
|
|
437
447
|
const SpendCeiling = IDL.Record({
|
|
438
448
|
spentToday: IDL.Nat,
|
|
439
449
|
maxPerDay: IDL.Opt(IDL.Nat),
|
|
440
450
|
});
|
|
441
|
-
const
|
|
451
|
+
const Result_60 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
|
|
442
452
|
const SpendingPolicy = IDL.Record({
|
|
443
453
|
maxSessionDeposit: IDL.Opt(IDL.Nat),
|
|
444
454
|
blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
@@ -450,7 +460,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
450
460
|
allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
451
461
|
maxConcurrentSessions: IDL.Opt(IDL.Nat),
|
|
452
462
|
});
|
|
453
|
-
const
|
|
463
|
+
const Result_59 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
|
|
454
464
|
const StorageReport = IDL.Record({
|
|
455
465
|
sessionFilesSize: IDL.Nat,
|
|
456
466
|
totalFiles: IDL.Nat,
|
|
@@ -465,7 +475,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
465
475
|
versionHistoryCount: IDL.Nat,
|
|
466
476
|
sessionFilesCount: IDL.Nat,
|
|
467
477
|
});
|
|
468
|
-
const
|
|
478
|
+
const Result_58 = IDL.Variant({ Ok: StorageReport, Err: Error });
|
|
469
479
|
const TimerHealth = IDL.Record({
|
|
470
480
|
jobExpiryFastMode: IDL.Bool,
|
|
471
481
|
jobExpiryArmed: IDL.Bool,
|
|
@@ -478,14 +488,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
478
488
|
ckusdtE6s: IDL.Nat,
|
|
479
489
|
cycles: IDL.Nat,
|
|
480
490
|
});
|
|
481
|
-
const
|
|
491
|
+
const Result_57 = IDL.Variant({ Ok: WalletBalances, Err: Error });
|
|
482
492
|
const WorldIdConfig = IDL.Record({
|
|
483
493
|
action: IDL.Text,
|
|
484
494
|
appId: IDL.Text,
|
|
485
495
|
rpId: IDL.Text,
|
|
486
496
|
configured: IDL.Bool,
|
|
487
497
|
});
|
|
488
|
-
const
|
|
498
|
+
const Result_56 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
|
|
489
499
|
const WorldIdRpContext = IDL.Record({
|
|
490
500
|
signature: IDL.Text,
|
|
491
501
|
expiresAt: IDL.Nat,
|
|
@@ -493,8 +503,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
493
503
|
rpId: IDL.Text,
|
|
494
504
|
nonce: IDL.Text,
|
|
495
505
|
});
|
|
496
|
-
const
|
|
497
|
-
const
|
|
506
|
+
const Result_55 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
|
|
507
|
+
const Result_54 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
|
|
498
508
|
const HttpRequest = IDL.Record({
|
|
499
509
|
url: IDL.Text,
|
|
500
510
|
method: IDL.Text,
|
|
@@ -507,7 +517,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
507
517
|
upgrade: IDL.Opt(IDL.Bool),
|
|
508
518
|
status_code: IDL.Nat16,
|
|
509
519
|
});
|
|
510
|
-
const
|
|
520
|
+
const Result_53 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
|
|
511
521
|
const ActivitySnapshot = IDL.Record({
|
|
512
522
|
atNs: IDL.Int,
|
|
513
523
|
memoryReads: IDL.Nat,
|
|
@@ -518,7 +528,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
518
528
|
withheld: IDL.Nat,
|
|
519
529
|
items: IDL.Vec(ActivitySnapshot),
|
|
520
530
|
});
|
|
521
|
-
const
|
|
531
|
+
const Result_51 = IDL.Variant({ Ok: Page_24, Err: Error });
|
|
522
532
|
const AgentSpendRow = IDL.Record({
|
|
523
533
|
agent: IDL.Principal,
|
|
524
534
|
spentToday: IDL.Opt(IDL.Nat),
|
|
@@ -534,13 +544,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
534
544
|
dayStartNs: IDL.Int,
|
|
535
545
|
agents: Page_23,
|
|
536
546
|
});
|
|
537
|
-
const
|
|
547
|
+
const Result_50 = IDL.Variant({ Ok: AgentSpendToday, Err: Error });
|
|
538
548
|
const Page_22 = IDL.Record({
|
|
539
549
|
total: IDL.Nat,
|
|
540
550
|
withheld: IDL.Nat,
|
|
541
551
|
items: IDL.Vec(AgentRecord),
|
|
542
552
|
});
|
|
543
|
-
const
|
|
553
|
+
const Result_49 = IDL.Variant({ Ok: Page_22, Err: Error });
|
|
544
554
|
const Page_21 = IDL.Record({
|
|
545
555
|
total: IDL.Nat,
|
|
546
556
|
withheld: IDL.Nat,
|
|
@@ -552,7 +562,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
552
562
|
}),
|
|
553
563
|
),
|
|
554
564
|
});
|
|
555
|
-
const
|
|
565
|
+
const Result_48 = IDL.Variant({ Ok: Page_21, Err: Error });
|
|
556
566
|
const ApprovalStatus = IDL.Variant({
|
|
557
567
|
Used: IDL.Null,
|
|
558
568
|
Approved: IDL.Null,
|
|
@@ -581,7 +591,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
581
591
|
withheld: IDL.Nat,
|
|
582
592
|
items: IDL.Vec(ApprovalRequest),
|
|
583
593
|
});
|
|
584
|
-
const
|
|
594
|
+
const Result_34 = IDL.Variant({ Ok: Page_8, Err: Error });
|
|
585
595
|
const SealedEntry = IDL.Record({
|
|
586
596
|
id: IDL.Nat,
|
|
587
597
|
entryHash: IDL.Vec(IDL.Nat8),
|
|
@@ -594,13 +604,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
594
604
|
items: IDL.Vec(AuditEntry),
|
|
595
605
|
hashFirstFrom: IDL.Nat,
|
|
596
606
|
});
|
|
597
|
-
const
|
|
607
|
+
const Result_47 = IDL.Variant({ Ok: RecordPage, Err: Error });
|
|
598
608
|
const Page_20 = IDL.Record({
|
|
599
609
|
total: IDL.Nat,
|
|
600
610
|
withheld: IDL.Nat,
|
|
601
611
|
items: IDL.Vec(BackupMetadata),
|
|
602
612
|
});
|
|
603
|
-
const
|
|
613
|
+
const Result_46 = IDL.Variant({ Ok: Page_20, Err: Error });
|
|
604
614
|
const BearerTokenStatus = IDL.Variant({
|
|
605
615
|
Active: IDL.Null,
|
|
606
616
|
Revoked: IDL.Null,
|
|
@@ -622,7 +632,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
622
632
|
withheld: IDL.Nat,
|
|
623
633
|
items: IDL.Vec(BearerToken),
|
|
624
634
|
});
|
|
625
|
-
const
|
|
635
|
+
const Result_45 = IDL.Variant({ Ok: Page_19, Err: Error });
|
|
626
636
|
const CondenseCheckpointRow = IDL.Record({
|
|
627
637
|
by: IDL.Principal,
|
|
628
638
|
seq: IDL.Nat,
|
|
@@ -643,7 +653,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
643
653
|
page: Page_18,
|
|
644
654
|
scannedThroughSeq: IDL.Nat,
|
|
645
655
|
});
|
|
646
|
-
const
|
|
656
|
+
const Result_44 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
|
|
647
657
|
const CycleSnapshot = IDL.Record({
|
|
648
658
|
seq: IDL.Nat,
|
|
649
659
|
source: IDL.Variant({ balance: IDL.Null, self: IDL.Null }),
|
|
@@ -655,13 +665,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
655
665
|
withheld: IDL.Nat,
|
|
656
666
|
items: IDL.Vec(CycleSnapshot),
|
|
657
667
|
});
|
|
658
|
-
const
|
|
668
|
+
const Result_43 = IDL.Variant({ Ok: Page_17, Err: Error });
|
|
659
669
|
const Page_16 = IDL.Record({
|
|
660
670
|
total: IDL.Nat,
|
|
661
671
|
withheld: IDL.Nat,
|
|
662
672
|
items: IDL.Vec(IDL.Text),
|
|
663
673
|
});
|
|
664
|
-
const
|
|
674
|
+
const Result_42 = IDL.Variant({ Ok: Page_16, Err: Error });
|
|
665
675
|
const Eip712Destination = IDL.Record({
|
|
666
676
|
activeFromNs: IDL.Int,
|
|
667
677
|
value: IDL.Text,
|
|
@@ -671,7 +681,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
671
681
|
withheld: IDL.Nat,
|
|
672
682
|
items: IDL.Vec(Eip712Destination),
|
|
673
683
|
});
|
|
674
|
-
const
|
|
684
|
+
const Result_41 = IDL.Variant({ Ok: Page_15, Err: Error });
|
|
675
685
|
const AuthorityClass = IDL.Variant({
|
|
676
686
|
standingAuthority: IDL.Null,
|
|
677
687
|
valueBearing: IDL.Null,
|
|
@@ -701,7 +711,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
701
711
|
withheld: IDL.Nat,
|
|
702
712
|
items: IDL.Vec(Eip712TypeView),
|
|
703
713
|
});
|
|
704
|
-
const
|
|
714
|
+
const Result_40 = IDL.Variant({ Ok: Page_14, Err: Error });
|
|
705
715
|
const GuardianDispute = IDL.Record({
|
|
706
716
|
about: IDL.Nat,
|
|
707
717
|
atNs: IDL.Int,
|
|
@@ -716,13 +726,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
716
726
|
withheld: IDL.Nat,
|
|
717
727
|
items: IDL.Vec(GuardianDispute),
|
|
718
728
|
});
|
|
719
|
-
const
|
|
729
|
+
const Result_39 = IDL.Variant({ Ok: Page_13, Err: Error });
|
|
720
730
|
const Page_12 = IDL.Record({
|
|
721
731
|
total: IDL.Nat,
|
|
722
732
|
withheld: IDL.Nat,
|
|
723
733
|
items: IDL.Vec(GuardianRecord),
|
|
724
734
|
});
|
|
725
|
-
const
|
|
735
|
+
const Result_38 = IDL.Variant({ Ok: Page_12, Err: Error });
|
|
726
736
|
const ExportReceiptRow = IDL.Record({
|
|
727
737
|
by: IDL.Principal,
|
|
728
738
|
seq: IDL.Nat,
|
|
@@ -742,7 +752,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
742
752
|
page: Page_11,
|
|
743
753
|
scannedThroughSeq: IDL.Nat,
|
|
744
754
|
});
|
|
745
|
-
const
|
|
755
|
+
const Result_37 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
|
|
746
756
|
const MemoryFileRow = IDL.Record({
|
|
747
757
|
path: IDL.Text,
|
|
748
758
|
version: IDL.Nat,
|
|
@@ -754,7 +764,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
754
764
|
withheld: IDL.Nat,
|
|
755
765
|
items: IDL.Vec(MemoryFileRow),
|
|
756
766
|
});
|
|
757
|
-
const
|
|
767
|
+
const Result_36 = IDL.Variant({ Ok: Page_10, Err: Error });
|
|
758
768
|
const MemoryLogChunkRef = IDL.Record({
|
|
759
769
|
hash: IDL.Vec(IDL.Nat8),
|
|
760
770
|
size: IDL.Nat,
|
|
@@ -833,7 +843,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
833
843
|
head: IDL.Vec(IDL.Nat8),
|
|
834
844
|
page: Page_9,
|
|
835
845
|
});
|
|
836
|
-
const
|
|
846
|
+
const Result_35 = IDL.Variant({ Ok: LogPage, Err: Error });
|
|
837
847
|
const EngramSessionStatus = IDL.Variant({
|
|
838
848
|
closed: IDL.Null,
|
|
839
849
|
expired: IDL.Null,
|
|
@@ -857,7 +867,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
857
867
|
withheld: IDL.Nat,
|
|
858
868
|
items: IDL.Vec(EngramSessionState),
|
|
859
869
|
});
|
|
860
|
-
const
|
|
870
|
+
const Result_33 = IDL.Variant({ Ok: Page_7, Err: Error });
|
|
861
871
|
const OwnershipTransfer = IDL.Record({
|
|
862
872
|
to: IDL.Principal,
|
|
863
873
|
atNs: IDL.Int,
|
|
@@ -869,7 +879,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
869
879
|
withheld: IDL.Nat,
|
|
870
880
|
items: IDL.Vec(OwnershipTransfer),
|
|
871
881
|
});
|
|
872
|
-
const
|
|
882
|
+
const Result_32 = IDL.Variant({ Ok: Page_6, Err: Error });
|
|
873
883
|
const MarketplacePaymentSignatures = IDL.Record({
|
|
874
884
|
marketplace: IDL.Principal,
|
|
875
885
|
sharedSignedToday: IDL.Nat,
|
|
@@ -891,7 +901,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
891
901
|
agents: Page_5,
|
|
892
902
|
limit: IDL.Nat,
|
|
893
903
|
});
|
|
894
|
-
const
|
|
904
|
+
const Result_31 = IDL.Variant({
|
|
895
905
|
Ok: PaymentSignatureCounts,
|
|
896
906
|
Err: Error,
|
|
897
907
|
});
|
|
@@ -910,13 +920,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
910
920
|
withheld: IDL.Nat,
|
|
911
921
|
items: IDL.Vec(PurgedAgent),
|
|
912
922
|
});
|
|
913
|
-
const
|
|
923
|
+
const Result_30 = IDL.Variant({ Ok: Page_4, Err: Error });
|
|
914
924
|
const Page_3 = IDL.Record({
|
|
915
925
|
total: IDL.Nat,
|
|
916
926
|
withheld: IDL.Nat,
|
|
917
927
|
items: IDL.Vec(AuditEntry),
|
|
918
928
|
});
|
|
919
|
-
const
|
|
929
|
+
const Result_29 = IDL.Variant({ Ok: Page_3, Err: Error });
|
|
920
930
|
const RecordNote = IDL.Record({
|
|
921
931
|
about: IDL.Nat,
|
|
922
932
|
atNs: IDL.Int,
|
|
@@ -928,7 +938,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
928
938
|
withheld: IDL.Nat,
|
|
929
939
|
items: IDL.Vec(RecordNote),
|
|
930
940
|
});
|
|
931
|
-
const
|
|
941
|
+
const Result_28 = IDL.Variant({ Ok: Page_2, Err: Error });
|
|
932
942
|
const Repudiation = IDL.Record({
|
|
933
943
|
atNs: IDL.Int,
|
|
934
944
|
path: IDL.Text,
|
|
@@ -941,7 +951,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
941
951
|
withheld: IDL.Nat,
|
|
942
952
|
items: IDL.Vec(Repudiation),
|
|
943
953
|
});
|
|
944
|
-
const
|
|
954
|
+
const Result_27 = IDL.Variant({ Ok: Page_1, Err: Error });
|
|
945
955
|
const SignIn = IDL.Record({
|
|
946
956
|
token: BearerToken,
|
|
947
957
|
clientName: IDL.Opt(IDL.Text),
|
|
@@ -951,7 +961,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
951
961
|
withheld: IDL.Nat,
|
|
952
962
|
items: IDL.Vec(SignIn),
|
|
953
963
|
});
|
|
954
|
-
const
|
|
964
|
+
const Result_26 = IDL.Variant({ Ok: Page, Err: Error });
|
|
955
965
|
const PaymentLimits = IDL.Record({
|
|
956
966
|
maxSessionDeposit: IDL.Opt(IDL.Nat),
|
|
957
967
|
maxPerDay: IDL.Opt(IDL.Nat),
|
|
@@ -967,8 +977,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
967
977
|
name: IDL.Text,
|
|
968
978
|
paymentLimits: PaymentLimits,
|
|
969
979
|
});
|
|
970
|
-
const
|
|
971
|
-
const
|
|
980
|
+
const Result_25 = IDL.Variant({ Ok: AgentGrant, Err: Error });
|
|
981
|
+
const Result_24 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
|
|
972
982
|
const SessionConfig = IDL.Record({
|
|
973
983
|
autoClose: IDL.Bool,
|
|
974
984
|
idleTimeout: IDL.Opt(IDL.Int),
|
|
@@ -995,7 +1005,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
995
1005
|
nonce: IDL.Vec(IDL.Nat8),
|
|
996
1006
|
authorization: IDL.Opt(Eip3009Authorization),
|
|
997
1007
|
});
|
|
998
|
-
const
|
|
1008
|
+
const Result_23 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
|
|
999
1009
|
const TokenAmount = IDL.Variant({
|
|
1000
1010
|
Icp: IDL.Nat,
|
|
1001
1011
|
Ckusdc: IDL.Nat,
|
|
@@ -1020,7 +1030,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1020
1030
|
agent: AgentRecord,
|
|
1021
1031
|
trackRecord: TrackRecordNotice,
|
|
1022
1032
|
});
|
|
1023
|
-
const
|
|
1033
|
+
const Result_22 = IDL.Variant({ Ok: Pairing, Err: Error });
|
|
1024
1034
|
const CondensePreview = IDL.Record({
|
|
1025
1035
|
scannedFromSeq: IDL.Nat,
|
|
1026
1036
|
scanTruncated: IDL.Bool,
|
|
@@ -1034,7 +1044,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1034
1044
|
coveringReceipt: IDL.Opt(IDL.Record({ seq: IDL.Nat, toSeq: IDL.Nat, fromSeq: IDL.Nat })),
|
|
1035
1045
|
proposedToSeq: IDL.Nat,
|
|
1036
1046
|
});
|
|
1037
|
-
const
|
|
1047
|
+
const Result_21 = IDL.Variant({ Ok: CondensePreview, Err: Error });
|
|
1038
1048
|
const SessionIntent = IDL.Record({
|
|
1039
1049
|
token: IDL.Text,
|
|
1040
1050
|
costPerCall: IDL.Opt(IDL.Nat),
|
|
@@ -1061,7 +1071,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1061
1071
|
storedFiles: IDL.Nat,
|
|
1062
1072
|
rules: IDL.Vec(RetentionPreviewRule),
|
|
1063
1073
|
});
|
|
1064
|
-
const
|
|
1074
|
+
const Result_20 = IDL.Variant({ Ok: RetentionPreview, Err: Error });
|
|
1065
1075
|
const MemoryFile = IDL.Record({
|
|
1066
1076
|
content: IDL.Vec(IDL.Nat8),
|
|
1067
1077
|
path: IDL.Text,
|
|
@@ -1069,12 +1079,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1069
1079
|
lastModifiedBy: IDL.Principal,
|
|
1070
1080
|
lastModifiedAtNs: IDL.Int,
|
|
1071
1081
|
});
|
|
1072
|
-
const
|
|
1082
|
+
const Result_11 = IDL.Variant({ Ok: MemoryFile, Err: Error });
|
|
1073
1083
|
const BatchReadItem = IDL.Record({
|
|
1074
1084
|
result: IDL.Variant({ Ok: MemoryFile, Err: Error }),
|
|
1075
1085
|
path: IDL.Text,
|
|
1076
1086
|
});
|
|
1077
|
-
const
|
|
1087
|
+
const Result_19 = IDL.Variant({
|
|
1078
1088
|
Ok: IDL.Vec(BatchReadItem),
|
|
1079
1089
|
Err: Error,
|
|
1080
1090
|
});
|
|
@@ -1083,19 +1093,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1083
1093
|
fileSize: IDL.Nat,
|
|
1084
1094
|
bytes: IDL.Vec(IDL.Nat8),
|
|
1085
1095
|
});
|
|
1086
|
-
const
|
|
1096
|
+
const Result_18 = IDL.Variant({ Ok: MemoryByteChunk, Err: Error });
|
|
1087
1097
|
const EngramEscrowRecovery = IDL.Record({
|
|
1088
1098
|
amountE6: IDL.Nat,
|
|
1089
1099
|
blockIndex: IDL.Nat,
|
|
1090
1100
|
});
|
|
1091
|
-
const
|
|
1101
|
+
const Result_17 = IDL.Variant({ Ok: EngramEscrowRecovery, Err: Error });
|
|
1092
1102
|
const ResetReport = IDL.Record({
|
|
1093
1103
|
agentsRemoved: IDL.Nat,
|
|
1094
1104
|
agentsPurged: IDL.Nat,
|
|
1095
1105
|
guardiansRemoved: IDL.Nat,
|
|
1096
1106
|
filesCleared: IDL.Nat,
|
|
1097
1107
|
});
|
|
1098
|
-
const
|
|
1108
|
+
const Result_15 = IDL.Variant({ Ok: ResetReport, Err: Error });
|
|
1099
1109
|
const UnrecordableEngagement = IDL.Record({
|
|
1100
1110
|
principal: IDL.Principal,
|
|
1101
1111
|
root: IDL.Principal,
|
|
@@ -1115,7 +1125,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1115
1125
|
}),
|
|
1116
1126
|
),
|
|
1117
1127
|
});
|
|
1118
|
-
const
|
|
1128
|
+
const Result_14 = IDL.Variant({ Ok: ResyncReport, Err: Error });
|
|
1119
1129
|
const Voucher = IDL.Record({
|
|
1120
1130
|
signature: IDL.Vec(IDL.Nat8),
|
|
1121
1131
|
sessionId: IDL.Text,
|
|
@@ -1129,13 +1139,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1129
1139
|
includedFiles: IDL.Nat,
|
|
1130
1140
|
totalBytes: IDL.Nat,
|
|
1131
1141
|
});
|
|
1132
|
-
const
|
|
1142
|
+
const Result_12 = IDL.Variant({ Ok: SessionContext, Err: Error });
|
|
1133
1143
|
const BackupRetentionReport = IDL.Record({
|
|
1134
1144
|
maxBackups: IDL.Nat,
|
|
1135
1145
|
dbType: IDL.Text,
|
|
1136
1146
|
prunedBackups: IDL.Nat,
|
|
1137
1147
|
});
|
|
1138
|
-
const
|
|
1148
|
+
const Result_10 = IDL.Variant({
|
|
1149
|
+
Ok: BackupRetentionReport,
|
|
1150
|
+
Err: Error,
|
|
1151
|
+
});
|
|
1139
1152
|
const Eip712Value = IDL.Variant({
|
|
1140
1153
|
string: IDL.Text,
|
|
1141
1154
|
bool: IDL.Bool,
|
|
@@ -1156,7 +1169,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1156
1169
|
txHash: IDL.Text,
|
|
1157
1170
|
rawTx: IDL.Text,
|
|
1158
1171
|
});
|
|
1159
|
-
const
|
|
1172
|
+
const Result_9 = IDL.Variant({ Ok: SignedTransaction, Err: Error });
|
|
1160
1173
|
const SignedAuthorization = IDL.Record({
|
|
1161
1174
|
paidAmount: IDL.Nat,
|
|
1162
1175
|
authorization: IDL.Record({
|
|
@@ -1182,7 +1195,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1182
1195
|
produced: IDL.Nat,
|
|
1183
1196
|
firstPaymentDay: IDL.Opt(IDL.Nat),
|
|
1184
1197
|
});
|
|
1185
|
-
const
|
|
1198
|
+
const Result_8 = IDL.Variant({ Ok: IDL.Vec(Seat), Err: Error });
|
|
1186
1199
|
const RailHealth = IDL.Record({
|
|
1187
1200
|
sessionsExpired: IDL.Nat,
|
|
1188
1201
|
sessionsClosed: IDL.Nat,
|
|
@@ -1197,7 +1210,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1197
1210
|
freezeReservation: IDL.Nat,
|
|
1198
1211
|
unknownSessionRefusals: IDL.Nat,
|
|
1199
1212
|
});
|
|
1200
|
-
const
|
|
1213
|
+
const Result_7 = IDL.Variant({ Ok: RailHealth, Err: Error });
|
|
1201
1214
|
const CallerSignatureCount = IDL.Record({
|
|
1202
1215
|
count: IDL.Nat,
|
|
1203
1216
|
role: Role,
|
|
@@ -1208,7 +1221,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1208
1221
|
total: IDL.Nat,
|
|
1209
1222
|
byCaller: IDL.Vec(CallerSignatureCount),
|
|
1210
1223
|
});
|
|
1211
|
-
const
|
|
1224
|
+
const Result_6 = IDL.Variant({ Ok: SignatureCounts, Err: Error });
|
|
1225
|
+
const Result_5 = IDL.Variant({
|
|
1226
|
+
Ok: IDL.Record({ returned: IDL.Nat }),
|
|
1227
|
+
Err: Error,
|
|
1228
|
+
});
|
|
1212
1229
|
const ControlHandover = IDL.Variant({
|
|
1213
1230
|
MovedByRegistry: IDL.Null,
|
|
1214
1231
|
NotHeldHere: IDL.Null,
|
|
@@ -1217,7 +1234,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1217
1234
|
const Result_2 = IDL.Variant({ Ok: ControlHandover, Err: Error });
|
|
1218
1235
|
const Engram = IDL.Service({
|
|
1219
1236
|
about: IDL.Func([], [About], ['query']),
|
|
1220
|
-
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [
|
|
1237
|
+
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_82], []),
|
|
1221
1238
|
actionAlertTransform: IDL.Func(
|
|
1222
1239
|
[
|
|
1223
1240
|
IDL.Record({
|
|
@@ -1228,7 +1245,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1228
1245
|
[HttpRequestResult],
|
|
1229
1246
|
['query'],
|
|
1230
1247
|
),
|
|
1231
|
-
addEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [
|
|
1248
|
+
addEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_81], []),
|
|
1232
1249
|
addEip712Type: IDL.Func(
|
|
1233
1250
|
[
|
|
1234
1251
|
IDL.Record({
|
|
@@ -1250,87 +1267,88 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1250
1267
|
ackIrrevocable: IDL.Bool,
|
|
1251
1268
|
}),
|
|
1252
1269
|
],
|
|
1253
|
-
[
|
|
1270
|
+
[Result_80],
|
|
1254
1271
|
[],
|
|
1255
1272
|
),
|
|
1256
1273
|
addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_1], []),
|
|
1257
|
-
addRecordNote: IDL.Func([IDL.Nat, IDL.Text], [
|
|
1274
|
+
addRecordNote: IDL.Func([IDL.Nat, IDL.Text], [Result_13], []),
|
|
1258
1275
|
appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
|
|
1259
|
-
applyCondense: IDL.Func([IDL.Nat], [
|
|
1276
|
+
applyCondense: IDL.Func([IDL.Nat], [Result_79], []),
|
|
1260
1277
|
approveGuardian: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1261
1278
|
approveRequest: IDL.Func([IDL.Text], [Result_1], []),
|
|
1262
1279
|
backupAbort: IDL.Func([IDL.Text], [Result_1], []),
|
|
1263
1280
|
backupFinalize: IDL.Func([IDL.Text], [Result_1], []),
|
|
1264
1281
|
backupInit: IDL.Func(
|
|
1265
1282
|
[IDL.Text, BackupType, IDL.Opt(IDL.Text), IDL.Text, IDL.Opt(IDL.Text)],
|
|
1266
|
-
[
|
|
1283
|
+
[Result_52],
|
|
1267
1284
|
[],
|
|
1268
1285
|
),
|
|
1269
|
-
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1286
|
+
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_68], ['query']),
|
|
1270
1287
|
backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_1], []),
|
|
1271
1288
|
cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1272
1289
|
closeSession: IDL.Func([IDL.Text], [Result_1], []),
|
|
1273
|
-
convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1274
|
-
createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [
|
|
1275
|
-
createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [
|
|
1290
|
+
convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_13], []),
|
|
1291
|
+
createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_52], []),
|
|
1292
|
+
createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_52], []),
|
|
1276
1293
|
deleteBackup: IDL.Func([IDL.Text], [Result_1], []),
|
|
1277
1294
|
deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
|
|
1278
1295
|
denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1279
|
-
disputeAgentWrite: IDL.Func([IDL.Nat, IDL.Text], [
|
|
1280
|
-
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [
|
|
1296
|
+
disputeAgentWrite: IDL.Func([IDL.Nat, IDL.Text], [Result_13], []),
|
|
1297
|
+
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_78], []),
|
|
1281
1298
|
freezePayments: IDL.Func([], [Result_1], []),
|
|
1282
1299
|
freezePaymentsWithReason: IDL.Func([IDL.Text], [Result_1], []),
|
|
1283
|
-
getActionAlertStatus: IDL.Func([], [
|
|
1284
|
-
getAgentRevisablePaths: IDL.Func([], [
|
|
1285
|
-
getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1286
|
-
getAgentWriteReview: IDL.Func([], [
|
|
1300
|
+
getActionAlertStatus: IDL.Func([], [Result_66], ['query']),
|
|
1301
|
+
getAgentRevisablePaths: IDL.Func([], [Result_62], ['query']),
|
|
1302
|
+
getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_76], ['query']),
|
|
1303
|
+
getAgentWriteReview: IDL.Func([], [Result_75], ['query']),
|
|
1287
1304
|
getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
|
|
1288
1305
|
getAuditHead: IDL.Func([], [AuditHead], ['query']),
|
|
1289
|
-
getBackupMetadata: IDL.Func([IDL.Text], [
|
|
1290
|
-
getBackupRetention: IDL.Func([IDL.Text], [
|
|
1306
|
+
getBackupMetadata: IDL.Func([IDL.Text], [Result_74], ['query']),
|
|
1307
|
+
getBackupRetention: IDL.Func([IDL.Text], [Result_73], ['query']),
|
|
1291
1308
|
getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1292
|
-
|
|
1309
|
+
getBirthChain: IDL.Func([], [Result_72], ['query']),
|
|
1310
|
+
getBrakes: IDL.Func([], [Result_71], ['query']),
|
|
1293
1311
|
getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
|
|
1294
|
-
getChildAllowance: IDL.Func([IDL.Principal], [
|
|
1295
|
-
getChildOpening: IDL.Func([], [
|
|
1296
|
-
getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [
|
|
1312
|
+
getChildAllowance: IDL.Func([IDL.Principal], [Result_70], ['query']),
|
|
1313
|
+
getChildOpening: IDL.Func([], [Result_69], ['query']),
|
|
1314
|
+
getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_68], []),
|
|
1297
1315
|
getEngramCard: IDL.Func([], [AgentCard], ['query']),
|
|
1298
|
-
getEvmAddress: IDL.Func([], [
|
|
1316
|
+
getEvmAddress: IDL.Func([], [Result_67], []),
|
|
1299
1317
|
getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
|
|
1300
|
-
getEvmSignerAddress: IDL.Func([], [
|
|
1318
|
+
getEvmSignerAddress: IDL.Func([], [Result_52], []),
|
|
1301
1319
|
getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
|
|
1302
|
-
getGuardianAlertStatus: IDL.Func([], [
|
|
1320
|
+
getGuardianAlertStatus: IDL.Func([], [Result_66], ['query']),
|
|
1303
1321
|
getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1304
1322
|
getMemoryHistory: IDL.Func(
|
|
1305
1323
|
[IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
|
|
1306
|
-
[
|
|
1324
|
+
[Result_65],
|
|
1307
1325
|
['query'],
|
|
1308
1326
|
),
|
|
1309
1327
|
getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
|
|
1310
1328
|
getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
|
|
1311
1329
|
getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
|
|
1312
|
-
getMemoryRetentionPolicy: IDL.Func([], [
|
|
1330
|
+
getMemoryRetentionPolicy: IDL.Func([], [Result_64], ['query']),
|
|
1313
1331
|
getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1314
|
-
getMyGuardianStatus: IDL.Func([], [
|
|
1315
|
-
getOwnerConsole: IDL.Func([], [
|
|
1316
|
-
getProtectedPaths: IDL.Func([], [
|
|
1332
|
+
getMyGuardianStatus: IDL.Func([], [Result_16], ['query']),
|
|
1333
|
+
getOwnerConsole: IDL.Func([], [Result_63], ['query']),
|
|
1334
|
+
getProtectedPaths: IDL.Func([], [Result_62], ['query']),
|
|
1317
1335
|
getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
|
|
1318
|
-
getSigningFloor: IDL.Func([], [
|
|
1336
|
+
getSigningFloor: IDL.Func([], [Result_61], ['query']),
|
|
1319
1337
|
getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1320
|
-
getSpendCeiling: IDL.Func([], [
|
|
1321
|
-
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [
|
|
1322
|
-
getStorageStats: IDL.Func([], [
|
|
1338
|
+
getSpendCeiling: IDL.Func([], [Result_60], ['query']),
|
|
1339
|
+
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_59], ['query']),
|
|
1340
|
+
getStorageStats: IDL.Func([], [Result_58], ['query']),
|
|
1323
1341
|
getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
|
|
1324
1342
|
getTopUpLimits: IDL.Func(
|
|
1325
1343
|
[],
|
|
1326
1344
|
[IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
|
|
1327
1345
|
['query'],
|
|
1328
1346
|
),
|
|
1329
|
-
getWalletBalances: IDL.Func([], [
|
|
1330
|
-
getWorldIdConfig: IDL.Func([], [
|
|
1331
|
-
getWorldIdRpContext: IDL.Func([], [
|
|
1332
|
-
getWorldIdRpSignerAddress: IDL.Func([], [
|
|
1333
|
-
getWorldIdVerification: IDL.Func([], [
|
|
1347
|
+
getWalletBalances: IDL.Func([], [Result_57], []),
|
|
1348
|
+
getWorldIdConfig: IDL.Func([], [Result_56], ['query']),
|
|
1349
|
+
getWorldIdRpContext: IDL.Func([], [Result_55], []),
|
|
1350
|
+
getWorldIdRpSignerAddress: IDL.Func([], [Result_52], []),
|
|
1351
|
+
getWorldIdVerification: IDL.Func([], [Result_54], ['query']),
|
|
1334
1352
|
guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1335
1353
|
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
1336
1354
|
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
@@ -1361,90 +1379,90 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1361
1379
|
],
|
|
1362
1380
|
['query'],
|
|
1363
1381
|
),
|
|
1364
|
-
isEvmAddressCached: IDL.Func([], [
|
|
1365
|
-
issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [
|
|
1366
|
-
listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1367
|
-
listAgentSpendToday: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1368
|
-
listAgents: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1369
|
-
listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1382
|
+
isEvmAddressCached: IDL.Func([], [Result_53], ['query']),
|
|
1383
|
+
issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_52], []),
|
|
1384
|
+
listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_51], ['query']),
|
|
1385
|
+
listAgentSpendToday: IDL.Func([IDL.Nat, IDL.Nat], [Result_50], ['query']),
|
|
1386
|
+
listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_49], ['query']),
|
|
1387
|
+
listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_48], ['query']),
|
|
1370
1388
|
listApprovalRequests: IDL.Func(
|
|
1371
1389
|
[IDL.Opt(ApprovalStatus), IDL.Nat, IDL.Nat],
|
|
1372
|
-
[
|
|
1390
|
+
[Result_34],
|
|
1373
1391
|
['query'],
|
|
1374
1392
|
),
|
|
1375
|
-
listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1376
|
-
listBackups: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1377
|
-
listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1378
|
-
listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1379
|
-
listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1380
|
-
listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1381
|
-
listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [
|
|
1382
|
-
listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1383
|
-
listGuardianDisputes: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1384
|
-
listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1385
|
-
listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1386
|
-
listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1387
|
-
listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [
|
|
1388
|
-
listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1389
|
-
listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1390
|
-
listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1391
|
-
listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1392
|
-
listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1393
|
-
listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [
|
|
1394
|
-
listRecordNotes: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1395
|
-
listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1396
|
-
listSignIns: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1397
|
-
markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [
|
|
1398
|
-
myGrant: IDL.Func([], [
|
|
1393
|
+
listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_47], ['query']),
|
|
1394
|
+
listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_46], ['query']),
|
|
1395
|
+
listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_45], ['query']),
|
|
1396
|
+
listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_44], ['query']),
|
|
1397
|
+
listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
|
|
1398
|
+
listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
|
|
1399
|
+
listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_41], ['query']),
|
|
1400
|
+
listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_40], ['query']),
|
|
1401
|
+
listGuardianDisputes: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
|
|
1402
|
+
listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_38], ['query']),
|
|
1403
|
+
listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
|
|
1404
|
+
listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
|
|
1405
|
+
listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_35], ['query']),
|
|
1406
|
+
listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_34], ['query']),
|
|
1407
|
+
listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
|
|
1408
|
+
listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_32], ['query']),
|
|
1409
|
+
listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
|
|
1410
|
+
listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_30], ['query']),
|
|
1411
|
+
listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_29], ['query']),
|
|
1412
|
+
listRecordNotes: IDL.Func([IDL.Nat, IDL.Nat], [Result_28], ['query']),
|
|
1413
|
+
listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_27], ['query']),
|
|
1414
|
+
listSignIns: IDL.Func([IDL.Nat, IDL.Nat], [Result_26], ['query']),
|
|
1415
|
+
markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_13], []),
|
|
1416
|
+
myGrant: IDL.Func([], [Result_25], ['query']),
|
|
1399
1417
|
nominateAgentKey: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1400
|
-
openChildEngram: IDL.Func([], [
|
|
1401
|
-
openSession: IDL.Func([SessionConfig, PaymentSignature], [
|
|
1402
|
-
ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [
|
|
1403
|
-
pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [
|
|
1418
|
+
openChildEngram: IDL.Func([], [Result_24], []),
|
|
1419
|
+
openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_23], []),
|
|
1420
|
+
ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_13], []),
|
|
1421
|
+
pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_22], []),
|
|
1404
1422
|
pauseWrites: IDL.Func([], [Result_1], []),
|
|
1405
1423
|
pauseWritesWithReason: IDL.Func([IDL.Text], [Result_1], []),
|
|
1406
|
-
previewCondense: IDL.Func([IDL.Nat], [
|
|
1424
|
+
previewCondense: IDL.Func([IDL.Nat], [Result_21], ['query']),
|
|
1407
1425
|
previewOpenSession: IDL.Func([], [SessionIntent], ['query']),
|
|
1408
1426
|
previewRetention: IDL.Func(
|
|
1409
1427
|
[IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec))],
|
|
1410
|
-
[
|
|
1428
|
+
[Result_20],
|
|
1411
1429
|
['query'],
|
|
1412
1430
|
),
|
|
1413
|
-
readMemory: IDL.Func([IDL.Text], [
|
|
1414
|
-
readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [
|
|
1431
|
+
readMemory: IDL.Func([IDL.Text], [Result_11], ['query']),
|
|
1432
|
+
readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_19], ['query']),
|
|
1415
1433
|
readMemoryBytes: IDL.Func(
|
|
1416
1434
|
[IDL.Text, IDL.Nat, IDL.Nat, IDL.Opt(IDL.Nat)],
|
|
1417
|
-
[
|
|
1435
|
+
[Result_18],
|
|
1418
1436
|
['query'],
|
|
1419
1437
|
),
|
|
1420
|
-
recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1421
|
-
registerGuardian: IDL.Func([IDL.Text], [
|
|
1438
|
+
recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [Result_17], []),
|
|
1439
|
+
registerGuardian: IDL.Func([IDL.Text], [Result_16], []),
|
|
1422
1440
|
removeCallerSpendPolicy: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1423
1441
|
removeEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_1], []),
|
|
1424
1442
|
removeEip712Type: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_1], []),
|
|
1425
1443
|
removeGuardian: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1426
1444
|
renameAgent: IDL.Func([IDL.Principal, IDL.Text], [Result_1], []),
|
|
1427
|
-
repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [
|
|
1428
|
-
resetEngram: IDL.Func([], [
|
|
1445
|
+
repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [Result_13], []),
|
|
1446
|
+
resetEngram: IDL.Func([], [Result_15], []),
|
|
1429
1447
|
resignAgent: IDL.Func([], [Result_1], []),
|
|
1430
1448
|
resumeWrites: IDL.Func([], [Result_1], []),
|
|
1431
|
-
resyncAgentEdges: IDL.Func([], [
|
|
1449
|
+
resyncAgentEdges: IDL.Func([], [Result_14], []),
|
|
1432
1450
|
returnToManaged: IDL.Func([], [Result_1], []),
|
|
1433
1451
|
reviseMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
|
|
1434
1452
|
revokeAgent: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1435
|
-
revokeAllAgents: IDL.Func([], [
|
|
1436
|
-
revokeAllBearerTokens: IDL.Func([], [
|
|
1437
|
-
revokeAllInvites: IDL.Func([], [
|
|
1453
|
+
revokeAllAgents: IDL.Func([], [Result_13], []),
|
|
1454
|
+
revokeAllBearerTokens: IDL.Func([], [Result_13], []),
|
|
1455
|
+
revokeAllInvites: IDL.Func([], [Result_13], []),
|
|
1438
1456
|
revokeBearerToken: IDL.Func([IDL.Text], [Result_1], []),
|
|
1439
1457
|
rollbackMemory: IDL.Func([IDL.Text, IDL.Nat], [Result], []),
|
|
1440
1458
|
rotateAgentKeyHash: IDL.Func([IDL.Text], [Result_1], []),
|
|
1441
1459
|
sessionAppendMemory: IDL.Func([Voucher, IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
|
|
1442
|
-
sessionReadContext: IDL.Func([IDL.Text], [
|
|
1443
|
-
sessionReadMemory: IDL.Func([Voucher, IDL.Text], [
|
|
1460
|
+
sessionReadContext: IDL.Func([IDL.Text], [Result_12], []),
|
|
1461
|
+
sessionReadMemory: IDL.Func([Voucher, IDL.Text], [Result_11], []),
|
|
1444
1462
|
setActionAlertConfig: IDL.Func([AlertConfig], [Result_1], []),
|
|
1445
1463
|
setAgentPermissions: IDL.Func([IDL.Principal, AgentPermissions], [Result_1], []),
|
|
1446
1464
|
setAgentRevisablePaths: IDL.Func([IDL.Vec(IDL.Text)], [Result_1], []),
|
|
1447
|
-
setBackupRetention: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1465
|
+
setBackupRetention: IDL.Func([IDL.Text, IDL.Nat], [Result_10], []),
|
|
1448
1466
|
setCallerSpendPolicy: IDL.Func([IDL.Principal, SpendingPolicy], [Result_1], []),
|
|
1449
1467
|
setChildAllowance: IDL.Func([IDL.Principal, IDL.Nat], [Result_1], []),
|
|
1450
1468
|
setEncryptionEnabled: IDL.Func([IDL.Bool], [Result_1], []),
|
|
@@ -1481,7 +1499,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1481
1499
|
maxPriorityFeePerGas: IDL.Nat,
|
|
1482
1500
|
}),
|
|
1483
1501
|
],
|
|
1484
|
-
[
|
|
1502
|
+
[Result_9],
|
|
1485
1503
|
[],
|
|
1486
1504
|
),
|
|
1487
1505
|
signX402Payment: IDL.Func(
|
|
@@ -1502,9 +1520,20 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1502
1520
|
),
|
|
1503
1521
|
stepDownAsGuardian: IDL.Func([], [Result_1], []),
|
|
1504
1522
|
sysForceCloseSession: IDL.Func([IDL.Text], [Result_1], []),
|
|
1505
|
-
sysGetAgentSeatWeeks: IDL.Func([], [
|
|
1506
|
-
sysGetRailHealth: IDL.Func([], [
|
|
1507
|
-
sysGetSignatureCounts: IDL.Func([], [
|
|
1523
|
+
sysGetAgentSeatWeeks: IDL.Func([], [Result_8], []),
|
|
1524
|
+
sysGetRailHealth: IDL.Func([], [Result_7], ['query']),
|
|
1525
|
+
sysGetSignatureCounts: IDL.Func([], [Result_6], []),
|
|
1526
|
+
sysNoteRestart: IDL.Func(
|
|
1527
|
+
[
|
|
1528
|
+
IDL.Record({
|
|
1529
|
+
keepCycles: IDL.Nat,
|
|
1530
|
+
loan: IDL.Nat,
|
|
1531
|
+
quietUntilNs: IDL.Int,
|
|
1532
|
+
}),
|
|
1533
|
+
],
|
|
1534
|
+
[Result_1],
|
|
1535
|
+
[],
|
|
1536
|
+
),
|
|
1508
1537
|
sysNotifyRentLifecycle: IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1509
1538
|
sysNotifyWalletActivity: IDL.Func([IDL.Text], [Result_1], []),
|
|
1510
1539
|
sysRecordFeeEvent: IDL.Func(
|
|
@@ -1518,7 +1547,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1518
1547
|
[Result_1],
|
|
1519
1548
|
[],
|
|
1520
1549
|
),
|
|
1550
|
+
sysReturnUpgradeAdvance: IDL.Func(
|
|
1551
|
+
[
|
|
1552
|
+
IDL.Record({
|
|
1553
|
+
balanceBefore: IDL.Nat,
|
|
1554
|
+
advanceId: IDL.Nat,
|
|
1555
|
+
advance: IDL.Nat,
|
|
1556
|
+
}),
|
|
1557
|
+
],
|
|
1558
|
+
[Result_5],
|
|
1559
|
+
[],
|
|
1560
|
+
),
|
|
1521
1561
|
sysSetBillerId: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1562
|
+
sysSetBirthChain: IDL.Func([IDL.Vec(BirthRecord)], [Result_1], []),
|
|
1522
1563
|
sysSetMarketId: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1523
1564
|
sysSetMetricsReaderId: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1524
1565
|
sysSignEip712: IDL.Func(
|