@open-wa/wa-automate-types-only 4.67.0 → 4.69.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1883,15 +1883,7 @@ export declare class Client {
1883
1883
  */
1884
1884
  sendGiphyAsSticker(to: ChatId, giphyMediaUrl: URL | string): Promise<MessageId | string | boolean>;
1885
1885
  /**
1886
- * @deprecated
1887
- *
1888
- * :::danger
1889
- *
1890
- * Status features are broken for now. Please join our discord community for updates.
1891
- *
1892
- * :::
1893
- *
1894
- * [REQUIRES A TEXT STORY LICENSE-KEY](https://gum.co/open-wa)
1886
+ * {@license:restricted@}
1895
1887
  *
1896
1888
  * Sends a formatted text story.
1897
1889
  * @param text The text to be displayed in the story
@@ -1908,15 +1900,7 @@ export declare class Client {
1908
1900
  */
1909
1901
  postTextStatus(text: Content, textRgba: string, backgroundRgba: string, font: number): Promise<MessageId | string | boolean>;
1910
1902
  /**
1911
- * @deprecated
1912
- *
1913
- * :::danger
1914
- *
1915
- * Status features are broken for now. Please join our discord community for updates.
1916
- *
1917
- * :::
1918
- *
1919
- * [REQUIRES AN IMAGE STORY LICENSE-KEY](https://gum.co/open-wa)
1903
+ * {@license:restricted@}
1920
1904
  *
1921
1905
  * Posts an image story.
1922
1906
  * @param data data url string `data:[<MIME-type>][;charset=<encoding>][;base64],<data>`
@@ -1925,15 +1909,7 @@ export declare class Client {
1925
1909
  */
1926
1910
  postImageStatus(data: DataURL, caption: Content): Promise<MessageId | string | boolean>;
1927
1911
  /**
1928
- * @deprecated
1929
- *
1930
- * :::danger
1931
- *
1932
- * Status features are broken for now. Please join our discord community for updates.
1933
- *
1934
- * :::
1935
- *
1936
- * [REQUIRES A VIDEO STORY LICENSE-KEY](https://gum.co/open-wa)
1912
+ * {@license:restricted@}
1937
1913
  *
1938
1914
  * Posts a video story.
1939
1915
  * @param data data url string `data:[<MIME-type>][;charset=<encoding>][;base64],<data>`
@@ -1951,7 +1927,6 @@ export declare class Client {
1951
1927
  */
1952
1928
  deleteStory(statusesToDelete: string | string[]): Promise<boolean>;
1953
1929
  /**
1954
- * @deprecated
1955
1930
  * Alias for deleteStory
1956
1931
  */
1957
1932
  deleteStatus(statusesToDelete: string | string[]): Promise<boolean>;
@@ -1963,7 +1938,6 @@ export declare class Client {
1963
1938
  */
1964
1939
  deleteAllStories(): Promise<boolean>;
1965
1940
  /**
1966
- * @deprecated
1967
1941
  * Alias for deleteStory
1968
1942
  */
1969
1943
  deleteAllStatus(): Promise<boolean>;
@@ -1976,7 +1950,6 @@ export declare class Client {
1976
1950
  */
1977
1951
  getMyStoryArray(): Promise<Message[]>;
1978
1952
  /**
1979
- * @deprecated
1980
1953
  * Alias for deleteStory
1981
1954
  */
1982
1955
  getMyStatusArray(): Promise<Message[]>;
@@ -0,0 +1,6 @@
1
+ export declare const createCustomDomainTunnel: (cliConfig: any, PORT: number) => Promise<{
2
+ url: string;
3
+ connections: Promise<any>[];
4
+ child: any;
5
+ stop: () => Promise<void>;
6
+ }>;
@@ -17,7 +17,7 @@ export declare const setupMetaProcessMiddleware: (client: Client, cliConfig: any
17
17
  export declare const getCommands: () => any;
18
18
  export declare const listListeners: () => string[];
19
19
  export declare const setupMediaMiddleware: () => void;
20
- export declare const setupTunnel: (cliConfig: any, tunnelCode: string, PORT: number) => Promise<string>;
20
+ export declare const setupTunnel: (cliConfig: any, PORT: number) => Promise<string>;
21
21
  export declare const setupTwilioCompatibleWebhook: (cliConfig: cliFlags, client: Client) => void;
22
22
  export declare const setupChatwoot: (cliConfig: cliFlags, client: Client) => void;
23
23
  export declare const setupBotPressHandler: (cliConfig: cliFlags, client: Client) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.67.0",
3
+ "version": "4.69.0",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",