late-sdk 0.0.91 → 0.0.93

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.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -1
  3. data/docs/ConnectApi.md +146 -4
  4. data/docs/CreateWhatsAppTemplateRequest.md +1 -1
  5. data/docs/GetYoutubePlaylists200Response.md +20 -0
  6. data/docs/GetYoutubePlaylists200ResponsePlaylistsInner.md +28 -0
  7. data/docs/MessagesApi.md +16 -16
  8. data/docs/UpdateWhatsAppTemplateRequest.md +1 -1
  9. data/docs/{UpdateRedditSubreddits200Response.md → UpdateYoutubeDefaultPlaylist200Response.md} +2 -2
  10. data/docs/UpdateYoutubeDefaultPlaylistRequest.md +20 -0
  11. data/docs/WebhooksApi.md +4 -4
  12. data/docs/WhatsAppApi.md +1 -1
  13. data/docs/WhatsAppBodyComponent.md +24 -0
  14. data/docs/WhatsAppBodyComponentExample.md +18 -0
  15. data/docs/WhatsAppButtonsComponent.md +20 -0
  16. data/docs/WhatsAppFooterComponent.md +22 -0
  17. data/docs/WhatsAppHeaderComponent.md +24 -0
  18. data/docs/WhatsAppHeaderComponentExample.md +20 -0
  19. data/docs/WhatsAppTemplateButton.md +44 -0
  20. data/docs/WhatsAppTemplateComponent.md +85 -0
  21. data/docs/YouTubePlatformData.md +3 -1
  22. data/lib/late-sdk/api/connect_api.rb +140 -3
  23. data/lib/late-sdk/api/messages_api.rb +12 -12
  24. data/lib/late-sdk/api/webhooks_api.rb +3 -3
  25. data/lib/late-sdk/models/create_whats_app_template_request.rb +21 -2
  26. data/lib/late-sdk/models/get_youtube_playlists200_response.rb +158 -0
  27. data/lib/late-sdk/models/get_youtube_playlists200_response_playlists_inner.rb +226 -0
  28. data/lib/late-sdk/models/update_whats_app_template_request.rb +10 -1
  29. data/lib/late-sdk/models/{update_reddit_subreddits200_response.rb → update_youtube_default_playlist200_response.rb} +3 -3
  30. data/lib/late-sdk/models/update_youtube_default_playlist_request.rb +173 -0
  31. data/lib/late-sdk/models/whats_app_body_component.rb +234 -0
  32. data/lib/late-sdk/models/whats_app_body_component_example.rb +150 -0
  33. data/lib/late-sdk/models/whats_app_buttons_component.rb +225 -0
  34. data/lib/late-sdk/models/whats_app_footer_component.rb +227 -0
  35. data/lib/late-sdk/models/whats_app_header_component.rb +235 -0
  36. data/lib/late-sdk/models/whats_app_header_component_example.rb +190 -0
  37. data/lib/late-sdk/models/whats_app_template_button.rb +345 -0
  38. data/lib/late-sdk/models/whats_app_template_component.rb +59 -0
  39. data/lib/late-sdk/models/you_tube_platform_data.rb +14 -4
  40. data/lib/late-sdk/version.rb +1 -1
  41. data/lib/late-sdk.rb +12 -1
  42. data/openapi.yaml +248 -5
  43. data/spec/api/connect_api_spec.rb +26 -1
  44. data/spec/api/messages_api_spec.rb +4 -4
  45. data/spec/api/webhooks_api_spec.rb +1 -1
  46. data/spec/models/get_youtube_playlists200_response_playlists_inner_spec.rb +70 -0
  47. data/spec/models/get_youtube_playlists200_response_spec.rb +42 -0
  48. data/spec/models/{update_reddit_subreddits200_response_spec.rb → update_youtube_default_playlist200_response_spec.rb} +6 -6
  49. data/spec/models/update_youtube_default_playlist_request_spec.rb +42 -0
  50. data/spec/models/whats_app_body_component_example_spec.rb +36 -0
  51. data/spec/models/whats_app_body_component_spec.rb +58 -0
  52. data/spec/models/whats_app_buttons_component_spec.rb +46 -0
  53. data/spec/models/whats_app_footer_component_spec.rb +52 -0
  54. data/spec/models/whats_app_header_component_example_spec.rb +42 -0
  55. data/spec/models/whats_app_header_component_spec.rb +62 -0
  56. data/spec/models/whats_app_template_button_spec.rb +122 -0
  57. data/spec/models/whats_app_template_component_spec.rb +44 -0
  58. data/spec/models/you_tube_platform_data_spec.rb +6 -0
  59. data/zernio-sdk-0.0.93.gem +0 -0
  60. metadata +50 -6
  61. data/zernio-sdk-0.0.91.gem +0 -0
