@kya-os/contracts 1.7.21 → 1.7.23

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.
@@ -32,23 +32,23 @@ export declare const RegistrationResultSchema: z.ZodObject<{
32
32
  mirrorStatus: z.ZodEnum<["pending", "success", "error"]>;
33
33
  mirrorLink: z.ZodOptional<z.ZodString>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- mirrorStatus: "success" | "pending" | "error";
36
35
  agentDID: string;
37
36
  agentURL: string;
38
37
  verificationEndpoint: string;
39
38
  conformanceCapabilities: ["handshake", "signing", "verification"];
40
39
  agentId: string;
41
40
  agentSlug: string;
41
+ mirrorStatus: "pending" | "success" | "error";
42
42
  claimURL?: string | undefined;
43
43
  mirrorLink?: string | undefined;
44
44
  }, {
45
- mirrorStatus: "success" | "pending" | "error";
46
45
  agentDID: string;
47
46
  agentURL: string;
48
47
  verificationEndpoint: string;
49
48
  conformanceCapabilities: ["handshake", "signing", "verification"];
50
49
  agentId: string;
51
50
  agentSlug: string;
51
+ mirrorStatus: "pending" | "success" | "error";
52
52
  claimURL?: string | undefined;
53
53
  mirrorLink?: string | undefined;
54
54
  }>;
@@ -57,12 +57,12 @@ export declare const ClaimTokenSchema: z.ZodObject<{
57
57
  expiresAt: z.ZodNumber;
58
58
  ttlHours: z.ZodDefault<z.ZodNumber>;
59
59
  }, "strip", z.ZodTypeAny, {
60
- expiresAt: number;
61
60
  token: string;
61
+ expiresAt: number;
62
62
  ttlHours: number;
63
63
  }, {
64
- expiresAt: number;
65
64
  token: string;
65
+ expiresAt: number;
66
66
  ttlHours?: number | undefined;
67
67
  }>;
