late-sdk 0.0.764 → 0.0.766

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: 75f1776334a1ee8b97a247196a2c737370a2b0d3f181b6d6b770e2440416e68c
4
- data.tar.gz: b93a27dc73343156bee8b98a294ccef0676ec2fa56dd1573e3d9ac34ddb55050
3
+ metadata.gz: 07b063b7457ce4e9b907e355011d554462b94d6f3a324b5e1c502c0f2a13b472
4
+ data.tar.gz: 35f48c57862e8c519558bfa89260023086ea2cf4e34385be1ab7acde04e90a2c
5
5
  SHA512:
6
- metadata.gz: cf1e228d08d36dc81f881ec27b633721094e24d912c6ecf28c293a5911e2d434e9aac00e1193a7ea666b60a08a0c46622c6c56d7cdd4c048136f5d0657b55dfc
7
- data.tar.gz: 2d771fbdaa899b943c19d96ad8685551e32134a8e81c7b529c959fd3df4f58cb0545f30bd7c504ed668337bac5d7f9611e1fa459f20d2d820d7aa2103d6e0791
6
+ metadata.gz: 0c21e9954b95e853309793b8a772e4233c3b512d16e0e74d83607ac02ee3d4feaac8bab6eb01b9f9215e7cd790ef4710e19dc344b27b1d2f54d1edb3f78f20b3
7
+ data.tar.gz: c05b7bbbc9a3b97c47f058f880bd34c9fabd4be5973cf4dc6c68d42d9a144ba3e9b87316dca1ba3a9b0fab035adedea42908ca38641019b4609afd8b1a46f190
data/README.md CHANGED
@@ -704,6 +704,7 @@ Class | Method | HTTP request | Description
704
704
  - [Zernio::AddConversionAssociations200ResponseFailedInner](docs/AddConversionAssociations200ResponseFailedInner.md)
705
705
  - [Zernio::AddConversionAssociationsRequest](docs/AddConversionAssociationsRequest.md)
706
706
  - [Zernio::AddDiscordMemberRole200Response](docs/AddDiscordMemberRole200Response.md)
707
+ - [Zernio::AddMessageReaction200Response](docs/AddMessageReaction200Response.md)
707
708
  - [Zernio::AddMessageReactionRequest](docs/AddMessageReactionRequest.md)
708
709
  - [Zernio::AddTrackingTagSharedAccount201Response](docs/AddTrackingTagSharedAccount201Response.md)
709
710
  - [Zernio::AddTrackingTagSharedAccountRequest](docs/AddTrackingTagSharedAccountRequest.md)
@@ -1807,6 +1808,7 @@ Class | Method | HTTP request | Description
1807
1808
  - [Zernio::RemoveBookmark200Response](docs/RemoveBookmark200Response.md)
1808
1809
  - [Zernio::RemoveConversionAssociations200Response](docs/RemoveConversionAssociations200Response.md)
1809
1810
  - [Zernio::RemoveDiscordMemberRole200Response](docs/RemoveDiscordMemberRole200Response.md)
1811
+ - [Zernio::RemoveMessageReaction200Response](docs/RemoveMessageReaction200Response.md)
1810
1812
  - [Zernio::RemoveWhatsAppGroupParticipantsRequest](docs/RemoveWhatsAppGroupParticipantsRequest.md)
1811
1813
  - [Zernio::ReplaceAdAudienceCompanies200Response](docs/ReplaceAdAudienceCompanies200Response.md)
1812
1814
  - [Zernio::ReplaceAdAudienceCompaniesRequest](docs/ReplaceAdAudienceCompaniesRequest.md)
@@ -0,0 +1,22 @@
1
+ # Zernio::AddMessageReaction200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **message_id** | **String** | The Zernio message ID the reaction was resolved against | [optional] |
9
+ | **platform_message_id** | **String** | The platform message ID the reaction was sent for | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zernio-sdk'
15
+
16
+ instance = Zernio::AddMessageReaction200Response.new(
17
+ success: null,
18
+ message_id: null,
19
+ platform_message_id: null
20
+ )
21
+ ```
22
+
data/docs/MessagesApi.md CHANGED
@@ -23,7 +23,7 @@ All URIs are relative to *https://zernio.com/api*
23
23
 
24
24
  ## add_message_reaction
25
25
 
26
- > <UpdateYoutubeDefaultPlaylist200Response> add_message_reaction(conversation_id, message_id, add_message_reaction_request)
26
+ > <AddMessageReaction200Response> add_message_reaction(conversation_id, message_id, add_message_reaction_request)
27
27
 
28
28
  Add reaction
29
29
 
@@ -42,7 +42,7 @@ end
42
42
 
43
43
  api_instance = Zernio::MessagesApi.new
44
44
  conversation_id = 'conversation_id_example' # String | The conversation ID
45
- message_id = 'message_id_example' # String | The platform message ID to react to
45
+ message_id = 'message_id_example' # String | The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
46
46
  add_message_reaction_request = Zernio::AddMessageReactionRequest.new({account_id: 'account_id_example', emoji: '👍'}) # AddMessageReactionRequest |
47
47
 
48
48
  begin
@@ -58,7 +58,7 @@ end
58
58
 
59
59
  This returns an Array which contains the response data, status code and headers.
60
60
 
61
- > <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> add_message_reaction_with_http_info(conversation_id, message_id, add_message_reaction_request)
61
+ > <Array(<AddMessageReaction200Response>, Integer, Hash)> add_message_reaction_with_http_info(conversation_id, message_id, add_message_reaction_request)
62
62
 
63
63
  ```ruby
64
64
  begin
@@ -66,7 +66,7 @@ begin
66
66
  data, status_code, headers = api_instance.add_message_reaction_with_http_info(conversation_id, message_id, add_message_reaction_request)
67
67
  p status_code # => 2xx
68
68
  p headers # => { ... }
69
- p data # => <UpdateYoutubeDefaultPlaylist200Response>
69
+ p data # => <AddMessageReaction200Response>
70
70
  rescue Zernio::ApiError => e
