late-sdk 0.0.665 → 0.0.666

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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/SendInboxMessageRequestInteractiveAction.md +3 -1
  4. data/docs/SendInboxMessageRequestInteractiveActionOneOf5.md +2 -4
  5. data/docs/SendInboxMessageRequestInteractiveActionOneOf6.md +2 -2
  6. data/docs/SendInboxMessageRequestInteractiveActionOneOf7.md +4 -4
  7. data/docs/{SendInboxMessageRequestInteractiveActionOneOf6SectionsInner.md → SendInboxMessageRequestInteractiveActionOneOf7SectionsInner.md} +3 -3
  8. data/docs/{SendInboxMessageRequestInteractiveActionOneOf6SectionsInnerProductItemsInner.md → SendInboxMessageRequestInteractiveActionOneOf7SectionsInnerProductItemsInner.md} +2 -2
  9. data/docs/SendInboxMessageRequestInteractiveActionOneOf8.md +4 -2
  10. data/docs/{SendInboxMessageRequestInteractiveActionOneOf7Parameters.md → SendInboxMessageRequestInteractiveActionOneOf8Parameters.md} +2 -2
  11. data/docs/SendInboxMessageRequestInteractiveActionOneOf9.md +18 -0
  12. data/docs/{SendInboxMessageRequestInteractiveActionOneOf8CardsInner.md → SendInboxMessageRequestInteractiveActionOneOf9CardsInner.md} +2 -2
  13. data/docs/WebhookPayloadMessageMetadata.md +4 -0
  14. data/lib/zernio-sdk/models/send_inbox_message_request_interactive.rb +3 -3
  15. data/lib/zernio-sdk/models/send_inbox_message_request_interactive_action.rb +2 -1
  16. data/lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of5.rb +42 -46
  17. data/lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of6.rb +18 -38
  18. data/lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7.rb +64 -49
  19. data/lib/zernio-sdk/models/{send_inbox_message_request_interactive_action_one_of6_sections_inner.rb → send_inbox_message_request_interactive_action_one_of7_sections_inner.rb} +4 -4
  20. data/lib/zernio-sdk/models/{send_inbox_message_request_interactive_action_one_of6_sections_inner_product_items_inner.rb → send_inbox_message_request_interactive_action_one_of7_sections_inner_product_items_inner.rb} +3 -3
  21. data/lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of8.rb +52 -39
  22. data/lib/zernio-sdk/models/{send_inbox_message_request_interactive_action_one_of7_parameters.rb → send_inbox_message_request_interactive_action_one_of8_parameters.rb} +3 -3
  23. data/lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of9.rb +185 -0
  24. data/lib/zernio-sdk/models/{send_inbox_message_request_interactive_action_one_of8_cards_inner.rb → send_inbox_message_request_interactive_action_one_of9_cards_inner.rb} +3 -3
  25. data/lib/zernio-sdk/models/webhook_payload_message_metadata.rb +35 -1
  26. data/lib/zernio-sdk/version.rb +1 -1
  27. data/lib/zernio-sdk.rb +5 -4
  28. data/openapi.yaml +35 -1
  29. data/spec/models/send_inbox_message_request_interactive_action_one_of5_spec.rb +5 -7
  30. data/spec/models/send_inbox_message_request_interactive_action_one_of6_spec.rb +1 -1
  31. data/spec/models/{send_inbox_message_request_interactive_action_one_of6_sections_inner_product_items_inner_spec.rb → send_inbox_message_request_interactive_action_one_of7_sections_inner_product_items_inner_spec.rb} +6 -6
  32. data/spec/models/{send_inbox_message_request_interactive_action_one_of6_sections_inner_spec.rb → send_inbox_message_request_interactive_action_one_of7_sections_inner_spec.rb} +6 -6
  33. data/spec/models/send_inbox_message_request_interactive_action_one_of7_spec.rb +2 -6
  34. data/spec/models/{send_inbox_message_request_interactive_action_one_of7_parameters_spec.rb → send_inbox_message_request_interactive_action_one_of8_parameters_spec.rb} +6 -6
  35. data/spec/models/send_inbox_message_request_interactive_action_one_of8_spec.rb +11 -1
  36. data/spec/models/{send_inbox_message_request_interactive_action_one_of8_cards_inner_spec.rb → send_inbox_message_request_interactive_action_one_of9_cards_inner_spec.rb} +6 -6
  37. data/spec/models/send_inbox_message_request_interactive_action_one_of9_spec.rb +36 -0
  38. data/spec/models/send_inbox_message_request_interactive_spec.rb +1 -1
  39. data/spec/models/webhook_payload_message_metadata_spec.rb +16 -0
  40. data/zernio-sdk-0.0.666.gem +0 -0
  41. metadata +22 -18
  42. data/zernio-sdk-0.0.665.gem +0 -0