68
68
  export declare const MirrorStatusSchema: z.ZodObject<{
@@ -71,12 +71,12 @@ export declare const MirrorStatusSchema: z.ZodObject<{
71
71
  errorMessage: z.ZodOptional<z.ZodString>;
72
72
  registryURL: z.ZodOptional<z.ZodString>;
73
73
  }, "strip", z.ZodTypeAny, {
74
- status: "success" | "pending" | "error";
74
+ status: "pending" | "success" | "error";
75
75
  lastUpdated: number;
76
76
  errorMessage?: string | undefined;
77
77
  registryURL?: string | undefined;
78
78
  }, {
79
- status: "success" | "pending" | "error";
79
+ status: "pending" | "success" | "error";
80
80
  lastUpdated: number;
81
81
  errorMessage?: string | undefined;
82
82
  registryURL?: string | undefined;
@@ -91,38 +91,38 @@ export declare const AgentStatusSchema: z.ZodObject<{
91
91
  errorMessage: z.ZodOptional<z.ZodString>;
92
92
  registryURL: z.ZodOptional<z.ZodString>;
93
93
  }, "strip", z.ZodTypeAny, {
94
- status: "success" | "pending" | "error";
94
+ status: "pending" | "success" | "error";
95
95
  lastUpdated: number;
96
96
  errorMessage?: string | undefined;
97
97
  registryURL?: string | undefined;
98
98
  }, {
99
- status: "success" | "pending" | "error";
99
+ status: "pending" | "success" | "error";
100
100
  lastUpdated: number;
101
101
  errorMessage?: string | undefined;
102
102
  registryURL?: string | undefined;
103
103
  }>;
104
104
  lastHandshake: z.ZodOptional<z.ZodNumber>;
105
105
  }, "strip", z.ZodTypeAny, {
106
- did: string;
107
- kid: string;
108
- ktaURL: string;
109
106
  mirrorStatus: {
110
- status: "success" | "pending" | "error";
107
+ status: "pending" | "success" | "error";
111
108
  lastUpdated: number;
112
109
  errorMessage?: string | undefined;
113
110
  registryURL?: string | undefined;
114
111
  };
115
- lastHandshake?: number | undefined;
116
- }, {
117
112
  did: string;
118
113
  kid: string;
119
114
  ktaURL: string;
115
+ lastHandshake?: number | undefined;
116
+ }, {
120
117
  mirrorStatus: {
121
- status: "success" | "pending" | "error";
118
+ status: "pending" | "success" | "error";
122
119
  lastUpdated: number;
123
120
  errorMessage?: string | undefined;
124
121
  registryURL?: string | undefined;
125
122
  };
123
+ did: string;
124
+ kid: string;
125
+ ktaURL: string;
126
126
  lastHandshake?: number | undefined;
127
127
  }>;
128
128
  /**
@@ -137,21 +137,21 @@ export declare const DelegationSchema: z.ZodObject<{
137
137
  aud: z.ZodOptional<z.ZodString>;
138
138
  delegationRef: z.ZodOptional<z.ZodString>;
139
139
  }, "strip", z.ZodTypeAny, {
140
- scopes: string[];
141
- subject: string;
142
140
  issuer: string;
141
+ subject: string;
142
+ scopes: string[];
143
143
  nbf: number;
144
144
  exp: number;
145
- delegationRef?: string | undefined;
146
145
  aud?: string | undefined;
146
+ delegationRef?: string | undefined;
147
147
  }, {
148
- scopes: string[];
149
- subject: string;
150
148
  issuer: string;
149
+ subject: string;
150
+ scopes: string[];
151
151
  nbf: number;
152
152
  exp: number;
153
- delegationRef?: string | undefined;
154
153
  aud?: string | undefined;
154
+ delegationRef?: string | undefined;
155
155
  }>;
156
156
  export declare const DelegationRequestSchema: z.ZodObject<{
157
157
  subject: z.ZodString;
@@ -159,15 +159,15 @@ export declare const DelegationRequestSchema: z.ZodObject<{
159
159
  duration: z.ZodOptional<z.ZodNumber>;
160
160
  audience: z.ZodOptional<z.ZodString>;
161
161
  }, "strip", z.ZodTypeAny, {
162
- scopes: string[];
163
162
  subject: string;
164
- audience?: string | undefined;
163
+ scopes: string[];
165
164
  duration?: number | undefined;
165
+ audience?: string | undefined;
166
166
  }, {
167
- scopes: string[];
168
167
  subject: string;
169
- audience?: string | undefined;
168
+ scopes: string[];
170
169
  duration?: number | undefined;
170
+ audience?: string | undefined;
171
171
  }>;
172
172
  /**
173
173
  * Storage mode configuration for verifiable credentials and delegations
@@ -187,19 +187,19 @@ export declare const ReceiptSchema: z.ZodObject<{
187
187
  logRoot: z.ZodString;
188
188
  inclusionProof: z.ZodArray<z.ZodString, "many">;
189
189
  }, "strip", z.ZodTypeAny, {
190
- ts: string | number;
191
190
  ref: string;
192
191
  contentHash: string;
193
192
  action: "issue" | "revoke";
193
+ ts: string | number;
194
194
  logIndex: number;
195
195
  logRoot: string;
196
196
  inclusionProof: string[];
197
197
  $schema?: "https://schema.modelcontextprotocol-identity.io/xmcp-i/registry/receipt.v1.0.0.json" | undefined;
198
198
  }, {
199
- ts: string | number;
200
199
  ref: string;
201
200
  contentHash: string;
202
201
  action: "issue" | "revoke";
202
+ ts: string | number;
203
203
  logIndex: number;
204
204
  logRoot: string;
205
205
  inclusionProof: string[];
@@ -215,21 +215,21 @@ export declare const DelegationResponseSchema: z.ZodObject<{
215
215
  aud: z.ZodOptional<z.ZodString>;
216
216
  delegationRef: z.ZodOptional<z.ZodString>;
217
217
  }, "strip", z.ZodTypeAny, {
218
- scopes: string[];
219
- subject: string;
220
218
  issuer: string;
219
+ subject: string;
220
+ scopes: string[];
221
221
  nbf: number;
222
222
  exp: number;
223
- delegationRef?: string | undefined;
224
223
  aud?: string | undefined;
224
+ delegationRef?: string | undefined;
225
225
  }, {
226
- scopes: string[];
227
- subject: string;
228
226
  issuer: string;
227
+ subject: string;
228
+ scopes: string[];
229
229
  nbf: number;
230
230
  exp: number;
231
- delegationRef?: string | undefined;
232
231
  aud?: string | undefined;
232
+ delegationRef?: string | undefined;
233
233
  }>;
234
234
  receipt: z.ZodObject<{
235
235
  $schema: z.ZodOptional<z.ZodLiteral<"https://schema.modelcontextprotocol-identity.io/xmcp-i/registry/receipt.v1.0.0.json">>;
@@ -241,19 +241,19 @@ export declare const DelegationResponseSchema: z.ZodObject<{
241
241
  logRoot: z.ZodString;
242
242
  inclusionProof: z.ZodArray<z.ZodString, "many">;
243
243
  }, "strip", z.ZodTypeAny, {
244
- ts: string | number;
245
244
  ref: string;
246
245
  contentHash: string;
247
246
  action: "issue" | "revoke";
247
+ ts: string | number;
248
248
  logIndex: number;
249
249
  logRoot: string;
250
250
  inclusionProof: string[];
251
251
  $schema?: "https://schema.modelcontextprotocol-identity.io/xmcp-i/registry/receipt.v1.0.0.json" | undefined;
252
252
  }, {
253
- ts: string | number;
254
253
  ref: string;
255
254
  contentHash: string;
256
255
  action: "issue" | "revoke";
256
+ ts: string | number;
257
257
  logIndex: number;
258
258
  logRoot: string;
259
259
  inclusionProof: string[];
@@ -262,19 +262,19 @@ export declare const DelegationResponseSchema: z.ZodObject<{
262
262
  encryptedPayload: z.ZodOptional<z.ZodString>;
263
263
  }, "strip", z.ZodTypeAny, {
264
264
  delegation: {
265
- scopes: string[];
266
- subject: string;
267
265
  issuer: string;
266
+ subject: string;
267
+ scopes: string[];
268
268
  nbf: number;
269
269
  exp: number;
270
- delegationRef?: string | undefined;
271
270
  aud?: string | undefined;
271
+ delegationRef?: string | undefined;
272
272
  };
273
273
  receipt: {
274
- ts: string | number;
275
274
  ref: string;
276
275
  contentHash: string;
277
276
  action: "issue" | "revoke";
277
+ ts: string | number;
278
278
  logIndex: number;
279
279
  logRoot: string;
280
280
  inclusionProof: string[];
@@ -283,19 +283,19 @@ export declare const DelegationResponseSchema: z.ZodObject<{
283
283
  encryptedPayload?: string | undefined;
284
284
  }, {
285
285
  delegation: {
286
- scopes: string[];
287
- subject: string;
288
286
  issuer: string;
287
+ subject: string;
288
+ scopes: string[];
289
289
  nbf: number;
290
290
  exp: number;
291
- delegationRef?: string | undefined;
292
291
  aud?: string | undefined;
292
+ delegationRef?: string | undefined;
293
293
  };
294
294
  receipt: {
295
- ts: string | number;
296
295
  ref: string;
297
296
  contentHash: string;
298
297
  action: "issue" | "revoke";
298
+ ts: string | number;
299
299
  logIndex: number;
300
300
  logRoot: string;
301
301
  inclusionProof: string[];
@@ -69,8 +69,8 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
69
69
  priorWeight: number;
70
70
  }>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
- confidence: number;
73
72
  score: number;
73
+ confidence: number;
74
74
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
75
75
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
76
76
  isProvisional: boolean;
@@ -82,8 +82,8 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
82
82
  priorWeight: number;
83
83
  } | undefined;
84
84
  }, {
85
- confidence: number;
86
85
  score: number;
86
+ confidence: number;
87
87
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
88
88
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
89
89
  isProvisional: boolean;
@@ -105,18 +105,18 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
105
105
  region: z.ZodOptional<z.ZodString>;
106
106
  }, "strip", z.ZodTypeAny, {
107
107
  scope: string;
108
- region?: string | undefined;
109
108
  domain?: string | undefined;
110
- }, {
111
109
  region?: string | undefined;
112
- scope?: string | undefined;
110
+ }, {
113
111
  domain?: string | undefined;
112
+ scope?: string | undefined;
113
+ region?: string | undefined;
114
114
  }>>;
115
115
  }, "strip", z.ZodTypeAny, {
116
116
  id: string;
117
117
  reputation: {
118
- confidence: number;
119
118
  score: number;
119
+ confidence: number;
120
120
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
121
121
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
122
122
  isProvisional: boolean;
@@ -130,14 +130,14 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
130
130
  };
131
131
  context?: {
132
132
  scope: string;
133
- region?: string | undefined;
134
133
  domain?: string | undefined;
134
+ region?: string | undefined;
135
135
  } | undefined;
136
136
  }, {
137
137
  id: string;
138
138
  reputation: {
139
- confidence: number;
140
139
  score: number;
140
+ confidence: number;
141
141
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
142
142
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
143
143
  isProvisional: boolean;
@@ -150,9 +150,9 @@ export declare const ReputationCredentialSubjectSchema: z.ZodObject<{
150
150
  } | undefined;
151
151
  };
152
152
  context?: {
153
- region?: string | undefined;
154
- scope?: string | undefined;
155
153
  domain?: string | undefined;
154
+ scope?: string | undefined;
155
+ region?: string | undefined;
156
156
  } | undefined;
157
157
  }>;
158
158
  export type ReputationCredentialSubject = z.infer<typeof ReputationCredentialSubjectSchema>;
@@ -221,8 +221,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
221
221
  priorWeight: number;
222
222
  }>>;
223
223
  }, "strip", z.ZodTypeAny, {
224
- confidence: number;
225
224
  score: number;
225
+ confidence: number;
226
226
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
227
227
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
228
228
  isProvisional: boolean;
@@ -234,8 +234,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
234
234
  priorWeight: number;
235
235
  } | undefined;
236
236
  }, {
237
- confidence: number;
238
237
  score: number;
238
+ confidence: number;
239
239
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
240
240
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
241
241
  isProvisional: boolean;
@@ -257,18 +257,18 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
257
257
  region: z.ZodOptional<z.ZodString>;
258
258
  }, "strip", z.ZodTypeAny, {
259
259
  scope: string;
260
- region?: string | undefined;
261
260
  domain?: string | undefined;
262
- }, {
263
261
  region?: string | undefined;
264
- scope?: string | undefined;
262
+ }, {
265
263
  domain?: string | undefined;
264
+ scope?: string | undefined;
265
+ region?: string | undefined;
266
266
  }>>;
267
267
  }, "strip", z.ZodTypeAny, {
268
268
  id: string;
269
269
  reputation: {
270
- confidence: number;
271
270
  score: number;
271
+ confidence: number;
272
272
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
273
273
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
274
274
  isProvisional: boolean;
@@ -282,14 +282,14 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
282
282
  };
283
283
  context?: {
284
284
  scope: string;
285
- region?: string | undefined;
286
285
  domain?: string | undefined;
286
+ region?: string | undefined;
287
287
  } | undefined;
288
288
  }, {
289
289
  id: string;
290
290
  reputation: {
291
- confidence: number;
292
291
  score: number;
292
+ confidence: number;
293
293
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
294
294
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
295
295
  isProvisional: boolean;
@@ -302,9 +302,9 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
302
302
  } | undefined;
303
303
  };
304
304
  context?: {
305
- region?: string | undefined;
306
- scope?: string | undefined;
307
305
  domain?: string | undefined;
306
+ scope?: string | undefined;
307
+ region?: string | undefined;
308
308
  } | undefined;
309
309
  }>;
310
310
  credentialStatus: z.ZodOptional<z.ZodObject<{
@@ -391,8 +391,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
391
391
  priorWeight: number;
392
392
  }>>;
393
393
  }, "strip", z.ZodTypeAny, {
394
- confidence: number;
395
394
  score: number;
395
+ confidence: number;
396
396
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
397
397
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
398
398
  isProvisional: boolean;
@@ -404,8 +404,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
404
404
  priorWeight: number;
405
405
  } | undefined;
406
406
  }, {
407
- confidence: number;
408
407
  score: number;
408
+ confidence: number;
409
409
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
410
410
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
411
411
  isProvisional: boolean;
@@ -427,18 +427,18 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
427
427
  region: z.ZodOptional<z.ZodString>;
428
428
  }, "strip", z.ZodTypeAny, {
429
429
  scope: string;
430
- region?: string | undefined;
431
430
  domain?: string | undefined;
432
- }, {
433
431
  region?: string | undefined;
434
- scope?: string | undefined;
432
+ }, {
435
433
  domain?: string | undefined;
434
+ scope?: string | undefined;
435
+ region?: string | undefined;
436
436
  }>>;
437
437
  }, "strip", z.ZodTypeAny, {
438
438
  id: string;
439
439
  reputation: {
440
- confidence: number;
441
440
  score: number;
441
+ confidence: number;
442
442
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
443
443
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
444
444
  isProvisional: boolean;
@@ -452,14 +452,14 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
452
452
  };
453
453
  context?: {
454
454
  scope: string;
455
- region?: string | undefined;
456
455
  domain?: string | undefined;
456
+ region?: string | undefined;
457
457
  } | undefined;
458
458
  }, {
459
459
  id: string;
460
460
  reputation: {
461
- confidence: number;
462
461
  score: number;
462
+ confidence: number;
463
463
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
464
464
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
465
465
  isProvisional: boolean;
@@ -472,9 +472,9 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
472
472
  } | undefined;
473
473
  };
474
474
  context?: {
475
- region?: string | undefined;
476
- scope?: string | undefined;
477
475
  domain?: string | undefined;
476
+ scope?: string | undefined;
477
+ region?: string | undefined;
478
478
  } | undefined;
479
479
  }>;
480
480
  credentialStatus: z.ZodOptional<z.ZodObject<{
@@ -561,8 +561,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
561
561
  priorWeight: number;
562
562
  }>>;
563
563
  }, "strip", z.ZodTypeAny, {
564
- confidence: number;
565
564
  score: number;
565
+ confidence: number;
566
566
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
567
567
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
568
568
  isProvisional: boolean;
@@ -574,8 +574,8 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
574
574
  priorWeight: number;
575
575
  } | undefined;
576
576
  }, {
577
- confidence: number;
578
577
  score: number;
578
+ confidence: number;
579
579
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
580
580
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
581
581
  isProvisional: boolean;
@@ -597,18 +597,18 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
597
597
  region: z.ZodOptional<z.ZodString>;
598
598
  }, "strip", z.ZodTypeAny, {
599
599
  scope: string;
600
- region?: string | undefined;
601
600
  domain?: string | undefined;
602
- }, {
603
601
  region?: string | undefined;
604
- scope?: string | undefined;
602
+ }, {
605
603
  domain?: string | undefined;
604
+ scope?: string | undefined;
605
+ region?: string | undefined;
606
606
  }>>;
607
607
  }, "strip", z.ZodTypeAny, {
608
608
  id: string;
609
609
  reputation: {
610
- confidence: number;
611
610
  score: number;
611
+ confidence: number;
612
612
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
613
613
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
614
614
  isProvisional: boolean;
@@ -622,14 +622,14 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
622
622
  };
623
623
  context?: {
624
624
  scope: string;
625
- region?: string | undefined;
626
625
  domain?: string | undefined;
626
+ region?: string | undefined;
627
627
  } | undefined;
628
628
  }, {
629
629
  id: string;
630
630
  reputation: {
631
- confidence: number;
632
631
  score: number;
632
+ confidence: number;
633
633
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
634
634
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
635
635
  isProvisional: boolean;
@@ -642,9 +642,9 @@ export declare const ReputationCredentialSchema: z.ZodObject<{
642
642
  } | undefined;
643
643
  };
644
644
  context?: {
645
- region?: string | undefined;
646
- scope?: string | undefined;
647
645
  domain?: string | undefined;
646
+ scope?: string | undefined;
647
+ region?: string | undefined;
648
648
  } | undefined;
649
649
  }>;
650
650
  credentialStatus: z.ZodOptional<z.ZodObject<{
@@ -996,8 +996,8 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
996
996
  priorWeight: number;
997
997
  }>>;
998
998
  }, "strip", z.ZodTypeAny, {
999
- confidence: number;
1000
999
  score: number;
1000
+ confidence: number;
1001
1001
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1002
1002
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1003
1003
  isProvisional: boolean;
@@ -1009,8 +1009,8 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1009
1009
  priorWeight: number;
1010
1010
  } | undefined;
1011
1011
  }, {
1012
- confidence: number;
1013
1012
  score: number;
1013
+ confidence: number;
1014
1014
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1015
1015
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1016
1016
  isProvisional: boolean;
@@ -1032,18 +1032,18 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1032
1032
  region: z.ZodOptional<z.ZodString>;
1033
1033
  }, "strip", z.ZodTypeAny, {
1034
1034
  scope: string;
1035
- region?: string | undefined;
1036
1035
  domain?: string | undefined;
1037
- }, {
1038
1036
  region?: string | undefined;
1039
- scope?: string | undefined;
1037
+ }, {
1040
1038
  domain?: string | undefined;
1039
+ scope?: string | undefined;
1040
+ region?: string | undefined;
1041
1041
  }>>;
1042
1042
  }, "strip", z.ZodTypeAny, {
1043
1043
  id: string;
1044
1044
  reputation: {
1045
- confidence: number;
1046
1045
  score: number;
1046
+ confidence: number;
1047
1047
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1048
1048
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1049
1049
  isProvisional: boolean;
@@ -1057,14 +1057,14 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1057
1057
  };
1058
1058
  context?: {
1059
1059
  scope: string;
1060
- region?: string | undefined;
1061
1060
  domain?: string | undefined;
1061
+ region?: string | undefined;
1062
1062
  } | undefined;
1063
1063
  }, {
1064
1064
  id: string;
1065
1065
  reputation: {
1066
- confidence: number;
1067
1066
  score: number;
1067
+ confidence: number;
1068
1068
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1069
1069
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1070
1070
  isProvisional: boolean;
@@ -1077,9 +1077,9 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1077
1077
  } | undefined;
1078
1078
  };
1079
1079
  context?: {
1080
- region?: string | undefined;
1081
- scope?: string | undefined;
1082
1080
  domain?: string | undefined;
1081
+ scope?: string | undefined;
1082
+ region?: string | undefined;
1083
1083
  } | undefined;
1084
1084
  }>;
1085
1085
  credentialStatus: z.ZodOptional<z.ZodObject<{
@@ -1166,8 +1166,8 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1166
1166
  priorWeight: number;
1167
1167
  }>>;
1168
1168
  }, "strip", z.ZodTypeAny, {
1169
- confidence: number;
1170
1169
  score: number;
1170
+ confidence: number;
1171
1171
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1172
1172
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1173
1173
  isProvisional: boolean;
@@ -1179,8 +1179,8 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1179
1179
  priorWeight: number;
1180
1180
  } | undefined;
1181
1181
  }, {
1182
- confidence: number;
1183
1182
  score: number;
1183
+ confidence: number;
1184
1184
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1185
1185
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1186
1186
  isProvisional: boolean;
@@ -1202,18 +1202,18 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1202
1202
  region: z.ZodOptional<z.ZodString>;
1203
1203
  }, "strip", z.ZodTypeAny, {
1204
1204
  scope: string;
1205
- region?: string | undefined;
1206
1205
  domain?: string | undefined;
1207
- }, {
1208
1206
  region?: string | undefined;
1209
- scope?: string | undefined;
1207
+ }, {
1210
1208
  domain?: string | undefined;
1209
+ scope?: string | undefined;
1210
+ region?: string | undefined;
1211
1211
  }>>;
1212
1212
  }, "strip", z.ZodTypeAny, {
1213
1213
  id: string;
1214
1214
  reputation: {
1215
- confidence: number;
1216
1215
  score: number;
1216
+ confidence: number;
1217
1217
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1218
1218
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1219
1219
  isProvisional: boolean;
@@ -1227,14 +1227,14 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1227
1227
  };
1228
1228
  context?: {
1229
1229
  scope: string;
1230
- region?: string | undefined;
1231
1230
  domain?: string | undefined;
1231
+ region?: string | undefined;
1232
1232
  } | undefined;
1233
1233
  }, {
1234
1234
  id: string;
1235
1235
  reputation: {
1236
- confidence: number;
1237
1236
  score: number;
1237
+ confidence: number;
1238
1238
  confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
1239
1239
  level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
1240
1240
  isProvisional: boolean;
@@ -1247,9 +1247,9 @@ export declare function validateReputationCredential(credential: unknown): z.Saf
1247
1247
  } | undefined;
1248
1248
  };
1249
1249
  context?: {
1250
- region?: string | undefined;
1251
- scope?: string | undefined;
1252
1250
  domain?: string | undefined;
1251
+ scope?: string | undefined;
1252
+ region?: string | undefined;
1253
1253
  } | undefined;
1254
1254
  }>;
1255
1255
  credentialStatus: z.ZodOptional<z.ZodObject<{