@vepler/sdk 7.9.0 → 7.11.2
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/commonjs/funcs/planningGetPlanningApplications.d.ts +1 -1
- package/dist/commonjs/funcs/planningGetPlanningApplications.js +1 -1
- package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.d.ts +1 -1
- package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.js +1 -1
- package/dist/commonjs/funcs/planningSearchPlanningApplications.d.ts +1 -1
- package/dist/commonjs/funcs/planningSearchPlanningApplications.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +0 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +0 -1
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningapplication.d.ts +2 -7
- package/dist/commonjs/sdk/models/shared/planningapplication.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningapplication.js +0 -2
- package/dist/commonjs/sdk/models/shared/planningapplication.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts +1 -1
- package/dist/commonjs/sdk/planning.d.ts +3 -3
- package/dist/commonjs/sdk/planning.js +3 -3
- package/dist/esm/funcs/planningGetPlanningApplications.d.ts +1 -1
- package/dist/esm/funcs/planningGetPlanningApplications.js +1 -1
- package/dist/esm/funcs/planningGetPlanningApplicationsBySource.d.ts +1 -1
- package/dist/esm/funcs/planningGetPlanningApplicationsBySource.js +1 -1
- package/dist/esm/funcs/planningSearchPlanningApplications.d.ts +1 -1
- package/dist/esm/funcs/planningSearchPlanningApplications.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplications.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +0 -1
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +0 -1
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/planningapplication.d.ts +2 -7
- package/dist/esm/sdk/models/shared/planningapplication.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/planningapplication.js +0 -2
- package/dist/esm/sdk/models/shared/planningapplication.js.map +1 -1
- package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts +1 -1
- package/dist/esm/sdk/planning.d.ts +3 -3
- package/dist/esm/sdk/planning.js +3 -3
- package/package.json +1 -1
- package/src/funcs/planningGetPlanningApplications.ts +1 -1
- package/src/funcs/planningGetPlanningApplicationsBySource.ts +1 -1
- package/src/funcs/planningSearchPlanningApplications.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/sdk/models/operations/getplanningapplications.ts +1 -1
- package/src/sdk/models/operations/getplanningapplicationsbysource.ts +1 -1
- package/src/sdk/models/shared/index.ts +0 -1
- package/src/sdk/models/shared/planningapplication.ts +2 -11
- package/src/sdk/models/shared/planningqueryrequest.ts +1 -1
- package/src/sdk/planning.ts +3 -3
- package/dist/commonjs/sdk/models/shared/planningclassificationreasoning.d.ts +0 -45
- package/dist/commonjs/sdk/models/shared/planningclassificationreasoning.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/shared/planningclassificationreasoning.js +0 -57
- package/dist/commonjs/sdk/models/shared/planningclassificationreasoning.js.map +0 -1
- package/dist/esm/sdk/models/shared/planningclassificationreasoning.d.ts +0 -45
- package/dist/esm/sdk/models/shared/planningclassificationreasoning.d.ts.map +0 -1
- package/dist/esm/sdk/models/shared/planningclassificationreasoning.js +0 -20
- package/dist/esm/sdk/models/shared/planningclassificationreasoning.js.map +0 -1
- package/src/sdk/models/shared/planningclassificationreasoning.ts +0 -69
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type PlanningClassificationReasoning = {
|
|
5
|
-
/**
|
|
6
|
-
* Version of the classification method that produced this result. Null when the version was not recorded.
|
|
7
|
-
*/
|
|
8
|
-
classificationVersion?: string | null | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* How certain the run was in each dimension it judged. Null when the run recorded no breakdown.
|
|
11
|
-
*/
|
|
12
|
-
confidenceBreakdown?: {
|
|
13
|
-
[k: string]: any;
|
|
14
|
-
} | null | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* When this classification run was recorded, as an ISO 8601 timestamp.
|
|
17
|
-
*/
|
|
18
|
-
createdAt: string;
|
|
19
|
-
/**
|
|
20
|
-
* The classification this run settled on, with the fields that carry it.
|
|
21
|
-
*/
|
|
22
|
-
finalClassification?: {
|
|
23
|
-
[k: string]: any;
|
|
24
|
-
} | null | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Human-readable explanation of how the classification was reached. Null when none was recorded.
|
|
27
|
-
*/
|
|
28
|
-
reasoning?: string | null | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* True when the run marked this classification for human review. Null when the run recorded no verdict either way.
|
|
31
|
-
*/
|
|
32
|
-
requiresHumanReview?: boolean | null | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Points the run was unsure about. Empty when it flagged none.
|
|
35
|
-
*/
|
|
36
|
-
uncertaintyFlags?: Array<any> | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Inconsistencies the validation step raised against the classification. Empty when it raised none.
|
|
39
|
-
*/
|
|
40
|
-
validationIssues?: Array<any> | undefined;
|
|
41
|
-
};
|
|
42
|
-
/** @internal */
|
|
43
|
-
export declare const PlanningClassificationReasoning$inboundSchema: z.ZodType<PlanningClassificationReasoning, z.ZodTypeDef, unknown>;
|
|
44
|
-
export declare function planningClassificationReasoningFromJSON(jsonString: string): SafeParseResult<PlanningClassificationReasoning, SDKValidationError>;
|
|
45
|
-
//# sourceMappingURL=planningclassificationreasoning.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"planningclassificationreasoning.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/planningclassificationreasoning.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD;;OAEG;IACH,mBAAmB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,mBAAmB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.PlanningClassificationReasoning$inboundSchema = void 0;
|
|
40
|
-
exports.planningClassificationReasoningFromJSON = planningClassificationReasoningFromJSON;
|
|
41
|
-
const z = __importStar(require("zod/v3"));
|
|
42
|
-
const schemas_js_1 = require("../../../lib/schemas.js");
|
|
43
|
-
/** @internal */
|
|
44
|
-
exports.PlanningClassificationReasoning$inboundSchema = z.object({
|
|
45
|
-
classificationVersion: z.nullable(z.string()).optional(),
|
|
46
|
-
confidenceBreakdown: z.nullable(z.record(z.any())).optional(),
|
|
47
|
-
createdAt: z.string(),
|
|
48
|
-
finalClassification: z.nullable(z.record(z.any())).optional(),
|
|
49
|
-
reasoning: z.nullable(z.string()).optional(),
|
|
50
|
-
requiresHumanReview: z.nullable(z.boolean()).optional(),
|
|
51
|
-
uncertaintyFlags: z.array(z.any()).optional(),
|
|
52
|
-
validationIssues: z.array(z.any()).optional(),
|
|
53
|
-
});
|
|
54
|
-
function planningClassificationReasoningFromJSON(jsonString) {
|
|
55
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PlanningClassificationReasoning$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlanningClassificationReasoning' from JSON`);
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=planningclassificationreasoning.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"planningclassificationreasoning.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/planningclassificationreasoning.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DH,0FAQC;AAhED,0CAA4B;AAC5B,wDAAoD;AAuCpD,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxD,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
export type PlanningClassificationReasoning = {
|
|
5
|
-
/**
|
|
6
|
-
* Version of the classification method that produced this result. Null when the version was not recorded.
|
|
7
|
-
*/
|
|
8
|
-
classificationVersion?: string | null | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* How certain the run was in each dimension it judged. Null when the run recorded no breakdown.
|
|
11
|
-
*/
|
|
12
|
-
confidenceBreakdown?: {
|
|
13
|
-
[k: string]: any;
|
|
14
|
-
} | null | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* When this classification run was recorded, as an ISO 8601 timestamp.
|
|
17
|
-
*/
|
|
18
|
-
createdAt: string;
|
|
19
|
-
/**
|
|
20
|
-
* The classification this run settled on, with the fields that carry it.
|
|
21
|
-
*/
|
|
22
|
-
finalClassification?: {
|
|
23
|
-
[k: string]: any;
|
|
24
|
-
} | null | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Human-readable explanation of how the classification was reached. Null when none was recorded.
|
|
27
|
-
*/
|
|
28
|
-
reasoning?: string | null | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* True when the run marked this classification for human review. Null when the run recorded no verdict either way.
|
|
31
|
-
*/
|
|
32
|
-
requiresHumanReview?: boolean | null | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Points the run was unsure about. Empty when it flagged none.
|
|
35
|
-
*/
|
|
36
|
-
uncertaintyFlags?: Array<any> | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Inconsistencies the validation step raised against the classification. Empty when it raised none.
|
|
39
|
-
*/
|
|
40
|
-
validationIssues?: Array<any> | undefined;
|
|
41
|
-
};
|
|
42
|
-
/** @internal */
|
|
43
|
-
export declare const PlanningClassificationReasoning$inboundSchema: z.ZodType<PlanningClassificationReasoning, z.ZodTypeDef, unknown>;
|
|
44
|
-
export declare function planningClassificationReasoningFromJSON(jsonString: string): SafeParseResult<PlanningClassificationReasoning, SDKValidationError>;
|
|
45
|
-
//# sourceMappingURL=planningclassificationreasoning.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"planningclassificationreasoning.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/planningclassificationreasoning.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD;;OAEG;IACH,mBAAmB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,mBAAmB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v3";
|
|
5
|
-
import { safeParse } from "../../../lib/schemas.js";
|
|
6
|
-
/** @internal */
|
|
7
|
-
export const PlanningClassificationReasoning$inboundSchema = z.object({
|
|
8
|
-
classificationVersion: z.nullable(z.string()).optional(),
|
|
9
|
-
confidenceBreakdown: z.nullable(z.record(z.any())).optional(),
|
|
10
|
-
createdAt: z.string(),
|
|
11
|
-
finalClassification: z.nullable(z.record(z.any())).optional(),
|
|
12
|
-
reasoning: z.nullable(z.string()).optional(),
|
|
13
|
-
requiresHumanReview: z.nullable(z.boolean()).optional(),
|
|
14
|
-
uncertaintyFlags: z.array(z.any()).optional(),
|
|
15
|
-
validationIssues: z.array(z.any()).optional(),
|
|
16
|
-
});
|
|
17
|
-
export function planningClassificationReasoningFromJSON(jsonString) {
|
|
18
|
-
return safeParse(jsonString, (x) => PlanningClassificationReasoning$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlanningClassificationReasoning' from JSON`);
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=planningclassificationreasoning.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"planningclassificationreasoning.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/planningclassificationreasoning.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAuCpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxD,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAEH,MAAM,UAAU,uCAAuC,CACrD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type PlanningClassificationReasoning = {
|
|
11
|
-
/**
|
|
12
|
-
* Version of the classification method that produced this result. Null when the version was not recorded.
|
|
13
|
-
*/
|
|
14
|
-
classificationVersion?: string | null | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* How certain the run was in each dimension it judged. Null when the run recorded no breakdown.
|
|
17
|
-
*/
|
|
18
|
-
confidenceBreakdown?: { [k: string]: any } | null | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* When this classification run was recorded, as an ISO 8601 timestamp.
|
|
21
|
-
*/
|
|
22
|
-
createdAt: string;
|
|
23
|
-
/**
|
|
24
|
-
* The classification this run settled on, with the fields that carry it.
|
|
25
|
-
*/
|
|
26
|
-
finalClassification?: { [k: string]: any } | null | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Human-readable explanation of how the classification was reached. Null when none was recorded.
|
|
29
|
-
*/
|
|
30
|
-
reasoning?: string | null | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* True when the run marked this classification for human review. Null when the run recorded no verdict either way.
|
|
33
|
-
*/
|
|
34
|
-
requiresHumanReview?: boolean | null | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Points the run was unsure about. Empty when it flagged none.
|
|
37
|
-
*/
|
|
38
|
-
uncertaintyFlags?: Array<any> | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Inconsistencies the validation step raised against the classification. Empty when it raised none.
|
|
41
|
-
*/
|
|
42
|
-
validationIssues?: Array<any> | undefined;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const PlanningClassificationReasoning$inboundSchema: z.ZodType<
|
|
47
|
-
PlanningClassificationReasoning,
|
|
48
|
-
z.ZodTypeDef,
|
|
49
|
-
unknown
|
|
50
|
-
> = z.object({
|
|
51
|
-
classificationVersion: z.nullable(z.string()).optional(),
|
|
52
|
-
confidenceBreakdown: z.nullable(z.record(z.any())).optional(),
|
|
53
|
-
createdAt: z.string(),
|
|
54
|
-
finalClassification: z.nullable(z.record(z.any())).optional(),
|
|
55
|
-
reasoning: z.nullable(z.string()).optional(),
|
|
56
|
-
requiresHumanReview: z.nullable(z.boolean()).optional(),
|
|
57
|
-
uncertaintyFlags: z.array(z.any()).optional(),
|
|
58
|
-
validationIssues: z.array(z.any()).optional(),
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
export function planningClassificationReasoningFromJSON(
|
|
62
|
-
jsonString: string,
|
|
63
|
-
): SafeParseResult<PlanningClassificationReasoning, SDKValidationError> {
|
|
64
|
-
return safeParse(
|
|
65
|
-
jsonString,
|
|
66
|
-
(x) => PlanningClassificationReasoning$inboundSchema.parse(JSON.parse(x)),
|
|
67
|
-
`Failed to parse 'PlanningClassificationReasoning' from JSON`,
|
|
68
|
-
);
|
|
69
|
-
}
|