UNPKG

n8n-nodes-wuzapi

Version:

n8n community nodes for Wuzapi - WhatsApp Multi-Device REST API

18 lines 2.88 kB
export declare const ACTION_RECORDED_PAGE = "\n<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Action Recorded</title>\n <style>\n body {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n margin: 0;\n background-color: #f5f5f5;\n }\n .container {\n text-align: center;\n padding: 2rem;\n background: white;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n max-width: 400px;\n }\n .checkmark {\n width: 56px;\n height: 56px;\n border-radius: 50%;\n background: #22c55e;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 1rem;\n }\n .checkmark svg {\n width: 32px;\n height: 32px;\n stroke: white;\n stroke-width: 3;\n }\n h1 {\n color: #333;\n font-size: 1.5rem;\n margin: 0 0 0.5rem 0;\n }\n p {\n color: #666;\n margin: 0;\n }\n </style>\n</head>\n<body>\n <div class=\"container\">\n <div class=\"checkmark\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\">\n <path d=\"M20 6L9 17L4 12\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n </div>\n <h1>Action Recorded</h1>\n <p>Your response has been received. You can close this window.</p>\n </div>\n</body>\n</html>\n"; export declare const BUTTON_STYLE_PRIMARY = "\n display: inline-block;\n padding: 12px 24px;\n margin: 4px;\n background-color: #ff6d5a;\n color: white;\n text-decoration: none;\n border-radius: 4px;\n font-weight: 500;\n font-size: 14px;\n"; export declare const BUTTON_STYLE_SECONDARY = "\n display: inline-block;\n padding: 12px 24px;\n margin: 4px;\n background-color: #e1e4e8;\n color: #24292e;\n text-decoration: none;\n border-radius: 4px;\n font-weight: 500;\n font-size: 14px;\n"; export declare function createWhatsAppTemplateMessage(message: string, buttons: Array<{ label: string; value: string; }>, instanceId?: string): { content: string; footer?: string; buttons: Array<any>; }; export declare function createWhatsAppButtonMessage(message: string, buttons: Array<{ label: string; value: string; }>): { body: string; }; //# sourceMappingURL=message-templates.d.ts.map