71
71
  puts "Error when calling MessagesApi->add_message_reaction_with_http_info: #{e}"
72
72
  end
@@ -77,12 +77,12 @@ end
77
77
  | Name | Type | Description | Notes |
78
78
  | ---- | ---- | ----------- | ----- |
79
79
  | **conversation_id** | **String** | The conversation ID | |
80
- | **message_id** | **String** | The platform message ID to react to | |
80
+ | **message_id** | **String** | The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook) | |
81
81
  | **add_message_reaction_request** | [**AddMessageReactionRequest**](AddMessageReactionRequest.md) | | |
82
82
 
83
83
  ### Return type
84
84
 
85
- [**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
85
+ [**AddMessageReaction200Response**](AddMessageReaction200Response.md)
86
86
 
87
87
  ### Authorization
88
88
 
@@ -694,7 +694,7 @@ end
694
694
 
695
695
  ## remove_message_reaction
696
696
 
697
- > <UpdateYoutubeDefaultPlaylist200Response> remove_message_reaction(conversation_id, message_id, account_id)
697
+ > <RemoveMessageReaction200Response> remove_message_reaction(conversation_id, message_id, account_id)
698
698
 
699
699
  Remove reaction
700
700
 
@@ -713,7 +713,7 @@ end
713
713
 
714
714
  api_instance = Zernio::MessagesApi.new
715
715
  conversation_id = 'conversation_id_example' # String | The conversation ID
716
- message_id = 'message_id_example' # String | The platform message ID
716
+ message_id = 'message_id_example' # String | The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
717
717
  account_id = 'account_id_example' # String | Social account ID
718
718
 
719
719
  begin
@@ -729,7 +729,7 @@ end
729
729
 
730
730
  This returns an Array which contains the response data, status code and headers.
731
731
 
732
- > <Array(<UpdateYoutubeDefaultPlaylist200Response>, Integer, Hash)> remove_message_reaction_with_http_info(conversation_id, message_id, account_id)
732
+ > <Array(<RemoveMessageReaction200Response>, Integer, Hash)> remove_message_reaction_with_http_info(conversation_id, message_id, account_id)
733
733
 
734
734
  ```ruby
735
735
  begin
@@ -737,7 +737,7 @@ begin
737
737
  data, status_code, headers = api_instance.remove_message_reaction_with_http_info(conversation_id, message_id, account_id)
738
738
  p status_code # => 2xx
739
739
  p headers # => { ... }
740
- p data # => <UpdateYoutubeDefaultPlaylist200Response>
740
+ p data # => <RemoveMessageReaction200Response>
741
741
  rescue Zernio::ApiError => e
742
742
  puts "Error when calling MessagesApi->remove_message_reaction_with_http_info: #{e}"
743
743
  end
@@ -748,12 +748,12 @@ end
748
748
  | Name | Type | Description | Notes |
749
749
  | ---- | ---- | ----------- | ----- |
750
750
  | **conversation_id** | **String** | The conversation ID | |
751
- | **message_id** | **String** | The platform message ID | |
751
+ | **message_id** | **String** | The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook) | |
752
752
  | **account_id** | **String** | Social account ID | |
753
753
 
754
754
  ### Return type
755
755
 
756
- [**UpdateYoutubeDefaultPlaylist200Response**](UpdateYoutubeDefaultPlaylist200Response.md)
756
+ [**RemoveMessageReaction200Response**](RemoveMessageReaction200Response.md)
757
757
 
758
758
  ### Authorization
759
759
 
@@ -13,7 +13,9 @@
13
13
  | **thank_you_button_text** | **String** | | [optional] |
14
14
  | **thank_you_button_type** | **String** | | [optional] |
15
15
  | **thank_you_website_url** | **String** | | [optional] |
16
+ | **thank_you_enable_messenger** | **Boolean** | Adds a &#39;Continue in Messenger&#39; option to the thank-you page (Meta thank_you_page.enable_messenger), so the lead can carry on chatting with the Page. Set thankYouButtonType to MESSAGE_BUSINESS or P2B_MESSENGER to make the chat the primary button. | [optional][default to false] |
16
17
  | **is_optimized_for_quality** | **Boolean** | Set true for a higher-intent form (adds a review step before submit). | [optional] |
18
+ | **is_phone_sms_verify_enabled** | **Boolean** | Requires the lead to verify their phone number over SMS before the form submits (Meta is_phone_sms_verify_enabled). Only meaningful on a form with a PHONE question. Meta can restrict this parameter to apps holding a capability: when it does, the create fails with a 422 naming platformSpecificData.isPhoneSmsVerifyEnabled, and the toggle then has to be set in Meta&#39;s form builder. | [optional][default to false] |
17
19
  | **block_display_for_non_targeted_viewer** | **Boolean** | | [optional] |
18
20
  | **question_page_custom_headline** | **String** | | [optional] |
19
21
  | **context_card** | [**MetaLeadFormPlatformDataContextCard**](MetaLeadFormPlatformDataContextCard.md) | | [optional] |
@@ -33,7 +35,9 @@ instance = Zernio::MetaLeadFormPlatformData.new(
33
35
  thank_you_button_text: null,
34
36
  thank_you_button_type: VIEW_WEBSITE,
35
37
  thank_you_website_url: null,
38
+ thank_you_enable_messenger: null,
36
39
  is_optimized_for_quality: null,
40
+ is_phone_sms_verify_enabled: null,
37
41
  block_display_for_non_targeted_viewer: null,
38
42
  question_page_custom_headline: null,
39
43
  context_card: null
@@ -0,0 +1,22 @@
1
+ # Zernio::RemoveMessageReaction200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **message_id** | **String** | The Zernio message ID the removal was resolved against | [optional] |
9
+ | **platform_message_id** | **String** | The platform message ID the removal was sent for | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zernio-sdk'
15
+
16
+ instance = Zernio::RemoveMessageReaction200Response.new(
17
+ success: null,
18
+ message_id: null,
19
+ platform_message_id: null
20
+ )
21
+ ```
22
+
@@ -22,10 +22,10 @@ module Zernio
22
22
  # Add reaction
23
23
  # Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - Instagram and Facebook Messenger: Any standard emoji, subject to Meta's 24h messaging window - Slack: The emoji must have a Slack name (e.g. `:thumbsup:`); unnamed characters return 400 - All others: Returns 400 (not supported)
24
24
  # @param conversation_id [String] The conversation ID
25
- # @param message_id [String] The platform message ID to react to
25
+ # @param message_id [String] The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
26
26
  # @param add_message_reaction_request [AddMessageReactionRequest]
27
27
  # @param [Hash] opts the optional parameters
28
- # @return [UpdateYoutubeDefaultPlaylist200Response]
28
+ # @return [AddMessageReaction200Response]
29
29
  def add_message_reaction(conversation_id, message_id, add_message_reaction_request, opts = {})
30
30
  data, _status_code, _headers = add_message_reaction_with_http_info(conversation_id, message_id, add_message_reaction_request, opts)
31
31
  data
@@ -34,10 +34,10 @@ module Zernio
34
34
  # Add reaction
35
35
  # Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - Instagram and Facebook Messenger: Any standard emoji, subject to Meta&#39;s 24h messaging window - Slack: The emoji must have a Slack name (e.g. &#x60;:thumbsup:&#x60;); unnamed characters return 400 - All others: Returns 400 (not supported)
36
36
  # @param conversation_id [String] The conversation ID
37
- # @param message_id [String] The platform message ID to react to
37
+ # @param message_id [String] The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
38
38
  # @param add_message_reaction_request [AddMessageReactionRequest]
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [Array<(UpdateYoutubeDefaultPlaylist200Response, Integer, Hash)>] UpdateYoutubeDefaultPlaylist200Response data, response status code and response headers
40
+ # @return [Array<(AddMessageReaction200Response, Integer, Hash)>] AddMessageReaction200Response data, response status code and response headers
41
41
  def add_message_reaction_with_http_info(conversation_id, message_id, add_message_reaction_request, opts = {})
42
42
  if @api_client.config.debugging
43
43
  @api_client.config.logger.debug 'Calling API: MessagesApi.add_message_reaction ...'
@@ -77,7 +77,7 @@ module Zernio
77
77
  post_body = opts[:debug_body] || @api_client.object_to_http_body(add_message_reaction_request)
78
78
 
79
79
  # return_type
80
- return_type = opts[:debug_return_type] || 'UpdateYoutubeDefaultPlaylist200Response'
80
+ return_type = opts[:debug_return_type] || 'AddMessageReaction200Response'
81
81
 
82
82
  # auth_names
83
83
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -752,10 +752,10 @@ module Zernio
752
752
  # Remove reaction
753
753
  # Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - Instagram and Facebook Messenger: Sends Meta's `unreact` action; the emoji does not need to be repeated - Slack: Removes the reaction we previously sent on that message - All others: Returns 400 (not supported)
754
754
  # @param conversation_id [String] The conversation ID
755
- # @param message_id [String] The platform message ID
755
+ # @param message_id [String] The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
756
756
  # @param account_id [String] Social account ID
757
757
  # @param [Hash] opts the optional parameters
758
- # @return [UpdateYoutubeDefaultPlaylist200Response]
758
+ # @return [RemoveMessageReaction200Response]
759
759
  def remove_message_reaction(conversation_id, message_id, account_id, opts = {})
760
760
  data, _status_code, _headers = remove_message_reaction_with_http_info(conversation_id, message_id, account_id, opts)
761
761
  data
@@ -764,10 +764,10 @@ module Zernio
764
764
  # Remove reaction
765
765
  # Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - Instagram and Facebook Messenger: Sends Meta&#39;s &#x60;unreact&#x60; action; the emoji does not need to be repeated - Slack: Removes the reaction we previously sent on that message - All others: Returns 400 (not supported)
766
766
  # @param conversation_id [String] The conversation ID
767
- # @param message_id [String] The platform message ID
767
+ # @param message_id [String] The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
768
768
  # @param account_id [String] Social account ID
769
769
  # @param [Hash] opts the optional parameters
770
- # @return [Array<(UpdateYoutubeDefaultPlaylist200Response, Integer, Hash)>] UpdateYoutubeDefaultPlaylist200Response data, response status code and response headers
770
+ # @return [Array<(RemoveMessageReaction200Response, Integer, Hash)>] RemoveMessageReaction200Response data, response status code and response headers
771
771
  def remove_message_reaction_with_http_info(conversation_id, message_id, account_id, opts = {})
772
772
  if @api_client.config.debugging
773
773
  @api_client.config.logger.debug 'Calling API: MessagesApi.remove_message_reaction ...'
@@ -803,7 +803,7 @@ module Zernio
803
803
  post_body = opts[:debug_body]
804
804
 
805
805
  # return_type
806
- return_type = opts[:debug_return_type] || 'UpdateYoutubeDefaultPlaylist200Response'
806
+ return_type = opts[:debug_return_type] || 'RemoveMessageReaction200Response'
807
807
 
808
808
  # auth_names
809
809
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -0,0 +1,167 @@
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 'date'
14
+ require 'time'
15
+
16
+ module Zernio
17
+ class AddMessageReaction200Response < ApiModelBase
18
+ attr_accessor :success
19
+
20
+ # The Zernio message ID the reaction was resolved against
21
+ attr_accessor :message_id
22
+
23
+ # The platform message ID the reaction was sent for
24
+ attr_accessor :platform_message_id
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'success' => :'success',
30
+ :'message_id' => :'messageId',
31
+ :'platform_message_id' => :'platformMessageId'
32
+ }
33
+ end
34
+
35
+ # Returns attribute mapping this model knows about
36
+ def self.acceptable_attribute_map
37
+ attribute_map
38
+ end
39
+
40
+ # Returns all the JSON keys this model knows about
41
+ def self.acceptable_attributes
42
+ acceptable_attribute_map.values
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.openapi_types
47
+ {
48
+ :'success' => :'Boolean',
49
+ :'message_id' => :'String',
50
+ :'platform_message_id' => :'String'
51
+ }
52
+ end
53
+
54
+ # List of attributes with nullable: true
55
+ def self.openapi_nullable
56
+ Set.new([
57
+ ])
58
+ end
59
+
60
+ # Initializes the object
61
+ # @param [Hash] attributes Model attributes in the form of hash
62
+ def initialize(attributes = {})
63
+ if (!attributes.is_a?(Hash))
64
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::AddMessageReaction200Response` initialize method"
65
+ end
66
+
67
+ # check to see if the attribute exists and convert string to symbol for hash key
68
+ acceptable_attribute_map = self.class.acceptable_attribute_map
69
+ attributes = attributes.each_with_object({}) { |(k, v), h|
70
+ if (!acceptable_attribute_map.key?(k.to_sym))
71
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::AddMessageReaction200Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
72
+ end
73
+ h[k.to_sym] = v
74
+ }
75
+
76
+ if attributes.key?(:'success')
77
+ self.success = attributes[:'success']
78
+ end
79
+
80
+ if attributes.key?(:'message_id')
81
+ self.message_id = attributes[:'message_id']
82
+ end
83
+
84
+ if attributes.key?(:'platform_message_id')
85
+ self.platform_message_id = attributes[:'platform_message_id']
86
+ end
87
+ end
88
+
89
+ # Show invalid properties with the reasons. Usually used together with valid?
90
+ # @return Array for valid properties with the reasons
91
+ def list_invalid_properties
92
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
93
+ invalid_properties = Array.new
94
+ invalid_properties
95
+ end
96
+
97
+ # Check to see if the all the properties in the model are valid
98
+ # @return true if the model is valid
99
+ def valid?
100
+ warn '[DEPRECATED] the `valid?` method is obsolete'
101
+ true
102
+ end
103
+
104
+ # Checks equality by comparing each attribute.
105
+ # @param [Object] Object to be compared
106
+ def ==(o)
107
+ return true if self.equal?(o)
108
+ self.class == o.class &&
109
+ success == o.success &&
110
+ message_id == o.message_id &&
111
+ platform_message_id == o.platform_message_id
112
+ end
113
+
114
+ # @see the `==` method
115
+ # @param [Object] Object to be compared
116
+ def eql?(o)
117
+ self == o
118
+ end
119
+
120
+ # Calculates hash code according to all attributes.
121
+ # @return [Integer] Hash code
122
+ def hash
123
+ [success, message_id, platform_message_id].hash
124
+ end
125
+
126
+ # Builds the object from hash
127
+ # @param [Hash] attributes Model attributes in the form of hash
128
+ # @return [Object] Returns the model itself
129
+ def self.build_from_hash(attributes)
130
+ return nil unless attributes.is_a?(Hash)
131
+ attributes = attributes.transform_keys(&:to_sym)
132
+ transformed_hash = {}
133
+ openapi_types.each_pair do |key, type|
134
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
135
+ transformed_hash["#{key}"] = nil
136
+ elsif type =~ /\AArray<(.*)>/i
137
+ # check to ensure the input is an array given that the attribute
138
+ # is documented as an array but the input is not
139
+ if attributes[attribute_map[key]].is_a?(Array)
140
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
141
+ end
142
+ elsif !attributes[attribute_map[key]].nil?
143
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
144
+ end
145
+ end
146
+ new(transformed_hash)
147
+ end
148
+
149
+ # Returns the object in the form of hash
150
+ # @return [Hash] Returns the object in the form of hash
151
+ def to_hash
152
+ hash = {}
153
+ self.class.attribute_map.each_pair do |attr, param|
154
+ value = self.send(attr)
155
+ if value.nil?
156
+ is_nullable = self.class.openapi_nullable.include?(attr)
157
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
158
+ end
159
+
160
+ hash[param] = _to_hash(value)
161
+ end
162
+ hash
163
+ end
164
+
165
+ end
166
+
167
+ end
@@ -33,9 +33,15 @@ module Zernio
33
33
 
34
34
  attr_accessor :thank_you_website_url
35
35
 
36
+ # Adds a 'Continue in Messenger' option to the thank-you page (Meta thank_you_page.enable_messenger), so the lead can carry on chatting with the Page. Set thankYouButtonType to MESSAGE_BUSINESS or P2B_MESSENGER to make the chat the primary button.
37
+ attr_accessor :thank_you_enable_messenger
38
+
36
39
  # Set true for a higher-intent form (adds a review step before submit).
37
40
  attr_accessor :is_optimized_for_quality
38
41
 
42
+ # Requires the lead to verify their phone number over SMS before the form submits (Meta is_phone_sms_verify_enabled). Only meaningful on a form with a PHONE question. Meta can restrict this parameter to apps holding a capability: when it does, the create fails with a 422 naming platformSpecificData.isPhoneSmsVerifyEnabled, and the toggle then has to be set in Meta's form builder.
43
+ attr_accessor :is_phone_sms_verify_enabled
44
+
39
45
  attr_accessor :block_display_for_non_targeted_viewer
40
46
 
41
47
  attr_accessor :question_page_custom_headline
@@ -54,7 +60,9 @@ module Zernio
54
60
  :'thank_you_button_text' => :'thankYouButtonText',
55
61
  :'thank_you_button_type' => :'thankYouButtonType',
56
62
  :'thank_you_website_url' => :'thankYouWebsiteUrl',
63
+ :'thank_you_enable_messenger' => :'thankYouEnableMessenger',
57
64
  :'is_optimized_for_quality' => :'isOptimizedForQuality',
65
+ :'is_phone_sms_verify_enabled' => :'isPhoneSmsVerifyEnabled',
58
66
  :'block_display_for_non_targeted_viewer' => :'blockDisplayForNonTargetedViewer',
59
67
  :'question_page_custom_headline' => :'questionPageCustomHeadline',
60
68
  :'context_card' => :'contextCard'
@@ -83,7 +91,9 @@ module Zernio
83
91
  :'thank_you_button_text' => :'String',
84
92
  :'thank_you_button_type' => :'String',
85
93
  :'thank_you_website_url' => :'String',
94
+ :'thank_you_enable_messenger' => :'Boolean',
86
95
  :'is_optimized_for_quality' => :'Boolean',
96
+ :'is_phone_sms_verify_enabled' => :'Boolean',
87
97
  :'block_display_for_non_targeted_viewer' => :'Boolean',
88
98
  :'question_page_custom_headline' => :'String',
89
99
  :'context_card' => :'MetaLeadFormPlatformDataContextCard'
@@ -152,10 +162,22 @@ module Zernio
152
162
  self.thank_you_website_url = attributes[:'thank_you_website_url']
153
163
  end
154
164
 
165
+ if attributes.key?(:'thank_you_enable_messenger')
166
+ self.thank_you_enable_messenger = attributes[:'thank_you_enable_messenger']
167
+ else
168
+ self.thank_you_enable_messenger = false
169
+ end
170
+
155
171
  if attributes.key?(:'is_optimized_for_quality')
156
172
  self.is_optimized_for_quality = attributes[:'is_optimized_for_quality']
157
173
  end
158
174
 
175
+ if attributes.key?(:'is_phone_sms_verify_enabled')
176
+ self.is_phone_sms_verify_enabled = attributes[:'is_phone_sms_verify_enabled']
177
+ else
178
+ self.is_phone_sms_verify_enabled = false
179
+ end
180
+
159
181
  if attributes.key?(:'block_display_for_non_targeted_viewer')
160
182
  self.block_display_for_non_targeted_viewer = attributes[:'block_display_for_non_targeted_viewer']
161
183
  end
@@ -241,7 +263,9 @@ module Zernio
241
263
  thank_you_button_text == o.thank_you_button_text &&
242
264
  thank_you_button_type == o.thank_you_button_type &&
243
265
  thank_you_website_url == o.thank_you_website_url &&
266
+ thank_you_enable_messenger == o.thank_you_enable_messenger &&
244
267
  is_optimized_for_quality == o.is_optimized_for_quality &&
268
+ is_phone_sms_verify_enabled == o.is_phone_sms_verify_enabled &&
245
269
  block_display_for_non_targeted_viewer == o.block_display_for_non_targeted_viewer &&
246
270
  question_page_custom_headline == o.question_page_custom_headline &&
247
271
  context_card == o.context_card
@@ -256,7 +280,7 @@ module Zernio
256
280
  # Calculates hash code according to all attributes.
257
281
  # @return [Integer] Hash code
258
282
  def hash
259
- [questions, privacy_policy_link_text, follow_up_action_url, locale, thank_you_title, thank_you_body, thank_you_button_text, thank_you_button_type, thank_you_website_url, is_optimized_for_quality, block_display_for_non_targeted_viewer, question_page_custom_headline, context_card].hash
283
+ [questions, privacy_policy_link_text, follow_up_action_url, locale, thank_you_title, thank_you_body, thank_you_button_text, thank_you_button_type, thank_you_website_url, thank_you_enable_messenger, is_optimized_for_quality, is_phone_sms_verify_enabled, block_display_for_non_targeted_viewer, question_page_custom_headline, context_card].hash
260
284
  end
261
285
 
262
286
  # Builds the object from hash
@@ -0,0 +1,167 @@
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 'date'
14
+ require 'time'
15
+
16
+ module Zernio
17
+ class RemoveMessageReaction200Response < ApiModelBase
18
+ attr_accessor :success
19
+
20
+ # The Zernio message ID the removal was resolved against
21
+ attr_accessor :message_id
22
+
23
+ # The platform message ID the removal was sent for
24
+ attr_accessor :platform_message_id
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'success' => :'success',
30
+ :'message_id' => :'messageId',
31
+ :'platform_message_id' => :'platformMessageId'
32
+ }
33
+ end
34
+
35
+ # Returns attribute mapping this model knows about
36
+ def self.acceptable_attribute_map
37
+ attribute_map
38
+ end
39
+
40
+ # Returns all the JSON keys this model knows about
41
+ def self.acceptable_attributes
42
+ acceptable_attribute_map.values
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.openapi_types
47
+ {
48
+ :'success' => :'Boolean',
49
+ :'message_id' => :'String',
50
+ :'platform_message_id' => :'String'
51
+ }
52
+ end
53
+
54
+ # List of attributes with nullable: true
55
+ def self.openapi_nullable
56
+ Set.new([
57
+ ])
58
+ end
59
+
60
+ # Initializes the object
61
+ # @param [Hash] attributes Model attributes in the form of hash
62
+ def initialize(attributes = {})
63
+ if (!attributes.is_a?(Hash))
64
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::RemoveMessageReaction200Response` initialize method"
65
+ end
66
+
67
+ # check to see if the attribute exists and convert string to symbol for hash key
68
+ acceptable_attribute_map = self.class.acceptable_attribute_map
69
+ attributes = attributes.each_with_object({}) { |(k, v), h|
70
+ if (!acceptable_attribute_map.key?(k.to_sym))
71
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::RemoveMessageReaction200Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
72
+ end
73
+ h[k.to_sym] = v
74
+ }
75
+
76
+ if attributes.key?(:'success')
77
+ self.success = attributes[:'success']
78
+ end
79
+
80
+ if attributes.key?(:'message_id')
81
+ self.message_id = attributes[:'message_id']
82
+ end
83
+
84
+ if attributes.key?(:'platform_message_id')
85
+ self.platform_message_id = attributes[:'platform_message_id']
86
+ end
87
+ end
88
+
89
+ # Show invalid properties with the reasons. Usually used together with valid?
90
+ # @return Array for valid properties with the reasons
91
+ def list_invalid_properties
92
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
93
+ invalid_properties = Array.new
94
+ invalid_properties
95
+ end
96
+
97
+ # Check to see if the all the properties in the model are valid
98
+ # @return true if the model is valid
99
+ def valid?
100
+ warn '[DEPRECATED] the `valid?` method is obsolete'
101
+ true
102
+ end
103
+
104
+ # Checks equality by comparing each attribute.
105
+ # @param [Object] Object to be compared
106
+ def ==(o)
107
+ return true if self.equal?(o)
108
+ self.class == o.class &&
109
+ success == o.success &&
110
+ message_id == o.message_id &&
111
+ platform_message_id == o.platform_message_id
112
+ end
113
+
114
+ # @see the `==` method
115
+ # @param [Object] Object to be compared
116
+ def eql?(o)
117
+ self == o
118
+ end
119
+
120
+ # Calculates hash code according to all attributes.
121
+ # @return [Integer] Hash code
122
+ def hash
123
+ [success, message_id, platform_message_id].hash
124
+ end
125
+
126
+ # Builds the object from hash
127
+ # @param [Hash] attributes Model attributes in the form of hash
128
+ # @return [Object] Returns the model itself
129
+ def self.build_from_hash(attributes)
130
+ return nil unless attributes.is_a?(Hash)
131
+ attributes = attributes.transform_keys(&:to_sym)
132
+ transformed_hash = {}
133
+ openapi_types.each_pair do |key, type|
134
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
135
+ transformed_hash["#{key}"] = nil
136
+ elsif type =~ /\AArray<(.*)>/i
137
+ # check to ensure the input is an array given that the attribute
138
+ # is documented as an array but the input is not
139
+ if attributes[attribute_map[key]].is_a?(Array)
140
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
141
+ end
142
+ elsif !attributes[attribute_map[key]].nil?
143
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
144
+ end
145
+ end
146
+ new(transformed_hash)
147
+ end
148
+
149
+ # Returns the object in the form of hash
150
+ # @return [Hash] Returns the object in the form of hash
151
+ def to_hash
152
+ hash = {}
153
+ self.class.attribute_map.each_pair do |attr, param|
154
+ value = self.send(attr)
155
+ if value.nil?
156
+ is_nullable = self.class.openapi_nullable.include?(attr)
157
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
158
+ end
159
+
160
+ hash[param] = _to_hash(value)
161
+ end
162
+ hash
163
+ end
164
+
165
+ end
166
+
167
+ end
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.764'
14
+ VERSION = '0.0.766'
15
15
  end
