late-sdk 0.0.67 → 0.0.69

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 (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -0
  3. data/docs/AddBroadcastRecipientsRequest.md +20 -0
  4. data/docs/BroadcastsApi.md +699 -0
  5. data/docs/BulkCreateContactsRequest.md +24 -0
  6. data/docs/BulkCreateContactsRequestContactsInner.md +28 -0
  7. data/docs/CommentAutomationsApi.md +428 -0
  8. data/docs/ContactsApi.md +500 -0
  9. data/docs/CreateBroadcastRequest.md +32 -0
  10. data/docs/CreateBroadcastRequestMessage.md +20 -0
  11. data/docs/CreateBroadcastRequestMessageAttachmentsInner.md +22 -0
  12. data/docs/CreateBroadcastRequestSegmentFilters.md +20 -0
  13. data/docs/CreateBroadcastRequestTemplate.md +22 -0
  14. data/docs/CreateCommentAutomationRequest.md +36 -0
  15. data/docs/CreateContactRequest.md +38 -0
  16. data/docs/CreateCustomFieldRequest.md +26 -0
  17. data/docs/CreateSequenceRequest.md +32 -0
  18. data/docs/CreateSequenceRequestStepsInner.md +24 -0
  19. data/docs/CreateSequenceRequestStepsInnerMessage.md +18 -0
  20. data/docs/CustomFieldsApi.md +419 -0
  21. data/docs/EnrollContactsRequest.md +20 -0
  22. data/docs/ListCommentAutomations200Response.md +20 -0
  23. data/docs/ListCommentAutomations200ResponseAutomationsInner.md +42 -0
  24. data/docs/ListCommentAutomations200ResponseAutomationsInnerStats.md +24 -0
  25. data/docs/ScheduleBroadcastRequest.md +18 -0
  26. data/docs/SequencesApi.md +697 -0
  27. data/docs/SetContactFieldValueRequest.md +18 -0
  28. data/docs/TwitterPlatformData.md +3 -1
  29. data/docs/TwitterPlatformDataPoll.md +20 -0
  30. data/docs/UpdateCommentAutomationRequest.md +28 -0
  31. data/docs/UpdateContactRequest.md +32 -0
  32. data/docs/UpdateCustomFieldRequest.md +20 -0
  33. data/docs/WhatsAppApi.md +25 -25
  34. data/lib/late-sdk/api/broadcasts_api.rb +689 -0
  35. data/lib/late-sdk/api/comment_automations_api.rb +420 -0
  36. data/lib/late-sdk/api/contacts_api.rb +503 -0
  37. data/lib/late-sdk/api/custom_fields_api.rb +424 -0
  38. data/lib/late-sdk/api/sequences_api.rb +681 -0
  39. data/lib/late-sdk/api/whats_app_api.rb +50 -50
  40. data/lib/late-sdk/models/add_broadcast_recipients_request.rb +160 -0
  41. data/lib/late-sdk/models/bulk_create_contacts_request.rb +253 -0
  42. data/lib/late-sdk/models/bulk_create_contacts_request_contacts_inner.rb +228 -0
  43. data/lib/late-sdk/models/create_broadcast_request.rb +302 -0
  44. data/lib/late-sdk/models/create_broadcast_request_message.rb +158 -0
  45. data/lib/late-sdk/models/create_broadcast_request_message_attachments_inner.rb +165 -0
  46. data/lib/late-sdk/models/create_broadcast_request_segment_filters.rb +158 -0
  47. data/lib/late-sdk/models/create_broadcast_request_template.rb +168 -0
  48. data/lib/late-sdk/models/create_comment_automation_request.rb +359 -0
  49. data/lib/late-sdk/models/create_contact_request.rb +276 -0
  50. data/lib/late-sdk/models/create_custom_field_request.rb +262 -0
  51. data/lib/late-sdk/models/create_sequence_request.rb +308 -0
  52. data/lib/late-sdk/models/create_sequence_request_steps_inner.rb +208 -0
  53. data/lib/late-sdk/models/create_sequence_request_steps_inner_message.rb +147 -0
  54. data/lib/late-sdk/models/enroll_contacts_request.rb +178 -0
  55. data/lib/late-sdk/models/list_comment_automations200_response.rb +158 -0
  56. data/lib/late-sdk/models/list_comment_automations200_response_automations_inner.rb +303 -0
  57. data/lib/late-sdk/models/list_comment_automations200_response_automations_inner_stats.rb +174 -0
  58. data/lib/late-sdk/models/schedule_broadcast_request.rb +164 -0
  59. data/lib/late-sdk/models/set_contact_field_value_request.rb +150 -0
  60. data/lib/late-sdk/models/twitter_platform_data.rb +13 -4
  61. data/lib/late-sdk/models/twitter_platform_data_poll.rb +231 -0
  62. data/lib/late-sdk/models/update_comment_automation_request.rb +228 -0
  63. data/lib/late-sdk/models/update_contact_request.rb +212 -0
  64. data/lib/late-sdk/models/update_custom_field_request.rb +158 -0
  65. data/lib/late-sdk/version.rb +1 -1
  66. data/lib/late-sdk.rb +29 -0
  67. data/openapi.yaml +830 -13
  68. data/spec/api/broadcasts_api_spec.rb +154 -0
  69. data/spec/api/comment_automations_api_spec.rb +108 -0
  70. data/spec/api/contacts_api_spec.rb +122 -0
  71. data/spec/api/custom_fields_api_spec.rb +105 -0
  72. data/spec/api/sequences_api_spec.rb +153 -0
  73. data/spec/api/whats_app_api_spec.rb +25 -25
  74. data/spec/models/add_broadcast_recipients_request_spec.rb +42 -0
  75. data/spec/models/bulk_create_contacts_request_contacts_inner_spec.rb +66 -0
  76. data/spec/models/bulk_create_contacts_request_spec.rb +54 -0
  77. data/spec/models/create_broadcast_request_message_attachments_inner_spec.rb +48 -0
  78. data/spec/models/create_broadcast_request_message_spec.rb +42 -0
  79. data/spec/models/create_broadcast_request_segment_filters_spec.rb +42 -0
  80. data/spec/models/create_broadcast_request_spec.rb +82 -0
  81. data/spec/models/create_broadcast_request_template_spec.rb +48 -0
  82. data/spec/models/create_comment_automation_request_spec.rb +94 -0
  83. data/spec/models/create_contact_request_spec.rb +96 -0
  84. data/spec/models/create_custom_field_request_spec.rb +64 -0
  85. data/spec/models/create_sequence_request_spec.rb +82 -0
  86. data/spec/models/create_sequence_request_steps_inner_message_spec.rb +36 -0
  87. data/spec/models/create_sequence_request_steps_inner_spec.rb +54 -0
  88. data/spec/models/enroll_contacts_request_spec.rb +42 -0
  89. data/spec/models/list_comment_automations200_response_automations_inner_spec.rb +116 -0
  90. data/spec/models/list_comment_automations200_response_automations_inner_stats_spec.rb +54 -0
  91. data/spec/models/list_comment_automations200_response_spec.rb +42 -0
  92. data/spec/models/schedule_broadcast_request_spec.rb +36 -0
  93. data/spec/models/set_contact_field_value_request_spec.rb +36 -0
  94. data/spec/models/twitter_platform_data_poll_spec.rb +42 -0
  95. data/spec/models/twitter_platform_data_spec.rb +6 -0
  96. data/spec/models/update_comment_automation_request_spec.rb +70 -0
  97. data/spec/models/update_contact_request_spec.rb +78 -0
  98. data/spec/models/update_custom_field_request_spec.rb +42 -0
  99. data/zernio-sdk-0.0.69.gem +0 -0
  100. metadata +118 -2
  101. data/zernio-sdk-0.0.67.gem +0 -0
@@ -0,0 +1,500 @@
1
+ # Late::ContactsApi
2
+
3
+ All URIs are relative to *https://zernio.com/api*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**bulk_create_contacts**](ContactsApi.md#bulk_create_contacts) | **POST** /v1/contacts/bulk | Bulk create contacts |
8
+ | [**create_contact**](ContactsApi.md#create_contact) | **POST** /v1/contacts | Create a contact |
9
+ | [**delete_contact**](ContactsApi.md#delete_contact) | **DELETE** /v1/contacts/{contactId} | Delete a contact |
10
+ | [**get_contact**](ContactsApi.md#get_contact) | **GET** /v1/contacts/{contactId} | Get contact with channels |
11
+ | [**get_contact_channels**](ContactsApi.md#get_contact_channels) | **GET** /v1/contacts/{contactId}/channels | List channels for a contact |
12
+ | [**list_contacts**](ContactsApi.md#list_contacts) | **GET** /v1/contacts | List contacts |
13
+ | [**update_contact**](ContactsApi.md#update_contact) | **PATCH** /v1/contacts/{contactId} | Update a contact |
14
+
15
+
16
+ ## bulk_create_contacts
17
+
18
+ > bulk_create_contacts(bulk_create_contacts_request)
19
+
20
+ Bulk create contacts
21
+
22
+ Import up to 1000 contacts at a time. Skips duplicates.
23
+
24
+ ### Examples
25
+
26
+ ```ruby
27
+ require 'time'
28
+ require 'late-sdk'
29
+ # setup authorization
30
+ Late.configure do |config|
31
+ # Configure Bearer authorization (JWT): bearerAuth
32
+ config.access_token = 'YOUR_BEARER_TOKEN'
33
+ end
34
+
35
+ api_instance = Late::ContactsApi.new
36
+ bulk_create_contacts_request = Late::BulkCreateContactsRequest.new({profile_id: 'profile_id_example', account_id: 'account_id_example', platform: 'platform_example', contacts: [Late::BulkCreateContactsRequestContactsInner.new({name: 'name_example', platform_identifier: 'platform_identifier_example'})]}) # BulkCreateContactsRequest |
37
+
38
+ begin
39
+ # Bulk create contacts
40
+ api_instance.bulk_create_contacts(bulk_create_contacts_request)
41
+ rescue Late::ApiError => e
42
+ puts "Error when calling ContactsApi->bulk_create_contacts: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the bulk_create_contacts_with_http_info variant
47
+
48
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
49
+
50
+ > <Array(nil, Integer, Hash)> bulk_create_contacts_with_http_info(bulk_create_contacts_request)
51
+
52
+ ```ruby
53
+ begin
54
+ # Bulk create contacts
55
+ data, status_code, headers = api_instance.bulk_create_contacts_with_http_info(bulk_create_contacts_request)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => nil
59
+ rescue Late::ApiError => e
60
+ puts "Error when calling ContactsApi->bulk_create_contacts_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **bulk_create_contacts_request** | [**BulkCreateContactsRequest**](BulkCreateContactsRequest.md) | | |
69
+
70
+ ### Return type
71
+
72
+ nil (empty response body)
73
+
74
+ ### Authorization
75
+
76
+ [bearerAuth](../README.md#bearerAuth)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: application/json
81
+ - **Accept**: application/json
82
+
83
+
84
+ ## create_contact
85
+
86
+ > create_contact(create_contact_request)
87
+
88
+ Create a contact
89
+
90
+ Create a new contact. Optionally create a platform channel in the same request by providing accountId, platform, and platformIdentifier.
91
+
92
+ ### Examples
93
+
94
+ ```ruby
95
+ require 'time'
96
+ require 'late-sdk'
97
+ # setup authorization
98
+ Late.configure do |config|
99
+ # Configure Bearer authorization (JWT): bearerAuth
100
+ config.access_token = 'YOUR_BEARER_TOKEN'
101
+ end
102
+
103
+ api_instance = Late::ContactsApi.new
104
+ create_contact_request = Late::CreateContactRequest.new({profile_id: 'profile_id_example', name: 'name_example'}) # CreateContactRequest |
105
+
106
+ begin
107
+ # Create a contact
108
+ api_instance.create_contact(create_contact_request)
109
+ rescue Late::ApiError => e
110
+ puts "Error when calling ContactsApi->create_contact: #{e}"
111
+ end
112
+ ```
113
+
114
+ #### Using the create_contact_with_http_info variant
115
+
116
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
117
+
118
+ > <Array(nil, Integer, Hash)> create_contact_with_http_info(create_contact_request)
119
+
120
+ ```ruby
121
+ begin
122
+ # Create a contact
123
+ data, status_code, headers = api_instance.create_contact_with_http_info(create_contact_request)
124
+ p status_code # => 2xx
125
+ p headers # => { ... }
126
+ p data # => nil
127
+ rescue Late::ApiError => e
128
+ puts "Error when calling ContactsApi->create_contact_with_http_info: #{e}"
129
+ end
130
+ ```
131
+
132
+ ### Parameters
133
+
134
+ | Name | Type | Description | Notes |
135
+ | ---- | ---- | ----------- | ----- |
136
+ | **create_contact_request** | [**CreateContactRequest**](CreateContactRequest.md) | | |
137
+
138
+ ### Return type
139
+
140
+ nil (empty response body)
141
+
142
+ ### Authorization
143
+
144
+ [bearerAuth](../README.md#bearerAuth)
145
+
146
+ ### HTTP request headers
147
+
148
+ - **Content-Type**: application/json
149
+ - **Accept**: application/json
150
+
151
+
152
+ ## delete_contact
153
+
154
+ > delete_contact(contact_id)
155
+
156
+ Delete a contact
157
+
158
+ ### Examples
159
+
160
+ ```ruby
161
+ require 'time'
162
+ require 'late-sdk'
163
+ # setup authorization
164
+ Late.configure do |config|
165
+ # Configure Bearer authorization (JWT): bearerAuth
166
+ config.access_token = 'YOUR_BEARER_TOKEN'
167
+ end
168
+
169
+ api_instance = Late::ContactsApi.new
170
+ contact_id = 'contact_id_example' # String |
171
+
172
+ begin
173
+ # Delete a contact
174
+ api_instance.delete_contact(contact_id)
175
+ rescue Late::ApiError => e
176
+ puts "Error when calling ContactsApi->delete_contact: #{e}"
177
+ end
178
+ ```
179
+
180
+ #### Using the delete_contact_with_http_info variant
181
+
182
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
183
+
184
+ > <Array(nil, Integer, Hash)> delete_contact_with_http_info(contact_id)
185
+
186
+ ```ruby
187
+ begin
188
+ # Delete a contact
189
+ data, status_code, headers = api_instance.delete_contact_with_http_info(contact_id)
190
+ p status_code # => 2xx
191
+ p headers # => { ... }
192
+ p data # => nil
193
+ rescue Late::ApiError => e
194
+ puts "Error when calling ContactsApi->delete_contact_with_http_info: #{e}"
195
+ end
196
+ ```
197
+
198
+ ### Parameters
199
+
200
+ | Name | Type | Description | Notes |
201
+ | ---- | ---- | ----------- | ----- |
202
+ | **contact_id** | **String** | | |
203
+
204
+ ### Return type
205
+
206
+ nil (empty response body)
207
+
208
+ ### Authorization
209
+
210
+ [bearerAuth](../README.md#bearerAuth)
211
+
212
+ ### HTTP request headers
213
+
214
+ - **Content-Type**: Not defined
215
+ - **Accept**: application/json
216
+
217
+
218
+ ## get_contact
219
+
220
+ > get_contact(contact_id)
221
+
222
+ Get contact with channels
223
+
224
+ ### Examples
225
+
226
+ ```ruby
227
+ require 'time'
228
+ require 'late-sdk'
229
+ # setup authorization
230
+ Late.configure do |config|
231
+ # Configure Bearer authorization (JWT): bearerAuth
232
+ config.access_token = 'YOUR_BEARER_TOKEN'
233
+ end
234
+
235
+ api_instance = Late::ContactsApi.new
236
+ contact_id = 'contact_id_example' # String |
237
+
238
+ begin
239
+ # Get contact with channels
240
+ api_instance.get_contact(contact_id)
241
+ rescue Late::ApiError => e
242
+ puts "Error when calling ContactsApi->get_contact: #{e}"
243
+ end
244
+ ```
245
+
246
+ #### Using the get_contact_with_http_info variant
247
+
248
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
249
+
250
+ > <Array(nil, Integer, Hash)> get_contact_with_http_info(contact_id)
251
+
252
+ ```ruby
253
+ begin
254
+ # Get contact with channels
255
+ data, status_code, headers = api_instance.get_contact_with_http_info(contact_id)
256
+ p status_code # => 2xx
257
+ p headers # => { ... }
258
+ p data # => nil
259
+ rescue Late::ApiError => e
260
+ puts "Error when calling ContactsApi->get_contact_with_http_info: #{e}"
261
+ end
262
+ ```
263
+
264
+ ### Parameters
265
+
266
+ | Name | Type | Description | Notes |
267
+ | ---- | ---- | ----------- | ----- |
268
+ | **contact_id** | **String** | | |
269
+
270
+ ### Return type
271
+
272
+ nil (empty response body)
273
+
274
+ ### Authorization
275
+
276
+ [bearerAuth](../README.md#bearerAuth)
277
+
278
+ ### HTTP request headers
279
+
280
+ - **Content-Type**: Not defined
281
+ - **Accept**: application/json
282
+
283
+
284
+ ## get_contact_channels
285
+
286
+ > get_contact_channels(contact_id)
287
+
288
+ List channels for a contact
289
+
290
+ ### Examples
291
+
292
+ ```ruby
293
+ require 'time'
294
+ require 'late-sdk'
295
+ # setup authorization
296
+ Late.configure do |config|
297
+ # Configure Bearer authorization (JWT): bearerAuth
298
+ config.access_token = 'YOUR_BEARER_TOKEN'
299
+ end
300
+
301
+ api_instance = Late::ContactsApi.new
302
+ contact_id = 'contact_id_example' # String |
303
+
304
+ begin
305
+ # List channels for a contact
306
+ api_instance.get_contact_channels(contact_id)
307
+ rescue Late::ApiError => e
308
+ puts "Error when calling ContactsApi->get_contact_channels: #{e}"
309
+ end
310
+ ```
311
+
312
+ #### Using the get_contact_channels_with_http_info variant
313
+
314
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
315
+
316
+ > <Array(nil, Integer, Hash)> get_contact_channels_with_http_info(contact_id)
317
+
318
+ ```ruby
319
+ begin
320
+ # List channels for a contact
321
+ data, status_code, headers = api_instance.get_contact_channels_with_http_info(contact_id)
322
+ p status_code # => 2xx
323
+ p headers # => { ... }
324
+ p data # => nil
325
+ rescue Late::ApiError => e
326
+ puts "Error when calling ContactsApi->get_contact_channels_with_http_info: #{e}"
327
+ end
328
+ ```
329
+
330
+ ### Parameters
331
+
332
+ | Name | Type | Description | Notes |
333
+ | ---- | ---- | ----------- | ----- |
334
+ | **contact_id** | **String** | | |
335
+
336
+ ### Return type
337
+
338
+ nil (empty response body)
339
+
340
+ ### Authorization
341
+
342
+ [bearerAuth](../README.md#bearerAuth)
343
+
344
+ ### HTTP request headers
345
+
346
+ - **Content-Type**: Not defined
347
+ - **Accept**: application/json
348
+
349
+
350
+ ## list_contacts
351
+
352
+ > list_contacts(profile_id, opts)
353
+
354
+ List contacts
355
+
356
+ List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and full-text search.
357
+
358
+ ### Examples
359
+
360
+ ```ruby
361
+ require 'time'
362
+ require 'late-sdk'
363
+ # setup authorization
364
+ Late.configure do |config|
365
+ # Configure Bearer authorization (JWT): bearerAuth
366
+ config.access_token = 'YOUR_BEARER_TOKEN'
367
+ end
368
+
369
+ api_instance = Late::ContactsApi.new
370
+ profile_id = 'profile_id_example' # String |
371
+ opts = {
372
+ search: 'search_example', # String |
373
+ tag: 'tag_example', # String |
374
+ platform: 'instagram', # String |
375
+ is_subscribed: 'true', # String |
376
+ limit: 56, # Integer |
377
+ skip: 56 # Integer |
378
+ }
379
+
380
+ begin
381
+ # List contacts
382
+ api_instance.list_contacts(profile_id, opts)
383
+ rescue Late::ApiError => e
384
+ puts "Error when calling ContactsApi->list_contacts: #{e}"
385
+ end
386
+ ```
387
+
388
+ #### Using the list_contacts_with_http_info variant
389
+
390
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
391
+
392
+ > <Array(nil, Integer, Hash)> list_contacts_with_http_info(profile_id, opts)
393
+
394
+ ```ruby
395
+ begin
396
+ # List contacts
397
+ data, status_code, headers = api_instance.list_contacts_with_http_info(profile_id, opts)
398
+ p status_code # => 2xx
399
+ p headers # => { ... }
400
+ p data # => nil
401
+ rescue Late::ApiError => e
402
+ puts "Error when calling ContactsApi->list_contacts_with_http_info: #{e}"
403
+ end
404
+ ```
405
+
406
+ ### Parameters
407
+
408
+ | Name | Type | Description | Notes |
409
+ | ---- | ---- | ----------- | ----- |
410
+ | **profile_id** | **String** | | |
411
+ | **search** | **String** | | [optional] |
412
+ | **tag** | **String** | | [optional] |
413
+ | **platform** | **String** | | [optional] |
414
+ | **is_subscribed** | **String** | | [optional] |
415
+ | **limit** | **Integer** | | [optional][default to 50] |
416
+ | **skip** | **Integer** | | [optional][default to 0] |
417
+
418
+ ### Return type
419
+
420
+ nil (empty response body)
421
+
422
+ ### Authorization
423
+
424
+ [bearerAuth](../README.md#bearerAuth)
425
+
426
+ ### HTTP request headers
427
+
428
+ - **Content-Type**: Not defined
429
+ - **Accept**: application/json
430
+
431
+
432
+ ## update_contact
433
+
434
+ > update_contact(contact_id, opts)
435
+
436
+ Update a contact
437
+
438
+ ### Examples
439
+
440
+ ```ruby
441
+ require 'time'
442
+ require 'late-sdk'
443
+ # setup authorization
444
+ Late.configure do |config|
445
+ # Configure Bearer authorization (JWT): bearerAuth
446
+ config.access_token = 'YOUR_BEARER_TOKEN'
447
+ end
448
+
449
+ api_instance = Late::ContactsApi.new
450
+ contact_id = 'contact_id_example' # String |
451
+ opts = {
452
+ update_contact_request: Late::UpdateContactRequest.new # UpdateContactRequest |
453
+ }
454
+
455
+ begin
456
+ # Update a contact
457
+ api_instance.update_contact(contact_id, opts)
458
+ rescue Late::ApiError => e
459
+ puts "Error when calling ContactsApi->update_contact: #{e}"
460
+ end
461
+ ```
462
+
463
+ #### Using the update_contact_with_http_info variant
464
+
465
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
466
+
467
+ > <Array(nil, Integer, Hash)> update_contact_with_http_info(contact_id, opts)
468
+
469
+ ```ruby
470
+ begin
471
+ # Update a contact
472
+ data, status_code, headers = api_instance.update_contact_with_http_info(contact_id, opts)
473
+ p status_code # => 2xx
474
+ p headers # => { ... }
475
+ p data # => nil
476
+ rescue Late::ApiError => e
477
+ puts "Error when calling ContactsApi->update_contact_with_http_info: #{e}"
478
+ end
479
+ ```
480
+
481
+ ### Parameters
482
+
483
+ | Name | Type | Description | Notes |
484
+ | ---- | ---- | ----------- | ----- |
485
+ | **contact_id** | **String** | | |
486
+ | **update_contact_request** | [**UpdateContactRequest**](UpdateContactRequest.md) | | [optional] |
487
+
488
+ ### Return type
489
+
490
+ nil (empty response body)
491
+
492
+ ### Authorization
493
+
494
+ [bearerAuth](../README.md#bearerAuth)
495
+
496
+ ### HTTP request headers
497
+
498
+ - **Content-Type**: application/json
499
+ - **Accept**: application/json
500
+
@@ -0,0 +1,32 @@
1
+ # Late::CreateBroadcastRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **profile_id** | **String** | | |
8
+ | **account_id** | **String** | | |
9
+ | **platform** | **String** | | |
10
+ | **name** | **String** | | |
11
+ | **description** | **String** | | [optional] |
12
+ | **message** | [**CreateBroadcastRequestMessage**](CreateBroadcastRequestMessage.md) | | [optional] |
13
+ | **template** | [**CreateBroadcastRequestTemplate**](CreateBroadcastRequestTemplate.md) | | [optional] |
14
+ | **segment_filters** | [**CreateBroadcastRequestSegmentFilters**](CreateBroadcastRequestSegmentFilters.md) | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'late-sdk'
20
+
21
+ instance = Late::CreateBroadcastRequest.new(
22
+ profile_id: null,
23
+ account_id: null,
24
+ platform: null,
25
+ name: null,
26
+ description: null,
27
+ message: null,
28
+ template: null,
29
+ segment_filters: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,20 @@
1
+ # Late::CreateBroadcastRequestMessage
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **text** | **String** | | [optional] |
8
+ | **attachments** | [**Array&lt;CreateBroadcastRequestMessageAttachmentsInner&gt;**](CreateBroadcastRequestMessageAttachmentsInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::CreateBroadcastRequestMessage.new(
16
+ text: null,
17
+ attachments: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # Late::CreateBroadcastRequestMessageAttachmentsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | | [optional] |
8
+ | **url** | **String** | | [optional] |
9
+ | **filename** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'late-sdk'
15
+
16
+ instance = Late::CreateBroadcastRequestMessageAttachmentsInner.new(
17
+ type: null,
18
+ url: null,
19
+ filename: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # Late::CreateBroadcastRequestSegmentFilters
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **tags** | **Array&lt;String&gt;** | | [optional] |
8
+ | **is_subscribed** | **Boolean** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::CreateBroadcastRequestSegmentFilters.new(
16
+ tags: null,
17
+ is_subscribed: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # Late::CreateBroadcastRequestTemplate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+ | **language** | **String** | | [optional] |
9
+ | **components** | **Array&lt;Object&gt;** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'late-sdk'
15
+
16
+ instance = Late::CreateBroadcastRequestTemplate.new(
17
+ name: null,
18
+ language: null,
19
+ components: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,36 @@
1
+ # Late::CreateCommentAutomationRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **profile_id** | **String** | | |
8
+ | **account_id** | **String** | Instagram or Facebook account ID | |
9
+ | **platform_post_id** | **String** | Platform media/post ID | |
10
+ | **post_id** | **String** | Zernio post ID (optional) | [optional] |
11
+ | **post_title** | **String** | Post content snippet for display | [optional] |
12
+ | **name** | **String** | Automation label | |
13
+ | **keywords** | **Array&lt;String&gt;** | Trigger keywords (empty &#x3D; any comment triggers) | [optional] |
14
+ | **match_mode** | **String** | | [optional][default to &#39;contains&#39;] |
15
+ | **dm_message** | **String** | DM text to send to commenter | |
16
+ | **comment_reply** | **String** | Optional public reply to the comment | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'late-sdk'
22
+
23
+ instance = Late::CreateCommentAutomationRequest.new(
24
+ profile_id: null,
25
+ account_id: null,
26
+ platform_post_id: null,
27
+ post_id: null,
28
+ post_title: null,
29
+ name: null,
30
+ keywords: null,
31
+ match_mode: null,
32
+ dm_message: null,
33
+ comment_reply: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,38 @@
1
+ # Late::CreateContactRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **profile_id** | **String** | | |
8
+ | **name** | **String** | | |
9
+ | **email** | **String** | | [optional] |
10
+ | **company** | **String** | | [optional] |
11
+ | **tags** | **Array&lt;String&gt;** | | [optional] |
12
+ | **is_subscribed** | **Boolean** | | [optional][default to true] |
13
+ | **notes** | **String** | | [optional] |
14
+ | **account_id** | **String** | Optional. Creates a channel if provided with platform + platformIdentifier | [optional] |
15
+ | **platform** | **String** | | [optional] |
16
+ | **platform_identifier** | **String** | | [optional] |
17
+ | **display_identifier** | **String** | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'late-sdk'
23
+
24
+ instance = Late::CreateContactRequest.new(
25
+ profile_id: null,
26
+ name: null,
27
+ email: null,
28
+ company: null,
29
+ tags: null,
30
+ is_subscribed: null,
31
+ notes: null,
32
+ account_id: null,
33
+ platform: null,
34
+ platform_identifier: null,
35
+ display_identifier: null
36
+ )
37
+ ```
38
+