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.
- checksums.yaml +4 -4
- data/README.md +28 -1
- data/docs/BulkCreateContacts200Response.md +26 -0
- data/docs/CommentAutomationsApi.md +28 -24
- data/docs/ContactsApi.md +42 -36
- data/docs/CreateCommentAutomation200Response.md +20 -0
- data/docs/CreateCommentAutomation200ResponseAutomation.md +38 -0
- data/docs/CreateCommentAutomation200ResponseAutomationStats.md +22 -0
- data/docs/CreateContact200Response.md +24 -0
- data/docs/CreateContact200ResponseChannel.md +24 -0
- data/docs/CreateContact200ResponseContact.md +36 -0
- data/docs/CreateCustomField200Response.md +20 -0
- data/docs/CustomFieldsApi.md +21 -18
- data/docs/GetBroadcast200ResponseBroadcast.md +1 -1
- data/docs/GetCommentAutomation200Response.md +22 -0
- data/docs/GetCommentAutomation200ResponseAutomation.md +46 -0
- data/docs/GetCommentAutomation200ResponseLogsInner.md +32 -0
- data/docs/GetContact200Response.md +22 -0
- data/docs/GetContact200ResponseChannelsInner.md +32 -0
- data/docs/GetContact200ResponseContact.md +42 -0
- data/docs/GetContactChannels200Response.md +20 -0
- data/docs/GetContactChannels200ResponseChannelsInner.md +34 -0
- data/docs/ListCommentAutomationLogs200Response.md +22 -0
- data/docs/ListContacts200Response.md +24 -0
- data/docs/ListContacts200ResponseContactsInner.md +52 -0
- data/docs/{GetBroadcast200ResponseBroadcastSegmentFilters.md → ListContacts200ResponseFilters.md} +2 -2
- data/docs/ListCustomFields200Response.md +20 -0
- data/docs/ListCustomFields200ResponseFieldsInner.md +28 -0
- data/docs/UpdateCommentAutomation200Response.md +20 -0
- data/docs/UpdateCommentAutomation200ResponseAutomation.md +32 -0
- data/docs/UpdateContact200Response.md +20 -0
- data/docs/UpdateContact200ResponseContact.md +36 -0
- data/docs/UpdateCustomField200Response.md +20 -0
- data/docs/UpdateCustomField200ResponseField.md +26 -0
- data/lib/late-sdk/api/comment_automations_api.rb +20 -20
- data/lib/late-sdk/api/contacts_api.rb +30 -30
- data/lib/late-sdk/api/custom_fields_api.rb +15 -15
- data/lib/late-sdk/models/bulk_create_contacts200_response.rb +185 -0
- data/lib/late-sdk/models/create_comment_automation200_response.rb +156 -0
- data/lib/late-sdk/models/create_comment_automation200_response_automation.rb +273 -0
- data/lib/late-sdk/models/create_comment_automation200_response_automation_stats.rb +165 -0
- data/lib/late-sdk/models/create_contact200_response.rb +174 -0
- data/lib/late-sdk/models/create_contact200_response_channel.rb +175 -0
- data/lib/late-sdk/models/create_contact200_response_contact.rb +230 -0
- data/lib/late-sdk/models/create_custom_field200_response.rb +156 -0
- data/lib/late-sdk/models/get_broadcast200_response_broadcast.rb +1 -1
- data/lib/late-sdk/models/get_comment_automation200_response.rb +167 -0
- data/lib/late-sdk/models/get_comment_automation200_response_automation.rb +309 -0
- data/lib/late-sdk/models/get_comment_automation200_response_logs_inner.rb +244 -0
- data/lib/late-sdk/models/get_contact200_response.rb +167 -0
- data/lib/late-sdk/models/get_contact200_response_channels_inner.rb +210 -0
- data/lib/late-sdk/models/get_contact200_response_contact.rb +259 -0
- data/lib/late-sdk/models/get_contact_channels200_response.rb +158 -0
- data/lib/late-sdk/models/get_contact_channels200_response_channels_inner.rb +219 -0
- data/lib/late-sdk/models/list_comment_automation_logs200_response.rb +167 -0
- data/lib/late-sdk/models/list_contacts200_response.rb +176 -0
- data/lib/late-sdk/models/list_contacts200_response_contacts_inner.rb +302 -0
- data/lib/late-sdk/models/{get_broadcast200_response_broadcast_segment_filters.rb → list_contacts200_response_filters.rb} +3 -3
- data/lib/late-sdk/models/list_custom_fields200_response.rb +158 -0
- data/lib/late-sdk/models/list_custom_fields200_response_fields_inner.rb +228 -0
- data/lib/late-sdk/models/update_comment_automation200_response.rb +156 -0
- data/lib/late-sdk/models/update_comment_automation200_response_automation.rb +246 -0
- data/lib/late-sdk/models/update_contact200_response.rb +156 -0
- data/lib/late-sdk/models/update_contact200_response_contact.rb +230 -0
- data/lib/late-sdk/models/update_custom_field200_response.rb +156 -0
- data/lib/late-sdk/models/update_custom_field200_response_field.rb +185 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +28 -1
- data/openapi.yaml +324 -13
- data/spec/api/comment_automations_api_spec.rb +4 -4
- data/spec/api/contacts_api_spec.rb +6 -6
- data/spec/api/custom_fields_api_spec.rb +3 -3
- data/spec/models/bulk_create_contacts200_response_spec.rb +60 -0
- data/spec/models/create_comment_automation200_response_automation_spec.rb +100 -0
- data/spec/models/create_comment_automation200_response_automation_stats_spec.rb +48 -0
- data/spec/models/create_comment_automation200_response_spec.rb +42 -0
- data/spec/models/create_contact200_response_channel_spec.rb +54 -0
- data/spec/models/create_contact200_response_contact_spec.rb +90 -0
- data/spec/models/create_contact200_response_spec.rb +54 -0
- data/spec/models/create_custom_field200_response_spec.rb +42 -0
- data/spec/models/get_comment_automation200_response_automation_spec.rb +124 -0
- data/spec/models/get_comment_automation200_response_logs_inner_spec.rb +82 -0
- data/spec/models/get_comment_automation200_response_spec.rb +48 -0
- data/spec/models/get_contact200_response_channels_inner_spec.rb +78 -0
- data/spec/models/get_contact200_response_contact_spec.rb +108 -0
- data/spec/models/get_contact200_response_spec.rb +48 -0
- data/spec/models/get_contact_channels200_response_channels_inner_spec.rb +84 -0
- data/spec/models/get_contact_channels200_response_spec.rb +42 -0
- data/spec/models/list_comment_automation_logs200_response_spec.rb +48 -0
- data/spec/models/list_contacts200_response_contacts_inner_spec.rb +138 -0
- data/spec/models/{get_broadcast200_response_broadcast_segment_filters_spec.rb → list_contacts200_response_filters_spec.rb} +6 -6
- data/spec/models/list_contacts200_response_spec.rb +54 -0
- data/spec/models/list_custom_fields200_response_fields_inner_spec.rb +70 -0
- data/spec/models/list_custom_fields200_response_spec.rb +42 -0
- data/spec/models/update_comment_automation200_response_automation_spec.rb +82 -0
- data/spec/models/update_comment_automation200_response_spec.rb +42 -0
- data/spec/models/update_contact200_response_contact_spec.rb +90 -0
- data/spec/models/update_contact200_response_spec.rb +42 -0
- data/spec/models/update_custom_field200_response_field_spec.rb +60 -0
- data/spec/models/update_custom_field200_response_spec.rb +42 -0
- data/zernio-sdk-0.0.79.gem +0 -0
- metadata +114 -6
- data/zernio-sdk-0.0.78.gem +0 -0
|
@@ -37,7 +37,7 @@ describe 'CommentAutomationsApi' do
|
|
|
37
37
|
# 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.
|
|
38
38
|
# @param create_comment_automation_request
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [CreateCommentAutomation200Response]
|
|
41
41
|
describe 'create_comment_automation test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -59,7 +59,7 @@ describe 'CommentAutomationsApi' do
|
|
|
59
59
|
# Get automation details with recent logs
|
|
60
60
|
# @param automation_id
|
|
61
61
|
# @param [Hash] opts the optional parameters
|
|
62
|
-
# @return [
|
|
62
|
+
# @return [GetCommentAutomation200Response]
|
|
63
63
|
describe 'get_comment_automation test' do
|
|
64
64
|
it 'should work' do
|
|
65
65
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -74,7 +74,7 @@ describe 'CommentAutomationsApi' do
|
|
|
74
74
|
# @option opts [String] :status Filter by result status
|
|
75
75
|
# @option opts [Integer] :limit
|
|
76
76
|
# @option opts [Integer] :skip
|
|
77
|
-
# @return [
|
|
77
|
+
# @return [ListCommentAutomationLogs200Response]
|
|
78
78
|
describe 'list_comment_automation_logs test' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -98,7 +98,7 @@ describe 'CommentAutomationsApi' do
|
|
|
98
98
|
# @param automation_id
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
100
100
|
# @option opts [UpdateCommentAutomationRequest] :update_comment_automation_request
|
|
101
|
-
# @return [
|
|
101
|
+
# @return [UpdateCommentAutomation200Response]
|
|
102
102
|
describe 'update_comment_automation test' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -37,7 +37,7 @@ describe 'ContactsApi' do
|
|
|
37
37
|
# Import up to 1000 contacts at a time. Skips duplicates.
|
|
38
38
|
# @param bulk_create_contacts_request
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [BulkCreateContacts200Response]
|
|
41
41
|
describe 'bulk_create_contacts test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -49,7 +49,7 @@ describe 'ContactsApi' do
|
|
|
49
49
|
# Create a new contact. Optionally create a platform channel in the same request by providing accountId, platform, and platformIdentifier.
|
|
50
50
|
# @param create_contact_request
|
|
51
51
|
# @param [Hash] opts the optional parameters
|
|
52
|
-
# @return [
|
|
52
|
+
# @return [CreateContact200Response]
|
|
53
53
|
describe 'create_contact test' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -71,7 +71,7 @@ describe 'ContactsApi' do
|
|
|
71
71
|
# Get contact with channels
|
|
72
72
|
# @param contact_id
|
|
73
73
|
# @param [Hash] opts the optional parameters
|
|
74
|
-
# @return [
|
|
74
|
+
# @return [GetContact200Response]
|
|
75
75
|
describe 'get_contact test' do
|
|
76
76
|
it 'should work' do
|
|
77
77
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -82,7 +82,7 @@ describe 'ContactsApi' do
|
|
|
82
82
|
# List channels for a contact
|
|
83
83
|
# @param contact_id
|
|
84
84
|
# @param [Hash] opts the optional parameters
|
|
85
|
-
# @return [
|
|
85
|
+
# @return [GetContactChannels200Response]
|
|
86
86
|
describe 'get_contact_channels test' do
|
|
87
87
|
it 'should work' do
|
|
88
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -100,7 +100,7 @@ describe 'ContactsApi' do
|
|
|
100
100
|
# @option opts [String] :is_subscribed
|
|
101
101
|
# @option opts [Integer] :limit
|
|
102
102
|
# @option opts [Integer] :skip
|
|
103
|
-
# @return [
|
|
103
|
+
# @return [ListContacts200Response]
|
|
104
104
|
describe 'list_contacts test' do
|
|
105
105
|
it 'should work' do
|
|
106
106
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -112,7 +112,7 @@ describe 'ContactsApi' do
|
|
|
112
112
|
# @param contact_id
|
|
113
113
|
# @param [Hash] opts the optional parameters
|
|
114
114
|
# @option opts [UpdateContactRequest] :update_contact_request
|
|
115
|
-
# @return [
|
|
115
|
+
# @return [UpdateContact200Response]
|
|
116
116
|
describe 'update_contact test' do
|
|
117
117
|
it 'should work' do
|
|
118
118
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -48,7 +48,7 @@ describe 'CustomFieldsApi' do
|
|
|
48
48
|
# Create a custom field definition
|
|
49
49
|
# @param create_custom_field_request
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
|
51
|
-
# @return [
|
|
51
|
+
# @return [CreateCustomField200Response]
|
|
52
52
|
describe 'create_custom_field test' do
|
|
53
53
|
it 'should work' do
|
|
54
54
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -70,7 +70,7 @@ describe 'CustomFieldsApi' do
|
|
|
70
70
|
# List custom field definitions
|
|
71
71
|
# @param [Hash] opts the optional parameters
|
|
72
72
|
# @option opts [String] :profile_id Filter by profile. Omit to list across all profiles
|
|
73
|
-
# @return [
|
|
73
|
+
# @return [ListCustomFields200Response]
|
|
74
74
|
describe 'list_custom_fields test' do
|
|
75
75
|
it 'should work' do
|
|
76
76
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -95,7 +95,7 @@ describe 'CustomFieldsApi' do
|
|
|
95
95
|
# @param field_id
|
|
96
96
|
# @param [Hash] opts the optional parameters
|
|
97
97
|
# @option opts [UpdateCustomFieldRequest] :update_custom_field_request
|
|
98
|
-
# @return [
|
|
98
|
+
# @return [UpdateCustomField200Response]
|
|
99
99
|
describe 'update_custom_field test' do
|
|
100
100
|
it 'should work' do
|
|
101
101
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::BulkCreateContacts200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::BulkCreateContacts200Response do
|
|
21
|
+
#let(:instance) { Late::BulkCreateContacts200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of BulkCreateContacts200Response' do
|
|
24
|
+
it 'should create an instance of BulkCreateContacts200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::BulkCreateContacts200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "created"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "skipped"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "errors"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "total"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::CreateCommentAutomation200ResponseAutomation
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateCommentAutomation200ResponseAutomation do
|
|
21
|
+
#let(:instance) { Late::CreateCommentAutomation200ResponseAutomation.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCommentAutomation200ResponseAutomation' do
|
|
24
|
+
it 'should create an instance of CreateCommentAutomation200ResponseAutomation' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateCommentAutomation200ResponseAutomation)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "platform"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "platform_post_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "keywords"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "match_mode"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["exact", "contains"])
|
|
64
|
+
# validator.allowable_values.each do |value|
|
|
65
|
+
# expect { instance.match_mode = value }.not_to raise_error
|
|
66
|
+
# end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "dm_message"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "comment_reply"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "is_active"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "stats"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "created_at"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::CreateCommentAutomation200ResponseAutomationStats
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateCommentAutomation200ResponseAutomationStats do
|
|
21
|
+
#let(:instance) { Late::CreateCommentAutomation200ResponseAutomationStats.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCommentAutomation200ResponseAutomationStats' do
|
|
24
|
+
it 'should create an instance of CreateCommentAutomation200ResponseAutomationStats' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateCommentAutomation200ResponseAutomationStats)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "total_triggered"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "total_sent"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "total_failed"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::CreateCommentAutomation200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateCommentAutomation200Response do
|
|
21
|
+
#let(:instance) { Late::CreateCommentAutomation200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCommentAutomation200Response' do
|
|
24
|
+
it 'should create an instance of CreateCommentAutomation200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateCommentAutomation200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "automation"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::CreateContact200ResponseChannel
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateContact200ResponseChannel do
|
|
21
|
+
#let(:instance) { Late::CreateContact200ResponseChannel.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateContact200ResponseChannel' do
|
|
24
|
+
it 'should create an instance of CreateContact200ResponseChannel' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateContact200ResponseChannel)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "platform"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "platform_identifier"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "display_identifier"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::CreateContact200ResponseContact
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateContact200ResponseContact do
|
|
21
|
+
#let(:instance) { Late::CreateContact200ResponseContact.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateContact200ResponseContact' do
|
|
24
|
+
it 'should create an instance of CreateContact200ResponseContact' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateContact200ResponseContact)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "email"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "company"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "tags"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "is_subscribed"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "is_blocked"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "custom_fields"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "notes"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "created_at"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::CreateContact200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateContact200Response do
|
|
21
|
+
#let(:instance) { Late::CreateContact200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateContact200Response' do
|
|
24
|
+
it 'should create an instance of CreateContact200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateContact200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "contact"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "channel"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "warning"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::CreateCustomField200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateCustomField200Response do
|
|
21
|
+
#let(:instance) { Late::CreateCustomField200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCustomField200Response' do
|
|
24
|
+
it 'should create an instance of CreateCustomField200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateCustomField200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "field"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|