zyphr 0.1.41 → 0.1.43

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.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -1
  3. data/docs/AuthUserDirectoryApi.md +57 -50
  4. data/docs/CloseWaaSEndpointCircuit200Response.md +20 -0
  5. data/docs/CloseWaaSEndpointCircuit200ResponseData.md +18 -0
  6. data/docs/DomainsApi.md +8 -7
  7. data/docs/GetEndUserById200Response.md +20 -0
  8. data/docs/GetEndUserClaims200Response.md +20 -0
  9. data/docs/GetEndUserClaims200ResponseData.md +18 -0
  10. data/docs/GetSubscriberInboxPreferences200Response.md +18 -0
  11. data/docs/GetSubscriberInboxPreferences200ResponseData.md +20 -0
  12. data/docs/GetSubscriberInboxPreferences200ResponseDataCategoriesInner.md +20 -0
  13. data/docs/GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.md +26 -0
  14. data/docs/GetSubscriberInboxPreferences200ResponseDataGlobal.md +18 -0
  15. data/docs/GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner.md +22 -0
  16. data/docs/GetSubscriberNotification200Response.md +18 -0
  17. data/docs/GetSubscriberUnreadCount200Response.md +18 -0
  18. data/docs/GetWaaSDelivery200Response.md +20 -0
  19. data/docs/GetWaaSEndpointCircuit200Response.md +20 -0
  20. data/docs/GetWaaSEndpointCircuit200ResponseData.md +28 -0
  21. data/docs/GetWaaSEndpointMetrics200Response.md +20 -0
  22. data/docs/GetWaaSEndpointMetrics200ResponseData.md +22 -0
  23. data/docs/GetWaaSEndpointMetrics200ResponseDataHealth.md +20 -0
  24. data/docs/GetWaaSEndpointMetrics200ResponseDataWindowsValue.md +30 -0
  25. data/docs/InboxApi.md +73 -64
  26. data/docs/InviteEndUser200Response.md +20 -0
  27. data/docs/InviteEndUser200ResponseData.md +22 -0
  28. data/docs/ListEndUsers200Response.md +20 -0
  29. data/docs/{ListWorkflowExecutions200ResponseMeta.md → ListEndUsers200ResponseMeta.md} +2 -2
  30. data/docs/ListWorkflowExecutions200Response.md +1 -1
  31. data/docs/MarkAllSubscriberNotificationsRead200Response.md +18 -0
  32. data/docs/RotateWaaSEndpointSecret200Response.md +20 -0
  33. data/docs/RotateWaaSEndpointSecret200ResponseData.md +18 -0
  34. data/docs/SendTemplateTestEmail202Response.md +20 -0
  35. data/docs/SendTemplateTestEmail202ResponseData.md +30 -0
  36. data/docs/SendTemplateTestEmail202ResponseMeta.md +18 -0
  37. data/docs/SetEndUserClaims200Response.md +18 -0
  38. data/docs/SetEndUserClaims200ResponseData.md +20 -0
  39. data/docs/SmsListResponse.md +1 -1
  40. data/docs/TemplatesApi.md +7 -6
  41. data/docs/UpdateSubscriberPreferences200Response.md +18 -0
  42. data/docs/UpdateSubscriberPreferences200ResponseData.md +20 -0
  43. data/docs/UpdateSubscriberPreferences200ResponseDataPreferencesInner.md +24 -0
  44. data/docs/UpdateWaaSEndpoint200Response.md +20 -0
  45. data/docs/UpdateWaaSEventType200Response.md +20 -0
  46. data/docs/WaaSDeliveriesApi.md +16 -14
  47. data/docs/WaaSEndpointsApi.md +40 -35
  48. data/docs/WaaSEventTypesApi.md +16 -14
  49. data/lib/zyphr/api/auth_user_directory_api.rb +51 -37
  50. data/lib/zyphr/api/domains_api.rb +7 -5
  51. data/lib/zyphr/api/inbox_api.rb +65 -47
  52. data/lib/zyphr/api/templates_api.rb +5 -5
  53. data/lib/zyphr/api/waa_s_deliveries_api.rb +14 -10
  54. data/lib/zyphr/api/waa_s_endpoints_api.rb +35 -25
  55. data/lib/zyphr/api/waa_s_event_types_api.rb +14 -10
  56. data/lib/zyphr/models/close_waa_s_endpoint_circuit200_response.rb +229 -0
  57. data/lib/zyphr/models/close_waa_s_endpoint_circuit200_response_data.rb +261 -0
  58. data/lib/zyphr/models/get_end_user_by_id200_response.rb +229 -0
  59. data/lib/zyphr/models/get_end_user_claims200_response.rb +229 -0
  60. data/lib/zyphr/models/get_end_user_claims200_response_data.rb +223 -0
  61. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response.rb +220 -0
  62. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data.rb +231 -0
  63. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_categories_inner.rb +231 -0
  64. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_categories_inner_category.rb +257 -0
  65. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_global.rb +222 -0
  66. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_global_channels_inner.rb +272 -0
  67. data/lib/zyphr/models/get_subscriber_notification200_response.rb +220 -0
  68. data/lib/zyphr/models/get_subscriber_unread_count200_response.rb +220 -0
  69. data/lib/zyphr/models/get_waa_s_delivery200_response.rb +229 -0
  70. data/lib/zyphr/models/get_waa_s_endpoint_circuit200_response.rb +229 -0
  71. data/lib/zyphr/models/get_waa_s_endpoint_circuit200_response_data.rb +349 -0
  72. data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response.rb +229 -0
  73. data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data.rb +292 -0
  74. data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data_health.rb +287 -0
  75. data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data_windows_value.rb +308 -0
  76. data/lib/zyphr/models/invite_end_user200_response.rb +229 -0
  77. data/lib/zyphr/models/invite_end_user200_response_data.rb +240 -0
  78. data/lib/zyphr/models/list_end_users200_response.rb +231 -0
  79. data/lib/zyphr/models/{list_workflow_executions200_response_meta.rb → list_end_users200_response_meta.rb} +3 -3
  80. data/lib/zyphr/models/list_workflow_executions200_response.rb +1 -1
  81. data/lib/zyphr/models/mark_all_subscriber_notifications_read200_response.rb +220 -0
  82. data/lib/zyphr/models/rotate_waa_s_endpoint_secret200_response.rb +229 -0
  83. data/lib/zyphr/models/rotate_waa_s_endpoint_secret200_response_data.rb +238 -0
  84. data/lib/zyphr/models/send_template_test_email202_response.rb +263 -0
  85. data/lib/zyphr/models/send_template_test_email202_response_data.rb +393 -0
  86. data/lib/zyphr/models/send_template_test_email202_response_meta.rb +237 -0
  87. data/lib/zyphr/models/set_end_user_claims200_response.rb +220 -0
  88. data/lib/zyphr/models/set_end_user_claims200_response_data.rb +230 -0
  89. data/lib/zyphr/models/sms_list_response.rb +1 -1
  90. data/lib/zyphr/models/update_subscriber_preferences200_response.rb +220 -0
  91. data/lib/zyphr/models/update_subscriber_preferences200_response_data.rb +231 -0
  92. data/lib/zyphr/models/update_subscriber_preferences200_response_data_preferences_inner.rb +282 -0
  93. data/lib/zyphr/models/update_waa_s_endpoint200_response.rb +229 -0
  94. data/lib/zyphr/models/update_waa_s_event_type200_response.rb +229 -0
  95. data/lib/zyphr.rb +37 -1
  96. data/spec/api/auth_user_directory_api_spec.rb +8 -8
  97. data/spec/api/domains_api_spec.rb +1 -1
  98. data/spec/api/inbox_api_spec.rb +10 -10
  99. data/spec/api/templates_api_spec.rb +1 -1
  100. data/spec/api/waa_s_deliveries_api_spec.rb +2 -2
  101. data/spec/api/waa_s_endpoints_api_spec.rb +5 -5
  102. data/spec/api/waa_s_event_types_api_spec.rb +2 -2
  103. data/spec/models/close_waa_s_endpoint_circuit200_response_data_spec.rb +40 -0
  104. data/spec/models/close_waa_s_endpoint_circuit200_response_spec.rb +42 -0
  105. data/spec/models/get_end_user_by_id200_response_spec.rb +42 -0
  106. data/spec/models/get_end_user_claims200_response_data_spec.rb +36 -0
  107. data/spec/models/get_end_user_claims200_response_spec.rb +42 -0
  108. data/spec/models/get_subscriber_inbox_preferences200_response_data_categories_inner_category_spec.rb +60 -0
  109. data/spec/models/get_subscriber_inbox_preferences200_response_data_categories_inner_spec.rb +42 -0
  110. data/spec/models/get_subscriber_inbox_preferences200_response_data_global_channels_inner_spec.rb +52 -0
  111. data/spec/models/get_subscriber_inbox_preferences200_response_data_global_spec.rb +36 -0
  112. data/spec/models/get_subscriber_inbox_preferences200_response_data_spec.rb +42 -0
  113. data/spec/models/get_subscriber_inbox_preferences200_response_spec.rb +36 -0
  114. data/spec/models/get_subscriber_notification200_response_spec.rb +36 -0
  115. data/spec/models/get_subscriber_unread_count200_response_spec.rb +36 -0
  116. data/spec/models/get_waa_s_delivery200_response_spec.rb +42 -0
  117. data/spec/models/get_waa_s_endpoint_circuit200_response_data_spec.rb +70 -0
  118. data/spec/models/get_waa_s_endpoint_circuit200_response_spec.rb +42 -0
  119. data/spec/models/get_waa_s_endpoint_metrics200_response_data_health_spec.rb +46 -0
  120. data/spec/models/get_waa_s_endpoint_metrics200_response_data_spec.rb +48 -0
  121. data/spec/models/get_waa_s_endpoint_metrics200_response_data_windows_value_spec.rb +76 -0
  122. data/spec/models/get_waa_s_endpoint_metrics200_response_spec.rb +42 -0
  123. data/spec/models/invite_end_user200_response_data_spec.rb +48 -0
  124. data/spec/models/invite_end_user200_response_spec.rb +42 -0
  125. data/spec/models/{list_workflow_executions200_response_meta_spec.rb → list_end_users200_response_meta_spec.rb} +6 -6
  126. data/spec/models/list_end_users200_response_spec.rb +42 -0
  127. data/spec/models/mark_all_subscriber_notifications_read200_response_spec.rb +36 -0
  128. data/spec/models/rotate_waa_s_endpoint_secret200_response_data_spec.rb +36 -0
  129. data/spec/models/rotate_waa_s_endpoint_secret200_response_spec.rb +42 -0
  130. data/spec/models/send_template_test_email202_response_data_spec.rb +72 -0
  131. data/spec/models/send_template_test_email202_response_meta_spec.rb +36 -0
  132. data/spec/models/send_template_test_email202_response_spec.rb +42 -0
  133. data/spec/models/set_end_user_claims200_response_data_spec.rb +42 -0
  134. data/spec/models/set_end_user_claims200_response_spec.rb +36 -0
  135. data/spec/models/update_subscriber_preferences200_response_data_preferences_inner_spec.rb +58 -0
  136. data/spec/models/update_subscriber_preferences200_response_data_spec.rb +42 -0
  137. data/spec/models/update_subscriber_preferences200_response_spec.rb +36 -0
  138. data/spec/models/update_waa_s_endpoint200_response_spec.rb +42 -0
  139. data/spec/models/update_waa_s_event_type200_response_spec.rb +42 -0
  140. data/zyphr.gemspec +1 -1
  141. metadata +150 -6
