sib-api-v3-sdk 2.0.1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/AttributesApi.md +2 -2
  4. data/docs/ContactsApi.md +32 -32
  5. data/docs/CreateEmailCampaign.md +1 -1
  6. data/docs/CreateSmsCampaign.md +1 -1
  7. data/docs/{CreaUpdateFolder.md → CreateUpdateFolder.md} +1 -1
  8. data/docs/EmailCampaignsApi.md +16 -16
  9. data/docs/FoldersApi.md +16 -16
  10. data/docs/GetAccountPlan.md +2 -0
  11. data/docs/GetCampaignOverview.md +1 -1
  12. data/docs/GetContactCampaignStatsOpened.md +1 -1
  13. data/docs/GetContactDetails.md +1 -1
  14. data/docs/GetEmailCampaign.md +3 -3
  15. data/docs/GetEmailEventReportEvents.md +4 -4
  16. data/docs/GetExtendedCampaignOverview.md +3 -3
  17. data/docs/GetExtendedContactDetails.md +1 -1
  18. data/docs/GetExtendedContactDetailsStatisticsLinks.md +1 -1
  19. data/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +1 -1
  20. data/docs/GetExtendedContactDetailsStatisticsOpened.md +1 -1
  21. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +1 -1
  22. data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +1 -1
  23. data/docs/GetExtendedList.md +1 -1
  24. data/docs/GetSmsCampaign.md +3 -3
  25. data/docs/GetSmsCampaignOverview.md +3 -3
  26. data/docs/GetSmsEventReportEvents.md +2 -2
  27. data/docs/GetSmtpTemplateOverview.md +2 -2
  28. data/docs/GetWebhook.md +2 -2
  29. data/docs/ListsApi.md +16 -16
  30. data/docs/ProcessApi.md +2 -2
  31. data/docs/ResellerApi.md +7 -7
  32. data/docs/SMSCampaignsApi.md +16 -16
  33. data/docs/SMTPApi.md +10 -10
  34. data/docs/SendTransacSms.md +1 -0
  35. data/docs/SendersApi.md +6 -6
  36. data/docs/UpdateEmailCampaign.md +1 -1
  37. data/docs/UpdateSmsCampaign.md +1 -1
  38. data/docs/WebhooksApi.md +6 -6
  39. data/lib/sib-api-v3-sdk.rb +1 -1
  40. data/lib/sib-api-v3-sdk/api/contacts_api.rb +20 -24
  41. data/lib/sib-api-v3-sdk/api/folders_api.rb +18 -18
  42. data/lib/sib-api-v3-sdk/api/lists_api.rb +2 -6
  43. data/lib/sib-api-v3-sdk/api/smtp_api.rb +2 -2
  44. data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +2 -18
  45. data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +2 -18
  46. data/lib/sib-api-v3-sdk/models/{crea_update_folder.rb → create_update_folder.rb} +1 -1
  47. data/lib/sib-api-v3-sdk/models/get_account_plan.rb +24 -4
  48. data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +2 -18
  49. data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +1 -20
  50. data/lib/sib-api-v3-sdk/models/get_contact_details.rb +2 -21
  51. data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +6 -60
  52. data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +4 -4
  53. data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +6 -60
  54. data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +2 -21
  55. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb +1 -20
  56. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +1 -20
  57. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +1 -20
  58. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +1 -20
  59. data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +1 -20
  60. data/lib/sib-api-v3-sdk/models/get_extended_list.rb +2 -21
  61. data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +6 -63
  62. data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +6 -63
  63. data/lib/sib-api-v3-sdk/models/get_sms_event_report_events.rb +2 -2
  64. data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +4 -42
  65. data/lib/sib-api-v3-sdk/models/get_webhook.rb +4 -42
  66. data/lib/sib-api-v3-sdk/models/send_transac_sms.rb +46 -1
  67. data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +2 -18
  68. data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +2 -18
  69. data/lib/sib-api-v3-sdk/version.rb +1 -1
  70. data/spec/api/contacts_api_spec.rb +3 -3
  71. data/spec/api/folders_api_spec.rb +2 -2
  72. data/spec/api/lists_api_spec.rb +1 -1
  73. data/spec/api/smtp_api_spec.rb +1 -1
  74. data/spec/models/{crea_update_folder_spec.rb → create_update_folder_spec.rb} +6 -6
  75. data/spec/models/get_account_plan_spec.rb +12 -0
  76. data/spec/models/send_transac_sms_spec.rb +10 -0
  77. metadata +6 -6
@@ -84,7 +84,7 @@ describe 'SMTPApi' do
84
84
  # @option opts [String] :event Filter the report for a specific event type
85
85
  # @option opts [String] :tags Filter the report for tags (serialized and urlencoded array)
86
86
  # @option opts [String] :message_id Filter on a specific message id
87
- # @option opts [String] :template_id Filter on a specific template id
87
+ # @option opts [Integer] :template_id Filter on a specific template id
88
88
  # @return [GetEmailEventReport]
89
89
  describe 'get_email_event_report test' do
90
90
  it "should work" do
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for SibApiV3Sdk::CreaUpdateFolder
17
+ # Unit tests for SibApiV3Sdk::CreateUpdateFolder
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
- describe 'CreaUpdateFolder' do
20
+ describe 'CreateUpdateFolder' do
21
21
  before do
22
22
  # run before each test
