notifo-io 1.1.0 → 1.2.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 +245 -60
- data/docs/AddContributorDto.md +1 -1
- data/docs/AdminProfileDto.md +7 -0
- data/docs/AppsApi.md +1 -1
- data/docs/ChannelSendInfoDto.md +4 -0
- data/docs/ConfigsApi.md +1 -1
- data/docs/DiagnosticsApi.md +85 -0
- data/docs/EmailTemplatesApi.md +26 -26
- data/docs/EventDto.md +0 -2
- data/docs/EventsApi.md +1 -1
- data/docs/InfoDto.md +7 -0
- data/docs/IntegrationPropertyDto.md +1 -1
- data/docs/LogsApi.md +1 -1
- data/docs/MediaApi.md +154 -4
- data/docs/MessagingTemplatesApi.md +26 -26
- data/docs/MobilePushApi.md +1 -1
- data/docs/MobilePushTokenDto.md +1 -0
- data/docs/MobilePushTokenDto2.md +1 -0
- data/docs/NotificationsApi.md +131 -7
- data/docs/PingApi.md +85 -2
- data/docs/{IntegrationPropertyType.md → PropertyType.md} +1 -1
- data/docs/PublishDto.md +2 -0
- data/docs/RegisterMobileTokenDto.md +1 -0
- data/docs/SendConfiguration.md +6 -0
- data/docs/SmsTemplatesApi.md +26 -26
- data/docs/SystemUsersApi.md +5 -4
- data/docs/TemplatesApi.md +1 -1
- data/docs/TopicsApi.md +6 -6
- data/docs/TrackNotificationDto.md +1 -0
- data/docs/UserApi.md +41 -1
- data/docs/UserDto.md +1 -2
- data/docs/UserNotificationBaseDto.md +1 -0
- data/docs/UserNotificationDetailsDto.md +1 -0
- data/docs/UserNotificationDto.md +1 -0
- data/docs/UsersApi.md +101 -6
- data/docs/WebPushSubscriptionDto.md +7 -0
- data/lib/notifo/api/apps_api.rb +1 -1
- data/lib/notifo/api/configs_api.rb +1 -1
- data/lib/notifo/api/diagnostics_api.rb +116 -0
- data/lib/notifo/api/email_templates_api.rb +46 -46
- data/lib/notifo/api/events_api.rb +1 -1
- data/lib/notifo/api/logs_api.rb +1 -1
- data/lib/notifo/api/media_api.rb +197 -2
- data/lib/notifo/api/messaging_templates_api.rb +46 -46
- data/lib/notifo/api/mobile_push_api.rb +1 -1
- data/lib/notifo/api/notifications_api.rb +150 -3
- data/lib/notifo/api/ping_api.rb +102 -2
- data/lib/notifo/api/sms_templates_api.rb +46 -46
- data/lib/notifo/api/system_users_api.rb +6 -6
- data/lib/notifo/api/templates_api.rb +1 -1
- data/lib/notifo/api/topics_api.rb +10 -10
- data/lib/notifo/api/user_api.rb +49 -1
- data/lib/notifo/api/users_api.rb +139 -7
- data/lib/notifo/api_client.rb +1 -1
- data/lib/notifo/api_error.rb +1 -1
- data/lib/notifo/configuration.rb +3 -3
- data/lib/notifo/models/add_allowed_topic_dto.rb +1 -1
- data/lib/notifo/models/add_contributor_dto.rb +2 -6
- data/lib/notifo/models/admin_profile_dto.rb +208 -0
- data/lib/notifo/models/app_contributor_dto.rb +1 -1
- data/lib/notifo/models/app_details_dto.rb +1 -1
- data/lib/notifo/models/app_dto.rb +1 -1
- data/lib/notifo/models/app_id_media_body.rb +1 -1
- data/lib/notifo/models/channel_condition.rb +1 -1
- data/lib/notifo/models/channel_send.rb +1 -1
- data/lib/notifo/models/channel_send_info_dto.rb +48 -6
- data/lib/notifo/models/channel_setting_dto.rb +1 -1
- data/lib/notifo/models/channel_template_details_dto_of_email_template_dto.rb +1 -1
- data/lib/notifo/models/channel_template_details_dto_of_messaging_template_dto.rb +1 -1
- data/lib/notifo/models/channel_template_details_dto_of_sms_template_dto.rb +1 -1
- data/lib/notifo/models/channel_template_dto.rb +1 -1
- data/lib/notifo/models/configured_integration_dto.rb +1 -1
- data/lib/notifo/models/configured_integrations_dto.rb +1 -1
- data/lib/notifo/models/confirm_mode.rb +1 -1
- data/lib/notifo/models/create_channel_template_dto.rb +1 -1
- data/lib/notifo/models/create_channel_template_language_dto.rb +1 -1
- data/lib/notifo/models/create_integration_dto.rb +1 -1
- data/lib/notifo/models/create_system_user_dto.rb +1 -1
- data/lib/notifo/models/email_formatting_error.rb +1 -1
- data/lib/notifo/models/email_preview_dto.rb +1 -1
- data/lib/notifo/models/email_preview_request_dto.rb +1 -1
- data/lib/notifo/models/email_preview_type.rb +1 -1
- data/lib/notifo/models/email_template_dto.rb +1 -1
- data/lib/notifo/models/email_template_type.rb +1 -1
- data/lib/notifo/models/error_dto.rb +1 -1
- data/lib/notifo/models/event_dto.rb +2 -24
- data/lib/notifo/models/handled_info_dto.rb +1 -1
- data/lib/notifo/models/info_dto.rb +212 -0
- data/lib/notifo/models/integration_created_dto.rb +1 -1
- data/lib/notifo/models/integration_definition_dto.rb +1 -1
- data/lib/notifo/models/integration_property_dto.rb +1 -1
- data/lib/notifo/models/integration_status.rb +1 -1
- data/lib/notifo/models/iso_day_of_week.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_channel_template_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_event_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_log_entry_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_media_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_mobile_push_token_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_subscription_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_system_user_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_template_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_topic_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_user_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_user_notification_details_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_user_notification_dto.rb +1 -1
- data/lib/notifo/models/localized_text.rb +1 -1
- data/lib/notifo/models/log_entry_dto.rb +1 -1
- data/lib/notifo/models/media_dto.rb +1 -1
- data/lib/notifo/models/media_metadata.rb +1 -1
- data/lib/notifo/models/media_type.rb +1 -1
- data/lib/notifo/models/messaging_template_dto.rb +1 -1
- data/lib/notifo/models/mobile_device_type.rb +1 -1
- data/lib/notifo/models/mobile_push_token_dto.rb +13 -2
- data/lib/notifo/models/mobile_push_token_dto2.rb +16 -5
- data/lib/notifo/models/notification_formatting_dto.rb +1 -1
- data/lib/notifo/models/notification_properties.rb +1 -1
- data/lib/notifo/models/process_status.rb +1 -1
- data/lib/notifo/models/profile_dto.rb +1 -1
- data/lib/notifo/models/{integration_property_type.rb → property_type.rb} +4 -4
- data/lib/notifo/models/publish_dto.rb +26 -2
- data/lib/notifo/models/publish_many_dto.rb +1 -1
- data/lib/notifo/models/register_mobile_token_dto.rb +16 -5
- data/lib/notifo/models/resize_mode.rb +1 -1
- data/lib/notifo/models/scheduling_dto.rb +1 -1
- data/lib/notifo/models/scheduling_type.rb +1 -1
- data/lib/notifo/models/send_configuration.rb +201 -0
- data/lib/notifo/models/sms_template_dto.rb +1 -1
- data/lib/notifo/models/subscribe_dto.rb +1 -1
- data/lib/notifo/models/subscribe_many_dto.rb +1 -1
- data/lib/notifo/models/subscription_dto.rb +1 -1
- data/lib/notifo/models/system_user_dto.rb +1 -1
- data/lib/notifo/models/template_dto.rb +1 -1
- data/lib/notifo/models/topic_channel.rb +2 -2
- data/lib/notifo/models/topic_dto.rb +1 -1
- data/lib/notifo/models/topic_query_scope.rb +1 -1
- data/lib/notifo/models/track_notification_dto.rb +12 -2
- data/lib/notifo/models/update_channel_template_dto_of_email_template_dto.rb +1 -1
- data/lib/notifo/models/update_channel_template_dto_of_messaging_template_dto.rb +1 -1
- data/lib/notifo/models/update_channel_template_dto_of_sms_template_dto.rb +1 -1
- data/lib/notifo/models/update_integration_dto.rb +1 -1
- data/lib/notifo/models/update_profile_dto.rb +1 -1
- data/lib/notifo/models/update_system_user_dto.rb +1 -1
- data/lib/notifo/models/upsert_app_dto.rb +1 -1
- data/lib/notifo/models/upsert_template_dto.rb +1 -1
- data/lib/notifo/models/upsert_templates_dto.rb +1 -1
- data/lib/notifo/models/upsert_topic_dto.rb +1 -1
- data/lib/notifo/models/upsert_topics_dto.rb +1 -1
- data/lib/notifo/models/upsert_user_dto.rb +1 -1
- data/lib/notifo/models/upsert_users_dto.rb +1 -1
- data/lib/notifo/models/user_dto.rb +19 -32
- data/lib/notifo/models/user_notification_base_dto.rb +13 -2
- data/lib/notifo/models/user_notification_channel_dto.rb +1 -1
- data/lib/notifo/models/user_notification_details_dto.rb +13 -2
- data/lib/notifo/models/user_notification_dto.rb +13 -2
- data/lib/notifo/models/user_property_dto.rb +1 -1
- data/lib/notifo/models/user_topic_dto.rb +1 -1
- data/lib/notifo/models/web_push_subscription_dto.rb +212 -0
- data/lib/notifo/version.rb +1 -1
- data/lib/notifo.rb +7 -2
- data/notifo.gemspec +2 -3
- data/spec/api/apps_api_spec.rb +1 -1
- data/spec/api/configs_api_spec.rb +1 -1
- data/spec/api/diagnostics_api_spec.rb +54 -0
- data/spec/api/email_templates_api_spec.rb +6 -6
- data/spec/api/events_api_spec.rb +1 -1
- data/spec/api/logs_api_spec.rb +1 -1
- data/spec/api/media_api_spec.rb +52 -1
- data/spec/api/messaging_templates_api_spec.rb +6 -6
- data/spec/api/mobile_push_api_spec.rb +1 -1
- data/spec/api/notifications_api_spec.rb +38 -2
- data/spec/api/ping_api_spec.rb +23 -1
- data/spec/api/sms_templates_api_spec.rb +6 -6
- data/spec/api/system_users_api_spec.rb +2 -2
- data/spec/api/templates_api_spec.rb +1 -1
- data/spec/api/topics_api_spec.rb +2 -2
- data/spec/api/user_api_spec.rb +11 -1
- data/spec/api/users_api_spec.rb +28 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/add_allowed_topic_dto_spec.rb +1 -1
- data/spec/models/add_contributor_dto_spec.rb +1 -1
- data/spec/models/admin_profile_dto_spec.rb +40 -0
- data/spec/models/app_contributor_dto_spec.rb +1 -1
- data/spec/models/app_details_dto_spec.rb +1 -1
- data/spec/models/app_dto_spec.rb +1 -1
- data/spec/models/app_id_media_body_spec.rb +1 -1
- data/spec/models/channel_condition_spec.rb +1 -1
- data/spec/models/channel_send_info_dto_spec.rb +25 -1
- data/spec/models/channel_send_spec.rb +1 -1
- data/spec/models/channel_setting_dto_spec.rb +1 -1
- data/spec/models/channel_template_details_dto_of_email_template_dto_spec.rb +1 -1
- data/spec/models/channel_template_details_dto_of_messaging_template_dto_spec.rb +1 -1
- data/spec/models/channel_template_details_dto_of_sms_template_dto_spec.rb +1 -1
- data/spec/models/channel_template_dto_spec.rb +1 -1
- data/spec/models/configured_integration_dto_spec.rb +1 -1
- data/spec/models/configured_integrations_dto_spec.rb +1 -1
- data/spec/models/confirm_mode_spec.rb +1 -1
- data/spec/models/create_channel_template_dto_spec.rb +1 -1
- data/spec/models/create_channel_template_language_dto_spec.rb +1 -1
- data/spec/models/create_integration_dto_spec.rb +1 -1
- data/spec/models/create_system_user_dto_spec.rb +1 -1
- data/spec/models/email_formatting_error_spec.rb +1 -1
- data/spec/models/email_preview_dto_spec.rb +1 -1
- data/spec/models/email_preview_request_dto_spec.rb +1 -1
- data/spec/models/email_preview_type_spec.rb +1 -1
- data/spec/models/email_template_dto_spec.rb +1 -1
- data/spec/models/email_template_type_spec.rb +1 -1
- data/spec/models/error_dto_spec.rb +1 -1
- data/spec/models/event_dto_spec.rb +1 -13
- data/spec/models/handled_info_dto_spec.rb +1 -1
- data/spec/models/info_dto_spec.rb +40 -0
- data/spec/models/integration_created_dto_spec.rb +1 -1
- data/spec/models/integration_definition_dto_spec.rb +1 -1
- data/spec/models/integration_property_dto_spec.rb +1 -1
- data/spec/models/integration_status_spec.rb +1 -1
- data/spec/models/iso_day_of_week_spec.rb +1 -1
- data/spec/models/list_response_dto_of_channel_template_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_event_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_log_entry_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_media_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_mobile_push_token_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_subscription_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_system_user_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_template_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_topic_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_user_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_user_notification_details_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_user_notification_dto_spec.rb +1 -1
- data/spec/models/localized_text_spec.rb +1 -1
- data/spec/models/log_entry_dto_spec.rb +1 -1
- data/spec/models/media_dto_spec.rb +1 -1
- data/spec/models/media_metadata_spec.rb +1 -1
- data/spec/models/media_type_spec.rb +1 -1
- data/spec/models/messaging_template_dto_spec.rb +1 -1
- data/spec/models/mobile_device_type_spec.rb +1 -1
- data/spec/models/mobile_push_token_dto2_spec.rb +7 -1
- data/spec/models/mobile_push_token_dto_spec.rb +7 -1
- data/spec/models/notification_formatting_dto_spec.rb +1 -1
- data/spec/models/notification_properties_spec.rb +1 -1
- data/spec/models/process_status_spec.rb +1 -1
- data/spec/models/profile_dto_spec.rb +1 -1
- data/spec/models/{integration_property_type_spec.rb → property_type_spec.rb} +7 -7
- data/spec/models/publish_dto_spec.rb +13 -1
- data/spec/models/publish_many_dto_spec.rb +1 -1
- data/spec/models/register_mobile_token_dto_spec.rb +7 -1
- data/spec/models/resize_mode_spec.rb +1 -1
- data/spec/models/scheduling_dto_spec.rb +1 -1
- data/spec/models/scheduling_type_spec.rb +1 -1
- data/spec/models/send_configuration_spec.rb +34 -0
- data/spec/models/sms_template_dto_spec.rb +1 -1
- data/spec/models/subscribe_dto_spec.rb +1 -1
- data/spec/models/subscribe_many_dto_spec.rb +1 -1
- data/spec/models/subscription_dto_spec.rb +1 -1
- data/spec/models/system_user_dto_spec.rb +1 -1
- data/spec/models/template_dto_spec.rb +1 -1
- data/spec/models/topic_channel_spec.rb +1 -1
- data/spec/models/topic_dto_spec.rb +1 -1
- data/spec/models/topic_query_scope_spec.rb +1 -1
- data/spec/models/track_notification_dto_spec.rb +7 -1
- data/spec/models/update_channel_template_dto_of_email_template_dto_spec.rb +1 -1
- data/spec/models/update_channel_template_dto_of_messaging_template_dto_spec.rb +1 -1
- data/spec/models/update_channel_template_dto_of_sms_template_dto_spec.rb +1 -1
- data/spec/models/update_integration_dto_spec.rb +1 -1
- data/spec/models/update_profile_dto_spec.rb +1 -1
- data/spec/models/update_system_user_dto_spec.rb +1 -1
- data/spec/models/upsert_app_dto_spec.rb +1 -1
- data/spec/models/upsert_template_dto_spec.rb +1 -1
- data/spec/models/upsert_templates_dto_spec.rb +1 -1
- data/spec/models/upsert_topic_dto_spec.rb +1 -1
- data/spec/models/upsert_topics_dto_spec.rb +1 -1
- data/spec/models/upsert_user_dto_spec.rb +1 -1
- data/spec/models/upsert_users_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +7 -13
- data/spec/models/user_notification_base_dto_spec.rb +7 -1
- data/spec/models/user_notification_channel_dto_spec.rb +1 -1
- data/spec/models/user_notification_details_dto_spec.rb +7 -1
- data/spec/models/user_notification_dto_spec.rb +7 -1
- data/spec/models/user_property_dto_spec.rb +1 -1
- data/spec/models/user_topic_dto_spec.rb +1 -1
- data/spec/models/web_push_subscription_dto_spec.rb +40 -0
- data/spec/spec_helper.rb +1 -1
- metadata +27 -7
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.36
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -91,18 +91,6 @@ describe 'UserDto' do
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
|
-
describe 'test attribute "number_of_web_push_tokens"' do
|
95
|
-
it 'should work' do
|
96
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
describe 'test attribute "number_of_mobile_push_tokens"' do
|
101
|
-
it 'should work' do
|
102
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
94
|
describe 'test attribute "requires_whitelisted_topics"' do
|
107
95
|
it 'should work' do
|
108
96
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -133,6 +121,12 @@ describe 'UserDto' do
|
|
133
121
|
end
|
134
122
|
end
|
135
123
|
|
124
|
+
describe 'test attribute "web_push_subscriptions"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
136
130
|
describe 'test attribute "user_properties"' do
|
137
131
|
it 'should work' do
|
138
132
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.36
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -121,6 +121,12 @@ describe 'UserNotificationBaseDto' do
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
+
describe 'test attribute "correlation_id"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
124
130
|
describe 'test attribute "data"' do
|
125
131
|
it 'should work' do
|
126
132
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.36
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -121,6 +121,12 @@ describe 'UserNotificationDetailsDto' do
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
+
describe 'test attribute "correlation_id"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
124
130
|
describe 'test attribute "data"' do
|
125
131
|
it 'should work' do
|
126
132
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.36
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -121,6 +121,12 @@ describe 'UserNotificationDto' do
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
+
describe 'test attribute "correlation_id"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
124
130
|
describe 'test attribute "data"' do
|
125
131
|
it 'should work' do
|
126
132
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Notifo API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.36
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
require 'date'
|
15
|
+
|
16
|
+
# Unit tests for Notifo::WebPushSubscriptionDto
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'WebPushSubscriptionDto' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = Notifo::WebPushSubscriptionDto.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of WebPushSubscriptionDto' do
|
30
|
+
it 'should create an instance of WebPushSubscriptionDto' do
|
31
|
+
expect(@instance).to be_instance_of(Notifo::WebPushSubscriptionDto)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
describe 'test attribute "endpoint"' 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
|
+
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: notifo-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Squidex UG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- Rakefile
|
84
84
|
- docs/AddAllowedTopicDto.md
|
85
85
|
- docs/AddContributorDto.md
|
86
|
+
- docs/AdminProfileDto.md
|
86
87
|
- docs/AppContributorDto.md
|
87
88
|
- docs/AppDetailsDto.md
|
88
89
|
- docs/AppDto.md
|
@@ -104,6 +105,7 @@ files:
|
|
104
105
|
- docs/CreateChannelTemplateLanguageDto.md
|
105
106
|
- docs/CreateIntegrationDto.md
|
106
107
|
- docs/CreateSystemUserDto.md
|
108
|
+
- docs/DiagnosticsApi.md
|
107
109
|
- docs/EmailFormattingError.md
|
108
110
|
- docs/EmailPreviewDto.md
|
109
111
|
- docs/EmailPreviewRequestDto.md
|
@@ -115,10 +117,10 @@ files:
|
|
115
117
|
- docs/EventDto.md
|
116
118
|
- docs/EventsApi.md
|
117
119
|
- docs/HandledInfoDto.md
|
120
|
+
- docs/InfoDto.md
|
118
121
|
- docs/IntegrationCreatedDto.md
|
119
122
|
- docs/IntegrationDefinitionDto.md
|
120
123
|
- docs/IntegrationPropertyDto.md
|
121
|
-
- docs/IntegrationPropertyType.md
|
122
124
|
- docs/IntegrationStatus.md
|
123
125
|
- docs/IsoDayOfWeek.md
|
124
126
|
- docs/ListResponseDtoOfChannelTemplateDto.md
|
@@ -152,12 +154,14 @@ files:
|
|
152
154
|
- docs/PingApi.md
|
153
155
|
- docs/ProcessStatus.md
|
154
156
|
- docs/ProfileDto.md
|
157
|
+
- docs/PropertyType.md
|
155
158
|
- docs/PublishDto.md
|
156
159
|
- docs/PublishManyDto.md
|
157
160
|
- docs/RegisterMobileTokenDto.md
|
158
161
|
- docs/ResizeMode.md
|
159
162
|
- docs/SchedulingDto.md
|
160
163
|
- docs/SchedulingType.md
|
164
|
+
- docs/SendConfiguration.md
|
161
165
|
- docs/SmsTemplateDto.md
|
162
166
|
- docs/SmsTemplatesApi.md
|
163
167
|
- docs/SubscribeDto.md
|
@@ -194,10 +198,12 @@ files:
|
|
194
198
|
- docs/UserPropertyDto.md
|
195
199
|
- docs/UserTopicDto.md
|
196
200
|
- docs/UsersApi.md
|
201
|
+
- docs/WebPushSubscriptionDto.md
|
197
202
|
- git_push.sh
|
198
203
|
- lib/notifo.rb
|
199
204
|
- lib/notifo/api/apps_api.rb
|
200
205
|
- lib/notifo/api/configs_api.rb
|
206
|
+
- lib/notifo/api/diagnostics_api.rb
|
201
207
|
- lib/notifo/api/email_templates_api.rb
|
202
208
|
- lib/notifo/api/events_api.rb
|
203
209
|
- lib/notifo/api/logs_api.rb
|
@@ -217,6 +223,7 @@ files:
|
|
217
223
|
- lib/notifo/configuration.rb
|
218
224
|
- lib/notifo/models/add_allowed_topic_dto.rb
|
219
225
|
- lib/notifo/models/add_contributor_dto.rb
|
226
|
+
- lib/notifo/models/admin_profile_dto.rb
|
220
227
|
- lib/notifo/models/app_contributor_dto.rb
|
221
228
|
- lib/notifo/models/app_details_dto.rb
|
222
229
|
- lib/notifo/models/app_dto.rb
|
@@ -245,10 +252,10 @@ files:
|
|
245
252
|
- lib/notifo/models/error_dto.rb
|
246
253
|
- lib/notifo/models/event_dto.rb
|
247
254
|
- lib/notifo/models/handled_info_dto.rb
|
255
|
+
- lib/notifo/models/info_dto.rb
|
248
256
|
- lib/notifo/models/integration_created_dto.rb
|
249
257
|
- lib/notifo/models/integration_definition_dto.rb
|
250
258
|
- lib/notifo/models/integration_property_dto.rb
|
251
|
-
- lib/notifo/models/integration_property_type.rb
|
252
259
|
- lib/notifo/models/integration_status.rb
|
253
260
|
- lib/notifo/models/iso_day_of_week.rb
|
254
261
|
- lib/notifo/models/list_response_dto_of_channel_template_dto.rb
|
@@ -276,12 +283,14 @@ files:
|
|
276
283
|
- lib/notifo/models/notification_properties.rb
|
277
284
|
- lib/notifo/models/process_status.rb
|
278
285
|
- lib/notifo/models/profile_dto.rb
|
286
|
+
- lib/notifo/models/property_type.rb
|
279
287
|
- lib/notifo/models/publish_dto.rb
|
280
288
|
- lib/notifo/models/publish_many_dto.rb
|
281
289
|
- lib/notifo/models/register_mobile_token_dto.rb
|
282
290
|
- lib/notifo/models/resize_mode.rb
|
283
291
|
- lib/notifo/models/scheduling_dto.rb
|
284
292
|
- lib/notifo/models/scheduling_type.rb
|
293
|
+
- lib/notifo/models/send_configuration.rb
|
285
294
|
- lib/notifo/models/sms_template_dto.rb
|
286
295
|
- lib/notifo/models/subscribe_dto.rb
|
287
296
|
- lib/notifo/models/subscribe_many_dto.rb
|
@@ -312,10 +321,12 @@ files:
|
|
312
321
|
- lib/notifo/models/user_notification_dto.rb
|
313
322
|
- lib/notifo/models/user_property_dto.rb
|
314
323
|
- lib/notifo/models/user_topic_dto.rb
|
324
|
+
- lib/notifo/models/web_push_subscription_dto.rb
|
315
325
|
- lib/notifo/version.rb
|
316
326
|
- notifo.gemspec
|
317
327
|
- spec/api/apps_api_spec.rb
|
318
328
|
- spec/api/configs_api_spec.rb
|
329
|
+
- spec/api/diagnostics_api_spec.rb
|
319
330
|
- spec/api/email_templates_api_spec.rb
|
320
331
|
- spec/api/events_api_spec.rb
|
321
332
|
- spec/api/logs_api_spec.rb
|
@@ -335,6 +346,7 @@ files:
|
|
335
346
|
- spec/configuration_spec.rb
|
336
347
|
- spec/models/add_allowed_topic_dto_spec.rb
|
337
348
|
- spec/models/add_contributor_dto_spec.rb
|
349
|
+
- spec/models/admin_profile_dto_spec.rb
|
338
350
|
- spec/models/app_contributor_dto_spec.rb
|
339
351
|
- spec/models/app_details_dto_spec.rb
|
340
352
|
- spec/models/app_dto_spec.rb
|
@@ -363,10 +375,10 @@ files:
|
|
363
375
|
- spec/models/error_dto_spec.rb
|
364
376
|
- spec/models/event_dto_spec.rb
|
365
377
|
- spec/models/handled_info_dto_spec.rb
|
378
|
+
- spec/models/info_dto_spec.rb
|
366
379
|
- spec/models/integration_created_dto_spec.rb
|
367
380
|
- spec/models/integration_definition_dto_spec.rb
|
368
381
|
- spec/models/integration_property_dto_spec.rb
|
369
|
-
- spec/models/integration_property_type_spec.rb
|
370
382
|
- spec/models/integration_status_spec.rb
|
371
383
|
- spec/models/iso_day_of_week_spec.rb
|
372
384
|
- spec/models/list_response_dto_of_channel_template_dto_spec.rb
|
@@ -394,12 +406,14 @@ files:
|
|
394
406
|
- spec/models/notification_properties_spec.rb
|
395
407
|
- spec/models/process_status_spec.rb
|
396
408
|
- spec/models/profile_dto_spec.rb
|
409
|
+
- spec/models/property_type_spec.rb
|
397
410
|
- spec/models/publish_dto_spec.rb
|
398
411
|
- spec/models/publish_many_dto_spec.rb
|
399
412
|
- spec/models/register_mobile_token_dto_spec.rb
|
400
413
|
- spec/models/resize_mode_spec.rb
|
401
414
|
- spec/models/scheduling_dto_spec.rb
|
402
415
|
- spec/models/scheduling_type_spec.rb
|
416
|
+
- spec/models/send_configuration_spec.rb
|
403
417
|
- spec/models/sms_template_dto_spec.rb
|
404
418
|
- spec/models/subscribe_dto_spec.rb
|
405
419
|
- spec/models/subscribe_many_dto_spec.rb
|
@@ -430,8 +444,9 @@ files:
|
|
430
444
|
- spec/models/user_notification_dto_spec.rb
|
431
445
|
- spec/models/user_property_dto_spec.rb
|
432
446
|
- spec/models/user_topic_dto_spec.rb
|
447
|
+
- spec/models/web_push_subscription_dto_spec.rb
|
433
448
|
- spec/spec_helper.rb
|
434
|
-
homepage: https://
|
449
|
+
homepage: https://notifo.io
|
435
450
|
licenses:
|
436
451
|
- Unlicense
|
437
452
|
metadata: {}
|
@@ -457,6 +472,7 @@ summary: Notifo API Ruby Gem
|
|
457
472
|
test_files:
|
458
473
|
- spec/api/logs_api_spec.rb
|
459
474
|
- spec/api/media_api_spec.rb
|
475
|
+
- spec/api/diagnostics_api_spec.rb
|
460
476
|
- spec/api/ping_api_spec.rb
|
461
477
|
- spec/api/topics_api_spec.rb
|
462
478
|
- spec/api/system_users_api_spec.rb
|
@@ -479,6 +495,7 @@ test_files:
|
|
479
495
|
- spec/models/email_template_dto_spec.rb
|
480
496
|
- spec/models/handled_info_dto_spec.rb
|
481
497
|
- spec/models/create_system_user_dto_spec.rb
|
498
|
+
- spec/models/property_type_spec.rb
|
482
499
|
- spec/models/email_preview_dto_spec.rb
|
483
500
|
- spec/models/update_channel_template_dto_of_messaging_template_dto_spec.rb
|
484
501
|
- spec/models/email_template_type_spec.rb
|
@@ -487,19 +504,22 @@ test_files:
|
|
487
504
|
- spec/models/app_dto_spec.rb
|
488
505
|
- spec/models/topic_channel_spec.rb
|
489
506
|
- spec/models/template_dto_spec.rb
|
507
|
+
- spec/models/admin_profile_dto_spec.rb
|
490
508
|
- spec/models/profile_dto_spec.rb
|
491
|
-
- spec/models/integration_property_type_spec.rb
|
492
509
|
- spec/models/mobile_device_type_spec.rb
|
493
510
|
- spec/models/update_channel_template_dto_of_email_template_dto_spec.rb
|
494
511
|
- spec/models/list_response_dto_of_user_notification_details_dto_spec.rb
|
512
|
+
- spec/models/web_push_subscription_dto_spec.rb
|
495
513
|
- spec/models/integration_definition_dto_spec.rb
|
496
514
|
- spec/models/upsert_user_dto_spec.rb
|
497
515
|
- spec/models/topic_query_scope_spec.rb
|
498
516
|
- spec/models/channel_template_details_dto_of_sms_template_dto_spec.rb
|
499
517
|
- spec/models/upsert_templates_dto_spec.rb
|
518
|
+
- spec/models/send_configuration_spec.rb
|
500
519
|
- spec/models/list_response_dto_of_media_dto_spec.rb
|
501
520
|
- spec/models/list_response_dto_of_subscription_dto_spec.rb
|
502
521
|
- spec/models/mobile_push_token_dto_spec.rb
|
522
|
+
- spec/models/info_dto_spec.rb
|
503
523
|
- spec/models/add_contributor_dto_spec.rb
|
504
524
|
- spec/models/email_formatting_error_spec.rb
|
505
525
|
- spec/models/list_response_dto_of_channel_template_dto_spec.rb
|