data/openapi.yaml CHANGED
@@ -309,6 +309,137 @@ components:
309
309
  details:
310
310
  type: object
311
311
  additionalProperties: true
312
+ WhatsAppTemplateButton:
313
+ type: object
314
+ required: [type, text]
315
+ properties:
316
+ type:
317
+ type: string
318
+ enum: [QUICK_REPLY, URL, PHONE_NUMBER, OTP, FLOW, MPM, CATALOG]
319
+ text:
320
+ type: string
321
+ url:
322
+ type: string
323
+ format: uri
324
+ description: Required when type is URL
325
+ example:
326
+ type: array
327
+ items: { type: string }
328
+ description: Example values for URL suffix variables
329
+ phone_number:
330
+ type: string
331
+ description: Required when type is PHONE_NUMBER
332
+ otp_type:
333
+ type: string
334
+ enum: [COPY_CODE, ONE_TAP, ZERO_TAP]
335
+ description: Required when type is OTP
336
+ autofill_text:
337
+ type: string
338
+ package_name:
339
+ type: string
340
+ signature_hash:
341
+ type: string
342
+ flow_id:
343
+ type: string
344
+ flow_name:
345
+ type: string
346
+ flow_json:
347
+ type: string
348
+ flow_action:
349
+ type: string
350
+ navigate_screen:
351
+ type: string
352
+ discriminator:
353
+ propertyName: type
354
+ WhatsAppTemplateComponent:
355
+ oneOf:
356
+ - $ref: '#/components/schemas/WhatsAppHeaderComponent'
357
+ - $ref: '#/components/schemas/WhatsAppBodyComponent'
358
+ - $ref: '#/components/schemas/WhatsAppFooterComponent'
359
+ - $ref: '#/components/schemas/WhatsAppButtonsComponent'
360
+ discriminator:
361
+ propertyName: type
362
+ mapping:
363
+ HEADER: '#/components/schemas/WhatsAppHeaderComponent'
364
+ BODY: '#/components/schemas/WhatsAppBodyComponent'
365
+ FOOTER: '#/components/schemas/WhatsAppFooterComponent'
366
+ BUTTONS: '#/components/schemas/WhatsAppButtonsComponent'
367
+ WhatsAppHeaderComponent:
368
+ type: object
369
+ required: [type, format]
370
+ properties:
371
+ type:
372
+ type: string
373
+ enum: [HEADER]
374
+ format:
375
+ type: string
376
+ enum: [TEXT, IMAGE, VIDEO, GIF, DOCUMENT, LOCATION]
377
+ text:
378
+ type: string
379
+ description: Header text (may include {{1}} variable). Used when format is TEXT.
380
+ example:
381
+ type: object
382
+ properties:
383
+ header_text:
384
+ type: array
385
+ items: { type: string }
386
+ description: Sample values for header text variables
387
+ header_handle:
388
+ type: array
389
+ minItems: 1
390
+ maxItems: 1
391
+ items:
392
+ type: string
393
+ 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.
395
+ WhatsAppBodyComponent:
396
+ type: object
397
+ required: [type, text]
398
+ properties:
399
+ type:
400
+ type: string
401
+ enum: [BODY]
402
+ text:
403
+ type: string
404
+ description: Body text with optional {{n}} variables
405
+ add_security_recommendation:
406
+ type: boolean
407
+ description: Add security recommendation text (authentication templates only)
408
+ example:
409
+ type: object
410
+ properties:
411
+ body_text:
412
+ type: array
413
+ items:
414
+ type: array
415
+ items: { type: string }
416
+ description: Sample values for body variables (array of arrays)
417
+ WhatsAppFooterComponent:
418
+ type: object
419
+ required: [type]
420
+ properties:
421
+ type:
422
+ type: string
423
+ enum: [FOOTER]
424
+ text:
425
+ type: string
426
+ description: Static footer text
427
+ code_expiration_minutes:
428
+ type: integer
429
+ minimum: 1
430
+ description: OTP code expiry in minutes (authentication templates only)
431
+ WhatsAppButtonsComponent:
432
+ type: object
433
+ required: [type, buttons]
434
+ properties:
435
+ type:
436
+ type: string
437
+ enum: [BUTTONS]
438
+ buttons:
439
+ type: array
440
+ minItems: 1
441
+ items:
442
+ $ref: '#/components/schemas/WhatsAppTemplateButton'
312
443
  FoodMenuLabel:
