@engramx/idl 0.16.0-rc.4 → 0.16.0-rc.6
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 +143 -121
- package/dist/engram.idl.d.ts +137 -120
- package/dist/engram.idl.js +125 -120
- package/dist/market.did +86 -35
- package/dist/market.idl.d.ts +83 -35
- package/dist/market.idl.js +41 -35
- package/package.json +2 -2
package/dist/engram.idl.js
CHANGED
|
@@ -89,7 +89,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
89
89
|
Unavailable: IDL.Text,
|
|
90
90
|
Conflict: IDL.Text,
|
|
91
91
|
});
|
|
92
|
-
const
|
|
92
|
+
const Result_71 = IDL.Variant({ Ok: AgentRecord, Err: Error });
|
|
93
93
|
const HttpHeader = IDL.Record({ value: IDL.Text, name: IDL.Text });
|
|
94
94
|
const HttpRequestResult = IDL.Record({
|
|
95
95
|
status: IDL.Nat,
|
|
@@ -101,8 +101,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
101
101
|
cooloffEndsAtNs: IDL.Int,
|
|
102
102
|
typeId: IDL.Vec(IDL.Nat8),
|
|
103
103
|
});
|
|
104
|
-
const
|
|
105
|
-
const
|
|
104
|
+
const Result_70 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
|
|
105
|
+
const Result_69 = IDL.Variant({
|
|
106
106
|
Ok: IDL.Record({ activatesAtNs: IDL.Int }),
|
|
107
107
|
Err: Error,
|
|
108
108
|
});
|
|
@@ -137,14 +137,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
137
|
historyBytesDelta: IDL.Int,
|
|
138
138
|
opCount: IDL.Nat,
|
|
139
139
|
});
|
|
140
|
-
const
|
|
140
|
+
const Result_68 = IDL.Variant({ Ok: CondenseResult, Err: Error });
|
|
141
141
|
const BackupType = IDL.Variant({
|
|
142
142
|
PartialSnapshot: IDL.Null,
|
|
143
143
|
IncrementalDiff: IDL.Null,
|
|
144
144
|
FullSnapshot: IDL.Null,
|
|
145
145
|
});
|
|
146
|
-
const
|
|
147
|
-
const
|
|
146
|
+
const Result_44 = IDL.Variant({ Ok: IDL.Text, Err: Error });
|
|
147
|
+
const Result_60 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
|
|
148
148
|
const Result_8 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
|
|
149
149
|
const MemoryRangeExport = IDL.Record({
|
|
150
150
|
seq: IDL.Nat,
|
|
@@ -155,7 +155,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
155
155
|
fromSeq: IDL.Nat,
|
|
156
156
|
authorFilter: IDL.Opt(IDL.Principal),
|
|
157
157
|
});
|
|
158
|
-
const
|
|
158
|
+
const Result_67 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
|
|
159
159
|
const AlertConfig = IDL.Record({
|
|
160
160
|
url: IDL.Opt(IDL.Text),
|
|
161
161
|
money: IDL.Bool,
|
|
@@ -172,8 +172,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
172
172
|
disabled: IDL.Bool,
|
|
173
173
|
config: AlertConfig,
|
|
174
174
|
});
|
|
175
|
-
const
|
|
176
|
-
const
|
|
175
|
+
const Result_58 = IDL.Variant({ Ok: AlertStatus, Err: Error });
|
|
176
|
+
const Result_54 = IDL.Variant({
|
|
177
177
|
Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
|
|
178
178
|
Err: Error,
|
|
179
179
|
});
|
|
@@ -190,7 +190,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
190
190
|
withheld: IDL.Nat,
|
|
191
191
|
items: IDL.Vec(OwnerRow),
|
|
192
192
|
});
|
|
193
|
-
const
|
|
193
|
+
const Result_65 = IDL.Variant({ Ok: Page_21, Err: Error });
|
|
194
194
|
const Role = IDL.Variant({
|
|
195
195
|
Anonymous: IDL.Null,
|
|
196
196
|
Viewer: IDL.Null,
|
|
@@ -229,7 +229,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
229
229
|
earliest: IDL.Nat,
|
|
230
230
|
capped: IDL.Bool,
|
|
231
231
|
});
|
|
232
|
-
const
|
|
232
|
+
const Result_64 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
|
|
233
233
|
const AnchorPushStatus = IDL.Record({
|
|
234
234
|
anchorTickAtNs: IDL.Opt(IDL.Int),
|
|
235
235
|
okAtNs: IDL.Opt(IDL.Int),
|
|
@@ -265,7 +265,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
265
265
|
chunkCount: IDL.Nat,
|
|
266
266
|
parentBackupId: IDL.Opt(IDL.Text),
|
|
267
267
|
});
|
|
268
|
-
const
|
|
268
|
+
const Result_63 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
|
|
269
269
|
const CertifiedAuditHead = IDL.Record({
|
|
270
270
|
total: IDL.Nat,
|
|
271
271
|
certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -277,14 +277,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
277
277
|
root: IDL.Principal,
|
|
278
278
|
remaining: IDL.Nat,
|
|
279
279
|
});
|
|
280
|
-
const
|
|
280
|
+
const Result_62 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
|
|
281
281
|
const ChildOpening = IDL.Record({
|
|
282
282
|
attachCycles: IDL.Nat,
|
|
283
283
|
balance: IDL.Nat,
|
|
284
284
|
allowances: IDL.Vec(ChildAllowanceRow),
|
|
285
285
|
floorCycles: IDL.Nat,
|
|
286
286
|
});
|
|
287
|
-
const
|
|
287
|
+
const Result_61 = IDL.Variant({ Ok: ChildOpening, Err: Error });
|
|
288
288
|
const ServiceEntry = IDL.Record({
|
|
289
289
|
endpoint: IDL.Text,
|
|
290
290
|
name: IDL.Text,
|
|
@@ -302,7 +302,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
302
302
|
pay: IDL.Text,
|
|
303
303
|
engramRegistration: IDL.Text,
|
|
304
304
|
});
|
|
305
|
-
const
|
|
305
|
+
const Result_59 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
|
|
306
306
|
const GenesisNote = IDL.Record({
|
|
307
307
|
predecessorSize: IDL.Opt(IDL.Nat),
|
|
308
308
|
predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -346,7 +346,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
346
346
|
versions: IDL.Vec(MemoryVersionSummary),
|
|
347
347
|
evictedCount: IDL.Nat,
|
|
348
348
|
});
|
|
349
|
-
const
|
|
349
|
+
const Result_57 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
|
|
350
350
|
const MemoryMaintainStatus = IDL.Record({
|
|
351
351
|
attachOk: IDL.Bool,
|
|
352
352
|
attachDetail: IDL.Text,
|
|
@@ -374,7 +374,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
374
374
|
entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
|
|
375
375
|
guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
|
|
376
376
|
});
|
|
377
|
-
const
|
|
377
|
+
const Result_56 = IDL.Variant({
|
|
378
378
|
Ok: MemoryRetentionPolicy,
|
|
379
379
|
Err: Error,
|
|
380
380
|
});
|
|
@@ -399,19 +399,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
399
399
|
cyclesBalance: IDL.Nat,
|
|
400
400
|
unknownSessionRefusals: IDL.Nat,
|
|
401
401
|
});
|
|
402
|
-
const
|
|
402
|
+
const Result_55 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
|
|
403
403
|
const SigningFloorStatus = IDL.Record({
|
|
404
404
|
floor: IDL.Nat,
|
|
405
405
|
signaturesAboveFloor: IDL.Nat,
|
|
406
406
|
balance: IDL.Nat,
|
|
407
407
|
perSignature: IDL.Nat,
|
|
408
408
|
});
|
|
409
|
-
const
|
|
409
|
+
const Result_53 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
|
|
410
410
|
const SpendCeiling = IDL.Record({
|
|
411
411
|
spentToday: IDL.Nat,
|
|
412
412
|
maxPerDay: IDL.Opt(IDL.Nat),
|
|
413
413
|
});
|
|
414
|
-
const
|
|
414
|
+
const Result_52 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
|
|
415
415
|
const SpendingPolicy = IDL.Record({
|
|
416
416
|
maxSessionDeposit: IDL.Opt(IDL.Nat),
|
|
417
417
|
blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
@@ -423,7 +423,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
423
423
|
allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
424
424
|
maxConcurrentSessions: IDL.Opt(IDL.Nat),
|
|
425
425
|
});
|
|
426
|
-
const
|
|
426
|
+
const Result_51 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
|
|
427
427
|
const StorageReport = IDL.Record({
|
|
428
428
|
sessionFilesSize: IDL.Nat,
|
|
429
429
|
totalFiles: IDL.Nat,
|
|
@@ -438,7 +438,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
438
438
|
versionHistoryCount: IDL.Nat,
|
|
439
439
|
sessionFilesCount: IDL.Nat,
|
|
440
440
|
});
|
|
441
|
-
const
|
|
441
|
+
const Result_50 = IDL.Variant({ Ok: StorageReport, Err: Error });
|
|
442
442
|
const TimerHealth = IDL.Record({
|
|
443
443
|
jobExpiryFastMode: IDL.Bool,
|
|
444
444
|
jobExpiryArmed: IDL.Bool,
|
|
@@ -451,14 +451,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
451
451
|
ckusdtE6s: IDL.Nat,
|
|
452
452
|
cycles: IDL.Nat,
|
|
453
453
|
});
|
|
454
|
-
const
|
|
454
|
+
const Result_49 = IDL.Variant({ Ok: WalletBalances, Err: Error });
|
|
455
455
|
const WorldIdConfig = IDL.Record({
|
|
456
456
|
action: IDL.Text,
|
|
457
457
|
appId: IDL.Text,
|
|
458
458
|
rpId: IDL.Text,
|
|
459
459
|
configured: IDL.Bool,
|
|
460
460
|
});
|
|
461
|
-
const
|
|
461
|
+
const Result_48 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
|
|
462
462
|
const WorldIdRpContext = IDL.Record({
|
|
463
463
|
signature: IDL.Text,
|
|
464
464
|
expiresAt: IDL.Nat,
|
|
@@ -466,8 +466,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
466
466
|
rpId: IDL.Text,
|
|
467
467
|
nonce: IDL.Text,
|
|
468
468
|
});
|
|
469
|
-
const
|
|
470
|
-
const
|
|
469
|
+
const Result_47 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
|
|
470
|
+
const Result_46 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
|
|
471
471
|
const HttpRequest = IDL.Record({
|
|
472
472
|
url: IDL.Text,
|
|
473
473
|
method: IDL.Text,
|
|
@@ -480,7 +480,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
480
480
|
upgrade: IDL.Opt(IDL.Bool),
|
|
481
481
|
status_code: IDL.Nat16,
|
|
482
482
|
});
|
|
483
|
-
const
|
|
483
|
+
const Result_45 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
|
|
484
484
|
const ActivitySnapshot = IDL.Record({
|
|
485
485
|
atNs: IDL.Int,
|
|
486
486
|
memoryReads: IDL.Nat,
|
|
@@ -491,13 +491,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
491
491
|
withheld: IDL.Nat,
|
|
492
492
|
items: IDL.Vec(ActivitySnapshot),
|
|
493
493
|
});
|
|
494
|
-
const
|
|
494
|
+
const Result_43 = IDL.Variant({ Ok: Page_20, Err: Error });
|
|
495
495
|
const Page_19 = IDL.Record({
|
|
496
496
|
total: IDL.Nat,
|
|
497
497
|
withheld: IDL.Nat,
|
|
498
498
|
items: IDL.Vec(AgentRecord),
|
|
499
499
|
});
|
|
500
|
-
const
|
|
500
|
+
const Result_42 = IDL.Variant({ Ok: Page_19, Err: Error });
|
|
501
501
|
const Page_18 = IDL.Record({
|
|
502
502
|
total: IDL.Nat,
|
|
503
503
|
withheld: IDL.Nat,
|
|
@@ -509,7 +509,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
509
509
|
}),
|
|
510
510
|
),
|
|
511
511
|
});
|
|
512
|
-
const
|
|
512
|
+
const Result_41 = IDL.Variant({ Ok: Page_18, Err: Error });
|
|
513
513
|
const ApprovalStatus = IDL.Variant({
|
|
514
514
|
Used: IDL.Null,
|
|
515
515
|
Approved: IDL.Null,
|
|
@@ -538,19 +538,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
538
538
|
withheld: IDL.Nat,
|
|
539
539
|
items: IDL.Vec(ApprovalRequest),
|
|
540
540
|
});
|
|
541
|
-
const
|
|
541
|
+
const Result_29 = IDL.Variant({ Ok: Page_6, Err: Error });
|
|
542
542
|
const Page_1 = IDL.Record({
|
|
543
543
|
total: IDL.Nat,
|
|
544
544
|
withheld: IDL.Nat,
|
|
545
545
|
items: IDL.Vec(AuditEntry),
|
|
546
546
|
});
|
|
547
|
-
const
|
|
547
|
+
const Result_24 = IDL.Variant({ Ok: Page_1, Err: Error });
|
|
548
548
|
const Page_17 = IDL.Record({
|
|
549
549
|
total: IDL.Nat,
|
|
550
550
|
withheld: IDL.Nat,
|
|
551
551
|
items: IDL.Vec(BackupMetadata),
|
|
552
552
|
});
|
|
553
|
-
const
|
|
553
|
+
const Result_40 = IDL.Variant({ Ok: Page_17, Err: Error });
|
|
554
554
|
const BearerTokenStatus = IDL.Variant({
|
|
555
555
|
Active: IDL.Null,
|
|
556
556
|
Revoked: IDL.Null,
|
|
@@ -572,7 +572,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
572
572
|
withheld: IDL.Nat,
|
|
573
573
|
items: IDL.Vec(BearerToken),
|
|
574
574
|
});
|
|
575
|
-
const
|
|
575
|
+
const Result_39 = IDL.Variant({ Ok: Page_16, Err: Error });
|
|
576
576
|
const CondenseCheckpointRow = IDL.Record({
|
|
577
577
|
by: IDL.Principal,
|
|
578
578
|
seq: IDL.Nat,
|
|
@@ -593,7 +593,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
593
593
|
page: Page_15,
|
|
594
594
|
scannedThroughSeq: IDL.Nat,
|
|
595
595
|
});
|
|
596
|
-
const
|
|
596
|
+
const Result_38 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
|
|
597
597
|
const CycleSnapshot = IDL.Record({
|
|
598
598
|
seq: IDL.Nat,
|
|
599
599
|
source: IDL.Variant({ balance: IDL.Null, self: IDL.Null }),
|
|
@@ -605,13 +605,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
605
605
|
withheld: IDL.Nat,
|
|
606
606
|
items: IDL.Vec(CycleSnapshot),
|
|
607
607
|
});
|
|
608
|
-
const
|
|
608
|
+
const Result_37 = IDL.Variant({ Ok: Page_14, Err: Error });
|
|
609
609
|
const Page_13 = IDL.Record({
|
|
610
610
|
total: IDL.Nat,
|
|
611
611
|
withheld: IDL.Nat,
|
|
612
612
|
items: IDL.Vec(IDL.Text),
|
|
613
613
|
});
|
|
614
|
-
const
|
|
614
|
+
const Result_36 = IDL.Variant({ Ok: Page_13, Err: Error });
|
|
615
615
|
const AuthorityClass = IDL.Variant({
|
|
616
616
|
standingAuthority: IDL.Null,
|
|
617
617
|
valueBearing: IDL.Null,
|
|
@@ -640,19 +640,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
640
640
|
withheld: IDL.Nat,
|
|
641
641
|
items: IDL.Vec(RegisteredType),
|
|
642
642
|
});
|
|
643
|
-
const
|
|
643
|
+
const Result_35 = IDL.Variant({ Ok: Page_12, Err: Error });
|
|
644
644
|
const Page_11 = IDL.Record({
|
|
645
645
|
total: IDL.Nat,
|
|
646
646
|
withheld: IDL.Nat,
|
|
647
647
|
items: IDL.Vec(IDL.Record({ activeFromNs: IDL.Int, address: IDL.Text })),
|
|
648
648
|
});
|
|
649
|
-
const
|
|
649
|
+
const Result_34 = IDL.Variant({ Ok: Page_11, Err: Error });
|
|
650
650
|
const Page_10 = IDL.Record({
|
|
651
651
|
total: IDL.Nat,
|
|
652
652
|
withheld: IDL.Nat,
|
|
653
653
|
items: IDL.Vec(GuardianRecord),
|
|
654
654
|
});
|
|
655
|
-
const
|
|
655
|
+
const Result_33 = IDL.Variant({ Ok: Page_10, Err: Error });
|
|
656
656
|
const ExportReceiptRow = IDL.Record({
|
|
657
657
|
by: IDL.Principal,
|
|
658
658
|
seq: IDL.Nat,
|
|
@@ -672,7 +672,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
672
672
|
page: Page_9,
|
|
673
673
|
scannedThroughSeq: IDL.Nat,
|
|
674
674
|
});
|
|
675
|
-
const
|
|
675
|
+
const Result_32 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
|
|
676
676
|
const Page_8 = IDL.Record({
|
|
677
677
|
total: IDL.Nat,
|
|
678
678
|
withheld: IDL.Nat,
|
|
@@ -684,7 +684,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
684
684
|
}),
|
|
685
685
|
),
|
|
686
686
|
});
|
|
687
|
-
const
|
|
687
|
+
const Result_31 = IDL.Variant({ Ok: Page_8, Err: Error });
|
|
688
688
|
const MemoryLogChunkRef = IDL.Record({
|
|
689
689
|
hash: IDL.Vec(IDL.Nat8),
|
|
690
690
|
size: IDL.Nat,
|
|
@@ -763,7 +763,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
763
763
|
head: IDL.Vec(IDL.Nat8),
|
|
764
764
|
page: Page_7,
|
|
765
765
|
});
|
|
766
|
-
const
|
|
766
|
+
const Result_30 = IDL.Variant({ Ok: LogPage, Err: Error });
|
|
767
767
|
const EngramSessionStatus = IDL.Variant({
|
|
768
768
|
closed: IDL.Null,
|
|
769
769
|
expired: IDL.Null,
|
|
@@ -787,7 +787,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
787
787
|
withheld: IDL.Nat,
|
|
788
788
|
items: IDL.Vec(EngramSessionState),
|
|
789
789
|
});
|
|
790
|
-
const
|
|
790
|
+
const Result_28 = IDL.Variant({ Ok: Page_5, Err: Error });
|
|
791
791
|
const OwnershipTransfer = IDL.Record({
|
|
792
792
|
to: IDL.Principal,
|
|
793
793
|
atNs: IDL.Int,
|
|
@@ -799,7 +799,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
799
799
|
withheld: IDL.Nat,
|
|
800
800
|
items: IDL.Vec(OwnershipTransfer),
|
|
801
801
|
});
|
|
802
|
-
const
|
|
802
|
+
const Result_27 = IDL.Variant({ Ok: Page_4, Err: Error });
|
|
803
803
|
const MarketplacePaymentSignatures = IDL.Record({
|
|
804
804
|
marketplace: IDL.Principal,
|
|
805
805
|
sharedSignedToday: IDL.Nat,
|
|
@@ -821,7 +821,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
821
821
|
agents: Page_3,
|
|
822
822
|
limit: IDL.Nat,
|
|
823
823
|
});
|
|
824
|
-
const
|
|
824
|
+
const Result_26 = IDL.Variant({
|
|
825
825
|
Ok: PaymentSignatureCounts,
|
|
826
826
|
Err: Error,
|
|
827
827
|
});
|
|
@@ -840,7 +840,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
840
840
|
withheld: IDL.Nat,
|
|
841
841
|
items: IDL.Vec(PurgedAgent),
|
|
842
842
|
});
|
|
843
|
-
const
|
|
843
|
+
const Result_25 = IDL.Variant({ Ok: Page_2, Err: Error });
|
|
844
844
|
const Repudiation = IDL.Record({
|
|
845
845
|
atNs: IDL.Int,
|
|
846
846
|
path: IDL.Text,
|
|
@@ -853,8 +853,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
853
853
|
withheld: IDL.Nat,
|
|
854
854
|
items: IDL.Vec(Repudiation),
|
|
855
855
|
});
|
|
856
|
-
const
|
|
857
|
-
const
|
|
856
|
+
const Result_23 = IDL.Variant({ Ok: Page, Err: Error });
|
|
857
|
+
const Result_22 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
|
|
858
858
|
const SessionConfig = IDL.Record({
|
|
859
859
|
autoClose: IDL.Bool,
|
|
860
860
|
idleTimeout: IDL.Opt(IDL.Int),
|
|
@@ -881,7 +881,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
881
881
|
nonce: IDL.Vec(IDL.Nat8),
|
|
882
882
|
authorization: IDL.Opt(Eip3009Authorization),
|
|
883
883
|
});
|
|
884
|
-
const
|
|
884
|
+
const Result_21 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
|
|
885
885
|
const TokenAmount = IDL.Variant({
|
|
886
886
|
Icp: IDL.Nat,
|
|
887
887
|
Ckusdc: IDL.Nat,
|
|
@@ -906,7 +906,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
906
906
|
agent: AgentRecord,
|
|
907
907
|
trackRecord: TrackRecordNotice,
|
|
908
908
|
});
|
|
909
|
-
const
|
|
909
|
+
const Result_20 = IDL.Variant({ Ok: Pairing, Err: Error });
|
|
910
910
|
const CondensePreview = IDL.Record({
|
|
911
911
|
scannedFromSeq: IDL.Nat,
|
|
912
912
|
scanTruncated: IDL.Bool,
|
|
@@ -920,7 +920,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
920
920
|
coveringReceipt: IDL.Opt(IDL.Record({ seq: IDL.Nat, toSeq: IDL.Nat, fromSeq: IDL.Nat })),
|
|
921
921
|
proposedToSeq: IDL.Nat,
|
|
922
922
|
});
|
|
923
|
-
const
|
|
923
|
+
const Result_19 = IDL.Variant({ Ok: CondensePreview, Err: Error });
|
|
924
924
|
const SessionIntent = IDL.Record({
|
|
925
925
|
token: IDL.Text,
|
|
926
926
|
costPerCall: IDL.Opt(IDL.Nat),
|
|
@@ -943,7 +943,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
943
943
|
result: IDL.Variant({ Ok: MemoryFile, Err: Error }),
|
|
944
944
|
path: IDL.Text,
|
|
945
945
|
});
|
|
946
|
-
const
|
|
946
|
+
const Result_18 = IDL.Variant({
|
|
947
947
|
Ok: IDL.Vec(BatchReadItem),
|
|
948
948
|
Err: Error,
|
|
949
949
|
});
|
|
@@ -952,7 +952,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
952
952
|
fileSize: IDL.Nat,
|
|
953
953
|
bytes: IDL.Vec(IDL.Nat8),
|
|
954
954
|
});
|
|
955
|
-
const
|
|
955
|
+
const Result_17 = IDL.Variant({ Ok: MemoryByteChunk, Err: Error });
|
|
956
|
+
const EngramEscrowRecovery = IDL.Record({
|
|
957
|
+
amountE6: IDL.Nat,
|
|
958
|
+
blockIndex: IDL.Nat,
|
|
959
|
+
});
|
|
960
|
+
const Result_16 = IDL.Variant({ Ok: EngramEscrowRecovery, Err: Error });
|
|
956
961
|
const ResetReport = IDL.Record({
|
|
957
962
|
agentsRemoved: IDL.Nat,
|
|
958
963
|
agentsPurged: IDL.Nat,
|
|
@@ -1083,7 +1088,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1083
1088
|
const Result_2 = IDL.Variant({ Ok: ControlHandover, Err: Error });
|
|
1084
1089
|
const Engram = IDL.Service({
|
|
1085
1090
|
about: IDL.Func([], [About], ['query']),
|
|
1086
|
-
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [
|
|
1091
|
+
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_71], []),
|
|
1087
1092
|
actionAlertTransform: IDL.Func(
|
|
1088
1093
|
[
|
|
1089
1094
|
IDL.Record({
|
|
@@ -1114,85 +1119,85 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1114
1119
|
ackIrrevocable: IDL.Bool,
|
|
1115
1120
|
}),
|
|
1116
1121
|
],
|
|
1117
|
-
[
|
|
1122
|
+
[Result_70],
|
|
1118
1123
|
[],
|
|
1119
1124
|
),
|
|
1120
|
-
addEvmWithdrawDestination: IDL.Func([IDL.Text], [
|
|
1125
|
+
addEvmWithdrawDestination: IDL.Func([IDL.Text], [Result_69], []),
|
|
1121
1126
|
addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_1], []),
|
|
1122
1127
|
appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
|
|
1123
|
-
applyCondense: IDL.Func([IDL.Nat], [
|
|
1128
|
+
applyCondense: IDL.Func([IDL.Nat], [Result_68], []),
|
|
1124
1129
|
approveGuardian: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1125
1130
|
approveRequest: IDL.Func([IDL.Text], [Result_1], []),
|
|
1126
1131
|
backupAbort: IDL.Func([IDL.Text], [Result_1], []),
|
|
1127
1132
|
backupFinalize: IDL.Func([IDL.Text], [Result_1], []),
|
|
1128
1133
|
backupInit: IDL.Func(
|
|
1129
1134
|
[IDL.Text, BackupType, IDL.Opt(IDL.Text), IDL.Text, IDL.Opt(IDL.Text)],
|
|
1130
|
-
[
|
|
1135
|
+
[Result_44],
|
|
1131
1136
|
[],
|
|
1132
1137
|
),
|
|
1133
|
-
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1138
|
+
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_60], ['query']),
|
|
1134
1139
|
backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_1], []),
|
|
1135
1140
|
cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1136
1141
|
closeSession: IDL.Func([IDL.Text], [Result_1], []),
|
|
1137
1142
|
convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_8], []),
|
|
1138
|
-
createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [
|
|
1139
|
-
createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [
|
|
1143
|
+
createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_44], []),
|
|
1144
|
+
createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_44], []),
|
|
1140
1145
|
deleteBackup: IDL.Func([IDL.Text], [Result_1], []),
|
|
1141
1146
|
deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
|
|
1142
1147
|
denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1143
|
-
ensureEvmReady: IDL.Func([], [
|
|
1144
|
-
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [
|
|
1148
|
+
ensureEvmReady: IDL.Func([], [Result_44], []),
|
|
1149
|
+
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_67], []),
|
|
1145
1150
|
freezePayments: IDL.Func([], [Result_1], []),
|
|
1146
|
-
getActionAlertStatus: IDL.Func([], [
|
|
1147
|
-
getAgentRevisablePaths: IDL.Func([], [
|
|
1148
|
-
getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1149
|
-
getAgentWriteReview: IDL.Func([], [
|
|
1151
|
+
getActionAlertStatus: IDL.Func([], [Result_58], ['query']),
|
|
1152
|
+
getAgentRevisablePaths: IDL.Func([], [Result_54], ['query']),
|
|
1153
|
+
getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_65], ['query']),
|
|
1154
|
+
getAgentWriteReview: IDL.Func([], [Result_64], ['query']),
|
|
1150
1155
|
getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
|
|
1151
1156
|
getAuditHead: IDL.Func([], [AuditHead], ['query']),
|
|
1152
|
-
getBackupMetadata: IDL.Func([IDL.Text], [
|
|
1157
|
+
getBackupMetadata: IDL.Func([IDL.Text], [Result_63], ['query']),
|
|
1153
1158
|
getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1154
1159
|
getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
|
|
1155
|
-
getChildAllowance: IDL.Func([IDL.Principal], [
|
|
1156
|
-
getChildOpening: IDL.Func([], [
|
|
1157
|
-
getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [
|
|
1160
|
+
getChildAllowance: IDL.Func([IDL.Principal], [Result_62], ['query']),
|
|
1161
|
+
getChildOpening: IDL.Func([], [Result_61], ['query']),
|
|
1162
|
+
getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_60], []),
|
|
1158
1163
|
getEngramCard: IDL.Func([], [AgentCard], ['query']),
|
|
1159
1164
|
getEngramNumber: IDL.Func([], [IDL.Opt(IDL.Nat)], ['query']),
|
|
1160
|
-
getEvmAddress: IDL.Func([], [
|
|
1165
|
+
getEvmAddress: IDL.Func([], [Result_59], []),
|
|
1161
1166
|
getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
|
|
1162
|
-
getEvmSignerAddress: IDL.Func([], [
|
|
1167
|
+
getEvmSignerAddress: IDL.Func([], [Result_44], []),
|
|
1163
1168
|
getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
|
|
1164
|
-
getGuardianAlertStatus: IDL.Func([], [
|
|
1169
|
+
getGuardianAlertStatus: IDL.Func([], [Result_58], ['query']),
|
|
1165
1170
|
getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1166
1171
|
getMemoryHistory: IDL.Func(
|
|
1167
1172
|
[IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
|
|
1168
|
-
[
|
|
1173
|
+
[Result_57],
|
|
1169
1174
|
['query'],
|
|
1170
1175
|
),
|
|
1171
1176
|
getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
|
|
1172
1177
|
getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
|
|
1173
1178
|
getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
|
|
1174
|
-
getMemoryRetentionPolicy: IDL.Func([], [
|
|
1179
|
+
getMemoryRetentionPolicy: IDL.Func([], [Result_56], ['query']),
|
|
1175
1180
|
getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1176
1181
|
getMyGuardianStatus: IDL.Func([], [Result_15], ['query']),
|
|
1177
|
-
getOwnerConsole: IDL.Func([], [
|
|
1178
|
-
getProtectedPaths: IDL.Func([], [
|
|
1182
|
+
getOwnerConsole: IDL.Func([], [Result_55], ['query']),
|
|
1183
|
+
getProtectedPaths: IDL.Func([], [Result_54], ['query']),
|
|
1179
1184
|
getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
|
|
1180
|
-
getSigningFloor: IDL.Func([], [
|
|
1185
|
+
getSigningFloor: IDL.Func([], [Result_53], ['query']),
|
|
1181
1186
|
getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1182
|
-
getSpendCeiling: IDL.Func([], [
|
|
1183
|
-
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [
|
|
1184
|
-
getStorageStats: IDL.Func([], [
|
|
1187
|
+
getSpendCeiling: IDL.Func([], [Result_52], ['query']),
|
|
1188
|
+
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_51], ['query']),
|
|
1189
|
+
getStorageStats: IDL.Func([], [Result_50], ['query']),
|
|
1185
1190
|
getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
|
|
1186
1191
|
getTopUpLimits: IDL.Func(
|
|
1187
1192
|
[],
|
|
1188
1193
|
[IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
|
|
1189
1194
|
['query'],
|
|
1190
1195
|
),
|
|
1191
|
-
getWalletBalances: IDL.Func([], [
|
|
1192
|
-
getWorldIdConfig: IDL.Func([], [
|
|
1193
|
-
getWorldIdRpContext: IDL.Func([], [
|
|
1194
|
-
getWorldIdRpSignerAddress: IDL.Func([], [
|
|
1195
|
-
getWorldIdVerification: IDL.Func([], [
|
|
1196
|
+
getWalletBalances: IDL.Func([], [Result_49], []),
|
|
1197
|
+
getWorldIdConfig: IDL.Func([], [Result_48], ['query']),
|
|
1198
|
+
getWorldIdRpContext: IDL.Func([], [Result_47], []),
|
|
1199
|
+
getWorldIdRpSignerAddress: IDL.Func([], [Result_44], []),
|
|
1200
|
+
getWorldIdVerification: IDL.Func([], [Result_46], ['query']),
|
|
1196
1201
|
guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1197
1202
|
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
1198
1203
|
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
@@ -1223,52 +1228,52 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1223
1228
|
],
|
|
1224
1229
|
['query'],
|
|
1225
1230
|
),
|
|
1226
|
-
isEvmAddressCached: IDL.Func([], [
|
|
1227
|
-
issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [
|
|
1228
|
-
listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1229
|
-
listAgents: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1230
|
-
listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1231
|
+
isEvmAddressCached: IDL.Func([], [Result_45], ['query']),
|
|
1232
|
+
issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_44], []),
|
|
1233
|
+
listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
|
|
1234
|
+
listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
|
|
1235
|
+
listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
|
|
1231
1236
|
listApprovalRequests: IDL.Func(
|
|
1232
1237
|
[IDL.Opt(ApprovalStatus), IDL.Nat, IDL.Nat],
|
|
1233
|
-
[
|
|
1238
|
+
[Result_29],
|
|
1234
1239
|
['query'],
|
|
1235
1240
|
),
|
|
1236
|
-
listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1237
|
-
listBackups: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1238
|
-
listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1239
|
-
listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1240
|
-
listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1241
|
-
listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1242
|
-
listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1243
|
-
listEvmWithdrawDestinations: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1244
|
-
listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1245
|
-
listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1246
|
-
listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1247
|
-
listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [
|
|
1248
|
-
listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1249
|
-
listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1250
|
-
listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1251
|
-
listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1252
|
-
listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1253
|
-
listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [
|
|
1254
|
-
listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1241
|
+
listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_24], ['query']),
|
|
1242
|
+
listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_40], ['query']),
|
|
1243
|
+
listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
|
|
1244
|
+
listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_38], ['query']),
|
|
1245
|
+
listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
|
|
1246
|
+
listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
|
|
1247
|
+
listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_35], ['query']),
|
|
1248
|
+
listEvmWithdrawDestinations: IDL.Func([IDL.Nat, IDL.Nat], [Result_34], ['query']),
|
|
1249
|
+
listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
|
|
1250
|
+
listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_32], ['query']),
|
|
1251
|
+
listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
|
|
1252
|
+
listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_30], ['query']),
|
|
1253
|
+
listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_29], ['query']),
|
|
1254
|
+
listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_28], ['query']),
|
|
1255
|
+
listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_27], ['query']),
|
|
1256
|
+
listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_26], ['query']),
|
|
1257
|
+
listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_25], ['query']),
|
|
1258
|
+
listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_24], ['query']),
|
|
1259
|
+
listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_23], ['query']),
|
|
1255
1260
|
markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_8], []),
|
|
1256
1261
|
nominateAgentKey: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1257
|
-
openChildEngram: IDL.Func([], [
|
|
1258
|
-
openSession: IDL.Func([SessionConfig, PaymentSignature], [
|
|
1262
|
+
openChildEngram: IDL.Func([], [Result_22], []),
|
|
1263
|
+
openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_21], []),
|
|
1259
1264
|
ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_8], []),
|
|
1260
|
-
pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [
|
|
1265
|
+
pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_20], []),
|
|
1261
1266
|
pauseWrites: IDL.Func([], [Result_1], []),
|
|
1262
|
-
previewCondense: IDL.Func([IDL.Nat], [
|
|
1267
|
+
previewCondense: IDL.Func([IDL.Nat], [Result_19], ['query']),
|
|
1263
1268
|
previewOpenSession: IDL.Func([], [SessionIntent], ['query']),
|
|
1264
1269
|
readMemory: IDL.Func([IDL.Text], [Result_11], ['query']),
|
|
1265
|
-
readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [
|
|
1270
|
+
readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_18], ['query']),
|
|
1266
1271
|
readMemoryBytes: IDL.Func(
|
|
1267
1272
|
[IDL.Text, IDL.Nat, IDL.Nat, IDL.Opt(IDL.Nat)],
|
|
1268
|
-
[
|
|
1273
|
+
[Result_17],
|
|
1269
1274
|
['query'],
|
|
1270
1275
|
),
|
|
1271
|
-
recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1276
|
+
recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [Result_16], []),
|
|
1272
1277
|
registerGuardian: IDL.Func([IDL.Text], [Result_15], []),
|
|
1273
1278
|
removeCallerSpendPolicy: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1274
1279
|
removeEip712Type: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_1], []),
|