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.
- checksums.yaml +4 -4
- data/README.md +37 -1
- data/docs/AuthUserDirectoryApi.md +57 -50
- data/docs/CloseWaaSEndpointCircuit200Response.md +20 -0
- data/docs/CloseWaaSEndpointCircuit200ResponseData.md +18 -0
- data/docs/DomainsApi.md +8 -7
- 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 +73 -64
- 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/SetEndUserClaims200Response.md +18 -0
- data/docs/SetEndUserClaims200ResponseData.md +20 -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_user_directory_api.rb +51 -37
- data/lib/zyphr/api/domains_api.rb +7 -5
- data/lib/zyphr/api/inbox_api.rb +65 -47
- 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/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_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/set_end_user_claims200_response.rb +220 -0
- data/lib/zyphr/models/set_end_user_claims200_response_data.rb +230 -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 +37 -1
- data/spec/api/auth_user_directory_api_spec.rb +8 -8
- data/spec/api/domains_api_spec.rb +1 -1
- data/spec/api/inbox_api_spec.rb +10 -10
- 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/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_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/set_end_user_claims200_response_data_spec.rb +42 -0
- data/spec/models/set_end_user_claims200_response_spec.rb +36 -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 +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
|
+
|
data/docs/SmsListResponse.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **data** | [**Array<SmsMessage>**](SmsMessage.md) | | [optional] |
|
|
8
|
-
| **meta** | [**
|
|
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
|
|
411
|
+
This returns an Array which contains the response data, status code and headers.
|
|
411
412
|
|
|
412
|
-
> <Array(
|
|
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 # =>
|
|
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
|
-
|
|
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<UpdateSubscriberPreferences200ResponseDataPreferencesInner>**](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
|
+
|
data/docs/WaaSDeliveriesApi.md
CHANGED
|
@@ -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
|
|
49
|
+
This returns an Array which contains the response data, status code and headers.
|
|
49
50
|
|
|
50
|
-
> <Array(
|
|
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 # =>
|
|
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
|
-
|
|
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**:
|
|
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
|
|
286
|
+
This returns an Array which contains the response data, status code and headers.
|
|
285
287
|
|
|
286
|
-
> <Array(
|
|
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 # =>
|
|
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
|
-
|
|
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**:
|
|
320
|
+
- **Accept**: application/json
|
|
319
321
|
|
data/docs/WaaSEndpointsApi.md
CHANGED
|
@@ -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
|
|
54
|
+
This returns an Array which contains the response data, status code and headers.
|
|
54
55
|
|
|
55
|
-
> <Array(
|
|
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 # =>
|
|
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
|
-
|
|
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**:
|
|
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
|
|
343
|
+
This returns an Array which contains the response data, status code and headers.
|
|
342
344
|
|
|
343
|
-
> <Array(
|
|
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 # =>
|
|
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
|
-
|
|
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**:
|
|
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
|
|
416
|
+
This returns an Array which contains the response data, status code and headers.
|
|
414
417
|
|
|
415
|
-
> <Array(
|
|
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 # =>
|
|
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
|
-
|
|
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**:
|
|
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
|
|
570
|
+
This returns an Array which contains the response data, status code and headers.
|
|
567
571
|
|
|
568
|
-
> <Array(
|
|
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 # =>
|
|
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
|
-
|
|
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**:
|
|
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
|
|
642
|
+
This returns an Array which contains the response data, status code and headers.
|
|
638
643
|
|
|
639
|
-
> <Array(
|
|
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 # =>
|
|
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
|
-
|
|
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**:
|
|
677
|
+
- **Accept**: application/json
|
|
673
678
|
|