@@ -47,6 +47,12 @@ module Zernio
47
47
 
48
48
  attr_accessor :referred_product
49
49
 
50
+ # WhatsApp only. Contact cards the user shared, forwarded verbatim from Meta. Read `contactsOrigin` before treating any number here as the sender's own.
51
+ attr_accessor :contacts
52
+
53
+ # WhatsApp only. How the contact card was shared. `contact_request` means the user tapped a `request_contact_info` button, so the number is their own and consented. `other` means they picked a card from their address book: it may be anyone's, and must NOT be stored as the sender's identity. Omitted when Meta sends no origin.
54
+ attr_accessor :contacts_origin
55
+
50
56
  attr_accessor :story_reply
51
57
 
52
58
  # Instagram only. True when the message was generated by an IG user mentioning the account in their own story (`story_mention` attachment type). Mutually exclusive in practice with `storyReply`.
@@ -90,6 +96,8 @@ module Zernio
90
96
  :'flow_response_data' => :'flowResponseData',
91
97
  :'order' => :'order',
92
98
  :'referred_product' => :'referredProduct',
99
+ :'contacts' => :'contacts',
100
+ :'contacts_origin' => :'contactsOrigin',
93
101
  :'story_reply' => :'storyReply',
94
102
  :'is_story_mention' => :'isStoryMention',
95
103
  :'referral' => :'referral'
@@ -120,6 +128,8 @@ module Zernio
120
128
  :'flow_response_data' => :'Hash<String, Object>',
121
129
  :'order' => :'WebhookPayloadMessageMetadataOrder',
122
130
  :'referred_product' => :'WebhookPayloadMessageMetadataReferredProduct',
131
+ :'contacts' => :'Array<Hash<String, Object>>',
132
+ :'contacts_origin' => :'String',
123
133
  :'story_reply' => :'WebhookPayloadMessageMetadataStoryReply',
124
134
  :'is_story_mention' => :'Boolean',
125
135
  :'referral' => :'WebhookPayloadMessageMetadataReferral'
@@ -194,6 +204,16 @@ module Zernio
194
204
  self.referred_product = attributes[:'referred_product']
195
205
  end
196
206
 
207
+ if attributes.key?(:'contacts')
208
+ if (value = attributes[:'contacts']).is_a?(Array)
209
+ self.contacts = value
210
+ end
211
+ end
212
+
213
+ if attributes.key?(:'contacts_origin')
214
+ self.contacts_origin = attributes[:'contacts_origin']
215
+ end
216
+
197
217
  if attributes.key?(:'story_reply')
198
218
  self.story_reply = attributes[:'story_reply']
199
219
  end
@@ -221,6 +241,8 @@ module Zernio
221
241
  warn '[DEPRECATED] the `valid?` method is obsolete'
222
242
  interactive_type_validator = EnumAttributeValidator.new('String', ["button_reply", "list_reply", "nfm_reply"])
223
243
  return false unless interactive_type_validator.valid?(@interactive_type)
