late-sdk 0.0.78 → 0.0.79

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 (103) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -1
  3. data/docs/BulkCreateContacts200Response.md +26 -0
  4. data/docs/CommentAutomationsApi.md +28 -24
  5. data/docs/ContactsApi.md +42 -36
  6. data/docs/CreateCommentAutomation200Response.md +20 -0
  7. data/docs/CreateCommentAutomation200ResponseAutomation.md +38 -0
  8. data/docs/CreateCommentAutomation200ResponseAutomationStats.md +22 -0
  9. data/docs/CreateContact200Response.md +24 -0
  10. data/docs/CreateContact200ResponseChannel.md +24 -0
  11. data/docs/CreateContact200ResponseContact.md +36 -0
  12. data/docs/CreateCustomField200Response.md +20 -0
  13. data/docs/CustomFieldsApi.md +21 -18
  14. data/docs/GetBroadcast200ResponseBroadcast.md +1 -1
  15. data/docs/GetCommentAutomation200Response.md +22 -0
  16. data/docs/GetCommentAutomation200ResponseAutomation.md +46 -0
  17. data/docs/GetCommentAutomation200ResponseLogsInner.md +32 -0
  18. data/docs/GetContact200Response.md +22 -0
  19. data/docs/GetContact200ResponseChannelsInner.md +32 -0
  20. data/docs/GetContact200ResponseContact.md +42 -0
  21. data/docs/GetContactChannels200Response.md +20 -0
  22. data/docs/GetContactChannels200ResponseChannelsInner.md +34 -0
  23. data/docs/ListCommentAutomationLogs200Response.md +22 -0
  24. data/docs/ListContacts200Response.md +24 -0
  25. data/docs/ListContacts200ResponseContactsInner.md +52 -0
  26. data/docs/{GetBroadcast200ResponseBroadcastSegmentFilters.md → ListContacts200ResponseFilters.md} +2 -2
  27. data/docs/ListCustomFields200Response.md +20 -0
  28. data/docs/ListCustomFields200ResponseFieldsInner.md +28 -0
  29. data/docs/UpdateCommentAutomation200Response.md +20 -0
  30. data/docs/UpdateCommentAutomation200ResponseAutomation.md +32 -0
  31. data/docs/UpdateContact200Response.md +20 -0
  32. data/docs/UpdateContact200ResponseContact.md +36 -0
  33. data/docs/UpdateCustomField200Response.md +20 -0
  34. data/docs/UpdateCustomField200ResponseField.md +26 -0
  35. data/lib/late-sdk/api/comment_automations_api.rb +20 -20
  36. data/lib/late-sdk/api/contacts_api.rb +30 -30
  37. data/lib/late-sdk/api/custom_fields_api.rb +15 -15
  38. data/lib/late-sdk/models/bulk_create_contacts200_response.rb +185 -0
  39. data/lib/late-sdk/models/create_comment_automation200_response.rb +156 -0
  40. data/lib/late-sdk/models/create_comment_automation200_response_automation.rb +273 -0
  41. data/lib/late-sdk/models/create_comment_automation200_response_automation_stats.rb +165 -0
  42. data/lib/late-sdk/models/create_contact200_response.rb +174 -0
  43. data/lib/late-sdk/models/create_contact200_response_channel.rb +175 -0
  44. data/lib/late-sdk/models/create_contact200_response_contact.rb +230 -0
  45. data/lib/late-sdk/models/create_custom_field200_response.rb +156 -0
  46. data/lib/late-sdk/models/get_broadcast200_response_broadcast.rb +1 -1
  47. data/lib/late-sdk/models/get_comment_automation200_response.rb +167 -0
  48. data/lib/late-sdk/models/get_comment_automation200_response_automation.rb +309 -0
  49. data/lib/late-sdk/models/get_comment_automation200_response_logs_inner.rb +244 -0
  50. data/lib/late-sdk/models/get_contact200_response.rb +167 -0
  51. data/lib/late-sdk/models/get_contact200_response_channels_inner.rb +210 -0
  52. data/lib/late-sdk/models/get_contact200_response_contact.rb +259 -0
  53. data/lib/late-sdk/models/get_contact_channels200_response.rb +158 -0
  54. data/lib/late-sdk/models/get_contact_channels200_response_channels_inner.rb +219 -0
  55. data/lib/late-sdk/models/list_comment_automation_logs200_response.rb +167 -0
  56. data/lib/late-sdk/models/list_contacts200_response.rb +176 -0
  57. data/lib/late-sdk/models/list_contacts200_response_contacts_inner.rb +302 -0
  58. data/lib/late-sdk/models/{get_broadcast200_response_broadcast_segment_filters.rb → list_contacts200_response_filters.rb} +3 -3
  59. data/lib/late-sdk/models/list_custom_fields200_response.rb +158 -0
  60. data/lib/late-sdk/models/list_custom_fields200_response_fields_inner.rb +228 -0
  61. data/lib/late-sdk/models/update_comment_automation200_response.rb +156 -0
  62. data/lib/late-sdk/models/update_comment_automation200_response_automation.rb +246 -0
  63. data/lib/late-sdk/models/update_contact200_response.rb +156 -0
  64. data/lib/late-sdk/models/update_contact200_response_contact.rb +230 -0
  65. data/lib/late-sdk/models/update_custom_field200_response.rb +156 -0
  66. data/lib/late-sdk/models/update_custom_field200_response_field.rb +185 -0
  67. data/lib/late-sdk/version.rb +1 -1
  68. data/lib/late-sdk.rb +28 -1
  69. data/openapi.yaml +324 -13
  70. data/spec/api/comment_automations_api_spec.rb +4 -4
  71. data/spec/api/contacts_api_spec.rb +6 -6
  72. data/spec/api/custom_fields_api_spec.rb +3 -3
  73. data/spec/models/bulk_create_contacts200_response_spec.rb +60 -0
  74. data/spec/models/create_comment_automation200_response_automation_spec.rb +100 -0
  75. data/spec/models/create_comment_automation200_response_automation_stats_spec.rb +48 -0
  76. data/spec/models/create_comment_automation200_response_spec.rb +42 -0
  77. data/spec/models/create_contact200_response_channel_spec.rb +54 -0
  78. data/spec/models/create_contact200_response_contact_spec.rb +90 -0
  79. data/spec/models/create_contact200_response_spec.rb +54 -0
  80. data/spec/models/create_custom_field200_response_spec.rb +42 -0
  81. data/spec/models/get_comment_automation200_response_automation_spec.rb +124 -0
  82. data/spec/models/get_comment_automation200_response_logs_inner_spec.rb +82 -0
  83. data/spec/models/get_comment_automation200_response_spec.rb +48 -0
  84. data/spec/models/get_contact200_response_channels_inner_spec.rb +78 -0
  85. data/spec/models/get_contact200_response_contact_spec.rb +108 -0
  86. data/spec/models/get_contact200_response_spec.rb +48 -0
  87. data/spec/models/get_contact_channels200_response_channels_inner_spec.rb +84 -0
  88. data/spec/models/get_contact_channels200_response_spec.rb +42 -0
  89. data/spec/models/list_comment_automation_logs200_response_spec.rb +48 -0
  90. data/spec/models/list_contacts200_response_contacts_inner_spec.rb +138 -0
  91. data/spec/models/{get_broadcast200_response_broadcast_segment_filters_spec.rb → list_contacts200_response_filters_spec.rb} +6 -6
  92. data/spec/models/list_contacts200_response_spec.rb +54 -0
  93. data/spec/models/list_custom_fields200_response_fields_inner_spec.rb +70 -0
  94. data/spec/models/list_custom_fields200_response_spec.rb +42 -0
  95. data/spec/models/update_comment_automation200_response_automation_spec.rb +82 -0
  96. data/spec/models/update_comment_automation200_response_spec.rb +42 -0
  97. data/spec/models/update_contact200_response_contact_spec.rb +90 -0
  98. data/spec/models/update_contact200_response_spec.rb +42 -0
  99. data/spec/models/update_custom_field200_response_field_spec.rb +60 -0
  100. data/spec/models/update_custom_field200_response_spec.rb +42 -0
  101. data/zernio-sdk-0.0.79.gem +0 -0
  102. metadata +114 -6
  103. data/zernio-sdk-0.0.78.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff815966a86d24f2ec031848446029d39d753c2ca4b01b9646790b6f6041b099
