@engramx/idl 0.16.0-rc.30 → 0.16.0-rc.32
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 +97 -125
- package/dist/engram.idl.d.ts +95 -127
- package/dist/engram.idl.js +85 -109
- package/package.json +1 -1
package/dist/engram.idl.js
CHANGED
|
@@ -90,7 +90,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
90
90
|
Unavailable: IDL.Text,
|
|
91
91
|
Conflict: IDL.Text,
|
|
92
92
|
});
|
|
93
|
-
const
|
|
93
|
+
const Result_95 = IDL.Variant({ Ok: AgentRecord, Err: Error });
|
|
94
94
|
const Ended = IDL.Record({
|
|
95
95
|
typedDataDestinationsRemoved: IDL.Nat,
|
|
96
96
|
approvalsEnded: IDL.Nat,
|
|
@@ -109,7 +109,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
109
109
|
MovedByEngram: IDL.Null,
|
|
110
110
|
}),
|
|
111
111
|
});
|
|
112
|
-
const
|
|
112
|
+
const Result_94 = IDL.Variant({ Ok: Accepted, Err: Error });
|
|
113
113
|
const Result_2 = IDL.Variant({ Ok: IDL.Null, Err: Error });
|
|
114
114
|
const HttpHeader = IDL.Record({ value: IDL.Text, name: IDL.Text });
|
|
115
115
|
const HttpRequestResult = IDL.Record({
|
|
@@ -130,7 +130,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
130
130
|
cooloffEndsAtNs: IDL.Int,
|
|
131
131
|
typeId: IDL.Vec(IDL.Nat8),
|
|
132
132
|
});
|
|
133
|
-
const
|
|
133
|
+
const Result_92 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
|
|
134
134
|
const GuardianPermissions = IDL.Record({
|
|
135
135
|
canFreezePayments: IDL.Bool,
|
|
136
136
|
canRevokeAgents: IDL.Bool,
|
|
@@ -145,7 +145,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
145
145
|
cyclesAdded: IDL.Nat,
|
|
146
146
|
finishedBeforeRemovalSeen: IDL.Bool,
|
|
147
147
|
});
|
|
148
|
-
const
|
|
148
|
+
const Result_90 = IDL.Variant({ Ok: Conversion, Err: Error });
|
|
149
149
|
const MemorySource = IDL.Variant({
|
|
150
150
|
sessionTranscript: IDL.Null,
|
|
151
151
|
human: IDL.Null,
|
|
@@ -181,14 +181,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
181
181
|
historyBytesDelta: IDL.Int,
|
|
182
182
|
opCount: IDL.Nat,
|
|
183
183
|
});
|
|
184
|
-
const
|
|
184
|
+
const Result_89 = IDL.Variant({ Ok: CondenseResult, Err: Error });
|
|
185
185
|
const BackupType = IDL.Variant({
|
|
186
186
|
PartialSnapshot: IDL.Null,
|
|
187
187
|
IncrementalDiff: IDL.Null,
|
|
188
188
|
FullSnapshot: IDL.Null,
|
|
189
189
|
});
|
|
190
190
|
const Result_58 = IDL.Variant({ Ok: IDL.Text, Err: Error });
|
|
191
|
-
const
|
|
191
|
+
const Result_76 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
|
|
192
192
|
const MemoryRangeExport = IDL.Record({
|
|
193
193
|
seq: IDL.Nat,
|
|
194
194
|
toSeq: IDL.Nat,
|
|
@@ -198,7 +198,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
198
198
|
fromSeq: IDL.Nat,
|
|
199
199
|
authorFilter: IDL.Opt(IDL.Principal),
|
|
200
200
|
});
|
|
201
|
-
const
|
|
201
|
+
const Result_88 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
|
|
202
202
|
const AlertConfig = IDL.Record({
|
|
203
203
|
url: IDL.Opt(IDL.Text),
|
|
204
204
|
money: IDL.Bool,
|
|
@@ -215,14 +215,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
215
215
|
disabled: IDL.Bool,
|
|
216
216
|
config: AlertConfig,
|
|
217
217
|
});
|
|
218
|
-
const
|
|
218
|
+
const Result_77 = IDL.Variant({ Ok: AlertStatus, Err: Error });
|
|
219
219
|
const AgentConvertRule = IDL.Record({
|
|
220
220
|
spacingSeconds: IDL.Nat,
|
|
221
221
|
minPerCallE6: IDL.Nat,
|
|
222
222
|
maxPerCallE6: IDL.Nat,
|
|
223
223
|
belowDays: IDL.Nat,
|
|
224
224
|
});
|
|
225
|
-
const
|
|
225
|
+
const Result_68 = IDL.Variant({
|
|
226
226
|
Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
|
|
227
227
|
Err: Error,
|
|
228
228
|
});
|
|
@@ -239,7 +239,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
239
239
|
withheld: IDL.Nat,
|
|
240
240
|
items: IDL.Vec(OwnerRow),
|
|
241
241
|
});
|
|
242
|
-
const
|
|
242
|
+
const Result_86 = IDL.Variant({ Ok: Page_27, Err: Error });
|
|
243
243
|
const Role = IDL.Variant({
|
|
244
244
|
Anonymous: IDL.Null,
|
|
245
245
|
Viewer: IDL.Null,
|
|
@@ -278,7 +278,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
278
278
|
earliest: IDL.Nat,
|
|
279
279
|
capped: IDL.Bool,
|
|
280
280
|
});
|
|
281
|
-
const
|
|
281
|
+
const Result_85 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
|
|
282
282
|
const AnchorPushStatus = IDL.Record({
|
|
283
283
|
anchorTickAtNs: IDL.Opt(IDL.Int),
|
|
284
284
|
okAtNs: IDL.Opt(IDL.Int),
|
|
@@ -319,13 +319,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
319
319
|
chunkCount: IDL.Nat,
|
|
320
320
|
parentBackupId: IDL.Opt(IDL.Text),
|
|
321
321
|
});
|
|
322
|
-
const
|
|
322
|
+
const Result_84 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
|
|
323
323
|
const BackupRetention = IDL.Record({
|
|
324
324
|
maxBackups: IDL.Nat,
|
|
325
325
|
isDefault: IDL.Bool,
|
|
326
326
|
dbType: IDL.Text,
|
|
327
327
|
});
|
|
328
|
-
const
|
|
328
|
+
const Result_83 = IDL.Variant({ Ok: BackupRetention, Err: Error });
|
|
329
329
|
const BirthRecord = IDL.Record({
|
|
330
330
|
bornAtNs: IDL.Int,
|
|
331
331
|
parentFingerprint: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -335,7 +335,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
335
335
|
number: IDL.Nat,
|
|
336
336
|
parent: IDL.Opt(IDL.Principal),
|
|
337
337
|
});
|
|
338
|
-
const
|
|
338
|
+
const Result_82 = IDL.Variant({ Ok: IDL.Vec(BirthRecord), Err: Error });
|
|
339
339
|
const BrakeRole = IDL.Variant({ Guardian: IDL.Null, Owner: IDL.Null });
|
|
340
340
|
const BrakePull = IDL.Record({
|
|
341
341
|
by: IDL.Principal,
|
|
@@ -348,7 +348,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
348
348
|
pull: IDL.Opt(BrakePull),
|
|
349
349
|
});
|
|
350
350
|
const Brakes = IDL.Record({ payments: BrakeState, writes: BrakeState });
|
|
351
|
-
const
|
|
351
|
+
const Result_81 = IDL.Variant({ Ok: Brakes, Err: Error });
|
|
352
352
|
const CertifiedAuditHead = IDL.Record({
|
|
353
353
|
total: IDL.Nat,
|
|
354
354
|
certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -360,14 +360,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
360
360
|
root: IDL.Principal,
|
|
361
361
|
remaining: IDL.Nat,
|
|
362
362
|
});
|
|
363
|
-
const
|
|
363
|
+
const Result_80 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
|
|
364
364
|
const ChildOpening = IDL.Record({
|
|
365
365
|
attachCycles: IDL.Nat,
|
|
366
366
|
balance: IDL.Nat,
|
|
367
367
|
allowances: IDL.Vec(ChildAllowanceRow),
|
|
368
368
|
floorCycles: IDL.Nat,
|
|
369
369
|
});
|
|
370
|
-
const
|
|
370
|
+
const Result_79 = IDL.Variant({ Ok: ChildOpening, Err: Error });
|
|
371
371
|
const ServiceEntry = IDL.Record({
|
|
372
372
|
endpoint: IDL.Text,
|
|
373
373
|
name: IDL.Text,
|
|
@@ -385,7 +385,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
385
385
|
pay: IDL.Text,
|
|
386
386
|
engramRegistration: IDL.Text,
|
|
387
387
|
});
|
|
388
|
-
const
|
|
388
|
+
const Result_78 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
|
|
389
389
|
const GenesisNote = IDL.Record({
|
|
390
390
|
predecessorSize: IDL.Opt(IDL.Nat),
|
|
391
391
|
predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -400,7 +400,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
400
400
|
sealedFor: IDL.Opt(IDL.Principal),
|
|
401
401
|
sealedAtNs: IDL.Opt(IDL.Int),
|
|
402
402
|
});
|
|
403
|
-
const
|
|
403
|
+
const Result_75 = IDL.Variant({ Ok: KeyBackupStatus, Err: Error });
|
|
404
404
|
const MemoryEviction = IDL.Record({
|
|
405
405
|
evictSeq: IDL.Nat,
|
|
406
406
|
fromVersion: IDL.Nat,
|
|
@@ -437,7 +437,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
437
437
|
versions: IDL.Vec(MemoryVersionSummary),
|
|
438
438
|
evictedCount: IDL.Nat,
|
|
439
439
|
});
|
|
440
|
-
const
|
|
440
|
+
const Result_74 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
|
|
441
441
|
const MemoryMaintainStatus = IDL.Record({
|
|
442
442
|
attachOk: IDL.Bool,
|
|
443
443
|
attachDetail: IDL.Text,
|
|
@@ -445,9 +445,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
445
445
|
refusedQuota: IDL.Text,
|
|
446
446
|
more: IDL.Bool,
|
|
447
447
|
lastEvictions: IDL.Nat,
|
|
448
|
-
lastScrubbed: IDL.Nat,
|
|
449
448
|
lastMaintainAtNs: IDL.Opt(IDL.Int),
|
|
450
|
-
totalFindings: IDL.Nat,
|
|
451
449
|
refused: IDL.Bool,
|
|
452
450
|
});
|
|
453
451
|
const RetentionClassSpec = IDL.Variant({
|
|
@@ -465,7 +463,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
465
463
|
entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
|
|
466
464
|
guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
|
|
467
465
|
});
|
|
468
|
-
const
|
|
466
|
+
const Result_73 = IDL.Variant({
|
|
469
467
|
Ok: MemoryRetentionPolicy,
|
|
470
468
|
Err: Error,
|
|
471
469
|
});
|
|
@@ -490,7 +488,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
490
488
|
cyclesBalance: IDL.Nat,
|
|
491
489
|
unknownSessionRefusals: IDL.Nat,
|
|
492
490
|
});
|
|
493
|
-
const
|
|
491
|
+
const Result_72 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
|
|
494
492
|
const OwnerSignInView = IDL.Record({
|
|
495
493
|
askedAtNs: IDL.Opt(IDL.Int),
|
|
496
494
|
openedFrom: IDL.Opt(IDL.Principal),
|
|
@@ -500,13 +498,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
500
498
|
callerIsAsked: IDL.Bool,
|
|
501
499
|
ownerSignIn: IDL.Opt(IDL.Principal),
|
|
502
500
|
});
|
|
503
|
-
const
|
|
501
|
+
const Result_71 = IDL.Variant({ Ok: OwnerSignInView, Err: Error });
|
|
504
502
|
const Offer = IDL.Record({
|
|
505
503
|
to: IDL.Principal,
|
|
506
504
|
expiresAtNs: IDL.Int,
|
|
507
505
|
offeredAtNs: IDL.Int,
|
|
508
506
|
});
|
|
509
|
-
const
|
|
507
|
+
const Result_70 = IDL.Variant({ Ok: IDL.Opt(Offer), Err: Error });
|
|
510
508
|
const MemoryFile = IDL.Record({
|
|
511
509
|
content: IDL.Vec(IDL.Nat8),
|
|
512
510
|
path: IDL.Text,
|
|
@@ -521,7 +519,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
521
519
|
lessons: Result_13,
|
|
522
520
|
preferences: Result_13,
|
|
523
521
|
});
|
|
524
|
-
const
|
|
522
|
+
const Result_69 = IDL.Variant({ Ok: ProfileRead, Err: Error });
|
|
525
523
|
const RecipientHistory = IDL.Record({
|
|
526
524
|
historyFull: IDL.Bool,
|
|
527
525
|
firstPaidAtNs: IDL.Opt(IDL.Int),
|
|
@@ -532,19 +530,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
532
530
|
largestPaidE6: IDL.Nat,
|
|
533
531
|
listedSeller: IDL.Bool,
|
|
534
532
|
});
|
|
535
|
-
const
|
|
533
|
+
const Result_67 = IDL.Variant({ Ok: RecipientHistory, Err: Error });
|
|
536
534
|
const SigningFloorStatus = IDL.Record({
|
|
537
535
|
floor: IDL.Nat,
|
|
538
536
|
signaturesAboveFloor: IDL.Nat,
|
|
539
537
|
balance: IDL.Nat,
|
|
540
538
|
perSignature: IDL.Nat,
|
|
541
539
|
});
|
|
542
|
-
const
|
|
540
|
+
const Result_66 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
|
|
543
541
|
const SpendCeiling = IDL.Record({
|
|
544
542
|
spentToday: IDL.Nat,
|
|
545
543
|
maxPerDay: IDL.Opt(IDL.Nat),
|
|
546
544
|
});
|
|
547
|
-
const
|
|
545
|
+
const Result_65 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
|
|
548
546
|
const SpendingPolicy = IDL.Record({
|
|
549
547
|
maxSessionDeposit: IDL.Opt(IDL.Nat),
|
|
550
548
|
blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
@@ -556,7 +554,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
556
554
|
allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
557
555
|
maxConcurrentSessions: IDL.Opt(IDL.Nat),
|
|
558
556
|
});
|
|
559
|
-
const
|
|
557
|
+
const Result_64 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
|
|
560
558
|
const StorageReport = IDL.Record({
|
|
561
559
|
sessionFilesSize: IDL.Nat,
|
|
562
560
|
totalFiles: IDL.Nat,
|
|
@@ -571,7 +569,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
571
569
|
versionHistoryCount: IDL.Nat,
|
|
572
570
|
sessionFilesCount: IDL.Nat,
|
|
573
571
|
});
|
|
574
|
-
const
|
|
572
|
+
const Result_63 = IDL.Variant({ Ok: StorageReport, Err: Error });
|
|
575
573
|
const Ic402Maintenance = IDL.Record({
|
|
576
574
|
revokedGrantsRemoved: IDL.Nat,
|
|
577
575
|
dailySpendRemoved: IDL.Nat,
|
|
@@ -581,8 +579,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
581
579
|
lastRunAtNs: IDL.Int,
|
|
582
580
|
});
|
|
583
581
|
const TimerHealth = IDL.Record({
|
|
584
|
-
jobExpiryFastMode: IDL.Bool,
|
|
585
|
-
jobExpiryArmed: IDL.Bool,
|
|
586
582
|
ic402Maintenance: IDL.Opt(Ic402Maintenance),
|
|
587
583
|
alertTimerArmed: IDL.Bool,
|
|
588
584
|
upkeepRejected: IDL.Opt(IDL.Nat),
|
|
@@ -596,14 +592,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
596
592
|
ckusdtE6s: IDL.Nat,
|
|
597
593
|
cycles: IDL.Nat,
|
|
598
594
|
});
|
|
599
|
-
const
|
|
595
|
+
const Result_62 = IDL.Variant({ Ok: WalletBalances, Err: Error });
|
|
600
596
|
const WorldIdConfig = IDL.Record({
|
|
601
597
|
action: IDL.Text,
|
|
602
598
|
appId: IDL.Text,
|
|
603
599
|
rpId: IDL.Text,
|
|
604
600
|
configured: IDL.Bool,
|
|
605
601
|
});
|
|
606
|
-
const
|
|
602
|
+
const Result_61 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
|
|
607
603
|
const WorldIdRpContext = IDL.Record({
|
|
608
604
|
signature: IDL.Text,
|
|
609
605
|
expiresAt: IDL.Nat,
|
|
@@ -611,8 +607,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
611
607
|
rpId: IDL.Text,
|
|
612
608
|
nonce: IDL.Text,
|
|
613
609
|
});
|
|
614
|
-
const
|
|
615
|
-
const
|
|
610
|
+
const Result_60 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
|
|
611
|
+
const Result_59 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
|
|
616
612
|
const HttpRequest = IDL.Record({
|
|
617
613
|
url: IDL.Text,
|
|
618
614
|
method: IDL.Text,
|
|
@@ -625,7 +621,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
625
621
|
upgrade: IDL.Opt(IDL.Bool),
|
|
626
622
|
status_code: IDL.Nat16,
|
|
627
623
|
});
|
|
628
|
-
const Result_59 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
|
|
629
624
|
const ActivitySnapshot = IDL.Record({
|
|
630
625
|
atNs: IDL.Int,
|
|
631
626
|
memoryReads: IDL.Nat,
|
|
@@ -1346,6 +1341,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1346
1341
|
rawTx: IDL.Text,
|
|
1347
1342
|
});
|
|
1348
1343
|
const Result_10 = IDL.Variant({ Ok: SignedTransaction, Err: Error });
|
|
1344
|
+
const X402SignRequest = IDL.Record({
|
|
1345
|
+
tokenVersion: IDL.Text,
|
|
1346
|
+
tokenAddress: IDL.Text,
|
|
1347
|
+
approvalId: IDL.Opt(IDL.Text),
|
|
1348
|
+
recipient: IDL.Text,
|
|
1349
|
+
rationale: IDL.Opt(IDL.Text),
|
|
1350
|
+
tokenName: IDL.Text,
|
|
1351
|
+
chainId: IDL.Nat,
|
|
1352
|
+
amount: IDL.Nat,
|
|
1353
|
+
});
|
|
1349
1354
|
const SignedAuthorization = IDL.Record({
|
|
1350
1355
|
paidAmount: IDL.Nat,
|
|
1351
1356
|
authorization: IDL.Record({
|
|
@@ -1425,8 +1430,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1425
1430
|
const Result_1 = IDL.Variant({ Ok: TimersWake, Err: Error });
|
|
1426
1431
|
const Engram = IDL.Service({
|
|
1427
1432
|
about: IDL.Func([], [About], ['query']),
|
|
1428
|
-
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [
|
|
1429
|
-
acceptOwnership: IDL.Func([], [
|
|
1433
|
+
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_95], []),
|
|
1434
|
+
acceptOwnership: IDL.Func([], [Result_94], []),
|
|
1430
1435
|
acceptSignIn: IDL.Func([], [Result_2], []),
|
|
1431
1436
|
actionAlertTransform: IDL.Func(
|
|
1432
1437
|
[
|
|
@@ -1460,16 +1465,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1460
1465
|
ackIrrevocable: IDL.Bool,
|
|
1461
1466
|
}),
|
|
1462
1467
|
],
|
|
1463
|
-
[
|
|
1468
|
+
[Result_92],
|
|
1464
1469
|
[],
|
|
1465
1470
|
),
|
|
1466
1471
|
addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_2], []),
|
|
1467
1472
|
addRecordNote: IDL.Func([IDL.Nat, IDL.Text], [Result_15], []),
|
|
1468
1473
|
addSeller: IDL.Func([IDL.Text, IDL.Nat, IDL.Bool], [Result_11], []),
|
|
1469
|
-
agentConvertBalance: IDL.Func([IDL.Text, IDL.Opt(IDL.Nat)], [
|
|
1474
|
+
agentConvertBalance: IDL.Func([IDL.Text, IDL.Opt(IDL.Nat)], [Result_90], []),
|
|
1470
1475
|
appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
|
|
1471
1476
|
appendMemoryText: IDL.Func([IDL.Text, IDL.Text, IDL.Opt(MemorySource)], [Result_16], []),
|
|
1472
|
-
applyCondense: IDL.Func([IDL.Nat], [
|
|
1477
|
+
applyCondense: IDL.Func([IDL.Nat], [Result_89], []),
|
|
1473
1478
|
approveGuardian: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1474
1479
|
approveRequest: IDL.Func([IDL.Text], [Result_2], []),
|
|
1475
1480
|
askSignInAgain: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
@@ -1480,7 +1485,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1480
1485
|
[Result_58],
|
|
1481
1486
|
[],
|
|
1482
1487
|
),
|
|
1483
|
-
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1488
|
+
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_76], ['query']),
|
|
1484
1489
|
backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
1485
1490
|
cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1486
1491
|
cancelOwnershipOffer: IDL.Func([], [Result_2], []),
|
|
@@ -1493,71 +1498,71 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1493
1498
|
deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
|
|
1494
1499
|
denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
|
|
1495
1500
|
disputeAgentWrite: IDL.Func([IDL.Nat, IDL.Text], [Result_15], []),
|
|
1496
|
-
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [
|
|
1501
|
+
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_88], []),
|
|
1497
1502
|
freezePayments: IDL.Func([], [Result_2], []),
|
|
1498
1503
|
freezePaymentsWithReason: IDL.Func([IDL.Text], [Result_2], []),
|
|
1499
|
-
getActionAlertStatus: IDL.Func([], [
|
|
1504
|
+
getActionAlertStatus: IDL.Func([], [Result_77], ['query']),
|
|
1500
1505
|
getAgentConvertRule: IDL.Func([], [AgentConvertRule], ['query']),
|
|
1501
|
-
getAgentRevisablePaths: IDL.Func([], [
|
|
1502
|
-
getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1503
|
-
getAgentWriteReview: IDL.Func([], [
|
|
1506
|
+
getAgentRevisablePaths: IDL.Func([], [Result_68], ['query']),
|
|
1507
|
+
getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_86], ['query']),
|
|
1508
|
+
getAgentWriteReview: IDL.Func([], [Result_85], ['query']),
|
|
1504
1509
|
getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
|
|
1505
1510
|
getAuditHead: IDL.Func([], [AuditHead], ['query']),
|
|
1506
|
-
getBackupMetadata: IDL.Func([IDL.Text], [
|
|
1507
|
-
getBackupRetention: IDL.Func([IDL.Text], [
|
|
1511
|
+
getBackupMetadata: IDL.Func([IDL.Text], [Result_84], ['query']),
|
|
1512
|
+
getBackupRetention: IDL.Func([IDL.Text], [Result_83], ['query']),
|
|
1508
1513
|
getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1509
|
-
getBirthChain: IDL.Func([], [
|
|
1510
|
-
getBrakes: IDL.Func([], [
|
|
1514
|
+
getBirthChain: IDL.Func([], [Result_82], ['query']),
|
|
1515
|
+
getBrakes: IDL.Func([], [Result_81], ['query']),
|
|
1511
1516
|
getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
|
|
1512
|
-
getChildAllowance: IDL.Func([IDL.Principal], [
|
|
1513
|
-
getChildOpening: IDL.Func([], [
|
|
1514
|
-
getEncryptedKeyBackupKey: IDL.Func([IDL.Vec(IDL.Nat8)], [
|
|
1515
|
-
getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [
|
|
1517
|
+
getChildAllowance: IDL.Func([IDL.Principal], [Result_80], ['query']),
|
|
1518
|
+
getChildOpening: IDL.Func([], [Result_79], ['query']),
|
|
1519
|
+
getEncryptedKeyBackupKey: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_76], []),
|
|
1520
|
+
getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_76], []),
|
|
1516
1521
|
getEngramCard: IDL.Func([], [AgentCard], ['query']),
|
|
1517
|
-
getEvmAddress: IDL.Func([], [
|
|
1522
|
+
getEvmAddress: IDL.Func([], [Result_78], []),
|
|
1518
1523
|
getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
|
|
1519
1524
|
getEvmSignerAddress: IDL.Func([], [Result_58], []),
|
|
1520
1525
|
getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
|
|
1521
|
-
getGuardianAlertStatus: IDL.Func([], [
|
|
1522
|
-
getKeyBackupCiphertext: IDL.Func([], [
|
|
1523
|
-
getKeyBackupStatus: IDL.Func([], [
|
|
1526
|
+
getGuardianAlertStatus: IDL.Func([], [Result_77], ['query']),
|
|
1527
|
+
getKeyBackupCiphertext: IDL.Func([], [Result_76], ['query']),
|
|
1528
|
+
getKeyBackupStatus: IDL.Func([], [Result_75], ['query']),
|
|
1524
1529
|
getKeyBackupVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
|
|
1525
1530
|
getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1526
1531
|
getMemoryHistory: IDL.Func(
|
|
1527
1532
|
[IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
|
|
1528
|
-
[
|
|
1533
|
+
[Result_74],
|
|
1529
1534
|
['query'],
|
|
1530
1535
|
),
|
|
1531
1536
|
getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
|
|
1532
1537
|
getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
|
|
1533
1538
|
getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
|
|
1534
|
-
getMemoryRetentionPolicy: IDL.Func([], [
|
|
1539
|
+
getMemoryRetentionPolicy: IDL.Func([], [Result_73], ['query']),
|
|
1535
1540
|
getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1536
1541
|
getMyGuardianStatus: IDL.Func([], [Result_19], ['query']),
|
|
1537
|
-
getOwnerConsole: IDL.Func([], [
|
|
1538
|
-
getOwnerSignIn: IDL.Func([], [
|
|
1539
|
-
getOwnershipOffer: IDL.Func([], [
|
|
1540
|
-
getProfile: IDL.Func([], [
|
|
1541
|
-
getProtectedPaths: IDL.Func([], [
|
|
1542
|
-
getRecipientHistory: IDL.Func([IDL.Text], [
|
|
1542
|
+
getOwnerConsole: IDL.Func([], [Result_72], ['query']),
|
|
1543
|
+
getOwnerSignIn: IDL.Func([], [Result_71], ['query']),
|
|
1544
|
+
getOwnershipOffer: IDL.Func([], [Result_70], ['query']),
|
|
1545
|
+
getProfile: IDL.Func([], [Result_69], ['query']),
|
|
1546
|
+
getProtectedPaths: IDL.Func([], [Result_68], ['query']),
|
|
1547
|
+
getRecipientHistory: IDL.Func([IDL.Text], [Result_67], ['query']),
|
|
1543
1548
|
getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
|
|
1544
|
-
getSigningFloor: IDL.Func([], [
|
|
1549
|
+
getSigningFloor: IDL.Func([], [Result_66], ['query']),
|
|
1545
1550
|
getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1546
|
-
getSpendCeiling: IDL.Func([], [
|
|
1547
|
-
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [
|
|
1548
|
-
getStorageStats: IDL.Func([], [
|
|
1551
|
+
getSpendCeiling: IDL.Func([], [Result_65], ['query']),
|
|
1552
|
+
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_64], ['query']),
|
|
1553
|
+
getStorageStats: IDL.Func([], [Result_63], ['query']),
|
|
1549
1554
|
getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
|
|
1550
1555
|
getTopUpLimits: IDL.Func(
|
|
1551
1556
|
[],
|
|
1552
1557
|
[IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
|
|
1553
1558
|
['query'],
|
|
1554
1559
|
),
|
|
1555
|
-
getWalletBalances: IDL.Func([], [
|
|
1560
|
+
getWalletBalances: IDL.Func([], [Result_62], []),
|
|
1556
1561
|
getWalletCycles: IDL.Func([], [Result_15], []),
|
|
1557
|
-
getWorldIdConfig: IDL.Func([], [
|
|
1558
|
-
getWorldIdRpContext: IDL.Func([], [
|
|
1562
|
+
getWorldIdConfig: IDL.Func([], [Result_61], ['query']),
|
|
1563
|
+
getWorldIdRpContext: IDL.Func([], [Result_60], []),
|
|
1559
1564
|
getWorldIdRpSignerAddress: IDL.Func([], [Result_58], []),
|
|
1560
|
-
getWorldIdVerification: IDL.Func([], [
|
|
1565
|
+
getWorldIdVerification: IDL.Func([], [Result_59], ['query']),
|
|
1561
1566
|
guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1562
1567
|
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
1563
1568
|
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
@@ -1588,7 +1593,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1588
1593
|
],
|
|
1589
1594
|
['query'],
|
|
1590
1595
|
),
|
|
1591
|
-
isEvmAddressCached: IDL.Func([], [Result_59], ['query']),
|
|
1592
1596
|
issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_58], []),
|
|
1593
1597
|
listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_57], ['query']),
|
|
1594
1598
|
listAgentRoster: IDL.Func([IDL.Nat, IDL.Nat], [Result_56], ['query']),
|
|
@@ -1719,22 +1723,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1719
1723
|
[Result_10],
|
|
1720
1724
|
[],
|
|
1721
1725
|
),
|
|
1722
|
-
signX402Payment: IDL.Func(
|
|
1723
|
-
[
|
|
1724
|
-
IDL.Record({
|
|
1725
|
-
tokenVersion: IDL.Text,
|
|
1726
|
-
tokenAddress: IDL.Text,
|
|
1727
|
-
approvalId: IDL.Opt(IDL.Text),
|
|
1728
|
-
recipient: IDL.Text,
|
|
1729
|
-
rationale: IDL.Opt(IDL.Text),
|
|
1730
|
-
tokenName: IDL.Text,
|
|
1731
|
-
chainId: IDL.Nat,
|
|
1732
|
-
amount: IDL.Nat,
|
|
1733
|
-
}),
|
|
1734
|
-
],
|
|
1735
|
-
[Result_4],
|
|
1736
|
-
[],
|
|
1737
|
-
),
|
|
1726
|
+
signX402Payment: IDL.Func([X402SignRequest], [Result_4], []),
|
|
1738
1727
|
stepDownAsGuardian: IDL.Func([], [Result_2], []),
|
|
1739
1728
|
storeKeyBackup: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
1740
1729
|
sysForceCloseSession: IDL.Func([IDL.Text], [Result_2], []),
|
|
@@ -1787,20 +1776,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1787
1776
|
[Result_5],
|
|
1788
1777
|
[],
|
|
1789
1778
|
),
|
|
1790
|
-
sysSignX402Payment: IDL.Func(
|
|
1791
|
-
[
|
|
1792
|
-
IDL.Nat,
|
|
1793
|
-
IDL.Text,
|
|
1794
|
-
IDL.Text,
|
|
1795
|
-
IDL.Nat,
|
|
1796
|
-
IDL.Text,
|
|
1797
|
-
IDL.Text,
|
|
1798
|
-
IDL.Opt(IDL.Text),
|
|
1799
|
-
IDL.Opt(IDL.Text),
|
|
1800
|
-
],
|
|
1801
|
-
[Result_4],
|
|
1802
|
-
[],
|
|
1803
|
-
),
|
|
1779
|
+
sysSignX402Payment: IDL.Func([X402SignRequest], [Result_4], []),
|
|
1804
1780
|
testActionAlert: IDL.Func([], [Result_2], []),
|
|
1805
1781
|
testGuardianAlert: IDL.Func([], [Result_2], []),
|
|
1806
1782
|
transferOwnership: IDL.Func([IDL.Principal], [Result_3], []),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@engramx/idl",
|
|
3
|
-
"version": "0.16.0-rc.
|
|
3
|
+
"version": "0.16.0-rc.32",
|
|
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>",
|