notifo-io 1.0.0.pre → 1.0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +726 -19
- data/Rakefile +0 -2
- data/docs/AddAllowedTopicDto.md +7 -0
- data/docs/AddContributorDto.md +4 -16
- data/docs/AppContributorDto.md +5 -18
- data/docs/AppDetailsDto.md +10 -44
- data/docs/AppDto.md +8 -24
- data/docs/AppIdMediaBody.md +7 -0
- data/docs/AppsApi.md +301 -297
- data/docs/AuthorizationApi.md +121 -0
- data/docs/Body.md +7 -0
- data/docs/ConfigsApi.md +21 -61
- data/docs/ConfiguredIntegrationDto.md +12 -0
- data/docs/ConfiguredIntegrationsDto.md +8 -0
- data/docs/ConfirmMode.md +2 -11
- data/docs/CreateEmailTemplateDto.md +3 -14
- data/docs/CreateIntegrationDto.md +11 -0
- data/docs/EmailTemplateDto.md +5 -18
- data/docs/EmailTemplatesDto.md +6 -0
- data/docs/EmailVerificationStatus.md +2 -11
- data/docs/ErrorDto.md +7 -22
- data/docs/EventDto.md +15 -36
- data/docs/EventProperties.md +6 -0
- data/docs/EventsApi.md +72 -65
- data/docs/IntegrationCreatedDto.md +8 -0
- data/docs/IntegrationDefinitionDto.md +11 -0
- data/docs/IntegrationProperties.md +6 -0
- data/docs/IntegrationPropertyDto.md +17 -0
- data/docs/IntegrationPropertyType.md +6 -0
- data/docs/IntegrationStatus.md +6 -0
- data/docs/IsoDayOfWeek.md +2 -11
- data/docs/ListResponseDtoOfEventDto.md +4 -16
- data/docs/ListResponseDtoOfLogEntryDto.md +4 -16
- data/docs/ListResponseDtoOfMediaDto.md +4 -16
- data/docs/ListResponseDtoOfMobilePushTokenDto.md +8 -0
- data/docs/ListResponseDtoOfNotificationDto.md +8 -0
- data/docs/ListResponseDtoOfSubscriptionDto.md +4 -16
- data/docs/ListResponseDtoOfTemplateDto.md +4 -16
- data/docs/ListResponseDtoOfTopicDto.md +4 -16
- data/docs/ListResponseDtoOfUserDto.md +4 -16
- data/docs/LocalizedText.md +6 -0
- data/docs/LogEntryDto.md +6 -20
- data/docs/LogsApi.md +21 -40
- data/docs/MediaApi.md +134 -141
- data/docs/MediaDto.md +9 -24
- data/docs/MediaMetadata.md +6 -0
- data/docs/MediaType.md +2 -11
- data/docs/MobileDeviceType.md +6 -0
- data/docs/MobilePushApi.md +135 -0
- data/docs/MobilePushTokenDto.md +8 -0
- data/docs/NotificationDto.md +21 -0
- data/docs/NotificationFormattingDto.md +10 -28
- data/docs/NotificationSend.md +6 -0
- data/docs/NotificationSettingDto.md +4 -16
- data/docs/NotificationsApi.md +141 -0
- data/docs/ProfileDto.md +14 -0
- data/docs/PublishDto.md +18 -0
- data/docs/PublishManyDto.md +7 -0
- data/docs/RegisterMobileTokenDto.md +8 -0
- data/docs/ResizeMode.md +2 -11
- data/docs/SchedulingDto.md +6 -20
- data/docs/SchedulingType.md +2 -11
- data/docs/SubscriptionDto.md +4 -16
- data/docs/TemplateDto.md +5 -18
- data/docs/TemplatesApi.md +51 -106
- data/docs/TopicDto.md +5 -18
- data/docs/TopicsApi.md +19 -230
- data/docs/TrackNotificationDto.md +10 -0
- data/docs/UpdateIntegrationDto.md +10 -0
- data/docs/UpdateProfileDto.md +12 -0
- data/docs/UpsertAppDto.md +12 -32
- data/docs/UpsertTemplateDto.md +5 -18
- data/docs/UpsertTemplatesDto.md +3 -14
- data/docs/UpsertUserDto.md +11 -28
- data/docs/UpsertUsersDto.md +3 -14
- data/docs/UserApi.md +231 -0
- data/docs/UserDto.md +15 -32
- data/docs/UserInfoApi.md +83 -0
- data/docs/UsersApi.md +144 -308
- data/git_push.sh +7 -10
- data/lib/notifo.rb +37 -11
- data/lib/notifo/api/apps_api.rb +373 -201
- data/lib/notifo/api/authorization_api.rb +158 -0
- data/lib/notifo/api/configs_api.rb +14 -30
- data/lib/notifo/api/events_api.rb +85 -45
- data/lib/notifo/api/logs_api.rb +12 -21
- data/lib/notifo/api/media_api.rb +137 -77
- data/lib/notifo/api/mobile_push_api.rb +178 -0
- data/lib/notifo/api/notifications_api.rb +181 -0
- data/lib/notifo/api/templates_api.rb +39 -62
- data/lib/notifo/api/topics_api.rb +12 -210
- data/lib/notifo/api/user_api.rb +294 -0
- data/lib/notifo/api/user_info_api.rb +112 -0
- data/lib/notifo/api/users_api.rb +121 -186
- data/lib/notifo/api_client.rb +53 -55
- data/lib/notifo/api_error.rb +5 -5
- data/lib/notifo/configuration.rb +8 -78
- data/lib/notifo/models/{add_allowed_topic_request.rb → add_allowed_topic_dto.rb} +21 -28
- data/lib/notifo/models/add_contributor_dto.rb +24 -26
- data/lib/notifo/models/app_contributor_dto.rb +30 -27
- data/lib/notifo/models/app_details_dto.rb +59 -119
- data/lib/notifo/models/app_dto.rb +51 -31
- data/lib/notifo/models/{inline_object.rb → app_id_media_body.rb} +16 -28
- data/lib/notifo/models/body.rb +206 -0
- data/lib/notifo/models/configured_integration_dto.rb +271 -0
- data/lib/notifo/models/configured_integrations_dto.rb +231 -0
- data/lib/notifo/models/confirm_mode.rb +7 -16
- data/lib/notifo/models/create_email_template_dto.rb +18 -25
- data/lib/notifo/models/create_integration_dto.rb +257 -0
- data/lib/notifo/models/email_template_dto.rb +25 -27
- data/lib/notifo/models/email_templates_dto.rb +201 -0
- data/lib/notifo/models/email_verification_status.rb +8 -17
- data/lib/notifo/models/error_dto.rb +17 -29
- data/lib/notifo/models/event_dto.rb +92 -46
- data/lib/notifo/models/event_properties.rb +201 -0
- data/lib/notifo/models/{subscribe_dto.rb → integration_created_dto.rb} +39 -42
- data/lib/notifo/models/integration_definition_dto.rb +272 -0
- data/lib/notifo/models/integration_properties.rb +201 -0
- data/lib/notifo/models/integration_property_dto.rb +319 -0
- data/lib/notifo/models/integration_property_type.rb +31 -0
- data/lib/notifo/models/integration_status.rb +29 -0
- data/lib/notifo/models/iso_day_of_week.rb +12 -21
- data/lib/notifo/models/list_response_dto_of_event_dto.rb +24 -26
- data/lib/notifo/models/list_response_dto_of_log_entry_dto.rb +24 -26
- data/lib/notifo/models/list_response_dto_of_media_dto.rb +24 -26
- data/lib/notifo/models/list_response_dto_of_mobile_push_token_dto.rb +229 -0
- data/lib/notifo/models/list_response_dto_of_notification_dto.rb +229 -0
- data/lib/notifo/models/list_response_dto_of_subscription_dto.rb +24 -26
- data/lib/notifo/models/list_response_dto_of_template_dto.rb +24 -26
- data/lib/notifo/models/list_response_dto_of_topic_dto.rb +24 -26
- data/lib/notifo/models/list_response_dto_of_user_dto.rb +24 -26
- data/lib/notifo/models/localized_text.rb +201 -0
- data/lib/notifo/models/log_entry_dto.rb +36 -28
- data/lib/notifo/models/media_dto.rb +64 -33
- data/lib/notifo/models/media_metadata.rb +201 -0
- data/lib/notifo/models/media_type.rb +8 -17
- data/lib/notifo/models/mobile_device_type.rb +29 -0
- data/lib/notifo/models/mobile_push_token_dto.rb +221 -0
- data/lib/notifo/models/notification_dto.rb +386 -0
- data/lib/notifo/models/notification_formatting_dto.rb +30 -46
- data/lib/notifo/models/notification_send.rb +30 -0
- data/lib/notifo/models/notification_setting_dto.rb +25 -34
- data/lib/notifo/models/profile_dto.rb +311 -0
- data/lib/notifo/models/{publish_request_dto.rb → publish_dto.rb} +55 -44
- data/lib/notifo/models/{publish_many_request_dto.rb → publish_many_dto.rb} +21 -28
- data/lib/notifo/models/register_mobile_token_dto.rb +221 -0
- data/lib/notifo/models/resize_mode.rb +11 -20
- data/lib/notifo/models/scheduling_dto.rb +16 -31
- data/lib/notifo/models/scheduling_type.rb +6 -15
- data/lib/notifo/models/subscription_dto.rb +23 -27
- data/lib/notifo/models/template_dto.rb +33 -29
- data/lib/notifo/models/topic_dto.rb +33 -28
- data/lib/notifo/models/track_notification_dto.rb +243 -0
- data/lib/notifo/models/update_integration_dto.rb +242 -0
- data/lib/notifo/models/update_profile_dto.rb +265 -0
- data/lib/notifo/models/upsert_app_dto.rb +22 -34
- data/lib/notifo/models/upsert_template_dto.rb +28 -29
- data/lib/notifo/models/upsert_templates_dto.rb +18 -25
- data/lib/notifo/models/upsert_user_dto.rb +35 -34
- data/lib/notifo/models/upsert_users_dto.rb +18 -25
- data/lib/notifo/models/user_dto.rb +100 -37
- data/lib/notifo/version.rb +4 -5
- data/notifo-io-1.0.1.1.gem +0 -0
- data/notifo.gemspec +10 -10
- data/spec/api/apps_api_spec.rb +14 -15
- data/spec/api/authorization_api_spec.rb +61 -0
- data/spec/api/configs_api_spec.rb +7 -8
- data/spec/api/events_api_spec.rb +8 -9
- data/spec/api/logs_api_spec.rb +7 -8
- data/spec/api/media_api_spec.rb +33 -12
- data/spec/api/mobile_push_api_spec.rb +66 -0
- data/spec/api/notifications_api_spec.rb +68 -0
- data/spec/api/templates_api_spec.rb +8 -9
- data/spec/api/topics_api_spec.rb +7 -44
- data/spec/api/user_api_spec.rb +91 -0
- data/spec/api/user_info_api_spec.rb +52 -0
- data/spec/api/users_api_spec.rb +10 -11
- data/spec/api_client_spec.rb +5 -6
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +4 -5
- data/spec/models/add_allowed_topic_dto_spec.rb +40 -0
- data/spec/models/add_contributor_dto_spec.rb +15 -9
- data/spec/models/app_contributor_dto_spec.rb +15 -9
- data/spec/models/app_details_dto_spec.rb +15 -9
- data/spec/models/app_dto_spec.rb +15 -9
- data/spec/models/app_id_media_body_spec.rb +40 -0
- data/spec/models/body_spec.rb +40 -0
- data/spec/models/configured_integration_dto_spec.rb +70 -0
- data/spec/models/configured_integrations_dto_spec.rb +46 -0
- data/spec/models/confirm_mode_spec.rb +15 -9
- data/spec/models/create_email_template_dto_spec.rb +15 -9
- data/spec/models/create_integration_dto_spec.rb +64 -0
- data/spec/models/email_template_dto_spec.rb +15 -9
- data/spec/models/email_templates_dto_spec.rb +34 -0
- data/spec/models/email_verification_status_spec.rb +15 -9
- data/spec/models/error_dto_spec.rb +15 -9
- data/spec/models/event_dto_spec.rb +15 -9
- data/spec/models/event_properties_spec.rb +34 -0
- data/spec/models/integration_created_dto_spec.rb +46 -0
- data/spec/models/integration_definition_dto_spec.rb +64 -0
- data/spec/models/integration_properties_spec.rb +34 -0
- data/spec/models/integration_property_dto_spec.rb +100 -0
- data/spec/models/integration_property_type_spec.rb +34 -0
- data/spec/models/integration_status_spec.rb +34 -0
- data/spec/models/iso_day_of_week_spec.rb +15 -9
- data/spec/models/list_response_dto_of_event_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_log_entry_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_media_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_mobile_push_token_dto_spec.rb +46 -0
- data/spec/models/list_response_dto_of_notification_dto_spec.rb +46 -0
- data/spec/models/list_response_dto_of_subscription_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_template_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_topic_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_user_dto_spec.rb +15 -9
- data/spec/models/localized_text_spec.rb +34 -0
- data/spec/models/log_entry_dto_spec.rb +15 -9
- data/spec/models/media_dto_spec.rb +21 -9
- data/spec/models/media_metadata_spec.rb +34 -0
- data/spec/models/media_type_spec.rb +15 -9
- data/spec/models/mobile_device_type_spec.rb +34 -0
- data/spec/models/mobile_push_token_dto_spec.rb +46 -0
- data/spec/models/notification_dto_spec.rb +124 -0
- data/spec/models/notification_formatting_dto_spec.rb +15 -9
- data/spec/models/notification_send_spec.rb +34 -0
- data/spec/models/notification_setting_dto_spec.rb +16 -10
- data/spec/models/profile_dto_spec.rb +82 -0
- data/spec/models/{publish_request_dto_spec.rb → publish_dto_spec.rb} +18 -12
- data/spec/models/publish_many_dto_spec.rb +40 -0
- data/spec/models/register_mobile_token_dto_spec.rb +46 -0
- data/spec/models/resize_mode_spec.rb +15 -9
- data/spec/models/scheduling_dto_spec.rb +15 -9
- data/spec/models/scheduling_type_spec.rb +15 -9
- data/spec/models/subscription_dto_spec.rb +15 -9
- data/spec/models/template_dto_spec.rb +15 -9
- data/spec/models/topic_dto_spec.rb +15 -9
- data/spec/models/track_notification_dto_spec.rb +58 -0
- data/spec/models/update_integration_dto_spec.rb +58 -0
- data/spec/models/update_profile_dto_spec.rb +70 -0
- data/spec/models/upsert_app_dto_spec.rb +15 -9
- data/spec/models/upsert_template_dto_spec.rb +15 -9
- data/spec/models/upsert_templates_dto_spec.rb +15 -9
- data/spec/models/upsert_user_dto_spec.rb +15 -9
- data/spec/models/upsert_users_dto_spec.rb +15 -9
- data/spec/models/user_dto_spec.rb +15 -9
- data/spec/spec_helper.rb +4 -5
- metadata +167 -30
- data/docs/AddAllowedTopicRequest.md +0 -18
- data/docs/InlineObject.md +0 -18
- data/docs/PublishManyRequestDto.md +0 -18
- data/docs/PublishRequestDto.md +0 -36
- data/docs/SubscribeDto.md +0 -20
- data/notifo-io-1.0.0.gem +0 -0
- data/notifo-io-1.0.0.pre.beta.gem +0 -0
- data/spec/models/add_allowed_topic_request_spec.rb +0 -34
- data/spec/models/inline_object_spec.rb +0 -34
- data/spec/models/publish_many_request_dto_spec.rb +0 -34
- data/spec/models/subscribe_dto_spec.rb +0 -40
data/git_push.sh
CHANGED
@@ -1,17 +1,14 @@
|
|
1
1
|
#!/bin/sh
|
2
|
+
#
|
3
|
+
# Generated by: https://github.com/swagger-api/swagger-codegen.git
|
4
|
+
#
|
2
5
|
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
6
|
#
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328
|
7
|
+
# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
|
5
8
|
|
6
9
|
git_user_id=$1
|
7
10
|
git_repo_id=$2
|
8
11
|
release_note=$3
|
9
|
-
git_host=$4
|
10
|
-
|
11
|
-
if [ "$git_host" = "" ]; then
|
12
|
-
git_host="github.com"
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
-
fi
|
15
12
|
|
16
13
|
if [ "$git_user_id" = "" ]; then
|
17
14
|
git_user_id="GIT_USER_ID"
|
@@ -43,9 +40,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
40
|
|
44
41
|
if [ "$GIT_TOKEN" = "" ]; then
|
45
42
|
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
-
git remote add origin https
|
43
|
+
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
47
44
|
else
|
48
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}
|
45
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
49
46
|
fi
|
50
47
|
|
51
48
|
fi
|
@@ -53,6 +50,6 @@ fi
|
|
53
50
|
git pull origin master
|
54
51
|
|
55
52
|
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
-
echo "Git pushing to https
|
53
|
+
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
|
57
54
|
git push origin master 2>&1 | grep -v 'To https'
|
58
55
|
|
data/lib/notifo.rb
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Notifo API
|
3
3
|
|
4
|
-
#No description provided (generated by
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
6
|
+
OpenAPI spec version: 1.0.0
|
10
7
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.26
|
11
10
|
=end
|
12
11
|
|
13
12
|
# Common files
|
@@ -17,40 +16,62 @@ require 'notifo/version'
|
|
17
16
|
require 'notifo/configuration'
|
18
17
|
|
19
18
|
# Models
|
20
|
-
require 'notifo/models/
|
19
|
+
require 'notifo/models/add_allowed_topic_dto'
|
21
20
|
require 'notifo/models/add_contributor_dto'
|
22
21
|
require 'notifo/models/app_contributor_dto'
|
23
22
|
require 'notifo/models/app_details_dto'
|
24
23
|
require 'notifo/models/app_dto'
|
24
|
+
require 'notifo/models/app_id_media_body'
|
25
|
+
require 'notifo/models/configured_integration_dto'
|
26
|
+
require 'notifo/models/configured_integrations_dto'
|
25
27
|
require 'notifo/models/confirm_mode'
|
26
28
|
require 'notifo/models/create_email_template_dto'
|
29
|
+
require 'notifo/models/create_integration_dto'
|
27
30
|
require 'notifo/models/email_template_dto'
|
28
|
-
require 'notifo/models/
|
31
|
+
require 'notifo/models/email_templates_dto'
|
29
32
|
require 'notifo/models/error_dto'
|
30
33
|
require 'notifo/models/event_dto'
|
31
|
-
require 'notifo/models/
|
34
|
+
require 'notifo/models/event_properties'
|
35
|
+
require 'notifo/models/integration_created_dto'
|
36
|
+
require 'notifo/models/integration_definition_dto'
|
37
|
+
require 'notifo/models/integration_properties'
|
38
|
+
require 'notifo/models/integration_property_dto'
|
39
|
+
require 'notifo/models/integration_property_type'
|
40
|
+
require 'notifo/models/integration_status'
|
32
41
|
require 'notifo/models/iso_day_of_week'
|
33
42
|
require 'notifo/models/list_response_dto_of_event_dto'
|
34
43
|
require 'notifo/models/list_response_dto_of_log_entry_dto'
|
35
44
|
require 'notifo/models/list_response_dto_of_media_dto'
|
45
|
+
require 'notifo/models/list_response_dto_of_mobile_push_token_dto'
|
46
|
+
require 'notifo/models/list_response_dto_of_notification_dto'
|
36
47
|
require 'notifo/models/list_response_dto_of_subscription_dto'
|
37
48
|
require 'notifo/models/list_response_dto_of_template_dto'
|
38
49
|
require 'notifo/models/list_response_dto_of_topic_dto'
|
39
50
|
require 'notifo/models/list_response_dto_of_user_dto'
|
51
|
+
require 'notifo/models/localized_text'
|
40
52
|
require 'notifo/models/log_entry_dto'
|
41
53
|
require 'notifo/models/media_dto'
|
54
|
+
require 'notifo/models/media_metadata'
|
42
55
|
require 'notifo/models/media_type'
|
56
|
+
require 'notifo/models/mobile_device_type'
|
57
|
+
require 'notifo/models/mobile_push_token_dto'
|
58
|
+
require 'notifo/models/notification_dto'
|
43
59
|
require 'notifo/models/notification_formatting_dto'
|
60
|
+
require 'notifo/models/notification_send'
|
44
61
|
require 'notifo/models/notification_setting_dto'
|
45
|
-
require 'notifo/models/
|
46
|
-
require 'notifo/models/
|
62
|
+
require 'notifo/models/profile_dto'
|
63
|
+
require 'notifo/models/publish_dto'
|
64
|
+
require 'notifo/models/publish_many_dto'
|
65
|
+
require 'notifo/models/register_mobile_token_dto'
|
47
66
|
require 'notifo/models/resize_mode'
|
48
67
|
require 'notifo/models/scheduling_dto'
|
49
68
|
require 'notifo/models/scheduling_type'
|
50
|
-
require 'notifo/models/subscribe_dto'
|
51
69
|
require 'notifo/models/subscription_dto'
|
52
70
|
require 'notifo/models/template_dto'
|
53
71
|
require 'notifo/models/topic_dto'
|
72
|
+
require 'notifo/models/track_notification_dto'
|
73
|
+
require 'notifo/models/update_integration_dto'
|
74
|
+
require 'notifo/models/update_profile_dto'
|
54
75
|
require 'notifo/models/upsert_app_dto'
|
55
76
|
require 'notifo/models/upsert_template_dto'
|
56
77
|
require 'notifo/models/upsert_templates_dto'
|
@@ -60,12 +81,17 @@ require 'notifo/models/user_dto'
|
|
60
81
|
|
61
82
|
# APIs
|
62
83
|
require 'notifo/api/apps_api'
|
84
|
+
require 'notifo/api/authorization_api'
|
63
85
|
require 'notifo/api/configs_api'
|
64
86
|
require 'notifo/api/events_api'
|
65
87
|
require 'notifo/api/logs_api'
|
66
88
|
require 'notifo/api/media_api'
|
89
|
+
require 'notifo/api/mobile_push_api'
|
90
|
+
require 'notifo/api/notifications_api'
|
67
91
|
require 'notifo/api/templates_api'
|
68
92
|
require 'notifo/api/topics_api'
|
93
|
+
require 'notifo/api/user_api'
|
94
|
+
require 'notifo/api/user_info_api'
|
69
95
|
require 'notifo/api/users_api'
|
70
96
|
|
71
97
|
module Notifo
|
data/lib/notifo/api/apps_api.rb
CHANGED
@@ -1,17 +1,14 @@
|
|
1
1
|
=begin
|
2
2
|
#Notifo API
|
3
3
|
|
4
|
-
#No description provided (generated by
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
6
|
+
OpenAPI spec version: 1.0.0
|
10
7
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.26
|
11
10
|
=end
|
12
11
|
|
13
|
-
require 'cgi'
|
14
|
-
|
15
12
|
module Notifo
|
16
13
|
class AppsApi
|
17
14
|
attr_accessor :api_client
|
@@ -20,8 +17,8 @@ module Notifo
|
|
20
17
|
@api_client = api_client
|
21
18
|
end
|
22
19
|
# Delete an app contributor.
|
23
|
-
# @param app_id
|
24
|
-
# @param contributor_id
|
20
|
+
# @param app_id The id of the app.
|
21
|
+
# @param contributor_id The contributor to remove.
|
25
22
|
# @param [Hash] opts the optional parameters
|
26
23
|
# @return [AppDetailsDto]
|
27
24
|
def apps_delete_contributor(app_id, contributor_id, opts = {})
|
@@ -30,8 +27,8 @@ module Notifo
|
|
30
27
|
end
|
31
28
|
|
32
29
|
# Delete an app contributor.
|
33
|
-
# @param app_id
|
34
|
-
# @param contributor_id
|
30
|
+
# @param app_id The id of the app.
|
31
|
+
# @param contributor_id The contributor to remove.
|
35
32
|
# @param [Hash] opts the optional parameters
|
36
33
|
# @return [Array<(AppDetailsDto, Integer, Hash)>] AppDetailsDto data, response status code and response headers
|
37
34
|
def apps_delete_contributor_with_http_info(app_id, contributor_id, opts = {})
|
@@ -47,7 +44,7 @@ module Notifo
|
|
47
44
|
fail ArgumentError, "Missing the required parameter 'contributor_id' when calling AppsApi.apps_delete_contributor"
|
48
45
|
end
|
49
46
|
# resource path
|
50
|
-
local_var_path = '/api/apps/{appId}/contributors/{contributorId}'.sub('{' + 'appId' + '}',
|
47
|
+
local_var_path = '/api/apps/{appId}/contributors/{contributorId}'.sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'contributorId' + '}', contributor_id.to_s)
|
51
48
|
|
52
49
|
# query parameters
|
53
50
|
query_params = opts[:query_params] || {}
|
@@ -61,34 +58,27 @@ module Notifo
|
|
61
58
|
form_params = opts[:form_params] || {}
|
62
59
|
|
63
60
|
# http body (model)
|
64
|
-
post_body = opts[:
|
65
|
-
|
66
|
-
# return_type
|
67
|
-
return_type = opts[:debug_return_type] || 'AppDetailsDto'
|
61
|
+
post_body = opts[:body]
|
68
62
|
|
69
|
-
|
70
|
-
auth_names = opts[:debug_auth_names] || []
|
63
|
+
return_type = opts[:return_type] || 'AppDetailsDto'
|
71
64
|
|
72
|
-
|
73
|
-
|
65
|
+
auth_names = opts[:auth_names] || []
|
66
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
74
67
|
:header_params => header_params,
|
75
68
|
:query_params => query_params,
|
76
69
|
:form_params => form_params,
|
77
70
|
:body => post_body,
|
78
71
|
:auth_names => auth_names,
|
79
|
-
:return_type => return_type
|
80
|
-
)
|
72
|
+
:return_type => return_type)
|
81
73
|
|
82
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
83
74
|
if @api_client.config.debugging
|
84
75
|
@api_client.config.logger.debug "API called: AppsApi#apps_delete_contributor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
85
76
|
end
|
86
77
|
return data, status_code, headers
|
87
78
|
end
|
88
|
-
|
89
79
|
# Delete an app email template.
|
90
|
-
# @param app_id
|
91
|
-
# @param language
|
80
|
+
# @param app_id The id of the app where the email templates belong to.
|
81
|
+
# @param language The language.
|
92
82
|
# @param [Hash] opts the optional parameters
|
93
83
|
# @return [nil]
|
94
84
|
def apps_delete_email_template(app_id, language, opts = {})
|
@@ -97,8 +87,8 @@ module Notifo
|
|
97
87
|
end
|
98
88
|
|
99
89
|
# Delete an app email template.
|
100
|
-
# @param app_id
|
101
|
-
# @param language
|
90
|
+
# @param app_id The id of the app where the email templates belong to.
|
91
|
+
# @param language The language.
|
102
92
|
# @param [Hash] opts the optional parameters
|
103
93
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
104
94
|
def apps_delete_email_template_with_http_info(app_id, language, opts = {})
|
@@ -114,7 +104,7 @@ module Notifo
|
|
114
104
|
fail ArgumentError, "Missing the required parameter 'language' when calling AppsApi.apps_delete_email_template"
|
115
105
|
end
|
116
106
|
# resource path
|
117
|
-
local_var_path = '/api/apps/{appId}/email-templates/{language}'.sub('{' + 'appId' + '}',
|
107
|
+
local_var_path = '/api/apps/{appId}/email-templates/{language}'.sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'language' + '}', language.to_s)
|
118
108
|
|
119
109
|
# query parameters
|
120
110
|
query_params = opts[:query_params] || {}
|
@@ -128,33 +118,86 @@ module Notifo
|
|
128
118
|
form_params = opts[:form_params] || {}
|
129
119
|
|
130
120
|
# http body (model)
|
131
|
-
post_body = opts[:
|
132
|
-
|
133
|
-
# return_type
|
134
|
-
return_type = opts[:debug_return_type]
|
121
|
+
post_body = opts[:body]
|
135
122
|
|
136
|
-
|
137
|
-
auth_names = opts[:debug_auth_names] || []
|
123
|
+
return_type = opts[:return_type]
|
138
124
|
|
139
|
-
|
140
|
-
|
125
|
+
auth_names = opts[:auth_names] || []
|
126
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
141
127
|
:header_params => header_params,
|
142
128
|
:query_params => query_params,
|
143
129
|
:form_params => form_params,
|
144
130
|
:body => post_body,
|
145
131
|
:auth_names => auth_names,
|
146
|
-
:return_type => return_type
|
147
|
-
)
|
132
|
+
:return_type => return_type)
|
148
133
|
|
149
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
150
134
|
if @api_client.config.debugging
|
151
135
|
@api_client.config.logger.debug "API called: AppsApi#apps_delete_email_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
152
136
|
end
|
153
137
|
return data, status_code, headers
|
154
138
|
end
|
139
|
+
# Delete an app integration.
|
140
|
+
# @param app_id The id of the app where the email templates belong to.
|
141
|
+
# @param id The id of the integration.
|
142
|
+
# @param [Hash] opts the optional parameters
|
143
|
+
# @return [nil]
|
144
|
+
def apps_delete_integration(app_id, id, opts = {})
|
145
|
+
apps_delete_integration_with_http_info(app_id, id, opts)
|
146
|
+
nil
|
147
|
+
end
|
155
148
|
|
149
|
+
# Delete an app integration.
|
150
|
+
# @param app_id The id of the app where the email templates belong to.
|
151
|
+
# @param id The id of the integration.
|
152
|
+
# @param [Hash] opts the optional parameters
|
153
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
154
|
+
def apps_delete_integration_with_http_info(app_id, id, opts = {})
|
155
|
+
if @api_client.config.debugging
|
156
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.apps_delete_integration ...'
|
157
|
+
end
|
158
|
+
# verify the required parameter 'app_id' is set
|
159
|
+
if @api_client.config.client_side_validation && app_id.nil?
|
160
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_delete_integration"
|
161
|
+
end
|
162
|
+
# verify the required parameter 'id' is set
|
163
|
+
if @api_client.config.client_side_validation && id.nil?
|
164
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling AppsApi.apps_delete_integration"
|
165
|
+
end
|
166
|
+
# resource path
|
167
|
+
local_var_path = '/api/apps/{appId}/integrations/{id}'.sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
168
|
+
|
169
|
+
# query parameters
|
170
|
+
query_params = opts[:query_params] || {}
|
171
|
+
|
172
|
+
# header parameters
|
173
|
+
header_params = opts[:header_params] || {}
|
174
|
+
# HTTP header 'Accept' (if needed)
|
175
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
176
|
+
|
177
|
+
# form parameters
|
178
|
+
form_params = opts[:form_params] || {}
|
179
|
+
|
180
|
+
# http body (model)
|
181
|
+
post_body = opts[:body]
|
182
|
+
|
183
|
+
return_type = opts[:return_type]
|
184
|
+
|
185
|
+
auth_names = opts[:auth_names] || []
|
186
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
187
|
+
:header_params => header_params,
|
188
|
+
:query_params => query_params,
|
189
|
+
:form_params => form_params,
|
190
|
+
:body => post_body,
|
191
|
+
:auth_names => auth_names,
|
192
|
+
:return_type => return_type)
|
193
|
+
|
194
|
+
if @api_client.config.debugging
|
195
|
+
@api_client.config.logger.debug "API called: AppsApi#apps_delete_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
196
|
+
end
|
197
|
+
return data, status_code, headers
|
198
|
+
end
|
156
199
|
# Get app by id.
|
157
|
-
# @param app_id
|
200
|
+
# @param app_id The id of the app.
|
158
201
|
# @param [Hash] opts the optional parameters
|
159
202
|
# @return [AppDetailsDto]
|
160
203
|
def apps_get_app(app_id, opts = {})
|
@@ -163,7 +206,7 @@ module Notifo
|
|
163
206
|
end
|
164
207
|
|
165
208
|
# Get app by id.
|
166
|
-
# @param app_id
|
209
|
+
# @param app_id The id of the app.
|
167
210
|
# @param [Hash] opts the optional parameters
|
168
211
|
# @return [Array<(AppDetailsDto, Integer, Hash)>] AppDetailsDto data, response status code and response headers
|
169
212
|
def apps_get_app_with_http_info(app_id, opts = {})
|
@@ -175,7 +218,7 @@ module Notifo
|
|
175
218
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_get_app"
|
176
219
|
end
|
177
220
|
# resource path
|
178
|
-
local_var_path = '/api/apps/{appId}'.sub('{' + 'appId' + '}',
|
221
|
+
local_var_path = '/api/apps/{appId}'.sub('{' + 'appId' + '}', app_id.to_s)
|
179
222
|
|
180
223
|
# query parameters
|
181
224
|
query_params = opts[:query_params] || {}
|
@@ -189,31 +232,24 @@ module Notifo
|
|
189
232
|
form_params = opts[:form_params] || {}
|
190
233
|
|
191
234
|
# http body (model)
|
192
|
-
post_body = opts[:
|
235
|
+
post_body = opts[:body]
|
193
236
|
|
194
|
-
|
195
|
-
return_type = opts[:debug_return_type] || 'AppDetailsDto'
|
237
|
+
return_type = opts[:return_type] || 'AppDetailsDto'
|
196
238
|
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
new_options = opts.merge(
|
201
|
-
:operation => :"AppsApi.apps_get_app",
|
239
|
+
auth_names = opts[:auth_names] || []
|
240
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
202
241
|
:header_params => header_params,
|
203
242
|
:query_params => query_params,
|
204
243
|
:form_params => form_params,
|
205
244
|
:body => post_body,
|
206
245
|
:auth_names => auth_names,
|
207
|
-
:return_type => return_type
|
208
|
-
)
|
246
|
+
:return_type => return_type)
|
209
247
|
|
210
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
211
248
|
if @api_client.config.debugging
|
212
249
|
@api_client.config.logger.debug "API called: AppsApi#apps_get_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
213
250
|
end
|
214
251
|
return data, status_code, headers
|
215
252
|
end
|
216
|
-
|
217
253
|
# Get the user apps.
|
218
254
|
# @param [Hash] opts the optional parameters
|
219
255
|
# @return [Array<AppDto>]
|
@@ -244,44 +280,37 @@ module Notifo
|
|
244
280
|
form_params = opts[:form_params] || {}
|
245
281
|
|
246
282
|
# http body (model)
|
247
|
-
post_body = opts[:
|
283
|
+
post_body = opts[:body]
|
248
284
|
|
249
|
-
|
250
|
-
return_type = opts[:debug_return_type] || 'Array<AppDto>'
|
285
|
+
return_type = opts[:return_type] || 'Array<AppDto>'
|
251
286
|
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
new_options = opts.merge(
|
256
|
-
:operation => :"AppsApi.apps_get_apps",
|
287
|
+
auth_names = opts[:auth_names] || []
|
288
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
257
289
|
:header_params => header_params,
|
258
290
|
:query_params => query_params,
|
259
291
|
:form_params => form_params,
|
260
292
|
:body => post_body,
|
261
293
|
:auth_names => auth_names,
|
262
|
-
:return_type => return_type
|
263
|
-
)
|
294
|
+
:return_type => return_type)
|
264
295
|
|
265
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
266
296
|
if @api_client.config.debugging
|
267
297
|
@api_client.config.logger.debug "API called: AppsApi#apps_get_apps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
268
298
|
end
|
269
299
|
return data, status_code, headers
|
270
300
|
end
|
271
|
-
|
272
301
|
# Get the app email templates.
|
273
|
-
# @param app_id
|
302
|
+
# @param app_id The id of the app where the email templates belong to.
|
274
303
|
# @param [Hash] opts the optional parameters
|
275
|
-
# @return [
|
304
|
+
# @return [EmailTemplatesDto]
|
276
305
|
def apps_get_email_templates(app_id, opts = {})
|
277
306
|
data, _status_code, _headers = apps_get_email_templates_with_http_info(app_id, opts)
|
278
307
|
data
|
279
308
|
end
|
280
309
|
|
281
310
|
# Get the app email templates.
|
282
|
-
# @param app_id
|
311
|
+
# @param app_id The id of the app where the email templates belong to.
|
283
312
|
# @param [Hash] opts the optional parameters
|
284
|
-
# @return [Array<(
|
313
|
+
# @return [Array<(EmailTemplatesDto, Integer, Hash)>] EmailTemplatesDto data, response status code and response headers
|
285
314
|
def apps_get_email_templates_with_http_info(app_id, opts = {})
|
286
315
|
if @api_client.config.debugging
|
287
316
|
@api_client.config.logger.debug 'Calling API: AppsApi.apps_get_email_templates ...'
|
@@ -291,7 +320,7 @@ module Notifo
|
|
291
320
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_get_email_templates"
|
292
321
|
end
|
293
322
|
# resource path
|
294
|
-
local_var_path = '/api/apps/{appId}/email-templates'.sub('{' + 'appId' + '}',
|
323
|
+
local_var_path = '/api/apps/{appId}/email-templates'.sub('{' + 'appId' + '}', app_id.to_s)
|
295
324
|
|
296
325
|
# query parameters
|
297
326
|
query_params = opts[:query_params] || {}
|
@@ -305,51 +334,98 @@ module Notifo
|
|
305
334
|
form_params = opts[:form_params] || {}
|
306
335
|
|
307
336
|
# http body (model)
|
308
|
-
post_body = opts[:
|
309
|
-
|
310
|
-
# return_type
|
311
|
-
return_type = opts[:debug_return_type] || 'Hash<String, EmailTemplateDto>'
|
337
|
+
post_body = opts[:body]
|
312
338
|
|
313
|
-
|
314
|
-
auth_names = opts[:debug_auth_names] || []
|
339
|
+
return_type = opts[:return_type] || 'EmailTemplatesDto'
|
315
340
|
|
316
|
-
|
317
|
-
|
341
|
+
auth_names = opts[:auth_names] || []
|
342
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
318
343
|
:header_params => header_params,
|
319
344
|
:query_params => query_params,
|
320
345
|
:form_params => form_params,
|
321
346
|
:body => post_body,
|
322
347
|
:auth_names => auth_names,
|
323
|
-
:return_type => return_type
|
324
|
-
)
|
348
|
+
:return_type => return_type)
|
325
349
|
|
326
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
327
350
|
if @api_client.config.debugging
|
328
351
|
@api_client.config.logger.debug "API called: AppsApi#apps_get_email_templates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
329
352
|
end
|
330
353
|
return data, status_code, headers
|
331
354
|
end
|
355
|
+
# Get the app integrations.
|
356
|
+
# @param app_id The id of the app where the integrations belong to.
|
357
|
+
# @param [Hash] opts the optional parameters
|
358
|
+
# @return [ConfiguredIntegrationsDto]
|
359
|
+
def apps_get_integrations(app_id, opts = {})
|
360
|
+
data, _status_code, _headers = apps_get_integrations_with_http_info(app_id, opts)
|
361
|
+
data
|
362
|
+
end
|
332
363
|
|
364
|
+
# Get the app integrations.
|
365
|
+
# @param app_id The id of the app where the integrations belong to.
|
366
|
+
# @param [Hash] opts the optional parameters
|
367
|
+
# @return [Array<(ConfiguredIntegrationsDto, Integer, Hash)>] ConfiguredIntegrationsDto data, response status code and response headers
|
368
|
+
def apps_get_integrations_with_http_info(app_id, opts = {})
|
369
|
+
if @api_client.config.debugging
|
370
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.apps_get_integrations ...'
|
371
|
+
end
|
372
|
+
# verify the required parameter 'app_id' is set
|
373
|
+
if @api_client.config.client_side_validation && app_id.nil?
|
374
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_get_integrations"
|
375
|
+
end
|
376
|
+
# resource path
|
377
|
+
local_var_path = '/api/apps/{appId}/integrations'.sub('{' + 'appId' + '}', app_id.to_s)
|
378
|
+
|
379
|
+
# query parameters
|
380
|
+
query_params = opts[:query_params] || {}
|
381
|
+
|
382
|
+
# header parameters
|
383
|
+
header_params = opts[:header_params] || {}
|
384
|
+
# HTTP header 'Accept' (if needed)
|
385
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
386
|
+
|
387
|
+
# form parameters
|
388
|
+
form_params = opts[:form_params] || {}
|
389
|
+
|
390
|
+
# http body (model)
|
391
|
+
post_body = opts[:body]
|
392
|
+
|
393
|
+
return_type = opts[:return_type] || 'ConfiguredIntegrationsDto'
|
394
|
+
|
395
|
+
auth_names = opts[:auth_names] || []
|
396
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
397
|
+
:header_params => header_params,
|
398
|
+
:query_params => query_params,
|
399
|
+
:form_params => form_params,
|
400
|
+
:body => post_body,
|
401
|
+
:auth_names => auth_names,
|
402
|
+
:return_type => return_type)
|
403
|
+
|
404
|
+
if @api_client.config.debugging
|
405
|
+
@api_client.config.logger.debug "API called: AppsApi#apps_get_integrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
406
|
+
end
|
407
|
+
return data, status_code, headers
|
408
|
+
end
|
333
409
|
# Create an app.
|
334
|
-
# @param
|
410
|
+
# @param body The request object.
|
335
411
|
# @param [Hash] opts the optional parameters
|
336
412
|
# @return [AppDto]
|
337
|
-
def apps_post_app(
|
338
|
-
data, _status_code, _headers = apps_post_app_with_http_info(
|
413
|
+
def apps_post_app(body, opts = {})
|
414
|
+
data, _status_code, _headers = apps_post_app_with_http_info(body, opts)
|
339
415
|
data
|
340
416
|
end
|
341
417
|
|
342
418
|
# Create an app.
|
343
|
-
# @param
|
419
|
+
# @param body The request object.
|
344
420
|
# @param [Hash] opts the optional parameters
|
345
421
|
# @return [Array<(AppDto, Integer, Hash)>] AppDto data, response status code and response headers
|
346
|
-
def apps_post_app_with_http_info(
|
422
|
+
def apps_post_app_with_http_info(body, opts = {})
|
347
423
|
if @api_client.config.debugging
|
348
424
|
@api_client.config.logger.debug 'Calling API: AppsApi.apps_post_app ...'
|
349
425
|
end
|
350
|
-
# verify the required parameter '
|
351
|
-
if @api_client.config.client_side_validation &&
|
352
|
-
fail ArgumentError, "Missing the required parameter '
|
426
|
+
# verify the required parameter 'body' is set
|
427
|
+
if @api_client.config.client_side_validation && body.nil?
|
428
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.apps_post_app"
|
353
429
|
end
|
354
430
|
# resource path
|
355
431
|
local_var_path = '/api/apps'
|
@@ -368,60 +444,53 @@ module Notifo
|
|
368
444
|
form_params = opts[:form_params] || {}
|
369
445
|
|
370
446
|
# http body (model)
|
371
|
-
post_body = opts[:
|
372
|
-
|
373
|
-
# return_type
|
374
|
-
return_type = opts[:debug_return_type] || 'AppDto'
|
447
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
375
448
|
|
376
|
-
|
377
|
-
auth_names = opts[:debug_auth_names] || []
|
449
|
+
return_type = opts[:return_type] || 'AppDto'
|
378
450
|
|
379
|
-
|
380
|
-
|
451
|
+
auth_names = opts[:auth_names] || []
|
452
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
381
453
|
:header_params => header_params,
|
382
454
|
:query_params => query_params,
|
383
455
|
:form_params => form_params,
|
384
456
|
:body => post_body,
|
385
457
|
:auth_names => auth_names,
|
386
|
-
:return_type => return_type
|
387
|
-
)
|
458
|
+
:return_type => return_type)
|
388
459
|
|
389
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
390
460
|
if @api_client.config.debugging
|
391
461
|
@api_client.config.logger.debug "API called: AppsApi#apps_post_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
392
462
|
end
|
393
463
|
return data, status_code, headers
|
394
464
|
end
|
395
|
-
|
396
465
|
# Add an app contributor.
|
397
|
-
# @param
|
398
|
-
# @param
|
466
|
+
# @param body The request object.
|
467
|
+
# @param app_id The id of the app.
|
399
468
|
# @param [Hash] opts the optional parameters
|
400
469
|
# @return [AppDetailsDto]
|
401
|
-
def apps_post_contributor(
|
402
|
-
data, _status_code, _headers = apps_post_contributor_with_http_info(
|
470
|
+
def apps_post_contributor(body, app_id, opts = {})
|
471
|
+
data, _status_code, _headers = apps_post_contributor_with_http_info(body, app_id, opts)
|
403
472
|
data
|
404
473
|
end
|
405
474
|
|
406
475
|
# Add an app contributor.
|
407
|
-
# @param
|
408
|
-
# @param
|
476
|
+
# @param body The request object.
|
477
|
+
# @param app_id The id of the app.
|
409
478
|
# @param [Hash] opts the optional parameters
|
410
479
|
# @return [Array<(AppDetailsDto, Integer, Hash)>] AppDetailsDto data, response status code and response headers
|
411
|
-
def apps_post_contributor_with_http_info(
|
480
|
+
def apps_post_contributor_with_http_info(body, app_id, opts = {})
|
412
481
|
if @api_client.config.debugging
|
413
482
|
@api_client.config.logger.debug 'Calling API: AppsApi.apps_post_contributor ...'
|
414
483
|
end
|
484
|
+
# verify the required parameter 'body' is set
|
485
|
+
if @api_client.config.client_side_validation && body.nil?
|
486
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.apps_post_contributor"
|
487
|
+
end
|
415
488
|
# verify the required parameter 'app_id' is set
|
416
489
|
if @api_client.config.client_side_validation && app_id.nil?
|
417
490
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_post_contributor"
|
418
491
|
end
|
419
|
-
# verify the required parameter 'add_contributor_dto' is set
|
420
|
-
if @api_client.config.client_side_validation && add_contributor_dto.nil?
|
421
|
-
fail ArgumentError, "Missing the required parameter 'add_contributor_dto' when calling AppsApi.apps_post_contributor"
|
422
|
-
end
|
423
492
|
# resource path
|
424
|
-
local_var_path = '/api/apps/{appId}/contributors'.sub('{' + 'appId' + '}',
|
493
|
+
local_var_path = '/api/apps/{appId}/contributors'.sub('{' + 'appId' + '}', app_id.to_s)
|
425
494
|
|
426
495
|
# query parameters
|
427
496
|
query_params = opts[:query_params] || {}
|
@@ -437,60 +506,53 @@ module Notifo
|
|
437
506
|
form_params = opts[:form_params] || {}
|
438
507
|
|
439
508
|
# http body (model)
|
440
|
-
post_body = opts[:
|
441
|
-
|
442
|
-
# return_type
|
443
|
-
return_type = opts[:debug_return_type] || 'AppDetailsDto'
|
509
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
444
510
|
|
445
|
-
|
446
|
-
auth_names = opts[:debug_auth_names] || []
|
511
|
+
return_type = opts[:return_type] || 'AppDetailsDto'
|
447
512
|
|
448
|
-
|
449
|
-
|
513
|
+
auth_names = opts[:auth_names] || []
|
514
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
450
515
|
:header_params => header_params,
|
451
516
|
:query_params => query_params,
|
452
517
|
:form_params => form_params,
|
453
518
|
:body => post_body,
|
454
519
|
:auth_names => auth_names,
|
455
|
-
:return_type => return_type
|
456
|
-
)
|
520
|
+
:return_type => return_type)
|
457
521
|
|
458
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
459
522
|
if @api_client.config.debugging
|
460
523
|
@api_client.config.logger.debug "API called: AppsApi#apps_post_contributor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
461
524
|
end
|
462
525
|
return data, status_code, headers
|
463
526
|
end
|
464
|
-
|
465
527
|
# Create an app email template.
|
466
|
-
# @param
|
467
|
-
# @param
|
528
|
+
# @param body The request object.
|
529
|
+
# @param app_id The id of the app where the email templates belong to.
|
468
530
|
# @param [Hash] opts the optional parameters
|
469
|
-
# @return [
|
470
|
-
def apps_post_email_template(
|
471
|
-
data, _status_code, _headers = apps_post_email_template_with_http_info(
|
531
|
+
# @return [EmailTemplateDto]
|
532
|
+
def apps_post_email_template(body, app_id, opts = {})
|
533
|
+
data, _status_code, _headers = apps_post_email_template_with_http_info(body, app_id, opts)
|
472
534
|
data
|
473
535
|
end
|
474
536
|
|
475
537
|
# Create an app email template.
|
476
|
-
# @param
|
477
|
-
# @param
|
538
|
+
# @param body The request object.
|
539
|
+
# @param app_id The id of the app where the email templates belong to.
|
478
540
|
# @param [Hash] opts the optional parameters
|
479
|
-
# @return [Array<(
|
480
|
-
def apps_post_email_template_with_http_info(
|
541
|
+
# @return [Array<(EmailTemplateDto, Integer, Hash)>] EmailTemplateDto data, response status code and response headers
|
542
|
+
def apps_post_email_template_with_http_info(body, app_id, opts = {})
|
481
543
|
if @api_client.config.debugging
|
482
544
|
@api_client.config.logger.debug 'Calling API: AppsApi.apps_post_email_template ...'
|
483
545
|
end
|
546
|
+
# verify the required parameter 'body' is set
|
547
|
+
if @api_client.config.client_side_validation && body.nil?
|
548
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.apps_post_email_template"
|
549
|
+
end
|
484
550
|
# verify the required parameter 'app_id' is set
|
485
551
|
if @api_client.config.client_side_validation && app_id.nil?
|
486
552
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_post_email_template"
|
487
553
|
end
|
488
|
-
# verify the required parameter 'create_email_template_dto' is set
|
489
|
-
if @api_client.config.client_side_validation && create_email_template_dto.nil?
|
490
|
-
fail ArgumentError, "Missing the required parameter 'create_email_template_dto' when calling AppsApi.apps_post_email_template"
|
491
|
-
end
|
492
554
|
# resource path
|
493
|
-
local_var_path = '/api/apps/{appId}/email-templates'.sub('{' + 'appId' + '}',
|
555
|
+
local_var_path = '/api/apps/{appId}/email-templates'.sub('{' + 'appId' + '}', app_id.to_s)
|
494
556
|
|
495
557
|
# query parameters
|
496
558
|
query_params = opts[:query_params] || {}
|
@@ -506,60 +568,115 @@ module Notifo
|
|
506
568
|
form_params = opts[:form_params] || {}
|
507
569
|
|
508
570
|
# http body (model)
|
509
|
-
post_body = opts[:
|
510
|
-
|
511
|
-
# return_type
|
512
|
-
return_type = opts[:debug_return_type] || 'Hash<String, EmailTemplateDto>'
|
571
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
513
572
|
|
514
|
-
|
515
|
-
auth_names = opts[:debug_auth_names] || []
|
573
|
+
return_type = opts[:return_type] || 'EmailTemplateDto'
|
516
574
|
|
517
|
-
|
518
|
-
|
575
|
+
auth_names = opts[:auth_names] || []
|
576
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
519
577
|
:header_params => header_params,
|
520
578
|
:query_params => query_params,
|
521
579
|
:form_params => form_params,
|
522
580
|
:body => post_body,
|
523
581
|
:auth_names => auth_names,
|
524
|
-
:return_type => return_type
|
525
|
-
)
|
582
|
+
:return_type => return_type)
|
526
583
|
|
527
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
528
584
|
if @api_client.config.debugging
|
529
585
|
@api_client.config.logger.debug "API called: AppsApi#apps_post_email_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
530
586
|
end
|
531
587
|
return data, status_code, headers
|
532
588
|
end
|
589
|
+
# Create an app integrations.
|
590
|
+
# @param body The request object.
|
591
|
+
# @param app_id The id of the app where the integration belong to.
|
592
|
+
# @param [Hash] opts the optional parameters
|
593
|
+
# @return [IntegrationCreatedDto]
|
594
|
+
def apps_post_integration(body, app_id, opts = {})
|
595
|
+
data, _status_code, _headers = apps_post_integration_with_http_info(body, app_id, opts)
|
596
|
+
data
|
597
|
+
end
|
533
598
|
|
599
|
+
# Create an app integrations.
|
600
|
+
# @param body The request object.
|
601
|
+
# @param app_id The id of the app where the integration belong to.
|
602
|
+
# @param [Hash] opts the optional parameters
|
603
|
+
# @return [Array<(IntegrationCreatedDto, Integer, Hash)>] IntegrationCreatedDto data, response status code and response headers
|
604
|
+
def apps_post_integration_with_http_info(body, app_id, opts = {})
|
605
|
+
if @api_client.config.debugging
|
606
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.apps_post_integration ...'
|
607
|
+
end
|
608
|
+
# verify the required parameter 'body' is set
|
609
|
+
if @api_client.config.client_side_validation && body.nil?
|
610
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.apps_post_integration"
|
611
|
+
end
|
612
|
+
# verify the required parameter 'app_id' is set
|
613
|
+
if @api_client.config.client_side_validation && app_id.nil?
|
614
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_post_integration"
|
615
|
+
end
|
616
|
+
# resource path
|
617
|
+
local_var_path = '/api/apps/{appId}/integration'.sub('{' + 'appId' + '}', app_id.to_s)
|
618
|
+
|
619
|
+
# query parameters
|
620
|
+
query_params = opts[:query_params] || {}
|
621
|
+
|
622
|
+
# header parameters
|
623
|
+
header_params = opts[:header_params] || {}
|
624
|
+
# HTTP header 'Accept' (if needed)
|
625
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
626
|
+
# HTTP header 'Content-Type'
|
627
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
628
|
+
|
629
|
+
# form parameters
|
630
|
+
form_params = opts[:form_params] || {}
|
631
|
+
|
632
|
+
# http body (model)
|
633
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
634
|
+
|
635
|
+
return_type = opts[:return_type] || 'IntegrationCreatedDto'
|
636
|
+
|
637
|
+
auth_names = opts[:auth_names] || []
|
638
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
639
|
+
:header_params => header_params,
|
640
|
+
:query_params => query_params,
|
641
|
+
:form_params => form_params,
|
642
|
+
:body => post_body,
|
643
|
+
:auth_names => auth_names,
|
644
|
+
:return_type => return_type)
|
645
|
+
|
646
|
+
if @api_client.config.debugging
|
647
|
+
@api_client.config.logger.debug "API called: AppsApi#apps_post_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
648
|
+
end
|
649
|
+
return data, status_code, headers
|
650
|
+
end
|
534
651
|
# Update an app.
|
535
|
-
# @param
|
536
|
-
# @param
|
652
|
+
# @param body The request object.
|
653
|
+
# @param app_id The app id to update.
|
537
654
|
# @param [Hash] opts the optional parameters
|
538
655
|
# @return [AppDetailsDto]
|
539
|
-
def apps_put_app(
|
540
|
-
data, _status_code, _headers = apps_put_app_with_http_info(
|
656
|
+
def apps_put_app(body, app_id, opts = {})
|
657
|
+
data, _status_code, _headers = apps_put_app_with_http_info(body, app_id, opts)
|
541
658
|
data
|
542
659
|
end
|
543
660
|
|
544
661
|
# Update an app.
|
545
|
-
# @param
|
546
|
-
# @param
|
662
|
+
# @param body The request object.
|
663
|
+
# @param app_id The app id to update.
|
547
664
|
# @param [Hash] opts the optional parameters
|
548
665
|
# @return [Array<(AppDetailsDto, Integer, Hash)>] AppDetailsDto data, response status code and response headers
|
549
|
-
def apps_put_app_with_http_info(
|
666
|
+
def apps_put_app_with_http_info(body, app_id, opts = {})
|
550
667
|
if @api_client.config.debugging
|
551
668
|
@api_client.config.logger.debug 'Calling API: AppsApi.apps_put_app ...'
|
552
669
|
end
|
670
|
+
# verify the required parameter 'body' is set
|
671
|
+
if @api_client.config.client_side_validation && body.nil?
|
672
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.apps_put_app"
|
673
|
+
end
|
553
674
|
# verify the required parameter 'app_id' is set
|
554
675
|
if @api_client.config.client_side_validation && app_id.nil?
|
555
676
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_put_app"
|
556
677
|
end
|
557
|
-
# verify the required parameter 'upsert_app_dto' is set
|
558
|
-
if @api_client.config.client_side_validation && upsert_app_dto.nil?
|
559
|
-
fail ArgumentError, "Missing the required parameter 'upsert_app_dto' when calling AppsApi.apps_put_app"
|
560
|
-
end
|
561
678
|
# resource path
|
562
|
-
local_var_path = '/api/apps/{appId}'.sub('{' + 'appId' + '}',
|
679
|
+
local_var_path = '/api/apps/{appId}'.sub('{' + 'appId' + '}', app_id.to_s)
|
563
680
|
|
564
681
|
# query parameters
|
565
682
|
query_params = opts[:query_params] || {}
|
@@ -575,52 +692,49 @@ module Notifo
|
|
575
692
|
form_params = opts[:form_params] || {}
|
576
693
|
|
577
694
|
# http body (model)
|
578
|
-
post_body = opts[:
|
579
|
-
|
580
|
-
# return_type
|
581
|
-
return_type = opts[:debug_return_type] || 'AppDetailsDto'
|
695
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
582
696
|
|
583
|
-
|
584
|
-
auth_names = opts[:debug_auth_names] || []
|
697
|
+
return_type = opts[:return_type] || 'AppDetailsDto'
|
585
698
|
|
586
|
-
|
587
|
-
|
699
|
+
auth_names = opts[:auth_names] || []
|
700
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
588
701
|
:header_params => header_params,
|
589
702
|
:query_params => query_params,
|
590
703
|
:form_params => form_params,
|
591
704
|
:body => post_body,
|
592
705
|
:auth_names => auth_names,
|
593
|
-
:return_type => return_type
|
594
|
-
)
|
706
|
+
:return_type => return_type)
|
595
707
|
|
596
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
597
708
|
if @api_client.config.debugging
|
598
709
|
@api_client.config.logger.debug "API called: AppsApi#apps_put_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
599
710
|
end
|
600
711
|
return data, status_code, headers
|
601
712
|
end
|
602
|
-
|
603
713
|
# Update an app email template.
|
604
|
-
# @param
|
605
|
-
# @param
|
606
|
-
# @param
|
714
|
+
# @param body The request object.
|
715
|
+
# @param app_id The id of the app where the email templates belong to.
|
716
|
+
# @param language The language.
|
607
717
|
# @param [Hash] opts the optional parameters
|
608
718
|
# @return [nil]
|
609
|
-
def apps_put_email_template(app_id, language,
|
610
|
-
apps_put_email_template_with_http_info(app_id, language,
|
719
|
+
def apps_put_email_template(body, app_id, language, opts = {})
|
720
|
+
apps_put_email_template_with_http_info(body, app_id, language, opts)
|
611
721
|
nil
|
612
722
|
end
|
613
723
|
|
614
724
|
# Update an app email template.
|
615
|
-
# @param
|
616
|
-
# @param
|
617
|
-
# @param
|
725
|
+
# @param body The request object.
|
726
|
+
# @param app_id The id of the app where the email templates belong to.
|
727
|
+
# @param language The language.
|
618
728
|
# @param [Hash] opts the optional parameters
|
619
729
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
620
|
-
def apps_put_email_template_with_http_info(app_id, language,
|
730
|
+
def apps_put_email_template_with_http_info(body, app_id, language, opts = {})
|
621
731
|
if @api_client.config.debugging
|
622
732
|
@api_client.config.logger.debug 'Calling API: AppsApi.apps_put_email_template ...'
|
623
733
|
end
|
734
|
+
# verify the required parameter 'body' is set
|
735
|
+
if @api_client.config.client_side_validation && body.nil?
|
736
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.apps_put_email_template"
|
737
|
+
end
|
624
738
|
# verify the required parameter 'app_id' is set
|
625
739
|
if @api_client.config.client_side_validation && app_id.nil?
|
626
740
|
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_put_email_template"
|
@@ -629,12 +743,8 @@ module Notifo
|
|
629
743
|
if @api_client.config.client_side_validation && language.nil?
|
630
744
|
fail ArgumentError, "Missing the required parameter 'language' when calling AppsApi.apps_put_email_template"
|
631
745
|
end
|
632
|
-
# verify the required parameter 'email_template_dto' is set
|
633
|
-
if @api_client.config.client_side_validation && email_template_dto.nil?
|
634
|
-
fail ArgumentError, "Missing the required parameter 'email_template_dto' when calling AppsApi.apps_put_email_template"
|
635
|
-
end
|
636
746
|
# resource path
|
637
|
-
local_var_path = '/api/apps/{appId}/email-templates/{language}'.sub('{' + 'appId' + '}',
|
747
|
+
local_var_path = '/api/apps/{appId}/email-templates/{language}'.sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'language' + '}', language.to_s)
|
638
748
|
|
639
749
|
# query parameters
|
640
750
|
query_params = opts[:query_params] || {}
|
@@ -650,29 +760,91 @@ module Notifo
|
|
650
760
|
form_params = opts[:form_params] || {}
|
651
761
|
|
652
762
|
# http body (model)
|
653
|
-
post_body = opts[:
|
654
|
-
|
655
|
-
# return_type
|
656
|
-
return_type = opts[:debug_return_type]
|
763
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
657
764
|
|
658
|
-
|
659
|
-
auth_names = opts[:debug_auth_names] || []
|
765
|
+
return_type = opts[:return_type]
|
660
766
|
|
661
|
-
|
662
|
-
|
767
|
+
auth_names = opts[:auth_names] || []
|
768
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
663
769
|
:header_params => header_params,
|
664
770
|
:query_params => query_params,
|
665
771
|
:form_params => form_params,
|
666
772
|
:body => post_body,
|
667
773
|
:auth_names => auth_names,
|
668
|
-
:return_type => return_type
|
669
|
-
)
|
774
|
+
:return_type => return_type)
|
670
775
|
|
671
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
672
776
|
if @api_client.config.debugging
|
673
777
|
@api_client.config.logger.debug "API called: AppsApi#apps_put_email_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
674
778
|
end
|
675
779
|
return data, status_code, headers
|
676
780
|
end
|
781
|
+
# Update an app integration.
|
782
|
+
# @param body The request object.
|
783
|
+
# @param app_id The id of the app where the integration belong to.
|
784
|
+
# @param id The id of the integration.
|
785
|
+
# @param [Hash] opts the optional parameters
|
786
|
+
# @return [nil]
|
787
|
+
def apps_put_integration(body, app_id, id, opts = {})
|
788
|
+
apps_put_integration_with_http_info(body, app_id, id, opts)
|
789
|
+
nil
|
790
|
+
end
|
791
|
+
|
792
|
+
# Update an app integration.
|
793
|
+
# @param body The request object.
|
794
|
+
# @param app_id The id of the app where the integration belong to.
|
795
|
+
# @param id The id of the integration.
|
796
|
+
# @param [Hash] opts the optional parameters
|
797
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
798
|
+
def apps_put_integration_with_http_info(body, app_id, id, opts = {})
|
799
|
+
if @api_client.config.debugging
|
800
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.apps_put_integration ...'
|
801
|
+
end
|
802
|
+
# verify the required parameter 'body' is set
|
803
|
+
if @api_client.config.client_side_validation && body.nil?
|
804
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.apps_put_integration"
|
805
|
+
end
|
806
|
+
# verify the required parameter 'app_id' is set
|
807
|
+
if @api_client.config.client_side_validation && app_id.nil?
|
808
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling AppsApi.apps_put_integration"
|
809
|
+
end
|
810
|
+
# verify the required parameter 'id' is set
|
811
|
+
if @api_client.config.client_side_validation && id.nil?
|
812
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling AppsApi.apps_put_integration"
|
813
|
+
end
|
814
|
+
# resource path
|
815
|
+
local_var_path = '/api/apps/{appId}/integrations/{id}'.sub('{' + 'appId' + '}', app_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
816
|
+
|
817
|
+
# query parameters
|
818
|
+
query_params = opts[:query_params] || {}
|
819
|
+
|
820
|
+
# header parameters
|
821
|
+
header_params = opts[:header_params] || {}
|
822
|
+
# HTTP header 'Accept' (if needed)
|
823
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
824
|
+
# HTTP header 'Content-Type'
|
825
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
826
|
+
|
827
|
+
# form parameters
|
828
|
+
form_params = opts[:form_params] || {}
|
829
|
+
|
830
|
+
# http body (model)
|
831
|
+
post_body = opts[:body] || @api_client.object_to_http_body(body)
|
832
|
+
|
833
|
+
return_type = opts[:return_type]
|
834
|
+
|
835
|
+
auth_names = opts[:auth_names] || []
|
836
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
837
|
+
:header_params => header_params,
|
838
|
+
:query_params => query_params,
|
839
|
+
:form_params => form_params,
|
840
|
+
:body => post_body,
|
841
|
+
:auth_names => auth_names,
|
842
|
+
:return_type => return_type)
|
843
|
+
|
844
|
+
if @api_client.config.debugging
|
845
|
+
@api_client.config.logger.debug "API called: AppsApi#apps_put_integration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
846
|
+
end
|
847
|
+
return data, status_code, headers
|
848
|
+
end
|
677
849
|
end
|
678
850
|
end
|