data/lib/zernio-sdk.rb CHANGED
@@ -56,6 +56,7 @@ require 'zernio-sdk/models/add_conversion_associations200_response'
56
56
  require 'zernio-sdk/models/add_conversion_associations200_response_failed_inner'
57
57
  require 'zernio-sdk/models/add_conversion_associations_request'
58
58
  require 'zernio-sdk/models/add_discord_member_role200_response'
59
+ require 'zernio-sdk/models/add_message_reaction200_response'
59
60
  require 'zernio-sdk/models/add_message_reaction_request'
60
61
  require 'zernio-sdk/models/add_tracking_tag_shared_account201_response'
61
62
  require 'zernio-sdk/models/add_tracking_tag_shared_account_request'
@@ -1159,6 +1160,7 @@ require 'zernio-sdk/models/remediate_phone_number_request_documents_inner_one_of
1159
1160
  require 'zernio-sdk/models/remove_bookmark200_response'
1160
1161
  require 'zernio-sdk/models/remove_conversion_associations200_response'
1161
1162
  require 'zernio-sdk/models/remove_discord_member_role200_response'
1163
+ require 'zernio-sdk/models/remove_message_reaction200_response'
1162
1164
  require 'zernio-sdk/models/remove_whats_app_group_participants_request'
1163
1165
  require 'zernio-sdk/models/replace_ad_audience_companies200_response'
