zernio-sdk 0.0.551 → 0.0.552

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42a9943b2ee9c3eb7684318975d497ab4cfc78bb913ae7c9c03c2802cefce170
4
- data.tar.gz: 923e4c1e1665bb4d2347afce53a268e224f6cc07f0b12f7c43163b3f7073a580
3
+ metadata.gz: 0acadee3d965d9470e681d95a5462f4c0d39bee363d399627979b50372ddeeb8
4
+ data.tar.gz: 535ab1dab7a674089c15d5432ce5688b2dda5301c34e9c52ff95f7d3c0f541b7
5
5
  SHA512:
6
- metadata.gz: d8ce28810b4aff93717ac154e6d29601385df2d994c3a6de36f624a58fe50c9c35602414412a2a40f8e5f487681bc10854765c4c16651354473184cfad8ea142
7
- data.tar.gz: d13bf22eb97da4aafa66e4849b391817a7dfa710f9130c0e6660f61ba6c3546eb18a21c0131b8f1475f41438a2dff86e175fa206ab584c40fd97ab7f55612d44
6
+ metadata.gz: e482f70c931a7d94de1ee3c774552dba89db6edd6264683b10745f8b95308ae0074aab711a86fd709cd32fb8dac6fc7cdd4a2a9e1f8ed575bdb315acb7a02639
7
+ data.tar.gz: f56690d4ab683dab5bc14b137ea5cf41b80d6a37d39018da2eac98b7fe77e71f5dc7cae4bfa11f8f624c73555168a9faafb8361e602faf58350841fc2c9682ae
data/README.md CHANGED
@@ -670,6 +670,7 @@ Class | Method | HTTP request | Description
670
670
  - [Zernio::BoostPostRequestTargetingCustomLocationsInner](docs/BoostPostRequestTargetingCustomLocationsInner.md)
671
671
  - [Zernio::BoostPostRequestTargetingRegionsInner](docs/BoostPostRequestTargetingRegionsInner.md)
672
672
  - [Zernio::BoostPostRequestTracking](docs/BoostPostRequestTracking.md)
673
+ - [Zernio::BoostPostRequestTrackingUrlTagsInner](docs/BoostPostRequestTrackingUrlTagsInner.md)
673
674
  - [Zernio::BulkCreateContacts200Response](docs/BulkCreateContacts200Response.md)
674
675
  - [Zernio::BulkCreateContactsRequest](docs/BulkCreateContactsRequest.md)
675
676
  - [Zernio::BulkCreateContactsRequestContactsInner](docs/BulkCreateContactsRequestContactsInner.md)
@@ -781,7 +782,6 @@ Class | Method | HTTP request | Description
781
782
  - [Zernio::CreateLeadForm200Response](docs/CreateLeadForm200Response.md)
782
783
  - [Zernio::CreateLeadFormRequest](docs/CreateLeadFormRequest.md)
783
784
  - [Zernio::CreateLeadFormRequestQuestionsInner](docs/CreateLeadFormRequestQuestionsInner.md)
784
- - [Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner](docs/CreateLeadFormRequestQuestionsInnerOptionsInner.md)
785
785
  - [Zernio::CreateMessagingAdRequest](docs/CreateMessagingAdRequest.md)
786
786
  - [Zernio::CreatePhoneNumberKycLink200Response](docs/CreatePhoneNumberKycLink200Response.md)