313
444
  type: object
314
445
  required: [displayName]
@@ -1629,6 +1760,9 @@ components:
1629
1760
  type: string
1630
1761
  default: '22'
1631
1762
  description: "YouTube video category ID. Defaults to 22 (People & Blogs). Common: 1 (Film), 2 (Autos), 10 (Music), 15 (Pets), 17 (Sports), 20 (Gaming), 23 (Comedy), 24 (Entertainment), 25 (News), 26 (Howto), 27 (Education), 28 (Science & Tech)."
1763
+ playlistId:
1764
+ type: string
1765
+ description: "Optional YouTube playlist ID to add the video to after upload (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Works for both immediate and scheduled uploads. Quota cost: 50 YouTube API units per call."
1632
1766
  description: Videos under 3 min auto-detected as Shorts. Custom thumbnails for regular videos only. Scheduled videos are uploaded immediately with the specified visibility.
1633
1767
 
1634
1768
  GoogleBusinessPlatformData:
@@ -9897,6 +10031,95 @@ paths:
9897
10031
  '401': { $ref: '#/components/responses/Unauthorized' }
9898
10032
  '404': { description: Account not found }
9899
10033
 
10034
+ /v1/accounts/{accountId}/youtube-playlists:
10035
+ get:
10036
+ operationId: getYoutubePlaylists
10037
+ tags: [Connect]
10038
+ summary: List YouTube playlists
10039
+ description: Returns the playlists available for a connected YouTube account. Use this to get a playlist ID when creating a YouTube post with the `playlistId` field.
10040
+ parameters:
10041
+ - name: accountId
10042
+ in: path
10043
+ required: true
10044
+ schema: { type: string }
10045
+ responses:
10046
+ '200':
10047
+ description: Playlists list
10048
+ content:
10049
+ application/json:
10050
+ schema:
10051
+ type: object
10052
+ properties:
10053
+ playlists:
10054
+ type: array
10055
+ items:
10056
+ type: object
10057
+ properties:
10058
+ id: { type: string }
10059
+ title: { type: string }
10060
+ description: { type: string }
10061
+ privacy: { type: string, enum: [public, private, unlisted] }
10062
+ itemCount: { type: integer }
10063
+ thumbnailUrl: { type: string }
10064
+ defaultPlaylistId:
10065
+ type: string
10066
+ nullable: true
10067
+ example:
10068
+ playlists:
10069
+ - id: "PLxxxxxxxxxxxxx"
10070
+ title: "Tutorials"
10071
+ description: "Step-by-step video tutorials"
10072
+ privacy: "public"
10073
+ itemCount: 24
10074
+ thumbnailUrl: "https://i.ytimg.com/vi/xxx/mqdefault.jpg"
10075
+ - id: "PLyyyyyyyyyyyyy"
10076
+ title: "Vlogs"
10077
+ description: "Weekly vlogs"
10078
+ privacy: "public"
10079
+ itemCount: 52
10080
+ thumbnailUrl: "https://i.ytimg.com/vi/yyy/mqdefault.jpg"
10081
+ defaultPlaylistId: null
10082
+ '400': { description: Not a YouTube account }
10083
+ '401': { $ref: '#/components/responses/Unauthorized' }
10084
+ '404': { description: Account not found }
10085
+ put:
10086
+ operationId: updateYoutubeDefaultPlaylist
10087
+ tags: [Connect]
10088
+ summary: Set default YouTube playlist
10089
+ description: Sets the default playlist used when publishing videos for this account. When a post does not specify a `playlistId`, the default playlist is not automatically used (it is stored for client-side convenience).
10090
+ parameters:
10091
+ - name: accountId
10092
+ in: path
10093
+ required: true
10094
+ schema: { type: string }
10095
+ requestBody:
10096
+ required: true
10097
+ content:
10098
+ application/json:
10099
+ schema:
10100
+ type: object
10101
+ required: [defaultPlaylistId]
10102
+ properties:
10103
+ defaultPlaylistId: { type: string }
10104
+ defaultPlaylistName: { type: string }
10105
+ example:
10106
+ defaultPlaylistId: "PLxxxxxxxxxxxxx"
10107
+ defaultPlaylistName: "Tutorials"
10108
+ responses:
10109
+ '200':
10110
+ description: Default playlist set
10111
+ content:
10112
+ application/json:
10113
+ schema:
10114
+ type: object
10115
+ properties:
10116
+ success: { type: boolean }
10117
+ example:
10118
+ success: true
10119
+ '400': { description: Invalid request }
10120
+ '401': { $ref: '#/components/responses/Unauthorized' }
10121
+ '404': { description: Account not found }
10122
+
9900
10123
  /v1/accounts/{accountId}/gmb-locations:
