sanka-baileyss 2.0.6 → 2.0.7
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/lib/Types/Contact.d.ts +24 -35
- package/package.json +1 -1
package/lib/Types/Contact.d.ts
CHANGED
|
@@ -1,35 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
imgUrl: undefined,
|
|
26
|
-
status: undefined
|
|
27
|
-
};
|
|
28
|
-
exports.Contact = Contact;
|
|
29
|
-
|
|
30
|
-
const ContactAction = {
|
|
31
|
-
firstName: '',
|
|
32
|
-
fullName: '',
|
|
33
|
-
saveOnPrimaryAddressbook: false
|
|
34
|
-
};
|
|
35
|
-
exports.ContactAction = ContactAction;
|
|
1
|
+
export interface Contact {
|
|
2
|
+
id: string
|
|
3
|
+
lid?: string
|
|
4
|
+
/** name of the contact, you have saved on your WA */
|
|
5
|
+
name?: string
|
|
6
|
+
/** name of the contact, the contact has set on their own on WA */
|
|
7
|
+
notify?: string
|
|
8
|
+
/** I have no idea */
|
|
9
|
+
verifiedName?: string
|
|
10
|
+
/**
|
|
11
|
+
* Url of the profile picture of the contact
|
|
12
|
+
*
|
|
13
|
+
* 'changed' => if the profile picture has changed
|
|
14
|
+
* null => if the profile picture has not been set (default profile picture)
|
|
15
|
+
* any other string => url of the profile picture
|
|
16
|
+
*/
|
|
17
|
+
imgUrl?: string | null
|
|
18
|
+
status?: string
|
|
19
|
+
}
|
|
20
|
+
export type ContactAction = {
|
|
21
|
+
firstName: string
|
|
22
|
+
fullName: string
|
|
23
|
+
saveOnPrimaryAddressbook: boolean
|
|
24
|
+
}
|