@engramx/idl 0.16.0-rc.2 → 0.16.0-rc.21
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 +927 -350
- package/dist/engram.idl.d.ts +850 -345
- package/dist/engram.idl.js +481 -258
- package/dist/market.did +112 -35
- package/dist/market.idl.d.ts +103 -35
- package/dist/market.idl.js +57 -37
- package/dist/registry.did +426 -81
- package/dist/registry.idl.d.ts +401 -73
- package/dist/registry.idl.js +130 -49
- package/package.json +2 -2
package/dist/engram.idl.js
CHANGED
|
@@ -4,15 +4,17 @@ export const idlFactory = ({ IDL }) => {
|
|
|
4
4
|
guardianCount: IDL.Nat,
|
|
5
5
|
totalMemoryWrites: IDL.Nat,
|
|
6
6
|
lastAgentWriteAtNs: IDL.Opt(IDL.Int),
|
|
7
|
-
distinctReaderPrincipals: IDL.Nat,
|
|
8
7
|
lastWriteAtNs: IDL.Opt(IDL.Int),
|
|
9
8
|
totalBackupSize: IDL.Nat,
|
|
10
9
|
backupCount: IDL.Nat,
|
|
10
|
+
endedAgentCount: IDL.Opt(IDL.Nat),
|
|
11
11
|
lastAgentReadAtNs: IDL.Opt(IDL.Int),
|
|
12
12
|
firstWriteAtNs: IDL.Opt(IDL.Int),
|
|
13
13
|
agentCount: IDL.Nat,
|
|
14
|
+
activeAgentCount: IDL.Opt(IDL.Nat),
|
|
14
15
|
paidMemoryReadEnabled: IDL.Bool,
|
|
15
16
|
version: IDL.Text,
|
|
17
|
+
timersPausedSinceDayNs: IDL.Opt(IDL.Int),
|
|
16
18
|
paymentsFrozen: IDL.Bool,
|
|
17
19
|
agentMemoryWrites: IDL.Nat,
|
|
18
20
|
agentMemoryReads: IDL.Nat,
|
|
@@ -21,7 +23,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
21
23
|
firstAgentWriteAtNs: IDL.Opt(IDL.Int),
|
|
22
24
|
lastReadAtNs: IDL.Opt(IDL.Int),
|
|
23
25
|
writesPaused: IDL.Bool,
|
|
24
|
-
distinctReaderClients: IDL.Nat,
|
|
25
26
|
totalMemoryReads: IDL.Nat,
|
|
26
27
|
walletActivatedAtNs: IDL.Opt(IDL.Int),
|
|
27
28
|
encryptionEnabled: IDL.Bool,
|
|
@@ -89,30 +90,35 @@ export const idlFactory = ({ IDL }) => {
|
|
|
89
90
|
Unavailable: IDL.Text,
|
|
90
91
|
Conflict: IDL.Text,
|
|
91
92
|
});
|
|
92
|
-
const
|
|
93
|
+
const Result_83 = IDL.Variant({ Ok: AgentRecord, Err: Error });
|
|
93
94
|
const HttpHeader = IDL.Record({ value: IDL.Text, name: IDL.Text });
|
|
94
95
|
const HttpRequestResult = IDL.Record({
|
|
95
96
|
status: IDL.Nat,
|
|
96
97
|
body: IDL.Vec(IDL.Nat8),
|
|
97
98
|
headers: IDL.Vec(HttpHeader),
|
|
98
99
|
});
|
|
100
|
+
const Result_82 = IDL.Variant({
|
|
101
|
+
Ok: IDL.Record({ activatesAtNs: IDL.Int }),
|
|
102
|
+
Err: Error,
|
|
103
|
+
});
|
|
104
|
+
const Eip712FieldRule = IDL.Variant({
|
|
105
|
+
mustEqual: IDL.Text,
|
|
106
|
+
atMost: IDL.Record({ max: IDL.Nat, decimals: IDL.Nat }),
|
|
107
|
+
});
|
|
99
108
|
const Eip712Registration = IDL.Record({
|
|
100
109
|
encodeTypeString: IDL.Text,
|
|
101
110
|
cooloffEndsAtNs: IDL.Int,
|
|
102
111
|
typeId: IDL.Vec(IDL.Nat8),
|
|
103
112
|
});
|
|
104
|
-
const
|
|
105
|
-
const Result_68 = IDL.Variant({
|
|
106
|
-
Ok: IDL.Record({ activatesAtNs: IDL.Int }),
|
|
107
|
-
Err: Error,
|
|
108
|
-
});
|
|
113
|
+
const Result_81 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
|
|
109
114
|
const GuardianPermissions = IDL.Record({
|
|
110
115
|
canFreezePayments: IDL.Bool,
|
|
111
116
|
canRevokeAgents: IDL.Bool,
|
|
112
117
|
scopes: IDL.Opt(IDL.Vec(IDL.Text)),
|
|
113
118
|
canPauseWrites: IDL.Bool,
|
|
114
119
|
});
|
|
115
|
-
const
|
|
120
|
+
const Result_2 = IDL.Variant({ Ok: IDL.Null, Err: Error });
|
|
121
|
+
const Result_14 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
|
|
116
122
|
const MemorySource = IDL.Variant({
|
|
117
123
|
sessionTranscript: IDL.Null,
|
|
118
124
|
human: IDL.Null,
|
|
@@ -122,8 +128,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
122
128
|
});
|
|
123
129
|
const WriteReceipt = IDL.Record({
|
|
124
130
|
seq: IDL.Nat,
|
|
131
|
+
contentRoot: IDL.Vec(IDL.Nat8),
|
|
132
|
+
atNs: IDL.Int,
|
|
125
133
|
head: IDL.Vec(IDL.Nat8),
|
|
134
|
+
prev: IDL.Vec(IDL.Nat8),
|
|
135
|
+
size: IDL.Nat,
|
|
136
|
+
recordPrev: IDL.Vec(IDL.Nat8),
|
|
126
137
|
version: IDL.Nat,
|
|
138
|
+
recordId: IDL.Nat,
|
|
127
139
|
});
|
|
128
140
|
const Result = IDL.Variant({ Ok: WriteReceipt, Err: Error });
|
|
129
141
|
const CondenseResult = IDL.Record({
|
|
@@ -137,15 +149,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
149
|
historyBytesDelta: IDL.Int,
|
|
138
150
|
opCount: IDL.Nat,
|
|
139
151
|
});
|
|
140
|
-
const
|
|
152
|
+
const Result_80 = IDL.Variant({ Ok: CondenseResult, Err: Error });
|
|
141
153
|
const BackupType = IDL.Variant({
|
|
142
154
|
PartialSnapshot: IDL.Null,
|
|
143
155
|
IncrementalDiff: IDL.Null,
|
|
144
156
|
FullSnapshot: IDL.Null,
|
|
145
157
|
});
|
|
146
|
-
const
|
|
147
|
-
const
|
|
148
|
-
const Result_8 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
|
|
158
|
+
const Result_53 = IDL.Variant({ Ok: IDL.Text, Err: Error });
|
|
159
|
+
const Result_69 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
|
|
149
160
|
const MemoryRangeExport = IDL.Record({
|
|
150
161
|
seq: IDL.Nat,
|
|
151
162
|
toSeq: IDL.Nat,
|
|
@@ -155,7 +166,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
155
166
|
fromSeq: IDL.Nat,
|
|
156
167
|
authorFilter: IDL.Opt(IDL.Principal),
|
|
157
168
|
});
|
|
158
|
-
const
|
|
169
|
+
const Result_79 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
|
|
159
170
|
const AlertConfig = IDL.Record({
|
|
160
171
|
url: IDL.Opt(IDL.Text),
|
|
161
172
|
money: IDL.Bool,
|
|
@@ -172,8 +183,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
172
183
|
disabled: IDL.Bool,
|
|
173
184
|
config: AlertConfig,
|
|
174
185
|
});
|
|
175
|
-
const
|
|
176
|
-
const
|
|
186
|
+
const Result_67 = IDL.Variant({ Ok: AlertStatus, Err: Error });
|
|
187
|
+
const Result_63 = IDL.Variant({
|
|
177
188
|
Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
|
|
178
189
|
Err: Error,
|
|
179
190
|
});
|
|
@@ -185,12 +196,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
185
196
|
produced: IDL.Nat,
|
|
186
197
|
firstPaymentDay: IDL.Opt(IDL.Nat),
|
|
187
198
|
});
|
|
188
|
-
const
|
|
199
|
+
const Page_25 = IDL.Record({
|
|
189
200
|
total: IDL.Nat,
|
|
190
201
|
withheld: IDL.Nat,
|
|
191
202
|
items: IDL.Vec(OwnerRow),
|
|
192
203
|
});
|
|
193
|
-
const
|
|
204
|
+
const Result_77 = IDL.Variant({ Ok: Page_25, Err: Error });
|
|
194
205
|
const Role = IDL.Variant({
|
|
195
206
|
Anonymous: IDL.Null,
|
|
196
207
|
Viewer: IDL.Null,
|
|
@@ -229,7 +240,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
229
240
|
earliest: IDL.Nat,
|
|
230
241
|
capped: IDL.Bool,
|
|
231
242
|
});
|
|
232
|
-
const
|
|
243
|
+
const Result_76 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
|
|
233
244
|
const AnchorPushStatus = IDL.Record({
|
|
234
245
|
anchorTickAtNs: IDL.Opt(IDL.Int),
|
|
235
246
|
okAtNs: IDL.Opt(IDL.Int),
|
|
@@ -238,10 +249,15 @@ export const idlFactory = ({ IDL }) => {
|
|
|
238
249
|
currentTotal: IDL.Nat,
|
|
239
250
|
timerTickAtNs: IDL.Opt(IDL.Int),
|
|
240
251
|
okTotal: IDL.Nat,
|
|
252
|
+
checkInIntervalSeconds: IDL.Opt(IDL.Nat),
|
|
241
253
|
carrierArmedAtNs: IDL.Int,
|
|
242
254
|
attemptAtNs: IDL.Opt(IDL.Int),
|
|
243
255
|
skipCursor: IDL.Nat,
|
|
256
|
+
timersPauseReason: IDL.Opt(IDL.Text),
|
|
244
257
|
lastError: IDL.Text,
|
|
258
|
+
nextCheckInDueAtNs: IDL.Opt(IDL.Int),
|
|
259
|
+
timersPausedAtNs: IDL.Opt(IDL.Int),
|
|
260
|
+
nextAnchorAttemptAtNs: IDL.Opt(IDL.Int),
|
|
245
261
|
});
|
|
246
262
|
const AuditHead = IDL.Record({
|
|
247
263
|
headHash: IDL.Vec(IDL.Nat8),
|
|
@@ -265,7 +281,36 @@ export const idlFactory = ({ IDL }) => {
|
|
|
265
281
|
chunkCount: IDL.Nat,
|
|
266
282
|
parentBackupId: IDL.Opt(IDL.Text),
|
|
267
283
|
});
|
|
268
|
-
const
|
|
284
|
+
const Result_75 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
|
|
285
|
+
const BackupRetention = IDL.Record({
|
|
286
|
+
maxBackups: IDL.Nat,
|
|
287
|
+
isDefault: IDL.Bool,
|
|
288
|
+
dbType: IDL.Text,
|
|
289
|
+
});
|
|
290
|
+
const Result_74 = IDL.Variant({ Ok: BackupRetention, Err: Error });
|
|
291
|
+
const BirthRecord = IDL.Record({
|
|
292
|
+
bornAtNs: IDL.Int,
|
|
293
|
+
parentFingerprint: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
294
|
+
child: IDL.Principal,
|
|
295
|
+
secret: IDL.Vec(IDL.Nat8),
|
|
296
|
+
version: IDL.Nat,
|
|
297
|
+
number: IDL.Nat,
|
|
298
|
+
parent: IDL.Opt(IDL.Principal),
|
|
299
|
+
});
|
|
300
|
+
const Result_73 = IDL.Variant({ Ok: IDL.Vec(BirthRecord), Err: Error });
|
|
301
|
+
const BrakeRole = IDL.Variant({ Guardian: IDL.Null, Owner: IDL.Null });
|
|
302
|
+
const BrakePull = IDL.Record({
|
|
303
|
+
by: IDL.Principal,
|
|
304
|
+
atNs: IDL.Int,
|
|
305
|
+
role: BrakeRole,
|
|
306
|
+
reason: IDL.Opt(IDL.Text),
|
|
307
|
+
});
|
|
308
|
+
const BrakeState = IDL.Record({
|
|
309
|
+
on: IDL.Bool,
|
|
310
|
+
pull: IDL.Opt(BrakePull),
|
|
311
|
+
});
|
|
312
|
+
const Brakes = IDL.Record({ payments: BrakeState, writes: BrakeState });
|
|
313
|
+
const Result_72 = IDL.Variant({ Ok: Brakes, Err: Error });
|
|
269
314
|
const CertifiedAuditHead = IDL.Record({
|
|
270
315
|
total: IDL.Nat,
|
|
271
316
|
certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -277,14 +322,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
277
322
|
root: IDL.Principal,
|
|
278
323
|
remaining: IDL.Nat,
|
|
279
324
|
});
|
|
280
|
-
const
|
|
325
|
+
const Result_71 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
|
|
281
326
|
const ChildOpening = IDL.Record({
|
|
282
327
|
attachCycles: IDL.Nat,
|
|
283
328
|
balance: IDL.Nat,
|
|
284
329
|
allowances: IDL.Vec(ChildAllowanceRow),
|
|
285
330
|
floorCycles: IDL.Nat,
|
|
286
331
|
});
|
|
287
|
-
const
|
|
332
|
+
const Result_70 = IDL.Variant({ Ok: ChildOpening, Err: Error });
|
|
288
333
|
const ServiceEntry = IDL.Record({
|
|
289
334
|
endpoint: IDL.Text,
|
|
290
335
|
name: IDL.Text,
|
|
@@ -302,7 +347,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
302
347
|
pay: IDL.Text,
|
|
303
348
|
engramRegistration: IDL.Text,
|
|
304
349
|
});
|
|
305
|
-
const
|
|
350
|
+
const Result_68 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
|
|
306
351
|
const GenesisNote = IDL.Record({
|
|
307
352
|
predecessorSize: IDL.Opt(IDL.Nat),
|
|
308
353
|
predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -346,7 +391,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
346
391
|
versions: IDL.Vec(MemoryVersionSummary),
|
|
347
392
|
evictedCount: IDL.Nat,
|
|
348
393
|
});
|
|
349
|
-
const
|
|
394
|
+
const Result_66 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
|
|
350
395
|
const MemoryMaintainStatus = IDL.Record({
|
|
351
396
|
attachOk: IDL.Bool,
|
|
352
397
|
attachDetail: IDL.Text,
|
|
@@ -374,7 +419,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
374
419
|
entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
|
|
375
420
|
guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
|
|
376
421
|
});
|
|
377
|
-
const
|
|
422
|
+
const Result_65 = IDL.Variant({
|
|
378
423
|
Ok: MemoryRetentionPolicy,
|
|
379
424
|
Err: Error,
|
|
380
425
|
});
|
|
@@ -389,7 +434,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
389
434
|
name: IDL.Text,
|
|
390
435
|
addedAtNs: IDL.Int,
|
|
391
436
|
});
|
|
392
|
-
const
|
|
437
|
+
const Result_17 = IDL.Variant({ Ok: GuardianRecord, Err: Error });
|
|
393
438
|
const OwnerConsole = IDL.Record({
|
|
394
439
|
pendingApprovalCount: IDL.Nat,
|
|
395
440
|
memoryKeyEpoch: IDL.Nat,
|
|
@@ -399,19 +444,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
399
444
|
cyclesBalance: IDL.Nat,
|
|
400
445
|
unknownSessionRefusals: IDL.Nat,
|
|
401
446
|
});
|
|
402
|
-
const
|
|
447
|
+
const Result_64 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
|
|
403
448
|
const SigningFloorStatus = IDL.Record({
|
|
404
449
|
floor: IDL.Nat,
|
|
405
450
|
signaturesAboveFloor: IDL.Nat,
|
|
406
451
|
balance: IDL.Nat,
|
|
407
452
|
perSignature: IDL.Nat,
|
|
408
453
|
});
|
|
409
|
-
const
|
|
454
|
+
const Result_62 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
|
|
410
455
|
const SpendCeiling = IDL.Record({
|
|
411
456
|
spentToday: IDL.Nat,
|
|
412
457
|
maxPerDay: IDL.Opt(IDL.Nat),
|
|
413
458
|
});
|
|
414
|
-
const
|
|
459
|
+
const Result_61 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
|
|
415
460
|
const SpendingPolicy = IDL.Record({
|
|
416
461
|
maxSessionDeposit: IDL.Opt(IDL.Nat),
|
|
417
462
|
blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
@@ -423,7 +468,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
423
468
|
allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
424
469
|
maxConcurrentSessions: IDL.Opt(IDL.Nat),
|
|
425
470
|
});
|
|
426
|
-
const
|
|
471
|
+
const Result_60 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
|
|
427
472
|
const StorageReport = IDL.Record({
|
|
428
473
|
sessionFilesSize: IDL.Nat,
|
|
429
474
|
totalFiles: IDL.Nat,
|
|
@@ -438,12 +483,24 @@ export const idlFactory = ({ IDL }) => {
|
|
|
438
483
|
versionHistoryCount: IDL.Nat,
|
|
439
484
|
sessionFilesCount: IDL.Nat,
|
|
440
485
|
});
|
|
441
|
-
const
|
|
486
|
+
const Result_59 = IDL.Variant({ Ok: StorageReport, Err: Error });
|
|
487
|
+
const Ic402Maintenance = IDL.Record({
|
|
488
|
+
revokedGrantsRemoved: IDL.Nat,
|
|
489
|
+
dailySpendRemoved: IDL.Nat,
|
|
490
|
+
more: IDL.Bool,
|
|
491
|
+
runs: IDL.Nat,
|
|
492
|
+
rateLimitRemoved: IDL.Nat,
|
|
493
|
+
lastRunAtNs: IDL.Int,
|
|
494
|
+
});
|
|
442
495
|
const TimerHealth = IDL.Record({
|
|
443
496
|
jobExpiryFastMode: IDL.Bool,
|
|
444
497
|
jobExpiryArmed: IDL.Bool,
|
|
498
|
+
ic402Maintenance: IDL.Opt(Ic402Maintenance),
|
|
445
499
|
alertTimerArmed: IDL.Bool,
|
|
500
|
+
upkeepRejected: IDL.Opt(IDL.Nat),
|
|
446
501
|
sessionExpiryArmed: IDL.Bool,
|
|
502
|
+
ic402MaintenanceTimerArmed: IDL.Opt(IDL.Bool),
|
|
503
|
+
checkInsUnfinished: IDL.Opt(IDL.Nat),
|
|
447
504
|
});
|
|
448
505
|
const WalletBalances = IDL.Record({
|
|
449
506
|
icpE8s: IDL.Nat,
|
|
@@ -451,14 +508,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
451
508
|
ckusdtE6s: IDL.Nat,
|
|
452
509
|
cycles: IDL.Nat,
|
|
453
510
|
});
|
|
454
|
-
const
|
|
511
|
+
const Result_58 = IDL.Variant({ Ok: WalletBalances, Err: Error });
|
|
455
512
|
const WorldIdConfig = IDL.Record({
|
|
456
513
|
action: IDL.Text,
|
|
457
514
|
appId: IDL.Text,
|
|
458
515
|
rpId: IDL.Text,
|
|
459
516
|
configured: IDL.Bool,
|
|
460
517
|
});
|
|
461
|
-
const
|
|
518
|
+
const Result_57 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
|
|
462
519
|
const WorldIdRpContext = IDL.Record({
|
|
463
520
|
signature: IDL.Text,
|
|
464
521
|
expiresAt: IDL.Nat,
|
|
@@ -466,8 +523,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
466
523
|
rpId: IDL.Text,
|
|
467
524
|
nonce: IDL.Text,
|
|
468
525
|
});
|
|
469
|
-
const
|
|
470
|
-
const
|
|
526
|
+
const Result_56 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
|
|
527
|
+
const Result_55 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
|
|
471
528
|
const HttpRequest = IDL.Record({
|
|
472
529
|
url: IDL.Text,
|
|
473
530
|
method: IDL.Text,
|
|
@@ -480,25 +537,41 @@ export const idlFactory = ({ IDL }) => {
|
|
|
480
537
|
upgrade: IDL.Opt(IDL.Bool),
|
|
481
538
|
status_code: IDL.Nat16,
|
|
482
539
|
});
|
|
483
|
-
const
|
|
540
|
+
const Result_54 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
|
|
484
541
|
const ActivitySnapshot = IDL.Record({
|
|
485
542
|
atNs: IDL.Int,
|
|
486
543
|
memoryReads: IDL.Nat,
|
|
487
544
|
memoryWrites: IDL.Nat,
|
|
488
545
|
});
|
|
489
|
-
const
|
|
546
|
+
const Page_24 = IDL.Record({
|
|
490
547
|
total: IDL.Nat,
|
|
491
548
|
withheld: IDL.Nat,
|
|
492
549
|
items: IDL.Vec(ActivitySnapshot),
|
|
493
550
|
});
|
|
494
|
-
const
|
|
495
|
-
const
|
|
551
|
+
const Result_52 = IDL.Variant({ Ok: Page_24, Err: Error });
|
|
552
|
+
const AgentSpendRow = IDL.Record({
|
|
553
|
+
agent: IDL.Principal,
|
|
554
|
+
spentToday: IDL.Opt(IDL.Nat),
|
|
555
|
+
root: IDL.Principal,
|
|
556
|
+
maxPerDay: IDL.Opt(IDL.Nat),
|
|
557
|
+
});
|
|
558
|
+
const Page_23 = IDL.Record({
|
|
559
|
+
total: IDL.Nat,
|
|
560
|
+
withheld: IDL.Nat,
|
|
561
|
+
items: IDL.Vec(AgentSpendRow),
|
|
562
|
+
});
|
|
563
|
+
const AgentSpendToday = IDL.Record({
|
|
564
|
+
dayStartNs: IDL.Int,
|
|
565
|
+
agents: Page_23,
|
|
566
|
+
});
|
|
567
|
+
const Result_51 = IDL.Variant({ Ok: AgentSpendToday, Err: Error });
|
|
568
|
+
const Page_22 = IDL.Record({
|
|
496
569
|
total: IDL.Nat,
|
|
497
570
|
withheld: IDL.Nat,
|
|
498
571
|
items: IDL.Vec(AgentRecord),
|
|
499
572
|
});
|
|
500
|
-
const
|
|
501
|
-
const
|
|
573
|
+
const Result_50 = IDL.Variant({ Ok: Page_22, Err: Error });
|
|
574
|
+
const Page_21 = IDL.Record({
|
|
502
575
|
total: IDL.Nat,
|
|
503
576
|
withheld: IDL.Nat,
|
|
504
577
|
items: IDL.Vec(
|
|
@@ -509,7 +582,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
509
582
|
}),
|
|
510
583
|
),
|
|
511
584
|
});
|
|
512
|
-
const
|
|
585
|
+
const Result_49 = IDL.Variant({ Ok: Page_21, Err: Error });
|
|
513
586
|
const ApprovalStatus = IDL.Variant({
|
|
514
587
|
Used: IDL.Null,
|
|
515
588
|
Approved: IDL.Null,
|
|
@@ -533,24 +606,31 @@ export const idlFactory = ({ IDL }) => {
|
|
|
533
606
|
caller: IDL.Principal,
|
|
534
607
|
amount: IDL.Nat,
|
|
535
608
|
});
|
|
536
|
-
const
|
|
609
|
+
const Page_8 = IDL.Record({
|
|
537
610
|
total: IDL.Nat,
|
|
538
611
|
withheld: IDL.Nat,
|
|
539
612
|
items: IDL.Vec(ApprovalRequest),
|
|
540
613
|
});
|
|
541
|
-
const
|
|
542
|
-
const
|
|
614
|
+
const Result_35 = IDL.Variant({ Ok: Page_8, Err: Error });
|
|
615
|
+
const SealedEntry = IDL.Record({
|
|
616
|
+
id: IDL.Nat,
|
|
617
|
+
entryHash: IDL.Vec(IDL.Nat8),
|
|
618
|
+
digest: IDL.Vec(IDL.Nat8),
|
|
619
|
+
});
|
|
620
|
+
const RecordPage = IDL.Record({
|
|
621
|
+
ringFloor: IDL.Nat,
|
|
543
622
|
total: IDL.Nat,
|
|
544
|
-
|
|
623
|
+
sealed: IDL.Vec(SealedEntry),
|
|
545
624
|
items: IDL.Vec(AuditEntry),
|
|
625
|
+
hashFirstFrom: IDL.Nat,
|
|
546
626
|
});
|
|
547
|
-
const
|
|
548
|
-
const
|
|
627
|
+
const Result_48 = IDL.Variant({ Ok: RecordPage, Err: Error });
|
|
628
|
+
const Page_20 = IDL.Record({
|
|
549
629
|
total: IDL.Nat,
|
|
550
630
|
withheld: IDL.Nat,
|
|
551
631
|
items: IDL.Vec(BackupMetadata),
|
|
552
632
|
});
|
|
553
|
-
const
|
|
633
|
+
const Result_47 = IDL.Variant({ Ok: Page_20, Err: Error });
|
|
554
634
|
const BearerTokenStatus = IDL.Variant({
|
|
555
635
|
Active: IDL.Null,
|
|
556
636
|
Revoked: IDL.Null,
|
|
@@ -567,12 +647,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
567
647
|
tokenHash: IDL.Text,
|
|
568
648
|
issuedBy: IDL.Principal,
|
|
569
649
|
});
|
|
570
|
-
const
|
|
650
|
+
const Page_19 = IDL.Record({
|
|
571
651
|
total: IDL.Nat,
|
|
572
652
|
withheld: IDL.Nat,
|
|
573
653
|
items: IDL.Vec(BearerToken),
|
|
574
654
|
});
|
|
575
|
-
const
|
|
655
|
+
const Result_46 = IDL.Variant({ Ok: Page_19, Err: Error });
|
|
576
656
|
const CondenseCheckpointRow = IDL.Record({
|
|
577
657
|
by: IDL.Principal,
|
|
578
658
|
seq: IDL.Nat,
|
|
@@ -583,41 +663,51 @@ export const idlFactory = ({ IDL }) => {
|
|
|
583
663
|
headAtBoundary: IDL.Vec(IDL.Nat8),
|
|
584
664
|
opCount: IDL.Nat,
|
|
585
665
|
});
|
|
586
|
-
const
|
|
666
|
+
const Page_18 = IDL.Record({
|
|
587
667
|
total: IDL.Nat,
|
|
588
668
|
withheld: IDL.Nat,
|
|
589
669
|
items: IDL.Vec(CondenseCheckpointRow),
|
|
590
670
|
});
|
|
591
671
|
const CheckpointPage = IDL.Record({
|
|
592
672
|
firstAvailableSeq: IDL.Nat,
|
|
593
|
-
page:
|
|
673
|
+
page: Page_18,
|
|
594
674
|
scannedThroughSeq: IDL.Nat,
|
|
595
675
|
});
|
|
596
|
-
const
|
|
676
|
+
const Result_45 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
|
|
597
677
|
const CycleSnapshot = IDL.Record({
|
|
598
678
|
seq: IDL.Nat,
|
|
599
679
|
source: IDL.Variant({ balance: IDL.Null, self: IDL.Null }),
|
|
600
680
|
atNs: IDL.Int,
|
|
601
681
|
cycles: IDL.Nat,
|
|
602
682
|
});
|
|
603
|
-
const
|
|
683
|
+
const Page_17 = IDL.Record({
|
|
604
684
|
total: IDL.Nat,
|
|
605
685
|
withheld: IDL.Nat,
|
|
606
686
|
items: IDL.Vec(CycleSnapshot),
|
|
607
687
|
});
|
|
608
|
-
const
|
|
609
|
-
const
|
|
688
|
+
const Result_44 = IDL.Variant({ Ok: Page_17, Err: Error });
|
|
689
|
+
const Page_16 = IDL.Record({
|
|
610
690
|
total: IDL.Nat,
|
|
611
691
|
withheld: IDL.Nat,
|
|
612
692
|
items: IDL.Vec(IDL.Text),
|
|
613
693
|
});
|
|
614
|
-
const
|
|
694
|
+
const Result_43 = IDL.Variant({ Ok: Page_16, Err: Error });
|
|
695
|
+
const Eip712Destination = IDL.Record({
|
|
696
|
+
activeFromNs: IDL.Int,
|
|
697
|
+
value: IDL.Text,
|
|
698
|
+
});
|
|
699
|
+
const Page_15 = IDL.Record({
|
|
700
|
+
total: IDL.Nat,
|
|
701
|
+
withheld: IDL.Nat,
|
|
702
|
+
items: IDL.Vec(Eip712Destination),
|
|
703
|
+
});
|
|
704
|
+
const Result_42 = IDL.Variant({ Ok: Page_15, Err: Error });
|
|
615
705
|
const AuthorityClass = IDL.Variant({
|
|
616
706
|
standingAuthority: IDL.Null,
|
|
617
707
|
valueBearing: IDL.Null,
|
|
618
708
|
standard: IDL.Null,
|
|
619
709
|
});
|
|
620
|
-
const
|
|
710
|
+
const Eip712TypeView = IDL.Record({
|
|
621
711
|
primaryType: IDL.Text,
|
|
622
712
|
encodeTypeString: IDL.Text,
|
|
623
713
|
cooloffEndsAtNs: IDL.Int,
|
|
@@ -631,28 +721,38 @@ export const idlFactory = ({ IDL }) => {
|
|
|
631
721
|
authorityClass: AuthorityClass,
|
|
632
722
|
typeHash: IDL.Vec(IDL.Nat8),
|
|
633
723
|
registeredAtNs: IDL.Int,
|
|
724
|
+
fieldRules: IDL.Vec(IDL.Tuple(IDL.Text, Eip712FieldRule)),
|
|
634
725
|
chainId: IDL.Nat,
|
|
635
726
|
domainVersion: IDL.Text,
|
|
636
727
|
ackIrrevocable: IDL.Bool,
|
|
637
728
|
});
|
|
638
|
-
const
|
|
729
|
+
const Page_14 = IDL.Record({
|
|
639
730
|
total: IDL.Nat,
|
|
640
731
|
withheld: IDL.Nat,
|
|
641
|
-
items: IDL.Vec(
|
|
732
|
+
items: IDL.Vec(Eip712TypeView),
|
|
642
733
|
});
|
|
643
|
-
const
|
|
644
|
-
const
|
|
734
|
+
const Result_41 = IDL.Variant({ Ok: Page_14, Err: Error });
|
|
735
|
+
const GuardianDispute = IDL.Record({
|
|
736
|
+
about: IDL.Nat,
|
|
737
|
+
atNs: IDL.Int,
|
|
738
|
+
path: IDL.Opt(IDL.Text),
|
|
739
|
+
auditId: IDL.Nat,
|
|
740
|
+
version: IDL.Opt(IDL.Nat),
|
|
741
|
+
guardian: IDL.Principal,
|
|
742
|
+
reason: IDL.Text,
|
|
743
|
+
});
|
|
744
|
+
const Page_13 = IDL.Record({
|
|
645
745
|
total: IDL.Nat,
|
|
646
746
|
withheld: IDL.Nat,
|
|
647
|
-
items: IDL.Vec(
|
|
747
|
+
items: IDL.Vec(GuardianDispute),
|
|
648
748
|
});
|
|
649
|
-
const
|
|
650
|
-
const
|
|
749
|
+
const Result_40 = IDL.Variant({ Ok: Page_13, Err: Error });
|
|
750
|
+
const Page_12 = IDL.Record({
|
|
651
751
|
total: IDL.Nat,
|
|
652
752
|
withheld: IDL.Nat,
|
|
653
753
|
items: IDL.Vec(GuardianRecord),
|
|
654
754
|
});
|
|
655
|
-
const
|
|
755
|
+
const Result_39 = IDL.Variant({ Ok: Page_12, Err: Error });
|
|
656
756
|
const ExportReceiptRow = IDL.Record({
|
|
657
757
|
by: IDL.Principal,
|
|
658
758
|
seq: IDL.Nat,
|
|
@@ -662,29 +762,29 @@ export const idlFactory = ({ IDL }) => {
|
|
|
662
762
|
fromSeq: IDL.Nat,
|
|
663
763
|
authorFilter: IDL.Opt(IDL.Principal),
|
|
664
764
|
});
|
|
665
|
-
const
|
|
765
|
+
const Page_11 = IDL.Record({
|
|
666
766
|
total: IDL.Nat,
|
|
667
767
|
withheld: IDL.Nat,
|
|
668
768
|
items: IDL.Vec(ExportReceiptRow),
|
|
669
769
|
});
|
|
670
770
|
const ReceiptPage = IDL.Record({
|
|
671
771
|
firstAvailableSeq: IDL.Nat,
|
|
672
|
-
page:
|
|
772
|
+
page: Page_11,
|
|
673
773
|
scannedThroughSeq: IDL.Nat,
|
|
674
774
|
});
|
|
675
|
-
const
|
|
676
|
-
const
|
|
775
|
+
const Result_38 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
|
|
776
|
+
const MemoryFileRow = IDL.Record({
|
|
777
|
+
path: IDL.Text,
|
|
778
|
+
version: IDL.Nat,
|
|
779
|
+
lastModifiedBy: IDL.Opt(IDL.Principal),
|
|
780
|
+
lastModifiedAtNs: IDL.Int,
|
|
781
|
+
});
|
|
782
|
+
const Page_10 = IDL.Record({
|
|
677
783
|
total: IDL.Nat,
|
|
678
784
|
withheld: IDL.Nat,
|
|
679
|
-
items: IDL.Vec(
|
|
680
|
-
IDL.Record({
|
|
681
|
-
path: IDL.Text,
|
|
682
|
-
version: IDL.Nat,
|
|
683
|
-
lastModifiedAtNs: IDL.Int,
|
|
684
|
-
}),
|
|
685
|
-
),
|
|
785
|
+
items: IDL.Vec(MemoryFileRow),
|
|
686
786
|
});
|
|
687
|
-
const
|
|
787
|
+
const Result_37 = IDL.Variant({ Ok: Page_10, Err: Error });
|
|
688
788
|
const MemoryLogChunkRef = IDL.Record({
|
|
689
789
|
hash: IDL.Vec(IDL.Nat8),
|
|
690
790
|
size: IDL.Nat,
|
|
@@ -753,7 +853,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
753
853
|
size: IDL.Nat,
|
|
754
854
|
version: IDL.Nat,
|
|
755
855
|
});
|
|
756
|
-
const
|
|
856
|
+
const Page_9 = IDL.Record({
|
|
757
857
|
total: IDL.Nat,
|
|
758
858
|
withheld: IDL.Nat,
|
|
759
859
|
items: IDL.Vec(MemoryLogEvent),
|
|
@@ -761,9 +861,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
761
861
|
const LogPage = IDL.Record({
|
|
762
862
|
firstAvailableSeq: IDL.Nat,
|
|
763
863
|
head: IDL.Vec(IDL.Nat8),
|
|
764
|
-
page:
|
|
864
|
+
page: Page_9,
|
|
765
865
|
});
|
|
766
|
-
const
|
|
866
|
+
const Result_36 = IDL.Variant({ Ok: LogPage, Err: Error });
|
|
767
867
|
const EngramSessionStatus = IDL.Variant({
|
|
768
868
|
closed: IDL.Null,
|
|
769
869
|
expired: IDL.Null,
|
|
@@ -782,24 +882,24 @@ export const idlFactory = ({ IDL }) => {
|
|
|
782
882
|
remaining: IDL.Nat,
|
|
783
883
|
payer: IDL.Principal,
|
|
784
884
|
});
|
|
785
|
-
const
|
|
885
|
+
const Page_7 = IDL.Record({
|
|
786
886
|
total: IDL.Nat,
|
|
787
887
|
withheld: IDL.Nat,
|
|
788
888
|
items: IDL.Vec(EngramSessionState),
|
|
789
889
|
});
|
|
790
|
-
const
|
|
890
|
+
const Result_34 = IDL.Variant({ Ok: Page_7, Err: Error });
|
|
791
891
|
const OwnershipTransfer = IDL.Record({
|
|
792
892
|
to: IDL.Principal,
|
|
793
893
|
atNs: IDL.Int,
|
|
794
894
|
from: IDL.Opt(IDL.Principal),
|
|
795
895
|
authorizedBy: IDL.Principal,
|
|
796
896
|
});
|
|
797
|
-
const
|
|
897
|
+
const Page_6 = IDL.Record({
|
|
798
898
|
total: IDL.Nat,
|
|
799
899
|
withheld: IDL.Nat,
|
|
800
900
|
items: IDL.Vec(OwnershipTransfer),
|
|
801
901
|
});
|
|
802
|
-
const
|
|
902
|
+
const Result_33 = IDL.Variant({ Ok: Page_6, Err: Error });
|
|
803
903
|
const MarketplacePaymentSignatures = IDL.Record({
|
|
804
904
|
marketplace: IDL.Principal,
|
|
805
905
|
sharedSignedToday: IDL.Nat,
|
|
@@ -810,7 +910,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
810
910
|
signedToday: IDL.Nat,
|
|
811
911
|
root: IDL.Principal,
|
|
812
912
|
});
|
|
813
|
-
const
|
|
913
|
+
const Page_5 = IDL.Record({
|
|
814
914
|
total: IDL.Nat,
|
|
815
915
|
withheld: IDL.Nat,
|
|
816
916
|
items: IDL.Vec(AgentPaymentSignatures),
|
|
@@ -818,10 +918,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
818
918
|
const PaymentSignatureCounts = IDL.Record({
|
|
819
919
|
day: IDL.Int,
|
|
820
920
|
marketplace: IDL.Opt(MarketplacePaymentSignatures),
|
|
821
|
-
agents:
|
|
921
|
+
agents: Page_5,
|
|
822
922
|
limit: IDL.Nat,
|
|
823
923
|
});
|
|
824
|
-
const
|
|
924
|
+
const Result_32 = IDL.Variant({
|
|
825
925
|
Ok: PaymentSignatureCounts,
|
|
826
926
|
Err: Error,
|
|
827
927
|
});
|
|
@@ -835,12 +935,30 @@ export const idlFactory = ({ IDL }) => {
|
|
|
835
935
|
invite: IDL.Text,
|
|
836
936
|
purgedAtNs: IDL.Int,
|
|
837
937
|
});
|
|
838
|
-
const
|
|
938
|
+
const Page_4 = IDL.Record({
|
|
839
939
|
total: IDL.Nat,
|
|
840
940
|
withheld: IDL.Nat,
|
|
841
941
|
items: IDL.Vec(PurgedAgent),
|
|
842
942
|
});
|
|
843
|
-
const
|
|
943
|
+
const Result_31 = IDL.Variant({ Ok: Page_4, Err: Error });
|
|
944
|
+
const Page_3 = IDL.Record({
|
|
945
|
+
total: IDL.Nat,
|
|
946
|
+
withheld: IDL.Nat,
|
|
947
|
+
items: IDL.Vec(AuditEntry),
|
|
948
|
+
});
|
|
949
|
+
const Result_30 = IDL.Variant({ Ok: Page_3, Err: Error });
|
|
950
|
+
const RecordNote = IDL.Record({
|
|
951
|
+
about: IDL.Nat,
|
|
952
|
+
atNs: IDL.Int,
|
|
953
|
+
note: IDL.Text,
|
|
954
|
+
auditId: IDL.Nat,
|
|
955
|
+
});
|
|
956
|
+
const Page_2 = IDL.Record({
|
|
957
|
+
total: IDL.Nat,
|
|
958
|
+
withheld: IDL.Nat,
|
|
959
|
+
items: IDL.Vec(RecordNote),
|
|
960
|
+
});
|
|
961
|
+
const Result_29 = IDL.Variant({ Ok: Page_2, Err: Error });
|
|
844
962
|
const Repudiation = IDL.Record({
|
|
845
963
|
atNs: IDL.Int,
|
|
846
964
|
path: IDL.Text,
|
|
@@ -848,13 +966,51 @@ export const idlFactory = ({ IDL }) => {
|
|
|
848
966
|
version: IDL.Nat,
|
|
849
967
|
reason: IDL.Text,
|
|
850
968
|
});
|
|
851
|
-
const
|
|
969
|
+
const Page_1 = IDL.Record({
|
|
852
970
|
total: IDL.Nat,
|
|
853
971
|
withheld: IDL.Nat,
|
|
854
972
|
items: IDL.Vec(Repudiation),
|
|
855
973
|
});
|
|
856
|
-
const
|
|
857
|
-
const
|
|
974
|
+
const Result_28 = IDL.Variant({ Ok: Page_1, Err: Error });
|
|
975
|
+
const SignIn = IDL.Record({
|
|
976
|
+
token: BearerToken,
|
|
977
|
+
clientName: IDL.Opt(IDL.Text),
|
|
978
|
+
});
|
|
979
|
+
const Page = IDL.Record({
|
|
980
|
+
total: IDL.Nat,
|
|
981
|
+
withheld: IDL.Nat,
|
|
982
|
+
items: IDL.Vec(SignIn),
|
|
983
|
+
});
|
|
984
|
+
const Result_27 = IDL.Variant({ Ok: Page, Err: Error });
|
|
985
|
+
const PaymentsStop = IDL.Variant({
|
|
986
|
+
paymentsBrake: IDL.Null,
|
|
987
|
+
dailySignatureLimit: IDL.Null,
|
|
988
|
+
signingFloor: IDL.Null,
|
|
989
|
+
});
|
|
990
|
+
const PaymentsNow = IDL.Record({
|
|
991
|
+
leftToday: IDL.Opt(IDL.Nat),
|
|
992
|
+
largestPayment: IDL.Opt(IDL.Nat),
|
|
993
|
+
});
|
|
994
|
+
const PaymentLimits = IDL.Record({
|
|
995
|
+
maxSessionDeposit: IDL.Opt(IDL.Nat),
|
|
996
|
+
maxPerDay: IDL.Opt(IDL.Nat),
|
|
997
|
+
maxSessionDuration: IDL.Opt(IDL.Int),
|
|
998
|
+
sessionIdleTimeout: IDL.Opt(IDL.Int),
|
|
999
|
+
rateLimitPerMinute: IDL.Opt(IDL.Nat),
|
|
1000
|
+
maxPerTransaction: IDL.Opt(IDL.Nat),
|
|
1001
|
+
maxConcurrentSessions: IDL.Opt(IDL.Nat),
|
|
1002
|
+
});
|
|
1003
|
+
const AgentGrant = IDL.Record({
|
|
1004
|
+
key: IDL.Principal,
|
|
1005
|
+
permissions: AgentPermissions,
|
|
1006
|
+
name: IDL.Text,
|
|
1007
|
+
paymentsStoppedBy: IDL.Opt(PaymentsStop),
|
|
1008
|
+
paymentsFrozen: IDL.Opt(IDL.Bool),
|
|
1009
|
+
paymentsNow: IDL.Opt(PaymentsNow),
|
|
1010
|
+
paymentLimits: PaymentLimits,
|
|
1011
|
+
});
|
|
1012
|
+
const Result_26 = IDL.Variant({ Ok: AgentGrant, Err: Error });
|
|
1013
|
+
const Result_25 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
|
|
858
1014
|
const SessionConfig = IDL.Record({
|
|
859
1015
|
autoClose: IDL.Bool,
|
|
860
1016
|
idleTimeout: IDL.Opt(IDL.Int),
|
|
@@ -881,7 +1037,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
881
1037
|
nonce: IDL.Vec(IDL.Nat8),
|
|
882
1038
|
authorization: IDL.Opt(Eip3009Authorization),
|
|
883
1039
|
});
|
|
884
|
-
const
|
|
1040
|
+
const Result_24 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
|
|
885
1041
|
const TokenAmount = IDL.Variant({
|
|
886
1042
|
Icp: IDL.Nat,
|
|
887
1043
|
Ckusdc: IDL.Nat,
|
|
@@ -906,7 +1062,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
906
1062
|
agent: AgentRecord,
|
|
907
1063
|
trackRecord: TrackRecordNotice,
|
|
908
1064
|
});
|
|
909
|
-
const
|
|
1065
|
+
const Result_23 = IDL.Variant({ Ok: Pairing, Err: Error });
|
|
910
1066
|
const CondensePreview = IDL.Record({
|
|
911
1067
|
scannedFromSeq: IDL.Nat,
|
|
912
1068
|
scanTruncated: IDL.Bool,
|
|
@@ -920,7 +1076,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
920
1076
|
coveringReceipt: IDL.Opt(IDL.Record({ seq: IDL.Nat, toSeq: IDL.Nat, fromSeq: IDL.Nat })),
|
|
921
1077
|
proposedToSeq: IDL.Nat,
|
|
922
1078
|
});
|
|
923
|
-
const
|
|
1079
|
+
const Result_22 = IDL.Variant({ Ok: CondensePreview, Err: Error });
|
|
924
1080
|
const SessionIntent = IDL.Record({
|
|
925
1081
|
token: IDL.Text,
|
|
926
1082
|
costPerCall: IDL.Opt(IDL.Nat),
|
|
@@ -931,6 +1087,23 @@ export const idlFactory = ({ IDL }) => {
|
|
|
931
1087
|
expiryNs: IDL.Int,
|
|
932
1088
|
suggestedDeposit: IDL.Nat,
|
|
933
1089
|
});
|
|
1090
|
+
const RetentionPreviewRule = IDL.Record({
|
|
1091
|
+
files: IDL.Nat,
|
|
1092
|
+
notBeforeNs: IDL.Opt(IDL.Int),
|
|
1093
|
+
prefix: IDL.Text,
|
|
1094
|
+
bytes: IDL.Nat,
|
|
1095
|
+
copies: IDL.Nat,
|
|
1096
|
+
});
|
|
1097
|
+
const RetentionPreview = IDL.Record({
|
|
1098
|
+
files: IDL.Nat,
|
|
1099
|
+
complete: IDL.Bool,
|
|
1100
|
+
planned: IDL.Nat,
|
|
1101
|
+
bytes: IDL.Nat,
|
|
1102
|
+
copies: IDL.Nat,
|
|
1103
|
+
storedFiles: IDL.Nat,
|
|
1104
|
+
rules: IDL.Vec(RetentionPreviewRule),
|
|
1105
|
+
});
|
|
1106
|
+
const Result_21 = IDL.Variant({ Ok: RetentionPreview, Err: Error });
|
|
934
1107
|
const MemoryFile = IDL.Record({
|
|
935
1108
|
content: IDL.Vec(IDL.Nat8),
|
|
936
1109
|
path: IDL.Text,
|
|
@@ -938,12 +1111,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
938
1111
|
lastModifiedBy: IDL.Principal,
|
|
939
1112
|
lastModifiedAtNs: IDL.Int,
|
|
940
1113
|
});
|
|
941
|
-
const
|
|
1114
|
+
const Result_12 = IDL.Variant({ Ok: MemoryFile, Err: Error });
|
|
942
1115
|
const BatchReadItem = IDL.Record({
|
|
943
1116
|
result: IDL.Variant({ Ok: MemoryFile, Err: Error }),
|
|
944
1117
|
path: IDL.Text,
|
|
945
1118
|
});
|
|
946
|
-
const
|
|
1119
|
+
const Result_20 = IDL.Variant({
|
|
947
1120
|
Ok: IDL.Vec(BatchReadItem),
|
|
948
1121
|
Err: Error,
|
|
949
1122
|
});
|
|
@@ -952,14 +1125,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
952
1125
|
fileSize: IDL.Nat,
|
|
953
1126
|
bytes: IDL.Vec(IDL.Nat8),
|
|
954
1127
|
});
|
|
955
|
-
const
|
|
1128
|
+
const Result_19 = IDL.Variant({ Ok: MemoryByteChunk, Err: Error });
|
|
1129
|
+
const EngramEscrowRecovery = IDL.Record({
|
|
1130
|
+
amountE6: IDL.Nat,
|
|
1131
|
+
blockIndex: IDL.Nat,
|
|
1132
|
+
});
|
|
1133
|
+
const Result_18 = IDL.Variant({ Ok: EngramEscrowRecovery, Err: Error });
|
|
956
1134
|
const ResetReport = IDL.Record({
|
|
957
1135
|
agentsRemoved: IDL.Nat,
|
|
958
1136
|
agentsPurged: IDL.Nat,
|
|
959
1137
|
guardiansRemoved: IDL.Nat,
|
|
960
1138
|
filesCleared: IDL.Nat,
|
|
961
1139
|
});
|
|
962
|
-
const
|
|
1140
|
+
const Result_16 = IDL.Variant({ Ok: ResetReport, Err: Error });
|
|
963
1141
|
const UnrecordableEngagement = IDL.Record({
|
|
964
1142
|
principal: IDL.Principal,
|
|
965
1143
|
root: IDL.Principal,
|
|
@@ -979,7 +1157,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
979
1157
|
}),
|
|
980
1158
|
),
|
|
981
1159
|
});
|
|
982
|
-
const
|
|
1160
|
+
const Result_15 = IDL.Variant({ Ok: ResyncReport, Err: Error });
|
|
983
1161
|
const Voucher = IDL.Record({
|
|
984
1162
|
signature: IDL.Vec(IDL.Nat8),
|
|
985
1163
|
sessionId: IDL.Text,
|
|
@@ -993,13 +1171,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
993
1171
|
includedFiles: IDL.Nat,
|
|
994
1172
|
totalBytes: IDL.Nat,
|
|
995
1173
|
});
|
|
996
|
-
const
|
|
1174
|
+
const Result_13 = IDL.Variant({ Ok: SessionContext, Err: Error });
|
|
997
1175
|
const BackupRetentionReport = IDL.Record({
|
|
998
1176
|
maxBackups: IDL.Nat,
|
|
999
1177
|
dbType: IDL.Text,
|
|
1000
1178
|
prunedBackups: IDL.Nat,
|
|
1001
1179
|
});
|
|
1002
|
-
const
|
|
1180
|
+
const Result_11 = IDL.Variant({
|
|
1003
1181
|
Ok: BackupRetentionReport,
|
|
1004
1182
|
Err: Error,
|
|
1005
1183
|
});
|
|
@@ -1018,12 +1196,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1018
1196
|
rendered: IDL.Text,
|
|
1019
1197
|
digest: IDL.Vec(IDL.Nat8),
|
|
1020
1198
|
});
|
|
1021
|
-
const
|
|
1199
|
+
const Result_5 = IDL.Variant({ Ok: Eip712SignatureOut, Err: Error });
|
|
1022
1200
|
const SignedTransaction = IDL.Record({
|
|
1023
1201
|
txHash: IDL.Text,
|
|
1024
1202
|
rawTx: IDL.Text,
|
|
1025
1203
|
});
|
|
1026
|
-
const
|
|
1204
|
+
const Result_10 = IDL.Variant({ Ok: SignedTransaction, Err: Error });
|
|
1027
1205
|
const SignedAuthorization = IDL.Record({
|
|
1028
1206
|
paidAmount: IDL.Nat,
|
|
1029
1207
|
authorization: IDL.Record({
|
|
@@ -1041,7 +1219,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1041
1219
|
ApprovalPending: ApprovalRequest,
|
|
1042
1220
|
Signed: SignedAuthorization,
|
|
1043
1221
|
});
|
|
1044
|
-
const
|
|
1222
|
+
const Result_4 = IDL.Variant({ Ok: X402SignOutcome, Err: Error });
|
|
1045
1223
|
const Seat = IDL.Record({
|
|
1046
1224
|
pairedDay: IDL.Nat,
|
|
1047
1225
|
lastPaymentDay: IDL.Opt(IDL.Nat),
|
|
@@ -1049,13 +1227,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1049
1227
|
produced: IDL.Nat,
|
|
1050
1228
|
firstPaymentDay: IDL.Opt(IDL.Nat),
|
|
1051
1229
|
});
|
|
1052
|
-
const
|
|
1230
|
+
const Result_9 = IDL.Variant({ Ok: IDL.Vec(Seat), Err: Error });
|
|
1053
1231
|
const RailHealth = IDL.Record({
|
|
1054
1232
|
sessionsExpired: IDL.Nat,
|
|
1055
1233
|
sessionsClosed: IDL.Nat,
|
|
1056
1234
|
paidVouchersConsumed: IDL.Nat,
|
|
1057
1235
|
escrowOpen: IDL.Opt(IDL.Nat),
|
|
1058
1236
|
sessionsOpen: IDL.Nat,
|
|
1237
|
+
refundOwed: IDL.Opt(IDL.Nat),
|
|
1059
1238
|
sessionsClosing: IDL.Nat,
|
|
1060
1239
|
cycles: IDL.Nat,
|
|
1061
1240
|
sendHeadroom: IDL.Nat,
|
|
@@ -1063,7 +1242,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1063
1242
|
freezeReservation: IDL.Nat,
|
|
1064
1243
|
unknownSessionRefusals: IDL.Nat,
|
|
1065
1244
|
});
|
|
1066
|
-
const
|
|
1245
|
+
const Result_8 = IDL.Variant({ Ok: RailHealth, Err: Error });
|
|
1067
1246
|
const CallerSignatureCount = IDL.Record({
|
|
1068
1247
|
count: IDL.Nat,
|
|
1069
1248
|
role: Role,
|
|
@@ -1074,16 +1253,22 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1074
1253
|
total: IDL.Nat,
|
|
1075
1254
|
byCaller: IDL.Vec(CallerSignatureCount),
|
|
1076
1255
|
});
|
|
1077
|
-
const
|
|
1256
|
+
const Result_7 = IDL.Variant({ Ok: SignatureCounts, Err: Error });
|
|
1257
|
+
const Result_6 = IDL.Variant({
|
|
1258
|
+
Ok: IDL.Record({ returned: IDL.Nat }),
|
|
1259
|
+
Err: Error,
|
|
1260
|
+
});
|
|
1078
1261
|
const ControlHandover = IDL.Variant({
|
|
1079
1262
|
MovedByRegistry: IDL.Null,
|
|
1080
1263
|
NotHeldHere: IDL.Null,
|
|
1081
1264
|
MovedByEngram: IDL.Null,
|
|
1082
1265
|
});
|
|
1083
|
-
const
|
|
1266
|
+
const Result_3 = IDL.Variant({ Ok: ControlHandover, Err: Error });
|
|
1267
|
+
const TimersWake = IDL.Record({ gap: IDL.Int, needed: IDL.Nat });
|
|
1268
|
+
const Result_1 = IDL.Variant({ Ok: TimersWake, Err: Error });
|
|
1084
1269
|
const Engram = IDL.Service({
|
|
1085
1270
|
about: IDL.Func([], [About], ['query']),
|
|
1086
|
-
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [
|
|
1271
|
+
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_83], []),
|
|
1087
1272
|
actionAlertTransform: IDL.Func(
|
|
1088
1273
|
[
|
|
1089
1274
|
IDL.Record({
|
|
@@ -1094,6 +1279,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1094
1279
|
[HttpRequestResult],
|
|
1095
1280
|
['query'],
|
|
1096
1281
|
),
|
|
1282
|
+
addEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_82], []),
|
|
1097
1283
|
addEip712Type: IDL.Func(
|
|
1098
1284
|
[
|
|
1099
1285
|
IDL.Record({
|
|
@@ -1109,91 +1295,95 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1109
1295
|
valueBearing: IDL.Null,
|
|
1110
1296
|
standard: IDL.Null,
|
|
1111
1297
|
}),
|
|
1298
|
+
fieldRules: IDL.Vec(IDL.Tuple(IDL.Text, Eip712FieldRule)),
|
|
1112
1299
|
chainId: IDL.Nat,
|
|
1113
1300
|
domainVersion: IDL.Text,
|
|
1114
1301
|
ackIrrevocable: IDL.Bool,
|
|
1115
1302
|
}),
|
|
1116
1303
|
],
|
|
1117
|
-
[
|
|
1304
|
+
[Result_81],
|
|
1118
1305
|
[],
|
|
1119
1306
|
),
|
|
1120
|
-
|
|
1121
|
-
|
|
1307
|
+
addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_2], []),
|
|
1308
|
+
addRecordNote: IDL.Func([IDL.Nat, IDL.Text], [Result_14], []),
|
|
1122
1309
|
appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
|
|
1123
|
-
applyCondense: IDL.Func([IDL.Nat], [
|
|
1124
|
-
approveGuardian: IDL.Func([IDL.Principal], [
|
|
1125
|
-
approveRequest: IDL.Func([IDL.Text], [
|
|
1126
|
-
backupAbort: IDL.Func([IDL.Text], [
|
|
1127
|
-
backupFinalize: IDL.Func([IDL.Text], [
|
|
1310
|
+
applyCondense: IDL.Func([IDL.Nat], [Result_80], []),
|
|
1311
|
+
approveGuardian: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1312
|
+
approveRequest: IDL.Func([IDL.Text], [Result_2], []),
|
|
1313
|
+
backupAbort: IDL.Func([IDL.Text], [Result_2], []),
|
|
1314
|
+
backupFinalize: IDL.Func([IDL.Text], [Result_2], []),
|
|
1128
1315
|
backupInit: IDL.Func(
|
|
1129
1316
|
[IDL.Text, BackupType, IDL.Opt(IDL.Text), IDL.Text, IDL.Opt(IDL.Text)],
|
|
1130
|
-
[
|
|
1317
|
+
[Result_53],
|
|
1131
1318
|
[],
|
|
1132
1319
|
),
|
|
1133
|
-
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1134
|
-
backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [
|
|
1135
|
-
cancelAgentKeyNomination: IDL.Func([IDL.Principal], [
|
|
1136
|
-
closeSession: IDL.Func([IDL.Text], [
|
|
1137
|
-
convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1138
|
-
createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [
|
|
1139
|
-
createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [
|
|
1140
|
-
deleteBackup: IDL.Func([IDL.Text], [
|
|
1320
|
+
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_69], ['query']),
|
|
1321
|
+
backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
1322
|
+
cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1323
|
+
closeSession: IDL.Func([IDL.Text], [Result_2], []),
|
|
1324
|
+
convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_14], []),
|
|
1325
|
+
createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_53], []),
|
|
1326
|
+
createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_53], []),
|
|
1327
|
+
deleteBackup: IDL.Func([IDL.Text], [Result_2], []),
|
|
1141
1328
|
deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
|
|
1142
|
-
denyRequest: IDL.Func([IDL.Text, IDL.Text], [
|
|
1143
|
-
|
|
1144
|
-
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [
|
|
1145
|
-
freezePayments: IDL.Func([], [
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1329
|
+
denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
|
|
1330
|
+
disputeAgentWrite: IDL.Func([IDL.Nat, IDL.Text], [Result_14], []),
|
|
1331
|
+
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_79], []),
|
|
1332
|
+
freezePayments: IDL.Func([], [Result_2], []),
|
|
1333
|
+
freezePaymentsWithReason: IDL.Func([IDL.Text], [Result_2], []),
|
|
1334
|
+
getActionAlertStatus: IDL.Func([], [Result_67], ['query']),
|
|
1335
|
+
getAgentRevisablePaths: IDL.Func([], [Result_63], ['query']),
|
|
1336
|
+
getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_77], ['query']),
|
|
1337
|
+
getAgentWriteReview: IDL.Func([], [Result_76], ['query']),
|
|
1150
1338
|
getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
|
|
1151
1339
|
getAuditHead: IDL.Func([], [AuditHead], ['query']),
|
|
1152
|
-
getBackupMetadata: IDL.Func([IDL.Text], [
|
|
1340
|
+
getBackupMetadata: IDL.Func([IDL.Text], [Result_75], ['query']),
|
|
1341
|
+
getBackupRetention: IDL.Func([IDL.Text], [Result_74], ['query']),
|
|
1153
1342
|
getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1343
|
+
getBirthChain: IDL.Func([], [Result_73], ['query']),
|
|
1344
|
+
getBrakes: IDL.Func([], [Result_72], ['query']),
|
|
1154
1345
|
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)], [
|
|
1346
|
+
getChildAllowance: IDL.Func([IDL.Principal], [Result_71], ['query']),
|
|
1347
|
+
getChildOpening: IDL.Func([], [Result_70], ['query']),
|
|
1348
|
+
getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_69], []),
|
|
1158
1349
|
getEngramCard: IDL.Func([], [AgentCard], ['query']),
|
|
1159
|
-
|
|
1160
|
-
getEvmAddress: IDL.Func([], [Result_58], []),
|
|
1350
|
+
getEvmAddress: IDL.Func([], [Result_68], []),
|
|
1161
1351
|
getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
|
|
1162
|
-
getEvmSignerAddress: IDL.Func([], [
|
|
1352
|
+
getEvmSignerAddress: IDL.Func([], [Result_53], []),
|
|
1163
1353
|
getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
|
|
1164
|
-
getGuardianAlertStatus: IDL.Func([], [
|
|
1354
|
+
getGuardianAlertStatus: IDL.Func([], [Result_67], ['query']),
|
|
1165
1355
|
getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1166
1356
|
getMemoryHistory: IDL.Func(
|
|
1167
1357
|
[IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
|
|
1168
|
-
[
|
|
1358
|
+
[Result_66],
|
|
1169
1359
|
['query'],
|
|
1170
1360
|
),
|
|
1171
1361
|
getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
|
|
1172
1362
|
getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
|
|
1173
1363
|
getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
|
|
1174
|
-
getMemoryRetentionPolicy: IDL.Func([], [
|
|
1364
|
+
getMemoryRetentionPolicy: IDL.Func([], [Result_65], ['query']),
|
|
1175
1365
|
getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1176
|
-
getMyGuardianStatus: IDL.Func([], [
|
|
1177
|
-
getOwnerConsole: IDL.Func([], [
|
|
1178
|
-
getProtectedPaths: IDL.Func([], [
|
|
1366
|
+
getMyGuardianStatus: IDL.Func([], [Result_17], ['query']),
|
|
1367
|
+
getOwnerConsole: IDL.Func([], [Result_64], ['query']),
|
|
1368
|
+
getProtectedPaths: IDL.Func([], [Result_63], ['query']),
|
|
1179
1369
|
getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
|
|
1180
|
-
getSigningFloor: IDL.Func([], [
|
|
1370
|
+
getSigningFloor: IDL.Func([], [Result_62], ['query']),
|
|
1181
1371
|
getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1182
|
-
getSpendCeiling: IDL.Func([], [
|
|
1183
|
-
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [
|
|
1184
|
-
getStorageStats: IDL.Func([], [
|
|
1372
|
+
getSpendCeiling: IDL.Func([], [Result_61], ['query']),
|
|
1373
|
+
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_60], ['query']),
|
|
1374
|
+
getStorageStats: IDL.Func([], [Result_59], ['query']),
|
|
1185
1375
|
getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
|
|
1186
1376
|
getTopUpLimits: IDL.Func(
|
|
1187
1377
|
[],
|
|
1188
1378
|
[IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
|
|
1189
1379
|
['query'],
|
|
1190
1380
|
),
|
|
1191
|
-
getWalletBalances: IDL.Func([], [
|
|
1192
|
-
getWorldIdConfig: IDL.Func([], [
|
|
1193
|
-
getWorldIdRpContext: IDL.Func([], [
|
|
1194
|
-
getWorldIdRpSignerAddress: IDL.Func([], [
|
|
1195
|
-
getWorldIdVerification: IDL.Func([], [
|
|
1196
|
-
guardianRevokeAgent: IDL.Func([IDL.Principal], [
|
|
1381
|
+
getWalletBalances: IDL.Func([], [Result_58], []),
|
|
1382
|
+
getWorldIdConfig: IDL.Func([], [Result_57], ['query']),
|
|
1383
|
+
getWorldIdRpContext: IDL.Func([], [Result_56], []),
|
|
1384
|
+
getWorldIdRpSignerAddress: IDL.Func([], [Result_53], []),
|
|
1385
|
+
getWorldIdVerification: IDL.Func([], [Result_55], ['query']),
|
|
1386
|
+
guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1197
1387
|
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
1198
1388
|
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
1199
1389
|
icrc21_canister_call_consent_message: IDL.Func(
|
|
@@ -1223,105 +1413,116 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1223
1413
|
],
|
|
1224
1414
|
['query'],
|
|
1225
1415
|
),
|
|
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
|
-
|
|
1230
|
-
|
|
1416
|
+
isEvmAddressCached: IDL.Func([], [Result_54], ['query']),
|
|
1417
|
+
issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_53], []),
|
|
1418
|
+
listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_52], ['query']),
|
|
1419
|
+
listAgentSpendToday: IDL.Func([IDL.Nat, IDL.Nat], [Result_51], ['query']),
|
|
1420
|
+
listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_50], ['query']),
|
|
1421
|
+
listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_49], ['query']),
|
|
1231
1422
|
listApprovalRequests: IDL.Func(
|
|
1232
1423
|
[IDL.Opt(ApprovalStatus), IDL.Nat, IDL.Nat],
|
|
1233
|
-
[
|
|
1424
|
+
[Result_35],
|
|
1234
1425
|
['query'],
|
|
1235
1426
|
),
|
|
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
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1427
|
+
listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_48], ['query']),
|
|
1428
|
+
listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_47], ['query']),
|
|
1429
|
+
listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_46], ['query']),
|
|
1430
|
+
listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_45], ['query']),
|
|
1431
|
+
listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_44], ['query']),
|
|
1432
|
+
listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
|
|
1433
|
+
listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_42], ['query']),
|
|
1434
|
+
listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
|
|
1435
|
+
listGuardianDisputes: IDL.Func([IDL.Nat, IDL.Nat], [Result_40], ['query']),
|
|
1436
|
+
listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
|
|
1437
|
+
listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_38], ['query']),
|
|
1438
|
+
listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
|
|
1439
|
+
listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_36], ['query']),
|
|
1440
|
+
listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_35], ['query']),
|
|
1441
|
+
listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_34], ['query']),
|
|
1442
|
+
listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
|
|
1443
|
+
listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_32], ['query']),
|
|
1444
|
+
listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
|
|
1445
|
+
listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_30], ['query']),
|
|
1446
|
+
listRecordNotes: IDL.Func([IDL.Nat, IDL.Nat], [Result_29], ['query']),
|
|
1447
|
+
listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_28], ['query']),
|
|
1448
|
+
listSignIns: IDL.Func([IDL.Nat, IDL.Nat], [Result_27], ['query']),
|
|
1449
|
+
markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_14], []),
|
|
1450
|
+
myGrant: IDL.Func([], [Result_26], ['query']),
|
|
1451
|
+
nominateAgentKey: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1452
|
+
openChildEngram: IDL.Func([], [Result_25], []),
|
|
1453
|
+
openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_24], []),
|
|
1454
|
+
ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_14], []),
|
|
1455
|
+
pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_23], []),
|
|
1456
|
+
pauseWrites: IDL.Func([], [Result_2], []),
|
|
1457
|
+
pauseWritesWithReason: IDL.Func([IDL.Text], [Result_2], []),
|
|
1458
|
+
previewCondense: IDL.Func([IDL.Nat], [Result_22], ['query']),
|
|
1263
1459
|
previewOpenSession: IDL.Func([], [SessionIntent], ['query']),
|
|
1264
|
-
|
|
1265
|
-
|
|
1460
|
+
previewRetention: IDL.Func(
|
|
1461
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec))],
|
|
1462
|
+
[Result_21],
|
|
1463
|
+
['query'],
|
|
1464
|
+
),
|
|
1465
|
+
readMemory: IDL.Func([IDL.Text], [Result_12], ['query']),
|
|
1466
|
+
readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_20], ['query']),
|
|
1266
1467
|
readMemoryBytes: IDL.Func(
|
|
1267
1468
|
[IDL.Text, IDL.Nat, IDL.Nat, IDL.Opt(IDL.Nat)],
|
|
1268
|
-
[
|
|
1469
|
+
[Result_19],
|
|
1269
1470
|
['query'],
|
|
1270
1471
|
),
|
|
1271
|
-
recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1272
|
-
registerGuardian: IDL.Func([IDL.Text], [
|
|
1273
|
-
removeCallerSpendPolicy: IDL.Func([IDL.Principal], [
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
removeGuardian: IDL.Func([IDL.Principal], [
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1472
|
+
recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [Result_18], []),
|
|
1473
|
+
registerGuardian: IDL.Func([IDL.Text], [Result_17], []),
|
|
1474
|
+
removeCallerSpendPolicy: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1475
|
+
removeEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_2], []),
|
|
1476
|
+
removeEip712Type: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
1477
|
+
removeGuardian: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1478
|
+
renameAgent: IDL.Func([IDL.Principal, IDL.Text], [Result_2], []),
|
|
1479
|
+
repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [Result_14], []),
|
|
1480
|
+
resetEngram: IDL.Func([], [Result_16], []),
|
|
1481
|
+
resignAgent: IDL.Func([], [Result_2], []),
|
|
1482
|
+
resumeWrites: IDL.Func([], [Result_2], []),
|
|
1483
|
+
resyncAgentEdges: IDL.Func([], [Result_15], []),
|
|
1484
|
+
returnToManaged: IDL.Func([], [Result_2], []),
|
|
1283
1485
|
reviseMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
|
|
1284
|
-
revokeAgent: IDL.Func([IDL.Principal], [
|
|
1285
|
-
revokeAllAgents: IDL.Func([], [
|
|
1286
|
-
revokeAllBearerTokens: IDL.Func([], [
|
|
1287
|
-
revokeAllInvites: IDL.Func([], [
|
|
1288
|
-
revokeBearerToken: IDL.Func([IDL.Text], [
|
|
1486
|
+
revokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1487
|
+
revokeAllAgents: IDL.Func([], [Result_14], []),
|
|
1488
|
+
revokeAllBearerTokens: IDL.Func([], [Result_14], []),
|
|
1489
|
+
revokeAllInvites: IDL.Func([], [Result_14], []),
|
|
1490
|
+
revokeBearerToken: IDL.Func([IDL.Text], [Result_2], []),
|
|
1289
1491
|
rollbackMemory: IDL.Func([IDL.Text, IDL.Nat], [Result], []),
|
|
1290
|
-
rotateAgentKeyHash: IDL.Func([IDL.Text], [
|
|
1291
|
-
seedMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
|
|
1492
|
+
rotateAgentKeyHash: IDL.Func([IDL.Text], [Result_2], []),
|
|
1292
1493
|
sessionAppendMemory: IDL.Func([Voucher, IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
|
|
1293
|
-
sessionReadContext: IDL.Func([IDL.Text], [
|
|
1294
|
-
sessionReadMemory: IDL.Func([Voucher, IDL.Text], [
|
|
1295
|
-
setActionAlertConfig: IDL.Func([AlertConfig], [
|
|
1296
|
-
setAgentPermissions: IDL.Func([IDL.Principal, AgentPermissions], [
|
|
1297
|
-
setAgentRevisablePaths: IDL.Func([IDL.Vec(IDL.Text)], [
|
|
1298
|
-
setBackupRetention: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1299
|
-
setCallerSpendPolicy: IDL.Func([IDL.Principal, SpendingPolicy], [
|
|
1300
|
-
setChildAllowance: IDL.Func([IDL.Principal, IDL.Nat], [
|
|
1301
|
-
setEncryptionEnabled: IDL.Func([IDL.Bool], [
|
|
1302
|
-
setEvmOwnerAddress: IDL.Func([IDL.Text], [
|
|
1303
|
-
setGuardianAlertConfig: IDL.Func([AlertConfig], [
|
|
1494
|
+
sessionReadContext: IDL.Func([IDL.Text], [Result_13], []),
|
|
1495
|
+
sessionReadMemory: IDL.Func([Voucher, IDL.Text], [Result_12], []),
|
|
1496
|
+
setActionAlertConfig: IDL.Func([AlertConfig], [Result_2], []),
|
|
1497
|
+
setAgentPermissions: IDL.Func([IDL.Principal, AgentPermissions], [Result_2], []),
|
|
1498
|
+
setAgentRevisablePaths: IDL.Func([IDL.Vec(IDL.Text)], [Result_2], []),
|
|
1499
|
+
setBackupRetention: IDL.Func([IDL.Text, IDL.Nat], [Result_11], []),
|
|
1500
|
+
setCallerSpendPolicy: IDL.Func([IDL.Principal, SpendingPolicy], [Result_2], []),
|
|
1501
|
+
setChildAllowance: IDL.Func([IDL.Principal, IDL.Nat], [Result_2], []),
|
|
1502
|
+
setEncryptionEnabled: IDL.Func([IDL.Bool], [Result_2], []),
|
|
1503
|
+
setEvmOwnerAddress: IDL.Func([IDL.Text], [Result_2], []),
|
|
1504
|
+
setGuardianAlertConfig: IDL.Func([AlertConfig], [Result_2], []),
|
|
1304
1505
|
setMemoryRetentionPolicy: IDL.Func(
|
|
1305
1506
|
[IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec))],
|
|
1306
|
-
[
|
|
1507
|
+
[Result_2],
|
|
1307
1508
|
[],
|
|
1308
1509
|
),
|
|
1309
|
-
setPaidMemoryReadEnabled: IDL.Func([IDL.Bool], [
|
|
1310
|
-
setPaidMemoryWriteEnabled: IDL.Func([IDL.Bool], [
|
|
1311
|
-
setProtectedPaths: IDL.Func([IDL.Vec(IDL.Text)], [
|
|
1312
|
-
setSeatWeeksReadEnabled: IDL.Func([IDL.Bool], [
|
|
1313
|
-
setSpendCeiling: IDL.Func([IDL.Opt(IDL.Nat)], [
|
|
1314
|
-
setSpendPolicy: IDL.Func([SpendingPolicy], [
|
|
1510
|
+
setPaidMemoryReadEnabled: IDL.Func([IDL.Bool], [Result_2], []),
|
|
1511
|
+
setPaidMemoryWriteEnabled: IDL.Func([IDL.Bool], [Result_2], []),
|
|
1512
|
+
setProtectedPaths: IDL.Func([IDL.Vec(IDL.Text)], [Result_2], []),
|
|
1513
|
+
setSeatWeeksReadEnabled: IDL.Func([IDL.Bool], [Result_2], []),
|
|
1514
|
+
setSpendCeiling: IDL.Func([IDL.Opt(IDL.Nat)], [Result_2], []),
|
|
1515
|
+
setSpendPolicy: IDL.Func([SpendingPolicy], [Result_2], []),
|
|
1315
1516
|
setTopUpLimits: IDL.Func(
|
|
1316
1517
|
[IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
|
|
1317
|
-
[
|
|
1518
|
+
[Result_2],
|
|
1318
1519
|
[],
|
|
1319
1520
|
),
|
|
1320
|
-
setWorldIdConfig: IDL.Func([IDL.Text, IDL.Text, IDL.Text], [
|
|
1321
|
-
setWorldIdProof: IDL.Func([IDL.Text, IDL.Text], [
|
|
1521
|
+
setWorldIdConfig: IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_2], []),
|
|
1522
|
+
setWorldIdProof: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
|
|
1322
1523
|
signEip712: IDL.Func(
|
|
1323
1524
|
[IDL.Vec(IDL.Nat8), IDL.Vec(IDL.Tuple(IDL.Text, Eip712Value))],
|
|
1324
|
-
[
|
|
1525
|
+
[Result_5],
|
|
1325
1526
|
[],
|
|
1326
1527
|
),
|
|
1327
1528
|
signEngramRegistration: IDL.Func(
|
|
@@ -1332,7 +1533,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1332
1533
|
maxPriorityFeePerGas: IDL.Nat,
|
|
1333
1534
|
}),
|
|
1334
1535
|
],
|
|
1335
|
-
[
|
|
1536
|
+
[Result_10],
|
|
1336
1537
|
[],
|
|
1337
1538
|
),
|
|
1338
1539
|
signX402Payment: IDL.Func(
|
|
@@ -1348,17 +1549,27 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1348
1549
|
amount: IDL.Nat,
|
|
1349
1550
|
}),
|
|
1350
1551
|
],
|
|
1351
|
-
[
|
|
1552
|
+
[Result_4],
|
|
1553
|
+
[],
|
|
1554
|
+
),
|
|
1555
|
+
stepDownAsGuardian: IDL.Func([], [Result_2], []),
|
|
1556
|
+
sysForceCloseSession: IDL.Func([IDL.Text], [Result_2], []),
|
|
1557
|
+
sysGetAgentSeatWeeks: IDL.Func([], [Result_9], []),
|
|
1558
|
+
sysGetRailHealth: IDL.Func([], [Result_8], ['query']),
|
|
1559
|
+
sysGetSignatureCounts: IDL.Func([], [Result_7], []),
|
|
1560
|
+
sysNoteRestart: IDL.Func(
|
|
1561
|
+
[
|
|
1562
|
+
IDL.Record({
|
|
1563
|
+
keepCycles: IDL.Nat,
|
|
1564
|
+
loan: IDL.Nat,
|
|
1565
|
+
quietUntilNs: IDL.Int,
|
|
1566
|
+
}),
|
|
1567
|
+
],
|
|
1568
|
+
[Result_2],
|
|
1352
1569
|
[],
|
|
1353
1570
|
),
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
sysForceCloseSession: IDL.Func([IDL.Text], [Result_1], []),
|
|
1357
|
-
sysGetAgentSeatWeeks: IDL.Func([], [Result_7], []),
|
|
1358
|
-
sysGetRailHealth: IDL.Func([], [Result_6], ['query']),
|
|
1359
|
-
sysGetSignatureCounts: IDL.Func([], [Result_5], []),
|
|
1360
|
-
sysNotifyRentLifecycle: IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1361
|
-
sysNotifyWalletActivity: IDL.Func([IDL.Text], [Result_1], []),
|
|
1571
|
+
sysNotifyRentLifecycle: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
|
|
1572
|
+
sysNotifyWalletActivity: IDL.Func([IDL.Text], [Result_2], []),
|
|
1362
1573
|
sysRecordFeeEvent: IDL.Func(
|
|
1363
1574
|
[
|
|
1364
1575
|
IDL.Record({
|
|
@@ -1367,16 +1578,27 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1367
1578
|
scheduleVersion: IDL.Opt(IDL.Text),
|
|
1368
1579
|
}),
|
|
1369
1580
|
],
|
|
1370
|
-
[
|
|
1581
|
+
[Result_2],
|
|
1371
1582
|
[],
|
|
1372
1583
|
),
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1584
|
+
sysReturnUpgradeAdvance: IDL.Func(
|
|
1585
|
+
[
|
|
1586
|
+
IDL.Record({
|
|
1587
|
+
balanceBefore: IDL.Nat,
|
|
1588
|
+
advanceId: IDL.Nat,
|
|
1589
|
+
advance: IDL.Nat,
|
|
1590
|
+
}),
|
|
1591
|
+
],
|
|
1592
|
+
[Result_6],
|
|
1593
|
+
[],
|
|
1594
|
+
),
|
|
1595
|
+
sysSetBillerId: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1596
|
+
sysSetBirthChain: IDL.Func([IDL.Vec(BirthRecord)], [Result_2], []),
|
|
1597
|
+
sysSetMarketId: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1598
|
+
sysSetMetricsReaderId: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1377
1599
|
sysSignEip712: IDL.Func(
|
|
1378
1600
|
[IDL.Vec(IDL.Nat8), IDL.Vec(IDL.Tuple(IDL.Text, Eip712Value))],
|
|
1379
|
-
[
|
|
1601
|
+
[Result_5],
|
|
1380
1602
|
[],
|
|
1381
1603
|
),
|
|
1382
1604
|
sysSignX402Payment: IDL.Func(
|
|
@@ -1390,13 +1612,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1390
1612
|
IDL.Opt(IDL.Text),
|
|
1391
1613
|
IDL.Opt(IDL.Text),
|
|
1392
1614
|
],
|
|
1393
|
-
[
|
|
1615
|
+
[Result_4],
|
|
1394
1616
|
[],
|
|
1395
1617
|
),
|
|
1396
|
-
testActionAlert: IDL.Func([], [
|
|
1397
|
-
testGuardianAlert: IDL.Func([], [
|
|
1398
|
-
transferOwnership: IDL.Func([IDL.Principal], [
|
|
1399
|
-
unfreezePayments: IDL.Func([], [
|
|
1618
|
+
testActionAlert: IDL.Func([], [Result_2], []),
|
|
1619
|
+
testGuardianAlert: IDL.Func([], [Result_2], []),
|
|
1620
|
+
transferOwnership: IDL.Func([IDL.Principal], [Result_3], []),
|
|
1621
|
+
unfreezePayments: IDL.Func([], [Result_2], []),
|
|
1622
|
+
wakeTimers: IDL.Func([], [Result_1], []),
|
|
1400
1623
|
worldIdTransform: IDL.Func(
|
|
1401
1624
|
[
|
|
1402
1625
|
IDL.Record({
|