late-sdk 0.0.566 → 0.0.568

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: 9517ba865092ec5b29499379b3b98d2ecf68574bb711966d0993eb81cadb1d42
4
- data.tar.gz: 5e0848acb0207647d4ef08750a90ef9970fa7bcb5b112d91836d3cb71dffe702
3
+ metadata.gz: 2a70e3f3fd6763affa173155600bbdb8649cf1ce2bacb9d84cee782e66e87485
4
+ data.tar.gz: dc8b7db72e44904c3d8a5c631bc46c134e2fc9fac93a8e94e882ecc074b5b617
5
5
  SHA512:
6
- metadata.gz: 38824a7da5e9f2547b2451a579bbe885cf1c976820ab96b781727f1d587a728f4a78db7f5314532cdd13e9eee6922d1ba1366398b10f829e305b70d330f43791
7
- data.tar.gz: 674843899980ddd3c0641c6f8142d8cf73dabba4f1e97fade15989d05b088f9a90bc41909f1c7426f596a062fa55317691dc5f3feabd8fbc0986240a6e4508fe
6
+ metadata.gz: 58d7ef4c3afdc63222deb589c0e419876b6bfb74b3f9a789299f76a9dd337aaf00f31ee6f3d28fa15694adfdf3ee45ab72dd7f05992f6021a42668ef18d9e42a
7
+ data.tar.gz: 8949191da1d9267120b272529f958760067baf88261d0b14abbb847fbdea6721ba024ffdfdaa1a3ab2d1351e1c8c3e15f3e5c0da4caf29a77f58ca2014e94884
@@ -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)
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.566'
14
+ VERSION = '0.0.568'
15
15
  end
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':
@@ -32552,6 +32552,7 @@ paths:
32552
32552
  properties:
32553
32553
  id: { type: string }
32554
32554
  status: { type: string }
32555
+ '400': { $ref: '#/components/responses/BadRequest' }
32555
32556
  '401': { $ref: '#/components/responses/Unauthorized' }
32556
32557
  '404': { $ref: '#/components/responses/NotFound' }
32557
32558
 
@@ -32682,6 +32683,7 @@ paths:
32682
32683
  type: array
32683
32684
  description: Events in chronological order (oldest first).
32684
32685
  items: { $ref: '#/components/schemas/WorkflowExecutionEvent' }
32686
+ '400': { $ref: '#/components/responses/BadRequest' }
32685
32687
  '401': { $ref: '#/components/responses/Unauthorized' }
32686
32688
  '404': { $ref: '#/components/responses/NotFound' }
32687
32689
 
@@ -32719,6 +32721,7 @@ paths:
32719
32721
  entryNodeId: { type: [string, "null"] }
32720
32722
  nodeCount: { type: integer }
32721
32723
  createdAt: { type: string, format: date-time }
32724
+ '400': { $ref: '#/components/responses/BadRequest' }
32722
32725
  '401': { $ref: '#/components/responses/Unauthorized' }
32723
32726
  '404': { $ref: '#/components/responses/NotFound' }
32724
32727
 
@@ -32755,6 +32758,7 @@ paths:
32755
32758
  createdByEmail: { type: [string, "null"], description: Denormalized email so the history UI can render without a join }
32756
32759
  restoredFromVersion: { type: [integer, "null"], description: "When non-null, this snapshot was created by restoring that version" }
32757
32760
  createdAt: { type: string, format: date-time }
32761
+ '400': { $ref: '#/components/responses/BadRequest' }
32758
32762
  '401': { $ref: '#/components/responses/Unauthorized' }
32759
32763
  '404': { $ref: '#/components/responses/NotFound' }
32760
32764
 
@@ -32792,6 +32796,7 @@ paths:
32792
32796
  createdByEmail: { type: [string, "null"] }
32793
32797
  restoredFromVersion: { type: [integer, "null"] }
32794
32798
  createdAt: { type: string, format: date-time }
32799
+ '400': { $ref: '#/components/responses/BadRequest' }
32795
32800
  '401': { $ref: '#/components/responses/Unauthorized' }
32796
32801
  '404': { $ref: '#/components/responses/NotFound' }
32797
32802
 
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.566
4
+ version: 0.0.568
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.566.gem
4754
+ - zernio-sdk-0.0.568.gem
4755
4755
  - zernio-sdk.gemspec
4756
4756
  homepage: https://openapi-generator.tech
4757
4757
  licenses:
Binary file