Skip to content

Commit d1b3031

Browse files
release: 1.30.0 (#67)
* feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * release: 1.30.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 45114b4 commit d1b3031

11 files changed

Lines changed: 73 additions & 19 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.29.0"
2+
".": "1.30.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 90
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-1847c4ab086e290a4e3a698f3bc55605fa5c24cbdef663a51a8b84d260312491.yml
3-
openapi_spec_hash: 6ecef3ce2fc44f77781c835fefe1aa82
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-6458a8bd2021d6d33af7b8b477bd0bdef7270dd2f78fa7891048d519f0d65b22.yml
3+
openapi_spec_hash: 37319ec82d920729dab3ab05ff75f4fc
44
config_hash: 2b42d138d85c524e65fa7e205d36cc4a

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

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+
315
## 1.29.0 (2026-01-23)
416

517
Full Changelog: [v1.28.0...v1.29.0](https://github.com/knocklabs/knock-ruby/compare/v1.28.0...v1.29.0)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
knockapi (1.29.0)
14+
knockapi (1.30.0)
1515
cgi
1616
connection_pool
1717

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
1717
<!-- x-release-please-start-version -->
1818

1919
```ruby
20-
gem "knockapi", "~> 1.29.0"
20+
gem "knockapi", "~> 1.30.0"
2121
```
2222

2323
<!-- x-release-please-end -->

lib/knockapi/models/users/guide_get_channel_response.rb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,18 @@ class ActivationURLPattern < Knockapi::Internal::Type::BaseModel
164164
# @return [String, nil]
165165
optional :pathname, String
166166

167-
# @!method initialize(directive: nil, pathname: nil)
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)
168174
# @param directive [String] The directive for the URL pattern ('allow' or 'block')
169175
#
170176
# @param pathname [String] The pathname pattern to match (supports wildcards like /\*)
177+
#
178+
# @param search [String] The search query params to match
171179
end
172180

173181
class ActivationURLRule < Knockapi::Internal::Type::BaseModel
@@ -178,7 +186,7 @@ class ActivationURLRule < Knockapi::Internal::Type::BaseModel
178186
optional :argument, String
179187

180188
# @!attribute directive
181-
# The directive for the URL pattern ('allow' or 'block')
189+
# The directive for the URL rule ('allow' or 'block')
182190
#
183191
# @return [String, nil]
184192
optional :directive, String
@@ -198,7 +206,7 @@ class ActivationURLRule < Knockapi::Internal::Type::BaseModel
198206
# @!method initialize(argument: nil, directive: nil, operator: nil, variable: nil)
199207
# @param argument [String] The value to compare against
200208
#
201-
# @param directive [String] The directive for the URL pattern ('allow' or 'block')
209+
# @param directive [String] The directive for the URL rule ('allow' or 'block')
202210
#
203211
# @param operator [String] The comparison operator ('contains' or 'equal_to')
204212
#

lib/knockapi/resources/users/feeds.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ def get_settings(user_id, id, params = {})
4343
# along with a user token.
4444
# - This endpoint’s rate limit is always scoped per-user and per-environment. This
4545
# 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`.
4649
#
4750
# @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: {})
4851
#

lib/knockapi/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Knockapi
4-
VERSION = "1.29.0"
4+
VERSION = "1.30.0"
55
end

rbi/knockapi/models/users/guide_get_channel_response.rbi

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -343,20 +343,35 @@ module Knockapi
343343
sig { params(pathname: String).void }
344344
attr_writer :pathname
345345

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+
346353
sig do
347-
params(directive: String, pathname: String).returns(
348-
T.attached_class
349-
)
354+
params(
355+
directive: String,
356+
pathname: String,
357+
search: String
358+
).returns(T.attached_class)
350359
end
351360
def self.new(
352361
# The directive for the URL pattern ('allow' or 'block')
353362
directive: nil,
354363
# The pathname pattern to match (supports wildcards like /\*)
355-
pathname: nil
364+
pathname: nil,
365+
# The search query params to match
366+
search: nil
356367
)
357368
end
358369

359-
sig { override.returns({ directive: String, pathname: String }) }
370+
sig do
371+
override.returns(
372+
{ directive: String, pathname: String, search: String }
373+
)
374+
end
360375
def to_hash
361376
end
362377
end
@@ -377,7 +392,7 @@ module Knockapi
377392
sig { params(argument: String).void }
378393
attr_writer :argument
379394

380-
# The directive for the URL pattern ('allow' or 'block')
395+
# The directive for the URL rule ('allow' or 'block')
381396
sig { returns(T.nilable(String)) }
382397
attr_reader :directive
383398

@@ -409,7 +424,7 @@ module Knockapi
409424
def self.new(
410425
# The value to compare against
411426
argument: nil,
412-
# The directive for the URL pattern ('allow' or 'block')
427+
# The directive for the URL rule ('allow' or 'block')
413428
directive: nil,
414429
# The comparison operator ('contains' or 'equal_to')
415430
operator: nil,

rbi/knockapi/resources/users/feeds.rbi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ module Knockapi
3535
# along with a user token.
3636
# - This endpoint’s rate limit is always scoped per-user and per-environment. This
3737
# 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`.
3841
sig do
3942
params(
4043
user_id: String,

0 commit comments

Comments
 (0)