zernio-sdk 0.0.770 → 0.0.772
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 +7 -0
- data/docs/AdCampaignsApi.md +72 -0
- data/docs/AnalyticsApi.md +2 -2
- data/docs/AttachCampaignAssets201Response.md +24 -0
- data/docs/AttachCampaignAssetsRequest.md +24 -0
- data/docs/AttachCampaignAssetsRequestSitelinksInner.md +24 -0
- data/docs/AttachCampaignAssetsRequestStructuredSnippetsInner.md +20 -0
- data/docs/CreateInboxConversationRequest.md +3 -1
- data/docs/CreateInboxConversationRequestTemplateButtonParamsInner.md +22 -0
- data/docs/CreateStandaloneAdRequest.md +4 -0
- data/docs/CreateStandaloneAdRequestStructuredSnippetsInner.md +20 -0
- data/docs/MessagesApi.md +1 -1
- data/docs/PostAnalytics.md +4 -0
- data/docs/TargetingSpec.md +2 -2
- data/lib/zernio-sdk/api/ad_campaigns_api.rb +74 -0
- data/lib/zernio-sdk/api/analytics_api.rb +3 -3
- data/lib/zernio-sdk/api/messages_api.rb +2 -2
- data/lib/zernio-sdk/models/ad_tree_campaign_optimization_goal.rb +1 -0
- data/lib/zernio-sdk/models/attach_campaign_assets201_response.rb +180 -0
- data/lib/zernio-sdk/models/attach_campaign_assets_request.rb +283 -0
- data/lib/zernio-sdk/models/attach_campaign_assets_request_sitelinks_inner.rb +282 -0
- data/lib/zernio-sdk/models/attach_campaign_assets_request_structured_snippets_inner.rb +234 -0
- data/lib/zernio-sdk/models/create_inbox_conversation_request.rb +33 -2
- data/lib/zernio-sdk/models/create_inbox_conversation_request_template_button_params_inner.rb +270 -0
- data/lib/zernio-sdk/models/create_standalone_ad_request.rb +81 -1
- data/lib/zernio-sdk/models/create_standalone_ad_request_structured_snippets_inner.rb +235 -0
- data/lib/zernio-sdk/models/post_analytics.rb +21 -1
- data/lib/zernio-sdk/models/targeting_spec.rb +2 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +6 -0
- data/openapi.yaml +167 -10
- data/spec/api/ad_campaigns_api_spec.rb +13 -0
- data/spec/api/analytics_api_spec.rb +1 -1
- data/spec/api/messages_api_spec.rb +1 -1
- data/spec/models/attach_campaign_assets201_response_spec.rb +54 -0
- data/spec/models/attach_campaign_assets_request_sitelinks_inner_spec.rb +54 -0
- data/spec/models/attach_campaign_assets_request_spec.rb +54 -0
- data/spec/models/attach_campaign_assets_request_structured_snippets_inner_spec.rb +46 -0
- data/spec/models/create_inbox_conversation_request_spec.rb +6 -0
- data/spec/models/create_inbox_conversation_request_template_button_params_inner_spec.rb +52 -0
- data/spec/models/create_standalone_ad_request_spec.rb +12 -0
- data/spec/models/create_standalone_ad_request_structured_snippets_inner_spec.rb +46 -0
- data/spec/models/post_analytics_spec.rb +12 -0
- metadata +25 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::CreateInboxConversationRequestTemplateButtonParamsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::CreateInboxConversationRequestTemplateButtonParamsInner do
|
|
21
|
+
#let(:instance) { Zernio::CreateInboxConversationRequestTemplateButtonParamsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateInboxConversationRequestTemplateButtonParamsInner' do
|
|
24
|
+
it 'should create an instance of CreateInboxConversationRequestTemplateButtonParamsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::CreateInboxConversationRequestTemplateButtonParamsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "index"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "sub_type"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["url", "copy_code", "flow"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.sub_type = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "value"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -501,6 +501,18 @@ describe Zernio::CreateStandaloneAdRequest do
|
|
|
501
501
|
end
|
|
502
502
|
end
|
|
503
503
|
|
|
504
|
+
describe 'test attribute "callouts"' do
|
|
505
|
+
it 'should work' do
|
|
506
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
describe 'test attribute "structured_snippets"' do
|
|
511
|
+
it 'should work' do
|
|
512
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
513
|
+
end
|
|
514
|
+
end
|
|
515
|
+
|
|
504
516
|
describe 'test attribute "advantage_audience"' do
|
|
505
517
|
it 'should work' do
|
|
506
518
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::CreateStandaloneAdRequestStructuredSnippetsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::CreateStandaloneAdRequestStructuredSnippetsInner do
|
|
21
|
+
#let(:instance) { Zernio::CreateStandaloneAdRequestStructuredSnippetsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateStandaloneAdRequestStructuredSnippetsInner' do
|
|
24
|
+
it 'should create an instance of CreateStandaloneAdRequestStructuredSnippetsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::CreateStandaloneAdRequestStructuredSnippetsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "header"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Amenities", "Brands", "Courses", "Degree programs", "Destinations", "Featured hotels", "Insurance coverage", "Models", "Neighborhoods", "Service catalog", "Shows", "Styles", "Types"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.header = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "values"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -93,6 +93,18 @@ describe Zernio::PostAnalytics do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
describe 'test attribute "reels_skip_rate"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "reposts"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
96
108
|
describe 'test attribute "video_duration_seconds"' do
|
|
97
109
|
it 'should work' do
|
|
98
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zernio-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.772
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -149,6 +149,10 @@ files:
|
|
|
149
149
|
- docs/AssignGoogleBusinessLocation200Response.md
|
|
150
150
|
- docs/AssignGoogleBusinessLocation200ResponseAccount.md
|
|
151
151
|
- docs/AssignGoogleBusinessLocationRequest.md
|
|
152
|
+
- docs/AttachCampaignAssets201Response.md
|
|
153
|
+
- docs/AttachCampaignAssetsRequest.md
|
|
154
|
+
- docs/AttachCampaignAssetsRequestSitelinksInner.md
|
|
155
|
+
- docs/AttachCampaignAssetsRequestStructuredSnippetsInner.md
|
|
152
156
|
- docs/AttachNumberToSipTrunk200Response.md
|
|
153
157
|
- docs/AttachNumberToSipTrunkRequest.md
|
|
154
158
|
- docs/BatchGetGoogleBusinessReviews200Response.md
|
|
@@ -328,6 +332,7 @@ files:
|
|
|
328
332
|
- docs/CreateInboxConversation429Response.md
|
|
329
333
|
- docs/CreateInboxConversationRequest.md
|
|
330
334
|
- docs/CreateInboxConversationRequestHeaderMedia.md
|
|
335
|
+
- docs/CreateInboxConversationRequestTemplateButtonParamsInner.md
|
|
331
336
|
- docs/CreateInviteToken201Response.md
|
|
332
337
|
- docs/CreateInviteTokenRequest.md
|
|
333
338
|
- docs/CreateLeadForm200Response.md
|
|
@@ -393,6 +398,7 @@ files:
|
|
|
393
398
|
- docs/CreateStandaloneAdRequestPromotedObject.md
|
|
394
399
|
- docs/CreateStandaloneAdRequestRegionsInner.md
|
|
395
400
|
- docs/CreateStandaloneAdRequestSitelinksInner.md
|
|
401
|
+
- docs/CreateStandaloneAdRequestStructuredSnippetsInner.md
|
|
396
402
|
- docs/CreateStandaloneAdRequestTracking.md
|
|
397
403
|
- docs/CreateStandaloneAdRequestTranslationsInner.md
|
|
398
404
|
- docs/CreateStandaloneAdRequestVideo.md
|
|
@@ -2000,6 +2006,10 @@ files:
|
|
|
2000
2006
|
- lib/zernio-sdk/models/assign_google_business_location200_response.rb
|
|
2001
2007
|
- lib/zernio-sdk/models/assign_google_business_location200_response_account.rb
|
|
2002
2008
|
- lib/zernio-sdk/models/assign_google_business_location_request.rb
|
|
2009
|
+
- lib/zernio-sdk/models/attach_campaign_assets201_response.rb
|
|
2010
|
+
- lib/zernio-sdk/models/attach_campaign_assets_request.rb
|
|
2011
|
+
- lib/zernio-sdk/models/attach_campaign_assets_request_sitelinks_inner.rb
|
|
2012
|
+
- lib/zernio-sdk/models/attach_campaign_assets_request_structured_snippets_inner.rb
|
|
2003
2013
|
- lib/zernio-sdk/models/attach_number_to_sip_trunk200_response.rb
|
|
2004
2014
|
- lib/zernio-sdk/models/attach_number_to_sip_trunk_request.rb
|
|
2005
2015
|
- lib/zernio-sdk/models/batch_get_google_business_reviews200_response.rb
|
|
@@ -2170,6 +2180,7 @@ files:
|
|
|
2170
2180
|
- lib/zernio-sdk/models/create_inbox_conversation429_response.rb
|
|
2171
2181
|
- lib/zernio-sdk/models/create_inbox_conversation_request.rb
|
|
2172
2182
|
- lib/zernio-sdk/models/create_inbox_conversation_request_header_media.rb
|
|
2183
|
+
- lib/zernio-sdk/models/create_inbox_conversation_request_template_button_params_inner.rb
|
|
2173
2184
|
- lib/zernio-sdk/models/create_invite_token201_response.rb
|
|
2174
2185
|
- lib/zernio-sdk/models/create_invite_token_request.rb
|
|
2175
2186
|
- lib/zernio-sdk/models/create_lead_form200_response.rb
|
|
@@ -2235,6 +2246,7 @@ files:
|
|
|
2235
2246
|
- lib/zernio-sdk/models/create_standalone_ad_request_promoted_object.rb
|
|
2236
2247
|
- lib/zernio-sdk/models/create_standalone_ad_request_regions_inner.rb
|
|
2237
2248
|
- lib/zernio-sdk/models/create_standalone_ad_request_sitelinks_inner.rb
|
|
2249
|
+
- lib/zernio-sdk/models/create_standalone_ad_request_structured_snippets_inner.rb
|
|
2238
2250
|
- lib/zernio-sdk/models/create_standalone_ad_request_tracking.rb
|
|
2239
2251
|
- lib/zernio-sdk/models/create_standalone_ad_request_translations_inner.rb
|
|
2240
2252
|
- lib/zernio-sdk/models/create_standalone_ad_request_video.rb
|
|
@@ -3791,6 +3803,10 @@ files:
|
|
|
3791
3803
|
- spec/models/assign_google_business_location200_response_account_spec.rb
|
|
3792
3804
|
- spec/models/assign_google_business_location200_response_spec.rb
|
|
3793
3805
|
- spec/models/assign_google_business_location_request_spec.rb
|
|
3806
|
+
- spec/models/attach_campaign_assets201_response_spec.rb
|
|
3807
|
+
- spec/models/attach_campaign_assets_request_sitelinks_inner_spec.rb
|
|
3808
|
+
- spec/models/attach_campaign_assets_request_spec.rb
|
|
3809
|
+
- spec/models/attach_campaign_assets_request_structured_snippets_inner_spec.rb
|
|
3794
3810
|
- spec/models/attach_number_to_sip_trunk200_response_spec.rb
|
|
3795
3811
|
- spec/models/attach_number_to_sip_trunk_request_spec.rb
|
|
3796
3812
|
- spec/models/batch_get_google_business_reviews200_response_location_reviews_inner_spec.rb
|
|
@@ -3961,6 +3977,7 @@ files:
|
|
|
3961
3977
|
- spec/models/create_inbox_conversation429_response_spec.rb
|
|
3962
3978
|
- spec/models/create_inbox_conversation_request_header_media_spec.rb
|
|
3963
3979
|
- spec/models/create_inbox_conversation_request_spec.rb
|
|
3980
|
+
- spec/models/create_inbox_conversation_request_template_button_params_inner_spec.rb
|
|
3964
3981
|
- spec/models/create_invite_token201_response_spec.rb
|
|
3965
3982
|
- spec/models/create_invite_token_request_spec.rb
|
|
3966
3983
|
- spec/models/create_lead_form200_response_spec.rb
|
|
@@ -4026,6 +4043,7 @@ files:
|
|
|
4026
4043
|
- spec/models/create_standalone_ad_request_regions_inner_spec.rb
|
|
4027
4044
|
- spec/models/create_standalone_ad_request_sitelinks_inner_spec.rb
|
|
4028
4045
|
- spec/models/create_standalone_ad_request_spec.rb
|
|
4046
|
+
- spec/models/create_standalone_ad_request_structured_snippets_inner_spec.rb
|
|
4029
4047
|
- spec/models/create_standalone_ad_request_tracking_spec.rb
|
|
4030
4048
|
- spec/models/create_standalone_ad_request_translations_inner_spec.rb
|
|
4031
4049
|
- spec/models/create_standalone_ad_request_video_spec.rb
|
|
@@ -5784,6 +5802,7 @@ test_files:
|
|
|
5784
5802
|
- spec/models/update_workflow_request_spec.rb
|
|
5785
5803
|
- spec/models/upload_whats_app_flow_json_request_flow_json_spec.rb
|
|
5786
5804
|
- spec/models/update_bluesky_settings_request_spec.rb
|
|
5805
|
+
- spec/models/create_standalone_ad_request_structured_snippets_inner_spec.rb
|
|
5787
5806
|
- spec/models/delete_discord_scheduled_event200_response_spec.rb
|
|
5788
5807
|
- spec/models/on_whats_app_number_activated_request_spec.rb
|
|
5789
5808
|
- spec/models/list_ads_business_centers200_response_spec.rb
|
|
@@ -6551,6 +6570,7 @@ test_files:
|
|
|
6551
6570
|
- spec/models/add_whats_app_group_participants_request_spec.rb
|
|
6552
6571
|
- spec/models/get_phone_number_kyc_form200_response_spec.rb
|
|
6553
6572
|
- spec/models/get_whats_app_flow_json200_response_spec.rb
|
|
6573
|
+
- spec/models/attach_campaign_assets_request_structured_snippets_inner_spec.rb
|
|
6554
6574
|
- spec/models/get_posting_frequency200_response_frequency_inner_spec.rb
|
|
6555
6575
|
- spec/models/get_subreddit_rules200_response_rules_inner_spec.rb
|
|
6556
6576
|
- spec/models/list_snapchat_profiles200_response_spec.rb
|
|
@@ -6633,6 +6653,7 @@ test_files:
|
|
|
6633
6653
|
- spec/models/create_standalone_ad_request_placement_assets_spec.rb
|
|
6634
6654
|
- spec/models/get_gmb_attribute_metadata200_response_attribute_metadata_inner_spec.rb
|
|
6635
6655
|
- spec/models/conversion_event_user_click_ids_spec.rb
|
|
6656
|
+
- spec/models/attach_campaign_assets_request_spec.rb
|
|
6636
6657
|
- spec/models/trigger_workflow200_response_execution_spec.rb
|
|
6637
6658
|
- spec/models/usage_metering_call_usage_whatsapp_spec.rb
|
|
6638
6659
|
- spec/models/list_ads202_response_spec.rb
|
|
@@ -6711,6 +6732,7 @@ test_files:
|
|
|
6711
6732
|
- spec/models/get_inbox_conversation_analytics200_response_by_source_inner_spec.rb
|
|
6712
6733
|
- spec/models/list_sequences200_response_sequences_inner_spec.rb
|
|
6713
6734
|
- spec/models/billing_snapshot_period_spec.rb
|
|
6735
|
+
- spec/models/attach_campaign_assets201_response_spec.rb
|
|
6714
6736
|
- spec/models/delete_inbox_review_reply_request_spec.rb
|
|
6715
6737
|
- spec/models/create_post403_response_spec.rb
|
|
6716
6738
|
- spec/models/purchase_phone_number200_response_one_of1_spec.rb
|
|
@@ -7111,6 +7133,7 @@ test_files:
|
|
|
7111
7133
|
- spec/models/update_whats_app_template_request_spec.rb
|
|
7112
7134
|
- spec/models/get_you_tube_video_retention404_response_spec.rb
|
|
7113
7135
|
- spec/models/bulk_update_ad_campaign_status200_response_spec.rb
|
|
7136
|
+
- spec/models/attach_campaign_assets_request_sitelinks_inner_spec.rb
|
|
7114
7137
|
- spec/models/list_instagram_stories200_response_spec.rb
|
|
7115
7138
|
- spec/models/get_ad_account_finance200_response_spec.rb
|
|
7116
7139
|
- spec/models/send_sms_request_spec.rb
|
|
@@ -7200,6 +7223,7 @@ test_files:
|
|
|
7200
7223
|
- spec/models/update_ad_tracking_tags_request_spec.rb
|
|
7201
7224
|
- spec/models/webhook_payload_whats_app_template_category_updated_spec.rb
|
|
7202
7225
|
- spec/models/set_whatsapp_business_username_request_spec.rb
|
|
7226
|
+
- spec/models/create_inbox_conversation_request_template_button_params_inner_spec.rb
|
|
7203
7227
|
- spec/models/send_inbox_message_request_interactive_action_one_of6_spec.rb
|
|
7204
7228
|
- spec/models/list_whats_app_number_countries200_response_spec.rb
|
|
7205
7229
|
- spec/models/enable_voice_on_number200_response_spec.rb
|