syllable-sdk 0.1.0-alpha.15 → 0.1.0-alpha.17

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.
Files changed (123) hide show
  1. package/docs/sdks/agents/README.md +2 -2
  2. package/docs/sdks/custommessages/README.md +6 -6
  3. package/funcs/agentsGetById.d.ts +1 -1
  4. package/funcs/agentsGetById.d.ts.map +1 -1
  5. package/funcs/agentsGetById.js +1 -1
  6. package/funcs/agentsGetById.js.map +1 -1
  7. package/funcs/agentsList.d.ts +1 -1
  8. package/funcs/agentsList.d.ts.map +1 -1
  9. package/funcs/agentsList.js +1 -1
  10. package/funcs/agentsList.js.map +1 -1
  11. package/funcs/customMessagesCreate.d.ts +1 -1
  12. package/funcs/customMessagesCreate.d.ts.map +1 -1
  13. package/funcs/customMessagesCreate.js +2 -2
  14. package/funcs/customMessagesCreate.js.map +1 -1
  15. package/funcs/customMessagesGetById.d.ts +1 -1
  16. package/funcs/customMessagesGetById.d.ts.map +1 -1
  17. package/funcs/customMessagesGetById.js +1 -1
  18. package/funcs/customMessagesGetById.js.map +1 -1
  19. package/funcs/customMessagesList.d.ts +1 -1
  20. package/funcs/customMessagesList.d.ts.map +1 -1
  21. package/funcs/customMessagesList.js +1 -1
  22. package/funcs/customMessagesList.js.map +1 -1
  23. package/funcs/customMessagesUpdate.d.ts +1 -1
  24. package/funcs/customMessagesUpdate.d.ts.map +1 -1
  25. package/funcs/customMessagesUpdate.js +2 -2
  26. package/funcs/customMessagesUpdate.js.map +1 -1
  27. package/lib/config.d.ts +3 -3
  28. package/lib/config.js +3 -3
  29. package/lib/config.js.map +1 -1
  30. package/models/components/agentresponse.d.ts +115 -0
  31. package/models/components/agentresponse.d.ts.map +1 -0
  32. package/models/components/agentresponse.js +118 -0
  33. package/models/components/agentresponse.js.map +1 -0
  34. package/models/components/channel.d.ts +0 -3
  35. package/models/components/channel.d.ts.map +1 -1
  36. package/models/components/channel.js.map +1 -1
  37. package/models/components/custommessage.d.ts +3 -5
  38. package/models/components/custommessage.d.ts.map +1 -1
  39. package/models/components/custommessage.js +0 -2
  40. package/models/components/custommessage.js.map +1 -1
  41. package/models/components/custommessagecreaterequest.d.ts +39 -0
  42. package/models/components/custommessagecreaterequest.d.ts.map +1 -0
  43. package/models/components/custommessagecreaterequest.js +63 -0
  44. package/models/components/custommessagecreaterequest.js.map +1 -0
  45. package/models/components/custommessageresponse.d.ts +44 -0
  46. package/models/components/custommessageresponse.d.ts.map +1 -0
  47. package/models/components/{custommessagecreate.js → custommessageresponse.js} +19 -17
  48. package/models/components/custommessageresponse.js.map +1 -0
  49. package/models/components/custommessageupdaterequest.d.ts +44 -0
  50. package/models/components/custommessageupdaterequest.d.ts.map +1 -0
  51. package/models/components/custommessageupdaterequest.js +65 -0
  52. package/models/components/custommessageupdaterequest.js.map +1 -0
  53. package/models/components/index.d.ts +7 -3
  54. package/models/components/index.d.ts.map +1 -1
  55. package/models/components/index.js +7 -3
  56. package/models/components/index.js.map +1 -1
  57. package/models/components/listresponseagentresponse.d.ts +38 -0
  58. package/models/components/{listresponsecustommessage.d.ts.map → listresponseagentresponse.d.ts.map} +1 -1
  59. package/models/components/{listresponsecustommessage.js → listresponseagentresponse.js} +20 -20
  60. package/models/components/{listresponsecustommessage.js.map → listresponseagentresponse.js.map} +1 -1
  61. package/models/components/listresponsecustommessageresponse.d.ts +38 -0
  62. package/models/components/listresponsecustommessageresponse.d.ts.map +1 -0
  63. package/models/components/{listresponseagent.js → listresponsecustommessageresponse.js} +20 -20
  64. package/models/components/listresponsecustommessageresponse.js.map +1 -0
  65. package/models/components/llmconfig.d.ts +3 -34
  66. package/models/components/llmconfig.d.ts.map +1 -1
  67. package/models/components/llmconfig.js +4 -26
  68. package/models/components/llmconfig.js.map +1 -1
  69. package/models/components/prompt.d.ts +0 -3
  70. package/models/components/prompt.d.ts.map +1 -1
  71. package/models/components/prompt.js.map +1 -1
  72. package/models/components/promptcreate.d.ts +0 -3
  73. package/models/components/promptcreate.d.ts.map +1 -1
  74. package/models/components/promptcreate.js.map +1 -1
  75. package/models/components/promptupdate.d.ts +0 -3
  76. package/models/components/promptupdate.d.ts.map +1 -1
  77. package/models/components/promptupdate.js.map +1 -1
  78. package/models/components/provider.d.ts +34 -0
  79. package/models/components/provider.d.ts.map +1 -0
  80. package/models/components/provider.js +54 -0
  81. package/models/components/provider.js.map +1 -0
  82. package/models/components/target.d.ts +0 -3
  83. package/models/components/target.d.ts.map +1 -1
  84. package/models/components/target.js.map +1 -1
  85. package/package.json +1 -1
  86. package/sdk/agents.d.ts +2 -2
  87. package/sdk/agents.d.ts.map +1 -1
  88. package/sdk/custommessages.d.ts +4 -4
  89. package/sdk/custommessages.d.ts.map +1 -1
  90. package/sdk/custommessages.js.map +1 -1
  91. package/src/funcs/agentsGetById.ts +3 -3
  92. package/src/funcs/agentsList.ts +3 -3
  93. package/src/funcs/customMessagesCreate.ts +6 -5
  94. package/src/funcs/customMessagesGetById.ts +3 -3
  95. package/src/funcs/customMessagesList.ts +3 -3
  96. package/src/funcs/customMessagesUpdate.ts +6 -5
  97. package/src/lib/config.ts +3 -3
  98. package/src/models/components/agentresponse.ts +215 -0
  99. package/src/models/components/channel.ts +0 -3
  100. package/src/models/components/custommessage.ts +3 -7
  101. package/src/models/components/custommessagecreaterequest.ts +80 -0
  102. package/src/models/components/custommessageresponse.ts +87 -0
  103. package/src/models/components/custommessageupdaterequest.ts +87 -0
  104. package/src/models/components/index.ts +7 -3
  105. package/src/models/components/{listresponsecustommessage.ts → listresponseagentresponse.ts} +30 -30
  106. package/src/models/components/listresponsecustommessageresponse.ts +104 -0
  107. package/src/models/components/llmconfig.ts +9 -36
  108. package/src/models/components/prompt.ts +0 -3
  109. package/src/models/components/promptcreate.ts +0 -3
  110. package/src/models/components/promptupdate.ts +0 -3
  111. package/src/models/components/provider.ts +37 -0
  112. package/src/models/components/target.ts +0 -3
  113. package/src/sdk/agents.ts +2 -2
  114. package/src/sdk/custommessages.ts +6 -6
  115. package/models/components/custommessagecreate.d.ts +0 -39
  116. package/models/components/custommessagecreate.d.ts.map +0 -1
  117. package/models/components/custommessagecreate.js.map +0 -1
  118. package/models/components/listresponseagent.d.ts +0 -38
  119. package/models/components/listresponseagent.d.ts.map +0 -1
  120. package/models/components/listresponseagent.js.map +0 -1
  121. package/models/components/listresponsecustommessage.d.ts +0 -38
  122. package/src/models/components/custommessagecreate.ts +0 -80
  123. package/src/models/components/listresponseagent.ts +0 -101