4
- data.tar.gz: 62831db2332de076976fd4db3ef3d1834e2f4025fa614d162034b2af3e8212b6
3
+ metadata.gz: b0435636af9a22b98a658202e40361bb2bbd1a73aad1a89f5331b955fecbd077
4
+ data.tar.gz: be6ff0e5bc225466517416f1085dd11a16c06a32ec39bec691147220dd747ed5
5
5
  SHA512:
6
- metadata.gz: eab2a9aca3c386f3b93f49c3a83b2d7afcdb399d2cefa29440abab35ba58ec65a93780a367cf615a10e87392da5c01d5e69814b89e3fa79fb84d6330c0856dc2
7
- data.tar.gz: 5e85eed12bb9f1cfc1f454cdc8f241fc10ed17fea7b383e88f6a1c7c1884f909624e26b02e58ccbcd5db65ff330e2e6f802872bc9aa5c1240f0b0b26d709899b
6
+ metadata.gz: a1c36e08fb873ed6f362c5bd249765ce5943f4ea2bff8d0946920afab536fd83652f1bfc7e96c3091c4ff8cb372025daf805e465c00a80f96decda6cf3ed63d1
7
+ data.tar.gz: e46cffe3b164bfa7ff23dfd736ef9445e2aca4bee0422d86b37f68d4fed7faf475851a16eb689a1216fd5b248cd9407f61f2d4d749f9eee4d77789ab4faf716e
data/README.md CHANGED
@@ -315,6 +315,7 @@ Class | Method | HTTP request | Description
315
315
  - [Late::BlueskyPlatformData](docs/BlueskyPlatformData.md)
316
316
  - [Late::BookmarkPost200Response](docs/BookmarkPost200Response.md)
317
317
  - [Late::BookmarkPostRequest](docs/BookmarkPostRequest.md)
