syllable-sdk 0.1.0-alpha.45 → 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 +5 -2
- package/models/components/datasourcecreaterequest.d.ts +1 -1
- package/models/components/datasourcedetailresponse.d.ts +1 -1
- package/models/components/datasourcemetadataresponse.d.ts +1 -1
- package/models/components/datasourceupdaterequest.d.ts +1 -1
- package/models/components/index.d.ts +10 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +10 -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/components/toolagentinfo.d.ts +40 -0
- package/models/components/toolagentinfo.d.ts.map +1 -0
- package/models/components/toolagentinfo.js +61 -0
- package/models/components/toolagentinfo.js.map +1 -0
- package/models/components/tooldetailresponse.d.ts +6 -0
- package/models/components/tooldetailresponse.d.ts.map +1 -1
- package/models/components/tooldetailresponse.js +5 -0
- package/models/components/tooldetailresponse.js.map +1 -1
- package/models/components/toolresponse.d.ts +6 -0
- package/models/components/toolresponse.d.ts.map +1 -1
- package/models/components/toolresponse.js +5 -0
- package/models/components/toolresponse.js.map +1 -1
- 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 +1315 -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/datasourcecreaterequest.ts +1 -1
- package/src/models/components/datasourcedetailresponse.ts +1 -1
- package/src/models/components/datasourcemetadataresponse.ts +1 -1
- package/src/models/components/datasourceupdaterequest.ts +1 -1
- package/src/models/components/index.ts +10 -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/components/toolagentinfo.ts +75 -0
- package/src/models/components/tooldetailresponse.ts +15 -0
- package/src/models/components/toolresponse.ts +15 -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,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 { InsightToolOutput, InsightToolOutput$Outbound } from "./insighttooloutput.js";
|
|
5
|
+
/**
|
|
6
|
+
* Conditions for Insight Workflow
|
|
7
|
+
*/
|
|
8
|
+
export type Conditions = {};
|
|
9
|
+
export type InsightWorkflowOutput = {
|
|
10
|
+
/**
|
|
11
|
+
* Human readable name of Insight Workflow
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Text description of Insight Workflow
|
|
16
|
+
*/
|
|
17
|
+
description: string;
|
|
18
|
+
/**
|
|
19
|
+
* List of Insight Tool IDs
|
|
20
|
+
*/
|
|
21
|
+
insightToolIds: Array<number>;
|
|
22
|
+
/**
|
|
23
|
+
* Conditions for Insight Workflow
|
|
24
|
+
*/
|
|
25
|
+
conditions: Conditions;
|
|
26
|
+
/**
|
|
27
|
+
* Status of the Insight Workflow
|
|
28
|
+
*/
|
|
29
|
+
status: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique ID for Insight Workflow
|
|
32
|
+
*/
|
|
33
|
+
id: number;
|
|
34
|
+
/**
|
|
35
|
+
* List of Insight Tools
|
|
36
|
+
*/
|
|
37
|
+
insightTools: Array<InsightToolOutput>;
|
|
38
|
+
/**
|
|
39
|
+
* Timestamp of Insight Workflow creation
|
|
40
|
+
*/
|
|
41
|
+
createdAt?: Date | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Timestamp of Insight Workflow update
|
|
44
|
+
*/
|
|
45
|
+
updatedAt?: Date | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* User who last updated Insight Workflow
|
|
48
|
+
*/
|
|
49
|
+
lastUpdatedBy: string;
|
|
50
|
+
};
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const Conditions$inboundSchema: z.ZodType<Conditions, z.ZodTypeDef, unknown>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type Conditions$Outbound = {};
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const Conditions$outboundSchema: z.ZodType<Conditions$Outbound, z.ZodTypeDef, Conditions>;
|
|
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 Conditions$ {
|
|
62
|
+
/** @deprecated use `Conditions$inboundSchema` instead. */
|
|
63
|
+
const inboundSchema: z.ZodType<Conditions, z.ZodTypeDef, unknown>;
|
|
64
|
+
/** @deprecated use `Conditions$outboundSchema` instead. */
|
|
65
|
+
const outboundSchema: z.ZodType<Conditions$Outbound, z.ZodTypeDef, Conditions>;
|
|
66
|
+
/** @deprecated use `Conditions$Outbound` instead. */
|
|
67
|
+
type Outbound = Conditions$Outbound;
|
|
68
|
+
}
|
|
69
|
+
export declare function conditionsToJSON(conditions: Conditions): string;
|
|
70
|
+
export declare function conditionsFromJSON(jsonString: string): SafeParseResult<Conditions, SDKValidationError>;
|
|
71
|
+
/** @internal */
|
|
72
|
+
export declare const InsightWorkflowOutput$inboundSchema: z.ZodType<InsightWorkflowOutput, z.ZodTypeDef, unknown>;
|
|
73
|
+
/** @internal */
|
|
74
|
+
export type InsightWorkflowOutput$Outbound = {
|
|
75
|
+
name: string;
|
|
76
|
+
description: string;
|
|
77
|
+
insight_tool_ids: Array<number>;
|
|
78
|
+
conditions: Conditions$Outbound;
|
|
79
|
+
status: string;
|
|
80
|
+
id: number;
|
|
81
|
+
insight_tools: Array<InsightToolOutput$Outbound>;
|
|
82
|
+
created_at?: string | undefined;
|
|
83
|
+
updated_at?: string | undefined;
|
|
84
|
+
last_updated_by: string;
|
|
85
|
+
};
|
|
86
|
+
/** @internal */
|
|
87
|
+
export declare const InsightWorkflowOutput$outboundSchema: z.ZodType<InsightWorkflowOutput$Outbound, z.ZodTypeDef, InsightWorkflowOutput>;
|
|
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 InsightWorkflowOutput$ {
|
|
93
|
+
/** @deprecated use `InsightWorkflowOutput$inboundSchema` instead. */
|
|
94
|
+
const inboundSchema: z.ZodType<InsightWorkflowOutput, z.ZodTypeDef, unknown>;
|
|
95
|
+
/** @deprecated use `InsightWorkflowOutput$outboundSchema` instead. */
|
|
96
|
+
const outboundSchema: z.ZodType<InsightWorkflowOutput$Outbound, z.ZodTypeDef, InsightWorkflowOutput>;
|
|
97
|
+
/** @deprecated use `InsightWorkflowOutput$Outbound` instead. */
|
|
98
|
+
type Outbound = InsightWorkflowOutput$Outbound;
|
|
99
|
+
}
|
|
100
|
+
export declare function insightWorkflowOutputToJSON(insightWorkflowOutput: InsightWorkflowOutput): string;
|
|
101
|
+
export declare function insightWorkflowOutputFromJSON(jsonString: string): SafeParseResult<InsightWorkflowOutput, SDKValidationError>;
|
|
102
|
+
//# sourceMappingURL=insightworkflowoutput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insightworkflowoutput.d.ts","sourceRoot":"","sources":["../../src/models/components/insightworkflowoutput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,EAAE,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,gBAAgB;AAChB,MAAM,MAAM,mBAAmB,GAAG,EAAE,C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;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -0,0 +1,120 @@
|
|
|
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.InsightWorkflowOutput$ = exports.InsightWorkflowOutput$outboundSchema = exports.InsightWorkflowOutput$inboundSchema = exports.Conditions$ = exports.Conditions$outboundSchema = exports.Conditions$inboundSchema = void 0;
|
|
30
|
+
exports.conditionsToJSON = conditionsToJSON;
|
|
31
|
+
exports.conditionsFromJSON = conditionsFromJSON;
|
|
32
|
+
exports.insightWorkflowOutputToJSON = insightWorkflowOutputToJSON;
|
|
33
|
+
exports.insightWorkflowOutputFromJSON = insightWorkflowOutputFromJSON;
|
|
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 insighttooloutput_js_1 = require("./insighttooloutput.js");
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.Conditions$inboundSchema = z.object({});
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.Conditions$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 Conditions$;
|
|
47
|
+
(function (Conditions$) {
|
|
48
|
+
/** @deprecated use `Conditions$inboundSchema` instead. */
|
|
49
|
+
Conditions$.inboundSchema = exports.Conditions$inboundSchema;
|
|
50
|
+
/** @deprecated use `Conditions$outboundSchema` instead. */
|
|
51
|
+
Conditions$.outboundSchema = exports.Conditions$outboundSchema;
|
|
52
|
+
})(Conditions$ || (exports.Conditions$ = Conditions$ = {}));
|
|
53
|
+
function conditionsToJSON(conditions) {
|
|
54
|
+
return JSON.stringify(exports.Conditions$outboundSchema.parse(conditions));
|
|
55
|
+
}
|
|
56
|
+
function conditionsFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Conditions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Conditions' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.InsightWorkflowOutput$inboundSchema = z.object({
|
|
61
|
+
name: z.string(),
|
|
62
|
+
description: z.string(),
|
|
63
|
+
insight_tool_ids: z.array(z.number().int()),
|
|
64
|
+
conditions: z.lazy(() => exports.Conditions$inboundSchema),
|
|
65
|
+
status: z.string(),
|
|
66
|
+
id: z.number().int(),
|
|
67
|
+
insight_tools: z.array(insighttooloutput_js_1.InsightToolOutput$inboundSchema),
|
|
68
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
69
|
+
.optional(),
|
|
70
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
71
|
+
.optional(),
|
|
72
|
+
last_updated_by: z.string(),
|
|
73
|
+
}).transform((v) => {
|
|
74
|
+
return (0, primitives_js_1.remap)(v, {
|
|
75
|
+
"insight_tool_ids": "insightToolIds",
|
|
76
|
+
"insight_tools": "insightTools",
|
|
77
|
+
"created_at": "createdAt",
|
|
78
|
+
"updated_at": "updatedAt",
|
|
79
|
+
"last_updated_by": "lastUpdatedBy",
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
/** @internal */
|
|
83
|
+
exports.InsightWorkflowOutput$outboundSchema = z.object({
|
|
84
|
+
name: z.string(),
|
|
85
|
+
description: z.string(),
|
|
86
|
+
insightToolIds: z.array(z.number().int()),
|
|
87
|
+
conditions: z.lazy(() => exports.Conditions$outboundSchema),
|
|
88
|
+
status: z.string(),
|
|
89
|
+
id: z.number().int(),
|
|
90
|
+
insightTools: z.array(insighttooloutput_js_1.InsightToolOutput$outboundSchema),
|
|
91
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
92
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
93
|
+
lastUpdatedBy: z.string(),
|
|
94
|
+
}).transform((v) => {
|
|
95
|
+
return (0, primitives_js_1.remap)(v, {
|
|
96
|
+
insightToolIds: "insight_tool_ids",
|
|
97
|
+
insightTools: "insight_tools",
|
|
98
|
+
createdAt: "created_at",
|
|
99
|
+
updatedAt: "updated_at",
|
|
100
|
+
lastUpdatedBy: "last_updated_by",
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
+
*/
|
|
107
|
+
var InsightWorkflowOutput$;
|
|
108
|
+
(function (InsightWorkflowOutput$) {
|
|
109
|
+
/** @deprecated use `InsightWorkflowOutput$inboundSchema` instead. */
|
|
110
|
+
InsightWorkflowOutput$.inboundSchema = exports.InsightWorkflowOutput$inboundSchema;
|
|
111
|
+
/** @deprecated use `InsightWorkflowOutput$outboundSchema` instead. */
|
|
112
|
+
InsightWorkflowOutput$.outboundSchema = exports.InsightWorkflowOutput$outboundSchema;
|
|
113
|
+
})(InsightWorkflowOutput$ || (exports.InsightWorkflowOutput$ = InsightWorkflowOutput$ = {}));
|
|
114
|
+
function insightWorkflowOutputToJSON(insightWorkflowOutput) {
|
|
115
|
+
return JSON.stringify(exports.InsightWorkflowOutput$outboundSchema.parse(insightWorkflowOutput));
|
|
116
|
+
}
|
|
117
|
+
function insightWorkflowOutputFromJSON(jsonString) {
|
|
118
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InsightWorkflowOutput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InsightWorkflowOutput' from JSON`);
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=insightworkflowoutput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insightworkflowoutput.js","sourceRoot":"","sources":["../../src/models/components/insightworkflowoutput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA4FH,4CAEC;AAED,gDAQC;AAmFD,kEAMC;AAED,sEAQC;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|
4
|
+
readonly Id: "id";
|
|
5
|
+
readonly Name: "name";
|
|
6
|
+
readonly Description: "description";
|
|
7
|
+
readonly Status: "status";
|
|
8
|
+
readonly Conditions: "conditions";
|
|
9
|
+
readonly InsightToolIds: "insight_tool_ids";
|
|
10
|
+
readonly UpdatedAt: "updated_at";
|
|
11
|
+
};
|
|
12
|
+
export type InsightWorkflowProperties = ClosedEnum<typeof InsightWorkflowProperties>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const InsightWorkflowProperties$inboundSchema: z.ZodNativeEnum<typeof InsightWorkflowProperties>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const InsightWorkflowProperties$outboundSchema: z.ZodNativeEnum<typeof InsightWorkflowProperties>;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
20
|
+
*/
|
|
21
|
+
export declare namespace InsightWorkflowProperties$ {
|
|
22
|
+
/** @deprecated use `InsightWorkflowProperties$inboundSchema` instead. */
|
|
23
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
24
|
+
readonly Id: "id";
|
|
25
|
+
readonly Name: "name";
|
|
26
|
+
readonly Description: "description";
|
|
27
|
+
readonly Status: "status";
|
|
28
|
+
readonly Conditions: "conditions";
|
|
29
|
+
readonly InsightToolIds: "insight_tool_ids";
|
|
30
|
+
readonly UpdatedAt: "updated_at";
|
|
31
|
+
}>;
|
|
32
|
+
/** @deprecated use `InsightWorkflowProperties$outboundSchema` instead. */
|
|
33
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
34
|
+
readonly Id: "id";
|
|
35
|
+
readonly Name: "name";
|
|
36
|
+
readonly Description: "description";
|
|
37
|
+
readonly Status: "status";
|
|
38
|
+
readonly Conditions: "conditions";
|
|
39
|
+
readonly InsightToolIds: "insight_tool_ids";
|
|
40
|
+
readonly UpdatedAt: "updated_at";
|
|
41
|
+
}>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=insightworkflowproperties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insightworkflowproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/insightworkflowproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,yBAAyB;;;;;;;;CAQ5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,aAAa,CACnE,OAAO,yBAAyB,CACS,CAAC;AAE5C,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,aAAa,CACpE,OAAO,yBAAyB,CACS,CAAC;AAE5C;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa;;;;;;;;MAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc;;;;;;;;MAA2C,CAAC;CACxE"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.InsightWorkflowProperties$ = exports.InsightWorkflowProperties$outboundSchema = exports.InsightWorkflowProperties$inboundSchema = exports.InsightWorkflowProperties = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
exports.InsightWorkflowProperties = {
|
|
32
|
+
Id: "id",
|
|
33
|
+
Name: "name",
|
|
34
|
+
Description: "description",
|
|
35
|
+
Status: "status",
|
|
36
|
+
Conditions: "conditions",
|
|
37
|
+
InsightToolIds: "insight_tool_ids",
|
|
38
|
+
UpdatedAt: "updated_at",
|
|
39
|
+
};
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.InsightWorkflowProperties$inboundSchema = z.nativeEnum(exports.InsightWorkflowProperties);
|
|
42
|
+
/** @internal */
|
|
43
|
+
exports.InsightWorkflowProperties$outboundSchema = exports.InsightWorkflowProperties$inboundSchema;
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
var InsightWorkflowProperties$;
|
|
49
|
+
(function (InsightWorkflowProperties$) {
|
|
50
|
+
/** @deprecated use `InsightWorkflowProperties$inboundSchema` instead. */
|
|
51
|
+
InsightWorkflowProperties$.inboundSchema = exports.InsightWorkflowProperties$inboundSchema;
|
|
52
|
+
/** @deprecated use `InsightWorkflowProperties$outboundSchema` instead. */
|
|
53
|
+
InsightWorkflowProperties$.outboundSchema = exports.InsightWorkflowProperties$outboundSchema;
|
|
54
|
+
})(InsightWorkflowProperties$ || (exports.InsightWorkflowProperties$ = InsightWorkflowProperties$ = {}));
|
|
55
|
+
//# sourceMappingURL=insightworkflowproperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insightworkflowproperties.js","sourceRoot":"","sources":["../../src/models/components/insightworkflowproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,yBAAyB,GAAG;IACvC,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,kBAAkB;IAClC,SAAS,EAAE,YAAY;CACf,CAAC;AAKX,gBAAgB;AACH,QAAA,uCAAuC,GAEhD,CAAC,CAAC,UAAU,CAAC,iCAAyB,CAAC,CAAC;AAE5C,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,+CAAuC,CAAC;AAE5C;;;GAGG;AACH,IAAiB,0BAA0B,CAK1C;AALD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AACzE,CAAC,EALgB,0BAA0B,0CAA1B,0BAA0B,QAK1C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { InsightToolOutput, InsightToolOutput$Outbound } from "./insighttooloutput.js";
|
|
5
|
+
export type ListResponseInsightToolOutput = {
|
|
6
|
+
items: Array<InsightToolOutput>;
|
|
7
|
+
page: number;
|
|
8
|
+
pageSize: number;
|
|
9
|
+
totalPages?: number | null | undefined;
|
|
10
|
+
totalCount?: number | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ListResponseInsightToolOutput$inboundSchema: z.ZodType<ListResponseInsightToolOutput, z.ZodTypeDef, unknown>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type ListResponseInsightToolOutput$Outbound = {
|
|
16
|
+
items: Array<InsightToolOutput$Outbound>;
|
|
17
|
+
page: number;
|
|
18
|
+
page_size: number;
|
|
19
|
+
total_pages?: number | null | undefined;
|
|
20
|
+
total_count?: number | null | undefined;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const ListResponseInsightToolOutput$outboundSchema: z.ZodType<ListResponseInsightToolOutput$Outbound, z.ZodTypeDef, ListResponseInsightToolOutput>;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
+
*/
|
|
28
|
+
export declare namespace ListResponseInsightToolOutput$ {
|
|
29
|
+
/** @deprecated use `ListResponseInsightToolOutput$inboundSchema` instead. */
|
|
30
|
+
const inboundSchema: z.ZodType<ListResponseInsightToolOutput, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @deprecated use `ListResponseInsightToolOutput$outboundSchema` instead. */
|
|
32
|
+
const outboundSchema: z.ZodType<ListResponseInsightToolOutput$Outbound, z.ZodTypeDef, ListResponseInsightToolOutput>;
|
|
33
|
+
/** @deprecated use `ListResponseInsightToolOutput$Outbound` instead. */
|
|
34
|
+
type Outbound = ListResponseInsightToolOutput$Outbound;
|
|
35
|
+
}
|
|
36
|
+
export declare function listResponseInsightToolOutputToJSON(listResponseInsightToolOutput: ListResponseInsightToolOutput): string;
|
|
37
|
+
export declare function listResponseInsightToolOutputFromJSON(jsonString: string): SafeParseResult<ListResponseInsightToolOutput, SDKValidationError>;
|
|
38
|
+
//# sourceMappingURL=listresponseinsighttooloutput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listresponseinsighttooloutput.d.ts","sourceRoot":"","sources":["../../src/models/components/listresponseinsighttooloutput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,KAAK,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAa7B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D;AAED,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AAED,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.ListResponseInsightToolOutput$ = exports.ListResponseInsightToolOutput$outboundSchema = exports.ListResponseInsightToolOutput$inboundSchema = void 0;
|
|
30
|
+
exports.listResponseInsightToolOutputToJSON = listResponseInsightToolOutputToJSON;
|
|
31
|
+
exports.listResponseInsightToolOutputFromJSON = listResponseInsightToolOutputFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
+
const insighttooloutput_js_1 = require("./insighttooloutput.js");
|
|
36
|
+
/** @internal */
|
|
37
|
+
exports.ListResponseInsightToolOutput$inboundSchema = z.object({
|
|
38
|
+
items: z.array(insighttooloutput_js_1.InsightToolOutput$inboundSchema),
|
|
39
|
+
page: z.number().int(),
|
|
40
|
+
page_size: z.number().int(),
|
|
41
|
+
total_pages: z.nullable(z.number().int()).optional(),
|
|
42
|
+
total_count: z.nullable(z.number().int()).optional(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return (0, primitives_js_1.remap)(v, {
|
|
45
|
+
"page_size": "pageSize",
|
|
46
|
+
"total_pages": "totalPages",
|
|
47
|
+
"total_count": "totalCount",
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.ListResponseInsightToolOutput$outboundSchema = z.object({
|
|
52
|
+
items: z.array(insighttooloutput_js_1.InsightToolOutput$outboundSchema),
|
|
53
|
+
page: z.number().int(),
|
|
54
|
+
pageSize: z.number().int(),
|
|
55
|
+
totalPages: z.nullable(z.number().int()).optional(),
|
|
56
|
+
totalCount: z.nullable(z.number().int()).optional(),
|
|
57
|
+
}).transform((v) => {
|
|
58
|
+
return (0, primitives_js_1.remap)(v, {
|
|
59
|
+
pageSize: "page_size",
|
|
60
|
+
totalPages: "total_pages",
|
|
61
|
+
totalCount: "total_count",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
+
*/
|
|
68
|
+
var ListResponseInsightToolOutput$;
|
|
69
|
+
(function (ListResponseInsightToolOutput$) {
|
|
70
|
+
/** @deprecated use `ListResponseInsightToolOutput$inboundSchema` instead. */
|
|
71
|
+
ListResponseInsightToolOutput$.inboundSchema = exports.ListResponseInsightToolOutput$inboundSchema;
|
|
72
|
+
/** @deprecated use `ListResponseInsightToolOutput$outboundSchema` instead. */
|
|
73
|
+
ListResponseInsightToolOutput$.outboundSchema = exports.ListResponseInsightToolOutput$outboundSchema;
|
|
74
|
+
})(ListResponseInsightToolOutput$ || (exports.ListResponseInsightToolOutput$ = ListResponseInsightToolOutput$ = {}));
|
|
75
|
+
function listResponseInsightToolOutputToJSON(listResponseInsightToolOutput) {
|
|
76
|
+
return JSON.stringify(exports.ListResponseInsightToolOutput$outboundSchema.parse(listResponseInsightToolOutput));
|
|
77
|
+
}
|
|
78
|
+
function listResponseInsightToolOutputFromJSON(jsonString) {
|
|
79
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListResponseInsightToolOutput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListResponseInsightToolOutput' from JSON`);
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=listresponseinsighttooloutput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listresponseinsighttooloutput.js","sourceRoot":"","sources":["../../src/models/components/listresponseinsighttooloutput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,kFAQC;AAED,sFAQC;AAlGD,uCAA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,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;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"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { InsightWorkflowOutput, InsightWorkflowOutput$Outbound } from "./insightworkflowoutput.js";
|
|
5
|
+
export type ListResponseInsightWorkflowOutput = {
|
|
6
|
+
items: Array<InsightWorkflowOutput>;
|
|
7
|
+
page: number;
|
|
8
|
+
pageSize: number;
|
|
9
|
+
totalPages?: number | null | undefined;
|
|
10
|
+
totalCount?: number | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ListResponseInsightWorkflowOutput$inboundSchema: z.ZodType<ListResponseInsightWorkflowOutput, z.ZodTypeDef, unknown>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type ListResponseInsightWorkflowOutput$Outbound = {
|
|
16
|
+
items: Array<InsightWorkflowOutput$Outbound>;
|
|
17
|
+
page: number;
|
|
18
|
+
page_size: number;
|
|
19
|
+
total_pages?: number | null | undefined;
|
|
20
|
+
total_count?: number | null | undefined;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const ListResponseInsightWorkflowOutput$outboundSchema: z.ZodType<ListResponseInsightWorkflowOutput$Outbound, z.ZodTypeDef, ListResponseInsightWorkflowOutput>;
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
+
*/
|
|
28
|
+
export declare namespace ListResponseInsightWorkflowOutput$ {
|
|
29
|
+
/** @deprecated use `ListResponseInsightWorkflowOutput$inboundSchema` instead. */
|
|
30
|
+
const inboundSchema: z.ZodType<ListResponseInsightWorkflowOutput, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @deprecated use `ListResponseInsightWorkflowOutput$outboundSchema` instead. */
|
|
32
|
+
const outboundSchema: z.ZodType<ListResponseInsightWorkflowOutput$Outbound, z.ZodTypeDef, ListResponseInsightWorkflowOutput>;
|
|
33
|
+
/** @deprecated use `ListResponseInsightWorkflowOutput$Outbound` instead. */
|
|
34
|
+
type Outbound = ListResponseInsightWorkflowOutput$Outbound;
|
|
35
|
+
}
|
|
36
|
+
export declare function listResponseInsightWorkflowOutputToJSON(listResponseInsightWorkflowOutput: ListResponseInsightWorkflowOutput): string;
|
|
37
|
+
export declare function listResponseInsightWorkflowOutputFromJSON(jsonString: string): SafeParseResult<ListResponseInsightWorkflowOutput, SDKValidationError>;
|
|
38
|
+
//# sourceMappingURL=listresponseinsightworkflowoutput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listresponseinsightworkflowoutput.d.ts","sourceRoot":"","sources":["../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AAC;IACnD,4EAA4E;IAC5E,KAAY,QAAQ,GAAG,0CAA0C,CAAC;CACnE;AAED,wBAAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AAED,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.ListResponseInsightWorkflowOutput$ = exports.ListResponseInsightWorkflowOutput$outboundSchema = exports.ListResponseInsightWorkflowOutput$inboundSchema = void 0;
|
|
30
|
+
exports.listResponseInsightWorkflowOutputToJSON = listResponseInsightWorkflowOutputToJSON;
|
|
31
|
+
exports.listResponseInsightWorkflowOutputFromJSON = listResponseInsightWorkflowOutputFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
+
const insightworkflowoutput_js_1 = require("./insightworkflowoutput.js");
|
|
36
|
+
/** @internal */
|
|
37
|
+
exports.ListResponseInsightWorkflowOutput$inboundSchema = z.object({
|
|
38
|
+
items: z.array(insightworkflowoutput_js_1.InsightWorkflowOutput$inboundSchema),
|
|
39
|
+
page: z.number().int(),
|
|
40
|
+
page_size: z.number().int(),
|
|
41
|
+
total_pages: z.nullable(z.number().int()).optional(),
|
|
42
|
+
total_count: z.nullable(z.number().int()).optional(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return (0, primitives_js_1.remap)(v, {
|
|
45
|
+
"page_size": "pageSize",
|
|
46
|
+
"total_pages": "totalPages",
|
|
47
|
+
"total_count": "totalCount",
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.ListResponseInsightWorkflowOutput$outboundSchema = z.object({
|
|
52
|
+
items: z.array(insightworkflowoutput_js_1.InsightWorkflowOutput$outboundSchema),
|
|
53
|
+
page: z.number().int(),
|
|
54
|
+
pageSize: z.number().int(),
|
|
55
|
+
totalPages: z.nullable(z.number().int()).optional(),
|
|
56
|
+
totalCount: z.nullable(z.number().int()).optional(),
|
|
57
|
+
}).transform((v) => {
|
|
58
|
+
return (0, primitives_js_1.remap)(v, {
|
|
59
|
+
pageSize: "page_size",
|
|
60
|
+
totalPages: "total_pages",
|
|
61
|
+
totalCount: "total_count",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
+
*/
|
|
68
|
+
var ListResponseInsightWorkflowOutput$;
|
|
69
|
+
(function (ListResponseInsightWorkflowOutput$) {
|
|
70
|
+
/** @deprecated use `ListResponseInsightWorkflowOutput$inboundSchema` instead. */
|
|
71
|
+
ListResponseInsightWorkflowOutput$.inboundSchema = exports.ListResponseInsightWorkflowOutput$inboundSchema;
|
|
72
|
+
/** @deprecated use `ListResponseInsightWorkflowOutput$outboundSchema` instead. */
|
|
73
|
+
ListResponseInsightWorkflowOutput$.outboundSchema = exports.ListResponseInsightWorkflowOutput$outboundSchema;
|
|
74
|
+
})(ListResponseInsightWorkflowOutput$ || (exports.ListResponseInsightWorkflowOutput$ = ListResponseInsightWorkflowOutput$ = {}));
|
|
75
|
+
function listResponseInsightWorkflowOutputToJSON(listResponseInsightWorkflowOutput) {
|
|
76
|
+
return JSON.stringify(exports.ListResponseInsightWorkflowOutput$outboundSchema.parse(listResponseInsightWorkflowOutput));
|
|
77
|
+
}
|
|
78
|
+
function listResponseInsightWorkflowOutputFromJSON(jsonString) {
|
|
79
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListResponseInsightWorkflowOutput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListResponseInsightWorkflowOutput' from JSON`);
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=listresponseinsightworkflowoutput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listresponseinsightworkflowoutput.js","sourceRoot":"","sources":["../../src/models/components/listresponseinsightworkflowoutput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFH,0FAQC;AAED,8FAQC;AAnGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yEAKoC;AAUpC,gBAAgB;AACH,QAAA,+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