late-sdk 0.0.78 → 0.0.80

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 (106) 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/ThreadsPlatformData.md +2 -0
  30. data/docs/UpdateCommentAutomation200Response.md +20 -0
  31. data/docs/UpdateCommentAutomation200ResponseAutomation.md +32 -0
  32. data/docs/UpdateContact200Response.md +20 -0
  33. data/docs/UpdateContact200ResponseContact.md +36 -0
  34. data/docs/UpdateCustomField200Response.md +20 -0
  35. data/docs/UpdateCustomField200ResponseField.md +26 -0
  36. data/lib/late-sdk/api/comment_automations_api.rb +20 -20
  37. data/lib/late-sdk/api/contacts_api.rb +30 -30
  38. data/lib/late-sdk/api/custom_fields_api.rb +15 -15
  39. data/lib/late-sdk/models/bulk_create_contacts200_response.rb +185 -0
  40. data/lib/late-sdk/models/create_comment_automation200_response.rb +156 -0
  41. data/lib/late-sdk/models/create_comment_automation200_response_automation.rb +273 -0
  42. data/lib/late-sdk/models/create_comment_automation200_response_automation_stats.rb +165 -0
  43. data/lib/late-sdk/models/create_contact200_response.rb +174 -0
  44. data/lib/late-sdk/models/create_contact200_response_channel.rb +175 -0
  45. data/lib/late-sdk/models/create_contact200_response_contact.rb +230 -0
  46. data/lib/late-sdk/models/create_custom_field200_response.rb +156 -0
  47. data/lib/late-sdk/models/get_broadcast200_response_broadcast.rb +1 -1
  48. data/lib/late-sdk/models/get_comment_automation200_response.rb +167 -0
  49. data/lib/late-sdk/models/get_comment_automation200_response_automation.rb +309 -0
  50. data/lib/late-sdk/models/get_comment_automation200_response_logs_inner.rb +244 -0
  51. data/lib/late-sdk/models/get_contact200_response.rb +167 -0
  52. data/lib/late-sdk/models/get_contact200_response_channels_inner.rb +210 -0
  53. data/lib/late-sdk/models/get_contact200_response_contact.rb +259 -0
  54. data/lib/late-sdk/models/get_contact_channels200_response.rb +158 -0
  55. data/lib/late-sdk/models/get_contact_channels200_response_channels_inner.rb +219 -0
  56. data/lib/late-sdk/models/list_comment_automation_logs200_response.rb +167 -0
  57. data/lib/late-sdk/models/list_contacts200_response.rb +176 -0
  58. data/lib/late-sdk/models/list_contacts200_response_contacts_inner.rb +302 -0
  59. data/lib/late-sdk/models/{get_broadcast200_response_broadcast_segment_filters.rb → list_contacts200_response_filters.rb} +3 -3
  60. data/lib/late-sdk/models/list_custom_fields200_response.rb +158 -0
  61. data/lib/late-sdk/models/list_custom_fields200_response_fields_inner.rb +228 -0
  62. data/lib/late-sdk/models/threads_platform_data.rb +39 -1
  63. data/lib/late-sdk/models/update_comment_automation200_response.rb +156 -0
  64. data/lib/late-sdk/models/update_comment_automation200_response_automation.rb +246 -0
  65. data/lib/late-sdk/models/update_contact200_response.rb +156 -0
  66. data/lib/late-sdk/models/update_contact200_response_contact.rb +230 -0
  67. data/lib/late-sdk/models/update_custom_field200_response.rb +156 -0
  68. data/lib/late-sdk/models/update_custom_field200_response_field.rb +185 -0
  69. data/lib/late-sdk/version.rb +1 -1
  70. data/lib/late-sdk.rb +28 -1
  71. data/openapi.yaml +329 -13
  72. data/spec/api/comment_automations_api_spec.rb +4 -4
  73. data/spec/api/contacts_api_spec.rb +6 -6
  74. data/spec/api/custom_fields_api_spec.rb +3 -3
  75. data/spec/models/bulk_create_contacts200_response_spec.rb +60 -0
  76. data/spec/models/create_comment_automation200_response_automation_spec.rb +100 -0
  77. data/spec/models/create_comment_automation200_response_automation_stats_spec.rb +48 -0
  78. data/spec/models/create_comment_automation200_response_spec.rb +42 -0
  79. data/spec/models/create_contact200_response_channel_spec.rb +54 -0
  80. data/spec/models/create_contact200_response_contact_spec.rb +90 -0
  81. data/spec/models/create_contact200_response_spec.rb +54 -0
  82. data/spec/models/create_custom_field200_response_spec.rb +42 -0
  83. data/spec/models/get_comment_automation200_response_automation_spec.rb +124 -0
  84. data/spec/models/get_comment_automation200_response_logs_inner_spec.rb +82 -0
  85. data/spec/models/get_comment_automation200_response_spec.rb +48 -0
  86. data/spec/models/get_contact200_response_channels_inner_spec.rb +78 -0
  87. data/spec/models/get_contact200_response_contact_spec.rb +108 -0
  88. data/spec/models/get_contact200_response_spec.rb +48 -0
  89. data/spec/models/get_contact_channels200_response_channels_inner_spec.rb +84 -0
  90. data/spec/models/get_contact_channels200_response_spec.rb +42 -0
  91. data/spec/models/list_comment_automation_logs200_response_spec.rb +48 -0
  92. data/spec/models/list_contacts200_response_contacts_inner_spec.rb +138 -0
  93. data/spec/models/{get_broadcast200_response_broadcast_segment_filters_spec.rb → list_contacts200_response_filters_spec.rb} +6 -6
  94. data/spec/models/list_contacts200_response_spec.rb +54 -0
  95. data/spec/models/list_custom_fields200_response_fields_inner_spec.rb +70 -0
  96. data/spec/models/list_custom_fields200_response_spec.rb +42 -0
  97. data/spec/models/threads_platform_data_spec.rb +6 -0
  98. data/spec/models/update_comment_automation200_response_automation_spec.rb +82 -0
  99. data/spec/models/update_comment_automation200_response_spec.rb +42 -0
  100. data/spec/models/update_contact200_response_contact_spec.rb +90 -0
  101. data/spec/models/update_contact200_response_spec.rb +42 -0
  102. data/spec/models/update_custom_field200_response_field_spec.rb +60 -0
  103. data/spec/models/update_custom_field200_response_spec.rb +42 -0
  104. data/zernio-sdk-0.0.80.gem +0 -0
  105. metadata +115 -7
  106. data/zernio-sdk-0.0.78.gem +0 -0
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **topic_tag** | **String** | Topic tag for post categorization and discoverability on Threads. Must be 1-50 characters, cannot contain periods (.) or ampersands (&). Overrides auto-extraction from content hashtags when provided. | [optional] |
7
8
  | **thread_items** | [**Array<TwitterPlatformDataThreadItemsInner>**](TwitterPlatformDataThreadItemsInner.md) | Sequence of posts in a Threads thread (root then replies in order). | [optional] |