787
787
  - [Zernio::CreatePhoneNumberKycLinkRequest](docs/CreatePhoneNumberKycLinkRequest.md)
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **pixel_id** | **String** | | [optional] |
8
- | **url_tags** | **String** | | [optional] |
8
+ | **url_tags** | [**Array<BoostPostRequestTrackingUrlTagsInner>**](BoostPostRequestTrackingUrlTagsInner.md) | URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`. | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -1,4 +1,4 @@
1
- # Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner
1
+ # Zernio::BoostPostRequestTrackingUrlTagsInner
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'zernio-sdk'
14
14
 
15
- instance = Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner.new(
15
+ instance = Zernio::BoostPostRequestTrackingUrlTagsInner.new(
16
16
  key: null,
17
17
  value: null
18
18
  )
@@ -7,7 +7,7 @@
7
7
  | **type** | **String** | EMAIL, PHONE, FULL_NAME, FIRST_NAME, LAST_NAME, CUSTOM, … | |
8
8
  | **key** | **String** | CUSTOM questions only. | [optional] |
9
9
  | **label** | **String** | CUSTOM questions only. | [optional] |
10
- | **options** | [**Array<CreateLeadFormRequestQuestionsInnerOptionsInner>**](CreateLeadFormRequestQuestionsInnerOptionsInner.md) | | [optional] |
10
+ | **options** | [**Array<BoostPostRequestTrackingUrlTagsInner>**](BoostPostRequestTrackingUrlTagsInner.md) | | [optional] |
11
11
  | **inline_context** | **String** | | [optional] |
12
12
 
13
13
  ## Example
@@ -18,6 +18,7 @@ module Zernio
18
18
  class BoostPostRequestTracking < ApiModelBase
19
19
  attr_accessor :pixel_id
20
20
 
21
+ # URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`.
21
22
  attr_accessor :url_tags
22
23
 
23
24
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -42,7 +43,7 @@ module Zernio
42
43
  def self.openapi_types
43
44
  {
44
45
  :'pixel_id' => :'String',
45
- :'url_tags' => :'String'
46
+ :'url_tags' => :'Array<BoostPostRequestTrackingUrlTagsInner>'
46
47
  }
47
48
  end
48
49
 
@@ -73,7 +74,9 @@ module Zernio
73
74
  end
74
75
 
75
76
  if attributes.key?(:'url_tags')
76
- self.url_tags = attributes[:'url_tags']
77
+ if (value = attributes[:'url_tags']).is_a?(Array)
78
+ self.url_tags = value
79
+ end
77
80
  end
78
81
  end
79
82
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zernio
17
- class CreateLeadFormRequestQuestionsInnerOptionsInner < ApiModelBase
17
+ class BoostPostRequestTrackingUrlTagsInner < ApiModelBase
18
18
  attr_accessor :key
19
19
 
20
20
  attr_accessor :value
@@ -55,14 +55,14 @@ module Zernio
55
55
  # @param [Hash] attributes Model attributes in the form of hash
56
56
  def initialize(attributes = {})
57
57
  if (!attributes.is_a?(Hash))
58
- fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner` initialize method"
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::BoostPostRequestTrackingUrlTagsInner` initialize method"
59
59
  end
60
60
 
61
61
  # check to see if the attribute exists and convert string to symbol for hash key
62
62
  acceptable_attribute_map = self.class.acceptable_attribute_map
63
63
  attributes = attributes.each_with_object({}) { |(k, v), h|
64
64
  if (!acceptable_attribute_map.key?(k.to_sym))
65
- fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::BoostPostRequestTrackingUrlTagsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
66
66
  end
67
67
  h[k.to_sym] = v
68
68
  }
@@ -55,7 +55,7 @@ module Zernio
55
55
  :'type' => :'String',
56
56
  :'key' => :'String',
57
57
  :'label' => :'String',
58
- :'options' => :'Array<CreateLeadFormRequestQuestionsInnerOptionsInner>',
58
+ :'options' => :'Array<BoostPostRequestTrackingUrlTagsInner>',
59
59
  :'inline_context' => :'String'
60
60
  }
61
61
  end
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.551'
14
+ VERSION = '0.0.552'
15
15
  end
data/lib/zernio-sdk.rb CHANGED
@@ -103,6 +103,7 @@ require 'zernio-sdk/models/boost_post_request_targeting_cities_inner'
103
103
  require 'zernio-sdk/models/boost_post_request_targeting_custom_locations_inner'
104
104
  require 'zernio-sdk/models/boost_post_request_targeting_regions_inner'