9901
10124
  get:
9902
10125
  operationId: getGmbLocations
@@ -13940,9 +14163,10 @@ paths:
13940
14163
  description: Template language code (e.g., en_US)
13941
14164
  components:
13942
14165
  type: array
13943
- description: "Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name."
14166
+ description: "Template components (HEADER, BODY, FOOTER, BUTTONS). Required for custom templates, omit when using library_template_name."
14167
+ minItems: 1
13944
14168
  items:
13945
- type: object
14169
+ $ref: '#/components/schemas/WhatsAppTemplateComponent'
13946
14170
  library_template_name:
13947
14171
  type: string
13948
14172
  description: |
@@ -13981,8 +14205,20 @@ paths:
13981
14205
  category: "UTILITY"
13982
14206
  language: "en_US"
13983
14207
  components:
13984
- - type: "body"
14208
+ - type: "HEADER"
14209
+ format: "IMAGE"
14210
+ example:
14211
+ header_handle: ["https://example.com/header.jpg"]
14212
+ - type: "BODY"
13985
14213
  text: "Your order {{1}} has been confirmed. Expected delivery: {{2}}"
14214
+ example:
14215
+ body_text: [["ORD-12345", "March 31"]]
14216
+ - type: "FOOTER"
14217
+ text: "Thank you for your purchase"
14218
+ - type: "BUTTONS"
14219
+ buttons:
14220
+ - type: "QUICK_REPLY"
14221
+ text: "Track Order"
13986
14222
  library:
13987
14223
  summary: Library template (pre-approved, no review)
13988
14224
  value:
@@ -14094,13 +14330,20 @@ paths:
14094
14330
  components:
14095
14331
  type: array
14096
14332
  description: Updated template components
14333
+ minItems: 1
14097
14334
  items:
14098
- type: object
14335
+ $ref: '#/components/schemas/WhatsAppTemplateComponent'
14099
14336
  example:
14100
14337
  accountId: "507f1f77bcf86cd799439011"
14101
14338
  components:
14102
- - type: "body"
14339
+ - type: "BODY"
14103
14340
  text: "Updated: Your order {{1}} is confirmed. Delivery by {{2}}"