@@ -0,0 +1,118 @@
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.AgentResponse$ = exports.AgentResponse$outboundSchema = exports.AgentResponse$inboundSchema = void 0;
30
+ exports.agentResponseToJSON = agentResponseToJSON;
31
+ exports.agentResponseFromJSON = agentResponseFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const primitives_js_1 = require("../../lib/primitives.js");
34
+ const schemas_js_1 = require("../../lib/schemas.js");
35
+ const agenttooldefaults_js_1 = require("./agenttooldefaults.js");
36
+ const custommessage_js_1 = require("./custommessage.js");
37
+ const prompt_js_1 = require("./prompt.js");
38
+ const target_js_1 = require("./target.js");
39
+ /** @internal */
40
+ exports.AgentResponse$inboundSchema = z.object({
41
+ name: z.string(),
42
+ description: z.nullable(z.string()).optional(),
43
+ label: z.nullable(z.string()).optional(),
44
+ type: z.string(),
45
+ prompt_id: z.number().int(),
46
+ custom_message_id: z.nullable(z.number().int()).optional(),
47
+ timezone: z.string(),
48
+ prompt_tool_defaults: z.array(agenttooldefaults_js_1.AgentToolDefaults$inboundSchema),
49
+ languages: z.array(z.string()),
50
+ variables: z.record(z.string()),
51
+ tool_headers: z.nullable(z.record(z.string())),
52
+ id: z.number().int(),
53
+ updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
54
+ last_updated_by: z.nullable(z.string()),
55
+ channel_targets: z.nullable(z.array(target_js_1.Target$inboundSchema)).optional(),
56
+ prompt: z.nullable(prompt_js_1.Prompt$inboundSchema).optional(),
57
+ custom_message: z.nullable(custommessage_js_1.CustomMessage$inboundSchema).optional(),
58
+ }).transform((v) => {
59
+ return (0, primitives_js_1.remap)(v, {
60
+ "prompt_id": "promptId",
61
+ "custom_message_id": "customMessageId",
62
+ "prompt_tool_defaults": "promptToolDefaults",
63
+ "tool_headers": "toolHeaders",
64
+ "updated_at": "updatedAt",
65
+ "last_updated_by": "lastUpdatedBy",
66
+ "channel_targets": "channelTargets",
67
+ "custom_message": "customMessage",
68
+ });
69
+ });
70
+ /** @internal */
71
+ exports.AgentResponse$outboundSchema = z.object({
72
+ name: z.string(),
73
+ description: z.nullable(z.string()).optional(),
74
+ label: z.nullable(z.string()).optional(),
75
+ type: z.string(),
76
+ promptId: z.number().int(),
77
+ customMessageId: z.nullable(z.number().int()).optional(),
78
+ timezone: z.string(),
79
+ promptToolDefaults: z.array(agenttooldefaults_js_1.AgentToolDefaults$outboundSchema),
80
+ languages: z.array(z.string()),
81
+ variables: z.record(z.string()),
82
+ toolHeaders: z.nullable(z.record(z.string())),
83
+ id: z.number().int(),
84
+ updatedAt: z.date().transform(v => v.toISOString()),
85
+ lastUpdatedBy: z.nullable(z.string()),
86
+ channelTargets: z.nullable(z.array(target_js_1.Target$outboundSchema)).optional(),
87
+ prompt: z.nullable(prompt_js_1.Prompt$outboundSchema).optional(),
88
+ customMessage: z.nullable(custommessage_js_1.CustomMessage$outboundSchema).optional(),
89
+ }).transform((v) => {
90
+ return (0, primitives_js_1.remap)(v, {
91
+ promptId: "prompt_id",
92
+ customMessageId: "custom_message_id",
93
+ promptToolDefaults: "prompt_tool_defaults",
94
+ toolHeaders: "tool_headers",
95
+ updatedAt: "updated_at",
96
+ lastUpdatedBy: "last_updated_by",
97
+ channelTargets: "channel_targets",
98
+ customMessage: "custom_message",
99
+ });
100
+ });
101
+ /**
102
+ * @internal
103
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
104
+ */
105
+ var AgentResponse$;
106
+ (function (AgentResponse$) {
107
+ /** @deprecated use `AgentResponse$inboundSchema` instead. */
108
+ AgentResponse$.inboundSchema = exports.AgentResponse$inboundSchema;
109
+ /** @deprecated use `AgentResponse$outboundSchema` instead. */
110
+ AgentResponse$.outboundSchema = exports.AgentResponse$outboundSchema;
111
+ })(AgentResponse$ || (exports.AgentResponse$ = AgentResponse$ = {}));
112
+ function agentResponseToJSON(agentResponse) {
113
+ return JSON.stringify(exports.AgentResponse$outboundSchema.parse(agentResponse));
114
+ }
115
+ function agentResponseFromJSON(jsonString) {
116
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentResponse' from JSON`);
117
+ }
118
+ //# sourceMappingURL=agentresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentresponse.js","sourceRoot":"","sources":["../../src/models/components/agentresponse.ts"],"names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AEH;;;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"}
@@ -7,9 +7,6 @@ export type Channel = {
7
7
  * The channel name
8
8
  */
9
9
  name: string;
10
- /**
11
- * The service for the channel
12
- */
13
10
  channelService: ChannelServices;
14
11
  /**
15
12
  * The comma-delimited list of supported modes for the channel
@@ -1 +1 @@
1
- {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../src/models/components/channel.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,eAAe,EAGhB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,cAAc,EAAE,eAAe,CAAC;IAChC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ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IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,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"}
@@ -3,18 +3,17 @@ import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  export type CustomMessage = {
5
5
  /**
6
- * The name of the greeting
6
+ * The name of the custom message
7
7
  */
8
8
  name: string;
9
9
  /**
10
- * The text of the greeting
10
+ * The text of the custom message
11
11
  */
12
12
  text: string;
13
13
  /**
14
- * The ID of the greeting
14
+ * The ID of the custom message
15
15
  */
16
16
  id: number;
17
- type?: string | undefined;
18
17
  };
