@vitrina/api 14.115.0 → 14.117.0
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/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -29146,7 +29146,9 @@ interface paths {
|
|
|
29146
29146
|
*
|
|
29147
29147
|
* Rows carry two badge arrays the stored contact does not: `channels` (the distinct `contact_channel` kinds) and `lead_sources` (the distinct `lead.source` values), plus `tags` — every tag on the contact as `{ id, name, display_name }` (`name` is the slug, `display_name` the label), oldest attachment first. **`lead_sources` outranks `origin_channel`** — provenance derived from real leads beats the one an operator typed, so `origin_channel` is only the answer when `lead_sources` is empty.
|
|
29148
29148
|
*
|
|
29149
|
-
* The filters combine and every one of them is optional: `lifecycle_stage`, `channel` (a linked channel of that kind), `lead_source`, `tag_id`, `company_id` (a uuid, or the literal `none` for the contacts that belong to no company) and `exclude_id`.
|
|
29149
|
+
* The filters combine and every one of them is optional: `lifecycle_stage`, `channel` (a linked channel of that kind), `lead_source`, `tag_id`, `company_id` (a uuid, or the literal `none` for the contacts that belong to no company), `instagram` and `exclude_id`.
|
|
29150
|
+
*
|
|
29151
|
+
* `instagram` is an EXACT match on the contact's Instagram handle (`social.instagram`), case-insensitive and with the leading `@` optional on either side: `instagram=@BlackIto72` and `instagram=blackito72` both find a contact stored as `@blackito72` or `blackito72`. `q` does not search handles, so this is how to find an Instagram contact, which usually has no phone.
|
|
29150
29152
|
*
|
|
29151
29153
|
* Merged contacts are excluded unless `include_merged=true`. `display_name` is never empty and `named` says whether it IS the person’s name: when a contact has none, `display_name` falls back to a formatted phone, an email or a channel handle and `named` is false. Check `named` before putting `display_name` into text a customer reads — otherwise a template greets somebody by their own phone number.
|
|
29152
29154
|
*/
|
|
@@ -29163,6 +29165,7 @@ interface paths {
|
|
|
29163
29165
|
lead_source?: string;
|
|
29164
29166
|
tag_id?: string;
|
|
29165
29167
|
company_id?: string | "none";
|
|
29168
|
+
instagram?: string;
|
|
29166
29169
|
};
|
|
29167
29170
|
header?: never;
|
|
29168
29171
|
path?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -29146,7 +29146,9 @@ interface paths {
|
|
|
29146
29146
|
*
|
|
29147
29147
|
* Rows carry two badge arrays the stored contact does not: `channels` (the distinct `contact_channel` kinds) and `lead_sources` (the distinct `lead.source` values), plus `tags` — every tag on the contact as `{ id, name, display_name }` (`name` is the slug, `display_name` the label), oldest attachment first. **`lead_sources` outranks `origin_channel`** — provenance derived from real leads beats the one an operator typed, so `origin_channel` is only the answer when `lead_sources` is empty.
|
|
29148
29148
|
*
|
|
29149
|
-
* The filters combine and every one of them is optional: `lifecycle_stage`, `channel` (a linked channel of that kind), `lead_source`, `tag_id`, `company_id` (a uuid, or the literal `none` for the contacts that belong to no company) and `exclude_id`.
|
|
29149
|
+
* The filters combine and every one of them is optional: `lifecycle_stage`, `channel` (a linked channel of that kind), `lead_source`, `tag_id`, `company_id` (a uuid, or the literal `none` for the contacts that belong to no company), `instagram` and `exclude_id`.
|
|
29150
|
+
*
|
|
29151
|
+
* `instagram` is an EXACT match on the contact's Instagram handle (`social.instagram`), case-insensitive and with the leading `@` optional on either side: `instagram=@BlackIto72` and `instagram=blackito72` both find a contact stored as `@blackito72` or `blackito72`. `q` does not search handles, so this is how to find an Instagram contact, which usually has no phone.
|
|
29150
29152
|
*
|
|
29151
29153
|
* Merged contacts are excluded unless `include_merged=true`. `display_name` is never empty and `named` says whether it IS the person’s name: when a contact has none, `display_name` falls back to a formatted phone, an email or a channel handle and `named` is false. Check `named` before putting `display_name` into text a customer reads — otherwise a template greets somebody by their own phone number.
|
|
29152
29154
|
*/
|
|
@@ -29163,6 +29165,7 @@ interface paths {
|
|
|
29163
29165
|
lead_source?: string;
|
|
29164
29166
|
tag_id?: string;
|
|
29165
29167
|
company_id?: string | "none";
|
|
29168
|
+
instagram?: string;
|
|
29166
29169
|
};
|
|
29167
29170
|
header?: never;
|
|
29168
29171
|
path?: never;
|
package/package.json
CHANGED