notifo-io 1.0.0.1 → 1.0.0.2
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 +11 -7
- data/docs/{AddAllowedTopicRequest.md → AddAllowedTopicDto.md} +2 -2
- data/docs/AppDetailsDto.md +2 -2
- data/docs/AppDto.md +1 -1
- data/docs/EventDto.md +5 -5
- data/docs/EventsApi.md +6 -6
- data/docs/MediaApi.md +2 -2
- data/docs/MediaDto.md +2 -2
- data/docs/NotificationFormattingDto.md +8 -8
- data/docs/NotificationSend.md +15 -0
- data/docs/NotificationSettingDto.md +1 -1
- data/docs/ProfileDto.md +32 -0
- data/docs/{PublishRequestDto.md → PublishDto.md} +5 -5
- data/docs/PublishManyDto.md +18 -0
- data/docs/SchedulingDto.md +2 -2
- data/docs/SubscriptionDto.md +1 -1
- data/docs/TemplateDto.md +2 -2
- data/docs/TopicDto.md +1 -1
- data/docs/TopicsApi.md +0 -192
- data/docs/UpdateProfileDto.md +28 -0
- data/docs/UpsertTemplateDto.md +2 -2
- data/docs/UpsertUserDto.md +1 -1
- data/docs/UserApi.md +323 -0
- data/docs/UserDto.md +2 -2
- data/docs/UsersApi.md +12 -12
- data/lib/notifo.rb +7 -4
- data/lib/notifo/api/events_api.rb +9 -9
- data/lib/notifo/api/media_api.rb +2 -2
- data/lib/notifo/api/topics_api.rb +0 -189
- data/lib/notifo/api/user_api.rb +331 -0
- data/lib/notifo/api/users_api.rb +18 -18
- data/lib/notifo/models/{add_allowed_topic_request.rb → add_allowed_topic_dto.rb} +3 -3
- data/lib/notifo/models/app_details_dto.rb +5 -4
- data/lib/notifo/models/app_dto.rb +4 -2
- data/lib/notifo/models/event_dto.rb +14 -11
- data/lib/notifo/models/media_dto.rb +5 -5
- data/lib/notifo/models/notification_formatting_dto.rb +29 -29
- data/lib/notifo/models/notification_send.rb +39 -0
- data/lib/notifo/models/notification_setting_dto.rb +1 -3
- data/lib/notifo/models/profile_dto.rb +295 -0
- data/lib/notifo/models/{publish_request_dto.rb → publish_dto.rb} +10 -11
- data/lib/notifo/models/{publish_many_request_dto.rb → publish_many_dto.rb} +4 -4
- data/lib/notifo/models/scheduling_dto.rb +2 -5
- data/lib/notifo/models/subscription_dto.rb +5 -2
- data/lib/notifo/models/template_dto.rb +5 -4
- data/lib/notifo/models/topic_dto.rb +4 -2
- data/lib/notifo/models/{subscribe_dto.rb → update_profile_dto.rb} +65 -17
- data/lib/notifo/models/upsert_template_dto.rb +5 -4
- data/lib/notifo/models/upsert_user_dto.rb +4 -2
- data/lib/notifo/models/user_dto.rb +8 -4
- data/notifo-1.0.0.gem +0 -0
- data/notifo-io-1.0.0.gem +0 -0
- data/notifo.gemspec +5 -5
- data/spec/api/events_api_spec.rb +1 -1
- data/spec/api/media_api_spec.rb +1 -1
- data/spec/api/topics_api_spec.rb +0 -36
- data/spec/api/user_api_spec.rb +92 -0
- data/spec/api/users_api_spec.rb +2 -2
- data/spec/models/{add_allowed_topic_request_spec.rb → add_allowed_topic_dto_spec.rb} +6 -6
- data/spec/models/notification_send_spec.rb +28 -0
- data/spec/models/profile_dto_spec.rb +76 -0
- data/spec/models/{publish_request_dto_spec.rb → publish_dto_spec.rb} +6 -6
- data/spec/models/{publish_many_request_dto_spec.rb → publish_many_dto_spec.rb} +6 -6
- data/spec/models/update_profile_dto_spec.rb +64 -0
- metadata +35 -25
- data/docs/PublishManyRequestDto.md +0 -18
- data/docs/SubscribeDto.md +0 -20
- data/notifo-io-1.0.0.pre.beta.gem +0 -0
- data/notifo-io-1.0.0.pre.gem +0 -0
- data/spec/models/subscribe_dto_spec.rb +0 -40
@@ -1,18 +0,0 @@
|
|
1
|
-
# Notifo::PublishManyRequestDto
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **requests** | [**Array<PublishRequestDto>**](PublishRequestDto.md) | The publish requests. | [optional] |
|
8
|
-
|
9
|
-
## Example
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'notifo'
|
13
|
-
|
14
|
-
instance = Notifo::PublishManyRequestDto.new(
|
15
|
-
requests: null
|
16
|
-
)
|
17
|
-
```
|
18
|
-
|
data/docs/SubscribeDto.md
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# Notifo::SubscribeDto
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **topic_prefix** | **String** | The topic to add. | [optional] |
|
8
|
-
| **topic_settings** | [**OneOfmap**](OneOfmap.md) | Notification settings per channel. | [optional] |
|
9
|
-
|
10
|
-
## Example
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'notifo'
|
14
|
-
|
15
|
-
instance = Notifo::SubscribeDto.new(
|
16
|
-
topic_prefix: null,
|
17
|
-
topic_settings: null
|
18
|
-
)
|
19
|
-
```
|
20
|
-
|
Binary file
|
data/notifo-io-1.0.0.pre.gem
DELETED
Binary file
|
@@ -1,40 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Notifo API
|
3
|
-
|
4
|
-
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for Notifo::SubscribeDto
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe Notifo::SubscribeDto do
|
21
|
-
let(:instance) { Notifo::SubscribeDto.new }
|
22
|
-
|
23
|
-
describe 'test an instance of SubscribeDto' do
|
24
|
-
it 'should create an instance of SubscribeDto' do
|
25
|
-
expect(instance).to be_instance_of(Notifo::SubscribeDto)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
describe 'test attribute "topic_prefix"' 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 "topic_settings"' 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
|