late-sdk 0.0.713 → 0.0.714
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.
- checksums.yaml +4 -4
- data/docs/ContactsApi.md +3 -3
- data/docs/WebhookPayloadMessageSentMessageSender.md +1 -1
- data/lib/zernio-sdk/api/contacts_api.rb +4 -4
- data/lib/zernio-sdk/models/webhook_payload_message_sent_message_sender.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +3 -3
- data/spec/api/contacts_api_spec.rb +2 -2
- data/zernio-sdk-0.0.714.gem +0 -0
- metadata +1605 -1605
- data/zernio-sdk-0.0.713.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7399f221b1d5acf2f70170084ea9f0e9925f047fa2c48bf8135321c2755c2262
|
|
4
|
+
data.tar.gz: 80346e97094eae3105d3357f1971fe80afc40dfa395d8177f191503ebd02a2d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 325afc2f3145f6427034da3770029434ce739014f2331a248041429d541cff6e413db778f81d91312aa3a1c3c9372e68b8257a50b4c1acbba1bb3f0cbf6a12a7
|
|
7
|
+
data.tar.gz: 48001f8f481e38763cfa244c927261aae6c8e6be42d8bf452e382bdf610b052c786563530cb35cd2c67da91a995f62b7fc1784d1b1b8e5d36dd055c8594f3ae1
|
data/docs/ContactsApi.md
CHANGED
|
@@ -363,7 +363,7 @@ end
|
|
|
363
363
|
|
|
364
364
|
List contacts
|
|
365
365
|
|
|
366
|
-
List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and
|
|
366
|
+
List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and text search on name, email and company.
|
|
367
367
|
|
|
368
368
|
### Examples
|
|
369
369
|
|
|
@@ -380,7 +380,7 @@ api_instance = Zernio::ContactsApi.new
|
|
|
380
380
|
opts = {
|
|
381
381
|
profile_id: 'profile_id_example', # String | Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead.
|
|
382
382
|
account_id: 'account_id_example', # String | Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list.
|
|
383
|
-
search: 'search_example', # String |
|
|
383
|
+
search: 'search_example', # String | Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries.
|
|
384
384
|
tag: 'tag_example', # String |
|
|
385
385
|
tags: 'tags_example', # String | Comma-separated tags, matches contacts carrying any of them
|
|
386
386
|
platform: 'instagram', # String |
|
|
@@ -422,7 +422,7 @@ end
|
|
|
422
422
|
| ---- | ---- | ----------- | ----- |
|
|
423
423
|
| **profile_id** | **String** | Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead. | [optional] |
|
|
424
424
|
| **account_id** | **String** | Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list. | [optional] |
|
|
425
|
-
| **search** | **String** |
|
|
425
|
+
| **search** | **String** | Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries. | [optional] |
|
|
426
426
|
| **tag** | **String** | | [optional] |
|
|
427
427
|
| **tags** | **String** | Comma-separated tags, matches contacts carrying any of them | [optional] |
|
|
428
428
|
| **platform** | **String** | | [optional] |
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | |
|
|
8
|
-
| **contact_id** | **String** |
|
|
8
|
+
| **contact_id** | **String** | Always omitted on this event: the sender is the business, not a contact. Use conversation.contactId to join back to the CRM Contact. | [optional] |
|
|
9
9
|
| **name** | **String** | | [optional] |
|
|
10
10
|
| **username** | **String** | | [optional] |
|
|
11
11
|
| **picture** | **String** | | [optional] |
|
|
@@ -345,11 +345,11 @@ module Zernio
|
|
|
345
345
|
end
|
|
346
346
|
|
|
347
347
|
# List contacts
|
|
348
|
-
# List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and
|
|
348
|
+
# List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and text search on name, email and company.
|
|
349
349
|
# @param [Hash] opts the optional parameters
|
|
350
350
|
# @option opts [String] :profile_id Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead.
|
|
351
351
|
# @option opts [String] :account_id Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list.
|
|
352
|
-
# @option opts [String] :search
|
|
352
|
+
# @option opts [String] :search Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries.
|
|
353
353
|
# @option opts [String] :tag
|
|
354
354
|
# @option opts [String] :tags Comma-separated tags, matches contacts carrying any of them
|
|
355
355
|
# @option opts [String] :platform
|
|
@@ -363,11 +363,11 @@ module Zernio
|
|
|
363
363
|
end
|
|
364
364
|
|
|
365
365
|
# List contacts
|
|
366
|
-
# List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and
|
|
366
|
+
# List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and text search on name, email and company.
|
|
367
367
|
# @param [Hash] opts the optional parameters
|
|
368
368
|
# @option opts [String] :profile_id Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead.
|
|
369
369
|
# @option opts [String] :account_id Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list.
|
|
370
|
-
# @option opts [String] :search
|
|
370
|
+
# @option opts [String] :search Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries.
|
|
371
371
|
# @option opts [String] :tag
|
|
372
372
|
# @option opts [String] :tags Comma-separated tags, matches contacts carrying any of them
|
|
373
373
|
# @option opts [String] :platform
|
|
@@ -17,7 +17,7 @@ module Zernio
|
|
|
17
17
|
class WebhookPayloadMessageSentMessageSender < ApiModelBase
|
|
18
18
|
attr_accessor :id
|
|
19
19
|
|
|
20
|
-
#
|
|
20
|
+
# Always omitted on this event: the sender is the business, not a contact. Use conversation.contactId to join back to the CRM Contact.
|
|
21
21
|
attr_accessor :contact_id
|
|
22
22
|
|
|
23
23
|
attr_accessor :name
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -3738,7 +3738,7 @@ components:
|
|
|
3738
3738
|
type: string
|
|
3739
3739
|
contactId:
|
|
3740
3740
|
type: string
|
|
3741
|
-
description:
|
|
3741
|
+
description: 'Always omitted on this event: the sender is the business, not a contact. Use conversation.contactId to join back to the CRM Contact.'
|
|
3742
3742
|
name:
|
|
3743
3743
|
type: string
|
|
3744
3744
|
username:
|
|
@@ -34620,12 +34620,12 @@ paths:
|
|
|
34620
34620
|
x-resource-group: "contacts"
|
|
34621
34621
|
operationId: listContacts
|
|
34622
34622
|
summary: List contacts
|
|
34623
|
-
description: List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and
|
|
34623
|
+
description: List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and text search on name, email and company.
|
|
34624
34624
|
tags: [Contacts]
|
|
34625
34625
|
parameters:
|
|
34626
34626
|
- { name: profileId, in: query, schema: { type: string }, description: 'Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead.' }
|
|
34627
34627
|
- { name: accountId, in: query, schema: { type: string }, description: 'Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list.' }
|
|
34628
|
-
- { name: search, in: query, schema: { type: string } }
|
|
34628
|
+
- { name: search, in: query, schema: { type: string }, description: 'Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries.' }
|
|
34629
34629
|
- { name: tag, in: query, schema: { type: string } }
|
|
34630
34630
|
- { name: tags, in: query, schema: { type: string }, description: 'Comma-separated tags, matches contacts carrying any of them' }
|
|
34631
34631
|
- { name: platform, in: query, schema: { type: string, enum: [instagram, facebook, telegram, twitter, bluesky, reddit, whatsapp] } }
|
|
@@ -94,11 +94,11 @@ describe 'ContactsApi' do
|
|
|
94
94
|
|
|
95
95
|
# unit tests for list_contacts
|
|
96
96
|
# List contacts
|
|
97
|
-
# List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and
|
|
97
|
+
# List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and text search on name, email and company.
|
|
98
98
|
# @param [Hash] opts the optional parameters
|
|
99
99
|
# @option opts [String] :profile_id Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead.
|
|
100
100
|
# @option opts [String] :account_id Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list.
|
|
101
|
-
# @option opts [String] :search
|
|
101
|
+
# @option opts [String] :search Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries.
|
|
102
102
|
# @option opts [String] :tag
|
|
103
103
|
# @option opts [String] :tags Comma-separated tags, matches contacts carrying any of them
|
|
104
104
|
# @option opts [String] :platform
|
|
Binary file
|