sib-api-v3-sdk 8.1.0 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +82 -14
- data/docs/Body.md +2 -11
- data/docs/Body1.md +2 -11
- data/docs/Body10.md +11 -0
- data/docs/Body11.md +8 -0
- data/docs/Body12.md +11 -0
- data/docs/Body2.md +11 -0
- data/docs/Body3.md +9 -0
- data/docs/Body4.md +9 -0
- data/docs/Body5.md +11 -0
- data/docs/Body6.md +18 -0
- data/docs/Body7.md +17 -0
- data/docs/Body8.md +13 -0
- data/docs/Body9.md +8 -0
- data/docs/CompaniesApi.md +425 -0
- data/docs/CompaniesList.md +8 -0
- data/docs/Company.md +11 -0
- data/docs/CompanyAttributes.md +7 -0
- data/docs/CompanyAttributesInner.md +12 -0
- data/docs/ContactsApi.md +8 -2
- data/docs/ConversationsApi.md +542 -0
- data/docs/ConversationsMessage.md +17 -0
- data/docs/ConversationsMessageFile.md +12 -0
- data/docs/ConversationsMessageFileImageInfo.md +10 -0
- data/docs/CreateContact.md +1 -1
- data/docs/CreateSubAccount.md +3 -3
- data/docs/CreateSubAccountResponse.md +8 -0
- data/docs/Deal.md +11 -0
- data/docs/DealAttributes.md +7 -0
- data/docs/DealAttributesInner.md +12 -0
- data/docs/DealsApi.md +476 -0
- data/docs/DealsList.md +8 -0
- data/docs/EmailCampaignsApi.md +6 -5
- data/docs/FileData.md +3 -6
- data/docs/FileDownloadableLink.md +8 -0
- data/docs/FileList.md +7 -0
- data/docs/FilesApi.md +318 -0
- data/docs/GetCampaignStats.md +2 -0
- data/docs/GetScheduledEmailByBatchId.md +9 -0
- data/docs/GetScheduledEmailByBatchIdBatches.md +10 -0
- data/docs/GetScheduledEmailByMessageId.md +10 -0
- data/docs/GetSsoToken.md +1 -1
- data/docs/InboundParsingApi.md +60 -0
- data/docs/InlineResponse200.md +8 -0
- data/docs/InlineResponse201.md +8 -0
- data/docs/InlineResponse2011.md +8 -0
- data/docs/MasterAccountApi.md +6 -6
- data/docs/NoteId.md +8 -0
- data/docs/NoteList.md +7 -0
- data/docs/NotesApi.md +312 -0
- data/docs/Pipeline.md +8 -0
- data/docs/PipelineStage.md +9 -0
- data/docs/ScheduleSmtpEmail.md +10 -0
- data/docs/SendSmtpEmail.md +3 -1
- data/docs/SubAccountDetailsResponsePlanInfoCredits.md +1 -1
- data/docs/SubAccountsResponseSubAccounts.md +4 -4
- data/docs/Task.md +0 -11
- data/docs/TaskList.md +8 -0
- data/docs/TaskReminder.md +1 -1
- data/docs/TaskTypes.md +0 -1
- data/docs/TasksApi.md +376 -0
- data/docs/TransactionalEmailsApi.md +199 -0
- data/docs/UpdateContact.md +1 -1
- data/docs/UpdateEmailCampaign.md +1 -1
- data/docs/UpdateSmtpTemplate.md +1 -1
- data/docs/UploadImageModel.md +8 -0
- data/lib/sib-api-v3-sdk/api/companies_api.rb +409 -0
- data/lib/sib-api-v3-sdk/api/contacts_api.rb +6 -0
- data/lib/sib-api-v3-sdk/api/conversations_api.rb +504 -0
- data/lib/sib-api-v3-sdk/api/deals_api.rb +454 -0
- data/lib/sib-api-v3-sdk/api/email_campaigns_api.rb +9 -8
- data/lib/sib-api-v3-sdk/api/files_api.rb +313 -0
- data/lib/sib-api-v3-sdk/api/inbound_parsing_api.rb +53 -1
- data/lib/sib-api-v3-sdk/api/master_account_api.rb +9 -9
- data/lib/sib-api-v3-sdk/api/notes_api.rb +308 -0
- data/lib/sib-api-v3-sdk/api/tasks_api.rb +375 -0
- data/lib/sib-api-v3-sdk/api/transactional_emails_api.rb +195 -0
- data/lib/sib-api-v3-sdk/models/body.rb +9 -114
- data/lib/sib-api-v3-sdk/models/body_1.rb +9 -119
- data/lib/sib-api-v3-sdk/models/body_10.rb +225 -0
- data/lib/sib-api-v3-sdk/models/body_11.rb +190 -0
- data/lib/sib-api-v3-sdk/models/body_12.rb +215 -0
- data/lib/sib-api-v3-sdk/models/body_2.rb +223 -0
- data/lib/sib-api-v3-sdk/models/body_3.rb +200 -0
- data/lib/sib-api-v3-sdk/models/body_4.rb +195 -0
- data/lib/sib-api-v3-sdk/models/body_5.rb +223 -0
- data/lib/sib-api-v3-sdk/models/body_6.rb +320 -0
- data/lib/sib-api-v3-sdk/models/body_7.rb +281 -0
- data/lib/sib-api-v3-sdk/models/body_8.rb +245 -0
- data/lib/sib-api-v3-sdk/models/body_9.rb +190 -0
- data/lib/sib-api-v3-sdk/models/companies_list.rb +188 -0
- data/lib/sib-api-v3-sdk/models/company.rb +220 -0
- data/lib/sib-api-v3-sdk/models/company_attributes.rb +176 -0
- data/lib/sib-api-v3-sdk/models/company_attributes_inner.rb +223 -0
- data/lib/sib-api-v3-sdk/models/conversations_message.rb +324 -0
- data/lib/sib-api-v3-sdk/models/conversations_message_file.rb +239 -0
- data/lib/sib-api-v3-sdk/models/conversations_message_file_image_info.rb +236 -0
- data/lib/sib-api-v3-sdk/models/create_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_sub_account.rb +3 -3
- data/lib/sib-api-v3-sdk/models/create_sub_account_response.rb +190 -0
- data/lib/sib-api-v3-sdk/models/deal.rb +220 -0
- data/lib/sib-api-v3-sdk/models/deal_attributes.rb +176 -0
- data/lib/sib-api-v3-sdk/models/deal_attributes_inner.rb +223 -0
- data/lib/sib-api-v3-sdk/models/deals_list.rb +188 -0
- data/lib/sib-api-v3-sdk/models/file_data.rb +22 -54
- data/lib/sib-api-v3-sdk/models/file_downloadable_link.rb +190 -0
- data/lib/sib-api-v3-sdk/models/file_list.rb +176 -0
- data/lib/sib-api-v3-sdk/models/get_campaign_stats.rb +21 -1
- data/lib/sib-api-v3-sdk/models/get_scheduled_email_by_batch_id.rb +196 -0
- data/lib/sib-api-v3-sdk/models/{contact.rb → get_scheduled_email_by_batch_id_batches.rb} +62 -74
- data/lib/sib-api-v3-sdk/models/get_scheduled_email_by_message_id.rb +254 -0
- data/lib/sib-api-v3-sdk/models/get_sso_token.rb +1 -1
- data/lib/sib-api-v3-sdk/models/inline_response_200.rb +191 -0
- data/lib/sib-api-v3-sdk/models/inline_response_201.rb +191 -0
- data/lib/sib-api-v3-sdk/models/inline_response_201_1.rb +191 -0
- data/lib/sib-api-v3-sdk/models/note_id.rb +186 -0
- data/lib/sib-api-v3-sdk/models/note_list.rb +176 -0
- data/lib/sib-api-v3-sdk/models/pipeline.rb +188 -0
- data/lib/sib-api-v3-sdk/models/pipeline_stage.rb +196 -0
- data/lib/sib-api-v3-sdk/models/schedule_smtp_email.rb +206 -0
- data/lib/sib-api-v3-sdk/models/send_smtp_email.rb +24 -4
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits.rb +2 -2
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_credits_emails.rb +1 -1
- data/lib/sib-api-v3-sdk/models/sub_account_details_response_plan_info_features.rb +1 -1
- data/lib/sib-api-v3-sdk/models/sub_accounts_response_sub_accounts.rb +4 -4
- data/lib/sib-api-v3-sdk/models/task.rb +4 -119
- data/lib/sib-api-v3-sdk/models/task_list.rb +188 -0
- data/lib/sib-api-v3-sdk/models/task_reminder.rb +1 -1
- data/lib/sib-api-v3-sdk/models/task_types.rb +1 -11
- data/lib/sib-api-v3-sdk/models/update_contact.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_smtp_template.rb +1 -1
- data/lib/sib-api-v3-sdk/models/upload_image_model.rb +190 -0
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/lib/sib-api-v3-sdk.rb +44 -2
- data/spec/api/companies_api_spec.rb +119 -0
- data/spec/api/contacts_api_spec.rb +2 -0
- data/spec/api/conversations_api_spec.rb +140 -0
- data/spec/api/deals_api_spec.rb +129 -0
- data/spec/api/email_campaigns_api_spec.rb +1 -1
- data/spec/api/files_api_spec.rb +99 -0
- data/spec/api/inbound_parsing_api_spec.rb +12 -0
- data/spec/api/master_account_api_spec.rb +4 -4
- data/spec/api/notes_api_spec.rb +97 -0
- data/spec/api/{crm_api_spec.rb → tasks_api_spec.rb} +25 -92
- data/spec/api/transactional_emails_api_spec.rb +44 -0
- data/spec/models/body_10_spec.rb +59 -0
- data/spec/models/body_11_spec.rb +41 -0
- data/spec/models/body_12_spec.rb +59 -0
- data/spec/models/body_1_spec.rb +1 -55
- data/spec/models/body_2_spec.rb +59 -0
- data/spec/models/body_3_spec.rb +47 -0
- data/spec/models/body_4_spec.rb +47 -0
- data/spec/models/body_5_spec.rb +59 -0
- data/spec/models/body_6_spec.rb +101 -0
- data/spec/models/{contact_spec.rb → body_7_spec.rb} +26 -14
- data/spec/models/body_8_spec.rb +71 -0
- data/spec/models/body_9_spec.rb +41 -0
- data/spec/models/body_spec.rb +1 -55
- data/spec/models/companies_list_spec.rb +41 -0
- data/spec/models/company_attributes_inner_spec.rb +65 -0
- data/spec/models/company_attributes_spec.rb +35 -0
- data/spec/models/company_spec.rb +59 -0
- data/spec/models/conversations_message_file_image_info_spec.rb +53 -0
- data/spec/models/conversations_message_file_spec.rb +65 -0
- data/spec/models/conversations_message_spec.rb +99 -0
- data/spec/models/create_sub_account_response_spec.rb +41 -0
- data/spec/models/deal_attributes_inner_spec.rb +65 -0
- data/spec/models/deal_attributes_spec.rb +35 -0
- data/spec/models/deal_spec.rb +59 -0
- data/spec/models/deals_list_spec.rb +41 -0
- data/spec/models/file_data_spec.rb +3 -21
- data/spec/models/file_downloadable_link_spec.rb +41 -0
- data/spec/models/file_list_spec.rb +35 -0
- data/spec/models/get_campaign_stats_spec.rb +12 -0
- data/spec/models/get_scheduled_email_by_batch_id_batches_spec.rb +57 -0
- data/spec/models/get_scheduled_email_by_batch_id_spec.rb +47 -0
- data/spec/models/get_scheduled_email_by_message_id_spec.rb +57 -0
- data/spec/models/inline_response_200_spec.rb +41 -0
- data/spec/models/inline_response_201_1_spec.rb +41 -0
- data/spec/models/inline_response_201_spec.rb +41 -0
- data/spec/models/note_id_spec.rb +41 -0
- data/spec/models/note_list_spec.rb +35 -0
- data/spec/models/pipeline_spec.rb +41 -0
- data/spec/models/pipeline_stage_spec.rb +47 -0
- data/spec/models/schedule_smtp_email_spec.rb +53 -0
- data/spec/models/send_smtp_email_spec.rb +12 -0
- data/spec/models/task_list_spec.rb +41 -0
- data/spec/models/task_spec.rb +0 -66
- data/spec/models/task_types_spec.rb +0 -6
- data/spec/models/upload_image_model_spec.rb +41 -0
- metadata +179 -11
- data/docs/CRMApi.md +0 -762
- data/docs/Contact.md +0 -15
- data/lib/sib-api-v3-sdk/api/crm_api.rb +0 -716
data/lib/sib-api-v3-sdk.rb
CHANGED
@@ -29,7 +29,24 @@ require 'sib-api-v3-sdk/models/add_credits'
|
|
29
29
|
require 'sib-api-v3-sdk/models/block_domain'
|
30
30
|
require 'sib-api-v3-sdk/models/body'
|
31
31
|
require 'sib-api-v3-sdk/models/body_1'
|
32
|
-
require 'sib-api-v3-sdk/models/
|
32
|
+
require 'sib-api-v3-sdk/models/body_10'
|
33
|
+
require 'sib-api-v3-sdk/models/body_11'
|
34
|
+
require 'sib-api-v3-sdk/models/body_12'
|
35
|
+
require 'sib-api-v3-sdk/models/body_2'
|
36
|
+
require 'sib-api-v3-sdk/models/body_3'
|
37
|
+
require 'sib-api-v3-sdk/models/body_4'
|
38
|
+
require 'sib-api-v3-sdk/models/body_5'
|
39
|
+
require 'sib-api-v3-sdk/models/body_6'
|
40
|
+
require 'sib-api-v3-sdk/models/body_7'
|
41
|
+
require 'sib-api-v3-sdk/models/body_8'
|
42
|
+
require 'sib-api-v3-sdk/models/body_9'
|
43
|
+
require 'sib-api-v3-sdk/models/companies_list'
|
44
|
+
require 'sib-api-v3-sdk/models/company'
|
45
|
+
require 'sib-api-v3-sdk/models/company_attributes'
|
46
|
+
require 'sib-api-v3-sdk/models/company_attributes_inner'
|
47
|
+
require 'sib-api-v3-sdk/models/conversations_message'
|
48
|
+
require 'sib-api-v3-sdk/models/conversations_message_file'
|
49
|
+
require 'sib-api-v3-sdk/models/conversations_message_file_image_info'
|
33
50
|
require 'sib-api-v3-sdk/models/create_attribute'
|
34
51
|
require 'sib-api-v3-sdk/models/create_attribute_enumeration'
|
35
52
|
require 'sib-api-v3-sdk/models/create_child'
|
@@ -50,14 +67,21 @@ require 'sib-api-v3-sdk/models/create_smtp_email'
|
|
50
67
|
require 'sib-api-v3-sdk/models/create_smtp_template'
|
51
68
|
require 'sib-api-v3-sdk/models/create_smtp_template_sender'
|
52
69
|
require 'sib-api-v3-sdk/models/create_sub_account'
|
70
|
+
require 'sib-api-v3-sdk/models/create_sub_account_response'
|
53
71
|
require 'sib-api-v3-sdk/models/create_update_contact_model'
|
54
72
|
require 'sib-api-v3-sdk/models/create_update_folder'
|
55
73
|
require 'sib-api-v3-sdk/models/create_webhook'
|
56
74
|
require 'sib-api-v3-sdk/models/created_process_id'
|
75
|
+
require 'sib-api-v3-sdk/models/deal'
|
76
|
+
require 'sib-api-v3-sdk/models/deal_attributes'
|
77
|
+
require 'sib-api-v3-sdk/models/deal_attributes_inner'
|
78
|
+
require 'sib-api-v3-sdk/models/deals_list'
|
57
79
|
require 'sib-api-v3-sdk/models/delete_hardbounces'
|
58
80
|
require 'sib-api-v3-sdk/models/email_export_recipients'
|
59
81
|
require 'sib-api-v3-sdk/models/error_model'
|
60
82
|
require 'sib-api-v3-sdk/models/file_data'
|
83
|
+
require 'sib-api-v3-sdk/models/file_downloadable_link'
|
84
|
+
require 'sib-api-v3-sdk/models/file_list'
|
61
85
|
require 'sib-api-v3-sdk/models/get_account'
|
62
86
|
require 'sib-api-v3-sdk/models/get_account_marketing_automation'
|
63
87
|
require 'sib-api-v3-sdk/models/get_account_plan'
|
@@ -130,6 +154,9 @@ require 'sib-api-v3-sdk/models/get_process'
|
|
130
154
|
require 'sib-api-v3-sdk/models/get_processes'
|
131
155
|
require 'sib-api-v3-sdk/models/get_reports'
|
132
156
|
require 'sib-api-v3-sdk/models/get_reports_reports'
|
157
|
+
require 'sib-api-v3-sdk/models/get_scheduled_email_by_batch_id'
|
158
|
+
require 'sib-api-v3-sdk/models/get_scheduled_email_by_batch_id_batches'
|
159
|
+
require 'sib-api-v3-sdk/models/get_scheduled_email_by_message_id'
|
133
160
|
require 'sib-api-v3-sdk/models/get_senders_list'
|
134
161
|
require 'sib-api-v3-sdk/models/get_senders_list_ips'
|
135
162
|
require 'sib-api-v3-sdk/models/get_senders_list_senders'
|
@@ -160,6 +187,9 @@ require 'sib-api-v3-sdk/models/get_transac_sms_report'
|
|
160
187
|
require 'sib-api-v3-sdk/models/get_transac_sms_report_reports'
|
161
188
|
require 'sib-api-v3-sdk/models/get_webhook'
|
162
189
|
require 'sib-api-v3-sdk/models/get_webhooks'
|
190
|
+
require 'sib-api-v3-sdk/models/inline_response_200'
|
191
|
+
require 'sib-api-v3-sdk/models/inline_response_201'
|
192
|
+
require 'sib-api-v3-sdk/models/inline_response_201_1'
|
163
193
|
require 'sib-api-v3-sdk/models/manage_ip'
|
164
194
|
require 'sib-api-v3-sdk/models/master_details_response'
|
165
195
|
require 'sib-api-v3-sdk/models/master_details_response_billing_info'
|
@@ -169,6 +199,10 @@ require 'sib-api-v3-sdk/models/master_details_response_plan_info'
|
|
169
199
|
require 'sib-api-v3-sdk/models/master_details_response_plan_info_features'
|
170
200
|
require 'sib-api-v3-sdk/models/note'
|
171
201
|
require 'sib-api-v3-sdk/models/note_data'
|
202
|
+
require 'sib-api-v3-sdk/models/note_id'
|
203
|
+
require 'sib-api-v3-sdk/models/note_list'
|
204
|
+
require 'sib-api-v3-sdk/models/pipeline'
|
205
|
+
require 'sib-api-v3-sdk/models/pipeline_stage'
|
172
206
|
require 'sib-api-v3-sdk/models/post_contact_info'
|
173
207
|
require 'sib-api-v3-sdk/models/post_contact_info_contacts'
|
174
208
|
require 'sib-api-v3-sdk/models/post_send_failed'
|
@@ -183,6 +217,7 @@ require 'sib-api-v3-sdk/models/request_contact_export_custom_contact_filter'
|
|
183
217
|
require 'sib-api-v3-sdk/models/request_contact_import'
|
184
218
|
require 'sib-api-v3-sdk/models/request_contact_import_new_list'
|
185
219
|
require 'sib-api-v3-sdk/models/request_sms_recipient_export'
|
220
|
+
require 'sib-api-v3-sdk/models/schedule_smtp_email'
|
186
221
|
require 'sib-api-v3-sdk/models/send_report'
|
187
222
|
require 'sib-api-v3-sdk/models/send_report_email'
|
188
223
|
require 'sib-api-v3-sdk/models/send_sms'
|
@@ -214,6 +249,7 @@ require 'sib-api-v3-sdk/models/sub_account_update_plan_request_features'
|
|
214
249
|
require 'sib-api-v3-sdk/models/sub_accounts_response'
|
215
250
|
require 'sib-api-v3-sdk/models/sub_accounts_response_sub_accounts'
|
216
251
|
require 'sib-api-v3-sdk/models/task'
|
252
|
+
require 'sib-api-v3-sdk/models/task_list'
|
217
253
|
require 'sib-api-v3-sdk/models/task_reminder'
|
218
254
|
require 'sib-api-v3-sdk/models/task_types'
|
219
255
|
require 'sib-api-v3-sdk/models/update_attribute'
|
@@ -235,22 +271,28 @@ require 'sib-api-v3-sdk/models/update_sms_campaign'
|
|
235
271
|
require 'sib-api-v3-sdk/models/update_smtp_template'
|
236
272
|
require 'sib-api-v3-sdk/models/update_smtp_template_sender'
|
237
273
|
require 'sib-api-v3-sdk/models/update_webhook'
|
274
|
+
require 'sib-api-v3-sdk/models/upload_image_model'
|
238
275
|
require 'sib-api-v3-sdk/models/upload_image_to_gallery'
|
239
276
|
|
240
277
|
# APIs
|
241
278
|
require 'sib-api-v3-sdk/api/account_api'
|
242
279
|
require 'sib-api-v3-sdk/api/attributes_api'
|
243
|
-
require 'sib-api-v3-sdk/api/
|
280
|
+
require 'sib-api-v3-sdk/api/companies_api'
|
244
281
|
require 'sib-api-v3-sdk/api/contacts_api'
|
282
|
+
require 'sib-api-v3-sdk/api/conversations_api'
|
283
|
+
require 'sib-api-v3-sdk/api/deals_api'
|
245
284
|
require 'sib-api-v3-sdk/api/email_campaigns_api'
|
285
|
+
require 'sib-api-v3-sdk/api/files_api'
|
246
286
|
require 'sib-api-v3-sdk/api/folders_api'
|
247
287
|
require 'sib-api-v3-sdk/api/inbound_parsing_api'
|
248
288
|
require 'sib-api-v3-sdk/api/lists_api'
|
249
289
|
require 'sib-api-v3-sdk/api/master_account_api'
|
290
|
+
require 'sib-api-v3-sdk/api/notes_api'
|
250
291
|
require 'sib-api-v3-sdk/api/process_api'
|
251
292
|
require 'sib-api-v3-sdk/api/reseller_api'
|
252
293
|
require 'sib-api-v3-sdk/api/sms_campaigns_api'
|
253
294
|
require 'sib-api-v3-sdk/api/senders_api'
|
295
|
+
require 'sib-api-v3-sdk/api/tasks_api'
|
254
296
|
require 'sib-api-v3-sdk/api/transactional_emails_api'
|
255
297
|
require 'sib-api-v3-sdk/api/transactional_sms_api'
|
256
298
|
require 'sib-api-v3-sdk/api/webhooks_api'
|
@@ -0,0 +1,119 @@
|
|
1
|
+
=begin
|
2
|
+
#SendinBlue API
|
3
|
+
|
4
|
+
#SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
|
+
Contact: contact@sendinblue.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for SibApiV3Sdk::CompaniesApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'CompaniesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SibApiV3Sdk::CompaniesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of CompaniesApi' do
|
30
|
+
it 'should create an instance of CompaniesApi' do
|
31
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::CompaniesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for companies_attributes_get
|
36
|
+
# Get company attributes
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [CompanyAttributes]
|
39
|
+
describe 'companies_attributes_get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# unit tests for companies_get
|
46
|
+
# Get all companies
|
47
|
+
# @param [Hash] opts the optional parameters
|
48
|
+
# @option opts [String] :filters Filter by attrbutes. If you have filter for owner on your side please send it as {\"attributes.owner\":\"5b1a17d914b73d35a76ca0c7\"}
|
49
|
+
# @option opts [Integer] :linked_contacts_ids Filter by linked contacts ids
|
50
|
+
# @option opts [String] :linked_deals_ids Filter by linked deals ids
|
51
|
+
# @option opts [Integer] :page Index of the first document of the page
|
52
|
+
# @option opts [Integer] :limit Number of documents per page
|
53
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed
|
54
|
+
# @option opts [String] :sort_by The field used to sort field names.
|
55
|
+
# @return [CompaniesList]
|
56
|
+
describe 'companies_get test' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# unit tests for companies_id_delete
|
63
|
+
# Delete a company
|
64
|
+
# @param id
|
65
|
+
# @param [Hash] opts the optional parameters
|
66
|
+
# @return [nil]
|
67
|
+
describe 'companies_id_delete test' do
|
68
|
+
it 'should work' do
|
69
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# unit tests for companies_id_get
|
74
|
+
# Get a company
|
75
|
+
# @param id
|
76
|
+
# @param [Hash] opts the optional parameters
|
77
|
+
# @return [Company]
|
78
|
+
describe 'companies_id_get test' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# unit tests for companies_id_patch
|
85
|
+
# Update a company
|
86
|
+
# @param id
|
87
|
+
# @param body Updated company details.
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @return [Company]
|
90
|
+
describe 'companies_id_patch test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for companies_link_unlink_id_patch
|
97
|
+
# Link and Unlink company with contacts and deals
|
98
|
+
# @param id
|
99
|
+
# @param body Linked / Unlinked contacts and deals ids.
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [nil]
|
102
|
+
describe 'companies_link_unlink_id_patch test' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# unit tests for companies_post
|
109
|
+
# Create a company
|
110
|
+
# @param body Company create data.
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [InlineResponse200]
|
113
|
+
describe 'companies_post test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
@@ -161,6 +161,8 @@ describe 'ContactsApi' do
|
|
161
161
|
# Along with the contact details, this endpoint will show the statistics of contact for the recent 90 days by default. To fetch the earlier statistics, please use Get contact campaign stats (https://developers.sendinblue.com/reference/contacts-7#getcontactstats) endpoint with the appropriate date ranges.
|
162
162
|
# @param identifier Email (urlencoded) OR ID of the contact OR its SMS attribute value
|
163
163
|
# @param [Hash] opts the optional parameters
|
164
|
+
# @option opts [Object] :start_date **Mandatory if endDate is used.** Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
|
165
|
+
# @option opts [Object] :end_date **Mandatory if startDate is used.** Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate.
|
164
166
|
# @return [GetExtendedContactDetails]
|
165
167
|
describe 'get_contact_info test' do
|
166
168
|
it 'should work' do
|
@@ -0,0 +1,140 @@
|
|
1
|
+
=begin
|
2
|
+
#SendinBlue API
|
3
|
+
|
4
|
+
#SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
|
+
Contact: contact@sendinblue.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for SibApiV3Sdk::ConversationsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ConversationsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SibApiV3Sdk::ConversationsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ConversationsApi' do
|
30
|
+
it 'should create an instance of ConversationsApi' do
|
31
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::ConversationsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for conversations_agent_online_ping_post
|
36
|
+
# Sets agent’s status to online for 2-3 minutes
|
37
|
+
# We recommend pinging this endpoint every minute for as long as the agent has to be considered online.
|
38
|
+
# @param body Agent fields.
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [nil]
|
41
|
+
describe 'conversations_agent_online_ping_post test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for conversations_messages_id_delete
|
48
|
+
# Delete a message sent by an agent
|
49
|
+
# Only agents’ messages can be deleted.
|
50
|
+
# @param id ID of the message
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [nil]
|
53
|
+
describe 'conversations_messages_id_delete test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for conversations_messages_id_get
|
60
|
+
# Get a message
|
61
|
+
# @param id ID of the message
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @return [ConversationsMessage]
|
64
|
+
describe 'conversations_messages_id_get test' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# unit tests for conversations_messages_id_put
|
71
|
+
# Update a message sent by an agent
|
72
|
+
# Only agents’ messages can be edited.
|
73
|
+
# @param id ID of the message
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @option opts [Body9] :body
|
76
|
+
# @return [ConversationsMessage]
|
77
|
+
describe 'conversations_messages_id_put test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for conversations_messages_post
|
84
|
+
# Send a message as an agent
|
85
|
+
# @param body Message fields.
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @return [ConversationsMessage]
|
88
|
+
describe 'conversations_messages_post test' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# unit tests for conversations_pushed_messages_id_delete
|
95
|
+
# Delete an automated message
|
96
|
+
# @param id ID of the message
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @return [nil]
|
99
|
+
describe 'conversations_pushed_messages_id_delete test' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# unit tests for conversations_pushed_messages_id_get
|
106
|
+
# Get an automated message
|
107
|
+
# @param id ID of the message sent previously
|
108
|
+
# @param [Hash] opts the optional parameters
|
109
|
+
# @return [ConversationsMessage]
|
110
|
+
describe 'conversations_pushed_messages_id_get test' do
|
111
|
+
it 'should work' do
|
112
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
# unit tests for conversations_pushed_messages_id_put
|
117
|
+
# Update an automated message
|
118
|
+
# @param id ID of the message
|
119
|
+
# @param body
|
120
|
+
# @param [Hash] opts the optional parameters
|
121
|
+
# @return [ConversationsMessage]
|
122
|
+
describe 'conversations_pushed_messages_id_put test' do
|
123
|
+
it 'should work' do
|
124
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# unit tests for conversations_pushed_messages_post
|
129
|
+
# Send an automated message to a visitor
|
130
|
+
# Example of automated messages: order status, announce new features in your web app, etc.
|
131
|
+
# @param body
|
132
|
+
# @param [Hash] opts the optional parameters
|
133
|
+
# @return [ConversationsMessage]
|
134
|
+
describe 'conversations_pushed_messages_post test' do
|
135
|
+
it 'should work' do
|
136
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
end
|
@@ -0,0 +1,129 @@
|
|
1
|
+
=begin
|
2
|
+
#SendinBlue API
|
3
|
+
|
4
|
+
#SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
|
+
Contact: contact@sendinblue.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for SibApiV3Sdk::DealsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'DealsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SibApiV3Sdk::DealsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of DealsApi' do
|
30
|
+
it 'should create an instance of DealsApi' do
|
31
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::DealsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for crm_attributes_deals_get
|
36
|
+
# Get deal attributes
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [DealAttributes]
|
39
|
+
describe 'crm_attributes_deals_get test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# unit tests for crm_deals_get
|
46
|
+
# Get all deals
|
47
|
+
# @param [Hash] opts the optional parameters
|
48
|
+
# @option opts [String] :filter_attributes Filter by attrbutes. If you have filter for owner on your side please send it as `attributes.owner`.\"
|
49
|
+
# @option opts [String] :filter_linked_companies_ids Filter by linked companies ids
|
50
|
+
# @option opts [String] :filter_linked_contacts_ids Filter by linked companies ids
|
51
|
+
# @option opts [Integer] :offset Index of the first document of the page
|
52
|
+
# @option opts [Integer] :limit Number of documents per page
|
53
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed
|
54
|
+
# @option opts [String] :sort_by The field used to sort field names.
|
55
|
+
# @return [DealsList]
|
56
|
+
describe 'crm_deals_get test' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# unit tests for crm_deals_id_delete
|
63
|
+
# Delete a deal
|
64
|
+
# @param id
|
65
|
+
# @param [Hash] opts the optional parameters
|
66
|
+
# @return [nil]
|
67
|
+
describe 'crm_deals_id_delete test' do
|
68
|
+
it 'should work' do
|
69
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# unit tests for crm_deals_id_get
|
74
|
+
# Get a deal
|
75
|
+
# @param id
|
76
|
+
# @param [Hash] opts the optional parameters
|
77
|
+
# @return [Deal]
|
78
|
+
describe 'crm_deals_id_get test' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# unit tests for crm_deals_id_patch
|
85
|
+
# Update a deal
|
86
|
+
# @param id
|
87
|
+
# @param body Updated deal details.
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @return [nil]
|
90
|
+
describe 'crm_deals_id_patch test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for crm_deals_link_unlink_id_patch
|
97
|
+
# Link and Unlink a deal with contacts and companies
|
98
|
+
# @param id
|
99
|
+
# @param body Linked / Unlinked contacts and companies ids.
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [nil]
|
102
|
+
describe 'crm_deals_link_unlink_id_patch test' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# unit tests for crm_deals_post
|
109
|
+
# Create a deal
|
110
|
+
# @param body Deal create data.
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [InlineResponse201]
|
113
|
+
describe 'crm_deals_post test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# unit tests for crm_pipeline_details_get
|
120
|
+
# Get pipeline stages
|
121
|
+
# @param [Hash] opts the optional parameters
|
122
|
+
# @return [Pipeline]
|
123
|
+
describe 'crm_pipeline_details_get test' do
|
124
|
+
it 'should work' do
|
125
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
end
|
@@ -182,7 +182,7 @@ describe 'EmailCampaignsApi' do
|
|
182
182
|
# Upload an image to your account's image gallery
|
183
183
|
# @param upload_image Parameters to upload an image
|
184
184
|
# @param [Hash] opts the optional parameters
|
185
|
-
# @return [
|
185
|
+
# @return [UploadImageModel]
|
186
186
|
describe 'upload_image_to_gallery test' do
|
187
187
|
it 'should work' do
|
188
188
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,99 @@
|
|
1
|
+
=begin
|
2
|
+
#SendinBlue API
|
3
|
+
|
4
|
+
#SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.0.0
|
7
|
+
Contact: contact@sendinblue.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for SibApiV3Sdk::FilesApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'FilesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SibApiV3Sdk::FilesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of FilesApi' do
|
30
|
+
it 'should create an instance of FilesApi' do
|
31
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::FilesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for crm_files_get
|
36
|
+
# Get all files
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :entity Filter by file entity type
|
39
|
+
# @option opts [String] :entity_ids Filter by file entity IDs
|
40
|
+
# @option opts [Integer] :date_from dateFrom to date range filter type (timestamp in milliseconds)
|
41
|
+
# @option opts [Integer] :date_to dateTo to date range filter type (timestamp in milliseconds)
|
42
|
+
# @option opts [Integer] :offset Index of the first document of the page
|
43
|
+
# @option opts [Integer] :limit Number of documents per page
|
44
|
+
# @option opts [String] :sort Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed
|
45
|
+
# @return [FileList]
|
46
|
+
describe 'crm_files_get test' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
# unit tests for crm_files_id_data_get
|
53
|
+
# Get file details
|
54
|
+
# @param id File id to get file data.
|
55
|
+
# @param [Hash] opts the optional parameters
|
56
|
+
# @return [FileData]
|
57
|
+
describe 'crm_files_id_data_get test' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# unit tests for crm_files_id_delete
|
64
|
+
# Delete a file
|
65
|
+
# @param id File id to delete.
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [nil]
|
68
|
+
describe 'crm_files_id_delete test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# unit tests for crm_files_id_get
|
75
|
+
# Download a file
|
76
|
+
# @param id File id to download.
|
77
|
+
# @param [Hash] opts the optional parameters
|
78
|
+
# @return [FileDownloadableLink]
|
79
|
+
describe 'crm_files_id_get test' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# unit tests for crm_files_post
|
86
|
+
# Upload a file
|
87
|
+
# @param file File data to create a file.
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @option opts [String] :deal_id Deal id linked to a file
|
90
|
+
# @option opts [Integer] :contact_id Contact id linked to a file
|
91
|
+
# @option opts [String] :company_id Company id linked to a file
|
92
|
+
# @return [FileData]
|
93
|
+
describe 'crm_files_post test' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
end
|
@@ -32,6 +32,18 @@ describe 'InboundParsingApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for get_inbound_email_attachment
|
36
|
+
# Retrieve inbound attachment with download token.
|
37
|
+
# This endpoint will retrieve inbound attachment with download token.
|
38
|
+
# @param download_token Token to fetch a particular attachment
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [File]
|
41
|
+
describe 'get_inbound_email_attachment test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
35
47
|
# unit tests for get_inbound_email_events
|
36
48
|
# Get the list of all the events for the received emails.
|
37
49
|
# This endpoint will show the list of all the events for the received emails.
|