late-sdk 0.0.871 → 0.0.873
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 +17 -8
- data/docs/AccountGroupsApi.md +1 -1
- data/docs/AccountWithFollowerStatsAllOfAccountStats.md +2 -2
- data/docs/AccountsApi.md +5 -5
- data/docs/Ad.md +4 -4
- data/docs/AdAccountsApi.md +9 -9
- data/docs/AdAudiencesApi.md +4 -4
- data/docs/AdCampaignsApi.md +46 -46
- data/docs/AdCreative.md +6 -6
- data/docs/AdCreativesApi.md +12 -12
- data/docs/AdDailyMetrics.md +4 -4
- data/docs/AdFunnelCounts.md +3 -3
- data/docs/AdInsightsApi.md +3 -3
- data/docs/AdKeyword.md +1 -1
- data/docs/AdLibraryApi.md +2 -2
- data/docs/AdMetrics.md +4 -4
- data/docs/AdTargetingApi.md +5 -5
- data/docs/AdTreeAdSet.md +1 -1
- data/docs/AdTreeCampaign.md +4 -4
- data/docs/AddAdKeywordsRequest.md +1 -1
- data/docs/AddMessageReactionRequest.md +1 -1
- data/docs/AdjustConversionsRequestAdjustmentsInner.md +4 -4
- data/docs/AdsTimelineResponseRowsInner.md +1 -1
- data/docs/AnalyticsApi.md +22 -22
- data/docs/AnalyticsDeltaEntry.md +1 -1
- data/docs/AnalyticsListResponse.md +1 -1
- data/docs/ApiKey.md +1 -1
- data/docs/AppealSmsRegistrationRequest.md +1 -1
- data/docs/AssignGoogleBusinessLocation200ResponseAccount.md +1 -1
- data/docs/AssignGoogleBusinessLocationRequest.md +2 -2
- data/docs/AttachCampaignAssetsRequest.md +2 -2
- data/docs/BillingSnapshotPlan.md +1 -1
- data/docs/BlockWhatsAppUsersRequest.md +1 -1
- data/docs/BookmarkPostRequest.md +1 -1
- data/docs/BoostPostRequest.md +5 -5
- data/docs/BusinessCenter.md +1 -1
- data/docs/CallRecord.md +2 -2
- data/docs/CampaignAnalyticsResponseAnalyticsDailyInner.md +4 -4
- data/docs/CheckPhoneNumberAvailability200Response.md +1 -1
- data/docs/CheckPhoneNumberPortability200ResponseResultsInner.md +2 -2
- data/docs/CommentsApi.md +11 -11
- data/docs/ConnectApi.md +102 -35
- data/docs/ConnectWhatsAppEmbeddedSignupRequest.md +4 -4
- data/docs/Conversation.md +34 -0
- data/docs/ConversionEvent.md +1 -1
- data/docs/ConversionsApi.md +6 -6
- data/docs/CreateAdCampaignRequest.md +1 -1
- data/docs/CreateAdCreativeRequest.md +1 -1
- data/docs/CreateApiKeyRequest.md +1 -1
- data/docs/CreateInboxConversation201ResponseData.md +2 -2
- data/docs/CreateInboxConversationRequest.md +3 -3
- data/docs/CreatePhoneNumberPortInRequestEndUser.md +2 -2
- data/docs/CreateStandaloneAdRequest.md +22 -22
- data/docs/CreateStandaloneAdRequestVideo.md +2 -2
- data/docs/CreateWhatsAppFlowRequest.md +1 -1
- data/docs/CreateWhatsAppGroupChatRequest.md +1 -1
- data/docs/CreateWhatsAppTemplateRequest.md +1 -1
- data/docs/CtwaAdRequestBodyVideo.md +1 -1
- data/docs/CustomConversion.md +1 -1
- data/docs/DeleteWhatsappBusinessUsernameRequest.md +1 -1
- data/docs/DiscordApi.md +9 -9
- data/docs/DiscordScheduledEvent.md +1 -1
- data/docs/EditInboxCommentRequest.md +1 -1
- data/docs/EditInboxMessageRequest.md +1 -1
- data/docs/EnableSmsOnNumber200Response.md +1 -1
- data/docs/ErrorResponse.md +1 -1
- data/docs/EstimateAdReachRequest.md +1 -1
- data/docs/ExternalPostWebhookPost.md +2 -2
- data/docs/FollowUserRequest.md +2 -2
- data/docs/GMBAttributesApi.md +3 -3
- data/docs/GMBFoodMenusApi.md +2 -2
- data/docs/GMBLocationDetailsApi.md +2 -2
- data/docs/GMBMediaApi.md +1 -1
- data/docs/GMBPlaceActionsApi.md +1 -1
- data/docs/GMBReviewsApi.md +4 -4
- data/docs/GetAdComments200ResponseMeta.md +4 -4
- data/docs/GetAdMedia200Response.md +1 -1
- data/docs/GetAdMedia200ResponseMediaInner.md +1 -1
- data/docs/GetAdsSearchTerms200ResponseDataInner.md +1 -1
- data/docs/GetGoogleBusinessLocationDetails200ResponseLocation.md +1 -1
- data/docs/GetInboxConversation200ResponseData.md +1 -1
- data/docs/GetInboxConversationMessages200ResponseMessagesInner.md +1 -1
- data/docs/GetInboxPostComments200ResponseCommentsInner.md +2 -2
- data/docs/GetInboxPostComments200ResponseCommentsInnerFrom.md +1 -1
- data/docs/GetInboxTopAccounts200ResponseAccountsInner.md +1 -1
- data/docs/GetLinkedInBidPricingRequest.md +1 -1
- data/docs/GetPhoneNumber200ResponsePhoneNumber.md +1 -1
- data/docs/GetPhoneNumberKycForm200ResponseReusable.md +1 -1
- data/docs/GetPhoneNumberKycForm200ResponseReusableOptionsInner.md +2 -2
- data/docs/GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner.md +1 -1
- data/docs/GetPhoneNumberPortInRequirements200Response.md +1 -1
- data/docs/GetWhatsAppNumberKycForm200ResponseFieldsInner.md +1 -1
- data/docs/GetWhatsAppSdkConfig200Response.md +22 -0
- data/docs/GoogleBusinessPlatformData.md +1 -1
- data/docs/HideInboxCommentRequest.md +1 -1
- data/docs/InboxAnalyticsApi.md +5 -5
- data/docs/InboxWebhookAccount.md +3 -3
- data/docs/InboxWebhookConversation.md +1 -1
- data/docs/InboxWebhookMessageSender.md +3 -3
- data/docs/InstagramApi.md +1 -1
- data/docs/LeadGenApi.md +2 -2
- data/docs/LikeInboxCommentRequest.md +1 -1
- data/docs/LikePostRequest.md +1 -1
- data/docs/LinkedInMentionsApi.md +1 -1
- data/docs/LinkedInPlatformData.md +1 -1
- data/docs/ListAdAudiences200ResponseAudiencesInner.md +1 -1
- data/docs/ListCalls200ResponseCallsInner.md +2 -2
- data/docs/ListGoogleBusinessLocations200ResponseLocationsInner.md +1 -1
- data/docs/ListInboxComments200ResponseDataInner.md +3 -3
- data/docs/ListInboxConversations200ResponseDataInner.md +3 -1
- data/docs/ListInboxReviews200ResponseDataInner.md +6 -6
- data/docs/ListPhoneNumbers200Response.md +1 -1
- data/docs/ListPhoneNumbers200ResponseNumbersInner.md +3 -3
- data/docs/ListSipTrunks200Response.md +1 -1
- data/docs/ListWhatsAppAccountEvents200ResponseEventsInner.md +1 -1
- data/docs/LogsApi.md +2 -2
- data/docs/MediaItem.md +1 -1
- data/docs/MentionsApi.md +3 -3
- data/docs/MessagesApi.md +95 -23
- data/docs/MessagingAdsApi.md +1 -1
- data/docs/PhoneNumbersApi.md +14 -14
- data/docs/PinterestPlatformData.md +1 -1
- data/docs/PostAnalytics.md +1 -1
- data/docs/PostsApi.md +5 -5
- data/docs/ProfilesApi.md +1 -1
- data/docs/PurchasePhoneNumberRequest.md +1 -1
- data/docs/PurchaseWhatsAppPhoneNumberRequest.md +1 -1
- data/docs/ReachAndFrequencyApi.md +2 -2
- data/docs/RecyclingConfig.md +1 -1
- data/docs/ReplyToMentionRequest.md +1 -1
- data/docs/RetweetPostRequest.md +1 -1
- data/docs/ReviewWebhookReview.md +1 -1
- data/docs/ReviewWebhookReviewReviewer.md +1 -1
- data/docs/ReviewsApi.md +6 -6
- data/docs/SMSApi.md +11 -11
- data/docs/SavedTargetingAudience.md +1 -1
- data/docs/SelectGoogleBusinessLocation200ResponseAccount.md +1 -1
- data/docs/SelectGoogleBusinessLocationRequest.md +2 -2
- data/docs/SendDiscordDirectMessage200Response.md +1 -1
- data/docs/SendInboxMessage200ResponseData.md +1 -1
- data/docs/SendInboxMessageRequest.md +3 -3
- data/docs/SendPrivateReplyToCommentRequest.md +2 -2
- data/docs/SendTypingIndicatorRequest.md +1 -1
- data/docs/SendWhatsAppFlowMessageRequest.md +1 -1
- data/docs/SetCommentModerationRequest.md +1 -1
- data/docs/SetConversationThreadControl200Response.md +20 -0
- data/docs/SetConversationThreadControl200ResponseControl.md +18 -0
- data/docs/SetConversationThreadControlRequest.md +24 -0
- data/docs/SetWhatsAppFlowsEncryptionKeyRequest.md +1 -1
- data/docs/SetWhatsappBusinessUsernameRequest.md +1 -1
- data/docs/StartSmsRegistrationRequest.md +1 -1
- data/docs/StartSmsRegistrationRequestCampaign.md +1 -1
- data/docs/SubmitPhoneNumberKycRequest.md +1 -1
- data/docs/SubmitWhatsAppNumberKycRequest.md +1 -1
- data/docs/SyncExternalPosts200Response.md +1 -1
- data/docs/SyncExternalPostsRequest.md +1 -1
- data/docs/TrackingTag.md +2 -2
- data/docs/TrackingTagsApi.md +6 -6
- data/docs/TwitterEngagementApi.md +9 -9
- data/docs/UnblockWhatsAppUsersRequest.md +1 -1
- data/docs/UpdateAccountRequestXCapabilities.md +1 -1
- data/docs/UpdateAdAccountRequest.md +1 -1
- data/docs/UpdateAdSetRequestPlatformSpecificData.md +1 -1
- data/docs/UpdateConversionDestinationRequest.md +1 -1
- data/docs/UpdateGmbLocationRequest.md +1 -1
- data/docs/UpdateInboxConversationRequest.md +1 -1
- data/docs/UpdatePostMetadataRequest.md +1 -1
- data/docs/UpdateWhatsAppBusinessProfileRequest.md +1 -1
- data/docs/UpdateWhatsAppDisplayNameRequest.md +1 -1
- data/docs/UpdateWhatsAppFlowRequest.md +1 -1
- data/docs/UpdateWhatsAppTemplateByIdRequest.md +1 -1
- data/docs/UpdateWhatsAppTemplateRequest.md +1 -1
- data/docs/UpdateWorkflowRequest.md +1 -1
- data/docs/UploadWhatsAppFlowJsonRequest.md +1 -1
- data/docs/UploadWhatsAppProfilePhotoRequest1.md +1 -1
- data/docs/UploadedOrDerivedAudience.md +2 -2
- data/docs/UsageApi.md +12 -12
- data/docs/UsageMetering.md +1 -1
- data/docs/UsageStats.md +1 -1
- data/docs/UsageStatsSpend.md +1 -1
- data/docs/UsageStatsUsage.md +2 -2
- data/docs/UsersApi.md +1 -1
- data/docs/ValidateApi.md +3 -3
- data/docs/VerifyApi.md +1 -1
- data/docs/VoiceApi.md +2 -2
- data/docs/WebhookEventsApi.md +76 -7
- data/docs/WebhookPayloadAdStatusChangedError.md +3 -3
- data/docs/WebhookPayloadAdStatusChangedStatus.md +1 -1
- data/docs/WebhookPayloadCommentAccount.md +2 -2
- data/docs/WebhookPayloadCommentPost.md +1 -1
- data/docs/WebhookPayloadConversationControlChanged.md +30 -0
- data/docs/WebhookPayloadConversationControlChangedControl.md +22 -0
- data/docs/WebhookPayloadLeadAccount.md +2 -2
- data/docs/WebhookPayloadMessageMessageSender.md +3 -3
- data/docs/WebhookPayloadMessageMetadata.md +3 -1
- data/docs/WebhookPayloadMessageSentMessage.md +1 -1
- data/docs/WebhookPayloadReviewNewAccount.md +1 -1
- data/docs/WhatsAppApi.md +51 -51
- data/docs/WhatsAppCallingApi.md +3 -3
- data/docs/WhatsAppFlowsApi.md +18 -18
- data/docs/WhatsAppPhoneNumbersApi.md +12 -12
- data/docs/WhatsAppSandboxApi.md +2 -2
- data/docs/WhatsAppTemplatesApi.md +2 -2
- data/docs/WorkflowEdge.md +1 -1
- data/docs/WorkflowExecutionEvent.md +1 -1
- data/docs/WorkflowsApi.md +3 -3
- data/docs/XApiOperation.md +2 -2
- data/docs/XApiOperationTriggeredByInner.md +1 -1
- data/docs/XApiPricing.md +1 -1
- data/lib/zernio-sdk/api/account_groups_api.rb +2 -2
- data/lib/zernio-sdk/api/accounts_api.rb +10 -10
- data/lib/zernio-sdk/api/ad_accounts_api.rb +12 -12
- data/lib/zernio-sdk/api/ad_audiences_api.rb +6 -6
- data/lib/zernio-sdk/api/ad_campaigns_api.rb +60 -60
- data/lib/zernio-sdk/api/ad_creatives_api.rb +20 -20
- data/lib/zernio-sdk/api/ad_insights_api.rb +4 -4
- data/lib/zernio-sdk/api/ad_library_api.rb +2 -2
- data/lib/zernio-sdk/api/ad_targeting_api.rb +6 -6
- data/lib/zernio-sdk/api/analytics_api.rb +22 -22
- data/lib/zernio-sdk/api/comments_api.rb +20 -20
- data/lib/zernio-sdk/api/connect_api.rb +91 -34
- data/lib/zernio-sdk/api/conversions_api.rb +12 -12
- data/lib/zernio-sdk/api/discord_api.rb +18 -18
- data/lib/zernio-sdk/api/gmb_attributes_api.rb +4 -4
- data/lib/zernio-sdk/api/gmb_food_menus_api.rb +4 -4
- data/lib/zernio-sdk/api/gmb_location_details_api.rb +4 -4
- data/lib/zernio-sdk/api/gmb_media_api.rb +2 -2
- data/lib/zernio-sdk/api/gmb_place_actions_api.rb +2 -2
- data/lib/zernio-sdk/api/gmb_reviews_api.rb +8 -8
- data/lib/zernio-sdk/api/inbox_analytics_api.rb +10 -10
- data/lib/zernio-sdk/api/instagram_api.rb +2 -2
- data/lib/zernio-sdk/api/lead_gen_api.rb +4 -4
- data/lib/zernio-sdk/api/linked_in_mentions_api.rb +2 -2
- data/lib/zernio-sdk/api/logs_api.rb +2 -2
- data/lib/zernio-sdk/api/mentions_api.rb +4 -4
- data/lib/zernio-sdk/api/messages_api.rb +104 -30
- data/lib/zernio-sdk/api/messaging_ads_api.rb +2 -2
- data/lib/zernio-sdk/api/phone_numbers_api.rb +24 -24
- data/lib/zernio-sdk/api/posts_api.rb +8 -8
- data/lib/zernio-sdk/api/profiles_api.rb +2 -2
- data/lib/zernio-sdk/api/reach_and_frequency_api.rb +4 -4
- data/lib/zernio-sdk/api/reviews_api.rb +8 -8
- data/lib/zernio-sdk/api/sms_api.rb +20 -20
- data/lib/zernio-sdk/api/tracking_tags_api.rb +12 -12
- data/lib/zernio-sdk/api/twitter_engagement_api.rb +12 -12
- data/lib/zernio-sdk/api/usage_api.rb +14 -14
- data/lib/zernio-sdk/api/users_api.rb +2 -2
- data/lib/zernio-sdk/api/validate_api.rb +4 -4
- data/lib/zernio-sdk/api/verify_api.rb +2 -2
- data/lib/zernio-sdk/api/voice_api.rb +4 -4
- data/lib/zernio-sdk/api/webhook_events_api.rb +80 -14
- data/lib/zernio-sdk/api/whats_app_api.rb +54 -54
- data/lib/zernio-sdk/api/whats_app_calling_api.rb +4 -4
- data/lib/zernio-sdk/api/whats_app_flows_api.rb +20 -20
- data/lib/zernio-sdk/api/whats_app_phone_numbers_api.rb +20 -20
- data/lib/zernio-sdk/api/whats_app_sandbox_api.rb +4 -4
- data/lib/zernio-sdk/api/whats_app_templates_api.rb +2 -2
- data/lib/zernio-sdk/api/workflows_api.rb +6 -6
- data/lib/zernio-sdk/models/account_with_follower_stats_all_of_account_stats.rb +2 -2
- data/lib/zernio-sdk/models/ad.rb +4 -4
- data/lib/zernio-sdk/models/ad_creative.rb +6 -6
- data/lib/zernio-sdk/models/ad_daily_metrics.rb +4 -4
- data/lib/zernio-sdk/models/ad_engagement_counts.rb +1 -1
- data/lib/zernio-sdk/models/ad_funnel_counts.rb +4 -4
- data/lib/zernio-sdk/models/ad_keyword.rb +1 -1
- data/lib/zernio-sdk/models/ad_metrics.rb +4 -4
- data/lib/zernio-sdk/models/ad_tree_ad_set.rb +1 -1
- data/lib/zernio-sdk/models/ad_tree_campaign.rb +4 -4
- data/lib/zernio-sdk/models/add_ad_keywords_request.rb +1 -1
- data/lib/zernio-sdk/models/add_message_reaction_request.rb +1 -1
- data/lib/zernio-sdk/models/adjust_conversions_request_adjustments_inner.rb +4 -4
- data/lib/zernio-sdk/models/adjust_conversions_request_adjustments_inner_user.rb +1 -1
- data/lib/zernio-sdk/models/ads_timeline_response_rows_inner.rb +1 -1
- data/lib/zernio-sdk/models/analytics_delta_entry.rb +1 -1
- data/lib/zernio-sdk/models/analytics_list_response.rb +1 -1
- data/lib/zernio-sdk/models/api_key.rb +1 -1
- data/lib/zernio-sdk/models/appeal_sms_registration_request.rb +1 -1
- data/lib/zernio-sdk/models/assign_google_business_location200_response_account.rb +1 -1
- data/lib/zernio-sdk/models/assign_google_business_location_request.rb +2 -2
- data/lib/zernio-sdk/models/attach_campaign_assets_request.rb +2 -2
- data/lib/zernio-sdk/models/billing_snapshot.rb +1 -1
- data/lib/zernio-sdk/models/billing_snapshot_plan.rb +1 -1
- data/lib/zernio-sdk/models/block_whats_app_users_request.rb +1 -1
- data/lib/zernio-sdk/models/bookmark_post_request.rb +1 -1
- data/lib/zernio-sdk/models/boost_post_request.rb +5 -5
- data/lib/zernio-sdk/models/boost_post_request_platform_specific_data.rb +1 -1
- data/lib/zernio-sdk/models/business_center.rb +2 -2
- data/lib/zernio-sdk/models/call_record.rb +2 -2
- data/lib/zernio-sdk/models/campaign_analytics_response_analytics_daily_inner.rb +4 -4
- data/lib/zernio-sdk/models/check_phone_number_availability200_response.rb +1 -1
- data/lib/zernio-sdk/models/check_phone_number_portability200_response_results_inner.rb +2 -2
- data/lib/zernio-sdk/models/connect_whats_app_embedded_signup_request.rb +4 -3
- data/lib/zernio-sdk/models/conversation.rb +334 -0
- data/lib/zernio-sdk/models/conversion_destination.rb +1 -1
- data/lib/zernio-sdk/models/conversion_event.rb +1 -1
- data/lib/zernio-sdk/models/create_ad_campaign_request.rb +1 -1
- data/lib/zernio-sdk/models/create_ad_creative_request.rb +1 -1
- data/lib/zernio-sdk/models/create_api_key_request.rb +1 -1
- data/lib/zernio-sdk/models/create_inbox_conversation201_response_data.rb +2 -2
- data/lib/zernio-sdk/models/create_inbox_conversation_request.rb +3 -3
- data/lib/zernio-sdk/models/create_phone_number_port_in_request_end_user.rb +3 -3
- data/lib/zernio-sdk/models/create_standalone_ad201_response_one_of.rb +1 -1
- data/lib/zernio-sdk/models/create_standalone_ad201_response_one_of1.rb +1 -1
- data/lib/zernio-sdk/models/create_standalone_ad_request.rb +22 -22
- data/lib/zernio-sdk/models/create_standalone_ad_request_placement_assets.rb +1 -1
- data/lib/zernio-sdk/models/create_standalone_ad_request_placement_assets_rules_inner_placements.rb +1 -1
- data/lib/zernio-sdk/models/create_standalone_ad_request_placements.rb +1 -1
- data/lib/zernio-sdk/models/create_standalone_ad_request_platform_specific_data.rb +1 -1
- data/lib/zernio-sdk/models/create_standalone_ad_request_video.rb +3 -3
- data/lib/zernio-sdk/models/create_whats_app_flow_request.rb +1 -1
- data/lib/zernio-sdk/models/create_whats_app_group_chat_request.rb +1 -1
- data/lib/zernio-sdk/models/create_whats_app_template_request.rb +1 -1
- data/lib/zernio-sdk/models/ctwa_ad_request_body_video.rb +1 -1
- data/lib/zernio-sdk/models/custom_conversion.rb +1 -1
- data/lib/zernio-sdk/models/delete_whatsapp_business_username_request.rb +1 -1
- data/lib/zernio-sdk/models/discord_scheduled_event.rb +2 -2
- data/lib/zernio-sdk/models/edit_inbox_comment_request.rb +1 -1
- data/lib/zernio-sdk/models/edit_inbox_message_request.rb +1 -1
- data/lib/zernio-sdk/models/enable_sms_on_number200_response.rb +1 -1
- data/lib/zernio-sdk/models/error_response.rb +1 -1
- data/lib/zernio-sdk/models/estimate_ad_reach_request.rb +1 -1
- data/lib/zernio-sdk/models/external_post_webhook_post.rb +2 -2
- data/lib/zernio-sdk/models/follow_user_request.rb +2 -2
- data/lib/zernio-sdk/models/geo_restriction.rb +1 -1
- data/lib/zernio-sdk/models/get_ad_comments200_response_meta.rb +4 -4
- data/lib/zernio-sdk/models/get_ad_media200_response.rb +1 -1
- data/lib/zernio-sdk/models/get_ad_media200_response_media_inner.rb +1 -1
- data/lib/zernio-sdk/models/get_ads_search_terms200_response_data_inner.rb +1 -1
- data/lib/zernio-sdk/models/get_google_business_location_details200_response_location.rb +1 -1
- data/lib/zernio-sdk/models/get_inbox_conversation200_response_data.rb +1 -1
- data/lib/zernio-sdk/models/get_inbox_conversation_messages200_response_messages_inner.rb +1 -1
- data/lib/zernio-sdk/models/get_inbox_post_comments200_response_comments_inner.rb +2 -2
- data/lib/zernio-sdk/models/get_inbox_post_comments200_response_comments_inner_from.rb +1 -1
- data/lib/zernio-sdk/models/get_inbox_post_comments200_response_meta_ad_comments.rb +1 -1
- data/lib/zernio-sdk/models/get_inbox_top_accounts200_response_accounts_inner.rb +1 -1
- data/lib/zernio-sdk/models/get_linked_in_bid_pricing_request.rb +1 -1
- data/lib/zernio-sdk/models/get_phone_number200_response_phone_number.rb +1 -1
- data/lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable.rb +1 -1
- data/lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_options_inner.rb +2 -2
- data/lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_options_inner_details_inner.rb +1 -1
- data/lib/zernio-sdk/models/get_phone_number_port_in_requirements200_response.rb +1 -1
- data/lib/zernio-sdk/models/get_whats_app_number_kyc_form200_response_fields_inner.rb +1 -1
- data/lib/zernio-sdk/models/get_whats_app_sdk_config200_response.rb +219 -0
- data/lib/zernio-sdk/models/google_business_platform_data.rb +2 -2
- data/lib/zernio-sdk/models/hide_inbox_comment_request.rb +1 -1
- data/lib/zernio-sdk/models/inbox_webhook_account.rb +3 -3
- data/lib/zernio-sdk/models/inbox_webhook_conversation.rb +1 -1
- data/lib/zernio-sdk/models/inbox_webhook_message_sender.rb +3 -3
- data/lib/zernio-sdk/models/like_inbox_comment_request.rb +1 -1
- data/lib/zernio-sdk/models/like_post_request.rb +1 -1
- data/lib/zernio-sdk/models/linked_in_ads_platform_data_thought_leader.rb +1 -1
- data/lib/zernio-sdk/models/linked_in_platform_data.rb +1 -1
- data/lib/zernio-sdk/models/list_ad_audiences200_response_audiences_inner.rb +1 -1
- data/lib/zernio-sdk/models/list_calls200_response_calls_inner.rb +2 -2
- data/lib/zernio-sdk/models/list_discord_pinned_messages200_response_data_inner.rb +1 -1
- data/lib/zernio-sdk/models/list_google_business_locations200_response_locations_inner.rb +1 -1
- data/lib/zernio-sdk/models/list_inbox_comments200_response_data_inner.rb +3 -3
- data/lib/zernio-sdk/models/list_inbox_conversations200_response_data_inner.rb +24 -2
- data/lib/zernio-sdk/models/list_inbox_reviews200_response_data_inner.rb +6 -6
- data/lib/zernio-sdk/models/list_phone_numbers200_response.rb +1 -1
- data/lib/zernio-sdk/models/list_phone_numbers200_response_numbers_inner.rb +3 -3
- data/lib/zernio-sdk/models/list_sip_trunks200_response.rb +1 -1
- data/lib/zernio-sdk/models/list_sms_sender_ids200_response_budget.rb +1 -1
- data/lib/zernio-sdk/models/list_whats_app_account_events200_response_events_inner.rb +1 -1
- data/lib/zernio-sdk/models/media_item.rb +1 -1
- data/lib/zernio-sdk/models/pinterest_platform_data.rb +1 -1
- data/lib/zernio-sdk/models/post_analytics.rb +1 -1
- data/lib/zernio-sdk/models/purchase_phone_number_request.rb +1 -1
- data/lib/zernio-sdk/models/purchase_whats_app_phone_number_request.rb +1 -1
- data/lib/zernio-sdk/models/recycling_config.rb +2 -2
- data/lib/zernio-sdk/models/reply_to_mention_request.rb +1 -1
- data/lib/zernio-sdk/models/retweet_post_request.rb +1 -1
- data/lib/zernio-sdk/models/review_webhook_review.rb +1 -1
- data/lib/zernio-sdk/models/review_webhook_review_reviewer.rb +1 -1
- data/lib/zernio-sdk/models/saved_targeting_audience.rb +1 -1
- data/lib/zernio-sdk/models/select_google_business_location200_response_account.rb +1 -1
- data/lib/zernio-sdk/models/select_google_business_location_request.rb +2 -2
- data/lib/zernio-sdk/models/send_discord_direct_message200_response.rb +1 -1
- data/lib/zernio-sdk/models/send_inbox_message200_response_data.rb +1 -1
- data/lib/zernio-sdk/models/send_inbox_message_request.rb +3 -3
- data/lib/zernio-sdk/models/send_private_reply_to_comment_request.rb +2 -2
- data/lib/zernio-sdk/models/send_typing_indicator_request.rb +1 -1
- data/lib/zernio-sdk/models/send_whats_app_flow_message_request.rb +1 -1
- data/lib/zernio-sdk/models/set_comment_moderation_request.rb +1 -1
- data/lib/zernio-sdk/models/set_conversation_thread_control200_response.rb +156 -0
- data/lib/zernio-sdk/models/set_conversation_thread_control200_response_control.rb +181 -0
- data/lib/zernio-sdk/models/set_conversation_thread_control_request.rb +266 -0
- data/lib/zernio-sdk/models/set_whats_app_flows_encryption_key_request.rb +1 -1
- data/lib/zernio-sdk/models/set_whatsapp_business_username_request.rb +1 -1
- data/lib/zernio-sdk/models/slack_platform_data.rb +1 -1
- data/lib/zernio-sdk/models/start_sms_registration_request.rb +1 -1
- data/lib/zernio-sdk/models/start_sms_registration_request_campaign.rb +2 -2
- data/lib/zernio-sdk/models/submit_phone_number_kyc_request.rb +1 -1
- data/lib/zernio-sdk/models/submit_whats_app_number_kyc_request.rb +1 -1
- data/lib/zernio-sdk/models/sync_external_posts200_response.rb +1 -1
- data/lib/zernio-sdk/models/sync_external_posts_request.rb +1 -1
- data/lib/zernio-sdk/models/tracking_tag.rb +3 -3
- data/lib/zernio-sdk/models/unblock_whats_app_users_request.rb +1 -1
- data/lib/zernio-sdk/models/update_account_request_x_capabilities.rb +2 -2
- data/lib/zernio-sdk/models/update_ad_account_request.rb +1 -1
- data/lib/zernio-sdk/models/update_ad_request_creative.rb +1 -1
- data/lib/zernio-sdk/models/update_ad_set_request_platform_specific_data.rb +1 -1
- data/lib/zernio-sdk/models/update_ad_tracking_tags_request_creative.rb +1 -1
- data/lib/zernio-sdk/models/update_conversion_destination_request.rb +1 -1
- data/lib/zernio-sdk/models/update_gmb_location_request.rb +1 -1
- data/lib/zernio-sdk/models/update_inbox_conversation_request.rb +1 -1
- data/lib/zernio-sdk/models/update_post_metadata_request.rb +1 -1
- data/lib/zernio-sdk/models/update_whats_app_business_profile_request.rb +1 -1
- data/lib/zernio-sdk/models/update_whats_app_display_name_request.rb +1 -1
- data/lib/zernio-sdk/models/update_whats_app_flow_request.rb +1 -1
- data/lib/zernio-sdk/models/update_whats_app_template_by_id_request.rb +1 -1
- data/lib/zernio-sdk/models/update_whats_app_template_request.rb +1 -1
- data/lib/zernio-sdk/models/update_workflow_request.rb +1 -1
- data/lib/zernio-sdk/models/upload_whats_app_flow_json_request.rb +1 -1
- data/lib/zernio-sdk/models/upload_whats_app_profile_photo_request1.rb +1 -1
- data/lib/zernio-sdk/models/uploaded_or_derived_audience.rb +2 -2
- data/lib/zernio-sdk/models/usage_metering.rb +2 -2
- data/lib/zernio-sdk/models/usage_metering_peaks.rb +1 -1
- data/lib/zernio-sdk/models/usage_stats.rb +2 -2
- data/lib/zernio-sdk/models/usage_stats_limits.rb +1 -1
- data/lib/zernio-sdk/models/usage_stats_spend.rb +2 -2
- data/lib/zernio-sdk/models/usage_stats_usage.rb +3 -3
- data/lib/zernio-sdk/models/usage_stats_usage_x_api_calls.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_ad_status_changed_error.rb +3 -3
- data/lib/zernio-sdk/models/webhook_payload_ad_status_changed_status.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_analytics_synced.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_analytics_synced_sync.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_comment.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_comment_account.rb +2 -2
- data/lib/zernio-sdk/models/webhook_payload_comment_post.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_conversation_control_changed.rb +347 -0
- data/lib/zernio-sdk/models/webhook_payload_conversation_control_changed_control.rb +224 -0
- data/lib/zernio-sdk/models/webhook_payload_conversation_started.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_lead_account.rb +2 -2
- data/lib/zernio-sdk/models/webhook_payload_message_message_sender.rb +3 -3
- data/lib/zernio-sdk/models/webhook_payload_message_metadata.rb +13 -3
- data/lib/zernio-sdk/models/webhook_payload_message_sent_message.rb +3 -3
- data/lib/zernio-sdk/models/webhook_payload_post_platform.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_post_platform_account.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_post_platform_platform.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_review_new_account.rb +1 -1
- data/lib/zernio-sdk/models/workflow_edge.rb +1 -1
- data/lib/zernio-sdk/models/workflow_execution_event.rb +1 -1
- data/lib/zernio-sdk/models/x_api_operation.rb +2 -2
- data/lib/zernio-sdk/models/x_api_operation_triggered_by_inner.rb +1 -1
- data/lib/zernio-sdk/models/x_api_pricing.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +7 -0
- data/openapi.yaml +1073 -853
- data/spec/api/account_groups_api_spec.rb +1 -1
- data/spec/api/accounts_api_spec.rb +5 -5
- data/spec/api/ad_accounts_api_spec.rb +6 -6
- data/spec/api/ad_audiences_api_spec.rb +3 -3
- data/spec/api/ad_campaigns_api_spec.rb +30 -30
- data/spec/api/ad_creatives_api_spec.rb +10 -10
- data/spec/api/ad_insights_api_spec.rb +2 -2
- data/spec/api/ad_library_api_spec.rb +1 -1
- data/spec/api/ad_targeting_api_spec.rb +3 -3
- data/spec/api/analytics_api_spec.rb +11 -11
- data/spec/api/comments_api_spec.rb +10 -10
- data/spec/api/connect_api_spec.rb +28 -17
- data/spec/api/conversions_api_spec.rb +6 -6
- data/spec/api/discord_api_spec.rb +9 -9
- data/spec/api/gmb_attributes_api_spec.rb +2 -2
- data/spec/api/gmb_food_menus_api_spec.rb +2 -2
- data/spec/api/gmb_location_details_api_spec.rb +2 -2
- data/spec/api/gmb_media_api_spec.rb +1 -1
- data/spec/api/gmb_place_actions_api_spec.rb +1 -1
- data/spec/api/gmb_reviews_api_spec.rb +4 -4
- data/spec/api/inbox_analytics_api_spec.rb +5 -5
- data/spec/api/instagram_api_spec.rb +1 -1
- data/spec/api/lead_gen_api_spec.rb +2 -2
- data/spec/api/linked_in_mentions_api_spec.rb +1 -1
- data/spec/api/logs_api_spec.rb +1 -1
- data/spec/api/mentions_api_spec.rb +2 -2
- data/spec/api/messages_api_spec.rb +28 -15
- data/spec/api/messaging_ads_api_spec.rb +1 -1
- data/spec/api/phone_numbers_api_spec.rb +12 -12
- data/spec/api/posts_api_spec.rb +4 -4
- data/spec/api/profiles_api_spec.rb +1 -1
- data/spec/api/reach_and_frequency_api_spec.rb +2 -2
- data/spec/api/reviews_api_spec.rb +4 -4
- data/spec/api/sms_api_spec.rb +10 -10
- data/spec/api/tracking_tags_api_spec.rb +6 -6
- data/spec/api/twitter_engagement_api_spec.rb +6 -6
- data/spec/api/usage_api_spec.rb +7 -7
- data/spec/api/users_api_spec.rb +1 -1
- data/spec/api/validate_api_spec.rb +2 -2
- data/spec/api/verify_api_spec.rb +1 -1
- data/spec/api/voice_api_spec.rb +2 -2
- data/spec/api/whats_app_api_spec.rb +27 -27
- data/spec/api/whats_app_calling_api_spec.rb +2 -2
- data/spec/api/whats_app_flows_api_spec.rb +10 -10
- data/spec/api/whats_app_phone_numbers_api_spec.rb +10 -10
- data/spec/api/whats_app_sandbox_api_spec.rb +2 -2
- data/spec/api/whats_app_templates_api_spec.rb +1 -1
- data/spec/api/workflows_api_spec.rb +3 -3
- data/spec/models/conversation_spec.rb +92 -0
- data/spec/models/create_webhook_settings_request_spec.rb +1 -1
- data/spec/models/get_whats_app_sdk_config200_response_spec.rb +48 -0
- data/spec/models/list_inbox_conversations200_response_data_inner_spec.rb +10 -0
- data/spec/models/set_conversation_thread_control200_response_control_spec.rb +40 -0
- data/spec/models/set_conversation_thread_control200_response_spec.rb +42 -0
- data/spec/models/set_conversation_thread_control_request_spec.rb +62 -0
- data/spec/models/update_webhook_settings_request_spec.rb +1 -1
- data/spec/models/webhook_payload_conversation_control_changed_control_spec.rb +56 -0
- data/spec/models/webhook_payload_conversation_control_changed_spec.rb +76 -0
- data/spec/models/webhook_payload_message_metadata_spec.rb +6 -0
- data/spec/models/webhook_payload_message_sent_message_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +1 -1
- data/zernio-sdk-0.0.873.gem +0 -0
- metadata +30 -2
- data/zernio-sdk-0.0.871.gem +0 -0
data/docs/WhatsAppApi.md
CHANGED
|
@@ -66,7 +66,7 @@ end
|
|
|
66
66
|
|
|
67
67
|
api_instance = Zernio::WhatsAppApi.new
|
|
68
68
|
group_id = 'group_id_example' # String | Group ID
|
|
69
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
69
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
70
70
|
add_whats_app_group_participants_request = Zernio::AddWhatsAppGroupParticipantsRequest.new({phone_numbers: ['phone_numbers_example']}) # AddWhatsAppGroupParticipantsRequest |
|
|
71
71
|
|
|
72
72
|
begin
|
|
@@ -101,7 +101,7 @@ end
|
|
|
101
101
|
| Name | Type | Description | Notes |
|
|
102
102
|
| ---- | ---- | ----------- | ----- |
|
|
103
103
|
| **group_id** | **String** | Group ID | |
|
|
104
|
-
| **account_id** | **String** | WhatsApp
|
|
104
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
105
105
|
| **add_whats_app_group_participants_request** | [**AddWhatsAppGroupParticipantsRequest**](AddWhatsAppGroupParticipantsRequest.md) | | |
|
|
106
106
|
|
|
107
107
|
### Return type
|
|
@@ -139,7 +139,7 @@ end
|
|
|
139
139
|
|
|
140
140
|
api_instance = Zernio::WhatsAppApi.new
|
|
141
141
|
group_id = 'group_id_example' # String | Group ID
|
|
142
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
142
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
143
143
|
approve_whats_app_group_join_requests_request = Zernio::ApproveWhatsAppGroupJoinRequestsRequest.new({phone_numbers: ['phone_numbers_example']}) # ApproveWhatsAppGroupJoinRequestsRequest |
|
|
144
144
|
|
|
145
145
|
begin
|
|
@@ -174,7 +174,7 @@ end
|
|
|
174
174
|
| Name | Type | Description | Notes |
|
|
175
175
|
| ---- | ---- | ----------- | ----- |
|
|
176
176
|
| **group_id** | **String** | Group ID | |
|
|
177
|
-
| **account_id** | **String** | WhatsApp
|
|
177
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
178
178
|
| **approve_whats_app_group_join_requests_request** | [**ApproveWhatsAppGroupJoinRequestsRequest**](ApproveWhatsAppGroupJoinRequestsRequest.md) | | |
|
|
179
179
|
|
|
180
180
|
### Return type
|
|
@@ -266,7 +266,7 @@ end
|
|
|
266
266
|
|
|
267
267
|
Provision CTWA dataset
|
|
268
268
|
|
|
269
|
-
Creates (or fetches, if one already exists) the Meta dataset that Click-to-WhatsApp ad events are reported against via the Conversions API, and persists its ID on the account as `metadata.metaCapiDatasetId`. The call is GET-first idempotent
|
|
269
|
+
Creates (or fetches, if one already exists) the Meta dataset that Click-to-WhatsApp ad events are reported against via the Conversions API, and persists its ID on the account as `metadata.metaCapiDatasetId`. The call is GET-first idempotent: a WABA can only own one CTWA dataset, so a second call after a successful provision is a safe no-op that returns the same ID with `created: false`. Requires the connected WhatsApp account's token to carry the `whatsapp_business_manage_events` permission. If the permission is missing the endpoint returns 422 with a message asking the user to reconnect the account.
|
|
270
270
|
|
|
271
271
|
### Examples
|
|
272
272
|
|
|
@@ -419,7 +419,7 @@ end
|
|
|
419
419
|
|
|
420
420
|
api_instance = Zernio::WhatsAppApi.new
|
|
421
421
|
group_id = 'group_id_example' # String | Group ID
|
|
422
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
422
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
423
423
|
|
|
424
424
|
begin
|
|
425
425
|
# Create invite link
|
|
@@ -453,7 +453,7 @@ end
|
|
|
453
453
|
| Name | Type | Description | Notes |
|
|
454
454
|
| ---- | ---- | ----------- | ----- |
|
|
455
455
|
| **group_id** | **String** | Group ID | |
|
|
456
|
-
| **account_id** | **String** | WhatsApp
|
|
456
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
457
457
|
|
|
458
458
|
### Return type
|
|
459
459
|
|
|
@@ -559,7 +559,7 @@ end
|
|
|
559
559
|
|
|
560
560
|
api_instance = Zernio::WhatsAppApi.new
|
|
561
561
|
group_id = 'group_id_example' # String | Group ID
|
|
562
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
562
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
563
563
|
|
|
564
564
|
begin
|
|
565
565
|
# Delete group
|
|
@@ -593,7 +593,7 @@ end
|
|
|
593
593
|
| Name | Type | Description | Notes |
|
|
594
594
|
| ---- | ---- | ----------- | ----- |
|
|
595
595
|
| **group_id** | **String** | Group ID | |
|
|
596
|
-
| **account_id** | **String** | WhatsApp
|
|
596
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
597
597
|
|
|
598
598
|
### Return type
|
|
599
599
|
|
|
@@ -630,7 +630,7 @@ end
|
|
|
630
630
|
|
|
631
631
|
api_instance = Zernio::WhatsAppApi.new
|
|
632
632
|
template_name = 'template_name_example' # String | Template name (the family).
|
|
633
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
633
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
634
634
|
opts = {
|
|
635
635
|
language: 'language_example' # String | Delete only this language variant (e.g. es). Omit to delete the whole family.
|
|
636
636
|
}
|
|
@@ -667,7 +667,7 @@ end
|
|
|
667
667
|
| Name | Type | Description | Notes |
|
|
668
668
|
| ---- | ---- | ----------- | ----- |
|
|
669
669
|
| **template_name** | **String** | Template name (the family). | |
|
|
670
|
-
| **account_id** | **String** | WhatsApp
|
|
670
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
671
671
|
| **language** | **String** | Delete only this language variant (e.g. es). Omit to delete the whole family. | [optional] |
|
|
672
672
|
|
|
673
673
|
### Return type
|
|
@@ -705,7 +705,7 @@ end
|
|
|
705
705
|
|
|
706
706
|
api_instance = Zernio::WhatsAppApi.new
|
|
707
707
|
template_id = 'template_id_example' # String | Meta template id (numeric).
|
|
708
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
708
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
709
709
|
|
|
710
710
|
begin
|
|
711
711
|
# Delete template by id
|
|
@@ -739,7 +739,7 @@ end
|
|
|
739
739
|
| Name | Type | Description | Notes |
|
|
740
740
|
| ---- | ---- | ----------- | ----- |
|
|
741
741
|
| **template_id** | **String** | Meta template id (numeric). | |
|
|
742
|
-
| **account_id** | **String** | WhatsApp
|
|
742
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
743
743
|
|
|
744
744
|
### Return type
|
|
745
745
|
|
|
@@ -915,7 +915,7 @@ Zernio.configure do |config|
|
|
|
915
915
|
end
|
|
916
916
|
|
|
917
917
|
api_instance = Zernio::WhatsAppApi.new
|
|
918
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
918
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
919
919
|
opts = {
|
|
920
920
|
limit: 56, # Integer | Page size.
|
|
921
921
|
after: 'after_example' # String | Cursor from a previous response's `nextCursor`.
|
|
@@ -952,7 +952,7 @@ end
|
|
|
952
952
|
|
|
953
953
|
| Name | Type | Description | Notes |
|
|
954
954
|
| ---- | ---- | ----------- | ----- |
|
|
955
|
-
| **account_id** | **String** | WhatsApp
|
|
955
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
956
956
|
| **limit** | **Integer** | Page size. | [optional] |
|
|
957
957
|
| **after** | **String** | Cursor from a previous response's `nextCursor`. | [optional] |
|
|
958
958
|
|
|
@@ -990,7 +990,7 @@ Zernio.configure do |config|
|
|
|
990
990
|
end
|
|
991
991
|
|
|
992
992
|
api_instance = Zernio::WhatsAppApi.new
|
|
993
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
993
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
994
994
|
|
|
995
995
|
begin
|
|
996
996
|
# Get business profile
|
|
@@ -1023,7 +1023,7 @@ end
|
|
|
1023
1023
|
|
|
1024
1024
|
| Name | Type | Description | Notes |
|
|
1025
1025
|
| ---- | ---- | ----------- | ----- |
|
|
1026
|
-
| **account_id** | **String** | WhatsApp
|
|
1026
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1027
1027
|
|
|
1028
1028
|
### Return type
|
|
1029
1029
|
|
|
@@ -1045,7 +1045,7 @@ end
|
|
|
1045
1045
|
|
|
1046
1046
|
Get CTWA conversions dataset
|
|
1047
1047
|
|
|
1048
|
-
Returns the Meta Click-to-WhatsApp conversions dataset currently linked to the WhatsApp account, if one has been provisioned. Reads only from the stored `metadata.metaCapiDatasetId
|
|
1048
|
+
Returns the Meta Click-to-WhatsApp conversions dataset currently linked to the WhatsApp account, if one has been provisioned. Reads only from the stored `metadata.metaCapiDatasetId`, never hits Meta, never creates a dataset. Use this to detect whether `POST /v1/whatsapp/conversions` is configured for an account.
|
|
1049
1049
|
|
|
1050
1050
|
### Examples
|
|
1051
1051
|
|
|
@@ -1059,7 +1059,7 @@ Zernio.configure do |config|
|
|
|
1059
1059
|
end
|
|
1060
1060
|
|
|
1061
1061
|
api_instance = Zernio::WhatsAppApi.new
|
|
1062
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1062
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1063
1063
|
|
|
1064
1064
|
begin
|
|
1065
1065
|
# Get CTWA conversions dataset
|
|
@@ -1092,7 +1092,7 @@ end
|
|
|
1092
1092
|
|
|
1093
1093
|
| Name | Type | Description | Notes |
|
|
1094
1094
|
| ---- | ---- | ----------- | ----- |
|
|
1095
|
-
| **account_id** | **String** | WhatsApp
|
|
1095
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1096
1096
|
|
|
1097
1097
|
### Return type
|
|
1098
1098
|
|
|
@@ -1128,7 +1128,7 @@ Zernio.configure do |config|
|
|
|
1128
1128
|
end
|
|
1129
1129
|
|
|
1130
1130
|
api_instance = Zernio::WhatsAppApi.new
|
|
1131
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1131
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1132
1132
|
|
|
1133
1133
|
begin
|
|
1134
1134
|
# Get display name status
|
|
@@ -1161,7 +1161,7 @@ end
|
|
|
1161
1161
|
|
|
1162
1162
|
| Name | Type | Description | Notes |
|
|
1163
1163
|
| ---- | ---- | ----------- | ----- |
|
|
1164
|
-
| **account_id** | **String** | WhatsApp
|
|
1164
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1165
1165
|
|
|
1166
1166
|
### Return type
|
|
1167
1167
|
|
|
@@ -1198,7 +1198,7 @@ end
|
|
|
1198
1198
|
|
|
1199
1199
|
api_instance = Zernio::WhatsAppApi.new
|
|
1200
1200
|
group_id = 'group_id_example' # String | Group ID
|
|
1201
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1201
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1202
1202
|
|
|
1203
1203
|
begin
|
|
1204
1204
|
# Get group info
|
|
@@ -1232,7 +1232,7 @@ end
|
|
|
1232
1232
|
| Name | Type | Description | Notes |
|
|
1233
1233
|
| ---- | ---- | ----------- | ----- |
|
|
1234
1234
|
| **group_id** | **String** | Group ID | |
|
|
1235
|
-
| **account_id** | **String** | WhatsApp
|
|
1235
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1236
1236
|
|
|
1237
1237
|
### Return type
|
|
1238
1238
|
|
|
@@ -1340,7 +1340,7 @@ end
|
|
|
1340
1340
|
|
|
1341
1341
|
api_instance = Zernio::WhatsAppApi.new
|
|
1342
1342
|
template_name = 'template_name_example' # String | Template name (the family).
|
|
1343
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1343
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1344
1344
|
opts = {
|
|
1345
1345
|
language: 'language_example' # String | Language code of the variant (e.g. en_US, es, pt_BR). Required when the family has several languages.
|
|
1346
1346
|
}
|
|
@@ -1377,7 +1377,7 @@ end
|
|
|
1377
1377
|
| Name | Type | Description | Notes |
|
|
1378
1378
|
| ---- | ---- | ----------- | ----- |
|
|
1379
1379
|
| **template_name** | **String** | Template name (the family). | |
|
|
1380
|
-
| **account_id** | **String** | WhatsApp
|
|
1380
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1381
1381
|
| **language** | **String** | Language code of the variant (e.g. en_US, es, pt_BR). Required when the family has several languages. | [optional] |
|
|
1382
1382
|
|
|
1383
1383
|
### Return type
|
|
@@ -1415,7 +1415,7 @@ end
|
|
|
1415
1415
|
|
|
1416
1416
|
api_instance = Zernio::WhatsAppApi.new
|
|
1417
1417
|
template_id = 'template_id_example' # String | Meta template id (numeric).
|
|
1418
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1418
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1419
1419
|
|
|
1420
1420
|
begin
|
|
1421
1421
|
# Get template by id
|
|
@@ -1449,7 +1449,7 @@ end
|
|
|
1449
1449
|
| Name | Type | Description | Notes |
|
|
1450
1450
|
| ---- | ---- | ----------- | ----- |
|
|
1451
1451
|
| **template_id** | **String** | Meta template id (numeric). | |
|
|
1452
|
-
| **account_id** | **String** | WhatsApp
|
|
1452
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1453
1453
|
|
|
1454
1454
|
### Return type
|
|
1455
1455
|
|
|
@@ -1485,7 +1485,7 @@ Zernio.configure do |config|
|
|
|
1485
1485
|
end
|
|
1486
1486
|
|
|
1487
1487
|
api_instance = Zernio::WhatsAppApi.new
|
|
1488
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1488
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1489
1489
|
opts = {
|
|
1490
1490
|
name: 'name_example', # String | Exact template name; returns every language variant of that family.
|
|
1491
1491
|
language: 'language_example', # String | Exact language code (e.g. en_US).
|
|
@@ -1523,7 +1523,7 @@ end
|
|
|
1523
1523
|
|
|
1524
1524
|
| Name | Type | Description | Notes |
|
|
1525
1525
|
| ---- | ---- | ----------- | ----- |
|
|
1526
|
-
| **account_id** | **String** | WhatsApp
|
|
1526
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1527
1527
|
| **name** | **String** | Exact template name; returns every language variant of that family. | [optional] |
|
|
1528
1528
|
| **language** | **String** | Exact language code (e.g. en_US). | [optional] |
|
|
1529
1529
|
| **status** | **String** | | [optional] |
|
|
@@ -1562,7 +1562,7 @@ Zernio.configure do |config|
|
|
|
1562
1562
|
end
|
|
1563
1563
|
|
|
1564
1564
|
api_instance = Zernio::WhatsAppApi.new
|
|
1565
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1565
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1566
1566
|
|
|
1567
1567
|
begin
|
|
1568
1568
|
# Get business username
|
|
@@ -1595,7 +1595,7 @@ end
|
|
|
1595
1595
|
|
|
1596
1596
|
| Name | Type | Description | Notes |
|
|
1597
1597
|
| ---- | ---- | ----------- | ----- |
|
|
1598
|
-
| **account_id** | **String** | WhatsApp
|
|
1598
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1599
1599
|
|
|
1600
1600
|
### Return type
|
|
1601
1601
|
|
|
@@ -1631,7 +1631,7 @@ Zernio.configure do |config|
|
|
|
1631
1631
|
end
|
|
1632
1632
|
|
|
1633
1633
|
api_instance = Zernio::WhatsAppApi.new
|
|
1634
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1634
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1635
1635
|
|
|
1636
1636
|
begin
|
|
1637
1637
|
# Get username suggestions
|
|
@@ -1664,7 +1664,7 @@ end
|
|
|
1664
1664
|
|
|
1665
1665
|
| Name | Type | Description | Notes |
|
|
1666
1666
|
| ---- | ---- | ----------- | ----- |
|
|
1667
|
-
| **account_id** | **String** | WhatsApp
|
|
1667
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1668
1668
|
|
|
1669
1669
|
### Return type
|
|
1670
1670
|
|
|
@@ -1700,7 +1700,7 @@ Zernio.configure do |config|
|
|
|
1700
1700
|
end
|
|
1701
1701
|
|
|
1702
1702
|
api_instance = Zernio::WhatsAppApi.new
|
|
1703
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1703
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1704
1704
|
opts = {
|
|
1705
1705
|
limit: 56 # Integer | Maximum events to return
|
|
1706
1706
|
}
|
|
@@ -1736,7 +1736,7 @@ end
|
|
|
1736
1736
|
|
|
1737
1737
|
| Name | Type | Description | Notes |
|
|
1738
1738
|
| ---- | ---- | ----------- | ----- |
|
|
1739
|
-
| **account_id** | **String** | WhatsApp
|
|
1739
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1740
1740
|
| **limit** | **Integer** | Maximum events to return | [optional][default to 50] |
|
|
1741
1741
|
|
|
1742
1742
|
### Return type
|
|
@@ -1773,7 +1773,7 @@ Zernio.configure do |config|
|
|
|
1773
1773
|
end
|
|
1774
1774
|
|
|
1775
1775
|
api_instance = Zernio::WhatsAppApi.new
|
|
1776
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1776
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1777
1777
|
opts = {
|
|
1778
1778
|
limit: 56 # Integer | Max events to return (1-200, default 50).
|
|
1779
1779
|
}
|
|
@@ -1809,7 +1809,7 @@ end
|
|
|
1809
1809
|
|
|
1810
1810
|
| Name | Type | Description | Notes |
|
|
1811
1811
|
| ---- | ---- | ----------- | ----- |
|
|
1812
|
-
| **account_id** | **String** | WhatsApp
|
|
1812
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1813
1813
|
| **limit** | **Integer** | Max events to return (1-200, default 50). | [optional][default to 50] |
|
|
1814
1814
|
|
|
1815
1815
|
### Return type
|
|
@@ -1846,7 +1846,7 @@ Zernio.configure do |config|
|
|
|
1846
1846
|
end
|
|
1847
1847
|
|
|
1848
1848
|
api_instance = Zernio::WhatsAppApi.new
|
|
1849
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1849
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1850
1850
|
opts = {
|
|
1851
1851
|
limit: 56, # Integer | Max groups to return
|
|
1852
1852
|
after: 'after_example' # String | Pagination cursor
|
|
@@ -1883,7 +1883,7 @@ end
|
|
|
1883
1883
|
|
|
1884
1884
|
| Name | Type | Description | Notes |
|
|
1885
1885
|
| ---- | ---- | ----------- | ----- |
|
|
1886
|
-
| **account_id** | **String** | WhatsApp
|
|
1886
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1887
1887
|
| **limit** | **Integer** | Max groups to return | [optional][default to 25] |
|
|
1888
1888
|
| **after** | **String** | Pagination cursor | [optional] |
|
|
1889
1889
|
|
|
@@ -1922,7 +1922,7 @@ end
|
|
|
1922
1922
|
|
|
1923
1923
|
api_instance = Zernio::WhatsAppApi.new
|
|
1924
1924
|
group_id = 'group_id_example' # String | Group ID
|
|
1925
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
1925
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
1926
1926
|
|
|
1927
1927
|
begin
|
|
1928
1928
|
# List join requests
|
|
@@ -1956,7 +1956,7 @@ end
|
|
|
1956
1956
|
| Name | Type | Description | Notes |
|
|
1957
1957
|
| ---- | ---- | ----------- | ----- |
|
|
1958
1958
|
| **group_id** | **String** | Group ID | |
|
|
1959
|
-
| **account_id** | **String** | WhatsApp
|
|
1959
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
1960
1960
|
|
|
1961
1961
|
### Return type
|
|
1962
1962
|
|
|
@@ -2066,7 +2066,7 @@ end
|
|
|
2066
2066
|
|
|
2067
2067
|
api_instance = Zernio::WhatsAppApi.new
|
|
2068
2068
|
group_id = 'group_id_example' # String | Group ID
|
|
2069
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
2069
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
2070
2070
|
reject_whats_app_group_join_requests_request = Zernio::RejectWhatsAppGroupJoinRequestsRequest.new({phone_numbers: ['phone_numbers_example']}) # RejectWhatsAppGroupJoinRequestsRequest |
|
|
2071
2071
|
|
|
2072
2072
|
begin
|
|
@@ -2101,7 +2101,7 @@ end
|
|
|
2101
2101
|
| Name | Type | Description | Notes |
|
|
2102
2102
|
| ---- | ---- | ----------- | ----- |
|
|
2103
2103
|
| **group_id** | **String** | Group ID | |
|
|
2104
|
-
| **account_id** | **String** | WhatsApp
|
|
2104
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
2105
2105
|
| **reject_whats_app_group_join_requests_request** | [**RejectWhatsAppGroupJoinRequestsRequest**](RejectWhatsAppGroupJoinRequestsRequest.md) | | |
|
|
2106
2106
|
|
|
2107
2107
|
### Return type
|
|
@@ -2139,7 +2139,7 @@ end
|
|
|
2139
2139
|
|
|
2140
2140
|
api_instance = Zernio::WhatsAppApi.new
|
|
2141
2141
|
group_id = 'group_id_example' # String | Group ID
|
|
2142
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
2142
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
2143
2143
|
remove_whats_app_group_participants_request = Zernio::RemoveWhatsAppGroupParticipantsRequest.new({phone_numbers: ['phone_numbers_example']}) # RemoveWhatsAppGroupParticipantsRequest |
|
|
2144
2144
|
|
|
2145
2145
|
begin
|
|
@@ -2174,7 +2174,7 @@ end
|
|
|
2174
2174
|
| Name | Type | Description | Notes |
|
|
2175
2175
|
| ---- | ---- | ----------- | ----- |
|
|
2176
2176
|
| **group_id** | **String** | Group ID | |
|
|
2177
|
-
| **account_id** | **String** | WhatsApp
|
|
2177
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
2178
2178
|
| **remove_whats_app_group_participants_request** | [**RemoveWhatsAppGroupParticipantsRequest**](RemoveWhatsAppGroupParticipantsRequest.md) | | |
|
|
2179
2179
|
|
|
2180
2180
|
### Return type
|
|
@@ -2557,7 +2557,7 @@ end
|
|
|
2557
2557
|
|
|
2558
2558
|
api_instance = Zernio::WhatsAppApi.new
|
|
2559
2559
|
group_id = 'group_id_example' # String | Group ID
|
|
2560
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
2560
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
2561
2561
|
update_whats_app_group_chat_request = Zernio::UpdateWhatsAppGroupChatRequest.new # UpdateWhatsAppGroupChatRequest |
|
|
2562
2562
|
|
|
2563
2563
|
begin
|
|
@@ -2592,7 +2592,7 @@ end
|
|
|
2592
2592
|
| Name | Type | Description | Notes |
|
|
2593
2593
|
| ---- | ---- | ----------- | ----- |
|
|
2594
2594
|
| **group_id** | **String** | Group ID | |
|
|
2595
|
-
| **account_id** | **String** | WhatsApp
|
|
2595
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
2596
2596
|
| **update_whats_app_group_chat_request** | [**UpdateWhatsAppGroupChatRequest**](UpdateWhatsAppGroupChatRequest.md) | | |
|
|
2597
2597
|
|
|
2598
2598
|
### Return type
|
|
@@ -2757,7 +2757,7 @@ end
|
|
|
2757
2757
|
|
|
2758
2758
|
Upload profile picture
|
|
2759
2759
|
|
|
2760
|
-
Upload a new profile picture for the WhatsApp Business Profile. Uses Meta's resumable upload API under the hood: creates an upload session, uploads the image bytes, then updates the business profile with the resulting handle. Provide the image either as a binary upload (`multipart/form-data` with `file`) or as a download URL (`application/json` with `url`)
|
|
2760
|
+
Upload a new profile picture for the WhatsApp Business Profile. Uses Meta's resumable upload API under the hood: creates an upload session, uploads the image bytes, then updates the business profile with the resulting handle. Provide the image either as a binary upload (`multipart/form-data` with `file`) or as a download URL (`application/json` with `url`). With a URL we fetch the image server-side and upload the bytes for you. Meta's profile-photo API is bytes-only, so there is no direct URL passthrough. JPEG/PNG, max 5MB either way.
|
|
2761
2761
|
|
|
2762
2762
|
### Examples
|
|
2763
2763
|
|
|
@@ -2771,7 +2771,7 @@ Zernio.configure do |config|
|
|
|
2771
2771
|
end
|
|
2772
2772
|
|
|
2773
2773
|
api_instance = Zernio::WhatsAppApi.new
|
|
2774
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
2774
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
2775
2775
|
file = File.new('/path/to/some/file') # File | Image file (JPEG or PNG, max 5MB, recommended 640x640)
|
|
2776
2776
|
|
|
2777
2777
|
begin
|
|
@@ -2805,7 +2805,7 @@ end
|
|
|
2805
2805
|
|
|
2806
2806
|
| Name | Type | Description | Notes |
|
|
2807
2807
|
| ---- | ---- | ----------- | ----- |
|
|
2808
|
-
| **account_id** | **String** | WhatsApp
|
|
2808
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
2809
2809
|
| **file** | **File** | Image file (JPEG or PNG, max 5MB, recommended 640x640) | |
|
|
2810
2810
|
|
|
2811
2811
|
### Return type
|
data/docs/WhatsAppCallingApi.md
CHANGED
|
@@ -602,7 +602,7 @@ end
|
|
|
602
602
|
|
|
603
603
|
Get calling config for a number
|
|
604
604
|
|
|
605
|
-
The WhatsApp Business Calling configuration of this number, keyed the same way as the POST/PATCH/DELETE below (full read-write on one sub-resource). Encrypted secrets are never returned; only a boolean saying whether a SIP password is stored. The account-scoped read (`GET /v1/whatsapp/calling?accountId=`) remains for callers that only know the
|
|
605
|
+
The WhatsApp Business Calling configuration of this number, keyed the same way as the POST/PATCH/DELETE below (full read-write on one sub-resource). Encrypted secrets are never returned; only a boolean saying whether a SIP password is stored. The account-scoped read (`GET /v1/whatsapp/calling?accountId=`) remains for callers that only know the account id, and additionally carries account-level extras (billing eligibility, current-period spend).
|
|
606
606
|
|
|
607
607
|
### Examples
|
|
608
608
|
|
|
@@ -685,7 +685,7 @@ Zernio.configure do |config|
|
|
|
685
685
|
end
|
|
686
686
|
|
|
687
687
|
api_instance = Zernio::WhatsAppCallingApi.new
|
|
688
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
688
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
689
689
|
|
|
690
690
|
begin
|
|
691
691
|
# Get calling config for an account
|
|
@@ -718,7 +718,7 @@ end
|
|
|
718
718
|
|
|
719
719
|
| Name | Type | Description | Notes |
|
|
720
720
|
| ---- | ---- | ----------- | ----- |
|
|
721
|
-
| **account_id** | **String** | WhatsApp
|
|
721
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
722
722
|
|
|
723
723
|
### Return type
|
|
724
724
|
|
data/docs/WhatsAppFlowsApi.md
CHANGED
|
@@ -111,7 +111,7 @@ end
|
|
|
111
111
|
|
|
112
112
|
api_instance = Zernio::WhatsAppFlowsApi.new
|
|
113
113
|
flow_id = 'flow_id_example' # String | Flow ID
|
|
114
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
114
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
115
115
|
|
|
116
116
|
begin
|
|
117
117
|
# Delete flow
|
|
@@ -145,7 +145,7 @@ end
|
|
|
145
145
|
| Name | Type | Description | Notes |
|
|
146
146
|
| ---- | ---- | ----------- | ----- |
|
|
147
147
|
| **flow_id** | **String** | Flow ID | |
|
|
148
|
-
| **account_id** | **String** | WhatsApp
|
|
148
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
149
149
|
|
|
150
150
|
### Return type
|
|
151
151
|
|
|
@@ -253,7 +253,7 @@ end
|
|
|
253
253
|
|
|
254
254
|
api_instance = Zernio::WhatsAppFlowsApi.new
|
|
255
255
|
flow_id = 'flow_id_example' # String | Flow ID
|
|
256
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
256
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
257
257
|
opts = {
|
|
258
258
|
fields: 'fields_example' # String | Comma-separated fields to return (default: id,name,status,categories,validation_errors,json_version,preview,data_api_version,endpoint_uri)
|
|
259
259
|
}
|
|
@@ -290,7 +290,7 @@ end
|
|
|
290
290
|
| Name | Type | Description | Notes |
|
|
291
291
|
| ---- | ---- | ----------- | ----- |
|
|
292
292
|
| **flow_id** | **String** | Flow ID | |
|
|
293
|
-
| **account_id** | **String** | WhatsApp
|
|
293
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
294
294
|
| **fields** | **String** | Comma-separated fields to return (default: id,name,status,categories,validation_errors,json_version,preview,data_api_version,endpoint_uri) | [optional] |
|
|
295
295
|
|
|
296
296
|
### Return type
|
|
@@ -328,7 +328,7 @@ end
|
|
|
328
328
|
|
|
329
329
|
api_instance = Zernio::WhatsAppFlowsApi.new
|
|
330
330
|
flow_id = 'flow_id_example' # String | Flow ID
|
|
331
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
331
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
332
332
|
|
|
333
333
|
begin
|
|
334
334
|
# Get flow JSON asset
|
|
@@ -362,7 +362,7 @@ end
|
|
|
362
362
|
| Name | Type | Description | Notes |
|
|
363
363
|
| ---- | ---- | ----------- | ----- |
|
|
364
364
|
| **flow_id** | **String** | Flow ID | |
|
|
365
|
-
| **account_id** | **String** | WhatsApp
|
|
365
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
366
366
|
|
|
367
367
|
### Return type
|
|
368
368
|
|
|
@@ -399,7 +399,7 @@ end
|
|
|
399
399
|
|
|
400
400
|
api_instance = Zernio::WhatsAppFlowsApi.new
|
|
401
401
|
flow_id = 'flow_id_example' # String | Flow ID
|
|
402
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
402
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
403
403
|
opts = {
|
|
404
404
|
invalidate: true # Boolean | Mint a fresh preview link (default false)
|
|
405
405
|
}
|
|
@@ -436,7 +436,7 @@ end
|
|
|
436
436
|
| Name | Type | Description | Notes |
|
|
437
437
|
| ---- | ---- | ----------- | ----- |
|
|
438
438
|
| **flow_id** | **String** | Flow ID | |
|
|
439
|
-
| **account_id** | **String** | WhatsApp
|
|
439
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
440
440
|
| **invalidate** | **Boolean** | Mint a fresh preview link (default false) | [optional] |
|
|
441
441
|
|
|
442
442
|
### Return type
|
|
@@ -473,7 +473,7 @@ Zernio.configure do |config|
|
|
|
473
473
|
end
|
|
474
474
|
|
|
475
475
|
api_instance = Zernio::WhatsAppFlowsApi.new
|
|
476
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
476
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
477
477
|
|
|
478
478
|
begin
|
|
479
479
|
# Get Flows encryption key status
|
|
@@ -506,7 +506,7 @@ end
|
|
|
506
506
|
|
|
507
507
|
| Name | Type | Description | Notes |
|
|
508
508
|
| ---- | ---- | ----------- | ----- |
|
|
509
|
-
| **account_id** | **String** | WhatsApp
|
|
509
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
510
510
|
|
|
511
511
|
### Return type
|
|
512
512
|
|
|
@@ -528,7 +528,7 @@ end
|
|
|
528
528
|
|
|
529
529
|
List flow responses
|
|
530
530
|
|
|
531
|
-
List the responses customers submitted when completing a flow (parsed from the nfm_reply messages received via webhook), newest first. Scope to a single flow with `flowId
|
|
531
|
+
List the responses customers submitted when completing a flow (parsed from the nfm_reply messages received via webhook), newest first. Scope to a single flow with `flowId`, which matches responses whose flow_token carries the `<flowId>:` prefix that Zernio stamps on auto-generated tokens at send time. Responses sent with a custom integrator-supplied flow_token are not attributed to a flow.
|
|
532
532
|
|
|
533
533
|
### Examples
|
|
534
534
|
|
|
@@ -542,7 +542,7 @@ Zernio.configure do |config|
|
|
|
542
542
|
end
|
|
543
543
|
|
|
544
544
|
api_instance = Zernio::WhatsAppFlowsApi.new
|
|
545
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
545
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
546
546
|
opts = {
|
|
547
547
|
flow_id: 'flow_id_example', # String | Scope to responses for this flow
|
|
548
548
|
limit: 56 # Integer | Max responses to return
|
|
@@ -579,7 +579,7 @@ end
|
|
|
579
579
|
|
|
580
580
|
| Name | Type | Description | Notes |
|
|
581
581
|
| ---- | ---- | ----------- | ----- |
|
|
582
|
-
| **account_id** | **String** | WhatsApp
|
|
582
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
583
583
|
| **flow_id** | **String** | Scope to responses for this flow | [optional] |
|
|
584
584
|
| **limit** | **Integer** | Max responses to return | [optional][default to 50] |
|
|
585
585
|
|
|
@@ -603,7 +603,7 @@ end
|
|
|
603
603
|
|
|
604
604
|
List flow versions
|
|
605
605
|
|
|
606
|
-
List the flow's version history (the clone lineage Zernio tracks, since Meta has no native versioning), newest version first. Each entry is enriched with the version's live name and status from Meta. A flow with no lineage returns
|
|
606
|
+
List the flow's version history (the clone lineage Zernio tracks, since Meta has no native versioning), newest version first. Each entry is enriched with the version's live name and status from Meta. A flow with no lineage returns only itself as version 1.
|
|
607
607
|
|
|
608
608
|
### Examples
|
|
609
609
|
|
|
@@ -618,7 +618,7 @@ end
|
|
|
618
618
|
|
|
619
619
|
api_instance = Zernio::WhatsAppFlowsApi.new
|
|
620
620
|
flow_id = 'flow_id_example' # String | Flow ID
|
|
621
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
621
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
622
622
|
|
|
623
623
|
begin
|
|
624
624
|
# List flow versions
|
|
@@ -652,7 +652,7 @@ end
|
|
|
652
652
|
| Name | Type | Description | Notes |
|
|
653
653
|
| ---- | ---- | ----------- | ----- |
|
|
654
654
|
| **flow_id** | **String** | Flow ID | |
|
|
655
|
-
| **account_id** | **String** | WhatsApp
|
|
655
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
656
656
|
|
|
657
657
|
### Return type
|
|
658
658
|
|
|
@@ -688,7 +688,7 @@ Zernio.configure do |config|
|
|
|
688
688
|
end
|
|
689
689
|
|
|
690
690
|
api_instance = Zernio::WhatsAppFlowsApi.new
|
|
691
|
-
account_id = 'account_id_example' # String | WhatsApp
|
|
691
|
+
account_id = 'account_id_example' # String | WhatsApp account ID
|
|
692
692
|
|
|
693
693
|
begin
|
|
694
694
|
# List flows
|
|
@@ -721,7 +721,7 @@ end
|
|
|
721
721
|
|
|
722
722
|
| Name | Type | Description | Notes |
|
|
723
723
|
| ---- | ---- | ----------- | ----- |
|
|
724
|
-
| **account_id** | **String** | WhatsApp
|
|
724
|
+
| **account_id** | **String** | WhatsApp account ID | |
|
|
725
725
|
|
|
726
726
|
### Return type
|
|
727
727
|
|