late-sdk 0.0.68 → 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 (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +62 -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/UpdateCommentAutomationRequest.md +28 -0
  29. data/docs/UpdateContactRequest.md +32 -0
  30. data/docs/UpdateCustomFieldRequest.md +20 -0
  31. data/docs/WhatsAppApi.md +25 -25
  32. data/lib/late-sdk/api/broadcasts_api.rb +689 -0
  33. data/lib/late-sdk/api/comment_automations_api.rb +420 -0
  34. data/lib/late-sdk/api/contacts_api.rb +503 -0
  35. data/lib/late-sdk/api/custom_fields_api.rb +424 -0
  36. data/lib/late-sdk/api/sequences_api.rb +681 -0
  37. data/lib/late-sdk/api/whats_app_api.rb +50 -50
  38. data/lib/late-sdk/models/add_broadcast_recipients_request.rb +160 -0
  39. data/lib/late-sdk/models/bulk_create_contacts_request.rb +253 -0
  40. data/lib/late-sdk/models/bulk_create_contacts_request_contacts_inner.rb +228 -0
  41. data/lib/late-sdk/models/create_broadcast_request.rb +302 -0
  42. data/lib/late-sdk/models/create_broadcast_request_message.rb +158 -0
  43. data/lib/late-sdk/models/create_broadcast_request_message_attachments_inner.rb +165 -0
  44. data/lib/late-sdk/models/create_broadcast_request_segment_filters.rb +158 -0
  45. data/lib/late-sdk/models/create_broadcast_request_template.rb +168 -0
  46. data/lib/late-sdk/models/create_comment_automation_request.rb +359 -0
  47. data/lib/late-sdk/models/create_contact_request.rb +276 -0
  48. data/lib/late-sdk/models/create_custom_field_request.rb +262 -0
  49. data/lib/late-sdk/models/create_sequence_request.rb +308 -0
  50. data/lib/late-sdk/models/create_sequence_request_steps_inner.rb +208 -0
  51. data/lib/late-sdk/models/create_sequence_request_steps_inner_message.rb +147 -0
  52. data/lib/late-sdk/models/enroll_contacts_request.rb +178 -0
  53. data/lib/late-sdk/models/list_comment_automations200_response.rb +158 -0
  54. data/lib/late-sdk/models/list_comment_automations200_response_automations_inner.rb +303 -0
  55. data/lib/late-sdk/models/list_comment_automations200_response_automations_inner_stats.rb +174 -0
  56. data/lib/late-sdk/models/schedule_broadcast_request.rb +164 -0
  57. data/lib/late-sdk/models/set_contact_field_value_request.rb +150 -0
  58. data/lib/late-sdk/models/update_comment_automation_request.rb +228 -0
  59. data/lib/late-sdk/models/update_contact_request.rb +212 -0
  60. data/lib/late-sdk/models/update_custom_field_request.rb +158 -0
  61. data/lib/late-sdk/version.rb +1 -1
  62. data/lib/late-sdk.rb +28 -0
  63. data/openapi.yaml +809 -13
  64. data/spec/api/broadcasts_api_spec.rb +154 -0
  65. data/spec/api/comment_automations_api_spec.rb +108 -0
  66. data/spec/api/contacts_api_spec.rb +122 -0
  67. data/spec/api/custom_fields_api_spec.rb +105 -0
  68. data/spec/api/sequences_api_spec.rb +153 -0
  69. data/spec/api/whats_app_api_spec.rb +25 -25
  70. data/spec/models/add_broadcast_recipients_request_spec.rb +42 -0
  71. data/spec/models/bulk_create_contacts_request_contacts_inner_spec.rb +66 -0
  72. data/spec/models/bulk_create_contacts_request_spec.rb +54 -0
  73. data/spec/models/create_broadcast_request_message_attachments_inner_spec.rb +48 -0
  74. data/spec/models/create_broadcast_request_message_spec.rb +42 -0
  75. data/spec/models/create_broadcast_request_segment_filters_spec.rb +42 -0
  76. data/spec/models/create_broadcast_request_spec.rb +82 -0
  77. data/spec/models/create_broadcast_request_template_spec.rb +48 -0
  78. data/spec/models/create_comment_automation_request_spec.rb +94 -0
  79. data/spec/models/create_contact_request_spec.rb +96 -0
  80. data/spec/models/create_custom_field_request_spec.rb +64 -0
  81. data/spec/models/create_sequence_request_spec.rb +82 -0
  82. data/spec/models/create_sequence_request_steps_inner_message_spec.rb +36 -0
  83. data/spec/models/create_sequence_request_steps_inner_spec.rb +54 -0
  84. data/spec/models/enroll_contacts_request_spec.rb +42 -0
  85. data/spec/models/list_comment_automations200_response_automations_inner_spec.rb +116 -0
  86. data/spec/models/list_comment_automations200_response_automations_inner_stats_spec.rb +54 -0
  87. data/spec/models/list_comment_automations200_response_spec.rb +42 -0
  88. data/spec/models/schedule_broadcast_request_spec.rb +36 -0
  89. data/spec/models/set_contact_field_value_request_spec.rb +36 -0
  90. data/spec/models/update_comment_automation_request_spec.rb +70 -0
  91. data/spec/models/update_contact_request_spec.rb +78 -0
  92. data/spec/models/update_custom_field_request_spec.rb +42 -0
  93. data/zernio-sdk-0.0.69.gem +0 -0
  94. metadata +114 -2
  95. data/zernio-sdk-0.0.68.gem +0 -0
@@ -0,0 +1,154 @@
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
+
16
+ # Unit tests for Late::BroadcastsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'BroadcastsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Late::BroadcastsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of BroadcastsApi' do
30
+ it 'should create an instance of BroadcastsApi' do
31
+ expect(@api_instance).to be_instance_of(Late::BroadcastsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_broadcast_recipients
36
+ # Add recipients to a broadcast
37
+ # @param broadcast_id
38
+ # @param add_broadcast_recipients_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'add_broadcast_recipients test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for cancel_broadcast
48
+ # Cancel a broadcast
49
+ # @param broadcast_id
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [nil]
52
+ describe 'cancel_broadcast test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ # unit tests for create_broadcast
59
+ # Create a broadcast draft
60
+ # @param create_broadcast_request
61
+ # @param [Hash] opts the optional parameters
62
+ # @return [nil]
63
+ describe 'create_broadcast test' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
66
+ end
67
+ end
68
+
69
+ # unit tests for delete_broadcast
70
+ # Delete a broadcast (draft only)
71
+ # @param broadcast_id
72
+ # @param [Hash] opts the optional parameters
73
+ # @return [nil]
74
+ describe 'delete_broadcast test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
77
+ end
78
+ end
79
+
80
+ # unit tests for get_broadcast
81
+ # Get broadcast details
82
+ # @param broadcast_id
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [nil]
85
+ describe 'get_broadcast test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
88
+ end
89
+ end
90
+
91
+ # unit tests for list_broadcast_recipients
92
+ # List broadcast recipients
93
+ # @param broadcast_id
94
+ # @param [Hash] opts the optional parameters
95
+ # @option opts [String] :status
96
+ # @option opts [Integer] :limit
97
+ # @option opts [Integer] :skip
98
+ # @return [nil]
99
+ describe 'list_broadcast_recipients test' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
102
+ end
103
+ end
104
+
105
+ # unit tests for list_broadcasts
106
+ # List broadcasts
107
+ # @param profile_id
108
+ # @param [Hash] opts the optional parameters
109
+ # @option opts [String] :status
110
+ # @option opts [String] :platform
111
+ # @option opts [Integer] :limit
112
+ # @option opts [Integer] :skip
113
+ # @return [nil]
114
+ describe 'list_broadcasts test' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
120
+ # unit tests for schedule_broadcast
121
+ # Schedule broadcast for later
122
+ # @param broadcast_id
123
+ # @param schedule_broadcast_request
124
+ # @param [Hash] opts the optional parameters
125
+ # @return [nil]
126
+ describe 'schedule_broadcast test' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
132
+ # unit tests for send_broadcast
133
+ # Trigger immediate send
134
+ # @param broadcast_id
135
+ # @param [Hash] opts the optional parameters
136
+ # @return [nil]
137
+ describe 'send_broadcast test' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
140
+ end
141
+ end
142
+
143
+ # unit tests for update_broadcast
144
+ # Update a broadcast
145
+ # @param broadcast_id
146
+ # @param [Hash] opts the optional parameters
147
+ # @return [nil]
148
+ describe 'update_broadcast test' do
149
+ it 'should work' do
150
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
151
+ end
152
+ end
153
+
154
+ end
@@ -0,0 +1,108 @@
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
+
16
+ # Unit tests for Late::CommentAutomationsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'CommentAutomationsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Late::CommentAutomationsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CommentAutomationsApi' do
30
+ it 'should create an instance of CommentAutomationsApi' do
31
+ expect(@api_instance).to be_instance_of(Late::CommentAutomationsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_comment_automation
36
+ # Create a comment-to-DM automation
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
+ # @param create_comment_automation_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'create_comment_automation test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for delete_comment_automation
48
+ # Delete automation and all logs
49
+ # @param automation_id
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [nil]
52
+ describe 'delete_comment_automation test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ # unit tests for get_comment_automation
59
+ # Get automation details with recent logs
60
+ # @param automation_id
61
+ # @param [Hash] opts the optional parameters
62
+ # @return [nil]
63
+ describe 'get_comment_automation test' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
66
+ end
67
+ end
68
+
69
+ # unit tests for list_comment_automation_logs
70
+ # List trigger logs for an automation
71
+ # Paginated list of every comment that triggered this automation, with send status and commenter info.
72
+ # @param automation_id
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [String] :status Filter by result status
75
+ # @option opts [Integer] :limit
76
+ # @option opts [Integer] :skip
77
+ # @return [nil]
78
+ describe 'list_comment_automation_logs test' 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
+ # unit tests for list_comment_automations
85
+ # List comment-to-DM automations
86
+ # List all comment-to-DM automations for a profile. Returns automations with their stats.
87
+ # @param profile_id Profile ID
88
+ # @param [Hash] opts the optional parameters
89
+ # @return [ListCommentAutomations200Response]
90
+ describe 'list_comment_automations test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ # unit tests for update_comment_automation
97
+ # Update automation settings
98
+ # @param automation_id
99
+ # @param [Hash] opts the optional parameters
100
+ # @option opts [UpdateCommentAutomationRequest] :update_comment_automation_request
101
+ # @return [nil]
102
+ describe 'update_comment_automation test' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
+ end
106
+ end
107
+
108
+ end
@@ -0,0 +1,122 @@
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
+
16
+ # Unit tests for Late::ContactsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContactsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Late::ContactsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContactsApi' do
30
+ it 'should create an instance of ContactsApi' do
31
+ expect(@api_instance).to be_instance_of(Late::ContactsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for bulk_create_contacts
36
+ # Bulk create contacts
37
+ # Import up to 1000 contacts at a time. Skips duplicates.
38
+ # @param bulk_create_contacts_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'bulk_create_contacts test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for create_contact
48
+ # Create a contact
49
+ # Create a new contact. Optionally create a platform channel in the same request by providing accountId, platform, and platformIdentifier.
50
+ # @param create_contact_request
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'create_contact test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for delete_contact
60
+ # Delete a contact
61
+ # @param contact_id
62
+ # @param [Hash] opts the optional parameters
63
+ # @return [nil]
64
+ describe 'delete_contact test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ # unit tests for get_contact
71
+ # Get contact with channels
72
+ # @param contact_id
73
+ # @param [Hash] opts the optional parameters
74
+ # @return [nil]
75
+ describe 'get_contact test' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
78
+ end
79
+ end
80
+
81
+ # unit tests for get_contact_channels
82
+ # List channels for a contact
83
+ # @param contact_id
84
+ # @param [Hash] opts the optional parameters
85
+ # @return [nil]
86
+ describe 'get_contact_channels test' do
87
+ it 'should work' do
88
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
89
+ end
90
+ end
91
+
92
+ # unit tests for list_contacts
93
+ # List contacts
94
+ # List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and full-text search.
95
+ # @param profile_id
96
+ # @param [Hash] opts the optional parameters
97
+ # @option opts [String] :search
98
+ # @option opts [String] :tag
99
+ # @option opts [String] :platform
100
+ # @option opts [String] :is_subscribed
101
+ # @option opts [Integer] :limit
102
+ # @option opts [Integer] :skip
103
+ # @return [nil]
104
+ describe 'list_contacts test' do
105
+ it 'should work' do
106
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
107
+ end
108
+ end
109
+
110
+ # unit tests for update_contact
111
+ # Update a contact
112
+ # @param contact_id
113
+ # @param [Hash] opts the optional parameters
114
+ # @option opts [UpdateContactRequest] :update_contact_request
115
+ # @return [nil]
116
+ describe 'update_contact test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
119
+ end
120
+ end
121
+
122
+ end
@@ -0,0 +1,105 @@
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
+
16
+ # Unit tests for Late::CustomFieldsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'CustomFieldsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Late::CustomFieldsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CustomFieldsApi' do
30
+ it 'should create an instance of CustomFieldsApi' do
31
+ expect(@api_instance).to be_instance_of(Late::CustomFieldsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for clear_contact_field_value
36
+ # Clear a custom field value
37
+ # @param contact_id
38
+ # @param slug
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'clear_contact_field_value test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for create_custom_field
48
+ # Create a custom field definition
49
+ # @param create_custom_field_request
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [nil]
52
+ describe 'create_custom_field test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ # unit tests for delete_custom_field
59
+ # Delete a custom field definition
60
+ # @param field_id
61
+ # @param [Hash] opts the optional parameters
62
+ # @return [nil]
63
+ describe 'delete_custom_field test' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
66
+ end
67
+ end
68
+
69
+ # unit tests for list_custom_fields
70
+ # List custom field definitions
71
+ # @param profile_id
72
+ # @param [Hash] opts the optional parameters
73
+ # @return [nil]
74
+ describe 'list_custom_fields test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
77
+ end
78
+ end
79
+
80
+ # unit tests for set_contact_field_value
81
+ # Set a custom field value
82
+ # @param contact_id
83
+ # @param slug
84
+ # @param set_contact_field_value_request
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [nil]
87
+ describe 'set_contact_field_value test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
90
+ end
91
+ end
92
+
93
+ # unit tests for update_custom_field
94
+ # Update a custom field definition
95
+ # @param field_id
96
+ # @param [Hash] opts the optional parameters
97
+ # @option opts [UpdateCustomFieldRequest] :update_custom_field_request
98
+ # @return [nil]
99
+ describe 'update_custom_field test' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
102
+ end
103
+ end
104
+
105
+ end
@@ -0,0 +1,153 @@
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
+
16
+ # Unit tests for Late::SequencesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'SequencesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Late::SequencesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of SequencesApi' do
30
+ it 'should create an instance of SequencesApi' do
31
+ expect(@api_instance).to be_instance_of(Late::SequencesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for activate_sequence
36
+ # Activate a sequence
37
+ # @param sequence_id
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [nil]
40
+ describe 'activate_sequence test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ # unit tests for create_sequence
47
+ # Create a sequence
48
+ # @param create_sequence_request
49
+ # @param [Hash] opts the optional parameters
50
+ # @return [nil]
51
+ describe 'create_sequence test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
54
+ end
55
+ end
56
+
57
+ # unit tests for delete_sequence
58
+ # Delete a sequence
59
+ # @param sequence_id
60
+ # @param [Hash] opts the optional parameters
61
+ # @return [nil]
62
+ describe 'delete_sequence test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
65
+ end
66
+ end
67
+
68
+ # unit tests for enroll_contacts
69
+ # Enroll contacts in a sequence
70
+ # @param sequence_id
71
+ # @param enroll_contacts_request
72
+ # @param [Hash] opts the optional parameters
73
+ # @return [nil]
74
+ describe 'enroll_contacts test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
77
+ end
78
+ end
79
+
80
+ # unit tests for get_sequence
81
+ # Get sequence with steps
82
+ # @param sequence_id
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [nil]
85
+ describe 'get_sequence test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
88
+ end
89
+ end
90
+
91
+ # unit tests for list_sequence_enrollments
92
+ # List enrollments for a sequence
93
+ # @param sequence_id
94
+ # @param [Hash] opts the optional parameters
95
+ # @option opts [String] :status
96
+ # @option opts [Integer] :limit
97
+ # @option opts [Integer] :skip
98
+ # @return [nil]
99
+ describe 'list_sequence_enrollments test' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
102
+ end
103
+ end
104
+
105
+ # unit tests for list_sequences
106
+ # List sequences
107
+ # @param profile_id
108
+ # @param [Hash] opts the optional parameters
109
+ # @option opts [String] :status
110
+ # @option opts [Integer] :limit
111
+ # @option opts [Integer] :skip
112
+ # @return [nil]
113
+ describe 'list_sequences test' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
116
+ end
117
+ end
118
+
119
+ # unit tests for pause_sequence
120
+ # Pause a sequence
121
+ # @param sequence_id
122
+ # @param [Hash] opts the optional parameters
123
+ # @return [nil]
124
+ describe 'pause_sequence test' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
127
+ end
128
+ end
129
+
130
+ # unit tests for unenroll_contact
131
+ # Unenroll a contact from a sequence
132
+ # @param sequence_id
133
+ # @param contact_id
134
+ # @param [Hash] opts the optional parameters
135
+ # @return [nil]
136
+ describe 'unenroll_contact test' do
137
+ it 'should work' do
138
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
139
+ end
140
+ end
141
+
142
+ # unit tests for update_sequence
143
+ # Update a sequence
144
+ # @param sequence_id
145
+ # @param [Hash] opts the optional parameters
146
+ # @return [nil]
147
+ describe 'update_sequence test' do
148
+ it 'should work' do
149
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
150
+ end
151
+ end
152
+
153
+ end