244
+ contacts_origin_validator = EnumAttributeValidator.new('String', ["contact_request", "other"])
245
+ return false unless contacts_origin_validator.valid?(@contacts_origin)
224
246
  true
225
247
  end
226
248
 
@@ -234,6 +256,16 @@ module Zernio
234
256
  @interactive_type = interactive_type
235
257
  end
236
258
 
259
+ # Custom attribute writer method checking allowed values (enum).
260
+ # @param [Object] contacts_origin Object to be assigned
261
+ def contacts_origin=(contacts_origin)
262
+ validator = EnumAttributeValidator.new('String', ["contact_request", "other"])
263
+ unless validator.valid?(contacts_origin)
264
+ fail ArgumentError, "invalid value for \"contacts_origin\", must be one of #{validator.allowable_values}."
265
+ end
266
+ @contacts_origin = contacts_origin
267
+ end
268
+
237
269
  # Checks equality by comparing each attribute.
238
270
  # @param [Object] Object to be compared
239
271
  def ==(o)
@@ -250,6 +282,8 @@ module Zernio
250
282
  flow_response_data == o.flow_response_data &&
251
283
  order == o.order &&
252
284
  referred_product == o.referred_product &&
285
+ contacts == o.contacts &&
286
+ contacts_origin == o.contacts_origin &&
253
287
  story_reply == o.story_reply &&
254
288
  is_story_mention == o.is_story_mention &&
255
289
  referral == o.referral
@@ -264,7 +298,7 @@ module Zernio
264
298
  # Calculates hash code according to all attributes.
265
299
  # @return [Integer] Hash code
266
300
  def hash
267
- [quick_reply_payload, postback_payload, postback_title, callback_data, interactive_type, interactive_id, button_payload, flow_response_json, flow_response_data, order, referred_product, story_reply, is_story_mention, referral].hash
301
+ [quick_reply_payload, postback_payload, postback_title, callback_data, interactive_type, interactive_id, button_payload, flow_response_json, flow_response_data, order, referred_product, contacts, contacts_origin, story_reply, is_story_mention, referral].hash
268
302
  end
269
303
 
270
304
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.665'
14
+ VERSION = '0.0.666'
15
15
  end
data/lib/zernio-sdk.rb CHANGED
@@ -1181,12 +1181,13 @@ require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of3
1181
1181
  require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of4'
1182
1182
  require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of5'
1183
1183
  require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of6'
1184
- require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of6_sections_inner'
1185
- require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of6_sections_inner_product_items_inner'
1186
1184
  require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7'
1187
- require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7_parameters'
1185
+ require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7_sections_inner'
1186
+ require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7_sections_inner_product_items_inner'
1188
1187
  require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of8'
1189
- require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of8_cards_inner'
1188
+ require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of8_parameters'
1189
+ require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of9'
1190
+ require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of9_cards_inner'
1190
1191
  require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of_sections_inner'
1191
1192
  require 'zernio-sdk/models/send_inbox_message_request_interactive_action_one_of_sections_inner_rows_inner'
1192
1193
  require 'zernio-sdk/models/send_inbox_message_request_interactive_body'
data/openapi.yaml CHANGED
@@ -3376,6 +3376,25 @@ components:
3376
3376
  product_retailer_id:
3377
3377
  type: string
3378
3378
  description: Retailer ID (SKU) of the product being asked about.
3379
+ contacts:
3380
+ type: array
3381
+ description: |
3382
+ WhatsApp only. Contact cards the user shared, forwarded verbatim
3383
+ from Meta. Read `contactsOrigin` before treating any number here
3384
+ as the sender's own.
3385
+ items:
3386
+ type: object
3387
+ additionalProperties: true
3388
+ contactsOrigin:
3389
+ type: string
3390
+ enum: [contact_request, other]
3391
+ description: |
3392
+ WhatsApp only. How the contact card was shared.
3393
+ `contact_request` means the user tapped a `request_contact_info`
3394
+ button, so the number is their own and consented. `other` means
3395
+ they picked a card from their address book: it may be anyone's,
3396
+ and must NOT be stored as the sender's identity. Omitted when
3397
+ Meta sends no origin.
3379
3398
  storyReply:
