knockapi 1.29.0 → 1.30.0
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/CHANGELOG.md +12 -0
- data/README.md +1 -1
- data/lib/knockapi/models/users/guide_get_channel_response.rb +11 -3
- data/lib/knockapi/resources/users/feeds.rb +3 -0
- data/lib/knockapi/version.rb +1 -1
- data/rbi/knockapi/models/users/guide_get_channel_response.rbi +22 -7
- data/rbi/knockapi/resources/users/feeds.rbi +3 -0
- data/sig/knockapi/models/users/guide_get_channel_response.rbs +16 -3
- 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: 968b7c6cd1bcba26164014728aac65bd2adbd9ece73f8b98f2646cded91ebe4d
|
|
4
|
+
data.tar.gz: c0d80064448643c1041421596c5467f80d33f1e94e3b0876f5ecd39bad794023
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ffa2a84f9650b45de08419cc9976a1679fca4cc0864785a40f5a3a98c73350178820282b755e3537e5e3f146e81e81dc442738bac78c9f69bb2b8296e06ac2d
|
|
7
|
+
data.tar.gz: 65cb415912b9e29467ea9c31f2f1f50bd946838b99353a73f8f33b9b4de5f5be6dbd6a6556843e516b71bff4b5c7320b364d5983853563e1750a440905c3aa40
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.30.0 (2026-01-29)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.29.0...v1.30.0](https://github.com/knocklabs/knock-ruby/compare/v1.29.0...v1.30.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([5082dcb](https://github.com/knocklabs/knock-ruby/commit/5082dcb9d09ef3a3bc3d496f94fd31ee018ac4ee))
|
|
10
|
+
* **api:** api update ([41c7881](https://github.com/knocklabs/knock-ruby/commit/41c78811817cdc595674b56381e396b8a5c6f96a))
|
|
11
|
+
* **api:** api update ([e4c9e2b](https://github.com/knocklabs/knock-ruby/commit/e4c9e2bbf5664f057addd6c2b8013c11de97f193))
|
|
12
|
+
* **api:** api update ([3ba6399](https://github.com/knocklabs/knock-ruby/commit/3ba63996dab0c2047a0e019a0bfd844513e0600f))
|
|
13
|
+
* **api:** api update ([3a1d05d](https://github.com/knocklabs/knock-ruby/commit/3a1d05d96b3dbf0abe14f9f4c58e2b16f2ffbbd0))
|
|
14
|
+
|
|
3
15
|
## 1.29.0 (2026-01-23)
|
|
4
16
|
|
|
5
17
|
Full Changelog: [v1.28.0...v1.29.0](https://github.com/knocklabs/knock-ruby/compare/v1.28.0...v1.29.0)
|
data/README.md
CHANGED
|
@@ -164,10 +164,18 @@ module Knockapi
|
|
|
164
164
|
# @return [String, nil]
|
|
165
165
|
optional :pathname, String
|
|
166
166
|
|
|
167
|
-
# @!
|
|
167
|
+
# @!attribute search
|
|
168
|
+
# The search query params to match
|
|
169
|
+
#
|
|
170
|
+
# @return [String, nil]
|
|
171
|
+
optional :search, String
|
|
172
|
+
|
|
173
|
+
# @!method initialize(directive: nil, pathname: nil, search: nil)
|
|
168
174
|
# @param directive [String] The directive for the URL pattern ('allow' or 'block')
|
|
169
175
|
#
|
|
170
176
|
# @param pathname [String] The pathname pattern to match (supports wildcards like /\*)
|
|
177
|
+
#
|
|
178
|
+
# @param search [String] The search query params to match
|
|
171
179
|
end
|
|
172
180
|
|
|
173
181
|
class ActivationURLRule < Knockapi::Internal::Type::BaseModel
|
|
@@ -178,7 +186,7 @@ module Knockapi
|
|
|
178
186
|
optional :argument, String
|
|
179
187
|
|
|
180
188
|
# @!attribute directive
|
|
181
|
-
# The directive for the URL
|
|
189
|
+
# The directive for the URL rule ('allow' or 'block')
|
|
182
190
|
#
|
|
183
191
|
# @return [String, nil]
|
|
184
192
|
optional :directive, String
|
|
@@ -198,7 +206,7 @@ module Knockapi
|
|
|
198
206
|
# @!method initialize(argument: nil, directive: nil, operator: nil, variable: nil)
|
|
199
207
|
# @param argument [String] The value to compare against
|
|
200
208
|
#
|
|
201
|
-
# @param directive [String] The directive for the URL
|
|
209
|
+
# @param directive [String] The directive for the URL rule ('allow' or 'block')
|
|
202
210
|
#
|
|
203
211
|
# @param operator [String] The comparison operator ('contains' or 'equal_to')
|
|
204
212
|
#
|
|
@@ -43,6 +43,9 @@ module Knockapi
|
|
|
43
43
|
# along with a user token.
|
|
44
44
|
# - This endpoint’s rate limit is always scoped per-user and per-environment. This
|
|
45
45
|
# is true even for requests made without a signed user token.
|
|
46
|
+
# - Any [attachments](/integrations/email/attachments) present in trigger data are
|
|
47
|
+
# automatically excluded from both the `data` and `activities` fields of
|
|
48
|
+
# `UserInAppFeedResponse`.
|
|
46
49
|
#
|
|
47
50
|
# @overload list_items(user_id, id, after: nil, archived: nil, before: nil, has_tenant: nil, locale: nil, page_size: nil, source: nil, status: nil, tenant: nil, trigger_data: nil, workflow_categories: nil, request_options: {})
|
|
48
51
|
#
|
data/lib/knockapi/version.rb
CHANGED
|
@@ -343,20 +343,35 @@ module Knockapi
|
|
|
343
343
|
sig { params(pathname: String).void }
|
|
344
344
|
attr_writer :pathname
|
|
345
345
|
|
|
346
|
+
# The search query params to match
|
|
347
|
+
sig { returns(T.nilable(String)) }
|
|
348
|
+
attr_reader :search
|
|
349
|
+
|
|
350
|
+
sig { params(search: String).void }
|
|
351
|
+
attr_writer :search
|
|
352
|
+
|
|
346
353
|
sig do
|
|
347
|
-
params(
|
|
348
|
-
|
|
349
|
-
|
|
354
|
+
params(
|
|
355
|
+
directive: String,
|
|
356
|
+
pathname: String,
|
|
357
|
+
search: String
|
|
358
|
+
).returns(T.attached_class)
|
|
350
359
|
end
|
|
351
360
|
def self.new(
|
|
352
361
|
# The directive for the URL pattern ('allow' or 'block')
|
|
353
362
|
directive: nil,
|
|
354
363
|
# The pathname pattern to match (supports wildcards like /\*)
|
|
355
|
-
pathname: nil
|
|
364
|
+
pathname: nil,
|
|
365
|
+
# The search query params to match
|
|
366
|
+
search: nil
|
|
356
367
|
)
|
|
357
368
|
end
|
|
358
369
|
|
|
359
|
-
sig
|
|
370
|
+
sig do
|
|
371
|
+
override.returns(
|
|
372
|
+
{ directive: String, pathname: String, search: String }
|
|
373
|
+
)
|
|
374
|
+
end
|
|
360
375
|
def to_hash
|
|
361
376
|
end
|
|
362
377
|
end
|
|
@@ -377,7 +392,7 @@ module Knockapi
|
|
|
377
392
|
sig { params(argument: String).void }
|
|
378
393
|
attr_writer :argument
|
|
379
394
|
|
|
380
|
-
# The directive for the URL
|
|
395
|
+
# The directive for the URL rule ('allow' or 'block')
|
|
381
396
|
sig { returns(T.nilable(String)) }
|
|
382
397
|
attr_reader :directive
|
|
383
398
|
|
|
@@ -409,7 +424,7 @@ module Knockapi
|
|
|
409
424
|
def self.new(
|
|
410
425
|
# The value to compare against
|
|
411
426
|
argument: nil,
|
|
412
|
-
# The directive for the URL
|
|
427
|
+
# The directive for the URL rule ('allow' or 'block')
|
|
413
428
|
directive: nil,
|
|
414
429
|
# The comparison operator ('contains' or 'equal_to')
|
|
415
430
|
operator: nil,
|
|
@@ -35,6 +35,9 @@ module Knockapi
|
|
|
35
35
|
# along with a user token.
|
|
36
36
|
# - This endpoint’s rate limit is always scoped per-user and per-environment. This
|
|
37
37
|
# is true even for requests made without a signed user token.
|
|
38
|
+
# - Any [attachments](/integrations/email/attachments) present in trigger data are
|
|
39
|
+
# automatically excluded from both the `data` and `activities` fields of
|
|
40
|
+
# `UserInAppFeedResponse`.
|
|
38
41
|
sig do
|
|
39
42
|
params(
|
|
40
43
|
user_id: String,
|
|
@@ -140,7 +140,8 @@ module Knockapi
|
|
|
140
140
|
updated_at: Time
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
type activation_url_pattern =
|
|
143
|
+
type activation_url_pattern =
|
|
144
|
+
{ directive: String, pathname: String, search: String }
|
|
144
145
|
|
|
145
146
|
class ActivationURLPattern < Knockapi::Internal::Type::BaseModel
|
|
146
147
|
attr_reader directive: String?
|
|
@@ -151,9 +152,21 @@ module Knockapi
|
|
|
151
152
|
|
|
152
153
|
def pathname=: (String) -> String
|
|
153
154
|
|
|
154
|
-
|
|
155
|
+
attr_reader search: String?
|
|
155
156
|
|
|
156
|
-
def
|
|
157
|
+
def search=: (String) -> String
|
|
158
|
+
|
|
159
|
+
def initialize: (
|
|
160
|
+
?directive: String,
|
|
161
|
+
?pathname: String,
|
|
162
|
+
?search: String
|
|
163
|
+
) -> void
|
|
164
|
+
|
|
165
|
+
def to_hash: -> {
|
|
166
|
+
directive: String,
|
|
167
|
+
pathname: String,
|
|
168
|
+
search: String
|
|
169
|
+
}
|
|
157
170
|
end
|
|
158
171
|
|
|
159
172
|
type activation_url_rule =
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: knockapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.30.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Knock
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|