notifo-io 1.0.1.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (324) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +646 -149
  3. data/docs/AppDetailsDto.md +3 -1
  4. data/docs/AppDto.md +2 -0
  5. data/docs/AppsApi.md +0 -186
  6. data/docs/{NotificationSend.md → ChannelCondition.md} +1 -1
  7. data/docs/{EventProperties.md → ChannelSend.md} +1 -1
  8. data/docs/ChannelSendInfoDto.md +9 -0
  9. data/docs/ChannelSettingDto.md +11 -0
  10. data/docs/ChannelTemplateDetailsDtoOfEmailTemplateDto.md +12 -0
  11. data/docs/ChannelTemplateDetailsDtoOfMessagingTemplateDto.md +12 -0
  12. data/docs/ChannelTemplateDetailsDtoOfSmsTemplateDto.md +12 -0
  13. data/docs/ChannelTemplateDto.md +11 -0
  14. data/docs/ConfiguredIntegrationDto.md +2 -1
  15. data/docs/CreateChannelTemplateDto.md +7 -0
  16. data/docs/{CreateEmailTemplateDto.md → CreateChannelTemplateLanguageDto.md} +1 -1
  17. data/docs/CreateIntegrationDto.md +1 -1
  18. data/docs/CreateSystemUserDto.md +9 -0
  19. data/docs/EmailFormattingError.md +10 -0
  20. data/docs/EmailPreviewDto.md +8 -0
  21. data/docs/EmailPreviewRequestDto.md +9 -0
  22. data/docs/{EmailTemplatesDto.md → EmailPreviewType.md} +1 -1
  23. data/docs/EmailTemplateDto.md +3 -0
  24. data/docs/{IntegrationProperties.md → EmailTemplateType.md} +1 -1
  25. data/docs/EmailTemplatesApi.md +488 -0
  26. data/docs/ErrorDto.md +1 -0
  27. data/docs/EventDto.md +3 -1
  28. data/docs/EventsApi.md +7 -5
  29. data/docs/HandledInfoDto.md +8 -0
  30. data/docs/IntegrationPropertyDto.md +2 -0
  31. data/docs/ListResponseDtoOfChannelTemplateDto.md +8 -0
  32. data/docs/ListResponseDtoOfMobilePushTokenDto.md +1 -1
  33. data/docs/{ListResponseDtoOfNotificationDto.md → ListResponseDtoOfSystemUserDto.md} +2 -2
  34. data/docs/ListResponseDtoOfUserNotificationDetailsDto.md +8 -0
  35. data/docs/ListResponseDtoOfUserNotificationDto.md +8 -0
  36. data/docs/MediaDto.md +3 -1
  37. data/docs/{Body.md → MessagingTemplateDto.md} +2 -2
  38. data/docs/MessagingTemplatesApi.md +394 -0
  39. data/docs/MobilePushApi.md +15 -15
  40. data/docs/MobilePushTokenDto.md +3 -2
  41. data/docs/MobilePushTokenDto2.md +8 -0
  42. data/docs/NotificationFormattingDto.md +1 -1
  43. data/docs/NotificationProperties.md +6 -0
  44. data/docs/NotificationsApi.md +74 -16
  45. data/docs/PingApi.md +48 -0
  46. data/docs/ProcessStatus.md +6 -0
  47. data/docs/ProfileDto.md +2 -1
  48. data/docs/PublishDto.md +2 -2
  49. data/docs/{EmailVerificationStatus.md → SmsTemplateDto.md} +2 -1
  50. data/docs/SmsTemplatesApi.md +394 -0
  51. data/docs/SubscribeDto.md +8 -0
  52. data/docs/SubscribeManyDto.md +8 -0
  53. data/docs/SubscriptionDto.md +1 -1
  54. data/docs/SystemUserDto.md +11 -0
  55. data/docs/SystemUsersApi.md +327 -0
  56. data/docs/TemplateDto.md +3 -1
  57. data/docs/TemplatesApi.md +3 -4
  58. data/docs/TopicChannel.md +6 -0
  59. data/docs/TopicDto.md +7 -1
  60. data/docs/TopicQueryScope.md +6 -0
  61. data/docs/TopicsApi.md +95 -0
  62. data/docs/UpdateChannelTemplateDtoOfEmailTemplateDto.md +9 -0
  63. data/docs/UpdateChannelTemplateDtoOfMessagingTemplateDto.md +9 -0
  64. data/docs/UpdateChannelTemplateDtoOfSmsTemplateDto.md +9 -0
  65. data/docs/UpdateIntegrationDto.md +2 -1
  66. data/docs/UpdateProfileDto.md +1 -1
  67. data/docs/UpdateSystemUserDto.md +9 -0
  68. data/docs/UpsertTemplateDto.md +1 -1
  69. data/docs/UpsertTopicDto.md +11 -0
  70. data/docs/UpsertTopicsDto.md +7 -0
  71. data/docs/UpsertUserDto.md +2 -2
  72. data/docs/UserApi.md +119 -21
  73. data/docs/UserDto.md +7 -2
  74. data/docs/UserNotificationBaseDto.md +23 -0
  75. data/docs/UserNotificationChannelDto.md +11 -0
  76. data/docs/UserNotificationDetailsDto.md +27 -0
  77. data/docs/{NotificationDto.md → UserNotificationDto.md} +9 -5
  78. data/docs/UserPropertyDto.md +9 -0
  79. data/docs/UserTopicDto.md +11 -0
  80. data/docs/UsersApi.md +37 -32
  81. data/lib/notifo/api/apps_api.rb +1 -245
  82. data/lib/notifo/api/configs_api.rb +1 -1
  83. data/lib/notifo/api/email_templates_api.rb +663 -0
  84. data/lib/notifo/api/events_api.rb +10 -7
  85. data/lib/notifo/api/logs_api.rb +1 -1
  86. data/lib/notifo/api/media_api.rb +1 -1
  87. data/lib/notifo/api/messaging_templates_api.rb +541 -0
  88. data/lib/notifo/api/mobile_push_api.rb +18 -18
  89. data/lib/notifo/api/notifications_api.rb +97 -22
  90. data/lib/notifo/api/ping_api.rb +70 -0
  91. data/lib/notifo/api/sms_templates_api.rb +541 -0
  92. data/lib/notifo/api/system_users_api.rb +411 -0
  93. data/lib/notifo/api/templates_api.rb +6 -6
  94. data/lib/notifo/api/topics_api.rb +126 -1
  95. data/lib/notifo/api/user_api.rb +138 -27
  96. data/lib/notifo/api/users_api.rb +38 -32
  97. data/lib/notifo/api_client.rb +1 -1
  98. data/lib/notifo/api_error.rb +1 -1
  99. data/lib/notifo/configuration.rb +1 -1
  100. data/lib/notifo/models/add_allowed_topic_dto.rb +1 -1
  101. data/lib/notifo/models/add_contributor_dto.rb +1 -1
  102. data/lib/notifo/models/app_contributor_dto.rb +1 -1
  103. data/lib/notifo/models/app_details_dto.rb +41 -11
  104. data/lib/notifo/models/app_dto.rb +32 -2
  105. data/lib/notifo/models/app_id_media_body.rb +1 -1
  106. data/lib/notifo/models/channel_condition.rb +30 -0
  107. data/lib/notifo/models/{notification_send.rb → channel_send.rb} +4 -4
  108. data/lib/notifo/models/channel_send_info_dto.rb +227 -0
  109. data/lib/notifo/models/channel_setting_dto.rb +256 -0
  110. data/lib/notifo/models/channel_template_details_dto_of_email_template_dto.rb +285 -0
  111. data/lib/notifo/models/channel_template_details_dto_of_messaging_template_dto.rb +285 -0
  112. data/lib/notifo/models/channel_template_details_dto_of_sms_template_dto.rb +285 -0
  113. data/lib/notifo/models/channel_template_dto.rb +264 -0
  114. data/lib/notifo/models/configured_integration_dto.rb +17 -3
  115. data/lib/notifo/models/configured_integrations_dto.rb +1 -1
  116. data/lib/notifo/models/confirm_mode.rb +2 -3
  117. data/lib/notifo/models/{body.rb → create_channel_template_dto.rb} +13 -11
  118. data/lib/notifo/models/{create_email_template_dto.rb → create_channel_template_language_dto.rb} +4 -4
  119. data/lib/notifo/models/create_integration_dto.rb +7 -2
  120. data/lib/notifo/models/create_system_user_dto.rb +240 -0
  121. data/lib/notifo/models/email_formatting_error.rb +233 -0
  122. data/lib/notifo/models/email_preview_dto.rb +221 -0
  123. data/lib/notifo/models/email_preview_request_dto.rb +232 -0
  124. data/lib/notifo/models/email_preview_type.rb +28 -0
  125. data/lib/notifo/models/email_template_dto.rb +39 -6
  126. data/lib/notifo/models/email_template_type.rb +30 -0
  127. data/lib/notifo/models/error_dto.rb +13 -2
  128. data/lib/notifo/models/event_dto.rb +24 -2
  129. data/lib/notifo/models/handled_info_dto.rb +218 -0
  130. data/lib/notifo/models/integration_created_dto.rb +1 -1
  131. data/lib/notifo/models/integration_definition_dto.rb +1 -1
  132. data/lib/notifo/models/integration_property_dto.rb +30 -2
  133. data/lib/notifo/models/integration_property_type.rb +1 -1
  134. data/lib/notifo/models/integration_status.rb +1 -1
  135. data/lib/notifo/models/iso_day_of_week.rb +1 -1
  136. data/lib/notifo/models/list_response_dto_of_channel_template_dto.rb +229 -0
  137. data/lib/notifo/models/list_response_dto_of_event_dto.rb +1 -1
  138. data/lib/notifo/models/list_response_dto_of_log_entry_dto.rb +1 -1
  139. data/lib/notifo/models/list_response_dto_of_media_dto.rb +1 -1
  140. data/lib/notifo/models/list_response_dto_of_mobile_push_token_dto.rb +1 -1
  141. data/lib/notifo/models/list_response_dto_of_subscription_dto.rb +1 -1
  142. data/lib/notifo/models/{list_response_dto_of_notification_dto.rb → list_response_dto_of_system_user_dto.rb} +4 -4
  143. data/lib/notifo/models/list_response_dto_of_template_dto.rb +1 -1
  144. data/lib/notifo/models/list_response_dto_of_topic_dto.rb +1 -1
  145. data/lib/notifo/models/list_response_dto_of_user_dto.rb +1 -1
  146. data/lib/notifo/models/list_response_dto_of_user_notification_details_dto.rb +229 -0
  147. data/lib/notifo/models/list_response_dto_of_user_notification_dto.rb +229 -0
  148. data/lib/notifo/models/localized_text.rb +1 -1
  149. data/lib/notifo/models/log_entry_dto.rb +1 -1
  150. data/lib/notifo/models/media_dto.rb +42 -12
  151. data/lib/notifo/models/media_metadata.rb +1 -1
  152. data/lib/notifo/models/media_type.rb +1 -1
  153. data/lib/notifo/models/messaging_template_dto.rb +212 -0
  154. data/lib/notifo/models/mobile_device_type.rb +1 -1
  155. data/lib/notifo/models/mobile_push_token_dto.rb +22 -6
  156. data/lib/notifo/models/{notification_setting_dto.rb → mobile_push_token_dto2.rb} +21 -22
  157. data/lib/notifo/models/notification_formatting_dto.rb +1 -6
  158. data/lib/notifo/models/{event_properties.rb → notification_properties.rb} +4 -4
  159. data/lib/notifo/models/{email_verification_status.rb → process_status.rb} +8 -7
  160. data/lib/notifo/models/profile_dto.rb +14 -2
  161. data/lib/notifo/models/publish_dto.rb +1 -1
  162. data/lib/notifo/models/publish_many_dto.rb +1 -1
  163. data/lib/notifo/models/register_mobile_token_dto.rb +1 -1
  164. data/lib/notifo/models/resize_mode.rb +1 -1
  165. data/lib/notifo/models/scheduling_dto.rb +1 -1
  166. data/lib/notifo/models/scheduling_type.rb +1 -1
  167. data/lib/notifo/models/{email_templates_dto.rb → sms_template_dto.rb} +22 -11
  168. data/lib/notifo/models/subscribe_dto.rb +225 -0
  169. data/lib/notifo/models/subscribe_many_dto.rb +223 -0
  170. data/lib/notifo/models/subscription_dto.rb +6 -2
  171. data/lib/notifo/models/system_user_dto.rb +269 -0
  172. data/lib/notifo/models/template_dto.rb +32 -2
  173. data/lib/notifo/models/topic_channel.rb +28 -0
  174. data/lib/notifo/models/topic_dto.rb +69 -3
  175. data/lib/notifo/models/topic_query_scope.rb +29 -0
  176. data/lib/notifo/models/track_notification_dto.rb +1 -1
  177. data/lib/notifo/models/update_channel_template_dto_of_email_template_dto.rb +232 -0
  178. data/lib/notifo/models/update_channel_template_dto_of_messaging_template_dto.rb +232 -0
  179. data/lib/notifo/models/update_channel_template_dto_of_sms_template_dto.rb +232 -0
  180. data/lib/notifo/models/update_integration_dto.rb +19 -3
  181. data/lib/notifo/models/update_profile_dto.rb +1 -1
  182. data/lib/notifo/models/update_system_user_dto.rb +240 -0
  183. data/lib/notifo/models/upsert_app_dto.rb +1 -1
  184. data/lib/notifo/models/upsert_template_dto.rb +1 -1
  185. data/lib/notifo/models/upsert_templates_dto.rb +1 -1
  186. data/lib/notifo/models/upsert_topic_dto.rb +249 -0
  187. data/lib/notifo/models/upsert_topics_dto.rb +214 -0
  188. data/lib/notifo/models/upsert_user_dto.rb +15 -13
  189. data/lib/notifo/models/upsert_users_dto.rb +1 -1
  190. data/lib/notifo/models/user_dto.rb +89 -16
  191. data/lib/notifo/models/{notification_dto.rb → user_notification_base_dto.rb} +62 -46
  192. data/lib/notifo/models/user_notification_channel_dto.rb +261 -0
  193. data/lib/notifo/models/user_notification_details_dto.rb +450 -0
  194. data/lib/notifo/models/user_notification_dto.rb +436 -0
  195. data/lib/notifo/models/user_property_dto.rb +234 -0
  196. data/lib/notifo/models/user_topic_dto.rb +265 -0
  197. data/lib/notifo/version.rb +1 -1
  198. data/lib/notifo.rb +49 -11
  199. data/notifo.gemspec +3 -3
  200. data/spec/api/apps_api_spec.rb +20 -20
  201. data/spec/api/configs_api_spec.rb +1 -1
  202. data/spec/api/email_templates_api_spec.rb +161 -0
  203. data/spec/api/events_api_spec.rb +13 -1
  204. data/spec/api/logs_api_spec.rb +1 -1
  205. data/spec/api/media_api_spec.rb +1 -1
  206. data/spec/api/messaging_templates_api_spec.rb +137 -0
  207. data/spec/api/mobile_push_api_spec.rb +7 -7
  208. data/spec/api/notifications_api_spec.rb +25 -8
  209. data/spec/api/ping_api_spec.rb +45 -0
  210. data/spec/api/sms_templates_api_spec.rb +137 -0
  211. data/spec/api/system_users_api_spec.rb +114 -0
  212. data/spec/api/templates_api_spec.rb +2 -2
  213. data/spec/api/topics_api_spec.rb +26 -1
  214. data/spec/api/user_api_spec.rb +33 -8
  215. data/spec/api/users_api_spec.rb +15 -13
  216. data/spec/api_client_spec.rb +1 -1
  217. data/spec/configuration_spec.rb +4 -4
  218. data/spec/models/add_allowed_topic_dto_spec.rb +1 -1
  219. data/spec/models/add_contributor_dto_spec.rb +1 -1
  220. data/spec/models/app_contributor_dto_spec.rb +1 -1
  221. data/spec/models/app_details_dto_spec.rb +4 -40
  222. data/spec/models/app_dto_spec.rb +13 -1
  223. data/spec/models/app_id_media_body_spec.rb +1 -1
  224. data/spec/models/{notification_send_spec.rb → channel_condition_spec.rb} +7 -7
  225. data/spec/models/channel_send_info_dto_spec.rb +52 -0
  226. data/spec/models/{event_properties_spec.rb → channel_send_spec.rb} +7 -7
  227. data/spec/models/channel_setting_dto_spec.rb +64 -0
  228. data/spec/models/channel_template_details_dto_of_email_template_dto_spec.rb +70 -0
  229. data/spec/models/channel_template_details_dto_of_messaging_template_dto_spec.rb +70 -0
  230. data/spec/models/channel_template_details_dto_of_sms_template_dto_spec.rb +70 -0
  231. data/spec/models/channel_template_dto_spec.rb +64 -0
  232. data/spec/models/configured_integration_dto_spec.rb +7 -1
  233. data/spec/models/configured_integrations_dto_spec.rb +1 -1
  234. data/spec/models/confirm_mode_spec.rb +1 -1
  235. data/spec/models/create_channel_template_dto_spec.rb +40 -0
  236. data/spec/models/{create_email_template_dto_spec.rb → create_channel_template_language_dto_spec.rb} +7 -7
  237. data/spec/models/create_integration_dto_spec.rb +1 -1
  238. data/spec/models/create_system_user_dto_spec.rb +52 -0
  239. data/spec/{api/authorization_api_spec.rb → models/email_formatting_error_spec.rb} +16 -19
  240. data/spec/models/{notification_setting_dto_spec.rb → email_preview_dto_spec.rb} +9 -9
  241. data/spec/models/email_preview_request_dto_spec.rb +52 -0
  242. data/spec/models/{email_templates_dto_spec.rb → email_preview_type_spec.rb} +7 -7
  243. data/spec/models/email_template_dto_spec.rb +19 -1
  244. data/spec/models/{integration_properties_spec.rb → email_template_type_spec.rb} +7 -7
  245. data/spec/models/error_dto_spec.rb +7 -1
  246. data/spec/models/event_dto_spec.rb +19 -1
  247. data/spec/models/handled_info_dto_spec.rb +46 -0
  248. data/spec/models/integration_created_dto_spec.rb +1 -1
  249. data/spec/models/integration_definition_dto_spec.rb +1 -1
  250. data/spec/models/integration_property_dto_spec.rb +13 -1
  251. data/spec/models/integration_property_type_spec.rb +1 -1
  252. data/spec/models/integration_status_spec.rb +1 -1
  253. data/spec/models/iso_day_of_week_spec.rb +1 -1
  254. data/spec/models/list_response_dto_of_channel_template_dto_spec.rb +46 -0
  255. data/spec/models/list_response_dto_of_event_dto_spec.rb +1 -1
  256. data/spec/models/list_response_dto_of_log_entry_dto_spec.rb +1 -1
  257. data/spec/models/list_response_dto_of_media_dto_spec.rb +1 -1
  258. data/spec/models/list_response_dto_of_mobile_push_token_dto_spec.rb +1 -1
  259. data/spec/models/list_response_dto_of_subscription_dto_spec.rb +1 -1
  260. data/spec/models/{list_response_dto_of_notification_dto_spec.rb → list_response_dto_of_system_user_dto_spec.rb} +7 -7
  261. data/spec/models/list_response_dto_of_template_dto_spec.rb +1 -1
  262. data/spec/models/list_response_dto_of_topic_dto_spec.rb +1 -1
  263. data/spec/models/list_response_dto_of_user_dto_spec.rb +1 -1
  264. data/spec/models/list_response_dto_of_user_notification_details_dto_spec.rb +46 -0
  265. data/spec/{api/user_info_api_spec.rb → models/list_response_dto_of_user_notification_dto_spec.rb} +10 -16
  266. data/spec/models/localized_text_spec.rb +1 -1
  267. data/spec/models/log_entry_dto_spec.rb +1 -1
  268. data/spec/models/media_dto_spec.rb +14 -2
  269. data/spec/models/media_metadata_spec.rb +1 -1
  270. data/spec/models/media_type_spec.rb +1 -1
  271. data/spec/models/messaging_template_dto_spec.rb +40 -0
  272. data/spec/models/mobile_device_type_spec.rb +1 -1
  273. data/spec/models/mobile_push_token_dto2_spec.rb +46 -0
  274. data/spec/models/mobile_push_token_dto_spec.rb +7 -1
  275. data/spec/models/notification_formatting_dto_spec.rb +1 -1
  276. data/spec/models/notification_properties_spec.rb +34 -0
  277. data/spec/models/process_status_spec.rb +34 -0
  278. data/spec/models/profile_dto_spec.rb +7 -1
  279. data/spec/models/publish_dto_spec.rb +13 -1
  280. data/spec/models/publish_many_dto_spec.rb +1 -1
  281. data/spec/models/register_mobile_token_dto_spec.rb +1 -1
  282. data/spec/models/resize_mode_spec.rb +1 -1
  283. data/spec/models/scheduling_dto_spec.rb +1 -1
  284. data/spec/models/scheduling_type_spec.rb +1 -1
  285. data/spec/models/{body_spec.rb → sms_template_dto_spec.rb} +8 -8
  286. data/spec/models/subscribe_dto_spec.rb +46 -0
  287. data/spec/models/subscribe_many_dto_spec.rb +46 -0
  288. data/spec/models/subscription_dto_spec.rb +1 -1
  289. data/spec/models/system_user_dto_spec.rb +64 -0
  290. data/spec/models/template_dto_spec.rb +13 -1
  291. data/spec/models/topic_channel_spec.rb +34 -0
  292. data/spec/models/topic_dto_spec.rb +37 -1
  293. data/spec/models/topic_query_scope_spec.rb +34 -0
  294. data/spec/models/track_notification_dto_spec.rb +1 -1
  295. data/spec/models/update_channel_template_dto_of_email_template_dto_spec.rb +52 -0
  296. data/spec/models/update_channel_template_dto_of_messaging_template_dto_spec.rb +52 -0
  297. data/spec/models/update_channel_template_dto_of_sms_template_dto_spec.rb +52 -0
  298. data/spec/models/update_integration_dto_spec.rb +7 -1
  299. data/spec/models/update_profile_dto_spec.rb +1 -1
  300. data/spec/models/update_system_user_dto_spec.rb +52 -0
  301. data/spec/models/upsert_app_dto_spec.rb +1 -1
  302. data/spec/models/upsert_template_dto_spec.rb +1 -1
  303. data/spec/models/upsert_templates_dto_spec.rb +1 -1
  304. data/spec/models/upsert_topic_dto_spec.rb +64 -0
  305. data/spec/models/upsert_topics_dto_spec.rb +40 -0
  306. data/spec/models/upsert_user_dto_spec.rb +7 -1
  307. data/spec/models/upsert_users_dto_spec.rb +1 -1
  308. data/spec/models/user_dto_spec.rb +49 -1
  309. data/spec/models/{notification_dto_spec.rb → user_notification_base_dto_spec.rb} +23 -11
  310. data/spec/models/user_notification_channel_dto_spec.rb +64 -0
  311. data/spec/models/user_notification_details_dto_spec.rb +160 -0
  312. data/spec/models/user_notification_dto_spec.rb +148 -0
  313. data/spec/models/user_property_dto_spec.rb +52 -0
  314. data/spec/models/user_topic_dto_spec.rb +64 -0
  315. data/spec/spec_helper.rb +1 -1
  316. metadata +207 -64
  317. data/docs/AuthorizationApi.md +0 -121
  318. data/docs/NotificationSettingDto.md +0 -8
  319. data/docs/UserInfoApi.md +0 -83
  320. data/lib/notifo/api/authorization_api.rb +0 -158
  321. data/lib/notifo/api/user_info_api.rb +0 -112
  322. data/lib/notifo/models/integration_properties.rb +0 -201
  323. data/notifo-io-1.0.1.1.gem +0 -0
  324. data/spec/models/email_verification_status_spec.rb +0 -34
