@engramx/idl 0.16.0-rc.8 → 0.16.0
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 +2038 -656
- package/dist/engram.idl.d.ts +1941 -658
- package/dist/engram.idl.js +691 -309
- package/dist/market.did +199 -152
- package/dist/market.idl.d.ts +201 -159
- package/dist/market.idl.js +74 -58
- package/dist/registry.did +907 -225
- package/dist/registry.idl.d.ts +875 -220
- package/dist/registry.idl.js +209 -52
- 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,62 @@ export const idlFactory = ({ IDL }) => {
|
|
|
89
90
|
Unavailable: IDL.Text,
|
|
90
91
|
Conflict: IDL.Text,
|
|
91
92
|
});
|
|
92
|
-
const
|
|
93
|
+
const Result_95 = IDL.Variant({ Ok: AgentRecord, Err: Error });
|
|
94
|
+
const Ended = IDL.Record({
|
|
95
|
+
typedDataDestinationsRemoved: IDL.Nat,
|
|
96
|
+
approvalsEnded: IDL.Nat,
|
|
97
|
+
sellersRemoved: IDL.Nat,
|
|
98
|
+
invitesVoided: IDL.Nat,
|
|
99
|
+
guardiansRemoved: IDL.Nat,
|
|
100
|
+
agentRecordsRemoved: IDL.Nat,
|
|
101
|
+
agentsEnded: IDL.Nat,
|
|
102
|
+
callerPoliciesRemoved: IDL.Nat,
|
|
103
|
+
});
|
|
104
|
+
const Accepted = IDL.Record({
|
|
105
|
+
closed: Ended,
|
|
106
|
+
handed: IDL.Variant({
|
|
107
|
+
MovedByRegistry: IDL.Null,
|
|
108
|
+
NotHeldHere: IDL.Null,
|
|
109
|
+
MovedByEngram: IDL.Null,
|
|
110
|
+
}),
|
|
111
|
+
});
|
|
112
|
+
const Result_94 = IDL.Variant({ Ok: Accepted, Err: Error });
|
|
113
|
+
const Result_2 = IDL.Variant({ Ok: IDL.Null, Err: Error });
|
|
93
114
|
const HttpHeader = IDL.Record({ value: IDL.Text, name: IDL.Text });
|
|
94
115
|
const HttpRequestResult = IDL.Record({
|
|
95
116
|
status: IDL.Nat,
|
|
96
117
|
body: IDL.Vec(IDL.Nat8),
|
|
97
118
|
headers: IDL.Vec(HttpHeader),
|
|
98
119
|
});
|
|
120
|
+
const Result_11 = IDL.Variant({
|
|
121
|
+
Ok: IDL.Record({ activatesAtNs: IDL.Int }),
|
|
122
|
+
Err: Error,
|
|
123
|
+
});
|
|
124
|
+
const Eip712FieldRule = IDL.Variant({
|
|
125
|
+
mustEqual: IDL.Text,
|
|
126
|
+
atMost: IDL.Record({ max: IDL.Nat, decimals: IDL.Nat }),
|
|
127
|
+
});
|
|
99
128
|
const Eip712Registration = IDL.Record({
|
|
100
129
|
encodeTypeString: IDL.Text,
|
|
101
130
|
cooloffEndsAtNs: IDL.Int,
|
|
102
131
|
typeId: IDL.Vec(IDL.Nat8),
|
|
103
132
|
});
|
|
104
|
-
const
|
|
105
|
-
const Result_69 = IDL.Variant({
|
|
106
|
-
Ok: IDL.Record({ activatesAtNs: IDL.Int }),
|
|
107
|
-
Err: Error,
|
|
108
|
-
});
|
|
133
|
+
const Result_92 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
|
|
109
134
|
const GuardianPermissions = IDL.Record({
|
|
110
135
|
canFreezePayments: IDL.Bool,
|
|
111
136
|
canRevokeAgents: IDL.Bool,
|
|
112
137
|
scopes: IDL.Opt(IDL.Vec(IDL.Text)),
|
|
113
138
|
canPauseWrites: IDL.Bool,
|
|
114
139
|
});
|
|
115
|
-
const
|
|
140
|
+
const Result_15 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
|
|
141
|
+
const Conversion = IDL.Record({
|
|
142
|
+
token: IDL.Text,
|
|
143
|
+
daysLeftBefore: IDL.Opt(IDL.Nat),
|
|
144
|
+
amountE6: IDL.Nat,
|
|
145
|
+
cyclesAdded: IDL.Nat,
|
|
146
|
+
finishedBeforeRemovalSeen: IDL.Bool,
|
|
147
|
+
});
|
|
148
|
+
const Result_90 = IDL.Variant({ Ok: Conversion, Err: Error });
|
|
116
149
|
const MemorySource = IDL.Variant({
|
|
117
150
|
sessionTranscript: IDL.Null,
|
|
118
151
|
human: IDL.Null,
|
|
@@ -122,10 +155,21 @@ export const idlFactory = ({ IDL }) => {
|
|
|
122
155
|
});
|
|
123
156
|
const WriteReceipt = IDL.Record({
|
|
124
157
|
seq: IDL.Nat,
|
|
158
|
+
contentRoot: IDL.Vec(IDL.Nat8),
|
|
159
|
+
atNs: IDL.Int,
|
|
125
160
|
head: IDL.Vec(IDL.Nat8),
|
|
161
|
+
prev: IDL.Vec(IDL.Nat8),
|
|
162
|
+
size: IDL.Nat,
|
|
163
|
+
recordPrev: IDL.Vec(IDL.Nat8),
|
|
126
164
|
version: IDL.Nat,
|
|
165
|
+
recordId: IDL.Nat,
|
|
127
166
|
});
|
|
128
167
|
const Result = IDL.Variant({ Ok: WriteReceipt, Err: Error });
|
|
168
|
+
const TextAppendReceipt = IDL.Record({
|
|
169
|
+
receipt: WriteReceipt,
|
|
170
|
+
sent: IDL.Vec(IDL.Nat8),
|
|
171
|
+
});
|
|
172
|
+
const Result_16 = IDL.Variant({ Ok: TextAppendReceipt, Err: Error });
|
|
129
173
|
const CondenseResult = IDL.Record({
|
|
130
174
|
seq: IDL.Nat,
|
|
131
175
|
toSeq: IDL.Nat,
|
|
@@ -137,15 +181,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
181
|
historyBytesDelta: IDL.Int,
|
|
138
182
|
opCount: IDL.Nat,
|
|
139
183
|
});
|
|
140
|
-
const
|
|
184
|
+
const Result_89 = IDL.Variant({ Ok: CondenseResult, Err: Error });
|
|
141
185
|
const BackupType = IDL.Variant({
|
|
142
186
|
PartialSnapshot: IDL.Null,
|
|
143
187
|
IncrementalDiff: IDL.Null,
|
|
144
188
|
FullSnapshot: IDL.Null,
|
|
145
189
|
});
|
|
146
|
-
const
|
|
147
|
-
const
|
|
148
|
-
const Result_8 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
|
|
190
|
+
const Result_58 = IDL.Variant({ Ok: IDL.Text, Err: Error });
|
|
191
|
+
const Result_76 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
|
|
149
192
|
const MemoryRangeExport = IDL.Record({
|
|
150
193
|
seq: IDL.Nat,
|
|
151
194
|
toSeq: IDL.Nat,
|
|
@@ -155,7 +198,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
155
198
|
fromSeq: IDL.Nat,
|
|
156
199
|
authorFilter: IDL.Opt(IDL.Principal),
|
|
157
200
|
});
|
|
158
|
-
const
|
|
201
|
+
const Result_88 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
|
|
159
202
|
const AlertConfig = IDL.Record({
|
|
160
203
|
url: IDL.Opt(IDL.Text),
|
|
161
204
|
money: IDL.Bool,
|
|
@@ -172,8 +215,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
172
215
|
disabled: IDL.Bool,
|
|
173
216
|
config: AlertConfig,
|
|
174
217
|
});
|
|
175
|
-
const
|
|
176
|
-
const
|
|
218
|
+
const Result_77 = IDL.Variant({ Ok: AlertStatus, Err: Error });
|
|
219
|
+
const AgentConvertRule = IDL.Record({
|
|
220
|
+
spacingSeconds: IDL.Nat,
|
|
221
|
+
minPerCallE6: IDL.Nat,
|
|
222
|
+
maxPerCallE6: IDL.Nat,
|
|
223
|
+
belowDays: IDL.Nat,
|
|
224
|
+
});
|
|
225
|
+
const Result_68 = IDL.Variant({
|
|
177
226
|
Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
|
|
178
227
|
Err: Error,
|
|
179
228
|
});
|
|
@@ -185,12 +234,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
185
234
|
produced: IDL.Nat,
|
|
186
235
|
firstPaymentDay: IDL.Opt(IDL.Nat),
|
|
187
236
|
});
|
|
188
|
-
const
|
|
237
|
+
const Page_27 = IDL.Record({
|
|
189
238
|
total: IDL.Nat,
|
|
190
239
|
withheld: IDL.Nat,
|
|
191
240
|
items: IDL.Vec(OwnerRow),
|
|
192
241
|
});
|
|
193
|
-
const
|
|
242
|
+
const Result_86 = IDL.Variant({ Ok: Page_27, Err: Error });
|
|
194
243
|
const Role = IDL.Variant({
|
|
195
244
|
Anonymous: IDL.Null,
|
|
196
245
|
Viewer: IDL.Null,
|
|
@@ -229,7 +278,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
229
278
|
earliest: IDL.Nat,
|
|
230
279
|
capped: IDL.Bool,
|
|
231
280
|
});
|
|
232
|
-
const
|
|
281
|
+
const Result_85 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
|
|
233
282
|
const AnchorPushStatus = IDL.Record({
|
|
234
283
|
anchorTickAtNs: IDL.Opt(IDL.Int),
|
|
235
284
|
okAtNs: IDL.Opt(IDL.Int),
|
|
@@ -238,10 +287,15 @@ export const idlFactory = ({ IDL }) => {
|
|
|
238
287
|
currentTotal: IDL.Nat,
|
|
239
288
|
timerTickAtNs: IDL.Opt(IDL.Int),
|
|
240
289
|
okTotal: IDL.Nat,
|
|
290
|
+
checkInIntervalSeconds: IDL.Opt(IDL.Nat),
|
|
241
291
|
carrierArmedAtNs: IDL.Int,
|
|
242
292
|
attemptAtNs: IDL.Opt(IDL.Int),
|
|
243
293
|
skipCursor: IDL.Nat,
|
|
294
|
+
timersPauseReason: IDL.Opt(IDL.Text),
|
|
244
295
|
lastError: IDL.Text,
|
|
296
|
+
nextCheckInDueAtNs: IDL.Opt(IDL.Int),
|
|
297
|
+
timersPausedAtNs: IDL.Opt(IDL.Int),
|
|
298
|
+
nextAnchorAttemptAtNs: IDL.Opt(IDL.Int),
|
|
245
299
|
});
|
|
246
300
|
const AuditHead = IDL.Record({
|
|
247
301
|
headHash: IDL.Vec(IDL.Nat8),
|
|
@@ -265,7 +319,36 @@ export const idlFactory = ({ IDL }) => {
|
|
|
265
319
|
chunkCount: IDL.Nat,
|
|
266
320
|
parentBackupId: IDL.Opt(IDL.Text),
|
|
267
321
|
});
|
|
268
|
-
const
|
|
322
|
+
const Result_84 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
|
|
323
|
+
const BackupRetention = IDL.Record({
|
|
324
|
+
maxBackups: IDL.Nat,
|
|
325
|
+
isDefault: IDL.Bool,
|
|
326
|
+
dbType: IDL.Text,
|
|
327
|
+
});
|
|
328
|
+
const Result_83 = IDL.Variant({ Ok: BackupRetention, Err: Error });
|
|
329
|
+
const BirthRecord = IDL.Record({
|
|
330
|
+
bornAtNs: IDL.Int,
|
|
331
|
+
parentFingerprint: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
332
|
+
child: IDL.Principal,
|
|
333
|
+
secret: IDL.Vec(IDL.Nat8),
|
|
334
|
+
version: IDL.Nat,
|
|
335
|
+
number: IDL.Nat,
|
|
336
|
+
parent: IDL.Opt(IDL.Principal),
|
|
337
|
+
});
|
|
338
|
+
const Result_82 = IDL.Variant({ Ok: IDL.Vec(BirthRecord), Err: Error });
|
|
339
|
+
const BrakeRole = IDL.Variant({ Guardian: IDL.Null, Owner: IDL.Null });
|
|
340
|
+
const BrakePull = IDL.Record({
|
|
341
|
+
by: IDL.Principal,
|
|
342
|
+
atNs: IDL.Int,
|
|
343
|
+
role: BrakeRole,
|
|
344
|
+
reason: IDL.Opt(IDL.Text),
|
|
345
|
+
});
|
|
346
|
+
const BrakeState = IDL.Record({
|
|
347
|
+
on: IDL.Bool,
|
|
348
|
+
pull: IDL.Opt(BrakePull),
|
|
349
|
+
});
|
|
350
|
+
const Brakes = IDL.Record({ payments: BrakeState, writes: BrakeState });
|
|
351
|
+
const Result_81 = IDL.Variant({ Ok: Brakes, Err: Error });
|
|
269
352
|
const CertifiedAuditHead = IDL.Record({
|
|
270
353
|
total: IDL.Nat,
|
|
271
354
|
certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -277,14 +360,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
277
360
|
root: IDL.Principal,
|
|
278
361
|
remaining: IDL.Nat,
|
|
279
362
|
});
|
|
280
|
-
const
|
|
363
|
+
const Result_80 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
|
|
281
364
|
const ChildOpening = IDL.Record({
|
|
282
365
|
attachCycles: IDL.Nat,
|
|
283
366
|
balance: IDL.Nat,
|
|
284
367
|
allowances: IDL.Vec(ChildAllowanceRow),
|
|
285
368
|
floorCycles: IDL.Nat,
|
|
286
369
|
});
|
|
287
|
-
const
|
|
370
|
+
const Result_79 = IDL.Variant({ Ok: ChildOpening, Err: Error });
|
|
288
371
|
const ServiceEntry = IDL.Record({
|
|
289
372
|
endpoint: IDL.Text,
|
|
290
373
|
name: IDL.Text,
|
|
@@ -302,7 +385,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
302
385
|
pay: IDL.Text,
|
|
303
386
|
engramRegistration: IDL.Text,
|
|
304
387
|
});
|
|
305
|
-
const
|
|
388
|
+
const Result_78 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
|
|
306
389
|
const GenesisNote = IDL.Record({
|
|
307
390
|
predecessorSize: IDL.Opt(IDL.Nat),
|
|
308
391
|
predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
@@ -310,6 +393,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
310
393
|
version: IDL.Text,
|
|
311
394
|
genesisAtNs: IDL.Int,
|
|
312
395
|
});
|
|
396
|
+
const KeyBackupStatus = IDL.Record({
|
|
397
|
+
matchesSignIn: IDL.Bool,
|
|
398
|
+
copyWaitsWithAsk: IDL.Bool,
|
|
399
|
+
sealed: IDL.Bool,
|
|
400
|
+
sealedFor: IDL.Opt(IDL.Principal),
|
|
401
|
+
sealedAtNs: IDL.Opt(IDL.Int),
|
|
402
|
+
});
|
|
403
|
+
const Result_75 = IDL.Variant({ Ok: KeyBackupStatus, Err: Error });
|
|
313
404
|
const MemoryEviction = IDL.Record({
|
|
314
405
|
evictSeq: IDL.Nat,
|
|
315
406
|
fromVersion: IDL.Nat,
|
|
@@ -346,7 +437,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
346
437
|
versions: IDL.Vec(MemoryVersionSummary),
|
|
347
438
|
evictedCount: IDL.Nat,
|
|
348
439
|
});
|
|
349
|
-
const
|
|
440
|
+
const Result_74 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
|
|
350
441
|
const MemoryMaintainStatus = IDL.Record({
|
|
351
442
|
attachOk: IDL.Bool,
|
|
352
443
|
attachDetail: IDL.Text,
|
|
@@ -354,9 +445,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
354
445
|
refusedQuota: IDL.Text,
|
|
355
446
|
more: IDL.Bool,
|
|
356
447
|
lastEvictions: IDL.Nat,
|
|
357
|
-
lastScrubbed: IDL.Nat,
|
|
358
448
|
lastMaintainAtNs: IDL.Opt(IDL.Int),
|
|
359
|
-
totalFindings: IDL.Nat,
|
|
360
449
|
refused: IDL.Bool,
|
|
361
450
|
});
|
|
362
451
|
const RetentionClassSpec = IDL.Variant({
|
|
@@ -374,7 +463,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
374
463
|
entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
|
|
375
464
|
guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
|
|
376
465
|
});
|
|
377
|
-
const
|
|
466
|
+
const Result_73 = IDL.Variant({
|
|
378
467
|
Ok: MemoryRetentionPolicy,
|
|
379
468
|
Err: Error,
|
|
380
469
|
});
|
|
@@ -389,7 +478,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
389
478
|
name: IDL.Text,
|
|
390
479
|
addedAtNs: IDL.Int,
|
|
391
480
|
});
|
|
392
|
-
const
|
|
481
|
+
const Result_19 = IDL.Variant({ Ok: GuardianRecord, Err: Error });
|
|
393
482
|
const OwnerConsole = IDL.Record({
|
|
394
483
|
pendingApprovalCount: IDL.Nat,
|
|
395
484
|
memoryKeyEpoch: IDL.Nat,
|
|
@@ -399,19 +488,61 @@ export const idlFactory = ({ IDL }) => {
|
|
|
399
488
|
cyclesBalance: IDL.Nat,
|
|
400
489
|
unknownSessionRefusals: IDL.Nat,
|
|
401
490
|
});
|
|
402
|
-
const
|
|
491
|
+
const Result_72 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
|
|
492
|
+
const OwnerSignInView = IDL.Record({
|
|
493
|
+
askedAtNs: IDL.Opt(IDL.Int),
|
|
494
|
+
openedFrom: IDL.Opt(IDL.Principal),
|
|
495
|
+
declinedAtNs: IDL.Opt(IDL.Int),
|
|
496
|
+
callerIsSignIn: IDL.Bool,
|
|
497
|
+
declinedBy: IDL.Opt(IDL.Principal),
|
|
498
|
+
callerIsAsked: IDL.Bool,
|
|
499
|
+
ownerSignIn: IDL.Opt(IDL.Principal),
|
|
500
|
+
});
|
|
501
|
+
const Result_71 = IDL.Variant({ Ok: OwnerSignInView, Err: Error });
|
|
502
|
+
const Offer = IDL.Record({
|
|
503
|
+
to: IDL.Principal,
|
|
504
|
+
expiresAtNs: IDL.Int,
|
|
505
|
+
offeredAtNs: IDL.Int,
|
|
506
|
+
});
|
|
507
|
+
const Result_70 = IDL.Variant({ Ok: IDL.Opt(Offer), Err: Error });
|
|
508
|
+
const MemoryFile = IDL.Record({
|
|
509
|
+
content: IDL.Vec(IDL.Nat8),
|
|
510
|
+
path: IDL.Text,
|
|
511
|
+
version: IDL.Nat,
|
|
512
|
+
lastModifiedBy: IDL.Principal,
|
|
513
|
+
lastModifiedAtNs: IDL.Int,
|
|
514
|
+
});
|
|
515
|
+
const Result_13 = IDL.Variant({ Ok: MemoryFile, Err: Error });
|
|
516
|
+
const ProfileRead = IDL.Record({
|
|
517
|
+
soul: Result_13,
|
|
518
|
+
user: Result_13,
|
|
519
|
+
lessons: Result_13,
|
|
520
|
+
preferences: Result_13,
|
|
521
|
+
});
|
|
522
|
+
const Result_69 = IDL.Variant({ Ok: ProfileRead, Err: Error });
|
|
523
|
+
const RecipientHistory = IDL.Record({
|
|
524
|
+
historyFull: IDL.Bool,
|
|
525
|
+
firstPaidAtNs: IDL.Opt(IDL.Int),
|
|
526
|
+
timesPaid: IDL.Nat,
|
|
527
|
+
paidBefore: IDL.Bool,
|
|
528
|
+
liveNow: IDL.Bool,
|
|
529
|
+
lastPaidAtNs: IDL.Opt(IDL.Int),
|
|
530
|
+
largestPaidE6: IDL.Nat,
|
|
531
|
+
listedSeller: IDL.Bool,
|
|
532
|
+
});
|
|
533
|
+
const Result_67 = IDL.Variant({ Ok: RecipientHistory, Err: Error });
|
|
403
534
|
const SigningFloorStatus = IDL.Record({
|
|
404
535
|
floor: IDL.Nat,
|
|
405
536
|
signaturesAboveFloor: IDL.Nat,
|
|
406
537
|
balance: IDL.Nat,
|
|
407
538
|
perSignature: IDL.Nat,
|
|
408
539
|
});
|
|
409
|
-
const
|
|
540
|
+
const Result_66 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
|
|
410
541
|
const SpendCeiling = IDL.Record({
|
|
411
542
|
spentToday: IDL.Nat,
|
|
412
543
|
maxPerDay: IDL.Opt(IDL.Nat),
|
|
413
544
|
});
|
|
414
|
-
const
|
|
545
|
+
const Result_65 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
|
|
415
546
|
const SpendingPolicy = IDL.Record({
|
|
416
547
|
maxSessionDeposit: IDL.Opt(IDL.Nat),
|
|
417
548
|
blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
@@ -423,7 +554,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
423
554
|
allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
424
555
|
maxConcurrentSessions: IDL.Opt(IDL.Nat),
|
|
425
556
|
});
|
|
426
|
-
const
|
|
557
|
+
const Result_64 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
|
|
427
558
|
const StorageReport = IDL.Record({
|
|
428
559
|
sessionFilesSize: IDL.Nat,
|
|
429
560
|
totalFiles: IDL.Nat,
|
|
@@ -438,12 +569,22 @@ export const idlFactory = ({ IDL }) => {
|
|
|
438
569
|
versionHistoryCount: IDL.Nat,
|
|
439
570
|
sessionFilesCount: IDL.Nat,
|
|
440
571
|
});
|
|
441
|
-
const
|
|
572
|
+
const Result_63 = IDL.Variant({ Ok: StorageReport, Err: Error });
|
|
573
|
+
const Ic402Maintenance = IDL.Record({
|
|
574
|
+
revokedGrantsRemoved: IDL.Nat,
|
|
575
|
+
dailySpendRemoved: IDL.Nat,
|
|
576
|
+
more: IDL.Bool,
|
|
577
|
+
runs: IDL.Nat,
|
|
578
|
+
rateLimitRemoved: IDL.Nat,
|
|
579
|
+
lastRunAtNs: IDL.Int,
|
|
580
|
+
});
|
|
442
581
|
const TimerHealth = IDL.Record({
|
|
443
|
-
|
|
444
|
-
jobExpiryArmed: IDL.Bool,
|
|
582
|
+
ic402Maintenance: IDL.Opt(Ic402Maintenance),
|
|
445
583
|
alertTimerArmed: IDL.Bool,
|
|
584
|
+
upkeepRejected: IDL.Opt(IDL.Nat),
|
|
446
585
|
sessionExpiryArmed: IDL.Bool,
|
|
586
|
+
ic402MaintenanceTimerArmed: IDL.Opt(IDL.Bool),
|
|
587
|
+
checkInsUnfinished: IDL.Opt(IDL.Nat),
|
|
447
588
|
});
|
|
448
589
|
const WalletBalances = IDL.Record({
|
|
449
590
|
icpE8s: IDL.Nat,
|
|
@@ -451,14 +592,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
451
592
|
ckusdtE6s: IDL.Nat,
|
|
452
593
|
cycles: IDL.Nat,
|
|
453
594
|
});
|
|
454
|
-
const
|
|
595
|
+
const Result_62 = IDL.Variant({ Ok: WalletBalances, Err: Error });
|
|
455
596
|
const WorldIdConfig = IDL.Record({
|
|
456
597
|
action: IDL.Text,
|
|
457
598
|
appId: IDL.Text,
|
|
458
599
|
rpId: IDL.Text,
|
|
459
600
|
configured: IDL.Bool,
|
|
460
601
|
});
|
|
461
|
-
const
|
|
602
|
+
const Result_61 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
|
|
462
603
|
const WorldIdRpContext = IDL.Record({
|
|
463
604
|
signature: IDL.Text,
|
|
464
605
|
expiresAt: IDL.Nat,
|
|
@@ -466,8 +607,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
466
607
|
rpId: IDL.Text,
|
|
467
608
|
nonce: IDL.Text,
|
|
468
609
|
});
|
|
469
|
-
const
|
|
470
|
-
const
|
|
610
|
+
const Result_60 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
|
|
611
|
+
const Result_59 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
|
|
471
612
|
const HttpRequest = IDL.Record({
|
|
472
613
|
url: IDL.Text,
|
|
473
614
|
method: IDL.Text,
|
|
@@ -480,25 +621,71 @@ export const idlFactory = ({ IDL }) => {
|
|
|
480
621
|
upgrade: IDL.Opt(IDL.Bool),
|
|
481
622
|
status_code: IDL.Nat16,
|
|
482
623
|
});
|
|
483
|
-
const Result_45 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
|
|
484
624
|
const ActivitySnapshot = IDL.Record({
|
|
485
625
|
atNs: IDL.Int,
|
|
486
626
|
memoryReads: IDL.Nat,
|
|
487
627
|
memoryWrites: IDL.Nat,
|
|
488
628
|
});
|
|
489
|
-
const
|
|
629
|
+
const Page_26 = IDL.Record({
|
|
490
630
|
total: IDL.Nat,
|
|
491
631
|
withheld: IDL.Nat,
|
|
492
632
|
items: IDL.Vec(ActivitySnapshot),
|
|
493
633
|
});
|
|
494
|
-
const
|
|
495
|
-
const
|
|
634
|
+
const Result_57 = IDL.Variant({ Ok: Page_26, Err: Error });
|
|
635
|
+
const BearerTokenStatus = IDL.Variant({
|
|
636
|
+
Active: IDL.Null,
|
|
637
|
+
Revoked: IDL.Null,
|
|
638
|
+
Expired: IDL.Null,
|
|
639
|
+
});
|
|
640
|
+
const BearerToken = IDL.Record({
|
|
641
|
+
expiresAtNs: IDL.Int,
|
|
642
|
+
status: BearerTokenStatus,
|
|
643
|
+
lastUsedNs: IDL.Int,
|
|
644
|
+
permissions: AgentPermissions,
|
|
645
|
+
tokenId: IDL.Text,
|
|
646
|
+
clientLabel: IDL.Text,
|
|
647
|
+
issuedAtNs: IDL.Int,
|
|
648
|
+
tokenHash: IDL.Text,
|
|
649
|
+
issuedBy: IDL.Principal,
|
|
650
|
+
});
|
|
651
|
+
const SignIn = IDL.Record({
|
|
652
|
+
token: BearerToken,
|
|
653
|
+
clientName: IDL.Opt(IDL.Text),
|
|
654
|
+
});
|
|
655
|
+
const Entry__1 = IDL.Record({
|
|
656
|
+
active: IDL.Bool,
|
|
657
|
+
inactiveReason: IDL.Opt(IDL.Text),
|
|
658
|
+
grant: IDL.Variant({ connected: SignIn, paired: AgentRecord }),
|
|
659
|
+
});
|
|
660
|
+
const Page_25 = IDL.Record({
|
|
661
|
+
total: IDL.Nat,
|
|
662
|
+
withheld: IDL.Nat,
|
|
663
|
+
items: IDL.Vec(Entry__1),
|
|
664
|
+
});
|
|
665
|
+
const Result_56 = IDL.Variant({ Ok: Page_25, Err: Error });
|
|
666
|
+
const AgentSpendRow = IDL.Record({
|
|
667
|
+
agent: IDL.Principal,
|
|
668
|
+
spentToday: IDL.Opt(IDL.Nat),
|
|
669
|
+
root: IDL.Principal,
|
|
670
|
+
maxPerDay: IDL.Opt(IDL.Nat),
|
|
671
|
+
});
|
|
672
|
+
const Page_24 = IDL.Record({
|
|
673
|
+
total: IDL.Nat,
|
|
674
|
+
withheld: IDL.Nat,
|
|
675
|
+
items: IDL.Vec(AgentSpendRow),
|
|
676
|
+
});
|
|
677
|
+
const AgentSpendToday = IDL.Record({
|
|
678
|
+
dayStartNs: IDL.Int,
|
|
679
|
+
agents: Page_24,
|
|
680
|
+
});
|
|
681
|
+
const Result_55 = IDL.Variant({ Ok: AgentSpendToday, Err: Error });
|
|
682
|
+
const Page_23 = IDL.Record({
|
|
496
683
|
total: IDL.Nat,
|
|
497
684
|
withheld: IDL.Nat,
|
|
498
685
|
items: IDL.Vec(AgentRecord),
|
|
499
686
|
});
|
|
500
|
-
const
|
|
501
|
-
const
|
|
687
|
+
const Result_54 = IDL.Variant({ Ok: Page_23, Err: Error });
|
|
688
|
+
const Page_22 = IDL.Record({
|
|
502
689
|
total: IDL.Nat,
|
|
503
690
|
withheld: IDL.Nat,
|
|
504
691
|
items: IDL.Vec(
|
|
@@ -509,7 +696,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
509
696
|
}),
|
|
510
697
|
),
|
|
511
698
|
});
|
|
512
|
-
const
|
|
699
|
+
const Result_53 = IDL.Variant({ Ok: Page_22, Err: Error });
|
|
513
700
|
const ApprovalStatus = IDL.Variant({
|
|
514
701
|
Used: IDL.Null,
|
|
515
702
|
Approved: IDL.Null,
|
|
@@ -533,46 +720,37 @@ export const idlFactory = ({ IDL }) => {
|
|
|
533
720
|
caller: IDL.Principal,
|
|
534
721
|
amount: IDL.Nat,
|
|
535
722
|
});
|
|
536
|
-
const
|
|
723
|
+
const Page_9 = IDL.Record({
|
|
537
724
|
total: IDL.Nat,
|
|
538
725
|
withheld: IDL.Nat,
|
|
539
726
|
items: IDL.Vec(ApprovalRequest),
|
|
540
727
|
});
|
|
541
|
-
const
|
|
542
|
-
const
|
|
728
|
+
const Result_39 = IDL.Variant({ Ok: Page_9, Err: Error });
|
|
729
|
+
const SealedEntry = IDL.Record({
|
|
730
|
+
id: IDL.Nat,
|
|
731
|
+
entryHash: IDL.Vec(IDL.Nat8),
|
|
732
|
+
digest: IDL.Vec(IDL.Nat8),
|
|
733
|
+
});
|
|
734
|
+
const RecordPage = IDL.Record({
|
|
735
|
+
ringFloor: IDL.Nat,
|
|
543
736
|
total: IDL.Nat,
|
|
544
|
-
|
|
737
|
+
sealed: IDL.Vec(SealedEntry),
|
|
545
738
|
items: IDL.Vec(AuditEntry),
|
|
739
|
+
hashFirstFrom: IDL.Nat,
|
|
546
740
|
});
|
|
547
|
-
const
|
|
548
|
-
const
|
|
741
|
+
const Result_52 = IDL.Variant({ Ok: RecordPage, Err: Error });
|
|
742
|
+
const Page_21 = IDL.Record({
|
|
549
743
|
total: IDL.Nat,
|
|
550
744
|
withheld: IDL.Nat,
|
|
551
745
|
items: IDL.Vec(BackupMetadata),
|
|
552
746
|
});
|
|
553
|
-
const
|
|
554
|
-
const
|
|
555
|
-
Active: IDL.Null,
|
|
556
|
-
Revoked: IDL.Null,
|
|
557
|
-
Expired: IDL.Null,
|
|
558
|
-
});
|
|
559
|
-
const BearerToken = IDL.Record({
|
|
560
|
-
expiresAtNs: IDL.Int,
|
|
561
|
-
status: BearerTokenStatus,
|
|
562
|
-
lastUsedNs: IDL.Int,
|
|
563
|
-
permissions: AgentPermissions,
|
|
564
|
-
tokenId: IDL.Text,
|
|
565
|
-
clientLabel: IDL.Text,
|
|
566
|
-
issuedAtNs: IDL.Int,
|
|
567
|
-
tokenHash: IDL.Text,
|
|
568
|
-
issuedBy: IDL.Principal,
|
|
569
|
-
});
|
|
570
|
-
const Page_16 = IDL.Record({
|
|
747
|
+
const Result_51 = IDL.Variant({ Ok: Page_21, Err: Error });
|
|
748
|
+
const Page_20 = IDL.Record({
|
|
571
749
|
total: IDL.Nat,
|
|
572
750
|
withheld: IDL.Nat,
|
|
573
751
|
items: IDL.Vec(BearerToken),
|
|
574
752
|
});
|
|
575
|
-
const
|
|
753
|
+
const Result_50 = IDL.Variant({ Ok: Page_20, Err: Error });
|
|
576
754
|
const CondenseCheckpointRow = IDL.Record({
|
|
577
755
|
by: IDL.Principal,
|
|
578
756
|
seq: IDL.Nat,
|
|
@@ -583,41 +761,51 @@ export const idlFactory = ({ IDL }) => {
|
|
|
583
761
|
headAtBoundary: IDL.Vec(IDL.Nat8),
|
|
584
762
|
opCount: IDL.Nat,
|
|
585
763
|
});
|
|
586
|
-
const
|
|
764
|
+
const Page_19 = IDL.Record({
|
|
587
765
|
total: IDL.Nat,
|
|
588
766
|
withheld: IDL.Nat,
|
|
589
767
|
items: IDL.Vec(CondenseCheckpointRow),
|
|
590
768
|
});
|
|
591
769
|
const CheckpointPage = IDL.Record({
|
|
592
770
|
firstAvailableSeq: IDL.Nat,
|
|
593
|
-
page:
|
|
771
|
+
page: Page_19,
|
|
594
772
|
scannedThroughSeq: IDL.Nat,
|
|
595
773
|
});
|
|
596
|
-
const
|
|
774
|
+
const Result_49 = IDL.Variant({ Ok: CheckpointPage, Err: Error });
|
|
597
775
|
const CycleSnapshot = IDL.Record({
|
|
598
776
|
seq: IDL.Nat,
|
|
599
777
|
source: IDL.Variant({ balance: IDL.Null, self: IDL.Null }),
|
|
600
778
|
atNs: IDL.Int,
|
|
601
779
|
cycles: IDL.Nat,
|
|
602
780
|
});
|
|
603
|
-
const
|
|
781
|
+
const Page_18 = IDL.Record({
|
|
604
782
|
total: IDL.Nat,
|
|
605
783
|
withheld: IDL.Nat,
|
|
606
784
|
items: IDL.Vec(CycleSnapshot),
|
|
607
785
|
});
|
|
608
|
-
const
|
|
609
|
-
const
|
|
786
|
+
const Result_48 = IDL.Variant({ Ok: Page_18, Err: Error });
|
|
787
|
+
const Page_17 = IDL.Record({
|
|
610
788
|
total: IDL.Nat,
|
|
611
789
|
withheld: IDL.Nat,
|
|
612
790
|
items: IDL.Vec(IDL.Text),
|
|
613
791
|
});
|
|
614
|
-
const
|
|
792
|
+
const Result_47 = IDL.Variant({ Ok: Page_17, Err: Error });
|
|
793
|
+
const Eip712Destination = IDL.Record({
|
|
794
|
+
activeFromNs: IDL.Int,
|
|
795
|
+
value: IDL.Text,
|
|
796
|
+
});
|
|
797
|
+
const Page_16 = IDL.Record({
|
|
798
|
+
total: IDL.Nat,
|
|
799
|
+
withheld: IDL.Nat,
|
|
800
|
+
items: IDL.Vec(Eip712Destination),
|
|
801
|
+
});
|
|
802
|
+
const Result_46 = IDL.Variant({ Ok: Page_16, Err: Error });
|
|
615
803
|
const AuthorityClass = IDL.Variant({
|
|
616
804
|
standingAuthority: IDL.Null,
|
|
617
805
|
valueBearing: IDL.Null,
|
|
618
806
|
standard: IDL.Null,
|
|
619
807
|
});
|
|
620
|
-
const
|
|
808
|
+
const Eip712TypeView = IDL.Record({
|
|
621
809
|
primaryType: IDL.Text,
|
|
622
810
|
encodeTypeString: IDL.Text,
|
|
623
811
|
cooloffEndsAtNs: IDL.Int,
|
|
@@ -631,28 +819,38 @@ export const idlFactory = ({ IDL }) => {
|
|
|
631
819
|
authorityClass: AuthorityClass,
|
|
632
820
|
typeHash: IDL.Vec(IDL.Nat8),
|
|
633
821
|
registeredAtNs: IDL.Int,
|
|
822
|
+
fieldRules: IDL.Vec(IDL.Tuple(IDL.Text, Eip712FieldRule)),
|
|
634
823
|
chainId: IDL.Nat,
|
|
635
824
|
domainVersion: IDL.Text,
|
|
636
825
|
ackIrrevocable: IDL.Bool,
|
|
637
826
|
});
|
|
638
|
-
const
|
|
827
|
+
const Page_15 = IDL.Record({
|
|
639
828
|
total: IDL.Nat,
|
|
640
829
|
withheld: IDL.Nat,
|
|
641
|
-
items: IDL.Vec(
|
|
830
|
+
items: IDL.Vec(Eip712TypeView),
|
|
642
831
|
});
|
|
643
|
-
const
|
|
644
|
-
const
|
|
832
|
+
const Result_45 = IDL.Variant({ Ok: Page_15, Err: Error });
|
|
833
|
+
const GuardianDispute = IDL.Record({
|
|
834
|
+
about: IDL.Nat,
|
|
835
|
+
atNs: IDL.Int,
|
|
836
|
+
path: IDL.Opt(IDL.Text),
|
|
837
|
+
auditId: IDL.Nat,
|
|
838
|
+
version: IDL.Opt(IDL.Nat),
|
|
839
|
+
guardian: IDL.Principal,
|
|
840
|
+
reason: IDL.Text,
|
|
841
|
+
});
|
|
842
|
+
const Page_14 = IDL.Record({
|
|
645
843
|
total: IDL.Nat,
|
|
646
844
|
withheld: IDL.Nat,
|
|
647
|
-
items: IDL.Vec(
|
|
845
|
+
items: IDL.Vec(GuardianDispute),
|
|
648
846
|
});
|
|
649
|
-
const
|
|
650
|
-
const
|
|
847
|
+
const Result_44 = IDL.Variant({ Ok: Page_14, Err: Error });
|
|
848
|
+
const Page_13 = IDL.Record({
|
|
651
849
|
total: IDL.Nat,
|
|
652
850
|
withheld: IDL.Nat,
|
|
653
851
|
items: IDL.Vec(GuardianRecord),
|
|
654
852
|
});
|
|
655
|
-
const
|
|
853
|
+
const Result_43 = IDL.Variant({ Ok: Page_13, Err: Error });
|
|
656
854
|
const ExportReceiptRow = IDL.Record({
|
|
657
855
|
by: IDL.Principal,
|
|
658
856
|
seq: IDL.Nat,
|
|
@@ -662,29 +860,29 @@ export const idlFactory = ({ IDL }) => {
|
|
|
662
860
|
fromSeq: IDL.Nat,
|
|
663
861
|
authorFilter: IDL.Opt(IDL.Principal),
|
|
664
862
|
});
|
|
665
|
-
const
|
|
863
|
+
const Page_12 = IDL.Record({
|
|
666
864
|
total: IDL.Nat,
|
|
667
865
|
withheld: IDL.Nat,
|
|
668
866
|
items: IDL.Vec(ExportReceiptRow),
|
|
669
867
|
});
|
|
670
868
|
const ReceiptPage = IDL.Record({
|
|
671
869
|
firstAvailableSeq: IDL.Nat,
|
|
672
|
-
page:
|
|
870
|
+
page: Page_12,
|
|
673
871
|
scannedThroughSeq: IDL.Nat,
|
|
674
872
|
});
|
|
675
|
-
const
|
|
676
|
-
const
|
|
873
|
+
const Result_42 = IDL.Variant({ Ok: ReceiptPage, Err: Error });
|
|
874
|
+
const MemoryFileRow = IDL.Record({
|
|
875
|
+
path: IDL.Text,
|
|
876
|
+
version: IDL.Nat,
|
|
877
|
+
lastModifiedBy: IDL.Opt(IDL.Principal),
|
|
878
|
+
lastModifiedAtNs: IDL.Int,
|
|
879
|
+
});
|
|
880
|
+
const Page_11 = IDL.Record({
|
|
677
881
|
total: IDL.Nat,
|
|
678
882
|
withheld: IDL.Nat,
|
|
679
|
-
items: IDL.Vec(
|
|
680
|
-
IDL.Record({
|
|
681
|
-
path: IDL.Text,
|
|
682
|
-
version: IDL.Nat,
|
|
683
|
-
lastModifiedAtNs: IDL.Int,
|
|
684
|
-
}),
|
|
685
|
-
),
|
|
883
|
+
items: IDL.Vec(MemoryFileRow),
|
|
686
884
|
});
|
|
687
|
-
const
|
|
885
|
+
const Result_41 = IDL.Variant({ Ok: Page_11, Err: Error });
|
|
688
886
|
const MemoryLogChunkRef = IDL.Record({
|
|
689
887
|
hash: IDL.Vec(IDL.Nat8),
|
|
690
888
|
size: IDL.Nat,
|
|
@@ -753,7 +951,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
753
951
|
size: IDL.Nat,
|
|
754
952
|
version: IDL.Nat,
|
|
755
953
|
});
|
|
756
|
-
const
|
|
954
|
+
const Page_10 = IDL.Record({
|
|
757
955
|
total: IDL.Nat,
|
|
758
956
|
withheld: IDL.Nat,
|
|
759
957
|
items: IDL.Vec(MemoryLogEvent),
|
|
@@ -761,9 +959,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
761
959
|
const LogPage = IDL.Record({
|
|
762
960
|
firstAvailableSeq: IDL.Nat,
|
|
763
961
|
head: IDL.Vec(IDL.Nat8),
|
|
764
|
-
page:
|
|
962
|
+
page: Page_10,
|
|
765
963
|
});
|
|
766
|
-
const
|
|
964
|
+
const Result_40 = IDL.Variant({ Ok: LogPage, Err: Error });
|
|
767
965
|
const EngramSessionStatus = IDL.Variant({
|
|
768
966
|
closed: IDL.Null,
|
|
769
967
|
expired: IDL.Null,
|
|
@@ -782,24 +980,24 @@ export const idlFactory = ({ IDL }) => {
|
|
|
782
980
|
remaining: IDL.Nat,
|
|
783
981
|
payer: IDL.Principal,
|
|
784
982
|
});
|
|
785
|
-
const
|
|
983
|
+
const Page_8 = IDL.Record({
|
|
786
984
|
total: IDL.Nat,
|
|
787
985
|
withheld: IDL.Nat,
|
|
788
986
|
items: IDL.Vec(EngramSessionState),
|
|
789
987
|
});
|
|
790
|
-
const
|
|
988
|
+
const Result_38 = IDL.Variant({ Ok: Page_8, Err: Error });
|
|
791
989
|
const OwnershipTransfer = IDL.Record({
|
|
792
990
|
to: IDL.Principal,
|
|
793
991
|
atNs: IDL.Int,
|
|
794
992
|
from: IDL.Opt(IDL.Principal),
|
|
795
993
|
authorizedBy: IDL.Principal,
|
|
796
994
|
});
|
|
797
|
-
const
|
|
995
|
+
const Page_7 = IDL.Record({
|
|
798
996
|
total: IDL.Nat,
|
|
799
997
|
withheld: IDL.Nat,
|
|
800
998
|
items: IDL.Vec(OwnershipTransfer),
|
|
801
999
|
});
|
|
802
|
-
const
|
|
1000
|
+
const Result_37 = IDL.Variant({ Ok: Page_7, Err: Error });
|
|
803
1001
|
const MarketplacePaymentSignatures = IDL.Record({
|
|
804
1002
|
marketplace: IDL.Principal,
|
|
805
1003
|
sharedSignedToday: IDL.Nat,
|
|
@@ -810,7 +1008,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
810
1008
|
signedToday: IDL.Nat,
|
|
811
1009
|
root: IDL.Principal,
|
|
812
1010
|
});
|
|
813
|
-
const
|
|
1011
|
+
const Page_6 = IDL.Record({
|
|
814
1012
|
total: IDL.Nat,
|
|
815
1013
|
withheld: IDL.Nat,
|
|
816
1014
|
items: IDL.Vec(AgentPaymentSignatures),
|
|
@@ -818,10 +1016,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
818
1016
|
const PaymentSignatureCounts = IDL.Record({
|
|
819
1017
|
day: IDL.Int,
|
|
820
1018
|
marketplace: IDL.Opt(MarketplacePaymentSignatures),
|
|
821
|
-
agents:
|
|
1019
|
+
agents: Page_6,
|
|
822
1020
|
limit: IDL.Nat,
|
|
823
1021
|
});
|
|
824
|
-
const
|
|
1022
|
+
const Result_36 = IDL.Variant({
|
|
825
1023
|
Ok: PaymentSignatureCounts,
|
|
826
1024
|
Err: Error,
|
|
827
1025
|
});
|
|
@@ -835,12 +1033,30 @@ export const idlFactory = ({ IDL }) => {
|
|
|
835
1033
|
invite: IDL.Text,
|
|
836
1034
|
purgedAtNs: IDL.Int,
|
|
837
1035
|
});
|
|
838
|
-
const
|
|
1036
|
+
const Page_5 = IDL.Record({
|
|
839
1037
|
total: IDL.Nat,
|
|
840
1038
|
withheld: IDL.Nat,
|
|
841
1039
|
items: IDL.Vec(PurgedAgent),
|
|
842
1040
|
});
|
|
843
|
-
const
|
|
1041
|
+
const Result_35 = IDL.Variant({ Ok: Page_5, Err: Error });
|
|
1042
|
+
const Page_4 = IDL.Record({
|
|
1043
|
+
total: IDL.Nat,
|
|
1044
|
+
withheld: IDL.Nat,
|
|
1045
|
+
items: IDL.Vec(AuditEntry),
|
|
1046
|
+
});
|
|
1047
|
+
const Result_34 = IDL.Variant({ Ok: Page_4, Err: Error });
|
|
1048
|
+
const RecordNote = IDL.Record({
|
|
1049
|
+
about: IDL.Nat,
|
|
1050
|
+
atNs: IDL.Int,
|
|
1051
|
+
note: IDL.Text,
|
|
1052
|
+
auditId: IDL.Nat,
|
|
1053
|
+
});
|
|
1054
|
+
const Page_3 = IDL.Record({
|
|
1055
|
+
total: IDL.Nat,
|
|
1056
|
+
withheld: IDL.Nat,
|
|
1057
|
+
items: IDL.Vec(RecordNote),
|
|
1058
|
+
});
|
|
1059
|
+
const Result_33 = IDL.Variant({ Ok: Page_3, Err: Error });
|
|
844
1060
|
const Repudiation = IDL.Record({
|
|
845
1061
|
atNs: IDL.Int,
|
|
846
1062
|
path: IDL.Text,
|
|
@@ -848,13 +1064,65 @@ export const idlFactory = ({ IDL }) => {
|
|
|
848
1064
|
version: IDL.Nat,
|
|
849
1065
|
reason: IDL.Text,
|
|
850
1066
|
});
|
|
851
|
-
const
|
|
1067
|
+
const Page_2 = IDL.Record({
|
|
852
1068
|
total: IDL.Nat,
|
|
853
1069
|
withheld: IDL.Nat,
|
|
854
1070
|
items: IDL.Vec(Repudiation),
|
|
855
1071
|
});
|
|
856
|
-
const
|
|
857
|
-
const
|
|
1072
|
+
const Result_32 = IDL.Variant({ Ok: Page_2, Err: Error });
|
|
1073
|
+
const SellerView = IDL.Record({
|
|
1074
|
+
spentTodayE6: IDL.Nat,
|
|
1075
|
+
isPayout: IDL.Bool,
|
|
1076
|
+
perDayCapE6: IDL.Nat,
|
|
1077
|
+
addedBy: IDL.Principal,
|
|
1078
|
+
activatesAtNs: IDL.Int,
|
|
1079
|
+
addedAtNs: IDL.Int,
|
|
1080
|
+
liveNow: IDL.Bool,
|
|
1081
|
+
payTo: IDL.Text,
|
|
1082
|
+
pendingActivatesAtNs: IDL.Opt(IDL.Int),
|
|
1083
|
+
pendingCapE6: IDL.Opt(IDL.Nat),
|
|
1084
|
+
});
|
|
1085
|
+
const Page_1 = IDL.Record({
|
|
1086
|
+
total: IDL.Nat,
|
|
1087
|
+
withheld: IDL.Nat,
|
|
1088
|
+
items: IDL.Vec(SellerView),
|
|
1089
|
+
});
|
|
1090
|
+
const Result_31 = IDL.Variant({ Ok: Page_1, Err: Error });
|
|
1091
|
+
const Page = IDL.Record({
|
|
1092
|
+
total: IDL.Nat,
|
|
1093
|
+
withheld: IDL.Nat,
|
|
1094
|
+
items: IDL.Vec(SignIn),
|
|
1095
|
+
});
|
|
1096
|
+
const Result_30 = IDL.Variant({ Ok: Page, Err: Error });
|
|
1097
|
+
const PaymentsStop = IDL.Variant({
|
|
1098
|
+
paymentsBrake: IDL.Null,
|
|
1099
|
+
dailySignatureLimit: IDL.Null,
|
|
1100
|
+
signingFloor: IDL.Null,
|
|
1101
|
+
});
|
|
1102
|
+
const PaymentsNow = IDL.Record({
|
|
1103
|
+
leftToday: IDL.Opt(IDL.Nat),
|
|
1104
|
+
largestPayment: IDL.Opt(IDL.Nat),
|
|
1105
|
+
});
|
|
1106
|
+
const PaymentLimits = IDL.Record({
|
|
1107
|
+
maxSessionDeposit: IDL.Opt(IDL.Nat),
|
|
1108
|
+
maxPerDay: IDL.Opt(IDL.Nat),
|
|
1109
|
+
maxSessionDuration: IDL.Opt(IDL.Int),
|
|
1110
|
+
sessionIdleTimeout: IDL.Opt(IDL.Int),
|
|
1111
|
+
rateLimitPerMinute: IDL.Opt(IDL.Nat),
|
|
1112
|
+
maxPerTransaction: IDL.Opt(IDL.Nat),
|
|
1113
|
+
maxConcurrentSessions: IDL.Opt(IDL.Nat),
|
|
1114
|
+
});
|
|
1115
|
+
const AgentGrant = IDL.Record({
|
|
1116
|
+
key: IDL.Principal,
|
|
1117
|
+
permissions: AgentPermissions,
|
|
1118
|
+
name: IDL.Text,
|
|
1119
|
+
paymentsStoppedBy: IDL.Opt(PaymentsStop),
|
|
1120
|
+
paymentsFrozen: IDL.Opt(IDL.Bool),
|
|
1121
|
+
paymentsNow: IDL.Opt(PaymentsNow),
|
|
1122
|
+
paymentLimits: PaymentLimits,
|
|
1123
|
+
});
|
|
1124
|
+
const Result_29 = IDL.Variant({ Ok: AgentGrant, Err: Error });
|
|
1125
|
+
const Result_28 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
|
|
858
1126
|
const SessionConfig = IDL.Record({
|
|
859
1127
|
autoClose: IDL.Bool,
|
|
860
1128
|
idleTimeout: IDL.Opt(IDL.Int),
|
|
@@ -881,7 +1149,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
881
1149
|
nonce: IDL.Vec(IDL.Nat8),
|
|
882
1150
|
authorization: IDL.Opt(Eip3009Authorization),
|
|
883
1151
|
});
|
|
884
|
-
const
|
|
1152
|
+
const Result_27 = IDL.Variant({ Ok: EngramSessionState, Err: Error });
|
|
885
1153
|
const TokenAmount = IDL.Variant({
|
|
886
1154
|
Icp: IDL.Nat,
|
|
887
1155
|
Ckusdc: IDL.Nat,
|
|
@@ -906,7 +1174,29 @@ export const idlFactory = ({ IDL }) => {
|
|
|
906
1174
|
agent: AgentRecord,
|
|
907
1175
|
trackRecord: TrackRecordNotice,
|
|
908
1176
|
});
|
|
909
|
-
const
|
|
1177
|
+
const Result_26 = IDL.Variant({ Ok: Pairing, Err: Error });
|
|
1178
|
+
const End = IDL.Variant({ at: IDL.Int, all: IDL.Null });
|
|
1179
|
+
const Request = IDL.Variant({
|
|
1180
|
+
metadata: IDL.Opt(IDL.Text),
|
|
1181
|
+
read: IDL.Record({
|
|
1182
|
+
end: End,
|
|
1183
|
+
excludePlatform: IDL.Opt(IDL.Text),
|
|
1184
|
+
platform: IDL.Opt(IDL.Text),
|
|
1185
|
+
}),
|
|
1186
|
+
});
|
|
1187
|
+
const Entry = IDL.Record({
|
|
1188
|
+
date: IDL.Text,
|
|
1189
|
+
path: IDL.Text,
|
|
1190
|
+
platform: IDL.Text,
|
|
1191
|
+
lastModifiedAtNs: IDL.Int,
|
|
1192
|
+
});
|
|
1193
|
+
const CanonicalRead = IDL.Record({ entry: Entry, readPath: IDL.Text });
|
|
1194
|
+
const Plan = IDL.Variant({
|
|
1195
|
+
metadata: IDL.Vec(Entry),
|
|
1196
|
+
individualCanonical: IDL.Vec(CanonicalRead),
|
|
1197
|
+
batchOriginal: IDL.Vec(Entry),
|
|
1198
|
+
});
|
|
1199
|
+
const Result_25 = IDL.Variant({ Ok: Plan, Err: Error });
|
|
910
1200
|
const CondensePreview = IDL.Record({
|
|
911
1201
|
scannedFromSeq: IDL.Nat,
|
|
912
1202
|
scanTruncated: IDL.Bool,
|
|
@@ -920,7 +1210,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
920
1210
|
coveringReceipt: IDL.Opt(IDL.Record({ seq: IDL.Nat, toSeq: IDL.Nat, fromSeq: IDL.Nat })),
|
|
921
1211
|
proposedToSeq: IDL.Nat,
|
|
922
1212
|
});
|
|
923
|
-
const
|
|
1213
|
+
const Result_24 = IDL.Variant({ Ok: CondensePreview, Err: Error });
|
|
924
1214
|
const SessionIntent = IDL.Record({
|
|
925
1215
|
token: IDL.Text,
|
|
926
1216
|
costPerCall: IDL.Opt(IDL.Nat),
|
|
@@ -931,19 +1221,28 @@ export const idlFactory = ({ IDL }) => {
|
|
|
931
1221
|
expiryNs: IDL.Int,
|
|
932
1222
|
suggestedDeposit: IDL.Nat,
|
|
933
1223
|
});
|
|
934
|
-
const
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
});
|
|
941
|
-
const
|
|
1224
|
+
const RetentionPreviewRule = IDL.Record({
|
|
1225
|
+
files: IDL.Nat,
|
|
1226
|
+
notBeforeNs: IDL.Opt(IDL.Int),
|
|
1227
|
+
prefix: IDL.Text,
|
|
1228
|
+
bytes: IDL.Nat,
|
|
1229
|
+
copies: IDL.Nat,
|
|
1230
|
+
});
|
|
1231
|
+
const RetentionPreview = IDL.Record({
|
|
1232
|
+
files: IDL.Nat,
|
|
1233
|
+
complete: IDL.Bool,
|
|
1234
|
+
planned: IDL.Nat,
|
|
1235
|
+
bytes: IDL.Nat,
|
|
1236
|
+
copies: IDL.Nat,
|
|
1237
|
+
storedFiles: IDL.Nat,
|
|
1238
|
+
rules: IDL.Vec(RetentionPreviewRule),
|
|
1239
|
+
});
|
|
1240
|
+
const Result_23 = IDL.Variant({ Ok: RetentionPreview, Err: Error });
|
|
942
1241
|
const BatchReadItem = IDL.Record({
|
|
943
1242
|
result: IDL.Variant({ Ok: MemoryFile, Err: Error }),
|
|
944
1243
|
path: IDL.Text,
|
|
945
1244
|
});
|
|
946
|
-
const
|
|
1245
|
+
const Result_22 = IDL.Variant({
|
|
947
1246
|
Ok: IDL.Vec(BatchReadItem),
|
|
948
1247
|
Err: Error,
|
|
949
1248
|
});
|
|
@@ -952,19 +1251,19 @@ export const idlFactory = ({ IDL }) => {
|
|
|
952
1251
|
fileSize: IDL.Nat,
|
|
953
1252
|
bytes: IDL.Vec(IDL.Nat8),
|
|
954
1253
|
});
|
|
955
|
-
const
|
|
1254
|
+
const Result_21 = IDL.Variant({ Ok: MemoryByteChunk, Err: Error });
|
|
956
1255
|
const EngramEscrowRecovery = IDL.Record({
|
|
957
1256
|
amountE6: IDL.Nat,
|
|
958
1257
|
blockIndex: IDL.Nat,
|
|
959
1258
|
});
|
|
960
|
-
const
|
|
1259
|
+
const Result_20 = IDL.Variant({ Ok: EngramEscrowRecovery, Err: Error });
|
|
961
1260
|
const ResetReport = IDL.Record({
|
|
962
1261
|
agentsRemoved: IDL.Nat,
|
|
963
1262
|
agentsPurged: IDL.Nat,
|
|
964
1263
|
guardiansRemoved: IDL.Nat,
|
|
965
1264
|
filesCleared: IDL.Nat,
|
|
966
1265
|
});
|
|
967
|
-
const
|
|
1266
|
+
const Result_18 = IDL.Variant({ Ok: ResetReport, Err: Error });
|
|
968
1267
|
const UnrecordableEngagement = IDL.Record({
|
|
969
1268
|
principal: IDL.Principal,
|
|
970
1269
|
root: IDL.Principal,
|
|
@@ -984,7 +1283,20 @@ export const idlFactory = ({ IDL }) => {
|
|
|
984
1283
|
}),
|
|
985
1284
|
),
|
|
986
1285
|
});
|
|
987
|
-
const
|
|
1286
|
+
const Result_17 = IDL.Variant({ Ok: ResyncReport, Err: Error });
|
|
1287
|
+
const MemoryEntry = IDL.Variant({
|
|
1288
|
+
decision: IDL.Record({ decision: IDL.Text, rationale: IDL.Text }),
|
|
1289
|
+
preference: IDL.Text,
|
|
1290
|
+
insight: IDL.Record({
|
|
1291
|
+
topic: IDL.Opt(IDL.Text),
|
|
1292
|
+
content: IDL.Text,
|
|
1293
|
+
}),
|
|
1294
|
+
sessionSummary: IDL.Record({
|
|
1295
|
+
date: IDL.Opt(IDL.Text),
|
|
1296
|
+
platform: IDL.Text,
|
|
1297
|
+
summary: IDL.Text,
|
|
1298
|
+
}),
|
|
1299
|
+
});
|
|
988
1300
|
const Voucher = IDL.Record({
|
|
989
1301
|
signature: IDL.Vec(IDL.Nat8),
|
|
990
1302
|
sessionId: IDL.Text,
|
|
@@ -998,13 +1310,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
998
1310
|
includedFiles: IDL.Nat,
|
|
999
1311
|
totalBytes: IDL.Nat,
|
|
1000
1312
|
});
|
|
1001
|
-
const
|
|
1313
|
+
const Result_14 = IDL.Variant({ Ok: SessionContext, Err: Error });
|
|
1002
1314
|
const BackupRetentionReport = IDL.Record({
|
|
1003
1315
|
maxBackups: IDL.Nat,
|
|
1004
1316
|
dbType: IDL.Text,
|
|
1005
1317
|
prunedBackups: IDL.Nat,
|
|
1006
1318
|
});
|
|
1007
|
-
const
|
|
1319
|
+
const Result_12 = IDL.Variant({
|
|
1008
1320
|
Ok: BackupRetentionReport,
|
|
1009
1321
|
Err: Error,
|
|
1010
1322
|
});
|
|
@@ -1023,12 +1335,22 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1023
1335
|
rendered: IDL.Text,
|
|
1024
1336
|
digest: IDL.Vec(IDL.Nat8),
|
|
1025
1337
|
});
|
|
1026
|
-
const
|
|
1338
|
+
const Result_5 = IDL.Variant({ Ok: Eip712SignatureOut, Err: Error });
|
|
1027
1339
|
const SignedTransaction = IDL.Record({
|
|
1028
1340
|
txHash: IDL.Text,
|
|
1029
1341
|
rawTx: IDL.Text,
|
|
1030
1342
|
});
|
|
1031
|
-
const
|
|
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
|
+
});
|
|
1032
1354
|
const SignedAuthorization = IDL.Record({
|
|
1033
1355
|
paidAmount: IDL.Nat,
|
|
1034
1356
|
authorization: IDL.Record({
|
|
@@ -1046,7 +1368,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1046
1368
|
ApprovalPending: ApprovalRequest,
|
|
1047
1369
|
Signed: SignedAuthorization,
|
|
1048
1370
|
});
|
|
1049
|
-
const
|
|
1371
|
+
const Result_4 = IDL.Variant({ Ok: X402SignOutcome, Err: Error });
|
|
1050
1372
|
const Seat = IDL.Record({
|
|
1051
1373
|
pairedDay: IDL.Nat,
|
|
1052
1374
|
lastPaymentDay: IDL.Opt(IDL.Nat),
|
|
@@ -1054,7 +1376,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1054
1376
|
produced: IDL.Nat,
|
|
1055
1377
|
firstPaymentDay: IDL.Opt(IDL.Nat),
|
|
1056
1378
|
});
|
|
1057
|
-
const
|
|
1379
|
+
const Result_9 = IDL.Variant({ Ok: IDL.Vec(Seat), Err: Error });
|
|
1058
1380
|
const RailHealth = IDL.Record({
|
|
1059
1381
|
sessionsExpired: IDL.Nat,
|
|
1060
1382
|
sessionsClosed: IDL.Nat,
|
|
@@ -1069,7 +1391,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1069
1391
|
freezeReservation: IDL.Nat,
|
|
1070
1392
|
unknownSessionRefusals: IDL.Nat,
|
|
1071
1393
|
});
|
|
1072
|
-
const
|
|
1394
|
+
const Result_8 = IDL.Variant({ Ok: RailHealth, Err: Error });
|
|
1073
1395
|
const CallerSignatureCount = IDL.Record({
|
|
1074
1396
|
count: IDL.Nat,
|
|
1075
1397
|
role: Role,
|
|
@@ -1080,16 +1402,37 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1080
1402
|
total: IDL.Nat,
|
|
1081
1403
|
byCaller: IDL.Vec(CallerSignatureCount),
|
|
1082
1404
|
});
|
|
1083
|
-
const
|
|
1084
|
-
const
|
|
1405
|
+
const Result_7 = IDL.Variant({ Ok: SignatureCounts, Err: Error });
|
|
1406
|
+
const SaleNotice = IDL.Record({
|
|
1407
|
+
token: IDL.Text,
|
|
1408
|
+
txRef: IDL.Opt(IDL.Text),
|
|
1409
|
+
listingId: IDL.Text,
|
|
1410
|
+
kind: IDL.Variant({ service: IDL.Null, content: IDL.Null }),
|
|
1411
|
+
jobId: IDL.Opt(IDL.Text),
|
|
1412
|
+
network: IDL.Text,
|
|
1413
|
+
amountE6: IDL.Nat,
|
|
1414
|
+
receiptId: IDL.Text,
|
|
1415
|
+
buyer: IDL.Text,
|
|
1416
|
+
settledAtNs: IDL.Int,
|
|
1417
|
+
});
|
|
1418
|
+
const Result_6 = IDL.Variant({
|
|
1419
|
+
Ok: IDL.Record({ returned: IDL.Nat }),
|
|
1420
|
+
Err: Error,
|
|
1421
|
+
});
|
|
1422
|
+
const Outcome = IDL.Variant({
|
|
1085
1423
|
MovedByRegistry: IDL.Null,
|
|
1424
|
+
Offered: Offer,
|
|
1086
1425
|
NotHeldHere: IDL.Null,
|
|
1087
1426
|
MovedByEngram: IDL.Null,
|
|
1088
1427
|
});
|
|
1089
|
-
const
|
|
1428
|
+
const Result_3 = IDL.Variant({ Ok: Outcome, Err: Error });
|
|
1429
|
+
const TimersWake = IDL.Record({ gap: IDL.Int, needed: IDL.Nat });
|
|
1430
|
+
const Result_1 = IDL.Variant({ Ok: TimersWake, Err: Error });
|
|
1090
1431
|
const Engram = IDL.Service({
|
|
1091
1432
|
about: IDL.Func([], [About], ['query']),
|
|
1092
|
-
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [
|
|
1433
|
+
acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_95], []),
|
|
1434
|
+
acceptOwnership: IDL.Func([], [Result_94], []),
|
|
1435
|
+
acceptSignIn: IDL.Func([], [Result_2], []),
|
|
1093
1436
|
actionAlertTransform: IDL.Func(
|
|
1094
1437
|
[
|
|
1095
1438
|
IDL.Record({
|
|
@@ -1100,6 +1443,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1100
1443
|
[HttpRequestResult],
|
|
1101
1444
|
['query'],
|
|
1102
1445
|
),
|
|
1446
|
+
addEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_11], []),
|
|
1103
1447
|
addEip712Type: IDL.Func(
|
|
1104
1448
|
[
|
|
1105
1449
|
IDL.Record({
|
|
@@ -1115,91 +1459,111 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1115
1459
|
valueBearing: IDL.Null,
|
|
1116
1460
|
standard: IDL.Null,
|
|
1117
1461
|
}),
|
|
1462
|
+
fieldRules: IDL.Vec(IDL.Tuple(IDL.Text, Eip712FieldRule)),
|
|
1118
1463
|
chainId: IDL.Nat,
|
|
1119
1464
|
domainVersion: IDL.Text,
|
|
1120
1465
|
ackIrrevocable: IDL.Bool,
|
|
1121
1466
|
}),
|
|
1122
1467
|
],
|
|
1123
|
-
[
|
|
1468
|
+
[Result_92],
|
|
1124
1469
|
[],
|
|
1125
1470
|
),
|
|
1126
|
-
|
|
1127
|
-
|
|
1471
|
+
addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_2], []),
|
|
1472
|
+
addRecordNote: IDL.Func([IDL.Nat, IDL.Text], [Result_15], []),
|
|
1473
|
+
addSeller: IDL.Func([IDL.Text, IDL.Nat, IDL.Bool], [Result_11], []),
|
|
1474
|
+
agentConvertBalance: IDL.Func([IDL.Text, IDL.Opt(IDL.Nat)], [Result_90], []),
|
|
1128
1475
|
appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1476
|
+
appendMemoryText: IDL.Func([IDL.Text, IDL.Text, IDL.Opt(MemorySource)], [Result_16], []),
|
|
1477
|
+
applyCondense: IDL.Func([IDL.Nat], [Result_89], []),
|
|
1478
|
+
approveGuardian: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1479
|
+
approveRequest: IDL.Func([IDL.Text], [Result_2], []),
|
|
1480
|
+
askSignInAgain: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
1481
|
+
backupAbort: IDL.Func([IDL.Text], [Result_2], []),
|
|
1482
|
+
backupFinalize: IDL.Func([IDL.Text], [Result_2], []),
|
|
1134
1483
|
backupInit: IDL.Func(
|
|
1135
1484
|
[IDL.Text, BackupType, IDL.Opt(IDL.Text), IDL.Text, IDL.Opt(IDL.Text)],
|
|
1136
|
-
[
|
|
1485
|
+
[Result_58],
|
|
1137
1486
|
[],
|
|
1138
1487
|
),
|
|
1139
|
-
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1140
|
-
backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [
|
|
1141
|
-
cancelAgentKeyNomination: IDL.Func([IDL.Principal], [
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1488
|
+
backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_76], ['query']),
|
|
1489
|
+
backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
1490
|
+
cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1491
|
+
cancelOwnershipOffer: IDL.Func([], [Result_2], []),
|
|
1492
|
+
closeSession: IDL.Func([IDL.Text], [Result_2], []),
|
|
1493
|
+
convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_15], []),
|
|
1494
|
+
createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_58], []),
|
|
1495
|
+
createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_58], []),
|
|
1496
|
+
declineSignIn: IDL.Func([], [Result_2], []),
|
|
1497
|
+
deleteBackup: IDL.Func([IDL.Text], [Result_2], []),
|
|
1147
1498
|
deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
|
|
1148
|
-
denyRequest: IDL.Func([IDL.Text, IDL.Text], [
|
|
1149
|
-
|
|
1150
|
-
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [
|
|
1151
|
-
freezePayments: IDL.Func([], [
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1499
|
+
denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
|
|
1500
|
+
disputeAgentWrite: IDL.Func([IDL.Nat, IDL.Text], [Result_15], []),
|
|
1501
|
+
exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_88], []),
|
|
1502
|
+
freezePayments: IDL.Func([], [Result_2], []),
|
|
1503
|
+
freezePaymentsWithReason: IDL.Func([IDL.Text], [Result_2], []),
|
|
1504
|
+
getActionAlertStatus: IDL.Func([], [Result_77], ['query']),
|
|
1505
|
+
getAgentConvertRule: IDL.Func([], [AgentConvertRule], ['query']),
|
|
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']),
|
|
1156
1509
|
getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
|
|
1157
1510
|
getAuditHead: IDL.Func([], [AuditHead], ['query']),
|
|
1158
|
-
getBackupMetadata: IDL.Func([IDL.Text], [
|
|
1511
|
+
getBackupMetadata: IDL.Func([IDL.Text], [Result_84], ['query']),
|
|
1512
|
+
getBackupRetention: IDL.Func([IDL.Text], [Result_83], ['query']),
|
|
1159
1513
|
getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1514
|
+
getBirthChain: IDL.Func([], [Result_82], ['query']),
|
|
1515
|
+
getBrakes: IDL.Func([], [Result_81], ['query']),
|
|
1160
1516
|
getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
|
|
1161
|
-
getChildAllowance: IDL.Func([IDL.Principal], [
|
|
1162
|
-
getChildOpening: IDL.Func([], [
|
|
1163
|
-
|
|
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], []),
|
|
1164
1521
|
getEngramCard: IDL.Func([], [AgentCard], ['query']),
|
|
1165
|
-
|
|
1166
|
-
getEvmAddress: IDL.Func([], [Result_59], []),
|
|
1522
|
+
getEvmAddress: IDL.Func([], [Result_78], []),
|
|
1167
1523
|
getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
|
|
1168
|
-
getEvmSignerAddress: IDL.Func([], [
|
|
1524
|
+
getEvmSignerAddress: IDL.Func([], [Result_58], []),
|
|
1169
1525
|
getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
|
|
1170
|
-
getGuardianAlertStatus: IDL.Func([], [
|
|
1526
|
+
getGuardianAlertStatus: IDL.Func([], [Result_77], ['query']),
|
|
1527
|
+
getKeyBackupCiphertext: IDL.Func([], [Result_76], ['query']),
|
|
1528
|
+
getKeyBackupStatus: IDL.Func([], [Result_75], ['query']),
|
|
1529
|
+
getKeyBackupVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
|
|
1171
1530
|
getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1172
1531
|
getMemoryHistory: IDL.Func(
|
|
1173
1532
|
[IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
|
|
1174
|
-
[
|
|
1533
|
+
[Result_74],
|
|
1175
1534
|
['query'],
|
|
1176
1535
|
),
|
|
1177
1536
|
getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
|
|
1178
1537
|
getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
|
|
1179
1538
|
getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
|
|
1180
|
-
getMemoryRetentionPolicy: IDL.Func([], [
|
|
1539
|
+
getMemoryRetentionPolicy: IDL.Func([], [Result_73], ['query']),
|
|
1181
1540
|
getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1182
|
-
getMyGuardianStatus: IDL.Func([], [
|
|
1183
|
-
getOwnerConsole: IDL.Func([], [
|
|
1184
|
-
|
|
1541
|
+
getMyGuardianStatus: IDL.Func([], [Result_19], ['query']),
|
|
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']),
|
|
1185
1548
|
getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
|
|
1186
|
-
getSigningFloor: IDL.Func([], [
|
|
1549
|
+
getSigningFloor: IDL.Func([], [Result_66], ['query']),
|
|
1187
1550
|
getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
|
|
1188
|
-
getSpendCeiling: IDL.Func([], [
|
|
1189
|
-
getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [
|
|
1190
|
-
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']),
|
|
1191
1554
|
getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
|
|
1192
1555
|
getTopUpLimits: IDL.Func(
|
|
1193
1556
|
[],
|
|
1194
1557
|
[IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
|
|
1195
1558
|
['query'],
|
|
1196
1559
|
),
|
|
1197
|
-
getWalletBalances: IDL.Func([], [
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1560
|
+
getWalletBalances: IDL.Func([], [Result_62], []),
|
|
1561
|
+
getWalletCycles: IDL.Func([], [Result_15], []),
|
|
1562
|
+
getWorldIdConfig: IDL.Func([], [Result_61], ['query']),
|
|
1563
|
+
getWorldIdRpContext: IDL.Func([], [Result_60], []),
|
|
1564
|
+
getWorldIdRpSignerAddress: IDL.Func([], [Result_58], []),
|
|
1565
|
+
getWorldIdVerification: IDL.Func([], [Result_59], ['query']),
|
|
1566
|
+
guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1203
1567
|
http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
|
|
1204
1568
|
http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
|
|
1205
1569
|
icrc21_canister_call_consent_message: IDL.Func(
|
|
@@ -1229,105 +1593,123 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1229
1593
|
],
|
|
1230
1594
|
['query'],
|
|
1231
1595
|
),
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1596
|
+
issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_58], []),
|
|
1597
|
+
listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_57], ['query']),
|
|
1598
|
+
listAgentRoster: IDL.Func([IDL.Nat, IDL.Nat], [Result_56], ['query']),
|
|
1599
|
+
listAgentSpendToday: IDL.Func([IDL.Nat, IDL.Nat], [Result_55], ['query']),
|
|
1600
|
+
listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_54], ['query']),
|
|
1601
|
+
listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_53], ['query']),
|
|
1237
1602
|
listApprovalRequests: IDL.Func(
|
|
1238
1603
|
[IDL.Opt(ApprovalStatus), IDL.Nat, IDL.Nat],
|
|
1239
|
-
[
|
|
1604
|
+
[Result_39],
|
|
1240
1605
|
['query'],
|
|
1241
1606
|
),
|
|
1242
|
-
listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1243
|
-
listBackups: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1244
|
-
listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1245
|
-
listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1246
|
-
listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1247
|
-
listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1607
|
+
listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_52], ['query']),
|
|
1608
|
+
listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_51], ['query']),
|
|
1609
|
+
listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_50], ['query']),
|
|
1610
|
+
listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_49], ['query']),
|
|
1611
|
+
listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_48], ['query']),
|
|
1612
|
+
listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_47], ['query']),
|
|
1613
|
+
listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_46], ['query']),
|
|
1614
|
+
listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_45], ['query']),
|
|
1615
|
+
listGuardianDisputes: IDL.Func([IDL.Nat, IDL.Nat], [Result_44], ['query']),
|
|
1616
|
+
listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
|
|
1617
|
+
listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
|
|
1618
|
+
listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
|
|
1619
|
+
listMemoryLog: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_40], ['query']),
|
|
1620
|
+
listMyApprovalRequests: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
|
|
1621
|
+
listMySessions: IDL.Func([IDL.Nat, IDL.Nat], [Result_38], ['query']),
|
|
1622
|
+
listOwnershipTransfers: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
|
|
1623
|
+
listPaymentSignatureCounts: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
|
|
1624
|
+
listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_35], ['query']),
|
|
1625
|
+
listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_34], ['query']),
|
|
1626
|
+
listRecordNotes: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
|
|
1627
|
+
listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_32], ['query']),
|
|
1628
|
+
listSellers: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
|
|
1629
|
+
listSignIns: IDL.Func([IDL.Nat, IDL.Nat], [Result_30], ['query']),
|
|
1630
|
+
markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_15], []),
|
|
1631
|
+
myGrant: IDL.Func([], [Result_29], ['query']),
|
|
1632
|
+
nominateAgentKey: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1633
|
+
openChild: IDL.Func([IDL.Record({ signIn: IDL.Opt(IDL.Principal) })], [Result_28], []),
|
|
1634
|
+
openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_27], []),
|
|
1635
|
+
ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_15], []),
|
|
1636
|
+
pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_26], []),
|
|
1637
|
+
pauseWrites: IDL.Func([], [Result_2], []),
|
|
1638
|
+
pauseWritesWithReason: IDL.Func([IDL.Text], [Result_2], []),
|
|
1639
|
+
planSessionRead: IDL.Func([Request], [Result_25], ['query']),
|
|
1640
|
+
previewCondense: IDL.Func([IDL.Nat], [Result_24], ['query']),
|
|
1269
1641
|
previewOpenSession: IDL.Func([], [SessionIntent], ['query']),
|
|
1270
|
-
|
|
1271
|
-
|
|
1642
|
+
previewRetention: IDL.Func(
|
|
1643
|
+
[IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec))],
|
|
1644
|
+
[Result_23],
|
|
1645
|
+
['query'],
|
|
1646
|
+
),
|
|
1647
|
+
readMemory: IDL.Func([IDL.Text], [Result_13], ['query']),
|
|
1648
|
+
readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_22], ['query']),
|
|
1272
1649
|
readMemoryBytes: IDL.Func(
|
|
1273
1650
|
[IDL.Text, IDL.Nat, IDL.Nat, IDL.Opt(IDL.Nat)],
|
|
1274
|
-
[
|
|
1651
|
+
[Result_21],
|
|
1275
1652
|
['query'],
|
|
1276
1653
|
),
|
|
1277
|
-
recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1278
|
-
registerGuardian: IDL.Func([IDL.Text], [
|
|
1279
|
-
removeCallerSpendPolicy: IDL.Func([IDL.Principal], [
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
removeGuardian: IDL.Func([IDL.Principal], [
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1654
|
+
recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [Result_20], []),
|
|
1655
|
+
registerGuardian: IDL.Func([IDL.Text], [Result_19], []),
|
|
1656
|
+
removeCallerSpendPolicy: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1657
|
+
removeEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_2], []),
|
|
1658
|
+
removeEip712Type: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
1659
|
+
removeGuardian: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1660
|
+
removeSeller: IDL.Func([IDL.Text], [Result_2], []),
|
|
1661
|
+
renameAgent: IDL.Func([IDL.Principal, IDL.Text], [Result_2], []),
|
|
1662
|
+
repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [Result_15], []),
|
|
1663
|
+
resetEngram: IDL.Func([], [Result_18], []),
|
|
1664
|
+
resignAgent: IDL.Func([], [Result_2], []),
|
|
1665
|
+
resumeWrites: IDL.Func([], [Result_2], []),
|
|
1666
|
+
resyncAgentEdges: IDL.Func([], [Result_17], []),
|
|
1667
|
+
returnToManaged: IDL.Func([], [Result_2], []),
|
|
1289
1668
|
reviseMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
|
|
1290
|
-
revokeAgent: IDL.Func([IDL.Principal], [
|
|
1291
|
-
revokeAllAgents: IDL.Func([], [
|
|
1292
|
-
revokeAllBearerTokens: IDL.Func([], [
|
|
1293
|
-
revokeAllInvites: IDL.Func([], [
|
|
1294
|
-
revokeBearerToken: IDL.Func([IDL.Text], [
|
|
1669
|
+
revokeAgent: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1670
|
+
revokeAllAgents: IDL.Func([], [Result_15], []),
|
|
1671
|
+
revokeAllBearerTokens: IDL.Func([], [Result_15], []),
|
|
1672
|
+
revokeAllInvites: IDL.Func([], [Result_15], []),
|
|
1673
|
+
revokeBearerToken: IDL.Func([IDL.Text], [Result_2], []),
|
|
1295
1674
|
rollbackMemory: IDL.Func([IDL.Text, IDL.Nat], [Result], []),
|
|
1296
|
-
rotateAgentKeyHash: IDL.Func([IDL.Text], [
|
|
1297
|
-
|
|
1675
|
+
rotateAgentKeyHash: IDL.Func([IDL.Text], [Result_2], []),
|
|
1676
|
+
saveMemoryEntry: IDL.Func([MemoryEntry], [Result_16], []),
|
|
1677
|
+
sendToParent: IDL.Func([TokenAmount], [Result_15], []),
|
|
1298
1678
|
sessionAppendMemory: IDL.Func([Voucher, IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
|
|
1299
|
-
sessionReadContext: IDL.Func([IDL.Text], [
|
|
1300
|
-
sessionReadMemory: IDL.Func([Voucher, IDL.Text], [
|
|
1301
|
-
setActionAlertConfig: IDL.Func([AlertConfig], [
|
|
1302
|
-
setAgentPermissions: IDL.Func([IDL.Principal, AgentPermissions], [
|
|
1303
|
-
setAgentRevisablePaths: IDL.Func([IDL.Vec(IDL.Text)], [
|
|
1304
|
-
setBackupRetention: IDL.Func([IDL.Text, IDL.Nat], [
|
|
1305
|
-
setCallerSpendPolicy: IDL.Func([IDL.Principal, SpendingPolicy], [
|
|
1306
|
-
setChildAllowance: IDL.Func([IDL.Principal, IDL.Nat], [
|
|
1307
|
-
setEncryptionEnabled: IDL.Func([IDL.Bool], [
|
|
1308
|
-
setEvmOwnerAddress: IDL.Func([IDL.Text], [
|
|
1309
|
-
setGuardianAlertConfig: IDL.Func([AlertConfig], [
|
|
1679
|
+
sessionReadContext: IDL.Func([IDL.Text], [Result_14], []),
|
|
1680
|
+
sessionReadMemory: IDL.Func([Voucher, IDL.Text], [Result_13], []),
|
|
1681
|
+
setActionAlertConfig: IDL.Func([AlertConfig], [Result_2], []),
|
|
1682
|
+
setAgentPermissions: IDL.Func([IDL.Principal, AgentPermissions], [Result_2], []),
|
|
1683
|
+
setAgentRevisablePaths: IDL.Func([IDL.Vec(IDL.Text)], [Result_2], []),
|
|
1684
|
+
setBackupRetention: IDL.Func([IDL.Text, IDL.Nat], [Result_12], []),
|
|
1685
|
+
setCallerSpendPolicy: IDL.Func([IDL.Principal, SpendingPolicy], [Result_2], []),
|
|
1686
|
+
setChildAllowance: IDL.Func([IDL.Principal, IDL.Nat], [Result_2], []),
|
|
1687
|
+
setEncryptionEnabled: IDL.Func([IDL.Bool], [Result_2], []),
|
|
1688
|
+
setEvmOwnerAddress: IDL.Func([IDL.Text], [Result_2], []),
|
|
1689
|
+
setGuardianAlertConfig: IDL.Func([AlertConfig], [Result_2], []),
|
|
1310
1690
|
setMemoryRetentionPolicy: IDL.Func(
|
|
1311
1691
|
[IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec))],
|
|
1312
|
-
[
|
|
1692
|
+
[Result_2],
|
|
1313
1693
|
[],
|
|
1314
1694
|
),
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1695
|
+
setOwnerSignIn: IDL.Func([IDL.Principal, IDL.Opt(IDL.Vec(IDL.Nat8))], [Result_2], []),
|
|
1696
|
+
setPaidMemoryReadEnabled: IDL.Func([IDL.Bool], [Result_2], []),
|
|
1697
|
+
setPaidMemoryWriteEnabled: IDL.Func([IDL.Bool], [Result_2], []),
|
|
1698
|
+
setProtectedPaths: IDL.Func([IDL.Vec(IDL.Text)], [Result_2], []),
|
|
1699
|
+
setSeatWeeksReadEnabled: IDL.Func([IDL.Bool], [Result_2], []),
|
|
1700
|
+
setSellerCap: IDL.Func([IDL.Text, IDL.Nat], [Result_11], []),
|
|
1701
|
+
setSpendCeiling: IDL.Func([IDL.Opt(IDL.Nat)], [Result_2], []),
|
|
1702
|
+
setSpendPolicy: IDL.Func([SpendingPolicy], [Result_2], []),
|
|
1321
1703
|
setTopUpLimits: IDL.Func(
|
|
1322
1704
|
[IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
|
|
1323
|
-
[
|
|
1705
|
+
[Result_2],
|
|
1324
1706
|
[],
|
|
1325
1707
|
),
|
|
1326
|
-
setWorldIdConfig: IDL.Func([IDL.Text, IDL.Text, IDL.Text], [
|
|
1327
|
-
setWorldIdProof: IDL.Func([IDL.Text, IDL.Text], [
|
|
1708
|
+
setWorldIdConfig: IDL.Func([IDL.Text, IDL.Text, IDL.Text], [Result_2], []),
|
|
1709
|
+
setWorldIdProof: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
|
|
1328
1710
|
signEip712: IDL.Func(
|
|
1329
1711
|
[IDL.Vec(IDL.Nat8), IDL.Vec(IDL.Tuple(IDL.Text, Eip712Value))],
|
|
1330
|
-
[
|
|
1712
|
+
[Result_5],
|
|
1331
1713
|
[],
|
|
1332
1714
|
),
|
|
1333
1715
|
signEngramRegistration: IDL.Func(
|
|
@@ -1338,33 +1720,29 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1338
1720
|
maxPriorityFeePerGas: IDL.Nat,
|
|
1339
1721
|
}),
|
|
1340
1722
|
],
|
|
1341
|
-
[
|
|
1723
|
+
[Result_10],
|
|
1342
1724
|
[],
|
|
1343
1725
|
),
|
|
1344
|
-
signX402Payment: IDL.Func(
|
|
1726
|
+
signX402Payment: IDL.Func([X402SignRequest], [Result_4], []),
|
|
1727
|
+
stepDownAsGuardian: IDL.Func([], [Result_2], []),
|
|
1728
|
+
storeKeyBackup: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_2], []),
|
|
1729
|
+
sysForceCloseSession: IDL.Func([IDL.Text], [Result_2], []),
|
|
1730
|
+
sysGetAgentSeatWeeks: IDL.Func([], [Result_9], []),
|
|
1731
|
+
sysGetRailHealth: IDL.Func([], [Result_8], ['query']),
|
|
1732
|
+
sysGetSignatureCounts: IDL.Func([], [Result_7], []),
|
|
1733
|
+
sysNoteRestart: IDL.Func(
|
|
1345
1734
|
[
|
|
1346
1735
|
IDL.Record({
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
recipient: IDL.Text,
|
|
1351
|
-
rationale: IDL.Opt(IDL.Text),
|
|
1352
|
-
tokenName: IDL.Text,
|
|
1353
|
-
chainId: IDL.Nat,
|
|
1354
|
-
amount: IDL.Nat,
|
|
1736
|
+
keepCycles: IDL.Nat,
|
|
1737
|
+
loan: IDL.Nat,
|
|
1738
|
+
quietUntilNs: IDL.Int,
|
|
1355
1739
|
}),
|
|
1356
1740
|
],
|
|
1357
|
-
[
|
|
1741
|
+
[Result_2],
|
|
1358
1742
|
[],
|
|
1359
1743
|
),
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
sysForceCloseSession: IDL.Func([IDL.Text], [Result_1], []),
|
|
1363
|
-
sysGetAgentSeatWeeks: IDL.Func([], [Result_7], []),
|
|
1364
|
-
sysGetRailHealth: IDL.Func([], [Result_6], ['query']),
|
|
1365
|
-
sysGetSignatureCounts: IDL.Func([], [Result_5], []),
|
|
1366
|
-
sysNotifyRentLifecycle: IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
|
|
1367
|
-
sysNotifyWalletActivity: IDL.Func([IDL.Text], [Result_1], []),
|
|
1744
|
+
sysNotifyRentLifecycle: IDL.Func([IDL.Text, IDL.Text], [Result_2], []),
|
|
1745
|
+
sysNotifyWalletActivity: IDL.Func([IDL.Text], [Result_2], []),
|
|
1368
1746
|
sysRecordFeeEvent: IDL.Func(
|
|
1369
1747
|
[
|
|
1370
1748
|
IDL.Record({
|
|
@@ -1373,36 +1751,37 @@ export const idlFactory = ({ IDL }) => {
|
|
|
1373
1751
|
scheduleVersion: IDL.Opt(IDL.Text),
|
|
1374
1752
|
}),
|
|
1375
1753
|
],
|
|
1376
|
-
[
|
|
1377
|
-
[],
|
|
1378
|
-
),
|
|
1379
|
-
sysSetBillerId: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1380
|
-
sysSetEngramNumber: IDL.Func([IDL.Nat], [Result_1], []),
|
|
1381
|
-
sysSetMarketId: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1382
|
-
sysSetMetricsReaderId: IDL.Func([IDL.Principal], [Result_1], []),
|
|
1383
|
-
sysSignEip712: IDL.Func(
|
|
1384
|
-
[IDL.Vec(IDL.Nat8), IDL.Vec(IDL.Tuple(IDL.Text, Eip712Value))],
|
|
1385
|
-
[Result_4],
|
|
1754
|
+
[Result_2],
|
|
1386
1755
|
[],
|
|
1387
1756
|
),
|
|
1388
|
-
|
|
1757
|
+
sysRecordSale: IDL.Func([SaleNotice], [Result_2], []),
|
|
1758
|
+
sysReturnUpgradeAdvance: IDL.Func(
|
|
1389
1759
|
[
|
|
1390
|
-
IDL.
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
IDL.Text,
|
|
1396
|
-
IDL.Opt(IDL.Text),
|
|
1397
|
-
IDL.Opt(IDL.Text),
|
|
1760
|
+
IDL.Record({
|
|
1761
|
+
balanceBefore: IDL.Nat,
|
|
1762
|
+
advanceId: IDL.Nat,
|
|
1763
|
+
advance: IDL.Nat,
|
|
1764
|
+
}),
|
|
1398
1765
|
],
|
|
1399
|
-
[
|
|
1766
|
+
[Result_6],
|
|
1767
|
+
[],
|
|
1768
|
+
),
|
|
1769
|
+
sysSetBillerId: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1770
|
+
sysSetBirthChain: IDL.Func([IDL.Vec(BirthRecord)], [Result_2], []),
|
|
1771
|
+
sysSetConsentOrigin: IDL.Func([IDL.Text], [Result_2], []),
|
|
1772
|
+
sysSetMarketId: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1773
|
+
sysSetMetricsReaderId: IDL.Func([IDL.Principal], [Result_2], []),
|
|
1774
|
+
sysSignEip712: IDL.Func(
|
|
1775
|
+
[IDL.Vec(IDL.Nat8), IDL.Vec(IDL.Tuple(IDL.Text, Eip712Value))],
|
|
1776
|
+
[Result_5],
|
|
1400
1777
|
[],
|
|
1401
1778
|
),
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1779
|
+
sysSignX402Payment: IDL.Func([X402SignRequest], [Result_4], []),
|
|
1780
|
+
testActionAlert: IDL.Func([], [Result_2], []),
|
|
1781
|
+
testGuardianAlert: IDL.Func([], [Result_2], []),
|
|
1782
|
+
transferOwnership: IDL.Func([IDL.Principal], [Result_3], []),
|
|
1783
|
+
unfreezePayments: IDL.Func([], [Result_2], []),
|
|
1784
|
+
wakeTimers: IDL.Func([], [Result_1], []),
|
|
1406
1785
|
worldIdTransform: IDL.Func(
|
|
1407
1786
|
[
|
|
1408
1787
|
IDL.Record({
|
|
@@ -1422,7 +1801,10 @@ export const init = ({ IDL }) => {
|
|
|
1422
1801
|
IDL.Opt(
|
|
1423
1802
|
IDL.Record({
|
|
1424
1803
|
owner: IDL.Opt(IDL.Principal),
|
|
1804
|
+
recoveredAtNs: IDL.Opt(IDL.Int),
|
|
1425
1805
|
registry: IDL.Opt(IDL.Principal),
|
|
1806
|
+
ownerSignIn: IDL.Opt(IDL.Principal),
|
|
1807
|
+
parent: IDL.Opt(IDL.Principal),
|
|
1426
1808
|
}),
|
|
1427
1809
|
),
|
|
1428
1810
|
];
|