late-sdk 0.0.565 → 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 +3 -1
- data/zernio-sdk-0.0.567.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.565.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
|
@@ -28236,6 +28236,7 @@ paths:
|
|
|
28236
28236
|
name: { type: string, example: "sandbox_start" }
|
|
28237
28237
|
language: { type: string, example: "en" }
|
|
28238
28238
|
isSandbox: { type: boolean }
|
|
28239
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
28239
28240
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
28240
28241
|
|
|
28241
28242
|
/v1/whatsapp/phone-numbers/purchase:
|
|
@@ -32289,7 +32290,7 @@ paths:
|
|
|
32289
32290
|
type: object
|
|
32290
32291
|
properties:
|
|
32291
32292
|
contactIds: { type: array, items: { type: string }, description: Specific contact IDs to add }
|
|
32292
|
-
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 }
|
|
32293
32294
|
useSegment: { type: boolean, description: Auto-populate from broadcast segment filters }
|
|
32294
32295
|
responses:
|
|
32295
32296
|
'200':
|
|
@@ -34424,6 +34425,7 @@ paths:
|
|
|
34424
34425
|
description: "Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested."
|
|
34425
34426
|
'202':
|
|
34426
34427
|
description: "Part of the requested date range predates the ingested history; a background backfill job has been queued. The body has the same shape as the 200 response, carries the currently-available data, and includes `backfillPending: true`. A `Retry-After` header carries the recommended poll interval in seconds. Allow the job a short time to run (typically 1-3 minutes) and submit the request again; once ingestion completes the same request returns 200 with the full range."
|
|
34428
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
34427
34429
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
34428
34430
|
'403':
|
|
34429
34431
|
description: Ads access required. Legacy plans need the Ads add-on; included by default on usage-based plans.
|
|
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.565.gem
DELETED
|
Binary file
|