late-sdk 0.0.1280 → 0.0.1281
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/InboxAnalyticsApi.md +5 -5
- data/docs/ListInboxConversationAnalytics200ResponseItemsInner.md +1 -1
- data/docs/WhatsAppCallingApi.md +2 -2
- data/lib/zernio-sdk/api/inbox_analytics_api.rb +6 -6
- data/lib/zernio-sdk/api/whats_app_calling_api.rb +2 -2
- data/lib/zernio-sdk/models/list_inbox_conversation_analytics200_response_items_inner.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +1 -1
- data/spec/api/inbox_analytics_api_spec.rb +3 -3
- data/spec/api/whats_app_calling_api_spec.rb +1 -1
- data/zernio-sdk-0.0.1281.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.1280.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: c3bc00eb7df1c5878db59a00272b0eed82b4fd557e6ebcffa16e5a6e6c813a80
|
|
4
|
+
data.tar.gz: 59a1fee2f203dd9e49ad233cf50c96d4d23aa1f2afd3038e4f3ee5ddbde85a2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c58f82bf10d0635140835f951eb1c4608f36be61f2399b0c5dd361f3f6d2ec638602c26b094927346718c8396ef5e559224c7baa5482e7166013cc83f9c1d098
|
|
7
|
+
data.tar.gz: eff8abf5723cf87a6b7896484c86c9babf29026a3484bfa6cbe5837daca4245e00a3555c83a8b3aac2934027d65f7e51612567bafa166a00c13c27d22f4c83e4
|
data/docs/InboxAnalyticsApi.md
CHANGED
|
@@ -19,7 +19,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
19
19
|
|
|
20
20
|
Get conversation analytics
|
|
21
21
|
|
|
22
|
-
Per-conversation inbox analytics. The inbox analog of /v1/analytics/post-timeline: one conversation, daily totals, source mix. The {conversationId} path param accepts EITHER the
|
|
22
|
+
Per-conversation inbox analytics. The inbox analog of /v1/analytics/post-timeline: one conversation, daily totals, source mix. The {conversationId} path param accepts EITHER the Zernio conversation id OR its `platformConversationId` (the same identity used by metadata.conversationId at ingest time). Ownership is verified against the caller's team before the Tinybird query fires. Max date range is 365 days.
|
|
23
23
|
|
|
24
24
|
### Examples
|
|
25
25
|
|
|
@@ -33,7 +33,7 @@ Zernio.configure do |config|
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = Zernio::InboxAnalyticsApi.new
|
|
36
|
-
conversation_id = 'conversation_id_example' # String |
|
|
36
|
+
conversation_id = 'conversation_id_example' # String | Zernio conversation id or platformConversationId.
|
|
37
37
|
from_date = Date.parse('2013-10-20') # Date |
|
|
38
38
|
opts = {
|
|
39
39
|
to_date: Date.parse('2013-10-20') # Date |
|
|
@@ -70,7 +70,7 @@ end
|
|
|
70
70
|
|
|
71
71
|
| Name | Type | Description | Notes |
|
|
72
72
|
| ---- | ---- | ----------- | ----- |
|
|
73
|
-
| **conversation_id** | **String** |
|
|
73
|
+
| **conversation_id** | **String** | Zernio conversation id or platformConversationId. | |
|
|
74
74
|
| **from_date** | **Date** | | |
|
|
75
75
|
| **to_date** | **Date** | | [optional] |
|
|
76
76
|
|
|
@@ -355,7 +355,7 @@ opts = {
|
|
|
355
355
|
profile_id: 'profile_id_example', # String |
|
|
356
356
|
platform: 'platform_example', # String |
|
|
357
357
|
source: 'source_example', # String |
|
|
358
|
-
limit: 56 # Integer | Cap on returned rows. Lower than the posting listing's 100 because each row triggers a
|
|
358
|
+
limit: 56 # Integer | Cap on returned rows. Lower than the posting listing's 100 because each row triggers a social account lookup.
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
begin
|
|
@@ -394,7 +394,7 @@ end
|
|
|
394
394
|
| **profile_id** | **String** | | [optional] |
|
|
395
395
|
| **platform** | **String** | | [optional] |
|
|
396
396
|
| **source** | **String** | | [optional] |
|
|
397
|
-
| **limit** | **Integer** | Cap on returned rows. Lower than the posting listing's 100 because each row triggers a
|
|
397
|
+
| **limit** | **Integer** | Cap on returned rows. Lower than the posting listing's 100 because each row triggers a social account lookup. | [optional][default to 10] |
|
|
398
398
|
|
|
399
399
|
### Return type
|
|
400
400
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **conversation_id** | **String** | The platformConversationId (the same identity used by metadata.conversationId) | [optional] |
|
|
8
|
-
| **mongo_id** | **String** | The
|
|
8
|
+
| **mongo_id** | **String** | The Zernio conversation id, when a matching conversation exists | [optional] |
|
|
9
9
|
| **account_id** | **String** | | [optional] |
|
|
10
10
|
| **platform** | **String** | | [optional] |
|
|
11
11
|
| **participant_name** | **String** | | [optional] |
|
data/docs/WhatsAppCallingApi.md
CHANGED
|
@@ -253,7 +253,7 @@ Zernio.configure do |config|
|
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
api_instance = Zernio::WhatsAppCallingApi.new
|
|
256
|
-
id = 'id_example' # String |
|
|
256
|
+
id = 'id_example' # String | WhatsApp phone number id
|
|
257
257
|
enable_whats_app_calling_legacy_request = Zernio::EnableWhatsAppCallingLegacyRequest.new({account_id: 'account_id_example', forward_to: 'forward_to_example'}) # EnableWhatsAppCallingLegacyRequest |
|
|
258
258
|
|
|
259
259
|
begin
|
|
@@ -287,7 +287,7 @@ end
|
|
|
287
287
|
|
|
288
288
|
| Name | Type | Description | Notes |
|
|
289
289
|
| ---- | ---- | ----------- | ----- |
|
|
290
|
-
| **id** | **String** |
|
|
290
|
+
| **id** | **String** | WhatsApp phone number id | |
|
|
291
291
|
| **enable_whats_app_calling_legacy_request** | [**EnableWhatsAppCallingLegacyRequest**](EnableWhatsAppCallingLegacyRequest.md) | | |
|
|
292
292
|
|
|
293
293
|
### Return type
|
|
@@ -20,8 +20,8 @@ module Zernio
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Get conversation analytics
|
|
23
|
-
# Per-conversation inbox analytics. The inbox analog of /v1/analytics/post-timeline: one conversation, daily totals, source mix. The {conversationId} path param accepts EITHER the
|
|
24
|
-
# @param conversation_id [String]
|
|
23
|
+
# Per-conversation inbox analytics. The inbox analog of /v1/analytics/post-timeline: one conversation, daily totals, source mix. The {conversationId} path param accepts EITHER the Zernio conversation id OR its `platformConversationId` (the same identity used by metadata.conversationId at ingest time). Ownership is verified against the caller's team before the Tinybird query fires. Max date range is 365 days.
|
|
24
|
+
# @param conversation_id [String] Zernio conversation id or platformConversationId.
|
|
25
25
|
# @param from_date [Date]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @option opts [Date] :to_date
|
|
@@ -32,8 +32,8 @@ module Zernio
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
# Get conversation analytics
|
|
35
|
-
# Per-conversation inbox analytics. The inbox analog of /v1/analytics/post-timeline: one conversation, daily totals, source mix. The {conversationId} path param accepts EITHER the
|
|
36
|
-
# @param conversation_id [String]
|
|
35
|
+
# Per-conversation inbox analytics. The inbox analog of /v1/analytics/post-timeline: one conversation, daily totals, source mix. The {conversationId} path param accepts EITHER the Zernio conversation id OR its `platformConversationId` (the same identity used by metadata.conversationId at ingest time). Ownership is verified against the caller's team before the Tinybird query fires. Max date range is 365 days.
|
|
36
|
+
# @param conversation_id [String] Zernio conversation id or platformConversationId.
|
|
37
37
|
# @param from_date [Date]
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [Date] :to_date
|
|
@@ -338,7 +338,7 @@ module Zernio
|
|
|
338
338
|
# @option opts [String] :profile_id
|
|
339
339
|
# @option opts [String] :platform
|
|
340
340
|
# @option opts [String] :source
|
|
341
|
-
# @option opts [Integer] :limit Cap on returned rows. Lower than the posting listing's 100 because each row triggers a
|
|
341
|
+
# @option opts [Integer] :limit Cap on returned rows. Lower than the posting listing's 100 because each row triggers a social account lookup. (default to 10)
|
|
342
342
|
# @return [GetInboxTopAccounts200Response]
|
|
343
343
|
def get_inbox_top_accounts(from_date, opts = {})
|
|
344
344
|
data, _status_code, _headers = get_inbox_top_accounts_with_http_info(from_date, opts)
|
|
@@ -353,7 +353,7 @@ module Zernio
|
|
|
353
353
|
# @option opts [String] :profile_id
|
|
354
354
|
# @option opts [String] :platform
|
|
355
355
|
# @option opts [String] :source
|
|
356
|
-
# @option opts [Integer] :limit Cap on returned rows. Lower than the posting listing's 100 because each row triggers a
|
|
356
|
+
# @option opts [Integer] :limit Cap on returned rows. Lower than the posting listing's 100 because each row triggers a social account lookup. (default to 10)
|
|
357
357
|
# @return [Array<(GetInboxTopAccounts200Response, Integer, Hash)>] GetInboxTopAccounts200Response data, response status code and response headers
|
|
358
358
|
def get_inbox_top_accounts_with_http_info(from_date, opts = {})
|
|
359
359
|
if @api_client.config.debugging
|
|
@@ -235,7 +235,7 @@ module Zernio
|
|
|
235
235
|
|
|
236
236
|
# Enable calling on a number
|
|
237
237
|
# Deprecated alias of `/v1/phone-numbers/{id}/whatsapp/calling`; same contract. New integrations should use that path. Enable WhatsApp Business Calling on a connected number. Configures Meta calling.status=ENABLED with our Telnyx SIP endpoint, fetches and stores the Meta-issued SIP password (encrypted), and snapshots the customer's forward-to destination.
|
|
238
|
-
# @param id [String]
|
|
238
|
+
# @param id [String] WhatsApp phone number id
|
|
239
239
|
# @param enable_whats_app_calling_legacy_request [EnableWhatsAppCallingLegacyRequest]
|
|
240
240
|
# @param [Hash] opts the optional parameters
|
|
241
241
|
# @return [EnableWhatsAppCallingLegacy200Response]
|
|
@@ -246,7 +246,7 @@ module Zernio
|
|
|
246
246
|
|
|
247
247
|
# Enable calling on a number
|
|
248
248
|
# Deprecated alias of `/v1/phone-numbers/{id}/whatsapp/calling`; same contract. New integrations should use that path. Enable WhatsApp Business Calling on a connected number. Configures Meta calling.status=ENABLED with our Telnyx SIP endpoint, fetches and stores the Meta-issued SIP password (encrypted), and snapshots the customer's forward-to destination.
|
|
249
|
-
# @param id [String]
|
|
249
|
+
# @param id [String] WhatsApp phone number id
|
|
250
250
|
# @param enable_whats_app_calling_legacy_request [EnableWhatsAppCallingLegacyRequest]
|
|
251
251
|
# @param [Hash] opts the optional parameters
|
|
252
252
|
# @return [Array<(EnableWhatsAppCallingLegacy200Response, Integer, Hash)>] EnableWhatsAppCallingLegacy200Response data, response status code and response headers
|
|
@@ -18,7 +18,7 @@ module Zernio
|
|
|
18
18
|
# The platformConversationId (the same identity used by metadata.conversationId)
|
|
19
19
|
attr_accessor :conversation_id
|
|
20
20
|
|
|
21
|
-
# The
|
|
21
|
+
# The Zernio conversation id, when a matching conversation exists
|
|
22
22
|
attr_accessor :mongo_id
|
|
23
23
|
|
|
24
24
|
attr_accessor :account_id
|
data/lib/zernio-sdk/version.rb
CHANGED