late-sdk 0.0.566 → 0.0.567
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 +4 -4
- data/lib/zernio-sdk/models/add_broadcast_recipients_request.rb +19 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +1 -1
- data/zernio-sdk-0.0.567.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.566.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3ed1e05ad6ab97635f3c134c0a2bd2e571cae52d5a66703005265b0e7a60d79
|
|
4
|
+
data.tar.gz: 30d21d6e59cfa7cc370c53c130f4335b3d6869ab5f74a9b09930aa73d88c5c50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de18f5de9935b562068896da5bfd1ee573d886bc7860222f1192ec89ffb29a4e8e629ed3ac73755d0e30ea607009aaa1a6ee019c1db976957f324f08f8169c1b
|
|
7
|
+
data.tar.gz: 87a8191b1077420d21c47bcf40cb14127a656d18e76fadd42ae4c7a7f6954a0ed22433e14430dbaac904c325a3407a2d33ff6d8785ead1c7b8eb6b209a458dfb
|
|
@@ -96,6 +96,10 @@ module Zernio
|
|
|
96
96
|
def list_invalid_properties
|
|
97
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
98
98
|
invalid_properties = Array.new
|
|
99
|
+
if !@phones.nil? && @phones.length > 20000
|
|
100
|
+
invalid_properties.push('invalid value for "phones", number of items must be less than or equal to 20000.')
|
|
101
|
+
end
|
|
102
|
+
|
|
99
103
|
invalid_properties
|
|
100
104
|
end
|
|
101
105
|
|
|
@@ -103,9 +107,24 @@ module Zernio
|
|
|
103
107
|
# @return true if the model is valid
|
|
104
108
|
def valid?
|
|
105
109
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
110
|
+
return false if !@phones.nil? && @phones.length > 20000
|
|
106
111
|
true
|
|
107
112
|
end
|
|
108
113
|
|
|
114
|
+
# Custom attribute writer method with validation
|
|
115
|
+
# @param [Object] phones Value to be assigned
|
|
116
|
+
def phones=(phones)
|
|
117
|
+
if phones.nil?
|
|
118
|
+
fail ArgumentError, 'phones cannot be nil'
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if phones.length > 20000
|
|
122
|
+
fail ArgumentError, 'invalid value for "phones", number of items must be less than or equal to 20000.'
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
@phones = phones
|
|
126
|
+
end
|
|
127
|
+
|
|
109
128
|
# Checks equality by comparing each attribute.
|
|
110
129
|
# @param [Object] Object to be compared
|
|
111
130
|
def ==(o)
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -32290,7 +32290,7 @@ paths:
|
|
|
32290
32290
|
type: object
|
|
32291
32291
|
properties:
|
|
32292
32292
|
contactIds: { type: array, items: { type: string }, description: Specific contact IDs to add }
|
|
32293
|
-
phones: { type: array, items: { type: string }, description: Raw phone numbers (auto-creates contacts). Useful for WhatsApp/Telegram manual entry }
|
|
32293
|
+
phones: { type: array, items: { type: string }, maxItems: 20000, description: Raw phone numbers (auto-creates contacts). Useful for WhatsApp/Telegram manual entry }
|
|
32294
32294
|
useSegment: { type: boolean, description: Auto-populate from broadcast segment filters }
|
|
32295
32295
|
responses:
|
|
32296
32296
|
'200':
|
|
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.
|
|
4
|
+
version: 0.0.567
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4751,7 +4751,7 @@ files:
|
|
|
4751
4751
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4752
4752
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4753
4753
|
- spec/spec_helper.rb
|
|
4754
|
-
- zernio-sdk-0.0.
|
|
4754
|
+
- zernio-sdk-0.0.567.gem
|
|
4755
4755
|
- zernio-sdk.gemspec
|
|
4756
4756
|
homepage: https://openapi-generator.tech
|
|
4757
4757
|
licenses:
|
data/zernio-sdk-0.0.566.gem
DELETED
|
Binary file
|