data/README.md CHANGED
@@ -67,18 +67,6 @@ rescue Notifo::ApiError => e
67
67
  puts "Exception when calling AppsApi->apps_delete_contributor: #{e}"
68
68
  end
69
69
 
70
- api_instance = Notifo::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 Notifo::ApiError => e
79
- puts "Exception when calling AppsApi->apps_delete_email_template: #{e}"
80
- end
81
-
82
70
  api_instance = Notifo::AppsApi.new
83
71
  app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
84
72
  id = 'id_example' # String | The id of the integration.
@@ -113,18 +101,6 @@ rescue Notifo::ApiError => e
113
101
  puts "Exception when calling AppsApi->apps_get_apps: #{e}"
114
102
  end
115
103
 
116
- api_instance = Notifo::AppsApi.new
117
- app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
118
-
119
-
120
- begin
121
- #Get the app email templates.
122
- result = api_instance.apps_get_email_templates(app_id)
123
- p result
124
- rescue Notifo::ApiError => e
125
- puts "Exception when calling AppsApi->apps_get_email_templates: #{e}"
126
- end
127
-
128
104
  api_instance = Notifo::AppsApi.new
129
105
  app_id = 'app_id_example' # String | The id of the app where the integrations belong to.
130
106
 
@@ -162,19 +138,6 @@ rescue Notifo::ApiError => e
162
138
  puts "Exception when calling AppsApi->apps_post_contributor: #{e}"
