notifo-io-easierlife 1.0.0 → 1.0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +599 -97
  3. data/Rakefile +0 -2
  4. data/docs/AddAllowedTopicDto.md +4 -15
  5. data/docs/AddContributorDto.md +5 -17
  6. data/docs/AppContributorDto.md +6 -19
  7. data/docs/AppDetailsDto.md +19 -45
  8. data/docs/AppDto.md +9 -25
  9. data/docs/AppsApi.md +181 -363
  10. data/docs/Body.md +7 -0
  11. data/docs/ConfigsApi.md +28 -68
  12. data/docs/ConfirmMode.md +3 -12
  13. data/docs/CreateEmailTemplateDto.md +4 -15
  14. data/docs/EmailTemplateDto.md +6 -19
  15. data/docs/EmailTemplatesDto.md +6 -0
  16. data/docs/EmailVerificationStatus.md +3 -12
  17. data/docs/ErrorDto.md +8 -23
  18. data/docs/EventDto.md +15 -37
  19. data/docs/EventProperties.md +6 -0
  20. data/docs/EventsApi.md +43 -80
  21. data/docs/IsoDayOfWeek.md +3 -12
  22. data/docs/ListResponseDtoOfEventDto.md +5 -17
  23. data/docs/ListResponseDtoOfLogEntryDto.md +5 -17
  24. data/docs/ListResponseDtoOfMediaDto.md +5 -17
  25. data/docs/ListResponseDtoOfSubscriptionDto.md +5 -17
  26. data/docs/ListResponseDtoOfTemplateDto.md +5 -17
  27. data/docs/ListResponseDtoOfTopicDto.md +5 -17
  28. data/docs/ListResponseDtoOfUserDto.md +5 -17
  29. data/docs/LocalizedText.md +6 -0
  30. data/docs/LogEntryDto.md +7 -21
  31. data/docs/LogsApi.md +25 -44
  32. data/docs/MediaApi.md +118 -212
  33. data/docs/MediaDto.md +10 -27
  34. data/docs/MediaMetadata.md +6 -0
  35. data/docs/MediaType.md +3 -12
  36. data/docs/NotificationFormattingDto.md +11 -29
  37. data/docs/NotificationSend.md +3 -12
  38. data/docs/NotificationSettingDto.md +5 -17
  39. data/docs/ProfileDto.md +11 -29
  40. data/docs/PublishDto.md +13 -33
  41. data/docs/PublishManyDto.md +4 -15
  42. data/docs/ResizeMode.md +3 -12
  43. data/docs/SchedulingDto.md +7 -21
  44. data/docs/SchedulingType.md +3 -12
  45. data/docs/SubscriptionDto.md +5 -17
  46. data/docs/TemplateDto.md +6 -19
  47. data/docs/TemplatesApi.md +61 -116
  48. data/docs/TopicDto.md +6 -19
  49. data/docs/TopicsApi.md +25 -44
  50. data/docs/UpdateProfileDto.md +9 -25
  51. data/docs/UpsertAppDto.md +13 -33
  52. data/docs/UpsertTemplateDto.md +6 -19
  53. data/docs/UpsertTemplatesDto.md +4 -15
  54. data/docs/UpsertUserDto.md +11 -29
  55. data/docs/UpsertUsersDto.md +4 -15
  56. data/docs/UserApi.md +84 -176
  57. data/docs/UserDto.md +13 -33
  58. data/docs/UsersApi.md +173 -337
  59. data/git_push.sh +7 -10
  60. data/lib/swagger_client.rb +93 -0
  61. data/lib/{notifo → swagger_client}/api/apps_api.rb +131 -203
  62. data/lib/{notifo → swagger_client}/api/configs_api.rb +15 -31
  63. data/lib/{notifo → swagger_client}/api/events_api.rb +30 -46
  64. data/lib/{notifo → swagger_client}/api/logs_api.rb +13 -22
  65. data/lib/{notifo → swagger_client}/api/media_api.rb +61 -98
  66. data/lib/{notifo → swagger_client}/api/templates_api.rb +40 -63
  67. data/lib/{notifo → swagger_client}/api/topics_api.rb +13 -22
  68. data/lib/{notifo → swagger_client}/api/user_api.rb +52 -89
  69. data/lib/{notifo → swagger_client}/api/users_api.rb +122 -187
  70. data/lib/{notifo → swagger_client}/api_client.rb +55 -57
  71. data/lib/{notifo → swagger_client}/api_error.rb +6 -6
  72. data/lib/{notifo → swagger_client}/configuration.rb +12 -84
  73. data/lib/{notifo → swagger_client}/models/add_allowed_topic_dto.rb +16 -47
  74. data/lib/swagger_client/models/add_contributor_dto.rb +227 -0
  75. data/lib/swagger_client/models/app_contributor_dto.rb +242 -0
  76. data/lib/{notifo → swagger_client}/models/app_details_dto.rb +31 -106
  77. data/lib/{notifo → swagger_client}/models/app_dto.rb +21 -90
  78. data/lib/swagger_client/models/body.rb +206 -0
  79. data/lib/swagger_client/models/confirm_mode.rb +29 -0
  80. data/lib/{notifo → swagger_client}/models/create_email_template_dto.rb +16 -47
  81. data/lib/swagger_client/models/email_template_dto.rb +237 -0
  82. data/lib/swagger_client/models/email_templates_dto.rb +201 -0
  83. data/lib/swagger_client/models/email_verification_status.rb +30 -0
  84. data/lib/{notifo → swagger_client}/models/error_dto.rb +20 -36
  85. data/lib/{notifo → swagger_client}/models/event_dto.rb +27 -117
  86. data/lib/swagger_client/models/event_properties.rb +201 -0
  87. data/lib/swagger_client/models/iso_day_of_week.rb +34 -0
  88. data/lib/{notifo/models/list_response_dto_of_subscription_dto.rb → swagger_client/models/list_response_dto_of_event_dto.rb} +18 -30
  89. data/lib/{notifo → swagger_client}/models/list_response_dto_of_log_entry_dto.rb +17 -29
  90. data/lib/{notifo → swagger_client}/models/list_response_dto_of_media_dto.rb +17 -29
  91. data/lib/{notifo/models/list_response_dto_of_event_dto.rb → swagger_client/models/list_response_dto_of_subscription_dto.rb} +18 -30
  92. data/lib/{notifo → swagger_client}/models/list_response_dto_of_template_dto.rb +17 -29
  93. data/lib/{notifo → swagger_client}/models/list_response_dto_of_topic_dto.rb +17 -29
  94. data/lib/{notifo → swagger_client}/models/list_response_dto_of_user_dto.rb +17 -29
  95. data/lib/swagger_client/models/localized_text.rb +201 -0
  96. data/lib/{notifo → swagger_client}/models/log_entry_dto.rb +19 -88
  97. data/lib/{notifo → swagger_client}/models/media_dto.rb +23 -113
  98. data/lib/swagger_client/models/media_metadata.rb +201 -0
  99. data/lib/swagger_client/models/media_type.rb +30 -0
  100. data/lib/{notifo → swagger_client}/models/notification_formatting_dto.rb +30 -56
  101. data/lib/swagger_client/models/notification_send.rb +30 -0
  102. data/lib/{notifo → swagger_client}/models/notification_setting_dto.rb +26 -39
  103. data/lib/{notifo → swagger_client}/models/profile_dto.rb +23 -76
  104. data/lib/{notifo → swagger_client}/models/publish_dto.rb +26 -63
  105. data/lib/{notifo → swagger_client}/models/publish_many_dto.rb +16 -28
  106. data/lib/swagger_client/models/resize_mode.rb +33 -0
  107. data/lib/{notifo → swagger_client}/models/scheduling_dto.rb +19 -32
  108. data/lib/swagger_client/models/scheduling_type.rb +28 -0
  109. data/lib/{notifo → swagger_client}/models/subscription_dto.rb +17 -49
  110. data/lib/{notifo → swagger_client}/models/template_dto.rb +18 -49
  111. data/lib/{notifo → swagger_client}/models/topic_dto.rb +18 -68
  112. data/lib/{notifo → swagger_client}/models/update_profile_dto.rb +21 -39
  113. data/lib/{notifo → swagger_client}/models/upsert_app_dto.rb +25 -47
  114. data/lib/{notifo → swagger_client}/models/upsert_template_dto.rb +18 -50
  115. data/lib/{notifo → swagger_client}/models/upsert_templates_dto.rb +16 -28
  116. data/lib/{notifo → swagger_client}/models/upsert_user_dto.rb +23 -43
  117. data/lib/{notifo → swagger_client}/models/upsert_users_dto.rb +16 -28
  118. data/lib/{notifo → swagger_client}/models/user_dto.rb +25 -80
  119. data/lib/swagger_client/version.rb +14 -0
  120. data/spec/api/apps_api_spec.rb +14 -15
  121. data/spec/api/configs_api_spec.rb +8 -9
  122. data/spec/api/events_api_spec.rb +9 -10
  123. data/spec/api/logs_api_spec.rb +8 -9
  124. data/spec/api/media_api_spec.rb +13 -14
  125. data/spec/api/templates_api_spec.rb +9 -10
  126. data/spec/api/topics_api_spec.rb +8 -9
  127. data/spec/api/user_api_spec.rb +10 -11
  128. data/spec/api/users_api_spec.rb +11 -12
  129. data/spec/api_client_spec.rb +34 -35
  130. data/spec/base_object_spec.rb +109 -0
  131. data/spec/configuration_spec.rb +7 -8
  132. data/spec/models/add_allowed_topic_dto_spec.rb +16 -10
  133. data/spec/models/add_contributor_dto_spec.rb +16 -10
  134. data/spec/models/app_contributor_dto_spec.rb +16 -10
  135. data/spec/models/app_details_dto_spec.rb +16 -10
  136. data/spec/models/app_dto_spec.rb +16 -10
  137. data/spec/models/body_spec.rb +40 -0
  138. data/spec/models/confirm_mode_spec.rb +16 -10
  139. data/spec/models/create_email_template_dto_spec.rb +16 -10
  140. data/spec/models/email_template_dto_spec.rb +16 -10
  141. data/spec/models/email_templates_dto_spec.rb +34 -0
  142. data/spec/models/email_verification_status_spec.rb +16 -10
  143. data/spec/models/error_dto_spec.rb +16 -10
  144. data/spec/models/event_dto_spec.rb +16 -10
  145. data/spec/models/event_properties_spec.rb +34 -0
  146. data/spec/models/iso_day_of_week_spec.rb +16 -10
  147. data/spec/models/list_response_dto_of_event_dto_spec.rb +16 -10
  148. data/spec/models/list_response_dto_of_log_entry_dto_spec.rb +16 -10
  149. data/spec/models/list_response_dto_of_media_dto_spec.rb +16 -10
  150. data/spec/models/list_response_dto_of_subscription_dto_spec.rb +16 -10
  151. data/spec/models/list_response_dto_of_template_dto_spec.rb +16 -10
  152. data/spec/models/list_response_dto_of_topic_dto_spec.rb +16 -10
  153. data/spec/models/list_response_dto_of_user_dto_spec.rb +16 -10
  154. data/spec/models/localized_text_spec.rb +34 -0
  155. data/spec/models/log_entry_dto_spec.rb +16 -10
  156. data/spec/models/media_dto_spec.rb +16 -10
  157. data/spec/models/media_metadata_spec.rb +34 -0
  158. data/spec/models/media_type_spec.rb +16 -10
  159. data/spec/models/notification_formatting_dto_spec.rb +16 -10
  160. data/spec/models/notification_send_spec.rb +16 -10
  161. data/spec/models/notification_setting_dto_spec.rb +17 -11
  162. data/spec/models/profile_dto_spec.rb +16 -10
  163. data/spec/models/publish_dto_spec.rb +16 -10
  164. data/spec/models/publish_many_dto_spec.rb +16 -10
  165. data/spec/models/resize_mode_spec.rb +16 -10
  166. data/spec/models/scheduling_dto_spec.rb +16 -10
  167. data/spec/models/scheduling_type_spec.rb +16 -10
  168. data/spec/models/subscription_dto_spec.rb +16 -10
  169. data/spec/models/template_dto_spec.rb +16 -10
  170. data/spec/models/topic_dto_spec.rb +16 -10
  171. data/spec/models/update_profile_dto_spec.rb +16 -10
  172. data/spec/models/upsert_app_dto_spec.rb +16 -10
  173. data/spec/models/upsert_template_dto_spec.rb +16 -10
  174. data/spec/models/upsert_templates_dto_spec.rb +16 -10
  175. data/spec/models/upsert_user_dto_spec.rb +16 -10
  176. data/spec/models/upsert_users_dto_spec.rb +16 -10
  177. data/spec/models/user_dto_spec.rb +16 -10
  178. data/spec/spec_helper.rb +5 -6
  179. data/{notifo.gemspec → swagger_client.gemspec} +9 -9
  180. metadata +101 -60
  181. data/lib/notifo.rb +0 -89
  182. data/lib/notifo/models/add_contributor_dto.rb +0 -277
  183. data/lib/notifo/models/app_contributor_dto.rb +0 -311
  184. data/lib/notifo/models/confirm_mode.rb +0 -38
  185. data/lib/notifo/models/email_template_dto.rb +0 -288
  186. data/lib/notifo/models/email_verification_status.rb +0 -39
  187. data/lib/notifo/models/iso_day_of_week.rb +0 -43
  188. data/lib/notifo/models/media_type.rb +0 -39
  189. data/lib/notifo/models/notification_send.rb +0 -39
  190. data/lib/notifo/models/resize_mode.rb +0 -42
  191. data/lib/notifo/models/scheduling_type.rb +0 -37
  192. data/lib/notifo/version.rb +0 -15
  193. data/notifo-io-1.0.0.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07ea8ed9c102cd9686de9cbab7db56b11fc27dab5d3f75183c2d3d2bd9038f80
