zyphr 0.1.42 → 0.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +52 -5
- data/docs/ApplicationSelf.md +24 -0
- data/docs/ApplicationSelfResponse.md +20 -0
- data/docs/AuthApplicationApi.md +81 -0
- data/docs/AuthEmailTemplateTestRequest.md +1 -1
- data/docs/AuthEmailTemplatesApi.md +1 -1
- data/docs/AuthMethods.md +28 -0
- data/docs/AuthUserDirectoryApi.md +125 -42
- data/docs/CloseWaaSEndpointCircuit200Response.md +20 -0
- data/docs/CloseWaaSEndpointCircuit200ResponseData.md +18 -0
- data/docs/DomainsApi.md +8 -7
- data/docs/GetEndUserAuthMethods200Response.md +20 -0
- data/docs/GetEndUserById200Response.md +20 -0
- data/docs/GetEndUserClaims200Response.md +20 -0
- data/docs/GetEndUserClaims200ResponseData.md +18 -0
- data/docs/GetSubscriberInboxPreferences200Response.md +18 -0
- data/docs/GetSubscriberInboxPreferences200ResponseData.md +20 -0
- data/docs/GetSubscriberInboxPreferences200ResponseDataCategoriesInner.md +20 -0
- data/docs/GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.md +26 -0
- data/docs/GetSubscriberInboxPreferences200ResponseDataGlobal.md +18 -0
- data/docs/GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner.md +22 -0
- data/docs/GetSubscriberNotification200Response.md +18 -0
- data/docs/GetSubscriberUnreadCount200Response.md +18 -0
- data/docs/GetWaaSDelivery200Response.md +20 -0
- data/docs/GetWaaSEndpointCircuit200Response.md +20 -0
- data/docs/GetWaaSEndpointCircuit200ResponseData.md +28 -0
- data/docs/GetWaaSEndpointMetrics200Response.md +20 -0
- data/docs/GetWaaSEndpointMetrics200ResponseData.md +22 -0
- data/docs/GetWaaSEndpointMetrics200ResponseDataHealth.md +20 -0
- data/docs/GetWaaSEndpointMetrics200ResponseDataWindowsValue.md +30 -0
- data/docs/InboxApi.md +72 -63
- data/docs/InviteEndUser200Response.md +20 -0
- data/docs/InviteEndUser200ResponseData.md +22 -0
- data/docs/ListEndUsers200Response.md +20 -0
- data/docs/{ListWorkflowExecutions200ResponseMeta.md → ListEndUsers200ResponseMeta.md} +2 -2
- data/docs/ListWorkflowExecutions200Response.md +1 -1
- data/docs/MarkAllSubscriberNotificationsRead200Response.md +18 -0
- data/docs/RotateWaaSEndpointSecret200Response.md +20 -0
- data/docs/RotateWaaSEndpointSecret200ResponseData.md +18 -0
- data/docs/SendTemplateTestEmail202Response.md +20 -0
- data/docs/SendTemplateTestEmail202ResponseData.md +30 -0
- data/docs/SendTemplateTestEmail202ResponseMeta.md +18 -0
- data/docs/SmsListResponse.md +1 -1
- data/docs/TemplatesApi.md +7 -6
- data/docs/UpdateSubscriberPreferences200Response.md +18 -0
- data/docs/UpdateSubscriberPreferences200ResponseData.md +20 -0
- data/docs/UpdateSubscriberPreferences200ResponseDataPreferencesInner.md +24 -0
- data/docs/UpdateWaaSEndpoint200Response.md +20 -0
- data/docs/UpdateWaaSEventType200Response.md +20 -0
- data/docs/WaaSDeliveriesApi.md +16 -14
- data/docs/WaaSEndpointsApi.md +40 -35
- data/docs/WaaSEventTypesApi.md +16 -14
- data/lib/zyphr/api/auth_application_api.rb +79 -0
- data/lib/zyphr/api/auth_email_templates_api.rb +2 -2
- data/lib/zyphr/api/auth_user_directory_api.rb +105 -30
- data/lib/zyphr/api/domains_api.rb +7 -5
- data/lib/zyphr/api/inbox_api.rb +63 -45
- data/lib/zyphr/api/templates_api.rb +5 -5
- data/lib/zyphr/api/waa_s_deliveries_api.rb +14 -10
- data/lib/zyphr/api/waa_s_endpoints_api.rb +35 -25
- data/lib/zyphr/api/waa_s_event_types_api.rb +14 -10
- data/lib/zyphr/models/application_self.rb +342 -0
- data/lib/zyphr/models/application_self_response.rb +229 -0
- data/lib/zyphr/models/auth_email_template_test_request.rb +1 -1
- data/lib/zyphr/models/auth_methods.rb +376 -0
- data/lib/zyphr/models/close_waa_s_endpoint_circuit200_response.rb +229 -0
- data/lib/zyphr/models/close_waa_s_endpoint_circuit200_response_data.rb +261 -0
- data/lib/zyphr/models/get_end_user_auth_methods200_response.rb +229 -0
- data/lib/zyphr/models/get_end_user_by_id200_response.rb +229 -0
- data/lib/zyphr/models/get_end_user_claims200_response.rb +229 -0
- data/lib/zyphr/models/get_end_user_claims200_response_data.rb +223 -0
- data/lib/zyphr/models/get_subscriber_inbox_preferences200_response.rb +220 -0
- data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data.rb +231 -0
- data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_categories_inner.rb +231 -0
- data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_categories_inner_category.rb +257 -0
- data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_global.rb +222 -0
- data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_global_channels_inner.rb +272 -0
- data/lib/zyphr/models/get_subscriber_notification200_response.rb +220 -0
- data/lib/zyphr/models/get_subscriber_unread_count200_response.rb +220 -0
- data/lib/zyphr/models/get_waa_s_delivery200_response.rb +229 -0
- data/lib/zyphr/models/get_waa_s_endpoint_circuit200_response.rb +229 -0
- data/lib/zyphr/models/get_waa_s_endpoint_circuit200_response_data.rb +349 -0
- data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response.rb +229 -0
- data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data.rb +292 -0
- data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data_health.rb +287 -0
- data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data_windows_value.rb +308 -0
- data/lib/zyphr/models/invite_end_user200_response.rb +229 -0
- data/lib/zyphr/models/invite_end_user200_response_data.rb +240 -0
- data/lib/zyphr/models/list_end_users200_response.rb +231 -0
- data/lib/zyphr/models/{list_workflow_executions200_response_meta.rb → list_end_users200_response_meta.rb} +3 -3
- data/lib/zyphr/models/list_workflow_executions200_response.rb +1 -1
- data/lib/zyphr/models/mark_all_subscriber_notifications_read200_response.rb +220 -0
- data/lib/zyphr/models/rotate_waa_s_endpoint_secret200_response.rb +229 -0
- data/lib/zyphr/models/rotate_waa_s_endpoint_secret200_response_data.rb +238 -0
- data/lib/zyphr/models/send_template_test_email202_response.rb +263 -0
- data/lib/zyphr/models/send_template_test_email202_response_data.rb +393 -0
- data/lib/zyphr/models/send_template_test_email202_response_meta.rb +237 -0
- data/lib/zyphr/models/sms_list_response.rb +1 -1
- data/lib/zyphr/models/update_subscriber_preferences200_response.rb +220 -0
- data/lib/zyphr/models/update_subscriber_preferences200_response_data.rb +231 -0
- data/lib/zyphr/models/update_subscriber_preferences200_response_data_preferences_inner.rb +282 -0
- data/lib/zyphr/models/update_waa_s_endpoint200_response.rb +229 -0
- data/lib/zyphr/models/update_waa_s_event_type200_response.rb +229 -0
- data/lib/zyphr.rb +40 -1
- data/spec/api/auth_application_api_spec.rb +46 -0
- data/spec/api/auth_email_templates_api_spec.rb +1 -1
- data/spec/api/auth_user_directory_api_spec.rb +18 -6
- data/spec/api/domains_api_spec.rb +1 -1
- data/spec/api/inbox_api_spec.rb +9 -9
- data/spec/api/templates_api_spec.rb +1 -1
- data/spec/api/waa_s_deliveries_api_spec.rb +2 -2
- data/spec/api/waa_s_endpoints_api_spec.rb +5 -5
- data/spec/api/waa_s_event_types_api_spec.rb +2 -2
- data/spec/models/application_self_response_spec.rb +42 -0
- data/spec/models/application_self_spec.rb +62 -0
- data/spec/models/auth_methods_spec.rb +66 -0
- data/spec/models/close_waa_s_endpoint_circuit200_response_data_spec.rb +40 -0
- data/spec/models/close_waa_s_endpoint_circuit200_response_spec.rb +42 -0
- data/spec/models/get_end_user_auth_methods200_response_spec.rb +42 -0
- data/spec/models/get_end_user_by_id200_response_spec.rb +42 -0
- data/spec/models/get_end_user_claims200_response_data_spec.rb +36 -0
- data/spec/models/get_end_user_claims200_response_spec.rb +42 -0
- data/spec/models/get_subscriber_inbox_preferences200_response_data_categories_inner_category_spec.rb +60 -0
- data/spec/models/get_subscriber_inbox_preferences200_response_data_categories_inner_spec.rb +42 -0
- data/spec/models/get_subscriber_inbox_preferences200_response_data_global_channels_inner_spec.rb +52 -0
- data/spec/models/get_subscriber_inbox_preferences200_response_data_global_spec.rb +36 -0
- data/spec/models/get_subscriber_inbox_preferences200_response_data_spec.rb +42 -0
- data/spec/models/get_subscriber_inbox_preferences200_response_spec.rb +36 -0
- data/spec/models/get_subscriber_notification200_response_spec.rb +36 -0
- data/spec/models/get_subscriber_unread_count200_response_spec.rb +36 -0
- data/spec/models/get_waa_s_delivery200_response_spec.rb +42 -0
- data/spec/models/get_waa_s_endpoint_circuit200_response_data_spec.rb +70 -0
- data/spec/models/get_waa_s_endpoint_circuit200_response_spec.rb +42 -0
- data/spec/models/get_waa_s_endpoint_metrics200_response_data_health_spec.rb +46 -0
- data/spec/models/get_waa_s_endpoint_metrics200_response_data_spec.rb +48 -0
- data/spec/models/get_waa_s_endpoint_metrics200_response_data_windows_value_spec.rb +76 -0
- data/spec/models/get_waa_s_endpoint_metrics200_response_spec.rb +42 -0
- data/spec/models/invite_end_user200_response_data_spec.rb +48 -0
- data/spec/models/invite_end_user200_response_spec.rb +42 -0
- data/spec/models/{list_workflow_executions200_response_meta_spec.rb → list_end_users200_response_meta_spec.rb} +6 -6
- data/spec/models/list_end_users200_response_spec.rb +42 -0
- data/spec/models/mark_all_subscriber_notifications_read200_response_spec.rb +36 -0
- data/spec/models/rotate_waa_s_endpoint_secret200_response_data_spec.rb +36 -0
- data/spec/models/rotate_waa_s_endpoint_secret200_response_spec.rb +42 -0
- data/spec/models/send_template_test_email202_response_data_spec.rb +72 -0
- data/spec/models/send_template_test_email202_response_meta_spec.rb +36 -0
- data/spec/models/send_template_test_email202_response_spec.rb +42 -0
- data/spec/models/update_subscriber_preferences200_response_data_preferences_inner_spec.rb +58 -0
- data/spec/models/update_subscriber_preferences200_response_data_spec.rb +42 -0
- data/spec/models/update_subscriber_preferences200_response_spec.rb +36 -0
- data/spec/models/update_waa_s_endpoint200_response_spec.rb +42 -0
- data/spec/models/update_waa_s_event_type200_response_spec.rb +42 -0
- data/zyphr.gemspec +1 -1
- metadata +162 -6
data/lib/zyphr/api/inbox_api.rb
CHANGED
|
@@ -92,16 +92,16 @@ module Zyphr
|
|
|
92
92
|
# Archive a notification
|
|
93
93
|
# @param id [String]
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @return [
|
|
95
|
+
# @return [GetSubscriberNotification200Response]
|
|
96
96
|
def archive_subscriber_notification(id, opts = {})
|
|
97
|
-
archive_subscriber_notification_with_http_info(id, opts)
|
|
98
|
-
|
|
97
|
+
data, _status_code, _headers = archive_subscriber_notification_with_http_info(id, opts)
|
|
98
|
+
data
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# Archive a notification
|
|
102
102
|
# @param id [String]
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
|
-
# @return [Array<(
|
|
104
|
+
# @return [Array<(GetSubscriberNotification200Response, Integer, Hash)>] GetSubscriberNotification200Response data, response status code and response headers
|
|
105
105
|
def archive_subscriber_notification_with_http_info(id, opts = {})
|
|
106
106
|
if @api_client.config.debugging
|
|
107
107
|
@api_client.config.logger.debug 'Calling API: InboxApi.archive_subscriber_notification ...'
|
|
@@ -118,6 +118,8 @@ module Zyphr
|
|
|
118
118
|
|
|
119
119
|
# header parameters
|
|
120
120
|
header_params = opts[:header_params] || {}
|
|
121
|
+
# HTTP header 'Accept' (if needed)
|
|
122
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
121
123
|
|
|
122
124
|
# form parameters
|
|
123
125
|
form_params = opts[:form_params] || {}
|
|
@@ -126,7 +128,7 @@ module Zyphr
|
|
|
126
128
|
post_body = opts[:debug_body]
|
|
127
129
|
|
|
128
130
|
# return_type
|
|
129
|
-
return_type = opts[:debug_return_type]
|
|
131
|
+
return_type = opts[:debug_return_type] || 'GetSubscriberNotification200Response'
|
|
130
132
|
|
|
131
133
|
# auth_names
|
|
132
134
|
auth_names = opts[:debug_auth_names] || ['EndUserToken']
|
|
@@ -414,16 +416,16 @@ module Zyphr
|
|
|
414
416
|
# Get subscriber preferences
|
|
415
417
|
# Get notification preferences grouped by category for the authenticated subscriber.
|
|
416
418
|
# @param [Hash] opts the optional parameters
|
|
417
|
-
# @return [
|
|
419
|
+
# @return [GetSubscriberInboxPreferences200Response]
|
|
418
420
|
def get_subscriber_inbox_preferences(opts = {})
|
|
419
|
-
get_subscriber_inbox_preferences_with_http_info(opts)
|
|
420
|
-
|
|
421
|
+
data, _status_code, _headers = get_subscriber_inbox_preferences_with_http_info(opts)
|
|
422
|
+
data
|
|
421
423
|
end
|
|
422
424
|
|
|
423
425
|
# Get subscriber preferences
|
|
424
426
|
# Get notification preferences grouped by category for the authenticated subscriber.
|
|
425
427
|
# @param [Hash] opts the optional parameters
|
|
426
|
-
# @return [Array<(
|
|
428
|
+
# @return [Array<(GetSubscriberInboxPreferences200Response, Integer, Hash)>] GetSubscriberInboxPreferences200Response data, response status code and response headers
|
|
427
429
|
def get_subscriber_inbox_preferences_with_http_info(opts = {})
|
|
428
430
|
if @api_client.config.debugging
|
|
429
431
|
@api_client.config.logger.debug 'Calling API: InboxApi.get_subscriber_inbox_preferences ...'
|
|
@@ -436,6 +438,8 @@ module Zyphr
|
|
|
436
438
|
|
|
437
439
|
# header parameters
|
|
438
440
|
header_params = opts[:header_params] || {}
|
|
441
|
+
# HTTP header 'Accept' (if needed)
|
|
442
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
439
443
|
|
|
440
444
|
# form parameters
|
|
441
445
|
form_params = opts[:form_params] || {}
|
|
@@ -444,7 +448,7 @@ module Zyphr
|
|
|
444
448
|
post_body = opts[:debug_body]
|
|
445
449
|
|
|
446
450
|
# return_type
|
|
447
|
-
return_type = opts[:debug_return_type]
|
|
451
|
+
return_type = opts[:debug_return_type] || 'GetSubscriberInboxPreferences200Response'
|
|
448
452
|
|
|
449
453
|
# auth_names
|
|
450
454
|
auth_names = opts[:debug_auth_names] || ['EndUserToken']
|
|
@@ -470,17 +474,17 @@ module Zyphr
|
|
|
470
474
|
# Get a specific notification by ID for the authenticated subscriber.
|
|
471
475
|
# @param id [String]
|
|
472
476
|
# @param [Hash] opts the optional parameters
|
|
473
|
-
# @return [
|
|
477
|
+
# @return [GetSubscriberNotification200Response]
|
|
474
478
|
def get_subscriber_notification(id, opts = {})
|
|
475
|
-
get_subscriber_notification_with_http_info(id, opts)
|
|
476
|
-
|
|
479
|
+
data, _status_code, _headers = get_subscriber_notification_with_http_info(id, opts)
|
|
480
|
+
data
|
|
477
481
|
end
|
|
478
482
|
|
|
479
483
|
# Get a notification
|
|
480
484
|
# Get a specific notification by ID for the authenticated subscriber.
|
|
481
485
|
# @param id [String]
|
|
482
486
|
# @param [Hash] opts the optional parameters
|
|
483
|
-
# @return [Array<(
|
|
487
|
+
# @return [Array<(GetSubscriberNotification200Response, Integer, Hash)>] GetSubscriberNotification200Response data, response status code and response headers
|
|
484
488
|
def get_subscriber_notification_with_http_info(id, opts = {})
|
|
485
489
|
if @api_client.config.debugging
|
|
486
490
|
@api_client.config.logger.debug 'Calling API: InboxApi.get_subscriber_notification ...'
|
|
@@ -497,6 +501,8 @@ module Zyphr
|
|
|
497
501
|
|
|
498
502
|
# header parameters
|
|
499
503
|
header_params = opts[:header_params] || {}
|
|
504
|
+
# HTTP header 'Accept' (if needed)
|
|
505
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
500
506
|
|
|
501
507
|
# form parameters
|
|
502
508
|
form_params = opts[:form_params] || {}
|
|
@@ -505,7 +511,7 @@ module Zyphr
|
|
|
505
511
|
post_body = opts[:debug_body]
|
|
506
512
|
|
|
507
513
|
# return_type
|
|
508
|
-
return_type = opts[:debug_return_type]
|
|
514
|
+
return_type = opts[:debug_return_type] || 'GetSubscriberNotification200Response'
|
|
509
515
|
|
|
510
516
|
# auth_names
|
|
511
517
|
auth_names = opts[:debug_auth_names] || ['EndUserToken']
|
|
@@ -530,16 +536,16 @@ module Zyphr
|
|
|
530
536
|
# Get unread count
|
|
531
537
|
# Get the unread notification count for the authenticated subscriber.
|
|
532
538
|
# @param [Hash] opts the optional parameters
|
|
533
|
-
# @return [
|
|
539
|
+
# @return [GetSubscriberUnreadCount200Response]
|
|
534
540
|
def get_subscriber_unread_count(opts = {})
|
|
535
|
-
get_subscriber_unread_count_with_http_info(opts)
|
|
536
|
-
|
|
541
|
+
data, _status_code, _headers = get_subscriber_unread_count_with_http_info(opts)
|
|
542
|
+
data
|
|
537
543
|
end
|
|
538
544
|
|
|
539
545
|
# Get unread count
|
|
540
546
|
# Get the unread notification count for the authenticated subscriber.
|
|
541
547
|
# @param [Hash] opts the optional parameters
|
|
542
|
-
# @return [Array<(
|
|
548
|
+
# @return [Array<(GetSubscriberUnreadCount200Response, Integer, Hash)>] GetSubscriberUnreadCount200Response data, response status code and response headers
|
|
543
549
|
def get_subscriber_unread_count_with_http_info(opts = {})
|
|
544
550
|
if @api_client.config.debugging
|
|
545
551
|
@api_client.config.logger.debug 'Calling API: InboxApi.get_subscriber_unread_count ...'
|
|
@@ -552,6 +558,8 @@ module Zyphr
|
|
|
552
558
|
|
|
553
559
|
# header parameters
|
|
554
560
|
header_params = opts[:header_params] || {}
|
|
561
|
+
# HTTP header 'Accept' (if needed)
|
|
562
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
555
563
|
|
|
556
564
|
# form parameters
|
|
557
565
|
form_params = opts[:form_params] || {}
|
|
@@ -560,7 +568,7 @@ module Zyphr
|
|
|
560
568
|
post_body = opts[:debug_body]
|
|
561
569
|
|
|
562
570
|
# return_type
|
|
563
|
-
return_type = opts[:debug_return_type]
|
|
571
|
+
return_type = opts[:debug_return_type] || 'GetSubscriberUnreadCount200Response'
|
|
564
572
|
|
|
565
573
|
# auth_names
|
|
566
574
|
auth_names = opts[:debug_auth_names] || ['EndUserToken']
|
|
@@ -654,10 +662,10 @@ module Zyphr
|
|
|
654
662
|
# @option opts [String] :search Search by title or body
|
|
655
663
|
# @option opts [Integer] :limit (default to 50)
|
|
656
664
|
# @option opts [Integer] :offset (default to 0)
|
|
657
|
-
# @return [
|
|
665
|
+
# @return [InboxListResponse]
|
|
658
666
|
def list_all_inbox(opts = {})
|
|
659
|
-
list_all_inbox_with_http_info(opts)
|
|
660
|
-
|
|
667
|
+
data, _status_code, _headers = list_all_inbox_with_http_info(opts)
|
|
668
|
+
data
|
|
661
669
|
end
|
|
662
670
|
|
|
663
671
|
# List all project notifications
|
|
@@ -669,7 +677,7 @@ module Zyphr
|
|
|
669
677
|
# @option opts [String] :search Search by title or body
|
|
670
678
|
# @option opts [Integer] :limit (default to 50)
|
|
671
679
|
# @option opts [Integer] :offset (default to 0)
|
|
672
|
-
# @return [Array<(
|
|
680
|
+
# @return [Array<(InboxListResponse, Integer, Hash)>] InboxListResponse data, response status code and response headers
|
|
673
681
|
def list_all_inbox_with_http_info(opts = {})
|
|
674
682
|
if @api_client.config.debugging
|
|
675
683
|
@api_client.config.logger.debug 'Calling API: InboxApi.list_all_inbox ...'
|
|
@@ -696,6 +704,8 @@ module Zyphr
|
|
|
696
704
|
|
|
697
705
|
# header parameters
|
|
698
706
|
header_params = opts[:header_params] || {}
|
|
707
|
+
# HTTP header 'Accept' (if needed)
|
|
708
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
699
709
|
|
|
700
710
|
# form parameters
|
|
701
711
|
form_params = opts[:form_params] || {}
|
|
@@ -704,7 +714,7 @@ module Zyphr
|
|
|
704
714
|
post_body = opts[:debug_body]
|
|
705
715
|
|
|
706
716
|
# return_type
|
|
707
|
-
return_type = opts[:debug_return_type]
|
|
717
|
+
return_type = opts[:debug_return_type] || 'InboxListResponse'
|
|
708
718
|
|
|
709
719
|
# auth_names
|
|
710
720
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
@@ -819,10 +829,10 @@ module Zyphr
|
|
|
819
829
|
# @option opts [Boolean] :include_archived Include archived notifications (default to false)
|
|
820
830
|
# @option opts [Integer] :limit (default to 50)
|
|
821
831
|
# @option opts [String] :cursor Pagination cursor from previous response
|
|
822
|
-
# @return [
|
|
832
|
+
# @return [InboxListResponse]
|
|
823
833
|
def list_subscriber_notifications(opts = {})
|
|
824
|
-
list_subscriber_notifications_with_http_info(opts)
|
|
825
|
-
|
|
834
|
+
data, _status_code, _headers = list_subscriber_notifications_with_http_info(opts)
|
|
835
|
+
data
|
|
826
836
|
end
|
|
827
837
|
|
|
828
838
|
# List subscriber notifications
|
|
@@ -833,7 +843,7 @@ module Zyphr
|
|
|
833
843
|
# @option opts [Boolean] :include_archived Include archived notifications (default to false)
|
|
834
844
|
# @option opts [Integer] :limit (default to 50)
|
|
835
845
|
# @option opts [String] :cursor Pagination cursor from previous response
|
|
836
|
-
# @return [Array<(
|
|
846
|
+
# @return [Array<(InboxListResponse, Integer, Hash)>] InboxListResponse data, response status code and response headers
|
|
837
847
|
def list_subscriber_notifications_with_http_info(opts = {})
|
|
838
848
|
if @api_client.config.debugging
|
|
839
849
|
@api_client.config.logger.debug 'Calling API: InboxApi.list_subscriber_notifications ...'
|
|
@@ -855,6 +865,8 @@ module Zyphr
|
|
|
855
865
|
|
|
856
866
|
# header parameters
|
|
857
867
|
header_params = opts[:header_params] || {}
|
|
868
|
+
# HTTP header 'Accept' (if needed)
|
|
869
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
858
870
|
|
|
859
871
|
# form parameters
|
|
860
872
|
form_params = opts[:form_params] || {}
|
|
@@ -863,7 +875,7 @@ module Zyphr
|
|
|
863
875
|
post_body = opts[:debug_body]
|
|
864
876
|
|
|
865
877
|
# return_type
|
|
866
|
-
return_type = opts[:debug_return_type]
|
|
878
|
+
return_type = opts[:debug_return_type] || 'InboxListResponse'
|
|
867
879
|
|
|
868
880
|
# auth_names
|
|
869
881
|
auth_names = opts[:debug_auth_names] || ['EndUserToken']
|
|
@@ -956,16 +968,16 @@ module Zyphr
|
|
|
956
968
|
# Mark all notifications as read
|
|
957
969
|
# @param [Hash] opts the optional parameters
|
|
958
970
|
# @option opts [MarkAllSubscriberNotificationsReadRequest] :mark_all_subscriber_notifications_read_request
|
|
959
|
-
# @return [
|
|
971
|
+
# @return [MarkAllSubscriberNotificationsRead200Response]
|
|
960
972
|
def mark_all_subscriber_notifications_read(opts = {})
|
|
961
|
-
mark_all_subscriber_notifications_read_with_http_info(opts)
|
|
962
|
-
|
|
973
|
+
data, _status_code, _headers = mark_all_subscriber_notifications_read_with_http_info(opts)
|
|
974
|
+
data
|
|
963
975
|
end
|
|
964
976
|
|
|
965
977
|
# Mark all notifications as read
|
|
966
978
|
# @param [Hash] opts the optional parameters
|
|
967
979
|
# @option opts [MarkAllSubscriberNotificationsReadRequest] :mark_all_subscriber_notifications_read_request
|
|
968
|
-
# @return [Array<(
|
|
980
|
+
# @return [Array<(MarkAllSubscriberNotificationsRead200Response, Integer, Hash)>] MarkAllSubscriberNotificationsRead200Response data, response status code and response headers
|
|
969
981
|
def mark_all_subscriber_notifications_read_with_http_info(opts = {})
|
|
970
982
|
if @api_client.config.debugging
|
|
971
983
|
@api_client.config.logger.debug 'Calling API: InboxApi.mark_all_subscriber_notifications_read ...'
|
|
@@ -978,6 +990,8 @@ module Zyphr
|
|
|
978
990
|
|
|
979
991
|
# header parameters
|
|
980
992
|
header_params = opts[:header_params] || {}
|
|
993
|
+
# HTTP header 'Accept' (if needed)
|
|
994
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
981
995
|
# HTTP header 'Content-Type'
|
|
982
996
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
983
997
|
if !content_type.nil?
|
|
@@ -991,7 +1005,7 @@ module Zyphr
|
|
|
991
1005
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'mark_all_subscriber_notifications_read_request'])
|
|
992
1006
|
|
|
993
1007
|
# return_type
|
|
994
|
-
return_type = opts[:debug_return_type]
|
|
1008
|
+
return_type = opts[:debug_return_type] || 'MarkAllSubscriberNotificationsRead200Response'
|
|
995
1009
|
|
|
996
1010
|
# auth_names
|
|
997
1011
|
auth_names = opts[:debug_auth_names] || ['EndUserToken']
|
|
@@ -1086,16 +1100,16 @@ module Zyphr
|
|
|
1086
1100
|
# Mark notification as read
|
|
1087
1101
|
# @param id [String]
|
|
1088
1102
|
# @param [Hash] opts the optional parameters
|
|
1089
|
-
# @return [
|
|
1103
|
+
# @return [GetSubscriberNotification200Response]
|
|
1090
1104
|
def mark_subscriber_notification_read(id, opts = {})
|
|
1091
|
-
mark_subscriber_notification_read_with_http_info(id, opts)
|
|
1092
|
-
|
|
1105
|
+
data, _status_code, _headers = mark_subscriber_notification_read_with_http_info(id, opts)
|
|
1106
|
+
data
|
|
1093
1107
|
end
|
|
1094
1108
|
|
|
1095
1109
|
# Mark notification as read
|
|
1096
1110
|
# @param id [String]
|
|
1097
1111
|
# @param [Hash] opts the optional parameters
|
|
1098
|
-
# @return [Array<(
|
|
1112
|
+
# @return [Array<(GetSubscriberNotification200Response, Integer, Hash)>] GetSubscriberNotification200Response data, response status code and response headers
|
|
1099
1113
|
def mark_subscriber_notification_read_with_http_info(id, opts = {})
|
|
1100
1114
|
if @api_client.config.debugging
|
|
1101
1115
|
@api_client.config.logger.debug 'Calling API: InboxApi.mark_subscriber_notification_read ...'
|
|
@@ -1112,6 +1126,8 @@ module Zyphr
|
|
|
1112
1126
|
|
|
1113
1127
|
# header parameters
|
|
1114
1128
|
header_params = opts[:header_params] || {}
|
|
1129
|
+
# HTTP header 'Accept' (if needed)
|
|
1130
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1115
1131
|
|
|
1116
1132
|
# form parameters
|
|
1117
1133
|
form_params = opts[:form_params] || {}
|
|
@@ -1120,7 +1136,7 @@ module Zyphr
|
|
|
1120
1136
|
post_body = opts[:debug_body]
|
|
1121
1137
|
|
|
1122
1138
|
# return_type
|
|
1123
|
-
return_type = opts[:debug_return_type]
|
|
1139
|
+
return_type = opts[:debug_return_type] || 'GetSubscriberNotification200Response'
|
|
1124
1140
|
|
|
1125
1141
|
# auth_names
|
|
1126
1142
|
auth_names = opts[:debug_auth_names] || ['EndUserToken']
|
|
@@ -1282,17 +1298,17 @@ module Zyphr
|
|
|
1282
1298
|
# Update notification channel preferences for specific categories or globally.
|
|
1283
1299
|
# @param update_subscriber_preferences_request [UpdateSubscriberPreferencesRequest]
|
|
1284
1300
|
# @param [Hash] opts the optional parameters
|
|
1285
|
-
# @return [
|
|
1301
|
+
# @return [UpdateSubscriberPreferences200Response]
|
|
1286
1302
|
def update_subscriber_preferences(update_subscriber_preferences_request, opts = {})
|
|
1287
|
-
update_subscriber_preferences_with_http_info(update_subscriber_preferences_request, opts)
|
|
1288
|
-
|
|
1303
|
+
data, _status_code, _headers = update_subscriber_preferences_with_http_info(update_subscriber_preferences_request, opts)
|
|
1304
|
+
data
|
|
1289
1305
|
end
|
|
1290
1306
|
|
|
1291
1307
|
# Update subscriber preferences
|
|
1292
1308
|
# Update notification channel preferences for specific categories or globally.
|
|
1293
1309
|
# @param update_subscriber_preferences_request [UpdateSubscriberPreferencesRequest]
|
|
1294
1310
|
# @param [Hash] opts the optional parameters
|
|
1295
|
-
# @return [Array<(
|
|
1311
|
+
# @return [Array<(UpdateSubscriberPreferences200Response, Integer, Hash)>] UpdateSubscriberPreferences200Response data, response status code and response headers
|
|
1296
1312
|
def update_subscriber_preferences_with_http_info(update_subscriber_preferences_request, opts = {})
|
|
1297
1313
|
if @api_client.config.debugging
|
|
1298
1314
|
@api_client.config.logger.debug 'Calling API: InboxApi.update_subscriber_preferences ...'
|
|
@@ -1309,6 +1325,8 @@ module Zyphr
|
|
|
1309
1325
|
|
|
1310
1326
|
# header parameters
|
|
1311
1327
|
header_params = opts[:header_params] || {}
|
|
1328
|
+
# HTTP header 'Accept' (if needed)
|
|
1329
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1312
1330
|
# HTTP header 'Content-Type'
|
|
1313
1331
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1314
1332
|
if !content_type.nil?
|
|
@@ -1322,7 +1340,7 @@ module Zyphr
|
|
|
1322
1340
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_subscriber_preferences_request)
|
|
1323
1341
|
|
|
1324
1342
|
# return_type
|
|
1325
|
-
return_type = opts[:debug_return_type]
|
|
1343
|
+
return_type = opts[:debug_return_type] || 'UpdateSubscriberPreferences200Response'
|
|
1326
1344
|
|
|
1327
1345
|
# auth_names
|
|
1328
1346
|
auth_names = opts[:debug_auth_names] || ['EndUserToken']
|
|
@@ -355,10 +355,10 @@ module Zyphr
|
|
|
355
355
|
# @param id [String]
|
|
356
356
|
# @param send_template_test_email_request [SendTemplateTestEmailRequest]
|
|
357
357
|
# @param [Hash] opts the optional parameters
|
|
358
|
-
# @return [
|
|
358
|
+
# @return [SendTemplateTestEmail202Response]
|
|
359
359
|
def send_template_test_email(id, send_template_test_email_request, opts = {})
|
|
360
|
-
send_template_test_email_with_http_info(id, send_template_test_email_request, opts)
|
|
361
|
-
|
|
360
|
+
data, _status_code, _headers = send_template_test_email_with_http_info(id, send_template_test_email_request, opts)
|
|
361
|
+
data
|
|
362
362
|
end
|
|
363
363
|
|
|
364
364
|
# Send a test email using a template
|
|
@@ -366,7 +366,7 @@ module Zyphr
|
|
|
366
366
|
# @param id [String]
|
|
367
367
|
# @param send_template_test_email_request [SendTemplateTestEmailRequest]
|
|
368
368
|
# @param [Hash] opts the optional parameters
|
|
369
|
-
# @return [Array<(
|
|
369
|
+
# @return [Array<(SendTemplateTestEmail202Response, Integer, Hash)>] SendTemplateTestEmail202Response data, response status code and response headers
|
|
370
370
|
def send_template_test_email_with_http_info(id, send_template_test_email_request, opts = {})
|
|
371
371
|
if @api_client.config.debugging
|
|
372
372
|
@api_client.config.logger.debug 'Calling API: TemplatesApi.send_template_test_email ...'
|
|
@@ -402,7 +402,7 @@ module Zyphr
|
|
|
402
402
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(send_template_test_email_request)
|
|
403
403
|
|
|
404
404
|
# return_type
|
|
405
|
-
return_type = opts[:debug_return_type]
|
|
405
|
+
return_type = opts[:debug_return_type] || 'SendTemplateTestEmail202Response'
|
|
406
406
|
|
|
407
407
|
# auth_names
|
|
408
408
|
auth_names = opts[:debug_auth_names] || ['DashboardAuth']
|
|
@@ -24,10 +24,10 @@ module Zyphr
|
|
|
24
24
|
# @param app_id [String]
|
|
25
25
|
# @param delivery_id [String]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @return [
|
|
27
|
+
# @return [GetWaaSDelivery200Response]
|
|
28
28
|
def get_waa_s_delivery(app_id, delivery_id, opts = {})
|
|
29
|
-
get_waa_s_delivery_with_http_info(app_id, delivery_id, opts)
|
|
30
|
-
|
|
29
|
+
data, _status_code, _headers = get_waa_s_delivery_with_http_info(app_id, delivery_id, opts)
|
|
30
|
+
data
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
# Get delivery detail
|
|
@@ -35,7 +35,7 @@ module Zyphr
|
|
|
35
35
|
# @param app_id [String]
|
|
36
36
|
# @param delivery_id [String]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [Array<(
|
|
38
|
+
# @return [Array<(GetWaaSDelivery200Response, Integer, Hash)>] GetWaaSDelivery200Response data, response status code and response headers
|
|
39
39
|
def get_waa_s_delivery_with_http_info(app_id, delivery_id, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
41
|
@api_client.config.logger.debug 'Calling API: WaaSDeliveriesApi.get_waa_s_delivery ...'
|
|
@@ -56,6 +56,8 @@ module Zyphr
|
|
|
56
56
|
|
|
57
57
|
# header parameters
|
|
58
58
|
header_params = opts[:header_params] || {}
|
|
59
|
+
# HTTP header 'Accept' (if needed)
|
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
59
61
|
|
|
60
62
|
# form parameters
|
|
61
63
|
form_params = opts[:form_params] || {}
|
|
@@ -64,7 +66,7 @@ module Zyphr
|
|
|
64
66
|
post_body = opts[:debug_body]
|
|
65
67
|
|
|
66
68
|
# return_type
|
|
67
|
-
return_type = opts[:debug_return_type]
|
|
69
|
+
return_type = opts[:debug_return_type] || 'GetWaaSDelivery200Response'
|
|
68
70
|
|
|
69
71
|
# auth_names
|
|
70
72
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
@@ -251,10 +253,10 @@ module Zyphr
|
|
|
251
253
|
# @param app_id [String]
|
|
252
254
|
# @param delivery_id [String]
|
|
253
255
|
# @param [Hash] opts the optional parameters
|
|
254
|
-
# @return [
|
|
256
|
+
# @return [GetWaaSDelivery200Response]
|
|
255
257
|
def retry_waa_s_delivery(app_id, delivery_id, opts = {})
|
|
256
|
-
retry_waa_s_delivery_with_http_info(app_id, delivery_id, opts)
|
|
257
|
-
|
|
258
|
+
data, _status_code, _headers = retry_waa_s_delivery_with_http_info(app_id, delivery_id, opts)
|
|
259
|
+
data
|
|
258
260
|
end
|
|
259
261
|
|
|
260
262
|
# Retry a delivery
|
|
@@ -262,7 +264,7 @@ module Zyphr
|
|
|
262
264
|
# @param app_id [String]
|
|
263
265
|
# @param delivery_id [String]
|
|
264
266
|
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @return [Array<(
|
|
267
|
+
# @return [Array<(GetWaaSDelivery200Response, Integer, Hash)>] GetWaaSDelivery200Response data, response status code and response headers
|
|
266
268
|
def retry_waa_s_delivery_with_http_info(app_id, delivery_id, opts = {})
|
|
267
269
|
if @api_client.config.debugging
|
|
268
270
|
@api_client.config.logger.debug 'Calling API: WaaSDeliveriesApi.retry_waa_s_delivery ...'
|
|
@@ -283,6 +285,8 @@ module Zyphr
|
|
|
283
285
|
|
|
284
286
|
# header parameters
|
|
285
287
|
header_params = opts[:header_params] || {}
|
|
288
|
+
# HTTP header 'Accept' (if needed)
|
|
289
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
286
290
|
|
|
287
291
|
# form parameters
|
|
288
292
|
form_params = opts[:form_params] || {}
|
|
@@ -291,7 +295,7 @@ module Zyphr
|
|
|
291
295
|
post_body = opts[:debug_body]
|
|
292
296
|
|
|
293
297
|
# return_type
|
|
294
|
-
return_type = opts[:debug_return_type]
|
|
298
|
+
return_type = opts[:debug_return_type] || 'GetWaaSDelivery200Response'
|
|
295
299
|
|
|
296
300
|
# auth_names
|
|
297
301
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
@@ -24,10 +24,10 @@ module Zyphr
|
|
|
24
24
|
# @param app_id [String]
|
|
25
25
|
# @param endpoint_id [String]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @return [
|
|
27
|
+
# @return [CloseWaaSEndpointCircuit200Response]
|
|
28
28
|
def close_waa_s_endpoint_circuit(app_id, endpoint_id, opts = {})
|
|
29
|
-
close_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id, opts)
|
|
30
|
-
|
|
29
|
+
data, _status_code, _headers = close_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id, opts)
|
|
30
|
+
data
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
# Force-close circuit breaker
|
|
@@ -35,7 +35,7 @@ module Zyphr
|
|
|
35
35
|
# @param app_id [String]
|
|
36
36
|
# @param endpoint_id [String]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [Array<(
|
|
38
|
+
# @return [Array<(CloseWaaSEndpointCircuit200Response, Integer, Hash)>] CloseWaaSEndpointCircuit200Response data, response status code and response headers
|
|
39
39
|
def close_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
41
|
@api_client.config.logger.debug 'Calling API: WaaSEndpointsApi.close_waa_s_endpoint_circuit ...'
|
|
@@ -56,6 +56,8 @@ module Zyphr
|
|
|
56
56
|
|
|
57
57
|
# header parameters
|
|
58
58
|
header_params = opts[:header_params] || {}
|
|
59
|
+
# HTTP header 'Accept' (if needed)
|
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
59
61
|
|
|
60
62
|
# form parameters
|
|
61
63
|
form_params = opts[:form_params] || {}
|
|
@@ -64,7 +66,7 @@ module Zyphr
|
|
|
64
66
|
post_body = opts[:debug_body]
|
|
65
67
|
|
|
66
68
|
# return_type
|
|
67
|
-
return_type = opts[:debug_return_type]
|
|
69
|
+
return_type = opts[:debug_return_type] || 'CloseWaaSEndpointCircuit200Response'
|
|
68
70
|
|
|
69
71
|
# auth_names
|
|
70
72
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
@@ -299,10 +301,10 @@ module Zyphr
|
|
|
299
301
|
# @param app_id [String]
|
|
300
302
|
# @param endpoint_id [String]
|
|
301
303
|
# @param [Hash] opts the optional parameters
|
|
302
|
-
# @return [
|
|
304
|
+
# @return [GetWaaSEndpointCircuit200Response]
|
|
303
305
|
def get_waa_s_endpoint_circuit(app_id, endpoint_id, opts = {})
|
|
304
|
-
get_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id, opts)
|
|
305
|
-
|
|
306
|
+
data, _status_code, _headers = get_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id, opts)
|
|
307
|
+
data
|
|
306
308
|
end
|
|
307
309
|
|
|
308
310
|
# Get circuit breaker state
|
|
@@ -310,7 +312,7 @@ module Zyphr
|
|
|
310
312
|
# @param app_id [String]
|
|
311
313
|
# @param endpoint_id [String]
|
|
312
314
|
# @param [Hash] opts the optional parameters
|
|
313
|
-
# @return [Array<(
|
|
315
|
+
# @return [Array<(GetWaaSEndpointCircuit200Response, Integer, Hash)>] GetWaaSEndpointCircuit200Response data, response status code and response headers
|
|
314
316
|
def get_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id, opts = {})
|
|
315
317
|
if @api_client.config.debugging
|
|
316
318
|
@api_client.config.logger.debug 'Calling API: WaaSEndpointsApi.get_waa_s_endpoint_circuit ...'
|
|
@@ -331,6 +333,8 @@ module Zyphr
|
|
|
331
333
|
|
|
332
334
|
# header parameters
|
|
333
335
|
header_params = opts[:header_params] || {}
|
|
336
|
+
# HTTP header 'Accept' (if needed)
|
|
337
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
334
338
|
|
|
335
339
|
# form parameters
|
|
336
340
|
form_params = opts[:form_params] || {}
|
|
@@ -339,7 +343,7 @@ module Zyphr
|
|
|
339
343
|
post_body = opts[:debug_body]
|
|
340
344
|
|
|
341
345
|
# return_type
|
|
342
|
-
return_type = opts[:debug_return_type]
|
|
346
|
+
return_type = opts[:debug_return_type] || 'GetWaaSEndpointCircuit200Response'
|
|
343
347
|
|
|
344
348
|
# auth_names
|
|
345
349
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
@@ -366,10 +370,10 @@ module Zyphr
|
|
|
366
370
|
# @param app_id [String]
|
|
367
371
|
# @param endpoint_id [String]
|
|
368
372
|
# @param [Hash] opts the optional parameters
|
|
369
|
-
# @return [
|
|
373
|
+
# @return [GetWaaSEndpointMetrics200Response]
|
|
370
374
|
def get_waa_s_endpoint_metrics(app_id, endpoint_id, opts = {})
|
|
371
|
-
get_waa_s_endpoint_metrics_with_http_info(app_id, endpoint_id, opts)
|
|
372
|
-
|
|
375
|
+
data, _status_code, _headers = get_waa_s_endpoint_metrics_with_http_info(app_id, endpoint_id, opts)
|
|
376
|
+
data
|
|
373
377
|
end
|
|
374
378
|
|
|
375
379
|
# Get endpoint metrics
|
|
@@ -377,7 +381,7 @@ module Zyphr
|
|
|
377
381
|
# @param app_id [String]
|
|
378
382
|
# @param endpoint_id [String]
|
|
379
383
|
# @param [Hash] opts the optional parameters
|
|
380
|
-
# @return [Array<(
|
|
384
|
+
# @return [Array<(GetWaaSEndpointMetrics200Response, Integer, Hash)>] GetWaaSEndpointMetrics200Response data, response status code and response headers
|
|
381
385
|
def get_waa_s_endpoint_metrics_with_http_info(app_id, endpoint_id, opts = {})
|
|
382
386
|
if @api_client.config.debugging
|
|
383
387
|
@api_client.config.logger.debug 'Calling API: WaaSEndpointsApi.get_waa_s_endpoint_metrics ...'
|
|
@@ -398,6 +402,8 @@ module Zyphr
|
|
|
398
402
|
|
|
399
403
|
# header parameters
|
|
400
404
|
header_params = opts[:header_params] || {}
|
|
405
|
+
# HTTP header 'Accept' (if needed)
|
|
406
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
401
407
|
|
|
402
408
|
# form parameters
|
|
403
409
|
form_params = opts[:form_params] || {}
|
|
@@ -406,7 +412,7 @@ module Zyphr
|
|
|
406
412
|
post_body = opts[:debug_body]
|
|
407
413
|
|
|
408
414
|
# return_type
|
|
409
|
-
return_type = opts[:debug_return_type]
|
|
415
|
+
return_type = opts[:debug_return_type] || 'GetWaaSEndpointMetrics200Response'
|
|
410
416
|
|
|
411
417
|
# auth_names
|
|
412
418
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
@@ -512,10 +518,10 @@ module Zyphr
|
|
|
512
518
|
# @param app_id [String]
|
|
513
519
|
# @param endpoint_id [String]
|
|
514
520
|
# @param [Hash] opts the optional parameters
|
|
515
|
-
# @return [
|
|
521
|
+
# @return [RotateWaaSEndpointSecret200Response]
|
|
516
522
|
def rotate_waa_s_endpoint_secret(app_id, endpoint_id, opts = {})
|
|
517
|
-
rotate_waa_s_endpoint_secret_with_http_info(app_id, endpoint_id, opts)
|
|
518
|
-
|
|
523
|
+
data, _status_code, _headers = rotate_waa_s_endpoint_secret_with_http_info(app_id, endpoint_id, opts)
|
|
524
|
+
data
|
|
519
525
|
end
|
|
520
526
|
|
|
521
527
|
# Rotate endpoint secret
|
|
@@ -523,7 +529,7 @@ module Zyphr
|
|
|
523
529
|
# @param app_id [String]
|
|
524
530
|
# @param endpoint_id [String]
|
|
525
531
|
# @param [Hash] opts the optional parameters
|
|
526
|
-
# @return [Array<(
|
|
532
|
+
# @return [Array<(RotateWaaSEndpointSecret200Response, Integer, Hash)>] RotateWaaSEndpointSecret200Response data, response status code and response headers
|
|
527
533
|
def rotate_waa_s_endpoint_secret_with_http_info(app_id, endpoint_id, opts = {})
|
|
528
534
|
if @api_client.config.debugging
|
|
529
535
|
@api_client.config.logger.debug 'Calling API: WaaSEndpointsApi.rotate_waa_s_endpoint_secret ...'
|
|
@@ -544,6 +550,8 @@ module Zyphr
|
|
|
544
550
|
|
|
545
551
|
# header parameters
|
|
546
552
|
header_params = opts[:header_params] || {}
|
|
553
|
+
# HTTP header 'Accept' (if needed)
|
|
554
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
547
555
|
|
|
548
556
|
# form parameters
|
|
549
557
|
form_params = opts[:form_params] || {}
|
|
@@ -552,7 +560,7 @@ module Zyphr
|
|
|
552
560
|
post_body = opts[:debug_body]
|
|
553
561
|
|
|
554
562
|
# return_type
|
|
555
|
-
return_type = opts[:debug_return_type]
|
|
563
|
+
return_type = opts[:debug_return_type] || 'RotateWaaSEndpointSecret200Response'
|
|
556
564
|
|
|
557
565
|
# auth_names
|
|
558
566
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
@@ -579,10 +587,10 @@ module Zyphr
|
|
|
579
587
|
# @param endpoint_id [String]
|
|
580
588
|
# @param update_waa_s_endpoint_request [UpdateWaaSEndpointRequest]
|
|
581
589
|
# @param [Hash] opts the optional parameters
|
|
582
|
-
# @return [
|
|
590
|
+
# @return [UpdateWaaSEndpoint200Response]
|
|
583
591
|
def update_waa_s_endpoint(app_id, endpoint_id, update_waa_s_endpoint_request, opts = {})
|
|
584
|
-
update_waa_s_endpoint_with_http_info(app_id, endpoint_id, update_waa_s_endpoint_request, opts)
|
|
585
|
-
|
|
592
|
+
data, _status_code, _headers = update_waa_s_endpoint_with_http_info(app_id, endpoint_id, update_waa_s_endpoint_request, opts)
|
|
593
|
+
data
|
|
586
594
|
end
|
|
587
595
|
|
|
588
596
|
# Update an endpoint
|
|
@@ -590,7 +598,7 @@ module Zyphr
|
|
|
590
598
|
# @param endpoint_id [String]
|
|
591
599
|
# @param update_waa_s_endpoint_request [UpdateWaaSEndpointRequest]
|
|
592
600
|
# @param [Hash] opts the optional parameters
|
|
593
|
-
# @return [Array<(
|
|
601
|
+
# @return [Array<(UpdateWaaSEndpoint200Response, Integer, Hash)>] UpdateWaaSEndpoint200Response data, response status code and response headers
|
|
594
602
|
def update_waa_s_endpoint_with_http_info(app_id, endpoint_id, update_waa_s_endpoint_request, opts = {})
|
|
595
603
|
if @api_client.config.debugging
|
|
596
604
|
@api_client.config.logger.debug 'Calling API: WaaSEndpointsApi.update_waa_s_endpoint ...'
|
|
@@ -615,6 +623,8 @@ module Zyphr
|
|
|
615
623
|
|
|
616
624
|
# header parameters
|
|
617
625
|
header_params = opts[:header_params] || {}
|
|
626
|
+
# HTTP header 'Accept' (if needed)
|
|
627
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
618
628
|
# HTTP header 'Content-Type'
|
|
619
629
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
620
630
|
if !content_type.nil?
|
|
@@ -628,7 +638,7 @@ module Zyphr
|
|
|
628
638
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_waa_s_endpoint_request)
|
|
629
639
|
|
|
630
640
|
# return_type
|
|
631
|
-
return_type = opts[:debug_return_type]
|
|
641
|
+
return_type = opts[:debug_return_type] || 'UpdateWaaSEndpoint200Response'
|
|
632
642
|
|
|
633
643
|
# auth_names
|
|
634
644
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|