zernio-sdk 0.0.613 → 0.0.615
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 +5 -0
- data/docs/AdCampaignsApi.md +6 -0
- data/docs/AdCreative.md +2 -0
- data/docs/AnalyticsApi.md +78 -2
- data/docs/FacebookPostEarningsResponse.md +32 -0
- data/docs/FacebookPostEarningsResponseMetricsValue.md +22 -0
- data/docs/FacebookPostEarningsResponseUnavailableMetricsInner.md +22 -0
- data/docs/InstagramAccountInsightsResponse.md +3 -1
- data/docs/InstagramAccountInsightsResponseMetricsValue.md +6 -2
- data/docs/InstagramAccountInsightsResponseUnavailableMetricsInner.md +22 -0
- data/lib/zernio-sdk/api/ad_campaigns_api.rb +9 -0
- data/lib/zernio-sdk/api/analytics_api.rb +76 -2
- data/lib/zernio-sdk/models/ad_creative.rb +12 -1
- data/lib/zernio-sdk/models/facebook_post_earnings_response.rb +253 -0
- data/lib/zernio-sdk/models/facebook_post_earnings_response_metrics_value.rb +203 -0
- data/lib/zernio-sdk/models/facebook_post_earnings_response_unavailable_metrics_inner.rb +202 -0
- data/lib/zernio-sdk/models/instagram_account_insights_response.rb +14 -2
- data/lib/zernio-sdk/models/instagram_account_insights_response_metrics_value.rb +60 -5
- data/lib/zernio-sdk/models/instagram_account_insights_response_unavailable_metrics_inner.rb +202 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +4 -0
- data/openapi.yaml +326 -2
- data/spec/api/ad_campaigns_api_spec.rb +3 -0
- data/spec/api/analytics_api_spec.rb +15 -1
- data/spec/models/ad_creative_spec.rb +6 -0
- data/spec/models/facebook_post_earnings_response_metrics_value_spec.rb +52 -0
- data/spec/models/facebook_post_earnings_response_spec.rb +82 -0
- data/spec/models/facebook_post_earnings_response_unavailable_metrics_inner_spec.rb +52 -0
- data/spec/models/instagram_account_insights_response_metrics_value_spec.rb +16 -0
- data/spec/models/instagram_account_insights_response_spec.rb +6 -0
- data/spec/models/instagram_account_insights_response_unavailable_metrics_inner_spec.rb +52 -0
- metadata +17 -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
|
|
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::FacebookPostEarningsResponseUnavailableMetricsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::FacebookPostEarningsResponseUnavailableMetricsInner do
|
|
21
|
+
#let(:instance) { Zernio::FacebookPostEarningsResponseUnavailableMetricsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FacebookPostEarningsResponseUnavailableMetricsInner' do
|
|
24
|
+
it 'should create an instance of FacebookPostEarningsResponseUnavailableMetricsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::FacebookPostEarningsResponseUnavailableMetricsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "metric"' 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 "reason"' 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', ["not_enrolled", "permission_missing", "unsupported_metric", "no_data", "unreadable_value", "mixed_currency", "upstream_error"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.reason = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "message"' 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
|
|
@@ -45,4 +45,20 @@ describe Zernio::InstagramAccountInsightsResponseMetricsValue do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "unit"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["micro_amount", "unspecified"])
|
|
52
|
+
# validator.allowable_values.each do |value|
|
|
53
|
+
# expect { instance.unit = value }.not_to raise_error
|
|
54
|
+
# end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "currency"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
48
64
|
end
|
|
@@ -77,6 +77,12 @@ describe Zernio::InstagramAccountInsightsResponse do
|
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
describe 'test attribute "unavailable_metrics"' do
|
|
81
|
+
it 'should work' do
|
|
82
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
80
86
|
describe 'test attribute "data_delay"' do
|
|
81
87
|
it 'should work' do
|
|
82
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -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
|
|
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::InstagramAccountInsightsResponseUnavailableMetricsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::InstagramAccountInsightsResponseUnavailableMetricsInner do
|
|
21
|
+
#let(:instance) { Zernio::InstagramAccountInsightsResponseUnavailableMetricsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of InstagramAccountInsightsResponseUnavailableMetricsInner' do
|
|
24
|
+
it 'should create an instance of InstagramAccountInsightsResponseUnavailableMetricsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::InstagramAccountInsightsResponseUnavailableMetricsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "metric"' 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 "reason"' 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', ["not_enrolled", "permission_missing", "unsupported_metric", "no_data", "unreadable_value", "mixed_currency", "upstream_error"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.reason = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "message"' 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
|
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.615
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -457,6 +457,9 @@ files:
|
|
|
457
457
|
- docs/ExternalPostWebhookPost.md
|
|
458
458
|
- docs/FacebookPlatformData.md
|
|
459
459
|
- docs/FacebookPlatformDataCarouselCardsInner.md
|
|
460
|
+
- docs/FacebookPostEarningsResponse.md
|
|
461
|
+
- docs/FacebookPostEarningsResponseMetricsValue.md
|
|
462
|
+
- docs/FacebookPostEarningsResponseUnavailableMetricsInner.md
|
|
460
463
|
- docs/FetchGoogleBusinessVerificationOptions200Response.md
|
|
461
464
|
- docs/FetchGoogleBusinessVerificationOptions200ResponseOptionsInner.md
|
|
462
465
|
- docs/FetchGoogleBusinessVerificationOptionsRequest.md
|
|
@@ -835,6 +838,7 @@ files:
|
|
|
835
838
|
- docs/InstagramAccountInsightsResponseMetricsValue.md
|
|
836
839
|
- docs/InstagramAccountInsightsResponseMetricsValueBreakdownsInner.md
|
|
837
840
|
- docs/InstagramAccountInsightsResponseMetricsValueValuesInner.md
|
|
841
|
+
- docs/InstagramAccountInsightsResponseUnavailableMetricsInner.md
|
|
838
842
|
- docs/InstagramApi.md
|
|
839
843
|
- docs/InstagramDemographicsResponse.md
|
|
840
844
|
- docs/InstagramDemographicsResponseDemographicsValueInner.md
|
|
@@ -2107,6 +2111,9 @@ files:
|
|
|
2107
2111
|
- lib/zernio-sdk/models/external_post_webhook_post.rb
|
|
2108
2112
|
- lib/zernio-sdk/models/facebook_platform_data.rb
|
|
2109
2113
|
- lib/zernio-sdk/models/facebook_platform_data_carousel_cards_inner.rb
|
|
2114
|
+
- lib/zernio-sdk/models/facebook_post_earnings_response.rb
|
|
2115
|
+
- lib/zernio-sdk/models/facebook_post_earnings_response_metrics_value.rb
|
|
2116
|
+
- lib/zernio-sdk/models/facebook_post_earnings_response_unavailable_metrics_inner.rb
|
|
2110
2117
|
- lib/zernio-sdk/models/fetch_google_business_verification_options200_response.rb
|
|
2111
2118
|
- lib/zernio-sdk/models/fetch_google_business_verification_options200_response_options_inner.rb
|
|
2112
2119
|
- lib/zernio-sdk/models/fetch_google_business_verification_options_request.rb
|
|
@@ -2476,6 +2483,7 @@ files:
|
|
|
2476
2483
|
- lib/zernio-sdk/models/instagram_account_insights_response_metrics_value.rb
|
|
2477
2484
|
- lib/zernio-sdk/models/instagram_account_insights_response_metrics_value_breakdowns_inner.rb
|
|
2478
2485
|
- lib/zernio-sdk/models/instagram_account_insights_response_metrics_value_values_inner.rb
|
|
2486
|
+
- lib/zernio-sdk/models/instagram_account_insights_response_unavailable_metrics_inner.rb
|
|
2479
2487
|
- lib/zernio-sdk/models/instagram_demographics_response.rb
|
|
2480
2488
|
- lib/zernio-sdk/models/instagram_demographics_response_demographics_value_inner.rb
|
|
2481
2489
|
- lib/zernio-sdk/models/instagram_platform_data.rb
|
|
@@ -3709,6 +3717,9 @@ files:
|
|
|
3709
3717
|
- spec/models/external_post_webhook_post_spec.rb
|
|
3710
3718
|
- spec/models/facebook_platform_data_carousel_cards_inner_spec.rb
|
|
3711
3719
|
- spec/models/facebook_platform_data_spec.rb
|
|
3720
|
+
- spec/models/facebook_post_earnings_response_metrics_value_spec.rb
|
|
3721
|
+
- spec/models/facebook_post_earnings_response_spec.rb
|
|
3722
|
+
- spec/models/facebook_post_earnings_response_unavailable_metrics_inner_spec.rb
|
|
3712
3723
|
- spec/models/fetch_google_business_verification_options200_response_options_inner_spec.rb
|
|
3713
3724
|
- spec/models/fetch_google_business_verification_options200_response_spec.rb
|
|
3714
3725
|
- spec/models/fetch_google_business_verification_options_request_spec.rb
|
|
@@ -4078,6 +4089,7 @@ files:
|
|
|
4078
4089
|
- spec/models/instagram_account_insights_response_metrics_value_spec.rb
|
|
4079
4090
|
- spec/models/instagram_account_insights_response_metrics_value_values_inner_spec.rb
|
|
4080
4091
|
- spec/models/instagram_account_insights_response_spec.rb
|
|
4092
|
+
- spec/models/instagram_account_insights_response_unavailable_metrics_inner_spec.rb
|
|
4081
4093
|
- spec/models/instagram_demographics_response_demographics_value_inner_spec.rb
|
|
4082
4094
|
- spec/models/instagram_demographics_response_spec.rb
|
|
4083
4095
|
- spec/models/instagram_platform_data_spec.rb
|
|
@@ -5127,6 +5139,7 @@ test_files:
|
|
|
5127
5139
|
- spec/models/accounts_list_response_spec.rb
|
|
5128
5140
|
- spec/models/purchase_whats_app_phone_number_request_spec.rb
|
|
5129
5141
|
- spec/models/create_pinterest_board201_response_board_spec.rb
|
|
5142
|
+
- spec/models/facebook_post_earnings_response_spec.rb
|
|
5130
5143
|
- spec/models/get_whats_app_call_permissions200_response_permission_spec.rb
|
|
5131
5144
|
- spec/models/discord_platform_data_embeds_inner_fields_inner_spec.rb
|
|
5132
5145
|
- spec/models/get_inbox_volume200_response_summary_spec.rb
|
|
@@ -5233,6 +5246,7 @@ test_files:
|
|
|
5233
5246
|
- spec/models/list_comment_automations200_response_automations_inner_stats_spec.rb
|
|
5234
5247
|
- spec/models/create_post_request_platforms_inner_spec.rb
|
|
5235
5248
|
- spec/models/list_facebook_pages200_response_spec.rb
|
|
5249
|
+
- spec/models/facebook_post_earnings_response_metrics_value_spec.rb
|
|
5236
5250
|
- spec/models/create_standalone_ad_request_creatives_inner_spec.rb
|
|
5237
5251
|
- spec/models/account_with_follower_stats_all_of_account_stats_spec.rb
|
|
5238
5252
|
- spec/models/linked_in_lead_form_platform_data_locale_spec.rb
|
|
@@ -5684,6 +5698,7 @@ test_files:
|
|
|
5684
5698
|
- spec/models/usage_metering_period_spec.rb
|
|
5685
5699
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5686
5700
|
- spec/models/webhook_payload_whats_app_template_status_updated_account_spec.rb
|
|
5701
|
+
- spec/models/facebook_post_earnings_response_unavailable_metrics_inner_spec.rb
|
|
5687
5702
|
- spec/models/threads_platform_data_spec.rb
|
|
5688
5703
|
- spec/models/get_whats_app_business_profile200_response_business_profile_spec.rb
|
|
5689
5704
|
- spec/models/list_whats_app_flows200_response_flows_inner_spec.rb
|
|
@@ -5856,6 +5871,7 @@ test_files:
|
|
|
5856
5871
|
- spec/models/get_conversions_quality200_response_spec.rb
|
|
5857
5872
|
- spec/models/generate_keyword_ideas_request_spec.rb
|
|
5858
5873
|
- spec/models/get_linked_in_supply_forecast200_response_forecast_inner_time_series_inner_ad_forecast_range_spec.rb
|
|
5874
|
+
- spec/models/instagram_account_insights_response_unavailable_metrics_inner_spec.rb
|
|
5859
5875
|
- spec/models/create_test_lead_request_spec.rb
|
|
5860
5876
|
- spec/models/fetch_google_business_verification_options_request_spec.rb
|
|
5861
5877
|
- spec/models/list_calls200_response_spec.rb
|