syllable-sdk 0.1.0-alpha.6 → 0.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/docs/sdks/prompts/README.md +1 -1
- package/docs/sdks/syllablesdk/README.md +4 -4
- package/funcs/promptsDelete.d.ts +3 -0
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +3 -0
- package/funcs/promptsDelete.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +5 -5
- package/models/components/agent.d.ts +2 -0
- package/models/components/agent.d.ts.map +1 -1
- package/models/components/agent.js +4 -0
- package/models/components/agent.js.map +1 -1
- package/models/components/agentproperties.d.ts +3 -0
- package/models/components/agentproperties.d.ts.map +1 -1
- package/models/components/agentproperties.js +1 -0
- package/models/components/agentproperties.js.map +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/orderbydirection.d.ts +28 -0
- package/models/components/orderbydirection.d.ts.map +1 -0
- package/models/components/orderbydirection.js +50 -0
- package/models/components/orderbydirection.js.map +1 -0
- package/models/components/prompt.d.ts +5 -0
- package/models/components/prompt.d.ts.map +1 -1
- package/models/components/prompt.js +2 -0
- package/models/components/prompt.js.map +1 -1
- package/models/components/promptcreate.d.ts +5 -0
- package/models/components/promptcreate.d.ts.map +1 -1
- package/models/components/promptcreate.js +2 -0
- package/models/components/promptcreate.js.map +1 -1
- package/models/components/prompthistory.d.ts +2 -0
- package/models/components/prompthistory.d.ts.map +1 -1
- package/models/components/prompthistory.js +4 -0
- package/models/components/prompthistory.js.map +1 -1
- package/models/components/promptproperties.d.ts +6 -0
- package/models/components/promptproperties.d.ts.map +1 -1
- package/models/components/promptproperties.js +2 -0
- package/models/components/promptproperties.js.map +1 -1
- package/models/components/session.d.ts +4 -0
- package/models/components/session.d.ts.map +1 -1
- package/models/components/session.js +8 -0
- package/models/components/session.js.map +1 -1
- package/models/operations/agentlist.d.ts +4 -79
- package/models/operations/agentlist.d.ts.map +1 -1
- package/models/operations/agentlist.js +7 -52
- package/models/operations/agentlist.js.map +1 -1
- package/models/operations/availabletargets.d.ts +4 -58
- package/models/operations/availabletargets.d.ts.map +1 -1
- package/models/operations/availabletargets.js +7 -45
- package/models/operations/availabletargets.js.map +1 -1
- package/models/operations/channelslist.d.ts +4 -61
- package/models/operations/channelslist.d.ts.map +1 -1
- package/models/operations/channelslist.js +7 -45
- package/models/operations/channelslist.js.map +1 -1
- package/models/operations/channeltargetslist.d.ts +4 -73
- package/models/operations/channeltargetslist.d.ts.map +1 -1
- package/models/operations/channeltargetslist.js +7 -50
- package/models/operations/channeltargetslist.js.map +1 -1
- package/models/operations/conversationslist.d.ts +4 -79
- package/models/operations/conversationslist.d.ts.map +1 -1
- package/models/operations/conversationslist.js +7 -52
- package/models/operations/conversationslist.js.map +1 -1
- package/models/operations/custommessageslist.d.ts +4 -58
- package/models/operations/custommessageslist.d.ts.map +1 -1
- package/models/operations/custommessageslist.js +7 -45
- package/models/operations/custommessageslist.js.map +1 -1
- package/models/operations/eventslist.d.ts +4 -79
- package/models/operations/eventslist.d.ts.map +1 -1
- package/models/operations/eventslist.js +5 -51
- package/models/operations/eventslist.js.map +1 -1
- package/models/operations/promptslist.d.ts +4 -67
- package/models/operations/promptslist.d.ts.map +1 -1
- package/models/operations/promptslist.js +5 -47
- package/models/operations/promptslist.js.map +1 -1
- package/models/operations/servicelist.d.ts +4 -55
- package/models/operations/servicelist.d.ts.map +1 -1
- package/models/operations/servicelist.js +5 -43
- package/models/operations/servicelist.js.map +1 -1
- package/models/operations/sessionlabelslist.d.ts +4 -70
- package/models/operations/sessionlabelslist.d.ts.map +1 -1
- package/models/operations/sessionlabelslist.js +7 -49
- package/models/operations/sessionlabelslist.js.map +1 -1
- package/models/operations/sessionslist.d.ts +4 -97
- package/models/operations/sessionslist.d.ts.map +1 -1
- package/models/operations/sessionslist.js +5 -57
- package/models/operations/sessionslist.js.map +1 -1
- package/models/operations/toollist.d.ts +4 -64
- package/models/operations/toollist.d.ts.map +1 -1
- package/models/operations/toollist.js +5 -46
- package/models/operations/toollist.js.map +1 -1
- package/package.json +1 -1
- package/sdk/prompts.d.ts +3 -0
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +3 -0
- package/sdk/prompts.js.map +1 -1
- package/src/funcs/promptsDelete.ts +3 -0
- package/src/lib/config.ts +5 -5
- package/src/models/components/agent.ts +8 -0
- package/src/models/components/agentproperties.ts +1 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/orderbydirection.ts +33 -0
- package/src/models/components/prompt.ts +7 -0
- package/src/models/components/promptcreate.ts +7 -0
- package/src/models/components/prompthistory.ts +6 -0
- package/src/models/components/promptproperties.ts +2 -0
- package/src/models/components/session.ts +12 -0
- package/src/models/operations/agentlist.ts +10 -69
- package/src/models/operations/availabletargets.ts +10 -71
- package/src/models/operations/channelslist.ts +10 -67
- package/src/models/operations/channeltargetslist.ts +10 -77
- package/src/models/operations/conversationslist.ts +10 -78
- package/src/models/operations/custommessageslist.ts +10 -72
- package/src/models/operations/eventslist.ts +8 -78
- package/src/models/operations/promptslist.ts +8 -74
- package/src/models/operations/servicelist.ts +8 -70
- package/src/models/operations/sessionlabelslist.ts +10 -75
- package/src/models/operations/sessionslist.ts +8 -84
- package/src/models/operations/toollist.ts +8 -71
- package/src/sdk/prompts.ts +3 -0
|
@@ -26,73 +26,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.SessionsListRequest$ = exports.SessionsListRequest$outboundSchema = exports.SessionsListRequest$inboundSchema =
|
|
29
|
+
exports.SessionsListRequest$ = exports.SessionsListRequest$outboundSchema = exports.SessionsListRequest$inboundSchema = void 0;
|
|
30
30
|
exports.sessionsListRequestToJSON = sessionsListRequestToJSON;
|
|
31
31
|
exports.sessionsListRequestFromJSON = sessionsListRequestFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const components = __importStar(require("../components/index.js"));
|
|
36
|
-
exports.SessionsListQueryParamOrderBy = {
|
|
37
|
-
Timestamp: "timestamp",
|
|
38
|
-
SessionId: "session_id",
|
|
39
|
-
ConversationId: "conversation_id",
|
|
40
|
-
ChannelManagerService: "channel_manager_service",
|
|
41
|
-
ChannelManagerType: "channel_manager_type",
|
|
42
|
-
ChannelManagerSid: "channel_manager_sid",
|
|
43
|
-
AgentType: "agent_type",
|
|
44
|
-
AgentId: "agent_id",
|
|
45
|
-
AgentName: "agent_name",
|
|
46
|
-
PromptId: "prompt_id",
|
|
47
|
-
PromptName: "prompt_name",
|
|
48
|
-
Source: "source",
|
|
49
|
-
Target: "target",
|
|
50
|
-
Duration: "duration",
|
|
51
|
-
IsLegacy: "is_legacy",
|
|
52
|
-
IsTest: "is_test",
|
|
53
|
-
};
|
|
54
|
-
exports.SessionsListQueryParamOrderByDirection = {
|
|
55
|
-
Asc: "asc",
|
|
56
|
-
Desc: "desc",
|
|
57
|
-
};
|
|
58
|
-
/** @internal */
|
|
59
|
-
exports.SessionsListQueryParamOrderBy$inboundSchema = z.nativeEnum(exports.SessionsListQueryParamOrderBy);
|
|
60
|
-
/** @internal */
|
|
61
|
-
exports.SessionsListQueryParamOrderBy$outboundSchema = exports.SessionsListQueryParamOrderBy$inboundSchema;
|
|
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
|
-
var SessionsListQueryParamOrderBy$;
|
|
67
|
-
(function (SessionsListQueryParamOrderBy$) {
|
|
68
|
-
/** @deprecated use `SessionsListQueryParamOrderBy$inboundSchema` instead. */
|
|
69
|
-
SessionsListQueryParamOrderBy$.inboundSchema = exports.SessionsListQueryParamOrderBy$inboundSchema;
|
|
70
|
-
/** @deprecated use `SessionsListQueryParamOrderBy$outboundSchema` instead. */
|
|
71
|
-
SessionsListQueryParamOrderBy$.outboundSchema = exports.SessionsListQueryParamOrderBy$outboundSchema;
|
|
72
|
-
})(SessionsListQueryParamOrderBy$ || (exports.SessionsListQueryParamOrderBy$ = SessionsListQueryParamOrderBy$ = {}));
|
|
73
|
-
/** @internal */
|
|
74
|
-
exports.SessionsListQueryParamOrderByDirection$inboundSchema = z.nativeEnum(exports.SessionsListQueryParamOrderByDirection);
|
|
75
|
-
/** @internal */
|
|
76
|
-
exports.SessionsListQueryParamOrderByDirection$outboundSchema = exports.SessionsListQueryParamOrderByDirection$inboundSchema;
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
80
|
-
*/
|
|
81
|
-
var SessionsListQueryParamOrderByDirection$;
|
|
82
|
-
(function (SessionsListQueryParamOrderByDirection$) {
|
|
83
|
-
/** @deprecated use `SessionsListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
84
|
-
SessionsListQueryParamOrderByDirection$.inboundSchema = exports.SessionsListQueryParamOrderByDirection$inboundSchema;
|
|
85
|
-
/** @deprecated use `SessionsListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
86
|
-
SessionsListQueryParamOrderByDirection$.outboundSchema = exports.SessionsListQueryParamOrderByDirection$outboundSchema;
|
|
87
|
-
})(SessionsListQueryParamOrderByDirection$ || (exports.SessionsListQueryParamOrderByDirection$ = SessionsListQueryParamOrderByDirection$ = {}));
|
|
88
36
|
/** @internal */
|
|
89
37
|
exports.SessionsListRequest$inboundSchema = z.object({
|
|
90
38
|
page: z.nullable(z.number().int()).optional(),
|
|
91
39
|
limit: z.number().int().default(25),
|
|
92
40
|
search_fields: z.array(components.SessionProperties$inboundSchema).optional(),
|
|
93
41
|
search_field_values: z.array(z.string()).optional(),
|
|
94
|
-
order_by:
|
|
95
|
-
order_by_direction:
|
|
42
|
+
order_by: z.nullable(components.SessionProperties$inboundSchema).optional(),
|
|
43
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
96
44
|
.optional(),
|
|
97
45
|
fields: z.nullable(z.array(components.SessionProperties$inboundSchema))
|
|
98
46
|
.optional(),
|
|
@@ -114,8 +62,8 @@ exports.SessionsListRequest$outboundSchema = z.object({
|
|
|
114
62
|
limit: z.number().int().default(25),
|
|
115
63
|
searchFields: z.array(components.SessionProperties$outboundSchema).optional(),
|
|
116
64
|
searchFieldValues: z.array(z.string()).optional(),
|
|
117
|
-
orderBy:
|
|
118
|
-
orderByDirection:
|
|
65
|
+
orderBy: z.nullable(components.SessionProperties$outboundSchema).optional(),
|
|
66
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
119
67
|
.optional(),
|
|
120
68
|
fields: z.nullable(z.array(components.SessionProperties$outboundSchema))
|
|
121
69
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionslist.js","sourceRoot":"","sources":["../../src/models/operations/sessionslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sessionslist.js","sourceRoot":"","sources":["../../src/models/operations/sessionslist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGH,8DAMC;AAED,kEAQC;AArHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAerD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,KAAK,EAAE,CAAC,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oB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -1,79 +1,19 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import * as components from "../components/index.js";
|
|
5
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
-
export declare const ToolListQueryParamOrderBy: {
|
|
7
|
-
readonly Id: "id";
|
|
8
|
-
readonly Name: "name";
|
|
9
|
-
readonly ServiceName: "service_name";
|
|
10
|
-
readonly Definition: "definition";
|
|
11
|
-
readonly ServiceId: "service_id";
|
|
12
|
-
};
|
|
13
|
-
export type ToolListQueryParamOrderBy = ClosedEnum<typeof ToolListQueryParamOrderBy>;
|
|
14
|
-
export declare const ToolListQueryParamOrderByDirection: {
|
|
15
|
-
readonly Asc: "asc";
|
|
16
|
-
readonly Desc: "desc";
|
|
17
|
-
};
|
|
18
|
-
export type ToolListQueryParamOrderByDirection = ClosedEnum<typeof ToolListQueryParamOrderByDirection>;
|
|
19
5
|
export type ToolListRequest = {
|
|
20
6
|
page?: number | null | undefined;
|
|
21
7
|
limit?: number | undefined;
|
|
22
8
|
searchFields?: Array<components.ToolProperties> | undefined;
|
|
23
9
|
searchFieldValues?: Array<string> | undefined;
|
|
24
|
-
orderBy?:
|
|
25
|
-
orderByDirection?:
|
|
10
|
+
orderBy?: components.ToolProperties | null | undefined;
|
|
11
|
+
orderByDirection?: components.OrderByDirection | null | undefined;
|
|
26
12
|
fields?: Array<components.ToolProperties> | null | undefined;
|
|
27
13
|
startDatetime?: string | null | undefined;
|
|
28
14
|
endDatetime?: string | null | undefined;
|
|
29
15
|
};
|
|
30
16
|
/** @internal */
|
|
31
|
-
export declare const ToolListQueryParamOrderBy$inboundSchema: z.ZodNativeEnum<typeof ToolListQueryParamOrderBy>;
|
|
32
|
-
/** @internal */
|
|
33
|
-
export declare const ToolListQueryParamOrderBy$outboundSchema: z.ZodNativeEnum<typeof ToolListQueryParamOrderBy>;
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
|
-
*/
|
|
38
|
-
export declare namespace ToolListQueryParamOrderBy$ {
|
|
39
|
-
/** @deprecated use `ToolListQueryParamOrderBy$inboundSchema` instead. */
|
|
40
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
41
|
-
readonly Id: "id";
|
|
42
|
-
readonly Name: "name";
|
|
43
|
-
readonly ServiceName: "service_name";
|
|
44
|
-
readonly Definition: "definition";
|
|
45
|
-
readonly ServiceId: "service_id";
|
|
46
|
-
}>;
|
|
47
|
-
/** @deprecated use `ToolListQueryParamOrderBy$outboundSchema` instead. */
|
|
48
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
49
|
-
readonly Id: "id";
|
|
50
|
-
readonly Name: "name";
|
|
51
|
-
readonly ServiceName: "service_name";
|
|
52
|
-
readonly Definition: "definition";
|
|
53
|
-
readonly ServiceId: "service_id";
|
|
54
|
-
}>;
|
|
55
|
-
}
|
|
56
|
-
/** @internal */
|
|
57
|
-
export declare const ToolListQueryParamOrderByDirection$inboundSchema: z.ZodNativeEnum<typeof ToolListQueryParamOrderByDirection>;
|
|
58
|
-
/** @internal */
|
|
59
|
-
export declare const ToolListQueryParamOrderByDirection$outboundSchema: z.ZodNativeEnum<typeof ToolListQueryParamOrderByDirection>;
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
-
*/
|
|
64
|
-
export declare namespace ToolListQueryParamOrderByDirection$ {
|
|
65
|
-
/** @deprecated use `ToolListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
66
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
67
|
-
readonly Asc: "asc";
|
|
68
|
-
readonly Desc: "desc";
|
|
69
|
-
}>;
|
|
70
|
-
/** @deprecated use `ToolListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
71
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
72
|
-
readonly Asc: "asc";
|
|
73
|
-
readonly Desc: "desc";
|
|
74
|
-
}>;
|
|
75
|
-
}
|
|
76
|
-
/** @internal */
|
|
77
17
|
export declare const ToolListRequest$inboundSchema: z.ZodType<ToolListRequest, z.ZodTypeDef, unknown>;
|
|
78
18
|
/** @internal */
|
|
79
19
|
export type ToolListRequest$Outbound = {
|
|
@@ -81,8 +21,8 @@ export type ToolListRequest$Outbound = {
|
|
|
81
21
|
limit: number;
|
|
82
22
|
search_fields?: Array<string> | undefined;
|
|
83
23
|
search_field_values?: Array<string> | undefined;
|
|
84
|
-
order_by?: string | undefined;
|
|
85
|
-
order_by_direction?: string | undefined;
|
|
24
|
+
order_by?: string | null | undefined;
|
|
25
|
+
order_by_direction?: string | null | undefined;
|
|
86
26
|
fields?: Array<string> | null | undefined;
|
|
87
27
|
start_datetime?: string | null | undefined;
|
|
88
28
|
end_datetime?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toollist.d.ts","sourceRoot":"","sources":["../../src/models/operations/toollist.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"toollist.d.ts","sourceRoot":"","sources":["../../src/models/operations/toollist.ts"],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AAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAsBf,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa,mDAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc,oEAAiC,CAAC;IAC7D,0DAA0D;IAC1D,KAAY,QAAQ,GAAG,wBAAwB,CAAC;CACjD;AAED,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -26,62 +26,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.ToolListRequest$ = exports.ToolListRequest$outboundSchema = exports.ToolListRequest$inboundSchema =
|
|
29
|
+
exports.ToolListRequest$ = exports.ToolListRequest$outboundSchema = exports.ToolListRequest$inboundSchema = void 0;
|
|
30
30
|
exports.toolListRequestToJSON = toolListRequestToJSON;
|
|
31
31
|
exports.toolListRequestFromJSON = toolListRequestFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const components = __importStar(require("../components/index.js"));
|
|
36
|
-
exports.ToolListQueryParamOrderBy = {
|
|
37
|
-
Id: "id",
|
|
38
|
-
Name: "name",
|
|
39
|
-
ServiceName: "service_name",
|
|
40
|
-
Definition: "definition",
|
|
41
|
-
ServiceId: "service_id",
|
|
42
|
-
};
|
|
43
|
-
exports.ToolListQueryParamOrderByDirection = {
|
|
44
|
-
Asc: "asc",
|
|
45
|
-
Desc: "desc",
|
|
46
|
-
};
|
|
47
|
-
/** @internal */
|
|
48
|
-
exports.ToolListQueryParamOrderBy$inboundSchema = z.nativeEnum(exports.ToolListQueryParamOrderBy);
|
|
49
|
-
/** @internal */
|
|
50
|
-
exports.ToolListQueryParamOrderBy$outboundSchema = exports.ToolListQueryParamOrderBy$inboundSchema;
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
-
*/
|
|
55
|
-
var ToolListQueryParamOrderBy$;
|
|
56
|
-
(function (ToolListQueryParamOrderBy$) {
|
|
57
|
-
/** @deprecated use `ToolListQueryParamOrderBy$inboundSchema` instead. */
|
|
58
|
-
ToolListQueryParamOrderBy$.inboundSchema = exports.ToolListQueryParamOrderBy$inboundSchema;
|
|
59
|
-
/** @deprecated use `ToolListQueryParamOrderBy$outboundSchema` instead. */
|
|
60
|
-
ToolListQueryParamOrderBy$.outboundSchema = exports.ToolListQueryParamOrderBy$outboundSchema;
|
|
61
|
-
})(ToolListQueryParamOrderBy$ || (exports.ToolListQueryParamOrderBy$ = ToolListQueryParamOrderBy$ = {}));
|
|
62
|
-
/** @internal */
|
|
63
|
-
exports.ToolListQueryParamOrderByDirection$inboundSchema = z.nativeEnum(exports.ToolListQueryParamOrderByDirection);
|
|
64
|
-
/** @internal */
|
|
65
|
-
exports.ToolListQueryParamOrderByDirection$outboundSchema = exports.ToolListQueryParamOrderByDirection$inboundSchema;
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
-
*/
|
|
70
|
-
var ToolListQueryParamOrderByDirection$;
|
|
71
|
-
(function (ToolListQueryParamOrderByDirection$) {
|
|
72
|
-
/** @deprecated use `ToolListQueryParamOrderByDirection$inboundSchema` instead. */
|
|
73
|
-
ToolListQueryParamOrderByDirection$.inboundSchema = exports.ToolListQueryParamOrderByDirection$inboundSchema;
|
|
74
|
-
/** @deprecated use `ToolListQueryParamOrderByDirection$outboundSchema` instead. */
|
|
75
|
-
ToolListQueryParamOrderByDirection$.outboundSchema = exports.ToolListQueryParamOrderByDirection$outboundSchema;
|
|
76
|
-
})(ToolListQueryParamOrderByDirection$ || (exports.ToolListQueryParamOrderByDirection$ = ToolListQueryParamOrderByDirection$ = {}));
|
|
77
36
|
/** @internal */
|
|
78
37
|
exports.ToolListRequest$inboundSchema = z.object({
|
|
79
38
|
page: z.nullable(z.number().int()).optional(),
|
|
80
39
|
limit: z.number().int().default(25),
|
|
81
40
|
search_fields: z.array(components.ToolProperties$inboundSchema).optional(),
|
|
82
41
|
search_field_values: z.array(z.string()).optional(),
|
|
83
|
-
order_by:
|
|
84
|
-
order_by_direction:
|
|
42
|
+
order_by: z.nullable(components.ToolProperties$inboundSchema).optional(),
|
|
43
|
+
order_by_direction: z.nullable(components.OrderByDirection$inboundSchema)
|
|
85
44
|
.optional(),
|
|
86
45
|
fields: z.nullable(z.array(components.ToolProperties$inboundSchema))
|
|
87
46
|
.optional(),
|
|
@@ -103,8 +62,8 @@ exports.ToolListRequest$outboundSchema = z.object({
|
|
|
103
62
|
limit: z.number().int().default(25),
|
|
104
63
|
searchFields: z.array(components.ToolProperties$outboundSchema).optional(),
|
|
105
64
|
searchFieldValues: z.array(z.string()).optional(),
|
|
106
|
-
orderBy:
|
|
107
|
-
orderByDirection:
|
|
65
|
+
orderBy: z.nullable(components.ToolProperties$outboundSchema).optional(),
|
|
66
|
+
orderByDirection: z.nullable(components.OrderByDirection$outboundSchema)
|
|
108
67
|
.optional(),
|
|
109
68
|
fields: z.nullable(z.array(components.ToolProperties$outboundSchema))
|
|
110
69
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toollist.js","sourceRoot":"","sources":["../../src/models/operations/toollist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"toollist.js","sourceRoot":"","sources":["../../src/models/operations/toollist.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGH,sDAIC;AAED,0DAQC;AAnHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAerD,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IACnC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC,QAAQ,EAAE;IAC1E,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACnD,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC,QAAQ,EAAE;IACxE,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,8BAA8B,CAAC;SACtE,QAAQ,EAAE;IACb,M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ClientSDK {
|
|
|
32
32
|
getById(request: operations.PromptsGetByIdRequest, options?: RequestOptions): Promise<components.Prompt>;
|
|
33
33
|
/**
|
|
34
34
|
* Delete Prompt
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Delete a prompt
|
|
35
38
|
*/
|
|
36
39
|
delete(request: operations.PromptsDeleteRequest, options?: RequestOptions): Promise<any>;
|
|
37
40
|
/**
|
package/sdk/prompts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../src/sdk/prompts.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,kBAAkB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAQzC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,YAAY,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC;IAQ7B;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,MAAM,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC;IAQ7B;;;;;OAKG;IACG,OAAO,CACX,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC;IAQ7B
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../src/sdk/prompts.ts"],"names":[],"mappings":"AAUA,O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AC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAgC,EAChC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gCAAa,EAC9B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gCAAa,EAC9B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CACX,OAAyC,EACzC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAwC,EACxC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gCAAa,EAC9B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAyC,EACzC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAtGD,0BAsGC"}
|
package/src/lib/config.ts
CHANGED
|
@@ -12,11 +12,11 @@ import { Params, pathToFunc } from "./url.js";
|
|
|
12
12
|
*/
|
|
13
13
|
export const ServerList = [
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* dev server
|
|
16
16
|
*/
|
|
17
17
|
"http://localhost:8001",
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* dev / port-forwarding server
|
|
20
20
|
*/
|
|
21
21
|
"http://localhost:8001",
|
|
22
22
|
] as const;
|
|
@@ -61,8 +61,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.2",
|
|
64
|
-
sdkVersion: "0.1.0-alpha.
|
|
65
|
-
genVersion: "2.461.
|
|
64
|
+
sdkVersion: "0.1.0-alpha.8",
|
|
65
|
+
genVersion: "2.461.4",
|
|
66
66
|
userAgent:
|
|
67
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
67
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.8 2.461.4 0.0.2 syllable-sdk",
|
|
68
68
|
} as const;
|
|
@@ -30,6 +30,7 @@ export type Agent = {
|
|
|
30
30
|
* The Agent ID
|
|
31
31
|
*/
|
|
32
32
|
id: number;
|
|
33
|
+
updatedAt?: Date | null | undefined;
|
|
33
34
|
};
|
|
34
35
|
|
|
35
36
|
/** @internal */
|
|
@@ -89,12 +90,16 @@ export const Agent$inboundSchema: z.ZodType<Agent, z.ZodTypeDef, unknown> = z
|
|
|
89
90
|
tool_headers: z.nullable(z.record(z.string())).optional(),
|
|
90
91
|
variables: z.nullable(z.lazy(() => Variables$inboundSchema)).optional(),
|
|
91
92
|
id: z.number().int(),
|
|
93
|
+
updated_at: z.nullable(
|
|
94
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
95
|
+
).optional(),
|
|
92
96
|
}).transform((v) => {
|
|
93
97
|
return remap$(v, {
|
|
94
98
|
"prompt_id": "promptId",
|
|
95
99
|
"custom_message_id": "customMessageId",
|
|
96
100
|
"prompt_tool_defaults": "promptToolDefaults",
|
|
97
101
|
"tool_headers": "toolHeaders",
|
|
102
|
+
"updated_at": "updatedAt",
|
|
98
103
|
});
|
|
99
104
|
});
|
|
100
105
|
|
|
@@ -110,6 +115,7 @@ export type Agent$Outbound = {
|
|
|
110
115
|
tool_headers?: { [k: string]: string } | null | undefined;
|
|
111
116
|
variables?: Variables$Outbound | null | undefined;
|
|
112
117
|
id: number;
|
|
118
|
+
updated_at?: string | null | undefined;
|
|
113
119
|
};
|
|
114
120
|
|
|
115
121
|
/** @internal */
|
|
@@ -128,12 +134,14 @@ export const Agent$outboundSchema: z.ZodType<
|
|
|
128
134
|
toolHeaders: z.nullable(z.record(z.string())).optional(),
|
|
129
135
|
variables: z.nullable(z.lazy(() => Variables$outboundSchema)).optional(),
|
|
130
136
|
id: z.number().int(),
|
|
137
|
+
updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
131
138
|
}).transform((v) => {
|
|
132
139
|
return remap$(v, {
|
|
133
140
|
promptId: "prompt_id",
|
|
134
141
|
customMessageId: "custom_message_id",
|
|
135
142
|
promptToolDefaults: "prompt_tool_defaults",
|
|
136
143
|
toolHeaders: "tool_headers",
|
|
144
|
+
updatedAt: "updated_at",
|
|
137
145
|
});
|
|
138
146
|
});
|
|
139
147
|
|
|
@@ -35,6 +35,7 @@ export * from "./listresponsesession.js";
|
|
|
35
35
|
export * from "./listresponsesessionlabel.js";
|
|
36
36
|
export * from "./listresponsetool.js";
|
|
37
37
|
export * from "./llmconfig.js";
|
|
38
|
+
export * from "./orderbydirection.js";
|
|
38
39
|
export * from "./prompt.js";
|
|
39
40
|
export * from "./promptcreate.js";
|
|
40
41
|
export * from "./prompthistory.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const OrderByDirection = {
|
|
9
|
+
Asc: "asc",
|
|
10
|
+
Desc: "desc",
|
|
11
|
+
} as const;
|
|
12
|
+
export type OrderByDirection = ClosedEnum<typeof OrderByDirection>;
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const OrderByDirection$inboundSchema: z.ZodNativeEnum<
|
|
16
|
+
typeof OrderByDirection
|
|
17
|
+
> = z.nativeEnum(OrderByDirection);
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const OrderByDirection$outboundSchema: z.ZodNativeEnum<
|
|
21
|
+
typeof OrderByDirection
|
|
22
|
+
> = OrderByDirection$inboundSchema;
|
|
23
|
+
|
|
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 namespace OrderByDirection$ {
|
|
29
|
+
/** @deprecated use `OrderByDirection$inboundSchema` instead. */
|
|
30
|
+
export const inboundSchema = OrderByDirection$inboundSchema;
|
|
31
|
+
/** @deprecated use `OrderByDirection$outboundSchema` instead. */
|
|
32
|
+
export const outboundSchema = OrderByDirection$outboundSchema;
|
|
33
|
+
}
|
|
@@ -19,6 +19,10 @@ export type Prompt = {
|
|
|
19
19
|
* The Prompt name
|
|
20
20
|
*/
|
|
21
21
|
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* The description of the prompt
|
|
24
|
+
*/
|
|
25
|
+
description?: string | null | undefined;
|
|
22
26
|
/**
|
|
23
27
|
* The type of the prompt
|
|
24
28
|
*/
|
|
@@ -57,6 +61,7 @@ export type Prompt = {
|
|
|
57
61
|
export const Prompt$inboundSchema: z.ZodType<Prompt, z.ZodTypeDef, unknown> = z
|
|
58
62
|
.object({
|
|
59
63
|
name: z.string(),
|
|
64
|
+
description: z.nullable(z.string()).optional(),
|
|
60
65
|
type: z.string(),
|
|
61
66
|
context: z.nullable(z.string()).optional(),
|
|
62
67
|
tools: z.array(z.string()).optional(),
|
|
@@ -77,6 +82,7 @@ export const Prompt$inboundSchema: z.ZodType<Prompt, z.ZodTypeDef, unknown> = z
|
|
|
77
82
|
/** @internal */
|
|
78
83
|
export type Prompt$Outbound = {
|
|
79
84
|
name: string;
|
|
85
|
+
description?: string | null | undefined;
|
|
80
86
|
type: string;
|
|
81
87
|
context?: string | null | undefined;
|
|
82
88
|
tools?: Array<string> | undefined;
|
|
@@ -94,6 +100,7 @@ export const Prompt$outboundSchema: z.ZodType<
|
|
|
94
100
|
Prompt
|
|
95
101
|
> = z.object({
|
|
96
102
|
name: z.string(),
|
|
103
|
+
description: z.nullable(z.string()).optional(),
|
|
97
104
|
type: z.string(),
|
|
98
105
|
context: z.nullable(z.string()).optional(),
|
|
99
106
|
tools: z.array(z.string()).optional(),
|
|
@@ -19,6 +19,10 @@ export type PromptCreate = {
|
|
|
19
19
|
* The Prompt name
|
|
20
20
|
*/
|
|
21
21
|
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* The description of the prompt
|
|
24
|
+
*/
|
|
25
|
+
description?: string | null | undefined;
|
|
22
26
|
/**
|
|
23
27
|
* The type of the prompt
|
|
24
28
|
*/
|
|
@@ -44,6 +48,7 @@ export const PromptCreate$inboundSchema: z.ZodType<
|
|
|
44
48
|
unknown
|
|
45
49
|
> = z.object({
|
|
46
50
|
name: z.string(),
|
|
51
|
+
description: z.nullable(z.string()).optional(),
|
|
47
52
|
type: z.string(),
|
|
48
53
|
context: z.nullable(z.string()).optional(),
|
|
49
54
|
tools: z.array(z.string()).optional(),
|
|
@@ -57,6 +62,7 @@ export const PromptCreate$inboundSchema: z.ZodType<
|
|
|
57
62
|
/** @internal */
|
|
58
63
|
export type PromptCreate$Outbound = {
|
|
59
64
|
name: string;
|
|
65
|
+
description?: string | null | undefined;
|
|
60
66
|
type: string;
|
|
61
67
|
context?: string | null | undefined;
|
|
62
68
|
tools?: Array<string> | undefined;
|
|
@@ -70,6 +76,7 @@ export const PromptCreate$outboundSchema: z.ZodType<
|
|
|
70
76
|
PromptCreate
|
|
71
77
|
> = z.object({
|
|
72
78
|
name: z.string(),
|
|
79
|
+
description: z.nullable(z.string()).optional(),
|
|
73
80
|
type: z.string(),
|
|
74
81
|
context: z.nullable(z.string()).optional(),
|
|
75
82
|
tools: z.array(z.string()).optional(),
|
|
@@ -12,6 +12,7 @@ export type PromptHistory = {
|
|
|
12
12
|
timestamp: Date;
|
|
13
13
|
promptId?: string | null | undefined;
|
|
14
14
|
promptText?: string | null | undefined;
|
|
15
|
+
promptDescription?: string | null | undefined;
|
|
15
16
|
promptName?: string | null | undefined;
|
|
16
17
|
llmConfig?: string | null | undefined;
|
|
17
18
|
comments?: string | null | undefined;
|
|
@@ -27,6 +28,7 @@ export const PromptHistory$inboundSchema: z.ZodType<
|
|
|
27
28
|
timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
28
29
|
prompt_id: z.nullable(z.string()).optional(),
|
|
29
30
|
prompt_text: z.nullable(z.string()).optional(),
|
|
31
|
+
prompt_description: z.nullable(z.string()).optional(),
|
|
30
32
|
prompt_name: z.nullable(z.string()).optional(),
|
|
31
33
|
llm_config: z.nullable(z.string()).optional(),
|
|
32
34
|
comments: z.nullable(z.string()).optional(),
|
|
@@ -35,6 +37,7 @@ export const PromptHistory$inboundSchema: z.ZodType<
|
|
|
35
37
|
return remap$(v, {
|
|
36
38
|
"prompt_id": "promptId",
|
|
37
39
|
"prompt_text": "promptText",
|
|
40
|
+
"prompt_description": "promptDescription",
|
|
38
41
|
"prompt_name": "promptName",
|
|
39
42
|
"llm_config": "llmConfig",
|
|
40
43
|
"user_email": "userEmail",
|
|
@@ -46,6 +49,7 @@ export type PromptHistory$Outbound = {
|
|
|
46
49
|
timestamp: string;
|
|
47
50
|
prompt_id?: string | null | undefined;
|
|
48
51
|
prompt_text?: string | null | undefined;
|
|
52
|
+
prompt_description?: string | null | undefined;
|
|
49
53
|
prompt_name?: string | null | undefined;
|
|
50
54
|
llm_config?: string | null | undefined;
|
|
51
55
|
comments?: string | null | undefined;
|
|
@@ -61,6 +65,7 @@ export const PromptHistory$outboundSchema: z.ZodType<
|
|
|
61
65
|
timestamp: z.date().transform(v => v.toISOString()),
|
|
62
66
|
promptId: z.nullable(z.string()).optional(),
|
|
63
67
|
promptText: z.nullable(z.string()).optional(),
|
|
68
|
+
promptDescription: z.nullable(z.string()).optional(),
|
|
64
69
|
promptName: z.nullable(z.string()).optional(),
|
|
65
70
|
llmConfig: z.nullable(z.string()).optional(),
|
|
66
71
|
comments: z.nullable(z.string()).optional(),
|
|
@@ -69,6 +74,7 @@ export const PromptHistory$outboundSchema: z.ZodType<
|
|
|
69
74
|
return remap$(v, {
|
|
70
75
|
promptId: "prompt_id",
|
|
71
76
|
promptText: "prompt_text",
|
|
77
|
+
promptDescription: "prompt_description",
|
|
72
78
|
promptName: "prompt_name",
|
|
73
79
|
llmConfig: "llm_config",
|
|
74
80
|
userEmail: "user_email",
|
|
@@ -8,9 +8,11 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
8
8
|
export const PromptProperties = {
|
|
9
9
|
Id: "id",
|
|
10
10
|
Name: "name",
|
|
11
|
+
Description: "description",
|
|
11
12
|
Context: "context",
|
|
12
13
|
Tools: "tools",
|
|
13
14
|
LlmConfig: "llm_config",
|
|
15
|
+
LastUpdated: "last_updated",
|
|
14
16
|
LastUpdatedBy: "last_updated_by",
|
|
15
17
|
} as const;
|
|
16
18
|
export type PromptProperties = ClosedEnum<typeof PromptProperties>;
|