@@ -0,0 +1,30 @@
1
+ # Zyphr::SendTemplateTestEmail202ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | |
8
+ | **message_id** | **String** | | |
9
+ | **to** | **String** | | |
10
+ | **from** | **String** | | |
11
+ | **subject** | **String** | | |
12
+ | **template_id** | **String** | | |
13
+ | **template_name** | **String** | | |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'zyphr'
19
+
20
+ instance = Zyphr::SendTemplateTestEmail202ResponseData.new(
21
+ message: Test email queued for delivery,
22
+ message_id: null,
23
+ to: null,
24
+ from: null,
25
+ subject: null,
26
+ template_id: null,
27
+ template_name: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,18 @@
1
+ # Zyphr::SendTemplateTestEmail202ResponseMeta
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **request_id** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'zyphr'
13
+
14
+ instance = Zyphr::SendTemplateTestEmail202ResponseMeta.new(
15
+ request_id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # Zyphr::SetEndUserClaims200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**SetEndUserClaims200ResponseData**](SetEndUserClaims200ResponseData.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'zyphr'
13
+
14
+ instance = Zyphr::SetEndUserClaims200Response.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::SetEndUserClaims200ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **claims** | **Object** | | [optional] |
8
+ | **claims_version** | **Integer** | Monotonic version bumped on each write; embedded in issued tokens. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::SetEndUserClaims200ResponseData.new(
16
+ claims: null,
17
+ claims_version: null
18
+ )
19
+ ```
20
+
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **data** | [**Array<SmsMessage>**](SmsMessage.md) | | [optional] |
8
- | **meta** | [**ListWorkflowExecutions200ResponseMeta**](ListWorkflowExecutions200ResponseMeta.md) | | [optional] |
8
+ | **meta** | [**ListEndUsers200ResponseMeta**](ListEndUsers200ResponseMeta.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
data/docs/TemplatesApi.md CHANGED
@@ -376,7 +376,7 @@ end
376
376
 
377
377
  ## send_template_test_email
378
378
 
379
- > send_template_test_email(id, send_template_test_email_request)
379
+ > <SendTemplateTestEmail202Response> send_template_test_email(id, send_template_test_email_request)
380
380
 
381
381
  Send a test email using a template
382
382
 
@@ -399,7 +399,8 @@ send_template_test_email_request = Zyphr::SendTemplateTestEmailRequest.new({to:
399
399
 
400
400
  begin
401
401
  # Send a test email using a template
402
- api_instance.send_template_test_email(id, send_template_test_email_request)
402
+ result = api_instance.send_template_test_email(id, send_template_test_email_request)
403
+ p result
403
404
  rescue Zyphr::ApiError => e
404
405
  puts "Error when calling TemplatesApi->send_template_test_email: #{e}"
405
406
  end
@@ -407,9 +408,9 @@ end
407
408
 
408
409
  #### Using the send_template_test_email_with_http_info variant
409
410
 
410
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
411
+ This returns an Array which contains the response data, status code and headers.
411
412
 
412
- > <Array(nil, Integer, Hash)> send_template_test_email_with_http_info(id, send_template_test_email_request)
413
+ > <Array(<SendTemplateTestEmail202Response>, Integer, Hash)> send_template_test_email_with_http_info(id, send_template_test_email_request)
413
414
 
414
415
  ```ruby
415
416
  begin
@@ -417,7 +418,7 @@ begin
417
418
  data, status_code, headers = api_instance.send_template_test_email_with_http_info(id, send_template_test_email_request)
418
419
  p status_code # => 2xx
419
420
  p headers # => { ... }
420
- p data # => nil
421
+ p data # => <SendTemplateTestEmail202Response>
421
422
  rescue Zyphr::ApiError => e
422
423
  puts "Error when calling TemplatesApi->send_template_test_email_with_http_info: #{e}"
423
424
  end
@@ -432,7 +433,7 @@ end
432
433
 
433
434
  ### Return type
434
435
 
435
- nil (empty response body)
436
+ [**SendTemplateTestEmail202Response**](SendTemplateTestEmail202Response.md)
436
437
 
437
438
  ### Authorization
438
439
 
@@ -0,0 +1,18 @@
1
+ # Zyphr::UpdateSubscriberPreferences200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**UpdateSubscriberPreferences200ResponseData**](UpdateSubscriberPreferences200ResponseData.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'zyphr'
13
+
14
+ instance = Zyphr::UpdateSubscriberPreferences200Response.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::UpdateSubscriberPreferences200ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **updated** | **Integer** | | [optional] |
8
+ | **preferences** | [**Array&lt;UpdateSubscriberPreferences200ResponseDataPreferencesInner&gt;**](UpdateSubscriberPreferences200ResponseDataPreferencesInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::UpdateSubscriberPreferences200ResponseData.new(
16
+ updated: null,
17
+ preferences: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,24 @@
1
+ # Zyphr::UpdateSubscriberPreferences200ResponseDataPreferencesInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **category_id** | **String** | | [optional] |
8
+ | **channel** | **String** | | [optional] |
9
+ | **enabled** | **Boolean** | | [optional] |
10
+ | **source** | **String** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'zyphr'
16
+
17
+ instance = Zyphr::UpdateSubscriberPreferences200ResponseDataPreferencesInner.new(
18
+ category_id: null,
19
+ channel: null,
20
+ enabled: null,
21
+ source: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::UpdateWaaSEndpoint200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**WaaSEndpoint**](WaaSEndpoint.md) | | [optional] |
8
+ | **meta** | [**GetDomain200ResponseMeta**](GetDomain200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::UpdateWaaSEndpoint200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::UpdateWaaSEventType200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**WaaSEventType**](WaaSEventType.md) | | [optional] |
8
+ | **meta** | [**GetDomain200ResponseMeta**](GetDomain200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::UpdateWaaSEventType200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -12,7 +12,7 @@ All URIs are relative to *https://api.zyphr.dev/v1*
12
12
 
13
13
  ## get_waa_s_delivery
14
14
 
15
- > get_waa_s_delivery(app_id, delivery_id)
15
+ > <GetWaaSDelivery200Response> get_waa_s_delivery(app_id, delivery_id)
16
16
 
17
17
  Get delivery detail
18
18
 
@@ -37,7 +37,8 @@ delivery_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
37
37
 
38
38
  begin
39
39
  # Get delivery detail
40
- api_instance.get_waa_s_delivery(app_id, delivery_id)
40
+ result = api_instance.get_waa_s_delivery(app_id, delivery_id)
41
+ p result
41
42
  rescue Zyphr::ApiError => e
42
43
  puts "Error when calling WaaSDeliveriesApi->get_waa_s_delivery: #{e}"
43
44
  end
@@ -45,9 +46,9 @@ end
45
46
 
46
47
  #### Using the get_waa_s_delivery_with_http_info variant
47
48
 
48
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
49
+ This returns an Array which contains the response data, status code and headers.
49
50
 
50
- > <Array(nil, Integer, Hash)> get_waa_s_delivery_with_http_info(app_id, delivery_id)
51
+ > <Array(<GetWaaSDelivery200Response>, Integer, Hash)> get_waa_s_delivery_with_http_info(app_id, delivery_id)
51
52
 
52
53
  ```ruby
53
54
  begin
@@ -55,7 +56,7 @@ begin
55
56
  data, status_code, headers = api_instance.get_waa_s_delivery_with_http_info(app_id, delivery_id)
56
57
  p status_code # => 2xx
57
58
  p headers # => { ... }
58
- p data # => nil
59
+ p data # => <GetWaaSDelivery200Response>
59
60
  rescue Zyphr::ApiError => e
60
61
  puts "Error when calling WaaSDeliveriesApi->get_waa_s_delivery_with_http_info: #{e}"
61
62
  end
@@ -70,7 +71,7 @@ end
70
71
 
71
72
  ### Return type
72
73
 
73
- nil (empty response body)
74
+ [**GetWaaSDelivery200Response**](GetWaaSDelivery200Response.md)
74
75
 
75
76
  ### Authorization
76
77
 
@@ -79,7 +80,7 @@ nil (empty response body)
79
80
  ### HTTP request headers
80
81
 
81
82
  - **Content-Type**: Not defined
82
- - **Accept**: Not defined
83
+ - **Accept**: application/json
83
84
 
84
85
 
85
86
  ## list_waa_s_deliveries
@@ -248,7 +249,7 @@ end
248
249
 
249
250
  ## retry_waa_s_delivery
250
251
 
251
- > retry_waa_s_delivery(app_id, delivery_id)
252
+ > <GetWaaSDelivery200Response> retry_waa_s_delivery(app_id, delivery_id)
252
253
 
253
254
  Retry a delivery
254
255
 
@@ -273,7 +274,8 @@ delivery_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
273
274
 
274
275
  begin
275
276
  # Retry a delivery
276
- api_instance.retry_waa_s_delivery(app_id, delivery_id)
277
+ result = api_instance.retry_waa_s_delivery(app_id, delivery_id)
278
+ p result
277
279
  rescue Zyphr::ApiError => e
278
280
  puts "Error when calling WaaSDeliveriesApi->retry_waa_s_delivery: #{e}"
279
281
  end
@@ -281,9 +283,9 @@ end
281
283
 
282
284
  #### Using the retry_waa_s_delivery_with_http_info variant
283
285
 
284
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
286
+ This returns an Array which contains the response data, status code and headers.
285
287
 
286
- > <Array(nil, Integer, Hash)> retry_waa_s_delivery_with_http_info(app_id, delivery_id)
288
+ > <Array(<GetWaaSDelivery200Response>, Integer, Hash)> retry_waa_s_delivery_with_http_info(app_id, delivery_id)
287
289
 
288
290
  ```ruby
289
291
  begin
@@ -291,7 +293,7 @@ begin
291
293
  data, status_code, headers = api_instance.retry_waa_s_delivery_with_http_info(app_id, delivery_id)
292
294
  p status_code # => 2xx
293
295
  p headers # => { ... }
294
- p data # => nil
296
+ p data # => <GetWaaSDelivery200Response>
295
297
  rescue Zyphr::ApiError => e
296
298
  puts "Error when calling WaaSDeliveriesApi->retry_waa_s_delivery_with_http_info: #{e}"
297
299
  end
@@ -306,7 +308,7 @@ end
306
308
 
307
309
  ### Return type
308
310
 
309
- nil (empty response body)
311
+ [**GetWaaSDelivery200Response**](GetWaaSDelivery200Response.md)
310
312
 
311
313
  ### Authorization
312
314
 
@@ -315,5 +317,5 @@ nil (empty response body)
315
317
  ### HTTP request headers
316
318
 
317
319
  - **Content-Type**: Not defined
318
- - **Accept**: Not defined
320
+ - **Accept**: application/json
319
321
 
@@ -17,7 +17,7 @@ All URIs are relative to *https://api.zyphr.dev/v1*
17
17
 
18
18
  ## close_waa_s_endpoint_circuit
19
19
 
20
- > close_waa_s_endpoint_circuit(app_id, endpoint_id)
20
+ > <CloseWaaSEndpointCircuit200Response> close_waa_s_endpoint_circuit(app_id, endpoint_id)
21
21
 
22
22
  Force-close circuit breaker
23
23
 
@@ -42,7 +42,8 @@ endpoint_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
42
42
 
43
43
  begin
44
44
  # Force-close circuit breaker
45
- api_instance.close_waa_s_endpoint_circuit(app_id, endpoint_id)
45
+ result = api_instance.close_waa_s_endpoint_circuit(app_id, endpoint_id)
46
+ p result
46
47
  rescue Zyphr::ApiError => e
47
48
  puts "Error when calling WaaSEndpointsApi->close_waa_s_endpoint_circuit: #{e}"
48
49
  end
@@ -50,9 +51,9 @@ end
50
51
 
51
52
  #### Using the close_waa_s_endpoint_circuit_with_http_info variant
52
53
 
53
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
54
+ This returns an Array which contains the response data, status code and headers.
54
55
 
55
- > <Array(nil, Integer, Hash)> close_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id)
56
+ > <Array(<CloseWaaSEndpointCircuit200Response>, Integer, Hash)> close_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id)
56
57
 
57
58
  ```ruby
58
59
  begin
@@ -60,7 +61,7 @@ begin
60
61
  data, status_code, headers = api_instance.close_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id)
61
62
  p status_code # => 2xx
62
63
  p headers # => { ... }
63
- p data # => nil
64
+ p data # => <CloseWaaSEndpointCircuit200Response>
64
65
  rescue Zyphr::ApiError => e
65
66
  puts "Error when calling WaaSEndpointsApi->close_waa_s_endpoint_circuit_with_http_info: #{e}"
66
67
  end
@@ -75,7 +76,7 @@ end
75
76
 
76
77
  ### Return type
77
78
 
78
- nil (empty response body)
79
+ [**CloseWaaSEndpointCircuit200Response**](CloseWaaSEndpointCircuit200Response.md)
79
80
 
80
81
  ### Authorization
81
82
 
@@ -84,7 +85,7 @@ nil (empty response body)
84
85
  ### HTTP request headers
85
86
 
86
87
  - **Content-Type**: Not defined
87
- - **Accept**: Not defined
88
+ - **Accept**: application/json
88
89
 
89
90
 
90
91
  ## create_waa_s_endpoint
@@ -305,7 +306,7 @@ end
305
306
 
306
307
  ## get_waa_s_endpoint_circuit
307
308
 
308
- > get_waa_s_endpoint_circuit(app_id, endpoint_id)
309
+ > <GetWaaSEndpointCircuit200Response> get_waa_s_endpoint_circuit(app_id, endpoint_id)
309
310
 
310
311
  Get circuit breaker state
311
312
 
@@ -330,7 +331,8 @@ endpoint_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
330
331
 
331
332
  begin
332
333
  # Get circuit breaker state
333
- api_instance.get_waa_s_endpoint_circuit(app_id, endpoint_id)
334
+ result = api_instance.get_waa_s_endpoint_circuit(app_id, endpoint_id)
335
+ p result
334
336
  rescue Zyphr::ApiError => e
335
337
  puts "Error when calling WaaSEndpointsApi->get_waa_s_endpoint_circuit: #{e}"
336
338
  end
@@ -338,9 +340,9 @@ end
338
340
 
339
341
  #### Using the get_waa_s_endpoint_circuit_with_http_info variant
340
342
 
341
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
343
+ This returns an Array which contains the response data, status code and headers.
342
344
 
343
- > <Array(nil, Integer, Hash)> get_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id)
345
+ > <Array(<GetWaaSEndpointCircuit200Response>, Integer, Hash)> get_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id)
344
346
 
345
347
  ```ruby
346
348
  begin
@@ -348,7 +350,7 @@ begin
348
350
  data, status_code, headers = api_instance.get_waa_s_endpoint_circuit_with_http_info(app_id, endpoint_id)
349
351
  p status_code # => 2xx
350
352
  p headers # => { ... }
351
- p data # => nil
353
+ p data # => <GetWaaSEndpointCircuit200Response>
352
354
  rescue Zyphr::ApiError => e
353
355
  puts "Error when calling WaaSEndpointsApi->get_waa_s_endpoint_circuit_with_http_info: #{e}"
354
356
  end
@@ -363,7 +365,7 @@ end
363
365
 
364
366
  ### Return type
365
367
 
366
- nil (empty response body)
368
+ [**GetWaaSEndpointCircuit200Response**](GetWaaSEndpointCircuit200Response.md)
367
369
 
368
370
  ### Authorization
369
371
 
@@ -372,12 +374,12 @@ nil (empty response body)
372
374
  ### HTTP request headers
373
375
 
374
376
  - **Content-Type**: Not defined
375
- - **Accept**: Not defined
377
+ - **Accept**: application/json
376
378
 
377
379
 
378
380
  ## get_waa_s_endpoint_metrics
379
381
 
380
- > get_waa_s_endpoint_metrics(app_id, endpoint_id)
382
+ > <GetWaaSEndpointMetrics200Response> get_waa_s_endpoint_metrics(app_id, endpoint_id)
381
383
 
382
384
  Get endpoint metrics
383
385
 
@@ -402,7 +404,8 @@ endpoint_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
402
404
 
403
405
  begin
404
406
  # Get endpoint metrics
405
- api_instance.get_waa_s_endpoint_metrics(app_id, endpoint_id)
407
+ result = api_instance.get_waa_s_endpoint_metrics(app_id, endpoint_id)
408
+ p result
406
409
  rescue Zyphr::ApiError => e
407
410
  puts "Error when calling WaaSEndpointsApi->get_waa_s_endpoint_metrics: #{e}"
408
411
  end
@@ -410,9 +413,9 @@ end
410
413
 
411
414
  #### Using the get_waa_s_endpoint_metrics_with_http_info variant
412
415
 
413
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
416
+ This returns an Array which contains the response data, status code and headers.
414
417
 
415
- > <Array(nil, Integer, Hash)> get_waa_s_endpoint_metrics_with_http_info(app_id, endpoint_id)
418
+ > <Array(<GetWaaSEndpointMetrics200Response>, Integer, Hash)> get_waa_s_endpoint_metrics_with_http_info(app_id, endpoint_id)
416
419
 
417
420
  ```ruby
418
421
  begin
@@ -420,7 +423,7 @@ begin
420
423
  data, status_code, headers = api_instance.get_waa_s_endpoint_metrics_with_http_info(app_id, endpoint_id)
421
424
  p status_code # => 2xx
422
425
  p headers # => { ... }
423
- p data # => nil
426
+ p data # => <GetWaaSEndpointMetrics200Response>
424
427
  rescue Zyphr::ApiError => e
425
428
  puts "Error when calling WaaSEndpointsApi->get_waa_s_endpoint_metrics_with_http_info: #{e}"
426
429
  end
@@ -435,7 +438,7 @@ end
435
438
 
436
439
  ### Return type
437
440
 
438
- nil (empty response body)
441
+ [**GetWaaSEndpointMetrics200Response**](GetWaaSEndpointMetrics200Response.md)
439
442
 
440
443
  ### Authorization
441
444
 
@@ -444,7 +447,7 @@ nil (empty response body)
444
447
  ### HTTP request headers
445
448
 
446
449
  - **Content-Type**: Not defined
447
- - **Accept**: Not defined
450
+ - **Accept**: application/json
448
451
 
449
452
 
450
453
  ## list_waa_s_endpoints
@@ -530,7 +533,7 @@ end
530
533
 
531
534
  ## rotate_waa_s_endpoint_secret
532
535
 
533
- > rotate_waa_s_endpoint_secret(app_id, endpoint_id)
536
+ > <RotateWaaSEndpointSecret200Response> rotate_waa_s_endpoint_secret(app_id, endpoint_id)
534
537
 
535
538
  Rotate endpoint secret
536
539
 
@@ -555,7 +558,8 @@ endpoint_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
555
558
 
556
559
  begin
557
560
  # Rotate endpoint secret
558
- api_instance.rotate_waa_s_endpoint_secret(app_id, endpoint_id)
561
+ result = api_instance.rotate_waa_s_endpoint_secret(app_id, endpoint_id)
562
+ p result
559
563
  rescue Zyphr::ApiError => e
560
564
  puts "Error when calling WaaSEndpointsApi->rotate_waa_s_endpoint_secret: #{e}"
561
565
  end
@@ -563,9 +567,9 @@ end
563
567
 
564
568
  #### Using the rotate_waa_s_endpoint_secret_with_http_info variant
565
569
 
566
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
570
+ This returns an Array which contains the response data, status code and headers.
567
571
 
568
- > <Array(nil, Integer, Hash)> rotate_waa_s_endpoint_secret_with_http_info(app_id, endpoint_id)
572
+ > <Array(<RotateWaaSEndpointSecret200Response>, Integer, Hash)> rotate_waa_s_endpoint_secret_with_http_info(app_id, endpoint_id)
569
573
 
570
574
  ```ruby
571
575
  begin
@@ -573,7 +577,7 @@ begin
573
577
  data, status_code, headers = api_instance.rotate_waa_s_endpoint_secret_with_http_info(app_id, endpoint_id)
574
578
  p status_code # => 2xx
575
579
  p headers # => { ... }
576
- p data # => nil
580
+ p data # => <RotateWaaSEndpointSecret200Response>
577
581
  rescue Zyphr::ApiError => e
578
582
  puts "Error when calling WaaSEndpointsApi->rotate_waa_s_endpoint_secret_with_http_info: #{e}"
579
583
  end
@@ -588,7 +592,7 @@ end
588
592
 
589
593
  ### Return type
590
594
 
591
- nil (empty response body)
595
+ [**RotateWaaSEndpointSecret200Response**](RotateWaaSEndpointSecret200Response.md)
592
596
 
593
597
  ### Authorization
594
598
 
@@ -597,12 +601,12 @@ nil (empty response body)
597
601
  ### HTTP request headers
598
602
 
599
603
  - **Content-Type**: Not defined
600
- - **Accept**: Not defined
604
+ - **Accept**: application/json
601
605
 
602
606
 
603
607
  ## update_waa_s_endpoint
604
608
 
605
- > update_waa_s_endpoint(app_id, endpoint_id, update_waa_s_endpoint_request)
609
+ > <UpdateWaaSEndpoint200Response> update_waa_s_endpoint(app_id, endpoint_id, update_waa_s_endpoint_request)
606
610
 
607
611
  Update an endpoint
608
612
 
@@ -626,7 +630,8 @@ update_waa_s_endpoint_request = Zyphr::UpdateWaaSEndpointRequest.new # UpdateWaa
626
630
 
627
631
  begin
628
632
  # Update an endpoint
629
- api_instance.update_waa_s_endpoint(app_id, endpoint_id, update_waa_s_endpoint_request)
633
+ result = api_instance.update_waa_s_endpoint(app_id, endpoint_id, update_waa_s_endpoint_request)
634
+ p result
630
635
  rescue Zyphr::ApiError => e
631
636
  puts "Error when calling WaaSEndpointsApi->update_waa_s_endpoint: #{e}"
632
637
  end
@@ -634,9 +639,9 @@ end
634
639
 
635
640
  #### Using the update_waa_s_endpoint_with_http_info variant
636
641
 
637
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
642
+ This returns an Array which contains the response data, status code and headers.
638
643
 
639
- > <Array(nil, Integer, Hash)> update_waa_s_endpoint_with_http_info(app_id, endpoint_id, update_waa_s_endpoint_request)
644
+ > <Array(<UpdateWaaSEndpoint200Response>, Integer, Hash)> update_waa_s_endpoint_with_http_info(app_id, endpoint_id, update_waa_s_endpoint_request)
640
645
 
641
646
  ```ruby
642
647
  begin
@@ -644,7 +649,7 @@ begin
644
649
  data, status_code, headers = api_instance.update_waa_s_endpoint_with_http_info(app_id, endpoint_id, update_waa_s_endpoint_request)
645
650
  p status_code # => 2xx
646
651
  p headers # => { ... }
647
- p data # => nil
652
+ p data # => <UpdateWaaSEndpoint200Response>
648
653
  rescue Zyphr::ApiError => e
649
654
  puts "Error when calling WaaSEndpointsApi->update_waa_s_endpoint_with_http_info: #{e}"
650
655
  end
@@ -660,7 +665,7 @@ end
660
665
 
661
666
  ### Return type
662
667
 
663
- nil (empty response body)
668
+ [**UpdateWaaSEndpoint200Response**](UpdateWaaSEndpoint200Response.md)
664
669
 
665
670
  ### Authorization
666
671
 
@@ -669,5 +674,5 @@ nil (empty response body)
669
674
  ### HTTP request headers
670
675
 
671
676
  - **Content-Type**: application/json
672
- - **Accept**: Not defined
677
+ - **Accept**: application/json
673
678