14341
+ example:
14342
+ body_text: [["ORD-12345", "April 1"]]
14343
+ - type: "BUTTONS"
14344
+ buttons:
14345
+ - type: "QUICK_REPLY"
14346
+ text: "Track Order"
14104
14347
  responses:
14105
14348
  '200':
14106
14349
  description: Template updated successfully
@@ -180,6 +180,18 @@ describe 'ConnectApi' do
180
180
  end
181
181
  end
182
182
 
183
+ # unit tests for get_youtube_playlists
184
+ # List YouTube playlists
185
+ # Returns the playlists available for a connected YouTube account. Use this to get a playlist ID when creating a YouTube post with the `playlistId` field.
186
+ # @param account_id
187
+ # @param [Hash] opts the optional parameters
188
+ # @return [GetYoutubePlaylists200Response]
189
+ describe 'get_youtube_playlists test' do
190
+ it 'should work' do
191
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
192
+ end
193
+ end
194
+
183
195
  # unit tests for handle_o_auth_callback
184
196
  # Complete OAuth callback
185
197
  # Exchange the OAuth authorization code for tokens and connect the account to the specified profile.
@@ -391,11 +403,24 @@ describe 'ConnectApi' do
391
403
  # @param account_id
392
404
  # @param update_reddit_subreddits_request
393
405
  # @param [Hash] opts the optional parameters
394
- # @return [UpdateRedditSubreddits200Response]
406
+ # @return [UpdateYoutubeDefaultPlaylist200Response]
395
407
  describe 'update_reddit_subreddits test' do
396
408
  it 'should work' do
397
409
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
398
410
  end
399
411
  end
400
412
 
413
+ # unit tests for update_youtube_default_playlist
414
+ # Set default YouTube playlist
415
+ # Sets the default playlist used when publishing videos for this account. When a post does not specify a `playlistId`, the default playlist is not automatically used (it is stored for client-side convenience).
416
+ # @param account_id
417
+ # @param update_youtube_default_playlist_request
418
+ # @param [Hash] opts the optional parameters
419
+ # @return [UpdateYoutubeDefaultPlaylist200Response]
420
+ describe 'update_youtube_default_playlist test' do
421
+ it 'should work' do
422
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
423
+ end
424
+ end
425
+
401
426
  end
@@ -39,7 +39,7 @@ describe 'MessagesApi' do
39
39
  # @param message_id The platform message ID to react to
40
40
  # @param add_message_reaction_request
41
41
  # @param [Hash] opts the optional parameters
42
- # @return [UpdateRedditSubreddits200Response]
42
+ # @return [UpdateYoutubeDefaultPlaylist200Response]
43
43
  describe 'add_message_reaction test' do
44
44
  it 'should work' do
45
45
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -53,7 +53,7 @@ describe 'MessagesApi' do
53
53
  # @param message_id The platform message ID to delete
54
54
  # @param account_id Social account ID
55
55
  # @param [Hash] opts the optional parameters
56
- # @return [UpdateRedditSubreddits200Response]
56
+ # @return [UpdateYoutubeDefaultPlaylist200Response]
57
57
  describe 'delete_inbox_message test' do
58
58
  it 'should work' do
59
59
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -125,7 +125,7 @@ describe 'MessagesApi' do
125
125
  # @param message_id The platform message ID
126
126
  # @param account_id Social account ID
127
127
  # @param [Hash] opts the optional parameters
128
- # @return [UpdateRedditSubreddits200Response]
128
+ # @return [UpdateYoutubeDefaultPlaylist200Response]
129
129
  describe 'remove_message_reaction test' do
130
130
  it 'should work' do
131
131
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -151,7 +151,7 @@ describe 'MessagesApi' do
151
151
  # @param conversation_id The conversation ID
152
152
  # @param send_typing_indicator_request
153
153
  # @param [Hash] opts the optional parameters
154
- # @return [UpdateRedditSubreddits200Response]
154
+ # @return [UpdateYoutubeDefaultPlaylist200Response]
155
155
  describe 'send_typing_indicator test' do
