@open-wa/wa-automate-types-only 4.25.1 → 4.26.0

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.
@@ -0,0 +1,6 @@
1
+ import { Client } from '../..';
2
+ import { cliFlags } from '../server';
3
+ import { Request, Response } from "express";
4
+ export declare type expressMiddleware = (req: Request, res: Response) => Promise<Response<any, Record<string, any>>>;
5
+ export declare const chatwootMiddleware: (cliConfig: cliFlags, client: Client) => expressMiddleware;
6
+ export declare const setupChatwootOutgoingMessageHandler: (cliConfig: cliFlags, client: Client) => Promise<void>;
@@ -16,5 +16,6 @@ export declare const getCommands: () => any;
16
16
  export declare const listListeners: () => string[];
17
17
  export declare const setupMediaMiddleware: () => void;
18
18
  export declare const setupTwilioCompatibleWebhook: (cliConfig: cliFlags, client: Client) => void;
19
+ export declare const setupChatwoot: (cliConfig: cliFlags, client: Client) => void;
19
20
  export declare const setupBotPressHandler: (cliConfig: cliFlags, client: Client) => void;
20
21
  export declare const setupSocketServer: (cliConfig: any, client: Client) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.25.1",
3
+ "version": "4.26.0",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",