4
- data.tar.gz: ba1d1e39a2118c9c99cac10a604e452e236ff4101d4fb5ad8398ea367d881310
3
+ metadata.gz: 5c4c88cc5dd2640492353643c0b0b13d795dc501585b3eaed4b84f0704f63f63
4
+ data.tar.gz: 4141c26f3910937010909faec3bcd5d5137b2ff4bd21b1090fba55033937d0fc
5
5
  SHA512:
6
- metadata.gz: 7fa790a4237a2cc1419864ba6254acbe9910412e34d2c25e24db37a596139383a0d5664133636d3bafa98d50f9f5e31db3f1ce8a0cbe5c3597a1ed5cf5acac4d
7
- data.tar.gz: d97cf48b25b25ad7308941a6b3c021e694b87a7f741a5cf852b61ff964d0985c8b4a8b73bb00507a1f0176d27fff49f779164c951149ee51b29970ae945b93b0
6
+ metadata.gz: bd8ddc724a5af8393be777f56288b4e1a2a1ac5a766e158505972f6329042d121fe4b6e047fce00b8ce617d5b637d50917c76336427d71b586a0e2d9c6fda730
7
+ data.tar.gz: 5f266cbe69d472a1d19ad7508dc0546636999600ea90f4e236fc78cab4d97330e4f1eac59f381e1d698f9d3b378b5bf86e0ea9277ffafd1b4b6a86dfb70ddd2d
data/README.md CHANGED
@@ -1,14 +1,14 @@
1
- # notifo
1
+ # swagger_client
2
2
 