318
+ - [Late::BulkCreateContacts200Response](docs/BulkCreateContacts200Response.md)
318
319
  - [Late::BulkCreateContactsRequest](docs/BulkCreateContactsRequest.md)
319
320
  - [Late::BulkCreateContactsRequestContactsInner](docs/BulkCreateContactsRequestContactsInner.md)
320
321
  - [Late::BulkDeleteWhatsAppContacts200Response](docs/BulkDeleteWhatsAppContacts200Response.md)
@@ -356,8 +357,15 @@ Class | Method | HTTP request | Description
356
357
  - [Late::CreateBroadcastRequestMessageAttachmentsInner](docs/CreateBroadcastRequestMessageAttachmentsInner.md)
357
358
  - [Late::CreateBroadcastRequestSegmentFilters](docs/CreateBroadcastRequestSegmentFilters.md)
358
359
  - [Late::CreateBroadcastRequestTemplate](docs/CreateBroadcastRequestTemplate.md)
360
+ - [Late::CreateCommentAutomation200Response](docs/CreateCommentAutomation200Response.md)
361
+ - [Late::CreateCommentAutomation200ResponseAutomation](docs/CreateCommentAutomation200ResponseAutomation.md)
362
+ - [Late::CreateCommentAutomation200ResponseAutomationStats](docs/CreateCommentAutomation200ResponseAutomationStats.md)
359
363
  - [Late::CreateCommentAutomationRequest](docs/CreateCommentAutomationRequest.md)
364
+ - [Late::CreateContact200Response](docs/CreateContact200Response.md)
365
+ - [Late::CreateContact200ResponseChannel](docs/CreateContact200ResponseChannel.md)
366
+ - [Late::CreateContact200ResponseContact](docs/CreateContact200ResponseContact.md)
360
367
  - [Late::CreateContactRequest](docs/CreateContactRequest.md)
368
+ - [Late::CreateCustomField200Response](docs/CreateCustomField200Response.md)
361
369
  - [Late::CreateCustomFieldRequest](docs/CreateCustomFieldRequest.md)
362
370
  - [Late::CreateGoogleBusinessMedia200Response](docs/CreateGoogleBusinessMedia200Response.md)
363
371
  - [Late::CreateGoogleBusinessMediaRequest](docs/CreateGoogleBusinessMediaRequest.md)
@@ -450,8 +458,15 @@ Class | Method | HTTP request | Description
450
458
  - [Late::GetBroadcast200Response](docs/GetBroadcast200Response.md)
451
459
  - [Late::GetBroadcast200ResponseBroadcast](docs/GetBroadcast200ResponseBroadcast.md)
452
460
  - [Late::GetBroadcast200ResponseBroadcastMessage](docs/GetBroadcast200ResponseBroadcastMessage.md)
453
- - [Late::GetBroadcast200ResponseBroadcastSegmentFilters](docs/GetBroadcast200ResponseBroadcastSegmentFilters.md)
461
+ - [Late::GetCommentAutomation200Response](docs/GetCommentAutomation200Response.md)
462
+ - [Late::GetCommentAutomation200ResponseAutomation](docs/GetCommentAutomation200ResponseAutomation.md)
463
+ - [Late::GetCommentAutomation200ResponseLogsInner](docs/GetCommentAutomation200ResponseLogsInner.md)
454
464
  - [Late::GetConnectUrl200Response](docs/GetConnectUrl200Response.md)
465
+ - [Late::GetContact200Response](docs/GetContact200Response.md)
466
+ - [Late::GetContact200ResponseChannelsInner](docs/GetContact200ResponseChannelsInner.md)
467
+ - [Late::GetContact200ResponseContact](docs/GetContact200ResponseContact.md)
468
+ - [Late::GetContactChannels200Response](docs/GetContactChannels200Response.md)
469
+ - [Late::GetContactChannels200ResponseChannelsInner](docs/GetContactChannels200ResponseChannelsInner.md)
455
470
  - [Late::GetContentDecay200Response](docs/GetContentDecay200Response.md)
456
471
  - [Late::GetContentDecay200ResponseBucketsInner](docs/GetContentDecay200ResponseBucketsInner.md)
457
472
  - [Late::GetDailyMetrics200Response](docs/GetDailyMetrics200Response.md)
@@ -630,10 +645,16 @@ Class | Method | HTTP request | Description
630
645
  - [Late::ListBroadcastRecipients200ResponseRecipientsInner](docs/ListBroadcastRecipients200ResponseRecipientsInner.md)
631
646
  - [Late::ListBroadcasts200Response](docs/ListBroadcasts200Response.md)
632
647
  - [Late::ListBroadcasts200ResponseBroadcastsInner](docs/ListBroadcasts200ResponseBroadcastsInner.md)
648
+ - [Late::ListCommentAutomationLogs200Response](docs/ListCommentAutomationLogs200Response.md)
633
649
  - [Late::ListCommentAutomations200Response](docs/ListCommentAutomations200Response.md)
634
650
  - [Late::ListCommentAutomations200ResponseAutomationsInner](docs/ListCommentAutomations200ResponseAutomationsInner.md)
635
651
  - [Late::ListCommentAutomations200ResponseAutomationsInnerStats](docs/ListCommentAutomations200ResponseAutomationsInnerStats.md)