3380
3399
  type: object
3381
3400
  description: |
@@ -23821,6 +23840,16 @@ paths:
23821
23840
  "Send location" button; the user's reply arrives as a regular
23822
23841
  location message in the conversation.
23823
23842
 
23843
+ For `request_contact_info`, `action` may be omitted (we default it
23844
+ to `{ "name": "request_contact_info" }`). WhatsApp renders a
23845
+ localized share button that cannot be relabelled, so put the reason
23846
+ for asking in `body.text`: this is a consent prompt, and a bare
23847
+ request converts badly. The reply arrives as an inbound `contacts`
23848
+ message with `metadata.contactsOrigin` set to `contact_request`,
23849
+ and we fold the shared number back into the contact automatically.
23850
+ A `contacts` message with origin `other` is a card the user picked
23851
+ from their address book and is NOT proof of their own number.
23852
+
23824
23853
  For `catalog_message`, `action` may also be omitted (we default it
23825
23854
  to `{ "name": "catalog_message" }`).
23826
23855
 
@@ -23832,7 +23861,7 @@ paths:
23832
23861
  properties:
23833
23862
  type:
23834
23863
  type: string
23835
- enum: [list, cta_url, flow, location_request_message, voice_call, product, product_list, catalog_message, carousel]
23864
+ enum: [list, cta_url, flow, location_request_message, request_contact_info, voice_call, product, product_list, catalog_message, carousel]
23836
23865
  description: Which interactive layout to render.
23837
23866
  header:
23838
23867
  type: object
@@ -23936,6 +23965,11 @@ paths:
23936
23965
  required: [name]
23937
23966
  properties:
23938
23967
  name: { type: string, enum: [send_location] }
23968
+ - type: object
23969
+ description: 'Contact-info request action. `type` on the parent must be `request_contact_info`. May be omitted entirely; it is defaulted.'
23970
+ required: [name]
23971
+ properties:
23972
+ name: { type: string, enum: [request_contact_info] }
23939
23973
  - type: object
23940
23974
  description: |
23941
23975
  Single-product action. `type` on the parent must be
@@ -27,15 +27,13 @@ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf5 do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "catalog_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 "product_retailer_id"' do
30
+ describe 'test attribute "name"' do
37
31
  it 'should work' do
38
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["request_contact_info"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.name = value }.not_to raise_error
36
+ # end
39
37
  end
40
38
  end
41
39
 
@@ -33,7 +33,7 @@ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf6 do
33
33
  end
34
34
  end
35
35
 
36
- describe 'test attribute "sections"' do
36
+ describe 'test attribute "product_retailer_id"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
39
  end
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Zernio::SendInboxMessageRequestInteractiveActionOneOf6SectionsInnerProductItemsInner
17
+ # Unit tests for Zernio::SendInboxMessageRequestInteractiveActionOneOf7SectionsInnerProductItemsInner
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe Zernio::SendInboxMessageRequestInteractiveActionOneOf6SectionsInnerProductItemsInner do
21
- #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf6SectionsInnerProductItemsInner.new }
20
+ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf7SectionsInnerProductItemsInner do
21
+ #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf7SectionsInnerProductItemsInner.new }
22
22
 
23
- describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf6SectionsInnerProductItemsInner' do
24
- it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf6SectionsInnerProductItemsInner' do
23
+ describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf7SectionsInnerProductItemsInner' do
24
+ it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf7SectionsInnerProductItemsInner' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf6SectionsInnerProductItemsInner)
26
+ #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf7SectionsInnerProductItemsInner)
27
27
  end
28
28
  end
