syllable-sdk 0.1.0-alpha.16 → 0.1.0-alpha.18
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/docs/sdks/custommessages/README.md +6 -6
- package/funcs/customMessagesCreate.d.ts +1 -1
- package/funcs/customMessagesCreate.d.ts.map +1 -1
- package/funcs/customMessagesCreate.js +2 -2
- package/funcs/customMessagesCreate.js.map +1 -1
- package/funcs/customMessagesGetById.d.ts +1 -1
- package/funcs/customMessagesGetById.d.ts.map +1 -1
- package/funcs/customMessagesGetById.js +1 -1
- package/funcs/customMessagesGetById.js.map +1 -1
- package/funcs/customMessagesList.d.ts +1 -1
- package/funcs/customMessagesList.d.ts.map +1 -1
- package/funcs/customMessagesList.js +1 -1
- package/funcs/customMessagesList.js.map +1 -1
- package/funcs/customMessagesUpdate.d.ts +1 -1
- package/funcs/customMessagesUpdate.d.ts.map +1 -1
- package/funcs/customMessagesUpdate.js +2 -2
- package/funcs/customMessagesUpdate.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/agentresponse.d.ts +3 -3
- package/models/components/agentresponse.d.ts.map +1 -1
- package/models/components/agentresponse.js +3 -3
- package/models/components/agentresponse.js.map +1 -1
- package/models/components/channel.d.ts +0 -3
- package/models/components/channel.d.ts.map +1 -1
- package/models/components/channel.js.map +1 -1
- package/models/components/custommessage.d.ts +3 -5
- package/models/components/custommessage.d.ts.map +1 -1
- package/models/components/custommessage.js +0 -2
- package/models/components/custommessage.js.map +1 -1
- package/models/components/custommessagecreaterequest.d.ts +44 -0
- package/models/components/custommessagecreaterequest.d.ts.map +1 -0
- package/models/components/{custommessagecreate.js → custommessagecreaterequest.js} +19 -17
- package/models/components/custommessagecreaterequest.js.map +1 -0
- package/models/components/custommessageproperties.d.ts +6 -0
- package/models/components/custommessageproperties.d.ts.map +1 -1
- package/models/components/custommessageproperties.js +2 -0
- package/models/components/custommessageproperties.js.map +1 -1
- package/models/components/custommessageresponse.d.ts +54 -0
- package/models/components/custommessageresponse.d.ts.map +1 -0
- package/models/components/custommessageresponse.js +78 -0
- package/models/components/custommessageresponse.js.map +1 -0
- package/models/components/custommessageupdaterequest.d.ts +49 -0
- package/models/components/custommessageupdaterequest.d.ts.map +1 -0
- package/models/components/custommessageupdaterequest.js +67 -0
- package/models/components/custommessageupdaterequest.js.map +1 -0
- package/models/components/index.d.ts +5 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -3
- package/models/components/index.js.map +1 -1
- package/models/components/listresponsecustommessageresponse.d.ts +38 -0
- package/models/components/listresponsecustommessageresponse.d.ts.map +1 -0
- package/models/components/{listresponsecustommessage.js → listresponsecustommessageresponse.js} +20 -20
- package/models/components/listresponsecustommessageresponse.js.map +1 -0
- package/models/components/llmconfig.d.ts +3 -34
- package/models/components/llmconfig.d.ts.map +1 -1
- package/models/components/llmconfig.js +4 -26
- package/models/components/llmconfig.js.map +1 -1
- package/models/components/prompt.d.ts +0 -3
- package/models/components/prompt.d.ts.map +1 -1
- package/models/components/prompt.js.map +1 -1
- package/models/components/promptcreate.d.ts +0 -3
- package/models/components/promptcreate.d.ts.map +1 -1
- package/models/components/promptcreate.js.map +1 -1
- package/models/components/promptupdate.d.ts +0 -3
- package/models/components/promptupdate.d.ts.map +1 -1
- package/models/components/promptupdate.js.map +1 -1
- package/models/components/provider.d.ts +34 -0
- package/models/components/provider.d.ts.map +1 -0
- package/models/components/{greeting.js → provider.js} +19 -28
- package/models/components/provider.js.map +1 -0
- package/models/components/target.d.ts +0 -3
- package/models/components/target.d.ts.map +1 -1
- package/models/components/target.js.map +1 -1
- package/package.json +1 -1
- package/sdk/custommessages.d.ts +4 -4
- package/sdk/custommessages.d.ts.map +1 -1
- package/sdk/custommessages.js.map +1 -1
- package/src/funcs/customMessagesCreate.ts +6 -5
- package/src/funcs/customMessagesGetById.ts +3 -3
- package/src/funcs/customMessagesList.ts +3 -3
- package/src/funcs/customMessagesUpdate.ts +6 -5
- package/src/lib/config.ts +3 -3
- package/src/models/components/agentresponse.ts +9 -9
- package/src/models/components/channel.ts +0 -3
- package/src/models/components/custommessage.ts +3 -7
- package/src/models/components/custommessagecreaterequest.ts +87 -0
- package/src/models/components/custommessageproperties.ts +2 -0
- package/src/models/components/custommessageresponse.ts +110 -0
- package/src/models/components/custommessageupdaterequest.ts +94 -0
- package/src/models/components/index.ts +5 -3
- package/src/models/components/listresponsecustommessageresponse.ts +104 -0
- package/src/models/components/llmconfig.ts +9 -36
- package/src/models/components/prompt.ts +0 -3
- package/src/models/components/promptcreate.ts +0 -3
- package/src/models/components/promptupdate.ts +0 -3
- package/src/models/components/provider.ts +37 -0
- package/src/models/components/target.ts +0 -3
- package/src/sdk/custommessages.ts +6 -6
- package/models/components/custommessagecreate.d.ts +0 -39
- package/models/components/custommessagecreate.d.ts.map +0 -1
- package/models/components/custommessagecreate.js.map +0 -1
- package/models/components/greeting.d.ts +0 -42
- package/models/components/greeting.d.ts.map +0 -1
- package/models/components/greeting.js.map +0 -1
- package/models/components/listresponsecustommessage.d.ts +0 -38
- package/models/components/listresponsecustommessage.d.ts.map +0 -1
- package/models/components/listresponsecustommessage.js.map +0 -1
- package/src/models/components/custommessagecreate.ts +0 -80
- package/src/models/components/greeting.ts +0 -79
- package/src/models/components/listresponsecustommessage.ts +0 -101
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custommessagecreaterequest.js","sourceRoot":"","sources":["../../src/models/components/custommessagecreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,4EAMC;AAED,gFAQC;AAlFD,uCAAyB;AACzB,qDAAiD;AAoBjD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -4,6 +4,8 @@ export declare const CustomMessageProperties: {
|
|
|
4
4
|
readonly Id: "id";
|
|
5
5
|
readonly Name: "name";
|
|
6
6
|
readonly Text: "text";
|
|
7
|
+
readonly Label: "label";
|
|
8
|
+
readonly UpdatedAt: "updated_at";
|
|
7
9
|
};
|
|
8
10
|
export type CustomMessageProperties = ClosedEnum<typeof CustomMessageProperties>;
|
|
9
11
|
/** @internal */
|
|
@@ -20,12 +22,16 @@ export declare namespace CustomMessageProperties$ {
|
|
|
20
22
|
readonly Id: "id";
|
|
21
23
|
readonly Name: "name";
|
|
22
24
|
readonly Text: "text";
|
|
25
|
+
readonly Label: "label";
|
|
26
|
+
readonly UpdatedAt: "updated_at";
|
|
23
27
|
}>;
|
|
24
28
|
/** @deprecated use `CustomMessageProperties$outboundSchema` instead. */
|
|
25
29
|
const outboundSchema: z.ZodNativeEnum<{
|
|
26
30
|
readonly Id: "id";
|
|
27
31
|
readonly Name: "name";
|
|
28
32
|
readonly Text: "text";
|
|
33
|
+
readonly Label: "label";
|
|
34
|
+
readonly UpdatedAt: "updated_at";
|
|
29
35
|
}>;
|
|
30
36
|
}
|
|
31
37
|
//# sourceMappingURL=custommessageproperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"custommessageproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,uBAAuB;;;;;;CAM1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,aAAa,CACjE,OAAO,uBAAuB,CACS,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,aAAa,CAClE,OAAO,uBAAuB,CACS,CAAC;AAE1C;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa;;;;;;MAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc;;;;;;MAAyC,CAAC;CACtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageproperties.js","sourceRoot":"","sources":["../../src/models/components/custommessageproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,uBAAuB,GAAG;IACrC,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"custommessageproperties.js","sourceRoot":"","sources":["../../src/models/components/custommessageproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,uBAAuB,GAAG;IACrC,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,YAAY;CACf,CAAC;AAKX,gBAAgB;AACH,QAAA,qCAAqC,GAE9C,CAAC,CAAC,UAAU,CAAC,+BAAuB,CAAC,CAAC;AAE1C,gBAAgB;AACH,QAAA,sCAAsC,GAE/C,6CAAqC,CAAC;AAE1C;;;GAGG;AACH,IAAiB,wBAAwB,CAKxC;AALD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AACvE,CAAC,EALgB,wBAAwB,wCAAxB,wBAAwB,QAKxC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 CustomMessageResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the custom message
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The text of the custom message
|
|
11
|
+
*/
|
|
12
|
+
text: string;
|
|
13
|
+
/**
|
|
14
|
+
* The label of the custom message
|
|
15
|
+
*/
|
|
16
|
+
label?: string | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of the custom message
|
|
19
|
+
*/
|
|
20
|
+
id: number;
|
|
21
|
+
/**
|
|
22
|
+
* Timestamp of the most recent update to the custom message
|
|
23
|
+
*/
|
|
24
|
+
updatedAt: Date;
|
|
25
|
+
type?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const CustomMessageResponse$inboundSchema: z.ZodType<CustomMessageResponse, z.ZodTypeDef, unknown>;
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type CustomMessageResponse$Outbound = {
|
|
31
|
+
name: string;
|
|
32
|
+
text: string;
|
|
33
|
+
label?: string | null | undefined;
|
|
34
|
+
id: number;
|
|
35
|
+
updated_at: string;
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const CustomMessageResponse$outboundSchema: z.ZodType<CustomMessageResponse$Outbound, z.ZodTypeDef, CustomMessageResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
+
*/
|
|
44
|
+
export declare namespace CustomMessageResponse$ {
|
|
45
|
+
/** @deprecated use `CustomMessageResponse$inboundSchema` instead. */
|
|
46
|
+
const inboundSchema: z.ZodType<CustomMessageResponse, z.ZodTypeDef, unknown>;
|
|
47
|
+
/** @deprecated use `CustomMessageResponse$outboundSchema` instead. */
|
|
48
|
+
const outboundSchema: z.ZodType<CustomMessageResponse$Outbound, z.ZodTypeDef, CustomMessageResponse>;
|
|
49
|
+
/** @deprecated use `CustomMessageResponse$Outbound` instead. */
|
|
50
|
+
type Outbound = CustomMessageResponse$Outbound;
|
|
51
|
+
}
|
|
52
|
+
export declare function customMessageResponseToJSON(customMessageResponse: CustomMessageResponse): string;
|
|
53
|
+
export declare function customMessageResponseFromJSON(jsonString: string): SafeParseResult<CustomMessageResponse, SDKValidationError>;
|
|
54
|
+
//# sourceMappingURL=custommessageresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custommessageresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.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;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAYrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;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,78 @@
|
|
|
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.CustomMessageResponse$ = exports.CustomMessageResponse$outboundSchema = exports.CustomMessageResponse$inboundSchema = void 0;
|
|
30
|
+
exports.customMessageResponseToJSON = customMessageResponseToJSON;
|
|
31
|
+
exports.customMessageResponseFromJSON = customMessageResponseFromJSON;
|
|
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.CustomMessageResponse$inboundSchema = z.object({
|
|
37
|
+
name: z.string(),
|
|
38
|
+
text: z.string(),
|
|
39
|
+
label: z.nullable(z.string()).optional(),
|
|
40
|
+
id: z.number().int(),
|
|
41
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
42
|
+
type: z.string().default("greeting"),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return (0, primitives_js_1.remap)(v, {
|
|
45
|
+
"updated_at": "updatedAt",
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.CustomMessageResponse$outboundSchema = z.object({
|
|
50
|
+
name: z.string(),
|
|
51
|
+
text: z.string(),
|
|
52
|
+
label: z.nullable(z.string()).optional(),
|
|
53
|
+
id: z.number().int(),
|
|
54
|
+
updatedAt: z.date().transform(v => v.toISOString()),
|
|
55
|
+
type: z.string().default("greeting"),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return (0, primitives_js_1.remap)(v, {
|
|
58
|
+
updatedAt: "updated_at",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
+
*/
|
|
65
|
+
var CustomMessageResponse$;
|
|
66
|
+
(function (CustomMessageResponse$) {
|
|
67
|
+
/** @deprecated use `CustomMessageResponse$inboundSchema` instead. */
|
|
68
|
+
CustomMessageResponse$.inboundSchema = exports.CustomMessageResponse$inboundSchema;
|
|
69
|
+
/** @deprecated use `CustomMessageResponse$outboundSchema` instead. */
|
|
70
|
+
CustomMessageResponse$.outboundSchema = exports.CustomMessageResponse$outboundSchema;
|
|
71
|
+
})(CustomMessageResponse$ || (exports.CustomMessageResponse$ = CustomMessageResponse$ = {}));
|
|
72
|
+
function customMessageResponseToJSON(customMessageResponse) {
|
|
73
|
+
return JSON.stringify(exports.CustomMessageResponse$outboundSchema.parse(customMessageResponse));
|
|
74
|
+
}
|
|
75
|
+
function customMessageResponseFromJSON(jsonString) {
|
|
76
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CustomMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomMessageResponse' from JSON`);
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=custommessageresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custommessageresponse.js","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FH,kEAMC;AAED,sEAQC;AAzGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA4BjD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC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;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 CustomMessageUpdateRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the custom message
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The text of the custom message
|
|
11
|
+
*/
|
|
12
|
+
text: string;
|
|
13
|
+
/**
|
|
14
|
+
* The label of the custom message
|
|
15
|
+
*/
|
|
16
|
+
label?: string | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of the custom message
|
|
19
|
+
*/
|
|
20
|
+
id: number;
|
|
21
|
+
type?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const CustomMessageUpdateRequest$inboundSchema: z.ZodType<CustomMessageUpdateRequest, z.ZodTypeDef, unknown>;
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type CustomMessageUpdateRequest$Outbound = {
|
|
27
|
+
name: string;
|
|
28
|
+
text: string;
|
|
29
|
+
label?: string | null | undefined;
|
|
30
|
+
id: number;
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const CustomMessageUpdateRequest$outboundSchema: z.ZodType<CustomMessageUpdateRequest$Outbound, z.ZodTypeDef, CustomMessageUpdateRequest>;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
+
*/
|
|
39
|
+
export declare namespace CustomMessageUpdateRequest$ {
|
|
40
|
+
/** @deprecated use `CustomMessageUpdateRequest$inboundSchema` instead. */
|
|
41
|
+
const inboundSchema: z.ZodType<CustomMessageUpdateRequest, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @deprecated use `CustomMessageUpdateRequest$outboundSchema` instead. */
|
|
43
|
+
const outboundSchema: z.ZodType<CustomMessageUpdateRequest$Outbound, z.ZodTypeDef, CustomMessageUpdateRequest>;
|
|
44
|
+
/** @deprecated use `CustomMessageUpdateRequest$Outbound` instead. */
|
|
45
|
+
type Outbound = CustomMessageUpdateRequest$Outbound;
|
|
46
|
+
}
|
|
47
|
+
export declare function customMessageUpdateRequestToJSON(customMessageUpdateRequest: CustomMessageUpdateRequest): string;
|
|
48
|
+
export declare function customMessageUpdateRequestFromJSON(jsonString: string): SafeParseResult<CustomMessageUpdateRequest, SDKValidationError>;
|
|
49
|
+
//# sourceMappingURL=custommessageupdaterequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custommessageupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageupdaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBA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,0 +1,67 @@
|
|
|
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.CustomMessageUpdateRequest$ = exports.CustomMessageUpdateRequest$outboundSchema = exports.CustomMessageUpdateRequest$inboundSchema = void 0;
|
|
30
|
+
exports.customMessageUpdateRequestToJSON = customMessageUpdateRequestToJSON;
|
|
31
|
+
exports.customMessageUpdateRequestFromJSON = customMessageUpdateRequestFromJSON;
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
34
|
+
/** @internal */
|
|
35
|
+
exports.CustomMessageUpdateRequest$inboundSchema = z.object({
|
|
36
|
+
name: z.string(),
|
|
37
|
+
text: z.string(),
|
|
38
|
+
label: z.nullable(z.string()).optional(),
|
|
39
|
+
id: z.number().int(),
|
|
40
|
+
type: z.string().default("greeting"),
|
|
41
|
+
});
|
|
42
|
+
/** @internal */
|
|
43
|
+
exports.CustomMessageUpdateRequest$outboundSchema = z.object({
|
|
44
|
+
name: z.string(),
|
|
45
|
+
text: z.string(),
|
|
46
|
+
label: z.nullable(z.string()).optional(),
|
|
47
|
+
id: z.number().int(),
|
|
48
|
+
type: z.string().default("greeting"),
|
|
49
|
+
});
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
+
*/
|
|
54
|
+
var CustomMessageUpdateRequest$;
|
|
55
|
+
(function (CustomMessageUpdateRequest$) {
|
|
56
|
+
/** @deprecated use `CustomMessageUpdateRequest$inboundSchema` instead. */
|
|
57
|
+
CustomMessageUpdateRequest$.inboundSchema = exports.CustomMessageUpdateRequest$inboundSchema;
|
|
58
|
+
/** @deprecated use `CustomMessageUpdateRequest$outboundSchema` instead. */
|
|
59
|
+
CustomMessageUpdateRequest$.outboundSchema = exports.CustomMessageUpdateRequest$outboundSchema;
|
|
60
|
+
})(CustomMessageUpdateRequest$ || (exports.CustomMessageUpdateRequest$ = CustomMessageUpdateRequest$ = {}));
|
|
61
|
+
function customMessageUpdateRequestToJSON(customMessageUpdateRequest) {
|
|
62
|
+
return JSON.stringify(exports.CustomMessageUpdateRequest$outboundSchema.parse(customMessageUpdateRequest));
|
|
63
|
+
}
|
|
64
|
+
function customMessageUpdateRequestFromJSON(jsonString) {
|
|
65
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CustomMessageUpdateRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomMessageUpdateRequest' from JSON`);
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=custommessageupdaterequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custommessageupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/custommessageupdaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,4EAMC;AAED,gFAQC;AAzFD,uCAAyB;AACzB,qDAAiD;AAwBjD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -19,21 +19,22 @@ export * from "./channeltargetproperties.js";
|
|
|
19
19
|
export * from "./conversation.js";
|
|
20
20
|
export * from "./conversationproperties.js";
|
|
21
21
|
export * from "./custommessage.js";
|
|
22
|
-
export * from "./
|
|
22
|
+
export * from "./custommessagecreaterequest.js";
|
|
23
23
|
export * from "./custommessageproperties.js";
|
|
24
|
+
export * from "./custommessageresponse.js";
|
|
25
|
+
export * from "./custommessageupdaterequest.js";
|
|
24
26
|
export * from "./directoryextension.js";
|
|
25
27
|
export * from "./directorymember.js";
|
|
26
28
|
export * from "./directorymembercreate.js";
|
|
27
29
|
export * from "./directorymemberproperties.js";
|
|
28
30
|
export * from "./event.js";
|
|
29
31
|
export * from "./eventproperties.js";
|
|
30
|
-
export * from "./greeting.js";
|
|
31
32
|
export * from "./listresponseagentresponse.js";
|
|
32
33
|
export * from "./listresponseavailabletarget.js";
|
|
33
34
|
export * from "./listresponsechannel.js";
|
|
34
35
|
export * from "./listresponsechanneltarget.js";
|
|
35
36
|
export * from "./listresponseconversation.js";
|
|
36
|
-
export * from "./
|
|
37
|
+
export * from "./listresponsecustommessageresponse.js";
|
|
37
38
|
export * from "./listresponsedirectorymember.js";
|
|
38
39
|
export * from "./listresponseevent.js";
|
|
39
40
|
export * from "./listresponseprompt.js";
|
|
@@ -48,6 +49,7 @@ export * from "./promptcreate.js";
|
|
|
48
49
|
export * from "./prompthistory.js";
|
|
49
50
|
export * from "./promptproperties.js";
|
|
50
51
|
export * from "./promptupdate.js";
|
|
52
|
+
export * from "./provider.js";
|
|
51
53
|
export * from "./security.js";
|
|
52
54
|
export * from "./service.js";
|
|
53
55
|
export * from "./servicecreate.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cA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AoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mCAAmC,CAAC;AAClD,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC"}
|
|
@@ -38,21 +38,22 @@ __exportStar(require("./channeltargetproperties.js"), exports);
|
|
|
38
38
|
__exportStar(require("./conversation.js"), exports);
|
|
39
39
|
__exportStar(require("./conversationproperties.js"), exports);
|
|
40
40
|
__exportStar(require("./custommessage.js"), exports);
|
|
41
|
-
__exportStar(require("./
|
|
41
|
+
__exportStar(require("./custommessagecreaterequest.js"), exports);
|
|
42
42
|
__exportStar(require("./custommessageproperties.js"), exports);
|
|
43
|
+
__exportStar(require("./custommessageresponse.js"), exports);
|
|
44
|
+
__exportStar(require("./custommessageupdaterequest.js"), exports);
|
|
43
45
|
__exportStar(require("./directoryextension.js"), exports);
|
|
44
46
|
__exportStar(require("./directorymember.js"), exports);
|
|
45
47
|
__exportStar(require("./directorymembercreate.js"), exports);
|
|
46
48
|
__exportStar(require("./directorymemberproperties.js"), exports);
|
|
47
49
|
__exportStar(require("./event.js"), exports);
|
|
48
50
|
__exportStar(require("./eventproperties.js"), exports);
|
|
49
|
-
__exportStar(require("./greeting.js"), exports);
|
|
50
51
|
__exportStar(require("./listresponseagentresponse.js"), exports);
|
|
51
52
|
__exportStar(require("./listresponseavailabletarget.js"), exports);
|
|
52
53
|
__exportStar(require("./listresponsechannel.js"), exports);
|
|
53
54
|
__exportStar(require("./listresponsechanneltarget.js"), exports);
|
|
54
55
|
__exportStar(require("./listresponseconversation.js"), exports);
|
|
55
|
-
__exportStar(require("./
|
|
56
|
+
__exportStar(require("./listresponsecustommessageresponse.js"), exports);
|
|
56
57
|
__exportStar(require("./listresponsedirectorymember.js"), exports);
|
|
57
58
|
__exportStar(require("./listresponseevent.js"), exports);
|
|
58
59
|
__exportStar(require("./listresponseprompt.js"), exports);
|
|
@@ -67,6 +68,7 @@ __exportStar(require("./promptcreate.js"), exports);
|
|
|
67
68
|
__exportStar(require("./prompthistory.js"), exports);
|
|
68
69
|
__exportStar(require("./promptproperties.js"), exports);
|
|
69
70
|
__exportStar(require("./promptupdate.js"), exports);
|
|
71
|
+
__exportStar(require("./provider.js"), exports);
|
|
70
72
|
__exportStar(require("./security.js"), exports);
|
|
71
73
|
__exportStar(require("./service.js"), exports);
|
|
72
74
|
__exportStar(require("./servicecreate.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,6CAA2B;AAC3B,mDAAiC;AACjC,uDAAqC;AACrC,qDAAmC;AACnC,yDAAuC;AACvC,6DAA2C;AAC3C,mDAAiC;AACjC,kDAAgC;AAChC,yDAAuC;AACvC,uDAAqC;AACrC,iEAA+C;AAC/C,mEAAiD;AACjD,+CAA6B;AAC7B,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC;AACnC,kEAAgD;AAChD,+DAA6C;AAC7C,oDAAkC;AAClC,8DAA4C;AAC5C,qDAAmC;AACnC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,6CAA2B;AAC3B,mDAAiC;AACjC,uDAAqC;AACrC,qDAAmC;AACnC,yDAAuC;AACvC,6DAA2C;AAC3C,mDAAiC;AACjC,kDAAgC;AAChC,yDAAuC;AACvC,uDAAqC;AACrC,iEAA+C;AAC/C,mEAAiD;AACjD,+CAA6B;AAC7B,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC;AACnC,kEAAgD;AAChD,+DAA6C;AAC7C,oDAAkC;AAClC,8DAA4C;AAC5C,qDAAmC;AACnC,kEAAgD;AAChD,+DAA6C;AAC7C,6DAA2C;AAC3C,kEAAgD;AAChD,0DAAwC;AACxC,uDAAqC;AACrC,6DAA2C;AAC3C,iEAA+C;AAC/C,6CAA2B;AAC3B,uDAAqC;AACrC,iEAA+C;AAC/C,mEAAiD;AACjD,2DAAyC;AACzC,iEAA+C;AAC/C,gEAA8C;AAC9C,yEAAuD;AACvD,mEAAiD;AACjD,yDAAuC;AACvC,0DAAwC;AACxC,2DAAyC;AACzC,2DAAyC;AACzC,gEAA8C;AAC9C,wDAAsC;AACtC,iDAA+B;AAC/B,wDAAsC;AACtC,8CAA4B;AAC5B,oDAAkC;AAClC,qDAAmC;AACnC,wDAAsC;AACtC,oDAAkC;AAClC,gDAA8B;AAC9B,gDAA8B;AAC9B,+CAA6B;AAC7B,qDAAmC;AACnC,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,qDAAmC;AACnC,oDAAkC;AAClC,0DAAwC;AACxC,8DAA4C;AAC5C,yDAAuC;AACvC,gEAA8C;AAC9C,mDAAiC;AACjC,oEAAkD;AAClD,mDAAiC;AACjC,8CAA4B;AAC5B,mDAAiC;AACjC,mDAAiC;AACjC,2DAAyC;AACzC,4CAA0B;AAC1B,kDAAgC;AAChC,0DAAwC;AACxC,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC"}
|
|
@@ -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 { CustomMessageResponse, CustomMessageResponse$Outbound } from "./custommessageresponse.js";
|
|
5
|
+
export type ListResponseCustomMessageResponse = {
|
|
6
|
+
items: Array<CustomMessageResponse>;
|
|
7
|
+
page: number;
|
|
8
|
+
pageSize: number;
|
|
9
|
+
totalPages?: number | null | undefined;
|
|
10
|
+
totalCount?: number | null | undefined;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const ListResponseCustomMessageResponse$inboundSchema: z.ZodType<ListResponseCustomMessageResponse, z.ZodTypeDef, unknown>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type ListResponseCustomMessageResponse$Outbound = {
|
|
16
|
+
items: Array<CustomMessageResponse$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 ListResponseCustomMessageResponse$outboundSchema: z.ZodType<ListResponseCustomMessageResponse$Outbound, z.ZodTypeDef, ListResponseCustomMessageResponse>;
|
|
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 ListResponseCustomMessageResponse$ {
|
|
29
|
+
/** @deprecated use `ListResponseCustomMessageResponse$inboundSchema` instead. */
|
|
30
|
+
const inboundSchema: z.ZodType<ListResponseCustomMessageResponse, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @deprecated use `ListResponseCustomMessageResponse$outboundSchema` instead. */
|
|
32
|
+
const outboundSchema: z.ZodType<ListResponseCustomMessageResponse$Outbound, z.ZodTypeDef, ListResponseCustomMessageResponse>;
|
|
33
|
+
/** @deprecated use `ListResponseCustomMessageResponse$Outbound` instead. */
|
|
34
|
+
type Outbound = ListResponseCustomMessageResponse$Outbound;
|
|
35
|
+
}
|
|
36
|
+
export declare function listResponseCustomMessageResponseToJSON(listResponseCustomMessageResponse: ListResponseCustomMessageResponse): string;
|
|
37
|
+
export declare function listResponseCustomMessageResponseFromJSON(jsonString: string): SafeParseResult<ListResponseCustomMessageResponse, SDKValidationError>;
|
|
38
|
+
//# sourceMappingURL=listresponsecustommessageresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listresponsecustommessageresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/listresponsecustommessageresponse.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,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,iCAAiC,GAAG;IAC9C,KAAK,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpC,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,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,KAAK,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC7C,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,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,0CAA0C,EAC1C,CAAC,CAAC,UAAU,EACZ,iCAAiC,CAajC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kCAAkC,CAAC;IAClD,iFAAiF;IAC1E,MAAM,aAAa,qEAAkD,CAAC;IAC7E,kFAAkF;IAC3E,MAAM,cAAc,wGACuB,CAAC;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"}
|
package/models/components/{listresponsecustommessage.js → listresponsecustommessageresponse.js}
RENAMED
|
@@ -26,16 +26,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
29
|
+
exports.ListResponseCustomMessageResponse$ = exports.ListResponseCustomMessageResponse$outboundSchema = exports.ListResponseCustomMessageResponse$inboundSchema = void 0;
|
|
30
|
+
exports.listResponseCustomMessageResponseToJSON = listResponseCustomMessageResponseToJSON;
|
|
31
|
+
exports.listResponseCustomMessageResponseFromJSON = listResponseCustomMessageResponseFromJSON;
|
|
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
|
-
const
|
|
35
|
+
const custommessageresponse_js_1 = require("./custommessageresponse.js");
|
|
36
36
|
/** @internal */
|
|
37
|
-
exports.
|
|
38
|
-
items: z.array(
|
|
37
|
+
exports.ListResponseCustomMessageResponse$inboundSchema = z.object({
|
|
38
|
+
items: z.array(custommessageresponse_js_1.CustomMessageResponse$inboundSchema),
|
|
39
39
|
page: z.number().int(),
|
|
40
40
|
page_size: z.number().int(),
|
|
41
41
|
total_pages: z.nullable(z.number().int()).optional(),
|
|
@@ -48,8 +48,8 @@ exports.ListResponseCustomMessage$inboundSchema = z.object({
|
|
|
48
48
|
});
|
|
49
49
|
});
|
|
50
50
|
/** @internal */
|
|
51
|
-
exports.
|
|
52
|
-
items: z.array(
|
|
51
|
+
exports.ListResponseCustomMessageResponse$outboundSchema = z.object({
|
|
52
|
+
items: z.array(custommessageresponse_js_1.CustomMessageResponse$outboundSchema),
|
|
53
53
|
page: z.number().int(),
|
|
54
54
|
pageSize: z.number().int(),
|
|
55
55
|
totalPages: z.nullable(z.number().int()).optional(),
|
|
@@ -65,17 +65,17 @@ exports.ListResponseCustomMessage$outboundSchema = z.object({
|
|
|
65
65
|
* @internal
|
|
66
66
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
67
|
*/
|
|
68
|
-
var
|
|
69
|
-
(function (
|
|
70
|
-
/** @deprecated use `
|
|
71
|
-
|
|
72
|
-
/** @deprecated use `
|
|
73
|
-
|
|
74
|
-
})(
|
|
75
|
-
function
|
|
76
|
-
return JSON.stringify(exports.
|
|
68
|
+
var ListResponseCustomMessageResponse$;
|
|
69
|
+
(function (ListResponseCustomMessageResponse$) {
|
|
70
|
+
/** @deprecated use `ListResponseCustomMessageResponse$inboundSchema` instead. */
|
|
71
|
+
ListResponseCustomMessageResponse$.inboundSchema = exports.ListResponseCustomMessageResponse$inboundSchema;
|
|
72
|
+
/** @deprecated use `ListResponseCustomMessageResponse$outboundSchema` instead. */
|
|
73
|
+
ListResponseCustomMessageResponse$.outboundSchema = exports.ListResponseCustomMessageResponse$outboundSchema;
|
|
74
|
+
})(ListResponseCustomMessageResponse$ || (exports.ListResponseCustomMessageResponse$ = ListResponseCustomMessageResponse$ = {}));
|
|
75
|
+
function listResponseCustomMessageResponseToJSON(listResponseCustomMessageResponse) {
|
|
76
|
+
return JSON.stringify(exports.ListResponseCustomMessageResponse$outboundSchema.parse(listResponseCustomMessageResponse));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
78
|
+
function listResponseCustomMessageResponseFromJSON(jsonString) {
|
|
79
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListResponseCustomMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListResponseCustomMessageResponse' from JSON`);
|
|
80
80
|
}
|
|
81
|
-
//# sourceMappingURL=
|
|
81
|
+
//# sourceMappingURL=listresponsecustommessageresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listresponsecustommessageresponse.js","sourceRoot":"","sources":["../../src/models/components/listresponsecustommessageresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFH,0FAQC;AAED,8FAQC;AAnGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yEAKoC;AAUpC,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,8DAAmC,CAAC;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC3B,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpD,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC,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AAyC,CACvD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uDAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,10 @@
|
|
|
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 { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
|
|
6
|
-
* Provider of the LLM model.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Provider: {
|
|
9
|
-
readonly AzureOpenai: "azure_openai";
|
|
10
|
-
readonly Openai: "openai";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Provider of the LLM model.
|
|
14
|
-
*/
|
|
15
|
-
export type Provider = ClosedEnum<typeof Provider>;
|
|
4
|
+
import { Provider } from "./provider.js";
|
|
16
5
|
export type LlmConfig = {
|
|
17
6
|
/**
|
|
18
|
-
*
|
|
7
|
+
* LLM API provider.
|
|
19
8
|
*/
|
|
20
9
|
provider?: Provider | undefined;
|
|
21
10
|
/**
|
|
@@ -32,30 +21,10 @@ export type LlmConfig = {
|
|
|
32
21
|
apiVersion?: string | null | undefined;
|
|
33
22
|
};
|
|
34
23
|
/** @internal */
|
|
35
|
-
export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
|
|
36
|
-
/** @internal */
|
|
37
|
-
export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
-
*/
|
|
42
|
-
export declare namespace Provider$ {
|
|
43
|
-
/** @deprecated use `Provider$inboundSchema` instead. */
|
|
44
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
45
|
-
readonly AzureOpenai: "azure_openai";
|
|
46
|
-
readonly Openai: "openai";
|
|
47
|
-
}>;
|
|
48
|
-
/** @deprecated use `Provider$outboundSchema` instead. */
|
|
49
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
50
|
-
readonly AzureOpenai: "azure_openai";
|
|
51
|
-
readonly Openai: "openai";
|
|
52
|
-
}>;
|
|
53
|
-
}
|
|
54
|
-
/** @internal */
|
|
55
24
|
export declare const LlmConfig$inboundSchema: z.ZodType<LlmConfig, z.ZodTypeDef, unknown>;
|
|
56
25
|
/** @internal */
|
|
57
26
|
export type LlmConfig$Outbound = {
|
|
58
|
-
provider
|
|
27
|
+
provider?: string | undefined;
|
|
59
28
|
model: string;
|
|
60
29
|
version?: string | null | undefined;
|
|
61
30
|
api_version?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llmconfig.d.ts","sourceRoot":"","sources":["../../src/models/components/llmconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"llmconfig.d.ts","sourceRoot":"","sources":["../../src/models/components/llmconfig.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,QAAQ,EAGT,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAE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