105
105
  require 'zernio-sdk/models/boost_post_request_tracking'
106
+ require 'zernio-sdk/models/boost_post_request_tracking_url_tags_inner'
106
107
  require 'zernio-sdk/models/bulk_create_contacts200_response'
107
108
  require 'zernio-sdk/models/bulk_create_contacts_request'
108
109
  require 'zernio-sdk/models/bulk_create_contacts_request_contacts_inner'
@@ -214,7 +215,6 @@ require 'zernio-sdk/models/create_invite_token_request'
214
215
  require 'zernio-sdk/models/create_lead_form200_response'
215
216
  require 'zernio-sdk/models/create_lead_form_request'
216
217
  require 'zernio-sdk/models/create_lead_form_request_questions_inner'
217
- require 'zernio-sdk/models/create_lead_form_request_questions_inner_options_inner'
218
218
  require 'zernio-sdk/models/create_messaging_ad_request'
219
219
  require 'zernio-sdk/models/create_phone_number_kyc_link200_response'
220
220
  require 'zernio-sdk/models/create_phone_number_kyc_link_request'
data/openapi.yaml CHANGED
@@ -35844,7 +35844,14 @@ paths:
35844
35844
  description: "Meta only. Tracking specs (pixel, URL tags)."
35845
35845
  properties:
35846
35846
  pixelId: { type: string }
35847
- urlTags: { type: string }
35847
+ urlTags:
35848
+ type: array
35849
+ description: 'URL parameters appended to the ad link, rendered as `key=value` pairs joined with `&`.'
35850
+ items:
35851
+ type: object
35852
+ properties:
35853
+ key: { type: string }
35854
+ value: { type: string }
35848
35855
  specialAdCategories:
35849
35856
  type: array
35850
35857
  description: "Meta only. Required for housing, employment, credit, or political ads."
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner
17
+ # Unit tests for Zernio::BoostPostRequestTrackingUrlTagsInner
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner do
21
- #let(:instance) { Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner.new }
20
+ describe Zernio::BoostPostRequestTrackingUrlTagsInner do
21
+ #let(:instance) { Zernio::BoostPostRequestTrackingUrlTagsInner.new }
22
22
 
23
- describe 'test an instance of CreateLeadFormRequestQuestionsInnerOptionsInner' do
24
- it 'should create an instance of CreateLeadFormRequestQuestionsInnerOptionsInner' do
23
+ describe 'test an instance of BoostPostRequestTrackingUrlTagsInner' do
24
+ it 'should create an instance of BoostPostRequestTrackingUrlTagsInner' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zernio::CreateLeadFormRequestQuestionsInnerOptionsInner)
26
+ #expect(instance).to be_instance_of(Zernio::BoostPostRequestTrackingUrlTagsInner)
27
27
  end
28
28
  end
29
29
 
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.551
4
+ version: 0.0.552
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -159,6 +159,7 @@ files:
159
159
  - docs/BoostPostRequestTargetingCustomLocationsInner.md
160
160
  - docs/BoostPostRequestTargetingRegionsInner.md
161
161
  - docs/BoostPostRequestTracking.md
162
+ - docs/BoostPostRequestTrackingUrlTagsInner.md
162
163
  - docs/BroadcastsApi.md
163
164
  - docs/BulkCreateContacts200Response.md
164
165
  - docs/BulkCreateContactsRequest.md
@@ -277,7 +278,6 @@ files:
277
278
  - docs/CreateLeadForm200Response.md
278
279
  - docs/CreateLeadFormRequest.md
279
280
  - docs/CreateLeadFormRequestQuestionsInner.md
280
- - docs/CreateLeadFormRequestQuestionsInnerOptionsInner.md
281
281
  - docs/CreateMessagingAdRequest.md
282
282
  - docs/CreatePhoneNumberKycLink200Response.md
283
283
  - docs/CreatePhoneNumberKycLinkRequest.md
@@ -1767,6 +1767,7 @@ files:
1767
1767
  - lib/zernio-sdk/models/boost_post_request_targeting_custom_locations_inner.rb