19
18
  /** @internal */
20
19
  export declare const CustomMessage$inboundSchema: z.ZodType<CustomMessage, z.ZodTypeDef, unknown>;
@@ -23,7 +22,6 @@ export type CustomMessage$Outbound = {
23
22
  name: string;
24
23
  text: string;
25
24
  id: number;
26
- type: string;
27
25
  };
28
26
  /** @internal */
29
27
  export declare const CustomMessage$outboundSchema: z.ZodType<CustomMessage$Outbound, z.ZodTypeDef, CustomMessage>;
@@ -1 +1 @@
1
- {"version":3,"file":"custommessage.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessage.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,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,aAAa,CAMb,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"}
1
+ {"version":3,"file":"custommessage.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessage.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,IAAI,EAAE,MAAM,CAAC;IACb;;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,IAAI,EAAE,MAAM,CAAC;IACb,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"}
@@ -36,14 +36,12 @@ exports.CustomMessage$inboundSchema = z.object({
36
36
  name: z.string(),
37
37
  text: z.string(),
38
38
  id: z.number().int(),
39
- type: z.string().default("greeting"),
40
39
  });
41
40
  /** @internal */
42
41
  exports.CustomMessage$outboundSchema = z.object({
43
42
  name: z.string(),
44
43
  text: z.string(),
45
44
  id: z.number().int(),
46
- type: z.string().default("greeting"),
47
45
  });
