late-sdk 0.0.93 → 0.0.95

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: 6d23b35d7dbf978a5d370f91f581010551c6c56cbd5daf4d974dec712d13be92
4
- data.tar.gz: 0c28393acbfdbbf8220d3ae624de8a9d7fcea396c1e24222b6ccde5856f2be64
3
+ metadata.gz: 905d4e1c58f5b2710ba9bc81c0531fb385b9b0d423f469bd797ecf6fa0f3e219
4
+ data.tar.gz: 7f0677bf41376693b4732af908519a922b9c335e84bf32d5061eb9f6c3226a33
5
5
  SHA512:
6
- metadata.gz: 0cc37e3b98a08a8737973ff80ab89faf1f074546fd1a7c31e2a3e6fa22e8b78550b16deb26dcdf10736b564165c4a75670756f8c87108fc81f1a1175080b8dcc
7
- data.tar.gz: 60576597ac554438a6b2f5d7fa599d7d40bc53eeecaa1b085cafdc34b8c3c79354bdea9cc888f402fa3b8d4507dc8032a579ce41032ee6c18e1c42ae5fb69316
6
+ metadata.gz: 1748471bd7113bac81109dd192d3bae70e98d795fb6abd5ca4b20e997f631dd6caabd5933f60cbaf470a93c8ed348babc257b9191cf35dcca72457b09e974f61
7
+ data.tar.gz: 0cc0cd4330849c056ffddf56f8f8ad0f604c161441dadd3a4c0e27e5b00a0c501f2fd4c93a0297b26dfcf5d5039e44f3bbe24448740dbc70366260a66a4b3589
@@ -8,7 +8,7 @@
8
8
  | **name** | **String** | Template name (lowercase, letters/numbers/underscores, must start with a letter) | |
9
9
  | **category** | **String** | Template category | |
10
10
  | **language** | **String** | Template language code (e.g., en_US) | |
11
- | **components** | [**Array<WhatsAppTemplateComponent>**](WhatsAppTemplateComponent.md) | Template components (HEADER, BODY, FOOTER, BUTTONS). Required for custom templates, omit when using library_template_name. | [optional] |
11
+ | **components** | [**Array<WhatsAppTemplateComponent>**](WhatsAppTemplateComponent.md) | Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name. | [optional] |
12
12
  | **library_template_name** | **String** | Name of a pre-built template from Meta's template library (e.g., \"appointment_reminder\", \"auto_pay_reminder_1\", \"address_update\"). When provided, the template is pre-approved by Meta with no review wait. Omit `components` when using this field. | [optional] |
13
13
  | **library_template_body_inputs** | **Object** | Optional body customizations for library templates. Available options depend on the template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation, add_track_package_link, code_expiration_minutes). | [optional] |
14
14
  | **library_template_button_inputs** | [**Array<CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner>**](CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner.md) | Optional button customizations for library templates. Each item specifies button type and configuration (e.g., URL, phone number, quick reply). | [optional] |
data/docs/WhatsAppApi.md CHANGED
@@ -2975,7 +2975,7 @@ end
2975
2975
 
2976
2976
  api_instance = Late::WhatsAppApi.new
2977
2977
  template_name = 'template_name_example' # String | Template name
2978
- update_whats_app_template_request = Late::UpdateWhatsAppTemplateRequest.new({account_id: 'account_id_example', components: [Late::WhatsAppBodyComponent.new({type: 'BODY', text: 'text_example'})]}) # UpdateWhatsAppTemplateRequest |
2978
+ update_whats_app_template_request = Late::UpdateWhatsAppTemplateRequest.new({account_id: 'account_id_example', components: [Late::WhatsAppBodyComponent.new({type: 'body', text: 'text_example'})]}) # UpdateWhatsAppTemplateRequest |
2979
2979
 
2980
2980
  begin
