notifo-io 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (283) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +245 -60
  3. data/docs/AddContributorDto.md +1 -1
  4. data/docs/AdminProfileDto.md +7 -0
  5. data/docs/AppsApi.md +1 -1
  6. data/docs/ChannelSendInfoDto.md +4 -0
  7. data/docs/ConfigsApi.md +1 -1
  8. data/docs/DiagnosticsApi.md +85 -0
  9. data/docs/EmailTemplatesApi.md +26 -26
  10. data/docs/EventDto.md +0 -2
  11. data/docs/EventsApi.md +1 -1
  12. data/docs/InfoDto.md +7 -0
  13. data/docs/IntegrationPropertyDto.md +1 -1
  14. data/docs/LogsApi.md +1 -1
  15. data/docs/MediaApi.md +154 -4
  16. data/docs/MessagingTemplatesApi.md +26 -26
  17. data/docs/MobilePushApi.md +1 -1
  18. data/docs/MobilePushTokenDto.md +1 -0
  19. data/docs/MobilePushTokenDto2.md +1 -0
  20. data/docs/NotificationsApi.md +131 -7
  21. data/docs/PingApi.md +85 -2
  22. data/docs/{IntegrationPropertyType.md → PropertyType.md} +1 -1
  23. data/docs/PublishDto.md +2 -0
  24. data/docs/RegisterMobileTokenDto.md +1 -0
  25. data/docs/SendConfiguration.md +6 -0
  26. data/docs/SmsTemplatesApi.md +26 -26
  27. data/docs/SystemUsersApi.md +5 -4
  28. data/docs/TemplatesApi.md +1 -1
  29. data/docs/TopicsApi.md +6 -6
  30. data/docs/TrackNotificationDto.md +1 -0
  31. data/docs/UserApi.md +41 -1
  32. data/docs/UserDto.md +1 -2
  33. data/docs/UserNotificationBaseDto.md +1 -0
  34. data/docs/UserNotificationDetailsDto.md +1 -0
  35. data/docs/UserNotificationDto.md +1 -0
  36. data/docs/UsersApi.md +101 -6
  37. data/docs/WebPushSubscriptionDto.md +7 -0
  38. data/lib/notifo/api/apps_api.rb +1 -1
  39. data/lib/notifo/api/configs_api.rb +1 -1
  40. data/lib/notifo/api/diagnostics_api.rb +116 -0
  41. data/lib/notifo/api/email_templates_api.rb +46 -46
  42. data/lib/notifo/api/events_api.rb +1 -1
  43. data/lib/notifo/api/logs_api.rb +1 -1
  44. data/lib/notifo/api/media_api.rb +197 -2
  45. data/lib/notifo/api/messaging_templates_api.rb +46 -46
  46. data/lib/notifo/api/mobile_push_api.rb +1 -1
  47. data/lib/notifo/api/notifications_api.rb +150 -3
  48. data/lib/notifo/api/ping_api.rb +102 -2
  49. data/lib/notifo/api/sms_templates_api.rb +46 -46
  50. data/lib/notifo/api/system_users_api.rb +6 -6
  51. data/lib/notifo/api/templates_api.rb +1 -1
  52. data/lib/notifo/api/topics_api.rb +10 -10
  53. data/lib/notifo/api/user_api.rb +49 -1
  54. data/lib/notifo/api/users_api.rb +139 -7
  55. data/lib/notifo/api_client.rb +1 -1
  56. data/lib/notifo/api_error.rb +1 -1
  57. data/lib/notifo/configuration.rb +3 -3
  58. data/lib/notifo/models/add_allowed_topic_dto.rb +1 -1
  59. data/lib/notifo/models/add_contributor_dto.rb +2 -6
  60. data/lib/notifo/models/admin_profile_dto.rb +208 -0
  61. data/lib/notifo/models/app_contributor_dto.rb +1 -1
  62. data/lib/notifo/models/app_details_dto.rb +1 -1
  63. data/lib/notifo/models/app_dto.rb +1 -1
  64. data/lib/notifo/models/app_id_media_body.rb +1 -1
  65. data/lib/notifo/models/channel_condition.rb +1 -1
  66. data/lib/notifo/models/channel_send.rb +1 -1
  67. data/lib/notifo/models/channel_send_info_dto.rb +48 -6
  68. data/lib/notifo/models/channel_setting_dto.rb +1 -1
  69. data/lib/notifo/models/channel_template_details_dto_of_email_template_dto.rb +1 -1
  70. data/lib/notifo/models/channel_template_details_dto_of_messaging_template_dto.rb +1 -1
  71. data/lib/notifo/models/channel_template_details_dto_of_sms_template_dto.rb +1 -1
  72. data/lib/notifo/models/channel_template_dto.rb +1 -1
  73. data/lib/notifo/models/configured_integration_dto.rb +1 -1
  74. data/lib/notifo/models/configured_integrations_dto.rb +1 -1
  75. data/lib/notifo/models/confirm_mode.rb +1 -1
  76. data/lib/notifo/models/create_channel_template_dto.rb +1 -1
  77. data/lib/notifo/models/create_channel_template_language_dto.rb +1 -1
  78. data/lib/notifo/models/create_integration_dto.rb +1 -1
  79. data/lib/notifo/models/create_system_user_dto.rb +1 -1
  80. data/lib/notifo/models/email_formatting_error.rb +1 -1
  81. data/lib/notifo/models/email_preview_dto.rb +1 -1
  82. data/lib/notifo/models/email_preview_request_dto.rb +1 -1
  83. data/lib/notifo/models/email_preview_type.rb +1 -1
  84. data/lib/notifo/models/email_template_dto.rb +1 -1
  85. data/lib/notifo/models/email_template_type.rb +1 -1
  86. data/lib/notifo/models/error_dto.rb +1 -1
  87. data/lib/notifo/models/event_dto.rb +2 -24
  88. data/lib/notifo/models/handled_info_dto.rb +1 -1
  89. data/lib/notifo/models/info_dto.rb +212 -0
  90. data/lib/notifo/models/integration_created_dto.rb +1 -1
  91. data/lib/notifo/models/integration_definition_dto.rb +1 -1
  92. data/lib/notifo/models/integration_property_dto.rb +1 -1
  93. data/lib/notifo/models/integration_status.rb +1 -1
  94. data/lib/notifo/models/iso_day_of_week.rb +1 -1
  95. data/lib/notifo/models/list_response_dto_of_channel_template_dto.rb +1 -1
  96. data/lib/notifo/models/list_response_dto_of_event_dto.rb +1 -1
  97. data/lib/notifo/models/list_response_dto_of_log_entry_dto.rb +1 -1
  98. data/lib/notifo/models/list_response_dto_of_media_dto.rb +1 -1
  99. data/lib/notifo/models/list_response_dto_of_mobile_push_token_dto.rb +1 -1
  100. data/lib/notifo/models/list_response_dto_of_subscription_dto.rb +1 -1
  101. data/lib/notifo/models/list_response_dto_of_system_user_dto.rb +1 -1
  102. data/lib/notifo/models/list_response_dto_of_template_dto.rb +1 -1
  103. data/lib/notifo/models/list_response_dto_of_topic_dto.rb +1 -1
  104. data/lib/notifo/models/list_response_dto_of_user_dto.rb +1 -1
  105. data/lib/notifo/models/list_response_dto_of_user_notification_details_dto.rb +1 -1
  106. data/lib/notifo/models/list_response_dto_of_user_notification_dto.rb +1 -1
  107. data/lib/notifo/models/localized_text.rb +1 -1
  108. data/lib/notifo/models/log_entry_dto.rb +1 -1
  109. data/lib/notifo/models/media_dto.rb +1 -1
  110. data/lib/notifo/models/media_metadata.rb +1 -1
  111. data/lib/notifo/models/media_type.rb +1 -1
  112. data/lib/notifo/models/messaging_template_dto.rb +1 -1
  113. data/lib/notifo/models/mobile_device_type.rb +1 -1
  114. data/lib/notifo/models/mobile_push_token_dto.rb +13 -2
  115. data/lib/notifo/models/mobile_push_token_dto2.rb +16 -5
  116. data/lib/notifo/models/notification_formatting_dto.rb +1 -1
  117. data/lib/notifo/models/notification_properties.rb +1 -1
  118. data/lib/notifo/models/process_status.rb +1 -1
  119. data/lib/notifo/models/profile_dto.rb +1 -1
  120. data/lib/notifo/models/{integration_property_type.rb → property_type.rb} +4 -4
  121. data/lib/notifo/models/publish_dto.rb +26 -2
  122. data/lib/notifo/models/publish_many_dto.rb +1 -1
  123. data/lib/notifo/models/register_mobile_token_dto.rb +16 -5
  124. data/lib/notifo/models/resize_mode.rb +1 -1
  125. data/lib/notifo/models/scheduling_dto.rb +1 -1
  126. data/lib/notifo/models/scheduling_type.rb +1 -1
  127. data/lib/notifo/models/send_configuration.rb +201 -0
  128. data/lib/notifo/models/sms_template_dto.rb +1 -1
  129. data/lib/notifo/models/subscribe_dto.rb +1 -1
  130. data/lib/notifo/models/subscribe_many_dto.rb +1 -1
  131. data/lib/notifo/models/subscription_dto.rb +1 -1
  132. data/lib/notifo/models/system_user_dto.rb +1 -1
  133. data/lib/notifo/models/template_dto.rb +1 -1
  134. data/lib/notifo/models/topic_channel.rb +2 -2
  135. data/lib/notifo/models/topic_dto.rb +1 -1
  136. data/lib/notifo/models/topic_query_scope.rb +1 -1
  137. data/lib/notifo/models/track_notification_dto.rb +12 -2
  138. data/lib/notifo/models/update_channel_template_dto_of_email_template_dto.rb +1 -1
  139. data/lib/notifo/models/update_channel_template_dto_of_messaging_template_dto.rb +1 -1
  140. data/lib/notifo/models/update_channel_template_dto_of_sms_template_dto.rb +1 -1
  141. data/lib/notifo/models/update_integration_dto.rb +1 -1
  142. data/lib/notifo/models/update_profile_dto.rb +1 -1
  143. data/lib/notifo/models/update_system_user_dto.rb +1 -1
  144. data/lib/notifo/models/upsert_app_dto.rb +1 -1
  145. data/lib/notifo/models/upsert_template_dto.rb +1 -1
  146. data/lib/notifo/models/upsert_templates_dto.rb +1 -1
  147. data/lib/notifo/models/upsert_topic_dto.rb +1 -1
  148. data/lib/notifo/models/upsert_topics_dto.rb +1 -1
  149. data/lib/notifo/models/upsert_user_dto.rb +1 -1
  150. data/lib/notifo/models/upsert_users_dto.rb +1 -1
  151. data/lib/notifo/models/user_dto.rb +19 -32
  152. data/lib/notifo/models/user_notification_base_dto.rb +13 -2
  153. data/lib/notifo/models/user_notification_channel_dto.rb +1 -1
  154. data/lib/notifo/models/user_notification_details_dto.rb +13 -2
  155. data/lib/notifo/models/user_notification_dto.rb +13 -2
  156. data/lib/notifo/models/user_property_dto.rb +1 -1
  157. data/lib/notifo/models/user_topic_dto.rb +1 -1
  158. data/lib/notifo/models/web_push_subscription_dto.rb +212 -0
  159. data/lib/notifo/version.rb +1 -1
  160. data/lib/notifo.rb +7 -2
  161. data/notifo.gemspec +2 -3
  162. data/spec/api/apps_api_spec.rb +1 -1
  163. data/spec/api/configs_api_spec.rb +1 -1
  164. data/spec/api/diagnostics_api_spec.rb +54 -0
  165. data/spec/api/email_templates_api_spec.rb +6 -6
  166. data/spec/api/events_api_spec.rb +1 -1
  167. data/spec/api/logs_api_spec.rb +1 -1
  168. data/spec/api/media_api_spec.rb +52 -1
  169. data/spec/api/messaging_templates_api_spec.rb +6 -6
  170. data/spec/api/mobile_push_api_spec.rb +1 -1
  171. data/spec/api/notifications_api_spec.rb +38 -2
  172. data/spec/api/ping_api_spec.rb +23 -1
  173. data/spec/api/sms_templates_api_spec.rb +6 -6
  174. data/spec/api/system_users_api_spec.rb +2 -2
  175. data/spec/api/templates_api_spec.rb +1 -1
  176. data/spec/api/topics_api_spec.rb +2 -2
  177. data/spec/api/user_api_spec.rb +11 -1
  178. data/spec/api/users_api_spec.rb +28 -2
  179. data/spec/api_client_spec.rb +1 -1
  180. data/spec/configuration_spec.rb +4 -4
  181. data/spec/models/add_allowed_topic_dto_spec.rb +1 -1
  182. data/spec/models/add_contributor_dto_spec.rb +1 -1
  183. data/spec/models/admin_profile_dto_spec.rb +40 -0
  184. data/spec/models/app_contributor_dto_spec.rb +1 -1
  185. data/spec/models/app_details_dto_spec.rb +1 -1
  186. data/spec/models/app_dto_spec.rb +1 -1
  187. data/spec/models/app_id_media_body_spec.rb +1 -1
  188. data/spec/models/channel_condition_spec.rb +1 -1
  189. data/spec/models/channel_send_info_dto_spec.rb +25 -1
  190. data/spec/models/channel_send_spec.rb +1 -1
  191. data/spec/models/channel_setting_dto_spec.rb +1 -1
  192. data/spec/models/channel_template_details_dto_of_email_template_dto_spec.rb +1 -1
  193. data/spec/models/channel_template_details_dto_of_messaging_template_dto_spec.rb +1 -1
  194. data/spec/models/channel_template_details_dto_of_sms_template_dto_spec.rb +1 -1
  195. data/spec/models/channel_template_dto_spec.rb +1 -1
  196. data/spec/models/configured_integration_dto_spec.rb +1 -1
  197. data/spec/models/configured_integrations_dto_spec.rb +1 -1
  198. data/spec/models/confirm_mode_spec.rb +1 -1
  199. data/spec/models/create_channel_template_dto_spec.rb +1 -1
  200. data/spec/models/create_channel_template_language_dto_spec.rb +1 -1
  201. data/spec/models/create_integration_dto_spec.rb +1 -1
  202. data/spec/models/create_system_user_dto_spec.rb +1 -1
  203. data/spec/models/email_formatting_error_spec.rb +1 -1
  204. data/spec/models/email_preview_dto_spec.rb +1 -1
  205. data/spec/models/email_preview_request_dto_spec.rb +1 -1
  206. data/spec/models/email_preview_type_spec.rb +1 -1
  207. data/spec/models/email_template_dto_spec.rb +1 -1
  208. data/spec/models/email_template_type_spec.rb +1 -1
  209. data/spec/models/error_dto_spec.rb +1 -1
  210. data/spec/models/event_dto_spec.rb +1 -13
  211. data/spec/models/handled_info_dto_spec.rb +1 -1
  212. data/spec/models/info_dto_spec.rb +40 -0
  213. data/spec/models/integration_created_dto_spec.rb +1 -1
  214. data/spec/models/integration_definition_dto_spec.rb +1 -1
  215. data/spec/models/integration_property_dto_spec.rb +1 -1
  216. data/spec/models/integration_status_spec.rb +1 -1
  217. data/spec/models/iso_day_of_week_spec.rb +1 -1
  218. data/spec/models/list_response_dto_of_channel_template_dto_spec.rb +1 -1
  219. data/spec/models/list_response_dto_of_event_dto_spec.rb +1 -1
  220. data/spec/models/list_response_dto_of_log_entry_dto_spec.rb +1 -1
  221. data/spec/models/list_response_dto_of_media_dto_spec.rb +1 -1
  222. data/spec/models/list_response_dto_of_mobile_push_token_dto_spec.rb +1 -1
  223. data/spec/models/list_response_dto_of_subscription_dto_spec.rb +1 -1
  224. data/spec/models/list_response_dto_of_system_user_dto_spec.rb +1 -1
  225. data/spec/models/list_response_dto_of_template_dto_spec.rb +1 -1
  226. data/spec/models/list_response_dto_of_topic_dto_spec.rb +1 -1
  227. data/spec/models/list_response_dto_of_user_dto_spec.rb +1 -1
  228. data/spec/models/list_response_dto_of_user_notification_details_dto_spec.rb +1 -1
  229. data/spec/models/list_response_dto_of_user_notification_dto_spec.rb +1 -1
  230. data/spec/models/localized_text_spec.rb +1 -1
  231. data/spec/models/log_entry_dto_spec.rb +1 -1
  232. data/spec/models/media_dto_spec.rb +1 -1
  233. data/spec/models/media_metadata_spec.rb +1 -1
  234. data/spec/models/media_type_spec.rb +1 -1
  235. data/spec/models/messaging_template_dto_spec.rb +1 -1
  236. data/spec/models/mobile_device_type_spec.rb +1 -1
  237. data/spec/models/mobile_push_token_dto2_spec.rb +7 -1
  238. data/spec/models/mobile_push_token_dto_spec.rb +7 -1
  239. data/spec/models/notification_formatting_dto_spec.rb +1 -1
  240. data/spec/models/notification_properties_spec.rb +1 -1
  241. data/spec/models/process_status_spec.rb +1 -1
  242. data/spec/models/profile_dto_spec.rb +1 -1
  243. data/spec/models/{integration_property_type_spec.rb → property_type_spec.rb} +7 -7
  244. data/spec/models/publish_dto_spec.rb +13 -1
  245. data/spec/models/publish_many_dto_spec.rb +1 -1
  246. data/spec/models/register_mobile_token_dto_spec.rb +7 -1
  247. data/spec/models/resize_mode_spec.rb +1 -1
  248. data/spec/models/scheduling_dto_spec.rb +1 -1
  249. data/spec/models/scheduling_type_spec.rb +1 -1
  250. data/spec/models/send_configuration_spec.rb +34 -0
  251. data/spec/models/sms_template_dto_spec.rb +1 -1
  252. data/spec/models/subscribe_dto_spec.rb +1 -1
  253. data/spec/models/subscribe_many_dto_spec.rb +1 -1
  254. data/spec/models/subscription_dto_spec.rb +1 -1
  255. data/spec/models/system_user_dto_spec.rb +1 -1
  256. data/spec/models/template_dto_spec.rb +1 -1
  257. data/spec/models/topic_channel_spec.rb +1 -1
  258. data/spec/models/topic_dto_spec.rb +1 -1
  259. data/spec/models/topic_query_scope_spec.rb +1 -1
  260. data/spec/models/track_notification_dto_spec.rb +7 -1
  261. data/spec/models/update_channel_template_dto_of_email_template_dto_spec.rb +1 -1
  262. data/spec/models/update_channel_template_dto_of_messaging_template_dto_spec.rb +1 -1
  263. data/spec/models/update_channel_template_dto_of_sms_template_dto_spec.rb +1 -1
  264. data/spec/models/update_integration_dto_spec.rb +1 -1
  265. data/spec/models/update_profile_dto_spec.rb +1 -1
  266. data/spec/models/update_system_user_dto_spec.rb +1 -1
  267. data/spec/models/upsert_app_dto_spec.rb +1 -1
  268. data/spec/models/upsert_template_dto_spec.rb +1 -1
  269. data/spec/models/upsert_templates_dto_spec.rb +1 -1
  270. data/spec/models/upsert_topic_dto_spec.rb +1 -1
  271. data/spec/models/upsert_topics_dto_spec.rb +1 -1
  272. data/spec/models/upsert_user_dto_spec.rb +1 -1
  273. data/spec/models/upsert_users_dto_spec.rb +1 -1
  274. data/spec/models/user_dto_spec.rb +7 -13
  275. data/spec/models/user_notification_base_dto_spec.rb +7 -1
  276. data/spec/models/user_notification_channel_dto_spec.rb +1 -1
  277. data/spec/models/user_notification_details_dto_spec.rb +7 -1
  278. data/spec/models/user_notification_dto_spec.rb +7 -1
  279. data/spec/models/user_property_dto_spec.rb +1 -1
  280. data/spec/models/user_topic_dto_spec.rb +1 -1
  281. data/spec/models/web_push_subscription_dto_spec.rb +40 -0
  282. data/spec/spec_helper.rb +1 -1
  283. metadata +27 -7
