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
data/docs/InboxApi.md CHANGED
@@ -103,7 +103,7 @@ end
103
103
 
104
104
  ## archive_subscriber_notification
105
105
 
106
- > archive_subscriber_notification(id)
106
+ > <GetSubscriberNotification200Response> archive_subscriber_notification(id)
107
107
 
108
108
  Archive a notification
109
109
 
@@ -123,7 +123,8 @@ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
123
123
 
124
124
  begin
125
125
  # Archive a notification
126
- api_instance.archive_subscriber_notification(id)
126
+ result = api_instance.archive_subscriber_notification(id)
127
+ p result
127
128
  rescue Zyphr::ApiError => e
128
129
  puts "Error when calling InboxApi->archive_subscriber_notification: #{e}"
129
130
  end
@@ -131,9 +132,9 @@ end
131
132
 
132
133
  #### Using the archive_subscriber_notification_with_http_info variant
133
134
 
134
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
135
+ This returns an Array which contains the response data, status code and headers.
135
136
 
136
- > <Array(nil, Integer, Hash)> archive_subscriber_notification_with_http_info(id)
137
+ > <Array(<GetSubscriberNotification200Response>, Integer, Hash)> archive_subscriber_notification_with_http_info(id)
137
138
 
138
139
  ```ruby
139
140
  begin
@@ -141,7 +142,7 @@ begin
141
142
  data, status_code, headers = api_instance.archive_subscriber_notification_with_http_info(id)
142
143
  p status_code # => 2xx
143
144
  p headers # => { ... }
144
- p data # => nil
145
+ p data # => <GetSubscriberNotification200Response>
145
146
  rescue Zyphr::ApiError => e
146
147
  puts "Error when calling InboxApi->archive_subscriber_notification_with_http_info: #{e}"
147
148
  end
@@ -155,7 +156,7 @@ end
155
156
 
156
157
  ### Return type
157
158
 
158
- nil (empty response body)
159
+ [**GetSubscriberNotification200Response**](GetSubscriberNotification200Response.md)
159
160
 
160
161
  ### Authorization
161
162
 
@@ -164,7 +165,7 @@ nil (empty response body)
164
165
  ### HTTP request headers
165
166
 
166
167
  - **Content-Type**: Not defined
167
- - **Accept**: Not defined
168
+ - **Accept**: application/json
168
169
 
169
170
 
170
171
  ## delete_inbox_notification
@@ -315,7 +316,7 @@ nil (empty response body)
315
316
 
316
317
  Generate a subscriber token
317
318
 
318
- Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
319
+ Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr-dev/inbox-react`'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
319
320
 
320
321
  ### Examples
321
322
 
@@ -459,7 +460,7 @@ end
459
460
 
460
461
  ## get_subscriber_inbox_preferences
461
462
 
462
- > get_subscriber_inbox_preferences
463
+ > <GetSubscriberInboxPreferences200Response> get_subscriber_inbox_preferences
463
464
 
464
465
  Get subscriber preferences
465
466
 
@@ -480,7 +481,8 @@ api_instance = Zyphr::InboxApi.new
480
481
 
481
482
  begin
482
483
  # Get subscriber preferences
483
- api_instance.get_subscriber_inbox_preferences
484
+ result = api_instance.get_subscriber_inbox_preferences
485
+ p result
484
486
  rescue Zyphr::ApiError => e
485
487
  puts "Error when calling InboxApi->get_subscriber_inbox_preferences: #{e}"
486
488
  end
@@ -488,9 +490,9 @@ end
488
490
 
489
491
  #### Using the get_subscriber_inbox_preferences_with_http_info variant
490
492
 
491
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
493
+ This returns an Array which contains the response data, status code and headers.
492
494
 
493
- > <Array(nil, Integer, Hash)> get_subscriber_inbox_preferences_with_http_info
495
+ > <Array(<GetSubscriberInboxPreferences200Response>, Integer, Hash)> get_subscriber_inbox_preferences_with_http_info
494
496
 
