onesignal 5.2.0.pre.beta1 → 5.3.0.pre.beta1
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/README.md +33 -5
- data/docs/ApiKeyToken.md +28 -0
- data/docs/ApiKeyTokensListResponse.md +18 -0
- data/docs/CopyTemplateRequest.md +18 -0
- data/docs/CreateApiKeyRequest.md +22 -0
- data/docs/CreateApiKeyResponse.md +20 -0
- data/docs/CreateTemplateRequest.md +32 -0
- data/docs/CustomEvent.md +26 -0
- data/docs/CustomEventsRequest.md +18 -0
- data/docs/DefaultApi.md +1132 -110
- data/docs/NotificationWithMeta.md +3 -1
- data/docs/NotificationWithMetaAllOf.md +3 -1
- data/docs/StartLiveActivityRequest.md +48 -0
- data/docs/StartLiveActivitySuccessResponse.md +18 -0
- data/docs/TemplateResource.md +28 -0
- data/docs/TemplatesListResponse.md +18 -0
- data/docs/UpdateApiKeyRequest.md +22 -0
- data/docs/UpdateTemplateRequest.md +30 -0
- data/lib/onesignal/api/default_api.rb +1043 -1
- data/lib/onesignal/api_client.rb +2 -2
- data/lib/onesignal/api_error.rb +1 -1
- data/lib/onesignal/configuration.rb +1 -1
- data/lib/onesignal/models/api_key_token.rb +300 -0
- data/lib/onesignal/models/api_key_tokens_list_response.rb +221 -0
- data/lib/onesignal/models/app.rb +1 -1
- data/lib/onesignal/models/basic_notification.rb +1 -1
- data/lib/onesignal/models/basic_notification_all_of.rb +1 -1
- data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +1 -1
- data/lib/onesignal/models/button.rb +1 -1
- data/lib/onesignal/models/copy_template_request.rb +225 -0
- data/lib/onesignal/models/create_api_key_request.rb +273 -0
- data/lib/onesignal/models/create_api_key_response.rb +228 -0
- data/lib/onesignal/models/create_notification_success_response.rb +1 -1
- data/lib/onesignal/models/create_segment_conflict_response.rb +1 -1
- data/lib/onesignal/models/create_segment_success_response.rb +1 -1
- data/lib/onesignal/models/create_template_request.rb +307 -0
- data/lib/onesignal/models/create_user_conflict_response.rb +1 -1
- data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +1 -1
- data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +1 -1
- data/lib/onesignal/models/custom_event.rb +269 -0
- data/lib/onesignal/models/custom_events_request.rb +226 -0
- data/lib/onesignal/models/delivery_data.rb +1 -1
- data/lib/onesignal/models/export_events_success_response.rb +1 -1
- data/lib/onesignal/models/export_subscriptions_request_body.rb +1 -1
- data/lib/onesignal/models/export_subscriptions_success_response.rb +1 -1
- data/lib/onesignal/models/filter.rb +1 -1
- data/lib/onesignal/models/filter_expression.rb +1 -1
- data/lib/onesignal/models/generic_error.rb +1 -1
- data/lib/onesignal/models/generic_success_bool_response.rb +1 -1
- data/lib/onesignal/models/get_notification_history_request_body.rb +1 -1
- data/lib/onesignal/models/get_segments_success_response.rb +1 -1
- data/lib/onesignal/models/language_string_map.rb +1 -1
- data/lib/onesignal/models/notification.rb +1 -1
- data/lib/onesignal/models/notification_all_of.rb +1 -1
- data/lib/onesignal/models/notification_history_success_response.rb +1 -1
- data/lib/onesignal/models/notification_slice.rb +1 -1
- data/lib/onesignal/models/notification_target.rb +1 -1
- data/lib/onesignal/models/notification_with_meta.rb +15 -5
- data/lib/onesignal/models/notification_with_meta_all_of.rb +16 -6
- data/lib/onesignal/models/operator.rb +1 -1
- data/lib/onesignal/models/outcome_data.rb +1 -1
- data/lib/onesignal/models/outcomes_data.rb +1 -1
- data/lib/onesignal/models/platform_delivery_data.rb +1 -1
- data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +1 -1
- data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +1 -1
- data/lib/onesignal/models/properties_body.rb +1 -1
- data/lib/onesignal/models/properties_deltas.rb +1 -1
- data/lib/onesignal/models/properties_object.rb +1 -1
- data/lib/onesignal/models/purchase.rb +1 -1
- data/lib/onesignal/models/rate_limit_error.rb +1 -1
- data/lib/onesignal/models/segment.rb +1 -1
- data/lib/onesignal/models/segment_data.rb +1 -1
- data/lib/onesignal/models/segment_notification_target.rb +1 -1
- data/lib/onesignal/models/start_live_activity_request.rb +454 -0
- data/lib/onesignal/models/start_live_activity_success_response.rb +219 -0
- data/lib/onesignal/models/subscription.rb +1 -1
- data/lib/onesignal/models/subscription_body.rb +1 -1
- data/lib/onesignal/models/subscription_notification_target.rb +1 -1
- data/lib/onesignal/models/template_resource.rb +302 -0
- data/lib/onesignal/models/templates_list_response.rb +221 -0
- data/lib/onesignal/models/transfer_subscription_request_body.rb +1 -1
- data/lib/onesignal/models/update_api_key_request.rb +273 -0
- data/lib/onesignal/models/update_live_activity_request.rb +1 -1
- data/lib/onesignal/models/update_live_activity_success_response.rb +1 -1
- data/lib/onesignal/models/update_template_request.rb +282 -0
- data/lib/onesignal/models/update_user_request.rb +1 -1
- data/lib/onesignal/models/user.rb +1 -1
- data/lib/onesignal/models/user_identity_body.rb +1 -1
- data/lib/onesignal/models/web_button.rb +1 -1
- data/lib/onesignal/version.rb +2 -2
- data/lib/onesignal.rb +15 -1
- data/onesignal.gemspec +1 -1
- data/spec/api/default_api_spec.rb +189 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/api_key_token_spec.rb +68 -0
- data/spec/models/api_key_tokens_list_response_spec.rb +34 -0
- data/spec/models/app_spec.rb +1 -1
- data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +1 -1
- data/spec/models/basic_notification_all_of_spec.rb +1 -1
- data/spec/models/basic_notification_spec.rb +1 -1
- data/spec/models/button_spec.rb +1 -1
- data/spec/models/copy_template_request_spec.rb +34 -0
- data/spec/models/create_api_key_request_spec.rb +50 -0
- data/spec/models/create_api_key_response_spec.rb +40 -0
- data/spec/models/create_notification_success_response_spec.rb +1 -1
- data/spec/models/create_segment_conflict_response_spec.rb +1 -1
- data/spec/models/create_segment_success_response_spec.rb +1 -1
- data/spec/models/create_template_request_spec.rb +76 -0
- data/spec/models/create_user_conflict_response_errors_inner_spec.rb +1 -1
- data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +1 -1
- data/spec/models/create_user_conflict_response_spec.rb +1 -1
- data/spec/models/custom_event_spec.rb +58 -0
- data/spec/models/custom_events_request_spec.rb +34 -0
- data/spec/models/delivery_data_spec.rb +1 -1
- data/spec/models/export_events_success_response_spec.rb +1 -1
- data/spec/models/export_subscriptions_request_body_spec.rb +1 -1
- data/spec/models/export_subscriptions_success_response_spec.rb +1 -1
- data/spec/models/filter_expression_spec.rb +1 -1
- data/spec/models/filter_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/generic_success_bool_response_spec.rb +1 -1
- data/spec/models/get_notification_history_request_body_spec.rb +1 -1
- data/spec/models/get_segments_success_response_spec.rb +1 -1
- data/spec/models/language_string_map_spec.rb +1 -1
- data/spec/models/notification_all_of_spec.rb +1 -1
- data/spec/models/notification_history_success_response_spec.rb +1 -1
- data/spec/models/notification_slice_spec.rb +1 -1
- data/spec/models/notification_spec.rb +1 -1
- data/spec/models/notification_target_spec.rb +1 -1
- data/spec/models/notification_with_meta_all_of_spec.rb +7 -1
- data/spec/models/notification_with_meta_spec.rb +7 -1
- data/spec/models/operator_spec.rb +1 -1
- data/spec/models/outcome_data_spec.rb +1 -1
- data/spec/models/outcomes_data_spec.rb +1 -1
- data/spec/models/platform_delivery_data_email_all_of_spec.rb +1 -1
- data/spec/models/platform_delivery_data_sms_all_of_spec.rb +1 -1
- data/spec/models/platform_delivery_data_spec.rb +1 -1
- data/spec/models/properties_body_spec.rb +1 -1
- data/spec/models/properties_deltas_spec.rb +1 -1
- data/spec/models/properties_object_spec.rb +1 -1
- data/spec/models/purchase_spec.rb +1 -1
- data/spec/models/rate_limit_error_spec.rb +1 -1
- data/spec/models/segment_data_spec.rb +1 -1
- data/spec/models/segment_notification_target_spec.rb +1 -1
- data/spec/models/segment_spec.rb +1 -1
- data/spec/models/start_live_activity_request_spec.rb +128 -0
- data/spec/models/start_live_activity_success_response_spec.rb +34 -0
- data/spec/models/subscription_body_spec.rb +1 -1
- data/spec/models/subscription_notification_target_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/template_resource_spec.rb +68 -0
- data/spec/models/templates_list_response_spec.rb +34 -0
- data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
- data/spec/models/update_api_key_request_spec.rb +50 -0
- data/spec/models/update_live_activity_request_spec.rb +1 -1
- data/spec/models/update_live_activity_success_response_spec.rb +1 -1
- data/spec/models/update_template_request_spec.rb +70 -0
- data/spec/models/update_user_request_spec.rb +1 -1
- data/spec/models/user_identity_body_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/web_button_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +57 -1
@@ -0,0 +1,68 @@
|
|
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
|
+
The version of the OpenAPI document: 5.3.0
|
7
|
+
Contact: devrel@onesignal.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OneSignal::TemplateResource
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe OneSignal::TemplateResource do
|
21
|
+
let(:instance) { OneSignal::TemplateResource.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TemplateResource' do
|
24
|
+
it 'should create an instance of TemplateResource' do
|
25
|
+
expect(instance).to be_instance_of(OneSignal::TemplateResource)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "id"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "name"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "created_at"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "updated_at"' 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
|
+
describe 'test attribute "channel"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["push", "email", "sms"])
|
56
|
+
# validator.allowable_values.each do |value|
|
57
|
+
# expect { instance.channel = value }.not_to raise_error
|
58
|
+
# end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'test attribute "content"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
@@ -0,0 +1,34 @@
|
|
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
|
+
The version of the OpenAPI document: 5.3.0
|
7
|
+
Contact: devrel@onesignal.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OneSignal::TemplatesListResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe OneSignal::TemplatesListResponse do
|
21
|
+
let(:instance) { OneSignal::TemplatesListResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TemplatesListResponse' do
|
24
|
+
it 'should create an instance of TemplatesListResponse' do
|
25
|
+
expect(instance).to be_instance_of(OneSignal::TemplatesListResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "templates"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 5.
|
6
|
+
The version of the OpenAPI document: 5.3.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -0,0 +1,50 @@
|
|
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
|
+
The version of the OpenAPI document: 5.3.0
|
7
|
+
Contact: devrel@onesignal.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OneSignal::UpdateApiKeyRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe OneSignal::UpdateApiKeyRequest do
|
21
|
+
let(:instance) { OneSignal::UpdateApiKeyRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateApiKeyRequest' do
|
24
|
+
it 'should create an instance of UpdateApiKeyRequest' do
|
25
|
+
expect(instance).to be_instance_of(OneSignal::UpdateApiKeyRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "name"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "ip_allowlist_mode"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["disabled", "explicit"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.ip_allowlist_mode = value }.not_to raise_error
|
40
|
+
# end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "ip_allowlist"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 5.
|
6
|
+
The version of the OpenAPI document: 5.3.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 5.
|
6
|
+
The version of the OpenAPI document: 5.3.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -0,0 +1,70 @@
|
|
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
|
+
The version of the OpenAPI document: 5.3.0
|
7
|
+
Contact: devrel@onesignal.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OneSignal::UpdateTemplateRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe OneSignal::UpdateTemplateRequest do
|
21
|
+
let(:instance) { OneSignal::UpdateTemplateRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of UpdateTemplateRequest' do
|
24
|
+
it 'should create an instance of UpdateTemplateRequest' do
|
25
|
+
expect(instance).to be_instance_of(OneSignal::UpdateTemplateRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "name"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "contents"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "is_email"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "email_subject"' 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
|
+
describe 'test attribute "email_body"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "is_sms"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "dynamic_content"' 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
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 5.
|
6
|
+
The version of the OpenAPI document: 5.3.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 5.
|
6
|
+
The version of the OpenAPI document: 5.3.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
data/spec/models/user_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 5.
|
6
|
+
The version of the OpenAPI document: 5.3.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 5.
|
6
|
+
The version of the OpenAPI document: 5.3.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
data/spec/spec_helper.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 5.
|
6
|
+
The version of the OpenAPI document: 5.3.0
|
7
7
|
Contact: devrel@onesignal.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onesignal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.3.0.pre.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OneSignal
|
@@ -62,17 +62,25 @@ files:
|
|
62
62
|
- README.md
|
63
63
|
- RELEASE_INSTRUCTIONS.md
|
64
64
|
- Rakefile
|
65
|
+
- docs/ApiKeyToken.md
|
66
|
+
- docs/ApiKeyTokensListResponse.md
|
65
67
|
- docs/App.md
|
66
68
|
- docs/BasicNotification.md
|
67
69
|
- docs/BasicNotificationAllOf.md
|
68
70
|
- docs/BasicNotificationAllOfAndroidBackgroundLayout.md
|
69
71
|
- docs/Button.md
|
72
|
+
- docs/CopyTemplateRequest.md
|
73
|
+
- docs/CreateApiKeyRequest.md
|
74
|
+
- docs/CreateApiKeyResponse.md
|
70
75
|
- docs/CreateNotificationSuccessResponse.md
|
71
76
|
- docs/CreateSegmentConflictResponse.md
|
72
77
|
- docs/CreateSegmentSuccessResponse.md
|
78
|
+
- docs/CreateTemplateRequest.md
|
73
79
|
- docs/CreateUserConflictResponse.md
|
74
80
|
- docs/CreateUserConflictResponseErrorsInner.md
|
75
81
|
- docs/CreateUserConflictResponseErrorsItemsMeta.md
|
82
|
+
- docs/CustomEvent.md
|
83
|
+
- docs/CustomEventsRequest.md
|
76
84
|
- docs/DefaultApi.md
|
77
85
|
- docs/DeliveryData.md
|
78
86
|
- docs/ExportEventsSuccessResponse.md
|
@@ -106,12 +114,18 @@ files:
|
|
106
114
|
- docs/Segment.md
|
107
115
|
- docs/SegmentData.md
|
108
116
|
- docs/SegmentNotificationTarget.md
|
117
|
+
- docs/StartLiveActivityRequest.md
|
118
|
+
- docs/StartLiveActivitySuccessResponse.md
|
109
119
|
- docs/Subscription.md
|
110
120
|
- docs/SubscriptionBody.md
|
111
121
|
- docs/SubscriptionNotificationTarget.md
|
122
|
+
- docs/TemplateResource.md
|
123
|
+
- docs/TemplatesListResponse.md
|
112
124
|
- docs/TransferSubscriptionRequestBody.md
|
125
|
+
- docs/UpdateApiKeyRequest.md
|
113
126
|
- docs/UpdateLiveActivityRequest.md
|
114
127
|
- docs/UpdateLiveActivitySuccessResponse.md
|
128
|
+
- docs/UpdateTemplateRequest.md
|
115
129
|
- docs/UpdateUserRequest.md
|
116
130
|
- docs/User.md
|
117
131
|
- docs/UserIdentityBody.md
|
@@ -121,17 +135,25 @@ files:
|
|
121
135
|
- lib/onesignal/api_client.rb
|
122
136
|
- lib/onesignal/api_error.rb
|
123
137
|
- lib/onesignal/configuration.rb
|
138
|
+
- lib/onesignal/models/api_key_token.rb
|
139
|
+
- lib/onesignal/models/api_key_tokens_list_response.rb
|
124
140
|
- lib/onesignal/models/app.rb
|
125
141
|
- lib/onesignal/models/basic_notification.rb
|
126
142
|
- lib/onesignal/models/basic_notification_all_of.rb
|
127
143
|
- lib/onesignal/models/basic_notification_all_of_android_background_layout.rb
|
128
144
|
- lib/onesignal/models/button.rb
|
145
|
+
- lib/onesignal/models/copy_template_request.rb
|
146
|
+
- lib/onesignal/models/create_api_key_request.rb
|
147
|
+
- lib/onesignal/models/create_api_key_response.rb
|
129
148
|
- lib/onesignal/models/create_notification_success_response.rb
|
130
149
|
- lib/onesignal/models/create_segment_conflict_response.rb
|
131
150
|
- lib/onesignal/models/create_segment_success_response.rb
|
151
|
+
- lib/onesignal/models/create_template_request.rb
|
132
152
|
- lib/onesignal/models/create_user_conflict_response.rb
|
133
153
|
- lib/onesignal/models/create_user_conflict_response_errors_inner.rb
|
134
154
|
- lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb
|
155
|
+
- lib/onesignal/models/custom_event.rb
|
156
|
+
- lib/onesignal/models/custom_events_request.rb
|
135
157
|
- lib/onesignal/models/delivery_data.rb
|
136
158
|
- lib/onesignal/models/export_events_success_response.rb
|
137
159
|
- lib/onesignal/models/export_subscriptions_request_body.rb
|
@@ -164,12 +186,18 @@ files:
|
|
164
186
|
- lib/onesignal/models/segment.rb
|
165
187
|
- lib/onesignal/models/segment_data.rb
|
166
188
|
- lib/onesignal/models/segment_notification_target.rb
|
189
|
+
- lib/onesignal/models/start_live_activity_request.rb
|
190
|
+
- lib/onesignal/models/start_live_activity_success_response.rb
|
167
191
|
- lib/onesignal/models/subscription.rb
|
168
192
|
- lib/onesignal/models/subscription_body.rb
|
169
193
|
- lib/onesignal/models/subscription_notification_target.rb
|
194
|
+
- lib/onesignal/models/template_resource.rb
|
195
|
+
- lib/onesignal/models/templates_list_response.rb
|
170
196
|
- lib/onesignal/models/transfer_subscription_request_body.rb
|
197
|
+
- lib/onesignal/models/update_api_key_request.rb
|
171
198
|
- lib/onesignal/models/update_live_activity_request.rb
|
172
199
|
- lib/onesignal/models/update_live_activity_success_response.rb
|
200
|
+
- lib/onesignal/models/update_template_request.rb
|
173
201
|
- lib/onesignal/models/update_user_request.rb
|
174
202
|
- lib/onesignal/models/user.rb
|
175
203
|
- lib/onesignal/models/user_identity_body.rb
|
@@ -179,17 +207,25 @@ files:
|
|
179
207
|
- spec/api/default_api_spec.rb
|
180
208
|
- spec/api_client_spec.rb
|
181
209
|
- spec/configuration_spec.rb
|
210
|
+
- spec/models/api_key_token_spec.rb
|
211
|
+
- spec/models/api_key_tokens_list_response_spec.rb
|
182
212
|
- spec/models/app_spec.rb
|
183
213
|
- spec/models/basic_notification_all_of_android_background_layout_spec.rb
|
184
214
|
- spec/models/basic_notification_all_of_spec.rb
|
185
215
|
- spec/models/basic_notification_spec.rb
|
186
216
|
- spec/models/button_spec.rb
|
217
|
+
- spec/models/copy_template_request_spec.rb
|
218
|
+
- spec/models/create_api_key_request_spec.rb
|
219
|
+
- spec/models/create_api_key_response_spec.rb
|
187
220
|
- spec/models/create_notification_success_response_spec.rb
|
188
221
|
- spec/models/create_segment_conflict_response_spec.rb
|
189
222
|
- spec/models/create_segment_success_response_spec.rb
|
223
|
+
- spec/models/create_template_request_spec.rb
|
190
224
|
- spec/models/create_user_conflict_response_errors_inner_spec.rb
|
191
225
|
- spec/models/create_user_conflict_response_errors_items_meta_spec.rb
|
192
226
|
- spec/models/create_user_conflict_response_spec.rb
|
227
|
+
- spec/models/custom_event_spec.rb
|
228
|
+
- spec/models/custom_events_request_spec.rb
|
193
229
|
- spec/models/delivery_data_spec.rb
|
194
230
|
- spec/models/export_events_success_response_spec.rb
|
195
231
|
- spec/models/export_subscriptions_request_body_spec.rb
|
@@ -222,12 +258,18 @@ files:
|
|
222
258
|
- spec/models/segment_data_spec.rb
|
223
259
|
- spec/models/segment_notification_target_spec.rb
|
224
260
|
- spec/models/segment_spec.rb
|
261
|
+
- spec/models/start_live_activity_request_spec.rb
|
262
|
+
- spec/models/start_live_activity_success_response_spec.rb
|
225
263
|
- spec/models/subscription_body_spec.rb
|
226
264
|
- spec/models/subscription_notification_target_spec.rb
|
227
265
|
- spec/models/subscription_spec.rb
|
266
|
+
- spec/models/template_resource_spec.rb
|
267
|
+
- spec/models/templates_list_response_spec.rb
|
228
268
|
- spec/models/transfer_subscription_request_body_spec.rb
|
269
|
+
- spec/models/update_api_key_request_spec.rb
|
229
270
|
- spec/models/update_live_activity_request_spec.rb
|
230
271
|
- spec/models/update_live_activity_success_response_spec.rb
|
272
|
+
- spec/models/update_template_request_spec.rb
|
231
273
|
- spec/models/update_user_request_spec.rb
|
232
274
|
- spec/models/user_identity_body_spec.rb
|
233
275
|
- spec/models/user_spec.rb
|
@@ -258,17 +300,25 @@ test_files:
|
|
258
300
|
- spec/api/default_api_spec.rb
|
259
301
|
- spec/api_client_spec.rb
|
260
302
|
- spec/configuration_spec.rb
|
303
|
+
- spec/models/api_key_token_spec.rb
|
304
|
+
- spec/models/api_key_tokens_list_response_spec.rb
|
261
305
|
- spec/models/app_spec.rb
|
262
306
|
- spec/models/basic_notification_all_of_android_background_layout_spec.rb
|
263
307
|
- spec/models/basic_notification_all_of_spec.rb
|
264
308
|
- spec/models/basic_notification_spec.rb
|
265
309
|
- spec/models/button_spec.rb
|
310
|
+
- spec/models/copy_template_request_spec.rb
|
311
|
+
- spec/models/create_api_key_request_spec.rb
|
312
|
+
- spec/models/create_api_key_response_spec.rb
|
266
313
|
- spec/models/create_notification_success_response_spec.rb
|
267
314
|
- spec/models/create_segment_conflict_response_spec.rb
|
268
315
|
- spec/models/create_segment_success_response_spec.rb
|
316
|
+
- spec/models/create_template_request_spec.rb
|
269
317
|
- spec/models/create_user_conflict_response_errors_inner_spec.rb
|
270
318
|
- spec/models/create_user_conflict_response_errors_items_meta_spec.rb
|
271
319
|
- spec/models/create_user_conflict_response_spec.rb
|
320
|
+
- spec/models/custom_event_spec.rb
|
321
|
+
- spec/models/custom_events_request_spec.rb
|
272
322
|
- spec/models/delivery_data_spec.rb
|
273
323
|
- spec/models/export_events_success_response_spec.rb
|
274
324
|
- spec/models/export_subscriptions_request_body_spec.rb
|
@@ -301,12 +351,18 @@ test_files:
|
|
301
351
|
- spec/models/segment_data_spec.rb
|
302
352
|
- spec/models/segment_notification_target_spec.rb
|
303
353
|
- spec/models/segment_spec.rb
|
354
|
+
- spec/models/start_live_activity_request_spec.rb
|
355
|
+
- spec/models/start_live_activity_success_response_spec.rb
|
304
356
|
- spec/models/subscription_body_spec.rb
|
305
357
|
- spec/models/subscription_notification_target_spec.rb
|
306
358
|
- spec/models/subscription_spec.rb
|
359
|
+
- spec/models/template_resource_spec.rb
|
360
|
+
- spec/models/templates_list_response_spec.rb
|
307
361
|
- spec/models/transfer_subscription_request_body_spec.rb
|
362
|
+
- spec/models/update_api_key_request_spec.rb
|
308
363
|
- spec/models/update_live_activity_request_spec.rb
|
309
364
|
- spec/models/update_live_activity_success_response_spec.rb
|
365
|
+
- spec/models/update_template_request_spec.rb
|
310
366
|
- spec/models/update_user_request_spec.rb
|
311
367
|
- spec/models/user_identity_body_spec.rb
|
312
368
|
- spec/models/user_spec.rb
|