1164
1166
  require 'zernio-sdk/models/replace_ad_audience_companies_request'
data/openapi.yaml CHANGED
@@ -27164,7 +27164,7 @@ paths:
27164
27164
  in: path
27165
27165
  required: true
27166
27166
  schema: { type: string }
27167
- description: The platform message ID to react to
27167
+ description: 'The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)'
27168
27168
  requestBody:
27169
27169
  required: true
27170
27170
  content:
@@ -27177,20 +27177,22 @@ paths:
27177
27177
  emoji: { type: string, description: 'Emoji character (e.g. "👍", "❤️")', example: '👍' }
27178
27178
  responses:
27179
27179
  '200':
27180
- description: Reaction added
27180
+ description: 'The platform accepted the reaction request. This does not guarantee the reaction was placed: the platform never confirms what it acted on.'
27181
27181
  content:
27182
27182
  application/json:
27183
27183
  schema:
27184
27184
  type: object
27185
27185
  properties:
27186
27186
  success: { type: boolean }
27187
+ messageId: { type: string, description: 'The Zernio message ID the reaction was resolved against' }
27188
+ platformMessageId: { type: string, description: 'The platform message ID the reaction was sent for' }
27187
27189
  '400':
27188
27190
  description: Platform does not support reactions or invalid request
