chore: optimization in instance registration

This commit is contained in:
Davidson Gomes
2024-06-07 08:28:22 -03:00
parent 0bb9940d05
commit eed32a3bd9
13 changed files with 164 additions and 318 deletions
+4 -6
View File
@@ -42,6 +42,7 @@ export declare namespace wa {
base64?: string;
code?: string;
};
export type Instance = {
id?: string;
qrcode?: QrCode;
@@ -51,6 +52,9 @@ export declare namespace wa {
wuid?: string;
profileName?: string;
profilePictureUrl?: string;
token?: string;
number?: string;
integration?: string;
};
export type LocalWebHook = {
@@ -130,12 +134,6 @@ export declare namespace wa {
password?: string;
};
export type LocalIntegration = {
integration?: string;
number?: string;
token?: string;
};
export type StateConnection = {
instance?: string;
state?: WAConnectionState | 'refused';