late-sdk 0.0.896 → 0.0.898

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/docs/AdCampaignsApi.md +12 -8
  4. data/docs/AdCreative.md +6 -0
  5. data/docs/AdCreativesApi.md +2 -2
  6. data/docs/BoostPostRequest.md +5 -3
  7. data/docs/CreateAdCreative201Response.md +5 -1
  8. data/docs/CreateAdCreativeRequest.md +4 -2
  9. data/docs/CreateCallAdRequest.md +3 -1
  10. data/docs/CreateMessagingAdRequest.md +3 -1
  11. data/docs/CreateStandaloneAdRequest.md +5 -3
  12. data/docs/CreateStandaloneAdRequestCreativesInner.md +4 -0
  13. data/docs/CreateStandaloneAdRequestPromotedObject.md +2 -2
  14. data/docs/CtwaAdRequestBody.md +3 -1
  15. data/docs/CtwaAdRequestBodyCreativesInner.md +2 -0
  16. data/docs/MetaPromotion.md +26 -0
  17. data/docs/MetaPromotionStatus.md +15 -0
  18. data/docs/UpdateAdRequestCreative.md +4 -0
  19. data/lib/zernio-sdk/api/ad_campaigns_api.rb +11 -8
  20. data/lib/zernio-sdk/api/ad_creatives_api.rb +4 -4
  21. data/lib/zernio-sdk/models/ad_creative.rb +52 -1
  22. data/lib/zernio-sdk/models/boost_post_request.rb +16 -4
  23. data/lib/zernio-sdk/models/create_ad_creative201_response.rb +44 -4
  24. data/lib/zernio-sdk/models/create_ad_creative_request.rb +11 -2
  25. data/lib/zernio-sdk/models/create_call_ad_request.rb +14 -2
  26. data/lib/zernio-sdk/models/create_messaging_ad_request.rb +14 -2
  27. data/lib/zernio-sdk/models/create_standalone_ad_request.rb +12 -3
  28. data/lib/zernio-sdk/models/create_standalone_ad_request_creatives_inner.rb +23 -1
  29. data/lib/zernio-sdk/models/create_standalone_ad_request_dynamic_creative.rb +1 -1
  30. data/lib/zernio-sdk/models/create_standalone_ad_request_promoted_object.rb +2 -2
  31. data/lib/zernio-sdk/models/ctwa_ad_request_body.rb +14 -2
  32. data/lib/zernio-sdk/models/ctwa_ad_request_body_creatives_inner.rb +35 -1
  33. data/lib/zernio-sdk/models/meta_promotion.rb +275 -0
  34. data/lib/zernio-sdk/models/meta_promotion_status.rb +41 -0
  35. data/lib/zernio-sdk/models/update_ad_request_creative.rb +45 -2
  36. data/lib/zernio-sdk/version.rb +1 -1
  37. data/lib/zernio-sdk.rb +2 -0
  38. data/openapi.yaml +141 -18
  39. data/spec/api/ad_campaigns_api_spec.rb +5 -4
  40. data/spec/api/ad_creatives_api_spec.rb +2 -2
  41. data/spec/models/ad_creative_spec.rb +18 -0
  42. data/spec/models/boost_post_request_spec.rb +10 -0
  43. data/spec/models/create_ad_creative201_response_spec.rb +12 -0
  44. data/spec/models/create_ad_creative_request_spec.rb +6 -0
  45. data/spec/models/create_call_ad_request_spec.rb +10 -0
  46. data/spec/models/create_messaging_ad_request_spec.rb +10 -0
  47. data/spec/models/create_standalone_ad_request_creatives_inner_spec.rb +16 -0
  48. data/spec/models/create_standalone_ad_request_spec.rb +6 -0
  49. data/spec/models/ctwa_ad_request_body_creatives_inner_spec.rb +10 -0
  50. data/spec/models/ctwa_ad_request_body_spec.rb +10 -0
  51. data/spec/models/meta_promotion_spec.rb +64 -0
  52. data/spec/models/meta_promotion_status_spec.rb +30 -0
  53. data/spec/models/update_ad_request_creative_spec.rb +16 -0
  54. data/zernio-sdk-0.0.898.gem +0 -0
  55. metadata +10 -2
  56. data/zernio-sdk-0.0.896.gem +0 -0