27189
27191
  '401': { $ref: '#/components/responses/Unauthorized' }
27190
27192
  '403':
27191
27193
  description: Inbox addon required
27192
27194
  '404':
27193
- description: Account or conversation not found
27195
+ description: 'Account, conversation or message not found (message_not_found when messageId does not resolve to a message in this conversation)'
27194
27196
  delete:
27195
27197
  x-resource-group: "messages"
27196
27198
  operationId: removeMessageReaction
@@ -27214,7 +27216,7 @@ paths:
27214
27216
  in: path
27215
27217
  required: true
27216
27218
  schema: { type: string }
27217
- description: The platform message ID
27219
+ description: 'The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)'
27218
27220
  - name: accountId
27219
27221
  in: query
27220
27222
  required: true
@@ -27222,20 +27224,22 @@ paths:
27222
27224
  description: Social account ID
27223
27225
  responses:
27224
27226
  '200':
27225
- description: Reaction removed
27227
+ description: 'The platform accepted the removal request. This does not guarantee a reaction was removed: the platform never confirms what it acted on, and a reaction placed by the other participant cannot be removed (platform rule). Check `fromMe` on GET /messages to know who placed a reaction.'
27226
27228
  content:
27227
27229
  application/json:
27228
27230
  schema:
27229
27231
  type: object