1768
1768
  - lib/zernio-sdk/models/boost_post_request_targeting_regions_inner.rb
1769
1769
  - lib/zernio-sdk/models/boost_post_request_tracking.rb
1770
+ - lib/zernio-sdk/models/boost_post_request_tracking_url_tags_inner.rb
1770
1771
  - lib/zernio-sdk/models/bulk_create_contacts200_response.rb
1771
1772
  - lib/zernio-sdk/models/bulk_create_contacts_request.rb
1772
1773
  - lib/zernio-sdk/models/bulk_create_contacts_request_contacts_inner.rb
@@ -1878,7 +1879,6 @@ files:
1878
1879
  - lib/zernio-sdk/models/create_lead_form200_response.rb
1879
1880
  - lib/zernio-sdk/models/create_lead_form_request.rb
1880
1881
  - lib/zernio-sdk/models/create_lead_form_request_questions_inner.rb
1881
- - lib/zernio-sdk/models/create_lead_form_request_questions_inner_options_inner.rb
1882
1882
  - lib/zernio-sdk/models/create_messaging_ad_request.rb
1883
1883
  - lib/zernio-sdk/models/create_phone_number_kyc_link200_response.rb
1884
1884
  - lib/zernio-sdk/models/create_phone_number_kyc_link_request.rb
@@ -3318,6 +3318,7 @@ files:
3318
3318
  - spec/models/boost_post_request_targeting_regions_inner_spec.rb
3319
3319
  - spec/models/boost_post_request_targeting_spec.rb
3320
3320
  - spec/models/boost_post_request_tracking_spec.rb
3321
+ - spec/models/boost_post_request_tracking_url_tags_inner_spec.rb
3321
3322
  - spec/models/bulk_create_contacts200_response_spec.rb
3322
3323
  - spec/models/bulk_create_contacts_request_contacts_inner_spec.rb
3323
3324
  - spec/models/bulk_create_contacts_request_spec.rb
@@ -3427,7 +3428,6 @@ files:
3427
3428
  - spec/models/create_invite_token201_response_spec.rb
3428
3429
  - spec/models/create_invite_token_request_spec.rb
3429
3430
  - spec/models/create_lead_form200_response_spec.rb
3430
- - spec/models/create_lead_form_request_questions_inner_options_inner_spec.rb
3431
3431
  - spec/models/create_lead_form_request_questions_inner_spec.rb
3432
3432
  - spec/models/create_lead_form_request_spec.rb
3433
3433
  - spec/models/create_messaging_ad_request_spec.rb
@@ -5054,7 +5054,6 @@ test_files:
5054
5054
  - spec/models/create_workflow200_response_spec.rb
5055
5055
  - spec/models/upload_phone_number_port_in_document200_response_spec.rb
5056
5056
  - spec/models/create_contact200_response_contact_spec.rb
5057
- - spec/models/create_lead_form_request_questions_inner_options_inner_spec.rb
5058
5057
  - spec/models/get_phone_number_port_in_requirements200_response_spec.rb
5059
5058
  - spec/models/set_telegram_commands_request_spec.rb
5060
5059
  - spec/models/update_ad_tracking_tags_request_creative_spec.rb
@@ -5245,6 +5244,7 @@ test_files:
5245
5244
  - spec/models/send_whats_app_flow_message_request_header_spec.rb
5246
5245
  - spec/models/get_gmb_attribute_metadata200_response_attribute_metadata_inner_spec.rb
5247
5246
  - spec/models/get_comment_automation200_response_automation_spec.rb
5247
+ - spec/models/boost_post_request_tracking_url_tags_inner_spec.rb
5248
5248
  - spec/models/approve_whats_app_group_join_requests_request_spec.rb
5249
5249
  - spec/models/send_inbox_message_request_interactive_action_one_of6_sections_inner_product_items_inner_spec.rb
5250
5250
  - spec/models/get_post_timeline400_response_spec.rb