onesignal 5.13.0 → 5.15.0
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/CHANGELOG.md +13 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/docs/BasicNotification.md +6 -2
- data/docs/BasicNotificationAllOf.md +5 -1
- data/docs/DefaultApi.md +77 -0
- data/docs/EmailWarmUp.md +24 -0
- data/docs/EmailWarmUpRequest.md +20 -0
- data/docs/EmailWarmUpStage.md +24 -0
- data/docs/EstimateNotificationRecipientsRequest.md +28 -0
- data/docs/EstimateNotificationRecipientsRequestAllOf.md +24 -0
- data/docs/EstimateNotificationRecipientsSuccessResponse.md +26 -0
- data/docs/Notification.md +6 -2
- data/docs/NotificationTarget.md +1 -1
- data/docs/NotificationWithMeta.md +6 -2
- data/docs/NotificationWithMetaAllOf.md +3 -1
- data/docs/SegmentNotificationTarget.md +1 -1
- data/lib/onesignal/api/default_api.rb +68 -0
- data/lib/onesignal/api_client.rb +1 -1
- data/lib/onesignal/models/basic_notification.rb +36 -3
- data/lib/onesignal/models/basic_notification_all_of.rb +35 -2
- data/lib/onesignal/models/email_warm_up.rb +298 -0
- data/lib/onesignal/models/email_warm_up_request.rb +272 -0
- data/lib/onesignal/models/email_warm_up_stage.rb +284 -0
- data/lib/onesignal/models/estimate_notification_recipients_request.rb +326 -0
- data/lib/onesignal/models/estimate_notification_recipients_request_all_of.rb +288 -0
- data/lib/onesignal/models/estimate_notification_recipients_success_response.rb +260 -0
- data/lib/onesignal/models/notification.rb +36 -3
- data/lib/onesignal/models/notification_target.rb +1 -1
- data/lib/onesignal/models/notification_with_meta.rb +35 -3
- data/lib/onesignal/models/notification_with_meta_all_of.rb +14 -5
- data/lib/onesignal/models/segment_notification_target.rb +1 -1
- data/lib/onesignal/version.rb +1 -1
- data/lib/onesignal.rb +6 -0
- data/spec/api/default_api_spec.rb +12 -0
- data/spec/models/basic_notification_all_of_spec.rb +16 -0
- data/spec/models/basic_notification_spec.rb +16 -0
- data/spec/models/email_warm_up_request_spec.rb +43 -0
- data/spec/models/email_warm_up_spec.rb +59 -0
- data/spec/models/email_warm_up_stage_spec.rb +51 -0
- data/spec/models/estimate_notification_recipients_request_all_of_spec.rb +55 -0
- data/spec/models/estimate_notification_recipients_request_spec.rb +67 -0
- data/spec/models/estimate_notification_recipients_success_response_spec.rb +57 -0
- data/spec/models/notification_spec.rb +16 -0
- data/spec/models/notification_with_meta_all_of_spec.rb +6 -0
- data/spec/models/notification_with_meta_spec.rb +16 -0
- metadata +26 -2
|
@@ -686,6 +686,22 @@ describe OneSignal::BasicNotification do
|
|
|
686
686
|
end
|
|
687
687
|
end
|
|
688
688
|
|
|
689
|
+
describe 'test attribute "kind"' do
|
|
690
|
+
it 'should work' do
|
|
691
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
692
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["warmup"])
|
|
693
|
+
# validator.allowable_values.each do |value|
|
|
694
|
+
# expect { instance.kind = value }.not_to raise_error
|
|
695
|
+
# end
|
|
696
|
+
end
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
describe 'test attribute "email_warm_up"' do
|
|
700
|
+
it 'should work' do
|
|
701
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
702
|
+
end
|
|
703
|
+
end
|
|
704
|
+
|
|
689
705
|
describe 'test attribute "sms_from"' do
|
|
690
706
|
it 'should work' do
|
|
691
707
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#OneSignal
|
|
3
|
+
|
|
4
|
+
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
|
+
|
|
6
|
+
Contact: devrel@onesignal.com
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for OneSignal::EmailWarmUpRequest
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe OneSignal::EmailWarmUpRequest do
|
|
20
|
+
let(:instance) { OneSignal::EmailWarmUpRequest.new }
|
|
21
|
+
|
|
22
|
+
describe 'test an instance of EmailWarmUpRequest' do
|
|
23
|
+
it 'should create an instance of EmailWarmUpRequest' do
|
|
24
|
+
expect(instance).to be_instance_of(OneSignal::EmailWarmUpRequest)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
describe 'test attribute "stages"' do
|
|
28
|
+
it 'should work' do
|
|
29
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe 'test attribute "strategy"' do
|
|
34
|
+
it 'should work' do
|
|
35
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
36
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["recommended", "custom"])
|
|
37
|
+
# validator.allowable_values.each do |value|
|
|
38
|
+
# expect { instance.strategy = value }.not_to raise_error
|
|
39
|
+
# end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#OneSignal
|
|
3
|
+
|
|
4
|
+
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
|
+
|
|
6
|
+
Contact: devrel@onesignal.com
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for OneSignal::EmailWarmUp
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe OneSignal::EmailWarmUp do
|
|
20
|
+
let(:instance) { OneSignal::EmailWarmUp.new }
|
|
21
|
+
|
|
22
|
+
describe 'test an instance of EmailWarmUp' do
|
|
23
|
+
it 'should create an instance of EmailWarmUp' do
|
|
24
|
+
expect(instance).to be_instance_of(OneSignal::EmailWarmUp)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
describe 'test attribute "stages"' do
|
|
28
|
+
it 'should work' do
|
|
29
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe 'test attribute "strategy"' do
|
|
34
|
+
it 'should work' do
|
|
35
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
36
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["recommended", "custom"])
|
|
37
|
+
# validator.allowable_values.each do |value|
|
|
38
|
+
# expect { instance.strategy = value }.not_to raise_error
|
|
39
|
+
# end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
describe 'test attribute "status"' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["initializing", "draft", "active", "finished", "canceled"])
|
|
47
|
+
# validator.allowable_values.each do |value|
|
|
48
|
+
# expect { instance.status = value }.not_to raise_error
|
|
49
|
+
# end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "is_live"' 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
|
+
end
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#OneSignal
|
|
3
|
+
|
|
4
|
+
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
|
+
|
|
6
|
+
Contact: devrel@onesignal.com
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for OneSignal::EmailWarmUpStage
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe OneSignal::EmailWarmUpStage do
|
|
20
|
+
let(:instance) { OneSignal::EmailWarmUpStage.new }
|
|
21
|
+
|
|
22
|
+
describe 'test an instance of EmailWarmUpStage' do
|
|
23
|
+
it 'should create an instance of EmailWarmUpStage' do
|
|
24
|
+
expect(instance).to be_instance_of(OneSignal::EmailWarmUpStage)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
describe 'test attribute "start"' do
|
|
28
|
+
it 'should work' do
|
|
29
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe 'test attribute "_end"' do
|
|
34
|
+
it 'should work' do
|
|
35
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
describe 'test attribute "quota"' 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
|
+
describe 'test attribute "acked"' do
|
|
46
|
+
it 'should work' do
|
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#OneSignal
|
|
3
|
+
|
|
4
|
+
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
|
+
|
|
6
|
+
Contact: devrel@onesignal.com
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for OneSignal::EstimateNotificationRecipientsRequestAllOf
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe OneSignal::EstimateNotificationRecipientsRequestAllOf do
|
|
20
|
+
let(:instance) { OneSignal::EstimateNotificationRecipientsRequestAllOf.new }
|
|
21
|
+
|
|
22
|
+
describe 'test an instance of EstimateNotificationRecipientsRequestAllOf' do
|
|
23
|
+
it 'should create an instance of EstimateNotificationRecipientsRequestAllOf' do
|
|
24
|
+
expect(instance).to be_instance_of(OneSignal::EstimateNotificationRecipientsRequestAllOf)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
describe 'test attribute "app_id"' do
|
|
28
|
+
it 'should work' do
|
|
29
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe 'test attribute "filters"' do
|
|
34
|
+
it 'should work' do
|
|
35
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
describe 'test attribute "include_aliases"' 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
|
+
describe 'test attribute "target_channel"' do
|
|
46
|
+
it 'should work' do
|
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
48
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["push", "email", "sms"])
|
|
49
|
+
# validator.allowable_values.each do |value|
|
|
50
|
+
# expect { instance.target_channel = value }.not_to raise_error
|
|
51
|
+
# end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
end
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#OneSignal
|
|
3
|
+
|
|
4
|
+
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
|
+
|
|
6
|
+
Contact: devrel@onesignal.com
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for OneSignal::EstimateNotificationRecipientsRequest
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe OneSignal::EstimateNotificationRecipientsRequest do
|
|
20
|
+
let(:instance) { OneSignal::EstimateNotificationRecipientsRequest.new }
|
|
21
|
+
|
|
22
|
+
describe 'test an instance of EstimateNotificationRecipientsRequest' do
|
|
23
|
+
it 'should create an instance of EstimateNotificationRecipientsRequest' do
|
|
24
|
+
expect(instance).to be_instance_of(OneSignal::EstimateNotificationRecipientsRequest)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
describe 'test attribute "included_segments"' do
|
|
28
|
+
it 'should work' do
|
|
29
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe 'test attribute "excluded_segments"' do
|
|
34
|
+
it 'should work' do
|
|
35
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
describe 'test attribute "app_id"' 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
|
+
describe 'test attribute "filters"' do
|
|
46
|
+
it 'should work' do
|
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
describe 'test attribute "include_aliases"' do
|
|
52
|
+
it 'should work' do
|
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
describe 'test attribute "target_channel"' do
|
|
58
|
+
it 'should work' do
|
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
60
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["push", "email", "sms"])
|
|
61
|
+
# validator.allowable_values.each do |value|
|
|
62
|
+
# expect { instance.target_channel = value }.not_to raise_error
|
|
63
|
+
# end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#OneSignal
|
|
3
|
+
|
|
4
|
+
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
|
+
|
|
6
|
+
Contact: devrel@onesignal.com
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for OneSignal::EstimateNotificationRecipientsSuccessResponse
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe OneSignal::EstimateNotificationRecipientsSuccessResponse do
|
|
20
|
+
let(:instance) { OneSignal::EstimateNotificationRecipientsSuccessResponse.new }
|
|
21
|
+
|
|
22
|
+
describe 'test an instance of EstimateNotificationRecipientsSuccessResponse' do
|
|
23
|
+
it 'should create an instance of EstimateNotificationRecipientsSuccessResponse' do
|
|
24
|
+
expect(instance).to be_instance_of(OneSignal::EstimateNotificationRecipientsSuccessResponse)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
describe 'test attribute "count"' do
|
|
28
|
+
it 'should work' do
|
|
29
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe 'test attribute "uncapped_count"' do
|
|
34
|
+
it 'should work' do
|
|
35
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
describe 'test attribute "cap_applied"' 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
|
+
describe 'test attribute "mobile_suppressed"' do
|
|
46
|
+
it 'should work' do
|
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
describe 'test attribute "mobile_excluded_count"' do
|
|
52
|
+
it 'should work' do
|
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
end
|
|
@@ -686,6 +686,22 @@ describe OneSignal::Notification do
|
|
|
686
686
|
end
|
|
687
687
|
end
|
|
688
688
|
|
|
689
|
+
describe 'test attribute "kind"' do
|
|
690
|
+
it 'should work' do
|
|
691
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
692
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["warmup"])
|
|
693
|
+
# validator.allowable_values.each do |value|
|
|
694
|
+
# expect { instance.kind = value }.not_to raise_error
|
|
695
|
+
# end
|
|
696
|
+
end
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
describe 'test attribute "email_warm_up"' do
|
|
700
|
+
it 'should work' do
|
|
701
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
702
|
+
end
|
|
703
|
+
end
|
|
704
|
+
|
|
689
705
|
describe 'test attribute "sms_from"' do
|
|
690
706
|
it 'should work' do
|
|
691
707
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -108,4 +108,10 @@ describe OneSignal::NotificationWithMetaAllOf do
|
|
|
108
108
|
end
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
+
describe 'test attribute "email_warm_up"' do
|
|
112
|
+
it 'should work' do
|
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
111
117
|
end
|
|
@@ -686,6 +686,22 @@ describe OneSignal::NotificationWithMeta do
|
|
|
686
686
|
end
|
|
687
687
|
end
|
|
688
688
|
|
|
689
|
+
describe 'test attribute "kind"' do
|
|
690
|
+
it 'should work' do
|
|
691
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
692
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["warmup"])
|
|
693
|
+
# validator.allowable_values.each do |value|
|
|
694
|
+
# expect { instance.kind = value }.not_to raise_error
|
|
695
|
+
# end
|
|
696
|
+
end
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
describe 'test attribute "email_warm_up"' do
|
|
700
|
+
it 'should work' do
|
|
701
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
702
|
+
end
|
|
703
|
+
end
|
|
704
|
+
|
|
689
705
|
describe 'test attribute "sms_from"' do
|
|
690
706
|
it 'should work' do
|
|
691
707
|
# 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: onesignal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OneSignal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -92,6 +92,12 @@ files:
|
|
|
92
92
|
- docs/CustomEventsRequest.md
|
|
93
93
|
- docs/DefaultApi.md
|
|
94
94
|
- docs/DeliveryData.md
|
|
95
|
+
- docs/EmailWarmUp.md
|
|
96
|
+
- docs/EmailWarmUpRequest.md
|
|
97
|
+
- docs/EmailWarmUpStage.md
|
|
98
|
+
- docs/EstimateNotificationRecipientsRequest.md
|
|
99
|
+
- docs/EstimateNotificationRecipientsRequestAllOf.md
|
|
100
|
+
- docs/EstimateNotificationRecipientsSuccessResponse.md
|
|
95
101
|
- docs/ExportEventsSuccessResponse.md
|
|
96
102
|
- docs/ExportSubscriptionsRequestBody.md
|
|
97
103
|
- docs/ExportSubscriptionsSuccessResponse.md
|
|
@@ -200,6 +206,12 @@ files:
|
|
|
200
206
|
- lib/onesignal/models/custom_event.rb
|
|
201
207
|
- lib/onesignal/models/custom_events_request.rb
|
|
202
208
|
- lib/onesignal/models/delivery_data.rb
|
|
209
|
+
- lib/onesignal/models/email_warm_up.rb
|
|
210
|
+
- lib/onesignal/models/email_warm_up_request.rb
|
|
211
|
+
- lib/onesignal/models/email_warm_up_stage.rb
|
|
212
|
+
- lib/onesignal/models/estimate_notification_recipients_request.rb
|
|
213
|
+
- lib/onesignal/models/estimate_notification_recipients_request_all_of.rb
|
|
214
|
+
- lib/onesignal/models/estimate_notification_recipients_success_response.rb
|
|
203
215
|
- lib/onesignal/models/export_events_success_response.rb
|
|
204
216
|
- lib/onesignal/models/export_subscriptions_request_body.rb
|
|
205
217
|
- lib/onesignal/models/export_subscriptions_success_response.rb
|
|
@@ -306,6 +318,12 @@ files:
|
|
|
306
318
|
- spec/models/custom_event_spec.rb
|
|
307
319
|
- spec/models/custom_events_request_spec.rb
|
|
308
320
|
- spec/models/delivery_data_spec.rb
|
|
321
|
+
- spec/models/email_warm_up_request_spec.rb
|
|
322
|
+
- spec/models/email_warm_up_spec.rb
|
|
323
|
+
- spec/models/email_warm_up_stage_spec.rb
|
|
324
|
+
- spec/models/estimate_notification_recipients_request_all_of_spec.rb
|
|
325
|
+
- spec/models/estimate_notification_recipients_request_spec.rb
|
|
326
|
+
- spec/models/estimate_notification_recipients_success_response_spec.rb
|
|
309
327
|
- spec/models/export_events_success_response_spec.rb
|
|
310
328
|
- spec/models/export_subscriptions_request_body_spec.rb
|
|
311
329
|
- spec/models/export_subscriptions_success_response_spec.rb
|
|
@@ -2510,6 +2528,7 @@ test_files:
|
|
|
2510
2528
|
- spec/models/journey_reentry_rules_spec.rb
|
|
2511
2529
|
- spec/models/journey_wait_until_expiration_spec.rb
|
|
2512
2530
|
- spec/models/api_key_token_spec.rb
|
|
2531
|
+
- spec/models/email_warm_up_stage_spec.rb
|
|
2513
2532
|
- spec/models/journey_condition_spec.rb
|
|
2514
2533
|
- spec/models/create_user_conflict_response_errors_items_meta_spec.rb
|
|
2515
2534
|
- spec/models/user_identity_body_spec.rb
|
|
@@ -2518,6 +2537,7 @@ test_files:
|
|
|
2518
2537
|
- spec/models/properties_body_spec.rb
|
|
2519
2538
|
- spec/models/journey_early_exit_rules_spec.rb
|
|
2520
2539
|
- spec/models/create_journey_request_spec.rb
|
|
2540
|
+
- spec/models/email_warm_up_request_spec.rb
|
|
2521
2541
|
- spec/models/start_live_activity_request_spec.rb
|
|
2522
2542
|
- spec/models/create_notification_success_response_spec.rb
|
|
2523
2543
|
- spec/models/journey_spec.rb
|
|
@@ -2525,6 +2545,7 @@ test_files:
|
|
|
2525
2545
|
- spec/models/get_notification_history_request_body_spec.rb
|
|
2526
2546
|
- spec/models/update_user_request_spec.rb
|
|
2527
2547
|
- spec/models/properties_deltas_spec.rb
|
|
2548
|
+
- spec/models/estimate_notification_recipients_request_spec.rb
|
|
2528
2549
|
- spec/models/notification_history_success_response_spec.rb
|
|
2529
2550
|
- spec/models/notification_spec.rb
|
|
2530
2551
|
- spec/models/journey_node_spec.rb
|
|
@@ -2558,7 +2579,9 @@ test_files:
|
|
|
2558
2579
|
- spec/models/create_template_request_spec.rb
|
|
2559
2580
|
- spec/models/list_audit_logs_success_response_spec.rb
|
|
2560
2581
|
- spec/models/create_api_key_response_spec.rb
|
|
2582
|
+
- spec/models/estimate_notification_recipients_request_all_of_spec.rb
|
|
2561
2583
|
- spec/models/journey_message_stats_spec.rb
|
|
2584
|
+
- spec/models/estimate_notification_recipients_success_response_spec.rb
|
|
2562
2585
|
- spec/models/outcomes_data_spec.rb
|
|
2563
2586
|
- spec/models/subscription_body_spec.rb
|
|
2564
2587
|
- spec/models/create_user_conflict_response_errors_inner_spec.rb
|
|
@@ -2596,4 +2619,5 @@ test_files:
|
|
|
2596
2619
|
- spec/models/audit_log_actor_spec.rb
|
|
2597
2620
|
- spec/models/custom_event_spec.rb
|
|
2598
2621
|
- spec/models/update_template_request_spec.rb
|
|
2622
|
+
- spec/models/email_warm_up_spec.rb
|
|
2599
2623
|
- spec/spec_helper.rb
|