File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const ZALO_MEDIA_SSRF_POLICY: SsrFPolicy = {};
1313
1414export type ZaloFetch = ( input : string , init ?: RequestInit ) => Promise < Response > ;
1515
16- export type ZaloApiResponse < T = unknown > = {
16+ type ZaloApiResponse < T = unknown > = {
1717 ok : boolean ;
1818 result ?: T ;
1919 error_code ?: number ;
@@ -57,34 +57,34 @@ export type ZaloUpdate = {
5757 message ?: ZaloMessage ;
5858} ;
5959
60- export type ZaloSendMessageParams = {
60+ type ZaloSendMessageParams = {
6161 chat_id : string ;
6262 text : string ;
6363} ;
6464
65- export type ZaloSendPhotoParams = {
65+ type ZaloSendPhotoParams = {
6666 chat_id : string ;
6767 photo : string ;
6868 caption ?: string ;
6969} ;
7070
71- export type ZaloSendChatActionParams = {
71+ type ZaloSendChatActionParams = {
7272 chat_id : string ;
7373 action : "typing" | "upload_photo" ;
7474} ;
7575
76- export type ZaloSetWebhookParams = {
76+ type ZaloSetWebhookParams = {
7777 url : string ;
7878 secret_token : string ;
7979} ;
8080
81- export type ZaloWebhookInfo = {
81+ type ZaloWebhookInfo = {
8282 url ?: string ;
8383 updated_at ?: number ;
8484 has_custom_certificate ?: boolean ;
8585} ;
8686
87- export type ZaloGetUpdatesParams = {
87+ type ZaloGetUpdatesParams = {
8888 /** Timeout in seconds (passed as string to API) */
8989 timeout ?: number ;
9090} ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { MarkdownTableMode } from "openclaw/plugin-sdk/config-contracts";
33import { resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload" ;
44import type { OutboundReplyPayload } from "openclaw/plugin-sdk/reply-payload" ;
55
6- export type ZaloDurableReplyOptions = {
6+ type ZaloDurableReplyOptions = {
77 to : string ;
88} ;
99
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ import {
4949 tryHandleHostedZaloMediaRequest ,
5050} from "./outbound-media.js" ;
5151
52- export type ZaloMonitorOptions = {
52+ type ZaloMonitorOptions = {
5353 token : string ;
5454 account : ResolvedZaloAccount ;
5555 config : OpenClawConfig ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import {
2424
2525const ZALO_WEBHOOK_REPLAY_WINDOW_MS = 5 * 60_000 ;
2626
27- export type ZaloWebhookTarget = {
27+ type ZaloWebhookTarget = {
2828 token : string ;
2929 account : ResolvedZaloAccount ;
3030 config : OpenClawConfig ;
You can’t perform that action at this time.
0 commit comments