@wppconnect/wa-js 3.23.3 → 3.23.4
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## 3.23.
|
|
1
|
+
## 3.23.4 (2026-04-17)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* disconnection after reading qrcode - flushing during sync ([#3409](https://github.com/wppconnect-team/wa-js/issues/3409)) ([428ee01](https://github.com/wppconnect-team/wa-js/commit/428ee012c12dedc663991e8734af67876a9593af))
|
|
@@ -14,25 +14,56 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Wid } from './Wid';
|
|
17
|
+
export interface USyncQueryBizInfo {
|
|
18
|
+
verifiedName?: {
|
|
19
|
+
isApi: boolean;
|
|
20
|
+
level: string;
|
|
21
|
+
name: string;
|
|
22
|
+
privacyMode: any;
|
|
23
|
+
serial: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface USyncQueryListItem {
|
|
27
|
+
id?: Wid;
|
|
28
|
+
business?: USyncQueryBizInfo;
|
|
29
|
+
disappearing_mode?: {
|
|
30
|
+
duration?: number;
|
|
31
|
+
t?: number;
|
|
32
|
+
};
|
|
33
|
+
status?: string;
|
|
34
|
+
lid?: string | {
|
|
35
|
+
_serialized: string;
|
|
36
|
+
};
|
|
37
|
+
contact?: {
|
|
38
|
+
type?: 'in' | 'out';
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export interface USyncQueryResult {
|
|
42
|
+
error?: {
|
|
43
|
+
all?: unknown;
|
|
44
|
+
contact?: unknown;
|
|
45
|
+
};
|
|
46
|
+
list?: USyncQueryListItem[];
|
|
47
|
+
}
|
|
17
48
|
/**
|
|
18
49
|
* @whatsapp 459857
|
|
19
50
|
*/
|
|
20
51
|
export declare class USyncQuery {
|
|
21
52
|
constructor();
|
|
22
53
|
$1(): any;
|
|
23
|
-
execute():
|
|
24
|
-
withBotProfileProtocol():
|
|
25
|
-
withBusinessProtocol():
|
|
26
|
-
withContactProtocol():
|
|
27
|
-
withContext(a: any):
|
|
28
|
-
withDeviceProtocol():
|
|
29
|
-
withDisappearingModeProtocol():
|
|
30
|
-
withFeaturesProtocol(a: any):
|
|
31
|
-
withLidProtocol():
|
|
32
|
-
withMode(a: any):
|
|
33
|
-
withPictureProtocol():
|
|
34
|
-
withStatusProtocol():
|
|
35
|
-
withTextStatusProtocol():
|
|
36
|
-
withUser(a: any):
|
|
37
|
-
withUsernameProtocol():
|
|
54
|
+
execute(): Promise<USyncQueryResult>;
|
|
55
|
+
withBotProfileProtocol(): USyncQuery;
|
|
56
|
+
withBusinessProtocol(): USyncQuery;
|
|
57
|
+
withContactProtocol(): USyncQuery;
|
|
58
|
+
withContext(a: any): USyncQuery;
|
|
59
|
+
withDeviceProtocol(): USyncQuery;
|
|
60
|
+
withDisappearingModeProtocol(): USyncQuery;
|
|
61
|
+
withFeaturesProtocol(a: any): USyncQuery;
|
|
62
|
+
withLidProtocol(): USyncQuery;
|
|
63
|
+
withMode(a: any): USyncQuery;
|
|
64
|
+
withPictureProtocol(): USyncQuery;
|
|
65
|
+
withStatusProtocol(): USyncQuery;
|
|
66
|
+
withTextStatusProtocol(): USyncQuery;
|
|
67
|
+
withUser(a: any): USyncQuery;
|
|
68
|
+
withUsernameProtocol(): USyncQuery;
|
|
38
69
|
}
|