23
- @instance = SibApiV3Sdk::CreaUpdateFolder.new
23
+ @instance = SibApiV3Sdk::CreateUpdateFolder.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of CreaUpdateFolder' do
31
- it 'should create an instance of CreaUpdateFolder' do
32
- expect(@instance).to be_instance_of(SibApiV3Sdk::CreaUpdateFolder)
30
+ describe 'test an instance of CreateUpdateFolder' do
31
+ it 'should create an instance of CreateUpdateFolder' do
32
+ expect(@instance).to be_instance_of(SibApiV3Sdk::CreateUpdateFolder)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "name"' do
@@ -58,5 +58,17 @@ describe 'GetAccountPlan' do
58
58
  end
59
59
  end
60
60
 
61
+ describe 'test attribute "start_date"' do
62
+ it 'should work' do
63
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
64
+ end
65
+ end
66
+
67
+ describe 'test attribute "end_date"' 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
+
61
73
  end
62
74
 
@@ -50,6 +50,16 @@ describe 'SendTransacSms' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "type"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ #validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["transactional", "marketing"])
57
+ #validator.allowable_values.each do |value|
58
+ # expect { @instance.type = value }.not_to raise_error
59
+ #end
60
+ end
61
+ end
62
+
53
63
  describe 'test attribute "tag"' do
54
64
  it 'should work' do
55
65
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sib-api-v3-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SendinBlue Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-19 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -206,7 +206,6 @@ files:
206
206
  - docs/AddRemoveContactToList.md
207
207
  - docs/AttributesApi.md
208
208
  - docs/ContactsApi.md
209
- - docs/CreaUpdateFolder.md
210
209
  - docs/CreateAttribute.md
211
210
  - docs/CreateAttributeEnumemaration.md
212
211
  - docs/CreateChild.md
@@ -224,6 +223,7 @@ files:
224
223
  - docs/CreateSmtpEmail.md
225
224
  - docs/CreateSmtpTemplate.md
226
225
  - docs/CreateSmtpTemplateSender.md
226
+ - docs/CreateUpdateFolder.md
227
227
  - docs/CreateWebhook.md
228
228
  - docs/CreatedProcessId.md
229
229
  - docs/DeleteHardbounces.md
@@ -379,7 +379,6 @@ files:
379
379
  - lib/sib-api-v3-sdk/configuration.rb
380
380
  - lib/sib-api-v3-sdk/models/add_credits.rb
381
381
  - lib/sib-api-v3-sdk/models/add_remove_contact_to_list.rb
382
- - lib/sib-api-v3-sdk/models/crea_update_folder.rb
383
382
  - lib/sib-api-v3-sdk/models/create_attribute.rb
384
383
  - lib/sib-api-v3-sdk/models/create_attribute_enumemaration.rb
385
384
  - lib/sib-api-v3-sdk/models/create_child.rb
@@ -397,6 +396,7 @@ files:
397
396
  - lib/sib-api-v3-sdk/models/create_smtp_email.rb
398
397
  - lib/sib-api-v3-sdk/models/create_smtp_template.rb
399
398
  - lib/sib-api-v3-sdk/models/create_smtp_template_sender.rb
399
+ - lib/sib-api-v3-sdk/models/create_update_folder.rb
400
400
  - lib/sib-api-v3-sdk/models/create_webhook.rb
401
401
  - lib/sib-api-v3-sdk/models/created_process_id.rb
402
402
  - lib/sib-api-v3-sdk/models/delete_hardbounces.rb
@@ -542,7 +542,6 @@ files:
542
542
  - spec/configuration_spec.rb
543
543
  - spec/models/add_credits_spec.rb
544
544
  - spec/models/add_remove_contact_to_list_spec.rb
545
- - spec/models/crea_update_folder_spec.rb
546
545
  - spec/models/create_attribute_enumemaration_spec.rb
547
546
  - spec/models/create_attribute_spec.rb
548
547
  - spec/models/create_child_spec.rb
@@ -560,6 +559,7 @@ files:
560
559
  - spec/models/create_smtp_email_spec.rb
561
560
  - spec/models/create_smtp_template_sender_spec.rb
562
561
  - spec/models/create_smtp_template_spec.rb
562
+ - spec/models/create_update_folder_spec.rb
563
563
  - spec/models/create_webhook_spec.rb
564
564
  - spec/models/created_process_id_spec.rb
565
565
  - spec/models/delete_hardbounces_spec.rb
@@ -729,7 +729,6 @@ test_files:
729
729
  - spec/configuration_spec.rb
730
730
  - spec/models/add_credits_spec.rb
731
731
  - spec/models/add_remove_contact_to_list_spec.rb
732
- - spec/models/crea_update_folder_spec.rb
733
732
  - spec/models/create_attribute_enumemaration_spec.rb
734
733
  - spec/models/create_attribute_spec.rb
735
734
  - spec/models/create_child_spec.rb
@@ -747,6 +746,7 @@ test_files:
747
746
  - spec/models/create_smtp_email_spec.rb
748
747
  - spec/models/create_smtp_template_sender_spec.rb
749
748
  - spec/models/create_smtp_template_spec.rb
749
+ - spec/models/create_update_folder_spec.rb
750
750
  - spec/models/create_webhook_spec.rb
751
751
  - spec/models/created_process_id_spec.rb
752
752
  - spec/models/delete_hardbounces_spec.rb