zyphr 0.1.42 → 0.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +52 -5
  3. data/docs/ApplicationSelf.md +24 -0
  4. data/docs/ApplicationSelfResponse.md +20 -0
  5. data/docs/AuthApplicationApi.md +81 -0
  6. data/docs/AuthEmailTemplateTestRequest.md +1 -1
  7. data/docs/AuthEmailTemplatesApi.md +1 -1
  8. data/docs/AuthMethods.md +28 -0
  9. data/docs/AuthUserDirectoryApi.md +125 -42
  10. data/docs/CloseWaaSEndpointCircuit200Response.md +20 -0
  11. data/docs/CloseWaaSEndpointCircuit200ResponseData.md +18 -0
  12. data/docs/DomainsApi.md +8 -7
  13. data/docs/GetEndUserAuthMethods200Response.md +20 -0
  14. data/docs/GetEndUserById200Response.md +20 -0
  15. data/docs/GetEndUserClaims200Response.md +20 -0
  16. data/docs/GetEndUserClaims200ResponseData.md +18 -0
  17. data/docs/GetSubscriberInboxPreferences200Response.md +18 -0
  18. data/docs/GetSubscriberInboxPreferences200ResponseData.md +20 -0
  19. data/docs/GetSubscriberInboxPreferences200ResponseDataCategoriesInner.md +20 -0
  20. data/docs/GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.md +26 -0
  21. data/docs/GetSubscriberInboxPreferences200ResponseDataGlobal.md +18 -0
  22. data/docs/GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner.md +22 -0
  23. data/docs/GetSubscriberNotification200Response.md +18 -0
  24. data/docs/GetSubscriberUnreadCount200Response.md +18 -0
  25. data/docs/GetWaaSDelivery200Response.md +20 -0
  26. data/docs/GetWaaSEndpointCircuit200Response.md +20 -0
  27. data/docs/GetWaaSEndpointCircuit200ResponseData.md +28 -0
  28. data/docs/GetWaaSEndpointMetrics200Response.md +20 -0
  29. data/docs/GetWaaSEndpointMetrics200ResponseData.md +22 -0
  30. data/docs/GetWaaSEndpointMetrics200ResponseDataHealth.md +20 -0
  31. data/docs/GetWaaSEndpointMetrics200ResponseDataWindowsValue.md +30 -0
  32. data/docs/InboxApi.md +72 -63
  33. data/docs/InviteEndUser200Response.md +20 -0
  34. data/docs/InviteEndUser200ResponseData.md +22 -0
  35. data/docs/ListEndUsers200Response.md +20 -0
  36. data/docs/{ListWorkflowExecutions200ResponseMeta.md → ListEndUsers200ResponseMeta.md} +2 -2
  37. data/docs/ListWorkflowExecutions200Response.md +1 -1
  38. data/docs/MarkAllSubscriberNotificationsRead200Response.md +18 -0
  39. data/docs/RotateWaaSEndpointSecret200Response.md +20 -0
  40. data/docs/RotateWaaSEndpointSecret200ResponseData.md +18 -0
  41. data/docs/SendTemplateTestEmail202Response.md +20 -0
  42. data/docs/SendTemplateTestEmail202ResponseData.md +30 -0
  43. data/docs/SendTemplateTestEmail202ResponseMeta.md +18 -0
  44. data/docs/SmsListResponse.md +1 -1
  45. data/docs/TemplatesApi.md +7 -6
  46. data/docs/UpdateSubscriberPreferences200Response.md +18 -0
  47. data/docs/UpdateSubscriberPreferences200ResponseData.md +20 -0
  48. data/docs/UpdateSubscriberPreferences200ResponseDataPreferencesInner.md +24 -0
  49. data/docs/UpdateWaaSEndpoint200Response.md +20 -0
  50. data/docs/UpdateWaaSEventType200Response.md +20 -0
  51. data/docs/WaaSDeliveriesApi.md +16 -14
  52. data/docs/WaaSEndpointsApi.md +40 -35
  53. data/docs/WaaSEventTypesApi.md +16 -14
  54. data/lib/zyphr/api/auth_application_api.rb +79 -0
  55. data/lib/zyphr/api/auth_email_templates_api.rb +2 -2
  56. data/lib/zyphr/api/auth_user_directory_api.rb +105 -30
  57. data/lib/zyphr/api/domains_api.rb +7 -5
  58. data/lib/zyphr/api/inbox_api.rb +63 -45
  59. data/lib/zyphr/api/templates_api.rb +5 -5
  60. data/lib/zyphr/api/waa_s_deliveries_api.rb +14 -10
  61. data/lib/zyphr/api/waa_s_endpoints_api.rb +35 -25
  62. data/lib/zyphr/api/waa_s_event_types_api.rb +14 -10
  63. data/lib/zyphr/models/application_self.rb +342 -0
  64. data/lib/zyphr/models/application_self_response.rb +229 -0
  65. data/lib/zyphr/models/auth_email_template_test_request.rb +1 -1
  66. data/lib/zyphr/models/auth_methods.rb +376 -0
  67. data/lib/zyphr/models/close_waa_s_endpoint_circuit200_response.rb +229 -0
  68. data/lib/zyphr/models/close_waa_s_endpoint_circuit200_response_data.rb +261 -0
  69. data/lib/zyphr/models/get_end_user_auth_methods200_response.rb +229 -0
  70. data/lib/zyphr/models/get_end_user_by_id200_response.rb +229 -0
  71. data/lib/zyphr/models/get_end_user_claims200_response.rb +229 -0
  72. data/lib/zyphr/models/get_end_user_claims200_response_data.rb +223 -0
  73. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response.rb +220 -0
  74. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data.rb +231 -0
  75. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_categories_inner.rb +231 -0
  76. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_categories_inner_category.rb +257 -0
  77. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_global.rb +222 -0
  78. data/lib/zyphr/models/get_subscriber_inbox_preferences200_response_data_global_channels_inner.rb +272 -0
  79. data/lib/zyphr/models/get_subscriber_notification200_response.rb +220 -0
  80. data/lib/zyphr/models/get_subscriber_unread_count200_response.rb +220 -0
  81. data/lib/zyphr/models/get_waa_s_delivery200_response.rb +229 -0
  82. data/lib/zyphr/models/get_waa_s_endpoint_circuit200_response.rb +229 -0
  83. data/lib/zyphr/models/get_waa_s_endpoint_circuit200_response_data.rb +349 -0
  84. data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response.rb +229 -0
  85. data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data.rb +292 -0
  86. data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data_health.rb +287 -0
  87. data/lib/zyphr/models/get_waa_s_endpoint_metrics200_response_data_windows_value.rb +308 -0
  88. data/lib/zyphr/models/invite_end_user200_response.rb +229 -0
  89. data/lib/zyphr/models/invite_end_user200_response_data.rb +240 -0
  90. data/lib/zyphr/models/list_end_users200_response.rb +231 -0
  91. data/lib/zyphr/models/{list_workflow_executions200_response_meta.rb → list_end_users200_response_meta.rb} +3 -3
  92. data/lib/zyphr/models/list_workflow_executions200_response.rb +1 -1
  93. data/lib/zyphr/models/mark_all_subscriber_notifications_read200_response.rb +220 -0
  94. data/lib/zyphr/models/rotate_waa_s_endpoint_secret200_response.rb +229 -0
  95. data/lib/zyphr/models/rotate_waa_s_endpoint_secret200_response_data.rb +238 -0
  96. data/lib/zyphr/models/send_template_test_email202_response.rb +263 -0
  97. data/lib/zyphr/models/send_template_test_email202_response_data.rb +393 -0
  98. data/lib/zyphr/models/send_template_test_email202_response_meta.rb +237 -0
  99. data/lib/zyphr/models/sms_list_response.rb +1 -1
  100. data/lib/zyphr/models/update_subscriber_preferences200_response.rb +220 -0
  101. data/lib/zyphr/models/update_subscriber_preferences200_response_data.rb +231 -0
  102. data/lib/zyphr/models/update_subscriber_preferences200_response_data_preferences_inner.rb +282 -0
  103. data/lib/zyphr/models/update_waa_s_endpoint200_response.rb +229 -0
  104. data/lib/zyphr/models/update_waa_s_event_type200_response.rb +229 -0
  105. data/lib/zyphr.rb +40 -1
  106. data/spec/api/auth_application_api_spec.rb +46 -0
  107. data/spec/api/auth_email_templates_api_spec.rb +1 -1
  108. data/spec/api/auth_user_directory_api_spec.rb +18 -6
  109. data/spec/api/domains_api_spec.rb +1 -1
  110. data/spec/api/inbox_api_spec.rb +9 -9
  111. data/spec/api/templates_api_spec.rb +1 -1
  112. data/spec/api/waa_s_deliveries_api_spec.rb +2 -2
  113. data/spec/api/waa_s_endpoints_api_spec.rb +5 -5
  114. data/spec/api/waa_s_event_types_api_spec.rb +2 -2
  115. data/spec/models/application_self_response_spec.rb +42 -0
  116. data/spec/models/application_self_spec.rb +62 -0
  117. data/spec/models/auth_methods_spec.rb +66 -0
  118. data/spec/models/close_waa_s_endpoint_circuit200_response_data_spec.rb +40 -0
  119. data/spec/models/close_waa_s_endpoint_circuit200_response_spec.rb +42 -0
  120. data/spec/models/get_end_user_auth_methods200_response_spec.rb +42 -0
  121. data/spec/models/get_end_user_by_id200_response_spec.rb +42 -0
  122. data/spec/models/get_end_user_claims200_response_data_spec.rb +36 -0
  123. data/spec/models/get_end_user_claims200_response_spec.rb +42 -0
  124. data/spec/models/get_subscriber_inbox_preferences200_response_data_categories_inner_category_spec.rb +60 -0
  125. data/spec/models/get_subscriber_inbox_preferences200_response_data_categories_inner_spec.rb +42 -0
  126. data/spec/models/get_subscriber_inbox_preferences200_response_data_global_channels_inner_spec.rb +52 -0
  127. data/spec/models/get_subscriber_inbox_preferences200_response_data_global_spec.rb +36 -0
  128. data/spec/models/get_subscriber_inbox_preferences200_response_data_spec.rb +42 -0
  129. data/spec/models/get_subscriber_inbox_preferences200_response_spec.rb +36 -0
  130. data/spec/models/get_subscriber_notification200_response_spec.rb +36 -0
  131. data/spec/models/get_subscriber_unread_count200_response_spec.rb +36 -0
  132. data/spec/models/get_waa_s_delivery200_response_spec.rb +42 -0
  133. data/spec/models/get_waa_s_endpoint_circuit200_response_data_spec.rb +70 -0
  134. data/spec/models/get_waa_s_endpoint_circuit200_response_spec.rb +42 -0
  135. data/spec/models/get_waa_s_endpoint_metrics200_response_data_health_spec.rb +46 -0
  136. data/spec/models/get_waa_s_endpoint_metrics200_response_data_spec.rb +48 -0
  137. data/spec/models/get_waa_s_endpoint_metrics200_response_data_windows_value_spec.rb +76 -0
  138. data/spec/models/get_waa_s_endpoint_metrics200_response_spec.rb +42 -0
  139. data/spec/models/invite_end_user200_response_data_spec.rb +48 -0
  140. data/spec/models/invite_end_user200_response_spec.rb +42 -0
  141. data/spec/models/{list_workflow_executions200_response_meta_spec.rb → list_end_users200_response_meta_spec.rb} +6 -6
  142. data/spec/models/list_end_users200_response_spec.rb +42 -0
  143. data/spec/models/mark_all_subscriber_notifications_read200_response_spec.rb +36 -0
  144. data/spec/models/rotate_waa_s_endpoint_secret200_response_data_spec.rb +36 -0
  145. data/spec/models/rotate_waa_s_endpoint_secret200_response_spec.rb +42 -0
  146. data/spec/models/send_template_test_email202_response_data_spec.rb +72 -0
  147. data/spec/models/send_template_test_email202_response_meta_spec.rb +36 -0
  148. data/spec/models/send_template_test_email202_response_spec.rb +42 -0
  149. data/spec/models/update_subscriber_preferences200_response_data_preferences_inner_spec.rb +58 -0
  150. data/spec/models/update_subscriber_preferences200_response_data_spec.rb +42 -0
  151. data/spec/models/update_subscriber_preferences200_response_spec.rb +36 -0
  152. data/spec/models/update_waa_s_endpoint200_response_spec.rb +42 -0
  153. data/spec/models/update_waa_s_event_type200_response_spec.rb +42 -0
  154. data/zyphr.gemspec +1 -1
  155. metadata +162 -6
