syllable-sdk 0.1.0-alpha.46 → 0.1.0-alpha.47
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/README.md +34 -0
- package/docs/sdks/insights/README.md +6 -0
- package/docs/sdks/summary/README.md +85 -0
- package/docs/sdks/syllablesdktools/README.md +411 -0
- package/docs/sdks/workflows/README.md +429 -0
- package/funcs/insightsToolsCreate.d.ts +16 -0
- package/funcs/insightsToolsCreate.d.ts.map +1 -0
- package/funcs/insightsToolsCreate.js +102 -0
- package/funcs/insightsToolsCreate.js.map +1 -0
- package/funcs/insightsToolsGetById.d.ts +17 -0
- package/funcs/insightsToolsGetById.d.ts.map +1 -0
- package/funcs/insightsToolsGetById.js +108 -0
- package/funcs/insightsToolsGetById.js.map +1 -0
- package/funcs/insightsToolsInsightToolGetDefinitions.d.ts +15 -0
- package/funcs/insightsToolsInsightToolGetDefinitions.d.ts.map +1 -0
- package/funcs/insightsToolsInsightToolGetDefinitions.js +89 -0
- package/funcs/insightsToolsInsightToolGetDefinitions.js.map +1 -0
- package/funcs/insightsToolsList.d.ts +17 -0
- package/funcs/insightsToolsList.d.ts.map +1 -0
- package/funcs/insightsToolsList.js +114 -0
- package/funcs/insightsToolsList.js.map +1 -0
- package/funcs/insightsToolsUpdate.d.ts +17 -0
- package/funcs/insightsToolsUpdate.d.ts.map +1 -0
- package/funcs/insightsToolsUpdate.js +109 -0
- package/funcs/insightsToolsUpdate.js.map +1 -0
- package/funcs/insightsWorkflowsCreate.d.ts +16 -0
- package/funcs/insightsWorkflowsCreate.d.ts.map +1 -0
- package/funcs/insightsWorkflowsCreate.js +102 -0
- package/funcs/insightsWorkflowsCreate.js.map +1 -0
- package/funcs/insightsWorkflowsDelete.d.ts +16 -0
- package/funcs/insightsWorkflowsDelete.d.ts.map +1 -0
- package/funcs/insightsWorkflowsDelete.js +108 -0
- package/funcs/insightsWorkflowsDelete.js.map +1 -0
- package/funcs/insightsWorkflowsGetById.d.ts +17 -0
- package/funcs/insightsWorkflowsGetById.d.ts.map +1 -0
- package/funcs/insightsWorkflowsGetById.js +108 -0
- package/funcs/insightsWorkflowsGetById.js.map +1 -0
- package/funcs/insightsWorkflowsList.d.ts +17 -0
- package/funcs/insightsWorkflowsList.d.ts.map +1 -0
- package/funcs/insightsWorkflowsList.js +114 -0
- package/funcs/insightsWorkflowsList.js.map +1 -0
- package/funcs/insightsWorkflowsUpdate.d.ts +17 -0
- package/funcs/insightsWorkflowsUpdate.d.ts.map +1 -0
- package/funcs/insightsWorkflowsUpdate.js +111 -0
- package/funcs/insightsWorkflowsUpdate.js.map +1 -0
- package/funcs/sessionsSummaryGetById.d.ts +13 -0
- package/funcs/sessionsSummaryGetById.d.ts.map +1 -0
- package/funcs/sessionsSummaryGetById.js +105 -0
- package/funcs/sessionsSummaryGetById.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mintlify/mint.json +4 -2
- package/models/components/index.d.ts +9 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +9 -0
- package/models/components/index.js.map +1 -1
- package/models/components/insighttooldefinition.d.ts +105 -0
- package/models/components/insighttooldefinition.d.ts.map +1 -0
- package/models/components/insighttooldefinition.js +126 -0
- package/models/components/insighttooldefinition.js.map +1 -0
- package/models/components/insighttoolinput.d.ts +76 -0
- package/models/components/insighttoolinput.d.ts.map +1 -0
- package/models/components/insighttoolinput.js +101 -0
- package/models/components/insighttoolinput.js.map +1 -0
- package/models/components/insighttooloutput.d.ts +102 -0
- package/models/components/insighttooloutput.d.ts.map +1 -0
- package/models/components/insighttooloutput.js +124 -0
- package/models/components/insighttooloutput.js.map +1 -0
- package/models/components/insighttoolproperties.d.ts +40 -0
- package/models/components/insighttoolproperties.d.ts.map +1 -0
- package/models/components/insighttoolproperties.js +54 -0
- package/models/components/insighttoolproperties.js.map +1 -0
- package/models/components/insightworkflowinput.d.ts +76 -0
- package/models/components/insightworkflowinput.d.ts.map +1 -0
- package/models/components/insightworkflowinput.js +99 -0
- package/models/components/insightworkflowinput.js.map +1 -0
- package/models/components/insightworkflowoutput.d.ts +102 -0
- package/models/components/insightworkflowoutput.d.ts.map +1 -0
- package/models/components/insightworkflowoutput.js +120 -0
- package/models/components/insightworkflowoutput.js.map +1 -0
- package/models/components/insightworkflowproperties.d.ts +43 -0
- package/models/components/insightworkflowproperties.d.ts.map +1 -0
- package/models/components/insightworkflowproperties.js +55 -0
- package/models/components/insightworkflowproperties.js.map +1 -0
- package/models/components/listresponseinsighttooloutput.d.ts +38 -0
- package/models/components/listresponseinsighttooloutput.d.ts.map +1 -0
- package/models/components/listresponseinsighttooloutput.js +81 -0
- package/models/components/listresponseinsighttooloutput.js.map +1 -0
- package/models/components/listresponseinsightworkflowoutput.d.ts +38 -0
- package/models/components/listresponseinsightworkflowoutput.d.ts.map +1 -0
- package/models/components/listresponseinsightworkflowoutput.js +81 -0
- package/models/components/listresponseinsightworkflowoutput.js.map +1 -0
- package/models/operations/directoryworkflowdelete.d.ts +29 -0
- package/models/operations/directoryworkflowdelete.d.ts.map +1 -0
- package/models/operations/directoryworkflowdelete.js +68 -0
- package/models/operations/directoryworkflowdelete.js.map +1 -0
- package/models/operations/index.d.ts +8 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +8 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/insightstoolupdate.d.ts +32 -0
- package/models/operations/insightstoolupdate.d.ts.map +1 -0
- package/models/operations/insightstoolupdate.js +73 -0
- package/models/operations/insightstoolupdate.js.map +1 -0
- package/models/operations/insightsworkflowgetbyid.d.ts +29 -0
- package/models/operations/insightsworkflowgetbyid.d.ts.map +1 -0
- package/models/operations/insightsworkflowgetbyid.js +68 -0
- package/models/operations/insightsworkflowgetbyid.js.map +1 -0
- package/models/operations/insightsworkflowlist.d.ts +46 -0
- package/models/operations/insightsworkflowlist.d.ts.map +1 -0
- package/models/operations/insightsworkflowlist.js +101 -0
- package/models/operations/insightsworkflowlist.js.map +1 -0
- package/models/operations/insightsworkflowupdate.d.ts +32 -0
- package/models/operations/insightsworkflowupdate.d.ts.map +1 -0
- package/models/operations/insightsworkflowupdate.js +73 -0
- package/models/operations/insightsworkflowupdate.js.map +1 -0
- package/models/operations/insighttoolgetbyid.d.ts +29 -0
- package/models/operations/insighttoolgetbyid.d.ts.map +1 -0
- package/models/operations/insighttoolgetbyid.js +68 -0
- package/models/operations/insighttoolgetbyid.js.map +1 -0
- package/models/operations/insighttoollist.d.ts +46 -0
- package/models/operations/insighttoollist.d.ts.map +1 -0
- package/models/operations/insighttoollist.js +103 -0
- package/models/operations/insighttoollist.js.map +1 -0
- package/models/operations/sessionsummarygetbyid.d.ts +29 -0
- package/models/operations/sessionsummarygetbyid.d.ts.map +1 -0
- package/models/operations/sessionsummarygetbyid.js +68 -0
- package/models/operations/sessionsummarygetbyid.js.map +1 -0
- package/openapi.json +1255 -35
- package/package.json +1 -1
- package/sdk/insights.d.ts +10 -0
- package/sdk/insights.d.ts.map +1 -0
- package/sdk/insights.js +19 -0
- package/sdk/insights.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/sessions.d.ts +3 -0
- package/sdk/sessions.d.ts.map +1 -1
- package/sdk/sessions.js +4 -0
- package/sdk/sessions.js.map +1 -1
- package/sdk/summary.d.ts +9 -0
- package/sdk/summary.d.ts.map +1 -0
- package/sdk/summary.js +19 -0
- package/sdk/summary.js.map +1 -0
- package/sdk/syllablesdktools.d.ts +41 -0
- package/sdk/syllablesdktools.d.ts.map +1 -0
- package/sdk/syllablesdktools.js +62 -0
- package/sdk/syllablesdktools.js.map +1 -0
- package/sdk/workflows.d.ts +41 -0
- package/sdk/workflows.d.ts.map +1 -0
- package/sdk/workflows.js +62 -0
- package/sdk/workflows.js.map +1 -0
- package/src/funcs/insightsToolsCreate.ts +135 -0
- package/src/funcs/insightsToolsGetById.ts +142 -0
- package/src/funcs/insightsToolsInsightToolGetDefinitions.ts +112 -0
- package/src/funcs/insightsToolsList.ts +148 -0
- package/src/funcs/insightsToolsUpdate.ts +143 -0
- package/src/funcs/insightsWorkflowsCreate.ts +135 -0
- package/src/funcs/insightsWorkflowsDelete.ts +145 -0
- package/src/funcs/insightsWorkflowsGetById.ts +145 -0
- package/src/funcs/insightsWorkflowsList.ts +149 -0
- package/src/funcs/insightsWorkflowsUpdate.ts +148 -0
- package/src/funcs/sessionsSummaryGetById.ts +140 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +9 -0
- package/src/models/components/insighttooldefinition.ts +213 -0
- package/src/models/components/insighttoolinput.ts +163 -0
- package/src/models/components/insighttooloutput.ts +210 -0
- package/src/models/components/insighttoolproperties.ts +37 -0
- package/src/models/components/insightworkflowinput.ts +161 -0
- package/src/models/components/insightworkflowoutput.ts +206 -0
- package/src/models/components/insightworkflowproperties.ts +40 -0
- package/src/models/components/listresponseinsighttooloutput.ts +103 -0
- package/src/models/components/listresponseinsightworkflowoutput.ts +104 -0
- package/src/models/operations/directoryworkflowdelete.ts +77 -0
- package/src/models/operations/index.ts +8 -0
- package/src/models/operations/insightstoolupdate.ts +82 -0
- package/src/models/operations/insightsworkflowgetbyid.ts +77 -0
- package/src/models/operations/insightsworkflowlist.ts +130 -0
- package/src/models/operations/insightsworkflowupdate.ts +84 -0
- package/src/models/operations/insighttoolgetbyid.ts +75 -0
- package/src/models/operations/insighttoollist.ts +126 -0
- package/src/models/operations/sessionsummarygetbyid.ts +77 -0
- package/src/sdk/insights.ts +19 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/sessions.ts +6 -0
- package/src/sdk/summary.ts +24 -0
- package/src/sdk/syllablesdktools.ts +98 -0
- package/src/sdk/workflows.ts +100 -0
|
@@ -0,0 +1,101 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InsightToolInput$ = exports.InsightToolInput$outboundSchema = exports.InsightToolInput$inboundSchema = exports.InsightToolInputToolArguments$ = exports.InsightToolInputToolArguments$outboundSchema = exports.InsightToolInputToolArguments$inboundSchema = void 0;
|
|
30
|
+
exports.insightToolInputToolArgumentsToJSON = insightToolInputToolArgumentsToJSON;
|
|
31
|
+
exports.insightToolInputToolArgumentsFromJSON = insightToolInputToolArgumentsFromJSON;
|
|
32
|
+
exports.insightToolInputToJSON = insightToolInputToJSON;
|
|
33
|
+
exports.insightToolInputFromJSON = insightToolInputFromJSON;
|
|
34
|
+
const z = __importStar(require("zod"));
|
|
35
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
36
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
37
|
+
/** @internal */
|
|
38
|
+
exports.InsightToolInputToolArguments$inboundSchema = z.object({});
|
|
39
|
+
/** @internal */
|
|
40
|
+
exports.InsightToolInputToolArguments$outboundSchema = z.object({});
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
+
*/
|
|
45
|
+
var InsightToolInputToolArguments$;
|
|
46
|
+
(function (InsightToolInputToolArguments$) {
|
|
47
|
+
/** @deprecated use `InsightToolInputToolArguments$inboundSchema` instead. */
|
|
48
|
+
InsightToolInputToolArguments$.inboundSchema = exports.InsightToolInputToolArguments$inboundSchema;
|
|
49
|
+
/** @deprecated use `InsightToolInputToolArguments$outboundSchema` instead. */
|
|
50
|
+
InsightToolInputToolArguments$.outboundSchema = exports.InsightToolInputToolArguments$outboundSchema;
|
|
51
|
+
})(InsightToolInputToolArguments$ || (exports.InsightToolInputToolArguments$ = InsightToolInputToolArguments$ = {}));
|
|
52
|
+
function insightToolInputToolArgumentsToJSON(insightToolInputToolArguments) {
|
|
53
|
+
return JSON.stringify(exports.InsightToolInputToolArguments$outboundSchema.parse(insightToolInputToolArguments));
|
|
54
|
+
}
|
|
55
|
+
function insightToolInputToolArgumentsFromJSON(jsonString) {
|
|
56
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InsightToolInputToolArguments$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InsightToolInputToolArguments' from JSON`);
|
|
57
|
+
}
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.InsightToolInput$inboundSchema = z.object({
|
|
60
|
+
name: z.string(),
|
|
61
|
+
description: z.string(),
|
|
62
|
+
version: z.number().int(),
|
|
63
|
+
tool_arguments: z.lazy(() => exports.InsightToolInputToolArguments$inboundSchema),
|
|
64
|
+
insight_tool_definition_id: z.number().int(),
|
|
65
|
+
}).transform((v) => {
|
|
66
|
+
return (0, primitives_js_1.remap)(v, {
|
|
67
|
+
"tool_arguments": "toolArguments",
|
|
68
|
+
"insight_tool_definition_id": "insightToolDefinitionId",
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
/** @internal */
|
|
72
|
+
exports.InsightToolInput$outboundSchema = z.object({
|
|
73
|
+
name: z.string(),
|
|
74
|
+
description: z.string(),
|
|
75
|
+
version: z.number().int(),
|
|
76
|
+
toolArguments: z.lazy(() => exports.InsightToolInputToolArguments$outboundSchema),
|
|
77
|
+
insightToolDefinitionId: z.number().int(),
|
|
78
|
+
}).transform((v) => {
|
|
79
|
+
return (0, primitives_js_1.remap)(v, {
|
|
80
|
+
toolArguments: "tool_arguments",
|
|
81
|
+
insightToolDefinitionId: "insight_tool_definition_id",
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
var InsightToolInput$;
|
|
89
|
+
(function (InsightToolInput$) {
|
|
90
|
+
/** @deprecated use `InsightToolInput$inboundSchema` instead. */
|
|
91
|
+
InsightToolInput$.inboundSchema = exports.InsightToolInput$inboundSchema;
|
|
92
|
+
/** @deprecated use `InsightToolInput$outboundSchema` instead. */
|
|
93
|
+
InsightToolInput$.outboundSchema = exports.InsightToolInput$outboundSchema;
|
|
94
|
+
})(InsightToolInput$ || (exports.InsightToolInput$ = InsightToolInput$ = {}));
|
|
95
|
+
function insightToolInputToJSON(insightToolInput) {
|
|
96
|
+
return JSON.stringify(exports.InsightToolInput$outboundSchema.parse(insightToolInput));
|
|
97
|
+
}
|
|
98
|
+
function insightToolInputFromJSON(jsonString) {
|
|
99
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InsightToolInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InsightToolInput' from JSON`);
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=insighttoolinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insighttoolinput.js","sourceRoot":"","sources":["../../src/models/components/insighttoolinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEH,kFAQC;AAED,sFAQC;AA4DD,wDAMC;AAED,4DAQC;AA9JD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAgCjD,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKjB,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,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AAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { InsightToolDefinition, InsightToolDefinition$Outbound } from "./insighttooldefinition.js";
|
|
5
|
+
/**
|
|
6
|
+
* Arguments for Insight Tool
|
|
7
|
+
*/
|
|
8
|
+
export type ToolArguments = {};
|
|
9
|
+
export type InsightToolOutput = {
|
|
10
|
+
/**
|
|
11
|
+
* Human readable name of Insight Tool
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Text description of Insight Tool
|
|
16
|
+
*/
|
|
17
|
+
description: string;
|
|
18
|
+
/**
|
|
19
|
+
* Version of Insight Tool
|
|
20
|
+
*/
|
|
21
|
+
version: number;
|
|
22
|
+
/**
|
|
23
|
+
* Arguments for Insight Tool
|
|
24
|
+
*/
|
|
25
|
+
toolArguments: ToolArguments;
|
|
26
|
+
/**
|
|
27
|
+
* Unique ID for Insight Tool Definition
|
|
28
|
+
*/
|
|
29
|
+
insightToolDefinitionId: number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique ID for Insight Tool
|
|
32
|
+
*/
|
|
33
|
+
id: number;
|
|
34
|
+
/**
|
|
35
|
+
* Insight Tool Definition
|
|
36
|
+
*/
|
|
37
|
+
insightToolDefinition?: InsightToolDefinition | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Timestamp of Insight Tool creation
|
|
40
|
+
*/
|
|
41
|
+
createdAt?: Date | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Timestamp of Insight Tool update
|
|
44
|
+
*/
|
|
45
|
+
updatedAt?: Date | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* User who last updated Insight Tool
|
|
48
|
+
*/
|
|
49
|
+
lastUpdatedBy: string;
|
|
50
|
+
};
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const ToolArguments$inboundSchema: z.ZodType<ToolArguments, z.ZodTypeDef, unknown>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type ToolArguments$Outbound = {};
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const ToolArguments$outboundSchema: z.ZodType<ToolArguments$Outbound, z.ZodTypeDef, ToolArguments>;
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
+
*/
|
|
61
|
+
export declare namespace ToolArguments$ {
|
|
62
|
+
/** @deprecated use `ToolArguments$inboundSchema` instead. */
|
|
63
|
+
const inboundSchema: z.ZodType<ToolArguments, z.ZodTypeDef, unknown>;
|
|
64
|
+
/** @deprecated use `ToolArguments$outboundSchema` instead. */
|
|
65
|
+
const outboundSchema: z.ZodType<ToolArguments$Outbound, z.ZodTypeDef, ToolArguments>;
|
|
66
|
+
/** @deprecated use `ToolArguments$Outbound` instead. */
|
|
67
|
+
type Outbound = ToolArguments$Outbound;
|
|
68
|
+
}
|
|
69
|
+
export declare function toolArgumentsToJSON(toolArguments: ToolArguments): string;
|
|
70
|
+
export declare function toolArgumentsFromJSON(jsonString: string): SafeParseResult<ToolArguments, SDKValidationError>;
|
|
71
|
+
/** @internal */
|
|
72
|
+
export declare const InsightToolOutput$inboundSchema: z.ZodType<InsightToolOutput, z.ZodTypeDef, unknown>;
|
|
73
|
+
/** @internal */
|
|
74
|
+
export type InsightToolOutput$Outbound = {
|
|
75
|
+
name: string;
|
|
76
|
+
description: string;
|
|
77
|
+
version: number;
|
|
78
|
+
tool_arguments: ToolArguments$Outbound;
|
|
79
|
+
insight_tool_definition_id: number;
|
|
80
|
+
id: number;
|
|
81
|
+
insight_tool_definition?: InsightToolDefinition$Outbound | null | undefined;
|
|
82
|
+
created_at?: string | undefined;
|
|
83
|
+
updated_at?: string | undefined;
|
|
84
|
+
last_updated_by: string;
|
|
85
|
+
};
|
|
86
|
+
/** @internal */
|
|
87
|
+
export declare const InsightToolOutput$outboundSchema: z.ZodType<InsightToolOutput$Outbound, z.ZodTypeDef, InsightToolOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
91
|
+
*/
|
|
92
|
+
export declare namespace InsightToolOutput$ {
|
|
93
|
+
/** @deprecated use `InsightToolOutput$inboundSchema` instead. */
|
|
94
|
+
const inboundSchema: z.ZodType<InsightToolOutput, z.ZodTypeDef, unknown>;
|
|
95
|
+
/** @deprecated use `InsightToolOutput$outboundSchema` instead. */
|
|
96
|
+
const outboundSchema: z.ZodType<InsightToolOutput$Outbound, z.ZodTypeDef, InsightToolOutput>;
|
|
97
|
+
/** @deprecated use `InsightToolOutput$Outbound` instead. */
|
|
98
|
+
type Outbound = InsightToolOutput$Outbound;
|
|
99
|
+
}
|
|
100
|
+
export declare function insightToolOutputToJSON(insightToolOutput: InsightToolOutput): string;
|
|
101
|
+
export declare function insightToolOutputFromJSON(jsonString: string): SafeParseResult<InsightToolOutput, SDKValidationError>;
|
|
102
|
+
//# sourceMappingURL=insighttooloutput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insighttooloutput.d.ts","sourceRoot":"","sources":["../../src/models/components/insighttooloutput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,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|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InsightToolOutput$ = exports.InsightToolOutput$outboundSchema = exports.InsightToolOutput$inboundSchema = exports.ToolArguments$ = exports.ToolArguments$outboundSchema = exports.ToolArguments$inboundSchema = void 0;
|
|
30
|
+
exports.toolArgumentsToJSON = toolArgumentsToJSON;
|
|
31
|
+
exports.toolArgumentsFromJSON = toolArgumentsFromJSON;
|
|
32
|
+
exports.insightToolOutputToJSON = insightToolOutputToJSON;
|
|
33
|
+
exports.insightToolOutputFromJSON = insightToolOutputFromJSON;
|
|
34
|
+
const z = __importStar(require("zod"));
|
|
35
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
36
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
37
|
+
const insighttooldefinition_js_1 = require("./insighttooldefinition.js");
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.ToolArguments$inboundSchema = z.object({});
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.ToolArguments$outboundSchema = z.object({});
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
+
*/
|
|
46
|
+
var ToolArguments$;
|
|
47
|
+
(function (ToolArguments$) {
|
|
48
|
+
/** @deprecated use `ToolArguments$inboundSchema` instead. */
|
|
49
|
+
ToolArguments$.inboundSchema = exports.ToolArguments$inboundSchema;
|
|
50
|
+
/** @deprecated use `ToolArguments$outboundSchema` instead. */
|
|
51
|
+
ToolArguments$.outboundSchema = exports.ToolArguments$outboundSchema;
|
|
52
|
+
})(ToolArguments$ || (exports.ToolArguments$ = ToolArguments$ = {}));
|
|
53
|
+
function toolArgumentsToJSON(toolArguments) {
|
|
54
|
+
return JSON.stringify(exports.ToolArguments$outboundSchema.parse(toolArguments));
|
|
55
|
+
}
|
|
56
|
+
function toolArgumentsFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolArguments$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolArguments' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.InsightToolOutput$inboundSchema = z.object({
|
|
61
|
+
name: z.string(),
|
|
62
|
+
description: z.string(),
|
|
63
|
+
version: z.number().int(),
|
|
64
|
+
tool_arguments: z.lazy(() => exports.ToolArguments$inboundSchema),
|
|
65
|
+
insight_tool_definition_id: z.number().int(),
|
|
66
|
+
id: z.number().int(),
|
|
67
|
+
insight_tool_definition: z.nullable(insighttooldefinition_js_1.InsightToolDefinition$inboundSchema)
|
|
68
|
+
.optional(),
|
|
69
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
70
|
+
.optional(),
|
|
71
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
72
|
+
.optional(),
|
|
73
|
+
last_updated_by: z.string(),
|
|
74
|
+
}).transform((v) => {
|
|
75
|
+
return (0, primitives_js_1.remap)(v, {
|
|
76
|
+
"tool_arguments": "toolArguments",
|
|
77
|
+
"insight_tool_definition_id": "insightToolDefinitionId",
|
|
78
|
+
"insight_tool_definition": "insightToolDefinition",
|
|
79
|
+
"created_at": "createdAt",
|
|
80
|
+
"updated_at": "updatedAt",
|
|
81
|
+
"last_updated_by": "lastUpdatedBy",
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
/** @internal */
|
|
85
|
+
exports.InsightToolOutput$outboundSchema = z.object({
|
|
86
|
+
name: z.string(),
|
|
87
|
+
description: z.string(),
|
|
88
|
+
version: z.number().int(),
|
|
89
|
+
toolArguments: z.lazy(() => exports.ToolArguments$outboundSchema),
|
|
90
|
+
insightToolDefinitionId: z.number().int(),
|
|
91
|
+
id: z.number().int(),
|
|
92
|
+
insightToolDefinition: z.nullable(insighttooldefinition_js_1.InsightToolDefinition$outboundSchema)
|
|
93
|
+
.optional(),
|
|
94
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
95
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
96
|
+
lastUpdatedBy: z.string(),
|
|
97
|
+
}).transform((v) => {
|
|
98
|
+
return (0, primitives_js_1.remap)(v, {
|
|
99
|
+
toolArguments: "tool_arguments",
|
|
100
|
+
insightToolDefinitionId: "insight_tool_definition_id",
|
|
101
|
+
insightToolDefinition: "insight_tool_definition",
|
|
102
|
+
createdAt: "created_at",
|
|
103
|
+
updatedAt: "updated_at",
|
|
104
|
+
lastUpdatedBy: "last_updated_by",
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
+
*/
|
|
111
|
+
var InsightToolOutput$;
|
|
112
|
+
(function (InsightToolOutput$) {
|
|
113
|
+
/** @deprecated use `InsightToolOutput$inboundSchema` instead. */
|
|
114
|
+
InsightToolOutput$.inboundSchema = exports.InsightToolOutput$inboundSchema;
|
|
115
|
+
/** @deprecated use `InsightToolOutput$outboundSchema` instead. */
|
|
116
|
+
InsightToolOutput$.outboundSchema = exports.InsightToolOutput$outboundSchema;
|
|
117
|
+
})(InsightToolOutput$ || (exports.InsightToolOutput$ = InsightToolOutput$ = {}));
|
|
118
|
+
function insightToolOutputToJSON(insightToolOutput) {
|
|
119
|
+
return JSON.stringify(exports.InsightToolOutput$outboundSchema.parse(insightToolOutput));
|
|
120
|
+
}
|
|
121
|
+
function insightToolOutputFromJSON(jsonString) {
|
|
122
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InsightToolOutput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InsightToolOutput' from JSON`);
|
|
123
|
+
}
|
|
124
|
+
//# sourceMappingURL=insighttooloutput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insighttooloutput.js","sourceRoot":"","sources":["../../src/models/components/insighttooloutput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FH,kDAEC;AAED,sDAQC;AAuFD,0DAMC;AAED,8DAQC;AA7MD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yEAKoC;AAkDpC,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKjB,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,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AAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,gBAAgB;QAC/B,uBAAuB,EAAE,4BAA4B;QACrD,qBAAqB,EAAE,yBAAyB;QAChD,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,aAAa,EAAE,iBAAiB;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const InsightToolProperties: {
|
|
4
|
+
readonly Id: "id";
|
|
5
|
+
readonly Name: "name";
|
|
6
|
+
readonly Description: "description";
|
|
7
|
+
readonly ToolArguments: "tool_arguments";
|
|
8
|
+
readonly InsightToolDefinitionId: "insight_tool_definition_id";
|
|
9
|
+
readonly UpdatedAt: "updated_at";
|
|
10
|
+
};
|
|
11
|
+
export type InsightToolProperties = ClosedEnum<typeof InsightToolProperties>;
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const InsightToolProperties$inboundSchema: z.ZodNativeEnum<typeof InsightToolProperties>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const InsightToolProperties$outboundSchema: z.ZodNativeEnum<typeof InsightToolProperties>;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
19
|
+
*/
|
|
20
|
+
export declare namespace InsightToolProperties$ {
|
|
21
|
+
/** @deprecated use `InsightToolProperties$inboundSchema` instead. */
|
|
22
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
23
|
+
readonly Id: "id";
|
|
24
|
+
readonly Name: "name";
|
|
25
|
+
readonly Description: "description";
|
|
26
|
+
readonly ToolArguments: "tool_arguments";
|
|
27
|
+
readonly InsightToolDefinitionId: "insight_tool_definition_id";
|
|
28
|
+
readonly UpdatedAt: "updated_at";
|
|
29
|
+
}>;
|
|
30
|
+
/** @deprecated use `InsightToolProperties$outboundSchema` instead. */
|
|
31
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
32
|
+
readonly Id: "id";
|
|
33
|
+
readonly Name: "name";
|
|
34
|
+
readonly Description: "description";
|
|
35
|
+
readonly ToolArguments: "tool_arguments";
|
|
36
|
+
readonly InsightToolDefinitionId: "insight_tool_definition_id";
|
|
37
|
+
readonly UpdatedAt: "updated_at";
|
|
38
|
+
}>;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=insighttoolproperties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insighttoolproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/insighttoolproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,qBAAqB;;;;;;;CAOxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,qBAAqB,CACS,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,qBAAqB,CACS,CAAC;AAExC;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa;;;;;;;MAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc;;;;;;;MAAuC,CAAC;CACpE"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InsightToolProperties$ = exports.InsightToolProperties$outboundSchema = exports.InsightToolProperties$inboundSchema = exports.InsightToolProperties = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
exports.InsightToolProperties = {
|
|
32
|
+
Id: "id",
|
|
33
|
+
Name: "name",
|
|
34
|
+
Description: "description",
|
|
35
|
+
ToolArguments: "tool_arguments",
|
|
36
|
+
InsightToolDefinitionId: "insight_tool_definition_id",
|
|
37
|
+
UpdatedAt: "updated_at",
|
|
38
|
+
};
|
|
39
|
+
/** @internal */
|
|
40
|
+
exports.InsightToolProperties$inboundSchema = z.nativeEnum(exports.InsightToolProperties);
|
|
41
|
+
/** @internal */
|
|
42
|
+
exports.InsightToolProperties$outboundSchema = exports.InsightToolProperties$inboundSchema;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
+
*/
|
|
47
|
+
var InsightToolProperties$;
|
|
48
|
+
(function (InsightToolProperties$) {
|
|
49
|
+
/** @deprecated use `InsightToolProperties$inboundSchema` instead. */
|
|
50
|
+
InsightToolProperties$.inboundSchema = exports.InsightToolProperties$inboundSchema;
|
|
51
|
+
/** @deprecated use `InsightToolProperties$outboundSchema` instead. */
|
|
52
|
+
InsightToolProperties$.outboundSchema = exports.InsightToolProperties$outboundSchema;
|
|
53
|
+
})(InsightToolProperties$ || (exports.InsightToolProperties$ = InsightToolProperties$ = {}));
|
|
54
|
+
//# sourceMappingURL=insighttoolproperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insighttoolproperties.js","sourceRoot":"","sources":["../../src/models/components/insighttoolproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,qBAAqB,GAAG;IACnC,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,aAAa,EAAE,gBAAgB;IAC/B,uBAAuB,EAAE,4BAA4B;IACrD,SAAS,EAAE,YAAY;CACf,CAAC;AAGX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AAExC,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,2CAAmC,CAAC;AAExC;;;GAGG;AACH,IAAiB,sBAAsB,CAKtC;AALD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AACrE,CAAC,EALgB,sBAAsB,sCAAtB,sBAAsB,QAKtC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* Conditions for Insight Workflow
|
|
6
|
+
*/
|
|
7
|
+
export type InsightWorkflowInputConditions = {};
|
|
8
|
+
export type InsightWorkflowInput = {
|
|
9
|
+
/**
|
|
10
|
+
* Human readable name of Insight Workflow
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Text description of Insight Workflow
|
|
15
|
+
*/
|
|
16
|
+
description: string;
|
|
17
|
+
/**
|
|
18
|
+
* List of Insight Tool IDs
|
|
19
|
+
*/
|
|
20
|
+
insightToolIds: Array<number>;
|
|
21
|
+
/**
|
|
22
|
+
* Conditions for Insight Workflow
|
|
23
|
+
*/
|
|
24
|
+
conditions: InsightWorkflowInputConditions;
|
|
25
|
+
/**
|
|
26
|
+
* Status of the Insight Workflow
|
|
27
|
+
*/
|
|
28
|
+
status: string;
|
|
29
|
+
};
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const InsightWorkflowInputConditions$inboundSchema: z.ZodType<InsightWorkflowInputConditions, z.ZodTypeDef, unknown>;
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type InsightWorkflowInputConditions$Outbound = {};
|
|
34
|
+
/** @internal */
|
|
35
|
+
export declare const InsightWorkflowInputConditions$outboundSchema: z.ZodType<InsightWorkflowInputConditions$Outbound, z.ZodTypeDef, InsightWorkflowInputConditions>;
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
39
|
+
*/
|
|
40
|
+
export declare namespace InsightWorkflowInputConditions$ {
|
|
41
|
+
/** @deprecated use `InsightWorkflowInputConditions$inboundSchema` instead. */
|
|
42
|
+
const inboundSchema: z.ZodType<InsightWorkflowInputConditions, z.ZodTypeDef, unknown>;
|
|
43
|
+
/** @deprecated use `InsightWorkflowInputConditions$outboundSchema` instead. */
|
|
44
|
+
const outboundSchema: z.ZodType<InsightWorkflowInputConditions$Outbound, z.ZodTypeDef, InsightWorkflowInputConditions>;
|
|
45
|
+
/** @deprecated use `InsightWorkflowInputConditions$Outbound` instead. */
|
|
46
|
+
type Outbound = InsightWorkflowInputConditions$Outbound;
|
|
47
|
+
}
|
|
48
|
+
export declare function insightWorkflowInputConditionsToJSON(insightWorkflowInputConditions: InsightWorkflowInputConditions): string;
|
|
49
|
+
export declare function insightWorkflowInputConditionsFromJSON(jsonString: string): SafeParseResult<InsightWorkflowInputConditions, SDKValidationError>;
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const InsightWorkflowInput$inboundSchema: z.ZodType<InsightWorkflowInput, z.ZodTypeDef, unknown>;
|
|
52
|
+
/** @internal */
|
|
53
|
+
export type InsightWorkflowInput$Outbound = {
|
|
54
|
+
name: string;
|
|
55
|
+
description: string;
|
|
56
|
+
insight_tool_ids: Array<number>;
|
|
57
|
+
conditions: InsightWorkflowInputConditions$Outbound;
|
|
58
|
+
status: string;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const InsightWorkflowInput$outboundSchema: z.ZodType<InsightWorkflowInput$Outbound, z.ZodTypeDef, InsightWorkflowInput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export declare namespace InsightWorkflowInput$ {
|
|
67
|
+
/** @deprecated use `InsightWorkflowInput$inboundSchema` instead. */
|
|
68
|
+
const inboundSchema: z.ZodType<InsightWorkflowInput, z.ZodTypeDef, unknown>;
|
|
69
|
+
/** @deprecated use `InsightWorkflowInput$outboundSchema` instead. */
|
|
70
|
+
const outboundSchema: z.ZodType<InsightWorkflowInput$Outbound, z.ZodTypeDef, InsightWorkflowInput>;
|
|
71
|
+
/** @deprecated use `InsightWorkflowInput$Outbound` instead. */
|
|
72
|
+
type Outbound = InsightWorkflowInput$Outbound;
|
|
73
|
+
}
|
|
74
|
+
export declare function insightWorkflowInputToJSON(insightWorkflowInput: InsightWorkflowInput): string;
|
|
75
|
+
export declare function insightWorkflowInputFromJSON(jsonString: string): SafeParseResult<InsightWorkflowInput, SDKValidationError>;
|
|
76
|
+
//# sourceMappingURL=insightworkflowinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insightworkflowinput.d.ts","sourceRoot":"","sources":["../../src/models/components/insightworkflowinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D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BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,uCAAuC,CAAC;IACpD,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAWpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InsightWorkflowInput$ = exports.InsightWorkflowInput$outboundSchema = exports.InsightWorkflowInput$inboundSchema = exports.InsightWorkflowInputConditions$ = exports.InsightWorkflowInputConditions$outboundSchema = exports.InsightWorkflowInputConditions$inboundSchema = void 0;
|
|
30
|
+
exports.insightWorkflowInputConditionsToJSON = insightWorkflowInputConditionsToJSON;
|
|
31
|
+
exports.insightWorkflowInputConditionsFromJSON = insightWorkflowInputConditionsFromJSON;
|
|
32
|
+
exports.insightWorkflowInputToJSON = insightWorkflowInputToJSON;
|
|
33
|
+
exports.insightWorkflowInputFromJSON = insightWorkflowInputFromJSON;
|
|
34
|
+
const z = __importStar(require("zod"));
|
|
35
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
36
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
37
|
+
/** @internal */
|
|
38
|
+
exports.InsightWorkflowInputConditions$inboundSchema = z.object({});
|
|
39
|
+
/** @internal */
|
|
40
|
+
exports.InsightWorkflowInputConditions$outboundSchema = z.object({});
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
+
*/
|
|
45
|
+
var InsightWorkflowInputConditions$;
|
|
46
|
+
(function (InsightWorkflowInputConditions$) {
|
|
47
|
+
/** @deprecated use `InsightWorkflowInputConditions$inboundSchema` instead. */
|
|
48
|
+
InsightWorkflowInputConditions$.inboundSchema = exports.InsightWorkflowInputConditions$inboundSchema;
|
|
49
|
+
/** @deprecated use `InsightWorkflowInputConditions$outboundSchema` instead. */
|
|
50
|
+
InsightWorkflowInputConditions$.outboundSchema = exports.InsightWorkflowInputConditions$outboundSchema;
|
|
51
|
+
})(InsightWorkflowInputConditions$ || (exports.InsightWorkflowInputConditions$ = InsightWorkflowInputConditions$ = {}));
|
|
52
|
+
function insightWorkflowInputConditionsToJSON(insightWorkflowInputConditions) {
|
|
53
|
+
return JSON.stringify(exports.InsightWorkflowInputConditions$outboundSchema.parse(insightWorkflowInputConditions));
|
|
54
|
+
}
|
|
55
|
+
function insightWorkflowInputConditionsFromJSON(jsonString) {
|
|
56
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InsightWorkflowInputConditions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InsightWorkflowInputConditions' from JSON`);
|
|
57
|
+
}
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.InsightWorkflowInput$inboundSchema = z.object({
|
|
60
|
+
name: z.string(),
|
|
61
|
+
description: z.string(),
|
|
62
|
+
insight_tool_ids: z.array(z.number().int()),
|
|
63
|
+
conditions: z.lazy(() => exports.InsightWorkflowInputConditions$inboundSchema),
|
|
64
|
+
status: z.string(),
|
|
65
|
+
}).transform((v) => {
|
|
66
|
+
return (0, primitives_js_1.remap)(v, {
|
|
67
|
+
"insight_tool_ids": "insightToolIds",
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
/** @internal */
|
|
71
|
+
exports.InsightWorkflowInput$outboundSchema = z.object({
|
|
72
|
+
name: z.string(),
|
|
73
|
+
description: z.string(),
|
|
74
|
+
insightToolIds: z.array(z.number().int()),
|
|
75
|
+
conditions: z.lazy(() => exports.InsightWorkflowInputConditions$outboundSchema),
|
|
76
|
+
status: z.string(),
|
|
77
|
+
}).transform((v) => {
|
|
78
|
+
return (0, primitives_js_1.remap)(v, {
|
|
79
|
+
insightToolIds: "insight_tool_ids",
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
85
|
+
*/
|
|
86
|
+
var InsightWorkflowInput$;
|
|
87
|
+
(function (InsightWorkflowInput$) {
|
|
88
|
+
/** @deprecated use `InsightWorkflowInput$inboundSchema` instead. */
|
|
89
|
+
InsightWorkflowInput$.inboundSchema = exports.InsightWorkflowInput$inboundSchema;
|
|
90
|
+
/** @deprecated use `InsightWorkflowInput$outboundSchema` instead. */
|
|
91
|
+
InsightWorkflowInput$.outboundSchema = exports.InsightWorkflowInput$outboundSchema;
|
|
92
|
+
})(InsightWorkflowInput$ || (exports.InsightWorkflowInput$ = InsightWorkflowInput$ = {}));
|
|
93
|
+
function insightWorkflowInputToJSON(insightWorkflowInput) {
|
|
94
|
+
return JSON.stringify(exports.InsightWorkflowInput$outboundSchema.parse(insightWorkflowInput));
|
|
95
|
+
}
|
|
96
|
+
function insightWorkflowInputFromJSON(jsonString) {
|
|
97
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InsightWorkflowInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InsightWorkflowInput' from JSON`);
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=insightworkflowinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insightworkflowinput.js","sourceRoot":"","sources":["../../src/models/components/insightworkflowinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEH,oFAQC;AAED,wFAQC;AA0DD,gEAMC;AAED,oEAQC;AA5JD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAgCjD,gBAAgB;AACH,QAAA,4CAA4C,GA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