zernio-sdk 0.0.72 → 0.0.73

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: 93c7276a3c2de2c3a3974f478e19d1c58afab7ddc1db595a03befe24cf10f3dc
4
- data.tar.gz: 126176ad8a3034cf2cb484d08cea89be12fbf59305bbd9b93c4bb5652be36c75
3
+ metadata.gz: fe08c44d14d86a2702e96cfbd6b7f21c44b92cc30fdcffd77380b06ac40e8c94
4
+ data.tar.gz: 1270f3599741456b1bffbe596224e265a3aa76941fda398ba1ff1537108f895c
5
5
  SHA512:
6
- metadata.gz: c2248716f875090317a80b9d1cbcf001404355dadcf21f85a211637ff92f5c4e50146a983d92672aa4088599391d65bc9d2d65192cd43da5d1ebabb683d5eff3
7
- data.tar.gz: 2a1dc0e1dc2754d68575c1da4827db863f0c9cc1bddd5678191edeb26588efe502e022e7ad423297d7a36e3a4a0254e18c795afd51430c89620e76dcb78c7fd7
6
+ metadata.gz: b45a3a477934c449bbe3a1dcbb89670ffc7b1370de135aa8be36f2910322866902ea369389ef73f90733da81bb58b40f5d70618e2926e83036d25c8cba7501a3
7
+ data.tar.gz: 9cd50c0948728c27b82825d2967e122e91e4a1b7b0a902661cfbec7a0bd3a50d5038a0cbaf897b2695bb6670cde56e9721089a29b7ec35de17b4517832b66256
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **contact_ids** | **Array<String>** | Specific contact IDs to add | [optional] |
8
+ | **phones** | **Array<String>** | Raw phone numbers (auto-creates contacts). Useful for WhatsApp/Telegram manual entry | [optional] |
8
9
  | **use_segment** | **Boolean** | Auto-populate from broadcast segment filters | [optional] |
9
10
 
10
11
  ## Example
@@ -14,6 +15,7 @@ require 'late-sdk'
14
15
 
15
16
  instance = Late::AddBroadcastRecipientsRequest.new(
16
17
  contact_ids: null,
18
+ phones: null,
17
19
  use_segment: null
18
20
  )
19
21
  ```
@@ -18,6 +18,9 @@ module Late
18
18
  # Specific contact IDs to add
19
19
  attr_accessor :contact_ids
20
20
 
21
+ # Raw phone numbers (auto-creates contacts). Useful for WhatsApp/Telegram manual entry
22
+ attr_accessor :phones
23
+
21
24
  # Auto-populate from broadcast segment filters
22
25
  attr_accessor :use_segment
23
26
 
@@ -25,6 +28,7 @@ module Late
25
28
  def self.attribute_map
26
29
  {
27
30
  :'contact_ids' => :'contactIds',
31
+ :'phones' => :'phones',
28
32
  :'use_segment' => :'useSegment'
29
33
  }
30
34
  end
@@ -43,6 +47,7 @@ module Late
43
47
  def self.openapi_types
44
48
  {
45
49
  :'contact_ids' => :'Array<String>',
50
+ :'phones' => :'Array<String>',
46
51
  :'use_segment' => :'Boolean'
47
52
  }
48
53
  end
@@ -75,6 +80,12 @@ module Late
75
80
  end
76
81
  end
77
82
 
83
+ if attributes.key?(:'phones')
84
+ if (value = attributes[:'phones']).is_a?(Array)
85
+ self.phones = value
86
+ end
87
+ end
88
+
78
89
  if attributes.key?(:'use_segment')
79
90
  self.use_segment = attributes[:'use_segment']
80
91
  end
@@ -101,6 +112,7 @@ module Late
101
112
  return true if self.equal?(o)
102
113
  self.class == o.class &&
103
114
  contact_ids == o.contact_ids &&
115
+ phones == o.phones &&
104
116
  use_segment == o.use_segment
105
117
  end
106
118
 
@@ -113,7 +125,7 @@ module Late
113
125
  # Calculates hash code according to all attributes.
114
126
  # @return [Integer] Hash code
115
127
  def hash
116
- [contact_ids, use_segment].hash
128
+ [contact_ids, phones, use_segment].hash
117
129
  end
118
130
 
119
131
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.72'
14
+ VERSION = '0.0.73'
15
15
  end
data/openapi.yaml CHANGED
@@ -14973,6 +14973,7 @@ paths:
14973
14973
  type: object
14974
14974
  properties:
14975
14975
  contactIds: { type: array, items: { type: string }, description: Specific contact IDs to add }
14976
+ phones: { type: array, items: { type: string }, description: Raw phone numbers (auto-creates contacts). Useful for WhatsApp/Telegram manual entry }
14976
14977
  useSegment: { type: boolean, description: Auto-populate from broadcast segment filters }
14977
14978
  responses:
14978
14979
  '200': { description: Recipients added }
@@ -33,6 +33,12 @@ describe Late::AddBroadcastRecipientsRequest do
33
33
  end
34
34
  end
35
35
 
36
+ describe 'test attribute "phones"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
36
42
  describe 'test attribute "use_segment"' do
37
43
  it 'should work' do
38
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
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.72
4
+ version: 0.0.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator