zyphr 0.1.31 → 0.1.32

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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -0
  3. data/docs/DeleteDomainResponse.md +20 -0
  4. data/docs/DeleteDomainResponseData.md +20 -0
  5. data/docs/DomainResponse.md +5 -1
  6. data/docs/DomainsApi.md +288 -0
  7. data/docs/GetDomain200Response.md +20 -0
  8. data/docs/GetDomain200ResponseMeta.md +18 -0
  9. data/docs/VerificationStatusResponse.md +20 -0
  10. data/docs/VerificationStatusResponseData.md +32 -0
  11. data/docs/VerifyDomainResponse.md +20 -0
  12. data/docs/VerifyDomainResponseData.md +24 -0
  13. data/lib/zyphr/api/domains_api.rb +252 -0
  14. data/lib/zyphr/models/delete_domain_response.rb +263 -0
  15. data/lib/zyphr/models/delete_domain_response_data.rb +263 -0
  16. data/lib/zyphr/models/domain_response.rb +46 -2
  17. data/lib/zyphr/models/get_domain200_response.rb +229 -0
  18. data/lib/zyphr/models/get_domain200_response_meta.rb +220 -0
  19. data/lib/zyphr/models/verification_status_response.rb +263 -0
  20. data/lib/zyphr/models/verification_status_response_data.rb +415 -0
  21. data/lib/zyphr/models/verify_domain_response.rb +263 -0
  22. data/lib/zyphr/models/verify_domain_response_data.rb +339 -0
  23. data/lib/zyphr.rb +8 -0
  24. data/spec/api/domains_api_spec.rb +48 -0
  25. data/spec/models/delete_domain_response_data_spec.rb +42 -0
  26. data/spec/models/delete_domain_response_spec.rb +42 -0
  27. data/spec/models/domain_response_spec.rb +20 -0
  28. data/spec/models/get_domain200_response_meta_spec.rb +36 -0
  29. data/spec/models/get_domain200_response_spec.rb +42 -0
  30. data/spec/models/verification_status_response_data_spec.rb +82 -0
  31. data/spec/models/verification_status_response_spec.rb +42 -0
  32. data/spec/models/verify_domain_response_data_spec.rb +58 -0
  33. data/spec/models/verify_domain_response_spec.rb +42 -0
  34. data/zyphr.gemspec +1 -1
  35. metadata +33 -1
@@ -0,0 +1,82 @@
1
+ =begin
2
+ #Zyphr API
3
+
4
+ #Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@zyphr.dev
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zyphr::VerificationStatusResponseData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zyphr::VerificationStatusResponseData do
21
+ let(:instance) { Zyphr::VerificationStatusResponseData.new }
22
+
23
+ describe 'test an instance of VerificationStatusResponseData' do
24
+ it 'should create an instance of VerificationStatusResponseData' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zyphr::VerificationStatusResponseData)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "domain_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "domain"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "status"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "verifying", "verified", "failed"])
46
+ # validator.allowable_values.each do |value|
47
+ # expect { instance.status = value }.not_to raise_error
48
+ # end
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "records_verified"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "records_total"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "progress"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "dns_records"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "last_checked_at"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Zyphr API
3
+
4
+ #Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@zyphr.dev
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zyphr::VerificationStatusResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zyphr::VerificationStatusResponse do
21
+ let(:instance) { Zyphr::VerificationStatusResponse.new }
22
+
23
+ describe 'test an instance of VerificationStatusResponse' do
24
+ it 'should create an instance of VerificationStatusResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zyphr::VerificationStatusResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "meta"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Zyphr API
3
+
4
+ #Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@zyphr.dev
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zyphr::VerifyDomainResponseData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zyphr::VerifyDomainResponseData do
21
+ let(:instance) { Zyphr::VerifyDomainResponseData.new }
22
+
23
+ describe 'test an instance of VerifyDomainResponseData' do
24
+ it 'should create an instance of VerifyDomainResponseData' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zyphr::VerifyDomainResponseData)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "job_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "domain_id"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "domain"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "status"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["verifying"])
52
+ # validator.allowable_values.each do |value|
53
+ # expect { instance.status = value }.not_to raise_error
54
+ # end
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Zyphr API
3
+
4
+ #Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@zyphr.dev
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zyphr::VerifyDomainResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zyphr::VerifyDomainResponse do
21
+ let(:instance) { Zyphr::VerifyDomainResponse.new }
22
+
23
+ describe 'test an instance of VerifyDomainResponse' do
24
+ it 'should create an instance of VerifyDomainResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zyphr::VerifyDomainResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "data"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "meta"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
data/zyphr.gemspec CHANGED
@@ -17,7 +17,7 @@ require "zyphr/version"
17
17
 
18
18
  Gem::Specification.new do |s|
19
19
  s.name = "zyphr"