@@ -5,6 +5,7 @@ All URIs are relative to *https://api.zyphr.dev/v1*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**delete_end_user_by_application**](AuthUserDirectoryApi.md#delete_end_user_by_application) | **DELETE** /auth/users/{user_id} | Delete an end user (server-side admin) |
8
+ | [**get_end_user_auth_methods**](AuthUserDirectoryApi.md#get_end_user_auth_methods) | **GET** /auth/users/{user_id}/auth-methods | Get an end user's sign-in methods (server-side admin) |
8
9
  | [**get_end_user_by_email**](AuthUserDirectoryApi.md#get_end_user_by_email) | **GET** /auth/users/by-email | Look up an end user by email (server-side admin) |
9
10
  | [**get_end_user_by_id**](AuthUserDirectoryApi.md#get_end_user_by_id) | **GET** /auth/users/{user_id} | Get an end user by id (server-side admin) |
10
11
  | [**get_end_user_claims**](AuthUserDirectoryApi.md#get_end_user_claims) | **GET** /auth/users/{user_id}/claims | Get an end user's stored custom claims (server-side admin) |
@@ -89,9 +90,85 @@ nil (empty response body)
89
90
  - **Accept**: Not defined
90
91
 
91
92
 
93
+ ## get_end_user_auth_methods
94
+
95
+ > <GetEndUserAuthMethods200Response> get_end_user_auth_methods(user_id)
96
+
97
+ Get an end user's sign-in methods (server-side admin)
98
+
99
+ Secret-key-scoped, aggregate view of the sign-in methods configured for a single end user within the authenticating application. Reports whether the user has a password, which OAuth providers are linked, whether MFA is enabled, whether email/phone are verified, and how many passkeys are registered — everything a customer admin needs to build a \"sign-in methods\" screen. Scoped to the application — a caller can never read a user belonging to another application.
100
+
101
+ ### Examples
102
+
103
+ ```ruby
104
+ require 'time'
105
+ require 'zyphr'
106
+ # setup authorization
107
+ Zyphr.configure do |config|
108
+ # Configure API key authorization: ApplicationSecret
109
+ config.api_key['X-Application-Secret'] = 'YOUR API KEY'
110
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
111
+ # config.api_key_prefix['X-Application-Secret'] = 'Bearer'
112
+
113
+ # Configure API key authorization: ApplicationPublicKey
114
+ config.api_key['X-Application-Key'] = 'YOUR API KEY'
115
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
116
+ # config.api_key_prefix['X-Application-Key'] = 'Bearer'
117
+ end
118
+
119
+ api_instance = Zyphr::AuthUserDirectoryApi.new
120
+ user_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
121
+
122
+ begin
123
+ # Get an end user's sign-in methods (server-side admin)
124
+ result = api_instance.get_end_user_auth_methods(user_id)
125
+ p result
126
+ rescue Zyphr::ApiError => e
127
+ puts "Error when calling AuthUserDirectoryApi->get_end_user_auth_methods: #{e}"
128
+ end
129
+ ```
130
+
131
+ #### Using the get_end_user_auth_methods_with_http_info variant
132
+
133
+ This returns an Array which contains the response data, status code and headers.
134
+
135
+ > <Array(<GetEndUserAuthMethods200Response>, Integer, Hash)> get_end_user_auth_methods_with_http_info(user_id)
136
+
137
+ ```ruby
138
+ begin
139
+ # Get an end user's sign-in methods (server-side admin)
140
+ data, status_code, headers = api_instance.get_end_user_auth_methods_with_http_info(user_id)
141
+ p status_code # => 2xx
142
+ p headers # => { ... }
143
+ p data # => <GetEndUserAuthMethods200Response>
144
+ rescue Zyphr::ApiError => e
145
+ puts "Error when calling AuthUserDirectoryApi->get_end_user_auth_methods_with_http_info: #{e}"
146
+ end
147
+ ```
148
+
149
+ ### Parameters
150
+
151
+ | Name | Type | Description | Notes |
152
+ | ---- | ---- | ----------- | ----- |
153
+ | **user_id** | **String** | | |
154
+
155
+ ### Return type
156
+
157
+ [**GetEndUserAuthMethods200Response**](GetEndUserAuthMethods200Response.md)
158
+
159
+ ### Authorization
160
+
161
+ [ApplicationSecret](../README.md#ApplicationSecret), [ApplicationPublicKey](../README.md#ApplicationPublicKey)
162
+
163
+ ### HTTP request headers
164
+
165
+ - **Content-Type**: Not defined
166
+ - **Accept**: application/json
167
+
168
+
92
169
  ## get_end_user_by_email
93
170
 
94
- > get_end_user_by_email(email)
171
+ > <GetEndUserById200Response> get_end_user_by_email(email)
95
172
 
96
173
  Look up an end user by email (server-side admin)
97
174
 
@@ -120,7 +197,8 @@ email = 'email_example' # String |
120
197
 
121
198
  begin
122
199
  # Look up an end user by email (server-side admin)
123
- api_instance.get_end_user_by_email(email)
200
+ result = api_instance.get_end_user_by_email(email)
201
+ p result
124
202
  rescue Zyphr::ApiError => e
125
203
  puts "Error when calling AuthUserDirectoryApi->get_end_user_by_email: #{e}"
126
204
  end
@@ -128,9 +206,9 @@ end
128
206
 
129
207
  #### Using the get_end_user_by_email_with_http_info variant
130
208
 
131
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
209
+ This returns an Array which contains the response data, status code and headers.
132
210
 
133
- > <Array(nil, Integer, Hash)> get_end_user_by_email_with_http_info(email)
211
+ > <Array(<GetEndUserById200Response>, Integer, Hash)> get_end_user_by_email_with_http_info(email)
134
212
 
135
213
  ```ruby
136
214
  begin
@@ -138,7 +216,7 @@ begin
138
216
  data, status_code, headers = api_instance.get_end_user_by_email_with_http_info(email)
139
217
  p status_code # => 2xx
140
218
  p headers # => { ... }
141
- p data # => nil
219
+ p data # => <GetEndUserById200Response>
142
220
  rescue Zyphr::ApiError => e
143
221
  puts "Error when calling AuthUserDirectoryApi->get_end_user_by_email_with_http_info: #{e}"
144
222
  end
@@ -152,7 +230,7 @@ end
152
230
 
153
231
  ### Return type
154
232
 
155
- nil (empty response body)
233
+ [**GetEndUserById200Response**](GetEndUserById200Response.md)
156
234
 
157
235
  ### Authorization
158
236
 
@@ -161,12 +239,12 @@ nil (empty response body)
161
239
  ### HTTP request headers
162
240
 
163
241
  - **Content-Type**: Not defined
164
- - **Accept**: Not defined
242
+ - **Accept**: application/json
165
243
 
166
244
 
167
245
  ## get_end_user_by_id
168
246
 
169
- > get_end_user_by_id(user_id)
247
+ > <GetEndUserById200Response> get_end_user_by_id(user_id)
170
248
 
171
249
  Get an end user by id (server-side admin)
172
250
 
@@ -195,7 +273,8 @@ user_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
195
273
 
196
274
  begin
197
275
  # Get an end user by id (server-side admin)
198
- api_instance.get_end_user_by_id(user_id)
276
+ result = api_instance.get_end_user_by_id(user_id)
277
+ p result
199
278
  rescue Zyphr::ApiError => e
200
279
  puts "Error when calling AuthUserDirectoryApi->get_end_user_by_id: #{e}"
201
280
  end
@@ -203,9 +282,9 @@ end
203
282
 
204
283
  #### Using the get_end_user_by_id_with_http_info variant
205
284
 
206
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
285
+ This returns an Array which contains the response data, status code and headers.
207
286
 
208
- > <Array(nil, Integer, Hash)> get_end_user_by_id_with_http_info(user_id)
287
+ > <Array(<GetEndUserById200Response>, Integer, Hash)> get_end_user_by_id_with_http_info(user_id)
209
288
 
210
289
  ```ruby
211
290
  begin
@@ -213,7 +292,7 @@ begin
213
292
  data, status_code, headers = api_instance.get_end_user_by_id_with_http_info(user_id)
214
293
  p status_code # => 2xx
215
294
  p headers # => { ... }
216
- p data # => nil
295
+ p data # => <GetEndUserById200Response>
217
296
  rescue Zyphr::ApiError => e
218
297
  puts "Error when calling AuthUserDirectoryApi->get_end_user_by_id_with_http_info: #{e}"
219
298
  end
@@ -227,7 +306,7 @@ end
227
306
 
228
307
  ### Return type
229
308
 
230
- nil (empty response body)
309
+ [**GetEndUserById200Response**](GetEndUserById200Response.md)
231
310
 
232
311
  ### Authorization
233
312
 
@@ -236,12 +315,12 @@ nil (empty response body)
236
315
  ### HTTP request headers
237
316
 
238
317
  - **Content-Type**: Not defined
239
- - **Accept**: Not defined
318
+ - **Accept**: application/json
240
319
 
241
320
 
242
321
  ## get_end_user_claims
243
322
 
244
- > get_end_user_claims(user_id)
323
+ > <GetEndUserClaims200Response> get_end_user_claims(user_id)
245
324
 
246
325
  Get an end user's stored custom claims (server-side admin)
247
326
 
@@ -270,7 +349,8 @@ user_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
270
349
 
271
350
  begin
272
351
  # Get an end user's stored custom claims (server-side admin)
273
- api_instance.get_end_user_claims(user_id)
352
+ result = api_instance.get_end_user_claims(user_id)
353
+ p result
274
354
  rescue Zyphr::ApiError => e
275
355
  puts "Error when calling AuthUserDirectoryApi->get_end_user_claims: #{e}"
276
356
  end
@@ -278,9 +358,9 @@ end
278
358
 
279
359
  #### Using the get_end_user_claims_with_http_info variant
280
360
 
281
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
361
+ This returns an Array which contains the response data, status code and headers.
282
362
 
283
- > <Array(nil, Integer, Hash)> get_end_user_claims_with_http_info(user_id)
363
+ > <Array(<GetEndUserClaims200Response>, Integer, Hash)> get_end_user_claims_with_http_info(user_id)
284
364
 
285
365
  ```ruby
286
366
  begin
@@ -288,7 +368,7 @@ begin
288
368
  data, status_code, headers = api_instance.get_end_user_claims_with_http_info(user_id)
289
369
  p status_code # => 2xx
290
370
  p headers # => { ... }
291
- p data # => nil
371
+ p data # => <GetEndUserClaims200Response>
292
372
  rescue Zyphr::ApiError => e
293
373
  puts "Error when calling AuthUserDirectoryApi->get_end_user_claims_with_http_info: #{e}"
294
374
  end
@@ -302,7 +382,7 @@ end
302
382
 
303
383
  ### Return type
304
384
 
305
- nil (empty response body)
385
+ [**GetEndUserClaims200Response**](GetEndUserClaims200Response.md)
306
386
 
307
387
  ### Authorization
308
388
 
@@ -311,12 +391,12 @@ nil (empty response body)
311
391
  ### HTTP request headers
312
392
 
313
393
  - **Content-Type**: Not defined
314
- - **Accept**: Not defined
394
+ - **Accept**: application/json
315
395
 
316
396
 
317
397
  ## invite_end_user
318
398
 
319
- > invite_end_user(invite_end_user_request)
399
+ > <InviteEndUser200Response> invite_end_user(invite_end_user_request)
320
400
 
321
401
  Pre-provision (invite) an end user (server-side admin)
322
402
 
@@ -345,7 +425,8 @@ invite_end_user_request = Zyphr::InviteEndUserRequest.new({email: 'email_example
345
425
 
346
426
  begin
347
427
  # Pre-provision (invite) an end user (server-side admin)
348
- api_instance.invite_end_user(invite_end_user_request)
428
+ result = api_instance.invite_end_user(invite_end_user_request)
429
+ p result
349
430
  rescue Zyphr::ApiError => e
350
431
  puts "Error when calling AuthUserDirectoryApi->invite_end_user: #{e}"
351
432
  end
@@ -353,9 +434,9 @@ end
353
434
 
354
435
  #### Using the invite_end_user_with_http_info variant
355
436
 
356
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
437
+ This returns an Array which contains the response data, status code and headers.
357
438
 
358
- > <Array(nil, Integer, Hash)> invite_end_user_with_http_info(invite_end_user_request)
439
+ > <Array(<InviteEndUser200Response>, Integer, Hash)> invite_end_user_with_http_info(invite_end_user_request)
359
440
 
360
441
  ```ruby
361
442
  begin
@@ -363,7 +444,7 @@ begin
363
444
  data, status_code, headers = api_instance.invite_end_user_with_http_info(invite_end_user_request)
364
445
  p status_code # => 2xx
365
446
  p headers # => { ... }
366
- p data # => nil
447
+ p data # => <InviteEndUser200Response>
367
448
  rescue Zyphr::ApiError => e
368
449
  puts "Error when calling AuthUserDirectoryApi->invite_end_user_with_http_info: #{e}"
369
450
  end
@@ -377,7 +458,7 @@ end
377
458
 
378
459
  ### Return type
379
460
 
380
- nil (empty response body)
461
+ [**InviteEndUser200Response**](InviteEndUser200Response.md)
381
462
 
382
463
  ### Authorization
383
464
 
@@ -386,12 +467,12 @@ nil (empty response body)
386
467
  ### HTTP request headers
387
468
 
388
469
  - **Content-Type**: application/json
389
- - **Accept**: Not defined
470
+ - **Accept**: application/json
390
471
 
391
472
 
392
473
  ## list_end_users
393
474
 
394
- > list_end_users(opts)
475
+ > <ListEndUsers200Response> list_end_users(opts)
395
476
 
396
477
  List / search end users (server-side admin)
397
478
 
@@ -425,7 +506,8 @@ opts = {
425
506
 
426
507
  begin
427
508
  # List / search end users (server-side admin)
428
- api_instance.list_end_users(opts)
509
+ result = api_instance.list_end_users(opts)
510
+ p result
429
511
  rescue Zyphr::ApiError => e
430
512
  puts "Error when calling AuthUserDirectoryApi->list_end_users: #{e}"
431
513
  end
@@ -433,9 +515,9 @@ end
433
515
 
434
516
  #### Using the list_end_users_with_http_info variant
435
517
 
436
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
518
+ This returns an Array which contains the response data, status code and headers.
437
519
 
438
- > <Array(nil, Integer, Hash)> list_end_users_with_http_info(opts)
520
+ > <Array(<ListEndUsers200Response>, Integer, Hash)> list_end_users_with_http_info(opts)
439
521
 
440
522
  ```ruby
441
523
  begin
@@ -443,7 +525,7 @@ begin
443
525
  data, status_code, headers = api_instance.list_end_users_with_http_info(opts)
444
526
  p status_code # => 2xx
445
527
  p headers # => { ... }
446
- p data # => nil
528
+ p data # => <ListEndUsers200Response>
447
529
  rescue Zyphr::ApiError => e
448
530
  puts "Error when calling AuthUserDirectoryApi->list_end_users_with_http_info: #{e}"
449
531
  end
@@ -460,7 +542,7 @@ end
460
542
 
461
543
  ### Return type
462
544
 
463
- nil (empty response body)
545
+ [**ListEndUsers200Response**](ListEndUsers200Response.md)
464
546
 
465
547
  ### Authorization
466
548
 
@@ -469,7 +551,7 @@ nil (empty response body)
469
551
  ### HTTP request headers
470
552
 
471
553
  - **Content-Type**: Not defined
472
- - **Accept**: Not defined
554
+ - **Accept**: application/json
473
555
 
474
556
 
475
557
  ## set_end_user_claims
@@ -552,7 +634,7 @@ end
552
634
 
553
635
  ## update_end_user_by_application
554
636
 
555
- > update_end_user_by_application(user_id, update_end_user_by_application_request)
637
+ > <GetEndUserById200Response> update_end_user_by_application(user_id, update_end_user_by_application_request)
556
638
 
557
639
  Update an end user (server-side admin)
558
640
 
@@ -582,7 +664,8 @@ update_end_user_by_application_request = Zyphr::UpdateEndUserByApplicationReques
582
664
 
583
665
  begin
584
666
  # Update an end user (server-side admin)
585
- api_instance.update_end_user_by_application(user_id, update_end_user_by_application_request)
667
+ result = api_instance.update_end_user_by_application(user_id, update_end_user_by_application_request)
668
+ p result
586
669
  rescue Zyphr::ApiError => e
587
670
  puts "Error when calling AuthUserDirectoryApi->update_end_user_by_application: #{e}"
588
671
  end
@@ -590,9 +673,9 @@ end
590
673
 
591
674
  #### Using the update_end_user_by_application_with_http_info variant
592
675
 
593
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
676
+ This returns an Array which contains the response data, status code and headers.
594
677
 
595
- > <Array(nil, Integer, Hash)> update_end_user_by_application_with_http_info(user_id, update_end_user_by_application_request)
678
+ > <Array(<GetEndUserById200Response>, Integer, Hash)> update_end_user_by_application_with_http_info(user_id, update_end_user_by_application_request)
596
679
 
597
680
  ```ruby
598
681
  begin
@@ -600,7 +683,7 @@ begin
600
683
  data, status_code, headers = api_instance.update_end_user_by_application_with_http_info(user_id, update_end_user_by_application_request)
601
684
  p status_code # => 2xx
602
685
  p headers # => { ... }
603
- p data # => nil
686
+ p data # => <GetEndUserById200Response>
604
687
  rescue Zyphr::ApiError => e
605
688
  puts "Error when calling AuthUserDirectoryApi->update_end_user_by_application_with_http_info: #{e}"
606
689
  end
@@ -615,7 +698,7 @@ end
615
698
 
616
699
  ### Return type
617
700
 
618
- nil (empty response body)
701
+ [**GetEndUserById200Response**](GetEndUserById200Response.md)
619
702
 
620
703
  ### Authorization
621
704
 
@@ -624,5 +707,5 @@ nil (empty response body)
624
707
  ### HTTP request headers
625
708
 
626
709
  - **Content-Type**: application/json
627
- - **Accept**: Not defined
710
+ - **Accept**: application/json
628
711
 
@@ -0,0 +1,20 @@
1
+ # Zyphr::CloseWaaSEndpointCircuit200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**CloseWaaSEndpointCircuit200ResponseData**](CloseWaaSEndpointCircuit200ResponseData.md) | | [optional] |
8
+ | **meta** | [**GetDomain200ResponseMeta**](GetDomain200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::CloseWaaSEndpointCircuit200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # Zyphr::CloseWaaSEndpointCircuit200ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **state** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'zyphr'
13
+
14
+ instance = Zyphr::CloseWaaSEndpointCircuit200ResponseData.new(
15
+ state: null
16
+ )
17
+ ```
18
+
data/docs/DomainsApi.md CHANGED
@@ -367,7 +367,7 @@ This endpoint does not need any parameter.
367
367
 
368
368
  ## set_domain_inbound
369
369
 
370
- > set_domain_inbound(id, set_domain_inbound_request)
370
+ > <GetDomain200Response> set_domain_inbound(id, set_domain_inbound_request)
371
371
 
372
372
  Enable or disable inbound email for a domain
373
373
 
@@ -392,7 +392,8 @@ set_domain_inbound_request = Zyphr::SetDomainInboundRequest.new # SetDomainInbou
392
392
 
393
393
  begin
394
394
  # Enable or disable inbound email for a domain
395
- api_instance.set_domain_inbound(id, set_domain_inbound_request)
395
+ result = api_instance.set_domain_inbound(id, set_domain_inbound_request)
396
+ p result
396
397
  rescue Zyphr::ApiError => e
397
398
  puts "Error when calling DomainsApi->set_domain_inbound: #{e}"
398
399
  end
@@ -400,9 +401,9 @@ end
400
401
 
401
402
  #### Using the set_domain_inbound_with_http_info variant
402
403
 
403
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
404
+ This returns an Array which contains the response data, status code and headers.
404
405
 
405
- > <Array(nil, Integer, Hash)> set_domain_inbound_with_http_info(id, set_domain_inbound_request)
406
+ > <Array(<GetDomain200Response>, Integer, Hash)> set_domain_inbound_with_http_info(id, set_domain_inbound_request)
406
407
 
407
408
  ```ruby
408
409
  begin
@@ -410,7 +411,7 @@ begin
410
411
  data, status_code, headers = api_instance.set_domain_inbound_with_http_info(id, set_domain_inbound_request)
411
412
  p status_code # => 2xx
412
413
  p headers # => { ... }
413
- p data # => nil
414
+ p data # => <GetDomain200Response>
414
415
  rescue Zyphr::ApiError => e
415
416
  puts "Error when calling DomainsApi->set_domain_inbound_with_http_info: #{e}"
416
417
  end
@@ -425,7 +426,7 @@ end
425
426
 
426
427
  ### Return type
427
428
 
428
- nil (empty response body)
429
+ [**GetDomain200Response**](GetDomain200Response.md)
429
430
 
430
431
  ### Authorization
431
432
 
@@ -434,7 +435,7 @@ nil (empty response body)
434
435
  ### HTTP request headers
435
436
 
436
437
  - **Content-Type**: application/json
437
- - **Accept**: Not defined
438
+ - **Accept**: application/json
438
439
 
439
440
 
440
441
  ## verify_domain
@@ -0,0 +1,20 @@
1
+ # Zyphr::GetEndUserAuthMethods200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**AuthMethods**](AuthMethods.md) | | [optional] |
8
+ | **meta** | [**GetDomain200ResponseMeta**](GetDomain200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::GetEndUserAuthMethods200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::GetEndUserById200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**AuthUser**](AuthUser.md) | | [optional] |
8
+ | **meta** | [**GetDomain200ResponseMeta**](GetDomain200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::GetEndUserById200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::GetEndUserClaims200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**GetEndUserClaims200ResponseData**](GetEndUserClaims200ResponseData.md) | | [optional] |
8
+ | **meta** | [**GetDomain200ResponseMeta**](GetDomain200ResponseMeta.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::GetEndUserClaims200Response.new(
16
+ data: null,
17
+ meta: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # Zyphr::GetEndUserClaims200ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **claims** | **Hash&lt;String, Object&gt;** | Stored custom_claims for the user; empty object when none are set. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'zyphr'
13
+
14
+ instance = Zyphr::GetEndUserClaims200ResponseData.new(
15
+ claims: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # Zyphr::GetSubscriberInboxPreferences200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**GetSubscriberInboxPreferences200ResponseData**](GetSubscriberInboxPreferences200ResponseData.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'zyphr'
13
+
14
+ instance = Zyphr::GetSubscriberInboxPreferences200Response.new(
15
+ data: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::GetSubscriberInboxPreferences200ResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **global** | [**GetSubscriberInboxPreferences200ResponseDataGlobal**](GetSubscriberInboxPreferences200ResponseDataGlobal.md) | | [optional] |
8
+ | **categories** | [**Array&lt;GetSubscriberInboxPreferences200ResponseDataCategoriesInner&gt;**](GetSubscriberInboxPreferences200ResponseDataCategoriesInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::GetSubscriberInboxPreferences200ResponseData.new(
16
+ global: null,
17
+ categories: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # Zyphr::GetSubscriberInboxPreferences200ResponseDataCategoriesInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **category** | [**GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory**](GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.md) | | [optional] |
8
+ | **channels** | [**Array&lt;GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner&gt;**](GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zyphr'
14
+
15
+ instance = Zyphr::GetSubscriberInboxPreferences200ResponseDataCategoriesInner.new(
16
+ category: null,
17
+ channels: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ # Zyphr::GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **slug** | **String** | | [optional] |
10
+ | **description** | **String** | | [optional] |
11
+ | **allow_unsubscribe** | **Boolean** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'zyphr'
17
+
18
+ instance = Zyphr::GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.new(
19
+ id: null,
20
+ name: null,
21
+ slug: null,
22
+ description: null,
23
+ allow_unsubscribe: null
24
+ )
25
+ ```
26
+