3
- Notifo - the Ruby gem for the Notifo API
3
+ SwaggerClient - the Ruby gem for the Notifo API
4
4
 
5
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
6
 
7
- This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
7
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.0.0
10
10
  - Package version: 1.0.0
11
- - Build package: org.openapitools.codegen.languages.RubyClientCodegen
11
+ - Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
12
12
 
13
13
  ## Installation
14
14
 
@@ -17,28 +17,27 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
17
17
  To build the Ruby code into a gem:
18
18
 
19
19
  ```shell
20
- gem build notifo.gemspec
20
+ gem build swagger_client.gemspec
21
21
  ```
22
22
 
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./notifo-1.0.0.gem
26
+ gem install ./swagger_client-1.0.0.gem
27
27
  ```
28
-
29
- (for development, run `gem install --dev ./notifo-1.0.0.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./swagger_client-1.0.0.gem` to install the development dependencies)
30
29
 
31
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
31
 
33
32
  Finally add this to the Gemfile:
34
33
 
35
- gem 'notifo', '~> 1.0.0'
34
+ gem 'swagger_client', '~> 1.0.0'
36
35
 
37
36
  ### Install from Git
38
37
 
39
38
  If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
40
39
 
41
- gem 'notifo', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
40
+ gem 'swagger_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
42
41
 
43
42
  ### Include the Ruby code directly
44
43
 
@@ -51,115 +50,618 @@ ruby -Ilib script.rb
51
50
  ## Getting Started
52
51
 
53
52
  Please follow the [installation](#installation) procedure and then run the following code:
54
-
55
53
  ```ruby
56
54
  # Load the gem
57
- require 'notifo'
55
+ require 'swagger_client'
58
56
 
59
- api_instance = Notifo::AppsApi.new
57
+ api_instance = SwaggerClient::AppsApi.new
60
58
  app_id = 'app_id_example' # String | The id of the app.
61
59
  contributor_id = 'contributor_id_example' # String | The contributor to remove.
62
60
 
61
+
63
62
  begin
64
63
  #Delete an app contributor.
65
64
  result = api_instance.apps_delete_contributor(app_id, contributor_id)
66
65
  p result
67
- rescue Notifo::ApiError => e
66
+ rescue SwaggerClient::ApiError => e
68
67
  puts "Exception when calling AppsApi->apps_delete_contributor: #{e}"
69
68
  end
70
69
 