27230
27232
  properties:
27231
27233
  success: { type: boolean }
27234
+ messageId: { type: string, description: 'The Zernio message ID the removal was resolved against' }
27235
+ platformMessageId: { type: string, description: 'The platform message ID the removal was sent for' }
27232
27236
  '400':
27233
27237
  description: Platform does not support reactions or invalid request
27234
27238
  '401': { $ref: '#/components/responses/Unauthorized' }
27235
27239
  '403':
27236
27240
  description: Inbox addon required
27237
27241
  '404':
27238
- description: Account or conversation not found
27242
+ description: 'Account, conversation or message not found (message_not_found when messageId does not resolve to a message in this conversation)'
27239
27243
 
27240
27244
  /v1/media/upload-direct:
27241
27245
  post:
@@ -43814,7 +43818,9 @@ paths:
43814
43818
  thankYouButtonText: { type: string }
43815
43819
  thankYouButtonType: { type: string, example: VIEW_WEBSITE }
43816
43820
  thankYouWebsiteUrl: { type: string, format: uri }
43821
+ thankYouEnableMessenger: { type: boolean, default: false, description: "Adds a 'Continue in Messenger' option to the thank-you page (Meta thank_you_page.enable_messenger), so the lead can carry on chatting with the Page. Set thankYouButtonType to MESSAGE_BUSINESS or P2B_MESSENGER to make the chat the primary button." }
43817
43822
  isOptimizedForQuality: { type: boolean, description: 'Set true for a higher-intent form (adds a review step before submit).' }