636
652
  - [Late::ListConnectionLogs200Response](docs/ListConnectionLogs200Response.md)
653
+ - [Late::ListContacts200Response](docs/ListContacts200Response.md)
654
+ - [Late::ListContacts200ResponseContactsInner](docs/ListContacts200ResponseContactsInner.md)
655
+ - [Late::ListContacts200ResponseFilters](docs/ListContacts200ResponseFilters.md)
656
+ - [Late::ListCustomFields200Response](docs/ListCustomFields200Response.md)
657
+ - [Late::ListCustomFields200ResponseFieldsInner](docs/ListCustomFields200ResponseFieldsInner.md)
637
658
  - [Late::ListFacebookPages200Response](docs/ListFacebookPages200Response.md)
638
659
  - [Late::ListFacebookPages200ResponsePagesInner](docs/ListFacebookPages200ResponsePagesInner.md)
639
660
  - [Late::ListGoogleBusinessLocations200Response](docs/ListGoogleBusinessLocations200Response.md)
@@ -811,8 +832,14 @@ Class | Method | HTTP request | Description
811
832
  - [Late::UpdateAccountRequest](docs/UpdateAccountRequest.md)
812
833
  - [Late::UpdateBroadcast200Response](docs/UpdateBroadcast200Response.md)
813
834
  - [Late::UpdateBroadcast200ResponseBroadcast](docs/UpdateBroadcast200ResponseBroadcast.md)
835
+ - [Late::UpdateCommentAutomation200Response](docs/UpdateCommentAutomation200Response.md)
836
+ - [Late::UpdateCommentAutomation200ResponseAutomation](docs/UpdateCommentAutomation200ResponseAutomation.md)
814
837
  - [Late::UpdateCommentAutomationRequest](docs/UpdateCommentAutomationRequest.md)
838
+ - [Late::UpdateContact200Response](docs/UpdateContact200Response.md)
839
+ - [Late::UpdateContact200ResponseContact](docs/UpdateContact200ResponseContact.md)
815
840
  - [Late::UpdateContactRequest](docs/UpdateContactRequest.md)
841
+ - [Late::UpdateCustomField200Response](docs/UpdateCustomField200Response.md)
842
+ - [Late::UpdateCustomField200ResponseField](docs/UpdateCustomField200ResponseField.md)
816
843
  - [Late::UpdateCustomFieldRequest](docs/UpdateCustomFieldRequest.md)
817
844
  - [Late::UpdateFacebookPage200Response](docs/UpdateFacebookPage200Response.md)
818
845
  - [Late::UpdateFacebookPage200ResponseSelectedPage](docs/UpdateFacebookPage200ResponseSelectedPage.md)
@@ -0,0 +1,26 @@
1
+ # Late::BulkCreateContacts200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **created** | **Integer** | | [optional] |
9
+ | **skipped** | **Integer** | | [optional] |
10
+ | **errors** | **Array<Object>** | | [optional] |
11
+ | **total** | **Integer** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'late-sdk'
17
+
18
+ instance = Late::BulkCreateContacts200Response.new(
19
+ success: null,
20
+ created: null,
21
+ skipped: null,
22
+ errors: null,
23
+ total: null
24
+ )
25
+ ```
26
+
@@ -14,7 +14,7 @@ All URIs are relative to *https://zernio.com/api*
14
14
 
15
15
  ## create_comment_automation
16
16
 
17
- > create_comment_automation(create_comment_automation_request)
17
+ > <CreateCommentAutomation200Response> create_comment_automation(create_comment_automation_request)
18
18
 
19
19
  Create a comment-to-DM automation
20
20
 
@@ -36,7 +36,8 @@ create_comment_automation_request = Late::CreateCommentAutomationRequest.new({pr
36
36
 
37
37
  begin
38
38
  # Create a comment-to-DM automation
39
- api_instance.create_comment_automation(create_comment_automation_request)
39
+ result = api_instance.create_comment_automation(create_comment_automation_request)
40
+ p result
40
41
  rescue Late::ApiError => e
41
42
  puts "Error when calling CommentAutomationsApi->create_comment_automation: #{e}"
42
43
  end
@@ -44,9 +45,9 @@ end
44
45
 
45
46
  #### Using the create_comment_automation_with_http_info variant
46
47
 
47
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
48
+ This returns an Array which contains the response data, status code and headers.
48
49
 
49
- > <Array(nil, Integer, Hash)> create_comment_automation_with_http_info(create_comment_automation_request)
50
+ > <Array(<CreateCommentAutomation200Response>, Integer, Hash)> create_comment_automation_with_http_info(create_comment_automation_request)
50
51
 
51
52
  ```ruby
52
53
  begin
@@ -54,7 +55,7 @@ begin
54
55
  data, status_code, headers = api_instance.create_comment_automation_with_http_info(create_comment_automation_request)
55
56
  p status_code # => 2xx
56
57
  p headers # => { ... }
57
- p data # => nil
58
+ p data # => <CreateCommentAutomation200Response>
58
59
  rescue Late::ApiError => e