163
139
  end
164
140
 
165
- api_instance = Notifo::AppsApi.new
166
- body = Notifo::CreateEmailTemplateDto.new # CreateEmailTemplateDto | The request object.
167
- app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
168
-
169
-
170
- begin
171
- #Create an app email template.
172
- result = api_instance.apps_post_email_template(body, app_id)
173
- p result
174
- rescue Notifo::ApiError => e
175
- puts "Exception when calling AppsApi->apps_post_email_template: #{e}"
176
- end
177
-
178
141
  api_instance = Notifo::AppsApi.new
179
142
  body = Notifo::CreateIntegrationDto.new # CreateIntegrationDto | The request object.
180
143
  app_id = 'app_id_example' # String | The id of the app where the integration belong to.
@@ -201,19 +164,6 @@ rescue Notifo::ApiError => e
201
164
  puts "Exception when calling AppsApi->apps_put_app: #{e}"
202
165
  end
203
166
 
204
- api_instance = Notifo::AppsApi.new
205
- body = Notifo::EmailTemplateDto.new # EmailTemplateDto | The request object.
206
- app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
207
- language = 'language_example' # String | The language.
208
-
209
-
210
- begin
211
- #Update an app email template.
212
- api_instance.apps_put_email_template(body, app_id, language)
213
- rescue Notifo::ApiError => e
214
- puts "Exception when calling AppsApi->apps_put_email_template: #{e}"
215
- end
216
-
217
167
  api_instance = Notifo::AppsApi.new
218
168
  body = Notifo::UpdateIntegrationDto.new # UpdateIntegrationDto | The request object.
219
169
  app_id = 'app_id_example' # String | The id of the app where the integration belong to.
@@ -227,53 +177,164 @@ rescue Notifo::ApiError => e
227
177
  puts "Exception when calling AppsApi->apps_put_integration: #{e}"
228
178
  end
229
179
 
230
- api_instance = Notifo::AuthorizationApi.new
180
+ api_instance = Notifo::ConfigsApi.new
181
+
182
+ begin
183
+ #Get all supported languages.
184
+ result = api_instance.configs_get_languages
185
+ p result
186
+ rescue Notifo::ApiError => e
187
+ puts "Exception when calling ConfigsApi->configs_get_languages: #{e}"
188
+ end
189
+
190
+ api_instance = Notifo::ConfigsApi.new
231
191
 
232
192
  begin
233
- api_instance.authorization_authorize
193
+ #Get all supported timezones.
194
+ result = api_instance.configs_get_timezones
195
+ p result
234
196
  rescue Notifo::ApiError => e
235
- puts "Exception when calling AuthorizationApi->authorization_authorize: #{e}"
197
+ puts "Exception when calling ConfigsApi->configs_get_timezones: #{e}"
236
198
  end
237
199
 
238
- api_instance = Notifo::AuthorizationApi.new
200
+ api_instance = Notifo::EmailTemplatesApi.new
201
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
202
+ id = 'id_example' # String | The template ID.
203
+
239
204
 
240
205
  begin
241
- api_instance.authorization_exchange
206
+ #Get the HTML preview for a channel template.
207
+ result = api_instance.email_template_preview_get_preview(app_id, id)
208
+ p result
242
209
  rescue Notifo::ApiError => e
243
- puts "Exception when calling AuthorizationApi->authorization_exchange: #{e}"
210
+ puts "Exception when calling EmailTemplatesApi->email_template_preview_get_preview: #{e}"
244
211
  end
245
212
 
246
- api_instance = Notifo::AuthorizationApi.new
213
+ api_instance = Notifo::EmailTemplatesApi.new
214
+ body = Notifo::EmailPreviewRequestDto.new # EmailPreviewRequestDto | The template to render.
215
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
216
+
247
217
 
248
218
  begin
249
- api_instance.authorization_logout
219
+ #Render a preview for a email template.
220
+ result = api_instance.email_template_preview_post_preview(body, app_id)
221
+ p result
250
222
  rescue Notifo::ApiError => e
251
- puts "Exception when calling AuthorizationApi->authorization_logout: #{e}"
223
+ puts "Exception when calling EmailTemplatesApi->email_template_preview_post_preview: #{e}"
252
224
  end
253
225
 
254
- api_instance = Notifo::ConfigsApi.new
226
+ api_instance = Notifo::EmailTemplatesApi.new
227
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
228
+ id = 'id_example' # String | The template ID.
229
+
255
230
 
256
231
  begin
257
- #Get all supported languages.
258
- result = api_instance.configs_get_languages
232
+ #Delete a channel template.
233
+ api_instance.email_templates_delete_template(app_id, id)
234
+ rescue Notifo::ApiError => e
235
+ puts "Exception when calling EmailTemplatesApi->email_templates_delete_template: #{e}"
236
+ end
237
+
238
+ api_instance = Notifo::EmailTemplatesApi.new
239
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
240
+ id = 'id_example' # String | The template ID.
241
+ language = 'language_example' # String | The language.
242
+
243
+
244
+ begin
245
+ #Delete a language channel template.
246
+ api_instance.email_templates_delete_template_language(app_id, id, language)
247
+ rescue Notifo::ApiError => e
248
+ puts "Exception when calling EmailTemplatesApi->email_templates_delete_template_language: #{e}"
249
+ end
250
+
251
+ api_instance = Notifo::EmailTemplatesApi.new
252
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
253
+ id = 'id_example' # String | The template ID.
254
+
255
+
256
+ begin
257
+ #Get the channel template by id.
258
+ result = api_instance.email_templates_get_template(app_id, id)
259
259
  p result
260
260
  rescue Notifo::ApiError => e
261
- puts "Exception when calling ConfigsApi->configs_get_languages: #{e}"
261
+ puts "Exception when calling EmailTemplatesApi->email_templates_get_template: #{e}"
262
262
  end
263
263
 
264
- api_instance = Notifo::ConfigsApi.new
264
+ api_instance = Notifo::EmailTemplatesApi.new
265
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
266
+ opts = {
267
+ query: 'query_example', # String | The optional query to search for items.
268
+ take: 56, # Integer | The number of items to return.
269
+ skip: 56 # Integer | The number of items to skip.
270
+ }
265
271
 
266
272
  begin
267
- #Get all supported timezones.
268
- result = api_instance.configs_get_timezones
273
+ #Get the channel templates.
274
+ result = api_instance.email_templates_get_templates(app_id, opts)
269
275
  p result
270
276
  rescue Notifo::ApiError => e
271
- puts "Exception when calling ConfigsApi->configs_get_timezones: #{e}"
277
+ puts "Exception when calling EmailTemplatesApi->email_templates_get_templates: #{e}"
278
+ end
279
+
280
+ api_instance = Notifo::EmailTemplatesApi.new
281
+ body = Notifo::CreateChannelTemplateDto.new # CreateChannelTemplateDto | The request object.
282
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
283
+
284
+
285
+ begin
286
+ #Create a channel template.
287
+ result = api_instance.email_templates_post_template(body, app_id)
288
+ p result
289
+ rescue Notifo::ApiError => e
290
+ puts "Exception when calling EmailTemplatesApi->email_templates_post_template: #{e}"
291
+ end
292
+
293
+ api_instance = Notifo::EmailTemplatesApi.new
294
+ body = Notifo::CreateChannelTemplateLanguageDto.new # CreateChannelTemplateLanguageDto | The request object.
295
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
296
+ id = 'id_example' # String | The template ID.
297
+
298
+
299
+ begin
300
+ #Create an app template language.
301
+ result = api_instance.email_templates_post_template_language(body, app_id, id)
302
+ p result
303
+ rescue Notifo::ApiError => e
304
+ puts "Exception when calling EmailTemplatesApi->email_templates_post_template_language: #{e}"
305
+ end
306
+
307
+ api_instance = Notifo::EmailTemplatesApi.new
308
+ body = Notifo::UpdateChannelTemplateDtoOfEmailTemplateDto.new # UpdateChannelTemplateDtoOfEmailTemplateDto | The request object.
309
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
310
+ id = 'id_example' # String | The template ID.
311
+
312
+
313
+ begin
314
+ #Update an app template.
315
+ api_instance.email_templates_put_template(body, app_id, id)
316
+ rescue Notifo::ApiError => e
317
+ puts "Exception when calling EmailTemplatesApi->email_templates_put_template: #{e}"
318
+ end
319
+
320
+ api_instance = Notifo::EmailTemplatesApi.new
321
+ body = Notifo::EmailTemplateDto.new # EmailTemplateDto | The request object.
322
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
323
+ id = 'id_example' # String | The template ID.
324
+ language = 'language_example' # String | The language.
325
+
326
+
327
+ begin
328
+ #Update a channel template language.
329
+ api_instance.email_templates_put_template_language(body, app_id, id, language)
330
+ rescue Notifo::ApiError => e
331
+ puts "Exception when calling EmailTemplatesApi->email_templates_put_template_language: #{e}"
272
332
  end
273
333
 
274
334
  api_instance = Notifo::EventsApi.new
275
335
  app_id = 'app_id_example' # String | The app where the events belongs to.
