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 +4 -4
- data/docs/PushMessage.md +1 -1
- data/docs/PushMessageDetail.md +1 -1
- data/docs/SubscribersApi.md +1 -1
- data/lib/zyphr/api/subscribers_api.rb +2 -2
- data/lib/zyphr/models/push_message.rb +2 -0
- data/lib/zyphr/models/push_message_detail.rb +2 -0
- data/spec/api/subscribers_api_spec.rb +1 -1
- data/zyphr.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2271e34bd974d12ac29adf736dac9617cde713120379873194b8c73782c638ed
|
|
4
|
+
data.tar.gz: 7d38e78f3e05a84784ffdc1eb1276d8e24650cc664cf7d636144069fa611337c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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** |
|
|
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] |
|
data/docs/PushMessageDetail.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [optional] |
|
|
8
|
-
| **device_id** | **String** |
|
|
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] |
|
data/docs/SubscribersApi.md
CHANGED
|
@@ -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'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
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.
|
|
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-
|
|
11
|
+
date: 2026-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|