59
60
  puts "Error when calling CommentAutomationsApi->create_comment_automation_with_http_info: #{e}"
60
61
  end
@@ -68,7 +69,7 @@ end
68
69
 
69
70
  ### Return type
70
71
 
71
- nil (empty response body)
72
+ [**CreateCommentAutomation200Response**](CreateCommentAutomation200Response.md)
72
73
 
73
74
  ### Authorization
74
75
 
@@ -148,7 +149,7 @@ nil (empty response body)
148
149
 
149
150
  ## get_comment_automation
150
151
 
151
- > get_comment_automation(automation_id)
152
+ > <GetCommentAutomation200Response> get_comment_automation(automation_id)
152
153
 
153
154
  Get automation details with recent logs
154
155
 
@@ -168,7 +169,8 @@ automation_id = 'automation_id_example' # String |
168
169
 
169
170
  begin
170
171
  # Get automation details with recent logs
171
- api_instance.get_comment_automation(automation_id)
172
+ result = api_instance.get_comment_automation(automation_id)
173
+ p result
172
174
  rescue Late::ApiError => e
173
175
  puts "Error when calling CommentAutomationsApi->get_comment_automation: #{e}"
174
176
  end
@@ -176,9 +178,9 @@ end
176
178
 
177
179
  #### Using the get_comment_automation_with_http_info variant
178
180
 
179
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
181
+ This returns an Array which contains the response data, status code and headers.
180
182
 
181
- > <Array(nil, Integer, Hash)> get_comment_automation_with_http_info(automation_id)
183
+ > <Array(<GetCommentAutomation200Response>, Integer, Hash)> get_comment_automation_with_http_info(automation_id)
182
184
 
183
185
  ```ruby
184
186
  begin
@@ -186,7 +188,7 @@ begin
186
188
  data, status_code, headers = api_instance.get_comment_automation_with_http_info(automation_id)
187
189
  p status_code # => 2xx
188
190
  p headers # => { ... }
189
- p data # => nil
191
+ p data # => <GetCommentAutomation200Response>
190
192
  rescue Late::ApiError => e
191
193
  puts "Error when calling CommentAutomationsApi->get_comment_automation_with_http_info: #{e}"
192
194
  end
@@ -200,7 +202,7 @@ end
200
202
 
201
203
  ### Return type
202
204
 
203
- nil (empty response body)
205
+ [**GetCommentAutomation200Response**](GetCommentAutomation200Response.md)
204
206
 
205
207
  ### Authorization
206
208
 
@@ -214,7 +216,7 @@ nil (empty response body)
214
216
 
215
217
  ## list_comment_automation_logs
216
218
 
217
- > list_comment_automation_logs(automation_id, opts)
219
+ > <ListCommentAutomationLogs200Response> list_comment_automation_logs(automation_id, opts)
218
220
 
219
221
  List trigger logs for an automation
220
222
 
@@ -241,7 +243,8 @@ opts = {
241
243
 
242
244
  begin
243
245
  # List trigger logs for an automation
244
- api_instance.list_comment_automation_logs(automation_id, opts)
246
+ result = api_instance.list_comment_automation_logs(automation_id, opts)
247
+ p result
245
248
  rescue Late::ApiError => e
246
249
  puts "Error when calling CommentAutomationsApi->list_comment_automation_logs: #{e}"
247
250
  end
@@ -249,9 +252,9 @@ end
249
252
 
250
253
  #### Using the list_comment_automation_logs_with_http_info variant
251
254
 
252
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
255
+ This returns an Array which contains the response data, status code and headers.
253
256
 
254
- > <Array(nil, Integer, Hash)> list_comment_automation_logs_with_http_info(automation_id, opts)
257
+ > <Array(<ListCommentAutomationLogs200Response>, Integer, Hash)> list_comment_automation_logs_with_http_info(automation_id, opts)
255
258
 
256
259
  ```ruby
257
260
  begin
@@ -259,7 +262,7 @@ begin
259
262
  data, status_code, headers = api_instance.list_comment_automation_logs_with_http_info(automation_id, opts)
260
263
  p status_code # => 2xx
261
264
  p headers # => { ... }
262
- p data # => nil
265
+ p data # => <ListCommentAutomationLogs200Response>
263
266
  rescue Late::ApiError => e
264
267
  puts "Error when calling CommentAutomationsApi->list_comment_automation_logs_with_http_info: #{e}"
265
268
  end
@@ -276,7 +279,7 @@ end
276
279
 
277
280
  ### Return type
278
281
 
279
- nil (empty response body)
282
+ [**ListCommentAutomationLogs200Response**](ListCommentAutomationLogs200Response.md)
280
283
 
281
284
  ### Authorization
282
285
 
@@ -361,7 +364,7 @@ end
361
364
 
362
365
  ## update_comment_automation
363
366
 
364
- > update_comment_automation(automation_id, opts)
367
+ > <UpdateCommentAutomation200Response> update_comment_automation(automation_id, opts)
365
368
 
366
369
  Update automation settings
367
370
 
