zyphr 0.1.67 → 0.1.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdc21ac68755d4d99a8bbb674bd1c8800983400238aadb050a1e01879c4268df
4
- data.tar.gz: ff4ce43f126392339b452107bf3bdda1843df6f4140b45b8b74af7d6055b145a
3
+ metadata.gz: 8f2596b07d582f41c8c0b47870fffed76bec30e6300074c61eeeb07ffc920a45
4
+ data.tar.gz: 47f799255402c58ae0f684dc8702ebe17c7da8b99065fa979a4c03a74168afc9
5
5
  SHA512:
6
- metadata.gz: f9925dd6534471523e92d43430e300979fa3f7983328f6bf6c03bbf518de284ec323db3152fd518e6420f7f50c125f0524d81bdecd24cb0d30cecdd86c63e509
7
- data.tar.gz: 14bc44775a7b816c94a537f2fba2db2367b4bf5169d23c9113dbd428d30e3f17f0526fdff886e65cfcfb0a8d6e64d084526fea3bc0eec6dba4c3b15384f8e3ce
6
+ metadata.gz: 34a1cdbd81300103324cbb8a4974cabc52430a5b83993cea0412362e98b1d26cc38202215e00c08ec3be2fe5ddcb2ba53bb8defc183e5d8dbfba374674b53722
7
+ data.tar.gz: 89554d02d1dec553df415938f8eb1cc60d68e12b12a96297e351219a59539d466d8117d7c65989265639f6f3e452592d442cf01e6a94b55029303e1fe323d242
@@ -91,7 +91,7 @@ end
91
91
 
92
92
  Resend email verification
93
93
 
94
- Resend the verification email to the authenticated user. Rate limited to once per 60 seconds.
94
+ Resend the verification email to the authenticated user. Rate limited to once per 60 seconds. Requires all three credentials simultaneously: the application key (`X-Application-Key`), the application secret (`X-Application-Secret`), and the end user's `Authorization: Bearer` token. Failures behave as on `POST /auth/verify-email/send`, including the 200 accepted-and-suppressed response for a recipient outside the application allowlist.
95
95
 
96
96
  ### Examples
97
97
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **redirect_url** | **String** | URL to redirect to after verification | [optional] |
7
+ | **redirect_url** | **String** | URL to redirect to after verification. Same rules as `POST /auth/verify-email/send`. | [optional] |
8
8
 
9
9
  ## Example
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **redirect_url** | **String** | URL to redirect to after verification (snake_case `redirect_url` — a camelCase `redirectUrl` is ignored and the hosted verification page is used instead). Must match one of the application's configured redirect URIs. | [optional] |
7
+ | **redirect_url** | **String** | URL to redirect to after verification. Must be snake_case `redirect_url`: a camelCase `redirectUrl` is rejected with 400, since Zyphr hosts no fallback page. Must match one of the application's configured redirect URIs. | [optional] |
8
8
 
9
9
  ## Example
10
10
 
@@ -88,7 +88,7 @@ module Zyphr
88
88
  end
89
89
 
90
90
  # Resend email verification
91
- # Resend the verification email to the authenticated user. Rate limited to once per 60 seconds.
91
+ # Resend the verification email to the authenticated user. Rate limited to once per 60 seconds. Requires all three credentials simultaneously: the application key (`X-Application-Key`), the application secret (`X-Application-Secret`), and the end user's `Authorization: Bearer` token. Failures behave as on `POST /auth/verify-email/send`, including the 200 accepted-and-suppressed response for a recipient outside the application allowlist.
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @option opts [ResendEmailVerificationRequest] :resend_email_verification_request
94
94
  # @return [SuccessResult]
@@ -98,7 +98,7 @@ module Zyphr
98
98
  end
99
99
 
100
100
  # Resend email verification
101
- # Resend the verification email to the authenticated user. Rate limited to once per 60 seconds.
101
+ # Resend the verification email to the authenticated user. Rate limited to once per 60 seconds. Requires all three credentials simultaneously: the application key (`X-Application-Key`), the application secret (`X-Application-Secret`), and the end user's `Authorization: Bearer` token. Failures behave as on `POST /auth/verify-email/send`, including the 200 accepted-and-suppressed response for a recipient outside the application allowlist.
102
102
  # @param [Hash] opts the optional parameters
103
103
  # @option opts [ResendEmailVerificationRequest] :resend_email_verification_request
104
104
  # @return [Array<(SuccessResult, Integer, Hash)>] SuccessResult data, response status code and response headers
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module Zyphr
17
17
  class ResendEmailVerificationRequest
18
- # URL to redirect to after verification
18
+ # URL to redirect to after verification. Same rules as `POST /auth/verify-email/send`.
19
19
  attr_accessor :redirect_url
20
20
 
21
21
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module Zyphr
17
17
  class SendEmailVerificationRequest
18
- # URL to redirect to after verification (snake_case `redirect_url` — a camelCase `redirectUrl` is ignored and the hosted verification page is used instead). Must match one of the application's configured redirect URIs.
18
+ # URL to redirect to after verification. Must be snake_case `redirect_url`: a camelCase `redirectUrl` is rejected with 400, since Zyphr hosts no fallback page. Must match one of the application's configured redirect URIs.
19
19
  attr_accessor :redirect_url
20
20
 
21
21
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,7 +46,7 @@ describe 'AuthEmailVerificationApi' do
46
46
 
47
47
  # unit tests for resend_email_verification
48
48
  # Resend email verification
49
- # Resend the verification email to the authenticated user. Rate limited to once per 60 seconds.
49
+ # Resend the verification email to the authenticated user. Rate limited to once per 60 seconds. Requires all three credentials simultaneously: the application key (&#x60;X-Application-Key&#x60;), the application secret (&#x60;X-Application-Secret&#x60;), and the end user&#39;s &#x60;Authorization: Bearer&#x60; token. Failures behave as on &#x60;POST /auth/verify-email/send&#x60;, including the 200 accepted-and-suppressed response for a recipient outside the application allowlist.
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @option opts [ResendEmailVerificationRequest] :resend_email_verification_request
52
52
  # @return [SuccessResult]
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.67'
20
+ s.version = '0.1.68'
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["Zyphr"]
23
23
  s.email = ["support@zyphr.dev"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zyphr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.67
4
+ version: 0.1.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zyphr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-31 00:00:00.000000000 Z
11
+ date: 2026-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday