sib-api-v3-sdk 5.2.2 → 5.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -0
- data/docs/AddChildDomain.md +8 -0
- data/docs/GetChildDomain.md +9 -0
- data/docs/GetChildDomains.md +7 -0
- data/docs/GetSsoToken.md +8 -0
- data/docs/ResellerApi.md +299 -0
- data/docs/UpdateChildDomain.md +8 -0
- data/lib/sib-api-v3-sdk.rb +5 -0
- data/lib/sib-api-v3-sdk/api/reseller_api.rb +296 -0
- data/lib/sib-api-v3-sdk/models/add_child_domain.rb +189 -0
- data/lib/sib-api-v3-sdk/models/get_child_domain.rb +209 -0
- data/lib/sib-api-v3-sdk/models/get_child_domains.rb +179 -0
- data/lib/sib-api-v3-sdk/models/get_sso_token.rb +194 -0
- data/lib/sib-api-v3-sdk/models/update_child_domain.rb +189 -0
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/spec/api/reseller_api_spec.rb +64 -0
- data/spec/models/add_child_domain_spec.rb +42 -0
- data/spec/models/get_child_domain_spec.rb +48 -0
- data/spec/models/get_child_domains_spec.rb +36 -0
- data/spec/models/get_sso_token_spec.rb +42 -0
- data/spec/models/update_child_domain_spec.rb +42 -0
- metadata +22 -2
@@ -0,0 +1,42 @@
|
|
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 |
|
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.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SibApiV3Sdk::UpdateChildDomain
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UpdateChildDomain' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SibApiV3Sdk::UpdateChildDomain.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UpdateChildDomain' do
|
31
|
+
it 'should create an instance of UpdateChildDomain' do
|
32
|
+
expect(@instance).to be_instance_of(SibApiV3Sdk::UpdateChildDomain)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "domain"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
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: 5.2.
|
4
|
+
version: 5.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SendinBlue Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -202,6 +202,7 @@ files:
|
|
202
202
|
- README.md
|
203
203
|
- Rakefile
|
204
204
|
- docs/AccountApi.md
|
205
|
+
- docs/AddChildDomain.md
|
205
206
|
- docs/AddContactToList.md
|
206
207
|
- docs/AddCredits.md
|
207
208
|
- docs/AttributesApi.md
|
@@ -245,6 +246,8 @@ files:
|
|
245
246
|
- docs/GetCampaignOverview.md
|
246
247
|
- docs/GetCampaignRecipients.md
|
247
248
|
- docs/GetCampaignStats.md
|
249
|
+
- docs/GetChildDomain.md
|
250
|
+
- docs/GetChildDomains.md
|
248
251
|
- docs/GetChildInfo.md
|
249
252
|
- docs/GetChildInfoApiKeys.md
|
250
253
|
- docs/GetChildInfoApiKeysV2.md
|
@@ -305,6 +308,7 @@ files:
|
|
305
308
|
- docs/GetSmtpTemplateOverview.md
|
306
309
|
- docs/GetSmtpTemplateOverviewSender.md
|
307
310
|
- docs/GetSmtpTemplates.md
|
311
|
+
- docs/GetSsoToken.md
|
308
312
|
- docs/GetStatsByDomain.md
|
309
313
|
- docs/GetTransacAggregatedSmsReport.md
|
310
314
|
- docs/GetTransacSmsReport.md
|
@@ -352,6 +356,7 @@ files:
|
|
352
356
|
- docs/UpdateAttributeEnumeration.md
|
353
357
|
- docs/UpdateCampaignStatus.md
|
354
358
|
- docs/UpdateChild.md
|
359
|
+
- docs/UpdateChildDomain.md
|
355
360
|
- docs/UpdateContact.md
|
356
361
|
- docs/UpdateEmailCampaign.md
|
357
362
|
- docs/UpdateEmailCampaignRecipients.md
|
@@ -380,6 +385,7 @@ files:
|
|
380
385
|
- lib/sib-api-v3-sdk/api_client.rb
|
381
386
|
- lib/sib-api-v3-sdk/api_error.rb
|
382
387
|
- lib/sib-api-v3-sdk/configuration.rb
|
388
|
+
- lib/sib-api-v3-sdk/models/add_child_domain.rb
|
383
389
|
- lib/sib-api-v3-sdk/models/add_contact_to_list.rb
|
384
390
|
- lib/sib-api-v3-sdk/models/add_credits.rb
|
385
391
|
- lib/sib-api-v3-sdk/models/create_attribute.rb
|
@@ -419,6 +425,8 @@ files:
|
|
419
425
|
- lib/sib-api-v3-sdk/models/get_campaign_overview.rb
|
420
426
|
- lib/sib-api-v3-sdk/models/get_campaign_recipients.rb
|
421
427
|
- lib/sib-api-v3-sdk/models/get_campaign_stats.rb
|
428
|
+
- lib/sib-api-v3-sdk/models/get_child_domain.rb
|
429
|
+
- lib/sib-api-v3-sdk/models/get_child_domains.rb
|
422
430
|
- lib/sib-api-v3-sdk/models/get_child_info.rb
|
423
431
|
- lib/sib-api-v3-sdk/models/get_child_info_api_keys.rb
|
424
432
|
- lib/sib-api-v3-sdk/models/get_child_info_api_keys_v2.rb
|
@@ -479,6 +487,7 @@ files:
|
|
479
487
|
- lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb
|
480
488
|
- lib/sib-api-v3-sdk/models/get_smtp_template_overview_sender.rb
|
481
489
|
- lib/sib-api-v3-sdk/models/get_smtp_templates.rb
|
490
|
+
- lib/sib-api-v3-sdk/models/get_sso_token.rb
|
482
491
|
- lib/sib-api-v3-sdk/models/get_stats_by_domain.rb
|
483
492
|
- lib/sib-api-v3-sdk/models/get_transac_aggregated_sms_report.rb
|
484
493
|
- lib/sib-api-v3-sdk/models/get_transac_sms_report.rb
|
@@ -519,6 +528,7 @@ files:
|
|
519
528
|
- lib/sib-api-v3-sdk/models/update_attribute_enumeration.rb
|
520
529
|
- lib/sib-api-v3-sdk/models/update_campaign_status.rb
|
521
530
|
- lib/sib-api-v3-sdk/models/update_child.rb
|
531
|
+
- lib/sib-api-v3-sdk/models/update_child_domain.rb
|
522
532
|
- lib/sib-api-v3-sdk/models/update_contact.rb
|
523
533
|
- lib/sib-api-v3-sdk/models/update_email_campaign.rb
|
524
534
|
- lib/sib-api-v3-sdk/models/update_email_campaign_recipients.rb
|
@@ -546,6 +556,7 @@ files:
|
|
546
556
|
- spec/api/webhooks_api_spec.rb
|
547
557
|
- spec/api_client_spec.rb
|
548
558
|
- spec/configuration_spec.rb
|
559
|
+
- spec/models/add_child_domain_spec.rb
|
549
560
|
- spec/models/add_contact_to_list_spec.rb
|
550
561
|
- spec/models/add_credits_spec.rb
|
551
562
|
- spec/models/create_attribute_enumeration_spec.rb
|
@@ -585,6 +596,8 @@ files:
|
|
585
596
|
- spec/models/get_campaign_overview_spec.rb
|
586
597
|
- spec/models/get_campaign_recipients_spec.rb
|
587
598
|
- spec/models/get_campaign_stats_spec.rb
|
599
|
+
- spec/models/get_child_domain_spec.rb
|
600
|
+
- spec/models/get_child_domains_spec.rb
|
588
601
|
- spec/models/get_child_info_api_keys_spec.rb
|
589
602
|
- spec/models/get_child_info_api_keys_v2_spec.rb
|
590
603
|
- spec/models/get_child_info_api_keys_v3_spec.rb
|
@@ -645,6 +658,7 @@ files:
|
|
645
658
|
- spec/models/get_smtp_template_overview_sender_spec.rb
|
646
659
|
- spec/models/get_smtp_template_overview_spec.rb
|
647
660
|
- spec/models/get_smtp_templates_spec.rb
|
661
|
+
- spec/models/get_sso_token_spec.rb
|
648
662
|
- spec/models/get_stats_by_domain_spec.rb
|
649
663
|
- spec/models/get_transac_aggregated_sms_report_spec.rb
|
650
664
|
- spec/models/get_transac_sms_report_reports_spec.rb
|
@@ -684,6 +698,7 @@ files:
|
|
684
698
|
- spec/models/update_attribute_enumeration_spec.rb
|
685
699
|
- spec/models/update_attribute_spec.rb
|
686
700
|
- spec/models/update_campaign_status_spec.rb
|
701
|
+
- spec/models/update_child_domain_spec.rb
|
687
702
|
- spec/models/update_child_spec.rb
|
688
703
|
- spec/models/update_contact_spec.rb
|
689
704
|
- spec/models/update_email_campaign_recipients_spec.rb
|
@@ -736,6 +751,7 @@ test_files:
|
|
736
751
|
- spec/api/webhooks_api_spec.rb
|
737
752
|
- spec/api_client_spec.rb
|
738
753
|
- spec/configuration_spec.rb
|
754
|
+
- spec/models/add_child_domain_spec.rb
|
739
755
|
- spec/models/add_contact_to_list_spec.rb
|
740
756
|
- spec/models/add_credits_spec.rb
|
741
757
|
- spec/models/create_attribute_enumeration_spec.rb
|
@@ -775,6 +791,8 @@ test_files:
|
|
775
791
|
- spec/models/get_campaign_overview_spec.rb
|
776
792
|
- spec/models/get_campaign_recipients_spec.rb
|
777
793
|
- spec/models/get_campaign_stats_spec.rb
|
794
|
+
- spec/models/get_child_domain_spec.rb
|
795
|
+
- spec/models/get_child_domains_spec.rb
|
778
796
|
- spec/models/get_child_info_api_keys_spec.rb
|
779
797
|
- spec/models/get_child_info_api_keys_v2_spec.rb
|
780
798
|
- spec/models/get_child_info_api_keys_v3_spec.rb
|
@@ -835,6 +853,7 @@ test_files:
|
|
835
853
|
- spec/models/get_smtp_template_overview_sender_spec.rb
|
836
854
|
- spec/models/get_smtp_template_overview_spec.rb
|
837
855
|
- spec/models/get_smtp_templates_spec.rb
|
856
|
+
- spec/models/get_sso_token_spec.rb
|
838
857
|
- spec/models/get_stats_by_domain_spec.rb
|
839
858
|
- spec/models/get_transac_aggregated_sms_report_spec.rb
|
840
859
|
- spec/models/get_transac_sms_report_reports_spec.rb
|
@@ -874,6 +893,7 @@ test_files:
|
|
874
893
|
- spec/models/update_attribute_enumeration_spec.rb
|
875
894
|
- spec/models/update_attribute_spec.rb
|
876
895
|
- spec/models/update_campaign_status_spec.rb
|
896
|
+
- spec/models/update_child_domain_spec.rb
|
877
897
|
- spec/models/update_child_spec.rb
|
878
898
|
- spec/models/update_contact_spec.rb
|
879
899
|
- spec/models/update_email_campaign_recipients_spec.rb
|