@noresponse/node 7.1.7 → 7.1.8
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/CHANGELOG.md +9 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/account-risk-reason.d.ts +16 -2
- package/dist/commonjs/models/account-risk-reason.d.ts.map +1 -1
- package/dist/commonjs/models/account-risk-reason.js +8 -2
- package/dist/commonjs/models/account-risk-reason.js.map +1 -1
- package/dist/commonjs/models/account-risk.d.ts +1 -1
- package/dist/commonjs/models/agreement.d.ts +13 -0
- package/dist/commonjs/models/agreement.d.ts.map +1 -0
- package/dist/commonjs/models/agreement.js +47 -0
- package/dist/commonjs/models/agreement.js.map +1 -0
- package/dist/commonjs/models/assessment-detail.d.ts +2 -2
- package/dist/commonjs/models/attribute-agreement.d.ts +25 -0
- package/dist/commonjs/models/attribute-agreement.d.ts.map +1 -0
- package/dist/commonjs/models/attribute-agreement.js +61 -0
- package/dist/commonjs/models/attribute-agreement.js.map +1 -0
- package/dist/commonjs/models/direction.d.ts +13 -0
- package/dist/commonjs/models/direction.d.ts.map +1 -0
- package/dist/commonjs/models/direction.js +47 -0
- package/dist/commonjs/models/direction.js.map +1 -0
- package/dist/commonjs/models/footprint-coherence.d.ts +66 -0
- package/dist/commonjs/models/footprint-coherence.d.ts.map +1 -0
- package/dist/commonjs/models/footprint-coherence.js +84 -0
- package/dist/commonjs/models/footprint-coherence.js.map +1 -0
- package/dist/commonjs/models/footprint-family.d.ts +21 -0
- package/dist/commonjs/models/footprint-family.d.ts.map +1 -0
- package/dist/commonjs/models/footprint-family.js +52 -0
- package/dist/commonjs/models/footprint-family.js.map +1 -0
- package/dist/commonjs/models/footprint-timeline.d.ts +31 -0
- package/dist/commonjs/models/footprint-timeline.d.ts.map +1 -0
- package/dist/commonjs/models/footprint-timeline.js +82 -0
- package/dist/commonjs/models/footprint-timeline.js.map +1 -0
- package/dist/commonjs/models/footprint.d.ts +35 -0
- package/dist/commonjs/models/footprint.d.ts.map +1 -0
- package/dist/commonjs/models/footprint.js +66 -0
- package/dist/commonjs/models/footprint.js.map +1 -0
- package/dist/commonjs/models/identifier.d.ts +12 -0
- package/dist/commonjs/models/identifier.d.ts.map +1 -0
- package/dist/commonjs/models/identifier.js +46 -0
- package/dist/commonjs/models/identifier.js.map +1 -0
- package/dist/commonjs/models/impact.d.ts +14 -0
- package/dist/commonjs/models/impact.d.ts.map +1 -0
- package/dist/commonjs/models/impact.js +50 -0
- package/dist/commonjs/models/impact.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +11 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +11 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/risk-details-event-kind.d.ts +13 -0
- package/dist/commonjs/models/risk-details-event-kind.d.ts.map +1 -0
- package/dist/commonjs/models/risk-details-event-kind.js +47 -0
- package/dist/commonjs/models/risk-details-event-kind.js.map +1 -0
- package/dist/commonjs/models/risk-details-event.d.ts +35 -0
- package/dist/commonjs/models/risk-details-event.d.ts.map +1 -0
- package/dist/commonjs/models/risk-details-event.js +71 -0
- package/dist/commonjs/models/risk-details-event.js.map +1 -0
- package/dist/commonjs/models/risk-details.d.ts +6 -0
- package/dist/commonjs/models/risk-details.d.ts.map +1 -1
- package/dist/commonjs/models/risk-details.js +3 -0
- package/dist/commonjs/models/risk-details.js.map +1 -1
- package/dist/commonjs/models/risk-reason.d.ts +16 -2
- package/dist/commonjs/models/risk-reason.d.ts.map +1 -1
- package/dist/commonjs/models/risk-reason.js +8 -2
- package/dist/commonjs/models/risk-reason.js.map +1 -1
- package/dist/commonjs/models/risk-summary.d.ts +6 -0
- package/dist/commonjs/models/risk-summary.d.ts.map +1 -1
- package/dist/commonjs/models/risk-summary.js +3 -0
- package/dist/commonjs/models/risk-summary.js.map +1 -1
- package/dist/commonjs/models/risk.d.ts +3 -3
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/account-risk-reason.d.ts +16 -2
- package/dist/esm/models/account-risk-reason.d.ts.map +1 -1
- package/dist/esm/models/account-risk-reason.js +8 -2
- package/dist/esm/models/account-risk-reason.js.map +1 -1
- package/dist/esm/models/account-risk.d.ts +1 -1
- package/dist/esm/models/agreement.d.ts +13 -0
- package/dist/esm/models/agreement.d.ts.map +1 -0
- package/dist/esm/models/agreement.js +11 -0
- package/dist/esm/models/agreement.js.map +1 -0
- package/dist/esm/models/assessment-detail.d.ts +2 -2
- package/dist/esm/models/attribute-agreement.d.ts +25 -0
- package/dist/esm/models/attribute-agreement.d.ts.map +1 -0
- package/dist/esm/models/attribute-agreement.js +23 -0
- package/dist/esm/models/attribute-agreement.js.map +1 -0
- package/dist/esm/models/direction.d.ts +13 -0
- package/dist/esm/models/direction.d.ts.map +1 -0
- package/dist/esm/models/direction.js +11 -0
- package/dist/esm/models/direction.js.map +1 -0
- package/dist/esm/models/footprint-coherence.d.ts +66 -0
- package/dist/esm/models/footprint-coherence.d.ts.map +1 -0
- package/dist/esm/models/footprint-coherence.js +46 -0
- package/dist/esm/models/footprint-coherence.js.map +1 -0
- package/dist/esm/models/footprint-family.d.ts +21 -0
- package/dist/esm/models/footprint-family.d.ts.map +1 -0
- package/dist/esm/models/footprint-family.js +16 -0
- package/dist/esm/models/footprint-family.js.map +1 -0
- package/dist/esm/models/footprint-timeline.d.ts +31 -0
- package/dist/esm/models/footprint-timeline.d.ts.map +1 -0
- package/dist/esm/models/footprint-timeline.js +44 -0
- package/dist/esm/models/footprint-timeline.js.map +1 -0
- package/dist/esm/models/footprint.d.ts +35 -0
- package/dist/esm/models/footprint.d.ts.map +1 -0
- package/dist/esm/models/footprint.js +28 -0
- package/dist/esm/models/footprint.js.map +1 -0
- package/dist/esm/models/identifier.d.ts +12 -0
- package/dist/esm/models/identifier.d.ts.map +1 -0
- package/dist/esm/models/identifier.js +10 -0
- package/dist/esm/models/identifier.js.map +1 -0
- package/dist/esm/models/impact.d.ts +14 -0
- package/dist/esm/models/impact.d.ts.map +1 -0
- package/dist/esm/models/impact.js +14 -0
- package/dist/esm/models/impact.js.map +1 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +11 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/risk-details-event-kind.d.ts +13 -0
- package/dist/esm/models/risk-details-event-kind.d.ts.map +1 -0
- package/dist/esm/models/risk-details-event-kind.js +11 -0
- package/dist/esm/models/risk-details-event-kind.js.map +1 -0
- package/dist/esm/models/risk-details-event.d.ts +35 -0
- package/dist/esm/models/risk-details-event.d.ts.map +1 -0
- package/dist/esm/models/risk-details-event.js +33 -0
- package/dist/esm/models/risk-details-event.js.map +1 -0
- package/dist/esm/models/risk-details.d.ts +6 -0
- package/dist/esm/models/risk-details.d.ts.map +1 -1
- package/dist/esm/models/risk-details.js +3 -0
- package/dist/esm/models/risk-details.js.map +1 -1
- package/dist/esm/models/risk-reason.d.ts +16 -2
- package/dist/esm/models/risk-reason.d.ts.map +1 -1
- package/dist/esm/models/risk-reason.js +8 -2
- package/dist/esm/models/risk-reason.js.map +1 -1
- package/dist/esm/models/risk-summary.d.ts +6 -0
- package/dist/esm/models/risk-summary.d.ts.map +1 -1
- package/dist/esm/models/risk-summary.js +3 -0
- package/dist/esm/models/risk-summary.js.map +1 -1
- package/dist/esm/models/risk.d.ts +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.1.8
|
|
4
|
+
|
|
5
|
+
* `sdk.assessments.create()`: `response` **Changed**
|
|
6
|
+
* `sdk.assessments.get()`: `response` **Changed**
|
|
7
|
+
* `sdk.assessments.query()`: `response.items[].risk` **Changed**
|
|
8
|
+
* `sdk.accounts.listChanged()`: `response.items[].risk.reasons[]` **Changed**
|
|
9
|
+
* `sdk.accounts.get()`: `response.risk.reasons[]` **Changed**
|
|
10
|
+
* `sdk.accounts.listAssessments()`: `response.items[].risk` **Changed**
|
|
11
|
+
|
|
3
12
|
## 7.1.7
|
|
4
13
|
|
|
5
14
|
* `sdk.assessments.create()`: `response.account.risk.reasons[].code` **Changed**
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1";
|
|
34
|
-
readonly sdkVersion: "7.1.
|
|
34
|
+
readonly sdkVersion: "7.1.8";
|
|
35
35
|
readonly genVersion: "internal";
|
|
36
|
-
readonly userAgent: "noresponse-sdk/typescript 7.1.
|
|
36
|
+
readonly userAgent: "noresponse-sdk/typescript 7.1.8 internal 1 @noresponse/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "1",
|
|
31
|
-
sdkVersion: "7.1.
|
|
31
|
+
sdkVersion: "7.1.8",
|
|
32
32
|
genVersion: "internal",
|
|
33
|
-
userAgent: "noresponse-sdk/typescript 7.1.
|
|
33
|
+
userAgent: "noresponse-sdk/typescript 7.1.8 internal 1 @noresponse/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -1,26 +1,40 @@
|
|
|
1
1
|
import * as z from "zod/v4-mini";
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { Direction } from "./direction.js";
|
|
3
4
|
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
|
+
import { Impact } from "./impact.js";
|
|
4
6
|
import { ReasonCode } from "./reason-code.js";
|
|
5
7
|
import { ReasonIdentifier } from "./reason-identifier.js";
|
|
8
|
+
/**
|
|
9
|
+
* One reason that fired. direction is whether it raises or lowers the score, or is neutral (informational, it moves nothing). impact is a coarse band of how much it moves the score: none for a neutral reason, otherwise low, medium or high.
|
|
10
|
+
*/
|
|
6
11
|
export type AccountRiskReason = {
|
|
7
12
|
/**
|
|
8
13
|
* A stable reason code. New codes may appear; ignore any you do not know.
|
|
9
14
|
*/
|
|
10
15
|
code: ReasonCode;
|
|
11
|
-
|
|
16
|
+
direction: Direction;
|
|
17
|
+
impact: Impact;
|
|
12
18
|
/**
|
|
13
19
|
* The submitted identifier or client context field a reason concerns; absent when it concerns the whole assessment. Client context is a claimed hint, not a device fingerprint.
|
|
14
20
|
*/
|
|
15
21
|
identifier?: ReasonIdentifier | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Deprecated and always 0: the policy's weights are not published. It is sent so that SDK versions that require it keep reading reasons. Read direction and impact.
|
|
24
|
+
*
|
|
25
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
26
|
+
*/
|
|
27
|
+
weight?: 0 | undefined;
|
|
16
28
|
};
|
|
17
29
|
/** @internal */
|
|
18
30
|
export declare const AccountRiskReason$inboundSchema: z.ZodMiniType<AccountRiskReason, unknown>;
|
|
19
31
|
/** @internal */
|
|
20
32
|
export type AccountRiskReason$Outbound = {
|
|
21
33
|
code: string;
|
|
22
|
-
|
|
34
|
+
direction: string;
|
|
35
|
+
impact: string;
|
|
23
36
|
identifier?: string | undefined;
|
|
37
|
+
weight?: 0 | undefined;
|
|
24
38
|
};
|
|
25
39
|
/** @internal */
|
|
26
40
|
export declare const AccountRiskReason$outboundSchema: z.ZodMiniType<AccountRiskReason$Outbound, AccountRiskReason>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-risk-reason.d.ts","sourceRoot":"","sources":["../../../src/models/account-risk-reason.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,UAAU,EAGX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,gBAAgB,EAGjB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"account-risk-reason.d.ts","sourceRoot":"","sources":["../../../src/models/account-risk-reason.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EACL,SAAS,EAGV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,MAAM,EAGP,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,UAAU,EAGX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,gBAAgB,EAGjB,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,WAAW,CACzD,iBAAiB,EACjB,OAAO,CAOP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,0BAA0B,EAC1B,iBAAiB,CAOjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AACD,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -39,19 +39,25 @@ exports.accountRiskReasonFromJSON = accountRiskReasonFromJSON;
|
|
|
39
39
|
const z = __importStar(require("zod/v4-mini"));
|
|
40
40
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
41
41
|
const types = __importStar(require("../types/primitives.js"));
|
|
42
|
+
const direction_js_1 = require("./direction.js");
|
|
43
|
+
const impact_js_1 = require("./impact.js");
|
|
42
44
|
const reason_code_js_1 = require("./reason-code.js");
|
|
43
45
|
const reason_identifier_js_1 = require("./reason-identifier.js");
|
|
44
46
|
/** @internal */
|
|
45
47
|
exports.AccountRiskReason$inboundSchema = z.object({
|
|
46
48
|
code: reason_code_js_1.ReasonCode$inboundSchema,
|
|
47
|
-
|
|
49
|
+
direction: direction_js_1.Direction$inboundSchema,
|
|
50
|
+
impact: impact_js_1.Impact$inboundSchema,
|
|
48
51
|
identifier: types.optional(reason_identifier_js_1.ReasonIdentifier$inboundSchema),
|
|
52
|
+
weight: types.optional(types.literal(0)),
|
|
49
53
|
});
|
|
50
54
|
/** @internal */
|
|
51
55
|
exports.AccountRiskReason$outboundSchema = z.object({
|
|
52
56
|
code: reason_code_js_1.ReasonCode$outboundSchema,
|
|
53
|
-
|
|
57
|
+
direction: direction_js_1.Direction$outboundSchema,
|
|
58
|
+
impact: impact_js_1.Impact$outboundSchema,
|
|
54
59
|
identifier: z.optional(reason_identifier_js_1.ReasonIdentifier$outboundSchema),
|
|
60
|
+
weight: z.optional(z.literal(0)),
|
|
55
61
|
});
|
|
56
62
|
function accountRiskReasonToJSON(accountRiskReason) {
|
|
57
63
|
return JSON.stringify(exports.AccountRiskReason$outboundSchema.parse(accountRiskReason));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-risk-reason.js","sourceRoot":"","sources":["../../../src/models/account-risk-reason.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;
|
|
1
|
+
{"version":3,"file":"account-risk-reason.js","sourceRoot":"","sources":["../../../src/models/account-risk-reason.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAChD,iDAIwB;AAExB,2CAIqB;AACrB,qDAI0B;AAC1B,iEAIgC;AAwBhC,gBAAgB;AACH,QAAA,+BAA+B,GAGxC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,yCAAwB;IAC9B,SAAS,EAAE,sCAAuB;IAClC,MAAM,EAAE,gCAAoB;IAC5B,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,qDAA8B,CAAC;IAC1D,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CACzC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,0CAAyB;IAC/B,SAAS,EAAE,uCAAwB;IACnC,MAAM,EAAE,iCAAqB;IAC7B,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,sDAA+B,CAAC;IACvD,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CACjC,CAAC,CAAC;AAEH,iCACE,iBAAoC,EAC5B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AAAA,CACH;AACD,mCACE,UAAkB,EACsC;IACxD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,+BAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AAAA,CACH"}
|
|
@@ -13,7 +13,7 @@ export type AccountRisk = {
|
|
|
13
13
|
*/
|
|
14
14
|
decision: AccountDecision;
|
|
15
15
|
/**
|
|
16
|
-
* Every reason that fired,
|
|
16
|
+
* Every reason that fired: risk-raising reasons first, then neutral, then risk-lowering, each strongest impact band first and then by code. The policy's numeric weights are kept private, so a reason carries only its direction and impact band.
|
|
17
17
|
*/
|
|
18
18
|
reasons: Array<AccountRiskReason>;
|
|
19
19
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
export declare const Agreement: {
|
|
4
|
+
readonly Match: "match";
|
|
5
|
+
readonly Partial: "partial";
|
|
6
|
+
readonly Mismatch: "mismatch";
|
|
7
|
+
};
|
|
8
|
+
export type Agreement = OpenEnum<typeof Agreement>;
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const Agreement$inboundSchema: z.ZodMiniType<Agreement, unknown>;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const Agreement$outboundSchema: z.ZodMiniType<string, Agreement>;
|
|
13
|
+
//# sourceMappingURL=agreement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agreement.d.ts","sourceRoot":"","sources":["../../../src/models/agreement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,eAAO,MAAM,SAAS;;;;CAIZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAEnD,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAClC,CAAC;AACrC,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,SAAS,CACjC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Agreement$outboundSchema = exports.Agreement$inboundSchema = exports.Agreement = void 0;
|
|
37
|
+
const openEnums = __importStar(require("../types/enums.js"));
|
|
38
|
+
exports.Agreement = {
|
|
39
|
+
Match: "match",
|
|
40
|
+
Partial: "partial",
|
|
41
|
+
Mismatch: "mismatch",
|
|
42
|
+
};
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.Agreement$inboundSchema = openEnums.inboundSchema(exports.Agreement);
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.Agreement$outboundSchema = openEnums.outboundSchema(exports.Agreement);
|
|
47
|
+
//# sourceMappingURL=agreement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agreement.js","sourceRoot":"","sources":["../../../src/models/agreement.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAY,SAAS,8CAA0B;AAGlC,QAAA,SAAS,GAAG;IACvB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AACH,QAAA,uBAAuB,GAClC,SAAS,CAAC,aAAa,CAAC,QAAA,SAAS,CAAC,CAAC;AACrC,gBAAgB;AACH,QAAA,wBAAwB,GACnC,SAAS,CAAC,cAAc,CAAC,QAAA,SAAS,CAAC,CAAC"}
|
|
@@ -42,7 +42,7 @@ export type AssessmentDetail = {
|
|
|
42
42
|
*/
|
|
43
43
|
confidence: Confidence;
|
|
44
44
|
/**
|
|
45
|
-
* The one risk decision for this event. score is 0 (safe) to 100 (risky)
|
|
45
|
+
* The one risk decision for this event. score is 0 (safe) to 100 (risky), set by the reasons that fired under a hand-set, versioned heuristic policy. Each reason carries its direction and impact band; the policy's weights are not published. Every answer with a recommendation carries it, and the top-level recommendation equals risk.recommendation. It names no source or provider.
|
|
46
46
|
*/
|
|
47
47
|
risk?: Risk | undefined;
|
|
48
48
|
/**
|
|
@@ -54,7 +54,7 @@ export type AssessmentDetail = {
|
|
|
54
54
|
*/
|
|
55
55
|
incompleteSources: Array<IncompleteSource>;
|
|
56
56
|
/**
|
|
57
|
-
* Version of the hand-authored heuristic
|
|
57
|
+
* Version of the hand-authored heuristic policy that produced the recommendation, for example 'risk-2026-10.7'. A workspace threshold override adds a +t<N> suffix, e.g. 'risk-2026-10.7+t3'.
|
|
58
58
|
*/
|
|
59
59
|
policyVersion: string;
|
|
60
60
|
/**
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { Agreement } from "./agreement.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
|
+
/**
|
|
6
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
7
|
+
*/
|
|
8
|
+
export type AttributeAgreement = {
|
|
9
|
+
agreement: Agreement;
|
|
10
|
+
values: number;
|
|
11
|
+
support: number;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const AttributeAgreement$inboundSchema: z.ZodMiniType<AttributeAgreement, unknown>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type AttributeAgreement$Outbound = {
|
|
17
|
+
agreement: string;
|
|
18
|
+
values: number;
|
|
19
|
+
support: number;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const AttributeAgreement$outboundSchema: z.ZodMiniType<AttributeAgreement$Outbound, AttributeAgreement>;
|
|
23
|
+
export declare function attributeAgreementToJSON(attributeAgreement: AttributeAgreement): string;
|
|
24
|
+
export declare function attributeAgreementFromJSON(jsonString: string): SafeParseResult<AttributeAgreement, SDKValidationError>;
|
|
25
|
+
//# sourceMappingURL=attribute-agreement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute-agreement.d.ts","sourceRoot":"","sources":["../../../src/models/attribute-agreement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EACL,SAAS,EAGV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,kBAAkB,EAClB,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,2BAA2B,EAC3B,kBAAkB,CAKlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AttributeAgreement$outboundSchema = exports.AttributeAgreement$inboundSchema = void 0;
|
|
37
|
+
exports.attributeAgreementToJSON = attributeAgreementToJSON;
|
|
38
|
+
exports.attributeAgreementFromJSON = attributeAgreementFromJSON;
|
|
39
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
40
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
41
|
+
const types = __importStar(require("../types/primitives.js"));
|
|
42
|
+
const agreement_js_1 = require("./agreement.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.AttributeAgreement$inboundSchema = z.object({
|
|
45
|
+
agreement: agreement_js_1.Agreement$inboundSchema,
|
|
46
|
+
values: types.number(),
|
|
47
|
+
support: types.number(),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.AttributeAgreement$outboundSchema = z.object({
|
|
51
|
+
agreement: agreement_js_1.Agreement$outboundSchema,
|
|
52
|
+
values: z.int(),
|
|
53
|
+
support: z.int(),
|
|
54
|
+
});
|
|
55
|
+
function attributeAgreementToJSON(attributeAgreement) {
|
|
56
|
+
return JSON.stringify(exports.AttributeAgreement$outboundSchema.parse(attributeAgreement));
|
|
57
|
+
}
|
|
58
|
+
function attributeAgreementFromJSON(jsonString) {
|
|
59
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AttributeAgreement$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AttributeAgreement' from JSON`);
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=attribute-agreement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute-agreement.js","sourceRoot":"","sources":["../../../src/models/attribute-agreement.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAChD,iDAIwB;AAYxB,gBAAgB;AACH,QAAA,gCAAgC,GAGzC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,sCAAuB;IAClC,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,iCAAiC,GAG1C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,uCAAwB;IACnC,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;IACf,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE;CACjB,CAAC,CAAC;AAEH,kCACE,kBAAsC,EAC9B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AAAA,CACH;AACD,oCACE,UAAkB,EACuC;IACzD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
export declare const Direction: {
|
|
4
|
+
readonly Raises: "raises";
|
|
5
|
+
readonly Lowers: "lowers";
|
|
6
|
+
readonly Neutral: "neutral";
|
|
7
|
+
};
|
|
8
|
+
export type Direction = OpenEnum<typeof Direction>;
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const Direction$inboundSchema: z.ZodMiniType<Direction, unknown>;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const Direction$outboundSchema: z.ZodMiniType<string, Direction>;
|
|
13
|
+
//# sourceMappingURL=direction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direction.d.ts","sourceRoot":"","sources":["../../../src/models/direction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,eAAO,MAAM,SAAS;;;;CAIZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAEnD,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,CAClC,CAAC;AACrC,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,SAAS,CACjC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Direction$outboundSchema = exports.Direction$inboundSchema = exports.Direction = void 0;
|
|
37
|
+
const openEnums = __importStar(require("../types/enums.js"));
|
|
38
|
+
exports.Direction = {
|
|
39
|
+
Raises: "raises",
|
|
40
|
+
Lowers: "lowers",
|
|
41
|
+
Neutral: "neutral",
|
|
42
|
+
};
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.Direction$inboundSchema = openEnums.inboundSchema(exports.Direction);
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.Direction$outboundSchema = openEnums.outboundSchema(exports.Direction);
|
|
47
|
+
//# sourceMappingURL=direction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direction.js","sourceRoot":"","sources":["../../../src/models/direction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAY,SAAS,8CAA0B;AAGlC,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAGX,gBAAgB;AACH,QAAA,uBAAuB,GAClC,SAAS,CAAC,aAAa,CAAC,QAAA,SAAS,CAAC,CAAC;AACrC,gBAAgB;AACH,QAAA,wBAAwB,GACnC,SAAS,CAAC,cAAc,CAAC,QAAA,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { AttributeAgreement, AttributeAgreement$Outbound } from "./attribute-agreement.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
5
|
+
export type FootprintCoherence = {
|
|
6
|
+
/**
|
|
7
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
8
|
+
*/
|
|
9
|
+
birthDate?: AttributeAgreement | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
12
|
+
*/
|
|
13
|
+
gender?: AttributeAgreement | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
16
|
+
*/
|
|
17
|
+
nationality?: AttributeAgreement | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
20
|
+
*/
|
|
21
|
+
country?: AttributeAgreement | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
24
|
+
*/
|
|
25
|
+
city?: AttributeAgreement | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
28
|
+
*/
|
|
29
|
+
zip?: AttributeAgreement | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
32
|
+
*/
|
|
33
|
+
name?: AttributeAgreement | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
36
|
+
*/
|
|
37
|
+
company?: AttributeAgreement | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
40
|
+
*/
|
|
41
|
+
website?: AttributeAgreement | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* How far independent sources agree on one attribute: values is the number of distinct values reported, support the tables and profiles reporting any, and agreement match (one value), partial (the most reported value holds more than half the support) or mismatch. The values themselves are not served.
|
|
44
|
+
*/
|
|
45
|
+
social?: AttributeAgreement | undefined;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const FootprintCoherence$inboundSchema: z.ZodMiniType<FootprintCoherence, unknown>;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export type FootprintCoherence$Outbound = {
|
|
51
|
+
birth_date?: AttributeAgreement$Outbound | undefined;
|
|
52
|
+
gender?: AttributeAgreement$Outbound | undefined;
|
|
53
|
+
nationality?: AttributeAgreement$Outbound | undefined;
|
|
54
|
+
country?: AttributeAgreement$Outbound | undefined;
|
|
55
|
+
city?: AttributeAgreement$Outbound | undefined;
|
|
56
|
+
zip?: AttributeAgreement$Outbound | undefined;
|
|
57
|
+
name?: AttributeAgreement$Outbound | undefined;
|
|
58
|
+
company?: AttributeAgreement$Outbound | undefined;
|
|
59
|
+
website?: AttributeAgreement$Outbound | undefined;
|
|
60
|
+
social?: AttributeAgreement$Outbound | undefined;
|
|
61
|
+
};
|
|
62
|
+
/** @internal */
|
|
63
|
+
export declare const FootprintCoherence$outboundSchema: z.ZodMiniType<FootprintCoherence$Outbound, FootprintCoherence>;
|
|
64
|
+
export declare function footprintCoherenceToJSON(footprintCoherence: FootprintCoherence): string;
|
|
65
|
+
export declare function footprintCoherenceFromJSON(jsonString: string): SafeParseResult<FootprintCoherence, SDKValidationError>;
|
|
66
|
+
//# sourceMappingURL=footprint-coherence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footprint-coherence.d.ts","sourceRoot":"","sources":["../../../src/models/footprint-coherence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,GAAG,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,kBAAkB,EAClB,OAAO,CAmBR,CAAC;AACF,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACrD,MAAM,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACjD,WAAW,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACtD,OAAO,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAClD,IAAI,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAC/C,GAAG,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAC9C,IAAI,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAClD,OAAO,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAClD,MAAM,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,2BAA2B,EAC3B,kBAAkB,CAmBnB,CAAC;AAEF,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.FootprintCoherence$outboundSchema = exports.FootprintCoherence$inboundSchema = void 0;
|
|
37
|
+
exports.footprintCoherenceToJSON = footprintCoherenceToJSON;
|
|
38
|
+
exports.footprintCoherenceFromJSON = footprintCoherenceFromJSON;
|
|
39
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
40
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
41
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
42
|
+
const types = __importStar(require("../types/primitives.js"));
|
|
43
|
+
const attribute_agreement_js_1 = require("./attribute-agreement.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.FootprintCoherence$inboundSchema = z.pipe(z.object({
|
|
46
|
+
birth_date: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
47
|
+
gender: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
48
|
+
nationality: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
49
|
+
country: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
50
|
+
city: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
51
|
+
zip: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
52
|
+
name: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
53
|
+
company: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
54
|
+
website: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
55
|
+
social: types.optional(attribute_agreement_js_1.AttributeAgreement$inboundSchema),
|
|
56
|
+
}), z.transform((v) => {
|
|
57
|
+
return (0, primitives_js_1.remap)(v, {
|
|
58
|
+
"birth_date": "birthDate",
|
|
59
|
+
});
|
|
60
|
+
}));
|
|
61
|
+
/** @internal */
|
|
62
|
+
exports.FootprintCoherence$outboundSchema = z.pipe(z.object({
|
|
63
|
+
birthDate: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
64
|
+
gender: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
65
|
+
nationality: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
66
|
+
country: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
67
|
+
city: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
68
|
+
zip: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
69
|
+
name: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
70
|
+
company: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
71
|
+
website: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
72
|
+
social: z.optional(attribute_agreement_js_1.AttributeAgreement$outboundSchema),
|
|
73
|
+
}), z.transform((v) => {
|
|
74
|
+
return (0, primitives_js_1.remap)(v, {
|
|
75
|
+
birthDate: "birth_date",
|
|
76
|
+
});
|
|
77
|
+
}));
|
|
78
|
+
function footprintCoherenceToJSON(footprintCoherence) {
|
|
79
|
+
return JSON.stringify(exports.FootprintCoherence$outboundSchema.parse(footprintCoherence));
|
|
80
|
+
}
|
|
81
|
+
function footprintCoherenceFromJSON(jsonString) {
|
|
82
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FootprintCoherence$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FootprintCoherence' from JSON`);
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=footprint-coherence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footprint-coherence.js","sourceRoot":"","sources":["../../../src/models/footprint-coherence.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAChD,qEAKkC;AA8ClC,gBAAgB;AACH,QAAA,gCAAgC,GAGzC,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IAC5D,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IACxD,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IAC7D,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IACzD,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IACtD,GAAG,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IACrD,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IACtD,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IACzD,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;IACzD,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,yDAAgC,CAAC;CACzD,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAeF,gBAAgB;AACH,QAAA,iCAAiC,GAG1C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IACrD,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IAC1D,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IACtD,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IACnD,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IAClD,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IACnD,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IACtD,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;IACtD,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,0DAAiC,CAAC;CACtD,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,kCACE,kBAAsC,EAC9B;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AAAA,CACH;AACD,oCACE,UAAkB,EACuC;IACzD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* The source-neutral kind of evidence: account_presence (an account found on a site), auth_provider (the account at your auth provider), breach (breach and credential tables), breach_abuse (abuse and fraud communities' tables) and code_hosting (a code hosting profile).
|
|
5
|
+
*/
|
|
6
|
+
export declare const FootprintFamily: {
|
|
7
|
+
readonly AccountPresence: "account_presence";
|
|
8
|
+
readonly AuthProvider: "auth_provider";
|
|
9
|
+
readonly Breach: "breach";
|
|
10
|
+
readonly BreachAbuse: "breach_abuse";
|
|
11
|
+
readonly CodeHosting: "code_hosting";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The source-neutral kind of evidence: account_presence (an account found on a site), auth_provider (the account at your auth provider), breach (breach and credential tables), breach_abuse (abuse and fraud communities' tables) and code_hosting (a code hosting profile).
|
|
15
|
+
*/
|
|
16
|
+
export type FootprintFamily = OpenEnum<typeof FootprintFamily>;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const FootprintFamily$inboundSchema: z.ZodMiniType<FootprintFamily, unknown>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const FootprintFamily$outboundSchema: z.ZodMiniType<string, FootprintFamily>;
|
|
21
|
+
//# sourceMappingURL=footprint-family.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footprint-family.d.ts","sourceRoot":"","sources":["../../../src/models/footprint-family.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,WAAW,CACvD,eAAe,EACf,OAAO,CACmC,CAAC;AAC7C,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,MAAM,EACN,eAAe,CAC4B,CAAC"}
|