43823
+ isPhoneSmsVerifyEnabled: { type: boolean, default: false, description: "Requires the lead to verify their phone number over SMS before the form submits (Meta is_phone_sms_verify_enabled). Only meaningful on a form with a PHONE question. Meta can restrict this parameter to apps holding a capability: when it does, the create fails with a 422 naming platformSpecificData.isPhoneSmsVerifyEnabled, and the toggle then has to be set in Meta's form builder." }
43818
43824
  blockDisplayForNonTargetedViewer: { type: boolean }
43819
43825
  questionPageCustomHeadline: { type: string }
43820
43826
  contextCard:
@@ -43886,7 +43892,7 @@ paths:
43886
43892
  '400': { $ref: '#/components/responses/BadRequest' }
43887
43893
  '401': { $ref: '#/components/responses/Unauthorized' }
43888
43894
  '403': { description: Ads add-on required. }
43889
- '422': { description: "Meta rejected the lead form with error code 3. The Facebook Page normally needs a Page admin to accept the Lead Ads Terms of Service." }
43895
+ '422': { description: "Meta rejected the lead form. Code 3 is Meta's generic app-capability error and does not name a field; when the request set isPhoneSmsVerifyEnabled, the response names that field as the one to drop first." }
43890
43896
 
43891
43897
  /v1/ads/lead-forms/{formId}:
43892
43898
  get:
@@ -36,10 +36,10 @@ describe 'MessagesApi' do
36
36
  # Add reaction
37
37
  # Add an emoji reaction to a message. Platform support: - Telegram: Supports a subset of Unicode emoji reactions - WhatsApp: Supports any standard emoji (one reaction per message per sender) - Instagram and Facebook Messenger: Any standard emoji, subject to Meta&#39;s 24h messaging window - Slack: The emoji must have a Slack name (e.g. &#x60;:thumbsup:&#x60;); unnamed characters return 400 - All others: Returns 400 (not supported)
38
38
  # @param conversation_id The conversation ID
39
- # @param message_id The platform message ID to react to
39
+ # @param message_id The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
40
40
  # @param add_message_reaction_request
41
41
  # @param [Hash] opts the optional parameters
42
- # @return [UpdateYoutubeDefaultPlaylist200Response]
42
+ # @return [AddMessageReaction200Response]
43
43
  describe 'add_message_reaction test' do
44
44
  it 'should work' do
45
45
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -166,10 +166,10 @@ describe 'MessagesApi' do
166
166
  # Remove reaction
167
167
  # Remove a reaction from a message. Platform support: - Telegram: Send empty reaction array to clear - WhatsApp: Send empty emoji to remove - Instagram and Facebook Messenger: Sends Meta&#39;s &#x60;unreact&#x60; action; the emoji does not need to be repeated - Slack: Removes the reaction we previously sent on that message - All others: Returns 400 (not supported)
168
168
  # @param conversation_id The conversation ID
169
- # @param message_id The platform message ID
169
+ # @param message_id The platform message ID (as returned by GET /messages) or the Zernio message ID (as returned by the reaction webhook)
170
170
  # @param account_id Social account ID
171
171
  # @param [Hash] opts the optional parameters
172
- # @return [UpdateYoutubeDefaultPlaylist200Response]
172
+ # @return [RemoveMessageReaction200Response]
173
173
  describe 'remove_message_reaction test' do
174
174
  it 'should work' do
175
175
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -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 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::AddMessageReaction200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::AddMessageReaction200Response do
21
+ #let(:instance) { Zernio::AddMessageReaction200Response.new }
22
+
23
+ describe 'test an instance of AddMessageReaction200Response' do
24
+ it 'should create an instance of AddMessageReaction200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::AddMessageReaction200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "success"' 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 "message_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 "platform_message_id"' 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
@@ -81,12 +81,24 @@ describe Zernio::MetaLeadFormPlatformData do
81
81
  end
82
82
  end
83
83
 
84
+ describe 'test attribute "thank_you_enable_messenger"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
84
90
  describe 'test attribute "is_optimized_for_quality"' do
85
91
  it 'should work' do
86
92
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
93
  end
88
94
  end
89
95
 
96
+ describe 'test attribute "is_phone_sms_verify_enabled"' 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
+
90
102
  describe 'test attribute "block_display_for_non_targeted_viewer"' do