29
29
 
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Zernio::SendInboxMessageRequestInteractiveActionOneOf6SectionsInner
17
+ # Unit tests for Zernio::SendInboxMessageRequestInteractiveActionOneOf7SectionsInner
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe Zernio::SendInboxMessageRequestInteractiveActionOneOf6SectionsInner do
21
- #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf6SectionsInner.new }
20
+ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf7SectionsInner do
21
+ #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf7SectionsInner.new }
22
22
 
23
- describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf6SectionsInner' do
24
- it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf6SectionsInner' do
23
+ describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf7SectionsInner' do
24
+ it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf7SectionsInner' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf6SectionsInner)
26
+ #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf7SectionsInner)
27
27
  end
28
28
  end
29
29
 
@@ -27,17 +27,13 @@ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf7 do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "name"' do
30
+ describe 'test attribute "catalog_id"' 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', ["catalog_message"])
34
- # validator.allowable_values.each do |value|
35
- # expect { instance.name = value }.not_to raise_error
36
- # end
37
33
  end
38
34
  end
39
35
 
40
- describe 'test attribute "parameters"' do
36
+ describe 'test attribute "sections"' do
41
37
  it 'should work' do
42
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
39
  end
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Zernio::SendInboxMessageRequestInteractiveActionOneOf7Parameters
17
+ # Unit tests for Zernio::SendInboxMessageRequestInteractiveActionOneOf8Parameters
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe Zernio::SendInboxMessageRequestInteractiveActionOneOf7Parameters do
21
- #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf7Parameters.new }
20
+ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf8Parameters do
21
+ #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf8Parameters.new }
22
22
 
23
- describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf7Parameters' do
24
- it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf7Parameters' do
23
+ describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf8Parameters' do
24
+ it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf8Parameters' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf7Parameters)
26
+ #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf8Parameters)
27
27
  end
28
28
  end
29
29
 
@@ -27,7 +27,17 @@ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf8 do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "cards"' do
30
+ describe 'test attribute "name"' 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', ["catalog_message"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.name = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "parameters"' do
31
41
  it 'should work' do
32
42
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
43
  end
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Zernio::SendInboxMessageRequestInteractiveActionOneOf8CardsInner
17
+ # Unit tests for Zernio::SendInboxMessageRequestInteractiveActionOneOf9CardsInner
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe Zernio::SendInboxMessageRequestInteractiveActionOneOf8CardsInner do
21
- #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf8CardsInner.new }
20
+ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf9CardsInner do
21
+ #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf9CardsInner.new }
22
22
 
23
- describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf8CardsInner' do
24
- it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf8CardsInner' do
23
+ describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf9CardsInner' do
24
+ it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf9CardsInner' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf8CardsInner)
26
+ #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf9CardsInner)
27
27
  end
28
28
  end
29
29
 
@@ -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::SendInboxMessageRequestInteractiveActionOneOf9
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::SendInboxMessageRequestInteractiveActionOneOf9 do
21
+ #let(:instance) { Zernio::SendInboxMessageRequestInteractiveActionOneOf9.new }
22
+
23
+ describe 'test an instance of SendInboxMessageRequestInteractiveActionOneOf9' do
24
+ it 'should create an instance of SendInboxMessageRequestInteractiveActionOneOf9' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::SendInboxMessageRequestInteractiveActionOneOf9)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "cards"' 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
@@ -30,7 +30,7 @@ describe Zernio::SendInboxMessageRequestInteractive do
30
30
  describe 'test attribute "type"' 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', ["list", "cta_url", "flow", "location_request_message", "voice_call", "product", "product_list", "catalog_message", "carousel"])
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["list", "cta_url", "flow", "location_request_message", "request_contact_info", "voice_call", "product", "product_list", "catalog_message", "carousel"])
34
34
  # validator.allowable_values.each do |value|
35
35
  # expect { instance.type = value }.not_to raise_error
36
36
  # end
@@ -97,6 +97,22 @@ describe Zernio::WebhookPayloadMessageMetadata do
97
97
  end