@@ -93,6 +93,12 @@ describe Zernio::CreateAdCreativeRequest do
93
93
  end
94
94
  end
95
95
 
96
+ describe 'test attribute "promotion"' 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
+
96
102
  describe 'test attribute "creative_features"' do
97
103
  it 'should work' do
98
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -27,6 +27,16 @@ describe Zernio::CreateCallAdRequest do
27
27
  end
28
28
  end
29
29
 
30
+ describe 'test attribute "creative_features"' 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('Hash<String, String>', ["OPT_IN", "OPT_OUT"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.creative_features = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
30
40
  describe 'test attribute "account_id"' do
31
41
  it 'should work' do
32
42
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -27,6 +27,16 @@ describe Zernio::CreateMessagingAdRequest do
27
27
  end
28
28
  end
29
29
 
30
+ describe 'test attribute "creative_features"' 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('Hash<String, String>', ["OPT_IN", "OPT_OUT"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.creative_features = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
30
40
  describe 'test attribute "account_id"' do
31
41
  it 'should work' do
32
42
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -27,6 +27,22 @@ describe Zernio::CreateStandaloneAdRequestCreativesInner do
27
27
  end
28
28
  end
29
29
 
30
+ describe 'test attribute "promotion"' 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 "creative_features"' 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('Hash<String, String>', ["OPT_IN", "OPT_OUT"])
40
+ # validator.allowable_values.each do |value|
41
+ # expect { instance.creative_features = value }.not_to raise_error
42
+ # end
43
+ end
44
+ end
45
+
30
46
  describe 'test attribute "name"' do
31
47
  it 'should work' do
32
48
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -107,6 +107,12 @@ describe Zernio::CreateStandaloneAdRequest do
107
107
  end
108
108
  end
109
109
 
110
+ describe 'test attribute "promotion"' do
111
+ it 'should work' do
112
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
113
+ end
114
+ end
115
+
110
116
  describe 'test attribute "creative_features"' do
111
117
  it 'should work' do
112
118
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -39,6 +39,16 @@ describe Zernio::CtwaAdRequestBodyCreativesInner do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "creative_features"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Hash<String, String>', ["OPT_IN", "OPT_OUT"])
46
+ # validator.allowable_values.each do |value|
47
+ # expect { instance.creative_features = value }.not_to raise_error
48
+ # end
49
+ end
50
+ end
51
+
42
52
  describe 'test attribute "headline"' do
43
53
  it 'should work' do
44
54
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -27,6 +27,16 @@ describe Zernio::CtwaAdRequestBody do
27
27
  end
28
28
  end
29
29
 
30
+ describe 'test attribute "creative_features"' 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('Hash<String, String>', ["OPT_IN", "OPT_OUT"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.creative_features = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
30
40
  describe 'test attribute "account_id"' do
31
41
  it 'should work' do
32
42
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,64 @@
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::MetaPromotion
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::MetaPromotion do
21
+ #let(:instance) { Zernio::MetaPromotion.new }
22
+
23
+ describe 'test an instance of MetaPromotion' do
24
+ it 'should create an instance of MetaPromotion' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::MetaPromotion)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "type"' 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', ["AMOUNT_OFF", "FREE_RETURN", "FREE_SHIPPING", "PERCENTAGE_OFF", "PROMO_CODE"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "value"' 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
+ describe 'test attribute "code"' 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
+ describe 'test attribute "start_date"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "end_date"' 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
+
64
+ end
@@ -0,0 +1,30 @@
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::MetaPromotionStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::MetaPromotionStatus do
21
+ #let(:instance) { Zernio::MetaPromotionStatus.new }
22
+
23
+ describe 'test an instance of MetaPromotionStatus' do
24
+ it 'should create an instance of MetaPromotionStatus' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::MetaPromotionStatus)
27
+ end
28
+ end
29
+
30
+ end
@@ -27,6 +27,22 @@ describe Zernio::UpdateAdRequestCreative do
27
27
  end
28
28
  end
29
29
 
30
+ describe 'test attribute "promotion"' 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 "creative_features"' 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('Hash<String, String>', ["OPT_IN", "OPT_OUT"])
40
+ # validator.allowable_values.each do |value|
41
+ # expect { instance.creative_features = value }.not_to raise_error
42
+ # end
43
+ end
44
+ end
45
+
30
46
  describe 'test attribute "headline"' do
31
47
  it 'should work' do
32
48
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.896
4
+ version: 0.0.898
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -1292,6 +1292,8 @@ files:
1292
1292
  - docs/MetaAdsPlatformData.md
1293
1293
  - docs/MetaLeadFormPlatformData.md
1294
1294
  - docs/MetaLeadFormPlatformDataContextCard.md
1295
+ - docs/MetaPromotion.md
1296
+ - docs/MetaPromotionStatus.md
1295
1297
  - docs/Money.md
1296
1298
  - docs/MoneyAmount.md
1297
1299
  - docs/MoveAccountToProfile200Response.md
@@ -3336,6 +3338,8 @@ files:
3336
3338
  - lib/zernio-sdk/models/meta_ads_platform_data.rb
3337
3339
  - lib/zernio-sdk/models/meta_lead_form_platform_data.rb
3338
3340
  - lib/zernio-sdk/models/meta_lead_form_platform_data_context_card.rb
3341
+ - lib/zernio-sdk/models/meta_promotion.rb
3342
+ - lib/zernio-sdk/models/meta_promotion_status.rb
3339
3343
  - lib/zernio-sdk/models/money.rb
3340
3344
  - lib/zernio-sdk/models/money_amount.rb
3341
3345
  - lib/zernio-sdk/models/move_account_to_profile200_response.rb
@@ -5348,6 +5352,8 @@ files:
5348
5352
  - spec/models/meta_ads_platform_data_spec.rb
5349
5353
  - spec/models/meta_lead_form_platform_data_context_card_spec.rb
5350
5354
  - spec/models/meta_lead_form_platform_data_spec.rb
5355
+ - spec/models/meta_promotion_spec.rb
5356
+ - spec/models/meta_promotion_status_spec.rb
5351
5357
  - spec/models/money_amount_spec.rb
5352
5358
  - spec/models/money_spec.rb
5353
5359
  - spec/models/move_account_to_profile200_response_spec.rb
@@ -6109,7 +6115,7 @@ files:
6109
6115
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
6110
6116
  - spec/models/you_tube_video_retention_response_spec.rb
6111
6117
  - spec/spec_helper.rb
6112
- - zernio-sdk-0.0.896.gem
6118
+ - zernio-sdk-0.0.898.gem
6113
6119
  - zernio-sdk.gemspec
6114
6120
  homepage: https://openapi-generator.tech
6115
6121
  licenses:
@@ -7031,6 +7037,7 @@ test_files:
7031
7037
  - spec/models/get_ad_comments200_response_meta_spec.rb
7032
7038
  - spec/models/get_discord_guild_member200_response_spec.rb
7033
7039
  - spec/models/on_verification_failed_request_spec.rb
7040
+ - spec/models/meta_promotion_status_spec.rb
7034
7041
  - spec/models/money_amount_spec.rb
7035
7042
  - spec/models/list_ad_campaigns200_response_spec.rb
7036
7043
  - spec/models/search_tweets200_response_tweets_inner_author_spec.rb
@@ -7837,6 +7844,7 @@ test_files:
7837
7844
  - spec/models/get_linked_in_bid_pricing200_response_spec.rb
7838
7845
  - spec/models/purchase_phone_number202_response_spec.rb
7839
7846
  - spec/models/boost_post_request_targeting_cities_inner_spec.rb
7847
+ - spec/models/meta_promotion_spec.rb
7840
7848
  - spec/models/update_broadcast_request_template_variable_mapping_value_spec.rb
7841
7849
  - spec/models/comment_automation_template_element_spec.rb
7842
7850
  - spec/models/webhook_payload_call_ended_spec.rb
Binary file