File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export const sendblueEvaluateServiceTool: ToolConfig<
3131 request : {
3232 url : ( params ) => {
3333 const url = new URL ( `${ SENDBLUE_API_BASE_URL } /api/evaluate-service` )
34- url . searchParams . set ( 'number' , params . number )
34+ url . searchParams . set ( 'number' , params . number . trim ( ) )
3535 return url . toString ( )
3636 } ,
3737 method : 'GET' ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export const sendblueGetMessageTool: ToolConfig<
2727
2828 request : {
2929 url : ( params ) =>
30- `${ SENDBLUE_API_BASE_URL } /api/v2/messages/${ encodeURIComponent ( params . message_id ) } ` ,
30+ `${ SENDBLUE_API_BASE_URL } /api/v2/messages/${ encodeURIComponent ( params . message_id . trim ( ) ) } ` ,
3131 method : 'GET' ,
3232 headers : ( params ) => sendblueHeaders ( params ) ,
3333 } ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export interface SendblueSendMessageParams extends SendblueBaseParams {
2828 from_number : string
2929 content ?: string
3030 media_url ?: string
31- send_style ?: string
31+ send_style ?: SendblueSendStyle
3232 status_callback ?: string
3333}
3434
@@ -37,7 +37,7 @@ export interface SendblueSendGroupMessageParams extends SendblueBaseParams {
3737 from_number : string
3838 content ?: string
3939 media_url ?: string
40- send_style ?: string
40+ send_style ?: SendblueSendStyle
4141 group_id ?: string
4242 status_callback ?: string
4343}
You can’t perform that action at this time.
0 commit comments