98
98
  end
99
99
 
100
+ describe 'test attribute "contacts"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
103
+ end
104
+ end
105
+
106
+ describe 'test attribute "contacts_origin"' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
109
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["contact_request", "other"])
110
+ # validator.allowable_values.each do |value|
111
+ # expect { instance.contacts_origin = value }.not_to raise_error
112
+ # end
113
+ end
114
+ end
115
+
100
116
  describe 'test attribute "story_reply"' do
101
117
  it 'should work' do
102
118
  # 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.665
4
+ version: 0.0.666
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -1273,12 +1273,13 @@ files:
1273
1273
  - docs/SendInboxMessageRequestInteractiveActionOneOf4.md
1274
1274
  - docs/SendInboxMessageRequestInteractiveActionOneOf5.md
1275
1275
  - docs/SendInboxMessageRequestInteractiveActionOneOf6.md
1276
- - docs/SendInboxMessageRequestInteractiveActionOneOf6SectionsInner.md
1277
- - docs/SendInboxMessageRequestInteractiveActionOneOf6SectionsInnerProductItemsInner.md
1278
1276
  - docs/SendInboxMessageRequestInteractiveActionOneOf7.md
1279
- - docs/SendInboxMessageRequestInteractiveActionOneOf7Parameters.md
1277
+ - docs/SendInboxMessageRequestInteractiveActionOneOf7SectionsInner.md
1278
+ - docs/SendInboxMessageRequestInteractiveActionOneOf7SectionsInnerProductItemsInner.md
1280
1279
  - docs/SendInboxMessageRequestInteractiveActionOneOf8.md
1281
- - docs/SendInboxMessageRequestInteractiveActionOneOf8CardsInner.md
1280
+ - docs/SendInboxMessageRequestInteractiveActionOneOf8Parameters.md
1281
+ - docs/SendInboxMessageRequestInteractiveActionOneOf9.md
1282
+ - docs/SendInboxMessageRequestInteractiveActionOneOf9CardsInner.md
1282
1283
  - docs/SendInboxMessageRequestInteractiveActionOneOfSectionsInner.md
1283
1284
  - docs/SendInboxMessageRequestInteractiveActionOneOfSectionsInnerRowsInner.md
1284
1285
  - docs/SendInboxMessageRequestInteractiveBody.md
@@ -2934,12 +2935,13 @@ files:
2934
2935
  - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of4.rb
2935
2936
  - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of5.rb
2936
2937
  - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of6.rb
2937
- - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of6_sections_inner.rb
2938
- - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of6_sections_inner_product_items_inner.rb
2939
2938
  - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7.rb
2940
- - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7_parameters.rb
2939
+ - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7_sections_inner.rb
2940
+ - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of7_sections_inner_product_items_inner.rb
2941
2941
  - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of8.rb
2942
- - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of8_cards_inner.rb
2942
+ - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of8_parameters.rb
2943
+ - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of9.rb
2944
+ - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of9_cards_inner.rb
2943
2945
  - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of_sections_inner.rb
2944
2946
  - lib/zernio-sdk/models/send_inbox_message_request_interactive_action_one_of_sections_inner_rows_inner.rb
2945
2947
  - lib/zernio-sdk/models/send_inbox_message_request_interactive_body.rb
@@ -4566,13 +4568,14 @@ files:
4566
4568
  - spec/models/send_inbox_message_request_interactive_action_one_of3_spec.rb
4567
4569
  - spec/models/send_inbox_message_request_interactive_action_one_of4_spec.rb
4568
4570
  - spec/models/send_inbox_message_request_interactive_action_one_of5_spec.rb
4569
- - spec/models/send_inbox_message_request_interactive_action_one_of6_sections_inner_product_items_inner_spec.rb
4570
- - spec/models/send_inbox_message_request_interactive_action_one_of6_sections_inner_spec.rb
4571
4571
  - spec/models/send_inbox_message_request_interactive_action_one_of6_spec.rb
