zernio-sdk 0.0.109 → 0.0.110
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/README.md +36 -0
- data/docs/AnalyticsApi.md +78 -0
- data/docs/CreateWhatsAppFlow200Response.md +20 -0
- data/docs/CreateWhatsAppFlow200ResponseFlow.md +24 -0
- data/docs/CreateWhatsAppFlowRequest.md +24 -0
- data/docs/GetWhatsAppFlow200Response.md +20 -0
- data/docs/GetWhatsAppFlow200ResponseFlow.md +30 -0
- data/docs/GetWhatsAppFlow200ResponseFlowPreview.md +20 -0
- data/docs/GetWhatsAppFlowJson200Response.md +20 -0
- data/docs/GetWhatsAppFlowJson200ResponseAssetsInner.md +22 -0
- data/docs/GetYouTubeDemographics412Response.md +24 -0
- data/docs/GetYouTubeDemographics412ResponseScopeStatus.md +22 -0
- data/docs/ListWhatsAppFlows200Response.md +20 -0
- data/docs/ListWhatsAppFlows200ResponseFlowsInner.md +26 -0
- data/docs/PublishWhatsAppFlowRequest.md +18 -0
- data/docs/SendWhatsAppFlowMessage200Response.md +20 -0
- data/docs/SendWhatsAppFlowMessageRequest.md +38 -0
- data/docs/SendWhatsAppFlowMessageRequestFlowActionPayload.md +20 -0
- data/docs/SendWhatsAppFlowMessageRequestHeader.md +20 -0
- data/docs/UpdateWhatsAppFlowRequest.md +22 -0
- data/docs/UploadWhatsAppFlowJson200Response.md +20 -0
- data/docs/UploadWhatsAppFlowJson200ResponseValidationErrorsInner.md +30 -0
- data/docs/UploadWhatsAppFlowJsonRequest.md +20 -0
- data/docs/UploadWhatsAppFlowJsonRequestFlowJson.md +49 -0
- data/docs/WhatsAppFlowsApi.md +725 -0
- data/docs/YouTubeDemographicsResponse.md +28 -0
- data/docs/YouTubeDemographicsResponseDateRange.md +20 -0
- data/docs/YouTubeDemographicsResponseDemographicsValueInner.md +20 -0
- data/lib/late-sdk/api/analytics_api.rb +73 -0
- data/lib/late-sdk/api/whats_app_flows_api.rb +731 -0
- data/lib/late-sdk/models/create_whats_app_flow200_response.rb +156 -0
- data/lib/late-sdk/models/create_whats_app_flow200_response_flow.rb +176 -0
- data/lib/late-sdk/models/create_whats_app_flow_request.rb +257 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response_flow.rb +205 -0
- data/lib/late-sdk/models/get_whats_app_flow200_response_flow_preview.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_flow_json200_response.rb +158 -0
- data/lib/late-sdk/models/get_whats_app_flow_json200_response_assets_inner.rb +166 -0
- data/lib/late-sdk/models/get_you_tube_demographics412_response.rb +174 -0
- data/lib/late-sdk/models/get_you_tube_demographics412_response_scope_status.rb +165 -0
- data/lib/late-sdk/models/list_whats_app_flows200_response.rb +158 -0
- data/lib/late-sdk/models/list_whats_app_flows200_response_flows_inner.rb +221 -0
- data/lib/late-sdk/models/publish_whats_app_flow_request.rb +165 -0
- data/lib/late-sdk/models/send_whats_app_flow_message200_response.rb +157 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request.rb +395 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request_flow_action_payload.rb +158 -0
- data/lib/late-sdk/models/send_whats_app_flow_message_request_header.rb +190 -0
- data/lib/late-sdk/models/update_whats_app_flow_request.rb +232 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json200_response.rb +159 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json200_response_validation_errors_inner.rb +201 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json_request.rb +191 -0
- data/lib/late-sdk/models/upload_whats_app_flow_json_request_flow_json.rb +105 -0
- data/lib/late-sdk/models/you_tube_demographics_response.rb +196 -0
- data/lib/late-sdk/models/you_tube_demographics_response_date_range.rb +156 -0
- data/lib/late-sdk/models/you_tube_demographics_response_demographics_value_inner.rb +158 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +26 -0
- data/openapi.yaml +615 -0
- data/spec/api/analytics_api_spec.rb +15 -0
- data/spec/api/whats_app_flows_api_spec.rb +163 -0
- data/spec/models/create_whats_app_flow200_response_flow_spec.rb +54 -0
- data/spec/models/create_whats_app_flow200_response_spec.rb +42 -0
- data/spec/models/create_whats_app_flow_request_spec.rb +58 -0
- data/spec/models/get_whats_app_flow200_response_flow_preview_spec.rb +42 -0
- data/spec/models/get_whats_app_flow200_response_flow_spec.rb +72 -0
- data/spec/models/get_whats_app_flow200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_flow_json200_response_assets_inner_spec.rb +48 -0
- data/spec/models/get_whats_app_flow_json200_response_spec.rb +42 -0
- data/spec/models/get_you_tube_demographics412_response_scope_status_spec.rb +48 -0
- data/spec/models/get_you_tube_demographics412_response_spec.rb +54 -0
- data/spec/models/list_whats_app_flows200_response_flows_inner_spec.rb +64 -0
- data/spec/models/list_whats_app_flows200_response_spec.rb +42 -0
- data/spec/models/publish_whats_app_flow_request_spec.rb +36 -0
- data/spec/models/send_whats_app_flow_message200_response_spec.rb +42 -0
- data/spec/models/send_whats_app_flow_message_request_flow_action_payload_spec.rb +42 -0
- data/spec/models/send_whats_app_flow_message_request_header_spec.rb +46 -0
- data/spec/models/send_whats_app_flow_message_request_spec.rb +100 -0
- data/spec/models/update_whats_app_flow_request_spec.rb +52 -0
- data/spec/models/upload_whats_app_flow_json200_response_spec.rb +42 -0
- data/spec/models/upload_whats_app_flow_json200_response_validation_errors_inner_spec.rb +72 -0
- data/spec/models/upload_whats_app_flow_json_request_flow_json_spec.rb +32 -0
- data/spec/models/upload_whats_app_flow_json_request_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_date_range_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_demographics_value_inner_spec.rb +42 -0
- data/spec/models/you_tube_demographics_response_spec.rb +66 -0
- metadata +106 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e8709287101203b95377089f536028cd48ee761884962622c883845be4bf681e
|
|
4
|
+
data.tar.gz: dbb867d46595a8eaf942b4f40576d1c28692e456f6addab8a9cba062bf092d57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7bef70bc194079903578f5acaa06c8b91936a95aeac0e9f684751cdfe5ecf483596097b8ce5ea68f70775eeb4bcca10ee2b605e669ba02fb318ff20fda1b246
|
|
7
|
+
data.tar.gz: f943ed49531bf60261ffc63306c65190266ff2913d88171af233b6cca73e6060d70166708bbbb8e82ecb802c322482cf5e5c1cb2f6563dfbf49b3ae95fc1bd8c
|
data/README.md
CHANGED
|
@@ -118,6 +118,7 @@ Class | Method | HTTP request | Description
|
|
|
118
118
|
*Late::AnalyticsApi* | [**get_post_timeline**](docs/AnalyticsApi.md#get_post_timeline) | **GET** /v1/analytics/post-timeline | Get post analytics timeline
|
|
119
119
|
*Late::AnalyticsApi* | [**get_posting_frequency**](docs/AnalyticsApi.md#get_posting_frequency) | **GET** /v1/analytics/posting-frequency | Get posting frequency vs engagement
|
|
120
120
|
*Late::AnalyticsApi* | [**get_you_tube_daily_views**](docs/AnalyticsApi.md#get_you_tube_daily_views) | **GET** /v1/analytics/youtube/daily-views | Get YouTube daily views
|
|
121
|
+
*Late::AnalyticsApi* | [**get_you_tube_demographics**](docs/AnalyticsApi.md#get_you_tube_demographics) | **GET** /v1/analytics/youtube/demographics | Get YouTube audience demographics
|
|
121
122
|
*Late::BroadcastsApi* | [**add_broadcast_recipients**](docs/BroadcastsApi.md#add_broadcast_recipients) | **POST** /v1/broadcasts/{broadcastId}/recipients | Add recipients to a broadcast
|
|
122
123
|
*Late::BroadcastsApi* | [**cancel_broadcast**](docs/BroadcastsApi.md#cancel_broadcast) | **POST** /v1/broadcasts/{broadcastId}/cancel | Cancel a broadcast
|
|
123
124
|
*Late::BroadcastsApi* | [**create_broadcast**](docs/BroadcastsApi.md#create_broadcast) | **POST** /v1/broadcasts | Create a broadcast draft
|
|
@@ -314,6 +315,16 @@ Class | Method | HTTP request | Description
|
|
|
314
315
|
*Late::WhatsAppApi* | [**update_whats_app_group_chat**](docs/WhatsAppApi.md#update_whats_app_group_chat) | **POST** /v1/whatsapp/wa-groups/{groupId} | Update group settings
|
|
315
316
|
*Late::WhatsAppApi* | [**update_whats_app_template**](docs/WhatsAppApi.md#update_whats_app_template) | **PATCH** /v1/whatsapp/templates/{templateName} | Update template
|
|
316
317
|
*Late::WhatsAppApi* | [**upload_whats_app_profile_photo**](docs/WhatsAppApi.md#upload_whats_app_profile_photo) | **POST** /v1/whatsapp/business-profile/photo | Upload profile picture
|
|
318
|
+
*Late::WhatsAppFlowsApi* | [**create_whats_app_flow**](docs/WhatsAppFlowsApi.md#create_whats_app_flow) | **POST** /v1/whatsapp/flows | Create flow
|
|
319
|
+
*Late::WhatsAppFlowsApi* | [**delete_whats_app_flow**](docs/WhatsAppFlowsApi.md#delete_whats_app_flow) | **DELETE** /v1/whatsapp/flows/{flowId} | Delete flow
|
|
320
|
+
*Late::WhatsAppFlowsApi* | [**deprecate_whats_app_flow**](docs/WhatsAppFlowsApi.md#deprecate_whats_app_flow) | **POST** /v1/whatsapp/flows/{flowId}/deprecate | Deprecate flow
|
|
321
|
+
*Late::WhatsAppFlowsApi* | [**get_whats_app_flow**](docs/WhatsAppFlowsApi.md#get_whats_app_flow) | **GET** /v1/whatsapp/flows/{flowId} | Get flow
|
|
322
|
+
*Late::WhatsAppFlowsApi* | [**get_whats_app_flow_json**](docs/WhatsAppFlowsApi.md#get_whats_app_flow_json) | **GET** /v1/whatsapp/flows/{flowId}/json | Get flow JSON asset
|
|
323
|
+
*Late::WhatsAppFlowsApi* | [**list_whats_app_flows**](docs/WhatsAppFlowsApi.md#list_whats_app_flows) | **GET** /v1/whatsapp/flows | List flows
|
|
324
|
+
*Late::WhatsAppFlowsApi* | [**publish_whats_app_flow**](docs/WhatsAppFlowsApi.md#publish_whats_app_flow) | **POST** /v1/whatsapp/flows/{flowId}/publish | Publish flow
|
|
325
|
+
*Late::WhatsAppFlowsApi* | [**send_whats_app_flow_message**](docs/WhatsAppFlowsApi.md#send_whats_app_flow_message) | **POST** /v1/whatsapp/flows/send | Send flow message
|
|
326
|
+
*Late::WhatsAppFlowsApi* | [**update_whats_app_flow**](docs/WhatsAppFlowsApi.md#update_whats_app_flow) | **PATCH** /v1/whatsapp/flows/{flowId} | Update flow
|
|
327
|
+
*Late::WhatsAppFlowsApi* | [**upload_whats_app_flow_json**](docs/WhatsAppFlowsApi.md#upload_whats_app_flow_json) | **PUT** /v1/whatsapp/flows/{flowId}/json | Upload flow JSON
|
|
317
328
|
*Late::WhatsAppPhoneNumbersApi* | [**get_whats_app_phone_number**](docs/WhatsAppPhoneNumbersApi.md#get_whats_app_phone_number) | **GET** /v1/whatsapp/phone-numbers/{phoneNumberId} | Get phone number
|
|
318
329
|
*Late::WhatsAppPhoneNumbersApi* | [**get_whats_app_phone_numbers**](docs/WhatsAppPhoneNumbersApi.md#get_whats_app_phone_numbers) | **GET** /v1/whatsapp/phone-numbers | List phone numbers
|
|
319
330
|
*Late::WhatsAppPhoneNumbersApi* | [**purchase_whats_app_phone_number**](docs/WhatsAppPhoneNumbersApi.md#purchase_whats_app_phone_number) | **POST** /v1/whatsapp/phone-numbers/purchase | Purchase phone number
|
|
@@ -442,6 +453,9 @@ Class | Method | HTTP request | Description
|
|
|
442
453
|
- [Late::CreateWhatsAppContact200Response](docs/CreateWhatsAppContact200Response.md)
|
|
443
454
|
- [Late::CreateWhatsAppContact200ResponseContact](docs/CreateWhatsAppContact200ResponseContact.md)
|
|
444
455
|
- [Late::CreateWhatsAppContactRequest](docs/CreateWhatsAppContactRequest.md)
|
|
456
|
+
- [Late::CreateWhatsAppFlow200Response](docs/CreateWhatsAppFlow200Response.md)
|
|
457
|
+
- [Late::CreateWhatsAppFlow200ResponseFlow](docs/CreateWhatsAppFlow200ResponseFlow.md)
|
|
458
|
+
- [Late::CreateWhatsAppFlowRequest](docs/CreateWhatsAppFlowRequest.md)
|
|
445
459
|
- [Late::CreateWhatsAppGroupChat201Response](docs/CreateWhatsAppGroupChat201Response.md)
|
|
446
460
|
- [Late::CreateWhatsAppGroupChat201ResponseGroup](docs/CreateWhatsAppGroupChat201ResponseGroup.md)
|
|
447
461
|
- [Late::CreateWhatsAppGroupChatRequest](docs/CreateWhatsAppGroupChatRequest.md)
|
|
@@ -632,6 +646,11 @@ Class | Method | HTTP request | Description
|
|
|
632
646
|
- [Late::GetWhatsAppContacts200ResponsePagination](docs/GetWhatsAppContacts200ResponsePagination.md)
|
|
633
647
|
- [Late::GetWhatsAppDisplayName200Response](docs/GetWhatsAppDisplayName200Response.md)
|
|
634
648
|
- [Late::GetWhatsAppDisplayName200ResponseDisplayName](docs/GetWhatsAppDisplayName200ResponseDisplayName.md)
|
|
649
|
+
- [Late::GetWhatsAppFlow200Response](docs/GetWhatsAppFlow200Response.md)
|
|
650
|
+
- [Late::GetWhatsAppFlow200ResponseFlow](docs/GetWhatsAppFlow200ResponseFlow.md)
|
|
651
|
+
- [Late::GetWhatsAppFlow200ResponseFlowPreview](docs/GetWhatsAppFlow200ResponseFlowPreview.md)
|
|
652
|
+
- [Late::GetWhatsAppFlowJson200Response](docs/GetWhatsAppFlowJson200Response.md)
|
|
653
|
+
- [Late::GetWhatsAppFlowJson200ResponseAssetsInner](docs/GetWhatsAppFlowJson200ResponseAssetsInner.md)
|
|
635
654
|
- [Late::GetWhatsAppGroupChat200Response](docs/GetWhatsAppGroupChat200Response.md)
|
|
636
655
|
- [Late::GetWhatsAppGroupChat200ResponseGroup](docs/GetWhatsAppGroupChat200ResponseGroup.md)
|
|
637
656
|
- [Late::GetWhatsAppGroupChat200ResponseGroupParticipantsInner](docs/GetWhatsAppGroupChat200ResponseGroupParticipantsInner.md)
|
|
@@ -649,6 +668,8 @@ Class | Method | HTTP request | Description
|
|
|
649
668
|
- [Late::GetYouTubeDailyViews400Response](docs/GetYouTubeDailyViews400Response.md)
|
|
650
669
|
- [Late::GetYouTubeDailyViews403Response](docs/GetYouTubeDailyViews403Response.md)
|
|
651
670
|
- [Late::GetYouTubeDailyViews500Response](docs/GetYouTubeDailyViews500Response.md)
|
|
671
|
+
- [Late::GetYouTubeDemographics412Response](docs/GetYouTubeDemographics412Response.md)
|
|
672
|
+
- [Late::GetYouTubeDemographics412ResponseScopeStatus](docs/GetYouTubeDemographics412ResponseScopeStatus.md)
|
|
652
673
|
- [Late::GetYoutubePlaylists200Response](docs/GetYoutubePlaylists200Response.md)
|
|
653
674
|
- [Late::GetYoutubePlaylists200ResponsePlaylistsInner](docs/GetYoutubePlaylists200ResponsePlaylistsInner.md)
|
|
654
675
|
- [Late::GoogleBusinessPlatformData](docs/GoogleBusinessPlatformData.md)
|
|
@@ -748,6 +769,8 @@ Class | Method | HTTP request | Description
|
|
|
748
769
|
- [Late::ListSnapchatProfiles200ResponsePublicProfilesInner](docs/ListSnapchatProfiles200ResponsePublicProfilesInner.md)
|
|
749
770
|
- [Late::ListUsers200Response](docs/ListUsers200Response.md)
|
|
750
771
|
- [Late::ListUsers200ResponseUsersInner](docs/ListUsers200ResponseUsersInner.md)
|
|
772
|
+
- [Late::ListWhatsAppFlows200Response](docs/ListWhatsAppFlows200Response.md)
|
|
773
|
+
- [Late::ListWhatsAppFlows200ResponseFlowsInner](docs/ListWhatsAppFlows200ResponseFlowsInner.md)
|
|
751
774
|
- [Late::ListWhatsAppGroupChats200Response](docs/ListWhatsAppGroupChats200Response.md)
|
|
752
775
|
- [Late::ListWhatsAppGroupChats200ResponseGroupsInner](docs/ListWhatsAppGroupChats200ResponseGroupsInner.md)
|
|
753
776
|
- [Late::ListWhatsAppGroupChats200ResponsePaging](docs/ListWhatsAppGroupChats200ResponsePaging.md)
|
|
@@ -785,6 +808,7 @@ Class | Method | HTTP request | Description
|
|
|
785
808
|
- [Late::ProfileGetResponse](docs/ProfileGetResponse.md)
|
|
786
809
|
- [Late::ProfileUpdateResponse](docs/ProfileUpdateResponse.md)
|
|
787
810
|
- [Late::ProfilesListResponse](docs/ProfilesListResponse.md)
|
|
811
|
+
- [Late::PublishWhatsAppFlowRequest](docs/PublishWhatsAppFlowRequest.md)
|
|
788
812
|
- [Late::PurchaseWhatsAppPhoneNumber200Response](docs/PurchaseWhatsAppPhoneNumber200Response.md)
|
|
789
813
|
- [Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf](docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf.md)
|
|
790
814
|
- [Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf1](docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf1.md)
|
|
@@ -868,6 +892,10 @@ Class | Method | HTTP request | Description
|
|
|
868
892
|
- [Late::SendWhatsAppBulkRequest](docs/SendWhatsAppBulkRequest.md)
|
|
869
893
|
- [Late::SendWhatsAppBulkRequestRecipientsInner](docs/SendWhatsAppBulkRequestRecipientsInner.md)
|
|
870
894
|
- [Late::SendWhatsAppBulkRequestTemplate](docs/SendWhatsAppBulkRequestTemplate.md)
|
|
895
|
+
- [Late::SendWhatsAppFlowMessage200Response](docs/SendWhatsAppFlowMessage200Response.md)
|
|
896
|
+
- [Late::SendWhatsAppFlowMessageRequest](docs/SendWhatsAppFlowMessageRequest.md)
|
|
897
|
+
- [Late::SendWhatsAppFlowMessageRequestFlowActionPayload](docs/SendWhatsAppFlowMessageRequestFlowActionPayload.md)
|
|
898
|
+
- [Late::SendWhatsAppFlowMessageRequestHeader](docs/SendWhatsAppFlowMessageRequestHeader.md)
|
|
871
899
|
- [Late::SetContactFieldValueRequest](docs/SetContactFieldValueRequest.md)
|
|
872
900
|
- [Late::SetInstagramIceBreakersRequest](docs/SetInstagramIceBreakersRequest.md)
|
|
873
901
|
- [Late::SetInstagramIceBreakersRequestIceBreakersInner](docs/SetInstagramIceBreakersRequestIceBreakersInner.md)
|
|
@@ -957,6 +985,7 @@ Class | Method | HTTP request | Description
|
|
|
957
985
|
- [Late::UpdateWhatsAppDisplayName200Response](docs/UpdateWhatsAppDisplayName200Response.md)
|
|
958
986
|
- [Late::UpdateWhatsAppDisplayName200ResponseDisplayName](docs/UpdateWhatsAppDisplayName200ResponseDisplayName.md)
|
|
959
987
|
- [Late::UpdateWhatsAppDisplayNameRequest](docs/UpdateWhatsAppDisplayNameRequest.md)
|
|
988
|
+
- [Late::UpdateWhatsAppFlowRequest](docs/UpdateWhatsAppFlowRequest.md)
|
|
960
989
|
- [Late::UpdateWhatsAppGroupChatRequest](docs/UpdateWhatsAppGroupChatRequest.md)
|
|
961
990
|
- [Late::UpdateWhatsAppTemplate200Response](docs/UpdateWhatsAppTemplate200Response.md)
|
|
962
991
|
- [Late::UpdateWhatsAppTemplate200ResponseTemplate](docs/UpdateWhatsAppTemplate200ResponseTemplate.md)
|
|
@@ -966,6 +995,10 @@ Class | Method | HTTP request | Description
|
|
|
966
995
|
- [Late::UploadMediaDirect200Response](docs/UploadMediaDirect200Response.md)
|
|
967
996
|
- [Late::UploadTokenResponse](docs/UploadTokenResponse.md)
|
|
968
997
|
- [Late::UploadTokenStatusResponse](docs/UploadTokenStatusResponse.md)
|
|
998
|
+
- [Late::UploadWhatsAppFlowJson200Response](docs/UploadWhatsAppFlowJson200Response.md)
|
|
999
|
+
- [Late::UploadWhatsAppFlowJson200ResponseValidationErrorsInner](docs/UploadWhatsAppFlowJson200ResponseValidationErrorsInner.md)
|
|
1000
|
+
- [Late::UploadWhatsAppFlowJsonRequest](docs/UploadWhatsAppFlowJsonRequest.md)
|
|
1001
|
+
- [Late::UploadWhatsAppFlowJsonRequestFlowJson](docs/UploadWhatsAppFlowJsonRequestFlowJson.md)
|
|
969
1002
|
- [Late::UploadedFile](docs/UploadedFile.md)
|
|
970
1003
|
- [Late::UsageStats](docs/UsageStats.md)
|
|
971
1004
|
- [Late::UsageStatsLimits](docs/UsageStatsLimits.md)
|
|
@@ -1027,6 +1060,9 @@ Class | Method | HTTP request | Description
|
|
|
1027
1060
|
- [Late::YouTubeDailyViewsResponseDailyViewsInner](docs/YouTubeDailyViewsResponseDailyViewsInner.md)
|
|
1028
1061
|
- [Late::YouTubeDailyViewsResponseDateRange](docs/YouTubeDailyViewsResponseDateRange.md)
|
|
1029
1062
|
- [Late::YouTubeDailyViewsResponseScopeStatus](docs/YouTubeDailyViewsResponseScopeStatus.md)
|
|
1063
|
+
- [Late::YouTubeDemographicsResponse](docs/YouTubeDemographicsResponse.md)
|
|
1064
|
+
- [Late::YouTubeDemographicsResponseDateRange](docs/YouTubeDemographicsResponseDateRange.md)
|
|
1065
|
+
- [Late::YouTubeDemographicsResponseDemographicsValueInner](docs/YouTubeDemographicsResponseDemographicsValueInner.md)
|
|
1030
1066
|
- [Late::YouTubePlatformData](docs/YouTubePlatformData.md)
|
|
1031
1067
|
- [Late::YouTubeScopeMissingResponse](docs/YouTubeScopeMissingResponse.md)
|
|
1032
1068
|
- [Late::YouTubeScopeMissingResponseScopeStatus](docs/YouTubeScopeMissingResponseScopeStatus.md)
|
data/docs/AnalyticsApi.md
CHANGED
|
@@ -17,6 +17,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
17
17
|
| [**get_post_timeline**](AnalyticsApi.md#get_post_timeline) | **GET** /v1/analytics/post-timeline | Get post analytics timeline |
|
|
18
18
|
| [**get_posting_frequency**](AnalyticsApi.md#get_posting_frequency) | **GET** /v1/analytics/posting-frequency | Get posting frequency vs engagement |
|
|
19
19
|
| [**get_you_tube_daily_views**](AnalyticsApi.md#get_you_tube_daily_views) | **GET** /v1/analytics/youtube/daily-views | Get YouTube daily views |
|
|
20
|
+
| [**get_you_tube_demographics**](AnalyticsApi.md#get_you_tube_demographics) | **GET** /v1/analytics/youtube/demographics | Get YouTube audience demographics |
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
## get_analytics
|
|
@@ -1031,3 +1032,80 @@ end
|
|
|
1031
1032
|
- **Content-Type**: Not defined
|
|
1032
1033
|
- **Accept**: application/json
|
|
1033
1034
|
|
|
1035
|
+
|
|
1036
|
+
## get_you_tube_demographics
|
|
1037
|
+
|
|
1038
|
+
> <YouTubeDemographicsResponse> get_you_tube_demographics(account_id, opts)
|
|
1039
|
+
|
|
1040
|
+
Get YouTube audience demographics
|
|
1041
|
+
|
|
1042
|
+
Returns audience demographic insights for a YouTube channel, broken down by age, gender, and/or country. Age and gender values are viewer percentages (0-100). Country values are view counts. Data is based on signed-in viewers only, with a 2-3 day delay. Requires the Analytics add-on.
|
|
1043
|
+
|
|
1044
|
+
### Examples
|
|
1045
|
+
|
|
1046
|
+
```ruby
|
|
1047
|
+
require 'time'
|
|
1048
|
+
require 'late-sdk'
|
|
1049
|
+
# setup authorization
|
|
1050
|
+
Late.configure do |config|
|
|
1051
|
+
# Configure Bearer authorization (JWT): bearerAuth
|
|
1052
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1053
|
+
end
|
|
1054
|
+
|
|
1055
|
+
api_instance = Late::AnalyticsApi.new
|
|
1056
|
+
account_id = 'account_id_example' # String | The Zernio SocialAccount ID for the YouTube account
|
|
1057
|
+
opts = {
|
|
1058
|
+
breakdown: 'breakdown_example', # String | Comma-separated list of demographic dimensions: age, gender, country. Defaults to all three if omitted.
|
|
1059
|
+
start_date: Date.parse('2013-10-20'), # Date | Start date in YYYY-MM-DD format. Defaults to 90 days ago.
|
|
1060
|
+
end_date: Date.parse('2013-10-20') # Date | End date in YYYY-MM-DD format. Defaults to 3 days ago (YouTube data latency).
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
begin
|
|
1064
|
+
# Get YouTube audience demographics
|
|
1065
|
+
result = api_instance.get_you_tube_demographics(account_id, opts)
|
|
1066
|
+
p result
|
|
1067
|
+
rescue Late::ApiError => e
|
|
1068
|
+
puts "Error when calling AnalyticsApi->get_you_tube_demographics: #{e}"
|
|
1069
|
+
end
|
|
1070
|
+
```
|
|
1071
|
+
|
|
1072
|
+
#### Using the get_you_tube_demographics_with_http_info variant
|
|
1073
|
+
|
|
1074
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1075
|
+
|
|
1076
|
+
> <Array(<YouTubeDemographicsResponse>, Integer, Hash)> get_you_tube_demographics_with_http_info(account_id, opts)
|
|
1077
|
+
|
|
1078
|
+
```ruby
|
|
1079
|
+
begin
|
|
1080
|
+
# Get YouTube audience demographics
|
|
1081
|
+
data, status_code, headers = api_instance.get_you_tube_demographics_with_http_info(account_id, opts)
|
|
1082
|
+
p status_code # => 2xx
|
|
1083
|
+
p headers # => { ... }
|
|
1084
|
+
p data # => <YouTubeDemographicsResponse>
|
|
1085
|
+
rescue Late::ApiError => e
|
|
1086
|
+
puts "Error when calling AnalyticsApi->get_you_tube_demographics_with_http_info: #{e}"
|
|
1087
|
+
end
|
|
1088
|
+
```
|
|
1089
|
+
|
|
1090
|
+
### Parameters
|
|
1091
|
+
|
|
1092
|
+
| Name | Type | Description | Notes |
|
|
1093
|
+
| ---- | ---- | ----------- | ----- |
|
|
1094
|
+
| **account_id** | **String** | The Zernio SocialAccount ID for the YouTube account | |
|
|
1095
|
+
| **breakdown** | **String** | Comma-separated list of demographic dimensions: age, gender, country. Defaults to all three if omitted. | [optional] |
|
|
1096
|
+
| **start_date** | **Date** | Start date in YYYY-MM-DD format. Defaults to 90 days ago. | [optional] |
|
|
1097
|
+
| **end_date** | **Date** | End date in YYYY-MM-DD format. Defaults to 3 days ago (YouTube data latency). | [optional] |
|
|
1098
|
+
|
|
1099
|
+
### Return type
|
|
1100
|
+
|
|
1101
|
+
[**YouTubeDemographicsResponse**](YouTubeDemographicsResponse.md)
|
|
1102
|
+
|
|
1103
|
+
### Authorization
|
|
1104
|
+
|
|
1105
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1106
|
+
|
|
1107
|
+
### HTTP request headers
|
|
1108
|
+
|
|
1109
|
+
- **Content-Type**: Not defined
|
|
1110
|
+
- **Accept**: application/json
|
|
1111
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::CreateWhatsAppFlow200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **flow** | [**CreateWhatsAppFlow200ResponseFlow**](CreateWhatsAppFlow200ResponseFlow.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::CreateWhatsAppFlow200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
flow: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Late::CreateWhatsAppFlow200ResponseFlow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **status** | **String** | | [optional] |
|
|
10
|
+
| **categories** | **Array<String>** | | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'late-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Late::CreateWhatsAppFlow200ResponseFlow.new(
|
|
18
|
+
id: null,
|
|
19
|
+
name: null,
|
|
20
|
+
status: DRAFT,
|
|
21
|
+
categories: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Late::CreateWhatsAppFlowRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
| **name** | **String** | Flow display name | |
|
|
9
|
+
| **categories** | **Array<String>** | Flow categories | |
|
|
10
|
+
| **clone_flow_id** | **String** | Optional: ID of an existing flow to clone | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'late-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Late::CreateWhatsAppFlowRequest.new(
|
|
18
|
+
account_id: null,
|
|
19
|
+
name: null,
|
|
20
|
+
categories: null,
|
|
21
|
+
clone_flow_id: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlow200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **flow** | [**GetWhatsAppFlow200ResponseFlow**](GetWhatsAppFlow200ResponseFlow.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetWhatsAppFlow200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
flow: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlow200ResponseFlow
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **status** | **String** | | [optional] |
|
|
10
|
+
| **categories** | **Array<String>** | | [optional] |
|
|
11
|
+
| **validation_errors** | **Array<Object>** | | [optional] |
|
|
12
|
+
| **json_version** | **String** | | [optional] |
|
|
13
|
+
| **preview** | [**GetWhatsAppFlow200ResponseFlowPreview**](GetWhatsAppFlow200ResponseFlowPreview.md) | | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'late-sdk'
|
|
19
|
+
|
|
20
|
+
instance = Late::GetWhatsAppFlow200ResponseFlow.new(
|
|
21
|
+
id: null,
|
|
22
|
+
name: null,
|
|
23
|
+
status: null,
|
|
24
|
+
categories: null,
|
|
25
|
+
validation_errors: null,
|
|
26
|
+
json_version: null,
|
|
27
|
+
preview: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlow200ResponseFlowPreview
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **preview_url** | **String** | | [optional] |
|
|
8
|
+
| **expires_at** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetWhatsAppFlow200ResponseFlowPreview.new(
|
|
16
|
+
preview_url: null,
|
|
17
|
+
expires_at: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlowJson200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **assets** | [**Array<GetWhatsAppFlowJson200ResponseAssetsInner>**](GetWhatsAppFlowJson200ResponseAssetsInner.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::GetWhatsAppFlowJson200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
assets: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Late::GetWhatsAppFlowJson200ResponseAssetsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | [optional] |
|
|
8
|
+
| **asset_type** | **String** | | [optional] |
|
|
9
|
+
| **download_url** | **String** | Temporary URL to download the flow JSON | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'late-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Late::GetWhatsAppFlowJson200ResponseAssetsInner.new(
|
|
17
|
+
name: flow.json,
|
|
18
|
+
asset_type: FLOW_JSON,
|
|
19
|
+
download_url: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Late::GetYouTubeDemographics412Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **error** | **String** | | [optional] |
|
|
9
|
+
| **code** | **String** | | [optional] |
|
|
10
|
+
| **scope_status** | [**GetYouTubeDemographics412ResponseScopeStatus**](GetYouTubeDemographics412ResponseScopeStatus.md) | | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'late-sdk'
|
|
16
|
+
|
|
17
|
+
instance = Late::GetYouTubeDemographics412Response.new(
|
|
18
|
+
success: false,
|
|
19
|
+
error: null,
|
|
20
|
+
code: youtube_analytics_scope_missing,
|
|
21
|
+
scope_status: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Late::GetYouTubeDemographics412ResponseScopeStatus
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **has_analytics_scope** | **Boolean** | | [optional] |
|
|
8
|
+
| **requires_reauthorization** | **Boolean** | | [optional] |
|
|
9
|
+
| **reauthorize_url** | **String** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'late-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Late::GetYouTubeDemographics412ResponseScopeStatus.new(
|
|
17
|
+
has_analytics_scope: false,
|
|
18
|
+
requires_reauthorization: true,
|
|
19
|
+
reauthorize_url: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::ListWhatsAppFlows200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **flows** | [**Array<ListWhatsAppFlows200ResponseFlowsInner>**](ListWhatsAppFlows200ResponseFlowsInner.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::ListWhatsAppFlows200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
flows: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Late::ListWhatsAppFlows200ResponseFlowsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **status** | **String** | | [optional] |
|
|
10
|
+
| **categories** | **Array<String>** | | [optional] |
|
|
11
|
+
| **validation_errors** | **Array<Object>** | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'late-sdk'
|
|
17
|
+
|
|
18
|
+
instance = Late::ListWhatsAppFlows200ResponseFlowsInner.new(
|
|
19
|
+
id: null,
|
|
20
|
+
name: null,
|
|
21
|
+
status: null,
|
|
22
|
+
categories: null,
|
|
23
|
+
validation_errors: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Late::PublishWhatsAppFlowRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'late-sdk'
|
|
13
|
+
|
|
14
|
+
instance = Late::PublishWhatsAppFlowRequest.new(
|
|
15
|
+
account_id: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::SendWhatsAppFlowMessage200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **message_id** | **String** | WhatsApp message ID (WAMID) | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::SendWhatsAppFlowMessage200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
message_id: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Late::SendWhatsAppFlowMessageRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
| **to** | **String** | Recipient phone number (E.164 format, e.g. +1234567890) | |
|
|
9
|
+
| **flow_id** | **String** | Published flow ID | |
|
|
10
|
+
| **flow_cta** | **String** | CTA button text (e.g. 'Book Now', 'Sign Up') | |
|
|
11
|
+
| **flow_action** | **String** | Action type: navigate opens a screen directly, data_exchange hits your endpoint first | [optional][default to 'navigate'] |
|
|
12
|
+
| **flow_token** | **String** | Unique token to correlate responses. Auto-generated UUID if omitted. | [optional] |
|
|
13
|
+
| **flow_action_payload** | [**SendWhatsAppFlowMessageRequestFlowActionPayload**](SendWhatsAppFlowMessageRequestFlowActionPayload.md) | | [optional] |
|
|
14
|
+
| **body** | **String** | Message body text | |
|
|
15
|
+
| **header** | [**SendWhatsAppFlowMessageRequestHeader**](SendWhatsAppFlowMessageRequestHeader.md) | | [optional] |
|
|
16
|
+
| **footer** | **String** | Optional footer text | [optional] |
|
|
17
|
+
| **draft** | **Boolean** | Set true to test an unpublished (DRAFT) flow | [optional] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'late-sdk'
|
|
23
|
+
|
|
24
|
+
instance = Late::SendWhatsAppFlowMessageRequest.new(
|
|
25
|
+
account_id: null,
|
|
26
|
+
to: null,
|
|
27
|
+
flow_id: null,
|
|
28
|
+
flow_cta: null,
|
|
29
|
+
flow_action: null,
|
|
30
|
+
flow_token: null,
|
|
31
|
+
flow_action_payload: null,
|
|
32
|
+
body: null,
|
|
33
|
+
header: null,
|
|
34
|
+
footer: null,
|
|
35
|
+
draft: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::SendWhatsAppFlowMessageRequestFlowActionPayload
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **screen** | **String** | First screen ID to navigate to | [optional] |
|
|
8
|
+
| **data** | **Object** | Optional data to pass to the screen | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::SendWhatsAppFlowMessageRequestFlowActionPayload.new(
|
|
16
|
+
screen: null,
|
|
17
|
+
data: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::SendWhatsAppFlowMessageRequestHeader
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | [optional] |
|
|
8
|
+
| **text** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::SendWhatsAppFlowMessageRequestHeader.new(
|
|
16
|
+
type: null,
|
|
17
|
+
text: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Late::UpdateWhatsAppFlowRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | WhatsApp social account ID | |
|
|
8
|
+
| **name** | **String** | New flow name | [optional] |
|
|
9
|
+
| **categories** | **Array<String>** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'late-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Late::UpdateWhatsAppFlowRequest.new(
|
|
17
|
+
account_id: null,
|
|
18
|
+
name: null,
|
|
19
|
+
categories: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::UploadWhatsAppFlowJson200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | | [optional] |
|
|
8
|
+
| **validation_errors** | [**Array<UploadWhatsAppFlowJson200ResponseValidationErrorsInner>**](UploadWhatsAppFlowJson200ResponseValidationErrorsInner.md) | Empty array if valid; otherwise, contains validation error details from Meta | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::UploadWhatsAppFlowJson200Response.new(
|
|
16
|
+
success: null,
|
|
17
|
+
validation_errors: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|