91
103
  it 'should work' do
92
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -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 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::RemoveMessageReaction200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::RemoveMessageReaction200Response do
21
+ #let(:instance) { Zernio::RemoveMessageReaction200Response.new }
22
+
23
+ describe 'test an instance of RemoveMessageReaction200Response' do
24
+ it 'should create an instance of RemoveMessageReaction200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::RemoveMessageReaction200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "success"' 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 "message_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 "platform_message_id"' 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
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.764
4
+ version: 0.0.766
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -116,6 +116,7 @@ files:
116
116
  - docs/AddConversionAssociations200ResponseFailedInner.md
117
117
  - docs/AddConversionAssociationsRequest.md
118
118
  - docs/AddDiscordMemberRole200Response.md
119
+ - docs/AddMessageReaction200Response.md
119
120
  - docs/AddMessageReactionRequest.md
120
121
  - docs/AddTrackingTagSharedAccount201Response.md
121
122
  - docs/AddTrackingTagSharedAccountRequest.md
@@ -1255,6 +1256,7 @@ files:
1255
1256
  - docs/RemoveBookmark200Response.md
1256
1257
  - docs/RemoveConversionAssociations200Response.md
1257
1258
  - docs/RemoveDiscordMemberRole200Response.md
1259
+ - docs/RemoveMessageReaction200Response.md
1258
1260
  - docs/RemoveWhatsAppGroupParticipantsRequest.md
1259
1261
  - docs/ReplaceAdAudienceCompanies200Response.md
1260
1262
  - docs/ReplaceAdAudienceCompaniesRequest.md
@@ -1966,6 +1968,7 @@ files:
1966
1968
  - lib/zernio-sdk/models/add_conversion_associations200_response_failed_inner.rb
1967
1969
  - lib/zernio-sdk/models/add_conversion_associations_request.rb
1968
1970
  - lib/zernio-sdk/models/add_discord_member_role200_response.rb
1971
+ - lib/zernio-sdk/models/add_message_reaction200_response.rb
1969
1972
  - lib/zernio-sdk/models/add_message_reaction_request.rb
1970
1973
  - lib/zernio-sdk/models/add_tracking_tag_shared_account201_response.rb
1971
1974
  - lib/zernio-sdk/models/add_tracking_tag_shared_account_request.rb
@@ -3069,6 +3072,7 @@ files:
3069
3072
  - lib/zernio-sdk/models/remove_bookmark200_response.rb
3070
3073
  - lib/zernio-sdk/models/remove_conversion_associations200_response.rb
3071
3074
  - lib/zernio-sdk/models/remove_discord_member_role200_response.rb
3075
+ - lib/zernio-sdk/models/remove_message_reaction200_response.rb
3072
3076
  - lib/zernio-sdk/models/remove_whats_app_group_participants_request.rb
3073
3077
  - lib/zernio-sdk/models/replace_ad_audience_companies200_response.rb
3074
3078
  - lib/zernio-sdk/models/replace_ad_audience_companies_request.rb
@@ -3754,6 +3758,7 @@ files:
3754
3758
  - spec/models/add_conversion_associations200_response_spec.rb
3755
3759
  - spec/models/add_conversion_associations_request_spec.rb
3756
3760
  - spec/models/add_discord_member_role200_response_spec.rb
3761
+ - spec/models/add_message_reaction200_response_spec.rb
3757
3762
  - spec/models/add_message_reaction_request_spec.rb
3758
3763
  - spec/models/add_tracking_tag_shared_account201_response_spec.rb
3759
3764
  - spec/models/add_tracking_tag_shared_account_request_spec.rb
@@ -4857,6 +4862,7 @@ files:
4857
4862
  - spec/models/remove_bookmark200_response_spec.rb
4858
4863
  - spec/models/remove_conversion_associations200_response_spec.rb
4859
4864
  - spec/models/remove_discord_member_role200_response_spec.rb
4865
+ - spec/models/remove_message_reaction200_response_spec.rb
4860
4866
  - spec/models/remove_whats_app_group_participants_request_spec.rb
4861
4867
  - spec/models/replace_ad_audience_companies200_response_spec.rb
4862
4868
  - spec/models/replace_ad_audience_companies_request_companies_inner_spec.rb
@@ -5437,7 +5443,7 @@ files:
5437
5443
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
5438
5444
  - spec/models/you_tube_video_retention_response_spec.rb
5439
5445
  - spec/spec_helper.rb
5440
- - zernio-sdk-0.0.764.gem
5446
+ - zernio-sdk-0.0.766.gem
5441
5447
  - zernio-sdk.gemspec
5442
5448
  homepage: https://openapi-generator.tech
5443
5449
  licenses:
@@ -5865,6 +5871,7 @@ test_files:
5865
5871
  - spec/models/submit_whats_app_number_kyc_request_documents_inner_one_of_spec.rb
5866
5872
  - spec/models/webhook_payload_comment_comment_attachment_spec.rb
5867
5873
  - spec/models/update_post_request_platforms_inner_spec.rb
5874
+ - spec/models/remove_message_reaction200_response_spec.rb
5868
5875
  - spec/models/purchase_whats_app_phone_number200_response_one_of1_spec.rb
5869
5876
  - spec/models/create_ad_audience_request_spec.rb
5870
5877
  - spec/models/update_comment_automation200_response_spec.rb
@@ -6272,6 +6279,7 @@ test_files:
6272
6279
  - spec/models/webhook_payload_call_received_spec.rb
6273
6280
  - spec/models/start_sms_registration_request_toll_free_spec.rb
6274
6281
  - spec/models/instagram_platform_data_user_tags_inner_spec.rb
6282
+ - spec/models/add_message_reaction200_response_spec.rb
6275
6283
  - spec/models/send_inbox_message_request_quick_replies_inner_spec.rb
6276
6284
  - spec/models/remove_conversion_associations200_response_spec.rb
6277
6285
  - spec/models/initiate_telegram_connect200_response_spec.rb
Binary file