@agentic-trust/agentic-trust-sdk 1.0.43
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/LICENSE +22 -0
- package/README.md +213 -0
- package/abis/BaseRegistrarImplementation.json +1013 -0
- package/abis/ETHRegistrarController.json +1004 -0
- package/abis/IdentityRegistry.json +1044 -0
- package/abis/NameWrapper.json +2026 -0
- package/abis/PublicResolver.json +1772 -0
- package/abis/ReputationRegistry.json +701 -0
- package/abis/ValidationRegistry.json +505 -0
- package/dist/AIAgentAssociationClient.d.ts +58 -0
- package/dist/AIAgentAssociationClient.d.ts.map +1 -0
- package/dist/AIAgentAssociationClient.js +100 -0
- package/dist/AIAgentAssociationClient.js.map +1 -0
- package/dist/AIAgentDiscoveryClient.d.ts +673 -0
- package/dist/AIAgentDiscoveryClient.d.ts.map +1 -0
- package/dist/AIAgentDiscoveryClient.js +3184 -0
- package/dist/AIAgentDiscoveryClient.js.map +1 -0
- package/dist/AIAgentENSClient.d.ts +149 -0
- package/dist/AIAgentENSClient.d.ts.map +1 -0
- package/dist/AIAgentENSClient.js +958 -0
- package/dist/AIAgentENSClient.js.map +1 -0
- package/dist/AIAgentIdentityClient.d.ts +159 -0
- package/dist/AIAgentIdentityClient.d.ts.map +1 -0
- package/dist/AIAgentIdentityClient.js +660 -0
- package/dist/AIAgentIdentityClient.js.map +1 -0
- package/dist/AIAgentL2ENSDurenClient.d.ts +120 -0
- package/dist/AIAgentL2ENSDurenClient.d.ts.map +1 -0
- package/dist/AIAgentL2ENSDurenClient.js +735 -0
- package/dist/AIAgentL2ENSDurenClient.js.map +1 -0
- package/dist/AIAgentL2ENSNamespaceClient.d.ts +58 -0
- package/dist/AIAgentL2ENSNamespaceClient.d.ts.map +1 -0
- package/dist/AIAgentL2ENSNamespaceClient.js +214 -0
- package/dist/AIAgentL2ENSNamespaceClient.js.map +1 -0
- package/dist/AIAgentReputationClient.d.ts +69 -0
- package/dist/AIAgentReputationClient.d.ts.map +1 -0
- package/dist/AIAgentReputationClient.js +203 -0
- package/dist/AIAgentReputationClient.js.map +1 -0
- package/dist/AIAgentValidationClient.d.ts +60 -0
- package/dist/AIAgentValidationClient.d.ts.map +1 -0
- package/dist/AIAgentValidationClient.js +123 -0
- package/dist/AIAgentValidationClient.js.map +1 -0
- package/dist/OrgIdentityClient.d.ts +27 -0
- package/dist/OrgIdentityClient.d.ts.map +1 -0
- package/dist/OrgIdentityClient.js +169 -0
- package/dist/OrgIdentityClient.js.map +1 -0
- package/dist/abis/BaseRegistrarImplementation.json +1013 -0
- package/dist/abis/ETHRegistrarController.json +1004 -0
- package/dist/abis/IdentityRegistry.json +1044 -0
- package/dist/abis/NameWrapper.json +2026 -0
- package/dist/abis/PublicResolver.json +1772 -0
- package/dist/abis/ReputationRegistry.json +701 -0
- package/dist/abis/ValidationRegistry.json +505 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/schema.d.ts +13 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +696 -0
- package/dist/schema.js.map +1 -0
- package/dist/schemaKb.d.ts +12 -0
- package/dist/schemaKb.d.ts.map +1 -0
- package/dist/schemaKb.js +593 -0
- package/dist/schemaKb.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/did8004.d.ts +57 -0
- package/dist/utils/did8004.d.ts.map +1 -0
- package/dist/utils/did8004.js +127 -0
- package/dist/utils/did8004.js.map +1 -0
- package/dist/utils/didEns.d.ts +46 -0
- package/dist/utils/didEns.d.ts.map +1 -0
- package/dist/utils/didEns.js +107 -0
- package/dist/utils/didEns.js.map +1 -0
- package/dist/utils/didEthr.d.ts +40 -0
- package/dist/utils/didEthr.d.ts.map +1 -0
- package/dist/utils/didEthr.js +87 -0
- package/dist/utils/didEthr.js.map +1 -0
- package/package.json +79 -0
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [],
|
|
4
|
+
"stateMutability": "nonpayable",
|
|
5
|
+
"type": "constructor"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"internalType": "address",
|
|
11
|
+
"name": "target",
|
|
12
|
+
"type": "address"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"name": "AddressEmptyCode",
|
|
16
|
+
"type": "error"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"inputs": [
|
|
20
|
+
{
|
|
21
|
+
"internalType": "address",
|
|
22
|
+
"name": "implementation",
|
|
23
|
+
"type": "address"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"name": "ERC1967InvalidImplementation",
|
|
27
|
+
"type": "error"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputs": [],
|
|
31
|
+
"name": "ERC1967NonPayable",
|
|
32
|
+
"type": "error"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"inputs": [],
|
|
36
|
+
"name": "FailedCall",
|
|
37
|
+
"type": "error"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"inputs": [],
|
|
41
|
+
"name": "InvalidInitialization",
|
|
42
|
+
"type": "error"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"inputs": [],
|
|
46
|
+
"name": "NotInitializing",
|
|
47
|
+
"type": "error"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputs": [
|
|
51
|
+
{
|
|
52
|
+
"internalType": "address",
|
|
53
|
+
"name": "owner",
|
|
54
|
+
"type": "address"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"name": "OwnableInvalidOwner",
|
|
58
|
+
"type": "error"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"inputs": [
|
|
62
|
+
{
|
|
63
|
+
"internalType": "address",
|
|
64
|
+
"name": "account",
|
|
65
|
+
"type": "address"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"name": "OwnableUnauthorizedAccount",
|
|
69
|
+
"type": "error"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"name": "UUPSUnauthorizedCallContext",
|
|
74
|
+
"type": "error"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"inputs": [
|
|
78
|
+
{
|
|
79
|
+
"internalType": "bytes32",
|
|
80
|
+
"name": "slot",
|
|
81
|
+
"type": "bytes32"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"name": "UUPSUnsupportedProxiableUUID",
|
|
85
|
+
"type": "error"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"anonymous": false,
|
|
89
|
+
"inputs": [
|
|
90
|
+
{
|
|
91
|
+
"indexed": false,
|
|
92
|
+
"internalType": "uint64",
|
|
93
|
+
"name": "version",
|
|
94
|
+
"type": "uint64"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"name": "Initialized",
|
|
98
|
+
"type": "event"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"anonymous": false,
|
|
102
|
+
"inputs": [
|
|
103
|
+
{
|
|
104
|
+
"indexed": true,
|
|
105
|
+
"internalType": "address",
|
|
106
|
+
"name": "previousOwner",
|
|
107
|
+
"type": "address"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"indexed": true,
|
|
111
|
+
"internalType": "address",
|
|
112
|
+
"name": "newOwner",
|
|
113
|
+
"type": "address"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"name": "OwnershipTransferred",
|
|
117
|
+
"type": "event"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"anonymous": false,
|
|
121
|
+
"inputs": [
|
|
122
|
+
{
|
|
123
|
+
"indexed": true,
|
|
124
|
+
"internalType": "address",
|
|
125
|
+
"name": "implementation",
|
|
126
|
+
"type": "address"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"name": "Upgraded",
|
|
130
|
+
"type": "event"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"anonymous": false,
|
|
134
|
+
"inputs": [
|
|
135
|
+
{
|
|
136
|
+
"indexed": true,
|
|
137
|
+
"internalType": "address",
|
|
138
|
+
"name": "validatorAddress",
|
|
139
|
+
"type": "address"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"indexed": true,
|
|
143
|
+
"internalType": "uint256",
|
|
144
|
+
"name": "agentId",
|
|
145
|
+
"type": "uint256"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"indexed": false,
|
|
149
|
+
"internalType": "string",
|
|
150
|
+
"name": "requestURI",
|
|
151
|
+
"type": "string"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"indexed": true,
|
|
155
|
+
"internalType": "bytes32",
|
|
156
|
+
"name": "requestHash",
|
|
157
|
+
"type": "bytes32"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"name": "ValidationRequest",
|
|
161
|
+
"type": "event"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"anonymous": false,
|
|
165
|
+
"inputs": [
|
|
166
|
+
{
|
|
167
|
+
"indexed": true,
|
|
168
|
+
"internalType": "address",
|
|
169
|
+
"name": "validatorAddress",
|
|
170
|
+
"type": "address"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"indexed": true,
|
|
174
|
+
"internalType": "uint256",
|
|
175
|
+
"name": "agentId",
|
|
176
|
+
"type": "uint256"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"indexed": true,
|
|
180
|
+
"internalType": "bytes32",
|
|
181
|
+
"name": "requestHash",
|
|
182
|
+
"type": "bytes32"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"indexed": false,
|
|
186
|
+
"internalType": "uint8",
|
|
187
|
+
"name": "response",
|
|
188
|
+
"type": "uint8"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"indexed": false,
|
|
192
|
+
"internalType": "string",
|
|
193
|
+
"name": "responseURI",
|
|
194
|
+
"type": "string"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"indexed": false,
|
|
198
|
+
"internalType": "bytes32",
|
|
199
|
+
"name": "responseHash",
|
|
200
|
+
"type": "bytes32"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"indexed": false,
|
|
204
|
+
"internalType": "string",
|
|
205
|
+
"name": "tag",
|
|
206
|
+
"type": "string"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"name": "ValidationResponse",
|
|
210
|
+
"type": "event"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"inputs": [],
|
|
214
|
+
"name": "UPGRADE_INTERFACE_VERSION",
|
|
215
|
+
"outputs": [
|
|
216
|
+
{
|
|
217
|
+
"internalType": "string",
|
|
218
|
+
"name": "",
|
|
219
|
+
"type": "string"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"stateMutability": "view",
|
|
223
|
+
"type": "function"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"inputs": [
|
|
227
|
+
{
|
|
228
|
+
"internalType": "uint256",
|
|
229
|
+
"name": "agentId",
|
|
230
|
+
"type": "uint256"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"name": "getAgentValidations",
|
|
234
|
+
"outputs": [
|
|
235
|
+
{
|
|
236
|
+
"internalType": "bytes32[]",
|
|
237
|
+
"name": "",
|
|
238
|
+
"type": "bytes32[]"
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"stateMutability": "view",
|
|
242
|
+
"type": "function"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"inputs": [],
|
|
246
|
+
"name": "getIdentityRegistry",
|
|
247
|
+
"outputs": [
|
|
248
|
+
{
|
|
249
|
+
"internalType": "address",
|
|
250
|
+
"name": "",
|
|
251
|
+
"type": "address"
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"stateMutability": "view",
|
|
255
|
+
"type": "function"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"inputs": [
|
|
259
|
+
{
|
|
260
|
+
"internalType": "uint256",
|
|
261
|
+
"name": "agentId",
|
|
262
|
+
"type": "uint256"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"internalType": "address[]",
|
|
266
|
+
"name": "validatorAddresses",
|
|
267
|
+
"type": "address[]"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"internalType": "string",
|
|
271
|
+
"name": "tag",
|
|
272
|
+
"type": "string"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"name": "getSummary",
|
|
276
|
+
"outputs": [
|
|
277
|
+
{
|
|
278
|
+
"internalType": "uint64",
|
|
279
|
+
"name": "count",
|
|
280
|
+
"type": "uint64"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"internalType": "uint8",
|
|
284
|
+
"name": "avgResponse",
|
|
285
|
+
"type": "uint8"
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"stateMutability": "view",
|
|
289
|
+
"type": "function"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"inputs": [
|
|
293
|
+
{
|
|
294
|
+
"internalType": "bytes32",
|
|
295
|
+
"name": "requestHash",
|
|
296
|
+
"type": "bytes32"
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"name": "getValidationStatus",
|
|
300
|
+
"outputs": [
|
|
301
|
+
{
|
|
302
|
+
"internalType": "address",
|
|
303
|
+
"name": "validatorAddress",
|
|
304
|
+
"type": "address"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"internalType": "uint256",
|
|
308
|
+
"name": "agentId",
|
|
309
|
+
"type": "uint256"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"internalType": "uint8",
|
|
313
|
+
"name": "response",
|
|
314
|
+
"type": "uint8"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"internalType": "bytes32",
|
|
318
|
+
"name": "responseHash",
|
|
319
|
+
"type": "bytes32"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"internalType": "string",
|
|
323
|
+
"name": "tag",
|
|
324
|
+
"type": "string"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"internalType": "uint256",
|
|
328
|
+
"name": "lastUpdate",
|
|
329
|
+
"type": "uint256"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"stateMutability": "view",
|
|
333
|
+
"type": "function"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"inputs": [
|
|
337
|
+
{
|
|
338
|
+
"internalType": "address",
|
|
339
|
+
"name": "validatorAddress",
|
|
340
|
+
"type": "address"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"name": "getValidatorRequests",
|
|
344
|
+
"outputs": [
|
|
345
|
+
{
|
|
346
|
+
"internalType": "bytes32[]",
|
|
347
|
+
"name": "",
|
|
348
|
+
"type": "bytes32[]"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"stateMutability": "view",
|
|
352
|
+
"type": "function"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"inputs": [],
|
|
356
|
+
"name": "getVersion",
|
|
357
|
+
"outputs": [
|
|
358
|
+
{
|
|
359
|
+
"internalType": "string",
|
|
360
|
+
"name": "",
|
|
361
|
+
"type": "string"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"stateMutability": "pure",
|
|
365
|
+
"type": "function"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"inputs": [
|
|
369
|
+
{
|
|
370
|
+
"internalType": "address",
|
|
371
|
+
"name": "identityRegistry_",
|
|
372
|
+
"type": "address"
|
|
373
|
+
}
|
|
374
|
+
],
|
|
375
|
+
"name": "initialize",
|
|
376
|
+
"outputs": [],
|
|
377
|
+
"stateMutability": "nonpayable",
|
|
378
|
+
"type": "function"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"inputs": [],
|
|
382
|
+
"name": "owner",
|
|
383
|
+
"outputs": [
|
|
384
|
+
{
|
|
385
|
+
"internalType": "address",
|
|
386
|
+
"name": "",
|
|
387
|
+
"type": "address"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"stateMutability": "view",
|
|
391
|
+
"type": "function"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"inputs": [],
|
|
395
|
+
"name": "proxiableUUID",
|
|
396
|
+
"outputs": [
|
|
397
|
+
{
|
|
398
|
+
"internalType": "bytes32",
|
|
399
|
+
"name": "",
|
|
400
|
+
"type": "bytes32"
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"stateMutability": "view",
|
|
404
|
+
"type": "function"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"inputs": [],
|
|
408
|
+
"name": "renounceOwnership",
|
|
409
|
+
"outputs": [],
|
|
410
|
+
"stateMutability": "nonpayable",
|
|
411
|
+
"type": "function"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"inputs": [
|
|
415
|
+
{
|
|
416
|
+
"internalType": "address",
|
|
417
|
+
"name": "newOwner",
|
|
418
|
+
"type": "address"
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"name": "transferOwnership",
|
|
422
|
+
"outputs": [],
|
|
423
|
+
"stateMutability": "nonpayable",
|
|
424
|
+
"type": "function"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"inputs": [
|
|
428
|
+
{
|
|
429
|
+
"internalType": "address",
|
|
430
|
+
"name": "newImplementation",
|
|
431
|
+
"type": "address"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"internalType": "bytes",
|
|
435
|
+
"name": "data",
|
|
436
|
+
"type": "bytes"
|
|
437
|
+
}
|
|
438
|
+
],
|
|
439
|
+
"name": "upgradeToAndCall",
|
|
440
|
+
"outputs": [],
|
|
441
|
+
"stateMutability": "payable",
|
|
442
|
+
"type": "function"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"inputs": [
|
|
446
|
+
{
|
|
447
|
+
"internalType": "address",
|
|
448
|
+
"name": "validatorAddress",
|
|
449
|
+
"type": "address"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"internalType": "uint256",
|
|
453
|
+
"name": "agentId",
|
|
454
|
+
"type": "uint256"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"internalType": "string",
|
|
458
|
+
"name": "requestURI",
|
|
459
|
+
"type": "string"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"internalType": "bytes32",
|
|
463
|
+
"name": "requestHash",
|
|
464
|
+
"type": "bytes32"
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
"name": "validationRequest",
|
|
468
|
+
"outputs": [],
|
|
469
|
+
"stateMutability": "nonpayable",
|
|
470
|
+
"type": "function"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"inputs": [
|
|
474
|
+
{
|
|
475
|
+
"internalType": "bytes32",
|
|
476
|
+
"name": "requestHash",
|
|
477
|
+
"type": "bytes32"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"internalType": "uint8",
|
|
481
|
+
"name": "response",
|
|
482
|
+
"type": "uint8"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"internalType": "string",
|
|
486
|
+
"name": "responseURI",
|
|
487
|
+
"type": "string"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"internalType": "bytes32",
|
|
491
|
+
"name": "responseHash",
|
|
492
|
+
"type": "bytes32"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"internalType": "string",
|
|
496
|
+
"name": "tag",
|
|
497
|
+
"type": "string"
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"name": "validationResponse",
|
|
501
|
+
"outputs": [],
|
|
502
|
+
"stateMutability": "nonpayable",
|
|
503
|
+
"type": "function"
|
|
504
|
+
}
|
|
505
|
+
]
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ERC8004 Agentic Trust SDK
|
|
3
|
+
*
|
|
4
|
+
* A TypeScript SDK for managing AI agents with ENS integration,
|
|
5
|
+
* identity management, and reputation systems on Ethereum L1 and L2.
|
|
6
|
+
*
|
|
7
|
+
* Uses AccountProvider (Ports & Adapters pattern) for chain I/O.
|
|
8
|
+
*/
|
|
9
|
+
export { AIAgentENSClient } from './AIAgentENSClient';
|
|
10
|
+
export { AIAgentL2ENSDurenClient } from './AIAgentL2ENSDurenClient';
|
|
11
|
+
export { AIAgentL2ENSNamespaceClient } from './AIAgentL2ENSNamespaceClient';
|
|
12
|
+
export { AIAgentIdentityClient } from './AIAgentIdentityClient';
|
|
13
|
+
export { AIAgentReputationClient, type GiveFeedbackParams } from './AIAgentReputationClient';
|
|
14
|
+
export { AIAgentValidationClient } from './AIAgentValidationClient';
|
|
15
|
+
export { AIAgentAssociationClient } from './AIAgentAssociationClient';
|
|
16
|
+
export { OrgIdentityClient } from './OrgIdentityClient';
|
|
17
|
+
export { AIAgentDiscoveryClient, type AIAgentDiscoveryClientConfig, type AgentData, type ListAgentsResponse, type GetAgentResponse, type SearchAgentsResponse, type SearchAgentsAdvancedOptions, type RefreshAgentResponse, type SemanticAgentMetadataEntry, type SemanticAgentMatch, type SemanticAgentSearchResult, } from './AIAgentDiscoveryClient';
|
|
18
|
+
export { graphQLSchemaString, buildGraphQLSchema } from './schema';
|
|
19
|
+
export { graphQLSchemaStringKb, buildGraphQLSchemaKb } from './schemaKb';
|
|
20
|
+
export type { AccountProvider, ChainConfig, ReadClient, Signer, TxSender, TxRequest, GasPolicy, TxSendResult, PreparedCall, } from '@agentic-trust/8004-sdk';
|
|
21
|
+
export { ViemAccountProvider, type ViemAccountProviderOptions, } from '@agentic-trust/8004-sdk';
|
|
22
|
+
export { buildDid8004, parseDid8004, resolveDid8004, type ParsedDid8004, type BuildDid8004Options, } from './utils/did8004';
|
|
23
|
+
export { buildEnsDid, buildEnsDidFromAgentAndOrg, parseEnsDid, type ParsedEnsDid, type BuildEnsDidOptions, } from './utils/didEns';
|
|
24
|
+
export { buildEthrDid, parseEthrDid, type ParsedEthrDid, type BuildEthrDidOptions, } from './utils/didEthr';
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,sBAAsB,EACtB,KAAK,4BAA4B,EACjC,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,GAC/B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAGzE,YAAY,EACV,eAAe,EACf,WAAW,EACX,UAAU,EACV,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,YAAY,EACZ,YAAY,GACb,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,mBAAmB,EACnB,KAAK,0BAA0B,GAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,WAAW,EACX,0BAA0B,EAC1B,WAAW,EACX,KAAK,YAAY,EACjB,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ERC8004 Agentic Trust SDK
|
|
3
|
+
*
|
|
4
|
+
* A TypeScript SDK for managing AI agents with ENS integration,
|
|
5
|
+
* identity management, and reputation systems on Ethereum L1 and L2.
|
|
6
|
+
*
|
|
7
|
+
* Uses AccountProvider (Ports & Adapters pattern) for chain I/O.
|
|
8
|
+
*/
|
|
9
|
+
export { AIAgentENSClient } from './AIAgentENSClient';
|
|
10
|
+
export { AIAgentL2ENSDurenClient } from './AIAgentL2ENSDurenClient';
|
|
11
|
+
export { AIAgentL2ENSNamespaceClient } from './AIAgentL2ENSNamespaceClient';
|
|
12
|
+
export { AIAgentIdentityClient } from './AIAgentIdentityClient';
|
|
13
|
+
export { AIAgentReputationClient } from './AIAgentReputationClient';
|
|
14
|
+
export { AIAgentValidationClient } from './AIAgentValidationClient';
|
|
15
|
+
export { AIAgentAssociationClient } from './AIAgentAssociationClient';
|
|
16
|
+
export { OrgIdentityClient } from './OrgIdentityClient';
|
|
17
|
+
export { AIAgentDiscoveryClient, } from './AIAgentDiscoveryClient';
|
|
18
|
+
export { graphQLSchemaString, buildGraphQLSchema } from './schema';
|
|
19
|
+
export { graphQLSchemaStringKb, buildGraphQLSchemaKb } from './schemaKb';
|
|
20
|
+
export { ViemAccountProvider, } from '@agentic-trust/8004-sdk';
|
|
21
|
+
export { buildDid8004, parseDid8004, resolveDid8004, } from './utils/did8004';
|
|
22
|
+
export { buildEnsDid, buildEnsDidFromAgentAndOrg, parseEnsDid, } from './utils/didEns';
|
|
23
|
+
export { buildEthrDid, parseEthrDid, } from './utils/didEthr';
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAA2B,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,sBAAsB,GAWvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAezE,OAAO,EACL,mBAAmB,GAEpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,cAAc,GAGf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,WAAW,EACX,0BAA0B,EAC1B,WAAW,GAGZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,YAAY,EACZ,YAAY,GAGb,MAAM,iBAAiB,CAAC"}
|
package/dist/schema.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared GraphQL schema for both local (Express) and Cloudflare Workers implementations.
|
|
3
|
+
*
|
|
4
|
+
* This schema corresponds to the non-KB discovery GraphQL endpoint (e.g. `/graphql`),
|
|
5
|
+
* not the GraphDB knowledge-base endpoint (`/graphql-kb`). For KB schema, see `schemaKb.ts`.
|
|
6
|
+
*/
|
|
7
|
+
import { type GraphQLSchema } from 'graphql';
|
|
8
|
+
export declare const graphQLSchemaString = "\n type OasfSkill {\n key: String!\n nameKey: String\n uid: Int\n caption: String\n extendsKey: String\n category: String\n }\n\n type OasfDomain {\n key: String!\n nameKey: String\n uid: Int\n caption: String\n extendsKey: String\n category: String\n }\n\n type IntentType {\n key: String!\n label: String\n description: String\n }\n\n type TaskType {\n key: String!\n label: String\n description: String\n }\n\n type IntentTaskMapping {\n intent: IntentType!\n task: TaskType!\n requiredSkills: [String!]!\n optionalSkills: [String!]!\n }\n\n type Agent {\n chainId: Int!\n\n agentId: String!\n agentName: String!\n\n didIdentity: String!\n didAccount: String!\n didName: String\n\n # Agent's configured account (signing/execution), stored as \"{chainId}:{0x...}\"\n agentAccount: String!\n\n # ERC-721 NFT owner account (identity owner), stored as \"{chainId}:{0x...}\"\n agentIdentityOwnerAccount: String!\n eoaAgentIdentityOwnerAccount: String\n\n eoaAgentAccount: String\n # Account typing for operational + identity owner accounts (\"eoa\" | \"aa\")\n agentAccountType: String\n agentIdentityOwnerAccountType: String\n agentCategory: String\n agentUri: String\n createdAtBlock: Int!\n createdAtTime: Int!\n type: String\n description: String\n image: String\n a2aEndpoint: String\n supportedTrust: String\n rawJson: String\n agentCardJson: String\n agentCardReadAt: Int\n updatedAtTime: Int\n did: String\n mcp: Boolean\n x402support: Boolean\n active: Boolean\n feedbackCount: Int\n feedbackAverageScore: Float\n validationPendingCount: Int\n validationCompletedCount: Int\n validationRequestedCount: Int\n initiatedAssociationCount: Int\n approvedAssociationCount: Int\n atiOverallScore: Int\n atiOverallConfidence: Float\n atiVersion: String\n atiComputedAt: Int\n atiBundleJson: String\n trustLedgerScore: Int\n trustLedgerBadgeCount: Int\n trustLedgerOverallRank: Int\n trustLedgerCapabilityRank: Int\n metadata: [AgentMetadata!]!\n }\n\n type TrustReason {\n code: String!\n weight: Float\n detail: String\n }\n\n type TrustScore {\n interfaceId: String!\n score: Float!\n reputationScore: Float!\n overlapScore: Float!\n clientMembershipCount: Int!\n agentMembershipCount: Int!\n sharedMembershipCount: Int!\n sharedMembershipKeys: [String!]!\n reasons: [TrustReason!]!\n }\n\n type AgentTrustComponent {\n component: String!\n score: Float!\n weight: Float!\n evidenceCountsJson: String\n }\n\n type AgentTrustIndex {\n chainId: Int!\n agentId: String!\n overallScore: Int!\n overallConfidence: Float\n version: String!\n computedAt: Int!\n bundleJson: String\n components: [AgentTrustComponent!]!\n }\n\n type TrustLedgerBadgeDefinition {\n badgeId: String!\n program: String!\n name: String!\n description: String\n iconRef: String\n points: Int!\n ruleId: String!\n ruleJson: String\n active: Boolean!\n createdAt: Int!\n updatedAt: Int!\n }\n\n input TrustLedgerBadgeDefinitionInput {\n badgeId: String!\n program: String!\n name: String!\n description: String\n iconRef: String\n points: Int!\n ruleId: String!\n ruleJson: String\n active: Boolean!\n }\n\n type AssociationAccount {\n id: String!\n }\n\n type Association {\n chainId: Int!\n associationId: String!\n\n initiatorAccount: AssociationAccount!\n approverAccount: AssociationAccount!\n\n initiator: String!\n approver: String!\n validAt: Int!\n validUntil: Int!\n interfaceId: String!\n data: String!\n\n initiatorKeyType: String!\n approverKeyType: String!\n initiatorSignature: String!\n approverSignature: String!\n\n revokedAt: Int\n\n createdTxHash: String!\n createdBlockNumber: Int!\n createdTimestamp: Int!\n lastUpdatedTxHash: String!\n lastUpdatedBlockNumber: Int!\n lastUpdatedTimestamp: Int!\n\n initiatorAgent: Agent\n approverAgent: Agent\n }\n\n enum AssociationRole {\n INITIATOR\n APPROVER\n ANY\n }\n\n input AssociationWhereInput {\n chainId: Int\n chainId_in: [Int!]\n associationId: String\n associationId_in: [String!]\n interfaceId: String\n interfaceId_in: [String!]\n initiatorAccountId: String\n approverAccountId: String\n initiatorAccountId_in: [String!]\n approverAccountId_in: [String!]\n revoked: Boolean\n }\n\n enum AgentOrderBy {\n agentId\n agentName\n createdAtTime\n createdAtBlock\n agentIdentityOwnerAccount\n eoaAgentIdentityOwnerAccount\n eoaAgentAccount\n agentCategory\n trustLedgerScore\n trustLedgerBadgeCount\n trustLedgerOverallRank\n trustLedgerCapabilityRank\n }\n\n enum OrderDirection {\n ASC\n DESC\n }\n\n input AgentWhereInput {\n chainId: Int\n chainId_in: [Int!]\n\n agentId: String\n agentId_in: [String!]\n\n agentIdentityOwnerAccount: String\n agentIdentityOwnerAccount_in: [String!]\n\n eoaAgentIdentityOwnerAccount: String\n eoaAgentIdentityOwnerAccount_in: [String!]\n\n agentAccount: String\n agentAccount_in: [String!]\n\n eoaAgentAccount: String\n eoaAgentAccount_in: [String!]\n\n agentCategory: String\n agentCategory_in: [String!]\n agentCategory_contains: String\n agentCategory_contains_nocase: String\n\n agentName_contains: String\n agentName_contains_nocase: String\n agentName_starts_with: String\n agentName_starts_with_nocase: String\n agentName_ends_with: String\n agentName_ends_with_nocase: String\n\n description_contains: String\n description_contains_nocase: String\n\n did: String\n did_contains: String\n did_contains_nocase: String\n\n createdAtTime_gt: Int\n createdAtTime_gte: Int\n createdAtTime_lt: Int\n createdAtTime_lte: Int\n\n hasA2aEndpoint: Boolean\n\n mcp: Boolean\n x402support: Boolean\n active: Boolean\n\n operator_in: [String!]\n supportedTrust_in: [String!]\n a2aSkills_in: [String!]\n mcpTools_in: [String!]\n mcpPrompts_in: [String!]\n mcpResources_in: [String!]\n\n feedbackCount_gt: Int\n feedbackCount_gte: Int\n feedbackCount_lt: Int\n feedbackCount_lte: Int\n\n validationPendingCount_gt: Int\n validationPendingCount_gte: Int\n validationPendingCount_lt: Int\n validationPendingCount_lte: Int\n\n validationCompletedCount_gt: Int\n validationCompletedCount_gte: Int\n validationCompletedCount_lt: Int\n validationCompletedCount_lte: Int\n\n validationRequestedCount_gt: Int\n validationRequestedCount_gte: Int\n validationRequestedCount_lt: Int\n validationRequestedCount_lte: Int\n\n feedbackAverageScore_gt: Float\n feedbackAverageScore_gte: Float\n feedbackAverageScore_lt: Float\n feedbackAverageScore_lte: Float\n\n atiOverallScore_gt: Int\n atiOverallScore_gte: Int\n atiOverallScore_lt: Int\n atiOverallScore_lte: Int\n\n trustLedgerScore_gt: Int\n trustLedgerScore_gte: Int\n trustLedgerScore_lt: Int\n trustLedgerScore_lte: Int\n\n trustLedgerBadgeCount_gt: Int\n trustLedgerBadgeCount_gte: Int\n trustLedgerBadgeCount_lt: Int\n trustLedgerBadgeCount_lte: Int\n\n trustLedgerOverallRank_gt: Int\n trustLedgerOverallRank_gte: Int\n trustLedgerOverallRank_lt: Int\n trustLedgerOverallRank_lte: Int\n\n trustLedgerCapabilityRank_gt: Int\n trustLedgerCapabilityRank_gte: Int\n trustLedgerCapabilityRank_lt: Int\n trustLedgerCapabilityRank_lte: Int\n }\n\n type AgentSearchResult {\n agents: [Agent!]!\n total: Int!\n hasMore: Boolean!\n }\n\n type AgentMetadata {\n chainId: Int!\n agentId: String!\n id: String!\n key: String!\n value: String\n valueText: String\n indexedKey: String\n updatedAtTime: Int\n }\n\n type AgentMetadataSearchResult {\n entries: [AgentMetadata!]!\n total: Int!\n hasMore: Boolean!\n }\n\n type SemanticAgentMatch {\n agent: Agent\n score: Float!\n matchReasons: [String!]\n matchedSkills: [String!]\n }\n\n type SemanticAgentSearchResult {\n matches: [SemanticAgentMatch!]!\n total: Int!\n intentType: String\n }\n\n input SemanticAgentSearchInput {\n # Natural language query (optional if intentJson is provided)\n text: String\n # Structured intent payload as JSON string (optional if text is provided)\n intentJson: String\n topK: Int\n minScore: Float\n requiredSkills: [String!]\n filters: SemanticSearchFilterInput\n }\n\n input SemanticSearchFilterInput {\n capabilities: [String!]\n inputMode: String\n outputMode: String\n tags: [String!]\n }\n\n enum AgentMetadataOrderBy {\n agentId\n key\n updatedAtTime\n }\n\n input AgentMetadataWhereInput {\n chainId: Int\n agentId: String\n agentId_in: [String!]\n key: String\n key_in: [String!]\n key_contains: String\n key_contains_nocase: String\n valueText_contains: String\n valueText_contains_nocase: String\n value_contains: String\n }\n\n type AccessCode {\n address: String!\n accessCode: String!\n createdAt: Int!\n }\n\n type RepFeedback {\n id: ID!\n chainId: Int!\n agentId: String!\n clientAddress: String!\n feedbackIndex: Int!\n score: Int\n tag1: String\n tag2: String\n feedbackUri: String\n feedbackJson: String\n agentRegistry: String\n feedbackCreatedAt: String\n feedbackAuth: String\n skill: String\n capability: String\n contextJson: String\n feedbackType: String\n domain: String\n comment: String\n ratingPct: Int\n feedbackTimestamp: String\n feedbackHash: String\n txHash: String\n blockNumber: Int\n timestamp: Int\n isRevoked: Boolean\n revokedTxHash: String\n revokedBlockNumber: Int\n revokedTimestamp: Int\n responseCount: Int\n }\n\n type RepFeedbackRevocation {\n id: ID!\n chainId: Int!\n agentId: String!\n clientAddress: String!\n feedbackIndex: Int!\n txHash: String\n blockNumber: Int\n timestamp: Int\n }\n\n type RepFeedbackResponse {\n id: ID!\n chainId: Int!\n agentId: String!\n clientAddress: String!\n feedbackIndex: Int!\n responder: String\n responseUri: String\n responseJson: String\n responseHash: String\n txHash: String\n blockNumber: Int\n timestamp: Int\n }\n\n type ValidationRequest {\n id: ID!\n chainId: Int!\n agentId: String!\n validatorAddress: String!\n requestUri: String\n requestJson: String\n requestHash: String\n txHash: String\n blockNumber: Int\n timestamp: Int\n createdAt: Int\n updatedAt: Int\n }\n\n type ValidationResponse {\n id: ID!\n chainId: Int!\n agentId: String!\n validatorAddress: String!\n requestHash: String\n response: Int\n responseUri: String\n responseJson: String\n responseHash: String\n tag: String\n txHash: String\n blockNumber: Int\n timestamp: Int\n createdAt: Int\n updatedAt: Int\n }\n\n enum FeedbackOrderBy {\n blockNumber\n timestamp\n score\n ratingPct\n feedbackIndex\n responseCount\n }\n\n input FeedbackWhereInput {\n chainId: Int\n chainId_in: [Int!]\n\n agentId: String\n agentId_in: [String!]\n\n clientAddress: String\n clientAddress_in: [String!]\n\n feedbackIndex: Int\n feedbackIndex_in: [Int!]\n\n score_gt: Int\n score_gte: Int\n score_lt: Int\n score_lte: Int\n\n ratingPct_gt: Int\n ratingPct_gte: Int\n ratingPct_lt: Int\n ratingPct_lte: Int\n\n isRevoked: Boolean\n\n domain_contains: String\n domain_contains_nocase: String\n\n comment_contains: String\n comment_contains_nocase: String\n\n feedbackUri_contains: String\n feedbackUri_contains_nocase: String\n\n feedbackType_in: [String!]\n feedbackType_contains: String\n feedbackType_contains_nocase: String\n\n feedbackHash: String\n feedbackHash_in: [String!]\n\n tag1: String\n tag2: String\n\n txHash: String\n txHash_in: [String!]\n\n responseCount_gt: Int\n responseCount_gte: Int\n responseCount_lt: Int\n responseCount_lte: Int\n\n timestamp_gt: Int\n timestamp_gte: Int\n timestamp_lt: Int\n timestamp_lte: Int\n }\n\n type FeedbackSearchResult {\n feedbacks: [RepFeedback!]!\n total: Int!\n hasMore: Boolean!\n }\n\n type Query {\n oasfSkills(key: String, nameKey: String, category: String, extendsKey: String, limit: Int, offset: Int, orderBy: String, orderDirection: String): [OasfSkill!]!\n\n oasfDomains(key: String, nameKey: String, category: String, extendsKey: String, limit: Int, offset: Int, orderBy: String, orderDirection: String): [OasfDomain!]!\n\n intentTypes(key: String, label: String, limit: Int, offset: Int): [IntentType!]!\n\n taskTypes(key: String, label: String, limit: Int, offset: Int): [TaskType!]!\n\n intentTaskMappings(intentKey: String, taskKey: String, limit: Int, offset: Int): [IntentTaskMapping!]!\n\n agents(chainId: Int, agentId: String, agentIdentityOwnerAccount: String, agentName: String, limit: Int, offset: Int, orderBy: String, orderDirection: String): [Agent!]!\n\n agent(chainId: Int!, agentId: String!): Agent\n\n agentByName(agentName: String!): Agent\n\n agentsByChain(chainId: Int!, limit: Int, offset: Int, orderBy: String, orderDirection: String): [Agent!]!\n\n agentsByOwner(agentIdentityOwnerAccount: String!, chainId: Int, limit: Int, offset: Int, orderBy: String, orderDirection: String): [Agent!]!\n\n searchAgents(query: String!, chainId: Int, limit: Int, offset: Int, orderBy: String, orderDirection: String): [Agent!]!\n\n searchAgentsGraph(where: AgentWhereInput, first: Int, skip: Int, orderBy: AgentOrderBy, orderDirection: OrderDirection): AgentSearchResult!\n\n getAccessCode(address: String!): AccessCode\n\n countAgents(chainId: Int, agentId: String, agentIdentityOwnerAccount: String, agentName: String): Int!\n\n semanticAgentSearch(input: SemanticAgentSearchInput!): SemanticAgentSearchResult!\n\n agentMetadata(where: AgentMetadataWhereInput, first: Int, skip: Int, orderBy: AgentMetadataOrderBy, orderDirection: OrderDirection): AgentMetadataSearchResult!\n\n agentMetadataById(chainId: Int!, id: String!): AgentMetadata\n\n associations(where: AssociationWhereInput, first: Int, skip: Int, orderBy: String, orderDirection: String): [Association!]!\n\n agentAssociations(chainId: Int!, agentId: String!, role: AssociationRole, interfaceId: String, first: Int, skip: Int): [Association!]!\n\n graphqlEndpointAssociations(chainId: Int!, agentId: String!, role: AssociationRole, first: Int, skip: Int): [Association!]!\n\n graphqlEndpointAssociationsBetween(chainId: Int!, agentId: String!, agentIdB: String!, first: Int, skip: Int): [Association!]!\n\n trustScore(chainId: Int!, agentId: String!, client: String!, interfaceId: String): TrustScore!\n\n agentTrustIndex(chainId: Int!, agentId: String!): AgentTrustIndex\n agentTrustComponents(chainId: Int!, agentId: String!): [AgentTrustComponent!]!\n\n trustLedgerBadgeDefinitions(program: String, active: Boolean): [TrustLedgerBadgeDefinition!]!\n\n feedbacks(chainId: Int, agentId: String, clientAddress: String, feedbackIndex: Int, limit: Int, offset: Int, orderBy: String, orderDirection: String): [RepFeedback!]!\n\n feedback(id: ID!): RepFeedback\n\n feedbackByReference(chainId: Int!, agentId: String!, clientAddress: String!, feedbackIndex: Int!): RepFeedback\n\n searchFeedbacks(query: String!, chainId: Int, agentId: String, limit: Int, offset: Int, orderBy: String, orderDirection: String): [RepFeedback!]!\n\n searchFeedbacksGraph(where: FeedbackWhereInput, first: Int, skip: Int, orderBy: FeedbackOrderBy, orderDirection: OrderDirection): FeedbackSearchResult!\n\n countFeedbacks(chainId: Int, agentId: String, clientAddress: String, feedbackIndex: Int, isRevoked: Boolean): Int!\n\n feedbackResponses(chainId: Int, agentId: String, clientAddress: String, feedbackIndex: Int, limit: Int, offset: Int, orderBy: String, orderDirection: String): [RepFeedbackResponse!]!\n\n feedbackRevocations(chainId: Int, agentId: String, clientAddress: String, feedbackIndex: Int, limit: Int, offset: Int, orderBy: String, orderDirection: String): [RepFeedbackRevocation!]!\n\n validationRequests(chainId: Int, agentId: String, validatorAddress: String, requestHash: String, limit: Int, offset: Int, orderBy: String, orderDirection: String): [ValidationRequest!]!\n\n validationRequest(id: ID!): ValidationRequest\n\n validationResponses(chainId: Int, agentId: String, validatorAddress: String, requestHash: String, tag: String, response: Int, limit: Int, offset: Int, orderBy: String, orderDirection: String): [ValidationResponse!]!\n\n validationResponse(id: ID!): ValidationResponse\n\n countValidationRequests(chainId: Int, agentId: String, validatorAddress: String, requestHash: String): Int!\n\n countValidationResponses(chainId: Int, agentId: String, validatorAddress: String, requestHash: String, tag: String): Int!\n\n fetchAgentCard(url: String!, authHeader: String): String!\n callA2A(url: String!, method: String!, paramsJson: String, authHeader: String): String!\n }\n\n type Mutation {\n createAccessCode(address: String!): AccessCode!\n indexAgent(agentId: String!, chainId: Int): IndexAgentResult!\n indexAgentByUaid(uaid: String!): IndexAgentResult!\n\n upsertTrustLedgerBadgeDefinition(input: TrustLedgerBadgeDefinitionInput!): TrustLedgerBadgeDefinition!\n\n setTrustLedgerBadgeActive(badgeId: String!, active: Boolean!): TrustLedgerBadgeDefinition!\n }\n\n type IndexAgentResult {\n success: Boolean!\n message: String!\n processedChains: [String!]!\n }\n";
|
|
9
|
+
/**
|
|
10
|
+
* Build GraphQL schema from shared schema string.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildGraphQLSchema(): GraphQLSchema;
|
|
13
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../schema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAE1D,eAAO,MAAM,mBAAmB,sojBAyqB/B,CAAC;AAEF;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,aAAa,CAElD"}
|