8
9
 
9
10
  ## Example
@@ -12,6 +13,7 @@
12
13
  require 'late-sdk'
13
14
 
14
15
  instance = Late::ThreadsPlatformData.new(
16
+ topic_tag: null,
15
17
  thread_items: null
16
18
  )
17
19
  ```
@@ -0,0 +1,20 @@
1
+ # Late::UpdateCommentAutomation200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **automation** | [**UpdateCommentAutomation200ResponseAutomation**](UpdateCommentAutomation200ResponseAutomation.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::UpdateCommentAutomation200Response.new(
16
+ success: null,
17
+ automation: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,32 @@
1
+ # Late::UpdateCommentAutomation200ResponseAutomation
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **keywords** | **Array<String>** | | [optional] |
10
+ | **match_mode** | **String** | | [optional] |
11
+ | **dm_message** | **String** | | [optional] |
12
+ | **comment_reply** | **String** | | [optional] |
13
+ | **is_active** | **Boolean** | | [optional] |
14
+ | **updated_at** | **Time** | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'late-sdk'
20
+
21
+ instance = Late::UpdateCommentAutomation200ResponseAutomation.new(
22
+ id: null,
23
+ name: null,
24
+ keywords: null,
25
+ match_mode: null,
26
+ dm_message: null,
27
+ comment_reply: null,
28
+ is_active: null,
29
+ updated_at: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,20 @@
1
+ # Late::UpdateContact200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **contact** | [**UpdateContact200ResponseContact**](UpdateContact200ResponseContact.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::UpdateContact200Response.new(
16
+ success: null,
17
+ contact: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,36 @@
1
+ # Late::UpdateContact200ResponseContact
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **email** | **String** | | [optional] |
10
+ | **company** | **String** | | [optional] |
11
+ | **avatar_url** | **String** | | [optional] |
12
+ | **tags** | **Array<String>** | | [optional] |
13
+ | **is_subscribed** | **Boolean** | | [optional] |
14
+ | **is_blocked** | **Boolean** | | [optional] |
15
+ | **notes** | **String** | | [optional] |
16
+ | **updated_at** | **Time** | | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'late-sdk'
22
+
23
+ instance = Late::UpdateContact200ResponseContact.new(
24
+ id: null,
25
+ name: null,
26
+ email: null,
27
+ company: null,
28
+ avatar_url: null,
29
+ tags: null,
30
+ is_subscribed: null,
31
+ is_blocked: null,
32
+ notes: null,
33
+ updated_at: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,20 @@
1
+ # Late::UpdateCustomField200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **field** | [**UpdateCustomField200ResponseField**](UpdateCustomField200ResponseField.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::UpdateCustomField200Response.new(
16
+ success: null,
17
+ field: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ # Late::UpdateCustomField200ResponseField
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **slug** | **String** | | [optional] |
10
+ | **type** | **String** | | [optional] |
11
+ | **options** | **Array<String>** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'late-sdk'
17
+
18
+ instance = Late::UpdateCustomField200ResponseField.new(
19
+ id: null,
20
+ name: null,
21
+ slug: null,
22
+ type: null,
23
+ options: null
24
+ )
25
+ ```
26
+
@@ -23,17 +23,17 @@ module Late
23
23
  # Create a keyword-triggered DM automation on an Instagram or Facebook post. When someone comments a matching keyword, they automatically receive a DM. Only one active automation per post is allowed.