156
156
  it 'should work' do
157
157
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -49,7 +49,7 @@ describe 'WebhooksApi' do
49
49
  # Permanently delete a webhook configuration.
50
50
  # @param id Webhook ID to delete
51
51
  # @param [Hash] opts the optional parameters
52
- # @return [UpdateRedditSubreddits200Response]
52
+ # @return [UpdateYoutubeDefaultPlaylist200Response]
53
53
  describe 'delete_webhook_settings test' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Late::GetYoutubePlaylists200ResponsePlaylistsInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::GetYoutubePlaylists200ResponsePlaylistsInner do
21
+ #let(:instance) { Late::GetYoutubePlaylists200ResponsePlaylistsInner.new }
22
+
23
+ describe 'test an instance of GetYoutubePlaylists200ResponsePlaylistsInner' do
24
+ it 'should create an instance of GetYoutubePlaylists200ResponsePlaylistsInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::GetYoutubePlaylists200ResponsePlaylistsInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "title"' 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
+
42
+ describe 'test attribute "description"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "privacy"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["public", "private", "unlisted"])
52
+ # validator.allowable_values.each do |value|
53
+ # expect { instance.privacy = value }.not_to raise_error
54
+ # end
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "item_count"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "thumbnail_url"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Late::GetYoutubePlaylists200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::GetYoutubePlaylists200Response do
21
+ #let(:instance) { Late::GetYoutubePlaylists200Response.new }
22
+
23
+ describe 'test an instance of GetYoutubePlaylists200Response' do
24
+ it 'should create an instance of GetYoutubePlaylists200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::GetYoutubePlaylists200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "playlists"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "default_playlist_id"' 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
+
42
+ end
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Late::UpdateRedditSubreddits200Response
17
+ # Unit tests for Late::UpdateYoutubeDefaultPlaylist200Response
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe Late::UpdateRedditSubreddits200Response do
21
- #let(:instance) { Late::UpdateRedditSubreddits200Response.new }
20
+ describe Late::UpdateYoutubeDefaultPlaylist200Response do
21
+ #let(:instance) { Late::UpdateYoutubeDefaultPlaylist200Response.new }
22
22
 
23
- describe 'test an instance of UpdateRedditSubreddits200Response' do
24
- it 'should create an instance of UpdateRedditSubreddits200Response' do
23
+ describe 'test an instance of UpdateYoutubeDefaultPlaylist200Response' do
24
+ it 'should create an instance of UpdateYoutubeDefaultPlaylist200Response' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Late::UpdateRedditSubreddits200Response)
26
+ #expect(instance).to be_instance_of(Late::UpdateYoutubeDefaultPlaylist200Response)
27
27
  end
28
28
  end
29
29
 
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Late::UpdateYoutubeDefaultPlaylistRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::UpdateYoutubeDefaultPlaylistRequest do
21
+ #let(:instance) { Late::UpdateYoutubeDefaultPlaylistRequest.new }
22
+
23
+ describe 'test an instance of UpdateYoutubeDefaultPlaylistRequest' do
24
+ it 'should create an instance of UpdateYoutubeDefaultPlaylistRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::UpdateYoutubeDefaultPlaylistRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "default_playlist_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "default_playlist_name"' 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
+
42
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Late::WhatsAppBodyComponentExample
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::WhatsAppBodyComponentExample do
21
+ #let(:instance) { Late::WhatsAppBodyComponentExample.new }
22
+
23
+ describe 'test an instance of WhatsAppBodyComponentExample' do
24
+ it 'should create an instance of WhatsAppBodyComponentExample' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::WhatsAppBodyComponentExample)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "body_text"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Late::WhatsAppBodyComponent
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::WhatsAppBodyComponent do
21
+ #let(:instance) { Late::WhatsAppBodyComponent.new }
22
+
23
+ describe 'test an instance of WhatsAppBodyComponent' do
24
+ it 'should create an instance of WhatsAppBodyComponent' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::WhatsAppBodyComponent)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["BODY"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "text"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "add_security_recommendation"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "example"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ end