@wazo/sdk 0.39.0-beta.14 → 0.39.0-beta.15
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/README.md +7 -7
- package/dist/wazo-sdk.js +1 -1
- package/esm/api/dird.js +2 -2
- package/esm/domain/Contact.js +4 -3
- package/esm/domain/__tests__/Contact.test.js +200 -48
- package/esm/types/api/dird.d.ts.map +1 -1
- package/esm/types/domain/Contact.d.ts +1 -1
- package/esm/types/domain/Contact.d.ts.map +1 -1
- package/lib/api/dird.js +2 -2
- package/lib/domain/Contact.js +4 -3
- package/lib/domain/__tests__/Contact.test.js +175 -50
- package/lib/types/api/dird.d.ts.map +1 -1
- package/lib/types/domain/Contact.d.ts +1 -1
- package/lib/types/domain/Contact.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/dird.ts +3 -2
- package/src/domain/Contact.ts +4 -3
- package/src/domain/__tests__/Contact.test.ts +213 -54
package/README.md
CHANGED
|
@@ -833,14 +833,14 @@ client.confd.listApplications();
|
|
|
833
833
|
|
|
834
834
|
Use Dird to interact with directories.
|
|
835
835
|
```js
|
|
836
|
-
client.dird.search(context, term);
|
|
836
|
+
client.dird.search(context: string, term: string, offset: number, limit: number);
|
|
837
837
|
client.dird.listPersonalContacts();
|
|
838
|
-
client.dird.addContact(newContact);
|
|
839
|
-
client.dird.editContact(contact);
|
|
840
|
-
client.dird.deleteContact(contactUuid);
|
|
841
|
-
client.dird.listFavorites(context);
|
|
842
|
-
client.dird.markAsFavorite(source, sourceId);
|
|
843
|
-
client.dird.removeFavorite(source, sourceId);
|
|
838
|
+
client.dird.addContact(newContact: NewContact);
|
|
839
|
+
client.dird.editContact(contact: Contact);
|
|
840
|
+
client.dird.deleteContact(contactUuid: UUID);
|
|
841
|
+
client.dird.listFavorites(context: string);
|
|
842
|
+
client.dird.markAsFavorite(source: string, sourceId: string);
|
|
843
|
+
client.dird.removeFavorite(source: string, sourceId: string);
|
|
844
844
|
```
|
|
845
845
|
|
|
846
846
|
#### Agentd
|