48
46
  /**
49
47
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"custommessage.js","sourceRoot":"","sources":["../../src/models/components/custommessage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,kDAEC;AAED,sDAQC;AA9ED,uCAAyB;AACzB,qDAAiD;AAoBjD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,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;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,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;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,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"}
1
+ {"version":3,"file":"custommessage.js","sourceRoot":"","sources":["../../src/models/components/custommessage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEH,kDAEC;AAED,sDAQC;AA1ED,uCAAyB;AACzB,qDAAiD;AAmBjD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,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;AASH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,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,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,39 @@
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 CustomMessageCreateRequest = {
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
+ type?: string | undefined;
14
+ };
15
+ /** @internal */
16
+ export declare const CustomMessageCreateRequest$inboundSchema: z.ZodType<CustomMessageCreateRequest, z.ZodTypeDef, unknown>;
17
+ /** @internal */
18
+ export type CustomMessageCreateRequest$Outbound = {
19
+ name: string;
20
+ text: string;
21
+ type: string;
22
+ };
23
+ /** @internal */
24
+ export declare const CustomMessageCreateRequest$outboundSchema: z.ZodType<CustomMessageCreateRequest$Outbound, z.ZodTypeDef, CustomMessageCreateRequest>;
25
+ /**
26
+ * @internal
27
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
28
+ */
29
+ export declare namespace CustomMessageCreateRequest$ {
30
+ /** @deprecated use `CustomMessageCreateRequest$inboundSchema` instead. */
31
+ const inboundSchema: z.ZodType<CustomMessageCreateRequest, z.ZodTypeDef, unknown>;
32
+ /** @deprecated use `CustomMessageCreateRequest$outboundSchema` instead. */
33
+ const outboundSchema: z.ZodType<CustomMessageCreateRequest$Outbound, z.ZodTypeDef, CustomMessageCreateRequest>;
34
+ /** @deprecated use `CustomMessageCreateRequest$Outbound` instead. */
35
+ type Outbound = CustomMessageCreateRequest$Outbound;
36
+ }
37
+ export declare function customMessageCreateRequestToJSON(customMessageCreateRequest: CustomMessageCreateRequest): string;
38
+ export declare function customMessageCreateRequestFromJSON(jsonString: string): SafeParseResult<CustomMessageCreateRequest, SDKValidationError>;
39
+ //# sourceMappingURL=custommessagecreaterequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custommessagecreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessagecreaterequest.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,0BAA0B,GAAG;IACvC;;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,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAK1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -0,0 +1,63 @@
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.CustomMessageCreateRequest$ = exports.CustomMessageCreateRequest$outboundSchema = exports.CustomMessageCreateRequest$inboundSchema = void 0;
30
+ exports.customMessageCreateRequestToJSON = customMessageCreateRequestToJSON;
31
+ exports.customMessageCreateRequestFromJSON = customMessageCreateRequestFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const schemas_js_1 = require("../../lib/schemas.js");
34
+ /** @internal */
35
+ exports.CustomMessageCreateRequest$inboundSchema = z.object({
36
+ name: z.string(),
37
+ text: z.string(),
38
+ type: z.string().default("greeting"),
39
+ });
40
+ /** @internal */
41
+ exports.CustomMessageCreateRequest$outboundSchema = z.object({
42
+ name: z.string(),
43
+ text: z.string(),
44
+ type: z.string().default("greeting"),
45
+ });
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ var CustomMessageCreateRequest$;
51
+ (function (CustomMessageCreateRequest$) {
52
+ /** @deprecated use `CustomMessageCreateRequest$inboundSchema` instead. */
53
+ CustomMessageCreateRequest$.inboundSchema = exports.CustomMessageCreateRequest$inboundSchema;
54
+ /** @deprecated use `CustomMessageCreateRequest$outboundSchema` instead. */
55
+ CustomMessageCreateRequest$.outboundSchema = exports.CustomMessageCreateRequest$outboundSchema;
56
+ })(CustomMessageCreateRequest$ || (exports.CustomMessageCreateRequest$ = CustomMessageCreateRequest$ = {}));
57
+ function customMessageCreateRequestToJSON(customMessageCreateRequest) {
58
+ return JSON.stringify(exports.CustomMessageCreateRequest$outboundSchema.parse(customMessageCreateRequest));
59
+ }
60
+ function customMessageCreateRequestFromJSON(jsonString) {
61
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CustomMessageCreateRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomMessageCreateRequest' from JSON`);
62
+ }
63
+ //# sourceMappingURL=custommessagecreaterequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custommessagecreaterequest.js","sourceRoot":"","sources":["../../src/models/components/custommessagecreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DH,4EAMC;AAED,gFAQC;AA3ED,uCAAyB;AACzB,qDAAiD;AAgBjD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,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,yCAAyC,GAIlD,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,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"}
@@ -0,0 +1,44 @@
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 ID of the custom message
15
+ */
16
+ id: number;
17
+ type?: string | undefined;
18
+ };
19
+ /** @internal */
20
+ export declare const CustomMessageResponse$inboundSchema: z.ZodType<CustomMessageResponse, z.ZodTypeDef, unknown>;
21
+ /** @internal */
22
+ export type CustomMessageResponse$Outbound = {
23
+ name: string;
24
+ text: string;
25
+ id: number;
26
+ type: string;
27
+ };
28
+ /** @internal */
29
+ export declare const CustomMessageResponse$outboundSchema: z.ZodType<CustomMessageResponse$Outbound, z.ZodTypeDef, CustomMessageResponse>;
30
+ /**
31
+ * @internal
32
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
33
+ */
34
+ export declare namespace CustomMessageResponse$ {
35
+ /** @deprecated use `CustomMessageResponse$inboundSchema` instead. */
36
+ const inboundSchema: z.ZodType<CustomMessageResponse, z.ZodTypeDef, unknown>;
37
+ /** @deprecated use `CustomMessageResponse$outboundSchema` instead. */
38
+ const outboundSchema: z.ZodType<CustomMessageResponse$Outbound, z.ZodTypeDef, CustomMessageResponse>;
39
+ /** @deprecated use `CustomMessageResponse$Outbound` instead. */
40
+ type Outbound = CustomMessageResponse$Outbound;
41
+ }
42
+ export declare function customMessageResponseToJSON(customMessageResponse: CustomMessageResponse): string;
43
+ export declare function customMessageResponseFromJSON(jsonString: string): SafeParseResult<CustomMessageResponse, SDKValidationError>;
44
+ //# 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;AAEzB,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,EAAE,EAAE,MAAM,CAAC;IACX,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,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAMrB,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"}
@@ -26,38 +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.CustomMessageCreate$ = exports.CustomMessageCreate$outboundSchema = exports.CustomMessageCreate$inboundSchema = void 0;
30
- exports.customMessageCreateToJSON = customMessageCreateToJSON;
31
- exports.customMessageCreateFromJSON = customMessageCreateFromJSON;
29
+ exports.CustomMessageResponse$ = exports.CustomMessageResponse$outboundSchema = exports.CustomMessageResponse$inboundSchema = void 0;
30
+ exports.customMessageResponseToJSON = customMessageResponseToJSON;
31
+ exports.customMessageResponseFromJSON = customMessageResponseFromJSON;
32
32
  const z = __importStar(require("zod"));