495
497
  ```ruby
496
498
  begin
@@ -498,7 +500,7 @@ begin
498
500
  data, status_code, headers = api_instance.get_subscriber_inbox_preferences_with_http_info
499
501
  p status_code # => 2xx
500
502
  p headers # => { ... }
501
- p data # => nil
503
+ p data # => <GetSubscriberInboxPreferences200Response>
502
504
  rescue Zyphr::ApiError => e
503
505
  puts "Error when calling InboxApi->get_subscriber_inbox_preferences_with_http_info: #{e}"
504
506
  end
@@ -510,7 +512,7 @@ This endpoint does not need any parameter.
510
512
 
511
513
  ### Return type
512
514
 
513
- nil (empty response body)
515
+ [**GetSubscriberInboxPreferences200Response**](GetSubscriberInboxPreferences200Response.md)
514
516
 
515
517
  ### Authorization
516
518
 
@@ -519,12 +521,12 @@ nil (empty response body)
519
521
  ### HTTP request headers
520
522
 
521
523
  - **Content-Type**: Not defined
522
- - **Accept**: Not defined
524
+ - **Accept**: application/json
523
525
 
524
526
 
525
527
  ## get_subscriber_notification
526
528
 
527
- > get_subscriber_notification(id)
529
+ > <GetSubscriberNotification200Response> get_subscriber_notification(id)
528
530
 
529
531
  Get a notification
530
532
 
@@ -546,7 +548,8 @@ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
546
548
 
547
549
  begin
548
550
  # Get a notification
549
- api_instance.get_subscriber_notification(id)
551
+ result = api_instance.get_subscriber_notification(id)
552
+ p result
550
553
  rescue Zyphr::ApiError => e
551
554
  puts "Error when calling InboxApi->get_subscriber_notification: #{e}"
552
555
  end
@@ -554,9 +557,9 @@ end
554
557
 
555
558
  #### Using the get_subscriber_notification_with_http_info variant
556
559
 
557
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
560
+ This returns an Array which contains the response data, status code and headers.
558
561
 
559
- > <Array(nil, Integer, Hash)> get_subscriber_notification_with_http_info(id)
562
+ > <Array(<GetSubscriberNotification200Response>, Integer, Hash)> get_subscriber_notification_with_http_info(id)
560
563
 
561
564
  ```ruby
562
565
  begin
@@ -564,7 +567,7 @@ begin
564
567
  data, status_code, headers = api_instance.get_subscriber_notification_with_http_info(id)
565
568
  p status_code # => 2xx
566
569
  p headers # => { ... }
567
- p data # => nil
570
+ p data # => <GetSubscriberNotification200Response>
568
571
  rescue Zyphr::ApiError => e
569
572
  puts "Error when calling InboxApi->get_subscriber_notification_with_http_info: #{e}"
570
573
  end
@@ -578,7 +581,7 @@ end
578
581
 
579
582
  ### Return type
580
583
 
581
- nil (empty response body)
584
+ [**GetSubscriberNotification200Response**](GetSubscriberNotification200Response.md)
582
585
 
583
586
  ### Authorization
584
587
 
@@ -587,12 +590,12 @@ nil (empty response body)
587
590
  ### HTTP request headers
588
591
 
589
592
  - **Content-Type**: Not defined
590
- - **Accept**: Not defined
593
+ - **Accept**: application/json
591
594
 
592
595
 
593
596
  ## get_subscriber_unread_count
594
597
 
595
- > get_subscriber_unread_count
598
+ > <GetSubscriberUnreadCount200Response> get_subscriber_unread_count
596
599
 
597
600
  Get unread count
598
601
 
@@ -613,7 +616,8 @@ api_instance = Zyphr::InboxApi.new
613
616
 
614
617
  begin
615
618
  # Get unread count
616
- api_instance.get_subscriber_unread_count
619
+ result = api_instance.get_subscriber_unread_count
620
+ p result
617
621
  rescue Zyphr::ApiError => e
618
622
  puts "Error when calling InboxApi->get_subscriber_unread_count: #{e}"
619
623
  end
@@ -621,9 +625,9 @@ end
621
625
 
622
626
  #### Using the get_subscriber_unread_count_with_http_info variant
623
627
 
624
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
628
+ This returns an Array which contains the response data, status code and headers.
625
629
 
626
- > <Array(nil, Integer, Hash)> get_subscriber_unread_count_with_http_info
630
+ > <Array(<GetSubscriberUnreadCount200Response>, Integer, Hash)> get_subscriber_unread_count_with_http_info
627
631
 