2981
2981
  # Update template
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **header_text** | **Array<String>** | Sample values for header text variables | [optional] |
8
- | **header_handle** | **Array<String>** | When the header format is a media type (IMAGE, VIDEO, GIF, DOCUMENT), provide a public URL here. Zernio will download and upload it to WhatsApp on your behalf, replacing it with the internal file handle before creating the template. | [optional] |
8
+ | **header_handle** | **Array<String>** | When the header format is a media type (image, video, gif, document), provide a public URL here. Zernio will download and upload it to WhatsApp on your behalf, replacing it with the internal file handle before creating the template. | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -8,8 +8,8 @@
8
8
  | **text** | **String** | | |
9
9
  | **url** | **String** | Required when type is URL | [optional] |
10
10
  | **example** | **Array<String>** | Example values for URL suffix variables | [optional] |
11
- | **phone_number** | **String** | Required when type is PHONE_NUMBER | [optional] |
12
- | **otp_type** | **String** | Required when type is OTP | [optional] |
11
+ | **phone_number** | **String** | Required when type is phone_number | [optional] |
12
+ | **otp_type** | **String** | Required when type is otp | [optional] |
13
13
  | **autofill_text** | **String** | | [optional] |
14
14
  | **package_name** | **String** | | [optional] |
15
15
  | **signature_hash** | **String** | | [optional] |
@@ -46,10 +46,10 @@ require 'late-sdk'
46
46
  Late::WhatsAppTemplateComponent.openapi_discriminator_mapping
47
47
  # =>
48
48
  # {
49
- # :'BODY' => :'WhatsAppBodyComponent',
50
- # :'BUTTONS' => :'WhatsAppButtonsComponent',
51
- # :'FOOTER' => :'WhatsAppFooterComponent',
52
- # :'HEADER' => :'WhatsAppHeaderComponent'
49
+ # :'body' => :'WhatsAppBodyComponent',
50
+ # :'buttons' => :'WhatsAppButtonsComponent',
51
+ # :'footer' => :'WhatsAppFooterComponent',
52
+ # :'header' => :'WhatsAppHeaderComponent'
53
53
  # }
