zyphr 0.1.30 → 0.1.31

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -14
  3. data/docs/DomainsApi.md +2 -290
  4. data/lib/zyphr/api/domains_api.rb +2 -254
  5. data/lib/zyphr.rb +0 -8
  6. data/spec/api/domains_api_spec.rb +0 -48
  7. data/zyphr.gemspec +1 -1
  8. metadata +1 -33
  9. data/docs/DeleteDomainResponse.md +0 -20
  10. data/docs/DeleteDomainResponseData.md +0 -20
  11. data/docs/GetDomain200Response.md +0 -20
  12. data/docs/GetDomain200ResponseMeta.md +0 -18
  13. data/docs/VerificationStatusResponse.md +0 -20
  14. data/docs/VerificationStatusResponseData.md +0 -32
  15. data/docs/VerifyDomainResponse.md +0 -20
  16. data/docs/VerifyDomainResponseData.md +0 -24
  17. data/lib/zyphr/models/delete_domain_response.rb +0 -263
  18. data/lib/zyphr/models/delete_domain_response_data.rb +0 -263
  19. data/lib/zyphr/models/get_domain200_response.rb +0 -229
  20. data/lib/zyphr/models/get_domain200_response_meta.rb +0 -220
  21. data/lib/zyphr/models/verification_status_response.rb +0 -263
  22. data/lib/zyphr/models/verification_status_response_data.rb +0 -415
  23. data/lib/zyphr/models/verify_domain_response.rb +0 -263
  24. data/lib/zyphr/models/verify_domain_response_data.rb +0 -339
  25. data/spec/models/delete_domain_response_data_spec.rb +0 -42
  26. data/spec/models/delete_domain_response_spec.rb +0 -42
  27. data/spec/models/get_domain200_response_meta_spec.rb +0 -36
  28. data/spec/models/get_domain200_response_spec.rb +0 -42
  29. data/spec/models/verification_status_response_data_spec.rb +0 -82
  30. data/spec/models/verification_status_response_spec.rb +0 -42
  31. data/spec/models/verify_domain_response_data_spec.rb +0 -58
  32. data/spec/models/verify_domain_response_spec.rb +0 -42
@@ -1,36 +0,0 @@
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::GetDomain200ResponseMeta
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zyphr::GetDomain200ResponseMeta do
21
- let(:instance) { Zyphr::GetDomain200ResponseMeta.new }
22
-
23
- describe 'test an instance of GetDomain200ResponseMeta' do
24
- it 'should create an instance of GetDomain200ResponseMeta' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zyphr::GetDomain200ResponseMeta)
27
- end
28
- end
29
-
30
- describe 'test attribute "request_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
- end
@@ -1,42 +0,0 @@
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::GetDomain200Response
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zyphr::GetDomain200Response do
21
- let(:instance) { Zyphr::GetDomain200Response.new }
22
-
23
- describe 'test an instance of GetDomain200Response' do
24
- it 'should create an instance of GetDomain200Response' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zyphr::GetDomain200Response)
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
@@ -1,82 +0,0 @@
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
@@ -1,42 +0,0 @@
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
@@ -1,58 +0,0 @@
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
@@ -1,42 +0,0 @@
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