zyphr 0.1.63 → 0.1.65

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: 0dd3010a5f7c2d71cbd6fe983bdbd4b1a5a7b989b8ab73bf68e6765c9278e827
4
- data.tar.gz: d5d0e33b03c47373c74b6e1bcc9fa6357e24b6cd921c4327927bacb0fc93d927
3
+ metadata.gz: 2271e34bd974d12ac29adf736dac9617cde713120379873194b8c73782c638ed
4
+ data.tar.gz: 7d38e78f3e05a84784ffdc1eb1276d8e24650cc664cf7d636144069fa611337c
5
5
  SHA512:
6
- metadata.gz: f2b566063152e990ad05833168c393b9d4acc1271c590c0d9cf72baaf4ac7858b262158aad7aedd7473a36eea3f767c47d1d9cb776aecd45964435d87f8054df
7
- data.tar.gz: 4e3023b731e26df808d0ac641570e484255fe7f7ba458d7c4d621334bb504c51f0865dbc780c1ba8e93692d911b8a5a1a4a223c3f10f2749ef9650378df484e8
6
+ metadata.gz: d46f1ee32e6a579b4ec26961141565e84a004371e155ed94f122c0d5361c1753d410ac311d046c1fbfd19e5e7722aed45c3307453f2385cc8b7c52cd1139e3b8
7
+ data.tar.gz: 25595e63b539fe7519bba68cec95af5ba2344e5ad71c23f01320fce537035951264164c402e86d54d6572a3d6cebda6b096e70bfc97f43874bf9ee9ffdcce0ee
data/docs/PushMessage.md CHANGED
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional] |
8
- | **device_id** | **String** | | [optional] |
8
+ | **device_id** | **String** | The target device. Null once the device has been removed because its push token expired. | [optional] |
9
9
  | **user_id** | **String** | | [optional] |
10
10
  | **platform** | **String** | | [optional] |
11
11
  | **title** | **String** | | [optional] |
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional] |
8
- | **device_id** | **String** | | [optional] |
8
+ | **device_id** | **String** | The target device. Null once the device has been removed because its push token expired. | [optional] |
9
9
  | **user_id** | **String** | | [optional] |
10
10
  | **platform** | **String** | | [optional] |
11
11
  | **title** | **String** | | [optional] |
@@ -101,7 +101,7 @@ end
101
101
 
102
102
  Create or update a subscriber
103
103
 
104
- Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
104
+ Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber's timezone defaults to UTC and locale to en.
105
105
 
106
106
  ### Examples
107
107
 
@@ -86,7 +86,7 @@ module Zyphr
86
86
  end
87
87
 
88
88
  # Create or update a subscriber
89
- # Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
89
+ # Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber's timezone defaults to UTC and locale to en.
90
90
  # @param create_subscriber_request [CreateSubscriberRequest]
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @return [SubscriberResponse]
@@ -96,7 +96,7 @@ module Zyphr
96
96
  end
97
97
 
98
98
  # Create or update a subscriber
99
- # Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
99
+ # Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber's timezone defaults to UTC and locale to en.
100
100
  # @param create_subscriber_request [CreateSubscriberRequest]
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @return [Array<(SubscriberResponse, Integer, Hash)>] SubscriberResponse data, response status code and response headers
@@ -17,6 +17,7 @@ module Zyphr
17
17
  class PushMessage
18
18
  attr_accessor :id
19
19
 
20
+ # The target device. Null once the device has been removed because its push token expired.
20
21
  attr_accessor :device_id
21
22
 
22
23
  attr_accessor :user_id
@@ -114,6 +115,7 @@ module Zyphr
114
115
  # List of attributes with nullable: true
115
116
  def self.openapi_nullable
116
117
  Set.new([
118
+ :'device_id',
117
119
  :'queued_at',
118
120
  :'sent_at',
119
121
  :'delivered_at',
@@ -17,6 +17,7 @@ module Zyphr
17
17
  class PushMessageDetail
18
18
  attr_accessor :id
19
19
 
20
+ # The target device. Null once the device has been removed because its push token expired.
20
21
  attr_accessor :device_id
21
22
 
22
23
  attr_accessor :user_id
@@ -158,6 +159,7 @@ module Zyphr
158
159
  # List of attributes with nullable: true
159
160
  def self.openapi_nullable
160
161
  Set.new([
162
+ :'device_id',
161
163
  :'queued_at',
162
164
  :'sent_at',
163
165
  :'delivered_at',
@@ -45,7 +45,7 @@ describe 'SubscribersApi' do
45
45
 
46
46
  # unit tests for create_subscriber
47
47
  # Create or update a subscriber
48
- # Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
48
+ # Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber&#39;s timezone defaults to UTC and locale to en.
49
49
  # @param create_subscriber_request
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @return [SubscriberResponse]
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.63'
20
+ s.version = '0.1.65'
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.63
4
+ version: 0.1.65
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-21 00:00:00.000000000 Z
11
+ date: 2026-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday