diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b8af36c3..35c30adc 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.29.0" + ".": "1.30.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 87f7c8d6..65a6aaf6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 90 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-1847c4ab086e290a4e3a698f3bc55605fa5c24cbdef663a51a8b84d260312491.yml -openapi_spec_hash: 6ecef3ce2fc44f77781c835fefe1aa82 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-6458a8bd2021d6d33af7b8b477bd0bdef7270dd2f78fa7891048d519f0d65b22.yml +openapi_spec_hash: 37319ec82d920729dab3ab05ff75f4fc config_hash: 2b42d138d85c524e65fa7e205d36cc4a diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d016931..b3036259 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 1.30.0 (2026-01-29) + +Full Changelog: [v1.29.0...v1.30.0](https://github.com/knocklabs/knock-ruby/compare/v1.29.0...v1.30.0) + +### Features + +* **api:** api update ([5082dcb](https://github.com/knocklabs/knock-ruby/commit/5082dcb9d09ef3a3bc3d496f94fd31ee018ac4ee)) +* **api:** api update ([41c7881](https://github.com/knocklabs/knock-ruby/commit/41c78811817cdc595674b56381e396b8a5c6f96a)) +* **api:** api update ([e4c9e2b](https://github.com/knocklabs/knock-ruby/commit/e4c9e2bbf5664f057addd6c2b8013c11de97f193)) +* **api:** api update ([3ba6399](https://github.com/knocklabs/knock-ruby/commit/3ba63996dab0c2047a0e019a0bfd844513e0600f)) +* **api:** api update ([3a1d05d](https://github.com/knocklabs/knock-ruby/commit/3a1d05d96b3dbf0abe14f9f4c58e2b16f2ffbbd0)) + ## 1.29.0 (2026-01-23) Full Changelog: [v1.28.0...v1.29.0](https://github.com/knocklabs/knock-ruby/compare/v1.28.0...v1.29.0) diff --git a/Gemfile.lock b/Gemfile.lock index 8059fd23..2a6673f1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - knockapi (1.29.0) + knockapi (1.30.0) cgi connection_pool diff --git a/README.md b/README.md index b1b0edd2..1ad21e63 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "knockapi", "~> 1.29.0" +gem "knockapi", "~> 1.30.0" ``` diff --git a/lib/knockapi/models/users/guide_get_channel_response.rb b/lib/knockapi/models/users/guide_get_channel_response.rb index 8e81218a..c3006989 100644 --- a/lib/knockapi/models/users/guide_get_channel_response.rb +++ b/lib/knockapi/models/users/guide_get_channel_response.rb @@ -164,10 +164,18 @@ class ActivationURLPattern < Knockapi::Internal::Type::BaseModel # @return [String, nil] optional :pathname, String - # @!method initialize(directive: nil, pathname: nil) + # @!attribute search + # The search query params to match + # + # @return [String, nil] + optional :search, String + + # @!method initialize(directive: nil, pathname: nil, search: nil) # @param directive [String] The directive for the URL pattern ('allow' or 'block') # # @param pathname [String] The pathname pattern to match (supports wildcards like /\*) + # + # @param search [String] The search query params to match end class ActivationURLRule < Knockapi::Internal::Type::BaseModel @@ -178,7 +186,7 @@ class ActivationURLRule < Knockapi::Internal::Type::BaseModel optional :argument, String # @!attribute directive - # The directive for the URL pattern ('allow' or 'block') + # The directive for the URL rule ('allow' or 'block') # # @return [String, nil] optional :directive, String @@ -198,7 +206,7 @@ class ActivationURLRule < Knockapi::Internal::Type::BaseModel # @!method initialize(argument: nil, directive: nil, operator: nil, variable: nil) # @param argument [String] The value to compare against # - # @param directive [String] The directive for the URL pattern ('allow' or 'block') + # @param directive [String] The directive for the URL rule ('allow' or 'block') # # @param operator [String] The comparison operator ('contains' or 'equal_to') # diff --git a/lib/knockapi/resources/users/feeds.rb b/lib/knockapi/resources/users/feeds.rb index 80b90eca..28c8bdf5 100644 --- a/lib/knockapi/resources/users/feeds.rb +++ b/lib/knockapi/resources/users/feeds.rb @@ -43,6 +43,9 @@ def get_settings(user_id, id, params = {}) # along with a user token. # - This endpoint’s rate limit is always scoped per-user and per-environment. This # is true even for requests made without a signed user token. + # - Any [attachments](/integrations/email/attachments) present in trigger data are + # automatically excluded from both the `data` and `activities` fields of + # `UserInAppFeedResponse`. # # @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: {}) # diff --git a/lib/knockapi/version.rb b/lib/knockapi/version.rb index edd7e820..38daf5e1 100644 --- a/lib/knockapi/version.rb +++ b/lib/knockapi/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Knockapi - VERSION = "1.29.0" + VERSION = "1.30.0" end diff --git a/rbi/knockapi/models/users/guide_get_channel_response.rbi b/rbi/knockapi/models/users/guide_get_channel_response.rbi index 252b3407..4c546889 100644 --- a/rbi/knockapi/models/users/guide_get_channel_response.rbi +++ b/rbi/knockapi/models/users/guide_get_channel_response.rbi @@ -343,20 +343,35 @@ module Knockapi sig { params(pathname: String).void } attr_writer :pathname + # The search query params to match + sig { returns(T.nilable(String)) } + attr_reader :search + + sig { params(search: String).void } + attr_writer :search + sig do - params(directive: String, pathname: String).returns( - T.attached_class - ) + params( + directive: String, + pathname: String, + search: String + ).returns(T.attached_class) end def self.new( # The directive for the URL pattern ('allow' or 'block') directive: nil, # The pathname pattern to match (supports wildcards like /\*) - pathname: nil + pathname: nil, + # The search query params to match + search: nil ) end - sig { override.returns({ directive: String, pathname: String }) } + sig do + override.returns( + { directive: String, pathname: String, search: String } + ) + end def to_hash end end @@ -377,7 +392,7 @@ module Knockapi sig { params(argument: String).void } attr_writer :argument - # The directive for the URL pattern ('allow' or 'block') + # The directive for the URL rule ('allow' or 'block') sig { returns(T.nilable(String)) } attr_reader :directive @@ -409,7 +424,7 @@ module Knockapi def self.new( # The value to compare against argument: nil, - # The directive for the URL pattern ('allow' or 'block') + # The directive for the URL rule ('allow' or 'block') directive: nil, # The comparison operator ('contains' or 'equal_to') operator: nil, diff --git a/rbi/knockapi/resources/users/feeds.rbi b/rbi/knockapi/resources/users/feeds.rbi index 12f4ad99..dd9633eb 100644 --- a/rbi/knockapi/resources/users/feeds.rbi +++ b/rbi/knockapi/resources/users/feeds.rbi @@ -35,6 +35,9 @@ module Knockapi # along with a user token. # - This endpoint’s rate limit is always scoped per-user and per-environment. This # is true even for requests made without a signed user token. + # - Any [attachments](/integrations/email/attachments) present in trigger data are + # automatically excluded from both the `data` and `activities` fields of + # `UserInAppFeedResponse`. sig do params( user_id: String, diff --git a/sig/knockapi/models/users/guide_get_channel_response.rbs b/sig/knockapi/models/users/guide_get_channel_response.rbs index 97557856..f2dbaae6 100644 --- a/sig/knockapi/models/users/guide_get_channel_response.rbs +++ b/sig/knockapi/models/users/guide_get_channel_response.rbs @@ -140,7 +140,8 @@ module Knockapi updated_at: Time } - type activation_url_pattern = { directive: String, pathname: String } + type activation_url_pattern = + { directive: String, pathname: String, search: String } class ActivationURLPattern < Knockapi::Internal::Type::BaseModel attr_reader directive: String? @@ -151,9 +152,21 @@ module Knockapi def pathname=: (String) -> String - def initialize: (?directive: String, ?pathname: String) -> void + attr_reader search: String? - def to_hash: -> { directive: String, pathname: String } + def search=: (String) -> String + + def initialize: ( + ?directive: String, + ?pathname: String, + ?search: String + ) -> void + + def to_hash: -> { + directive: String, + pathname: String, + search: String + } end type activation_url_rule =