20
- s.version = '0.1.31'
20
+ s.version = '0.1.32'
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["Zyphr"]
23
23
  s.email = ["support@zyphr.dev"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zyphr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zyphr
@@ -169,6 +169,8 @@ files:
169
169
  - docs/CreateWaaSEventType201Response.md
170
170
  - docs/CreateWaaSEventTypeRequest.md
171
171
  - docs/CreateWebhookRequest.md
172
+ - docs/DeleteDomainResponse.md
173
+ - docs/DeleteDomainResponseData.md
172
174
  - docs/DeleteResult.md
173
175
  - docs/DeleteResultData.md
174
176
  - docs/Device.md
@@ -211,6 +213,8 @@ files:
211
213
  - docs/GenerateSubscriberToken200ResponseData.md
212
214
  - docs/GenerateSubscriberTokenRequest.md
213
215
  - docs/GenerateWaaSPortalToken201Response.md
216
+ - docs/GetDomain200Response.md
217
+ - docs/GetDomain200ResponseMeta.md
214
218
  - docs/GetWaaSEndpoint200Response.md
215
219
  - docs/GetWaaSUsage200Response.md
216
220
  - docs/InAppNotification.md
@@ -431,6 +435,10 @@ files:
431
435
  - docs/ValidateResetTokenRequest.md
432
436
  - docs/ValidateResetTokenResponse.md
433
437
  - docs/ValidateResetTokenResponseData.md
438
+ - docs/VerificationStatusResponse.md
439
+ - docs/VerificationStatusResponseData.md
440
+ - docs/VerifyDomainResponse.md
441
+ - docs/VerifyDomainResponseData.md
434
442
  - docs/VerifySmsConfigData.md
435
443
  - docs/VerifySmsConfigResponse.md
436
444
  - docs/WaaSApplication.md
@@ -613,6 +621,8 @@ files:
613
621
  - lib/zyphr/models/create_waa_s_event_type201_response.rb
614
622
  - lib/zyphr/models/create_waa_s_event_type_request.rb
615
623
  - lib/zyphr/models/create_webhook_request.rb
624
+ - lib/zyphr/models/delete_domain_response.rb
625
+ - lib/zyphr/models/delete_domain_response_data.rb
616
626
  - lib/zyphr/models/delete_result.rb
617
627
  - lib/zyphr/models/delete_result_data.rb
618
628
  - lib/zyphr/models/device.rb
@@ -651,6 +661,8 @@ files:
651
661
  - lib/zyphr/models/generate_subscriber_token200_response_data.rb
652
662
  - lib/zyphr/models/generate_subscriber_token_request.rb
653
663
  - lib/zyphr/models/generate_waa_s_portal_token201_response.rb
664
+ - lib/zyphr/models/get_domain200_response.rb
665
+ - lib/zyphr/models/get_domain200_response_meta.rb
654
666
  - lib/zyphr/models/get_waa_s_endpoint200_response.rb
655
667
  - lib/zyphr/models/get_waa_s_usage200_response.rb
656
668
  - lib/zyphr/models/in_app_notification.rb
@@ -863,6 +875,10 @@ files:
863
875
  - lib/zyphr/models/validate_reset_token_request.rb
864
876
  - lib/zyphr/models/validate_reset_token_response.rb
865
877
  - lib/zyphr/models/validate_reset_token_response_data.rb
878
+ - lib/zyphr/models/verification_status_response.rb
879
+ - lib/zyphr/models/verification_status_response_data.rb
880
+ - lib/zyphr/models/verify_domain_response.rb
881
+ - lib/zyphr/models/verify_domain_response_data.rb
866
882
  - lib/zyphr/models/verify_sms_config_data.rb
867
883
  - lib/zyphr/models/verify_sms_config_response.rb
868
884
  - lib/zyphr/models/waa_s_application.rb
@@ -1034,6 +1050,8 @@ files:
1034
1050
  - spec/models/create_waa_s_event_type201_response_spec.rb
1035
1051
  - spec/models/create_waa_s_event_type_request_spec.rb
1036
1052
  - spec/models/create_webhook_request_spec.rb
1053
+ - spec/models/delete_domain_response_data_spec.rb
1054
+ - spec/models/delete_domain_response_spec.rb
1037
1055
  - spec/models/delete_result_data_spec.rb
1038
1056
  - spec/models/delete_result_spec.rb
1039
1057
  - spec/models/device_list_response_spec.rb
@@ -1072,6 +1090,8 @@ files:
1072
1090
  - spec/models/generate_subscriber_token200_response_spec.rb
1073
1091
  - spec/models/generate_subscriber_token_request_spec.rb
1074
1092
  - spec/models/generate_waa_s_portal_token201_response_spec.rb
1093
+ - spec/models/get_domain200_response_meta_spec.rb
1094
+ - spec/models/get_domain200_response_spec.rb
1075
1095
  - spec/models/get_waa_s_endpoint200_response_spec.rb
1076
1096
  - spec/models/get_waa_s_usage200_response_spec.rb
1077
1097
  - spec/models/in_app_notification_spec.rb
@@ -1284,6 +1304,10 @@ files:
1284
1304
  - spec/models/validate_reset_token_request_spec.rb
1285
1305
  - spec/models/validate_reset_token_response_data_spec.rb
1286
1306
  - spec/models/validate_reset_token_response_spec.rb
1307
+ - spec/models/verification_status_response_data_spec.rb
1308
+ - spec/models/verification_status_response_spec.rb
1309
+ - spec/models/verify_domain_response_data_spec.rb
1310
+ - spec/models/verify_domain_response_spec.rb
1287
1311
  - spec/models/verify_sms_config_data_spec.rb
1288
1312
  - spec/models/verify_sms_config_response_spec.rb
1289
1313
  - spec/models/waa_s_application_spec.rb
@@ -1435,6 +1459,7 @@ test_files:
1435
1459
  - spec/models/webhook_versions_response_data_spec.rb
1436
1460
  - spec/models/consent_history_entry_spec.rb
1437
1461
  - spec/models/send_push_request_spec.rb
1462
+ - spec/models/delete_domain_response_data_spec.rb
1438
1463
  - spec/models/payload_too_large_error_error_details_spec.rb
1439
1464
  - spec/models/o_auth_connection_spec.rb
1440
1465
  - spec/models/auth_result_spec.rb
@@ -1584,7 +1609,9 @@ test_files:
1584
1609
  - spec/models/auth_email_type_spec.rb
1585
1610
  - spec/models/web_authn_verify_registration_response_data_spec.rb
1586
1611
  - spec/models/o_auth_callback_response_spec.rb
1612
+ - spec/models/verification_status_response_spec.rb
1587
1613
  - spec/models/webhook_delivery_detail_spec.rb
1614
+ - spec/models/verification_status_response_data_spec.rb
1588
1615
  - spec/models/category_list_response_spec.rb
1589
1616
  - spec/models/device_spec.rb
1590
1617
  - spec/models/webhook_versions_response_spec.rb
@@ -1654,6 +1681,7 @@ test_files:
1654
1681
  - spec/models/send_test_sms_response_spec.rb
1655
1682
  - spec/models/send_batch_in_app_meta_spec.rb
1656
1683
  - spec/models/web_authn_credential_list_response_data_spec.rb
1684
+ - spec/models/verify_domain_response_data_spec.rb
1657
1685
  - spec/models/password_requirements_spec.rb
1658
1686
  - spec/models/verify_sms_config_response_spec.rb
1659
1687
  - spec/models/bulk_upsert_auth_email_templates_response_spec.rb
@@ -1696,6 +1724,7 @@ test_files:
1696
1724
  - spec/models/execution_retry_response_spec.rb
1697
1725
  - spec/models/resubscribe_request_spec.rb
1698
1726
  - spec/models/o_auth_tokens_response_data_spec.rb
1727
+ - spec/models/delete_domain_response_spec.rb
1699
1728
  - spec/models/workflow_step_execution_spec.rb
1700
1729
  - spec/models/send_in_app_response_spec.rb
1701
1730
  - spec/models/topic_subscribers_add_result_spec.rb
@@ -1709,6 +1738,7 @@ test_files:
1709
1738
  - spec/models/update_end_user_request_spec.rb
1710
1739
  - spec/models/send_sms_response_spec.rb
1711
1740
  - spec/models/reset_password_response_spec.rb
1741
+ - spec/models/get_domain200_response_meta_spec.rb
1712
1742
  - spec/models/auth_email_template_default_response_spec.rb
1713
1743
  - spec/models/convert_anonymous_user_request_one_of1_apple_user_spec.rb
1714
1744
  - spec/models/category_spec.rb
@@ -1788,12 +1818,14 @@ test_files:
1788
1818
  - spec/models/web_authn_verify_registration_request_spec.rb
1789
1819
  - spec/models/send_batch_in_app_request_spec.rb
1790
1820
  - spec/models/webhook_ips_response_spec.rb
1821
+ - spec/models/verify_domain_response_spec.rb
1791
1822
  - spec/models/auth_session_spec.rb
1792
1823
  - spec/models/delete_result_data_spec.rb
1793
1824
  - spec/models/convert_anonymous_user_request_spec.rb
1794
1825
  - spec/models/waa_s_portal_token_request_theme_spec.rb
1795
1826
  - spec/models/send_push_to_topic_data_spec.rb
1796
1827
  - spec/models/revoke_all_sessions_response_spec.rb
1828
+ - spec/models/get_domain200_response_spec.rb
1797
1829
  - spec/models/email_response_spec.rb
1798
1830
  - spec/models/o_auth_authorization_url_response_spec.rb
1799
1831
  - spec/models/send_sms_data_spec.rb