4572
- - spec/models/send_inbox_message_request_interactive_action_one_of7_parameters_spec.rb
4572
+ - spec/models/send_inbox_message_request_interactive_action_one_of7_sections_inner_product_items_inner_spec.rb
4573
+ - spec/models/send_inbox_message_request_interactive_action_one_of7_sections_inner_spec.rb
4573
4574
  - spec/models/send_inbox_message_request_interactive_action_one_of7_spec.rb
4574
- - spec/models/send_inbox_message_request_interactive_action_one_of8_cards_inner_spec.rb
4575
+ - spec/models/send_inbox_message_request_interactive_action_one_of8_parameters_spec.rb
4575
4576
  - spec/models/send_inbox_message_request_interactive_action_one_of8_spec.rb
4577
+ - spec/models/send_inbox_message_request_interactive_action_one_of9_cards_inner_spec.rb
4578
+ - spec/models/send_inbox_message_request_interactive_action_one_of9_spec.rb
4576
4579
  - spec/models/send_inbox_message_request_interactive_action_one_of_sections_inner_rows_inner_spec.rb
4577
4580
  - spec/models/send_inbox_message_request_interactive_action_one_of_sections_inner_spec.rb
4578
4581
  - spec/models/send_inbox_message_request_interactive_action_one_of_spec.rb
@@ -4979,7 +4982,7 @@ files:
4979
4982
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4980
4983
  - spec/models/you_tube_video_retention_response_spec.rb
4981
4984
  - spec/spec_helper.rb
4982
- - zernio-sdk-0.0.665.gem
4985
+ - zernio-sdk-0.0.666.gem
4983
4986
  - zernio-sdk.gemspec
4984
4987
  homepage: https://openapi-generator.tech
4985
4988
  licenses:
@@ -5304,6 +5307,7 @@ test_files:
5304
5307
  - spec/models/get_inbox_conversation_analytics200_response_by_source_inner_spec.rb
5305
5308
  - spec/models/send_inbox_message_request_interactive_action_one_of_sections_inner_spec.rb
5306
5309
  - spec/models/create_google_business_media_request_spec.rb
5310
+ - spec/models/send_inbox_message_request_interactive_action_one_of8_parameters_spec.rb
5307
5311
  - spec/models/food_menu_item_attributes_spec.rb
5308
5312
  - spec/models/update_whats_app_calling_legacy_request_spec.rb
5309
5313
  - spec/models/ctwa_ad_request_body_cities_inner_spec.rb
@@ -5311,11 +5315,11 @@ test_files:
5311
5315
  - spec/models/select_linked_in_organization200_response_spec.rb
5312
5316
  - spec/models/webhook_payload_post_platform_post_platforms_inner_spec.rb
5313
5317
  - spec/models/search_inbox_conversations200_response_meta_failed_accounts_inner_spec.rb
5314
- - spec/models/send_inbox_message_request_interactive_action_one_of6_sections_inner_spec.rb
5315
5318
  - spec/models/get_google_business_location_details200_response_service_items_inner_spec.rb
5316
5319
  - spec/models/transfer_voice_call200_response_spec.rb
5317
5320
  - spec/models/food_menu_label_spec.rb
5318
5321
  - spec/models/get_whats_app_blocked_users200_response_spec.rb
5322
+ - spec/models/send_inbox_message_request_interactive_action_one_of7_sections_inner_spec.rb
5319
5323
  - spec/models/get_phone_number200_response_phone_number_spec.rb
5320
5324
  - spec/models/list_ad_studies200_response_spec.rb
5321
5325
  - spec/models/send_conversions200_response_failures_inner_code_spec.rb
@@ -5561,7 +5565,6 @@ test_files:
5561
5565
  - spec/models/query_ad_insights200_response_spec.rb
5562
5566
  - spec/models/get_linked_in_bid_pricing_request_spec.rb