@@ -1,20 +1,20 @@
1
1
  # Notifo::SmsTemplatesApi
2
2
 
3
- All URIs are relative to *https://notifo.easierlife.com*
3
+ All URIs are relative to *https://notifo-dev.easierlife.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**sms_templates_delete_template**](SmsTemplatesApi.md#sms_templates_delete_template) | **DELETE** /api/apps/{appId}/sms-templates/{id} | Delete a channel template.
8
- [**sms_templates_delete_template_language**](SmsTemplatesApi.md#sms_templates_delete_template_language) | **DELETE** /api/apps/{appId}/sms-templates/{id}/{language} | Delete a language channel template.
7
+ [**sms_templates_delete_template**](SmsTemplatesApi.md#sms_templates_delete_template) | **DELETE** /api/apps/{appId}/sms-templates/{code} | Delete a channel template.
8
+ [**sms_templates_delete_template_language**](SmsTemplatesApi.md#sms_templates_delete_template_language) | **DELETE** /api/apps/{appId}/sms-templates/{code}/{language} | Delete a language channel template.
9
9
  [**sms_templates_get_template**](SmsTemplatesApi.md#sms_templates_get_template) | **GET** /api/apps/{appId}/sms-templates/{id} | Get the channel template by id.
10
10
  [**sms_templates_get_templates**](SmsTemplatesApi.md#sms_templates_get_templates) | **GET** /api/apps/{appId}/sms-templates | Get the channel templates.
11
11
  [**sms_templates_post_template**](SmsTemplatesApi.md#sms_templates_post_template) | **POST** /api/apps/{appId}/sms-templates | Create a channel template.
12
- [**sms_templates_post_template_language**](SmsTemplatesApi.md#sms_templates_post_template_language) | **POST** /api/apps/{appId}/sms-templates/{id} | Create an app template language.
13
- [**sms_templates_put_template**](SmsTemplatesApi.md#sms_templates_put_template) | **PUT** /api/apps/{appId}/sms-templates/{id} | Update an app template.
14
- [**sms_templates_put_template_language**](SmsTemplatesApi.md#sms_templates_put_template_language) | **PUT** /api/apps/{appId}/sms-templates/{id}/{language} | Update a channel template language.
12
+ [**sms_templates_post_template_language**](SmsTemplatesApi.md#sms_templates_post_template_language) | **POST** /api/apps/{appId}/sms-templates/{code} | Create an app template language.
13
+ [**sms_templates_put_template**](SmsTemplatesApi.md#sms_templates_put_template) | **PUT** /api/apps/{appId}/sms-templates/{code} | Update an app template.
14
+ [**sms_templates_put_template_language**](SmsTemplatesApi.md#sms_templates_put_template_language) | **PUT** /api/apps/{appId}/sms-templates/{code}/{language} | Update a channel template language.
15
15
 
16
16
  # **sms_templates_delete_template**
17
- > sms_templates_delete_template(app_id, id)
17
+ > sms_templates_delete_template(app_id, code)
18
18
 
19
19
  Delete a channel template.
20
20
 
@@ -25,12 +25,12 @@ require 'notifo'
25
25
 
26
26
  api_instance = Notifo::SmsTemplatesApi.new
27
27
  app_id = 'app_id_example' # String | The id of the app where the templates belong to.
28
- id = 'id_example' # String | The template ID.
28
+ code = 'code_example' # String | The template ID.
29
29
 
30
30
 
31
31
  begin
32
32
  #Delete a channel template.
33
- api_instance.sms_templates_delete_template(app_id, id)
33
+ api_instance.sms_templates_delete_template(app_id, code)
34
34
  rescue Notifo::ApiError => e
35
35
  puts "Exception when calling SmsTemplatesApi->sms_templates_delete_template: #{e}"
36
36
  end
@@ -41,7 +41,7 @@ end
41
41
  Name | Type | Description | Notes
42
42
  ------------- | ------------- | ------------- | -------------
43
43
  **app_id** | **String**| The id of the app where the templates belong to. |
44
- **id** | **String**| The template ID. |
44
+ **code** | **String**| The template ID. |
45
45
 
46
46
  ### Return type
47
47
 
@@ -59,7 +59,7 @@ No authorization required
59
59
 
60
60
 
61
61
  # **sms_templates_delete_template_language**
62
- > sms_templates_delete_template_language(app_id, id, language)
62
+ > sms_templates_delete_template_language(app_id, code, language)
63
63
 
64
64
  Delete a language channel template.
65
65
 
@@ -70,13 +70,13 @@ require 'notifo'
70
70
 
71
71
  api_instance = Notifo::SmsTemplatesApi.new
72
72
  app_id = 'app_id_example' # String | The id of the app where the templates belong to.
73
- id = 'id_example' # String | The template ID.
73
+ code = 'code_example' # String | The template ID.
74
74
  language = 'language_example' # String | The language.
75
75
 
76
76
 
77
77
  begin
78
78
  #Delete a language channel template.
79
- api_instance.sms_templates_delete_template_language(app_id, id, language)
79
+ api_instance.sms_templates_delete_template_language(app_id, code, language)
80
80
  rescue Notifo::ApiError => e
81
81
  puts "Exception when calling SmsTemplatesApi->sms_templates_delete_template_language: #{e}"
82
82
  end
@@ -87,7 +87,7 @@ end
87
87
  Name | Type | Description | Notes
88
88
  ------------- | ------------- | ------------- | -------------
89
89
  **app_id** | **String**| The id of the app where the templates belong to. |
90
- **id** | **String**| The template ID. |
90
+ **code** | **String**| The template ID. |
91
91
  **language** | **String**| The language. |
92
92
 
93
93
  ### Return type
@@ -249,7 +249,7 @@ No authorization required
249
249
 
250
250
 
251
251
  # **sms_templates_post_template_language**
252
- > SmsTemplateDto sms_templates_post_template_language(bodyapp_idid)
252
+ > SmsTemplateDto sms_templates_post_template_language(bodyapp_idcode)
253
253
 
254
254
  Create an app template language.
255
255
 
@@ -261,12 +261,12 @@ require 'notifo'
261
261
  api_instance = Notifo::SmsTemplatesApi.new
262
262
  body = Notifo::CreateChannelTemplateLanguageDto.new # CreateChannelTemplateLanguageDto | The request object.
263
263
  app_id = 'app_id_example' # String | The id of the app where the templates belong to.
264
- id = 'id_example' # String | The template ID.
264
+ code = 'code_example' # String | The template code.
265
265
 
266
266
 
267
267
  begin
268
268
  #Create an app template language.
269
- result = api_instance.sms_templates_post_template_language(bodyapp_idid)
269
+ result = api_instance.sms_templates_post_template_language(bodyapp_idcode)
270
270
  p result
271
271
  rescue Notifo::ApiError => e
272
272
  puts "Exception when calling SmsTemplatesApi->sms_templates_post_template_language: #{e}"
@@ -279,7 +279,7 @@ Name | Type | Description | Notes
279
279
  ------------- | ------------- | ------------- | -------------
280
280
  **body** | [**CreateChannelTemplateLanguageDto**](CreateChannelTemplateLanguageDto.md)| The request object. |
281
281
  **app_id** | **String**| The id of the app where the templates belong to. |
282
- **id** | **String**| The template ID. |
282
+ **code** | **String**| The template code. |
283
283
 
284
284
  ### Return type
285
285
 
@@ -297,7 +297,7 @@ No authorization required
297
297
 
298
298
 
299
299
  # **sms_templates_put_template**
300
- > sms_templates_put_template(bodyapp_idid)
300
+ > sms_templates_put_template(bodyapp_idcode)
301
301
 
302
302
  Update an app template.
303
303
 
@@ -309,12 +309,12 @@ require 'notifo'
309
309
  api_instance = Notifo::SmsTemplatesApi.new
310
310
  body = Notifo::UpdateChannelTemplateDtoOfSmsTemplateDto.new # UpdateChannelTemplateDtoOfSmsTemplateDto | The request object.
311
311
  app_id = 'app_id_example' # String | The id of the app where the templates belong to.
312
- id = 'id_example' # String | The template ID.
312
+ code = 'code_example' # String | The template code.
313
313
 
314
314
 
315
315
  begin
316
316
  #Update an app template.
317
- api_instance.sms_templates_put_template(bodyapp_idid)
317
+ api_instance.sms_templates_put_template(bodyapp_idcode)
318
318
  rescue Notifo::ApiError => e
319
319
  puts "Exception when calling SmsTemplatesApi->sms_templates_put_template: #{e}"
320
320
  end
@@ -326,7 +326,7 @@ Name | Type | Description | Notes
326
326
  ------------- | ------------- | ------------- | -------------
327
327
  **body** | [**UpdateChannelTemplateDtoOfSmsTemplateDto**](UpdateChannelTemplateDtoOfSmsTemplateDto.md)| The request object. |
328
328
  **app_id** | **String**| The id of the app where the templates belong to. |
329
- **id** | **String**| The template ID. |
329
+ **code** | **String**| The template code. |
330
330
 
331
331
  ### Return type
332
332
 
@@ -344,7 +344,7 @@ No authorization required
344
344
 
345
345
 
346
346
  # **sms_templates_put_template_language**
347
- > sms_templates_put_template_language(bodyapp_ididlanguage)
347
+ > sms_templates_put_template_language(bodyapp_idcodelanguage)
348
348
 
349
349
  Update a channel template language.
350
350
 
@@ -356,13 +356,13 @@ require 'notifo'
356
356
  api_instance = Notifo::SmsTemplatesApi.new
357
357
  body = Notifo::SmsTemplateDto.new # SmsTemplateDto | The request object.
358
358
  app_id = 'app_id_example' # String | The id of the app where the templates belong to.
359
- id = 'id_example' # String | The template ID.
359
+ code = 'code_example' # String | The template code.
360
360
  language = 'language_example' # String | The language.
361
361
 
362
362
 
363
363
  begin
364
364
  #Update a channel template language.
365
- api_instance.sms_templates_put_template_language(bodyapp_ididlanguage)
365
+ api_instance.sms_templates_put_template_language(bodyapp_idcodelanguage)
366
366
  rescue Notifo::ApiError => e
367
367
  puts "Exception when calling SmsTemplatesApi->sms_templates_put_template_language: #{e}"
368
368
  end
@@ -374,7 +374,7 @@ Name | Type | Description | Notes
374
374
  ------------- | ------------- | ------------- | -------------
375
375
  **body** | [**SmsTemplateDto**](SmsTemplateDto.md)| The request object. |
376
376
  **app_id** | **String**| The id of the app where the templates belong to. |
377
- **id** | **String**| The template ID. |
377
+ **code** | **String**| The template code. |
378
378
  **language** | **String**| The language. |
379
379
 
380
380
  ### Return type
@@ -1,6 +1,6 @@
1
1
  # Notifo::SystemUsersApi
2
2
 
3
- All URIs are relative to *https://notifo.easierlife.com*
3
+ All URIs are relative to *https://notifo-dev.easierlife.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -56,7 +56,7 @@ No authorization required
56
56
 
57
57
 
58
58
  # **system_users_get_user**
59
- > system_users_get_user(id)
59
+ > SystemUserDto system_users_get_user(id)
60
60
 
61
61
  Get a user.
62
62
 
@@ -71,7 +71,8 @@ id = 'id_example' # String | The user ID.
71
71
 
72
72
  begin
73
73
  #Get a user.
74
- api_instance.system_users_get_user(id)
74
+ result = api_instance.system_users_get_user(id)
75
+ p result
75
76
  rescue Notifo::ApiError => e
76
77
  puts "Exception when calling SystemUsersApi->system_users_get_user: #{e}"
77
78
  end
@@ -85,7 +86,7 @@ Name | Type | Description | Notes
85
86
 
86
87
  ### Return type
87
88
 
88
- nil (empty response body)
89
+ [**SystemUserDto**](SystemUserDto.md)
89
90
 
90
91
  ### Authorization
91
92
 
data/docs/TemplatesApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Notifo::TemplatesApi
2
2
 
3
- All URIs are relative to *https://notifo.easierlife.com*
3
+ All URIs are relative to *https://notifo-dev.easierlife.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/TopicsApi.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Notifo::TopicsApi
2
2
 
3
- All URIs are relative to *https://notifo.easierlife.com*
3
+ All URIs are relative to *https://notifo-dev.easierlife.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**topics_delete_topic**](TopicsApi.md#topics_delete_topic) | **DELETE** /api/apps/{appId}/topics/{id} | Delete a topic.
7
+ [**topics_delete_topic**](TopicsApi.md#topics_delete_topic) | **DELETE** /api/apps/{appId}/topics/{path} | Delete a topic.
8
8
  [**topics_get_topics**](TopicsApi.md#topics_get_topics) | **GET** /api/apps/{appId}/topics | Query topics.
9
9
  [**topics_post_topics**](TopicsApi.md#topics_post_topics) | **POST** /api/apps/{appId}/topics | Upsert topics.
10
10
 
11
11
  # **topics_delete_topic**
12
- > topics_delete_topic(app_id, id)
12
+ > topics_delete_topic(app_id, path)
13
13
 
14
14
  Delete a topic.
15
15
 
@@ -20,12 +20,12 @@ require 'notifo'
20
20
 
21
21
  api_instance = Notifo::TopicsApi.new
22
22
  app_id = 'app_id_example' # String | The app where the topics belong to.
23
- id = 'id_example' # String | The ID of the topic to delete.
23
+ path = 'path_example' # String | The path of the topic to delete.
24
24
 
25
25
 
26
26
  begin
27
27
  #Delete a topic.
28
- api_instance.topics_delete_topic(app_id, id)
28
+ api_instance.topics_delete_topic(app_id, path)
29
29
  rescue Notifo::ApiError => e
30
30
  puts "Exception when calling TopicsApi->topics_delete_topic: #{e}"
31
31
  end
@@ -36,7 +36,7 @@ end
36
36
  Name | Type | Description | Notes
37
37
  ------------- | ------------- | ------------- | -------------
38
38
  **app_id** | **String**| The app where the topics belong to. |
39
- **id** | **String**| The ID of the topic to delete. |
39
+ **path** | **String**| The path of the topic to delete. |
40
40
 
41
41
  ### Return type
42
42
 
@@ -6,5 +6,6 @@ Name | Type | Description | Notes
6
6
  **confirmed** | **String** | The id of the noitifications to mark as confirmed. | [optional]
7
7
  **seen** | **Array<String>** | The id of the noitifications to mark as seen. | [optional]
8
8
  **channel** | **String** | The channel name. | [optional]
9
+ **configuration_id** | **String** | The configuration ID. | [optional]
9
10
  **device_identifier** | **String** | The device identifier. | [optional]
10
11
 
data/docs/UserApi.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # Notifo::UserApi
2
2
 
3
- All URIs are relative to *https://notifo.easierlife.com*
3
+ All URIs are relative to *https://notifo-dev.easierlife.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**user_delete_subscription**](UserApi.md#user_delete_subscription) | **POST** /api/me/subscriptions/{prefix} | Remove my subscription.
8
+ [**user_get_admin_user**](UserApi.md#user_get_admin_user) | **GET** /api/me/admin | Get the current admin user.
8
9
  [**user_get_my_subscription**](UserApi.md#user_get_my_subscription) | **GET** /api/me/subscriptions/{topic} | Gets a user subscription.
9
10
  [**user_get_my_subscriptions**](UserApi.md#user_get_my_subscriptions) | **GET** /api/me/subscriptions | Query the user subscriptions.
10
11
  [**user_get_topics**](UserApi.md#user_get_topics) | **GET** /api/me/topics | Query the user topics.
@@ -57,6 +58,45 @@ No authorization required
57
58
 
58
59
 
59
60
 
61
+ # **user_get_admin_user**
62
+ > AdminProfileDto user_get_admin_user
63
+
64
+ Get the current admin user.
65
+
66
+ ### Example
67
+ ```ruby
68
+ # load the gem
69
+ require 'notifo'
70
+
71
+ api_instance = Notifo::UserApi.new
72
+
73
+ begin
74
+ #Get the current admin user.
75
+ result = api_instance.user_get_admin_user
76
+ p result
77
+ rescue Notifo::ApiError => e
78
+ puts "Exception when calling UserApi->user_get_admin_user: #{e}"
79
+ end
80
+ ```
81
+
82
+ ### Parameters
83
+ This endpoint does not need any parameter.
84
+
85
+ ### Return type
86
+
87
+ [**AdminProfileDto**](AdminProfileDto.md)
88
+
89
+ ### Authorization
90
+
91
+ No authorization required
92
+
93
+ ### HTTP request headers
94
+
95
+ - **Content-Type**: Not defined
96
+ - **Accept**: application/json
97
+
98
+
99
+
60
100
  # **user_get_my_subscription**
61
101
  > SubscriptionDto user_get_my_subscription(topic)
62
102
 
data/docs/UserDto.md CHANGED
@@ -13,12 +13,11 @@ Name | Type | Description | Notes
13
13
  **created** | **DateTime** | The date time (ISO 8601) when the user has been created. |
14
14
  **last_update** | **DateTime** | The date time (ISO 8601) when the user has been updated. |
15
15
  **last_notification** | **DateTime** | The date time (ISO 8601) when the user has been received the last notification. | [optional]
16
- **number_of_web_push_tokens** | **Integer** | The number of web hook tokens. |
17
- **number_of_mobile_push_tokens** | **Integer** | The number of web hook tokens. |
18
16
  **requires_whitelisted_topics** | **BOOLEAN** | True when only whitelisted topic are allowed. |
19
17
  **properties** | **Hash<String, String>** | The user properties. | [optional]
20
18
  **settings** | [**Hash<String, ChannelSettingDto>**](ChannelSettingDto.md) | Notification settings per channel. |
21
19
  **counters** | **Hash<String, Integer>** | The statistics counters. |
22
20
  **mobile_push_tokens** | [**Array<MobilePushTokenDto>**](MobilePushTokenDto.md) | The mobile push tokens. |
21
+ **web_push_subscriptions** | [**Array<WebPushSubscriptionDto>**](WebPushSubscriptionDto.md) | The web push subscriptions. |
23
22
  **user_properties** | [**Array<UserPropertyDto>**](UserPropertyDto.md) | The supported user properties. | [optional]
24
23
 
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
  **link_text** | **String** | The link text. | [optional]
19
19
  **confirm_text** | **String** | The text for the confirm button. | [optional]
20
20
  **confirm_url** | **String** | The tracking url that needs to be invoked to mark the notification as confirmed. | [optional]
21
+ **correlation_id** | **String** | The correlation ID, that can be used to query notifications. | [optional]
21
22
  **data** | **String** | Optional data, usually a json object. | [optional]
22
23
  **properties** | [**NotificationProperties**](NotificationProperties.md) | | [optional]
23
24
 
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
  **link_text** | **String** | The link text. | [optional]
19
19
  **confirm_text** | **String** | The text for the confirm button. | [optional]
20
20
  **confirm_url** | **String** | The tracking url that needs to be invoked to mark the notification as confirmed. | [optional]
21
+ **correlation_id** | **String** | The correlation ID, that can be used to query notifications. | [optional]
21
22
  **data** | **String** | Optional data, usually a json object. | [optional]
22
23
  **properties** | [**NotificationProperties**](NotificationProperties.md) | | [optional]
23
24
  **channels** | [**Hash<String, UserNotificationChannelDto>**](UserNotificationChannelDto.md) | The channel details. |
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
  **link_text** | **String** | The link text. | [optional]
19
19
  **confirm_text** | **String** | The text for the confirm button. | [optional]
20
20
  **confirm_url** | **String** | The tracking url that needs to be invoked to mark the notification as confirmed. | [optional]
21
+ **correlation_id** | **String** | The correlation ID, that can be used to query notifications. | [optional]
21
22
  **data** | **String** | Optional data, usually a json object. | [optional]
22
23
  **properties** | [**NotificationProperties**](NotificationProperties.md) | | [optional]
23
24
  **is_seen** | **BOOLEAN** | True when the notification has been seen at least once. |
data/docs/UsersApi.md CHANGED
@@ -1,12 +1,14 @@
1
1
  # Notifo::UsersApi
2
2
 
3
- All URIs are relative to *https://notifo.easierlife.com*
3
+ All URIs are relative to *https://notifo-dev.easierlife.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**users_delete_allowed_topic**](UsersApi.md#users_delete_allowed_topic) | **DELETE** /api/apps/{appId}/users/{id}/allowed-topics/{prefix} | Remove an allowed topic.
8
+ [**users_delete_mobile_push_token**](UsersApi.md#users_delete_mobile_push_token) | **DELETE** /api/apps/{appId}/users/{id}/mobilepush/{token} | Remove an web push token.
8
9
  [**users_delete_subscription**](UsersApi.md#users_delete_subscription) | **DELETE** /api/apps/{appId}/users/{id}/subscriptions/{prefix} | Unsubscribes a user from a subscription.
9
10
  [**users_delete_user**](UsersApi.md#users_delete_user) | **DELETE** /api/apps/{appId}/users/{id} | Delete a user.
11
+ [**users_delete_web_push_subscription**](UsersApi.md#users_delete_web_push_subscription) | **DELETE** /api/apps/{appId}/users/{id}/webpush/{endpoint} | Remove an web push subscription.
10
12
  [**users_get_subscriptions**](UsersApi.md#users_get_subscriptions) | **GET** /api/apps/{appId}/users/{id}/subscriptions | Query user subscriptions.
11
13
  [**users_get_user**](UsersApi.md#users_get_user) | **GET** /api/apps/{appId}/users/{id} | Get a user.
12
14
  [**users_get_users**](UsersApi.md#users_get_users) | **GET** /api/apps/{appId}/users | Query users.
@@ -61,6 +63,53 @@ No authorization required
61
63
 
62
64
 
63
65
 
66
+ # **users_delete_mobile_push_token**
67
+ > users_delete_mobile_push_token(app_id, id, token)
68
+
69
+ Remove an web push token.
70
+
71
+ ### Example
72
+ ```ruby
73
+ # load the gem
74
+ require 'notifo'
75
+
76
+ api_instance = Notifo::UsersApi.new
77
+ app_id = 'app_id_example' # String | The app where the users belong to.
78
+ id = 'id_example' # String | The user ID.
79
+ token = 'token_example' # String | The token.
80
+
81
+
82
+ begin
83
+ #Remove an web push token.
84
+ api_instance.users_delete_mobile_push_token(app_id, id, token)
85
+ rescue Notifo::ApiError => e
86
+ puts "Exception when calling UsersApi->users_delete_mobile_push_token: #{e}"
87
+ end
88
+ ```
89
+
90
+ ### Parameters
91
+
92
+ Name | Type | Description | Notes
93
+ ------------- | ------------- | ------------- | -------------
94
+ **app_id** | **String**| The app where the users belong to. |
95
+ **id** | **String**| The user ID. |
96
+ **token** | **String**| The token. |
97
+
98
+ ### Return type
99
+
100
+ nil (empty response body)
101
+
102
+ ### Authorization
103
+
104
+ No authorization required
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: Not defined
109
+ - **Accept**: application/json
110
+
111
+
112
+
64
113
  # **users_delete_subscription**
65
114
  > users_delete_subscription(app_id, id, prefix)
66
115
 
@@ -109,7 +158,7 @@ No authorization required
109
158
 
110
159
 
111
160
  # **users_delete_user**
112
- > String users_delete_user(app_id, id)
161
+ > users_delete_user(app_id, id)
113
162
 
114
163
  Delete a user.
115
164
 
@@ -125,8 +174,7 @@ id = 'id_example' # String | The user id to delete.
125
174
 
126
175
  begin
127
176
  #Delete a user.
128
- result = api_instance.users_delete_user(app_id, id)
129
- p result
177
+ api_instance.users_delete_user(app_id, id)
130
178
  rescue Notifo::ApiError => e
131
179
  puts "Exception when calling UsersApi->users_delete_user: #{e}"
132
180
  end
@@ -141,7 +189,7 @@ Name | Type | Description | Notes
141
189
 
142
190
  ### Return type
143
191
 
144
- **String**
192
+ nil (empty response body)
145
193
 
146
194
  ### Authorization
147
195
 
@@ -150,7 +198,54 @@ No authorization required
150
198
  ### HTTP request headers
151
199
 
152
200
  - **Content-Type**: Not defined
153
- - **Accept**: application/octet-stream, application/json
201
+ - **Accept**: application/json
202
+
203
+
204
+
205
+ # **users_delete_web_push_subscription**
206
+ > users_delete_web_push_subscription(app_id, id, endpoint)
207
+
208
+ Remove an web push subscription.
209
+
210
+ ### Example
211
+ ```ruby
212
+ # load the gem
213
+ require 'notifo'
214
+
215
+ api_instance = Notifo::UsersApi.new
216
+ app_id = 'app_id_example' # String | The app where the users belong to.
217
+ id = 'id_example' # String | The user ID.
218
+ endpoint = 'endpoint_example' # String | The endpoint.
219
+
220
+
221
+ begin
222
+ #Remove an web push subscription.
223
+ api_instance.users_delete_web_push_subscription(app_id, id, endpoint)
224
+ rescue Notifo::ApiError => e
225
+ puts "Exception when calling UsersApi->users_delete_web_push_subscription: #{e}"
226
+ end
227
+ ```
228
+
229
+ ### Parameters
230
+
231
+ Name | Type | Description | Notes
232
+ ------------- | ------------- | ------------- | -------------
233
+ **app_id** | **String**| The app where the users belong to. |
234
+ **id** | **String**| The user ID. |
235
+ **endpoint** | **String**| The endpoint. |
236
+
237
+ ### Return type
238
+
239
+ nil (empty response body)
240
+
241
+ ### Authorization
242
+
243
+ No authorization required
244
+
245
+ ### HTTP request headers
246
+
247
+ - **Content-Type**: Not defined
248
+ - **Accept**: application/json
154
249
 
155
250
 
156
251
 
@@ -0,0 +1,7 @@
1
+ # Notifo::WebPushSubscriptionDto
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **endpoint** | **String** | The endpoint. |
7
+
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.29
9
+ Swagger Codegen version: 3.0.36
10
10
  =end
11
11
 
12
12
  module Notifo
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.29
9
+ Swagger Codegen version: 3.0.36
10
10
  =end
11
11
 
12
12
  module Notifo
@@ -0,0 +1,116 @@
1
+ =begin
2
+ #Notifo API
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.36
10
+ =end
11
+
12
+ module Notifo
13
+ class DiagnosticsApi
14
+ attr_accessor :api_client
15
+
16
+ def initialize(api_client = ApiClient.default)
17
+ @api_client = api_client
18
+ end
19
+ # Creates a dump and writes it into storage..
20
+ # @param [Hash] opts the optional parameters
21
+ # @return [nil]
22
+ def diagnostics_get_dump(opts = {})
23
+ diagnostics_get_dump_with_http_info(opts)
24
+ nil
25
+ end
26
+
27
+ # Creates a dump and writes it into storage..
28
+ # @param [Hash] opts the optional parameters
29
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
30
+ def diagnostics_get_dump_with_http_info(opts = {})
31
+ if @api_client.config.debugging
32
+ @api_client.config.logger.debug 'Calling API: DiagnosticsApi.diagnostics_get_dump ...'
33
+ end
34
+ # resource path
35
+ local_var_path = '/api/diagnostics/dump'
36
+
37
+ # query parameters
38
+ query_params = opts[:query_params] || {}
39
+
40
+ # header parameters
41
+ header_params = opts[:header_params] || {}
42
+ # HTTP header 'Accept' (if needed)
43
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
44
+
45
+ # form parameters
46
+ form_params = opts[:form_params] || {}
47
+
48
+ # http body (model)
49
+ post_body = opts[:body]
50
+
51
+ return_type = opts[:return_type]
52
+
53
+ auth_names = opts[:auth_names] || []
54
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
55
+ :header_params => header_params,
56
+ :query_params => query_params,
57
+ :form_params => form_params,
58
+ :body => post_body,
59
+ :auth_names => auth_names,
60
+ :return_type => return_type)
61
+
62
+ if @api_client.config.debugging
63
+ @api_client.config.logger.debug "API called: DiagnosticsApi#diagnostics_get_dump\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
64
+ end
65
+ return data, status_code, headers
66
+ end
67
+ # Creates a gc dump and writes it into storage.
68
+ # @param [Hash] opts the optional parameters
69
+ # @return [nil]
70
+ def diagnostics_get_gc_dump(opts = {})
71
+ diagnostics_get_gc_dump_with_http_info(opts)
72
+ nil
73
+ end
74
+
75
+ # Creates a gc dump and writes it into storage.
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
78
+ def diagnostics_get_gc_dump_with_http_info(opts = {})
79
+ if @api_client.config.debugging
80
+ @api_client.config.logger.debug 'Calling API: DiagnosticsApi.diagnostics_get_gc_dump ...'
81
+ end
82
+ # resource path
83
+ local_var_path = '/api/diagnostics/gcdump'
84
+
85
+ # query parameters
86
+ query_params = opts[:query_params] || {}
87
+
88
+ # header parameters
89
+ header_params = opts[:header_params] || {}
90
+ # HTTP header 'Accept' (if needed)
91
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
92
+
93
+ # form parameters
94
+ form_params = opts[:form_params] || {}
95
+
96
+ # http body (model)
97
+ post_body = opts[:body]
98
+
99
+ return_type = opts[:return_type]
100
+
101
+ auth_names = opts[:auth_names] || []
102
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
103
+ :header_params => header_params,
104
+ :query_params => query_params,
105
+ :form_params => form_params,
106
+ :body => post_body,
107
+ :auth_names => auth_names,
108
+ :return_type => return_type)
109
+
110
+ if @api_client.config.debugging
111
+ @api_client.config.logger.debug "API called: DiagnosticsApi#diagnostics_get_gc_dump\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
112
+ end
113
+ return data, status_code, headers
114
+ end
115
+ end
116
+ end