zernio-sdk 0.0.596 → 0.0.598
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 +9 -0
- data/docs/AdInsightsApi.md +155 -9
- data/docs/CreatePostRequestPlatformsInnerPlatformSpecificData.md +2 -0
- data/docs/GenerateKeywordHistoricalMetrics200Response.md +22 -0
- data/docs/GenerateKeywordHistoricalMetricsRequest.md +32 -0
- data/docs/GenerateKeywordIdeas200Response.md +24 -0
- data/docs/GenerateKeywordIdeas200ResponsePaging.md +18 -0
- data/docs/GenerateKeywordIdeasRequest.md +36 -0
- data/docs/GetAdsActivityLog200Response.md +1 -1
- data/docs/GetAdsActivityLog200ResponsePaging.md +18 -0
- data/docs/ListAdCreatives200Response.md +1 -1
- data/docs/ListAdImages200Response.md +1 -1
- data/docs/ListAdLabels200Response.md +1 -1
- data/docs/ListAdStudies200Response.md +1 -1
- data/docs/ListHighDemandPeriods200Response.md +1 -1
- data/docs/ListMetaBusinesses200Response.md +1 -1
- data/docs/PlatformTargetPlatformSpecificData.md +2 -0
- data/docs/QueryAdInsights200Response.md +5 -1
- data/docs/QueryAdInsights200ResponsePaging.md +4 -2
- data/docs/SlackPlatformData.md +26 -0
- data/lib/zernio-sdk/api/accounts_api.rb +1 -1
- data/lib/zernio-sdk/api/ad_insights_api.rb +158 -13
- data/lib/zernio-sdk/api/connect_api.rb +1 -1
- data/lib/zernio-sdk/models/account_with_follower_stats.rb +2 -2
- data/lib/zernio-sdk/models/create_post_request_platforms_inner_platform_specific_data.rb +1 -0
- data/lib/zernio-sdk/models/generate_keyword_historical_metrics200_response.rb +169 -0
- data/lib/zernio-sdk/models/generate_keyword_historical_metrics_request.rb +337 -0
- data/lib/zernio-sdk/models/generate_keyword_ideas200_response.rb +178 -0
- data/lib/zernio-sdk/models/generate_keyword_ideas200_response_paging.rb +149 -0
- data/lib/zernio-sdk/models/generate_keyword_ideas_request.rb +378 -0
- data/lib/zernio-sdk/models/get_ads_activity_log200_response.rb +1 -1
- data/lib/zernio-sdk/models/get_ads_activity_log200_response_paging.rb +149 -0
- data/lib/zernio-sdk/models/list_ad_creatives200_response.rb +1 -1
- data/lib/zernio-sdk/models/list_ad_images200_response.rb +1 -1
- data/lib/zernio-sdk/models/list_ad_labels200_response.rb +1 -1
- data/lib/zernio-sdk/models/list_ad_studies200_response.rb +1 -1
- data/lib/zernio-sdk/models/list_high_demand_periods200_response.rb +1 -1
- data/lib/zernio-sdk/models/list_meta_businesses200_response.rb +1 -1
- data/lib/zernio-sdk/models/platform_target_platform_specific_data.rb +1 -0
- data/lib/zernio-sdk/models/query_ad_insights200_response.rb +23 -1
- data/lib/zernio-sdk/models/query_ad_insights200_response_paging.rb +17 -6
- data/lib/zernio-sdk/models/slack_platform_data.rb +189 -0
- data/lib/zernio-sdk/models/social_account.rb +2 -2
- data/lib/zernio-sdk/models/validate_post_request_platforms_inner.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +7 -0
- data/openapi.yaml +156 -22
- data/spec/api/ad_insights_api_spec.rb +30 -3
- data/spec/models/account_with_follower_stats_spec.rb +1 -1
- data/spec/models/generate_keyword_historical_metrics200_response_spec.rb +48 -0
- data/spec/models/generate_keyword_historical_metrics_request_spec.rb +82 -0
- data/spec/models/generate_keyword_ideas200_response_paging_spec.rb +36 -0
- data/spec/models/generate_keyword_ideas200_response_spec.rb +54 -0
- data/spec/models/generate_keyword_ideas_request_spec.rb +94 -0
- data/spec/models/get_ads_activity_log200_response_paging_spec.rb +36 -0
- data/spec/models/query_ad_insights200_response_paging_spec.rb +6 -0
- data/spec/models/query_ad_insights200_response_spec.rb +12 -0
- data/spec/models/slack_platform_data_spec.rb +60 -0
- data/spec/models/social_account_spec.rb +1 -1
- data/spec/models/validate_post_request_platforms_inner_spec.rb +1 -1
- metadata +29 -1
|
@@ -36,7 +36,7 @@ describe Zernio::AccountWithFollowerStats do
|
|
|
36
36
|
describe 'test attribute "platform"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["tiktok", "instagram", "facebook", "youtube", "linkedin", "twitter", "threads", "pinterest", "reddit", "bluesky", "googlebusiness", "telegram", "snapchat", "discord", "whatsapp", "linkedinads", "metaads", "pinterestads", "tiktokads", "xads", "googleads", "openaiads"])
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["tiktok", "instagram", "facebook", "youtube", "linkedin", "twitter", "threads", "pinterest", "reddit", "bluesky", "googlebusiness", "telegram", "snapchat", "discord", "slack", "whatsapp", "linkedinads", "metaads", "pinterestads", "tiktokads", "xads", "googleads", "openaiads"])
|
|
40
40
|
# validator.allowable_values.each do |value|
|
|
41
41
|
# expect { instance.platform = value }.not_to raise_error
|
|
42
42
|
# end
|
|
@@ -0,0 +1,48 @@
|
|
|
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::GenerateKeywordHistoricalMetrics200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GenerateKeywordHistoricalMetrics200Response do
|
|
21
|
+
#let(:instance) { Zernio::GenerateKeywordHistoricalMetrics200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GenerateKeywordHistoricalMetrics200Response' do
|
|
24
|
+
it 'should create an instance of GenerateKeywordHistoricalMetrics200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GenerateKeywordHistoricalMetrics200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "customer_id"' 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 "data"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "aggregate_metric_results"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,82 @@
|
|
|
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::GenerateKeywordHistoricalMetricsRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GenerateKeywordHistoricalMetricsRequest do
|
|
21
|
+
#let(:instance) { Zernio::GenerateKeywordHistoricalMetricsRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GenerateKeywordHistoricalMetricsRequest' do
|
|
24
|
+
it 'should create an instance of GenerateKeywordHistoricalMetricsRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GenerateKeywordHistoricalMetricsRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "account_id"' 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 "customer_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "keywords"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "countries"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "language_constant_id"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "network"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GOOGLE_SEARCH", "GOOGLE_SEARCH_AND_PARTNERS"])
|
|
64
|
+
# validator.allowable_values.each do |value|
|
|
65
|
+
# expect { instance.network = value }.not_to raise_error
|
|
66
|
+
# end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "include_adult_keywords"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "include_average_cpc"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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::GenerateKeywordIdeas200ResponsePaging
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GenerateKeywordIdeas200ResponsePaging do
|
|
21
|
+
#let(:instance) { Zernio::GenerateKeywordIdeas200ResponsePaging.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GenerateKeywordIdeas200ResponsePaging' do
|
|
24
|
+
it 'should create an instance of GenerateKeywordIdeas200ResponsePaging' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GenerateKeywordIdeas200ResponsePaging)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "next_page_token"' 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
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
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::GenerateKeywordIdeas200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GenerateKeywordIdeas200Response do
|
|
21
|
+
#let(:instance) { Zernio::GenerateKeywordIdeas200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GenerateKeywordIdeas200Response' do
|
|
24
|
+
it 'should create an instance of GenerateKeywordIdeas200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GenerateKeywordIdeas200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "customer_id"' 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 "data"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "aggregate_metric_results"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "paging"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,94 @@
|
|
|
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::GenerateKeywordIdeasRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GenerateKeywordIdeasRequest do
|
|
21
|
+
#let(:instance) { Zernio::GenerateKeywordIdeasRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GenerateKeywordIdeasRequest' do
|
|
24
|
+
it 'should create an instance of GenerateKeywordIdeasRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GenerateKeywordIdeasRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "account_id"' 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 "customer_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "seed_keywords"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "seed_url"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "countries"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "language_constant_id"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "network"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GOOGLE_SEARCH", "GOOGLE_SEARCH_AND_PARTNERS"])
|
|
70
|
+
# validator.allowable_values.each do |value|
|
|
71
|
+
# expect { instance.network = value }.not_to raise_error
|
|
72
|
+
# end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "include_adult_keywords"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "page_size"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "page_token"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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::GetAdsActivityLog200ResponsePaging
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GetAdsActivityLog200ResponsePaging do
|
|
21
|
+
#let(:instance) { Zernio::GetAdsActivityLog200ResponsePaging.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetAdsActivityLog200ResponsePaging' do
|
|
24
|
+
it 'should create an instance of GetAdsActivityLog200ResponsePaging' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GetAdsActivityLog200ResponsePaging)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "after"' 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
|
+
end
|
|
@@ -33,4 +33,10 @@ describe Zernio::QueryAdInsights200ResponsePaging do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "next_page_token"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
end
|
|
@@ -33,6 +33,18 @@ describe Zernio::QueryAdInsights200Response do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "customer_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "field_mask"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
36
48
|
describe 'test attribute "data"' do
|
|
37
49
|
it 'should work' do
|
|
38
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,60 @@
|
|
|
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::SlackPlatformData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::SlackPlatformData do
|
|
21
|
+
#let(:instance) { Zernio::SlackPlatformData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SlackPlatformData' do
|
|
24
|
+
it 'should create an instance of SlackPlatformData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::SlackPlatformData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "thread_ts"' 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 "unfurl_links"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "unfurl_media"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "username"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "icon_url"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -36,7 +36,7 @@ describe Zernio::SocialAccount do
|
|
|
36
36
|
describe 'test attribute "platform"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["tiktok", "instagram", "facebook", "youtube", "linkedin", "twitter", "threads", "pinterest", "reddit", "bluesky", "googlebusiness", "telegram", "snapchat", "discord", "whatsapp", "linkedinads", "metaads", "pinterestads", "tiktokads", "xads", "googleads", "openaiads"])
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["tiktok", "instagram", "facebook", "youtube", "linkedin", "twitter", "threads", "pinterest", "reddit", "bluesky", "googlebusiness", "telegram", "snapchat", "discord", "slack", "whatsapp", "linkedinads", "metaads", "pinterestads", "tiktokads", "xads", "googleads", "openaiads"])
|
|
40
40
|
# validator.allowable_values.each do |value|
|
|
41
41
|
# expect { instance.platform = value }.not_to raise_error
|
|
42
42
|
# end
|
|
@@ -30,7 +30,7 @@ describe Zernio::ValidatePostRequestPlatformsInner do
|
|
|
30
30
|
describe 'test attribute "platform"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["twitter", "instagram", "tiktok", "youtube", "facebook", "linkedin", "bluesky", "threads", "reddit", "pinterest", "telegram", "snapchat", "googlebusiness", "discord"])
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["twitter", "instagram", "tiktok", "youtube", "facebook", "linkedin", "bluesky", "threads", "reddit", "pinterest", "telegram", "snapchat", "googlebusiness", "discord", "slack"])
|
|
34
34
|
# validator.allowable_values.each do |value|
|
|
35
35
|
# expect { instance.platform = value }.not_to raise_error
|
|
36
36
|
# 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.598
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -486,6 +486,11 @@ files:
|
|
|
486
486
|
- docs/GenerateAdPreviews200Response.md
|
|
487
487
|
- docs/GenerateAdPreviews200ResponsePreviewsInner.md
|
|
488
488
|
- docs/GenerateAdPreviewsRequest.md
|
|
489
|
+
- docs/GenerateKeywordHistoricalMetrics200Response.md
|
|
490
|
+
- docs/GenerateKeywordHistoricalMetricsRequest.md
|
|
491
|
+
- docs/GenerateKeywordIdeas200Response.md
|
|
492
|
+
- docs/GenerateKeywordIdeas200ResponsePaging.md
|
|
493
|
+
- docs/GenerateKeywordIdeasRequest.md
|
|
489
494
|
- docs/GeoRestriction.md
|
|
490
495
|
- docs/GetAccountHealth200Response.md
|
|
491
496
|
- docs/GetAccountHealth200ResponsePermissions.md
|
|
@@ -508,6 +513,7 @@ files:
|
|
|
508
513
|
- docs/GetAdTrackingTags200Response.md
|
|
509
514
|
- docs/GetAdTree200Response.md
|
|
510
515
|
- docs/GetAdsActivityLog200Response.md
|
|
516
|
+
- docs/GetAdsActivityLog200ResponsePaging.md
|
|
511
517
|
- docs/GetAdsTimeline200Response.md
|
|
512
518
|
- docs/GetAdsTimeline200ResponseRowsInner.md
|
|
513
519
|
- docs/GetAllAccountsHealth200Response.md
|
|
@@ -1284,6 +1290,7 @@ files:
|
|
|
1284
1290
|
- docs/ShareSmsRegistration200Response.md
|
|
1285
1291
|
- docs/ShareSmsRegistrationRequest.md
|
|
1286
1292
|
- docs/SharedAdAccount.md
|
|
1293
|
+
- docs/SlackPlatformData.md
|
|
1287
1294
|
- docs/SnapchatPlatformData.md
|
|
1288
1295
|
- docs/SocialAccount.md
|
|
1289
1296
|
- docs/SocialAccountProfileId.md
|
|
@@ -2111,6 +2118,11 @@ files:
|
|
|
2111
2118
|
- lib/zernio-sdk/models/generate_ad_previews200_response.rb
|
|
2112
2119
|
- lib/zernio-sdk/models/generate_ad_previews200_response_previews_inner.rb
|
|
2113
2120
|
- lib/zernio-sdk/models/generate_ad_previews_request.rb
|
|
2121
|
+
- lib/zernio-sdk/models/generate_keyword_historical_metrics200_response.rb
|
|
2122
|
+
- lib/zernio-sdk/models/generate_keyword_historical_metrics_request.rb
|
|
2123
|
+
- lib/zernio-sdk/models/generate_keyword_ideas200_response.rb
|
|
2124
|
+
- lib/zernio-sdk/models/generate_keyword_ideas200_response_paging.rb
|
|
2125
|
+
- lib/zernio-sdk/models/generate_keyword_ideas_request.rb
|
|
2114
2126
|
- lib/zernio-sdk/models/geo_restriction.rb
|
|
2115
2127
|
- lib/zernio-sdk/models/get_account_health200_response.rb
|
|
2116
2128
|
- lib/zernio-sdk/models/get_account_health200_response_permissions.rb
|
|
@@ -2133,6 +2145,7 @@ files:
|
|
|
2133
2145
|
- lib/zernio-sdk/models/get_ad_tracking_tags200_response.rb
|
|
2134
2146
|
- lib/zernio-sdk/models/get_ad_tree200_response.rb
|
|
2135
2147
|
- lib/zernio-sdk/models/get_ads_activity_log200_response.rb
|
|
2148
|
+
- lib/zernio-sdk/models/get_ads_activity_log200_response_paging.rb
|
|
2136
2149
|
- lib/zernio-sdk/models/get_ads_timeline200_response.rb
|
|
2137
2150
|
- lib/zernio-sdk/models/get_ads_timeline200_response_rows_inner.rb
|
|
2138
2151
|
- lib/zernio-sdk/models/get_all_accounts_health200_response.rb
|
|
@@ -2890,6 +2903,7 @@ files:
|
|
|
2890
2903
|
- lib/zernio-sdk/models/share_sms_registration200_response.rb
|
|
2891
2904
|
- lib/zernio-sdk/models/share_sms_registration_request.rb
|
|
2892
2905
|
- lib/zernio-sdk/models/shared_ad_account.rb
|
|
2906
|
+
- lib/zernio-sdk/models/slack_platform_data.rb
|
|
2893
2907
|
- lib/zernio-sdk/models/snapchat_platform_data.rb
|
|
2894
2908
|
- lib/zernio-sdk/models/social_account.rb
|
|
2895
2909
|
- lib/zernio-sdk/models/social_account_profile_id.rb
|
|
@@ -3696,6 +3710,11 @@ files:
|
|
|
3696
3710
|
- spec/models/generate_ad_previews200_response_previews_inner_spec.rb
|
|
3697
3711
|
- spec/models/generate_ad_previews200_response_spec.rb
|
|
3698
3712
|
- spec/models/generate_ad_previews_request_spec.rb
|
|
3713
|
+
- spec/models/generate_keyword_historical_metrics200_response_spec.rb
|
|
3714
|
+
- spec/models/generate_keyword_historical_metrics_request_spec.rb
|
|
3715
|
+
- spec/models/generate_keyword_ideas200_response_paging_spec.rb
|
|
3716
|
+
- spec/models/generate_keyword_ideas200_response_spec.rb
|
|
3717
|
+
- spec/models/generate_keyword_ideas_request_spec.rb
|
|
3699
3718
|
- spec/models/geo_restriction_spec.rb
|
|
3700
3719
|
- spec/models/get_account_health200_response_permissions_posting_inner_spec.rb
|
|
3701
3720
|
- spec/models/get_account_health200_response_permissions_spec.rb
|
|
@@ -3717,6 +3736,7 @@ files:
|
|
|
3717
3736
|
- spec/models/get_ad_set_details200_response_spec.rb
|
|
3718
3737
|
- spec/models/get_ad_tracking_tags200_response_spec.rb
|
|
3719
3738
|
- spec/models/get_ad_tree200_response_spec.rb
|
|
3739
|
+
- spec/models/get_ads_activity_log200_response_paging_spec.rb
|
|
3720
3740
|
- spec/models/get_ads_activity_log200_response_spec.rb
|
|
3721
3741
|
- spec/models/get_ads_timeline200_response_rows_inner_spec.rb
|
|
3722
3742
|
- spec/models/get_ads_timeline200_response_spec.rb
|
|
@@ -4475,6 +4495,7 @@ files:
|
|
|
4475
4495
|
- spec/models/share_sms_registration200_response_spec.rb
|
|
4476
4496
|
- spec/models/share_sms_registration_request_spec.rb
|
|
4477
4497
|
- spec/models/shared_ad_account_spec.rb
|
|
4498
|
+
- spec/models/slack_platform_data_spec.rb
|
|
4478
4499
|
- spec/models/snapchat_platform_data_spec.rb
|
|
4479
4500
|
- spec/models/social_account_profile_id_spec.rb
|
|
4480
4501
|
- spec/models/social_account_spec.rb
|
|
@@ -4923,6 +4944,7 @@ test_files:
|
|
|
4923
4944
|
- spec/models/billing_snapshot_legacy_spec.rb
|
|
4924
4945
|
- spec/models/get_discord_guild_member200_response_spec.rb
|
|
4925
4946
|
- spec/models/list_phone_number_countries200_response_countries_inner_types_inner_spec.rb
|
|
4947
|
+
- spec/models/generate_keyword_historical_metrics200_response_spec.rb
|
|
4926
4948
|
- spec/models/add_broadcast_recipients200_response_spec.rb
|
|
4927
4949
|
- spec/models/send_whats_app_conversion200_response_spec.rb
|
|
4928
4950
|
- spec/models/update_ad_account200_response_spec.rb
|
|
@@ -4968,6 +4990,7 @@ test_files:
|
|
|
4968
4990
|
- spec/models/snapchat_platform_data_spec.rb
|
|
4969
4991
|
- spec/models/webhook_payload_post_platform_platform_spec.rb
|
|
4970
4992
|
- spec/models/get_phone_number_kyc_form200_response_fields_inner_spec.rb
|
|
4993
|
+
- spec/models/generate_keyword_ideas200_response_spec.rb
|
|
4971
4994
|
- spec/models/send_discord_direct_message200_response_spec.rb
|
|
4972
4995
|
- spec/models/test_webhook_request_spec.rb
|
|
4973
4996
|
- spec/models/get_all_accounts_health200_response_spec.rb
|
|
@@ -4997,6 +5020,7 @@ test_files:
|
|
|
4997
5020
|
- spec/models/get_inbox_conversation_messages200_response_messages_inner_reactions_inner_spec.rb
|
|
4998
5021
|
- spec/models/update_ad_set_status200_response_spec.rb
|
|
4999
5022
|
- spec/models/get_inbox_conversation_messages200_response_pagination_spec.rb
|
|
5023
|
+
- spec/models/slack_platform_data_spec.rb
|
|
5000
5024
|
- spec/models/update_tracking_tag_request_spec.rb
|
|
5001
5025
|
- spec/models/get_google_business_services200_response_services_inner_free_form_service_item_spec.rb
|
|
5002
5026
|
- spec/models/remove_conversion_associations200_response_spec.rb
|
|
@@ -5194,6 +5218,7 @@ test_files:
|
|
|
5194
5218
|
- spec/models/webhook_payload_reaction_spec.rb
|
|
5195
5219
|
- spec/models/update_pinterest_boards_request_spec.rb
|
|
5196
5220
|
- spec/models/connected_account_spec.rb
|
|
5221
|
+
- spec/models/generate_keyword_ideas200_response_paging_spec.rb
|
|
5197
5222
|
- spec/models/get_reddit_flairs200_response_spec.rb
|
|
5198
5223
|
- spec/models/edit_inbox_message_request_reply_markup_spec.rb
|
|
5199
5224
|
- spec/models/on_verification_failed_request_verification_spec.rb
|
|
@@ -5319,6 +5344,7 @@ test_files:
|
|
|
5319
5344
|
- spec/models/send_inbox_message_request_interactive_action_one_of_spec.rb
|
|
5320
5345
|
- spec/models/call_record_transcript_inner_spec.rb
|
|
5321
5346
|
- spec/models/get_calls_usage200_response_groups_inner_spec.rb
|
|
5347
|
+
- spec/models/get_ads_activity_log200_response_paging_spec.rb
|
|
5322
5348
|
- spec/models/get_google_business_services200_response_spec.rb
|
|
5323
5349
|
- spec/models/gbp_update_free_form_service_item_label_spec.rb
|
|
5324
5350
|
- spec/models/billing_snapshot_caps_spec.rb
|
|
@@ -5794,6 +5820,7 @@ test_files:
|
|
|
5794
5820
|
- spec/models/platform_target_platform_specific_data_spec.rb
|
|
5795
5821
|
- spec/models/preflight_sms_registration_request_spec.rb
|
|
5796
5822
|
- spec/models/get_conversions_quality200_response_spec.rb
|
|
5823
|
+
- spec/models/generate_keyword_ideas_request_spec.rb
|
|
5797
5824
|
- spec/models/get_linked_in_supply_forecast200_response_forecast_inner_time_series_inner_ad_forecast_range_spec.rb
|
|
5798
5825
|
- spec/models/create_test_lead_request_spec.rb
|
|
5799
5826
|
- spec/models/fetch_google_business_verification_options_request_spec.rb
|
|
@@ -6371,6 +6398,7 @@ test_files:
|
|
|
6371
6398
|
- spec/models/webhook_payload_comment_account_spec.rb
|
|
6372
6399
|
- spec/models/get_analytics402_response_spec.rb
|
|
6373
6400
|
- spec/models/end_voice_call200_response_spec.rb
|
|
6401
|
+
- spec/models/generate_keyword_historical_metrics_request_spec.rb
|
|
6374
6402
|
- spec/models/send_private_reply_to_comment_request_buttons_inner_spec.rb
|
|
6375
6403
|
- spec/models/validate_post_request_spec.rb
|
|
6376
6404
|
- spec/models/get_post_timeline400_response_spec.rb
|