5563
5567
  - spec/models/list_broadcast_recipients200_response_spec.rb
5564
- - spec/models/send_inbox_message_request_interactive_action_one_of8_cards_inner_spec.rb
5565
5568
  - spec/models/webhook_payload_call_ended_spec.rb
5566
5569
  - spec/models/update_google_business_food_menus_request_spec.rb
5567
5570
  - spec/models/get_phone_number_kyc_form200_response_reusable_spec.rb
@@ -5682,6 +5685,7 @@ test_files:
5682
5685
  - spec/models/create_whats_app_flow200_response_spec.rb
5683
5686
  - spec/models/send_conversions200_response_failures_inner_spec.rb
5684
5687
  - spec/models/queue_preview_response_spec.rb
5688
+ - spec/models/send_inbox_message_request_interactive_action_one_of9_cards_inner_spec.rb
5685
5689
  - spec/models/get_facebook_post_reactions200_response_breakdown_spec.rb
5686
5690
  - spec/models/get_whats_app_flow_json200_response_assets_inner_spec.rb
5687
5691
  - spec/models/remediate_phone_number200_response_phone_number_spec.rb
@@ -5907,7 +5911,6 @@ test_files:
5907
5911
  - spec/models/create_post_request_platforms_inner_platform_specific_data_spec.rb
5908
5912
  - spec/models/adjust_conversions_request_adjustments_inner_user_spec.rb
5909
5913
  - spec/models/list_ad_catalogs200_response_spec.rb
5910
- - spec/models/send_inbox_message_request_interactive_action_one_of7_parameters_spec.rb
5911
5914
  - spec/models/instagram_platform_data_trial_params_spec.rb
5912
5915
  - spec/models/send_private_reply_to_comment_request_buttons_inner_one_of_spec.rb
5913
5916
  - spec/models/get_dsa_recommendations200_response_spec.rb
@@ -5993,6 +5996,7 @@ test_files:
5993
5996
  - spec/models/get_all_accounts_health200_response_summary_spec.rb
5994
5997
  - spec/models/initiate_telegram_connect200_response_account_spec.rb
5995
5998
  - spec/models/get_call200_response_spec.rb
5999
+ - spec/models/send_inbox_message_request_interactive_action_one_of7_sections_inner_product_items_inner_spec.rb
5996
6000
  - spec/models/update_sequence_request_spec.rb
5997
6001
  - spec/models/instagram_platform_data_user_tags_inner_spec.rb
5998
6002
  - spec/models/update_google_business_location_details_request_service_items_inner_free_form_service_item_spec.rb
@@ -6114,7 +6118,6 @@ test_files:
6114
6118
  - spec/models/food_menu_item_spec.rb
6115
6119
  - spec/models/list_sms_sender_ids200_response_budget_spec.rb
6116
6120
  - spec/models/inbox_webhook_message_sender_instagram_profile_spec.rb
6117
- - spec/models/send_inbox_message_request_interactive_action_one_of6_sections_inner_product_items_inner_spec.rb
6118
6121
  - spec/models/enroll_contacts_request_spec.rb
6119
6122
  - spec/models/create_pinterest_board201_response_spec.rb
6120
6123
  - spec/models/get_phone_number_kyc_form200_response_reusable_options_inner_spec.rb
@@ -6406,6 +6409,7 @@ test_files:
6406
6409
  - spec/models/add_tracking_tag_shared_account_request_spec.rb
6407
6410
  - spec/models/get_whats_app_call_recording200_response_spec.rb
6408
6411
  - spec/models/create_voice_web_session200_response_spec.rb
6412
+ - spec/models/send_inbox_message_request_interactive_action_one_of9_spec.rb
6409
6413
  - spec/models/get_whats_app_number_kyc_form200_response_fields_inner_spec.rb
6410
6414
  - spec/models/posts_list_response_spec.rb
6411
6415
  - spec/models/create_standalone_ad_request_images_spec.rb
Binary file