@kya-os/contracts 1.7.26 → 1.7.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-deployment-utils.d.ts +20 -0
- package/dist/agent-deployment-utils.js +37 -0
- package/dist/agent-deployment.d.ts +19 -19
- package/dist/agent-deployment.js +2 -1
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +462 -462
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +44 -44
- package/dist/compute-binding.d.ts +6 -6
- package/dist/compute.d.ts +27 -8
- package/dist/compute.js +6 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +72 -72
- package/dist/dashboard-config/schemas.d.ts +2191 -2191
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +610 -610
- package/dist/deploy/schemas.d.ts +84 -84
- package/dist/gateway/index.d.ts +579 -0
- package/dist/gateway/index.js +103 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +116 -116
- package/dist/molti/schemas.d.ts +98 -98
- package/dist/openclaw/index.d.ts +20 -0
- package/dist/openclaw/index.js +28 -0
- package/dist/openclaw/types.d.ts +714 -0
- package/dist/openclaw/types.js +122 -0
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +553 -553
- package/dist/proof/proof-record.d.ts +48 -48
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +24 -24
- package/dist/reputation/api.d.ts +156 -156
- package/dist/reputation/credentials.d.ts +48 -48
- package/dist/reputation/schemas.d.ts +48 -48
- package/dist/test.d.ts +22 -22
- package/dist/tlkrc/rotation.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +22 -22
- package/dist/verifier.d.ts +17 -17
- package/dist/well-known/index.d.ts +72 -72
- package/package.json +10 -2
package/dist/reputation/api.d.ts
CHANGED
|
@@ -343,18 +343,18 @@ export declare const CalculateReputationResponseSchema: z.ZodObject<{
|
|
|
343
343
|
agentDid: z.ZodString;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
345
345
|
agentDid: string;
|
|
346
|
-
confidence: number;
|
|
347
346
|
score: number;
|
|
347
|
+
confidence: number;
|
|
348
348
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
349
349
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
350
|
+
isProvisional: boolean;
|
|
351
|
+
calculatedAt: string;
|
|
350
352
|
components: {
|
|
351
353
|
priorScore: number;
|
|
352
354
|
empiricalScore: number;
|
|
353
355
|
confidenceWeight: number;
|
|
354
356
|
priorWeight: number;
|
|
355
357
|
};
|
|
356
|
-
isProvisional: boolean;
|
|
357
|
-
calculatedAt: string;
|
|
358
358
|
factors?: {
|
|
359
359
|
interactionScore: number;
|
|
360
360
|
consistencyScore: number;
|
|
@@ -364,18 +364,18 @@ export declare const CalculateReputationResponseSchema: z.ZodObject<{
|
|
|
364
364
|
} | undefined;
|
|
365
365
|
}, {
|
|
366
366
|
agentDid: string;
|
|
367
|
-
confidence: number;
|
|
368
367
|
score: number;
|
|
368
|
+
confidence: number;
|
|
369
369
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
370
370
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
371
|
+
isProvisional: boolean;
|
|
372
|
+
calculatedAt: string;
|
|
371
373
|
components: {
|
|
372
374
|
priorScore: number;
|
|
373
375
|
empiricalScore: number;
|
|
374
376
|
confidenceWeight: number;
|
|
375
377
|
priorWeight: number;
|
|
376
378
|
};
|
|
377
|
-
isProvisional: boolean;
|
|
378
|
-
calculatedAt: string;
|
|
379
379
|
factors?: {
|
|
380
380
|
interactionScore: number;
|
|
381
381
|
consistencyScore: number;
|
|
@@ -405,18 +405,18 @@ export declare const CalculateReputationResponseSchema: z.ZodObject<{
|
|
|
405
405
|
success: true;
|
|
406
406
|
data: {
|
|
407
407
|
agentDid: string;
|
|
408
|
-
confidence: number;
|
|
409
408
|
score: number;
|
|
409
|
+
confidence: number;
|
|
410
410
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
411
411
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
412
|
+
isProvisional: boolean;
|
|
413
|
+
calculatedAt: string;
|
|
412
414
|
components: {
|
|
413
415
|
priorScore: number;
|
|
414
416
|
empiricalScore: number;
|
|
415
417
|
confidenceWeight: number;
|
|
416
418
|
priorWeight: number;
|
|
417
419
|
};
|
|
418
|
-
isProvisional: boolean;
|
|
419
|
-
calculatedAt: string;
|
|
420
420
|
factors?: {
|
|
421
421
|
interactionScore: number;
|
|
422
422
|
consistencyScore: number;
|
|
@@ -434,18 +434,18 @@ export declare const CalculateReputationResponseSchema: z.ZodObject<{
|
|
|
434
434
|
success: true;
|
|
435
435
|
data: {
|
|
436
436
|
agentDid: string;
|
|
437
|
-
confidence: number;
|
|
438
437
|
score: number;
|
|
438
|
+
confidence: number;
|
|
439
439
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
440
440
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
441
|
+
isProvisional: boolean;
|
|
442
|
+
calculatedAt: string;
|
|
441
443
|
components: {
|
|
442
444
|
priorScore: number;
|
|
443
445
|
empiricalScore: number;
|
|
444
446
|
confidenceWeight: number;
|
|
445
447
|
priorWeight: number;
|
|
446
448
|
};
|
|
447
|
-
isProvisional: boolean;
|
|
448
|
-
calculatedAt: string;
|
|
449
449
|
factors?: {
|
|
450
450
|
interactionScore: number;
|
|
451
451
|
consistencyScore: number;
|
|
@@ -791,18 +791,18 @@ export declare const BatchResultItemSchema: z.ZodObject<{
|
|
|
791
791
|
agentDid: z.ZodString;
|
|
792
792
|
}, "strip", z.ZodTypeAny, {
|
|
793
793
|
agentDid: string;
|
|
794
|
-
confidence: number;
|
|
795
794
|
score: number;
|
|
795
|
+
confidence: number;
|
|
796
796
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
797
797
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
798
|
+
isProvisional: boolean;
|
|
799
|
+
calculatedAt: string;
|
|
798
800
|
components: {
|
|
799
801
|
priorScore: number;
|
|
800
802
|
empiricalScore: number;
|
|
801
803
|
confidenceWeight: number;
|
|
802
804
|
priorWeight: number;
|
|
803
805
|
};
|
|
804
|
-
isProvisional: boolean;
|
|
805
|
-
calculatedAt: string;
|
|
806
806
|
factors?: {
|
|
807
807
|
interactionScore: number;
|
|
808
808
|
consistencyScore: number;
|
|
@@ -812,18 +812,18 @@ export declare const BatchResultItemSchema: z.ZodObject<{
|
|
|
812
812
|
} | undefined;
|
|
813
813
|
}, {
|
|
814
814
|
agentDid: string;
|
|
815
|
-
confidence: number;
|
|
816
815
|
score: number;
|
|
816
|
+
confidence: number;
|
|
817
817
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
818
818
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
819
|
+
isProvisional: boolean;
|
|
820
|
+
calculatedAt: string;
|
|
819
821
|
components: {
|
|
820
822
|
priorScore: number;
|
|
821
823
|
empiricalScore: number;
|
|
822
824
|
confidenceWeight: number;
|
|
823
825
|
priorWeight: number;
|
|
824
826
|
};
|
|
825
|
-
isProvisional: boolean;
|
|
826
|
-
calculatedAt: string;
|
|
827
827
|
factors?: {
|
|
828
828
|
interactionScore: number;
|
|
829
829
|
consistencyScore: number;
|
|
@@ -837,23 +837,23 @@ export declare const BatchResultItemSchema: z.ZodObject<{
|
|
|
837
837
|
/** Whether calculation was successful */
|
|
838
838
|
success: z.ZodBoolean;
|
|
839
839
|
}, "strip", z.ZodTypeAny, {
|
|
840
|
-
success: boolean;
|
|
841
840
|
did: string;
|
|
841
|
+
success: boolean;
|
|
842
842
|
error?: string | undefined;
|
|
843
843
|
score?: {
|
|
844
844
|
agentDid: string;
|
|
845
|
-
confidence: number;
|
|
846
845
|
score: number;
|
|
846
|
+
confidence: number;
|
|
847
847
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
848
848
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
849
|
+
isProvisional: boolean;
|
|
850
|
+
calculatedAt: string;
|
|
849
851
|
components: {
|
|
850
852
|
priorScore: number;
|
|
851
853
|
empiricalScore: number;
|
|
852
854
|
confidenceWeight: number;
|
|
853
855
|
priorWeight: number;
|
|
854
856
|
};
|
|
855
|
-
isProvisional: boolean;
|
|
856
|
-
calculatedAt: string;
|
|
857
857
|
factors?: {
|
|
858
858
|
interactionScore: number;
|
|
859
859
|
consistencyScore: number;
|
|
@@ -863,23 +863,23 @@ export declare const BatchResultItemSchema: z.ZodObject<{
|
|
|
863
863
|
} | undefined;
|
|
864
864
|
} | undefined;
|
|
865
865
|
}, {
|
|
866
|
-
success: boolean;
|
|
867
866
|
did: string;
|
|
867
|
+
success: boolean;
|
|
868
868
|
error?: string | undefined;
|
|
869
869
|
score?: {
|
|
870
870
|
agentDid: string;
|
|
871
|
-
confidence: number;
|
|
872
871
|
score: number;
|
|
872
|
+
confidence: number;
|
|
873
873
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
874
874
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
875
|
+
isProvisional: boolean;
|
|
876
|
+
calculatedAt: string;
|
|
875
877
|
components: {
|
|
876
878
|
priorScore: number;
|
|
877
879
|
empiricalScore: number;
|
|
878
880
|
confidenceWeight: number;
|
|
879
881
|
priorWeight: number;
|
|
880
882
|
};
|
|
881
|
-
isProvisional: boolean;
|
|
882
|
-
calculatedAt: string;
|
|
883
883
|
factors?: {
|
|
884
884
|
interactionScore: number;
|
|
885
885
|
consistencyScore: number;
|
|
@@ -950,18 +950,18 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
950
950
|
agentDid: z.ZodString;
|
|
951
951
|
}, "strip", z.ZodTypeAny, {
|
|
952
952
|
agentDid: string;
|
|
953
|
-
confidence: number;
|
|
954
953
|
score: number;
|
|
954
|
+
confidence: number;
|
|
955
955
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
956
956
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
957
|
+
isProvisional: boolean;
|
|
958
|
+
calculatedAt: string;
|
|
957
959
|
components: {
|
|
958
960
|
priorScore: number;
|
|
959
961
|
empiricalScore: number;
|
|
960
962
|
confidenceWeight: number;
|
|
961
963
|
priorWeight: number;
|
|
962
964
|
};
|
|
963
|
-
isProvisional: boolean;
|
|
964
|
-
calculatedAt: string;
|
|
965
965
|
factors?: {
|
|
966
966
|
interactionScore: number;
|
|
967
967
|
consistencyScore: number;
|
|
@@ -971,18 +971,18 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
971
971
|
} | undefined;
|
|
972
972
|
}, {
|
|
973
973
|
agentDid: string;
|
|
974
|
-
confidence: number;
|
|
975
974
|
score: number;
|
|
975
|
+
confidence: number;
|
|
976
976
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
977
977
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
978
|
+
isProvisional: boolean;
|
|
979
|
+
calculatedAt: string;
|
|
978
980
|
components: {
|
|
979
981
|
priorScore: number;
|
|
980
982
|
empiricalScore: number;
|
|
981
983
|
confidenceWeight: number;
|
|
982
984
|
priorWeight: number;
|
|
983
985
|
};
|
|
984
|
-
isProvisional: boolean;
|
|
985
|
-
calculatedAt: string;
|
|
986
986
|
factors?: {
|
|
987
987
|
interactionScore: number;
|
|
988
988
|
consistencyScore: number;
|
|
@@ -996,23 +996,23 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
996
996
|
/** Whether calculation was successful */
|
|
997
997
|
success: z.ZodBoolean;
|
|
998
998
|
}, "strip", z.ZodTypeAny, {
|
|
999
|
-
success: boolean;
|
|
1000
999
|
did: string;
|
|
1000
|
+
success: boolean;
|
|
1001
1001
|
error?: string | undefined;
|
|
1002
1002
|
score?: {
|
|
1003
1003
|
agentDid: string;
|
|
1004
|
-
confidence: number;
|
|
1005
1004
|
score: number;
|
|
1005
|
+
confidence: number;
|
|
1006
1006
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1007
1007
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1008
|
+
isProvisional: boolean;
|
|
1009
|
+
calculatedAt: string;
|
|
1008
1010
|
components: {
|
|
1009
1011
|
priorScore: number;
|
|
1010
1012
|
empiricalScore: number;
|
|
1011
1013
|
confidenceWeight: number;
|
|
1012
1014
|
priorWeight: number;
|
|
1013
1015
|
};
|
|
1014
|
-
isProvisional: boolean;
|
|
1015
|
-
calculatedAt: string;
|
|
1016
1016
|
factors?: {
|
|
1017
1017
|
interactionScore: number;
|
|
1018
1018
|
consistencyScore: number;
|
|
@@ -1022,23 +1022,23 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
1022
1022
|
} | undefined;
|
|
1023
1023
|
} | undefined;
|
|
1024
1024
|
}, {
|
|
1025
|
-
success: boolean;
|
|
1026
1025
|
did: string;
|
|
1026
|
+
success: boolean;
|
|
1027
1027
|
error?: string | undefined;
|
|
1028
1028
|
score?: {
|
|
1029
1029
|
agentDid: string;
|
|
1030
|
-
confidence: number;
|
|
1031
1030
|
score: number;
|
|
1031
|
+
confidence: number;
|
|
1032
1032
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1033
1033
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1034
|
+
isProvisional: boolean;
|
|
1035
|
+
calculatedAt: string;
|
|
1034
1036
|
components: {
|
|
1035
1037
|
priorScore: number;
|
|
1036
1038
|
empiricalScore: number;
|
|
1037
1039
|
confidenceWeight: number;
|
|
1038
1040
|
priorWeight: number;
|
|
1039
1041
|
};
|
|
1040
|
-
isProvisional: boolean;
|
|
1041
|
-
calculatedAt: string;
|
|
1042
1042
|
factors?: {
|
|
1043
1043
|
interactionScore: number;
|
|
1044
1044
|
consistencyScore: number;
|
|
@@ -1057,33 +1057,33 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
1057
1057
|
/** Number of failed calculations */
|
|
1058
1058
|
failed: z.ZodNumber;
|
|
1059
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1060
|
-
failed: number;
|
|
1061
1060
|
total: number;
|
|
1062
1061
|
successful: number;
|
|
1063
|
-
}, {
|
|
1064
1062
|
failed: number;
|
|
1063
|
+
}, {
|
|
1065
1064
|
total: number;
|
|
1066
1065
|
successful: number;
|
|
1066
|
+
failed: number;
|
|
1067
1067
|
}>;
|
|
1068
1068
|
}, "strip", z.ZodTypeAny, {
|
|
1069
1069
|
results: {
|
|
1070
|
-
success: boolean;
|
|
1071
1070
|
did: string;
|
|
1071
|
+
success: boolean;
|
|
1072
1072
|
error?: string | undefined;
|
|
1073
1073
|
score?: {
|
|
1074
1074
|
agentDid: string;
|
|
1075
|
-
confidence: number;
|
|
1076
1075
|
score: number;
|
|
1076
|
+
confidence: number;
|
|
1077
1077
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1078
1078
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1079
|
+
isProvisional: boolean;
|
|
1080
|
+
calculatedAt: string;
|
|
1079
1081
|
components: {
|
|
1080
1082
|
priorScore: number;
|
|
1081
1083
|
empiricalScore: number;
|
|
1082
1084
|
confidenceWeight: number;
|
|
1083
1085
|
priorWeight: number;
|
|
1084
1086
|
};
|
|
1085
|
-
isProvisional: boolean;
|
|
1086
|
-
calculatedAt: string;
|
|
1087
1087
|
factors?: {
|
|
1088
1088
|
interactionScore: number;
|
|
1089
1089
|
consistencyScore: number;
|
|
@@ -1094,29 +1094,29 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
1094
1094
|
} | undefined;
|
|
1095
1095
|
}[];
|
|
1096
1096
|
summary: {
|
|
1097
|
-
failed: number;
|
|
1098
1097
|
total: number;
|
|
1099
1098
|
successful: number;
|
|
1099
|
+
failed: number;
|
|
1100
1100
|
};
|
|
1101
1101
|
}, {
|
|
1102
1102
|
results: {
|
|
1103
|
-
success: boolean;
|
|
1104
1103
|
did: string;
|
|
1104
|
+
success: boolean;
|
|
1105
1105
|
error?: string | undefined;
|
|
1106
1106
|
score?: {
|
|
1107
1107
|
agentDid: string;
|
|
1108
|
-
confidence: number;
|
|
1109
1108
|
score: number;
|
|
1109
|
+
confidence: number;
|
|
1110
1110
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1111
1111
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1112
|
+
isProvisional: boolean;
|
|
1113
|
+
calculatedAt: string;
|
|
1112
1114
|
components: {
|
|
1113
1115
|
priorScore: number;
|
|
1114
1116
|
empiricalScore: number;
|
|
1115
1117
|
confidenceWeight: number;
|
|
1116
1118
|
priorWeight: number;
|
|
1117
1119
|
};
|
|
1118
|
-
isProvisional: boolean;
|
|
1119
|
-
calculatedAt: string;
|
|
1120
1120
|
factors?: {
|
|
1121
1121
|
interactionScore: number;
|
|
1122
1122
|
consistencyScore: number;
|
|
@@ -1127,9 +1127,9 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
1127
1127
|
} | undefined;
|
|
1128
1128
|
}[];
|
|
1129
1129
|
summary: {
|
|
1130
|
-
failed: number;
|
|
1131
1130
|
total: number;
|
|
1132
1131
|
successful: number;
|
|
1132
|
+
failed: number;
|
|
1133
1133
|
};
|
|
1134
1134
|
}>;
|
|
1135
1135
|
/** Metadata */
|
|
@@ -1149,23 +1149,23 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
1149
1149
|
success: true;
|
|
1150
1150
|
data: {
|
|
1151
1151
|
results: {
|
|
1152
|
-
success: boolean;
|
|
1153
1152
|
did: string;
|
|
1153
|
+
success: boolean;
|
|
1154
1154
|
error?: string | undefined;
|
|
1155
1155
|
score?: {
|
|
1156
1156
|
agentDid: string;
|
|
1157
|
-
confidence: number;
|
|
1158
1157
|
score: number;
|
|
1158
|
+
confidence: number;
|
|
1159
1159
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1160
1160
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1161
|
+
isProvisional: boolean;
|
|
1162
|
+
calculatedAt: string;
|
|
1161
1163
|
components: {
|
|
1162
1164
|
priorScore: number;
|
|
1163
1165
|
empiricalScore: number;
|
|
1164
1166
|
confidenceWeight: number;
|
|
1165
1167
|
priorWeight: number;
|
|
1166
1168
|
};
|
|
1167
|
-
isProvisional: boolean;
|
|
1168
|
-
calculatedAt: string;
|
|
1169
1169
|
factors?: {
|
|
1170
1170
|
interactionScore: number;
|
|
1171
1171
|
consistencyScore: number;
|
|
@@ -1176,9 +1176,9 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
1176
1176
|
} | undefined;
|
|
1177
1177
|
}[];
|
|
1178
1178
|
summary: {
|
|
1179
|
-
failed: number;
|
|
1180
1179
|
total: number;
|
|
1181
1180
|
successful: number;
|
|
1181
|
+
failed: number;
|
|
1182
1182
|
};
|
|
1183
1183
|
};
|
|
1184
1184
|
metadata?: {
|
|
@@ -1189,23 +1189,23 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
1189
1189
|
success: true;
|
|
1190
1190
|
data: {
|
|
1191
1191
|
results: {
|
|
1192
|
-
success: boolean;
|
|
1193
1192
|
did: string;
|
|
1193
|
+
success: boolean;
|
|
1194
1194
|
error?: string | undefined;
|
|
1195
1195
|
score?: {
|
|
1196
1196
|
agentDid: string;
|
|
1197
|
-
confidence: number;
|
|
1198
1197
|
score: number;
|
|
1198
|
+
confidence: number;
|
|
1199
1199
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1200
1200
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1201
|
+
isProvisional: boolean;
|
|
1202
|
+
calculatedAt: string;
|
|
1201
1203
|
components: {
|
|
1202
1204
|
priorScore: number;
|
|
1203
1205
|
empiricalScore: number;
|
|
1204
1206
|
confidenceWeight: number;
|
|
1205
1207
|
priorWeight: number;
|
|
1206
1208
|
};
|
|
1207
|
-
isProvisional: boolean;
|
|
1208
|
-
calculatedAt: string;
|
|
1209
1209
|
factors?: {
|
|
1210
1210
|
interactionScore: number;
|
|
1211
1211
|
consistencyScore: number;
|
|
@@ -1216,9 +1216,9 @@ export declare const BatchCalculateResponseSchema: z.ZodObject<{
|
|
|
1216
1216
|
} | undefined;
|
|
1217
1217
|
}[];
|
|
1218
1218
|
summary: {
|
|
1219
|
-
failed: number;
|
|
1220
1219
|
total: number;
|
|
1221
1220
|
successful: number;
|
|
1221
|
+
failed: number;
|
|
1222
1222
|
};
|
|
1223
1223
|
};
|
|
1224
1224
|
metadata?: {
|
|
@@ -1430,12 +1430,6 @@ export declare const PredictScoreChangeRequestSchema: z.ZodObject<{
|
|
|
1430
1430
|
maxPriorScore?: number | undefined;
|
|
1431
1431
|
}>>;
|
|
1432
1432
|
}, "strip", z.ZodTypeAny, {
|
|
1433
|
-
changes: {
|
|
1434
|
-
additionalReviews?: number | undefined;
|
|
1435
|
-
newAverageRating?: number | undefined;
|
|
1436
|
-
additionalInteractions?: number | undefined;
|
|
1437
|
-
additionalSuccessfulInteractions?: number | undefined;
|
|
1438
|
-
};
|
|
1439
1433
|
current: {
|
|
1440
1434
|
issues: {
|
|
1441
1435
|
disputesFiled: number;
|
|
@@ -1467,6 +1461,12 @@ export declare const PredictScoreChangeRequestSchema: z.ZodObject<{
|
|
|
1467
1461
|
metadata?: Record<string, unknown> | undefined;
|
|
1468
1462
|
createdAt?: string | undefined;
|
|
1469
1463
|
};
|
|
1464
|
+
changes: {
|
|
1465
|
+
additionalReviews?: number | undefined;
|
|
1466
|
+
newAverageRating?: number | undefined;
|
|
1467
|
+
additionalInteractions?: number | undefined;
|
|
1468
|
+
additionalSuccessfulInteractions?: number | undefined;
|
|
1469
|
+
};
|
|
1470
1470
|
config?: {
|
|
1471
1471
|
kValue: number;
|
|
1472
1472
|
basePriorScore: number;
|
|
@@ -1479,12 +1479,6 @@ export declare const PredictScoreChangeRequestSchema: z.ZodObject<{
|
|
|
1479
1479
|
} | undefined;
|
|
1480
1480
|
} | undefined;
|
|
1481
1481
|
}, {
|
|
1482
|
-
changes: {
|
|
1483
|
-
additionalReviews?: number | undefined;
|
|
1484
|
-
newAverageRating?: number | undefined;
|
|
1485
|
-
additionalInteractions?: number | undefined;
|
|
1486
|
-
additionalSuccessfulInteractions?: number | undefined;
|
|
1487
|
-
};
|
|
1488
1482
|
current: {
|
|
1489
1483
|
did: string;
|
|
1490
1484
|
issues?: {
|
|
@@ -1516,6 +1510,12 @@ export declare const PredictScoreChangeRequestSchema: z.ZodObject<{
|
|
|
1516
1510
|
negativeReviews?: number | undefined;
|
|
1517
1511
|
} | undefined;
|
|
1518
1512
|
};
|
|
1513
|
+
changes: {
|
|
1514
|
+
additionalReviews?: number | undefined;
|
|
1515
|
+
newAverageRating?: number | undefined;
|
|
1516
|
+
additionalInteractions?: number | undefined;
|
|
1517
|
+
additionalSuccessfulInteractions?: number | undefined;
|
|
1518
|
+
};
|
|
1519
1519
|
config?: {
|
|
1520
1520
|
kValue?: number | undefined;
|
|
1521
1521
|
preset?: "Testing" | "Conservative" | "Aggressive" | undefined;
|
|
@@ -1584,18 +1584,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1584
1584
|
agentDid: z.ZodString;
|
|
1585
1585
|
}, "strip", z.ZodTypeAny, {
|
|
1586
1586
|
agentDid: string;
|
|
1587
|
-
confidence: number;
|
|
1588
1587
|
score: number;
|
|
1588
|
+
confidence: number;
|
|
1589
1589
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1590
1590
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1591
|
+
isProvisional: boolean;
|
|
1592
|
+
calculatedAt: string;
|
|
1591
1593
|
components: {
|
|
1592
1594
|
priorScore: number;
|
|
1593
1595
|
empiricalScore: number;
|
|
1594
1596
|
confidenceWeight: number;
|
|
1595
1597
|
priorWeight: number;
|
|
1596
1598
|
};
|
|
1597
|
-
isProvisional: boolean;
|
|
1598
|
-
calculatedAt: string;
|
|
1599
1599
|
factors?: {
|
|
1600
1600
|
interactionScore: number;
|
|
1601
1601
|
consistencyScore: number;
|
|
@@ -1605,18 +1605,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1605
1605
|
} | undefined;
|
|
1606
1606
|
}, {
|
|
1607
1607
|
agentDid: string;
|
|
1608
|
-
confidence: number;
|
|
1609
1608
|
score: number;
|
|
1609
|
+
confidence: number;
|
|
1610
1610
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1611
1611
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1612
|
+
isProvisional: boolean;
|
|
1613
|
+
calculatedAt: string;
|
|
1612
1614
|
components: {
|
|
1613
1615
|
priorScore: number;
|
|
1614
1616
|
empiricalScore: number;
|
|
1615
1617
|
confidenceWeight: number;
|
|
1616
1618
|
priorWeight: number;
|
|
1617
1619
|
};
|
|
1618
|
-
isProvisional: boolean;
|
|
1619
|
-
calculatedAt: string;
|
|
1620
1620
|
factors?: {
|
|
1621
1621
|
interactionScore: number;
|
|
1622
1622
|
consistencyScore: number;
|
|
@@ -1670,18 +1670,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1670
1670
|
agentDid: z.ZodString;
|
|
1671
1671
|
}, "strip", z.ZodTypeAny, {
|
|
1672
1672
|
agentDid: string;
|
|
1673
|
-
confidence: number;
|
|
1674
1673
|
score: number;
|
|
1674
|
+
confidence: number;
|
|
1675
1675
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1676
1676
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1677
|
+
isProvisional: boolean;
|
|
1678
|
+
calculatedAt: string;
|
|
1677
1679
|
components: {
|
|
1678
1680
|
priorScore: number;
|
|
1679
1681
|
empiricalScore: number;
|
|
1680
1682
|
confidenceWeight: number;
|
|
1681
1683
|
priorWeight: number;
|
|
1682
1684
|
};
|
|
1683
|
-
isProvisional: boolean;
|
|
1684
|
-
calculatedAt: string;
|
|
1685
1685
|
factors?: {
|
|
1686
1686
|
interactionScore: number;
|
|
1687
1687
|
consistencyScore: number;
|
|
@@ -1691,18 +1691,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1691
1691
|
} | undefined;
|
|
1692
1692
|
}, {
|
|
1693
1693
|
agentDid: string;
|
|
1694
|
-
confidence: number;
|
|
1695
1694
|
score: number;
|
|
1695
|
+
confidence: number;
|
|
1696
1696
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1697
1697
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1698
|
+
isProvisional: boolean;
|
|
1699
|
+
calculatedAt: string;
|
|
1698
1700
|
components: {
|
|
1699
1701
|
priorScore: number;
|
|
1700
1702
|
empiricalScore: number;
|
|
1701
1703
|
confidenceWeight: number;
|
|
1702
1704
|
priorWeight: number;
|
|
1703
1705
|
};
|
|
1704
|
-
isProvisional: boolean;
|
|
1705
|
-
calculatedAt: string;
|
|
1706
1706
|
factors?: {
|
|
1707
1707
|
interactionScore: number;
|
|
1708
1708
|
consistencyScore: number;
|
|
@@ -1716,18 +1716,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1716
1716
|
}, "strip", z.ZodTypeAny, {
|
|
1717
1717
|
currentScore: {
|
|
1718
1718
|
agentDid: string;
|
|
1719
|
-
confidence: number;
|
|
1720
1719
|
score: number;
|
|
1720
|
+
confidence: number;
|
|
1721
1721
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1722
1722
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1723
|
+
isProvisional: boolean;
|
|
1724
|
+
calculatedAt: string;
|
|
1723
1725
|
components: {
|
|
1724
1726
|
priorScore: number;
|
|
1725
1727
|
empiricalScore: number;
|
|
1726
1728
|
confidenceWeight: number;
|
|
1727
1729
|
priorWeight: number;
|
|
1728
1730
|
};
|
|
1729
|
-
isProvisional: boolean;
|
|
1730
|
-
calculatedAt: string;
|
|
1731
1731
|
factors?: {
|
|
1732
1732
|
interactionScore: number;
|
|
1733
1733
|
consistencyScore: number;
|
|
@@ -1738,18 +1738,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1738
1738
|
};
|
|
1739
1739
|
predictedScore: {
|
|
1740
1740
|
agentDid: string;
|
|
1741
|
-
confidence: number;
|
|
1742
1741
|
score: number;
|
|
1742
|
+
confidence: number;
|
|
1743
1743
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1744
1744
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1745
|
+
isProvisional: boolean;
|
|
1746
|
+
calculatedAt: string;
|
|
1745
1747
|
components: {
|
|
1746
1748
|
priorScore: number;
|
|
1747
1749
|
empiricalScore: number;
|
|
1748
1750
|
confidenceWeight: number;
|
|
1749
1751
|
priorWeight: number;
|
|
1750
1752
|
};
|
|
1751
|
-
isProvisional: boolean;
|
|
1752
|
-
calculatedAt: string;
|
|
1753
1753
|
factors?: {
|
|
1754
1754
|
interactionScore: number;
|
|
1755
1755
|
consistencyScore: number;
|
|
@@ -1763,18 +1763,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1763
1763
|
}, {
|
|
1764
1764
|
currentScore: {
|
|
1765
1765
|
agentDid: string;
|
|
1766
|
-
confidence: number;
|
|
1767
1766
|
score: number;
|
|
1767
|
+
confidence: number;
|
|
1768
1768
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1769
1769
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1770
|
+
isProvisional: boolean;
|
|
1771
|
+
calculatedAt: string;
|
|
1770
1772
|
components: {
|
|
1771
1773
|
priorScore: number;
|
|
1772
1774
|
empiricalScore: number;
|
|
1773
1775
|
confidenceWeight: number;
|
|
1774
1776
|
priorWeight: number;
|
|
1775
1777
|
};
|
|
1776
|
-
isProvisional: boolean;
|
|
1777
|
-
calculatedAt: string;
|
|
1778
1778
|
factors?: {
|
|
1779
1779
|
interactionScore: number;
|
|
1780
1780
|
consistencyScore: number;
|
|
@@ -1785,18 +1785,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1785
1785
|
};
|
|
1786
1786
|
predictedScore: {
|
|
1787
1787
|
agentDid: string;
|
|
1788
|
-
confidence: number;
|
|
1789
1788
|
score: number;
|
|
1789
|
+
confidence: number;
|
|
1790
1790
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1791
1791
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1792
|
+
isProvisional: boolean;
|
|
1793
|
+
calculatedAt: string;
|
|
1792
1794
|
components: {
|
|
1793
1795
|
priorScore: number;
|
|
1794
1796
|
empiricalScore: number;
|
|
1795
1797
|
confidenceWeight: number;
|
|
1796
1798
|
priorWeight: number;
|
|
1797
1799
|
};
|
|
1798
|
-
isProvisional: boolean;
|
|
1799
|
-
calculatedAt: string;
|
|
1800
1800
|
factors?: {
|
|
1801
1801
|
interactionScore: number;
|
|
1802
1802
|
consistencyScore: number;
|
|
@@ -1822,18 +1822,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1822
1822
|
data: {
|
|
1823
1823
|
currentScore: {
|
|
1824
1824
|
agentDid: string;
|
|
1825
|
-
confidence: number;
|
|
1826
1825
|
score: number;
|
|
1826
|
+
confidence: number;
|
|
1827
1827
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1828
1828
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1829
|
+
isProvisional: boolean;
|
|
1830
|
+
calculatedAt: string;
|
|
1829
1831
|
components: {
|
|
1830
1832
|
priorScore: number;
|
|
1831
1833
|
empiricalScore: number;
|
|
1832
1834
|
confidenceWeight: number;
|
|
1833
1835
|
priorWeight: number;
|
|
1834
1836
|
};
|
|
1835
|
-
isProvisional: boolean;
|
|
1836
|
-
calculatedAt: string;
|
|
1837
1837
|
factors?: {
|
|
1838
1838
|
interactionScore: number;
|
|
1839
1839
|
consistencyScore: number;
|
|
@@ -1844,18 +1844,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1844
1844
|
};
|
|
1845
1845
|
predictedScore: {
|
|
1846
1846
|
agentDid: string;
|
|
1847
|
-
confidence: number;
|
|
1848
1847
|
score: number;
|
|
1848
|
+
confidence: number;
|
|
1849
1849
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1850
1850
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1851
|
+
isProvisional: boolean;
|
|
1852
|
+
calculatedAt: string;
|
|
1851
1853
|
components: {
|
|
1852
1854
|
priorScore: number;
|
|
1853
1855
|
empiricalScore: number;
|
|
1854
1856
|
confidenceWeight: number;
|
|
1855
1857
|
priorWeight: number;
|
|
1856
1858
|
};
|
|
1857
|
-
isProvisional: boolean;
|
|
1858
|
-
calculatedAt: string;
|
|
1859
1859
|
factors?: {
|
|
1860
1860
|
interactionScore: number;
|
|
1861
1861
|
consistencyScore: number;
|
|
@@ -1875,18 +1875,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1875
1875
|
data: {
|
|
1876
1876
|
currentScore: {
|
|
1877
1877
|
agentDid: string;
|
|
1878
|
-
confidence: number;
|
|
1879
1878
|
score: number;
|
|
1879
|
+
confidence: number;
|
|
1880
1880
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1881
1881
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1882
|
+
isProvisional: boolean;
|
|
1883
|
+
calculatedAt: string;
|
|
1882
1884
|
components: {
|
|
1883
1885
|
priorScore: number;
|
|
1884
1886
|
empiricalScore: number;
|
|
1885
1887
|
confidenceWeight: number;
|
|
1886
1888
|
priorWeight: number;
|
|
1887
1889
|
};
|
|
1888
|
-
isProvisional: boolean;
|
|
1889
|
-
calculatedAt: string;
|
|
1890
1890
|
factors?: {
|
|
1891
1891
|
interactionScore: number;
|
|
1892
1892
|
consistencyScore: number;
|
|
@@ -1897,18 +1897,18 @@ export declare const PredictScoreChangeResponseSchema: z.ZodObject<{
|
|
|
1897
1897
|
};
|
|
1898
1898
|
predictedScore: {
|
|
1899
1899
|
agentDid: string;
|
|
1900
|
-
confidence: number;
|
|
1901
1900
|
score: number;
|
|
1901
|
+
confidence: number;
|
|
1902
1902
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
1903
1903
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
1904
|
+
isProvisional: boolean;
|
|
1905
|
+
calculatedAt: string;
|
|
1904
1906
|
components: {
|
|
1905
1907
|
priorScore: number;
|
|
1906
1908
|
empiricalScore: number;
|
|
1907
1909
|
confidenceWeight: number;
|
|
1908
1910
|
priorWeight: number;
|
|
1909
1911
|
};
|
|
1910
|
-
isProvisional: boolean;
|
|
1911
|
-
calculatedAt: string;
|
|
1912
1912
|
factors?: {
|
|
1913
1913
|
interactionScore: number;
|
|
1914
1914
|
consistencyScore: number;
|
|
@@ -1997,18 +1997,18 @@ export declare const GetReputationResponseSchema: z.ZodObject<{
|
|
|
1997
1997
|
agentDid: z.ZodString;
|
|
1998
1998
|
}, "strip", z.ZodTypeAny, {
|
|
1999
1999
|
agentDid: string;
|
|
2000
|
-
confidence: number;
|
|
2001
2000
|
score: number;
|
|
2001
|
+
confidence: number;
|
|
2002
2002
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2003
2003
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2004
|
+
isProvisional: boolean;
|
|
2005
|
+
calculatedAt: string;
|
|
2004
2006
|
components: {
|
|
2005
2007
|
priorScore: number;
|
|
2006
2008
|
empiricalScore: number;
|
|
2007
2009
|
confidenceWeight: number;
|
|
2008
2010
|
priorWeight: number;
|
|
2009
2011
|
};
|
|
2010
|
-
isProvisional: boolean;
|
|
2011
|
-
calculatedAt: string;
|
|
2012
2012
|
factors?: {
|
|
2013
2013
|
interactionScore: number;
|
|
2014
2014
|
consistencyScore: number;
|
|
@@ -2018,18 +2018,18 @@ export declare const GetReputationResponseSchema: z.ZodObject<{
|
|
|
2018
2018
|
} | undefined;
|
|
2019
2019
|
}, {
|
|
2020
2020
|
agentDid: string;
|
|
2021
|
-
confidence: number;
|
|
2022
2021
|
score: number;
|
|
2022
|
+
confidence: number;
|
|
2023
2023
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2024
2024
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2025
|
+
isProvisional: boolean;
|
|
2026
|
+
calculatedAt: string;
|
|
2025
2027
|
components: {
|
|
2026
2028
|
priorScore: number;
|
|
2027
2029
|
empiricalScore: number;
|
|
2028
2030
|
confidenceWeight: number;
|
|
2029
2031
|
priorWeight: number;
|
|
2030
2032
|
};
|
|
2031
|
-
isProvisional: boolean;
|
|
2032
|
-
calculatedAt: string;
|
|
2033
2033
|
factors?: {
|
|
2034
2034
|
interactionScore: number;
|
|
2035
2035
|
consistencyScore: number;
|
|
@@ -2059,18 +2059,18 @@ export declare const GetReputationResponseSchema: z.ZodObject<{
|
|
|
2059
2059
|
success: true;
|
|
2060
2060
|
data: {
|
|
2061
2061
|
agentDid: string;
|
|
2062
|
-
confidence: number;
|
|
2063
2062
|
score: number;
|
|
2063
|
+
confidence: number;
|
|
2064
2064
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2065
2065
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2066
|
+
isProvisional: boolean;
|
|
2067
|
+
calculatedAt: string;
|
|
2066
2068
|
components: {
|
|
2067
2069
|
priorScore: number;
|
|
2068
2070
|
empiricalScore: number;
|
|
2069
2071
|
confidenceWeight: number;
|
|
2070
2072
|
priorWeight: number;
|
|
2071
2073
|
};
|
|
2072
|
-
isProvisional: boolean;
|
|
2073
|
-
calculatedAt: string;
|
|
2074
2074
|
factors?: {
|
|
2075
2075
|
interactionScore: number;
|
|
2076
2076
|
consistencyScore: number;
|
|
@@ -2088,18 +2088,18 @@ export declare const GetReputationResponseSchema: z.ZodObject<{
|
|
|
2088
2088
|
success: true;
|
|
2089
2089
|
data: {
|
|
2090
2090
|
agentDid: string;
|
|
2091
|
-
confidence: number;
|
|
2092
2091
|
score: number;
|
|
2092
|
+
confidence: number;
|
|
2093
2093
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2094
2094
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2095
|
+
isProvisional: boolean;
|
|
2096
|
+
calculatedAt: string;
|
|
2095
2097
|
components: {
|
|
2096
2098
|
priorScore: number;
|
|
2097
2099
|
empiricalScore: number;
|
|
2098
2100
|
confidenceWeight: number;
|
|
2099
2101
|
priorWeight: number;
|
|
2100
2102
|
};
|
|
2101
|
-
isProvisional: boolean;
|
|
2102
|
-
calculatedAt: string;
|
|
2103
2103
|
factors?: {
|
|
2104
2104
|
interactionScore: number;
|
|
2105
2105
|
consistencyScore: number;
|
|
@@ -2376,12 +2376,6 @@ export declare function validateBatchCalculateRequest(data: unknown): z.SafePars
|
|
|
2376
2376
|
* Validate predict score change request
|
|
2377
2377
|
*/
|
|
2378
2378
|
export declare function validatePredictRequest(data: unknown): z.SafeParseReturnType<{
|
|
2379
|
-
changes: {
|
|
2380
|
-
additionalReviews?: number | undefined;
|
|
2381
|
-
newAverageRating?: number | undefined;
|
|
2382
|
-
additionalInteractions?: number | undefined;
|
|
2383
|
-
additionalSuccessfulInteractions?: number | undefined;
|
|
2384
|
-
};
|
|
2385
2379
|
current: {
|
|
2386
2380
|
did: string;
|
|
2387
2381
|
issues?: {
|
|
@@ -2413,6 +2407,12 @@ export declare function validatePredictRequest(data: unknown): z.SafeParseReturn
|
|
|
2413
2407
|
negativeReviews?: number | undefined;
|
|
2414
2408
|
} | undefined;
|
|
2415
2409
|
};
|
|
2410
|
+
changes: {
|
|
2411
|
+
additionalReviews?: number | undefined;
|
|
2412
|
+
newAverageRating?: number | undefined;
|
|
2413
|
+
additionalInteractions?: number | undefined;
|
|
2414
|
+
additionalSuccessfulInteractions?: number | undefined;
|
|
2415
|
+
};
|
|
2416
2416
|
config?: {
|
|
2417
2417
|
kValue?: number | undefined;
|
|
2418
2418
|
preset?: "Testing" | "Conservative" | "Aggressive" | undefined;
|
|
@@ -2425,12 +2425,6 @@ export declare function validatePredictRequest(data: unknown): z.SafeParseReturn
|
|
|
2425
2425
|
maxPriorScore?: number | undefined;
|
|
2426
2426
|
} | undefined;
|
|
2427
2427
|
}, {
|
|
2428
|
-
changes: {
|
|
2429
|
-
additionalReviews?: number | undefined;
|
|
2430
|
-
newAverageRating?: number | undefined;
|
|
2431
|
-
additionalInteractions?: number | undefined;
|
|
2432
|
-
additionalSuccessfulInteractions?: number | undefined;
|
|
2433
|
-
};
|
|
2434
2428
|
current: {
|
|
2435
2429
|
issues: {
|
|
2436
2430
|
disputesFiled: number;
|
|
@@ -2462,6 +2456,12 @@ export declare function validatePredictRequest(data: unknown): z.SafeParseReturn
|
|
|
2462
2456
|
metadata?: Record<string, unknown> | undefined;
|
|
2463
2457
|
createdAt?: string | undefined;
|
|
2464
2458
|
};
|
|
2459
|
+
changes: {
|
|
2460
|
+
additionalReviews?: number | undefined;
|
|
2461
|
+
newAverageRating?: number | undefined;
|
|
2462
|
+
additionalInteractions?: number | undefined;
|
|
2463
|
+
additionalSuccessfulInteractions?: number | undefined;
|
|
2464
|
+
};
|
|
2465
2465
|
config?: {
|
|
2466
2466
|
kValue: number;
|
|
2467
2467
|
basePriorScore: number;
|
|
@@ -2569,18 +2569,18 @@ export declare const ShadowRegisterResponseSchema: z.ZodObject<{
|
|
|
2569
2569
|
agentDid: z.ZodString;
|
|
2570
2570
|
}, "strip", z.ZodTypeAny, {
|
|
2571
2571
|
agentDid: string;
|
|
2572
|
-
confidence: number;
|
|
2573
2572
|
score: number;
|
|
2573
|
+
confidence: number;
|
|
2574
2574
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2575
2575
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2576
|
+
isProvisional: boolean;
|
|
2577
|
+
calculatedAt: string;
|
|
2576
2578
|
components: {
|
|
2577
2579
|
priorScore: number;
|
|
2578
2580
|
empiricalScore: number;
|
|
2579
2581
|
confidenceWeight: number;
|
|
2580
2582
|
priorWeight: number;
|
|
2581
2583
|
};
|
|
2582
|
-
isProvisional: boolean;
|
|
2583
|
-
calculatedAt: string;
|
|
2584
2584
|
factors?: {
|
|
2585
2585
|
interactionScore: number;
|
|
2586
2586
|
consistencyScore: number;
|
|
@@ -2590,18 +2590,18 @@ export declare const ShadowRegisterResponseSchema: z.ZodObject<{
|
|
|
2590
2590
|
} | undefined;
|
|
2591
2591
|
}, {
|
|
2592
2592
|
agentDid: string;
|
|
2593
|
-
confidence: number;
|
|
2594
2593
|
score: number;
|
|
2594
|
+
confidence: number;
|
|
2595
2595
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2596
2596
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2597
|
+
isProvisional: boolean;
|
|
2598
|
+
calculatedAt: string;
|
|
2597
2599
|
components: {
|
|
2598
2600
|
priorScore: number;
|
|
2599
2601
|
empiricalScore: number;
|
|
2600
2602
|
confidenceWeight: number;
|
|
2601
2603
|
priorWeight: number;
|
|
2602
2604
|
};
|
|
2603
|
-
isProvisional: boolean;
|
|
2604
|
-
calculatedAt: string;
|
|
2605
2605
|
factors?: {
|
|
2606
2606
|
interactionScore: number;
|
|
2607
2607
|
consistencyScore: number;
|
|
@@ -2611,23 +2611,23 @@ export declare const ShadowRegisterResponseSchema: z.ZodObject<{
|
|
|
2611
2611
|
} | undefined;
|
|
2612
2612
|
}>>;
|
|
2613
2613
|
}, "strip", z.ZodTypeAny, {
|
|
2614
|
-
registered: boolean;
|
|
2615
2614
|
did: string;
|
|
2615
|
+
registered: boolean;
|
|
2616
2616
|
isPublic: false;
|
|
2617
2617
|
reputation?: {
|
|
2618
2618
|
agentDid: string;
|
|
2619
|
-
confidence: number;
|
|
2620
2619
|
score: number;
|
|
2620
|
+
confidence: number;
|
|
2621
2621
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2622
2622
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2623
|
+
isProvisional: boolean;
|
|
2624
|
+
calculatedAt: string;
|
|
2623
2625
|
components: {
|
|
2624
2626
|
priorScore: number;
|
|
2625
2627
|
empiricalScore: number;
|
|
2626
2628
|
confidenceWeight: number;
|
|
2627
2629
|
priorWeight: number;
|
|
2628
2630
|
};
|
|
2629
|
-
isProvisional: boolean;
|
|
2630
|
-
calculatedAt: string;
|
|
2631
2631
|
factors?: {
|
|
2632
2632
|
interactionScore: number;
|
|
2633
2633
|
consistencyScore: number;
|
|
@@ -2637,23 +2637,23 @@ export declare const ShadowRegisterResponseSchema: z.ZodObject<{
|
|
|
2637
2637
|
} | undefined;
|
|
2638
2638
|
} | undefined;
|
|
2639
2639
|
}, {
|
|
2640
|
-
registered: boolean;
|
|
2641
2640
|
did: string;
|
|
2641
|
+
registered: boolean;
|
|
2642
2642
|
isPublic: false;
|
|
2643
2643
|
reputation?: {
|
|
2644
2644
|
agentDid: string;
|
|
2645
|
-
confidence: number;
|
|
2646
2645
|
score: number;
|
|
2646
|
+
confidence: number;
|
|
2647
2647
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2648
2648
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2649
|
+
isProvisional: boolean;
|
|
2650
|
+
calculatedAt: string;
|
|
2649
2651
|
components: {
|
|
2650
2652
|
priorScore: number;
|
|
2651
2653
|
empiricalScore: number;
|
|
2652
2654
|
confidenceWeight: number;
|
|
2653
2655
|
priorWeight: number;
|
|
2654
2656
|
};
|
|
2655
|
-
isProvisional: boolean;
|
|
2656
|
-
calculatedAt: string;
|
|
2657
2657
|
factors?: {
|
|
2658
2658
|
interactionScore: number;
|
|
2659
2659
|
consistencyScore: number;
|
|
@@ -2681,23 +2681,23 @@ export declare const ShadowRegisterResponseSchema: z.ZodObject<{
|
|
|
2681
2681
|
message: string;
|
|
2682
2682
|
} | undefined;
|
|
2683
2683
|
data?: {
|
|
2684
|
-
registered: boolean;
|
|
2685
2684
|
did: string;
|
|
2685
|
+
registered: boolean;
|
|
2686
2686
|
isPublic: false;
|
|
2687
2687
|
reputation?: {
|
|
2688
2688
|
agentDid: string;
|
|
2689
|
-
confidence: number;
|
|
2690
2689
|
score: number;
|
|
2690
|
+
confidence: number;
|
|
2691
2691
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2692
2692
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2693
|
+
isProvisional: boolean;
|
|
2694
|
+
calculatedAt: string;
|
|
2693
2695
|
components: {
|
|
2694
2696
|
priorScore: number;
|
|
2695
2697
|
empiricalScore: number;
|
|
2696
2698
|
confidenceWeight: number;
|
|
2697
2699
|
priorWeight: number;
|
|
2698
2700
|
};
|
|
2699
|
-
isProvisional: boolean;
|
|
2700
|
-
calculatedAt: string;
|
|
2701
2701
|
factors?: {
|
|
2702
2702
|
interactionScore: number;
|
|
2703
2703
|
consistencyScore: number;
|
|
@@ -2714,23 +2714,23 @@ export declare const ShadowRegisterResponseSchema: z.ZodObject<{
|
|
|
2714
2714
|
message: string;
|
|
2715
2715
|
} | undefined;
|
|
2716
2716
|
data?: {
|
|
2717
|
-
registered: boolean;
|
|
2718
2717
|
did: string;
|
|
2718
|
+
registered: boolean;
|
|
2719
2719
|
isPublic: false;
|
|
2720
2720
|
reputation?: {
|
|
2721
2721
|
agentDid: string;
|
|
2722
|
-
confidence: number;
|
|
2723
2722
|
score: number;
|
|
2723
|
+
confidence: number;
|
|
2724
2724
|
confidenceLevel: "Low" | "Medium" | "High" | "VeryHigh";
|
|
2725
2725
|
level: "Unknown" | "Poor" | "BelowAverage" | "Average" | "Good" | "Excellent" | "Outstanding";
|
|
2726
|
+
isProvisional: boolean;
|
|
2727
|
+
calculatedAt: string;
|
|
2726
2728
|
components: {
|
|
2727
2729
|
priorScore: number;
|
|
2728
2730
|
empiricalScore: number;
|
|
2729
2731
|
confidenceWeight: number;
|
|
2730
2732
|
priorWeight: number;
|
|
2731
2733
|
};
|
|
2732
|
-
isProvisional: boolean;
|
|
2733
|
-
calculatedAt: string;
|
|
2734
2734
|
factors?: {
|
|
2735
2735
|
interactionScore: number;
|
|
2736
2736
|
consistencyScore: number;
|