@@ -384,7 +387,8 @@ opts = {
384
387
 
385
388
  begin
386
389
  # Update automation settings
387
- api_instance.update_comment_automation(automation_id, opts)
390
+ result = api_instance.update_comment_automation(automation_id, opts)
391
+ p result
388
392
  rescue Late::ApiError => e
389
393
  puts "Error when calling CommentAutomationsApi->update_comment_automation: #{e}"
390
394
  end
@@ -392,9 +396,9 @@ end
392
396
 
393
397
  #### Using the update_comment_automation_with_http_info variant
394
398
 
395
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
399
+ This returns an Array which contains the response data, status code and headers.
396
400
 
397
- > <Array(nil, Integer, Hash)> update_comment_automation_with_http_info(automation_id, opts)
401
+ > <Array(<UpdateCommentAutomation200Response>, Integer, Hash)> update_comment_automation_with_http_info(automation_id, opts)
398
402
 
399
403
  ```ruby
400
404
  begin
@@ -402,7 +406,7 @@ begin
402
406
  data, status_code, headers = api_instance.update_comment_automation_with_http_info(automation_id, opts)
403
407
  p status_code # => 2xx
404
408
  p headers # => { ... }
405
- p data # => nil
409
+ p data # => <UpdateCommentAutomation200Response>
406
410
  rescue Late::ApiError => e
407
411
  puts "Error when calling CommentAutomationsApi->update_comment_automation_with_http_info: #{e}"
408
412
  end
@@ -417,7 +421,7 @@ end
417
421
 
418
422
  ### Return type
419
423
 
420
- nil (empty response body)
424
+ [**UpdateCommentAutomation200Response**](UpdateCommentAutomation200Response.md)
421
425
 
422
426
  ### Authorization
423
427
 
data/docs/ContactsApi.md CHANGED
@@ -15,7 +15,7 @@ All URIs are relative to *https://zernio.com/api*
15
15
 
16
16
  ## bulk_create_contacts
17
17
 
18
- > bulk_create_contacts(bulk_create_contacts_request)
18
+ > <BulkCreateContacts200Response> bulk_create_contacts(bulk_create_contacts_request)
19
19
 
20
20
  Bulk create contacts
21
21
 
@@ -37,7 +37,8 @@ bulk_create_contacts_request = Late::BulkCreateContactsRequest.new({profile_id:
37
37
 
38
38
  begin
39
39
  # Bulk create contacts
40
- api_instance.bulk_create_contacts(bulk_create_contacts_request)
40
+ result = api_instance.bulk_create_contacts(bulk_create_contacts_request)
41
+ p result
41
42
  rescue Late::ApiError => e
42
43
  puts "Error when calling ContactsApi->bulk_create_contacts: #{e}"
43
44
  end
@@ -45,9 +46,9 @@ end
45
46
 
46
47
  #### Using the bulk_create_contacts_with_http_info variant
47
48
 
48
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
49
+ This returns an Array which contains the response data, status code and headers.
49
50
 
50
- > <Array(nil, Integer, Hash)> bulk_create_contacts_with_http_info(bulk_create_contacts_request)
51
+ > <Array(<BulkCreateContacts200Response>, Integer, Hash)> bulk_create_contacts_with_http_info(bulk_create_contacts_request)
51
52
 
52
53
  ```ruby
53
54
  begin
@@ -55,7 +56,7 @@ begin
55
56
  data, status_code, headers = api_instance.bulk_create_contacts_with_http_info(bulk_create_contacts_request)
56
57
  p status_code # => 2xx
57
58
  p headers # => { ... }
58
- p data # => nil
59
+ p data # => <BulkCreateContacts200Response>
59
60
  rescue Late::ApiError => e
60
61
  puts "Error when calling ContactsApi->bulk_create_contacts_with_http_info: #{e}"
61
62
  end
@@ -69,7 +70,7 @@ end
69
70
 
70
71
  ### Return type
71
72
 
72
- nil (empty response body)
73
+ [**BulkCreateContacts200Response**](BulkCreateContacts200Response.md)
73
74
 
74
75
  ### Authorization
75
76
 
@@ -83,7 +84,7 @@ nil (empty response body)
83
84
 
84
85
  ## create_contact
85
86
 
86
- > create_contact(create_contact_request)
87
+ > <CreateContact200Response> create_contact(create_contact_request)
87
88
 
88
89
  Create a contact
89
90
 
@@ -105,7 +106,8 @@ create_contact_request = Late::CreateContactRequest.new({profile_id: 'profile_id
105
106
 
106
107
  begin
107
108
  # Create a contact
108
- api_instance.create_contact(create_contact_request)
109
+ result = api_instance.create_contact(create_contact_request)
110
+ p result
109
111
  rescue Late::ApiError => e
110
112
  puts "Error when calling ContactsApi->create_contact: #{e}"
111
113
  end
@@ -113,9 +115,9 @@ end
113
115
 
114
116
  #### Using the create_contact_with_http_info variant
115
117
 
116
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
118
+ This returns an Array which contains the response data, status code and headers.
117
119
 
118
- > <Array(nil, Integer, Hash)> create_contact_with_http_info(create_contact_request)
120
+ > <Array(<CreateContact200Response>, Integer, Hash)> create_contact_with_http_info(create_contact_request)
119
121
 
120
122
  ```ruby
121
123
  begin
@@ -123,7 +125,7 @@ begin
123
125
  data, status_code, headers = api_instance.create_contact_with_http_info(create_contact_request)
124
126
  p status_code # => 2xx
125
127
  p headers # => { ... }
126
- p data # => nil
128
+ p data # => <CreateContact200Response>
127
129
  rescue Late::ApiError => e
128
130
  puts "Error when calling ContactsApi->create_contact_with_http_info: #{e}"
129
131
  end
@@ -137,7 +139,7 @@ end
137
139
 
138
140
  ### Return type
139
141
 
140
- nil (empty response body)
142
+ [**CreateContact200Response**](CreateContact200Response.md)
141
143
 
142
144
  ### Authorization
143
145
 
@@ -217,7 +219,7 @@ nil (empty response body)
217
219
 
218
220
  ## get_contact
219
221
 
220
- > get_contact(contact_id)
222
+ > <GetContact200Response> get_contact(contact_id)
221
223
 
222
224
  Get contact with channels
223
225
 
@@ -237,7 +239,8 @@ contact_id = 'contact_id_example' # String |
237
239
 
238
240
  begin
239
241
  # Get contact with channels
240
- api_instance.get_contact(contact_id)
242
+ result = api_instance.get_contact(contact_id)
243
+ p result
241
244
  rescue Late::ApiError => e
242
245
  puts "Error when calling ContactsApi->get_contact: #{e}"
243
246
  end
@@ -245,9 +248,9 @@ end
245
248
 
246
249
  #### Using the get_contact_with_http_info variant
247
250
 
248
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
251
+ This returns an Array which contains the response data, status code and headers.
249
252
 
250
- > <Array(nil, Integer, Hash)> get_contact_with_http_info(contact_id)
253
+ > <Array(<GetContact200Response>, Integer, Hash)> get_contact_with_http_info(contact_id)
251
254
 
252
255
  ```ruby
253
256
  begin
@@ -255,7 +258,7 @@ begin
255
258
  data, status_code, headers = api_instance.get_contact_with_http_info(contact_id)
256
259
  p status_code # => 2xx
257
260
  p headers # => { ... }
258
- p data # => nil
261
+ p data # => <GetContact200Response>
259
262
  rescue Late::ApiError => e
260
263
  puts "Error when calling ContactsApi->get_contact_with_http_info: #{e}"
261
264
  end
@@ -269,7 +272,7 @@ end
269
272
 
270
273
  ### Return type
271
274
 
272
- nil (empty response body)
275
+ [**GetContact200Response**](GetContact200Response.md)
273
276
 
274
277
  ### Authorization
275
278
 
@@ -283,7 +286,7 @@ nil (empty response body)
283
286
 
284
287
  ## get_contact_channels
285
288
 
286
- > get_contact_channels(contact_id)
289
+ > <GetContactChannels200Response> get_contact_channels(contact_id)
287
290
 
288
291
  List channels for a contact
289
292
 
@@ -303,7 +306,8 @@ contact_id = 'contact_id_example' # String |
303
306
 
304
307
  begin
305
308
  # List channels for a contact
306
- api_instance.get_contact_channels(contact_id)
309
+ result = api_instance.get_contact_channels(contact_id)
310
+ p result
307
311
  rescue Late::ApiError => e
308
312
  puts "Error when calling ContactsApi->get_contact_channels: #{e}"
309
313
  end
@@ -311,9 +315,9 @@ end
311
315
 
312
316
  #### Using the get_contact_channels_with_http_info variant
313
317
 
314
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
318
+ This returns an Array which contains the response data, status code and headers.
315
319
 
316
- > <Array(nil, Integer, Hash)> get_contact_channels_with_http_info(contact_id)
320
+ > <Array(<GetContactChannels200Response>, Integer, Hash)> get_contact_channels_with_http_info(contact_id)
317
321
 
318
322
  ```ruby
319
323
  begin
@@ -321,7 +325,7 @@ begin
321
325
  data, status_code, headers = api_instance.get_contact_channels_with_http_info(contact_id)
322
326
  p status_code # => 2xx
323
327
  p headers # => { ... }
324
- p data # => nil
328
+ p data # => <GetContactChannels200Response>
325
329
  rescue Late::ApiError => e
326
330
  puts "Error when calling ContactsApi->get_contact_channels_with_http_info: #{e}"
327
331
  end
@@ -335,7 +339,7 @@ end
335
339
 
336
340
  ### Return type
337
341
 
338
- nil (empty response body)
342
+ [**GetContactChannels200Response**](GetContactChannels200Response.md)
339
343
 
340
344
  ### Authorization
341
345
 
@@ -349,7 +353,7 @@ nil (empty response body)
349
353
 
350
354
  ## list_contacts
351
355
 
352
- > list_contacts(opts)
356
+ > <ListContacts200Response> list_contacts(opts)
353
357
 
354
358
  List contacts
355
359
 
@@ -379,7 +383,8 @@ opts = {
379
383
 
380
384
  begin
381
385
  # List contacts
382
- api_instance.list_contacts(opts)
386
+ result = api_instance.list_contacts(opts)
387
+ p result
383
388
  rescue Late::ApiError => e
384
389
  puts "Error when calling ContactsApi->list_contacts: #{e}"
385
390
  end
@@ -387,9 +392,9 @@ end
387
392
 
388
393
  #### Using the list_contacts_with_http_info variant
389
394
 
390
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
395
+ This returns an Array which contains the response data, status code and headers.
391
396
 
392
- > <Array(nil, Integer, Hash)> list_contacts_with_http_info(opts)
397
+ > <Array(<ListContacts200Response>, Integer, Hash)> list_contacts_with_http_info(opts)
393
398
 
394
399
  ```ruby
395
400
  begin
@@ -397,7 +402,7 @@ begin
397
402
  data, status_code, headers = api_instance.list_contacts_with_http_info(opts)
398
403
  p status_code # => 2xx
399
404
  p headers # => { ... }
400
- p data # => nil
405
+ p data # => <ListContacts200Response>
401
406
  rescue Late::ApiError => e
402
407
  puts "Error when calling ContactsApi->list_contacts_with_http_info: #{e}"
403
408
  end
@@ -417,7 +422,7 @@ end
417
422
 
418
423
  ### Return type
419
424
 
420
- nil (empty response body)
425
+ [**ListContacts200Response**](ListContacts200Response.md)
421
426
 
422
427
  ### Authorization
423
428
 
@@ -431,7 +436,7 @@ nil (empty response body)
431
436
 
432
437
  ## update_contact
433
438
 
434
- > update_contact(contact_id, opts)
439
+ > <UpdateContact200Response> update_contact(contact_id, opts)
435
440
 
436
441
  Update a contact
437
442
 
@@ -454,7 +459,8 @@ opts = {
454
459
 
455
460
  begin
456
461
  # Update a contact
457
- api_instance.update_contact(contact_id, opts)
462
+ result = api_instance.update_contact(contact_id, opts)
463
+ p result
458
464
  rescue Late::ApiError => e
459
465
  puts "Error when calling ContactsApi->update_contact: #{e}"
460
466
  end
@@ -462,9 +468,9 @@ end
462
468
 
463
469
  #### Using the update_contact_with_http_info variant
464
470
 
465
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
471
+ This returns an Array which contains the response data, status code and headers.
466
472
 
467
- > <Array(nil, Integer, Hash)> update_contact_with_http_info(contact_id, opts)
473
+ > <Array(<UpdateContact200Response>, Integer, Hash)> update_contact_with_http_info(contact_id, opts)
468
474
 
469
475
  ```ruby
470
476
  begin
@@ -472,7 +478,7 @@ begin
472
478
  data, status_code, headers = api_instance.update_contact_with_http_info(contact_id, opts)
473
479
  p status_code # => 2xx
474
480
  p headers # => { ... }
475
- p data # => nil
481
+ p data # => <UpdateContact200Response>
476
482
  rescue Late::ApiError => e
477
483
  puts "Error when calling ContactsApi->update_contact_with_http_info: #{e}"
478
484
  end
@@ -487,7 +493,7 @@ end
487
493
 
488
494
  ### Return type
489
495
 
490
- nil (empty response body)
496
+ [**UpdateContact200Response**](UpdateContact200Response.md)
491
497
 
492
498
  ### Authorization
493
499
 
@@ -0,0 +1,20 @@
1
+ # Late::CreateCommentAutomation200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **automation** | [**CreateCommentAutomation200ResponseAutomation**](CreateCommentAutomation200ResponseAutomation.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::CreateCommentAutomation200Response.new(
16
+ success: null,
17
+ automation: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,38 @@
1
+ # Late::CreateCommentAutomation200ResponseAutomation
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **platform** | **String** | | [optional] |
10
+ | **platform_post_id** | **String** | | [optional] |
11
+ | **keywords** | **Array&lt;String&gt;** | | [optional] |
12
+ | **match_mode** | **String** | | [optional] |
13
+ | **dm_message** | **String** | | [optional] |
14
+ | **comment_reply** | **String** | | [optional] |
15
+ | **is_active** | **Boolean** | | [optional] |
16
+ | **stats** | [**CreateCommentAutomation200ResponseAutomationStats**](CreateCommentAutomation200ResponseAutomationStats.md) | | [optional] |
17
+ | **created_at** | **Time** | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'late-sdk'
23
+
24
+ instance = Late::CreateCommentAutomation200ResponseAutomation.new(
25
+ id: null,
26
+ name: null,
27
+ platform: null,
28
+ platform_post_id: null,
29
+ keywords: null,
30
+ match_mode: null,
31
+ dm_message: null,
32
+ comment_reply: null,
33
+ is_active: null,
34
+ stats: null,
35
+ created_at: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,22 @@
1
+ # Late::CreateCommentAutomation200ResponseAutomationStats
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **total_triggered** | **Integer** | | [optional] |
8
+ | **total_sent** | **Integer** | | [optional] |
9
+ | **total_failed** | **Integer** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'late-sdk'
15
+
16
+ instance = Late::CreateCommentAutomation200ResponseAutomationStats.new(
17
+ total_triggered: null,
18
+ total_sent: null,
19
+ total_failed: null
20
+ )
21
+ ```
22
+