70
+ api_instance = SwaggerClient::AppsApi.new
71
+ app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
72
+ language = 'language_example' # String | The language.
73
+
74
+
75
+ begin
76
+ #Delete an app email template.
77
+ api_instance.apps_delete_email_template(app_id, language)
78
+ rescue SwaggerClient::ApiError => e
79
+ puts "Exception when calling AppsApi->apps_delete_email_template: #{e}"
80
+ end
81
+
82
+ api_instance = SwaggerClient::AppsApi.new
83
+ app_id = 'app_id_example' # String | The id of the app.
84
+
85
+
86
+ begin
87
+ #Get app by id.
88
+ result = api_instance.apps_get_app(app_id)
89
+ p result
90
+ rescue SwaggerClient::ApiError => e
91
+ puts "Exception when calling AppsApi->apps_get_app: #{e}"
92
+ end
93
+
94
+ api_instance = SwaggerClient::AppsApi.new
95
+
96
+ begin
97
+ #Get the user apps.
98
+ result = api_instance.apps_get_apps
99
+ p result
100
+ rescue SwaggerClient::ApiError => e
101
+ puts "Exception when calling AppsApi->apps_get_apps: #{e}"
102
+ end
103
+
104
+ api_instance = SwaggerClient::AppsApi.new
105
+ app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
106
+
107
+
108
+ begin
109
+ #Get the app email templates.
110
+ result = api_instance.apps_get_email_templates(app_id)
111
+ p result
112
+ rescue SwaggerClient::ApiError => e
113
+ puts "Exception when calling AppsApi->apps_get_email_templates: #{e}"
114
+ end
115
+
116
+ api_instance = SwaggerClient::AppsApi.new
117
+ body = SwaggerClient::UpsertAppDto.new # UpsertAppDto | The request object.
118
+
119
+
120
+ begin
121
+ #Create an app.
122
+ result = api_instance.apps_post_app(body)
123
+ p result
124
+ rescue SwaggerClient::ApiError => e
125
+ puts "Exception when calling AppsApi->apps_post_app: #{e}"
126
+ end
127
+
128
+ api_instance = SwaggerClient::AppsApi.new
129
+ body = SwaggerClient::AddContributorDto.new # AddContributorDto | The request object.
130
+ app_id = 'app_id_example' # String | The id of the app.
131
+
132
+
133
+ begin
134
+ #Add an app contributor.
135
+ result = api_instance.apps_post_contributor(body, app_id)
136
+ p result
137
+ rescue SwaggerClient::ApiError => e
138
+ puts "Exception when calling AppsApi->apps_post_contributor: #{e}"
139
+ end
140
+
141
+ api_instance = SwaggerClient::AppsApi.new
142
+ body = SwaggerClient::CreateEmailTemplateDto.new # CreateEmailTemplateDto | The request object.
143
+ app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
144
+
145
+
146
+ begin
147
+ #Create an app email template.
148
+ result = api_instance.apps_post_email_template(body, app_id)
149
+ p result
150
+ rescue SwaggerClient::ApiError => e
151
+ puts "Exception when calling AppsApi->apps_post_email_template: #{e}"
152
+ end
153
+
154
+ api_instance = SwaggerClient::AppsApi.new
155
+ body = SwaggerClient::UpsertAppDto.new # UpsertAppDto | The request object.
156
+ app_id = 'app_id_example' # String | The app id to update.
157
+
158
+
159
+ begin
160
+ #Update an app.
161
+ result = api_instance.apps_put_app(body, app_id)
162
+ p result
163
+ rescue SwaggerClient::ApiError => e
164
+ puts "Exception when calling AppsApi->apps_put_app: #{e}"
165
+ end
166
+
167
+ api_instance = SwaggerClient::AppsApi.new
168
+ body = SwaggerClient::EmailTemplateDto.new # EmailTemplateDto | The request object.
169
+ app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
170
+ language = 'language_example' # String | The language.
171
+
172
+
173
+ begin
174
+ #Update an app email template.
175
+ api_instance.apps_put_email_template(body, app_id, language)
176
+ rescue SwaggerClient::ApiError => e
177
+ puts "Exception when calling AppsApi->apps_put_email_template: #{e}"
178
+ end
179
+
180
+ api_instance = SwaggerClient::ConfigsApi.new
181
+
182
+ begin
183
+ #Get all supported languages.
184
+ result = api_instance.configs_get_languages
185
+ p result
186
+ rescue SwaggerClient::ApiError => e
187
+ puts "Exception when calling ConfigsApi->configs_get_languages: #{e}"
188
+ end
189
+
190
+ api_instance = SwaggerClient::ConfigsApi.new
191
+
192
+ begin
193
+ #Get all supported timezones.
194
+ result = api_instance.configs_get_timezones
195
+ p result
196
+ rescue SwaggerClient::ApiError => e
197
+ puts "Exception when calling ConfigsApi->configs_get_timezones: #{e}"
198
+ end
199
+
200
+ api_instance = SwaggerClient::EventsApi.new
201
+ app_id = 'app_id_example' # String | The app where the events belongs to.
202
+ opts = {
203
+ query: 'query_example', # String | The optional query to search for items.
204
+ take: 56, # Integer | The number of items to return.
205
+ skip: 56 # Integer | The number of items to skip.
206
+ }
207
+
208
+ begin
209
+ #Query events.
210
+ result = api_instance.events_get_events(app_id, opts)
211
+ p result
212
+ rescue SwaggerClient::ApiError => e
213
+ puts "Exception when calling EventsApi->events_get_events: #{e}"
214
+ end
215
+
216
+ api_instance = SwaggerClient::EventsApi.new
217
+ body = SwaggerClient::PublishManyDto.new # PublishManyDto | The publish request.
218
+ app_id = 'app_id_example' # String | The app where the events belongs to.
219
+
220
+
221
+ begin
222
+ #Publish events.
223
+ api_instance.events_post_events(body, app_id)
224
+ rescue SwaggerClient::ApiError => e
225
+ puts "Exception when calling EventsApi->events_post_events: #{e}"
226
+ end
227
+
228
+ api_instance = SwaggerClient::LogsApi.new
229
+ app_id = 'app_id_example' # String | The app where the log entries belongs to.
230
+ opts = {
231
+ query: 'query_example', # String | The optional query to search for items.
232
+ take: 56, # Integer | The number of items to return.
233
+ skip: 56 # Integer | The number of items to skip.
234
+ }
235
+
236
+ begin
237
+ #Query log entries.
238
+ result = api_instance.logs_get_logs(app_id, opts)
239
+ p result
240
+ rescue SwaggerClient::ApiError => e
241
+ puts "Exception when calling LogsApi->logs_get_logs: #{e}"
242
+ end
243
+
244
+ api_instance = SwaggerClient::MediaApi.new
245
+ app_id = 'app_id_example' # String | The app id where the media belongs to.
246
+ file_name = 'file_name_example' # String | The file name of the media.
247
+
248
+
249
+ begin
250
+ #Delete a media.
251
+ api_instance.media_delete(app_id, file_name)
252
+ rescue SwaggerClient::ApiError => e
253
+ puts "Exception when calling MediaApi->media_delete: #{e}"
254
+ end
255
+
256
+ api_instance = SwaggerClient::MediaApi.new
257
+ app_id = 'app_id_example' # String | The app id where the media belongs to.
258
+ file_name = 'file_name_example' # String | The name of the media to download.
259
+ opts = {
260
+ cache: 789, # Integer | The cache duration.
261
+ download: 56, # Integer | Set it to 1 to create a download response.
262
+ width: 56, # Integer | The target width when an image.
263
+ height: 56, # Integer | The target height when an image.
264
+ quality: 56, # Integer | The target quality when an image.
265
+ preset: 'preset_example', # String | A preset dimension.
266
+ mode: SwaggerClient::ResizeMode.new, # ResizeMode | The resize mode.
267
+ focus_x: 3.4, # Float | The x position of the focues point.
268
+ focus_y: 3.4, # Float | The y position of the focues point.
269
+ force: true # BOOLEAN | True to resize it and clear the cache.
270
+ }
271
+
272
+ begin
273
+ #Download a media object.
274
+ result = api_instance.media_download(app_id, file_name, opts)
275
+ p result
276
+ rescue SwaggerClient::ApiError => e
277
+ puts "Exception when calling MediaApi->media_download: #{e}"
278
+ end
279
+
280
+ api_instance = SwaggerClient::MediaApi.new
281
+ app_id = 'app_id_example' # String | The app id where the media belongs to.
282
+ file_name = 'file_name_example' # String | The name of the media to download.
283
+ opts = {
284
+ cache: 789, # Integer | The cache duration.
285
+ download: 56, # Integer | Set it to 1 to create a download response.
286
+ width: 56, # Integer | The target width when an image.
287
+ height: 56, # Integer | The target height when an image.
288
+ quality: 56, # Integer | The target quality when an image.
289
+ preset: 'preset_example', # String | A preset dimension.
290
+ mode: SwaggerClient::ResizeMode.new, # ResizeMode | The resize mode.
291
+ focus_x: 3.4, # Float | The x position of the focues point.
292
+ focus_y: 3.4, # Float | The y position of the focues point.
293
+ force: true # BOOLEAN | True to resize it and clear the cache.
294
+ }
295
+
296
+ begin
297
+ #Download a media object.
298
+ result = api_instance.media_download2(app_id, file_name, opts)
299
+ p result
300
+ rescue SwaggerClient::ApiError => e
301
+ puts "Exception when calling MediaApi->media_download2: #{e}"
302
+ end
303
+
304
+ api_instance = SwaggerClient::MediaApi.new
305
+ app_id = 'app_id_example' # String | The app where the media belongs to.
306
+ opts = {
307
+ query: 'query_example', # String | The optional query to search for items.
308
+ take: 56, # Integer | The number of items to return.
309
+ skip: 56 # Integer | The number of items to skip.
310
+ }
311
+
312
+ begin
313
+ #Query media items.
314
+ result = api_instance.media_get_medias(app_id, opts)
315
+ p result
316
+ rescue SwaggerClient::ApiError => e
317
+ puts "Exception when calling MediaApi->media_get_medias: #{e}"
318
+ end
319
+
320
+ api_instance = SwaggerClient::MediaApi.new
321
+ app_id = 'app_id_example' # String | The app id where the media belongs to.
322
+ opts = {
323
+ file: 'file_example' # String |
324
+ }
325
+
326
+ begin
327
+ #Upload a media object.
328
+ api_instance.media_upload(app_id, opts)
329
+ rescue SwaggerClient::ApiError => e
330
+ puts "Exception when calling MediaApi->media_upload: #{e}"
331
+ end
332
+
333
+ api_instance = SwaggerClient::TemplatesApi.new
334
+ app_id = 'app_id_example' # String | The app where the templates belong to.
335
+ code = 'code_example' # String | The template code to delete.
336
+
337
+
338
+ begin
339
+ #Delete a template.
340
+ result = api_instance.templates_delete_template(app_id, code)
341
+ p result
342
+ rescue SwaggerClient::ApiError => e
343
+ puts "Exception when calling TemplatesApi->templates_delete_template: #{e}"
344
+ end
345
+
346
+ api_instance = SwaggerClient::TemplatesApi.new
347
+ app_id = 'app_id_example' # String | The app where the templates belongs to.
348
+ opts = {
349
+ query: 'query_example', # String | The optional query to search for items.
350
+ take: 56, # Integer | The number of items to return.
351
+ skip: 56 # Integer | The number of items to skip.
352
+ }
353
+
354
+ begin
355
+ #Query templates.
356
+ result = api_instance.templates_get_templates(app_id, opts)
357
+ p result
358
+ rescue SwaggerClient::ApiError => e
359
+ puts "Exception when calling TemplatesApi->templates_get_templates: #{e}"
360
+ end
361
+
362
+ api_instance = SwaggerClient::TemplatesApi.new
363
+ body = SwaggerClient::UpsertTemplatesDto.new # UpsertTemplatesDto | The upsert request.
364
+ app_id = 'app_id_example' # String | The app where the templates belong to.
365
+
366
+
367
+ begin
368
+ #Upsert templates.
369
+ result = api_instance.templates_post_templates(body, app_id)
370
+ p result
371
+ rescue SwaggerClient::ApiError => e
372
+ puts "Exception when calling TemplatesApi->templates_post_templates: #{e}"
373
+ end
374
+
375
+ api_instance = SwaggerClient::TopicsApi.new
376
+ app_id = 'app_id_example' # String | The app where the topics belongs to.
377
+ opts = {
378
+ query: 'query_example', # String | The optional query to search for items.
379
+ take: 56, # Integer | The number of items to return.
380
+ skip: 56 # Integer | The number of items to skip.
381
+ }
382
+
383
+ begin
384
+ #Query topics.
385
+ result = api_instance.topics_get_topics(app_id, opts)
386
+ p result
387
+ rescue SwaggerClient::ApiError => e
388
+ puts "Exception when calling TopicsApi->topics_get_topics: #{e}"
389
+ end
390
+
391
+ api_instance = SwaggerClient::UserApi.new
392
+ topic = 'topic_example' # String | The topic path.
393
+
394
+
395
+ begin
396
+ #Deletes a user subscription.
397
+ api_instance.user_delete_subscription(topic)
398
+ rescue SwaggerClient::ApiError => e
399
+ puts "Exception when calling UserApi->user_delete_subscription: #{e}"
400
+ end
401
+
402
+ api_instance = SwaggerClient::UserApi.new
403
+ topic = 'topic_example' # String | The topic path.
404
+
405
+
406
+ begin
407
+ #Gets a user subscription.
408
+ result = api_instance.user_get_subscription(topic)
409
+ p result
410
+ rescue SwaggerClient::ApiError => e
411
+ puts "Exception when calling UserApi->user_get_subscription: #{e}"
412
+ end
413
+
414
+ api_instance = SwaggerClient::UserApi.new
415
+
416
+ begin
417
+ #Get the current user.
418
+ result = api_instance.user_get_user
419
+ p result
420
+ rescue SwaggerClient::ApiError => e
421
+ puts "Exception when calling UserApi->user_get_user: #{e}"
422
+ end
423
+
424
+ api_instance = SwaggerClient::UserApi.new
425
+ body = SwaggerClient::SubscriptionDto.new # SubscriptionDto | The subscription settings.
426
+
427
+
428
+ begin
429
+ #Creates a user subscription.
430
+ api_instance.user_post_subscription(body)
431
+ rescue SwaggerClient::ApiError => e
432
+ puts "Exception when calling UserApi->user_post_subscription: #{e}"
433
+ end
434
+
435
+ api_instance = SwaggerClient::UserApi.new
436
+ body = SwaggerClient::UpdateProfileDto.new # UpdateProfileDto | The upsert request.
437
+
438
+
439
+ begin
440
+ #Update the user.
441
+ result = api_instance.user_post_user(body)
442
+ p result
443
+ rescue SwaggerClient::ApiError => e
444
+ puts "Exception when calling UserApi->user_post_user: #{e}"
445
+ end
446
+
447
+ api_instance = SwaggerClient::UsersApi.new
448
+ app_id = 'app_id_example' # String | The app where the users belong to.
449
+ id = 'id_example' # String | The user id.
450
+ prefix = 'prefix_example' # String | The topic prefix.
451
+
452
+
453
+ begin
454
+ #Remove an allowed topic.
455
+ api_instance.users_delete_allowed_topic(app_id, id, prefix)
456
+ rescue SwaggerClient::ApiError => e
457
+ puts "Exception when calling UsersApi->users_delete_allowed_topic: #{e}"
458
+ end
459
+
460
+ api_instance = SwaggerClient::UsersApi.new
461
+ app_id = 'app_id_example' # String | The app where the user belongs to.
462
+ id = 'id_example' # String | The user id.
463
+ prefix = 'prefix_example' # String | The topic prefix.
464
+
465
+
466
+ begin
467
+ #Remove a user subscriptions.
468
+ api_instance.users_delete_subscription(app_id, id, prefix)
469
+ rescue SwaggerClient::ApiError => e
470
+ puts "Exception when calling UsersApi->users_delete_subscription: #{e}"
471
+ end
472
+
473
+ api_instance = SwaggerClient::UsersApi.new
474
+ app_id = 'app_id_example' # String | The app where the users belongs to.
475
+ id = 'id_example' # String | The user id to delete.
476
+
477
+
478
+ begin
479
+ #Delete a user.
480
+ result = api_instance.users_delete_user(app_id, id)
481
+ p result
482
+ rescue SwaggerClient::ApiError => e
483
+ puts "Exception when calling UsersApi->users_delete_user: #{e}"
484
+ end
485
+
486
+ api_instance = SwaggerClient::UsersApi.new
487
+ app_id = 'app_id_example' # String | The app where the user belongs to.
488
+ id = 'id_example' # String | The user id.
489
+ opts = {
490
+ query: 'query_example', # String | The optional query to search for items.
491
+ take: 56, # Integer | The number of items to return.
492
+ skip: 56 # Integer | The number of items to skip.
493
+ }
494
+
495
+ begin
496
+ #Query user subscriptions.
497
+ result = api_instance.users_get_subscriptions(app_id, id, opts)
498
+ p result
499
+ rescue SwaggerClient::ApiError => e
500
+ puts "Exception when calling UsersApi->users_get_subscriptions: #{e}"
501
+ end
502
+
503
+ api_instance = SwaggerClient::UsersApi.new
504
+ app_id = 'app_id_example' # String | The app where the user belongs to.
505
+ id = 'id_example' # String | The user id.
506
+
507
+
508
+ begin
509
+ #Get a user.
510
+ result = api_instance.users_get_user(app_id, id)
511
+ p result
512
+ rescue SwaggerClient::ApiError => e
513
+ puts "Exception when calling UsersApi->users_get_user: #{e}"
514
+ end
515
+
516
+ api_instance = SwaggerClient::UsersApi.new
517
+ app_id = 'app_id_example' # String | The app where the users belongs to.
518
+ opts = {
519
+ query: 'query_example', # String | The optional query to search for items.
520
+ take: 56, # Integer | The number of items to return.
521
+ skip: 56 # Integer | The number of items to skip.
522
+ }
523
+
524
+ begin
525
+ #Query users.
526
+ result = api_instance.users_get_users(app_id, opts)
527
+ p result
528
+ rescue SwaggerClient::ApiError => e
529
+ puts "Exception when calling UsersApi->users_get_users: #{e}"
530
+ end
531
+
532
+ api_instance = SwaggerClient::UsersApi.new
533
+ body = SwaggerClient::AddAllowedTopicDto.new # AddAllowedTopicDto | The upsert request.
534
+ app_id = 'app_id_example' # String | The app where the users belong to.
535
+ id = 'id_example' # String | The user id.
536
+
537
+
538
+ begin
539
+ #Add an allowed topic.
540
+ api_instance.users_post_allowed_topic(body, app_id, id)
541
+ rescue SwaggerClient::ApiError => e
542
+ puts "Exception when calling UsersApi->users_post_allowed_topic: #{e}"
543
+ end
544
+
545
+ api_instance = SwaggerClient::UsersApi.new
546
+ body = SwaggerClient::SubscriptionDto.new # SubscriptionDto | The subscription object.
547
+ app_id = 'app_id_example' # String | The app where the user belongs to.
548
+ id = 'id_example' # String | The user id.
549
+
550
+
551
+ begin
552
+ #Upsert a user subscriptions.
553
+ api_instance.users_post_subscription(body, app_id, id)
554
+ rescue SwaggerClient::ApiError => e
555
+ puts "Exception when calling UsersApi->users_post_subscription: #{e}"
556
+ end
557
+
558
+ api_instance = SwaggerClient::UsersApi.new
559
+ body = SwaggerClient::UpsertUsersDto.new # UpsertUsersDto | The upsert request.
560
+ app_id = 'app_id_example' # String | The app where the users belong to.
561
+
562
+
563
+ begin
564
+ #Upsert users.
565
+ result = api_instance.users_post_users(body, app_id)
566
+ p result
567
+ rescue SwaggerClient::ApiError => e
568
+ puts "Exception when calling UsersApi->users_post_users: #{e}"
569
+ end
71
570
  ```
72
571
 
73
572
  ## Documentation for API Endpoints
74
573
 
75
- All URIs are relative to *https://notifo.easierlife.com*
574
+ All URIs are relative to *https://app.notifo.io*
76
575
 
77
576
  Class | Method | HTTP request | Description
78
577
  ------------ | ------------- | ------------- | -------------
79
- *Notifo::AppsApi* | [**apps_delete_contributor**](docs/AppsApi.md#apps_delete_contributor) | **POST** /api/apps/{appId}/contributors/{contributorId} | Delete an app contributor.
80
- *Notifo::AppsApi* | [**apps_delete_email_template**](docs/AppsApi.md#apps_delete_email_template) | **POST** /api/apps/{appId}/email-templates/{language} | Delete an app email template.
81
- *Notifo::AppsApi* | [**apps_get_app**](docs/AppsApi.md#apps_get_app) | **GET** /api/apps/{appId} | Get app by id.
82
- *Notifo::AppsApi* | [**apps_get_apps**](docs/AppsApi.md#apps_get_apps) | **GET** /api/apps | Get the user apps.
83
- *Notifo::AppsApi* | [**apps_get_email_templates**](docs/AppsApi.md#apps_get_email_templates) | **GET** /api/apps/{appId}/email-templates | Get the app email templates.
84
- *Notifo::AppsApi* | [**apps_post_app**](docs/AppsApi.md#apps_post_app) | **POST** /api/apps | Create an app.
85
- *Notifo::AppsApi* | [**apps_post_contributor**](docs/AppsApi.md#apps_post_contributor) | **POST** /api/apps/{appId}/contributors | Add an app contributor.
86
- *Notifo::AppsApi* | [**apps_post_email_template**](docs/AppsApi.md#apps_post_email_template) | **POST** /api/apps/{appId}/email-templates | Create an app email template.
87
- *Notifo::AppsApi* | [**apps_put_app**](docs/AppsApi.md#apps_put_app) | **POST** /api/apps/{appId} | Update an app.
88
- *Notifo::AppsApi* | [**apps_put_email_template**](docs/AppsApi.md#apps_put_email_template) | **PUT** /api/apps/{appId}/email-templates/{language} | Update an app email template.
89
- *Notifo::ConfigsApi* | [**configs_get_languages**](docs/ConfigsApi.md#configs_get_languages) | **GET** /api/languages | Get all supported languages.
90
- *Notifo::ConfigsApi* | [**configs_get_timezones**](docs/ConfigsApi.md#configs_get_timezones) | **GET** /api/timezones | Get all supported timezones.
91
- *Notifo::EventsApi* | [**events_get_events**](docs/EventsApi.md#events_get_events) | **GET** /api/apps/{appId}/events | Query events.
92
- *Notifo::EventsApi* | [**events_post_events**](docs/EventsApi.md#events_post_events) | **POST** /api/apps/{appId}/events | Publish events.
93
- *Notifo::LogsApi* | [**logs_get_logs**](docs/LogsApi.md#logs_get_logs) | **GET** /api/apps/{appId}/logs | Query log entries.
94
- *Notifo::MediaApi* | [**media_delete**](docs/MediaApi.md#media_delete) | **DELETE** /api/apps/{appId}/media/{fileName} | Delete a media.
95
- *Notifo::MediaApi* | [**media_download**](docs/MediaApi.md#media_download) | **GET** /api/apps/{appId}/media/{fileName} | Download a media object.
96
- *Notifo::MediaApi* | [**media_download2**](docs/MediaApi.md#media_download2) | **GET** /api/assets/{appId}/{fileName} | Download a media object.
97
- *Notifo::MediaApi* | [**media_get_medias**](docs/MediaApi.md#media_get_medias) | **GET** /api/apps/{appId}/media | Query media items.
98
- *Notifo::MediaApi* | [**media_upload**](docs/MediaApi.md#media_upload) | **POST** /api/apps/{appId}/media | Upload a media object.
99
- *Notifo::TemplatesApi* | [**templates_delete_template**](docs/TemplatesApi.md#templates_delete_template) | **DELETE** /api/apps/{appId}/templates/{code} | Delete a template.
100
- *Notifo::TemplatesApi* | [**templates_get_templates**](docs/TemplatesApi.md#templates_get_templates) | **GET** /api/apps/{appId}/templates | Query templates.
101
- *Notifo::TemplatesApi* | [**templates_post_templates**](docs/TemplatesApi.md#templates_post_templates) | **POST** /api/apps/{appId}/templates | Upsert templates.
102
- *Notifo::TopicsApi* | [**topics_get_topics**](docs/TopicsApi.md#topics_get_topics) | **GET** /api/apps/{appId}/topics | Query topics.
103
- *Notifo::UserApi* | [**user_delete_subscription**](docs/UserApi.md#user_delete_subscription) | **DELETE** /api/me/subscriptions/{topic} | Deletes a user subscription.
104
- *Notifo::UserApi* | [**user_get_subscription**](docs/UserApi.md#user_get_subscription) | **GET** /api/me/subscriptions/{topic} | Gets a user subscription.
105
- *Notifo::UserApi* | [**user_get_user**](docs/UserApi.md#user_get_user) | **GET** /api/me | Get the current user.
106
- *Notifo::UserApi* | [**user_post_subscription**](docs/UserApi.md#user_post_subscription) | **POST** /api/me/subscriptions | Creates a user subscription.
107
- *Notifo::UserApi* | [**user_post_user**](docs/UserApi.md#user_post_user) | **POST** /api/me | Update the user.
108
- *Notifo::UsersApi* | [**users_delete_allowed_topic**](docs/UsersApi.md#users_delete_allowed_topic) | **DELETE** /api/apps/{appId}/users/{id}/allowed-topics/{prefix} | Remove an allowed topic.
109
- *Notifo::UsersApi* | [**users_delete_subscription**](docs/UsersApi.md#users_delete_subscription) | **DELETE** /api/apps/{appId}/users/{id}/subscriptions/{prefix} | Remove a user subscriptions.
110
- *Notifo::UsersApi* | [**users_delete_user**](docs/UsersApi.md#users_delete_user) | **DELETE** /api/apps/{appId}/users/{id} | Delete a user.
111
- *Notifo::UsersApi* | [**users_get_subscriptions**](docs/UsersApi.md#users_get_subscriptions) | **GET** /api/apps/{appId}/users/{id}/subscriptions | Query user subscriptions.
112
- *Notifo::UsersApi* | [**users_get_user**](docs/UsersApi.md#users_get_user) | **GET** /api/apps/{appId}/users/{id} | Get a user.
113
- *Notifo::UsersApi* | [**users_get_users**](docs/UsersApi.md#users_get_users) | **GET** /api/apps/{appId}/users | Query users.
114
- *Notifo::UsersApi* | [**users_post_allowed_topic**](docs/UsersApi.md#users_post_allowed_topic) | **POST** /api/apps/{appId}/users/{id}/allowed-topics | Add an allowed topic.
115
- *Notifo::UsersApi* | [**users_post_subscription**](docs/UsersApi.md#users_post_subscription) | **POST** /api/apps/{appId}/users/{id}/subscriptions | Upsert a user subscriptions.
116
- *Notifo::UsersApi* | [**users_post_users**](docs/UsersApi.md#users_post_users) | **POST** /api/apps/{appId}/users | Upsert users.
117
-
578
+ *SwaggerClient::AppsApi* | [**apps_delete_contributor**](docs/AppsApi.md#apps_delete_contributor) | **POST** /api/apps/{appId}/contributors/{contributorId} | Delete an app contributor.
579
+ *SwaggerClient::AppsApi* | [**apps_delete_email_template**](docs/AppsApi.md#apps_delete_email_template) | **POST** /api/apps/{appId}/email-templates/{language} | Delete an app email template.
580
+ *SwaggerClient::AppsApi* | [**apps_get_app**](docs/AppsApi.md#apps_get_app) | **GET** /api/apps/{appId} | Get app by id.
581
+ *SwaggerClient::AppsApi* | [**apps_get_apps**](docs/AppsApi.md#apps_get_apps) | **GET** /api/apps | Get the user apps.
582
+ *SwaggerClient::AppsApi* | [**apps_get_email_templates**](docs/AppsApi.md#apps_get_email_templates) | **GET** /api/apps/{appId}/email-templates | Get the app email templates.
583
+ *SwaggerClient::AppsApi* | [**apps_post_app**](docs/AppsApi.md#apps_post_app) | **POST** /api/apps | Create an app.
584
+ *SwaggerClient::AppsApi* | [**apps_post_contributor**](docs/AppsApi.md#apps_post_contributor) | **POST** /api/apps/{appId}/contributors | Add an app contributor.
585
+ *SwaggerClient::AppsApi* | [**apps_post_email_template**](docs/AppsApi.md#apps_post_email_template) | **POST** /api/apps/{appId}/email-templates | Create an app email template.
586
+ *SwaggerClient::AppsApi* | [**apps_put_app**](docs/AppsApi.md#apps_put_app) | **POST** /api/apps/{appId} | Update an app.
587
+ *SwaggerClient::AppsApi* | [**apps_put_email_template**](docs/AppsApi.md#apps_put_email_template) | **PUT** /api/apps/{appId}/email-templates/{language} | Update an app email template.
588
+ *SwaggerClient::ConfigsApi* | [**configs_get_languages**](docs/ConfigsApi.md#configs_get_languages) | **GET** /api/languages | Get all supported languages.
589
+ *SwaggerClient::ConfigsApi* | [**configs_get_timezones**](docs/ConfigsApi.md#configs_get_timezones) | **GET** /api/timezones | Get all supported timezones.
590
+ *SwaggerClient::EventsApi* | [**events_get_events**](docs/EventsApi.md#events_get_events) | **GET** /api/apps/{appId}/events | Query events.
591
+ *SwaggerClient::EventsApi* | [**events_post_events**](docs/EventsApi.md#events_post_events) | **POST** /api/apps/{appId}/events | Publish events.
592
+ *SwaggerClient::LogsApi* | [**logs_get_logs**](docs/LogsApi.md#logs_get_logs) | **GET** /api/apps/{appId}/logs | Query log entries.
593
+ *SwaggerClient::MediaApi* | [**media_delete**](docs/MediaApi.md#media_delete) | **DELETE** /api/apps/{appId}/media/{fileName} | Delete a media.
594
+ *SwaggerClient::MediaApi* | [**media_download**](docs/MediaApi.md#media_download) | **GET** /api/apps/{appId}/media/{fileName} | Download a media object.
595
+ *SwaggerClient::MediaApi* | [**media_download2**](docs/MediaApi.md#media_download2) | **GET** /api/assets/{appId}/{fileName} | Download a media object.
596
+ *SwaggerClient::MediaApi* | [**media_get_medias**](docs/MediaApi.md#media_get_medias) | **GET** /api/apps/{appId}/media | Query media items.
597
+ *SwaggerClient::MediaApi* | [**media_upload**](docs/MediaApi.md#media_upload) | **POST** /api/apps/{appId}/media | Upload a media object.
598
+ *SwaggerClient::TemplatesApi* | [**templates_delete_template**](docs/TemplatesApi.md#templates_delete_template) | **DELETE** /api/apps/{appId}/templates/{code} | Delete a template.
599
+ *SwaggerClient::TemplatesApi* | [**templates_get_templates**](docs/TemplatesApi.md#templates_get_templates) | **GET** /api/apps/{appId}/templates | Query templates.
600
+ *SwaggerClient::TemplatesApi* | [**templates_post_templates**](docs/TemplatesApi.md#templates_post_templates) | **POST** /api/apps/{appId}/templates | Upsert templates.
601
+ *SwaggerClient::TopicsApi* | [**topics_get_topics**](docs/TopicsApi.md#topics_get_topics) | **GET** /api/apps/{appId}/topics | Query topics.
602
+ *SwaggerClient::UserApi* | [**user_delete_subscription**](docs/UserApi.md#user_delete_subscription) | **DELETE** /api/me/subscriptions/{topic} | Deletes a user subscription.
603
+ *SwaggerClient::UserApi* | [**user_get_subscription**](docs/UserApi.md#user_get_subscription) | **GET** /api/me/subscriptions/{topic} | Gets a user subscription.
604
+ *SwaggerClient::UserApi* | [**user_get_user**](docs/UserApi.md#user_get_user) | **GET** /api/me | Get the current user.
605
+ *SwaggerClient::UserApi* | [**user_post_subscription**](docs/UserApi.md#user_post_subscription) | **POST** /api/me/subscriptions | Creates a user subscription.
606
+ *SwaggerClient::UserApi* | [**user_post_user**](docs/UserApi.md#user_post_user) | **POST** /api/me | Update the user.
607
+ *SwaggerClient::UsersApi* | [**users_delete_allowed_topic**](docs/UsersApi.md#users_delete_allowed_topic) | **DELETE** /api/apps/{appId}/users/{id}/allowed-topics/{prefix} | Remove an allowed topic.
608
+ *SwaggerClient::UsersApi* | [**users_delete_subscription**](docs/UsersApi.md#users_delete_subscription) | **DELETE** /api/apps/{appId}/users/{id}/subscriptions/{prefix} | Remove a user subscriptions.
609
+ *SwaggerClient::UsersApi* | [**users_delete_user**](docs/UsersApi.md#users_delete_user) | **DELETE** /api/apps/{appId}/users/{id} | Delete a user.
610
+ *SwaggerClient::UsersApi* | [**users_get_subscriptions**](docs/UsersApi.md#users_get_subscriptions) | **GET** /api/apps/{appId}/users/{id}/subscriptions | Query user subscriptions.
611
+ *SwaggerClient::UsersApi* | [**users_get_user**](docs/UsersApi.md#users_get_user) | **GET** /api/apps/{appId}/users/{id} | Get a user.
612
+ *SwaggerClient::UsersApi* | [**users_get_users**](docs/UsersApi.md#users_get_users) | **GET** /api/apps/{appId}/users | Query users.
613
+ *SwaggerClient::UsersApi* | [**users_post_allowed_topic**](docs/UsersApi.md#users_post_allowed_topic) | **POST** /api/apps/{appId}/users/{id}/allowed-topics | Add an allowed topic.
614
+ *SwaggerClient::UsersApi* | [**users_post_subscription**](docs/UsersApi.md#users_post_subscription) | **POST** /api/apps/{appId}/users/{id}/subscriptions | Upsert a user subscriptions.
615
+ *SwaggerClient::UsersApi* | [**users_post_users**](docs/UsersApi.md#users_post_users) | **POST** /api/apps/{appId}/users | Upsert users.
118
616
 
119
617
  ## Documentation for Models
120
618
 
121
- - [Notifo::AddAllowedTopicDto](docs/AddAllowedTopicDto.md)
122
- - [Notifo::AddContributorDto](docs/AddContributorDto.md)
123
- - [Notifo::AppContributorDto](docs/AppContributorDto.md)
124
- - [Notifo::AppDetailsDto](docs/AppDetailsDto.md)
125
- - [Notifo::AppDto](docs/AppDto.md)
126
- - [Notifo::ConfirmMode](docs/ConfirmMode.md)
127
- - [Notifo::CreateEmailTemplateDto](docs/CreateEmailTemplateDto.md)
128
- - [Notifo::EmailTemplateDto](docs/EmailTemplateDto.md)
129
- - [Notifo::EmailVerificationStatus](docs/EmailVerificationStatus.md)
130
- - [Notifo::ErrorDto](docs/ErrorDto.md)
131
- - [Notifo::EventDto](docs/EventDto.md)
132
- - [Notifo::IsoDayOfWeek](docs/IsoDayOfWeek.md)
133
- - [Notifo::ListResponseDtoOfEventDto](docs/ListResponseDtoOfEventDto.md)
134
- - [Notifo::ListResponseDtoOfLogEntryDto](docs/ListResponseDtoOfLogEntryDto.md)
135
- - [Notifo::ListResponseDtoOfMediaDto](docs/ListResponseDtoOfMediaDto.md)
136
- - [Notifo::ListResponseDtoOfSubscriptionDto](docs/ListResponseDtoOfSubscriptionDto.md)
137
- - [Notifo::ListResponseDtoOfTemplateDto](docs/ListResponseDtoOfTemplateDto.md)
138
- - [Notifo::ListResponseDtoOfTopicDto](docs/ListResponseDtoOfTopicDto.md)
139
- - [Notifo::ListResponseDtoOfUserDto](docs/ListResponseDtoOfUserDto.md)
140
- - [Notifo::LogEntryDto](docs/LogEntryDto.md)
141
- - [Notifo::MediaDto](docs/MediaDto.md)
142
- - [Notifo::MediaType](docs/MediaType.md)
143
- - [Notifo::NotificationFormattingDto](docs/NotificationFormattingDto.md)
144
- - [Notifo::NotificationSend](docs/NotificationSend.md)
145
- - [Notifo::NotificationSettingDto](docs/NotificationSettingDto.md)
146
- - [Notifo::ProfileDto](docs/ProfileDto.md)
147
- - [Notifo::PublishDto](docs/PublishDto.md)
148
- - [Notifo::PublishManyDto](docs/PublishManyDto.md)
149
- - [Notifo::ResizeMode](docs/ResizeMode.md)
150
- - [Notifo::SchedulingDto](docs/SchedulingDto.md)
151
- - [Notifo::SchedulingType](docs/SchedulingType.md)
152
- - [Notifo::SubscriptionDto](docs/SubscriptionDto.md)
153
- - [Notifo::TemplateDto](docs/TemplateDto.md)
154
- - [Notifo::TopicDto](docs/TopicDto.md)
155
- - [Notifo::UpdateProfileDto](docs/UpdateProfileDto.md)
156
- - [Notifo::UpsertAppDto](docs/UpsertAppDto.md)
157
- - [Notifo::UpsertTemplateDto](docs/UpsertTemplateDto.md)
158
- - [Notifo::UpsertTemplatesDto](docs/UpsertTemplatesDto.md)
159
- - [Notifo::UpsertUserDto](docs/UpsertUserDto.md)
160
- - [Notifo::UpsertUsersDto](docs/UpsertUsersDto.md)
161
- - [Notifo::UserDto](docs/UserDto.md)
162
-
619
+ - [SwaggerClient::AddAllowedTopicDto](docs/AddAllowedTopicDto.md)
620
+ - [SwaggerClient::AddContributorDto](docs/AddContributorDto.md)
621
+ - [SwaggerClient::AppContributorDto](docs/AppContributorDto.md)
622
+ - [SwaggerClient::AppDetailsDto](docs/AppDetailsDto.md)
623
+ - [SwaggerClient::AppDto](docs/AppDto.md)
624
+ - [SwaggerClient::Body](docs/Body.md)
625
+ - [SwaggerClient::ConfirmMode](docs/ConfirmMode.md)
626
+ - [SwaggerClient::CreateEmailTemplateDto](docs/CreateEmailTemplateDto.md)
627
+ - [SwaggerClient::EmailTemplateDto](docs/EmailTemplateDto.md)
628
+ - [SwaggerClient::EmailTemplatesDto](docs/EmailTemplatesDto.md)
629
+ - [SwaggerClient::EmailVerificationStatus](docs/EmailVerificationStatus.md)
630
+ - [SwaggerClient::ErrorDto](docs/ErrorDto.md)
631
+ - [SwaggerClient::EventDto](docs/EventDto.md)
632
+ - [SwaggerClient::EventProperties](docs/EventProperties.md)
633
+ - [SwaggerClient::IsoDayOfWeek](docs/IsoDayOfWeek.md)
634
+ - [SwaggerClient::ListResponseDtoOfEventDto](docs/ListResponseDtoOfEventDto.md)
635
+ - [SwaggerClient::ListResponseDtoOfLogEntryDto](docs/ListResponseDtoOfLogEntryDto.md)
636
+ - [SwaggerClient::ListResponseDtoOfMediaDto](docs/ListResponseDtoOfMediaDto.md)
637
+ - [SwaggerClient::ListResponseDtoOfSubscriptionDto](docs/ListResponseDtoOfSubscriptionDto.md)
638
+ - [SwaggerClient::ListResponseDtoOfTemplateDto](docs/ListResponseDtoOfTemplateDto.md)
639
+ - [SwaggerClient::ListResponseDtoOfTopicDto](docs/ListResponseDtoOfTopicDto.md)
640
+ - [SwaggerClient::ListResponseDtoOfUserDto](docs/ListResponseDtoOfUserDto.md)
641
+ - [SwaggerClient::LocalizedText](docs/LocalizedText.md)
642
+ - [SwaggerClient::LogEntryDto](docs/LogEntryDto.md)
643
+ - [SwaggerClient::MediaDto](docs/MediaDto.md)
644
+ - [SwaggerClient::MediaMetadata](docs/MediaMetadata.md)
645
+ - [SwaggerClient::MediaType](docs/MediaType.md)
646
+ - [SwaggerClient::NotificationFormattingDto](docs/NotificationFormattingDto.md)
647
+ - [SwaggerClient::NotificationSend](docs/NotificationSend.md)
648
+ - [SwaggerClient::NotificationSettingDto](docs/NotificationSettingDto.md)
649
+ - [SwaggerClient::ProfileDto](docs/ProfileDto.md)
650
+ - [SwaggerClient::PublishDto](docs/PublishDto.md)
651
+ - [SwaggerClient::PublishManyDto](docs/PublishManyDto.md)
652
+ - [SwaggerClient::ResizeMode](docs/ResizeMode.md)
653
+ - [SwaggerClient::SchedulingDto](docs/SchedulingDto.md)
654
+ - [SwaggerClient::SchedulingType](docs/SchedulingType.md)
655
+ - [SwaggerClient::SubscriptionDto](docs/SubscriptionDto.md)
656
+ - [SwaggerClient::TemplateDto](docs/TemplateDto.md)
657
+ - [SwaggerClient::TopicDto](docs/TopicDto.md)
658
+ - [SwaggerClient::UpdateProfileDto](docs/UpdateProfileDto.md)
659
+ - [SwaggerClient::UpsertAppDto](docs/UpsertAppDto.md)
660
+ - [SwaggerClient::UpsertTemplateDto](docs/UpsertTemplateDto.md)
661
+ - [SwaggerClient::UpsertTemplatesDto](docs/UpsertTemplatesDto.md)
662
+ - [SwaggerClient::UpsertUserDto](docs/UpsertUserDto.md)
663
+ - [SwaggerClient::UpsertUsersDto](docs/UpsertUsersDto.md)
664
+ - [SwaggerClient::UserDto](docs/UserDto.md)
163
665
 
164
666
  ## Documentation for Authorization
165
667