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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custommessagecreate.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessagecreate.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,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAKnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custommessagecreate.js","sourceRoot":"","sources":["../../src/models/components/custommessagecreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,8DAMC;AAED,kEAQC;AA3ED,uCAAyB;AACzB,qDAAiD;AAgBjD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
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 Greeting = {
|
|
5
|
-
/**
|
|
6
|
-
* The name of the greeting
|
|
7
|
-
*/
|
|
8
|
-
name: string;
|
|
9
|
-
/**
|
|
10
|
-
* The text of the greeting
|
|
11
|
-
*/
|
|
12
|
-
text: string;
|
|
13
|
-
/**
|
|
14
|
-
* The ID of the greeting
|
|
15
|
-
*/
|
|
16
|
-
id: number;
|
|
17
|
-
};
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const Greeting$inboundSchema: z.ZodType<Greeting, z.ZodTypeDef, unknown>;
|
|
20
|
-
/** @internal */
|
|
21
|
-
export type Greeting$Outbound = {
|
|
22
|
-
name: string;
|
|
23
|
-
text: string;
|
|
24
|
-
id: number;
|
|
25
|
-
};
|
|
26
|
-
/** @internal */
|
|
27
|
-
export declare const Greeting$outboundSchema: z.ZodType<Greeting$Outbound, z.ZodTypeDef, Greeting>;
|
|
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 Greeting$ {
|
|
33
|
-
/** @deprecated use `Greeting$inboundSchema` instead. */
|
|
34
|
-
const inboundSchema: z.ZodType<Greeting, z.ZodTypeDef, unknown>;
|
|
35
|
-
/** @deprecated use `Greeting$outboundSchema` instead. */
|
|
36
|
-
const outboundSchema: z.ZodType<Greeting$Outbound, z.ZodTypeDef, Greeting>;
|
|
37
|
-
/** @deprecated use `Greeting$Outbound` instead. */
|
|
38
|
-
type Outbound = Greeting$Outbound;
|
|
39
|
-
}
|
|
40
|
-
export declare function greetingToJSON(greeting: Greeting): string;
|
|
41
|
-
export declare function greetingFromJSON(jsonString: string): SafeParseResult<Greeting, SDKValidationError>;
|
|
42
|
-
//# sourceMappingURL=greeting.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"greeting.d.ts","sourceRoot":"","sources":["../../src/models/components/greeting.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,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE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,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACrB,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,uBAAuB,GAIhC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACrB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,SAAS,CAOzB;AAPD,WAAiB,SAAS;IACxB,wDAAwD;IAC3C,uBAAa,GAAG,8BAAsB,CAAC;IACpD,yDAAyD;IAC5C,wBAAc,GAAG,+BAAuB,CAAC;AAGxD,CAAC,EAPgB,SAAS,yBAAT,SAAS,QAOzB;AAED,SAAgB,cAAc,CAAC,QAAkB;IAC/C,OAAO,IAAI,CAAC,SAAS,CAAC,+BAAuB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,gBAAgB,CAC9B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AACJ,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { CustomMessage, CustomMessage$Outbound } from "./custommessage.js";
|
|
5
|
-
export type ListResponseCustomMessage = {
|
|
6
|
-
items: Array<CustomMessage>;
|
|
7
|
-
page: number;
|
|
8
|
-
pageSize: number;
|
|
9
|
-
totalPages?: number | null | undefined;
|
|
10
|
-
totalCount?: number | null | undefined;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const ListResponseCustomMessage$inboundSchema: z.ZodType<ListResponseCustomMessage, z.ZodTypeDef, unknown>;
|
|
14
|
-
/** @internal */
|
|
15
|
-
export type ListResponseCustomMessage$Outbound = {
|
|
16
|
-
items: Array<CustomMessage$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 ListResponseCustomMessage$outboundSchema: z.ZodType<ListResponseCustomMessage$Outbound, z.ZodTypeDef, ListResponseCustomMessage>;
|
|
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 ListResponseCustomMessage$ {
|
|
29
|
-
/** @deprecated use `ListResponseCustomMessage$inboundSchema` instead. */
|
|
30
|
-
const inboundSchema: z.ZodType<ListResponseCustomMessage, z.ZodTypeDef, unknown>;
|
|
31
|
-
/** @deprecated use `ListResponseCustomMessage$outboundSchema` instead. */
|
|
32
|
-
const outboundSchema: z.ZodType<ListResponseCustomMessage$Outbound, z.ZodTypeDef, ListResponseCustomMessage>;
|
|
33
|
-
/** @deprecated use `ListResponseCustomMessage$Outbound` instead. */
|
|
34
|
-
type Outbound = ListResponseCustomMessage$Outbound;
|
|
35
|
-
}
|
|
36
|
-
export declare function listResponseCustomMessageToJSON(listResponseCustomMessage: ListResponseCustomMessage): string;
|
|
37
|
-
export declare function listResponseCustomMessageFromJSON(jsonString: string): SafeParseResult<ListResponseCustomMessage, SDKValidationError>;
|
|
38
|
-
//# sourceMappingURL=listresponsecustommessage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listresponsecustommessage.d.ts","sourceRoot":"","sources":["../../src/models/components/listresponsecustommessage.ts"],"names":[],"mappings":"AAIA,OAAO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AC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listresponsecustommessage.js","sourceRoot":"","sources":["../../src/models/components/listresponsecustommessage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,0EAMC;AAED,8EAQC;AAhGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,yDAK4B;AAU5B,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,8CAA2B,CAAC;IAC3C,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,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,+CAA4B,CAAC;IAC5C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|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type CustomMessageCreate = {
|
|
11
|
-
/**
|
|
12
|
-
* The name of the greeting
|
|
13
|
-
*/
|
|
14
|
-
name: string;
|
|
15
|
-
/**
|
|
16
|
-
* The text of the greeting
|
|
17
|
-
*/
|
|
18
|
-
text: string;
|
|
19
|
-
type?: string | undefined;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const CustomMessageCreate$inboundSchema: z.ZodType<
|
|
24
|
-
CustomMessageCreate,
|
|
25
|
-
z.ZodTypeDef,
|
|
26
|
-
unknown
|
|
27
|
-
> = z.object({
|
|
28
|
-
name: z.string(),
|
|
29
|
-
text: z.string(),
|
|
30
|
-
type: z.string().default("greeting"),
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export type CustomMessageCreate$Outbound = {
|
|
35
|
-
name: string;
|
|
36
|
-
text: string;
|
|
37
|
-
type: string;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
/** @internal */
|
|
41
|
-
export const CustomMessageCreate$outboundSchema: z.ZodType<
|
|
42
|
-
CustomMessageCreate$Outbound,
|
|
43
|
-
z.ZodTypeDef,
|
|
44
|
-
CustomMessageCreate
|
|
45
|
-
> = z.object({
|
|
46
|
-
name: z.string(),
|
|
47
|
-
text: z.string(),
|
|
48
|
-
type: z.string().default("greeting"),
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
-
*/
|
|
55
|
-
export namespace CustomMessageCreate$ {
|
|
56
|
-
/** @deprecated use `CustomMessageCreate$inboundSchema` instead. */
|
|
57
|
-
export const inboundSchema = CustomMessageCreate$inboundSchema;
|
|
58
|
-
/** @deprecated use `CustomMessageCreate$outboundSchema` instead. */
|
|
59
|
-
export const outboundSchema = CustomMessageCreate$outboundSchema;
|
|
60
|
-
/** @deprecated use `CustomMessageCreate$Outbound` instead. */
|
|
61
|
-
export type Outbound = CustomMessageCreate$Outbound;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function customMessageCreateToJSON(
|
|
65
|
-
customMessageCreate: CustomMessageCreate,
|
|
66
|
-
): string {
|
|
67
|
-
return JSON.stringify(
|
|
68
|
-
CustomMessageCreate$outboundSchema.parse(customMessageCreate),
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function customMessageCreateFromJSON(
|
|
73
|
-
jsonString: string,
|
|
74
|
-
): SafeParseResult<CustomMessageCreate, SDKValidationError> {
|
|
75
|
-
return safeParse(
|
|
76
|
-
jsonString,
|
|
77
|
-
(x) => CustomMessageCreate$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
-
`Failed to parse 'CustomMessageCreate' from JSON`,
|
|
79
|
-
);
|
|
80
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type Greeting = {
|
|
11
|
-
/**
|
|
12
|
-
* The name of the greeting
|
|
13
|
-
*/
|
|
14
|
-
name: string;
|
|
15
|
-
/**
|
|
16
|
-
* The text of the greeting
|
|
17
|
-
*/
|
|
18
|
-
text: string;
|
|
19
|
-
/**
|
|
20
|
-
* The ID of the greeting
|
|
21
|
-
*/
|
|
22
|
-
id: number;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
/** @internal */
|
|
26
|
-
export const Greeting$inboundSchema: z.ZodType<
|
|
27
|
-
Greeting,
|
|
28
|
-
z.ZodTypeDef,
|
|
29
|
-
unknown
|
|
30
|
-
> = z.object({
|
|
31
|
-
name: z.string(),
|
|
32
|
-
text: z.string(),
|
|
33
|
-
id: z.number().int(),
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
/** @internal */
|
|
37
|
-
export type Greeting$Outbound = {
|
|
38
|
-
name: string;
|
|
39
|
-
text: string;
|
|
40
|
-
id: number;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const Greeting$outboundSchema: z.ZodType<
|
|
45
|
-
Greeting$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
Greeting
|
|
48
|
-
> = z.object({
|
|
49
|
-
name: z.string(),
|
|
50
|
-
text: z.string(),
|
|
51
|
-
id: z.number().int(),
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
-
*/
|
|
58
|
-
export namespace Greeting$ {
|
|
59
|
-
/** @deprecated use `Greeting$inboundSchema` instead. */
|
|
60
|
-
export const inboundSchema = Greeting$inboundSchema;
|
|
61
|
-
/** @deprecated use `Greeting$outboundSchema` instead. */
|
|
62
|
-
export const outboundSchema = Greeting$outboundSchema;
|
|
63
|
-
/** @deprecated use `Greeting$Outbound` instead. */
|
|
64
|
-
export type Outbound = Greeting$Outbound;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function greetingToJSON(greeting: Greeting): string {
|
|
68
|
-
return JSON.stringify(Greeting$outboundSchema.parse(greeting));
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function greetingFromJSON(
|
|
72
|
-
jsonString: string,
|
|
73
|
-
): SafeParseResult<Greeting, SDKValidationError> {
|
|
74
|
-
return safeParse(
|
|
75
|
-
jsonString,
|
|
76
|
-
(x) => Greeting$inboundSchema.parse(JSON.parse(x)),
|
|
77
|
-
`Failed to parse 'Greeting' from JSON`,
|
|
78
|
-
);
|
|
79
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
import {
|
|
11
|
-
CustomMessage,
|
|
12
|
-
CustomMessage$inboundSchema,
|
|
13
|
-
CustomMessage$Outbound,
|
|
14
|
-
CustomMessage$outboundSchema,
|
|
15
|
-
} from "./custommessage.js";
|
|
16
|
-
|
|
17
|
-
export type ListResponseCustomMessage = {
|
|
18
|
-
items: Array<CustomMessage>;
|
|
19
|
-
page: number;
|
|
20
|
-
pageSize: number;
|
|
21
|
-
totalPages?: number | null | undefined;
|
|
22
|
-
totalCount?: number | null | undefined;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
/** @internal */
|
|
26
|
-
export const ListResponseCustomMessage$inboundSchema: z.ZodType<
|
|
27
|
-
ListResponseCustomMessage,
|
|
28
|
-
z.ZodTypeDef,
|
|
29
|
-
unknown
|
|
30
|
-
> = z.object({
|
|
31
|
-
items: z.array(CustomMessage$inboundSchema),
|
|
32
|
-
page: z.number().int(),
|
|
33
|
-
page_size: z.number().int(),
|
|
34
|
-
total_pages: z.nullable(z.number().int()).optional(),
|
|
35
|
-
total_count: z.nullable(z.number().int()).optional(),
|
|
36
|
-
}).transform((v) => {
|
|
37
|
-
return remap$(v, {
|
|
38
|
-
"page_size": "pageSize",
|
|
39
|
-
"total_pages": "totalPages",
|
|
40
|
-
"total_count": "totalCount",
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
/** @internal */
|
|
45
|
-
export type ListResponseCustomMessage$Outbound = {
|
|
46
|
-
items: Array<CustomMessage$Outbound>;
|
|
47
|
-
page: number;
|
|
48
|
-
page_size: number;
|
|
49
|
-
total_pages?: number | null | undefined;
|
|
50
|
-
total_count?: number | null | undefined;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
/** @internal */
|
|
54
|
-
export const ListResponseCustomMessage$outboundSchema: z.ZodType<
|
|
55
|
-
ListResponseCustomMessage$Outbound,
|
|
56
|
-
z.ZodTypeDef,
|
|
57
|
-
ListResponseCustomMessage
|
|
58
|
-
> = z.object({
|
|
59
|
-
items: z.array(CustomMessage$outboundSchema),
|
|
60
|
-
page: z.number().int(),
|
|
61
|
-
pageSize: z.number().int(),
|
|
62
|
-
totalPages: z.nullable(z.number().int()).optional(),
|
|
63
|
-
totalCount: z.nullable(z.number().int()).optional(),
|
|
64
|
-
}).transform((v) => {
|
|
65
|
-
return remap$(v, {
|
|
66
|
-
pageSize: "page_size",
|
|
67
|
-
totalPages: "total_pages",
|
|
68
|
-
totalCount: "total_count",
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
-
*/
|
|
76
|
-
export namespace ListResponseCustomMessage$ {
|
|
77
|
-
/** @deprecated use `ListResponseCustomMessage$inboundSchema` instead. */
|
|
78
|
-
export const inboundSchema = ListResponseCustomMessage$inboundSchema;
|
|
79
|
-
/** @deprecated use `ListResponseCustomMessage$outboundSchema` instead. */
|
|
80
|
-
export const outboundSchema = ListResponseCustomMessage$outboundSchema;
|
|
81
|
-
/** @deprecated use `ListResponseCustomMessage$Outbound` instead. */
|
|
82
|
-
export type Outbound = ListResponseCustomMessage$Outbound;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export function listResponseCustomMessageToJSON(
|
|
86
|
-
listResponseCustomMessage: ListResponseCustomMessage,
|
|
87
|
-
): string {
|
|
88
|
-
return JSON.stringify(
|
|
89
|
-
ListResponseCustomMessage$outboundSchema.parse(listResponseCustomMessage),
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export function listResponseCustomMessageFromJSON(
|
|
94
|
-
jsonString: string,
|
|
95
|
-
): SafeParseResult<ListResponseCustomMessage, SDKValidationError> {
|
|
96
|
-
return safeParse(
|
|
97
|
-
jsonString,
|
|
98
|
-
(x) => ListResponseCustomMessage$inboundSchema.parse(JSON.parse(x)),
|
|
99
|
-
`Failed to parse 'ListResponseCustomMessage' from JSON`,
|
|
100
|
-
);
|
|
101
|
-
}
|