628
632
  ```ruby
629
633
  begin
@@ -631,7 +635,7 @@ begin
631
635
  data, status_code, headers = api_instance.get_subscriber_unread_count_with_http_info
632
636
  p status_code # => 2xx
633
637
  p headers # => { ... }
634
- p data # => nil
638
+ p data # => <GetSubscriberUnreadCount200Response>
635
639
  rescue Zyphr::ApiError => e
636
640
  puts "Error when calling InboxApi->get_subscriber_unread_count_with_http_info: #{e}"
637
641
  end
@@ -643,7 +647,7 @@ This endpoint does not need any parameter.
643
647
 
644
648
  ### Return type
645
649
 
646
- nil (empty response body)
650
+ [**GetSubscriberUnreadCount200Response**](GetSubscriberUnreadCount200Response.md)
647
651
 
648
652
  ### Authorization
649
653
 
@@ -652,7 +656,7 @@ nil (empty response body)
652
656
  ### HTTP request headers
653
657
 
654
658
  - **Content-Type**: Not defined
655
- - **Accept**: Not defined
659
+ - **Accept**: application/json
656
660
 
657
661
 
658
662
  ## get_unread_count
@@ -732,7 +736,7 @@ end
732
736
 
733
737
  ## list_all_inbox
734
738
 
735
- > list_all_inbox(opts)
739
+ > <InboxListResponse> list_all_inbox(opts)
736
740
 
737
741
  List all project notifications
738
742
 
@@ -763,7 +767,8 @@ opts = {
763
767
 
764
768
  begin
765
769
  # List all project notifications
766
- api_instance.list_all_inbox(opts)
770
+ result = api_instance.list_all_inbox(opts)
771
+ p result
767
772
  rescue Zyphr::ApiError => e
768
773
  puts "Error when calling InboxApi->list_all_inbox: #{e}"
769
774
  end
@@ -771,9 +776,9 @@ end
771
776
 
772
777
  #### Using the list_all_inbox_with_http_info variant
773
778
 
774
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
779
+ This returns an Array which contains the response data, status code and headers.
775
780
 
776
- > <Array(nil, Integer, Hash)> list_all_inbox_with_http_info(opts)
781
+ > <Array(<InboxListResponse>, Integer, Hash)> list_all_inbox_with_http_info(opts)
777
782
 
778
783
  ```ruby
779
784
  begin
@@ -781,7 +786,7 @@ begin
781
786
  data, status_code, headers = api_instance.list_all_inbox_with_http_info(opts)
782
787
  p status_code # => 2xx
783
788
  p headers # => { ... }
784
- p data # => nil
789
+ p data # => <InboxListResponse>
785
790
  rescue Zyphr::ApiError => e
786
791
  puts "Error when calling InboxApi->list_all_inbox_with_http_info: #{e}"
787
792
  end
@@ -800,7 +805,7 @@ end
800
805
 
801
806
  ### Return type
802
807
 
803
- nil (empty response body)
808
+ [**InboxListResponse**](InboxListResponse.md)
804
809
 
805
810
  ### Authorization
806
811
 
@@ -809,7 +814,7 @@ nil (empty response body)
809
814
  ### HTTP request headers
810
815
 
811
816
  - **Content-Type**: Not defined
812
- - **Accept**: Not defined
817
+ - **Accept**: application/json
813
818
 
814
819
 
815
820
  ## list_inbox
@@ -901,7 +906,7 @@ end
901
906
 
902
907
  ## list_subscriber_notifications
903
908
 
904
- > list_subscriber_notifications(opts)
909
+ > <InboxListResponse> list_subscriber_notifications(opts)
905
910
 
906
911
  List subscriber notifications
907
912
 