54
54
  ```
55
55
 
@@ -27,7 +27,7 @@ module Late
27
27
  # Template language code (e.g., en_US)
28
28
  attr_accessor :language
29
29
 
30
- # Template components (HEADER, BODY, FOOTER, BUTTONS). Required for custom templates, omit when using library_template_name.
30
+ # Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name.
31
31
  attr_accessor :components
32
32
 
33
33
  # Name of a pre-built template from Meta's template library (e.g., \"appointment_reminder\", \"auto_pay_reminder_1\", \"address_update\"). When provided, the template is pre-approved by Meta with no review wait. Omit `components` when using this field.
@@ -118,7 +118,7 @@ module Late
118
118
  # @return true if the model is valid
119
119
  def valid?
120
120
  warn '[DEPRECATED] the `valid?` method is obsolete'
121
- type_validator = EnumAttributeValidator.new('String', ["QUICK_REPLY", "URL", "PHONE_NUMBER"])
121
+ type_validator = EnumAttributeValidator.new('String', ["quick_reply", "url", "phone_number"])
122
122
  return false unless type_validator.valid?(@type)
123
123
  true
124
124
  end
@@ -126,7 +126,7 @@ module Late
126
126
  # Custom attribute writer method checking allowed values (enum).
127
127
  # @param [Object] type Object to be assigned
128
128
  def type=(type)
129
- validator = EnumAttributeValidator.new('String', ["QUICK_REPLY", "URL", "PHONE_NUMBER"])
129
+ validator = EnumAttributeValidator.new('String', ["quick_reply", "url", "phone_number"])
130
130
  unless validator.valid?(type)
131
131
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
132
132
  end
@@ -141,7 +141,7 @@ module Late
141
141
  def valid?
142
142
  warn '[DEPRECATED] the `valid?` method is obsolete'
143
143
  return false if @type.nil?
144
- type_validator = EnumAttributeValidator.new('String', ["BODY"])
144
+ type_validator = EnumAttributeValidator.new('String', ["body"])
145
145
  return false unless type_validator.valid?(@type)
146
146
  return false if @text.nil?
147
147
  true
@@ -150,7 +150,7 @@ module Late
150
150
  # Custom attribute writer method checking allowed values (enum).
151
151
  # @param [Object] type Object to be assigned
152
152
  def type=(type)
153
- validator = EnumAttributeValidator.new('String', ["BODY"])
153
+ validator = EnumAttributeValidator.new('String', ["body"])
154
154
  unless validator.valid?(type)
155
155
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
156
156
  end
@@ -129,7 +129,7 @@ module Late
129
129
  def valid?
130
130
  warn '[DEPRECATED] the `valid?` method is obsolete'
131
131
  return false if @type.nil?
132
- type_validator = EnumAttributeValidator.new('String', ["BUTTONS"])
132
+ type_validator = EnumAttributeValidator.new('String', ["buttons"])
133
133
  return false unless type_validator.valid?(@type)
134
134
  return false if @buttons.nil?
135
135
  return false if @buttons.length < 1
@@ -139,7 +139,7 @@ module Late
139
139
  # Custom attribute writer method checking allowed values (enum).
140
140
  # @param [Object] type Object to be assigned
141
141
  def type=(type)
142
- validator = EnumAttributeValidator.new('String', ["BUTTONS"])
142
+ validator = EnumAttributeValidator.new('String', ["buttons"])
143
143
  unless validator.valid?(type)
144
144
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
145
145
  end
@@ -131,7 +131,7 @@ module Late
131
131
  def valid?
132
132
  warn '[DEPRECATED] the `valid?` method is obsolete'
133
133
  return false if @type.nil?
134
- type_validator = EnumAttributeValidator.new('String', ["FOOTER"])
134
+ type_validator = EnumAttributeValidator.new('String', ["footer"])
135
135
  return false unless type_validator.valid?(@type)
136
136
  return false if !@code_expiration_minutes.nil? && @code_expiration_minutes < 1
137
137
  true
@@ -140,7 +140,7 @@ module Late
140
140
  # Custom attribute writer method checking allowed values (enum).
141
141
  # @param [Object] type Object to be assigned
142
142
  def type=(type)
143
- validator = EnumAttributeValidator.new('String', ["FOOTER"])
143
+ validator = EnumAttributeValidator.new('String', ["footer"])
144
144
  unless validator.valid?(type)
145
145
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
146
146
  end
@@ -140,10 +140,10 @@ module Late
140
140
  def valid?
141
141
  warn '[DEPRECATED] the `valid?` method is obsolete'
142
142
  return false if @type.nil?
143
- type_validator = EnumAttributeValidator.new('String', ["HEADER"])
143
+ type_validator = EnumAttributeValidator.new('String', ["header"])
144
144
  return false unless type_validator.valid?(@type)
145
145
  return false if @format.nil?
146
- format_validator = EnumAttributeValidator.new('String', ["TEXT", "IMAGE", "VIDEO", "GIF", "DOCUMENT", "LOCATION"])
146
+ format_validator = EnumAttributeValidator.new('String', ["text", "image", "video", "gif", "document", "location"])
147
147
  return false unless format_validator.valid?(@format)
148
148
  true
149
149
  end
@@ -151,7 +151,7 @@ module Late
151
151
  # Custom attribute writer method checking allowed values (enum).
152
152
  # @param [Object] type Object to be assigned
153
153
  def type=(type)
154
- validator = EnumAttributeValidator.new('String', ["HEADER"])
154
+ validator = EnumAttributeValidator.new('String', ["header"])
155
155
  unless validator.valid?(type)
156
156
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
157
157
  end
@@ -161,7 +161,7 @@ module Late
161
161
  # Custom attribute writer method checking allowed values (enum).
162
162
  # @param [Object] format Object to be assigned
163
163
  def format=(format)
164
- validator = EnumAttributeValidator.new('String', ["TEXT", "IMAGE", "VIDEO", "GIF", "DOCUMENT", "LOCATION"])
164
+ validator = EnumAttributeValidator.new('String', ["text", "image", "video", "gif", "document", "location"])
165
165
  unless validator.valid?(format)
166
166
  fail ArgumentError, "invalid value for \"format\", must be one of #{validator.allowable_values}."
167
167
  end
@@ -18,7 +18,7 @@ module Late
18
18
  # Sample values for header text variables
19
19
  attr_accessor :header_text
20
20
 
21
- # When the header format is a media type (IMAGE, VIDEO, GIF, DOCUMENT), provide a public URL here. Zernio will download and upload it to WhatsApp on your behalf, replacing it with the internal file handle before creating the template.
21
+ # When the header format is a media type (image, video, gif, document), provide a public URL here. Zernio will download and upload it to WhatsApp on your behalf, replacing it with the internal file handle before creating the template.
22
22
  attr_accessor :header_handle
23
23
 
24
24
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -25,10 +25,10 @@ module Late
25
25
  # Example values for URL suffix variables
26
26
  attr_accessor :example
27
27
 
28
- # Required when type is PHONE_NUMBER
28
+ # Required when type is phone_number
29
29
  attr_accessor :phone_number
30
30
 
31
- # Required when type is OTP
31
+ # Required when type is otp
32
32
  attr_accessor :otp_type
33
33
 
34
34
  attr_accessor :autofill_text
@@ -125,11 +125,6 @@ module Late
125
125
  ])
126
126
  end
127
127
 
128
- # discriminator's property name in OpenAPI v3
129
- def self.openapi_discriminator_name
130
- :'type'
131
- end
132
-
133
128
  # Initializes the object
134
129
  # @param [Hash] attributes Model attributes in the form of hash
135
130
  def initialize(attributes = {})
@@ -230,10 +225,10 @@ module Late
230
225
  def valid?
231
226
  warn '[DEPRECATED] the `valid?` method is obsolete'
232
227
  return false if @type.nil?
233
- type_validator = EnumAttributeValidator.new('String', ["QUICK_REPLY", "URL", "PHONE_NUMBER", "OTP", "FLOW", "MPM", "CATALOG"])
228
+ type_validator = EnumAttributeValidator.new('String', ["quick_reply", "url", "phone_number", "otp", "flow", "mpm", "catalog"])
234
229
  return false unless type_validator.valid?(@type)
235
230
  return false if @text.nil?
236
- otp_type_validator = EnumAttributeValidator.new('String', ["COPY_CODE", "ONE_TAP", "ZERO_TAP"])
231
+ otp_type_validator = EnumAttributeValidator.new('String', ["copy_code", "one_tap", "zero_tap"])
237
232
  return false unless otp_type_validator.valid?(@otp_type)
238
233
  true
239
234
  end
@@ -241,7 +236,7 @@ module Late
241
236
  # Custom attribute writer method checking allowed values (enum).
242
237
  # @param [Object] type Object to be assigned
243
238
  def type=(type)
244
- validator = EnumAttributeValidator.new('String', ["QUICK_REPLY", "URL", "PHONE_NUMBER", "OTP", "FLOW", "MPM", "CATALOG"])
239
+ validator = EnumAttributeValidator.new('String', ["quick_reply", "url", "phone_number", "otp", "flow", "mpm", "catalog"])
245
240
  unless validator.valid?(type)
246
241
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
247
242
  end
@@ -261,7 +256,7 @@ module Late
261
256
  # Custom attribute writer method checking allowed values (enum).
262
257
  # @param [Object] otp_type Object to be assigned
263
258
  def otp_type=(otp_type)
264
- validator = EnumAttributeValidator.new('String', ["COPY_CODE", "ONE_TAP", "ZERO_TAP"])
259
+ validator = EnumAttributeValidator.new('String', ["copy_code", "one_tap", "zero_tap"])
265
260
  unless validator.valid?(otp_type)
266
261
  fail ArgumentError, "invalid value for \"otp_type\", must be one of #{validator.allowable_values}."
267
262
  end
@@ -34,10 +34,10 @@ module Late
34
34
  # Discriminator's mapping (OpenAPI v3)
35
35
  def openapi_discriminator_mapping
36
36
  {
37
- :'BODY' => :'WhatsAppBodyComponent',
38
- :'BUTTONS' => :'WhatsAppButtonsComponent',
39
- :'FOOTER' => :'WhatsAppFooterComponent',
40
- :'HEADER' => :'WhatsAppHeaderComponent'
37
+ :'body' => :'WhatsAppBodyComponent',
38
+ :'buttons' => :'WhatsAppButtonsComponent',
39
+ :'footer' => :'WhatsAppFooterComponent',
40
+ :'header' => :'WhatsAppHeaderComponent'
41
41
  }
42
42
  end
43
43
 
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.93'
14
+ VERSION = '0.0.95'
15
15
  end
data/openapi.yaml CHANGED
@@ -315,7 +315,7 @@ components:
315
315
  properties:
316
316
  type:
317
317
  type: string
318
- enum: [QUICK_REPLY, URL, PHONE_NUMBER, OTP, FLOW, MPM, CATALOG]
318
+ enum: [quick_reply, url, phone_number, otp, flow, mpm, catalog]
319
319
  text:
320
320
  type: string
321
321
  url:
@@ -328,11 +328,11 @@ components:
328
328
  description: Example values for URL suffix variables
329
329
  phone_number:
330
330
  type: string
331
- description: Required when type is PHONE_NUMBER
331
+ description: Required when type is phone_number
332
332
  otp_type:
333
333
  type: string
334
- enum: [COPY_CODE, ONE_TAP, ZERO_TAP]
335
- description: Required when type is OTP
334
+ enum: [copy_code, one_tap, zero_tap]
335
+ description: Required when type is otp
336
336
  autofill_text:
337
337
  type: string
338
338
  package_name:
@@ -349,8 +349,6 @@ components:
349
349
  type: string
350
350
  navigate_screen:
351
351
  type: string
352
- discriminator:
353
- propertyName: type
354
352
  WhatsAppTemplateComponent:
355
353
  oneOf:
356
354
  - $ref: '#/components/schemas/WhatsAppHeaderComponent'
@@ -360,20 +358,20 @@ components:
360
358
  discriminator:
361
359
  propertyName: type
362
360
  mapping:
363
- HEADER: '#/components/schemas/WhatsAppHeaderComponent'
364
- BODY: '#/components/schemas/WhatsAppBodyComponent'
365
- FOOTER: '#/components/schemas/WhatsAppFooterComponent'
366
- BUTTONS: '#/components/schemas/WhatsAppButtonsComponent'
361
+ header: '#/components/schemas/WhatsAppHeaderComponent'
362
+ body: '#/components/schemas/WhatsAppBodyComponent'
363
+ footer: '#/components/schemas/WhatsAppFooterComponent'
364
+ buttons: '#/components/schemas/WhatsAppButtonsComponent'
367
365
  WhatsAppHeaderComponent:
368
366
  type: object
369
367
  required: [type, format]
370
368
  properties:
371
369
  type:
372
370
  type: string
373
- enum: [HEADER]
371
+ enum: [header]
374
372
  format:
375
373
  type: string
376
- enum: [TEXT, IMAGE, VIDEO, GIF, DOCUMENT, LOCATION]
374
+ enum: [text, image, video, gif, document, location]
377
375
  text:
378
376
  type: string
379
377
  description: Header text (may include {{1}} variable). Used when format is TEXT.
@@ -391,14 +389,14 @@ components:
391
389
  items:
392
390
  type: string
393
391
  format: uri
394
- description: When the header format is a media type (IMAGE, VIDEO, GIF, DOCUMENT), provide a public URL here. Zernio will download and upload it to WhatsApp on your behalf, replacing it with the internal file handle before creating the template.
392
+ description: When the header format is a media type (image, video, gif, document), provide a public URL here. Zernio will download and upload it to WhatsApp on your behalf, replacing it with the internal file handle before creating the template.
395
393
  WhatsAppBodyComponent:
396
394
  type: object
397
395
  required: [type, text]
398
396
  properties:
399
397
  type:
400
398
  type: string
401
- enum: [BODY]
399
+ enum: [body]
402
400
  text:
403
401
  type: string
404
402
  description: Body text with optional {{n}} variables
@@ -420,7 +418,7 @@ components:
420
418
  properties:
421
419
  type:
422
420
  type: string
423
- enum: [FOOTER]
421
+ enum: [footer]
424
422
  text:
425
423
  type: string
426
424
  description: Static footer text
@@ -434,7 +432,7 @@ components:
434
432
  properties:
435
433
  type:
436
434
  type: string
437
- enum: [BUTTONS]
435
+ enum: [buttons]
438
436
  buttons:
439
437
  type: array
440
438
  minItems: 1
@@ -14163,7 +14161,7 @@ paths:
14163
14161
  description: Template language code (e.g., en_US)
14164
14162
  components:
14165
14163
  type: array
14166
- description: "Template components (HEADER, BODY, FOOTER, BUTTONS). Required for custom templates, omit when using library_template_name."
14164
+ description: "Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name."
14167
14165
  minItems: 1
14168
14166
  items:
14169
14167
  $ref: '#/components/schemas/WhatsAppTemplateComponent'
@@ -14189,7 +14187,7 @@ paths:
14189
14187
  properties:
14190
14188
  type:
14191
14189
  type: string
14192
- enum: [QUICK_REPLY, URL, PHONE_NUMBER]
14190
+ enum: [quick_reply, url, phone_number]
14193
14191
  url:
14194
14192
  type: object
14195
14193
  properties:
@@ -14205,19 +14203,19 @@ paths:
14205
14203
  category: "UTILITY"
14206
14204
  language: "en_US"
14207
14205
  components:
14208
- - type: "HEADER"
14209
- format: "IMAGE"
14206
+ - type: "header"
14207
+ format: "image"
14210
14208
  example:
14211
14209
  header_handle: ["https://example.com/header.jpg"]
14212
- - type: "BODY"
14210
+ - type: "body"
14213
14211
  text: "Your order {{1}} has been confirmed. Expected delivery: {{2}}"
14214
14212
  example:
14215
14213
  body_text: [["ORD-12345", "March 31"]]
14216
- - type: "FOOTER"
14214
+ - type: "footer"
14217
14215
  text: "Thank you for your purchase"
14218
- - type: "BUTTONS"
14216
+ - type: "buttons"
14219
14217
  buttons:
14220
- - type: "QUICK_REPLY"
14218
+ - type: "quick_reply"
14221
14219
  text: "Track Order"
14222
14220
  library:
14223
14221
  summary: Library template (pre-approved, no review)
@@ -14228,7 +14226,7 @@ paths:
14228
14226
  language: "en_US"
14229
14227
  library_template_name: "appointment_reminder"
14230
14228
  library_template_button_inputs:
14231
- - type: "URL"
14229
+ - type: "url"
14232
14230
  url:
14233
14231
  base_url: "https://myapp.com/appointments/{{1}}"
14234
14232
  responses:
@@ -14336,13 +14334,13 @@ paths:
14336
14334
  example:
14337
14335
  accountId: "507f1f77bcf86cd799439011"
14338
14336
  components:
14339
- - type: "BODY"
14337
+ - type: "body"
14340
14338
  text: "Updated: Your order {{1}} is confirmed. Delivery by {{2}}"
14341
14339
  example:
14342
14340
  body_text: [["ORD-12345", "April 1"]]
14343
- - type: "BUTTONS"
14341
+ - type: "buttons"
14344
14342
  buttons:
14345
- - type: "QUICK_REPLY"
14343
+ - type: "quick_reply"
14346
14344
  text: "Track Order"
14347
14345
  responses:
14348
14346
  '200':
@@ -30,7 +30,7 @@ describe Late::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner 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', ["QUICK_REPLY", "URL", "PHONE_NUMBER"])
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["quick_reply", "url", "phone_number"])
34
34
  # validator.allowable_values.each do |value|
35
35
  # expect { instance.type = value }.not_to raise_error
36
36
  # end
@@ -30,7 +30,7 @@ describe Late::WhatsAppBodyComponent 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', ["BODY"])
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["body"])
34
34
  # validator.allowable_values.each do |value|
35
35
  # expect { instance.type = value }.not_to raise_error
36
36
  # end
@@ -30,7 +30,7 @@ describe Late::WhatsAppButtonsComponent 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', ["BUTTONS"])
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["buttons"])
34
34
  # validator.allowable_values.each do |value|
35
35
  # expect { instance.type = value }.not_to raise_error
36
36
  # end
@@ -30,7 +30,7 @@ describe Late::WhatsAppFooterComponent 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', ["FOOTER"])
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["footer"])
34
34
  # validator.allowable_values.each do |value|
35
35
  # expect { instance.type = value }.not_to raise_error
36
36
  # end
@@ -30,7 +30,7 @@ describe Late::WhatsAppHeaderComponent 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', ["HEADER"])
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["header"])
34
34
  # validator.allowable_values.each do |value|
35
35
  # expect { instance.type = value }.not_to raise_error
36
36
  # end
@@ -40,7 +40,7 @@ describe Late::WhatsAppHeaderComponent do
40
40
  describe 'test attribute "format"' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["TEXT", "IMAGE", "VIDEO", "GIF", "DOCUMENT", "LOCATION"])
43
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["text", "image", "video", "gif", "document", "location"])
44
44
  # validator.allowable_values.each do |value|
45
45
  # expect { instance.format = value }.not_to raise_error
46
46
  # end
@@ -30,7 +30,7 @@ describe Late::WhatsAppTemplateButton 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', ["QUICK_REPLY", "URL", "PHONE_NUMBER", "OTP", "FLOW", "MPM", "CATALOG"])
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["quick_reply", "url", "phone_number", "otp", "flow", "mpm", "catalog"])
34
34
  # validator.allowable_values.each do |value|
35
35
  # expect { instance.type = value }.not_to raise_error
36
36
  # end
@@ -64,7 +64,7 @@ describe Late::WhatsAppTemplateButton do
64
64
  describe 'test attribute "otp_type"' do
65
65
  it 'should work' do
66
66
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["COPY_CODE", "ONE_TAP", "ZERO_TAP"])
67
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["copy_code", "one_tap", "zero_tap"])
68
68
  # validator.allowable_values.each do |value|
69
69
  # expect { instance.otp_type = value }.not_to raise_error
70
70
  # end
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.93
4
+ version: 0.0.95
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -2247,7 +2247,7 @@ files:
2247
2247
  - spec/models/you_tube_scope_missing_response_scope_status_spec.rb
2248
2248
  - spec/models/you_tube_scope_missing_response_spec.rb
2249
2249
  - spec/spec_helper.rb
2250
- - zernio-sdk-0.0.93.gem
2250
+ - zernio-sdk-0.0.95.gem
2251
2251
  homepage: https://openapi-generator.tech
2252
2252
  licenses:
2253
2253
  - Unlicense
Binary file