syllable-sdk 0.1.0-alpha.5 → 0.1.0-alpha.6
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 +18 -2
- package/docs/sdks/prompts/README.md +78 -0
- package/docs/sdks/services/README.md +245 -0
- package/docs/sdks/syllablesdk/README.md +3 -2
- package/docs/sdks/tools/README.md +163 -1
- package/docs/sdks/transcript/README.md +2 -0
- package/funcs/promptsPromptsHistory.d.ts +17 -0
- package/funcs/promptsPromptsHistory.d.ts.map +1 -0
- package/funcs/promptsPromptsHistory.js +106 -0
- package/funcs/promptsPromptsHistory.js.map +1 -0
- package/funcs/servicesCreate.d.ts +13 -0
- package/funcs/servicesCreate.d.ts.map +1 -0
- package/funcs/servicesCreate.js +96 -0
- package/funcs/servicesCreate.js.map +1 -0
- package/funcs/servicesList.d.ts +17 -0
- package/funcs/servicesList.d.ts.map +1 -0
- package/funcs/servicesList.js +111 -0
- package/funcs/servicesList.js.map +1 -0
- package/funcs/servicesUpdate.d.ts +13 -0
- package/funcs/servicesUpdate.d.ts.map +1 -0
- package/funcs/servicesUpdate.js +96 -0
- package/funcs/servicesUpdate.js.map +1 -0
- package/funcs/toolsCreate.d.ts +16 -0
- package/funcs/toolsCreate.d.ts.map +1 -0
- package/funcs/toolsCreate.js +99 -0
- package/funcs/toolsCreate.js.map +1 -0
- package/funcs/toolsList.d.ts +1 -1
- package/funcs/toolsList.js +1 -1
- package/funcs/toolsUpdate.d.ts +16 -0
- package/funcs/toolsUpdate.d.ts.map +1 -0
- package/funcs/toolsUpdate.js +99 -0
- package/funcs/toolsUpdate.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/channel.d.ts +3 -0
- package/models/components/channel.d.ts.map +1 -1
- package/models/components/channel.js.map +1 -1
- package/models/components/index.d.ts +8 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -2
- package/models/components/index.js.map +1 -1
- package/models/components/listresponseservice.d.ts +38 -0
- package/models/components/listresponseservice.d.ts.map +1 -0
- package/models/components/listresponseservice.js +81 -0
- package/models/components/listresponseservice.js.map +1 -0
- package/models/components/llmconfig.d.ts +34 -3
- package/models/components/llmconfig.d.ts.map +1 -1
- package/models/components/llmconfig.js +26 -4
- package/models/components/llmconfig.js.map +1 -1
- package/models/components/prompt.d.ts +13 -0
- package/models/components/prompt.d.ts.map +1 -1
- package/models/components/prompt.js +8 -0
- package/models/components/prompt.js.map +1 -1
- package/models/components/promptcreate.d.ts +3 -0
- package/models/components/promptcreate.d.ts.map +1 -1
- package/models/components/promptcreate.js.map +1 -1
- package/models/components/prompthistory.d.ts +41 -0
- package/models/components/prompthistory.d.ts.map +1 -0
- package/models/components/prompthistory.js +88 -0
- package/models/components/prompthistory.js.map +1 -0
- package/models/components/promptproperties.d.ts +3 -0
- package/models/components/promptproperties.d.ts.map +1 -1
- package/models/components/promptproperties.js +1 -0
- package/models/components/promptproperties.js.map +1 -1
- package/models/components/service.d.ts +47 -0
- package/models/components/service.d.ts.map +1 -0
- package/models/components/{provider.js → service.js} +30 -19
- package/models/components/service.js.map +1 -0
- package/models/components/servicecreate.d.ts +37 -0
- package/models/components/servicecreate.d.ts.map +1 -0
- package/models/components/servicecreate.js +61 -0
- package/models/components/servicecreate.js.map +1 -0
- package/models/components/serviceproperties.d.ts +28 -0
- package/models/components/serviceproperties.d.ts.map +1 -0
- package/models/components/{orderbydirection.js → serviceproperties.js} +14 -14
- package/models/components/serviceproperties.js.map +1 -0
- package/models/components/serviceupdate.d.ts +42 -0
- package/models/components/serviceupdate.d.ts.map +1 -0
- package/models/components/serviceupdate.js +63 -0
- package/models/components/serviceupdate.js.map +1 -0
- package/models/components/toolcreate.d.ts +66 -0
- package/models/components/toolcreate.d.ts.map +1 -0
- package/models/components/toolcreate.js +95 -0
- package/models/components/toolcreate.js.map +1 -0
- package/models/components/toolupdate.d.ts +71 -0
- package/models/components/toolupdate.d.ts.map +1 -0
- package/models/components/toolupdate.js +97 -0
- package/models/components/toolupdate.js.map +1 -0
- package/models/operations/agentlist.d.ts +77 -2
- package/models/operations/agentlist.d.ts.map +1 -1
- package/models/operations/agentlist.js +52 -5
- package/models/operations/agentlist.js.map +1 -1
- package/models/operations/availabletargets.d.ts +56 -2
- package/models/operations/availabletargets.d.ts.map +1 -1
- package/models/operations/availabletargets.js +47 -5
- package/models/operations/availabletargets.js.map +1 -1
- package/models/operations/channelslist.d.ts +59 -2
- package/models/operations/channelslist.d.ts.map +1 -1
- package/models/operations/channelslist.js +45 -5
- package/models/operations/channelslist.js.map +1 -1
- package/models/operations/channeltargetslist.d.ts +71 -2
- package/models/operations/channeltargetslist.d.ts.map +1 -1
- package/models/operations/channeltargetslist.js +52 -5
- package/models/operations/channeltargetslist.js.map +1 -1
- package/models/operations/conversationslist.d.ts +77 -2
- package/models/operations/conversationslist.d.ts.map +1 -1
- package/models/operations/conversationslist.js +54 -5
- package/models/operations/conversationslist.js.map +1 -1
- package/models/operations/custommessageslist.d.ts +56 -2
- package/models/operations/custommessageslist.d.ts.map +1 -1
- package/models/operations/custommessageslist.js +47 -5
- package/models/operations/custommessageslist.js.map +1 -1
- package/models/operations/eventslist.d.ts +77 -2
- package/models/operations/eventslist.d.ts.map +1 -1
- package/models/operations/eventslist.js +53 -5
- package/models/operations/eventslist.js.map +1 -1
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/promptshistory.d.ts +29 -0
- package/models/operations/promptshistory.d.ts.map +1 -0
- package/models/operations/promptshistory.js +68 -0
- package/models/operations/promptshistory.js.map +1 -0
- package/models/operations/promptslist.d.ts +65 -2
- package/models/operations/promptslist.d.ts.map +1 -1
- package/models/operations/promptslist.js +49 -5
- package/models/operations/promptslist.js.map +1 -1
- package/models/operations/servicelist.d.ts +97 -0
- package/models/operations/servicelist.d.ts.map +1 -0
- package/models/operations/servicelist.js +137 -0
- package/models/operations/servicelist.js.map +1 -0
- package/models/operations/sessionlabelslist.d.ts +68 -2
- package/models/operations/sessionlabelslist.d.ts.map +1 -1
- package/models/operations/sessionlabelslist.js +51 -5
- package/models/operations/sessionlabelslist.js.map +1 -1
- package/models/operations/sessionslist.d.ts +95 -2
- package/models/operations/sessionslist.d.ts.map +1 -1
- package/models/operations/sessionslist.js +59 -5
- package/models/operations/sessionslist.js.map +1 -1
- package/models/operations/toollist.d.ts +62 -2
- package/models/operations/toollist.d.ts.map +1 -1
- package/models/operations/toollist.js +48 -5
- package/models/operations/toollist.js.map +1 -1
- package/package.json +1 -1
- package/sdk/prompts.d.ts +7 -0
- package/sdk/prompts.d.ts.map +1 -1
- package/sdk/prompts.js +10 -0
- package/sdk/prompts.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +5 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/services.d.ts +21 -0
- package/sdk/services.d.ts.map +1 -0
- package/sdk/services.js +36 -0
- package/sdk/services.js.map +1 -0
- package/sdk/tools.d.ts +15 -1
- package/sdk/tools.d.ts.map +1 -1
- package/sdk/tools.js +21 -1
- package/sdk/tools.js.map +1 -1
- package/src/funcs/promptsPromptsHistory.ts +139 -0
- package/src/funcs/servicesCreate.ts +128 -0
- package/src/funcs/servicesList.ts +144 -0
- package/src/funcs/servicesUpdate.ts +128 -0
- package/src/funcs/toolsCreate.ts +131 -0
- package/src/funcs/toolsList.ts +1 -1
- package/src/funcs/toolsUpdate.ts +131 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/channel.ts +3 -0
- package/src/models/components/index.ts +8 -2
- package/src/models/components/listresponseservice.ts +101 -0
- package/src/models/components/llmconfig.ts +36 -9
- package/src/models/components/prompt.ts +21 -0
- package/src/models/components/promptcreate.ts +3 -0
- package/src/models/components/prompthistory.ts +103 -0
- package/src/models/components/promptproperties.ts +1 -0
- package/src/models/components/service.ts +83 -0
- package/src/models/components/servicecreate.ts +72 -0
- package/src/models/components/serviceproperties.ts +33 -0
- package/src/models/components/serviceupdate.ts +79 -0
- package/src/models/components/toolcreate.ts +141 -0
- package/src/models/components/toolupdate.ts +148 -0
- package/src/models/operations/agentlist.ts +67 -6
- package/src/models/operations/availabletargets.ts +71 -6
- package/src/models/operations/channelslist.ts +65 -6
- package/src/models/operations/channeltargetslist.ts +77 -6
- package/src/models/operations/conversationslist.ts +78 -6
- package/src/models/operations/custommessageslist.ts +72 -6
- package/src/models/operations/eventslist.ts +78 -6
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/promptshistory.ts +75 -0
- package/src/models/operations/promptslist.ts +74 -6
- package/src/models/operations/servicelist.ts +184 -0
- package/src/models/operations/sessionlabelslist.ts +75 -6
- package/src/models/operations/sessionslist.ts +84 -6
- package/src/models/operations/toollist.ts +71 -6
- package/src/sdk/prompts.ts +18 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/services.ts +58 -0
- package/src/sdk/tools.ts +37 -1
- package/models/components/orderbydirection.d.ts +0 -28
- package/models/components/orderbydirection.d.ts.map +0 -1
- package/models/components/orderbydirection.js.map +0 -1
- package/models/components/provider.d.ts +0 -34
- package/models/components/provider.d.ts.map +0 -1
- package/models/components/provider.js.map +0 -1
- package/src/models/components/orderbydirection.ts +0 -33
- package/src/models/components/provider.ts +0 -37
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptcreate.d.ts","sourceRoot":"","sources":["../../src/models/components/promptcreate.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,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,E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,GAAG,qBAAqB,CAAC;CAC9C;AAED,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptcreate.js","sourceRoot":"","sources":["../../src/models/components/promptcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"promptcreate.js","sourceRoot":"","sources":["../../src/models/components/promptcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FH,gDAEC;AAED,oDAQC;AAvGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,iDAKwB;AAyBxB,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,UAAU,EAAE,sCAAuB;CACpC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,SAAS,EAAE,uCAAwB;CACpC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC5B,4DAA4D;IAC/C,2BAAa,GAAG,kCAA0B,CAAC;IACxD,6DAA6D;IAChD,4BAAc,GAAG,mCAA2B,CAAC;AAG5D,CAAC,EAPgB,aAAa,6BAAb,aAAa,QAO7B;AAED,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type PromptHistory = {
|
|
5
|
+
timestamp: Date;
|
|
6
|
+
promptId?: string | null | undefined;
|
|
7
|
+
promptText?: string | null | undefined;
|
|
8
|
+
promptName?: string | null | undefined;
|
|
9
|
+
llmConfig?: string | null | undefined;
|
|
10
|
+
comments?: string | null | undefined;
|
|
11
|
+
userEmail?: string | null | undefined;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const PromptHistory$inboundSchema: z.ZodType<PromptHistory, z.ZodTypeDef, unknown>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type PromptHistory$Outbound = {
|
|
17
|
+
timestamp: string;
|
|
18
|
+
prompt_id?: string | null | undefined;
|
|
19
|
+
prompt_text?: string | null | undefined;
|
|
20
|
+
prompt_name?: string | null | undefined;
|
|
21
|
+
llm_config?: string | null | undefined;
|
|
22
|
+
comments?: string | null | undefined;
|
|
23
|
+
user_email?: string | null | undefined;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const PromptHistory$outboundSchema: z.ZodType<PromptHistory$Outbound, z.ZodTypeDef, PromptHistory>;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
+
*/
|
|
31
|
+
export declare namespace PromptHistory$ {
|
|
32
|
+
/** @deprecated use `PromptHistory$inboundSchema` instead. */
|
|
33
|
+
const inboundSchema: z.ZodType<PromptHistory, z.ZodTypeDef, unknown>;
|
|
34
|
+
/** @deprecated use `PromptHistory$outboundSchema` instead. */
|
|
35
|
+
const outboundSchema: z.ZodType<PromptHistory$Outbound, z.ZodTypeDef, PromptHistory>;
|
|
36
|
+
/** @deprecated use `PromptHistory$Outbound` instead. */
|
|
37
|
+
type Outbound = PromptHistory$Outbound;
|
|
38
|
+
}
|
|
39
|
+
export declare function promptHistoryToJSON(promptHistory: PromptHistory): string;
|
|
40
|
+
export declare function promptHistoryFromJSON(jsonString: string): SafeParseResult<PromptHistory, SDKValidationError>;
|
|
41
|
+
//# sourceMappingURL=prompthistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompthistory.d.ts","sourceRoot":"","sources":["../../src/models/components/prompthist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B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAiBb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.PromptHistory$ = exports.PromptHistory$outboundSchema = exports.PromptHistory$inboundSchema = void 0;
|
|
30
|
+
exports.promptHistoryToJSON = promptHistoryToJSON;
|
|
31
|
+
exports.promptHistoryFromJSON = promptHistoryFromJSON;
|
|
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
|
+
/** @internal */
|
|
36
|
+
exports.PromptHistory$inboundSchema = z.object({
|
|
37
|
+
timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
38
|
+
prompt_id: z.nullable(z.string()).optional(),
|
|
39
|
+
prompt_text: z.nullable(z.string()).optional(),
|
|
40
|
+
prompt_name: z.nullable(z.string()).optional(),
|
|
41
|
+
llm_config: z.nullable(z.string()).optional(),
|
|
42
|
+
comments: z.nullable(z.string()).optional(),
|
|
43
|
+
user_email: z.nullable(z.string()).optional(),
|
|
44
|
+
}).transform((v) => {
|
|
45
|
+
return (0, primitives_js_1.remap)(v, {
|
|
46
|
+
"prompt_id": "promptId",
|
|
47
|
+
"prompt_text": "promptText",
|
|
48
|
+
"prompt_name": "promptName",
|
|
49
|
+
"llm_config": "llmConfig",
|
|
50
|
+
"user_email": "userEmail",
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.PromptHistory$outboundSchema = z.object({
|
|
55
|
+
timestamp: z.date().transform(v => v.toISOString()),
|
|
56
|
+
promptId: z.nullable(z.string()).optional(),
|
|
57
|
+
promptText: z.nullable(z.string()).optional(),
|
|
58
|
+
promptName: z.nullable(z.string()).optional(),
|
|
59
|
+
llmConfig: z.nullable(z.string()).optional(),
|
|
60
|
+
comments: z.nullable(z.string()).optional(),
|
|
61
|
+
userEmail: z.nullable(z.string()).optional(),
|
|
62
|
+
}).transform((v) => {
|
|
63
|
+
return (0, primitives_js_1.remap)(v, {
|
|
64
|
+
promptId: "prompt_id",
|
|
65
|
+
promptText: "prompt_text",
|
|
66
|
+
promptName: "prompt_name",
|
|
67
|
+
llmConfig: "llm_config",
|
|
68
|
+
userEmail: "user_email",
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
+
*/
|
|
75
|
+
var PromptHistory$;
|
|
76
|
+
(function (PromptHistory$) {
|
|
77
|
+
/** @deprecated use `PromptHistory$inboundSchema` instead. */
|
|
78
|
+
PromptHistory$.inboundSchema = exports.PromptHistory$inboundSchema;
|
|
79
|
+
/** @deprecated use `PromptHistory$outboundSchema` instead. */
|
|
80
|
+
PromptHistory$.outboundSchema = exports.PromptHistory$outboundSchema;
|
|
81
|
+
})(PromptHistory$ || (exports.PromptHistory$ = PromptHistory$ = {}));
|
|
82
|
+
function promptHistoryToJSON(promptHistory) {
|
|
83
|
+
return JSON.stringify(exports.PromptHistory$outboundSchema.parse(promptHistory));
|
|
84
|
+
}
|
|
85
|
+
function promptHistoryFromJSON(jsonString) {
|
|
86
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PromptHistory$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PromptHistory' from JSON`);
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=prompthistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompthistory.js","sourceRoot":"","sources":["../../src/models/components/prompthistory.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFH,kDAEC;AAED,sDAQC;AAlGD,u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,CACnC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
|
@@ -6,6 +6,7 @@ export declare const PromptProperties: {
|
|
|
6
6
|
readonly Context: "context";
|
|
7
7
|
readonly Tools: "tools";
|
|
8
8
|
readonly LlmConfig: "llm_config";
|
|
9
|
+
readonly LastUpdatedBy: "last_updated_by";
|
|
9
10
|
};
|
|
10
11
|
export type PromptProperties = ClosedEnum<typeof PromptProperties>;
|
|
11
12
|
/** @internal */
|
|
@@ -24,6 +25,7 @@ export declare namespace PromptProperties$ {
|
|
|
24
25
|
readonly Context: "context";
|
|
25
26
|
readonly Tools: "tools";
|
|
26
27
|
readonly LlmConfig: "llm_config";
|
|
28
|
+
readonly LastUpdatedBy: "last_updated_by";
|
|
27
29
|
}>;
|
|
28
30
|
/** @deprecated use `PromptProperties$outboundSchema` instead. */
|
|
29
31
|
const outboundSchema: z.ZodNativeEnum<{
|
|
@@ -32,6 +34,7 @@ export declare namespace PromptProperties$ {
|
|
|
32
34
|
readonly Context: "context";
|
|
33
35
|
readonly Tools: "tools";
|
|
34
36
|
readonly LlmConfig: "llm_config";
|
|
37
|
+
readonly LastUpdatedBy: "last_updated_by";
|
|
35
38
|
}>;
|
|
36
39
|
}
|
|
37
40
|
//# sourceMappingURL=promptproperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/promptproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"promptproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/promptproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,gBAAgB;;;;;;;CAOnB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa;;;;;;;MAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc;;;;;;;MAAkC,CAAC;CAC/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptproperties.js","sourceRoot":"","sources":["../../src/models/components/promptproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,gBAAgB,GAAG;IAC9B,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,YAAY;
|
|
1
|
+
{"version":3,"file":"promptproperties.js","sourceRoot":"","sources":["../../src/models/components/promptproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,gBAAgB,GAAG;IAC9B,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,YAAY;IACvB,aAAa,EAAE,iBAAiB;CACxB,CAAC;AAGX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC;AAEnC;;;GAGG;AACH,IAAiB,iBAAiB,CAKjC;AALD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAChE,CAAC,EALgB,iBAAiB,iCAAjB,iBAAiB,QAKjC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type Service = {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the service
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The description of the service
|
|
11
|
+
*/
|
|
12
|
+
description: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ID of the service
|
|
15
|
+
*/
|
|
16
|
+
id: number;
|
|
17
|
+
/**
|
|
18
|
+
* The tools of the service
|
|
19
|
+
*/
|
|
20
|
+
tools: Array<string>;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const Service$inboundSchema: z.ZodType<Service, z.ZodTypeDef, unknown>;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type Service$Outbound = {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
id: number;
|
|
29
|
+
tools: Array<string>;
|
|
30
|
+
};
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const Service$outboundSchema: z.ZodType<Service$Outbound, z.ZodTypeDef, Service>;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
36
|
+
*/
|
|
37
|
+
export declare namespace Service$ {
|
|
38
|
+
/** @deprecated use `Service$inboundSchema` instead. */
|
|
39
|
+
const inboundSchema: z.ZodType<Service, z.ZodTypeDef, unknown>;
|
|
40
|
+
/** @deprecated use `Service$outboundSchema` instead. */
|
|
41
|
+
const outboundSchema: z.ZodType<Service$Outbound, z.ZodTypeDef, Service>;
|
|
42
|
+
/** @deprecated use `Service$Outbound` instead. */
|
|
43
|
+
type Outbound = Service$Outbound;
|
|
44
|
+
}
|
|
45
|
+
export declare function serviceToJSON(service: Service): string;
|
|
46
|
+
export declare function serviceFromJSON(jsonString: string): SafeParseResult<Service, SDKValidationError>;
|
|
47
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/models/components/service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAMxE,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH;;;GAGG;AACH,yBAAiB,QAAQ,CAAC;IACxB,uDAAuD;IAChD,MAAM,aAAa,2CAAwB,CAAC;IACnD,wDAAwD;IACjD,MAAM,cAAc,oDAAyB,CAAC;IACrD,kDAAkD;IAClD,KAAY,QAAQ,GAAG,gBAAgB,CAAC;CACzC;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEtD;AAED,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C"}
|
|
@@ -26,29 +26,40 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.Service$ = exports.Service$outboundSchema = exports.Service$inboundSchema = void 0;
|
|
30
|
+
exports.serviceToJSON = serviceToJSON;
|
|
31
|
+
exports.serviceFromJSON = serviceFromJSON;
|
|
30
32
|
const z = __importStar(require("zod"));
|
|
31
|
-
|
|
32
|
-
* LLM API provider.
|
|
33
|
-
*/
|
|
34
|
-
exports.Provider = {
|
|
35
|
-
AzureOpenai: "azure_openai",
|
|
36
|
-
Openai: "openai",
|
|
37
|
-
};
|
|
33
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
38
34
|
/** @internal */
|
|
39
|
-
exports.
|
|
40
|
-
.
|
|
35
|
+
exports.Service$inboundSchema = z.object({
|
|
36
|
+
name: z.string(),
|
|
37
|
+
description: z.string(),
|
|
38
|
+
id: z.number().int(),
|
|
39
|
+
tools: z.array(z.string()),
|
|
40
|
+
});
|
|
41
41
|
/** @internal */
|
|
42
|
-
exports.
|
|
42
|
+
exports.Service$outboundSchema = z.object({
|
|
43
|
+
name: z.string(),
|
|
44
|
+
description: z.string(),
|
|
45
|
+
id: z.number().int(),
|
|
46
|
+
tools: z.array(z.string()),
|
|
47
|
+
});
|
|
43
48
|
/**
|
|
44
49
|
* @internal
|
|
45
50
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
51
|
*/
|
|
47
|
-
var
|
|
48
|
-
(function (
|
|
49
|
-
/** @deprecated use `
|
|
50
|
-
|
|
51
|
-
/** @deprecated use `
|
|
52
|
-
|
|
53
|
-
})(
|
|
54
|
-
|
|
52
|
+
var Service$;
|
|
53
|
+
(function (Service$) {
|
|
54
|
+
/** @deprecated use `Service$inboundSchema` instead. */
|
|
55
|
+
Service$.inboundSchema = exports.Service$inboundSchema;
|
|
56
|
+
/** @deprecated use `Service$outboundSchema` instead. */
|
|
57
|
+
Service$.outboundSchema = exports.Service$outboundSchema;
|
|
58
|
+
})(Service$ || (exports.Service$ = Service$ = {}));
|
|
59
|
+
function serviceToJSON(service) {
|
|
60
|
+
return JSON.stringify(exports.Service$outboundSchema.parse(service));
|
|
61
|
+
}
|
|
62
|
+
function serviceFromJSON(jsonString) {
|
|
63
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Service$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Service' from JSON`);
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/models/components/service.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,sCAEC;AAED,0CAQC;AA9ED,uCAAyB;AACzB,qDAAiD;AAuBjD,gBAAgB;AACH,QAAA,qBAAqB,GAChC,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3B,CAAC,CAAC;AAUL,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3B,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACvB,uDAAuD;IAC1C,sBAAa,GAAG,6BAAqB,CAAC;IACnD,wDAAwD;IAC3C,uBAAc,GAAG,8BAAsB,CAAC;AAGvD,CAAC,EAPgB,QAAQ,wBAAR,QAAQ,QAOxB;AAED,SAAgB,aAAa,CAAC,OAAgB;IAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,8BAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,eAAe,CAC7B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type ServiceCreate = {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the service
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The description of the service
|
|
11
|
+
*/
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const ServiceCreate$inboundSchema: z.ZodType<ServiceCreate, z.ZodTypeDef, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type ServiceCreate$Outbound = {
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const ServiceCreate$outboundSchema: z.ZodType<ServiceCreate$Outbound, z.ZodTypeDef, ServiceCreate>;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
26
|
+
*/
|
|
27
|
+
export declare namespace ServiceCreate$ {
|
|
28
|
+
/** @deprecated use `ServiceCreate$inboundSchema` instead. */
|
|
29
|
+
const inboundSchema: z.ZodType<ServiceCreate, z.ZodTypeDef, unknown>;
|
|
30
|
+
/** @deprecated use `ServiceCreate$outboundSchema` instead. */
|
|
31
|
+
const outboundSchema: z.ZodType<ServiceCreate$Outbound, z.ZodTypeDef, ServiceCreate>;
|
|
32
|
+
/** @deprecated use `ServiceCreate$Outbound` instead. */
|
|
33
|
+
type Outbound = ServiceCreate$Outbound;
|
|
34
|
+
}
|
|
35
|
+
export declare function serviceCreateToJSON(serviceCreate: ServiceCreate): string;
|
|
36
|
+
export declare function serviceCreateFromJSON(jsonString: string): SafeParseResult<ServiceCreate, SDKValidationError>;
|
|
37
|
+
//# sourceMappingURL=servicecreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"servicecreate.d.ts","sourceRoot":"","sources":["../../src/models/components/servicecreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAIb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.ServiceCreate$ = exports.ServiceCreate$outboundSchema = exports.ServiceCreate$inboundSchema = void 0;
|
|
30
|
+
exports.serviceCreateToJSON = serviceCreateToJSON;
|
|
31
|
+
exports.serviceCreateFromJSON = serviceCreateFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
34
|
+
/** @internal */
|
|
35
|
+
exports.ServiceCreate$inboundSchema = z.object({
|
|
36
|
+
name: z.string(),
|
|
37
|
+
description: z.string(),
|
|
38
|
+
});
|
|
39
|
+
/** @internal */
|
|
40
|
+
exports.ServiceCreate$outboundSchema = z.object({
|
|
41
|
+
name: z.string(),
|
|
42
|
+
description: z.string(),
|
|
43
|
+
});
|
|
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 ServiceCreate$;
|
|
49
|
+
(function (ServiceCreate$) {
|
|
50
|
+
/** @deprecated use `ServiceCreate$inboundSchema` instead. */
|
|
51
|
+
ServiceCreate$.inboundSchema = exports.ServiceCreate$inboundSchema;
|
|
52
|
+
/** @deprecated use `ServiceCreate$outboundSchema` instead. */
|
|
53
|
+
ServiceCreate$.outboundSchema = exports.ServiceCreate$outboundSchema;
|
|
54
|
+
})(ServiceCreate$ || (exports.ServiceCreate$ = ServiceCreate$ = {}));
|
|
55
|
+
function serviceCreateToJSON(serviceCreate) {
|
|
56
|
+
return JSON.stringify(exports.ServiceCreate$outboundSchema.parse(serviceCreate));
|
|
57
|
+
}
|
|
58
|
+
function serviceCreateFromJSON(jsonString) {
|
|
59
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ServiceCreate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ServiceCreate' from JSON`);
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=servicecreate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"servicecreate.js","sourceRoot":"","sources":["../../src/models/components/servicecreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDH,kDAEC;AAED,sDAQC;AAnED,uCAAyB;AACzB,qDAAiD;AAejD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,cAAc,CAO9B;AAPD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAG7D,CAAC,EAPgB,cAAc,8BAAd,cAAc,QAO9B;AAED,SAAgB,mBAAmB,CAAC,aAA4B;IAC9D,OAAO,IAAI,CAAC,SAAS,CAAC,oCAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAC3E,CAAC;AAED,SAAgB,qBAAqB,CACnC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const ServiceProperties: {
|
|
4
|
+
readonly Id: "id";
|
|
5
|
+
readonly Name: "name";
|
|
6
|
+
};
|
|
7
|
+
export type ServiceProperties = ClosedEnum<typeof ServiceProperties>;
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const ServiceProperties$inboundSchema: z.ZodNativeEnum<typeof ServiceProperties>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const ServiceProperties$outboundSchema: z.ZodNativeEnum<typeof ServiceProperties>;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
15
|
+
*/
|
|
16
|
+
export declare namespace ServiceProperties$ {
|
|
17
|
+
/** @deprecated use `ServiceProperties$inboundSchema` instead. */
|
|
18
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
19
|
+
readonly Id: "id";
|
|
20
|
+
readonly Name: "name";
|
|
21
|
+
}>;
|
|
22
|
+
/** @deprecated use `ServiceProperties$outboundSchema` instead. */
|
|
23
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
24
|
+
readonly Id: "id";
|
|
25
|
+
readonly Name: "name";
|
|
26
|
+
}>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=serviceproperties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/serviceproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC;AAEpC;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa;;;MAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc;;;MAAmC,CAAC;CAChE"}
|
|
@@ -26,25 +26,25 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ServiceProperties$ = exports.ServiceProperties$outboundSchema = exports.ServiceProperties$inboundSchema = exports.ServiceProperties = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
exports.ServiceProperties = {
|
|
32
|
+
Id: "id",
|
|
33
|
+
Name: "name",
|
|
34
34
|
};
|
|
35
35
|
/** @internal */
|
|
36
|
-
exports.
|
|
36
|
+
exports.ServiceProperties$inboundSchema = z.nativeEnum(exports.ServiceProperties);
|
|
37
37
|
/** @internal */
|
|
38
|
-
exports.
|
|
38
|
+
exports.ServiceProperties$outboundSchema = exports.ServiceProperties$inboundSchema;
|
|
39
39
|
/**
|
|
40
40
|
* @internal
|
|
41
41
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
42
|
*/
|
|
43
|
-
var
|
|
44
|
-
(function (
|
|
45
|
-
/** @deprecated use `
|
|
46
|
-
|
|
47
|
-
/** @deprecated use `
|
|
48
|
-
|
|
49
|
-
})(
|
|
50
|
-
//# sourceMappingURL=
|
|
43
|
+
var ServiceProperties$;
|
|
44
|
+
(function (ServiceProperties$) {
|
|
45
|
+
/** @deprecated use `ServiceProperties$inboundSchema` instead. */
|
|
46
|
+
ServiceProperties$.inboundSchema = exports.ServiceProperties$inboundSchema;
|
|
47
|
+
/** @deprecated use `ServiceProperties$outboundSchema` instead. */
|
|
48
|
+
ServiceProperties$.outboundSchema = exports.ServiceProperties$outboundSchema;
|
|
49
|
+
})(ServiceProperties$ || (exports.ServiceProperties$ = ServiceProperties$ = {}));
|
|
50
|
+
//# sourceMappingURL=serviceproperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceproperties.js","sourceRoot":"","sources":["../../src/models/components/serviceproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,iBAAiB,GAAG;IAC/B,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AAEpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC;AAEpC;;;GAGG;AACH,IAAiB,kBAAkB,CAKlC;AALD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AACjE,CAAC,EALgB,kBAAkB,kCAAlB,kBAAkB,QAKlC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type ServiceUpdate = {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the service
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The description of the service
|
|
11
|
+
*/
|
|
12
|
+
description: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ID of the service
|
|
15
|
+
*/
|
|
16
|
+
id: number;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const ServiceUpdate$inboundSchema: z.ZodType<ServiceUpdate, z.ZodTypeDef, unknown>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type ServiceUpdate$Outbound = {
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
id: number;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const ServiceUpdate$outboundSchema: z.ZodType<ServiceUpdate$Outbound, z.ZodTypeDef, ServiceUpdate>;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
+
*/
|
|
32
|
+
export declare namespace ServiceUpdate$ {
|
|
33
|
+
/** @deprecated use `ServiceUpdate$inboundSchema` instead. */
|
|
34
|
+
const inboundSchema: z.ZodType<ServiceUpdate, z.ZodTypeDef, unknown>;
|
|
35
|
+
/** @deprecated use `ServiceUpdate$outboundSchema` instead. */
|
|
36
|
+
const outboundSchema: z.ZodType<ServiceUpdate$Outbound, z.ZodTypeDef, ServiceUpdate>;
|
|
37
|
+
/** @deprecated use `ServiceUpdate$Outbound` instead. */
|
|
38
|
+
type Outbound = ServiceUpdate$Outbound;
|
|
39
|
+
}
|
|
40
|
+
export declare function serviceUpdateToJSON(serviceUpdate: ServiceUpdate): string;
|
|
41
|
+
export declare function serviceUpdateFromJSON(jsonString: string): SafeParseResult<ServiceUpdate, SDKValidationError>;
|
|
42
|
+
//# sourceMappingURL=serviceupdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/serviceupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAKb,CAAC;AAEH;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|