syllable-sdk 1.0.17 → 1.0.18-rc.2
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/_speakeasy/.github/action-inputs-config.json +53 -0
- package/_speakeasy/.github/action-security-config.json +88 -0
- package/bin/mcp-server.js +24407 -6069
- package/bin/mcp-server.js.map +191 -25
- package/examples/package-lock.json +2 -2
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/prompts.d.ts +3 -3
- package/mcp-server/prompts.d.ts.map +1 -1
- package/mcp-server/prompts.js.map +1 -1
- package/mcp-server/resources.d.ts +3 -3
- package/mcp-server/resources.d.ts.map +1 -1
- package/mcp-server/resources.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +1 -1
- package/mcp-server/tools/agentsDelete.d.ts +1 -1
- package/mcp-server/tools/agentsGetById.d.ts +1 -1
- package/mcp-server/tools/agentsList.d.ts +1 -1
- package/mcp-server/tools/agentsTestSendTestMessage.d.ts +1 -1
- package/mcp-server/tools/agentsUpdate.d.ts +1 -1
- package/mcp-server/tools/channelsCreate.d.ts +1 -1
- package/mcp-server/tools/channelsDelete.d.ts +1 -1
- package/mcp-server/tools/channelsList.d.ts +1 -1
- package/mcp-server/tools/channelsTargetsAvailableTargets.d.ts +1 -1
- package/mcp-server/tools/channelsTargetsCreate.d.ts +1 -1
- package/mcp-server/tools/channelsTargetsGetById.d.ts +1 -1
- package/mcp-server/tools/channelsTargetsList.d.ts +1 -1
- package/mcp-server/tools/channelsTargetsUpdate.d.ts +1 -1
- package/mcp-server/tools/channelsTwilioCreate.d.ts +1 -1
- package/mcp-server/tools/channelsTwilioGetById.d.ts +1 -1
- package/mcp-server/tools/channelsTwilioNumbersAdd.d.ts +1 -1
- package/mcp-server/tools/channelsTwilioNumbersList.d.ts +1 -1
- package/mcp-server/tools/channelsTwilioNumbersUpdate.d.ts +1 -1
- package/mcp-server/tools/channelsTwilioUpdate.d.ts +1 -1
- package/mcp-server/tools/channelsUpdate.d.ts +1 -1
- package/mcp-server/tools/conversationConfigGetBridgePhrasesConfig.d.ts +1 -1
- package/mcp-server/tools/conversationConfigUpdateBridgePhrasesConfig.d.ts +1 -1
- package/mcp-server/tools/conversationsList.d.ts +1 -1
- package/mcp-server/tools/customMessagesCreate.d.ts +1 -1
- package/mcp-server/tools/customMessagesDelete.d.ts +1 -1
- package/mcp-server/tools/customMessagesGetById.d.ts +1 -1
- package/mcp-server/tools/customMessagesList.d.ts +1 -1
- package/mcp-server/tools/customMessagesUpdate.d.ts +1 -1
- package/mcp-server/tools/dashboardsPostGetDashboard.d.ts +1 -1
- package/mcp-server/tools/dashboardsPostListDashboard.d.ts +1 -1
- package/mcp-server/tools/dataSourcesCreate.d.ts +1 -1
- package/mcp-server/tools/dataSourcesDelete.d.ts +1 -1
- package/mcp-server/tools/dataSourcesGetById.d.ts +1 -1
- package/mcp-server/tools/dataSourcesList.d.ts +1 -1
- package/mcp-server/tools/dataSourcesUpdate.d.ts +1 -1
- package/mcp-server/tools/directoryCreate.d.ts +1 -1
- package/mcp-server/tools/directoryDelete.d.ts +1 -1
- package/mcp-server/tools/directoryDirectoryMemberBulkLoad.d.ts +1 -1
- package/mcp-server/tools/directoryDirectoryMemberDownload.d.ts +1 -1
- package/mcp-server/tools/directoryDirectoryMemberTestExtension.d.ts +1 -1
- package/mcp-server/tools/directoryGetById.d.ts +1 -1
- package/mcp-server/tools/directoryList.d.ts +1 -1
- package/mcp-server/tools/directoryUpdate.d.ts +1 -1
- package/mcp-server/tools/eventsList.d.ts +1 -1
- package/mcp-server/tools/incidentsCreate.d.ts +1 -1
- package/mcp-server/tools/incidentsDelete.d.ts +1 -1
- package/mcp-server/tools/incidentsGetById.d.ts +1 -1
- package/mcp-server/tools/incidentsList.d.ts +1 -1
- package/mcp-server/tools/incidentsUpdate.d.ts +1 -1
- package/mcp-server/tools/insightsFoldersCreate.d.ts +1 -1
- package/mcp-server/tools/insightsFoldersDelete.d.ts +1 -1
- package/mcp-server/tools/insightsFoldersGetById.d.ts +1 -1
- package/mcp-server/tools/insightsFoldersList.d.ts +1 -1
- package/mcp-server/tools/insightsFoldersListFiles.d.ts +1 -1
- package/mcp-server/tools/insightsFoldersMoveFiles.d.ts +1 -1
- package/mcp-server/tools/insightsFoldersUpdate.d.ts +1 -1
- package/mcp-server/tools/insightsFoldersUploadFile.d.ts +1 -1
- package/mcp-server/tools/insightsList.d.ts +1 -1
- package/mcp-server/tools/insightsToolsCreate.d.ts +1 -1
- package/mcp-server/tools/insightsToolsDelete.d.ts +1 -1
- package/mcp-server/tools/insightsToolsGetById.d.ts +1 -1
- package/mcp-server/tools/insightsToolsInsightsToolTest.d.ts +1 -1
- package/mcp-server/tools/insightsToolsList.d.ts +1 -1
- package/mcp-server/tools/insightsToolsUpdate.d.ts +1 -1
- package/mcp-server/tools/insightsWorkflowsActivate.d.ts +1 -1
- package/mcp-server/tools/insightsWorkflowsCreate.d.ts +1 -1
- package/mcp-server/tools/insightsWorkflowsDelete.d.ts +1 -1
- package/mcp-server/tools/insightsWorkflowsGetById.d.ts +1 -1
- package/mcp-server/tools/insightsWorkflowsInactivate.d.ts +1 -1
- package/mcp-server/tools/insightsWorkflowsList.d.ts +1 -1
- package/mcp-server/tools/insightsWorkflowsQueueWork.d.ts +1 -1
- package/mcp-server/tools/insightsWorkflowsUpdate.d.ts +1 -1
- package/mcp-server/tools/languageGroupsCreate.d.ts +1 -1
- package/mcp-server/tools/languageGroupsDelete.d.ts +1 -1
- package/mcp-server/tools/languageGroupsGetById.d.ts +1 -1
- package/mcp-server/tools/languageGroupsLanguageGroupsCreateVoiceSample.d.ts +1 -1
- package/mcp-server/tools/languageGroupsList.d.ts +1 -1
- package/mcp-server/tools/languageGroupsUpdate.d.ts +1 -1
- package/mcp-server/tools/organizationsCreate.d.ts +1 -1
- package/mcp-server/tools/organizationsDelete.d.ts +1 -1
- package/mcp-server/tools/organizationsUpdate.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesAdd.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesCreate.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesDelete.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesGetById.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesList.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesRemove.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesResults.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesUpdate.d.ts +1 -1
- package/mcp-server/tools/outboundBatchesUpload.d.ts +1 -1
- package/mcp-server/tools/outboundCampaignsCreate.d.ts +1 -1
- package/mcp-server/tools/outboundCampaignsDelete.d.ts +1 -1
- package/mcp-server/tools/outboundCampaignsGetById.d.ts +1 -1
- package/mcp-server/tools/outboundCampaignsList.d.ts +1 -1
- package/mcp-server/tools/outboundCampaignsUpdate.d.ts +1 -1
- package/mcp-server/tools/promptsCreate.d.ts +1 -1
- package/mcp-server/tools/promptsDelete.d.ts +1 -1
- package/mcp-server/tools/promptsGetById.d.ts +1 -1
- package/mcp-server/tools/promptsList.d.ts +1 -1
- package/mcp-server/tools/promptsPromptsHistory.d.ts +1 -1
- package/mcp-server/tools/promptsUpdate.d.ts +1 -1
- package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.d.ts +1 -1
- package/mcp-server/tools/rolesCreate.d.ts +1 -1
- package/mcp-server/tools/rolesDelete.d.ts +1 -1
- package/mcp-server/tools/rolesGetById.d.ts +1 -1
- package/mcp-server/tools/rolesList.d.ts +1 -1
- package/mcp-server/tools/rolesUpdate.d.ts +1 -1
- package/mcp-server/tools/servicesCreate.d.ts +1 -1
- package/mcp-server/tools/servicesDelete.d.ts +1 -1
- package/mcp-server/tools/servicesGetById.d.ts +1 -1
- package/mcp-server/tools/servicesList.d.ts +1 -1
- package/mcp-server/tools/servicesUpdate.d.ts +1 -1
- package/mcp-server/tools/sessionDebugGetSessionDataBySessionId.d.ts +1 -1
- package/mcp-server/tools/sessionDebugGetSessionDataBySid.d.ts +1 -1
- package/mcp-server/tools/sessionDebugGetSessionToolCallResultById.d.ts +1 -1
- package/mcp-server/tools/sessionLabelsCreate.d.ts +1 -1
- package/mcp-server/tools/sessionLabelsGetById.d.ts +1 -1
- package/mcp-server/tools/sessionLabelsList.d.ts +1 -1
- package/mcp-server/tools/sessionsFullSummaryGetById.d.ts +1 -1
- package/mcp-server/tools/sessionsGenerateSessionRecordingUrls.d.ts +1 -1
- package/mcp-server/tools/sessionsGetById.d.ts +1 -1
- package/mcp-server/tools/sessionsLatencyGetById.d.ts +1 -1
- package/mcp-server/tools/sessionsList.d.ts +1 -1
- package/mcp-server/tools/sessionsSessionRecordingStream.d.ts +1 -1
- package/mcp-server/tools/sessionsTranscriptGetById.d.ts +1 -1
- package/mcp-server/tools/takeoutsTakeoutsGetByJobId.d.ts +1 -1
- package/mcp-server/tools/takeoutsTakeoutsGetFile.d.ts +1 -1
- package/mcp-server/tools/toolsCreate.d.ts +1 -1
- package/mcp-server/tools/toolsDelete.d.ts +1 -1
- package/mcp-server/tools/toolsGetByName.d.ts +1 -1
- package/mcp-server/tools/toolsList.d.ts +1 -1
- package/mcp-server/tools/toolsUpdate.d.ts +1 -1
- package/mcp-server/tools/usersCreate.d.ts +1 -1
- package/mcp-server/tools/usersDelete.d.ts +1 -1
- package/mcp-server/tools/usersList.d.ts +1 -1
- package/mcp-server/tools/usersUpdate.d.ts +1 -1
- package/mcp-server/tools/usersUsersGetByEmail.d.ts +1 -1
- package/mcp-server/tools/usersUsersSendEmail.d.ts +1 -1
- package/mcp-server/tools/voiceGroupsCreate.d.ts +1 -1
- package/mcp-server/tools/voiceGroupsDelete.d.ts +1 -1
- package/mcp-server/tools/voiceGroupsGetById.d.ts +1 -1
- package/mcp-server/tools/voiceGroupsList.d.ts +1 -1
- package/mcp-server/tools/voiceGroupsUpdate.d.ts +1 -1
- package/mcp-server/tools/voiceGroupsVoiceGroupsCreateVoiceSample.d.ts +1 -1
- package/mcp-server/tools.d.ts +3 -3
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js.map +1 -1
- package/models/components/custommessagecreaterequest.d.ts +5 -0
- package/models/components/custommessagecreaterequest.d.ts.map +1 -1
- package/models/components/custommessagecreaterequest.js +2 -0
- package/models/components/custommessagecreaterequest.js.map +1 -1
- package/models/components/custommessageresponse.d.ts +5 -0
- package/models/components/custommessageresponse.d.ts.map +1 -1
- package/models/components/custommessageresponse.js +2 -0
- package/models/components/custommessageresponse.js.map +1 -1
- package/models/components/custommessageupdaterequest.d.ts +5 -0
- package/models/components/custommessageupdaterequest.d.ts.map +1 -1
- package/models/components/custommessageupdaterequest.js +2 -0
- package/models/components/custommessageupdaterequest.js.map +1 -1
- package/openapi.json +78 -33
- package/package.json +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/prompts.ts +7 -3
- package/src/mcp-server/resources.ts +7 -3
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools.ts +7 -3
- package/src/models/components/custommessagecreaterequest.ts +7 -0
- package/src/models/components/custommessageresponse.ts +7 -0
- package/src/models/components/custommessageupdaterequest.ts +7 -0
|
@@ -10,6 +10,10 @@ export type CustomMessageCreateRequest = {
|
|
|
10
10
|
* The name of the custom message
|
|
11
11
|
*/
|
|
12
12
|
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* An optional preamble that will be delivered before the main message, regardless of whether the current time and date match a rule or the system uses the default message. Cannot contain the "{{"{{"}} language.mode }}" tag. In the case of a voice conversation, the user will not be able to interrupt the preamble. Can be used for e.g. legal disclaimers that the user must always see/hear.
|
|
15
|
+
*/
|
|
16
|
+
preamble?: string | null | undefined;
|
|
13
17
|
/**
|
|
14
18
|
* The default message that the agent will deliver if no rules are set or no rules match the current timestamp.
|
|
15
19
|
*/
|
|
@@ -32,6 +36,7 @@ export declare const CustomMessageCreateRequest$inboundSchema: z.ZodType<CustomM
|
|
|
32
36
|
/** @internal */
|
|
33
37
|
export type CustomMessageCreateRequest$Outbound = {
|
|
34
38
|
name: string;
|
|
39
|
+
preamble?: string | null | undefined;
|
|
35
40
|
text: string;
|
|
36
41
|
label?: string | null | undefined;
|
|
37
42
|
rules?: Array<CustomMessageRule$Outbound> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessagecreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessagecreaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;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,KAAK,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,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,
|
|
1
|
+
{"version":3,"file":"custommessagecreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessagecreaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KA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1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AACD,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -45,6 +45,7 @@ const custommessagerule_js_1 = require("./custommessagerule.js");
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
exports.CustomMessageCreateRequest$inboundSchema = z.object({
|
|
47
47
|
name: z.string(),
|
|
48
|
+
preamble: z.nullable(z.string()).optional(),
|
|
48
49
|
text: z.string(),
|
|
49
50
|
label: z.nullable(z.string()).optional(),
|
|
50
51
|
rules: z.array(custommessagerule_js_1.CustomMessageRule$inboundSchema).optional(),
|
|
@@ -53,6 +54,7 @@ exports.CustomMessageCreateRequest$inboundSchema = z.object({
|
|
|
53
54
|
/** @internal */
|
|
54
55
|
exports.CustomMessageCreateRequest$outboundSchema = z.object({
|
|
55
56
|
name: z.string(),
|
|
57
|
+
preamble: z.nullable(z.string()).optional(),
|
|
56
58
|
text: z.string(),
|
|
57
59
|
label: z.nullable(z.string()).optional(),
|
|
58
60
|
rules: z.array(custommessagerule_js_1.CustomMessageRule$outboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessagecreaterequest.js","sourceRoot":"","sources":["../../src/models/components/custommessagecreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"custommessagecreaterequest.js","sourceRoot":"","sources":["../../src/models/components/custommessagecreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFH,4EAMC;AACD,gFAQC;AA7FD,0CAA4B;AAC5B,qDAAiD;AAGjD,iEAKgC;AAgChC,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,M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AC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -17,6 +17,10 @@ export type CustomMessageResponse = {
|
|
|
17
17
|
* The name of the custom message
|
|
18
18
|
*/
|
|
19
19
|
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* An optional preamble that will be delivered before the main message, regardless of whether the current time and date match a rule or the system uses the default message. Cannot contain the "{{"{{"}} language.mode }}" tag. In the case of a voice conversation, the user will not be able to interrupt the preamble. Can be used for e.g. legal disclaimers that the user must always see/hear.
|
|
22
|
+
*/
|
|
23
|
+
preamble?: string | null | undefined;
|
|
20
24
|
/**
|
|
21
25
|
* The default message that the agent will deliver if no rules are set or no rules match the current timestamp.
|
|
22
26
|
*/
|
|
@@ -55,6 +59,7 @@ export declare const CustomMessageResponse$inboundSchema: z.ZodType<CustomMessag
|
|
|
55
59
|
/** @internal */
|
|
56
60
|
export type CustomMessageResponse$Outbound = {
|
|
57
61
|
name: string;
|
|
62
|
+
preamble?: string | null | undefined;
|
|
58
63
|
text: string;
|
|
59
64
|
label?: string | null | undefined;
|
|
60
65
|
rules?: Array<CustomMessageRule$Outbound> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;;;GASG;AACH,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,KAAK,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,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,
|
|
1
|
+
{"version":3,"file":"custommessageresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;;;GASG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,EAAE,E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
46
|
/** @internal */
|
|
47
47
|
exports.CustomMessageResponse$inboundSchema = z.object({
|
|
48
48
|
name: z.string(),
|
|
49
|
+
preamble: z.nullable(z.string()).optional(),
|
|
49
50
|
text: z.string(),
|
|
50
51
|
label: z.nullable(z.string()).optional(),
|
|
51
52
|
rules: z.array(custommessagerule_js_1.CustomMessageRule$inboundSchema).optional(),
|
|
@@ -64,6 +65,7 @@ exports.CustomMessageResponse$inboundSchema = z.object({
|
|
|
64
65
|
/** @internal */
|
|
65
66
|
exports.CustomMessageResponse$outboundSchema = z.object({
|
|
66
67
|
name: z.string(),
|
|
68
|
+
preamble: z.nullable(z.string()).optional(),
|
|
67
69
|
text: z.string(),
|
|
68
70
|
label: z.nullable(z.string()).optional(),
|
|
69
71
|
rules: z.array(custommessagerule_js_1.CustomMessageRule$outboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageresponse.js","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"custommessageresponse.js","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgIH,kEAMC;AACD,sEAQC;AA7ID,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,iEAKgC;AAuDhC,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE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E,CAAC,GAAG,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACnD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,aAAa;QACzB,aAAa,EAAE,iBAAiB;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,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"}
|
|
@@ -10,6 +10,10 @@ export type CustomMessageUpdateRequest = {
|
|
|
10
10
|
* The name of the custom message
|
|
11
11
|
*/
|
|
12
12
|
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* An optional preamble that will be delivered before the main message, regardless of whether the current time and date match a rule or the system uses the default message. Cannot contain the "{{"{{"}} language.mode }}" tag. In the case of a voice conversation, the user will not be able to interrupt the preamble. Can be used for e.g. legal disclaimers that the user must always see/hear.
|
|
15
|
+
*/
|
|
16
|
+
preamble?: string | null | undefined;
|
|
13
17
|
/**
|
|
14
18
|
* The default message that the agent will deliver if no rules are set or no rules match the current timestamp.
|
|
15
19
|
*/
|
|
@@ -36,6 +40,7 @@ export declare const CustomMessageUpdateRequest$inboundSchema: z.ZodType<CustomM
|
|
|
36
40
|
/** @internal */
|
|
37
41
|
export type CustomMessageUpdateRequest$Outbound = {
|
|
38
42
|
name: string;
|
|
43
|
+
preamble?: string | null | undefined;
|
|
39
44
|
text: string;
|
|
40
45
|
label?: string | null | undefined;
|
|
41
46
|
rules?: Array<CustomMessageRule$Outbound> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageupdaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;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,KAAK,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,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,
|
|
1
|
+
{"version":3,"file":"custommessageupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageupdaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,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,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC;IACtD,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,CAS1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AACD,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -45,6 +45,7 @@ const custommessagerule_js_1 = require("./custommessagerule.js");
|
|
|
45
45
|
/** @internal */
|
|
46
46
|
exports.CustomMessageUpdateRequest$inboundSchema = z.object({
|
|
47
47
|
name: z.string(),
|
|
48
|
+
preamble: z.nullable(z.string()).optional(),
|
|
48
49
|
text: z.string(),
|
|
49
50
|
label: z.nullable(z.string()).optional(),
|
|
50
51
|
rules: z.array(custommessagerule_js_1.CustomMessageRule$inboundSchema).optional(),
|
|
@@ -54,6 +55,7 @@ exports.CustomMessageUpdateRequest$inboundSchema = z.object({
|
|
|
54
55
|
/** @internal */
|
|
55
56
|
exports.CustomMessageUpdateRequest$outboundSchema = z.object({
|
|
56
57
|
name: z.string(),
|
|
58
|
+
preamble: z.nullable(z.string()).optional(),
|
|
57
59
|
text: z.string(),
|
|
58
60
|
label: z.nullable(z.string()).optional(),
|
|
59
61
|
rules: z.array(custommessagerule_js_1.CustomMessageRule$outboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/custommessageupdaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"custommessageupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/custommessageupdaterequest.ts"],"names":[],"mappings":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CAAC;CACrC,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AACD,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"}
|
package/openapi.json
CHANGED
|
@@ -13990,7 +13990,7 @@
|
|
|
13990
13990
|
"title": "Batch Id",
|
|
13991
13991
|
"description": "Unique ID for conversation batch",
|
|
13992
13992
|
"examples": [
|
|
13993
|
-
"
|
|
13993
|
+
"20251219.9"
|
|
13994
13994
|
]
|
|
13995
13995
|
},
|
|
13996
13996
|
"campaign_id": {
|
|
@@ -14014,7 +14014,7 @@
|
|
|
14014
14014
|
"title": "Expires On",
|
|
14015
14015
|
"description": "Timestamp of batch expiration",
|
|
14016
14016
|
"examples": [
|
|
14017
|
-
"2025-12-
|
|
14017
|
+
"2025-12-20T00:00:00Z"
|
|
14018
14018
|
]
|
|
14019
14019
|
},
|
|
14020
14020
|
"paused": {
|
|
@@ -14067,7 +14067,7 @@
|
|
|
14067
14067
|
"title": "Created At",
|
|
14068
14068
|
"description": "Timestamp of batch creation",
|
|
14069
14069
|
"examples": [
|
|
14070
|
-
"2025-12-
|
|
14070
|
+
"2025-12-19T00:00:00Z"
|
|
14071
14071
|
]
|
|
14072
14072
|
},
|
|
14073
14073
|
"deleted_at": {
|
|
@@ -14083,7 +14083,7 @@
|
|
|
14083
14083
|
"title": "Deleted At",
|
|
14084
14084
|
"description": "Timestamp of batch deletion",
|
|
14085
14085
|
"examples": [
|
|
14086
|
-
"2025-12-
|
|
14086
|
+
"2025-12-19T00:00:00Z"
|
|
14087
14087
|
]
|
|
14088
14088
|
},
|
|
14089
14089
|
"deleted_reason": {
|
|
@@ -14114,7 +14114,7 @@
|
|
|
14114
14114
|
"title": "Last Updated At",
|
|
14115
14115
|
"description": "Timestamp of last change to batch",
|
|
14116
14116
|
"examples": [
|
|
14117
|
-
"2025-12-
|
|
14117
|
+
"2025-12-19T00:00:00Z"
|
|
14118
14118
|
]
|
|
14119
14119
|
},
|
|
14120
14120
|
"last_updated_by": {
|
|
@@ -15021,7 +15021,7 @@
|
|
|
15021
15021
|
"title": "Batch Id",
|
|
15022
15022
|
"description": "Unique ID for conversation batch",
|
|
15023
15023
|
"examples": [
|
|
15024
|
-
"
|
|
15024
|
+
"20251219.9"
|
|
15025
15025
|
]
|
|
15026
15026
|
},
|
|
15027
15027
|
"campaign_id": {
|
|
@@ -15045,7 +15045,7 @@
|
|
|
15045
15045
|
"title": "Expires On",
|
|
15046
15046
|
"description": "Timestamp of batch expiration",
|
|
15047
15047
|
"examples": [
|
|
15048
|
-
"2025-12-
|
|
15048
|
+
"2025-12-20T00:00:00Z"
|
|
15049
15049
|
]
|
|
15050
15050
|
},
|
|
15051
15051
|
"paused": {
|
|
@@ -15098,7 +15098,7 @@
|
|
|
15098
15098
|
"title": "Created At",
|
|
15099
15099
|
"description": "Timestamp of batch creation",
|
|
15100
15100
|
"examples": [
|
|
15101
|
-
"2025-12-
|
|
15101
|
+
"2025-12-19T00:00:00Z"
|
|
15102
15102
|
]
|
|
15103
15103
|
},
|
|
15104
15104
|
"deleted_at": {
|
|
@@ -15114,7 +15114,7 @@
|
|
|
15114
15114
|
"title": "Deleted At",
|
|
15115
15115
|
"description": "Timestamp of batch deletion",
|
|
15116
15116
|
"examples": [
|
|
15117
|
-
"2025-12-
|
|
15117
|
+
"2025-12-19T00:00:00Z"
|
|
15118
15118
|
]
|
|
15119
15119
|
},
|
|
15120
15120
|
"deleted_reason": {
|
|
@@ -15145,7 +15145,7 @@
|
|
|
15145
15145
|
"title": "Last Updated At",
|
|
15146
15146
|
"description": "Timestamp of last change to batch",
|
|
15147
15147
|
"examples": [
|
|
15148
|
-
"2025-12-
|
|
15148
|
+
"2025-12-19T00:00:00Z"
|
|
15149
15149
|
]
|
|
15150
15150
|
},
|
|
15151
15151
|
"last_updated_by": {
|
|
@@ -15188,7 +15188,7 @@
|
|
|
15188
15188
|
"title": "Batch Id",
|
|
15189
15189
|
"description": "Unique ID for conversation batch",
|
|
15190
15190
|
"examples": [
|
|
15191
|
-
"
|
|
15191
|
+
"20251219.9"
|
|
15192
15192
|
]
|
|
15193
15193
|
},
|
|
15194
15194
|
"campaign_id": {
|
|
@@ -15212,7 +15212,7 @@
|
|
|
15212
15212
|
"title": "Expires On",
|
|
15213
15213
|
"description": "Timestamp of batch expiration",
|
|
15214
15214
|
"examples": [
|
|
15215
|
-
"2025-12-
|
|
15215
|
+
"2025-12-20T00:00:00Z"
|
|
15216
15216
|
]
|
|
15217
15217
|
},
|
|
15218
15218
|
"paused": {
|
|
@@ -15361,7 +15361,7 @@
|
|
|
15361
15361
|
"title": "Created At",
|
|
15362
15362
|
"description": "Timestamp of request creation",
|
|
15363
15363
|
"examples": [
|
|
15364
|
-
"2025-12-
|
|
15364
|
+
"2025-12-18T00:00:00Z"
|
|
15365
15365
|
]
|
|
15366
15366
|
},
|
|
15367
15367
|
"sent_at": {
|
|
@@ -15377,7 +15377,7 @@
|
|
|
15377
15377
|
"title": "Sent At",
|
|
15378
15378
|
"description": "Timestamp at which request was sent",
|
|
15379
15379
|
"examples": [
|
|
15380
|
-
"2025-12-
|
|
15380
|
+
"2025-12-19T00:00:00Z"
|
|
15381
15381
|
]
|
|
15382
15382
|
},
|
|
15383
15383
|
"attempt_count": {
|
|
@@ -15965,6 +15965,21 @@
|
|
|
15965
15965
|
"Customer service greeting"
|
|
15966
15966
|
]
|
|
15967
15967
|
},
|
|
15968
|
+
"preamble": {
|
|
15969
|
+
"anyOf": [
|
|
15970
|
+
{
|
|
15971
|
+
"type": "string"
|
|
15972
|
+
},
|
|
15973
|
+
{
|
|
15974
|
+
"type": "null"
|
|
15975
|
+
}
|
|
15976
|
+
],
|
|
15977
|
+
"title": "Preamble",
|
|
15978
|
+
"description": "An optional preamble that will be delivered before the main message, regardless of whether the current time and date match a rule or the system uses the default message. Cannot contain the \"{{ language.mode }}\" tag. In the case of a voice conversation, the user will not be able to interrupt the preamble. Can be used for e.g. legal disclaimers that the user must always see/hear.",
|
|
15979
|
+
"examples": [
|
|
15980
|
+
"If this is an emergency, please hang up and call 911."
|
|
15981
|
+
]
|
|
15982
|
+
},
|
|
15968
15983
|
"text": {
|
|
15969
15984
|
"type": "string",
|
|
15970
15985
|
"title": "Text",
|
|
@@ -16060,6 +16075,21 @@
|
|
|
16060
16075
|
"Customer service greeting"
|
|
16061
16076
|
]
|
|
16062
16077
|
},
|
|
16078
|
+
"preamble": {
|
|
16079
|
+
"anyOf": [
|
|
16080
|
+
{
|
|
16081
|
+
"type": "string"
|
|
16082
|
+
},
|
|
16083
|
+
{
|
|
16084
|
+
"type": "null"
|
|
16085
|
+
}
|
|
16086
|
+
],
|
|
16087
|
+
"title": "Preamble",
|
|
16088
|
+
"description": "An optional preamble that will be delivered before the main message, regardless of whether the current time and date match a rule or the system uses the default message. Cannot contain the \"{{ language.mode }}\" tag. In the case of a voice conversation, the user will not be able to interrupt the preamble. Can be used for e.g. legal disclaimers that the user must always see/hear.",
|
|
16089
|
+
"examples": [
|
|
16090
|
+
"If this is an emergency, please hang up and call 911."
|
|
16091
|
+
]
|
|
16092
|
+
},
|
|
16063
16093
|
"text": {
|
|
16064
16094
|
"type": "string",
|
|
16065
16095
|
"title": "Text",
|
|
@@ -16294,6 +16324,21 @@
|
|
|
16294
16324
|
"Customer service greeting"
|
|
16295
16325
|
]
|
|
16296
16326
|
},
|
|
16327
|
+
"preamble": {
|
|
16328
|
+
"anyOf": [
|
|
16329
|
+
{
|
|
16330
|
+
"type": "string"
|
|
16331
|
+
},
|
|
16332
|
+
{
|
|
16333
|
+
"type": "null"
|
|
16334
|
+
}
|
|
16335
|
+
],
|
|
16336
|
+
"title": "Preamble",
|
|
16337
|
+
"description": "An optional preamble that will be delivered before the main message, regardless of whether the current time and date match a rule or the system uses the default message. Cannot contain the \"{{ language.mode }}\" tag. In the case of a voice conversation, the user will not be able to interrupt the preamble. Can be used for e.g. legal disclaimers that the user must always see/hear.",
|
|
16338
|
+
"examples": [
|
|
16339
|
+
"If this is an emergency, please hang up and call 911."
|
|
16340
|
+
]
|
|
16341
|
+
},
|
|
16297
16342
|
"text": {
|
|
16298
16343
|
"type": "string",
|
|
16299
16344
|
"title": "Text",
|
|
@@ -18261,7 +18306,7 @@
|
|
|
18261
18306
|
"title": "Created At",
|
|
18262
18307
|
"description": "Timestamp at which insight upload folder was created",
|
|
18263
18308
|
"examples": [
|
|
18264
|
-
"2025-12-
|
|
18309
|
+
"2025-12-18T00:00:00Z"
|
|
18265
18310
|
]
|
|
18266
18311
|
},
|
|
18267
18312
|
"updated_at": {
|
|
@@ -18270,7 +18315,7 @@
|
|
|
18270
18315
|
"title": "Updated At",
|
|
18271
18316
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
18272
18317
|
"examples": [
|
|
18273
|
-
"2025-12-
|
|
18318
|
+
"2025-12-19T00:00:00Z"
|
|
18274
18319
|
]
|
|
18275
18320
|
},
|
|
18276
18321
|
"last_updated_by": {
|
|
@@ -19240,7 +19285,7 @@
|
|
|
19240
19285
|
"title": "Created At",
|
|
19241
19286
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
19242
19287
|
"examples": [
|
|
19243
|
-
"2025-12-
|
|
19288
|
+
"2025-12-18T00:00:00Z"
|
|
19244
19289
|
]
|
|
19245
19290
|
},
|
|
19246
19291
|
"updated_at": {
|
|
@@ -19249,7 +19294,7 @@
|
|
|
19249
19294
|
"title": "Updated At",
|
|
19250
19295
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
19251
19296
|
"examples": [
|
|
19252
|
-
"2025-12-
|
|
19297
|
+
"2025-12-19T00:00:00Z"
|
|
19253
19298
|
]
|
|
19254
19299
|
},
|
|
19255
19300
|
"last_updated_by": {
|
|
@@ -19630,7 +19675,7 @@
|
|
|
19630
19675
|
"title": "Start Datetime",
|
|
19631
19676
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
19632
19677
|
"examples": [
|
|
19633
|
-
"2025-12-
|
|
19678
|
+
"2025-12-18T00:00:00Z"
|
|
19634
19679
|
]
|
|
19635
19680
|
},
|
|
19636
19681
|
"end_datetime": {
|
|
@@ -19646,7 +19691,7 @@
|
|
|
19646
19691
|
"title": "End Datetime",
|
|
19647
19692
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
19648
19693
|
"examples": [
|
|
19649
|
-
"2025-12-
|
|
19694
|
+
"2025-12-19T00:00:00Z"
|
|
19650
19695
|
]
|
|
19651
19696
|
}
|
|
19652
19697
|
},
|
|
@@ -19721,7 +19766,7 @@
|
|
|
19721
19766
|
"title": "Start Datetime",
|
|
19722
19767
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
19723
19768
|
"examples": [
|
|
19724
|
-
"2025-12-
|
|
19769
|
+
"2025-12-18T00:00:00Z"
|
|
19725
19770
|
]
|
|
19726
19771
|
},
|
|
19727
19772
|
"end_datetime": {
|
|
@@ -19737,7 +19782,7 @@
|
|
|
19737
19782
|
"title": "End Datetime",
|
|
19738
19783
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
19739
19784
|
"examples": [
|
|
19740
|
-
"2025-12-
|
|
19785
|
+
"2025-12-19T00:00:00Z"
|
|
19741
19786
|
]
|
|
19742
19787
|
},
|
|
19743
19788
|
"id": {
|
|
@@ -19790,7 +19835,7 @@
|
|
|
19790
19835
|
"title": "Created At",
|
|
19791
19836
|
"description": "Timestamp at which the insight workflow was created",
|
|
19792
19837
|
"examples": [
|
|
19793
|
-
"2025-12-
|
|
19838
|
+
"2025-12-18T00:00:00Z"
|
|
19794
19839
|
]
|
|
19795
19840
|
},
|
|
19796
19841
|
"updated_at": {
|
|
@@ -19799,7 +19844,7 @@
|
|
|
19799
19844
|
"title": "Updated At",
|
|
19800
19845
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
19801
19846
|
"examples": [
|
|
19802
|
-
"2025-12-
|
|
19847
|
+
"2025-12-19T00:00:00Z"
|
|
19803
19848
|
]
|
|
19804
19849
|
},
|
|
19805
19850
|
"last_updated_by": {
|
|
@@ -19895,7 +19940,7 @@
|
|
|
19895
19940
|
"title": "Created At",
|
|
19896
19941
|
"description": "Timestamp at which insight upload folder was created",
|
|
19897
19942
|
"examples": [
|
|
19898
|
-
"2025-12-
|
|
19943
|
+
"2025-12-18T00:00:00Z"
|
|
19899
19944
|
]
|
|
19900
19945
|
},
|
|
19901
19946
|
"updated_at": {
|
|
@@ -19904,7 +19949,7 @@
|
|
|
19904
19949
|
"title": "Updated At",
|
|
19905
19950
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
19906
19951
|
"examples": [
|
|
19907
|
-
"2025-12-
|
|
19952
|
+
"2025-12-19T00:00:00Z"
|
|
19908
19953
|
]
|
|
19909
19954
|
},
|
|
19910
19955
|
"last_updated_by": {
|
|
@@ -20139,7 +20184,7 @@
|
|
|
20139
20184
|
"title": "Created At",
|
|
20140
20185
|
"description": "Timestamp at which insight tool result was created",
|
|
20141
20186
|
"examples": [
|
|
20142
|
-
"2025-12-
|
|
20187
|
+
"2025-12-18T00:00:00Z"
|
|
20143
20188
|
]
|
|
20144
20189
|
},
|
|
20145
20190
|
"updated_at": {
|
|
@@ -20148,7 +20193,7 @@
|
|
|
20148
20193
|
"title": "Updated At",
|
|
20149
20194
|
"description": "Timestamp at which insight tool result was last updated",
|
|
20150
20195
|
"examples": [
|
|
20151
|
-
"2025-12-
|
|
20196
|
+
"2025-12-19T00:00:00Z"
|
|
20152
20197
|
]
|
|
20153
20198
|
},
|
|
20154
20199
|
"upload_file_metadata": {
|
|
@@ -20293,7 +20338,7 @@
|
|
|
20293
20338
|
"title": "Start Time",
|
|
20294
20339
|
"description": "Start time of the uploaded file",
|
|
20295
20340
|
"examples": [
|
|
20296
|
-
"2025-12-
|
|
20341
|
+
"2025-12-18T00:00:00Z"
|
|
20297
20342
|
]
|
|
20298
20343
|
},
|
|
20299
20344
|
"end_time": {
|
|
@@ -20309,7 +20354,7 @@
|
|
|
20309
20354
|
"title": "End Time",
|
|
20310
20355
|
"description": "End time of the uploaded file",
|
|
20311
20356
|
"examples": [
|
|
20312
|
-
"2025-12-
|
|
20357
|
+
"2025-12-19T00:00:00Z"
|
|
20313
20358
|
]
|
|
20314
20359
|
},
|
|
20315
20360
|
"error_message": {
|
|
@@ -20364,7 +20409,7 @@
|
|
|
20364
20409
|
"title": "Created At",
|
|
20365
20410
|
"description": "Timestamp at which insight upload file was created",
|
|
20366
20411
|
"examples": [
|
|
20367
|
-
"2025-12-
|
|
20412
|
+
"2025-12-18T00:00:00Z"
|
|
20368
20413
|
]
|
|
20369
20414
|
}
|
|
20370
20415
|
},
|
|
@@ -23723,7 +23768,7 @@
|
|
|
23723
23768
|
"title": "Created At",
|
|
23724
23769
|
"description": "Timestamp of campaign creation",
|
|
23725
23770
|
"examples": [
|
|
23726
|
-
"2025-12-
|
|
23771
|
+
"2025-12-19T00:00:00Z"
|
|
23727
23772
|
]
|
|
23728
23773
|
},
|
|
23729
23774
|
"updated_at": {
|
|
@@ -23732,7 +23777,7 @@
|
|
|
23732
23777
|
"title": "Updated At",
|
|
23733
23778
|
"description": "Timestamp of campaign update",
|
|
23734
23779
|
"examples": [
|
|
23735
|
-
"2025-12-
|
|
23780
|
+
"2025-12-19T00:00:00Z"
|
|
23736
23781
|
]
|
|
23737
23782
|
},
|
|
23738
23783
|
"last_updated_by": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "syllable-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18-rc.2",
|
|
4
4
|
"author": "Syllable",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mcp": "bin/mcp-server.js"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typescript-eslint": "^8.26.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@modelcontextprotocol/sdk": "
|
|
36
|
+
"@modelcontextprotocol/sdk": "^1.24.0",
|
|
37
37
|
"zod": "^3.25.0 || ^4.0.0"
|
|
38
38
|
}
|
|
39
39
|
}
|
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.3",
|
|
64
|
-
sdkVersion: "1.0.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
64
|
+
sdkVersion: "1.0.18-rc.2",
|
|
65
|
+
genVersion: "2.788.5",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.18-rc.2 2.788.5 0.0.3 syllable-sdk",
|
|
67
67
|
} as const;
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
6
6
|
import { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js";
|
|
7
|
-
import {
|
|
7
|
+
import {
|
|
8
|
+
GetPromptResult,
|
|
9
|
+
ServerNotification,
|
|
10
|
+
ServerRequest,
|
|
11
|
+
} from "@modelcontextprotocol/sdk/types.js";
|
|
8
12
|
import {
|
|
9
13
|
objectOutputType,
|
|
10
14
|
ZodOptional,
|
|
@@ -33,7 +37,7 @@ export type PromptDefinition<
|
|
|
33
37
|
prompt: (
|
|
34
38
|
client: SyllableSDKCore,
|
|
35
39
|
args: objectOutputType<Args, ZodTypeAny>,
|
|
36
|
-
extra: RequestHandlerExtra,
|
|
40
|
+
extra: RequestHandlerExtra<ServerRequest, ServerNotification>,
|
|
37
41
|
) => GetPromptResult | Promise<GetPromptResult>;
|
|
38
42
|
}
|
|
39
43
|
: {
|
|
@@ -43,7 +47,7 @@ export type PromptDefinition<
|
|
|
43
47
|
args?: undefined;
|
|
44
48
|
prompt: (
|
|
45
49
|
client: SyllableSDKCore,
|
|
46
|
-
extra: RequestHandlerExtra,
|
|
50
|
+
extra: RequestHandlerExtra<ServerRequest, ServerNotification>,
|
|
47
51
|
) => GetPromptResult | Promise<GetPromptResult>;
|
|
48
52
|
};
|
|
49
53
|
|
|
@@ -9,7 +9,11 @@ import {
|
|
|
9
9
|
} from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
10
10
|
import { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js";
|
|
11
11
|
import { Variables } from "@modelcontextprotocol/sdk/shared/uriTemplate.js";
|
|
12
|
-
import {
|
|
12
|
+
import {
|
|
13
|
+
ReadResourceResult,
|
|
14
|
+
ServerNotification,
|
|
15
|
+
ServerRequest,
|
|
16
|
+
} from "@modelcontextprotocol/sdk/types.js";
|
|
13
17
|
import { SyllableSDKCore } from "../core.js";
|
|
14
18
|
import { ConsoleLogger } from "./console-logger.js";
|
|
15
19
|
import { MCPScope } from "./scopes.js";
|
|
@@ -18,7 +22,7 @@ import { isAsyncIterable, isBinaryData, valueToBase64 } from "./shared.js";
|
|
|
18
22
|
export type ReadResourceCallback = (
|
|
19
23
|
client: SyllableSDKCore,
|
|
20
24
|
uri: URL,
|
|
21
|
-
extra: RequestHandlerExtra,
|
|
25
|
+
extra: RequestHandlerExtra<ServerRequest, ServerNotification>,
|
|
22
26
|
) => ReadResourceResult | Promise<ReadResourceResult>;
|
|
23
27
|
|
|
24
28
|
export type ResourceDefinition = {
|
|
@@ -34,7 +38,7 @@ export type ReadResourceTemplateCallback = (
|
|
|
34
38
|
client: SyllableSDKCore,
|
|
35
39
|
uri: URL,
|
|
36
40
|
vars: Variables,
|
|
37
|
-
extra: RequestHandlerExtra,
|
|
41
|
+
extra: RequestHandlerExtra<ServerRequest, ServerNotification>,
|
|
38
42
|
) => ReadResourceResult | Promise<ReadResourceResult>;
|
|
39
43
|
|
|
40
44
|
export type ResourceTemplateDefinition = {
|
package/src/mcp-server/server.ts
CHANGED