276
336
  opts = {
337
+ channels: ['channels_example'], # Array<String> | The active channels.
277
338
  query: 'query_example', # String | The optional query to search for items.
278
339
  take: 56, # Integer | The number of items to return.
279
340
  skip: 56 # Integer | The number of items to skip.
@@ -305,9 +366,9 @@ body = Notifo::PublishDto.new # PublishDto | The publish request.
305
366
 
306
367
  begin
307
368
  #Publish an event for the current user.
308
- api_instance.events_post_events2(body)
369
+ api_instance.events_post_my_events(body)
309
370
  rescue Notifo::ApiError => e
310
- puts "Exception when calling EventsApi->events_post_events2: #{e}"
371
+ puts "Exception when calling EventsApi->events_post_my_events: #{e}"
311
372
  end
312
373
 
313
374
  api_instance = Notifo::LogsApi.new
@@ -415,25 +476,133 @@ rescue Notifo::ApiError => e
415
476
  puts "Exception when calling MediaApi->media_upload: #{e}"
416
477
  end
417
478
 
479
+ api_instance = Notifo::MessagingTemplatesApi.new
480
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
481
+ id = 'id_example' # String | The template ID.
482
+
483
+
484
+ begin
485
+ #Delete a channel template.
486
+ api_instance.messaging_templates_delete_template(app_id, id)
487
+ rescue Notifo::ApiError => e
488
+ puts "Exception when calling MessagingTemplatesApi->messaging_templates_delete_template: #{e}"
489
+ end
490
+
491
+ api_instance = Notifo::MessagingTemplatesApi.new
492
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
493
+ id = 'id_example' # String | The template ID.
494
+ language = 'language_example' # String | The language.
495
+
496
+
497
+ begin
498
+ #Delete a language channel template.
499
+ api_instance.messaging_templates_delete_template_language(app_id, id, language)
500
+ rescue Notifo::ApiError => e
501
+ puts "Exception when calling MessagingTemplatesApi->messaging_templates_delete_template_language: #{e}"
502
+ end
503
+
504
+ api_instance = Notifo::MessagingTemplatesApi.new
505
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
506
+ id = 'id_example' # String | The template ID.
507
+
508
+
509
+ begin
510
+ #Get the channel template by id.
511
+ result = api_instance.messaging_templates_get_template(app_id, id)
512
+ p result
513
+ rescue Notifo::ApiError => e
514
+ puts "Exception when calling MessagingTemplatesApi->messaging_templates_get_template: #{e}"
515
+ end
516
+
517
+ api_instance = Notifo::MessagingTemplatesApi.new
518
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
519
+ opts = {
520
+ query: 'query_example', # String | The optional query to search for items.
521
+ take: 56, # Integer | The number of items to return.
522
+ skip: 56 # Integer | The number of items to skip.
523
+ }
524
+
525
+ begin
526
+ #Get the channel templates.
527
+ result = api_instance.messaging_templates_get_templates(app_id, opts)
528
+ p result
529
+ rescue Notifo::ApiError => e
530
+ puts "Exception when calling MessagingTemplatesApi->messaging_templates_get_templates: #{e}"
531
+ end
532
+
533
+ api_instance = Notifo::MessagingTemplatesApi.new
534
+ body = Notifo::CreateChannelTemplateDto.new # CreateChannelTemplateDto | The request object.
535
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
536
+
537
+
538
+ begin
539
+ #Create a channel template.
540
+ result = api_instance.messaging_templates_post_template(body, app_id)
541
+ p result
542
+ rescue Notifo::ApiError => e
543
+ puts "Exception when calling MessagingTemplatesApi->messaging_templates_post_template: #{e}"
544
+ end
545
+
546
+ api_instance = Notifo::MessagingTemplatesApi.new
547
+ body = Notifo::CreateChannelTemplateLanguageDto.new # CreateChannelTemplateLanguageDto | The request object.
548
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
549
+ id = 'id_example' # String | The template ID.
550
+
551
+
552
+ begin
553
+ #Create an app template language.
554
+ result = api_instance.messaging_templates_post_template_language(body, app_id, id)
555
+ p result
556
+ rescue Notifo::ApiError => e
557
+ puts "Exception when calling MessagingTemplatesApi->messaging_templates_post_template_language: #{e}"
558
+ end
559
+
560
+ api_instance = Notifo::MessagingTemplatesApi.new
561
+ body = Notifo::UpdateChannelTemplateDtoOfMessagingTemplateDto.new # UpdateChannelTemplateDtoOfMessagingTemplateDto | The request object.
562
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
563
+ id = 'id_example' # String | The template ID.
564
+
565
+
566
+ begin
567
+ #Update an app template.
568
+ api_instance.messaging_templates_put_template(body, app_id, id)
569
+ rescue Notifo::ApiError => e
570
+ puts "Exception when calling MessagingTemplatesApi->messaging_templates_put_template: #{e}"
571
+ end
572
+
573
+ api_instance = Notifo::MessagingTemplatesApi.new
574
+ body = Notifo::MessagingTemplateDto.new # MessagingTemplateDto | The request object.
575
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
576
+ id = 'id_example' # String | The template ID.
577
+ language = 'language_example' # String | The language.
578
+
579
+
580
+ begin
581
+ #Update a channel template language.
582
+ api_instance.messaging_templates_put_template_language(body, app_id, id, language)
583
+ rescue Notifo::ApiError => e
584
+ puts "Exception when calling MessagingTemplatesApi->messaging_templates_put_template_language: #{e}"
585
+ end
586
+
418
587
  api_instance = Notifo::MobilePushApi.new
419
588
  token = 'token_example' # String | The token to remove.
420
589
 
421
590
 
422
591
  begin
423
592
  #Deletes a mobile push token for the current user.
424
- api_instance.mobile_push_delete_token(token)
593
+ api_instance.mobile_push_delete_my_token(token)
425
594
  rescue Notifo::ApiError => e
426
- puts "Exception when calling MobilePushApi->mobile_push_delete_token: #{e}"
595
+ puts "Exception when calling MobilePushApi->mobile_push_delete_my_token: #{e}"
427
596
  end
428
597
 
429
598
  api_instance = Notifo::MobilePushApi.new
430
599
 
431
600
  begin
432
601
  #Returns the mobile push tokens.
433
- result = api_instance.mobile_push_get_tokens
602
+ result = api_instance.mobile_push_get_my_token
434
603
  p result
435
604
  rescue Notifo::ApiError => e
436
- puts "Exception when calling MobilePushApi->mobile_push_get_tokens: #{e}"
605
+ puts "Exception when calling MobilePushApi->mobile_push_get_my_token: #{e}"
437
606
  end
438
607
 
439
608
  api_instance = Notifo::MobilePushApi.new
@@ -442,9 +611,9 @@ body = Notifo::RegisterMobileTokenDto.new # RegisterMobileTokenDto | The request
442
611
 
443
612
  begin
444
613
  #Register a mobile push token for the current user.
445
- api_instance.mobile_push_post_token(body)
614
+ api_instance.mobile_push_post_my_token(body)
446
615
  rescue Notifo::ApiError => e
447
- puts "Exception when calling MobilePushApi->mobile_push_post_token: #{e}"
616
+ puts "Exception when calling MobilePushApi->mobile_push_post_my_token: #{e}"
448
617
  end
449
618
 
450
619
  api_instance = Notifo::NotificationsApi.new
@@ -453,23 +622,24 @@ body = Notifo::TrackNotificationDto.new # TrackNotificationDto | The request obj
453
622
 
454
623
  begin
455
624
  #Confirms the user notifications for the current user.
456
- api_instance.notifications_confirm(body)
625
+ api_instance.notifications_confirm_me(body)
457
626
  rescue Notifo::ApiError => e
458
- puts "Exception when calling NotificationsApi->notifications_confirm: #{e}"
627
+ puts "Exception when calling NotificationsApi->notifications_confirm_me: #{e}"
459
628
  end
460
629
 
461
630
  api_instance = Notifo::NotificationsApi.new
462
631
 
463
632
  begin
464
633
  #Query archhived user notifications of the current user.
465
- result = api_instance.notifications_get_archive
634
+ result = api_instance.notifications_get_my_archive
466
635
  p result
467
636
  rescue Notifo::ApiError => e
468
- puts "Exception when calling NotificationsApi->notifications_get_archive: #{e}"
637
+ puts "Exception when calling NotificationsApi->notifications_get_my_archive: #{e}"
469
638
  end
470
639
 
471
640
  api_instance = Notifo::NotificationsApi.new
472
641
  opts = {
642
+ channels: ['channels_example'], # Array<String> | The active channels.
473
643
  query: 'query_example', # String | The optional query to search for items.
474
644
  take: 56, # Integer | The number of items to return.
475
645
  skip: 56 # Integer | The number of items to skip.
@@ -477,12 +647,233 @@ opts = {
477
647
 
478
648
  begin
479
649
  #Query user notifications of the current user.
480
- result = api_instance.notifications_get_notifications(opts)
650
+ result = api_instance.notifications_get_my_notifications(opts)
651
+ p result
652
+ rescue Notifo::ApiError => e
653
+ puts "Exception when calling NotificationsApi->notifications_get_my_notifications: #{e}"
654
+ end
655
+
656
+ api_instance = Notifo::NotificationsApi.new
657
+ app_id = 'app_id_example' # String | The app where the user belongs to.
658
+ id = 'id_example' # String | The user id.
659
+ opts = {
660
+ channels: ['channels_example'], # Array<String> | The active channels.
661
+ query: 'query_example', # String | The optional query to search for items.
662
+ take: 56, # Integer | The number of items to return.
663
+ skip: 56 # Integer | The number of items to skip.
664
+ }
665
+
666
+ begin
667
+ #Query user notifications.
668
+ result = api_instance.notifications_get_notifications(app_id, id, opts)
481
669
  p result
482
670
  rescue Notifo::ApiError => e
483
671
  puts "Exception when calling NotificationsApi->notifications_get_notifications: #{e}"
484
672
  end
485
673
 
674
+ api_instance = Notifo::PingApi.new
675
+
676
+ begin
677
+ #Get ping status of the API.
678
+ api_instance.ping_get_ping
679
+ rescue Notifo::ApiError => e
680
+ puts "Exception when calling PingApi->ping_get_ping: #{e}"
681
+ end
682
+
683
+ api_instance = Notifo::SmsTemplatesApi.new
684
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
685
+ id = 'id_example' # String | The template ID.
686
+
687
+
688
+ begin
689
+ #Delete a channel template.
690
+ api_instance.sms_templates_delete_template(app_id, id)
691
+ rescue Notifo::ApiError => e
692
+ puts "Exception when calling SmsTemplatesApi->sms_templates_delete_template: #{e}"
693
+ end
694
+
695
+ api_instance = Notifo::SmsTemplatesApi.new
696
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
697
+ id = 'id_example' # String | The template ID.
698
+ language = 'language_example' # String | The language.
699
+
700
+
701
+ begin
702
+ #Delete a language channel template.
703
+ api_instance.sms_templates_delete_template_language(app_id, id, language)
704
+ rescue Notifo::ApiError => e
705
+ puts "Exception when calling SmsTemplatesApi->sms_templates_delete_template_language: #{e}"
706
+ end
707
+
708
+ api_instance = Notifo::SmsTemplatesApi.new
709
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
710
+ id = 'id_example' # String | The template ID.
711
+
712
+
713
+ begin
714
+ #Get the channel template by id.
715
+ result = api_instance.sms_templates_get_template(app_id, id)
716
+ p result
717
+ rescue Notifo::ApiError => e
718
+ puts "Exception when calling SmsTemplatesApi->sms_templates_get_template: #{e}"
719
+ end
720
+
721
+ api_instance = Notifo::SmsTemplatesApi.new
722
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
723
+ opts = {
724
+ query: 'query_example', # String | The optional query to search for items.
725
+ take: 56, # Integer | The number of items to return.
726
+ skip: 56 # Integer | The number of items to skip.
727
+ }
728
+
729
+ begin
730
+ #Get the channel templates.
731
+ result = api_instance.sms_templates_get_templates(app_id, opts)
732
+ p result
733
+ rescue Notifo::ApiError => e
734
+ puts "Exception when calling SmsTemplatesApi->sms_templates_get_templates: #{e}"
735
+ end
736
+
737
+ api_instance = Notifo::SmsTemplatesApi.new
738
+ body = Notifo::CreateChannelTemplateDto.new # CreateChannelTemplateDto | The request object.
739
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
740
+
741
+
742
+ begin
743
+ #Create a channel template.
744
+ result = api_instance.sms_templates_post_template(body, app_id)
745
+ p result
746
+ rescue Notifo::ApiError => e
747
+ puts "Exception when calling SmsTemplatesApi->sms_templates_post_template: #{e}"
748
+ end
749
+
750
+ api_instance = Notifo::SmsTemplatesApi.new
751
+ body = Notifo::CreateChannelTemplateLanguageDto.new # CreateChannelTemplateLanguageDto | The request object.
752
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
753
+ id = 'id_example' # String | The template ID.
754
+
755
+
756
+ begin
757
+ #Create an app template language.
758
+ result = api_instance.sms_templates_post_template_language(body, app_id, id)
759
+ p result
760
+ rescue Notifo::ApiError => e
761
+ puts "Exception when calling SmsTemplatesApi->sms_templates_post_template_language: #{e}"
762
+ end
763
+
764
+ api_instance = Notifo::SmsTemplatesApi.new
765
+ body = Notifo::UpdateChannelTemplateDtoOfSmsTemplateDto.new # UpdateChannelTemplateDtoOfSmsTemplateDto | The request object.
766
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
767
+ id = 'id_example' # String | The template ID.
768
+
769
+
770
+ begin
771
+ #Update an app template.
772
+ api_instance.sms_templates_put_template(body, app_id, id)
773
+ rescue Notifo::ApiError => e
774
+ puts "Exception when calling SmsTemplatesApi->sms_templates_put_template: #{e}"
775
+ end
776
+
777
+ api_instance = Notifo::SmsTemplatesApi.new
778
+ body = Notifo::SmsTemplateDto.new # SmsTemplateDto | The request object.
779
+ app_id = 'app_id_example' # String | The id of the app where the templates belong to.
780
+ id = 'id_example' # String | The template ID.
781
+ language = 'language_example' # String | The language.
782
+
783
+
784
+ begin
785
+ #Update a channel template language.
786
+ api_instance.sms_templates_put_template_language(body, app_id, id, language)
787
+ rescue Notifo::ApiError => e
788
+ puts "Exception when calling SmsTemplatesApi->sms_templates_put_template_language: #{e}"
789
+ end
790
+
791
+ api_instance = Notifo::SystemUsersApi.new
792
+ id = 'id_example' # String | The user ID.
793
+
794
+
795
+ begin
796
+ #Delete the user.
797
+ api_instance.system_users_delete_user(id)
798
+ rescue Notifo::ApiError => e
799
+ puts "Exception when calling SystemUsersApi->system_users_delete_user: #{e}"
800
+ end
801
+
802
+ api_instance = Notifo::SystemUsersApi.new
803
+ id = 'id_example' # String | The user ID.
804
+
805
+
806
+ begin
807
+ #Get a user.
808
+ api_instance.system_users_get_user(id)
809
+ rescue Notifo::ApiError => e
810
+ puts "Exception when calling SystemUsersApi->system_users_get_user: #{e}"
811
+ end
812
+
813
+ api_instance = Notifo::SystemUsersApi.new
814
+ opts = {
815
+ query: 'query_example', # String | The optional query to search for items.
816
+ take: 56, # Integer | The number of items to return.
817
+ skip: 56 # Integer | The number of items to skip.
818
+ }
819
+
820
+ begin
821
+ #Query users.
822
+ result = api_instance.system_users_get_users(opts)
823
+ p result
824
+ rescue Notifo::ApiError => e
825
+ puts "Exception when calling SystemUsersApi->system_users_get_users: #{e}"
826
+ end
827
+
828
+ api_instance = Notifo::SystemUsersApi.new
829
+ id = 'id_example' # String | The user ID.
830
+
831
+
832
+ begin
833
+ #Lock the user.
834
+ result = api_instance.system_users_lock_user(id)
835
+ p result
836
+ rescue Notifo::ApiError => e
837
+ puts "Exception when calling SystemUsersApi->system_users_lock_user: #{e}"
838
+ end
839
+
840
+ api_instance = Notifo::SystemUsersApi.new
841
+ body = Notifo::CreateSystemUserDto.new # CreateSystemUserDto | The create request.
842
+
843
+
844
+ begin
845
+ #Create a user.
846
+ result = api_instance.system_users_post_user(body)
847
+ p result
848
+ rescue Notifo::ApiError => e
849
+ puts "Exception when calling SystemUsersApi->system_users_post_user: #{e}"
850
+ end
851
+
852
+ api_instance = Notifo::SystemUsersApi.new
853
+ body = Notifo::UpdateSystemUserDto.new # UpdateSystemUserDto | The update request.
854
+ id = 'id_example' # String | The user ID.
855
+
856
+
857
+ begin
858
+ #Update the user.
859
+ result = api_instance.system_users_put_user(body, id)
860
+ p result
861
+ rescue Notifo::ApiError => e
862
+ puts "Exception when calling SystemUsersApi->system_users_put_user: #{e}"
863
+ end
864
+
865
+ api_instance = Notifo::SystemUsersApi.new
866
+ id = 'id_example' # String | The user ID.
867
+
868
+
869
+ begin
870
+ #Unlock the user.
871
+ result = api_instance.system_users_unlock_user(id)
872
+ p result
873
+ rescue Notifo::ApiError => e
874
+ puts "Exception when calling SystemUsersApi->system_users_unlock_user: #{e}"
875
+ end
876
+
486
877
  api_instance = Notifo::TemplatesApi.new
487
878
  app_id = 'app_id_example' # String | The app where the templates belong to.
488
879
  code = 'code_example' # String | The template code to delete.
@@ -490,8 +881,7 @@ code = 'code_example' # String | The template code to delete.
490
881
 
491
882
  begin
492
883
  #Delete a template.
493
- result = api_instance.templates_delete_template(app_id, code)
494
- p result
884
+ api_instance.templates_delete_template(app_id, code)
495
885
  rescue Notifo::ApiError => e
496
886
  puts "Exception when calling TemplatesApi->templates_delete_template: #{e}"
497
887
  end
@@ -525,9 +915,22 @@ rescue Notifo::ApiError => e
525
915
  puts "Exception when calling TemplatesApi->templates_post_templates: #{e}"
526
916
  end
527
917
 
918
+ api_instance = Notifo::TopicsApi.new
919
+ app_id = 'app_id_example' # String | The app where the topics belong to.
920
+ id = 'id_example' # String | The ID of the topic to delete.
921
+
922
+
923
+ begin
924
+ #Delete a topic.
925
+ api_instance.topics_delete_topic(app_id, id)
926
+ rescue Notifo::ApiError => e
927
+ puts "Exception when calling TopicsApi->topics_delete_topic: #{e}"
928
+ end
929
+
528
930
  api_instance = Notifo::TopicsApi.new
529
931
  app_id = 'app_id_example' # String | The app where the topics belongs to.
530
932
  opts = {
933
+ scope: Notifo::TopicQueryScope.new, # TopicQueryScope | The scope of the query.
531
934
  query: 'query_example', # String | The optional query to search for items.
532
935
  take: 56, # Integer | The number of items to return.
533
936
  skip: 56 # Integer | The number of items to skip.
@@ -541,13 +944,26 @@ rescue Notifo::ApiError => e
541
944
  puts "Exception when calling TopicsApi->topics_get_topics: #{e}"
542
945
  end
543
946
 
947
+ api_instance = Notifo::TopicsApi.new
948
+ body = Notifo::UpsertTopicsDto.new # UpsertTopicsDto | The upsert request.
949
+ app_id = 'app_id_example' # String | The app where the topics belong to.
950
+
951
+
952
+ begin
953
+ #Upsert topics.
954
+ result = api_instance.topics_post_topics(body, app_id)
955
+ p result
956
+ rescue Notifo::ApiError => e
957
+ puts "Exception when calling TopicsApi->topics_post_topics: #{e}"
958
+ end
959
+
544
960
  api_instance = Notifo::UserApi.new
545
- topic = 'topic_example' # String | The topic path.
961
+ prefix = 'prefix_example' # String | The topic prefix.
546
962
 
547
963
 
548
964
  begin
549
- #Deletes a user subscription.
550
- api_instance.user_delete_subscription(topic)
965
+ #Remove my subscription.
966
+ api_instance.user_delete_subscription(prefix)
551
967
  rescue Notifo::ApiError => e
552
968
  puts "Exception when calling UserApi->user_delete_subscription: #{e}"
553
969
  end
@@ -558,64 +974,77 @@ topic = 'topic_example' # String | The topic path.
558
974
 
559
975
  begin
560
976
  #Gets a user subscription.
561
- result = api_instance.user_get_subscription(topic)
977
+ result = api_instance.user_get_my_subscription(topic)
562
978
  p result
563
979
  rescue Notifo::ApiError => e
564
- puts "Exception when calling UserApi->user_get_subscription: #{e}"
980
+ puts "Exception when calling UserApi->user_get_my_subscription: #{e}"
565
981
  end
566
982
 
567
983
  api_instance = Notifo::UserApi.new
984
+ opts = {
985
+ topics: 'topics_example', # String | The topics we are interested in.
986
+ query: 'query_example', # String | The optional query to search for items.
987
+ take: 56, # Integer | The number of items to return.
988
+ skip: 56 # Integer | The number of items to skip.
989
+ }
568
990
 
569
991
  begin
570
- #Get the current user.
571
- result = api_instance.user_get_user
992
+ #Query the user subscriptions.
993
+ result = api_instance.user_get_my_subscriptions(opts)
572
994
  p result
573
995
  rescue Notifo::ApiError => e
574
- puts "Exception when calling UserApi->user_get_user: #{e}"
996
+ puts "Exception when calling UserApi->user_get_my_subscriptions: #{e}"
575
997
  end
576
998
 
577
999
  api_instance = Notifo::UserApi.new
578
- body = Notifo::SubscriptionDto.new # SubscriptionDto | The subscription settings.
579
-
1000
+ opts = {
1001
+ language: 'language_example' # String | The optional language.
1002
+ }
580
1003
 
581
1004
  begin
582
- #Creates a user subscription.
583
- api_instance.user_post_subscription(body)
1005
+ #Query the user topics.
1006
+ result = api_instance.user_get_topics(opts)
1007
+ p result
584
1008
  rescue Notifo::ApiError => e
585
- puts "Exception when calling UserApi->user_post_subscription: #{e}"
1009
+ puts "Exception when calling UserApi->user_get_topics: #{e}"
586
1010
  end
587
1011
 
588
1012
  api_instance = Notifo::UserApi.new
589
- body = Notifo::UpdateProfileDto.new # UpdateProfileDto | The upsert request.
590
-
591
1013
 
592
1014
  begin
593
- #Update the user.
594
- result = api_instance.user_post_user(body)
1015
+ #Get the current user.
1016
+ result = api_instance.user_get_user
595
1017
  p result
596
1018
  rescue Notifo::ApiError => e
597
- puts "Exception when calling UserApi->user_post_user: #{e}"
1019
+ puts "Exception when calling UserApi->user_get_user: #{e}"
598
1020
  end
599
1021
 
600
- api_instance = Notifo::UserInfoApi.new
1022
+ api_instance = Notifo::UserApi.new
1023
+ body = Notifo::SubscribeManyDto.new # SubscribeManyDto | The subscription settings.
1024
+
601
1025
 
602
1026
  begin
603
- api_instance.user_info_userinfo
1027
+ #Upserts or deletes my subscriptions.
1028
+ api_instance.user_post_my_subscriptions(body)
604
1029
  rescue Notifo::ApiError => e
605
- puts "Exception when calling UserInfoApi->user_info_userinfo: #{e}"
1030
+ puts "Exception when calling UserApi->user_post_my_subscriptions: #{e}"
606
1031
  end
607
1032
 
608
- api_instance = Notifo::UserInfoApi.new
1033
+ api_instance = Notifo::UserApi.new
1034
+ body = Notifo::UpdateProfileDto.new # UpdateProfileDto | The upsert request.
1035
+
609
1036
 
610
1037
  begin
611
- api_instance.user_info_userinfo2
1038
+ #Update the user.
1039
+ result = api_instance.user_post_user(body)
1040
+ p result
612
1041
  rescue Notifo::ApiError => e
613
- puts "Exception when calling UserInfoApi->user_info_userinfo2: #{e}"
1042
+ puts "Exception when calling UserApi->user_post_user: #{e}"
614
1043
  end
615
1044
 
616
1045
  api_instance = Notifo::UsersApi.new
617
1046
  app_id = 'app_id_example' # String | The app where the users belong to.
618
- id = 'id_example' # String | The user id.
1047
+ id = 'id_example' # String | The user ID.
619
1048
  prefix = 'prefix_example' # String | The topic prefix.
620
1049
 
621
1050
 
@@ -628,12 +1057,12 @@ end
628
1057
 
629
1058
  api_instance = Notifo::UsersApi.new
630
1059
  app_id = 'app_id_example' # String | The app where the user belongs to.
631
- id = 'id_example' # String | The user id.
1060
+ id = 'id_example' # String | The user ID.
632
1061
  prefix = 'prefix_example' # String | The topic prefix.
633
1062
 
634
1063
 
635
1064
  begin
636
- #Remove a user subscriptions.
1065
+ #Unsubscribes a user from a subscription.
637
1066
  api_instance.users_delete_subscription(app_id, id, prefix)
638
1067
  rescue Notifo::ApiError => e
639
1068
  puts "Exception when calling UsersApi->users_delete_subscription: #{e}"
@@ -654,7 +1083,7 @@ end
654
1083
 
655
1084
  api_instance = Notifo::UsersApi.new
656
1085
  app_id = 'app_id_example' # String | The app where the user belongs to.
657
- id = 'id_example' # String | The user id.
1086
+ id = 'id_example' # String | The user ID.
658
1087
  opts = {
659
1088
  query: 'query_example', # String | The optional query to search for items.
660
1089
  take: 56, # Integer | The number of items to return.
@@ -671,12 +1100,14 @@ end
671
1100
 
672
1101
  api_instance = Notifo::UsersApi.new
673
1102
  app_id = 'app_id_example' # String | The app where the user belongs to.
674
- id = 'id_example' # String | The user id.
675
-
1103
+ id = 'id_example' # String | The user ID.
1104
+ opts = {
1105
+ with_details: false # BOOLEAN | Provide extra details, might be expensive.
1106
+ }
676
1107
 
677
1108
  begin
678
1109
  #Get a user.
679
- result = api_instance.users_get_user(app_id, id)
1110
+ result = api_instance.users_get_user(app_id, id, opts)
680
1111
  p result
681
1112
  rescue Notifo::ApiError => e
682
1113
  puts "Exception when calling UsersApi->users_get_user: #{e}"
@@ -687,7 +1118,8 @@ app_id = 'app_id_example' # String | The app where the users belongs to.
687
1118
  opts = {
688
1119
  query: 'query_example', # String | The optional query to search for items.
689
1120
  take: 56, # Integer | The number of items to return.
690
- skip: 56 # Integer | The number of items to skip.
1121
+ skip: 56, # Integer | The number of items to skip.
1122
+ with_details: false # BOOLEAN | Provide extra details, might be expensive.
691
1123
  }
692
1124
 
693
1125
  begin
@@ -701,7 +1133,7 @@ end
701
1133
  api_instance = Notifo::UsersApi.new
702
1134
  body = Notifo::AddAllowedTopicDto.new # AddAllowedTopicDto | The upsert request.
703
1135
  app_id = 'app_id_example' # String | The app where the users belong to.
704
- id = 'id_example' # String | The user id.
1136
+ id = 'id_example' # String | The user ID.
705
1137
 
706
1138
 
707
1139
  begin
@@ -712,16 +1144,16 @@ rescue Notifo::ApiError => e
712
1144
  end
713
1145
 
714
1146
  api_instance = Notifo::UsersApi.new
715
- body = Notifo::SubscriptionDto.new # SubscriptionDto | The subscription object.
1147
+ body = Notifo::SubscribeManyDto.new # SubscribeManyDto | The subscription object.
716
1148
  app_id = 'app_id_example' # String | The app where the user belongs to.
717
- id = 'id_example' # String | The user id.
1149
+ id = 'id_example' # String | The user ID.
718
1150
 
719
1151
 
720
1152
  begin
721
- #Upsert a user subscriptions.
722
- api_instance.users_post_subscription(body, app_id, id)
1153
+ #Upserts or deletes multiple user subscriptions.
1154
+ api_instance.users_post_subscriptions(body, app_id, id)
723
1155
  rescue Notifo::ApiError => e
724
- puts "Exception when calling UsersApi->users_post_subscription: #{e}"
1156
+ puts "Exception when calling UsersApi->users_post_subscriptions: #{e}"
725
1157
  end
726
1158
 
727
1159
  api_instance = Notifo::UsersApi.new
@@ -745,58 +1177,88 @@ All URIs are relative to *https://notifo.easierlife.com*
745
1177
  Class | Method | HTTP request | Description
746
1178
  ------------ | ------------- | ------------- | -------------
747
1179
  *Notifo::AppsApi* | [**apps_delete_contributor**](docs/AppsApi.md#apps_delete_contributor) | **POST** /api/apps/{appId}/contributors/{contributorId} | Delete an app contributor.
748
- *Notifo::AppsApi* | [**apps_delete_email_template**](docs/AppsApi.md#apps_delete_email_template) | **DELETE** /api/apps/{appId}/email-templates/{language} | Delete an app email template.
749
1180
  *Notifo::AppsApi* | [**apps_delete_integration**](docs/AppsApi.md#apps_delete_integration) | **DELETE** /api/apps/{appId}/integrations/{id} | Delete an app integration.
750
1181
  *Notifo::AppsApi* | [**apps_get_app**](docs/AppsApi.md#apps_get_app) | **GET** /api/apps/{appId} | Get app by id.
751
1182
  *Notifo::AppsApi* | [**apps_get_apps**](docs/AppsApi.md#apps_get_apps) | **GET** /api/apps | Get the user apps.
752
- *Notifo::AppsApi* | [**apps_get_email_templates**](docs/AppsApi.md#apps_get_email_templates) | **GET** /api/apps/{appId}/email-templates | Get the app email templates.
753
1183
  *Notifo::AppsApi* | [**apps_get_integrations**](docs/AppsApi.md#apps_get_integrations) | **GET** /api/apps/{appId}/integrations | Get the app integrations.
754
1184
  *Notifo::AppsApi* | [**apps_post_app**](docs/AppsApi.md#apps_post_app) | **POST** /api/apps | Create an app.
755
1185
  *Notifo::AppsApi* | [**apps_post_contributor**](docs/AppsApi.md#apps_post_contributor) | **POST** /api/apps/{appId}/contributors | Add an app contributor.
756
- *Notifo::AppsApi* | [**apps_post_email_template**](docs/AppsApi.md#apps_post_email_template) | **POST** /api/apps/{appId}/email-templates | Create an app email template.
757
1186
  *Notifo::AppsApi* | [**apps_post_integration**](docs/AppsApi.md#apps_post_integration) | **POST** /api/apps/{appId}/integration | Create an app integrations.
758
1187
  *Notifo::AppsApi* | [**apps_put_app**](docs/AppsApi.md#apps_put_app) | **POST** /api/apps/{appId} | Update an app.
759
- *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.
760
1188
  *Notifo::AppsApi* | [**apps_put_integration**](docs/AppsApi.md#apps_put_integration) | **PUT** /api/apps/{appId}/integrations/{id} | Update an app integration.
761
- *Notifo::AuthorizationApi* | [**authorization_authorize**](docs/AuthorizationApi.md#authorization_authorize) | **GET** /connect/authorize |
762
- *Notifo::AuthorizationApi* | [**authorization_exchange**](docs/AuthorizationApi.md#authorization_exchange) | **POST** /connect/token |
763
- *Notifo::AuthorizationApi* | [**authorization_logout**](docs/AuthorizationApi.md#authorization_logout) | **GET** /connect/logout |
764
1189
  *Notifo::ConfigsApi* | [**configs_get_languages**](docs/ConfigsApi.md#configs_get_languages) | **GET** /api/languages | Get all supported languages.
765
1190
  *Notifo::ConfigsApi* | [**configs_get_timezones**](docs/ConfigsApi.md#configs_get_timezones) | **GET** /api/timezones | Get all supported timezones.
1191
+ *Notifo::EmailTemplatesApi* | [**email_template_preview_get_preview**](docs/EmailTemplatesApi.md#email_template_preview_get_preview) | **GET** /api/apps/{appId}/email-templates/{id}/preview | Get the HTML preview for a channel template.
1192
+ *Notifo::EmailTemplatesApi* | [**email_template_preview_post_preview**](docs/EmailTemplatesApi.md#email_template_preview_post_preview) | **POST** /api/apps/{appId}/email-templates/render | Render a preview for a email template.
1193
+ *Notifo::EmailTemplatesApi* | [**email_templates_delete_template**](docs/EmailTemplatesApi.md#email_templates_delete_template) | **DELETE** /api/apps/{appId}/email-templates/{id} | Delete a channel template.
1194
+ *Notifo::EmailTemplatesApi* | [**email_templates_delete_template_language**](docs/EmailTemplatesApi.md#email_templates_delete_template_language) | **DELETE** /api/apps/{appId}/email-templates/{id}/{language} | Delete a language channel template.
1195
+ *Notifo::EmailTemplatesApi* | [**email_templates_get_template**](docs/EmailTemplatesApi.md#email_templates_get_template) | **GET** /api/apps/{appId}/email-templates/{id} | Get the channel template by id.
1196
+ *Notifo::EmailTemplatesApi* | [**email_templates_get_templates**](docs/EmailTemplatesApi.md#email_templates_get_templates) | **GET** /api/apps/{appId}/email-templates | Get the channel templates.
1197
+ *Notifo::EmailTemplatesApi* | [**email_templates_post_template**](docs/EmailTemplatesApi.md#email_templates_post_template) | **POST** /api/apps/{appId}/email-templates | Create a channel template.
1198
+ *Notifo::EmailTemplatesApi* | [**email_templates_post_template_language**](docs/EmailTemplatesApi.md#email_templates_post_template_language) | **POST** /api/apps/{appId}/email-templates/{id} | Create an app template language.
1199
+ *Notifo::EmailTemplatesApi* | [**email_templates_put_template**](docs/EmailTemplatesApi.md#email_templates_put_template) | **PUT** /api/apps/{appId}/email-templates/{id} | Update an app template.
1200
+ *Notifo::EmailTemplatesApi* | [**email_templates_put_template_language**](docs/EmailTemplatesApi.md#email_templates_put_template_language) | **PUT** /api/apps/{appId}/email-templates/{id}/{language} | Update a channel template language.
766
1201
  *Notifo::EventsApi* | [**events_get_events**](docs/EventsApi.md#events_get_events) | **GET** /api/apps/{appId}/events | Query events.
767
1202
  *Notifo::EventsApi* | [**events_post_events**](docs/EventsApi.md#events_post_events) | **POST** /api/apps/{appId}/events | Publish events.
768
- *Notifo::EventsApi* | [**events_post_events2**](docs/EventsApi.md#events_post_events2) | **POST** /api/me/events | Publish an event for the current user.
1203
+ *Notifo::EventsApi* | [**events_post_my_events**](docs/EventsApi.md#events_post_my_events) | **POST** /api/me/events | Publish an event for the current user.
769
1204
  *Notifo::LogsApi* | [**logs_get_logs**](docs/LogsApi.md#logs_get_logs) | **GET** /api/apps/{appId}/logs | Query log entries.
770
1205
  *Notifo::MediaApi* | [**media_delete**](docs/MediaApi.md#media_delete) | **DELETE** /api/apps/{appId}/media/{fileName} | Delete a media.
771
1206
  *Notifo::MediaApi* | [**media_download**](docs/MediaApi.md#media_download) | **GET** /api/apps/{appId}/media/{fileName} | Download a media object.
772
1207
  *Notifo::MediaApi* | [**media_download2**](docs/MediaApi.md#media_download2) | **GET** /api/assets/{appId}/{fileName} | Download a media object.
773
1208
  *Notifo::MediaApi* | [**media_get_medias**](docs/MediaApi.md#media_get_medias) | **GET** /api/apps/{appId}/media | Query media items.
774
1209
  *Notifo::MediaApi* | [**media_upload**](docs/MediaApi.md#media_upload) | **POST** /api/apps/{appId}/media | Upload a media object.
775
- *Notifo::MobilePushApi* | [**mobile_push_delete_token**](docs/MobilePushApi.md#mobile_push_delete_token) | **DELETE** /api/me/mobilepush/{token} | Deletes a mobile push token for the current user.
776
- *Notifo::MobilePushApi* | [**mobile_push_get_tokens**](docs/MobilePushApi.md#mobile_push_get_tokens) | **GET** /api/me/mobilepush | Returns the mobile push tokens.
777
- *Notifo::MobilePushApi* | [**mobile_push_post_token**](docs/MobilePushApi.md#mobile_push_post_token) | **POST** /api/me/mobilepush | Register a mobile push token for the current user.
778
- *Notifo::NotificationsApi* | [**notifications_confirm**](docs/NotificationsApi.md#notifications_confirm) | **POST** /api/me/notifications/handled | Confirms the user notifications for the current user.
779
- *Notifo::NotificationsApi* | [**notifications_get_archive**](docs/NotificationsApi.md#notifications_get_archive) | **GET** /api/me/notifications/archive | Query archhived user notifications of the current user.
780
- *Notifo::NotificationsApi* | [**notifications_get_notifications**](docs/NotificationsApi.md#notifications_get_notifications) | **GET** /api/me/notifications | Query user notifications of the current user.
1210
+ *Notifo::MessagingTemplatesApi* | [**messaging_templates_delete_template**](docs/MessagingTemplatesApi.md#messaging_templates_delete_template) | **DELETE** /api/apps/{appId}/messaging-templates/{id} | Delete a channel template.
1211
+ *Notifo::MessagingTemplatesApi* | [**messaging_templates_delete_template_language**](docs/MessagingTemplatesApi.md#messaging_templates_delete_template_language) | **DELETE** /api/apps/{appId}/messaging-templates/{id}/{language} | Delete a language channel template.
1212
+ *Notifo::MessagingTemplatesApi* | [**messaging_templates_get_template**](docs/MessagingTemplatesApi.md#messaging_templates_get_template) | **GET** /api/apps/{appId}/messaging-templates/{id} | Get the channel template by id.
1213
+ *Notifo::MessagingTemplatesApi* | [**messaging_templates_get_templates**](docs/MessagingTemplatesApi.md#messaging_templates_get_templates) | **GET** /api/apps/{appId}/messaging-templates | Get the channel templates.
1214
+ *Notifo::MessagingTemplatesApi* | [**messaging_templates_post_template**](docs/MessagingTemplatesApi.md#messaging_templates_post_template) | **POST** /api/apps/{appId}/messaging-templates | Create a channel template.
1215
+ *Notifo::MessagingTemplatesApi* | [**messaging_templates_post_template_language**](docs/MessagingTemplatesApi.md#messaging_templates_post_template_language) | **POST** /api/apps/{appId}/messaging-templates/{id} | Create an app template language.
1216
+ *Notifo::MessagingTemplatesApi* | [**messaging_templates_put_template**](docs/MessagingTemplatesApi.md#messaging_templates_put_template) | **PUT** /api/apps/{appId}/messaging-templates/{id} | Update an app template.
1217
+ *Notifo::MessagingTemplatesApi* | [**messaging_templates_put_template_language**](docs/MessagingTemplatesApi.md#messaging_templates_put_template_language) | **PUT** /api/apps/{appId}/messaging-templates/{id}/{language} | Update a channel template language.
1218
+ *Notifo::MobilePushApi* | [**mobile_push_delete_my_token**](docs/MobilePushApi.md#mobile_push_delete_my_token) | **DELETE** /api/me/mobilepush/{token} | Deletes a mobile push token for the current user.
1219
+ *Notifo::MobilePushApi* | [**mobile_push_get_my_token**](docs/MobilePushApi.md#mobile_push_get_my_token) | **GET** /api/me/mobilepush | Returns the mobile push tokens.
1220
+ *Notifo::MobilePushApi* | [**mobile_push_post_my_token**](docs/MobilePushApi.md#mobile_push_post_my_token) | **POST** /api/me/mobilepush | Register a mobile push token for the current user.
1221
+ *Notifo::NotificationsApi* | [**notifications_confirm_me**](docs/NotificationsApi.md#notifications_confirm_me) | **POST** /api/me/notifications/handled | Confirms the user notifications for the current user.
1222
+ *Notifo::NotificationsApi* | [**notifications_get_my_archive**](docs/NotificationsApi.md#notifications_get_my_archive) | **GET** /api/me/notifications/archive | Query archhived user notifications of the current user.
1223
+ *Notifo::NotificationsApi* | [**notifications_get_my_notifications**](docs/NotificationsApi.md#notifications_get_my_notifications) | **GET** /api/me/notifications | Query user notifications of the current user.
1224
+ *Notifo::NotificationsApi* | [**notifications_get_notifications**](docs/NotificationsApi.md#notifications_get_notifications) | **GET** /api/apps/{appId}/users/{id}/notifications | Query user notifications.
1225
+ *Notifo::PingApi* | [**ping_get_ping**](docs/PingApi.md#ping_get_ping) | **GET** /ping | Get ping status of the API.
1226
+ *Notifo::SmsTemplatesApi* | [**sms_templates_delete_template**](docs/SmsTemplatesApi.md#sms_templates_delete_template) | **DELETE** /api/apps/{appId}/sms-templates/{id} | Delete a channel template.
1227
+ *Notifo::SmsTemplatesApi* | [**sms_templates_delete_template_language**](docs/SmsTemplatesApi.md#sms_templates_delete_template_language) | **DELETE** /api/apps/{appId}/sms-templates/{id}/{language} | Delete a language channel template.
1228
+ *Notifo::SmsTemplatesApi* | [**sms_templates_get_template**](docs/SmsTemplatesApi.md#sms_templates_get_template) | **GET** /api/apps/{appId}/sms-templates/{id} | Get the channel template by id.
1229
+ *Notifo::SmsTemplatesApi* | [**sms_templates_get_templates**](docs/SmsTemplatesApi.md#sms_templates_get_templates) | **GET** /api/apps/{appId}/sms-templates | Get the channel templates.
1230
+ *Notifo::SmsTemplatesApi* | [**sms_templates_post_template**](docs/SmsTemplatesApi.md#sms_templates_post_template) | **POST** /api/apps/{appId}/sms-templates | Create a channel template.
1231
+ *Notifo::SmsTemplatesApi* | [**sms_templates_post_template_language**](docs/SmsTemplatesApi.md#sms_templates_post_template_language) | **POST** /api/apps/{appId}/sms-templates/{id} | Create an app template language.
1232
+ *Notifo::SmsTemplatesApi* | [**sms_templates_put_template**](docs/SmsTemplatesApi.md#sms_templates_put_template) | **PUT** /api/apps/{appId}/sms-templates/{id} | Update an app template.
1233
+ *Notifo::SmsTemplatesApi* | [**sms_templates_put_template_language**](docs/SmsTemplatesApi.md#sms_templates_put_template_language) | **PUT** /api/apps/{appId}/sms-templates/{id}/{language} | Update a channel template language.
1234
+ *Notifo::SystemUsersApi* | [**system_users_delete_user**](docs/SystemUsersApi.md#system_users_delete_user) | **DELETE** /api/system-users/{id} | Delete the user.
1235
+ *Notifo::SystemUsersApi* | [**system_users_get_user**](docs/SystemUsersApi.md#system_users_get_user) | **GET** /api/system-users/{id} | Get a user.
1236
+ *Notifo::SystemUsersApi* | [**system_users_get_users**](docs/SystemUsersApi.md#system_users_get_users) | **GET** /api/system-users | Query users.
1237
+ *Notifo::SystemUsersApi* | [**system_users_lock_user**](docs/SystemUsersApi.md#system_users_lock_user) | **PUT** /api/system-users/{id}/lock | Lock the user.
1238
+ *Notifo::SystemUsersApi* | [**system_users_post_user**](docs/SystemUsersApi.md#system_users_post_user) | **POST** /api/system-users | Create a user.
1239
+ *Notifo::SystemUsersApi* | [**system_users_put_user**](docs/SystemUsersApi.md#system_users_put_user) | **PUT** /api/system-users/{id} | Update the user.
1240
+ *Notifo::SystemUsersApi* | [**system_users_unlock_user**](docs/SystemUsersApi.md#system_users_unlock_user) | **PUT** /api/system-users/{id}/unlock | Unlock the user.
781
1241
  *Notifo::TemplatesApi* | [**templates_delete_template**](docs/TemplatesApi.md#templates_delete_template) | **DELETE** /api/apps/{appId}/templates/{code} | Delete a template.
782
1242
  *Notifo::TemplatesApi* | [**templates_get_templates**](docs/TemplatesApi.md#templates_get_templates) | **GET** /api/apps/{appId}/templates | Query templates.
783
1243
  *Notifo::TemplatesApi* | [**templates_post_templates**](docs/TemplatesApi.md#templates_post_templates) | **POST** /api/apps/{appId}/templates | Upsert templates.
1244
+ *Notifo::TopicsApi* | [**topics_delete_topic**](docs/TopicsApi.md#topics_delete_topic) | **DELETE** /api/apps/{appId}/topics/{id} | Delete a topic.
784
1245
  *Notifo::TopicsApi* | [**topics_get_topics**](docs/TopicsApi.md#topics_get_topics) | **GET** /api/apps/{appId}/topics | Query topics.
785
- *Notifo::UserApi* | [**user_delete_subscription**](docs/UserApi.md#user_delete_subscription) | **DELETE** /api/me/subscriptions/{topic} | Deletes a user subscription.
786
- *Notifo::UserApi* | [**user_get_subscription**](docs/UserApi.md#user_get_subscription) | **GET** /api/me/subscriptions/{topic} | Gets a user subscription.
1246
+ *Notifo::TopicsApi* | [**topics_post_topics**](docs/TopicsApi.md#topics_post_topics) | **POST** /api/apps/{appId}/topics | Upsert topics.
1247
+ *Notifo::UserApi* | [**user_delete_subscription**](docs/UserApi.md#user_delete_subscription) | **POST** /api/me/subscriptions/{prefix} | Remove my subscription.
1248
+ *Notifo::UserApi* | [**user_get_my_subscription**](docs/UserApi.md#user_get_my_subscription) | **GET** /api/me/subscriptions/{topic} | Gets a user subscription.
1249
+ *Notifo::UserApi* | [**user_get_my_subscriptions**](docs/UserApi.md#user_get_my_subscriptions) | **GET** /api/me/subscriptions | Query the user subscriptions.
1250
+ *Notifo::UserApi* | [**user_get_topics**](docs/UserApi.md#user_get_topics) | **GET** /api/me/topics | Query the user topics.
787
1251
  *Notifo::UserApi* | [**user_get_user**](docs/UserApi.md#user_get_user) | **GET** /api/me | Get the current user.
788
- *Notifo::UserApi* | [**user_post_subscription**](docs/UserApi.md#user_post_subscription) | **POST** /api/me/subscriptions | Creates a user subscription.
1252
+ *Notifo::UserApi* | [**user_post_my_subscriptions**](docs/UserApi.md#user_post_my_subscriptions) | **POST** /api/me/subscriptions | Upserts or deletes my subscriptions.
789
1253
  *Notifo::UserApi* | [**user_post_user**](docs/UserApi.md#user_post_user) | **POST** /api/me | Update the user.
790
- *Notifo::UserInfoApi* | [**user_info_userinfo**](docs/UserInfoApi.md#user_info_userinfo) | **GET** /connect/userinfo |
791
- *Notifo::UserInfoApi* | [**user_info_userinfo2**](docs/UserInfoApi.md#user_info_userinfo2) | **POST** /connect/userinfo |
792
1254
  *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.
793
- *Notifo::UsersApi* | [**users_delete_subscription**](docs/UsersApi.md#users_delete_subscription) | **DELETE** /api/apps/{appId}/users/{id}/subscriptions/{prefix} | Remove a user subscriptions.
1255
+ *Notifo::UsersApi* | [**users_delete_subscription**](docs/UsersApi.md#users_delete_subscription) | **DELETE** /api/apps/{appId}/users/{id}/subscriptions/{prefix} | Unsubscribes a user from a subscription.
794
1256
  *Notifo::UsersApi* | [**users_delete_user**](docs/UsersApi.md#users_delete_user) | **DELETE** /api/apps/{appId}/users/{id} | Delete a user.
795
1257
  *Notifo::UsersApi* | [**users_get_subscriptions**](docs/UsersApi.md#users_get_subscriptions) | **GET** /api/apps/{appId}/users/{id}/subscriptions | Query user subscriptions.
796
1258
  *Notifo::UsersApi* | [**users_get_user**](docs/UsersApi.md#users_get_user) | **GET** /api/apps/{appId}/users/{id} | Get a user.
797
1259
  *Notifo::UsersApi* | [**users_get_users**](docs/UsersApi.md#users_get_users) | **GET** /api/apps/{appId}/users | Query users.
798
1260
  *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.
799
- *Notifo::UsersApi* | [**users_post_subscription**](docs/UsersApi.md#users_post_subscription) | **POST** /api/apps/{appId}/users/{id}/subscriptions | Upsert a user subscriptions.
1261
+ *Notifo::UsersApi* | [**users_post_subscriptions**](docs/UsersApi.md#users_post_subscriptions) | **POST** /api/apps/{appId}/users/{id}/subscriptions | Upserts or deletes multiple user subscriptions.
800
1262
  *Notifo::UsersApi* | [**users_post_users**](docs/UsersApi.md#users_post_users) | **POST** /api/apps/{appId}/users | Upsert users.
801
1263
 
802
1264
  ## Documentation for Models
@@ -807,43 +1269,60 @@ Class | Method | HTTP request | Description
807
1269
  - [Notifo::AppDetailsDto](docs/AppDetailsDto.md)
808
1270
  - [Notifo::AppDto](docs/AppDto.md)
809
1271
  - [Notifo::AppIdMediaBody](docs/AppIdMediaBody.md)
1272
+ - [Notifo::ChannelCondition](docs/ChannelCondition.md)
1273
+ - [Notifo::ChannelSend](docs/ChannelSend.md)
1274
+ - [Notifo::ChannelSendInfoDto](docs/ChannelSendInfoDto.md)
1275
+ - [Notifo::ChannelSettingDto](docs/ChannelSettingDto.md)
1276
+ - [Notifo::ChannelTemplateDetailsDtoOfEmailTemplateDto](docs/ChannelTemplateDetailsDtoOfEmailTemplateDto.md)
1277
+ - [Notifo::ChannelTemplateDetailsDtoOfMessagingTemplateDto](docs/ChannelTemplateDetailsDtoOfMessagingTemplateDto.md)
1278
+ - [Notifo::ChannelTemplateDetailsDtoOfSmsTemplateDto](docs/ChannelTemplateDetailsDtoOfSmsTemplateDto.md)
1279
+ - [Notifo::ChannelTemplateDto](docs/ChannelTemplateDto.md)
810
1280
  - [Notifo::ConfiguredIntegrationDto](docs/ConfiguredIntegrationDto.md)
811
1281
  - [Notifo::ConfiguredIntegrationsDto](docs/ConfiguredIntegrationsDto.md)
812
1282
  - [Notifo::ConfirmMode](docs/ConfirmMode.md)
813
- - [Notifo::CreateEmailTemplateDto](docs/CreateEmailTemplateDto.md)
1283
+ - [Notifo::CreateChannelTemplateDto](docs/CreateChannelTemplateDto.md)
1284
+ - [Notifo::CreateChannelTemplateLanguageDto](docs/CreateChannelTemplateLanguageDto.md)
814
1285
  - [Notifo::CreateIntegrationDto](docs/CreateIntegrationDto.md)
1286
+ - [Notifo::CreateSystemUserDto](docs/CreateSystemUserDto.md)
1287
+ - [Notifo::EmailFormattingError](docs/EmailFormattingError.md)
1288
+ - [Notifo::EmailPreviewDto](docs/EmailPreviewDto.md)
1289
+ - [Notifo::EmailPreviewRequestDto](docs/EmailPreviewRequestDto.md)
1290
+ - [Notifo::EmailPreviewType](docs/EmailPreviewType.md)
815
1291
  - [Notifo::EmailTemplateDto](docs/EmailTemplateDto.md)
816
- - [Notifo::EmailTemplatesDto](docs/EmailTemplatesDto.md)
1292
+ - [Notifo::EmailTemplateType](docs/EmailTemplateType.md)
817
1293
  - [Notifo::ErrorDto](docs/ErrorDto.md)
818
1294
  - [Notifo::EventDto](docs/EventDto.md)
819
- - [Notifo::EventProperties](docs/EventProperties.md)
1295
+ - [Notifo::HandledInfoDto](docs/HandledInfoDto.md)
820
1296
  - [Notifo::IntegrationCreatedDto](docs/IntegrationCreatedDto.md)
821
1297
  - [Notifo::IntegrationDefinitionDto](docs/IntegrationDefinitionDto.md)
822
- - [Notifo::IntegrationProperties](docs/IntegrationProperties.md)
823
1298
  - [Notifo::IntegrationPropertyDto](docs/IntegrationPropertyDto.md)
824
1299
  - [Notifo::IntegrationPropertyType](docs/IntegrationPropertyType.md)
825
1300
  - [Notifo::IntegrationStatus](docs/IntegrationStatus.md)
826
1301
  - [Notifo::IsoDayOfWeek](docs/IsoDayOfWeek.md)
1302
+ - [Notifo::ListResponseDtoOfChannelTemplateDto](docs/ListResponseDtoOfChannelTemplateDto.md)
827
1303
  - [Notifo::ListResponseDtoOfEventDto](docs/ListResponseDtoOfEventDto.md)
828
1304
  - [Notifo::ListResponseDtoOfLogEntryDto](docs/ListResponseDtoOfLogEntryDto.md)
829
1305
  - [Notifo::ListResponseDtoOfMediaDto](docs/ListResponseDtoOfMediaDto.md)
830
1306
  - [Notifo::ListResponseDtoOfMobilePushTokenDto](docs/ListResponseDtoOfMobilePushTokenDto.md)
831
- - [Notifo::ListResponseDtoOfNotificationDto](docs/ListResponseDtoOfNotificationDto.md)
832
1307
  - [Notifo::ListResponseDtoOfSubscriptionDto](docs/ListResponseDtoOfSubscriptionDto.md)
1308
+ - [Notifo::ListResponseDtoOfSystemUserDto](docs/ListResponseDtoOfSystemUserDto.md)
833
1309
  - [Notifo::ListResponseDtoOfTemplateDto](docs/ListResponseDtoOfTemplateDto.md)
834
1310
  - [Notifo::ListResponseDtoOfTopicDto](docs/ListResponseDtoOfTopicDto.md)
835
1311
  - [Notifo::ListResponseDtoOfUserDto](docs/ListResponseDtoOfUserDto.md)
1312
+ - [Notifo::ListResponseDtoOfUserNotificationDetailsDto](docs/ListResponseDtoOfUserNotificationDetailsDto.md)
1313
+ - [Notifo::ListResponseDtoOfUserNotificationDto](docs/ListResponseDtoOfUserNotificationDto.md)
836
1314
  - [Notifo::LocalizedText](docs/LocalizedText.md)
837
1315
  - [Notifo::LogEntryDto](docs/LogEntryDto.md)
838
1316
  - [Notifo::MediaDto](docs/MediaDto.md)
839
1317
  - [Notifo::MediaMetadata](docs/MediaMetadata.md)
840
1318
  - [Notifo::MediaType](docs/MediaType.md)
1319
+ - [Notifo::MessagingTemplateDto](docs/MessagingTemplateDto.md)
841
1320
  - [Notifo::MobileDeviceType](docs/MobileDeviceType.md)
842
1321
  - [Notifo::MobilePushTokenDto](docs/MobilePushTokenDto.md)
843
- - [Notifo::NotificationDto](docs/NotificationDto.md)
1322
+ - [Notifo::MobilePushTokenDto2](docs/MobilePushTokenDto2.md)
844
1323
  - [Notifo::NotificationFormattingDto](docs/NotificationFormattingDto.md)
845
- - [Notifo::NotificationSend](docs/NotificationSend.md)
846
- - [Notifo::NotificationSettingDto](docs/NotificationSettingDto.md)
1324
+ - [Notifo::NotificationProperties](docs/NotificationProperties.md)
1325
+ - [Notifo::ProcessStatus](docs/ProcessStatus.md)
847
1326
  - [Notifo::ProfileDto](docs/ProfileDto.md)
848
1327
  - [Notifo::PublishDto](docs/PublishDto.md)
849
1328
  - [Notifo::PublishManyDto](docs/PublishManyDto.md)
@@ -851,18 +1330,36 @@ Class | Method | HTTP request | Description
851
1330
  - [Notifo::ResizeMode](docs/ResizeMode.md)
852
1331
  - [Notifo::SchedulingDto](docs/SchedulingDto.md)
853
1332
  - [Notifo::SchedulingType](docs/SchedulingType.md)
1333
+ - [Notifo::SmsTemplateDto](docs/SmsTemplateDto.md)
1334
+ - [Notifo::SubscribeDto](docs/SubscribeDto.md)
1335
+ - [Notifo::SubscribeManyDto](docs/SubscribeManyDto.md)
854
1336
  - [Notifo::SubscriptionDto](docs/SubscriptionDto.md)
1337
+ - [Notifo::SystemUserDto](docs/SystemUserDto.md)
855
1338
  - [Notifo::TemplateDto](docs/TemplateDto.md)
1339
+ - [Notifo::TopicChannel](docs/TopicChannel.md)
856
1340
  - [Notifo::TopicDto](docs/TopicDto.md)
1341
+ - [Notifo::TopicQueryScope](docs/TopicQueryScope.md)
857
1342
  - [Notifo::TrackNotificationDto](docs/TrackNotificationDto.md)
1343
+ - [Notifo::UpdateChannelTemplateDtoOfEmailTemplateDto](docs/UpdateChannelTemplateDtoOfEmailTemplateDto.md)
1344
+ - [Notifo::UpdateChannelTemplateDtoOfMessagingTemplateDto](docs/UpdateChannelTemplateDtoOfMessagingTemplateDto.md)
1345
+ - [Notifo::UpdateChannelTemplateDtoOfSmsTemplateDto](docs/UpdateChannelTemplateDtoOfSmsTemplateDto.md)
858
1346
  - [Notifo::UpdateIntegrationDto](docs/UpdateIntegrationDto.md)
859
1347
  - [Notifo::UpdateProfileDto](docs/UpdateProfileDto.md)
1348
+ - [Notifo::UpdateSystemUserDto](docs/UpdateSystemUserDto.md)
860
1349
  - [Notifo::UpsertAppDto](docs/UpsertAppDto.md)
861
1350
  - [Notifo::UpsertTemplateDto](docs/UpsertTemplateDto.md)
862
1351
  - [Notifo::UpsertTemplatesDto](docs/UpsertTemplatesDto.md)
1352
+ - [Notifo::UpsertTopicDto](docs/UpsertTopicDto.md)
1353
+ - [Notifo::UpsertTopicsDto](docs/UpsertTopicsDto.md)
863
1354
  - [Notifo::UpsertUserDto](docs/UpsertUserDto.md)
864
1355
  - [Notifo::UpsertUsersDto](docs/UpsertUsersDto.md)
865
1356
  - [Notifo::UserDto](docs/UserDto.md)
1357
+ - [Notifo::UserNotificationBaseDto](docs/UserNotificationBaseDto.md)
1358
+ - [Notifo::UserNotificationChannelDto](docs/UserNotificationChannelDto.md)
1359
+ - [Notifo::UserNotificationDetailsDto](docs/UserNotificationDetailsDto.md)
1360
+ - [Notifo::UserNotificationDto](docs/UserNotificationDto.md)
1361
+ - [Notifo::UserPropertyDto](docs/UserPropertyDto.md)
1362
+ - [Notifo::UserTopicDto](docs/UserTopicDto.md)
866
1363
 
867
1364
  ## Documentation for Authorization
868
1365