24
24
  # @param create_comment_automation_request [CreateCommentAutomationRequest]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [nil]
26
+ # @return [CreateCommentAutomation200Response]
27
27
  def create_comment_automation(create_comment_automation_request, opts = {})
28
- create_comment_automation_with_http_info(create_comment_automation_request, opts)
29
- nil
28
+ data, _status_code, _headers = create_comment_automation_with_http_info(create_comment_automation_request, opts)
29
+ data
30
30
  end
31
31
 
32
32
  # Create a comment-to-DM automation
33
33
  # Create a keyword-triggered DM automation on an Instagram or Facebook post. When someone comments a matching keyword, they automatically receive a DM. Only one active automation per post is allowed.
34
34
  # @param create_comment_automation_request [CreateCommentAutomationRequest]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
36
+ # @return [Array<(CreateCommentAutomation200Response, Integer, Hash)>] CreateCommentAutomation200Response data, response status code and response headers
37
37
  def create_comment_automation_with_http_info(create_comment_automation_request, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: CommentAutomationsApi.create_comment_automation ...'
@@ -65,7 +65,7 @@ module Late
65
65
  post_body = opts[:debug_body] || @api_client.object_to_http_body(create_comment_automation_request)
66
66
 
67
67
  # return_type
68
- return_type = opts[:debug_return_type]
68
+ return_type = opts[:debug_return_type] || 'CreateCommentAutomation200Response'
69
69
 
70
70
  # auth_names
71
71
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -151,16 +151,16 @@ module Late
151
151
  # Get automation details with recent logs
152
152
  # @param automation_id [String]
153
153
  # @param [Hash] opts the optional parameters
154
- # @return [nil]
154
+ # @return [GetCommentAutomation200Response]
155
155
  def get_comment_automation(automation_id, opts = {})
156
- get_comment_automation_with_http_info(automation_id, opts)
157
- nil
156
+ data, _status_code, _headers = get_comment_automation_with_http_info(automation_id, opts)
157
+ data
158
158
  end
159
159
 
160
160
  # Get automation details with recent logs
161
161
  # @param automation_id [String]
162
162
  # @param [Hash] opts the optional parameters
163
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
163
+ # @return [Array<(GetCommentAutomation200Response, Integer, Hash)>] GetCommentAutomation200Response data, response status code and response headers
164
164
  def get_comment_automation_with_http_info(automation_id, opts = {})
165
165
  if @api_client.config.debugging
166
166
  @api_client.config.logger.debug 'Calling API: CommentAutomationsApi.get_comment_automation ...'
@@ -187,7 +187,7 @@ module Late
187
187
  post_body = opts[:debug_body]
188
188
 
189
189
  # return_type
190
- return_type = opts[:debug_return_type]
190
+ return_type = opts[:debug_return_type] || 'GetCommentAutomation200Response'
191
191
 
192
192
  # auth_names
193
193
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -216,10 +216,10 @@ module Late
216
216
  # @option opts [String] :status Filter by result status
217
217
  # @option opts [Integer] :limit (default to 50)
218
218
  # @option opts [Integer] :skip (default to 0)
219
- # @return [nil]
219
+ # @return [ListCommentAutomationLogs200Response]
220
220
  def list_comment_automation_logs(automation_id, opts = {})
221
- list_comment_automation_logs_with_http_info(automation_id, opts)
222
- nil
221
+ data, _status_code, _headers = list_comment_automation_logs_with_http_info(automation_id, opts)
222
+ data
223
223
  end
224
224
 
225
225
  # List trigger logs for an automation
@@ -229,7 +229,7 @@ module Late
229
229
  # @option opts [String] :status Filter by result status
230
230
  # @option opts [Integer] :limit (default to 50)
231
231
  # @option opts [Integer] :skip (default to 0)
232
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
232
+ # @return [Array<(ListCommentAutomationLogs200Response, Integer, Hash)>] ListCommentAutomationLogs200Response data, response status code and response headers
233
233
  def list_comment_automation_logs_with_http_info(automation_id, opts = {})
234
234
  if @api_client.config.debugging
235
235
  @api_client.config.logger.debug 'Calling API: CommentAutomationsApi.list_comment_automation_logs ...'
@@ -263,7 +263,7 @@ module Late
263
263
  post_body = opts[:debug_body]
264
264
 
265
265
  # return_type
266
- return_type = opts[:debug_return_type]
266
+ return_type = opts[:debug_return_type] || 'ListCommentAutomationLogs200Response'
267
267
 
268
268
  # auth_names
269
269
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -349,17 +349,17 @@ module Late
349
349
  # @param automation_id [String]
350
350
  # @param [Hash] opts the optional parameters
351
351
  # @option opts [UpdateCommentAutomationRequest] :update_comment_automation_request
352
- # @return [nil]
352
+ # @return [UpdateCommentAutomation200Response]
353
353
  def update_comment_automation(automation_id, opts = {})
354
- update_comment_automation_with_http_info(automation_id, opts)
355
- nil
354
+ data, _status_code, _headers = update_comment_automation_with_http_info(automation_id, opts)
355
+ data
356
356
  end
357
357
 
358
358
  # Update automation settings
359
359
  # @param automation_id [String]
360
360
  # @param [Hash] opts the optional parameters
361
361
  # @option opts [UpdateCommentAutomationRequest] :update_comment_automation_request
362
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
362
+ # @return [Array<(UpdateCommentAutomation200Response, Integer, Hash)>] UpdateCommentAutomation200Response data, response status code and response headers
363
363
  def update_comment_automation_with_http_info(automation_id, opts = {})
364
364
  if @api_client.config.debugging
365
365
  @api_client.config.logger.debug 'Calling API: CommentAutomationsApi.update_comment_automation ...'
@@ -391,7 +391,7 @@ module Late
391
391
  post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_comment_automation_request'])
392
392
 
393
393
  # return_type
394
- return_type = opts[:debug_return_type]
394
+ return_type = opts[:debug_return_type] || 'UpdateCommentAutomation200Response'
395
395
 
396
396
  # auth_names
397
397
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -23,17 +23,17 @@ module Late
23
23
  # Import up to 1000 contacts at a time. Skips duplicates.
24
24
  # @param bulk_create_contacts_request [BulkCreateContactsRequest]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [nil]
26
+ # @return [BulkCreateContacts200Response]
27
27
  def bulk_create_contacts(bulk_create_contacts_request, opts = {})
28
- bulk_create_contacts_with_http_info(bulk_create_contacts_request, opts)
29
- nil
28
+ data, _status_code, _headers = bulk_create_contacts_with_http_info(bulk_create_contacts_request, opts)
29
+ data
30
30
  end
31
31
 
32
32
  # Bulk create contacts
33
33
  # Import up to 1000 contacts at a time. Skips duplicates.
34
34
  # @param bulk_create_contacts_request [BulkCreateContactsRequest]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
36
+ # @return [Array<(BulkCreateContacts200Response, Integer, Hash)>] BulkCreateContacts200Response data, response status code and response headers
37
37
  def bulk_create_contacts_with_http_info(bulk_create_contacts_request, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: ContactsApi.bulk_create_contacts ...'
@@ -65,7 +65,7 @@ module Late
65
65
  post_body = opts[:debug_body] || @api_client.object_to_http_body(bulk_create_contacts_request)
66
66
 
67
67
  # return_type
68
- return_type = opts[:debug_return_type]
68
+ return_type = opts[:debug_return_type] || 'BulkCreateContacts200Response'
69
69
 
70
70
  # auth_names
71
71
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -91,17 +91,17 @@ module Late
91
91
  # Create a new contact. Optionally create a platform channel in the same request by providing accountId, platform, and platformIdentifier.
92
92
  # @param create_contact_request [CreateContactRequest]
93
93
  # @param [Hash] opts the optional parameters
94
- # @return [nil]
94
+ # @return [CreateContact200Response]
95
95
  def create_contact(create_contact_request, opts = {})
96
- create_contact_with_http_info(create_contact_request, opts)
97
- nil
96
+ data, _status_code, _headers = create_contact_with_http_info(create_contact_request, opts)
97
+ data
98
98
  end
99
99
 
100
100
  # Create a contact
101
101
  # Create a new contact. Optionally create a platform channel in the same request by providing accountId, platform, and platformIdentifier.
102
102
  # @param create_contact_request [CreateContactRequest]
103
103
  # @param [Hash] opts the optional parameters
104
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
104
+ # @return [Array<(CreateContact200Response, Integer, Hash)>] CreateContact200Response data, response status code and response headers
105
105
  def create_contact_with_http_info(create_contact_request, opts = {})
106
106
  if @api_client.config.debugging
107
107
  @api_client.config.logger.debug 'Calling API: ContactsApi.create_contact ...'
@@ -133,7 +133,7 @@ module Late
133
133
  post_body = opts[:debug_body] || @api_client.object_to_http_body(create_contact_request)
134
134
 
135
135
  # return_type
136
- return_type = opts[:debug_return_type]
136
+ return_type = opts[:debug_return_type] || 'CreateContact200Response'
137
137
 
138
138
  # auth_names
139
139
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -219,16 +219,16 @@ module Late
219
219
  # Get contact with channels
220
220
  # @param contact_id [String]
221
221
  # @param [Hash] opts the optional parameters
222
- # @return [nil]
222
+ # @return [GetContact200Response]
223
223
  def get_contact(contact_id, opts = {})
224
- get_contact_with_http_info(contact_id, opts)
225
- nil
224
+ data, _status_code, _headers = get_contact_with_http_info(contact_id, opts)
225
+ data
226
226
  end
227
227
 
228
228
  # Get contact with channels
229
229
  # @param contact_id [String]
230
230
  # @param [Hash] opts the optional parameters
231
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
231
+ # @return [Array<(GetContact200Response, Integer, Hash)>] GetContact200Response data, response status code and response headers
232
232
  def get_contact_with_http_info(contact_id, opts = {})
233
233
  if @api_client.config.debugging
234
234
  @api_client.config.logger.debug 'Calling API: ContactsApi.get_contact ...'
@@ -255,7 +255,7 @@ module Late
255
255
  post_body = opts[:debug_body]
256
256
 
257
257
  # return_type
258
- return_type = opts[:debug_return_type]
258
+ return_type = opts[:debug_return_type] || 'GetContact200Response'
259
259
 
260
260
  # auth_names
261
261
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -280,16 +280,16 @@ module Late
280
280
  # List channels for a contact
281
281
  # @param contact_id [String]
282
282
  # @param [Hash] opts the optional parameters
283
- # @return [nil]
283
+ # @return [GetContactChannels200Response]
284
284
  def get_contact_channels(contact_id, opts = {})
285
- get_contact_channels_with_http_info(contact_id, opts)
286
- nil
285
+ data, _status_code, _headers = get_contact_channels_with_http_info(contact_id, opts)
286
+ data
287
287
  end
288
288
 
289
289
  # List channels for a contact
290
290
  # @param contact_id [String]
291
291
  # @param [Hash] opts the optional parameters
292
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
292
+ # @return [Array<(GetContactChannels200Response, Integer, Hash)>] GetContactChannels200Response data, response status code and response headers
293
293
  def get_contact_channels_with_http_info(contact_id, opts = {})
294
294
  if @api_client.config.debugging
295
295
  @api_client.config.logger.debug 'Calling API: ContactsApi.get_contact_channels ...'
@@ -316,7 +316,7 @@ module Late
316
316
  post_body = opts[:debug_body]
317
317
 
318
318
  # return_type
319
- return_type = opts[:debug_return_type]
319
+ return_type = opts[:debug_return_type] || 'GetContactChannels200Response'
320
320
 
321
321
  # auth_names
322
322
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -348,10 +348,10 @@ module Late
348
348
  # @option opts [String] :is_subscribed
349
349
  # @option opts [Integer] :limit (default to 50)
350
350
  # @option opts [Integer] :skip (default to 0)
351
- # @return [nil]
351
+ # @return [ListContacts200Response]
352
352
  def list_contacts(opts = {})
353
- list_contacts_with_http_info(opts)
354
- nil
353
+ data, _status_code, _headers = list_contacts_with_http_info(opts)
354
+ data
355
355
  end
356
356
 
357
357
  # List contacts
@@ -364,7 +364,7 @@ module Late
364
364
  # @option opts [String] :is_subscribed
365
365
  # @option opts [Integer] :limit (default to 50)
366
366
  # @option opts [Integer] :skip (default to 0)
367
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
367
+ # @return [Array<(ListContacts200Response, Integer, Hash)>] ListContacts200Response data, response status code and response headers
368
368
  def list_contacts_with_http_info(opts = {})
369
369
  if @api_client.config.debugging
370
370
  @api_client.config.logger.debug 'Calling API: ContactsApi.list_contacts ...'
@@ -406,7 +406,7 @@ module Late
406
406
  post_body = opts[:debug_body]
407
407
 
408
408
  # return_type
409
- return_type = opts[:debug_return_type]
409
+ return_type = opts[:debug_return_type] || 'ListContacts200Response'
410
410
 
411
411
  # auth_names
412
412
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -432,17 +432,17 @@ module Late
432
432
  # @param contact_id [String]
433
433
  # @param [Hash] opts the optional parameters
434
434
  # @option opts [UpdateContactRequest] :update_contact_request
435
- # @return [nil]
435
+ # @return [UpdateContact200Response]
436
436
  def update_contact(contact_id, opts = {})
437
- update_contact_with_http_info(contact_id, opts)
438
- nil
437
+ data, _status_code, _headers = update_contact_with_http_info(contact_id, opts)
438
+ data
439
439
  end
440
440
 
441
441
  # Update a contact
442
442
  # @param contact_id [String]
443
443
  # @param [Hash] opts the optional parameters
444
444
  # @option opts [UpdateContactRequest] :update_contact_request
445
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
445
+ # @return [Array<(UpdateContact200Response, Integer, Hash)>] UpdateContact200Response data, response status code and response headers
446
446
  def update_contact_with_http_info(contact_id, opts = {})
447
447
  if @api_client.config.debugging
448
448
  @api_client.config.logger.debug 'Calling API: ContactsApi.update_contact ...'
@@ -474,7 +474,7 @@ module Late
474
474
  post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_contact_request'])
475
475
 
476
476
  # return_type
477
- return_type = opts[:debug_return_type]
477
+ return_type = opts[:debug_return_type] || 'UpdateContact200Response'
478
478
 
479
479
  # auth_names
480
480
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -89,16 +89,16 @@ module Late
89
89
  # Create a custom field definition
90
90
  # @param create_custom_field_request [CreateCustomFieldRequest]
91
91
  # @param [Hash] opts the optional parameters
92
- # @return [nil]
92
+ # @return [CreateCustomField200Response]
93
93
  def create_custom_field(create_custom_field_request, opts = {})
94
- create_custom_field_with_http_info(create_custom_field_request, opts)
95
- nil
94
+ data, _status_code, _headers = create_custom_field_with_http_info(create_custom_field_request, opts)
95
+ data
96
96
  end
97
97
 
98
98
  # Create a custom field definition
99
99
  # @param create_custom_field_request [CreateCustomFieldRequest]
100
100
  # @param [Hash] opts the optional parameters
101
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
+ # @return [Array<(CreateCustomField200Response, Integer, Hash)>] CreateCustomField200Response data, response status code and response headers
102
102
  def create_custom_field_with_http_info(create_custom_field_request, opts = {})
103
103
  if @api_client.config.debugging
104
104
  @api_client.config.logger.debug 'Calling API: CustomFieldsApi.create_custom_field ...'
@@ -130,7 +130,7 @@ module Late
130
130
  post_body = opts[:debug_body] || @api_client.object_to_http_body(create_custom_field_request)
131
131
 
132
132
  # return_type
133
- return_type = opts[:debug_return_type]
133
+ return_type = opts[:debug_return_type] || 'CreateCustomField200Response'
134
134
 
135
135
  # auth_names
136
136
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -216,16 +216,16 @@ module Late
216
216
  # List custom field definitions
217
217
  # @param [Hash] opts the optional parameters
218
218
  # @option opts [String] :profile_id Filter by profile. Omit to list across all profiles
219
- # @return [nil]
219
+ # @return [ListCustomFields200Response]
220
220
  def list_custom_fields(opts = {})
221
- list_custom_fields_with_http_info(opts)
222
- nil
221
+ data, _status_code, _headers = list_custom_fields_with_http_info(opts)
222
+ data
223
223
  end
224
224
 
225
225
  # List custom field definitions
226
226
  # @param [Hash] opts the optional parameters
227
227
  # @option opts [String] :profile_id Filter by profile. Omit to list across all profiles
228
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
228
+ # @return [Array<(ListCustomFields200Response, Integer, Hash)>] ListCustomFields200Response data, response status code and response headers
229
229
  def list_custom_fields_with_http_info(opts = {})
230
230
  if @api_client.config.debugging
231
231
  @api_client.config.logger.debug 'Calling API: CustomFieldsApi.list_custom_fields ...'
@@ -249,7 +249,7 @@ module Late
249
249
  post_body = opts[:debug_body]
250
250
 
251
251
  # return_type
252
- return_type = opts[:debug_return_type]
252
+ return_type = opts[:debug_return_type] || 'ListCustomFields200Response'
253
253
 
254
254
  # auth_names
255
255
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -353,17 +353,17 @@ module Late
353
353
  # @param field_id [String]
354
354
  # @param [Hash] opts the optional parameters
355
355
  # @option opts [UpdateCustomFieldRequest] :update_custom_field_request
356
- # @return [nil]
356
+ # @return [UpdateCustomField200Response]
357
357
  def update_custom_field(field_id, opts = {})
358
- update_custom_field_with_http_info(field_id, opts)
359
- nil
358
+ data, _status_code, _headers = update_custom_field_with_http_info(field_id, opts)
359
+ data
360
360
  end
361
361
 
362
362
  # Update a custom field definition
363
363
  # @param field_id [String]
364
364
  # @param [Hash] opts the optional parameters
365
365
  # @option opts [UpdateCustomFieldRequest] :update_custom_field_request
366
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
366
+ # @return [Array<(UpdateCustomField200Response, Integer, Hash)>] UpdateCustomField200Response data, response status code and response headers
367
367
  def update_custom_field_with_http_info(field_id, opts = {})
368
368
  if @api_client.config.debugging
369
369
  @api_client.config.logger.debug 'Calling API: CustomFieldsApi.update_custom_field ...'
@@ -395,7 +395,7 @@ module Late
395
395
  post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_custom_field_request'])
396
396
 
397
397
  # return_type
398
- return_type = opts[:debug_return_type]
398
+ return_type = opts[:debug_return_type] || 'UpdateCustomField200Response'
399
399
 
400
400
  # auth_names
401
401
  auth_names = opts[:debug_auth_names] || ['bearerAuth']