@@ -929,7 +934,8 @@ opts = {
929
934
 
930
935
  begin
931
936
  # List subscriber notifications
932
- api_instance.list_subscriber_notifications(opts)
937
+ result = api_instance.list_subscriber_notifications(opts)
938
+ p result
933
939
  rescue Zyphr::ApiError => e
934
940
  puts "Error when calling InboxApi->list_subscriber_notifications: #{e}"
935
941
  end
@@ -937,9 +943,9 @@ end
937
943
 
938
944
  #### Using the list_subscriber_notifications_with_http_info variant
939
945
 
940
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
946
+ This returns an Array which contains the response data, status code and headers.
941
947
 
942
- > <Array(nil, Integer, Hash)> list_subscriber_notifications_with_http_info(opts)
948
+ > <Array(<InboxListResponse>, Integer, Hash)> list_subscriber_notifications_with_http_info(opts)
943
949
 
944
950
  ```ruby
945
951
  begin
@@ -947,7 +953,7 @@ begin
947
953
  data, status_code, headers = api_instance.list_subscriber_notifications_with_http_info(opts)
948
954
  p status_code # => 2xx
949
955
  p headers # => { ... }
950
- p data # => nil
956
+ p data # => <InboxListResponse>
951
957
  rescue Zyphr::ApiError => e
952
958
  puts "Error when calling InboxApi->list_subscriber_notifications_with_http_info: #{e}"
953
959
  end
@@ -965,7 +971,7 @@ end
965
971
 
966
972
  ### Return type
967
973
 
968
- nil (empty response body)
974
+ [**InboxListResponse**](InboxListResponse.md)
969
975
 
970
976
  ### Authorization
971
977
 
@@ -974,7 +980,7 @@ nil (empty response body)
974
980
  ### HTTP request headers
975
981
 
976
982
  - **Content-Type**: Not defined
977
- - **Accept**: Not defined
983
+ - **Accept**: application/json
978
984
 
979
985
 
980
986
  ## mark_all_inbox_read
@@ -1050,7 +1056,7 @@ end
1050
1056
 
1051
1057
  ## mark_all_subscriber_notifications_read
1052
1058
 
1053
- > mark_all_subscriber_notifications_read(opts)
1059
+ > <MarkAllSubscriberNotificationsRead200Response> mark_all_subscriber_notifications_read(opts)
1054
1060
 
1055
1061
  Mark all notifications as read
1056
1062
 
@@ -1072,7 +1078,8 @@ opts = {
1072
1078
 
1073
1079
  begin
1074
1080
  # Mark all notifications as read
1075
- api_instance.mark_all_subscriber_notifications_read(opts)
1081
+ result = api_instance.mark_all_subscriber_notifications_read(opts)
1082
+ p result
1076
1083
  rescue Zyphr::ApiError => e
1077
1084
  puts "Error when calling InboxApi->mark_all_subscriber_notifications_read: #{e}"
1078
1085
  end
@@ -1080,9 +1087,9 @@ end
1080
1087
 
1081
1088
  #### Using the mark_all_subscriber_notifications_read_with_http_info variant
1082
1089
 
1083
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1090
+ This returns an Array which contains the response data, status code and headers.
1084
1091
 
1085
- > <Array(nil, Integer, Hash)> mark_all_subscriber_notifications_read_with_http_info(opts)
1092
+ > <Array(<MarkAllSubscriberNotificationsRead200Response>, Integer, Hash)> mark_all_subscriber_notifications_read_with_http_info(opts)
1086
1093
 
1087
1094
  ```ruby
1088
1095
  begin
@@ -1090,7 +1097,7 @@ begin
1090
1097
  data, status_code, headers = api_instance.mark_all_subscriber_notifications_read_with_http_info(opts)
1091
1098
  p status_code # => 2xx
1092
1099
  p headers # => { ... }
1093
- p data # => nil
1100
+ p data # => <MarkAllSubscriberNotificationsRead200Response>
1094
1101
  rescue Zyphr::ApiError => e
1095
1102
  puts "Error when calling InboxApi->mark_all_subscriber_notifications_read_with_http_info: #{e}"
1096
1103
  end
@@ -1104,7 +1111,7 @@ end
1104
1111
 
1105
1112
  ### Return type
1106
1113
 
1107
- nil (empty response body)
1114
+ [**MarkAllSubscriberNotificationsRead200Response**](MarkAllSubscriberNotificationsRead200Response.md)
1108
1115
 
1109
1116
  ### Authorization
1110
1117
 
@@ -1113,7 +1120,7 @@ nil (empty response body)
1113
1120
  ### HTTP request headers
1114
1121
 
1115
1122
  - **Content-Type**: application/json
1116
- - **Accept**: Not defined
1123
+ - **Accept**: application/json
1117
1124
 
1118
1125
 
1119
1126
  ## mark_inbox_read
@@ -1193,7 +1200,7 @@ end
1193
1200
 
1194
1201
  ## mark_subscriber_notification_read
1195
1202
 
1196
- > mark_subscriber_notification_read(id)
1203
+ > <GetSubscriberNotification200Response> mark_subscriber_notification_read(id)
1197
1204
 
1198
1205
  Mark notification as read
1199
1206
 
@@ -1213,7 +1220,8 @@ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
1213
1220
 
1214
1221
  begin
1215
1222
  # Mark notification as read
1216
- api_instance.mark_subscriber_notification_read(id)
1223
+ result = api_instance.mark_subscriber_notification_read(id)
1224
+ p result
1217
1225
  rescue Zyphr::ApiError => e
1218
1226
  puts "Error when calling InboxApi->mark_subscriber_notification_read: #{e}"
1219
1227
  end
@@ -1221,9 +1229,9 @@ end
1221
1229
 
1222
1230
  #### Using the mark_subscriber_notification_read_with_http_info variant
1223
1231
 
1224
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1232
+ This returns an Array which contains the response data, status code and headers.
1225
1233
 
1226
- > <Array(nil, Integer, Hash)> mark_subscriber_notification_read_with_http_info(id)
1234
+ > <Array(<GetSubscriberNotification200Response>, Integer, Hash)> mark_subscriber_notification_read_with_http_info(id)
1227
1235
 
1228
1236
  ```ruby
1229
1237
  begin
@@ -1231,7 +1239,7 @@ begin
1231
1239
  data, status_code, headers = api_instance.mark_subscriber_notification_read_with_http_info(id)
1232
1240
  p status_code # => 2xx
1233
1241
  p headers # => { ... }
1234
- p data # => nil
1242
+ p data # => <GetSubscriberNotification200Response>
1235
1243
  rescue Zyphr::ApiError => e
1236
1244
  puts "Error when calling InboxApi->mark_subscriber_notification_read_with_http_info: #{e}"
1237
1245
  end
@@ -1245,7 +1253,7 @@ end
1245
1253
 
1246
1254
  ### Return type
1247
1255
 
1248
- nil (empty response body)
1256
+ [**GetSubscriberNotification200Response**](GetSubscriberNotification200Response.md)
1249
1257
 
1250
1258
  ### Authorization
1251
1259
 
@@ -1254,7 +1262,7 @@ nil (empty response body)
1254
1262
  ### HTTP request headers
1255
1263
 
1256
1264
  - **Content-Type**: Not defined
1257
- - **Accept**: Not defined
1265
+ - **Accept**: application/json
1258
1266
 
1259
1267
 
1260
1268
  ## send_batch_in_app
@@ -1401,7 +1409,7 @@ end
1401
1409
 
1402
1410
  ## update_subscriber_preferences
1403
1411
 
1404
- > update_subscriber_preferences(update_subscriber_preferences_request)
1412
+ > <UpdateSubscriberPreferences200Response> update_subscriber_preferences(update_subscriber_preferences_request)
1405
1413
 
1406
1414
  Update subscriber preferences
1407
1415
 
@@ -1423,7 +1431,8 @@ update_subscriber_preferences_request = Zyphr::UpdateSubscriberPreferencesReques
1423
1431
 
1424
1432
  begin
1425
1433
  # Update subscriber preferences
1426
- api_instance.update_subscriber_preferences(update_subscriber_preferences_request)
1434
+ result = api_instance.update_subscriber_preferences(update_subscriber_preferences_request)
1435
+ p result
1427
1436
  rescue Zyphr::ApiError => e
1428
1437
  puts "Error when calling InboxApi->update_subscriber_preferences: #{e}"
1429
1438
  end
@@ -1431,9 +1440,9 @@ end
1431
1440
 
1432
1441
  #### Using the update_subscriber_preferences_with_http_info variant
1433
1442
 
1434
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1443
+ This returns an Array which contains the response data, status code and headers.
1435
1444
 
1436
- > <Array(nil, Integer, Hash)> update_subscriber_preferences_with_http_info(update_subscriber_preferences_request)
1445
+ > <Array(<UpdateSubscriberPreferences200Response>, Integer, Hash)> update_subscriber_preferences_with_http_info(update_subscriber_preferences_request)
1437
1446
 
1438
1447
  ```ruby
1439
1448
  begin
@@ -1441,7 +1450,7 @@ begin
1441
1450
  data, status_code, headers = api_instance.update_subscriber_preferences_with_http_info(update_subscriber_preferences_request)
1442
1451
  p status_code # => 2xx
1443
1452
  p headers # => { ... }
1444
- p data # => nil
1453
+ p data # => <UpdateSubscriberPreferences200Response>
1445
1454
  rescue Zyphr::ApiError => e
1446
1455
  puts "Error when calling InboxApi->update_subscriber_preferences_with_http_info: #{e}"
1447
1456
  end
@@ -1455,7 +1464,7 @@ end
1455
1464
 
1456
1465
  ### Return type
1457
1466
 
1458
- nil (empty response body)
1467
+ [**UpdateSubscriberPreferences200Response**](UpdateSubscriberPreferences200Response.md)
1459
1468
 
1460
1469
  ### Authorization
1461
1470
 
@@ -1464,5 +1473,5 @@ nil (empty response body)
1464
1473
  ### HTTP request headers
1465
1474
 
1466
1475
  - **Content-Type**: application/json
1467
- - **Accept**: Not defined
1476
+ - **Accept**: application/json
1468
1477
 
@@ -0,0 +1,20 @@
1
+ # Zyphr::InviteEndUser200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**InviteEndUser200ResponseData**](InviteEndUser200ResponseData.md) | | [optional] |
8
+ | **meta** | [**GetDomain200ResponseMeta**](GetDomain200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::InviteEndUser200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # Zyphr::InviteEndUser200ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **user_id** | **String** | | [optional] |
8
+ | **created** | **Boolean** | True when a new user was provisioned; false when an existing user was reused (idempotent on email). | [optional] |
9
+ | **link_sent** | **Boolean** | True when a magic-link or password-reset email was successfully dispatched. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zyphr'
15
+
16
+ instance = Zyphr::InviteEndUser200ResponseData.new(
17
+ user_id: null,
18
+ created: null,
19
+ link_sent: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::ListEndUsers200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;AuthUser&gt;**](AuthUser.md) | | [optional] |
8
+ | **meta** | [**ListEndUsers200ResponseMeta**](ListEndUsers200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::ListEndUsers200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -1,4 +1,4 @@
1
- # Zyphr::ListWorkflowExecutions200ResponseMeta
1
+ # Zyphr::ListEndUsers200ResponseMeta
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'zyphr'
17
17
 
18
- instance = Zyphr::ListWorkflowExecutions200ResponseMeta.new(
18
+ instance = Zyphr::ListEndUsers200ResponseMeta.new(
19
19
  request_id: null,
20
20
  page: null,
21
21
  per_page: null,
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **data** | [**Array&lt;WorkflowExecution&gt;**](WorkflowExecution.md) | | [optional] |
8
- | **meta** | [**ListWorkflowExecutions200ResponseMeta**](ListWorkflowExecutions200ResponseMeta.md) | | [optional] |
8
+ | **meta** | [**ListEndUsers200ResponseMeta**](ListEndUsers200ResponseMeta.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,18 @@
1
+ # Zyphr::MarkAllSubscriberNotificationsRead200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**MarkAllReadData**](MarkAllReadData.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'zyphr'
13
+
14
+ instance = Zyphr::MarkAllSubscriberNotificationsRead200Response.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::RotateWaaSEndpointSecret200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**RotateWaaSEndpointSecret200ResponseData**](RotateWaaSEndpointSecret200ResponseData.md) | | [optional] |
8
+ | **meta** | [**GetDomain200ResponseMeta**](GetDomain200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::RotateWaaSEndpointSecret200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # Zyphr::RotateWaaSEndpointSecret200ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **secret** | **String** | The newly generated signing secret. Returned only on rotation. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'zyphr'
13
+
14
+ instance = Zyphr::RotateWaaSEndpointSecret200ResponseData.new(
15
+ secret: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::SendTemplateTestEmail202Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**SendTemplateTestEmail202ResponseData**](SendTemplateTestEmail202ResponseData.md) | | |
8
+ | **meta** | [**SendTemplateTestEmail202ResponseMeta**](SendTemplateTestEmail202ResponseMeta.md) | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::SendTemplateTestEmail202Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+