33
33
  const schemas_js_1 = require("../../lib/schemas.js");
34
34
  /** @internal */
35
- exports.CustomMessageCreate$inboundSchema = z.object({
35
+ exports.CustomMessageResponse$inboundSchema = z.object({
36
36
  name: z.string(),
37
37
  text: z.string(),
38
+ id: z.number().int(),
38
39
  type: z.string().default("greeting"),
39
40
  });
40
41
  /** @internal */
41
- exports.CustomMessageCreate$outboundSchema = z.object({
42
+ exports.CustomMessageResponse$outboundSchema = z.object({
42
43
  name: z.string(),
43
44
  text: z.string(),
45
+ id: z.number().int(),
44
46
  type: z.string().default("greeting"),
45
47
  });
46
48
  /**
47
49
  * @internal
48
50
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
51
  */
50
- var CustomMessageCreate$;
51
- (function (CustomMessageCreate$) {
52
- /** @deprecated use `CustomMessageCreate$inboundSchema` instead. */
53
- CustomMessageCreate$.inboundSchema = exports.CustomMessageCreate$inboundSchema;
54
- /** @deprecated use `CustomMessageCreate$outboundSchema` instead. */
55
- CustomMessageCreate$.outboundSchema = exports.CustomMessageCreate$outboundSchema;
56
- })(CustomMessageCreate$ || (exports.CustomMessageCreate$ = CustomMessageCreate$ = {}));
57
- function customMessageCreateToJSON(customMessageCreate) {
58
- return JSON.stringify(exports.CustomMessageCreate$outboundSchema.parse(customMessageCreate));
52
+ var CustomMessageResponse$;
53
+ (function (CustomMessageResponse$) {
54
+ /** @deprecated use `CustomMessageResponse$inboundSchema` instead. */
55
+ CustomMessageResponse$.inboundSchema = exports.CustomMessageResponse$inboundSchema;
56
+ /** @deprecated use `CustomMessageResponse$outboundSchema` instead. */
57
+ CustomMessageResponse$.outboundSchema = exports.CustomMessageResponse$outboundSchema;
58
+ })(CustomMessageResponse$ || (exports.CustomMessageResponse$ = CustomMessageResponse$ = {}));
59
+ function customMessageResponseToJSON(customMessageResponse) {
60
+ return JSON.stringify(exports.CustomMessageResponse$outboundSchema.parse(customMessageResponse));
59
61
  }
60
- function customMessageCreateFromJSON(jsonString) {
61
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CustomMessageCreate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomMessageCreate' from JSON`);
62
+ function customMessageResponseFromJSON(jsonString) {
63
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CustomMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomMessageResponse' from JSON`);
62
64
  }
63
- //# sourceMappingURL=custommessagecreate.js.map
65
+ //# sourceMappingURL=custommessageresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custommessageresponse.js","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEH,kEAMC;AAED,sEAQC;AAlFD,uCAAyB;AACzB,qDAAiD;AAoBjD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,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;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,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;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,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,44 @@
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 ID of the custom message
15
+ */
16
+ id: number;
17
+ type?: string | undefined;
18
+ };
19
+ /** @internal */
20
+ export declare const CustomMessageUpdateRequest$inboundSchema: z.ZodType<CustomMessageUpdateRequest, z.ZodTypeDef, unknown>;
21
+ /** @internal */
22
+ export type CustomMessageUpdateRequest$Outbound = {
23
+ name: string;
24
+ text: string;
25
+ id: number;
26
+ type: string;
27
+ };
28
+ /** @internal */
29
+ export declare const CustomMessageUpdateRequest$outboundSchema: z.ZodType<CustomMessageUpdateRequest$Outbound, z.ZodTypeDef, CustomMessageUpdateRequest>;
30
+ /**
31
+ * @internal
32
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
33
+ */
34
+ export declare namespace CustomMessageUpdateRequest$ {
35
+ /** @deprecated use `CustomMessageUpdateRequest$inboundSchema` instead. */
36
+ const inboundSchema: z.ZodType<CustomMessageUpdateRequest, z.ZodTypeDef, unknown>;
37
+ /** @deprecated use `CustomMessageUpdateRequest$outboundSchema` instead. */
38
+ const outboundSchema: z.ZodType<CustomMessageUpdateRequest$Outbound, z.ZodTypeDef, CustomMessageUpdateRequest>;
39
+ /** @deprecated use `CustomMessageUpdateRequest$Outbound` instead. */
40
+ type Outbound = CustomMessageUpdateRequest$Outbound;
41
+ }
42
+ export declare function customMessageUpdateRequestToJSON(customMessageUpdateRequest: CustomMessageUpdateRequest): string;
43
+ export declare function customMessageUpdateRequestFromJSON(jsonString: string): SafeParseResult<CustomMessageUpdateRequest, SDKValidationError>;
44
+ //# 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,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAM1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -0,0 +1,65 @@
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
+ id: z.number().int(),
39
+ type: z.string().default("greeting"),
40
+ });
41
+ /** @internal */
42
+ exports.CustomMessageUpdateRequest$outboundSchema = z.object({
43
+ name: z.string(),
44
+ text: z.string(),
45
+ id: z.number().int(),
46
+ type: z.string().default("greeting"),
47
+ });
48
+ /**
49
+ * @internal
50
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
+ */
52
+ var CustomMessageUpdateRequest$;
53
+ (function (CustomMessageUpdateRequest$) {
54
+ /** @deprecated use `CustomMessageUpdateRequest$inboundSchema` instead. */
55
+ CustomMessageUpdateRequest$.inboundSchema = exports.CustomMessageUpdateRequest$inboundSchema;
56
+ /** @deprecated use `CustomMessageUpdateRequest$outboundSchema` instead. */
57
+ CustomMessageUpdateRequest$.outboundSchema = exports.CustomMessageUpdateRequest$outboundSchema;
58
+ })(CustomMessageUpdateRequest$ || (exports.CustomMessageUpdateRequest$ = CustomMessageUpdateRequest$ = {}));
59
+ function customMessageUpdateRequestToJSON(customMessageUpdateRequest) {
60
+ return JSON.stringify(exports.CustomMessageUpdateRequest$outboundSchema.parse(customMessageUpdateRequest));
61
+ }
62
+ function customMessageUpdateRequestFromJSON(jsonString) {
63
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CustomMessageUpdateRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomMessageUpdateRequest' from JSON`);
64
+ }
65
+ //# sourceMappingURL=custommessageupdaterequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custommessageupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/custommessageupdaterequest.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,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,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,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"}
@@ -1,6 +1,7 @@
1
1
  export * from "./agent.js";
2
2
  export * from "./agentcreate.js";
3
3
  export * from "./agentproperties.js";
4
+ export * from "./agentresponse.js";
4
5
  export * from "./agenttooldefaults.js";
5
6
  export * from "./agenttoolfielddefault.js";
6
7
  export * from "./agentupdate.js";
@@ -18,20 +19,22 @@ export * from "./channeltargetproperties.js";
18
19
  export * from "./conversation.js";
19
20
  export * from "./conversationproperties.js";
20
21
  export * from "./custommessage.js";
21
- export * from "./custommessagecreate.js";
22
+ export * from "./custommessagecreaterequest.js";
22
23
  export * from "./custommessageproperties.js";
24
+ export * from "./custommessageresponse.js";
25
+ export * from "./custommessageupdaterequest.js";
23
26
  export * from "./directoryextension.js";
24
27
  export * from "./directorymember.js";
25
28
  export * from "./directorymembercreate.js";
26
29
  export * from "./directorymemberproperties.js";
27
30
  export * from "./event.js";
28
31
  export * from "./eventproperties.js";
29
- export * from "./listresponseagent.js";
32
+ export * from "./listresponseagentresponse.js";
30
33
  export * from "./listresponseavailabletarget.js";
31
34
  export * from "./listresponsechannel.js";
32
35
  export * from "./listresponsechanneltarget.js";
33
36
  export * from "./listresponseconversation.js";
34
- export * from "./listresponsecustommessage.js";
37
+ export * from "./listresponsecustommessageresponse.js";
35
38
  export * from "./listresponsedirectorymember.js";
36
39
  export * from "./listresponseevent.js";
37
40
  export * from "./listresponseprompt.js";
@@ -46,6 +49,7 @@ export * from "./promptcreate.js";
46
49
  export * from "./prompthistory.js";
47
50
  export * from "./promptproperties.js";
48
51
  export * from "./promptupdate.js";
52
+ export * from "./provider.js";
49
53
  export * from "./security.js";
50
54
  export * from "./service.js";
51
55
  export * from "./servicecreate.js";
@@ -1 +1 @@
1
- {"version":3,"file":"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