notifo-io 1.0.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +838 -156
- data/docs/AddContributorDto.md +1 -1
- data/docs/AdminProfileDto.md +7 -0
- data/docs/AppDetailsDto.md +3 -1
- data/docs/AppDto.md +2 -0
- data/docs/AppsApi.md +1 -187
- data/docs/{NotificationSend.md → ChannelCondition.md} +1 -1
- data/docs/{EventProperties.md → ChannelSend.md} +1 -1
- data/docs/ChannelSendInfoDto.md +13 -0
- data/docs/ChannelSettingDto.md +11 -0
- data/docs/ChannelTemplateDetailsDtoOfEmailTemplateDto.md +12 -0
- data/docs/ChannelTemplateDetailsDtoOfMessagingTemplateDto.md +12 -0
- data/docs/ChannelTemplateDetailsDtoOfSmsTemplateDto.md +12 -0
- data/docs/ChannelTemplateDto.md +11 -0
- data/docs/ConfigsApi.md +1 -1
- data/docs/ConfiguredIntegrationDto.md +2 -1
- data/docs/CreateChannelTemplateDto.md +7 -0
- data/docs/{CreateEmailTemplateDto.md → CreateChannelTemplateLanguageDto.md} +1 -1
- data/docs/CreateIntegrationDto.md +1 -1
- data/docs/CreateSystemUserDto.md +9 -0
- data/docs/DiagnosticsApi.md +85 -0
- data/docs/EmailFormattingError.md +10 -0
- data/docs/EmailPreviewDto.md +8 -0
- data/docs/EmailPreviewRequestDto.md +9 -0
- data/docs/{EmailTemplatesDto.md → EmailPreviewType.md} +1 -1
- data/docs/EmailTemplateDto.md +3 -0
- data/docs/{IntegrationProperties.md → EmailTemplateType.md} +1 -1
- data/docs/EmailTemplatesApi.md +488 -0
- data/docs/ErrorDto.md +1 -0
- data/docs/EventDto.md +1 -1
- data/docs/EventsApi.md +8 -6
- data/docs/HandledInfoDto.md +8 -0
- data/docs/{EmailVerificationStatus.md → InfoDto.md} +2 -1
- data/docs/IntegrationPropertyDto.md +3 -1
- data/docs/ListResponseDtoOfChannelTemplateDto.md +8 -0
- data/docs/ListResponseDtoOfMobilePushTokenDto.md +1 -1
- data/docs/{ListResponseDtoOfNotificationDto.md → ListResponseDtoOfSystemUserDto.md} +2 -2
- data/docs/ListResponseDtoOfUserNotificationDetailsDto.md +8 -0
- data/docs/ListResponseDtoOfUserNotificationDto.md +8 -0
- data/docs/LogsApi.md +1 -1
- data/docs/MediaApi.md +154 -4
- data/docs/MediaDto.md +3 -1
- data/docs/MessagingTemplateDto.md +7 -0
- data/docs/MessagingTemplatesApi.md +394 -0
- data/docs/MobilePushApi.md +16 -16
- data/docs/MobilePushTokenDto.md +4 -2
- data/docs/MobilePushTokenDto2.md +9 -0
- data/docs/NotificationFormattingDto.md +1 -1
- data/docs/NotificationProperties.md +6 -0
- data/docs/NotificationsApi.md +202 -20
- data/docs/PingApi.md +131 -0
- data/docs/ProcessStatus.md +6 -0
- data/docs/ProfileDto.md +2 -1
- data/docs/PropertyType.md +6 -0
- data/docs/PublishDto.md +4 -2
- data/docs/RegisterMobileTokenDto.md +1 -0
- data/docs/SendConfiguration.md +6 -0
- data/docs/{Body.md → SmsTemplateDto.md} +2 -2
- data/docs/SmsTemplatesApi.md +394 -0
- data/docs/SubscribeDto.md +8 -0
- data/docs/SubscribeManyDto.md +8 -0
- data/docs/SubscriptionDto.md +1 -1
- data/docs/SystemUserDto.md +11 -0
- data/docs/SystemUsersApi.md +328 -0
- data/docs/TemplateDto.md +3 -1
- data/docs/TemplatesApi.md +4 -5
- data/docs/TopicChannel.md +6 -0
- data/docs/TopicDto.md +7 -1
- data/docs/TopicQueryScope.md +6 -0
- data/docs/TopicsApi.md +96 -1
- data/docs/TrackNotificationDto.md +1 -0
- data/docs/UpdateChannelTemplateDtoOfEmailTemplateDto.md +9 -0
- data/docs/UpdateChannelTemplateDtoOfMessagingTemplateDto.md +9 -0
- data/docs/UpdateChannelTemplateDtoOfSmsTemplateDto.md +9 -0
- data/docs/UpdateIntegrationDto.md +2 -1
- data/docs/UpdateProfileDto.md +1 -1
- data/docs/UpdateSystemUserDto.md +9 -0
- data/docs/UpsertTemplateDto.md +1 -1
- data/docs/UpsertTopicDto.md +11 -0
- data/docs/UpsertTopicsDto.md +7 -0
- data/docs/UpsertUserDto.md +2 -2
- data/docs/UserApi.md +160 -22
- data/docs/UserDto.md +8 -4
- data/docs/UserNotificationBaseDto.md +24 -0
- data/docs/UserNotificationChannelDto.md +11 -0
- data/docs/UserNotificationDetailsDto.md +28 -0
- data/docs/{NotificationDto.md → UserNotificationDto.md} +10 -5
- data/docs/UserPropertyDto.md +9 -0
- data/docs/UserTopicDto.md +11 -0
- data/docs/UsersApi.md +134 -34
- data/docs/WebPushSubscriptionDto.md +7 -0
- data/lib/notifo/api/apps_api.rb +1 -245
- data/lib/notifo/api/configs_api.rb +1 -1
- data/lib/notifo/api/{user_info_api.rb → diagnostics_api.rb} +19 -15
- data/lib/notifo/api/email_templates_api.rb +663 -0
- data/lib/notifo/api/events_api.rb +10 -7
- data/lib/notifo/api/logs_api.rb +1 -1
- data/lib/notifo/api/media_api.rb +197 -2
- data/lib/notifo/api/messaging_templates_api.rb +541 -0
- data/lib/notifo/api/mobile_push_api.rb +18 -18
- data/lib/notifo/api/notifications_api.rb +246 -24
- data/lib/notifo/api/{authorization_api.rb → ping_api.rb} +37 -25
- data/lib/notifo/api/sms_templates_api.rb +541 -0
- data/lib/notifo/api/system_users_api.rb +411 -0
- data/lib/notifo/api/templates_api.rb +6 -6
- data/lib/notifo/api/topics_api.rb +126 -1
- data/lib/notifo/api/user_api.rb +186 -27
- data/lib/notifo/api/users_api.rb +171 -33
- data/lib/notifo/api_client.rb +1 -1
- data/lib/notifo/api_error.rb +1 -1
- data/lib/notifo/configuration.rb +3 -3
- data/lib/notifo/models/add_allowed_topic_dto.rb +1 -1
- data/lib/notifo/models/add_contributor_dto.rb +2 -6
- data/lib/notifo/models/{body.rb → admin_profile_dto.rb} +13 -11
- data/lib/notifo/models/app_contributor_dto.rb +1 -1
- data/lib/notifo/models/app_details_dto.rb +41 -11
- data/lib/notifo/models/app_dto.rb +32 -2
- data/lib/notifo/models/app_id_media_body.rb +1 -1
- data/lib/notifo/models/channel_condition.rb +30 -0
- data/lib/notifo/models/{notification_send.rb → channel_send.rb} +4 -4
- data/lib/notifo/models/channel_send_info_dto.rb +269 -0
- data/lib/notifo/models/channel_setting_dto.rb +256 -0
- data/lib/notifo/models/channel_template_details_dto_of_email_template_dto.rb +285 -0
- data/lib/notifo/models/channel_template_details_dto_of_messaging_template_dto.rb +285 -0
- data/lib/notifo/models/channel_template_details_dto_of_sms_template_dto.rb +285 -0
- data/lib/notifo/models/channel_template_dto.rb +264 -0
- data/lib/notifo/models/configured_integration_dto.rb +17 -3
- data/lib/notifo/models/configured_integrations_dto.rb +1 -1
- data/lib/notifo/models/confirm_mode.rb +2 -3
- data/lib/notifo/models/{integration_properties.rb → create_channel_template_dto.rb} +18 -11
- data/lib/notifo/models/{create_email_template_dto.rb → create_channel_template_language_dto.rb} +4 -4
- data/lib/notifo/models/create_integration_dto.rb +7 -2
- data/lib/notifo/models/create_system_user_dto.rb +240 -0
- data/lib/notifo/models/email_formatting_error.rb +233 -0
- data/lib/notifo/models/email_preview_dto.rb +221 -0
- data/lib/notifo/models/email_preview_request_dto.rb +232 -0
- data/lib/notifo/models/email_preview_type.rb +28 -0
- data/lib/notifo/models/email_template_dto.rb +39 -6
- data/lib/notifo/models/email_template_type.rb +30 -0
- data/lib/notifo/models/error_dto.rb +13 -2
- data/lib/notifo/models/event_dto.rb +1 -1
- data/lib/notifo/models/handled_info_dto.rb +218 -0
- data/lib/notifo/models/info_dto.rb +212 -0
- data/lib/notifo/models/integration_created_dto.rb +1 -1
- data/lib/notifo/models/integration_definition_dto.rb +1 -1
- data/lib/notifo/models/integration_property_dto.rb +30 -2
- data/lib/notifo/models/integration_status.rb +1 -1
- data/lib/notifo/models/iso_day_of_week.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_channel_template_dto.rb +229 -0
- data/lib/notifo/models/list_response_dto_of_event_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_log_entry_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_media_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_mobile_push_token_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_subscription_dto.rb +1 -1
- data/lib/notifo/models/{list_response_dto_of_notification_dto.rb → list_response_dto_of_system_user_dto.rb} +4 -4
- data/lib/notifo/models/list_response_dto_of_template_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_topic_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_user_dto.rb +1 -1
- data/lib/notifo/models/list_response_dto_of_user_notification_details_dto.rb +229 -0
- data/lib/notifo/models/list_response_dto_of_user_notification_dto.rb +229 -0
- data/lib/notifo/models/localized_text.rb +1 -1
- data/lib/notifo/models/log_entry_dto.rb +1 -1
- data/lib/notifo/models/media_dto.rb +42 -12
- data/lib/notifo/models/media_metadata.rb +1 -1
- data/lib/notifo/models/media_type.rb +1 -1
- data/lib/notifo/models/messaging_template_dto.rb +212 -0
- data/lib/notifo/models/mobile_device_type.rb +1 -1
- data/lib/notifo/models/mobile_push_token_dto.rb +33 -6
- data/lib/notifo/models/mobile_push_token_dto2.rb +232 -0
- data/lib/notifo/models/notification_formatting_dto.rb +1 -6
- data/lib/notifo/models/{event_properties.rb → notification_properties.rb} +4 -4
- data/lib/notifo/models/{email_verification_status.rb → process_status.rb} +8 -7
- data/lib/notifo/models/profile_dto.rb +14 -2
- data/lib/notifo/models/{integration_property_type.rb → property_type.rb} +4 -4
- data/lib/notifo/models/publish_dto.rb +26 -2
- data/lib/notifo/models/publish_many_dto.rb +1 -1
- data/lib/notifo/models/register_mobile_token_dto.rb +16 -5
- data/lib/notifo/models/resize_mode.rb +1 -1
- data/lib/notifo/models/scheduling_dto.rb +1 -1
- data/lib/notifo/models/scheduling_type.rb +1 -1
- data/lib/notifo/models/{email_templates_dto.rb → send_configuration.rb} +4 -4
- data/lib/notifo/models/sms_template_dto.rb +212 -0
- data/lib/notifo/models/subscribe_dto.rb +225 -0
- data/lib/notifo/models/{notification_setting_dto.rb → subscribe_many_dto.rb} +25 -24
- data/lib/notifo/models/subscription_dto.rb +6 -2
- data/lib/notifo/models/system_user_dto.rb +269 -0
- data/lib/notifo/models/template_dto.rb +32 -2
- data/lib/notifo/models/topic_channel.rb +28 -0
- data/lib/notifo/models/topic_dto.rb +69 -3
- data/lib/notifo/models/topic_query_scope.rb +29 -0
- data/lib/notifo/models/track_notification_dto.rb +12 -2
- data/lib/notifo/models/update_channel_template_dto_of_email_template_dto.rb +232 -0
- data/lib/notifo/models/update_channel_template_dto_of_messaging_template_dto.rb +232 -0
- data/lib/notifo/models/update_channel_template_dto_of_sms_template_dto.rb +232 -0
- data/lib/notifo/models/update_integration_dto.rb +19 -3
- data/lib/notifo/models/update_profile_dto.rb +1 -1
- data/lib/notifo/models/update_system_user_dto.rb +240 -0
- data/lib/notifo/models/upsert_app_dto.rb +1 -1
- data/lib/notifo/models/upsert_template_dto.rb +1 -1
- data/lib/notifo/models/upsert_templates_dto.rb +1 -1
- data/lib/notifo/models/upsert_topic_dto.rb +249 -0
- data/lib/notifo/models/upsert_topics_dto.rb +214 -0
- data/lib/notifo/models/upsert_user_dto.rb +15 -13
- data/lib/notifo/models/upsert_users_dto.rb +1 -1
- data/lib/notifo/models/user_dto.rb +96 -36
- data/lib/notifo/models/{notification_dto.rb → user_notification_base_dto.rb} +73 -46
- data/lib/notifo/models/user_notification_channel_dto.rb +261 -0
- data/lib/notifo/models/user_notification_details_dto.rb +461 -0
- data/lib/notifo/models/user_notification_dto.rb +447 -0
- data/lib/notifo/models/user_property_dto.rb +234 -0
- data/lib/notifo/models/user_topic_dto.rb +265 -0
- data/lib/notifo/models/web_push_subscription_dto.rb +212 -0
- data/lib/notifo/version.rb +1 -1
- data/lib/notifo.rb +55 -12
- data/notifo.gemspec +3 -4
- data/spec/api/apps_api_spec.rb +20 -20
- data/spec/api/configs_api_spec.rb +1 -1
- data/spec/api/{user_info_api_spec.rb → diagnostics_api_spec.rb} +13 -11
- data/spec/api/email_templates_api_spec.rb +161 -0
- data/spec/api/events_api_spec.rb +13 -1
- data/spec/api/logs_api_spec.rb +1 -1
- data/spec/api/media_api_spec.rb +52 -1
- data/spec/api/messaging_templates_api_spec.rb +137 -0
- data/spec/api/mobile_push_api_spec.rb +7 -7
- data/spec/api/notifications_api_spec.rb +62 -9
- data/spec/api/{authorization_api_spec.rb → ping_api_spec.rb} +20 -14
- data/spec/api/sms_templates_api_spec.rb +137 -0
- data/spec/api/system_users_api_spec.rb +114 -0
- data/spec/api/templates_api_spec.rb +2 -2
- data/spec/api/topics_api_spec.rb +26 -1
- data/spec/api/user_api_spec.rb +43 -8
- data/spec/api/users_api_spec.rb +41 -13
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/add_allowed_topic_dto_spec.rb +1 -1
- data/spec/models/add_contributor_dto_spec.rb +1 -1
- data/spec/models/admin_profile_dto_spec.rb +40 -0
- data/spec/models/app_contributor_dto_spec.rb +1 -1
- data/spec/models/app_details_dto_spec.rb +4 -40
- data/spec/models/app_dto_spec.rb +13 -1
- data/spec/models/app_id_media_body_spec.rb +1 -1
- data/spec/models/{notification_send_spec.rb → channel_condition_spec.rb} +7 -7
- data/spec/models/channel_send_info_dto_spec.rb +76 -0
- data/spec/models/{event_properties_spec.rb → channel_send_spec.rb} +7 -7
- data/spec/models/channel_setting_dto_spec.rb +64 -0
- data/spec/models/channel_template_details_dto_of_email_template_dto_spec.rb +70 -0
- data/spec/models/channel_template_details_dto_of_messaging_template_dto_spec.rb +70 -0
- data/spec/models/channel_template_details_dto_of_sms_template_dto_spec.rb +70 -0
- data/spec/models/channel_template_dto_spec.rb +64 -0
- data/spec/models/configured_integration_dto_spec.rb +7 -1
- data/spec/models/configured_integrations_dto_spec.rb +1 -1
- data/spec/models/confirm_mode_spec.rb +1 -1
- data/spec/models/create_channel_template_dto_spec.rb +40 -0
- data/spec/models/{create_email_template_dto_spec.rb → create_channel_template_language_dto_spec.rb} +7 -7
- data/spec/models/create_integration_dto_spec.rb +1 -1
- data/spec/models/create_system_user_dto_spec.rb +52 -0
- data/spec/models/email_formatting_error_spec.rb +58 -0
- data/spec/models/{notification_setting_dto_spec.rb → email_preview_dto_spec.rb} +9 -9
- data/spec/models/email_preview_request_dto_spec.rb +52 -0
- data/spec/models/{email_templates_dto_spec.rb → email_preview_type_spec.rb} +7 -7
- data/spec/models/email_template_dto_spec.rb +19 -1
- data/spec/models/{integration_properties_spec.rb → email_template_type_spec.rb} +7 -7
- data/spec/models/error_dto_spec.rb +7 -1
- data/spec/models/event_dto_spec.rb +7 -1
- data/spec/models/handled_info_dto_spec.rb +46 -0
- data/spec/models/{body_spec.rb → info_dto_spec.rb} +8 -8
- data/spec/models/integration_created_dto_spec.rb +1 -1
- data/spec/models/integration_definition_dto_spec.rb +1 -1
- data/spec/models/integration_property_dto_spec.rb +13 -1
- data/spec/models/integration_status_spec.rb +1 -1
- data/spec/models/iso_day_of_week_spec.rb +1 -1
- data/spec/models/list_response_dto_of_channel_template_dto_spec.rb +46 -0
- data/spec/models/list_response_dto_of_event_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_log_entry_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_media_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_mobile_push_token_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_subscription_dto_spec.rb +1 -1
- data/spec/models/{list_response_dto_of_notification_dto_spec.rb → list_response_dto_of_system_user_dto_spec.rb} +7 -7
- data/spec/models/list_response_dto_of_template_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_topic_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_user_dto_spec.rb +1 -1
- data/spec/models/list_response_dto_of_user_notification_details_dto_spec.rb +46 -0
- data/spec/models/list_response_dto_of_user_notification_dto_spec.rb +46 -0
- data/spec/models/localized_text_spec.rb +1 -1
- data/spec/models/log_entry_dto_spec.rb +1 -1
- data/spec/models/media_dto_spec.rb +14 -2
- data/spec/models/media_metadata_spec.rb +1 -1
- data/spec/models/media_type_spec.rb +1 -1
- data/spec/models/messaging_template_dto_spec.rb +40 -0
- data/spec/models/mobile_device_type_spec.rb +1 -1
- data/spec/models/mobile_push_token_dto2_spec.rb +52 -0
- data/spec/models/mobile_push_token_dto_spec.rb +13 -1
- data/spec/models/notification_formatting_dto_spec.rb +1 -1
- data/spec/models/notification_properties_spec.rb +34 -0
- data/spec/models/process_status_spec.rb +34 -0
- data/spec/models/profile_dto_spec.rb +7 -1
- data/spec/models/property_type_spec.rb +34 -0
- data/spec/models/publish_dto_spec.rb +25 -1
- data/spec/models/publish_many_dto_spec.rb +1 -1
- data/spec/models/register_mobile_token_dto_spec.rb +7 -1
- data/spec/models/resize_mode_spec.rb +1 -1
- data/spec/models/scheduling_dto_spec.rb +1 -1
- data/spec/models/scheduling_type_spec.rb +1 -1
- data/spec/models/send_configuration_spec.rb +34 -0
- data/spec/models/{integration_property_type_spec.rb → sms_template_dto_spec.rb} +13 -7
- data/spec/models/subscribe_dto_spec.rb +46 -0
- data/spec/models/subscribe_many_dto_spec.rb +46 -0
- data/spec/models/subscription_dto_spec.rb +1 -1
- data/spec/models/system_user_dto_spec.rb +64 -0
- data/spec/models/template_dto_spec.rb +13 -1
- data/spec/models/topic_channel_spec.rb +34 -0
- data/spec/models/topic_dto_spec.rb +37 -1
- data/spec/models/topic_query_scope_spec.rb +34 -0
- data/spec/models/track_notification_dto_spec.rb +7 -1
- data/spec/models/update_channel_template_dto_of_email_template_dto_spec.rb +52 -0
- data/spec/models/update_channel_template_dto_of_messaging_template_dto_spec.rb +52 -0
- data/spec/models/update_channel_template_dto_of_sms_template_dto_spec.rb +52 -0
- data/spec/models/update_integration_dto_spec.rb +7 -1
- data/spec/models/update_profile_dto_spec.rb +1 -1
- data/spec/models/update_system_user_dto_spec.rb +52 -0
- data/spec/models/upsert_app_dto_spec.rb +1 -1
- data/spec/models/upsert_template_dto_spec.rb +1 -1
- data/spec/models/upsert_templates_dto_spec.rb +1 -1
- data/spec/models/upsert_topic_dto_spec.rb +64 -0
- data/spec/models/upsert_topics_dto_spec.rb +40 -0
- data/spec/models/upsert_user_dto_spec.rb +7 -1
- data/spec/models/upsert_users_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +43 -1
- data/spec/models/{notification_dto_spec.rb → user_notification_base_dto_spec.rb} +29 -11
- data/spec/models/user_notification_channel_dto_spec.rb +64 -0
- data/spec/models/user_notification_details_dto_spec.rb +166 -0
- data/spec/models/user_notification_dto_spec.rb +154 -0
- data/spec/models/user_property_dto_spec.rb +52 -0
- data/spec/models/user_topic_dto_spec.rb +64 -0
- data/spec/models/web_push_subscription_dto_spec.rb +40 -0
- data/spec/spec_helper.rb +1 -1
- metadata +232 -69
- data/docs/AuthorizationApi.md +0 -121
- data/docs/IntegrationPropertyType.md +0 -6
- data/docs/NotificationSettingDto.md +0 -8
- data/docs/UserInfoApi.md +0 -83
- data/notifo-io-1.0.1.1.gem +0 -0
- 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,182 @@ rescue Notifo::ApiError => e
|
|
227
177
|
puts "Exception when calling AppsApi->apps_put_integration: #{e}"
|
228
178
|
end
|
229
179
|
|
230
|
-
api_instance = Notifo::
|
180
|
+
api_instance = Notifo::ConfigsApi.new
|
231
181
|
|
232
182
|
begin
|
233
|
-
|
183
|
+
#Get all supported languages.
|
184
|
+
result = api_instance.configs_get_languages
|
185
|
+
p result
|
234
186
|
rescue Notifo::ApiError => e
|
235
|
-
puts "Exception when calling
|
187
|
+
puts "Exception when calling ConfigsApi->configs_get_languages: #{e}"
|
236
188
|
end
|
237
189
|
|
238
|
-
api_instance = Notifo::
|
190
|
+
api_instance = Notifo::ConfigsApi.new
|
239
191
|
|
240
192
|
begin
|
241
|
-
|
193
|
+
#Get all supported timezones.
|
194
|
+
result = api_instance.configs_get_timezones
|
195
|
+
p result
|
242
196
|
rescue Notifo::ApiError => e
|
243
|
-
puts "Exception when calling
|
197
|
+
puts "Exception when calling ConfigsApi->configs_get_timezones: #{e}"
|
244
198
|
end
|
245
199
|
|
246
|
-
api_instance = Notifo::
|
200
|
+
api_instance = Notifo::DiagnosticsApi.new
|
247
201
|
|
248
202
|
begin
|
249
|
-
|
203
|
+
#Creates a dump and writes it into storage..
|
204
|
+
api_instance.diagnostics_get_dump
|
250
205
|
rescue Notifo::ApiError => e
|
251
|
-
puts "Exception when calling
|
206
|
+
puts "Exception when calling DiagnosticsApi->diagnostics_get_dump: #{e}"
|
252
207
|
end
|
253
208
|
|
254
|
-
api_instance = Notifo::
|
209
|
+
api_instance = Notifo::DiagnosticsApi.new
|
255
210
|
|
256
211
|
begin
|
257
|
-
#
|
258
|
-
|
212
|
+
#Creates a gc dump and writes it into storage.
|
213
|
+
api_instance.diagnostics_get_gc_dump
|
214
|
+
rescue Notifo::ApiError => e
|
215
|
+
puts "Exception when calling DiagnosticsApi->diagnostics_get_gc_dump: #{e}"
|
216
|
+
end
|
217
|
+
|
218
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
219
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
220
|
+
id = 'id_example' # String | The template ID.
|
221
|
+
|
222
|
+
|
223
|
+
begin
|
224
|
+
#Get the HTML preview for a channel template.
|
225
|
+
result = api_instance.email_template_preview_get_preview(app_id, id)
|
259
226
|
p result
|
260
227
|
rescue Notifo::ApiError => e
|
261
|
-
puts "Exception when calling
|
228
|
+
puts "Exception when calling EmailTemplatesApi->email_template_preview_get_preview: #{e}"
|
262
229
|
end
|
263
230
|
|
264
|
-
api_instance = Notifo::
|
231
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
232
|
+
body = Notifo::EmailPreviewRequestDto.new # EmailPreviewRequestDto | The template to render.
|
233
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
234
|
+
|
265
235
|
|
266
236
|
begin
|
267
|
-
#
|
268
|
-
result = api_instance.
|
237
|
+
#Render a preview for a email template.
|
238
|
+
result = api_instance.email_template_preview_post_preview(body, app_id)
|
269
239
|
p result
|
270
240
|
rescue Notifo::ApiError => e
|
271
|
-
puts "Exception when calling
|
241
|
+
puts "Exception when calling EmailTemplatesApi->email_template_preview_post_preview: #{e}"
|
242
|
+
end
|
243
|
+
|
244
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
245
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
246
|
+
code = 'code_example' # String | The template ID.
|
247
|
+
|
248
|
+
|
249
|
+
begin
|
250
|
+
#Delete a channel template.
|
251
|
+
api_instance.email_templates_delete_template(app_id, code)
|
252
|
+
rescue Notifo::ApiError => e
|
253
|
+
puts "Exception when calling EmailTemplatesApi->email_templates_delete_template: #{e}"
|
254
|
+
end
|
255
|
+
|
256
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
257
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
258
|
+
code = 'code_example' # String | The template ID.
|
259
|
+
language = 'language_example' # String | The language.
|
260
|
+
|
261
|
+
|
262
|
+
begin
|
263
|
+
#Delete a language channel template.
|
264
|
+
api_instance.email_templates_delete_template_language(app_id, code, language)
|
265
|
+
rescue Notifo::ApiError => e
|
266
|
+
puts "Exception when calling EmailTemplatesApi->email_templates_delete_template_language: #{e}"
|
267
|
+
end
|
268
|
+
|
269
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
270
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
271
|
+
id = 'id_example' # String | The template ID.
|
272
|
+
|
273
|
+
|
274
|
+
begin
|
275
|
+
#Get the channel template by id.
|
276
|
+
result = api_instance.email_templates_get_template(app_id, id)
|
277
|
+
p result
|
278
|
+
rescue Notifo::ApiError => e
|
279
|
+
puts "Exception when calling EmailTemplatesApi->email_templates_get_template: #{e}"
|
280
|
+
end
|
281
|
+
|
282
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
283
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
284
|
+
opts = {
|
285
|
+
query: 'query_example', # String | The optional query to search for items.
|
286
|
+
take: 56, # Integer | The number of items to return.
|
287
|
+
skip: 56 # Integer | The number of items to skip.
|
288
|
+
}
|
289
|
+
|
290
|
+
begin
|
291
|
+
#Get the channel templates.
|
292
|
+
result = api_instance.email_templates_get_templates(app_id, opts)
|
293
|
+
p result
|
294
|
+
rescue Notifo::ApiError => e
|
295
|
+
puts "Exception when calling EmailTemplatesApi->email_templates_get_templates: #{e}"
|
296
|
+
end
|
297
|
+
|
298
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
299
|
+
body = Notifo::CreateChannelTemplateDto.new # CreateChannelTemplateDto | The request object.
|
300
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
301
|
+
|
302
|
+
|
303
|
+
begin
|
304
|
+
#Create a channel template.
|
305
|
+
result = api_instance.email_templates_post_template(body, app_id)
|
306
|
+
p result
|
307
|
+
rescue Notifo::ApiError => e
|
308
|
+
puts "Exception when calling EmailTemplatesApi->email_templates_post_template: #{e}"
|
309
|
+
end
|
310
|
+
|
311
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
312
|
+
body = Notifo::CreateChannelTemplateLanguageDto.new # CreateChannelTemplateLanguageDto | The request object.
|
313
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
314
|
+
code = 'code_example' # String | The template code.
|
315
|
+
|
316
|
+
|
317
|
+
begin
|
318
|
+
#Create an app template language.
|
319
|
+
result = api_instance.email_templates_post_template_language(body, app_id, code)
|
320
|
+
p result
|
321
|
+
rescue Notifo::ApiError => e
|
322
|
+
puts "Exception when calling EmailTemplatesApi->email_templates_post_template_language: #{e}"
|
323
|
+
end
|
324
|
+
|
325
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
326
|
+
body = Notifo::UpdateChannelTemplateDtoOfEmailTemplateDto.new # UpdateChannelTemplateDtoOfEmailTemplateDto | The request object.
|
327
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
328
|
+
code = 'code_example' # String | The template code.
|
329
|
+
|
330
|
+
|
331
|
+
begin
|
332
|
+
#Update an app template.
|
333
|
+
api_instance.email_templates_put_template(body, app_id, code)
|
334
|
+
rescue Notifo::ApiError => e
|
335
|
+
puts "Exception when calling EmailTemplatesApi->email_templates_put_template: #{e}"
|
336
|
+
end
|
337
|
+
|
338
|
+
api_instance = Notifo::EmailTemplatesApi.new
|
339
|
+
body = Notifo::EmailTemplateDto.new # EmailTemplateDto | The request object.
|
340
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
341
|
+
code = 'code_example' # String | The template code.
|
342
|
+
language = 'language_example' # String | The language.
|
343
|
+
|
344
|
+
|
345
|
+
begin
|
346
|
+
#Update a channel template language.
|
347
|
+
api_instance.email_templates_put_template_language(body, app_id, code, language)
|
348
|
+
rescue Notifo::ApiError => e
|
349
|
+
puts "Exception when calling EmailTemplatesApi->email_templates_put_template_language: #{e}"
|
272
350
|
end
|
273
351
|
|
274
352
|
api_instance = Notifo::EventsApi.new
|
275
353
|
app_id = 'app_id_example' # String | The app where the events belongs to.
|
276
354
|
opts = {
|
355
|
+
channels: ['channels_example'], # Array<String> | The active channels.
|
277
356
|
query: 'query_example', # String | The optional query to search for items.
|
278
357
|
take: 56, # Integer | The number of items to return.
|
279
358
|
skip: 56 # Integer | The number of items to skip.
|
@@ -305,9 +384,9 @@ body = Notifo::PublishDto.new # PublishDto | The publish request.
|
|
305
384
|
|
306
385
|
begin
|
307
386
|
#Publish an event for the current user.
|
308
|
-
api_instance.
|
387
|
+
api_instance.events_post_my_events(body)
|
309
388
|
rescue Notifo::ApiError => e
|
310
|
-
puts "Exception when calling EventsApi->
|
389
|
+
puts "Exception when calling EventsApi->events_post_my_events: #{e}"
|
311
390
|
end
|
312
391
|
|
313
392
|
api_instance = Notifo::LogsApi.new
|
@@ -344,6 +423,7 @@ file_name = 'file_name_example' # String | The name of the media to download.
|
|
344
423
|
opts = {
|
345
424
|
cache: 789, # Integer | The cache duration.
|
346
425
|
download: 56, # Integer | Set it to 1 to create a download response.
|
426
|
+
bg: 'bg_example', # String | Optional background color.
|
347
427
|
width: 56, # Integer | The target width when an image.
|
348
428
|
height: 56, # Integer | The target height when an image.
|
349
429
|
quality: 56, # Integer | The target quality when an image.
|
@@ -351,7 +431,8 @@ opts = {
|
|
351
431
|
mode: Notifo::ResizeMode.new, # ResizeMode | The resize mode.
|
352
432
|
focus_x: 3.4, # Float | The x position of the focues point.
|
353
433
|
focus_y: 3.4, # Float | The y position of the focues point.
|
354
|
-
force: true # BOOLEAN | True to resize it and clear the cache.
|
434
|
+
force: true, # BOOLEAN | True to resize it and clear the cache.
|
435
|
+
empty_on_failure: true # BOOLEAN | True, to return an empty image on failure.
|
355
436
|
}
|
356
437
|
|
357
438
|
begin
|
@@ -368,6 +449,7 @@ file_name = 'file_name_example' # String | The name of the media to download.
|
|
368
449
|
opts = {
|
369
450
|
cache: 789, # Integer | The cache duration.
|
370
451
|
download: 56, # Integer | Set it to 1 to create a download response.
|
452
|
+
bg: 'bg_example', # String | Optional background color.
|
371
453
|
width: 56, # Integer | The target width when an image.
|
372
454
|
height: 56, # Integer | The target height when an image.
|
373
455
|
quality: 56, # Integer | The target quality when an image.
|
@@ -375,7 +457,8 @@ opts = {
|
|
375
457
|
mode: Notifo::ResizeMode.new, # ResizeMode | The resize mode.
|
376
458
|
focus_x: 3.4, # Float | The x position of the focues point.
|
377
459
|
focus_y: 3.4, # Float | The y position of the focues point.
|
378
|
-
force: true # BOOLEAN | True to resize it and clear the cache.
|
460
|
+
force: true, # BOOLEAN | True to resize it and clear the cache.
|
461
|
+
empty_on_failure: true # BOOLEAN | True, to return an empty image on failure.
|
379
462
|
}
|
380
463
|
|
381
464
|
begin
|
@@ -386,6 +469,32 @@ rescue Notifo::ApiError => e
|
|
386
469
|
puts "Exception when calling MediaApi->media_download2: #{e}"
|
387
470
|
end
|
388
471
|
|
472
|
+
api_instance = Notifo::MediaApi.new
|
473
|
+
app_id = 'app_id_example' # String | The app id where the media belongs to.
|
474
|
+
file_name = 'file_name_example' # String | The name of the media to download.
|
475
|
+
opts = {
|
476
|
+
cache: 789, # Integer | The cache duration.
|
477
|
+
download: 56, # Integer | Set it to 1 to create a download response.
|
478
|
+
bg: 'bg_example', # String | Optional background color.
|
479
|
+
width: 56, # Integer | The target width when an image.
|
480
|
+
height: 56, # Integer | The target height when an image.
|
481
|
+
quality: 56, # Integer | The target quality when an image.
|
482
|
+
preset: 'preset_example', # String | A preset dimension.
|
483
|
+
mode: Notifo::ResizeMode.new, # ResizeMode | The resize mode.
|
484
|
+
focus_x: 3.4, # Float | The x position of the focues point.
|
485
|
+
focus_y: 3.4, # Float | The y position of the focues point.
|
486
|
+
force: true, # BOOLEAN | True to resize it and clear the cache.
|
487
|
+
empty_on_failure: true # BOOLEAN | True, to return an empty image on failure.
|
488
|
+
}
|
489
|
+
|
490
|
+
begin
|
491
|
+
#Download a media object.
|
492
|
+
result = api_instance.media_download3(app_id, file_name, opts)
|
493
|
+
p result
|
494
|
+
rescue Notifo::ApiError => e
|
495
|
+
puts "Exception when calling MediaApi->media_download3: #{e}"
|
496
|
+
end
|
497
|
+
|
389
498
|
api_instance = Notifo::MediaApi.new
|
390
499
|
app_id = 'app_id_example' # String | The app where the media belongs to.
|
391
500
|
opts = {
|
@@ -402,6 +511,31 @@ rescue Notifo::ApiError => e
|
|
402
511
|
puts "Exception when calling MediaApi->media_get_medias: #{e}"
|
403
512
|
end
|
404
513
|
|
514
|
+
api_instance = Notifo::MediaApi.new
|
515
|
+
opts = {
|
516
|
+
url: 'url_example', # String | The app id where the media belongs to.
|
517
|
+
cache: 789, # Integer | The cache duration.
|
518
|
+
download: 56, # Integer | Set it to 1 to create a download response.
|
519
|
+
bg: 'bg_example', # String | Optional background color.
|
520
|
+
width: 56, # Integer | The target width when an image.
|
521
|
+
height: 56, # Integer | The target height when an image.
|
522
|
+
quality: 56, # Integer | The target quality when an image.
|
523
|
+
preset: 'preset_example', # String | A preset dimension.
|
524
|
+
mode: Notifo::ResizeMode.new, # ResizeMode | The resize mode.
|
525
|
+
focus_x: 3.4, # Float | The x position of the focues point.
|
526
|
+
focus_y: 3.4, # Float | The y position of the focues point.
|
527
|
+
force: true, # BOOLEAN | True to resize it and clear the cache.
|
528
|
+
empty_on_failure: true # BOOLEAN | True, to return an empty image on failure.
|
529
|
+
}
|
530
|
+
|
531
|
+
begin
|
532
|
+
#Download a media object.
|
533
|
+
result = api_instance.media_proxy_proxy_image(opts)
|
534
|
+
p result
|
535
|
+
rescue Notifo::ApiError => e
|
536
|
+
puts "Exception when calling MediaApi->media_proxy_proxy_image: #{e}"
|
537
|
+
end
|
538
|
+
|
405
539
|
api_instance = Notifo::MediaApi.new
|
406
540
|
app_id = 'app_id_example' # String | The app id where the media belongs to.
|
407
541
|
opts = {
|
@@ -415,25 +549,133 @@ rescue Notifo::ApiError => e
|
|
415
549
|
puts "Exception when calling MediaApi->media_upload: #{e}"
|
416
550
|
end
|
417
551
|
|
552
|
+
api_instance = Notifo::MessagingTemplatesApi.new
|
553
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
554
|
+
code = 'code_example' # String | The template ID.
|
555
|
+
|
556
|
+
|
557
|
+
begin
|
558
|
+
#Delete a channel template.
|
559
|
+
api_instance.messaging_templates_delete_template(app_id, code)
|
560
|
+
rescue Notifo::ApiError => e
|
561
|
+
puts "Exception when calling MessagingTemplatesApi->messaging_templates_delete_template: #{e}"
|
562
|
+
end
|
563
|
+
|
564
|
+
api_instance = Notifo::MessagingTemplatesApi.new
|
565
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
566
|
+
code = 'code_example' # String | The template ID.
|
567
|
+
language = 'language_example' # String | The language.
|
568
|
+
|
569
|
+
|
570
|
+
begin
|
571
|
+
#Delete a language channel template.
|
572
|
+
api_instance.messaging_templates_delete_template_language(app_id, code, language)
|
573
|
+
rescue Notifo::ApiError => e
|
574
|
+
puts "Exception when calling MessagingTemplatesApi->messaging_templates_delete_template_language: #{e}"
|
575
|
+
end
|
576
|
+
|
577
|
+
api_instance = Notifo::MessagingTemplatesApi.new
|
578
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
579
|
+
id = 'id_example' # String | The template ID.
|
580
|
+
|
581
|
+
|
582
|
+
begin
|
583
|
+
#Get the channel template by id.
|
584
|
+
result = api_instance.messaging_templates_get_template(app_id, id)
|
585
|
+
p result
|
586
|
+
rescue Notifo::ApiError => e
|
587
|
+
puts "Exception when calling MessagingTemplatesApi->messaging_templates_get_template: #{e}"
|
588
|
+
end
|
589
|
+
|
590
|
+
api_instance = Notifo::MessagingTemplatesApi.new
|
591
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
592
|
+
opts = {
|
593
|
+
query: 'query_example', # String | The optional query to search for items.
|
594
|
+
take: 56, # Integer | The number of items to return.
|
595
|
+
skip: 56 # Integer | The number of items to skip.
|
596
|
+
}
|
597
|
+
|
598
|
+
begin
|
599
|
+
#Get the channel templates.
|
600
|
+
result = api_instance.messaging_templates_get_templates(app_id, opts)
|
601
|
+
p result
|
602
|
+
rescue Notifo::ApiError => e
|
603
|
+
puts "Exception when calling MessagingTemplatesApi->messaging_templates_get_templates: #{e}"
|
604
|
+
end
|
605
|
+
|
606
|
+
api_instance = Notifo::MessagingTemplatesApi.new
|
607
|
+
body = Notifo::CreateChannelTemplateDto.new # CreateChannelTemplateDto | The request object.
|
608
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
609
|
+
|
610
|
+
|
611
|
+
begin
|
612
|
+
#Create a channel template.
|
613
|
+
result = api_instance.messaging_templates_post_template(body, app_id)
|
614
|
+
p result
|
615
|
+
rescue Notifo::ApiError => e
|
616
|
+
puts "Exception when calling MessagingTemplatesApi->messaging_templates_post_template: #{e}"
|
617
|
+
end
|
618
|
+
|
619
|
+
api_instance = Notifo::MessagingTemplatesApi.new
|
620
|
+
body = Notifo::CreateChannelTemplateLanguageDto.new # CreateChannelTemplateLanguageDto | The request object.
|
621
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
622
|
+
code = 'code_example' # String | The template code.
|
623
|
+
|
624
|
+
|
625
|
+
begin
|
626
|
+
#Create an app template language.
|
627
|
+
result = api_instance.messaging_templates_post_template_language(body, app_id, code)
|
628
|
+
p result
|
629
|
+
rescue Notifo::ApiError => e
|
630
|
+
puts "Exception when calling MessagingTemplatesApi->messaging_templates_post_template_language: #{e}"
|
631
|
+
end
|
632
|
+
|
633
|
+
api_instance = Notifo::MessagingTemplatesApi.new
|
634
|
+
body = Notifo::UpdateChannelTemplateDtoOfMessagingTemplateDto.new # UpdateChannelTemplateDtoOfMessagingTemplateDto | The request object.
|
635
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
636
|
+
code = 'code_example' # String | The template code.
|
637
|
+
|
638
|
+
|
639
|
+
begin
|
640
|
+
#Update an app template.
|
641
|
+
api_instance.messaging_templates_put_template(body, app_id, code)
|
642
|
+
rescue Notifo::ApiError => e
|
643
|
+
puts "Exception when calling MessagingTemplatesApi->messaging_templates_put_template: #{e}"
|
644
|
+
end
|
645
|
+
|
646
|
+
api_instance = Notifo::MessagingTemplatesApi.new
|
647
|
+
body = Notifo::MessagingTemplateDto.new # MessagingTemplateDto | The request object.
|
648
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
649
|
+
code = 'code_example' # String | The template code.
|
650
|
+
language = 'language_example' # String | The language.
|
651
|
+
|
652
|
+
|
653
|
+
begin
|
654
|
+
#Update a channel template language.
|
655
|
+
api_instance.messaging_templates_put_template_language(body, app_id, code, language)
|
656
|
+
rescue Notifo::ApiError => e
|
657
|
+
puts "Exception when calling MessagingTemplatesApi->messaging_templates_put_template_language: #{e}"
|
658
|
+
end
|
659
|
+
|
418
660
|
api_instance = Notifo::MobilePushApi.new
|
419
661
|
token = 'token_example' # String | The token to remove.
|
420
662
|
|
421
663
|
|
422
664
|
begin
|
423
665
|
#Deletes a mobile push token for the current user.
|
424
|
-
api_instance.
|
666
|
+
api_instance.mobile_push_delete_my_token(token)
|
425
667
|
rescue Notifo::ApiError => e
|
426
|
-
puts "Exception when calling MobilePushApi->
|
668
|
+
puts "Exception when calling MobilePushApi->mobile_push_delete_my_token: #{e}"
|
427
669
|
end
|
428
670
|
|
429
671
|
api_instance = Notifo::MobilePushApi.new
|
430
672
|
|
431
673
|
begin
|
432
674
|
#Returns the mobile push tokens.
|
433
|
-
result = api_instance.
|
675
|
+
result = api_instance.mobile_push_get_my_token
|
434
676
|
p result
|
435
677
|
rescue Notifo::ApiError => e
|
436
|
-
puts "Exception when calling MobilePushApi->
|
678
|
+
puts "Exception when calling MobilePushApi->mobile_push_get_my_token: #{e}"
|
437
679
|
end
|
438
680
|
|
439
681
|
api_instance = Notifo::MobilePushApi.new
|
@@ -442,9 +684,9 @@ body = Notifo::RegisterMobileTokenDto.new # RegisterMobileTokenDto | The request
|
|
442
684
|
|
443
685
|
begin
|
444
686
|
#Register a mobile push token for the current user.
|
445
|
-
api_instance.
|
687
|
+
api_instance.mobile_push_post_my_token(body)
|
446
688
|
rescue Notifo::ApiError => e
|
447
|
-
puts "Exception when calling MobilePushApi->
|
689
|
+
puts "Exception when calling MobilePushApi->mobile_push_post_my_token: #{e}"
|
448
690
|
end
|
449
691
|
|
450
692
|
api_instance = Notifo::NotificationsApi.new
|
@@ -453,23 +695,64 @@ body = Notifo::TrackNotificationDto.new # TrackNotificationDto | The request obj
|
|
453
695
|
|
454
696
|
begin
|
455
697
|
#Confirms the user notifications for the current user.
|
456
|
-
api_instance.
|
698
|
+
api_instance.notifications_confirm_me(body)
|
457
699
|
rescue Notifo::ApiError => e
|
458
|
-
puts "Exception when calling NotificationsApi->
|
700
|
+
puts "Exception when calling NotificationsApi->notifications_confirm_me: #{e}"
|
459
701
|
end
|
460
702
|
|
461
703
|
api_instance = Notifo::NotificationsApi.new
|
704
|
+
app_id = 'app_id_example' # String | The app where the user belongs to.
|
705
|
+
opts = {
|
706
|
+
channels: ['channels_example'], # Array<String> | The active channels.
|
707
|
+
channel: 'channel_example', # String | The source channel.
|
708
|
+
correlation_id: 'correlation_id_example', # String | The correlation ID, that can be used to query notifications.
|
709
|
+
query: 'query_example', # String | The optional query to search for items.
|
710
|
+
take: 56, # Integer | The number of items to return.
|
711
|
+
skip: 56 # Integer | The number of items to skip.
|
712
|
+
}
|
462
713
|
|
463
714
|
begin
|
464
|
-
#Query
|
465
|
-
result = api_instance.
|
715
|
+
#Query notifications.
|
716
|
+
result = api_instance.notifications_get_all_notifications(app_id, opts)
|
466
717
|
p result
|
467
718
|
rescue Notifo::ApiError => e
|
468
|
-
puts "Exception when calling NotificationsApi->
|
719
|
+
puts "Exception when calling NotificationsApi->notifications_get_all_notifications: #{e}"
|
469
720
|
end
|
470
721
|
|
471
722
|
api_instance = Notifo::NotificationsApi.new
|
472
723
|
opts = {
|
724
|
+
channel: 'channel_example' # String | The tracking channel.
|
725
|
+
}
|
726
|
+
|
727
|
+
begin
|
728
|
+
#Query archived user notifications of the current user.
|
729
|
+
result = api_instance.notifications_get_my_archive(opts)
|
730
|
+
p result
|
731
|
+
rescue Notifo::ApiError => e
|
732
|
+
puts "Exception when calling NotificationsApi->notifications_get_my_archive: #{e}"
|
733
|
+
end
|
734
|
+
|
735
|
+
api_instance = Notifo::NotificationsApi.new
|
736
|
+
opts = {
|
737
|
+
device_identifier: 'device_identifier_example', # String | The device identifier (aka mobile push token).
|
738
|
+
after: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The max age of the notifications.
|
739
|
+
include_unseen: true, # BOOLEAN | True to also include unseen notifications.
|
740
|
+
take: 56 # Integer | The number of notifications to query.
|
741
|
+
}
|
742
|
+
|
743
|
+
begin
|
744
|
+
#Query user notifications of the current user for a specific device.
|
745
|
+
result = api_instance.notifications_get_my_device_notifications(opts)
|
746
|
+
p result
|
747
|
+
rescue Notifo::ApiError => e
|
748
|
+
puts "Exception when calling NotificationsApi->notifications_get_my_device_notifications: #{e}"
|
749
|
+
end
|
750
|
+
|
751
|
+
api_instance = Notifo::NotificationsApi.new
|
752
|
+
opts = {
|
753
|
+
channels: ['channels_example'], # Array<String> | The active channels.
|
754
|
+
channel: 'channel_example', # String | The source channel.
|
755
|
+
correlation_id: 'correlation_id_example', # String | The correlation ID, that can be used to query notifications.
|
473
756
|
query: 'query_example', # String | The optional query to search for items.
|
474
757
|
take: 56, # Integer | The number of items to return.
|
475
758
|
skip: 56 # Integer | The number of items to skip.
|
@@ -477,12 +760,255 @@ opts = {
|
|
477
760
|
|
478
761
|
begin
|
479
762
|
#Query user notifications of the current user.
|
480
|
-
result = api_instance.
|
763
|
+
result = api_instance.notifications_get_my_notifications(opts)
|
764
|
+
p result
|
765
|
+
rescue Notifo::ApiError => e
|
766
|
+
puts "Exception when calling NotificationsApi->notifications_get_my_notifications: #{e}"
|
767
|
+
end
|
768
|
+
|
769
|
+
api_instance = Notifo::NotificationsApi.new
|
770
|
+
app_id = 'app_id_example' # String | The app where the user belongs to.
|
771
|
+
id = 'id_example' # String | The user id.
|
772
|
+
opts = {
|
773
|
+
channels: ['channels_example'], # Array<String> | The active channels.
|
774
|
+
channel: 'channel_example', # String | The source channel.
|
775
|
+
correlation_id: 'correlation_id_example', # String | The correlation ID, that can be used to query notifications.
|
776
|
+
query: 'query_example', # String | The optional query to search for items.
|
777
|
+
take: 56, # Integer | The number of items to return.
|
778
|
+
skip: 56 # Integer | The number of items to skip.
|
779
|
+
}
|
780
|
+
|
781
|
+
begin
|
782
|
+
#Query user notifications.
|
783
|
+
result = api_instance.notifications_get_notifications(app_id, id, opts)
|
481
784
|
p result
|
482
785
|
rescue Notifo::ApiError => e
|
483
786
|
puts "Exception when calling NotificationsApi->notifications_get_notifications: #{e}"
|
484
787
|
end
|
485
788
|
|
789
|
+
api_instance = Notifo::PingApi.new
|
790
|
+
|
791
|
+
begin
|
792
|
+
#Get some info about the API.
|
793
|
+
result = api_instance.ping_get_info
|
794
|
+
p result
|
795
|
+
rescue Notifo::ApiError => e
|
796
|
+
puts "Exception when calling PingApi->ping_get_info: #{e}"
|
797
|
+
end
|
798
|
+
|
799
|
+
api_instance = Notifo::PingApi.new
|
800
|
+
|
801
|
+
begin
|
802
|
+
#Get ping status of the API.
|
803
|
+
api_instance.ping_get_old_ping
|
804
|
+
rescue Notifo::ApiError => e
|
805
|
+
puts "Exception when calling PingApi->ping_get_old_ping: #{e}"
|
806
|
+
end
|
807
|
+
|
808
|
+
api_instance = Notifo::PingApi.new
|
809
|
+
|
810
|
+
begin
|
811
|
+
#Get ping status of the API.
|
812
|
+
api_instance.ping_get_ping
|
813
|
+
rescue Notifo::ApiError => e
|
814
|
+
puts "Exception when calling PingApi->ping_get_ping: #{e}"
|
815
|
+
end
|
816
|
+
|
817
|
+
api_instance = Notifo::SmsTemplatesApi.new
|
818
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
819
|
+
code = 'code_example' # String | The template ID.
|
820
|
+
|
821
|
+
|
822
|
+
begin
|
823
|
+
#Delete a channel template.
|
824
|
+
api_instance.sms_templates_delete_template(app_id, code)
|
825
|
+
rescue Notifo::ApiError => e
|
826
|
+
puts "Exception when calling SmsTemplatesApi->sms_templates_delete_template: #{e}"
|
827
|
+
end
|
828
|
+
|
829
|
+
api_instance = Notifo::SmsTemplatesApi.new
|
830
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
831
|
+
code = 'code_example' # String | The template ID.
|
832
|
+
language = 'language_example' # String | The language.
|
833
|
+
|
834
|
+
|
835
|
+
begin
|
836
|
+
#Delete a language channel template.
|
837
|
+
api_instance.sms_templates_delete_template_language(app_id, code, language)
|
838
|
+
rescue Notifo::ApiError => e
|
839
|
+
puts "Exception when calling SmsTemplatesApi->sms_templates_delete_template_language: #{e}"
|
840
|
+
end
|
841
|
+
|
842
|
+
api_instance = Notifo::SmsTemplatesApi.new
|
843
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
844
|
+
id = 'id_example' # String | The template ID.
|
845
|
+
|
846
|
+
|
847
|
+
begin
|
848
|
+
#Get the channel template by id.
|
849
|
+
result = api_instance.sms_templates_get_template(app_id, id)
|
850
|
+
p result
|
851
|
+
rescue Notifo::ApiError => e
|
852
|
+
puts "Exception when calling SmsTemplatesApi->sms_templates_get_template: #{e}"
|
853
|
+
end
|
854
|
+
|
855
|
+
api_instance = Notifo::SmsTemplatesApi.new
|
856
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
857
|
+
opts = {
|
858
|
+
query: 'query_example', # String | The optional query to search for items.
|
859
|
+
take: 56, # Integer | The number of items to return.
|
860
|
+
skip: 56 # Integer | The number of items to skip.
|
861
|
+
}
|
862
|
+
|
863
|
+
begin
|
864
|
+
#Get the channel templates.
|
865
|
+
result = api_instance.sms_templates_get_templates(app_id, opts)
|
866
|
+
p result
|
867
|
+
rescue Notifo::ApiError => e
|
868
|
+
puts "Exception when calling SmsTemplatesApi->sms_templates_get_templates: #{e}"
|
869
|
+
end
|
870
|
+
|
871
|
+
api_instance = Notifo::SmsTemplatesApi.new
|
872
|
+
body = Notifo::CreateChannelTemplateDto.new # CreateChannelTemplateDto | The request object.
|
873
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
874
|
+
|
875
|
+
|
876
|
+
begin
|
877
|
+
#Create a channel template.
|
878
|
+
result = api_instance.sms_templates_post_template(body, app_id)
|
879
|
+
p result
|
880
|
+
rescue Notifo::ApiError => e
|
881
|
+
puts "Exception when calling SmsTemplatesApi->sms_templates_post_template: #{e}"
|
882
|
+
end
|
883
|
+
|
884
|
+
api_instance = Notifo::SmsTemplatesApi.new
|
885
|
+
body = Notifo::CreateChannelTemplateLanguageDto.new # CreateChannelTemplateLanguageDto | The request object.
|
886
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
887
|
+
code = 'code_example' # String | The template code.
|
888
|
+
|
889
|
+
|
890
|
+
begin
|
891
|
+
#Create an app template language.
|
892
|
+
result = api_instance.sms_templates_post_template_language(body, app_id, code)
|
893
|
+
p result
|
894
|
+
rescue Notifo::ApiError => e
|
895
|
+
puts "Exception when calling SmsTemplatesApi->sms_templates_post_template_language: #{e}"
|
896
|
+
end
|
897
|
+
|
898
|
+
api_instance = Notifo::SmsTemplatesApi.new
|
899
|
+
body = Notifo::UpdateChannelTemplateDtoOfSmsTemplateDto.new # UpdateChannelTemplateDtoOfSmsTemplateDto | The request object.
|
900
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
901
|
+
code = 'code_example' # String | The template code.
|
902
|
+
|
903
|
+
|
904
|
+
begin
|
905
|
+
#Update an app template.
|
906
|
+
api_instance.sms_templates_put_template(body, app_id, code)
|
907
|
+
rescue Notifo::ApiError => e
|
908
|
+
puts "Exception when calling SmsTemplatesApi->sms_templates_put_template: #{e}"
|
909
|
+
end
|
910
|
+
|
911
|
+
api_instance = Notifo::SmsTemplatesApi.new
|
912
|
+
body = Notifo::SmsTemplateDto.new # SmsTemplateDto | The request object.
|
913
|
+
app_id = 'app_id_example' # String | The id of the app where the templates belong to.
|
914
|
+
code = 'code_example' # String | The template code.
|
915
|
+
language = 'language_example' # String | The language.
|
916
|
+
|
917
|
+
|
918
|
+
begin
|
919
|
+
#Update a channel template language.
|
920
|
+
api_instance.sms_templates_put_template_language(body, app_id, code, language)
|
921
|
+
rescue Notifo::ApiError => e
|
922
|
+
puts "Exception when calling SmsTemplatesApi->sms_templates_put_template_language: #{e}"
|
923
|
+
end
|
924
|
+
|
925
|
+
api_instance = Notifo::SystemUsersApi.new
|
926
|
+
id = 'id_example' # String | The user ID.
|
927
|
+
|
928
|
+
|
929
|
+
begin
|
930
|
+
#Delete the user.
|
931
|
+
api_instance.system_users_delete_user(id)
|
932
|
+
rescue Notifo::ApiError => e
|
933
|
+
puts "Exception when calling SystemUsersApi->system_users_delete_user: #{e}"
|
934
|
+
end
|
935
|
+
|
936
|
+
api_instance = Notifo::SystemUsersApi.new
|
937
|
+
id = 'id_example' # String | The user ID.
|
938
|
+
|
939
|
+
|
940
|
+
begin
|
941
|
+
#Get a user.
|
942
|
+
result = api_instance.system_users_get_user(id)
|
943
|
+
p result
|
944
|
+
rescue Notifo::ApiError => e
|
945
|
+
puts "Exception when calling SystemUsersApi->system_users_get_user: #{e}"
|
946
|
+
end
|
947
|
+
|
948
|
+
api_instance = Notifo::SystemUsersApi.new
|
949
|
+
opts = {
|
950
|
+
query: 'query_example', # String | The optional query to search for items.
|
951
|
+
take: 56, # Integer | The number of items to return.
|
952
|
+
skip: 56 # Integer | The number of items to skip.
|
953
|
+
}
|
954
|
+
|
955
|
+
begin
|
956
|
+
#Query users.
|
957
|
+
result = api_instance.system_users_get_users(opts)
|
958
|
+
p result
|
959
|
+
rescue Notifo::ApiError => e
|
960
|
+
puts "Exception when calling SystemUsersApi->system_users_get_users: #{e}"
|
961
|
+
end
|
962
|
+
|
963
|
+
api_instance = Notifo::SystemUsersApi.new
|
964
|
+
id = 'id_example' # String | The user ID.
|
965
|
+
|
966
|
+
|
967
|
+
begin
|
968
|
+
#Lock the user.
|
969
|
+
result = api_instance.system_users_lock_user(id)
|
970
|
+
p result
|
971
|
+
rescue Notifo::ApiError => e
|
972
|
+
puts "Exception when calling SystemUsersApi->system_users_lock_user: #{e}"
|
973
|
+
end
|
974
|
+
|
975
|
+
api_instance = Notifo::SystemUsersApi.new
|
976
|
+
body = Notifo::CreateSystemUserDto.new # CreateSystemUserDto | The create request.
|
977
|
+
|
978
|
+
|
979
|
+
begin
|
980
|
+
#Create a user.
|
981
|
+
result = api_instance.system_users_post_user(body)
|
982
|
+
p result
|
983
|
+
rescue Notifo::ApiError => e
|
984
|
+
puts "Exception when calling SystemUsersApi->system_users_post_user: #{e}"
|
985
|
+
end
|
986
|
+
|
987
|
+
api_instance = Notifo::SystemUsersApi.new
|
988
|
+
body = Notifo::UpdateSystemUserDto.new # UpdateSystemUserDto | The update request.
|
989
|
+
id = 'id_example' # String | The user ID.
|
990
|
+
|
991
|
+
|
992
|
+
begin
|
993
|
+
#Update the user.
|
994
|
+
result = api_instance.system_users_put_user(body, id)
|
995
|
+
p result
|
996
|
+
rescue Notifo::ApiError => e
|
997
|
+
puts "Exception when calling SystemUsersApi->system_users_put_user: #{e}"
|
998
|
+
end
|
999
|
+
|
1000
|
+
api_instance = Notifo::SystemUsersApi.new
|
1001
|
+
id = 'id_example' # String | The user ID.
|
1002
|
+
|
1003
|
+
|
1004
|
+
begin
|
1005
|
+
#Unlock the user.
|
1006
|
+
result = api_instance.system_users_unlock_user(id)
|
1007
|
+
p result
|
1008
|
+
rescue Notifo::ApiError => e
|
1009
|
+
puts "Exception when calling SystemUsersApi->system_users_unlock_user: #{e}"
|
1010
|
+
end
|
1011
|
+
|
486
1012
|
api_instance = Notifo::TemplatesApi.new
|
487
1013
|
app_id = 'app_id_example' # String | The app where the templates belong to.
|
488
1014
|
code = 'code_example' # String | The template code to delete.
|
@@ -490,8 +1016,7 @@ code = 'code_example' # String | The template code to delete.
|
|
490
1016
|
|
491
1017
|
begin
|
492
1018
|
#Delete a template.
|
493
|
-
|
494
|
-
p result
|
1019
|
+
api_instance.templates_delete_template(app_id, code)
|
495
1020
|
rescue Notifo::ApiError => e
|
496
1021
|
puts "Exception when calling TemplatesApi->templates_delete_template: #{e}"
|
497
1022
|
end
|
@@ -525,9 +1050,22 @@ rescue Notifo::ApiError => e
|
|
525
1050
|
puts "Exception when calling TemplatesApi->templates_post_templates: #{e}"
|
526
1051
|
end
|
527
1052
|
|
1053
|
+
api_instance = Notifo::TopicsApi.new
|
1054
|
+
app_id = 'app_id_example' # String | The app where the topics belong to.
|
1055
|
+
path = 'path_example' # String | The path of the topic to delete.
|
1056
|
+
|
1057
|
+
|
1058
|
+
begin
|
1059
|
+
#Delete a topic.
|
1060
|
+
api_instance.topics_delete_topic(app_id, path)
|
1061
|
+
rescue Notifo::ApiError => e
|
1062
|
+
puts "Exception when calling TopicsApi->topics_delete_topic: #{e}"
|
1063
|
+
end
|
1064
|
+
|
528
1065
|
api_instance = Notifo::TopicsApi.new
|
529
1066
|
app_id = 'app_id_example' # String | The app where the topics belongs to.
|
530
1067
|
opts = {
|
1068
|
+
scope: Notifo::TopicQueryScope.new, # TopicQueryScope | The scope of the query.
|
531
1069
|
query: 'query_example', # String | The optional query to search for items.
|
532
1070
|
take: 56, # Integer | The number of items to return.
|
533
1071
|
skip: 56 # Integer | The number of items to skip.
|
@@ -541,27 +1079,79 @@ rescue Notifo::ApiError => e
|
|
541
1079
|
puts "Exception when calling TopicsApi->topics_get_topics: #{e}"
|
542
1080
|
end
|
543
1081
|
|
1082
|
+
api_instance = Notifo::TopicsApi.new
|
1083
|
+
body = Notifo::UpsertTopicsDto.new # UpsertTopicsDto | The upsert request.
|
1084
|
+
app_id = 'app_id_example' # String | The app where the topics belong to.
|
1085
|
+
|
1086
|
+
|
1087
|
+
begin
|
1088
|
+
#Upsert topics.
|
1089
|
+
result = api_instance.topics_post_topics(body, app_id)
|
1090
|
+
p result
|
1091
|
+
rescue Notifo::ApiError => e
|
1092
|
+
puts "Exception when calling TopicsApi->topics_post_topics: #{e}"
|
1093
|
+
end
|
1094
|
+
|
544
1095
|
api_instance = Notifo::UserApi.new
|
545
|
-
|
1096
|
+
prefix = 'prefix_example' # String | The topic prefix.
|
546
1097
|
|
547
1098
|
|
548
1099
|
begin
|
549
|
-
#
|
550
|
-
api_instance.user_delete_subscription(
|
1100
|
+
#Remove my subscription.
|
1101
|
+
api_instance.user_delete_subscription(prefix)
|
551
1102
|
rescue Notifo::ApiError => e
|
552
1103
|
puts "Exception when calling UserApi->user_delete_subscription: #{e}"
|
553
1104
|
end
|
554
1105
|
|
1106
|
+
api_instance = Notifo::UserApi.new
|
1107
|
+
|
1108
|
+
begin
|
1109
|
+
#Get the current admin user.
|
1110
|
+
result = api_instance.user_get_admin_user
|
1111
|
+
p result
|
1112
|
+
rescue Notifo::ApiError => e
|
1113
|
+
puts "Exception when calling UserApi->user_get_admin_user: #{e}"
|
1114
|
+
end
|
1115
|
+
|
555
1116
|
api_instance = Notifo::UserApi.new
|
556
1117
|
topic = 'topic_example' # String | The topic path.
|
557
1118
|
|
558
1119
|
|
559
1120
|
begin
|
560
1121
|
#Gets a user subscription.
|
561
|
-
result = api_instance.
|
1122
|
+
result = api_instance.user_get_my_subscription(topic)
|
562
1123
|
p result
|
563
1124
|
rescue Notifo::ApiError => e
|
564
|
-
puts "Exception when calling UserApi->
|
1125
|
+
puts "Exception when calling UserApi->user_get_my_subscription: #{e}"
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
api_instance = Notifo::UserApi.new
|
1129
|
+
opts = {
|
1130
|
+
topics: 'topics_example', # String | The topics we are interested in.
|
1131
|
+
query: 'query_example', # String | The optional query to search for items.
|
1132
|
+
take: 56, # Integer | The number of items to return.
|
1133
|
+
skip: 56 # Integer | The number of items to skip.
|
1134
|
+
}
|
1135
|
+
|
1136
|
+
begin
|
1137
|
+
#Query the user subscriptions.
|
1138
|
+
result = api_instance.user_get_my_subscriptions(opts)
|
1139
|
+
p result
|
1140
|
+
rescue Notifo::ApiError => e
|
1141
|
+
puts "Exception when calling UserApi->user_get_my_subscriptions: #{e}"
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
api_instance = Notifo::UserApi.new
|
1145
|
+
opts = {
|
1146
|
+
language: 'language_example' # String | The optional language.
|
1147
|
+
}
|
1148
|
+
|
1149
|
+
begin
|
1150
|
+
#Query the user topics.
|
1151
|
+
result = api_instance.user_get_topics(opts)
|
1152
|
+
p result
|
1153
|
+
rescue Notifo::ApiError => e
|
1154
|
+
puts "Exception when calling UserApi->user_get_topics: #{e}"
|
565
1155
|
end
|
566
1156
|
|
567
1157
|
api_instance = Notifo::UserApi.new
|
@@ -575,14 +1165,14 @@ rescue Notifo::ApiError => e
|
|
575
1165
|
end
|
576
1166
|
|
577
1167
|
api_instance = Notifo::UserApi.new
|
578
|
-
body = Notifo::
|
1168
|
+
body = Notifo::SubscribeManyDto.new # SubscribeManyDto | The subscription settings.
|
579
1169
|
|
580
1170
|
|
581
1171
|
begin
|
582
|
-
#
|
583
|
-
api_instance.
|
1172
|
+
#Upserts or deletes my subscriptions.
|
1173
|
+
api_instance.user_post_my_subscriptions(body)
|
584
1174
|
rescue Notifo::ApiError => e
|
585
|
-
puts "Exception when calling UserApi->
|
1175
|
+
puts "Exception when calling UserApi->user_post_my_subscriptions: #{e}"
|
586
1176
|
end
|
587
1177
|
|
588
1178
|
api_instance = Notifo::UserApi.new
|
@@ -597,43 +1187,40 @@ rescue Notifo::ApiError => e
|
|
597
1187
|
puts "Exception when calling UserApi->user_post_user: #{e}"
|
598
1188
|
end
|
599
1189
|
|
600
|
-
api_instance = Notifo::
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
rescue Notifo::ApiError => e
|
605
|
-
puts "Exception when calling UserInfoApi->user_info_userinfo: #{e}"
|
606
|
-
end
|
1190
|
+
api_instance = Notifo::UsersApi.new
|
1191
|
+
app_id = 'app_id_example' # String | The app where the users belong to.
|
1192
|
+
id = 'id_example' # String | The user ID.
|
1193
|
+
prefix = 'prefix_example' # String | The topic prefix.
|
607
1194
|
|
608
|
-
api_instance = Notifo::UserInfoApi.new
|
609
1195
|
|
610
1196
|
begin
|
611
|
-
|
1197
|
+
#Remove an allowed topic.
|
1198
|
+
api_instance.users_delete_allowed_topic(app_id, id, prefix)
|
612
1199
|
rescue Notifo::ApiError => e
|
613
|
-
puts "Exception when calling
|
1200
|
+
puts "Exception when calling UsersApi->users_delete_allowed_topic: #{e}"
|
614
1201
|
end
|
615
1202
|
|
616
1203
|
api_instance = Notifo::UsersApi.new
|
617
1204
|
app_id = 'app_id_example' # String | The app where the users belong to.
|
618
|
-
id = 'id_example' # String | The user
|
619
|
-
|
1205
|
+
id = 'id_example' # String | The user ID.
|
1206
|
+
token = 'token_example' # String | The token.
|
620
1207
|
|
621
1208
|
|
622
1209
|
begin
|
623
|
-
#Remove an
|
624
|
-
api_instance.
|
1210
|
+
#Remove an web push token.
|
1211
|
+
api_instance.users_delete_mobile_push_token(app_id, id, token)
|
625
1212
|
rescue Notifo::ApiError => e
|
626
|
-
puts "Exception when calling UsersApi->
|
1213
|
+
puts "Exception when calling UsersApi->users_delete_mobile_push_token: #{e}"
|
627
1214
|
end
|
628
1215
|
|
629
1216
|
api_instance = Notifo::UsersApi.new
|
630
1217
|
app_id = 'app_id_example' # String | The app where the user belongs to.
|
631
|
-
id = 'id_example' # String | The user
|
1218
|
+
id = 'id_example' # String | The user ID.
|
632
1219
|
prefix = 'prefix_example' # String | The topic prefix.
|
633
1220
|
|
634
1221
|
|
635
1222
|
begin
|
636
|
-
#
|
1223
|
+
#Unsubscribes a user from a subscription.
|
637
1224
|
api_instance.users_delete_subscription(app_id, id, prefix)
|
638
1225
|
rescue Notifo::ApiError => e
|
639
1226
|
puts "Exception when calling UsersApi->users_delete_subscription: #{e}"
|
@@ -646,15 +1233,27 @@ id = 'id_example' # String | The user id to delete.
|
|
646
1233
|
|
647
1234
|
begin
|
648
1235
|
#Delete a user.
|
649
|
-
|
650
|
-
p result
|
1236
|
+
api_instance.users_delete_user(app_id, id)
|
651
1237
|
rescue Notifo::ApiError => e
|
652
1238
|
puts "Exception when calling UsersApi->users_delete_user: #{e}"
|
653
1239
|
end
|
654
1240
|
|
1241
|
+
api_instance = Notifo::UsersApi.new
|
1242
|
+
app_id = 'app_id_example' # String | The app where the users belong to.
|
1243
|
+
id = 'id_example' # String | The user ID.
|
1244
|
+
endpoint = 'endpoint_example' # String | The endpoint.
|
1245
|
+
|
1246
|
+
|
1247
|
+
begin
|
1248
|
+
#Remove an web push subscription.
|
1249
|
+
api_instance.users_delete_web_push_subscription(app_id, id, endpoint)
|
1250
|
+
rescue Notifo::ApiError => e
|
1251
|
+
puts "Exception when calling UsersApi->users_delete_web_push_subscription: #{e}"
|
1252
|
+
end
|
1253
|
+
|
655
1254
|
api_instance = Notifo::UsersApi.new
|
656
1255
|
app_id = 'app_id_example' # String | The app where the user belongs to.
|
657
|
-
id = 'id_example' # String | The user
|
1256
|
+
id = 'id_example' # String | The user ID.
|
658
1257
|
opts = {
|
659
1258
|
query: 'query_example', # String | The optional query to search for items.
|
660
1259
|
take: 56, # Integer | The number of items to return.
|
@@ -671,12 +1270,14 @@ end
|
|
671
1270
|
|
672
1271
|
api_instance = Notifo::UsersApi.new
|
673
1272
|
app_id = 'app_id_example' # String | The app where the user belongs to.
|
674
|
-
id = 'id_example' # String | The user
|
675
|
-
|
1273
|
+
id = 'id_example' # String | The user ID.
|
1274
|
+
opts = {
|
1275
|
+
with_details: false # BOOLEAN | Provide extra details, might be expensive.
|
1276
|
+
}
|
676
1277
|
|
677
1278
|
begin
|
678
1279
|
#Get a user.
|
679
|
-
result = api_instance.users_get_user(app_id, id)
|
1280
|
+
result = api_instance.users_get_user(app_id, id, opts)
|
680
1281
|
p result
|
681
1282
|
rescue Notifo::ApiError => e
|
682
1283
|
puts "Exception when calling UsersApi->users_get_user: #{e}"
|
@@ -687,7 +1288,8 @@ app_id = 'app_id_example' # String | The app where the users belongs to.
|
|
687
1288
|
opts = {
|
688
1289
|
query: 'query_example', # String | The optional query to search for items.
|
689
1290
|
take: 56, # Integer | The number of items to return.
|
690
|
-
skip: 56 # Integer | The number of items to skip.
|
1291
|
+
skip: 56, # Integer | The number of items to skip.
|
1292
|
+
with_details: false # BOOLEAN | Provide extra details, might be expensive.
|
691
1293
|
}
|
692
1294
|
|
693
1295
|
begin
|
@@ -701,7 +1303,7 @@ end
|
|
701
1303
|
api_instance = Notifo::UsersApi.new
|
702
1304
|
body = Notifo::AddAllowedTopicDto.new # AddAllowedTopicDto | The upsert request.
|
703
1305
|
app_id = 'app_id_example' # String | The app where the users belong to.
|
704
|
-
id = 'id_example' # String | The user
|
1306
|
+
id = 'id_example' # String | The user ID.
|
705
1307
|
|
706
1308
|
|
707
1309
|
begin
|
@@ -712,16 +1314,16 @@ rescue Notifo::ApiError => e
|
|
712
1314
|
end
|
713
1315
|
|
714
1316
|
api_instance = Notifo::UsersApi.new
|
715
|
-
body = Notifo::
|
1317
|
+
body = Notifo::SubscribeManyDto.new # SubscribeManyDto | The subscription object.
|
716
1318
|
app_id = 'app_id_example' # String | The app where the user belongs to.
|
717
|
-
id = 'id_example' # String | The user
|
1319
|
+
id = 'id_example' # String | The user ID.
|
718
1320
|
|
719
1321
|
|
720
1322
|
begin
|
721
|
-
#
|
722
|
-
api_instance.
|
1323
|
+
#Upserts or deletes multiple user subscriptions.
|
1324
|
+
api_instance.users_post_subscriptions(body, app_id, id)
|
723
1325
|
rescue Notifo::ApiError => e
|
724
|
-
puts "Exception when calling UsersApi->
|
1326
|
+
puts "Exception when calling UsersApi->users_post_subscriptions: #{e}"
|
725
1327
|
end
|
726
1328
|
|
727
1329
|
api_instance = Notifo::UsersApi.new
|
@@ -740,129 +1342,209 @@ end
|
|
740
1342
|
|
741
1343
|
## Documentation for API Endpoints
|
742
1344
|
|
743
|
-
All URIs are relative to *https://notifo.easierlife.com*
|
1345
|
+
All URIs are relative to *https://notifo-dev.easierlife.com*
|
744
1346
|
|
745
1347
|
Class | Method | HTTP request | Description
|
746
1348
|
------------ | ------------- | ------------- | -------------
|
747
1349
|
*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
1350
|
*Notifo::AppsApi* | [**apps_delete_integration**](docs/AppsApi.md#apps_delete_integration) | **DELETE** /api/apps/{appId}/integrations/{id} | Delete an app integration.
|
750
1351
|
*Notifo::AppsApi* | [**apps_get_app**](docs/AppsApi.md#apps_get_app) | **GET** /api/apps/{appId} | Get app by id.
|
751
1352
|
*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
1353
|
*Notifo::AppsApi* | [**apps_get_integrations**](docs/AppsApi.md#apps_get_integrations) | **GET** /api/apps/{appId}/integrations | Get the app integrations.
|
754
1354
|
*Notifo::AppsApi* | [**apps_post_app**](docs/AppsApi.md#apps_post_app) | **POST** /api/apps | Create an app.
|
755
1355
|
*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
1356
|
*Notifo::AppsApi* | [**apps_post_integration**](docs/AppsApi.md#apps_post_integration) | **POST** /api/apps/{appId}/integration | Create an app integrations.
|
758
1357
|
*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
1358
|
*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
1359
|
*Notifo::ConfigsApi* | [**configs_get_languages**](docs/ConfigsApi.md#configs_get_languages) | **GET** /api/languages | Get all supported languages.
|
765
1360
|
*Notifo::ConfigsApi* | [**configs_get_timezones**](docs/ConfigsApi.md#configs_get_timezones) | **GET** /api/timezones | Get all supported timezones.
|
1361
|
+
*Notifo::DiagnosticsApi* | [**diagnostics_get_dump**](docs/DiagnosticsApi.md#diagnostics_get_dump) | **GET** /api/diagnostics/dump | Creates a dump and writes it into storage..
|
1362
|
+
*Notifo::DiagnosticsApi* | [**diagnostics_get_gc_dump**](docs/DiagnosticsApi.md#diagnostics_get_gc_dump) | **GET** /api/diagnostics/gcdump | Creates a gc dump and writes it into storage.
|
1363
|
+
*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.
|
1364
|
+
*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.
|
1365
|
+
*Notifo::EmailTemplatesApi* | [**email_templates_delete_template**](docs/EmailTemplatesApi.md#email_templates_delete_template) | **DELETE** /api/apps/{appId}/email-templates/{code} | Delete a channel template.
|
1366
|
+
*Notifo::EmailTemplatesApi* | [**email_templates_delete_template_language**](docs/EmailTemplatesApi.md#email_templates_delete_template_language) | **DELETE** /api/apps/{appId}/email-templates/{code}/{language} | Delete a language channel template.
|
1367
|
+
*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.
|
1368
|
+
*Notifo::EmailTemplatesApi* | [**email_templates_get_templates**](docs/EmailTemplatesApi.md#email_templates_get_templates) | **GET** /api/apps/{appId}/email-templates | Get the channel templates.
|
1369
|
+
*Notifo::EmailTemplatesApi* | [**email_templates_post_template**](docs/EmailTemplatesApi.md#email_templates_post_template) | **POST** /api/apps/{appId}/email-templates | Create a channel template.
|
1370
|
+
*Notifo::EmailTemplatesApi* | [**email_templates_post_template_language**](docs/EmailTemplatesApi.md#email_templates_post_template_language) | **POST** /api/apps/{appId}/email-templates/{code} | Create an app template language.
|
1371
|
+
*Notifo::EmailTemplatesApi* | [**email_templates_put_template**](docs/EmailTemplatesApi.md#email_templates_put_template) | **PUT** /api/apps/{appId}/email-templates/{code} | Update an app template.
|
1372
|
+
*Notifo::EmailTemplatesApi* | [**email_templates_put_template_language**](docs/EmailTemplatesApi.md#email_templates_put_template_language) | **PUT** /api/apps/{appId}/email-templates/{code}/{language} | Update a channel template language.
|
766
1373
|
*Notifo::EventsApi* | [**events_get_events**](docs/EventsApi.md#events_get_events) | **GET** /api/apps/{appId}/events | Query events.
|
767
1374
|
*Notifo::EventsApi* | [**events_post_events**](docs/EventsApi.md#events_post_events) | **POST** /api/apps/{appId}/events | Publish events.
|
768
|
-
*Notifo::EventsApi* | [**
|
1375
|
+
*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
1376
|
*Notifo::LogsApi* | [**logs_get_logs**](docs/LogsApi.md#logs_get_logs) | **GET** /api/apps/{appId}/logs | Query log entries.
|
770
1377
|
*Notifo::MediaApi* | [**media_delete**](docs/MediaApi.md#media_delete) | **DELETE** /api/apps/{appId}/media/{fileName} | Delete a media.
|
771
1378
|
*Notifo::MediaApi* | [**media_download**](docs/MediaApi.md#media_download) | **GET** /api/apps/{appId}/media/{fileName} | Download a media object.
|
772
|
-
*Notifo::MediaApi* | [**media_download2**](docs/MediaApi.md#media_download2) | **GET** /api/
|
1379
|
+
*Notifo::MediaApi* | [**media_download2**](docs/MediaApi.md#media_download2) | **GET** /api/asset/{appId}/{fileName} | Download a media object.
|
1380
|
+
*Notifo::MediaApi* | [**media_download3**](docs/MediaApi.md#media_download3) | **GET** /api/assets/{appId}/{fileName} | Download a media object.
|
773
1381
|
*Notifo::MediaApi* | [**media_get_medias**](docs/MediaApi.md#media_get_medias) | **GET** /api/apps/{appId}/media | Query media items.
|
1382
|
+
*Notifo::MediaApi* | [**media_proxy_proxy_image**](docs/MediaApi.md#media_proxy_proxy_image) | **GET** /api/assets/proxy | Download a media object.
|
774
1383
|
*Notifo::MediaApi* | [**media_upload**](docs/MediaApi.md#media_upload) | **POST** /api/apps/{appId}/media | Upload a media object.
|
775
|
-
*Notifo::
|
776
|
-
*Notifo::
|
777
|
-
*Notifo::
|
778
|
-
*Notifo::
|
779
|
-
*Notifo::
|
780
|
-
*Notifo::
|
1384
|
+
*Notifo::MessagingTemplatesApi* | [**messaging_templates_delete_template**](docs/MessagingTemplatesApi.md#messaging_templates_delete_template) | **DELETE** /api/apps/{appId}/messaging-templates/{code} | Delete a channel template.
|
1385
|
+
*Notifo::MessagingTemplatesApi* | [**messaging_templates_delete_template_language**](docs/MessagingTemplatesApi.md#messaging_templates_delete_template_language) | **DELETE** /api/apps/{appId}/messaging-templates/{code}/{language} | Delete a language channel template.
|
1386
|
+
*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.
|
1387
|
+
*Notifo::MessagingTemplatesApi* | [**messaging_templates_get_templates**](docs/MessagingTemplatesApi.md#messaging_templates_get_templates) | **GET** /api/apps/{appId}/messaging-templates | Get the channel templates.
|
1388
|
+
*Notifo::MessagingTemplatesApi* | [**messaging_templates_post_template**](docs/MessagingTemplatesApi.md#messaging_templates_post_template) | **POST** /api/apps/{appId}/messaging-templates | Create a channel template.
|
1389
|
+
*Notifo::MessagingTemplatesApi* | [**messaging_templates_post_template_language**](docs/MessagingTemplatesApi.md#messaging_templates_post_template_language) | **POST** /api/apps/{appId}/messaging-templates/{code} | Create an app template language.
|
1390
|
+
*Notifo::MessagingTemplatesApi* | [**messaging_templates_put_template**](docs/MessagingTemplatesApi.md#messaging_templates_put_template) | **PUT** /api/apps/{appId}/messaging-templates/{code} | Update an app template.
|
1391
|
+
*Notifo::MessagingTemplatesApi* | [**messaging_templates_put_template_language**](docs/MessagingTemplatesApi.md#messaging_templates_put_template_language) | **PUT** /api/apps/{appId}/messaging-templates/{code}/{language} | Update a channel template language.
|
1392
|
+
*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.
|
1393
|
+
*Notifo::MobilePushApi* | [**mobile_push_get_my_token**](docs/MobilePushApi.md#mobile_push_get_my_token) | **GET** /api/me/mobilepush | Returns the mobile push tokens.
|
1394
|
+
*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.
|
1395
|
+
*Notifo::NotificationsApi* | [**notifications_confirm_me**](docs/NotificationsApi.md#notifications_confirm_me) | **POST** /api/me/notifications/handled | Confirms the user notifications for the current user.
|
1396
|
+
*Notifo::NotificationsApi* | [**notifications_get_all_notifications**](docs/NotificationsApi.md#notifications_get_all_notifications) | **GET** /api/apps/{appId}/notifications | Query notifications.
|
1397
|
+
*Notifo::NotificationsApi* | [**notifications_get_my_archive**](docs/NotificationsApi.md#notifications_get_my_archive) | **GET** /api/me/notifications/archive | Query archived user notifications of the current user.
|
1398
|
+
*Notifo::NotificationsApi* | [**notifications_get_my_device_notifications**](docs/NotificationsApi.md#notifications_get_my_device_notifications) | **GET** /api/me/notifications/device | Query user notifications of the current user for a specific device.
|
1399
|
+
*Notifo::NotificationsApi* | [**notifications_get_my_notifications**](docs/NotificationsApi.md#notifications_get_my_notifications) | **GET** /api/me/notifications | Query user notifications of the current user.
|
1400
|
+
*Notifo::NotificationsApi* | [**notifications_get_notifications**](docs/NotificationsApi.md#notifications_get_notifications) | **GET** /api/apps/{appId}/users/{id}/notifications | Query user notifications.
|
1401
|
+
*Notifo::PingApi* | [**ping_get_info**](docs/PingApi.md#ping_get_info) | **GET** /api/info | Get some info about the API.
|
1402
|
+
*Notifo::PingApi* | [**ping_get_old_ping**](docs/PingApi.md#ping_get_old_ping) | **GET** /ping | Get ping status of the API.
|
1403
|
+
*Notifo::PingApi* | [**ping_get_ping**](docs/PingApi.md#ping_get_ping) | **GET** /api/ping | Get ping status of the API.
|
1404
|
+
*Notifo::SmsTemplatesApi* | [**sms_templates_delete_template**](docs/SmsTemplatesApi.md#sms_templates_delete_template) | **DELETE** /api/apps/{appId}/sms-templates/{code} | Delete a channel template.
|
1405
|
+
*Notifo::SmsTemplatesApi* | [**sms_templates_delete_template_language**](docs/SmsTemplatesApi.md#sms_templates_delete_template_language) | **DELETE** /api/apps/{appId}/sms-templates/{code}/{language} | Delete a language channel template.
|
1406
|
+
*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.
|
1407
|
+
*Notifo::SmsTemplatesApi* | [**sms_templates_get_templates**](docs/SmsTemplatesApi.md#sms_templates_get_templates) | **GET** /api/apps/{appId}/sms-templates | Get the channel templates.
|
1408
|
+
*Notifo::SmsTemplatesApi* | [**sms_templates_post_template**](docs/SmsTemplatesApi.md#sms_templates_post_template) | **POST** /api/apps/{appId}/sms-templates | Create a channel template.
|
1409
|
+
*Notifo::SmsTemplatesApi* | [**sms_templates_post_template_language**](docs/SmsTemplatesApi.md#sms_templates_post_template_language) | **POST** /api/apps/{appId}/sms-templates/{code} | Create an app template language.
|
1410
|
+
*Notifo::SmsTemplatesApi* | [**sms_templates_put_template**](docs/SmsTemplatesApi.md#sms_templates_put_template) | **PUT** /api/apps/{appId}/sms-templates/{code} | Update an app template.
|
1411
|
+
*Notifo::SmsTemplatesApi* | [**sms_templates_put_template_language**](docs/SmsTemplatesApi.md#sms_templates_put_template_language) | **PUT** /api/apps/{appId}/sms-templates/{code}/{language} | Update a channel template language.
|
1412
|
+
*Notifo::SystemUsersApi* | [**system_users_delete_user**](docs/SystemUsersApi.md#system_users_delete_user) | **DELETE** /api/system-users/{id} | Delete the user.
|
1413
|
+
*Notifo::SystemUsersApi* | [**system_users_get_user**](docs/SystemUsersApi.md#system_users_get_user) | **GET** /api/system-users/{id} | Get a user.
|
1414
|
+
*Notifo::SystemUsersApi* | [**system_users_get_users**](docs/SystemUsersApi.md#system_users_get_users) | **GET** /api/system-users | Query users.
|
1415
|
+
*Notifo::SystemUsersApi* | [**system_users_lock_user**](docs/SystemUsersApi.md#system_users_lock_user) | **PUT** /api/system-users/{id}/lock | Lock the user.
|
1416
|
+
*Notifo::SystemUsersApi* | [**system_users_post_user**](docs/SystemUsersApi.md#system_users_post_user) | **POST** /api/system-users | Create a user.
|
1417
|
+
*Notifo::SystemUsersApi* | [**system_users_put_user**](docs/SystemUsersApi.md#system_users_put_user) | **PUT** /api/system-users/{id} | Update the user.
|
1418
|
+
*Notifo::SystemUsersApi* | [**system_users_unlock_user**](docs/SystemUsersApi.md#system_users_unlock_user) | **PUT** /api/system-users/{id}/unlock | Unlock the user.
|
781
1419
|
*Notifo::TemplatesApi* | [**templates_delete_template**](docs/TemplatesApi.md#templates_delete_template) | **DELETE** /api/apps/{appId}/templates/{code} | Delete a template.
|
782
1420
|
*Notifo::TemplatesApi* | [**templates_get_templates**](docs/TemplatesApi.md#templates_get_templates) | **GET** /api/apps/{appId}/templates | Query templates.
|
783
1421
|
*Notifo::TemplatesApi* | [**templates_post_templates**](docs/TemplatesApi.md#templates_post_templates) | **POST** /api/apps/{appId}/templates | Upsert templates.
|
1422
|
+
*Notifo::TopicsApi* | [**topics_delete_topic**](docs/TopicsApi.md#topics_delete_topic) | **DELETE** /api/apps/{appId}/topics/{path} | Delete a topic.
|
784
1423
|
*Notifo::TopicsApi* | [**topics_get_topics**](docs/TopicsApi.md#topics_get_topics) | **GET** /api/apps/{appId}/topics | Query topics.
|
785
|
-
*Notifo::
|
786
|
-
*Notifo::UserApi* | [**
|
1424
|
+
*Notifo::TopicsApi* | [**topics_post_topics**](docs/TopicsApi.md#topics_post_topics) | **POST** /api/apps/{appId}/topics | Upsert topics.
|
1425
|
+
*Notifo::UserApi* | [**user_delete_subscription**](docs/UserApi.md#user_delete_subscription) | **POST** /api/me/subscriptions/{prefix} | Remove my subscription.
|
1426
|
+
*Notifo::UserApi* | [**user_get_admin_user**](docs/UserApi.md#user_get_admin_user) | **GET** /api/me/admin | Get the current admin user.
|
1427
|
+
*Notifo::UserApi* | [**user_get_my_subscription**](docs/UserApi.md#user_get_my_subscription) | **GET** /api/me/subscriptions/{topic} | Gets a user subscription.
|
1428
|
+
*Notifo::UserApi* | [**user_get_my_subscriptions**](docs/UserApi.md#user_get_my_subscriptions) | **GET** /api/me/subscriptions | Query the user subscriptions.
|
1429
|
+
*Notifo::UserApi* | [**user_get_topics**](docs/UserApi.md#user_get_topics) | **GET** /api/me/topics | Query the user topics.
|
787
1430
|
*Notifo::UserApi* | [**user_get_user**](docs/UserApi.md#user_get_user) | **GET** /api/me | Get the current user.
|
788
|
-
*Notifo::UserApi* | [**
|
1431
|
+
*Notifo::UserApi* | [**user_post_my_subscriptions**](docs/UserApi.md#user_post_my_subscriptions) | **POST** /api/me/subscriptions | Upserts or deletes my subscriptions.
|
789
1432
|
*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
1433
|
*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* | [**
|
1434
|
+
*Notifo::UsersApi* | [**users_delete_mobile_push_token**](docs/UsersApi.md#users_delete_mobile_push_token) | **DELETE** /api/apps/{appId}/users/{id}/mobilepush/{token} | Remove an web push token.
|
1435
|
+
*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
1436
|
*Notifo::UsersApi* | [**users_delete_user**](docs/UsersApi.md#users_delete_user) | **DELETE** /api/apps/{appId}/users/{id} | Delete a user.
|
1437
|
+
*Notifo::UsersApi* | [**users_delete_web_push_subscription**](docs/UsersApi.md#users_delete_web_push_subscription) | **DELETE** /api/apps/{appId}/users/{id}/webpush/{endpoint} | Remove an web push subscription.
|
795
1438
|
*Notifo::UsersApi* | [**users_get_subscriptions**](docs/UsersApi.md#users_get_subscriptions) | **GET** /api/apps/{appId}/users/{id}/subscriptions | Query user subscriptions.
|
796
1439
|
*Notifo::UsersApi* | [**users_get_user**](docs/UsersApi.md#users_get_user) | **GET** /api/apps/{appId}/users/{id} | Get a user.
|
797
1440
|
*Notifo::UsersApi* | [**users_get_users**](docs/UsersApi.md#users_get_users) | **GET** /api/apps/{appId}/users | Query users.
|
798
1441
|
*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* | [**
|
1442
|
+
*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
1443
|
*Notifo::UsersApi* | [**users_post_users**](docs/UsersApi.md#users_post_users) | **POST** /api/apps/{appId}/users | Upsert users.
|
801
1444
|
|
802
1445
|
## Documentation for Models
|
803
1446
|
|
804
1447
|
- [Notifo::AddAllowedTopicDto](docs/AddAllowedTopicDto.md)
|
805
1448
|
- [Notifo::AddContributorDto](docs/AddContributorDto.md)
|
1449
|
+
- [Notifo::AdminProfileDto](docs/AdminProfileDto.md)
|
806
1450
|
- [Notifo::AppContributorDto](docs/AppContributorDto.md)
|
807
1451
|
- [Notifo::AppDetailsDto](docs/AppDetailsDto.md)
|
808
1452
|
- [Notifo::AppDto](docs/AppDto.md)
|
809
1453
|
- [Notifo::AppIdMediaBody](docs/AppIdMediaBody.md)
|
1454
|
+
- [Notifo::ChannelCondition](docs/ChannelCondition.md)
|
1455
|
+
- [Notifo::ChannelSend](docs/ChannelSend.md)
|
1456
|
+
- [Notifo::ChannelSendInfoDto](docs/ChannelSendInfoDto.md)
|
1457
|
+
- [Notifo::ChannelSettingDto](docs/ChannelSettingDto.md)
|
1458
|
+
- [Notifo::ChannelTemplateDetailsDtoOfEmailTemplateDto](docs/ChannelTemplateDetailsDtoOfEmailTemplateDto.md)
|
1459
|
+
- [Notifo::ChannelTemplateDetailsDtoOfMessagingTemplateDto](docs/ChannelTemplateDetailsDtoOfMessagingTemplateDto.md)
|
1460
|
+
- [Notifo::ChannelTemplateDetailsDtoOfSmsTemplateDto](docs/ChannelTemplateDetailsDtoOfSmsTemplateDto.md)
|
1461
|
+
- [Notifo::ChannelTemplateDto](docs/ChannelTemplateDto.md)
|
810
1462
|
- [Notifo::ConfiguredIntegrationDto](docs/ConfiguredIntegrationDto.md)
|
811
1463
|
- [Notifo::ConfiguredIntegrationsDto](docs/ConfiguredIntegrationsDto.md)
|
812
1464
|
- [Notifo::ConfirmMode](docs/ConfirmMode.md)
|
813
|
-
- [Notifo::
|
1465
|
+
- [Notifo::CreateChannelTemplateDto](docs/CreateChannelTemplateDto.md)
|
1466
|
+
- [Notifo::CreateChannelTemplateLanguageDto](docs/CreateChannelTemplateLanguageDto.md)
|
814
1467
|
- [Notifo::CreateIntegrationDto](docs/CreateIntegrationDto.md)
|
1468
|
+
- [Notifo::CreateSystemUserDto](docs/CreateSystemUserDto.md)
|
1469
|
+
- [Notifo::EmailFormattingError](docs/EmailFormattingError.md)
|
1470
|
+
- [Notifo::EmailPreviewDto](docs/EmailPreviewDto.md)
|
1471
|
+
- [Notifo::EmailPreviewRequestDto](docs/EmailPreviewRequestDto.md)
|
1472
|
+
- [Notifo::EmailPreviewType](docs/EmailPreviewType.md)
|
815
1473
|
- [Notifo::EmailTemplateDto](docs/EmailTemplateDto.md)
|
816
|
-
- [Notifo::
|
1474
|
+
- [Notifo::EmailTemplateType](docs/EmailTemplateType.md)
|
817
1475
|
- [Notifo::ErrorDto](docs/ErrorDto.md)
|
818
1476
|
- [Notifo::EventDto](docs/EventDto.md)
|
819
|
-
- [Notifo::
|
1477
|
+
- [Notifo::HandledInfoDto](docs/HandledInfoDto.md)
|
1478
|
+
- [Notifo::InfoDto](docs/InfoDto.md)
|
820
1479
|
- [Notifo::IntegrationCreatedDto](docs/IntegrationCreatedDto.md)
|
821
1480
|
- [Notifo::IntegrationDefinitionDto](docs/IntegrationDefinitionDto.md)
|
822
|
-
- [Notifo::IntegrationProperties](docs/IntegrationProperties.md)
|
823
1481
|
- [Notifo::IntegrationPropertyDto](docs/IntegrationPropertyDto.md)
|
824
|
-
- [Notifo::IntegrationPropertyType](docs/IntegrationPropertyType.md)
|
825
1482
|
- [Notifo::IntegrationStatus](docs/IntegrationStatus.md)
|
826
1483
|
- [Notifo::IsoDayOfWeek](docs/IsoDayOfWeek.md)
|
1484
|
+
- [Notifo::ListResponseDtoOfChannelTemplateDto](docs/ListResponseDtoOfChannelTemplateDto.md)
|
827
1485
|
- [Notifo::ListResponseDtoOfEventDto](docs/ListResponseDtoOfEventDto.md)
|
828
1486
|
- [Notifo::ListResponseDtoOfLogEntryDto](docs/ListResponseDtoOfLogEntryDto.md)
|
829
1487
|
- [Notifo::ListResponseDtoOfMediaDto](docs/ListResponseDtoOfMediaDto.md)
|
830
1488
|
- [Notifo::ListResponseDtoOfMobilePushTokenDto](docs/ListResponseDtoOfMobilePushTokenDto.md)
|
831
|
-
- [Notifo::ListResponseDtoOfNotificationDto](docs/ListResponseDtoOfNotificationDto.md)
|
832
1489
|
- [Notifo::ListResponseDtoOfSubscriptionDto](docs/ListResponseDtoOfSubscriptionDto.md)
|
1490
|
+
- [Notifo::ListResponseDtoOfSystemUserDto](docs/ListResponseDtoOfSystemUserDto.md)
|
833
1491
|
- [Notifo::ListResponseDtoOfTemplateDto](docs/ListResponseDtoOfTemplateDto.md)
|
834
1492
|
- [Notifo::ListResponseDtoOfTopicDto](docs/ListResponseDtoOfTopicDto.md)
|
835
1493
|
- [Notifo::ListResponseDtoOfUserDto](docs/ListResponseDtoOfUserDto.md)
|
1494
|
+
- [Notifo::ListResponseDtoOfUserNotificationDetailsDto](docs/ListResponseDtoOfUserNotificationDetailsDto.md)
|
1495
|
+
- [Notifo::ListResponseDtoOfUserNotificationDto](docs/ListResponseDtoOfUserNotificationDto.md)
|
836
1496
|
- [Notifo::LocalizedText](docs/LocalizedText.md)
|
837
1497
|
- [Notifo::LogEntryDto](docs/LogEntryDto.md)
|
838
1498
|
- [Notifo::MediaDto](docs/MediaDto.md)
|
839
1499
|
- [Notifo::MediaMetadata](docs/MediaMetadata.md)
|
840
1500
|
- [Notifo::MediaType](docs/MediaType.md)
|
1501
|
+
- [Notifo::MessagingTemplateDto](docs/MessagingTemplateDto.md)
|
841
1502
|
- [Notifo::MobileDeviceType](docs/MobileDeviceType.md)
|
842
1503
|
- [Notifo::MobilePushTokenDto](docs/MobilePushTokenDto.md)
|
843
|
-
- [Notifo::
|
1504
|
+
- [Notifo::MobilePushTokenDto2](docs/MobilePushTokenDto2.md)
|
844
1505
|
- [Notifo::NotificationFormattingDto](docs/NotificationFormattingDto.md)
|
845
|
-
- [Notifo::
|
846
|
-
- [Notifo::
|
1506
|
+
- [Notifo::NotificationProperties](docs/NotificationProperties.md)
|
1507
|
+
- [Notifo::ProcessStatus](docs/ProcessStatus.md)
|
847
1508
|
- [Notifo::ProfileDto](docs/ProfileDto.md)
|
1509
|
+
- [Notifo::PropertyType](docs/PropertyType.md)
|
848
1510
|
- [Notifo::PublishDto](docs/PublishDto.md)
|
849
1511
|
- [Notifo::PublishManyDto](docs/PublishManyDto.md)
|
850
1512
|
- [Notifo::RegisterMobileTokenDto](docs/RegisterMobileTokenDto.md)
|
851
1513
|
- [Notifo::ResizeMode](docs/ResizeMode.md)
|
852
1514
|
- [Notifo::SchedulingDto](docs/SchedulingDto.md)
|
853
1515
|
- [Notifo::SchedulingType](docs/SchedulingType.md)
|
1516
|
+
- [Notifo::SendConfiguration](docs/SendConfiguration.md)
|
1517
|
+
- [Notifo::SmsTemplateDto](docs/SmsTemplateDto.md)
|
1518
|
+
- [Notifo::SubscribeDto](docs/SubscribeDto.md)
|
1519
|
+
- [Notifo::SubscribeManyDto](docs/SubscribeManyDto.md)
|
854
1520
|
- [Notifo::SubscriptionDto](docs/SubscriptionDto.md)
|
1521
|
+
- [Notifo::SystemUserDto](docs/SystemUserDto.md)
|
855
1522
|
- [Notifo::TemplateDto](docs/TemplateDto.md)
|
1523
|
+
- [Notifo::TopicChannel](docs/TopicChannel.md)
|
856
1524
|
- [Notifo::TopicDto](docs/TopicDto.md)
|
1525
|
+
- [Notifo::TopicQueryScope](docs/TopicQueryScope.md)
|
857
1526
|
- [Notifo::TrackNotificationDto](docs/TrackNotificationDto.md)
|
1527
|
+
- [Notifo::UpdateChannelTemplateDtoOfEmailTemplateDto](docs/UpdateChannelTemplateDtoOfEmailTemplateDto.md)
|
1528
|
+
- [Notifo::UpdateChannelTemplateDtoOfMessagingTemplateDto](docs/UpdateChannelTemplateDtoOfMessagingTemplateDto.md)
|
1529
|
+
- [Notifo::UpdateChannelTemplateDtoOfSmsTemplateDto](docs/UpdateChannelTemplateDtoOfSmsTemplateDto.md)
|
858
1530
|
- [Notifo::UpdateIntegrationDto](docs/UpdateIntegrationDto.md)
|
859
1531
|
- [Notifo::UpdateProfileDto](docs/UpdateProfileDto.md)
|
1532
|
+
- [Notifo::UpdateSystemUserDto](docs/UpdateSystemUserDto.md)
|
860
1533
|
- [Notifo::UpsertAppDto](docs/UpsertAppDto.md)
|
861
1534
|
- [Notifo::UpsertTemplateDto](docs/UpsertTemplateDto.md)
|
862
1535
|
- [Notifo::UpsertTemplatesDto](docs/UpsertTemplatesDto.md)
|
1536
|
+
- [Notifo::UpsertTopicDto](docs/UpsertTopicDto.md)
|
1537
|
+
- [Notifo::UpsertTopicsDto](docs/UpsertTopicsDto.md)
|
863
1538
|
- [Notifo::UpsertUserDto](docs/UpsertUserDto.md)
|
864
1539
|
- [Notifo::UpsertUsersDto](docs/UpsertUsersDto.md)
|
865
1540
|
- [Notifo::UserDto](docs/UserDto.md)
|
1541
|
+
- [Notifo::UserNotificationBaseDto](docs/UserNotificationBaseDto.md)
|
1542
|
+
- [Notifo::UserNotificationChannelDto](docs/UserNotificationChannelDto.md)
|
1543
|
+
- [Notifo::UserNotificationDetailsDto](docs/UserNotificationDetailsDto.md)
|
1544
|
+
- [Notifo::UserNotificationDto](docs/UserNotificationDto.md)
|
1545
|
+
- [Notifo::UserPropertyDto](docs/UserPropertyDto.md)
|
1546
|
+
- [Notifo::UserTopicDto](docs/UserTopicDto.md)
|
1547
|
+
- [Notifo::WebPushSubscriptionDto](docs/WebPushSubscriptionDto.md)
|
866
1548
|
|
867
1549
|
## Documentation for Authorization
|
868
1550
|
|